*, *::before, *::after { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    scroll-padding-top: 142px;
    background: var(--cream-100);
}

body {
    margin: 0;
    min-width: 320px;
    color: var(--brown-900);
    background:
        radial-gradient(circle at 10% 12%, rgba(223, 184, 79, .13), transparent 24rem),
        var(--cream-100);
    font-family: var(--font-ui);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
    outline: 3px solid var(--gold-400);
    outline-offset: 3px;
}

.shell { width: min(100% - 32px, var(--shell)); margin-inline: auto; }
.skip-link { position: fixed; top: -100px; left: 16px; z-index: 100; padding: 10px 14px; border-radius: 10px; color: white; background: var(--brown-900); }
.skip-link:focus { top: 12px; }

.homologation-banner {
    position: sticky;
    top: 0;
    z-index: 50;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 12px;
    color: white;
    background: #a5241c;
    box-shadow: 0 4px 14px rgba(74, 15, 10, .22);
    font-size: .69rem;
    text-align: center;
}
.homologation-banner strong { letter-spacing: .06em; }
.homologation-banner span { color: rgba(255, 255, 255, .82); }
.homologation-banner button { margin-left: 4px; padding: 4px 8px; border: 1px solid rgba(255, 255, 255, .5); border-radius: 999px; color: white; background: transparent; font-size: .64rem; font-weight: 800; cursor: pointer; }
.has-homologation-banner .site-header { top: 44px; }
.has-homologation-banner .category-nav { top: 122px; }

