/* Rahvi store theme – colours from the Rahvi brand pack */
:root {
  --plum: #3A1230; --pink: #A3164F; --pink-dark: #86123F; --saffron: #E8902A;
  --ivory: #FAF6F2; --sand: #F4EDE8; --line: #E8DCD6; --muted: #5E4A57; --subtle: #7A6A74;
  --white: #fff; --radius: 6px; --font: 'Jost', 'Helvetica Neue', Arial, sans-serif;
  --wrap: 1200px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--plum); background: var(--ivory); line-height: 1.55; font-size: 16px; }
img { max-width: 100%; display: block; }
a { color: var(--pink); }
a:hover { color: var(--pink-dark); }
h1, h2, h3 { font-weight: 600; line-height: 1.2; margin: 0 0 .5em; }
button { font-family: inherit; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--pink); outline-offset: 2px; }

/* Top bar + header */
.topbar { background: var(--plum); color: #fff; font-size: 13px; text-align: center; padding: 8px 12px; letter-spacing: .02em; }
.header { background: var(--white); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.header__row { display: flex; align-items: center; gap: 24px; height: 68px; }
.header__logo img { height: 36px; width: auto; display: block; }
@media (max-width: 480px) { .header__logo img { height: 30px; } }
.nav { display: flex; gap: 22px; flex: 1; }
.nav a { color: var(--plum); text-decoration: none; font-weight: 500; font-size: 15px; letter-spacing: .03em; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--pink); }
.header__icons { display: flex; gap: 6px; margin-left: auto; }
.icon-btn { position: relative; width: 44px; height: 44px; border: 0; background: none; color: var(--plum); display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; cursor: pointer; text-decoration: none; }
.icon-btn:hover { background: var(--sand); color: var(--plum); }
.cart-count { position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 9px; background: var(--pink); color: #fff; font-size: 11px; font-weight: 600; display: flex; align-items: center; justify-content: center; }
.menu-btn { display: none; }
@media (max-width: 820px) {
  .menu-btn { display: inline-flex; }
  .nav { display: none; position: absolute; top: 68px; left: 0; right: 0; background: #fff; flex-direction: column; gap: 0; border-bottom: 1px solid var(--line); }
  .nav.open { display: flex; }
  .nav a { padding: 14px 20px; border-top: 1px solid var(--sand); }
  .header__row { gap: 8px; }
}

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 26px; border-radius: 4px; border: 1.5px solid transparent; font: 500 15px var(--font); letter-spacing: .06em; text-decoration: none; cursor: pointer; transition: background .2s, color .2s; }
.btn--pink { background: var(--pink); color: #fff; }
.btn--pink:hover { background: var(--pink-dark); color: #fff; }
.btn--plum { background: var(--plum); color: #fff; }
.btn--plum:hover { background: var(--pink); color: #fff; }
.btn--outline { border-color: var(--plum); color: var(--plum); background: transparent; }
.btn--outline:hover { background: var(--plum); color: #fff; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.btn--block { width: 100%; }

/* Hero */
.hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; padding: 56px 20px; }
.eyebrow { color: var(--saffron); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; font-size: 13px; margin: 0 0 12px; }
.hero h1 { font-size: clamp(32px, 5vw, 52px); }
.hero p { color: var(--muted); font-size: 18px; max-width: 520px; }
.hero__buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.hero__art { aspect-ratio: 4/5; border-radius: var(--radius); overflow: hidden; background: linear-gradient(135deg, #F1D6DF 0%, #F4EDE8 55%, #F6E2C8 100%); position: relative; }
.hero__art img { width: 100%; height: 100%; object-fit: cover; }
.hero__pattern { position: absolute; inset: 0; opacity: .35; }
@media (max-width: 820px) { .hero { grid-template-columns: 1fr; padding: 32px 20px; } .hero__art { aspect-ratio: 16/11; } }

/* Sections */
.section { padding: 48px 0; }
.section--band { background: var(--sand); }
.section-title { font-size: clamp(24px, 3vw, 32px); text-align: center; margin-bottom: 28px; }
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 24px; }
.section-head .section-title { margin: 0; text-align: left; }

.cats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.cat { text-decoration: none; color: var(--plum); text-align: center; }
.cat__img { display: block; aspect-ratio: 1; border-radius: 50%; overflow: hidden; margin-bottom: 12px; transition: transform .25s; }
.cat__img img { width: 100%; height: 100%; object-fit: cover; }
.cat:hover .cat__img { transform: scale(1.03); }
.cat__label { font-weight: 500; font-size: 17px; }
@media (max-width: 640px) { .cats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Product grid */
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 980px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } }
.card { background: #fff; border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--plum); display: flex; flex-direction: column; position: relative; }
.card__img { aspect-ratio: 4/5; background: var(--sand); }
.card__img img { width: 100%; height: 100%; object-fit: cover; }
.card__body { padding: 12px 14px 16px; }
.card__name { font-weight: 500; font-size: 15px; margin: 0 0 4px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.price { font-weight: 600; }
.price del { color: var(--subtle); font-weight: 400; margin-left: 6px; font-size: .9em; }
.badge { position: absolute; top: 10px; left: 10px; background: var(--pink); color: #fff; font-size: 12px; font-weight: 600; padding: 3px 9px; border-radius: 4px; }
.badge--muted { background: var(--muted); }
.empty { text-align: center; color: var(--muted); padding: 40px 0; }
.placeholder-img { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: #C9AFBD; }

/* Trust strip */
.trust { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; padding: 40px 20px; }
.trust__item { display: flex; gap: 12px; align-items: flex-start; }
.trust__icon { width: 44px; height: 44px; border-radius: 50%; background: var(--sand); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.trust strong { display: block; font-weight: 600; font-size: 15px; }
.trust small { color: var(--muted); font-size: 13px; }
@media (max-width: 820px) { .trust { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Shop page */
.page-head { padding: 32px 0 8px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 24px; }
.chip { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--plum); text-decoration: none; font-size: 14px; font-weight: 500; min-height: 40px; display: inline-flex; align-items: center; }
.chip[aria-current="page"] { background: var(--plum); border-color: var(--plum); color: #fff; }

/* Product page */
.pdp { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; padding: 32px 20px 48px; }
@media (max-width: 860px) { .pdp { grid-template-columns: 1fr; gap: 20px; padding-top: 16px; } }
.gallery__main { aspect-ratio: 4/5; background: var(--sand); border-radius: var(--radius); overflow: hidden; }
.gallery__main img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; }
.thumb { width: 68px; height: 85px; flex-shrink: 0; border: 2px solid transparent; border-radius: 4px; overflow: hidden; padding: 0; background: var(--sand); cursor: pointer; }
.thumb[aria-pressed="true"] { border-color: var(--pink); }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.pdp h1 { font-size: clamp(26px, 4vw, 36px); }
.pdp .price { font-size: 26px; }
.tax-note { color: var(--muted); font-size: 13px; margin: 2px 0 20px; }
.opt { margin: 18px 0; border: 0; padding: 0; }
.opt legend { font-weight: 600; margin-bottom: 8px; font-size: 14px; letter-spacing: .04em; }
.opt__list { display: flex; flex-wrap: wrap; gap: 8px; }
.size-btn { min-width: 48px; height: 44px; padding: 0 14px; border: 1.5px solid var(--line); background: #fff; border-radius: 4px; font: 500 14px var(--font); color: var(--plum); cursor: pointer; }
.size-btn[aria-pressed="true"] { border-color: var(--plum); background: var(--plum); color: #fff; }
.swatch { width: 44px; height: 44px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1px var(--line); cursor: pointer; }
.swatch[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--plum); }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 4px; background: #fff; }
.qty button { width: 44px; height: 44px; border: 0; background: none; font-size: 20px; color: var(--plum); cursor: pointer; }
.qty span { min-width: 32px; text-align: center; font-weight: 600; }
.buy-row { display: flex; gap: 12px; align-items: center; margin-top: 20px; flex-wrap: wrap; }
.buy-row .btn { flex: 1; min-width: 140px; }
.pdp > * { min-width: 0; }
.trust-inline { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 20px 0; padding: 14px 16px; background: var(--sand); border-radius: var(--radius); font-size: 14px; }
.desc { white-space: pre-line; color: var(--muted); }
.stock-note { color: var(--saffron); font-weight: 600; font-size: 14px; }
.form-msg { color: var(--pink); font-weight: 500; min-height: 1.5em; margin-top: 8px; }

/* Cart */
.cart { display: grid; grid-template-columns: 1fr 360px; gap: 32px; padding: 24px 20px 56px; align-items: start; }
@media (max-width: 860px) { .cart { grid-template-columns: 1fr; } }
.line { display: grid; grid-template-columns: 84px 1fr auto; gap: 14px; background: #fff; padding: 12px; border-radius: var(--radius); margin-bottom: 12px; align-items: center; }
.line__img { width: 84px; height: 105px; border-radius: 4px; overflow: hidden; background: var(--sand); }
.line__img img { width: 100%; height: 100%; object-fit: cover; }
.line__meta { color: var(--muted); font-size: 13px; }
.line__name { font-weight: 500; color: var(--plum); text-decoration: none; }
.link-btn { background: none; border: 0; color: var(--pink); cursor: pointer; padding: 8px 0; font: 500 13px var(--font); text-decoration: underline; min-height: 44px; }
.summary { background: #fff; border-radius: var(--radius); padding: 20px; position: sticky; top: 90px; }
.summary__row { display: flex; justify-content: space-between; padding: 6px 0; }
.summary__total { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 12px; font-weight: 600; font-size: 18px; }
.ship-hint { background: var(--sand); border-radius: 4px; padding: 10px 12px; font-size: 14px; margin: 12px 0; }
.note { font-size: 13px; color: var(--muted); margin-top: 10px; }

/* Footer */
.footer { background: var(--plum); color: #E9DCE4; margin-top: 40px; font-size: 14px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; padding: 44px 20px 28px; }
.footer__brand { font-size: 24px; font-weight: 600; letter-spacing: .2em; color: #fff; margin-bottom: 8px; }
.footer__title { color: #fff; font-weight: 600; margin-bottom: 10px; letter-spacing: .05em; }
.footer a { color: #E9DCE4; text-decoration: none; display: block; padding: 3px 0; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 16px 20px; text-align: center; font-size: 13px; color: #CDB9C6; }
@media (max-width: 820px) { .footer__grid { grid-template-columns: 1fr 1fr; } }

.wa-float { position: fixed; right: 18px; bottom: 18px; width: 56px; height: 56px; border-radius: 50%; background: #1F7A4D; color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 18px rgba(0,0,0,.18); z-index: 30; }
.wa-float:hover { color: #fff; background: #17633E; }

.prose { max-width: 760px; padding: 32px 20px 56px; }
.prose p, .prose li { color: var(--muted); }
.skeleton { background: linear-gradient(90deg, var(--sand), #fff, var(--sand)); background-size: 200% 100%; animation: sk 1.2s infinite; border-radius: var(--radius); }
@keyframes sk { to { background-position: -200% 0; } }
@media (prefers-reduced-motion: reduce) { .skeleton { animation: none; } * { transition: none !important; } }
.cart-count[hidden] { display: none; }
@media (max-width: 560px) { .line { grid-template-columns: 84px 1fr; } .line .qty { grid-column: 2; justify-self: start; } }

/* ---------- Phase 2: checkout, order, invoice ---------- */
.panel { background: #fff; border-radius: var(--radius); padding: 18px 20px; margin-bottom: 14px; }
.panel h2 { font-size: 18px; margin-bottom: 14px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 14px; }
.field { display: flex; flex-direction: column; gap: 4px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 13px; font-weight: 500; color: var(--muted); }
.field input, .field select { height: 48px; padding: 0 14px; border: 1px solid var(--line); border-radius: 4px; font: inherit; color: var(--plum); background: #fff; width: 100%; }
.field input:focus, .field select:focus { border-color: var(--plum); outline: none; box-shadow: 0 0 0 2px rgba(163,22,79,.15); }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }
.gst-box { margin-top: 14px; font-size: 14px; }
.gst-box summary { cursor: pointer; color: var(--pink); min-height: 32px; }
.gst-box .field { margin-top: 10px; }
.mini { display: grid; grid-template-columns: 52px 1fr auto; gap: 10px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--sand); font-size: 14px; }
.mini__img { position: relative; width: 52px; height: 65px; border-radius: 4px; background: var(--sand); }
.mini__img img { width: 100%; height: 100%; object-fit: cover; border-radius: 4px; }
.mini__img b { position: absolute; top: -6px; right: -6px; background: var(--muted); color: #fff; font-size: 11px; min-width: 18px; height: 18px; border-radius: 9px; display: flex; align-items: center; justify-content: center; }
.mini__name small { display: block; color: var(--muted); font-size: 12px; }
.summary .mini:last-of-type { margin-bottom: 8px; }
.demo { background: #FFF6E5; border: 1px dashed var(--saffron); border-radius: var(--radius); padding: 12px 14px; margin-top: 14px; font-size: 14px; color: var(--plum); }
.demo p { margin: 4px 0 10px; color: var(--muted); }
.success { display: flex; gap: 14px; align-items: center; background: #ECF7F0; border-radius: var(--radius); padding: 18px; margin-bottom: 16px; }
.success p { color: var(--muted); }
.order-meta { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.order-meta small { display: block; color: var(--muted); font-size: 12px; }
@media (max-width: 560px) { .order-meta { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Invoice (A4, printable) */
.inv-body { background: #EEE8E4; }
.inv-actions { max-width: 820px; margin: 20px auto 0; padding: 0 16px; display: flex; justify-content: flex-end; }
.invoice { position: relative; max-width: 820px; margin: 14px auto 40px; background: #fff; padding: 36px 40px; color: #222; font-size: 13px; line-height: 1.45; }
.inv-demo { position: absolute; top: 12px; left: 50%; transform: translateX(-50%); background: #FFF6E5; color: var(--warn, #B54708); border: 1px dashed var(--saffron); padding: 3px 12px; font-weight: 600; font-size: 12px; }
.inv-head { display: flex; justify-content: space-between; gap: 24px; border-bottom: 2px solid var(--plum); padding-bottom: 16px; }
.inv-head p { margin: 8px 0 0; }
.inv-title { text-align: right; }
.inv-title h1 { font-size: 22px; letter-spacing: .08em; color: var(--plum); margin: 0; }
.inv-parties { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; padding: 16px 0; }
.inv-parties small, .inv-words small { color: #666; font-weight: 600; letter-spacing: .06em; font-size: 11px; }
.inv-parties p { margin: 4px 0 0; }
.inv-table { width: 100%; border-collapse: collapse; }
.inv-table th { background: var(--sand); color: var(--plum); text-align: left; font-weight: 600; font-size: 12px; padding: 8px 6px; }
.inv-table td { padding: 8px 6px; border-bottom: 1px solid #eee; vertical-align: top; }
.inv-table td:nth-child(n+4), .inv-table th:nth-child(n+4) { text-align: right; }
.inv-table td:nth-child(n+4) { white-space: nowrap; }
.inv-totals { display: flex; justify-content: space-between; gap: 24px; padding-top: 14px; }
.inv-totals table { border-collapse: collapse; min-width: 260px; }
.inv-totals td { padding: 4px 0; }
.inv-totals td:last-child { text-align: right; padding-left: 24px; }
.inv-grand td { border-top: 2px solid var(--plum); font-weight: 700; font-size: 15px; padding-top: 8px; }
.inv-words p { margin: 4px 0 0; font-weight: 500; }
.inv-foot { border-top: 1px solid #eee; margin-top: 28px; padding-top: 10px; color: #666; font-size: 11px; text-align: center; }
.inv-foot p { margin: 2px 0; }
@media (max-width: 640px) { .invoice { padding: 20px 14px; overflow-x: auto; } .inv-head, .inv-totals { flex-direction: column; } .inv-title { text-align: left; } .inv-parties { grid-template-columns: 1fr; } }
@media print {
  @page { size: A4; margin: 12mm; }
  .inv-body { background: #fff; }
  .inv-actions { display: none; }
  .invoice { margin: 0; padding: 0; max-width: none; }
  .inv-table th { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

/* ---------- Phase 3: progress, tracking, exchange ---------- */
.steps { list-style: none; padding: 0; margin: 0 0 14px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: #fff; border-radius: var(--radius); padding: 16px 10px 12px; }
.steps li { position: relative; text-align: center; font-size: 13px; color: var(--subtle); font-weight: 500; }
.steps li span { display: block; width: 14px; height: 14px; border-radius: 50%; background: var(--line); margin: 0 auto 6px; position: relative; z-index: 1; }
.steps li + li::before { content: ''; position: absolute; top: 6px; right: 50%; width: 100%; height: 2px; background: var(--line); }
.steps li.done { color: var(--plum); }
.steps li.done span { background: var(--pink); }
.steps li.done + li.done::before { background: var(--pink); }
.timeline { list-style: none; padding: 0; margin: 12px 0 0; border-left: 2px solid var(--line); }
.timeline li { padding: 0 0 12px 14px; position: relative; font-size: 14px; }
.timeline li::before { content: ''; position: absolute; left: -6px; top: 5px; width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.timeline li:first-child::before { background: var(--pink); }
.timeline small { display: block; color: var(--muted); }
.exch summary { cursor: pointer; list-style: none; }
.exch summary small { color: var(--muted); }
.exch form { margin-top: 12px; }
.ex-select, .ex-item select { height: 44px; padding: 0 10px; border: 1px solid var(--line); border-radius: 4px; font: inherit; background: #fff; color: var(--plum); }
.ex-item { padding: 10px 0; border-bottom: 1px solid var(--sand); }
.ex-item > label { display: flex; gap: 10px; align-items: center; min-height: 32px; }
.ex-item input[type="checkbox"] { width: 20px; height: 20px; accent-color: var(--pink); }
.ex-row { display: flex; gap: 14px; flex-wrap: wrap; margin: 6px 0 0 30px; font-size: 14px; }
.ex-row label { display: flex; align-items: center; gap: 6px; }
.pill-st { font-size: 12px; font-weight: 600; padding: 2px 10px; border-radius: 999px; background: var(--sand); }
.pill-st--approved, .pill-st--completed { background: #E3F4EA; color: #067647; }
.pill-st--rejected { background: #FDE8EF; color: var(--pink-dark); }
.ex-row label[hidden] { display: none; }

.policy-table { border-collapse: collapse; width: 100%; background: #fff; border-radius: var(--radius); margin: 8px 0 16px; font-size: 15px; }
.policy-table th, .policy-table td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--sand); vertical-align: top; }
.policy-table th { color: var(--plum); font-weight: 600; white-space: nowrap; }
.prose h2 { font-size: 20px; margin-top: 28px; }

/* My Orders (orders saved on this device) */
.my-orders { display: flex; flex-direction: column; gap: 10px; margin: 8px 0 6px; }
.my-order { margin: 0; border: 1px solid transparent; display: flex; justify-content: space-between; align-items: center; gap: 12px; text-decoration: none; color: var(--plum); padding: 14px 16px; }
.my-order small { display: block; color: var(--subtle); font-size: 13px; }
.my-order__total { font-weight: 600; white-space: nowrap; }
.my-order:hover { border-color: var(--pink); }

.inv-coupon { margin-top: 8px !important; font-weight: 400 !important; color: #067647; font-size: 12px; }

/* Coupon box (checkout) */
.coupon { display: flex; gap: 8px; margin: 14px 0 4px; }
.coupon input { flex: 1; min-width: 0; height: 44px; padding: 0 12px; border: 1px solid var(--line); border-radius: var(--radius); font: inherit; background: #fff; }
.coupon .btn { min-height: 44px; padding: 0 16px; }
.coupon[hidden] { display: none; }
.coupon-row { color: #067647; }
.coupon-row .link-btn { font-size: 12px; margin-left: 6px; min-height: 0; padding: 0; }
.ok-msg { color: #067647; }

/* Wishlist hearts */
.card-wrap { position: relative; display: flex; flex-direction: column; }
.card-wrap > .card { flex: 1; }
.heart { position: absolute; top: 8px; right: 8px; width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); color: var(--plum); display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 1px 4px rgba(58,18,48,.15); }
.heart[aria-pressed="true"] { color: var(--pink); }
.heart[aria-pressed="true"] svg { fill: var(--pink); }
.heart--big { position: static; width: 52px; height: 52px; border: 1px solid var(--line); box-shadow: none; flex-shrink: 0; }

/* Shop sort bar */
.shop-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 4px 0 16px; color: var(--subtle); font-size: 14px; }
.sort { display: flex; align-items: center; gap: 8px; }
.sort select { height: 40px; padding: 0 10px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; font: inherit; color: var(--plum); }

/* Delivery check */
.pin-check { margin: 18px 0 6px; padding: 14px 16px; background: #fff; border-radius: var(--radius); }
.pin-check label { font-weight: 600; font-size: 14px; display: block; margin-bottom: 8px; }
.pin-row { display: flex; gap: 8px; }
.pin-row input { flex: 1; min-width: 0; height: 44px; padding: 0 12px; border: 1px solid var(--line); border-radius: var(--radius); font: inherit; }
.pin-row .btn { min-height: 44px; }
.pin-msg { font-size: 14px; margin-top: 8px; min-height: 1.2em; }
.pin-msg.ok { color: #067647; }
.pin-msg.bad { color: var(--pink); }
