/* Font Imports */
@font-face {
    font-family: 'Bondia';
    src: url('../font/bondia-font/bondia-regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}
 
@font-face {
    font-family: 'Bondia';
    src: url('../font/bondia-font/bondia-medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Bondia';
    src: url('../font/bondia-font/bondia-semibold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: 'Bondia';
    src: url('../font/bondia-font/bondia-bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'Bondia';
    src: url('../font/bondia-font/bondia-extrabold.ttf') format('truetype');
    font-weight: 800;
    font-style: normal;
}

/* Reset and Base Styles */
:root {
    --primary-green: #677A38;
    --primary-green-hover:#5c6b38 ;
    --secondary-yellow: #DBAF2C;
    --secondary-yellow-hover: #C59B25;
    --text-dark: #2A2A2A;
    --text-light: #5A5A5A;
    --bg-color: #FFFFFF;
    --bg-gradient: #FFFFFF;
    --badge-bg: #F0F1EA;
    --badge-border: #BBC2A4;
    
    --badge-cust-bg: #677A38;
    --badge-prod-bg: #1A200B;
    --badge-rating-bg: #DBAF2C;
    
    --font-heading: 'Bondia', sans-serif;
    --font-body: 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background: var(--bg-gradient);
    background-attachment: fixed;
    color: var(--text-dark);
    line-height: 1.5;
    overflow-x: hidden;
    width: 100%;
    min-height: 100vh;
}

img, video, svg {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
    color: inherit;
}

/* Layout Containers */
.container {
    width: 100%;
    max-width: 1640px;
    margin: 0 auto;
    padding: 0 clamp(20px, 5vw, 60px);
}

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

/* Typography Fluidity */
h1, h2, h3 {
    font-family: var(--font-heading);
    line-height: 1.1;
    color: var(--primary-green);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: clamp(10px, 1.5vw, 14px) clamp(24px, 3vw, 32px);
    border-radius: 50px;
    font-weight: 600;
    font-size: clamp(0.9rem, 1.1vw, 1.125rem);
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary-green);
    color: #fff;
}

.btn-primary:hover {
    background-color: var(--secondary-yellow);
    transform: translateY(-2px);
    color: #fff;
}

.btn-secondary {
    background-color: var(--secondary-yellow);
    color: var(--text-dark);
}

.btn-secondary:hover {
    background-color: var(--secondary-yellow);
    color: #fff;
    transform: translateY(-2px);
}

.btn-icon {
    gap: 8px;
}

.btn-icon svg {
    margin-top: 2px;
}

/* -------------------------------------
   Announcement Marquee
-------------------------------------- */
.announcement-marquee {
    background: var(--primary-green);
    color: #fff;
    padding: 12px 0;
    overflow: hidden;
    display: flex;
    margin-bottom: clamp(0px, 2vw, 20px);
    user-select: none;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    position: relative;
    z-index: 5;
    width: 100%;
}

.marquee-content {
    display: flex;
    flex-shrink: 0;
    min-width: 100%;
    animation: scroll-marquee 30s linear infinite;
}

.marquee-content span {
    display: flex;
    align-items: center;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    white-space: nowrap;
    padding: 0 40px;
}

.marquee-content span::after {
    content: '•';
    margin-left: 80px;
    opacity: 0.6;
}

@keyframes scroll-marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-100%); }
}



/* -------------------------------------
   Header / Navbar
-------------------------------------- */
.navbar-wrapper {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: var(--bg-color);
    width: 100%;
    transition: background-color 0.4s ease, box-shadow 0.4s ease, backdrop-filter 0.4s ease;
}


@media (min-width: 1024px) {
    .navbar-wrapper.scrolled {
        background-color: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        box-shadow: 0 4px 30px rgba(0,0,0,0.06);
    }
    
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: clamp(80px, 12vw, 120px);
    transition: height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 10;
    will-change: height;
}


@media (min-width: 1024px) {
    .navbar {
        height: clamp(100px, 12vw, 120px);
    }
    
    .navbar-wrapper.scrolled .navbar {
        height: clamp(80px, 10vw, 90px);
    }
}


.logo-img {
    width: auto;
    height: clamp(75px, 9vw, 100px);
    object-fit: contain;
    display: block;
    padding-bottom: 10px;
    transition: height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar-wrapper.scrolled .logo-img {
    height: clamp(70px, 8vw, 85px);
}

.navbar-wrapper.scrolled .announcement-marquee {
    margin-bottom: clamp(0px, 0vw, 0px);
    
}

.nav-links {
    display: none;
    gap: clamp(20px, 2.5vw, 40px);
    font-weight: 500;
    font-size: 1.05rem;
}

@media (max-width: 1023px) {
    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        width: 280px;
        background: #fff;
        padding: 100px 40px;
        box-shadow: -10px 0 30px rgba(0,0,0,0.1);
        z-index: 1000;
        gap: 24px;
    }
}


.nav-links a {
    display: flex;
    align-items: center;
    gap: 4px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar-wrapper.scrolled .nav-links a {
    font-size: 0.95rem;
}

.nav-links a.active {
    color: var(--primary-green);
}

.nav-links a:hover {
    color: var(--primary-green);
}

/* Mega Menu Styles */
.nav-links {
    position: relative;
}

.nav-item.has-dropdown {
    position: relative;
    padding: 10px 0;
}

.mega-menu {
    position: absolute;
    top: 100%;
    left: 0;
    transform: translateY(10px);
    background: #fff;
    backdrop-filter: blur(10px);
    width: 600px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid #f0f0f0;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1100;
    pointer-events: none;
}

.nav-item.has-dropdown:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

/* Chevron Rotation */
.nav-item.has-dropdown a svg {
    transition: transform 0.3s ease;
}

.nav-item.has-dropdown:hover a svg {
    transform: rotate(180deg);
}

/* Arrow indicator */
.mega-menu::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 24px;
    border-left: 12px solid transparent;
    border-right: 12px solid transparent;
    border-bottom: 12px solid #fff;
}

.mega-menu-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}

.mega-menu-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px;
    border-radius: 12px;
    transition: all 0.2s ease;
}

.mega-menu-item:hover {
    background: #f9f9f9;
    transform: translateX(4px);
}

.mega-menu-item .item-icon {
    width: 44px;
    height: 44px;
    background: #f4f5f0;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}

.mega-menu-item .item-icon img {
    width: 80%;
    height: 80%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.mega-menu-item:hover .item-icon img {
    transform: scale(1.1);
}

.mega-menu-item .item-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mega-menu-item .item-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-dark);
}

.mega-menu-item .item-subtitle {
    font-size: 0.75rem;
    color: #888;
}

.mega-menu-footer {
    display: flex;
    gap: 24px;
    padding-top: 16px;
    border-top: 1px solid #f0f0f0;
}

.mega-menu-footer .footer-link {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--primary-green);
    transition: all 0.3s ease;
    padding: 8px 12px;
    border-radius: 12px;
}

.mega-menu-footer .footer-link:hover {
    background: #f8f6f2;
    transform: translateX(5px);
}

.mega-menu-footer .footer-link:hover {
    color: var(--primary-green-hover);
    transform: translateX(5px);
}

.mega-menu-footer .footer-link svg {
    color: var(--primary-green);
}

@media (max-width: 1023px) {
    .mega-menu {
        display: none; /* Hide on mobile/tablet rail menu for now, or implement differently */
    }
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: clamp(6px, 0.5vw, 6px);
}

.icon-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: var(--text-dark);
    transition: color 0.3s ease;
}

.icon-btn:hover {
    color: var(--secondary-yellow);
}

.nav-btn {
    display: none;
}

.menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 48px;
    height: 48px;
    background-color: #f4f5f0 !important; /* Force background to stay */
    border: 1.5px solid #d1d3a5;
    border-radius: 50%;
    cursor: pointer;
    padding: 0;
    position: relative;
    z-index: 1100;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    outline: none !important;
    -webkit-tap-highlight-color: transparent;
}

.menu-toggle:hover {
    background-color: #edeee6;
    transform: scale(1.05);
}

.hamburger-line {
    display: block;
    height: 2px;
    background-color: #5C6226; /* Specific brand green */
    border-radius: 10px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform-origin: center;
}

.hamburger-line:nth-child(1) { width: 22px; }
.hamburger-line:nth-child(2) { width: 16px; }
.hamburger-line:nth-child(3) { width: 22px; }

/* Active State - Morph into a clean X with background change */
.menu-toggle.is-active {
    background-color: #ffffff !important;
    border-color: #5C6226;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.menu-toggle.is-active .hamburger-line {
    background-color: #5C6226;
    width: 22px;
}

.menu-toggle.is-active .hamburger-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-toggle.is-active .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: scale(0);
}

.menu-toggle.is-active .hamburger-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 1023px) {
    /* Removed scrolled height override to keep mobile header consistent */
}

/* -------------------------------------
   Hero Section
-------------------------------------- */
.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
    padding-top: clamp(60px, 10vw, 120px);
    padding-bottom: clamp(60px, 10vw, 120px);
}

@media (max-width: 1023px) {
    .hero {
        padding-top: clamp(80px, 15vw, 160px);
        padding-bottom: clamp(80px, 15vw, 160px);
        min-height: 90svh;
        justify-content: center;
    }
}

.hero-bg-picture {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.hero-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    max-width: 800px;
    position: relative;
}

.badge-tag {
    display: inline-block;
    padding: 8px 16px;
    background-color: var(--badge-bg);
    border: 1px solid var(--badge-border);
    border-radius: 30px;
    font-size: clamp(0.85rem, 1vw, 1rem);
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: clamp(16px, 2vw, 24px);
}

.hero-title {
    font-size: clamp(3.5rem, 6vw, 6.5rem);
    font-family:var(--font-heading);
    letter-spacing: 0.5px;
    font-weight: 800;
    line-height: 0.95;
    margin-bottom: clamp(16px, 2vw, 24px);
    color: var(--primary-green); /* Assuming the first line is green */
}

.hero-title .accent-color {
    color: #000000;
}

.hero-description {
    font-size: clamp(1rem, 1.3vw, 1.25rem);
    color: var(--text-dark);
    margin-bottom: clamp(24px, 4vw, 40px);
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.mobile-only-hero-img {
    display: none;
}

/* Hero Image Composition */
.hero-image-wrapper {
    flex: 1;
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-composition {
    position: relative;
    width: 100%;
    max-width: 550px;
    aspect-ratio: 1;
    background-color: #3A251D; /* Dark Brown from design */
    border-radius: 60px;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    padding-bottom: 20px;
}

.hero-main-img {
    height: 110%; /* Makes it pop out of the container */
    width: auto;
    object-fit: contain;
    z-index: 5;
    transform: translateY(-10%);
}

.hero-badge {
    position: absolute;
    padding: 12px 16px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    z-index: 10;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    min-width: 100px;
}

.badge-top-left {
    top: 15%;
    left: -10%;
    background-color: #677A38;
    color: #fff;
}

.badge-bottom-left {
    bottom: 20%;
    left: 0%;
    background-color: #1A1A1A;
    color: #fff;
}

.badge-right {
    top: 45%;
    right: -5%;
    background-color: #DBAF2C;
    color: #fff;
}

.badge-number {
    font-size: 1.5rem;
    font-weight: 700;
    font-family: var(--font-heading);
    line-height: 1;
}

.badge-text {
    font-size: 0.7rem;
    font-weight: 500;
    opacity: 0.9;
    text-transform: uppercase;
}

.hero-deco {
    position: absolute;
    z-index: 2;
    opacity: 0.2;
}

.deco-heart {
    top: 10%;
    right: 20%;
    width: 40px;
    height: 40px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="white"><path d="M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z"/></svg>') no-repeat center;
}

.deco-dots {
    bottom: 10%;
    left: 10%;
    width: 60px;
    height: 60px;
    background: radial-gradient(circle, #fff 2px, transparent 2px);
    background-size: 15px 15px;
}

@media (max-width: 768px) {
    .hero-composition {
        max-width: 320px;
        border-radius: 40px;
    }
    
    .hero-badge {
        padding: 8px 10px;
        min-width: 80px;
    }
    
    .badge-number {
        font-size: 1.1rem;
    }
    
    .badge-text {
        font-size: 0.6rem;
    }
    
    .badge-top-left {
        left: -5%;
    }
    
    .badge-right {
        right: -5%;
    }
}

/* Slider Dots */
.slider-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(103, 122, 56, 0.3); /* Primary green with low opacity */
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
    padding: 0;
}

.slider-dots .dot.active {
    background-color: var(--primary-green);
    transform: scale(1.3);
}

.hero-main-img-placeholder {
    width: 80%;
    aspect-ratio: 0.7;
    background-color: rgba(255, 255, 255, 0.8);
    border: 2px dashed #ccc;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-weight: 600;
    z-index: 2;
}

/* -------------------------------------
   Responsive Breakpoints
-------------------------------------- */

/* Large Mobile / Small Tablet */
@media (min-width: 600px) {
    .badge-customers { left: -10%; }
    .badge-products { left: -5%; }
    .badge-rating { right: -10%; }
}

/* Tablet */
@media (min-width: 768px) {
    .navbar {
        height: 100px;
    }
    .hero-title {
        br { display: none; } /* On wider screens, maybe don't break early */
    }
}

/* Laptop & Desktop */
@media (min-width: 1024px) {
    .nav-links {
        display: flex;
        position: static;
        left: auto;
        transform: none;
        flex: 1;
        justify-content: center;
        min-width: 0;
    }
    .logo {
        flex-shrink: 0;
    }
    .nav-actions {
        position: relative;
        z-index: 20;
        flex-shrink: 0;
    }
    .nav-btn {
        display: inline-flex;
    }
    .menu-toggle {
        display: none;
    }
    
    .navbar {
        position: relative;
    }
    
    .hero {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding-top: 60px;
    }
    
    .hero-content {
        padding-right: 40px;
    }

    .hero-title br {
        display: none; /* Bring back the break for specific layout match */
    }
    
    .badge-customers { left: -15%; }
    .badge-products { left: 0%; }
    .badge-rating { right: -15%; }
}

@media (min-width: 1280px) {
    .hero-content {
        flex: 0 0 42%;
    }
    .hero-image-wrapper {
        flex: 0 0 35%;
    }
}

/* -------------------------------------
   Features Bar
-------------------------------------- */
.features-bar {
    background-color: #333b03;
    background-image: linear-gradient(to right, #bad71361, #8b8509);
    color: #fff;
    padding: clamp(20px, 3vw, 30px) 0;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 600px) {
    .features-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
    .features-grid { 
        grid-template-columns: repeat(4, 1fr); 
        gap: 16px; 
    }
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 16px;
    justify-content: center;
   
}



@media (min-width: 1024px) {
    .feature-item { justify-content: flex-start; }
}

.feature-icon {
    width: clamp(40px, 5vw, 50px);
    height: clamp(40px, 5vw, 50px);
    background-color: #DDA828;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon svg {
    width: 24px; 
    height: 24px; 
    color: #fff;
}

.feature-text h4 {
    font-size: clamp(1.3rem, 1.5vw, 1.25rem);
    letter-spacing: 0.5px;
    margin-bottom: 1px;
    color: #fff;
}

.feature-text p {
    font-size: clamp(0.75rem, 0.9vw, 0.85rem);
    opacity: 0.9;
    color: #fff;
}

/* -------------------------------------
   Category Section
-------------------------------------- */
.section-padding {
    padding-top: clamp(30px, 6vw, 80px);
    padding-bottom: clamp(60px, 8vw, 100px);
    background-color:#fff;
}

.section-header {
    text-align: center;
    margin-bottom: clamp(40px, 6vw, 60px);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.badge-outline {
    background-color: transparent;
    border: 1px solid var(--primary-green);
    color: var(--text-dark);
    font-weight: 600;
}

.section-title {
    font-size: clamp(3rem, 6vw, 5.5rem);
    margin-bottom: clamp(8px, 1.5vw, 16px);
    opacity: 0;
    transform: translateY(30px);
    will-change: transform, opacity;
    transition: opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.section-title.is-visible {
    opacity: 1;
    transform: translateY(0);
}


.section-subtitle {
    font-size: clamp(1.2rem, 1.5vw, 1.5rem);
    font-weight: 500;
    color: var(--text-dark);
}

.category-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(20px, 3vw, 30px);
}

@media (min-width: 600px) {
    .category-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
    .category-grid { grid-template-columns: repeat(3, 1fr); }
}

.category-card-new {
    display: block;
    width: 100%;
    transition: transform 0.3s ease;
    border-radius: 20px;
    overflow: hidden;
}

.category-card-new:hover {
    transform: translateY(-10px);
}

.category-card-new img {
    width: 100%;
    aspect-ratio: 974 / 893;
    display: block;
    object-fit: cover;
}

/* -------------------------------------
   Bestsellers Section
-------------------------------------- */
.bestsellers-section {
    background-color: #f8ebdb; /* Matches the main background */
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 24px;
    margin-bottom: clamp(40px, 6vw, 60px);
}

/* Specific styles for the Bestsellers Carousel */
#bestsellerGrid {
    display: flex !important;
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    gap: 24px;
    padding: 10px 5px;
    margin-bottom: 0; /* Remove margin-bottom to center arrows correctly */
}

#bestsellerGrid::-webkit-scrollbar {
    display: none;
}

@media (min-width: 600px) {
    .product-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
    .product-grid { grid-template-columns: repeat(4, 1fr); }
}

.product-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 100%;
    margin: 0 auto;
}

#bestsellerGrid .product-card {
    width: calc((100% - 48px) / 3); /* 3 cards on tablet/small desktop */
    flex-shrink: 0;
    scroll-snap-align: start;
}

