/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Map per-flavor glow settings: colors, angle, blur (radius) and opacity */
.salt-card[data-flavor="lovely-pop"] {
  --flavor-shadow: var(--lovely-pop-1);
  --glow-c1: var(--lovely-pop-1);
  --glow-c2: var(--lovely-pop-2);
  --glow-angle: 60deg;
  --glow-blur: 12px;
  --glow-opacity: 0.22;
}
.salt-card[data-flavor="pineapple-cube"] {
  --flavor-shadow: var(--pineapple-1);
  --glow-c1: var(--pineapple-1);
  --glow-c2: var(--pineapple-4);
  --glow-angle: 35deg;
  --glow-blur: 14px;
  --glow-opacity: 0.24;
}
.salt-card[data-flavor="peachy-love"] {
  --flavor-shadow: var(--peachy-1);
  --glow-c1: var(--peachy-1);
  --glow-c2: var(--peachy-2);
  --glow-angle: 30deg;
  --glow-blur: 12px;
  --glow-opacity: 0.22;
}
.salt-card[data-flavor="black-twist"] {
  --flavor-shadow: var(--black-twist-1);
  --glow-c1: var(--black-twist-1);
  --glow-c2: var(--black-twist-2);
  --glow-angle: 45deg;
  --glow-blur: 10px;
  --glow-opacity: 0.2;
}

:root {
    /* Brand Colors */
    --lovely-pop-1: #d20f13;
    --lovely-pop-2: #b83470;
    --pineapple-1: #232a94;
    --pineapple-2: #d6e7ee;
    --pineapple-3: #f8e2a6;
    --pineapple-4: #6c917f;
    --peachy-1: #df254a;
    --peachy-2: #ec9826;
    --black-twist-1: #000000;
    --black-twist-2: #2a35a8;
    
    /* Additional Colors */
    --white: #ffffff;
    --light-gray: #f8f9fa;
    --dark-gray: #2c3e50;
    --shadow: rgba(0, 0, 0, 0.1);
    --shadow-dark: rgba(0, 0, 0, 0.2);
    
    /* Typography */
    --font-primary: 'Fredoka One', cursive;
    --font-secondary: 'Poppins', sans-serif;
    
    /* Spacing */
    --container-max-width: 1200px;
    --section-padding: 80px 0;
}

body {
    font-family: var(--font-secondary);
    line-height: 1.6;
    color: var(--dark-gray);
    overflow-x: hidden;
}

.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 2rem;
    max-width: var(--container-max-width);
    margin: 0 auto;
    transition: padding 0.3s ease;
}

/* Logo sizing */
.logo-link { display: inline-flex; align-items: center; }
.logo-image { height: 80px; width: auto; display: block; transition: height 0.3s ease; }
.footer-logo { height: 44px; }

/* Shrink header elements on scroll */
.header.scrolled .nav { padding: 0.2rem 2rem; }
.header.scrolled .logo-image { height: 52px; }

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}

.logo-text {
    font-family: var(--font-primary);
    font-size: 2rem;
    background: linear-gradient(45deg, var(--lovely-pop-1), var(--peachy-1), var(--pineapple-1));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: logoGlow 3s ease-in-out infinite alternate;
}

@keyframes logoGlow {
    0% { filter: drop-shadow(0 0 5px rgba(210, 15, 19, 0.3)); }
    100% { filter: drop-shadow(0 0 15px rgba(210, 15, 19, 0.6)); }
}

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

.nav-link {
    text-decoration: none;
    color: var(--dark-gray);
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--lovely-pop-1);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: linear-gradient(45deg, var(--lovely-pop-1), var(--peachy-1));
    transition: width 0.3s ease;
}

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

.hamburger {
    display: none;
    width: 32px;
    height: 24px;
    position: relative;
    cursor: pointer;
}

.bar {
    display: block;
    position: absolute;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--dark-gray);
    border-radius: 3px;
    transition: transform 0.3s ease, opacity 0.3s ease, top 0.3s ease, background-color 0.3s ease;
}

/* Position bars */
.hamburger .bar:nth-child(1) { top: 0; }
.hamburger .bar:nth-child(2) { top: 50%; transform: translateY(-50%); }
.hamburger .bar:nth-child(3) { bottom: 0; }

