/*!
Theme Name: Kadence Child
Template: kadence
Author: Takrim
Description: A custom theme for veganshoppingcentre.co.uk
Version: 1.76
License: GNU General Public License v3.0 (or later)
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Text Domain: kadence-child
*/

/* Theme customization starts here
-------------------------------------------------------------- */

/*------------------------------
    SIDE BAR SCROLLING MENU
------------------------------*/
#shop_sidebar_shortcode_menu {
    margin: 0;
}

#shop_sidebar_shortcode_menu * {
    box-sizing: border-box;
}

#shop_sidebar_shortcode_menu ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

#shop_sidebar_shortcode_menu li {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* first level menu item */
#shop_sidebar_shortcode_menu>ul>li>a {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--global-palette3, #1A202C);
    background: transparent;
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    text-decoration: none;
    transition: all 0.18s ease;
}

#shop_sidebar_shortcode_menu>ul>li>a:hover {
    color: var(--global-palette1, #1F9B3B);
    background: #F3F4F6;
}

#shop_sidebar_shortcode_menu li.active>a {
    background: rgba(31, 155, 59, 0.08);
    color: var(--global-palette1, #1F9B3B);
    font-weight: 700;
}

/* Category SVG Icon */
.menu-item-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--global-palette1, #1F9B3B);
    width: 20px;
    height: 20px;
}

.menu-item-icon svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    transition: transform 0.15s ease;
}

#shop_sidebar_shortcode_menu a:hover .menu-item-icon svg {
    transform: scale(1.1);
}

/* Category Label */
.menu-item-label {
    flex: 1;
    white-space: normal;
    line-height: 1.35;
}

/* SVG Chevron arrow */
.menu-item-chevron {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    color: #9CA3AF;
    transition: transform 0.2s ease, color 0.18s ease;
}

.menu-item-chevron svg {
    width: 14px;
    height: 14px;
    stroke: currentColor;
}

#shop_sidebar_shortcode_menu li.active>a .menu-item-chevron {
    transform: rotate(180deg);
    color: var(--global-palette1, #1F9B3B);
}

/* Sub-menu (level 2+) */
#shop_sidebar_shortcode_menu ul ul {
    display: none;
    padding: 4px 0 6px 16px;
    margin: 3px 0 3px 18px;
    border-left: 2px solid #E5E7EB;
    gap: 2px;
}

#shop_sidebar_shortcode_menu li.active>ul {
    display: flex;
}

#shop_sidebar_shortcode_menu ul ul li a {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #4B5563;
    font-size: 13px;
    padding: 6px 10px;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.15s ease;
}

#shop_sidebar_shortcode_menu ul ul li a:hover {
    color: var(--global-palette1, #1F9B3B);
    background: #F9FAFB;
}

#shop_sidebar_shortcode_menu ul ul li.active>a {
    color: var(--global-palette1, #1F9B3B);
    font-weight: 600;
}

/* Mobile Navigation SVG Icon Integration */
.mobile-navigation .menu-item-icon {
    display: inline-flex;
    align-items: center;
    margin-right: 8px;
    color: var(--global-palette1, #1F9B3B);
    vertical-align: middle;
}

.mobile-navigation .menu-item-icon svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    display: inline-block;
    vertical-align: middle;
}

.mobile-navigation .menu-item-chevron {
    display: none;
}

@media screen and (max-width: 1024px) {
    #main-header {
        display: none;
    }
}

/*------------------------------
    MOBILE MENU
------------------------------*/
div.popup-drawer .drawer-inner {
    background: #ffffff;
    color: #000;
}

.mobile-navigation ul li>a,
.mobile-navigation ul li.menu-item-has-children>.drawer-nav-drop-wrap {
    color: #000;
}

/* .mobile-navigation ul li.menu-item-has-children .drawer-nav-drop-wrap, .mobile-navigation ul li:not(.menu-item-has-children) a {
    border-bottom: 1px solid rgb(151 151 151 / 10%);
} */

.mobile-navigation ul li .span-has-child {
    display: block;
    color: #000;
    padding: 1em 0.5em;
    text-decoration: none;
}

.mobile-navigation a {
    width: auto;
}

.mobile-navigation ul li:not(.menu-item-has-children) .span-has-child {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/*------------------------------
    MOBILE SEARCH 
------------------------------*/
#search-drawer .drawer-inner {
    background: #ffffff;
    color: #000000;
}

#search-drawer .drawer-inner .drawer-content {
    align-items: start;
    padding: 3em 2em;
}

.search-toggle-open-container .search-toggle-open {
    background: #ffffff;
    color: #000000;
}

#search-drawer .drawer-inner input.search-field:focus {
    color: #000000;
    box-shadow: none;
}

#search-drawer .drawer-inner .search-submit[type="submit"]:hover~.kadence-search-icon-wrap {
    color: #000000;
}

/*------------------------------
    NAVIGATION SEARCH BAR
------------------------------*/
#nav-search-bar-form {
    position: relative;
}

#nav-search-bar-form .search-input {
    border: 1px solid var(--global-palette1);
    padding: 10px 55px 10px 10px;
    height: 40px;
    border-radius: 4px;
    font-size: 17px;
    width: 325px;
}

