/* TCG Apex. Palette: card stock, binder ink, cobalt, holo foil. */
:root {
  --paper: #FAF7F2;
  --white: #FFFFFF;
  --ink: #1A1A1F;
  --ink-2: #5B5963;
  --line: #E6E0D8;
  --cobalt: #D62828;        /* primary: Fire red (buttons, links) */
  --cobalt-dark: #B01E1E;
  --orange: #EC6602;        /* accent: big numbers, highlights (not for small text) */
  --gold: #FFC23D;
  --wa: #128C4A;
  --red: #B42E2E;
  --foil: linear-gradient(115deg, #FFC23D 0%, #EC6602 38%, #D62828 70%, #FFC23D 100%);
  --display: "Archivo", "Arial Black", system-ui, sans-serif;
  --body: "Instrument Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 1180px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1rem/1.6 var(--body); }
img { max-width: 100%; display: block; }
a { color: var(--cobalt); text-underline-offset: 2px; }
a:hover { color: var(--cobalt-dark); }
:focus-visible { outline: 3px solid var(--cobalt); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--display); font-stretch: 112%; line-height: 1.1; margin: 0 0 .5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 620px; }
.page { padding-top: 40px; padding-bottom: 72px; }
.muted { color: var(--ink-2); }
.small { font-size: .875rem; }
.center { text-align: center; }
.sr, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 10; }
.skip:focus { left: 8px; }

