/* ════════════════════════════════════════════════════════════════
   menu.css — stiluri specifice products.php (meniu restaurant)
   Importat DUPĂ shared.css în header_products.php
   ════════════════════════════════════════════════════════════════ */

/* ── Cart badge în header ── */
.menu-header-badge {
    display: inline-flex; align-items: center; gap: 0.3rem;
    background: var(--accent-warm); color: #1a0f00;
    border-radius: 50px; padding: 0.68rem 0.75rem;
    font-size: 0.82rem; font-weight: 600; cursor: pointer;
    transition: background 0.2s, transform 0.15s;
    box-shadow: 0 2px 12px rgba(232,160,32,0.45);
    white-space: nowrap;
}
.menu-header-badge:hover  { background: #f0b030; transform: scale(1.04); }
.menu-header-badge:active { transform: scale(0.97); }


/* ═══════════════════════════════════════════
   SEARCH DROPDOWN PRODUSE
═══════════════════════════════════════════ */
.prod-search-drop {
    display: none; position: absolute; z-index: 102; top: calc(100% + 8px); left: 0; right: 0;
    background: var(--bg2); border: 1px solid var(--border); border-radius: 16px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.5); z-index: 1000;
    max-height: 300px; overflow-y: auto; padding: 0.5rem;
}
.prod-search-drop.open { display: block !important; position: fixed !important; z-index: 9999 !important; }
.prod-search-result {
    display: flex; align-items: center; gap: 0.75rem;
    padding: 0.6rem 0.75rem; border-radius: 10px;
    cursor: pointer; color: var(--text); transition: background 0.15s;
    text-decoration: none;
}
.prod-search-result:hover { background: var(--bg3); }
.prod-search-result-icon {
    width: 40px; height: 40px; border-radius: 8px; background: var(--bg3);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.3rem; flex-shrink: 0; overflow: hidden;
}
.prod-search-result-icon img { width: 100%; height: 100%; object-fit: cover; }
.prod-search-result-name { font-size: 0.88rem; font-weight: 600; color: var(--title); }
.prod-search-result-sub { font-size: 0.75rem; color: var(--text-muted); }
.prod-search-result-price { font-size: 0.85rem; font-weight: 700; color: var(--price); margin-left: auto; flex-shrink: 0; }
.prod-search-no-results { padding: 1.25rem; text-align: center; color: var(--text-muted); font-size: 0.88rem; }

