@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

/* ==========================================================================
   LIPLEY PREMIUM COSMETICS - STYLING SYSTEM
   ========================================================================== */

/* --- TYPOGRAPHY: CUSTOM FONT FACE & FALLBACKS --- */
@font-face {
    font-family: 'Hitalica';
    src: url('assets/fonts/Hitalica.woff2') format('woff2'),
         url('assets/fonts/Hitalica.woff') format('woff'),
         url('assets/fonts/Hitalica.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* --- DESIGN TOKENS --- */
:root {
    /* Color Palette */
    --color-primary: #1E3A34;       /* Dark Forest Green */
    --color-secondary: #F8F6F1;     /* Off White */
    --color-accent: #D4AF37;        /* Luxury Gold */
    
    /* Text Colors */
    --text-dark: #1E3A34;
    --text-light: #F8F6F1;
    
    /* Fonts */
    --font-brand: 'Cormorant Garamond', 'Playfair Display', 'Didot', 'Georgia', serif;
    --font-serif: 'Cormorant Garamond', 'Playfair Display', 'Didot', 'Georgia', serif;
    --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    
    /* Grid Spacing */
    --container-max-width: 1280px;
    --section-padding: 120px 24px;
    --section-padding-mobile: 60px 16px;
    
    /* Transitions */
    --transition-premium: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-quick: all 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    
    /* Shadows */
    --shadow-soft: 0 10px 30px rgba(30, 58, 52, 0.04);
    --shadow-luxury: 0 20px 40px rgba(30, 58, 52, 0.08);
    --shadow-glow: 0 0 15px rgba(212, 175, 87, 0.25);
    --shadow-glow-strong: 0 0 25px rgba(212, 175, 87, 0.4);
}

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

html, body {
    max-width: 100%;
    overflow-x: hidden;
    width: 100%;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-sans);
    font-weight: 400; /* Regular */
    line-height: 1.6;
    background-color: var(--color-secondary);
    color: var(--text-dark);
    overflow-x: hidden;
}

/* Lock scrolling while intro is active */
body.intro-active {
    overflow: hidden;
}

/* Brand name styling rule */
.brand-name {
    font-family: var(--font-brand);
    font-weight: normal;
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

/* Utility Containers */
.container {
    width: 100%;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.flex-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* --- SECTION DECORATORS & COLOR SYSTEM --- */
.bg-dark {
    background-color: var(--color-primary);
    color: var(--text-light);
}

.bg-light {
    background-color: var(--color-secondary);
    color: var(--text-dark);
}

/* Section Header Styles */
.section-header {
    text-align: center;
    margin-bottom: 80px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-tagline {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--color-accent);
    display: block;
    margin-bottom: 12px;
}

.section-title {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 600;
    letter-spacing: -0.01em;
    margin-bottom: 16px;
    line-height: 1.2;
}

.section-subtitle {
    font-size: clamp(14px, 1.5vw, 17px);
    opacity: 0.8;
}

.divider-gold {
    height: 1px;
    width: 60px;
    background-color: var(--color-accent);
    margin: 20px 0;
}

/* --- INTRO SCREEN ANIMATION --- */
.intro-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    max-width: 100%;
    height: 100vh;
    background-color: #F8F6F1; /* Off White Background */
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: none;
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), visibility 1s;
    overflow: hidden;
}

.intro-screen.fade-out {
    opacity: 0;
    visibility: hidden;
}

.particles-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
}

.intro-particle {
    position: absolute;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.5) 0%, rgba(212, 175, 55, 0) 70%);
    border-radius: 50%;
    opacity: 0;
    animation: floatParticle 10s linear infinite;
}

@keyframes floatParticle {
    0% {
        transform: translateY(105vh) translateX(0);
        opacity: 0;
    }
    10% {
        opacity: 0.4;
    }
    90% {
        opacity: 0.4;
    }
    100% {
        transform: translateY(-5vh) translateX(30px);
        opacity: 0;
    }
}

.intro-bg-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.15) 0%, rgba(248, 246, 241, 0) 70%);
    z-index: 2;
    pointer-events: none;
    opacity: 0;
    animation: fadeInGlow 2.5s ease-out forwards;
    animation-delay: 0.5s;
}

@keyframes fadeInGlow {
    0% { opacity: 0; transform: translate(-50%, -50%) scale(0.85); }
    100% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

.intro-content {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 40px; /* Spacing between the brand logo block and the WELCOME tagline */
    animation: zoomContainer 4s cubic-bezier(0.1, 0.8, 0.2, 1) forwards;
}

@keyframes zoomContainer {
    0% { transform: scale(0.98); }
    100% { transform: scale(1.02); }
}

.brand-wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px; /* Space between Icon and Wordmark inside logo composition */
    overflow: hidden;
    padding: 10px 40px;
}

.intro-logo-large {
    height: 200px; /* approximately 180-220px tall */
    width: auto;
    object-fit: contain;
    opacity: 0;
    animation: fadeInLogo 1.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.2s;
}

@keyframes fadeInLogo {
    0% { opacity: 0; transform: translateY(15px) scale(0.97); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}

.intro-wordmark-large {
    height: 110px; /* Main focus: wordmark increased by 400-500% from old 25px version */
    width: auto;
    object-fit: contain;
    opacity: 0;
    animation: fadeInWordmark 1.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 1.0s;
}

@keyframes fadeInWordmark {
    0% { opacity: 0; transform: translateY(25px); }
    100% { opacity: 1; transform: translateY(0); }
}

.shine-effect {
    position: absolute;
    top: 0;
    left: -150%;
    width: 200%;
    height: 100%;
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.5) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: skewX(-25deg);
    animation: shineSweep 1.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 2.4s; /* Sweeps across once logo and wordmark are loaded */
    pointer-events: none;
}

@keyframes shineSweep {
    0% { left: -150%; }
    100% { left: 150%; }
}

.intro-welcome {
    font-family: var(--font-sans);
    font-size: 15px; /* Tagline text is much smaller than LIPLEY wordmark */
    font-weight: 600; /* Plus Jakarta Sans SemiBold */
    color: var(--color-accent); /* Luxury Gold */
    letter-spacing: 12px;
    text-transform: uppercase;
    text-indent: 12px; /* Perfect center offset */
    opacity: 0;
    animation: fadeInWelcome 1.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 1.8s;
}

@keyframes fadeInWelcome {
    0% { opacity: 0; transform: translateY(10px); }
    100% { opacity: 0.9; transform: translateY(0); }
}

/* --- PROMOTIONAL ANNOUNCEMENT TICKER BAR --- */
.announcement-bar {
    width: 100%;
    height: 42px;
    background-color: #1E3A34; /* Dark deep-green matching Lipley brand */
    color: #ffffff;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    border-top: 1px solid rgba(212, 175, 55, 0.35);
    border-bottom: 1px solid rgba(212, 175, 55, 0.35);
    box-sizing: border-box;
    user-select: none;
    flex-shrink: 0;
}

.ticker-track {
    display: flex;
    width: max-content;
    animation: marqueeScroll 25s linear infinite;
    will-change: transform;
}

.announcement-bar:hover .ticker-track {
    animation-play-state: paused;
}

.ticker-content {
    display: flex;
    align-items: center;
    white-space: nowrap;
    flex-shrink: 0;
}

.ticker-content span {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: #ffffff;
    line-height: 1;
    text-transform: uppercase;
}

@keyframes marqueeScroll {
    0% {
        transform: translate3d(0, 0, 0);
    }
    100% {
        transform: translate3d(-50%, 0, 0);
    }
}

/* --- GLASSMORPHISM HEADER --- */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    transition: var(--transition-premium);
    border-bottom: 1px solid transparent;
    background-color: rgba(248, 246, 241, 0.92); /* Locked Off White bg */
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    color: var(--color-primary); /* Locked Dark Green text */
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 90px;
    transition: var(--transition-quick);
}

/* Logo brand styles */
.logo-link {
    display: flex;
    align-items: center;
    gap: 14px; /* 12-16px spacing between the icon and the wordmark */
    text-decoration: none;
    color: inherit;
    z-index: 1010;
}

.header-logo-icon {
    height: 75px; /* 70% larger */
    width: auto;
    object-fit: contain;
    transition: var(--transition-quick);
}

.logo-link:hover .header-logo-icon {
    transform: scale(1.03);
    filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.35));
}

.header-logo-wordmark {
    height: 77px; /* 70% larger */
    width: auto;
    object-fit: contain;
    transition: var(--transition-quick);
}

.logo-link:hover .header-logo-wordmark {
    transform: scale(1.01);
    filter: drop-shadow(0 0 8px rgba(212, 175, 55, 0.25));
}

/* Navigation Links */
.desktop-nav {
    display: flex;
    gap: 40px;
}

.nav-link {
    font-size: 13px;
    font-weight: 500; /* Medium */
    text-transform: uppercase;
    letter-spacing: 0.15em;
    text-decoration: none;
    color: inherit;
    position: relative;
    padding: 8px 0;
    opacity: 0.75;
    transition: var(--transition-quick);
}

.nav-link:hover,
.nav-link.active {
    opacity: 1;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: var(--color-accent);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* Action Icons */
.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header-action-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    outline: none;
    color: inherit;
    opacity: 0.8;
    transition: var(--transition-quick);
    display: flex;
    align-items: center;
}

.header-action-btn:hover {
    opacity: 1;
    color: var(--color-accent);
    transform: translateY(-2px);
}

.action-icon {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

/* Mobile Menu Toggle button */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 16px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1010;
    padding: 0;
}

.bar {
    width: 100%;
    height: 1.5px;
    background-color: currentColor;
    transition: var(--transition-quick);
}

/* Scroll variations for Header */
.main-header.scrolled {
    height: auto;
    border-bottom: 1px solid rgba(212, 175, 55, 0.15);
    box-shadow: 0 4px 20px rgba(30, 58, 52, 0.05); /* Scroll shadow */
}

.main-header.scrolled .header-container {
    height: 75px;
}

/* --- MOBILE DRAWER --- */
.mobile-drawer {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 100%;
    height: 100vh;
    background-color: var(--color-primary);
    color: var(--text-light);
    z-index: 990;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 100px 40px;
    transition: var(--transition-premium);
}

.mobile-drawer.open {
    right: 0;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    margin-bottom: 60px;
}

.mobile-nav-link {
    font-size: 20px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    text-decoration: none;
    color: var(--text-light);
    transition: var(--transition-quick);
}

.mobile-nav-link:hover {
    color: var(--color-accent);
}

.mobile-drawer-socials {
    display: flex;
    gap: 30px;
}

.drawer-social-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-light);
    text-decoration: none;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: var(--transition-quick);
}

.drawer-social-btn:hover {
    color: var(--color-accent);
}

.social-icon {
    width: 18px;
    height: 18px;
}

