/* ============================================
   RESET & BASE STYLES
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2c2c2c;
    --secondary-color: #6c6c6c;
    --accent-color: #e0e0e0;
    --bg-color: #ffffff;
    --text-dark: #1a1a1a;
    --text-light: #888888;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-color);
    line-height: 1.6;
    overflow-x: hidden;
    padding-top: var(--header-offset, 90px); /* offset set dynamically by JS */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */
.brand-block {
    display:flex;
    align-items:center;
    gap:10px;
    background: var(--lime);
    padding: 6px 10px;
    border-radius: 2px;
    position: absolute; /* position it at the left corner of the nav */
    left: 8px;
    top: 8px;
}
.brand-inline-name {
    height: 26px;
    display:block;
    object-fit:contain;
}

/* Divider after left brand block (subtle, thin) */
.brand-block::after {
    content: '';
    position: absolute;
    right: -8px; /* place the divider just outside the lime block */
    top: -8px; /* extend slightly above the block */
    bottom: -8px; /* extend slightly below the block */
    width: 1px; /* thin separator */
    background: #000; /* pure black as requested */
}

.logo {
    height: 70px;
    width: auto;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 600;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 400;
    font-size: 0.95rem;
    position: relative;
    transition: var(--transition);
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
    font-weight: 500;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.nav-toggle span {
    width: 25px;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    min-height: 500px;
    padding: 4rem 2rem;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-content {
    padding: 2rem;
    text-align: center;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    font-weight: 300;
}

.hero-btn {
    display: inline-block;
    padding: 0.8rem 2.5rem;
    background: linear-gradient(45deg, #3a3a3a, #1a1a1a);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 500;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
    border: none;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-btn:hover {
    background: linear-gradient(45deg, #1a1a1a, #3a3a3a);
    transform: translateY(-3px) scale(1.05);
    box-shadow: var(--shadow-lg);
}

.hero-image {
    position: relative;
    width: 100%;
    height: 400px;
    border-radius: 8px;
    overflow: hidden;
    /* box-shadow: var(--shadow-md); */
}

.hero-slideshow {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 400px;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
}

.hero-slide.active {
    opacity: 1;
    z-index: 1;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    padding: 0;
}

.slideshow-controls {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 1rem;
    z-index: 10;
    background: rgba(255, 255, 255, 0.9);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    box-shadow: var(--shadow-sm);
}

.slide-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    line-height: 1;
}

.slide-btn:hover {
    background: #1a1a1a;
    transform: scale(1.1);
}

.slide-indicators {
    display: flex;
    gap: 0.5rem;
}

.slide-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(44, 44, 44, 0.3);
    cursor: pointer;
    transition: var(--transition);
}

.slide-indicator.active {
    background: var(--primary-color);
    width: 24px;
    border-radius: 4px;
}

/* ============================================
   SEARCH SECTION
   ============================================ */
.search-section {
    padding: 2rem 0;
    background: #fafafa;
}

.search-box {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
}

.search-input {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    border: 2px solid var(--accent-color);
    border-radius: 50px;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    transition: var(--transition);
    background: white;
}

.search-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(44, 44, 44, 0.1);
}

.search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
    pointer-events: none;
}

/* ============================================
   PRODUCTS SECTION
   ============================================ */
.products-section {
    padding: 4rem 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-dark);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    padding: 1rem 0;
}

.product-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.product-image-wrapper {
    position: relative;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3; /* stabilize layout and reduce CLS */
    overflow: hidden;
    background: #efefef; /* pale tile background like the reference */
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    max-width: 180px; /* uniform max dimensions */
    max-height: 180px;
    object-fit: contain;
    object-position: center;
    transition: var(--transition);
    margin: 0 auto;
}

.product-card:hover .product-image {
    transform: scale(1.1);
}

.product-info {
    padding: 1rem 0 1.75rem;
    display: flex;
    flex-direction: column;
    flex-grow: 0;
    align-items: center;
}

.product-name {
    font-size: 1rem;
    font-weight: 400;
    margin: 14px 0 0;
    color: var(--text-dark);
    text-align: center;
    flex: 1;
    min-width: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.4;
    max-height: 2.8em;
}

.product-description {
    font-size: 0.95rem;
    color: var(--text-dark);
    margin: 0.75rem 0 1rem;
    line-height: 1.4;
    display: none; /* hidden by default; toggled open */
}

.product-description.open {
    display: block;
}

.product-title-row { display: flex; align-items: center; gap: 8px; justify-content: center; width: 100%; }
.desc-toggle { background: transparent; border: none; font-size: 18px; cursor: pointer; color: var(--text-dark); padding: 6px; border-radius: 6px; transition: all 0.2s ease; }
.desc-toggle:hover { background: rgba(0,0,0,0.04); }
.product-card:first-child .desc-toggle { font-size: 18px; }