/* Morph to X when active */
.hamburger.active .bar:nth-child(1) {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}
.hamburger.active .bar:nth-child(2) {
    opacity: 0;
}
.hamburger.active .bar:nth-child(3) {
    bottom: auto;
    top: 50%;
    transform: translateY(-50%) rotate(-45deg);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--pineapple-2) 0%, var(--pineapple-3) 50%, var(--white) 100%);
    position: relative;
    overflow: hidden;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 2rem;
    z-index: 2;
}

.hero-title {
    font-family: var(--font-primary);
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.title-line {
    display: block;
    animation: slideInLeft 1s ease-out;
}

.title-line.highlight {
    background: linear-gradient(45deg, var(--lovely-pop-1), var(--peachy-1), var(--pineapple-1));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: slideInRight 1s ease-out 0.3s both;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.6s both;
}

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

.hero-buttons {
    display: flex;
    gap: 1rem;
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.9s both;
}

.btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(45deg, var(--lovely-pop-1), var(--peachy-1));
    color: var(--white);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(210, 15, 19, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--dark-gray);
    border: 2px solid var(--dark-gray);
}

.btn-secondary:hover {
    background: var(--dark-gray);
    color: var(--white);
    transform: translateY(-2px);
}

/* Hero Visual */
.hero-visual {
    position: relative;
}

/* Hero products visual slider */
.hero-products {
    position: relative;
    width: 100%;
    height: 500px; /* larger area for bigger bottles */
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-product-item {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none; /* images are decorative in hero */
}

.hero-product {
    max-height: 440px; /* even larger main bottles */
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 18px 40px rgba(0,0,0,0.25));
    opacity: 0;
    transform: translateY(10px) scale(0.98);
    transition: opacity 700ms ease, transform 700ms ease;
    /* Reflection removed as requested */
}

.hero-product.active {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Slight parallax lift on hover over the hero area */
.hero-visual:hover .hero-product.active {
    transform: translateY(-3px) scale(1.02);
}

@media (max-width: 768px) {
    .hero-products { height: 400px; }
    .hero-product { max-height: 330px; }
}


/* Hero animated showcase */
.hero-showcase {
    position: relative;
    width: 520px;
    height: 520px;
}

.orbit {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    pointer-events: none;
}

.orbit-salts {
    width: 480px;
    height: 480px;
    animation: spin 28s linear infinite;
}

.orbit-longfill {
    width: 320px;
    height: 320px;
    animation: spinReverse 22s linear infinite;
}

.orbit-item {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 160px;
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: auto;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.15));
    transform-origin: center center;
}

.orbit-item.small {
    width: 120px;
    height: 120px;
}

.orbit-item picture, .orbit-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Orbital motion: translation around center + subtle bobbing */
.orbit-salts .orbit-item { --radius: 190px; animation: orbitCW 24s linear infinite, bob 3s ease-in-out infinite; }
.orbit-longfill .orbit-item { --radius: 120px; animation: orbitCCW 20s linear infinite, bob 3s ease-in-out infinite; }

/* Stagger phases so items start at different angles */
.orbit-salts .orbit-item:nth-child(1) { animation-delay: 0s, 0s; }
.orbit-salts .orbit-item:nth-child(2) { animation-delay: -6s, .2s; }
.orbit-salts .orbit-item:nth-child(3) { animation-delay: -12s, .1s; }
.orbit-salts .orbit-item:nth-child(4) { animation-delay: -18s, .3s; }

.orbit-longfill .orbit-item:nth-child(1) { animation-delay: 0s, .1s; }
.orbit-longfill .orbit-item:nth-child(2) { animation-delay: -5s, .25s; }
.orbit-longfill .orbit-item:nth-child(3) { animation-delay: -10s, .15s; }
.orbit-longfill .orbit-item:nth-child(4) { animation-delay: -15s, .35s; }

@keyframes spin {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes spinReverse {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(-360deg); }
}

/* Items orbit path around center while counter-rotating to stay upright */
@keyframes orbitCW {
    from { transform: rotate(0deg) translate(var(--radius)) rotate(0deg); }
    to   { transform: rotate(360deg) translate(var(--radius)) rotate(-360deg); }
}