/* ═══════════════════════════════════════════
   BADGE-URI PRODUS (veg/vegan/spicy)
═══════════════════════════════════════════ */
.prod-badge {
    display: inline-block; font-size: 0.68rem; border: 1px solid;
    padding: 0.25rem 0.45rem; border-radius: 4px;
    margin-right: 0.25rem; margin-bottom: 0.25rem; font-weight: 500;
}
.prod-badge.spicy { background: rgba(224,82,82,0.15);   color: #ff8080; }
.prod-badge.veg   { background: rgba(56,201,160,0.15);  color: #38c9a0; }
.prod-badge.vegan { background: rgba(100,200,100,0.15); color: #6dc86d; }

/* ═══════════════════════════════════════════
   CONTROALE CANTITATE
═══════════════════════════════════════════ */
.qty-control {
    display: flex; align-items: center; gap: 0.25rem;
    background: rgba(243, 244, 246, 0.8); border-radius: 50px; padding: 0.15rem 0.2rem;
}
.qty-btn {
    width: 28px; height: 28px; border-radius: 50%; border: none;
    background: #fff; box-shadow: 0 1px 4px rgba(0,0,0,0.12);
    font-size: 1rem; font-weight: 700; color: var(--accent);
    cursor: pointer; display: flex; align-items: center; justify-content: center;
    transition: background 0.15s, transform 0.15s;
}
.qty-btn:hover { background: var(--accent); color: #fff; }
.qty-btn:active { transform: scale(0.92); }
.qty-display { min-width: 1.5rem; text-align: center; font-weight: 700; font-size: 0.95rem; color: #595656; }

.qty-add-btn {
    display: flex; align-items: center; justify-content: center;
    background: var(--bg-blue-button); color: #fff; border: none;
    border-radius: 50px; padding: 0.4rem 1rem;
    font-size: 0.85rem; font-weight: 600; cursor: pointer;
    transition: background 0.15s, transform 0.15s; white-space: nowrap;
    font-family: var(--font);
}
.qty-add-btn:hover { background: var(--accent2); transform: translateY(-1px); }
.qty-add-btn:active { transform: scale(0.96); }

/* ═══════════════════════════════════════════
   SECȚIUNI CATEGORII & SUBCATEGORII
═══════════════════════════════════════════ */
.cat-section { margin-bottom: 3rem; scroll-margin-top: 52px; }
.cat-section-title {
    font-size: 1.8rem; font-weight: 700; color: #e9e9e9;
    padding: 0.75rem; border-bottom: 3px solid #e7c288;
    margin-bottom: 0.4rem; display: flex; align-items: center; gap: 0.5rem;
    background: transparent; border-radius: 5px;
}
.subcat-section { margin-bottom: 2rem; scroll-margin-top: 52px; }
.subcat-title {
    font-size: 1.15rem; font-weight: 600; color: #e9e9e9;
    padding: 0.4rem 0.85rem; margin-bottom: 1rem;
    border-left: 3px solid #fff; background: var(--bg-blue);
    border-radius: 6px; border-bottom: 1px solid rgba(52,152,219,0.2);
}

/* ═══════════════════════════════════════════
   BARA STICKY COȘ
═══════════════════════════════════════════ */
.cart-bar {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    z-index: 200;
    padding: 0.75rem 1.25rem;
    background: var(--bg2);
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transform: translateY(100%);
    transition: transform 0.3s cubic-bezier(.4,0,.2,1);
}
.cart-bar.visible { transform: translateY(0); }
.cart-bar-info { flex: 1; }
.cart-bar-count { font-size: 0.8rem; color: var(--text-muted); }
.cart-bar-total { font-size: 1.1rem; font-weight: 700; color: var(--price); }
.cart-bar-btn {
    background: var(--accent);
    border: none;
    color: #fff;
    padding: 0.7rem 1.5rem;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    transition: opacity 0.15s;
}
.cart-bar-btn:hover { opacity: 0.85; }

/* ═══════════════════════════════════════════
   DRAWER COȘ
═══════════════════════════════════════════ */
.cart-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 300;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
    backdrop-filter: blur(4px) grayscale(0%);
}
.cart-overlay.open { opacity: 1; pointer-events: all; }

.cart-drawer {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    z-index: 310;
    background: var(--bg2);
    border-top: 1px solid var(--border);
    border-radius: 20px 20px 0 0;
    max-height: 85vh;
    overflow-y: auto;
    transform: translateY(100%);
    transition: transform 0.35s cubic-bezier(.4,0,.2,1);
    padding: 0 0 2rem;
}
.cart-drawer.open { transform: translateY(0); }

/* Desktop: cart devine modal centrat (products.php + product_page.php) */
@media (min-width: 769px) {
    .cart-bar { display: none !important; }
    .cart-drawer {
        bottom: auto !important; left: 50% !important; right: auto !important;
        width: 100% !important; max-width: 540px !important; max-height: 82vh !important;
        border-radius: 20px !important; border-top: none !important;
        top: 50% !important;
        transform: translate(-50%, calc(-50% + 24px)) !important;
        opacity: 0 !important; pointer-events: none !important;
        transition: transform 0.28s cubic-bezier(0.34,1.4,0.64,1), opacity 0.22s ease !important;
    }
    .cart-drawer.open {
        transform: translate(-50%, -50%) !important;
        opacity: 1 !important; pointer-events: auto !important;
    }
    .cart-drawer .cart-drawer-handle { display: none !important; }
    .cart-overlay { background: rgba(0,0,0,.65); }
}

.cart-drawer-handle {
    width: 40px; height: 4px;
    background: var(--border);
    border-radius: 2px;
    margin: 0.75rem auto 0;
}
.cart-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem 0.75rem;
    border-bottom: 1px solid var(--border);
}
.cart-drawer-title { font-size: 1.1rem; font-weight: 700; color: var(--title); }
.cart-close-btn {
    background: var(--bg3);
    border: 1px solid var(--border);
    color: var(--text);
    width: 32px; height: 32px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-items { padding: 0.75rem 1.25rem; }
.cart-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.65rem 0;
    border-bottom: 1px solid var(--border);
}
.cart-item:last-child { border-bottom: none; }
.cart-item-name  { flex: 1; font-size: 0.9rem; font-weight: 500; color: var(--title); }
.cart-item-qty   { display: flex; align-items: center; gap: 0.35rem; }
.cart-item-price { font-size: 0.9rem; font-weight: 700; color: var(--price); min-width: 60px; text-align: right; }
.cart-item-remove {
    background: none; border: none;
    color: var(--danger); cursor: pointer;
    font-size: 1rem; padding: 0.2rem;
}
.cart-item-notes-toggle {
    background: none; border: none;
    color: var(--text-muted); cursor: pointer;
    font-size: 0.8rem; padding: 0.2rem 0.4rem;
    border-radius: 4px; transition: color 0.15s;
    white-space: nowrap;
}
.cart-item-notes-toggle:hover    { color: var(--accent); }
.cart-item-notes-toggle.has-note { color: var(--accent2); }
.cart-item-notes-wrap { width: 100%; padding: 0.4rem 0 0.2rem; }
.cart-item-notes-input {
    width: 100%;
    background: var(--bg3);
    border: 1px solid var(--border);
    border-radius: 6px;
    color: var(--text);
    padding: 0.45rem 0.6rem;
    font-size: 0.82rem;
    font-family: var(--font);
    resize: none;
    /* overlay alb transparent care nu poate fi suprascris de tema locației */
    box-shadow: inset 0 0 0 999px rgba(255,255,255,.07);
}
.cart-item-notes-input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: inset 0 0 0 999px rgba(255,255,255,.11);
}
.cart-item-row { display: flex; align-items: center; gap: 0.5rem; width: 100%; }

.cart-notes-area { padding: 0.75rem 1.25rem; }
.cart-notes-area label { display: block; font-size: 0.85rem; color: var(--text-muted); margin-bottom: 0.4rem; }
.cart-notes-area textarea {
    width: 100%;
    background: var(--bg3);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text);
    padding: 0.65rem;
    font-size: 0.9rem;
    resize: none;
    font-family: var(--font);
    box-shadow: inset 0 0 0 999px rgba(255,255,255,.07);
}
.cart-notes-area textarea:focus { outline: none; border-color: var(--accent); box-shadow: inset 0 0 0 999px rgba(255,255,255,.11); }


.cart-footer { padding: 0.75rem 1.25rem 0; border-top: 1px solid var(--border); }
.cart-total-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; }
.cart-total-label { font-size: 0.9rem; color: var(--text-muted); }
.cart-total-value { font-size: 1.3rem; font-weight: 700; color: var(--price); }

