/* ============================================================
   Warung Ayam Penyet BimBim
   Theme: KUNING-HITAM (Street Food Urban)
   ============================================================ */

:root {
    --primary:   #F2B90C;  /* kuning BimBim */
    --primary-d: #D9A50B;  /* kuning gelap (hover) */
    --primary-l: #FFD451;  /* kuning muda */
    --secondary: #FF3D00;  /* merah-oranye (HOT badge) */
    --dark:      #0A0A0A;  /* hitam pekat */
    --dark-2:    #161616;  /* abu gelap (card) */
    --dark-3:    #1F1F1F;  /* abu-abu (card-2) */
    --light:     #F5F5F5;  /* putih keabuan */
    --muted:     #8A8A8A;  /* teks muted */
    --muted-2:   #5A5A5A;  /* separator */
    --success:   #10B981;  /* hijau modern */
    --success-soft: rgba(16, 185, 129, 0.15);
    --danger:    #EF4444;  /* merah modern */
    --danger-soft: rgba(239, 68, 68, 0.15);
    --warn:      #F59E0B;  /* kuning-oranye */
    --warn-soft: rgba(245, 158, 11, 0.15);
    --info:      #3B82F6;  /* biru modern */
    --info-soft: rgba(59, 130, 246, 0.15);
    --primary-soft: rgba(242, 185, 12, 0.15);

    --shadow:    0 4px 12px rgba(0,0,0,0.5);
    --radius:    12px;
    --radius-sm: 8px;
}

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

html, body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background: var(--dark);
    color: white;
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-tap-highlight-color: transparent;
}

a { color: var(--primary); text-decoration: none; }

/* ============================================================
   LAYOUT
   ============================================================ */
.container {
    max-width: 480px;
    margin: 0 auto;
    min-height: 100vh;
    background: var(--dark);
    position: relative;
    padding-bottom: 100px;
    /* Padding horizontal konsisten supaya tidak mepet ke tepi */
    padding-left: 16px;
    padding-right: 16px;
}

@media (min-width: 768px) {
    .container {
        max-width: 720px;
        padding-left: 24px;
        padding-right: 24px;
        box-shadow: var(--shadow);
    }
}

@media (min-width: 1024px) {
    .container { max-width: 880px; padding-left: 32px; padding-right: 32px; }
}

/* ============================================================
   HEADER & TOP BAR
   ============================================================ */
.app-header {
    background: var(--dark);
    padding: 20px;
    border-bottom: 3px solid var(--primary);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow);
}

.app-header.with-yellow {
    background: var(--primary);
    color: black;
    border-bottom: 4px solid var(--dark);
}