/* Active Hamburger menu bar states */
.menu-toggle.open .bar-top {
    transform: translateY(7px) rotate(45deg);
}

.menu-toggle.open .bar-mid {
    opacity: 0;
}

.menu-toggle.open .bar-bot {
    transform: translateY(-7px) rotate(-45deg);
}

/* --- HERO SECTION --- */
.hero-section {
    width: 100%;
    height: 100vh;
    min-height: 550px;
    max-height: 850px;
    background-color: #F8F3EA;
    position: relative;
    overflow: hidden;
    margin-top: 132px; /* Align precisely below announcement bar + header */
    display: flex;
    align-items: center;
}

.hero-slides {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

/* --- KERALA ONAM CAMPAIGN BANNER SLIDE --- */
.hero-slide.independence-slide {
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    background-color: #F8F3EA !important;
    cursor: pointer;
    transition: opacity 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* --- ONAM HERO CTA BUTTON --- */
.hero-onam-cta-container {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.btn-hero-onam-offer {
    background-color: #123C32;
    color: #FFFFFF;
    border: 1.5px solid #C9A227;
    padding: 14px 38px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    border-radius: 30px;
    box-shadow: 0 8px 24px rgba(18, 60, 50, 0.3);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
}

.btn-hero-onam-offer:hover {
    background-color: #1A4F43;
    border-color: #E2BC43;
    box-shadow: 0 0 24px rgba(201, 162, 39, 0.5);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .hero-slide.independence-slide {
        background-size: cover !important;
        background-position: center center !important;
        background-color: #F8F3EA !important;
    }
}

.hero-slides-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(10, 28, 24, 0.92) 35%, rgba(10, 28, 24, 0.4) 65%, rgba(10, 28, 24, 0.15) 100%);
    z-index: 2;
    pointer-events: none;
}

.hero-overlay-container {
    position: relative;
    z-index: 3;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
}

.hero-content {
    max-width: 40%;
    position: relative;
    text-align: left;
}

.hero-brand {
    font-size: clamp(10px, 1.2vw, 15px);
    font-weight: 700;
    letter-spacing: 0.35em;
    color: var(--color-accent);
    text-transform: uppercase;
    display: block;
    margin-bottom: clamp(6px, 1.2vw, 20px);
}

.hero-title-premium {
    font-size: clamp(16px, 3.8vw, 64px);
    font-weight: 600;
    line-height: 1.15;
    color: #ffffff;
    margin-bottom: clamp(8px, 1.5vw, 24px);
}

.hero-subtitle-premium {
    font-size: clamp(9px, 1.5vw, 22px);
    font-weight: 400;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: clamp(12px, 2.5vw, 40px);
    line-height: 1.4;
}

.hero-actions-premium {
    display: flex;
}

.hero-actions-premium .btn {
    padding: clamp(6px, 1vw, 15px) clamp(12px, 2vw, 32px);
    font-size: clamp(8px, 0.9vw, 12px);
}

/* Slider Nav Controls */
.hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #ffffff;
    width: clamp(24px, 3vw, 48px);
    height: clamp(24px, 3vw, 48px);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 4;
    transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
}

.hero-arrow:hover {
    background-color: var(--color-accent);
    border-color: var(--color-accent);
    color: var(--color-primary);
    transform: translateY(-50%) scale(1.05);
}

.prev-arrow {
    left: clamp(15px, 2.5vw, 40px);
}

.next-arrow {
    right: clamp(15px, 2.5vw, 40px);
}

.hero-arrow svg {
    width: clamp(12px, 1.5vw, 24px);
    height: clamp(12px, 1.5vw, 24px);
}

.hero-dots {
    position: absolute;
    bottom: clamp(10px, 2vw, 35px);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: clamp(6px, 1vw, 12px);
    z-index: 4;
}

.hero-dot {
    width: clamp(5px, 0.6vw, 8px);
    height: clamp(5px, 0.6vw, 8px);
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.hero-dot.active {
    background-color: var(--color-accent);
    transform: scale(1.25);
}

/* BUTTON DESIGN SYSTEM */
.btn {
    font-family: var(--font-sans);
    font-size: 12px;
    font-weight: 600; /* SemiBold */
    letter-spacing: 0.15em;
    text-transform: uppercase;
    text-decoration: none;
    padding: 15px 32px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    white-space: nowrap; /* Prevent button text wrapping */
    text-align: center;
    background-color: var(--color-primary); /* Solid Dark Green background */
    color: var(--color-secondary); /* Off White Text */
    border: 1px solid var(--color-accent); /* Gold Border */
    box-shadow: 0 4px 15px rgba(30, 58, 52, 0.1);
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                background-color 0.3s ease,
                color 0.3s ease,
                box-shadow 0.3s ease,
                border-color 0.3s ease;
    z-index: 1;
    will-change: transform;
}

.btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background-color: rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.4s ease-out, height 0.4s ease-out;
    z-index: -1;
    pointer-events: none;
    will-change: width, height;
}

.btn:hover {
    transform: translateY(-3px);
    background-color: transparent; /* Transparent on hover */
    color: var(--color-primary); /* Dark Green Text on hover */
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.35); /* Soft gold glow */
    border-color: var(--color-accent);
}

.btn:hover::after {
    width: 380px;
    height: 380px;
}

.btn:active {
    transform: translateY(1px) scale(0.97); /* Press animation */
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-secondary);
    border: 1px solid var(--color-accent);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--color-primary);
}

.btn-secondary {
    background-color: var(--color-primary);
    color: var(--color-secondary);
    border: 1px solid var(--color-accent);
}

.btn-secondary:hover {
    background-color: transparent;
    color: var(--color-primary);
}

/* Style for buttons in dark sections */
.bg-dark .btn {
    background-color: var(--color-secondary); /* Solid Off-White Background */
    color: var(--color-primary); /* Dark Green Text */
    border-color: var(--color-accent);
}

.bg-dark .btn::after {
    background-color: rgba(30, 58, 52, 0.08); /* Dark ripple for light buttons */
}

.bg-dark .btn:hover {
    background-color: transparent;
    color: var(--text-light); /* Off-white text on hover */
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.25);
}

.btn-small {
    padding: 10px 22px;
    font-size: 11px;
}

.btn-full {
    width: 100%;
}

.btn-icon {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.btn:hover .btn-icon {
    transform: translateX(4px);
}

/* Hero Visual & Float animation */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
}

.floating-wrapper {
    width: 100%;
    max-width: 400px;
    animation: float 6s ease-in-out infinite;
}

.hero-image {
    width: 100%;
    max-height: 480px;
    object-fit: contain;
    filter: drop-shadow(0 15px 35px rgba(30, 58, 52, 0.12));
    transition: var(--transition-premium);
}

@keyframes float {
    0% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-12px) rotate(0.5deg); }
    100% { transform: translateY(0) rotate(0deg); }
}

/* --- FEATURES SECTION --- */
.features-section {
    padding: var(--section-padding);
    background-color: var(--color-primary);
    color: var(--text-light);
    position: relative;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px 40px;
}

.feature-card {
    padding: 45px 35px; /* More padding */
    border-radius: 8px; /* Rounded corners */
    background-color: var(--color-secondary); /* Off White background */
    border: 1px solid rgba(212, 175, 55, 0.3); /* Thin gold border */
    box-shadow: var(--shadow-soft); /* Soft shadow */
    transition: var(--transition-premium);
    color: var(--text-dark); /* Ensure dark green text contrast */
}

.feature-card:hover {
    transform: translateY(-8px);
    background-color: var(--color-secondary);
    border-color: var(--color-accent);
    box-shadow: var(--shadow-luxury);
}

.feature-icon-box {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 1px solid var(--color-accent);
    color: var(--color-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.feature-icon {
    width: 22px;
    height: 22px;
}

.feature-title {
    font-size: 18px;
    font-weight: 600; /* SemiBold */
    margin-bottom: 12px;
    letter-spacing: 0.02em;
}

.feature-desc {
    font-size: 14px;
    opacity: 0.75;
}

/* --- PRODUCT SECTION --- */
.products-section {
    padding: var(--section-padding);
    background-color: var(--color-secondary);
    color: var(--text-dark);
}

.products-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

@media (min-width: 768px) and (max-width: 991px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (min-width: 992px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 32px;
    }
}

/* ==========================================================================
   FEATURED PRODUCTS CARD ZERO-GREEN-STRIP OVERRIDES
   ========================================================================== */
#featured-product-section .product-card,
.products-grid .product-card,
.product-card.featured-product {
    background: #F8F3EA !important;
    background-color: #F8F3EA !important;
    border: 1.5px solid #C9A227 !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    box-shadow: 0 10px 30px rgba(30, 58, 52, 0.04) !important;
    position: relative !important;
    margin: 0 !important;
    padding: 0 !important;
}

#featured-product-section .product-card::before,
#featured-product-section .product-card::after,
#featured-product-section .product-visual::before,
#featured-product-section .product-visual::after,
.products-grid .product-card::before,
.products-grid .product-card::after,
.products-grid .product-visual::before,
.products-grid .product-visual::after,
.product-card::before,
.product-card::after,
.product-visual::before,
.product-visual::after {
    display: none !important;
    content: none !important;
    background: none !important;
    background-color: transparent !important;
    border: none !important;
    height: 0 !important;
    width: 0 !important;
    opacity: 0 !important;
}

#featured-product-section .product-visual,
.products-grid .product-visual,
.product-card .product-visual {
    width: 100% !important;
    max-width: 100% !important;
    position: relative !important;
    background: #F8F3EA !important;
    background-color: #F8F3EA !important;
    border: none !important;
    border-top: none !important;
    border-bottom: 1px solid rgba(201, 162, 39, 0.2) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
    margin: 0 !important;
    padding: 24px !important;
    box-sizing: border-box !important;
}

/* Ensure intentional product badges float neatly in top-left without stretching */
#featured-product-section .product-badge,
.products-grid .product-badge,
.product-card .product-badge {
    position: absolute !important;
    top: 14px !important;
    left: 14px !important;
    right: auto !important;
    bottom: auto !important;
    width: auto !important;
    max-width: max-content !important;
    height: auto !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background-color: #123C32 !important;
    color: #C9A227 !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.08em !important;
    padding: 5px 13px !important;
    border-radius: 20px !important;
    border: 1px solid rgba(201, 162, 39, 0.5) !important;
    z-index: 10 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
    margin: 0 !important;
}

#featured-product-section .product-content,
.products-grid .product-content,
.product-card .product-content {
    background-color: #F8F3EA !important;
    background: #F8F3EA !important;
}

/* Floating animation and luxury styling for the signature featured product card */
.product-card.featured-product {
    box-shadow: var(--shadow-soft);
    will-change: transform, box-shadow;
}

.product-card.featured-product .product-visual {
    animation: floatProduct 6s ease-in-out infinite;
    will-change: transform;
}

.product-card.featured-product:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-luxury), var(--shadow-glow);
    border-color: #C9A227;
}

