/* ===================================================
   FE DEL CENTURIÓN — Premium Design System v1
   Paleta: Negro romano, Rojo cresta, Dorado fe, Crema cálido
   =================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
    /* === BRAND COLORS === */
    --brand: #1a1a1a;            /* Negro romano (casco) */
    --brand-accent: #c62828;     /* Rojo cresta */
    --brand-gold: #c9a96e;       /* Dorado fe */
    --brand-light: #e8d5b5;      /* Dorado suave */
    --brand-bg: #faf5f0;         /* Crema cálido */

    /* === SURFACES === */
    --bg-body: #f5f0ea;
    --bg-surface: #ffffff;
    --bg-muted: #f0ebe5;
    --bg-dark: #1a1a1a;

    /* === TEXT === */
    --text-primary: #1a1a1a;
    --text-secondary: #5a5249;
    --text-muted: #9e9289;

    /* === UI === */
    --border: #e0d8cf;
    --success: #2e7d32;
    --danger: #c62828;

    /* === EFFECTS === */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.12);
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-pill: 50px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: 'Outfit', -apple-system, sans-serif;
    background: var(--bg-body);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    font-size: 18px;
}

.container {
    max-width: 640px;
    margin: 0 auto;
    padding: 0 16px;
}

/* ========== ANNOUNCEMENT BAR ========== */
.announcement-bar {
    background: linear-gradient(135deg, var(--brand) 0%, #2c2c2c 50%, var(--brand-accent) 100%);
    color: white;
    padding: 12px 0;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.announcement-container {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    width: 100%;
}

.announcement-content {
    display: inline-block;
    padding-left: 100%;
    animation: marquee 18s linear infinite;
}

@keyframes marquee {
    0% { transform: translate(0, 0); }
    100% { transform: translate(-100%, 0); }
}

/* ========== HEADER ========== */
.app-header {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    position: sticky;
    top: 0;
    z-index: 500;
    border-bottom: 1px solid var(--border);
    padding: 8px 0;
}

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

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.brand-logo {
    width: 135px;
    height: auto;
    max-height: 85px;
    object-fit: contain;
    transition: var(--transition);
}

.brand-logo:hover {
    transform: scale(1.05);
}

.brand-text h1 {
    font-size: 1.7rem;
    line-height: 1;
    letter-spacing: -0.5px;
    color: var(--text-primary);
}

.brand-text span {
    font-size: 0.75rem;
    color: var(--brand-accent);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 700;
}

.header-cart {
    position: relative;
    background: var(--bg-muted);
    border: none;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    cursor: pointer;
    color: var(--text-secondary);
    font-size: 1.3rem;
    transition: var(--transition);
}

.header-cart:hover {
    background: var(--brand-accent);
    color: white;
}

.cart-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    background: var(--brand-accent);
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    font-size: 0.75rem;
    font-weight: 800;
    display: none;
    align-items: center;
    justify-content: center;
    border: 2px solid white;
}

.cart-badge.show {
    display: flex;
}

/* ========== HERO / INSTITUTIONAL ========== */
.hero-institutional {
    background: linear-gradient(145deg, #1a1a1a 0%, #2d1f1f 40%, #3b1c1c 100%);
    border-radius: var(--radius-lg);
    margin: 16px 0;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    position: relative;
}

.hero-institutional::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(198,40,40,0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-institutional::after {
    content: '';
    position: absolute;
    bottom: -30px;
    left: -30px;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(201,169,110,0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-content {
    padding: 35px 25px;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(198,40,40,0.2);
    border: 1px solid rgba(198,40,40,0.4);
    color: #ff8a80;
    padding: 6px 14px;
    border-radius: var(--radius-pill);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 16px;
}

.hero-content h2 {
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.3;
    margin-bottom: 12px;
}

.hero-content h2 em {
    color: var(--brand-gold);
    font-style: normal;
}

.hero-text {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.7);
    line-height: 1.7;
    margin-bottom: 0;
}

.hero-text .verse {
    display: block;
    margin-top: 14px;
    padding: 12px 16px;
    background: rgba(201,169,110,0.1);
    border-left: 3px solid var(--brand-gold);
    border-radius: 0 8px 8px 0;
    color: var(--brand-gold);
    font-style: italic;
    font-weight: 600;
    font-size: 0.85rem;
    line-height: 1.5;
}

.hero-gallery {
    display: flex;
    gap: 0;
    overflow: hidden;
}

.hero-gallery img {
    width: 33.333%;
    height: 100px;
    object-fit: cover;
    filter: brightness(0.8);
    transition: var(--transition);
}

.hero-gallery img:hover {
    filter: brightness(1);
}

/* ========== CAROUSEL / PROMOS ========== */
.promo-carousel {
    margin: 16px 0;
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.promo-track {
    display: flex;
    transition: transform 0.5s ease;
}

.promo-slide {
    min-width: 100%;
    padding: 40px 30px;
    background: linear-gradient(135deg, #1a1a1a 0%, #3b2e28 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.promo-slide::after {
    content: '';
    position: absolute;
    right: -30px;
    bottom: -30px;
    width: 160px;
    height: 160px;
    background: rgba(198, 40, 40, 0.08);
    border-radius: 50%;
}

.promo-slide h2 {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 8px;
    line-height: 1.2;
}

.promo-slide p {
    font-size: 1rem;
    opacity: 0.85;
    max-width: 280px;
}

.promo-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 12px 0;
}

.promo-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--border);
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.promo-dot.active {
    background: var(--brand-accent);
    width: 28px;
    border-radius: 6px;
}

/* ========== SEARCH ========== */
.search-section {
    padding: 12px 0 8px;
}

.search-box {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-pill);
    padding: 0 18px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.search-box:focus-within {
    border-color: var(--brand-accent);
    box-shadow: 0 0 0 3px rgba(198, 40, 40, 0.1);
}

.search-box i {
    color: var(--text-muted);
}

.search-box input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 12px 0;
    outline: none;
    font-family: inherit;
    color: var(--text-primary);
    font-size: 0.9rem;
}

/* ========== CATEGORIES ========== */
.categories-scroll {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 12px 0 20px;
    scrollbar-width: none;
}

.categories-scroll::-webkit-scrollbar {
    display: none;
}

.cat-pill {
    padding: 12px 24px;
    border-radius: var(--radius-pill);
    background: var(--bg-surface);
    border: 2px solid var(--border);
    color: var(--text-secondary);
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    transition: var(--transition);
    font-family: inherit;
}

.cat-pill:hover {
    border-color: var(--brand-accent);
    color: var(--brand-accent);
}

.cat-pill.active {
    background: var(--brand);
    color: white;
    border-color: var(--brand);
}

/* ========== PRODUCTS ========== */
.product-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    padding-bottom: 130px;
}

.product-card {
    background: var(--bg-surface);
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    padding: 0;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    position: relative;
}

.product-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.cat-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--brand-accent);
    color: white;
    padding: 6px 14px;
    border-radius: var(--radius-pill);
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    z-index: 10;
    box-shadow: 0 4px 10px rgba(198, 40, 40, 0.3);
}