@keyframes orbitCCW {
    from { transform: rotate(0deg) translate(var(--radius)) rotate(0deg); }
    to   { transform: rotate(-360deg) translate(var(--radius)) rotate(360deg); }
}

@keyframes bob {
    from { transform: translateZ(0); }
    to   { transform: translateZ(0) translateY(-6px); }
}

.floating-clouds {
    position: absolute;
    width: 100%;
    height: 100%;
}

.cloud {
    position: absolute;
    /* Allow per-cloud tint via --cloud-bg (falls back to white) */
    --cloud-bg: var(--white);
    background: var(--cloud-bg);
    border-radius: 50px;
    opacity: 0.6; /* slightly lower base to add depth */
    --dx: 8px; /* default lateral drift amplitude */
    animation: float 6s ease-in-out infinite;
}

.cloud::before,
.cloud::after {
    content: '';
    position: absolute;
    background: var(--cloud-bg);
    border-radius: 50px;
}

.cloud-1 {
    width: 80px;
    height: 40px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
    animation-duration: 7s;
    --dx: 10px; /* drift slightly right */
    opacity: 0.5; /* left column more subtle */
    /* Soft tint from pineapple-3 */
    --cloud-bg: color-mix(in srgb, var(--pineapple-3) 10%, white);
}

.cloud-1::before {
    width: 50px;
    height: 50px;
    top: -25px;
    left: 10px;
}

.cloud-1::after {
    width: 60px;
    height: 40px;
    top: -15px;
    right: 10px;
}

.cloud-2 {
    width: 60px;
    height: 30px;
    top: 60%;
    right: 20%;
    animation-delay: 2s;
    animation-duration: 8s;
    --dx: -10px; /* drift slightly left */
    opacity: 0.6; /* right column slightly more visible */
}

.cloud-2::before {
    width: 40px;
    height: 40px;
    top: -20px;
    left: 5px;
}

.cloud-2::after {
    width: 50px;
    height: 30px;
    top: -10px;
    right: 5px;
}

.cloud-3 {
    width: 100px;
    height: 50px;
    top: 10%;
    right: 5%;
    animation-delay: 4s;
    animation-duration: 9s;
    --dx: -12px;
    opacity: 0.55;
    /* Soft tint from black-twist-2 (deep blue) */
    --cloud-bg: color-mix(in srgb, var(--black-twist-2) 10%, white);
}

.cloud-3::before {
    width: 60px;
    height: 60px;
    top: -30px;
    left: 15px;
}

.cloud-3::after {
    width: 70px;
    height: 50px;
    top: -20px;
    right: 15px;
}

/* Additional clouds */
.cloud-4 {
    width: 90px;
    height: 45px;
    bottom: 15%;
    left: 15%;
    animation-delay: 1.2s;
    animation-duration: 8.5s;
    --dx: 9px;
    opacity: 0.48; /* left column more subtle */
    /* Soft tint from lovely-pop */
    --cloud-bg: color-mix(in srgb, var(--lovely-pop-1) 10%, white);
}

.cloud-4::before {
    width: 50px;
    height: 50px;
    top: -22px;
    left: 12px;
}

.cloud-4::after {
    width: 60px;
    height: 38px;
    top: -12px;
    right: 12px;
}

.cloud-5 {
    width: 70px;
    height: 35px;
    bottom: 25%;
    right: 12%;
    animation-delay: 2.6s;
    animation-duration: 7.5s;
    --dx: -9px;
    opacity: 0.58;
    /* Soft tint from pineapple-4 */
    --cloud-bg: color-mix(in srgb, var(--pineapple-4) 12%, white);
}

.cloud-5::before {
    width: 42px;
    height: 42px;
    top: -20px;
    left: 8px;
}

.cloud-5::after {
    width: 50px;
    height: 32px;
    top: -10px;
    right: 8px;
}

/* Large subtle cloud at top edge */
.cloud-6 {
    width: 140px; /* slightly smaller as requested */
    height: 70px;
    top: 0;
    left: 35%;
    transform: translateY(-40%);
    opacity: 0.42; /* subtle since it's large and near top */
    animation-delay: 3.4s;
    animation-duration: 11s;
    --dx: 6px; /* very gentle drift */
    /* Very light tint so it doesn't dominate */
    --cloud-bg: color-mix(in srgb, var(--pineapple-2) 8%, white);
}

