/* ========================================
   MARISCOS PRADOS — ULTRA PREMIUM STYLES v1.0
   Mobile-First · Dark Theme · Ocean Elegance
   ======================================== */
:root {
    --primary: #1565C0;
    --primary-light: #42A5F5;
    --primary-dark: #0D47A1;
    --primary-glow: rgba(21,101,192,0.35);
    --accent: #C62828;
    --accent-light: #EF5350;
    --silver: #B0BEC5;
    --gold: #C0C0C0;
    --bg-dark: #06080D;
    --bg-card: #0A0F18;
    --bg-card-hover: #121825;
    --bg-surface: #0E1320;
    --bg-elevated: #141C2C;
    --text-white: #FFFFFF;
    --text-light: #D0D8E8;
    --text-gray: #8898A8;
    --text-muted: #505868;
    --success: #25D366;
    --danger: #E53935;
    --border: rgba(255,255,255,0.06);
    --border-light: rgba(255,255,255,0.10);
    --shadow-primary: rgba(21,101,192,0.28);
    --shadow-deep: rgba(0,0,0,0.65);
    --gradient-premium: linear-gradient(135deg, #1565C0 0%, #0D47A1 100%);
    --gradient-gold: linear-gradient(135deg, #C62828, #EF5350);
    --gradient-card: linear-gradient(180deg, rgba(21,101,192,0.06), transparent);
    --gradient-ocean: linear-gradient(135deg, #0D47A1 0%, #1565C0 50%, #42A5F5 100%);
    --font-display: 'Cinzel', serif;
    --font-body: 'Montserrat', sans-serif;
    --radius-sm: 12px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 50px;
    --anim-fast: .2s;
    --anim-med: .35s;
    --anim-slow: .6s;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: var(--font-body);
    background: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; outline: none; font-family: var(--font-body); }

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-dark); }
::-webkit-scrollbar-thumb { background: rgba(21,101,192,.4); border-radius: 3px; }

/* ════════════════════════════════════════
   WELCOME SCREEN
════════════════════════════════════════ */
.welcome-screen {
    position: fixed; inset: 0; z-index: 9999;
    display: flex; align-items: center; justify-content: center;
    background: radial-gradient(ellipse at 50% 30%, #0A1628 0%, #06080D 70%);
    overflow: hidden;
}
.welcome-overlay {
    position: absolute; inset: 0;
    background: 
        radial-gradient(circle at 30% 60%, rgba(21,101,192,.08) 0%, transparent 50%),
        radial-gradient(circle at 70% 30%, rgba(198,40,40,.06) 0%, transparent 50%);
}
.welcome-particles {
    position: absolute; inset: 0; overflow: hidden; pointer-events: none;
}
.welcome-particle {
    position: absolute; bottom: -20px;
    animation: floatUp 8s linear infinite;
    opacity: 0;
}
@keyframes floatUp {
    0%   { transform: translateY(0) rotate(0); opacity: 0; }
    10%  { opacity: .6; }
    90%  { opacity: .6; }
    100% { transform: translateY(-100vh) rotate(360deg); opacity: 0; }
}
.welcome-content {
    position: relative; z-index: 2;
    text-align: center; padding: 24px;
    max-width: 500px; width: 100%;
}
.welcome-logo-container {
    position: relative;
    width: 200px; height: 200px;
    margin: 0 auto 24px;
    display: flex; align-items: center; justify-content: center;
}
.welcome-logo-glow {
    position: absolute; inset: -20px;
    background: radial-gradient(circle, rgba(21,101,192,.25), transparent 70%);
    border-radius: 50%; animation: pulseGlow 3s ease-in-out infinite;
}
@keyframes pulseGlow {
    0%, 100% { transform: scale(1); opacity: .6; }
    50%      { transform: scale(1.1); opacity: 1; }
}
.welcome-logo-ring {
    position: absolute; inset: -10px;
    border: 2px solid rgba(21,101,192,.2);
    border-radius: 50%; animation: spinRing 12s linear infinite;
}
.welcome-logo-ring.ring2 {
    inset: -20px; border-color: rgba(198,40,40,.15);
    animation-direction: reverse; animation-duration: 18s;
}
@keyframes spinRing {
    to { transform: rotate(360deg); }
}
.welcome-logo-img {
    width: 160px; height: 160px;
    object-fit: contain; position: relative; z-index: 1;
    filter: drop-shadow(0 4px 20px rgba(21,101,192,.3));
    border-radius: 50%;
}
.welcome-title {
    font-family: var(--font-display);
    font-size: clamp(24px, 6vw, 38px);
    font-weight: 700; letter-spacing: 3px;
    color: #fff;
    text-shadow: 0 2px 20px rgba(21,101,192,.4);
    margin-bottom: 4px;
}
.welcome-subtitle {
    font-size: 14px; color: var(--accent-light);
    font-weight: 500; letter-spacing: 2px;
    text-transform: uppercase; margin-bottom: 28px;
}
.welcome-btn {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 16px 36px; font-size: 15px; font-weight: 700;
    color: #fff; background: var(--gradient-premium);
    border: none; border-radius: var(--radius-full);
    box-shadow: 0 6px 30px var(--shadow-primary);
    transition: all .3s; text-transform: uppercase;
    letter-spacing: 1px;
}
.welcome-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 40px var(--shadow-primary); }
.welcome-divider {
    display: flex; align-items: center; gap: 12px;
    margin: 28px 0;
}
.divider-line { flex: 1; height: 1px; background: linear-gradient(to right, transparent, rgba(21,101,192,.3), transparent); }
.divider-diamond { color: var(--primary-light); font-size: 10px; }
.welcome-prices {
    display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
}
.price-card-welcome {
    padding: 16px 12px; border-radius: var(--radius-md);
    background: rgba(21,101,192,.08); border: 1px solid rgba(21,101,192,.2);
    cursor: pointer; transition: all .3s;
}
.price-card-welcome:hover { transform: translateY(-2px); background: rgba(21,101,192,.12); }
.price-card-welcome .price-days { font-size: 11px; color: var(--text-gray); font-weight: 600; text-transform: uppercase; letter-spacing: .5px; }
.price-card-welcome .price-amount { font-family: var(--font-display); font-size: 28px; font-weight: 700; color: #fff; margin: 4px 0; }
.price-card-welcome .price-note { font-size: 10px; color: var(--text-muted); }
.price-card-welcome .price-badge { font-size: 9px; font-weight: 800; color: var(--accent-light); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 4px; }
.price-card-welcome.price-special { background: rgba(198,40,40,.08); border-color: rgba(198,40,40,.3); }

/* ════════════════════════════════════════
   MAIN APP
════════════════════════════════════════ */
.main-app { display: none; }
.main-app.visible { display: block; animation: fadeInApp .6s ease; }
@keyframes fadeInApp { from { opacity: 0; } to { opacity: 1; } }

/* ── HEADER ── */
.app-header {
    position: relative; z-index: 100;
    background: linear-gradient(180deg, var(--bg-dark) 60%, transparent);
    padding: 14px 16px 10px;
    transition: transform .35s ease;
}
.app-header.header-scrolled-down { transform: translateY(-100%); }
.app-header.header-scrolled-up { transform: translateY(0); }
.header-inner {
    display: flex; justify-content: space-between; align-items: center;
    max-width: 600px; margin: 0 auto;
}
.header-brand { display: flex; align-items: center; gap: 10px; }
.header-logo-img {
    height: 42px; width: 42px; object-fit: contain;
    border-radius: 50%; border: 2px solid rgba(21,101,192,.3);
}
.header-text {}
.header-title {
    font-family: var(--font-display);
    font-size: 16px; font-weight: 700;
    color: #fff; letter-spacing: 1px;
}
.header-tagline { font-size: 10px; color: var(--accent-light); font-weight: 500; letter-spacing: .5px; }
.header-actions-row { display: flex; align-items: center; gap: 8px; }
.btn-header-account {
    display: flex; align-items: center; gap: 6px;
    padding: 8px 14px; font-size: 12px; font-weight: 600;
    color: var(--text-gray); background: transparent;
    border: 1px solid rgba(255,255,255,.15);
    border-radius: var(--radius-full); transition: all .25s;
}
.btn-header-account:hover { color: var(--primary-light); border-color: var(--primary-light); }
.cart-btn {
    position: relative; width: 42px; height: 42px;
    border-radius: 50%; background: var(--gradient-premium);
    color: #fff; font-size: 18px;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 16px var(--shadow-primary);
    transition: all .25s;
}
.cart-btn:hover { transform: scale(1.08); }
.cart-badge {
    position: absolute; top: -4px; right: -4px;
    min-width: 20px; height: 20px;
    background: var(--accent); color: #fff;
    border-radius: 20px; font-size: 11px; font-weight: 800;
    display: flex; align-items: center; justify-content: center;
    padding: 0 5px; border: 2px solid var(--bg-dark);
}

/* ── CATEGORY NAV ── */
.category-nav-sticky-wrap {
    position: sticky; top: 0; z-index: 90;
    background: linear-gradient(180deg, var(--bg-dark) 80%, transparent);
    padding: 6px 0 10px;
}
.category-nav { max-width: 600px; margin: 0 auto; padding: 0 12px; }
.category-nav-inner {
    display: flex; gap: 8px; overflow-x: auto;
    scrollbar-width: none; -ms-overflow-style: none;
    padding: 4px 0;
}
.category-nav-inner::-webkit-scrollbar { display: none; }
.cat-chip {
    display: flex; flex-direction: column; align-items: center; gap: 4px;
    padding: 6px 10px; min-width: 64px;
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius-md); color: var(--text-gray);
    font-size: 10px; font-weight: 600; transition: all .25s;
    flex-shrink: 0; cursor: pointer;
}
.cat-chip.active {
    background: rgba(21,101,192,.15); border-color: var(--primary);
    color: #fff; box-shadow: 0 2px 12px var(--shadow-primary);
}
.cat-chip-icon {
    width: 36px; height: 36px; border-radius: 10px;
    overflow: hidden; background: var(--bg-elevated);
    display: flex; align-items: center; justify-content: center;
    font-size: 20px;
}
.cat-chip-img { width: 100%; height: 100%; object-fit: cover; }
.cat-logo-img { border-radius: 50%; }
.cat-chip-label { white-space: nowrap; }

/* ── NAV DRAWER ── */
.nav-overlay {
    position: fixed; inset: 0; z-index: 999;
    background: rgba(0,0,0,.6); backdrop-filter: blur(4px);
    opacity: 0; visibility: hidden; transition: all .3s;
}
.nav-overlay.open { opacity: 1; visibility: visible; }
.nav-drawer {
    position: fixed; top: 0; right: 0; bottom: 0;
    width: 280px; z-index: 1000;
    background: var(--bg-surface); border-left: 1px solid var(--border);
    transform: translateX(100%); transition: transform .3s ease;
    display: flex; flex-direction: column;
}
.nav-drawer.open { transform: translateX(0); }
.nav-drawer-header {
    display: flex; justify-content: space-between; align-items: center;
    padding: 18px 20px; border-bottom: 1px solid var(--border);
}
.nav-drawer-links {
    flex: 1; overflow-y: auto; padding: 14px 0;
}
.nav-drawer-links a {
    display: flex; align-items: center; gap: 12px;
    padding: 12px 20px; font-size: 14px; font-weight: 500;
    color: var(--text-light); transition: all .2s;
}
.nav-drawer-links a:hover { background: rgba(21,101,192,.08); color: #fff; }
.nav-drawer-links a i { width: 20px; text-align: center; color: var(--primary-light); }
.nav-divider { height: 1px; background: var(--border); margin: 10px 20px; }
.nav-drawer-footer {
    padding: 14px 20px; border-top: 1px solid var(--border);
    font-size: 11px; color: var(--text-muted); text-align: center;
}

/* ── FLOATING NAV BTN ── */
.floating-nav-btn {
    position: fixed; bottom: 20px; right: 16px;
    width: 52px; height: 52px; z-index: 500;
    border-radius: 50%; background: var(--gradient-premium);
    border: 2px solid rgba(255,255,255,.15);
    box-shadow: 0 4px 20px var(--shadow-primary);
    display: flex; align-items: center; justify-content: center;
    transition: all .3s; overflow: hidden;
}
.floating-nav-btn:hover { transform: scale(1.1); }
.fnb-logo { width: 36px; height: 36px; object-fit: contain; border-radius: 50%; }
.fnb-icon { color: #fff; font-size: 20px; }

/* ════════════════════════════════════════
   MENU CONTENT
════════════════════════════════════════ */
.menu-content {
    max-width: 600px; margin: 0 auto;
    padding: 10px 14px 100px;
}

/* ── SECTION ── */
.menu-section { margin-bottom: 32px; }
.section-header { text-align: center; margin-bottom: 18px; }
.section-title {
    font-family: var(--font-display);
    font-size: clamp(18px, 5vw, 24px);
    font-weight: 700; color: #fff;
    letter-spacing: 1px;
}
.section-desc {
    font-size: 13px; color: var(--text-gray);
    margin-top: 4px; line-height: 1.5;
}
.section-line {
    width: 60px; height: 3px; margin: 10px auto 0;
    background: var(--gradient-premium); border-radius: 3px;
}

/* ── PRODUCT GRID ── */
.donut-grid {
    display: grid; grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}
@media (min-width: 500px) {
    .donut-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ── PRODUCT CARD ── */
.product-card {
    position: relative;
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden; cursor: pointer;
    transition: all .3s;
}
.product-card:hover {
    border-color: rgba(21,101,192,.3);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,.4);
}
.product-card-img {
    width: 100%; aspect-ratio: 1;
    object-fit: cover;
    border-bottom: 1px solid var(--border);
}
.product-card-body { padding: 10px; }
.product-card-name {
    font-size: 12px; font-weight: 700; color: #fff;
    line-height: 1.3; margin-bottom: 2px;
    display: -webkit-box; -webkit-line-clamp: 2;
    -webkit-box-orient: vertical; overflow: hidden;
}
.product-card-desc {
    font-size: 10px; color: var(--text-muted);
    line-height: 1.3; margin-bottom: 6px;
    display: -webkit-box; -webkit-line-clamp: 1;
    -webkit-box-orient: vertical; overflow: hidden;
}
.product-card-footer {
    display: flex; justify-content: space-between; align-items: center;
}
.product-card-price {
    font-size: 16px; font-weight: 800;
    color: var(--accent-light);
}
.product-card-add {
    width: 32px; height: 32px;
    background: var(--gradient-premium);
    border: none; border-radius: 50%; color: #fff;
    font-size: 14px; display: flex; align-items: center;
    justify-content: center; transition: all .2s;
    box-shadow: 0 2px 8px var(--shadow-primary);
}
.product-card-add:hover { transform: scale(1.15); }

/* ── CATEGORY BANNER ── */
.cat-banner {
    margin-bottom: 16px; border-radius: var(--radius-lg);
    overflow: hidden; position: relative;
    height: 160px;
}
.cat-banner img {
    width: 100%; height: 100%; object-fit: cover;
}
.cat-banner-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(6,8,13,.9) 0%, transparent 70%);
    display: flex; align-items: flex-end; padding: 16px;
}
.cat-banner-text h3 {
    font-family: var(--font-display);
    font-size: 20px; font-weight: 700;
    color: #fff; letter-spacing: 1px;
}
.cat-banner-text p { font-size: 12px; color: var(--text-gray); margin-top: 2px; }

/* ── NEW BADGE ── */
.badge-new {
    position: absolute; top: 8px; left: 8px;
    padding: 3px 8px; font-size: 9px; font-weight: 800;
    background: var(--accent); color: #fff;
    border-radius: 20px; text-transform: uppercase;
    letter-spacing: .5px; z-index: 2;
}

/* ── VARIANT CHIPS (on product cards) ── */
.variant-chips {
    display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 6px;
}
.variant-chip {
    padding: 3px 7px; border-radius: 16px;
    background: var(--bg-elevated); border: 1px solid var(--border);
    color: var(--text-muted); font-size: 9px; font-weight: 600;
    cursor: pointer; transition: all .2s; font-family: var(--font-body);
    display: flex; align-items: center; gap: 3px; white-space: nowrap;
}
.variant-chip:hover { border-color: var(--primary-light); color: var(--text-gray); }
.variant-chip.active {
    background: rgba(21,101,192,.15); border-color: var(--primary);
    color: var(--primary-light); font-weight: 700;
}
.vc-label { font-size: 9px; }
.vc-price { font-size: 9px; color: var(--accent-light); font-weight: 800; }
.variant-chip.active .vc-price { color: var(--accent-light); }

/* ── DETAIL VARIANT SELECTOR ── */
.detail-variants {
    margin: 12px 0; padding: 10px; border-radius: var(--radius-sm);
    background: rgba(21,101,192,.05); border: 1px solid rgba(21,101,192,.12);
}
.detail-variant-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 6px;
}
.detail-variant-btn {
    padding: 8px 6px; border-radius: 10px;
    background: var(--bg-elevated); border: 2px solid var(--border);
    color: var(--text-gray); cursor: pointer; transition: all .2s;
    font-family: var(--font-body); text-align: center;
    display: flex; flex-direction: column; align-items: center; gap: 2px;
}
.detail-variant-btn:hover { border-color: var(--primary-light); }
.detail-variant-btn.active {
    background: rgba(21,101,192,.12); border-color: var(--primary);
    color: #fff;
}
.dv-label { font-size: 11px; font-weight: 600; }
.dv-price { font-size: 14px; font-weight: 800; color: var(--accent-light); }

