/* =========================================
   1. GLOBAL VARIABLES & RESET
   ========================================= */
:root {
    --primary-green: #0f3d2e;
    /* Deep Royal Green */
    --gold-accent: #c9a24d;
    /* Metallic Gold */
    --gold-hover: #b08d3f;
    --cream-bg: #faf7f0;
    /* Soft Cream Background */
    --text-dark: #1a1a1a;
    --white: #ffffff;
    --font-heading: 'Cinzel', serif;
    --font-body: 'Lato', sans-serif;
    --container-width: 1200px;
}

/* 1. Global Background Color on HTML only to allow layering */
html {
    background-color: var(--cream-bg) !important;
}

/* 2. Body is transparent container for content */
body {
    background-color: transparent !important;
    /* Let html bg show through */
    color: #333;
    font-family: var(--font-body) !important;
    margin: 0;
    padding: 0;
    position: relative;
    /* Context for pseudo-element */
    min-height: 100vh;
}

/* 3. The Pattern sits BETWEEN html bg and body content */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    /* Restored width */
    height: 100vh;
    background-image: url('../images/mandala-bg.png');
    background-repeat: repeat;
    background-size: 500px;
    /* Slightly smaller for elegance */
    opacity: 0.35;
    /* Visible but subtle */
    z-index: -1;
    /* Behind body content, In front of html bg */
    pointer-events: none;
}

/* 4. Ensure Wrappers don't block visibility */
#page,
.site,
.site-content,
.ast-container,
.site-header {
    background-color: transparent !important;
    background: transparent !important;
}

/* Ensure our custom wrapper breaks out if any Astra container remains */
.custom-homepage-wrapper {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

/* Base Typography Tweaks for Premium Feel */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--primary-green);
    margin-top: 0;
    font-weight: 700;
    letter-spacing: 0.5px;
    /* Slight tracking for elegance */
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 40px;
    /* More breathing room on sides */
}

.section-common {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 0;
    /* Removed bottom margin */
    position: relative;
    padding-bottom: 5px;
    /* Reduced from 15px */
}

/* Ornate temple-inspired decorative divider */
.section-title::after {
    content: '';
    display: block;
    width: 200px;
    height: 20px;
    /* Reduced from 30px */
    margin: 5px auto 0;
    /* Reduced from 10px */
    background-image: url("data:image/svg+xml,%3Csvg width='200' height='20' viewBox='0 0 200 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5,10 Q20,7 40,10 T80,10' stroke='%23c9a24d' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3Cpath d='M195,10 Q180,7 160,10 T120,10' stroke='%23c9a24d' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3Cpath d='M85,10 L115,10' stroke='%23c9a24d' stroke-width='1.5'/%3E%3Ccircle cx='100' cy='5' r='2.5' fill='%23c9a24d'/%3E%3Cpath d='M95,8 Q100,5 105,8' stroke='%23c9a24d' stroke-width='1.5' fill='none'/%3E%3Cpath d='M92,10 Q100,7 108,10' stroke='%23c9a24d' stroke-width='1.5' fill='none'/%3E%3Ccircle cx='5' cy='10' r='2' fill='%23c9a24d'/%3E%3Ccircle cx='195' cy='10' r='2' fill='%23c9a24d'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    opacity: 0.9;
}

.section-title::before {
    display: none;
}

.section-subtitle {
    text-align: center;
    margin-top: 5px;
    /* Reduced from 10px */
    margin-bottom: 40px;
    color: #666;
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* =========================================
   2. CUSTOM GLOBAL HEADER
   ========================================= */
.custom-global-header {
    background-color: var(--cream-bg);
    border-bottom: 1px solid rgba(15, 61, 46, 0.05);
}

.header-top-row {
    padding: 15px 0;
}

.header-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    /* Left (Socials), Center (Logo), Right (Search) */
    align-items: center;
    gap: 20px;
}

/* Social Icons (Left) */
.header-socials {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 35px;
    height: 35px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    transition: transform 0.2s;
}

.social-icon:hover {
    transform: translateY(-3px);
}

.social-icon.insta {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
}

.social-icon.fb {
    background: #1877F2;
}

.social-icon.yt {
    background: #FF0000;
}

/* Logo (Center) */
.site-branding {
    text-align: center;
}

.custom-logo {
    height: 90px;
    width: auto;
}

/* Search Bar (Right) */
.header-search {
    display: flex;
    justify-content: flex-end;
}

.search-form {
    position: relative;
    width: 100%;
    max-width: 300px;
}

.search-field {
    width: 100%;
    padding: 12px 20px;
    border-radius: 4px;
    border: none;
    background: #fff;
    font-family: var(--font-body);
    font-size: 0.95rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.search-submit {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--primary-green);
    cursor: pointer;
    font-size: 1.1rem;
}

/* Bottom Row (Nav + Cart) */
.header-bottom-row {
    padding: 10px 0 25px 0;
}

.flex-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    /* Space out Grid doesn't work well here, Nav Center needs care */
    position: relative;
}

/* Navigation - Center Hack */
.main-navigation {
    flex-grow: 1;
    text-align: center;
}

.main-navigation ul {
    display: inline-flex;
    gap: 25px;
}

.main-navigation a {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--primary-green);
    /* Dark Text */
    font-size: 1rem;
    position: relative;
}

/* Active/Hover State - Gold Underline (Home has it in screenshot) */
.main-navigation a:hover,
.main-navigation a:active,
.main-navigation .current-menu-item>a {
    color: var(--gold-accent);
}

.main-navigation a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    background: var(--gold-accent);
    bottom: -8px;
    left: 0;
    transition: width 0.3s;
}

.main-navigation a:hover::after,
.main-navigation .current-menu-item>a::after {
    width: 100%;
}

/* Cart Widget (Right) */
.header-cart {
    position: absolute;
    right: 40px;
    /* Align with container padding */
    top: 50%;
    transform: translateY(-50%);
}

.cart-pill {
    background-color: var(--primary-green);
    color: white;
    /* Price text white? Screenshot shows white text on green pill */
    display: flex;
    align-items: center;
    padding: 8px 15px;
    border-radius: 6px;
    font-weight: 700;
    font-family: var(--font-body);
    gap: 10px;
}

.cart-price {
    border-right: 1px solid rgba(255, 255, 255, 0.3);
    padding-right: 10px;
}

.cart-icon-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -10px;
    background: #ff4757;
    color: #F9F7F0;
    font-size: 0.7rem;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* =========================================
   MOBILE HEADER STYLES
   ========================================= */
.mobile-header-bar {
    display: none;
    /* Hidden on Desktop */
    background-color: var(--cream-bg);
    padding: 10px 20px;
    align-items: center;
    justify-content: space-between;
    height: 60px;
    /* Compact Height */
    border-bottom: 1px solid rgba(15, 61, 46, 0.05);
}

.mobile-left,
.mobile-right {
    flex: 1;
    /* Equal width to center logo perfectly */
    display: flex;
}

.mobile-left {
    justify-content: flex-start;
}

.mobile-right {
    justify-content: flex-end;
}

.mobile-center {
    text-align: center;
}

/* Hamburger */
.mobile-nav-toggle {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary-green);
    cursor: pointer;
    padding: 0;
}

/* Logo */
.mobile-logo {
    height: 40px;
    /* Compact logo */
    width: auto;
}

/* Mobile Cart */
.mobile-cart-icon {
    font-size: 1.4rem;
    color: var(--primary-green);
    position: relative;
}

.mobile-cart-icon .cart-count {
    position: absolute;
    top: -5px;
    right: -8px;
    background: #FF0000;
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 2px 5px;
    border-radius: 10px;
    min-width: 16px;
    text-align: center;
}

/* OFF-CANVAS MOBILE MENU */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
    z-index: 2000;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-container {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 280px;
    background: var(--cream-bg);
    z-index: 2001;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    box-shadow: 2px 0 20px rgba(0, 0, 0, 0.1);
}

.mobile-menu-container.active {
    transform: translateX(0);
}

.mobile-menu-header {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.menu-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--primary-green);
}

.mobile-menu-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary-green);
    cursor: pointer;
}

.mobile-menu-content {
    padding: 20px 0;
}

.mobile-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav-list li {
    border-bottom: 1px solid rgba(15, 61, 46, 0.05);
}

.mobile-nav-list li a {
    display: block;
    padding: 15px 25px;
    font-family: var(--font-body);
    font-weight: 600;
    color: var(--primary-green);
}

.mobile-nav-list li a:hover {
    background: rgba(0, 0, 0, 0.02);
    color: var(--gold-accent);
}

body.no-scroll {
    overflow: hidden;
}


