/* COMOLADO storefront — single stylesheet, no framework.
   Palette is deliberately different from the reference banner: light neutral
   surfaces, teal brand bar, amber accents. Change the variables to re-skin. */

:root {
  --bg: #f5f7f8;
  --surface: #ffffff;
  --ink: #0f172a;
  --ink-soft: #334155;
  --muted: #6b7a8d;
  --line: #e3e8ee;
  --line-strong: #cfd8e3;
  --brand: #0d9488;
  --brand-dark: #0f766e;
  --brand-soft: #e6f5f3;
  --accent: #f59e0b;
  --ok: #0f9d58;
  --warn: #b45309;
  --danger: #b91c1c;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(15, 23, 42, .06), 0 8px 24px rgba(15, 23, 42, .05);
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main { flex: 1 0 auto; }

a { color: var(--brand-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3 { line-height: 1.25; margin: 0 0 .5em; }
h1 { font-size: 1.85rem; letter-spacing: -.02em; }
h2 { font-size: 1.2rem; }
h3 { font-size: 1rem; }

code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .88em; }
.muted { color: var(--muted); font-size: .82rem; }
.container { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 12px; top: 12px; background: var(--surface); padding: 8px 12px; border-radius: var(--radius-sm); z-index: 20; }

/* ------------------------------------------------------------------ topbar */

.topbar { background: var(--surface); border-bottom: 1px solid var(--line); }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; min-height: 54px; gap: 16px; }
.topbar__left, .topbar__right { display: flex; align-items: center; gap: 14px; }
.topbar__link { color: var(--ink-soft); font-size: .9rem; font-weight: 500; background: none; border: 0; padding: 0; cursor: pointer; font-family: inherit; }
.topbar__link:hover { color: var(--brand-dark); }
.topbar__cart { position: relative; display: inline-flex; align-items: center; color: var(--ink-soft); }
.topbar__cart svg { width: 22px; height: 22px; }
.cart-count { position: absolute; top: -6px; right: -8px; background: var(--accent); color: #3b2600; font-size: .68rem; font-weight: 700; border-radius: 999px; padding: 1px 6px; }
.socials { display: flex; align-items: center; gap: 6px; }
.socials__link { width: 34px; height: 34px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: var(--ink-soft); border: 1px solid var(--line); background: var(--surface); }
.socials__link:hover { border-color: var(--brand); color: var(--brand-dark); text-decoration: none; }
.socials__link svg { width: 18px; height: 18px; }
.inline-form { display: inline; }

/* -------------------------------------------------------------------- home */

.page-home main { display: flex; align-items: center; justify-content: center; padding: 6vh 0 4vh; }
.home { width: 100%; }
.home__inner { max-width: 720px; margin: 0 auto; padding: 0 20px; text-align: center; }
.home__logo { margin-bottom: 30px; }
.brand-logo { display: block; width: 100%; height: auto; margin: 0 auto; }
.brand-logo--large { max-width: 470px; }
.brand-logo--small { width: 168px; max-width: 168px; }
.home__search { margin: 0 auto; max-width: 620px; }
.search-form { display: flex; align-items: stretch; gap: 8px; background: var(--surface); border: 1px solid var(--line-strong); border-radius: 999px; padding: 6px 6px 6px 20px; box-shadow: var(--shadow); }
.search-form:focus-within { border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); }
.search-form__input { flex: 1; border: 0; outline: 0; font-size: 1rem; font-family: inherit; color: var(--ink); background: transparent; min-width: 0; padding: 10px 0; }
.search-form__input::placeholder { color: #9aa7b5; }
.search-form__button { display: inline-flex; align-items: center; gap: 8px; border: 0; border-radius: 999px; background: var(--brand-dark); color: #fff; font-family: inherit; font-size: .95rem; font-weight: 600; padding: 0 22px; cursor: pointer; }
.search-form__button:hover { background: var(--brand); }
.search-form__button svg { width: 18px; height: 18px; }
.search-form--compact { padding: 4px 4px 4px 16px; box-shadow: none; }
.search-form--compact .search-form__input { padding: 8px 0; font-size: .95rem; }
.home__hint { color: var(--muted); font-size: .92rem; margin: 22px auto 0; max-width: 540px; }
.home__examples { color: var(--muted); font-size: .85rem; margin-top: 14px; }
.home__stats { color: #94a3b8; font-size: .78rem; margin-top: 28px; }

/* ------------------------------------------------------------------ footer */

.footer { background: var(--surface); border-top: 1px solid var(--line); margin-top: auto; }
.footer__inner { padding: 22px 20px; text-align: center; }
.footer__links { display: flex; flex-wrap: wrap; gap: 6px 20px; justify-content: center; margin-bottom: 12px; }
.footer__links a { color: var(--ink-soft); font-size: .86rem; }
.footer__legal { color: var(--muted); font-size: .78rem; margin: 0; }

/* ----------------------------------------------------------------- results */

.results__bar { background: var(--surface); border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 20px; padding: 10px 20px; position: sticky; top: 0; z-index: 10; }
.results__logo { flex: 0 0 auto; }
.results__search { flex: 1; max-width: 620px; }
.results__actions { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.topbar__links { display: flex; gap: 12px; }
.results { padding: 26px 0 60px; }
.results__head { margin-bottom: 18px; }
.results__title { font-size: 1.5rem; margin-bottom: 6px; }
.results__meta { color: var(--muted); font-size: .87rem; margin: 0 0 14px; }
.view-switch { display: inline-flex; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--surface); overflow: hidden; }
.view-switch__item { padding: 7px 16px; font-size: .85rem; color: var(--ink-soft); border-right: 1px solid var(--line); }
.view-switch__item:last-child { border-right: 0; }
.view-switch__item:hover { background: var(--brand-soft); text-decoration: none; }
.view-switch__item.is-active { background: var(--brand-dark); color: #fff; }

.cards--grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: border-color .15s, transform .15s; }
.card:hover { border-color: var(--brand); transform: translateY(-1px); }
.card__media { display: block; background: #fff; padding: 10px; }
.thumb { display: block; width: 100%; height: 150px; object-fit: contain; background: #fff; }
.thumb--row { width: 64px; height: 64px; }
.thumb--placeholder { display: flex; align-items: center; justify-content: center; background: var(--brand-soft); color: var(--brand-dark); font-weight: 700; font-size: .8rem; letter-spacing: .04em; border-radius: var(--radius-sm); }
.card__body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card__title { font-size: .92rem; font-weight: 600; margin: 0; line-height: 1.35; }
.card__title a { color: var(--ink); }
.card__brand { color: var(--muted); font-size: .78rem; margin: 0; text-transform: capitalize; }
.card__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-top: 4px; }
.card__price { font-weight: 700; color: var(--ink); }

.pills { display: flex; flex-wrap: wrap; gap: 6px; }
.pill { display: inline-block; font-size: .72rem; padding: 3px 9px; border-radius: 999px; background: var(--brand-soft); color: var(--brand-dark); border: 1px solid #cbeae6; }
.pill--parts { background: #fff7e6; color: #92610a; border-color: #f6dfae; }

.rows { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.row { display: flex; align-items: center; gap: 16px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.row:last-child { border-bottom: 0; }
.row:hover { background: #fafcfc; }
.row__main { flex: 1; min-width: 0; }
.row__title { font-size: .93rem; margin: 0 0 2px; }
.row__title a { color: var(--ink); }
.row__meta { margin: 0; color: var(--muted); font-size: .78rem; }
.row__side { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }

.group { margin-bottom: 34px; }
.group__title { font-size: 1.05rem; display: flex; align-items: center; gap: 10px; padding-bottom: 8px; border-bottom: 2px solid var(--line); margin-bottom: 16px; }
.group__count { font-size: .72rem; font-weight: 700; color: var(--brand-dark); background: var(--brand-soft); border-radius: 999px; padding: 2px 9px; }
.results__more { margin-top: 26px; text-align: center; }

/* ------------------------------------------------------------------ shared */

.page { padding: 30px 0 60px; }
.page--narrow { max-width: 620px; }
.page h1:first-child { margin-top: 0; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; margin-bottom: 20px; }
.panel h2 { font-size: 1.05rem; }
.panel__hint { color: var(--muted); font-size: .85rem; margin: .4em 0 0; }
.bullets { margin: 0; padding-left: 18px; color: var(--ink-soft); }
.bullets li { margin-bottom: 6px; }

.notice { border-radius: var(--radius-sm); padding: 12px 16px; margin-bottom: 18px; font-size: .88rem; border: 1px solid; }
.notice--ok { background: #edfbf3; border-color: #b7e7cb; color: #0b6b3a; }
.notice--warn { background: #fff8ed; border-color: #f7dcae; color: var(--warn); }
.notice--info { background: var(--brand-soft); border-color: #cbeae6; color: var(--brand-dark); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 999px; border: 1px solid transparent; padding: 10px 20px; font-family: inherit; font-size: .9rem; font-weight: 600; cursor: pointer; text-decoration: none; }
.btn:hover { text-decoration: none; }
.btn--primary { background: var(--brand-dark); color: #fff; }
.btn--primary:hover { background: var(--brand); }
.btn--ghost { background: var(--surface); border-color: var(--line-strong); color: var(--ink-soft); }
.btn--ghost:hover { border-color: var(--brand); color: var(--brand-dark); }
.btn--small { padding: 6px 14px; font-size: .82rem; }
.btn--block { width: 100%; }
.link-button { background: none; border: 0; padding: 0; color: var(--brand-dark); font-family: inherit; font-size: .85rem; cursor: pointer; text-decoration: underline; }
.link { color: var(--brand-dark); font-size: .85rem; }

.input { width: 100%; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); padding: 9px 12px; font-family: inherit; font-size: .9rem; color: var(--ink); background: #fff; }
.input:focus { outline: 0; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.input--qty { width: 74px; }
.input--tiny { width: 110px; padding: 4px 8px; font-size: .78rem; }
.field { display: flex; flex-direction: column; gap: 5px; margin-bottom: 14px; flex: 1; }
.field > span { font-size: .82rem; color: var(--ink-soft); font-weight: 500; }
.form__row { display: flex; gap: 14px; flex-wrap: wrap; }
.form { max-width: 560px; }
.checkout .form__row, .checkout .field { max-width: none; }
.radio { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.radio:last-of-type { border-bottom: 0; }
.radio__body { font-size: .88rem; }
.empty { background: var(--surface); border: 1px dashed var(--line-strong); border-radius: var(--radius); padding: 40px 24px; text-align: center; }

.table { width: 100%; border-collapse: collapse; font-size: .87rem; }
.table th, .table td { text-align: left; padding: 9px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table th { color: var(--ink-soft); font-weight: 600; background: #fafbfc; }
.table--wide { font-size: .82rem; }

.tag { display: inline-block; font-size: .72rem; padding: 2px 9px; border-radius: 999px; background: #eef2f6; color: var(--ink-soft); }
.tag--pending_payment { background: #fff7e6; color: #92610a; }
.tag--paid { background: #e8f6ef; color: #0b6b3a; }
.tag--fulfilled { background: var(--brand-soft); color: var(--brand-dark); }
.tag--cancelled { background: #fdecec; color: var(--danger); }
.tag--new { background: #fff7e6; color: #92610a; }

.code-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.code-list li code { display: inline-block; background: #f1f5f9; border: 1px solid var(--line); border-radius: 6px; padding: 3px 8px; font-size: .78rem; color: var(--ink-soft); }

.steps { list-style: none; display: flex; gap: 10px; padding: 0; margin: 0 0 22px; flex-wrap: wrap; }
.steps__item { font-size: .82rem; color: var(--muted); background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 5px 14px; }
.steps__item.is-done { color: #fff; background: var(--brand-dark); border-color: var(--brand-dark); }
.timeline { list-style: none; margin: 0; padding: 0; font-size: .85rem; }
.timeline li { display: flex; gap: 12px; padding: 6px 0; border-bottom: 1px dashed var(--line); flex-wrap: wrap; }
.timeline__time { color: var(--muted); flex: 0 0 150px; }
.timeline__event { font-weight: 600; flex: 0 0 150px; }

/* ---------------------------------------------------------------- product */

.product { padding: 26px 0 60px; }
.breadcrumb { color: var(--muted); font-size: .82rem; margin: 0 0 18px; }
.product__grid { display: grid; grid-template-columns: minmax(280px, 460px) 1fr; gap: 36px; align-items: start; }
.product__media { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.product__image { width: 100%; height: 360px; object-fit: contain; }
.product__image--placeholder { display: flex; align-items: center; justify-content: center; background: var(--brand-soft); color: var(--brand-dark); border-radius: var(--radius-sm); font-weight: 700; letter-spacing: .06em; }
.thumbs { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.thumbs__item { border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; padding: 4px; cursor: pointer; }
.thumbs__item img { width: 54px; height: 54px; object-fit: contain; display: block; }
.thumbs__item.is-active { border-color: var(--brand); }
.product__title { font-size: 1.5rem; margin-bottom: 6px; }
.product__brand { color: var(--muted); font-size: .85rem; margin: 0 0 10px; text-transform: capitalize; }
.product__price { font-size: 1.7rem; font-weight: 700; margin: 0 0 4px; }
.product__ref { color: var(--muted); font-size: .78rem; margin: 0 0 12px; }
.product__note { color: var(--muted); font-size: .82rem; }
.buy { display: flex; align-items: center; gap: 12px; margin: 16px 0 10px; flex-wrap: wrap; }
.buy__qty { display: flex; align-items: center; gap: 8px; font-size: .85rem; color: var(--ink-soft); }
.product__sections { margin-top: 34px; }

/* ------------------------------------------------------------- cart/order */

.cart { display: grid; grid-template-columns: 1fr 340px; gap: 26px; align-items: start; }
.cart__table { width: 100%; border-collapse: collapse; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; font-size: .88rem; }
.cart__table th, .cart__table td { padding: 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
.cart__table th { background: #fafbfc; font-size: .8rem; color: var(--ink-soft); }
.cart__media img { width: 58px; height: 58px; object-fit: contain; }
.cart__title { color: var(--ink); font-weight: 600; }
.cart__meta { margin: 2px 0 0; color: var(--muted); font-size: .76rem; }
.cart__price, .cart__total { white-space: nowrap; }
.cart__total { font-weight: 600; }
.cart__side { position: sticky; top: 20px; }

.summary { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; margin-bottom: 14px; }
.summary__title { font-size: .95rem; margin-bottom: 12px; }
.summary__row { display: flex; justify-content: space-between; font-size: .88rem; padding: 5px 0; color: var(--ink-soft); }
.summary__row--total { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 10px; font-size: 1.02rem; font-weight: 700; color: var(--ink); }
.summary__hint { color: var(--muted); font-size: .78rem; margin: 10px 0 0; }
.summary__coupon { display: flex; gap: 8px; margin-top: 12px; }
.checkout { display: grid; grid-template-columns: 1fr 340px; gap: 26px; align-items: start; }
.checkout__side { position: sticky; top: 20px; }
.checkout__legal { color: var(--muted); font-size: .76rem; margin-top: 10px; }
.order { display: grid; grid-template-columns: 1fr 340px; gap: 26px; align-items: start; }
.order__status { color: var(--ink-soft); }
.order__side { position: sticky; top: 20px; }

/* ------------------------------------------------------------------ admin */

.page-admin { background: #eef2f5; }
.admin__bar { background: #0f172a; color: #fff; padding: 14px 20px; display: flex; align-items: center; justify-content: space-between; }
.admin__bar h1 { font-size: 1.05rem; margin: 0; letter-spacing: .04em; }
.admin__nav { display: flex; gap: 18px; align-items: center; }
.admin__nav a, .admin__nav .link-button { color: #cbd5e1; }
.admin .container { padding: 24px 20px 60px; }
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin-bottom: 24px; }
.tile { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; display: flex; flex-direction: column; gap: 2px; }
.tile__label { color: var(--muted); font-size: .78rem; }
.tile__value { font-size: 1.6rem; font-weight: 700; }
.tile__hint { color: var(--muted); font-size: .76rem; }
.admin__actions { white-space: nowrap; }
.admin__message { max-width: 320px; }

/* --------------------------------------------------------------- content */

.content-page { max-width: 780px; }
.content-page h1 { font-size: 1.7rem; margin-bottom: .6em; }
.content-page h2 { margin-top: 1.6em; font-size: 1.15rem; }
.content-page h3 { margin-top: 1.2em; }
.content-page p, .content-page li { color: var(--ink-soft); }
.content-page table { width: 100%; border-collapse: collapse; margin: 1em 0; font-size: .88rem; }
.content-page th, .content-page td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; }
.content-page th { background: #fafbfc; }

@media (max-width: 900px) {
  .product__grid, .cart, .checkout, .order { grid-template-columns: 1fr; }
  .cart__side, .checkout__side, .order__side { position: static; }
  .results__bar { flex-wrap: wrap; }
  .results__search { order: 3; flex-basis: 100%; max-width: none; }
}

/* -------------------------------------------------------- colour variants */

.variants { display: flex; gap: 10px; flex-wrap: wrap; margin: 14px 0 4px; }
.variant { border: 1px solid var(--line-strong); background: #fff; border-radius: var(--radius-sm); padding: 6px; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 4px; font-family: inherit; font-size: .76rem; color: var(--ink-soft); min-width: 84px; }
.variant img { width: 64px; height: 64px; object-fit: contain; display: block; }
.variant:hover { border-color: var(--brand); }
.variant.is-active { border-color: var(--brand-dark); box-shadow: 0 0 0 3px var(--brand-soft); color: var(--ink); font-weight: 600; }
.variants__hint { color: var(--muted); font-size: .82rem; margin: 6px 0 0; }

/* ------------------------------------------- product content modules (shared) */

.module h2 { font-size: 1.1rem; margin-bottom: .7em; }
.module h3 { font-size: .95rem; margin: 1.1em 0 .35em; }
.module p { color: var(--ink-soft); font-size: .92rem; }
.module__note { background: #f8fafc; border-left: 3px solid var(--line-strong); padding: 10px 12px; font-size: .85rem; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; margin-top: 12px; }
.module--legal { background: #fbfcfd; }
.module--legal .disclaimer { color: var(--muted); font-size: .82rem; margin: 0; }
.steps { margin: .4em 0 .8em; padding-left: 20px; color: var(--ink-soft); font-size: .92rem; }
.steps li { margin-bottom: 4px; }
.faq h3 { margin-top: 1.2em; }
.faq:first-of-type h3 { margin-top: .3em; }
.admin__pick { font-size: .78rem; white-space: nowrap; }
.pick code { background: #f1f5f9; border: 1px solid var(--line); padding: 1px 5px; border-radius: 4px; }
.footer__legal--disclaimer { max-width: 860px; margin: 6px auto 0; font-size: .72rem; color: #94a3b8; line-height: 1.5; }

/* ------------------------------------------------------- bulk order panel */

.bulk { background: var(--surface); border: 1px solid var(--brand); border-left-width: 4px; border-radius: var(--radius); padding: 20px 22px; margin: 22px 0; }
.bulk--inline { margin-top: 26px; }
.bulk__brand { font-size: .72rem; font-weight: 700; letter-spacing: .18em; color: var(--brand-dark); text-transform: uppercase; }
.bulk__title { font-size: 1.2rem; margin: 6px 0 8px; }
.bulk__lead { color: var(--ink-soft); margin: 0 0 12px; font-size: .92rem; }
.bulk__points { margin: 0 0 16px; padding-left: 18px; color: var(--ink-soft); font-size: .9rem; }
.bulk__points li { margin-bottom: 5px; }
.bulk__contact { display: flex; gap: 10px; flex-wrap: wrap; }
.bulk__who { color: var(--muted); font-size: .78rem; margin: 12px 0 0; }
.bulk__actions { margin-top: 14px; }

.bulk-modal { position: fixed; inset: 0; z-index: 60; display: flex; align-items: center; justify-content: center; padding: 20px; }
.bulk-modal[hidden] { display: none; }
.bulk-modal__backdrop { position: absolute; inset: 0; background: rgba(15, 23, 42, .48); backdrop-filter: blur(2px); }
.bulk-modal__card { position: relative; width: 100%; max-width: 540px; background: var(--surface); border-radius: 16px; box-shadow: 0 24px 60px rgba(15, 23, 42, .28); padding: 26px 28px; animation: bulk-in .18s ease-out; max-height: 92vh; overflow: auto; }
.bulk-modal__close { position: absolute; top: 10px; right: 14px; border: 0; background: none; font-size: 26px; line-height: 1; color: var(--muted); cursor: pointer; }
.bulk-modal__close:hover { color: var(--ink); }
body.has-modal { overflow: hidden; }
@keyframes bulk-in { from { opacity: 0; transform: translateY(10px) scale(.985); } to { opacity: 1; transform: none; } }

@media (max-width: 560px) {
  .bulk-modal__card { padding: 22px 18px; }
  .bulk__contact { flex-direction: column; }
  .bulk__contact .btn { width: 100%; }
}

@media (max-width: 560px) {
  .home__inner { padding: 0 16px; }
  .search-form { padding: 5px 5px 5px 16px; }
  .search-form__button span { display: none; }
  .search-form__button { padding: 0 16px; }
  .footer__legal { font-size: .72rem; }
}

/* ------------------------------------------------------- admin back office */
.admin { min-height: 100vh; background: var(--bg); }
.admin__bar { display: flex; align-items: center; gap: 14px; padding: 14px 22px; background: #16233a; color: #fff; }
.admin__brand { font-weight: 700; letter-spacing: .04em; }
.admin__bar-title { color: #9fb3cd; font-size: .85rem; }
.admin__nav { display: flex; align-items: center; gap: 4px; padding: 10px 22px; background: #1f2f49; flex-wrap: wrap; }
.admin__nav-link { color: #c8d6e8; text-decoration: none; padding: 7px 12px; border-radius: 6px; font-size: .86rem; }
.admin__nav-link:hover { background: rgba(255,255,255,.09); color: #fff; }
.admin__nav-link.is-active { background: var(--brand); color: #fff; font-weight: 600; }
.admin__nav-spacer { flex: 1; }
.admin__body { max-width: 1400px; margin: 0 auto; padding: 22px; }
.admin__cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; margin-bottom: 18px; }
.admin__card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; display: flex; flex-direction: column; gap: 4px; }
.admin__card-label { font-size: .76rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.admin__card strong { font-size: 1.5rem; }
.admin__filters { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-bottom: 12px; }
.admin__bulk { display: flex; gap: 10px; align-items: flex-end; flex-wrap: wrap; }
.admin__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.admin__orderhead { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; flex-wrap: wrap; }
.admin__actions { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.admin__num { text-align: right; white-space: nowrap; }
.admin__ptitle { max-width: 460px; }
.admin__pager { display: flex; gap: 6px; flex-wrap: wrap; margin: 10px 0 0; }
.admin__pager .is-active { border-color: var(--brand-dark); background: var(--brand-soft); }
code.sku { background: #f1f5f9; border: 1px solid var(--line); border-radius: 4px; padding: 2px 6px; font-size: .78rem; white-space: nowrap; }
@media print { .admin__bar, .admin__nav, .no-print { display: none !important; } }