@media (min-width: 1200px) {
    #bestsellerGrid .product-card {
        width: calc((100% - 72px) / 4); /* Exactly 4 cards on desktop */
    }
}

@media (max-width: 768px) {
    #bestsellerGrid .product-card {
        width: calc(100% - 40px); /* Almost full width on mobile */
    }
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.product-img-wrapper {
    position: relative;
    aspect-ratio: 1;
    width: 100%;
    display: block;
    padding: 0;
    overflow: hidden;
    background: transparent;
}

.product-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Specific gradients for the cards based on the image - removed per user request */
.bg-grad-1, .bg-grad-2, .bg-grad-3, .bg-grad-4 { background: transparent; }

.product-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: var(--text-dark);
    font-size: 0.8rem;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 20px;
    text-transform: uppercase;
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    z-index: 2;
}

.wishlist-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    color: #fff;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.wishlist-btn:hover ,.wishlist-btn.active 
    { opacity: 1; }

.product-info {
    padding: 12px 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.product-category {
    font-size: 0.72rem;
    color: #999;
    text-transform: uppercase;
    font-weight: 600;
}

.product-rating {
    color: var(--secondary-yellow);
    font-size: 0.8rem;
    letter-spacing: 2px;
}

.product-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-green);
    margin-bottom: auto;
    padding-bottom: 5px;
    font-family: var(--font-body);
}

.product-price-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-top: 8px;
}

.product-price {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
}

.price-original {
    font-family: var(--font-body);
    font-size: 1.3rem;
    line-height: 1;
    font-weight: 500;
    color: #9c9a92;
    text-decoration: line-through;
    opacity: 0.8;
}

.price-current {
    font-family: var(--font-heading);
    font-size: 2.6rem;
    line-height: 1;
    font-weight: 700;
    color: var(--text-dark);
}

.price-val {
    font-family: var(--font-heading);
    font-size: 2.6rem;
    line-height: 1;
    font-weight: 700;
    color: var(--text-dark);
}

.price-unit {
    font-size: 0.9rem;
    color: #888;
    font-weight: 500;
}

.currency-symbol {
    font-weight: 600;
    margin-right: -2px;
    font-family: var(--font-body);
}

.add-btn {
    width: 36px;
    height: 36px;
    border-radius: 20px;
    background-color: var(--primary-green);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.3s ease;
    cursor: pointer;
    border: none;
    overflow: hidden;
    white-space: nowrap;
    padding: 0;
    position: relative;
}

.add-btn:hover {
    width: 140px;
    background-color: var(--secondary-yellow);
    color: #fff;
}

.plus-icon {
    position: absolute;
    font-size: 1.8rem;
    padding-bottom: 4px;
    transition: opacity 0.3s ease, transform 0.3s ease;
    opacity: 1;
}

.add-btn:hover .plus-icon {
    opacity: 0;
    transform: scale(0.5) rotate(90deg);
}

.add-text {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    opacity: 0;
    transform: scale(1.2);
    transition: opacity 0.3s ease, transform 0.3s ease;
    letter-spacing: 0.5px;
}

.add-btn:hover .add-text {
    opacity: 1;
    transform: scale(1);
}

/* -------------------------------------
   Why SnapZero Section
-------------------------------------- */
.why-content-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(40px, 8vw, 80px);
    align-items: center;
}

@media (min-width: 1024px) {
    .why-content-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.why-image-wrapper {
    position: relative;
    width: 100%;
}

.why-main-img {
    width: 100%;
    aspect-ratio: 1.2;
    background: #E8E5DD;
    border-radius: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.fssai-badge {
    position: absolute;
    top: 5%;
    right: -5%;
    width: clamp(80px, 12vw, 120px);
    height: clamp(80px, 12vw, 120px);
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    z-index: 2;
}

.fssai-inner {
    border: 1px dashed var(--primary-green);
    border-radius: 50%;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: clamp(0.4rem, 0.6vw, 0.55rem);
    font-weight: 700;
    color: var(--primary-green);
}

.fssai-logo {
    font-size: clamp(0.9rem, 1.2vw, 1.1rem);
    font-weight: 900;
    margin: 2px 0;
}

@media (max-width: 1023px) {
    .fssai-badge { right: 5%; }
}

.why-description {
    font-size: clamp(1.1rem, 1.4vw, 1.25rem);
    color: var(--text-light);
    margin-bottom: clamp(24px, 4vw, 40px);
    line-height: 1.6;
}

.why-checklist {
    list-style: none;
    margin-bottom: clamp(32px, 5vw, 48px);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.why-checklist li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: clamp(1.1rem, 1.3vw, 1.2rem);
    color: var(--text-dark);
}

.why-checklist li strong {
    font-weight: 600;
    padding-top: 2px;
}

.check-icon {
    width: 24px;
    height: 24px;
    color: var(--secondary-yellow);
    flex-shrink: 0;
}

/* -------------------------------------
   Testimonials Section
-------------------------------------- */
.testimonials-wrapper {
    background-color: #5C4132;
    border-radius: clamp(30px, 5vw, 50px);
    padding: clamp(40px, 8vw, 80px) clamp(20px, 5vw, 40px);
    position: relative;
    overflow: hidden;
    text-align: center;
    color: #fff;
    width: 100%;
    margin: 0 auto;
}

@media (min-width: 1024px) {
    .testimonials-wrapper {
        width: 100%;
        margin: 0 auto;
        max-width: 1640px;
        padding: 80px 40px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}

.quote-bg {
    position: absolute;
    font-family: var(--font-heading);
    font-size: clamp(200px, 35vw, 400px);
    line-height: 1;
    color: rgba(255, 255, 255, 0.05);
    z-index: 1;
    pointer-events: none;
}

.quote-left {
    top: 10%;
    left: 10%;
}

.quote-right {
    bottom: -10%;
    right: 10%;
    transform: translateY(20%);
}

.testimonials-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.testimonials-content .badge-tag {
    background-color: #fff;
    color: #5C4132;
    border: none;
}

.testimonials-title {
    font-size: clamp(32px, 5vw, 56px);
    margin: clamp(15px, 3vw, 25px) auto 10px;
    color: var(--secondary-yellow);
    max-width: 1000px;
    text-align: center;
}

.testimonials-subtitle {
    font-size: clamp(14px, 1.2vw, 18px);
    margin-bottom: clamp(30px, 5vw, 60px);
    opacity: 0.9;
}

.carousel-container {
    width: 100%;
    position: relative;
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-btn {
    width: 48px;
    height: 48px;
    background-color: #fff;
    border-radius: 50%;
    color: #5C4132;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    border: none;
}
.carousel-btn:hover { 
    transform: translateY(-50%) scale(1.1); 
    background-color: var(--secondary-yellow);
}

.prev-btn { left: -20px; }
.next-btn { right: -20px; }

.carousel-slide {
    min-width: 100%;
    padding: 0 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-sizing: border-box;
}

.testimonial-text {
    font-size: clamp(18px, 2.5vw, 32px);
    line-height: 1.5;
    margin: 0 auto 30px;
    font-weight: 500;
    max-width: 950px;
    text-align: center;
}

.testimonial-author {
    font-size: clamp(14px, 1.2vw, 18px);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
}

.testimonial-author .stars {
    color: var(--secondary-yellow);
    letter-spacing: 2px;
}

/* -------------------------------------
   Memories Section
-------------------------------------- */
.video-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(16px, 2vw, 24px);
}

@media (min-width: 600px) {
    .video-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
    .video-grid { grid-template-columns: repeat(4, 1fr); }
}

.video-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 9 / 16;
    background: #f0f0f0;
}

.testimonial-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.video-bg {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #D9D9D9;
    color: #666;
    font-weight: 500;
}

.video-overlay-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-weight: 700;
    font-size: clamp(1.2rem, 1.5vw, 1.5rem);
    text-align: center;
    z-index: 2;
    white-space: nowrap;
}

.text-box {
    background: rgba(0,0,0,0.5);
    color: #fff;
    padding: 8px 16px;
    border-radius: 8px;
}

.text-shadow {
    color: #fff;
    text-shadow: 0 2px 4px rgba(0,0,0,0.8);
}

.text-yellow {
    color: var(--secondary-yellow);
    text-shadow: 0 2px 4px rgba(0,0,0,0.8);
}

.mute-btn {
    position: absolute;
    bottom: 16px;
    right: 16px;
    width: 28px;
    height: 28px;
    background-color: rgba(0,0,0,0.6);
    border-radius: 50%;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transition: background-color 0.3s ease;
}

.mute-btn:hover {
    background-color: rgba(0,0,0,0.8);
}

.watermark-logo {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 48px;
    height: 48px;
    background-color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.6rem;
    font-weight: bold;
    color: var(--primary-green);
    border: 1px dashed var(--primary-green);
    z-index: 2;
}

/* -------------------------------------
   Newsletter Section
-------------------------------------- */
.newsletter-section {
    background-color: #E6E8D3;
    padding: clamp(60px, 8vw, 100px) 0;
}

.newsletter-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(40px, 6vw, 60px);
    align-items: center;
}