/* Responsive adjustments */
@media (max-width: 992px) {
    .custom-global-header {
        position: sticky;
        top: 0;
        z-index: 1000;
    }

    .desktop-header-wrapper {
        display: none;
    }

    .mobile-header-bar {
        display: flex;
    }

    .header-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 15px;
    }

    .header-socials,
    .header-search {
        justify-content: center;
    }

    .main-navigation {
        display: none;
    }

    .header-cart {
        position: static;
        transform: none;
        display: inline-block;
        margin-top: 10px;
    }
}


/* =========================================
   3. HERO SECTION
   ========================================= */
.hero-section {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

.hero-bg {
    width: 100%;
    height: 70vh;
    /* Taller hero */
    min-height: 600px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* Optional Overlay for text readability if we add text later */
.hero-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.3));
    z-index: 1;
}

/* Responsive Hero */
@media (max-width: 768px) {
    .hero-bg {
        height: 400px;
        min-height: auto;
    }
}


/* =========================================
   4. MOST LOVED PRODUCTS
   ========================================= */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    /* Slightly wider cards */
    gap: 40px;
}

.product-card {
    background: #fff;
    /* White card on cream bg pops nicely */
    border: 1px solid rgba(15, 61, 46, 0.05);
    /* Very subtle border */
    padding: 0;
    /* Remove internal padding */
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    /* Soft, deep shadow */
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    overflow: hidden;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.p-image {
    width: 100%;
    height: 220px;
    /* Reduced from 300px for compacter look */
    overflow: hidden;
}

.p-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.product-card:hover .p-image img {
    transform: scale(1.05);
    /* Zoom effect */
}

.product-card h3 {
    font-size: 1.1rem;
    margin: 20px 0 10px;
    color: var(--primary-green);
    padding: 0 20px;
}

.product-card h3 a {
    text-decoration: none;
    color: inherit;
}

.price {
    font-weight: 600;
    color: var(--gold-accent);
    font-family: var(--font-heading);
    font-size: 1.1rem;
    margin-bottom: 20px;
    display: block;
}

.btn-add,
.product-card .button,
.product-card .add_to_cart_button {
    display: flex !important;
    /* Force Flexbox */
    justify-content: center !important;
    align-items: center !important;
    gap: 10px;
    /* Space between Icon and Text */
    width: 100%;
    background: #013113 !important;
    color: var(--white) !important;
    border: none;
    padding: 15px 0 !important;
    /* Top/Bottom padding only */
    margin: 0 !important;
    border-radius: 0 0 12px 12px !important;
    /* Rounded bottom corners to match card */
    cursor: pointer;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    /* Slight increase */
    letter-spacing: 1px;
    transition: 0.3s;
    text-transform: uppercase;
    text-decoration: none;
    line-height: 1;
    text-indent: 0 !important;
    /* Fix any text indentation */
}

.btn-add:hover,
.product-card .button:hover,
.product-card .add_to_cart_button:hover {
    background: var(--gold-accent) !important;
    color: var(--white) !important;
}

/* Swiper Slider Styles */
.product-slider {
    padding-bottom: 20px;
    padding-left: 10px;
    padding-right: 10px;
}


/* =========================================
   5. PROMO BANNER SECTION
   ========================================= */
.promo-banner-section {
    background-color: transparent;
    text-align: center;
    padding: 80px 0;
    /* Consistent with other sections */
}

.promo-content h2 {
    font-size: 2rem;
    line-height: 1.4;
    margin-bottom: 40px;
    color: var(--primary-green);
}

.promo-video-wrapper {
    max-width: 100%;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.promo-video {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
}


/* =========================================
   6. OUR COLLECTIONS
   ========================================= */
/* =========================================
   6. OUR COLLECTIONS
   ========================================= */
.collection-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* 3 Columns as requested */
    gap: 30px;
    padding: 20px 0;
}

.collection-card-link {
    display: block;
}

.collection-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 300px;
    display: flex;
    flex-direction: column;
}

.collection-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.cc-image {
    flex-grow: 1;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform 0.5s ease;
    height: auto;
}

.collection-card:hover .cc-image {
    transform: scale(1.05);
}

.cc-label {
    background-color: #013113;
    /* Solid Green Bar */
    padding: 15px 10px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.cc-label span {
    color: var(--white);
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.collection-card:hover .cc-label span {
    color: var(--gold-accent);
}

/* Optional: Add decorative mandala feeling behind?
   The user user image has a large side mandala.
   We have a global one now, so we keep it clean.
*/

@media (max-width: 992px) {
    .collection-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .collection-grid {
        grid-template-columns: 1fr;
        /* One by one in mobile */
    }

    .cc-image {
        height: 250px;
    }
}


/* =========================================
   7. SERVICES
   ========================================= */
.section-subtitle {
    text-align: center;
    margin-bottom: 50px;
    color: #555;
    font-size: 1.1rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.service-card-new {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-card-new:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.service-image {
    width: 100%;
    height: 300px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform 0.5s ease;
}

.service-card-new:hover .service-image {
    transform: scale(1.05);
}

.service-content {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.service-content h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--primary-green);
    font-family: var(--font-heading);
}

.service-content p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 25px;
    flex-grow: 1;
    font-size: 1rem;
}

.btn-service {
    display: inline-block;
    background: var(--primary-green);
    color: var(--white);
    padding: 14px 35px;
    border-radius: 8px;
    font-weight: 700;
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: 0.3s;
    text-align: center;
    align-self: flex-start;
}

.btn-service:hover {
    background: var(--gold-accent);
    transform: translateX(5px);
}

@media (max-width: 992px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .service-image {
        height: 250px;
    }

    .service-content {
        padding: 25px;
    }

    .service-content h3 {
        font-size: 1.5rem;
    }
}


/* =========================================
   8. BOTTOM CTA
   ========================================= */
.bottom-cta-banner {
    background: linear-gradient(135deg, rgba(15, 61, 46, 0.95) 0%, rgba(15, 61, 46, 0.85) 100%),
        url('/wp-content/uploads/2025/12/hero-banner.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--white);
    padding-top: 100px;
    padding-bottom: 0;
    /* Removed bottom padding so image touches edge */
    position: relative;
    overflow: visible;
    /* Changed to visible to allow image overlap */
}

.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(201, 162, 77, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.cta-content-wrapper {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding-bottom: 100px;
    /* Add padding here to balance the text vertically */
    max-width: 1200px;
    margin: 0 auto;
}

.cta-text-content {
    flex: 1;
    max-width: 50%;
    /* Limit text width to preventing overlap */
    z-index: 20;
    /* Ensure text sits above if there is slight overlap */
}

.cta-badge {
    display: inline-block;
    background: var(--gold-accent);
    color: var(--primary-green);
    padding: 8px 20px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.bottom-cta-banner h3 {
    color: var(--white);
    font-size: 3rem;
    margin-bottom: 15px;
    line-height: 1.2;
    font-family: var(--font-heading);
}

.bottom-cta-banner p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
    line-height: 1.6;
}

.btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--gold-accent);
    color: var(--primary-green);
    padding: 18px 40px;
    border-radius: 50px;
    font-weight: 700;
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(201, 162, 77, 0.3);
}

.btn-cta:hover {
    background: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(201, 162, 77, 0.4);
}

.btn-cta i {
    transition: transform 0.3s ease;
}

.btn-cta:hover i {
    transform: translateX(5px);
}

.cta-decoration {
    position: absolute;
    right: -100px;
    /* Pull further right to touch edge of screen, assuming overflow visible */
    bottom: 0;
    width: 60%;
    /* Take up percentage width */
    max-width: 800px;
    height: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    z-index: 10;
    pointer-events: none;
    /* Let clicks pass through if needed */
}

.cta-product-image {
    width: auto;
    height: 125%;
    /* Large height */
    max-height: 650px;
    object-fit: contain;
    object-position: bottom right;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.3));
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }
}

@media (max-width: 992px) {
    .cta-content-wrapper {
        flex-direction: column;
        text-align: center;
        gap: 40px;
        position: relative;
        padding-bottom: 0;
        /* Remove bottom padding on mobile */
    }

    .cta-text-content {
        max-width: 100%;
        z-index: 2;
        padding-bottom: 300px;
        /* Push text up to make room for image */
    }

    .bottom-cta-banner h3 {
        font-size: 2.2rem;
    }

    .cta-decoration {
        position: absolute;
        right: 50%;
        transform: translateX(50%);
        bottom: 0;
        width: 100%;
        height: 350px;
    }

    .cta-product-image {
        height: 100%;
        /* Ensure full height usage */
        max-height: 350px;
        object-position: bottom center;
    }
}


/* =========================================
   9. TESTIMONIALS SLIDER
   ========================================= */
