/* ============================================
   ALOHA SQUEEZE - Juice Page Styles
   ============================================ */

/* ---- Full Immersive Hero ---- */
.juice-hero-full {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 120px 20px 80px;
}

.juice-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.juice-hero-bg img,
.juice-hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transform: scale(1.05);
    transition: opacity 0.5s ease;
}
/* Second video starts invisible — JS crossfades it in before loop end */
.hero-vid-b { opacity: 0; }

/* Hero 3D bottle canvas */
.hero-bottle-canvas {
    position: absolute;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    z-index: 2;
    pointer-events: none;
}

.juice-hero-overlay-gradient {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(to right, rgba(10,10,10,0.85) 0%, rgba(10,10,10,0.5) 50%, rgba(10,10,10,0.3) 100%),
        linear-gradient(to top, rgba(10,10,10,1) 0%, rgba(10,10,10,0.2) 30%, transparent 60%);
}

.juice-hero-content {
    position: relative;
    z-index: 3;
    max-width: 600px;
    text-align: left;
    padding: 0 clamp(20px, 4vw, 60px);
    margin-left: 0;
    align-self: center;
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding-left: clamp(20px, 8vw, 120px);
}

.juice-brand-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 193, 7, 0.12);
    border: 1px solid rgba(255, 193, 7, 0.3);
    padding: 8px 20px;
    border-radius: 60px;
    font-size: 12px;
    font-weight: 700;
    color: #fbbf24;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.juice-hero-title {
    font-family: var(--font-display);
    font-size: clamp(64px, 12vw, 130px);
    font-weight: 900;
    line-height: 0.95;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    padding-bottom: 0.18em;
}

.jh-line {
    display: block;
    color: #ffffff;
}

.jh-accent {
    color: #fbbf24;
    font-style: italic;
}

.juice-hero-tagline {
    font-size: clamp(14px, 1.5vw, 17px);
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.7);
    margin-bottom: 12px;
}

.juice-hero-sub {
    font-size: 16px;
    color: rgba(255,255,255,0.5);
    margin-bottom: 36px;
    font-style: italic;
}

.juice-hero-cta {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .juice-hero-content {
        padding-left: 20px;
        text-align: center;
        margin: 0 auto;
    }
    .juice-hero-cta {
        justify-content: center;
    }
}

/* ---- Brand Statement Bar ---- */
.juice-statement {
    padding: 32px 0;
    background: var(--bg-card);
    border-top: 1px solid rgba(255,255,255,0.04);
    border-bottom: 1px solid rgba(255,255,255,0.04);
    overflow: hidden;
}

.statement-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    flex-wrap: wrap;
}

.statement-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 28px;
    white-space: nowrap;
}

.statement-icon {
    font-size: 20px;
}

.statement-item span {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-secondary);
}

.statement-divider {
    width: 1px;
    height: 28px;
    background: rgba(255,255,255,0.1);
}

@media (max-width: 900px) {
    .statement-divider { display: none; }
    .statement-item { flex: 0 0 50%; justify-content: center; }
}

/* ---- Flavors Section ---- */
.juice-flavors {
    position: relative;
    padding: var(--section-padding) 0;
    overflow: hidden;
}

/* Splash video behind flavor cards — scrubbed by scroll */
.flavor-splash-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    z-index: 0;
    pointer-events: none;
    opacity: 0.55;
    mix-blend-mode: screen;
}

.flavors-bg-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--font-display);
    font-size: clamp(120px, 20vw, 300px);
    font-weight: 900;
    color: rgba(255,255,255,0.02);
    white-space: nowrap;
    pointer-events: none;
    user-select: none;
}

/* Featured Flavor */
.flavor-featured {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: clamp(40px, 6vw, 80px);
    align-items: center;
    margin-bottom: 40px;
    padding: clamp(28px, 3vw, 48px);
    background: var(--bg-card);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: var(--radius-xl);
    position: relative;
    overflow: hidden;
}

.flavor-featured::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 0% 50%, rgba(251, 191, 36, 0.06) 0%, transparent 60%);
    pointer-events: none;
}

.ff-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.ff-glow {
    position: absolute;
    width: 60%;
    height: 60%;
    border-radius: 50%;
    filter: blur(60px);
    z-index: 0;
}

