/* ============================================================
   ROLLAZO · Grandes Rollos. Mejores Noches.
   Design system — dark near-black + vibrant red (#D1050C)
   Palette extracted from the brand logo & food photography.
   ============================================================ */

:root {
    --bg: #0a0506;
    --bg-soft: #12080a;
    --bg-elevated: #1a0d10;
    --surface: #1f1114;
    --surface-2: #2a171b;
    --line: rgba(255, 255, 255, 0.08);
    --line-strong: rgba(255, 255, 255, 0.14);

    --red: #d1050c;
    --red-bright: #ff2229;
    --red-dark: #8f0409;
    --amber: #e8a33d;
    --amber-soft: #f2c47a;
    --cream: #f7efe6;

    --text: #f7efe6;
    --text-soft: #c9b8ac;
    --text-muted: #9a877b;

    --green: #2fbf71;
    --radius: 18px;
    --radius-sm: 12px;
    --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.55);
    --shadow-md: 0 12px 32px rgba(0, 0, 0, 0.4);
    --font-display: "Bebas Neue", "Arial Narrow", sans-serif;
    --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
}

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

/* El atributo `hidden` debe imponerse sobre cualquier `display` de los componentes
   (`.modal-overlay` usa display:flex, `.btn` inline-flex, etc.) — sin esto, un
   elemento con `hidden` sigue visible y modales/paneles no se pueden cerrar. */
[hidden] { display: none !important; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; }

.container {
    width: min(1160px, 100% - 48px);
    margin-inline: auto;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 13px 26px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 15px;
    border: 2px solid transparent;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
    white-space: nowrap;
}

.btn:active { transform: scale(0.97); }

.btn-primary {
    background: linear-gradient(135deg, var(--red-bright), var(--red));
    color: #fff;
    box-shadow: 0 10px 30px rgba(209, 5, 12, 0.35);
}

.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(209, 5, 12, 0.5); }

.btn-primary:disabled {
    background: #3a2a2c;
    color: var(--text-muted);
    box-shadow: none;
    cursor: not-allowed;
    transform: none;
}

.btn-outline {
    background: transparent;
    border-color: var(--line-strong);
    color: var(--text);
}

.btn-outline:hover { border-color: var(--red-bright); color: var(--red-bright); transform: translateY(-2px); }

.btn-whatsapp {
    background: #1faa53;
    color: #fff;
    box-shadow: 0 10px 30px rgba(31, 170, 83, 0.3);
}

.btn-whatsapp:hover { transform: translateY(-2px); background: #24c05f; }

.btn-ghost { background: transparent; color: var(--text-muted); border: none; }
.btn-ghost:hover { color: var(--red-bright); }

.btn-block { width: 100%; }
.btn-lg { padding: 16px 34px; font-size: 16px; }

/* ---------- Announcement bar ---------- */
.announcement {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: linear-gradient(90deg, var(--red-dark), var(--red), var(--red-dark));
    color: #fff;
    font-size: 13.5px;
    font-weight: 600;
    padding: 9px 16px;
    text-align: center;
}

.announcement-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--amber);
    box-shadow: 0 0 0 0 rgba(232, 163, 61, 0.7);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(232, 163, 61, 0.7); }
    70% { box-shadow: 0 0 0 9px rgba(232, 163, 61, 0); }
    100% { box-shadow: 0 0 0 0 rgba(232, 163, 61, 0); }
}

.announcement-link { text-decoration: underline; text-underline-offset: 3px; opacity: 0.95; }
.announcement-link:hover { opacity: 1; }