/* ---------- header / footer ---------- */
.site-header { background: var(--paper); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 5; }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.wordmark { font-family: var(--display); font-stretch: 125%; font-weight: 900; font-size: 1.3rem; letter-spacing: .02em; color: var(--ink); text-decoration: none; margin: 0; }
.wordmark { display: inline-flex; align-items: center; gap: 6px; }
.wordmark img { height: 34px; width: auto; }
.admin .wordmark img { height: 27px; }
.footer-logo { height: 29px; width: auto; margin-bottom: 12px; }
.wordmark small { font-stretch: 100%; font-weight: 600; font-size: .8rem; color: var(--ink-2); letter-spacing: 0; margin-left: 4px; }
.wordmark-sm { font-size: 1.05rem; margin-bottom: 8px; }
.nav { display: flex; gap: 4px; flex-wrap: wrap; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 600; padding: 8px 12px; border-radius: 8px; }
.nav a:hover { background: var(--white); color: var(--ink); }
.cart-count { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; margin-left: 2px; border-radius: 11px; background: var(--cobalt); color: #fff; font-size: .78rem; font-weight: 700; }
.site-footer { background: var(--ink); color: #D8D4CE; padding: 40px 0; font-size: .9rem; }
.site-footer .wordmark { color: #fff; }
.site-footer a { color: var(--gold); }
.footer-row { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.legal { max-width: 52ch; color: #A6A2AB; font-size: .8rem; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 600 1rem/1 var(--body); padding: 14px 22px; border-radius: 10px; border: 2px solid var(--ink); background: var(--white); color: var(--ink); text-decoration: none; cursor: pointer; transition: background .15s, color .15s, transform .1s; }
.btn:hover { background: var(--ink); color: #fff; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--cobalt); border-color: var(--cobalt); color: #fff; }
.btn-primary:hover { background: var(--cobalt-dark); border-color: var(--cobalt-dark); color: #fff; }
.btn-ghost { background: transparent; }
.btn-small { padding: 9px 14px; font-size: .9rem; border-width: 1.5px; }
.btn-block { width: 100%; }
.btn-wa { background: var(--wa); border-color: var(--wa); color: #fff; }
.btn-wa:hover { background: #0D7038; border-color: #0D7038; color: #fff; }
.btn-danger { background: transparent; border-color: var(--red); color: var(--red); }
.btn-danger:hover { background: var(--red); color: #fff; }
.link-btn { background: none; border: 0; padding: 0; font: inherit; font-size: .875rem; font-weight: 600; color: var(--cobalt); cursor: pointer; text-decoration: underline; text-underline-offset: 2px; }
.link-btn.is-done { color: var(--wa); text-decoration: none; }

/* ---------- hero with holo card fan ---------- */
.hero { padding: 56px 0 72px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(2.6rem, 6.2vw, 5.2rem); font-stretch: 125%; font-weight: 900; line-height: .94; letter-spacing: -0.02em; max-width: 11ch; margin-bottom: 24px; }
.lede { font-size: 1.15rem; max-width: 46ch; color: var(--ink-2); }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }

.fan { position: relative; height: 380px; }
.holo-card {
  --mx: 50%; --my: 30%;
  position: absolute; left: 50%; top: 50%; width: 200px; aspect-ratio: 5 / 7;
  margin: -140px 0 0 -100px; border-radius: 14px; border: 8px solid transparent;
  background: linear-gradient(var(--ink), var(--ink)) padding-box, var(--foil) border-box;
  box-shadow: 0 18px 40px -18px rgba(26, 26, 31, .55);
  display: grid; place-items: center; overflow: hidden; isolation: isolate;
  transition: transform .7s cubic-bezier(.2, .8, .2, 1);
}
.holo-card::before { /* diamond lattice back pattern */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    repeating-linear-gradient(45deg, rgba(255,255,255,.07) 0 1px, transparent 1px 16px),
    repeating-linear-gradient(-45deg, rgba(255,255,255,.07) 0 1px, transparent 1px 16px);
}
.holo-card::after { /* foil sheen that follows the pointer */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(circle at var(--mx) var(--my), rgba(255,255,255,.4), transparent 45%),
    var(--foil);
  background-size: 100% 100%, 300% 300%;
  background-position: 0 0, var(--mx) var(--my);
  mix-blend-mode: color-dodge; opacity: .24;
}
.holo-card span {
  font-family: var(--display); font-stretch: 125%; font-weight: 900; font-size: 3rem; color: var(--gold);
  width: 120px; height: 160px; display: grid; place-items: center; border-radius: 50%;
  border: 2px solid rgba(255, 214, 110, .55); letter-spacing: .02em;
}
.holo-card.c1 { transform: translateX(-46%) rotate(-13deg); }
.holo-card.c2 { transform: translateY(-14px); z-index: 2; }
.holo-card.c3 { transform: translateX(46%) rotate(13deg); }
.fan.is-stacked .holo-card { transform: none; }
.fan-products .shot { position: absolute; width: 58%; left: 21%; top: 2%; transition: transform .8s cubic-bezier(.2,.8,.2,1); filter: drop-shadow(0 20px 26px rgba(26,26,31,.25)); }
.fan-products .s1 { transform: translate(-38%, 14%) rotate(-9deg) scale(.82); }
.fan-products .s3 { transform: translate(38%, 14%) rotate(9deg) scale(.82); }
.fan-products .s2 { z-index: 2; }
.fan.is-stacked .shot { transform: none; }
.new-in { display: inline-flex; align-items: center; gap: 10px; background: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: 6px 12px 6px 6px; margin-bottom: 22px; font-weight: 600; font-size: .92rem; text-decoration: none; color: var(--ink); }
.new-in b { background: var(--foil); color: var(--ink); border-radius: 6px; padding: 3px 8px; font-size: .8rem; }
.tag-pre { background: var(--cobalt); color: #fff; }

/* ---------- how it works ---------- */
.how { padding: 64px 0; background: var(--white); border-block: 1px solid var(--line); }
.steps { list-style: none; padding: 0; margin: 32px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; counter-reset: step; }
.steps li { counter-increment: step; border-top: 3px solid var(--ink); padding-top: 18px; }
.steps li::before { content: counter(step); display: block; font-family: var(--display); font-stretch: 125%; font-weight: 900; font-size: 2.4rem; line-height: 1; color: var(--orange); margin-bottom: 12px; }
.steps p { color: var(--ink-2); margin: 0; }

/* ---------- shop ---------- */
.shop { padding: 64px 0 88px; scroll-margin-top: 64px; }
.shop-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; margin-bottom: 28px; }
.shop-head h2 { margin: 0; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.shop-head .chips { margin: 0; }
.chip { padding: 7px 14px; border-radius: 8px; border: 1.5px solid var(--line); background: var(--white); color: var(--ink); font-weight: 600; font-size: .9rem; text-decoration: none; }
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip.is-on { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip .n { opacity: .6; font-weight: 500; margin-left: 2px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 22px; }
.product { background: var(--white); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; }
.product-media { position: relative; display: block; aspect-ratio: 5 / 6; background: #F5F7FB; }
.product-media img { width: 100%; height: 100%; object-fit: contain; padding: 10px 14px; }
.product.is-sold .product-media img, .product.is-sold .ph { filter: grayscale(1); opacity: .55; }
.ph { position: absolute; inset: 14px; border-radius: 12px; background: var(--ink); overflow: hidden; display: flex; align-items: flex-end; padding: 16px; }
.ph::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(45deg, rgba(255,255,255,.06) 0 1px, transparent 1px 14px), repeating-linear-gradient(-45deg, rgba(255,255,255,.06) 0 1px, transparent 1px 14px); }
.ph::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: var(--foil); }
.ph span { position: relative; font-family: var(--display); font-stretch: 125%; font-weight: 800; color: #fff; font-size: 1.15rem; line-height: 1.05; }
.ph-lg { position: relative; inset: auto; aspect-ratio: 5 / 7; }
.ph-lg span { font-size: 2rem; }
.tag { position: absolute; top: 12px; left: 12px; padding: 4px 10px; border-radius: 6px; font-size: .8rem; font-weight: 700; }
.tag-low { background: var(--gold); color: var(--ink); }
.tag-sold { background: var(--ink); color: #fff; }
.product-body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.product-type { font-size: .82rem; color: var(--ink-2); margin: 0 0 4px; }
.product-name { font-family: var(--body); font-stretch: 100%; font-size: 1.02rem; font-weight: 600; line-height: 1.35; letter-spacing: 0; margin: 0 0 14px; }
.product-name a { color: var(--ink); text-decoration: none; }
.product-name a:hover { text-decoration: underline; }
.product-foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.price { font-family: var(--display); font-stretch: 112%; font-weight: 800; font-size: 1.15rem; white-space: nowrap; }
.price-lg { font-size: 2rem; margin-bottom: 4px; }
.empty { background: var(--white); border: 1.5px dashed var(--line); border-radius: 16px; padding: 32px; text-align: center; color: var(--ink-2); }

/* ---------- product page ---------- */
.product-page { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.product-page-media { background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 24px; }
.product-page-media img { margin: 0 auto; max-height: 560px; object-fit: contain; }
.back { display: inline-block; font-weight: 600; font-size: .9rem; margin-bottom: 18px; }
.back::before { content: "‹ "; }
.stock { font-weight: 600; color: var(--wa); }
.stock-out { color: var(--red); }
.buy-row { display: flex; gap: 12px; align-items: end; flex-wrap: wrap; margin: 20px 0 28px; }
.qty { display: grid; gap: 4px; font-size: .85rem; font-weight: 600; }
.qty input { width: 90px; }
.qty-sm input { width: 72px; padding: 8px 10px; }
.desc { border-top: 1px solid var(--line); padding-top: 20px; color: var(--ink-2); }

/* ---------- forms ---------- */
.form fieldset { border: 0; padding: 0; margin: 0 0 28px; }
.form legend { font-family: var(--display); font-stretch: 112%; font-weight: 800; font-size: 1.2rem; margin-bottom: 14px; padding: 0; }
.field { margin-bottom: 16px; }
.field label, .field > span { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 6px; }
input, select, textarea { width: 100%; font: inherit; color: var(--ink); background: var(--white); border: 1.5px solid #C3C9DA; border-radius: 10px; padding: 12px 14px; }
input:focus, select:focus, textarea:focus { border-color: var(--cobalt); outline: 3px solid rgba(214, 40, 40, .2); outline-offset: 0; }
input[type="radio"], input[type="checkbox"] { width: auto; accent-color: var(--cobalt); }
input[type="file"] { padding: 10px; }
.has-error input, .has-error textarea { border-color: var(--red); }
.err { color: var(--red); font-size: .875rem; font-weight: 600; margin: 6px 0 0; }
.hint { color: var(--ink-2); font-size: .85rem; margin: 6px 0 0; }
.options { display: grid; gap: 8px; margin-bottom: 16px; }
.option { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: var(--white); border: 1.5px solid #C3C9DA; border-radius: 12px; cursor: pointer; }
.option:has(input:checked) { border-color: var(--cobalt); box-shadow: inset 0 0 0 1px var(--cobalt); }
.option-label { flex: 1; font-weight: 600; }
.option-fee { font-weight: 600; color: var(--ink-2); }
.check { display: flex; align-items: center; gap: 8px; font-weight: 600; margin: 8px 0 16px; cursor: pointer; }
.field-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 0 16px; }
.form-actions { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 8px; }

/* ---------- cart / summary ---------- */
.cart-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 40px; align-items: start; }
.cart-lines { display: grid; gap: 12px; justify-items: start; }
.line { width: 100%; display: grid; grid-template-columns: 64px 1fr auto auto auto; gap: 16px; align-items: center; background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 12px 16px 12px 12px; }
.line-thumb { position: relative; width: 64px; aspect-ratio: 5 / 6; background: #F5F7FB; border-radius: 8px; overflow: hidden; }
.line-thumb img { width: 100%; height: 100%; object-fit: contain; }
.line-thumb .ph { inset: 0; border-radius: 8px; padding: 6px; }
.line-thumb .ph span { font-size: .55rem; }
.line-info { display: grid; gap: 2px; min-width: 0; }
.line-name { font-weight: 600; color: var(--ink); text-decoration: none; }
.line-total { font-weight: 700; white-space: nowrap; }
.summary { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 22px; position: sticky; top: 84px; }
.summary-title { font-size: 1.2rem; }
.sum-row { display: flex; justify-content: space-between; gap: 16px; padding: 6px 0; }
.sum-total { font-size: 1.15rem; border-top: 2px solid var(--ink); margin-top: 6px; padding-top: 12px; }
.sum-total strong { font-family: var(--display); font-stretch: 112%; font-weight: 800; }
hr { border: 0; border-top: 1px solid var(--line); margin: 10px 0; }
.summary .btn-block { margin-top: 12px; }

/* ---------- flash & status ---------- */
.flash { margin: 20px 0 0; padding: 12px 16px; border-radius: 10px; font-weight: 500; border-left: 4px solid; }
.flash-ok { background: #DFF4E8; border-color: var(--wa); color: #0D4F2B; }
.flash-warn { background: #FFF2CC; border-color: #D79A00; color: #5C4200; }
.status { display: inline-block; padding: 4px 10px; border-radius: 6px; font-family: var(--body); font-stretch: 100%; font-size: .82rem; font-weight: 700; letter-spacing: 0; vertical-align: middle; white-space: nowrap; }
.status-pending { background: #FFF1C7; color: #6B4E00; }
.status-paid { background: #DDF5E6; color: #12613A; }
.status-shipped { background: #E0E6FF; color: #2238A8; }
.status-completed { background: #E6E8F0; color: #3A3F5C; }
.status-cancelled { background: #FBE1E1; color: #9B2424; }

/* ---------- order / payment page ---------- */
.order-head h1 { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; margin-top: 10px; }
.order-no { font-stretch: 125%; }
.pay { display: grid; grid-template-columns: 360px 1fr; gap: 40px; margin: 28px 0 40px; background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: 32px; }
.pay-qr { text-align: center; }
.pay-qr img { width: 100%; max-width: 340px; height: auto; margin: 0 auto; border-radius: 16px; box-shadow: 0 10px 30px -12px rgba(26,26,31,.35); }
.pay-to { margin: 14px 0 6px; }
.amount-label { font-weight: 600; color: var(--ink-2); margin: 0; }
.amount { font-family: var(--display); font-stretch: 125%; font-weight: 900; font-size: clamp(2.2rem, 5vw, 3.2rem); line-height: 1.1; margin: 0 0 8px; display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.amount .link-btn { font-family: var(--body); font-stretch: 100%; font-size: .9rem; }
.deadline { font-size: .92rem; color: #6B4E00; background: #FFF6DA; padding: 8px 12px; border-radius: 8px; display: inline-block; }
.pay-list { padding-left: 22px; margin: 18px 0 24px; display: grid; gap: 12px; }
.pay-list li::marker { font-family: var(--display); font-weight: 800; color: var(--cobalt); }
.order-detail { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 28px; }
.order-detail h2, .panel h2 { font-size: 1.15rem; }
.sub { font-size: 1.1rem; margin-top: 32px; }
.plain { list-style: none; padding: 0; }
.plain li { padding: 6px 0; }

/* ---------- admin ---------- */
.admin .site-header { background: var(--ink); border: 0; }
.admin .wordmark, .admin .nav a { color: #fff; }
.admin .wordmark { display: inline-flex; align-items: center; gap: 6px; }
.wordmark img { height: 34px; width: auto; }
.admin .wordmark img { height: 27px; }
.footer-logo { height: 29px; width: auto; margin-bottom: 12px; }
.wordmark small { color: var(--gold); }
.admin .nav a:hover { background: rgba(255,255,255,.1); }
.admin-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.admin-head h1 { margin: 0; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.search { display: flex; gap: 8px; }
.search input { padding: 9px 12px; min-width: 240px; }
.table-wrap { overflow-x: auto; background: var(--white); border: 1px solid var(--line); border-radius: 14px; }
.table { width: 100%; border-collapse: collapse; font-size: .93rem; }
.table th { text-align: left; font-size: .82rem; color: var(--ink-2); font-weight: 600; padding: 12px 14px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.table td { padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table tr:last-child td { border-bottom: 0; }
.table tr.is-off { opacity: .55; }
.thumb-cell { width: 56px; }
.thumb-cell img { width: 44px; height: 52px; object-fit: contain; }
.admin-cols { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.panel { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 22px; margin-bottom: 24px; }
.narrow-form { max-width: 720px; }
.edit-thumb { width: 120px; margin-bottom: 8px; border-radius: 8px; border: 1px solid var(--line); }
.log { white-space: pre-wrap; font: .82rem/1.5 var(--body); color: var(--ink-2); background: var(--paper); padding: 12px; border-radius: 8px; margin: 0; }
.login-body { min-height: 100vh; display: grid; place-items: center; padding: 20px; }
.login-box { width: 100%; max-width: 380px; background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 32px; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .hero-grid, .product-page, .cart-layout, .pay, .order-detail, .admin-cols { grid-template-columns: 1fr; }
  .fan { height: 250px; order: -1; }
  .fan-products { height: 290px; }
  .fan-products .shot { width: 46%; left: 27%; }
  .holo-card { width: 130px; margin: -91px 0 0 -65px; border-width: 6px; }
  .holo-card span { width: 76px; height: 104px; font-size: 1.8rem; }
  .steps { grid-template-columns: 1fr; gap: 24px; }
  .summary { position: static; }
  .pay { padding: 22px; }
  .pay-qr { max-width: 270px; margin: 0 auto; }
}
@media (max-width: 560px) {
  .hero { padding-top: 24px; }
  .nav { flex-wrap: nowrap; gap: 0; }
  .nav a { padding: 8px 7px; font-size: .9rem; white-space: nowrap; }
  .wordmark img { height: 21px; }
  .header-row { gap: 8px; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .product-body { padding: 12px; }
  .product-foot { flex-direction: column; align-items: stretch; }
  .product-foot .btn { width: 100%; }
  .line { grid-template-columns: 56px 1fr auto; }
  .line-thumb { width: 56px; }
  .line .qty { grid-column: 2; }
  .line-total { grid-column: 3; grid-row: 1; }
  .line .link-btn { grid-column: 3; justify-self: end; }
  .search input { min-width: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .holo-card { transition: none; }
  .holo-card::after { background-position: 0 0, 50% 50%; }
}

/* ===== v10: trust, policies, gallery ===== */
.topbar { background: var(--ink); color: #EDE9E3; font-size: .8rem; font-weight: 600; }
.topbar-row { display: flex; justify-content: center; gap: 28px; padding: 7px 20px; }
.topbar-row span::before { content: "✓"; color: var(--gold); margin-right: 6px; }
.nav a.is-on { background: var(--white); }
.hero-trust { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: .9rem; font-weight: 600; color: var(--ink-2); }
.hero-trust li::before { content: "✓"; color: var(--wa); font-weight: 800; margin-right: 6px; }
.kicker { font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--cobalt); margin: 0 0 6px; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }
.section-head h2 { margin: 0; }
.link-more { font-weight: 700; }
.link-more::after { content: " →"; }
.spotlight { padding: 56px 0 8px; }
.grid-4 { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.shop-head .count { font-family: var(--body); font-stretch: 100%; font-size: .95rem; font-weight: 600; color: var(--ink-2); margin-left: 6px; }

/* product cards */
.product-media img { transition: opacity .25s ease; }
.product-media .alt-img { position: absolute; inset: 0; opacity: 0; }
.product.has-alt:hover .product-media .alt-img { opacity: 1; }
.product.has-alt:hover .product-media img:first-child { opacity: 0; }
.tags { position: absolute; top: 10px; left: 10px; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.tags .tag, .gallery-main .tag { position: static; }
.tag-pc { background: var(--ink); color: var(--gold); }
.product-meta { font-size: .8rem; color: var(--ink-2); margin: -8px 0 12px; }
.authentic { color: var(--wa); font-weight: 700; }
.authentic::before { content: "✓ "; }

/* product page */
.crumbs { font-size: .85rem; color: var(--ink-2); margin-bottom: 18px; }
.crumbs a { color: var(--ink-2); }
.crumbs span { margin: 0 6px; opacity: .5; }
.gallery-main { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 18px; }
.gallery-main img { margin: 0 auto; max-height: 600px; width: 100%; object-fit: contain; }
.gallery-main .tag { position: absolute; top: 14px; left: 14px; }
.thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.thumb { width: 78px; aspect-ratio: 5 / 6; padding: 4px; border-radius: 10px; border: 2px solid var(--line); background: var(--white); cursor: pointer; }
.thumb img { width: 100%; height: 100%; object-fit: contain; }
.thumb.is-on, .thumb:hover { border-color: var(--ink); }
.assurance { list-style: none; padding: 18px; margin: 0 0 24px; background: var(--white); border: 1px solid var(--line); border-radius: 14px; display: grid; gap: 10px; font-size: .92rem; }
.assurance li { padding-left: 26px; position: relative; }
.assurance li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 18px; height: 18px; border-radius: 50%; background: var(--wa); color: #fff; font-size: .7rem; font-weight: 800; display: grid; place-items: center; }
.desc h2 { font-size: 1.1rem; }
.ask { font-size: .92rem; margin-top: 18px; }
.related { margin-top: 56px; }

/* promise / business band */
.promise { padding: 64px 0; }
.promise-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center; }
.promise-grid p { color: var(--ink-2); max-width: 58ch; }
.biz-card { background: var(--ink); color: #EDE9E3; border-radius: 18px; padding: 28px; }
.biz-card a { color: var(--gold); font-weight: 600; }
.biz-name { font-family: var(--display); font-stretch: 112%; font-weight: 800; font-size: 1.4rem; color: #fff; margin: 0 0 4px; }
.biz-reg { font-size: .9rem; color: var(--gold); font-weight: 600; margin-bottom: 14px; }
.biz-card address { font-style: normal; line-height: 1.6; margin-bottom: 14px; }

/* trust bar + footer */
.trustbar { background: var(--white); border-top: 1px solid var(--line); padding: 26px 0; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.trust-grid div { display: grid; gap: 2px; padding-left: 14px; border-left: 3px solid var(--cobalt); }
.trust-grid strong { font-family: var(--display); font-stretch: 112%; font-weight: 800; }
.trust-grid span { font-size: .85rem; color: var(--ink-2); }
.site-footer { padding: 48px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 32px; padding-bottom: 32px; }
.site-footer h2 { font-family: var(--body); font-stretch: 100%; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: #fff; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer ul a, .site-footer address { color: #D8D4CE; text-decoration: none; font-style: normal; }
.site-footer ul a:hover { color: #fff; text-decoration: underline; }
.footer-brand p { color: #BDB8C0; font-size: .9rem; }
.ssm { color: #fff !important; font-weight: 600; }
.muted-light { color: #A6A2AB; }
.pay-note { font-size: .85rem; color: #BDB8C0; }
.footer-bottom { border-top: 1px solid #34343C; padding: 18px 20px; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: .8rem; color: #A6A2AB; }
.footer-bottom p { margin: 0; }
.footer-bottom .legal { max-width: 60ch; }

/* info pages */
.info-layout { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 48px; align-items: start; }
.info-menu { display: grid; gap: 2px; position: sticky; top: 90px; }
.info-menu a { padding: 9px 12px; border-radius: 8px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: .92rem; }
.info-menu a:hover { background: var(--white); }
.info-menu a[aria-current] { background: var(--ink); color: #fff; }
.prose { max-width: 72ch; }
.prose h2 { font-size: 1.25rem; margin-top: 32px; }
.prose p, .prose li { color: #3A3940; }
.prose li { margin-bottom: 6px; }
.prose address { font-style: normal; line-height: 1.7; }
.lede-sm { font-size: 1.08rem; color: var(--ink-2); }
.updated { margin-top: 40px; font-size: .85rem; color: var(--ink-2); border-top: 1px solid var(--line); padding-top: 14px; }

/* contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 24px 0; }
.contact-card { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 24px; }
.contact-card h2 { font-size: 1.1rem; }
.contact-card address { font-style: normal; line-height: 1.7; margin-bottom: 10px; }
.big-line { font-family: var(--display); font-stretch: 112%; font-weight: 800; font-size: 1.6rem; margin-bottom: 14px; }
.map-wrap { border-radius: 16px; overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16 / 7; background: var(--white); }
.map-wrap iframe { width: 100%; height: 100%; border: 0; display: block; }
.faq { margin-top: 48px; max-width: 820px; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 0 18px; margin-bottom: 10px; }
.faq summary { cursor: pointer; font-weight: 700; padding: 16px 0; list-style: none; position: relative; padding-right: 28px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 12px; font-size: 1.4rem; color: var(--cobalt); }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--ink-2); margin: 0 0 16px; }
.agree { align-items: flex-start; font-weight: 500; font-size: .92rem; }
.agree input { margin-top: 4px; }
.agree.has-error span { color: var(--red); }

/* admin extra photos */
.extra-list { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 10px; }
.extra-item { display: grid; gap: 4px; font-size: .8rem; font-weight: 600; cursor: pointer; }
.extra-item img { width: 90px; height: 108px; object-fit: contain; background: #fff; border: 1px solid var(--line); border-radius: 8px; }

@media (max-width: 900px) {
  .promise-grid, .info-layout, .contact-grid { grid-template-columns: 1fr; }
  .info-menu { position: static; grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hide-md { display: none; }
}
@media (max-width: 560px) {
  .hide-sm { display: none; }
  .topbar-row { gap: 14px; font-size: .75rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .map-wrap { aspect-ratio: 4 / 3; }
  .thumb { width: 64px; }
}
.fan-products .shot { border-radius: 16px; border: 1px solid var(--line); background: #fff; }
.promise-grid .biz-card p { color: #EDE9E3; }
.promise-grid .biz-card .biz-name { color: #fff; }
.promise-grid .biz-card .biz-reg { color: var(--gold); }
.product.is-sold .product-media img { filter: grayscale(1); opacity: .45; }
/* order workflow */
.status-refund { background: #FFE3D3; color: #9A3A0A; }
.todo { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 18px; }
.todo-card { display: grid; gap: 2px; background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; text-decoration: none; color: var(--ink); }
.todo-card:hover { border-color: var(--ink); color: var(--ink); }
.todo-card strong { font-family: var(--display); font-stretch: 112%; font-size: 1.8rem; line-height: 1; }
.todo-card span { font-weight: 700; }
.todo-card small { color: var(--ink-2); }
.todo-card.is-alert { border-color: #E2742F; background: #FFF4EC; }
.next-step { border-left: 4px solid var(--cobalt); }
.next-text { font-size: 1.02rem; }
.actions { display: flex; gap: 10px; flex-wrap: wrap; }
.inline-form { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.inline-form input { width: auto; min-width: 220px; padding: 10px 12px; }
.item-row { display: grid; grid-template-columns: 1fr auto auto; gap: 14px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line); }
.danger-zone { border-color: #EBC9C9; }
.danger-zone .delete-form { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); }
.cancel-own { text-align: center; margin-top: 14px; }
.cancel-own .link-btn { color: var(--ink-2); font-weight: 500; }
@media (max-width: 700px) { .todo { grid-template-columns: 1fr; } }

/* ===== v12: 30th Celebration hero spotlight ===== */
.spot30 {
  --g1: #FFF7E2; --g2: #FFE29A; --g3: #E9B53C; --g4: #B8860B;
  position: relative; isolation: isolate; overflow: hidden;
  aspect-ratio: 5 / 6; max-height: 600px; width: 100%; margin-left: auto;
  border-radius: 28px;
  background: radial-gradient(120% 90% at 50% 38%, #FFFFFF 0%, var(--g1) 38%, var(--g2) 78%, #F6C95A 100%);
  box-shadow: 0 30px 60px -28px rgba(160, 110, 10, .55), inset 0 0 0 1px rgba(184, 134, 11, .25);
}
.spot30::before { /* foil border */
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 3px; z-index: 5; pointer-events: none;
  background: linear-gradient(135deg, #FFE7A0, var(--g3), #FFF5D6, var(--g4), #FFE7A0);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
}
.spot30::after { /* shine sweep */
  content: ""; position: absolute; top: -20%; bottom: -20%; width: 35%; left: -60%; z-index: 4; pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.65), transparent);
  transform: skewX(-18deg); animation: spotShine 6s ease-in-out infinite;
}
.spot-rays {
  position: absolute; left: 50%; top: 42%; width: 170%; aspect-ratio: 1; translate: -50% -50%; z-index: -1;
  background: repeating-conic-gradient(from 0deg, rgba(255,255,255,.55) 0deg 7deg, rgba(255,255,255,0) 7deg 20deg);
  -webkit-mask: radial-gradient(circle, #000 0%, transparent 62%); mask: radial-gradient(circle, #000 0%, transparent 62%);
  animation: spotSpin 50s linear infinite;
}
.spot-num {
  position: absolute; left: 50%; top: 40%; translate: -50% -50%; z-index: -1;
  font-family: var(--display); font-stretch: 125%; font-weight: 900; font-size: clamp(9rem, 22vw, 17rem); line-height: 1;
  color: transparent; -webkit-text-stroke: 3px rgba(184, 134, 11, .28); letter-spacing: -.04em; user-select: none;
}
.spark { position: absolute; width: 14px; height: 14px; z-index: 3; pointer-events: none; animation: spotTwinkle 2.8s ease-in-out infinite; }
.spark::before, .spark::after { content: ""; position: absolute; inset: 0; background: #fff; clip-path: polygon(50% 0, 60% 40%, 100% 50%, 60% 60%, 50% 100%, 40% 60%, 0 50%, 40% 40%); filter: drop-shadow(0 0 4px #FFD25E); }
.spark.k1 { top: 12%; left: 14%; } .spark.k2 { top: 20%; right: 12%; width: 20px; height: 20px; animation-delay: .6s; }
.spark.k3 { top: 46%; left: 7%; width: 10px; height: 10px; animation-delay: 1.2s; } .spark.k4 { top: 58%; right: 8%; animation-delay: 1.8s; }
.spark.k5 { top: 8%; left: 50%; width: 9px; height: 9px; animation-delay: 2.2s; } .spark.k6 { top: 34%; right: 24%; width: 8px; height: 8px; animation-delay: .9s; }
.spark.k7 { top: 30%; left: 26%; width: 8px; height: 8px; animation-delay: 1.5s; } .spark.k8 { top: 64%; left: 20%; width: 12px; height: 12px; animation-delay: .3s; }
.spark.k9 { top: 14%; right: 36%; width: 11px; height: 11px; animation-delay: 2.5s; }
.spot-badge {
  position: absolute; top: 18px; left: 18px; z-index: 6; margin: 0;
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; border-radius: 999px;
  background: rgba(26, 26, 31, .9); color: #fff; font-size: .78rem; font-weight: 600;
}
.spot-badge span { background: linear-gradient(135deg, #FFE7A0, var(--g3)); color: var(--ink); border-radius: 999px; padding: 3px 9px; font-weight: 800; }
.spot-slides { position: absolute; inset: 0; }
.spot-slide {
  position: absolute; inset: 0; display: grid; grid-template-rows: minmax(0, 1fr) auto; padding: 62px 26px 54px;
  text-decoration: none; color: var(--ink); opacity: 0; transform: translateX(14%) scale(.92) rotate(3deg);
  transition: opacity .7s ease, transform .9s cubic-bezier(.2, .8, .2, 1); pointer-events: none;
}
.spot-slide.is-on { opacity: 1; transform: none; pointer-events: auto; }
.spot-slide.is-out { opacity: 0; transform: translateX(-14%) scale(.92) rotate(-3deg); }
.spot-img { position: relative; display: grid; place-items: center; min-height: 0; height: 100%; }
.spot-img img { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; animation: spotFloat 4.5s ease-in-out infinite; }
.spot-img::after { /* soft floor shadow that breathes with the float */
  content: ""; position: absolute; left: 22%; right: 22%; bottom: 6%; height: 7%; border-radius: 50%; z-index: 0;
  background: radial-gradient(closest-side, rgba(120, 80, 0, .35), transparent); animation: spotShadow 4.5s ease-in-out infinite;
}
@keyframes spotShadow { 0%, 100% { transform: scaleX(1); opacity: .9; } 50% { transform: scaleX(.82); opacity: .55; } }
.spot-cap {
  display: grid; gap: 6px; justify-items: center; text-align: center; margin-top: 8px;
  background: rgba(255, 255, 255, .78); backdrop-filter: blur(6px); border-radius: 16px; padding: 12px 16px;
  box-shadow: 0 8px 20px -12px rgba(120, 80, 0, .45);
}
.spot-tag { font-size: .7rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--g4); }
.spot-name { font-weight: 700; line-height: 1.25; font-size: .98rem; }
.spot-buy { display: flex; align-items: center; gap: 12px; }
.spot-price { font-family: var(--display); font-stretch: 112%; font-weight: 800; font-size: 1.2rem; }
.spot-cta { background: var(--cobalt); color: #fff; font-weight: 700; font-size: .85rem; padding: 7px 14px; border-radius: 999px; transition: background .2s; }
.spot-slide:hover .spot-cta, .spot-slide:focus-visible .spot-cta { background: var(--cobalt-dark); }
.spot-dots { position: absolute; bottom: 18px; left: 0; right: 0; z-index: 6; display: flex; justify-content: center; gap: 8px; }
.spot-dots button { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 999px; background: rgba(26, 26, 31, .28); cursor: pointer; transition: width .3s, background .3s; }
.spot-dots button.is-on { width: 26px; background: var(--ink); }
@keyframes spotSpin { to { rotate: 360deg; } }
@keyframes spotFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes spotTwinkle { 0%, 100% { opacity: 0; transform: scale(.4) rotate(0deg); } 50% { opacity: 1; transform: scale(1) rotate(45deg); } }
@keyframes spotShine { 0%, 55% { left: -60%; } 85%, 100% { left: 130%; } }
@media (max-width: 900px) {
  .spot30 { order: -1; max-width: 420px; margin: 0 auto; aspect-ratio: 4 / 5; }
  .spot-slide { padding: 54px 18px 44px; }
  .spot-cap { padding: 10px 12px; }
  .spot-name { font-size: .9rem; }
  .spot-num { font-size: 12rem; }
}
@media (prefers-reduced-motion: reduce) {
  .spot-rays, .spot-img img, .spot-img::after, .spark, .spot30::after { animation: none; }
  .spot-slide { transition: opacity .2s; transform: none !important; }
}

/* ===== v13: Pokémon Center "vault" band + card button fix ===== */
.btn-small { white-space: nowrap; }
.product-foot { flex-wrap: wrap; }
.vault {
  --vg: #FFC23D; --vg2: #E9B53C;
  position: relative; overflow: hidden; isolation: isolate;
  margin-top: 40px; padding: 72px 0 80px; color: #F3EFE8;
  background:
    radial-gradient(60% 70% at 85% 10%, rgba(255, 194, 61, .16), transparent 70%),
    radial-gradient(50% 60% at 5% 100%, rgba(214, 40, 40, .18), transparent 70%),
    repeating-linear-gradient(135deg, rgba(255,255,255,.025) 0 2px, transparent 2px 14px),
    #141418;
}
.vault::before { /* gold foil edge with a moving sheen */
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px;
  background: linear-gradient(90deg, #8A6A12, var(--vg), #FFF1C7, var(--vg), #8A6A12);
  background-size: 200% 100%; animation: vaultSheen 6s linear infinite;
}
.vault::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: rgba(255, 194, 61, .25); }
.vault-ball { /* big faint Poké Ball outline in the corner */
  position: absolute; z-index: -1; right: -140px; top: -120px; width: 460px; aspect-ratio: 1; border-radius: 50%;
  border: 2px solid rgba(255, 194, 61, .12);
  background:
    radial-gradient(circle, transparent 0 46px, rgba(255, 194, 61, .12) 46px 49px, transparent 49px 70px, rgba(255, 194, 61, .12) 70px 72px, transparent 72px),
    linear-gradient(transparent calc(50% - 1px), rgba(255, 194, 61, .12) calc(50% - 1px) calc(50% + 1px), transparent calc(50% + 1px));
  animation: vaultSpin 60s linear infinite;
}
.vault-head { margin-bottom: 30px; }
.vault-kicker { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 10px; font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--vg); }
.vault-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--vg); box-shadow: 0 0 0 0 rgba(255, 194, 61, .6); animation: vaultPulse 2s ease-out infinite; }
.vault h2 { color: #fff; font-size: clamp(1.9rem, 4vw, 2.8rem); font-stretch: 125%; font-weight: 900; margin: 0; }
.vault-gold { background: linear-gradient(100deg, #FFE7A0, var(--vg) 45%, #FFF5D6 60%, var(--vg2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.vault-sub { color: #B9B4AC; max-width: 52ch; margin: 12px 0 0; }
.vault-more { color: var(--vg); font-weight: 700; text-decoration: none; border: 1.5px solid rgba(255, 194, 61, .5); padding: 10px 16px; border-radius: 999px; transition: background .2s, color .2s; white-space: nowrap; }
.vault-more::after { content: " →"; }
.vault-more:hover { background: var(--vg); color: var(--ink); }
/* cards inside the vault */
.vault .product { background: #1F1F25; border: 1px solid rgba(255, 194, 61, .22); transition: transform .25s ease, box-shadow .25s ease, border-color .25s; }
.vault .product:hover { transform: translateY(-6px); border-color: rgba(255, 194, 61, .7); box-shadow: 0 22px 40px -18px rgba(255, 194, 61, .35); }
.vault .product-media { background: #fff; margin: 10px 10px 0; border-radius: 12px; overflow: hidden; }
.vault .product-type { color: #A39E96; }
.vault .product-name a { color: #fff; }
.vault .product-meta { color: #A39E96; }
.vault .authentic { color: #6FD39B; }
.vault .price { color: var(--vg); }
.vault .tag-pc { background: linear-gradient(135deg, #FFE7A0, var(--vg)); color: var(--ink); }
.vault .btn-small { background: var(--vg); border-color: var(--vg); color: var(--ink); }
.vault .btn-small:hover { background: #FFD36E; border-color: #FFD36E; color: var(--ink); }
@keyframes vaultSheen { to { background-position: -200% 0; } }
@keyframes vaultSpin { to { rotate: 360deg; } }
@keyframes vaultPulse { 70% { box-shadow: 0 0 0 10px rgba(255, 194, 61, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 194, 61, 0); } }
@media (max-width: 560px) {
  .vault { padding: 52px 0 56px; }
  .vault-ball { width: 300px; right: -120px; top: -90px; }
  .vault .product-media { margin: 6px 6px 0; }
  .vault .grid-4 { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -20px; padding: 4px 20px 14px; scrollbar-width: none; }
  .vault .grid-4::-webkit-scrollbar { display: none; }
  .vault .grid-4 .product { flex: 0 0 74%; scroll-snap-align: start; scroll-margin-left: 20px; }
  .vault .product:hover { transform: none; }
}
@media (prefers-reduced-motion: reduce) { .vault::before, .vault-ball, .vault-dot { animation: none; } .vault .product:hover { transform: none; } }

/* v14: bank transfer fallback on the payment page */
.pay-alt { margin: 18px auto 0; max-width: 340px; text-align: left; background: var(--paper); border: 1px dashed #C9C2B8; border-radius: 12px; padding: 14px 16px; font-size: .92rem; }
.pay-alt-title { font-weight: 800; margin: 0 0 4px; }
.pay-alt p { margin: 0 0 8px; }
.pay-alt dl { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; margin: 0 0 8px; }
.pay-alt dt { color: var(--ink-2); }
.pay-alt dd { margin: 0; }
.pay-alt .hint { margin: 0; }

/* ===== v15: playful motion, chunky buttons, stronger contrast ===== */
:root { --ink-2: #47454E; --line: #D9D1C5; --pop: cubic-bezier(.34, 1.56, .64, 1); --hard: 4px 4px 0 var(--ink); }

/* buttons: thick outline + hard shadow; lift on hover, press into the shadow on click */
.btn { border-width: 2px; border-color: var(--ink); box-shadow: var(--hard); font-family: var(--display); font-stretch: 112%; font-weight: 800; letter-spacing: .01em;
  transition: transform .15s var(--pop), box-shadow .15s var(--pop), background .15s, color .15s; }
.btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); background: var(--white); color: var(--ink); }
.btn:active { transform: translate(4px, 4px); box-shadow: 0 0 0 var(--ink); transition-duration: .05s; }
.btn-primary, .btn-primary:hover { background: var(--cobalt); color: #fff; border-color: var(--ink); }
.btn-primary:hover { background: #E02D2D; }
.btn-wa, .btn-wa:hover { background: var(--wa); color: #fff; border-color: var(--ink); }
.btn-danger:hover { background: var(--red); color: #fff; }
.btn-small { box-shadow: 3px 3px 0 var(--ink); }
.btn-small:hover { box-shadow: 5px 5px 0 var(--ink); }
.btn.is-added, .btn.is-added:hover { background: var(--wa); color: #fff; }
.btn.is-busy { pointer-events: none; opacity: .8; }

/* product cards: ink outline, pop-in on scroll, 3D tilt + foil sheen (set by script) */
.product { border: 2px solid var(--ink); transition: transform .25s var(--pop), box-shadow .25s var(--pop); transform-style: preserve-3d; will-change: transform; }
.product:hover { box-shadow: 8px 8px 0 var(--ink); }
.product-media { overflow: hidden; }
.product-media::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .25s; mix-blend-mode: color-dodge;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 30%), rgba(255,255,255,.55), transparent 40%),
              linear-gradient(115deg, transparent 20%, rgba(255,194,61,.35) 38%, rgba(236,102,2,.25) 48%, rgba(120,200,255,.3) 58%, transparent 75%);
  background-size: 100% 100%, 250% 250%; background-position: 0 0, var(--mx, 50%) var(--my, 50%); }
.product:hover .product-media::after { opacity: .9; }
.reveal { opacity: 0; transform: translateY(18px) scale(.97); }
.reveal.is-in { opacity: 1; transform: none; transition: opacity .45s ease, transform .5s var(--pop); transition-delay: var(--d, 0s); }

/* sticker badges */
.tag { border: 2px solid var(--ink); box-shadow: 2px 2px 0 var(--ink); transform: rotate(-3deg); }
.tags .tag:nth-child(2) { transform: rotate(2deg); }
.product:hover .tag { animation: wiggle .5s var(--pop); }
@keyframes wiggle { 0%,100% { transform: rotate(-3deg); } 30% { transform: rotate(4deg) scale(1.06); } 60% { transform: rotate(-5deg); } }

/* contrast + type */
.price { font-family: var(--display); font-stretch: 112%; }
.product-type, .product-meta, .muted { color: var(--ink-2); }
.section-head h2, .shop-head h2, .page h1 { background: linear-gradient(transparent 62%, rgba(255,194,61,.75) 62%, rgba(255,194,61,.75) 88%, transparent 88%) no-repeat; background-size: 100% 100%; display: inline; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.vault .section-head h2 { background: none; }
input, select, textarea { border: 2px solid var(--ink); }
.chip { border: 2px solid var(--ink); transition: transform .15s var(--pop), box-shadow .15s var(--pop); }
.chip:hover { transform: translate(-1px, -2px); box-shadow: 3px 3px 0 var(--ink); }
.chip.is-on { box-shadow: 3px 3px 0 var(--cobalt); }
.nav a { transition: transform .15s var(--pop), background .15s; }
.nav a:hover { transform: translateY(-2px) rotate(-2deg); }

/* cart badge bounce */
.cart-count.bump { animation: bump .5s var(--pop); }
@keyframes bump { 0% { transform: scale(1); } 40% { transform: scale(1.6) rotate(-10deg); } 100% { transform: scale(1); } }

/* scrolling ticker (replaces the static top bar) */
.topbar { overflow: hidden; }
.ticker { overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.ticker-track { display: flex; width: max-content; animation: ticker 38s linear infinite; }
.topbar:hover .ticker-track { animation-play-state: paused; }
.ticker-group { display: flex; flex-shrink: 0; }
.ticker-group span { padding: 7px 22px; white-space: nowrap; }
.ticker-group span::before { content: "★"; color: var(--gold); margin-right: 10px; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* vault cards keep their gold look, with the same hard-shadow idea */
.vault .product { border: 2px solid rgba(255, 194, 61, .55); }
.vault .product:hover { box-shadow: 8px 8px 0 var(--vg); }
.vault .btn-small { box-shadow: 3px 3px 0 #000; border-color: #000; }

/* confetti canvas */
.confetti { position: fixed; inset: 0; pointer-events: none; z-index: 50; }

@media (hover: none) { .btn:hover, .chip:hover, .nav a:hover { transform: none; } .product:hover { box-shadow: none; } }
@media (prefers-reduced-motion: reduce) {
  .btn, .product, .chip, .nav a { transition: none; }
  .btn:hover, .btn:active, .chip:hover, .nav a:hover { transform: none; }
  .reveal { opacity: 1; transform: none; }
  .ticker-track { animation: none; flex-wrap: wrap; width: auto; }
  .ticker-group[aria-hidden] { display: none; }
  .product:hover .tag, .cart-count.bump { animation: none; }
}
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 60; transform: translate(-50%, 30px); opacity: 0; max-width: calc(100% - 32px);
  background: var(--ink); color: #fff; font-weight: 600; padding: 12px 18px; border-radius: 12px; border: 2px solid var(--ink); box-shadow: 4px 4px 0 var(--gold);
  transition: transform .35s var(--pop), opacity .25s; }
.toast.is-on { transform: translate(-50%, 0); opacity: 1; }
.toast-warn { box-shadow: 4px 4px 0 var(--cobalt); }
.cart-count[hidden] { display: none; }

/* ===== v16: box condition picker (Near Mint / Mint) ===== */
.cond-picker { border: 0; padding: 0; margin: 4px 0 6px; width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cond-picker legend { font-weight: 700; font-size: .92rem; margin-bottom: 8px; padding: 0; }
.cond-opt { position: relative; display: grid; gap: 4px; padding: 12px 14px; border: 2px solid var(--ink); border-radius: 12px; background: var(--white); cursor: pointer;
  transition: transform .15s var(--pop), box-shadow .15s var(--pop), background .15s; }
.cond-opt:hover { transform: translate(-1px, -2px); box-shadow: 3px 3px 0 var(--ink); }
.cond-opt input { position: absolute; opacity: 0; pointer-events: none; }
.cond-opt:has(input:checked) { background: #FFF6DE; box-shadow: 4px 4px 0 var(--ink); }
.cond-opt:has(input:checked)::after { content: "✓"; position: absolute; top: -9px; right: -9px; width: 22px; height: 22px; border-radius: 50%; background: var(--ink); color: var(--gold); display: grid; place-items: center; font-size: .75rem; font-weight: 800; }
.cond-opt:has(input:focus-visible) { outline: 3px solid var(--cobalt); outline-offset: 2px; }
.cond-top { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.cond-name { font-weight: 800; }
.cond-plus { font-size: .72rem; font-weight: 800; background: var(--gold); color: var(--ink); border-radius: 999px; padding: 1px 7px; margin-left: 4px; vertical-align: 2px; }
.cond-price { font-family: var(--display); font-stretch: 112%; font-weight: 800; }
.cond-desc { font-size: .82rem; color: var(--ink-2); line-height: 1.35; }
.buy-row:has(.cond-picker) { flex-wrap: wrap; }

/* compact switch on product cards */
.cond-seg { display: grid; grid-template-columns: 1fr 1fr; border: 2px solid var(--ink); border-radius: 999px; padding: 3px; margin: -2px 0 12px; background: var(--paper); }
.cond-seg label { position: relative; text-align: center; cursor: pointer; }
.cond-seg input { position: absolute; opacity: 0; pointer-events: none; }
.cond-seg span { display: block; padding: 5px 4px; border-radius: 999px; font-size: .78rem; font-weight: 700; color: var(--ink-2); transition: background .2s var(--pop), color .2s; }
.cond-seg input:checked + span { background: var(--ink); color: #fff; }
.cond-seg label:last-child input:checked + span { background: var(--gold); color: var(--ink); }
.cond-seg input:focus-visible + span { outline: 3px solid var(--cobalt); outline-offset: 1px; }
.vault .cond-seg { background: #141418; border-color: rgba(255, 194, 61, .55); }
.vault .cond-seg span { color: #CFC9C0; }
.vault .cond-seg input:checked + span { background: #fff; color: var(--ink); }
.vault .cond-seg label:last-child input:checked + span { background: var(--vg); color: var(--ink); }

/* price change wink + labels in cart and checkout */
[data-price].price-swap { animation: priceSwap .35s var(--pop); }
@keyframes priceSwap { 0% { transform: scale(1); } 45% { transform: scale(1.12) rotate(-2deg); } 100% { transform: scale(1); } }
.cond-pill { display: inline-block; width: max-content; font-size: .72rem; font-weight: 800; border: 1.5px solid var(--ink); border-radius: 999px; padding: 1px 8px; background: var(--white); }
.cond-pill.cond-m { background: var(--gold); }
@media (max-width: 560px) { .cond-picker { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .cond-opt, .cond-seg span { transition: none; } [data-price].price-swap { animation: none; } }

/* v17: keep the Vault label and heading on separate lines (headings became inline for the highlighter) */
.vault .vault-head h2 { display: block; }
.vault .vault-kicker { display: flex; width: max-content; max-width: 100%; }

/* v18: spotlight slides change without a white flash.
   Fading a whole slide makes the browser stop blending the photo's white background away mid-fade,
   so the slide itself stays put and only the photo, its shadow and the caption animate. */
.spot-slide, .spot-slide.is-on, .spot-slide.is-out { opacity: 1; transform: none; transition: none; visibility: hidden; }
.spot-slide.is-on, .spot-slide.is-out { visibility: visible; }
.spot-slide .spot-img img, .spot-slide .spot-cap, .spot-slide .spot-img::after {
  opacity: 0; translate: 14% 0; scale: .92; rotate: 3deg;
  transition: opacity .6s ease, translate .9s cubic-bezier(.2, .8, .2, 1), scale .9s cubic-bezier(.2, .8, .2, 1), rotate .9s cubic-bezier(.2, .8, .2, 1);
}
.spot-slide.is-on .spot-img img, .spot-slide.is-on .spot-cap { opacity: 1; translate: 0 0; scale: 1; rotate: 0deg; }
.spot-slide.is-on .spot-img::after { opacity: .9; translate: 0 0; scale: 1; rotate: 0deg; }
.spot-slide.is-out .spot-img img, .spot-slide.is-out .spot-cap, .spot-slide.is-out .spot-img::after { opacity: 0; translate: -14% 0; scale: .92; rotate: -3deg; }
@media (prefers-reduced-motion: reduce) {
  .spot-slide .spot-img img, .spot-slide .spot-cap, .spot-slide .spot-img::after { translate: none; scale: none; rotate: none; transition: opacity .2s; }
}

/* v19: neater line breaks everywhere (desktop and mobile) */
p, li, dd, address, .cond-desc, .lede, .vault-sub { text-wrap: pretty; }   /* no single word stranded on the last line */
h1, h2, h3, .spot-name, .product-name { text-wrap: balance; }              /* headings split into even lines */
.ssm { line-height: 1.55; }
.ssm-line { display: block; }
.ssm-line:first-of-type { margin-top: 6px; color: var(--gold); }

/* v19b: alignment polish (desktop + mobile) */
/* A. condition switch, price and button sit on the same line across every card in a row */
.product-body .cond-seg { margin-top: auto; }
.product-body .cond-seg + .product-foot { margin-top: 0; }
/* B. spotlight caption keeps its colours on hover */
.spot-slide, .spot-slide:hover, .spot-slide:focus { color: var(--ink); }
/* F. breathing room under the WhatsApp button */
.contact-email { margin-top: 14px; }
@media (max-width: 560px) {
  /* C. "Near Mint" stays on one line in the two-column grid */
  .cond-seg span { white-space: nowrap; font-size: .72rem; padding: 6px 2px; letter-spacing: -.01em; }
  /* D. filter buttons: one swipeable row instead of three stacked rows */
  .shop-head { flex-direction: column; align-items: stretch; }
  .shop-head .chips { flex-wrap: nowrap; overflow-x: auto; margin: 0 -20px; padding: 4px 20px 10px; scrollbar-width: none; }
  .shop-head .chips::-webkit-scrollbar { display: none; }
  .shop-head .chip { flex: 0 0 auto; white-space: nowrap; }
  /* E. "You may also like" and other 4-up grids: two per row like the shop (the Vault keeps its swipe row) */
  .grid-4:not(.vault .grid-4) { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
}
/* price on its own line, button underneath: identical layout on every card whatever the price length */
.product-foot { flex-direction: column; align-items: flex-start; flex-wrap: nowrap; gap: 10px; }
@media (max-width: 560px) { .product-foot { align-items: stretch; } }
/* Stop sideways page scroll on phones (filter row was widening the shop header) */
@media (max-width: 560px) {
  .shop-head { flex-wrap: nowrap; }
  .shop-head > * { min-width: 0; }
}
html, body { overflow-x: clip; }

/* main product photo keeps its space while loading (width/height set in product.php) */
.gallery-main img, .product-page-media img { height: auto; }

/* phones: the yellow highlight hugs "All products 23" instead of stretching across the screen */
@media (max-width: 560px) { .shop-head h2 { align-self: flex-start; } }