.mango-glow {
    background: rgba(251, 191, 36, 0.25);
}

.ff-image img {
    position: relative;
    z-index: 1;
    max-height: 500px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 30px 60px rgba(0,0,0,0.5));
    transition: transform 0.6s var(--ease-out);
}

.ff-image:hover img {
    transform: translateY(-12px) scale(1.03);
}

.ff-flavor-badge {
    display: inline-block;
    padding: 6px 20px;
    border-radius: 60px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.15em;
    margin-bottom: 16px;
}

.mango-badge {
    background: rgba(251, 191, 36, 0.15);
    border: 1px solid rgba(251, 191, 36, 0.3);
    color: #fbbf24;
}

.ff-title {
    font-family: var(--font-display);
    font-size: clamp(40px, 6vw, 64px);
    font-weight: 900;
    line-height: 1;
    margin-bottom: 20px;
}

.ff-desc {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 24px;
}

.ff-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

.mango-tag {
    background: rgba(251, 191, 36, 0.1) !important;
    border-color: rgba(251, 191, 36, 0.25) !important;
    color: #fbbf24 !important;
}

.btn-mango {
    background: #fbbf24;
    color: #0a0a0a;
}

.btn-mango:hover {
    background: #f59e0b;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(251, 191, 36, 0.35);
}

@media (max-width: 800px) {
    .flavor-featured {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .ff-image img { max-height: 320px; }
    .ff-tags { justify-content: center; }
    .btn-mango { margin: 0 auto; }
}

/* Flavors Grid (other flavors) */
.flavors-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.flavor-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: var(--radius-lg);
    overflow: hidden;
    padding: 36px 28px;
    transition: all 0.4s var(--ease-out);
    min-height: 280px;
}

.flavor-card:hover {
    transform: translateY(-6px);
}

.flavor-card-color {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.flavor-card:hover .flavor-card-color {
    opacity: 1;
}

.watermelon-bg {
    background: radial-gradient(ellipse at top left, rgba(239, 68, 68, 0.12) 0%, transparent 70%);
}

.grape-bg {
    background: radial-gradient(ellipse at top left, rgba(139, 92, 246, 0.12) 0%, transparent 70%);
}

.coming-bg {
    background: radial-gradient(ellipse at top left, rgba(255,255,255, 0.04) 0%, transparent 70%);
}

.flavor-card-content {
    position: relative;
    z-index: 1;
}

.flavor-name-badge {
    display: inline-block;
    padding: 5px 16px;
    border-radius: 60px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.15em;
    margin-bottom: 14px;
}

.watermelon-badge {
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.25);
    color: #f87171;
}

.grape-badge {
    background: rgba(139, 92, 246, 0.12);
    border: 1px solid rgba(139, 92, 246, 0.25);
    color: #a78bfa;
}

.coming-badge {
    background: rgba(255,255,255, 0.06);
    border: 1px solid rgba(255,255,255, 0.1);
    color: var(--text-muted);
}

.flavor-card h4 {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
}

.flavor-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 16px;
}

.flavor-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.watermelon-tag {
    background: rgba(239, 68, 68, 0.1) !important;
    border-color: rgba(239, 68, 68, 0.2) !important;
    color: #f87171 !important;
}

.grape-tag {
    background: rgba(139, 92, 246, 0.1) !important;
    border-color: rgba(139, 92, 246, 0.2) !important;
    color: #a78bfa !important;
}

.coming-tag {
    background: rgba(255,255,255, 0.05) !important;
    border-color: rgba(255,255,255, 0.1) !important;
    color: var(--text-muted) !important;
}

.flavor-card-icon {
    position: absolute;
    bottom: 20px;
    right: 24px;
    font-size: 48px;
    opacity: 0.12;
    z-index: 0;
    transition: all 0.4s ease;
}

.flavor-card:hover .flavor-card-icon {
    opacity: 0.22;
    transform: scale(1.2) rotate(10deg);
}

.flavor-coming-soon {
    opacity: 0.6;
}

@media (max-width: 900px) {
    .flavors-grid { grid-template-columns: 1fr 1fr; }
    .flavor-coming-soon { display: none; }
}
@media (max-width: 600px) {
    .flavors-grid { grid-template-columns: 1fr; }
    .flavor-coming-soon { display: block; }
}