@keyframes floatProduct {
    0% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-8px) rotate(0.8deg);
    }
    100% {
        transform: translateY(0) rotate(0deg);
    }
}

.product-visual {
    width: 100%;
    aspect-ratio: 1/1;
    overflow: hidden;
    position: relative;
    background: #F8F3EA !important; /* Cream background */
    background-color: #F8F3EA !important;
    border-bottom: 1px solid rgba(201, 162, 39, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    margin: 0;
}

.product-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background-color: var(--color-primary);
    border: 1px solid var(--color-accent);
    color: var(--color-secondary);
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    padding: 6px 14px;
    border-radius: 2px;
    z-index: 10;
}

.product-main-img {
    max-width: 95%;
    max-height: 95%;
    object-fit: contain;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

.product-type {
    font-size: 11px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-accent);
    font-weight: 600;
}

.product-price {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-primary);
}

.product-variant-details {
    margin-bottom: 18px;
    font-size: 13px;
    display: flex;
    gap: 8px;
    border-bottom: 1px solid rgba(30, 58, 52, 0.08);
    padding-bottom: 12px;
}

.variant-label {
    font-weight: 600;
    color: var(--color-primary);
}

.variant-value {
    opacity: 0.85;
}

.product-content {
    padding: 36px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-name {
    font-size: 22px;
    font-weight: 600; /* SemiBold */
    color: var(--color-primary);
    margin-bottom: 12px;
}

.product-desc {
    font-size: 14px;
    opacity: 0.8;
    margin-bottom: 24px;
    flex-grow: 1;
}

.product-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 24px;
}

.marketplace-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    border-top: 1px solid rgba(30, 58, 52, 0.08);
    padding-top: 20px;
}

.marketplace-link {
    font-size: 11px;
    font-weight: 500;
    color: var(--color-primary);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 0;
    transition: var(--transition-quick);
    border-bottom: 1px solid transparent;
}

.marketplace-link:hover {
    color: var(--color-accent);
    border-bottom-color: var(--color-accent);
}

.arrow-icon {
    width: 14px;
    height: 14px;
    transition: transform 0.25s ease;
}

.marketplace-link:hover .arrow-icon {
    transform: translateX(4px);
}

/* --- BENEFITS SECTION --- */
.benefits-section {
    padding: var(--section-padding);
    background-color: var(--color-primary);
    color: var(--text-light);
}

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

.benefit-item {
    padding: 30px;
    background-color: rgba(248, 246, 241, 0.02);
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    transition: var(--transition-premium);
}

.benefit-item:hover {
    background-color: rgba(248, 246, 241, 0.04);
    border-top-color: var(--color-accent);
    transform: translateY(-4px);
}

.benefit-num {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-accent);
    display: block;
    margin-bottom: 16px;
    letter-spacing: 0.1em;
}

.benefit-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
}

.benefit-text {
    font-size: 14px;
    opacity: 0.75;
}

/* --- ABOUT SECTION --- */
.about-section {
    padding: var(--section-padding);
    background-color: var(--color-secondary);
}

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

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

.about-text {
    font-size: 16px;
    opacity: 0.85;
    margin-bottom: 28px;
    line-height: 1.85;
}

.about-quote {
    font-size: 19px;
    font-style: italic;
    color: var(--color-primary);
    border-left: 2px solid var(--color-accent);
    padding-left: 24px;
    margin-top: 24px;
    line-height: 1.65;
}

.about-visual {
    display: flex;
    justify-content: center;
}

/* About Section Visual Monogram styling */
.about-logo-wrapper {
    width: 100%;
    max-width: 400px;
    aspect-ratio: 1/1;
    background-color: var(--color-secondary);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 50%;
    box-shadow: var(--shadow-soft);
    position: relative;
    padding: 24px;
}

.about-logo-inner {
    width: 100%;
    height: 100%;
    border: 1px dashed rgba(212, 175, 55, 0.4);
    border-radius: 50%;
    background-color: var(--color-primary);
}

.about-logo-icon {
    width: 75%;
    height: auto;
    object-fit: contain;
    animation: float 6s ease-in-out infinite;
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.2));
}

/* --- CONTACT SECTION --- */
.contact-section {
    padding: var(--section-padding);
    background-color: var(--color-secondary);
    position: relative;
}

.contact-modern-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 120px;
    align-items: start;
    max-width: 1100px;
    margin: 0 auto;
}

.contact-modern-info {
    text-align: left;
}

.section-title-modern {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 600;
    line-height: 1.25;
    color: var(--color-primary);
    margin-top: 10px;
    margin-bottom: 20px;
}

.contact-intro-text {
    font-size: 15px;
    line-height: 1.6;
    color: var(--color-primary);
    opacity: 0.8;
    margin-bottom: 40px;
}

.contact-details-list {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.contact-detail-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    text-decoration: none;
    color: inherit;
    transition: transform 0.25s ease;
}

.contact-detail-item.interactive-item:hover {
    transform: translateX(4px);
}

.contact-detail-icon-wrapper {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: rgba(30, 58, 52, 0.04);
    border: 1px solid rgba(30, 58, 52, 0.06);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.contact-detail-item.interactive-item:hover .contact-detail-icon-wrapper {
    background-color: var(--color-accent);
    color: var(--color-primary);
    border-color: var(--color-accent);
}

.contact-mini-icon {
    width: 16px;
    height: 16px;
}

.contact-detail-text h4 {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-accent);
    margin-bottom: 4px;
}

.contact-detail-text p {
    font-size: 14.5px;
    line-height: 1.5;
    color: var(--color-primary);
    opacity: 0.85;
    margin: 0;
}

.contact-modern-form-container {
    background-color: #ffffff;
    border: 1px solid rgba(30, 58, 52, 0.08);
    border-radius: 8px;
    padding: 40px;
    box-shadow: var(--shadow-soft);
}

.form-title-modern {
    font-size: 20px;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 30px;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    border-bottom: 1px solid rgba(30, 58, 52, 0.06);
    padding-bottom: 12px;
}

.form-group-modern {
    margin-bottom: 22px;
    text-align: left;
}

.form-label-modern {
    font-size: 11.5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-primary);
    opacity: 0.8;
    display: block;
    margin-bottom: 8px;
}

.form-input-modern, .form-input {
    width: 100%;
    padding: 12px 16px;
    background-color: #ffffff;
    border: 1px solid rgba(30, 58, 52, 0.15);
    border-radius: 4px;
    font-family: var(--font-sans);
    font-size: 14px;
    color: var(--color-primary);
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
    box-sizing: border-box;
    -webkit-appearance: none;
    appearance: none;
}

.form-input-modern:focus, .form-input:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

textarea.form-input-modern, textarea.form-input {
    resize: vertical;
    font-family: var(--font-sans);
}

/* --- FOOTER --- */
.main-footer {
    background-color: var(--color-primary);
    color: var(--text-light);
    padding: 100px 0 60px 0;
    font-size: 14px;
}

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

.footer-brand-section {
    max-width: 360px;
}

.footer-logo {
    font-size: 28px;
    display: block;
    margin-bottom: 20px;
    color: var(--text-light);
}

.footer-brand-desc {
    opacity: 0.75;
}

.footer-section-title {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 24px;
}

.footer-links {
    list-style: none;
}

.footer-link {
    color: var(--text-light);
    text-decoration: none;
    opacity: 0.75;
    transition: var(--transition-quick);
    display: inline-block;
    padding: 6px 0;
}

.footer-link:hover {
    color: var(--color-accent);
    transform: translateX(4px);
}

.footer-contact-list {
    list-style: none;
}

.footer-contact-list li {
    margin-bottom: 12px;
}

.footer-contact-link {
    color: var(--text-light);
    text-decoration: none;
    opacity: 0.75;
    transition: var(--transition-quick);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.footer-contact-link:hover {
    color: var(--color-accent);
    opacity: 1;
}

.f-icon {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.footer-divider {
    height: 1px;
    width: 100%;
    background-color: var(--color-accent);
    opacity: 0.2;
    margin-bottom: 30px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    opacity: 0.65;
    font-size: 12px;
}

.legal-links {
    display: flex;
    gap: 20px;
}

.legal-link {
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition-quick);
}

.legal-link:hover {
    color: var(--color-accent);
}

/* --- DETAIL DRAWER MODAL --- */
.detail-drawer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    max-width: 100%;
    height: 100vh;
    z-index: 2000;
    visibility: hidden;
    transition: visibility 0.5s;
}

.detail-drawer.open {
    visibility: visible;
}

.drawer-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(30, 58, 52, 0.4);
    backdrop-filter: blur(5px);
    opacity: 0;
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.detail-drawer.open .drawer-overlay {
    opacity: 1;
}

.drawer-panel {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 500px;
    height: 100%;
    background-color: var(--color-secondary);
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.15);
    transform: translateX(100%);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    padding: 80px 40px 40px 40px;
    overflow-y: auto;
}

.detail-drawer.open .drawer-panel {
    transform: translateX(0);
}

.drawer-close-btn {
    position: absolute;
    top: 24px;
    left: 40px;
    background: none;
    border: none;
    color: var(--color-primary);
    cursor: pointer;
    padding: 5px;
    transition: var(--transition-quick);
    opacity: 0.7;
}

.drawer-close-btn:hover {
    opacity: 1;
    transform: rotate(90deg) scale(1.1);
    color: var(--color-accent);
}

.close-icon {
    width: 24px;
    height: 24px;
}

/* Dynamic details content style */
.drawer-product-visual {
    width: 100%;
    aspect-ratio: 16/9;
    margin-bottom: 24px;
    background: radial-gradient(circle at center, #ffffff 0%, var(--color-secondary) 100%);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    overflow: hidden;
}

.drawer-product-img {
    max-width: 95%;
    max-height: 95%;
    object-fit: contain;
}

.drawer-product-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(212, 175, 55, 0.25);
    padding-bottom: 12px;
    margin-bottom: 16px;
}

.drawer-product-type {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-accent);
}

.drawer-product-price {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-primary);
}

.drawer-product-title {
    font-size: 24px;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 6px;
    line-height: 1.25;
}

.drawer-product-tagline {
    font-size: 12px;
    font-style: italic;
    color: var(--color-primary);
    opacity: 0.8;
    margin-bottom: 24px;
    letter-spacing: 0.02em;
}

.drawer-section-heading {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin: 32px 0 12px 0;
    border-left: 2px solid var(--color-accent);
    padding-left: 8px;
}

.drawer-desc {
    font-size: 14px;
    opacity: 0.9;
    line-height: 1.65;
}

.drawer-bullet-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 24px;
}

.drawer-bullet-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 10px;
    font-size: 13.5px;
    line-height: 1.5;
    opacity: 0.9;
    color: var(--text-dark);
}