/* More clouds for fuller hero coverage */
.cloud-7 {
    width: 110px;
    height: 55px;
    top: 35%;
    left: 5%;
    opacity: 0.48; /* left column more subtle */
    animation-delay: 1.6s;
    animation-duration: 8.5s;
    --dx: 8px;
}

.cloud-7::before {
    width: 60px;
    height: 60px;
    top: -28px;
    left: 18px;
}

.cloud-7::after {
    width: 70px;
    height: 46px;
    top: -16px;
    right: 14px;
}

.cloud-8 {
    width: 85px;
    height: 42px;
    top: 70%;
    left: 30%;
    opacity: 0.5; /* left column more subtle */
    animation-delay: 0.8s;
    animation-duration: 7.8s;
    --dx: 7px;
}

.cloud-8::before {
    width: 50px;
    height: 50px;
    top: -24px;
    left: 10px;
}

.cloud-8::after {
    width: 60px;
    height: 38px;
    top: -12px;
    right: 10px;
}

.cloud-9 {
    width: 95px;
    height: 48px;
    top: 45%;
    right: 28%;
    opacity: 0.5;
    animation-delay: 2.2s;
    animation-duration: 9.2s;
    --dx: -10px;
}

.cloud-9::before {
    width: 56px;
    height: 56px;
    top: -26px;
    left: 12px;
}

.cloud-9::after {
    width: 66px;
    height: 44px;
    top: -14px;
    right: 12px;
}

.cloud-10 {
    width: 75px;
    height: 38px;
    top: 25%;
    left: 72%;
    opacity: 0.52;
    animation-delay: 1s;
    animation-duration: 8.8s;
    --dx: -8px;
}

.cloud-10::before {
    width: 44px;
    height: 44px;
    top: -22px;
    left: 9px;
}

.cloud-10::after {
    width: 54px;
    height: 36px;
    top: -12px;
    right: 9px;
}

.cloud-6::before {
    width: 110px;
    height: 110px;
    top: -55px;
    left: 20px;
}

.cloud-6::after {
    width: 120px;
    height: 85px;
    top: -35px;
    right: 20px;
}

@keyframes float {
    0%, 100% { transform: translate(0px, 0px); }
    50% { transform: translate(var(--dx), -20px); }
}

.hero-bottle {
    width: 200px;
    height: 300px;
    background: linear-gradient(45deg, var(--lovely-pop-1), var(--peachy-1));
    border-radius: 20px 20px 40px 40px;
    position: relative;
    animation: none; /* keep bottle stable for premium look */
    overflow: hidden; /* clip specular sweep */
}

.hero-bottle::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 40px;
    background: var(--dark-gray);
    border-radius: 10px 10px 0 0;
}

.bottle-glow {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: linear-gradient(45deg, var(--lovely-pop-1), var(--peachy-1));
    border-radius: 30px 30px 50px 50px;
    opacity: 0.18;
    animation: pulseSlow 12s ease-in-out infinite; /* subtle, slow glow */
    z-index: -1;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.3; }
    50% { transform: scale(1.1); opacity: 0.5; }
}

/* Subtle slow glow pulse for concept B */
@keyframes pulseSlow {
    0%, 100% { transform: scale(1); opacity: 0.16; }
    50% { transform: scale(1.04); opacity: 0.24; }
}

/* Specular sweep across the bottle surface */
.hero-bottle::after {
    content: '';
    position: absolute;
    top: -20%;
    left: -40%;
    width: 60px;
    height: 140%;
    background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.55) 50%, rgba(255,255,255,0) 100%);
    filter: blur(2px);
    transform: rotate(25deg);
    opacity: 0.0;
    pointer-events: none;
    animation: specSweep 9s ease-in-out infinite;
}

@keyframes specSweep {
    0% { transform: rotate(25deg) translateX(0); opacity: 0; }
    6% { opacity: 0.7; }
    12% { transform: rotate(25deg) translateX(360px); opacity: 0; }
    100% { transform: rotate(25deg) translateX(360px); opacity: 0; } /* rest period before next sweep */
}