/* ---- Full Lineup Section ---- */
.juice-lineup-section {
    background: var(--bg-secondary);
    padding: var(--section-padding) 0;
    overflow: hidden;
}

.lineup-content {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 clamp(20px, 4vw, 60px);
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: clamp(40px, 6vw, 80px);
    align-items: center;
}

.lineup-text p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-top: 16px;
}

.lineup-image {
    border-radius: var(--radius-xl);
    overflow: hidden;
    height: clamp(400px, 55vw, 700px);
}

.lineup-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.8s var(--ease-out);
}

.lineup-image:hover img {
    transform: scale(1.04);
}

@media (max-width: 800px) {
    .lineup-content {
        grid-template-columns: 1fr;
    }
    .lineup-image {
        height: 380px;
    }
}

/* CTA brand tag */
.cta-brand-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--tropical-green);
    margin-bottom: 16px;
    padding: 6px 16px;
    background: rgba(45, 212, 160, 0.08);
    border: 1px solid rgba(45, 212, 160, 0.2);
    border-radius: 60px;
}

/* juice tag shared base override for this page */
.juice-tag {
    padding: 5px 14px;
    border-radius: 60px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.03em;
    border: 1px solid;
}

/* btn-tropical override for mango/amber palette on this page */
.theme-tropical .btn-tropical {
    background: #2dd4a0;
    color: #0a0a0a;
}

.theme-tropical .btn-tropical:hover {
    background: #5eead4;
    box-shadow: 0 8px 30px rgba(45, 212, 160, 0.3);
    transform: translateY(-2px);
}

