/* BETITREND — shared styles */
:root {
  --ink: #141414;
  --mute: #6b6b6b;
  --line: #e4e4e4;
  --soft: #f3f1ee;
  --accent: #94635a; /* dried rose, from the logo */
  --pad: clamp(16px, 3vw, 44px);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 16px/1.5 var(--font); color: var(--ink); background: #fff; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
h1, h2, h3, p { margin: 0; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 8px; top: -60px; background: var(--ink); color: #fff; padding: 8px 12px; z-index: 100; }
.skip:focus { top: 8px; }
.err { padding: 24px var(--pad); color: var(--accent); text-align: center; }

/* ---------- header ---------- */
.util { display: flex; justify-content: flex-end; gap: 20px; padding: 6px var(--pad); font-size: 12px; color: var(--mute); }
.util a:hover { color: var(--ink); text-decoration: underline; }
.hdr-row { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 32px; padding: 10px var(--pad); min-height: 100px; }
.logo { display: flex; justify-self: start; align-items: center; gap: 14px; font-size: 26px; font-weight: 600; letter-spacing: .32em; line-height: 1; white-space: nowrap; }
.logo img { width: 80px; height: 80px; }
.search { position: relative; width: 100%; max-width: 560px; justify-self: center; }
.search input { width: 100%; height: 44px; border: 1px solid #cfcfcf; border-radius: 4px; padding: 0 44px 0 16px; background: #fff; }
.search input:hover { border-color: #999; }
.search button { position: absolute; right: 0; top: 0; width: 44px; height: 44px; border: 0; background: none; display: grid; place-items: center; cursor: pointer; }
.hdr-icons { display: flex; gap: 24px; }
.hdr-icons a { position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 11px; }
.hdr-icons a:hover span { text-decoration: underline; }
.fav-count { position: absolute; top: -6px; right: 4px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 8px; background: var(--accent); color: #fff; font-size: 10px; font-weight: 600; line-height: 16px; text-align: center; }
.cats { display: flex; justify-content: space-between; gap: 24px; padding: 0 var(--pad); border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.cats::-webkit-scrollbar { display: none; }
.cats a { padding: 12px 0; font-size: 15px; white-space: nowrap; border-bottom: 2px solid transparent; }
.cats a:hover, .cats a[aria-current] { border-color: var(--ink); }

.tabbar { display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; grid-template-columns: repeat(5, 1fr); min-height: 60px; padding-bottom: env(safe-area-inset-bottom); background: #fff; border-top: 1px solid var(--line); }
.tabbar a { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; font-size: 11px; color: var(--mute); }
.tabbar a[aria-current] { color: var(--ink); font-weight: 600; }

.totop { position: fixed; right: 16px; bottom: 16px; z-index: 40; width: 44px; height: 44px; display: grid; place-items: center; background: #fff; border: 1px solid var(--ink); cursor: pointer; opacity: 0; visibility: hidden; transition: opacity .2s, visibility .2s; }
.totop.show { opacity: 1; visibility: visible; }

/* ---------- buttons & links ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 24px; background: var(--ink); color: #fff; border: 1px solid var(--ink); border-radius: 0; font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; cursor: pointer; }
.btn:hover { background: #333; }
.btn[disabled] { background: #b5b5b5; border-color: #b5b5b5; cursor: not-allowed; }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 12px; }
.link { font-size: 13px; text-decoration: underline; text-underline-offset: 3px; background: none; border: 0; padding: 0; cursor: pointer; }
.icon-btn { width: 40px; height: 40px; display: grid; place-items: center; border: 0; background: none; cursor: pointer; }

/* ---------- sections ---------- */
.sec { padding: clamp(48px, 7vw, 96px) var(--pad) 0; }
.title { margin-bottom: 32px; text-align: center; font-size: clamp(17px, 2vw, 22px); font-weight: 500; letter-spacing: .2em; text-transform: uppercase; }
.title::after { content: ""; display: block; width: 40px; height: 1px; margin: 14px auto 0; background: var(--ink); }

/* hero: photo | text card | photo */
.hero { display: grid; grid-template-columns: repeat(3, 1fr); height: min(70vh, 720px); min-height: 420px; background: var(--soft); }
.hero img { width: 100%; height: 100%; object-fit: cover; }
.hero-card { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 16px; padding: 32px; text-align: center; }
.eyebrow { font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: var(--mute); }
.hero h1 { font-size: clamp(28px, 3.2vw, 46px); font-weight: 300; line-height: 1.15; letter-spacing: .08em; text-transform: uppercase; }
.hero-card p:not(.eyebrow) { max-width: 32ch; color: var(--mute); }

/* category tiles */
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px 12px; }
.tile-img { aspect-ratio: 4 / 5; overflow: hidden; background: var(--soft); }
.tile-img img, .card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.tile:hover img, .card:hover .card-img img { transform: scale(1.03); }
.tile-t { display: block; margin-top: 12px; font-size: 14px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.tile-s { display: block; margin: 2px 0 6px; font-size: 13px; color: var(--mute); }

/* tabs + rail */
.tabs { display: flex; justify-content: center; gap: 28px; margin: -8px 0 24px; }
.tabs button { padding: 6px 0; background: none; border: 0; border-bottom: 1px solid transparent; font-size: 15px; color: var(--mute); cursor: pointer; }
.tabs button[aria-pressed="true"] { color: var(--ink); border-color: var(--ink); }
.rail-wrap { position: relative; }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 36px) / 4); gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }
.rail-btn { position: absolute; top: 40%; z-index: 2; width: 40px; height: 40px; display: grid; place-items: center; transform: translateY(-50%); background: #fff; border: 1px solid var(--ink); cursor: pointer; }
.rail-btn.prev { left: -8px; }
.rail-btn.next { right: -8px; }

/* service strip */
.usp { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.usp > div { text-align: center; }
.usp-ic { width: 56px; height: 56px; margin: 0 auto 14px; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: #fff; }
.usp h3 { font-size: 14px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.usp p { margin-top: 4px; font-size: 13px; color: var(--mute); }

/* ---------- product card ---------- */
.card { position: relative; min-width: 0; }
.card-img { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--soft); }
.card-name { margin-top: 10px; font-size: 15px; font-weight: 600; }
.card-cat { font-size: 13px; color: var(--mute); }
.card-price { margin-top: 4px; font-size: 15px; font-weight: 600; }
.badge { position: absolute; left: 8px; top: 8px; padding: 4px 8px; background: #fff; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.rank { position: absolute; left: 8px; top: 8px; min-width: 28px; height: 28px; padding: 0 6px; display: grid; place-items: center; border-radius: 14px; background: var(--ink); color: #fff; font-size: 13px; font-weight: 600; }
.fav { position: absolute; right: 8px; top: 8px; width: 40px; height: 40px; display: grid; place-items: center; border: 0; border-radius: 50%; background: #fff; cursor: pointer; }
.fav[aria-pressed="true"] svg { fill: var(--accent); stroke: var(--accent); }

/* ---------- listing ---------- */
.crumb { padding: 16px var(--pad) 0; text-align: center; font-size: 12px; color: var(--mute); }
.crumb a:hover { text-decoration: underline; }
.bar { position: sticky; top: 0; z-index: 20; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; padding: 12px var(--pad); background: #fff; border-bottom: 1px solid var(--line); }
.bar > .btn { justify-self: start; }
.bar-title { text-align: center; min-width: 0; }
.bar h1 { font-size: 18px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; overflow-wrap: anywhere; }
#count { font-size: 12px; color: var(--mute); }
.sort { justify-self: end; }
.sort select { height: 40px; padding: 0 12px; background: var(--ink); color: #fff; border: 0; border-radius: 0; font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; cursor: pointer; }
.chips { display: flex; gap: 8px; padding: 16px var(--pad); overflow-x: auto; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chips a { flex: none; padding: 6px 16px; border: 1px solid #cfcfcf; border-radius: 999px; font-size: 13px; white-space: nowrap; }
.chips a:hover { border-color: var(--ink); }
.chips a[aria-current] { background: var(--ink); color: #fff; border-color: var(--ink); }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px 12px; padding: 0 var(--pad); }
.empty { grid-column: 1 / -1; padding: 64px 16px; text-align: center; color: var(--mute); }

.filter { inset: 0 0 auto 0; margin: 0; width: 100%; max-width: none; max-height: 90vh; padding: 0; border: 0; overflow: auto; }
.filter::backdrop { background: rgba(0, 0, 0, .45); }
.filter form { padding: 20px var(--pad) 24px; }
.filter-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.filter-head h2 { font-size: 16px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; }
.filter-groups { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
legend { margin-bottom: 8px; padding: 0; font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.chk { display: flex; align-items: center; gap: 10px; padding: 6px 0; font-size: 14px; cursor: pointer; }
.chk input { width: 18px; height: 18px; margin: 0; accent-color: var(--ink); }
.filter-foot { display: flex; justify-content: flex-end; align-items: center; gap: 24px; margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--line); }

/* ---------- product page ---------- */
.pdp-grid { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: clamp(24px, 4vw, 64px); align-items: start; padding: 24px var(--pad) 0; }
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; background: var(--soft); }
.gallery img:first-child { grid-column: 1 / -1; }
.info { position: sticky; top: 24px; max-width: 480px; }
.pdp-name { font-size: 22px; font-weight: 600; }
.pdp-cat { margin-top: 2px; color: var(--mute); }
.pdp-price { margin: 16px 0; font-size: 22px; font-weight: 600; }
.note, .ship-box { display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: var(--soft); font-size: 13px; }
.ship-box { margin-top: 24px; }
.lbl { margin: 24px 0 10px; font-size: 14px; }
.thumb { width: 64px; height: 80px; object-fit: cover; outline: 1px solid var(--ink); outline-offset: 2px; }
.thumbs { display: flex; flex-wrap: wrap; gap: 10px; }
.thumbs a img { width: 64px; height: 80px; object-fit: cover; background: var(--soft); }
.card-price s, .pdp-price s { color: var(--mute); font-weight: 400; }
.sale { color: var(--accent); }
.sizes { display: flex; flex-wrap: wrap; gap: 8px; }
.size { min-width: 52px; height: 44px; padding: 0 12px; background: #fff; border: 1px solid #cfcfcf; font-size: 14px; cursor: pointer; }
.size:hover { border-color: var(--ink); }
.size[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.buy { display: flex; gap: 8px; margin-top: 16px; }
.buy .btn { flex: 1; }
.buy .fav { position: static; flex: none; width: 48px; height: 48px; border: 1px solid var(--ink); border-radius: 0; }
.pay-note { margin-top: 8px; font-size: 12px; color: var(--mute); }
#paytriframe { width: 100%; }
.acc { margin-top: 28px; border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); }
summary { display: flex; justify-content: space-between; align-items: center; padding: 16px 0; list-style: none; font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; cursor: pointer; }
summary::-webkit-details-marker { display: none; }
summary svg { transition: transform .2s; }
details[open] summary svg { transform: rotate(180deg); }
details > div { padding-bottom: 16px; font-size: 14px; color: #333; }
details ul { margin: 10px 0 0; padding-left: 18px; }
details a { text-decoration: underline; }
.notfound { display: grid; justify-items: center; gap: 16px; padding: 64px 16px; text-align: center; }

/* ---------- info page ---------- */
.page { max-width: 820px; margin: 0 auto; padding: 32px var(--pad) 0; }
.page h1 { margin-bottom: 24px; text-align: center; font-size: 22px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; }
.page .chips { justify-content: center; flex-wrap: wrap; padding: 0 0 16px; }
.page section { padding-top: 40px; scroll-margin-top: 16px; }
.page h2 { margin-bottom: 12px; font-size: 15px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.page p { margin-bottom: 12px; color: #333; }
.todo { padding: 1px 6px; background: #fff1c2; font-weight: 600; }
.legal { font-size: 14px; }
.legal h3 { margin: 24px 0 8px; font-size: 14px; font-weight: 600; }
.legal h4 { margin: 16px 0 8px; font-size: 13px; font-weight: 600; }
.legal ul, .legal ol { margin: 0 0 12px; padding-left: 20px; color: #333; }
.legal li { margin-bottom: 4px; }
.legal table { display: block; overflow-x: auto; width: 100%; margin-bottom: 16px; border-collapse: collapse; font-size: 13px; }
.legal th, .legal td { padding: 8px 10px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.legal th { font-weight: 600; background: var(--soft); }
.legal blockquote { margin: 0 0 12px; padding: 8px 12px; border-left: 2px solid var(--line); color: var(--mute); }
.legal blockquote p { margin: 0; color: inherit; }
.legal hr { margin: 16px 0; border: 0; border-top: 1px solid var(--line); }

/* ---------- cart & checkout ---------- */
.size[disabled] { color: #a0a0a0; background: var(--soft); border-color: var(--line); cursor: not-allowed; text-decoration: line-through; }
.size small { font-size: 11px; text-decoration: none; }
.line { display: grid; grid-template-columns: 96px 1fr auto; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.line img { width: 96px; height: 120px; object-fit: cover; background: var(--soft); }
.qty { display: flex; align-items: center; gap: 8px; margin-top: 10px; }
.qty button:not(.link) { width: 36px; height: 36px; background: #fff; border: 1px solid #cfcfcf; cursor: pointer; }
.qty button[disabled] { color: #b5b5b5; cursor: not-allowed; }
.qty span { min-width: 24px; text-align: center; }
.qty .link { margin-left: 12px; }
.warn { margin: 6px 0 0; color: var(--accent); font-size: 13px; }
.warn:empty { display: none; }
.cart-total { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: baseline; gap: 4px 12px; padding: 20px 0; font-size: 15px; }
.cart-total b { font-size: 20px; }
.cart-total span { flex-basis: 100%; text-align: right; font-size: 12px; color: var(--mute); }
.co { display: grid; gap: 16px; padding-top: 24px; }
.co[hidden] { display: none; }
.co h2 { margin: 0; }
.co-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 12px; }
.co-grid label { display: grid; gap: 4px; font-size: 13px; color: var(--mute); }
.co-grid .wide { grid-column: 1 / -1; }
.co input:not([type=checkbox]), .co textarea { width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid #cfcfcf; border-radius: 0; font: inherit; color: var(--ink); background: #fff; }
.co .chk { align-items: flex-start; font-size: 14px; }
.co .chk input { flex: none; margin-top: 2px; }
.co .pay-note { margin: -8px 0 0; }

/* ---------- footer ---------- */
.ftr { margin-top: clamp(64px, 8vw, 112px); padding: 56px var(--pad) 0; background: #0e0e0e; color: #fff; }
.ftr :focus-visible { outline-color: #fff; }
.ftr-cols { display: grid; grid-template-columns: repeat(3, 1fr) 1.3fr; gap: 32px; }
.ftr h2 { margin-bottom: 16px; font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; }
.ftr ul { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; font-size: 14px; color: #bdbdbd; }
.ftr a:hover { color: #fff; text-decoration: underline; }
.ftr-logo { width: 72px; height: 72px; }
.ftr-brand p { max-width: 34ch; margin-top: 12px; font-size: 13px; color: #bdbdbd; }
.ftr-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; margin-top: 48px; padding: 18px 0; border-top: 1px solid #2a2a2a; font-size: 12px; color: #9a9a9a; }

/* ---------- mobile ---------- */
@media (max-width: 767px) {
  body { padding-bottom: 64px; }
  .util, .hdr-icons, .rail-btn { display: none; }
  .tabbar { display: grid; }
  .totop { bottom: 76px; }
  .hdr-row { grid-template-columns: 1fr; gap: 10px; min-height: 0; padding: 12px 16px; }
  .logo { gap: 10px; font-size: 20px; }
  .logo img { width: 50px; height: 50px; }
  .search { max-width: none; }
  .cats { justify-content: flex-start; padding: 0 16px; }

  .hero { grid-template-columns: 1fr; height: auto; min-height: 0; }
  .hero img:first-child { height: auto; aspect-ratio: 4 / 5; }
  .hero img:last-child { display: none; }
  .tiles { grid-template-columns: repeat(2, 1fr); gap: 24px 8px; }
  .rail { grid-auto-columns: calc((100% - 12px) / 1.6); }
  .usp { grid-template-columns: 1fr; }

  .bar { grid-template-columns: 1fr 1fr; padding: 10px 16px; }
  .bar-title { grid-column: 1 / -1; order: -1; }
  .bar > .btn, .sort, .sort select { width: 100%; justify-self: stretch; }
  .chips { padding: 12px 16px; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 24px 8px; padding: 0 8px; }
  .filter { max-height: 100vh; height: 100%; }
  .filter-groups { grid-template-columns: 1fr; }

  .pdp-grid { grid-template-columns: 1fr; padding: 12px 0 0; }
  .gallery { display: flex; gap: 0; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .gallery img { flex: 0 0 100%; aspect-ratio: 4 / 5; scroll-snap-align: start; }
  .info { position: static; max-width: none; padding: 0 16px; }

  .ftr-cols { grid-template-columns: 1fr 1fr; }
  .co-grid { grid-template-columns: 1fr; }
  .line { grid-template-columns: 72px 1fr; }
  .line img { width: 72px; height: 90px; }
  .line > .card-price { grid-column: 2; }
  .ftr-brand { grid-column: 1 / -1; order: -1; }
}
.tabbar .fav-count { top: 4px; right: calc(50% - 24px); }
@media (max-width: 360px) { .logo { font-size: 17px; letter-spacing: .24em; } }

/* ---------- admin ---------- */
.adm-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding: 12px var(--pad); border-bottom: 1px solid var(--line); }
.adm-top .logo { font-size: 16px; letter-spacing: .24em; }
.adm-top .logo img { width: 40px; height: 40px; }
.adm-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; font-size: 14px; }
.adm-nav[hidden] { display: none; }
.adm-nav a[aria-current] { font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
.adm-main { max-width: 1100px; margin: 0 auto; padding: 24px var(--pad) 64px; }
.adm-main h1 { margin-bottom: 20px; font-size: 20px; font-weight: 600; }
.adm-main h2 { margin: 16px 0 10px; font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.adm-main select { width: 100%; min-height: 44px; padding: 0 10px; border: 1px solid #cfcfcf; border-radius: 0; background: #fff; }
.adm-login { max-width: 360px; margin: 48px auto; }
.adm-login .co-grid { grid-template-columns: 1fr; }
.adm-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.adm-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 40px; }
.muted { color: var(--mute); font-size: 13px; }
.msg { min-height: 1em; margin: 0; color: var(--accent); font-size: 14px; }
.msg.ok { color: #2f6b3a; }
.msg:empty { display: none; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; margin-bottom: 24px; }
.stats > * { display: grid; gap: 2px; padding: 16px; background: var(--soft); }
.stats span { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--mute); }
.stats b { font-size: 24px; font-weight: 600; }
.stats small { color: var(--mute); }
.stats .warn-box { background: #f7e6e2; }
.adm-list { margin: 0 0 16px; padding-left: 20px; font-size: 14px; }
.adm-list li { padding: 3px 0; }
.tbl-wrap { overflow-x: auto; }
.tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.tbl th, .tbl td { padding: 8px 10px 8px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; white-space: nowrap; }
.tbl th { font-size: 12px; font-weight: 600; color: var(--mute); }
.tbl img { width: 40px; height: 50px; object-fit: cover; background: var(--soft); }
.tbl .off { opacity: .55; }
.tbl .neg { color: var(--accent); font-weight: 600; }
.pill { display: inline-block; padding: 2px 10px; border-radius: 999px; background: var(--soft); font-size: 12px; }
.pill.s-new { background: var(--ink); color: #fff; }
.pill.s-preparing { background: #f4e3c4; }
.pill.s-shipped { background: #dbe7f4; }
.pill.s-delivered { background: #dcefdc; }
.pill.s-test { background: #f6d2d2; color: #8a1c1c; font-weight: 600; }
.helper { margin: 0; padding: 10px 12px; background: var(--soft); font-size: 13px; }
.size-row, .cat-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 8px; }
.cat-row .chart { flex-basis: 100%; }
.cat-row .chart textarea { width: 100%; margin-top: 8px; padding: 8px 10px; border: 1px solid #cfcfcf; font: 13px/1.5 ui-monospace, monospace; }
.adm-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 12px; }
.adm-tools input, .adm-tools select { min-height: 40px; padding: 6px 10px; border: 1px solid #cfcfcf; border-radius: 0; background: #fff; }
.adm-tools input[type=search] { flex: 1 1 220px; width: auto; }
.adm-tools select { width: auto; }
.size-row input, .cat-row input { min-height: 40px; padding: 6px 10px; border: 1px solid #cfcfcf; border-radius: 0; }
.size-row input[name=size] { width: 90px; }
.size-row input[name=stock] { width: 90px; }
.cat-row input { flex: 1 1 180px; }
.icon-btn[disabled], .link[disabled] { opacity: .35; cursor: not-allowed; }
.imgs { display: flex; flex-wrap: wrap; gap: 12px; }
.imgs figure { margin: 0; width: 120px; }
.imgs img { width: 120px; height: 150px; object-fit: cover; background: var(--soft); }
.imgs figcaption { display: flex; align-items: center; gap: 2px; font-size: 12px; }
.imgs figcaption b { margin-right: auto; }
.upload { justify-self: start; }
@media (max-width: 767px) {
  .adm-cols { grid-template-columns: 1fr; }
  .adm-nav { gap: 8px 16px; }
}
#nf textarea { width: 100%; padding: 8px 10px; border: 1px solid #cfcfcf; font: inherit; }
@media print {
  .adm-top, .no-print { display: none !important; }
  .adm-main { padding: 0; }
}
