/* ==========================================================
   REFRIDEV — SISTEMA DE DESIGN RESPONSIVO PREMIUM & VERCEL READY
   ========================================================== */

:root {
    --bg-base: #0a0b0e;
    --text-main: #ffffff;
    --text-muted: rgba(255, 255, 255, 0.75);
    --text-dim: rgba(255, 255, 255, 0.45);
    --glass-bg: rgba(255, 255, 255, 0.07);
    --glass-border: rgba(255, 255, 255, 0.12);
    --glass-hover: rgba(255, 255, 255, 0.16);
    --font-heading: 'Syne', -apple-system, sans-serif;
    --font-body: 'Plus Jakarta Sans', -apple-system, sans-serif;
    --transition-smooth: cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: var(--bg-base);
    color: var(--text-main);
    font-family: var(--font-body);
    user-select: none;
    -webkit-font-smoothing: antialiased;
}

/* ==========================================================
   CONFETTI CANVAS (CHECKOUT)
   ========================================================== */
#confettiCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 9999;
}

/* ==========================================================
   AMBIENT GLOW & PARTICLES
   ========================================================== */
.ambient-glow {
    position: fixed;
    top: 50%;
    left: 65%;
    transform: translate(-50%, -50%);
    width: min(800px, 90vw);
    height: min(800px, 90vw);
    border-radius: 50%;
    background: radial-gradient(circle, var(--current-glow, rgba(234, 61, 65, 0.4)) 0%, transparent 70%);
    filter: blur(90px);
    pointer-events: none;
    z-index: 1;
    transition: background 0.8s var(--transition-smooth);
}

.bubbles-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
    overflow: hidden;
}

.bubble {
    position: absolute;
    bottom: -30px;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.05));
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    animation: bubbleRise linear forwards;
}

@keyframes bubbleRise {
    0% {
        transform: translateY(0) scale(0.8) rotate(0deg);
        opacity: 0;
    }
    15% {
        opacity: 0.7;
    }
    85% {
        opacity: 0.7;
    }
    100% {
        transform: translateY(-110vh) scale(1.3) rotate(360deg);
        opacity: 0;
    }
}

/* ==========================================================
   HEADER / NAVBAR
   ========================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 85px;
    padding: 0 5%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 50;
    background: linear-gradient(180deg, rgba(10, 11, 14, 0.85) 0%, transparent 100%);
    backdrop-filter: blur(12px);
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-main);
    font-family: var(--font-heading);
    font-size: 1.45rem;
    letter-spacing: 1px;
}

.logo-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.logo-text strong {
    color: #ff4757;
    font-weight: 900;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 10px 24px;
    border-radius: 40px;
    backdrop-filter: blur(20px);
}

.nav-link {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.92rem;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.nav-link:hover, .nav-link.active {
    color: #ffffff;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 5px;
    height: 5px;
    background: #ffffff;
    border-radius: 50%;
    box-shadow: 0 0 10px #ffffff;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Som / Audio Toggle */
.btn-icon {
    display: flex;
    align-items: center;
    gap: 8px;
    height: 42px;
    padding: 0 16px;
    border-radius: 30px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--text-main);
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 0.82rem;
    font-weight: 700;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.btn-icon:hover {
    background: var(--glass-hover);
    transform: scale(1.03);
}

.sound-wave {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    height: 14px;
}

.sound-wave span {
    width: 3px;
    height: 100%;
    background: #10b981;
    border-radius: 3px;
    animation: soundBounce 1s infinite alternate ease-in-out;
}

.sound-wave span:nth-child(2) {
    animation-delay: 0.2s;
    height: 60%;
}
.sound-wave span:nth-child(3) {
    animation-delay: 0.4s;
    height: 80%;
}

.btn-icon.muted .sound-wave span {
    animation: none;
    height: 3px;
    background: var(--text-dim);
}

@keyframes soundBounce {
    0% { height: 20%; }
    100% { height: 100%; }
}

.btn-cart {
    position: relative;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--text-main);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-cart:hover {
    background: var(--glass-hover);
    transform: scale(1.08);
}

.cart-count {
    position: absolute;
    top: -3px;
    right: -3px;
    background: #ff4757;
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 800;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 10px rgba(255, 71, 87, 0.6);
}

.btn-primary {
    padding: 12px 24px;
    background: #ffffff;
    color: #0c0d12;
    border: none;
    border-radius: 30px;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.92rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
    background: #f1f2f6;
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(255, 255, 255, 0.35);
}

/* ==========================================================
   SLIDER & SLIDES
   ========================================================== */
.slider {
    position: relative;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
}