.buy-btn {
    width: 100%;
    padding: 1.125rem 2rem;
    background: #111;
    color: #fff;
    border: none;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.buy-btn::after {
    content: '→';
    position: absolute;
    right: 1.5rem;
    opacity: 0;
    transition: all 0.3s ease;
}

.buy-btn:hover::after {
    opacity: 1;
    right: 1rem;
}

.buy-btn:hover {
    background: var(--lime);
    color: #111;
    transform: scale(1.02);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    padding-right: 2.5rem;
}

.buy-btn:active {
    transform: scale(0.98);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.no-results {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-light);
    font-size: 1.1rem;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--primary-color);
    color: white;
    padding: 3rem 0 1.5rem;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: white;
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    transition: var(--transition);
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 968px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 2rem 1rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-image {
        height: 300px;
    }

    .hero-slideshow {
        height: 300px;
    }

    .hero-slide {
        height: 300px;
    }

    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    /* Reflow header: move logo/title to the left on mobile */
    .site-header .nav-inner { justify-content: flex-start; padding: 10px 12px; }
    /* Hide empty left column to allow true left alignment */
    .nav-left { display: none !important; }
    /* Place brand at the far left and push Products to the right */
    .nav-center { order: 0; display: flex; justify-content: flex-start; align-items: center; margin-left: 0; margin-right: auto; text-align: left; }
    .nav-right { order: 1; margin-left: 12px; }
    /* Brand inline arrangement */
    .brand-stack { height: auto; align-items: center; flex-direction: row; }
    .nav-logo-inline { height: 20px; margin: 0 6px 0 0; }
    .brand-stack .brand-text { font-size: 20px; }

    /* Hide hamburger button + its lime block/divider on mobile */
    .menu-btn, .menu-dropdown, .brand-block { display: none !important; }
    .brand-block::after { display: none !important; }
    /* Hide center vertical dividers when brand is left */
    .nav-center::before, .nav-center::after { display: none !important; }
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: white;
        width: 100%;
        text-align: center;
        transition: var(--transition);
        box-shadow: var(--shadow-md);
        padding: 2rem 0;
        gap: 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        width: 100%;
        padding: 1rem 0;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-image {
        height: 250px;
    }

    .hero-slideshow {
        height: 250px;
    }

    .hero-slide {
        height: 250px;
    }

    .slideshow-controls {
        bottom: 0.5rem;
        padding: 0.4rem 0.8rem;
    }

    .slide-btn {
        width: 30px;
        height: 30px;
        font-size: 1.2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 1rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero {
        min-height: 400px;
        padding: 1.5rem 1rem;
    }

    .hero-title {
        font-size: 1.75rem;
    }

    .hero-btn {
        padding: 0.875rem 2rem;
        font-size: 0.95rem;
    }

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

    .search-input {
        padding: 0.875rem 0.875rem 0.875rem 2.5rem;
        font-size: 0.95rem;
    }
}

/* ============================================
   SMOOTH SCROLLING
   ============================================ */
html {
    scroll-behavior: smooth;
}

/* ============================================
   LOADING STATE (Optional)
   ============================================ */
.loading {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-light);
}

/* ==========================
   New design overrides
   ========================== */
:root {
    --peach: #f6dfd8;
    --lime: #d9ff33;
    --lime-dark: #c7ff2a;
    --nav-text: #2b2b2b;
    --nav-divider-offset: 260px; /* distance from center to vertical dividers; tweak as needed */
    --nav-divider-color: rgba(0,0,0,0.12);
    /* Modern theme surfaces */
    --surface: #ffffff;
    --surface-alt: #fafafa;
    --surface-border: rgba(0,0,0,0.12);
    --surface-border-strong: #000;
    --app-bg: #EFECE3; /* unified page background */
}

/* Top bar removed */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

/* Scroll color change removed; navbar remains consistent */

.site-header .nav-peach {
    background: rgba(255,255,255,0.88); /* subtle frosted backdrop for readability */
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid #000;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.site-header .nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
    position: relative; /* anchor for center divider pseudo-elements */
}
.brand {
    font-size: 44px;
    font-weight: 800;
    letter-spacing: 2px;
    text-align: center;
    color: var(--nav-text);
}
.tagline {
    background: var(--lime);
    display: inline-block;
    margin-top: 8px;
    padding: 6px 14px;
    border-radius: 2px;
    font-size: 14px;
    font-weight: 600;
}
.nav-left, .nav-right { width: 120px; display:flex; align-items:center; }
.nav-center { text-align:center; }
.nav-links { display:flex; gap:30px; justify-content:center; padding:12px 0; }
.nav-links .nav-item { color: var(--nav-text); text-decoration:none; font-weight:600; padding:12px 8px; }

