@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400;1,500&family=Montserrat:ital,wght@0,300;0,400;0,500;0,600;0,700&display=swap');

html {
    scroll-behavior: smooth;
    scroll-padding-top: max(88px, calc(var(--nav-padding-y) * 2 + 3.1rem));
}

/* ================= THEME VARIABLES (BRAND EDITION) ================= */
:root {
    --font-heading: "Cormorant Garamond", Garamond, "Times New Roman", serif;
    --font-body: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

    --bg-main: #fcfcfc;
    --bg-card: #ffffff;

    /* Brand Colour Palette */
    --accent-gold: #CCAC6F;
    /* Primary Gold (Highlights & Accents) */
    --accent-amber: #5D0C1D;
    /* Primary Burgundy (Primary Action) */
    --accent-dark: #3d0813;
    /* Darker Burgundy (Hover States) */
    --accent-light: #fdf5ec;
    /* Light Warm Cream (Backgrounds) */

    /* Text Colors */
    --text-main: #2d0610;
    /* Deep Burgundy Brown */
    --text-muted: #7a5060;
    /* Muted Mauve */

    /* Functional Colors */
    --accent-red: #D32F2F;
    --shadow: 0 5px 15px rgba(93, 12, 29, 0.1);
    --shadow-hover: 0 10px 25px rgba(204, 172, 111, 0.3);

    /* Landing / section titles (single colour) */
    --landing-heading: var(--text-main);

    /* Fixed navbar: consistent padding mobile + desktop */
    --nav-padding-y: 12px;
    --nav-padding-x: clamp(16px, 4.2vw, 40px);
    --nav-icon-gap: clamp(14px, 3.2vw, 22px);

    /* Section-style headings: one size, weight, and line-height sitewide */
    --heading-unified-size: clamp(1.65rem, 3.6vw, 2.25rem);
    --heading-unified-weight: 600;
    --heading-unified-line: 1.25;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: var(--font-body);
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-main);
    color: var(--text-main);
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
}

/* ================= HEADER ================= */
header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: var(--nav-padding-y) var(--nav-padding-x);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    background: rgba(253, 245, 236, 0.9);
    /* Brand Cream Background */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(5px);
    overflow: visible;
}

header .logo {
    flex-shrink: 0;
}

header .logo img {
    height: 45px;
    width: auto;
    display: block;
}

/* --- NAV ICONS --- */
.nav-icons {
    display: flex;
    flex-wrap: nowrap;
    gap: var(--nav-icon-gap);
    align-items: center;
    flex-shrink: 0;
}

.nav-icons i {
    font-size: 1.2rem;
    color: #5D0C1D;
    /* Brand Burgundy */
    cursor: pointer;
    transition: 0.3s;
}

.nav-icons i:hover {
    color: #CCAC6F;
    /* Brand Gold on hover */
    transform: scale(1.1);
}

/* Navbar icon tooltips (data-tooltip) */
.nav-icon-tooltip {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.nav-icon-tooltip[data-tooltip]::after {
    content: attr(data-tooltip);
    position: absolute;
    left: 50%;
    bottom: calc(100% + 10px);
    transform: translateX(-50%) translateY(4px);
    padding: 5px 10px;
    font-size: 0.72rem;
    font-weight: 600;
    font-family: var(--font-body, 'Poppins', sans-serif);
    white-space: nowrap;
    width: max-content;
    max-width: none;
    line-height: 1.2;
    color: #fff;
    background: var(--text-main, #2c1810);
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
    z-index: 2000;
}

.nav-icon-tooltip[data-tooltip]:hover::after,
.nav-icon-tooltip[data-tooltip]:focus-within::after {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

@media (prefers-reduced-motion: reduce) {

    .nav-icon-tooltip[data-tooltip]::after,
    .nav-icon-tooltip[data-tooltip]:hover::after,
    .nav-icon-tooltip[data-tooltip]:focus-within::after {
        transition: none;
        transform: translateX(-50%);
    }
}

@media (hover: none) {
    .nav-icon-tooltip[data-tooltip]::after {
        display: none;
    }
}

/* Cart Badge */
.cart-icon-wrapper {
    position: relative;
    cursor: pointer;
    flex-shrink: 0;
}

.cart-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #ffffff;
    color: var(--accent-amber);
    font-size: 0.75rem;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* ================= MODAL CLOSE ICONS ================= */
.close-cart,
.close-auth {
    cursor: pointer;
    font-size: 1.2rem;
    color: var(--text-main);
    transition: 0.3s;
    position: absolute;
    top: 20px;
    right: 20px;
}

.close-cart:hover,
.close-auth:hover {
    color: var(--accent-red);
    transform: rotate(90deg);
}

/* ================= BANNER & CINEMATIC HERO ================= */
.banner-section {
    width: 100%;
    height: 92vh;
    position: relative;
    overflow: hidden;
    margin-top: 75px;
}

.carousel-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.banner-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    /* Aligns content to left */
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.banner-slide.active {
    opacity: 1;
    z-index: 2;
}



/* Background Video Styling */
.banner-bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    transform: scale(1.1);
    /* Slight Zoom for cinematic feel */
}

.luxury-hero {
    position: relative;
    z-index: 2;
    max-width: 1300px;
    width: 100%;
    margin: 0 auto;
    padding: 0 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.luxury-left {
    max-width: 650px;
    animation: heroFadeIn 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

/* --- 2. LIQUID GOLD TYPOGRAPHY --- */
.luxury-left h1 {
    font-family: var(--font-heading);
    font-size: 4.5rem;
    /* Larger font */
    line-height: 1.1;
    margin-bottom: 25px;
    font-weight: 700;
    color: white;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* The Gradient Text Effect */
.luxury-left h1 span {
    background: linear-gradient(to bottom, #e8c87c, #CCAC6F, #a8863e);
    /* Brand Gold Gradient */
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    position: relative;
    display: inline-block;
    filter: drop-shadow(0 0 15px rgba(204, 172, 111, 0.5));
    /* Brand Gold Glow */
}

.luxury-left p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    margin-bottom: 35px;
    max-width: 500px;
    border-left: 3px solid var(--accent-gold);
    /* Gold accent line on left */
    padding-left: 20px;
    backdrop-filter: blur(2px);
    /* Subtle frosted glass behind text */
}

/* --- 3. GLOWING BUTTONS --- */
.luxury-actions {
    display: flex;
    gap: 20px;
    align-items: center;
}

.luxury-btn {
    padding: 14px 35px;
    border-radius: 50px;
    /* Fully rounded looks more premium */
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

.luxury-btn.primary {
    background: linear-gradient(45deg, var(--accent-amber), var(--accent-gold));
    color: white;
    box-shadow: 0 10px 25px rgba(245, 124, 0, 0.4);
    /* Orange Glow */
}

/* Shine Animation on Hover */
.luxury-btn.primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: 0.5s;
}

.luxury-btn.primary:hover::after {
    left: 100%;
}

.luxury-btn.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(245, 124, 0, 0.6);
}

.luxury-btn.secondary {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: white;
    backdrop-filter: blur(5px);
}

.luxury-btn.secondary:hover {
    background: white;
    color: var(--text-main);
    border-color: white;
}

/* --- 4. SCROLL INDICATOR (New Feature) --- */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    opacity: 0.8;
    animation: bounce 2s infinite;
}

.mouse {
    width: 26px;
    height: 42px;
    border: 2px solid rgba(255, 255, 255, 0.8);
    border-radius: 20px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--accent-gold);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 2s infinite;
}

/* Animations */
@keyframes heroFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scrollWheel {
    0% {
        top: 6px;
        opacity: 1;
    }

    100% {
        top: 18px;
        opacity: 0;
    }
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    40% {
        transform: translateX(-50%) translateY(-10px);
    }

    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .banner-slide {
        justify-content: center;
    }

    /* Center text on mobile */
    .banner-slide::before {
        background: rgba(0, 0, 0, 0.6);
    }

    /* Darker overlay for mobile readability */
    .luxury-hero {
        padding: 0 20px;
        text-align: center;
    }

    .luxury-left h1 {
        font-size: 3rem;
    }

    .luxury-left p {
        border-left: none;
        padding-left: 0;
        margin: 0 auto 30px;
        font-size: 1rem;
    }

    .luxury-actions {
        justify-content: center;
    }

    .scroll-indicator {
        display: none;
    }

}

/* ================= NEW PREMIUM DARK HERO =============== */

.hero-premium-section {
    --hero-pt: 80px;
    --hero-pb: max(40px, env(safe-area-inset-bottom, 0px));
    position: relative;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: var(--hero-pt);
    padding-bottom: var(--hero-pb);
    color: #c4a165;
    box-sizing: border-box;
    overflow: hidden;
}

/* Removed media query background sizes since we now use an <img> tag */

.hero-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding: 0 20px;
    flex: 1;
    height: calc(100vh - var(--hero-pt) - var(--hero-pb));
    height: calc(100dvh - var(--hero-pt) - var(--hero-pb));
    box-sizing: border-box;
    min-height: 0;
}

.hero-sticky-header {
    margin-bottom: 10px;
}

.hero-logo-wrapper img {
    height: 80px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(196, 161, 101, 0.3));
    margin-bottom: 20px;
}

.hero-subtitles {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 5px;
}

.hero-track-text {
    font-family: var(--font-body);
    letter-spacing: 4px;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--landing-heading);
    text-transform: uppercase;
}

.hero-track-text.small {
    font-size: 0.7rem;
    letter-spacing: 6px;
    opacity: 0.8;
}

.hero-auto-text-window {
    overflow: hidden;
    width: 100%;
    max-width: 100%;
    height: 3.1rem;
    margin: 1.5rem 0 1.5rem;
    position: relative;
    z-index: 5;
}

.hero-auto-text-line {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    align-content: center;
    flex-wrap: wrap;
    margin: 0;
    padding: 0 20px;
    box-sizing: border-box;
    line-height: 1.15;
    text-align: center;
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
}

.hero-auto-text-line--active {
    opacity: 1;
    z-index: 1;
}

@media (prefers-reduced-motion: reduce) {
    .hero-auto-text-window {
        height: auto;
    }

    .hero-auto-text-line {
        position: relative;
        left: auto;
        right: auto;
        top: auto;
        bottom: auto;
        opacity: 0;
        padding: 0.5rem 20px;
        transition: none;
    }

    .hero-auto-text-line--active {
        opacity: 1;
    }

    .hero-auto-text-line:not(.hero-auto-text-line--active) {
        display: none;
    }
}

footer .logo img {
    height: 60px;
    /* Slightly larger for the footer */
    width: auto;
    margin-bottom: 10px;
}

.hero-main-image-container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 0;
    padding: 10px 0;
    box-sizing: border-box;
}

.hero-main-image {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    filter: drop-shadow(0 15px 35px rgba(0, 0, 0, 0.1));
    transform: scale(1.15);
    /* Slightly larger for visual impact */
    transition: transform 0.3s ease;
}

/* Hero CTA â€” transparent gold border + tagline (matches #ccac6f palette) */
.hero-cta-row {
    margin-top: 1rem;
    margin-bottom: 1.5rem;
    align-self: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    width: 100%;
    max-width: 100%;
}

@media (min-width: 640px) {
    .hero-cta-row {
        flex-direction: row;
    }
}

@media (min-width: 769px) {
    .hero-cta-row {
        padding-top: 2rem;
    }
}

.hero-cta-shop {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 3rem;
    border-radius: 999px;
    border: 1px solid rgba(61, 8, 19, 0.2);
    background: var(--accent-gold);
    color: var(--accent-amber);
    text-decoration: none;
    overflow: hidden;
    transition: background-color 0.5s ease, border-color 0.5s ease, color 0.5s ease;
    box-shadow: 0 2px 10px rgba(93, 12, 29, 0.1);
}

.hero-cta-shop:hover {
    background: var(--accent-dark);
    border-color: var(--accent-amber);
    color: var(--accent-light);
}

.hero-cta-shop-text {
    position: relative;
    z-index: 2;
    font-family: var(--font-body);
    font-weight: 500;
    letter-spacing: 0.12em;
    font-size: 1rem;
}

.hero-cta-shop-shine {
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, 0.35) 50%, transparent 65%);
    transform: translateX(-100%);
    transition: transform 0.5s ease;
    z-index: 1;
    pointer-events: none;
}

.hero-cta-shop:hover .hero-cta-shop-shine {
    transform: translateX(0);
}

@media (prefers-reduced-motion: reduce) {

    .hero-cta-shop,
    .hero-cta-shop-shine {
        transition: none;
    }

    .hero-cta-shop-shine {
        display: none;
    }
}

.hero-cta-shop:focus-visible {
    outline: 2px solid var(--accent-gold);
    outline-offset: 3px;
}

.hero-cta-tagline {
    color: rgba(45, 6, 16, 0.62);
    font-size: 0.875rem;
}

.hero-cta-tagline-inner {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.hero-cta-dot {
    width: 0.25rem;
    height: 0.25rem;
    border-radius: 50%;
    background: var(--accent-gold);
    flex-shrink: 0;
    box-shadow: 0 0 0 1px rgba(45, 6, 16, 0.12);
}

.hero-cta-label {
    font-family: var(--font-body);
    font-weight: 500;
    letter-spacing: 0.14em;
    color: rgba(45, 6, 16, 0.75);
}

.hero-scroll-indicator {
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    z-index: 5;
}



.scroll-text {
    font-family: var(--font-body);
    font-size: 0.7rem;
    letter-spacing: 4px;
    color: #c4a165;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    opacity: 0.7;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, #c4a165, transparent);
    animation: pulseLine 2s infinite;
}

@keyframes pulseLine {
    0% {
        height: 20px;
        opacity: 0.3;
    }

    50% {
        height: 40px;
        opacity: 1;
    }

    100% {
        height: 20px;
        opacity: 0.3;
    }
}

@media (max-width: 768px) {
    .hero-auto-text-window {
        height: 4.25rem;
        margin: 0.75rem 0 1.25rem;
    }

    .hero-auto-text-line {
        line-height: 1.2;
        padding: 0 12px;
    }

    .hero-scroll-indicator {
        display: none;
    }

    .hero-track-text {
        letter-spacing: 4px;
        font-size: 1.1rem;
    }

    .hero-track-text.small {
        letter-spacing: 3px;
    }

    .hero-cta-shop {
        padding: 0.85rem 2rem;
    }

    .hero-cta-row {
        gap: 1.25rem;
    }

    .hero-premium-section {
        --hero-pt: 60px;
    }
}

@media (max-width: 400px) {
    .hero-auto-text-window {
        height: 4rem;
        margin: 0.5rem 0 1rem;
    }

    .hero-auto-text-line {
        padding: 0 8px;
    }
}

/* Wave Divider */
.wave-divider {
    position: absolute;
    bottom: -20px;

    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 3;
}

.wave-divider svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 100px;
}

.wave-divider-bottom {
    bottom: -2px;
}

@media (max-width: 768px) {
    .wave-divider svg {
        height: 60px;
    }
}

/* Wave Divider at top of products section */
.wave-divider-top {
    position: absolute;
    top: -1px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 2;
    transform: rotate(0deg);
}

.wave-divider-top svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 120px;
}

@media (max-width: 768px) {
    .wave-divider-top svg {
        height: 80px;
    }
}

.category-cards-section {
    padding: 50px 0 40px;
    background: #fdf5ec;
    /* Brand light cream background */
    background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20 20.5V18H0v-2h20v-2H0v-2h20v-2H0V8h20V6H0V4h20V2H0V0h22v20h2V0h2v20h2V0h2v20h2V0h2v20h2V0h2v20h2v2H20v-1.5zM0 20h2v20H0V20zm4 0h2v20H4V20zm4 0h2v20H8V20zm4 0h2v20h-2V20zm4 0h2v20h-2V20zm4 4h20v2H20v-2zm0 4h20v2H20v-2zm0 4h20v2H20v-2zm0 4h20v2H20v-2z' fill='%23e0d5c1' fill-opacity='0.15' fill-rule='evenodd'/%3E%3C/svg%3E");
    position: relative;
    overflow: hidden;
    text-align: center;
}

.categorySwiper {
    width: 100%;
    padding-top: 20px;
    padding-bottom: 20px;
}

.category-slide {
    background-position: center;
    background-size: cover;
    width: 250px;
    height: 350px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: filter 0.4s ease, transform 0.4s ease;
}

.category-slide img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.3));
    transition: transform 0.4s ease;
}

.swiper-slide:not(.swiper-slide-active) {
    filter: blur(2px) grayscale(40%);
    opacity: 0.6;
}

.swiper-slide-active {
    filter: blur(0) grayscale(0);
    opacity: 1;
}

.swiper-slide-active img {
    transform: scale(1.15) translateY(-10px);
}

.category-details-container {
    max-width: 600px;
    margin: 0 auto;
    animation: heroFadeIn 0.5s ease;
    padding: 0 20px;
}

.category-details-container h3 {
    margin-bottom: 12px;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.category-details-container p {
    color: var(--text-main);
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 30px;
}

/* ============================
   PREMIUM CAT SHOP BUTTON
   ============================ */
.cat-shop-btn {
    --cat-accent: #b8762a;
    --cat-accent-dark: #b8762acc;

    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: none;
    cursor: pointer;
    border-radius: 60px;
    padding: 0;
    background: none;
    outline: none;
    min-width: 200px;

    /* Outer glow ring */
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.3) inset,
        0 8px 24px rgba(0, 0, 0, 0.14),
        0 2px 8px rgba(0, 0, 0, 0.08);

    transition:
        transform 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275),
        box-shadow 0.35s ease;
}

.cat-shop-btn__content {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 38px;
    background: linear-gradient(135deg, var(--cat-accent), var(--cat-accent-dark));
    border-radius: 60px;
    color: #fff;
    font-family: var(--font-body);
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    width: 100%;
    transition: background 0.6s ease;
}

/* Shimmer sweep */
.cat-shop-btn__shimmer {
    position: absolute;
    inset: 0;
    z-index: 3;
    border-radius: 60px;
    background: linear-gradient(105deg,
            transparent 40%,
            rgba(255, 255, 255, 0.45) 50%,
            transparent 60%);
    background-size: 200% 100%;
    background-position: -200% 0;
    pointer-events: none;
    transition: background-position 0s;
}

.cat-shop-btn:hover .cat-shop-btn__shimmer {
    background-position: 200% 0;
    transition: background-position 0.6s ease;
}

/* Arrow bounce on hover */
.cat-shop-btn__arrow {
    transition: transform 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.cat-shop-btn:hover .cat-shop-btn__arrow {
    transform: translateX(6px);
}

/* Hover lift + glow */
.cat-shop-btn:hover {
    transform: translateY(-4px) scale(1.04);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.4) inset,
        0 16px 40px rgba(0, 0, 0, 0.18),
        0 0 30px rgba(var(--cat-accent), 0.35);
}

/* Active press */
.cat-shop-btn:active {
    transform: translateY(-1px) scale(0.98);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.2) inset,
        0 6px 16px rgba(0, 0, 0, 0.12);
}

/* Pulse ring animation */
@keyframes cat-btn-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(184, 118, 42, 0.5);
    }

    70% {
        box-shadow: 0 0 0 14px rgba(184, 118, 42, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(184, 118, 42, 0);
    }
}

.cat-shop-btn {
    animation: cat-btn-pulse 2.4s ease-out infinite;
}

.cat-shop-btn:hover {
    animation: none;
}

@media (max-width: 768px) {
    .category-slide {
        width: 160px;
        height: 180px;
    }

    .category-details-container h3 {
        margin-bottom: 5px;
    }

    .category-details-container p {
        font-size: 0.95rem;
        margin-bottom: 15px;
        line-height: 1.4;
    }

    .cat-shop-btn__content {
        padding: 12px 26px;
        font-size: 0.9rem;
        letter-spacing: 1px;
    }
}

/* ============================
   CATEGORY SWIPER NAV BUTTONS
   ============================ */
.categorySwiper .swiper-button-prev,
.categorySwiper .swiper-button-next {
    /* Reset Swiper defaults */
    --swiper-navigation-size: 18px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    margin-top: 0;

    /* Glass pill look */
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1.5px solid rgba(255, 255, 255, 0.9);
    box-shadow:
        0 4px 16px rgba(0, 0, 0, 0.12),
        0 1px 4px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);

    /* Icon colour â€“ overridden by JS via --cat-accent on the btn */
    color: var(--cat-nav-accent, #b8762a);

    transition:
        transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275),
        box-shadow 0.3s ease,
        background 0.3s ease,
        color 0.3s ease;

    /* Bring above swiper slides */
    z-index: 20;
}

/* Tighten arrow icon sizing */
.categorySwiper .swiper-button-prev::after,
.categorySwiper .swiper-button-next::after {
    font-size: 14px;
    font-weight: 900;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Hover: lift + accent fill */
.categorySwiper .swiper-button-prev:hover,
.categorySwiper .swiper-button-next:hover {
    background: var(--cat-nav-accent, #b8762a);
    color: #ffffff;
    border-color: transparent;
    transform: translateY(-50%) scale(1.12);
    box-shadow:
        0 8px 24px rgba(0, 0, 0, 0.18),
        0 0 0 4px rgba(184, 118, 42, 0.18);
}

/* Arrow nudge on hover */
.categorySwiper .swiper-button-prev:hover::after {
    transform: translateX(-2px);
}

.categorySwiper .swiper-button-next:hover::after {
    transform: translateX(2px);
}

/* Active/press */
.categorySwiper .swiper-button-prev:active,
.categorySwiper .swiper-button-next:active {
    transform: translateY(-50%) scale(0.94);
    box-shadow:
        0 2px 8px rgba(0, 0, 0, 0.14),
        0 0 0 3px rgba(184, 118, 42, 0.12);
}

/* Position: hug the sides a little closer */
.categorySwiper .swiper-button-prev {
    left: 12px;
}

.categorySwiper .swiper-button-next {
    right: 12px;
}

/* Disabled state */
.categorySwiper .swiper-button-disabled {
    opacity: 0.3;
    pointer-events: none;
}

@media (max-width: 768px) {

    .categorySwiper .swiper-button-prev,
    .categorySwiper .swiper-button-next {
        width: 38px;
        height: 38px;
        --swiper-navigation-size: 14px;
    }

    .categorySwiper .swiper-button-prev {
        left: 4px;
    }

    .categorySwiper .swiper-button-next {
        right: 4px;
    }
}

/* ================= PRODUCT GRID ================= */
.products-section {
    padding: 80px 20px 40px;
    min-height: auto;
    position: relative;
    overflow: hidden;
    background-color: #000;
}

@media (max-width: 768px) {
    .products-section {
        padding-top: 80px;
    }
}

.section-video-bg {
    position: fixed;
    /* CHANGED: Locks it to the screen */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    /* Puts it behind everything else */
    overflow: hidden;
    pointer-events: none;
    /* Ensures you can still click things above it */
}

.products-section>.section-video-bg {
    background-color: #000;
}

/* Home featured (#productsSection): Enabled video background for cinematic feel */
#productsSection.products-section {
    background-image: url('../static/im/FeatureProductsBg.PNG') !important;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: scroll;
    /* Optional: adds a parallax-like feel */
}

#productsSection.products-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.1);
    /* Subtle white overlay if needed */
    z-index: 1;
    pointer-events: none;
}

