/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-green: #2d5a3d;
    --accent-gold: #c8a47e;
    --text-dark: #333333;
    --text-light: #666;
    --bg-light: #fdfcfa;
    --white: #ffffff;
    --border-color: #e5e5e5;
    --surface-soft: rgba(255, 255, 255, 0.88);
    --focus-ring: 0 0 0 3px rgba(45, 90, 61, 0.16);
    --heading-font: 'Playfair Display', serif;
    --body-font: 'Lato', sans-serif;
    
    /* Premium enhancements */
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.04);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 24px rgba(0,0,0,0.12);
    --shadow-xl: 0 16px 48px rgba(0,0,0,0.16);
    --transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: var(--body-font);
    color: var(--text-dark);
    line-height: 1.7;
    background-color: var(--bg-light);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    scroll-behavior: smooth;
}

a,
button,
input,
select,
textarea {
    -webkit-tap-highlight-color: transparent;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: none;
    box-shadow: var(--focus-ring);
}

/* Premium scrollbar */
::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}

::-webkit-scrollbar-track {
    background: var(--bg-light);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--primary-green), var(--accent-gold));
    border-radius: 10px;
    border: 3px solid var(--bg-light);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #1e3d29, var(--accent-gold));
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Product page variation selector */
.variation-selector {
    margin-bottom: 1.5rem;
}

.variation-label {
    display: block;
    font-weight: bold;
    color: #333;
    margin-bottom: 0.75rem;
}

.variation-options {
    display: flex;
    gap: 0.75rem;
}

.variation-option {
    flex: 1;
    background: #fff;
    border: 1px solid #ddd;
    padding: 0.75rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.9rem;
    border-radius: 3px;
}

.variation-option.selected {
    border-color: #1a1a1a;
    background-color: #f5f5f5;
    box-shadow: 0 0 0 1px #1a1a1a;
}

.variation-option:hover:not(.selected) {
    border-color: #888;
}

@media (max-width: 480px) {
    .variation-options {
        flex-direction: column;
    }
}

/* Typography with enhanced kerning */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    color: var(--primary-green);
    font-weight: 400;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

/* --- NAVIGATION --- */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: #ffffff;
    box-shadow: 0 1px 0 rgba(45,90,61,0.08), 0 2px 12px rgba(0,0,0,0.04);
    border-bottom: 1px solid rgba(45,90,61,0.07);
    z-index: 1000;
    transition: box-shadow 0.35s ease, transform 0.38s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

nav.scrolled {
    box-shadow: 0 1px 0 rgba(45,90,61,0.1), 0 4px 20px rgba(0,0,0,0.07);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

/* Three-column centered layout */
.nav-left, .nav-right {
    display: flex;
    align-items: center;
    gap: 1.75rem;
    flex: 1;
}
.nav-right {
    justify-content: flex-end;
}

/* Shared nav link style */
/* Coming Soon badge */
.soon-badge {
    display: inline-block;
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    background: var(--primary-green);
    color: #fff;
    border-radius: 20px;
    padding: 1px 6px;
    vertical-align: middle;
    margin-left: 4px;
    position: relative;
    top: -1px;
    opacity: 0.85;
}

.nav-left .nav-link,
.nav-right .nav-link,
.nav-left > a,
.nav-right > a:not(.cart-link) {
    text-decoration: none;
    color: var(--text-dark);
    font-family: var(--body-font);
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    position: relative;
    padding: 0.3rem 0;
    transition: color 0.22s ease;
    background: none;
    border: none;
    border-radius: 0;
    box-shadow: none;
    white-space: nowrap;
}
.nav-left .nav-link::after,
.nav-right .nav-link::after,
.nav-left > a:not(.nav-item)::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--primary-green);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.28s cubic-bezier(0.4,0,0.2,1);
}
.nav-left .nav-link:hover::after,
.nav-right .nav-link:hover::after,
.nav-left > a:not(.nav-item):hover::after {
    transform: scaleX(1);
}
.nav-left .nav-link:hover,
.nav-right .nav-link:hover,
.nav-left > a:hover {
    color: var(--primary-green);
}

/* Search toggle button */
.search-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.3rem;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    transition: color 0.2s ease;
}
.search-toggle:hover { color: var(--primary-green); }

/* Search overlay — absolutely positioned so it never affects nav height */
.search-overlay {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    background: var(--bg-light);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity 0.22s ease, visibility 0.22s ease, transform 0.22s ease;
    pointer-events: none;
    z-index: 999;
}
.search-overlay.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}
.search-overlay-inner {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.9rem 0;
}
.search-input {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 1rem;
    font-family: var(--heading-font);
    font-style: italic;
    color: var(--text-dark);
    outline: none;
    padding: 0.25rem 0;
}
.search-input::placeholder { color: var(--text-light); font-style: italic; }
.search-close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.3rem;
    color: var(--text-light);
    display: flex;
    align-items: center;
    transition: color 0.2s ease;
}
.search-close:hover { color: var(--text-dark); }

/* Mobile nav panel */
.mobile-nav-panel {
    display: none;
    flex-direction: column;
    background: white;
    border-top: 1px solid var(--border-color);
    padding: 1rem 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4,0,0.2,1);
}
.mobile-nav-panel.active {
    display: flex;
    max-height: 600px;
}
.mobile-nav-panel > a,
.mobile-nav-panel .nav-item > a {
    text-decoration: none;
    color: var(--text-dark);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.85rem 1.5rem;
    border-bottom: 1px solid rgba(0,0,0,0.04);
    transition: color 0.2s ease;
}
.mobile-nav-panel > a:hover { color: var(--primary-green); }