/* ── CART VARIANT TAG ── */
.cart-variant-tag {
    display: inline-block; padding: 1px 6px; margin-left: 4px;
    font-size: 10px; font-weight: 700; background: rgba(21,101,192,.15);
    color: var(--primary-light); border-radius: 10px;
}

/* ── GPS STATUS ── */
.gps-status {
    padding: 8px 12px; border-radius: 8px; font-size: 12px;
    display: flex; align-items: center; gap: 6px; flex-wrap: wrap;
}
.gps-loading {
    background: rgba(21,101,192,.08); color: var(--primary-light);
    border: 1px solid rgba(21,101,192,.15);
}
.gps-success {
    background: rgba(37,211,102,.08); color: var(--success);
    border: 1px solid rgba(37,211,102,.15);
}
.gps-error {
    background: rgba(229,57,53,.08); color: var(--danger);
    border: 1px solid rgba(229,57,53,.15);
}

/* ════════════════════════════════════════
   INFO SECTION
════════════════════════════════════════ */
.info-card {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius-lg); padding: 20px;
    margin-bottom: 16px;
}
.info-card h3 {
    font-family: var(--font-display);
    font-size: 18px; font-weight: 700;
    color: #fff; margin-bottom: 8px;
}
.info-card p { font-size: 13px; color: var(--text-gray); line-height: 1.6; }