/* ---------- Header ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(10, 5, 6, 0.85);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
    transition: box-shadow 0.25s ease;
}

.site-header.is-scrolled { box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5); }

.header-inner {
    display: flex;
    align-items: center;
    gap: 28px;
    padding-block: 14px;
}

.brand { display: flex; align-items: center; gap: 12px; }

.brand-logo {
    width: 46px; height: 46px;
    object-fit: contain;
    border-radius: 12px;
    filter: drop-shadow(0 4px 12px rgba(209, 5, 12, 0.4));
}

.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong {
    font-family: var(--font-display);
    font-size: 26px;
    letter-spacing: 1.5px;
    color: #fff;
}
.brand-text small { font-size: 11px; color: var(--text-muted); letter-spacing: 0.3px; }

.nav { display: flex; gap: 26px; margin-left: auto; }

.nav a {
    font-size: 14.5px;
    font-weight: 600;
    color: var(--text-soft);
    position: relative;
    padding-block: 4px;
    transition: color 0.18s ease;
}

.nav a::after {
    content: "";
    position: absolute;
    left: 0; bottom: -2px;
    width: 0; height: 2px;
    background: var(--red-bright);
    border-radius: 2px;
    transition: width 0.22s ease;
}

.nav a:hover { color: #fff; }
.nav a:hover::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 14px; }

.header-actions .account-link,
.header-actions .account-logout button {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted, #9aa0ab);
    text-decoration: none;
    background: none;
    border: 0;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    transition: color .2s ease;
}
.header-actions .account-link:hover,
.header-actions .account-logout button:hover { color: #fff; }

.open-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
    font-weight: 700;
    padding: 7px 14px;
    border-radius: 999px;
    border: 1px solid var(--line-strong);
    background: rgba(255, 255, 255, 0.04);
}

.open-badge .dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 10px var(--green);
}

.open-badge.is-closed { color: var(--text-muted); }
.open-badge.is-closed .dot { background: #e05858; box-shadow: 0 0 10px #e05858; }

.cart-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px; height: 46px;
    border-radius: 50%;
    background: var(--surface);
    border: 1px solid var(--line-strong);
    color: var(--text);
    transition: all 0.18s ease;
}

.cart-btn:hover { background: var(--red); border-color: var(--red); transform: translateY(-2px); }

.cart-count {
    position: absolute;
    top: -5px; right: -5px;
    min-width: 21px; height: 21px;
    padding-inline: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11.5px;
    font-weight: 800;
    border-radius: 999px;
    background: var(--red-bright);
    color: #fff;
    box-shadow: 0 4px 12px rgba(209, 5, 12, 0.5);
    transition: transform 0.2s ease;
}

.cart-count.bump { animation: bump 0.4s ease; }

@keyframes bump {
    0% { transform: scale(1); }
    40% { transform: scale(1.45); }
    100% { transform: scale(1); }
}

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 640px; display: flex; align-items: center; overflow: hidden; }

.hero-bg {
    position: absolute; inset: 0;
    background-size: cover;
    /* La portada (Images/Cover.jpg) se ve igual en todos los dispositivos:
       abarca todo el ancho, centrada en ambos ejes (center center). */
    background-position: center center;
    transform: scale(1.04);
    animation: heroZoom 22s ease-in-out infinite alternate;
}

@keyframes heroZoom {
    from { transform: scale(1.04) translateY(0); }
    to { transform: scale(1.08) translateY(-6px); }
}

.hero-overlay {
    position: absolute; inset: 0;
    background:
        linear-gradient(90deg, rgba(10, 5, 6, 0.94) 0%, rgba(10, 5, 6, 0.64) 45%, rgba(10, 5, 6, 0.25) 100%),
        linear-gradient(0deg, var(--bg) 0%, rgba(10, 5, 6, 0) 35%);
}

.hero-content {
    position: relative; z-index: 2;
    padding-block: 90px;
    max-width: 640px;
    margin-inline: auto;
    text-align: center;
}

.hero-eyebrow {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 15px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--amber);
    background: rgba(232, 163, 61, 0.1);
    border: 1px solid rgba(232, 163, 61, 0.3);
    padding: 7px 16px;
    border-radius: 999px;
    margin-bottom: 22px;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(54px, 7.5vw, 92px);
    line-height: 0.92;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #fff;
    text-shadow: 0 8px 40px rgba(0, 0, 0, 0.5);
}

.text-accent {
    background: linear-gradient(135deg, var(--red-bright), var(--amber));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.hero-cta { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; justify-content: center; }

.hero-stats { display: flex; gap: 40px; margin-top: 52px; flex-wrap: wrap; }

.stat strong {
    display: block;
    font-family: var(--font-display);
    font-size: 30px;
    letter-spacing: 1px;
    color: var(--amber);
    line-height: 1;
}

.stat span { font-size: 12.5px; color: var(--text-muted); }

/* ---------- Status strip ---------- */
.status-strip { border-block: 1px solid var(--line); background: var(--bg-soft); }

.status-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 26px;
    padding-block: 20px;
    flex-wrap: wrap;
}

.status-item { display: flex; align-items: center; gap: 12px; }

.status-item strong { display: block; font-size: 14px; }
.status-item small { color: var(--text-muted); font-size: 12.5px; }

.status-pulse {
    width: 12px; height: 12px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 0 0 rgba(47, 191, 113, 0.6);
    animation: pulse 2.2s infinite;
}

.status-item.off .status-pulse { background: #e05858; box-shadow: 0 0 0 0 rgba(224, 88, 88, 0.6); }

.status-emoji { font-size: 24px; }

.status-icon { height: 30px; width: auto; display: block; }

.status-item strong .text-red { color: var(--red-bright); }

.status-divider { width: 1px; height: 38px; background: var(--line); }

/* ---------- Section heads ---------- */
.section-head { text-align: center; max-width: 620px; margin: 0 auto 44px; }

.section-eyebrow {
    font-family: var(--font-display);
    font-size: 14px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--red-bright);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(38px, 5vw, 54px);
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #fff;
    margin-top: 6px;
    line-height: 1;
}

.section-sub { color: var(--text-muted); margin-top: 12px; }

/* ---------- Banner del menú (imagen Images/Menu.jpeg) ---------- */
.menu-banner-link {
    display: block;
    margin-bottom: 52px;
    border-radius: 16px;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.menu-banner-link:hover {
    opacity: 0.92;
    transform: translateY(-2px);
}

.menu-banner-img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 16px;
    border: 1px solid var(--line);
}

/* ---------- Login: bloque "Crear cuenta" ---------- */
.login-register-block {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
    display: grid;
    gap: 12px;
}