.testimonials {
    background: linear-gradient(135deg, #fffcf4 0%, #fdf6e3 100%);
    /* Soft cream/gold gradient */
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(201, 162, 77, 0.2);
    border-bottom: 1px solid rgba(201, 162, 77, 0.2);
}

/* Optional: Add a subtle pattern overlay if desired, or keep clean gradient */
.testimonials::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(#c9a24d 0.5px, transparent 0.5px);
    background-size: 20px 20px;
    opacity: 0.1;
    pointer-events: none;
}

.testimonial-slider {
    padding: 20px 10px 60px !important;
    /* Extra bottom padding for pagination */
}

.t-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    text-align: left;
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.t-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    border-color: var(--gold-accent);
}

.t-quote-icon {
    font-size: 2rem;
    color: var(--gold-accent);
    opacity: 0.3;
    margin-bottom: 20px;
}

.t-card p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #555;
    font-style: italic;
    margin-bottom: 30px;
    flex: 1;
    /* Push author to bottom */
}

.t-author {
    display: flex;
    align-items: center;
    gap: 15px;
    border-top: 1px solid #eee;
    padding-top: 20px;
}

.t-avatar {
    width: 50px;
    height: 50px;
    background: var(--primary-green);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    font-family: var(--font-heading);
}

.t-info {
    display: flex;
    flex-direction: column;
}

.t-info span {
    font-weight: 700;
    color: var(--black);
    font-size: 1rem;
    font-family: var(--font-heading);
}

.stars {
    color: #FFD700;
    font-size: 0.9rem;
    letter-spacing: 2px;
    margin-top: 5px;
}

/* Swiper Pagination Customization */
.testimonial-slider .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: #ccc;
    opacity: 0.5;
}

.testimonial-slider .swiper-pagination-bullet-active {
    background: var(--primary-green);
    opacity: 1;
    transform: scale(1.2);
}

/* =========================================
   10. GLOBAL FOOTER
   ========================================= */
.site-footer {
    background-color: #013113;
    /* Deep Green core color */
    color: #ffffff;
    font-family: var(--font-body);
}

.footer-main {
    padding: 80px 0 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
}

/* Column 1: Brand */
.footer-brand {
    padding-right: 20px;
}

.footer-logo {
    max-width: 150px;
    margin-bottom: 20px;
    background-color: #ffffff;
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.footer-brand p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #e0e0e0;
}

/* Headings */
.footer-col h3 {
    color: #ffffff;
    font-size: 1.4rem;
    margin-bottom: 25px;
    font-family: var(--font-body);
    font-weight: 500;
}

/* Links */
.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: #cccccc;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.footer-col ul li a:hover {
    color: var(--gold-accent);
}

/* Bottom Bar */
.footer-bottom {
    background-color: #000000;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom-inner {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.copyright-text p {
    margin: 0;
    color: #ffffff;
    font-size: 0.9rem;
}

/* Chat Widget (Fixed Bottom Right) */
.footer-chat-widget {
    position: fixed;
    right: 30px;
    bottom: 30px;
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 9999;
    /* Ensure it stays on top */
}

.chat-badge {
    background: #ffffff;
    color: #333;
    padding: 8px 15px;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transform: translateX(20px);
    transition: all 0.3s ease;
    pointer-events: none;
}

.footer-chat-widget:hover .chat-badge {
    opacity: 1;
    transform: translateX(0);
}

.whatsapp-float {
    background-color: #25D366;
    color: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 35px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    text-decoration: none;
    transition: transform 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    color: #fff;
}

/* Mobile Footer */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 50px;
    }

    .footer-brand {
        padding-right: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-bottom-inner {
        flex-direction: column;
        /* Stack stack stack */
        gap: 20px;
        padding-bottom: 20px;
    }

    .footer-chat-widget {
        right: 20px;
        bottom: 20px;
    }

    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 28px;
    }

    .chat-badge {
        display: none;
        /* Hide badge on mobile to save space */
    }
}

/* =========================================
   11. ABOUT US PAGE
   ========================================= */

/* Hero Section */
.about-hero {
    height: 70vh;
    /* Increased height for impact */
    min-height: 500px;
    background: url('/wp-content/uploads/2026/01/hero-banner-scaled.webp') no-repeat center center fixed;
    /* Parallax effect */
    background-size: cover;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    margin-bottom: 60px;
    /* Separation from next section */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.about-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(1, 49, 19, 0.85), rgba(1, 49, 19, 0.6));
    /* Sophisticated Gradient */
    z-index: 1;
}

.about-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.about-hero-content h1 {
    font-size: 4rem;
    font-family: var(--font-heading);
    margin: 25px 0;
    line-height: 1.1;
    color: #fff;
    font-weight: 700;
}

.about-hero-content .sub-heading {
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 5px;
    color: var(--gold-accent);
    font-weight: 600;
    display: block;
    margin-bottom: 10px;
    background: rgba(0, 0, 0, 0.2);
    display: inline-block;
    padding: 5px 15px;
    border-radius: 50px;
    border: 1px solid rgba(201, 162, 77, 0.3);
}

.hero-divider {
    width: 120px;
    height: 4px;
    background: var(--gold-accent);
    margin: 40px auto 0;
    position: relative;
}

.hero-divider::before,
.hero-divider::after {
    content: '•';
    color: var(--gold-accent);
    font-size: 2rem;
    position: absolute;
    top: -22px;
}

.hero-divider::before {
    left: -20px;
}

.hero-divider::after {
    right: -20px;
}

/* Story Section */
.about-story {
    background: transparent;
}

.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.story-img-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.story-img-main {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.story-img-wrapper:hover .story-img-main {
    transform: scale(1.05);
}

.story-text-col .lead-text {
    font-size: 1.25rem;
    color: var(--primary-green);
    font-weight: 500;
    margin-bottom: 20px;
    line-height: 1.6;
}

/* Values Section */
.about-values {
    background: #fffcf4;
    /* Light cream */
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.value-card {
    background: var(--white);
    padding: 40px 30px;
    text-align: center;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    border-bottom: 3px solid transparent;
}

.value-card:hover {
    transform: translateY(-10px);
    border-bottom-color: var(--gold-accent);
}

.value-icon {
    font-size: 2.5rem;
    color: var(--primary-green);
    margin-bottom: 20px;
}

.value-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-family: var(--font-heading);
}

/* Founder Note */
.founder-note {
    background: var(--primary-green);
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M54.627 0l.83.828-1.415 1.415-.828-.828-.828.828-1.415-1.415.828-.828-.828-.828 1.415-1.415.828.828.828-.828 1.415 1.415-.828.828zM22.485 0l.83.828-1.415 1.415-.828-.828-.828.828-1.415-1.415.828-.828-.828-.828 1.415-1.415.828.828.828-.828 1.415 1.415-.828.828zM0 22.485l.828.83-1.415 1.415-.828-.828-.828.828L-2.83 22.485l.828-.828-.828-.828 1.415-1.415.828.828.828-.828 1.415 1.415-.828.828zM0 54.627l.828.83-1.415 1.415-.828-.828-.828.828L-2.83 54.627l.828-.828-.828-.828 1.415-1.415.828.828.828-.828 1.415 1.415-.828.828zM54.627 60l.83-.828-1.415-1.415-.828.828-.828-.828-1.415 1.415.828.828-.828.828 1.415 1.415.828-.828.828.828 1.415-1.415.828-.828zM22.485 60l.83-.828-1.415-1.415-.828.828-.828-.828-1.415 1.415.828.828-.828.828 1.415 1.415.828-.828.828.828 1.415-1.415.828-.828z' fill='%23ffffff' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
}

.founder-card {
    background: var(--white);
    border-radius: 20px;
    padding: 60px;
    display: flex;
    align-items: center;
    gap: 50px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.founder-img img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid #f9f9f9;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.founder-text {
    flex: 1;
    position: relative;
}

.quote-mark {
    font-size: 8rem;
    color: var(--gold-accent);
    opacity: 0.2;
    position: absolute;
    top: -60px;
    left: -20px;
    line-height: 1;
}

.founder-text h3 {
    font-size: 1.8rem;
    color: var(--primary-green);
    margin-bottom: 20px;
}

/* =========================================
   12. CONTACT US PAGE
   ========================================= */

/* Hero variation */
.contact-hero {
    /* Uses same base styles as .about-hero */
    margin-bottom: 0;
    /* Removing bottom space for smoother connection */
}

/* Contact Grid */
.contact-content {
    background: transparent;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: flex-start;
}

/* Info Column */
.contact-info-col .lead-text {
    font-size: 1.15rem;
    color: #555;
    margin-bottom: 40px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 40px;
}

.c-info-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.c-icon {
    width: 60px;
    height: 60px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--gold-accent);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(201, 162, 77, 0.2);
    flex-shrink: 0;
}

.c-text h3 {
    font-size: 1.2rem;
    font-family: var(--font-heading);
    color: var(--primary-green);
    margin-bottom: 5px;
}

.c-text p {
    font-size: 1rem;
    color: #666;
    margin: 0;
    line-height: 1.5;
}

.c-text a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s;
}

.c-text a:hover {
    color: var(--gold-accent);
}