/* Legacy nav-links selector — keep for other pages */
.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}
.nav-links > a, .nav-item {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: all 0.25s ease;
    padding: 0.4rem 0;
    position: relative;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}
.nav-links a { text-decoration: none; color: var(--text-dark); }

/* Underline animation — excluded on cart & account */
.nav-links > a:not(#account-link):not(.cart-link)::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 1.5px;
    background: var(--primary-green);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 2px;
}

.nav-links > a:not(#account-link):not(.cart-link):hover {
    color: var(--primary-green);
}

.nav-links > a:not(#account-link):not(.cart-link):hover::after,
.nav-links > a:not(#account-link):not(.cart-link).active::after {
    transform: scaleX(1);
}

.nav-links > a.active:not(#account-link):not(.cart-link),
.nav-item > .nav-link.active {
    color: var(--primary-green);
}

.nav-item {
    display: flex;
    align-items: center;
}

/* Shop dropdown chevron */
.nav-item.dropdown > .nav-link {
    display: flex;
    align-items: center;
    gap: 4px;
}
.nav-item.dropdown > .nav-link::after {
    content: '';
    display: inline-block;
    width: 5px;
    height: 5px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg) translate(-1px, -2px);
    transition: transform 0.22s ease, border-color 0.22s ease;
    flex-shrink: 0;
    margin-bottom: -2px;
}
.nav-item.dropdown:hover > .nav-link::after {
    transform: rotate(-135deg) translate(-1px, -2px);
    border-color: var(--primary-green);
}
.nav-item.dropdown:hover > .nav-link {
    color: var(--primary-green);
}

.logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
    text-decoration: none;
    transition: opacity 0.25s ease;
    flex-shrink: 0;
}

.logo:hover {
    opacity: 0.75;
}

.logo-text {
    font-family: var(--body-font);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--primary-green);
    letter-spacing: 0.38em;
    text-transform: uppercase;
    margin-left: 0;
    display: block;
}

.logo img {
    display: block;
    height: 57px;
    width: auto;
    object-fit: contain;
}

/* Mobile Menu Enhancement */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
    padding: 8px;
}

.mobile-menu-toggle .hamburger {
    width: 24px;
    height: 2px;
    background: var(--text-dark);
    position: relative;
    transition: all 0.3s var(--transition-smooth);
}

.mobile-menu-toggle .hamburger::before,
.mobile-menu-toggle .hamburger::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background: var(--text-dark);
    left: 0;
    transition: all 0.3s var(--transition-smooth);
}

.mobile-menu-toggle .hamburger::before {
    top: -8px;
}

.mobile-menu-toggle .hamburger::after {
    bottom: -8px;
}

.mobile-menu-toggle.open .hamburger {
    background: transparent;
}

.mobile-menu-toggle.open .hamburger::before {
    transform: rotate(45deg);
    top: 0;
}

.mobile-menu-toggle.open .hamburger::after {
    transform: rotate(-45deg);
    bottom: 0;
}

/* ── Search Suggestions Dropdown ── */
.search-suggestions {
    display: none;
    background: white;
    border-top: 1px solid var(--border-color);
    box-shadow: 0 16px 40px rgba(0,0,0,0.09);
    max-height: 380px;
    overflow-y: auto;
}
.search-suggestions.visible {
    display: block;
}
.search-suggestion-header {
    padding: 0.6rem 2rem;
    font-size: 0.62rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--text-light);
    font-weight: 700;
    background: var(--bg-light);
    border-bottom: 1px solid var(--border-color);
}
.search-suggestion-item {
    display: flex;
    align-items: center;
    padding: 0.75rem 2rem;
    gap: 1rem;
    cursor: pointer;
    text-decoration: none;
    color: var(--text-dark);
    transition: background 0.15s ease;
    border-bottom: 1px solid rgba(0,0,0,0.03);
}
.search-suggestion-item:last-child { border-bottom: none; }
.search-suggestion-item:hover { background: rgba(45,90,61,0.04); }
.search-suggestion-popular {
    gap: 0.85rem;
    padding: 0.65rem 2rem;
}
.search-suggestion-popular svg { flex-shrink: 0; color: var(--text-light); }
.search-suggestion-img {
    width: 44px;
    height: 44px;
    object-fit: cover;
    border-radius: 6px;
    flex-shrink: 0;
    background: var(--bg-light);
}
.search-suggestion-info { flex: 1; min-width: 0; }
.search-suggestion-name {
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-dark);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.search-suggestion-name mark {
    background: none;
    color: var(--primary-green);
    font-weight: 700;
}
.search-suggestion-meta {
    font-size: 0.72rem;
    color: var(--text-light);
    margin-top: 2px;
}
.search-suggestion-price {
    font-size: 0.82rem;
    color: var(--primary-green);
    font-weight: 500;
    flex-shrink: 0;
}
.search-suggestion-empty {
    padding: 1.5rem 2rem;
    font-size: 0.88rem;
    color: var(--text-light);
    text-align: center;
    font-style: italic;
}

/* ── Loading Screen ── */
#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-green);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.8s ease, transform 0.8s ease;
    transform: translateY(0);
}

#loading-screen.hide {
    opacity: 0;
    transform: translateY(-30px);
    pointer-events: none;
}

.loading-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
    animation: loadingReveal 0.9s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    opacity: 0;
}

@keyframes loadingReveal {
    0%   { opacity: 0; transform: translateY(16px); }
    100% { opacity: 1; transform: translateY(0); }
}

.loading-logo {
    width: 72px;
    height: 72px;
    object-fit: contain;
}

.loading-name {
    color: rgba(255, 255, 255, 0.9);
    font-family: var(--body-font);
    font-size: 0.95rem;
    letter-spacing: 0.5em;
    font-weight: 300;
}

