/* ===== Anonymus Eyewear – stile sito pubblico ===== */
:root {
    --bg: #0E0E0E;
    --surface: #1A1A1A;
    --line: #262626;
    --line-strong: #3A3A3A;
    --text: #F2F0EB;
    --text-2: #B5B2AB;
    --text-3: #8A877F;
    --accent: #C9C4B8;
    --gutter: clamp(16px, 5vw, 72px);
    --display: "Syncopate", "Arial Black", sans-serif;
    --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: var(--body);
    font-size: 16px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: var(--text); }
a:hover { color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.skip { position: absolute; left: -9999px; top: 0; background: var(--text); color: var(--bg); padding: 12px 16px; z-index: 100; }
.skip:focus { left: 16px; top: 16px; }

.pre { white-space: pre-line; }
.muted { color: var(--text-2); margin: 0; }

/* ----- Header ----- */
.site-header {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px;
    padding: 20px var(--gutter);
    border-bottom: 1px solid var(--line);
    position: sticky; top: 0; z-index: 50;
    background: rgba(14, 14, 14, 0.92);
    backdrop-filter: blur(8px);
}
.logo {
    font-family: var(--display); font-weight: 700; font-size: 20px; letter-spacing: 0.32em;
    text-decoration: none; color: var(--text);
}
/* Logo in alto a sinistra (immagine PNG chiara su sfondo scuro) */
.logo.logo-img { display: block; line-height: 0; margin: 2px 0; }
.logo.logo-img img { height: 52px; width: auto; }
@media (max-width: 720px) { .logo.logo-img img { height: 44px; } }
/* Logo "a lampadina esaurita" (wwwroot/js/logo-flicker.js): strisce che sfarfallano a caso */
.logo.logo-img { position: relative; }
.logo-flicker { position: absolute; inset: 0; pointer-events: none; filter: drop-shadow(0 0 5px rgba(255, 236, 205, 0.45)); }
.logo-flicker .logo-strip { position: absolute; left: 0; top: 0; width: 100%; height: 100%; }
.logo.logo-img.flicker-on > img:first-child { opacity: 0; }  /* resta per lettori di schermo e impaginazione */
/* Passandoci sopra (o con la tastiera) il logo si accende tutto */
.logo.logo-img:hover .logo-strip, .logo.logo-img:focus-visible .logo-strip { opacity: 1 !important; }
.main-nav { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.main-nav a { text-decoration: none; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; padding: 12px 0; }
.header-right { display: flex; align-items: center; gap: 12px; }
.social-icons { display: flex; gap: 4px; }
.social-icons a { display: flex; width: 44px; height: 44px; align-items: center; justify-content: center; }
.lang-switch { display: flex; align-items: center; gap: 4px; font-size: 13px; letter-spacing: 0.1em; color: var(--text-3); }
.lang-switch a { text-decoration: none; color: var(--text-3); padding: 12px 4px; }
.lang-switch a.active { color: var(--text); }

/* ----- Tipografia ----- */
.kicker { margin: 0; font-size: 12px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--accent); }
.display {
    margin: 0; font-family: var(--display); font-weight: 700;
    font-size: clamp(36px, 6vw, 88px); line-height: 1.04; letter-spacing: 0.02em; text-transform: uppercase;
}
.h2 {
    margin: 0; font-family: var(--display); font-weight: 700;
    font-size: clamp(24px, 3.2vw, 42px); line-height: 1.15; letter-spacing: 0.05em; text-transform: uppercase;
}
.h2.handle { text-transform: none; }
.lead { margin: 0; max-width: 560px; font-size: 17px; line-height: 1.65; color: var(--text-2); }
.caps-link { font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; }

/* ----- Bottoni ----- */
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
    display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 28px;
    font: 600 13px/1 var(--body); letter-spacing: 0.16em; text-transform: uppercase; text-decoration: none;
    cursor: pointer; border: 1px solid var(--text); background: transparent; color: var(--text);
    transition: background .15s, color .15s;
}
.btn-solid { background: var(--text); color: var(--bg); }
.btn-solid:hover { background: var(--accent); border-color: var(--accent); color: var(--bg); }
.btn-outline:hover { background: var(--text); color: var(--bg); }
.btn-ghost { border-color: var(--line-strong); min-height: 44px; padding: 0 20px; font-weight: 500; }
.btn-ghost:hover { border-color: var(--text); color: var(--text); }
.link-btn { background: none; border: 0; padding: 0; color: var(--text-2); font: inherit; text-decoration: underline; cursor: pointer; }
.link-btn:hover { color: var(--accent); }