.app-header .header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.app-header h1 {
    font-size: 24px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.app-header h1 .highlight { color: var(--primary); }
.app-header.with-yellow h1 .highlight { color: var(--dark); }

.app-header .back-btn {
    color: inherit;
    font-size: 28px;
    padding: 4px 12px;
    text-decoration: none;
}

.app-header .header-meta {
    font-size: 13px;
    opacity: 0.8;
    margin-top: 4px;
}

/* ============================================================
   SPLASHSCREEN
   ============================================================ */
.splash {
    position: fixed; inset: 0;
    background: var(--dark);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    animation: splashFade 3s ease-in-out forwards;
}

@keyframes splashFade {
    0%   { opacity: 1; }
    85%  { opacity: 1; }
    100% { opacity: 0; visibility: hidden; }
}

.splash .splash-logo { width: 180px; height: 180px; margin-bottom: 20px; }
.splash .splash-title {
    font-size: 56px; font-weight: 900; color: var(--primary);
    letter-spacing: 2px; text-transform: uppercase;
}
.splash .splash-subtitle {
    color: white; font-size: 18px; margin-top: 8px;
    letter-spacing: 4px; text-transform: uppercase;
}
.splash .splash-loader {
    margin-top: 60px;
    width: 60%; max-width: 200px; height: 4px;
    background: var(--dark-3);
    border-radius: 4px; overflow: hidden;
    position: relative;
}
.splash .splash-loader::after {
    content: ''; position: absolute; inset: 0;
    background: var(--primary);
    animation: loadBar 2.5s ease-in-out;
}
@keyframes loadBar {
    0%   { transform: translateX(-100%); }
    100% { transform: translateX(0); }
}

/* ============================================================
   LOGIN
   ============================================================ */
.login-page {
    min-height: 100vh;
    background: linear-gradient(180deg, var(--dark) 0%, var(--dark-2) 100%);
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.login-logo {
    text-align: center;
    margin-bottom: 30px;
}
.login-logo img { width: 120px; height: 120px; }
.login-logo h1 {
    font-size: 42px; font-weight: 900; color: var(--primary);
    margin-top: 16px; letter-spacing: 1px;
}
.login-logo p {
    color: var(--muted); font-size: 14px;
    letter-spacing: 4px; text-transform: uppercase; margin-top: 4px;
}

.login-card {
    background: var(--dark-2);
    border: 2px solid var(--dark-3);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    box-shadow: var(--shadow);
}

.login-card h2 {
    color: var(--primary);
    font-size: 22px;
    font-weight: 900;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.login-card .subtitle { color: var(--muted); font-size: 14px; margin-bottom: 24px; }

.form-group { margin-bottom: 20px; }
.form-group label {
    display: block;
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}
.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    background: var(--dark-3);
    border: 2px solid var(--dark-3);
    color: white;
    padding: 14px 16px;
    border-radius: var(--radius);
    font-size: 16px;
    font-family: inherit;
    transition: border-color 0.2s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.form-group input::placeholder { color: var(--muted); }

/* PIN keypad khusus */
.pin-input {
    text-align: center !important;
    font-size: 32px !important;
    letter-spacing: 12px !important;
    padding: 18px !important;
    font-weight: 900;
}

.keypad {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-top: 16px;
}
.keypad button {
    background: var(--dark-3);
    color: white;
    border: none;
    padding: 18px;
    font-size: 24px;
    font-weight: 700;
    border-radius: var(--radius);
    cursor: pointer;
    transition: background 0.1s;
}
.keypad button:active { background: var(--primary); color: black; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
    display: inline-block;
    padding: 14px 24px;
    border: none;
    border-radius: var(--radius);
    font-size: 16px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.15s;
    text-align: center;
    text-decoration: none;
    width: 100%;
    font-family: inherit;
}
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--primary); color: black; }
.btn-primary:hover { background: var(--primary-d); }
.btn-secondary { background: var(--secondary); color: white; }
.btn-dark { background: var(--dark-2); color: white; border: 2px solid var(--dark-3); }
.btn-danger { background: var(--danger); color: white; }
.btn-success { background: var(--success); color: white; }
.btn-block { width: 100%; }
.btn-sm { padding: 8px 16px; font-size: 14px; }
.btn-lg { padding: 18px 24px; font-size: 18px; }

.btn-group { display: flex; gap: 10px; }
.btn-group .btn { flex: 1; }

/* ============================================================
   KASIR: DAFTAR MEJA
   ============================================================ */
.meja-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 12px;
    padding: 16px 0;  /* Tidak nempel ke tepi container, container sudah punya padding */
}
.meja-card {
    aspect-ratio: 1;
    background: var(--dark-2);
    border: 3px solid var(--dark-3);
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: white;
    transition: all 0.15s;
    position: relative;
}
.meja-card.available { border-color: var(--success); }
.meja-card.occupied  { border-color: var(--secondary); cursor: not-allowed; opacity: 0.5; }
.meja-card:active.available { transform: scale(0.95); background: var(--primary); color: black; }
.meja-card .nomor {
    font-size: 42px; font-weight: 900; line-height: 1;
}
.meja-card .label {
    font-size: 11px; font-weight: 700; text-transform: uppercase;
    margin-top: 6px; letter-spacing: 1px; opacity: 0.7;
}
.meja-card .status-dot {
    position: absolute; top: 10px; right: 10px;
    width: 12px; height: 12px; border-radius: 50%;
}
.meja-card.available .status-dot { background: var(--success); box-shadow: 0 0 8px var(--success); }
.meja-card.occupied  .status-dot { background: var(--secondary); box-shadow: 0 0 8px var(--secondary); }

/* ============================================================
   MENU GRID
   ============================================================ */
.menu-section { padding: 16px 0; }
.menu-section h2 {
    color: var(--primary);
    font-size: 20px;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);  /* Fixed 2 kolom di mobile, lebih clean */
    gap: 10px;
}