/* Left brand block that matches the attachment: lime background with site name/logo */
.brand-block {
    display:flex;
    align-items:center;
    gap:10px;
    background: var(--lime);
    padding: 8px 16px;
    border-radius: 2px;
}
.brand-inline-name {
    height: 26px;
    display:block;
    object-fit:contain;
}

/* Divider after three-dots inside the left brand block */
.brand-block {
    position: relative;
    padding-right: 20px; /* give room for divider */
}
.brand-block::after {
    content: '';
    position: absolute;
    right: -8px; /* place the divider just outside the lime block */
    top: -8px; /* smaller extension so it's less bold visually */
    bottom: -8px;
    width: 1px; /* thinner */
    background: #000; /* keep it pure black */
    border-radius: 0;
}

/* Corner badge (left-top) */
.corner-badge {
    position: absolute;
    left: 8px;
    top: 8px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2500;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0,0,0,0.06);
    border: 2px solid rgba(0,0,0,0.06);
    background: radial-gradient(circle at 30% 25%, #ffffff 0%, #fff9c4 12%, var(--lime) 55%);
}
.corner-badge:hover { transform: translateY(-1px); }
.corner-icon { font-weight: 800; color: #111; font-size: 16px; letter-spacing: 1px; }

/* Make sure the badge doesn't interfere with layout on small screens */
@media (max-width: 480px) {
    .corner-badge { left: 6px; top: 6px; width:34px; height:34px; }
    .corner-icon { font-size: 14px; }
}

/* Add subtle vertical dividers around center area to mimic reference */
.nav-center {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.nav-center::before,
.nav-center::after {
    content: '';
    position: absolute;
    width: 1px;
    height: 36px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--nav-divider-color);
}
.nav-center::before { left: calc(50% - var(--nav-divider-offset)); }
.nav-center::after { right: calc(50% - var(--nav-divider-offset)); }

/* Right side small icons (profile/cart) */
.right-icons { display:flex; gap:8px; align-items:center; margin-left:12px; }
.icon { background: transparent; border: none; font-size:18px; cursor:pointer; padding:6px; border-radius:50%; }
.icon:hover { background: rgba(0,0,0,0.04); }

/* Sub-nav (below header) showing logo + HERCULINE on yellow background */
.sub-nav {
    background: transparent; /* logo area stays transparent */
    padding: 10px 0 12px; /* slightly less vertical space */
    margin-top: 0;
}
.sub-nav .sub-logo { display:flex; align-items:center; gap:18px; justify-content:center; flex-direction:column; }
.sub-logo-icon { height:40px; background: transparent; display:block; }
.sub-brand { font-size:16px; font-weight:500; color:#111; letter-spacing:0.5px; background: var(--lime); padding: 4px 10px; border-radius:4px; margin-top:6px; }

/* Visible separation under the sub-nav (below logo + HERCULINE) */
.sub-nav-separator {
    width: 100%;
    height: 2px;
    background: #000; /* clear visible separation */
    margin-top: 10px;
}

/* adjust spacing on small screens */
@media (max-width: 480px) {
    .sub-logo-icon { height:40px; }
    .sub-brand { font-size:20px; }
}

/* Logo sizing */
.site-logo { height: 56px; display: block; margin: 0 auto; }
.site-logo-name { height: 28px; display: block; margin: 6px auto 0; }

.footer-logo { display:flex; align-items:center; gap:12px; }
.footer-logo-icon { height:48px; }
.footer-logo-name { height:26px; }

/* New navbar styles for three-dot menu, center brand text, and right links */
.three-dots {
    background: transparent;
    border: none;
    font-size: 26px;
    cursor: pointer;
    color: var(--nav-text);
}

/* three horizontal lines button */
.three-lines {
    display:flex;
    flex-direction:column;
    justify-content:space-between;
    width:30px;
    height:18px;
    padding:4px 6px;
    background: transparent;
    border: none;
    cursor: pointer;
}
.three-lines .line {
    display:block;
    height:2px;
    background:#000;
    border-radius:2px;
}

.menu-dropdown {
    position: absolute;
    top: 64px;
    left: 16px;
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
    display: none;
    z-index: 1500;
}
.menu-dropdown[aria-hidden="false"] { display:block; }
.menu-dropdown ul { list-style:none; padding:8px 0; margin:0; }
.menu-dropdown li { padding:6px 16px; }
.menu-dropdown li a { color:#222; text-decoration:none; font-weight:600; }

.brand-text {
    font-size: 24px;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--nav-text);
}
.brand-stack { position:relative; display:flex; flex-direction:column; align-items:center; justify-content:center; height:24px; }
.nav-logo-inline { height:20px; width:auto; object-fit:contain; margin-bottom:2px; }
.brand-stack .brand-text { font-size:22px; line-height:1; }

.right-sections { display:flex; gap:18px; align-items:center; white-space:nowrap; }
.right-link {
    padding: 10px 14px;
    background: transparent;
    border-radius: 4px;
    color: var(--nav-text);
    font-weight:700;
    text-decoration:none;
    white-space: nowrap; /* prevent wrapping like in the screenshot */
    display: inline-block;
}
.right-link:hover { background: rgba(0,0,0,0.04); }

/* Products dropdown */
.products-dropdown { position: relative; display:inline-block; }
.products-trigger { cursor:pointer; background: var(--lime); color:#000; font-weight:700; border:1px solid #000; border-radius:4px; }
.products-trigger:hover, .products-trigger:focus { background: var(--lime-dark); }
.products-menu { position:absolute; top:100%; left:0; background:#fff; border:1px solid #000; border-radius:10px; padding:8px 0; margin-top:6px; min-width:220px; box-shadow:0 12px 32px rgba(0,0,0,0.18); list-style:none; display:none; z-index:2000; }
.products-menu li { width:100%; }
.products-menu a { display:block; padding:10px 16px; color:#111; text-decoration:none; font-weight:600; font-size:14px; letter-spacing:.3px; }
.products-menu a:hover { background:var(--lime); color:#000; }
.products-dropdown:hover > .products-menu,
.products-dropdown:focus-within > .products-menu { display:block; }

@media (max-width:768px){
    /* Mobile dropdown: keep absolute so it overlays and does not expand header height */
    .products-dropdown { position: relative; }
    .products-menu { position:absolute; top:100%; right:0; left:auto; width:240px; max-width:calc(100vw - 20px); box-shadow:0 12px 32px rgba(0,0,0,0.18); border:1px solid #000; margin-top:6px; background:#fff; border-radius:10px; overflow-x:hidden; }
    .products-dropdown:hover > .products-menu { display:none; } /* rely solely on click */
}
@media (max-width:420px){
    .products-menu { width:210px; }
}

/* Vertical divider between first and second right link */
.right-sections .right-link + .right-link {
    position: relative;
    padding-left: 28px; /* space for thicker divider */
    height: 100%;
}
.right-sections .right-link + .right-link::before {
    content: '';
    position: absolute;
    left: 8px; /* position divider between items */
    top: -8px; /* extend slightly to cover navbar height */
    bottom: -8px;
    width: 1px; /* thin line */
    background: #000; /* keep it pure black */
    border-radius: 0;
}

/* ensure dropdown positions well on small screens */
@media (max-width: 480px) {
    .menu-dropdown { left: 8px; top: 56px; }
    .brand-text { font-size: 22px; }
    .brand-block { padding:6px 10px; }
    .nav-center::before, .nav-center::after { display:none; }
}

/* Hero gallery - full width 3 slides side by side */
.hero-gallery { padding: 0; overflow: hidden; position: relative; }
.hero-wrapper { max-width: 100%; margin: 0; position: relative; width: 100%; }
.hero-slideshow { position: relative; width: 100%; height: 500px; display: grid; grid-template-columns: 1fr 2fr 1fr; gap: 0; align-items: center; transition: opacity 0.6s ease; }
.hero-slide { position: relative; width: 100%; height: 400px; transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1); display: flex; align-items: center; justify-content: center; background: #f1f1f1; border: 1px solid var(--surface-border); border-radius: 16px; overflow:hidden; opacity: 0.85; transform: scale(0.95); z-index: 1; }
.hero-slide:nth-child(2) { height: 500px; opacity: 1; background: #ffffff; border:1px solid #000; box-shadow: 0 16px 40px rgba(0,0,0,0.14); z-index: 5; transform: scale(1); padding: 40px 60px; justify-content:flex-start; }
.hero-slide img { max-width: 80%; max-height: 80%; object-fit: contain; transition: all 0.6s ease; }
.hero-slide:nth-child(2) img { max-width: 55%; max-height: 80%; margin-left: 0; }
/* Slide caption: default (side slides) bottom, no background */
.hero-caption { position:absolute; left:16px; right:16px; bottom:16px; background:none; color:#111; padding:0; border-radius:0; box-shadow:none; font-weight:600; }
.hero-slide-title { margin:0; font-size:14px; font-weight:600; line-height:1.3; }
/* Center slide caption placed to the right of image */
.hero-slide:nth-child(2) .hero-caption { position:static; flex:1; align-self:stretch; display:flex; flex-direction:column; justify-content:center; padding:0 0 0 50px; max-width:45%; }
.hero-slide:nth-child(2) .hero-slide-title { font-size:26px; line-height:1.25; font-weight:700; }
/* Hide old hero-text block now replaced by per-slide captions */
.hero-slideshow .hero-text { display:none !important; }
/* Side slide layout fix to avoid caption overlapping image */
.hero-slide:not(:nth-child(2)) { flex-direction:column; justify-content:flex-start; padding:18px 14px 52px; }
.hero-slide:not(:nth-child(2)) img { max-width:100%; max-height:70%; }
.hero-slide:not(:nth-child(2)) .hero-caption { position:static; margin-top:12px; text-align:center; }

/* Bottle-only slider overrides (smaller, image-only) */
.bottle-gallery { padding: 24px 0; border-top: 1px solid rgba(0,0,0,0.06); border-bottom: 1px solid rgba(0,0,0,0.06); background:#fff; }
.bottle-slideshow { height: 320px; grid-template-columns: 1fr 2fr 1fr; }
.bottle-slideshow .hero-slide { height: 260px; padding: 0; background:#fff; border:1px solid rgba(0,0,0,0.12); border-radius:12px; overflow:hidden; }
.bottle-slideshow .hero-slide:nth-child(2) { height: 320px; padding: 0; justify-content: center; box-shadow: 0 8px 24px rgba(0,0,0,0.12); border:1px solid #000; border-top:3px solid var(--lime); }
.bottle-slideshow .hero-slide img { max-width: 80%; max-height: 80%; }
.bottle-slideshow .hero-slide:nth-child(2) img { max-width: 65%; max-height: 85%; }
.bottle-slideshow .hero-caption, .bottle-slideshow .hero-buy-inline { display: none !important; }
/* Buy button inline - only visible for center slide */
.hero-buy-inline { display:inline-flex; align-items:center; justify-content:center; text-align:center; margin-top:20px; background:#111; color:#fff; padding:12px 26px; border-radius:40px; font-size:13px; font-weight:600; text-decoration:none; letter-spacing:.4px; transition:.3s; box-shadow:0 4px 14px rgba(0,0,0,.15); }
.hero-buy-inline:hover { background:var(--lime); color:#111; transform:translateY(-2px); box-shadow:0 6px 18px rgba(0,0,0,.25); }
.hero-slide:not(:nth-child(2)) .hero-buy-inline { display:none; }

.slide-indicators { display:flex; gap: 8px; align-items:center; }
.slide-indicator { width: 10px; height: 10px; border-radius: 50%; background: rgba(0,0,0,0.12); cursor:pointer; transition: var(--transition); box-shadow: 0 1px 0 rgba(255,255,255,0.35) inset; }
.slide-indicator.active { background: #222; width: 26px; border-radius: 4px; box-shadow: none; }

/* place controls below the slideshow (sibling element) */
.slideshow-controls { position: static; display:flex; justify-content:center; align-items:center; gap: 12px; margin-top: 14px; z-index: 10; width: calc(100% - 40px); margin-left: auto; margin-right: auto; }
.slideshow-controls .slide-indicators { background: rgba(255,255,255,0.95); padding: 8px 12px; border-radius: 999px; box-shadow: var(--shadow-sm); margin: 0 auto; }
.slide-btn { background: #111; color: #fff; border: none; width: 36px; height: 36px; border-radius: 50%; cursor: pointer; display:flex; align-items:center; justify-content:center; font-size: 18px; }
.slide-btn:hover { transform: scale(1.05); }

.hero-text { margin-top: 8px; }
.hero-title { font-size: 28px; font-weight:700; }
.hero-subtitle { font-size: 14px; color: var(--text-dark); max-width: 900px; margin: 6px auto 0; }

/* Overlay info inside slideshow (darker overlay for readability) */
.hero-slideshow .hero-text {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 27.5%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 40px;
    z-index: 100;
    pointer-events: none;
}
.hero-slideshow .hero-text-inner {
    pointer-events: auto;
    background: transparent;
    color: #111;
    padding: 0;
    border-radius: 0;
    max-width: 100%;
    width: 100%;
    box-shadow: none;
    text-align: left;
}
.hero-slideshow .hero-text-inner h2 {
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 16px;
    color: #111;
    line-height: 1.3;
}
.hero-slideshow .hero-text-inner p {
    font-size: 15px;
    margin: 0 0 24px;
    color: #333;
    line-height: 1.6;
}
.hero-slideshow .hero-title { font-size: 28px; margin: 0 0 16px; color: #111; font-weight: 700; line-height: 1.3; }
.hero-slideshow .hero-subtitle { font-size: 15px; color: #333; margin: 0 0 24px; line-height: 1.6; }
.hero-slideshow .hero-buy-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    background: #111;
    color: #fff;
    border: none;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    pointer-events: auto;
}
.hero-slideshow .hero-buy-btn:hover {
    background: var(--lime);
    color: #111;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* New Drops tweaks */
.section-title { font-size: 28px; font-weight:700; margin-bottom: 28px; }
.products-grid { grid-template-columns: repeat(4, 1fr); gap: 28px; }
.product-card { background: var(--surface); border: 1px solid var(--surface-border); border-radius: 14px; box-shadow: 0 8px 18px rgba(0,0,0,0.06); transition: transform .25s ease, box-shadow .25s ease; }
.product-card:hover { transform: translateY(-6px); box-shadow: 0 16px 32px rgba(0,0,0,0.10); }
.product-image-wrapper { background: var(--surface-alt); padding: 26px 18px; border-radius:12px; border: 1px solid var(--surface-border); }
.product-info { padding: 16px 16px 20px; }
.product-name { font-weight: 600; }
.desc-toggle { color: #444; }
.product-info { padding: 18px 0; }

/* Sale banner */
.sale-banner { padding: 40px 0; }
.sale-inner { display:grid; grid-template-columns: 1fr 420px; gap: 30px; align-items:center; }
.sale-left { padding: 40px; background: linear-gradient(180deg, rgba(217,255,51,0.18) 0%, var(--lime) 100%); border-radius:6px; }
.sale-small { text-transform:uppercase; font-weight:700; color:#111; opacity:0.8; margin-bottom:8px; }
.sale-big { font-size:72px; font-weight:900; color:#000; margin-bottom:8px; }
.sale-note { color:#222; font-size:14px; }
.sale-right img { width:100%; height:420px; object-fit:cover; border-radius:6px; }

/* CTA */
.cta-10 { background: #fff; padding: 18px 0; border-top: 1px solid rgba(0,0,0,0.06); border-bottom:1px solid rgba(0,0,0,0.06); }
.cta-inner { display:flex; align-items:center; justify-content:center; gap:16px; }
.cta-logo { display:flex; align-items:center; }
.cta-logo-icon { height:48px; width:48px; object-fit:contain; border-radius:4px; padding:4px; background:#fff; box-shadow:0 2px 6px rgba(0,0,0,0.12); }
@media (max-width:480px){
    .cta-logo-icon { height:44px; width:44px; padding:3px; }
}
.cta-text a { font-weight:800; font-size:22px; color:#000; text-decoration:none; letter-spacing:0.4px; }
.cta-text a:hover { text-decoration:underline; }
.cta-10 .arrow { font-size:24px; font-weight:700; }

/* Footer layout */
.site-footer { background: var(--lime); color: #111; border-top: 1px solid #000; position: relative; overflow:hidden; }
.site-footer .footer-top { padding: 24px 20px; display:grid; grid-template-columns: 280px 1fr; gap:32px; align-items:start; }
.site-footer .footer-left { background: var(--lime); color:#111; padding:12px 0; border-right: 1px solid #000; padding-right: 32px; }
.site-footer .footer-left h3 { color:#111; margin-bottom:12px; font-size: 18px; font-weight: 600; }
.site-footer .footer-left p { margin: 6px 0; font-size: 14px; }
.site-footer .footer-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.site-footer .footer-logo-icon { width: 40px; height: 40px; object-fit: contain; }
.site-footer .footer-logo-name { height: 32px; object-fit: contain; }
.site-footer .footer-middle { display:flex; gap:48px; padding:12px 0; }
.site-footer .links-col h4 { margin-bottom:12px; font-size:16px; font-weight: 600; }
.site-footer .links-col ul { list-style:none; padding:0; margin:0; }
.site-footer .links-col li { margin-bottom:8px; }
.site-footer .links-col a { color:#111; text-decoration:none; font-size: 14px; transition: opacity 0.2s; white-space:nowrap; }
.site-footer .links-col a:hover { opacity: 0.7; }
.about-us-info { margin-top:12px; font-size:12px; line-height:1.6; color:#111; position:relative; max-width:520px; margin-left:auto; margin-right:auto; padding: 0 14px; }
/* expanded state managed by class on container */
/* Collapse logic: hide extended elements when not expanded */
.about-us-info:not(.expanded) h5,
.about-us-info:not(.expanded) .about-values,
.about-us-info:not(.expanded) p:not(:first-of-type) { display:none; }
/* Ensure toggle always visible */
.about-toggle { display:inline-block; margin-top:6px; }
/* Make headings and paragraphs centered and readable */
.about-us-info h5 { text-align:center; }
.about-us-info p { text-align: justify; text-justify: inter-word; hyphens: auto; }
/* Keep values list nicely centered while text remains left-aligned for readability */
.about-us-info .about-values { list-style: disc; list-style-position: inside; display:inline-block; text-align:left; padding-left:0; margin: 8px auto; }
/* Small screens: add a bit more side padding */
@media (max-width: 480px) {
    .about-us-info { padding: 0 18px; }
}
.about-us-info h5 { margin:10px 0 6px; font-size:12px; font-weight:700; letter-spacing:.3px; }
.about-us-info p { margin:0 0 8px; }
.about-us-info .about-values { list-style:disc; padding-left:16px; margin:0 0 8px; }
.about-us-info .about-values li { margin-bottom:4px; }
.about-toggle { background: var(--lime); color:#000; border:1px solid #000; font-size:11px; padding:4px 10px; border-radius:14px; cursor:pointer; font-weight:600; letter-spacing:.4px; }
.about-toggle:hover { background: var(--lime-dark); }
.site-footer .footer-bottom { background: var(--lime); padding: 16px 0; border-top: 1px solid #000; }
.site-footer .footer-bottom-inner { display:flex; justify-content:space-between; align-items:center; }
.site-footer .socials { display: flex; gap: 12px; }
.site-footer .socials a { display: inline-flex; width: 32px; height: 32px; background: #111; color: #fff; border-radius: 50%; align-items: center; justify-content: center; text-decoration: none; transition: background 0.2s; }
.site-footer .socials a:hover { background: #333; }
.site-footer .socials svg { width: 18px; height: 18px; fill: #fff; }
.site-footer .copyright { font-size: 13px; color: #111; }

@media (max-width: 960px) {
    .gallery-row { grid-template-columns: 1fr; }
    .gallery-item.left, .gallery-item.right, .gallery-item.center { height: 220px; }
    .products-grid { grid-template-columns: repeat(2,1fr); }
    .sale-inner { grid-template-columns: 1fr; }
    .sale-right img { height:260px; }
    .site-footer .footer-top { grid-template-columns: 1fr; }
}


/* === Slideshow final overrides: force centred controls & readable overlay === */
/* Appended to ensure these rules win over duplicates earlier in the file */
.hero-wrapper { position: relative; }
.slideshow-controls {
    position: relative !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
    margin: 28px auto 0 !important; /* moved down slightly */
    padding: 0 !important;
    background: transparent !important;
    z-index: 12 !important;
}
.slideshow-controls .slide-indicators {
    margin: 0 auto !important;
    display: inline-flex !important;
    gap: 10px;
    padding: 10px 16px;
    background: rgba(255,255,255,0.98);
    border-radius: 999px;
    box-shadow: var(--shadow-sm);
}
.slide-indicator { background: rgba(0,0,0,0.12) !important; }
.slide-indicator.active { background: #111 !important; }

/* keep overlay clearly inside the slideshow frame */
.hero-slideshow .hero-text {
    position: absolute !important;
    left: 0;
    right: 0;
    bottom: 28px !important;
    display: flex;
    justify-content: center;
    z-index: 20;
}

/* page background override: light grey */
html, body { background-color: var(--app-bg) !important; }
/* Utility: visually hidden (for a11y) */
.visually-hidden {
    position: absolute !important;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0);
    white-space: nowrap; border: 0;
}

/* make the footer blend with the page background so the grey is continuous */


.hero-slideshow .hero-text-inner {
    background: rgba(0,0,0,0.75) !important;
    color: #fff !important;
    padding: 14px 20px !important;
    border-radius: 10px !important;
    max-width: 880px !important;
    width: calc(100% - 56px) !important;
    box-shadow: 0 10px 40px rgba(0,0,0,0.28) !important;
    text-align: center;
}

/* mobile adjustments to avoid overlap */
@media (max-width: 480px) {
    .slideshow-controls .slide-indicators { padding: 8px 10px; }
    .hero-slideshow { height: 260px; }
    .hero-slide img { object-position: center top; }
    .hero-slideshow .hero-text { bottom: 12px !important; }
    .hero-slideshow .hero-text-inner { padding: 10px 12px !important; width: calc(100% - 32px) !important; }
}

/* =========================
   MOBILE SLIDER REWORK
   Simplify hero & bottle sliders on narrow screens
   ========================= */
@media (max-width: 640px) {
    /* Hero slider: show only center slide for clarity */
    .hero-slideshow { grid-template-columns: 1fr; height: 380px; }
    .hero-slide { height: 340px; opacity: 1 !important; transform: none !important; box-shadow: 0 8px 28px rgba(0,0,0,0.12); }
    .hero-slide:not(:nth-child(2)) { display:none; }
    .hero-slide:nth-child(2) { height: 380px; padding: 24px 18px; flex-direction: column; align-items: center; justify-content: center; }
    .hero-slide:nth-child(2) img { max-width: 68%; max-height: 54%; margin: 0 auto 12px; }
    .hero-slide:nth-child(2) .hero-caption { max-width: 100%; padding: 0; align-items: center; text-align: center; }
    .hero-slide:nth-child(2) .hero-slide-title { font-size: 18px; }
    .hero-buy-inline { margin-top: 14px; padding: 10px 22px; font-size: 12px; }
    /* External overlay hero-text remains hidden */
    .hero-slideshow .hero-text { display:none !important; }
    /* Indicators spacing */
    .slideshow-controls { margin-top: 12px !important; }
    .slide-indicator { width: 8px; height: 8px; }
    .slide-indicator.active { width: 20px; }

    /* Bottle slider: reduce to single image */
    .bottle-slideshow { grid-template-columns: 1fr; height: 300px; }
    .bottle-slideshow .hero-slide { height: 260px; box-shadow: 0 6px 20px rgba(0,0,0,0.10); }
    .bottle-slideshow .hero-slide:not(:nth-child(2)) { display:none; }
    .bottle-slideshow .hero-slide:nth-child(2) { height: 300px; border-top: 2px solid var(--lime); }
    .bottle-slideshow .hero-slide:nth-child(2) img { max-width: 70%; max-height: 80%; }

    /* Product card buy button: match slider button sizing */
    .products-grid .buy-btn { 
        width: auto; 
        padding: 10px 22px; 
        font-size: 12px; 
        border-radius: 40px; 
        margin: 10px auto 0; 
    }
    .products-grid .buy-btn::after { right: 1rem; }
    .products-grid .buy-btn:hover { padding-right: 22px; }
}

@media (max-width: 420px) {
    .hero-slideshow { height: 340px; }
    .hero-slide:nth-child(2) { height: 340px; }
    .hero-slide:nth-child(2) img { max-width: 72%; max-height: 48%; }
    .hero-slide:nth-child(2) .hero-slide-title { font-size: 16px; }
    .hero-buy-inline { padding: 9px 18px; font-size: 11px; }
    .bottle-slideshow { height: 260px; }
    .bottle-slideshow .hero-slide:nth-child(2) { height: 260px; }
    .products-grid .buy-btn { padding: 9px 18px; font-size: 11px; }
    .products-grid .buy-btn::after { right: 0.9rem; }
}

/* Product image size adjustments for larger screens */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}

.products-grid .product-card { animation: fadeUp .5s ease both; }
.products-grid .product-card:nth-child(1) { animation-delay: .02s; }
.products-grid .product-card:nth-child(2) { animation-delay: .06s; }
.products-grid .product-card:nth-child(3) { animation-delay: .10s; }
.products-grid .product-card:nth-child(4) { animation-delay: .14s; }
.products-grid .product-card:nth-child(5) { animation-delay: .18s; }
.products-grid .product-card:nth-child(6) { animation-delay: .22s; }
.products-grid .product-card:nth-child(7) { animation-delay: .26s; }
.products-grid .product-card:nth-child(8) { animation-delay: .30s; }
.products-grid .product-card:nth-child(9) { animation-delay: .34s; }
.products-grid .product-card:nth-child(10) { animation-delay: .38s; }
.products-grid .product-card:nth-child(11) { animation-delay: .42s; }
.products-grid .product-card:nth-child(12) { animation-delay: .46s; }

/* Accessible focus styles */
a:focus-visible, button:focus-visible { outline: 2px solid var(--lime); outline-offset: 2px; }
@media (min-width: 1200px) {
    .product-image { max-height: 220px; }
}
@media (max-width: 768px) {
    .product-image { max-height: 140px; }
}

/* Respect user motion preferences */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }
}

/* Final mobile header overrides (placed last for precedence) */
@media (max-width: 768px) {
    .nav-left { display: none !important; }
    .nav-center { display:flex !important; justify-content:flex-start !important; align-items:center !important; margin-left:0 !important; margin-right:auto !important; text-align:left !important; }
    /* Add safe padding on mobile so brand isn't flush/off-screen (handles notches too) */
    .site-header .nav-inner { padding: 10px 16px !important; padding-left: max(16px, env(safe-area-inset-left)) !important; padding-right: max(16px, env(safe-area-inset-right)) !important; }
    .brand-stack { flex-direction: row !important; align-items:center !important; height:auto !important; }
    .nav-logo-inline { height:20px !important; margin:0 6px 0 0 !important; }
    .brand-stack .brand-text { font-size:20px !important; }
    .nav-center::before, .nav-center::after { display:none !important; }
    .menu-btn, .menu-dropdown, .brand-block { display:none !important; }
    .brand-block::after { display:none !important; }
}