@media (min-width: 1024px) {
    .newsletter-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.newsletter-image {
    width: 100%;
}

.newsletter-image div {
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.newsletter-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.newsletter-desc {
    font-size: clamp(1rem, 1.2vw, 1.125rem);
    color: var(--text-dark);
    margin-bottom: clamp(24px, 4vw, 32px);
    line-height: 1.6;
}

.newsletter-form {
    display: flex;
    width: 100%;
    max-width: 500px;
    background: #fff;
    border-radius: 50px;
    padding: 6px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    margin-bottom: 12px;
}

.newsletter-form input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 12px 20px;
    font-family: inherit;
    font-size: 1rem;
    outline: none;
}

.newsletter-form .btn {
    padding: 12px 28px;
    border-radius: 40px;
    white-space: nowrap;
}

@media (max-width: 600px) {
    .newsletter-form {
        flex-direction: column;
        border-radius: 20px;
        background: transparent;
        box-shadow: none;
        padding: 0;
        gap: 12px;
    }
    .newsletter-form input {
        background: #fff;
        border-radius: 30px;
        padding: 16px 20px;
    }
    .newsletter-form .btn {
        width: 100%;
    }
}

.spam-text {
    font-size: 0.85rem;
    color: #666;
}

/* -------------------------------------
   Footer Section
-------------------------------------- */
.footer {
    background-color: #677A38;
    color: #fff;
    padding-top: clamp(60px, 8vw, 80px);
}

.footer-top {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: clamp(40px, 6vw, 60px);
}

@media (min-width: 600px) {
    .footer-top {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .footer-top {
        grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr;
        gap: 30px;
    }
}

.footer-logo {
    width: 120px;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.footer-logo .logo-img {
    width: 100%;
    height: auto;
    filter: none; /* No filter needed since we want the actual logo on white bg */
}

.brand-col {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-right: 20px;
}

.brand-col p {
    font-size: 1.1rem;
    opacity: 0.9;
    line-height: 1.6;
}

.social-icons {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-radius: 50%;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.social-icons a svg {
    width: 18px;
    height: 18px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.social-icons a:hover {
    background: #fff;
    color: #677A38;
    transform: translateY(-3px);
}

.social-icons a:hover svg {
    fill: #677A38;
}

.footer-col h4 {
    font-family: var(--font-body);
    font-size: 1.25rem;
    margin-bottom: 24px;
    font-weight: 700;
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-col a {
    color: rgba(255, 255, 255, 0.75);
    transition: color 0.2s ease, opacity 0.2s ease;
    font-size: 1.05rem;
    text-decoration: none;
}

.footer-col a:hover {
    color: var(--secondary-yellow-hover);
    opacity: 1;
    text-decoration: none;
}

.contact-col ul li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.5;
}

.contact-col ul li a {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    transition: color 0.2s ease;
    font-size: 1.05rem;
}

.contact-col ul li a:hover {
    color: #fff;
}

.contact-col ul li svg {
    margin-top: 3px;
    flex-shrink: 0;
}


/* Footer Accordion - Mobile Only */
@media (max-width: 1023px) {
    .footer-col:not(.brand-col):not(.contact-col) h4 {
        display: flex;
        justify-content: space-between;
        align-items: center;
        cursor: pointer;
        padding: 16px 0;
        margin-bottom: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        font-size: 1.15rem;
    }

    .footer-col:not(.brand-col):not(.contact-col) ul {
        max-height: 0;
        overflow: hidden;
        transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        opacity: 0;
        padding-top: 0;
        pointer-events: none;
        gap: 12px;
    }

    .footer-col.active:not(.brand-col):not(.contact-col) ul {
        max-height: 600px;
        opacity: 1;
        padding-top: 20px;
        padding-bottom: 20px;
        pointer-events: auto;
    }

    .footer-chevron {
        width: 20px;
        height: 20px;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        opacity: 0.7;
    }

    .footer-col.active .footer-chevron {
        transform: rotate(180deg);
        opacity: 1;
    }
    
    .footer-col.contact-col h4 {
        margin-top: 20px;
    }
}

.footer-chevron {
    display: none;
}

@media (max-width: 1023px) {
    .footer-chevron {
        display: inline-flex;
    }
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.15);
    padding: 20px 0;
}

.footer-bottom-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    font-size: 0.95rem;
    opacity: 0.9;
    text-align: center;
}

.footer-bottom-inner a {
    text-decoration: none !important;
    color: inherit !important;
}

@media (min-width: 768px) {
    .footer-bottom-inner {
        flex-direction: row;
        text-align: left;
    }
}

.blog-listing-hero {
    height: 3rem;
    min-height: 0;
}

/* -------------------------------------
   Shop Page
-------------------------------------- */
.shop-page {
    padding-top: clamp(20px, 4vw, 40px);
    padding-bottom: clamp(60px, 10vw, 100px);
}

.breadcrumb {
    font-size: clamp(1.1rem, 1.3vw, 1.3rem);
    color: #888;
    margin-bottom: clamp(16px, 2vw, 24px);
    text-align: center; /* Center breadcrumbs */
}

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

.breadcrumb a:hover {
    color: var(--primary-green);
}

.breadcrumb span {
    color: #aaa;
    margin: 0 8px;
}

.shop-title {
    font-size: clamp(3rem, 5vw, 4.5rem);
    color: var(--primary-green);
    margin-bottom: clamp(24px, 4vw, 32px);
    line-height: 1;
    text-align: center; /* Center title */
}

/* Shop Page Specific Left Alignment */
.shop-page .breadcrumb,
.shop-page .shop-title {
    text-align: left;
}

.shop-filters {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: clamp(30px, 5vw, 40px);
}

#customSort {
    width: auto;
    min-width: 180px;
}

#customSort .dropdown-selected {
    padding: 8px 16px;
    font-size: 0.85rem;
}


.filter-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.filter-pill {
    padding: 10px 28px;
    border: 1px solid #BBC2A4;
    border-radius: 30px;
    background: transparent;
    color: #666;
    font-size: 1.35rem;
    transition: all 0.3s ease;
}

.filter-pill.active, .filter-pill:hover {
    background-color: var(--secondary-yellow);
    border-color: var(--secondary-yellow);
    color: var(--text-dark);
    font-weight: 500;
}

.sort-wrapper {
    position: relative;
}

.sort-dropdown {
    padding: 8px 36px 8px 16px;
    border: 1px solid #BBC2A4;
    border-radius: 30px;
    background: transparent;
    color: #666;
    font-size: 0.95rem;
    cursor: pointer;
    font-family: inherit;
    appearance: none;
    -webkit-appearance: none;
    outline: none;
    min-width: 150px;
}

.sort-wrapper svg {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: #666;
}
.custom-dropdown {
    position: relative;
    min-width: 200px;
}

.dropdown-selected {
    padding: 12px 24px;
    border: 1px solid #BBC2A4;
    border-radius: 30px;
    background: #fff;
    color: #666;
    font-size: 1.35rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.3s ease;
}

.dropdown-selected:hover {
    border-color: var(--primary-green);
}

.dropdown-options {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #BBC2A4;
    border-radius: 15px;
    margin-top: 8px;
    list-style: none;
    padding: 10px 0;
    z-index: 100;
    display: none;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    overflow: hidden;
}

.custom-dropdown.open .dropdown-options {
    display: block;
    animation: fadeInDown 0.3s ease;
}

.dropdown-options li {
    padding: 14px 24px;
    cursor: pointer;
    font-size: 1.3rem;
    color: #666;
    transition: all 0.2s ease;
}

.dropdown-options li:hover {
    background-color: var(--primary-green);
    color: #fff;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* -------------------------------------
   Product Detail Page
-------------------------------------- */
.product-detail-page {
    padding-top: clamp(20px, 4vw, 40px);
    padding-bottom: 80px;
    overflow-x: hidden; /* Prevent zoom out due to negative margins */
}

.product-main-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-top: 30px;
    margin-bottom: 60px;
}

@media (max-width: 1023px) {
    .product-detail-page.is-pinned-ready .product-main-grid {
        position: relative;
    }
    
    .product-detail-page.is-pinned-ready .product-gallery {
        position: relative;
        z-index: 1;
        width: 100%;
        margin-bottom: 0;
    }
    
    .product-detail-page.is-pinned-ready .product-info-panel {
        position: relative;
        z-index: 2;
        background: #fff;
        padding: 40px 20px;
        margin: 0 -20px; /* Bleed out to container edges */
        border-radius: 40px 40px 0 0;
        box-shadow: 0 -30px 60px rgba(0,0,0,0.15);
    }

    .product-detail-page.is-pinned-ready .product-gallery .main-image {
        border-radius: 0;
    }
}

@media (min-width: 1024px) {
    .product-main-grid {
        grid-template-columns: 1.2fr 1fr;
        gap: 60px;
    }
}

/* Gallery */
.product-gallery {
    display: flex;
    gap: 20px;
}

.thumbnail-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-height: 440px;
    overflow-y: auto;
    scrollbar-width: none; /* Hide standard Firefox scrollbar */
    padding-right: 4px;
}

.thumbnail-list::-webkit-scrollbar {
    display: none; /* Hide Webkit scrollbar */
}

@media (max-width: 1023px) {
    .product-gallery {
        flex-direction: column;
    }
    .thumbnail-list {
        flex-direction: row;
        order: 2;
        justify-content: flex-start;
        overflow-x: auto;
        scrollbar-width: none;
        gap: 10px;
        padding: 10px 0;
        max-height: none;
    }
    .main-image {
        width: 100%;
        order: 1;
    }
}

.thumb {
    width: clamp(60px, 8vw, 100px);
    aspect-ratio: 1;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.thumb.active {
    border-color: var(--primary-green);
}

.img-placeholder-small {
    width: 100%;
    height: 100%;
    background: #5C6226; /* Match card theme */
    opacity: 0.8;
}

.main-image {
    flex: 1;
    border-radius: 20px;
    overflow: hidden;
    background: #5C6226;
}

.img-placeholder-large {
    width: 100%;
    height: 100%;
    min-height: 400px;
}

/* Info Panel */
.product-info-panel {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.product-cat-label {
    color: #888;
    font-size: 1rem;
}

.product-main-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 4vw, 4.5rem);
    color: var(--primary-green);
    line-height: 1;
    font-weight: 800;
}

.product-rating-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.stars {
    color: var(--secondary-yellow);
    font-size: 1.2rem;
}

.rating-text {
    color: #888;
}

.product-price-display {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-top: 10px;
}

.price-original-big {
    font-family: var(--font-body);
    font-size: 1.4rem;
    font-weight: 500;
    color: #9c9a92;
    text-decoration: line-through;
    opacity: 0.8;
}

.price-big {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
}

.price-unit-small {
    color: #888;
    font-size: 1.1rem;
}

.product-short-desc {
    color: #666;
    line-height: 1.6;
    font-size: 1.1rem;
}

/* Size Selection */
.size-selection h3 {
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.size-options {
    display: flex;
    gap: 15px;
}

.size-opt {
    flex: 1;
    max-width: 120px;
    padding: 15px;
    border: 1px solid #E6E2D3;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #FDFBF0;
    color: var(--primary-green);
}

.size-opt.active {
    border-color: var(--primary-green);
    background: var(--primary-green);
    color: #fff;
    border-width: 1px;
}

.size-opt .size-val {
    font-weight: 700;
    font-size: 1.2rem;
}

.size-opt .size-price {
    color: inherit;
    font-size: 1rem;
    font-weight: 600;
}

.size-opt.active .size-price {
    color: #fff;
}

/* Cart Action Row */
.cart-action-row {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

.qty-selector {
    display: flex;
    align-items: center;
    border: 1px solid #E6E2D3;
    border-radius: 30px;
    overflow: hidden;
    background: #FDFBF0;
}

.qty-btn {
    width: 40px;
    height: 45px;
    border: none;
    background: none;
    cursor: pointer;
    font-size: 1.2rem;
    color: var(--primary-green);
    font-weight: 700;
}

#qtyInput {
    width: 40px;
    text-align: center;
    border: none;
    font-weight: 700;
    padding: 0;
    background: transparent;
    color: var(--text-dark);
    font-size: 1.1rem;
}

.add-to-cart-btn {
    flex: 1;
    border-radius: 30px;
    font-weight: 600;
}

/* Feature Icons */
.product-feature-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #888;
    font-size: 0.9rem;
}

/* Tabs */
.product-tabs {
    margin-top: 40px;
}

.tabs-header {
    display: flex;
    gap: clamp(15px, 4vw, 30px);
    border-bottom: 1px solid #eee;
    margin-bottom: 25px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    white-space: nowrap;
}

.tabs-header::-webkit-scrollbar {
    display: none;
}

.tab-btn {
    padding: 12px 25px;
    border: none;
    background: none;
    cursor: pointer;
    font-size: 1rem;
    position: relative;
    color: #888;
}

.tab-btn.active {
    color: var(--text-dark);
    font-weight: 600;
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--secondary-yellow);
}

.tab-content {
    line-height: 1.8;
    color: #666;
}
/* Bestseller Carousel Styles */
.carousel-outer {
    position: relative;
    padding: 0 60px; /* Increased padding for arrows */
    margin-bottom: clamp(40px, 6vw, 60px); /* Moved margin here */
}
.bs-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid #E8E5DD;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 100; /* Increased z-index */
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    pointer-events: auto; /* Ensure it receives clicks */
}
.bs-nav-btn:hover:not(:disabled) {
    background: var(--primary-green);
    color: #fff;
    border-color: var(--primary-green);
}
.bs-nav-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    pointer-events: none;
}
.bs-nav-btn.prev { left: 0px; }
.bs-nav-btn.next { right: 0px; }


#bestsellerGrid::-webkit-scrollbar {
    display: none;
}

#bestsellerGrid .product-card {
    min-width: 280px; /* Fallback */
    flex: 0 0 auto;
}

@media (min-width: 1440px) {
    #bestsellerGrid .product-card {
        min-width: unset;
        flex: 0 0 calc((100% - 72px) / 4); /* Exactly 4 cards with 24px gaps */
    }
}


@media (max-width: 768px) {
    .carousel-outer { padding: 0 10px; }
    .bs-nav-btn { display: none; }
}

/* -------------------------------------
   Additional Product Detail Sections
-------------------------------------- */
.allergen-info-box {
    background: #FEF9F0;
    border: 1px solid #D1D3A5;
    border-radius: 12px;
    padding: 24px;
    margin-top: clamp(30px, 5vw, 50px);
}

.allergen-info-box h4 {
    font-family: var(--font-heading);
    color: #5C6226;
    margin-bottom: 8px;
    font-size: 1.3rem;
    text-transform: uppercase;
}

.allergen-info-box p {
    color: #444;
    font-size: 1rem;
    line-height: 1.5;
}

.serving-suggestions {
    margin-top: clamp(60px, 8vw, 80px);
    text-align: center;
}

.suggestion-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.suggestion-card {
    background: #F4F1E4; /* Card 1 color */
    padding: 24px;
    border-radius: 12px;
    display: flex;
    flex-direction: row; /* Horizontal as in image */
    align-items: center;
    text-align: left;
    gap: 20px;
}