.item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    display: flex;
    align-items: center;
    padding: 0 8%;
    background: radial-gradient(circle at 70% 50%, var(--theme-dark) 0%, var(--bg-base) 65%);
    transition: opacity 0.8s var(--transition-smooth), visibility 0.8s;
    z-index: 5;
}

.item.active {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
    z-index: 10;
}

/* Watermark */
.watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--font-heading);
    font-size: clamp(5.5rem, 18vw, 22rem);
    font-weight: 900;
    letter-spacing: -2px;
    color: transparent;
    -webkit-text-stroke: 2px rgba(255, 255, 255, 0.07);
    text-transform: uppercase;
    white-space: nowrap;
    z-index: 3;
    pointer-events: none;
    transition: transform 1.2s var(--transition-smooth), opacity 0.8s;
}

.item.active .watermark {
    animation: zoomWatermark 1.2s var(--transition-smooth) forwards;
}

@keyframes zoomWatermark {
    from {
        transform: translate(-50%, -50%) scale(0.85);
        opacity: 0;
    }
    to {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
}

/* ==========================================================
   SLIDE CONTENT
   ========================================================== */
.slide-content {
    position: relative;
    max-width: 520px;
    z-index: 20;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.flavor-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-main);
    width: fit-content;
    backdrop-filter: blur(10px);
}

.tag-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--theme-color);
    box-shadow: 0 0 10px var(--theme-color);
}

.title {
    font-family: var(--font-heading);
    font-size: clamp(2.4rem, 4.8vw, 4.4rem);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -1px;
}

.title .highlight {
    background: linear-gradient(135deg, #ffffff 30%, var(--theme-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.description {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-muted);
}

/* Seletor de Packs */
.pack-selector {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 4px;
}

.pack-title {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pack-options {
    display: flex;
    gap: 8px;
}

.pack-btn {
    flex: 1;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 10px 12px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 14px;
    color: var(--text-muted);
    font-family: var(--font-body);
    cursor: pointer;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.pack-btn:hover {
    background: var(--glass-hover);
    color: #ffffff;
}

.pack-btn.active {
    background: rgba(255, 255, 255, 0.16);
    border-color: #ffffff;
    color: #ffffff;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.15);
}

.pack-name {
    font-size: 0.88rem;
    font-weight: 800;
}

.pack-detail {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text-dim);
}

.pack-btn.active .pack-detail {
    color: #ffffff;
}

.pack-badge {
    position: absolute;
    top: -8px;
    right: 6px;
    background: #ff4757;
    color: #ffffff;
    font-size: 0.62rem;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 10px;
    text-transform: uppercase;
}

.pack-badge.green {
    background: #10b981;
}

/* Link Modal Tabela Nutricional */
.modal-trigger-row {
    margin-top: -2px;
}

.btn-text-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 4px;
    transition: color 0.3s ease;
}

.btn-text-link:hover {
    color: #ffffff;
}

.action-row {
    display: flex;
    align-items: center;
    gap: 22px;
    margin-top: 6px;
}

.price-box {
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.price-box .currency {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-muted);
}

.price-box .price {
    font-family: var(--font-heading);
    font-size: 2.3rem;
    font-weight: 900;
    color: #ffffff;
}

.btn-buy {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 15px 30px;
    background: var(--theme-color);
    color: #ffffff;
    border: none;
    border-radius: 36px;
    font-family: var(--font-body);
    font-weight: 800;
    font-size: 0.98rem;
    cursor: pointer;
    box-shadow: 0 10px 30px var(--theme-glow);
    transition: all 0.3s var(--transition-smooth);
}

.btn-buy:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 40px var(--theme-glow);
    filter: brightness(1.1);
}

.btn-buy:active {
    transform: translateY(0) scale(0.98);
}

/* Animações de entrada do conteúdo */
.item.active .flavor-tag { animation: slideUpFade 0.6s 0.1s var(--transition-smooth) both; }
.item.active .title { animation: slideUpFade 0.7s 0.2s var(--transition-smooth) both; }
.item.active .description { animation: slideUpFade 0.7s 0.3s var(--transition-smooth) both; }
.item.active .pack-selector { animation: slideUpFade 0.7s 0.4s var(--transition-smooth) both; }
.item.active .modal-trigger-row { animation: slideUpFade 0.7s 0.45s var(--transition-smooth) both; }
.item.active .action-row { animation: slideUpFade 0.7s 0.5s var(--transition-smooth) both; }

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

/* ==========================================================
   VISUAL ASSETS (CAN & FRUITS)
   ========================================================== */