.drawer-bullet-list li::before {
    content: "•";
    position: absolute;
    left: 4px;
    color: var(--color-accent);
    font-size: 16px;
    line-height: 1.1;
}

.drawer-bullet-list.why-list li::before {
    content: "★";
    font-size: 12px;
    line-height: 1.3;
}

.drawer-ingredients-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}

.ingredient-pill {
    background-color: #ffffff;
    border: 1px solid rgba(212, 175, 55, 0.35);
    color: var(--color-primary);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 10.5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: var(--shadow-soft);
    transition: var(--transition-quick);
    cursor: default;
}

.ingredient-pill:hover {
    border-color: var(--color-accent);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.drawer-use-instructions {
    background-color: rgba(30, 58, 52, 0.03);
    border-left: 2px solid var(--color-accent);
    padding: 18px 20px;
    border-radius: 4px;
    margin-bottom: 32px;
}

.drawer-use-instructions p {
    font-size: 13.5px;
    line-height: 1.6;
    opacity: 0.9;
    color: var(--text-dark);
    margin: 0;
}

.drawer-actions {
    margin-top: auto;
    padding-top: 30px;
    border-top: 1px solid rgba(30, 58, 52, 0.08);
}

/* --- SCROLL REVEAL SYSTEM --- */
.scroll-reveal {
    will-change: transform, opacity, filter;
    transition: transform 1.0s cubic-bezier(0.16, 1, 0.3, 1),
                opacity 1.0s cubic-bezier(0.16, 1, 0.3, 1),
                filter 1.0s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Modifiers for initial offscreen positions */
.scroll-reveal.reveal-fade-up {
    opacity: 0;
    transform: translateY(40px);
}

.scroll-reveal.reveal-fade-left {
    opacity: 0;
    transform: translateX(50px);
}

.scroll-reveal.reveal-fade-right {
    opacity: 0;
    transform: translateX(-50px);
}

.scroll-reveal.reveal-scale {
    opacity: 0;
    transform: scale(0.94);
}

.scroll-reveal.reveal-blur {
    opacity: 0;
    transform: scale(0.97);
    filter: blur(8px);
}

/* Active transition triggers */
.scroll-reveal.revealed.reveal-fade-up,
.scroll-reveal.revealed.reveal-fade-left,
.scroll-reveal.revealed.reveal-fade-right {
    opacity: 1;
    transform: translate(0);
}

.scroll-reveal.revealed.reveal-scale {
    opacity: 1;
    transform: scale(1);
}

.scroll-reveal.revealed.reveal-blur {
    opacity: 1;
    transform: scale(1);
    filter: blur(0);
}

/* Delay Helpers */
.delay-1 { transition-delay: 0.15s; }
.delay-2 { transition-delay: 0.3s; }
.delay-3 { transition-delay: 0.45s; }


/* ==========================================================================
   MEDIA QUERIES (MOBILE FIRST RESPONSIVENESS)
   ========================================================================== */

/* Tablet Layout (up to 1024px) */
@media screen and (max-width: 1024px) {
    :root {
        --section-padding: 100px 20px;
    }
    
    .hero-container {
        gap: 40px;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .about-grid {
        gap: 40px;
    }
    
    .contact-modern-grid, .contact-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .footer-grid {
        grid-template-columns: 1.2fr 1fr 1fr;
        gap: 40px;
    }
}

/* Mobile Portrait / Landscape (up to 768px) */
@media screen and (max-width: 768px) {
    :root {
        --section-padding: 70px 16px;
    }
    
    /* Header & Navigation changes */
    .main-header {
        height: auto !important;
        padding: 0 !important;
    }
    
    .main-header.scrolled {
        height: auto !important;
        padding: 0 !important;
    }
    
    .header-container {
        flex-wrap: wrap;
        justify-content: space-between;
        gap: 8px;
        height: 75px !important;
        padding: 8px 16px !important;
    }

    .main-header.scrolled .header-container {
        height: 65px !important;
    }
    
    .logo-link {
        order: 1;
    }
    
    .header-logo-icon {
        height: 52px; /* 50% larger on mobile */
    }
    
    .header-logo-wordmark {
        height: 54px; /* 50% larger on mobile */
    }
    
    .header-actions {
        display: flex !important;
        order: 2;
        gap: 15px;
    }
    
    .desktop-nav {
        display: none !important;
    }
    
    .menu-toggle {
        display: flex !important;
    }
    
    /* Hero Changes */
    .page-view,
    #view-home.page-view {
        padding-top: 0 !important;
        margin-top: 0 !important;
    }
    .hero-section {
        margin-top: 0 !important;
        position: relative !important;
        aspect-ratio: auto;
        min-height: 320px;
    }
    .hero-content {
        max-width: 85%;
        padding: 0 10px;
    }
    .hero-brand {
        font-size: 11px;
        margin-bottom: 8px;
    }
    .hero-title-premium {
        font-size: 24px;
        margin-bottom: 12px;
    }
    .hero-subtitle-premium {
        font-size: 13px;
        margin-bottom: 20px;
    }
    .hero-actions-premium .btn {
        padding: 10px 20px;
        font-size: 11px;
    }
    
    /* Grid Adjustments */
    .features-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .product-content {
        padding: 24px;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .about-content {
        align-items: center;
    }
    
    .about-quote {
        border-left: none;
        border-top: 1px solid var(--color-accent);
        border-bottom: 1px solid var(--color-accent);
        padding: 15px 0;
        margin-top: 20px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .footer-brand-section {
        max-width: 100%;
    }
    
    .footer-contact-link {
        justify-content: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .drawer-panel {
        padding: 70px 24px 24px 24px;
    }
    
    .drawer-close-btn {
        left: 24px;
    }
}

/* ==========================================================================
   LIPLEY PREMIUM E-COMMERCE ENGINE - STYLING INTERFACES
   ========================================================================== */

/* SPA Dynamic View Transitions */
.page-view {
    display: none;
    padding-top: 132px; /* Clear fixed header + announcement bar */
    box-sizing: border-box;
}

#view-home.page-view {
    padding-top: 0;
}

.page-view.active {
    display: block;
    animation: fadeInView 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

@keyframes fadeInView {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* E-Commerce Headers Count Badges */
.wishlist-toggle-btn, .cart-toggle-btn {
    position: relative;
}

.wishlist-count-badge, .cart-count-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background-color: var(--color-accent);
    color: var(--color-primary);
    font-size: 8.5px;
    font-weight: 700;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
    transition: transform 0.2s ease;
}

.wishlist-count-badge {
    background-color: var(--color-primary);
    color: var(--color-accent);
    border: 1px solid var(--color-accent);
}

/* Trust Badges Grid */
.trust-badges-section {
    padding: var(--section-padding);
    border-top: 1px solid rgba(212, 175, 55, 0.12);
    border-bottom: 1px solid rgba(212, 175, 55, 0.12);
}

.trust-badges-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 40px;
    text-align: center;
}

.badge-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.badge-icon-box {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: rgba(212, 175, 55, 0.08);
    color: var(--color-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.badge-item:hover .badge-icon-box {
    transform: scale(1.08);
    background-color: rgba(212, 175, 55, 0.12);
}

.badge-icon {
    width: 22px;
    height: 22px;
}

.badge-item h5 {
    font-family: var(--font-sans);
    font-size: 13px;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 4px;
}

.badge-item p {
    font-size: 11px;
    opacity: 0.7;
    margin: 0;
    line-height: 1.3;
}

/* Verified Testimonials Grid */
.reviews-section {
    padding: 80px 0;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1100px;
    margin: 40px auto 0 auto;
}

.review-card {
    background: #ffffff;
    border: 1px solid rgba(212, 175, 55, 0.12);
    padding: 20px;
    border-radius: 6px;
    box-shadow: var(--shadow-soft);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.review-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
    border-color: rgba(212, 175, 55, 0.25);
}

.review-rating {
    color: var(--color-accent);
    font-size: 14px;
    margin-bottom: 12px;
    letter-spacing: 2px;
}

.review-author {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.verified-tag {
    font-size: 9.5px;
    color: #4CAF50;
    font-weight: 500;
    letter-spacing: 0.02em;
}

.review-text {
    font-size: 13px;
    line-height: 1.6;
    opacity: 0.85;
    margin: 0;
}

/* Before/After Review Images comparison */
.review-images-comparison {
    display: flex;
    gap: 15px;
    margin: 15px 0;
}

.review-img-box {
    position: relative;
    flex: 1;
    text-align: center;
    border: 1px solid rgba(30, 58, 52, 0.08);
    border-radius: 6px;
    padding: 6px;
    background: #ffffff;
    overflow: hidden;
    transition: transform 0.25s ease;
}

.review-img-box:hover {
    transform: scale(1.03);
}

.review-img-box span {
    font-size: 9px;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--color-primary);
    background: rgba(212, 175, 55, 0.12);
    border: 1px solid rgba(212, 175, 55, 0.25);
    padding: 3px 8px;
    border-radius: 12px;
    display: inline-block;
    margin-bottom: 6px;
    letter-spacing: 0.05em;
}

.review-img-box img {
    width: 100%;
    max-height: 140px;
    object-fit: cover;
    border-radius: 4px;
}

/* Accordion FAQs */
.faq-section {
    padding: 80px 0;
}

.faq-accordion {
    max-width: 800px;
    margin: 40px auto 0 auto;
    background-color: #ffffff;
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: 6px;
    padding: 10px 25px;
}

.faq-item {
    border-bottom: 1px solid rgba(30, 58, 52, 0.08);
}

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

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    font-family: var(--font-sans);
    font-size: 15px;
    font-weight: 600;
    color: var(--color-primary);
    cursor: pointer;
    transition: color 0.2s ease;
}

.faq-question:hover {
    color: var(--color-accent);
}

.faq-icon {
    font-size: 18px;
    font-weight: 400;
    color: var(--color-accent);
    margin-left: 15px;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

.faq-answer p {
    font-size: 13.5px;
    line-height: 1.6;
    opacity: 0.8;
    margin: 0;
}

/* Newsletter Community Block */
.newsletter-section {
    padding: 80px 0;
    text-align: center;
    background-color: var(--color-primary);
}

.newsletter-container {
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-title {
    font-family: var(--font-serif);
    font-size: 30px;
    color: var(--bg-light);
    margin-bottom: 10px;
    letter-spacing: 0.02em;
}

.newsletter-desc {
    font-size: 13.5px;
    opacity: 0.8;
    color: var(--bg-light);
    margin-bottom: 28px;
}

.newsletter-form {
    display: flex;
    gap: 12px;
}

.newsletter-input {
    flex: 1;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(248, 246, 241, 0.2);
    color: var(--bg-light);
    padding: 14px 18px;
    border-radius: 4px;
    font-family: var(--font-sans);
    font-size: 13.5px;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.newsletter-input:focus {
    outline: none;
    border-color: var(--color-accent);
    background: rgba(255, 255, 255, 0.06);
}

.newsletter-btn {
    padding: 0 30px;
    letter-spacing: 0.1em;
    font-size: 12px;
}

/* Instagram Visual Feed */
.instagram-feed-section {
    padding: 80px 0;
}

.instagram-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 40px auto 0 auto;
}

.instagram-item {
    position: relative;
    aspect-ratio: 1/1;
    overflow: hidden;
    border-radius: 6px;
    border: 1px solid rgba(212, 175, 55, 0.15);
}

.instagram-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.instagram-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(30, 58, 52, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.instagram-icon {
    font-family: var(--font-sans);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--bg-light);
    border: 1px solid var(--bg-light);
    padding: 8px 16px;
    border-radius: 4px;
}

.instagram-item:hover .instagram-img {
    transform: scale(1.05);
}

.instagram-item:hover .instagram-overlay {
    opacity: 1;
}

/* E-Commerce Product Details Layout (Dedicated Page) */
.breadcrumbs {
    font-size: 12px;
    margin: 25px 0 35px 0;
    opacity: 0.75;
    letter-spacing: 0.02em;
}

.breadcrumb-link {
    color: var(--color-primary);
    font-weight: 500;
}

.breadcrumb-link:hover {
    color: var(--color-accent);
}

.breadcrumb-active {
    font-weight: 600;
    color: var(--color-primary);
}

.product-detail-layout {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 60px;
    margin-bottom: 80px;
}

.product-gallery-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

@media (min-width: 992px) {
    .product-gallery-container {
        position: sticky;
        top: 100px; /* Align below desktop header */
        height: fit-content;
    }
}

.main-gallery-visual {
    position: relative;
    aspect-ratio: 1/1;
    background: radial-gradient(circle at center, #ffffff 0%, var(--color-secondary) 100%);
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    overflow: hidden;
}

.gallery-display-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.5s ease, filter 0.5s ease;
}

.gallery-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background-color: var(--color-primary);
    color: var(--bg-light);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 9.5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border: 1px solid var(--color-accent);
}

.thumbnail-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.gallery-thumb {
    aspect-ratio: 1/1;
    background-color: var(--color-secondary);
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: 6px;
    cursor: pointer;
    overflow: hidden;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.gallery-thumb img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

.gallery-thumb.active {
    border-color: var(--color-accent);
    transform: scale(1.02);
    box-shadow: var(--shadow-soft);
}

.product-info-container {
    display: flex;
    flex-direction: column;
}

.p-header-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.p-type-tag {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-accent);
}

.p-stock-badge {
    font-size: 11.5px;
    font-weight: 600;
    color: #4CAF50;
}

.p-title-name {
    font-family: var(--font-serif);
    font-size: 32px;
    line-height: 1.25;
    color: var(--color-primary);
    margin-bottom: 6px;
}

.p-subtitle-tagline {
    font-size: 13.5px;
    font-style: italic;
    color: var(--color-primary);
    opacity: 0.8;
    margin-bottom: 20px;
}

.p-rating-price-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(30, 58, 52, 0.08);
    padding-bottom: 18px;
    margin-bottom: 20px;
}

.p-rating {
    display: flex;
    align-items: center;
    gap: 6px;
}

.p-rating .stars {
    color: var(--color-accent);
    font-size: 12px;
}

.p-rating .rating-val {
    font-weight: 700;
    color: var(--color-primary);
    font-size: 13px;
}

.p-rating .reviews-count {
    font-size: 11.5px;
    opacity: 0.6;
}

.p-price {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-primary);
}

.p-description-text {
    font-size: 14px;
    line-height: 1.65;
    opacity: 0.9;
    margin-bottom: 24px;
}

.p-variant-picker {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 28px;
}

.p-variant-label {
    font-weight: 600;
    font-size: 12.5px;
    opacity: 0.7;
}

.p-variant-value {
    background-color: var(--color-secondary);
    border: 1px solid var(--color-accent);
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 11.5px;
    font-weight: 600;
    color: var(--color-primary);
}

.p-purchase-block {
    display: flex;
    gap: 15px;
    margin-bottom: 18px;
}

.p-quantity-selector {
    display: flex;
    align-items: center;
    border: 1px solid rgba(30, 58, 52, 0.2);
    border-radius: 4px;
    height: 48px;
    overflow: hidden;
}

.qty-btn {
    background: none;
    border: none;
    width: 36px;
    height: 100%;
    font-size: 16px;
    color: var(--color-primary);
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.qty-btn:hover {
    background-color: rgba(30, 58, 52, 0.05);
}

.p-quantity-selector input {
    width: 34px;
    height: 100%;
    border: none;
    text-align: center;
    font-family: var(--font-sans);
    font-size: 13.5px;
    font-weight: 600;
    color: var(--color-primary);
}

.p-action-buttons {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.p-util-actions {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    border-bottom: 1px solid rgba(30, 58, 52, 0.08);
    padding-bottom: 20px;
}

.util-action-btn {
    background: none;
    border: none;
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-sans);
    font-size: 12.5px;
    font-weight: 600;
    color: var(--color-primary);
    opacity: 0.8;
    cursor: pointer;
    transition: opacity 0.2s ease, color 0.2s ease;
}

.util-action-btn:hover {
    opacity: 1;
    color: var(--color-accent);
}

.util-action-btn.active {
    color: var(--color-accent);
    opacity: 1;
}

.util-icon {
    width: 15px;
    height: 15px;
}

.delivery-checker-box {
    background-color: rgba(30, 58, 52, 0.02);
    border: 1px dashed rgba(212, 175, 55, 0.3);
    border-radius: 6px;
    padding: 16px 20px;
    margin-bottom: 30px;
}

.delivery-label {
    font-weight: 600;
    font-size: 12px;
    display: block;
    margin-bottom: 8px;
}

.delivery-input-group {
    display: flex;
    gap: 10px;
}

.delivery-input-group input {
    flex: 1;
    background-color: #ffffff;
    border: 1px solid rgba(30, 58, 52, 0.15);
    padding: 9px 12px;
    border-radius: 4px;
    font-family: var(--font-sans);
    font-size: 13px;
}

.delivery-input-group input:focus {
    outline: none;
    border-color: var(--color-accent);
}

.delivery-msg {
    margin-top: 8px;
    font-size: 12px;
    font-weight: 500;
}

.p-market-channels {
    margin-bottom: 35px;
}

.market-channels-title {
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--color-primary);
}

.market-channels-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.market-channels-grid .marketplace-link {
    background-color: #ffffff;
    border: 1px solid rgba(212, 175, 55, 0.2);
    color: var(--color-primary);
    padding: 10px;
    border-radius: 4px;
    text-align: center;
    font-size: 10.5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.market-channels-grid .marketplace-link:hover {
    border-color: var(--color-accent);
    transform: translateY(-1.5px);
}

.product-tabs-container {
    border-top: 1px solid rgba(30, 58, 52, 0.08);
    padding-top: 25px;
}

.tab-headers {
    display: flex;
    border-bottom: 1px solid rgba(30, 58, 52, 0.08);
    gap: 24px;
    margin-bottom: 20px;
}

.tab-header {
    background: none;
    border: none;
    padding-bottom: 10px;
    font-family: var(--font-sans);
    font-size: 12.5px;
    font-weight: 600;
    color: var(--color-primary);
    opacity: 0.65;
    cursor: pointer;
    position: relative;
    transition: opacity 0.2s ease;
}

.tab-header:hover {
    opacity: 0.9;
}

.tab-header.active {
    opacity: 1;
}

.tab-header.active::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--color-accent);
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
    animation: fadeInTab 0.3s ease forwards;
}

.tab-desc-text {
    font-size: 13px;
    line-height: 1.6;
    opacity: 0.9;
    margin: 0;
}

/* E-Commerce Checkout View Layout */
.checkout-layout {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 50px;
    margin: 40px auto 80px auto;
}

.checkout-form-column {
    display: flex;
    flex-direction: column;
}

.checkout-step-title {
    font-family: var(--font-serif);
    font-size: 20px;
    color: var(--color-primary);
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(30, 58, 52, 0.08);
    padding-bottom: 8px;
    letter-spacing: 0.02em;
}

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

.payment-methods-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.payment-method-card {
    background-color: #ffffff;
    border: 1px solid rgba(30, 58, 52, 0.12);
    border-radius: 4px;
    padding: 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    position: relative;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.payment-method-card input {
    position: absolute;
    opacity: 0;
}

.payment-method-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.pay-method-name {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--color-primary);
}

.pay-method-desc {
    font-size: 11px;
    opacity: 0.65;
}

.payment-method-card .checkmark {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 1px solid rgba(30, 58, 52, 0.2);
    position: relative;
}

.payment-method-card.active {
    border-color: var(--color-accent);
    box-shadow: var(--shadow-soft);
}

.payment-method-card.active .checkmark {
    border-color: var(--color-accent);
    background-color: var(--color-accent);
}

.payment-method-card.active .checkmark::after {
    content: "";
    position: absolute;
    width: 7px;
    height: 4.5px;
    border-left: 2.2px solid var(--color-primary);
    border-bottom: 2.2px solid var(--color-primary);
    transform: rotate(-45deg);
    top: 5px;
    left: 4.5px;
}

.summary-sticky-card {
    background-color: #ffffff;
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 6px;
    padding: 24px;
    position: sticky;
    top: 90px;
    box-shadow: var(--shadow-soft);
}

.summary-items-list {
    margin-bottom: 20px;
}

.summary-item {
    display: flex;
    gap: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(30, 58, 52, 0.06);
    margin-bottom: 12px;
}

.summary-item-img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    background-color: var(--color-secondary);
    border-radius: 4px;
    border: 1px solid rgba(30, 58, 52, 0.05);
}

.summary-item-details {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.summary-item-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--color-primary);
    line-height: 1.3;
}

.summary-item-qty {
    font-size: 11px;
    opacity: 0.65;
    margin-top: 2px;
}

.summary-item-price {
    font-size: 13px;
    font-weight: 700;
    color: var(--color-primary);
    margin-top: auto;
    align-self: flex-end;
}

.summary-promo-code {
    display: flex;
    gap: 8px;
    margin-bottom: 8px;
}

.summary-promo-code input {
    flex: 1;
    background-color: var(--color-secondary);
    border: 1px solid rgba(30, 58, 52, 0.12);
    padding: 8px 12px;
    border-radius: 4px;
    font-family: var(--font-sans);
    font-size: 12.5px;
    text-transform: uppercase;
}

.promo-feedback-msg {
    font-size: 11.5px;
    font-weight: 500;
    margin-bottom: 18px;
}

.summary-bill-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.bill-row {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
}

.free-shipping-tag {
    color: #4CAF50;
    font-weight: 600;
}

.bill-divider {
    height: 1px;
    background-color: rgba(30, 58, 52, 0.06);
    margin: 6px 0;
}

.bill-total-row {
    font-size: 15px;
    font-weight: 700;
    color: var(--color-primary);
}

.secure-payment-trust-logos {
    margin-top: 25px;
    text-align: center;
    border-top: 1px solid rgba(30, 58, 52, 0.08);
    padding-top: 20px;
}

.trust-lock-text {
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: 0.05em;
    opacity: 0.6;
    display: block;
    margin-bottom: 10px;
}

.payment-badges-row {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.pay-logo {
    font-size: 9.5px;
    font-weight: 700;
    background-color: var(--color-secondary);
    padding: 4px 8px;
    border-radius: 3px;
    border: 1px solid rgba(30, 58, 52, 0.08);
    letter-spacing: 0.02em;
}

/* Shopping Cart Drawer Custom Layouts */
.drawer-panel.cart-panel, .drawer-panel.wishlist-panel {
    max-width: 420px;
    display: flex;
    flex-direction: column;
    padding: 50px 24px 24px 24px;
}

.drawer-title-label {
    font-family: var(--font-serif);
    font-size: 22px;
    color: var(--color-primary);
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(30, 58, 52, 0.08);
    padding-bottom: 12px;
    letter-spacing: 0.02em;
}

.cart-items-list-container {
    flex: 1;
    overflow-y: auto;
    margin-bottom: 20px;
    padding-right: 4px;
}

.cart-item {
    display: flex;
    gap: 12px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(30, 58, 52, 0.05);
    margin-bottom: 16px;
}

.cart-item-img {
    width: 72px;
    height: 72px;
    object-fit: contain;
    background-color: #ffffff;
    border: 1px solid rgba(212, 175, 55, 0.12);
    border-radius: 4px;
}

.cart-item-details {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.cart-item-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--color-primary);
    line-height: 1.3;
    margin-bottom: 2px;
}

.cart-item-price {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--color-primary);
}