.suggestion-grid div:nth-child(2) { background: #E6E9D8; } /* Card 2 color */
.suggestion-grid div:nth-child(3) { background: #F3F0E0; } /* Card 3 color */

.icon-wrap {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #fff; /* White icons */
}

.icon-wrap.yellow { background: #A19245; } /* Muted gold */
.icon-wrap.sage { background: #8E935B; } /* Muted sage */
.icon-wrap.gold { background: #A89A42; } /* Muted olive */

.suggestion-card p {
    font-weight: 500;
    color: var(--text-dark);
    font-size: 1rem;
    line-height: 1.3;
}

.reviews-section {
    margin-top: clamp(60px, 8vw, 100px);
    background: #6D432D; /* Rich brown from image */
    border-radius: 40px;
    padding: clamp(40px, 6vw, 70px) 20px;
    color: #fff;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.quote-mark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    opacity: 0.05;
    font-size: 25rem;
    pointer-events: none;
    line-height: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.reviews-container {
    position: relative;
    z-index: 2;
}

.review-carousel {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    margin-top: 20px;
}

.carousel-btn {
    background: #fff;
    color: #6D432D;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.review-content {
    max-width: 600px;
}

.review-text {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    font-weight: 500;
    line-height: 1.4;
    margin-bottom: 30px;
}

.review-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.review-stars {
    color: #FFC107;
    font-size: 1.1rem;
}

.review-author {
    font-weight: 500;
    opacity: 0.9;
}

.related-products {
    margin-top: clamp(80px, 10vw, 120px);
    margin-bottom: 100px;
}

.section-title.center {
    text-align: center;
    margin-bottom: 40px;
}

@media (max-width: 768px) {
    .review-carousel { gap: 20px; }
    .carousel-btn { width: 28px; height: 28px; }
    .suggestion-card { gap: 15px; padding: 20px; }
}

/* -------------------------------------
   Hampers & Gifts Page Styles
-------------------------------------- */
.hampers-hero {
    background: linear-gradient(to bottom, #fdfbf6, #f3f0e8);
    padding: clamp(60px, 10vw, 120px) 0;
    text-align: center;
}

.gift-badge {
    display: inline-block;
    padding: 8px 24px;
    border: 1.5px solid #bbc2a4;
    border-radius: 50px;
    font-size: clamp(0.8rem, 1vw, 0.9rem);
    font-weight: 500;
    color: #5c4132;
    margin-bottom: clamp(16px, 2vw, 24px);
    text-transform: none;
    letter-spacing: 0.5px;
}

.hero-title-main {
    font-size: clamp(2.5rem, 7vw, 7.5rem);
    color: var(--primary-green);
    margin-bottom: 16px;
    font-family: var(--font-heading);
    line-height: 1;
}

.hero-subtitle {
    font-size: clamp(1rem, 1.5vw, 1.4rem);
    color: var(--text-light);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.4;
    font-weight: 400;
}

.breadcrumbs-section {
    padding: clamp(20px, 4vw, 40px) 0;
    background-color: transparent;
}

.breadcrumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: clamp(1.1rem, 1.3vw, 1.3rem);
    color: #b0b0b0;
}

.breadcrumbs a {
    color: #b0b0b0;
    transition: color 0.3s ease;
}

.breadcrumbs a:hover {
    color: var(--primary-green);
}

.breadcrumbs .current {
    color: #b0b0b0;
    font-weight: 400;
}

.hampers-grid-section {
    padding-bottom: clamp(60px, 10vw, 120px);
}

.hampers-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(20px, 3vw, 40px);
}

@media (min-width: 768px) {
    .hampers-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .hampers-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.hamper-card {
    background: #FFFCF7;
    border-radius: 24px;
    padding: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    border: 1px solid #f0f0f0;
}

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

.hamper-img-wrapper {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 24px;
}

.hamper-img-wrapper img {
    width: 100%;
    aspect-ratio: 1.35;
    object-fit: cover;
}

.best-seller-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #6D7548;
    color: #fff;
    padding: 4px 10px;
    border-radius: 16px;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.hamper-info {
    padding: 0 12px 12px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.hamper-title {
    font-size: clamp(1.4rem, 2vw, 1.8rem);
    color: #6D7548;
    margin-bottom: 12px;
    font-family: var(--font-body);
    text-transform: none;
}

.hamper-desc {
    font-size: clamp(1.2rem, 1.2vw, 1.2rem);
    color: #a0a0a0;
    line-height: 1.5;
    margin-bottom: 20px;
    font-weight: 400;
}

.hamper-includes {
    margin-bottom: 12px;
}

.hamper-includes strong {
    display: block;
    font-size: 0.9rem;
    color: #6D7548;
    margin-bottom: 6px;
    font-weight: 600;
}

.hamper-includes p {
    font-size: 0.8rem;
    color: #2a2a2a;
    font-weight: 600;
}

.hamper-price {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    color: #2a2a2a;
    margin-top: auto;
    line-height: 1;
    font-weight: 700;
}



/* -------------------------------------
   Corporate Gifting & Build Your Own Hamper
-------------------------------------- */
.corporate-section {
    background-color: #E2EAC7;
    padding: clamp(60px, 10vw, 100px) 0;
    margin-bottom: clamp(60px, 10vw, 100px);
}

.corporate-title {
    color: var(--primary-green) !important;
    font-size: clamp(3rem, 7vw, 6.5rem) !important;
}

.corporate-subtitle {
    color: var(--text-dark) !important;
    max-width: 1000px;
}

.corporate-form {
    max-width: 100%;
    margin: 40px auto 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
    
}

.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

@media (min-width: 768px) {
    .form-row {
        grid-template-columns: 1fr 1fr;
    }
}

.corporate-form input,
.corporate-form textarea {
    width: 100%;
    padding: 24px 24px;
    border: 1px solid #BBC2A4;
    border-radius: 50px;
    background-color: #fff;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-dark);
}

.corporate-form textarea {
    border-radius: 12px;
    resize: none;
}

.corporate-btn {
    width: 100%;
    margin-top: 10px;
    padding: 18px !important;
    font-size: 1.1rem !important;
    text-transform: none !important;
}

.build-hamper-section {
    margin-bottom: clamp(60px, 10vw, 120px);
}

.build-hamper-banner {
    background-color: #5C4132;
    border-radius: clamp(24px, 4vw, 40px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
}

@media (min-width: 1024px) {
    .build-hamper-banner {
        flex-direction: row;
        align-items: center;
        min-height: 350px;
    }
}

.build-hamper-content {
    flex: 1;
    padding: clamp(20px, 3vw, 40px);
    z-index: 2;
}

.build-hamper-title {
    color: var(--secondary-yellow);
    font-size: clamp(2rem, 5vw, 4rem);
    margin-bottom: 20px;
    font-family: var(--font-heading);
}

.build-hamper-desc {
    color: #fff;
    font-size: clamp(1rem, 1.3vw, 1.3rem);
    margin-bottom: clamp(30px, 5vw, 40px);
    max-width: 500px;
}

.btn-customise {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: #fff;
    color: var(--text-dark);
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.btn-customise:hover {
    background-color: var(--secondary-yellow);
    color: #fff;
    transform: translateY(-2px);
}

.build-hamper-image {
    flex: 1;
    display: flex;
    height: fit-content;
    justify-content: center;
    align-items: center;
}

@media (min-width: 1024px) {
    .build-hamper-image {
        justify-content: center;
    }
}

.build-hamper-image img {
    max-width: 100%;
    max-height: 280px;
    object-fit: contain;
    display: block;
}

@media (max-width: 1023px) {
    .build-hamper-image img {
        max-width: 350px;
    }
}


/* -------------------------------------
   Our Story Page Styles
-------------------------------------- */
.story-hero {
    background: linear-gradient(to bottom, #fdfbf6, #f3f0e8);
    padding:120px;
    text-align: center;
}

.story-hero .hero-title-main {
    color: #000;
}

.about-badge {
    display: inline-block;
    padding: 8px 24px;
    border: 1.5px solid #bbc2a4;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    color: #5c4132;
    margin-bottom: 24px;
}

.text-primary {
    color: var(--primary-green);
}

.story-content-section {
    background: linear-gradient(135deg, #7a8a4d 0%, #7a8a4d 60%,#e7b520 100%);
    padding: 40px 0 100px;
    color: #fff;
    position: relative;
}

.breadcrumbs-story {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: clamp(1.1rem, 1.3vw, 1.3rem);
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 40px;
}

.breadcrumbs-story a {
    color: rgba(255, 255, 255, 0.7);
}

.breadcrumbs-story .current {
    color: #fff;
}

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

@media (min-width: 1024px) {
    .story-grid {
        grid-template-columns: 1.2fr 0.8fr;
    }
}

.story-text p {
    font-size: clamp(1.4rem, 1.8vw, 1.8rem);
    line-height: 1.6;
    margin-bottom: 24px;
    opacity: 0.95;
    font-weight: 400;
}

.story-image {
    display: flex;
    justify-content: center;
}

.founder-frame {
    position: relative;
/*
    width: clamp(300px, 40vw, 550px);
    height: clamp(300px, 40vw, 550px);
*/
    display: flex;
    align-items: center;
    justify-content: center;
}

/* The Circle Backdrop */
/*
.founder-frame::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    border: 12px solid rgba(255, 255, 255, 0.2);
    z-index: 1;
}
*/

.founder-frame img {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%; /* Taller than circle */
/*
    object-fit: contain;
    object-position: bottom;
*/
/*    transform: translateY(-5%) scale(1.1);*/
    /* This clip-path creates a circle that doesn't clip the top */
/*    clip-path: inset(-20% 0 0 0 round 50%);*/
    transition: all 0.4s ease;
}

.founder-frame:hover img {
    transform:  scale(1.15);
}

.values-section {
    margin-top: -60px;
    position: relative;
    z-index: 10;
    padding-bottom: 40px;
}

.values-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 768px) {
    .values-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.value-card {
    background: #fff;
    border-radius: 24px;
    padding: clamp(24px, 5vw, 40px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1.5px solid #BBC2A4;
    text-align: left;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.value-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 60px rgba(0,0,0,0.12);
}

.value-icon-box {
    width: 70px;
    height: 70px;
    background-color: var(--secondary-yellow);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
}

.value-title {
    font-size: clamp(1.8rem, 8vw, 3.2rem);
    color: var(--primary-green);
    margin-bottom: 20px;
    font-family: var(--font-heading);
    line-height: 1.1;
}

.value-desc {
    font-size: 1.3rem;
    color: #2a2a2a;
    line-height: 1.5;
    font-weight: 400;
}


/* -------------------------------------
   Our Journey Section
-------------------------------------- */
.journey-section {
    background-color: #fff;
    --story-header-offset: 0px;
}

.journey-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(40px, 8vw, 100px);
}

@media (min-width: 1024px) {
    .journey-grid {
        grid-template-columns: 0.8fr 1.2fr;
        align-items: flex-start; /* Align to top for precise locking */
        width: 100%;
        height: 100%;
        padding-top: clamp(60px, 10vh, 120px); /* Precise lock position */
    }

    .timeline {
        width: min(100%, 640px);
        justify-self: end;
    }
}

.journey-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    color: var(--primary-green);
    margin-bottom: 24px;
    font-family: var(--font-heading);
}

.journey-intro {
    font-size: clamp(1rem, 1.2vw, 1.2rem);
    color: var(--text-dark);
    line-height: 1.6;
    max-width: 500px;
}

.timeline {
    position: relative;
    padding-left: 40px;
    height: clamp(320px, 34vh, 380px); /* Height to accommodate the active item and preview */
    width: 100%;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: var(--secondary-yellow);
    opacity: 0.4;
}

.timeline-item {
    position: absolute;
    top: 0;
    left: 40px;
    width: calc(100% - 40px);
    opacity: 0;
    visibility: hidden;
    margin-bottom: 0;
    transform-origin: left center; /* Keeps it aligned with the vertical line */
}

.timeline-item.active {
    opacity: 1;
    transform: translateY(0);
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-dot {
    position: absolute;
    left: -46px; /* -40px padding + half of dot size + line offset */
    top: 8px;
    width: 14px;
    height: 14px;
    background-color: var(--secondary-yellow);
    border-radius: 50%;
    z-index: 2;
}

.timeline-year {
    display: block;
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 8vw, 3.5rem);
    color: var(--primary-green);
    line-height: 1;
    margin-bottom: 8px;
    font-weight: 600;
}

.timeline-heading {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 6vw, 2.8rem);
    color: #1a1a1a;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.timeline-desc {
    font-size: clamp(1rem, 4vw, 1.3rem);
    color: #4a4a4a;
    line-height: 1.5;
    max-width: 600px;
}

@media (min-width: 1024px) {
    .journey-section.is-pinned-ready {
        min-height: calc(100svh - var(--story-header-offset));
        display: flex;
        align-items: flex-start;
        overflow: hidden;
    }

    .journey-section.is-pinned-ready.section-padding {
        padding-top: clamp(40px, 6svh, 72px);
        padding-bottom: clamp(28px, 4svh, 56px);
    }

    .journey-section.is-pinned-ready .journey-grid {
        width: 100%;
        align-items: flex-start;
    }

    .journey-section.is-pinned-ready .timeline {
        height: calc(100svh - var(--story-header-offset) - clamp(96px, 12svh, 128px));
        min-height: 560px;
        overflow: hidden;
    }

    .journey-section.is-pinned-ready .timeline::before {
        top: 0;
        bottom: 0;
    }

    .journey-section.is-pinned-ready .timeline-item {
        position: absolute;
        top: 50%;
        left: 40px;
        right: 40px;
        width: auto;
        margin-bottom: 0;
        opacity: 0.18;
        pointer-events: none;
        transform-origin: left center;
    }

    .journey-section.is-pinned-ready .timeline-item.active {
        opacity: 1;
        pointer-events: auto;
    }
}

@media (max-width: 1023px) {
    .journey-section {
        overflow: visible;
    }

    .journey-section.section-padding {
        padding-top: 48px;
        padding-bottom: 56px;
    }

    .journey-grid {
        gap: 28px;
    }

    .journey-title {
        font-size: clamp(2.4rem, 13vw, 3.4rem);
        margin-bottom: 16px;
    }

    .journey-intro {
        max-width: none;
        font-size: 1rem;
    }

    .timeline {
        --timeline-progress: 0%;
        padding-left: 32px;
        height: auto;
        overflow: visible;
    }

    .timeline::before {
        left: 0;
        top: 8px;
        bottom: 8px;
        opacity: 0.25;
    }

    .timeline::after {
        content: '';
        position: absolute;
        left: 0;
        top: 8px;
        width: 2px;
        height: var(--timeline-progress);
        max-height: calc(100% - 16px);
        background-color: var(--secondary-yellow);
        z-index: 1;
        transition: height 0.12s linear;
    }

    .timeline-item {
        position: relative !important;
        top: auto !important;
        left: 0 !important;
        width: auto !important;
        margin-bottom: 42px;
        opacity: 0.32;
        visibility: visible !important;
        transform: translateY(18px);
        z-index: 2 !important;
        pointer-events: auto;
        transition: opacity 0.35s ease, transform 0.35s ease;
    }

    .timeline-item.is-passed,
    .timeline-item.is-active {
        opacity: 1;
        transform: translateY(0);
    }

    .timeline-dot {
        left: -40px;
        top: 10px;
        width: 16px;
        height: 16px;
        background-color: #eadca4;
        border: 3px solid #fff;
        box-shadow: 0 0 0 1px rgba(219, 175, 44, 0.2);
        transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    }

    .timeline-item.is-passed .timeline-dot,
    .timeline-item.is-active .timeline-dot {
        background-color: var(--secondary-yellow);
        transform: scale(1.12);
        box-shadow: 0 0 0 3px rgba(219, 175, 44, 0.18);
    }

    .timeline-content {
        min-width: 0;
    }

    .timeline-year {
        font-size: clamp(2.2rem, 10vw, 2.8rem);
    }

    .timeline-heading {
        font-size: clamp(1.6rem, 8vw, 2.4rem);
    }

    .timeline-desc {
        font-size: clamp(1rem, 4vw, 1.2rem);
    }

    .timeline-item:last-child {
        margin-bottom: 0;
    }
}

@media (max-width: 767px) {
    .story-hero {
        padding: 70px 0 54px;
    }

    .story-content-section {
        padding: 28px 0 84px;
    }

    .breadcrumbs-story {
        margin-bottom: 28px;
    }

    .story-grid {
        gap: 28px;
    }

    .story-text p {
        font-size: clamp(1.05rem, 4.8vw, 1.25rem);
        line-height: 1.55;
        margin-bottom: 18px;
    }

/*
    .founder-frame {
        width: min(78vw, 330px);
        height: min(78vw, 330px);
    }
*/

    .values-section {
        margin-top: -36px;
        padding-bottom: 24px;
    }

    .values-grid {
        gap: 18px;
    }

    .value-card {
        border-radius: 16px;
        padding: 24px;
    }

    .value-icon-box {
        width: 50px;
        height: 50px;
        margin-bottom: 22px;
    }

    .value-title {
        font-size: clamp(1.7rem, 8vw, 2.35rem);
        margin-bottom: 14px;
    }

    .value-desc {
        font-size: 1rem;
    }
}


/* -------------------------------------
   Contact Us Page Styles
-------------------------------------- */
.contact-hero {
    background: linear-gradient(to bottom, #fdfbf6, #f3f0e8);
    padding: 120px;
    text-align: center; /* Center all inline and inline-block children */
}

.contact-badge {
    display: inline-block;
    padding: 8px 24px;
    border: 1.5px solid #bbc2a4;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    color: #5c4132;
    margin-bottom: 24px;
}

.breadcrumbs-contact {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    font-size: clamp(1.1rem, 1.3vw, 1.3rem);
    color: #b0b0b0;
    margin-bottom: 40px;
}

.breadcrumbs-contact a {
    color: #b0b0b0;
}

.breadcrumbs-contact .current {
    color: #b0b0b0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(40px, 8vw, 80px);
    align-items: flex-start;
}

@media (min-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.info-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid #f0f0f0;
}

.info-item:last-child {
    border-bottom: none;
}

.info-icon {
    width: 48px;
    height: 48px;
    background-color: var(--secondary-yellow);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-text h4 {
    font-size: 1.1rem;
    color: #2a2a2a;
    margin-bottom: 4px;
    text-transform: none;
    font-family: var(--font-body);
}

.info-val {
    font-size: clamp(1.4rem, 2vw, 1.8rem);
    color: #677A38;
    font-weight: 700;
    margin-bottom: 2px;
}

.info-sub {
    font-size: 0.95rem;
    color: #999;
}

.contact-form-wrapper {
    background-color: #677A38;
    padding: clamp(30px, 5vw, 60px);
    border-radius: 30px;
    color: #fff;
}

.form-title {
    font-size: 2.2rem;
    color: #fff;
    margin-bottom: 30px;
    font-family: var(--font-heading);
}

.contact-page-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-page-form input,
.contact-page-form textarea {
    width: 100%;
    padding: 14px 24px;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    color: #fff;
    font-family: var(--font-body);
}

.contact-page-form textarea {
    border-radius: 20px;
    resize: none;
}

.contact-page-form input::placeholder,
.contact-page-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.contact-submit-btn {
    width: 100%;
    padding: 16px !important;
    margin-top: 10px;
    text-transform: none !important;
    font-size: 1.1rem !important;
}


/* -------------------------------------
   FAQ Section Styles
-------------------------------------- */
.faq-section {
    max-width: 1000px !important;
}

.faq-title {
    text-align: center;
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: var(--primary-green);
    margin-bottom: clamp(40px, 6vw, 60px);
    font-family: var(--font-heading);
}

.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.faq-item {
    background-color: #f2f4e8; /* Light cream/green tint from image */
    border: none;
    border-radius: 60px; /* More pronounced pill shape */
    padding: 10px 10px 10px 40px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item:hover {
    background-color: #fdfdfb;
    box-shadow: 0 8px 24px rgba(0,0,0,0.05);
    transform: translateY(-2px);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: none;
    border: none;
    padding: 10px 0;
    cursor: pointer;
    text-align: left;
    font-family: var(--font-body);
    font-size: clamp(1.1rem, 1.4vw, 1.3rem);
    font-weight: 700; /* Bolder as per image */
    color: #1a1a1a; /* Darker black */
}

.hero-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    color: var(--primary-green);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.hero-nav-btn:hover {
    background-color: var(--primary-green);
    color: #fff;
    transform: translateY(-50%) scale(1.1);
}

.hero-nav-btn.prev { left: 20px; }
.hero-nav-btn.next { right: 20px; }

.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.faq-toggle {
    width: 48px;
    height: 48px;
    background-color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    transition: all 0.3s ease;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
    color: var(--text-dark);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    padding-right: 60px;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding-bottom: 20px;
}

.faq-answer p {
    color: #777; /* Muted grey from image */
    font-size: 1.05rem;
    line-height: 1.6;
}

@media (max-width: 600px) {
    .faq-item {
        padding-left: 25px;
        border-radius: 30px;
    }
    .faq-toggle {
        width: 40px;
        height: 40px;
    }
}


/* -------------------------------------
   Wishlist Page Styles
-------------------------------------- */
.wishlist-hero {
    background: linear-gradient(to bottom, #fdfbf6, #f3f0e8);
    padding: clamp(60px, 10vw, 60px) 0 60px;
    text-align: center; /* Center content */
}

.wishlist-title-main {
    font-size: clamp(3rem, 8vw, 6rem);
    color: var(--primary-green);
    font-family: var(--font-heading);
    letter-spacing: 2px;
    text-align: center; /* Explicit center */
}

.wishlist-btn.active svg {
    fill: #fff;
    stroke: #fff;
    opacity: 1;
}


/* -------------------------------------
   Product Detail Wishlist
-------------------------------------- */
.product-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.detail-wishlist {
    position: static;
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    background: #fdfbf6;
    border: 1px solid #eee;
    color: var(--primary-green);
}

.detail-wishlist.active {
    background: var(--primary-green);
    color: white;
    border-color: var(--primary-green);
}

.detail-wishlist.active svg {
    fill: white;
}


/* -------------------------------------
   Cart Drawer Styles
-------------------------------------- */
.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(2px);
}

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

.cart-drawer {
    position: fixed;
    top: 15px;
    bottom: 15px;
    right: -460px; /* Initially hidden */
    width: 90%;
    max-width: 440px;
    height: calc(100% - 30px);
    background: white;
    z-index: 10001;
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    border-radius: 32px; /* Large rounded corners from image */
    overflow: hidden;
}

.cart-overlay.active .cart-drawer {
    right: 15px; /* Floating gap from right edge */
}

.cart-header {
    padding: 30px 24px 20px;
    border-bottom: none;
}

.cart-header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.close-cart {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    color: #333;
    transition: transform 0.3s ease;
}

.close-cart svg {
    width: 32px;
    height: 32px;
}

.close-cart:hover {
    transform: rotate(90deg);
}

.cart-title {
    font-size: 2rem;
    font-weight: 700;
    color: #000;
}

.free-shipping-info {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    font-size: 0.75rem;
    color: #2e7d32;
    margin-bottom: 8px;
}

.shipping-progress-container {
    height: 4px;
    background: #f0f0f0;
    border-radius: 2px;
    position: relative;
    margin-top: 15px;
}

.shipping-progress-bar {
    height: 100%;
    background: #8e2424; /* Maroon color from image */
    border-radius: 2px;
    width: 60%; /* Dynamic */
    transition: width 0.3s ease;
}

.shipping-progress-icon {
    position: absolute;
    right: -10px;
    top: -10px;
    width: 24px;
    height: 24px;
    background: white;
    border: 1px solid #ddd;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
}

.cart-items-list {
    flex: 1;
    overflow-y: auto;
    padding: 24px;
}

.cart-item {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
    position: relative;
}

.cart-item-img {
    width: 90px;
    height: 90px;
    background: #848c44; /* Darker olive green from image */
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item-details {
    flex: 1;
}

.cart-item-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: #5C6226; /* Dark olive green */
    margin-bottom: 2px;
}

.cart-item-variant {
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 12px;
}

.cart-item-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-qty-selector {
    display: flex;
    align-items: center;
    background: #000;
    color: white;
    border-radius: 25px;
    padding: 6px 16px;
    gap: 15px;
    margin-top: 8px;
}

.cart-qty-btn {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    font-size: 1.1rem;
    padding: 0;
    font-weight: 500;
}

.cart-item-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: #000;
}

.cart-item-price-container {
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.cart-item-original-price {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 500;
    color: #9c9a92;
    text-decoration: line-through;
    opacity: 0.8;
}

.remove-item {
    position: absolute;
    top: 0;
    right: 0;
    background: none;
    border: none;
    cursor: pointer;
    color: #999;
}

.cart-footer {
    padding: 24px;
    background: #f8f8f8; /* Very light grey/cream background */
    border-top: 1px solid #eee;
    border-radius: 0 0 32px 32px;
}

.coupon-row {
    display: flex;
    gap: 10px;
    margin-bottom: 24px;
}

.coupon-row input {
    flex: 1;
    padding: 14px 20px;
    border: 1px solid #e0e0e0;
    border-radius: 25px; /* Rounded pill shape for input */
    background: #fdfbf6;
    font-size: 0.9rem;
}

.apply-coupon-btn {
    padding: 0 30px;
    background: #6D7548;
    color: white;
    border: none;
    border-radius: 25px; /* Rounded pill shape for button */
    cursor: pointer;
    font-weight: 500;
}

.cart-summary {
    margin-bottom: 20px;
}

.summary-info {
    font-size: 0.85rem;
    color: #666;
}

.summary-total-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-top: 8px;
}

.summary-label {
    font-weight: 500;
    color: #666;
}

.summary-total-val {
    font-size: 1.25rem;
    font-weight: 700;
    color: #000;
}

.checkout-btn {
    width: 100%;
    padding: 18px;
    background: #6D7548;
    color: white;
    border: none;
    border-radius: 30px; /* Fully rounded checkout button */
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.3s;
    margin-top: 10px;
}

.checkout-btn:hover {
    opacity: 0.9;
}

@media (max-width: 480px) {
    .cart-drawer {
        max-width: 100%;
        right: -100%;
    }
}

/* -------------------------------------
   Checkout Page Styles
-------------------------------------- */
.checkout-main {
    padding-top: clamp(20px, 4vw, 60px);
    padding-bottom: clamp(40px, 8vw, 100px);
}

.checkout-grid {
    display: flex;
    flex-direction: column;
    gap: clamp(30px, 5vw, 60px);
}

@media (min-width: 1024px) {
    .checkout-grid {
        flex-direction: row-reverse;
        align-items: flex-start;
    }
    
    .checkout-left {
        flex: 1.2;
    }
    
    .checkout-right {
        flex: 0.8;
        position: sticky;
        top: 100px;
    }
}

.checkout-section {
    margin-bottom: clamp(24px, 4vw, 40px);
}

.checkout-title {
    font-size: clamp(1.25rem, 2vw, 1.5rem);
    font-weight: 600;
    margin-bottom: 20px;
    color: #333;
}

.checkout-input {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 0.95rem;
    color: #333;
    background: #fff;
    transition: border-color 0.3s;
}

.checkout-input:focus {
    outline: none;
    border-color: var(--primary-green);
}

.form-row {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 15px;
}

@media (min-width: 600px) {
    .form-row {
        flex-direction: row;
    }
    
    .form-row .form-group {
        flex: 1;
    }
    
    .form-row.three-cols .form-group {
        flex: 1;
    }
}

.form-group {
    margin-bottom: 15px;
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
}

.checkbox-group input {
    width: 18px;
    height: 18px;
    accent-color: var(--primary-green);
    cursor: pointer;
}

.checkbox-group label {
    font-size: 0.9rem;
    color: #555;
    cursor: pointer;
}

/* Icons in inputs */
.has-icon, .has-info {
    position: relative;
}

.input-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #888;
    pointer-events: none;
}

.select-wrapper {
    position: relative;
}

.select-wrapper::after {
    content: "▼";
    font-size: 10px;
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #888;
    pointer-events: none;
}

.checkout-input select {
    appearance: none;
    -webkit-appearance: none;
}

.shipping-method-placeholder {
    padding: 30px;
    background: #f5f5f5;
    border-radius: 12px;
    text-align: center;
    color: #777;
    font-size: 0.9rem;
}

/* Order Summary Card */
.order-summary-card {
    background: #fdfbf6;
    padding: clamp(24px, 4vw, 40px);
    border-radius: 24px;
}

.summary-items {
    margin-bottom: 30px;
}

.summary-item {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.summary-item-img-wrap {
    position: relative;
    width: 80px;
    height: 80px;
    background: #848c44;
    border-radius: 12px;
    overflow: visible; /* to show badge */
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.summary-item-img-wrap img {
    width: 85%;
    height: 85%;
    object-fit: cover;
}

.summary-qty-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #666;
    color: white;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 600;
}

.summary-item-info {
    flex: 1;
}

.summary-item-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: #5C6226;
    margin-bottom: 2px;
}

.summary-item-variant {
    font-size: 0.85rem;
    color: #888;
}

.summary-item-price-container {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
    text-align: right;
}

.summary-item-original-price {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 500;
    color: #9c9a92;
    text-decoration: line-through;
    opacity: 0.8;
}

.summary-item-price {
    font-weight: 600;
    color: #000;
}

.discount-row {
    display: flex;
    gap: 12px;
    margin-bottom: 30px;
}

.checkout-apply-btn {
    padding: 0 30px;
    border-radius: 30px;
    white-space: nowrap;
    background-color: #616730;
    color: white;
    border: none;
    font-weight: 600;
    cursor: pointer;
    font-size: 0.9rem;
}

.summary-totals {
    border-top: 1px solid #e5e5e5;
    padding-top: 20px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 0.95rem;
    color: #333;
}

.total-row {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #e5e5e5;
    color: #000;
    align-items: center;
}

.total-label {
    font-size: 1.25rem;
    font-weight: 600;
}

.total-val-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.currency-label {
    font-size: 0.75rem;
    color: #666;
}

.total-amount {
    font-size: 1.5rem;
    font-weight: 800;
}

.tax-info {
    font-size: 0.75rem;
    color: #888;
    margin-top: 2px;
    text-align: right;
}

.help-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 14px;
    height: 14px;
    border: 1px solid #888;
    border-radius: 50%;
    font-size: 9px;
    color: #888;
    margin-left: 4px;
    cursor: help;
}


/* Checkout Button Polishing */
.checkout-apply-btn {
    background-color: #616730 !important; /* Specific dark olive from image */
    border-radius: 30px !important; /* More rounded as in image */
    font-size: 0.9rem;
    height: 100%;
}

.discount-row {
    display: flex;
    gap: 12px;
    margin-bottom: 30px;
    height: 48px; /* Standard height for form rows */
}

.discount-row input {
    border-radius: 30px !important;
    padding: 0 20px;
    border: 1px solid #ddd;
}

/* Fix for mobile header icons overlap if any */
@media (max-width: 480px) {
    .nav-actions .nav-btn {
        display: none;
    }
}


/* Billing Address Styles */
.billing-selection-box {
    border: 1px solid #ddd;
    border-radius: 12px;
    overflow: hidden;
}

.billing-option {
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    background: #fff;
    cursor: pointer;
    transition: background 0.3s;
}

.billing-option:not(:last-child) {
    border-bottom: 1px solid #ddd;
}

.billing-option.active {
    background: #fdfbf6; /* Matching the summary card background */
}

.billing-option input[type="radio"] {
    width: 20px;
    height: 20px;
    accent-color: #616730;
}

.billing-option label {
    font-size: 0.95rem;
    color: #333;
    cursor: pointer;
    flex: 1;
}

.billing-form {
    padding: 24px;
    background: #f9f9f9;
    display: none; /* Hidden by default */
    border-top: 1px solid #ddd;
}

.billing-selection-box:has(#differentBilling:checked) .billing-form {
    display: block;
}

/* Pay Now Button */
.checkout-footer-actions {
    margin-top: 40px;
}

.pay-now-btn {
    width: 100%;
    padding: 20px;
    font-size: 1.1rem;
    font-weight: 600;
    background-color: #616730 !important;
    border-radius: 12px !important;
}

/* Checkout Simple Footer */
.checkout-simple-footer {
    margin-top: 60px;
    padding-top: 24px;
    border-top: 1px solid #eee;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.checkout-simple-footer a {
    font-size: 0.85rem;
    color: #5C6226;
    text-decoration: underline;
}


/* -------------------------------------
   Blog Page Styles
-------------------------------------- */
.blog-listing-hero {
    background: linear-gradient(to bottom, #fdfbf6, #fff9ed);
    padding: clamp(30px, 5vw, 50px) 0 40px;
    text-align: center;
    height: auto !important;
    min-height: 0 !important;
    display: block !important;
}

.page-title {
    font-size: clamp(3rem, 6vw, 6.5rem); /* Bigger as per image */
    color: var(--primary-green);
    font-family: var(--font-heading);
    margin: 0;
    text-transform: uppercase;
}

.blog-content-section {
    padding-top: clamp(40px, 6vw, 80px);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: clamp(24px, 4vw, 40px);
    margin-top: clamp(30px, 5vw, 60px);
}

@media (min-width: 600px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .blog-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.blog-card {
    background: #fff9ed; /* Light cream background from image */
    border: 1.5px solid #f0e6d2; /* Subtle border */
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.05);
}

.blog-img {
    aspect-ratio: 4/3;
    overflow: hidden;
}

.blog-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-img img {
    transform: scale(1.05);
}

.blog-content {
    padding: clamp(20px, 3vw, 30px);
    display: flex;
    flex-direction: column;
    flex: 1;
}

.blog-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 0.9rem;
    color: #8a8a8a;
    margin-bottom: 20px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.meta-divider {
    color: #ddd;
}

.blog-title {
    font-size: clamp(1.2rem, 1.6vw, 1.45rem);
    font-weight: 700;
    line-height: 1.5;
    color: #111;
    margin-bottom: 24px;
    flex: 1;
    letter-spacing: -0.01em;
}

.read-more {
    font-weight: 500;
    color: #4a4a4a;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.read-more:hover {
    color: var(--primary-green);
    gap: 10px;
}

.read-more span {
    transition: transform 0.3s;
}

.read-more:hover {
    color: var(--primary-green);
}

.read-more:hover span {
    transform: translateX(5px);
}


/* -------------------------------------
   Blog Detail Page Styles
-------------------------------------- */
.blog-hero {
    height: 60vh;
    min-height: 400px;
    position: relative;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.blog-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.2), rgba(0,0,0,0.6));
}

.blog-hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
}

.blog-hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.1;
    text-transform: uppercase;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.blog-detail-main {
    padding-top: clamp(40px, 6vw, 80px);
    padding-bottom: 100px;
}

.blog-body-container {
    max-width: 800px;
    margin: 0 auto;
}

.blog-main-content {
    font-size: clamp(1rem, 1.1vw, 1.125rem);
    line-height: 1.8;
    color: #444;
}

.blog-main-content p {
    margin-bottom: 25px;
}

.blog-main-content h2 {
    font-size: clamp(1.5rem, 2vw, 2rem);
    font-weight: 700;
    color: #000;
    margin: 40px 0 20px;
}

.blog-main-content ul {
    margin-bottom: 25px;
    padding-left: 20px;
}

.blog-main-content li {
    margin-bottom: 12px;
    position: relative;
}

.blog-main-content li::before {
    content: "•";
    color: var(--primary-green);
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
}

.blog-post-meta-footer {
    margin-top: 60px;
    padding: 20px 0;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fdfbf6;
    padding: 20px 30px;
    border-radius: 12px;
}

.share-box {
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 600;
    color: #333;
}

.share-icons {
    display: flex;
    gap: 12px;
}

.share-icons a {
    color: #666;
    transition: color 0.3s;
}

.share-icons a:hover {
    color: var(--primary-green);
}

.comment-status {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #888;
    font-size: 0.9rem;
}

/* Blog Nav Cards */
.blog-post-navigation {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 40px;
}

@media (max-width: 600px) {
    .blog-post-navigation {
        grid-template-columns: 1fr;
    }
}

.blog-nav-card {
    background: #6D7548;
    color: white;
    padding: 24px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
    transition: transform 0.3s;
}

.blog-nav-card:hover {
    transform: translateY(-5px);
}

.blog-nav-card.next {
    text-align: right;
    justify-content: flex-end;
}

.blog-nav-card .nav-text {
    flex: 1;
}

.blog-nav-card .meta {
    font-size: 0.75rem;
    opacity: 0.8;
    margin-bottom: 5px;
    display: block;
}

.blog-nav-card h4 {
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.3;
}

.blog-nav-card .nav-arrow {
    flex-shrink: 0;
}

.related-blogs-section {
    margin-top: 100px;
    border-top: 1px solid #eee;
    padding-top: 60px;
}


/* -------------------------------------
   Login Modal
-------------------------------------- */
.login-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.login-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.login-modal {
    background-color: #fff;
    width: 95%;
    max-width: 1200px;
    border-radius: 32px;
    display: flex;
    overflow: hidden;
    position: relative;
    transform: translateY(40px) scale(0.95);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.login-modal-overlay.active .login-modal {
    transform: translateY(0) scale(1);
}

.close-login {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(4px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dark);
    z-index: 10;
    transition: all 0.3s ease;
}

.close-login:hover {
    background: #fff;
    transform: rotate(90deg);
}

/* Left Side Styles */
.login-left {
    flex: 2;
    background-color: #7D8B3C;
    padding: clamp(30px, 5vw, 60px) 40px;
    color: #fff;
    display: none; /* Hidden on mobile */
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
}

@media (min-width: 768px) {
    .login-left {
        display: flex;
    }
}

.login-logo {
    margin-bottom: 40px;
}

/* Custom Hamper Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.modal-container {
    background-color: #fff;
    width: 90%;
    max-width: 600px;
    border-radius: 24px;
    padding: 40px;
    position: relative;
    transform: translateY(40px);
    transition: all 0.4s ease;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.modal-overlay.active .modal-container {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 32px;
    height: 32px;
    background: #f5f5f5;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: var(--primary-green);
    color: #fff;
}

.hamper-modal-header {
    margin-bottom: 24px;
    text-align: center;
}

.hamper-modal-header h2 {
    font-size: 1.8rem;
    color: var(--text-dark);
    margin: 10px 0;
}

.hamper-modal-header p {
    color: var(--text-light);
    font-size: 0.95rem;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-dark);
}

.form-group input, .form-group select, .form-group textarea {
    padding: 12px 16px;
    border: 1px solid #E8E5DD;
    border-radius: 12px;
    font-size: 0.9rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--primary-green);
}

.full-width {
    grid-column: 1 / -1;
}

.submit-request-btn {
    width: 100%;
    margin-top: 10px;
}

.custom-dropdown {
    position: relative;
    width: auto;
}

.hamper-dropdown {
    width: 100%;
}


.dropdown-selected {
    padding: 12px 16px;
    border: 1px solid #E8E5DD;
    border-radius: 18px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    font-size: 0.9rem;
    transition: border-color 0.3s ease;
}

.custom-dropdown.open .dropdown-selected {
    border-color: var(--primary-green);
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.dropdown-options {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #fff;
    border: 1px solid var(--primary-green);
    border-top: none;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    list-style: none;
    padding: 0;
    margin: 0;
    z-index: 10;
    max-height: 200px;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.custom-dropdown.open .dropdown-options {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-options li {
    padding: 12px 16px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: background 0.3s ease;
}

.dropdown-options li:hover {
    background: #fdfbf6;
    color: var(--primary-green);
}

@media (max-width: 600px) {
    .modal-container {
        padding: 30px 20px;
    }
}


.login-logo .logo-img {
    width: 120px;
    height: auto;
    object-fit: contain;
}

.login-left-title {
    font-size: clamp(2rem, 3.5vw, 3.2rem);
    color: #fff;
    margin-bottom: 50px;
    letter-spacing: 0.5px;
    font-weight: 700;
    line-height: 1;
}

.login-benefits {
    display: flex;
    flex-direction: row;
    gap: 16px;
    width: 100%;
    justify-content: center;
    align-items: stretch;
}

.benefit-card {
    background-color: #D9C985;
    padding: 35px 15px;
    border-radius: 20px;
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
    color: #1A200B;
    transition: transform 0.3s ease;
    min-width: 0;
}

.benefit-card:hover {
    transform: translateY(-8px);
}

.benefit-icon {
    width: 48px;
    height: 48px;
    background: #4D5628;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 6px;
}

.benefit-icon svg {
    width: 24px;
    height: 24px;
    color: #fff;
}

.benefit-card h3 {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 800;
    color: #1A200B;
    text-transform: none;
    line-height: 1.2;
}

.benefit-card p {
    font-size: 0.8rem;
    font-weight: 500;
    line-height: 1.4;
    color: #1A200B;
    opacity: 0.9;
}

/* Right Side Styles */
.login-right {
    flex: 1;
    padding: clamp(40px, 6vw, 80px) clamp(30px, 5vw, 60px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #fff;
}

.login-right-title {
    font-size: clamp(2rem, 2.5vw, 2.4rem);
    margin-bottom: 40px;
    line-height: 1.1;
    text-align: center;
    color: #1A200B;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.phone-input-group {
    display: flex;
    border: 1px solid #ccc;
    border-radius: 8px;
    overflow: hidden;
}

.phone-input-group:focus-within {
    border-color: #1A200B;
}

.country-code {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 20px;
    background: #fff;
    border-right: 1px solid #ccc;
    font-weight: 500;
    color: #333;
    font-size: 1.1rem;
}

.phone-input-group input {
    flex: 1;
    border: none;
    padding: 14px 20px;
    font-size: 1.1rem;
    font-family: inherit;
    outline: none;
    color: #333;
}

.checkbox-group {
    margin: 0;
    display: flex;
    justify-content: center;
}

.custom-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
}

.custom-checkbox input {
    width: 16px;
    height: 16px;
}

.custom-checkbox label {
    font-size: 0.9rem;
    color: #444;
}

.submit-btn {
    width: 100%;
    padding: 16px;
    background-color: #D3180C;
    border-radius: 50px;
    font-size: 1.4rem;
    font-weight: 800;
    margin-top: 10px;
    letter-spacing: 0.5px;
}

.login-footer-text {
    margin-top: 50px;
    text-align: center;
    font-size: 0.85rem;
    color: #444;
    line-height: 1.6;
}

.login-footer-text a {
    color: #1A200B;
    font-weight: 500;
    text-decoration: underline;
}

/* Mobile Adjustments */
@media (max-width: 767px) {
    .login-modal {
        flex-direction: column;
        width: 95%;
        max-height: 90vh;
        overflow-y: auto;
    }
    
    .login-right {
        padding: 40px 24px;
    }
    
    .login-benefits {
        flex-direction: column;
        align-items: stretch;
    }

    .benefit-card {
        padding: 20px;
    }
    
    .close-login {
        background: #f5f5f5;
        color: #333;
    }

}

/* -------------------------------------
   Profile Page
-------------------------------------- */
.profile-page {
    background-color: #FFFFFF;
}

.profile-main-title {
    font-size: clamp(1.5rem, 2vw, 2rem);
    color: var(--text-dark);
    margin: 40px 0 30px;
    text-transform: none;
    font-family: var(--font-body);
    font-weight: 600;
}

.profile-content-grid {
    display: flex;
    flex-direction: column;
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
}

.profile-card {
    background: #fff;
    border: 1px solid #E8E5DD;
    border-radius: 16px;
    padding: 30px;
    transition: box-shadow 0.3s ease;
}

.profile-card:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
}

.profile-card-header {
    margin-bottom: 20px;
}

.profile-user-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 10px;
    text-transform: none;
    font-family: var(--font-body);
}

.profile-section-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-transform: none;
    font-family: var(--font-body);
}

.mobile-only-profile-nav {
    display: none;
}

.edit-icon-small {
    color: #F87171; /* Reddish edit icon */
    cursor: pointer;
    display: inline-flex;
    align-items: center;
}

.add-link {
    font-size: 0.9rem;
    color: #F87171;
    font-weight: 600;
}

.profile-info-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.profile-info-group label {
    font-size: 0.9rem;
    color: #888;
    font-weight: 500;
}

.profile-info-value {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark);
}

.profile-address-box {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.default-tag {
    font-size: 0.9rem;
    color: #888;
    display: flex;
    align-items: center;
    gap: 10px;
}

.address-details p {
    font-size: 0.95rem;
    color: #444;
    line-height: 1.6;
    margin-bottom: 2px;
}

/* User Avatar Nav */
.user-profile-nav {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.user-avatar-circle {
    width: 36px;
    height: 36px;
    background-color: #D9C985;
    color: #1A200B;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
}

.nav-links a.active.underline {
    position: relative;
}

.nav-links a.active.underline::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--text-dark);

}

/* -------------------------------------
   Orders Page
-------------------------------------- */
.orders-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.orders-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.gallery-view-btn {
    background: #6D7548;
    color: #fff;
    border-radius: 50px;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 0.9rem;
    position: relative;
    cursor: pointer;
}

.gallery-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    width: 200px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    display: none;
    flex-direction: column;
    padding: 8px;
    z-index: 100;
}

.gallery-dropdown.active {
    display: flex;
}

.gallery-dropdown-item {
    padding: 12px 16px;
    border-radius: 8px;
    color: var(--text-dark);
    font-size: 0.9rem;
    font-weight: 500;
    transition: background 0.3s ease;
    text-align: left;
}

.gallery-dropdown-item:hover {
    background: #f5f5f5;
    color: var(--primary-green);
}

.orders-list.grid-view {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.order-gallery-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    border: 1px solid #f0f0f0;
}

.order-gallery-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.order-gallery-img {
    position: relative;
    aspect-ratio: 1;
    background: #f9f9f9;
}

.order-gallery-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.order-gallery-status {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--primary-green);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.order-gallery-info {
    padding: 16px;
}

.order-gallery-info h3 {
    font-size: 1rem;
    margin-bottom: 4px;
    color: var(--text-dark);
}

.order-gallery-info p {
    font-size: 0.85rem;
    color: var(--text-light);
}

.order-list-row {

    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 12px;
    padding: 12px 16px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: background 0.3s ease;
}

.order-list-row:hover {
    background: #fdfbf6;
}

.order-list-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.order-list-img {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    background: #f9f9f9;
}

.order-list-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.order-list-info h3 {
    font-size: 0.95rem;
    margin-bottom: 2px;
    color: var(--text-dark);
}

.order-list-info p {
    font-size: 0.8rem;
    color: var(--text-light);
}

.order-list-right {
    display: flex;
    align-items: center;
    gap: 24px;
}

.order-list-price {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text-dark);
    min-width: 100px;
    text-align: right;
}

.order-list-status-badge {
    padding: 4px 12px;
    background: #f0f4f0;
    color: var(--primary-green);
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    min-width: 90px;
    text-align: center;
}

.buy-again-btn-compact {
    padding: 6px 16px;
    background: var(--primary-green);
    color: #fff;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.buy-again-btn-compact:hover {
    opacity: 0.9;
}

@media (max-width: 768px) {
    .order-list-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    .order-list-right {
        width: 100%;
        justify-content: space-between;
        gap: 10px;
    }
    .order-list-price {
        text-align: left;
        min-width: auto;
    }
}


.filter-btn {

    background: #6D7548;
    color: #fff;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.order-card {
    background: #fff;
    border: 1px solid #E8E5DD;
    border-radius: 20px;
    max-width: 400px;
    overflow: hidden;
    margin-bottom: 40px;
}

.order-status-banner {
    background-color: #F7F3E9;
    padding: 15px 20px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.status-info {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #1A200B;
}

.status-text {
    font-weight: 700;
    font-size: 0.95rem;
}

.status-date {
    font-size: 0.85rem;
    color: #666;
    margin-top: 2px;
}

.order-card-content {
    padding: 20px;
}

.order-product-image {
    width: 100%;
    aspect-ratio: 1.2 / 1;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 15px;
}

.order-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.order-item-details {
    margin-bottom: 20px;
}

.order-qty {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 4px;
    text-transform: none;
    font-family: var(--font-body);
}

.order-id {
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 8px;
}

.order-price-bold {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
}

.buy-again-btn {
    width: 100%;
    padding: 14px;
    background-color: #6D7548;
    color: #fff;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    transition: background 0.3s ease;
}

.buy-again-btn:hover {
    background-color: #5A613B;
}

.policy-footer {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 60px;
}

.policy-footer a {
    font-size: 0.9rem;
    color: #6D7548;
    text-decoration: underline;
    font-weight: 500;

}

/* -------------------------------------
   Order Details Page
-------------------------------------- */
.order-detail-header {
    margin-bottom: 30px;
}

.back-link {
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.order-detail-title {
    font-size: clamp(1.2rem, 2vw, 1.6rem);
    font-weight: 700;
    text-transform: none;
    font-family: var(--font-body);
}

.order-detail-subtitle {
    font-size: 0.95rem;
    color: #666;
    margin-left: 40px;
}

.order-detail-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

@media (max-width: 900px) {
    .order-detail-grid {
        grid-template-columns: 1fr;
    }
}

.status-mini-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    margin-bottom: 24px;
}

.order-info-details-card {
    padding: 30px;
}

.info-details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

@media (max-width: 600px) {
    .info-details-grid {
        grid-template-columns: 1fr;
    }
}

.info-group h4 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-dark);
    text-transform: none;
    font-family: var(--font-body);
}

.info-group p {
    font-size: 0.9rem;
    color: #444;
    line-height: 1.6;
}

/* Right Column Styles */
.payment-note-card {
    margin-bottom: 24px;
}

.note-price {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 12px;
    text-transform: none;
    font-family: var(--font-body);
}

.note-text {
    font-size: 0.95rem;
    color: #444;
    line-height: 1.5;
    margin-bottom: 15px;
}

.note-subtext {
    font-size: 0.9rem;
    color: #444;
    line-height: 1.5;
}

.order-summary-detail-card {
    padding: 24px;
}

.summary-product-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
    margin-bottom: 20px;
}

