
        /* =========================================
           CSS BÁSICO Y ESTRUCTURAL (Fácil de editar)
           ========================================= */

        html { height: 100%; overflow: hidden; overscroll-behavior: none; }
        body { font-family: var(--font-family, Inter, system-ui, sans-serif); margin: 0; background-color: var(--bg-color); color: var(--text-main); height: 100%; overflow: hidden; overscroll-behavior: none; -webkit-user-select: none; user-select: none; }
        .platform-store-preview-bar { position: fixed; inset: 0 0 auto; z-index: 100000; min-height: 46px; display: flex; align-items: center; justify-content: center; gap: 12px; padding: 7px 14px; box-sizing: border-box; color: #f5f5f5; background: #111318; border-bottom: 1px solid #2b2e36; font: 600 12px/1.25 Inter, system-ui, sans-serif; letter-spacing: .01em; }
        .platform-store-preview-bar[hidden] { display: none; }
        .platform-store-preview-bar__status { color: #f59a55; }
        .platform-store-preview-bar button { min-height: 30px; margin-left: auto; padding: 0 11px; color: #f5f5f5; background: #20232a; border: 1px solid #3b3f49; border-radius: 7px; font: inherit; cursor: pointer; }
        .platform-store-preview-bar button:focus-visible { outline: 2px solid #f07d2a; outline-offset: 2px; }
        body.platform-store-preview .app-container { height: calc(100dvh - 46px); margin-top: 46px; }
        body.platform-store-preview .app-container button,
        body.platform-store-preview .app-container a,
        body.platform-store-preview .app-container [role="button"],
        body.platform-store-preview .app-container input,
        body.platform-store-preview .app-container select,
        body.platform-store-preview .app-container textarea { cursor: default !important; }
        @media (max-width: 520px) {
            .platform-store-preview-bar { justify-content: space-between; }
            .platform-store-preview-bar__label-full { display: none; }
            .platform-store-preview-bar__store { max-width: 36vw; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
            .platform-store-preview-bar__status { display: none; }
        }
        input,
        textarea,
        select,
        [contenteditable="true"],
        .allow-text-selection {
            -webkit-user-select: text;
            user-select: text;
        }

        :root {
            --app-shell-shadow: 0 0 20px rgba(0,0,0,0.05);
            --card-shadow: 0px 4px 12px -3px #0000001f, 0px 2px 3px -2px #0000;
            --card-shadow-hover: 0 4px 12px -4px rgba(0,0,0,0.35);
            --floating-shadow: 0 4px 15px rgba(0,0,0,0.1);
            --surface-shadow: 0 10px 25px rgba(0,0,0,0.06);
            --sticky-shadow: 0 -4px 10px rgba(0,0,0,0.05);
            --modal-fade-gradient: linear-gradient(to top, color-mix(in srgb, var(--bg-color) 74%, transparent) 0%, color-mix(in srgb, var(--bg-color) 48%, transparent) 28%, color-mix(in srgb, var(--bg-color) 24%, transparent) 58%, color-mix(in srgb, var(--bg-color) 8%, transparent) 84%, transparent 100%);
            --nav-bar-shadow: 0 -10px 18px -8px color-mix(in srgb, var(--bg-color) 88%, transparent);
            --modal-fade-shadow: 0px -6px 12px 12px var(--bg-color);
        }

        /* Contenedor tipo App Móvil */
        .app-container { max-width: 480px; height: 100dvh; margin: 0 auto; background: var(--bg-color); position: relative; overflow: hidden; box-shadow: var(--app-shell-shadow); }

        /* Vistas (SPA) */
        .view { display: none; background-color: var(--bg-color); animation: fadeIn 0.3s ease; height: 100%; overflow-y: auto; overflow-x: hidden; overscroll-behavior: none; -webkit-overflow-scrolling: touch; }
        .view.active { display: block; }
        @keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

        /* Tipografía y Elementos */
        h1, h2, h3 { margin-top: 0; }
        .btn { display: flex; justify-content: center; align-items: center; width: 100%; border: none; font-weight: bold; cursor: pointer; text-align: center; padding: 8px 21px; border-radius: var(--radius-btn, 23px); font-size: 1.35em; }
        .btn-primary { background: var(--primary); color: var(--text-contrast, #fff); }
        #btnConfirmOrder { border-radius: var(--radius-sm, 8px); }
        .btn-outline { background: var(--text-main); color: var(--bg-color); }

        /* Header */
        header { display: flex; justify-content: space-between; align-items: center; padding: 10px 15px; position: sticky; top: 0; background: transparent; z-index: 10; margin-bottom: -68px; touch-action: none; }
        header.header-animate-in { transition: background-color 0.3s ease; }
        .logo-area { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.2em; color: var(--header-transparent); }
        .logo-area.header-animate-in { transition: color 0.3s ease; }
        .logo-area img { height: 30px; border-radius: var(--radius-btn, 50%); }
        .store-logo-slot { width: 30px; height: 30px; flex: 0 0 30px; border-radius: var(--radius-btn, 50%); overflow: hidden; background-color: var(--store-logo-slot-color, currentColor); padding: 6px; box-sizing: border-box; color: var(--text-muted); position: relative; display: flex; justify-content: center; align-items: center; }
        .store-logo-slot img { width: 100%; height: 100%; object-fit: cover; position: absolute; }
        .store-logo-slot--image { background-color: transparent; padding: 0; }
        .store-logo-slot--image img { inset: 0; display: block; border-radius: 0; }
        .store-logo-slot svg { width: 100%; height: 100%; color: inherit; stroke: currentColor; }
        .store-logo-slot svg * { color: currentColor; }
        .cart-icon { position: relative; cursor: pointer; font-size: 1.5em; height: 38px; aspect-ratio: 1; background: white; box-sizing: border-box; padding: 9px; display: none !important; border-radius: 100px; transition: box-shadow 0.25s ease-in-out; }
        .cart-badge { position: absolute; background: var(--primary); color: var(--text-contrast, #fff); font-size: 0.6em; font-weight: bold; top: -3px; right: -6px; width: 20px; height: 20px; border-radius: var(--radius-btn, 50%); display: flex; justify-content: center; align-items: center; }

        /* Banner y Filtros */
        /* margin-bottom: la sección de abajo (barra operativa / título) sube sobre el banner.
           El solape escala con --radius-xl para que las esquinas redondeadas queden siempre
           sobre la imagen del banner y no dejen ver triángulos del fondo al usar "Redondeado". */
        .hero-banner { width: 100%; height: 270px; justify-content: end; display: flex block; align-items: end; background: var(--text-main, #25262c); overflow: hidden; margin-bottom: calc(-20px - var(--radius-xl, 0px) * 0.55); }
        .storefront-header-solid .hero-banner { height: calc(270px + var(--storefront-header-height, 50px)); }
        .hero-banner::after { content: ''; position: absolute; left: 0; right: 0; bottom: -38px; height: 38px; background: var(--text-main, #25262c); pointer-events: none; z-index: 0; }
        .hero-banner img { width: 100%; height: 100%; object-fit: cover; display: block; }
        .category-pills { display: flex; gap: 10px; scrollbar-width: none; width: 100%; padding: 11px 0px; box-sizing: border-box; overflow: auto; }
        .category-pills::-webkit-scrollbar { display: none; }
        .pill { padding: 8px 16px; font-size: 0.9em; cursor: pointer; white-space: nowrap; border-radius: var(--radius-md, 12px); font-weight: 500; background: var(--surface); box-shadow: var(--card-shadow); }
        .pill.active { background: var(--primary); color: var(--text-contrast, #fff); }

        /* Tarjetas de Producto */
        .product-card { display: flex; cursor: pointer; border-radius: var(--radius-lg, 15px); box-shadow: var(--card-shadow); background: var(--surface); position: relative; min-width: 0; }
        /* Sellos comerciales (Nuevo / Más vendido / Promo) */
        .commercial-badge,
        .oos-badge {
            position: absolute; top: 8px; left: 8px;
            font-size: 0.68em; font-weight: 700;
            padding: 4px 9px; border-radius: var(--radius-btn, 23px);
            z-index: 2; letter-spacing: 0.03em;
            color: #fff; text-transform: uppercase;
            box-shadow: 0 4px 12px -4px rgba(0,0,0,0.35);
            backdrop-filter: blur(4px);
            -webkit-backdrop-filter: blur(4px);
        }
        /* Barra de info operativa (envio / tiempo / retiro / minimo) */
        .ops-info-bar {
            display: flex; flex-wrap: wrap; gap: 1px;
            padding: 1px;
            border-radius: var(--radius-xl, 23px) var(--radius-xl, 23px) 0 0;
            overflow: visible;
            position: relative;
            z-index: 4;
            background: var(--secondary);
            padding: 10px 20px;
            gap: 16px;
        }
        .ops-info-bar::after {
            content: '';
            position: absolute;
            left: 0;
            right: 0;
            bottom: -38px;
            height: 38px;
            background: var(--secondary);
            pointer-events: none;
            z-index: -1;
        }
        .ops-info-bar .ops-chip {
            display: flex; align-items: center; justify-content: center; gap: 8px;
            color: var(--text-contrast);
            font-size: 0.78em;
            font-weight: 500;
            box-shadow: none;
            white-space: normal;
            text-align: center;
            line-height: 1.3;
        }
        .ops-info-bar .ops-chip svg {
            width: 14px; height: 14px;
            color: inherit;
            stroke: var(--text-contrast, #fff);
            border-radius: var(--radius-btn, 0px);
            padding: 7px;
            background: var(--primary);
            flex-shrink: 0;
        }
        .ops-info-bar .ops-chip span { line-height: 1.3; font-weight: inherit; }
        /* Footer de tienda: pago + delivery + redes */
        .store-footer-bar {
            margin: 24px 0 12px 0;
            padding: 16px 14px;
            background: var(--surface);
            border-radius: var(--radius-lg, 18px);
            box-shadow: var(--card-shadow);
            display: flex;
            flex-direction: column;
            gap: 14px;
        }
        .store-footer-bar .sf-row {
            display: flex; align-items: center; justify-content: space-between;
            gap: 10px; flex-wrap: wrap;
        }
        .store-footer-bar .sf-label {
            font-size: 0.72em; font-weight: 700;
            color: var(--text-muted);
            text-transform: uppercase; letter-spacing: 0.04em;
        }
        .store-footer-bar .sf-items {
            display: flex; gap: 6px; flex-wrap: wrap;
            justify-content: flex-end;
        }
        .store-footer-bar .sf-pill {
            display: inline-flex; align-items: center; gap: 6px;
            background: var(--bg-color);
            color: var(--text-main);
            border-radius: 999px;
            padding: 5px 10px;
            font-size: 0.74em;
            font-weight: 600;
        }
        .store-footer-bar .sf-pill svg {
            width: 13px; height: 13px;
            color: var(--text-muted);
            flex-shrink: 0;
        }
        .store-footer-bar .sf-divider {
            height: 1px; background: var(--bg-color); width: 100%;
        }
        .store-footer-bar .sf-social {
            display: flex; gap: 10px; justify-content: center; flex-wrap: wrap;
        }
        .store-footer-bar .sf-social a {
            display: inline-flex; align-items: center; justify-content: center;
            width: 36px; height: 36px;
            border-radius: 50%;
            background: var(--bg-color);
            color: var(--text-muted);
            transition: color 0.2s, transform 0.2s;
        }
        .store-footer-bar .sf-social a:hover {
            color: var(--primary);
            transform: translateY(-1px);
        }
        .store-privacy-footer { padding-bottom: 88px; }
        .store-credits {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            color: var(--text-muted);
            font-size: .9em;
            font-weight: 500;
        }
        .store-credits a,
        .store-credits button {
            border: 0;
            padding: 0;
            background: transparent;
            color: inherit;
            font: inherit;
            text-decoration: none;
            cursor: pointer;
        }
        .store-credits a:hover,
        .store-credits button:hover { color: var(--primary); }
        .store-credits a:focus-visible,
        .store-credits button:focus-visible {
            border-radius: 4px;
            outline: 2px solid var(--primary);
            outline-offset: 3px;
        }
        .checkout-privacy-note {
            margin: 10px 0 0;
            color: var(--text-muted);
            font-size: .75rem;
            line-height: 1.5;
        }
        .checkout-privacy-note a {
            color: var(--primary);
            text-decoration: underline;
            text-underline-offset: 2px;
        }
        .commercial-badge--promo, .commercial-badge--new, .oos-badge { background: var(--primary); color: var(--text-contrast, #fff); }
        .commercial-badge--bestseller { background: var(--secondary); color: var(--text-main); border: 1px solid color-mix(in srgb, var(--text-main) 18%, transparent); }
        /* .commercial-badge--new        { background: color-mix(in srgb, var(--primary) 14%, var(--surface) 86%); color: var(--primary); } */
        .commercial-badge--detail {
            position: static;
            box-shadow: none;
            backdrop-filter: none;
            -webkit-backdrop-filter: none;
            font-size: 0.74em;
            padding: 6px 12px;
        }
        /* Si no hay stock, el estado reemplaza cualquier sello comercial. */
        .product-card--oos .commercial-badge { display: none; }
        .product-card--oos .product-img,
        .product-card--oos .product-info { opacity: 0.6; }
        /* Precio anterior tachado */
        .product-detail-sheet .price-compare { display: none; }
        .price-compare {
            font-size: 0.95em; font-weight: 500;
            color: var(--text-muted); text-decoration: line-through;
            margin-left: 0; opacity: 0.8;
        }
        .price-current--promo { color: inherit; }
        .product-card .product-img { width: 107px; object-fit: cover; border-radius: var(--radius-lg, 15px); overflow: hidden; flex-shrink: 0; aspect-ratio: 1; }
        .product-card .product-img--empty {
            background: color-mix(in srgb, var(--text-muted) 14%, var(--secondary, #111827));
            color: color-mix(in srgb, var(--text-muted) 70%, var(--secondary, #111827));
            display: flex;
            align-items: center;
            justify-content: center;
        }
        .product-card .product-img--empty svg { width: 36%; height: 36%; max-width: 48px; max-height: 48px; color: var(--surface); }
        .product-card .product-img--empty svg * { color: currentColor; }
        /* Skeleton shimmer en imagen de tarjeta hasta que termina de cargar (oculta el alt). */
        .product-card img.product-img:not([data-loaded]) {
            color: transparent;
            font-size: 0;
            background: linear-gradient(90deg,
                color-mix(in srgb, var(--text-muted) 8%, var(--bg-color)) 25%,
                color-mix(in srgb, var(--text-muted) 20%, var(--bg-color)) 50%,
                color-mix(in srgb, var(--text-muted) 8%, var(--bg-color)) 75%);
            background-size: 200% 100%;
            animation: shimmer 1.4s ease-in-out infinite;
        }
        .product-card .product-desc { font-size: 0.85em; }
        .product-info { flex: 1; min-width: 0; padding: 10px; display: flex; flex-direction: column; justify-content: space-between; }
        .product-title { font-weight: bold; font-size: 1.1em; margin-bottom: 0px; }
        .product-desc { color: var(--text-muted); margin: 9px 0 15px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
        .product-desc .desc-scroll { color: inherit; }
        /* ── Layout: Cuadrícula 2 columnas ── */
        #productList.grid-layout {
            display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px;
        }
        #productList.grid-layout .product-card {
            flex-direction: column;
        }
        #productList.grid-layout .product-card .product-img {
            width: 100%;
            aspect-ratio: 1;
            border-radius: var(--radius-lg, 15px) var(--radius-lg, 15px) 0 0;
        }

        /* ── Layout: Lista amplia (foto grande) ── */
        #productList.list-wide .product-card .product-img { width: 45%; }
        #productList.list-wide .product-info {
            display: flex; flex-direction: column; justify-content: space-between;
        }

        /* ── Layout: Galería visual (foto y nombre) ── */
        #productList.grid-clean {
            display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px;
        }
        #productList.grid-clean .product-card { flex-direction: column; gap: 0; }
        #productList.grid-clean .product-card .product-img {
            width: 100%; border-radius: var(--radius-lg, 15px) var(--radius-lg, 15px) 0 0;
        }

        #productList.grid-clean .product-info {
            padding: 8px 10px;
            flex-direction: row;
            align-items: center;
            gap: 10px;
        }

        /* List mode: single-line marquee for long descriptions */
        #productList:not(.grid-layout):not(.grid-clean) .product-desc {
            display: block; white-space: nowrap; overflow: hidden;
            -webkit-line-clamp: unset; -webkit-box-orient: unset;
            height: 1.25em; position: relative;
            mask-image: linear-gradient(to right, #000 85%, transparent 100%);
            -webkit-mask-image: linear-gradient(to right, #000 85%, transparent 100%);
        }
        #productList:not(.grid-layout):not(.grid-clean) .product-desc .desc-scroll {
            display: inline-block;
        }
        #productList:not(.grid-layout):not(.grid-clean) .product-desc .desc-scroll.overflow.is-visible,
        #cartaProductList .product-desc .desc-scroll.overflow.is-visible,
        #cartItemsList .cart-line-options .desc-scroll.overflow.is-visible {
            animation: descMarquee var(--dur, 10s) linear infinite;
        }
        /* Carta list: same marquee container rules as menu list */
        #cartaProductList .product-desc {
            display: block; white-space: nowrap; overflow: hidden;
            -webkit-line-clamp: unset; -webkit-box-orient: unset;
            height: 1.25em; position: relative;
            mask-image: linear-gradient(to right, #000 85%, transparent 100%);
            -webkit-mask-image: linear-gradient(to right, #000 85%, transparent 100%);
        }
        #cartaProductList .product-desc .desc-scroll {
            display: inline-block;
        }
        #cartItemsList .cart-line-options {
            display: block;
            min-width: 0;
            height: 1.25em;
            margin-top: 5px;
            overflow: hidden;
            position: relative;
            color: var(--text-muted);
            font-size: 0.85em;
            white-space: nowrap;
            mask-image: linear-gradient(to right, #000 85%, transparent 100%);
            -webkit-mask-image: linear-gradient(to right, #000 85%, transparent 100%);
        }
        #cartItemsList .cart-line-options .desc-scroll {
            display: inline-block;
            color: inherit;
        }
        @keyframes descMarquee {
            0% { transform: translateX(0); opacity: 1; }
            62%, 82% { transform: translateX(var(--dx)); opacity: 1; }
            88% { transform: translateX(var(--dx)); opacity: 0; }
            89% { transform: translateX(0); opacity: 0; }
            100% { transform: translateX(0); opacity: 1; }
        }
        /* Full description mode: wrap instead of marquee scroll */
        body.desc-full-mode #productList:not(.grid-layout):not(.grid-clean) .product-desc,
        body.desc-full-mode #cartaProductList .product-desc {
            white-space: normal; height: auto;
            mask-image: none; -webkit-mask-image: none;
        }
        body.desc-full-mode #productList:not(.grid-layout):not(.grid-clean) .product-desc .desc-scroll,
        body.desc-full-mode #cartaProductList .product-desc .desc-scroll {
            white-space: normal;
        }
        body.desc-full-mode #productList:not(.grid-layout):not(.grid-clean) .product-desc .desc-scroll.overflow,
        body.desc-full-mode #cartaProductList .product-desc .desc-scroll.overflow {
            animation: none; width: 100%; white-space: normal;
        }
        .product-price-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; min-width: 0; }
        .product-price-content {
            flex: 1 1 auto;
            min-width: 0;
            max-width: 100%;
            overflow: hidden;
            display: flex;
            align-items: baseline;
            mask-image: linear-gradient(to right, #000 82%, transparent 100%);
            -webkit-mask-image: linear-gradient(to right, #000 82%, transparent 100%);
        }
        .price-with-compare {
            display: inline-flex;
            flex-direction: row;
            align-items: baseline;
            gap: 8px;
            flex-wrap: nowrap;
            white-space: nowrap;
            min-width: 0;
            max-width: max-content;
        }
        .price { font-weight: 700; font-size: 1.4em; }
        .add-btn { background: var(--primary); color: var(--text-contrast, #fff); width: 30px; height: 30px; border-radius: var(--radius-btn, 50%); border: none; font-size: 1.7em; box-sizing: border-box; padding: 7px; display: flex; justify-content: center; align-items: center; cursor: pointer; flex-shrink: 0; }
        /* Fix Safari: SVG sin dimensiones explícitas colapsa a 0×0 en flex containers */
        .add-btn svg { width: 100%; height: 100%; display: block; }
        .close-btn svg { width: 100%; height: 100%; display: block; }
        /* CSS fill tiene prioridad sobre atributos de presentación SVG */
        .add-btn svg path { fill: var(--text-contrast, #fff); }

        .grid-clean .product-text > :not(.product-title),
        .grid-clean .product-price-content { display: none; }

        .grid-clean .product-text {
            flex: 1;
            min-width: 0;
            overflow-wrap: anywhere;
        }
        .close-btn svg path { fill: var(--text-contrast, #fff); }
        .products {
            padding: 10px 15px 15px;
            border-radius: var(--radius-xl, 23px) var(--radius-xl, 23px) 0 0;
            background: var(--bg-color);
            padding-bottom: 48px;
            /* Más border-radius => esquinas superiores más curvas: separar el título de la
               curva escalando el padding-top con el radio (uniforme en todas las formas). */
            padding-top: calc(10px + var(--radius-xl, 0px) * 0.22);
            display: flex;
            flex-direction: column;
            gap: 5px;
            position: relative;
            z-index: 4;
        }

        #view-cart { padding: 85px 20px 86px; box-sizing: border-box; }

        /* Vista Personalización Producto (Modal App) */
        .product-hero { margin: -20px -20px 20px -20px; height: 250px; background-size: cover; background-position: center; position: relative; }
        @media (max-width: 768px) {
            .product-modal .product-hero { max-height: 100vw !important; }
        }
        .product-hero__eyebrow, #prodDetailName { color: var(--text-main); }
        .close-btn { background: var(--primary); width: 35px; height: 35px; border-radius: var(--radius-btn, 50%); display: flex; justify-content: center; align-items: center; font-weight: bold; border: none; cursor: pointer; box-sizing: border-box; padding: 9px; color: var(--text-contrast, #fff); }
        .modifier-group { background: var(--surface); padding: 15px; border-radius: var(--radius-md, 12px); margin-bottom: 15px; box-shadow: var(--card-shadow); }
        .modifier-group h4 { margin: 0 0 10px 0; }
        .option-row { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--text-muted); }
        .option-row:last-child { border-bottom: none; }
        .option-row--unavailable { opacity:.48; cursor:not-allowed; }

        /* Modificadores — estilo "Tarjetas" (grid adaptable, máx 4 columnas, última fila ajustada) */
        .modifier-card-section { margin-bottom: 31px; }
        .modifier-card-section__header { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 12px; }
        .modifier-card-section__title { margin: 0; font-size: 1.2em; font-weight: 600; color: var(--text-main); }
        .modifier-card-section__required { color: var(--primary); font-size: 0.8em; }
        .modifier-card-grid { display: flex; flex-direction: column; gap: 10px; }
        .modifier-card-row { display: grid; gap: 10px; }
        .product-item-notes-section {
            margin: 0 0 22px;
            padding: 15px;
            background: var(--surface);
            border-radius: var(--radius-md, 12px);
            box-shadow: var(--card-shadow);
        }
        .product-item-notes-section[hidden] { display: none; }
        .product-item-notes-section__head {
            display: flex;
            align-items: baseline;
            margin-bottom: 10px;
        }
        .product-item-notes-section__title {
            margin: 0;
            color: var(--text-main);
            font-size: 1.1em;
            font-weight: 600;
        }
        .product-item-notes-input {
            display: block;
            width: 100%;
            min-height: 84px;
            padding: 12px 13px;
            border: 1px solid color-mix(in srgb, var(--text-muted) 24%, transparent);
            border-radius: var(--radius-sm, 8px);
            background: var(--bg-color);
            color: var(--text-main);
            font: inherit;
            font-size: .92em;
            line-height: 1.45;
            resize: vertical;
            box-sizing: border-box;
        }
        .product-item-notes-input::placeholder { color: var(--text-muted); opacity: .82; }
        .product-item-notes-input:focus { outline: none; }
        .modifier-card {
            position: relative;
            padding: 14px 8px;
            background: var(--surface);
            border-radius: var(--radius-md, 12px);
            box-shadow: var(--card-shadow);
            cursor: pointer;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            text-align: center;
            gap: 4px;
            min-height: 45px;
            color: var(--text-main);
            transition: background 0.15s ease, color 0.15s ease, transform 0.05s ease;
            -webkit-tap-highlight-color: transparent;
        }
        .modifier-card:active { transform: scale(0.98); }
        .modifier-card--unavailable { opacity:.48; cursor:not-allowed; box-shadow:none; }
        .modifier-card--unavailable:active { transform:none; }
        .modifier-card.modifier-selected { background: var(--primary); color: var(--text-contrast, #fff); }
        /* El texto y el precio de la tarjeta seleccionada usan el color "Texto botón". */
        .modifier-card.modifier-selected .modifier-card__name,
        .modifier-card.modifier-selected .modifier-card__price { color: var(--text-contrast, #fff); }
        .modifier-card__name { font-size: 0.95em; font-weight: 400; line-height: 1.2; word-break: break-word; opacity: .6; }
        .modifier-card__name--only { opacity: 1; }
        .modifier-card__price { font-size: 1.1em; font-weight: 700; line-height: 1.1; }
        .modifier-card__price--option-name { word-break: break-word; }
        .modifier-card__input { display: none !important; }

        /* Cuando el storefront corre con modifiers_style = cards, ocultar elementos redundantes */
        body.spot-modifiers-cards .product-hero__eyebrow,
        body.spot-modifiers-cards .product-modal .product-price-pill { display: none !important; }

        /* Elementos de Formulario (Carrito) */
        #checkoutFormArea { --checkout-section-gap: 28px; }
        .form-group { margin-bottom: 17px; }
        .form-group label { display: block; font-weight: 500; font-size: 0.8em; margin-bottom: 5px; }
        .form-control { width: 100%; outline: none; padding: 12px; border: none; border-radius: var(--radius-sm, 8px); box-sizing: border-box; font-family: inherit; color: var(--text-muted); background-color: var(--surface); }
        #checkoutFormArea .form-control { color: var(--text-main); }
        #checkoutFormArea .form-control::placeholder { color: var(--text-muted); opacity: 1; }
        .checkout-input-shell { position: relative; display: block; width: 100%; color: var(--text-muted); }
        .checkout-input-shell .form-control { padding-left: 36px; }
        .checkout-input-shell--location .form-control { padding-right: 48px; }
        .checkout-float-field .form-control {
            font-size: 16px;
            transition: padding 180ms cubic-bezier(0.16, 1, 0.3, 1);
        }
        .checkout-float-field > input.form-control { height: 46px; }
        .checkout-float-field > textarea.form-control {
            height: 46px;
            min-height: 46px;
            overflow-y: hidden;
            resize: none;
        }
        #checkoutFormArea .checkout-float-field .form-control::placeholder {
            color: transparent;
            opacity: 0;
        }
        .form-group .checkout-float-label {
            position: absolute;
            z-index: 1;
            left: 36px;
            top: 50%;
            margin: 0;
            color: var(--text-muted);
            font-size: 16px;
            font-weight: 400;
            line-height: 1;
            letter-spacing: 0;
            opacity: 1;
            pointer-events: none;
            transform: translateY(-50%);
            transform-origin: left top;
            transition:
                top 180ms cubic-bezier(0.16, 1, 0.3, 1),
                color 0.16s cubic-bezier(0.4, 0, 0.2, 1),
                font-size 180ms cubic-bezier(0.16, 1, 0.3, 1),
                transform 180ms cubic-bezier(0.16, 1, 0.3, 1);
        }
        .checkout-float-field > textarea.form-control:placeholder-shown + .checkout-float-label {
            top: 50%;
            transform: translateY(-50%);
        }
        .checkout-float-field .form-control:not(:placeholder-shown) {
            padding-top: 20px;
            padding-bottom: 7px;
        }
        .checkout-float-field .form-control:not(:placeholder-shown) + .checkout-float-label {
            top: 6px;
            font-size: 11px;
            transform: translateY(0);
        }
        .checkout-float-field--plain .form-control { padding-left: 12px; }
        .form-group .checkout-float-field--plain .checkout-float-label { left: 12px; }
        .checkout-input-icon { position: absolute; left: 10px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); color: var(--text-muted); opacity: 0.48; pointer-events: none; z-index: 2; display: inline-flex; align-items: center; justify-content: center; }
        .checkout-input-shell--notes .checkout-input-icon { top: 23px; }
        .checkout-input-icon svg { width: 100%; height: 100%; display: block; stroke: currentColor; }
        .checkout-input-shell--accent .form-control { color: var(--text-main); font-weight: 500; }
        .checkout-input-shell--accent .checkout-input-icon { color: var(--primary); opacity: 1; }
        .checkout-input-shell--accent .checkout-input-icon svg,
        .checkout-input-shell--accent .checkout-input-icon svg * { color: var(--primary); fill: var(--primary); stroke: none; }
        .checkout-input-shell--accent .checkout-input-icon svg[viewBox="0 0 50 50"] { display: none; }
        .checkout-location-btn { position:absolute; right:0px; top:50%; width:40px; height:40px; transform:translateY(-50%); border:0; border-radius:var(--radius-sm, 8px); background:transparent; color:var(--text-muted); display:grid; place-items:center; cursor:pointer; z-index:3; transition:color .15s ease, background .15s ease; }
        .checkout-location-btn:hover { color:var(--primary); background:color-mix(in srgb, var(--primary) 9%, transparent); }
        .checkout-location-btn:focus-visible { outline:2px solid var(--primary); outline-offset:1px; }
        .checkout-location-btn:disabled { cursor:wait; opacity:.55; }
        .checkout-location-btn svg { width:19px; height:19px; display:block; }
        #addressField.is-location-valid .checkout-input-shell .form-control { box-shadow:inset 0 0 0 1px color-mix(in srgb, var(--primary) 38%, transparent); }
        #addressField.is-location-valid .checkout-input-icon,
        #addressField.is-location-valid .checkout-location-btn { color:var(--primary); opacity:1; }
        .checkout-address-spotlight {
            position: fixed;
            inset: 0 auto 0 50%;
            width: min(100%, 480px);
            z-index: 80;
            background: rgba(10, 12, 16, 0.48);
            -webkit-backdrop-filter: blur(2px);
            backdrop-filter: blur(2px);
            opacity: 0;
            visibility: hidden;
            pointer-events: none;
            transform: translateX(-50%);
            transition: opacity 190ms ease, visibility 0s linear 190ms;
        }
        body.checkout-address-attention .checkout-address-spotlight {
            opacity: 1;
            visibility: visible;
            transition: opacity 240ms cubic-bezier(0.16, 1, 0.3, 1), visibility 0s linear 0s;
        }
        body.checkout-address-attention header { z-index: 100; }
        body.checkout-address-attention #addressField { z-index: 90; }
        body.checkout-address-attention #addressField .checkout-input-shell {
            border-radius: var(--radius-sm, 8px);
            box-shadow: 0 9px 24px rgba(10, 12, 16, 0.18);
        }
        @keyframes spin { to { transform:rotate(360deg); } }
        @media (prefers-reduced-motion: reduce) {
            .spot-btn-spinner { animation-duration:2s !important; }
            .checkout-float-field .form-control,
            .form-group .checkout-float-label { transition: none; }
            .checkout-address-spotlight,
            body.checkout-address-attention .checkout-address-spotlight { transition:opacity 100ms linear, visibility 0s linear 100ms; }
            body.checkout-address-attention .checkout-address-spotlight { transition-delay:0s; }
            .transfer-checkout-notice,
            .transfer-checkout-notice__inner { transition: none !important; }
            #couponEntry { transition: none !important; }
        }
        .spot-select-shell { position: relative; display: block; width: 100%; }
        .spot-select-shell::after {
            content: '';
            position: absolute;
            right: 13px;
            top: 50%;
            width: 11px;
            height: 7px;
            transform: translateY(-50%);
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='7' viewBox='0 0 11 7'%3E%3Cpath d='M1 1.25 5.5 5.75 10 1.25' stroke='%2372768a' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
            background-repeat: no-repeat;
            background-position: center;
            background-size: 11px 7px;
            pointer-events: none;
            opacity: 0.9;
        }
        .spot-select-shell > select.form-control {
            -webkit-appearance: none;
            appearance: none;
            background-image: none;
            padding-right: 40px;
            cursor: pointer;
        }
        .spot-select-shell.checkout-input-shell > select.form-control { padding-left: 36px; }
        .checkout-select-field > select.form-control {
            height: 46px;
            padding-top: 20px;
            padding-bottom: 7px;
            font-size: 16px;
        }
        .form-group .checkout-select-field .checkout-float-label {
            top: 6px;
            right: 40px;
            font-size: 11px;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
            transform: translateY(0);
            transition: none;
        }
        .checkout-select-field--plain > select.form-control { padding-left: 12px; }
        .form-group .checkout-select-field--plain .checkout-float-label { left: 12px; }
        .delivery-time-slider-card {
            padding: 14px 14px 12px;
            border-radius: var(--radius-sm, 8px);
            background: var(--surface);
        }
        .delivery-time-slider-head {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 12px;
            margin-bottom: 15px;
        }
        .delivery-time-slider-head label { margin: 0; }
        .delivery-time-slider-value {
            color: var(--primary);
            font-size: 0.82rem;
            font-weight: 700;
            font-variant-numeric: tabular-nums;
            text-align: right;
        }
        .delivery-time-slider-control {
            position: relative;
            height: 28px;
            margin-inline: 2px;
        }
        .delivery-time-slider-rail {
            position: absolute;
            inset: 50% 10px auto;
            height: 3px;
            border-radius: 999px;
            background: color-mix(in srgb, var(--text-muted) 24%, transparent);
            transform: translateY(-50%);
            pointer-events: none;
        }
        .delivery-time-slider-fill {
            position: absolute;
            inset: 0 auto 0 0;
            width: 0;
            border-radius: inherit;
            background: var(--primary);
        }
        .delivery-time-slider-ticks { position: absolute; inset: 0; }
        .delivery-time-slider-tick {
            position: absolute;
            top: 50%;
            width: 5px;
            height: 5px;
            border-radius: 50%;
            background: var(--surface);
            border: 1px solid color-mix(in srgb, var(--text-muted) 50%, transparent);
            transform: translate(-50%, -50%);
        }
        .delivery-time-slider-tick.is-passed {
            border-color: var(--primary);
            background: var(--primary);
        }
        .delivery-time-slider-input {
            position: absolute;
            inset: 0;
            width: 100%;
            height: 28px;
            margin: 0;
            padding: 0;
            opacity: 1;
            appearance: none;
            -webkit-appearance: none;
            background: transparent;
            cursor: grab;
            touch-action: pan-y;
        }
        .delivery-time-slider-input:active { cursor: grabbing; }
        .delivery-time-slider-input::-webkit-slider-runnable-track { height: 3px; background: transparent; }
        .delivery-time-slider-input::-moz-range-track { height: 3px; background: transparent; }
        .delivery-time-slider-input::-webkit-slider-thumb {
            width: 22px;
            height: 22px;
            margin-top: -9.5px;
            border: 3px solid var(--surface);
            border-radius: 50%;
            appearance: none;
            -webkit-appearance: none;
            background: var(--primary);
            box-shadow: 0 2px 8px rgba(0,0,0,.22);
        }
        .delivery-time-slider-input::-moz-range-thumb {
            width: 16px;
            height: 16px;
            border: 3px solid var(--surface);
            border-radius: 50%;
            background: var(--primary);
            box-shadow: 0 2px 8px rgba(0,0,0,.22);
        }
        .delivery-time-slider-input:focus-visible { outline: none; }
        .delivery-time-slider-input:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 25%, transparent), 0 2px 8px rgba(0,0,0,.22); }
        .delivery-time-slider-input:focus-visible::-moz-range-thumb { box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 25%, transparent), 0 2px 8px rgba(0,0,0,.22); }
        .delivery-time-slider-ends {
            display: flex;
            justify-content: space-between;
            gap: 12px;
            margin-top: 3px;
            color: var(--text-muted);
            font-size: 0.68rem;
            font-variant-numeric: tabular-nums;
        }
        #paymentField { margin-top: var(--checkout-section-gap); }
        .coupon-entry { margin-top: 2px; }
        #couponEntry {
            margin-bottom: 0;
            transition: margin-bottom 280ms cubic-bezier(.22,1,.36,1);
        }
        body.checkout-transfer #couponEntry { margin-bottom: 10px; }
        #paymentField { margin-bottom: 10px; }
        #checkoutTotals { margin-top: 20px; }
        #couponToggleLabel { font-size: .95em; }
        .coupon-card {
            border-radius: var(--radius-md, 12px);
            background: transparent;
            overflow: hidden;
            transition: background 0.25s ease;
        }
        .coupon-entry.is-open .coupon-card {
            background: var(--surface);
        }
        .coupon-toggle {
            display: flex;
            align-items: center;
            gap: 8px;
            width: 100%;
            padding: 0;
            border: none;
            background: none;
            color: var(--text-muted);
            font-family: inherit;
            font-size: 0.84rem;
            font-weight: 500;
            text-align: left;
            cursor: pointer;
            transition: color 0.18s ease, padding 0.25s ease, font-size 0.25s ease, gap 0.25s ease;
        }

        .delivery-quote-retry {
            display:block;
            margin-left:auto;
            min-height:44px;
            border:0;
            padding:6px 0;
            background:none;
            color:var(--primary);
            font:inherit;
            text-decoration:underline;
            cursor:pointer;
        }

        .delivery-quote-retry:focus-visible {
            outline:2px solid var(--primary);
            outline-offset:2px;
        }
        .coupon-toggle:hover { color: var(--text-main); }
        .coupon-entry.is-open .coupon-toggle {
            padding: 13px;
            gap: 9px;
            color: var(--text-main);
            font-size: 0.86rem;
            font-weight: 600;
        }
        .coupon-toggle:focus-visible {
            outline: 2px solid var(--primary);
            outline-offset: 3px;
            border-radius: var(--radius-sm, 8px);
        }
        .coupon-entry.is-open .coupon-toggle:focus-visible {
            outline-offset: -2px;
            border-radius: var(--radius-md, 12px);
        }
        .coupon-toggle-icon {
            display: inline-flex;
            width: 15px;
            height: 15px;
            flex: 0 0 auto;
            color: var(--primary);
            transition: width 0.25s ease, height 0.25s ease;
        }
        .coupon-entry.is-open .coupon-toggle-icon {
            width: 17px;
            height: 17px;
        }
        .coupon-toggle-icon svg { width: 100%; height: 100%; display: block; stroke: currentColor; }
        .coupon-toggle-label {
            flex: 1 1 auto;
            min-width: 0;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }
        .coupon-toggle-meta {
            display: none;
            align-items: center;
            flex: 0 0 auto;
            padding: 3px 9px;
            border-radius: 999px;
            background: color-mix(in srgb, var(--primary) 12%, transparent);
            color: var(--primary);
            font-size: 0.68rem;
            font-weight: 700;
            letter-spacing: 0.03em;
            text-transform: uppercase;
        }
        .coupon-toggle.is-applied .coupon-toggle-meta { display: inline-flex; }
        .coupon-panel {
            display: grid;
            grid-template-rows: 0fr;
            opacity: 0;
            visibility: hidden;
            padding: 0 13px;
            transition: grid-template-rows 0.25s ease, opacity 0.2s ease, padding 0.25s ease, visibility 0s linear 0.25s;
        }
        .coupon-panel.open {
            grid-template-rows: 1fr;
            opacity: 1;
            visibility: visible;
            padding: 0 13px 12px;
            transition: grid-template-rows 0.25s ease, opacity 0.22s ease 0.05s, padding 0.25s ease;
        }
        .coupon-panel-inner { overflow: hidden; min-height: 0; }
        .coupon-panel-row {
            display: flex;
            gap: 8px;
            align-items: stretch;
        }
        .coupon-panel-row .form-control {
            flex: 1 1 auto;
            min-width: 0;
            height: 40px;
            padding: 0 12px;
            background: var(--bg-color);
            border: 1px solid color-mix(in srgb, var(--text-muted) 16%, transparent);
            color: var(--text-main);
        }
        .coupon-panel-row .btn {
            flex: 0 0 auto;
            width: auto;
            height: 40px;
            padding: 0 18px;
            font-size: 0.9rem;
        }
        .coupon-hint {
            margin-top: 8px;
            font-size: 0.78rem;
            line-height: 1.45;
            color: var(--text-muted);
        }
        .coupon-hint[hidden] { display: none; }

        .loyalty-reward {
            display: grid;
            grid-template-columns: 5fr 4fr;
            font-size: clamp(10px, 4.3cqi, 20px);
            border-radius: var(--radius-md, 12px);
            overflow: hidden;
        }

        .loyalty-reward-offer, .loyalty-reward-details {
            display: flex;
            flex-direction: column;
            min-width: 0;
            padding: 0.7em 0.8em;
            box-sizing: border-box;
        }

        .loyalty-reward-offer {
            background: var(--primary);
            color: var(--text-contrast, #fff);
            justify-content: center;
        }

        .loyalty-reward-greeting,
        .loyalty-reward-title,
        .loyalty-reward-value,
        .loyalty-reward-caption {
            color: inherit;
        }

        .loyalty-reward-greeting {
            font-size: 0.9em;
            line-height: 1.3;
            margin-bottom: 0.8em;
            overflow-wrap: anywhere;
        }

        .loyalty-reward-title {
            font-size: 1.55em;
            line-height: 1.05;
            font-weight: 700;
        }

        .loyalty-reward-value {
            margin-top: 0.18em;
            font-size: 3.4em;
            font-weight: 700;
            line-height: 1;
            letter-spacing: -0.045em;
            overflow-wrap: anywhere;
        }

        .loyalty-reward-value-long {
            font-size: 2.3em;
        }

        .loyalty-reward-caption {
            margin-top: 0.25em;
            font-size: 0.78em;
            font-weight: 700;
            line-height: 1.2;
        }

        .loyalty-reward-details {
            justify-content: center;
            gap: 0.6em;
            background: var(--surface);
        }

        .loyalty-reward-status {
            color: var(--primary);
            font-size: 1.05em;
            font-weight: 700;
            line-height: 1.15;
        }

        .loyalty-reward-balance {
            font-size: 0.85em;
            line-height: 1.35;
            overflow-wrap: anywhere;
        }

        .loyalty-reward-balance strong {
            color: inherit;
        }

        .loyalty-reward-action {
            min-height: 44px;
            font-size: 1em;
            padding: 0.65em 0.7em;
            line-height: 1.15;
            white-space: normal;
        }

        .loyalty-reward-action-label {
            color: inherit;
        }

        .loyalty-reward-action:focus-visible {
            outline: 2px solid var(--text-main);
            outline-offset: 3px;
        }

        .loyalty-reward-terms {
            font-size: 0.6em;
            line-height: 1.35;
            text-align: center;
            color: var(--text-muted);
        }

        .spot-pop-in { animation: spotPopIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
        @keyframes spotPopIn {
            from { opacity: 0; transform: scale(0.9) translateY(10px); }
            to { opacity: 1; transform: scale(1) translateY(0); }
        }
        @media (prefers-reduced-motion: reduce) {
            .coupon-card,
            .coupon-toggle,
            .coupon-toggle-icon,
            .coupon-panel { transition: none !important; }
            .spot-pop-in { animation: none !important; }
        }
        .coupon-apply-btn {
            flex: 0 0 auto;
            height: 44px;
            padding: 0 16px;
            border: 1px solid color-mix(in srgb, var(--text-muted) 20%, transparent);
            border-radius: var(--radius-sm, 8px);
            background: transparent;
            color: var(--text-main);
            font-family: inherit;
            font-size: 0.9rem;
            font-weight: 700;
            cursor: pointer;
            transition: border-color 0.18s ease, color 0.18s ease, background 0.18s ease;
        }
        .coupon-apply-btn:hover {
            border-color: color-mix(in srgb, var(--primary) 30%, transparent);
            color: var(--primary);
            background: color-mix(in srgb, var(--primary) 6%, transparent);
        }
        .coupon-apply-btn:disabled {
            cursor: wait;
            opacity: 0.72;
        }
        /* Bottom Nav Bar */
        .bottom-nav { position: fixed; bottom: -2px; width: 100%; max-width: 480px; background: var(--bg-color); display: flex; justify-content: space-around; padding: 10px 0; z-index: 1021; /*box-shadow: 0px -4px 12px -3px #0000001f, 0px -2px 3px -2px #0000;*/ border-radius: var(--radius-xl, 40px) var(--radius-xl, 40px) 0 0; touch-action: none; isolation: isolate; }
        .nav-item { display: flex; flex-direction: column; align-items: center; font-size: 0.85em; font-weight: 600; cursor: pointer; text-decoration: none;}
        .nav-item svg { fill: var(--text-main); }
        .nav-item.active { color: var(--primary); }
        .nav-item.active svg { fill: var(--primary); }
        .nav-icon { font-size: 1.5em; margin-bottom: 2px; width: 30px; height: min-content; display: flex; }
        .store-info-bar {
            justify-content: space-between;
            gap: 12px;
            align-items: center;
            overflow: visible;
        }
        .store-info-bar::after {
            content: '';
            position: absolute;
            left: 0;
            right: 0;
            bottom: -54px;
            height: 54px;
            background: var(--secondary);
            pointer-events: none;
            z-index: -1;
        }
        .store-info-bar__main {
            display: flex;
            align-items: center;
            gap: 13px;
            min-width: 0;
            flex: 1;
        }
        .store-info-bar__icon {
            width: 29px;
            min-width: 29px;
            flex-shrink: 0;
            color: var(--primary);
        }
        .store-info-bar__content {
            display: flex;
            flex-direction: column;
            gap: 2px;
            min-width: 0;
        }
        .store-info-bar__title {
            font-weight: 700;
            font-size: 1.02em;
            color: var(--text-main);
            line-height: 1.2;
        }
        .store-info-bar__subtitle {
            font-size: 0.8em;
            color: var(--text-muted);
            font-weight: 500;
            line-height: 1.3;
        }
        .store-info-bar__socials {
            display: flex;
            align-items: center;
            gap: 8px;
            flex-shrink: 0;
        }
        .store-info-bar__socials a {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 34px;
            height: 34px;
            border-radius: var(--radius-btn, 50%);
            background: var(--bg-color);
            color: var(--text-muted);
            transition: color 0.2s, transform 0.2s;
        }
        .store-info-bar__socials a:hover {
            color: var(--primary);
            transform: translateY(-1px);
        }
        .store-info-bar__socials a svg {
            stroke: var(--text-main) !important;
        }

        /* Sticky Bottom Action (Para añadir a carrito o confirmar) */
        .sticky-action { position: sticky; background: var(--secondary); color: var(--text-main); padding: 7px 20px calc(9px + env(safe-area-inset-bottom)); bottom: 0; border-radius: var(--radius-xl, 40px) var(--radius-xl, 40px) 0 0; display: flex; justify-content: space-between; align-items: center; z-index: 90; box-shadow: none; isolation: isolate;}

        /* Animación para ocultar la barra principal (JS controla durante scroll; esto aplica al reset de navigate) */
        #mainNav { transition: transform 0.25s ease; }

        /* Scrim de separación para las barras flotantes (checkoutBar, storeInfoBar, closedBar,
           confirmOrderBar). Va en un ::before propio para NO pisar la transición de transform/opacity
           con la que estas barras aparecen/se ocultan. Aparece solo cuando la vista activa tiene
           scroll y no está en el fondo; transición asimétrica (rápida al aparecer, suave al irse).
           Atado a "Sombras" vía la var (none => no se ve). #mainNav se excluye (casi siempre tapado). */
        .bottom-nav:not(#mainNav)::before {
            content: '';
            position: absolute;
            left: 0;
            right: 0;
            top: 0;
            height: 100%;
            border-radius: inherit;
            background: var(--secondary);
            box-shadow: var(--nav-bar-shadow, 0 -10px 18px -8px color-mix(in srgb, var(--bg-color) 88%, transparent));
            opacity: 0;
            transition: opacity 0.25s ease;
            pointer-events: none;
            z-index: -1;
        }
        body.nav-scrim .bottom-nav:not(#mainNav)::before { opacity: 1; transition: opacity 0.1s ease; }

        /* Autocompletado y Mapa minimalista */
        .autocomplete-results {
            position: absolute;
            width: 100%;
            max-height: 240px;
            overflow-y: auto;
            z-index: 8;
            border-top: none;
            border-radius: 0 0 var(--radius-sm, 8px) var(--radius-sm, 8px);
            background: var(--secondary);
            box-shadow: var(--floating-shadow);
            opacity: 0;
            visibility: hidden;
            pointer-events: none;
            transform: translateY(-5px);
            transform-origin: top center;
            clip-path: inset(0 0 100% 0 round 0 0 var(--radius-sm, 8px) var(--radius-sm, 8px));
            transition:
                clip-path 150ms cubic-bezier(0.4, 0, 1, 1),
                transform 150ms cubic-bezier(0.4, 0, 1, 1),
                opacity 120ms ease,
                visibility 0s linear 150ms;
        }
        .autocomplete-results.is-visible {
            opacity: 1;
            visibility: visible;
            pointer-events: auto;
            transform: translateY(0);
            clip-path: inset(0 0 0 0 round 0 0 var(--radius-sm, 8px) var(--radius-sm, 8px));
            transition:
                clip-path 220ms cubic-bezier(0.16, 1, 0.3, 1),
                transform 220ms cubic-bezier(0.16, 1, 0.3, 1),
                opacity 170ms ease,
                visibility 0s linear 0s;
        }
        .autocomplete-item { width: 100%; padding: 12px 15px; cursor: pointer; font-size: 0.9em; text-align: left; border: 0; background: transparent; color: var(--text-main); display: block; }
        .autocomplete-item:hover { background: var(--bg-color); color: var(--text-main); }
        .autocomplete-item__main { display: block; font-weight: 600; line-height: 1.25; }
        .autocomplete-item__meta { display: block; margin-top: 3px; color: var(--text-muted); font-size: 0.82em; line-height: 1.25; }
        .autocomplete-item--empty { cursor: default; color: var(--text-muted); }
        .autocomplete-item--empty:hover { background: transparent; color: var(--text-muted); }
        .autocomplete-recovery { padding:5px 0; }
        .autocomplete-recovery__label { padding:8px 15px 5px; color:var(--text-muted); font-size:.78em; line-height:1.35; }
        .autocomplete-recovery .autocomplete-item { display:flex; align-items:center; gap:10px; }
        .autocomplete-recovery .autocomplete-item svg { width:18px; height:18px; flex:0 0 auto; color:var(--text-main); }
        .autocomplete-recovery .autocomplete-item__main { color:var(--text-main); font-weight:400; }
        @media (prefers-reduced-motion: reduce) {
            .autocomplete-results,
            .autocomplete-results.is-visible { transform:none; transition:opacity 100ms linear, visibility 0s linear 100ms; }
            .autocomplete-results.is-visible { transition-delay:0s; }
        }
        .spot-google-attribution { display: flex; justify-content: flex-end; padding: 8px 10px; background: #fff; }
        .spot-google-attribution__text { color:#5e5e5e; font-family:Roboto, Inter, sans-serif; font-size:14px; font-style:normal; font-weight:400; letter-spacing:normal; line-height:1; white-space:nowrap; }
        .autocomplete-map-action { color:var(--primary); font-weight:700; }
        #map { height: 160px; width: 100%; border-radius: var(--radius-sm, 8px); margin-top: 10px; display: none; z-index: 1; position: relative; overflow: hidden; }
        #map.leaflet-container { touch-action: pan-y; }
        #map.map-manual-location { height:240px; cursor:grab; touch-action:none; }
        .leaflet-dragging #map.map-manual-location,
        .leaflet-dragging #map.map-manual-location .leaflet-interactive { cursor:grabbing; }
        @media (pointer: coarse) {
            #map.map-manual-location,
            .leaflet-dragging #map.map-manual-location,
            .leaflet-dragging #map.map-manual-location .leaflet-interactive { cursor:default; }
        }
        #map .leaflet-marker-icon,
        #map .leaflet-marker-shadow { touch-action: none; }
        #map.map-loading { display: block !important; background: color-mix(in srgb, var(--surface) 88%, var(--bg-color)); border: 1px solid color-mix(in srgb, var(--text-muted) 18%, transparent); }
        #map.map-loading .leaflet-pane,
        #map.map-loading .leaflet-control-container { opacity: 0; }
        #map.map-loading::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--primary) 11%, transparent), transparent); animation: address-map-loading 1.15s ease-in-out infinite; z-index: 400; }
        #map.map-loading::after { content: 'Ubicando dirección...'; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: var(--text-muted); font-size: 0.9em; font-weight: 600; z-index: 401; }
        @keyframes address-map-loading { from { transform: translateX(-100%); } to { transform: translateX(100%); } }
        .address-map-hint { display:none; margin-top:7px; color:var(--text-muted); font-size:.78em; line-height:1.35; }
        .address-map-hint.is-visible { display:block; }
        .address-map-hint.is-error { color:#c24f4f; }
        .address-map-hint.is-success { color:color-mix(in srgb, var(--primary) 76%, var(--text-main)); }
        .delivery-map-disclaimer {
            display: none;
            margin: 8px 0 0;
            color: var(--text-muted);
            font-size: 0.72rem;
            line-height: 1.4;
        }
        .delivery-map-disclaimer.is-visible { display: block; }
        /* =========================================
           NUEVO DISEÑO ESTADO DE PEDIDO (ADAPTADO)
           ========================================= */
        #view-status { padding: 0; position:relative; background: var(--bg-color); }
        #view-status.is-order-status-state > :not(.order-status-state) { display:none !important; }
        #view-status.is-transfer-payment-transition { overflow-y:hidden; }
        #view-status.is-transfer-payment-transition > :not(.order-status-state) { animation:transfer-status-reveal .34s ease both; }
        #view-status.is-transfer-payment-transition .order-status-state { position:absolute; inset:0; z-index:4; min-height:100%; pointer-events:none; }
        .order-status-state { min-height:100%; padding:92px 24px 132px; box-sizing:border-box; display:flex; flex-direction:column; align-items:center; justify-content:center; color:var(--text-main); background:var(--bg-color); text-align:center; opacity:1; transform:translateY(0); transition:opacity .3s ease, transform .3s ease; }
        .order-status-state.is-leaving { opacity:0; transform:translateY(-8px); }
        .order-status-state[hidden] { display:none; }
        .order-status-state .status-animation { margin:0 auto 20px; color:var(--text-main); }
        .order-status-state h1 { margin:0; color:var(--text-main); font-size:clamp(1.7rem, 7vw, 2rem); line-height:1.15; letter-spacing:-.02em; }
        .order-status-state p { max-width:330px; margin:10px 0 0; color:var(--text-muted); font-size:.92rem; line-height:1.55; }
        .order-status-state__actions { display:grid; width:100%; max-width:320px; gap:10px; margin-top:28px; }
        .order-status-state__actions .btn { min-height:46px; font-size:.92rem; }
        .order-status-state__cancel { background: var(--surface); color: var(--text-muted); box-shadow:none; }
        .order-status-state__cancel:focus-visible { outline:3px solid color-mix(in srgb, var(--primary) 28%, transparent); outline-offset:2px; }
        .order-status-state__cancel:disabled { cursor:wait; opacity:.58; }
        #btnOrderStatusRetry[hidden],
        #btnOrderStatusCancel[hidden],
        #btnOrderStatusNewOrder[hidden] { display:none !important; }
        @keyframes transfer-status-reveal {
            from { opacity:0; transform:translateY(10px); }
            to { opacity:1; transform:translateY(0); }
        }

        /* Encabezado con el color principal y texto contrastante */
        .status-hero { background: var(--primary); color: var(--text-contrast); padding: 85px 20px 80px 20px; position: relative; z-index: 1; text-align: center; }
        .status-hero h1 { font-size: 1.8em; margin: 0 0 5px 0; }
        .status-greeting { font-size: 1.05em; margin: 0 0 5px 0; opacity: 0.9; }
        .status-subtitle { font-size: 0.95em; margin: 0; opacity: 0.8; font-weight: 500;}

        /* Animación SVG de estado */
        .status-animation { width: 96px; height: 96px; margin: 0 auto 18px; display: flex; align-items: center; justify-content: center; color: var(--text-contrast); }
        .status-animation:empty { display: none; }
        .status-svg { width: 100%; height: 100%; overflow: visible; }
        .status-svg, .status-svg g, .status-svg line, .status-svg path, .status-svg circle, .status-svg ellipse, .status-svg rect { color: inherit !important; }

        /* Comanda recibida: líneas que se imprimen secuencialmente */
        .status-svg .receipt-line { stroke-dasharray: 60; stroke-dashoffset: 60; animation: receipt-draw 4.2s ease-in-out infinite; }
        .status-svg .receipt-line.l1 { animation-delay: 0s; }
        .status-svg .receipt-line.l2 { animation-delay: 0.35s; }
        .status-svg .receipt-line.l3 { animation-delay: 0.7s; }
        .status-svg .receipt-line.l4 { animation-delay: 1.05s; }
        @keyframes receipt-draw {
            0% { stroke-dashoffset: 60; }
            22%, 70% { stroke-dashoffset: 0; }
            90%, 100% { stroke-dashoffset: 60; }
        }

        /* En preparación: sartén con flip de patty (sincronizados) */
        .status-svg .pan { transform-origin: 80% 90%; transform-box: fill-box; animation: pan-flip 2s cubic-bezier(0.45, 0.05, 0.35, 1) infinite; }
        @keyframes pan-flip {
            0%, 12% { transform: rotate(0deg) translateY(0); }
            24% { transform: rotate(-6deg) translateY(1px); }      /* anticipación: tilt back leve */
            34% { transform: rotate(-18deg) translateY(-2px); }    /* impulso: tilt máximo, lanza */
            44% { transform: rotate(-2deg) translateY(0); }        /* recoil rápido */
            58% { transform: rotate(0deg) translateY(0); }
            72% { transform: rotate(0deg) translateY(2px); }       /* prepara recibir */
            82% { transform: rotate(0deg) translateY(0); }
            100% { transform: rotate(0deg) translateY(0); }
        }
        .status-svg .patty { transform-origin: 50% 50%; transform-box: fill-box; animation: patty-flip 2s cubic-bezier(0.45, 0.05, 0.35, 1) infinite; }
        @keyframes patty-flip {
            0%, 12% { transform: translateY(0) rotate(0deg) rotateX(0deg); }
            24% { transform: translateY(0px) rotate(-6deg) rotateX(0deg); }      /* sigue tilt sartén */
            34% { transform: translateY(-6px) rotate(-12deg) rotateX(20deg); }   /* aún en sartén, lanza */
            44% { transform: translateY(-22px) rotate(-4deg) rotateX(120deg); }  /* despegó, gira */
            54% { transform: translateY(-30px) rotate(0deg) rotateX(220deg); }   /* punto más alto */
            64% { transform: translateY(-22px) rotate(0deg) rotateX(300deg); }   /* cayendo */
            74% { transform: translateY(-6px) rotate(0deg) rotateX(360deg); }    /* casi aterriza, completó flip */
            82% { transform: translateY(2px) rotate(0deg) rotateX(360deg); }     /* aterrizó, baja con sartén */
            100% { transform: translateY(0) rotate(0deg) rotateX(360deg); }
        }
        .status-svg .heat { transform-origin: 50% 100%; transform-box: fill-box; opacity: 0; animation: heat-rise 2.6s ease-in-out infinite; }
        .status-svg .heat.h2 { animation-delay: 0.45s; }
        .status-svg .heat.h3 { animation-delay: 0.9s; }
        @keyframes heat-rise {
            0% { transform: translateY(8px); opacity: 0; }
            25% { transform: translateY(2px); opacity: 0.85; }
            65% { transform: translateY(-6px); opacity: 0.55; }
            100% { transform: translateY(-14px); opacity: 0; }
        }

        /* En camino: moto con repartidor */
        .status-svg .rider-bike { transform-origin: center; transform-box: fill-box; animation: rider-bounce 0.7s ease-in-out infinite; }
        @keyframes rider-bounce {
            0%, 100% { transform: translateY(0); }
            50% { transform: translateY(-1.6px); }
        }
        .status-svg .delivery-box { transform-origin: 50% 100%; transform-box: fill-box; animation: box-wobble 1.4s ease-in-out infinite; }
        @keyframes box-wobble {
            0%, 100% { transform: rotate(0); }
            25% { transform: rotate(-2deg); }
            75% { transform: rotate(2deg); }
        }
        .status-svg .speed-line { stroke-dasharray: 24; stroke-dashoffset: 24; opacity: 0; animation: speed-draw 1.1s ease-in-out infinite; }
        .status-svg .speed-line.sp2 { animation-delay: 0.16s; }
        .status-svg .speed-line.sp3 { animation-delay: 0.32s; }
        @keyframes speed-draw {
            0% { stroke-dashoffset: 24; opacity: 0; }
            35% { stroke-dashoffset: 0; opacity: 0.85; }
            65% { stroke-dashoffset: 0; opacity: 0.7; }
            100% { stroke-dashoffset: -24; opacity: 0; }
        }
        .status-svg .wheel { transform-origin: center; transform-box: fill-box; animation: wheel-spin 0.7s linear infinite; }
        @keyframes wheel-spin { to { transform: rotate(360deg); } }

        /* Bolsa lista para retirar */
        .status-svg .ready-bag { transform-origin: 50% 60%; transform-box: fill-box; animation: ready-pulse 2.6s ease-in-out infinite; }
        @keyframes ready-pulse {
            0%, 100% { transform: scale(1); }
            50% { transform: scale(1.04); }
        }
        .status-svg .ready-check { stroke-dasharray: 36; stroke-dashoffset: 36; animation: check-loop 2.6s ease-in-out infinite; }
        @keyframes check-loop {
            0%, 18% { stroke-dashoffset: 36; }
            48%, 80% { stroke-dashoffset: 0; }
            96%, 100% { stroke-dashoffset: 36; }
        }

        /* Pedido completado */
        .status-svg .done-circle { transform-origin: center; transform-box: fill-box; animation: status-pop 0.55s cubic-bezier(0.175, 0.885, 0.32, 1.275) both; }
        .status-svg .done-check { stroke-dasharray: 38; stroke-dashoffset: 38; animation: check-once 0.6s 0.25s ease-out forwards; }
        @keyframes status-pop {
            0% { transform: scale(0.4); opacity: 0; }
            100% { transform: scale(1); opacity: 1; }
        }
        @keyframes check-once { to { stroke-dashoffset: 0; } }

        /* Pedido cancelado */
        .status-svg .cancel-circle { transform-origin: center; transform-box: fill-box; animation: status-pop 0.55s cubic-bezier(0.175, 0.885, 0.32, 1.275) both; opacity: 0.85; }
        .status-svg .cancel-x { stroke-dasharray: 38; stroke-dashoffset: 38; animation: check-once 0.4s ease-out forwards; }
        .status-svg .cancel-x.x1 { animation-delay: 0.3s; }
        .status-svg .cancel-x.x2 { animation-delay: 0.45s; }

        /* Comprobante en revisión */
        .status-svg .review-clock { transform-origin:center; transform-box:fill-box; animation:status-pop .55s cubic-bezier(.175,.885,.32,1.275) both; opacity:.85; }
        .status-svg .review-clock-hand { transform-origin:50px 50px; transform-box:view-box; }
        .status-svg .review-clock-hand--hour { animation:review-clock-turn 8s linear infinite; }
        .status-svg .review-clock-hand--minute { animation:review-clock-turn 2s linear infinite; }
        @keyframes review-clock-turn { to { transform:rotate(360deg); } }

        @media (prefers-reduced-motion: reduce) {
            .status-svg *, .status-svg { animation: none !important; transform: none !important; stroke-dashoffset: 0 !important; opacity: 1 !important; }
            #view-status.is-transfer-payment-transition > :not(.order-status-state) { animation:none !important; }
            .order-status-state { transition:none !important; }
        }

        /* Tarjeta principal con la superficie y borde dinámico */
        .status-pickup-card { background: var(--surface); margin: -50px 20px 18px 20px; padding: 16px; border-radius: var(--radius-md, 20px); box-shadow: var(--surface-shadow); position: relative; z-index: 2; display: flex; align-items: center; gap: 14px; }
        .status-pickup-card__icon { width: 44px; height: 44px; border-radius: var(--radius-btn, 50%); background: color-mix(in srgb, var(--primary) 10%, transparent); color: var(--primary); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
        .status-pickup-card__icon svg { width: 25px; height: 25px; stroke: currentColor; color: var(--primary); }
        .status-pickup-card__icon svg * { color: inherit; }
        .status-pickup-card__body { min-width: 0; flex: 1; }
        .status-pickup-card__eyebrow { color: var(--text-muted);   margin-bottom: 3px;   font-weight: 500;   font-size: 0.8em; }
        .status-pickup-card__name { color: var(--text-main); font-size: 1.05em; font-weight: 750; line-height: 1.2; }
        .status-pickup-card__address { color: var(--text-muted); font-size: 0.9em; line-height: 1.35; margin-top: 2px; }
        .status-pickup-card__cta { color: var(--text-contrast); background: var(--primary); border-radius: var(--radius-md, 14px); padding: 10px 12px; display: inline-flex; align-items: center; gap: 7px; text-decoration: none; font-weight: 800; white-space: nowrap; }
        .status-pickup-card__cta svg { width: 18px; height: 18px; stroke: currentColor; color: inherit; }
        .status-pickup-card__cta svg * { color: inherit; }
        .status-pickup-card + .status-card { margin-top: 0; }
        .status-card { background: var(--surface); margin: -50px 20px 20px 20px; padding: 15px; border-radius: var(--radius-md, 20px); box-shadow: var(--surface-shadow); position: relative; z-index: 2; }
        .status-card + .status-card { margin-top: 0; }
        #view-cart .checkout-order-card { margin: 0; }
        #view-cart .checkout-order-card[hidden] { display: none; }
        .checkout-order-empty { margin: 0; padding: 30px; color: var(--text-muted); text-align: center; }
        .checkout-order-empty[hidden] { display: none; }
        .transfer-checkout-notice {
            display:block;
            max-height:0;
            overflow:hidden;
            margin-bottom:0;
            color:var(--text-muted);
            font-size:.84rem;
            line-height:1.5;
            opacity:0;
            visibility:hidden;
            transition:
                max-height 280ms cubic-bezier(.22,1,.36,1),
                margin-bottom 280ms cubic-bezier(.22,1,.36,1),
                opacity 140ms ease,
                visibility 0s linear 280ms;
        }
        .transfer-checkout-notice.is-visible {
            margin-bottom:12px;
            opacity:1;
            visibility:visible;
            transition:
                max-height 280ms cubic-bezier(.22,1,.36,1),
                margin-bottom 280ms cubic-bezier(.22,1,.36,1),
                opacity 170ms ease 35ms,
                visibility 0s;
        }
        .transfer-checkout-notice__inner {
            width:100%;
            min-width:0;
            box-sizing:border-box;
            color:var(--text-muted);
            text-align:left;
            font-size: .75rem;
            line-height: 1.5;
        }
        .transfer-checkout-notice strong { display:block; color:var(--text-main); margin-bottom:3px; }
        #transferOrderNotice .transfer-checkout-notice__inner > strong:first-child { display:none; }
        #view-payment { padding:0; background:var(--bg-color); }
        .transfer-payment-hero { padding-bottom:82px; }
        .transfer-payment-hero h1 { color:inherit; }
        .transfer-payment-hero__icon svg { width:76px; height:76px; stroke:currentColor; }
        .transfer-payment-card { display:none; margin:-50px 20px 150px; padding:25px 20px; border-radius:var(--radius-md,20px); background:var(--surface); box-shadow:var(--surface-shadow); position:relative; z-index:2; }
        .transfer-payment-data { display:grid; gap:8px; margin:15px 0; }
        .transfer-payment-data__row { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:11px 13px; border-radius:var(--radius-md,12px); background:var(--bg-color); }
        .transfer-payment-data__row small { color:var(--text-muted); font-size:.8em; font-weight:500; }
        .transfer-payment-data__row span { min-width:0; overflow-wrap:anywhere; color:var(--text-main); font-weight:650; }
        .transfer-payment-amount { margin:0 0 13px; padding:17px; border-radius:var(--radius-md,16px); color:var(--text-contrast); background:var(--primary); }
        .transfer-payment-amount small { display: block;   margin-bottom: 9px;   color: inherit;   opacity: .78;   font-size: .8em;   font-weight: 500; }
        .transfer-payment-amount strong { display:block; color:inherit; font-size:clamp(1.85rem,9vw,2.55rem); line-height:1; letter-spacing:-.035em; }
        .transfer-payment-amount__toggle { display:flex; align-items:center; gap:12px; width:100%; padding:0; border:0; background:none; color:inherit; font:inherit; text-align:left; cursor:pointer; -webkit-tap-highlight-color:transparent; }
        .transfer-payment-amount__toggle:disabled { cursor:default; }
        .transfer-payment-amount__toggle:focus-visible { outline:2px solid currentColor; outline-offset:5px; border-radius:var(--radius-sm,9px); }
        .transfer-payment-amount__main { flex:1 1 auto; min-width:0; color: var(--text-contrast, #fff); }
        .transfer-payment-amount__chevron { display:inline-flex; flex:0 0 auto; width:22px; height:22px; opacity:.72; transition:transform .34s cubic-bezier(.4,0,.2,1), opacity .2s ease; }
        .transfer-payment-amount__chevron svg { width:100%; height:100%; display:block; color: var(--text-contrast, #fff); }
        .transfer-payment-amount.is-open .transfer-payment-amount__chevron { transform:rotate(180deg); opacity:1; }
        .transfer-payment-amount:not(.has-breakdown) .transfer-payment-amount__chevron { display:none; }
        .transfer-payment-breakdown { display:grid; grid-template-rows:0fr; opacity:0; visibility:hidden; transition:grid-template-rows .34s cubic-bezier(.4,0,.2,1), opacity .18s ease, visibility 0s linear .34s; }
        .transfer-payment-amount.is-open .transfer-payment-breakdown { grid-template-rows:1fr; opacity:1; visibility:visible; transition:grid-template-rows .34s cubic-bezier(.4,0,.2,1), opacity .26s ease .06s; }
        .transfer-payment-breakdown__inner { overflow:hidden; min-height:0; }
        .transfer-payment-breakdown__rows { display:grid; gap:9px; margin-top:15px; padding-top:14px; border-top:1px solid color-mix(in srgb, currentColor 22%, transparent); color: var(--text-contrast, #fff); }
        .transfer-payment-breakdown__row { display:flex; align-items:baseline; justify-content:space-between; gap:14px; font-size:.83rem; font-weight:650; opacity:.8; color: inherit; }
        .transfer-payment-breakdown__row span { color:inherit; }
        .transfer-payment-breakdown__row-value { flex:0 0 auto; font-weight:750; font-variant-numeric:tabular-nums; }

        .transfer-payment-breakdown-discount {
            opacity: 1;
        }

        .transfer-payment-breakdown-discount > :last-child {
            color: var(--primary);
            background: var(--surface);
            padding: 2px 6px;
            border-radius: var(--radius-sm, 8px);
        }

        .transfer-payment-breakdown__row--total { margin-top:2px; padding-top:10px; border-top:1px dashed color-mix(in srgb, currentColor 28%, transparent); font-size:.92rem; font-weight:800; opacity:1; }
        @media (prefers-reduced-motion: reduce) {
            .transfer-payment-amount__chevron, .transfer-payment-breakdown, .transfer-payment-amount.is-open .transfer-payment-breakdown { transition-duration:.01ms; }
        }
        .transfer-copy-btn { flex:none; border:0; background:transparent; color:var(--primary); cursor:pointer; padding:7px; border-radius:9px; display:inline-flex; align-items:center; justify-content:center; transition:background .15s ease; }
        .transfer-copy-btn:hover { background:color-mix(in srgb, var(--primary) 12%, transparent); }
        .transfer-proof-input { display:none; }
        .transfer-proof-actions { display:flex; flex-direction:column; gap:10px; margin-top:2px; }
        .transfer-proof-actions .btn { width:100%; min-width:0; flex:none; }
        .transfer-proof-dropzone { min-height:142px; padding:19px 16px; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:6px; border:1px dashed var(--text-muted); background:var(--bg-color); border-radius:var(--radius-md,16px); color:var(--text-main); text-align:center; cursor:pointer; transition:border-color .18s ease, background-color .18s ease, box-shadow .18s ease, transform .18s ease; }
        .transfer-proof-dropzone:hover, .transfer-proof-dropzone:focus-visible, .transfer-proof-dropzone.is-dragover { border-color:var(--primary); background:color-mix(in srgb, var(--primary) 15%, var(--surface)); outline:none; }
        .transfer-proof-dropzone.is-dragover { transform:translateY(-2px); }
        .transfer-proof-dropzone__icon { min-width:52px; height:42px; margin-bottom:2px; padding:8px 15px; display:flex; place-items:center; box-sizing:border-box; border-radius:var(--radius-btn,23px); color:var(--text-contrast, #fff); background:var(--primary); transition:color .18s ease, background-color .18s ease, transform .18s ease; }
        .transfer-proof-dropzone__icon svg { width:21px; height:21px; }
        .transfer-proof-dropzone__icon svg * { color: var(--text-contrast); }
        .transfer-proof-dropzone__icon--ready { display:none; }
        .transfer-proof-dropzone__title { color:var(--text-main); font-size:.91rem; font-weight:650; line-height:1.2; transition:color .18s ease; }
        .transfer-proof-dropzone__hint { display:block; max-width:100%; color:var(--text-muted); font-size:.67rem; font-weight:550; line-height:1.35; overflow-wrap:anywhere; }
        /* .transfer-proof-dropzone.has-file { border-style:solid; border-color:color-mix(in srgb, var(--primary) 74%, var(--text-muted)); background:color-mix(in srgb, var(--primary) 8%, var(--bg-color)); box-shadow:inset 0 0 0 1px color-mix(in srgb, var(--primary) 8%, transparent); } */
        .transfer-proof-dropzone.has-file .transfer-proof-dropzone__icon { color:var(--text-contrast, #fff); background:var(--primary); transform:scale(1.04); }
        .transfer-proof-dropzone.has-file .transfer-proof-dropzone__icon--idle { display:none; }
        .transfer-proof-dropzone.has-file .transfer-proof-dropzone__icon--ready { display:block; color: var(--text-contrast); }
        .transfer-proof-dropzone.has-file .transfer-proof-dropzone__title { color:var(--text-main); }
        .transfer-proof-dropzone.has-file .transfer-proof-dropzone__hint { color:var(--text-muted); font-weight:650; }
        .transfer-proof-dropzone.is-invalid { border-style:solid; border-color:color-mix(in srgb, #c2413b 68%, var(--text-muted)); background:color-mix(in srgb, #c2413b 6%, var(--bg-color)); }
        .transfer-proof-dropzone.is-invalid .transfer-proof-dropzone__icon { color:var(--text-contrast, #fff); background:#c2413b; }
        .transfer-proof-dropzone.is-invalid .transfer-proof-dropzone__title, .transfer-proof-dropzone.is-invalid .transfer-proof-dropzone__hint { color:#c2413b; }
        .transfer-payment-state { margin-top:12px; margin-bottom: 22px; color: var(--text-muted); font-size: .84rem; line-height: 1.5; }
        .transfer-payment-edit {
            min-height: 42px;
            margin-top: 2px;
            border: 1px solid color-mix(in srgb, var(--text-muted) 30%, transparent);
            background: transparent;
            color: var(--text-main);
            font-size: .88rem;
            font-weight: 650;
        }
        .transfer-payment-edit:hover { background: color-mix(in srgb, var(--text-muted) 8%, transparent); }
        .transfer-payment-edit:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
        .transfer-payment-edit[hidden] { display: none; }
        @media (max-width: 420px) {
            .status-pickup-card { align-items: flex-start; flex-wrap: wrap; }
            .status-pickup-card__cta { width: 100%; justify-content: center; }
        }

        .status-accordion-toggle { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; margin: 0; padding: 0; border: 0; background: transparent; color: var(--text-main); font: inherit; text-align: left; cursor: pointer; -webkit-tap-highlight-color: transparent; }
        .status-accordion-toggle:focus-visible { outline: 2px solid var(--primary); outline-offset: 6px; border-radius: var(--radius-sm, 8px); }
        .status-accordion-summary { display: flex; flex: 1 1 auto; flex-direction: column; align-items: flex-start; min-width: 0; }
        .status-accordion-heading { font-size: 1.1em; }
        #statusOrderId { display: none; }
        .status-order-count { margin-top: 8px; color: var(--text-muted); font-size: 0.85em; line-height: 1.3; }
        .status-accordion-chevron { display: inline-flex; flex: 0 0 auto; width: 24px; height: 24px; color: var(--text-muted); }
        .status-accordion-chevron svg { display: block; width: 100%; height: 100%; }
        .status-accordion-chevron .status-accordion-chevron--up { display: none; }
        .status-accordion-toggle[aria-expanded="true"] .status-accordion-chevron { color: var(--text-main); }
        .status-accordion-toggle[aria-expanded="true"] .status-accordion-chevron--down { display: none; }
        .status-accordion-toggle[aria-expanded="true"] .status-accordion-chevron--up { display: block; }
        .status-card .status-accordion-panel { display: grid; grid-template-rows: 0fr; opacity: 0; visibility: hidden; transition: grid-template-rows 280ms cubic-bezier(.22, 1, .36, 1), opacity 140ms ease, visibility 0s linear 280ms; }
        .status-accordion-toggle[aria-expanded="true"] + .status-accordion-panel { grid-template-rows: 1fr; opacity: 1; visibility: visible; transition: grid-template-rows 300ms cubic-bezier(.22, 1, .36, 1), opacity 180ms ease 35ms, visibility 0s; }
        .status-card .status-accordion-panel__inner { min-height: 0; padding-top: 0; overflow: hidden; transform: translateY(-5px); transition: padding-top 280ms cubic-bezier(.22, 1, .36, 1), transform 220ms cubic-bezier(.22, 1, .36, 1); }
        .status-accordion-toggle[aria-expanded="true"] + .status-accordion-panel .status-accordion-panel__inner { padding-top: 12px; transform: translateY(0); }
        .status-payment-accordion { margin-bottom: 0; }
        .status-card #statusTotalsBreakdown { padding: 0 !important; border: 0 !important; border-radius: 0 !important; background: transparent !important; }
        .status-card #statusTotalsBreakdown > div { align-items: flex-start !important; gap: 16px !important; margin: 0 !important; padding: 8px 0 !important; border: 0 !important; color: var(--text-main) !important; font-size: 1.05em !important; line-height: normal; }
        .status-card #statusTotalsBreakdown > div:first-child { padding-top: 12px !important; }
        .status-card #statusTotalsBreakdown > div:last-child { padding-bottom: 6px !important; }
        .status-card #statusTotalsBreakdown > div > span,
        .status-card #statusTotalsBreakdown > div > strong { font-size: inherit !important; font-weight: 400 !important; }
        .status-card #statusTotalsBreakdown > div > span { color: var(--text-main) !important; min-width: 0; overflow-wrap: anywhere; }
        .status-card #statusTotalsBreakdown > div > strong { flex: 0 0 auto; }
        .status-card .status-item-row { display: flex; align-items: flex-start; padding: 8px 0; }
        .status-card .status-item-row:first-child { padding-top: 12px; }
        .status-card .status-item-row:last-child { padding-bottom: 6px; }
        .status-card .status-item-img { display: none !important; }
        #view-cart .checkout-order-card img.status-item-img { display: block !important; flex: 0 0 auto; object-fit: cover; border-radius: var(--radius-sm, 8px); }
        #view-cart .checkout-order-card div.status-item-img { display: flex !important; flex: 0 0 auto; }
        #view-cart .checkout-original-lines > :last-child { margin-bottom: 0 !important; }
        #cartItemsList .checkout-cart-line {
            min-height: 0;
            padding: 20px 0 0;
            transform-origin: top center;
        }
        #cartItemsList .checkout-original-lines > .checkout-cart-line:first-child {
            padding: 10px 0 0;
        }
        #cartItemsList .checkout-cart-line.is-removing {
            height: 0 !important;
            padding-top: 0 !important;
            opacity: 0;
            overflow: hidden;
            pointer-events: none;
            transform: translateY(-10px);
            transition:
                height 240ms cubic-bezier(.4, 0, .2, 1),
                padding-top 240ms cubic-bezier(.4, 0, .2, 1),
                opacity 150ms ease,
                transform 200ms cubic-bezier(.4, 0, .2, 1);
        }
        .status-card .status-item-info { display: flex; flex-direction: row; justify-content: space-between; gap: 16px; width: 100%; min-width: 0; }
        .status-card .status-item-title { display: flex; align-items: flex-start; gap: 11px; min-width: 0; color: var(--text-main); font-size: 1.05em; }
        .status-card .status-item-quantity { flex: 0 0 auto; color: var(--text-muted); }
        .status-card .status-item-description { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; }
        .status-card .status-item-name { font-weight: 400; overflow-wrap: anywhere; }
        .status-card .status-item-options { margin: 6px 0 0; color: var(--text-muted); font-size: 0.85em; font-weight: 400; line-height: 1.3; overflow-wrap: anywhere; }
        .status-card .status-item-trailing { display: flex; flex: 0 0 auto; align-items: center; gap: 8px; }
        .status-card .status-item-price { flex: 0 0 auto; color: var(--text-main); }
        @media (prefers-reduced-motion: reduce) {
            .status-card .status-accordion-panel,
            .status-accordion-toggle[aria-expanded="true"] + .status-accordion-panel,
            .status-card .status-accordion-panel__inner,
            #cartItemsList .checkout-cart-line.is-removing { transition: none; transform: none; }
        }

        /* Carrito: título nunca wrappea, se desvanece al final del contenedor */
        .cart-line-info { flex: 1; min-width: 0; width: 0; }
        .cart-line-title {
            display: block;
            max-width: 100%;
            white-space: nowrap;
            overflow: hidden;
            -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 24px), transparent);
                    mask-image: linear-gradient(to right, #000 calc(100% - 24px), transparent);
        }
        .cart-item-note-button {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            height: 36px;
            margin-top: 0;
            padding: 4px;
            border: none;
            border-radius: var(--radius-sm, 8px);
            background: var(--bg-color);
            color: var(--text-main);
            font: inherit;
            font-size: .74em;
            font-weight: 750;
            cursor: pointer;
            box-sizing: border-box;
        }
        .cart-item-note-button svg { width: 15px; height: 15px; flex: 0 0 auto; stroke: currentColor; }
        .cart-item-note-button:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
        .cart-line-actions {
            display: flex;
            align-items: stretch;
            gap: 6px;
            margin-top: 7px;
            flex-wrap: wrap;
        }

        /* Línea de Tiempo Dinámica */
        .timeline-container { display: flex; justify-content: center; align-items: flex-start; position: relative; }

        /* La línea de fondo usa el texto secundario con transparencia */
        .timeline-track { position: absolute; top: 12px; left:calc(50% / var(--timeline-steps,3)); right:calc(50% / var(--timeline-steps,3)); height: 4px; background: color-mix(in srgb, var(--text-muted) 25%, transparent); z-index: 1; border-radius: 2px; }
        .timeline-fill { height: 100%; background: var(--primary); border-radius: 2px; transition: width 0.6s ease; }
        .timeline-step { display: flex; flex-direction: column; align-items: center; position: relative; z-index: 3; width:calc(100% / var(--timeline-steps,3)); min-width:0; }

        /* Puntos de la línea de tiempo recortados contra la tarjeta */
        .timeline-dot { width: 28px; height: 28px; border-radius: var(--radius-btn, 50%); background: var(--bg-color); display: flex; justify-content: center; align-items: center; box-shadow: 0 0 0 4px var(--surface); transition: all 0.5s; }
        .timeline-step.completed .timeline-dot, .timeline-step.active .timeline-dot { background: var(--primary); }
        .timeline-label { font-size: 0.85em; font-weight: 700; margin-top: 8px; color: var(--text-muted); text-align: center; transition: color 0.3s; }
        .timeline-step.completed .timeline-label, .timeline-step.active .timeline-label { color: var(--text-main); }
        .timeline-subtext { font-size: 0.7em; color: var(--text-muted); text-align: center; margin-top: 2px; line-height: 1.2; width: 90%; }
        .timeline-container--transfer { --timeline-steps:5; margin-left:-7px; margin-right:-7px; }
        .timeline-container--transfer .timeline-dot { width:24px; height:24px; }
        .timeline-container--transfer .timeline-track { top:10px; }
        .timeline-container--transfer .timeline-label { font-size:.7em; line-height:1.15; overflow-wrap:anywhere; }
        .timeline-container--transfer .timeline-subtext { font-size:.61em; }

        @media (max-width:380px) {
            .transfer-payment-card { padding:16px; }
            .timeline-container--transfer { margin-left:-12px; margin-right:-12px; }
            .timeline-container--transfer .timeline-label { font-size:.64em; }
            .timeline-container--transfer .timeline-subtext { display:none; }
        }

        .status-cancel-action { margin-top: 25px; padding-top: 18px; border-top: 1px solid color-mix(in srgb, var(--text-muted) 18%, transparent); text-align: center; }
        .status-cancel-action[hidden] { display: none !important; }
        .status-cancel-action__hint { margin: 0; color: var(--text-muted); font-size: 0.82em; line-height: 1.45; }
        .status-cancel-action__hint[hidden] { display: none !important; }
        .status-cancel-button { min-height: 46px; padding: 10px 16px; border: 1px solid color-mix(in srgb, #c2413b 42%, transparent); background: transparent; color: color-mix(in srgb, #c2413b 78%, var(--text-main)); font: inherit; font-size: 0.92em; font-weight: 750; box-shadow: none; transition: background 0.18s ease, border-color 0.18s ease, opacity 0.18s ease; }
        .status-cancel-button:hover:not(:disabled) { background: color-mix(in srgb, #c2413b 8%, transparent); border-color: color-mix(in srgb, #c2413b 62%, transparent); }
        .status-cancel-button:focus-visible { outline: 3px solid color-mix(in srgb, var(--primary) 28%, transparent); outline-offset: 2px; }
        .status-cancel-button:disabled { cursor: wait; opacity: 0.58; }
        #btnCancelOrder[hidden] { display: none !important; }

        /* Alerta Personalizada Profesional */
        .spot-alert-overlay {
            position: fixed; top: 0; left: 0; width: 100%; height: 100%;
            background: rgba(0,0,0,0.4); backdrop-filter: blur(4px);
            display: flex; justify-content: center; align-items: center;
            z-index: 99999; opacity: 0; transition: opacity 0.2s ease;
        }
        .spot-alert-box {
            background: var(--bg-color); width: 85%; max-width: 320px;
            padding: 25px; border-radius: var(--radius-lg);
            text-align: center; box-shadow: 0 15px 30px rgba(0,0,0,0.2);
            transform: scale(0.8); transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        }
        .spot-alert-overlay.show { opacity: 1; }
        .spot-alert-overlay.show .spot-alert-box { transform: scale(1); }

        .spot-alert-msg {
            color: var(--text-main); font-weight: 500;
            line-height: 1.5; margin-bottom: 20px; font-size: 1.05em;
        }
        .spot-alert-btn {
            background: var(--primary); color: var(--text-contrast);
            border: none; padding: 12px 30px; width: 100%;
            font-weight: bold; border-radius: var(--radius-sm, 8px);
            cursor: pointer; font-size: 1em;
        }
        .spot-cancel-confirm { max-width: 360px; }
        .spot-cancel-confirm .spot-alert-msg { margin-bottom: 18px; }
        .spot-cancel-confirm__actions { display: flex;  flex-direction: column; gap: 9px; }
        .spot-cancel-confirm__actions .spot-alert-btn { min-height: 44px; padding: 10px 12px; font: inherit; font-size: .88rem; font-weight: 750; }
        .spot-cancel-confirm__no { background: var(--surface); color: var(--text-muted); }
        .spot-cancel-confirm__actions .spot-alert-btn:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
        .spot-address-prompt { max-width:360px; }
        .spot-address-prompt .spot-alert-msg { margin-bottom:18px; }
        .spot-address-prompt .form-control { color:var(--text-main); }
        .spot-address-prompt .form-control::placeholder { color:var(--text-muted); opacity:1; }
        .spot-address-prompt__error { min-height:17px; margin:5px 0 0; color:#c24f4f; font-size:.73rem; }
        .spot-address-prompt__actions { display:flex; flex-direction:column; gap:9px; margin-top:10px; }
        .spot-address-prompt__actions .spot-alert-btn { min-height:44px; padding:10px 12px; font:inherit; font-size:.88rem; font-weight:750; }
        .spot-address-prompt__cancel { background:var(--surface); color:var(--text-muted); }
        .spot-address-prompt__actions .spot-alert-btn:focus-visible { outline:2px solid var(--primary); outline-offset:2px; }
        .product-note-alert { max-width: 360px; text-align: left; }
        .product-note-alert__title {
            margin: 0;
            color: var(--text-main);
            font-size: 1.08rem;
            line-height: 1.3;
        }
        .product-note-alert__content {
            margin: 15px 0 20px;
            padding: 13px 14px;
            border-left: 3px solid var(--primary);
            border-radius: 0 var(--radius-sm, 8px) var(--radius-sm, 8px) 0;
            background: var(--surface);
            color: var(--text-main);
            font-size: .94rem;
            line-height: 1.5;
            overflow-wrap: anywhere;
            white-space: pre-wrap;
            font-style: italic;
        }
        .product-note-alert__actions { display: flex; flex-direction: column; gap: 9px; }
        .product-note-alert__remove { background: var(--surface); color: var(--text-muted); }
        .product-note-alert__actions .spot-alert-btn:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }

        /* Selector de sucursal al entrar a la tienda */
        .spot-alert-box--branches { max-width: 380px; padding: 22px 18px 18px; text-align: left; }
        .spot-branch-title { font-weight: 700; font-size: 1.15em; color: var(--text-main); margin: 0 0 4px; }
        .spot-branch-subtitle { font-size: 0.9em; color: var(--text-muted); margin: 0 0 14px; }
        .spot-branch-list { display: flex; flex-direction: column; gap: 8px; max-height: 60vh; overflow-y: auto; }
        .spot-branch-option {
            display: flex; align-items: center; gap: 12px;
            padding: 12px 14px; border-radius: var(--radius-md, 12px);
            background: var(--bg-color);
            border: 1px solid color-mix(in srgb, var(--text-muted) 18%, transparent);
            cursor: pointer; transition: background 0.15s, border-color 0.15s, transform 0.1s;
            text-align: left; width: 100%; font-family: inherit; color: var(--text-main);
        }
        .spot-branch-option:hover:not([disabled]) { border-color: var(--primary); background: var(--surface); }
        .spot-branch-option:active:not([disabled]) { transform: scale(0.99); }
        .spot-branch-option[disabled] { opacity: 0.55; cursor: not-allowed; }
        .spot-branch-option__icon { flex-shrink: 0; width: 28px; height: 28px; display: flex; align-items: center; justify-content: center; color: var(--primary); }
        .spot-branch-option__icon svg { width: 100%; height: 100%; }
        .spot-branch-option__text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
        .spot-branch-option__name { font-weight: 600; font-size: 0.98em; color: var(--text-main); }
        .spot-branch-option__addr { font-size: 0.82em; color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
        .spot-branch-option__status { font-size: 0.72em; font-weight: 700; padding: 3px 8px; border-radius: 999px; background: color-mix(in srgb, var(--text-muted) 15%, transparent); color: var(--text-muted); flex-shrink: 0; text-transform: uppercase; letter-spacing: 0.4px; }
        .spot-branch-close { position: absolute; top: 12px; right: 12px; background: none; border: none; cursor: pointer; width: 28px; height: 28px; display: flex; align-items: center; justify-content: center; border-radius: var(--radius-btn, 50%); color: var(--text-muted); padding: 0; }
        .spot-branch-close:hover { background: color-mix(in srgb, var(--text-muted) 12%, transparent); }
        .spot-branch-close svg { width: 16px; height: 16px; }

        /* ── Skeleton Loading ── */
        @keyframes shimmer {
            0% { background-position: 200% 0; }
            100% { background-position: -200% 0; }
        }
        .skel {
            background: linear-gradient(90deg,
                color-mix(in srgb, var(--text-muted) 8%, var(--bg-color)) 25%,
                color-mix(in srgb, var(--text-muted) 20%, var(--bg-color)) 50%,
                color-mix(in srgb, var(--text-muted) 8%, var(--bg-color)) 75%);
            background-size: 200% 100%;
            animation: shimmer 1.4s ease-in-out infinite;
            border-radius: var(--radius-md, 12px);
        }
        .skel-pill { height: 36px; flex-shrink: 0; }
        .skel-card {
            display: flex; gap: 7px;
            border-radius: var(--radius-lg, 15px);
            background: var(--surface);
            overflow: hidden;
            box-shadow: var(--card-shadow);
        }
        .skel-card .skel { animation-delay: inherit; }
        .skel-card .skel-img { width: 107px; min-height: 107px; flex-shrink: 0; border-radius: 0; }
        .skel-card .skel-body { flex: 1; padding: 14px 10px; display: flex; flex-direction: column; gap: 10px; }
        .skel-line { height: 14px; border-radius: 7px; }
        #productList > .skel-card + .skel-card { margin-top: 12px; }
        #productList.grid-layout > .skel-card + .skel-card,
        #productList.grid-clean > .skel-card + .skel-card { margin-top: 0; }
        /* Skeleton responsive a layouts de catálogo */
        #productList.grid-layout > .skel-card,
        #productList.grid-clean > .skel-card { flex-direction: column; }
        #productList.grid-layout > .skel-card .skel-img,
        #productList.grid-clean > .skel-card .skel-img { width: 100%; height: 130px; min-height: 130px; }
        #productList.list-wide > .skel-card .skel-img { width: 45%; }
        /* Hero shimmer para imagen de producto cargando */
        .product-hero.skel-loading {
            background: linear-gradient(90deg,
                color-mix(in srgb, var(--text-muted) 12%, var(--secondary, #111827)) 25%,
                color-mix(in srgb, var(--text-muted) 25%, var(--secondary, #111827)) 50%,
                color-mix(in srgb, var(--text-muted) 12%, var(--secondary, #111827)) 75%) !important;
            background-size: 200% 100% !important;
            animation: shimmer 1.4s ease-in-out infinite;
        }
        .product-hero.skel-loading::after { display: none; }
        /* Hero sin imagen: fondo estático adaptado al tema + icono central */
        .product-hero--fallback {
            background: color-mix(in srgb, var(--text-muted) 14%, var(--secondary, #111827)) !important;
            background-image: none !important;
        }
        .product-hero__fallback-icon {
            position: absolute;
            inset: 0;
            display: none;
            align-items: center;
            justify-content: center;
            color: color-mix(in srgb, var(--text-muted) 70%, var(--secondary, #111827));
            pointer-events: none;
        }
        .product-hero--fallback .product-hero__fallback-icon { display: flex; }
        .product-hero--fallback.skel-loading .product-hero__fallback-icon { display: none; }
        .product-hero__fallback-icon svg { width: 64px; height: 64px; opacity: 0.9; }

        /* Bloqueo de scroll y fondo durante la pantalla de carga (crítico en Safari iOS) */
        html.spot-loader-lock,
        html.spot-loader-lock body,
        html.spot-loader-lock .app-container {
            overflow: hidden !important;
            height: 100% !important;
            background: #07080b !important;
        }

        #appLoader {
            position: fixed;
            inset: 0;
            z-index: 9999;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            transition: opacity 0.4s ease, background 0.25s ease;
            overflow: hidden;
            touch-action: none;
        }
        #appLoader.app-loader--spot {
            background: #07080b;
            color: #72768a;
        }
        #appLoader.app-loader--store {
            background: var(--bg-color, #f4f4f5);
            color: var(--text-main);
        }
        .app-loader__intro,
        .app-loader__store {
            position: relative;
            z-index: 1;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
        }
        .app-loader__intro {
            gap: 0;
            padding: 32px;
            text-align: center;
        }
        .app-loader__intro-copy {
            font-size: 0.9rem;
            line-height: 1.4;
            color: #72768a;
            font-weight: 500;
            letter-spacing: 0.01em;
        }
        .app-loader__store {
            gap: 25px;
        }
        .app-loader__spinner {
            width: 36px;
            height: 36px;
            border: 4px solid #e5e7eb;
            border-top-color: var(--primary, #D5282A);
            border-radius: 50%;
            animation: spinLoader 0.85s linear infinite;
        }
        #appLoader.app-loader--spot .app-loader__store {
            display: none;
        }
        #appLoader.app-loader--store .app-loader__intro {
            display: none;
        }
        .spot-seo-intro {
            position: absolute;
            width: 1px;
            height: 1px;
            padding: 0;
            margin: -1px;
            overflow: hidden;
            clip: rect(0, 0, 0, 0);
            white-space: nowrap;
            border: 0;
        }
