/*
Theme Name:     Swees co Child
Theme URI:      n/a
Template:       kadence
Author:         Areeb Adil
Author URI:     http://upwork.com/freelancers/areebadil613/
Description:    This child theme has been built using Vital Vibe premium starter template for swees.co
Version:        1.0
License:        GNU General Public License v3.0 (or later)
License URI:    https://www.gnu.org/licenses/gpl-3.0.html
*/
/* 
@media screen and (max-width: 768px) {
    .side-navigation-mobile-supported {
        display: none !important;
    }
} */

/* --- 
EVERHEXA PERFORMANCE SHOP: LEAN MENU 
PART: PSFE - 1 
--- */

.lean-menu {
    display: flex;
    padding: var(--pt) var(--pr) var(--pb) var(--pl);
    margin: var(--mt) var(--mr) var(--mb) var(--ml);
    list-style: var(--lst);
}

/* Layout Steering */
.m-stack {
    flex-direction: column;
}

.m-flex {
    flex-direction: row;
    flex-wrap: wrap;
}

.m-grid {
    display: grid;
    grid-template-columns: repeat(var(--cols-m), 1fr);
}

.quantity.spinners-added {
    display: inline-flex;
    border-radius: 8px;
}
#masthead {
    z-index: 9999 !important;
}

@media (min-width: 768px) {
    .d-stack {
        flex-direction: column;
    }

    .d-flex {
        flex-direction: row;
        display: flex;
    }

    .d-grid {
        display: grid;
        grid-template-columns: repeat(var(--cols-d), 1fr);
    }
    
    .homepage-hero > .kt-inside-inner-col {
        display: grid !important;
        grid-template-columns: repeat(8, 1fr) !important;
    }
}

/* Link Aesthetics */
.lean-menu a {
    color: var(--clr);
    display: inline-block;
    text-decoration: var(--tdec);
    transition: color 0.2s ease, transform 0.2s ease;
}

.lean-menu li {
    line-height: var(--lh);
}

.lean-menu li:hover a {
    color: var(--hclr);
}

.lean-menu[data-hover="zoom"] a {
    will-change: transform;
}

.lean-menu[data-hover="zoom"] li:hover a {
    transform: scale(1.05);
}


@media screen and (min-width: 1025px) {

    .eh-pt-md--d {
        padding-top: 16px !important;
    }

    .eh-pt-lg--d {
        padding-top: 12px !important;
    }

    /* desktop mega menu adjustments */

    .sub-menu {



        background-color: none !important;
        background: none !important;
        box-shadow: none !important;

        /* 
        
        padding-top applied to submenu by using 
        
        .padding-top-16-d and 
        .padding-top-32-d classes
        
        from appreance > menus > menu item > css classes 
        
        */

    }

    .wp-block-image.eh-megamenu-sweescheese {
        position: absolute !important;
        top: 8px !important;
        right: 16px !important;
        width: 300px !important;
    }

    .wp-block-image.eh-megamenu-cleanbean {
        position: absolute !important;
        bottom: 80px !important;
        right: 240px !important;
        width: 300px !important;
    }

    ;

    .wp-block-image.eh-megamenu-oneplanetpizza {
        position: absolute !important;
        top: 8px !important;
        right: 16px !important;
        width: 300px !important;
    }

    ;

}

.eh-column-span-full-width {
    grid-column: 1 / -1 !important;
}


/* Customizer CSS */

/*for footer last menu adjustment */
li#menu-item-14098 {
    padding-top: 16px;
}

/*-- footer last menu edjustment ends -- */

img.acf-custom-img {
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12),
        0 4px 8px rgba(0, 0, 0, 0.06);
}

.ar--text-pill {
    width: 150px;
    padding: 16px;
    border: 1px solid green;
    border-radius: 8px;
    text-align: center;

    bottom: 124px;
    color: green;
}

.ar--opacity-point2 {
    opacity: 0.2;
}