@media (min-width: 600px) {
    .menu-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 12px;
    }
}
.menu-card {
    background: var(--dark-2);
    border: 2px solid var(--dark-3);
    border-radius: var(--radius);
    padding: 10px;
    text-align: center;
    transition: all 0.15s;
    cursor: pointer;
    position: relative;
}
.menu-card:active { transform: scale(0.96); }
.menu-card.out-of-stock { opacity: 0.4; cursor: not-allowed; }
.menu-card .menu-image {
    width: 100%; aspect-ratio: 1;
    background: var(--dark-3);
    border-radius: var(--radius);
    margin-bottom: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: 36px; font-weight: 900; color: var(--primary);
}
.menu-card .menu-nama {
    font-size: 13px; font-weight: 700; line-height: 1.2;
    margin-bottom: 4px; min-height: 32px;
}
.menu-card .menu-harga {
    font-size: 15px; font-weight: 900; color: var(--primary);
}
.menu-card .menu-stok {
    position: absolute; top: 8px; right: 8px;
    background: var(--dark-3); color: var(--muted);
    font-size: 10px; padding: 2px 6px; border-radius: 8px;
    font-weight: 700;
}
.menu-card .badge-hot {
    position: absolute; top: 8px; left: 8px;
    background: var(--secondary); color: white;
    font-size: 10px; padding: 3px 8px; border-radius: 8px;
    font-weight: 900; letter-spacing: 1px;
}

/* ============================================================
   KERANJANG / CART
   ============================================================ */
.cart-bar {
    position: fixed;
    bottom: 90px;  /* Naik di atas bottom-nav (sekitar 80px + 10px gap) */
    left: 50%;
    transform: translateX(-50%);
    max-width: 480px;
    width: calc(100% - 32px);  /* Margin dari tepi container */
    background: var(--primary);
    color: black;
    padding: 14px 18px;
    z-index: 90;
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.4);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: var(--radius);
}
.cart-bar.disabled { background: var(--dark-3); color: var(--muted); cursor: not-allowed; }
.cart-bar .cart-info { font-weight: 800; }
.cart-bar .cart-info small { display: block; font-size: 12px; opacity: 0.8; }
.cart-bar .cart-bayar {
    background: black; color: var(--primary);
    padding: 10px 20px; border-radius: var(--radius);
    font-weight: 900;
}

.cart-page { padding: 20px; }
.cart-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 0;
    border-bottom: 1px solid var(--dark-3);
}
.cart-item .item-image {
    width: 56px; height: 56px;
    background: var(--dark-3); border-radius: var(--radius);
    display: flex; align-items: center; justify-content: center;
    font-size: 24px; font-weight: 900; color: var(--primary);
}
.cart-item .item-info { flex: 1; }
.cart-item .item-nama { font-weight: 700; }
.cart-item .item-harga { color: var(--primary); font-size: 14px; font-weight: 700; }
.cart-item .item-qty {
    display: flex; align-items: center; gap: 8px;
}
.cart-item .item-qty button {
    background: var(--dark-3); color: white; border: none;
    width: 30px; height: 30px; border-radius: 50%;
    font-size: 18px; font-weight: 900; cursor: pointer;
}
.cart-item .item-qty button:active { background: var(--primary); color: black; }
.cart-item .item-qty span {
    min-width: 30px; text-align: center; font-weight: 900;
}

.cart-summary {
    background: var(--dark-2);
    border-radius: var(--radius-lg);
    padding: 20px;
    margin-top: 20px;
}
.cart-summary .row {
    display: flex; justify-content: space-between;
    padding: 8px 0;
}
.cart-summary .row.total {
    border-top: 2px solid var(--primary);
    margin-top: 8px; padding-top: 12px;
    font-size: 22px; font-weight: 900; color: var(--primary);
}

/* ============================================================
   PEMBAYARAN
   ============================================================ */
.payment-page { padding: 16px 0; }
.payment-method {
    background: var(--dark-2);
    border: 3px solid var(--dark-3);
    border-radius: var(--radius-lg);
    padding: 20px;
    margin-bottom: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: all 0.15s;
}
.payment-method:active { transform: scale(0.98); }
.payment-method.selected { border-color: var(--primary); background: var(--dark-3); }
.payment-method .icon {
    width: 56px; height: 56px; border-radius: 50%;
    background: var(--primary); color: black;
    display: flex; align-items: center; justify-content: center;
    font-size: 24px; font-weight: 900;
}
.payment-method .info { flex: 1; }
.payment-method .info .title { font-size: 17px; font-weight: 800; }
.payment-method .info .desc { font-size: 13px; color: var(--muted); margin-top: 2px; }

.qris-display {
    background: white;
    border-radius: var(--radius-lg);
    padding: 20px;
    text-align: center;
    margin: 20px 0;
}
.qris-display .qr {
    width: 220px; height: 220px;
    margin: 0 auto;
    background: white;
    display: flex; align-items: center; justify-content: center;
    color: black; font-size: 14px; font-weight: 700;
}