/* Social Icons */
.contact-social h3 {
    font-size: 1.2rem;
    font-family: var(--font-heading);
    color: var(--primary-green);
    margin-bottom: 15px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.s-icon {
    width: 45px;
    height: 45px;
    background: var(--primary-green);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.s-icon:hover {
    background: var(--gold-accent);
    transform: translateY(-3px);
}

/* Form Column */
.custom-contact-form {
    background: var(--white);
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.03);
    position: relative;
    top: -50px;
    /* Slight overlap with hero for premium look */
    z-index: 10;
}

.custom-contact-form h3 {
    font-size: 2rem;
    font-family: var(--font-heading);
    color: var(--primary-green);
    margin-bottom: 30px;
}

.user-form .form-group {
    margin-bottom: 25px;
}

.user-form label {
    display: block;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--black);
    font-size: 0.95rem;
}

.user-form input,
.user-form textarea {
    width: 100%;
    padding: 15px 20px;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #fdfcf8;
    /* Slight warm tint */
}

.user-form input:focus,
.user-form textarea:focus {
    outline: none;
    border-color: var(--gold-accent);
    background: var(--white);
    box-shadow: 0 0 10px rgba(201, 162, 77, 0.1);
}

/* Map Section */
.contact-map {
    margin-bottom: -10px;
    /* Remove gaps at bottom before footer */
    filter: grayscale(20%);
    /* Styling map to be less vibrant/distracting */
}

/* Responsive Contact */
@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .custom-contact-form {
        top: 0;
        padding: 30px;
    }
}

.founder-text p {
    font-size: 1.2rem;
    font-style: italic;
    line-height: 1.8;
    color: #444;
    margin-bottom: 25px;
}

.signature {
    font-family: 'Dancing Script', cursive;
    /* Assuming handwriting font or use heading */
    font-size: 1.5rem;
    color: var(--gold-accent);
    font-weight: 700;
}

/* Mobile Responsive */
@media (max-width: 992px) {
    .story-grid {
        grid-template-columns: 1fr;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }

    .founder-card {
        flex-direction: column;
        text-align: center;
        padding: 40px 20px;
    }

    .founder-text {
        text-align: center;
    }

    .quote-mark {
        left: 50%;
        transform: translateX(-50%);
        top: -80px;
    }

    .about-hero-content h1 {
        font-size: 2.2rem;
    }
}

/* =========================================
   13. WOOCOMMERCE SHOP PAGE
   ========================================= */

/* Hero Header Area */
.woocommerce-products-header {
    background: url('/wp-content/uploads/2026/01/hero-banner-scaled.webp') no-repeat center center;
    background-size: cover;
    padding: 140px 0 100px;
    /* Increased top padding for header space */
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    border-radius: 0 0 50px 50px;
    /* Unique bottom curve */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);

    /* Full Width Breakout */
    width: 100vw;
    margin-left: -50vw;
    left: 50%;
    margin-right: -50vw;
    right: 50%;
}

.woocommerce-products-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(1, 49, 19, 0.85);
    /* Dark Green Overlay */
    border-radius: 0 0 50px 50px;
    z-index: 1;
}

.woocommerce-products-header__title.page-title {
    position: relative;
    z-index: 2;
    color: var(--white);
    font-size: 3.5rem;
    font-family: var(--font-heading);
    margin: 0;
}

/* Product Grid */
.woocommerce ul.products {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1400px;
    /* Constrain width */
    margin: 0 auto !important;
    /* Center grid */
    padding: 0 40px;
    /* Prevent edge touching */
}

.woocommerce ul.products li.product {
    background: var(--white);
    border-radius: 20px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.02);
    display: flex;
    /* Flex layout to push button to bottom */
    flex-direction: column;
    justify-content: space-between;
    width: 100% !important;
    /* Override default float styling */
    margin: 0 !important;
}

.woocommerce ul.products li.product:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border-color: var(--gold-accent);
}

/* Product Image */
.woocommerce ul.products li.product a img {
    border-radius: 15px;
    margin-bottom: 15px;
    height: 250px;
    object-fit: contain;
    /* Ensure full product visibility */
    transition: transform 0.3s ease;
}

.woocommerce ul.products li.product:hover a img {
    transform: scale(1.05);
}

/* Product Title */
.woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-size: 1.1rem;
    font-family: var(--font-heading);
    color: var(--black);
    padding: 10px 0 5px;
    font-weight: 600;
}

/* Pricing */
.woocommerce ul.products li.product .price {
    color: var(--primary-green);
    font-size: 1.1rem;
    font-weight: 700;
    display: block;
    margin-bottom: 15px;
}

.woocommerce ul.products li.product .price del {
    color: #999;
    opacity: 0.7;
    font-size: 0.9rem;
    font-weight: 400;
    margin-right: 5px;
}

/* Add to Cart Button */
.woocommerce ul.products li.product .button {
    background: var(--primary-green) !important;
    color: var(--white) !important;
    padding: 12px 25px !important;
    border-radius: 50px !important;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    margin-top: auto;
    /* Push to bottom */
    display: inline-block;
}

.woocommerce ul.products li.product .button:hover {
    background: var(--gold-accent) !important;
    color: var(--primary-green) !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(201, 162, 77, 0.3);
}

.woocommerce ul.products li.product .added_to_cart {
    display: block;
    margin-top: 10px;
    font-size: 0.85rem;
    color: var(--primary-green);
    font-weight: 600;
}

/* Sale Badge */
.woocommerce span.onsale {
    background: var(--gold-accent);
    color: var(--primary-green);
    font-weight: 700;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    line-height: 45px;
    padding: 0;
    position: absolute;
    top: 10px;
    left: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    z-index: 10;
}

