/* =========================================================
   TEAM AQUA — Pagine interne (TARL, Shop, Prodotto)
   Usa i token di style.css
   ========================================================= */

/* ---------- Page hero ---------- */
.page-hero { position: relative; overflow: hidden; padding: 150px 0 clamp(56px, 7vw, 96px); background: radial-gradient(110% 90% at 80% 0%, #1b4fc4 0%, #0b1d4d 35%, var(--abyss) 72%); }
.page-hero::before { content: ""; position: absolute; inset: 0; background: url(../img/background-ta_2025.png) center/800px; filter: invert(1); opacity: .045; pointer-events: none; }
.page-hero::after { content: ""; position: absolute; inset: 0; background-image: var(--grain); opacity: .08; mix-blend-mode: overlay; pointer-events: none; }
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero__title { font-size: clamp(4rem, 13vw, 13rem); margin: 22px 0 22px; }
.page-hero__title .outline { -webkit-text-stroke-width: 2px; }
.crumbs { display: flex; gap: 10px; flex-wrap: wrap; font-family: var(--f-mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.crumbs a:hover { color: var(--white); }
.crumbs span[aria-current] { color: var(--aqua-200); }

/* ---------- Info strip ---------- */
.info-strip { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-top: clamp(32px, 5vw, 56px); }
@media (min-width: 900px) { .info-strip { grid-template-columns: repeat(4, 1fr); } }
.info-strip > div { padding: 22px 20px 22px 0; }
.info-strip > div + div { padding-left: 20px; border-left: 1px solid var(--line); }
@media (max-width: 899px) { .info-strip > div:nth-child(3) { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); } .info-strip > div:nth-child(4) { border-top: 1px solid var(--line); } }
.info-strip small { display: block; font-family: var(--f-mono); font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--aqua-200); margin-bottom: 6px; }
.info-strip b { font-family: var(--f-display); font-weight: 400; font-size: clamp(1.6rem, 2.4vw, 2.3rem); line-height: 1; }

/* ---------- Generic two-col ---------- */
.split { display: grid; gap: clamp(28px, 5vw, 80px); grid-template-columns: 1fr; align-items: start; }
@media (min-width: 1000px) { .split { grid-template-columns: 1fr 1.2fr; } .split--rev { grid-template-columns: 1.2fr 1fr; } }
.prose { color: var(--muted); font-size: 1.05rem; }
.prose p { margin: 0 0 1.1em; }
.prose strong { color: var(--white); font-weight: 600; }
.prose ul { padding-left: 1.2em; margin: 0 0 1.1em; }
.prose li { margin-bottom: .4em; }
.media-frame { position: relative; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); }
.media-frame img { width: 100%; height: 100%; object-fit: cover; }
.sticky-col { position: sticky; top: 110px; }

/* ---------- Feature cards (pilastri) ---------- */
.pillars { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .pillars { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .pillars { grid-template-columns: repeat(4, 1fr); } }
.pillar { padding: 26px; border-radius: var(--r-lg); background: var(--deep); border: 1px solid var(--line); min-height: 240px; display: flex; flex-direction: column; gap: 14px; position: relative; overflow: hidden; }
.pillar__num { font-family: var(--f-display); font-size: 5rem; line-height: .8; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.25); }
.pillar h3 { font-family: var(--f-display); font-weight: 400; font-size: 2rem; line-height: .95; text-transform: uppercase; margin: auto 0 0; }
.pillar p { margin: 0; color: var(--muted); font-size: .92rem; }

/* ---------- Timeline ---------- */
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 11px; top: 8px; bottom: 8px; width: 1px; background: linear-gradient(var(--aqua), transparent); }
.timeline li { position: relative; padding: 0 0 32px 48px; }
.timeline li::before { content: ""; position: absolute; left: 4px; top: 6px; width: 15px; height: 15px; border-radius: 50%; background: var(--abyss); border: 2px solid var(--aqua-400); }
.timeline li.is-key::before { background: var(--gold); border-color: var(--gold); box-shadow: 0 0 0 6px rgba(244,198,78,.15); }
.timeline small { font-family: var(--f-mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--aqua-200); }
.timeline strong { display: block; font-family: var(--f-display); font-weight: 400; font-size: 1.9rem; line-height: 1; text-transform: uppercase; margin: 6px 0 6px; }
.timeline p { margin: 0; color: var(--muted); font-size: .95rem; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 22px 0; font-family: var(--f-display); font-size: clamp(1.4rem, 2vw, 1.9rem); line-height: 1.05; text-transform: uppercase; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center; font-family: var(--f-body); font-size: 1.3rem; transition: transform .4s var(--ease), background .3s; }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--white); color: var(--abyss); }
.faq details > div { padding: 0 0 24px; color: var(--muted); max-width: 70ch; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; border-radius: var(--r-lg); padding: clamp(32px, 6vw, 80px); background: linear-gradient(130deg, var(--aqua), #0e2f8f 65%, var(--deep)); isolation: isolate; }
.cta-band::after { content: ""; position: absolute; right: -6%; top: 50%; width: 46%; aspect-ratio: 1; transform: translateY(-50%); background: url(../img/mark-white.png) center/contain no-repeat; opacity: .1; z-index: -1; }
.cta-band h2 { margin: 16px 0 18px; max-width: 14ch; }
.cta-band p { color: rgba(255,255,255,.82); max-width: 50ch; margin: 0 0 28px; }
.cta-band__row { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Countdown ---------- */
.countdown { display: flex; gap: 10px; flex-wrap: wrap; }
.countdown div { min-width: 86px; padding: 14px 12px 10px; border-radius: var(--r-md); background: rgba(4,10,28,.55); border: 1px solid var(--line); text-align: center; backdrop-filter: blur(10px); }
.countdown b { display: block; font-family: var(--f-display); font-weight: 400; font-size: 2.8rem; line-height: .9; }
.countdown small { font-family: var(--f-mono); font-size: .6rem; letter-spacing: .14em; text-transform: uppercase; color: var(--aqua-200); }

/* ---------- Home: TARL spotlight ---------- */
.spotlight { position: relative; display: grid; gap: 0; grid-template-columns: 1fr; border-radius: var(--r-lg); overflow: hidden; border: 1px solid rgba(244,198,78,.35); background: linear-gradient(120deg, #0d1f55, var(--deep) 60%); isolation: isolate; }
@media (min-width: 1000px) { .spotlight { grid-template-columns: 1.15fr 1fr; } }
.spotlight__body { padding: clamp(28px, 4.5vw, 64px); display: flex; flex-direction: column; gap: 18px; position: relative; }
.spotlight__mega { position: absolute; right: -2%; bottom: -10%; font-family: var(--f-display); font-size: clamp(9rem, 20vw, 20rem); line-height: .8; color: transparent; -webkit-text-stroke: 1px rgba(244,198,78,.18); z-index: -1; pointer-events: none; }
.spotlight__media { position: relative; min-height: 320px; }
.spotlight__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.spotlight__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #0d1f55 0%, transparent 40%); }
@media (max-width: 999px) { .spotlight__media::after { background: linear-gradient(0deg, var(--deep) 0%, transparent 50%); } }
.spotlight h2 { margin: 0; }
.spotlight p { margin: 0; color: var(--muted); max-width: 48ch; }

/* =========================================================
   SHOP LISTING
   ========================================================= */
.shop-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding: 18px 0; border-bottom: 1px solid var(--line); margin-bottom: 32px; position: sticky; top: 72px; z-index: 5; background: rgba(4,10,28,.88); backdrop-filter: blur(12px); }
.select { height: 40px; padding: 0 38px 0 16px; border-radius: 999px; border: 1px solid var(--line-strong); background: transparent url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='white' stroke-width='1.5'><path d='M2 4l4 4 4-4'/></svg>") right 14px center no-repeat; color: var(--foam); font-family: var(--f-mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; appearance: none; }
.select option { color: #000; }
.product-grid { display: grid; gap: 28px 16px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .product-grid { grid-template-columns: repeat(3, 1fr); } }

.product-grid .product--wide { grid-column: span 2; }
.product-grid .product--wide .product__media { aspect-ratio: 2 / 1; }
.product__media .alt { position: absolute; inset: 0; opacity: 0; transition: opacity .5s; }
.product:hover .product__media .alt { opacity: 1; }
.product__sub { font-size: .8rem; color: var(--muted); margin-top: -8px; }
.soldout { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(4,10,28,.45); font-family: var(--f-mono); font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; }
.perks { display: grid; gap: 0; grid-template-columns: 1fr; border-top: 1px solid var(--line); margin-top: clamp(56px, 7vw, 96px); }
@media (min-width: 760px) { .perks { grid-template-columns: repeat(3, 1fr); } }
.perks > div { padding: 26px 24px 26px 0; display: flex; gap: 14px; align-items: flex-start; border-bottom: 1px solid var(--line); }
@media (min-width: 760px) { .perks > div + div { padding-left: 24px; border-left: 1px solid var(--line); } }
.perks b { display: block; font-family: var(--f-display); font-weight: 400; font-size: 1.5rem; line-height: 1; text-transform: uppercase; margin-bottom: 6px; }
.perks span { font-size: .85rem; color: var(--muted); }
.perks i { flex: none; width: 40px; height: 40px; border-radius: 50%; background: rgba(31,95,224,.2); display: grid; place-items: center; font-style: normal; }

/* =========================================================
   PRODUCT PAGE
   ========================================================= */
.pdp { display: grid; gap: clamp(24px, 4vw, 64px); grid-template-columns: 1fr; padding-top: 120px; }
@media (min-width: 1000px) { .pdp { grid-template-columns: 1.25fr 1fr; } }
.gallery { display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 1000px) { .gallery { grid-template-columns: 84px 1fr; } }
.gallery__thumbs { display: flex; gap: 10px; order: 2; overflow-x: auto; }
@media (min-width: 1000px) { .gallery__thumbs { flex-direction: column; order: 0; } }
.gallery__thumbs button { flex: none; width: 76px; aspect-ratio: 1; border-radius: 10px; overflow: hidden; background: #e9edf5; border: 2px solid transparent; transition: border-color .3s; }
.gallery__thumbs button[aria-current="true"] { border-color: var(--aqua-400); }
.gallery__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.gallery__main { position: relative; aspect-ratio: 1; border-radius: var(--r-lg); overflow: hidden; background: #e9edf5; cursor: zoom-in; }
.gallery__main img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease), opacity .3s; }
.gallery__main.is-zoom img { transform: scale(1.8); cursor: zoom-out; }
.buybox { display: flex; flex-direction: column; gap: 22px; }
@media (min-width: 1000px) { .buybox { position: sticky; top: 100px; align-self: start; } }
.buybox h1 { font-size: clamp(3rem, 5.4vw, 5rem); margin: 0; }
.price { display: flex; align-items: baseline; gap: 14px; font-family: var(--f-display); font-size: 2.6rem; line-height: 1; }
.price s { font-size: 1.5rem; color: var(--muted); }
.price small { font-family: var(--f-mono); font-size: .66rem; letter-spacing: .1em; color: var(--muted); text-transform: uppercase; }
.opt-label { display: flex; justify-content: space-between; font-family: var(--f-mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--aqua-200); margin-bottom: 10px; }
.opt-label a { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.sizes { display: flex; flex-wrap: wrap; gap: 8px; }
.sizes button { min-width: 56px; height: 48px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line-strong); font-family: var(--f-mono); font-size: .8rem; letter-spacing: .06em; transition: all .25s; }
.sizes button:hover { border-color: var(--white); }
.sizes button[aria-pressed="true"] { background: var(--white); color: var(--abyss); border-color: var(--white); }
.sizes button:disabled { opacity: .3; text-decoration: line-through; cursor: not-allowed; }
.qty { display: inline-flex; align-items: center; height: 52px; border-radius: 999px; border: 1px solid var(--line-strong); }
.qty button { width: 46px; height: 100%; font-size: 1.2rem; }
.qty output { min-width: 28px; text-align: center; font-family: var(--f-mono); }
.buy-row { display: flex; gap: 10px; }
.buy-row .btn { flex: 1; justify-content: center; }
.note-line { display: flex; gap: 10px; align-items: center; font-size: .82rem; color: var(--muted); }
.note-line::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #6ee7a8; flex: none; }
.acc { border-top: 1px solid var(--line); }
.acc details { border-bottom: 1px solid var(--line); }
.acc summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; padding: 18px 0; font-family: var(--f-mono); font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: "+"; font-size: 1rem; transition: transform .3s; }
.acc details[open] summary::after { transform: rotate(45deg); }
.acc details > div { padding: 0 0 20px; color: var(--muted); font-size: .92rem; }
.acc table { width: 100%; border-collapse: collapse; font-family: var(--f-mono); font-size: .78rem; }
.acc th, .acc td { padding: 8px 6px; border-bottom: 1px solid var(--line); text-align: left; }
.worn { display: flex; gap: 14px; align-items: center; padding: 14px; border-radius: var(--r-md); background: var(--deep); border: 1px solid var(--line); }
.worn img { width: 64px; height: 64px; object-fit: cover; object-position: top; border-radius: 50%; background: var(--navy); }
.worn span { font-size: .85rem; color: var(--muted); }
.worn b { color: var(--white); display: block; font-weight: 600; }
.sticky-buy { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: flex; gap: 12px; align-items: center; justify-content: space-between; padding: 12px var(--gutter); background: rgba(4,10,28,.92); backdrop-filter: blur(12px); border-top: 1px solid var(--line); transform: translateY(110%); transition: transform .5s var(--ease); }
.sticky-buy.is-on { transform: none; }
.sticky-buy strong { font-family: var(--f-display); font-weight: 400; font-size: 1.4rem; line-height: 1; }
.toast { position: fixed; right: var(--gutter); top: 96px; z-index: 95; padding: 16px 20px; border-radius: var(--r-md); background: var(--white); color: var(--abyss); font-weight: 600; box-shadow: 0 20px 50px rgba(0,0,0,.4); transform: translateY(-20px); opacity: 0; transition: all .4s var(--ease); pointer-events: none; }
.toast.is-on { transform: none; opacity: 1; }

/* =========================================================
   Revisione pagine interne (grafica, usabilità, struttura)
   ========================================================= */
/* ---------- Header: badge del carrello sempre visibile ---------- */
.header-shop { position: relative; overflow: visible; transition: background .3s, color .3s; }
.header-shop::after { display: none; }
.header-shop:hover { background: var(--white); color: var(--abyss); }
.cart-badge { position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--gold); color: #1b1203; font: 700 11px/20px var(--f-mono); letter-spacing: 0; text-align: center; box-shadow: 0 0 0 2px var(--abyss); }
.cart-badge:empty { display: none; }

/* ---------- TARL ---------- */
.tarl { --fs-card: clamp(1.9rem, 2.4vw, 2.4rem); }
.tarl .venue h3, .tarl .prof h3, .tarl .plan__name { font-size: var(--fs-card); }
.tarl .prof--mystery h3 { font-size: 4rem; }
.tarl .split .h2 { font-size: clamp(2.6rem, 4.6vw, 4.8rem); }
.plan__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; min-height: calc(var(--fs-card) * 1.8); }
.tarl .plan__refund { font-family: var(--f-body); font-size: .85rem; letter-spacing: 0; color: var(--foam); opacity: .8; }
.plan-trust { margin: 24px 0 0; font-size: .92rem; color: var(--muted); }
.plan-trust a { color: var(--aqua-200); text-decoration: underline; text-underline-offset: 3px; }
.steps__title { margin: clamp(48px, 6vw, 72px) 0 20px; }
@media (min-width: 761px) and (max-width: 999px) {
  .tarl .pricing { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .tarl .plan { padding: 22px; gap: 14px; }
  .tarl .plan__price { font-size: 3.6rem; }
  .tarl .plan__price small { margin-top: 12px; line-height: 1.4; }
  .tarl .plan .btn { padding: 0 14px; letter-spacing: .06em; font-size: .72rem; white-space: nowrap; }
  .tarl .plan .btn svg { display: none; }
  .tarl .plan__head { flex-wrap: wrap; }
  .tarl .plan__head .tag { white-space: nowrap; }
  .tarl { --fs-card: 1.8rem; }
}
@media (max-width: 999px) { .tarl .split--rev .media-frame { display: none; } }
.rail-nav button:disabled { opacity: .3; pointer-events: none; }
.tarl-final { display: flex; flex-wrap: wrap; gap: 24px 40px; align-items: flex-end; justify-content: space-between; padding: clamp(28px, 5vw, 64px); border-radius: var(--r-lg); border: 1px solid rgba(244,198,78,.4); background: linear-gradient(120deg, #0d1f55, var(--deep) 70%); }
.tarl-final .h2 { margin: 16px 0 0; }
/* modulo */
.form-dark label { display: block; }
.field-label { display: block; margin-bottom: 8px; font-family: var(--f-mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--aqua-200); }
.form-dark [aria-invalid="true"] { border-color: #ff8094; box-shadow: 0 0 0 1px #ff8094; }
.form-dark input:focus-visible, .form-dark textarea:focus-visible { outline: 2px solid var(--aqua-400); outline-offset: 2px; }
.form__ok:focus { outline: none; }
/* CTA fissa su telefono */
.tarl-sticky { position: fixed; left: var(--gutter); right: var(--gutter); bottom: max(12px, env(safe-area-inset-bottom)); z-index: 40; height: 52px; display: none; gap: 10px; align-items: center; justify-content: center; border-radius: 999px; background: var(--gold); color: #1b1203; font: 600 .8rem var(--f-mono); letter-spacing: .12em; text-transform: uppercase; box-shadow: 0 12px 30px rgba(0,0,0,.45); transform: translateY(160%); visibility: hidden; transition: transform .4s var(--ease), visibility 0s linear .4s; }
.tarl-sticky svg { width: 16px; height: 16px; }
.tarl-sticky.is-on { transform: none; visibility: visible; transition: transform .4s var(--ease), visibility 0s; }
@media (max-width: 760px) {
  .tarl-sticky { display: flex; }
  .tarl .tarl-hero::before { background: linear-gradient(180deg, rgba(4,10,28,.7) 0%, rgba(4,10,28,.84) 55%, var(--abyss) 100%); }
  .tarl .tarl-hero__logo { width: 72px; margin-bottom: 14px; }
  .tarl .tarl-hero h1 { margin: 12px 0; }
  .tarl .tarl-hero .countdown div { min-width: 0; flex: 1; }
  .plan__head { min-height: 0; }
  .tarl-final .btn { width: 100%; justify-content: center; }
}

/* ---------- SHOP ---------- */
.page-hero--compact { padding: 130px 0 clamp(32px, 4vw, 56px); }
.page-hero--compact .page-hero__title { font-size: var(--fs-h1); margin: 18px 0 14px; }
@media (min-width: 761px) { .shop-banner > div { max-width: min(46ch, 56%); } }
@media (min-width: 761px) and (max-width: 1100px) { .shop-banner__img { right: -10%; opacity: .75; } }
.shop-head { margin: clamp(56px, 7vw, 96px) 0 0; }
.shop-count { margin: 0; font-family: var(--f-mono); font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.shop-empty { grid-column: 1 / -1; padding: 40px 0; color: var(--muted); }
.shop-empty button { margin-left: 8px; }
.product-grid .product { animation: pIn .5s var(--ease) both; }
@keyframes pIn { from { opacity: 0; transform: translateY(14px); } }
@media (max-width: 760px) {
  .page-hero--compact { padding: 104px 0 28px; }
  .shop-banner { min-height: 320px; }
  .shop-toolbar { position: static; padding: 12px 0 16px; margin-bottom: 20px; background: none; backdrop-filter: none; }
  .shop-toolbar .chip { height: 44px; }
  .shop-toolbar label, .shop-toolbar .select { width: 100%; }
  .select { height: 44px; font-size: 16px; letter-spacing: .04em; }
}
@media (max-width: 480px) {
  .product__row { flex-direction: column; gap: 2px; }
}

/* ---------- PRODOTTO ---------- */
.pdp-crumbs { padding-top: 112px; margin: 0 0 20px; }
.pdp { padding-top: 0; }
@media (min-width: 700px) and (max-width: 999px) {
  .pdp { grid-template-columns: 1.05fr 1fr; }
  .buybox { position: sticky; top: 92px; align-self: start; }
  .buybox h1 { font-size: 2.8rem; }
}
@media (max-width: 999px) {
  .pdp-crumbs { padding-top: 92px; }
  .gallery__main { max-height: 52svh; aspect-ratio: auto; height: min(100vw, 52svh); }
}
@media (max-width: 699px) { .gallery__main { height: min(calc(100vw - var(--gutter) * 2), 46svh); } }
@media (hover: none) { .gallery__main { cursor: default; } .gallery__main.is-zoom img { transform: none; } }
.opt-label a { padding: 14px 0; margin: -14px 0; }
.sizes--players { display: grid; grid-template-columns: repeat(3, 1fr); max-height: 224px; overflow-y: auto; overscroll-behavior: contain; padding: 2px 4px 2px 2px; scrollbar-width: thin; }
.sizes--players button { min-width: 0; padding: 0 6px; font-size: .72rem; }
@media (min-width: 1000px) { .sizes--players { grid-template-columns: repeat(4, 1fr); } }
.sizes__sep { flex: 0 0 100%; margin-top: 4px; font: .68rem var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.sizes__sep:first-child { margin-top: 0; }
.sizes button.swatch { width: 48px; min-width: 48px; padding: 0; border-radius: 50%; }
.sizes button.swatch span { display: block; width: 30px; height: 30px; margin: auto; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(255,255,255,.3); }
.sizes button.swatch[aria-pressed="true"] { background: transparent; border-color: transparent; box-shadow: 0 0 0 2px var(--white); }
.opt-err { margin: 10px 0 0; font-size: .85rem; font-weight: 600; color: #ffb3c0; }
.opt.has-error .sizes button:not(.swatch) { border-color: rgba(255,128,148,.7); }
.opt.has-error .opt-label { color: #ffb3c0; }
.note-line[data-state="pick"]::before { background: var(--muted); }
.note-line[data-state="out"]::before { background: #ff8094; }
.note-line[data-state="out"] { color: #ffb3c0; }
.qty button:disabled { opacity: .3; cursor: not-allowed; }
.buy-row .btn { line-height: 1.2; text-align: center; padding: 0 16px; }
#addCart:disabled { opacity: .45; cursor: not-allowed; }
#buyNow.is-disabled { opacity: .5; }
@media (max-width: 480px) {
  .buy-row { flex-wrap: wrap; }
  .buy-row .qty { width: 100%; justify-content: space-between; }
  .buy-row .btn { flex: 1 1 100%; }
}
.pdp-related { padding-top: clamp(56px, 7vw, 96px); }
/* barra fissa: solo sotto i 1000px, testo che non schiaccia il bottone */
.sticky-buy { padding-bottom: max(12px, env(safe-area-inset-bottom)); visibility: hidden; transition: transform .5s var(--ease), visibility 0s linear .5s; }
.sticky-buy.is-on { visibility: visible; transition: transform .5s var(--ease), visibility 0s; }
.sticky-buy__info { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.sticky-buy strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 1.2rem; }
.sticky-buy__info span { font-family: var(--f-mono); font-size: .75rem; color: var(--aqua-200); }
.sticky-buy .btn { flex: none; }
@media (min-width: 1000px) { .sticky-buy { display: none; } }
@media (max-width: 999px) { body:has(#stickyBuy) { padding-bottom: 76px; } }
/* avviso con link al carrello; su telefono a tutta larghezza sotto l'header, senza coprire i bottoni */
.toast.has-link { pointer-events: auto; }
.toast a { color: var(--aqua); text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
@media (max-width: 760px) {
  .toast { top: 84px; left: var(--gutter); right: var(--gutter); }
}
.product__badge.tag--gold { background: var(--gold); color: #1b1203; border-color: var(--gold); }