.cart-order-btn {
    width: 100%;
    background: var(--accent);
    border: none; color: #fff;
    padding: 0.9rem;
    border-radius: var(--radius);
    font-size: 1rem; font-weight: 700;
    cursor: pointer;
    transition: opacity 0.15s;
    display: flex; align-items: center; justify-content: center; gap: 0.5rem;
}
.cart-order-btn:hover    { opacity: 0.85; }
.cart-order-btn:disabled { opacity: 0.5; cursor: not-allowed; }

.cart-error {
    background: rgba(224,82,82,0.15);
    border: 1px solid var(--danger);
    color: #ff8080;
    border-radius: 8px;
    padding: 0.65rem 0.9rem;
    font-size: 0.85rem;
    margin-bottom: 0.75rem;
}

/* ── Tip comandă ── */
.cart-order-type-wrap { padding: 0.75rem 1rem; border-top: 1px solid rgba(255,255,255,0.07); }
.cart-section-label { display: block; font-size: 0.82rem; color: var(--text-muted); margin-bottom: 0.5rem; font-weight: 600; letter-spacing: 0.02em; }
.order-type-btns { display: flex; gap: 0.6rem; }
.order-type-btn {
    flex: 1; padding: 0.6rem 0.5rem; border-radius: 10px;
    border: 1.5px solid rgba(255,255,255,0.12);
    background: rgba(255,255,255,0.04); color: var(--text-muted);
    font-size: 0.9rem; font-weight: 600; cursor: pointer;
    transition: all 0.18s; font-family: var(--font);
}
.order-type-btn.selected { border-color: var(--accent); background: rgba(79,142,247,0.12); color: #fff; }

/* ═══════════════════════════════════════════
   MODAL PRODUS
═══════════════════════════════════════════ */
.prod-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 1000;
    align-items: flex-end;
    justify-content: center;
    backdrop-filter: blur(4px) grayscale(0%);
}
.prod-overlay.open { display: flex; }

