:root {
  --ink: #0d141a;
  --red: #d32f2f;
  --red-deep: #a81f1f;
  --pink: #ffa7b0;
  --blush: #fff0f2;
  --lime: #c3f73a;
  --paper: #fff;
  --mist: #f4f5f6;
  --line: #d3d8de;
  --soft: #55606b;
  --body: 'Figtree', system-ui, sans-serif;
  --sign: 'Bowlby One', Impact, sans-serif;
  --notch: 12px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --lift: 0 14px 30px -14px rgb(13 20 26 / .35);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.55 var(--body); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--sign); font-weight: 400; line-height: 1.1; margin: 0 0 .6em; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.5rem, 3.4vw, 2.2rem); }
h3 { font-size: 1.15rem; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 20; }
.skip:focus { top: 8px; }
.js-only { display: none; }
.js .js-only { display: revert; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 44px 16px; }
.wrap-rail { padding-top: 12px; }
.center { text-align: center; }
.note { color: var(--soft); font-size: .9rem; margin: .4em 0; }
.bad { color: var(--red-deep); font-size: .9rem; display: block; }
.empty { padding: 40px 0; }
small { display: block; color: var(--soft); font-size: .88rem; }

/* The notched sign plate from the logo: the one shape the whole brand hangs on. */
.plate, .btn {
  -webkit-mask:
    radial-gradient(circle var(--notch) at 0 0, #0000 98%, #000) 0 0 / 51% 51% no-repeat,
    radial-gradient(circle var(--notch) at 100% 0, #0000 98%, #000) 100% 0 / 51% 51% no-repeat,
    radial-gradient(circle var(--notch) at 0 100%, #0000 98%, #000) 0 100% / 51% 51% no-repeat,
    radial-gradient(circle var(--notch) at 100% 100%, #0000 98%, #000) 100% 100% / 51% 51% no-repeat;
  mask:
    radial-gradient(circle var(--notch) at 0 0, #0000 98%, #000) 0 0 / 51% 51% no-repeat,
    radial-gradient(circle var(--notch) at 100% 0, #0000 98%, #000) 100% 0 / 51% 51% no-repeat,
    radial-gradient(circle var(--notch) at 0 100%, #0000 98%, #000) 0 100% / 51% 51% no-repeat,
    radial-gradient(circle var(--notch) at 100% 100%, #0000 98%, #000) 100% 100% / 51% 51% no-repeat;
}

.btn {
  --notch: 7px;
  display: inline-block; border: 0; cursor: pointer; text-decoration: none; text-align: center;
  background: var(--red); color: #fff; font: 700 1rem var(--body); padding: 12px 24px;
  transition: background .15s, transform .15s var(--ease);
}
.btn:hover { background: var(--red-deep); }
.btn:active { transform: translateY(1px) scale(.985); }
.btn:focus-visible { outline: 3px solid var(--lime); outline-offset: -6px; }
.btn:disabled { background: var(--line); color: var(--ink); cursor: not-allowed; }
.btn-big { font-size: 1.1rem; padding: 15px 30px; }
.btn-small { padding: 8px 14px; font-size: .9rem; }
.btn-wide { display: block; width: 100%; }
.btn-ghost { background: var(--ink); }
.btn-ghost:hover { background: #2a343d; }
.is-busy { opacity: .6; pointer-events: none; }
.link { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; cursor: pointer; }
.danger { color: var(--red-deep); }

/* Header */
.top { display: flex; align-items: center; gap: 28px; padding: 10px 24px; background: rgb(255 255 255 / .92); backdrop-filter: blur(10px); border-bottom: 4px solid var(--ink); position: sticky; top: 0; z-index: 10; view-transition-name: top; }
.logo img { width: 170px; }
.nav { display: flex; gap: 22px; flex: 1; }
.nav a, .langs a { text-decoration: none; font-weight: 500; }
.nav a { background: linear-gradient(var(--red), var(--red)) 0 100% / 0 2px no-repeat; transition: background-size .2s var(--ease), color .15s; padding-bottom: 2px; }
.nav a:hover, .nav a[aria-current] { color: var(--red); background-size: 100% 2px; }
.top-tools { display: flex; align-items: center; gap: 18px; margin-left: auto; }
.langs { display: flex; gap: 2px; font-size: .9rem; }
.langs a { padding: 3px 7px; }
.langs a[aria-current] { background: var(--ink); color: #fff; }
.bag { text-decoration: none; font-weight: 700; white-space: nowrap; }
.bag b { display: inline-block; background: var(--lime); padding: 1px 8px; margin-left: 2px; }
.bump { animation: bump .35s var(--ease); }
@keyframes bump { 40% { transform: scale(1.35); } }

/* Hero: the illustration runs edge to edge; the plate hangs off its lower edge like a shop sign. */
.hero { position: relative; background: var(--ink); padding-bottom: 76px; overflow: hidden; }
.hero-art { width: 100%; max-height: 72vh; object-fit: cover; object-position: 50% 30%; }
.hero-sign {
  --notch: 22px;
  position: absolute; left: max(24px, calc(50% - 576px)); bottom: 0; width: min(620px, calc(100% - 48px));
  background: var(--red); color: #fff; padding: 30px 38px;
  animation: hang .7s var(--ease) both;
}
@keyframes hang { from { transform: translateY(40px); opacity: 0; } }
.hero-sign h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); margin-bottom: .3em; }
.hero-sign p { margin: 0 0 16px; }
.hero-sign .btn { background: var(--lime); color: var(--ink); }
.hero-sign .btn:hover { background: #fff; }
.hero-sign .btn:focus-visible { outline-color: var(--ink); }
.hero-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin: 0 !important; font-weight: 500; }

/* Fandom strip */
.fandoms { display: flex; gap: 8px 28px; background: var(--ink); padding: 14px 24px; overflow-x: auto; scrollbar-width: none; justify-content: safe center; }
.fandoms a { color: #fff; text-decoration: none; font-family: var(--sign); font-size: 1.02rem; white-space: nowrap; }
.fandoms a:hover { color: var(--lime); }
.fandoms :focus-visible { outline-color: var(--lime); }

/* Categories */
.cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.cat { position: relative; display: block; text-decoration: none; overflow: hidden; background: var(--mist); }
.cat img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; transition: transform .5s var(--ease); }
.cat:hover img { transform: scale(1.05); }
.cat-plate { --notch: 9px; position: absolute; left: 10px; right: 10px; bottom: 10px; background: var(--paper); padding: 10px 14px; }
.cat-plate b { font-family: var(--sign); font-weight: 400; font-size: 1.1rem; display: block; line-height: 1.2; }
.cat-plate span { color: var(--soft); font-size: .9rem; line-height: 1.3; display: block; }
.cat:hover b { color: var(--red); }

/* Product tiles */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 30px 18px; }
.tile { position: relative; min-width: 0; }
.card { text-decoration: none; display: block; }
.card-img { display: block; position: relative; background: var(--mist); margin-bottom: 10px; overflow: hidden; transition: box-shadow .25s, transform .25s var(--ease); }
.card-img img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.card-alt { position: absolute; inset: 0; opacity: 0; transition: opacity .25s; }
@media (hover: hover) {
  .card:hover .card-img { transform: translateY(-4px); box-shadow: var(--lift); }
  .card:hover .card-alt { opacity: 1; }
}
.card:hover .card-title { color: var(--red); }
.card.is-out img { opacity: .55; }
.card-title { display: block; font-weight: 700; line-height: 1.3; }
.card-price { color: var(--soft); }
.card-price.is-sale { color: var(--red-deep); font-weight: 700; }
.card-price em { font-style: normal; font-size: .78rem; background: var(--red); color: #fff; padding: 1px 6px; vertical-align: 1px; }
.flag { position: absolute; left: 0; bottom: 12px; background: var(--lime); color: var(--ink); font-size: .8rem; font-weight: 700; padding: 3px 10px; }
.flag-po { background: var(--pink); }
.flag-out { background: var(--ink); color: #fff; }
.flag-static { position: static; display: inline-block; margin-bottom: 8px; }
.quick { display: none; }
.js .quick {
  display: grid; place-items: center; position: absolute; right: 8px; top: 8px; width: 40px; height: 40px;
  background: var(--ink); color: #fff; border: 0; font-size: 1.5rem; line-height: 1; cursor: pointer;
  transition: background .15s, transform .15s var(--ease);
}
.js .quick:hover { background: var(--red); transform: scale(1.08); }

/* Rails */
.rail { position: relative; }
.rail-track { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(230px, 1fr); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 6px 2px 14px; margin: -6px -2px 0; }
.rail-track::-webkit-scrollbar { display: none; }
.rail-track .tile { scroll-snap-align: start; }
.rail-btn { display: none; }
@media (min-width: 900px) and (hover: hover) {
  .js .rail-btn { display: grid; place-items: center; position: absolute; top: 34%; width: 46px; height: 46px; border: 0; background: var(--ink); color: #fff; font-size: 1.7rem; line-height: 1; cursor: pointer; z-index: 2; transition: background .15s, opacity .15s; }
  .js .rail-btn:hover { background: var(--red); }
  .js .rail-btn:disabled { opacity: 0; pointer-events: none; }
  .rail-prev { left: -14px; }
  .rail-next { right: -14px; }
}

/* Why */
.why { background: var(--pink); }
.why-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; }
.why-row img { height: 96px; width: auto; margin-bottom: 12px; }
.why-row p { margin: 0; }

/* Catalog */
.search { display: flex; gap: 8px; max-width: 480px; margin-bottom: 18px; }
.search input { flex: 1; min-width: 0; }
.js .search .btn { display: none; }
.chips-row { display: flex; align-items: center; gap: 6px; margin-bottom: 10px; overflow-x: auto; scrollbar-width: none; padding: 3px; }
.chips-row b { margin-right: 6px; white-space: nowrap; }
.chips-row a { text-decoration: none; border: 2px solid var(--ink); padding: 2px 11px; font-size: .92rem; white-space: nowrap; transition: background .15s, color .15s; }
.chips-row a:hover { background: var(--blush); }
.chips-row a[aria-current] { background: var(--ink); color: #fff; }
.shop-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; margin: 16px 0 24px; padding-top: 12px; border-top: 2px solid var(--ink); }
.shop-bar p { margin: 0 auto 0 0; font-weight: 700; }
.shop-bar .check { display: none; }
.js .shop-bar .check { display: flex; align-items: center; gap: 6px; }
.shop-bar select { padding: 4px 8px; margin-left: 6px; }

/* Forms */
input, select, textarea { font: inherit; color: inherit; background: var(--paper); border: 2px solid var(--ink); padding: 9px 11px; max-width: 100%; }
input[type=checkbox], input[type=radio] { accent-color: var(--red); width: 18px; height: 18px; padding: 0; }
[aria-invalid=true], :user-invalid { border-color: var(--red); }
.field { display: block; font-weight: 500; margin-bottom: 14px; }
.field input, .field select, .field textarea { display: block; width: 100%; margin-top: 4px; font-weight: 400; }
fieldset { border: 0; padding: 0; margin: 0 0 26px; min-width: 0; }
legend { font-family: var(--sign); font-size: 1.2rem; padding: 0; margin-bottom: 10px; }
.step-n { display: inline-grid; place-items: center; width: 30px; height: 30px; background: var(--ink); color: var(--lime); font: 700 1rem var(--body); margin-right: 4px; }
.alert { background: var(--blush); border-left: 6px solid var(--red); padding: 10px 14px; }
.alert-ok { background: #f2fdd4; border-color: var(--ink); }
.alert-info { background: var(--mist); border-color: var(--ink); }
.bon .alert { margin: 0 0 18px; }
.alert p { margin: 0 0 8px; }
.alert p:last-child, .alert form { margin-bottom: 0; }
.hp { position: absolute; left: -9999px; }
.stepper { display: inline-flex; align-items: stretch; border: 2px solid var(--ink); background: var(--paper); }
.stepper button { width: 36px; border: 0; background: none; cursor: pointer; font-size: 1.15rem; line-height: 1; }
.stepper button:hover:not(:disabled) { background: var(--blush); }
.stepper button:disabled { color: var(--line); cursor: not-allowed; }
.stepper input, .stepper output { width: 44px; border: 0; text-align: center; padding: 8px 2px; margin: 0; -moz-appearance: textfield; font-weight: 700; }
.stepper input::-webkit-inner-spin-button { display: none; }

/* Product */
.product { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 44px; align-items: start; }
.shots { position: sticky; top: 90px; min-width: 0; }
.shot-rail { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; background: var(--mist); }
.shot-rail::-webkit-scrollbar { display: none; }
.shot { flex: 0 0 100%; scroll-snap-align: center; padding: 0; border: 0; background: none; cursor: zoom-in; }
.shot img { width: 100%; aspect-ratio: 1; object-fit: contain; }
.shot:focus-visible { outline-offset: -4px; }
.shot-count { position: absolute; right: 10px; margin: -40px 0 0; background: var(--ink); color: #fff; font-size: .85rem; padding: 2px 9px; pointer-events: none; }
.thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(66px, 1fr)); gap: 8px; margin-top: 8px; }
.thumbs button { padding: 0; border: 2px solid transparent; background: none; cursor: pointer; }
.thumbs button[aria-current] { border-color: var(--red); }
.thumbs img { aspect-ratio: 1; object-fit: cover; width: 100%; }
.price { --notch: 9px; display: inline-block; background: var(--ink); color: #fff; font-weight: 700; font-size: 1.35rem; padding: 8px 20px; margin: 0 0 16px; }
.price s { font-weight: 400; font-size: 1rem; color: var(--pink); }
.chips { margin-bottom: 16px; }
.chips legend { font: 500 1rem var(--body); margin-bottom: 6px; }
.chips label { display: inline-block; margin: 0 6px 6px 0; cursor: pointer; }
.chips input { position: absolute; opacity: 0; }
.chips span { display: block; border: 2px solid var(--ink); padding: 4px 12px; font-size: .95rem; transition: background .12s, color .12s; }
.chips label:hover span { background: var(--blush); }
.chips input:checked + span { background: var(--ink); color: #fff; }
.chips input:focus-visible + span { outline: 3px solid var(--red); outline-offset: 2px; }
.chips .is-out span { border-style: dashed; color: var(--soft); text-decoration: line-through; }
.buy-row { display: flex; gap: 12px; align-items: flex-end; flex-wrap: wrap; }
.buy-row .btn { flex: 1; min-width: 180px; }
.qty { margin: 0; }
.qty .stepper { margin-top: 4px; display: flex; }
.qty .stepper input { width: 56px; }
.acc { border-top: 2px solid var(--ink); margin-top: 22px; padding-top: 12px; }
.acc + .acc { margin-top: 12px; }
.acc summary { font-family: var(--sign); cursor: pointer; list-style: none; display: flex; justify-content: space-between; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: '+'; font-family: var(--body); font-size: 1.4rem; line-height: 1; transition: transform .2s var(--ease); }
.acc[open] summary::after { transform: rotate(45deg); }
.desc { margin-top: 10px; }
.desc ul, .desc ol { padding-left: 20px; }
.desc li p, .desc p { margin: .2em 0; }
.buybar { display: none; }

/* The bon: a stall's paper bill, torn along the bottom. */
.bon-page { background: var(--pink); max-width: none; }
.bon {
  background: var(--paper); padding: 28px 28px 40px; position: relative;
  -webkit-mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% 100% / 18px 100%;
  mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% 100% / 18px 100%;
}
.bon-page .bon { max-width: 720px; margin: 0 auto; }
.bon-title { font-size: clamp(1.7rem, 4vw, 2.5rem); }
.bon-lines, .bon-mini { list-style: none; margin: 0 0 12px; padding: 0; }
.bon-lines li { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; grid-template-areas: 'img name price' 'img qty qty'; gap: 6px 12px; align-items: start; padding: 12px 0; border-bottom: 2px dashed var(--line); }
.bon-lines img { grid-area: img; width: 64px; height: 64px; object-fit: cover; }
.bon-name { grid-area: name; min-width: 0; }
.bon-name a { font-weight: 700; }
.bon-price { grid-area: price; white-space: nowrap; }
.bon-qty { grid-area: qty; display: flex; align-items: center; gap: 14px; font-size: .92rem; }
.bon-qty .stepper button { width: 30px; }
.bon-qty .stepper output { width: 34px; padding: 3px 0; }
.bon-mini li { display: flex; justify-content: space-between; gap: 14px; padding: 7px 0; border-bottom: 2px dashed var(--line); }
.bon-mini b { white-space: nowrap; }
.resi b { color: var(--ink); white-space: normal; overflow-wrap: anywhere; }
.bon-total { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: 1.25rem; margin: 10px 0; }
.bon-total.small { font-size: 1rem; margin: 4px 0; }
.bon-total b { font-weight: 700; }
.status { display: inline-block; font-weight: 700; padding: 2px 10px; margin: 0; }
.status-pending { background: var(--pink); }
.status-paid { background: var(--lime); }
.status-cancelled { background: var(--ink); color: #fff; }

/* The bon slides out from the right edge like a slip off the printer. */
.drawer { position: fixed; inset: 0 0 0 auto; margin: 0; height: 100dvh; max-height: none; width: min(460px, 100vw); max-width: none; border: 0; padding: 0; background: var(--pink); overflow-y: auto; transition: transform .32s var(--ease), overlay .32s allow-discrete, display .32s allow-discrete; transform: translateX(100%); }
.drawer[open] { transform: none; }
@starting-style { .drawer[open] { transform: translateX(100%); } }
.drawer::backdrop { background: rgb(13 20 26 / .5); }
.drawer .bon { margin: 18px; padding: 24px 20px 38px; }
.drawer-close { position: absolute; right: 26px; top: 26px; z-index: 2; width: 40px; height: 40px; border: 0; background: var(--ink); color: #fff; font-size: 1.5rem; line-height: 1; cursor: pointer; }
.drawer-close:hover { background: var(--red); }

.lightbox { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; border: 0; padding: 0; background: rgb(13 20 26 / .94); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox img { max-width: 100vw; max-height: 100dvh; object-fit: contain; }
.lb-btn { position: absolute; top: calc(50% - 26px); width: 52px; height: 52px; border: 0; background: var(--paper); font-size: 1.9rem; line-height: 1; cursor: pointer; z-index: 2; }
.lb-btn:hover { background: var(--lime); }
.lb-prev { left: 12px; }
.lb-next { right: 12px; }
.lightbox.single .lb-btn { display: none; }

.toast { position: fixed; left: 50%; bottom: 24px; translate: -50% 0; margin: 0; background: var(--ink); color: #fff; padding: 10px 18px; z-index: 30; }

/* Order timeline: each step is a real stage of the order. */
.timeline { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); margin: 0 0 22px; padding: 0; font-size: .88rem; }
.timeline li { position: relative; padding-top: 26px; color: var(--soft); }
.timeline li::before { content: ''; position: absolute; left: 0; top: 4px; width: 14px; height: 14px; background: var(--paper); border: 3px solid var(--line); z-index: 1; }
.timeline li::after { content: ''; position: absolute; left: 0; right: 0; top: 10px; height: 3px; background: var(--line); }
.timeline li:last-child::after { display: none; }
.timeline li.is-done { color: var(--ink); font-weight: 700; }
.timeline li.is-done::before { background: var(--red); border-color: var(--red); }
.timeline li.is-done:has(+ .is-done)::after { background: var(--red); }

/* Checkout */
.checkout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 40px; align-items: start; }
.checkout .bon { position: sticky; top: 90px; background: var(--pink); }
.checkout .bon .note, .checkout .bon-mini small { color: var(--ink); }
.checkout .bon-mini li { border-color: var(--ink); }
.checkout .btn { width: 100%; }
.radio { display: flex; align-items: center; gap: 10px; border: 2px solid var(--ink); padding: 9px 12px; margin-bottom: 8px; cursor: pointer; transition: background .12s; }
.radio b { margin-left: auto; white-space: nowrap; }
.radio:has(:checked) { background: var(--blush); }

/* Pages */
.prose { max-width: 720px; }
.steps { padding-left: 24px; }
.steps li { margin-bottom: 8px; }
dt { font-weight: 700; margin-top: 12px; }
dd { margin: 0; }
.masonry { columns: 3 280px; column-gap: 14px; }
.masonry img { width: 100%; margin-bottom: 14px; break-inside: avoid; }

/* Footer */
.foot { background: var(--red); color: #fff; padding: 44px 16px 30px; }
.foot-line { font-family: var(--sign); font-size: clamp(1.7rem, 6vw, 4.2rem); line-height: 1.05; margin: 0 auto 26px; max-width: 1168px; }
.foot-cols { display: flex; flex-wrap: wrap; gap: 20px 56px; max-width: 1168px; margin: 0 auto; }
.foot-cols p { margin: 0; }
.foot :focus-visible { outline-color: var(--lime); }

/* Admin */
.admin { background: var(--mist); font-size: 16px; }
.admin h1 { font-size: 1.8rem; }
.admin-h2 { font: 700 1.1rem var(--body); margin: 24px 0 8px; }
.admin-h2 b { background: var(--ink); color: #fff; padding: 0 8px; }
.admin-top { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 26px; background: var(--ink); color: #fff; padding: 10px 20px; }
.admin-top nav { display: flex; flex-wrap: wrap; gap: 18px; flex: 1; }
.admin-top a { text-decoration: none; }
.admin-top a[aria-current] { color: var(--lime); }
.admin-top :focus-visible { outline-color: var(--lime); }
.admin-main { max-width: 1120px; margin: 0 auto; padding: 22px 16px 60px; }
.admin-search { display: flex; gap: 8px; margin-bottom: 14px; }
.admin-search input[type=search] { flex: 1; min-width: 0; }
.admin-actions { text-align: right; margin-top: 0; }
.new-orders { background: var(--lime); padding: 10px 14px; margin: 0 0 14px; font-weight: 700; }
.tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.tabs a { text-decoration: none; background: var(--paper); border: 2px solid var(--ink); padding: 4px 12px; font-weight: 500; }
.tabs a[aria-current] { background: var(--ink); color: #fff; }
.tabs .tabs-end { margin-left: auto; background: none; border-color: transparent; text-decoration: underline; }
.bulkbar { position: sticky; top: 0; z-index: 3; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; background: var(--mist); padding: 8px 0; margin-bottom: 8px; }
.bulkbar label { display: flex; align-items: center; gap: 8px; font-weight: 500; padding-left: 18px; }
.bulkbar span { color: var(--soft); }
.order { background: var(--paper); border: 2px solid var(--ink); margin-bottom: 16px; scroll-margin-top: 60px; }
.order > header { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; padding: 10px 16px; border-bottom: 2px solid var(--ink); }
.order h2 { font: 700 1.05rem var(--body); margin: 0; }
.order time { margin-left: auto; color: var(--soft); font-size: .9rem; }
.progress { font-weight: 500; }
.order-body { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 20px; padding: 12px 16px; }
.ticks { list-style: none; margin: 0; padding: 0; }
.ticks form { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; padding: 7px 0; border-bottom: 2px dashed var(--line); }
.ticks li:last-child form { border-bottom: 0; }
.tick { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 0; cursor: pointer; }
.tick input { width: 24px; height: 24px; flex: none; }
.tick img { width: 44px; height: 44px; object-fit: cover; flex: none; }
.ticks select { padding: 5px 7px; flex: none; }
.ticks .is-done .tick span { color: var(--soft); text-decoration: line-through; }
.tick-all { margin-top: 4px; font-size: .92rem; }
.who { font-size: .95rem; }
.who p { margin: 0 0 8px; overflow-wrap: anywhere; }
.quick-actions { display: flex; flex-wrap: wrap; gap: 6px; }
.ongkir-box { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin: 0 16px 10px; padding: 10px 12px; background: var(--mist); border-left: 6px solid var(--lime); font-size: .95rem; }
.ongkir-box.is-blocked { background: var(--blush); border-color: var(--red); }
.ongkir-box label { font-weight: 700; }
.ongkir-box input { width: 130px; padding: 5px 8px; margin-left: 6px; font-weight: 400; }
.order-note { display: flex; align-items: flex-start; gap: 12px; padding: 0 16px 10px; font-size: .92rem; }
.order-note textarea { flex: 1; min-width: 0; padding: 5px 8px; border-color: var(--line); field-sizing: content; resize: vertical; }
.order > footer { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; padding: 10px 16px; border-top: 2px solid var(--ink); background: var(--mist); }
.order > footer form { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.send { flex: 1 1 100%; }
.send fieldset { margin: 0; flex-basis: 100%; }
.send legend { font: 700 1rem var(--body); margin-bottom: 4px; }
.send fieldset label { display: flex; align-items: center; gap: 8px; padding: 2px 0; }
.send input[name=tracking] { padding: 5px 8px; margin-left: 4px; }
.item-track { flex-basis: 100%; display: flex; align-items: center; gap: 8px; padding-left: 34px; font-size: .9rem; color: var(--soft); }
.item-track input { flex: 1; min-width: 0; max-width: 260px; padding: 3px 7px; border-color: var(--line); color: var(--ink); }
.ongkir-box small { flex-basis: 100%; }
.admin-table { width: 100%; border-collapse: collapse; background: var(--paper); border: 2px solid var(--ink); }
.admin-table th { text-align: left; font-size: .9rem; }
.admin-table th, .admin-table td { padding: 8px 10px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.row-title { display: flex; align-items: center; gap: 10px; font-weight: 500; }
.row-title img { width: 40px; height: 40px; object-fit: cover; flex: none; }
.table-scroll { overflow-x: auto; }
.variants input:not([type=checkbox]) { width: 100%; min-width: 88px; padding: 5px 6px; }
.edit { max-width: 900px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.checks { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-bottom: 18px; }
.checks label { display: flex; align-items: center; gap: 6px; }
.photo-grid { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 12px; }
.photo-grid img { width: 96px; height: 96px; object-fit: cover; }
.photo-grid span { display: flex; align-items: center; gap: 4px; font-size: .85rem; margin-top: 3px; }
.login { max-width: 340px; margin: 12vh auto 0; background: var(--paper); border: 2px solid var(--ink); padding: 26px; }

@media (max-width: 900px) {
  .top { flex-wrap: wrap; gap: 6px 16px; padding: 8px 16px; }
  .nav { order: 3; flex-basis: 100%; flex-wrap: wrap; gap: 2px 16px; font-size: .95rem; }
  .logo img { width: 130px; }
  .cats { grid-template-columns: repeat(2, 1fr); }
  .why-row { grid-template-columns: 1fr; gap: 24px; }
  .product, .checkout { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .shots { position: relative; top: 0; }
  .checkout .bon { position: relative; top: 0; }
  .order-body { grid-template-columns: minmax(0, 1fr); }
  .hero { padding-bottom: 0; }
  .hero-sign { position: relative; left: 0; width: auto; margin: -30px 16px 0; bottom: auto; padding: 24px; top: -14px; }
  .fandoms { justify-content: flex-start; padding: 12px 16px; }
  .buybar:not([hidden]) { display: flex; align-items: center; justify-content: space-between; gap: 12px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 9; background: var(--paper); border-top: 3px solid var(--ink); padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); }
}
@media (max-width: 560px) {
  .wrap { padding: 30px 16px; }
  .wrap-rail { padding-top: 6px; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 12px; }
  .rail-track { grid-auto-columns: 62%; gap: 12px; }
  .bon { padding: 22px 16px 36px; }
  .two { grid-template-columns: 1fr; }
  .ticks form { flex-wrap: wrap; }
  .ticks select { margin-left: 34px; }
  .js .quick { width: 36px; height: 36px; right: 6px; top: 6px; }
  .cat-plate { left: 6px; right: 6px; bottom: 6px; padding: 7px 10px; }
  .cat-plate span { display: none; }
  .order time { margin-left: 0; flex-basis: 100%; }
}
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