.visual-container {
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    pointer-events: none;
    z-index: 10;
}

.fruit {
    position: absolute;
    top: 50%;
    left: 45%;
    transform: translate(-50%, -50%);
    width: 85%;
    max-width: 900px;
    object-fit: contain;
    z-index: 15;
    pointer-events: none;
}

.item.active .fruit {
    animation: fruitEntrance 1.1s var(--transition-smooth) forwards,
               floatFruit 6s 1.2s ease-in-out infinite alternate;
}

@keyframes fruitEntrance {
    from {
        opacity: 0;
        transform: translate(-50%, -40%) scale(1.15) rotate(-5deg);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1) rotate(0deg);
    }
}

@keyframes floatFruit {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    50% { transform: translate(-50%, -53%) rotate(2deg); }
    100% { transform: translate(-50%, -47%) rotate(-2deg); }
}

.can-wrapper {
    position: absolute;
    top: 50%;
    left: 45%;
    transform: translate(-50%, -50%);
    z-index: 12;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.refrigerator {
    width: clamp(260px, 30vw, 440px);
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 25px 50px rgba(0, 0, 0, 0.75));
    transition: transform 0.1s ease-out;
}

.item.active .can-wrapper {
    animation: canEntrance 1s 0.15s var(--transition-smooth) both,
               floatCan 5s 1.2s ease-in-out infinite alternate;
}

@keyframes canEntrance {
    from {
        opacity: 0;
        transform: translate(-50%, -20%) scale(0.7) rotate(8deg);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1) rotate(0deg);
    }
}

@keyframes floatCan {
    0% { transform: translate(-50%, -50%) translateY(0); }
    100% { transform: translate(-50%, -50%) translateY(-18px); }
}

.can-shadow {
    width: 220px;
    height: 24px;
    background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.6) 0%, transparent 75%);
    border-radius: 50%;
    margin-top: -15px;
    animation: shadowPulse 5s 1.2s ease-in-out infinite alternate;
}

@keyframes shadowPulse {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(0.8); opacity: 0.4; }
}

/* ==========================================================
   BOTTOM CONTROLS
   ========================================================== */
.bottom-bar {
    position: fixed;
    bottom: 30px;
    left: 8%;
    right: 8%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 40;
    pointer-events: none;
}

.slide-counter {
    display: flex;
    align-items: baseline;
    gap: 6px;
    font-family: var(--font-heading);
    font-weight: 800;
}

.current-num { font-size: 1.8rem; color: #ffffff; }
.divider { color: var(--text-dim); font-size: 1.2rem; }
.total-num { color: var(--text-dim); font-size: 1.2rem; }

.flavor-selector {
    pointer-events: all;
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 6px;
    border-radius: 40px;
    backdrop-filter: blur(20px);
}

.flavor-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: transparent;
    border: none;
    border-radius: 30px;
    color: var(--text-muted);
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.88rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.flavor-btn .color-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.flavor-btn:hover { color: #ffffff; }

.flavor-btn.active {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.flavor-btn.active .color-dot {
    transform: scale(1.3);
    box-shadow: 0 0 10px currentColor;
}

.arrow-controls {
    pointer-events: all;
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-btn {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    backdrop-filter: blur(16px);
    transition: all 0.3s var(--transition-smooth);
}

.nav-btn:hover {
    background: #ffffff;
    color: #0c0d12;
    transform: scale(1.08);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.25);
}

/* ==========================================================
   SIDEBAR / GAVETA DA SACOLA (CART DRAWER)
   ========================================================== */
.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    opacity: 0;
    visibility: hidden;
    z-index: 100;
    transition: all 0.4s var(--transition-smooth);
}

.cart-overlay.open {
    opacity: 1;
    visibility: visible;
}

.cart-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: min(440px, 100vw);
    height: 100vh;
    background: #111218;
    border-left: 1px solid var(--glass-border);
    z-index: 101;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.45s var(--transition-smooth);
    box-shadow: -10px 0 50px rgba(0, 0, 0, 0.8);
}

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

.cart-drawer-header {
    padding: 24px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--glass-border);
}

.cart-drawer-title {
    display: flex;
    align-items: center;
    gap: 12px;
}

.cart-drawer-title h2 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 800;
}

.cart-badge-total {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-muted);
}

.btn-close-drawer {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--text-main);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.btn-close-drawer:hover {
    background: #ffffff;
    color: #0c0d12;
}

/* Lista de Itens */
.cart-items-list {
    flex: 1;
    overflow-y: auto;
    padding: 20px 28px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cart-items-list::-webkit-scrollbar {
    width: 5px;
}
.cart-items-list::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
}