#nav-search-bar-form .search-submit {
    background: #049f82;
    font-size: 22px;
    padding: 0;
    height: 40px;
    width: 45px;
    line-height: 1;
    vertical-align: middle;
    margin-left: -6px;
    vertical-align: top;
    position: absolute;
    right: 0;
    top: 0;
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
    border-bottom-left-radius: 0;
    border-top-left-radius: 0;
}

#nav-search-bar-form .search-submit>span {
    vertical-align: middle;
    margin: 0;
    padding: 0;
}

/*------------------------------
    MISC
------------------------------*/
#wrap_404 {
    color: #6C7778;
    margin: 0 0;
    text-align: center;
    overflow: hidden;
}

#header_404,
#harry_404 {
    margin: auto;
    text-align: left;
}

#header_404 {
    float: left;
}

#meet_404 {
    float: right;
}

#header_404 a {
    text-decoration: none;
}

#large_404,
#med_404,
#small_404 {
    line-height: 1.2;
    margin: 10px 0;
}

#large_404 {
    font-size: 5rem;
}

#med_404 {
    font-size: 3rem;
}

#small_404,
#harry_404 {
    font-size: 1.5rem;
}

#image_404 {
    display: inline-block;
    width: 300px;
    margin: 25px 0 0;
}

/* NEW HOMEPAGE */
/* Header top row css */
header .kt-has-3-columns.kt-row-column-wrap {
    grid-template-columns: minmax(max-content, 1fr) 2fr minmax(max-content, 1fr);
}

header .kt-inside-inner-col {
    display: flex;
}

header .kt-inside-inner-col .rosie-hero-search-form {
    max-width: 90%;
    align-self: center;
    display: none;
}

@media(max-width:768px) {
    header .kt-inside-inner-col .rosie-hero-search-form {
        max-width: 550px;
        width: 98%;
    }
}

header .kt-inside-inner-col .rosie-hero-search-form .rosie-hero-submit {
    transition: none;
}

.item-is-stuck header .kt-inside-inner-col .rosie-hero-search-form {
    display: block;
}

header .kt-inside-inner-col .glsr-tag-value {
    white-space: nowrap;
}

/* Header top row css end*/

.tk-full-width {
    width: 100%;
    position: relative;
    /* left: 50%; */
    /* right: 50%; */
    /* margin-left: -50vw; */
    /* margin-right: -50vw; */
}

/*
.sticky-header {
    position: sticky;
    top: var(--global--admin-bar--height, 0);
    z-index: 99;
    background: white;
    border-bottom: 1px solid #e6e6e6; 
}
*/

.home-header .wp-block-search__inside-wrapper {
    border-radius: 25px;
    background: #F5F5F5;
    outline: none;
}

.home-header .wp-block-search__inside-wrapper:after {
    content: "";
    background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' class='bi bi-search' viewBox='0 0 16 16'%3E%3Cpath d='M11.742 10.344a6.5 6.5 0 1 0-1.397 1.398h-.001c.03.04.062.078.098.115l3.85 3.85a1 1 0 0 0 1.415-1.414l-3.85-3.85a1.007 1.007 0 0 0-.115-.1zM12 6.5a5.5 5.5 0 1 1-11 0 5.5 5.5 0 0 1 11 0z'%3E%3C/path%3E%3C/svg%3E") no-repeat center;
    width: 50px;
    height: 50px;

}

.home-header .wp-block-search__input {
    border-radius: 0;
    height: 50px;
    background: none;
    border: none;
    padding-left: 25px;
}

.home-menu {
    font-size: 19px;
    font-weight: bold;
}

.home-menu>li:not(:last-of-type):after {
    content: "";
    height: 8px;
    width: 8px;
    background-color: #1F9B3B;
    border-radius: 50%;
    display: inline-block;
    margin: 0 14px 0 20px;
}

.home-menu li a {
    white-space: nowrap;
}

.home-menu li a:hover {
    color: #1F9B3B !important;
}

.home-menu .wp-block-navigation-submenu .wp-block-navigation-item:not(:last-child) {
    border-bottom: 1px solid #efefef;
}

.home-menu .menu-toggle-open,
.home-menu .menu-toggle-open:hover {
    color: #222222 !important;
}

.home-menu .tk-mobile-menu {
    align-items: flex-end;
}

.home-slider .slide-content>div {
    justify-content: center;
    align-items: center !important;
}

.home-slider.wp-block-eedee-block-gutenslider .eedee-gutenslider-nav {
    background-color: #ffffff !important;
    border: 1px solid #dddddd;
    border-radius: 30px;
    padding: 6px;
    box-sizing: content-box;
    margin: 0 20px;
}

.home-six-image .kt-inside-inner-col:hover:before {
    opacity: 0.2;
}

.home-six-image h3,
.home-six-image h3 a {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.home-middle-row:before,
.home-middle-row:after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
}


.home-middle-row:before {
    background-image: url('../../uploads/2024/02/save-money-2.png');
    background-position: left bottom;
    background-size: 660px;
}