/* Respect reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
    .hero-bottle::after,
    .bottle-glow {
        animation: none !important;
    }
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-arrow {
    width: 20px;
    height: 20px;
    border-right: 2px solid var(--dark-gray);
    border-bottom: 2px solid var(--dark-gray);
    transform: rotate(45deg);
}

/* Allow inner-section scroll indicators to position correctly */
.flavors, .products, .contact { position: relative; }

/* Back to top floating button */
.back-to-top {
    position: fixed;
    right: 24px;
    bottom: 88px; /* lifted to avoid reCAPTCHA badge */
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid rgba(0,0,0,0.08);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    display: grid; /* more precise centering */
    place-items: center;
    text-decoration: none;
    z-index: 1000;
    opacity: 0; /* hidden by default */
    pointer-events: none; /* non-interactive while hidden */
    transform: translateY(10px);
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 26px rgba(0,0,0,0.2);
    opacity: 1;
}

/* Up arrow variant inside the back-to-top */
.back-to-top .scroll-arrow {
    width: 18px;
    height: 18px;
    line-height: 0;
    transform-origin: center center;
    transform: rotate(-135deg); /* point up */
    margin-top: 1px; /* micro-adjust to compensate visual bias after rotation */
}

/* Visible state toggled by JS once user reaches products section */
.back-to-top.visible {
    opacity: 0.92;
    pointer-events: auto;
    transform: translateY(0);
}

/* Sections */
.section-title {
    font-family: var(--font-primary);
    font-size: 3rem;
    text-align: center;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, var(--lovely-pop-1), var(--peachy-1), var(--pineapple-1));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--dark-gray);
    margin-bottom: 4rem;
}

/* SEO Copy styles */
.seo-copy {
    max-width: 920px;
    margin: 3rem auto 0; /* extra space from flavors-grid */
    background: #fff;
    padding: 1.5rem 1.75rem;
    border-radius: 16px;
    box-shadow: 0 10px 24px var(--shadow);
}

.seo-copy h3 {
    font-family: var(--font-primary);
    font-size: 1.7rem;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, var(--lovely-pop-1), var(--peachy-1), var(--pineapple-1));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.seo-copy p {
    margin-bottom: 0.75rem;
    color: var(--dark-gray);
}

.seo-copy .seo-link {
    display: inline-block;
    margin-left: 0.5rem;
    font-weight: 700;
    color: var(--lovely-pop-1);
    text-decoration: none;
}

.seo-copy .seo-link:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .seo-copy { margin-top: 2rem; padding: 1.25rem 1.25rem; }
    .seo-copy h3 { font-size: 1.45rem; }
}

/* FAQ styles */
.faq {
    max-width: 920px;
    margin: 2.5rem auto 0;
}

.faq h3 {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, var(--lovely-pop-1), var(--peachy-1));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.faq-list {
    display: grid;
    gap: 0.75rem;
}

.faq-item {
    background: #fff;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 12px;
    box-shadow: 0 6px 18px var(--shadow);
    overflow: hidden;
}

.faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 1rem 3rem 1rem 1rem;
    position: relative;
    font-weight: 600;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
    content: '+';
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(45deg, var(--pineapple-1), var(--peachy-1));
    color: #fff;
    font-weight: 700;
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

.faq-item[open] summary::after {
    content: '−';
}

.faq-answer {
    padding: 0 1rem 1rem 1rem;
    color: var(--dark-gray);
    line-height: 1.7;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, opacity 0.3s ease;
}

.faq-item[open] .faq-answer {
    max-height: 400px; /* enough for a couple of paragraphs */
    opacity: 1;
}

@media (max-width: 768px) {
    .faq { margin-top: 2rem; }
    .faq h3 { font-size: 1.3rem; }
}

/* Flavors Section */
.flavors {
    padding: var(--section-padding);
    background: var(--light-gray);
}

.flavors-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 4rem;
}

.flavor-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px var(--shadow);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.flavor-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.flavor-card:hover::before {
    left: 100%;
}

.flavor-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px var(--shadow-dark);
}

.flavor-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Flavor Icons */
.lollipop {
    width: 40px;
    height: 40px;
    background: linear-gradient(45deg, var(--lovely-pop-1), var(--lovely-pop-2));
    border-radius: 50%;
    position: relative;
    margin: 0 auto;
}