.loading-bar {
    width: 40px;
    height: 1px;
    background: rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
    border-radius: 1px;
}

.loading-bar::after {
    content: '';
    position: absolute;
    left: -100%;
    top: 0;
    height: 100%;
    width: 100%;
    background: rgba(255, 255, 255, 0.8);
    animation: loadingBar 1.4s ease forwards;
    animation-delay: 0.3s;
}

@keyframes loadingBar {
    0%   { left: -100%; }
    100% { left: 100%; }
}

/* Enhanced Hero Section — Full Bleed */
.hero {
    margin-top: 0;
    padding-top: 0;
    height: 88vh;
    min-height: 560px;
    position: relative;
    overflow: hidden;
}

/* Gradient overlay: dark at bottom for text legibility */
.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0.08) 0%,
        rgba(0,0,0,0.0) 35%,
        rgba(0,0,0,0.45) 100%
    );
    z-index: 1;
    pointer-events: none;
}

.hero-slideshow {
    position: absolute;
    inset: 0;
}

.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center 40%;
    opacity: 0;
    transition: opacity 1.4s ease;
    filter: saturate(0.82) hue-rotate(5deg) brightness(0.97);
}

.hero-slide.active { opacity: 1; }

/* Text at bottom-center */
.hero-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2;
    text-align: center;
    padding: 0 2rem 4rem;
    animation: heroTextReveal 1.1s var(--transition-smooth) forwards;
    opacity: 0;
    transform: translateY(20px);
}

.hero-eyebrow {
    font-family: var(--body-font);
    font-size: 0.68rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.65);
    margin-bottom: 1rem;
}

.hero h1 {
    font-size: clamp(2.2rem, 4.5vw, 4rem);
    line-height: 1.15;
    margin-bottom: 0.9rem;
    color: white;
    font-weight: 400;
}

.hero-sub {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.72);
    line-height: 1.75;
    max-width: 420px;
    margin: 0 auto 1.75rem;
    font-weight: 300;
}

/* Hero CTA — outlined white on dark */
.hero-cta {
    background: transparent !important;
    border: 1px solid rgba(255,255,255,0.6) !important;
    color: white !important;
    letter-spacing: 0.15em;
}
.hero-cta:hover {
    background: white !important;
    border-color: white !important;
    color: var(--text-dark) !important;
    box-shadow: none !important;
}

@keyframes heroTextReveal {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Premium CTA Button */
.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, var(--primary-green), #1e3d29);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 500;
    transition: all 0.4s var(--transition-smooth);
    margin-top: 2rem;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.05em;
    box-shadow: 0 4px 15px rgba(45, 90, 61, 0.2);
}

.cta-button::before {
    display: none;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(45, 90, 61, 0.25);
    background: linear-gradient(135deg, #1e3d29, var(--primary-green));
}

/* ── Best Sellers ── */
.best-sellers {
    padding: 6rem 0;
    background: var(--bg-light);
    position: relative;
}

.best-sellers::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-color), transparent);
}

.best-sellers .small-title {
    color: var(--accent-gold);
}

/* Carousel wrapper — full width, arrows sit at edges */
.bs-carousel {
    position: relative;
    padding: 0 3.5rem;
}

.bs-viewport {
    overflow: hidden;
}

.bs-track {
    display: flex;
    gap: 1.5rem;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

/* ── Card ── */
.bs-card {
    flex: 0 0 calc((100% - 3 * 1.5rem) / 4);
    position: relative;
    cursor: pointer;
    background: white;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform 0.35s var(--transition-smooth), box-shadow 0.35s var(--transition-smooth);
}

.bs-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

/* ── Image ── */
.bs-card-image {
    position: relative;
    overflow: hidden;
    height: 340px;
    background: var(--bg-light);
}

.bs-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s var(--transition-smooth);
}

.bs-card:hover .bs-card-image img {
    transform: scale(1.05);
}

.bs-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 1;
    background: linear-gradient(135deg, var(--accent-gold), #a0784a);
    color: #fff;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 2px;
}

/* ── Card text ── */
.bs-card-body {
    padding: 1.5rem 1.6rem 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.bs-card-header-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 0.5rem;
}

.bs-card-name {
    font-family: var(--heading-font);
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--text-dark);
    margin: 0;
    line-height: 1.35;
}

.bs-card-price {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--primary-green);
    white-space: nowrap;
    flex-shrink: 0;
}

.bs-card-subtitle {
    font-size: 0.9rem;
    color: var(--text-light);
    margin: 0;
    line-height: 1.65;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.bs-card-notes {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    color: var(--accent-gold);
    margin: 0.15rem 0 0.2rem;
}

/* View Product button — slides up on card hover */
.bs-add-btn {
    display: inline-block;
    margin-top: 0.6rem;
    padding: 0.7rem 1.5rem;
    background: linear-gradient(135deg, var(--primary-green), #1e3d29);
    color: #fff;
    border: 2px solid transparent;
    border-radius: 50px;
    font-family: var(--body-font);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.3s ease, transform 0.3s ease,
                background 0.3s ease, border-color 0.3s ease,
                color 0.3s ease, box-shadow 0.3s ease, letter-spacing 0.3s ease;
    box-shadow: 0 4px 15px rgba(45, 90, 61, 0.2);
    align-self: flex-start;
    position: relative;
    overflow: hidden;
}

/* Ripple fill on hover */
.bs-add-btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.12);
    border-radius: inherit;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s ease;
}

.bs-add-btn:hover::after {
    transform: scaleX(1);
}