#productsSection.products-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 250px;
    background: linear-gradient(to bottom, transparent, #f9f7f2);
    z-index: 2;
    pointer-events: none;
}

#productsSection.products-section>.section-video-bg {
    display: none !important;
}


#productsSection.products-section>.section-video-bg .bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(214, 214, 214, 0.092);
    /* Opaque white layer */
    backdrop-filter: blur(2px);
    z-index: 1;
}

.section-video-bg video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ================= PREMIUM VIEW ALL BUTTON ================= */
.featured-view-all-container {
    display: flex;
    justify-content: center;
    margin-top: 40px;
    margin-bottom: 20px;
    padding-bottom: 40px;
    position: relative;
    z-index: 5;
}

.premium-view-all-btn {
    position: relative;
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 16px 45px;
    background: var(--accent-amber);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 30px rgba(93, 12, 29, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.premium-view-all-btn span {
    position: relative;
    z-index: 2;
}

.premium-view-all-btn i {
    position: relative;
    z-index: 2;
    transition: transform 0.4s ease;
}

.premium-view-all-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
    z-index: 1;
}

.premium-view-all-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(93, 12, 29, 0.4);
    background: var(--accent-dark);
}

.premium-view-all-btn:hover::before {
    left: 100%;
}

.premium-view-all-btn:hover i {
    transform: translateX(8px);
}

.premium-view-all-btn:active {
    transform: translateY(-2px) scale(0.98);
}

@keyframes btnPulse {
    0% {
        box-shadow: 0 10px 30px rgba(93, 12, 29, 0.3);
    }

    50% {
        box-shadow: 0 15px 45px rgba(93, 12, 29, 0.5);
    }

    100% {
        box-shadow: 0 10px 30px rgba(93, 12, 29, 0.3);
    }
}

.premium-view-all-btn {
    animation: btnPulse 3s infinite ease-in-out;
}

/* ================= WAVE DIVIDERS ================= */
.wave-divider-top {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 5;
    /* Above video background and overlay */
}

.wave-divider-top svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 120px;
}

.section-header,
.product-grid {
    position: relative;
    z-index: 2;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    margin-bottom: 10px;
}

.section-header h2 span {
    color: inherit;
    background: none;
    -webkit-background-clip: unset;
    background-clip: unset;
    filter: none;
    display: inline;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.05rem;
}

/* ================= FEATURED COLLECTION (HOME) ================= */
#productsSection .wave-divider-top {
    display: block;
}

.featured-collection-header {
    margin-bottom: clamp(2rem, 4vw, 3.5rem);
}

.featured-collection-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: clamp(2rem, 4vw, 2.65rem);
    background: linear-gradient(135deg, #3d2914 0%, #7d5a36 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: #3d2914;
    /* fallback */
    letter-spacing: 0.02em;
    margin: 0 0 12px;
}

.featured-collection-subtitle {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: clamp(0.95rem, 1.5vw, 1.1rem);
    color: #6b6560;
    max-width: 36rem;
    margin: 0 auto;
    line-height: 1.6;
}

/* Featured carousel (swiper) */
.featured-carousel-wrap {
    background: transparent;
    border-radius: 0;
    max-width: 100%;
    margin: 0;
    padding: 10px 0 0;
    box-shadow: none;
    position: relative;
    z-index: 5;
    /* Clip dragging slides — padding below absorbs the card shadow */
    overflow: hidden;
}

.featured-carousel-header {
    text-align: center;
    margin-bottom: 22px;
}

.featured-carousel-eyebrow {
    font-family: var(--font-body);
    letter-spacing: 0.22em;
    font-size: 0.78rem;
    color: var(--accent-gold);
    text-transform: uppercase;
    margin-bottom: 10px;
}

.featured-carousel-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: clamp(2rem, 4.5vw, 3rem);
    color: #ccac6f;
    margin: 0 0 8px;
}

.featured-carousel-subtitle {
    font-family: var(--font-body);
    color: #a09080;
    margin: 0 auto;
    max-width: 36rem;
    font-size: 1rem;
    line-height: 1.6;
}

/* Featured hero swiper */
.featuredHeroSwiper.swiper {
    overflow: hidden;
    position: relative;
    padding: 40px 0 20px;
    margin: 0 auto;
    width: 100%;
    margin: -35px 0 0 0;
}

.featuredHeroSwiper .swiper-slide {
    width: 100%;
    max-width: 420px;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.6s ease;
    opacity: 0.35;
    transform: scale(0.85);
}

.featured-coverflow-media {
    width: 100%;
    height: 35vh;
    min-height: 220px;
    max-height: 340px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
}

.featuredHeroSwiper .swiper-slide-active {
    opacity: 1;
    transform: scale(1);
    z-index: 2;
}

/* Prev Â· dots Â· next â€” one row, vertically aligned */
.featured-hero-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(10px, 2.5vw, 24px);
    margin-top: 10px;
    padding: 6px 8px max(10px, env(safe-area-inset-bottom, 0px));
    width: 100%;
    box-sizing: border-box;
}

.featured-hero-button-prev,
.featured-hero-button-next {
    flex-shrink: 0;
    color: var(--accent-gold);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: transparent;
    box-shadow: none;
    transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.featured-hero-button-prev::after,
.featured-hero-button-next::after {
    font-size: 16px;
    font-weight: 700;
}

.featured-hero-button-prev:hover,
.featured-hero-button-next:hover {
    color: #ffffff;
    background: var(--accent-gold);
    transform: scale(1.06);
    box-shadow: 0 6px 20px rgba(204, 172, 111, 0.3);
}

.featured-hero-button-prev.swiper-button-disabled,
.featured-hero-button-next.swiper-button-disabled {
    opacity: 0.3;
    pointer-events: none;
}

.featured-hero-slide {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: clamp(32px, 5.5vw, 64px);
    row-gap: clamp(16px, 3vw, 28px);
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
    padding: clamp(28px, 3.5vw, 48px) clamp(28px, 4vw, 56px);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.94) 0%, rgb(221 202 180 / 54%) 60%, rgb(231 187 137 / 75%) 100%);
    border-radius: 28px;
    border: 1px solid rgba(212, 181, 129, 0.22);
    box-shadow:
        0 4px 6px rgba(93, 12, 29, 0.04),
        0 24px 60px rgba(61, 41, 20, 0.10),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    position: relative;
    overflow: hidden;
}

