@font-face { font-family: "Lilita One"; src: url(fonts/lilita.woff2) format("woff2"); font-display: swap; }
@font-face { font-family: "Outfit"; src: url(fonts/outfit.woff2) format("woff2"); font-weight: 100 900; font-display: swap; }

/* ---------- palette del logo + temi festivi ---------- */
:root {
  color-scheme: dark;
  --bg: #07030f; --bg2: #160a33; --ink: #f6f1ff; --muted: #a99bc9;
  --accent: #ffd400; --accent-ink: #1a1030; --accent2: #6a2bff; --sale: #ff3d81;
  --card: rgba(255,255,255,.05); --line: rgba(255,255,255,.11); --glow: rgba(106,43,255,.55);
  --display: "Lilita One", "Arial Black", Impact, sans-serif;
  --body: "Outfit", "Segoe UI", system-ui, sans-serif;
  --ease: cubic-bezier(.22,.8,.2,1);
}
[data-theme="halloween"] { --bg:#0a0510; --bg2:#26103a; --ink:#fff1de; --muted:#cdb0e0; --accent:#ff7a1a; --accent-ink:#1b0a00; --accent2:#9a3cff; --sale:#b6ff3c; --glow:rgba(255,122,26,.5); }
[data-theme="natale"] { --bg:#05100b; --bg2:#10301f; --ink:#fff8ee; --muted:#b0d0bd; --accent:#f4d35e; --accent-ink:#2a0a0a; --accent2:#e63946; --sale:#ff4d5a; --glow:rgba(230,57,70,.5); }
[data-theme="capodanno"] { --bg:#04040b; --bg2:#15123a; --ink:#fff8e6; --muted:#b9b4da; --accent:#ffd166; --accent-ink:#1a1400; --accent2:#7c8bff; --sale:#ff5ea8; --glow:rgba(255,209,102,.45); }
[data-theme="sanvalentino"] { --bg:#15040c; --bg2:#401029; --ink:#fff0f4; --muted:#e8b4c6; --accent:#ff5c8a; --accent-ink:#2a0010; --accent2:#ff9ec0; --sale:#ffe14d; --glow:rgba(255,61,110,.5); }
[data-theme="pasqua"] { color-scheme: light; --bg:#fdf6ff; --bg2:#d9f3e6; --ink:#2b1d3d; --muted:#6f5f86; --accent:#e8508a; --accent-ink:#fff; --accent2:#5fc795; --sale:#ff5c8a; --card:rgba(255,255,255,.75); --line:rgba(43,29,61,.14); --glow:rgba(255,127,168,.45); }

* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--body); color: var(--ink); min-height: 100vh; overflow-x: hidden; -webkit-font-smoothing: antialiased;
  background: radial-gradient(120% 80% at 50% -10%, var(--bg2), var(--bg) 65%) fixed; transition: background .8s, color .8s; }
body.loading { overflow: hidden; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- sfondo ---------- */
:root { --bgimg: none; --shade: 7,3,15; }
[data-theme="pasqua"] { --shade: 253,246,255; }
.bg { position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.bgimg { position: absolute; inset: -6% -3%; background: var(--bgimg) center 30% / cover no-repeat; will-change: transform; opacity: 0; transition: opacity 1.6s; filter: saturate(1.15); }
body.ready .bgimg { opacity: 1; }
.bgshade { position: absolute; inset: 0; background:
  radial-gradient(90% 70% at 50% 42%, rgba(var(--shade), .5) 0%, rgba(var(--shade), .78) 62%, rgba(var(--shade), .94) 100%),
  linear-gradient(rgba(var(--shade), .6), rgba(var(--shade), .2) 30%, rgba(var(--shade), .7)); }
.glow { position: absolute; border-radius: 50%; will-change: transform; background-blend-mode: normal; }
.g1 { width: 80vmax; height: 80vmax; left: -32vmax; top: -36vmax; background: radial-gradient(circle, color-mix(in srgb, var(--accent2) 55%, transparent), transparent 66%); opacity: .8; }
.g2 { width: 50vmax; height: 50vmax; right: -22vmax; top: 40vh; background: radial-gradient(circle, color-mix(in srgb, var(--accent) 30%, transparent), transparent 66%); opacity: .5; }
.g3 { width: 70vmax; height: 70vmax; left: 6vw; bottom: -50vmax; background: radial-gradient(circle, color-mix(in srgb, var(--sale) 30%, transparent), transparent 66%); opacity: .45; }
.balls { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; opacity: 0; transition: opacity 1.4s .4s; }
body.ready .balls { opacity: 1; }
.balls.back { z-index: 2; }
#fx { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 1; }

/* ---------- header ---------- */
.top { position: fixed; z-index: 30; top: 0; left: 0; right: 0; padding: calc(10px + env(safe-area-inset-top)) 16px 10px; opacity: 0; transform: translateY(-14px); transition: opacity .8s .3s, transform .8s .3s var(--ease), background .4s, backdrop-filter .4s; }
body.ready .top { opacity: 1; transform: none; }
.top.scrolled { background: color-mix(in srgb, var(--bg) 72%, transparent); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); box-shadow: 0 1px 0 var(--line); }
.bar { max-width: 1280px; margin: 0 auto; display: flex; align-items: center; gap: 14px; min-height: 52px; }
#wordmark { flex: none; height: 38px; width: auto; filter: drop-shadow(0 3px 0 rgba(106,43,255,.55)); }
#wordmark[hidden] { display: none; }
#logo { flex: none; width: 50px; height: 50px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--accent), 0 8px 26px -4px var(--glow); transition: transform .5s var(--ease); }
#logo:hover { transform: rotate(-8deg) scale(1.06); }
.filters { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; flex: 1; padding: 4px 2px; mask-image: linear-gradient(90deg, transparent, #000 12px, #000 calc(100% - 20px), transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12px, #000 calc(100% - 20px), transparent); }
.filters::-webkit-scrollbar { display: none; }
.filters[hidden] { display: none; }
.fpill { flex: none; padding: 9px 16px; border-radius: 999px; font-weight: 700; font-size: .92rem; color: var(--muted); box-shadow: inset 0 0 0 1px var(--line); transition: color .3s, background .3s, box-shadow .3s, transform .3s var(--ease); }
.fpill:hover { color: var(--ink); transform: translateY(-1px); }
.fpill[aria-pressed="true"] { background: var(--accent); color: var(--accent-ink); box-shadow: 0 8px 22px -8px var(--glow); }
.fpill.sale[aria-pressed="false"] { color: var(--sale); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--sale) 50%, transparent); }
.fpill:focus-visible, .card:focus-visible, .fab:focus-visible, .ask:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }

/* ---------- vetrina: griglia editoriale ---------- */
#shop { position: relative; z-index: 10; display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-flow: dense; gap: 30px 22px; max-width: 1280px; margin: 0 auto; padding: 112px 18px 150px; }
body.loading #shop { opacity: 0; }
body.ready #shop { animation: shopIn 1.4s var(--ease) both; }
@keyframes shopIn { from { opacity: 0; transform: scale(1.04); } }
.card { grid-column: span 3; position: relative; display: flex; flex-direction: column; width: 100%; padding: 0; text-align: left; outline: none; border-radius: 28px;
  opacity: 0; transform: translateY(54px); transition: opacity .9s var(--ease), transform 1s var(--ease); }
.card.in { opacity: 1; transform: perspective(1100px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); }
.card.in.tilting { transition: opacity .9s var(--ease); }
.photo { position: relative; aspect-ratio: 4/5; flex: 1 1 auto; border-radius: 28px; overflow: hidden; isolation: isolate;
  background: radial-gradient(circle at 50% 35%, color-mix(in srgb, var(--accent2) 80%, #000), var(--bg2) 80%); transition: box-shadow .5s var(--ease); }
.pic { position: absolute; left: 0; top: -8%; width: 100%; height: 116%; object-fit: cover; will-change: transform; transition: scale 1.2s var(--ease); }
.card:hover .pic { scale: 1.07; }
.ph { position: absolute; inset: 0; display: grid; place-items: center; }
.ph img { width: 54%; border-radius: 50%; box-shadow: 0 0 0 2px var(--accent), 0 0 70px var(--glow); opacity: .9; }
.glare { position: absolute; inset: 0; z-index: 2; pointer-events: none; mix-blend-mode: soft-light; background: radial-gradient(circle at var(--gx, 50%) var(--gy, 0%), rgba(255,255,255,.5), transparent 55%); opacity: 0; transition: opacity .4s; }
.card:hover .glare { opacity: 1; }
.pill { position: absolute; top: 14px; left: 14px; z-index: 3; padding: 6px 12px; border-radius: 999px; background: var(--sale); color: #1a0010; font-weight: 800; font-size: .84rem; box-shadow: 0 8px 20px -6px var(--sale); }
.name { font-family: var(--display); line-height: 1.1; overflow-wrap: anywhere; }
.price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 3px 9px; }
.price b { font-weight: 800; color: var(--accent); }
.price small { color: var(--muted); font-weight: 600; }
.price s { color: var(--muted); font-size: .9em; }
.go { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--accent-ink); transition: transform .5s var(--ease), box-shadow .4s; }
.card:hover .go { transform: rotate(45deg) scale(1.08); box-shadow: 0 0 0 6px color-mix(in srgb, var(--accent) 25%, transparent); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { padding: 4px 10px; border-radius: 999px; background: rgba(255,255,255,.1); font-size: .8rem; font-weight: 700; }
.chip b { color: var(--accent); font-weight: 800; }
.card.feat { grid-column: span 6; grid-row: span 2; }
.card.feat .photo { aspect-ratio: auto; min-height: 0; }
.empty { grid-column: 1 / -1; margin-top: 24vh; text-align: center; font-size: 2.6rem; opacity: .5; }

/* Scheda in stile Gaucho Terps: fumetto, contorno giallo, ombra viola piena come il titolo del logo */
#shop { --navy: #0b0620; gap: 38px 30px; }
#shop .card { background: var(--bg2); border-radius: 22px; padding: 0; overflow: visible;
  box-shadow: 0 0 0 3px var(--accent), 9px 9px 0 3px var(--accent2);
  transition: opacity .9s var(--ease), transform .45s cubic-bezier(.3,1.5,.5,1), box-shadow .35s; }
#shop .card:nth-child(odd) { --r: -1.1deg; } #shop .card:nth-child(even) { --r: 1deg; } #shop .card:nth-child(3n) { --r: -.4deg; }
#shop .card.in { transform: rotate(var(--r, 0deg)); }
#shop .card.in:hover, #shop .card.in:focus-visible { transform: rotate(0deg) translate(-4px, -6px) scale(1.015); box-shadow: 0 0 0 3px var(--accent), 14px 14px 0 3px var(--accent2); }
#shop .card:active { transform: rotate(0deg) translate(3px, 3px); box-shadow: 0 0 0 3px var(--accent), 4px 4px 0 3px var(--accent2); }
#shop .card > .photo { border-radius: 19px 19px 0 0; background: radial-gradient(circle at 50% 38%, #3b1a8f, var(--navy) 85%); }
/* trama a puntini da fumetto sul fondo della foto */
#shop .photo::after { content: ""; position: absolute; inset: auto 0 0 0; height: 45%; z-index: 1; pointer-events: none; opacity: .5;
  background: radial-gradient(circle, rgba(106,43,255,.9) 1.6px, transparent 2px) 0 0 / 11px 11px;
  -webkit-mask-image: linear-gradient(transparent, #000); mask-image: linear-gradient(transparent, #000); }
#shop .meta { position: relative; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 8px 12px; padding: 16px 16px 18px;
  border-top: 3px solid var(--accent); border-radius: 0 0 19px 19px; background: var(--navy); }
#shop .name { grid-column: 1; font-size: 1.3rem; text-transform: uppercase; letter-spacing: .01em; color: #fff; text-shadow: 2px 2px 0 var(--accent2); }
#shop .price { grid-column: 1; justify-self: start; align-items: baseline; padding: 4px 11px 5px; border-radius: 9px; background: var(--accent); transform: rotate(-2deg); box-shadow: 3px 3px 0 var(--accent2); }
#shop .price b { font-size: 1.2rem; color: var(--accent-ink); } #shop .price small, #shop .price s { color: rgba(26,16,48,.7); }
#shop .go { grid-column: 2; grid-row: 1 / span 2; width: 44px; height: 44px; border: 3px solid var(--navy); box-shadow: 0 0 0 2px var(--accent), 3px 3px 0 2px var(--accent2); }
#shop .chips { grid-column: 1 / -1; margin-top: 2px; }
#shop .chip { background: transparent; box-shadow: inset 0 0 0 2px rgba(255,212,0,.55); color: #fff; }
#shop .pill { top: 16px; left: 12px; padding: 6px 14px 6px 16px; border-radius: 4px 12px 12px 4px; transform: rotate(-4deg); background: var(--sale); color: #1a0010; font-family: var(--display); font-size: 1rem; letter-spacing: .02em;
  box-shadow: 3px 3px 0 var(--navy), 0 0 0 2px var(--navy); }
#shop .card.feat .name { font-size: 2rem; } #shop .card.feat .price b { font-size: 1.6rem; }
.fpill { font-family: var(--display); letter-spacing: .02em; font-size: 1rem; }
.fpill[aria-pressed="true"] { box-shadow: 3px 3px 0 var(--accent2); transform: rotate(-1.5deg); }

/* ---------- scheda prodotto ---------- */
.modal { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; padding: 16px; background: rgba(4,2,10,.72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); animation: fade .35s; }
.modal[hidden] { display: none; }
@keyframes fade { from { opacity: 0; } }
.sheet { position: relative; width: min(920px, 100%); max-height: 92vh; overflow: auto; display: grid; grid-template-columns: 1fr 1fr; border-radius: 30px; background: linear-gradient(170deg, var(--bg2), var(--bg)); box-shadow: 0 0 0 1px var(--line), 0 50px 120px -20px var(--glow); animation: rise .65s var(--ease); }
@keyframes rise { from { transform: translateY(60px) scale(.95); opacity: 0; } }
.sheet .photo { border-radius: 0; box-shadow: none; aspect-ratio: auto; min-height: 100%; }
.sheet .pic { top: 0; height: 100%; }
.sheet .info { padding: 34px 30px 30px; display: grid; gap: 22px; align-content: center; }
.sheet .info .name { font-size: 2.2rem; color: var(--ink); text-shadow: none; }
.sheet .tag { color: var(--muted); font-weight: 600; margin-top: -10px; }
.rows { display: grid; }
.row { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 14px; padding: 14px 0; border-top: 1px solid var(--line); font-weight: 600; }
.row .amount b { font-weight: 800; font-size: 1.3rem; color: var(--accent); }
.row .amount s { color: var(--muted); font-weight: 500; margin-right: 9px; }
.ask { padding: 9px 16px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-weight: 800; font-size: .88rem; text-decoration: none; transition: transform .35s var(--ease), box-shadow .3s; }
.ask:hover { transform: translateY(-2px); box-shadow: 0 10px 24px -8px var(--glow); }
.close { position: absolute; top: 14px; right: 14px; z-index: 5; width: 42px; height: 42px; border-radius: 50%; background: rgba(0,0,0,.55); backdrop-filter: blur(8px); color: #fff; font-size: 1.4rem; line-height: 1; transition: background .3s, transform .4s var(--ease); }
.close:hover { background: var(--accent); color: var(--accent-ink); transform: rotate(90deg); }

/* ---------- contatti ---------- */
.contact { position: fixed; z-index: 40; right: calc(18px + env(safe-area-inset-right)); bottom: calc(18px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; align-items: flex-end; gap: 10px; opacity: 0; transition: opacity .8s 1s; }
body.ready .contact { opacity: 1; }
.contact[hidden] { display: none; }
.fab { width: 62px; height: 62px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--accent-ink); box-shadow: 0 14px 34px -8px var(--glow); transition: transform .4s var(--ease); }
.fab:hover { transform: scale(1.08) rotate(-6deg); }
.contact-list { display: grid; gap: 8px; justify-items: end; pointer-events: none; }
.contact-list a { display: flex; align-items: center; gap: 10px; padding: 11px 18px; border-radius: 999px; background: color-mix(in srgb, var(--bg2) 90%, #fff); color: var(--ink); text-decoration: none; font-weight: 700; box-shadow: 0 0 0 1px var(--line), 0 10px 30px -10px rgba(0,0,0,.7); backdrop-filter: blur(10px); opacity: 0; transform: translateY(14px) scale(.96); transition: opacity .3s, transform .45s var(--ease), background .3s; }
.contact-list a:hover { background: var(--accent); color: var(--accent-ink); }
.contact.open .contact-list { pointer-events: auto; }
.contact.open .contact-list a { opacity: 1; transform: none; }
.contact.open .contact-list a:nth-last-child(2) { transition-delay: .05s; } .contact.open .contact-list a:nth-last-child(3) { transition-delay: .1s; }
.contact.open .contact-list a:nth-last-child(4) { transition-delay: .15s; } .contact.open .contact-list a:nth-last-child(5) { transition-delay: .2s; }

/* ---------- apertura ---------- */
#intro { position: fixed; inset: 0; z-index: 100; background: #05020c; overflow: hidden; transition: opacity 1.1s .15s var(--ease); }
#intro.leave { opacity: 0; pointer-events: none; }
#intro.gone { display: none; }
#introVid { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #05020c; transition: transform 1.6s var(--ease), opacity .6s; }
#introVid[hidden] { display: none; }
#intro.smoke #introVid { transform: scale(1.06); }
.vignette { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(120% 90% at 50% 45%, transparent 55%, rgba(5,2,12,.65)); }
.skip { position: absolute; z-index: 4; top: calc(16px + env(safe-area-inset-top)); right: 16px; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: rgba(5,2,12,.55); box-shadow: inset 0 0 0 1px rgba(255,255,255,.2); opacity: 0; animation: appear .6s 1.2s forwards; transition: background .3s, color .3s; }
.skip:hover { background: var(--accent); color: var(--accent-ink); }
@keyframes appear { to { opacity: 1; } }
.loadbar { position: absolute; z-index: 3; left: 50%; bottom: calc(7vh + env(safe-area-inset-bottom)); width: 120px; height: 2px; margin-left: -60px; border-radius: 2px; background: rgba(255,255,255,.14); overflow: hidden; transition: opacity .6s; }
.loadbar i { display: block; height: 100%; width: 100%; background: var(--accent); transform-origin: left; transform: scaleX(var(--p, 0)); transition: transform .25s linear; }
#intro.playing .loadbar { opacity: 0; }
/* fumo che copre lo schermo e apre la vetrina */
.puffs i { position: absolute; z-index: 3; width: 70vmax; height: 70vmax; border-radius: 50%; left: 50%; top: 50%; margin: -35vmax 0 0 -35vmax; pointer-events: none; opacity: 0; transform: scale(.05); will-change: transform, opacity;
  background: radial-gradient(circle at 40% 35%, #b9b0ff, #7b6bff 45%, rgba(106,43,255,.0) 72%); }
.puffs i:nth-child(2) { translate: -26vw 14vh; background: radial-gradient(circle at 50% 40%, #cfe0ff, #8ea2ff 45%, transparent 72%); }
.puffs i:nth-child(3) { translate: 28vw -12vh; }
.puffs i:nth-child(4) { translate: -18vw -26vh; background: radial-gradient(circle at 50% 40%, #e6d9ff, #a58cff 45%, transparent 72%); }
.puffs i:nth-child(5) { translate: 22vw 26vh; background: radial-gradient(circle at 50% 40%, #cfe0ff, #8ea2ff 45%, transparent 72%); }
.puffs i:nth-child(6) { translate: 0 0; width: 120vmax; height: 120vmax; margin: -60vmax 0 0 -60vmax; background: radial-gradient(circle, #cdbfff, #8b7bff 50%, transparent 74%); }
#intro.smoke .puffs i { animation: puff 1.5s cubic-bezier(.3,.6,.2,1) forwards; }
#intro.smoke .puffs i:nth-child(2) { animation-delay: .08s; } #intro.smoke .puffs i:nth-child(3) { animation-delay: .16s; }
#intro.smoke .puffs i:nth-child(4) { animation-delay: .1s; } #intro.smoke .puffs i:nth-child(5) { animation-delay: .2s; } #intro.smoke .puffs i:nth-child(6) { animation-delay: .32s; }
@keyframes puff { 0% { opacity: 0; transform: scale(.05); } 55% { opacity: .62; } 100% { opacity: .5; transform: scale(1.1); } }
/* titolo GAUCHO TERPS sul fumo */
.introtitle { position: absolute; z-index: 5; left: 50%; top: 48%; width: min(88vw, 960px); height: auto; transform: translate(-50%, -50%) scale(.55) rotate(-5deg); opacity: 0; pointer-events: none;
  filter: drop-shadow(0 6px 0 rgba(106,43,255,.95)); will-change: transform, opacity; }
.introtitle[hidden] { display: none; }
#intro.title .introtitle { animation: titleIn .85s cubic-bezier(.18,1.4,.3,1) forwards; }
@keyframes titleIn { 0% { opacity: 0; transform: translate(-50%, -50%) scale(.55) rotate(-5deg); } 100% { opacity: 1; transform: translate(-50%, -50%) scale(1) rotate(-2deg); } }
#intro.leave .introtitle { opacity: 0; transform: translate(-50%, -50%) scale(1.3) rotate(-2deg); transition: transform 1.1s var(--ease), opacity .8s; animation: none; }
/* emblema di riserva se il video manca */
.emblem { position: absolute; left: 50%; top: 50%; width: min(60vmin, 340px); aspect-ratio: 1; margin: calc(min(60vmin, 340px) / -2) 0 0 calc(min(60vmin, 340px) / -2); }
.emblem[hidden] { display: none; }
.ring { position: absolute; inset: -5%; width: 110%; height: 110%; transform: rotate(-90deg); overflow: visible; filter: drop-shadow(0 0 10px var(--accent2)); }
.ring circle { fill: none; stroke: var(--accent); stroke-width: 1.6; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.6s .1s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.face { position: absolute; inset: 0; border-radius: 50%; overflow: hidden; opacity: 0; animation: faceIn 1.2s .4s var(--ease) forwards; box-shadow: 0 0 0 3px #05020c, 0 0 0 5px var(--accent2), 0 0 90px rgba(106,43,255,.6); }
@keyframes faceIn { to { opacity: 1; } }
.face img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .card { grid-column: span 4; } .card.feat { grid-column: span 8; grid-row: span 2; }
}
@media (max-width: 700px) {
  .bar { flex-wrap: wrap; row-gap: 6px; } .filters { order: 3; flex: 1 1 100%; } #wordmark { height: 30px; }
  #shop { gap: 14px; padding: 124px 12px 150px; }
  .card { grid-column: span 6; } .card.feat { grid-column: span 12; grid-row: span 1; } .card.feat .photo { aspect-ratio: 5/4; }
  #shop .card > .photo { border-radius: 16px 16px 0 0; } #shop .card { border-radius: 18px; box-shadow: 0 0 0 3px var(--accent), 6px 6px 0 3px var(--accent2); }
  #shop .meta { padding: 12px 12px 14px; border-radius: 0 0 15px 15px; }
  #shop .name { font-size: 1.02rem; } #shop .price b { font-size: 1.02rem; } #shop .go { width: 38px; height: 38px; }
  #shop .card.feat .name { font-size: 1.5rem; } #shop { gap: 28px 18px; }
  #logo { width: 44px; height: 44px; }
  .modal { padding: 0; place-items: end center; }
  .sheet { grid-template-columns: 1fr; width: 100%; max-height: 90vh; border-radius: 28px 28px 0 0; animation: slideUp .6s var(--ease); }
  .sheet .photo { min-height: 0; aspect-ratio: 1; }
  .sheet .info { padding: 22px 20px calc(24px + env(safe-area-inset-bottom)); } .sheet .info .name { font-size: 1.8rem; }
}
@keyframes slideUp { from { transform: translateY(100%); } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .card { opacity: 1; transform: none; }
}

/* ---------- tutto il sito in stile Gaucho Terps ---------- */
/* sfondo: puntini da fumetto sopra il negozio scuro */
.bgshade::after { content: ""; position: absolute; inset: 0; opacity: .22; pointer-events: none;
  background: radial-gradient(circle, rgba(106,43,255,.95) 1.4px, transparent 1.9px) 0 0 / 14px 14px;
  -webkit-mask-image: radial-gradient(120% 90% at 50% 0%, #000, transparent 70%); mask-image: radial-gradient(120% 90% at 50% 0%, #000, transparent 70%); }
/* header: filo giallo con ombra viola piena */
.top.scrolled { background: color-mix(in srgb, var(--bg) 88%, transparent); box-shadow: 0 3px 0 var(--accent), 0 6px 0 var(--accent2); }
#logo { box-shadow: 0 0 0 3px #0b0620, 0 0 0 6px var(--accent), 4px 5px 0 6px var(--accent2); }
.fpill { box-shadow: inset 0 0 0 2px rgba(255,255,255,.22); }
.fpill.sale[aria-pressed="false"] { box-shadow: inset 0 0 0 2px var(--sale); }
/* scheda prodotto */
.sheet { background: #0b0620; border-radius: 26px; box-shadow: 0 0 0 3px var(--accent), 12px 12px 0 3px var(--accent2), 0 40px 90px -10px rgba(0,0,0,.8); }
.sheet .photo { background: radial-gradient(circle at 50% 38%, #3b1a8f, #0b0620 85%); }
.sheet .info .name { text-transform: uppercase; color: #fff; text-shadow: 3px 3px 0 var(--accent2); }
.sheet .tag { display: inline-block; justify-self: start; padding: 3px 12px; border-radius: 8px; background: var(--accent); color: var(--accent-ink); font-family: var(--display); transform: rotate(-2deg); margin-top: 0; }
.row { border-top: 2px dashed rgba(255,212,0,.35); }
.row .amount b { font-family: var(--display); font-weight: 400; font-size: 1.5rem; text-shadow: 2px 2px 0 var(--accent2); }
.ask { border: 3px solid #0b0620; box-shadow: 0 0 0 2px var(--accent), 3px 3px 0 2px var(--accent2); font-family: var(--display); font-weight: 400; font-size: 1rem; letter-spacing: .02em; }
.ask:hover { transform: translate(-2px, -2px) rotate(-2deg); box-shadow: 0 0 0 2px var(--accent), 6px 6px 0 2px var(--accent2); }
.close { background: var(--accent); color: var(--accent-ink); border: 3px solid #0b0620; box-shadow: 0 0 0 2px var(--accent), 3px 3px 0 2px var(--accent2); }
/* contatti */
.fab { border: 3px solid #0b0620; box-shadow: 0 0 0 3px var(--accent), 5px 6px 0 3px var(--accent2); }
.fab:hover { transform: translate(-2px, -2px) rotate(-6deg); }
.contact-list a { background: #0b0620; color: #fff; font-family: var(--display); font-weight: 400; letter-spacing: .02em; box-shadow: 0 0 0 2px var(--accent), 4px 4px 0 2px var(--accent2); backdrop-filter: none; }
.contact-list a:hover { background: var(--accent); color: var(--accent-ink); }
.empty { font-family: var(--display); }

/* header: logo + scritta GAUCHO TERPS a tutta larghezza, filtri sotto; scorrendo diventa una riga sola */
.hero { display: none !important; }
.bar { flex-wrap: wrap; row-gap: 6px; align-items: center; }
#logo { order: 1; width: 62px; height: 62px; transition: width .35s var(--ease), height .35s var(--ease); }
#wordmark { order: 2; flex: 1 1 0; min-width: 0; width: auto; height: auto; max-height: 104px; object-fit: contain; object-position: center; transform: rotate(-1deg);
  opacity: 1; transition: max-height .35s var(--ease), transform .35s; filter: drop-shadow(0 4px 0 rgba(106,43,255,.95)); }
.filters { order: 3; flex: 1 1 100%; }
.top.scrolled #wordmark { max-height: 40px; flex: 0 1 190px; transform: none; opacity: 1; filter: drop-shadow(0 2px 0 rgba(106,43,255,.95)); }
.top.scrolled #logo { width: 46px; height: 46px; }
.top.scrolled .filters { flex: 1 1 0; order: 3; }
#shop { padding-top: 210px; }
@media (max-width: 700px) {
  #wordmark { max-height: 96px; }
  .top.scrolled #wordmark { max-height: 30px; flex-basis: 120px; }
  #shop { padding-top: 188px; }
}
#wordmark { max-height: 132px; }
.top:not(.scrolled) { background: linear-gradient(rgba(7,3,15,.9), rgba(7,3,15,.55) 70%, transparent); }
#shop { padding-top: 240px; padding-bottom: 20px; }
@media (max-width: 700px) { #wordmark { max-height: 100px; } #shop { padding-top: 192px; } }

/* scheda info: zone e delivery, stile Gaucho Terps */
.info { position: relative; z-index: 10; max-width: 1280px; margin: 0 auto; padding: 18px 18px 150px; }
.info[hidden] { display: none; }
.info-card { position: relative; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 22px 30px; padding: 28px 30px; border-radius: 24px; background: #0b0620;
  box-shadow: 0 0 0 3px var(--accent), 10px 10px 0 3px var(--accent2); transform: rotate(-.6deg); overflow: hidden; }
.info-card::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background: radial-gradient(circle, rgba(106,43,255,.9) 1.5px, transparent 2px) 0 0 / 12px 12px; -webkit-mask-image: linear-gradient(100deg, transparent 40%, #000); mask-image: linear-gradient(100deg, transparent 40%, #000); }
.info-card > * { position: relative; }
.info-label { display: inline-block; padding: 3px 14px 4px; border-radius: 8px; background: var(--accent); color: var(--accent-ink); font-family: var(--display); font-size: .95rem; letter-spacing: .06em; text-transform: uppercase; transform: rotate(-2deg); box-shadow: 3px 3px 0 var(--accent2); }
.info-areas { margin: 14px 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; font-family: var(--display); text-transform: uppercase; line-height: 1; color: var(--accent);
  font-size: clamp(1.7rem, 4.4vw, 3.1rem); text-shadow: 3px 3px 0 var(--accent2), 5px 5px 0 #0b0620; }
.info-areas span { white-space: nowrap; }
.info-areas i { font-style: normal; color: #fff; font-size: .55em; text-shadow: none; transform: translateY(-.05em); }
.info-delivery { display: grid; justify-items: center; gap: 10px; padding: 16px 22px; border-radius: 18px; background: rgba(255,255,255,.05); box-shadow: inset 0 0 0 2px rgba(255,255,255,.14); min-width: 220px; text-align: center; }
.info-delivery b { font-family: var(--display); font-weight: 400; font-size: 1.5rem; text-transform: uppercase; letter-spacing: .02em; color: #fff; text-shadow: 2px 2px 0 var(--accent2); }
.info-delivery small { display: flex; align-items: center; gap: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; font-size: .82rem; color: #7dff9b; }
.dot { position: relative; flex: none; width: 16px; height: 16px; border-radius: 50%; background: #2dff6f; box-shadow: 0 0 0 3px #0b0620, 0 0 12px 2px rgba(45,255,111,.8); }
.dot::after { content: ""; position: absolute; inset: -3px; border-radius: 50%; border: 2px solid #2dff6f; animation: ping 1.8s ease-out infinite; }
@keyframes ping { 0% { transform: scale(.8); opacity: .9; } 80%, 100% { transform: scale(2.4); opacity: 0; } }
.info-delivery.off small { color: #ff7b9c; } .info-delivery.off .dot { background: #ff3d6b; box-shadow: 0 0 0 3px #0b0620; } .info-delivery.off .dot::after { display: none; }
.info-pin { width: 1em; height: 1em; vertical-align: -.1em; margin-right: .25em; }
@media (max-width: 700px) {
  .info { padding: 6px 12px 150px; }
  .info-card { grid-template-columns: 1fr; padding: 22px 20px; gap: 18px; box-shadow: 0 0 0 3px var(--accent), 6px 6px 0 3px var(--accent2); }
  .info-delivery { min-width: 0; justify-items: start; text-align: left; gap: 8px; }
}
@media (prefers-reduced-motion: reduce) { .dot::after { animation: none; opacity: 0; } }

#logo { order: 0; }

/* pulsante di avvio quando il telefono blocca la partenza automatica del video */
.tapplay { position: absolute; z-index: 6; left: 50%; top: 50%; transform: translate(-50%, -50%); display: none; flex-direction: column; align-items: center; gap: 10px; padding: 22px 30px; border-radius: 22px;
  background: var(--accent); color: var(--accent-ink); font-family: var(--display); font-size: 1.15rem; letter-spacing: .03em; text-transform: uppercase; box-shadow: 0 0 0 3px #0b0620, 8px 8px 0 3px var(--accent2); }
#intro.tap .tapplay { display: flex; }
.tapplay:active { transform: translate(-50%, -50%) scale(.97); }