.prod-modal {
    background: #fff;
    border-radius: 20px 20px 0 0;
    width: 97%;
    max-width: 560px;
    max-height: 90vh;
    overflow-y: auto;
    animation: slideUp 0.28s cubic-bezier(.4,0,.2,1);
    position: relative;
    scrollbar-width: none;
}
@keyframes slideUp {
    from { transform: translateY(40px); opacity: 0; }
    to   { transform: translateY(0);    opacity: 1; }
}

@media (min-width: 600px) {
    .prod-overlay { align-items: center; }
    .prod-modal {
        border-radius: 16px;
        max-height: 85vh;
        box-shadow: 0 20px 60px rgba(0,0,0,0.35);
    }
}

.prod-modal-img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    display: block;
    border-radius: 20px 20px 0 0;
}
@media (min-width: 600px) { .prod-modal-img { border-radius: 16px 16px 0 0; } }

.prod-modal-img-placeholder {
    width: 100%;
    aspect-ratio: 16/9;
    background: #f0f2f5;
    display: flex; align-items: center; justify-content: center;
    font-size: 4rem;
    border-radius: 20px 20px 0 0;
}
@media (min-width: 600px) { .prod-modal-img-placeholder { border-radius: 16px 16px 0 0; } }

.prod-modal-img-wrap { position: relative; }
.prod-modal-close {
    position: absolute;
    top: 0.75rem; right: 0.75rem;
    background: rgba(0,0,0,0.45);
    border: none; border-radius: 50%;
    width: 34px; height: 34px;
    color: #fff; font-size: 1rem; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    z-index: 10; transition: background 0.15s;
}
.prod-modal-close:hover { background: rgba(0,0,0,0.65); }