.bs-card:hover .bs-add-btn {
    opacity: 1;
    transform: translateY(0);
}

.bs-add-btn:hover {
    background: linear-gradient(135deg, var(--accent-gold), #a0784a);
    border-color: transparent;
    box-shadow: 0 10px 28px rgba(200, 164, 126, 0.45);
    transform: translateY(-2px);
    letter-spacing: 2px;
}

/* ── Floating side arrows ── */
.bs-arrow {
    position: absolute;
    top: calc(50% - 3.5rem);
    background: white;
    border: 1px solid var(--border-color);
    color: var(--text-dark);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    transition: background 0.25s, color 0.25s, box-shadow 0.25s;
    z-index: 10;
}

.bs-arrow:hover:not(:disabled) {
    background: var(--primary-green);
    border-color: var(--primary-green);
    color: #fff;
    box-shadow: var(--shadow-lg);
}

.bs-arrow:disabled {
    opacity: 0;
    pointer-events: none;
}

.bs-prev {
    left: 0.5rem;
}

.bs-next {
    right: 0.5rem;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
    .bs-card {
        flex: 0 0 calc((100% - 2 * 1.5rem) / 3);
    }
}

@media (max-width: 700px) {
    .bs-carousel {
        padding: 0 2.5rem;
    }

    .bs-card {
        flex: 0 0 calc((100% - 1.5rem) / 2);
    }
}

@media (max-width: 440px) {
    .bs-carousel {
        padding: 0 2rem;
    }

    .bs-card {
        flex: 0 0 100%;
    }

    .bs-card-image {
        height: 260px;
    }
}


/* --- Slide-Out Cart Drawer --- */
/* ═══════════════════════════════════════════
   CART DRAWER — MODERNIZED
   ═══════════════════════════════════════════ */

.cart-drawer {
    position: fixed;
    top: 0;
    right: -520px;
    width: 500px;
    height: 100%;
    background: #ffffff;
    box-shadow: -2px 0 6px rgba(0,0,0,0.04), -8px 0 32px rgba(0,0,0,0.1);
    z-index: 1100;
    display: flex;
    flex-direction: column;
    transition: right 0.42s cubic-bezier(0.4, 0, 0.2, 1);
}

.cart-drawer.open {
    right: 0;
}

@media (max-width: 768px) {
    .cart-drawer {
        width: 92%;
        right: -92%;
    }
    .cart-drawer.open {
        right: 0;
    }
}

/* Backdrop */
.cart-drawer-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(20, 20, 20, 0.3);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    z-index: 1099;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}
.cart-drawer-overlay.open {
    opacity: 1;
    visibility: visible;
}

/* ── Header ── */
.cart-drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 1.5rem;
    border-bottom: 1px solid var(--border-color);
    flex-shrink: 0;
}
.cart-drawer-header h3 {
    font-family: var(--heading-font);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 0.6rem;
    letter-spacing: 0.01em;
}
.cart-header-count {
    background: var(--primary-green);
    color: white;
    font-family: var(--body-font);
    font-size: 0.65rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 50px;
    line-height: 1.5;
    letter-spacing: 0.02em;
}
.close-cart-btn {
    width: 32px;
    height: 32px;
    background: rgba(0,0,0,0.05);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 1.05rem;
    font-weight: 400;
    line-height: 1;
    transition: background 0.2s, color 0.2s;
}
.close-cart-btn:hover {
    background: rgba(0,0,0,0.1);
    color: var(--text-dark);
}

/* ── Shipping Progress ── */
.cart-shipping-progress {
    padding: 0.85rem 1.5rem;
    border-bottom: 1px solid var(--border-color);
    background: rgba(45,90,61,0.03);
    flex-shrink: 0;
}
.cart-shipping-progress p {
    margin: 0 0 0.5rem;
    font-size: 0.8rem;
    color: var(--text-light);
    font-weight: 500;
    line-height: 1.4;
}
.cart-shipping-progress p strong,
.cart-shipping-progress p b {
    color: var(--primary-green);
    font-weight: 700;
}
.progress-bar-container {
    width: 100%;
    height: 5px;
    background: rgba(0,0,0,0.08);
    border-radius: 50px;
    overflow: hidden;
}
.progress-bar {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--primary-green), var(--accent-gold));
    border-radius: 50px;
    transition: width 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}
#shipping-progress-bar {
    background: linear-gradient(90deg, var(--primary-green), var(--accent-gold));
}
.premium-progress-container { margin-top: 0; }

/* ── Items Scroll Area ── */
.cart-drawer-items {
    flex-grow: 1;
    overflow-y: auto;
    padding: 0.25rem 0;
    scrollbar-width: thin;
    scrollbar-color: rgba(0,0,0,0.1) transparent;
}
.cart-drawer-items::-webkit-scrollbar { width: 3px; }
.cart-drawer-items::-webkit-scrollbar-track { background: transparent; }
.cart-drawer-items::-webkit-scrollbar-thumb {
    background: rgba(0,0,0,0.1);
    border-radius: 3px;
}

/* ── Cart Item ── */
.cart-drawer-item {
    display: flex;
    gap: 0.9rem;
    align-items: flex-start;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid rgba(0,0,0,0.045);
    transition: background 0.15s;
}
.cart-drawer-item:last-child { border-bottom: none; }
.cart-drawer-item:hover { background: rgba(45,90,61,0.02); }

.cart-drawer-item-img {
    width: 88px;
    height: 88px;
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid rgba(0,0,0,0.06);
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
}