.ar--horizontal-svg-anim-loop .kb-adv-heading-icon {
    /*display: inline-flex;*/
    animation: arrowFloat 1.6s ease-in-out infinite;
}

.mega-menu-icons {
    position: absolute;
    right: 20px;
}

/* for business menu label in main menu */
.business--main-menu {
    background-color: var(--global-palette2);
    padding: 12px 24px !important;
    border-radius: 8px !important;

    margin-left: 25px !important;

}

.business--main-menu>a {

    font-weight: 100 !important;
    color: white !important;
}

.mega-menu-icons {
    position: absolute;
    top: -20px;
}

.mega-menu-icon-left-180 {
    left: 180px;
}

.mega-menu-icon-left-150 {
    left: 150px;
}

.ar--fixed-width-100-percent {
    width: 100% !important;
}

.dashed-link>a {
    text-decoration-style: dashed !important;
}

@keyframes arrowFloat {
    0% {
        transform: translateX(0);
    }

    50% {
        transform: translateX(-32px);
    }

    100% {
        transform: translateX(0);
    }
}

.image-slider--business-mega-menu img {
    border-radius: 8px;
}

.background-upper-pic--single-product-page {
    position: absolute;
    top: 0;
    left: -100px;

}

.background-lower-pic--single-product-page {
    position: absolute;
    bottom: -160px;
    right: 0;
}

.ar--marquee {
    margin-bottom: 40px !important;
}

/* fix for mega menu is hiding */
.submenu-for-mainmenu .kb-nav-link-content {
    visibility: visible !important;
}

.brands-megamenu--cheeseimage-position {
    position: absolute;
    top: 0;
    left: 32px;
}

.brands-megamenu--creamanddips-position {
    position: absolute;
    top: 0;
    right: -80px;
}

.brands-megamenu--nutrandprot-position {
    position: absolute;
    bottom: 48px;
    left: 160px;
}

.sweescheese-range {}

.cleanbean-range {}

.one-planet-pizza {}

.float-left {
    float: left;
}

span.ar__menu_pill {
    padding: 4px !important;
    border: 1px solid #43833E;
    border-radius: 4px;
    margin: 0 0 0 8px !important;
    color: #43833E;
    font-size: 0.8em;
}

.ar--bordered-icon-list {
    border: 1px solid green;
    padding-top: 16px;
    padding-bottom: 8px;
    border-radius: 8px;
}

/* for footer */
.footer-social-wrap {
    display: flex !important;
}

.footer-social-wrap .widget-title {
    font-size: 1em;
    width: 140px !important;
    margin-bottom: 0 !important;
    margin-top: 4px;
}

.woocommerce-variation.single_variation span.price {
        border: 1px solid green !important;
        padding: 8px 12px !important;
        border-radius: 8px !important;
        font-weight: bold !important;
}

