﻿* { margin:0; padding:0; box-sizing:border-box; }
:root {
    --primary: #5A2132;
    --black: #000000;
    --smoke: #F5F5F5;
    --white: #FFFFFF;
    --gold: #D4A853;
    --transition: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
html { scroll-behavior: smooth; }
body {
    font-family: 'Satoshi', sans-serif;
    background: var(--smoke);
    color: var(--black);
    overflow-x: hidden;
}
nav {
    position: fixed; top:0; left:0; width:100%;
    padding: 1.2rem 4rem;
    display: flex; justify-content: space-between; align-items: center;
    z-index: 1000;
    background: transparent;
    transition: background 0.4s var(--transition);
}
nav.scrolled { background: var(--primary); }
.logo {
    font-size: 1.8rem; font-weight: 900; letter-spacing: -0.04em;
    color: var(--white); text-decoration: none;
}
.logo span { color: var(--gold); }
.nav-links { display: flex; gap: 2.5rem; list-style: none; align-items: center; }
.nav-links a {
    color: var(--white); text-decoration: none; font-weight: 700;
    font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase;
    position: relative; transition: color 0.3s;
}
.nav-links a::after {
    content: ''; position: absolute; bottom: -4px; left: 0;
    width: 0; height: 2px; background: var(--gold);
    transition: width 0.3s var(--transition);
}
.nav-links a:hover::after { width: 100%; }
.nav-cta {
    background: var(--gold); color: var(--black) !important;
    padding: 0.6rem 1.6rem; border-radius: 50px; font-weight: 700;
    text-transform: uppercase; font-size: 0.75rem; letter-spacing: 0.1em;
    transition: transform 0.3s var(--transition);
}
.nav-cta:hover { transform: scale(1.05); }
.nav-cta::after { display: none !important; }
.nav-dropdown { position: relative; }
.nav-dropdown > a { cursor: pointer; }
.nav-dropdown > a i { font-size: 0.6rem; margin-left: 0.3rem; transition: transform 0.3s; }
.nav-dropdown:hover > a i { transform: rotate(180deg); }
.dropdown-menu {
    position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(8px);
    background: var(--black); border: 1px solid rgba(255,255,255,0.1);
    border-radius: 14px; padding: 0.5rem; min-width: 190px;
    opacity: 0; visibility: hidden; pointer-events: none;
    transition: all 0.3s var(--transition); z-index: 100;
}
.nav-dropdown:hover .dropdown-menu {
    opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(4px);
}
.dropdown-menu a {
    display: block; padding: 0.6rem 1rem; border-radius: 8px;
    color: rgba(255,255,255,0.7); text-decoration: none; font-weight: 500;
    font-size: 0.85rem; letter-spacing: 0.04em; text-transform: none;
    transition: all 0.2s;
}
.dropdown-menu a:hover { background: rgba(255,255,255,0.06); color: var(--white); }
.dropdown-menu a::after { display: none !important; }
.menu-toggle { display: none; background: none; border: none; color: var(--white); font-size: 1.5rem; cursor: pointer; }
.hero {
    position: relative; height: 100vh; min-height: 600px;
    background: var(--black); display: flex; align-items: center; overflow: hidden;
}
.hero-bg {
    position: absolute; inset: 0;
    background:
        linear-gradient(135deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.5) 50%, rgba(0,0,0,0.8) 100%),
        url('../img/hero-banner.webp') center/cover no-repeat;
}
.hero-pattern {
    position: absolute; inset: 0;
    background-image:
        repeating-linear-gradient(45deg, transparent, transparent 40px, rgba(90,33,50,0.08) 40px, rgba(90,33,50,0.08) 41px),
        repeating-linear-gradient(-45deg, transparent, transparent 40px, rgba(90,33,50,0.08) 40px, rgba(90,33,50,0.08) 41px);
    pointer-events: none;
}
.hero-content { position: relative; z-index: 2; padding: 0 4rem; max-width: 1400px; width: 100%; margin: 0 auto; }
.hero-badge {
    display: inline-block; border: 1px solid var(--gold); color: var(--gold);
    padding: 0.4rem 1.2rem; border-radius: 50px; font-size: 0.75rem;
    font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase;
    margin-bottom: 1.5rem;
}
.hero-title {
    font-size: clamp(3rem, 8vw, 7rem); font-weight: 900;
    line-height: 0.92; letter-spacing: -0.05em;
    color: var(--white); max-width: 900px;
    opacity: 0; transform: translateY(30px);
}
.hero-title em { font-style: normal; color: var(--gold); }
.hero-desc {
    font-size: 1.15rem; font-weight: 400;
    color: rgba(255,255,255,0.7); max-width: 520px;
    margin-top: 1.8rem; line-height: 1.7;
    opacity: 0; transform: translateY(20px);
}
.hero-actions { display: flex; gap: 1rem; margin-top: 2.5rem; flex-wrap: wrap; opacity: 0; transform: translateY(20px); }
.btn {
    display: inline-flex; align-items: center; gap: 0.6rem;
    padding: 1rem 2.5rem; border-radius: 50px;
    font-family: 'Satoshi', sans-serif; font-weight: 700;
    font-size: 0.85rem; letter-spacing: 0.06em;
    text-transform: uppercase; text-decoration: none; cursor: pointer; border: none;
    transition: all 0.4s var(--transition);
}
.btn-primary { background: var(--gold); color: var(--black); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(212,168,83,0.3); }
.btn-outline { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,0.3); }
.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,0.08); transform: translateY(-3px); }
.hero-scroll {
    position: absolute; bottom: 2.5rem; left: 50%; transform: translateX(-50%);
    z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
    color: rgba(255,255,255,0.4); font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase;
    animation: float 2s ease-in-out infinite;
}
.hero-scroll i { font-size: 1rem; }
@keyframes float {
    0%,100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}