.lollipop::after {
    content: '';
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 30px;
    background: var(--dark-gray);
    border-radius: 2px;
}

.cube {
    width: 50px;
    height: 50px;
    background: linear-gradient(45deg, var(--pineapple-1), var(--pineapple-4));
    border-radius: 8px;
    margin: 0 auto; /* normalized to center within icon wrapper */
    position: relative;
    transform: rotate(45deg);
}

.heart {
    width: 50px;
    height: 45px;
    position: relative;
    margin: 0 auto; /* normalized to center within icon wrapper */
}

.heart::before,
.heart::after {
    content: '';
    width: 26px;
    height: 40px;
    position: absolute;
    left: 25px;
    transform: rotate(-45deg);
    background: linear-gradient(45deg, var(--peachy-1), var(--peachy-2));
    border-radius: 25px 25px 0 0;
    transform-origin: 0 100%;
}

.heart::after {
    left: 0;
    transform: rotate(45deg);
    transform-origin: 100% 100%;
}

.twist {
    width: 60px;
    height: 60px;
    border: 8px solid var(--black-twist-1);
    border-radius: 50%;
    position: relative;
    margin: 0 auto; /* normalized to center within icon wrapper */
}

.twist::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 30px;
    height: 30px;
    background: var(--black-twist-2);
    border-radius: 50%;
}

.flavor-name {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.flavor-description {
    color: var(--dark-gray);
    margin-bottom: 1.5rem;
}

.flavor-colors {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

.color-dot {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid var(--white);
    box-shadow: 0 2px 5px var(--shadow);
}

/* Products Section */
.products {
    padding: var(--section-padding);
}

.salts {
    margin-top: 2rem;
}

.strength-toggle {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin: 1rem 0 2rem;
}

.toggle-btn {
    padding: 0.6rem 1.2rem;
    border-radius: 999px;
    border: 2px solid var(--dark-gray);
    background: var(--white);
    color: var(--dark-gray);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.toggle-btn.active {
    background: linear-gradient(45deg, var(--lovely-pop-1), var(--peachy-1));
    color: var(--white);
    border-color: transparent;
    box-shadow: 0 10px 25px rgba(210, 15, 19, 0.2);
}

.salts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.salt-card {
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 10px 30px var(--shadow);
    padding: 1rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.salt-card::after {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 20px;
    background: linear-gradient(var(--glow-angle, 45deg), var(--glow-c1, rgba(0,0,0,0.2)), var(--glow-c2, rgba(0,0,0,0.1)));
    opacity: 0;
    filter: blur(var(--glow-blur, 12px));
    transition: opacity 0.3s ease;
    z-index: -1;
}

.salt-card:hover {
    transform: scale(1.01);
    box-shadow: 0 14px 28px var(--shadow-dark);
}

.salt-card:hover::after { opacity: var(--glow-opacity, 0.22); filter: blur(var(--glow-blur, 12px)); }

.salt-card img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    background: var(--light-gray);
}

/* Keep image scale fixed; scale applies to the whole card on hover */
.salt-picture { display: block; border-radius: 12px; }

.salt-card figcaption {
    margin-top: 0.75rem;
    font-weight: 600;
}

/* Overlays */
.strength-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: linear-gradient(45deg, var(--lovely-pop-1), var(--peachy-1));
    color: var(--white);
    padding: 0.25rem 0.6rem;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 700;
    box-shadow: 0 6px 16px rgba(210, 15, 19, 0.25);
}

.overlay-name {
    position: absolute;
    left: 12px;
    bottom: 72px;
    background: rgba(0,0,0,0.55);
    color: #fff;
    padding: 0.35rem 0.6rem;
    border-radius: 8px;
    font-weight: 700;
    backdrop-filter: blur(2px);
    transition: transform 0.25s ease, filter 0.25s ease, background 0.25s ease;
}

/* Keep gray background for salts overlay-name; slight lift only */
.salt-card:hover .overlay-name {
    transform: translateY(-3px);
    filter: drop-shadow(0 6px 14px rgba(0,0,0,0.25));
}

/* Animated overlay-name on product cards only */
.product-card .overlay-name:hover,
.product-card:hover .overlay-name {
    transform: translateY(-3px) scale(1.05);
    animation: overlayGradient 2.5s linear infinite;
    filter: drop-shadow(0 8px 18px rgba(0,0,0,0.25));
    background: linear-gradient(90deg, var(--lovely-pop-1), var(--peachy-1), var(--pineapple-1), var(--black-twist-2));
    background-size: 300% 300%;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

@keyframes overlayGradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.product-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px var(--shadow);
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center; /* horizontal centering */
    justify-content: center; /* vertical centering */
}

/* Hover effect for product cards */
.product-card::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 22px;
    background: linear-gradient(45deg, var(--lovely-pop-1), var(--peachy-1), var(--pineapple-1));
    opacity: 0;
    filter: blur(12px);
    transition: opacity 0.35s ease;
    z-index: -1;
}

.product-card:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.2);
}