.cart-item-qty-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.qty-selector-small {
    display: flex;
    align-items: center;
    border: 1px solid rgba(30, 58, 52, 0.12);
    border-radius: 3px;
    overflow: hidden;
}

.qty-btn-s {
    background: none;
    border: none;
    width: 26px;
    height: 26px;
    cursor: pointer;
    font-size: 12px;
    color: var(--color-primary);
}

.qty-val-s {
    width: 24px;
    text-align: center;
    font-size: 11.5px;
    font-weight: 600;
}

.cart-remove-item-btn {
    background: none;
    border: none;
    font-family: var(--font-sans);
    font-size: 10.5px;
    font-weight: 600;
    color: var(--color-accent);
    text-transform: uppercase;
    cursor: pointer;
    opacity: 0.75;
}

.cart-remove-item-btn:hover {
    opacity: 1;
}

.cart-drawer-footer {
    border-top: 1px solid rgba(30, 58, 52, 0.08);
    padding-top: 20px;
}

.cart-summary-row {
    display: flex;
    justify-content: space-between;
    font-size: 15px;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 6px;
}

.cart-subtotal-val {
    font-size: 17px;
    font-weight: 700;
}

.cart-shipping-notice {
    font-size: 11px;
    opacity: 0.6;
    margin-bottom: 16px;
}