.login-register-block .confirm-sub { margin: 0; text-align: center; }

/* ---------- Menu ---------- */
.menu-section { padding-block: 90px; background: var(--bg); }

.category-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 42px;
}

.category-tab {
    padding: 10px 22px;
    border-radius: 999px;
    border: 1px solid var(--line-strong);
    background: transparent;
    color: var(--text-soft);
    font-size: 14px;
    font-weight: 600;
    transition: all 0.18s ease;
}

.category-tab:hover { border-color: var(--red-bright); color: #fff; transform: translateY(-2px); }

.category-tab.is-active {
    background: linear-gradient(135deg, var(--red-bright), var(--red));
    border-color: transparent;
    color: #fff;
    box-shadow: 0 8px 24px rgba(209, 5, 12, 0.35);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 26px;
}

.product-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
    animation: fadeUp 0.5s ease both;
}

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

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: rgba(209, 5, 12, 0.45);
}

.product-media {
    position: relative;
    aspect-ratio: 4 / 3;
    background: var(--bg-elevated);
    overflow: hidden;
}

.product-media img {
    width: 100%; height: 100%;
    object-fit: contain;
    transition: transform 0.4s ease;
}

.product-card:hover .product-media img { transform: scale(1.07); }

.product-placeholder {
    position: absolute; inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 64px;
    font-weight: 800;
    color: rgba(255, 209, 102, 0.30);
    background: radial-gradient(circle at 50% 40%, #2a1418, #14080b 70%);
}

.product-badge {
    position: absolute;
    top: 12px; left: 12px;
    background: linear-gradient(135deg, var(--amber), #d9852a);
    color: #1a0d10;
    font-size: 11.5px;
    font-weight: 800;
    padding: 5px 12px;
    border-radius: 999px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
    z-index: 2;
}

.add-btn {
    position: absolute;
    right: 12px; bottom: 12px;
    width: 46px; height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--red);
    color: #fff;
    border: none;
    box-shadow: 0 8px 22px rgba(209, 5, 12, 0.45);
    transition: transform 0.18s ease, background 0.18s ease;
    z-index: 2;
}

.add-btn:hover { transform: scale(1.12) rotate(90deg); background: var(--red-bright); }

.product-body { padding: 18px 20px 22px; }

.product-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }

.product-name { font-size: 16.5px; font-weight: 800; color: #fff; line-height: 1.3; }

.product-price {
    font-family: var(--font-display);
    font-size: 21px;
    letter-spacing: 0.5px;
    color: var(--amber);
    white-space: nowrap;
}

.product-desc {
    margin-top: 8px;
    font-size: 13px;
    color: var(--text-muted);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ---------- Product detail modal ---------- */
.product-modal { width: min(620px, 100%); }

.product-modal-body {
    padding: 24px 26px 28px;
    display: grid;
    gap: 20px;
}

.pm-media {
    aspect-ratio: 16 / 10;
    background: var(--bg-elevated);
    border-radius: var(--radius-sm);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
}

.pm-media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.pm-info { display: grid; gap: 14px; }

.pm-price-line { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }

.pm-price {
    font-family: var(--font-display);
    font-size: 30px;
    letter-spacing: 0.5px;
    color: var(--amber);
}

.pm-badge {
    background: linear-gradient(135deg, var(--amber), #d9852a);
    color: #1a0d10;
    font-size: 11.5px;
    font-weight: 800;
    padding: 5px 12px;
    border-radius: 999px;
}

.pm-desc {
    margin: 0;
    font-size: 14px;
    line-height: 1.65;
    color: var(--text-muted);
}

.pm-qty-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-block: 4px;
}

.pm-qty-label { font-size: 13px; font-weight: 700; color: var(--text-soft); }

.pm-qty { display: flex; align-items: center; gap: 14px; }

/* ---------- How it works ---------- */
.how-section { padding-block: 90px; background: var(--bg-soft); border-block: 1px solid var(--line); }

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 26px;
}

.step-card {
    position: relative;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 40px 28px 32px;
    text-align: center;
    transition: transform 0.22s ease, border-color 0.22s ease;
}

.step-card:hover { transform: translateY(-6px); border-color: rgba(209, 5, 12, 0.45); }

.step-num {
    position: absolute;
    top: 18px; right: 22px;
    font-family: var(--font-display);
    font-size: 44px;
    color: rgba(209, 5, 12, 0.25);
    line-height: 1;
}

.step-emoji { font-size: 46px; display: block; margin-bottom: 14px; }

.step-card h3 { font-size: 18px; color: #fff; margin-bottom: 8px; }
.step-card p { font-size: 13.5px; color: var(--text-muted); }

/* ---------- CTA banner ---------- */
.cta-banner {
    position: relative;
    padding-block: 80px;
    overflow: hidden;
}

.cta-banner::before {
    content: "";
    position: absolute; inset: 0;
    background:
        radial-gradient(ellipse at 80% 50%, rgba(209, 5, 12, 0.35), transparent 60%),
        radial-gradient(ellipse at 10% 20%, rgba(232, 163, 61, 0.18), transparent 55%),
        var(--bg);
}

.cta-inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

.cta-inner h2 {
    font-family: var(--font-display);
    font-size: clamp(34px, 4.5vw, 48px);
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #fff;
    line-height: 1;
    margin-top: 6px;
}

.cta-inner p { color: var(--text-muted); margin-top: 10px; max-width: 460px; }

/* ---------- Footer ---------- */
.site-footer {
    background: #070304;
    border-top: 1px solid var(--line);
    padding-top: 70px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1.1fr;
    gap: 48px;
    padding-bottom: 54px;
}

.footer-logo { width: 58px; height: 58px; object-fit: contain; border-radius: 14px; }

/* La columna de marca (logo, tagline y redes) se centra completa */
.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-brand p { color: var(--text-muted); font-size: 14px; margin: 16px auto 0; max-width: 300px; }

.footer-socials { display: flex; justify-content: center; gap: 10px; margin-top: 20px; }

.social-btn {
    width: 42px; height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: var(--surface);
    border: 1px solid var(--line-strong);
    color: var(--text-soft);
    transition: all 0.18s ease;
}

.social-btn:hover { background: var(--red); color: #fff; border-color: var(--red); transform: translateY(-3px); }

.footer-col h4 {
    font-family: var(--font-display);
    font-size: 20px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 18px;
}

.hours-list { list-style: none; }

.hours-list li {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding-block: 7px;
    font-size: 13.5px;
    color: var(--text-soft);
    border-bottom: 1px dashed rgba(255, 255, 255, 0.07);
}

.hours-list li.is-closed { color: #e05858; }

.contact-list { list-style: none; display: grid; gap: 12px; margin-bottom: 22px; }

.contact-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13.5px;
    color: var(--text-soft);
}

.contact-list svg { color: var(--red-bright); flex-shrink: 0; }

.footer-bottom { border-top: 1px solid var(--line); padding-block: 20px; }

.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    font-size: 12.5px;
    color: var(--text-muted);
}

.footer-copyright {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-copyright:hover {
    color: var(--text-muted);
    text-decoration: underline;
    text-decoration-color: rgba(120, 120, 120, 0.3);
    text-underline-offset: 3px;
}

/* ---------- Promo flotante (banner 3x1, esquina inferior derecha) ---------- */
.promo-float {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: min(400px, calc(100vw - 40px));
    z-index: 60;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: transform 0.2s ease;
    animation: promo-float-in 0.5s ease;
}

.promo-float:hover { transform: translateY(-2px); }

@keyframes promo-float-in {
    from { opacity: 0; transform: translateY(14px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ---------- Cart drawer ---------- */
.cart-overlay {
    position: fixed;
    inset: 0;
    background: rgba(5, 2, 3, 0.7);
    backdrop-filter: blur(4px);
    z-index: 90;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.cart-overlay.is-visible { opacity: 1; }

.cart-drawer {
    position: fixed;
    top: 0; right: 0;
    height: 100dvh;
    width: min(420px, 100%);
    background: var(--bg-elevated);
    border-left: 1px solid var(--line-strong);
    z-index: 100;
    display: flex;
    flex-direction: column;
    transform: translateX(105%);
    transition: transform 0.32s cubic-bezier(0.32, 0.72, 0.24, 1);
    box-shadow: -20px 0 60px rgba(0, 0, 0, 0.5);
}

.cart-drawer.is-open { transform: translateX(0); }

.cart-drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 24px;
    border-bottom: 1px solid var(--line);
}

.cart-drawer-head h3 { font-family: var(--font-display); font-size: 24px; letter-spacing: 1px; color: #fff; }

.icon-btn {
    width: 38px; height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--surface);
    border: 1px solid var(--line-strong);
    color: var(--text-soft);
    transition: all 0.18s ease;
}

.icon-btn:hover { background: var(--red); color: #fff; transform: rotate(90deg); }

.cart-drawer-body { flex: 1; overflow-y: auto; padding: 20px 24px; }

.cart-empty {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-muted);
}

.cart-empty-emoji { font-size: 56px; display: block; margin-bottom: 14px; opacity: 0.8; }
.cart-empty p { font-size: 16px; color: var(--text-soft); font-weight: 600; }
.cart-empty small { font-size: 13px; }

.cart-items { display: grid; gap: 14px; }

.cart-item {
    display: flex;
    gap: 14px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    padding: 12px;
    animation: fadeUp 0.25s ease both;
}

.cart-item-thumb {
    width: 52px; height: 52px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 800;
    color: var(--text-muted);
    background: var(--bg-soft);
    border-radius: 10px;
}

.cart-item-thumb img { width: 100%; height: 100%; object-fit: cover; border-radius: 10px; }

.cart-item-info { flex: 1; min-width: 0; }

.cart-item-name { font-size: 14px; font-weight: 700; color: #fff; }

.cart-item-price { font-size: 12.5px; color: var(--amber); margin-top: 2px; }

.cart-item-controls { display: flex; align-items: center; gap: 10px; margin-top: 8px; }

.qty-btn {
    width: 28px; height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    border: 1px solid var(--line-strong);
    background: var(--bg-elevated);
    color: var(--text);
    font-size: 15px;
    font-weight: 700;
    transition: all 0.15s ease;
}

.qty-btn:hover { background: var(--red); border-color: var(--red); color: #fff; }

.qty-val { font-size: 14px; font-weight: 700; min-width: 22px; text-align: center; }

.item-line-total { font-size: 13px; font-weight: 800; color: var(--text); margin-left: auto; }

.cart-item-remove {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 17px;
    line-height: 1;
    align-self: flex-start;
    transition: color 0.15s ease;
}

.cart-item-remove:hover { color: var(--red-bright); }

.cart-drawer-foot {
    padding: 20px 24px 26px;
    border-top: 1px solid var(--line);
    background: var(--bg-elevated);
    display: grid;
    gap: 12px;
}

.cart-summary { display: grid; gap: 8px; margin-bottom: 4px; }

.summary-row {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: var(--text-soft);
}

/* Fila de la promoción 3×2 de miércoles (descuento en vivo del carrito) */
.summary-row.promo-row {
    color: var(--amber);
    font-weight: 600;
}

.summary-total {
    font-size: 17px;
    font-weight: 800;
    color: #fff;
    border-top: 1px dashed var(--line-strong);
    padding-top: 10px;
}

.summary-total span:last-child { color: var(--amber); }

/* ---------- Modal ---------- */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(5, 2, 3, 0.78);
    backdrop-filter: blur(6px);
    z-index: 110;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal {
    width: min(560px, 100%);
    max-height: 92dvh;
    overflow-y: auto;
    background: var(--bg-elevated);
    border: 1px solid var(--line-strong);
    border-radius: 22px;
    box-shadow: var(--shadow-lg);
    animation: modalIn 0.3s cubic-bezier(0.32, 0.72, 0.24, 1);
}

@keyframes modalIn {
    from { opacity: 0; transform: translateY(30px) scale(0.97); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.modal-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 26px;
    border-bottom: 1px solid var(--line);
}

.modal-head h3 { font-family: var(--font-display); font-size: 24px; letter-spacing: 1px; color: #fff; }

.modal form { padding: 24px 26px 28px; display: grid; gap: 18px; }

.alert-error {
    background: rgba(209, 5, 12, 0.12);
    border: 1px solid rgba(209, 5, 12, 0.4);
    color: #ff9aa0;
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    font-size: 13.5px;
}

.alert-error ul { list-style: none; display: grid; gap: 4px; }

.form-stack { display: grid; gap: 14px; }

.field { display: grid; gap: 8px; }

.field label { font-size: 13px; font-weight: 700; color: var(--text-soft); }

.field input[type="text"], .field input[type="tel"], .field input[type="email"], .field input[type="password"], .field textarea {
    width: 100%;
    background: var(--bg);
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-sm);
    color: var(--text);
    padding: 13px 16px;
    font-size: 14.5px;
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.field input:focus, .field textarea:focus {
    outline: none;
    border-color: var(--red-bright);
    box-shadow: 0 0 0 3px rgba(209, 5, 12, 0.2);
}

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.fulfillment-options { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.fulfillment-option {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 16px;
    background: var(--bg);
    border: 1.5px solid var(--line-strong);
    border-radius: var(--radius-sm);
    color: var(--text);
    text-align: left;
    transition: all 0.18s ease;
}

.fulfillment-option:hover { border-color: var(--red-bright); }

.fulfillment-option.is-active {
    border-color: var(--red);
    background: rgba(209, 5, 12, 0.1);
    box-shadow: inset 0 0 0 1px var(--red);
}

.fulfillment-option:disabled { opacity: 0.4; cursor: not-allowed; }

.fo-emoji { font-size: 26px; margin-bottom: 6px; }
.fo-title { font-size: 14px; font-weight: 800; }
.fo-sub { font-size: 12px; color: var(--text-muted); }

.payment-options { display: grid; gap: 10px; }

.payment-option {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 13px 16px;
    background: var(--bg);
    border: 1.5px solid var(--line-strong);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.18s ease;
}

.payment-option:hover { border-color: var(--red-bright); }

.payment-option:has(input:checked) {
    border-color: var(--red);
    background: rgba(209, 5, 12, 0.1);
}

.payment-option.is-disabled { opacity: 0.45; cursor: not-allowed; }
.payment-option.is-disabled:hover { border-color: var(--line-strong); }

.payment-option input { accent-color: var(--red); width: 17px; height: 17px; }

.po-emoji { font-size: 22px; }
.po-text { display: flex; flex-direction: column; }
.po-text strong { font-size: 14px; }
.po-text small { font-size: 12px; color: var(--text-muted); }

.modal-summary {
    background: var(--bg);
    border: 1px dashed var(--line-strong);
    border-radius: var(--radius-sm);
    padding: 16px;
    display: grid;
    gap: 8px;
}

.modal-note { font-size: 12px; color: var(--text-muted); line-height: 1.5; }

/* ---------- Card payment (checkout) ---------- */
.card-payment {
    background: var(--bg);
    border: 1.5px dashed var(--line-strong);
    border-radius: var(--radius-sm);
    padding: 16px;
    display: grid;
    gap: 12px;
    animation: fadeUp 0.25s ease both;
}

.card-payment-head {
    display: flex;
    align-items: center;
    gap: 12px;
}

.card-payment-head strong { display: block; font-size: 14px; color: #fff; }
.card-payment-head small { font-size: 12px; color: var(--text-muted); }

.cp-emoji { font-size: 26px; }

.card-payment .field input { background: var(--bg-elevated); }

.card-payment-note {
    font-size: 11.5px;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Contenedores de los campos PCI de Mercado Pago (iframes de MP.js).
   Replican el diseño de .field input (fondo, borde, radio y enfoque) para que
   se vean igual que el resto del formulario. El color/letra del texto dentro
   del iframe se define en app.js (mpFieldStyle): los iframes de MP.js no
   heredan el CSS del sitio. */
.mp-field {
    width: 100%;
    height: 48px;
    background: var(--bg-elevated);
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-sm);
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
    overflow: hidden;
}

.mp-field iframe {
    display: block;
    width: 100% !important;
    height: 100% !important;
}

.mp-field.is-focused {
    border-color: var(--red-bright);
    box-shadow: 0 0 0 3px rgba(209, 5, 12, 0.2);
}

.card-payment-errors {
    background: rgba(209, 5, 12, 0.12);
    border: 1px solid rgba(209, 5, 12, 0.4);
    color: #ff9aa0;
    border-radius: 10px;
    padding: 10px 14px;
    font-size: 12.5px;
    display: grid;
    gap: 3px;
}

/* Aviso de pago pendiente en la página de confirmación (tarjeta en línea) */
.confirm-pay-note {
    margin-top: 18px;
    background: rgba(232, 163, 61, 0.08);
    border: 1px dashed rgba(232, 163, 61, 0.4);
    color: var(--amber);
    border-radius: var(--radius-sm);
    padding: 14px 18px;
    font-size: 13px;
    line-height: 1.5;
    text-align: left;
}

.confirm-pay-note strong { display: block; font-size: 13.5px; }
.confirm-pay-note span { color: var(--text-soft); }

/* ---------- Confirmation page ---------- */
.confirm-section { padding-block: 70px; min-height: 70vh; }

.confirm-container { max-width: 680px; }

.confirm-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 48px 40px;
    text-align: center;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.confirm-card::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--red-dark), var(--red-bright), var(--amber));
}

.confirm-check {
    width: 84px; height: 84px;
    margin: 0 auto 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(47, 191, 113, 0.12);
    color: var(--green);
    border: 2px solid rgba(47, 191, 113, 0.4);
    animation: popIn 0.5s cubic-bezier(0.32, 0.72, 0.24, 1) both;
}

@keyframes popIn {
    from { transform: scale(0.4); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.confirm-eyebrow {
    font-family: var(--font-display);
    font-size: 14px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--green);
}

.confirm-title {
    font-family: var(--font-display);
    font-size: clamp(34px, 5vw, 46px);
    letter-spacing: 1px;
    color: #fff;
    margin-top: 8px;
}

.confirm-sub { color: var(--text-soft); margin-top: 12px; font-size: 15px; }

.confirm-eta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 12px 22px;
    margin-top: 26px;
    text-align: left;
}

.eta-emoji { font-size: 26px; }
.confirm-eta small, .confirm-address small { display: block; color: var(--text-muted); font-size: 11.5px; }
.confirm-eta strong, .confirm-address strong { font-size: 14px; color: var(--amber); }

.timeline {
    display: flex;
    justify-content: space-between;
    margin-top: 42px;
    padding: 0 12px;
    position: relative;
}

.timeline::before {
    content: "";
    position: absolute;
    top: 10px; left: 10%; right: 10%;
    height: 2px;
    background: var(--line-strong);
    z-index: 0;
}

.timeline-step { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 10px; flex: 1; }

.timeline-dot {
    width: 22px; height: 22px;
    border-radius: 50%;
    background: var(--surface-2);
    border: 2px solid var(--line-strong);
    transition: all 0.3s ease;
}

.timeline-step.is-done .timeline-dot {
    background: var(--green);
    border-color: var(--green);
    box-shadow: 0 0 0 5px rgba(47, 191, 113, 0.15);
}

.timeline-label { font-size: 11.5px; font-weight: 600; color: var(--text-muted); text-align: center; }
.timeline-step.is-done .timeline-label { color: var(--green); }

.confirm-qr {
    margin-top: 30px;
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 26px 24px;
    text-align: center;
}

.confirm-qr h4 { font-size: 15px; color: #fff; margin-bottom: 16px; }

.confirm-qr-box {
    display: inline-flex;
    padding: 14px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}

.confirm-qr-box svg { display: block; width: 190px; height: 190px; }

.confirm-qr-msg {
    margin: 16px auto 0;
    max-width: 340px;
    font-size: 13.5px;
    color: var(--text-soft);
}

.confirm-qr-code {
    display: inline-block;
    margin-top: 12px;
    padding: 6px 16px;
    font-family: monospace;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--amber);
    background: var(--surface-2);
    border: 1px dashed var(--line-strong);
    border-radius: 8px;
}

.confirm-items {
    margin-top: 42px;
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 24px;
    text-align: left;
}

.confirm-items h4 { font-size: 15px; color: #fff; margin-bottom: 16px; }

.confirm-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-block: 8px;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.07);
    font-size: 14px;
}

.confirm-item-qty { font-weight: 800; color: var(--red-bright); min-width: 26px; }
.confirm-item-name { flex: 1; color: var(--text-soft); }
.confirm-item-price { font-weight: 700; color: var(--text); }

/* Etiqueta de artículo gratis por la promo 3×2 de miércoles */
.confirm-item-free {
    display: inline-block;
    margin-left: 8px;
    padding: 1px 8px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    color: var(--amber);
    background: rgba(232, 163, 61, 0.14);
    vertical-align: middle;
}

.confirm-summary { margin-top: 14px; display: grid; gap: 8px; }

.confirm-address {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 22px;
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    padding: 16px 18px;
    text-align: left;
}

.confirm-actions { display: flex; gap: 12px; justify-content: center; margin-top: 34px; flex-wrap: wrap; }

/* ---------- Toast ---------- */
.toast {
    position: fixed;
    bottom: 26px; left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: var(--surface-2);
    border: 1px solid var(--line-strong);
    color: #fff;
    padding: 13px 24px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    box-shadow: var(--shadow-lg);
    z-index: 200;
    opacity: 0;
    transition: all 0.28s ease;
}

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

/* ---------- Monedero (Mi historial) ---------- */
.wallet-card {
    border: 1px solid rgba(255, 255, 255, 0.09);
    background: rgba(255, 255, 255, 0.03);
    border-radius: 14px;
    padding: 18px 20px;
    margin-bottom: 10px;
}
.wallet-balance { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.wallet-balance span { color: var(--text-muted, #a7a7b5); font-size: 13px; }
.wallet-balance strong { font-size: 26px; color: #ffd166; font-weight: 800; }
.wallet-moves { margin-top: 14px; border-top: 1px dashed rgba(255, 255, 255, 0.12); padding-top: 10px; display: grid; gap: 8px; }
.wallet-move { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 14px; }
.wallet-move-text { display: flex; flex-direction: column; }
.wallet-move-text small { color: var(--text-muted, #a7a7b5); font-size: 12px; }
.wallet-move-amount { color: #4ade80; font-weight: 700; white-space: nowrap; }

/* ---------- Mi Cuenta (panel del cliente) ---------- */
.account-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 28px;
    align-items: start;
    max-width: 1080px;
}

.account-side {
    position: sticky;
    top: 88px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 20px;
    display: grid;
    gap: 8px;
}

.account-user {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--line);
    margin-bottom: 8px;
}

.account-avatar {
    width: 46px;
    height: 46px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--red-bright), var(--red));
    color: #fff;
    font-family: var(--font-display);
    font-size: 22px;
    box-shadow: 0 6px 18px rgba(209, 5, 12, 0.35);
}

.account-user strong { display: block; font-size: 14.5px; color: #fff; line-height: 1.2; }
.account-user small { font-size: 12px; color: var(--text-muted); word-break: break-all; }

.account-menu { display: grid; gap: 4px; }

.account-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 14px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-soft);
    transition: all 0.18s ease;
}

.account-menu a:hover { background: var(--surface-2); color: #fff; }

.account-menu a.is-active {
    background: linear-gradient(135deg, rgba(209, 5, 12, 0.18), rgba(209, 5, 12, 0.08));
    color: var(--red-bright);
    border: 1px solid rgba(209, 5, 12, 0.35);
}

.account-logout-btn {
    margin-top: 10px;
    padding: 11px 14px;
    border-radius: 12px;
    border: 1px solid var(--line-strong);
    background: transparent;
    color: var(--text-muted);
    font-size: 13.5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.18s ease;
}

.account-logout-btn:hover { color: var(--red-bright); border-color: rgba(209, 5, 12, 0.5); }

.account-content {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 34px;
    display: grid;
    gap: 24px;
    min-width: 0;
}

.account-content h1 {
    font-family: var(--font-display);
    font-size: clamp(30px, 4vw, 38px);
    letter-spacing: 1px;
    color: #fff;
    margin-top: 6px;
}

.account-content .confirm-sub { margin-top: 4px; }

.account-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 14px;
}

.stat-card {
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 20px;
}

.stat-card span { font-size: 12.5px; color: var(--text-muted); }

.stat-card strong {
    display: block;
    font-family: var(--font-display);
    font-size: 30px;
    letter-spacing: 1px;
    color: var(--amber);
    margin-top: 4px;
}

.stat-card.is-red strong { color: var(--red-bright); }
.stat-card.is-green strong { color: var(--green); }

.account-order-link { transition: background 0.15s ease, border-color 0.15s ease; border-radius: 10px; padding: 8px 10px; margin: 0 -10px; }
.account-order-link:hover { background: var(--surface-2); }

.status-pill {
    display: inline-block;
    padding: 2px 9px;
    border-radius: 999px;
    font-size: 11.5px;
    font-weight: 700;
    color: var(--amber);
    background: rgba(232, 163, 61, 0.12);
    border: 1px solid rgba(232, 163, 61, 0.35);
    white-space: nowrap;
}

.status-pill.status-delivered { color: var(--green); background: rgba(47, 191, 113, 0.12); border-color: rgba(47, 191, 113, 0.4); }
.status-pill.status-ready { color: #7cc7ff; background: rgba(64, 156, 255, 0.12); border-color: rgba(64, 156, 255, 0.4); }
.status-pill.status-cancelled { color: #ff9aa0; background: rgba(224, 88, 88, 0.14); border-color: rgba(224, 88, 88, 0.4); }
.status-pill.status-pay { color: var(--text-soft); background: rgba(255, 255, 255, 0.05); border-color: var(--line-strong); }

.alert-success {
    background: rgba(47, 191, 113, 0.12);
    border: 1px solid rgba(47, 191, 113, 0.4);
    color: #86efac;
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    font-size: 13.5px;
}

.addr-list { display: grid; gap: 12px; }

.addr-card {
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 16px 18px;
    display: grid;
    gap: 10px;
}

.addr-card-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }

.addr-label { font-size: 14px; font-weight: 800; color: #fff; display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; }

.addr-default-badge {
    font-size: 11px;
    font-weight: 700;
    color: var(--green);
    border: 1px solid rgba(47, 191, 113, 0.4);
    border-radius: 999px;
    padding: 3px 10px;
    background: rgba(47, 191, 113, 0.1);
}

.addr-text { font-size: 13.5px; color: var(--text-soft); }
.addr-text small { display: block; color: var(--text-muted); font-size: 12px; margin-top: 2px; }

.addr-actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.addr-actions .btn { padding: 8px 16px; font-size: 12.5px; }
.addr-delete:hover { color: var(--red-bright) !important; }

details.addr-edit summary {
    cursor: pointer;
    font-size: 12.5px;
    font-weight: 700;
    color: var(--red-bright);
    padding: 8px 16px;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    background: transparent;
    list-style: none;
}

details.addr-edit summary::-webkit-details-marker { display: none; }

details.addr-edit[open] summary { border-color: var(--red-bright); color: var(--red-bright); }

.addr-edit-form {
    margin-top: 12px;
    display: grid;
    gap: 10px;
    background: var(--surface-2);
    border-radius: 12px;
    padding: 14px;
}

.addr-edit-form .field input { background: var(--bg); }

.account-alert {
    font-size: 13.5px;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    border: 1px dashed rgba(232, 163, 61, 0.4);
    color: var(--amber);
    background: rgba(232, 163, 61, 0.07);
}

.wallet-move-date { display: block; color: var(--text-muted); font-size: 12px; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
    .account-layout { grid-template-columns: 1fr; }
    .account-side { position: static; }
    .account-menu { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
    .nav { display: none; }
    .footer-grid { grid-template-columns: 1fr; gap: 36px; }
    .hero { min-height: 560px; }

    /* Centrar la columna de Contacto en móvil */
    .footer-col:last-child {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .footer-col:last-child .contact-list {
        justify-items: center;
    }
    .footer-col:last-child .contact-list li {
        justify-content: center;
    }
    .footer-col:last-child .btn-whatsapp {
        width: 100%;
        max-width: 320px;
    }
}

@media (max-width: 640px) {
    .container { width: min(1160px, 100% - 32px); }
    .promo-float { right: 12px; bottom: 12px; width: min(300px, calc(100vw - 24px)); }
    .brand-text small { display: none; }
    .open-badge { display: none; }
    .field-row { grid-template-columns: 1fr; }
    .fulfillment-options { grid-template-columns: 1fr; }
    .status-divider { display: none; }
    .confirm-card { padding: 36px 22px; }
    .hero-stats { gap: 24px; }
}

/* ---------- Modal En Construcción ---------- */
.construction-modal { z-index: 200; }
.construction-modal-box {
    width: min(420px, 92%);
    max-height: none;
    border-radius: 24px;
    overflow: hidden;
}
.construction-modal-body {
    padding: 40px 32px 36px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}
.construction-emoji {
    font-size: 52px;
    line-height: 1;
    margin-bottom: 4px;
}
.construction-modal-body h2 {
    font-family: var(--font-display);
    font-size: 28px;
    letter-spacing: 2px;
    color: #fff;
    margin: 0;
}
.construction-modal-body > p {
    color: var(--text-secondary);
    font-size: 14.5px;
    margin-bottom: 12px;
}
.construction-form {
    width: 100%;
    display: grid;
    gap: 14px;
    text-align: left;
}
.construction-error {
    background: rgba(209, 5, 12, 0.12);
    border: 1px solid rgba(209, 5, 12, 0.4);
    color: #ff9aa0;
    border-radius: var(--radius-sm);
    padding: 10px 14px;
    font-size: 13px;
}
@media (max-width: 480px) {
    .construction-modal-body { padding: 30px 20px 28px; }
    .construction-modal-body h2 { font-size: 22px; }
}