@media screen and (max-width: 767px) {
    
    .homepage-hero > .kt-inside-inner-col {
        display: grid !important;
        grid-template-columns: repeat(4, 1fr) !important;
    }

    .woocommerce-variation.single_variation span.price {
       
        margin-bottom: 8px !important;
    }
    .woocommerce-variation.single_variation .woocommerce-variation-price{
        display: flex !important;
        justify-content: center !important;
    }

    .brands-product-carousel .kadence-post-image {
            
        max-width: 250px !important;
        text-align: center !important;
        margin-right: auto !important;
        margin-left: auto !important;
    }

    .ar--absolute-left-1,
    .ar--absolute-left-2,
    .ar--absolute-left-3 {
        margin: 0 auto;
    }



    .business-partners.wp-container-core-group-is-layout-1508f0d2 {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }

    /* for Mobile Menu Business Section */
    .business-solution--mobile-menu {
        background-color: green;
        border-radius: 8px;
    }

    .business-solution--mobile-menu .drawer-nav-drop-wrap {
        background-color: green !important;
        color: white !important;
        border-radius: 4px;
    }

    /* Business pages exclusice styles for mobile */

    .business-page-title-heading.food-services-page {
        max-width: 250px;
    }

    .business-page-title-heading.export-page {
        max-width: 270px;
    }
    .business-page-title-heading.certifications-page {

        max-width: 290px;
     }

    .eh--business-pages-hero h1 {
        margin-bottom: var(--global-kb-spacing-md, 2.5rem) !important;
    }

    .eh--business-pages-hero p {
        margin-bottom: var(--global-kb-spacing-md, 2.5rem) !important;
    }

    .eh--business-pages-hero.co-manufacturing h1 {
        font-size: 1.7em !important;

    }

    /* set padding-top to 0 on first occurence of .kt-inside-inner-col under .eh--business-pages-hero on mobile */
    .eh--business-pages-hero .kt-inside-inner-col:first-child {
        padding-top: 0 !important;
    }

    /* set padding-top to var(--global-kb-spacing-sm, 1.5rem); on first occurence of .kt-row-column-wrap under .eh--business-pages-hero on mobile */
    .eh--business-pages-hero .kt-row-column-wrap:first-child {
        padding-top: var(--global-kb-spacing-md, 2.5rem) !important;
    }

    /* global button width for mobile, excluding /stores/xxx filter buttons  */
    a.kb-button:not(.stores-city-filter-btn) {
        width: 270px !important;
    }

    /* set margin-top: 0px for all a.wp-block-kadence-advancedbtn under .eh--business-pages-hero on mobile */
    .eh--business-pages-hero a.wp-block-kadence-advancedbtn {
        margin-top: 0px !important;
    }

        /* co-manufacturing page style for mobile */

            .service-container {
                text-align: center;
                padding-top: 16px !important;
            }
        /* -- co-manufacturing page style for mobile ends here -- */


    /* -- Business pages exclusice styles for mobile ends here -- */

    /* Store pages specific styles for mobile */

    /*spacing after h1 in .stores-page-hero-section on mobile */
    .stores-page-hero-section h1 {
        margin-bottom: var(--global-kb-spacing-md, 2.5rem) !important;
    }

    /* .wp-block-kadence-advancedbtn spacing in .stores-page-hero-section on mobile */  
    .stores-page-hero-section .wp-block-kadence-advancedbtn {
        margin-bottom: var(--global-kb-spacing-md, 2.5rem) !important;
    }

    /* brand pages specific styles for mobile */

    .cleanbean.slogan {
        width:250px !important;
    }

    /* slogan of onepizzaplanet in mobile width to 250px; */
    .oneplanetpizza.slogan {
        width: 250px !important;
    }

}