.featured-hero-slide::before {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 220px;
    height: 220px;
    background: radial-gradient(circle, rgba(212, 181, 129, 0.18) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

.featured-hero-slide::after {
    content: '';
    position: absolute;
    bottom: -50px;
    left: -50px;
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(93, 12, 29, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

.featured-hero-col--media {
    cursor: pointer;
    position: relative;
    z-index: 1;
}

/* Uniform frame per slide â€” no card; image only inside aspect box */
.featured-hero-media-inner {
    position: relative;
    width: 100%;
    max-width: min(400px, 100%);
    margin-inline: auto;
    aspect-ratio: 1 / 1;
    padding: 0;
    background: linear-gradient(145deg, #fff8f0 0%, #fff 60%, #fdf5ec 100%);
    border: 2px solid rgba(212, 181, 129, 0.3);
    border-radius: 28px;
    box-shadow:
        0 0 0 6px rgba(212, 181, 129, 0.08),
        0 0 0 12px rgba(93, 12, 29, 0.04),
        0 20px 50px rgba(61, 41, 20, 0.14),
        0 4px 12px rgba(0, 0, 0, 0.06);
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: box-shadow 0.4s ease, transform 0.4s ease;
}

.featured-hero-col--media:hover .featured-hero-media-inner {
    transform: translateY(-6px) scale(1.01);
    box-shadow:
        0 0 0 6px rgba(212, 181, 129, 0.15),
        0 0 0 12px rgba(93, 12, 29, 0.06),
        0 30px 70px rgba(61, 41, 20, 0.18),
        0 4px 12px rgba(0, 0, 0, 0.08);
}

.featured-hero-product-img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    min-height: 0;
    object-fit: contain;
    object-position: center;
    border-radius: 0;
    filter: drop-shadow(0 16px 28px rgba(0, 0, 0, 0.13));
}

.featured-hero-col--content {
    text-align: left;
    position: relative;
    z-index: 1;
}

.featured-hero-title {
    font-family: var(--font-heading);
    font-size: clamp(1.85rem, 3.5vw, 2.6rem);
    font-weight: 800;
    background: linear-gradient(135deg, #2d0a0a 0%, #6b2020 50%, #3d1010 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: #4a0e0e;
    margin: 0 0 10px;
    line-height: 1.1;
    cursor: pointer;
    letter-spacing: -0.01em;
    transition: opacity 0.2s;
}

.featured-hero-title:hover {
    opacity: 0.8;
}

.featured-hero-desc {
    font-family: var(--font-body);
    font-size: 0.97rem;
    line-height: 1.7;
    color: #7a6a5a;
    margin: 0 0 22px;
}

.featured-hero-subtitle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    font-family: var(--font-body);
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #5d0c1d;
    background: linear-gradient(135deg, rgba(212, 181, 129, 0.18) 0%, rgba(93, 12, 29, 0.08) 100%);
    border: 1px solid rgba(212, 181, 129, 0.4);
    border-radius: 50px;
    padding: 4px 14px;
    margin-bottom: 14px;
}

.featured-hero-actions-row {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 28px;
    flex-wrap: wrap;
}

.featured-hero-price {
    font-family: var(--font-heading);
    font-size: 1.5rem !important;
    font-weight: 800;
    color: #2d0a0a !important;
    margin: 0 !important;
    letter-spacing: -0.01em;
}

.featured-hero-variants-wrap .featured-hero-variants {
    margin: 0 !important;
}

.featured-hero-variants {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 10px;
    margin: 0 0 10px;
}

.featured-hero-variant-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 16px !important;
    border-radius: 6px !important;
    border: 1px solid #b5b5b5 !important;
    background: #f7f7f7 !important;
    color: #444 !important;
    font-size: 0.85rem !important;
    font-weight: 600 !important;
    cursor: pointer;
    transition: all 0.2s ease;
}

.featured-hero-variant-btn:hover:not(:disabled) {
    transform: none !important;
    background: #fff !important;
    border-color: #4a1525 !important;
    color: #4a1525 !important;
}

.featured-hero-variant-btn.active {
    background: #4a1525 !important;
    color: #fff !important;
    border-color: #4a1525 !important;
    box-shadow: 0 2px 12px rgba(74, 14, 14, 0.22);
}

.featured-hero-variant-btn:disabled {
    background: #eaeaea !important;
    border: 1px dashed #b5b5b5 !important;
    color: #888 !important;
    opacity: 0.9;
}

.featured-hero-variant-label {
    font-size: inherit;
    font-weight: 600;
    color: inherit;
    text-align: center;
    line-height: 1.2;
    max-width: none;
}

.featured-hero-col--content .stock-warning-text {
    display: block;
    font-size: 0.8rem;
    color: #8a5a4a;
    margin-bottom: 8px;
}

.featured-hero-price {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 800;
    color: #2d0a0a;
    margin: 0 0 14px;
    letter-spacing: -0.01em;
}

.featured-hero-price .original-price {
    text-decoration: line-through;
    color: rgb(82 82 82);
    font-size: 0.82em;
    margin-right: 8px;
    font-weight: 500;
}

.featured-hero-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
    gap: 8px;
    padding: 15px 44px !important;
    border-radius: 50px !important;
    background: linear-gradient(135deg, #4a0e0e 0%, #7a1a1a 100%) !important;
    color: #fff !important;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.88rem !important;
    letter-spacing: 0.12em;
    text-indent: 0.12em;
    /* Offsets tracking so text perfectly centers mathematically */
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.3s ease;
    box-shadow:
        0 4px 16px rgba(74, 14, 14, 0.25),
        0 1px 3px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.featured-hero-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.55s ease;
}

.featured-hero-cta:hover::before {
    left: 100%;
}

.featured-hero-cta:hover {
    transform: translateY(-3px);
    box-shadow:
        0 8px 28px rgba(74, 14, 14, 0.35),
        0 2px 6px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.featured-hero-cta:active {
    transform: translateY(-1px);
}

.featured-hero-cta.btn-disabled {
    opacity: 0.8;
    cursor: not-allowed;
    box-shadow: none;
    background: #eaeaea !important;
    border: 1px dashed #b5b5b5 !important;
    color: #666 !important;
    pointer-events: none;
}

/* ---- Featured CTA wrapper ---- */
.featured-hero-cta-wrap {
    display: flex;
    align-items: center;
    min-height: 52px;
    margin-top: 20px;
}

/* ---- Amazon-style qty pill for featured products ---- */
.fh-qty-pill {
    display: inline-flex;
    align-items: center;
    gap: 0;
    border-radius: 50px;
    border: 2px solid #4a0e0e;
    background: #fff;
    box-shadow: 0 4px 18px rgba(74, 14, 14, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.9);
    overflow: hidden;
    font-family: var(--font-body);
    animation: fhPillPop 0.28s cubic-bezier(0.34, 1.56, 0.64, 1) both;
    user-select: none;
}

@keyframes fhPillPop {
    from {
        transform: scale(0.7);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.fh-qty-pill__trash,
.fh-qty-pill__plus {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border: none;
    background: transparent;
    color: #4a0e0e;
    cursor: pointer;
    font-size: 0.85rem;
    transition: background 0.18s ease, color 0.18s ease, transform 0.15s ease;
    flex-shrink: 0;
}

.fh-qty-pill__trash:hover,
.fh-qty-pill__plus:hover {
    background: #4a0e0e;
    color: #fff;
}

.fh-qty-pill__trash:active,
.fh-qty-pill__plus:active {
    transform: scale(0.88);
}

.fh-qty-pill__count {
    min-width: 34px;
    text-align: center;
    font-weight: 800;
    font-size: 1rem;
    color: #2d0a0a;
    padding: 0 4px;
    border-left: 1.5px solid rgba(74, 14, 14, 0.15);
    border-right: 1.5px solid rgba(74, 14, 14, 0.15);
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Mobile tweaks for qty pill */
@media (max-width: 900px) {

    .fh-qty-pill__trash,
    .fh-qty-pill__plus {
        width: 40px;
        height: 40px;
        font-size: 0.78rem;
    }

    .fh-qty-pill__count {
        min-width: 28px;
        font-size: 0.9rem;
        height: 40px;
    }

    .featured-hero-cta-wrap {
        min-height: 44px;
        margin-top: 14px;
    }

}


@media (min-width: 901px) {
    .featuredHeroSwiper.swiper {
        padding: 20px 0 10px;
        max-width: 100%;
    }

    .featured-hero-button-prev,
    .featured-hero-button-next {
        width: 48px;
        height: 48px;
    }

    .featured-hero-button-prev::after,
    .featured-hero-button-next::after {
        font-size: 18px;
    }

    .featured-hero-slide {
        max-width: 1240px;
        width: 100%;
        margin: 0 auto;
        column-gap: clamp(40px, 5vw, 80px);
        row-gap: clamp(20px, 3vw, 32px);
        padding: clamp(16px, 2.5vw, 28px) clamp(24px, 3.5vw, 48px) 12px;
    }

    .featuredHeroSwiper .swiper-slide {
        max-width: 480px;
    }

    .featured-hero-media-inner {
        max-width: min(460px, 100%);
    }

    .featured-carousel-header {
        margin-bottom: 28px;
    }

    .featured-carousel-title {
        font-size: clamp(2.35rem, 4.5vw, 3.1rem);
    }

    .featured-carousel-subtitle {
        font-size: 1.1rem;
    }

    .featured-hero-title {
        font-size: clamp(2.05rem, 3.6vw, 2.85rem);
        margin-bottom: 18px;
    }

    .featured-hero-desc {
        font-size: 1.1rem;
        line-height: 1.68;
        margin-bottom: 24px;
    }

    .featured-hero-price {
        font-size: 1.42rem;
        margin-bottom: 18px;
    }

    .featured-hero-variants {
        gap: 10px 12px;
        margin-bottom: 12px;
    }

    .featured-hero-variant-btn {
        padding: 9px 18px !important;
        font-size: 0.86rem !important;
    }

    .featured-hero-col--content .stock-warning-text {
        font-size: 0.88rem;
        margin-bottom: 10px;
    }

    .featured-hero-cta {
        padding: 12px 26px;
        font-size: 0.72rem;
        letter-spacing: 0.15em;
    }
}

.swiper-pagination.featured-hero-pagination {
    position: relative !important;
    inset: auto !important;
    bottom: auto !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
    flex: 1 1 auto;
    min-width: 0;
    width: auto !important;
    max-width: none;
    margin: 0 !important;
    padding: 0 4px !important;
    box-sizing: border-box;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.featured-hero-pagination .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    margin: 0 !important;
    border-radius: 50%;
    border: 1px solid rgba(74, 14, 14, 0.35);
    background: transparent;
    opacity: 1;
}

.featured-hero-pagination .swiper-pagination-bullet-active {
    background: #4a0e0e;
    border-color: #4a0e0e;
}

/* More to Love row */
.more-to-love {
    max-width: 1200px;
    margin: 48px auto 0;
    padding: 0 clamp(16px, 3vw, 28px) 48px;
}

.more-to-love__header {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 22px;
}

.more-to-love__title {
    font-family: var(--font-heading);
    font-size: clamp(1.35rem, 2.5vw, 1.75rem);
    font-weight: 700;
    color: #3d2914;
    margin: 0;
}

.more-to-love__link {
    font-family: var(--font-body);
    font-size: 0.92rem;
    font-weight: 600;
    color: #5d0c1d;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.more-to-love__link:hover {
    text-decoration: underline;
}

.more-to-love__grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: clamp(12px, 2vw, 20px);
}

.mtl-card {
    background: #fff;
    border-radius: 16px;
    border: 1px solid rgba(74, 14, 14, 0.08);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.mtl-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.08);
}

.mtl-card__media {
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    background: linear-gradient(180deg, #faf8f3 0%, #f0ebe3 100%);
    cursor: pointer;
}

.mtl-card__media img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.mtl-card__body {
    padding: 12px 12px 14px;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 6px;
}

.mtl-card__name {
    font-family: var(--font-heading);
    font-size: 0.92rem;
    font-weight: 700;
    color: #3d2914;
    margin: 0;
    cursor: pointer;
    line-height: 1.25;
}

.mtl-card__sub {
    font-family: var(--font-body);
    font-size: 0.72rem;
    color: #6b6560;
    margin: 0;
    line-height: 1.4;
    flex: 1;
}

.mtl-card__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    flex-wrap: wrap;
}

.mtl-card__price {
    font-family: var(--font-heading);
    font-size: 0.88rem;
    font-weight: 700;
    color: #3d2914;
}

.mtl-strike {
    text-decoration: line-through;
    color: #999;
    font-weight: 600;
    margin-right: 4px;
    font-size: 0.85em;
}

.mtl-rating {
    font-size: 0.72rem;
    font-weight: 700;
    color: #4a4034;
    white-space: nowrap;
}

.mtl-rating i {
    color: var(--accent-amber, #e6a100);
    margin-right: 2px;
}

.mtl-rc {
    font-weight: 600;
    color: #888;
}

.mtl-card__add {
    margin-top: 4px;
    width: 100%;
    padding: 8px 10px;
    border-radius: 10px;
    border: 2px solid #4a0e0e;
    background: #fff;
    color: #4a0e0e;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.78rem;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

.mtl-card__add:hover:not(:disabled) {
    background: #4a0e0e;
    color: #fff;
}

.mtl-card__add:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

@media (max-width: 1100px) {
    .more-to-love__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .featured-carousel-wrap {
        padding-left: max(18px, env(safe-area-inset-left, 0px) + 10px);
        padding-right: max(18px, env(safe-area-inset-right, 0px) + 10px);
        overflow: hidden;
    }

    .featured-carousel-header {
        margin-bottom: 28px;
        padding: 0 max(10px, env(safe-area-inset-left, 0px)) 0 max(10px, env(safe-area-inset-right, 0px));
    }

    .featured-carousel-subtitle {
        line-height: 1.7;
        padding: 0 max(8px, env(safe-area-inset-left, 0px)) 0 max(8px, env(safe-area-inset-right, 0px));
    }

    .featured-carousel-wrap {
        position: relative;
        overflow: hidden;
        /* Prevent horizontal overflow from child slides */
        width: 100%;
        margin: 0 auto;
    }

    .featuredHeroSwiper.swiper {
        width: 100%;
        padding: 20px 0 10px;
        margin: 0;
    }

    .featuredHeroSwiper .swiper-slide {
        max-width: 85vw;
    }

    .featured-hero-controls {
        padding-left: max(14px, env(safe-area-inset-left, 0px) + 6px);
        padding-right: max(14px, env(safe-area-inset-right, 0px) + 6px);
        padding-bottom: max(10px, env(safe-area-inset-bottom, 0px));
        gap: 8px;
    }

    .featured-hero-button-prev,
    .featured-hero-button-next {
        width: 36px;
        height: 36px;
        z-index: 6;
    }

    .featured-hero-slide {
        grid-template-columns: 1fr 1fr;
        text-align: left;
        column-gap: clamp(20px, 6vw, 36px);
        row-gap: clamp(14px, 3.5vw, 22px);
        align-items: center;
        padding: 22px 20px 28px;
        max-width: 100%;
        width: 100%;
        margin: 0 auto;
        box-sizing: border-box;
        border-radius: 20px;
    }

    .featured-hero-col--media {
        align-self: center;
        padding: 0 6px 0 0;
        box-sizing: border-box;
    }

    .featured-hero-col--content {
        text-align: left;
        min-width: 0;
        padding: 4px 0 0 6px;
        box-sizing: border-box;
    }

    .featured-hero-title {
        font-size: clamp(1.2rem, 4.5vw, 1.55rem);
        line-height: 1.22;
        margin: 0 0 12px;
    }

    .featured-hero-desc {
        font-size: 0.9rem;
        line-height: 1.72;
        margin: 0 0 20px;
    }

    .featured-hero-variants {
        justify-content: flex-start;
        gap: 8px 10px;
        margin-bottom: 14px;
    }

    .featured-hero-variant-btn {
        min-width: 0;
        padding: 6px 12px !important;
        font-size: 0.72rem !important;
    }

    .featured-hero-col--content .stock-warning-text {
        margin-bottom: 10px;
    }

    .featured-hero-price {
        margin-bottom: 12px;
        font-size: 1.1rem;
    }

    .featured-hero-subtitle {
        font-size: 0.82rem;
        margin-bottom: 8px;
    }

    .featured-hero-actions-row {
        gap: 12px;
        margin-bottom: 20px;
    }

    .featured-hero-price {
        font-size: 1.15rem !important;
    }

    .featured-hero-cta {
        padding: 10px 24px !important;
        font-size: 0.72rem !important;
        white-space: nowrap;
        width: auto;
        min-width: max-content;
    }

    .featured-hero-meta-row {
        gap: 12px 20px;
        margin-bottom: 20px;
        padding: 8px 0;
    }

    .featured-hero-qty-wrap {
        gap: 10px;
    }

    .featured-hero-qty-wrap .qty-label {
        font-size: 0.65rem;
    }

    .premium-view-all-btn {
        padding: 12px 28px !important;
        font-size: 0.85rem !important;
        white-space: nowrap;
        gap: 10px !important;
    }

    .featured-hero-media-inner {
        max-width: 100%;
        aspect-ratio: 1 / 1;
        padding: 6px;
        background: #fff;
        border: 1px solid rgba(0, 0, 0, 0.05);
        border-radius: 18px;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
        box-sizing: border-box;
        overflow: hidden;
    }

    .featured-hero-product-img {
        border-radius: 18px;
        object-fit: cover;
        filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.1));
    }

    .more-to-love {
        margin-top: 40px;
        padding: 0 max(18px, env(safe-area-inset-left, 0px) + 10px) 52px max(18px, env(safe-area-inset-right, 0px) + 10px);
    }

    .more-to-love__header {
        margin-bottom: 20px;
        gap: 14px;
    }

    .more-to-love__grid {
        gap: 16px;
    }
}

@media (max-width: 600px) {
    .featured-carousel-wrap {
        padding-left: max(14px, env(safe-area-inset-left, 0px) + 6px);
        padding-right: max(14px, env(safe-area-inset-right, 0px) + 6px);
        overflow: hidden;
    }

    .featuredHeroSwiper.swiper {
        padding: 20px 0 10px;
    }

    .featuredHeroSwiper .swiper-slide {
        max-width: 92vw;
    }

    /* Vertical stacked layout on small phones — image on top, content below */
    .featured-hero-slide {
        grid-template-columns: 1fr;
        padding: 20px 18px 24px;
        row-gap: 18px;
        border-radius: 18px;
    }

    .featured-hero-col--media {
        padding: 0;
        width: 140px;
        max-width: 140px;
        margin: 0 auto;
    }

    .featured-hero-media-inner {
        max-width: 100%;
        border-radius: 16px;
        box-shadow:
            0 0 0 3px rgba(212, 181, 129, 0.12),
            0 10px 24px rgba(61, 41, 20, 0.14);
    }

    .featured-hero-col--content {
        padding: 0;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .featured-hero-subtitle {
        justify-content: center;
        margin: 0 auto 10px;
        font-size: 0.7rem;
        padding: 3px 12px;
    }

    .featured-hero-title {
        font-size: 1.15rem;
        margin-bottom: 6px;
        text-align: center;
    }

    .featured-hero-desc {
        font-size: 0.82rem;
        margin-bottom: 10px;
        color: #8a7a6a;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-align: center;
        max-width: 260px;
    }

    .featured-hero-variants {
        justify-content: center;
        gap: 8px 10px;
    }

    .featured-hero-actions-row {
        flex-direction: column;
        align-items: center;
        gap: 8px;
        margin-bottom: 12px;
        width: 100%;
    }

    .featured-hero-price {
        font-size: 1.25rem !important;
        text-align: center;
    }

    .featured-hero-variants-wrap {
        display: flex;
        justify-content: center;
        width: 100%;
    }

    .featured-hero-cta {
        align-self: center;
    }

    .featured-hero-button-prev,
    .featured-hero-button-next {
        width: 34px;
        height: 34px;
    }

    .more-to-love__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }
}

.featured-view-all-wrap {
    text-align: center;
    margin-bottom: 60px;
}

.featured-view-all-link {
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    color: #5c4a3a;
    text-decoration: none;
    border-bottom: 1px solid rgba(92, 74, 58, 0.35);
    padding-bottom: 2px;
    transition: color 0.2s, border-color 0.2s;
}

.featured-view-all-link:hover {
    color: #3d2914;
    border-color: #3d2914;
}

/* ================= FEATURED HERO THUMBS ================= */
.featured-hero-thumbs {
    display: flex;
    justify-content: center;
    gap: clamp(12px, 2.5vw, 28px);
    margin: 28px auto 8px;
    padding: 16px 20px;
    max-width: 1000px;
    width: fit-content;
    overflow-x: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
    scroll-behavior: smooth;
    background: rgba(255, 255, 255, 0);
    backdrop-filter: blur(8px);
    border-radius: 20px;

}

.featured-hero-thumbs::-webkit-scrollbar {
    display: none;
}

.featured-hero-thumb {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    opacity: 0.42;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    min-width: 82px;
    flex-shrink: 0;
    text-align: center;
    padding: 4px;
}

.featured-hero-thumb:hover {
    opacity: 0.78;
    transform: translateY(-3px);
}

.featured-hero-thumb.active {
    opacity: 1;
    transform: translateY(-5px);
}

.featured-hero-thumb .thumb-img-wrapper {
    width: 62px;
    height: 62px;
    position: relative;
    padding: 4px;
    background: #fff;
    border-radius: 50%;
    border: 2px solid rgba(212, 181, 129, 0.25);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.07);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    overflow: hidden;
}

.featured-hero-thumb.active .thumb-img-wrapper {
    border: 2.5px solid var(--accent-amber);
    box-shadow:
        0 0 0 3px rgba(212, 181, 129, 0.2),
        0 8px 24px rgba(93, 12, 29, 0.22);
    transform: scale(1.12);
    background: #fff;
}

.featured-hero-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    transition: transform 0.4s ease;
}

.featured-hero-thumb:hover img {
    transform: scale(1.08);
}

.featured-hero-thumb span {
    font-size: 0.7rem;
    font-weight: 600;
    font-family: var(--font-body);
    color: #6a1a21;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 90px;
    transition: color 0.3s, font-weight 0.2s;
    letter-spacing: 0.01em;
}

.featured-hero-thumb.active span {
    color: #5d0c1d;
    font-weight: 700;
}

@media (max-width: 600px) {
    .featured-hero-thumbs {
        justify-content: safe center;
        padding: 12px 16px 10px;
        margin: 20px auto 6px;
        gap: 16px;
        mask-image: linear-gradient(to right, transparent, black 12%, black 88%, transparent);
    }

    .featured-hero-thumb {
        min-width: 70px;
    }

    .featured-hero-thumb .thumb-img-wrapper {
        width: 52px;
        height: 52px;
    }
}

/* ================= PRODUCT GRID (4 Per Row & Centered) ================= */
.product-grid {
    display: flex;
    /* Flexbox for centering */
    flex-wrap: wrap;
    /* Wraps to next line */
    justify-content: center;
    /* Centers the orphan cards in the last row */
    gap: 30px;
    /* Spacing between cards */
    max-width: 1400px;
    /* Increased max-width to fit 4 cards comfortably */
    margin: 0 auto;
    padding: 0 20px;
    /* Prevents touching edges on smaller screens */
}

.p-card {
    background: #ffffff8f;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: 0.3s;
    border: 1px solid #eee;
    display: flex;
    flex-direction: column;

    /* DESKTOP: 4 Items per row */
    /* Formula: 25% width minus the gap adjustment */
    flex: 0 0 calc(25% - 23px);

    min-width: 250px;
    /* Prevents cards from becoming too skinny */
}

/* Hover Effect */
.p-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-color: var(--accent-gold);
}

/* --- RESPONSIVE BREAKPOINTS --- */

/* Laptop/Tablet: 3 Per Row */
@media (max-width: 1200px) {
    .p-card {
        flex: 0 0 calc(33.333% - 20px);
    }
}

/* Small Tablet: 2 Per Row */
@media (max-width: 850px) {

    /* 1. Adjust Grid Spacing */
    .product-grid {
        gap: 12px;
        /* Smaller gap between cards */
        padding: 0 12px;
        /* Use more screen width */
    }

    /* 2. Force 2 Columns & Override Min-Width (CRITICAL FIX) */
    .p-card {
        /* Exactly 50% minus half the gap */
        flex: 0 0 calc(50% - 6px);
        /* IMPORTANT: Override default min-width so they don't stack */
        min-width: 0 !important;
        margin: 0;
    }

    /* 3. Proportional Scaling (The "Zoom Out" Effect) */

    /* Image height must be reduced to stop it looking "thin" */
    .p-image-container {
        height: 140px;
        /* Reduced from 250px */
    }

    .p-image {
        height: 100%;
    }

    /* Reduce internal padding so content reaches edges */
    .p-details {
        padding: 10px;
    }

    /* Scale down fonts */
    .p-name {
        font-size: 0.9rem;
        margin-bottom: 4px;
        /* Ensure title stays on one line with dots if too long */
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    /* Hide description on mobile to save space */
    .p-desc {
        display: none;
    }

    .p-price {
        font-size: 1rem;
        margin-bottom: 8px;
    }

    .original-price {
        font-size: 0.75rem;
    }

    /* Scale down Variant Buttons */
    .variant-selector-wrapper {
        gap: 4px;
        margin-bottom: 8px;
    }

    .btn-variant {
        padding: 4px 8px;
        font-size: 0.7rem;
    }

    /* Scale down Quantity Selector */
    .qty-control-wrapper {
        margin-bottom: 8px;
        height: 28px;
    }

    .qty-label {
        display: none;
    }

    /* Hide 'Qty:' text */

    .qty-btn-card {
        padding: 0 8px;
        font-size: 0.9rem;
        line-height: 28px;
    }

    .qty-input-styled {
        width: 30px;
        font-size: 0.85rem;
        height: 28px;
    }

    /* Scale down Action Buttons for compact view */
    .btn-group {
        display: none;
    }

    .btn-card {
        font-size: 0.72rem;
        padding: 9px 12px;
    }

    /* Adjust Ribbon */
    .discount-ribbon {
        font-size: 0.6rem;
        padding: 2px 25px;
        top: 8px;
        right: -25px;
    }
}

/* ================= MOBILE: 2 PER ROW (COMPACT / ZOOMED OUT) ================= */
/* ================= MOBILE: BALANCED 2-COLUMN LAYOUT ================= */
@media (max-width: 550px) {

    /* 1. Grid: Tight gap to allow maximum card width */
    .product-grid {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        padding: 0 8px;
    }

    .p-card {
        flex: 0 0 calc(50% - 4px);
        /* Exact 50% split */
        width: calc(50% - 4px);
        min-width: 0 !important;
        margin: 0;
    }

    /* 2. INCREASED Image Height (Makes the product look better) */
    .p-image-container,
    .p-image {
        height: 155px !important;
        /* Increased from 105px to 155px */
    }

    /* 3. COMPACT CONTENT AREA (Fixes "Empty Spaces") */
    .p-details {
        padding: 8px !important;
        /* Tighter padding */
    }

    /* 4. REDUCED TEXT SIZES */
    .p-name {
        font-size: 0.8rem;
        /* Smaller, neat title */
        margin-bottom: 2px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        line-height: 1.2;
    }

    /* Hide Description */
    .p-desc {
        display: none;
    }

    /* Compact Price */
    .p-price {
        font-size: 0.6rem;
        font-weight: 700;
        margin-bottom: 4px;
        /* Reduced margin */
    }

    .original-price {
        font-size: 0.7rem;
    }

    /* 5. TINY VARIANT BUTTONS */
    .variant-selector-wrapper {
        gap: 4px;
        margin-bottom: 4px;
        /* Reduced empty space */
    }

    .btn-variant {
        padding: 2px 8px;
        font-size: 0.4rem;
        /* Tiny text */
        height: 22px;
        /* Fixed height */
        border-radius: 4px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* 6. COMPACT QUANTITY SELECTOR */
    .qty-control-wrapper {
        height: 24px;
        margin-bottom: 6px;
        /* Reduced empty space */
        border-radius: 4px;
    }

    .qty-btn-card {
        padding: 0;
        width: 24px;
        font-size: 0.9rem;
        line-height: 22px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .qty-input-styled {
        width: 24px;
        font-size: 0.8rem;
        height: 24px;
    }

    .qty-label {
        display: none;
    }

    /* 7. COMPACT ACTION BUTTONS - pc-cta-wrap handled by pill styles */
    .btn-group {
        display: none;
    }

    /* 8. Micro Ribbon */
    .discount-ribbon {
        font-size: 0.5rem;
        padding: 2px 20px;
        top: 6px;
        right: -24px;
    }

    /* Hide stock text to clean up UI */
    .stock-warning-text {
        display: none;
    }
}

.p-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    background: #f9f9f9;
}

.p-details {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}


.p-name {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--text-main);
    font-family: var(--font-heading);
    margin-top: 0;
}

.p-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 15px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.p-price {
    font-size: 1.3rem;
    color: var(--accent-amber);
    font-weight: 700;
    margin-bottom: 15px;
}

.qty-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.qty-label {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Quantity Controls in Card */
.qty-control-wrapper {
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 6px;
    overflow: hidden;
    width: fit-content;
    margin-bottom: 15px;
}

.qty-input-styled {
    width: 40px;
    text-align: center;
    border: none;
    font-weight: 600;
    color: var(--text-main);
    outline: none;
    -moz-appearance: textfield;
    appearance: textfield;
    background-color: #55555500;
}

.qty-input-styled::-webkit-outer-spin-button,
.qty-input-styled::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.qty-btn-card {
    background: #f9f9f9;
    border: none;
    padding: 5px 12px;
    cursor: pointer;
    color: var(--accent-amber);
    font-weight: bold;
    font-size: 1.1rem;
    transition: 0.2s;
}

.qty-btn-card:hover {
    background: var(--accent-amber);
    color: white;
}

.qty-btn-card:disabled {
    color: #ccc;
    cursor: not-allowed;
}

/* Product card CTA wrap */
.pc-cta-wrap {
    margin-top: auto;
    padding-top: 12px;
    display: flex;
    align-items: center;
}

/* Base card button */
.btn-card {
    width: 100%;
    padding: 11px 16px;
    font-size: 0.78rem;
    font-weight: 700;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

/* Shimmer sweep on hover */
.btn-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.28), transparent);
    transition: left 0.45s ease;
    pointer-events: none;
}

.btn-card:hover::before {
    left: 150%;
}

/* Add to Cart — premium gradient */
.btn-add {
    background: linear-gradient(135deg, #4a0e0e 0%, #8b1a1a 60%, #c0392b 100%);
    color: #fff;
    border: none;
    box-shadow: 0 4px 14px rgba(74, 14, 14, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.btn-add:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 22px rgba(74, 14, 14, 0.38);
    background: linear-gradient(135deg, #3a0b0b 0%, #7a1515 60%, #a93226 100%);
}

.btn-add:active {
    transform: translateY(-1px) scale(0.98);
}

/* Sold Out */
.btn-card.btn-disabled {
    background: #e8e8e8;
    color: #aaa;
    cursor: not-allowed;
    box-shadow: none;
    transform: none !important;
    pointer-events: none;
    letter-spacing: 0.3px;
}

/* Hide old 2-column btn-group layout (replaced by pc-cta-wrap) */
.btn-group {
    display: none;
}




/* ================= FOOTER ================= */
footer {
    background: #5a0c19;
    color: rgba(255, 255, 255, 0.85);
    padding: 60px 50px 20px;
    margin-top: 0;
    z-index: 1000;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto 40px;
}

.footer-col p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    line-height: 1.7;
}

.footer-col h4 {
    margin-bottom: 20px;
    color: #CCAC6F;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    letter-spacing: 0.5px;
}

.footer-col a {
    display: block;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 10px;
    text-decoration: none;
    transition: 0.3s;
}

.footer-col a:hover {
    color: #CCAC6F;
    padding-left: 5px;
}

.footer-address {
    display: flex !important;
    align-items: flex-start;
    gap: 10px;
    margin-top: 15px;
    color: rgba(255, 255, 255, 0.6) !important;
    font-size: 0.85rem;
    line-height: 1.6;
}

.footer-address i {
    color: #CCAC6F;
    margin-top: 3px;
    flex-shrink: 0;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(204, 172, 111, 0.2);
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.8rem;
}

.copyright a {
    color: inherit;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

.copyright a:hover {
    color: #CCAC6F;
    text-shadow: 0 0 10px rgba(204, 172, 111, 0.4);
}

/* ================= STRUCTURAL (MODALS/CART) ================= */
.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(2px);
    z-index: 1500;
    opacity: 0;
    pointer-events: none;
    transition: 0.3s;
}

.cart-overlay.open {
    opacity: 1;
    pointer-events: all;
}

.cart-sidebar {
    position: fixed;
    top: 0;
    right: -450px;
    width: 400px;
    height: 100vh;
    height: 100dvh;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-left: 1px solid rgba(255, 255, 255, 0.3);
    z-index: 10000;
    display: flex;
    flex-direction: column;
    transition: right 0.4s cubic-bezier(0.19, 1, 0.22, 1);
    box-shadow: -15px 0 45px rgba(0, 0, 0, 0.15);
}

.cart-sidebar.open {
    right: 0;
}

.cart-header {
    padding: 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-header h2 {
    margin: 0;
    font-size: 1.2rem;
    font-family: var(--font-heading);
    text-transform: uppercase;
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.cart-footer {
    padding: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    background: rgba(255, 255, 255, 0.3);
}

.cart-total {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--accent-amber) !important;
}

/* Auth Overlay */
.auth-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    /* Changed for scrollability */
    padding: 5vh 20px;
    /* Safe space top & bottom */
    opacity: 0;
    pointer-events: none;
    transition: 0.3s;
    overflow-y: auto;
    overscroll-behavior: contain;
}

.auth-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

.auth-modal {
    background: white;
    width: 400px;
    padding: 40px;
    border-radius: 12px;
    position: relative;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    margin: auto;
    /* Automatically centers within the flexbox */
    /* Removed max-height so it expands naturally, overlay scrolls it */
}

body:has(.auth-overlay.open),
body:has(.cart-sidebar.open),
body:has(.mobile-menu-overlay[style*="display: flex"]),
body:has(.mobile-menu-overlay.open) {
    overflow: hidden;
}

.auth-tabs {
    display: flex;
    border-bottom: 1px solid #eee;
    margin-bottom: 25px;
}

.auth-tabs .tab {
    flex: 1;
    text-align: center;
    padding: 10px;
    cursor: pointer;
    color: #999;
    font-weight: 600;
    font-family: var(--font-heading);
    text-transform: uppercase;
}

.auth-tabs .tab.active {
    color: var(--accent-amber);
    border-bottom: 2px solid var(--accent-amber);
}

.auth-form {
    display: none;
    flex-direction: column;
    gap: 15px;
}

.auth-form.active {
    display: flex;
}

.auth-form h3 {
    margin-bottom: 5px;
    color: var(--text-main);
    font-family: var(--font-heading);
    text-transform: uppercase;
}

.auth-form input {
    padding: 12px;
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 6px;
    outline: none;
    width: 100%;
}

.auth-form input:focus {
    border-color: var(--accent-amber);
    background: white;
}

.btn-primary {
    background: var(--accent-amber);
    color: white;
    border: none;
    padding: 12px;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
    width: 100%;
}

.btn-primary:hover {
    background: var(--accent-dark);
}

.btn-secondary {
    background: white;
    color: var(--text-main);
    border: 1px solid #ddd;
    padding: 12px;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
    width: 100%;
    transition: 0.2s;
}

.btn-secondary:hover {
    border-color: var(--accent-amber);
    color: var(--accent-amber);
}

.btn-google {
    background: white;
    color: var(--text-main);
    border: 1px solid #ddd;
    padding: 12px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 6px;
    width: 100%;
}

.btn-google:hover {
    background: #f5f5f5;
}

/* ================= PHONE-CENTRIC LOGIN REDESIGN ================= */

/* Hero phone section */
.login-phone-hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px 0 24px;
    gap: 8px;
}

/* Animated concentric rings around the phone icon */
.login-phone-icon-wrap {
    position: relative;
    width: 90px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
}

.login-phone-icon-ring {
    position: absolute;
    border-radius: 50%;
    border: 2px solid rgba(204, 172, 111, 0.3);
    animation: loginRingPulse 2s ease-out infinite;
}

.login-phone-icon-ring:nth-child(1) {
    width: 90px;
    height: 90px;
    animation-delay: 0s;
}

.login-phone-icon-ring.ring-2 {
    width: 70px;
    height: 70px;
    border-color: rgba(204, 172, 111, 0.5);
    animation-delay: 0.4s;
}

@keyframes loginRingPulse {
    0% {
        transform: scale(0.85);
        opacity: 0.8;
    }

    70% {
        transform: scale(1.15);
        opacity: 0;
    }

    100% {
        opacity: 0;
    }
}

.login-phone-icon-core {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: linear-gradient(135deg, #5D0C1D 0%, #8b1a2a 50%, #CCAC6F 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(93, 12, 29, 0.35), 0 0 0 4px rgba(204, 172, 111, 0.15);
    position: relative;
    z-index: 2;
    animation: loginIconFloat 3s ease-in-out infinite;
}

@keyframes loginIconFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-4px);
    }
}

.login-phone-icon-core i {
    color: #fff;
    font-size: 1.5rem;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.3));
}

.login-phone-title {
    font-family: var(--font-heading);
    color: var(--text-main);
    font-size: 1.4rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
}

.login-phone-subtitle {
    font-size: 0.82rem;
    color: #999;
    margin: 0;
    letter-spacing: 0.3px;
}