.cart-drawer-item-details {
    flex-grow: 1;
    min-width: 0;
}
.cart-drawer-item-details h4 {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.2rem;
    line-height: 1.35;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.cart-drawer-item-details .price {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--primary-green);
    margin-bottom: 0.5rem;
}
.cart-drawer-item-details .variant {
    font-size: 0.75rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

/* Qty stepper pill */
.cart-drawer-item-qty {
    display: inline-flex;
    align-items: center;
    background: rgba(0,0,0,0.05);
    border-radius: 50px;
    padding: 2px;
    gap: 0;
    border: none;
}
.cart-drawer-item-qty button {
    width: 26px;
    height: 26px;
    background: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s, color 0.15s;
    line-height: 1;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}
.cart-drawer-item-qty button:hover {
    background: var(--primary-green);
    color: white;
}
.cart-drawer-item-qty input {
    width: 28px;
    text-align: center;
    border: none;
    background: transparent;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-dark);
    font-family: var(--body-font);
    -moz-appearance: textfield;
    appearance: textfield;
}
.cart-drawer-item-qty input::-webkit-outer-spin-button,
.cart-drawer-item-qty input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Remove button */
.remove-item {
    background: none;
    border: none;
    cursor: pointer;
    width: 28px;
    height: 28px;
    border-radius: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #bbb;
    font-size: 1rem;
    flex-shrink: 0;
    margin-top: 1px;
    transition: color 0.15s, background 0.15s;
    padding: 0;
}
.remove-item:hover {
    color: #e53935;
    background: rgba(229,57,53,0.07);
}
.remove-item img { display: none; }

/* ── Footer ── */
.cart-drawer-footer {
    padding: 1.1rem 1.5rem 1.35rem;
    border-top: 1px solid var(--border-color);
    background: white;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}
.cart-subtotal {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}
.cart-subtotal span:first-child {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    font-weight: 600;
    color: var(--text-light);
}
.cart-subtotal span:last-child {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    font-family: var(--heading-font);
}

/* Checkout button inside drawer — override inline styles */
.cart-drawer-footer .cta-button,
.cart-drawer-footer a.cta-button {
    display: block !important;
    width: 100% !important;
    text-align: center !important;
    padding: 14px 20px !important;
    background: linear-gradient(135deg, var(--primary-green) 0%, #1a3622 100%) !important;
    color: white !important;
    border-radius: 12px !important;
    font-size: 0.8rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.1em !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
    box-shadow: 0 4px 16px rgba(45,90,61,0.22) !important;
    box-sizing: border-box !important;
}
.cart-drawer-footer .cta-button:hover,
.cart-drawer-footer a.cta-button:hover {
    transform: translateY(-1px) !important;
    box-shadow: 0 6px 22px rgba(45,90,61,0.3) !important;
}

/* Secure note */
.cart-secure-note {
    text-align: center;
    font-size: 0.72rem;
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    letter-spacing: 0.01em;
}

/* Empty cart state */
.cart-drawer-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 2rem 1.5rem;
    text-align: center;
    gap: 0.75rem;
}
.cart-drawer-empty-icon {
    width: 56px;
    height: 56px;
    background: rgba(45,90,61,0.07);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem;
}
.cart-drawer-empty-icon svg {
    width: 26px;
    height: 26px;
    stroke: var(--primary-green);
    fill: none;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.cart-drawer-empty h4 {
    font-family: var(--heading-font);
    font-size: 1.15rem;
    color: var(--text-dark);
    font-weight: 700;
}
.cart-drawer-empty p {
    font-size: 0.875rem;
    color: var(--text-light);
    line-height: 1.55;
}
.cart-drawer-empty a {
    display: inline-block;
    margin-top: 0.5rem;
    padding: 10px 24px;
    background: var(--primary-green);
    color: white;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    letter-spacing: 0.03em;
    transition: background 0.2s;
}
.cart-drawer-empty a:hover { background: #1a3622; }

@media (max-width: 768px) {
}

/* Enhanced Tea Showcase Section */
.tea-showcase {
    padding: 6rem 0;
    background: white;
    position: relative;
}

.tea-showcase::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-color), transparent);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 0.8s var(--transition-smooth) forwards;
}

.section-header h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 2px;
    background: var(--accent-gold);
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.8;
}

.tea-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

/* Premium Tea Cards */
.tea-card {
    position: relative;
    height: 380px;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.5s var(--transition-smooth);
    background-size: cover;
    background-position: center;
    box-shadow: var(--shadow-md);
    transform-style: preserve-3d;
    will-change: transform;
}

.tea-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.2) 50%, transparent 100%);
    transition: opacity 0.5s var(--transition-smooth);
}

.tea-card:hover {
    transform: translateY(-15px) rotateX(5deg);
    box-shadow: var(--shadow-xl);
}

.tea-card:hover::before {
    opacity: 0.9;
}

.tea-label {
    position: absolute;
    bottom: 30px;
    left: 30px;
    color: white;
    z-index: 2;
    transition: transform 0.5s var(--transition-smooth);
}

.tea-card:hover .tea-label {
    transform: translateY(-10px);
}

.tea-label-chinese {
    font-family: 'Noto Serif SC', serif;
    font-size: 2rem;
    font-weight: 500;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.tea-label-english {
    font-family: var(--body-font);
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 300;
    opacity: 0.9;
}

/* Card Background Images */
.tea-card.white { 
    background: #f8f8f8 url('/images/tea-categories/White.png') center/cover no-repeat !important;
}
.tea-card.green { 
    background: #81C784 url('/images/tea-categories/Green.png') center/cover no-repeat !important;
}
.tea-card.oolong { 
    background: #FFB74D url('/images/tea-categories/Oolong.png') center/cover no-repeat !important;
}
.tea-card.black { 
    background: #8D6E63 url('/images/tea-categories/Black.png') center/cover no-repeat !important;
}
.tea-card.puerh { 
    background: #A1887F url('/images/tea-categories/Pu_er.png') center/cover no-repeat !important;
}
.tea-card.herbal { 
    background: #AED581 url('/images/tea-categories/herbal.png') center/cover no-repeat !important;
}

/* Enhanced Limited Edition Section */
.limited-edition {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--bg-light) 0%, rgba(200, 164, 126, 0.05) 50%, var(--bg-light) 100%);
    position: relative;
    overflow: hidden;
}