.prod-modal-body { padding: 1.2rem 1.25rem 0.5rem; }
.prod-modal-name { font-size: 1.15rem; font-weight: 700; color: #1a1a2e; margin-bottom: 0.4rem; line-height: 1.3; }
.prod-modal-desc { font-size: 0.85rem; color: #6b7280; line-height: 1.55; margin-bottom: 0.75rem; white-space: pre-line; }

.prod-modal-meta { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 0.5rem; }
.prod-modal-meta-item {
    font-size: 0.75rem; color: #6b7280;
    background: rgba(243, 244, 246, 0.8); border-radius: 6px;
    padding: 0.2rem 0.55rem;
    display: flex; align-items: center; gap: 0.25rem;
}

#pm-specs-list    { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.4rem; }
#pm-attrs-list    { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.4rem; }
#pm-allergens-list{ display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.4rem; }

.prod-modal-attr-label {
    font-weight: 600; color: #6b7280;
    background: #c5d5ee;
    border-radius: 15px;
    padding: 0.2rem 0.8rem;
    display: flex; align-items: center; gap: 0.25rem;
    border: 1px solid; font-size: 0.75rem;
}
.prod-modal-attr-value { color: #1a1a2e; flex-shrink: 0; }

.allergen-label-chip {
    font-weight: 600; color: #6b7280;
    background: #ffe0af;
    border-radius: 15px;
    padding: 0.2rem 0.8rem;
    display: flex; align-items: center; gap: 0.25rem;
    border: 1px solid; font-size: 0.75rem;
}

.prod-modal-footer {
    display: flex; align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem 2rem;
    border-top: 1px solid #e5e7eb;
    gap: 1rem; margin-top: 0.75rem;
    flex-wrap: wrap;
}
@media (min-width: 600px) { .prod-modal-footer { padding-bottom: 1.25rem; } }
@media (max-width: 480px) {
    .prod-modal-footer { flex-direction: column; align-items: stretch; }
    .prod-modal-price  { text-align: center; order: -1; }
    .prod-modal-qty    { justify-content: center; }
}

.prod-modal-price { font-size: 1.25rem; font-weight: 700; color: #22c55e; white-space: nowrap; }
.prod-modal-qty {
    display: flex; align-items: center; gap: 0.6rem;
    background: rgba(243, 244, 246, 0.5); border-radius: 25px; padding: 0.3rem 0.5rem;
}
.prod-modal-qty-btn {
    width: 34px; height: 34px; border-radius: 50%;
    border: none; background: #fff; color: #374151;
    font-size: 1.2rem; cursor: pointer;
    box-shadow: 0 1px 3px rgba(0,0,0,0.12);
    display: flex; align-items: center; justify-content: center;
    transition: all 0.15s; flex-shrink: 0;
}
.prod-modal-qty-btn:hover { background: var(--accent); color: #fff; }
.prod-modal-qty-display { min-width: 28px; text-align: center; font-weight: 700; font-size: 1.05rem; color: #1a1a2e; }

.prod-modal-add-btn {
    flex: 1; background: var(--accent); color: #fff;
    border: none; border-radius: 25px;
    padding: 0.8rem 1rem; font-size: 0.95rem; font-weight: 700;
    cursor: pointer; transition: opacity 0.15s;
    display: flex; align-items: center; justify-content: center; gap: 0.4rem;
}
.prod-modal-add-btn:hover { opacity: 0.88; }

/* ── Attr sets & variante selectabile ── */
.prod-modal-attrs-title {
    font-size: 0.78rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.05em;
    margin-bottom: 0.1rem; margin-top: 0.6rem;
}
.attr-set-btn {
    display: flex; flex-direction: column; align-items: center; padding: 0.5rem 0.85rem;
    border: 2px solid #e5e7eb; border-radius: 10px;
    background: #f9fafb; cursor: pointer;
    transition: all 0.15s; font-family: var(--font);
    text-align: left; gap: 0.15rem;
}
.attr-set-btn:hover    { border-color: var(--accent); background: #eff6ff; }
.attr-set-btn.selected { border-color: var(--accent); background: #eff6ff; box-shadow: 0 0 0 3px rgba(79,142,247,0.18); }
.attr-set-btn .set-attrs { font-size: 0.82rem; color: #374151; font-weight: 600; white-space: nowrap; }
.attr-set-btn .set-price  { display: flex; flex-direction: column; align-items: center; font-size: 0.9rem; color: #22c55e; font-weight: 700; }
#pm-attr-sets-list { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.4rem; }

.variant-btn {
    padding: 0.45rem 1rem; border: 2px solid #e5e7eb; border-radius: 10px;
    background: #f9fafb; cursor: pointer; font-family: var(--font);
    font-size: 0.85rem; font-weight: 600; color: #374151;
    transition: all 0.15s; white-space: nowrap;
}
.variant-btn:hover    { border-color: var(--accent); background: #eff6ff; color: #1d4ed8; }
.variant-btn.selected { border-color: var(--accent); background: #eff6ff; color: #1d4ed8; box-shadow: 0 0 0 3px rgba(79,142,247,0.18); }
.variant-btn .v-price-mod { font-size: 0.75rem; font-weight: 400; color: #6b7280; }
#pm-variants-list { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.4rem; }

/* ═══════════════════════════════════════════
   INGREDIENTE
═══════════════════════════════════════════ */
.ingredient-labels {
    display: flex; flex-wrap: wrap;
    justify-content: center; gap: 6px; margin-top: 8px;
}
.ingredient-label {
    padding: 4px 12px; background: #fff7dc;
    border-radius: 5px; font-size: .8rem;
    white-space: nowrap; border: 1px solid #e8d890; font-weight: 600;
    color: #5a4a10; cursor: default;
}
.ingredient-label small { color: #666; }

.prod-modal-ingredients-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.4rem;
}

/* Chip informații produs */
.prod-info-chips { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 5px; }
.prod-info-chip {
    font-weight: 600;
    color: #1a4a6b;
    background: #e0f0ff;
    border-radius: 5px;
    padding: 7px 11px;
    display: inline-flex;
    align-items: center;
    border: 1px solid #7ab8e8;
    font-size: 12px;
    white-space: nowrap;
}
#pm-info-items-list { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }

/* ═══════════════════════════════════════════
   ECRAN SUCCES & MENIU GOL
═══════════════════════════════════════════ */
.success-screen { text-align: center; padding: 3rem 1.5rem; }
.success-icon { font-size: 4rem; margin-bottom: 1rem; }
.success-title { font-size: 1.5rem; font-weight: 700; color: #fff; margin-bottom: 0.5rem; }
.success-sub { color: #8a9bb5; font-size: 0.95rem; line-height: 1.6; margin-bottom: 1.5rem; }
.success-order-container { display: grid; justify-content: center; }
.success-order-num {
    display: inline-block; background: #1e2a3a; border: 1px solid #2a3f5f;
    border-radius: 12px; padding: 0.5rem 1.5rem;
    font-size: 1.1rem; font-weight: 700; color: var(--accent); margin-bottom: 1rem;
}
.success-back-btn {
    display: inline-flex; align-items: center; gap: 0.5rem;
    background: var(--accent); color: #fff; border: none;
    border-radius: 14px; padding: 0.8rem 2rem;
    font-size: 1rem; font-weight: 700; cursor: pointer; font-family: var(--font);
    transition: background 0.2s, transform 0.15s;
}
.success-back-btn:hover { background: var(--accent2); transform: translateY(-1px); }
.empty-menu { text-align: center; padding: 4rem 1.5rem; color: #8a9bb5; }
.empty-icon { font-size: 4rem; margin-bottom: 1rem; }

/* ═══════════════════════════════════════════
   FOOTER RESTAURANT (products.php)
═══════════════════════════════════════════ */
.menu-footer {
    background: #0a1525; border-top: 1px solid #1e2a3a;
    margin-top: 3rem; padding-bottom: env(safe-area-inset-bottom, 0);
}
.footer-inner { max-width: var(--var-header-width); margin: 0 auto; padding: 2rem 1.25rem 1.5rem; }
.footer-cols {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 0; margin-bottom: 1.5rem;
}
.footer-col {
    padding: 0 2rem 0 0;
    border-right: 1px solid #1e2a3a;
}
.footer-col:nth-child(2) { padding-left: 2rem; }
.footer-col:nth-child(3) { padding-left: 2rem; border-right: none; }
.footer-col-title { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #4a6080; margin-bottom: 1rem; }
.footer-status { display: flex; align-items: center; gap: 0.45rem; margin-bottom: 0.75rem; }
.footer-status-dot {
    width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0;
}
.footer-status-dot.open   { background: #4ade80; box-shadow: 0 0 6px rgba(74,222,128,0.6); }
.footer-status-dot.closed { background: #f87171; box-shadow: 0 0 6px rgba(248,113,113,0.5); }
.footer-status-text { font-size: 0.85rem; font-weight: 600; }
.footer-status-text.open  { color: #4ade80; }
.footer-status-text.closed{ color: #f87171; }
.footer-schedule { display: flex; flex-direction: column; gap: 0.15rem; }
.footer-schedule-row {
    display: flex; justify-content: space-between; align-items: center;
    padding: 0.28rem 0.45rem; border-radius: 5px;
}
.footer-schedule-row.today { background: rgba(79,142,247,0.1); border: 1px solid rgba(79,142,247,0.18); }
.footer-schedule-day { font-weight: 500; color: #8a9bb5; font-size: 0.82rem; }
.footer-schedule-row.today .footer-schedule-day { color: #93c5fd; font-weight: 700; }
.footer-schedule-hours { font-weight: 500; color: #c0cfe0; font-size: 0.82rem; white-space: nowrap; }
.footer-schedule-row.today .footer-schedule-hours { color: #bfdbfe; }
.footer-schedule-hours.closed-day { color: #e05252; }
.footer-contact { display: flex; flex-direction: column; gap: 0.55rem; }
.footer-contact-item {
    display: flex; align-items: flex-start; gap: 0.6rem;
    color: #8a9bb5; text-decoration: none; transition: color 0.2s;
    line-height: 1.45; font-size: 0.84rem;
}
.footer-contact-item:hover { color: #c0cfe0; }
.footer-contact-icon { font-size: 0.95rem; width: 1.3rem; text-align: center; flex-shrink: 0; padding-top: 0.05rem; }
.footer-gps-btn {
    display: inline-flex; align-items: center; gap: 0.45rem;
    margin-top: 0.6rem; background: rgba(79,142,247,0.1);
    border: 1px solid rgba(79,142,247,0.25); border-radius: 50px;
    padding: 0.45rem 1rem; color: #4f8ef7; text-decoration: none;
    font-size: 0.78rem; font-weight: 600; transition: background 0.2s, color 0.2s;
}
.footer-gps-btn:hover { background: rgba(79,142,247,0.2); color: #7eb3ff; }
.footer-social { display: flex; flex-wrap: wrap; gap: 0.55rem; margin-top: 0.5rem; }
.footer-social-btn {
    display: flex; align-items: center; gap: 0.4rem;
    background: #161c27; border: 1px solid #1e2a3a; border-radius: 50px;
    padding: 0.4rem 0.85rem; color: #8a9bb5; text-decoration: none;
    font-size: 0.78rem; font-weight: 500;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.footer-social-btn:hover { background: #1e2a3a; color: #c0cfe0; border-color: #2a3f5f; }
.footer-social-btn svg { width: 13px; height: 13px; fill: currentColor; flex-shrink: 0; }
.footer-info-links { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-info-link {
    display: flex; align-items: center; gap: 0.55rem;
    color: #8a9bb5; text-decoration: none; font-size: 0.84rem;
    padding: 0.1rem 0; transition: color 0.2s; border-bottom: 1px solid transparent;
}
.footer-info-link:hover { color: #c0cfe0; }
.footer-info-link-icon { width: 1.3rem; text-align: center; flex-shrink: 0; font-size: 0.9rem; }
.footer-info-badge {
    margin-left: auto; background: rgba(79,142,247,0.15);
    color: #4f8ef7; font-size: 0.65rem; font-weight: 700;
    letter-spacing: 0.05em; padding: 0.1rem 0.45rem; border-radius: 50px;
}
.footer-bottom {
    display: flex; align-items: center; justify-content: space-between;
    flex-wrap: wrap; gap: 0.5rem;
}
.footer-copy { font-size: 0.75rem; color: #3d5068; }
.footer-powered { font-size: 0.72rem; color: #2a3a50; }

/* ═══════════════════════════════════════════
   INGREDIENTE REMOVABILE + TOPPINGS
═══════════════════════════════════════════ */
.ingredient-label.removable {
    cursor: pointer;
    border-color: #d95050;
    position: relative;
    transition: background .15s, color .15s, text-decoration .15s;
    user-select: none;
}
.ingredient-label.removable:hover {
    background: #ffe0e0;
    border-color: #c0392b;
    color: #8b0000;
}
.ingredient-label.removable.removed {
    background: #f5d5d5;
    border-color: #d95050;
    color: #c0392b;
    text-decoration: line-through;
    opacity: .75;
}
.ing-remove-x {
    font-size: 11px;
    font-weight: 700;
    color: #d95050;
    margin-right: 3px;
    opacity: .85;
}
.pm-removable-hint {
    font-size: 0.72rem;
    color: #8aa7cf;
    margin-top: 0.35rem;
    font-style: italic;
}

.pm-toppings-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 0.3rem;
}
.pm-topping-row {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(243, 244, 246, 0.8);
    border: 1px solid #d0e4f8;
    border-radius: 10px;
    padding: 0.45rem 0.75rem;
}
.pm-topping-name {
    flex: 1;
    font-weight: 600;
    font-size: 0.92rem;
    color: #1a3055;
}
.pm-topping-price {
    font-size: 0.82rem;
    color: #1a7a3c;
    font-weight: 600;
    white-space: nowrap;
}
.pm-topping-qty-control {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}
.pm-topping-qty-btn {
    width: 28px; height: 28px;
    border-radius: 50%;
    border: 2px solid #3d82d0;
    background: transparent;
    color: #3d82d0;
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: background .15s, color .15s;
}
.pm-topping-qty-btn:hover { background: #3d82d0; color: #fff; }
.pm-topping-qty-btn:disabled { opacity: .35; cursor: not-allowed; }
.pm-topping-qty-display {
    min-width: 22px;
    text-align: center;
    font-weight: 700;
    font-size: 1rem;
    color: #1a3055;
}
.pm-toppings-total {
    font-size: 0.8rem;
    color: #1a7a3c;
    margin-top: 0.2rem;
    font-style: italic;
}

/* ═══════════════════════════════════════════
   MEDIA QUERIES
═══════════════════════════════════════════ */
@media (max-width: 768px) {
    .footer-cols { grid-template-columns: 1fr; gap: 0; }
    .footer-col { padding: 1.5rem 0; border-right: none; border-bottom: 1px solid #1e2a3a; }
    .footer-col:first-child { padding-top: 0; }
    .footer-col:last-child { border-bottom: none; padding-left: 0; padding-bottom: 0; }
    .footer-col:nth-child(2) { padding-left: 0; }
    .footer-bottom { flex-direction: column; align-items: flex-start; gap: 0.3rem; }
}

@media (max-width: 600px) {
    .product-grid { grid-template-columns: 1fr; }
}

@media (max-width: 360px) {
    .cart-item-qty  { display: block !important; text-align: center; }
    .cart-item-price { min-width: 39px !important; max-width: 10px !important; }
}

/* ── products.php overrides ──────────────────────────────────────────────── */
.subcat-nav { top: 54px !important; }
.menu-header { margin-top: 54px; }
body { background: var(--bg, #0a1628); }
.psb-float { display: none !important; }
.header-top-right { display: none !important; }

/* ── Discount badge pe imagine ── */
.product-card-img .price-overlay.has-discount { background: linear-gradient(135deg, #e53935, #c62828) !important; padding: 4px 8px; color: #fff !important; border-color: transparent !important; }
.discount-badge { font-size: .9rem; font-weight: 800; letter-spacing: .03em; }

/* ── Preț tăiat + preț redus pe card ── */
.price-original { opacity: .55; font-size: .82em; margin-right: 3px; text-decoration: line-through; }
.price-sale     { color: #ff6b6b; font-weight: 700; }

/* ── Quick view bar ── */
.product-card-img { position: relative; overflow: hidden; }
.quick-view-bar {
    position: absolute; bottom: 0; left: 0; right: 0;
    background: rgba(0,0,0,.65); color: #fff;
    text-align: center; padding: 8px 6px;
    font-size: .82rem; font-weight: 600; cursor: pointer;
    opacity: 0; transform: translateY(100%);
    transition: opacity .22s ease, transform .22s ease;
    z-index: 4; backdrop-filter: blur(2px);
}
.product-card:hover .quick-view-bar { opacity: 1; transform: translateY(0); }
@media (max-width: 768px) {
    .quick-view-bar {
        bottom: 8px; left: 8px; right: auto;
        width: 44px; height: 44px; border-radius: 10px;
        padding: 0; display: flex; align-items: center; justify-content: center;
        font-size: 1.2rem; border: 1px solid rgba(255,255,255,.18);
        opacity: 1; transform: none; transition: none;
    }
    .quick-view-bar .qv-text { display: none; }
}

/* ── Modal animație (products.php closed location modal) ── */
@keyframes closed-modal-in {
    from { opacity: 0; transform: translateY(24px) scale(.96); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* ── product_page.php ── */
.psb-float { display: none !important; }