/* The big gold OTP CTA button */
.btn-phone-hero {
    position: relative;
    overflow: hidden;
    margin-top: 12px;
    width: 80%;
    max-width: 260px;
    padding: 14px 28px;
    background: linear-gradient(135deg, #5D0C1D 0%, #8b1a2a 40%, #CCAC6F 100%);
    color: #fff;
    border: none;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 8px 24px rgba(93, 12, 29, 0.3), 0 3px 8px rgba(204, 172, 111, 0.2);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
}

.btn-phone-hero:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 14px 32px rgba(93, 12, 29, 0.4), 0 6px 14px rgba(204, 172, 111, 0.25);
}

.btn-phone-hero:active {
    transform: translateY(-1px) scale(0.98);
}

/* Shimmer sweep */
.btn-phone-hero-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.28), transparent);
    transition: left 0.5s ease;
    pointer-events: none;
}

.btn-phone-hero:hover .btn-phone-hero-shine {
    left: 160%;
}

.btn-phone-arrow {
    margin-left: 2px;
    transition: transform 0.3s ease;
}

.btn-phone-hero:hover .btn-phone-arrow {
    transform: translateX(4px);
}

/* ---- Divider between hero and small icons ---- */
.login-alt-divider {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 4px 0 16px;
}

.login-alt-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, transparent, #e0e0e0, transparent);
}

.login-alt-text {
    font-size: 0.75rem;
    color: #bbb;
    white-space: nowrap;
    letter-spacing: 0.4px;
}

/* ---- Small icon-style login alternatives ---- */
.login-alt-icons {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin-bottom: 8px;
}

.login-icon-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    padding: 10px 20px;
    background: #f8f8f8;
    border: 1px solid #eee;
    border-radius: 12px;
    cursor: pointer;
    font-size: 0.72rem;
    font-weight: 600;
    color: #555;
    font-family: var(--font-body);
    letter-spacing: 0.4px;
    transition: all 0.25s ease;
    min-width: 72px;
}

.login-icon-btn i {
    font-size: 1.1rem;
}

.login-icon-btn:hover {
    background: #fff;
    border-color: var(--accent-gold, #CCAC6F);
    color: var(--accent-amber);
    box-shadow: 0 4px 12px rgba(204, 172, 111, 0.18);
    transform: translateY(-2px);
}

.login-icon-google i {
    color: #ea4335;
}

.login-icon-email i {
    color: #CCAC6F;
}

/* ---- Collapsible email login section ---- */
.login-email-section {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.45s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.35s ease, margin 0.35s ease;
    margin-top: 0;
}

.login-email-section.open {
    max-height: 300px;
    opacity: 1;
    margin-top: 8px;
}

/* =====================================================*/

.divider {
    text-align: center;
    position: relative;
    margin: 10px 0;
}

.divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 1px;
    background: #eee;
    z-index: 0;
}

.divider span {
    background: white;
    padding: 0 10px;
    position: relative;
    z-index: 1;
    color: #999;
    font-size: 0.8rem;
}

.forgot-link {
    font-size: 0.8rem;
    color: #666;
    cursor: pointer;
    text-align: center;
    margin-top: 5px;
}

.forgot-link:hover {
    color: var(--accent-amber);
    text-decoration: underline;
}

/* ================= ADDRESS & ORDERS ================= */
.lbl-small {
    color: #aaa;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.address-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-height: 200px;
    overflow-y: auto;
}

.addr-card {
    background: #f9f9f9;
    padding: 12px;
    border: 1px solid #eee;
    border-radius: 6px;
    position: relative;
}

.addr-card h5 {
    color: var(--text-main);
    margin-bottom: 3px;
    font-size: 0.9rem;
    font-weight: 600;
}

.addr-card p {
    color: var(--text-muted);
    font-size: 0.8rem;
    line-height: 1.4;
}

.addr-card .del-addr {
    position: absolute;
    top: 10px;
    right: 10px;
    color: var(--accent-red);
    cursor: pointer;
    font-size: 0.8rem;
}

.addr-card .edit-addr {
    position: absolute;
    top: 10px;
    right: 35px;
    color: #777;
    cursor: pointer;
    font-size: 0.8rem;
}

.addr-card .edit-addr:hover {
    color: var(--accent-amber);
}

.row-2 {
    display: flex;
    gap: 10px;
}

.row-2 input {
    flex: 1;
}

.radio-group {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
}

.radio-container {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 0.9rem;
    color: #555;
    user-select: none;
}

.radio-container input {
    margin-right: 8px;
    accent-color: var(--accent-amber);
}

.cart-address-section {
    padding: 15px 20px;
    background: #f9f9f9;
    border-top: 1px solid #eee;
}

.cart-addr-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.cart-addr-header h4 {
    font-size: 0.9rem;
    color: var(--text-main);
    text-transform: uppercase;
    font-family: var(--font-heading);
}

.cart-addr-header span {
    color: var(--accent-amber);
    font-size: 0.8rem;
    cursor: pointer;
    font-weight: bold;
}

.cart-addr-list {
    max-height: 25vh;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-right: 5px;
}

.cart-addr-list::-webkit-scrollbar {
    width: 4px;
}

.cart-addr-list::-webkit-scrollbar-track {
    background: transparent;
}

.cart-addr-list::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 4px;
}

.cart-addr-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px;
    background: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    transition: 0.2s;
}

.cart-addr-item:hover {
    border-color: var(--accent-amber);
}

.cart-addr-item.selected {
    border-color: var(--accent-amber);
    background: var(--accent-light);
}

.addr-details {
    font-size: 0.8rem;
    color: #666;
    line-height: 1.3;
}

.addr-details strong {
    color: var(--text-main);
    display: block;
    margin-bottom: 2px;
}

/* Order History */
.order-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 6px;
    padding: 15px;
    margin-bottom: 15px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.order-id {
    font-size: 0.8rem;
    color: var(--text-main);
    font-weight: bold;
    font-family: var(--font-heading);
}

.order-date {
    font-size: 0.7rem;
    color: #999;
}

.order-status {
    font-size: 0.7rem;
    padding: 2px 8px;
    border-radius: 10px;
    text-transform: uppercase;
    font-weight: bold;
}

.status-Paid {
    background: #FFF9C4;
    color: var(--accent-amber);
    border: 1px solid var(--accent-amber);
}

.status-Accepted {
    background: #E8F5E9;
    color: #2E7D32;
    border: 1px solid #2E7D32;
}

.status-Rejected {
    background: #FFEBEE;
    color: #C62828;
    border: 1px solid #C62828;
}

.order-items-list {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-bottom: 10px;
}

.order-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 10px;
    border-top: 1px solid #eee;
    font-weight: bold;
    color: var(--accent-amber);
}

.order-card.new-order {
    border: 1px solid var(--accent-amber);
    box-shadow: 0 0 10px rgba(245, 124, 0, 0.2);
}

/* ================= ALERTS & UTILS ================= */
.alert-btn {
    min-width: 80px;
    padding: 8px 16px;
    margin: 0 5px;
}

#customAlertOverlay .auth-modal {
    width: 350px;
    text-align: center;
}

/* Cart Qty Wrapper in Sidebar */
.cart-qty-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 5px;
}

.qty-btn {
    width: 24px;
    height: 24px;
    border-radius: 4px;
    border: 1px solid var(--accent-amber);
    background: white;
    color: var(--accent-amber);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1rem;
    font-weight: bold;
    transition: 0.2s;
}

.qty-btn:hover {
    background: var(--accent-amber);
    color: white;
}

.qty-display {
    font-size: 0.9rem;
    font-weight: 600;
    width: 20px;
    text-align: center;
}

/* Marquee Bar */
.marquee-bar {
    position: fixed;
    top: 75px;
    left: 0;
    width: 100%;
    background-color: var(--accent-light);
    color: var(--accent-orange);
    z-index: 999;
    padding: 8px 0;
    overflow: hidden;
    white-space: nowrap;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid #FFE082;
    font-family: var(--font-heading);
    font-weight: 600;
    letter-spacing: 0.5px;
}

.marquee-bar a {
    color: var(--accent-orange);
    text-decoration: none;
    font-weight: 700;
}

.marquee-content {
    display: inline-block;
    padding-left: 100%;
    animation: scroll-left 25s linear infinite;
}

.marquee-content:hover {
    animation-play-state: paused;
}

@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    left: 30px;
    background-color: #25d366;
    /* Standard WhatsApp Green */
    color: white;
    padding: 12px 24px;
    border-radius: 50px;
    box-shadow: 0 4px 12px rgba(245, 124, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-family: var(--font-body);
    font-weight: 600;
    z-index: 3000;
    transition: background-color 0.3s ease, opacity 0.5s ease, transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    animation: quiet-jump 4s ease-in-out infinite;
}

.whatsapp-float:hover {
    background-color: #128c7e;
    animation-play-state: paused;
}

.whatsapp-float i {
    font-size: 1.4rem;
}

/* Simplified Premium Scroll to Top Button */
.scroll-to-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 3000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    transform: translateY(20px);
}

.scroll-to-top-btn.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.simple-stt-btn {
    cursor: pointer;
    border: none;
    background: var(--accent-gold, #CCAC6F);
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.simple-stt-btn:hover {
    background: #5D0C1D;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

@keyframes quiet-jump {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

/* Bulk Message Box */
.bulk-msg-box {
    position: fixed;
    bottom: 95px;
    left: 30px;
    background: white;
    padding: 12px 15px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    font-size: 0.85rem;
    color: #333;
    z-index: 3000;
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid var(--accent-light);
    font-family: var(--font-body);
    font-weight: 500;
    animation: fadeUp 0.5s ease-out 1s backwards;
}

.bulk-msg-box::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 24px;
    width: 12px;
    height: 12px;
    background: white;
    transform: rotate(45deg);
    border-bottom: 1px solid var(--accent-light);
    border-right: 1px solid var(--accent-light);
}

.close-bulk {
    cursor: pointer;
    color: #bbb;
    font-size: 0.9rem;
    padding: 2px;
    transition: 0.2s;
}

.close-bulk:hover {
    color: var(--accent-red);
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ================= MOBILE ================= */
@media (max-width: 768px) {
    .banner-section {
        height: 30vh;
        margin-top: 75px;
    }

    .banner-content h1 {
        font-size: 2rem;
    }

    .products-section {
        padding: 40px 20px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .cart-sidebar {
        width: 100%;
        right: -100%;
    }

    .auth-modal {
        width: 90%;
        padding: 25px;
    }

    .luxury-hero {
        grid-template-columns: 1fr;
        padding: 0 20px;
        margin: auto;
        text-align: center;
    }

    .luxury-left {
        text-align: center;
    }

    .luxury-left p {
        margin: auto;
    }

    .luxury-actions {
        justify-content: center;
    }

    .luxury-right img {
        max-width: 260px;
        margin-top: 30px;
    }

    .marquee-bar {
        font-size: 0.85rem;
        top: 75px;
    }

    .whatsapp-float {
        bottom: 85px;
        left: 20px;
        right: auto;
        padding: 10px 18px;
        font-size: 0.9rem;
    }

    .bulk-msg-box {
        bottom: 140px;
        left: 20px;
        right: auto;
        font-size: 0.75rem;
    }

    .scroll-to-top-btn {
        bottom: 85px;
        right: 20px;
    }

    .stt-button {
        width: 75px;
        height: 75px;
    }

    .stt-button__circle {
        width: 32px;
        height: 32px;
    }

    .stt-button__text span {
        font-size: 0.58rem;
        inset: 4px;
    }
}



/* Video styling to act as background cover */
.banner-bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Ensures video fills screen without stretching */
    z-index: 0;
    /* Sits at the very bottom */
}

/* Ensure the dark overlay sits ON TOP of the video */
.banner-slide::before {
    z-index: 1 !important;
    /* Forces overlay above video */
}

/* Ensure content sits ON TOP of the overlay */
.luxury-hero {
    position: relative;
    z-index: 2;
    /* Highest priority */
}

/* ================= BENEFITS SECTION (HONEY THEME) ================= */
.benefits-section {
    /* Added extra top padding as requested */
    padding: 100px 0 80px;
    position: relative;
    /* Light Cream to White gradient to match the "sky" effect in Honey colors */
    background: linear-gradient(to bottom, var(--accent-light) 0%, #fcfcfc 100%);
    overflow: hidden;
}

/* Background Layer for your future images */
.benefits-bg-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;

    /* --- ADDED BACKGROUND IMAGE --- */
    /* Replace 'honey-pattern.jpg' with your actual image filename */
    background-image: url('../static/im/section23.png');

    /* Ensures the image covers the entire section */
    background-size: cover;

    /* Centers the image */
    background-position: center;

    /* Prevents tiling (unless you are using a seamless pattern) */
    background-repeat: no-repeat;

    /* IMPORTANT: Adjust this value (0.1 to 1.0) to make the text readable */

}

.benefits-section .section-header,
.benefits-section .benefits-grid {
    position: relative;
    z-index: 2;
}

/* ================= BENEFITS GRID ================= */
/* ================= BENEFITS GRID (Fixed Spacing) ================= */
.benefits-grid {
    display: grid;
    /* CHANGE: Restrict column width so they don't stretch too wide */
    grid-template-columns: repeat(5, minmax(140px, 220px));

    /* CHANGE: Group items in the center of the strip */
    justify-content: center;

    gap: 40px 20px;
    /* Reduced gap slightly */

    /* Full width settings (Touching corners) */
    width: 100%;
    max-width: none;
    margin: 60px 0 0;
    border-radius: 0;

    /* Opaque Layer Styles */
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(8px);
    padding: 50px 20px;

    /* Borders */
    border-top: 1px solid rgba(255, 255, 255, 0.9);
    border-bottom: 1px solid rgba(255, 255, 255, 0.9);
    border-left: none;
    border-right: none;

    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    position: relative;
    z-index: 2;
}

/* Ensure responsiveness works with the new column sizing */
@media (max-width: 1100px) {
    .benefits-grid {
        /* Switch to 3 columns on tablets */
        grid-template-columns: repeat(3, minmax(140px, 220px));
    }
}

@media (max-width: 650px) {
    .benefits-grid {
        /* Switch to 2 columns on mobile */
        grid-template-columns: repeat(2, 1fr);
        gap: 30px 10px;
    }
}

.benefit-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.3s ease;
    padding: 10px;
}

.benefit-item:hover {
    transform: translateY(-5px);
}

/* --- ICON STYLING (Attractive Circles) --- */
.b-icon {
    width: 100px;
    /* Slightly larger for better visibility */
    height: 100px;
    background: #ffffff;
    /* Clean white background */
    border-radius: 50%;
    /* Makes it a perfect circle */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    /* Bouncy transition */

    /* Attractive Styling */
    box-shadow: 0 10px 30px rgba(245, 124, 0, 0.15);
    /* Soft Honey Shadow */
    border: 4px solid var(--accent-light);
    /* Light cream border ring */
    position: relative;
    z-index: 1;
}

/* Optional: Outer decorative ring on hover */
.b-icon::after {
    content: '';
    position: absolute;
    top: -8px;
    left: -8px;
    right: -8px;
    bottom: -8px;
    border-radius: 50%;
    border: 1px dashed var(--accent-amber);
    opacity: 0;
    transform: scale(0.8) rotate(0deg);
    transition: all 0.4s ease;
    z-index: -1;
}

/* Icon (Phosphor Icon) Styling */
.b-icon i {
    font-size: 3.2rem;
    color: var(--accent-amber);
    transition: 0.3s ease;
    filter: drop-shadow(0 2px 5px rgba(245, 124, 0, 0.2));
}

/* --- HOVER EFFECTS --- */
.benefit-item:hover .b-icon {
    transform: translateY(-10px);
    background: var(--accent-amber);
    /* Fills circle with Honey color */
    border-color: var(--accent-gold);
    box-shadow: 0 20px 40px rgba(245, 124, 0, 0.35);
}

.benefit-item:hover .b-icon i {
    color: #ffffff;
    /* Icon turns white */
    transform: scale(1.1);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.benefit-item:hover .b-icon::after {
    opacity: 1;
    transform: scale(1) rotate(180deg);
    /* Spins the outer ring */
}

/* --- RESPONSIVE ADJUSTMENTS --- */
@media (max-width: 1024px) {
    .benefits-grid {
        grid-template-columns: repeat(3, 1fr);
        /* 3 items per row on tablets */
        gap: 40px 20px;
    }
}

@media (max-width: 600px) {
    .benefits-section {
        padding: 60px 20px;
    }

    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
        /* 2 items per row on mobile */
        gap: 30px 10px;
    }

    .b-icon i {
        font-size: 2.8rem;
    }

    .benefit-item h4 {
        font-size: 0.9rem;
    }
}


.dot {
    width: 12px;
    height: 12px;
    background: #ddd;
    border-radius: 50%;
    cursor: pointer;
    transition: 0.3s;
}

.dot:hover {
    background: var(--accent-gold);
}

.dot.active {
    background: var(--accent-amber);
    width: 30px;
    border-radius: 10px;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}






/* Container for the image */
.footer-bottom-image {
    width: 100%;
    background: #2D1B16;
    /* Matches your footer color */
    display: block;
    line-height: 0;
    /* Removes tiny gap at bottom */
    margin-top: -1px;
    position: relative;
    z-index: 1000;
}

/* The Image itself */
.footer-bottom-image img {
    width: 100%;
    /* Change from fixed height to auto to show the full image */
    height: auto;

    /* Change from cover to contain/unset to prevent cropping */
    object-fit: contain;

    display: block;
}

/* Optional: Max-height limit if the image is naturally too tall */
@media (min-width: 1200px) {
    .footer-bottom-image img {
        max-height: 600px;
        /* Adjust this value based on your image aspect ratio */
    }
}

/* Mobile Adjustment */
@media (max-width: 768px) {
    .footer-bottom-image img {
        height: auto;
        width: 100%;
    }
}




/* ================= DESKTOP NAVIGATION ================= */
.desktop-nav {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    gap: clamp(18px, 2.4vw, 40px);
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    max-width: calc(100vw - 300px);
}

.nav-link {
    text-decoration: none;
    color: #9c8431;
    /* Creamy yellow color from your theme */
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1.1rem;
    text-transform: uppercase;
    position: relative;
    transition: all 0.3s ease;
    letter-spacing: 1px;
    padding: 3px 0;
    white-space: nowrap;
    flex-shrink: 0;
}

/* Hover Effect: Glow */
.nav-link:hover {
    color: #cebf8d;
    text-shadow: 0 0 8px rgba(255, 248, 225, 0.6);
}

/* Active State: Animated Underline */
.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background-color: rgb(44, 33, 17);
    transition: width 0.3s ease, left 0.3s ease;
    box-shadow: 0 0 5px rgba(255, 255, 255, 0.8);
}

.nav-link.active::after {
    width: 100%;
    left: 0;
}

.nav-link.active {
    color: #574a14;
}

/* Desktop: keep link labels on one line with comfortable spacing */
@media (min-width: 901px) and (max-width: 1180px) {
    .desktop-nav {
        gap: clamp(12px, 1.6vw, 24px);
    }

    .nav-link {
        font-size: 0.95rem;
        letter-spacing: 0.55px;
    }
}

/* Hide on Mobile/Tablet */
@media (max-width: 900px) {
    .desktop-nav {
        display: none;
    }
}


/* ================= MOBILE MENU STYLES ================= */

/* 1. Hamburger Icon */
#mobileMenuBtn {
    display: none;
    /* Hidden on Desktop */
    font-size: 1.4rem;
    margin: 0;
}

/* 2. The Full Screen Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--accent-amber);
    /* Honey Theme Background */
    z-index: 3000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transform: translateY(-100%);
    /* Hidden above screen */
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    opacity: 0;
}

.mobile-menu-overlay.open {
    transform: translateY(0);
    /* Slide down */
    opacity: 1;
}

/* 3. Links inside the menu */
.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 30px;
    text-align: center;
}

.mobile-nav-links a {
    color: white;
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: 0.3s;
}

.mobile-nav-links a:hover {
    color: var(--accent-light);
    transform: scale(1.1);
}

/* 4. Close Button */
.mobile-menu-overlay .close-menu {
    position: absolute;
    top: calc(var(--nav-padding-y) + 18px);
    right: var(--nav-padding-x);
    color: white;
    font-size: 2rem;
    cursor: pointer;
}

/* 5. Footer inside menu */
.mobile-menu-footer {
    position: absolute;
    bottom: 40px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.1rem;
    font-family: var(--font-heading);
    letter-spacing: 1px;
}

/* ================= MEDIA QUERIES ================= */
@media (max-width: 900px) {

    /* Show Hamburger on Mobile */
    #mobileMenuBtn {
        display: block;
    }

    /* Keep Desktop Nav Hidden */
    .desktop-nav {
        display: none;
    }
}

/* ================= HONEY DRIP CARD EFFECT ================= */
.p-card {
    position: relative;
    /* Enables absolute positioning inside the card */
}

.honey-drip-overlay {
    position: absolute;
    top: 250px;
    /* Sits slightly above the bottom of the 250px image */
    left: 0;
    width: 100%;
    height: auto;
    z-index: 10;
    /* Ensures it sits on top of image and text */
    pointer-events: none;
    /* Lets clicks pass through to the card */
    filter: drop-shadow(0 4px 2px rgba(0, 0, 0, 0.1));
    /* Adds depth */
}

/* Adjust padding in details so text doesn't hit the drip */
.p-details {
    padding-top: 25px !important;
}


/* ================= SCROLL REVEAL ANIMATIONS ================= */
.reveal-up {
    opacity: 0;
    transform: translateY(50px);
    /* Starts 50px lower */
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal-up.active {
    opacity: 1;
    transform: translateY(0);
}

/* Add delays for grid items to create a "staggered" effect */
.reveal-delay-100 {
    transition-delay: 0.1s;
}

.reveal-delay-200 {
    transition-delay: 0.2s;
}

.reveal-delay-300 {
    transition-delay: 0.3s;
}


/* ================= PROFESSIONAL CART STYLES ================= */

/* The Item Container */
.cart-item-row {
    display: flex;
    gap: 15px;
    padding: 15px;
    margin-bottom: 12px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.05);
}

.cart-item-row:last-child {
    margin-bottom: 0;
}

/* Image Styling */
.cart-img-wrapper {
    width: 70px;
    height: 70px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    border: 1px solid #eee;
}

.cart-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Details Section */
.cart-item-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Header (Title & Price) */
.ci-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2px;
    gap: 10px;
}

.ci-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-main);
    line-height: 1.2;
    word-break: break-word;
}

.ci-total {
    font-weight: 700;
    color: var(--accent-amber);
    font-size: 0.95rem;
    white-space: nowrap;
}

