/* ==========================================================================
   TITANFORGE SHOP — the filament wall. Builds on tf.css tokens.
   ========================================================================== */
.no-scroll, .no-scroll body { overflow: hidden; }
.muted { color: var(--muted); }
.center { text-align: center; }
.h3 { font: 700 1.35rem/1.15 var(--ff-h); letter-spacing: -.02em; margin: 0 0 .7em; }

/* ---------------------------------------------------------- preview + promo */
.st-preview { position: relative; z-index: 2; padding: 10px var(--gut); text-align: center; font: 500 .82rem/1.4 var(--ff); color: #fff;
  background: repeating-linear-gradient(-45deg, #141519 0 14px, #2a2c31 14px 28px); }
.st-preview b { display: inline-block; margin-right: 8px; padding: 2px 8px; border-radius: 5px; background: var(--orange); color: #141519; font: 500 .7rem/1.4 var(--ff-m); letter-spacing: .1em; text-transform: uppercase; }
.promo { background: var(--night); color: var(--on-dark); font: 500 .8rem/1 var(--ff-m); letter-spacing: .04em; }
.promo-in { display: flex; justify-content: center; align-items: center; gap: 14px; min-height: 38px; padding: 0 var(--gut); flex-wrap: wrap; }
.promo-tag { padding: 4px 9px; border-radius: 5px; background: var(--orange); color: #141519; text-transform: uppercase; letter-spacing: .12em; font-size: .7rem; }
.promo a { color: var(--orange-2); text-decoration: underline; text-underline-offset: 3px; }
.promo[data-state="live"] .promo-tag { animation: pulse-o 1.6s infinite; }
@keyframes pulse-o { 0%, 100% { box-shadow: 0 0 0 0 rgba(255,106,26,.6); } 50% { box-shadow: 0 0 0 6px rgba(255,106,26,0); } }

/* ---------------------------------------------------------- header cart */
.cartbtn { position: relative; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-2); background: rgba(255,255,255,.6); transition: border-color .2s, background .2s; }
.cartbtn:hover { border-color: var(--orange); background: #fff; }
.cartbtn .ico { width: 21px; height: 21px; }
.cart-n { position: absolute; top: -4px; right: -4px; min-width: 21px; height: 21px; padding: 0 6px; border-radius: 999px; background: var(--orange); color: #141519; font: 500 .72rem/21px var(--ff-m); text-align: center; box-shadow: 0 0 0 3px var(--bg); }
.cart-n.bump { animation: bump .5s var(--ease); }
@keyframes bump { 40% { transform: scale(1.45); } }
.nav a[href$="shop/"] { color: var(--orange-ink); font-weight: 600; }

/* ---------------------------------------------------------- hero + wall */
.st-hero { position: relative; overflow: hidden; padding: clamp(24px, 4vw, 48px) 0 clamp(40px, 6vw, 80px);
  background: repeating-linear-gradient(0deg, rgba(20,21,25,.035) 0 1px, transparent 1px 7px), radial-gradient(900px 500px at 80% 30%, #fff, transparent 70%); }
.st-hero-in { display: grid; gap: clamp(28px, 5vw, 64px); align-items: center; }
@media (min-width: 980px) { .st-hero-in { grid-template-columns: 1fr 1.05fr; } }
.st-hero .lede { margin-top: 1.2rem; }
.st-facts { display: flex; gap: clamp(18px, 3vw, 36px); margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); }
.st-facts b { display: block; font: 700 1.45rem/1.1 var(--ff-h); letter-spacing: -.02em; }
.st-facts span { font-size: .8rem; color: var(--muted); }
.wall { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; padding: 22px; border-radius: 26px;
  background: linear-gradient(180deg, #2a2c31, #17181c); box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255,255,255,.08); }
.wall::before { content: ""; position: absolute; inset: 10px; border-radius: 18px; pointer-events: none;
  background: radial-gradient(circle, rgba(255,255,255,.07) 1.2px, transparent 1.6px) 0 0/16px 16px; }
.wall-s { position: relative; display: block; aspect-ratio: 1; transition: transform .5s var(--ease); animation: wall-in .7s var(--ease) both; animation-delay: calc(var(--i) * 45ms); }

.wall-s:hover { transform: rotate(-24deg) scale(1.08); z-index: 2; }
.wall-s:nth-child(even) { margin-top: 12px; }
@keyframes wall-in { from { opacity: 0; transform: translateY(16px) rotate(-30deg); } }

/* ---------------------------------------------------------- black friday */
.bf { position: relative; overflow: hidden; color: var(--on-dark); background: radial-gradient(900px 400px at 15% 120%, rgba(255,106,26,.32), transparent 60%), var(--night); }
.bf::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(0deg, rgba(255,255,255,.035) 0 1px, transparent 1px 6px); }
.bf-in { position: relative; z-index: 1; display: grid; gap: 24px; align-items: center; padding-top: clamp(30px, 4vw, 48px); padding-bottom: clamp(30px, 4vw, 48px); }
@media (min-width: 980px) { .bf-in { grid-template-columns: 1.3fr auto auto; gap: 40px; } }
.bf-k { display: flex; align-items: center; gap: 12px; margin: 0 0 10px; font: 500 .74rem/1 var(--ff-m); letter-spacing: .12em; text-transform: uppercase; color: var(--on-dark-2); }
.bf-tag { padding: 6px 10px; border-radius: 6px; background: var(--orange); color: #141519; }
.bf-h { font-size: clamp(1.7rem, 1.2rem + 1.8vw, 2.6rem); letter-spacing: -.03em; margin: 0 0 .3em; color: #fff; }
.bf-p { color: var(--on-dark-2); margin: 0; max-width: 36em; }
.bf-clock { display: flex; gap: 8px; }
.bf-clock div { min-width: 70px; padding: 12px 8px 10px; border-radius: 14px; text-align: center; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); }
.bf-clock b { display: block; font: 500 2rem/1 var(--ff-m); color: #fff; font-variant-numeric: tabular-nums; }
.bf-clock span { font: 500 .62rem/1 var(--ff-m); letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-2); }
.bf[data-state="live"] .bf-clock b { color: var(--orange-2); }
.bfp { position: relative; overflow: hidden; color: var(--on-dark); padding: clamp(40px, 6vw, 90px) 0 clamp(60px, 8vw, 120px);
  background: radial-gradient(1000px 520px at 85% 0%, rgba(255,106,26,.35), transparent 60%), var(--night); }
.bfp-in { position: relative; z-index: 1; }
.bfp-h { color: #fff; max-width: 14ch; margin: 6px 0 .25em; }
.bfp-p { color: var(--on-dark-2); }
.bf-clock-xl { margin-top: 30px; }
.bf-clock-xl div { min-width: clamp(76px, 12vw, 120px); padding: 20px 10px 14px; }
.bf-clock-xl b { font-size: clamp(2.4rem, 1.6rem + 3vw, 4.4rem); }
.bfp-layers { position: absolute; right: -40px; bottom: -40px; width: min(52vw, 640px); display: grid; gap: 8px; transform: rotate(-8deg); opacity: .9; pointer-events: none; }
.bfp-layers i { display: block; height: 22px; border-radius: 11px; background: linear-gradient(90deg, transparent, var(--orange) 30%, var(--orange-2) 70%, transparent);
  animation: lay 3.6s var(--ease) infinite; animation-delay: calc(var(--n, 0) * .2s); transform-origin: 0 50%; opacity: .7; }
.bfp-layers i:nth-child(2) { --n: 1 } .bfp-layers i:nth-child(3) { --n: 2 } .bfp-layers i:nth-child(4) { --n: 3 } .bfp-layers i:nth-child(5) { --n: 4 } .bfp-layers i:nth-child(6) { --n: 5 } .bfp-layers i:nth-child(7) { --n: 6 } .bfp-layers i:nth-child(8) { --n: 7 }
@keyframes lay { 0% { transform: scaleX(0); opacity: 0; } 30% { opacity: .75; } 60%, 100% { transform: scaleX(1); opacity: .15; } }
.crumbs-dark ol { color: var(--on-dark-2); }
.crumbs-dark [aria-current] { color: #fff; }

/* ---------------------------------------------------------- shop bar */
.st-shop { padding-top: clamp(40px, 5vw, 72px); }
.st-bar { position: sticky; top: var(--hdr); z-index: 20; display: flex; flex-wrap: wrap; gap: 12px 20px; justify-content: space-between; align-items: center;
  margin: 0 calc(-1 * var(--gut)) 10px; padding: 12px var(--gut); background: rgba(244,243,239,.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.fts { display: flex; gap: 6px; flex-wrap: wrap; }
.ft { display: inline-flex; align-items: center; gap: 7px; padding: 10px 15px; border-radius: 999px; border: 1.5px solid var(--line-2); background: #fff; font: 600 .88rem/1 var(--ff); transition: all .2s; }
.ft em { font: 500 .7rem/1 var(--ff-m); color: var(--muted); }
.ft[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.ft[aria-selected="true"] em { color: var(--orange-2); }
.st-tools { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.st-fams { display: flex; gap: 6px; }
.st-fams .chip span { padding: 9px 13px; font-size: .84rem; }
.st-q { position: relative; }
.st-q .ico { position: absolute; left: 12px; top: 12px; width: 18px; height: 18px; color: var(--muted); }
.st-q input, .st-sort { height: 42px; border: 1.5px solid var(--line-2); border-radius: 999px; background: #fff; font-size: .9rem; }
.st-q input { width: 240px; padding: 0 14px 0 38px; }
.st-q input:focus, .st-sort:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 4px rgba(255,106,26,.14); }
.st-sort { padding: 0 34px 0 14px; appearance: none; -webkit-appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23141519' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 12px center/15px no-repeat; font-weight: 600; }
.st-count { margin: 6px 0 16px; font-size: .9rem; color: var(--muted); }
.st-count b { font: 700 1.1rem var(--ff-h); color: var(--ink); }
.st-none { text-align: center; padding: 48px 20px; border: 1.5px dashed var(--line-2); border-radius: var(--r); }
.st-none b { font: 700 1.3rem var(--ff-h); }

/* ---------------------------------------------------------- product cards */
.pcs { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.pcs-4 { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.pc { position: relative; display: flex; flex-direction: column; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); overflow: hidden; transition: box-shadow .35s, transform .35s var(--ease), border-color .3s; }
.pc:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: var(--line-2); }
.pc[hidden] { display: none; }
.pc-art { position: relative; display: grid; place-items: center; aspect-ratio: 1.15; padding: 22px;
  background: repeating-linear-gradient(0deg, rgba(20,21,25,.04) 0 1px, transparent 1px 6px), radial-gradient(circle at 50% 40%, #fff, var(--bg-2)); }
.pc-art .art { width: 78%; height: auto; transition: transform .9s var(--ease); }
.pc:hover .pc-art .art { transform: rotate(-40deg); }
.pc-badge { position: absolute; left: 14px; top: 14px; padding: 6px 10px; border-radius: 6px; background: var(--ink); color: var(--orange-2); font: 500 .68rem/1 var(--ff-m); letter-spacing: .12em; text-transform: uppercase; }
.pc-b { display: flex; flex-direction: column; flex: 1; padding: 16px 18px 18px; border-top: 1px solid var(--line); }
.pc-meta { margin: 0 0 6px; font: 500 .68rem/1.3 var(--ff-m); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.pc-t { font: 700 1.08rem/1.2 var(--ff-h); letter-spacing: -.015em; margin: 0 0 4px; }
.pc-t a::after { content: ""; position: absolute; inset: 0; z-index: 0; }
.pc-t a:hover { color: var(--orange-ink); }
.pc-tag { margin: 0 0 12px; font-size: .88rem; color: var(--muted); }
.pc-sel { margin: 8px 0 12px; font-size: .84rem; color: var(--ink-2); }
.pc-f { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: auto; }
.sws, .szs, .add, .pc .stk { position: relative; z-index: 1; }

/* swatches */
.sws { display: flex; flex-wrap: wrap; gap: 7px; }
.sw { width: 24px; height: 24px; padding: 0; border-radius: 50%; border: 0; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0,0,0,.18), 0 0 0 2px var(--card); transition: transform .2s var(--ease), box-shadow .2s; }
.sw:hover { transform: scale(1.15); }
.sw[aria-checked="true"] { box-shadow: inset 0 0 0 1px rgba(0,0,0,.18), 0 0 0 2px var(--card), 0 0 0 4px var(--ink); }
.sw[data-out] { opacity: .35; background-image: linear-gradient(135deg, transparent 46%, #141519 46% 54%, transparent 54%); }
.sw-clear { background: linear-gradient(135deg, #fff 0 40%, var(--c) 40% 60%, #fff 60%); }
.sw i { display: none; }
.sws-big { gap: 10px 8px; margin: 18px 0 6px; }
.sws-big .sw { display: inline-flex; flex-direction: column; align-items: center; width: auto; height: auto; min-width: 64px; padding: 0 0 6px; border-radius: 12px; background: none; box-shadow: none; font: 500 .74rem/1.2 var(--ff); color: var(--ink-2); }
.sws-big .sw::before { content: ""; width: 40px; height: 40px; margin-bottom: 6px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0,0,0,.18), 0 0 0 3px var(--bg); transition: box-shadow .2s, transform .2s var(--ease); }
.sws-big .sw-clear::before { background: linear-gradient(135deg, #fff 0 40%, var(--c) 40% 60%, #fff 60%); }
.sws-big .sw[aria-checked="true"]::before { box-shadow: inset 0 0 0 1px rgba(0,0,0,.18), 0 0 0 3px var(--bg), 0 0 0 5px var(--orange); transform: scale(1.06); }
.sws-big .sw i { display: block; font-style: normal; max-width: 72px; text-align: center; }
.sws-big .sw[aria-checked="true"] i { font-weight: 600; color: var(--ink); }
.szs { display: flex; gap: 6px; flex-wrap: wrap; }
.sz { padding: 8px 12px; border-radius: 10px; border: 1.5px solid var(--line-2); background: #fff; font: 500 .82rem/1 var(--ff-m); }
.sz[aria-checked="true"] { border-color: var(--ink); background: var(--ink); color: #fff; }
.sz[data-out] { opacity: .4; text-decoration: line-through; }

/* prices, stock, add */
.price { margin: 0; display: flex; flex-direction: column; }
.price b { font: 700 1.3rem/1.1 var(--ff-h); letter-spacing: -.02em; }
.price b.is-sale { color: var(--orange-ink); }
.price .after { font-size: .74rem; color: var(--muted); margin-top: 2px; }
.price-xl b { font-size: clamp(2rem, 1.6rem + 1.4vw, 2.7rem); }
.price-xl .after { font-size: .86rem; }
.stk { font-size: .82rem; font-weight: 600; }
.stk-in { color: #1f7a3f; } .stk-low { color: #b46200; } .stk-out { color: var(--muted); }
.add { display: inline-flex; align-items: center; gap: 6px; height: 42px; padding: 0 16px; border-radius: 999px; border: 0; background: var(--ink); color: #fff; font: 600 .88rem/1 var(--ff); transition: background .2s, transform .2s; }
.add .ico { width: 16px; height: 16px; }
.add:hover { background: var(--orange); color: #141519; }
.add.added, .btn.added { background: #1f7a3f; color: #fff; }
.add[disabled] { opacity: .4; pointer-events: none; }

/* choosing */
.mgs { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.mg { display: block; padding: 22px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); transition: border-color .2s, transform .3s var(--ease); }
.mg:hover { border-color: var(--orange); transform: translateY(-3px); }
.mg b { display: block; font: 700 1.4rem/1 var(--ff-h); }
.mg span { display: block; margin: 6px 0 10px; font: 500 .7rem/1.3 var(--ff-m); letter-spacing: .1em; text-transform: uppercase; color: var(--orange-ink); }
.mg p { margin: 0; font-size: .92rem; color: var(--muted); }

/* trust */
.st-trust { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--card); }
.st-trust-in { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; padding-top: 26px; padding-bottom: 26px; }
.st-trust-in > div { display: flex; gap: 12px; align-items: center; }
.st-trust .ico { width: 42px; height: 42px; padding: 10px; border-radius: 12px; background: var(--bg-2); color: var(--orange-ink); flex: none; }
.st-trust p { margin: 0; line-height: 1.3; }
.st-trust b { display: block; font: 600 .95rem var(--ff); }
.st-trust span { font-size: .82rem; color: var(--muted); }

/* ---------------------------------------------------------- product page */
.pd { padding: clamp(20px, 3vw, 36px) 0 clamp(36px, 5vw, 64px); }
.pd-in { display: grid; gap: clamp(24px, 4vw, 64px); align-items: start; }
@media (min-width: 900px) { .pd-in { grid-template-columns: 1.05fr .95fr; } .pd-art { position: sticky; top: calc(var(--hdr) + 20px); } }
.pd-art { position: relative; display: grid; place-items: center; aspect-ratio: 1; border-radius: 28px; overflow: hidden; border: 1px solid var(--line);
  background: repeating-linear-gradient(0deg, rgba(20,21,25,.04) 0 1px, transparent 1px 7px), radial-gradient(circle at 50% 40%, #fff, var(--bg-2)); }
.pd-art .art-big { width: 72%; height: auto; animation: spin-in 1s var(--ease) both; }
.art.swap { animation: swap .6s var(--ease); }
@keyframes spin-in { from { transform: rotate(-120deg) scale(.9); opacity: 0; } }
@keyframes swap { 0% { transform: rotate(0); } 100% { transform: rotate(-360deg); } }
.pd-art .render-tag { top: auto; left: 16px; bottom: 16px; }
.pd-badge { top: 18px; left: 18px; }
.pd-h { margin: 6px 0 6px; }
.pd-tag { color: var(--muted); font-size: 1.05rem; margin: 0 0 18px; }
.pd-price { display: flex; align-items: baseline; gap: 12px; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pd-price .vat { font: 500 .7rem/1 var(--ff-m); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.pd-sel { margin: 6px 0 18px; font-size: .95rem; }
.pd-buy { display: flex; gap: 10px; margin-bottom: 10px; }
.pd-buy .btn-add { flex: 1; }
.btn-wide { width: 100%; justify-content: center; }
.btn .ico { width: 18px; height: 18px; }
.qty { display: inline-flex; align-items: center; height: 54px; border: 1.5px solid var(--line-2); border-radius: 999px; background: #fff; flex: none; }
.qty button { width: 42px; height: 100%; border: 0; background: none; display: grid; place-items: center; }
.qty button:hover { color: var(--orange-ink); }
.qty button .ico { width: 16px; height: 16px; }
.qty input { width: 44px; border: 0; text-align: center; font: 600 1.05rem var(--ff); background: none; -moz-appearance: textfield; appearance: textfield; }
.qty input::-webkit-inner-spin-button, .qty input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.qty input:focus { outline: none; }
.qty-sm { height: 36px; }
.qty-sm button { width: 32px; }
.qty-sm input { width: 34px; font-size: .92rem; }
.pd-note { display: flex; gap: 10px; align-items: flex-start; margin: 16px 0 0; padding: 12px 14px; border-radius: 12px; background: rgba(255,106,26,.08); border: 1px solid rgba(255,106,26,.28); font-size: .88rem; }
.pd-note .ico { color: var(--orange-ink); flex: none; margin-top: 2px; }
.pd-points { display: grid; gap: 10px; margin: 22px 0 0; padding: 18px 0 0; border-top: 1px solid var(--line); }
.pd-points li { display: flex; gap: 12px; font-size: .9rem; color: var(--ink-2); }
.pd-points .ico { color: var(--orange-ink); flex: none; }
.pd-more { border-top: 1px solid var(--line); background: var(--card); }
.pd-more-in { display: grid; gap: clamp(24px, 4vw, 56px); }
@media (min-width: 900px) { .pd-more-in { grid-template-columns: 1fr 1fr; } }
.pd-copy p { color: var(--ink-2); }
.pd-h { font: 500 .72rem/1.3 var(--ff-m); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.pd-copy .pd-h, .pd-scores .pd-h { margin: 18px 0 10px; }
.pd-info .pd-h { font: 700 clamp(1.7rem, 1.3rem + 1.5vw, 2.5rem)/1.08 var(--ff-h); letter-spacing: -.03em; text-transform: none; color: var(--ink); }
.pd-good li { position: relative; padding: 6px 0 6px 26px; border-bottom: 1px dashed var(--line); }
.pd-good li::before { content: ""; position: absolute; left: 0; top: 13px; width: 14px; height: 4px; border-radius: 2px; background: var(--orange); box-shadow: 0 -6px 0 rgba(255,106,26,.45); }
.pd-spec { width: 100%; border-collapse: collapse; background: #fff; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); font-size: .92rem; }
.pd-spec th, .pd-spec td { text-align: left; padding: 11px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.pd-spec th { width: 36%; font: 500 .7rem/1.4 var(--ff-m); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.pd-spec tr:last-child th, .pd-spec tr:last-child td { border-bottom: 0; }
.pd-scores ul { display: grid; gap: 8px; }
.pd-scores li { display: grid; grid-template-columns: 130px 1fr; align-items: center; gap: 12px; font-size: .88rem; }
.sc { height: 8px; border-radius: 4px; background: var(--bg-2); position: relative; overflow: hidden; }
.sc::after { content: ""; position: absolute; inset: 0 auto 0 0; width: calc(var(--v) * 20%); border-radius: 4px; background: linear-gradient(90deg, var(--orange), var(--orange-2)); }
.sb { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: rgba(251,250,247,.96); backdrop-filter: blur(10px); border-top: 1px solid var(--line);
  transform: translateY(110%); visibility: hidden; transition: transform .35s var(--ease), visibility .35s; }
.sb.show { transform: none; visibility: visible; }
.sb-in { display: flex; justify-content: space-between; align-items: center; gap: 14px; min-height: 66px; }
.sb-in p { margin: 0; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sb-in p span { color: var(--muted); font-weight: 500; }

/* ---------------------------------------------------------- drawer + toast */
.drawer { position: fixed; inset: 0; z-index: 200; }
.drawer[hidden] { display: none; }
.drawer-bg { position: absolute; inset: 0; background: rgba(14,15,18,.45); backdrop-filter: blur(3px); animation: fade .25s; }
.drawer-panel { position: absolute; right: 0; top: 0; bottom: 0; width: min(440px, 100%); display: flex; flex-direction: column; background: var(--bg); box-shadow: -30px 0 60px -20px rgba(0,0,0,.45); animation: slide .35s var(--ease); }
.drawer.closing .drawer-panel { transform: translateX(100%); transition: transform .24s ease-in; }
.drawer.closing .drawer-bg { opacity: 0; transition: opacity .24s; }
@keyframes fade { from { opacity: 0; } }
@keyframes slide { from { transform: translateX(100%); } }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { font-size: 1.5rem; }
.x { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-2); background: #fff; display: grid; place-items: center; }
.x .ico { width: 18px; height: 18px; }
.drawer-free:not(:empty) { padding: 12px 22px 14px; border-bottom: 1px solid var(--line); background: var(--card); }
.drawer-body { flex: 1; overflow: auto; padding: 4px 22px; }
.drawer-foot:not(:empty) { padding: 16px 22px 20px; border-top: 1px solid var(--line); background: var(--card); }
.fb { display: flex; gap: 10px; align-items: center; margin: 0 0 8px; font-size: .88rem; }
.fb .ico { width: 20px; height: 20px; color: var(--orange-ink); flex: none; }
.fb-done { color: #1f7a3f; margin: 0; } .fb-done .ico { color: #1f7a3f; }
.fb-bar { height: 6px; border-radius: 3px; background: var(--bg-2); overflow: hidden; margin-bottom: 4px; }
.fb-bar i { display: block; height: 100%; width: 0; border-radius: 3px; background: linear-gradient(90deg, var(--orange), var(--orange-2)); transition: width .6s var(--ease); }
.ln { display: grid; grid-template-columns: 72px 1fr auto; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); align-items: start; }
.ln-img { display: block; width: 72px; height: 72px; border-radius: 14px; border: 1px solid var(--line); background: radial-gradient(circle, #fff, var(--bg-2)); padding: 6px; }
.ln-img img { width: 100%; height: 100%; }
.ln-t { display: block; font-weight: 600; font-size: .93rem; line-height: 1.3; }
.ln-t:hover { color: var(--orange-ink); }
.ln-v { display: block; font-weight: 500; color: var(--muted); font-size: .84rem; }
.ln-m { margin: 3px 0 8px; font-size: .8rem; color: var(--muted); }
.ln-sale { padding: 2px 6px; border-radius: 4px; background: var(--ink); color: var(--orange-2); font: 500 .62rem/1.4 var(--ff-m); letter-spacing: .08em; text-transform: uppercase; }
.ln-w { margin: 0 0 6px; color: #b4410d; font-size: .82rem; font-weight: 600; }
.ln-r { text-align: right; }
.ln-p { margin: 0; font: 700 1rem var(--ff-h); white-space: nowrap; }
.ln-rm { margin-top: 8px; padding: 0; border: 0; background: none; font-size: .78rem; color: var(--muted); text-decoration: underline; }
.ln-rm:hover { color: #b4410d; }
.sr { display: flex; justify-content: space-between; gap: 14px; margin: 0 0 8px; font-size: .93rem; }
.sr b { font-weight: 600; }
.sr-save { color: #1f7a3f; }
.sr-tot { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); font: 700 1.3rem var(--ff-h); }
.sr-tot b { font-weight: 700; }
.sr-vat { margin: 0 0 14px; font-size: .78rem; color: var(--muted); }
.empty { text-align: center; padding: 44px 10px; color: var(--muted); }
.empty > .ico { width: 52px; height: 52px; margin: 0 auto 12px; color: var(--line-2); }
.empty b { display: block; font: 700 1.3rem var(--ff-h); color: var(--ink); margin-bottom: 4px; }
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 210; display: flex; align-items: center; gap: 12px; max-width: calc(100% - 32px); padding: 10px 10px 10px 18px; border-radius: 999px;
  background: var(--ink); color: #fff; font-size: .9rem; font-weight: 500; box-shadow: var(--shadow-lg); transform: translate(-50%, calc(100% + 40px)); visibility: hidden; transition: transform .4s var(--ease), visibility .4s; }
.toast.show { transform: translate(-50%, 0); visibility: visible; }
.toast .ico { width: 18px; height: 18px; color: var(--orange-2); flex: none; }
.toast button { padding: 8px 14px; border-radius: 999px; border: 0; background: var(--orange); color: #141519; font-weight: 600; font-size: .82rem; white-space: nowrap; }

/* ---------------------------------------------------------- cart + checkout pages */
.st-page { padding: clamp(24px, 3vw, 40px) 0 clamp(60px, 8vw, 110px); }
.co-in { display: grid; gap: 28px; align-items: start; margin-top: 10px; }
@media (min-width: 980px) { .co-in { grid-template-columns: 1fr 380px; } }
.cart-lines { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 4px 22px; }
.cart-lines .ln:last-child { border-bottom: 0; }
.summary { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; box-shadow: var(--shadow); }
@media (min-width: 980px) { .summary-sticky { position: sticky; top: calc(var(--hdr) + 16px); } }
.sum-lines { max-height: 300px; overflow: auto; margin-bottom: 14px; }
.sl { display: grid; grid-template-columns: 52px 1fr auto; gap: 12px; align-items: center; padding: 8px 0; border-bottom: 1px dashed var(--line); font-size: .88rem; }
.sl-img { position: relative; width: 52px; height: 52px; border-radius: 10px; border: 1px solid var(--line); background: #fff; padding: 4px; }
.sl-img img { width: 100%; height: 100%; }
.sl-img i { position: absolute; top: -7px; right: -7px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: var(--ink); color: #fff; font: 500 .7rem/20px var(--ff-m); text-align: center; font-style: normal; }
.sl b { font-weight: 600; line-height: 1.25; }
.sl em { font-style: normal; font-weight: 700; white-space: nowrap; }
.co-form { display: grid; gap: 18px; }
.co-step { margin: 0; min-width: 0; padding: clamp(18px, 3vw, 28px); border: 1px solid var(--line); border-radius: var(--r); background: var(--card); }
.co-step legend { float: left; width: 100%; display: flex; align-items: center; gap: 12px; margin-bottom: 18px; padding: 0; font: 700 1.3rem var(--ff-h); letter-spacing: -.02em; }
.co-step legend + * { clear: both; }
.co-step legend span { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--orange); color: #141519; font: 500 .9rem var(--ff-m); }
.co-grid { display: grid; gap: 14px 16px; }
@media (min-width: 640px) { .co-grid { grid-template-columns: 1fr 1fr; } .co-grid-3 { grid-template-columns: 1fr 1fr 130px; } }
.co-step .field { margin-bottom: 14px; }
.co-grid .field { margin-bottom: 0; }
.co-addr { margin-bottom: 14px; }
.co-addr[hidden] { display: none; }
.opt { font-weight: 400; color: var(--muted); font-size: .8rem; }
.field.bad input, .field.bad select { border-color: #c2410c; box-shadow: 0 0 0 4px rgba(194,65,12,.1); }
.err { color: #b4410d; font-size: .8rem; font-weight: 600; }
.ship-opts { display: grid; gap: 10px; margin-bottom: 18px; }
.ship-opt { display: flex; align-items: center; gap: 14px; padding: 15px 16px; border: 1.5px solid var(--line-2); border-radius: 14px; background: #fff; cursor: pointer; transition: border-color .2s, background .2s; }
.ship-opt input { width: 20px; height: 20px; accent-color: var(--orange); margin: 0; flex: none; }
.ship-opt span { flex: 1; }
.ship-opt b { display: block; font-weight: 600; }
.ship-opt em { font-size: .82rem; color: var(--muted); }
.ship-opt strong { font: 700 1.05rem var(--ff-h); white-space: nowrap; }
.ship-opt:has(input:checked) { border-color: var(--orange); background: rgba(255,106,26,.06); }
.rv { width: 100%; border-collapse: collapse; font-size: .92rem; margin-bottom: 14px; }
.rv td { padding: 9px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.rv td:last-child { text-align: right; white-space: nowrap; font-weight: 600; padding-left: 12px; }
.rv .ln-v { display: inline; }
.rv-tot td { font: 700 1.2rem var(--ff-h); border-bottom: 0; padding-top: 14px; }
.consent { display: flex; gap: 12px; align-items: flex-start; margin: 12px 0; font-size: .92rem; cursor: pointer; }
.consent input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--orange); flex: none; }
.consent.bad { color: #b4410d; }
.btn-pay { margin-top: 10px; min-height: 58px; font-size: 1.05rem; }
.btn.busy, .btn[disabled] { opacity: .6; pointer-events: none; }
.co-status { margin: 12px 0 0; font-weight: 600; min-height: 1.4em; }
.co-status.ok { color: #1f7a3f; } .co-status.bad { color: #b4410d; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------------------------------------------------------- done */
.done { text-align: center; min-height: 60vh; display: grid; place-items: center; }
.done-in { display: flex; flex-direction: column; align-items: center; }
.done-noz { position: relative; width: 120px; height: 120px; margin-bottom: 22px; }
.done-noz svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.dn-track { fill: none; stroke: var(--line); stroke-width: 6; }
.dn-arc { fill: none; stroke: var(--orange); stroke-width: 6; stroke-linecap: round; stroke-dasharray: 327; stroke-dashoffset: 250; animation: dn 1.4s linear infinite; transform-origin: 60px 60px; }
@keyframes dn { to { transform: rotate(360deg); } }
.done-noz span { position: absolute; inset: 34px; border-radius: 50%; background: var(--ink); }
.done-noz.ok .dn-arc { animation: none; stroke-dashoffset: 0; stroke: #1f7a3f; transition: stroke-dashoffset .8s var(--ease); }
.done-noz.ok span { background: #1f7a3f url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E") center/60% no-repeat; }
.done-noz.fail .dn-arc { animation: none; stroke: #b4410d; stroke-dashoffset: 0; }
.done-noz.fail span { background: #b4410d; }
.done-order { width: 100%; max-width: 520px; margin-top: 8px; text-align: left; }
.done .btns { justify-content: center; }

/* ---------------------------------------------------------- small screens */
@media (max-width: 1099px) {
  .hdr-cta { gap: 10px; }
}
@media (max-width: 760px) {
  .st-bar { position: static; }
  .st-tools { width: 100%; }
  .st-q { flex: 1 1 100%; order: -1; }
  .st-q input { width: 100%; }
  .fts { flex-wrap: nowrap; overflow-x: auto; margin: 0 calc(-1 * var(--gut)); padding: 2px var(--gut) 6px; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, #000 82%, transparent); mask-image: linear-gradient(90deg, #000 82%, transparent); }
  .ft { white-space: nowrap; }
  .pcs { grid-template-columns: 1fr 1fr; gap: 10px; }
  .pc-b { padding: 12px; }
  .pc-t { font-size: .95rem; }
  .pc-tag { display: none; }
  .sw { width: 20px; height: 20px; }
  .sws { gap: 6px; }
  .pc-f { flex-wrap: wrap; }
  .add { height: 38px; padding: 0 12px; }
  .wall { grid-template-columns: repeat(5, 1fr); padding: 12px; gap: 2px; border-radius: 18px; }
  .wall-s:nth-child(n+11) { display: none; }
  .bf-clock div { min-width: 0; flex: 1; }
  .bf-clock b { font-size: 1.6rem; }
  .pd-scores li { grid-template-columns: 110px 1fr; }
  .ln { grid-template-columns: 60px 1fr; }
  .ln-img { width: 60px; height: 60px; }
  .ln-r { grid-column: 2; text-align: left; display: flex; gap: 16px; align-items: baseline; }
  .toast { bottom: 84px; }
  .st-facts { flex-wrap: wrap; }
}
@media (max-width: 400px) { .pcs { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) {
  .wall-s, .pd-art .art-big, .art.swap, .bfp-layers i, .dn-arc, .promo-tag { animation: none !important; }
  .pc:hover .pc-art .art, .wall-s:hover { transform: none; }
}

/* ---------------------------------------------------------- photos */
.photo { width: 100%; height: auto; mix-blend-mode: multiply; transition: transform .9s var(--ease); }
.pc-art .photo { width: 92%; }
.pc:hover .pc-art .photo { transform: scale(1.05) rotate(-3deg); }
.photo-big { width: 92%; }
.photo.swap { animation: pswap .45s var(--ease); }
@keyframes pswap { from { opacity: .2; transform: scale(.94) rotate(-8deg); } }
svg[hidden], img[hidden] { display: none !important; }
.wall { background: linear-gradient(180deg, #fbfaf7, #ebe9e3); box-shadow: var(--shadow-lg), inset 0 0 0 1px var(--line); }
.wall::before { background: radial-gradient(circle, rgba(20,21,25,.08) 1.2px, transparent 1.6px) 0 0/16px 16px; }
.wall-s { mix-blend-mode: multiply; }
.wall-s { min-width: 0; }
.wall-s img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; }

.nav a { white-space: nowrap; }
@media (max-width: 1399px) and (min-width: 1100px) { .hud { display: none; } .nav a { padding: 10px 9px; font-size: .9rem; } }

/* ------------------------------------------------- home: the shop dock in the hero */
.hero-stage { display: flex; flex-direction: column; align-items: center; }
@media (min-width: 980px) {
  /* forge + dock must both sit in the first screen, even on a 1280 x 720 laptop */
  .hero-grid:has(.dock) .hero-stage { align-self: start; padding-top: clamp(0px, 2vh, 24px); }
  .hero-stage .forge { width: min(100%, 460px, max(240px, calc((100svh - 420px) * .8))); }
}
.dock { position: relative; z-index: 2; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 18px;
  width: min(100%, 470px); margin-top: 6px; padding: 14px 16px 14px 14px; border-radius: 24px; color: #fff; text-decoration: none;
  background: radial-gradient(120% 140% at 0% 0%, rgba(255,106,26,.28), transparent 55%), linear-gradient(160deg, #1c1d22, #0f1013);
  box-shadow: 0 30px 60px -24px rgba(20,21,25,.55), inset 0 0 0 1px rgba(255,255,255,.07);
  overflow: hidden; isolation: isolate; transition: transform .5s var(--ease), box-shadow .5s var(--ease); animation: dock-in .9s .35s var(--ease) both; }
.dock::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background: radial-gradient(circle, rgba(255,255,255,.07) 1px, transparent 1.4px) 0 0/12px 12px; }
.dock::after { content: ""; position: absolute; inset: -1px; z-index: -1; border-radius: inherit; padding: 1px;
  background: conic-gradient(from var(--a, 0deg), transparent 0 70%, var(--orange) 82%, transparent 94%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  animation: dock-sweep 6s linear infinite; }
@property --a { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes dock-sweep { to { --a: 360deg; } }
@keyframes dock-in { from { opacity: 0; transform: translateY(18px) scale(.97); } }
.dock:hover { transform: translateY(-3px); box-shadow: 0 40px 70px -26px rgba(255,106,26,.55), inset 0 0 0 1px rgba(255,138,61,.35); }
.dock-reel { position: relative; width: 92px; height: 92px; flex: none; }
.dock-ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: dock-spin 14s linear infinite; }
.dock-ring circle { fill: none; stroke: var(--orange); stroke-width: 2; stroke-dasharray: 3 7; stroke-linecap: round; opacity: .8; }
.dock:hover .dock-ring { animation-duration: 3s; }
@keyframes dock-spin { to { transform: rotate(360deg); } }
.dock-spools { position: absolute; inset: 7px; border-radius: 50%; overflow: hidden;
  background: radial-gradient(circle at 50% 40%, #fbfaf7, #dcd9d2); box-shadow: inset 0 0 0 1px rgba(0,0,0,.08); }
.dock-spools img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.18);
  opacity: 0; animation: dock-reel calc(var(--n, 6) * 2.4s) var(--ease) infinite both; animation-delay: calc(var(--i) * 2.4s); }
.dock-spools img:first-child { opacity: 1; }
@keyframes dock-reel {
  0% { opacity: 0; transform: scale(1.05) rotate(-28deg); }
  5% { opacity: 1; transform: scale(1.18) rotate(0); }
  15% { opacity: 1; transform: scale(1.18) rotate(4deg); }
  19%, 100% { opacity: 0; transform: scale(1.25) rotate(18deg); }
}
.dock-body { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.dock-k { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font: 500 .68rem/1.2 var(--ff-m); letter-spacing: .16em; text-transform: uppercase; color: var(--orange-2); }
.dock-dot { width: 7px; height: 7px; border-radius: 50%; background: #3ddc84; box-shadow: 0 0 0 0 rgba(61,220,132,.6); animation: dock-ping 2s infinite; }
@keyframes dock-ping { 70% { box-shadow: 0 0 0 7px rgba(61,220,132,0); } 100% { box-shadow: 0 0 0 0 rgba(61,220,132,0); } }
.dock-bf { padding: 3px 7px; border-radius: 6px; background: var(--orange); color: #fff; letter-spacing: .12em; }
.dock-h { font: 700 1.16rem/1.15 var(--ff-h); letter-spacing: -.02em; }
.dock-h em { font-style: normal; color: var(--orange-2); }
.dock-m { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 10px; font-size: .84rem; color: rgba(255,255,255,.72); }
.dock-m b { color: #fff; font-weight: 600; }
.dock-sw { display: inline-flex; }
.dock-sw i { width: 13px; height: 13px; margin-right: -4px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 2px #17181c, inset 0 0 0 1px rgba(255,255,255,.28); }
.dock-go { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--orange); color: #fff;
  transition: transform .45s var(--ease), background .3s; }
.dock-go .ico { width: 20px; height: 20px; }
.dock:hover .dock-go { transform: translateX(3px) rotate(-45deg); background: #fff; color: var(--ink); }
@media (max-width: 979px) {
  .hero-stage .forge { width: min(58%, 270px); }
  .dock { width: 100%; max-width: 520px; margin-top: 0; }
}
@media (max-width: 420px) {
  .dock { gap: 12px; padding: 11px 12px 11px 10px; border-radius: 20px; }
  .dock-reel { width: 70px; height: 70px; }
  .dock-spools { inset: 5px; }
  .dock-h { font-size: 1rem; }
  .dock-k { font-size: .6rem; letter-spacing: .12em; }
  .dock-m { font-size: .78rem; }
  .dock-go { width: 40px; height: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  .dock, .dock::after, .dock-ring, .dock-dot { animation: none !important; }
  .dock-spools img { animation: none !important; opacity: 0; } .dock-spools img:first-child { opacity: 1; transform: scale(1.18); }
}
@media (max-width: 979px) and (max-height: 720px) { .hero-stage .forge { width: min(40%, 190px); } }