.home-middle-row:after {
    top: -13%;
    right: 0;
    background-image: url(../../uploads/2024/02/vegan.png);
    background-position: right top;
    background-size: 280px;
}

.carousel-no-pag .splide__pagination {
    display: none;
}

.tk-carousel .kb-gal-image-radius {
    border: 2px dashed #1F9B3B;
}

.home-popular-items .kb-advanced-image-link {
    display: block;
    background: #1f9b3b;
    border-radius: 6px;
}

.home-popular-items .kb-advanced-image-link:hover img {
    opacity: 0.75;
}

.home-popular-items .kb-advanced-image-link img {
    opacity: 1;
    -webkit-transition: .3s ease-in-out;
    transition: .3s ease-in-out;
}

.home-posts a.post-more-link {
    color: #1F9B3B;
}

.rounded-blog-image .entry-header {
    height: 56px;
    text-overflow: ellipsis;
    word-wrap: break-word;
    overflow: hidden;
}

.rounded-blog-image .entry-summary {
    height: 146px;
    text-overflow: ellipsis;
    word-wrap: break-word;
    overflow: hidden;
}

.rounded-blog-image img {
    border-radius: 6px;
}

.rounded-blog-image a.post-more-link {
    color: #1F9B3B;
}

.home .scriptlesssocialsharing {
    margin: 18px 32px;
}

/* Before Footer Area */
#before_footer {
    /* border-top: 1px solid #004225;*/
    padding-top: 3rem;
}

.tk-sidebar.is-affixed {
    margin-top: -111px;
}

.tk-sidebar.is-affixed>div {
    padding-bottom: 30px;
}

#before_footer,
.scriptlesssocialsharing {
    margin-left: 15.6%;
}

/* Review Bar */
#masthead {
    padding-bottom: 5px;
}

#review_bar_link,
#review_bar_link:hover {
    color: inherit;
    text-decoration: none;
}


#review_bar {
    background: #ffffff;
    padding: 15px;
}

#review_bar,
#review_bar .glsr-summary {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex-wrap: nowrap;
    gap: 25px;
}

.glsr-summary .glsr-star {
    margin: 0 1px;
    background-color: #cccccc;
}

.glsr-summary .glsr-bar-background-percent {
    color: #049f82 !important;
}

.glsr-form-wrap {
    background: #eaeaea;
    padding: 30px;
    border-radius: 6px;
}

@media screen and (min-width: 996px) {
    .home-middle-row .wp-block-kadence-column .kt-inside-inner-col {
        padding-left: 780px;
    }
}

@media screen and (max-width: 1024px) {
    .header-middle-mobile .home-header #mobile-toggle {
        margin: 0 auto;
    }
}
@media screen and (min-width: 768px) and (max-width: 1024px) {
    .header-middle-mobile .home-header>div {
        grid-template-columns: 75% 20% !important;
    }
}

@media screen and (max-width: 900px) {
    .tk-sidebar {
        display: none;
    }
}

@media screen and (max-width: 767px) {
    #header_404,
    #meet_404 {
        float: left;
    }

    .carousel-no-pag .splide__arrow {
        display: none;
    }
}

@media screen and (max-width: 480px) {

    .home-menu {
        z-index: 9;
    }

    .home-slider h2.wp-block-heading {
        font-size: 42px !important;
    }

    .home-slider .wp-block-column {
        z-index: 10;
    }

    .home-slider .wp-block-column:last-of-type {
        margin: 10px;
    }

    .home-slider .eedee-gutenslider-nav {
        display: none !important;
    }

    .home-middle-row:after {
        top: -15%;
        background-position: right top;
        background-size: 130px;
    }

    .home-middle-row:before {
        background-position: -220px bottom;
        background-size: 420px;
    }

    /* Review Bar Mobile */
    #review_bar .glsr-summary {
        flex-direction: column;
        gap: 0;
    }
}

/*------------------------------
    AFFILIATE DISCLOSURE BAR
    Must be visible on EVERY page, desktop and mobile.
    Never collapsed, clipped or hidden at any breakpoint.
------------------------------*/
.tk-disclosure {
    display: block !important;
    position: relative;
    width: 100%;
    max-width: 100%;
    background: #ffffff;
    color: #666666;
    text-align: center;
    font-size: 13px;
    line-height: 1.5;
    font-weight: 400;
    margin: 0;
    padding: 8px 14px;
    overflow: visible;
    max-height: none;
    clip: auto;
    box-sizing: border-box;
}

.tk-disclosure p {
    margin: 0;
    padding: 0;
    font-size: inherit;
    line-height: inherit;
    color: inherit;
    font-weight: inherit;
}

/* Keep it visible even if an ancestor collapses on small screens. */
@media screen and (max-width: 1024px) {
    .tk-disclosure {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        padding: 8px 12px;
    }
}

@media screen and (max-width: 480px) {
    .tk-disclosure {
        padding: 8px 10px;
    }
}

/* Still required if a page is printed or saved to PDF. */
@media print {
    .tk-disclosure {
        display: block !important;
        color: #666666;
        background: #ffffff;
    }
}