/* Variant Text */
.ci-variant {
    font-size: 0.8rem;
    color: #888;
    margin-bottom: 8px;
    word-break: break-word;
}

/* Actions Row (Qty & Remove) */
.ci-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Pill-shaped Quantity Control */
.qty-pill {
    display: flex;
    align-items: center;
    background: #f5f5f5;
    border-radius: 20px;
    padding: 2px 4px;
    border: 1px solid #eee;
}

.qty-pill button {
    background: none;
    border: none;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.7rem;
    color: #555;
    transition: color 0.2s;
}

.qty-pill button:hover {
    color: var(--accent-amber);
}

.qty-pill span {
    font-size: 0.85rem;
    font-weight: 600;
    width: 20px;
    text-align: center;
    color: var(--text-main);
}

/* ================= PRODUCT QUANTITY CONTROL ================= */
.qty-control-wrapper {
    display: flex;
    align-items: center;
    background: #fbfbfb;
    border: 1px solid #e0d5c1;
    border-radius: 8px;
    overflow: hidden;
    width: fit-content;
}

.qty-btn-card {
    background: #fcf9f2;
    border: none;
    width: 32px;
    height: 32px;
    font-size: 1.1rem;
    color: var(--accent-amber);
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.qty-btn-card:hover {
    background: var(--accent-gold);
    color: white;
}

.qty-input-styled {
    width: 38px;
    height: 32px;
    border: none;
    border-left: 1px solid #e0d5c1;
    border-right: 1px solid #e0d5c1;
    text-align: center;
    background: white;
    font-weight: 700;
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 0.9rem;
    -moz-appearance: textfield;
    appearance: none;
}

.qty-input-styled::-webkit-outer-spin-button,
.qty-input-styled::-webkit-inner-spin-button {
    -webkit-appearance: none;
    appearance: none;
    margin: 0;
}

.qty-label {
    font-size: 0.72rem;
    font-weight: 700;
    color: #8a7a6a;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

/* Featured Carousel Specific Quantity */
.featured-hero-meta-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px 30px;
    margin-bottom: 25px;
    padding: 12px 0;
    border-top: 1px solid rgba(212, 181, 129, 0.25);
    border-bottom: 1px solid rgba(212, 181, 129, 0.25);
    background: linear-gradient(90deg, rgba(212, 181, 129, 0.06) 0%, transparent 100%);
    border-radius: 4px;
}

.featured-hero-qty-wrap {
    display: flex;
    align-items: center;
    gap: 15px;
}

.featured-hero-qty-wrap .qty-label {
    font-size: 0.7rem;
    font-weight: 700;
    color: #5d0c1d;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.featured-qty {
    border-radius: 50px !important;
    border: 1.5px solid rgba(138, 122, 106, 0.3) !important;
    background: rgba(138, 122, 106, 0.1) !important;
    /* Muted taupe with transparency */
    backdrop-filter: blur(8px);
    transition: all 0.3s ease;
}

.featured-qty:hover {
    border-color: rgba(138, 122, 106, 0.5) !important;
    background: rgba(138, 122, 106, 0.15) !important;
}

.featured-qty .qty-btn-card {
    background: #6e6e6e85;
    width: 38px;
    height: 38px;
    color: #3d2914;
    /* Match heading color */
    font-size: 1rem;
}

.featured-qty .qty-btn-card:hover {
    color: var(--accent-amber);
    background: rgba(255, 255, 255, 0.3);
}

.featured-qty .qty-input-styled {
    background: transparent;
    width: 45px;
    height: 38px;
    font-size: 1rem;
    color: #3d2914;
    border-color: rgba(138, 122, 106, 0.3);
}

.featured-card-qty-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    padding: 5px 0;
}

@media (max-width: 768px) {

    .featured-card-qty-row,
    .featured-hero-qty-wrap {
        display: none !important;
    }

    /* Hide the entire meta-row container (border strip) since qty is hidden */
    .featured-hero-meta-row {
        display: none !important;
    }

    /* Full-width CTA button on mobile for easy tapping */
    .featured-hero-cta {
        width: 100% !important;
        padding: 12px 20px !important;
        font-size: 0.8rem !important;
        letter-spacing: 0.08em;
    }

    /* Tighten spacing since qty row is gone */
    .featured-hero-actions-row {
        margin-bottom: 16px !important;
    }

    .featured-hero-desc {
        margin-bottom: 14px !important;
    }
}

/* --- QUANTITY POPUP (MOBILE FEATURED) --- */
.qty-popup-overlay {
    background: rgba(45, 6, 16, 0.6) !important;
    backdrop-filter: blur(8px) !important;
}