@media screen and (min-width: 1025px) {

    /* footer cols width */
    .site-middle-footer-inner-wrap {
        grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr !important;
    }

    .footer-logo {
        margin-top: -0.5em;
    }

    /* Business pages */
    .ar--subtitle {
        font-size: 1.2em !important;
        font-weight: 500 !important;
    }

    .business-page-title-heading,
    .ar--subtitle {
        max-width: 900px !important;
    }

    .business-page-title-heading.all-solutions {
        max-width: 800px !important;
    }

    .business-page-title-heading.food-services-page {
        max-width: 800px !important;
    }

    .eh--business-pages-hero>div:first-child {
        padding-top: 0 !important;
    }

    .eh--business-pages-hero {
        padding-bottom: var(--global-kb-spacing-lg, 3rem) !important;
        padding-top: var(--global-kb-spacing-lg, 3rem) !important;
        margin-bottom: 0 !important;
        margin-top: 0 !important;
    }

        /* -- co-manufacturing page style */

            .page-id-12190 .services-label {
                font-size: 26px !important;
                text-align: left;
            }

            .page-id-12190 .services-label.custom-formulation {
                width: 250px !important;    
            }
            .service-container {
                padding-top: 24px;
            }

        /* -- co-manufacturing page style ends here -- */


    /* Business pages styles ends here */
    /* CSS styles for desktops */

    .ar--4-col-icon-list>ul {
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    }

    .ar--5-col-icon-list>ul {
        grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    }

    /* fomulate, ... */

    .ar--absolute-left-1 {
        left: 81px;
        position: absolute;
    }

    .ar--absolute-left-2 {
        left: 250px;
        position: absolute;
    }

    .ar--absolute-left-3 {
        left: 420px;
        position: absolute;
    }

    /* footer */
    .site-footer-row {
        display: grid;
        grid-template-columns: 2fr 3fr;
    }

    /* Global size for buttons on desktop, excluding /stores/xxx filter buttons */
    a.kb-button:not(.stores-city-filter-btn),
    a.kb-button:not(.contact-business-team--sidebar) {
        width: 330px !important;

    }

    /* store pages specific styles for desktop */

    /* centering .store-city-filter-btns inside a flex container */
    .store-city-filter-btns {
        margin: 0 auto !important;  
    }
    .search-label {
        margin-left: 24px !important;
        justify-self: left !important;
        margin-bottom: 8px !important;
    }

    .maps-section {
        width: 100% !important;
        padding-top:  var(--global-kb-spacing-md, 3.5rem) !important;
    }

    .stores-page-hero-section {
    padding-top: var(--global-kb-spacing-lg, 4.5rem) !important;
    }

    .stores-page-hero-section .btns-row>.kt-inside-inner-col{
        justify-content: center;
        gap: 5em !important;
    }

    .stores-page-hero-section .general-btns {
        width: 30% !important;
    }

    /* -- store pages specific styles for desktop ends here -- */

    /* Brands pages specific styles for desktop */

        /* Brands */
 
    /* -- Brands megamenu specific styles for mobile ends here -- */

    /* -- Brands pages specific styles for desktop ends here -- */

   
}

    .slogan {
        font-size: 1.2em !important;
        font-weight: 500 !important;
    }

/* shop filter menu specific styles for mobile only */

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

    .side-navigation-mobile-supported {
        width: 400px;
        background: white;
        color: green;
        padding: 15px;
        position: fixed;
        top: 0px;
        left: -250px;
        height: 100%;
        transition: .3s;
        z-index: 2000;
        padding-top: 125px!important;

    }
    .shop-filter-close-btn {
        display: block;
        position: absolute;
        top: 250px;
        left: 200px;
    }

    body.no-scroll {
        overflow: hidden;
        height: 100vh;
        touch-action: none; /* Prevents touch scrolling on the background */

    }
    
}

/* -- shop filter menu specific styles for mobile only ends here -- */

/* Single product page Upsells sections styles */

.single-product-upsells li.loop-entry.product {
    background: transparent !important;
    box-shadow: 1px 1px 4px rgba(0,0,0,0.1) !important;
}

/* auto numbering in how to cook and custom styling */

/* 1. Initialize the counter on the parent container */
.recipe-steps-container {
  counter-reset: recipe-counter;
  list-style: none;
  padding: 0;
}

/* 2. Style the cooking point and increment the counter */
.cooking_point {
  position: relative;
  display: block;
  margin-bottom: 1.5rem;
  padding-left: 4rem; /* Space for the large number */
  line-height: 1.8;
  font-size: 1.1rem;
  color: #333;
}
hr.recipre-divider {
    margin-bottom: 1.5rem;
}

/* 3. Create the automatic number using pseudo-elements */
.cooking_point::before {
  counter-increment: recipe-counter;
  content: counter(recipe-counter);
  
  /* Styling the number to match Swees brand */
  position: absolute;
  left: 0;
  top: -20px;
  font-family: var(--site-main-font), sans-serif; /* Your standard font */
  font-weight: 700;
  font-size: 3.7rem;
  color: #4A7c44; /* Your Swees Green */
  opacity: 0.2;   /* Makes it look editorial and modern */
}

.recipe-product-recommendation article {
    background: transparent !important;
    box-shadow: none !important;
}

.similar-recipe-carousel .kt-blocks-post-readmore-wrap {
    margin-top: unset !important;
}


/* --  auto numbering in how to cook and custom styling ends here -- */