/* ---- Full Flavor Grid (23 flavors) ---- */
.flavors-grid-full {
    grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 1024px) { .flavors-grid-full { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px)  { .flavors-grid-full { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px)  { .flavors-grid-full { grid-template-columns: 1fr; } }

.flavors-grid-full .flavor-card { min-height: 220px; padding: 24px 20px; }

/* New flavor background colors */
.strawberry-bg   { background: radial-gradient(ellipse at top left, rgba(244,63,94,0.12) 0%, transparent 70%); }
.kiwi-bg         { background: radial-gradient(ellipse at top left, rgba(132,204,22,0.12) 0%, transparent 70%); }
.strawkiwi-bg    { background: radial-gradient(ellipse at top left, rgba(244,63,94,0.08) 0%, rgba(132,204,22,0.08) 100%); }
.berry-bg        { background: radial-gradient(ellipse at top left, rgba(124,58,237,0.12) 0%, transparent 70%); }
.pineapple-bg    { background: radial-gradient(ellipse at top left, rgba(234,179,8,0.12) 0%, transparent 70%); }
.blue-bg         { background: radial-gradient(ellipse at top left, rgba(59,130,246,0.14) 0%, transparent 70%); }
.sunrise-bg      { background: radial-gradient(ellipse at top left, rgba(251,146,60,0.12) 0%, transparent 70%); }
.passion-bg      { background: radial-gradient(ellipse at top left, rgba(217,70,239,0.12) 0%, transparent 70%); }
.coconut-bg      { background: radial-gradient(ellipse at top left, rgba(255,255,255,0.07) 0%, transparent 70%); }
.peach-bg        { background: radial-gradient(ellipse at top left, rgba(251,146,60,0.14) 0%, transparent 70%); }
.guava-bg        { background: radial-gradient(ellipse at top left, rgba(244,114,182,0.12) 0%, transparent 70%); }
.dragon-bg       { background: radial-gradient(ellipse at top left, rgba(244,63,94,0.15) 0%, transparent 70%); }
.tamarind-bg     { background: radial-gradient(ellipse at top left, rgba(180,83,9,0.14) 0%, transparent 70%); }
.hibiscus-bg     { background: radial-gradient(ellipse at top left, rgba(244,114,182,0.14) 0%, transparent 70%); }
.prickly-bg      { background: radial-gradient(ellipse at top left, rgba(236,72,153,0.14) 0%, transparent 70%); }
.cantaloupe-bg   { background: radial-gradient(ellipse at top left, rgba(251,191,36,0.12) 0%, transparent 70%); }
.cucumber-bg     { background: radial-gradient(ellipse at top left, rgba(74,222,128,0.12) 0%, transparent 70%); }
.blackberry-bg   { background: radial-gradient(ellipse at top left, rgba(91,33,182,0.14) 0%, transparent 70%); }
.lavender-bg     { background: radial-gradient(ellipse at top left, rgba(167,139,250,0.14) 0%, transparent 70%); }
.pina-bg         { background: radial-gradient(ellipse at top left, rgba(251,191,36,0.10) 0%, rgba(255,255,255,0.06) 100%); }
.mango-passion-bg{ background: radial-gradient(ellipse at top left, rgba(234,179,8,0.10) 0%, rgba(217,70,239,0.08) 100%); }

/* Flavor name badges - new flavors */
.strawberry-badge { background: rgba(244,63,94,0.15); color: #fb7185; border: 1px solid rgba(244,63,94,0.2); }
.kiwi-badge       { background: rgba(132,204,22,0.12); color: #a3e635; border: 1px solid rgba(132,204,22,0.2); }
.strawkiwi-badge  { background: rgba(244,63,94,0.1);  color: #fb7185; border: 1px solid rgba(244,63,94,0.15); }
.berry-badge      { background: rgba(124,58,237,0.12); color: #a78bfa; border: 1px solid rgba(124,58,237,0.2); }
.pineapple-badge  { background: rgba(234,179,8,0.12);  color: #fbbf24; border: 1px solid rgba(234,179,8,0.2); }
.blue-badge       { background: rgba(59,130,246,0.12); color: #60a5fa; border: 1px solid rgba(59,130,246,0.2); }
.sunrise-badge    { background: rgba(251,146,60,0.12); color: #fb923c; border: 1px solid rgba(251,146,60,0.2); }
.passion-badge    { background: rgba(217,70,239,0.12); color: #e879f9; border: 1px solid rgba(217,70,239,0.2); }
.coconut-badge    { background: rgba(255,255,255,0.06); color: #f1f5f9; border: 1px solid rgba(255,255,255,0.1); }
.peach-badge      { background: rgba(251,146,60,0.12); color: #fb923c; border: 1px solid rgba(251,146,60,0.2); }
.guava-badge      { background: rgba(244,114,182,0.12); color: #f472b6; border: 1px solid rgba(244,114,182,0.2); }
.dragon-badge     { background: rgba(244,63,94,0.12);  color: #fb7185; border: 1px solid rgba(244,63,94,0.2); }
.tamarind-badge   { background: rgba(180,83,9,0.15);   color: #f97316; border: 1px solid rgba(180,83,9,0.2); }
.hibiscus-badge   { background: rgba(244,114,182,0.12); color: #f472b6; border: 1px solid rgba(244,114,182,0.2); }
.prickly-badge    { background: rgba(236,72,153,0.12); color: #f472b6; border: 1px solid rgba(236,72,153,0.2); }
.cantaloupe-badge { background: rgba(251,191,36,0.12); color: #fbbf24; border: 1px solid rgba(251,191,36,0.2); }
.cucumber-badge   { background: rgba(74,222,128,0.12); color: #4ade80; border: 1px solid rgba(74,222,128,0.2); }
.blackberry-badge { background: rgba(91,33,182,0.14);  color: #a78bfa; border: 1px solid rgba(91,33,182,0.2); }
.lavender-badge   { background: rgba(167,139,250,0.14); color: #c4b5fd; border: 1px solid rgba(167,139,250,0.2); }
.pina-badge       { background: rgba(251,191,36,0.10); color: #fde68a; border: 1px solid rgba(251,191,36,0.15); }
.mango-passion-badge { background: rgba(234,179,8,0.10); color: #fbbf24; border: 1px solid rgba(234,179,8,0.15); }

/* Juice tags for new flavors */
.strawberry-tag { background: rgba(244,63,94,0.1);   color: #fb7185; border-color: rgba(244,63,94,0.2); }
.kiwi-tag       { background: rgba(132,204,22,0.1);  color: #a3e635; border-color: rgba(132,204,22,0.2); }
.berry-tag      { background: rgba(124,58,237,0.1);  color: #a78bfa; border-color: rgba(124,58,237,0.2); }
.pineapple-tag  { background: rgba(234,179,8,0.1);   color: #fbbf24; border-color: rgba(234,179,8,0.2); }
.blue-tag       { background: rgba(59,130,246,0.1);  color: #60a5fa; border-color: rgba(59,130,246,0.2); }
.sunrise-tag    { background: rgba(251,146,60,0.1);  color: #fb923c; border-color: rgba(251,146,60,0.2); }
.passion-tag    { background: rgba(217,70,239,0.1);  color: #e879f9; border-color: rgba(217,70,239,0.2); }
.coconut-tag    { background: rgba(255,255,255,0.06); color: #f1f5f9; border-color: rgba(255,255,255,0.1); }
.peach-tag      { background: rgba(251,146,60,0.1);  color: #fb923c; border-color: rgba(251,146,60,0.2); }
.guava-tag      { background: rgba(244,114,182,0.1); color: #f472b6; border-color: rgba(244,114,182,0.2); }
.dragon-tag     { background: rgba(244,63,94,0.1);   color: #fb7185; border-color: rgba(244,63,94,0.2); }
.tamarind-tag   { background: rgba(180,83,9,0.12);   color: #f97316; border-color: rgba(180,83,9,0.2); }
.hibiscus-tag   { background: rgba(244,114,182,0.1); color: #f472b6; border-color: rgba(244,114,182,0.2); }
.prickly-tag    { background: rgba(236,72,153,0.1);  color: #f472b6; border-color: rgba(236,72,153,0.2); }
.cantaloupe-tag { background: rgba(251,191,36,0.1);  color: #fbbf24; border-color: rgba(251,191,36,0.2); }
.cucumber-tag   { background: rgba(74,222,128,0.1);  color: #4ade80; border-color: rgba(74,222,128,0.2); }
.blackberry-tag { background: rgba(91,33,182,0.1);   color: #a78bfa; border-color: rgba(91,33,182,0.2); }
.lavender-tag   { background: rgba(167,139,250,0.1); color: #c4b5fd; border-color: rgba(167,139,250,0.2); }

/* ---- Bottle Image on Flavor Cards ---- */
.flavor-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0;
}

/* Always show color glow (not just on hover) */
.flavor-card .flavor-card-color {
    opacity: 0.6;
}
.flavor-card:hover .flavor-card-color {
    opacity: 1;
}

.flavor-card-body {
    position: relative;
    z-index: 1;
    flex: 1;
    min-width: 0;
}

.flavor-bottle-wrap {
    position: relative;
    z-index: 1;
    flex-shrink: 0;
    width: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: -8px;
}

.flavor-bottle-img {
    width: 82px;
    height: 160px;
    object-fit: contain;
    object-position: center bottom;
    filter: drop-shadow(0 8px 24px rgba(0,0,0,0.5));
    transition: transform 0.4s ease;
    display: block;
}

.flavor-card:hover .flavor-bottle-img {
    transform: translateY(-8px) rotate(-2deg);
}

/* When no bottle image — show emoji fallback */
.flavor-card-icon {
    display: none; /* hidden when bottle shown */
}

.flavor-bottle-img[data-no-bottle] + .flavor-card-icon,
.no-bottle .flavor-card-icon {
    display: block;
    position: relative;
    opacity: 0.15;
    font-size: 42px;
    width: 90px;
    text-align: center;
    transition: all 0.4s ease;
}
.no-bottle:hover .flavor-card-icon {
    opacity: 0.25;
    transform: scale(1.15) rotate(8deg);
}

/* Responsive: stack on small screens */
@media (max-width: 500px) {
    .flavor-card {
        flex-direction: column;
        align-items: flex-start;
    }
    .flavor-bottle-wrap {
        align-self: flex-end;
        margin-right: 0;
        margin-top: -40px;
    }
}
.pina-tag       { background: rgba(251,191,36,0.08); color: #fde68a; border-color: rgba(251,191,36,0.15); }

/* ---- Best Seller Badge on Mango Featured ---- */
.ff-bestseller-badge {
    position: absolute;
    top: 18px;
    right: 18px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #000;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 7px 14px;
    border-radius: 30px;
    box-shadow: 0 4px 20px rgba(245,158,11,0.5);
    z-index: 10;
    animation: badge-pulse 2.4s ease-in-out infinite;
}
.ff-bestseller-badge svg {
    flex-shrink: 0;
    color: #000;
}
@keyframes badge-pulse {
    0%, 100% { box-shadow: 0 4px 20px rgba(245,158,11,0.5); }
    50%       { box-shadow: 0 4px 32px rgba(245,158,11,0.85), 0 0 0 4px rgba(245,158,11,0.15); }
}

/* ---- Flavor Cards: clickable ---- */
.flavor-card {
    cursor: pointer;
}
.flavor-card:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
}

/* ---- Flavor Detail Modal ---- */
.flavor-modal {
    position: fixed;
    inset: 0;
    z-index: 9000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
}
.flavor-modal.open {
    pointer-events: all;
    opacity: 1;
    visibility: visible;
}
.flavor-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.78);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.flavor-modal-panel {
    position: relative;
    z-index: 1;
    background: linear-gradient(145deg, #1a1a2e 0%, #111118 100%);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 24px;
    display: flex;
    align-items: stretch;
    max-width: 780px;
    width: 100%;
    min-height: 420px;
    overflow: hidden;
    box-shadow: 0 40px 120px rgba(0,0,0,0.7);
    will-change: transform, opacity;
}
.flavor-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 10;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.12);
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
}
.flavor-modal-close:hover {
    background: rgba(255,255,255,0.15);
    transform: rotate(90deg);
}
.flavor-modal-bottle {
    flex-shrink: 0;
    width: 280px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 32px 24px 0;
    position: relative;
    background: rgba(255,255,255,0.02);
}
.flavor-modal-bottle::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--modal-glow, rgba(255,200,80,0.18)) 0%, transparent 70%);
    pointer-events: none;
}
.flavor-modal-bottle-img {
    width: 200px;
    height: 340px;
    object-fit: contain;
    object-position: center bottom;
    filter: drop-shadow(0 16px 48px rgba(0,0,0,0.6));
    position: relative;
    z-index: 1;
}
.flavor-modal-emoji {
    font-size: 120px;
    line-height: 1;
    opacity: 0.15;
    display: none;
    padding-bottom: 32px;
}
.flavor-modal-bottle.no-bottle .flavor-modal-bottle-img { display: none; }
.flavor-modal-bottle.no-bottle .flavor-modal-emoji { display: block; }

.flavor-modal-info {
    flex: 1;
    padding: 48px 40px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 16px;
}
.flavor-modal-badge {
    display: inline-flex;
    align-self: flex-start;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}
.flavor-modal-name {
    font-family: 'Playfair Display', serif;
    font-size: 2.4rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.1;
    margin: 0;
}
.flavor-modal-desc {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.72);
    line-height: 1.65;
    margin: 0;
}
.flavor-modal-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.flavor-modal-actions {
    margin-top: 8px;
}
.flavor-modal-actions .btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* Responsive */
@media (max-width: 640px) {
    .flavor-modal-panel {
        flex-direction: column;
        max-height: 90vh;
        overflow-y: auto;
    }
    .flavor-modal-bottle {
        width: 100%;
        min-height: 200px;
        padding: 24px 24px 0;
    }
    .flavor-modal-bottle-img {
        width: 140px;
        height: 240px;
    }
    .flavor-modal-info {
        padding: 28px 24px 32px;
    }
    .flavor-modal-name {
        font-size: 1.8rem;
    }
}

/* ============================================
   SCROLL STORY - 3D SPLASH EXPERIENCE
   ============================================ */

.scroll-story {
    position: relative;
    height: 350vh; /* scroll distance that drives the animation */
}

.scroll-story-pin {
    position: sticky;
    top: 0;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #050505;
}

/* ---- Background color wash ---- */
.ss-bg-wash {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center,
        rgba(251,146,60,0.35) 0%,
        rgba(234,179,8,0.2) 30%,
        transparent 70%);
    opacity: 0;
    transform: scale(0.3);
}

/* ---- Rays ---- */
.ss-rays {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
}
.ss-ray {
    position: absolute;
    width: 3px;
    height: 0%;
    background: linear-gradient(to top, transparent, rgba(251,146,60,0.5), transparent);
    transform-origin: center bottom;
    border-radius: 2px;
}
.ray-1 { transform: rotate(0deg)   translateY(-50%); }
.ray-2 { transform: rotate(45deg)  translateY(-50%); }
.ray-3 { transform: rotate(90deg)  translateY(-50%); }
.ray-4 { transform: rotate(135deg) translateY(-50%); }
.ray-5 { transform: rotate(180deg) translateY(-50%); }
.ray-6 { transform: rotate(225deg) translateY(-50%); }
.ray-7 { transform: rotate(270deg) translateY(-50%); }
.ray-8 { transform: rotate(315deg) translateY(-50%); }

/* ---- Splash blobs ---- */
.ss-splashes {
    position: absolute;
    inset: 0;
    pointer-events: none;
}
.ss-splash {
    position: absolute;
    top: 50%; left: 50%;
    border-radius: 50% 45% 55% 48% / 50% 55% 45% 52%;
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
}
.sp-mango     { width:340px; height:280px; background: radial-gradient(ellipse, rgba(251,146,60,0.7), rgba(234,179,8,0.3) 60%, transparent); filter: blur(18px); }
.sp-watermelon{ width:280px; height:260px; background: radial-gradient(ellipse, rgba(239,68,68,0.65), rgba(244,63,94,0.25) 60%, transparent); filter: blur(16px); }
.sp-grape     { width:300px; height:250px; background: radial-gradient(ellipse, rgba(139,92,246,0.6), rgba(124,58,237,0.2) 60%, transparent); filter: blur(18px); }
.sp-strawberry{ width:260px; height:220px; background: radial-gradient(ellipse, rgba(244,114,182,0.65), rgba(251,113,133,0.25) 60%, transparent); filter: blur(15px); }
.sp-blue      { width:240px; height:220px; background: radial-gradient(ellipse, rgba(59,130,246,0.6), rgba(99,102,241,0.2) 60%, transparent); filter: blur(16px); }
.sp-lime      { width:220px; height:200px; background: radial-gradient(ellipse, rgba(74,222,128,0.55), rgba(132,204,22,0.2) 60%, transparent); filter: blur(14px); }

/* ---- Droplets ---- */
.ss-drops {
    position: absolute;
    inset: 0;
    pointer-events: none;
}
.ss-drop {
    position: absolute;
    top: 50%; left: 50%;
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
}
.sd-1  { width:18px; height:18px; background: rgba(251,146,60,0.9); }
.sd-2  { width:12px; height:12px; background: rgba(239,68,68,0.85); }
.sd-3  { width:22px; height:22px; background: rgba(139,92,246,0.8); }
.sd-4  { width:10px; height:10px; background: rgba(244,114,182,0.9); }
.sd-5  { width:16px; height:16px; background: rgba(59,130,246,0.85); }
.sd-6  { width:14px; height:14px; background: rgba(74,222,128,0.8); }
.sd-7  { width:8px;  height:8px;  background: rgba(251,146,60,0.9); }
.sd-8  { width:20px; height:20px; background: rgba(234,179,8,0.85); }
.sd-9  { width:11px; height:11px; background: rgba(239,68,68,0.8); }
.sd-10 { width:15px; height:15px; background: rgba(139,92,246,0.85); }

/* ---- 3D Bottle canvas ---- */
.bottle-canvas {
    position: absolute;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    z-index: 10;
    pointer-events: none;
}

/* ---- Scroll-scrubbed splash video ---- */
.splash-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 5;           /* behind canvas (z-index 10) so bottle sits in front */
    pointer-events: none;
    opacity: 1;
    transition: none;
}

/* ---- Copy text ---- */
.ss-copy {
    position: absolute;
    bottom: 5%;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    opacity: 0;
    z-index: 20;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 28px 48px 24px;
    white-space: nowrap;
}
.ss-label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 12px;
}
.ss-heading {
    font-family: var(--font-display);
    font-size: clamp(36px, 5vw, 64px);
    font-weight: 700;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 16px;
}
.ss-heading em {
    font-style: italic;
    color: var(--accent);
}
.ss-sub {
    font-size: 16px;
    color: rgba(255,255,255,0.6);
    max-width: 440px;
}