/* Responsive */
@media (max-width: 1024px) {
    .woocommerce ul.products {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Mobile Optimization - Image-Dominant Natural Sizing */
@media (max-width: 768px) {
    .woocommerce ul.products {
        grid-template-columns: 1fr;
        /* Single column for focus */
        gap: 20px;
        /* Reduced gap between cards */
        padding: 0 20px;
        max-width: 500px;
        /* Constrain width for better readability */
    }

    /* Compact cards with minimal padding */
    .woocommerce ul.products li.product {
        padding: 15px;
        /* Reduced for tighter design */
        border-radius: 25px;
    }

    /* Natural image sizing - fills container without forced height */
    .woocommerce ul.products li.product a img {
        height: auto !important;
        /* Natural aspect ratio */
        max-height: 400px;
        /* Prevent excessively tall images */
        width: 100%;
        /* Fill container width */
        object-fit: cover;
        /* Fill space while maintaining aspect */
        margin-bottom: 8px;
        /* Minimal gap to text */
    }

    /* Minimal typography spacing */
    .woocommerce ul.products li.product .woocommerce-loop-product__title {
        font-size: 1.25rem;
        padding: 5px 0 3px;
        /* Tight spacing */
        margin-top: 0;
    }

    .woocommerce ul.products li.product .price {
        font-size: 1.3rem;
        margin-bottom: 10px;
        /* Minimal gap to button */
        margin-top: 0;
    }

    /* Thumb-friendly button */
    .woocommerce ul.products li.product .button {
        padding: 16px 32px !important;
        font-size: 1rem !important;
        width: 100%;
        /* Full width for easy tapping */
        margin-top: 8px;
        /* Minimal gap from price */
    }

    /* Hero title adjustment */
    .woocommerce-products-header__title.page-title {
        font-size: 2.5rem;
    }
}

/* Extra small devices - maintain premium feel */
@media (max-width: 480px) {
    .woocommerce ul.products {
        padding: 0 15px;
        gap: 20px;
    }

    .woocommerce ul.products li.product a img {
        height: 320px;
        /* Slightly smaller for very small screens */
    }
}

/* =========================================
   SINGLE PRODUCT PAGE - PREMIUM LAYERED DESIGN
   ========================================= */

/* 1. Header → Product Separation */
.single-product .site-content {
    padding-top: 40px;
    /* Visual break from header */
}

/* 2. Page Container - Cream Background Layer */
.single-product .product {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px 60px;
}

/* 3. Premium Product Container - Unified White Card */
.single-product div.product .summary-wrapper,
.single-product div.product>.woocommerce-product-gallery,
.single-product div.product>.summary {
    background: transparent;
    /* Reset individual backgrounds */
    box-shadow: none;
    border-radius: 0;
}

/* Create unified container wrapper via pseudo-element */
.single-product div.product {
    position: relative;
    background: var(--white);
    border-radius: 25px;
    padding: 50px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    margin-bottom: 60px;
}

/* 4. Product Image Area Enhancement */
.single-product div.product .woocommerce-product-gallery {
    padding: 0;
    margin-bottom: 0;
}

.single-product div.product .woocommerce-product-gallery__image img {
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
}

/* 5. Product Summary - Enhanced Hierarchy */
.single-product div.product .summary {
    padding: 0;
    padding-left: 40px;
    /* Spacing from image */
}

/* Category - Muted & Small */
.single-product .product_meta {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    order: -1;
    /* Move to top */
}

.single-product .posted_in {
    font-size: 0.85rem;
    color: var(--gold-accent);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

/* Product Title - Strong & Elegant */
.single-product .product_title {
    font-family: var(--font-heading);
    font-size: 2.4rem;
    color: var(--primary-green);
    margin-top: 0;
    margin-bottom: 20px;
    line-height: 1.25;
    font-weight: 700;
}

/* Price - Clear & Calm */
.single-product .price {
    font-size: 2.2rem;
    color: var(--primary-green);
    font-weight: 700;
    margin-bottom: 30px;
    display: block;
}

.single-product .price del {
    color: #999;
    opacity: 0.7;
    font-size: 1.6rem;
    margin-right: 12px;
}

/* Short Description - Readable */
.single-product .woocommerce-product-details__short-description {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 35px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

/* Add to Cart Area - Strong CTA */
.single-product form.cart {
    background: rgba(15, 61, 46, 0.03);
    padding: 28px;
    border-radius: 18px;
    margin-bottom: 30px;
    border: 1px solid rgba(15, 61, 46, 0.08);
}

.single-product .quantity {
    margin-right: 15px;
}

.single-product .quantity input {
    padding: 14px;
    border-radius: 10px;
    border: 1px solid #ddd;
    font-size: 1.05rem;
    width: 85px;
}

.single-product button.single_add_to_cart_button {
    background: var(--primary-green) !important;
    color: var(--white) !important;
    padding: 18px 45px !important;
    border-radius: 50px !important;
    font-weight: 600;
    font-size: 1.15rem;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 4px 15px rgba(15, 61, 46, 0.2);
}

.single-product button.single_add_to_cart_button:hover {
    background: var(--gold-accent) !important;
    color: var(--primary-green) !important;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(201, 162, 77, 0.35);
}

/* 6. Description & Tabs Section - Premium Content Card */
.single-product .woocommerce-tabs {
    max-width: 1200px;
    margin: 100px auto 0;
    /* Increased separation from product */
    padding: 0 40px;
}

/* Tabs wrapper - Full white card */
.single-product .woocommerce-tabs .wc-tabs-wrapper {
    background: var(--white);
    border-radius: 25px;
    padding: 0;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    /* Match product card */
    overflow: hidden;
}

/* Tab Navigation */
.single-product .woocommerce-tabs ul.tabs {
    background: rgba(15, 61, 46, 0.03);
    border-bottom: 2px solid rgba(15, 61, 46, 0.1);
    padding: 25px 50px 0;
    /* Generous padding */
    margin: 0;
    display: flex;
    gap: 12px;
}

.single-product .woocommerce-tabs ul.tabs li {
    background: transparent;
    border: none;
    margin: 0;
    padding: 0;
}

.single-product .woocommerce-tabs ul.tabs li a {
    display: block;
    padding: 14px 28px;
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 600;
    color: #666;
    border-radius: 12px 12px 0 0;
    transition: all 0.3s ease;
    text-decoration: none;
}

.single-product .woocommerce-tabs ul.tabs li.active a {
    background: var(--white);
    color: var(--primary-green);
    border-bottom: 3px solid var(--gold-accent);
}

.single-product .woocommerce-tabs ul.tabs li a:hover {
    color: var(--primary-green);
    background: rgba(255, 255, 255, 0.5);
}

/* Tab Content Panel - Generous Padding */
.single-product .woocommerce-tabs .panel {
    background: var(--white);
    border-radius: 0;
    padding: 50px;
    /* Increased from 45px */
    margin: 0;
}

.single-product .woocommerce-tabs .panel h2 {
    font-family: var(--font-heading);
    color: var(--primary-green);
    font-size: 1.9rem;
    margin-top: 0;
    margin-bottom: 28px;
}

.single-product .woocommerce-tabs .panel p {
    font-size: 1.05rem;
    line-height: 1.85;
    color: #555;
    margin-bottom: 22px;
}

/* 7. Related Products Section - Clear Integration */
.single-product .related.products {
    max-width: 1400px;
    margin: 120px auto 80px;
    /* Increased top spacing */
    padding: 0 40px;
}


.single-product .related.products h2 {
    font-family: var(--font-heading);
    color: var(--primary-green);
    font-size: 2rem;
    text-align: center;
    margin-bottom: 50px;
    /* Increased spacing before grid */
    padding-top: 20px;
    /* Additional breathing space */
}

.single-product .related.products ul.products {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

/* Mobile Optimizations - Layered Design */
@media (max-width: 768px) {
    .single-product .site-content {
        padding-top: 25px;
        /* Reduced header separation on mobile */
    }

    .single-product .product {
        padding: 0 20px 40px;
    }

    .single-product div.product {
        padding: 30px 25px;
        /* Reduced from 50px */
        margin-bottom: 40px;
    }

    .single-product div.product .summary {
        padding-left: 0;
        /* Remove left padding on mobile */
        padding-top: 25px;
        /* Add top padding when stacked */
    }

    .single-product .product_title {
        font-size: 2rem;
    }

    .single-product .price {
        font-size: 1.8rem;
    }

    .single-product form.cart {
        padding: 22px;
    }

    .single-product button.single_add_to_cart_button {
        width: 100%;
        padding: 18px 32px !important;
    }

    .single-product .woocommerce-tabs {
        padding: 0 20px;
        margin-top: 60px;
        /* Reduced from 100px */
    }

    .single-product .woocommerce-tabs ul.tabs {
        padding: 20px 25px 0;
        /* Reduced from 25px 50px */
        flex-wrap: wrap;
    }

    .single-product .woocommerce-tabs ul.tabs li a {
        padding: 12px 20px;
        /* Slightly larger for touch */
        font-size: 0.95rem;
    }

    .single-product .woocommerce-tabs .panel {
        padding: 35px 25px;
        /* Reduced from 50px */
    }

    .single-product .woocommerce-tabs .panel h2 {
        font-size: 1.6rem;
    }

    .single-product .woocommerce-tabs .panel p {
        font-size: 1rem;
    }

    .single-product .related.products {
        padding: 0 20px;
        margin-top: 70px;
        /* Reduced from 120px */
        margin-bottom: 50px;
    }

    .single-product .related.products h2 {
        font-size: 1.7rem;
        margin-bottom: 35px;
    }

    .single-product .related.products ul.products {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* =========================================
   WOOCOMMERCE "ADDED TO CART" NOTICE
   ========================================= */

/* Container - Calm Confirmation Banner */
.woocommerce-message,
.woocommerce-info {
    background: var(--white) !important;
    border: none !important;
    border-radius: 18px !important;
    padding: 20px 30px !important;
    margin-bottom: 30px !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: wrap !important;
    gap: 15px !important;
}

/* Remove default icon */
.woocommerce-message::before,
.woocommerce-info::before {
    display: none !important;
}

/* Message Typography - Calm & Readable */
.woocommerce-message,
.woocommerce-info {
    color: var(--primary-green) !important;
    font-family: var(--font-body) !important;
    font-size: 1.05rem !important;
    font-weight: 500 !important;
    line-height: 1.6 !important;
}

/* View Cart Button - Premium Pill Style */
.woocommerce-message a.button,
.woocommerce-info a.button {
    background: var(--primary-green) !important;
    color: var(--white) !important;
    padding: 12px 28px !important;
    border-radius: 50px !important;
    font-weight: 600 !important;
    font-size: 0.95rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.8px !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
    border: none !important;
    box-shadow: 0 3px 12px rgba(15, 61, 46, 0.2) !important;
    margin-left: auto !important;
}

.woocommerce-message a.button:hover,
.woocommerce-info a.button:hover {
    background: var(--gold-accent) !important;
    color: var(--primary-green) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(201, 162, 77, 0.3) !important;
}

/* Mobile - Stack Vertically */
@media (max-width: 768px) {

    .woocommerce-message,
    .woocommerce-info {
        flex-direction: column !important;
        align-items: stretch !important;
        text-align: center !important;
        padding: 20px !important;
    }

    .woocommerce-message a.button,
    .woocommerce-info a.button {
        width: 100% !important;
        margin-left: 0 !important;
        margin-top: 10px !important;
        padding: 14px 28px !important;
    }
}

/* =========================================
   WOOCOMMERCE CART PAGE - PREMIUM CARD LAYOUT
   ========================================= */

/* Page Container - Cream Background */
body.woocommerce-cart {
    background: #f9f7f4 !important;
}

body.woocommerce-cart .woocommerce {
    max-width: 1400px !important;
    margin: 0 auto !important;
    padding: 60px 40px !important;
}

/* Mobile: Add proper side margins */
/* Mobile: Add proper side margins */
/* Mobile: Add proper side margins */
/* Mobile: Add proper side margins */
/* Mobile: Add proper side margins */
@media (max-width: 992px) {

    /* 1. Single Authority for Padding */
    body.woocommerce-cart .woocommerce {
        padding: 24px 20px !important;
        box-sizing: border-box !important;
        width: 100% !important;
    }

    /* 2. Remove padding from inner elements */
    body.woocommerce-cart #primary,
    body.woocommerce-cart form.woocommerce-cart-form,
    body.woocommerce-cart .woocommerce-cart-form__contents,
    body.woocommerce-cart table.shop_table,
    body.woocommerce-cart tbody,
    body.woocommerce-cart tr,
    body.woocommerce-cart td,
    body.woocommerce-cart .cart-collaterals {
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    /* 3. Fix Flex/Table Conflict */
    body.woocommerce-cart tr.cart_item {
        width: 100% !important;
        box-sizing: border-box !important;
        margin-bottom: 20px !important;
        /* Spacing between cards */
    }
}

/* Cart Page Title - Premium Section Header */
body.woocommerce-cart .entry-header {
    max-width: 1400px !important;
    margin: 0 auto 50px !important;
    padding: 40px 40px 0 !important;
    text-align: left !important;
}

body.woocommerce-cart .entry-title {
    font-family: var(--font-heading) !important;
    font-size: 2.5rem !important;
    color: var(--primary-green) !important;
    margin-bottom: 20px !important;
    font-weight: 700 !important;
    letter-spacing: 0.5px !important;
}

/* Decorative Divider Below Title */
body.woocommerce-cart .entry-header::after {
    content: '' !important;
    display: block !important;
    width: 80px !important;
    height: 3px !important;
    background: var(--gold-accent) !important;
    margin: 20px 0 0 !important;
    border-radius: 2px !important;
}

/* Mobile: Match container padding */
@media (max-width: 992px) {
    body.woocommerce-cart .entry-header {
        padding: 40px 0 0 !important;
        /* Side padding handled by #primary */
    }

    body.woocommerce-cart .entry-title {
        font-size: 2rem !important;
    }
}

/* Two-Column Layout: Cart Items (Left) + Totals (Right) */
body.woocommerce-cart form.woocommerce-cart-form {
    width: 68% !important;
    float: left !important;
    padding-right: 30px !important;
}

body.woocommerce-cart .cart-collaterals {
    width: 32% !important;
    float: right !important;
    margin-top: 0 !important;
}

/* Mobile: Stack and add proper margins */
@media (max-width: 992px) {
    body.woocommerce-cart form.woocommerce-cart-form {
        width: 100% !important;
        float: none !important;
        padding-right: 0 !important;
        padding-left: 0 !important;
    }

    body.woocommerce-cart .cart-collaterals {
        width: 100% !important;
        float: none !important;
    }
}

/* Cart Table - Remove Default Styling */
body.woocommerce-cart table.shop_table {
    border: none !important;
    border-collapse: collapse !important;
}

body.woocommerce-cart table.shop_table thead {
    display: none !important;
}

body.woocommerce-cart table.shop_table tbody {
    display: block !important;
}

/* Each Cart Item = Compact Card */
body.woocommerce-cart table.shop_table tbody tr.cart_item {
    display: flex !important;
    align-items: center !important;
    background: var(--white) !important;
    border-radius: 15px !important;
    padding: 20px !important;
    margin-bottom: 15px !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04) !important;
    border: none !important;
}

body.woocommerce-cart table.shop_table tbody tr td {
    border: none !important;
    padding: 0 !important;
    display: block !important;
}

/* Product Remove - First, Subtle */
body.woocommerce-cart .product-remove {
    width: 30px !important;
    margin-right: 15px !important;
}

body.woocommerce-cart .product-remove a {
    color: #ccc !important;
    font-size: 1.2rem !important;
    text-decoration: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 30px !important;
    height: 30px !important;
    border-radius: 50% !important;
    background: rgba(0, 0, 0, 0.02) !important;
    transition: all 0.3s ease !important;
}

body.woocommerce-cart .product-remove a:hover {
    color: var(--primary-green) !important;
    background: rgba(15, 61, 46, 0.06) !important;
}

/* Product Image - Thumbnail Size */
body.woocommerce-cart .product-thumbnail {
    width: 100px !important;
    margin-right: 20px !important;
    flex-shrink: 0 !important;
}

body.woocommerce-cart .product-thumbnail img {
    width: 100px !important;
    height: 100px !important;
    object-fit: cover !important;
    border-radius: 12px !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06) !important;
}

/* Product Details - Flexible */
body.woocommerce-cart .product-name {
    flex: 1 !important;
    margin-right: 20px !important;
}

body.woocommerce-cart .product-name a {
    font-family: var(--font-heading) !important;
    font-size: 1.1rem !important;
    font-weight: 600 !important;
    color: var(--primary-green) !important;
    text-decoration: none !important;
    line-height: 1.4 !important;
    display: block !important;
    margin-bottom: 5px !important;
}

body.woocommerce-cart .product-name a:hover {
    color: var(--gold-accent) !important;
}

/* Product Price */
body.woocommerce-cart .product-price {
    width: 90px !important;
    text-align: right !important;
    margin-right: 20px !important;
    font-size: 1.05rem !important;
    font-weight: 600 !important;
    color: var(--gold-accent) !important;
}

/* Quantity - Compact */
body.woocommerce-cart .product-quantity {
    width: 80px !important;
    margin-right: 20px !important;
}

body.woocommerce-cart .product-quantity input.qty {
    width: 60px !important;
    padding: 8px !important;
    border: 1px solid #ddd !important;
    border-radius: 8px !important;
    text-align: center !important;
    font-size: 0.95rem !important;
    font-weight: 600 !important;
}

/* Product Subtotal */
body.woocommerce-cart .product-subtotal {
    width: 100px !important;
    text-align: right !important;
    font-size: 1.15rem !important;
    font-weight: 700 !important;
    color: var(--primary-green) !important;
}

/* Product Image */
.woocommerce-cart table.cart .product-thumbnail img {
    border-radius: 15px !important;
    width: 100% !important;
    height: auto !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08) !important;
}

/* Product Name & Details */
.woocommerce-cart table.cart .product-name {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.woocommerce-cart table.cart .product-name a {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--primary-green);
    text-decoration: none;
    line-height: 1.4;
}

.woocommerce-cart table.cart .product-name a:hover {
    color: var(--gold-accent);
}

/* Product Price */
.woocommerce-cart table.cart .product-price {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-green);
}

/* Quantity Controls - Rounded & Calm */
.woocommerce-cart table.cart .quantity {
    display: flex;
    align-items: center;
}

.woocommerce-cart table.cart .quantity input {
    width: 70px;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 10px;
    text-align: center;
    font-size: 1rem;
    font-weight: 600;
}

/* Product Subtotal */
.woocommerce-cart table.cart .product-subtotal {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-green);
}

/* Remove Button - Soft & Non-Aggressive */
.woocommerce-cart table.cart .product-remove a {
    color: #999 !important;
    font-size: 1.3rem;
    text-decoration: none;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.03);
}

.woocommerce-cart table.cart .product-remove a:hover {
    color: var(--primary-green) !important;
    background: rgba(15, 61, 46, 0.08);
}

/* Cart Actions (Update Cart Button) */
.woocommerce-cart .actions {
    background: transparent;
    padding: 20px 0;
    border: none;
}

.woocommerce-cart .actions button[name="update_cart"] {
    background: var(--primary-green) !important;
    color: var(--white) !important;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.woocommerce-cart .actions button[name="update_cart"]:hover {
    background: var(--gold-accent) !important;
    color: var(--primary-green) !important;
    transform: translateY(-2px);
}

/* Cart Summary - Fix Float Conflict */
body.woocommerce-cart .cart-collaterals {
    display: flex !important;
    justify-content: flex-end !important;
    margin-top: 40px !important;
}

body.woocommerce-cart .cart_totals {
    float: none !important;
    background: var(--white) !important;
    border-radius: 25px !important;
    padding: 40px !important;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08) !important;
    width: 100% !important;
    max-width: 450px !important;
    border: none !important;
}

/* Restore table display for totals table */
body.woocommerce-cart .cart_totals table {
    display: table !important;
    border: none !important;
}

body.woocommerce-cart .cart_totals tr {
    display: table-row !important;
}

body.woocommerce-cart .cart_totals th,
body.woocommerce-cart .cart_totals td {
    display: table-cell !important;
}

.woocommerce-cart .cart_totals h2 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--primary-green);
    margin-top: 0;
    margin-bottom: 25px;
    text-align: center;
}