.limited-edition::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(200, 164, 126, 0.03) 0%, transparent 70%);
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
    50% { transform: translate(-50%, -50%) scale(1.1); opacity: 0.5; }
}

.limited-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.limited-text {
    text-align: left;
}

.limited-text h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary-green), var(--accent-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.limited-description {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

.limited-cta {
    display: inline-block;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--accent-gold), #b8935f);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 500;
    transition: all 0.3s ease;
    letter-spacing: 0.05em;
    box-shadow: 0 4px 15px rgba(200, 164, 126, 0.3);
}

.limited-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(200, 164, 126, 0.4);
}

.limited-image {
    text-align: center;
}

.limited-image img {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.limited-image img:hover {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .limited-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .limited-text {
        text-align: center;
    }
}

/* Enhanced Values Section */
.values {
    padding: 6rem 0;
    background: white;
    position: relative;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.value-item {
    text-align: center;
    padding: 2rem 1rem;
    transition: transform 0.3s var(--transition-smooth);
    border-radius: 10px;
}

.value-item:hover {
    transform: translateY(-5px);
    background: var(--bg-light);
}

.value-item h3 {
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    color: var(--accent-gold);
    font-weight: 600;
}

.value-item h4 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.value-item p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Enhanced Contact Section */
.contact {
    padding: 6rem 0;
    background: linear-gradient(180deg, var(--bg-light) 0%, white 100%);
}

/* Premium Footer */
footer {
    background: linear-gradient(135deg, var(--primary-green) 0%, #1e3d29 100%);
    color: white;
    padding: 5rem 0 3rem;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-gold), transparent);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
}

.footer-section h3 {
    font-family: var(--heading-font);
    font-size: 2rem;
    margin-bottom: 1rem;
    color: white;
}

.footer-section h4 {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    color: var(--accent-gold);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: var(--body-font);
    font-weight: 600;
}

.footer-section p {
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    display: block;
    margin-bottom: 0.8rem;
    transition: all 0.3s var(--transition-smooth);
    position: relative;
    padding-left: 0;
}

.footer-section a::before {
    content: '→';
    position: absolute;
    left: -20px;
    opacity: 0;
    transition: all 0.3s var(--transition-smooth);
}

.footer-section a:hover {
    color: var(--accent-gold);
    padding-left: 15px;
}

.footer-section a:hover::before {
    left: 0;
    opacity: 1;
}

.social-links {
    display: flex;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.social-links a {
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    transition: all 0.3s var(--transition-smooth);
}

.social-links a:hover {
    background: var(--accent-gold);
    color: var(--primary-green);
    transform: translateY(-3px);
    padding-left: 1rem;
}

/* Premium Notification */
.notification {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: linear-gradient(135deg, var(--primary-green), #1e3d29);
    color: white;
    padding: 1.2rem 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    z-index: 1001;
    animation: slideInUp 0.5s var(--transition-smooth) forwards;
    font-family: var(--body-font);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

@keyframes slideInUp {
    from { 
        transform: translateY(100px) scale(0.8); 
        opacity: 0; 
    }
    to { 
        transform: translateY(0) scale(1); 
        opacity: 1; 
    }
}

@keyframes slideOutDown {
    from { 
        transform: translateY(0) scale(1); 
        opacity: 1; 
    }
    to { 
        transform: translateY(100px) scale(0.8); 
        opacity: 0; 
    }
}

/* Smooth fade-in animation for sections */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeInUp 0.8s var(--transition-smooth) forwards;
}

/* --- FIX: Remove Underlines from View Details buttons --- */
.view-details-btn, a.cta-button {
    text-decoration: none !important;
}

/* Responsive Design with Premium Mobile Experience */
@media (max-width: 992px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    /* Hide desktop left/right nav groups */
    .nav-left, .nav-right {
        display: none;
    }

    /* Show hamburger */
    .mobile-menu-toggle {
        display: block;
    }

    /* Mobile panel — absolute overlay below nav bar.
       position:fixed won't work here because the parent nav has will-change:transform
       which creates a new containing block. position:absolute + top:100% is the fix. */
    .mobile-nav-panel {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        height: calc(100vh - 80px);
        z-index: 998;
        background: #ffffff;
        flex-direction: column;
        overflow-y: auto;
        border-top: 1px solid var(--border-color);
        padding: 0.5rem 0;
        opacity: 0;
        pointer-events: none;
        transform: translateY(-8px);
        transition: opacity 0.22s ease, transform 0.22s ease;
        display: flex;
        max-height: none;
    }
    .mobile-nav-panel.active {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
        max-height: none;
    }

    /* Dim backdrop when mobile menu is open */
    body.mobile-menu-open::after {
        content: '';
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.35);
        z-index: 997;
        pointer-events: none;
    }

    /* Cart link in mobile nav — match text links */
    .mobile-nav-panel .cart-link {
        font-size: 0.85rem !important;
        font-weight: 500;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        padding: 0.85rem 1.5rem !important;
        border-bottom: 1px solid rgba(0,0,0,0.04);
        display: flex;
        align-items: center;
        gap: 0.6rem;
        color: var(--text-dark);
        transform: none !important;
    }
    .mobile-nav-panel .cart-icon {
        height: 20px;
        width: auto;
    }
    .mobile-nav-panel .cart-icon-container {
        position: relative;
        display: inline-flex;
        align-items: center;
    }
    #cart-count-mobile {
        position: absolute;
        top: -4px;
        right: -6px;
        background: var(--accent-gold);
        color: white;
        font-size: 0.6rem;
        font-weight: 700;
        min-width: 15px;
        height: 15px;
        border-radius: 50px;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0 3px;
        line-height: 1;
    }

    .nav-item.dropdown {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        border-bottom: 1px solid rgba(0,0,0,0.05);
    }
    .nav-item.dropdown > a {
        flex: 1;
        padding: 0.9rem 1.5rem !important;
    }

    .dropdown-mobile-toggle {
        display: flex !important;
        align-items: center;
        justify-content: center;
        padding: 0.9rem 1.5rem;
        min-width: 52px;
    }
    .dropdown-mobile-toggle svg {
        width: 16px;
        height: 10px;
    }

    /* Mobile mega menu: flat accordion list */
    .mega-menu {
        display: none;
        position: static !important;
        transform: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        width: 100% !important;
        box-shadow: none !important;
        border-radius: 0 !important;
        border: none !important;
        border-top: 1px solid rgba(0,0,0,0.06) !important;
        background: rgba(45,90,61,0.025) !important;
        overflow: visible !important;
    }
    .nav-item.dropdown:hover .mega-menu { display: none; }
    .nav-item.dropdown.is-open .mega-menu { display: block !important; }

    .mega-menu-inner {
        display: block !important;
        height: auto !important;
    }
    .mega-menu-links {
        display: block !important;
        height: auto !important;
        flex: none !important;
        padding: 0 !important;
    }
    .mega-menu-group {
        display: block !important;
        flex: none !important;
        padding: 0 !important;
        border-right: none !important;
        border-bottom: none !important;
    }
    .mega-menu-group:last-child { border-bottom: none !important; }

    .mega-menu-label {
        display: block !important;
        padding: 0.45rem 1.5rem !important;
        margin-bottom: 0 !important;
        border-bottom: none !important;
        background: rgba(45,90,61,0.06);
        font-size: 0.6rem !important;
        letter-spacing: 0.15em !important;
        color: var(--primary-green);
    }
    .mega-link {
        display: block !important;
        padding: 0.75rem 1.5rem 0.75rem 2rem !important;
        font-size: 0.85rem !important;
        font-weight: 400 !important;
        white-space: normal !important;
        border-bottom: 1px solid rgba(0,0,0,0.04) !important;
        color: var(--text-dark) !important;
    }
    .mega-link:last-child { border-bottom: none !important; }
    .mega-link:hover { color: var(--primary-green) !important; padding-left: 2.1rem !important; }
    .mega-menu-feature { display: none !important; }

    /* Account button */
    #account-link {
        display: block;
        text-align: center;
        margin: 0.5rem 1rem;
        padding: 0.7rem 1rem;
        border-radius: 12px;
    }

    /* Hero mobile */
    .hero h1 {
        font-size: 2rem;
    }
    .hero-content {
        padding-bottom: 3rem;
    }
    
    .section-header h2 {
        font-size: 2.2rem;
    }

    .tea-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 1.5rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .container {
        padding: 0 1rem;
    }

    .footer-section a::before {
        display: none;
    }

    .footer-section a:hover {
        padding-left: 0;
    }

    .social-links {
        justify-content: center;
    }
}