section { padding: 7rem 4rem; }
.section-label { font-size: 0.75rem; font-weight: 900; letter-spacing: 0.15em; text-transform: uppercase; color: var(--primary); margin-bottom: 0.8rem; }
.section-title { font-size: clamp(2rem,4vw,3.5rem); font-weight: 900; letter-spacing: -0.04em; line-height: 1.05; margin-bottom: 1.2rem; color: var(--primary); }
.section-desc { font-size: 1.05rem; color: #666; max-width: 580px; line-height: 1.7; }
#distritos { background: var(--smoke); color: var(--black); position: relative; overflow: hidden; }
.delivery-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: end; margin-bottom: 4rem; }
.delivery-intro .section-title { color: var(--black); }
.delivery-intro .section-desc { color: #666; }
.districts-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 0.8rem; }
.district-item {
    background: var(--white); border: 1px solid rgba(0,0,0,0.06);
    padding: 1.2rem 1rem; border-radius: 12px; text-align: center;
    font-weight: 500; font-size: 0.9rem; color: var(--black);
    transition: all 0.4s var(--transition); cursor: default;
    position: relative; overflow: hidden;
    opacity: 0; transform: translateY(30px);
}
.district-item::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(135deg, var(--primary), transparent);
    opacity: 0; transition: opacity 0.4s var(--transition);
}
.district-item:hover { border-color: var(--primary); }
.district-item i { display: block; font-size: 1.3rem; margin-bottom: 0.4rem; color: var(--gold); position: relative; z-index: 1; }
.district-item span { position: relative; z-index: 1; }
.delivery-highlight { display: grid; grid-template-columns: repeat(3,1fr); gap: 2rem; margin-top: 4rem; padding-top: 4rem; border-top: 1px solid rgba(0,0,0,0.06); }
.delivery-highlight-item { text-align: center; }
.delivery-highlight-item h4 { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--gold); margin-bottom: 0.5rem; }
.delivery-highlight-item p { font-size: 0.9rem; color: #666; line-height: 1.6; }
#menu { background: var(--smoke); }
.menu-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 3.5rem; flex-wrap: wrap; gap: 2rem; }
#menu .section-title { color: var(--black); }
.menu-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.5rem; }
.menu-card { background: var(--white); border-radius: 20px; overflow: hidden; box-shadow: 0 4px 20px rgba(0,0,0,0.04); transition: all 0.5s var(--transition); cursor: pointer; opacity: 0; transform: translateY(50px); display: flex; flex-direction: column; }
.menu-card:hover { transform: translateY(-8px); box-shadow: 0 20px 50px rgba(0,0,0,0.08); }
.menu-card-img { height: 200px; display: flex; align-items: center; justify-content: center; font-size: 4rem; position: relative; }
.menu-card-img.pollo-brasa { background: url('../img/productos/pollobrasa.png') center/cover no-repeat; }
.menu-card-img.parrillero { background: url('../img/productos/parrilla.png') center/cover no-repeat; }
.menu-card-img.anticuchos { background: url('../img/productos/anticucho.png') center/cover no-repeat; }
.menu-card-img.sandwich { background: url('../img/productos/panpollo.png') center/cover no-repeat; }
.menu-card-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.menu-card-body h3 { font-size: 1.15rem; font-weight: 900; margin-bottom: 0.4rem; color: var(--primary); }
.menu-card-body p { font-size: 0.85rem; color: #777; line-height: 1.6; margin-bottom: 1rem; flex: 1; }
.menu-card-footer { display: flex; justify-content: space-between; align-items: center; margin-top: auto; }
.menu-card-price { font-size: 1.3rem; font-weight: 900; color: var(--primary); }
.menu-card-btn {
    background: var(--black); color: var(--white); border: none;
    padding: 0.5rem 1.2rem; border-radius: 50px;
    font-family: 'Satoshi', sans-serif; font-weight: 700; font-size: 0.75rem;
    cursor: pointer; transition: all 0.3s var(--transition);
}
.menu-card-btn:hover { background: var(--primary); transform: scale(1.05); }
#promo { background: var(--smoke); color: var(--black); text-align: center; position: relative; overflow: hidden; }
#promo::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: radial-gradient(circle at 20% 50%, rgba(90,33,50,0.03) 0%, transparent 50%), radial-gradient(circle at 80% 50%, rgba(90,33,50,0.03) 0%, transparent 50%); pointer-events: none; }
#promo .section-title { color: var(--black); }
.promo-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 2rem; margin-top: 3rem; position: relative; }
.promo-card { background: var(--white); border: 1px solid rgba(0,0,0,0.06); padding: 2.5rem 2rem; border-radius: 20px; transition: all 0.4s var(--transition); opacity: 0; transform: translateY(40px); }
.promo-card:hover { box-shadow: 0 16px 40px rgba(0,0,0,0.06); transform: translateY(-5px); }
.promo-card i { font-size: 2.5rem; color: var(--gold); margin-bottom: 1rem; }
.promo-card h4 { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.6rem; color: var(--gold); }
.promo-card p { font-size: 0.85rem; color: #666; line-height: 1.6; }
footer { background: var(--black); color: var(--white); padding: 5rem 4rem 2rem; position: relative; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.footer-brand .logo { font-size: 1.5rem; }
.footer-brand p { color: rgba(255,255,255,0.5); font-size: 0.9rem; line-height: 1.7; margin-top: 1rem; max-width: 320px; }
.footer-col h5 { font-size: 0.8rem; font-weight: 900; text-transform: uppercase; letter-spacing: 0.12em; color: var(--gold); margin-bottom: 1.2rem; }
.footer-col a { display: flex; align-items: center; gap: 0.6rem; color: rgba(255,255,255,0.5); text-decoration: none; font-size: 0.9rem; margin-bottom: 0.7rem; transition: all 0.3s var(--transition); }
.footer-col a:hover { color: #fff; }
.footer-col a i { width: 1.2rem; text-align: center; flex-shrink: 0; }
.footer-social { display: flex; gap: 0.8rem; }
.footer-social a {
    width: 36px; height: 36px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,0.5); font-size: 0.85rem; text-decoration: none;
    transition: all 0.3s var(--transition);
}
.footer-social a:hover { background: var(--primary); color: var(--white); transform: translateY(-2px); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.06); padding-top: 2rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; font-size: 0.8rem; color: rgba(255,255,255,0.3); }

/* â”€â”€â”€ MODAL â”€â”€â”€ */
.modal-overlay {
    position: fixed; inset: 0; z-index: 2000;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(6px);
    display: none;
    align-items: center; justify-content: center;
    padding: 1rem;
}
.modal-overlay.open { display: flex; }
.modal {
    background: var(--smoke); border-radius: 24px;
    width: 100%; max-width: 520px;
    max-height: 90vh; overflow-y: auto;
    padding: 2.5rem 2rem 2rem;
    position: relative;
    animation: modalIn 0.3s var(--transition);
}
@keyframes modalIn {
    from { opacity: 0; transform: scale(0.92) translateY(20px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}
.modal-close {
    position: absolute; top: 1rem; right: 1rem;
    background: none; border: none; font-size: 1.2rem;
    color: #999; cursor: pointer;
    width: 36px; height: 36px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    transition: all 0.3s;
}
.modal-close:hover { background: rgba(0,0,0,0.05); color: var(--black); }
.product-modal .modal-close { color: var(--black); }
.product-modal .modal-close:hover { background: rgba(0,0,0,0.08); }
.modal-header { margin-bottom: 1.8rem; }
.modal-header h3 { font-size: 1.4rem; font-weight: 900; color: var(--primary); margin-bottom: 0.3rem; }
.modal-district { font-size: 0.85rem; color: #888; }
.modal-options {
    display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem;
    margin-bottom: 2rem;
}
.modal-option {
    display: flex; align-items: center; justify-content: center; gap: 0.6rem;
    padding: 1rem; border-radius: 14px;
    border: 2px solid rgba(0,0,0,0.08); background: var(--white);
    font-family: 'Satoshi', sans-serif; font-weight: 700; font-size: 0.85rem;
    color: var(--black); cursor: pointer;
    transition: all 0.3s var(--transition);
}
.modal-option i { font-size: 1.2rem; }
.modal-option:hover { border-color: var(--primary); background: rgba(90,33,50,0.04); }
.modal-option.active { border-color: var(--primary); background: var(--primary); color: var(--white); }
.modal-option.active i { color: var(--white); }
.modal-body { }
.delivery-current {
    display: flex; align-items: center; justify-content: center; gap: 0.5rem;
    padding: 1rem; background: rgba(90,33,50,0.06); border-radius: 12px;
    font-weight: 700; font-size: 0.9rem; color: var(--primary);
    margin-bottom: 1rem;
}
.delivery-current i { font-size: 1.1rem; }
.delivery-address label {
    display: block; font-size: 0.8rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.08em;
    color: #888; margin-bottom: 0.5rem;
}
.address-input-wrap {
    display: flex; align-items: center;
    background: var(--white); border: 2px solid rgba(0,0,0,0.08);
    border-radius: 12px; padding: 0.2rem 0.2rem 0.2rem 1rem;
    transition: border-color 0.3s;
}
.address-input-wrap:focus-within { border-color: var(--primary); }
.address-prefix {
    font-weight: 700; font-size: 0.95rem;
    color: var(--primary); white-space: nowrap;
}
.address-input-wrap input {
    flex: 1; border: none; padding: 0.9rem 0.5rem;
    font-family: 'Satoshi', sans-serif; font-size: 0.95rem;
    background: transparent; outline: none;
    color: var(--black);
}
.address-input-wrap input::placeholder { color: #bbb; }
.modal-confirm {
    width: 100%; justify-content: center; margin-top: 1.5rem;
}
.modal-pickup { }
.pickup-label {
    font-size: 0.8rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: 0.08em; color: #888; margin-bottom: 1rem;
}
.pickup-list { display: flex; flex-direction: column; gap: 0.7rem; }
.pickup-item {
    display: flex; align-items: center; justify-content: space-between;
    background: var(--white); border: 1px solid rgba(0,0,0,0.06);
    border-radius: 14px; padding: 1rem 1.2rem;
    transition: all 0.3s var(--transition); cursor: default;
    gap: 1rem;
}
.pickup-item:hover { border-color: var(--primary); box-shadow: 0 4px 15px rgba(90,33,50,0.08); }
.pickup-info h4 { font-size: 0.9rem; font-weight: 700; color: var(--black); margin-bottom: 0.2rem; }
.pickup-info h4 i { color: var(--primary); margin-right: 0.3rem; }
.pickup-info p { font-size: 0.8rem; color: #888; }
.pickup-schedule { font-size: 0.7rem; color: #aaa; display: block; margin-top: 0.2rem; }
.pickup-select {
    background: var(--primary); color: var(--white);
    border: none; padding: 0.5rem 1.2rem; border-radius: 50px;
    font-family: 'Satoshi', sans-serif; font-weight: 700; font-size: 0.75rem;
    cursor: pointer; transition: all 0.3s var(--transition);
    white-space: nowrap;
}
.pickup-select:hover { background: var(--black); transform: scale(1.04); }

/* â”€â”€â”€ PRODUCT MODAL â”€â”€â”€ */
.product-modal { max-width: 640px; padding: 0; display: flex; flex-direction: column; max-height: 90vh; }
.product-modal-img { flex-shrink: 0; height: 260px; background-size: cover; background-position: center; }
.product-modal-img.pollo-brasa { background: url('../img/productos/pollobrasa.png') center/cover no-repeat; }
.product-modal-img.parrillero { background: url('../img/productos/parrilla.png') center/cover no-repeat; }
.product-modal-img.anticuchos { background: url('../img/productos/anticucho.png') center/cover no-repeat; }
.product-modal-img.sandwich { background: url('../img/productos/panpollo.png') center/cover no-repeat; }
.product-modal-body { flex: 1; overflow-y: auto; padding: 2rem; }
.product-modal-body h3 { font-size: 1.5rem; font-weight: 900; color: var(--primary); margin-bottom: 0.4rem; }
.product-modal-body > p { font-size: 0.85rem; color: #777; line-height: 1.6; margin-bottom: 1.5rem; }
.extras-section { margin-bottom: 1.5rem; }
.extras-section h4 { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: #888; margin-bottom: 0.8rem; }
.extra-item { display: flex; align-items: center; gap: 0.8rem; padding: 0.8rem 0; border-bottom: 1px solid rgba(0,0,0,0.04); }
.extra-item:last-child { border-bottom: none; }
.extra-item input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--primary); cursor: pointer; flex-shrink: 0; }
.extra-item label { flex: 1; font-size: 0.9rem; font-weight: 500; color: var(--black); cursor: pointer; }
.extra-price { color: var(--primary); font-weight: 700; margin-left: 0.3rem; }
.extra-select {
    background: var(--white); border: 1px solid rgba(0,0,0,0.1); border-radius: 8px;
    padding: 0.3rem 0.5rem; font-family: 'Satoshi', sans-serif; font-size: 0.8rem;
    color: var(--black); cursor: pointer; flex-shrink: 0;
}
.extra-select:disabled { opacity: 0.4; cursor: default; }
.product-modal-footer {
    display: flex; align-items: center; justify-content: space-between;
    padding-top: 1.2rem; border-top: 1px solid rgba(0,0,0,0.06); margin-bottom: 1.2rem;
}
.qty-selector { display: flex; align-items: center; gap: 0; }
.qty-btn {
    width: 40px; height: 40px; border-radius: 50%;
    border: 2px solid var(--primary); background: transparent;
    color: var(--primary); font-size: 1.3rem; font-weight: 700;
    cursor: pointer; display: flex; align-items: center; justify-content: center;
    transition: all 0.3s var(--transition); font-family: 'Satoshi', sans-serif;
}
.qty-btn:hover { background: var(--primary); color: var(--white); }
.qty-value { width: 50px; text-align: center; font-size: 1.4rem; font-weight: 900; color: var(--black); }
.product-total { text-align: right; }
.total-label { display: block; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.1em; color: #888; }
.total-price { font-size: 1.8rem; font-weight: 900; color: var(--primary); }
.product-add-btn { width: 100%; justify-content: center; }

/* â”€â”€â”€ TOAST â”€â”€â”€ */
.toast {
    position: fixed; bottom: 2rem; left: 50%; transform: translateX(-50%) translateY(100px);
    background: var(--black); color: var(--white); padding: 0.8rem 2rem;
    border-radius: 50px; font-size: 0.9rem; font-weight: 500;
    z-index: 3000; opacity: 0; transition: all 0.4s var(--transition);
    pointer-events: none; white-space: nowrap;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* â”€â”€â”€ CART BADGE â”€â”€â”€ */
.cart-badge {
    display: none; background: var(--primary); color: var(--white);
    font-size: 0.6rem; font-weight: 700; min-width: 18px; height: 18px;
    border-radius: 50%; align-items: center; justify-content: center;
    margin-left: 0.3rem; line-height: 1;
}
.cart-badge.show { display: inline-flex; }

/* â”€â”€â”€ CART PANEL â”€â”€â”€ */
.cart-overlay {
    position: fixed; inset: 0; z-index: 2500;
    background: rgba(0,0,0,0.5); backdrop-filter: blur(4px);
    opacity: 0; visibility: hidden; transition: all 0.3s var(--transition);
}
.cart-overlay.open { opacity: 1; visibility: visible; }
.cart-panel {
    position: fixed; top: 0; right: 0; width: 100%; max-width: 400px;
    height: 100vh; z-index: 2600;
    background: var(--smoke); display: flex; flex-direction: column;
    transform: translateX(100%); transition: transform 0.4s var(--transition);
}
.cart-panel.open { transform: translateX(0); }
.cart-header {
    display: flex; justify-content: space-between; align-items: center;
    padding: 1.5rem 2rem; border-bottom: 1px solid rgba(0,0,0,0.06);
    flex-shrink: 0;
}
.cart-header h3 { font-size: 1.2rem; font-weight: 900; color: var(--primary); }
.cart-close {
    background: none; border: none; font-size: 1.2rem; color: #999;
    cursor: pointer; width: 36px; height: 36px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    transition: all 0.3s;
}
.cart-close:hover { background: rgba(0,0,0,0.05); color: var(--black); }
.cart-body { flex: 1; overflow-y: auto; padding: 1.5rem 2rem; }
.cart-empty { text-align: center; color: #999; font-size: 0.9rem; margin-top: 3rem; }
.cart-item {
    display: flex; gap: 1rem; padding: 1rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.04);
}
.cart-item:last-child { border-bottom: none; }
.cart-item-img {
    width: 64px; height: 64px; border-radius: 12px; flex-shrink: 0;
    background-size: cover; background-position: center;
}
.cart-item-img.pollo-brasa { background: url('../img/productos/pollobrasa.png') center/cover no-repeat; }
.cart-item-img.parrillero { background: url('../img/productos/parrilla.png') center/cover no-repeat; }
.cart-item-img.anticuchos { background: url('../img/productos/anticucho.png') center/cover no-repeat; }
.cart-item-img.sandwich { background: url('../img/productos/panpollo.png') center/cover no-repeat; }
.cart-item-info { flex: 1; }
.cart-item-info h4 { font-size: 0.9rem; font-weight: 700; color: var(--black); margin-bottom: 0.2rem; }
.cart-item-info p { font-size: 0.75rem; color: #888; }
.cart-item-footer { display: flex; justify-content: space-between; align-items: center; margin-top: 0.5rem; }
.cart-item-qty { font-size: 0.8rem; color: #666; }
.cart-item-price { font-size: 0.95rem; font-weight: 700; color: var(--primary); }
.cart-item-remove {
    background: none; border: none; color: #ccc; cursor: pointer;
    font-size: 0.85rem; padding: 0.2rem; transition: color 0.3s;
}
.cart-item-remove:hover { color: #e74c3c; }
.cart-footer {
    padding: 1.5rem 2rem; border-top: 1px solid rgba(0,0,0,0.06);
    flex-shrink: 0;
}
.cart-total-row {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 1rem;
}
.cart-total-row span:first-child { font-size: 0.85rem; font-weight: 700; color: #666; text-transform: uppercase; letter-spacing: 0.05em; }
.cart-total-price { font-size: 1.5rem; font-weight: 900; color: var(--primary); }
.cart-checkout { width: 100%; justify-content: center; }

@media (max-width: 1024px) {
    nav { padding: 1rem 2rem; }
    section { padding: 5rem 2rem; }
    .hero-content { padding: 0 2rem; }
    .delivery-intro { grid-template-columns: 1fr; gap: 1rem; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .promo-grid { grid-template-columns: 1fr; }
    .nav-links { gap: 1.5rem; }
}
@media (max-width: 768px) {
    .nav-links { display: none; }
    .menu-toggle { display: block; }
    .nav-links.open { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; width: 100%; background: var(--black); padding: 1.5rem 2rem; gap: 1.2rem; align-items: flex-start; }
    .nav-dropdown { width: 100%; }
    .nav-dropdown > a { display: flex; align-items: center; justify-content: space-between; width: 100%; }
    .dropdown-menu { position: static; transform: none; opacity: 1; visibility: visible; pointer-events: auto; display: none; background: transparent; border: none; padding: 0.5rem 0 0 1rem; min-width: auto; }
    .nav-dropdown.open .dropdown-menu { display: block; }
    .dropdown-menu a { padding: 0.5rem 1rem; font-size: 0.8rem; }
    .hero-title { font-size: clamp(2.2rem,10vw,3.5rem); }
    .hero-stats { flex-wrap: wrap; gap: 1.5rem; }
    .districts-grid { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); }
    .delivery-highlight { grid-template-columns: 1fr; }
    .delivery-highlight-item { text-align: left; }
    .btn { padding: 0.8rem 1.8rem; font-size: 0.75rem; }
    .hero-actions { gap: 0.8rem; }
    .product-modal-img { height: 200px; }
    .product-modal-body { padding: 1.5rem; }
    .product-modal-body h3 { font-size: 1.2rem; }
    .product-modal { max-width: 100%; margin: 0 0.5rem; }
    .cart-panel { max-width: 100%; }
    .cart-body { padding: 1rem 1.5rem; }
    .cart-header { padding: 1rem 1.5rem; }
    .cart-footer { padding: 1rem 1.5rem; }
    .delivery-intro { gap: 1.5rem; }
    footer { padding: 3rem 1.5rem 1.5rem; }
    .footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
    nav { padding: 0.8rem 1rem; }
    section { padding: 3rem 1rem; }
    .hero-content { padding: 0 1rem; }
    .hero-title { font-size: clamp(1.8rem,12vw,2.8rem); }
    .hero-desc { font-size: 0.95rem; }
    .btn { padding: 0.7rem 1.4rem; font-size: 0.7rem; }
    .menu-grid { grid-template-columns: 1fr; }
    .districts-grid { grid-template-columns: repeat(2, 1fr); }
    .menu-card-img { height: 160px; }
    .product-modal-img { height: 180px; }
    .product-modal-body { padding: 1rem; }
    .product-modal-body h3 { font-size: 1.1rem; }
    .cart-body { padding: 0.8rem 1rem; }
    .cart-header { padding: 0.8rem 1rem; }
    .cart-footer { padding: 0.8rem 1rem; }
    .section-title { font-size: clamp(1.5rem,6vw,2rem); }
    .promo-card { padding: 1.5rem 1rem; }
    .modal { padding: 1.5rem 1rem; }
    .modal-header h3 { font-size: 1.1rem; }
    .delivery-intro { margin-bottom: 2rem; }
    .delivery-highlight { margin-top: 2rem; padding-top: 2rem; }
}