.woocommerce-cart .cart_totals table {
    border: none;
}

.woocommerce-cart .cart_totals th,
.woocommerce-cart .cart_totals td {
    border: none;
    padding: 12px 0;
    font-size: 1.05rem;
}

.woocommerce-cart .cart_totals th {
    font-weight: 500;
    color: #666;
}

.woocommerce-cart .cart_totals td {
    text-align: right;
    font-weight: 600;
    color: var(--primary-green);
}

/* Order Total - Emphasized */
.woocommerce-cart .cart_totals .order-total th {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-green);
    padding-top: 20px;
    border-top: 2px solid rgba(15, 61, 46, 0.1);
}

.woocommerce-cart .cart_totals .order-total td {
    font-size: 1.5rem;
    font-weight: 700;
    padding-top: 20px;
}

/* Proceed to Checkout Button */
.woocommerce-cart .wc-proceed-to-checkout a {
    background: var(--primary-green) !important;
    color: var(--white) !important;
    padding: 18px 40px !important;
    border-radius: 50px !important;
    font-weight: 600 !important;
    font-size: 1.15rem !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    text-align: center !important;
    display: block !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 15px rgba(15, 61, 46, 0.2) !important;
    margin-top: 25px !important;
}

.woocommerce-cart .wc-proceed-to-checkout a:hover {
    background: var(--gold-accent) !important;
    color: var(--primary-green) !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 25px rgba(201, 162, 77, 0.35) !important;
}