.empty-cart-view {
    flex-direction: column;
    gap: 15px;
    height: 80%;
    justify-content: center;
}

.empty-cart-msg {
    font-size: 13.5px;
    opacity: 0.7;
    margin-bottom: 8px;
}

/* Purchase Options Modal Overlay */
.purchase-modal-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1200;
    overflow-y: auto; /* scrollable vertically if content overflows viewport */
    padding: 20px 10px;
    box-sizing: border-box;
}

.purchase-modal-container.open {
    display: flex;
}

.purchase-modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(30, 58, 52, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 1;
}

.purchase-modal-card {
    position: relative;
    background-color: var(--color-secondary); /* Off-White */
    border: 1px solid var(--color-accent); /* Luxury Gold */
    border-radius: 12px;
    width: 100%;
    max-width: 680px;
    padding: 40px;
    box-shadow: var(--shadow-luxury), var(--shadow-glow);
    z-index: 2;
    transform: scale(0.95);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-sizing: border-box;
    margin: auto; /* keeps it centered vertically/horizontally in flex wrapper */
}

.purchase-modal-container.open .purchase-modal-card {
    transform: scale(1);
    opacity: 1;
}

.purchase-modal-close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--color-primary);
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-quick);
}

.purchase-modal-close-btn:hover {
    color: var(--color-accent);
    transform: rotate(90deg);
}

.purchase-modal-title {
    font-family: var(--font-brand);
    font-size: 28px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-primary);
    margin-bottom: 8px;
    text-align: center;
}

.purchase-modal-subtitle {
    font-size: 13px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-primary);
    opacity: 0.7;
    margin-bottom: 35px;
    text-align: center;
}

/* Purchase Options Grid */
.purchase-options-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    align-items: stretch; /* equal height for grid items */
}

.purchase-option-card {
    position: relative;
    background-color: rgba(30, 58, 52, 0.03);
    border: 1px solid rgba(30, 58, 52, 0.1);
    border-radius: 8px;
    padding: 30px 20px; /* equal padding */
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: var(--transition-premium);
    height: 100%; /* equal height */
    box-sizing: border-box;
}

.purchase-option-card .btn {
    margin-top: auto; /* forces buttons to stay at bottom */
    width: 100%;
}

.purchase-option-card.active {
    background-color: rgba(30, 58, 52, 0.05);
    border-color: var(--color-accent);
}

.purchase-option-card:hover {
    transform: translateY(-5px);
}

.purchase-option-card.active:hover {
    box-shadow: var(--shadow-glow);
}

/* Status Badges */
.card-status-badge {
    font-size: 9px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 4px 10px;
    border-radius: 50px;
    background-color: rgba(30, 58, 52, 0.1);
    color: var(--color-primary);
    margin-bottom: 20px;
    display: inline-block;
}

.card-status-badge.active {
    background-color: rgba(212, 175, 87, 0.15);
    color: var(--color-accent);
}

.card-platform-icon {
    font-size: 28px;
    margin-bottom: 12px;
}

.card-platform-name {
    font-family: var(--font-sans);
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: var(--color-primary);
    margin-bottom: 8px;
}

.card-platform-desc {
    font-size: 11px;
    opacity: 0.75;
    color: var(--color-primary);
    margin-bottom: 25px;
    line-height: 1.4;
    min-height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.purchase-option-card.disabled {
    opacity: 0.7;
}

/* Modal responsive changes */
@media (max-width: 768px) {
    .purchase-options-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .purchase-modal-card {
        padding: 30px 20px;
        width: 92%;
    }
    
    .purchase-option-card {
        padding: 20px 15px;
    }
}

/* responsive media tags */
@media (max-width: 991px) {
    .trust-badges-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .reviews-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
        gap: 20px;
    }
    
    .product-detail-layout, .checkout-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .summary-sticky-card {
        position: static;
    }
    
    .instagram-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 600px;
    }
}

@media (max-width: 576px) {
    .btn {
        white-space: normal; /* allow wrapping on mobile */
        padding: 12px 18px; /* reduce padding to prevent overflow */
        font-size: 13px; /* make text size slightly smaller to prevent massive wrapping */
    }

    .trust-badges-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .market-channels-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row-2 {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .p-title-name {
        font-size: 26px;
    }
    
    .product-detail-layout {
        margin-bottom: 60px;
    }
    
    .instagram-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 100%;
        gap: 12px;
    }


/* --- PROMOTIONAL OFFER SECTION --- */
.promo-section {
    padding: 60px 0 40px 0;
    background-color: var(--color-secondary);
}

.promo-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #1E3A34; /* Dark Green */
    border: 1px solid rgba(212, 175, 55, 0.3); /* Luxury Gold Accent */
    border-radius: 16px;
    padding: 60px; /* Equal spacing on all sides */
    box-shadow: var(--shadow-luxury), 0 10px 40px rgba(30, 58, 52, 0.15), 0 0 20px rgba(212, 175, 55, 0.1);
    position: relative;
    overflow: hidden;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, opacity;
}

.promo-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-luxury), 0 20px 50px rgba(30, 58, 52, 0.25), 0 0 35px rgba(212, 175, 55, 0.35);
    border-color: #D4AF37; /* Luxury Gold */
}

/* Subtle floating particles style */
.promo-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    z-index: 1;
}

.promo-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background-color: #D4AF37; /* Luxury Gold */
    border-radius: 50%;
    opacity: 0.15;
    animation: floatParticlePromo 8s infinite ease-in-out;
}

.promo-particle.p1 { top: 15%; left: 10%; width: 5px; height: 5px; animation-duration: 9s; animation-delay: 0s; }
.promo-particle.p2 { top: 65%; left: 18%; width: 3px; height: 3px; animation-duration: 7s; animation-delay: 2s; }
.promo-particle.p3 { top: 25%; left: 70%; width: 4px; height: 4px; animation-duration: 10s; animation-delay: 1.5s; }
.promo-particle.p4 { top: 80%; left: 75%; width: 6px; height: 6px; animation-duration: 11s; animation-delay: 3.5s; }
.promo-particle.p5 { top: 10%; left: 50%; width: 3px; height: 3px; animation-duration: 8s; animation-delay: 4.5s; }

@keyframes floatParticlePromo {
    0%, 100% {
        transform: translateY(0) translateX(0);
        opacity: 0.1;
    }
    50% {
        transform: translateY(-15px) translateX(8px);
        opacity: 0.35;
    }
}

.promo-card-centered-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    position: relative;
    z-index: 2;
    gap: 40px;
}

.promo-banner-wrapper {
    width: 100%;
    max-width: 680px; /* Centered, display at a medium size */
    animation: promoFloat 6s ease-in-out infinite;
    will-change: transform;
}

.promo-banner-img {
    width: 100%;
    height: auto;
    border-radius: 12px; /* soft rounded corners */
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.45);
    display: block;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.promo-banner-wrapper:hover .promo-banner-img {
    transform: scale(1.03);
    box-shadow: 0 22px 50px rgba(0, 0, 0, 0.55);
}

.promo-action-wrapper {
    display: flex;
    justify-content: center;
    width: 100%;
}

@keyframes promoFloat {
    0% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(0.5deg); }
    100% { transform: translateY(0) rotate(0deg); }
}

/* --- CUSTOMER REVIEWS STYLES --- */
.reviews-summary-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--color-secondary);
    border: 1px solid rgba(30, 58, 52, 0.08);
    border-radius: 8px;
    padding: 25px 30px;
    margin-bottom: 40px;
    box-shadow: var(--shadow-soft);
}