.qty-popup {
    background: linear-gradient(180deg, #ffffff 0%, #fffbf2 100%) !important;
    border: 1px solid rgba(204, 172, 111, 0.4);
    box-shadow: 0 25px 50px rgba(93, 12, 29, 0.2) !important;
    animation: popupFadeUp 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.qty-selector-popup {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 25px;
    margin: 20px 0;
    background: #fdf5ec;
    padding: 15px;
    border-radius: 50px;
    border: 1px dashed #CCAC6F;
}

.qty-btn-popup {
    background: white;
    border: none;
    color: var(--accent-amber);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    font-size: 1.4rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.qty-btn-popup:active {
    transform: scale(0.9);
}

.qty-btn-popup:hover {
    background: var(--accent-amber);
    color: white;
}

#popup-qty {
    width: 70px;
    border: none;
    background: transparent;
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-amber);
    font-family: var(--font-heading);
}

@keyframes popupFadeUp {
    from {
        opacity: 0;
        transform: translateY(40px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Animation */
@keyframes qtyBump {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
        color: var(--accent-gold);
    }

    100% {
        transform: scale(1);
    }
}

.qty-bump {
    animation: qtyBump 0.2s ease;
}

/* Remove Button */
.btn-remove {
    background: none;
    border: none;
    font-size: 0.75rem;
    color: #aaa;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: color 0.2s;
    padding: 5px;
}

.btn-remove:hover {
    color: var(--accent-red);
}

/* ================= PARTNERS / AVAILABLE IN SECTION ================= */


.partners-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
    max-width: 1000px;
    margin: 40px auto 0;
}

.partner-card {
    background: white;
    width: 180px;
    height: 100px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #eee;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.partner-card img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: none;
    /* CHANGED: Removed grayscale(100%) */
    opacity: 1;
    /* CHANGED: Full opacity by default */
    transition: 0.3s;
}

/* Hover Effects */
.partner-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(245, 124, 0, 0.15);
    border-color: var(--accent-gold);
}

.partner-card:hover img {
    /* REMOVED: filter: grayscale(0%); and opacity: 1; as they are now default */
    transform: scale(1.1);
    /* Keep the zoom effect */
}

/* Mobile Responsiveness */
@media (max-width: 600px) {
    .partners-grid {
        gap: 15px;
    }

    .partner-card {
        width: 45%;
        /* 2 per row on mobile */
        height: 80px;
        padding: 15px;
    }
}


/* ================= PRODUCT FILTERS ================= */
.filter-container {
    display: flex;
    justify-content: center;
    gap: 15px;
    position: relative;
    z-index: 2;
}

.filter-btn {
    padding: 10px 25px;
    border-radius: 50px;
    /* Pill shape */
    border: 2px solid var(--accent-amber);
    background: transparent;
    color: var(--text-main);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
}

/* Hover Effect */
.filter-btn:hover {
    background: rgba(245, 124, 0, 0.1);
    /* Light amber tint */
    transform: translateY(-2px);
}

/* Active State (Selected) */
.filter-btn.active {
    background: var(--accent-amber);
    color: white;
    box-shadow: 0 5px 15px rgba(245, 124, 0, 0.3);
    /* Glow effect */
}

/* Mobile Adjustment */
@media (max-width: 480px) {
    .filter-btn {
        padding: 8px 18px;
        font-size: 0.85rem;
    }
}

@media (max-width: 380px) {
    .btn-group {
        display: none;
    }

    .btn-card {
        font-size: 0.75rem;
        padding: 10px 14px;
    }
}

/* ================= CERTIFIED SECTION ================= */


/* Adjust Partners Section to remove top gap for a better blend */
.partners-section {
    padding-top: 40px;
}

/* ================= VARIANT BUTTONS (NEW) ================= */
.variant-selector-wrapper {
    margin-bottom: 15px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.btn-variant {
    padding: 6px 14px;
    border: 1px solid #ddd;
    background: #fff;
    color: var(--text-muted);
    border-radius: 50px;
    /* Pill shape */
    font-size: 0.85rem;
    font-family: var(--font-body);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

/* Hover Effect */
.btn-variant:hover:not(:disabled) {
    background: #fff;
    border-color: #d32f2f;
    color: #d32f2f;
    transform: translateY(-2px);
}

/* Selected (Active) State */
.btn-variant.active {
    background: linear-gradient(45deg, var(--accent-amber), var(--accent-gold));
    color: white;
    border-color: transparent;
    box-shadow: 0 4px 10px rgba(245, 124, 0, 0.3);
    transform: translateY(-2px);
}

/* Out of Stock State */
.btn-variant:disabled {
    opacity: 0.5;
    background: #f0f0f0;
    color: #aaa;
    cursor: not-allowed;
    text-decoration: line-through;
    border-color: #eee;
}

/* Optional: "Only X left" text styling if you want to show it elsewhere */
.stock-warning-text {
    font-size: 0.75rem;
    color: var(--accent-red);
    margin-top: -10px;
    margin-bottom: 10px;
    display: block;
    height: 18px;
    /* Prevent layout shift */
}

/* --- PRODUCT IMAGE HOVER EFFECTS --- */
.p-image-container {
    position: relative;
    width: 100%;
    height: 250px;
    background: #f9f9f9;
    overflow: hidden;
}

.p-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.4s ease-in-out;
}

/* By default, main image is visible */
.main-img {
    opacity: 1;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

/* Benefits image sits on top but is invisible */
.hover-reveal {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    /* Higher z-index to sit on top */
}

/* On Hover: Hide main image, Show benefits image */
.p-card:hover .hover-reveal {
    opacity: 1;
}

/* ================= SOCIAL ICONS (FIXED ALIGNMENT) ================= */

/* Wrapper */
.card.social-card-footer {
    width: fit-content;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 15px 0;
    gap: 20px;
}

/* Base Container Style */
.socialContainer {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background-color: rgb(44, 44, 44);

    /* FORCE CENTERING */
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    /* RESET GLOBAL LINK STYLES */
    padding: 0 !important;
    border: none !important;
    overflow: hidden;
    transition-duration: 0.3s;
}

/* Instagram Hover */
.containerOne:hover {
    background-color: #d62976;
    transition-duration: 0.3s;
}

/* Facebook Hover */
.containerTwo:hover {
    background-color: #1877F2;
    transition-duration: 0.3s;
}

/* LinkedIn Hover */
.containerThree:hover {
    background-color: #0077b5;
    transition-duration: 0.3s;
}

.socialContainer:active {
    transform: scale(0.9);
}

/* Icon Sizing */
.socialSvg {
    width: 22px !important;
    /* Fixed Width */
    height: 22px !important;
    /* Fixed Height */
    fill: white;
    /* Ensure icon is white */
    transition: 0.3s;
}

.socialContainer:hover .socialSvg {
    animation: slide-in-top 0.3s both;
}

@keyframes slide-in-top {
    0% {
        transform: translateY(-50px);
        opacity: 0;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}



/* --- 3D FLOATING CARDS --- */
.partner-card {
    background: #ffffff;
    border-radius: 16px;
    border: 2px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 10px 20px rgba(160, 60, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Ensure logos look sharp */
.partner-card img {
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

/* Hover Effect: Lift & Glow */
.partner-card:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 20px 40px rgba(160, 60, 0, 0.25);
    border-color: #ffb300;
}

/* --- FOOTER ADDRESS STYLE --- */
.footer-address {
    display: flex;
    /* Aligns icon and text side-by-side */
    gap: 12px;
    /* Space between icon and text */
    margin-top: 20px;
    /* Space between text and address */
    color: #aaa;
    /* Standard footer link color */
    text-decoration: none;
    font-size: 0.9rem;
    line-height: 1.5;
    transition: all 0.3s ease;
    align-items: flex-start;
    /* Aligns icon with the top line of text */
}

.footer-address i {
    color: var(--accent-gold);
    /* Gold Icon */
    font-size: 1.1rem;
    margin-top: 3px;
    /* visual adjustment */
}

.footer-address span {
    border-bottom: 1px solid transparent;
    /* Prepare for hover underline */
}

/* Hover Effect */
.footer-address:hover {
    color: white;
    /* Text turns white */
    transform: translateX(5px);
    /* Slight movement to the right */
}

.footer-address:hover i {
    color: var(--accent-amber);
    /* Icon glows amber */
}


/* Crossed out original price */
.original-price {
    text-decoration: line-through;
    color: #999;
    font-size: 0.9rem;
    margin-right: 8px;
    font-weight: 400;
}

/* Premium Discount Ribbon */
.discount-ribbon {
    position: absolute;
    top: 15px;
    right: -35px;
    background: linear-gradient(45deg, #d38c2f, #d38c2f);
    /* Deep Honey Red */
    color: white;
    padding: 5px 40px;
    transform: rotate(45deg);
    font-size: 0.75rem;
    font-weight: 700;
    z-index: 15;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Ensure the drip overlay stays above the ribbon if they overlap */
.honey-drip-overlay {
    z-index: 20 !important;
    /* */
}



/* --- MODERN PREMIUM MARQUEE (EDGE-TO-EDGE) --- */
.premium-marquee-container {
    /* Break out of parent padding */
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;

    overflow: hidden;
    padding: 15px 0;
    margin-top: 10px;
    margin-bottom: 50px;

    /* Glassmorphism & Theme */
    background: rgb(255 255 255 / 20%);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid rgba(133, 108, 16, 0.15);
    border-bottom: 1px solid rgba(133, 108, 16, 0.15);
    z-index: 5;
}

.marquee-wrapper {
    display: flex;
    width: 100%;
}

.marquee-content {
    display: flex;
    white-space: nowrap;
    /* Use a very large gap to ensure icons don't bunch up on wide screens */
    gap: 100px;
    align-items: center;
    padding-right: 100px;
    /* Matches the gap for seamless looping */
    animation: premiumScroll 40s linear infinite;
}

.marquee-item {
    display: flex;
    align-items: center;
    gap: 18px;
    color: var(--text-main);
    /* Deep Chocolate Brown */
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.3rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.marquee-item i {
    font-size: 2rem;
    color: var(--accent-amber);
    /* Warm Amber */
    filter: drop-shadow(0 2px 4px rgba(133, 108, 16, 0.2));
}

/* Premium Gradient Text */
.marquee-item span {
    background: linear-gradient(to right, #3E2723, #856c10);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

@keyframes premiumScroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Mobile Tweaks */
@media (max-width: 768px) {
    .premium-marquee-container {
        padding: 15px 0;
    }

    .marquee-item {
        font-size: 1rem;
        gap: 10px;
    }

    .marquee-content {
        gap: 60px;
        padding-right: 60px;
    }
}

.process-section {
    padding: 0;
    margin: 0;
    min-height: 0;
    background-color: #ffffff;
    background-image: none;
    position: relative;
    overflow: hidden;
}

.process-image-container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.process-order-image {
    display: block;
    width: 100%;
    height: auto;
    max-width: min(84vw, 1100px);
    max-height: 78vh;
    object-fit: contain;
    object-position: center;
    border-radius: 0;
}

.timeline-container {
    position: relative;
    max-width: 1200px;
    margin: 80px auto 0;
    display: flex;
    justify-content: space-between;
}

.timeline-line {
    position: absolute;
    top: 40px;
    /* middle of icons */
    left: 10%;
    right: 10%;
    height: 4px;
    background: linear-gradient(90deg, rgba(218, 165, 32, 0.2), rgba(218, 165, 32, 0.8), rgba(218, 165, 32, 0.2));
    z-index: 1;
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    z-index: 2;
    flex: 1;
    text-align: center;
    padding: 0 15px;
}

.timeline-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 30px;
    background: linear-gradient(135deg, #ffffff 0%, #fcfaf5 100%);
    border: 2px solid var(--accent-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--accent-amber);
    box-shadow: 0 10px 20px rgba(218, 165, 32, 0.15);
    position: relative;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: default;
}

.timeline-icon:hover {
    transform: scale(1.15) translateY(-5px);
    box-shadow: 0 15px 30px rgba(218, 165, 32, 0.3);
    background: var(--accent-amber);
    color: #fff;
    border-color: #fff;
}

.timeline-num {
    position: absolute;
    top: -5px;
    right: -10px;
    background: var(--text-main);
    color: var(--accent-gold);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 2px solid #fff;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.timeline-icon:hover .timeline-num {
    background: #fff;
    color: var(--text-main);
    border-color: var(--accent-amber);
}

.timeline-content {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(5px);
    padding: 20px 15px;
    border-radius: 12px;
    border: 1px solid rgba(218, 165, 32, 0.1);
    transition: all 0.3s ease;
}

.timeline-item:hover .timeline-content {
    background: #ffffff;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    transform: translateY(-5px);
    border-color: rgba(218, 165, 32, 0.3);
}

.timeline-content h3 {
    margin: 0 0 10px 0;
}

.timeline-content p {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* Mobile Layout - Vertical */
@media (max-width: 768px) {
    .timeline-container {
        flex-direction: column;
        margin-top: 40px;
        gap: 40px;
        padding-left: 30px;
    }

    .timeline-line {
        top: 0;
        bottom: 0;
        left: 60px;
        /* align with center of icons */
        width: 4px;
        height: 100%;
        background: linear-gradient(180deg, rgba(218, 165, 32, 0.2), rgba(218, 165, 32, 0.8), rgba(218, 165, 32, 0.2));
    }

    .timeline-item {
        display: flex;
        align-items: center;
        text-align: left;
        gap: 25px;
    }

    .timeline-icon {
        margin: 0;
        flex-shrink: 0;
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .timeline-num {
        width: 24px;
        height: 24px;
        font-size: 0.75rem;
    }

    .process-image-container {
        max-width: 100%;
        padding: 0;
    }

    .process-order-image {
        max-width: 100%;
        max-height: none;
        border-radius: 0;
    }
}


/* ================= IMPROVED CATEGORY HEADER (GOLDEN THREAD STYLE) ================= */
.category-group-header {
    width: 100%;
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text-main);
    /* Deep Chocolate */

    /* Remove the old hard border */
    border-bottom: none;

    padding-bottom: 5px;
    margin-bottom: 35px;
    margin-top: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;

    display: flex;
    align-items: center;
    gap: 15px;
    position: relative;
}

/* 1. The Glowing Diamond Bullet */
.category-group-header::before {
    content: '';
    display: block;
    width: 12px;
    height: 12px;
    background: var(--accent-amber);
    transform: rotate(45deg);
    /* Diamond shape */
    box-shadow: 0 0 10px var(--accent-gold);
    /* Soft Glow */
    border-radius: 2px;
}

/* 2. The Fading Gold Line */
.category-group-header::after {
    content: '';
    flex: 1;
    /* Takes up remaining space */
    height: 3px;
    /* Gradient fades from Solid Amber to Transparent */
    background: linear-gradient(90deg, var(--accent-amber) 0%, rgba(255, 248, 225, 0) 100%);
    border-radius: 50px;
    opacity: 0.8;
}

/* 3. The Highlighted Text (Category Name) */
.category-group-header span {
    /* Gradient Text Effect matching your Luxury Hero */
    background: linear-gradient(to bottom, #000000, #9f6f33);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;

    /* Subtle drop shadow for depth */
    filter: drop-shadow(0 2px 2px rgba(133, 108, 16, 0.2));
    padding-right: 5px;
}

/* Mobile Adjustment */
@media (max-width: 768px) {
    .category-group-header {
        font-size: 1.5rem;
        gap: 10px;
        margin-bottom: 25px;
    }

    .category-group-header::before {
        width: 8px;
        height: 8px;
    }
}

/* --- REFER & EARN STYLES --- */
.referral-code-box,
.wallet-balance-box {
    background: #f9f9f9;
    border: 1px dashed #ddd;
    border-radius: 8px;
    padding: 15px;
    margin: 10px 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.referral-code-box:hover {
    background: #fff8e1;
    border-color: var(--accent-amber);
}

.code-display {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.code-display h2 {
    margin: 0;
    font-family: monospace;
    letter-spacing: 2px;
    color: #333;
}

/* ================= IMPROVED COUPON SECTION ================= */
.cart-referral-section {
    margin: 15px 20px;
    padding: 0;
    background: rgba(255, 255, 255, 0.9);
    /* High opacity white */
    backdrop-filter: blur(10px);
    border-radius: 12px;
    border: 1px dashed var(--accent-amber);
    /* Dashed border looks like a coupon */
    box-shadow: 0 4px 15px rgba(133, 108, 16, 0.08);
    transition: all 0.3s ease;
    overflow: hidden;
}

.cart-referral-section:hover {
    background: #fff;
    box-shadow: 0 8px 20px rgba(133, 108, 16, 0.15);
    border-style: solid;
    /* Solid border on hover */
}

/* Toggle Header */
.referral-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    cursor: pointer;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    color: var(--text-main);
    transition: background 0.2s;
}

.referral-toggle:hover {
    background: rgba(255, 248, 225, 0.5);
    /* Light amber tint */
}

.toggle-text {
    display: flex;
    align-items: center;
    gap: 10px;
}

.ticket-icon {
    color: var(--accent-amber);
    font-size: 1.2rem;
    transform: rotate(-10deg);
    /* Playful tilt */
}

.arrow-icon {
    font-size: 0.8rem;
    color: #999;
    transition: transform 0.3s ease;
}

/* When specific class is added via JS, or just handle manually */
.referral-toggle.active .arrow-icon {
    transform: rotate(90deg);
}

/* Input Wrapper */
.referral-input-wrapper {
    padding: 0 15px 15px 15px;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Styled Input Group (Pill Shape) */
.input-group-styled {
    display: flex;
    background: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 50px;
    padding: 4px;
    transition: 0.3s;
}

.input-group-styled:focus-within {
    border-color: var(--accent-amber);
    background: white;
    box-shadow: 0 0 0 3px rgba(245, 124, 0, 0.1);
}

.input-group-styled input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 10px 15px;
    font-size: 0.9rem;
    outline: none;
    color: var(--text-main);
    text-transform: uppercase;
    /* Force caps for codes */
}

.input-group-styled input::placeholder {
    text-transform: none;
    color: #aaa;
}

.input-group-styled button {
    background: var(--accent-amber);
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 40px;
    font-weight: 700;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
}

.input-group-styled button:hover {
    background: var(--accent-dark);
    transform: translateX(-2px);
    box-shadow: 0 4px 10px rgba(245, 124, 0, 0.3);
}

/* Messages */
.referral-msg {
    padding: 0 15px 15px;
    margin: 0;
    font-size: 0.8rem;
    font-weight: 600;
}

.referral-msg.success {
    color: #16a34a;
}

.referral-msg.error {
    color: #e74c3c;
}

/* Coupon Success Badge */
.coupon-success-badge {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f0fdf4;
    border: 1px dashed #16a34a;
    border-radius: 12px;
    padding: 10px 15px;
    margin: 0 15px 10px;
    animation: couponFadeIn 0.3s ease-out;
}

@keyframes couponFadeIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.badge-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.badge-left i {
    color: #16a34a;
    font-size: 1.1rem;
}

.badge-info {
    display: flex;
    flex-direction: column;
}

.badge-info span {
    font-weight: 700;
    color: #065f46;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-info small {
    font-size: 0.7rem;
    color: #059669;
    font-weight: 500;
}

.badge-actions {
    display: flex;
    gap: 8px;
}

.badge-action-btn {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.75rem;
    transition: all 0.2s;
}

.badge-action-btn.edit {
    background: #d1fae5;
    color: #065f46;
}

.badge-action-btn.edit:hover {
    background: #a7f3d0;
    transform: scale(1.1);
}

.badge-action-btn.remove {
    background: #fee2e2;
    color: #b91c1c;
}

.badge-action-btn.remove:hover {
    background: #fecaca;
    transform: scale(1.1);
}

.referral-msg.success {
    color: #2e7d32;
    display: flex;
    align-items: center;
    gap: 5px;
}

.referral-msg.success::before {
    content: '\f00c';
    /* FontAwesome Check */
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
}

.referral-msg.error {
    color: #d32f2f;
    display: flex;
    align-items: center;
    gap: 5px;
}

.referral-msg.error::before {
    content: '\f06a';
    /* FontAwesome Alert */
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
}

/* Wallet Usage Section */
.cart-wallet-section {
    padding: 15px;
    background: #f0fdf4;
    border-bottom: 1px solid #eee;
}

.wallet-checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.wallet-info {
    display: flex;
    flex-direction: column;
}

.wallet-info span {
    font-weight: 600;
    font-size: 0.9rem;
}

.wallet-info small {
    color: #555;
}



/* ================= PREMIUM ABOUT SECTION STYLES ================= */
.about-section {
    padding: 100px 50px;
    background: linear-gradient(135deg, #fffcf5 0%, #fff8e1 100%);
    position: relative;
    overflow: hidden;
}

/* Background Effects */
.gold-blur-circle {
    position: absolute;
    top: -10%;
    right: -5%;
    width: 500px;
    height: 500px;
    background: var(--accent-amber);
    opacity: 0.08;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 1;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    /* Right side slightly wider for text */
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 2;
}

/* --- LEFT COLUMN: IMAGE --- */
.about-image-col {
    position: relative;
    padding-left: 20px;
}

.image-frame-back {
    position: absolute;
    top: -20px;
    left: 0;
    width: 90%;
    height: 100%;
    border: 2px solid var(--accent-amber);
    opacity: 0.3;
    z-index: 1;
    border-radius: 20px;
}

.main-image-wrapper {
    position: relative;
    z-index: 2;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(133, 108, 16, 0.2);
    transform: rotate(-2deg);
    transition: transform 0.5s ease;
    background: #fff;
    min-height: 400px;
    /* Placeholder height */
}

.about-image-col:hover .main-image-wrapper {
    transform: rotate(0deg) scale(1.02);
}

.about-main-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Badge */
.floating-badge {
    position: absolute;
    bottom: 30px;
    right: -20px;
    background: white;
    padding: 15px 25px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    border-left: 4px solid var(--accent-amber);
    animation: floatBadge 3s ease-in-out infinite;
}

.badge-year {
    font-size: 0.7rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.badge-date {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-main);
    font-family: var(--font-heading);
    line-height: 1;
    margin: 2px 0;
}

@keyframes floatBadge {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

/* --- RIGHT COLUMN: CONTENT --- */
.gold-subheading {
    color: var(--accent-amber);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.gold-subheading::before {
    content: '';
    width: 40px;
    height: 2px;
    background: var(--accent-amber);
}

.premium-heading {
    margin-bottom: 25px;
}

.premium-heading span {
    color: inherit;
    font-style: normal;
}

.about-text {
    font-size: 1.05rem;
    color: #555;
    line-height: 1.8;
    margin-bottom: 20px;
}

/* Custom Features Row */
.custom-features-row {
    display: flex;
    gap: 20px;
    margin: 25px 0;
}

.c-feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    background: white;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid rgba(133, 108, 16, 0.1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
    min-width: 100px;
}

.c-feature i {
    font-size: 1.5rem;
    color: var(--accent-amber);
}

.c-feature span {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-main);
    text-transform: uppercase;
}

/* Signature Block */
.signature-block {
    margin-top: 10px;
    padding-left: 15px;
    border-left: 3px solid var(--accent-amber);
}

.hygiene-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #555;
}

/* Mobile Responsive */
@media (max-width: 900px) {
    .about-container {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .about-image-col {
        padding-left: 0;
        max-width: 500px;
        margin: 0 auto;
    }

    .main-image-wrapper {
        min-height: 300px;
    }

    .custom-features-row {
        flex-wrap: wrap;
        justify-content: center;
    }

    .c-feature {
        flex: 1;
    }
}


/* Update the .main-image-wrapper to handle video */
.main-image-wrapper.video-wrapper {
    position: relative;
    z-index: 2;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(133, 108, 16, 0.2);
    transform: rotate(-2deg);
    transition: transform 0.5s ease;
    background: #000;
    /* Black background while video loads */
    min-height: 400px;
    height: 100%;
}

/* Style the video element itself */
.about-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Ensures video fills the box without stretching */
    display: block;
}

/* Hover effect remains the same */
.about-image-col:hover .main-image-wrapper {
    transform: rotate(0deg) scale(1.02);
}

/* Mobile Adjustment for Video */
@media (max-width: 900px) {
    .main-image-wrapper.video-wrapper {
        min-height: 300px;
        max-height: 400px;
        /* Prevents it from being too tall on phone */
    }
}


/* ================= VIDEO BACKGROUND ABOUT SECTION (LIGHT VERSION) ================= */
.about-section-video {
    position: relative;
    width: 100%;
    min-height: 80vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 80px 50px;
    background: #f9f9f9;
    /* Fallback color */
}

/* 1. Background Video Setup */
.video-bg-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.bg-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
    /* Slight opacity to blend with white background if needed */
}

/* White Overlay (Crucial for dark text readability on left) */
.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Fades from solid white (left) to transparent (right) */
    /* background: linear-gradient(to right, rgba(255,255,255,1) 10%, rgba(255,255,255,0.8) 50%, rgba(255,255,255,0) 100%); */
    z-index: 1;
}

/* 2. Content Styling */
.about-content-container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.content-left {
    max-width: 650px;
}

/* Typography Overrides for Light Background */
.premium-heading-white {
    margin-bottom: 25px;
    text-shadow: none;
}

.about-text-white {
    font-size: 1.1rem;
    color: var(--text-muted);
    /* Changed to Muted Brown/Grey */
    line-height: 1.8;
    margin-bottom: 30px;
    font-weight: 500;
}

/* Glass Effect Features (Amber Tinted Glass) */
.c-feature.glass-effect {
    background: rgba(255, 248, 225, 0.6);
    /* Warm creamy glass */
    backdrop-filter: blur(8px);
    border: 1px solid var(--accent-amber);
    /* Amber border */
    box-shadow: 0 10px 30px rgba(133, 108, 16, 0.1);
    /* Soft gold shadow */
}

.c-feature.glass-effect span {
    color: var(--text-main);
    /* Dark Text */
    font-weight: 600;
}

.c-feature.glass-effect i {
    color: var(--accent-amber);
    /* Amber Icons */
}

/* Signature & Stats */
.signature-row {
    display: flex;
    gap: 40px;
    align-items: center;
    margin-top: 30px;
}

.signature-block.white-border {
    border-left: 3px solid var(--accent-amber);
    padding-left: 15px;
}

/* Update signature text colors to dark */
.sig-content h5 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--text-main) !important;
    /* Force Dark */
    margin-bottom: 2px;
    text-shadow: none !important;
}

.mini-stat {
    display: flex;
    flex-direction: column;
}

.stat-num {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-amber);
    line-height: 1;
}

.stat-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    /* Darker Grey */
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hygiene-badge.white-text {
    color: var(--text-main);
    /* Dark Text */
    font-weight: 600;
    text-shadow: none;
}

/* Mobile Responsive Adjustments */
@media (max-width: 768px) {
    .about-section-video {
        padding: 60px 20px;
        min-height: auto;
        /* Let content dictate height */
    }



    .about-content-container {
        /* Ensure text sits on top nicely */
        padding-top: 20px;
        padding-bottom: 20px;
    }

    /* Stack features vertically or in a tighter grid */
    .custom-features-row {
        gap: 10px;
        flex-wrap: wrap;
    }

    .c-feature.glass-effect {
        flex: 1 1 45%;
        /* 2 per row */
        padding: 10px;
        min-width: 120px;
    }
}





.cart-sidebar {
    background: transparent !important;
    /* Overrides the previous white bg */
    overflow: hidden;
    /* Ensures video doesn't spill out */
}

/* 2. Position the Video Behind Content */
.cart-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    /* Sits at the back */
    pointer-events: none;
    /* Allows clicks to pass through to items */
}

/* style.css */

/* style.css */

.cart-video-bg video {
    width: 100%;
    height: 100%;
    object-fit: cover;

    /* CHANGE THIS LINE: */
    /* 80% moves the view to the right side of the video */
    object-position: 80% 50%;
}

/* 3. Add a Glass/Blur Overlay so text is readable */
.cart-overlay-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.529);
    /* High opacity white */
    z-index: 1;
}

/* 4. Ensure Cart Content sits ON TOP of the video */
.cart-header,
.cart-items,
.cart-footer,
.cart-referral-section,
.cart-wallet-section,
.cart-address-section {
    position: relative;
    z-index: 2;
    /* Brings text above the video */
    background: transparent !important;
    /* Removes default white backgrounds */
}

/* 5. Polish the Footer area */
.cart-footer {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 0.6) !important;
    /* Semi-transparent footer */
    backdrop-filter: blur(10px);
    /* Extra blur for the checkout button area */
}

/* 6. Polish the Scrollbar (Optional, makes it look cleaner over video) */
.cart-items::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05);
}




/* ================= REFER & EARN BUTTON STYLES ================= */

/* The Container (Handled by JS for display:block/none) */
#referIcon {
    cursor: pointer;
    /* Ensures it sits nicely in the flex header */
    display: flex;
    align-items: center;
}

/* The Button Styling */
.refer-btn-styled {
    display: flex;
    align-items: center;
    gap: 8px;
    /* Premium Gradient Background */
    background: linear-gradient(135deg, var(--accent-amber), #b38f00);
    padding: 6px 14px;
    border-radius: 50px;
    /* Pill Shape */
    color: white;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 4px 10px rgba(133, 108, 16, 0.3);
    /* Soft Gold Shadow */
    border: 1px solid rgba(255, 255, 255, 0.3);
    /* Inner shine border */
    transition: all 0.3s ease;
}

/* Hover Effect */
.refer-btn-styled:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(133, 108, 16, 0.5);
    background: linear-gradient(135deg, #FFB300, var(--accent-amber));
}

/* Icon Styling */
.refer-btn-styled i {
    font-size: 1rem !important;
    /* Force override generic header styles */
    color: white !important;
}

/* The Text "Refer & Earn" */
.refer-text {
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

/* The Reward Badge "â‚¹10" */
.refer-badge {
    background: white;
    color: var(--accent-amber);
    padding: 1px 8px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 800;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Animation for the Gift Icon */
.animate-gift {
    animation: wiggle 2s infinite ease-in-out;
}

@keyframes wiggle {

    0%,
    100% {
        transform: rotate(0deg);
    }

    10%,
    30% {
        transform: rotate(-10deg);
    }

    20%,
    40% {
        transform: rotate(10deg);
    }

    50% {
        transform: rotate(0deg);
    }
}

/* --- MOBILE RESPONSIVENESS --- */
@media (max-width: 600px) {

    /* On mobile, hide the long text but keep the Icon + Money */
    /* This prevents the header from breaking while still being clear */
    .refer-text {
        display: none;
    }

    .refer-btn-styled {
        padding: 6px 10px;
        /* Compact padding */
        gap: 6px;
    }
}


/* ================= FLOATING REFERRAL BUTTON ================= */

.refer-float-container {
    position: fixed;
    bottom: 30px;
    left: 30px;
    /* Positions it on the LEFT side */
    z-index: 2900;
    /* High z-index to sit above page content */
    cursor: pointer;
    font-family: var(--font-heading);
    animation: floatUp 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Hidden state â€” active while user is still in the hero section */
.hero-float-hidden {
    opacity: 0 !important;
    transform: translateY(20px) !important;
    pointer-events: none !important;
    animation-play-state: paused !important;
}

/* Hidden state â€” active when user scrolls down to footer */
.footer-float-hidden {
    opacity: 0 !important;
    pointer-events: none !important;
    transform: translateY(20px) !important;
}

/* The Pill Button */
.refer-float-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #FFB300, #856c10);
    /* Premium Gold Gradient */
    padding: 10px 20px 10px 10px;
    /* Extra padding right for text balance */
    border-radius: 50px;
    box-shadow: 0 8px 20px rgba(133, 108, 16, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

/* Hover Effect: Scale Up */
.refer-float-container:hover .refer-float-btn {
    transform: translateY(-5px) scale(1.05);
    background: linear-gradient(135deg, #FFCA28, #A68B1E);
    box-shadow: 0 12px 25px rgba(133, 108, 16, 0.5);
}

/* Icon Circle */
.gift-wrapper {
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.1);
}

.gift-wrapper i {
    color: var(--accent-amber);
    font-size: 1.2rem;
    animation: giftShake 3s infinite ease-in-out;
}

/* Text Styling */
.refer-content {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.refer-title {
    color: white;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
}

.refer-value {
    color: #FFF8E1;
    /* Light cream */
    font-size: 0.75rem;
    font-weight: 500;
}

/* --- ANIMATIONS --- */

/* 1. Entrance Animation */
@keyframes floatUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 2. Gift Icon Shake */
@keyframes giftShake {

    0%,
    100% {
        transform: rotate(0deg);
    }

    10% {
        transform: rotate(-10deg);
    }

    20% {
        transform: rotate(10deg);
    }

    30% {
        transform: rotate(-10deg);
    }

    40% {
        transform: rotate(10deg);
    }

    50% {
        transform: rotate(0deg);
    }
}

/* 3. Pulse Ring (Attention Grabber) */
.pulse-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border-radius: 50px;
    border: 2px solid var(--accent-amber);
    opacity: 0;
    z-index: 1;
    animation: pulseWave 2s infinite;
}

@keyframes pulseWave {
    0% {
        transform: translate(-50%, -50%) scale(0.9);
        opacity: 1;
    }

    100% {
        transform: translate(-50%, -50%) scale(1.4);
        opacity: 0;
    }
}

/* Mobile Adjustment: Make it slightly smaller on phones */
@media (max-width: 600px) {
    .refer-float-container {
        left: 20px;
        bottom: 85px;
    }

    .refer-float-btn {
        padding: 8px 16px 8px 8px;
    }

    .gift-wrapper {
        width: 35px;
        height: 35px;
    }

    .gift-wrapper i {
        font-size: 1rem;
    }

    .refer-title {
        font-size: 0.85rem;
    }
}

/* =========================================
   PRODUCTS PAGE SPECIFIC STYLES
   ========================================= */

/* --- 1. Products Page Hero Banner --- */
.products-page-banner {
    width: 100%;
    height: 350px;
    margin-top: 75px;
    /* Offset for fixed header */
    position: relative;
    background: url('../static/im/banner1.png') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(62, 39, 35, 0.7), rgba(0, 0, 0, 0.4));
    z-index: 1;
}

.banner-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    width: 90%;
    max-width: 600px;
    animation: heroFadeIn 1s cubic-bezier(0.1, 0.9, 0.2, 1) forwards;
}

.breadcrumbs {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 15px;
    letter-spacing: 0.5px;
}

.breadcrumbs a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumbs a:hover {
    color: var(--accent-gold);
}

.breadcrumbs span {
    color: var(--accent-gold);
    font-weight: 600;
}

.banner-content h1 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 25px;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    letter-spacing: 1px;
}

.search-bar-container {
    position: relative;
    width: 100%;
}

.search-bar-container i {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
    font-size: 1.1rem;
}

.search-bar-container input {
    width: 100%;
    padding: 18px 20px 18px 50px;
    border-radius: 50px;
    border: none;
    font-size: 1rem;
    color: var(--text-main);
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    outline: none;
}

.search-bar-container input:focus {
    background: #fff;
    box-shadow: 0 10px 40px rgba(235, 199, 68, 0.3);
}

/* --- 2. Main Layout (Sidebar + Content) --- */
.products-page-main {
    display: flex;
    max-width: 100%;
    margin: 40px auto;
    padding: 0 50px;
    /* Align with header padding */
    gap: 40px;
    min-height: 60vh;
}

/* Sidebar */
.products-sidebar {
    width: 260px;
    flex-shrink: 0;
}

.sidebar-block {
    background: #fff;
    border-radius: 16px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.sidebar-block h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--text-main);
    margin-bottom: 18px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--accent-light);
}

/* Sort Select Styling */
.custom-select select {
    width: 100%;
    padding: 12px 15px;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    background: #fafafa;
    color: var(--text-main);
    font-size: 0.9rem;
    outline: none;
    cursor: pointer;
    transition: all 0.3s ease;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%233E2723%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
    background-repeat: no-repeat;
    background-position: right 15px top 50%;
    background-size: 10px auto;
}

.custom-select select:focus {
    border-color: var(--accent-gold);
    box-shadow: 0 0 0 3px rgba(235, 199, 68, 0.2);
}

/* Categories List Styling */
.category-list {
    list-style: none;
    padding: 0;
}

.cat-item {
    padding: 12px 15px;
    margin-bottom: 8px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.95rem;
    color: var(--text-muted);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 12px;
}

.cat-item i {
    font-size: 1.1rem;
    color: #b0a39c;
    /* muted icon color */
    transition: all 0.3s ease;
}

.cat-item:hover {
    background: #fdfaf0;
    color: var(--text-main);
    transform: translateX(5px);
}

.cat-item:hover i {
    color: var(--accent-amber);
}

.cat-item.active {
    background: #fdfaf0;
    color: var(--accent-amber);
    font-weight: 600;
    box-shadow: inset 3px 0 0 var(--accent-amber);
}

.cat-item.active i {
    color: var(--accent-amber);
}

/* --- Right Grid Content Area --- */
.products-content-area {
    flex: 1;
    min-width: 0;
    /* Prevents overflow issues in flexbox */
}

.content-area-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.content-area-header h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--text-main);
}

.count-badge {
    background: var(--accent-light);
    color: var(--accent-amber);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid rgba(235, 199, 68, 0.3);
}

/* Fix product grid specifically for products page since we don't need grouped lists */
.products-page-main .product-grid {
    padding: 0;
    margin: 0;
    gap: 25px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    justify-content: flex-start;
}

.products-page-main .p-card {
    /* Override flex since we are using CSS Grid now */
    flex: none;
    width: 100%;
    margin: 0;
}

/* Fallback message */
.no-products-msg {
    width: 100%;
    padding: 50px 0;
    text-align: center;
    color: var(--text-muted);
    font-size: 1.1rem;
    background: #fff;
    border-radius: 12px;
    border: 1px dashed #ccc;
}

/* Responsive Specifics */
@media (max-width: 1024px) {
    .products-page-main {
        flex-direction: column;
    }

    .products-sidebar {
        width: 100%;
        display: flex;
        gap: 20px;
    }

    .sidebar-block {
        flex: 1;
        margin-bottom: 0;
    }

    .products-page-main .p-card {
        /* 3 cards per row on tablet */
        flex: 0 0 calc(33.333% - 17px);
    }
}

@media (max-width: 768px) {
    .products-sidebar {
        display: none;
        flex-direction: column;
        gap: 15px;
    }

    .products-sidebar.mobile-open {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 1000;
        width: 100%;
        background: #fff;
        border-radius: 20px 20px 0 0;
        padding: 20px 20px 40px 20px;
        box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.15);
        flex-direction: column;
        gap: 10px;
        max-height: 85vh;
        overflow-y: auto;
        transform: translateY(100%);
        animation: slideUp 0.3s forwards ease-out;
    }

    .products-sidebar.mobile-open::before {
        content: '';
        display: block;
        width: 40px;
        height: 5px;
        background: #ddd;
        border-radius: 5px;
        margin: 0 auto;
    }

    @keyframes slideUp {
        to {
            transform: translateY(0);
        }
    }

    .products-sidebar.mobile-open .sidebar-block {
        box-shadow: none;
        border: none;
        margin: 0;
        padding: 10px 0;
        background: transparent;
    }

    .mobile-filter-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        position: fixed;
        bottom: 20px;
        right: 20px;
        background: var(--accent-amber);
        color: white;
        padding: 12px 25px;
        border-radius: 30px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
        z-index: 1001;
        cursor: pointer;
        font-weight: 600;
        gap: 8px;
        font-family: var(--font-body);
    }

    .mobile-filter-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 999;
    }

    .mobile-filter-overlay.open {
        display: block;
    }

    .products-page-main .product-grid {
        justify-content: center;
    }

    .products-page-main .p-card {
        /* 2 cards per row on mobile (inheriting index.html rules generally) */
        flex: 0 0 calc(50% - 6px);
    }

    .banner-content h1 {
        font-size: 2.5rem;
    }
}

@media (min-width: 769px) {

    .mobile-filter-btn,
    .mobile-filter-overlay {
        display: none !important;
    }
}


/* ================= CUSTOM MIX PACK SECTION ================= */

.custom-mix-section {
    padding: 80px 20px;
    position: relative;
    overflow: hidden;
    background-color: #f9f7f2;
    /* Light cream to match wholesale section */
}

