/* ===================================================
   BOCADO — Light Premium Design System v3
   =================================================== */

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

:root {
    --brand: #3d1c24;
    /* Burgundy from logo */
    --brand-light: #f1b860;
    /* Warm yellow from logo */
    --brand-bg: #fff8f0;
    --bg-body: #faf7f4;
    --bg-surface: #ffffff;
    --bg-muted: #f3eeea;
    --text-primary: #1a1311;
    --text-secondary: #6b5e55;
    --text-muted: #a89e96;
    --border: #e8e0d8;
    --success: #2ecc71;
    --danger: #e74c3c;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.1);
    --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;
    /* Increased from 16px */
}

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

/* ========== ANNOUNCEMENT BAR ========== */
.announcement-bar {
    background: linear-gradient(135deg, var(--brand), var(--brand-light));
    color: white;
    padding: 12px 0;
    /* Increased */
    font-size: 0.9rem;
    /* Increased */
    font-weight: 800;
    /* Bolder */
    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 15s linear infinite;
}

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

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

/* ========== HEADER ========== */
.app-header {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    position: sticky;
    top: 0;
    z-index: 500;
    border-bottom: 1px solid var(--border);
    padding: 10px 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: 90px;
    /* Increased */
    height: 75px;
    /* Increased */
    object-fit: contain;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

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

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

.brand-text span {
    font-size: 0.9rem;
    /* Increased */
    color: var(--brand);
    text-transform: uppercase;
    letter-spacing: 3px;
    /* Increased for wider stance */
    font-weight: 700;
}

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

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

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

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

/* ========== 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;
    /* Increased padding for taller banner */
    background: linear-gradient(135deg, #1a1311 0%, #3b2e28 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.promo-slide::after {
    content: '';
    position: absolute;
    right: -30px;
    bottom: -30px;
    width: 160px;
    /* Increased decorative element */
    height: 160px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 50%;
}

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

.promo-slide p {
    font-size: 1rem;
    /* Increased */
    opacity: 0.85;
    /* Better visibility */
    max-width: 280px;
}

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

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

.promo-dot.active {
    background: var(--brand);
    width: 28px;
    /* Increased */
    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);
    box-shadow: 0 0 0 3px rgba(212, 133, 14, 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;
}

/* Accessibility Helper for SEO */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ========== CATEGORIES BAR WITH ARROWS ========== */
.categories-bar-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 12px 0 16px;
    position: relative;
    width: 100%;
}

.cat-arrow-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    color: var(--brand);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: all 0.2s ease;
    font-size: 0.9rem;
}

.cat-arrow-btn:hover {
    background: var(--brand-bg);
    border-color: var(--brand);
    color: var(--brand);
    transform: scale(1.05);
}

.cat-arrow-btn:active {
    transform: scale(0.95);
}

.categories-scroll {
    flex: 1;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 4px 0;
}

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

.categories-nav {
    display: flex;
    gap: 10px;
    align-items: center;
    width: max-content;
}

.cat-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 20px;
    border-radius: var(--radius-pill);
    background: var(--bg-surface);
    border: 1px solid var(--border);
    color: var(--text-primary);
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: inherit;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.cat-pill .cat-icon {
    font-size: 1.1rem;
    line-height: 1;
}

.cat-pill:hover {
    border-color: var(--brand);
    color: var(--brand);
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.cat-pill.active {
    background: var(--brand);
    color: white;
    border-color: var(--brand);
    box-shadow: 0 4px 12px rgba(184, 74, 36, 0.35);
}

/* ========== 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;
    /* Mobile-first vertical layout */
    padding: 0;
    /* Padding moved to body */
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    position: relative;
    /* For category badge */
}

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

.cat-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: #27ae60;
    /* Harmonized Green */
    color: white;
    padding: 6px 14px;
    border-radius: var(--radius-pill);
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    z-index: 10;
    box-shadow: 0 4px 10px rgba(39, 174, 96, 0.4);
}

.card-img {
    width: 100%;
    /* Full width */
    height: 220px;
    /* Taller image */
    border-radius: 16px 16px 0 0;
    /* Top corners only */
    object-fit: cover;
    flex-shrink: 0;
}

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

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

.card-body .desc {
    font-size: 0.9rem;
    /* Increased */
    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;
    /* Increased */
    font-weight: 800;
    color: var(--brand);
}

.btn-add {
    width: 44px;
    /* Increased */
    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: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;
    /* Increased */
    height: 32px;
    font-size: 1rem;
    cursor: pointer;
    border-radius: 8px;
    transition: var(--transition);
}

.qty-control button:hover {
    background: var(--brand-bg);
    color: var(--brand);
}

.qty-control span {
    font-weight: 700;
    color: var(--brand);
    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);
}

.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);
    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);
    border-radius: var(--radius-sm);
    padding: 10px 14px;
    margin-top: 12px;
    font-size: 0.8rem;
    color: var(--brand);
    line-height: 1.4;
    animation: fadeIn 0.3s ease;
}

.alert-icon {
    font-size: 1.8rem;
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.alert-body h3 {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--brand);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.alert-body p {
    font-size: 0.85rem;
    color: var(--text-primary);
    line-height: 1.6;
    margin-bottom: 8px;
}

.alert-hint {
    font-size: 0.75rem;
    color: var(--brand);
    background: #ffffff;
    display: inline-block;
    padding: 4px 10px;
    border-radius: 8px;
    border: 1px solid var(--border);
}

@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), var(--brand-light));
    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(212, 133, 14, 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);
    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);
    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);
}