.summary-stats {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.average-rating-box {
    display: flex;
    align-items: center;
    gap: 12px;
}

.avg-stars {
    color: var(--color-accent);
    font-size: 20px;
    letter-spacing: 2px;
}

.avg-number {
    font-family: var(--font-brand);
    font-size: 24px;
    color: var(--color-primary);
    font-weight: 600;
}

.total-reviews-text {
    font-size: 13px;
    opacity: 0.6;
}

/* Review Form styles */
.review-form-wrapper {
    background-color: var(--color-secondary);
    border: 1px solid rgba(30, 58, 52, 0.08);
    border-radius: 8px;
    padding: 35px;
    margin-bottom: 50px;
    box-shadow: var(--shadow-soft);
}

.form-title {
    font-family: var(--font-brand);
    font-size: 22px;
    color: var(--color-primary);
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.star-rating-selector {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 8px;
    font-size: 26px;
    cursor: pointer;
    margin-top: 5px;
}

.rating-star-btn {
    color: rgba(30, 58, 52, 0.15);
    transition: var(--transition-quick);
}

.rating-star-btn:hover,
.rating-star-btn:hover ~ .rating-star-btn,
.rating-star-btn.selected,
.rating-star-btn.selected ~ .rating-star-btn {
    color: var(--color-accent);
}

/* Custom CSS to style pending review moderation badges */
.moderator-pending-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
}

@media (max-width: 768px) {
    .promo-card {
        padding: 30px; /* Equal spacing on all sides */
    }
    
    .promo-card-centered-content {
        gap: 25px;
    }
    
    .promo-banner-wrapper {
        max-width: 100%;
    }

    .reviews-summary-bar {
        flex-direction: column;
        gap: 20px;
        text-align: center;
        padding: 20px;
    }
    
    .average-rating-box {
        justify-content: center;
    }
    
    .review-form-wrapper {
        padding: 20px;
    }

    .scroll-reveal.reveal-fade-left,
    .scroll-reveal.reveal-fade-right {
        transform: translateY(20px);
    }
}

/* --- CUSTOM BUY NOW ORDER SYSTEM --- */
.purchase-modal-content-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
    margin-top: 25px;
    text-align: left;
}

@media (min-width: 768px) {
    .purchase-modal-content-grid {
        grid-template-columns: 1.15fr 0.85fr;
        align-items: start;
    }
}

.checkout-summary-card {
    border: 1px solid rgba(212, 175, 55, 0.18);
    border-radius: 8px;
    padding: 20px;
    background-color: rgba(30, 58, 52, 0.02);
    box-shadow: var(--shadow-soft);
}

.order-form-container {
    background-color: #ffffff;
    border: 1px solid rgba(30, 58, 52, 0.08);
    border-radius: 8px;
    padding: 24px;
    box-shadow: var(--shadow-soft);
}

.checkout-form-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(30, 58, 52, 0.08);
    padding-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.qty-control-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 10px;
    background-color: #ffffff;
    padding: 8px 12px;
    border-radius: 4px;
    border: 1px solid rgba(30, 58, 52, 0.08);
}

.qty-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--color-primary);
}

.coupon-field-wrapper {
    margin-top: 20px;
    margin-bottom: 20px;
}

.summary-promo-code {
    display: flex;
    gap: 8px;
}

.summary-promo-code input {
    flex: 1;
    background-color: #ffffff !important;
    border: 1px solid rgba(30, 58, 52, 0.15);
    padding: 10px 14px;
    border-radius: 4px;
    font-family: var(--font-sans);
    font-size: 13px;
    text-transform: uppercase;
    height: 40px;
    box-sizing: border-box;
}

.summary-promo-code input:focus {
    outline: none;
    border-color: var(--color-accent);
}

.promo-feedback-msg {
    font-size: 11.5px;
    font-weight: 500;
    margin-top: 6px;
}

.promo-feedback-msg.success {
    color: #4CAF50;
}

.promo-feedback-msg.error {
    color: #f44336;
}

.form-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

@media (max-width: 576px) {
    .form-grid-2 {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

/* --- POPUP CHECKOUT FORM FIELDS --- */
.checkout-form-container .form-group {
    margin-bottom: 20px;
    text-align: left;
}

.checkout-form-container .form-input {
    width: 100%;
    padding: 12px 16px;
    background-color: #ffffff;
    border: 1px solid rgba(30, 58, 52, 0.15);
    border-radius: 4px;
    font-family: var(--font-sans);
    font-size: 14px;
    color: var(--color-primary);
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
    box-sizing: border-box;
    display: block;
    margin-top: 4px;
}

.checkout-form-container .form-input:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

@media (max-width: 768px) {
    .purchase-modal-card {
        padding: 24px 20px;
        max-width: 95%;
        border-radius: 8px;
    }
    .purchase-modal-title {
        font-size: clamp(20px, 4.5vw, 24px);
    }
    .purchase-modal-subtitle {
        font-size: 13px;
        margin-bottom: 15px;
    }
    .purchase-modal-content-grid {
        gap: 20px;
    }
    .checkout-form-title {
        font-size: 16px;
        margin-bottom: 16px;
    }
    .order-form-container {
        padding: 16px;
    }
    .checkout-summary-card {
        padding: 16px;
    }
}

/* --- INTRO SCREEN SKIP BUTTON & BACK TO TOP BUTTON --- */
.skip-intro-btn {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: rgba(255, 255, 255, 0.8);
    padding: 10px 24px;
    border-radius: 20px;
    font-family: var(--font-sans);
    font-size: 11.5px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    z-index: 10;
    transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}
.skip-intro-btn:hover {
    background-color: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.8);
    color: #ffffff;
}

.back-to-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background-color: var(--color-primary);
    color: var(--color-secondary);
    border: 1px solid var(--color-accent);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-luxury), 0 0 15px rgba(212, 175, 55, 0.2);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: opacity 0.4s ease, visibility 0.4s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.3s ease, color 0.3s ease;
}
.back-to-top-btn.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.back-to-top-btn:hover {
    background-color: var(--color-secondary);
    color: var(--color-primary);
}
.back-to-top-icon {
    width: 22px;
    height: 22px;
}

/* --- ADDED COMPATIBILITY & RESPONSIVE LAYOUT OVERRIDES --- */

/* Clean Section Padding & Spacing */
.ingredients-section,
.how-to-use-section,
.instagram-feed-section,
.faq-section,
.contact-section {
    padding: var(--section-padding);
    border-top: 1px solid rgba(212, 175, 55, 0.12);
}

/* Custom Grids layout rules */
.homepage-ingredients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.homepage-use-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
    text-align: center;
}

.review-images-upload-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 20px;
}

.upload-label {
    font-size: 12.5px;
    font-weight: 600;
    color: var(--color-primary);
    display: block;
    margin-bottom: 6px;
}

.upload-input {
    padding: 8px;
    font-size: 12px;
    height: auto;
}

/* Back-to-top and Modal safe areas/iOS support */
.back-to-top-btn {
    bottom: calc(30px + env(safe-area-inset-bottom, 0px));
    right: calc(30px + env(safe-area-inset-right, 0px));
}

.purchase-modal-container {
    align-items: flex-start;
}

/* Mobile responsive styles */
@media (max-width: 768px) {
    .trust-badges-section {
        padding: 40px 0;
    }
    
    .contact-modern-form-container {
        padding: 24px 20px;
    }
    
    .purchase-modal-card {
        margin: 20px auto;
    }
    
    /* Smooth inertial scrolling for drawer body on iOS */
    .drawer-panel,
    .purchase-modal-container {
        -webkit-overflow-scrolling: touch;
    }
}