/* How to Order Button */
.how-to-order-btn {
    background: transparent;
    border: 1.5px solid var(--accent-amber);
    color: var(--accent-amber);
    padding: 10px 24px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    margin-top: 15px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: var(--font-body);
}

.how-to-order-btn:hover {
    background: var(--accent-amber);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(93, 12, 29, 0.2);
}

/* Modal Popup */
.order-guide-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    z-index: 5000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.order-guide-modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content-wrapper {
    position: relative;
    max-width: min(900px, 92vw);
    max-height: 90vh;
    transform: scale(0.9);
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.order-guide-modal.active .modal-content-wrapper {
    transform: scale(1);
}

.modal-content-wrapper img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-content-wrapper .close-modal {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 40px;
    height: 40px;
    background: var(--accent-amber);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    z-index: 10;
    transition: 0.3s;
}

.modal-content-wrapper .close-modal:hover {
    transform: scale(1.1) rotate(90deg);
    background: var(--accent-red);
}

@media (max-width: 600px) {
    .modal-content-wrapper .close-modal {
        top: 10px;
        right: 14px;
        width: 34px;
        height: 34px;
        font-size: 1.2rem;
    }
}

.custom-mix-section .section-header h2 {
    color: #3d2914;
}

.custom-mix-section .section-header h2 span {
    color: var(--accent-amber, #5D0C1D);
    /* Changed to burgundy for better contrast on cream */
}

.custom-mix-section .section-header p {
    color: #6b6560;
}

.section-header,
.custom-mix-container {
    position: relative;
    z-index: 2;
}

.custom-mix-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 40px;
    align-items: stretch;
}

/* Left Column: Visual */
.mix-visual-col {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    background: url('../static/im/blob-bg.svg') center/contain no-repeat;
    position: relative;
}

#customMixStaticImage {
    width: 100%;
    max-width: 350px;
    object-fit: contain;
    transition: max-width 0.3s ease;
}

@media (max-width: 768px) {
    #customMixStaticImage {
        max-width: 220px;
        /* Thinner/smaller look on mobile */
    }
}

.floating-img {
    animation: floatingPack 3s ease-in-out infinite;
}


@keyframes floatingPack {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

/* Right Column: Wizard */
.mix-wizard-col {
    flex: 1.5;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.wizard-step {
    background: linear-gradient(180deg, #faf7f1 0%, #f5f0e8 100%);
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 22px rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(212, 181, 129, 0.28);
    transition: all 0.3s ease;
}

@media (max-width: 600px) {
    .wizard-step {
        padding: 15px;
    }
}

.wizard-step h3 {
    margin-bottom: 15px;
    border-bottom: 2px solid var(--accent-light);
    padding-bottom: 10px;
    display: inline-block;
}

.weight-options {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

@media (max-width: 480px) {
    .weight-options {
        gap: 10px;
        justify-content: flex-start;
    }
}

.weight-label input {
    display: none;
}

.weight-btn {
    padding: 10px 25px;
    border: 2px solid rgba(212, 181, 129, 0.45);
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    color: #5c4f3d;
    background: rgba(255, 252, 246, 0.65);
}

@media (max-width: 480px) {
    .weight-btn {
        padding: 8px 18px;
        font-size: 0.85rem;
    }
}

.weight-label input:checked+.weight-btn {
    background: var(--accent-amber);
    color: white;
    border-color: var(--accent-amber);
    box-shadow: 0 4px 15px rgba(245, 124, 0, 0.3);
}

.ingredients-slider-outer {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.ingredients-slider-container {
    flex: 1;
    overflow: hidden;
}

.ingredients-grid {
    display: grid;
    grid-template-rows: auto;
    transition: all 0.3s ease;
    grid-auto-columns: calc(20% - 12px);
    /* 5 per row on desktop (one row) */
    gap: 15px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 5px;
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE/Edge */
    scroll-snap-type: x mandatory;
}

.ingredients-grid::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari, Opera */
}

.slider-nav-btn {
    display: none;
    /* Hidden by default, JS will show if needed */
    background: #fff;
    border: 1px solid rgba(212, 181, 129, 0.4);
    color: var(--accent-amber);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    z-index: 5;
    flex-shrink: 0;
}

.slider-nav-btn:hover {
    background: var(--accent-amber);
    color: white;
    transform: scale(1.1);
    box-shadow: 0 6px 15px rgba(93, 12, 29, 0.15);
}

.slider-nav-btn i {
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .ingredients-grid {
        grid-auto-columns: calc(50% - 8px);
        /* 2 per row on mobile */
        gap: 15px;
    }

    .slider-nav-btn {
        width: 32px;
        height: 32px;
    }
}

.ingredients-pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 15px;
}

.mix-dot {
    width: 8px;
    height: 8px;
    background: #d4b58166;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.mix-dot.active {
    background: var(--accent-amber);
    width: 24px;
    border-radius: 10px;
}

@media (max-width: 600px) {
    .mix-dot {
        width: 6px;
        height: 6px;
    }

    .mix-dot.active {
        width: 18px;
    }
}

.ingredient-card {
    scroll-snap-align: start;
    border: 1px solid rgba(212, 181, 129, 0.35);
    border-radius: 10px;
    padding: 10px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
    background: #f7f2ea;
    position: relative;
    overflow: hidden;
}

.ingredient-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
}

.ingredient-card.selected {
    border-color: var(--accent-gold);
    background: linear-gradient(180deg, #f8efd9 0%, #f3e6cc 100%);
}

.ingredient-card.selected::after {
    content: 'âœ“';
    position: absolute;
    top: 5px;
    right: 5px;
    background: var(--accent-green);
    color: white;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    font-size: 0.7rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.ingredient-card img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    margin-bottom: 5px;
}

.ingredient-card .ing-name {
    font-size: 0.85rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 3px;
}

.ingredient-card .ing-price {
    font-size: 0.75rem;
    color: #888;
}

.sliders-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.slider-row {
    display: flex;
    align-items: center;
    gap: 15px;
}

.slider-label {
    width: 100px;
    font-size: 0.9rem;
    font-weight: 600;
}

.slider-input-wrapper {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 10px;
}

.slider-input-wrapper input[type="range"] {
    flex: 1;
    accent-color: var(--accent-amber);
}

.slider-value {
    width: 45px;
    text-align: right;
    font-weight: bold;
    color: var(--accent-amber);
    background: transparent;
    border: none;
    outline: none;
    font-family: inherit;
    font-size: 1rem;
    padding: 0;
}

input.slider-value::-webkit-inner-spin-button,
input.slider-value::-webkit-outer-spin-button {
    -webkit-appearance: none;
    appearance: none;
    margin: 0;
}

input.slider-value {
    -moz-appearance: textfield;
    appearance: none;
}

.slider-percent-symbol {
    font-weight: bold;
    color: var(--accent-amber);
    margin-left: -8px;
    font-size: 1rem;
}

.slider-weight-input {
    width: 45px;
    font-size: 0.8rem;
    color: #888;
    text-align: right;
    background: transparent;
    border: none;
    outline: none;
    font-family: inherit;
    padding: 0;
}

input.slider-weight-input::-webkit-inner-spin-button,
input.slider-weight-input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    appearance: none;
    margin: 0;
}

input.slider-weight-input {
    -moz-appearance: textfield;
    appearance: none;
}

.slider-gram-symbol {
    font-size: 0.8rem;
    color: #888;
    margin-left: -8px;
}

.remove-mix-ing {
    background: transparent;
    border: none;
    color: #cc0000;
    cursor: pointer;
    font-size: 0.9rem;
    padding: 5px;
    margin-left: 10px;
    opacity: 0.6;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.remove-mix-ing:hover {
    opacity: 1;
    transform: scale(1.15);
    color: #ff0000;
}

@media (max-width: 600px) {
    .remove-mix-ing {
        margin-left: 5px;
        font-size: 0.8rem;
    }
}

.percent-badge {
    background: rgba(237, 228, 214, 0.95);
    color: #4a4034;
    padding: 5px 10px;
    border-radius: 8px;
    font-weight: bold;
    font-size: 0.9rem;
    transition: 0.3s;
    border: 1px solid rgba(212, 181, 129, 0.25);
}

.percent-badge.error {
    background: #ffebee;
    color: #d32f2f;
}

.percent-badge.success {
    background: #e8f5e9;
    color: #2e7d32;
}

.mix-summary-panel {
    background: linear-gradient(135deg, #faf6f0 0%, #f0e8dc 55%, #ebe2d4 100%);
    padding: 20px 25px;
    border-radius: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.14);
    border: 1px solid rgba(212, 181, 129, 0.4);
}

@media (max-width: 600px) {
    .slider-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        padding-bottom: 15px;
        border-bottom: 1px solid rgba(212, 181, 129, 0.15);
    }

    .slider-row:last-child {
        border-bottom: none;
    }

    .slider-label {
        width: 100%;
        font-size: 0.95rem;
        color: var(--text-main);
    }

    .slider-input-wrapper {
        width: 100%;
        gap: 8px;
    }

    .slider-value {
        width: 35px;
        font-size: 0.9rem;
    }

    .slider-percent-symbol {
        font-size: 0.9rem;
        margin-left: -5px;
    }

    .slider-weight-input {
        width: 40px;
        font-size: 0.8rem;
    }

    .slider-gram-symbol {
        font-size: 0.8rem;
        margin-left: -5px;
    }

    .remove-mix-ing {
        margin-left: auto;
    }
}

.summary-price span {
    font-size: 0.85rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.summary-price h2 {
    margin: 0;
    line-height: 1;
}

.summary-actions {
    display: flex;
    gap: 15px;
}

.summary-actions button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

@media(max-width: 900px) {
    .custom-mix-container {
        flex-direction: column;
    }

    .mix-visual-col {
        margin-bottom: 20px;
    }

    .mix-summary-panel {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

/* ================= WHOLESALE SECTION ================= */

.wholesale-section {
    padding: 80px 20px;
    background-color: #f9f7f2;
    position: relative;
    overflow: hidden;
}

.wholesale-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

@media (max-width: 900px) {
    .wholesale-container {
        flex-direction: column;
        text-align: center;
    }
}

.wholesale-content {
    flex: 1;
}

.wholesale-tag {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #6a1a21;
    display: block;
    margin-bottom: 25px;
}

.wholesale-heading {
    line-height: 1.15;
    margin-bottom: 40px;
}

a.wholesale-contact,
.wholesale-contact {
    display: inline-flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-start;
    gap: clamp(10px, 2.5vw, 16px);
    max-width: 100%;
    box-sizing: border-box;
    font-family: var(--font-body);
    font-style: normal;
    font-size: clamp(0.95rem, 2.4vw, 1.15rem);
    line-height: 1.35;
    color: #c4a165;
    text-decoration: none;
    border-bottom: 2px solid #d4b581;
    padding-bottom: 10px;
    transition: transform 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.wholesale-contact__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: clamp(1.75rem, 4.2vw, 2.1rem);
    height: clamp(1.75rem, 4.2vw, 2.1rem);
    flex-shrink: 0;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.wholesale-contact__icon .ph {
    font-size: clamp(1.65rem, 4vw, 2rem);
    line-height: 1;
    color: inherit;
    opacity: 0.92;
}

a.wholesale-contact:hover .wholesale-contact__icon .ph {
    opacity: 1;
}

a.wholesale-contact:hover .wholesale-contact__icon {
    transform: scale(1.05);
}

.wholesale-contact__row {
    display: inline-flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: baseline;
    gap: clamp(0.45rem, 2vw, 0.85rem);
    min-width: 0;
}

.wholesale-contact__label {
    color: #c4a165;
    font-weight: 600;
    white-space: nowrap;
}

.wholesale-contact__phone {
    color: #6a1a21;
    font-weight: 400;
    letter-spacing: 0.06em;
    white-space: nowrap;
    flex-shrink: 0;
}

.wholesale-contact__label::after {
    content: '\00a0·\00a0';
    color: rgba(106, 26, 33, 0.45);
    font-weight: 600;
}

a.wholesale-contact:hover,
.wholesale-contact:hover {
    transform: translateY(-2px);
    border-bottom-color: #6a1a21;
    color: #c4a165;
}

a.wholesale-contact:focus-visible {
    outline: 2px solid #6a1a21;
    outline-offset: 4px;
    border-radius: 4px;
}

@media (max-width: 900px) {

    a.wholesale-contact,
    .wholesale-contact {
        justify-content: center;
        margin-inline: auto;
        flex-wrap: wrap;
        text-align: center;
    }

    .wholesale-contact__row {
        justify-content: center;
        flex-wrap: nowrap;
        max-width: 100%;
    }
}

/* One clean wrap: full label row, then phone (no awkward mid-phrase breaks) */
@media (max-width: 520px) {

    a.wholesale-contact,
    .wholesale-contact {
        flex-direction: column;
        align-items: center;
        gap: 10px;
        padding-left: clamp(12px, 4vw, 20px);
        padding-right: clamp(12px, 4vw, 20px);
    }

    .wholesale-contact__row {
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }

    .wholesale-contact__label {
        white-space: normal;
        text-align: center;
        max-width: min(100%, 20rem);
        text-wrap: balance;
    }

    .wholesale-contact__label::after {
        display: none;
    }

    .wholesale-contact__phone {
        font-size: clamp(1rem, 4.2vw, 1.12rem);
    }
}

/* 3D Flip Card */
.wholesale-card-container {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1500px;
}

.wholesale-card-stack {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
    max-width: 100%;
}

.wholesale-card-hint {
    margin: 0;
    font-size: clamp(0.68rem, 2.9vw, 0.82rem);
    color: rgba(106, 26, 33, 0.52);
    font-weight: 500;
    letter-spacing: 0.02em;
    text-align: right;
    line-height: 1.35;
    max-width: min(100%, 480px);
}

@media (min-width: 901px) {
    .wholesale-card-hint {
        display: none;
    }
}

@media (max-width: 900px) {
    .wholesale-card-container {
        width: 100%;
        margin-top: 20px;
    }
}

.flip-card {
    background-color: transparent;
    width: 480px;
    height: 275px;
    perspective: 1500px;
    cursor: pointer;
    border-radius: 15px;
}

.flip-card:focus-visible {
    outline: 2px solid #6a1a21;
    outline-offset: 4px;
}

@media (max-width: 600px) {
    .flip-card {
        width: 380px;
        height: 220px;
    }
}

@media (max-width: 400px) {
    .flip-card {
        width: 320px;
        height: 185px;
    }
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform-style: preserve-3d;
    box-shadow: 0 25px 50px rgba(106, 26, 33, 0.15);
    border-radius: 15px;
}

@media (min-width: 901px) {
    .flip-card:hover .flip-card-inner {
        transform: rotateY(180deg) scale(1.05);
        box-shadow: 0 30px 60px rgba(106, 26, 33, 0.25);
    }
}

@media (max-width: 900px) {
    .flip-card.is-flipped .flip-card-inner {
        transform: rotateY(180deg) scale(1.05);
        box-shadow: 0 30px 60px rgba(106, 26, 33, 0.25);
    }
}

.flip-card-front,
.flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: 15px;
    overflow: hidden;
    background-color: #6a1a21;
    /* fallback color */
    display: flex;
    justify-content: center;
    align-items: center;
    border: 2px solid rgba(196, 161, 101, 0.3);
}

.flip-card-front img,
.flip-card-back img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.flip-card-back {
    transform: rotateY(180deg);
}

/* --- ENHANCED ORDER CARDS (3-DOTS MENU & UI) --- */
.enhanced-order-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease !important;
    border: 1px solid rgba(204, 172, 111, 0.5) !important;
    /* Premium gold outline */
    box-shadow: 0 4px 20px rgba(204, 172, 111, 0.12) !important;
    /* Soft glowing highlight */
    background: #fff !important;
    border-radius: 12px !important;
    overflow: hidden;
    margin-bottom: 20px !important;
}

.enhanced-order-card:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 10px 25px rgba(204, 172, 111, 0.25) !important;
    border-color: rgba(204, 172, 111, 0.9) !important;
}

.order-menu-container {
    position: relative;
    display: inline-block;
}

.btn-icon-dots {
    background: none;
    border: none;
    font-size: 1.2rem;
    color: #888;
    cursor: pointer;
    padding: 5px 12px;
    border-radius: 50%;
    transition: background 0.2s, color 0.2s;
}

.btn-icon-dots:hover {
    background: #f5f5f5;
    color: var(--accent-amber);
}

.order-dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 5px;
    background: white;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.15);
    border-radius: 10px;
    padding: 8px 0;
    min-width: 180px;
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
    border: 1px solid #eaeaea;
}

.order-dropdown-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.order-dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    font-size: 0.95rem;
    color: #444;
    cursor: pointer;
    transition: background 0.2s;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
    font-family: var(--font-body);
}

.order-dropdown-item:hover {
    background: #fdfaf2;
    color: var(--accent-amber);
}

/* =====================================================
   ABOUT US SECTION â€” Premium Cinematic Edition
   ===================================================== */

.about-us-section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    background: #0e0305;
    background-image:
        radial-gradient(ellipse at 20% 30%, rgba(93, 12, 29, 0.45) 0%, transparent 55%),
        radial-gradient(ellipse at 80% 80%, rgba(204, 172, 111, 0.08) 0%, transparent 50%);
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: 120px 0 100px;
}

/* ---- Ambient Glow Orbs ---- */
.about-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(110px);
    pointer-events: none;
    z-index: 0;
}

.about-glow-1 {
    width: 550px;
    height: 550px;
    background: radial-gradient(circle, rgba(93, 12, 29, 0.55) 0%, transparent 70%);
    top: -120px;
    left: -100px;
    animation: aboutGlowDrift 12s ease-in-out infinite alternate;
}

.about-glow-2 {
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, rgba(204, 172, 111, 0.2) 0%, transparent 70%);
    bottom: -80px;
    right: 10%;
    animation: aboutGlowDrift 15s ease-in-out infinite alternate-reverse;
}

.about-glow-3 {
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, rgba(180, 50, 70, 0.2) 0%, transparent 70%);
    top: 50%;
    left: 35%;
    transform: translate(-50%, -50%);
    animation: aboutGlowPulse 8s ease-in-out infinite;
}

@keyframes aboutGlowDrift {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(40px, 30px) scale(1.1);
    }
}

@keyframes aboutGlowPulse {

    0%,
    100% {
        opacity: 0.4;
        transform: translate(-50%, -50%) scale(1);
    }

    50% {
        opacity: 0.8;
        transform: translate(-50%, -50%) scale(1.15);
    }
}

/* ---- Film Grain Overlay ---- */
.about-grain {
    position: absolute;
    inset: 0;
    z-index: 1;
    opacity: 0.04;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    background-size: 180px;
}

/* ---- Particle Container ---- */
.about-particles {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.about-particle {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(204, 172, 111, 0.8), transparent);
    animation: aboutParticleFloat linear infinite;
    pointer-events: none;
}

@keyframes aboutParticleFloat {
    0% {
        transform: translateY(110vh) translateX(0) scale(0);
        opacity: 0;
    }

    10% {
        opacity: 1;
        transform: translateY(90vh) translateX(10px) scale(1);
    }

    90% {
        opacity: 0.6;
    }

    100% {
        transform: translateY(-10vh) translateX(-20px) scale(0.5);
        opacity: 0;
    }
}

/* ---- Inner Layout ---- */
.about-inner {
    position: relative;
    z-index: 5;
    display: grid;
    grid-template-columns: 30% 70%;
    gap: 0 60px;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 60px;
    align-items: center;
}

/* =====================================================
   LEFT: Text Column
   ===================================================== */
.about-text-col {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

/* Reveal animation base */
.reveal-about {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1),
        transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal-about.in-view {
    opacity: 1;
    transform: translateX(0);
}

.reveal-delay-1 {
    transition-delay: 0.15s;
}

.reveal-delay-2 {
    transition-delay: 0.3s;
}

.reveal-delay-3 {
    transition-delay: 0.45s;
}

.reveal-delay-4 {
    transition-delay: 0.6s;
}

/* Eyebrow */
.about-eyebrow {
    display: flex;
    align-items: center;
    gap: 14px;
}

.about-eyebrow-line {
    display: inline-block;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, #CCAC6F, rgba(204, 172, 111, 0.2));
    border-radius: 2px;
}

.about-eyebrow-label {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 6px;
    text-transform: uppercase;
    color: #CCAC6F;
    opacity: 0.85;
}

/* Heading */
.about-heading {
    line-height: 1.2;
    margin: 0;
}

.about-heading-gold {
    color: inherit;
}

/* Description */
.about-desc {
    font-size: 0.95rem;
    line-height: 1.85;
    color: rgba(240, 230, 208, 0.65);
    border-left: 2px solid rgba(204, 172, 111, 0.4);
    padding-left: 18px;
    margin: 0;
}

/* Divider */
.about-divider {
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, rgba(204, 172, 111, 0.6), transparent);
}

/* ---- Stats ---- */
.about-stats {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.about-stat-pill {
    display: flex;
    align-items: baseline;
    gap: 4px;
    padding: 14px 18px;
    border: 1px solid rgba(204, 172, 111, 0.15);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(8px);
    transition: border-color 0.3s ease, background 0.3s ease, transform 0.3s ease;
    cursor: default;
}

.about-stat-pill:hover {
    border-color: rgba(204, 172, 111, 0.45);
    background: rgba(204, 172, 111, 0.07);
    transform: translateX(6px);
}

.about-stat-number {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 700;
    color: #CCAC6F;
    line-height: 1;
}

.about-stat-plus,
.about-stat-percent {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: #CCAC6F;
    opacity: 0.8;
    margin-right: 10px;
}

.about-stat-label {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: rgba(240, 230, 208, 0.5);
    align-self: center;
}

/* ---- CTA Button ---- */
.about-cta-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    border-radius: 50px;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid rgba(204, 172, 111, 0.4);
    background: linear-gradient(135deg, rgba(93, 12, 29, 0.8), rgba(61, 8, 19, 0.9));
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4), inset 0 0 15px rgba(204, 172, 111, 0.05);
    align-self: flex-start;
}

.about-cta-btn:hover {
    transform: translateY(-4px) scale(1.02);
    border-color: rgba(204, 172, 111, 0.75);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6), 0 0 30px rgba(204, 172, 111, 0.25);
}

.about-cta-shimmer {
    position: absolute;
    top: 0;
    left: -120%;
    width: 70%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    transform: skewX(-20deg);
    transition: left 0.6s ease;
}