/* Loading skeleton animation */
@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 1000px 100%;
    animation: shimmer 2s infinite;
}

/* Performance optimizations */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* ── Account link — plain, consistent with other nav links ── */
#account-link {
    background: none !important;
    color: var(--text-dark) !important;
    padding: 0.3rem 0 !important;
    border-radius: 0 !important;
    font-family: var(--body-font) !important;
    font-size: 0.82rem !important;
    font-weight: 500 !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
    box-shadow: none !important;
    white-space: nowrap;
    transition: color 0.22s ease !important;
    text-decoration: none;
    display: inline-block;
}
#account-link:hover {
    color: var(--primary-green) !important;
    background: none !important;
    box-shadow: none !important;
    transform: none !important;
}
#account-link::after { display: none !important; }
#account-link::after {
    display: none !important;
}

/* ── Cart Link ── */
.cart-link {
    display: flex;
    align-items: center;
    gap: 0;
    color: var(--text-dark);
    font-size: 0 !important;
    transition: transform 0.22s ease;
}
.cart-link:hover {
    transform: scale(1.1);
}
.cart-link:hover .cart-icon {
    filter: brightness(0) saturate(100%) invert(28%) sepia(50%) saturate(500%) hue-rotate(100deg);
}

.cart-icon-container {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.cart-icon {
    height: 26px;
    width: auto;
    vertical-align: middle;
    transition: opacity 0.2s ease;
}

#cart-count {
    position: absolute;
    top: -4px;
    right: -6px;
    background: var(--accent-gold);
    color: white;
    font-size: 0.65rem;
    font-weight: 700;
    font-family: var(--body-font);
    min-width: 17px;
    height: 17px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    line-height: 1;
    box-shadow: 0 1px 4px rgba(0,0,0,0.18);
}

/* Footer arrow override to replace the corrupted glyph declaration above */
.footer-section a::before {
    content: '\2192';
}

/* Dropdown Menu Styles */
.nav-item.dropdown {
    position: relative;
}