.cash-input {
    background: var(--dark-2);
    border: 2px solid var(--primary);
    border-radius: var(--radius);
    padding: 16px;
    color: white;
    font-size: 24px;
    font-weight: 900;
    text-align: center;
    width: 100%;
    margin: 20px 0;
}
.cash-preset {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-bottom: 20px;
}
.cash-preset button {
    background: var(--dark-2);
    color: var(--primary);
    border: 2px solid var(--primary);
    padding: 12px 4px;
    border-radius: var(--radius);
    font-weight: 800;
    cursor: pointer;
    font-size: 14px;
}
.cash-preset button:active { background: var(--primary); color: black; }

.change-display {
    background: var(--success);
    color: white;
    padding: 16px;
    border-radius: var(--radius);
    text-align: center;
    font-size: 18px;
    font-weight: 900;
    margin: 16px 0;
}
.change-display.zero { background: var(--info); }

/* ============================================================
   STRUK
   ============================================================ */
.struk-page { padding: 16px 0; }
.struk {
    background: white;
    color: black;
    padding: 20px;
    font-family: 'Courier New', monospace;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    max-width: 320px;
    margin: 0 auto;
}
.struk .struk-header { text-align: center; border-bottom: 2px dashed #000; padding-bottom: 12px; margin-bottom: 12px; }
.struk .struk-header h2 { font-size: 18px; font-weight: 900; }
.struk .struk-header p { font-size: 11px; margin: 2px 0; }
.struk .struk-meta { font-size: 11px; margin-bottom: 8px; }
.struk .struk-meta .row { display: flex; justify-content: space-between; }
.struk .struk-items { border-top: 1px dashed #000; border-bottom: 1px dashed #000; padding: 8px 0; margin: 8px 0; }
.struk .struk-items .item { font-size: 11px; margin-bottom: 4px; }
.struk .struk-items .item .item-name { display: flex; justify-content: space-between; }
.struk .struk-items .item .item-sub { display: flex; justify-content: space-between; font-size: 10px; color: #444; padding-left: 8px; }
.struk .struk-totals { font-size: 12px; }
.struk .struk-totals .row { display: flex; justify-content: space-between; padding: 2px 0; }
.struk .struk-totals .row.grand { font-size: 14px; font-weight: 900; border-top: 1px solid #000; margin-top: 6px; padding-top: 6px; }
.struk .struk-footer { text-align: center; font-size: 10px; margin-top: 12px; border-top: 2px dashed #000; padding-top: 8px; }
.struk .struk-jam { text-align: center; font-size: 14px; font-weight: 900; margin: 8px 0; padding: 4px; background: var(--primary); color: black; border-radius: 4px; }

/* ============================================================
   ADMIN DASHBOARD
   ============================================================ */
.stat-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    padding: 16px 0;  /* Konsisten dengan container padding */
}
.stat-card {
    background: var(--dark-2);
    border: 2px solid var(--dark-3);
    border-radius: var(--radius-lg);
    padding: 20px;
    text-align: center;
}
.stat-card .label { color: var(--muted); font-size: 12px; text-transform: uppercase; font-weight: 700; letter-spacing: 1px; }
.stat-card .value { color: var(--primary); font-size: 28px; font-weight: 900; margin: 8px 0; }
.stat-card .sublabel { color: var(--muted); font-size: 11px; }

.chart-container {
    background: var(--dark-2);
    border: 1px solid var(--dark-3);
    border-radius: var(--radius-lg);
    padding: 20px;
    margin: 0 0 16px 0;  /* Container sudah punya padding 16px, jadi tidak perlu margin horizontal */
}
.chart-container h3 {
    color: var(--primary);
    font-size: 16px;
    font-weight: 900;
    margin-bottom: 16px;
    text-transform: uppercase;
}

table { width: 100%; border-collapse: collapse; }
table th, table td { padding: 12px; text-align: left; border-bottom: 1px solid var(--dark-3); font-size: 14px; }
table th { color: var(--primary); font-weight: 800; text-transform: uppercase; font-size: 12px; letter-spacing: 1px; }
table tbody tr:hover { background: var(--dark-2); }

/* ============================================================
   BOTTOM NAVIGATION
   ============================================================ */
.bottom-nav {
    position: fixed;
    bottom: 0; left: 50%;
    transform: translateX(-50%);
    max-width: 480px;
    width: 100%;
    background: rgba(13, 13, 13, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 2px solid var(--primary);
    display: flex;
    z-index: 100;
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.4);
    padding: 8px 12px calc(8px + env(safe-area-inset-bottom)) 12px;
}
.bottom-nav a {
    flex: 1;
    padding: 10px 6px;
    color: var(--muted);
    text-decoration: none;
    text-align: center;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.2s;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    position: relative;
}
.bottom-nav a:hover { color: var(--light); }
.bottom-nav a.active {
    color: var(--primary);
    background: rgba(255, 193, 7, 0.08);
}
.bottom-nav a.active::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 3px;
    background: var(--primary);
    border-radius: 0 0 3px 3px;
}
.bottom-nav a .icon {
    width: 24px;
    height: 24px;
    line-height: 1;
    display: block;
    transition: transform 0.2s;
    color: var(--muted);
}
.bottom-nav a.active .icon { transform: scale(1.1); color: var(--primary); }

@media (min-width: 768px) {
    .container { padding-bottom: 20px; }
    .bottom-nav {
        position: sticky;
        bottom: 0;
        max-width: 720px;
    }
}

@media (min-width: 1024px) {
    .bottom-nav { max-width: 880px; }
}

/* ============================================================
   ALERTS / FLASH
   ============================================================ */
.alert {
    padding: 14px 18px;
    border-radius: var(--radius);
    margin-bottom: 20px;
    font-weight: 700;
    border-left: 4px solid;
}
.alert-success { background: rgba(76,175,80,0.15); color: #66BB6A; border-color: var(--success); }
.alert-danger  { background: rgba(244,67,54,0.15);  color: #EF5350; border-color: var(--danger);  }
.alert-warning { background: rgba(255,193,7,0.15);  color: #FFA726; border-color: var(--primary); }
.alert-info    { background: rgba(41,182,246,0.15); color: #29B6F6; border-color: var(--info);    }

/* ============================================================
   UTILITIES
   ============================================================ */
.text-center { text-align: center; }
.text-primary { color: var(--primary); }
.text-muted   { color: var(--muted); }
.text-success { color: var(--success); }
.text-danger  { color: var(--danger); }
.text-bold    { font-weight: 900; }
.text-sm      { font-size: 13px; }
.text-lg      { font-size: 18px; }
.text-xl      { font-size: 24px; }
.mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; }
.mb-1 { margin-bottom: 8px; } .mb-2 { margin-bottom: 16px; } .mb-3 { margin-bottom: 24px; }
.p-1 { padding: 8px; } .p-2 { padding: 16px; } .p-3 { padding: 24px; }

.flex { display: flex; }
.flex-between { display: flex; justify-content: space-between; align-items: center; }
.flex-center { display: flex; justify-content: center; align-items: center; }
.gap-1 { gap: 8px; } .gap-2 { gap: 16px; }

.divider { border-top: 2px dashed var(--dark-3); margin: 16px 0; }

/* Bar chart pakai CSS sederhana */
.bar-chart { display: flex; align-items: flex-end; gap: 8px; height: 200px; padding: 16px 0; }
.bar-chart .bar {
    flex: 1;
    background: var(--primary);
    border-radius: 8px 8px 0 0;
    position: relative;
    transition: height 0.5s ease;
    min-height: 4px;
}
.bar-chart .bar .label {
    position: absolute;
    bottom: -22px; left: 0; right: 0;
    text-align: center;
    color: var(--muted);
    font-size: 11px;
    font-weight: 700;
}
.bar-chart .bar .value {
    position: absolute;
    top: -20px; left: 0; right: 0;
    text-align: center;
    color: var(--primary);
    font-size: 10px;
    font-weight: 900;
}
.bar-chart .bar.today { background: var(--secondary); }

/* ============================================================
   TOAST
   ============================================================ */
.toast {
    position: fixed;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: var(--primary);
    color: black;
    padding: 12px 20px;
    border-radius: var(--radius);
    font-weight: 800;
    box-shadow: var(--shadow);
    z-index: 10000;
    opacity: 0;
    transition: all 0.3s;
    max-width: 90%;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast-success { background: var(--success); color: white; }
.toast-danger  { background: var(--danger);  color: white; }
.toast-info    { background: var(--info);    color: white; }

/* ============================================================
   CART BADGE
   ============================================================ */
.cart-badge {
    display: none;
    background: var(--secondary);
    color: white;
    border-radius: 50%;
    width: 20px; height: 20px;
    font-size: 11px;
    font-weight: 900;
    line-height: 20px;
    text-align: center;
    margin-left: 4px;
}