/* ----- Segnaposto foto ----- */
.ph {
    display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; min-height: inherit;
    color: var(--text-3); font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; text-align: center; padding: 16px;
}

/* ----- Hero ----- */
.hero { display: flex; flex-wrap: wrap; border-bottom: 1px solid var(--line); }
.hero-text {
    flex: 1 1 420px; display: flex; flex-direction: column; justify-content: flex-end; gap: 28px;
    padding: clamp(40px, 7vw, 112px) var(--gutter);
}
.hero-img { flex: 1 1 520px; min-height: clamp(380px, 60vw, 720px); background: var(--surface); position: relative; }
.hero-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ----- Sezioni ----- */
.section { padding: clamp(56px, 8vw, 120px) var(--gutter); border-bottom: 1px solid var(--line); }
.section.narrow { max-width: 860px; margin: 0 auto; border-bottom: 0; }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 48px; }

.model-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 40px 24px; }
.model-card { display: flex; flex-direction: column; gap: 16px; }
.model-img { display: block; aspect-ratio: 4 / 3; background: var(--surface); overflow: hidden; }
.model-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.model-img:hover img { transform: scale(1.03); }
.model-meta { display: flex; justify-content: space-between; gap: 12px; }
.model-meta h3 { margin: 0 0 4px; font-size: 15px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; }
.model-meta h3 a { text-decoration: none; }
.model-meta p { font-size: 14px; }

.split { display: flex; flex-wrap: wrap; border-bottom: 1px solid var(--line); }
.split-img { flex: 1 1 480px; min-height: 520px; background: var(--surface); position: relative; }
.split-img > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.split-text {
    flex: 1 1 420px; display: flex; flex-direction: column; justify-content: center; gap: 24px;
    padding: clamp(48px, 7vw, 112px) var(--gutter);
}
.facts { display: flex; flex-wrap: wrap; gap: 24px 40px; margin: 8px 0 0; }
.facts dt { font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-3); margin-bottom: 6px; }
.facts dd { margin: 0; font-size: 15px; }

/* Scheda modello: foto una sotto l'altra */
.model-detail .gallery { display: flex; flex-direction: column; gap: 4px; min-height: 0; }
.model-detail .gallery img { position: static; width: 100%; height: auto; }
.model-detail .gallery .ph { min-height: 480px; }
.model-detail .split-text { justify-content: flex-start; position: sticky; top: 90px; align-self: flex-start; }

.ig-widget { min-height: 200px; }
.ig-consent {
    border: 1px dashed var(--line-strong); padding: 40px 24px; display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center;
}
.ig-consent p { margin: 0; color: var(--text-2); max-width: 520px; }

.cta { display: flex; flex-wrap: wrap; gap: 32px; align-items: center; justify-content: space-between; }
.cta > div:first-child { display: flex; flex-direction: column; gap: 16px; flex: 1 1 420px; }

.prose { color: var(--text-2); font-size: 16px; line-height: 1.75; margin-top: 32px; }

/* ----- Vista / Sole ----- */
.kind-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); border-bottom: 1px solid var(--line); }
.kind-tile {
    position: relative; display: flex; align-items: flex-end; min-height: clamp(260px, 32vw, 460px);
    background: var(--surface); overflow: hidden; text-decoration: none; color: var(--text);
}
.kind-tile + .kind-tile { border-left: 1px solid var(--line); }
.kind-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .7; transition: opacity .3s, transform .5s ease; }
.kind-tile:hover img { opacity: .85; transform: scale(1.03); }
.kind-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(14,14,14,.85), rgba(14,14,14,0) 60%); }
.kind-text { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 8px; padding: 32px var(--gutter); }
.kind-name { font-family: var(--display); font-weight: 700; font-size: clamp(28px, 4vw, 52px); letter-spacing: .06em; text-transform: uppercase; }
.kind-sub { font-size: 14px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-2); }
.kind-tile:hover .kind-sub { color: var(--accent); }

.tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.tabs a {
    display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px;
    border: 1px solid var(--line-strong); text-decoration: none; font-size: 13px; letter-spacing: .14em; text-transform: uppercase;
}
.tabs a:hover { border-color: var(--text); }
.tabs a[aria-current="page"] { background: var(--text); color: var(--bg); border-color: var(--text); }
.tabs .count { font-size: 12px; color: var(--text-3); letter-spacing: 0; }
.tabs a[aria-current="page"] .count { color: #555; }

@media (prefers-reduced-motion: reduce) { .kind-tile img { transition: none; } }

/* ----- Prova virtuale ----- */
.tryon-intro { display: flex; flex-direction: column; gap: 16px; margin-bottom: 40px; }
.tryon-privacy { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.tryon-layout { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start; }
.tryon-stage { position: relative; flex: 999 1 520px; min-width: 0; background: var(--surface); aspect-ratio: 4 / 3; overflow: hidden; }
.tryon-stage video { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.tryon-stage canvas { width: 100%; height: 100%; object-fit: contain; display: block; }
.tryon-stage.mirror canvas { transform: scaleX(-1); }
.tryon-placeholder { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 24px; text-align: center;
    color: var(--text-3); font-size: 13px; letter-spacing: .16em; text-transform: uppercase; }
.tryon-placeholder[hidden] { display: none; }
.tryon-controls { flex: 1 1 300px; display: flex; flex-direction: column; gap: 24px; }
.tryon-models { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tryon-models legend { margin-bottom: 10px; padding: 0; }
.tryon-model {
    display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; cursor: pointer;
    border: 1px solid var(--line-strong); background: transparent; color: var(--text); font: 500 14px/1 var(--body);
}
.tryon-model:hover { border-color: var(--text); }
.tryon-model[aria-pressed="true"] { background: var(--text); color: var(--bg); border-color: var(--text); }
.tryon-upload { border-style: dashed; color: var(--text-2); }
.tryon-adjust { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px 16px; align-items: center; }
.tryon-adjust input[type=range] { width: 100%; accent-color: var(--accent); min-height: 44px; }
.tryon-status { min-height: 1.5em; font-size: 14px; }
.btn:disabled { opacity: .4; cursor: not-allowed; }

/* ----- Footer ----- */
.site-footer { padding: 56px var(--gutter) 32px; display: flex; flex-direction: column; gap: 40px; }
.footer-cols { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px; }
.footer-brand, .footer-col { display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.footer-brand .logo { font-size: 18px; }
.label { font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-3); }
.footer-bottom {
    display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px;
    padding-top: 24px; border-top: 1px solid var(--line); font-size: 13px; color: var(--text-3);
}
.footer-links { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-links a { color: var(--text-2); }

/* ----- Banner cookie ----- */
.cookie-banner {
    position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 200; max-width: 720px; margin: 0 auto;
    background: #161616; border: 1px solid var(--line-strong); padding: 20px 24px;
    display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; box-shadow: 0 12px 40px rgba(0,0,0,.5);
}
.cookie-banner[hidden] { display: none; }
.cookie-banner p { margin: 0; flex: 1 1 320px; font-size: 14px; color: var(--text-2); }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.cookie-actions .btn { min-height: 44px; padding: 0 18px; }

@media (max-width: 720px) {
    .site-header { position: static; }
    .main-nav { width: 100%; order: 3; gap: 4px 20px; }
    .model-detail .split-text { position: static; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .model-img img { transition: none; }
}

/* =====================================================================
   SHOP: carrello, configuratore lenti, cassa, account
   ===================================================================== */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.small { font-size: 13px; }
[hidden] { display: none !important; }

/* Icone account e carrello in alto */
.shop-icons { display: flex; gap: 2px; }
.shop-icons a { position: relative; display: flex; width: 44px; height: 44px; align-items: center; justify-content: center; }
.cart-count {
    position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px;
    background: var(--text); color: var(--bg); font-size: 11px; font-weight: 700; line-height: 18px; text-align: center;
}
.card-price { margin: 0; font-size: 14px; white-space: nowrap; }

/* Messaggi */
.notice { margin: 0 0 16px; padding: 12px 16px; border: 1px solid var(--line-strong); color: var(--text); }
.notice.ok { border-color: #3d6b4a; background: rgba(61, 107, 74, .15); }
.notice.err { border-color: #a5443d; background: rgba(165, 68, 61, .15); }
.notice.warn { border-color: #9a7a3a; background: rgba(154, 122, 58, .15); }
.form-errors:empty, .form-errors.validation-summary-valid { display: none; }
.form-errors { border: 1px solid #a5443d; background: rgba(165, 68, 61, .15); padding: 12px 16px; margin-bottom: 16px; font-size: 14px; }
.form-errors ul { margin: 0; padding-left: 18px; }

/* Campi dei moduli (tema scuro) */
.shop-page .field, .buy-box .field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.shop-page .field label, .buy-box .field label { font-size: 13px; color: var(--text-2); }
.shop-page input[type=text], .shop-page input[type=email], .shop-page input[type=tel], .shop-page input[type=password],
.shop-page input:not([type]), .shop-page select,
.buy-box input[type=text], .buy-box input[type=number], .buy-box input[type=file], .buy-box select {
    width: 100%; min-height: 44px; padding: 10px 12px; background: var(--surface); color: var(--text);
    border: 1px solid var(--line-strong); border-radius: 0; font: inherit; font-size: 15px;
}
.shop-page input:focus, .shop-page select:focus, .buy-box input:focus, .buy-box select:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.check { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 14px; font-size: 14px; color: var(--text-2); cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--accent); flex: none; }
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 0 16px; }
.form-grid .span2 { grid-column: 1 / -1; }
.form-block { border: 0; padding: 0; margin: 0 0 32px; }
.form-block > legend, .form-block > h2 { margin-bottom: 14px; padding: 0; }
.btn.wide { width: 100%; }

/* Riquadro di acquisto nella scheda modello */
.model-detail.has-buy .split-text { position: static; }
.buy-box { border-top: 1px solid var(--line); padding-top: 24px; display: flex; flex-direction: column; gap: 16px; }
.price-line { margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; }
.price { font-family: var(--display); font-size: 26px; letter-spacing: .04em; }
.buy-form { display: flex; flex-direction: column; gap: 4px; }
.opt-group { border: 0; padding: 0; margin: 0 0 22px; min-width: 0; }
.opt-group > legend { padding: 0; margin-bottom: 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span {
    display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px;
    border: 1px solid var(--line-strong); font-size: 14px;
}
.chip input:checked + span { background: var(--text); color: var(--bg); border-color: var(--text); }
.chip input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.chip:hover span { border-color: var(--text); }
.chip.is-out span { opacity: .45; text-decoration: line-through; cursor: not-allowed; }
.opt-list { display: flex; flex-direction: column; gap: 8px; }
.opt {
    display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: start;
    padding: 14px 16px; border: 1px solid var(--line-strong); cursor: pointer;
}
.opt:hover { border-color: var(--text-2); }
.opt:has(input:checked) { border-color: var(--text); background: rgba(242, 240, 235, .05); }
.opt input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--accent); }
.opt-body { display: flex; flex-direction: column; gap: 2px; font-size: 15px; }
.opt-body b { font-weight: 600; }
.opt-body small { color: var(--text-2); font-size: 13px; }
.opt-price { font-size: 14px; color: var(--text-2); white-space: nowrap; }
.rx-panel { margin-top: 16px; }
.rx-table { display: grid; grid-template-columns: 76px repeat(3, minmax(0, 1fr)); gap: 8px; align-items: center; margin-bottom: 12px; }
.rx-table .label { text-align: center; }
.rx-eye { font-weight: 600; font-size: 14px; display: flex; flex-direction: column; }
.rx-eye small { font-weight: 400; color: var(--text-3); font-size: 12px; }
.rx-table select, .rx-table input { padding: 8px 6px !important; text-align: center; }
.rx-extra { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 0 12px; }
.buy-actions { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px; margin-top: 8px; }
.buy-actions .qty { width: 90px; margin: 0; }
.buy-actions .btn { flex: 1 1 260px; }

/* Carrello e cassa */
.shop-page { display: flex; flex-direction: column; gap: 24px; }
.shop-page > .h2 { margin-bottom: 8px; }
.cart-layout { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; }
.cart-lines, .checkout-fields { flex: 999 1 520px; min-width: 0; }
.cart-summary {
    flex: 1 1 320px; display: flex; flex-direction: column; gap: 16px; padding: 24px;
    border: 1px solid var(--line-strong); background: var(--surface); position: sticky; top: 100px;
}
.cart-line { display: grid; grid-template-columns: 140px minmax(0, 1fr) auto; gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.cart-line:first-child { padding-top: 0; }
.cart-img { display: block; aspect-ratio: 4 / 3; background: var(--surface); overflow: hidden; }
.cart-img img { width: 100%; height: 100%; object-fit: cover; }
.cart-info { display: flex; flex-direction: column; gap: 6px; }
.cart-info p { margin: 0; }
.cart-name { margin: 0; font-size: 15px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.cart-name a { text-decoration: none; }
.cart-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 6px; }
.cart-actions select { width: auto !important; min-width: 70px; }
.inline-form { display: inline-flex; gap: 8px; align-items: center; margin: 0; }
.cart-price { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; text-align: right; }
.coupon-row { display: flex; gap: 8px; margin-top: 8px; }
.coupon-row input { flex: 1; min-width: 0; }
.coupon-form .notice { margin: 8px 0 0; }
.totals { margin: 0; display: flex; flex-direction: column; gap: 8px; font-size: 15px; }
.totals > div { display: flex; justify-content: space-between; gap: 16px; }
.totals dt { color: var(--text-2); }
.totals dd { margin: 0; }
.totals .grand { border-top: 1px solid var(--line-strong); padding-top: 12px; margin-top: 4px; font-size: 18px; font-weight: 600; }
.totals .grand dt { color: var(--text); }
.totals small { font-weight: 400; color: var(--text-3); font-size: 12px; }
.mini-lines { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; font-size: 14px; }
.mini-lines li { display: flex; justify-content: space-between; gap: 16px; }
.mini-lines li > span:last-child { white-space: nowrap; }

/* Pagina ordine e account */
.narrow-shop { max-width: 760px; margin: 0 auto; border-bottom: 0; }
.order-box { border: 1px solid var(--line-strong); background: var(--surface); padding: 24px; display: flex; flex-direction: column; gap: 20px; }
.retry-form { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.status-pill { margin: 0; }
.auth-box { max-width: 480px; margin: 0 auto; border-bottom: 0; }
.order-list { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.order-row {
    display: grid; grid-template-columns: 140px minmax(0, 1fr) 140px 100px; gap: 16px; align-items: center;
    padding: 16px 0; border-bottom: 1px solid var(--line); text-decoration: none; font-size: 14px;
}
.order-row:hover { background: rgba(242, 240, 235, .03); }
.order-row > span:last-child { text-align: right; }
.account-forms { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px; margin-top: 24px; }

@media (max-width: 720px) {
    .cart-summary { position: static; }
    .cart-line { grid-template-columns: 96px minmax(0, 1fr); }
    .cart-price { grid-column: 2; align-items: flex-start; text-align: left; }
    .order-row { grid-template-columns: 1fr auto; }
    .order-row > span:nth-child(2) { grid-column: 1 / -1; order: 3; }
    .rx-table { grid-template-columns: 56px repeat(3, minmax(0, 1fr)); gap: 6px; }
}