.about-cta-btn:hover .about-cta-shimmer {
    left: 160%;
}

.about-cta-text {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #e8c87c;
}

.about-cta-arrow {
    transition: transform 0.3s ease;
}

.about-cta-btn:hover .about-cta-arrow {
    transform: translateX(5px);
}

/* ---- Trust Badges ---- */
.about-trust-row {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.about-trust-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    color: rgba(240, 230, 208, 0.55);
    text-transform: uppercase;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    transition: color 0.3s ease;
}

.about-trust-badge:last-child {
    border-bottom: none;
}

.about-trust-badge:hover {
    color: rgba(204, 172, 111, 0.9);
}

.about-trust-badge i {
    color: #CCAC6F;
    font-size: 1rem;
    width: 20px;
    text-align: center;
    opacity: 0.75;
}

/* =====================================================
   RIGHT: Video Column
   ===================================================== */
.about-video-col {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Right reveal */
.reveal-about-right {
    opacity: 0;
    transform: translateX(60px) scale(0.95);
    transition: opacity 1s cubic-bezier(0.2, 0.8, 0.2, 1) 0.2s,
        transform 1s cubic-bezier(0.2, 0.8, 0.2, 1) 0.2s;
}

.reveal-about-right.in-view {
    opacity: 1;
    transform: translateX(0) scale(1);
}

/* Video frame wrapper */
.about-video-frame {
    position: relative;
    width: 90%;
    max-width: 820px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow:
        0 0 0 1px rgba(204, 172, 111, 0.15),
        0 25px 60px rgba(0, 0, 0, 0.7),
        0 0 80px rgba(93, 12, 29, 0.3);
}

/* Glowing animated rings */
.about-video-ring {
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    border: 1px solid rgba(204, 172, 111, 0.25);
    z-index: 2;
    pointer-events: none;
    animation: aboutRingPulse 4s ease-in-out infinite;
}

.about-video-ring-2 {
    inset: -6px;
    border-color: rgba(93, 12, 29, 0.4);
    animation-delay: 2s;
}

@keyframes aboutRingPulse {

    0%,
    100% {
        opacity: 0.3;
        transform: scale(1);
    }

    50% {
        opacity: 0.8;
        transform: scale(1.008);
    }
}

/* L-bracket corners */
.about-corner {
    position: absolute;
    width: 22px;
    height: 22px;
    z-index: 3;
    pointer-events: none;
}

.about-corner::before,
.about-corner::after {
    content: '';
    position: absolute;
    background: #CCAC6F;
    border-radius: 1px;
}

.about-corner::before {
    width: 100%;
    height: 2px;
}

.about-corner::after {
    width: 2px;
    height: 100%;
}

.about-corner-tl {
    top: 14px;
    left: 14px;
}

.about-corner-tl::before {
    top: 0;
    left: 0;
}

.about-corner-tl::after {
    top: 0;
    left: 0;
}

.about-corner-tr {
    top: 14px;
    right: 14px;
}

.about-corner-tr::before {
    top: 0;
    right: 0;
}

.about-corner-tr::after {
    top: 0;
    right: 0;
}

.about-corner-bl {
    bottom: 34px;
    left: 14px;
}

.about-corner-bl::before {
    bottom: 0;
    left: 0;
}

.about-corner-bl::after {
    bottom: 0;
    left: 0;
}

.about-corner-br {
    bottom: 34px;
    right: 14px;
}

.about-corner-br::before {
    bottom: 0;
    right: 0;
}

.about-corner-br::after {
    bottom: 0;
    right: 0;
}

/* The video itself */
.about-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    aspect-ratio: 16 / 9;
    filter: brightness(0.9) saturate(1.1);
    transition: filter 0.5s ease;
}

.about-video-frame:hover .about-video {
    filter: brightness(1) saturate(1.2);
}

/* Frosted caption bar */
.about-video-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 4;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 22px;
    background: linear-gradient(transparent, rgba(10, 2, 3, 0.85));
    backdrop-filter: blur(4px);
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 2px;
    color: rgba(204, 172, 111, 0.85);
    text-transform: uppercase;
    transition: background 0.3s ease;
}

.about-video-caption i {
    font-size: 1.1rem;
    color: #CCAC6F;
    animation: captionIconPulse 2.5s ease-in-out infinite;
}

@keyframes captionIconPulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.7;
    }

    50% {
        transform: scale(1.15);
        opacity: 1;
    }
}

/* Floating product image */
.about-floating-product {
    position: absolute;
    bottom: -30px;
    left: -60px;
    z-index: 10;
    width: 180px;
    pointer-events: none;
    animation: aboutFloatDrift 6s ease-in-out infinite;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.6));
}

.about-floating-product img {
    width: 100%;
    object-fit: contain;
}

@keyframes aboutFloatDrift {

    0%,
    100% {
        transform: translateY(0) rotate(-3deg);
    }

    50% {
        transform: translateY(-18px) rotate(2deg);
    }
}

/* =====================================================
   SCROLL-TRIGGERED REVEAL â€” IntersectionObserver
   ===================================================== */
/* (handled via JS below in script.js or inline) */

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 1024px) {
    .about-inner {
        grid-template-columns: 1fr;
        padding: 0 40px;
        gap: 70px 0;
    }

    .about-text-col {
        align-items: flex-start;
    }

    .about-video-frame {
        width: 100%;
        max-width: 100%;
    }

    .about-floating-product {
        width: 130px;
        left: -20px;
        bottom: -20px;
    }
}

@media (max-width: 768px) {
    .about-us-section {
        padding: 80px 0 80px;
    }

    .about-inner {
        padding: 0 20px;
        gap: 50px;
    }

    .about-stats {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 10px;
    }

    .about-stat-pill {
        flex: 1 1 40%;
    }

    .about-trust-row {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .about-trust-badge {
        flex: 1 1 40%;
    }

    .about-floating-product {
        display: none;
    }

    .about-video-caption {
        font-size: 0.75rem;
    }
}

/* ================= PREMIUM / CORPORATE GIFTING (3-column layout) ================= */
.premium-gifting-section {
    position: relative;
    padding: 88px 24px 100px;
    background-color: #f9f7f2;
    overflow: hidden;
}

.corporate-gifting-inner {
    max-width: 1180px;
    margin: 0 auto;
    width: 100%;
}

.corporate-gifting-header {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    max-width: 640px;
    width: 100%;
    margin: 0 auto 52px;
    padding: 0 12px;
    box-sizing: border-box;
}

.corporate-gifting-header .cg-eyebrow,
.corporate-gifting-header .gifting-title,
.corporate-gifting-header .cg-desc {
    width: 100%;
    max-width: 100%;
}

.cg-eyebrow {
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.38em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin: 0 0 14px;
}

.gifting-title {
    margin-bottom: 0;
}

.cg-desc {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.75;
    color: #4a4a4a;
    margin: 18px 0 0;
}

/* Gifting cards: stacked (1 col) on mobile; side-by-side col-6 each from 961px up */
.cg-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: start;
    width: 100%;
}

.cg-column {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    gap: 22px;
    min-width: 0;
}

@media (min-width: 961px) {
    .cg-grid {
        grid-template-columns: repeat(12, minmax(0, 1fr));
        gap: 36px;
    }

    .cg-column {
        grid-column: span 6;
    }
}

.cg-media {
    border-radius: 18px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: rgba(255, 255, 255, 0.6);
    box-shadow: 0 14px 42px rgba(45, 6, 16, 0.08);
}

.cg-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.cg-col-title {
    margin: 0;
    text-align: center;
}

.cg-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.cg-list li {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 11px;
    max-width: 100%;
    font-family: var(--font-body);
    font-size: 0.95rem;
    line-height: 1.55;
    color: #4a4a4a;
    text-align: center;
}

.cg-list .fa-check {
    font-size: 0.75rem;
    color: var(--accent-gold);
    flex-shrink: 0;
}

.cg-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.cg-tag {
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 500;
    padding: 9px 16px;
    border-radius: 999px;
    background: rgba(45, 6, 16, 0.06);
    color: var(--text-main);
    border: 1px solid rgba(45, 6, 16, 0.06);
}

.cg-cta {
    text-align: center;
    margin-top: 48px;
}

.gifting-btn {
    padding: 12px 35px;
    background: linear-gradient(135deg, #d8b67b, #c29d5b);
    border: none;
    border-radius: 30px;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-main);
    cursor: pointer;
    box-shadow: 0 8px 15px rgba(204, 172, 111, 0.4);
    transition: all 0.3s ease;
}

.gifting-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 20px rgba(204, 172, 111, 0.6);
    background: linear-gradient(135deg, #e5c388, #d8b67b);
}

@media (max-width: 768px) {
    .premium-gifting-section {
        padding: 64px 18px 72px;
    }

    .corporate-gifting-header {
        margin-bottom: 40px;
    }

    .cg-eyebrow {
        letter-spacing: 0.28em;
        font-size: 0.68rem;
    }

    .cg-desc {
        font-size: 0.95rem;
    }
}

/* ================= MOBILE STICKY SHOP BUTTON ================= */
.mobile-sticky-shop-btn {
    display: none;
}

@media (max-width: 768px) {
    .mobile-sticky-shop-btn {
        display: block;
        position: fixed;
        bottom: 15px;
        left: 15px;
        width: calc(100% - 30px);
        border-radius: 30px;
        background-color: var(--accent-red, #5d0c1d);
        color: #d8b67b;
        text-align: center;
        padding: 15px 0;
        font-family: var(--font-heading);
        font-size: 1.25rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 2px;
        z-index: 1000;
        box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.3);
        /* Subtly animated gradient that suggests action */
        background: linear-gradient(135deg, rgba(93, 12, 29, 0.95), rgba(61, 8, 19, 0.98));
        border: 1px solid rgba(204, 172, 111, 0.3);
        transition: transform 0.2s;
    }

    .mobile-sticky-shop-btn:active {
        transform: scale(0.98);
        background: rgba(93, 12, 29, 1);
    }

    /* Ensure no overlap over the footer */
    body {
        padding-bottom: 60px;
    }
}

/* --- STORE PICKUP CARDS (PROFESSIONAL) --- */
.cart-store-item {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 12px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.cart-store-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.06);
    border-color: #5D0C1D;
    /* Using raw burgundy for safety */
}

.cart-store-item.selected {
    border-color: #5D0C1D;
    background: #fdf5ec;
    /* Brand light warm cream */
    box-shadow: 0 4px 12px rgba(93, 12, 29, 0.1);
}

.cart-store-item.selected::after {
    content: '\f058';
    /* fa-check-circle */
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    top: 12px;
    right: 12px;
    color: #5D0C1D;
    font-size: 1.1rem;
}

.store-name-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.store-name {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.05rem;
    color: #2d0610;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.store-info-btn {
    background: #f4f4f4;
    border: none;
    color: #888;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: 0.2s;
}

.store-info-btn:hover {
    background: #5D0C1D;
    color: white;
}

.store-addr-text {
    font-size: 0.8rem;
    color: #666;
    line-height: 1.4;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 4px 0;
}

.store-meta-row {
    display: flex;
    gap: 15px;
    margin-top: 4px;
    padding-top: 10px;
    border-top: 1px dashed #eee;
}

.store-meta-item {
    font-size: 0.72rem;
    color: #888;
    display: flex;
    align-items: center;
    gap: 5px;
}

.store-meta-item i {
    color: #5D0C1D;
    opacity: 0.7;
    font-size: 0.75rem;
}

/* ================= UNIFIED PAGE HEADINGS ================= */
h1.hero-auto-text-line,
h1.wholesale-heading,
.section-header h2,
h2.gifting-title,
.category-details-container h3,
.timeline-content h3,
.wizard-step h3,
.summary-price h2,
.about-heading,
.reviews-heading,
.blogs-section .blog-card-content h3,
.premium-heading,
.premium-heading-white,
.corporate-gifting-section .cg-col-title {
    font-family: var(--font-heading);
    font-size: var(--heading-unified-size);
    font-weight: var(--heading-unified-weight);
    line-height: var(--heading-unified-line);
    font-style: normal;
    color: var(--landing-heading);
}

.summary-price h2 {
    line-height: 1;
}

/* Hero rotating headlines â€” gold (overrides unified heading colour) */
h1.hero-auto-text-line {
    color: var(--accent-gold);
}

/* Wholesale block headline — gold, extra bold */
h1.wholesale-heading {
    color: var(--accent-gold);
    font-weight: 800;
}

/* Reviews block headline — gold */
h2.reviews-heading {
    color: var(--accent-amber);
}

/* --- TAX TOOLTIP --- */
.tax-info-container {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.tax-tooltip {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    bottom: calc(100% + 15px);
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    transform-origin: bottom;
    background: var(--text-main);
    color: #fff;
    border-radius: 12px;
    padding: 16px;
    min-width: 240px;
    max-width: 300px;
    max-height: 400px;
    overflow-y: auto;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    z-index: 1001;
    font-family: var(--font-body);
    border: 1px solid rgba(204, 172, 111, 0.4);
    backdrop-filter: blur(12px);
    transition: all 0.3s cubic-bezier(0.19, 1, 0.22, 1);
    pointer-events: none;
}

/* Little arrow for tooltip */
.tax-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 7px;
    border-style: solid;
    border-color: var(--text-main) transparent transparent transparent;
}

/* Removed outer border arrow */
.tax-tooltip::before {
    display: none;
}

@media (min-width: 769px) {

    /* Safe hover area */
    .tax-info-container::after {
        content: '';
        position: absolute;
        bottom: 100%;
        left: 0;
        width: 100%;
        height: 15px;
        /* extends hit area so hover isn't lost instantly */
    }

    .tax-info-container:hover .tax-tooltip {
        visibility: visible;
        opacity: 1;
        transform: translateX(-50%) translateY(0);
        pointer-events: auto;
    }
}

.suggested-mix-trigger {
    background: linear-gradient(135deg, var(--accent-gold) 0%, #b8955a 100%);
    color: white !important;
    border: none;
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(204, 172, 111, 0.35);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    font-family: var(--font-body);
}

.suggested-mix-trigger:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 20px rgba(204, 172, 111, 0.5);
    background: linear-gradient(135deg, #b8955a 0%, var(--accent-gold) 100%);
}

.suggested-mix-trigger i {
    font-size: 1rem;
    filter: drop-shadow(0 0 2px rgba(255, 255, 255, 0.3));
}

@media (max-width: 600px) {
    .suggested-mix-trigger {
        width: 100%;
        justify-content: center;
        margin-top: 10px;
    }
}

/* --- SUGGESTED MIXES POPUP --- */
#suggestedMixOverlay .auth-modal {
    background: #fff;
    border: 1px solid rgba(212, 181, 129, 0.2);
    box-shadow: 0 25px 60px rgba(61, 41, 20, 0.15);
}

.suggested-mix-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 24px;
    border-radius: 16px;
    border: 1px solid rgba(212, 181, 129, 0.4);
    background: linear-gradient(135deg, #ffffff 0%, #fdf9f2 100%);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    /* Removed overflow: hidden to allow tooltips to show */
    margin-bottom: 5px;
    z-index: 1;
}

.suggested-mix-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent-gold);
    box-shadow: 0 12px 30px rgba(212, 181, 129, 0.18);
    background: #fff;
    z-index: 100;
    /* Ensure it stays above other cards when tooltip is shown */
}

.suggested-mix-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--accent-gold);
    transform: scaleY(0);
    transition: transform 0.3s ease;
    border-top-left-radius: 16px;
    border-bottom-left-radius: 16px;
}

.suggested-mix-card:hover::before {
    transform: scaleY(1);
}

.suggested-mix-content {
    flex: 1;
}

.suggested-mix-name {
    margin: 0 0 6px;
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 8px;
}

.suggested-mix-name i {
    color: var(--accent-gold);
    font-size: 1rem;
}

.suggested-mix-desc {
    margin: 0;
    font-size: 0.9rem;
    color: #7a6a5a;
    line-height: 1.4;
    max-width: 90%;
    text-align: left;
}

.suggested-mix-action {
    display: flex;
    align-items: center;
    gap: 15px;
}

.suggested-mix-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(212, 181, 129, 0.1);
    color: var(--accent-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(212, 181, 129, 0.2);
}

.suggested-mix-card:hover .suggested-mix-btn {
    background: var(--accent-gold);
    color: #fff;
    transform: scale(1.1) rotate(-15deg);
    border-color: var(--accent-gold);
}

/* Tooltip Enhancement */
.suggested-mix-info {
    position: relative;
    cursor: help;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 8px;
    flex-shrink: 0;
    padding: 2px;
}

.suggested-mix-info i {
    color: #bbb !important;
    font-size: 1.05rem !important;
    transition: all 0.2s ease;
}

.suggested-mix-info:hover i {
    color: var(--accent-gold) !important;
    transform: scale(1.1);
}

.recipe-tooltip {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    bottom: calc(100% + 15px);
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: var(--text-main);
    color: #fff;
    padding: 16px;
    border-radius: 12px;
    width: max-content;
    min-width: 200px;
    z-index: 1001;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    transition: all 0.3s cubic-bezier(0.19, 1, 0.22, 1);
    pointer-events: none;
}

.suggested-mix-info:hover .recipe-tooltip {
    visibility: visible;
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.recipe-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 7px;
    border-style: solid;
    border-color: var(--text-main) transparent transparent transparent;
}

.recipe-ingredient-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.85rem;
    gap: 20px;
}

.recipe-ingredient-row:last-child {
    border-bottom: none;
}

.recipe-ingredient-row span {
    opacity: 0.9;
    white-space: nowrap;
}

.recipe-ingredient-row strong {
    color: var(--accent-gold);
}

#suggestedMixesContainer::-webkit-scrollbar {
    width: 6px;
}

#suggestedMixesContainer::-webkit-scrollbar-track {
    background: #fdfaf4;
    border-radius: 10px;
}

#suggestedMixesContainer::-webkit-scrollbar-thumb {
    background: rgba(212, 181, 129, 0.3);
    border-radius: 10px;
}

#suggestedMixesContainer::-webkit-scrollbar-thumb:hover {
    background: var(--accent-gold);
}

/* --- COVERFLOW FEATURED SECTION --- */
.featuredHeroSwiper {
    padding-bottom: 20px !important;
}

.featured-coverflow-slide {
    width: 410px !important;
    height: 410px !important;
    display: flex;
    justify-content: center;
    align-items: center;
    background: transparent !important;
    border-radius: 16px;
    opacity: 1;
    transition: transform 0.4s ease;
}

.featuredHeroSwiper .swiper-slide-active {
    z-index: 10;
}

.featured-coverflow-media {
    width: 100%;
    height: 100%;
    background: transparent;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    border: none;
    overflow: hidden;
    position: relative;
    /* Ensure overlay positions correctly relative to media */
}



.featured-coverflow-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.featured-coverflow-details {
    max-width: 600px;
    margin: 10px auto 10px;
    background: transparent;
    border: none;
    padding: 10px 20px;
    text-align: center;
    color: #333;
    position: relative;
    z-index: 10;
}

.featured-coverflow-details-inner {
    animation: fadeIn 0.4s ease forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cf-title {
    font-family: var(--font-heading), 'Times New Roman', serif;
    font-size: 2.2rem;
    color: #4a1525;
    margin-bottom: 5px;
    margin-top: -65px;
    font-weight: normal;
}

.cf-subtitle {
    font-size: 0.9rem;
    font-weight: 600;
    color: #aaa;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
    margin-top: 0;
}

.cf-desc {
    font-size: 0.95rem;
    line-height: 1.5;
    color: #eee;
    margin-bottom: 20px;
}

.cf-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 15px;
}

.feature-ticks {
    font-size: 0.95rem;
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-bottom: 8px;
}

.cf-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.featured-coverflow-details .featured-hero-variants-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-bottom: 15px;
}

.featured-coverflow-details .featured-hero-variants {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.featured-coverflow-details .featured-hero-cta-wrap {
    width: 100%;
    max-width: 250px;
    margin: 0 auto;
    justify-content: center;
}

.featured-coverflow-details .featured-hero-variant-btn {
    background: rgba(255, 255, 255, 0.08) !important;
    color: #454444 !important;
    border: 1px solid #ccac6f !important;
}

.featured-coverflow-details .featured-hero-variant-btn:hover {
    background: rgba(255, 255, 255, 0.15) !important;
    color: #454444 !important;
    border-color: #ffffff !important;
}

.featured-coverflow-details .featured-hero-variant-btn.active {
    background: var(--accent-gold, #CCAC6F) !important;
    color: #1a1a1a !important;
    border-color: var(--accent-gold, #CCAC6F) !important;
}

.featured-coverflow-details .fh-qty-pill {
    background: #fff;
    border: 2px solid #4a1525;
    box-shadow: 0 4px 15px rgba(74, 21, 37, 0.15);
}

.featured-coverflow-details .fh-qty-pill button {
    color: #4a1525;
}

.featured-coverflow-details .fh-qty-pill button:hover {
    background: #4a1525;
    color: #fff;
}

.featured-coverflow-details .fh-qty-pill__count {
    color: #4a1525;
}

.featured-coverflow-details .featured-hero-cta {
    background: var(--accent-gold, #CCAC6F);
    color: #111;
}

@media(max-width: 768px) {
    .featured-coverflow-slide {
        width: 300px !important;
        height: 300px !important;
    }

    .featured-coverflow-details {
        margin: 10px 15px 30px;
        padding: 20px;
    }

    .cf-title {
        font-size: 1.5rem;
        margin-top: -45px;
    }

    .feature-ticks {
        display: none !important;
    }
}

/* Bottom Floating Alert (Toast) */
.mix-toast-container {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(200%);
    z-index: 10000;
    background: rgba(45, 6, 16, 0.98);
    color: #fff;
    padding: 12px 24px;
    border-radius: 50px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: transform 0.6s cubic-bezier(0.19, 1, 0.22, 1), opacity 0.4s ease;
    pointer-events: none;
    border: 1px solid rgba(204, 172, 111, 0.4);
    backdrop-filter: blur(12px);
    width: max-content;
    max-width: 90vw;
    opacity: 0;
}

.mix-toast-container.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.mix-toast-icon {
    color: var(--accent-gold);
    font-size: 1.1rem;
    flex-shrink: 0;
}

.mix-toast-message {
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.3;
    text-align: center;
}

@media (max-width: 768px) {
    .mix-toast-container {
        bottom: 40px;
        padding: 10px 20px;
        border-radius: 25px;
        max-width: 85vw;
    }

    .mix-toast-message {
        font-size: 0.8rem;
    }
}