.product-card:hover::before {
    opacity: 0.56;
    /* Soft tint from peachy-2 */
    --cloud-bg: color-mix(in srgb, var(--peachy-2) 12%, white);
}

.product-card .product-image img,
.product-card .bottle-10ml,
.product-card .bottle-longfill {
    transition: transform 0.35s ease;
}

.product-card:hover .product-image img,
.product-card:hover .bottle-10ml,
.product-card:hover .bottle-longfill {
    transform: translateY(-6px) scale(1.06) rotate(3deg);
}

.product-card.featured {
    border: 3px solid var(--lovely-pop-1);
    transform: scale(1.05);
    padding-top: 3.25rem; /* extra space top as requested */
}

.product-badge {
    position: absolute;
    top: -10px;
    right: 20px;
    background: linear-gradient(45deg, var(--lovely-pop-1), var(--peachy-1));
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    will-change: transform;
}

.product-badge:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 24px rgba(0,0,0,0.18);
}

/* Lift badge when hovering the featured card */
.product-card.featured:hover .product-badge {
    transform: translateY(-6px);
    box-shadow: 0 10px 24px rgba(0,0,0,0.18);
}

.product-image {
    height: 150px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 2rem;
}

.bottle-10ml,
.bottle-longfill {
    width: 80px;
    height: 120px;
    background: linear-gradient(45deg, var(--pineapple-1), var(--pineapple-4));
    border-radius: 10px 10px 20px 20px;
    position: relative;
}

.bottle-longfill {
    background: linear-gradient(45deg, var(--lovely-pop-1), var(--peachy-1));
}

.bottle-10ml::before,
.bottle-longfill::before {
    content: '';
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 20px;
    background: var(--dark-gray);
    border-radius: 5px 5px 0 0;
}

.product-name {
    font-family: var(--font-primary);
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.product-description {
    color: var(--dark-gray);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.product-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.feature {
    background: var(--light-gray);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    color: var(--dark-gray);
}

/* Contact Section */
.contact {
    padding: var(--section-padding);
    background: linear-gradient(135deg, var(--pineapple-2), var(--light-gray));
}

/* Wholesale contact variant with repeating SVG pattern */
.contact--wholesale {
    /* Base fallback color close to the pattern palette */
    background: #232a94;
    position: relative;
    isolation: isolate;
}

.contact--wholesale::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('assets/images/patterns/wholesale-bg.svg');
    background-repeat: repeat;
    opacity: 0.5; /* subtle so content remains legible */
    z-index: -1;
}

.contact--wholesale .section-title,
.contact--wholesale .contact-text {
    color: #fff;
}

.contact--wholesale .contact-form {
    background: rgba(255,255,255,0.92);
    border-radius: 16px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.25);
    padding: 1.25rem;
}

.contact--wholesale .form-group input,
.contact--wholesale .form-group textarea {
    background: #fff;
}

.contact--wholesale .btn-primary {
    box-shadow: 0 12px 26px rgba(210, 15, 19, 0.25);
}

.contact-footnote {
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: rgba(0,0,0,0.65);
}

/* Consent checkbox styles */
.form-consent { margin-top: 0.5rem; text-align: left; width: 90%; margin-left: auto; margin-right: auto; }
.checkbox {
    display: flex;
    align-items: flex-start; /* keep label text top-aligned with box */
    gap: 0.6rem;
    font-size: 0.9rem;
    color: var(--dark-gray);
    line-height: 1.4;
}
.checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin: 0.2rem 0 0 0; /* nudge down slightly to align with first line */
    flex: 0 0 auto;
    accent-color: var(--lovely-pop-1);
}
.checkbox span { flex: 1 1 auto; }
.form-consent a {
    color: var(--lovely-pop-1);
    text-decoration: underline;
}