/* ── PROMO BANNER ── */
.promo-strip {
    background: linear-gradient(135deg, rgba(198,40,40,.12), rgba(21,101,192,.08));
    border: 1px solid rgba(198,40,40,.2);
    border-radius: var(--radius-md); padding: 14px 16px;
    margin-bottom: 18px; text-align: center;
    cursor: pointer; transition: all .3s;
}
.promo-strip:hover { transform: translateY(-1px); background: linear-gradient(135deg, rgba(198,40,40,.18), rgba(21,101,192,.12)); }

/* ════════════════════════════════════════
   CLUB SECTION
════════════════════════════════════════ */
.club-card {
    background: linear-gradient(135deg, rgba(21,101,192,.08), rgba(198,40,40,.05));
    border: 1px solid rgba(21,101,192,.2);
    border-radius: var(--radius-lg);
    padding: 24px 20px; text-align: center;
    margin-bottom: 16px;
}
.club-card h3 {
    font-family: var(--font-display);
    font-size: 20px; color: #fff; margin-bottom: 8px;
}
.club-card p { font-size: 13px; color: var(--text-gray); margin-bottom: 16px; }
.club-badge {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 6px 16px; font-size: 11px; font-weight: 700;
    background: var(--gradient-gold); color: #fff;
    border-radius: 20px; letter-spacing: .5px;
}
.benefits-list { text-align: left; margin: 16px 0; }
.benefit-item {
    display: flex; gap: 12px; padding: 10px 0;
    border-bottom: 1px solid var(--border);
}
.benefit-item:last-child { border: none; }
.benefit-item i { font-size: 20px; color: var(--primary-light); margin-top: 2px; }
.benefit-item strong { color: #fff; font-size: 13px; }
.benefit-item p { font-size: 11px; color: var(--text-muted); margin-top: 2px; }

/* ════════════════════════════════════════
   CART STICKY BAR
════════════════════════════════════════ */
.cart-sticky {
    position: fixed; bottom: 0; left: 0; right: 0;
    z-index: 200; padding: 10px 14px 14px;
    background: linear-gradient(to top, var(--bg-dark) 60%, transparent);
    display: none;
}
.cart-sticky.show { display: block; animation: slideUp .3s ease; }
@keyframes slideUp { from { transform: translateY(100%); } to { transform: translateY(0); } }
.cart-sticky-btn {
    display: flex; align-items: center; gap: 10px;
    width: 100%; max-width: 600px; margin: 0 auto;
    padding: 14px 20px; font-size: 15px; font-weight: 700;
    color: #fff; background: var(--gradient-premium);
    border: none; border-radius: var(--radius-full);
    box-shadow: 0 6px 24px var(--shadow-primary);
    transition: all .3s;
}
.cart-sticky-btn:hover { transform: translateY(-2px); }
.cart-sticky-count {
    background: var(--accent); min-width: 22px; height: 22px;
    border-radius: 20px; display: flex; align-items: center;
    justify-content: center; font-size: 12px; font-weight: 800;
    padding: 0 6px;
}
.cart-sticky-total { margin-left: auto; font-size: 17px; font-weight: 800; }

/* ════════════════════════════════════════
   MODALS
════════════════════════════════════════ */
.modal-overlay {
    position: fixed; inset: 0; z-index: 2000;
    background: rgba(0,0,0,.7); backdrop-filter: blur(6px);
    display: none; align-items: flex-end; justify-content: center;
}
.modal-overlay.active { display: flex; animation: fadeIn .2s ease; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.modal-box {
    width: 100%; max-width: 500px; max-height: 92vh;
    background: var(--bg-surface); border: 1px solid var(--border);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    overflow-y: auto; position: relative;
    animation: slideUpModal .3s ease;
    padding: 0;
}
@keyframes slideUpModal { from { transform: translateY(40px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.modal-close-x {
    position: absolute; top: 14px; right: 14px;
    width: 32px; height: 32px; border-radius: 50%;
    background: rgba(255,255,255,.08); border: none;
    color: var(--text-gray); font-size: 16px; z-index: 10;
    display: flex; align-items: center; justify-content: center;
    transition: all .2s;
}
.modal-close-x:hover { background: rgba(255,255,255,.15); color: #fff; }

/* ── PRODUCT DETAIL MODAL ── */
.prod-detail-img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.prod-detail-body { padding: 18px; }
.prod-detail-name {
    font-family: var(--font-display);
    font-size: 20px; font-weight: 700; color: #fff;
}
.prod-detail-desc { font-size: 13px; color: var(--text-gray); margin: 6px 0 14px; line-height: 1.5; }
.prod-detail-price { font-size: 28px; font-weight: 800; color: var(--accent-light); }
.qty-control {
    display: flex; align-items: center; gap: 14px;
    margin: 14px 0;
}
.qty-btn {
    width: 36px; height: 36px; border-radius: 50%;
    background: var(--bg-elevated); border: 1px solid var(--border);
    color: #fff; font-size: 18px;
    display: flex; align-items: center; justify-content: center;
    transition: all .2s;
}
.qty-btn:hover { background: var(--primary); border-color: var(--primary); }
.qty-num { font-size: 20px; font-weight: 800; color: #fff; min-width: 30px; text-align: center; }
.btn-gradient {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    padding: 14px 28px; font-size: 15px; font-weight: 700;
    color: #fff; background: var(--gradient-premium);
    border: none; border-radius: var(--radius-full);
    box-shadow: 0 4px 20px var(--shadow-primary);
    transition: all .3s; cursor: pointer;
}
.btn-gradient:hover { transform: translateY(-1px); }
.btn-gradient.full { width: 100%; }

/* ── CART MODAL ITEMS ── */
.cart-item {
    display: flex; align-items: center; gap: 10px;
    padding: 10px 0; border-bottom: 1px solid var(--border);
}
.cart-item-emoji { font-size: 24px; }
.cart-item-info { flex: 1; }
.cart-item-name { font-size: 13px; font-weight: 700; color: #fff; }
.cart-item-price { font-size: 12px; color: var(--accent-light); font-weight: 600; }
.cart-item-qty {
    display: flex; align-items: center; gap: 8px;
}
.cart-item-qty button {
    width: 26px; height: 26px; border-radius: 50%;
    background: var(--bg-elevated); border: 1px solid var(--border);
    color: #fff; font-size: 14px;
    display: flex; align-items: center; justify-content: center;
}
.cart-item-qty span { font-size: 14px; font-weight: 700; color: #fff; }

/* ── ORDER TYPE BUTTONS ── */
.order-type-btn.active-type {
    background: rgba(21,101,192,.12) !important;
    border-color: var(--primary) !important;
    color: #fff !important;
}

/* ── PROMO MODAL ── */
.promo-modal-header {
    text-align: center; padding: 24px 20px 14px;
}
.promo-modal-header .promo-modal-icon { font-size: 48px; margin-bottom: 8px; }
.promo-modal-header h3 {
    font-family: var(--font-display);
    font-size: 22px; font-weight: 700; color: #fff;
}
.promo-modal-body { padding: 0 20px 24px; }
.promo-modal-desc {
    font-size: 13px; color: var(--text-gray);
    text-align: center; margin-bottom: 16px; line-height: 1.6;
}
.promo-form-divider {
    text-align: center; margin: 16px 0; position: relative;
}
.promo-form-divider::before {
    content: ''; position: absolute; top: 50%; left: 0; right: 0;
    height: 1px; background: var(--border);
}
.promo-form-divider span {
    position: relative; background: var(--bg-surface);
    padding: 0 12px; font-size: 12px; color: var(--text-muted);
    font-weight: 600; text-transform: uppercase; letter-spacing: .5px;
}
.promo-form .form-field { margin-bottom: 12px; }
.promo-form .form-field label {
    display: block; font-size: 11px; font-weight: 600;
    color: var(--text-muted); margin-bottom: 5px; text-transform: uppercase;
    letter-spacing: .5px;
}
.promo-form .form-field input {
    width: 100%; padding: 11px 14px;
    background: var(--bg-elevated); border: 1px solid var(--border);
    border-radius: var(--radius-sm); color: #fff;
    font-size: 14px; font-family: var(--font-body);
    outline: none; transition: border-color .2s;
}
.promo-form .form-field input:focus { border-color: var(--primary); }
.promo-result {
    margin-top: 12px; padding: 12px;
    border-radius: var(--radius-sm); font-size: 13px;
    text-align: center; display: none;
}
.promo-result.show { display: block; animation: fadeIn .2s; }
.promo-result.success { background: rgba(37,211,102,.1); color: var(--success); border: 1px solid rgba(37,211,102,.2); }
.promo-result.error { background: rgba(229,57,53,.1); color: var(--danger); border: 1px solid rgba(229,57,53,.2); }

/* ── SEARCH ── */
.search-no-results {
    text-align: center; padding: 60px 20px;
    color: var(--text-muted);
}
.search-no-results i { font-size: 48px; margin-bottom: 12px; display: block; }

/* ════════════════════════════════════════
   TOAST
════════════════════════════════════════ */
.toast-wrap {
    position: fixed; top: 20px; left: 50%;
    transform: translateX(-50%); z-index: 9000;
    display: flex; flex-direction: column; gap: 8px;
    pointer-events: none;
}
.toast-msg {
    padding: 12px 20px; border-radius: var(--radius-sm);
    font-size: 13px; font-weight: 600; color: #fff;
    background: var(--bg-elevated); border: 1px solid var(--border);
    box-shadow: 0 4px 20px rgba(0,0,0,.5);
    animation: toastIn .3s ease; pointer-events: auto;
}
.toast-msg.success { background: rgba(37,211,102,.15); border-color: rgba(37,211,102,.3); color: var(--success); }
.toast-msg.error { background: rgba(229,57,53,.15); border-color: rgba(229,57,53,.3); color: var(--danger); }
@keyframes toastIn { from { transform: translateY(-20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

/* ════════════════════════════════════════
   FOOTER
════════════════════════════════════════ */
.site-footer {
    text-align: center; padding: 40px 20px 30px;
    border-top: 1px solid var(--border);
    max-width: 600px; margin: 0 auto;
}
.footer-logo img { height: 50px; margin: 0 auto 10px; border-radius: 50%; }
.footer-brand {
    font-family: var(--font-display);
    font-size: 16px; font-weight: 700; color: #fff;
    letter-spacing: 1px;
}
.footer-tagline { font-size: 11px; color: var(--accent-light); margin-top: 2px; }
.footer-divider { width: 40px; height: 2px; background: var(--gradient-premium); margin: 14px auto; border-radius: 2px; }
.footer-wa {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 10px 20px; background: rgba(37,211,102,.1);
    border: 1px solid rgba(37,211,102,.2);
    border-radius: var(--radius-full); color: var(--success);
    font-weight: 700; font-size: 14px; margin-bottom: 14px;
    transition: all .2s;
}
.footer-wa:hover { background: rgba(37,211,102,.2); }
.footer-links {
    display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 18px;
    margin-bottom: 14px;
}
.footer-links a { font-size: 12px; color: var(--text-gray); transition: color .2s; }
.footer-links a:hover { color: var(--primary-light); }
.footer-copy { font-size: 10px; color: var(--text-muted); }

/* ════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════ */
@media (max-width: 380px) {
    .welcome-prices { grid-template-columns: 1fr; }
    .donut-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
}
@media (min-width: 768px) {
    .modal-box {
        border-radius: var(--radius-lg);
        max-height: 85vh;
    }
    .modal-overlay { align-items: center; }
}