.product-item-img-wrapper {
    position: relative;
    width: 64px;
    height: 64px;
    background: #6D7548;
    border-radius: 8px;
    overflow: visible;
}

.product-item-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.qty-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #666;
    color: #fff;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
}

.product-item-info {
    flex: 1;
}

.product-item-info h5 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 4px;
    text-transform: none;
    font-family: var(--font-body);
}

.product-item-info p {
    font-size: 0.85rem;
    color: #888;
}

.item-price {
    font-weight: 700;
    font-size: 0.95rem;
}

.summary-breakdown {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.breakdown-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.95rem;
    color: #444;
}

.total-row {
    margin-top: 10px;
    padding-top: 15px;
    border-top: 1px solid #eee;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
}

.currency-tag {
    font-size: 0.8rem;
    color: #888;
    font-weight: 500;
}

.tax-info {
    font-size: 0.8rem;
    color: #888;
    margin-top: 4px;
}

/* -------------------------------------
   Policy Pages (Refund, Shipping, Privacy, Terms)
-------------------------------------- */
.policy-hero {
    background: linear-gradient(to bottom, #fdfbf6, #f3f0e8);
    padding: clamp(30px, 5vw, 50px) 0 10px;
    text-align: center;
}

.policy-hero .hero-title {
    font-size: clamp(3rem, 6vw, 6.5rem);
    color: var(--primary-green);
    font-family: var(--font-heading);
    margin: 0;
    text-transform: uppercase;
}

.policy-content-section {
    padding: clamp(40px, 6vw, 80px) 0;
    background-color: #fff;
}

.policy-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.policy-content {
    font-size: clamp(1rem, 1.1vw, 1.125rem);
    line-height: 1.7;
    color: var(--text-dark);
}

.policy-content p {
    margin-bottom: 24px;
}

.policy-list {
    list-style: none;
    margin-bottom: 30px;
    padding-left: 20px;
}

.policy-list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 16px;
}