/* 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);
}

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

.form-group label {
    display: block;
    font-size: 0.9rem;
    /* Increased */
    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;
    /* Increased */
    border-radius: var(--radius-sm);
    border: 2px solid var(--border);
    /* Slightly thicker border */
    background: var(--bg-surface);
    color: var(--text-primary);
    font-size: 1.1rem;
    /* Increased */
    font-family: inherit;
    transition: var(--transition);
    outline: none;
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--brand);
    box-shadow: 0 0 0 3px rgba(212, 133, 14, 0.1);
}

input::placeholder,
textarea::placeholder {
    color: var(--text-muted);
}

select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23a89e96' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
}

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

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

.btn-whatsapp:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp i {
    font-size: 1.3rem;
}

/* ========== MAP STYLES ========== */
#map {
    height: 200px;
    width: 100%;
    border-radius: var(--radius-sm);
    margin-bottom: 10px;
    z-index: 10;
    border: 1px solid var(--border);
}

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

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

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

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

.footer-copy {
    font-size: 0.7rem;
    color: var(--text-muted);
}

/* ========== TOAST ========== */
.toast {
    position: fixed;
    bottom: 90px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    padding: 12px 24px;
    border-radius: var(--radius-pill);
    background: var(--text-primary);
    color: white;
    font-size: 0.85rem;
    font-weight: 500;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 3000;
    pointer-events: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

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

.toast i {
    color: var(--brand-light);
}

/* ========== ADMIN STYLES ========== */
.admin-form-card {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    padding: 24px;
    border-radius: var(--radius-lg);
    margin: 24px 0;
    box-shadow: var(--shadow-sm);
}

.admin-form-card h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.admin-form-card h3 i {
    color: var(--brand);
}

.btn-save {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: var(--radius-sm);
    background: linear-gradient(135deg, var(--brand), var(--brand-light));
    color: white;
    font-weight: 700;
    font-size: 0.95rem;
    font-family: inherit;
    cursor: pointer;
    transition: var(--transition);
}

.btn-save:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(212, 133, 14, 0.25);
}

.btn-cancel {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: transparent;
    color: var(--text-secondary);
    font-weight: 500;
    font-family: inherit;
    cursor: pointer;
    margin-top: 8px;
    display: none;
}

.btn-danger {
    background: var(--danger);
    color: white;
    border: none;
    padding: 14px;
    border-radius: var(--radius-sm);
    width: 100%;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    margin-top: 8px;
    display: none;
}

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

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

.admin-product-row img {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
}

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

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

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

.admin-product-row .price-tag {
    font-weight: 700;
    color: var(--brand);
    white-space: nowrap;
    margin-right: 8px;
}

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

.admin-product-row .actions button {
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 8px;
    background: var(--bg-muted);
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.8rem;
}

.admin-product-row .actions .btn-edit:hover {
    background: var(--brand-bg);
    color: var(--brand);
}

.admin-product-row .actions .btn-del:hover {
    background: #fde8e8;
    color: var(--danger);
}

/* Banner admin section */
.banner-section {
    margin-top: 32px;
}

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

.banner-item .banner-text {
    flex: 1;
}

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

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

/* Login page */
.login-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-body);
}

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

.login-box h2 {
    margin: 20px 0 30px;
    font-weight: 800;
}

.login-box .error-msg {
    color: var(--danger);
    font-size: 0.8rem;
    margin-top: 10px;
    display: none;
}

/* ========== RESPONSIVE ========== */
@media (min-width: 500px) {
    .product-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 768px) {
    .container {
        max-width: 720px;
    }
}

@media (min-width: 1024px) {
    .container {
        max-width: 900px;
    }

    .product-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ========== 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;
    opacity: 0.3;
    display: block;
}

/* ========== SCROLLBAR ========== */
::-webkit-scrollbar {
    width: 5px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 10px;
}

/* ========== ADMIN MODAL & FLOATING BTN ========== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 16px;
    animation: fadeIn 0.3s ease;
}

.modal-overlay.open {
    display: flex;
}

.modal-content {
    background: var(--bg-body);
    width: 100%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 32px 24px 24px;
    position: relative;
    animation: slideUp 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--bg-muted);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--text-secondary);
    z-index: 10;
}

.floating-add-btn {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: var(--brand);
    color: white;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border: none;
    box-shadow: 0 10px 30px rgba(61, 28, 36, 0.4);
    cursor: pointer;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    transition: var(--transition);
}

.floating-add-btn:hover {
    transform: scale(1.1) rotate(90deg);
}

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

.admin-form-card {
    background: var(--bg-surface);
    padding: 24px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    margin-bottom: 24px;
}

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

@media (max-width: 480px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

.btn-save {
    width: 100%;
    padding: 16px;
    background: var(--brand);
    color: white;
    border: none;
    border-radius: var(--radius-sm);
    font-weight: 800;
    font-size: 1.1rem;
    cursor: pointer;
    margin-top: 10px;
    transition: var(--transition);
}

.btn-cancel {
    width: 100%;
    padding: 12px;
    background: transparent;
    color: var(--text-muted);
    border: none;
    font-weight: 600;
    cursor: pointer;
    margin-top: 8px;
}

/* Toggle Switch */
.switch {
  position: relative;
  display: inline-block;
  width: 54px;
  height: 28px;
}
.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: .4s; border-radius: 34px;
}
.slider:before {
  position: absolute; content: ""; height: 20px; width: 20px; left: 4px; bottom: 4px;
  background-color: white; transition: .4s; border-radius: 50%;
}
input:checked + .slider { background-color: var(--success); }
input:focus + .slider { box-shadow: 0 0 1px var(--success); }
input:checked + .slider:before { transform: translateX(26px); }
.slider.round { border-radius: 34px; }
.slider.round:before { border-radius: 50%; }