/* Mobile Optimizations */
@media (max-width: 768px) {
    .woocommerce-cart .woocommerce {
        padding: 30px 20px;
    }

    /* Stack Cart Items Vertically */
    .woocommerce-cart table.cart tbody tr {
        grid-template-columns: 1fr;
        grid-template-areas:
            "image"
            "name"
            "price"
            "quantity"
            "subtotal"
            "remove";
        gap: 15px;
        padding: 20px;
        text-align: center;
    }

    .woocommerce-cart table.cart .product-thumbnail {
        grid-area: image;
        max-width: 200px;
        margin: 0 auto;
    }

    .woocommerce-cart table.cart .product-name {
        grid-area: name;
    }

    .woocommerce-cart table.cart .product-price {
        grid-area: price;
    }

    .woocommerce-cart table.cart .quantity {
        grid-area: quantity;
        justify-content: center;
    }

    .woocommerce-cart table.cart .product-subtotal {
        grid-area: subtotal;
    }

    .woocommerce-cart table.cart .product-remove {
        grid-area: remove;
        text-align: center;
    }

    /* Cart Summary - Full Width on Mobile */
    .woocommerce-cart .cart_totals {
        float: none;
        max-width: 100%;
        padding: 30px 20px;
        margin-top: 30px;
    }

    .woocommerce-cart .wc-proceed-to-checkout a {
        padding: 16px 32px !important;
    }
}



/* Transparent Overlay Header for Shop/Archive Pages (Matches Homepage) */
.post-type-archive-product .custom-global-header,
.woocommerce-shop .custom-global-header,
.tax-product_cat .custom-global-header {
    background-color: transparent !important;
    border-bottom: none !important;
    position: relative;
    z-index: 100;
}

/* ✅ Lock Logo Size Globally & Consistently */
.site-header .custom-logo {
    height: 90px !important;
    width: auto !important;
    max-width: none !important;
}

/* ✅ Mobile Header Logo Consistency (ALL WooCommerce Pages) */
@media (max-width: 992px) {

    .post-type-archive-product .mobile-logo,
    .woocommerce-shop .mobile-logo,
    .tax-product_cat .mobile-logo,
    .single-product .mobile-logo,
    .post-type-archive-product .site-header .custom-logo,
    .woocommerce-shop .site-header .custom-logo,
    .tax-product_cat .site-header .custom-logo,
    .single-product .site-header .custom-logo {
        height: 40px !important;
        /* Match homepage mobile logo */
        width: auto !important;
    }

    /* Ensure mobile header height consistency */
    .post-type-archive-product .mobile-header-bar,
    .woocommerce-shop .mobile-header-bar,
    .tax-product_cat .mobile-header-bar,
    .single-product .mobile-header-bar {
        height: 60px !important;
        padding: 10px 20px !important;
    }
}


/* Keep Compact Footer - ALL WooCommerce Pages */
.post-type-archive-product .site-footer .footer-logo,
.woocommerce-shop .site-footer .footer-logo,
.tax-product_cat .site-footer .footer-logo,
.single-product .site-footer .footer-logo {
    max-width: 120px !important;
}

.post-type-archive-product .footer-main,
.woocommerce-shop .footer-main,
.tax-product_cat .footer-main,
.single-product .footer-main {
    padding: 40px 0 !important;
}

/* =========================================
   FIX SHOP CONTENT GOING UNDER HEADER
   ========================================= */

.post-type-archive-product .astra-child-shop-archive,
.woocommerce-shop .astra-child-shop-archive,
.tax-product_cat .astra-child-shop-archive {
    padding-top: 0 !important;
    /* FIXED: Removed 120px gap */
}

/* REMOVE GAP BELOW HEADER ON SHOP */
.post-type-archive-product .woocommerce-products-header,
.woocommerce-shop .woocommerce-products-header,
.tax-product_cat .woocommerce-products-header {
    margin-top: 0 !important;
    margin-bottom: 40px !important;
    /* keep only bottom spacing */
}

/* Neutralize WooCommerce Spacing Conflicts - REPLACED WITH SAFE VERSION */
.woocommerce-page .site-content {
    position: relative;
    z-index: 1;
}

.woocommerce-page #primary,
.post-type-archive-product #primary,
.tax-product_cat #primary {
    margin-top: 0 !important;
}

/* Ensure Hero sits at the very top */
.woocommerce-products-header {
    margin-top: -1px;
    /* overlapping fix */
    border-radius: 0 0 50px 50px;
    position: relative;
    z-index: 10;
    /* Reverting excessive padding now that internal overlap is gone, but keeping some for look */
    padding-top: 100px !important;
    padding-bottom: 120px !important;
}

/* Hide default breadcrumbs as they clash with absolute header */
.woocommerce-breadcrumb {
    display: none !important;
}

/* FULL WIDTH SHOP HERO – NO RADIUS */
.woocommerce-products-header,
.woocommerce-products-header::before {
    border-radius: 0 !important;
}

/* SHOP TOOLBAR ALIGNMENT (Legacy Float Neutralization) */
.woocommerce-before-shop-loop {
    width: 100% !important;
    /* Force fill container */
    max-width: 1400px;
    margin: 0 auto 30px !important;
    padding: 0 40px !important;
    /* Match product grid edges exact */
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

/* 1. KILL PSEUDO INTERFERENCE (Crucial) */
.woocommerce-before-shop-loop::before,
.woocommerce-before-shop-loop::after {
    display: none !important;
    content: none !important;
}

/* 2. NEUTRALIZE LEGACY FLOATS (Crucial) */
.woocommerce-result-count,
.woocommerce-ordering {
    float: none !important;
    margin: 0 !important;
    width: auto !important;
    /* Prevent full width takeover */
}

/* Typography + Spacing */
.woocommerce-result-count {
    font-size: 0.95rem;
    color: #555;
    text-align: left;
}

.woocommerce-ordering select {
    padding: 10px 14px;
    border-radius: 6px;
    border: 1px solid #ddd;
    font-size: 0.9rem;
    outline: none;
    background: white;
}

/* Mobile Toolbar - Stack and Center */
@media (max-width: 768px) {
    .woocommerce-before-shop-loop {
        flex-direction: column;
        gap: 20px;
        /* Increased spacing for clarity */
        text-align: center;
        padding: 20px 20px 30px !important;
        /* Added vertical padding */
        align-items: stretch;
        /* Allow children to expand */
    }

    /* Result count - centered, clear spacing */
    .woocommerce-result-count {
        text-align: center;
        font-size: 0.9rem;
        color: #666;
        margin: 0 !important;
        padding-bottom: 5px;
    }

    /* Sorting dropdown - full width, easy to tap */
    .woocommerce-ordering {
        width: 100% !important;
        margin: 0 !important;
    }

    .woocommerce-ordering select {
        width: 100%;
        padding: 12px 16px;
        /* Larger tap target */
        font-size: 0.95rem;
        border-radius: 8px;
        border: 1px solid #ddd;
        background: white;
        text-align: center;
        appearance: none;
        /* Remove default arrow */
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: right 12px center;
        padding-right: 36px;
        /* Space for custom arrow */
    }
}

/* =========================================
   CATEGORY CHIPS FILTER UI
   ========================================= */

/* Wrapper - Full width background */
.category-chips-wrapper {
    width: 100%;
    background: transparent;
    padding: 30px 0 20px;
    margin-bottom: 20px;
}

/* Container - Constrained width matching product grid */
.category-chips-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    flex-wrap: wrap;
    /* Desktop: wrap to multiple rows */
    gap: 12px;
    justify-content: center;
    /* Center aligned */
    align-items: center;
}