.policy-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 10px;
    width: 8px;
    height: 8px;
    background-color: var(--primary-green);
    border-radius: 50%;
}

.policy-sub-list {
    list-style: none;
    padding-left: 30px;
    margin: 15px 0;
}

.policy-sub-list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 12px;
}

.policy-sub-list li::before {
    background-color: var(--secondary-yellow);
}

.policy-content h3 {
    font-size: 1.5rem;
    margin: 40px 0 20px;
    color: var(--primary-green);
    text-transform: uppercase;
}

.policy-content strong {
    color: var(--text-dark);
}

.policy-footer-contact {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

@media (max-width: 768px) {
    .policy-hero {
        padding: 40px 0;
    }
    .policy-content {
        font-size: 0.95rem;
    }
}

/* -------------------------------------
   Dynamic Ecommerce States
-------------------------------------- */
.site-toast {
    position: fixed;
    left: 50%;
    bottom: 24px;
    z-index: 2500;
    transform: translate(-50%, 20px);
    opacity: 0;
    pointer-events: none;
    background: #1A200B;
    color: #fff;
    padding: 12px 18px;
    border-radius: 999px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
    font-size: 0.92rem;
    font-weight: 600;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.site-toast.active {
    opacity: 1;
    transform: translate(-50%, 0);
}

.site-toast.error {
    background: #8E2424;
}

.wishlist-count {
    position: absolute;
    top: -5px;
    right: -5px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 999px;
    background: #6D7548;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.68rem;
    font-weight: 800;
    line-height: 1;
    box-shadow: 0 0 0 2px #FFFFFF;
}

.search-panel-overlay {
    position: fixed;
    inset: 0;
    z-index: 2200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(14px, 3vw, 34px);
    background: rgba(26, 32, 11, 0.42);
    backdrop-filter: blur(8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.search-panel-overlay.active {
    opacity: 1;
    visibility: visible;
}

.search-panel {
    position: relative;
    width: min(1100px, 100%);
    max-height: min(820px, calc(100vh - 28px));
    overflow: auto;
    background: #FFFFFF;
    border: 1px solid #E8E5DD;
    border-radius: clamp(22px, 4vw, 36px);
    box-shadow: 0 28px 80px rgba(26, 32, 11, 0.28);
    padding: clamp(22px, 4vw, 44px);
    transform: translateY(18px) scale(0.98);
    transition: transform 0.25s ease;
}

.search-panel-overlay.active .search-panel {
    transform: translateY(0) scale(1);
}

.search-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    height: 9px;
    background: linear-gradient(90deg, #6D7548, #D9C985 48%, #8E2424);
}

.search-panel-close {
    position: absolute;
    top: 18px;
    right: 18px;
    z-index: 1;
    width: 42px;
    height: 42px;
    border: 1px solid #E8E5DD;
    border-radius: 50%;
    background: #fff;
    color: #1A200B;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.search-panel-top {
    max-width: 680px;
    padding-right: 52px;
    margin-bottom: 24px;
}

.search-kicker {
    display: inline-flex;
    margin-bottom: 10px;
    padding: 7px 12px;
    border-radius: 999px;
    background: #F7F3E9;
    color: #6D7548;
    font-size: 0.76rem;
    font-weight: 800;
    text-transform: uppercase;
}

.search-panel-top h2 {
    margin: 0 0 10px;
    color: #1A200B;
    font-family: var(--font-heading);
    font-size: clamp(2.4rem, 6vw, 5rem);
    line-height: 0.95;
}

.search-panel-top p {
    color: #5f614d;
    font-size: clamp(0.95rem, 1.4vw, 1.08rem);
    line-height: 1.6;
}

.search-input-shell {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 64px;
    margin-bottom: 18px;
    padding: 0 20px;
    border: 2px solid #6D7548;
    border-radius: 999px;
    background: #fff;
    color: #6D7548;
    box-shadow: 0 14px 32px rgba(109, 117, 72, 0.12);
}

.search-input-shell input {
    width: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    color: #1A200B;
    font-size: clamp(1rem, 2vw, 1.35rem);
    font-weight: 700;
}

.search-input-shell input::placeholder {
    color: #9c9b8c;
}

.search-chip-row {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 8px;
    margin-bottom: 14px;
    scrollbar-width: none;
}

.search-chip-row::-webkit-scrollbar {
    display: none;
}

.search-chip {
    flex: 0 0 auto;
    padding: 10px 15px;
    border: 1px solid #E0D8BE;
    border-radius: 999px;
    background: #fff;
    color: #5f614d;
    font-weight: 800;
    cursor: pointer;
}

.search-chip.active,
.search-chip:hover {
    border-color: #6D7548;
    background: #6D7548;
    color: #fff;
}

.search-panel-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin: 8px 0 18px;
    color: #777;
    font-size: 0.9rem;
    font-weight: 700;
}

.search-view-all {
    color: #8E2424;
    text-decoration: underline;
}

.search-results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
    gap: 16px;
}

.search-result-card {
    display: grid;
    grid-template-columns: 92px 1fr;
    gap: 14px;
    min-height: 132px;
    padding: 12px;
    border: 1px solid #E8E5DD;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(26, 32, 11, 0.06);
}

.search-result-img {
    display: block;
    width: 92px;
    height: 108px;
    overflow: auto;
    border-radius: 12px;
    background: #6D7548;
}

.search-result-info {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.search-result-info span {
    color: #8E2424;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
}

.search-result-info a {
    color: #1A200B;
    font-weight: 900;
    line-height: 1.25;
}

.search-result-info p {
    color: #6f705f;
    font-size: 0.82rem;
    line-height: 1.35;
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
}

.search-result-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
}

.search-result-actions strong {
    margin-right: auto;
    color: #1A200B;
    white-space: nowrap;
}

.search-wishlist-btn,
.search-add-btn {
    border: 0;
    cursor: pointer;
    font-weight: 800;
}

.search-wishlist-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #F7F3E9;
    color: #6D7548;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-wishlist-btn.active {
    background: #8E2424;
    color: #fff;
}

.search-add-btn {
    min-width: 58px;
    height: 36px;
    padding: 0 14px;
    border-radius: 999px;
    background: #6D7548;
    color: #fff;
}

.search-empty {
    grid-column: 1 / -1;
    padding: clamp(32px, 6vw, 64px);
    border: 1px dashed #D9C985;
    border-radius: 20px;
    background: #fff;
    text-align: center;
}

.search-empty h3 {
    margin-bottom: 8px;
    color: #1A200B;
    font-family: var(--font-body);
    text-transform: none;
}

.search-empty p {
    margin-bottom: 18px;
    color: #666;
}

.field-error,
.checkout-input.field-error {
    border-color: #C44536 !important;
    box-shadow: 0 0 0 3px rgba(196, 69, 54, 0.08);
}

.empty-state,
.cart-empty-state {
    width: 100%;
    padding: clamp(36px, 7vw, 72px) 20px;
    text-align: center;
    color: #666;
}

.empty-state h2,
.cart-empty-state h3 {
    margin-bottom: 10px;
    color: var(--text-dark);
    font-family: var(--font-body);
    font-size: clamp(1.2rem, 2vw, 1.5rem);
    text-transform: none;
}

.empty-state p,
.cart-empty-state p {
    margin-bottom: 20px;
}

.empty-state.compact {
    padding: 24px 10px;
}

.product-img-wrapper img,
.img-placeholder-large img,
.summary-item-img-wrap img,
.cart-item-img img,
.product-item-img-wrapper img,
.order-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-name-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.86);
    font-weight: 700;
    text-align: center;
    line-height: 1.25;
    padding: 16px;
}