.card-img {
    width: 100%;
    height: 220px;
    border-radius: 16px 16px 0 0;
    object-fit: cover;
    flex-shrink: 0;
}

.card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 16px 20px;
    min-width: 0;
}

.card-body h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.card-body .desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 10px;
    line-height: 1.4;
}

.card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.card-price {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--brand-accent);
}

.btn-add {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--brand);
    color: white;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-add:hover {
    background: var(--brand-accent);
}

.btn-add:active {
    transform: scale(0.9);
}

.qty-control {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--bg-muted);
    padding: 6px 12px;
    border-radius: 12px;
}

.qty-control button {
    background: none;
    border: none;
    color: var(--text-primary);
    width: 32px;
    height: 32px;
    font-size: 1rem;
    cursor: pointer;
    border-radius: 8px;
    transition: var(--transition);
}

.qty-control button:hover {
    background: rgba(198,40,40,0.1);
    color: var(--brand-accent);
}

.qty-control span {
    font-weight: 700;
    color: var(--brand-accent);
    min-width: 24px;
    text-align: center;
    font-size: 1.1rem;
}

/* Product note input */
.note-input {
    margin-top: 6px;
    width: 100%;
    padding: 6px 10px;
    border: 1px dashed var(--border);
    border-radius: 8px;
    font-size: 0.75rem;
    background: var(--brand-bg);
    color: var(--text-secondary);
    font-family: inherit;
    outline: none;
}

.note-input:focus {
    border-color: var(--brand-accent);
}

.note-input::placeholder {
    color: var(--text-muted);
}

/* ========== MENU ALERT ========== */
.menu-alert {
    background: var(--brand-bg);
    border: 1px solid var(--border);
    border-left: 5px solid var(--brand-accent);
    border-radius: var(--radius-md);
    padding: 20px;
    margin: 8px 0 24px;
    display: flex;
    gap: 16px;
    box-shadow: var(--shadow-sm);
    animation: fadeIn 0.5s ease-out;
}