.cart-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: var(--text-dim);
    gap: 12px;
    text-align: center;
}

.cart-empty-icon {
    font-size: 3rem;
    opacity: 0.5;
}

.cart-item-card {
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 12px 16px;
    border-radius: 16px;
}

.cart-item-img {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.cart-item-info {
    flex: 1;
}

.cart-item-name {
    font-weight: 800;
    font-size: 0.95rem;
    margin-bottom: 2px;
}

.cart-item-pack {
    font-size: 0.75rem;
    color: var(--text-dim);
    margin-bottom: 4px;
}

.cart-item-price {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1rem;
    color: #ffffff;
}

.cart-qty-ctrls {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 3px 8px;
}

.btn-qty {
    background: transparent;
    border: none;
    color: #ffffff;
    cursor: pointer;
    font-weight: 800;
    font-size: 0.9rem;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qty-val {
    font-weight: 700;
    font-size: 0.85rem;
    min-width: 14px;
    text-align: center;
}

.btn-remove-item {
    background: transparent;
    border: none;
    color: #ff4757;
    cursor: pointer;
    font-size: 0.8rem;
    padding: 4px;
    margin-left: 4px;
}

/* Cupom */
.coupon-section {
    padding: 16px 28px;
    border-top: 1px solid var(--glass-border);
    background: rgba(0, 0, 0, 0.2);
}

.coupon-input-wrapper {
    display: flex;
    gap: 8px;
}

.coupon-input-wrapper input {
    flex: 1;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    padding: 10px 14px;
    color: #ffffff;
    font-family: var(--font-body);
    font-size: 0.85rem;
    outline: none;
}

.coupon-input-wrapper input:focus {
    border-color: #ffffff;
}

.coupon-input-wrapper button {
    background: #ffffff;
    color: #0c0d12;
    border: none;
    border-radius: 10px;
    padding: 0 16px;
    font-weight: 800;
    font-size: 0.85rem;
    cursor: pointer;
}

.coupon-feedback {
    font-size: 0.78rem;
    font-weight: 700;
    margin-top: 6px;
}
.coupon-feedback.success { color: #10b981; }
.coupon-feedback.error { color: #ff4757; }

/* Rodapé do Carrinho */
.cart-drawer-footer {
    padding: 20px 28px 30px;
    border-top: 1px solid var(--glass-border);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cart-summary-line {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.free-shipping {
    color: #10b981;
    font-weight: 800;
}

.total-line {
    font-size: 1.25rem;
    font-weight: 900;
    color: #ffffff;
    margin-top: 4px;
    padding-top: 10px;
    border-top: 1px dashed var(--glass-border);
}

.btn-checkout {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 16px;
    background: #10b981;
    color: #ffffff;
    border: none;
    border-radius: 30px;
    font-family: var(--font-body);
    font-weight: 800;
    font-size: 1rem;
    cursor: pointer;
    box-shadow: 0 8px 30px rgba(16, 185, 129, 0.4);
    transition: all 0.3s ease;
    margin-top: 6px;
}

.btn-checkout:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(16, 185, 129, 0.6);
    filter: brightness(1.1);
}

/* ==========================================================
   MODAL DE TABELA NUTRICIONAL
   ========================================================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    opacity: 0;
    visibility: hidden;
    z-index: 200;
    transition: all 0.35s var(--transition-smooth);
}

.modal-overlay.open {
    opacity: 1;
    visibility: visible;
}

.modal-nutrition {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    width: min(500px, 90vw);
    background: #14161f;
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 32px;
    z-index: 201;
    opacity: 0;
    visibility: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.9);
    transition: all 0.35s var(--transition-smooth);
}

.modal-nutrition.open {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

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

.modal-badge {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    color: #ffffff;
}

.btn-close-modal {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--text-main);
    width: 34px;
    height: 34px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 0.85rem;
}

.modal-title {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 900;
    margin-bottom: 4px;
}

.modal-origin {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.nutri-table {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 20px;
}

.nutri-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 18px;
    font-size: 0.9rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nutri-row:last-child {
    border-bottom: none;
}

.nutri-row.header-row {
    background: var(--glass-bg);
    font-weight: 800;
    font-size: 0.8rem;
    text-transform: uppercase;
    color: var(--text-dim);
}

.seals-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.seal-item {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 10px 6px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    text-align: center;
}

.seal-item span {
    font-size: 1.3rem;
}

.seal-item small {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--text-muted);
}

/* ==========================================================
   TOAST NOTIFICATION
   ========================================================== */
.toast {
    position: fixed;
    bottom: -80px;
    left: 50%;
    transform: translateX(-50%);
    background: #ffffff;
    color: #0c0d12;
    padding: 14px 28px;
    border-radius: 40px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 0.95rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    z-index: 300;
    transition: bottom 0.5s var(--transition-smooth);
}

.toast.show {
    bottom: 100px;
}

.toast-icon {
    width: 24px;
    height: 24px;
    background: #10b981;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 900;
}

/* ==========================================================
   RESPONSIVIDADE AVANÇADA (TODAS AS TELAS)
   ========================================================== */

/* Telas Ultrawide / 4K (> 1600px) */
@media (min-width: 1600px) {
    .slide-content { max-width: 620px; }
    .title { font-size: 5rem; }
    .description { font-size: 1.15rem; }
    .refrigerator { width: 480px; }
    .fruit { width: 950px; }
}

/* Laptops / Desktops Médios (1024px - 1366px) */
@media (max-width: 1200px) {
    .header { padding: 0 4%; }
    .nav-links { gap: 20px; padding: 8px 18px; }
    .item { padding: 0 6%; }
    .slide-content { max-width: 440px; gap: 14px; }
    .title { font-size: 3.4rem; }
    .refrigerator { width: 340px; }
}

/* Tablets (768px - 1024px) */
@media (max-width: 1024px) {
    .nav-links { display: none; }
    .visual-container { width: 55%; }
    .slide-content { max-width: 400px; }
    .refrigerator { width: 300px; }
    .fruit { width: 90%; }
}

/* Tablets Verticais & Smartphones Grandes (481px - 768px) */
@media (max-width: 768px) {
    .header { height: 70px; padding: 0 5%; }
    .sound-label { display: none; }
    .slider { height: 100vh; }
    .item {
        flex-direction: column;
        justify-content: flex-start;
        padding: 85px 6% 110px;
        text-align: center;
        background: radial-gradient(circle at 50% 30%, var(--theme-dark) 0%, var(--bg-base) 80%);
    }
    .slide-content {
        max-width: 100%;
        align-items: center;
        z-index: 25;
        gap: 12px;
    }
    .flavor-tag { font-size: 0.75rem; padding: 6px 12px; }
    .title { font-size: 2.5rem; }
    .description { font-size: 0.92rem; max-width: 480px; }
    .pack-selector { width: 100%; max-width: 380px; }
    .action-row { justify-content: center; gap: 16px; margin-top: 2px; }
    .btn-buy { padding: 12px 24px; font-size: 0.92rem; }
    .price-box .price { font-size: 1.9rem; }
    .watermark { top: 30%; font-size: 16vw; }
    .visual-container {
        position: relative;
        width: 100%;
        height: 240px;
        margin-top: 8px;
    }
    .fruit { left: 50%; width: 90%; max-width: 450px; }
    .can-wrapper { left: 50%; }
    .refrigerator { width: 190px; }
    .bottom-bar { bottom: 18px; left: 5%; right: 5%; }
    .flavor-selector span:not(.color-dot) { display: none; }
    .flavor-btn { padding: 10px; }
}

/* Smartphones Pequenos (320px - 480px) */
@media (max-width: 480px) {
    .header { height: 60px; padding: 0 4%; }
    .logo-text { font-size: 1.15rem; }
    .logo-badge { width: 30px; height: 30px; }
    .btn-icon { height: 36px; padding: 0 10px; }
    .btn-cart { width: 38px; height: 38px; }
    .btn-primary { display: none; } /* Mantém foco no CTA do slide */

    .item {
        padding: 70px 4% 95px;
    }
    .title { font-size: 2.1rem; }
    .description { font-size: 0.85rem; line-height: 1.45; }
    .pack-selector { max-width: 320px; }
    .pack-btn { padding: 6px 8px; }
    .pack-name { font-size: 0.78rem; }
    .pack-detail { font-size: 0.68rem; }
    
    .visual-container { height: 190px; margin-top: 4px; }
    .refrigerator { width: 155px; }
    .fruit { width: 95%; }

    .action-row { gap: 12px; }
    .btn-buy { padding: 10px 18px; font-size: 0.88rem; }
    .price-box .price { font-size: 1.6rem; }

    .bottom-bar { bottom: 12px; }
    .nav-btn { width: 44px; height: 44px; }
    .current-num { font-size: 1.4rem; }

    .cart-drawer { width: 100vw; }
    .modal-nutrition { padding: 22px 18px; }
    .seals-grid { grid-template-columns: repeat(2, 1fr); gap: 6px; }
}