.cart-empty-state {
    display: flex;
    min-height: 100%;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.check-dot {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    margin-right: 6px;
    border-radius: 50%;
    background: #2E7D32;
    color: #fff;
    font-size: 0.7rem;
    line-height: 1;
}

.discount-summary-row,
.discount-summary-row span {
    color: #2E7D32;
    font-weight: 700;
}

.shipping-method-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    text-align: left;
}

.shipping-method-option span {
    color: #666;
    font-size: 0.88rem;
}

.pay-now-btn:disabled,
.checkout-btn:disabled {
    cursor: not-allowed;
    opacity: 0.55;
}

.orders-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.orders-list .order-card {
    max-width: none;
    margin-bottom: 0;
}

.profile-actions {
    margin-top: 22px;
}

.logout-btn {
    border: 1px solid #E8E5DD;
    background: #FFFFFF;
    color: var(--text-dark);
    padding: 10px 16px;
    border-radius: 999px;
    font-weight: 700;
    cursor: pointer;
}

.logout-btn:hover {
    background: #F7F3E9;
}

.profile-card .profile-info-group + .profile-info-group {
    margin-top: 16px;
}

@media (max-width: 520px) {
    .site-toast {
        width: calc(100% - 32px);
        border-radius: 14px;
        text-align: center;
    }

    .shipping-method-option {
        align-items: flex-start;
        flex-direction: column;
        gap: 6px;
    }

    .search-panel {
        max-height: calc(100vh - 20px);
        padding: 22px 16px;
        border-radius: 22px;
    }

    .search-panel-top {
        padding-right: 46px;
    }

    .search-input-shell {
        min-height: 56px;
        padding: 0 16px;
    }

    .search-panel-meta {
        align-items: flex-start;
        flex-direction: column;
        gap: 6px;
    }

    .search-result-card {
        grid-template-columns: 82px 1fr;
        gap: 12px;
    }

    .search-result-img {
        width: 82px;
        height: 104px;
    }
}