.payment-note {
    background: var(--brand-bg);
    border: 1px dashed var(--brand-gold);
    border-radius: var(--radius-sm);
    padding: 10px 14px;
    margin-top: 12px;
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.4;
    animation: fadeIn 0.3s ease;
}

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

/* ========== CART FLOAT ========== */
.cart-float {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(120px);
    width: calc(100% - 32px);
    max-width: 608px;
    background: linear-gradient(135deg, var(--brand) 0%, var(--brand-accent) 100%);
    padding: 16px 22px;
    border-radius: var(--radius-lg);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
    box-shadow: 0 10px 40px rgba(198, 40, 40, 0.3);
    z-index: 800;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.cart-float.visible {
    transform: translateX(-50%) translateY(0);
}

.cart-float .info {
    line-height: 1.2;
}

.cart-float .info small {
    font-size: 0.7rem;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cart-float .info .total {
    font-size: 1.3rem;
    font-weight: 800;
}

.cart-float .btn-order {
    background: white;
    color: var(--brand);
    border: none;
    padding: 12px 22px;
    border-radius: 12px;
    font-weight: 800;
    cursor: pointer;
    font-family: inherit;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.cart-float .btn-order:hover {
    transform: scale(1.03);
}

/* ========== CHECKOUT OVERLAY ========== */
.checkout-overlay {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: var(--bg-body);
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.4s ease;
}

.checkout-overlay.open {
    transform: translateX(0);
}

.checkout-header {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px 0;
    border-bottom: 1px solid var(--border);
    margin-bottom: 20px;
}

.checkout-header button {
    width: 38px;
    height: 38px;
    border: none;
    border-radius: 10px;
    background: var(--bg-muted);
    cursor: pointer;
    font-size: 1rem;
    color: var(--text-primary);
}

.checkout-header h2 {
    font-size: 1.3rem;
    font-weight: 800;
}

.order-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
}

.order-item img {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    object-fit: cover;
}

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

.order-item .item-info h4 {
    font-size: 0.9rem;
    font-weight: 600;
}

.order-item .item-info .item-note {
    font-size: 0.7rem;
    color: var(--brand-accent);
    font-style: italic;
}

.order-item .item-info span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.order-item .item-price {
    font-weight: 700;
    color: var(--brand-accent);
    white-space: nowrap;
}

.order-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    font-size: 1.4rem;
    font-weight: 800;
}

.order-total .amount {
    color: var(--brand-accent);
}

/* Form styles */
.form-section {
    margin-top: 20px;
    border-top: 1px solid var(--border);
    padding-top: 24px;
}

.form-section h3 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
}

.form-section h3 i {
    color: var(--brand-accent);
}

.form-group {
    margin-bottom: 14px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-muted);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

input,
select,
textarea {
    width: 100%;
    padding: 16px 20px;
    border-radius: var(--radius-sm);
    border: 2px solid var(--border);
    background: var(--bg-surface);
    color: var(--text-primary);
    font-size: 1.05rem;
    font-family: inherit;
    transition: var(--transition);
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--brand-accent);
    outline: none;
    box-shadow: 0 0 0 3px rgba(198, 40, 40, 0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

/* Delivery option cards */
.delivery-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 16px;
}

.delivery-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 16px 12px;
    background: var(--bg-surface);
    border: 2px solid var(--border);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    font-family: inherit;
}

.delivery-option:hover {
    border-color: var(--brand-gold);
}

.delivery-option.active {
    border-color: var(--brand-accent);
    background: rgba(198,40,40,0.05);
}

.delivery-option .delivery-icon {
    font-size: 1.5rem;
}

.delivery-option .delivery-label {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-primary);
}

.delivery-option .delivery-desc {
    font-size: 0.7rem;
    color: var(--text-muted);
}

.btn-whatsapp {
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-size: 1.15rem;
    font-weight: 800;
    cursor: pointer;
    font-family: inherit;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: var(--transition);
    margin-top: 10px;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
}

.btn-whatsapp:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* ========== TOAST ========== */
.toast {
    position: fixed;
    bottom: 90px;
    left: 50%;
    transform: translateX(-50%) translateY(30px);
    background: var(--brand);
    color: white;
    padding: 12px 24px;
    border-radius: var(--radius-pill);
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 9999;
    white-space: nowrap;
    pointer-events: none;
}

.toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* ========== FOOTER ========== */
.footer-section {
    padding: 40px 0 30px;
    text-align: center;
    border-top: 1px solid var(--border);
    margin-top: 20px;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 18px;
    margin-bottom: 16px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--bg-muted);
    color: var(--text-secondary);
    font-size: 1.2rem;
    text-decoration: none;
    transition: var(--transition);
}

.social-icons a:hover {
    background: var(--brand-accent);
    color: white;
}

