/* Diavolo TCG / restrained editorial storefront.
   Only a single muted, bundled Gengar/Dark Magician illustration is used.
   No remote resources, fake checkout, or invented catalogue photography. */
:root {
  --surface: #101116;
  --surface-raised: #17181e;
  --surface-soft: #1b1b23;
  --paper: #eeedf0;
  --ink: #eae8ef;
  --ink-muted: #a7a5b0;
  --ink-faint: #777680;
  --stroke: #313039;
  --accent: #bda7d2;
  --accent-soft: #e5d6ee;
}
html { scroll-behavior: smooth; scroll-padding-top: 108px; }
body.storefront { background:var(--surface); color:var(--ink); font-family:Inter,"Segoe UI",Arial,sans-serif; line-height:1.5; }
body.storefront * { box-sizing:border-box; }
body.storefront .wrap { width:min(100% - 80px, 1320px); max-width:1320px; padding:0; margin-inline:auto; }
body.storefront button, body.storefront input { font:inherit; }
body.storefront a { text-decoration:none; }
body.storefront a:focus-visible, body.storefront button:focus-visible, body.storefront input:focus-visible { outline:2px solid var(--accent-soft); outline-offset:4px; }
.sr-only { position:absolute!important; width:1px!important; height:1px!important; padding:0!important; overflow:hidden!important; clip:rect(0,0,0,0)!important; white-space:nowrap!important; border:0!important; }
/* Header — no illustrated wordmark, ornamental icons, false cart or login. */
body.storefront .store-header { position:sticky; top:0; z-index:20; background:rgba(16,17,22,.96); border-bottom:1px solid #282830; box-shadow:none; backdrop-filter:blur(18px); }
.store-nav-shell { display:grid; grid-template-columns:auto minmax(250px,1fr) auto; align-items:center; column-gap:42px; min-height:84px; }
.store-logo { display:inline-flex; align-items:center; gap:12px; color:var(--ink); white-space:nowrap; }
.store-logo-mark { width:35px; height:35px; flex:none; border:1px solid #74667f; border-radius:9px; color:#f2e5f7; font-size:23px; font-weight:750; display:grid; place-items:center; position:relative; letter-spacing:-.09em; }
.store-logo-mark::after { content:""; position:absolute; right:5px; top:6px; width:4px; height:4px; background:var(--accent); border-radius:50%; }
.store-logo-type { font-size:17px; font-weight:800; letter-spacing:.14em; }
.store-logo-type span { color:var(--accent); font-weight:650; }
.store-nav { display:flex; justify-content:center; align-items:center; gap:32px; min-width:0; }
.store-nav a { position:relative; display:inline-flex; align-items:center; min-height:45px; color:#aaa7b0; font-size:13px; font-weight:550; white-space:nowrap; transition:color .16s ease; }
.store-nav a:hover, .store-nav a:focus-visible, .store-nav a:first-child { color:var(--paper); }
.store-nav a:first-child::after { content:""; position:absolute; bottom:3px; height:1px; width:100%; background:var(--accent); }
.store-tools { display:flex; justify-content:flex-end; align-items:center; gap:18px; }
.store-search { width:202px; height:41px; display:flex; align-items:center; gap:9px; color:#93919b; border-bottom:1px solid #5a5661; transition:border-color .2s; }
.store-search:focus-within { border-color:var(--accent-soft); }
body.storefront .store-search .search { width:100%; min-width:0; height:100%; flex:1; background:transparent; border:0; outline:0; border-radius:0; box-shadow:none; padding:0 3px; color:var(--ink); font-size:12px; }
.store-search .search::placeholder { color:#8c8a94; }
.store-binderim { min-height:39px; display:inline-flex; align-items:center; justify-content:center; gap:13px; border:1px solid #675d72; padding:0 18px; border-radius:7px; color:var(--ink); font-size:12px; font-weight:650; white-space:nowrap; transition:border-color .18s,background .18s; }
.store-binderim:hover { border-color:var(--accent); background:#24202a; }
.store-binderim span { font-size:15px; color:var(--accent); }
/* Hero — one editorial statement and a quiet paired character image. */
body.storefront .showcase-hero { display:grid; grid-template-columns:minmax(0,1.01fr) minmax(0,.99fr); gap:clamp(30px,5vw,76px); align-items:center; padding-top:80px; padding-bottom:91px; }
.hero-copy { min-width:0; }
.hero-copy .eyebrow { display:flex; align-items:center; flex-wrap:wrap; gap:12px; color:#b8b0bb; font-size:10px; font-weight:700; letter-spacing:.17em; margin:0 0 35px; }
.eyebrow-line { display:inline-block; width:26px; height:1px; background:#68616d; }
body.storefront .hero-copy h1 { font-size:clamp(48px,5.25vw,78px); line-height:1.075; letter-spacing:-.065em; font-weight:650; color:#f4f2f5; margin:0 0 26px; }
.hero-copy h1 em { font-family:Georgia,"Times New Roman",serif; font-weight:400; font-style:italic; letter-spacing:-.07em; color:#bca7cf; }
.hero-intro { max-width:485px; font-size:15px; line-height:1.87; color:#bbb7c2; margin:0; }
.hero-actions { display:flex; gap:30px; align-items:center; flex-wrap:wrap; margin-top:38px; }
body.storefront .primary { display:inline-flex; align-items:center; justify-content:center; gap:24px; min-height:47px; background:var(--accent-soft); border:1px solid var(--accent-soft); border-radius:7px; padding:12px 20px; color:#201a27; font-size:13px; font-weight:750; box-shadow:none; transition:background .2s,color .2s,transform .2s; }
body.storefront .primary:hover { background:#fff5ff; filter:none; transform:translateY(-1px); }
.hero-secondary { color:#d4cad8; font-size:13px; padding:8px 0; border-bottom:1px solid #72677a; display:inline-flex; gap:18px; align-items:center; }
.hero-secondary:hover { color:#fff; border-color:var(--accent); }
.hero-fineprint { display:flex; gap:13px; align-items:start; color:#89858f; font-size:11px; line-height:1.65; margin-top:54px; }
.hero-fineprint-line { flex:none; width:19px; height:1px; margin-top:9px; background:#726978; }
.showcase-hero-image { min-height:460px; height:clamp(390px,36vw,508px); position:relative; overflow:hidden; border:1px solid #3c3542; background:#15101e; display:grid; grid-template-columns:1fr 1fr; padding:16px; gap:8px; box-shadow:none; border-radius:5px; }
.hero-portrait { position:relative; min-width:0; overflow:hidden; background-color:#1d1427; background-image:url('/assets/diavolo-showcase.webp'); background-repeat:no-repeat; background-size:auto 225%; background-position-y:top; filter:saturate(.63) brightness(.70) contrast(1.02); }
.hero-portrait::after { content:""; position:absolute; inset:0; background:linear-gradient(0deg,#131018dd,transparent 34%),linear-gradient(90deg,#1b14243d,transparent 34%); }
.hero-portrait-ghost { background-position-x:23%; }
.hero-portrait-magician { background-position-x:81%; }
.hero-image-label { display:flex; flex-direction:column; gap:5px; position:absolute; left:31px; bottom:30px; right:31px; color:#e8dce9; text-shadow:0 2px 6px #000c; pointer-events:none; }
.hero-image-label > span { font-size:9px; letter-spacing:.23em; opacity:.8; }
.hero-image-label > strong { font-size:12px; letter-spacing:.14em; font-weight:650; }
.hero-image-label strong span { color:var(--accent); }
/* Quiet factual line rather than decorative fake service promises. */
.shop-benefits { background:#15151b; border-top:1px solid #292831; border-bottom:1px solid #292831; }
.benefit-shell { min-height:74px; display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:10px 25px; }
.benefit-shell p { margin:0; font-size:11px; color:#b2aeba; white-space:nowrap; }
.benefit-shell strong { font-size:11px; color:var(--accent); letter-spacing:.11em; margin-right:11px; font-weight:750; }
/* Editorial sections. */
.site-content { padding-top:38px; }
body.storefront .section { padding:74px 0 0; }
body.storefront .section-head { display:flex; align-items:end; justify-content:space-between; gap:35px; margin:0 0 29px; }
body.storefront .section h2 { font-size:clamp(29px,3vw,39px); font-weight:650; letter-spacing:-.045em; line-height:1.18; color:#ede9ef; margin:0; }
body.storefront .section-overline { color:var(--accent); font-size:10px; font-weight:750; letter-spacing:.18em; margin:0 0 13px; }
.section-intro { color:#a7a2af; max-width:350px; font-size:12px; line-height:1.75; margin:0 0 4px; text-align:right; }
/* Category cards: editorial labels, genuine collection counts, no giant emojis. */
body.storefront .categories { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:12px; }
body.storefront .cat { position:relative; display:flex; flex-direction:column; align-items:stretch; justify-content:space-between; min-width:0; height:210px; min-height:0; padding:19px; border:1px solid #34313a; border-radius:5px; background:#191a20; color:#ede8f0; text-align:left; box-shadow:none; transform:none; transition:border-color .2s ease,background .2s ease; }
body.storefront .cat:hover, body.storefront .cat.active { transform:none; border-color:#907c9e; background:#25212b; box-shadow:none; }
body.storefront .cat::before, body.storefront .cat::after { content:none!important; display:none!important; }
.cat-top { display:flex; justify-content:space-between; align-items:start; gap:10px; width:100%; }
.cat-index { color:#77727e; font-size:11px; letter-spacing:.1em; }
.cat-go { font-size:20px; font-weight:300; color:#bba7cd; line-height:1; }
.cat-bottom { display:flex; flex-direction:column; align-items:flex-start; gap:5px; }
.cat-mark { font-size:29px; line-height:1; letter-spacing:-.08em; font-weight:600; color:#a999bb; margin-bottom:21px; }
.cat-bottom strong { font-size:16px; line-height:1.3; font-weight:640; letter-spacing:-.03em; }
.cat-bottom small { color:#908a98; font-size:11px; line-height:1.45; }
.cat-count { font-size:11px; color:#aaa4b0; margin-top:4px; }
/* Archive controls and card shelves. */
.collection-head { margin-bottom:25px!important; }
.collection-controls { border-top:1px solid var(--stroke); padding:18px 0 17px; margin:0 0 8px; display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:15px; }
.result-count { color:#aaa5b0; font-size:12px; font-variant-numeric:tabular-nums; white-space:nowrap; }
body.storefront .filters { display:flex; align-items:center; justify-content:flex-end; flex-wrap:wrap; gap:6px; }
body.storefront .filter { display:inline-flex; align-items:center; justify-content:center; border:1px solid transparent; color:#aca5b4; background:transparent; border-radius:6px; font-size:11px; font-weight:600; padding:8px 11px; transition:color .18s,border-color .18s,background .18s; }
body.storefront .filter:hover { background:#201e25; color:#efe5f3; }
body.storefront .filter.active { background:#2a2530; border-color:#776783; color:#e4d8eb; }
body.storefront .grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:16px; }
body.storefront .product { display:flex; flex-direction:column; background:#17181d; border:1px solid #33323b; border-radius:6px; overflow:hidden; box-shadow:none; transform:none; transition:border-color .2s,background .2s; min-width:0; }
body.storefront .product:hover { transform:none; border-color:#897892; background:#1a1a21; box-shadow:none; }
body.storefront .product-art { position:relative; display:grid; place-items:center; background:#202028; height:auto; aspect-ratio:1.14; overflow:hidden; border-bottom:1px solid #33313c; }
body.storefront .product-art::before { content:""; position:absolute; inset:0; opacity:.45; background:linear-gradient(160deg,#28262f,#1a1a20); pointer-events:none; }
.product-photo { width:100%;height:100%;object-fit:contain;position:relative;z-index:1;background:#211e27; }
.archive-placeholder { position:relative; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:18px; width:62%; max-width:164px; aspect-ratio:.76; border:1px solid #494550; background:#24232b; color:#8f8996; z-index:1; }
.archive-placeholder::before { content:""; position:absolute; inset:7px; border:1px solid #37343f; pointer-events:none; }
.archive-placeholder-mark { color:#8e8399; font-family:Georgia,serif; font-size:65px; line-height:1; opacity:.75; }
.archive-placeholder-label { font-size:8px; font-weight:650; letter-spacing:.14em; text-align:center; padding:0 7px; }
body.storefront .info { flex:1; padding:18px; display:flex; flex-direction:column; min-width:0; }
body.storefront .meta { font-size:10px; letter-spacing:.07em; color:#a78eb7; font-weight:650; text-transform:uppercase; }
body.storefront .info h3 { font-size:16px; line-height:1.4; font-weight:650; min-height:0; margin:10px 0 5px; color:#ede8f0; letter-spacing:-.018em; }
.product-set { color:#a29ba8; font-size:11px; line-height:1.5; min-height:32px; margin:0 0 23px; display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden; }
.product-bottom { margin-top:auto; padding-top:13px; border-top:1px solid #34313a; }
.product-bottom-label { font-size:9px; color:#918b98; letter-spacing:.055em; }
body.storefront .price { font-size:20px; color:#ede7f0; font-weight:680; letter-spacing:-.025em; margin:4px 0 14px; font-variant-numeric:tabular-nums; }
body.storefront .details { width:100%; padding:11px 12px; border:1px solid #534958; border-radius:5px; color:#dbd1df; background:transparent; font-weight:650; font-size:12px; display:flex; justify-content:space-between; gap:10px; align-items:center; transition:background .2s,border-color .2s; }
body.storefront .details:hover { background:#292431; border-color:#8f7a9d; }
body.storefront .empty { color:#aeabb2; grid-column:1/-1; padding:55px 20px; }
body.storefront .pagination { border-top:1px solid var(--stroke); padding:26px 0 0; margin:35px 0 0; font-size:12px; }
body.storefront .pagination .filter { border:1px solid var(--stroke); }
/* About is a quiet editorial closing statement, not a second hero. */
body.storefront .cta { margin:112px 0 99px; padding:43px 0 0; border:0; border-top:1px solid #44404b; border-radius:0; box-shadow:none; background:transparent; display:flex; align-items:end; justify-content:space-between; gap:35px; }
body.storefront .cta h2 { font-size:clamp(30px,3vw,45px); font-weight:600; letter-spacing:-.04em; line-height:1.24; margin:0 0 15px; color:#eee9f0; }
body.storefront .cta p:not(.section-overline) { margin:0; max-width:585px; font-size:13px; line-height:1.8; color:#aaa4b0; }
body.storefront .cta .primary { flex:none; }
body.storefront footer { border-top:1px solid #302e37; padding:0; background:#0d0e13; }
body.storefront .foot { display:flex; align-items:center; justify-content:space-between; gap:30px; min-height:122px; }
.footer-brand { display:flex; flex-direction:column; gap:4px; }
.footer-brand strong { color:#eae4ec; font-size:16px; letter-spacing:.1em; }
.footer-brand strong span { color:var(--accent); }
.footer-brand small { color:#8b8590; font-size:11px; }
.footer-links { display:flex; align-items:center; gap:23px; }
.footer-links a { font-size:12px; color:#a7a0ad; }
.footer-links a:hover { color:#f5e8f7; }
body.storefront .foot>span { color:#8d8792; font-size:11px; }
/* Modal remains usable after restyling. */
body.storefront .overlay.show { display:flex; }
body.storefront .modal { background:#1d1c24; border-color:#574b5d; max-width:565px; box-shadow:0 18px 90px #000c; }
body.storefront .modal .primary { width:100%; }
body.storefront .modal .meta { color:var(--accent); }
body.storefront .notice { background:#27232e; border-color:#59505f; }
@media (max-width:1170px) {
  body.storefront .wrap { width:min(100% - 56px, 1320px); }
  .store-nav-shell { grid-template-columns:auto 1fr; row-gap:10px; padding-top:14px!important; padding-bottom:10px!important; }
  .store-tools { justify-content:flex-end; }
  .store-nav { grid-column:1/-1; grid-row:2; justify-content:flex-start; gap:30px; }
  body.storefront .showcase-hero { padding-top:67px; padding-bottom:73px; }
  body.storefront .hero-copy h1 { font-size:clamp(44px,5vw,65px); }
  .showcase-hero-image { min-height:360px; height:420px; }
  body.storefront .categories { grid-template-columns:repeat(3,minmax(0,1fr)); }
  body.storefront .grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
}
@media (max-width:760px) {
  html { scroll-padding-top:143px; }
  body.storefront .wrap { width:calc(100% - 36px); }
  .store-nav-shell { display:grid; grid-template-columns:minmax(0,1fr) auto; grid-template-areas:"logo cta" "search search" "nav nav"; column-gap:12px; row-gap:8px; min-height:0; }
  .store-logo { grid-area:logo; }
  .store-tools { display:contents; }
  .store-search { grid-area:search; }
  .store-binderim { grid-area:cta; }
  .store-logo { gap:9px; }
  .store-logo-mark { width:30px;height:30px;font-size:20px; }
  .store-logo-type { font-size:14px;letter-spacing:.09em; }
  .store-tools { gap:10px; }
  .store-binderim { padding:0 11px;min-height:35px;font-size:11px; }
  .store-search { grid-column:1/-1; width:100%; height:34px; }
  .store-nav { grid-area:nav; grid-column:1/-1;grid-row:3; gap:25px;overflow-x:auto;scrollbar-width:none; padding-bottom:3px; }
  .store-nav::-webkit-scrollbar { display:none; }
  .store-nav a { font-size:12px; min-height:35px; }
  body.storefront .showcase-hero { display:flex; flex-direction:column; align-items:stretch; gap:34px; padding-top:52px; padding-bottom:58px; }
  .hero-copy .eyebrow { font-size:9px; margin-bottom:23px; }
  body.storefront .hero-copy h1 { font-size:clamp(46px,9.4vw,70px); }
  .hero-intro { font-size:14px; line-height:1.8; }
  .hero-actions { margin-top:29px; gap:24px; }
  .hero-fineprint { margin-top:34px; font-size:10px; }
  .showcase-hero-image { width:100%; min-height:0; height:345px; }
  .benefit-shell { min-height:0; padding-block:17px; align-items:flex-start; display:grid; grid-template-columns:1fr; gap:9px; }
  .benefit-shell p { white-space:normal; font-size:10px; }
  .site-content { padding-top:5px; }
  body.storefront .section { padding-top:65px; }
  body.storefront .section-head { display:block; margin-bottom:25px; }
  .section-intro { max-width:none; text-align:left; margin:11px 0 0; }
  body.storefront .categories { grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
  body.storefront .cat { height:183px; padding:14px; }
  .cat-bottom strong { font-size:14px; }
  .cat-mark { font-size:25px; margin-bottom:16px; }
  .collection-controls { flex-direction:column; align-items:stretch; gap:12px; }
  body.storefront .filters { justify-content:flex-start; flex-wrap:nowrap; overflow-x:auto; padding-bottom:5px; scrollbar-width:thin; }
  body.storefront .filter { white-space:nowrap; }
  body.storefront .grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
  body.storefront .product-art { aspect-ratio:.9; }
  body.storefront .info { padding:14px 12px; }
  body.storefront .info h3 { font-size:14px; }
  body.storefront .price { font-size:17px; }
  .archive-placeholder { width:71%; gap:10px; }
  .archive-placeholder-mark { font-size:44px; }
  .archive-placeholder-label { font-size:7px; }
  body.storefront .cta { margin:72px 0 70px; padding-top:30px; flex-direction:column; align-items:flex-start; }
  body.storefront .cta h2 { font-size:32px; }
  body.storefront .foot { min-height:0; padding:28px 0; flex-wrap:wrap; gap:18px; }
}
@media (max-width:410px) {
  body.storefront .wrap { width:calc(100% - 28px); }
  .store-nav { gap:19px; }
  .hero-actions { gap:16px; }
  body.storefront .primary { font-size:12px; }
  .showcase-hero-image { height:290px; }
  body.storefront .cat { height:165px; }
  body.storefront .info { padding:12px 9px; }
  body.storefront .details { font-size:10px; padding:10px 8px; }
  .footer-links { gap:13px; }
}
@media (prefers-reduced-motion:reduce) {
  html { scroll-behavior:auto; }
  body.storefront .cat, body.storefront .product, body.storefront a, body.storefront button { transition:none!important; transform:none!important; }
}