@media (max-width: 576px) {
    .review-images-upload-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .p-action-buttons {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 992px) {
    .shop-product-grid-layout {
        grid-template-columns: 0.95fr 1.05fr !important;
    }
    .shop-product-img-col {
        border-bottom: none !important;
        border-right: 1px solid rgba(30, 58, 52, 0.08) !important;
    }
}

/* --- SEARCHABLE STATE DROPDOWN STYLING --- */
.state-dropdown-list {
    background: #ffffff !important;
    border: 1px solid rgba(30, 58, 52, 0.15) !important;
    border-radius: 8px !important;
    max-height: 200px !important;
    overflow-y: auto !important;
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 1050 !important;
    box-shadow: 0 8px 24px rgba(30, 58, 52, 0.12) !important;
    margin-top: 4px !important;
}

.state-dropdown-item {
    padding: 10px 14px !important;
    font-size: 13.5px !important;
    color: var(--color-primary) !important;
    cursor: pointer !important;
    transition: background 0.2s ease, color 0.2s ease !important;
    text-align: left !important;
}

.state-dropdown-item:hover,
.state-dropdown-item.selected {
    background-color: rgba(30, 58, 52, 0.05) !important;
    color: var(--color-accent) !important;
    font-weight: 500 !important;
}

.state-dropdown-no-results {
    padding: 12px 14px !important;
    font-size: 13px !important;
    color: #888888 !important;
    text-align: center !important;
}
/* ==========================================================================
   FINAL MOBILE RESPONSIVE REDESIGN (max-width: 767px ONLY)
   ========================================================================== */
@media screen and (max-width: 767px) {
    /* Global mobile overflow prevention */
    html, body {
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: hidden !important;
        position: relative !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    /* 1. Header (Top of document flow) */
    .main-header,
    header.main-header,
    .main-header.scrolled {
        position: relative !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        margin: 0 !important;
        padding: 0 !important;
        transform: none !important;
        box-shadow: none !important;
        border-bottom: 1px solid rgba(212, 175, 55, 0.15) !important;
        z-index: 1000 !important;
    }

    .header-container,
    .main-header.scrolled .header-container {
        height: 70px !important;
        padding: 0 16px !important;
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        box-sizing: border-box !important;
        margin: 0 !important;
    }

    .desktop-nav {
        display: none !important;
    }
    
    .menu-toggle {
        display: flex !important;
    }

    /* 2. Announcement Ticker (Directly below Header) */
    .announcement-bar {
        position: relative !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        height: 38px !important;
        margin: 0 !important;
        padding: 0 !important;
        transform: none !important;
        overflow: hidden !important;
        box-sizing: border-box !important;
        z-index: 999 !important;
    }

    .ticker-content span {
        font-size: 11.5px !important;
        letter-spacing: 0.02em !important;
    }

    .ticker-track {
        animation-duration: 20s !important;
    }

    /* Reset page-view top padding on mobile since header/ticker are in-flow */
    .page-view,
    #view-home.page-view {
        padding-top: 0 !important;
        margin-top: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: hidden !important;
    }

    /* 3. Hero Banner (Directly below Announcement Ticker) */
    .hero-section,
    .hero-slides,
    .hero-slide {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: hidden !important;
    }

    .hero-section {
        position: relative !important;
        top: 0 !important;
        left: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        transform: none !important;
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        aspect-ratio: 1024 / 582 !important;
        overflow: hidden !important;
        box-sizing: border-box !important;
        z-index: 1 !important;
        background-color: #F8F3EA !important;
    }

    /* 4. Hero Slides and Presentation */
    .hero-slides {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
    }

    .hero-slide {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
        background-size: cover !important;
        background-position: center center !important;
        background-repeat: no-repeat !important;
    }

    .hero-slide.independence-slide {
        background-size: contain !important;
        background-position: center center !important;
        background-repeat: no-repeat !important;
        background-color: #F8F3EA !important;
    }

    /* 5. Mobile Hero Text Positioning */
    .hero-overlay-container {
        position: absolute !important;
        top: 26% !important;
        left: 24px !important;
        right: 24px !important;
        width: auto !important;
        max-width: 100% !important;
        transform: translateY(-50%) !important;
        padding: 0 !important;
        margin: 0 !important;
        z-index: 5 !important;
        box-sizing: border-box !important;
        pointer-events: none !important;
    }

    .hero-content {
        position: relative !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto !important;
        text-align: center !important;
        padding: 0 !important;
        box-sizing: border-box !important;
    }

    .hero-brand {
        font-size: clamp(8px, 2.2vw, 11px) !important;
        letter-spacing: 0.15em !important;
        margin-bottom: 2px !important;
        display: block !important;
    }

    .hero-title-premium {
        font-size: clamp(13px, 4.2vw, 22px) !important;
        line-height: 1.15 !important;
        margin-bottom: 3px !important;
    }

    .hero-subtitle-premium {
        font-size: clamp(9px, 2.6vw, 13px) !important;
        line-height: 1.25 !important;
        margin-bottom: 0 !important;
    }

    /* 6. Mobile Hero CTA Button */
    .hero-onam-cta-container {
        position: absolute !important;
        bottom: 14% !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        width: auto !important;
        max-width: calc(100% - 48px) !important;
        margin: 0 !important;
        text-align: center !important;
        z-index: 10 !important;
        box-sizing: border-box !important;
    }

    .btn-hero-onam-offer {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: clamp(6px, 1.8vw, 10px) clamp(16px, 4vw, 26px) !important;
        font-size: clamp(9.5px, 2.6vw, 12px) !important;
        font-weight: 700 !important;
        letter-spacing: 0.08em !important;
        border-radius: 24px !important;
        white-space: nowrap !important;
        box-sizing: border-box !important;
    }

    /* 7. Hero Slider Controls (Arrows & Dots inside hero) */
    .hero-arrow {
        z-index: 10 !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        width: clamp(24px, 7vw, 32px) !important;
        height: clamp(24px, 7vw, 32px) !important;
        padding: 0 !important;
    }

    .hero-arrow.prev-arrow {
        left: 6px !important;
    }

    .hero-arrow.next-arrow {
        right: 6px !important;
    }

    .hero-dots {
        bottom: 6px !important;
        z-index: 10 !important;
    }

    .hero-dot {
        width: clamp(5px, 1.6vw, 8px) !important;
        height: clamp(5px, 1.6vw, 8px) !important;
        margin: 0 3px !important;
    }

    .hero-scroll-indicator {
        display: none !important;
    }

    /* 8. Featured Products Section (Directly below Hero) */
    #featured-product-section,
    .products-section {
        position: relative !important;
        top: 0 !important;
        margin-top: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .products-grid {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 28px !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 16px !important;
        box-sizing: border-box !important;
    }

    .product-card {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto !important;
        background-color: #F8F3EA !important;
        border-radius: 16px !important;
        border: 1.5px solid #C9A227 !important;
        position: relative !important;
        overflow: hidden !important;
        box-sizing: border-box !important;
    }

    .product-visual {
        width: 100% !important;
        max-width: 100% !important;
        height: 260px !important;
        position: relative !important;
        background: #F8F3EA !important;
        background-color: #F8F3EA !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        overflow: hidden !important;
        box-sizing: border-box !important;
        margin: 0 !important;
        padding: 16px !important;
    }

    .product-badge {
        position: absolute !important;
        top: 12px !important;
        left: 12px !important;
        width: auto !important;
        max-width: max-content !important;
        background-color: #123C32 !important;
        color: #C9A227 !important;
        font-size: 10px !important;
        font-weight: 700 !important;
        text-transform: uppercase !important;
        letter-spacing: 0.08em !important;
        padding: 5px 12px !important;
        border-radius: 20px !important;
        border: 1px solid rgba(201, 162, 39, 0.5) !important;
        z-index: 10 !important;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08) !important;
        display: inline-block !important;
    }

    .product-main-img {
        width: 100% !important;
        max-width: 100% !important;
        height: 100% !important;
        object-fit: contain !important;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px !important;
    }
    .logo-link {
        gap: 8px !important;
    }
    .header-logo-icon {
        height: 42px !important;
    }
    .header-logo-wordmark {
        height: 44px !important;
    }
    .header-actions {
        gap: 12px !important;
    }
    .action-icon {
        width: 18px !important;
        height: 18px !important;
    }
    .btn-hero-onam-offer {
        font-size: 11px !important;
        padding: 10px 16px !important;
    }
}

@media (max-width: 360px) {
    .header-logo-icon {
        height: 36px !important;
    }
    .header-logo-wordmark {
        height: 38px !important;
    }
    .btn-hero-onam-offer {
        font-size: 10.5px !important;
        padding: 10px 12px !important;
    }
}

/* --- HERO SCROLL INDICATOR --- */
.hero-scroll-indicator {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    text-decoration: none;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    opacity: 0.85;
}

.hero-scroll-indicator:hover {
    opacity: 1;
}

.hero-scroll-indicator .chevron {
    display: block;
    width: 14px;
    height: 14px;
    border-right: 2px solid var(--color-accent);
    border-bottom: 2px solid var(--color-accent);
    transform: rotate(45deg);
    margin: -4px 0;
    animation: chevronMove 1.5s infinite;
}

.hero-scroll-indicator .chevron:nth-child(2) {
    animation-delay: 0.15s;
}

@keyframes chevronMove {
    0% {
        transform: rotate(45deg) translate(0, 0);
        opacity: 0.3;
    }
    50% {
        transform: rotate(45deg) translate(4px, 4px);
        opacity: 1;
    }
    100% {
        transform: rotate(45deg) translate(0, 0);
        opacity: 0.3;
    }
}

.product-badge {
    position: absolute !important;
    top: 14px !important;
    left: 14px !important;
    background-color: #123C32 !important;
    color: #C9A227 !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.08em !important;
    padding: 5px 13px !important;
    border-radius: 20px !important;
    border: 1px solid rgba(201, 162, 39, 0.5) !important;
    z-index: 10 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
}

.sticky-purchase-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--color-primary);
    border-top: 1px solid var(--color-accent);
    padding: 12px 0;
    z-index: 1000;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
    opacity: 0;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.15);
}

.sticky-purchase-bar.show {
    transform: translateY(0);
    opacity: 1;
}

.sticky-bar-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.sticky-bar-product-info {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-light);
}

.sticky-bar-thumb {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: #ffffff;
}

.sticky-bar-text {
    text-align: left;
}

.sticky-bar-title {
    font-size: 13px;
    font-weight: 600;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 250px;
}

.sticky-bar-price {
    font-size: 13.5px;
    color: var(--color-accent);
    font-weight: 700;
    display: block;
    margin-top: 2px;
}

.sticky-bar-actions {
    display: flex;
    gap: 10px;
}

.sticky-buy-btn {
    height: 38px;
    padding: 0 20px !important;
    font-size: 11px !important;
    font-weight: 600;
    letter-spacing: 0.05em;
    white-space: nowrap;
    box-shadow: none !important;
}

@media (max-width: 576px) {
    .sticky-bar-title {
        max-width: 140px;
    }
    .sticky-buy-btn {
        padding: 0 16px !important;
    }
}

/* ==========================================================================
   MAVELI ONAM WELCOME ANIMATION STYLES
   ========================================================================== */
.maveli-welcome-container {
    position: fixed;
    bottom: 25px;
    left: -200px; /* Start offscreen */
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    pointer-events: auto;
    transition: left 0.8s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.6s ease, transform 0.4s ease;
    opacity: 1;
}

.maveli-character-wrap {
    position: relative;
    width: 130px;
    height: 173px;
    filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.22));
    transition: transform 0.4s ease;
}

.maveli-character-wrap:hover {
    transform: scale(1.05);
}

.maveli-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* Walking Bobbing Animation */
.maveli-welcome-container.walking .maveli-img {
    animation: maveliBob 0.4s ease-in-out infinite alternate;
}

@keyframes maveliBob {
    0% { transform: translateY(0) rotate(0deg); }
    100% { transform: translateY(-6px) rotate(2deg); }
}

/* Waving Pose */
.maveli-welcome-container.waving .maveli-img {
    animation: maveliWave 0.8s ease-in-out 2 alternate;
}

@keyframes maveliWave {
    0% { transform: rotate(0deg); }
    50% { transform: rotate(6deg) translateY(-2px); }
    100% { transform: rotate(-4deg); }
}

/* Pointing Pose */
.maveli-welcome-container.pointing .maveli-img {
    transform: rotate(5deg) scale(1.08);
}

/* Speech Bubble */
.maveli-speech-bubble {
    position: absolute;
    top: -55px;
    background: #123C32;
    color: #FAF6EE;
    border: 1.5px solid #C9A227;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
    box-shadow: 0 8px 24px rgba(18, 60, 50, 0.25);
    opacity: 0;
    transform: scale(0.8) translateY(10px);
    transition: opacity 0.35s ease, transform 0.35s ease;
    pointer-events: none;
}

.maveli-speech-bubble::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 8px 7px 0;
    border-style: solid;
    border-color: #123C32 transparent transparent;
}

.maveli-speech-bubble.active {
    opacity: 1;
    transform: scale(1) translateY(0);
}

/* Floating Yellow Flower Petals */
.maveli-petal {
    position: absolute;
    font-size: 14px;
    opacity: 0;
    pointer-events: none;
    animation: petalFloat 2.5s ease-in-out infinite;
}

.petal-1 { top: 20%; left: -10px; animation-delay: 0s; }
.petal-2 { top: 40%; right: -12px; animation-delay: 0.8s; }
.petal-3 { top: 10%; right: 10px; animation-delay: 1.4s; }

@keyframes petalFloat {
    0% { opacity: 0; transform: translateY(0) rotate(0deg); }
    30% { opacity: 0.9; }
    100% { opacity: 0; transform: translateY(-30px) rotate(180deg); }
}

/* Mobile Responsive Adjustments */
@media (max-width: 768px) {
    .maveli-welcome-container {
        bottom: 75px; /* Above sticky bar */
    }
    .maveli-character-wrap {
        width: 85px;
        height: 110px;
    }
    .maveli-speech-bubble {
        top: -48px;
        font-size: 11.5px;
        padding: 6px 12px;
    }
}