/* ── Mega Menu ── */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    z-index: 1001;
    min-width: 160px;
    border-radius: 12px;
    padding: calc(0.5rem + 4px) 0.5rem 0.5rem;
    border-top: 2px solid var(--primary-green);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity 0.22s ease, visibility 0.22s ease, transform 0.22s cubic-bezier(0.4,0,0.2,1);
    pointer-events: none;
}

.dropdown-item {
    color: var(--text-dark);
    padding: 10px 14px;
    text-decoration: none;
    display: block;
    text-align: left;
    border-radius: 8px;
    font-size: 0.9rem;
    transition: background 0.18s ease, color 0.18s ease;
}

.dropdown-item:hover {
    background: rgba(45,90,61,0.06);
    color: var(--primary-green);
}

.nav-item.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

/* ── Redesigned Mega Menu ── */
.mega-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-8px);
    width: 480px;
    background: var(--bg-light);
    box-shadow: 0 20px 60px rgba(0,0,0,0.10), 0 4px 16px rgba(0,0,0,0.05);
    z-index: 1001;
    border-radius: 12px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.22s ease, visibility 0.22s ease, transform 0.22s cubic-bezier(0.4,0,0.2,1);
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.07);
}

.mega-menu::before,
.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -12px;
    left: 0;
    right: 0;
    height: 12px;
}

.nav-item.dropdown:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}

.mega-menu-inner {
    display: flex;
    height: 100%;
}

/* Left: link columns */
.mega-menu-links {
    flex: 1;
    display: flex;
    padding: 1.75rem 0;
}

.mega-menu-group {
    flex: 1;
    padding: 0 1.5rem;
    border-right: 1px solid var(--border-color);
}
.mega-menu-group:last-child {
    border-right: none;
}

.mega-menu-label {
    display: block;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--primary-green);
    margin-bottom: 0.85rem;
    padding-bottom: 0.6rem;
    border-bottom: 1px solid var(--border-color);
}

.mega-link {
    display: block;
    padding: 0.38rem 0;
    color: var(--text-dark);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 300;
    letter-spacing: 0.01em;
    transition: color 0.15s ease, padding-left 0.15s ease;
    white-space: nowrap;
}
.mega-link:hover {
    color: var(--primary-green);
    padding-left: 5px;
}

/* Right: atmospheric image panel */
.mega-menu-feature {
    width: 190px;
    flex-shrink: 0;
    position: relative;
    display: block;
    text-decoration: none;
    overflow: hidden;
}
.mega-menu-feature img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: saturate(0.8) brightness(0.92);
    transition: transform 0.5s ease, filter 0.5s ease;
}
.mega-menu-feature:hover img {
    transform: scale(1.04);
    filter: saturate(0.9) brightness(0.85);
}
.mega-menu-feature-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.25rem 1rem;
    background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, transparent 100%);
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.mega-menu-feature-tag {
    font-size: 0.58rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--accent-gold);
    font-weight: 700;
}
.mega-menu-feature-title {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.9);
    line-height: 1.4;
    font-family: var(--heading-font);
    font-style: italic;
}

/* Mobile dropdown toggle button */
.dropdown-mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    color: var(--text-dark);
    transition: transform 0.25s ease, color 0.2s ease;
    flex-shrink: 0;
}
.nav-item.dropdown.is-open .dropdown-mobile-toggle {
    transform: rotate(180deg);
    color: var(--primary-green);
}


/* ── Account link — plain, consistent with other nav links ── */
#account-link {
    background: none !important;
    color: var(--text-dark) !important;
    padding: 0.3rem 0 !important;
    border-radius: 0 !important;
    font-family: var(--body-font) !important;
    font-size: 0.82rem !important;
    font-weight: 500 !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
    box-shadow: none !important;
    white-space: nowrap;
    transition: color 0.22s ease !important;
    text-decoration: none;
    display: inline-block;
}
#account-link:hover {
    color: var(--primary-green) !important;
    background: none !important;
    box-shadow: none !important;
    transform: none !important;
}
#account-link::after { display: none !important; }
#account-link::after {
    display: none !important;
}

/* ── Cart Link ── */
.cart-link {
    display: flex;
    align-items: center;
    gap: 0;
    color: var(--text-dark);
    font-size: 0 !important;
    transition: transform 0.22s ease;
}
.cart-link:hover {
    transform: scale(1.1);
}
.cart-link:hover .cart-icon {
    filter: brightness(0) saturate(100%) invert(28%) sepia(50%) saturate(500%) hue-rotate(100deg);
}

.cart-icon-container {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.cart-icon {
    height: 26px;
    width: auto;
    vertical-align: middle;
    transition: opacity 0.2s ease;
}

#cart-count {
    position: absolute;
    top: -4px;
    right: -6px;
    background: var(--accent-gold);
    color: white;
    font-size: 0.65rem;
    font-weight: 700;
    font-family: var(--body-font);
    min-width: 17px;
    height: 17px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    line-height: 1;
    box-shadow: 0 1px 4px rgba(0,0,0,0.18);
}

/* Duplicate mega menu block removed — consolidated above */

/* ── Image shimmer loading effect ── */
@keyframes img-shimmer {
    0%   { background-position: -600px 0; }
    100% { background-position: 600px 0; }
}

img:not(.img-loaded) {
    background: linear-gradient(
        90deg,
        #e8e8e8 25%,
        #f4f0eb 50%,
        #e8e8e8 75%
    );
    background-size: 1200px 100%;
    animation: img-shimmer 1.4s infinite linear;
    color: transparent;
}

img.img-loaded {
    animation: none;
    background: none;
    transition: opacity 0.4s ease;
}

img.img-fade-in {
    opacity: 0;
}

img.img-fade-in.img-loaded {
    opacity: 1;
}