.footer-copy {
    font-size: 0.75rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ========== LOGIN ========== */
.login-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 20px;
    background: linear-gradient(145deg, var(--bg-body) 0%, var(--brand-bg) 100%);
}

.login-box {
    width: 100%;
    max-width: 380px;
    background: var(--bg-surface);
    border-radius: var(--radius-lg);
    padding: 40px 30px;
    box-shadow: var(--shadow-lg);
    text-align: center;
}

.login-box h2 {
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.error-msg {
    color: var(--danger);
    font-size: 0.8rem;
    display: none;
    margin-top: 8px;
    font-weight: 600;
}

/* ========== ADMIN ========== */
.admin-form-card {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 20px;
    margin-bottom: 16px;
    box-shadow: var(--shadow-sm);
}

.admin-product-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    margin-bottom: 8px;
    background: var(--bg-surface);
    transition: var(--transition);
}

.admin-product-row:hover {
    box-shadow: var(--shadow-sm);
}

.admin-product-row img {
    width: 55px;
    height: 55px;
    border-radius: 10px;
    object-fit: cover;
}

.admin-product-row .info {
    flex: 1;
    min-width: 0;
}

.admin-product-row .info h4 {
    font-size: 0.9rem;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.admin-product-row .meta-text {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.admin-product-row .price-tag {
    font-weight: 800;
    color: var(--brand-accent);
    white-space: nowrap;
    font-size: 0.95rem;
}

.admin-product-row .actions {
    display: flex;
    gap: 6px;
}

.btn-edit {
    background: var(--bg-muted);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    cursor: pointer;
    color: var(--text-muted);
    transition: var(--transition);
}

.btn-edit:hover {
    background: var(--brand-gold);
    color: white;
}

.btn-del {
    background: #fde8e8;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    cursor: pointer;
    color: var(--danger);
    transition: var(--transition);
}

.btn-del:hover {
    background: var(--danger);
    color: white;
}

.btn-save {
    width: 100%;
    padding: 16px;
    background: var(--brand);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-weight: 800;
    cursor: pointer;
    font-family: inherit;
    transition: var(--transition);
}

.btn-save:hover {
    background: var(--brand-accent);
}

.btn-cancel {
    width: 100%;
    padding: 12px;
    background: var(--bg-muted);
    color: var(--text-secondary);
    border: none;
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    margin-top: 8px;
    display: none;
}

.banner-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    margin-bottom: 8px;
    background: var(--bg-surface);
}

.banner-text {
    flex: 1;
}

.banner-text h4 {
    font-size: 0.9rem;
    font-weight: 700;
}

.banner-text p {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Toggle switch */
.switch {
    position: relative;
    display: inline-block;
    width: 56px;
    height: 30px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 24px;
    width: 24px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.4s;
}

input:checked+.slider {
    background-color: var(--success);
}

input:checked+.slider:before {
    transform: translateX(26px);
}

.slider.round {
    border-radius: 30px;
}

.slider.round:before {
    border-radius: 50%;
}

/* Floating Add Button */
.floating-add-btn {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--brand-accent);
    color: white;
    border: none;
    font-size: 1.4rem;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(198, 40, 40, 0.4);
    z-index: 500;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.floating-add-btn:hover {
    transform: scale(1.1);
    background: var(--brand);
}

/* Modal */
.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 3000;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal-overlay.open {
    opacity: 1;
    pointer-events: all;
}

.modal-content {
    background: var(--bg-body);
    width: 100%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    padding: 24px;
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.modal-overlay.open .modal-content {
    transform: translateY(0);
}

.modal-close {
    background: var(--bg-muted);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1rem;
    color: var(--text-muted);
    float: right;
}

/* ========== EMPTY STATE ========== */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-muted);
    grid-column: 1 / -1;
}

.empty-state i {
    font-size: 2.5rem;
    margin-bottom: 12px;
    display: block;
    opacity: 0.4;
}

/* ========== CATEGORY TITLE ========== */
.category-title {
    grid-column: 1 / -1;
    margin-top: 30px;
    margin-bottom: 15px;
    font-size: 1.5rem;
    color: var(--brand);
    border-bottom: 2px solid var(--brand-accent);
    padding-bottom: 8px;
    width: 100%;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 480px) {
    body { font-size: 16px; }
    .promo-slide { padding: 30px 20px; }
    .promo-slide h2 { font-size: 1.5rem; }
    .hero-content { padding: 25px 18px; }
    .hero-content h2 { font-size: 1.3rem; }
    .form-row { grid-template-columns: 1fr; }
    .delivery-options { grid-template-columns: 1fr; }
}