/* Individual Chip Styling */
.category-chip {
    display: inline-block;
    padding: 10px 24px;
    background-color: var(--primary-green);
    color: var(--white);
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    border-radius: 50px;
    /* Pill shape */
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(15, 61, 46, 0.15);
    white-space: nowrap;
}

/* Hover State */
.category-chip:hover {
    background-color: var(--gold-accent);
    color: var(--primary-green);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(201, 162, 77, 0.3);
}

/* Active State */
.category-chip.active {
    background-color: var(--gold-accent);
    color: var(--primary-green);
    box-shadow: 0 0 0 2px var(--gold-accent), 0 4px 12px rgba(201, 162, 77, 0.3);
}

/* Mobile Behavior - Horizontal Scroll */
@media (max-width: 768px) {
    .category-chips-wrapper {
        padding: 20px 0 15px;
        margin-bottom: 15px;
    }

    .category-chips-container {
        padding: 0 20px;
        flex-wrap: nowrap;
        /* No wrapping on mobile */
        justify-content: flex-start;
        /* Left align for scroll */
        overflow-x: auto;
        /* Enable horizontal scroll */
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        /* Smooth scroll on iOS */
        scrollbar-width: none;
        /* Hide scrollbar Firefox */
        -ms-overflow-style: none;
        /* Hide scrollbar IE/Edge */
    }

    /* Hide scrollbar Webkit */
    .category-chips-container::-webkit-scrollbar {
        display: none;
    }

    /* Slightly smaller chips on mobile */
    .category-chip {
        padding: 8px 20px;
        font-size: 0.9rem;
    }
}

/* =========================================
   WOOCOMMERCE CHECKOUT PAGE TITLE
   ========================================= */

/* Checkout Page Container */
body.woocommerce-checkout .woocommerce {
    max-width: 1400px !important;
    margin: 0 auto !important;
    padding: 60px 40px !important;
}

/* Mobile: Add proper side margins */
/* Mobile: Add proper side margins */
/* Mobile: Add proper side margins */
/* Mobile: Add proper side margins */
@media (max-width: 992px) {

    /* 1. Single Authority for Padding */
    body.woocommerce-checkout .woocommerce,
    body.woocommerce-cart .woocommerce {
        padding: 20px 10px !important;
        box-sizing: border-box !important;
        width: 100% !important;
    }

    /* 2. Remove padding from inner elements */
    body.woocommerce-checkout #primary,
    body.woocommerce-checkout form.woocommerce-checkout,
    body.woocommerce-checkout .woocommerce-checkout-review-order,
    body.woocommerce-checkout .woocommerce-billing-fields,
    body.woocommerce-checkout .woocommerce-shipping-fields,
    body.woocommerce-checkout table.shop_table,
    body.woocommerce-checkout tbody,
    body.woocommerce-checkout tr,
    body.woocommerce-checkout td,
    body.woocommerce-checkout #order_review_heading {
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
}

/* Checkout Page Title - Match Cart/Shop Layout */
body.woocommerce-checkout .entry-header {
    max-width: 1400px !important;
    margin: 0 auto 50px !important;
    padding: 40px 40px 0 !important;
    text-align: left !important;
}

body.woocommerce-checkout .entry-title {
    font-family: var(--font-heading) !important;
    font-size: 2.5rem !important;
    color: var(--primary-green) !important;
    margin-bottom: 20px !important;
    font-weight: 700 !important;
    letter-spacing: 0.5px !important;
}

/* Decorative Divider Below Title */
body.woocommerce-checkout .entry-header::after {
    content: '' !important;
    display: block !important;
    width: 80px !important;
    height: 3px !important;
    background: var(--gold-accent) !important;
    margin: 20px 0 0 !important;
    border-radius: 2px !important;
}

/* Mobile: Match container padding */
@media (max-width: 992px) {
    body.woocommerce-checkout .entry-header {
        padding: 40px 20px 0 !important;
    }

    body.woocommerce-checkout .entry-title {
        font-size: 2rem !important;
    }
}

/* =========================================
   CART & CHECKOUT: HEADER/FOOTER CONSISTENCY FIX
   ========================================= */

/* Lock Header Logo Size Globally - Desktop */
body.woocommerce-cart .site-header .custom-logo,
body.woocommerce-checkout .site-header .custom-logo,
body.woocommerce-cart .custom-global-header .logo img,
body.woocommerce-checkout .custom-global-header .logo img {
    height: 90px !important;
    width: auto !important;
}

/* Lock Header Logo Size - Mobile */
@media (max-width: 992px) {

    body.woocommerce-cart .mobile-logo,
    body.woocommerce-checkout .mobile-logo,
    body.woocommerce-cart .site-header .custom-logo,
    body.woocommerce-checkout .site-header .custom-logo,
    body.woocommerce-cart .custom-global-header .logo img,
    body.woocommerce-checkout .custom-global-header .logo img {
        height: 40px !important;
        width: auto !important;
    }

    /* Lock Mobile Header Height */
    body.woocommerce-cart .mobile-header-bar,
    body.woocommerce-checkout .mobile-header-bar,
    body.woocommerce-cart .site-header,
    body.woocommerce-checkout .site-header {
        height: 60px !important;
        padding: 10px 20px !important;
    }
}

@media (min-width: 993px) {

    /* Lock Header Row Padding - Desktop */
    body.woocommerce-cart .custom-global-header .header-row,
    body.woocommerce-checkout .custom-global-header .header-row {
        padding: 15px 40px !important;
    }
}

/* Lock Footer Logo Size */
body.woocommerce-cart .site-footer .footer-logo,
body.woocommerce-checkout .site-footer .footer-logo {
    max-width: 120px !important;
}

/* Lock Footer Padding */
body.woocommerce-cart .footer-main,
body.woocommerce-checkout .footer-main {
    padding: 40px 0 !important;
}

/* Ensure Footer Grid Consistency */
body.woocommerce-cart .footer-grid,
body.woocommerce-checkout .footer-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 40px !important;
}

@media (max-width: 768px) {

    body.woocommerce-cart .footer-grid,
    body.woocommerce-checkout .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }
}

/* Remove Any WooCommerce Header Overrides */
@media (min-width: 993px) {

    body.woocommerce-cart .site-header,
    body.woocommerce-checkout .site-header {
        background: transparent !important;
        position: relative !important;
    }
}

@media (max-width: 992px) {

    body.woocommerce-cart .site-header,
    body.woocommerce-checkout .site-header {
        position: sticky !important;
        top: 0 !important;
        z-index: 1000 !important;
        width: 100% !important;
    }
}

/* Ensure Header Container Width Matches */
body.woocommerce-cart .custom-global-header .header-container,
body.woocommerce-checkout .custom-global-header .header-container {
    max-width: 1400px !important;
    margin: 0 auto !important;
}

/* =========================================
   HEADER DROPDOWN MENU
   ========================================= */
.main-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
}

.main-navigation ul li {
    position: relative;
    /* For dropdown positioning */
}

/* DESKTOP Dropdown Container (> 992px) */
@media (min-width: 992px) {
    .main-navigation ul li .sub-menu {
        display: none;
        /* Hidden by default */
        position: absolute;
        top: 100%;
        left: 0;
        background: #fff;
        min-width: 180px;
        /* Snug width */
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        border-radius: 6px;
        padding: 5px 0;
        /* Reduced padding */
        z-index: 999;
        flex-direction: column;
        align-items: flex-start;
        border: 1px solid rgba(0, 0, 0, 0.05);
    }

    /* Show on Hover */
    .main-navigation ul li:hover>.sub-menu {
        display: flex;
        animation: fadeIn 0.2s ease-in-out;
    }

    /* Dropdown Items */
    .main-navigation ul li .sub-menu li {
        width: 100%;
        margin: 0;
    }

    .main-navigation ul li .sub-menu li a {
        display: block;
        padding: 8px 20px;
        /* Compact padding */
        color: #333;
        font-size: 0.9rem;
        line-height: 1.4;
        /* Balanced line height */
        white-space: nowrap;
        transition: all 0.2s ease;
    }

    .main-navigation ul li .sub-menu li a:hover {
        background: #f9f9f9;
        color: var(--primary-green, #1B4D3E);
    }
}

/* MOBILE Dropdown Fix (< 992px) */
@media (max-width: 992px) {
    .mobile-nav-list li.menu-item-has-children {
        flex-direction: column;
        align-items: flex-start;
    }

    .mobile-nav-list .sub-menu {
        position: static;
        box-shadow: none;
        border: none;
        padding-left: 15px;
        background: transparent;
        display: block;
        /* Always visible for simplicity on mobile, or toggle */
        width: 100%;
    }

    .mobile-nav-list .sub-menu li a {
        padding: 8px 0;
        font-size: 0.9rem;
        color: #555;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}