/* Legal text under the form */
.legal-text {
    margin-top: 2rem;
    font-size: 0.92rem;
    line-height: 1.55;
}
.legal-text p { margin-bottom: 0.35rem; }

/* Legal page styles: spacing between paragraphs and headings */
.legal-page .legal-content {
    max-width: 920px;
    margin: 3rem auto 4rem;
    background: #fff;
    padding: 1.5rem 1.75rem;
    border-radius: 16px;
    box-shadow: 0 10px 24px var(--shadow);
}

.legal-page .legal-content p {
    margin: 0 0 1rem 0; /* space after each paragraph */
}

.legal-page .legal-content h2,
.legal-page .legal-content h3,
.legal-page .legal-content h4 {
    font-family: var(--font-primary);
    background: linear-gradient(45deg, var(--lovely-pop-1), var(--peachy-1), var(--pineapple-1));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Headings separated from preceding paragraph */
.legal-page .legal-content h2:not(:first-child),
.legal-page .legal-content h3:not(:first-child),
.legal-page .legal-content h4:not(:first-child) {
    margin-top: 1.5rem;
}

/* Space between heading and its first paragraph */
.legal-page .legal-content h2,
.legal-page .legal-content h3,
.legal-page .legal-content h4 {
    margin-bottom: 0.5rem;
}

/* Improve contrast in wholesale section */
.contact--wholesale .legal-text { color: rgba(255,255,255,0.9); }

.contact-text {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 3rem;
    color: var(--dark-gray);
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

/* Mobile tweaks */
@media (max-width: 480px) {
    .form-consent { width: 100%; }
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid transparent;
    border-radius: 10px;
    font-family: var(--font-secondary);
    font-size: 1rem;
    background: var(--white);
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--lovely-pop-1);
    box-shadow: 0 0 0 3px rgba(210, 15, 19, 0.1);
}

/* Footer */
.footer {
    background: var(--dark-gray);
    color: var(--white);
    padding: 3rem 0 1rem;
}

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

.footer-brand h3 {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--lovely-pop-1);
}

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

.footer-links a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--lovely-pop-1);
}

.footer-info p {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    opacity: 0.8;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px var(--shadow);
        padding: 2rem 0;
    }

    .logo-image { height: 34px; }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .flavors-grid {
        grid-template-columns: 1fr;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .product-card.featured {
        transform: none;
    }
    
    .salts-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .hero-showcase { width: 360px; height: 360px; }
    .orbit-salts { width: 320px; height: 320px; }
    .orbit-longfill { width: 220px; height: 220px; }
    .orbit-item { width: 120px; height: 120px; }
    .orbit-salts .orbit-item { --radius: 130px; }
    .orbit-longfill .orbit-item { --radius: 90px; }
    .orbit-item.small { width: 90px; height: 90px; }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .nav {
        padding: 1rem;
    }
    
    .container {
        padding: 0 1rem;
    }

    .hero-showcase { width: 280px; height: 280px; }
    .orbit-salts { width: 260px; height: 260px; }
    .orbit-longfill { width: 180px; height: 180px; }
    .orbit-item { width: 90px; height: 90px; }
    .orbit-salts .orbit-item { --radius: 100px; }
    .orbit-longfill .orbit-item { --radius: 70px; }
    .orbit-item.small { width: 70px; height: 70px; }
    
    .salts-grid {
        grid-template-columns: 1fr;
    }
}

/* Animation Classes */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Flavor Card Specific Animations */
.lovely-pop:hover {
    background: linear-gradient(135deg, rgba(210, 15, 19, 0.1), rgba(184, 52, 112, 0.1));
}

.pineapple-cube:hover {
    background: linear-gradient(135deg, rgba(35, 42, 148, 0.1), rgba(108, 145, 127, 0.1));
}

.peachy-love:hover {
    background: linear-gradient(135deg, rgba(223, 37, 74, 0.1), rgba(236, 152, 38, 0.1));
}

.black-twist:hover {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.1), rgba(42, 53, 168, 0.1));
}