/* Simple full-section search overlay */
.search-panel-overlay {
    align-items: stretch;
    justify-content: stretch;
    padding: 0;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(14px);
}

.search-panel {
    width: 100%;
    max-height: none;
    min-height: 100vh;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(28px, 5vw, 72px);
    overflow: hidden;
    transform: none;
}

.search-panel::before {
    display: none;
}

.search-panel-overlay.active .search-panel {
    transform: none;
}

.search-panel-close {
    top: clamp(28px, 5vw, 64px);
    right: clamp(28px, 5vw, 64px);
    width: 48px;
    height: 48px;
    border: 0;
    background: transparent;
    color: #888D98;
}

.search-panel-close svg {
    width: 34px;
    height: 34px;
    stroke-width: 3;
}

.search-panel-center {
    width: min(900px, 92vw);
    margin-top: 8vh;
    text-align: center;
}

.search-panel-center input {
    width: 100%;
    border: 0;
    border-bottom: 3px solid rgba(103, 122, 56, 0.34);
    outline: 0;
    background: transparent;
    color: var(--primary-green);
    text-align: center;
    font-size: clamp(2rem, 4.2vw, 4.25rem);
    font-weight: 800;
    line-height: 1.1;
    padding: 0 12px 24px;
}

.search-panel-center input::placeholder {
    color: rgba(103, 122, 56, 0.28);
    opacity: 1;
}

.search-panel-center p {
    margin-top: 28px;
    color: var(--text-light);
    font-size: clamp(0.78rem, 1vw, 1rem);
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.simple-search-results {
    display: none;
    width: min(780px, 100%);
    margin: 30px auto 0;
}

.simple-search-results.active {
    display: block;
}

.simple-search-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
    gap: 12px;
}

.simple-search-card {
    display: grid;
    grid-template-columns: 58px 1fr;
    gap: 12px;
    align-items: center;
    padding: 10px;
    border: 1px solid rgba(103, 122, 56, 0.16);
    border-radius: 14px;
    background: rgba(253, 251, 246, 0.92);
    text-align: left;
    box-shadow: 0 10px 24px rgba(26, 32, 11, 0.05);
}

.simple-search-card:hover {
    border-color: rgba(103, 122, 56, 0.42);
    background: #fff;
}

.simple-search-img {
    width: 58px;
    height: 58px;
    overflow: hidden;
    border-radius: 10px;
    background: var(--primary-green);
}

.simple-search-card span {
    display: block;
    margin-bottom: 2px;
    color: var(--secondary-yellow);
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
}

.simple-search-card strong {
    display: block;
    color: var(--text-dark);
    font-size: 0.92rem;
    line-height: 1.25;
}

.simple-search-card small {
    display: block;
    margin-top: 3px;
    color: var(--primary-green);
    font-weight: 800;
}

.simple-search-all {
    display: inline-flex;
    margin-top: 16px;
    color: var(--primary-green);
    font-size: 0.9rem;
    font-weight: 800;
    text-decoration: underline;
}

.simple-search-empty {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 18px;
    border: 1px dashed rgba(103, 122, 56, 0.28);
    border-radius: 14px;
    background: rgba(253, 251, 246, 0.82);
    color: var(--text-light);
}

.simple-search-empty strong {
    color: var(--text-dark);
}

@media (max-width: 520px) {
    .search-panel {
        padding: 24px;
    }

    .search-panel-close {
        top: 20px;
        right: 18px;
    }

    .search-panel-center {
        width: 100%;
        margin-top: 2vh;
    }

    .search-panel-center input {
        padding-bottom: 18px;
        font-size: clamp(1.75rem, 9vw, 2.8rem);
    }

    .search-panel-center input::placeholder {
        font-size: clamp(1.2rem, 6vw, 1.8rem);
    }
}

/* ==========================================================================
   MOBILE OPTIMIZATIONS (Only for Mobile View)
   ========================================================================== */

@media (max-width: 767px) {
    /* --- Profile Page Mobile Navigation --- */
    .mobile-only-profile-nav {
        display: block;
        margin-bottom: 24px;
    }

    .profile-nav-list {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .profile-nav-item {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 16px 20px;
        background: #fff;
        border: 1px solid #E8E5DD;
        border-radius: 12px;
        color: var(--text-dark);
        font-weight: 600;
        text-decoration: none;
        transition: all 0.2s ease;
    }

    .profile-nav-item:active {
        background: var(--bg-cream);
        border-color: var(--primary-green);
        transform: scale(0.98);
    }

    /* --- Hero Banner Mobile Optimization --- */
    .slide-1 {
        background: none !important;
        padding-top: 20px !important;
    }

    .mobile-only-hero-img {
        display: block !important;
        width: 100%;
        margin-top: 30px;
    }

    .hero {
        padding-top: 30px;
        padding-bottom: 60px;
        gap: 40px;
        text-align: center;
        align-items: center;
        flex-direction: column !important;
        width: 100%;
    }

    .hero-content {
        align-items: center !important;
        text-align: center !important;
        max-width: 100%;
        padding-right: 0;
        padding: 0 20px !important;
        margin: 0 auto !important;
        width: 100%;
        min-width: 0;
    }

    .hero-title {
        font-size: clamp(2.2rem, 10vw, 3.2rem);
        line-height: 1.1;
        margin-bottom: 16px;
        width: 100%;
        max-width: 340px;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-description {
        font-size: 1.05rem;
        margin-bottom: 24px;
        width: 100%;
        max-width: 290px;
        margin-left: auto;
        margin-right: auto;
        white-space: normal;
    }

    .hero-description br {
        display: none;
    }

    .hero-buttons {
        justify-content: center;
        width: 100%;
    }

    .hero-buttons .btn {
        width: 100%; /* Full width buttons for mobile accessibility */
        max-width: 280px;
    }

    .hero-image-wrapper {
        margin-top: 20px;
    }

    .hero-image-wrapper img {
        max-width: 300px !important;
        border-radius: 24px !important;
        transform: none !important; /* Reset any desktop translations */
        height: auto !important;
    }

    .hero-composition {
        background: none !important;
        padding: 0 !important;
        border-radius: 0 !important;
        display: block !important;
    }

    .hero-badge, .hero-deco {
        display: none !important;
    }

    .hero-nav-btn {
        display: none; /* Hide nav arrows on mobile, use dots/swipe */
    }

    .slider-dots {
        bottom: 15px;
    }

    /* --- Testimonials Mobile Optimization --- */
    .testimonials-wrapper {
        border-radius: 30px;
        padding: 80px 24px;
        min-height: 480px; /* Increased height as requested */
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .testimonials-content {
        width: 100%;
        min-width: 0;
    }

    .carousel-container {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        box-sizing: border-box;
    }

    .testi-slides-wrapper {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        box-sizing: border-box;
    }

    .quote-bg {
        font-size: 120px; /* Even smaller for less intrusion */
        opacity: 0.03; /* More subtle */
    }

    .testimonials-title {
        font-size: 1.8rem;
        margin-bottom: 8px;
        width: 100%; /* Ensure it can take full width and wrap naturally */
        max-width: 300px;
    }

    .testimonials-subtitle {
        margin-bottom: 40px;
    }

    .carousel-slide {
        padding: 0 10px;
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        max-width: 100% !important;
        min-width: 0;
        box-sizing: border-box !important;
    }

    .testimonial-text {
        font-size: 1.1rem;
        line-height: 1.6;
        margin-bottom: 20px;
        text-align: center;
        width: 100%;
    }

    .testimonial-author {
        flex-direction: column; /* Stack stars and name */
        gap: 8px;
        text-align: center;
    }

    .testimonial-author .stars {
        font-size: 1.2rem;
        margin-bottom: 4px;
    }

    .testimonial-text br {
        display: none;
    }

    .carousel-btn {
        display: none; /* Hide arrows on mobile testimonials */
    }

    /* --- Memories (Video Carousel) Mobile Optimization --- */
    .video-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 16px;
        padding: 10px 5px 30px 5px;
        margin: 0 -20px; /* Negative margin to bleed to edges */
        padding-left: 20px;
        padding-right: 20px;
        scrollbar-width: none; /* Firefox */
        -ms-overflow-style: none; /* IE/Edge */
    }

    .video-grid::-webkit-scrollbar {
        display: none; /* Chrome/Safari */
    }

    .video-card {
        flex: 0 0 75%; /* Show part of next card to hint at carousel */
        scroll-snap-align: center;
        aspect-ratio: 9 / 16;
        height: auto;
    }
}

/* Extra small mobile adjustments */
@media (max-width: 480px) {
    .hero-title {
        font-size: 2.2rem;
    }
    
    .video-card {
        flex: 0 0 85%;
    }
}

.testimonials-section.section-padding {
    padding-bottom: clamp(30px, 6vw, 80px);
}

.memories-section.section-padding {
    padding-top: clamp(30px, 6vw, 80px);
}

/* Product Hover Overlay (Bottom Solid) */
.product-img-wrapper {
    position: relative;
    overflow: hidden;
}

.product-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 15px;
    background: linear-gradient(to top, rgba(0,0,0,0.4), transparent);
    display: flex;
    flex-direction: row; /* Horizontal alignment at the bottom */
    align-items: center;
    justify-content: center;
    gap: 10px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 10;
}

.product-card:hover .product-overlay {
    opacity: 1;
    visibility: visible;
}

.overlay-btn {
    background: #FFFFFF;
    border: none;
    color: #333;
    padding: 10px 15px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.3s ease;
    transform: translateY(10px);
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    flex: 1;
    justify-content: center;
    white-space: nowrap;
}

.product-card:hover .overlay-btn {
    transform: translateY(0);
}

.overlay-btn:hover {
    background: var(--primary-green);
    color: white;
}

.overlay-btn svg {
    width: 16px;
    height: 16px;
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: clamp(20px, 4vw, 40px);
    right: clamp(20px, 4vw, 40px);
    width: clamp(50px, 6vw, 65px);
    height: clamp(50px, 6vw, 65px);
    background-color: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 9999;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: wa-pulse 2s infinite;
}

.whatsapp-float svg {
    width: 60%;
    height: 60%;
}

.whatsapp-float:hover {
    transform: scale(1.1) translateY(-5px);
    background-color: #128C7E;
    box-shadow: 0 8px 30px rgba(18, 140, 126, 0.5);
}

@keyframes wa-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Adjust for mobile to not overlap with other elements if necessary */
@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
    }
}

/* -------------------------------------
   Preloader Styles
-------------------------------------- */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--primary-green);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100000;
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.8s;
}

.preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.preloader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.preloader-logo {
    width: clamp(120px, 15vw, 180px);
    height: auto;
    animation: preloader-bounce 2s ease-in-out infinite;
}

.preloader-bar-container {
    width: 120px;
    height: 4px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.preloader-bar {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--secondary-yellow);
    animation: preloader-progress 2s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}

@keyframes preloader-bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

@keyframes preloader-progress {
    0% { left: -100%; }
    50% { left: 0; }
    100% { left: 100%; }
}

/* Ensure body is hidden while loading to prevent flash */
body.is-loading {
    overflow: hidden;
}

/* Breadcrumb Left Alignment for Product Detail */
.product-detail-page .breadcrumb {
    text-align: left;
}

/* Related Products Carousel Styles */
#relatedProductsGrid {
    display: flex !important;
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    gap: 24px;
    padding: 10px 5px;
    margin-bottom: 0;
}

#relatedProductsGrid::-webkit-scrollbar {
    display: none;
}

#relatedProductsGrid .product-card {
    width: calc((100% - 48px) / 3); /* 3 cards on tablet/small desktop */
    flex-shrink: 0;
    scroll-snap-align: start;
    min-width: 280px;
}

@media (min-width: 1200px) {
    #relatedProductsGrid .product-card {
        width: calc((100% - 72px) / 4); /* Exactly 4 cards on desktop */
        min-width: unset;
    }
}

@media (min-width: 1440px) {
    #relatedProductsGrid .product-card {
        flex: 0 0 calc((100% - 72px) / 4); /* Exactly 4 cards with 24px gaps */
        min-width: unset;
    }
}

@media (max-width: 768px) {
    #relatedProductsGrid .product-card {
        width: calc(100% - 40px); /* Almost full width on mobile */
        min-width: unset;
    }
}

/* Fallback for when 4 or fewer items */
.carousel-outer.no-carousel {
    padding: 0 !important;
}

.carousel-outer.no-carousel .product-grid {
    display: grid !important;
    grid-template-columns: repeat(1, 1fr) !important;
    gap: 24px !important;
    overflow-x: visible !important;
}

@media (min-width: 600px) {
    .carousel-outer.no-carousel .product-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (min-width: 1024px) {
    .carousel-outer.no-carousel .product-grid {
        grid-template-columns: repeat(4, 1fr) !important;
    }
}

.carousel-outer.no-carousel .product-grid .product-card {
    width: 100% !important;
    min-width: unset !important;
    flex: unset !important;
}
@media (max-width: 600px) {
    .hero-content{padding: 0 !important;}
}