.homologation-entry { min-height: 100dvh; display: grid; place-items: center; padding: 28px; }
.homologation-entry section { width: min(100%, 520px); padding: 36px 28px; border: 1px solid var(--border); border-radius: 26px; background: rgba(255, 254, 251, .82); box-shadow: var(--shadow-lg); text-align: center; }
.homologation-entry img { margin-bottom: 16px; border-radius: 50%; }
.homologation-entry h1 { margin: 8px 0 10px; font-family: var(--font-display); font-size: clamp(2rem, 8vw, 3rem); font-weight: 500; line-height: 1; }
.homologation-entry p { margin: 0; color: var(--ink-muted); }
.homologation-entry a { display: inline-flex; margin-top: 20px; padding: 10px 15px; border-radius: 12px; color: white; background: var(--terracotta-500); font-size: .76rem; font-weight: 800; text-decoration: none; }
.homologation-entry a[hidden] { display: none; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 30;
    border-bottom: 1px solid rgba(73, 40, 23, .08);
    background: var(--cream-100);
}
.header-inner { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.brand { display: flex; align-items: center; gap: 10px; min-width: 0; color: inherit; text-decoration: none; }
.brand img { width: 52px; height: 52px; flex: 0 0 auto; border: 1px solid rgba(73, 40, 23, .08); border-radius: 50%; object-fit: cover; }
.brand > span { display: grid; min-width: 0; }
.brand strong { overflow: hidden; font-family: var(--font-display); font-size: clamp(1rem, 4vw, 1.25rem); line-height: 1.1; text-overflow: ellipsis; white-space: nowrap; }
.store-status { display: inline-flex; align-items: center; gap: 6px; margin-top: 5px; color: var(--ink-muted); font-size: .7rem; font-weight: 750; white-space: nowrap; }
.store-status i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.store-status.is-open { color: var(--green-500); }
.store-status.is-closed { color: var(--terracotta-500); }

.mode-trigger {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 46px;
    padding: 7px 10px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: rgba(255, 254, 251, .62);
    cursor: pointer;
}
.mode-trigger > span:first-child { display: none; }
.mode-trigger > span:nth-child(2) { display: grid; text-align: left; }
.mode-trigger small { color: var(--ink-muted); font-size: .62rem; line-height: 1.1; }
.mode-trigger strong { max-width: 92px; overflow: hidden; font-size: .77rem; line-height: 1.3; text-overflow: ellipsis; white-space: nowrap; }

.hero {
    position: relative;
    display: grid;
    min-height: 390px;
    margin-top: 18px;
    overflow: hidden;
    border-radius: var(--radius-lg);
    color: var(--cream-50);
    background:
        linear-gradient(135deg, rgba(53, 28, 17, .97), rgba(96, 56, 36, .93)),
        var(--brown-800);
    box-shadow: var(--shadow-lg);
}
.hero::before, .hero::after { content: ''; position: absolute; border: 1px solid rgba(240, 207, 121, .25); border-radius: 50%; }
.hero::before { width: 310px; height: 310px; right: -170px; top: -105px; }
.hero::after { width: 210px; height: 210px; right: -80px; top: -55px; }
.hero-copy { position: relative; z-index: 2; align-self: end; padding: 28px 24px 24px; }
.eyebrow, .section-kicker { color: var(--gold-300); font-size: .68rem; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
.hero h1 { max-width: 700px; margin: 12px 0 12px; font-family: var(--font-display); font-size: clamp(2.2rem, 10vw, 4.7rem); font-weight: 500; letter-spacing: -.045em; line-height: .95; }
.hero h1 em { color: var(--gold-300); font-weight: 400; }
.hero-copy > p { max-width: 500px; margin: 0 0 22px; color: rgba(255, 250, 240, .76); font-size: .94rem; }
.hero-mode { width: 100%; display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; align-items: center; padding: 14px 16px; border: 0; border-radius: 16px; color: var(--brown-900); background: var(--gold-300); text-align: left; cursor: pointer; }
.hero-mode span:first-child { font-size: .68rem; font-weight: 750; text-transform: uppercase; }
.hero-mode strong { grid-column: 1; font-size: .86rem; }
.hero-mode span:last-child { grid-column: 2; grid-row: 1 / 3; font-size: 1.4rem; }
.hero-mark { position: absolute; z-index: 1; top: 24px; right: 24px; display: grid; width: 116px; height: 116px; place-content: center; border: 1px solid rgba(240, 207, 121, .32); border-radius: 50%; color: var(--gold-300); font-family: var(--font-display); text-align: center; transform: rotate(7deg); }
.hero-mark span, .hero-mark em { font-size: .72rem; line-height: 1; }
.hero-mark strong { font-size: 1.45rem; line-height: 1.05; }

.category-nav { position: sticky; top: 78px; z-index: 20; margin-top: 18px; padding: 10px 0; border-block: 1px solid rgba(68, 41, 25, .08); background: var(--cream-100); }
.category-scroll { display: flex; gap: 8px; overflow-x: auto; padding-block: 2px; scrollbar-width: none; }
.category-scroll::-webkit-scrollbar { display: none; }
.category-chip { flex: 0 0 auto; padding: 9px 14px; border: 1px solid var(--border); border-radius: 999px; color: var(--brown-800); background: rgba(255, 254, 251, .62); font-size: .78rem; font-weight: 780; text-decoration: none; }
.category-chip.is-active, .category-chip:hover { border-color: var(--terracotta-500); color: white; background: var(--terracotta-500); }

.menu { padding-top: 14px; padding-bottom: 130px; }
.menu-section { padding: 28px 0 10px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 12px; margin-bottom: 15px; }
.section-kicker { color: var(--terracotta-500); }
.section-heading h2 { margin: 4px 0 0; font-family: var(--font-display); font-size: clamp(1.75rem, 7vw, 2.5rem); font-weight: 500; letter-spacing: -.035em; }
.section-heading > span { padding-bottom: 5px; color: var(--ink-muted); font-size: .72rem; font-weight: 700; white-space: nowrap; }
.product-grid { display: grid; gap: 10px; }
.product-card { overflow: hidden; border: 1px solid rgba(73, 40, 23, .11); border-radius: var(--radius-md); background: rgba(255, 254, 251, .72); box-shadow: 0 4px 18px rgba(73, 40, 23, .035); }
.product-main { width: 100%; display: grid; grid-template-columns: 72px minmax(0, 1fr) 34px; gap: 13px; align-items: center; min-height: 112px; padding: 14px; border: 0; background: transparent; text-align: left; cursor: pointer; }
.product-main:hover { background: rgba(240, 207, 121, .12); }
.product-art { position: relative; display: grid; width: 72px; height: 82px; place-items: center; overflow: hidden; border-radius: 15px; color: var(--cream-50); background: var(--brown-800); }
.product-art::before { content: ''; position: absolute; inset: 7px; border: 1px solid rgba(240, 207, 121, .38); border-radius: 11px; }
.product-art b { position: relative; z-index: 1; font-family: var(--font-display); font-size: 2rem; font-weight: 400; }
.product-art i { position: absolute; width: 8px; height: 8px; border-radius: 50%; background: var(--terracotta-400); }
.product-art i:nth-of-type(1) { top: 10px; right: 10px; }
.product-art i:nth-of-type(2) { bottom: 10px; left: 10px; background: var(--gold-400); }
.product-art i:nth-of-type(3) { bottom: 20px; right: 7px; width: 4px; height: 4px; background: var(--gold-400); }
.product-copy { min-width: 0; display: grid; }
.product-copy > strong { margin-bottom: 4px; font-family: var(--font-display); font-size: 1.08rem; line-height: 1.15; }
.product-copy small { min-height: 2.45em; color: var(--ink-muted); font-size: .72rem; line-height: 1.35; }
.product-price { margin-top: 8px; color: var(--terracotta-600); font-size: .82rem; font-weight: 850; }
.product-add { display: grid; width: 32px; height: 32px; place-items: center; border-radius: 50%; color: white; background: var(--terracotta-500); font-size: 1.25rem; font-weight: 400; }

.site-footer { padding: 36px 0 120px; color: var(--cream-100); background: var(--brown-900); }
.footer-inner { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: center; }
.footer-inner img { border-radius: 50%; }
.footer-inner div { display: grid; }
.footer-inner div strong { font-family: var(--font-display); font-size: 1.2rem; }
.footer-inner div span, .footer-inner p { color: rgba(255, 241, 220, .65); font-size: .75rem; }
.footer-inner p { grid-column: 1 / -1; margin: 8px 0 0; }

.cart-dock { position: fixed; z-index: 35; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); left: max(16px, env(safe-area-inset-left)); display: grid; grid-template-columns: auto 1fr auto; gap: 11px; align-items: center; min-height: 58px; padding: 10px 16px; border: 0; border-radius: 17px; color: white; background: var(--terracotta-500); box-shadow: 0 14px 35px rgba(88, 31, 18, .35); cursor: pointer; }
.cart-dock[hidden] { display: none; }
.cart-count { display: grid; width: 28px; height: 28px; place-items: center; border-radius: 9px; color: var(--terracotta-600); background: var(--cream-50); font-size: .75rem; font-weight: 850; }
.cart-dock strong { text-align: left; }

.sheet { width: min(100% - 16px, 620px); max-height: min(90dvh, 850px); margin: auto auto 0; padding: 28px 20px calc(22px + env(safe-area-inset-bottom)); overflow-y: auto; border: 0; border-radius: 25px 25px 0 0; color: var(--brown-900); background: var(--cream-50); box-shadow: var(--shadow-lg); }
.sheet::backdrop { background: rgba(37, 20, 12, .64); backdrop-filter: blur(3px); }
.sheet[open] { animation: sheet-in .22s ease-out; }
@keyframes sheet-in { from { transform: translateY(25px); opacity: .5; } }
.sheet-handle { position: absolute; top: 9px; left: 50%; width: 44px; height: 4px; border-radius: 999px; background: rgba(73, 40, 23, .2); transform: translateX(-50%); }
.sheet-close { position: sticky; z-index: 2; top: 0; float: right; display: grid; width: 40px; height: 40px; place-items: center; margin-top: -9px; border: 0; border-radius: 50%; background: var(--cream-200); font-size: 1.5rem; cursor: pointer; }
.sheet h2 { margin: 7px 48px 7px 0; font-family: var(--font-display); font-size: 2rem; font-weight: 500; line-height: 1.05; }
.sheet > p { margin: 0 40px 20px 0; color: var(--ink-muted); font-size: .85rem; }
.mode-options { display: grid; gap: 10px; margin-top: 22px; }
.mode-options > button { display: grid; grid-template-columns: 46px 1fr auto; gap: 12px; align-items: center; min-height: 76px; padding: 12px; border: 1px solid var(--border); border-radius: 17px; background: white; text-align: left; cursor: pointer; }
.mode-options > button:hover { border-color: var(--terracotta-400); background: #fff9ef; }
.mode-icon { display: grid; width: 46px; height: 46px; place-items: center; border-radius: 14px; color: var(--cream-50); background: var(--brown-800); font-size: 1.25rem; }
.mode-options button span:nth-child(2) { display: grid; }
.mode-options strong { font-family: var(--font-display); font-size: 1.05rem; }
.mode-options small { margin-top: 2px; color: var(--ink-muted); font-size: .7rem; }
.mode-options i { color: var(--terracotta-500); font-style: normal; font-weight: 800; }

.product-sheet { padding-bottom: calc(22px + env(safe-area-inset-bottom)); }
.product-heading { padding-right: 44px; }
.product-heading .eyebrow { color: var(--terracotta-500); }
.product-heading h2 { margin-right: 0; }
.product-heading > p { margin: 0; color: var(--ink-muted); font-size: .82rem; }
.choice-group { margin: 24px 0 0; padding: 0; border: 0; }
.choice-group legend { width: 100%; display: flex; align-items: end; justify-content: space-between; gap: 14px; padding: 0 0 9px; border-bottom: 1px solid var(--border); }
.choice-group legend strong { font-family: var(--font-display); font-size: 1.12rem; }
.choice-group legend small { color: var(--ink-muted); font-size: .67rem; font-weight: 700; }
.choice { position: relative; display: grid; grid-template-columns: 24px 1fr auto; gap: 9px; align-items: center; min-height: 48px; padding: 7px 0; border-bottom: 1px solid rgba(73, 40, 23, .08); cursor: pointer; }
.choice input { width: 20px; height: 20px; margin: 0; accent-color: var(--terracotta-500); }
.choice span { font-size: .82rem; }
.choice strong { color: var(--terracotta-600); font-size: .76rem; }
.side-group legend { margin-bottom: 0; }
.side-counter { position: sticky; z-index: 1; top: -1px; padding: 9px 0; color: var(--terracotta-600); background: var(--cream-50); font-size: .72rem; font-weight: 850; }
.side-choice { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: center; min-height: 58px; padding: 8px 0; border-bottom: 1px solid rgba(73, 40, 23, .08); }
.side-choice > span { display: grid; min-width: 0; }
.side-choice > span strong { overflow: hidden; font-size: .82rem; text-overflow: ellipsis; white-space: nowrap; }
.side-choice > span small { margin-top: 2px; color: var(--ink-muted); font-size: .66rem; }
.side-choice.is-selected > span small { color: var(--terracotta-600); font-weight: 750; }
.side-stepper { display: grid; grid-template-columns: 34px 28px 34px; align-items: center; overflow: hidden; border: 1px solid var(--border); border-radius: 12px; background: white; }
.side-stepper button { width: 34px; height: 36px; border: 0; background: transparent; font-size: 1.05rem; cursor: pointer; }
.side-stepper button:disabled { cursor: not-allowed; opacity: .35; }
.side-stepper output { text-align: center; font-size: .76rem; font-weight: 850; }
.item-note { display: grid; gap: 7px; margin-top: 24px; scroll-margin-bottom: 110px; }
.item-note span { font-size: .78rem; font-weight: 850; }
.item-note span small { color: var(--ink-muted); font-size: .66rem; font-weight: 700; }
.item-note-help { max-width: 44rem; color: var(--ink-muted); font-size: .67rem; line-height: 1.4; }
.item-note textarea { width: 100%; min-height: 96px; resize: none; padding: 12px; border: 1px solid var(--border); border-radius: 13px; color: var(--brown-900); background: white; line-height: 1.45; }
.item-note textarea:focus { border-color: var(--terracotta-400); box-shadow: 0 0 0 3px rgba(163, 56, 32, .1); }
.item-note-count { justify-self: end; color: var(--ink-muted); font-size: .62rem; font-weight: 750; }
.sheet-action { position: sticky; z-index: 2; right: auto; bottom: calc(-22px - env(safe-area-inset-bottom)); left: auto; display: grid; grid-template-columns: auto 1fr; gap: 10px; margin: 26px -20px calc(-22px - env(safe-area-inset-bottom)); padding: 12px max(20px, env(safe-area-inset-right)) calc(12px + env(safe-area-inset-bottom)) max(20px, env(safe-area-inset-left)); border-top: 1px solid var(--border); background: var(--cream-50); box-shadow: 0 -12px 28px rgba(68, 41, 25, .07); }
.quantity-control { display: grid; grid-template-columns: 36px 30px 36px; align-items: center; border: 1px solid var(--border); border-radius: 14px; background: white; }
.quantity-control button { height: 48px; border: 0; background: transparent; font-size: 1.2rem; cursor: pointer; }
.quantity-control output { text-align: center; font-weight: 850; }
.primary-action { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 50px; padding: 0 16px; border: 0; border-radius: 14px; color: white; background: var(--terracotta-500); cursor: pointer; }
.primary-action:disabled { cursor: not-allowed; opacity: .56; }
.primary-action small { font-size: .67rem; font-weight: 600; }

.cart-sheet { padding-bottom: calc(28px + env(safe-area-inset-bottom)); }
.cart-item { display: grid; grid-template-columns: 1fr auto; gap: 5px 14px; padding: 14px 0; border-bottom: 1px solid var(--border); }
.cart-item h3 { margin: 0; font-family: var(--font-display); font-size: 1rem; }
.cart-item > strong { grid-column: 2; grid-row: 1; }
.cart-item p { grid-column: 1 / -1; margin: 0; color: var(--ink-muted); font-size: .7rem; line-height: 1.45; }
.cart-item-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 14px; margin-top: 4px; }
.cart-item button { justify-self: start; padding: 4px 0; border: 0; color: var(--terracotta-500); background: transparent; font-size: .7rem; font-weight: 850; cursor: pointer; }
.cart-item button[data-remove-cart] { color: var(--ink-muted); }
.cart-empty { padding: 28px 0; color: var(--ink-muted); text-align: center; }
.cart-summary { display: flex; justify-content: space-between; margin: 22px 0 13px; font-size: 1.05rem; }
.cart-summary strong { color: var(--terracotta-600); }
.checkout-preview { width: 100%; }
.timing-panel { margin: 18px 0 14px; padding: 16px; border: 1px solid var(--border); border-radius: 17px; background: #fffaf2; }
.timing-heading h3 { margin: 4px 0 12px; font-family: var(--font-display); font-size: 1.2rem; font-weight: 500; }
.timing-options { display: grid; gap: 8px; }
.timing-options label { display: grid; grid-template-columns: auto 1fr; gap: 9px; align-items: center; min-height: 50px; padding: 9px 10px; border: 1px solid var(--border); border-radius: 12px; background: white; cursor: pointer; }
.timing-options label:has(input:checked) { border-color: var(--terracotta-400); box-shadow: 0 0 0 2px rgba(193, 80, 48, .1); }
.timing-options label:has(input:disabled) { cursor: not-allowed; opacity: .5; }
.timing-options input { accent-color: var(--terracotta-500); }
.timing-options span { display: grid; }
.timing-options strong { font-size: .78rem; }
.timing-options small { color: var(--ink-muted); font-size: .66rem; }
.slot-field { display: grid; gap: 5px; margin-top: 10px; }
.slot-field[hidden] { display: none; }
.slot-field > span { font-size: .7rem; font-weight: 800; }
.slot-field select { min-height: 44px; padding: 0 11px; border: 1px solid var(--border); border-radius: 11px; color: var(--brown-900); background: white; }
.checkout-notice { display: grid; gap: 2px; margin-top: 11px; padding: 11px 12px; border-left: 4px solid var(--gold-400); border-radius: 9px; color: var(--brown-900); background: rgba(240, 207, 121, .22); }
.checkout-notice[hidden] { display: none; }
.checkout-notice strong { font-size: .74rem; }
.checkout-notice span { color: var(--ink-muted); font-size: .68rem; }

.checkout-sheet > p { margin-bottom: 18px; }
.checkout-fields { display: grid; gap: 12px; }
.checkout-field { display: grid; gap: 6px; margin-top: 12px; }
.checkout-field > span, .payment-options legend { color: var(--brown-800); font-size: .73rem; font-weight: 850; }
.checkout-field > span small { color: var(--ink-muted); font-size: .64rem; font-weight: 650; }
.checkout-field input, .checkout-field textarea { width: 100%; min-height: 48px; padding: 11px 12px; border: 1px solid var(--border); border-radius: 12px; color: var(--brown-900); background: white; }
.checkout-field textarea { min-height: 82px; resize: vertical; }
.checkout-field[hidden] { display: none; }
.payment-options { display: grid; gap: 8px; margin: 20px 0 4px; padding: 0; border: 0; }
.payment-options legend { margin-bottom: 8px; }
.payment-options label { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: center; min-height: 52px; padding: 9px 11px; border: 1px solid var(--border); border-radius: 12px; background: white; cursor: pointer; }
.payment-options label:has(input:checked) { border-color: var(--terracotta-400); box-shadow: 0 0 0 2px rgba(193, 80, 48, .1); }
.payment-options input { accent-color: var(--terracotta-500); }
.payment-options span { display: grid; }
.payment-options strong { font-size: .8rem; }
.payment-options small { color: var(--ink-muted); font-size: .66rem; }
.checkout-order-summary { display: grid; grid-template-columns: 1fr auto; gap: 2px 14px; margin: 18px 0 12px; padding: 14px; border-radius: 13px; color: var(--cream-50); background: var(--brown-800); }
.checkout-order-summary span { font-size: .69rem; }
.checkout-order-summary span:nth-child(2) { grid-column: 1; color: rgba(255, 241, 220, .7); }
.checkout-order-summary strong { grid-column: 2; grid-row: 1 / 3; align-self: center; color: var(--gold-300); }
.checkout-form-error { margin: 0 0 12px; }
.submit-order { width: 100%; }
.confirmation-summary { display: grid; gap: 4px; margin: 18px 0; padding: 14px; border-radius: 13px; background: var(--cream-200); }
.confirmation-summary span { color: var(--ink-muted); font-size: .74rem; }
.confirmation-summary strong { margin-top: 4px; color: var(--terracotta-600); font-size: 1.1rem; }
.confirmation-dialog > p strong { color: var(--brown-900); }
.confirmation-dialog .primary-action { justify-content: center; text-decoration: none; }
.confirmation-secondary { width: 100%; margin-top: 8px; padding: 10px; border: 0; color: var(--terracotta-600); background: transparent; font-size: .76rem; font-weight: 800; cursor: pointer; }

.tracking-header .brand { flex: 1 1 auto; }
.tracking-header .store-status { max-width: 150px; white-space: normal; line-height: 1.15; }
.tracking-back { flex: 0 0 auto; padding: 9px 12px; border: 1px solid var(--border); border-radius: 12px; color: var(--terracotta-600); font-size: .74rem; font-weight: 850; text-decoration: none; }
.tracking-page { min-height: calc(100dvh - 78px); padding-top: 24px; padding-bottom: 64px; }
.tracking-card { margin-bottom: 14px; padding: 20px; border: 1px solid rgba(73, 40, 23, .11); border-radius: 20px; background: rgba(255, 254, 251, .8); box-shadow: 0 8px 24px rgba(73, 40, 23, .045); }
.tracking-hero { display: grid; gap: 18px; color: var(--cream-50); background: linear-gradient(135deg, var(--brown-900), var(--brown-700)); }
.tracking-hero h1, .tracking-not-found h1 { margin: 7px 0 8px; font-family: var(--font-display); font-size: clamp(2rem, 9vw, 3.2rem); font-weight: 500; line-height: 1; }
.tracking-hero p, .tracking-not-found p { margin: 0; color: rgba(255, 241, 220, .72); font-size: .84rem; }
.tracking-total { display: grid; align-content: end; justify-items: start; }
.tracking-total small { color: rgba(255, 241, 220, .65); font-size: .68rem; text-transform: uppercase; }
.tracking-total strong { color: var(--gold-300); font-size: 1.25rem; }
.tracking-section-heading { display: flex; justify-content: space-between; gap: 12px; align-items: end; margin-bottom: 18px; }
.tracking-section-heading h2 { margin: 4px 0 0; font-family: var(--font-display); font-size: 1.55rem; font-weight: 500; }
.tracking-live { color: var(--green-500); font-size: .65rem; font-weight: 800; }
.tracking-steps { display: grid; margin: 0; padding: 0; list-style: none; }
.tracking-steps li { position: relative; display: grid; grid-template-columns: 24px 1fr; gap: 10px; min-height: 48px; color: var(--ink-muted); font-size: .78rem; font-weight: 750; }
.tracking-steps li:not(:last-child)::after { content: ''; position: absolute; top: 20px; bottom: -4px; left: 8px; width: 2px; background: var(--border); }
.tracking-steps i { position: relative; z-index: 1; width: 18px; height: 18px; border: 3px solid var(--cream-50); border-radius: 50%; background: var(--border); box-shadow: 0 0 0 1px var(--border); }
.tracking-steps .is-done, .tracking-steps .is-active { color: var(--brown-900); }
.tracking-steps .is-done i, .tracking-steps .is-active i { background: var(--terracotta-500); box-shadow: 0 0 0 1px var(--terracotta-500); }
.tracking-steps .is-done:not(:last-child)::after { background: var(--terracotta-400); }
.tracking-steps .is-active i { box-shadow: 0 0 0 4px rgba(193, 80, 48, .17); }
.tracking-cancelled { display: grid; gap: 3px; margin-top: 8px; padding: 12px; border-left: 4px solid var(--terracotta-500); border-radius: 9px; background: rgba(193, 80, 48, .09); }
.tracking-cancelled[hidden] { display: none; }
.tracking-cancelled strong { font-size: .78rem; }
.tracking-cancelled span { color: var(--ink-muted); font-size: .7rem; }
.tracking-details { display: grid; gap: 12px; }
.tracking-details div { display: flex; justify-content: space-between; gap: 20px; padding-bottom: 10px; border-bottom: 1px solid var(--border); }
.tracking-details div:last-child { padding-bottom: 0; border: 0; }
.tracking-details span { color: var(--ink-muted); font-size: .72rem; }
.tracking-details strong { font-size: .76rem; text-align: right; }
.tracking-help { margin: 22px auto 0; max-width: 430px; color: var(--ink-muted); font-size: .72rem; text-align: center; }
.tracking-not-found { max-width: 620px; margin: 10vh auto 0; text-align: center; }
.tracking-not-found p { margin-bottom: 20px; color: var(--ink-muted); }
.tracking-not-found .primary-action { justify-content: center; text-decoration: none; }

@media (min-width: 640px) {
    .tracking-page { padding-top: 42px; }
    .tracking-hero { grid-template-columns: 1fr auto; padding: 30px; }
    .tracking-total { justify-items: end; }
}

@media (min-width: 560px) {
    .checkout-fields { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 420px) {
    .tracking-header .brand strong { font-size: .9rem; }
    .tracking-header .brand img { width: 46px; height: 46px; }
}

.charge-dialog { width: min(100% - 32px, 430px); padding: 24px; border: 0; border-radius: 22px; color: var(--brown-900); background: var(--cream-50); box-shadow: var(--shadow-lg); }
.charge-dialog::backdrop { background: rgba(37, 20, 12, .68); backdrop-filter: blur(3px); }
.charge-dialog h2 { margin: 7px 0 10px; font-family: var(--font-display); font-size: 1.65rem; font-weight: 500; line-height: 1.08; }
.charge-dialog p { margin: 0 0 20px; color: var(--ink-muted); font-size: .82rem; }
.charge-dialog .primary-action { width: 100%; justify-content: center; }

.toast { position: fixed; z-index: 60; right: 20px; bottom: 92px; left: 20px; max-width: 420px; margin: auto; padding: 12px 16px; border-radius: 12px; color: white; background: var(--brown-900); box-shadow: var(--shadow-lg); font-size: .8rem; font-weight: 750; text-align: center; opacity: 0; pointer-events: none; transform: translateY(10px); transition: .2s; }
.toast.is-visible { opacity: 1; transform: translateY(0); }

@media (min-width: 640px) {
    .shell { width: min(100% - 48px, var(--shell)); }
    .mode-trigger > span:first-child { display: inline; }
    .mode-trigger strong { max-width: none; }
    .hero { min-height: 460px; }
    .hero-copy { padding: 46px; }
    .hero-mode { width: min(100%, 420px); }
    .hero-mark { top: 38px; right: 42px; width: 160px; height: 160px; }
    .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .cart-dock { right: 24px; left: auto; width: min(430px, calc(100% - 48px)); }
    .sheet { margin-bottom: auto; border-radius: 28px; }
    .sheet-action { bottom: calc(-22px - env(safe-area-inset-bottom)); }
}

@media (min-width: 980px) {
    .header-inner { min-height: 88px; }
    .has-homologation-banner .category-nav { top: 132px; }
    .category-nav { top: 88px; }
    .hero { min-height: 500px; grid-template-columns: 1fr 36%; }
    .hero-mark { top: 70px; right: 10%; width: 210px; height: 210px; }
    .hero-mark span, .hero-mark em { font-size: 1rem; }
    .hero-mark strong { font-size: 2.2rem; }
    .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .footer-inner { grid-template-columns: auto 1fr auto; }
    .footer-inner p { grid-column: 3; margin: 0; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
