/* Prevent double-tap zoom on interactive controls + disable
       iOS Safari's automatic text-size inflation on orientation change.
       Pairs with the viewport-meta override to keep the app at 1x. */
    .sabor-urbano-app { font-family: 'Inter', sans-serif; background-color: #fff; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
    .sabor-urbano-app button,
    .sabor-urbano-app a,
    .sabor-urbano-app input,
    .sabor-urbano-app textarea,
    .sabor-urbano-app select { touch-action: manipulation; }
    .no-scrollbar::-webkit-scrollbar { display: none; }
    .no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }

    @keyframes slide-up { from { transform: translateY(100%); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
    .animate-slide-up { animation: slide-up 0.3s ease-out; }

    :root { --urbano-red: #f02c3c;  }
    .bg-urbano-red    { background-color: var(--urbano-red); }
    .text-urbano-red  { color: var(--urbano-red); }

    /* Nav starts in normal document flow so the hero/banner/menu sit
       above it on initial page load. JS adds .nav-stuck once the user
       scrolls past the nav's natural position — at that point it pins
       to the viewport. position:fixed used instead of position:sticky
       because sticky has ancestor-overflow issues on iPad Safari. */
    .sticky-nav-urbano {
        z-index: 100;
    }
    .sticky-nav-urbano.nav-stuck {
        position: fixed !important;
        top: 0;
        left: 0;
        right: 0;
        width: 100%;
    }
    .admin-bar .sticky-nav-urbano.nav-stuck { top: 32px; }
    @media screen and (max-width: 782px) { .admin-bar .sticky-nav-urbano.nav-stuck { top: 46px; } }
    /* Reserve space when stuck so content below doesn't jump up. The
       spacer placeholder takes the nav's slot in the document while it's
       removed from flow. */
    body.has-stuck-nav .nav-spacer { display: block; }
    .nav-spacer { display: none; }

    /* Custom logo in the pill bar — constrain height so it sits inline
       with the pills regardless of source image dimensions. */
    .sabor-nav-logo .custom-logo-link { display: inline-flex; align-items: center; line-height: 0; }
    .sabor-nav-logo img,
    .sabor-nav-logo .custom-logo {
        height: 48px !important;
        width: auto !important;
        max-width: 160px;
        object-fit: contain;
        display: block;
        position: relative;
        z-index: 1;
    }
    @media (min-width: 768px) {
        .sabor-nav-logo img,
        .sabor-nav-logo .custom-logo { height: 60px !important; max-width: 220px; }
    }
    /* White background extension reaching the left edge of the viewport
       so pills disappearing under the logo look like they're sliding
       behind it. The pseudo-element extends 100vw to the left of the
       logo container; combined with overflow:hidden on the parent, the
       effect is a clean "logo column" with a soft white halo. */
    .sabor-nav-logo::before {
        content: '';
        position: absolute;
        top: 0;
        bottom: 0;
        right: 100%;
        width: 100vw;
        background: #fff;
        z-index: 0;
    }

    .category-scroll-container { cursor: grab; user-select: none; }
    .category-btn, button, a { -webkit-tap-highlight-color: transparent !important; outline: none !important; }
    *, *:focus, *:focus-visible, *:focus-within { outline: none !important; box-shadow: none !important; --tw-ring-color: transparent !important; }
    input, textarea, select, button { accent-color: var(--urbano-red); }
    ::selection { background: var(--urbano-red); color: #fff; }
    /* Kill any external teal/cyan */
    .sabor-urbano-app button { background-color: revert; }
    .sabor-urbano-app .card-add-btn { background: #f02c3c !important; color: #fff !important; border-color: #f02c3c !important; }
    .sabor-urbano-app .card-add-btn:hover { background: #000 !important; border-color: #000 !important; }
    input, textarea, select { -webkit-appearance: none; caret-color: var(--urbano-red); }
    input:focus, textarea:focus, select:focus { outline: none !important; border-color: var(--urbano-red) !important; box-shadow: none !important; }
    .category-btn:hover:not(.active-cat) { background-color: #111 !important; border-color: #111 !important; color: #fff !important; }

    @media (min-width: 1280px) {
        .main-layout { display: grid; grid-template-columns: 1fr 400px; gap: 2.5rem; align-items: start; }
        .persistent-cart { position: sticky; top: 100px; max-height: calc(100vh - 140px); display: flex !important; flex-direction: column; z-index: 50; }
        .admin-bar .persistent-cart { top: 132px; }
    }

    /* Variant button: pill-shaped option selector inside the modal.
       Uses a consistent column layout — label on top, price below —
       so all options look identical regardless of label length. Labels
       that are too long for a single line wrap, but only at word/space
       boundaries (not mid-word or at hyphens). Price stays in its own
       row below, never competing for horizontal space.
       
       A previous version used flex-wrap:wrap with overflow-wrap:anywhere
       which caused hyphenated labels like "COCA-COLA" to break into
       two lines while "FANTA" stayed on one — inconsistent look. */
    .variant-btn {
        padding: 0.55rem 0.75rem;
        border-radius: 0.9rem;
        border: 2px solid #e5e7eb !important;
        background: #fff !important;
        color: #6b7280 !important;
        cursor: pointer;
        transition: all 0.15s;
        -webkit-tap-highlight-color: transparent;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 0.15rem;
        min-width: 0;
        text-align: center;
        min-height: 3rem;
    }
    .variant-btn > span:first-child {
        /* Label: uppercase, bold. Allow 2-line wrap at word boundaries
           only. Hyphens are treated as part of the word so "COCA-COLA"
           stays together on one line when space allows. */
        font-size: 0.68rem;
        font-weight: 900;
        text-transform: uppercase;
        letter-spacing: 0.04em;
        line-height: 1.15;
        word-break: normal;
        overflow-wrap: break-word;
        hyphens: none;
        max-width: 100%;
    }
    .variant-btn > span:nth-child(2) {
        /* Price: smaller, lighter. Always a separate row below label. */
        font-size: 0.62rem;
        font-weight: 700;
        opacity: 0.55;
        line-height: 1;
        white-space: nowrap;
    }
    /* At very narrow modal widths, drop to smaller text to fit more */
    @media (max-width: 480px) {
        .variant-btn { padding: 0.45rem 0.55rem; min-height: 2.7rem; }
        .variant-btn > span:first-child { font-size: 0.6rem; }
        .variant-btn > span:nth-child(2) { font-size: 0.55rem; }
    }
    .variant-btn:hover { border-color: #111 !important; color: #111 !important; background: #fff !important; }
    .variant-btn:focus { outline: none !important; box-shadow: none !important; border-color: #e5e7eb !important; }
    .variant-btn.selected { border-color: #f02c3c !important; background: #f02c3c !important; color: #fff !important; }
    .variant-btn.selected:focus { border-color: #f02c3c !important; }
    .variant-btn.unavailable { opacity: 0.35; cursor: not-allowed; pointer-events: none; text-decoration: line-through; }
    .active-cat { background-color: #f02c3c !important; border-color: #f02c3c !important; color: #fff !important; }

    /* ── Modal responsive ── */
    /* Desktop modal card layout breakpoints:
       - Above 900px: horizontal split (image left, options right)
       - 768px–900px: vertical stack (image on top, options below) so
         long option labels get the full modal width. The mobile
         bottom-sheet modal kicks in below 768px, so this middle tier
         handles tablets + narrow laptops (like the viewport in the
         screenshot that was cutting off MARACUYAFRUTILLA).
       - Below 768px: swapped to full mobile modal (see rule below). */
    @media (max-width: 900px) {
        .modal-card-wrap {
            flex-direction: column !important;
            max-height: min(85vh, calc(100vh - 3rem)) !important;
        }
        .modal-img-col {
            flex: 0 0 200px !important;
            width: 100% !important;
            height: 200px;
        }
    }
    /* ── Mobile modal ── */
    #product-detail-mobile { display:none; }
    @media (max-width:768px), (max-width:1366px) and (orientation:portrait) {
        #product-detail { display:none !important; }
        #product-detail-mobile { flex-direction:column; }
    }
    /* Leave room at the bottom of the page on mobile for the sticky
       cart bar. Bar is flush to the bottom edge so clearance = bar
       height + safe-area-inset. */
    @media (max-width: 1279px) {
        body { padding-bottom: calc(84px + env(safe-area-inset-bottom, 0px)); }
    }
    #modal-close-mobile { display:none; }
    .modal-cart-row { display:flex;align-items:center;gap:0.6rem;background:#f9fafb;border-radius:0.75rem;padding:0.6rem 0.75rem; }
    .modal-cart-row-name { flex:1;font-size:0.7rem;font-weight:900;text-transform:uppercase;color:#374151;overflow:hidden;text-overflow:ellipsis;white-space:nowrap; }
    .modal-cart-row-price { font-size:0.7rem;font-weight:900;color:var(--urbano-red);white-space:nowrap; }
    /* Items-already-in-cart stepper shown inside the Opciones modal.
       Matches .cart-qty-wrap / .cart-qty-btn exactly — gray pill,
       2.2rem tall, 1.75rem buttons — so it looks like every other
       stepper in the app. */
    .modal-cart-qty { display:flex; align-items:center; background:#f3f4f6; border-radius:0.6rem; flex-shrink:0; padding:0.2rem; height:2.2rem; }
    .modal-cart-qty-btn { width:1.75rem; height:1.75rem; display:flex; align-items:center; justify-content:center; border-radius:0.4rem; transition:background 0.15s; cursor:pointer; background:transparent; border:none; font-weight:900; font-size:1rem; color:#374151; }
    .modal-cart-qty-btn:hover { background:#fff; }
    .modal-cart-qty-num { font-weight:900; font-size:0.875rem; min-width:1.5rem; text-align:center; color:#111; }
    .modal-cart-del { width:1.5rem;height:1.5rem;border:none;background:#f3f4f6;border-radius:0.35rem;cursor:pointer;display:flex;align-items:center;justify-content:center;color:#9ca3af;transition:background 0.15s,color 0.15s;flex-shrink:0; }
    .modal-cart-del:hover { background:var(--urbano-red);color:#fff; }

    .checkout-input { width: 100%; border: 2px solid #e5e7eb; border-radius: 1rem; padding: 0.875rem 1rem; font-size: 0.875rem; font-weight: 700; color: #111827; background: #f9fafb; transition: border-color 0.15s, background 0.15s; -webkit-appearance: none; }
    .checkout-input:focus { outline: none; border-color: var(--urbano-red); background: #fff; }

    /* iOS Safari renders <input type="date"> with its own internal shadow
       DOM — that changes computed height, vertical alignment, and
       placeholder font versus sibling text inputs. These rules normalize
       it so the birthday field matches the other checkout fields:
       - min-height clamps the box so iOS can't shrink it below the text-
         input height (which happens when the value is empty).
       - line-height matches the input text's natural line so the date
         picker's internal value sits centered.
       - -webkit-date-and-time-value styles the value span iOS renders
         INSIDE the input, which otherwise has its own font + alignment.
       - Explicit text-align:left so iOS doesn't right-align the value
         on empty state (default mobile behavior in some locales). */
    input.checkout-input[type="date"] {
        min-height: 3rem;
        line-height: 1.25rem;
        text-align: left;
        display: block;
        -webkit-appearance: none;
        appearance: none;
    }
    input.checkout-input[type="date"]::-webkit-date-and-time-value {
        text-align: left;
        font-size: 0.875rem;
        font-weight: 700;
        color: #111827;
        line-height: 1.25rem;
        min-height: 1.25rem;
    }
    /* Empty placeholder text on iOS — grey to match the other inputs */
    input.checkout-input[type="date"]:not(.has-value)::-webkit-datetime-edit {
        color: #9ca3af;
    }
    .checkout-label { display: block; font-size: 0.625rem; font-weight: 900; text-transform: uppercase; letter-spacing: 0.1em; color: #6b7280; margin-bottom: 0.375rem; }
    .delivery-toggle-btn {
        flex: 1; min-width: 0;
        display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.35rem;
        padding: 0.625rem 0.375rem; border-radius: 0.875rem;
        border: 2px solid #e5e7eb; background: #f9fafb; color: #111;
        transition: all 0.15s; cursor: pointer;
    }
    .delivery-toggle-btn:hover { color: #111; border-color: #d1d5db; }
    .delivery-toggle-btn.active { border-color: var(--urbano-red); background: var(--urbano-red); color: #fff; }
    .delivery-toggle-btn.active:hover { color: #fff; border-color: var(--urbano-red); }
    .delivery-toggle-icon { width: 22px; height: 22px; flex-shrink: 0; }
    .delivery-toggle-label { font-size: 0.7rem; font-weight: 800; letter-spacing: 0.02em; line-height: 1.1; white-space: nowrap; }

    /* ═══════════════════════════════════════════════════════════════════
       TIP + COUPON — premium checkout redesign.
       Scoped with .sabor-urbano-app prefix + !important to beat any
       inherited Kadence child theme CSS that was leaking in before.
       ═══════════════════════════════════════════════════════════════════ */

    /* Tip selector card — surface wrapper for the whole block */
    .sabor-urbano-app .tip-card{
        background:#fafafa;
        border:1px solid #eef0f2;
        border-radius:14px;
        padding:14px 14px 12px;
    }
    .sabor-urbano-app .tip-card-hd{
        display:flex;align-items:flex-start;justify-content:space-between;
        gap:12px;margin-bottom:12px;
    }
    .sabor-urbano-app .tip-card-hd-l{flex:1;min-width:0;}
    .sabor-urbano-app .tip-card-title{
        font-size:0.85rem;font-weight:800;color:#111 !important;
        letter-spacing:0.01em;margin-bottom:4px;
        display:flex;align-items:center;gap:7px;
    }
    .sabor-urbano-app .tip-card-title svg{
        width:15px;height:15px;color:#f02c3c;fill:#f02c3c;flex-shrink:0;
    }
    .sabor-urbano-app .tip-card-sub{
        font-size:0.72rem;color:#6b7280 !important;line-height:1.4;
    }

    /* Tip pill row — 4 equal-width buttons with proper tap targets */
    .sabor-urbano-app .tip-grid{
        display:grid;grid-template-columns:repeat(4,1fr);gap:6px;
    }
    .sabor-urbano-app .tip-btn{
        padding:12px 4px !important;
        font-size:0.85rem !important;
        font-weight:800 !important;
        letter-spacing:0.01em !important;
        background:#fff !important;
        color:#111 !important;
        border:1.5px solid #e5e7eb !important;
        border-radius:10px !important;
        cursor:pointer !important;
        transition:all 0.15s !important;
        line-height:1.1 !important;
        display:flex !important;
        flex-direction:column !important;
        align-items:center !important;
        justify-content:center !important;
        gap:2px !important;
        text-transform:none !important;
    }
    .sabor-urbano-app .tip-btn:hover{
        border-color:#111 !important;
        color:#111 !important;
        background:#fff !important;
    }
    .sabor-urbano-app .tip-btn-on,
    .sabor-urbano-app .tip-btn-on:hover{
        background:#f02c3c !important;
        color:#fff !important;
        border-color:#f02c3c !important;
        box-shadow:0 4px 12px rgba(240,44,60,0.3) !important;
        transform:translateY(-1px) !important;
    }

    /* Reward callout — appears when tip > 0 selected */
    .sabor-urbano-app .tip-reward{
        display:none;
        margin-top:12px;padding:9px 11px;
        background:#fff;border:1px dashed #f02c3c;border-radius:8px;
        font-size:0.7rem;color:#374151 !important;
        align-items:center;gap:8px;line-height:1.4;
    }
    .sabor-urbano-app .tip-reward.show{display:flex;}
    .sabor-urbano-app .tip-reward svg{
        width:14px;height:14px;color:#f02c3c;fill:#f02c3c;flex-shrink:0;
    }
    .sabor-urbano-app .tip-reward b{color:#f02c3c !important;font-weight:800;}

    /* ───── Coupon section ───── */
    /* Unified input+button pill */
    .sabor-urbano-app .coupon-input-wrap{
        display:flex;align-items:stretch;
        background:#fff;border:1.5px solid #e5e7eb;border-radius:10px;
        overflow:hidden;transition:border-color 0.12s;
    }
    .sabor-urbano-app .coupon-input-wrap:focus-within{border-color:#111;}
    .sabor-urbano-app .coupon-input-wrap input{
        flex:1;min-width:0;
        border:none !important;outline:none !important;
        background:transparent !important;
        padding:11px 13px !important;
        font-family:'IBM Plex Mono',ui-monospace,monospace !important;
        font-size:0.85rem !important;
        font-weight:600 !important;
        color:#111 !important;
        letter-spacing:0.1em !important;
        text-transform:uppercase !important;
    }
    .sabor-urbano-app .coupon-input-wrap input::placeholder{
        color:#9ca3af !important;letter-spacing:0.1em;
    }
    .sabor-urbano-app .coupon-apply-btn{
        background:#111 !important;
        color:#fff !important;
        padding:0 18px !important;
        border:none !important;
        cursor:pointer !important;
        font-weight:800 !important;
        text-transform:uppercase !important;
        font-size:0.7rem !important;
        letter-spacing:0.08em !important;
        transition:background 0.12s !important;
        white-space:nowrap !important;
        border-radius:0 !important;
    }
    .sabor-urbano-app .coupon-apply-btn:hover{background:#000 !important;}
    .sabor-urbano-app .coupon-apply-btn:disabled{
        background:#9ca3af !important;cursor:not-allowed !important;
    }

    .sabor-urbano-app .coupon-status{
        display:none;margin-top:8px;
        padding:7px 10px;border-radius:7px;
        font-size:0.72rem;font-weight:600;
        align-items:center;gap:6px;
    }
    .sabor-urbano-app .coupon-status.show{display:flex;}
    .sabor-urbano-app .coupon-status.ok{
        background:#dcfce7 !important;color:#166534 !important;
    }
    .sabor-urbano-app .coupon-status.err{
        background:#fee2e2 !important;color:#991b1b !important;
    }

    /* First-time customer banner — three visual states */
    .ft-banner { padding: 0.75rem 1rem; font-size: 0.7rem; font-weight: 700; display: flex; align-items: center; gap: 0.5rem; line-height: 1.4; }
    .ft-banner.promo     { background: #fff7ed; color: #9a3412; border-bottom: 1px solid #fed7aa; }
    .ft-banner.qualified { background: #f0fdf4; color: #14532d; border-bottom: 1px solid #bbf7d0; }
    .ft-banner.repeat    { background: #f9fafb; color: #6b7280; border-bottom: 1px solid #e5e7eb; font-weight: 500; }
    .ft-banner-icon { font-size: 1rem; flex-shrink: 0; }

    /* Email typo suggestion — appears inline below the email input when
       we detect a probable typo (e.g. "gmal.com" → suggest "gmail.com").
       One-click to accept. Low-friction: the suggestion is just a gentle
       nudge, not a blocker. */
    .email-suggest {
        margin-top: 4px;
        padding: 6px 10px;
        background: #fef3c7;
        border: 1px solid #fde68a;
        border-radius: 6px;
        font-size: 0.68rem;
        color: #92400e;
        line-height: 1.4;
    }
    .email-suggest a {
        color: #92400e;
        font-weight: 800;
        text-decoration: underline;
        cursor: pointer;
    }
    .email-suggest a:hover { color: #451a03; }

    /* Email hard error — shown when we reject the email outright (e.g.
       disposable domain). Red instead of amber to signal blocking. */
    .email-error {
        margin-top: 4px;
        padding: 6px 10px;
        background: #fef2f2;
        border: 1px solid #fecaca;
        border-radius: 6px;
        font-size: 0.68rem;
        color: #991b1b;
        font-weight: 600;
        line-height: 1.4;
    }

    /* Consent + privacy disclosure above the submit button. Low-friction:
       the act of submitting is the acceptance, not a separate checkbox.
       The summary line tells the customer WHAT they're consenting to;
       "Ver detalles" reveals a structured breakdown if they want more. */
    .consent-block {
        padding: 10px 12px;
        background: #f9fafb;
        border: 1px solid #e5e7eb;
        border-radius: 10px;
        margin-bottom: 4px;
    }
    .consent-summary {
        display: flex;
        align-items: flex-start;
        gap: 8px;
        font-size: 0.68rem;
        line-height: 1.5;
        color: #4b5563;
    }
    .consent-icon {
        width: 14px; height: 14px; flex-shrink: 0; margin-top: 2px;
        color: #6b7280;
    }
    .consent-summary a {
        color: #f02c3c;
        font-weight: 600;
        text-decoration: underline;
        cursor: pointer;
        white-space: nowrap;
    }
    .consent-summary a:hover { color: #111; }
    .consent-details {
        margin-top: 8px;
        padding-top: 10px;
        border-top: 1px solid #e5e7eb;
        font-size: 0.65rem;
        line-height: 1.55;
        color: #4b5563;
    }
    .consent-details ul { margin: 0; padding-left: 18px; }
    .consent-details li { margin-bottom: 5px; }
    .consent-details strong { color: #111; font-weight: 700; }
    .dup-banner { padding: 0.75rem 1rem; font-size: 0.7rem; font-weight: 600; display: flex; align-items: flex-start; gap: 0.5rem; line-height: 1.45; background: #fef2f2; color: #991b1b; border-bottom: 1px solid #fecaca; }
    .dup-banner-icon { font-size: 1rem; flex-shrink: 0; }
    .dup-banner strong { font-weight: 800; color: #7f1d1d; }

    .step-dot { width: 8px; height: 8px; border-radius: 50%; background: #e5e7eb; transition: all 0.2s; }
    .step-dot.active { width: 24px; border-radius: 4px; background: var(--urbano-red); }

    @keyframes pop-in  { 0% { transform: scale(0.5); opacity: 0; } 70% { transform: scale(1.15); } 100% { transform: scale(1); opacity: 1; } }
    .animate-pop-in  { animation: pop-in 0.5s cubic-bezier(0.22,1,0.36,1) both; }
    @keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
    .animate-fade-in { animation: fadeIn 0.4s ease both; }

    .options-badge { background: var(--urbano-red); color: #000; font-size: 0.5rem; font-weight: 900; text-transform: uppercase; letter-spacing: 0.08em; padding: 0.2rem 0.5rem; border-radius: 99px; }

    /* ── Product card (JS-rendered) ── */
    /* Product grid: single column on mobile, 2 columns at tablet+.
       Stays at 2 regardless of viewport above 768px since the content
       column is already narrower than the full viewport (cart sidebar
       sits beside it on desktop). Feels close to Rappi / Uber Eats. */
    .product-grid-inner { grid-template-columns: 1fr; }
    @media (min-width: 768px) {
        .product-grid-inner { grid-template-columns: 1fr 1fr; }
    }

    .product-card { background: #fff; border-radius: 1rem; padding: 0.75rem; box-shadow: 0 1px 3px rgba(0,0,0,.06); border: 1px solid #f3f4f6; display: flex; gap: 1rem; transition: border-color 0.2s, box-shadow 0.2s; }
    .product-card.highlighted { border-color: #f02c3c !important; box-shadow: 0 0 0 3px rgba(240,44,60,0.15) !important; }
    .product-card:hover { box-shadow: 0 8px 30px rgba(0,0,0,.1); }
    @media(min-width:768px) { .product-card { border-radius: 2rem; padding: 1.25rem; } }
    .product-card-img-wrap { position: relative; overflow: hidden; border-radius: 0.75rem; width: 5rem; height: 5rem; flex-shrink: 0; background: #f9fafb; }
    @media(min-width:768px) { .product-card-img-wrap { border-radius: 1rem; width: 7rem; height: 7rem; } }
    @media(min-width:1280px) { .product-card-img-wrap { width: 8rem; height: 8rem; } }
    .product-card-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s; }
    .product-card:hover .product-card-img-wrap img { transform: scale(1.1); }
    .product-card-body { flex: 1; display: flex; flex-direction: column; min-width: 0; }
    .product-card-name { font-size: 0.875rem; font-weight: 900; font-style: italic; text-transform: uppercase; margin-bottom: 0.25rem; line-height: 1.2; color: #111827; }
    @media(min-width:768px) { .product-card-name { font-size: 1.125rem; } }
    .product-card:hover .product-card-name { color: var(--urbano-red); }

    /* Product name row: name + small info "i" button inline (visible
       only when description ≥ 20 chars). Small circular gray button,
       subtle so it doesn't compete with the red CTA on the action row. */
    .product-card-name-row { display: flex; align-items: flex-start; gap: 0.4rem; margin-bottom: 0.25rem; }
    .product-card-name-row .product-card-name { margin-bottom: 0; flex: 1; min-width: 0; }
    .product-info-btn {
        flex-shrink: 0;
        width: 1.5rem; height: 1.5rem;
        border-radius: 50%;
        border: none;
        background: #f3f4f6;
        color: #6b7280;
        cursor: pointer;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: 0.7rem;
        font-weight: 900;
        font-style: italic;
        font-family: 'Times New Roman', serif;
        transition: background 0.15s, color 0.15s;
        margin-top: 0.1rem;
    }
    .product-info-btn:hover { background: #111; color: #fff; }

    .product-card-desc { color: #9ca3af; font-size: 0.625rem; margin-bottom: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.5; flex: 1; }
    @media(min-width:768px) { .product-card-desc { font-size: 0.75rem; } }
    .product-card-price { font-size: 1rem; font-weight: 900; color: #111827; margin-top: 0.5rem; margin-bottom: 0.5rem; }
    @media(min-width:768px) { .product-card-price { font-size: 1.25rem; } }

    /* Action row: flex, NO wrap. The stepper + button must fit side-by-side
       at the narrowest supported card width (~280px). If design shrinks
       the card further, wrap takes over, but at normal breakpoints this
       stays on one line. */
    .card-action-row { display: flex; align-items: center; gap: 0.4rem; flex-wrap: nowrap; min-width: 0; }

    /* Unified card button: same shape + size for both "+ AÑADIR" (simple
       products) and "OPCIONES" (variable products). Height matches the
       card stepper so they align on a baseline. */
    /* Card primary action button ("+ Añadir" / "Opciones"): red solid
       CTA. Height matches the stepper so they align on one baseline. */
    .card-add-btn {
        flex: 1 1 0;
        min-width: 0;
        height: 2.2rem;
        background: #f02c3c !important;
        color: #fff !important;
        border: none !important;
        border-radius: 0.6rem;
        font-size: 0.65rem;
        font-weight: 900;
        text-transform: uppercase;
        letter-spacing: 0.08em;
        cursor: pointer;
        transition: background 0.15s;
        white-space: nowrap;
        padding: 0 0.6rem;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .card-add-btn:hover { background: #000 !important; }

    /* ── Cart item (JS-rendered) ── */
    .cart-item { display: flex; gap: 0.75rem; align-items: center; background: #fff; padding: 0.75rem; border-radius: 0.875rem; border: 1px solid #f3f4f6; box-shadow: 0 1px 3px rgba(0,0,0,.04); min-width: 0; }
    .cart-item img { width: 3.5rem; height: 3.5rem; border-radius: 0.6rem; object-fit: cover; flex-shrink: 0; }
    .cart-item-info { flex: 1; min-width: 0; overflow: hidden; }
    .cart-item-name { font-weight: 900; font-style: italic; text-transform: uppercase; font-size: 0.6875rem; line-height: 1.2; color: #1f2937; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .cart-item-price { font-weight: 900; font-size: 0.8rem; color: var(--urbano-red); margin-top: 0.15rem; }

    /* Unified stepper — ONE rule set for all three places a qty stepper
       can appear: cart sidebar, product card, and Opciones modal footer.
       All dimensions, colors, radii, and hover states match exactly so
       the control feels identical wherever the customer encounters it. */
    .cart-qty-wrap, .modal-qty-wrap { display:flex; align-items:center; background:#f3f4f6; border-radius:0.6rem; flex-shrink:0; padding:0.2rem; height:2.2rem; }
    .cart-qty-btn, .modal-qty-btn   { width:1.75rem; height:1.75rem; display:flex; align-items:center; justify-content:center; border-radius:0.4rem; transition:background 0.15s; cursor:pointer; background:transparent; border:none; font-weight:900; font-size:1rem; color:#374151; }
    .cart-qty-btn:hover, .modal-qty-btn:hover { background:#fff; }
    .cart-qty-num, .modal-qty-num  { font-weight:900; font-size:0.875rem; min-width:1.5rem; text-align:center; color:#111; }
    .cart-trash-btn { width: 1.9rem; height: 1.9rem; border-radius: 0.6rem; border: none; background: #f3f4f6; color: #9ca3af; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background 0.15s, color 0.15s; flex-shrink: 0; }
    .cart-trash-btn:hover { background: var(--urbano-red); color: #fff; }
    input.cart-qty-num::-webkit-outer-spin-button,
    input.cart-qty-num::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
    /* Google Places autocomplete dropdown — constrained to cart sidebar */
    .pac-container {
        z-index: 99999 !important;
        width: 400px !important;
        max-width: 400px !important;
    }

    /* ─── Order tracker step animation ────────────────────────────────
       The ACTIVE step (current status the order is in) pulses green to
       signal real-time progress. Completed steps stay solid green.
       Upcoming steps stay grey. This replicates the original in-sync
       tracker animation the customer sees while their order advances.  */
    @keyframes tracker-pulse-ring {
        0%   { box-shadow: 0 0 0 0     rgba(22, 163, 74, 0.55); }
        70%  { box-shadow: 0 0 0 14px  rgba(22, 163, 74, 0);    }
        100% { box-shadow: 0 0 0 0     rgba(22, 163, 74, 0);    }
    }
    @keyframes tracker-step-glow {
        0%, 100% { border-color: #16a34a; }
        50%      { border-color: #22c55e; }
    }
    .tracker-step-active {
        animation: tracker-step-glow 1.8s ease-in-out infinite;
    }
    /* Animate the dot (first immediate child div with the circle styling).
       Using :scope > div instead of a wildcard attribute match so Lucide
       swapping <i>→<svg> doesn't accidentally retarget the animation.    */
    .tracker-step-active > div:first-child {
        animation: tracker-pulse-ring 1.6s ease-out infinite;
        border-radius: 50%;
    }

    /* RUT dropdown chevron — replace MP's wavy SVG (class
       "arrow-icon-2CJiSJ") with a clean ▾. Targeting based on actual
       DOM inspection.                                                   */
    #mp-bricks-container [class*="arrow-icon"] {
        display: none !important;
    }
    /* The select uses class containing "split-" — wrap it for chevron.
       MUST scope to `select` tag because the sibling number input may
       share the "split-" class prefix and we don't want a chevron on
       that input.                                                       */
    #mp-bricks-container select[class*="split-"] {
        position: relative;
        -webkit-appearance: none !important;
        -moz-appearance: none !important;
        appearance: none !important;
        background-image: linear-gradient(45deg, transparent 50%, #6b7280 50%),
                          linear-gradient(135deg, #6b7280 50%, transparent 50%) !important;
        background-position: calc(100% - 14px) calc(50% + 1px),
                             calc(100% - 9px) calc(50% + 1px) !important;
        background-size: 5px 5px, 5px 5px !important;
        background-repeat: no-repeat !important;
        padding-right: 22px !important;
    }

    /* ═══ Menu search + filter sheet/popover (1.2.102) ═══ */
    .ft-msearch-row{display:flex;gap:10px;align-items:center}
    .ft-msearch{flex:1;min-width:0;position:relative;display:flex;align-items:center}
    .ft-msearch-ico{position:absolute;left:14px;width:17px;height:17px;color:#a3a3a3;pointer-events:none}
    .ft-msearch input{width:100%;height:46px;padding:0 42px 0 42px;border:2px solid #f4f4f5;border-radius:14px;background:#f4f4f5;font-size:15px;font-weight:600;color:#171717;outline:none;transition:border-color .15s,background .15s;-webkit-appearance:none;appearance:none}
    .ft-msearch input::-webkit-search-cancel-button{display:none}
    .ft-msearch input::placeholder{color:#a3a3a3;font-weight:500}
    .ft-msearch input:focus,.ft-msearch.has-q input{background:#fff;border-color:#171717}
    .ft-msearch.has-q .ft-msearch-ico,.ft-msearch input:focus ~ .ft-msearch-ico{color:#171717}
    #menu-search-clear{display:none;position:absolute;right:8px;width:30px;height:30px;border:0;border-radius:50%;background:#f4f4f5;color:#737373;align-items:center;justify-content:center;cursor:pointer}
    #menu-search-clear svg{width:14px;height:14px}
    .ft-msearch.has-q #menu-search-clear{display:flex}
    .ft-mfilter-btn{flex-shrink:0;width:46px;height:46px;border-radius:14px;border:2px solid #e5e5e5;background:#fff;color:#171717;display:flex;align-items:center;justify-content:center;position:relative;cursor:pointer;transition:all .15s}
    .ft-mfilter-btn svg{width:19px;height:19px}
    .ft-mfilter-btn:hover{border-color:#171717}
    .ft-mfilter-btn.is-active,.ft-mfilter-btn[aria-expanded="true"]{background:#171717;border-color:#171717;color:#fff}
    .ft-mfilter-badge{position:absolute;top:-7px;right:-7px;min-width:20px;height:20px;padding:0 4px;border-radius:999px;background:#f02c3c;color:#fff;border:2px solid #fff;font-size:10px;font-weight:800;display:flex;align-items:center;justify-content:center;line-height:1}
    .ft-mfilter-badge[hidden]{display:none}
    .ft-mempty{display:flex;align-items:center;gap:10px;padding-bottom:12px;font-size:13px;color:#737373}
    .ft-mempty[hidden]{display:none}
    .ft-mempty button{border:0;background:none;padding:0;font-weight:800;color:#f02c3c;text-decoration:underline;cursor:pointer;font-size:13px}

    .ft-mf-scrim{position:fixed;inset:0;background:rgba(10,10,10,.5);opacity:0;pointer-events:none;transition:opacity .25s;z-index:9000}
    .ft-mf-panel{position:fixed;z-index:9001;background:#fff;color:#171717;font-family:inherit;visibility:hidden}
    .ft-mf-grab{width:40px;height:5px;border-radius:100px;background:#d9d9d9;margin:0 auto 14px}
    .ft-mf-head{display:flex;align-items:center;margin-bottom:14px;touch-action:none}
    .ft-mf-title{font-size:18px;font-weight:800;line-height:1.2}
    .ft-mf-sub{font-size:12px;color:#a3a3a3;margin-top:2px}
    .ft-mf-x{width:32px;height:32px;border-radius:50%;background:#f4f4f5;border:0;color:#737373;display:flex;align-items:center;justify-content:center;cursor:pointer;flex-shrink:0}
    .ft-mf-x svg{width:16px;height:16px}
    .ft-mf-sec{font-size:10px;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:#a3a3a3;margin:0 0 8px}
    .ft-mf-rows{display:flex;flex-direction:column;gap:8px}
    .ft-mf-row{display:flex;align-items:center;gap:12px;width:100%;padding:10px 12px;border:2px solid #f0f0f0;border-radius:14px;background:#fff;text-align:left;cursor:pointer;font:inherit;color:inherit;transition:border-color .15s,background .15s}
    .ft-mf-row:hover{border-color:#e5e5e5}
    .ft-mf-ico{width:38px;height:38px;border-radius:11px;background:#f4f4f5;color:#525252;display:flex;align-items:center;justify-content:center;flex-shrink:0;transition:all .15s}
    .ft-mf-ico svg{width:18px;height:18px}
    .ft-mf-txt{flex:1;min-width:0}
    .ft-mf-txt b{display:block;font-size:14px;font-weight:800}
    .ft-mf-n{font-size:12px;color:#a3a3a3}
    .ft-mf-chk{width:22px;height:22px;border-radius:7px;border:2px solid #d4d4d4;display:flex;align-items:center;justify-content:center;color:transparent;flex-shrink:0;transition:all .15s}
    .ft-mf-chk svg{width:14px;height:14px;stroke-width:3}
    .ft-mf-row.is-on{border-color:#f02c3c;background:#fff5f5}
    .ft-mf-row.is-on .ft-mf-ico{background:#f02c3c;color:#fff}
    .ft-mf-row.is-on .ft-mf-chk{background:#f02c3c;border-color:#f02c3c;color:#fff}
    .ft-mf-row.is-empty:not(.is-on){opacity:.45}
    .ft-mf-foot{display:flex;gap:8px;margin-top:14px}
    .ft-mf-clear,.ft-mf-go{border-radius:12px;padding:13px;font:inherit;font-size:14px;font-weight:800;cursor:pointer}
    .ft-mf-clear{flex:1;border:2px solid #e5e5e5;background:#fff;color:#171717}
    .ft-mf-clear:disabled{opacity:.4;cursor:default}
    .ft-mf-go{flex:2;border:0;background:#f02c3c;color:#fff}
    .ft-mf-go:disabled{background:#d4d4d4}

    /* .sabor-urbano-app button { background-color: revert } would turn these
       grey (buttonface) — re-assert with #app specificity. */
    #app .ft-mfilter-btn{background-color:#fff}
    #app .ft-mfilter-btn.is-active,#app .ft-mfilter-btn[aria-expanded="true"]{background-color:#171717}
    #app #menu-search-clear,#app .ft-mf-x{background-color:#f4f4f5}
    #app .ft-mf-row{background-color:#fff}
    #app .ft-mf-row.is-on{background-color:#fff5f5}
    #app .ft-mf-clear{background-color:#fff}
    #app .ft-mf-go{background-color:#f02c3c}
    #app .ft-mf-go:disabled{background-color:#d4d4d4}
    .ft-mf-txt b{line-height:1.25}
    .ft-mf-n{display:block;line-height:1.3;margin-top:1px}

    /* Phone + tablet portrait: bottom sheet */
    @media (max-width: 767px){
        .ft-mf-panel{left:0;right:0;bottom:0;border-radius:24px 24px 0 0;padding:10px 16px calc(18px + env(safe-area-inset-bottom,0px));box-shadow:0 -12px 34px rgba(0,0,0,.18);transform:translateY(105%);transition:transform .32s cubic-bezier(.2,.9,.25,1),visibility 0s linear .32s;max-height:88vh;overflow-y:auto;overscroll-behavior:contain}
        body.ft-mf-open .ft-mf-panel{transform:none;visibility:visible;transition:transform .32s cubic-bezier(.2,.9,.25,1)}
        body.ft-mf-open .ft-mf-scrim{opacity:1;pointer-events:auto}
        body.ft-mf-open{overflow:hidden}
        .ft-mf-sub-d,.ft-mf-clear-d{display:none}
        .ft-msearch input{font-size:16px} /* stops iOS zoom on focus */
    }
    /* Desktop: popover under the button */
    @media (min-width: 768px){
        .ft-mf-panel{width:340px;border:1px solid #ececec;border-radius:20px;box-shadow:0 24px 50px rgba(0,0,0,.18);padding:16px;opacity:0;transform:translateY(-6px);transition:opacity .15s,transform .15s,visibility 0s linear .15s}
        body.ft-mf-open .ft-mf-panel{opacity:1;transform:none;visibility:visible;transition:opacity .15s,transform .15s}
        .ft-mf-panel:before{content:"";position:absolute;top:-7px;right:var(--ft-mf-arrow,16px);width:12px;height:12px;background:#fff;border-left:1px solid #ececec;border-top:1px solid #ececec;transform:rotate(45deg)}
        .ft-mf-grab,.ft-mf-sub-m,.ft-mf-clear-m,.ft-mf-go{display:none}
        .ft-mf-row{padding:8px 10px}
        .ft-mf-ico{width:32px;height:32px}
        .ft-mf-ico svg{width:16px;height:16px}
        .ft-mf-title{font-size:16px}
        .ft-mf-foot{margin-top:12px}
        .ft-mf-clear{padding:10px}
    }
