/* Dealer portal pages (home, catalogue, product, quick order, campaigns, account, support) */

/* ---------------------------------------------------------------- shared bits */
.dp-h2 { font-size: 17px; font-weight: 700; letter-spacing: -0.01em; }
.dp-narrow { max-width: 820px; }
.dp-wrap { white-space: normal !important; }
.dp-hr { margin: 4px 0; }
.dp-mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 13px; }
.dp-clamp-2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-top: 2px; }
.dp-link-alert { text-decoration: none !important; align-items: center; }
.dp-link-alert:hover { filter: brightness(0.98); }
.dp-link-alert > .icon:last-child { margin-left: auto; flex: none; opacity: 0.7; }
.dp-stock { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 650; white-space: nowrap; }
.dp-stock::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; flex: none; }
.dp-stock.tone-success { color: var(--success); }
.dp-stock.tone-warning { color: var(--warning); }
.dp-stock.tone-danger { color: var(--danger); }
.dp-stock.tone-neutral { color: var(--muted); }
.dp-flag { height: 21px; padding: 0 7px; font-size: 11.5px; font-weight: 750; box-shadow: 0 0 0 2px var(--surface); }
.dp-chips { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin-bottom: 14px; padding-bottom: 2px; }
.dp-chips::-webkit-scrollbar { display: none; }
.dp-chip {
  display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; border-radius: 999px; flex: none;
  border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink-2); font-weight: 650; font-size: 13px; text-decoration: none !important;
}
.dp-chip span { color: var(--faint); font-weight: 650; font-variant-numeric: tabular-nums; }
.dp-chip:hover { border-color: var(--faint); color: var(--ink); }
.dp-chip.is-active { background: var(--ink); border-color: var(--ink); color: var(--surface); }
.dp-chip.is-active span { color: color-mix(in srgb, var(--surface) 70%, transparent); }
.dealer .list-item .li-title, .dealer .list-item .li-sub { display: block; }
.dealer .list-item .li-end { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.dealer .list-item .li-end.row-sm { flex-direction: row; align-items: center; }
.list-item .li-end .chip { margin-top: 0; }
.dp-li-chip { display: block; margin-top: 4px; }
.choice.is-disabled { opacity: 0.6; cursor: not-allowed; }
.cart-line.is-busy { opacity: 0.65; transition: opacity 0.15s; }
.cart-line.is-leaving { opacity: 0.3; }
.dp-dropzone-sm { padding: 16px 12px; }
.dp-seg-block { display: flex; flex-wrap: wrap; }
.dp-seg-block label { flex: 1 1 auto; justify-content: center; }
.timeline li.is-rejected .tl-dot { background: var(--danger); border-color: var(--danger); box-shadow: inset 0 0 0 3px var(--surface); }

/* product placeholder */
.dp-ph { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; color: var(--faint); text-align: center; padding: 12px; }
.dp-ph .ph-sku { font-family: var(--font-display); font-weight: 600; font-size: 13px; letter-spacing: 0.02em; color: var(--muted); margin-top: 6px; word-break: break-all; }
.p-media { text-decoration: none !important; }
.p-media .dp-ph { width: 100%; height: 100%; background: linear-gradient(180deg, var(--surface-2), var(--surface-3)); }
.p-thumb { color: var(--faint); text-decoration: none !important; }

/* ---------------------------------------------------------------- product cards */
.bp-grid { display: grid; gap: 14px; }
.bp-grid-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.bp-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 16px; }
.p-card.bp-card {
  position: relative; display: flex; flex-direction: column; gap: 9px; min-width: 0; padding: 12px; overflow: visible;
  background: var(--surface); border: 1px solid var(--line); border-radius: 18px; transition: border-color 0.15s, box-shadow 0.2s;
  container-type: inline-size;
}
.p-card.bp-card:hover { border-color: var(--line-strong); box-shadow: 0 16px 32px -24px rgba(15, 22, 48, 0.45); }
.bp-media { position: relative; }
.bp-img {
  height: 118px; border-radius: 13px; display: grid; place-items: center; overflow: hidden; text-decoration: none !important;
  background-image: radial-gradient(color-mix(in srgb, var(--surface) 75%, transparent) 1.2px, transparent 1.4px); background-size: 14px 14px;
}
.bp-img .icon { width: 46px; height: 46px; stroke-width: 1.5; }
.bp-img.t-tape .icon, .bp-cat.k-tape .ci, .bp-qa .t-tape, .bp-due .ti { color: #b57400; }
.bp-img.has-img { background: var(--surface-2); }
.bp-img img { width: 100%; height: 100%; object-fit: contain; padding: 8px; mix-blend-mode: multiply; }
:root[data-theme="dark"] .bp-img img { mix-blend-mode: normal; }
.bp-rib {
  position: absolute; top: 9px; left: 9px; z-index: 1; display: inline-flex; align-items: center; gap: 4px; height: 24px; padding: 0 8px;
  border-radius: 7px; background: var(--danger); color: #fff; font-size: 12px; font-weight: 800; white-space: nowrap;
  max-width: calc(100% - 58px); overflow: hidden;
}
.bp-rib .icon { width: 13px; height: 13px; }
.bp-rib.is-new { background: var(--violet); }
.bp-fav {
  position: absolute; top: 9px; right: 9px; width: 34px; height: 34px; border-radius: 50%; border: 0; display: grid; place-items: center;
  background: color-mix(in srgb, var(--surface) 92%, transparent); color: var(--faint); cursor: pointer; transition: color 0.15s, transform 0.15s;
}
.bp-fav .icon { width: 17px; height: 17px; }
.bp-fav:hover, .bp-fav.is-on { color: var(--danger); }
.bp-fav.is-on .icon { fill: currentColor; }
.bp-fav:active { transform: scale(0.9); }
.bp-fav:focus-visible, .bp-add:focus-visible { outline: 3px solid color-mix(in srgb, var(--brand) 35%, transparent); outline-offset: 2px; }
.bp-info { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; min-width: 0; }
.bp-code { font-size: 12px; font-weight: 700; color: var(--faint); letter-spacing: 0.02em; overflow-wrap: anywhere; }
.bp-name { margin: 0; font-size: 14.5px; font-weight: 700; line-height: 1.35; }
.bp-name a { color: var(--ink); text-decoration: none !important; }
.bp-name a:hover { color: var(--brand-text); }
.bp-stock { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 650; }
.bp-stock::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; flex: none; }
.s-ok { color: var(--success); }
.s-low { color: var(--warning); }
.s-out { color: var(--danger); }
.bp-variants { font-size: 12px; font-weight: 600; color: var(--muted); }
.bp-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; }
.bp-price strong { font-size: 19px; font-weight: 800; font-stretch: 108%; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
.bp-price s { font-size: 12.5px; font-weight: 600; color: var(--faint); font-variant-numeric: tabular-nums; }
.bp-price small { flex-basis: 100%; font-size: 12px; font-weight: 650; color: var(--muted); }
.bp-vat { font-size: 11px; font-weight: 650; color: var(--faint); }
.bp-from { font-size: 11.5px; font-weight: 650; font-stretch: 100%; color: var(--muted); letter-spacing: 0; }
.bp-buy { display: flex; gap: 8px; margin-top: auto; }
.stepper.bp-qty { height: 40px; flex: none; }
.bp-qty button { width: 32px; }
.bp-qty input { width: 40px; }
.bp-add {
  flex: 1; min-width: 0; height: 40px; padding: 0 10px; border: 0; border-radius: 11px; display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  background: var(--brand); color: var(--brand-ink); font: inherit; font-size: 13.5px; font-weight: 700; white-space: nowrap; cursor: pointer;
  text-decoration: none !important; transition: background 0.15s, color 0.15s;
}
.bp-add:hover { background: var(--brand-strong); color: var(--brand-ink); }
.bp-add .icon { width: 16px; height: 16px; flex: none; }
.bp-add.is-done { background: var(--success-soft); color: var(--success); }
.bp-add:disabled { background: var(--surface-3); color: var(--faint); cursor: not-allowed; }
.bp-add.is-loading { opacity: 0.65; pointer-events: none; }
.bp-add.is-ghost { flex: none; width: 100%; margin-top: auto; background: var(--surface); color: var(--ink); border: 1px solid var(--line); }
.bp-add.is-ghost:hover { border-color: var(--line-strong); background: var(--surface); color: var(--ink); }
.bp-add.is-wait, .bp-add.is-wait:hover { background: var(--tape-soft); color: var(--tape-ink); border-color: transparent; }
.bp-login { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 650; color: var(--brand-text); }
@container (max-width: 205px) {
  .bp-buy { flex-direction: column; }
  .stepper.bp-qty { width: 100%; }
  .bp-qty input { flex: 1; }
  .bp-buy .bp-add { flex: none; }
}
/* horizontal rail of cards (cross-selling strips) */
.dp-rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(200px, calc((100% - 3 * 14px) / 4)); gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; scrollbar-width: thin; }
.dp-rail > * { scroll-snap-align: start; }
@media (max-width: 560px) { .dp-rail { grid-auto-columns: 62%; gap: 10px; } }
.bp-grid.is-list { grid-template-columns: minmax(0, 1fr); gap: 10px; }
.is-list .p-card.bp-card { display: grid; grid-template-columns: 84px minmax(0, 1fr) 170px 250px; align-items: center; gap: 18px; padding: 10px 14px 10px 10px; }
.is-list .bp-img { height: 84px; border-radius: 12px; }
.is-list .bp-img .icon { width: 30px; height: 30px; }
.is-list .bp-rib { top: 5px; left: 5px; height: 20px; max-width: calc(100% - 10px); padding: 0 6px; font-size: 11px; }
.is-list .bp-rib .icon { width: 11px; height: 11px; }
.is-list .bp-fav { display: none; }
.is-list .bp-price { flex-direction: column; align-items: flex-end; gap: 0; text-align: right; }
.is-list .bp-buy, .is-list .bp-add.is-ghost, .is-list .bp-login { margin: 0; }

/* ---------------------------------------------------------------- catalogue */
.bp-shop { display: grid; grid-template-columns: 262px minmax(0, 1fr); gap: 22px; align-items: start; }
.bp-filt { display: grid; gap: 14px; min-width: 0; }
.bp-fbox { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 14px; min-width: 0; }
.bp-fbox h2 { margin: 2px 6px 10px; font-size: 14px; font-weight: 750; }
.bp-fcat {
  display: flex; align-items: center; gap: 10px; height: 42px; padding: 0 8px; border-radius: 11px; color: var(--ink-2);
  font-size: 14px; font-weight: 600; text-decoration: none !important;
}
.bp-fcat:hover { background: var(--bg); color: var(--ink); }
.bp-fcat.is-on { background: var(--brand-soft); color: var(--brand-text); font-weight: 750; }
.bp-fcat small, .bp-ck small, .bp-fsub-item small { margin-left: auto; font-size: 12px; font-weight: 650; color: var(--faint); font-variant-numeric: tabular-nums; }
.bp-fcat.is-on small, .bp-fsub-item.is-on small { color: var(--brand-text); }
.bp-fsub { display: flex; flex-direction: column; margin: 2px 0 6px 21px; padding-left: 10px; border-left: 1px solid var(--line); }
.bp-fsub-item { display: flex; align-items: center; gap: 8px; height: 34px; padding: 0 8px; border-radius: 9px; color: var(--ink-2); font-size: 13.5px; font-weight: 600; text-decoration: none !important; }
.bp-fsub-item:hover { background: var(--bg); color: var(--ink); }
.bp-fsub-item.is-on { background: var(--brand-soft); color: var(--brand-text); font-weight: 750; }
.bp-swr { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 8px; border-radius: 11px; color: var(--ink-2); font-size: 14px; font-weight: 600; text-decoration: none !important; }
.bp-swr:hover { background: var(--bg); color: var(--ink); }
.bp-sw { position: relative; width: 38px; height: 22px; border-radius: 11px; background: var(--line-strong); flex: none; transition: background 0.2s; }
.bp-sw::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(15, 22, 48, 0.25); transition: transform 0.2s; }
.bp-swr[aria-checked="true"] .bp-sw { background: var(--brand); }
.bp-swr[aria-checked="true"] .bp-sw::after { transform: translateX(16px); }
.bp-ck { display: flex; align-items: center; gap: 10px; padding: 7px 8px; border-radius: 10px; color: var(--ink-2); font-size: 14px; font-weight: 600; text-decoration: none !important; }
.bp-ck:hover { background: var(--bg); color: var(--ink); }
.bp-box { width: 18px; height: 18px; border-radius: 5px; border: 1.5px solid var(--line-strong); background: var(--surface); display: grid; place-items: center; flex: none; }
.bp-box .icon { opacity: 0; color: var(--brand-ink); }
.bp-ck[aria-checked="true"] .bp-box { background: var(--brand); border-color: var(--brand); }
.bp-ck[aria-checked="true"] .bp-box .icon { opacity: 1; }
.bp-ck[aria-checked="true"] { color: var(--ink); }
.bp-more summary { padding: 7px 8px; list-style: none; cursor: pointer; font-size: 13px; font-weight: 700; color: var(--brand-text); }
.bp-more summary::-webkit-details-marker { display: none; }
.bp-tags { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 4px 2px; }
.bp-tag { display: inline-flex; align-items: center; gap: 5px; height: 30px; padding: 0 10px; border-radius: 9px; border: 1px solid var(--line); color: var(--ink-2); font-size: 13px; font-weight: 650; text-decoration: none !important; }
.bp-tag small { color: var(--faint); font-weight: 650; }
.bp-tag:hover { border-color: var(--line-strong); color: var(--ink); }
.bp-tag.is-on { background: var(--brand-soft); border-color: transparent; color: var(--brand-text); }
.bp-help { background: var(--brand-soft); border-color: transparent; padding: 16px; }
.bp-help .ti { width: 38px; height: 38px; border-radius: 11px; background: var(--surface); color: var(--brand); }
.bp-help .ti .icon { width: 18px; height: 18px; }
.bp-help b { display: block; margin-top: 10px; font-weight: 750; }
.bp-help p { margin: 4px 0 12px; font-size: 13px; font-weight: 550; color: var(--ink-2); }
.bp-results { min-width: 0; }
.bp-ph { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.bp-ph h1 { font-family: var(--font-display); font-stretch: var(--display-stretch); font-size: 32px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; }
.bp-ph p { margin-top: 6px; color: var(--muted); font-size: 15px; font-weight: 550; }
.bp-ph-r { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.bp-ph-r .segmented a, .bp-ph-r .segmented > .dropdown > button { height: 34px; }
.bp-ph-r .segmented .dropdown { display: inline-flex; }
.bp-ph-r .segmented .menu { min-width: 200px; }
.bp-view a { width: 38px; padding: 0; justify-content: center; }
.bp-note {
  display: flex; align-items: center; gap: 12px; margin-top: 16px; padding: 11px 14px; border-radius: 14px; background: var(--surface);
  border: 1px dashed color-mix(in srgb, var(--brand) 32%, var(--line)); color: var(--ink-2); font-size: 13.5px; font-weight: 600;
}
.bp-note b { color: var(--ink); font-weight: 750; }
.bp-note-acts { display: flex; gap: 8px; flex-wrap: wrap; }
.bp-cbanner {
  display: flex; align-items: center; gap: 14px; margin-top: 12px; padding: 10px 16px 10px 10px; border-radius: 16px; background: var(--surface);
  border: 1px solid var(--line); color: var(--ink); text-decoration: none !important;
}
a.bp-cbanner:hover { border-color: var(--line-strong); color: var(--ink); }
.bp-cbanner img { width: 96px; height: 56px; border-radius: 10px; object-fit: cover; flex: none; }
.bp-cbanner .ti { width: 40px; height: 40px; border-radius: 12px; }
.bp-cbanner b { display: block; font-weight: 750; }
.bp-cbanner small { display: block; font-size: 13px; font-weight: 550; color: var(--muted); }
.bp-cbanner > .icon { color: var(--faint); flex: none; }
.bp-fchips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 14px; }
.bp-fchip { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 8px 0 12px; border-radius: 10px; background: var(--ink); color: var(--surface); font-size: 13px; font-weight: 650; text-decoration: none !important; }
.bp-fchip .icon { width: 14px; height: 14px; opacity: 0.75; }
.bp-fchip:hover { color: var(--surface); }
.bp-fchip:hover .icon { opacity: 1; }
.bp-clear { padding: 0 4px; color: var(--brand-text); font-size: 13px; font-weight: 700; text-decoration: underline !important; text-underline-offset: 3px; }
.bp-empty {
  margin-top: 16px; padding: 48px 24px; border-radius: 20px; background: var(--surface); border: 1px dashed var(--line-strong);
  display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center;
}
.bp-empty .ti { width: 52px; height: 52px; border-radius: 16px; }
.bp-empty .ti .icon { width: 24px; height: 24px; }
.bp-empty b { margin-top: 6px; font-size: 16px; font-weight: 750; }
.bp-empty p { margin: 0 0 8px; color: var(--muted); font-weight: 550; max-width: 460px; }
.bp-pager { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 6px; margin-top: 26px; }
.bp-pager a, .bp-pager span {
  min-width: 40px; height: 40px; padding: 0 8px; border-radius: 11px; display: grid; place-items: center; background: var(--surface);
  border: 1px solid var(--line); color: var(--ink-2); font-weight: 700; font-variant-numeric: tabular-nums; text-decoration: none !important;
}
.bp-pager a:hover { border-color: var(--line-strong); color: var(--ink); }
.bp-pager .on { background: var(--ink); border-color: var(--ink); color: var(--surface); }
.bp-pager .gap { min-width: 20px; padding: 0; border: 0; background: none; }
.bp-pager .is-off { color: var(--faint); }
.bp-pager .icon { width: 16px; height: 16px; }

/* ---------------------------------------------------------------- home */
.bp-hello { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.bp-hello-main { min-width: 0; }
.bp-hello h1 { font-family: var(--font-display); font-stretch: var(--display-stretch); font-size: 30px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; }
.bp-hello p { margin-top: 6px; color: var(--muted); font-size: 15px; font-weight: 550; }
.bp-hello p a { color: var(--brand-text); font-weight: 700; text-decoration: underline !important; text-underline-offset: 2px; }
.bp-hello p a:hover { color: var(--ink); }
.bp-hello .bp-welcome { max-width: 720px; margin-top: 10px; padding: 10px 14px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); color: var(--ink-2); font-size: 13.5px; }
.bp-cutoff { display: flex; align-items: center; gap: 12px; padding: 9px 16px 9px 9px; border-radius: 15px; background: var(--surface); border: 1px solid var(--line); }
.bp-cutoff .ti { width: 40px; height: 40px; border-radius: 12px; }
.bp-cutoff .ti .icon { width: 20px; height: 20px; }
.bp-cutoff b { display: block; font-size: 14px; font-weight: 750; line-height: 1.3; }
.bp-cutoff small { font-size: 12.5px; font-weight: 600; color: var(--muted); }
.bp-cutoff em { font-style: normal; font-weight: 800; color: var(--brand-text); font-variant-numeric: tabular-nums; }
.bp-install { display: flex; align-items: center; gap: 12px; margin-top: 18px; padding: 12px 12px 12px 14px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.bp-steps-list { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.bp-steps-list li { display: flex; align-items: center; gap: 12px; font-weight: 600; }
.bp-top { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 18px; margin-top: 22px; }
.bp-top.no-hero, .bp-top.no-acc { grid-template-columns: minmax(0, 1fr); }
.bp-hero { position: relative; min-height: 350px; border-radius: 24px; overflow: hidden; background: color-mix(in srgb, var(--sky-soft) 96%, var(--sky)); transition: background-color 0.35s; }
.bp-hero.h-sky { background-color: color-mix(in srgb, var(--sky-soft) 96%, var(--sky)); }
.bp-hero.h-tape { background-color: color-mix(in srgb, var(--tape-soft) 92%, var(--tape)); }
.bp-hero.h-violet { background-color: color-mix(in srgb, var(--violet-soft) 96%, var(--violet)); }
.bp-hero.h-blue { background-color: color-mix(in srgb, var(--blue-soft) 96%, var(--blue)); }
.bp-hero.h-mint { background-color: color-mix(in srgb, var(--success-soft) 95%, var(--success)); }
.bp-hero.h-coral { background-color: color-mix(in srgb, var(--danger-soft) 96%, var(--danger)); }
.bp-hero.h-brand { background-color: color-mix(in srgb, var(--brand-soft) 96%, var(--brand)); }
.bp-slide { position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 20px; min-height: 350px; padding: 34px 36px 30px; }
.bp-slide[hidden] { display: none; }
.bp-hero-ic { position: absolute; right: -46px; bottom: -60px; color: color-mix(in srgb, var(--surface) 75%, transparent); pointer-events: none; }
.bp-hero-ic .icon { width: 300px; height: 300px; stroke-width: 0.9; }
.bp-hero-tx { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; animation: bp-rise 0.45s var(--ease); }
.bp-hero .chip { background: color-mix(in srgb, var(--surface) 80%, transparent); color: var(--ink); }
.bp-hero h2 { max-width: 12ch; font-family: var(--font-display); font-stretch: 118%; font-size: 40px; font-weight: 800; letter-spacing: -0.025em; line-height: 1.04; overflow-wrap: anywhere; }
.bp-hero p { max-width: 42ch; color: var(--ink-2); font-size: 15px; font-weight: 550; }
.bp-hero .btn { margin-top: auto; }
.bp-hero-img { position: relative; align-self: stretch; max-height: 260px; margin-bottom: 42px; border-radius: 18px; overflow: hidden; animation: bp-rise 0.5s var(--ease); }
.bp-hero-img img { width: 100%; height: 100%; object-fit: cover; }
.bp-dots { position: absolute; right: 22px; bottom: 20px; z-index: 2; display: flex; align-items: center; gap: 8px; }
.bp-dot { width: 10px; height: 10px; padding: 0; border: 0; border-radius: 5px; background: color-mix(in srgb, var(--ink) 20%, transparent); cursor: pointer; transition: width 0.25s, background 0.25s; }
.bp-dot.is-on { width: 30px; background: var(--ink); }
.bp-arr { width: 36px; height: 36px; border: 0; border-radius: 50%; display: grid; place-items: center; background: color-mix(in srgb, var(--surface) 88%, transparent); color: var(--ink); cursor: pointer; }
.bp-arr:hover { background: var(--surface); }
.bp-dot:focus-visible, .bp-arr:focus-visible { outline: 3px solid color-mix(in srgb, var(--ink) 30%, transparent); outline-offset: 2px; }
@keyframes bp-rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.bp-acc { display: flex; flex-direction: column; gap: 16px; padding: 22px; }
.bp-acc-h { display: flex; align-items: center; gap: 12px; }
.bp-acc-h .ti { width: 40px; height: 40px; border-radius: 12px; }
.bp-acc-h .ti .icon { width: 20px; height: 20px; }
.bp-acc-h h2 { font-size: 16.5px; font-weight: 750; }
.bp-acc-h p { font-size: 12.5px; font-weight: 600; color: var(--muted); }
.bp-acc-h .lnk { margin-left: auto; }
.bp-acc-bal small { display: block; font-size: 13px; font-weight: 650; color: var(--muted); }
.bp-acc-bal strong { display: block; font-family: var(--font-display); font-stretch: var(--display-stretch); font-size: 34px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; font-variant-numeric: tabular-nums; }
.bp-meter { background: var(--line-2); }
.bp-acc-row { display: flex; justify-content: space-between; gap: 8px; margin-top: 8px; font-size: 13px; font-weight: 600; color: var(--muted); }
.bp-acc-row b { color: var(--ink); font-variant-numeric: tabular-nums; }
.bp-due { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 14px; background: var(--tape-soft); }
.bp-due .ti { width: 38px; height: 38px; border-radius: 11px; background: var(--surface); }
.bp-due b { display: block; font-size: 14px; font-weight: 750; line-height: 1.3; }
.bp-due small { font-size: 12.5px; font-weight: 650; color: var(--tape-ink); }
.bp-due.is-late { background: var(--danger-soft); }
.bp-due.is-late .ti, .bp-due.is-late small { color: var(--danger); }
.bp-acc-acts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: auto; }
.bp-acc-acts > :only-child { grid-column: 1 / -1; }
.bp-acc-acts .btn { width: 100%; }
.bp-qa { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 18px; }
.bp-qa > a, .bp-qa > button {
  display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line);
  color: var(--ink); font: inherit; text-align: left; text-decoration: none !important; cursor: pointer; transition: border-color 0.15s, transform 0.15s;
}
.bp-qa > a:hover, .bp-qa > button:hover { border-color: color-mix(in srgb, var(--brand) 30%, var(--line)); color: var(--ink); transform: translateY(-2px); }
.bp-qa > .is-busy { opacity: 0.6; pointer-events: none; }
.bp-qa .ti { width: 46px; height: 46px; border-radius: 14px; }
.bp-qa .ti .icon { width: 22px; height: 22px; }
.bp-qa b { display: block; font-size: 15px; font-weight: 750; line-height: 1.3; }
.bp-qa small { display: block; font-size: 12.5px; font-weight: 600; line-height: 1.35; color: var(--muted); }
.bp-go { margin-left: auto; color: var(--faint); flex: none; }
.bp-go .icon { width: 18px; height: 18px; }
.bp-sec-h { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin: 34px 0 14px; flex-wrap: wrap; }
.bp-sec-h h2 { font-family: var(--font-display); font-stretch: 112%; font-size: 21px; font-weight: 800; letter-spacing: -0.01em; }
.bp-sec-h p { margin-top: 3px; font-size: 13.5px; font-weight: 550; color: var(--muted); }
.bp-cats { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.bp-cat { position: relative; display: flex; flex-direction: column; gap: 4px; min-height: 136px; padding: 16px; border-radius: 18px; color: var(--ink); text-decoration: none !important; transition: transform 0.15s; }
.bp-cat:hover { color: var(--ink); transform: translateY(-2px); }
.bp-cat .ci { width: 46px; height: 46px; margin-bottom: auto; border-radius: 14px; background: var(--surface); display: grid; place-items: center; }
.bp-cat .ci .icon { width: 22px; height: 22px; }
.bp-cat b { margin-top: 14px; font-size: 15px; font-weight: 750; line-height: 1.3; }
.bp-cat small { font-size: 12.5px; font-weight: 650; color: var(--ink-2); }
.bp-cat .bp-rib { top: 12px; right: 12px; left: auto; max-width: calc(100% - 80px); }
.bp-pd-flags .bp-rib, .bp-camp-top .bp-rib { max-width: none; }
.k-blue { background: var(--blue-soft); } .k-blue .ci { color: var(--blue); }
.k-violet { background: var(--violet-soft); } .k-violet .ci { color: var(--violet); }
.k-coral { background: var(--danger-soft); } .k-coral .ci { color: var(--danger); }
.k-sky { background: var(--sky-soft); } .k-sky .ci { color: var(--sky); }
.k-tape { background: var(--tape-soft); }
.k-mint { background: var(--success-soft); } .k-mint .ci { color: var(--success); }
.bp-row2 { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 18px; margin-top: 34px; align-items: start; }
.bp-row2.is-single { grid-template-columns: minmax(0, 1fr); }
.bp-col, .bp-side { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.bp-ords { list-style: none; margin: 0; padding: 0 20px 6px; }
.bp-ord { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto auto 172px; align-items: center; gap: 6px 14px; padding: 14px 0; border-top: 1px solid var(--line-2); }
.bp-ord > .ti { width: 40px; height: 40px; border-radius: 12px; }
.bp-ord > .ti .icon { width: 19px; height: 19px; }
.bp-ord-m { min-width: 0; }
.bp-ord-m b { display: block; font-weight: 750; }
.bp-ord-m a { color: var(--ink); text-decoration: none !important; }
.bp-ord-m a:hover { color: var(--brand-text); text-decoration: underline !important; }
.bp-ord-m small { font-size: 12.5px; font-weight: 600; color: var(--muted); }
.bp-ord-amt { text-align: right; font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; }
.bp-ord-amt small { display: block; font-size: 11.5px; font-weight: 650; color: var(--faint); }
.bp-ord-act { display: flex; justify-content: flex-end; }
.bp-track { grid-column: 2 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 12.5px; font-weight: 650; color: var(--muted); }
.bp-track a { color: var(--muted); text-decoration: underline !important; text-underline-offset: 2px; }
.bp-track a:hover { color: var(--ink); }
.bp-steps { display: flex; gap: 4px; flex: none; }
.bp-steps i { width: 30px; height: 6px; border-radius: 3px; background: var(--line); }
.bp-steps i.on { background: var(--sky-bright); }
.bp-steps.is-wait i.on { background: var(--tape); }
.bp-sent { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; border-radius: 10px; background: var(--success-soft); color: var(--success); font-size: 13px; font-weight: 700; text-decoration: none !important; }
.bp-sent:hover { color: var(--success); background: color-mix(in srgb, var(--success-soft) 80%, var(--success)); }
.bp-sent .icon { width: 15px; height: 15px; }
.bp-onboard { list-style: none; margin: 0; padding: 0 20px 8px; }
.bp-onboard li { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 14px 0; border-top: 1px solid var(--line-2); }
.bp-onboard b { display: block; font-weight: 750; }
.bp-onboard small { font-size: 12.5px; font-weight: 600; color: var(--muted); }
.bp-mq-form { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 10px; }
.bp-mq-code { flex: 1 1 240px; min-width: 0; }
.bp-mq-form .hint { flex-basis: 100%; margin: 0; }
.bp-news { list-style: none; margin: 0; padding: 0 20px 14px; }
.bp-news li { display: flex; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line-2); }
.bp-news .ti { width: 36px; height: 36px; border-radius: 11px; }
.bp-news li > span:last-child { min-width: 0; }
.bp-news b { display: block; font-weight: 700; line-height: 1.35; }
.bp-news p { margin-top: 2px; font-size: 13px; font-weight: 550; line-height: 1.45; color: var(--muted); }
.bp-news time { display: block; margin-top: 4px; font-size: 12px; font-weight: 650; color: var(--faint); }
.bp-unread { display: inline-block; width: 7px; height: 7px; margin-left: 7px; border-radius: 50%; background: var(--tape); vertical-align: 2px; }
.bp-rep { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; padding: 18px 20px; }
.bp-rep-av { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; flex: none; background: var(--sky-soft); color: var(--sky); font-weight: 800; }
.bp-rep-tx { min-width: 0; }
.bp-rep b { display: block; font-size: 15px; font-weight: 750; line-height: 1.3; }
.bp-rep small { font-size: 12.5px; font-weight: 600; color: var(--muted); }
.bp-rep-acts { display: flex; gap: 8px; margin-left: auto; }
.bp-rep-acts:empty { display: none; }

@media (max-width: 1180px) {
  .bp-top, .bp-row2 { grid-template-columns: minmax(0, 1fr); }
  .bp-qa { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bp-cats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .bp-grid-5, .bp-grid-4 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .bp-shop { grid-template-columns: minmax(0, 1fr); }
  .bp-filt { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
  .is-list .p-card.bp-card { grid-template-columns: 72px minmax(0, 1fr) auto; gap: 12px; }
  .is-list .bp-buy, .is-list .bp-add.is-ghost, .is-list .bp-login { grid-column: 2 / -1; }
}
@media (max-width: 760px) {
  .bp-filt { grid-template-columns: minmax(0, 1fr); }
  .bp-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .is-list .p-card.bp-card { grid-template-columns: 64px minmax(0, 1fr); }
  .is-list .bp-img { height: 64px; }
  .is-list .bp-price { grid-column: 2; align-items: flex-start; text-align: left; }
}
@media (max-width: 720px) {
  .bp-slide { grid-template-columns: minmax(0, 1fr); padding: 26px 22px 70px; }
  .bp-slide.has-img { grid-template-rows: auto auto; }
  .bp-hero-img { order: -1; height: 150px; margin-bottom: 0; }
  .bp-hero h2 { font-size: 32px; }
  .bp-hero-ic { right: -30px; bottom: -40px; }
  .bp-hero-ic .icon { width: 220px; height: 220px; }
  .bp-qa { grid-template-columns: minmax(0, 1fr); }
  .bp-cats, .bp-grid-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bp-ord { grid-template-columns: 40px minmax(0, 1fr) auto; }
  .bp-ord > .chip { grid-column: 2; justify-self: start; }
  .bp-ord-amt { grid-column: 3; grid-row: 1; }
  .bp-ord-act { grid-column: 2 / -1; justify-content: flex-start; }
  .bp-ord-act:empty { display: none; }
  .bp-onboard li { grid-template-columns: 36px minmax(0, 1fr); }
  .bp-onboard li .btn { grid-column: 2; justify-self: start; }
  .bp-rep-acts { margin-left: 62px; }
}
@media (max-width: 640px) {
  .bp-hello h1, .bp-ph h1 { font-size: 26px; }
  .bp-cutoff { width: 100%; }
  .bp-grid { gap: 10px; }
  .p-card.bp-card { padding: 10px; }
  .bp-ph-r { width: 100%; }
}

/* ---------------------------------------------------------------- product detail */
.bp-pd { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.bp-pd-gallery { position: sticky; top: 128px; min-width: 0; }
.dp-gallery-main {
  position: relative; display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; aspect-ratio: 4 / 3;
  border-radius: var(--r-xl); background: var(--surface); border: 1px solid var(--line); outline: none;
}
.dp-gallery-main::-webkit-scrollbar { display: none; }
.dp-gallery-main:focus-visible { box-shadow: var(--ring); }
.dp-gallery-main.is-empty { border-color: transparent; }
.dp-slide { flex: 0 0 100%; margin: 0; scroll-snap-align: center; display: grid; place-items: center; padding: 28px; }
.dp-slide img { max-width: 100%; max-height: 100%; object-fit: contain; mix-blend-mode: multiply; }
:root[data-theme="dark"] .dp-slide img { mix-blend-mode: normal; }
.bp-pd-ph { background-image: radial-gradient(color-mix(in srgb, var(--surface) 75%, transparent) 1.4px, transparent 1.6px); background-size: 18px 18px; }
.bp-pd-ph .icon { width: 96px; height: 96px; stroke-width: 1.3; }
.bp-pd-ph.t-tape { color: #b57400; }
.bp-pd-flags { position: absolute; top: 14px; left: 14px; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; pointer-events: none; }
.bp-pd-flags .bp-rib { position: static; }
.bp-rib.is-best { background: var(--ink); color: var(--surface); }
.dp-dots { display: none; justify-content: center; gap: 6px; margin-top: 10px; }
.dp-dots span { width: 6px; height: 6px; border-radius: 999px; background: var(--line-strong); transition: width 0.2s var(--ease), background 0.2s; cursor: pointer; }
.dp-dots span.is-active { width: 18px; background: var(--ink); }
.dp-thumbs { display: flex; gap: 8px; margin-top: 12px; overflow-x: auto; scrollbar-width: none; }
.dp-thumb { width: 68px; height: 68px; flex: none; padding: 4px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); cursor: pointer; overflow: hidden; }
.dp-thumb img { width: 100%; height: 100%; object-fit: contain; }
.dp-thumb.is-active { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.bp-pd-buy { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.bp-pd-title { font-family: var(--font-display); font-stretch: var(--display-stretch); font-size: 30px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.12; overflow-wrap: anywhere; }
.bp-pd-codes { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; color: var(--muted); font-size: 13px; font-weight: 600; }
.bp-pd-codes b { color: var(--ink-2); font-weight: 750; font-variant-numeric: tabular-nums; }
.bp-pd-lead { color: var(--ink-2); font-size: 15px; font-weight: 550; }
.dp-variants { min-width: 0; margin: 0; padding: 0; border: 0; }
.dp-variants legend { margin-bottom: 8px; padding: 0; }
.dp-pills-choice { display: flex; flex-wrap: wrap; gap: 8px; }
.dp-pill-choice { position: relative; cursor: pointer; }
.dp-pill-choice input { position: absolute; opacity: 0; pointer-events: none; }
.dp-pill-choice > span { display: flex; flex-direction: column; gap: 1px; min-width: 96px; padding: 8px 14px; border-radius: 12px; border: 1px solid var(--line-strong); background: var(--surface); transition: border-color 0.15s, box-shadow 0.15s; }
.dp-pill-name { font-size: 13.5px; font-weight: 650; }
.dp-pill-price { font-size: 12.5px; color: var(--muted); font-variant-numeric: tabular-nums; }
.dp-pill-choice:hover > span { border-color: var(--faint); }
.dp-pill-choice input:checked + span { border-color: var(--brand); box-shadow: var(--ring); background: var(--brand-soft); }
.dp-pill-choice input:focus-visible + span { outline: 2px solid var(--brand); outline-offset: 2px; }
.dp-pill-choice.is-out > span { opacity: 0.55; }
.dp-pill-choice.is-out .dp-pill-name { text-decoration: line-through; }
.bp-pd-price { display: flex; flex-direction: column; gap: 14px; padding: 20px; }
.bp-pd-price-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.bp-pd-label, .bp-pd-sub { font-size: 13px; font-weight: 650; color: var(--muted); }
.bp-pd-sub { margin-bottom: 6px; color: var(--ink); font-weight: 750; }
.bp-pd-amount { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin-top: 2px; }
.bp-pd-amount strong { font-family: var(--font-display); font-stretch: var(--display-stretch); font-size: 34px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; font-variant-numeric: tabular-nums; }
.bp-pd-amount s { color: var(--faint); font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; }
.bp-pd-amount .bp-vat { font-size: 12.5px; }
.bp-pd-basket { margin-top: 2px; color: var(--success); font-size: 13.5px; font-weight: 700; }
.bp-pd-camp { display: flex; align-items: flex-start; gap: 12px; padding: 12px; border-radius: 14px; background: var(--tape-soft); color: var(--ink-2); font-size: 13px; font-weight: 600; line-height: 1.45; }
.bp-pd-camp .ti { width: 32px; height: 32px; border-radius: 10px; background: var(--surface); }
.bp-pd-camp b { color: var(--ink); font-weight: 750; }
.dp-break-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.dp-break-table th { padding: 4px 0; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 12px; font-weight: 650; text-align: left; }
.dp-break-table td { padding: 7px 0; border-bottom: 1px dashed var(--line); font-variant-numeric: tabular-nums; }
.dp-break-table tr:last-child td { border-bottom: 0; }
.dp-break-table .num { text-align: right; }
.bp-pd-pack { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 13px; font-weight: 600; }
.bp-pd-form { display: flex; gap: 10px; }
.dp-stepper-lg { height: 52px; border-radius: 14px; }
.dp-stepper-lg button { width: 46px; }
.dp-stepper-lg input { width: 72px; font-size: 16px; }
.bp-pd-alert { height: 52px; border-radius: 14px; font-size: 15px; }
.bp-pd-links { display: flex; justify-content: space-between; gap: 8px; margin: -4px -8px 0; }
.dp-receipt { padding-top: 10px; border-top: 1px dashed var(--line); }
.dp-receipt summary { display: inline-flex; align-items: center; gap: 6px; color: var(--brand-text); font-size: 13px; font-weight: 700; list-style: none; cursor: pointer; }
.dp-receipt summary::-webkit-details-marker { display: none; }
.dp-receipt summary::after { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform 0.15s; }
.dp-receipt[open] summary::after { transform: rotate(-135deg) translateY(-1px); }
.dp-receipt-body { margin-top: 8px; padding: 4px 12px; border-radius: 12px; background: var(--surface-2); }
.dp-receipt-body .kv-row { padding: 7px 0; font-size: 13px; }
.dp-receipt-body .kv-row.total { font-size: 14px; }
.bp-pd-details { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 18px; align-items: start; margin-top: 34px; }
.bp-pd-details.is-single { grid-template-columns: minmax(0, 1fr); }
.dp-attrs { grid-template-columns: minmax(120px, max-content) minmax(0, 1fr); }
.p-fav-inline.is-on, .p-fav-inline.is-on .icon { color: var(--danger); }
.p-fav-inline.is-on .icon { fill: var(--danger); }
.dp-buybar { display: none; }
@media (max-width: 1024px) {
  .bp-pd { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .bp-pd-gallery { position: relative; top: auto; }
  .dp-thumbs { display: none; }
  .dp-dots { display: flex; }
  .bp-pd-title { font-size: 24px; }
  .bp-pd-details { grid-template-columns: minmax(0, 1fr); margin-top: 20px; }
  .dp-buybar {
    position: fixed; left: 0; right: 0; bottom: calc(var(--tabbar-h) + var(--safe-b)); z-index: 44; display: flex; align-items: center; gap: 12px; padding: 10px 16px;
    background: var(--surface); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px -12px rgba(16, 24, 40, 0.18); transition: transform 0.2s var(--ease), opacity 0.2s;
  }
  .dp-buybar.is-hidden { transform: translateY(110%); opacity: 0; pointer-events: none; }
  .dp-buybar-price { font-family: var(--font-display); font-stretch: var(--display-stretch); font-size: 18px; font-weight: 800; font-variant-numeric: tabular-nums; }
  body:has(.dp-buybar) .page { padding-bottom: calc(var(--tabbar-h) + 100px + var(--safe-b)); }
}
@media (max-width: 420px) {
  .bp-pd-form { gap: 8px; }
  .dp-stepper-lg input { width: 54px; }
}

/* ---------------------------------------------------------------- favourites, campaigns, announcements, notifications */
.bp-grid-top { margin-top: 22px; }
.bp-narrow { max-width: 860px; }
.bp-ph + .bp-empty, .bp-ph + .bp-feed, .bp-ph + .bp-notes, .bp-ph + .bp-camps { margin-top: 22px; }
.bp-camps { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 16px; }
.bp-camp { display: flex; flex-direction: column; overflow: hidden; }
.bp-camp-top { position: relative; display: flex; align-items: center; gap: 14px; padding: 18px 20px; }
.bp-camp-top .ci { width: 46px; height: 46px; border-radius: 14px; background: var(--surface); display: grid; place-items: center; flex: none; }
.bp-camp-top .ci .icon { width: 22px; height: 22px; }
.bp-camp-top .chip { margin-left: auto; background: color-mix(in srgb, var(--surface) 80%, transparent); color: var(--ink); }
.bp-camp-top .chip::before { display: none; }
.bp-camp-badge { font-family: var(--font-display); font-stretch: var(--display-stretch); font-size: 24px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; }
.bp-camp-body { display: flex; flex-direction: column; gap: 8px; padding: 18px 20px 4px; }
.bp-camp-body h2 { font-size: 16.5px; font-weight: 750; }
.bp-camp-desc { color: var(--ink-2); font-weight: 550; }
.bp-camp-rule { color: var(--muted); font-size: 13px; font-weight: 550; }
.bp-camp-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 2px; color: var(--muted); font-size: 12.5px; font-weight: 650; }
.bp-camp-meta span { display: inline-flex; align-items: center; gap: 5px; }
.bp-camp-meta .icon { width: 14px; height: 14px; }
.bp-camp-foot { margin-top: auto; padding: 16px 20px 20px; }
.bp-camp-foot .btn { width: 100%; }
.bp-feed { display: flex; flex-direction: column; gap: 14px; }
.bp-feed-item { display: flex; gap: 14px; padding: 20px; }
.bp-feed-main { min-width: 0; flex: 1; }
.bp-feed-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.bp-feed-head h2 { margin-right: 4px; font-size: 16.5px; font-weight: 750; }
.bp-feed-main time { display: block; margin-top: 2px; color: var(--faint); font-size: 12.5px; font-weight: 650; }
.bp-feed-main .prose { margin-top: 10px; }
.bp-notes ul { list-style: none; margin: 0; padding: 6px 0; }
.bp-notes li + li { border-top: 1px solid var(--line-2); }
.bp-note-row { display: flex; align-items: center; gap: 14px; padding: 14px 20px; color: var(--ink); text-decoration: none !important; }
a.bp-note-row:hover { background: var(--surface-2); color: var(--ink); }
.bp-note-tx { flex: 1; min-width: 0; }
.bp-note-tx b { display: block; font-weight: 650; line-height: 1.35; }
.bp-note-tx small { display: block; margin-top: 2px; color: var(--muted); font-size: 13px; font-weight: 550; }
.bp-note-row time { flex: none; color: var(--faint); font-size: 12.5px; font-weight: 650; white-space: nowrap; }
.bp-notes li.is-unread b { font-weight: 800; }
.bp-notes li.is-unread time { color: var(--brand-text); }
.bp-notes li.is-unread .bp-note-row { position: relative; }
.bp-notes li.is-unread .bp-note-row::before { content: ""; position: absolute; left: 8px; top: 50%; width: 6px; height: 6px; margin-top: -3px; border-radius: 50%; background: var(--brand); }

/* legal */
.bp-legal { max-width: 860px; margin: 0 auto; }
.bp-legal .segmented { flex-wrap: wrap; }
.bp-legal-body { margin-top: 22px; }
.bp-legal-body .prose { white-space: normal; }
.bp-legal-back { margin-top: 16px; }
@media (max-width: 640px) {
  .bp-camps { grid-template-columns: minmax(0, 1fr); }
  .bp-feed-item { padding: 16px; }
  .bp-note-row { padding: 12px 16px; align-items: flex-start; }
}

/* ---------------------------------------------------------------- quick order */
.bp-qo-tabs button { height: 38px; padding: 0 14px; gap: 7px; font-size: 14px; }
.bp-qo-alert { margin-top: 16px; }
.bp-qo { display: grid; grid-template-columns: minmax(0, 1fr) 370px; gap: 18px; align-items: start; margin-top: 22px; }
.bp-qo-main, .bp-qo-side { display: grid; gap: 18px; min-width: 0; }
.bp-qo-entry { display: flex; gap: 10px; padding: 0 20px 8px; }
.bp-qo-ein { position: relative; flex: 1 1 320px; min-width: 0; }
.bp-cin {
  display: flex; align-items: center; gap: 10px; height: 50px; padding: 0 58px 0 14px; border-radius: 14px; border: 1.5px solid var(--line);
  background: var(--surface); color: var(--faint); transition: border-color 0.15s, box-shadow 0.15s;
}
.bp-cin:focus-within { border-color: var(--brand); box-shadow: var(--ring); color: var(--brand); }
.bp-cin input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; color: var(--ink); font: inherit; font-size: 15px; }
.bp-cin input::placeholder { color: var(--faint); }
.bp-cin-scan {
  position: absolute; top: 6px; right: 6px; width: 38px; height: 38px; border-radius: 11px; border: 1px solid var(--line);
  background: var(--surface); color: var(--ink-2); display: grid; place-items: center; cursor: pointer;
}
.bp-cin-scan:hover { border-color: color-mix(in srgb, var(--brand) 35%, var(--line)); color: var(--brand-text); }
.bp-qo-ein .ac-list { top: 56px; padding: 6px; border-radius: 16px; max-height: 420px; }
.bp-qo-ein .ac-item { gap: 12px; padding: 8px 10px; border-radius: 11px; }
.bp-qo-ein .ac-item.is-active, .bp-qo-ein .ac-item:hover { background: var(--brand-soft); }
.bp-qo-ein .ac-item .ti { width: 36px; height: 36px; border-radius: 10px; }
.bp-qo-ein .ac-item .ac-title { font-size: 14px; font-weight: 700; }
.bp-qo-ein .ac-item .ac-sub { font-size: 12.5px; font-weight: 600; }
.bp-qo-ein .ac-item .ac-end { font-size: 14px; font-weight: 800; }
.bp-ac-plus { color: var(--brand); display: grid; place-items: center; flex: none; }
.bp-qo-hint { display: flex; align-items: center; gap: 8px; padding: 6px 20px 16px; color: var(--muted); font-size: 12.5px; font-weight: 600; }
.bp-qo-hint .icon { width: 15px; height: 15px; color: var(--brand); flex: none; }
.bp-qo-tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.bp-qo-tbl th { padding: 10px 14px; background: var(--surface-2); border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); color: var(--muted); font-size: 12.5px; font-weight: 700; text-align: left; white-space: nowrap; }
.bp-qo-tbl td { padding: 12px 14px; border-bottom: 1px solid var(--line-2); vertical-align: middle; }
.bp-qo-tbl tr:last-child td { border-bottom: 0; }
.bp-qo-tbl .num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.bp-qo-tbl th:first-child, .bp-qo-tbl td:first-child { padding-left: 14px; }
.bp-qo-tbl td.bp-qo-total b { font-weight: 800; }
.bp-prod { display: flex; align-items: center; gap: 12px; min-width: 0; }
.bp-prod .ti { width: 38px; height: 38px; border-radius: 11px; overflow: hidden; }
.bp-prod .ti .icon { width: 18px; height: 18px; }
.bp-prod .ti img { width: 100%; height: 100%; object-fit: contain; background: var(--surface); }
.bp-prod-tx { min-width: 0; }
.bp-prod-tx b { display: block; font-weight: 700; line-height: 1.3; }
.bp-prod-tx b a { color: var(--ink); text-decoration: none !important; }
.bp-prod-tx b a:hover { color: var(--brand-text); }
.bp-prod-tx small { display: block; font-size: 12.5px; font-weight: 600; color: var(--muted); }
.bp-prod-tx .bp-qo-msg { margin-top: 3px; font-size: 12px; font-weight: 700; }
.bp-qo-msg.is-bad { color: var(--danger); }
.bp-qo-msg.is-warn { color: var(--warning); }
.bp-qo-qty .stepper { height: 34px; border-radius: 10px; }
.bp-qo-qty .stepper button { width: 30px; }
.bp-qo-qty .stepper input { width: 48px; font-size: 14px; }
.bp-qo-qty .stepper button:disabled { opacity: 0.4; cursor: not-allowed; }
.bp-qo-warn { display: block; max-width: 200px; margin-top: 5px; color: var(--danger); font-size: 12px; font-weight: 700; line-height: 1.35; }
.bp-qo-row.is-pending .bp-qo-unit, .bp-qo-row.is-pending .bp-qo-total { color: var(--faint); }
.bp-qo-row.is-missing, .bp-qo-row.is-nostock { background: color-mix(in srgb, var(--danger-soft) 40%, transparent); }
.bp-qo-rm { width: 34px; height: 34px; border: 0; border-radius: 10px; background: none; color: var(--faint); display: inline-grid; place-items: center; cursor: pointer; }
.bp-qo-rm:hover { background: var(--danger-soft); color: var(--danger); }
.bp-qo-rm:focus-visible { outline: 3px solid color-mix(in srgb, var(--danger) 30%, transparent); }
.bp-qo-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 20px; border-top: 1px solid var(--line-2); color: var(--muted); font-size: 13.5px; font-weight: 600; }
.bp-qo-foot b { color: var(--ink); }
.bp-linkbtn { display: inline-flex; align-items: center; gap: 6px; padding: 0; border: 0; background: none; color: var(--danger); font: inherit; font-weight: 700; cursor: pointer; }
.bp-linkbtn .icon { width: 15px; height: 15px; }
.bp-qo-blank { padding: 44px 20px; border-top: 1px solid var(--line-2); color: var(--muted); font-weight: 600; text-align: center; }
.bp-qo-blank .ti { width: 48px; height: 48px; margin: 0 auto 10px; border-radius: 14px; display: grid; }
.bp-qo-blank .ti .icon { width: 22px; height: 22px; }
.bp-qo-blank b { display: block; color: var(--ink); font-size: 15.5px; }
.bp-paste { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 18px; padding: 0 20px 20px; }
.bp-paste textarea {
  width: 100%; min-height: 236px; padding: 14px 16px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--surface-2); color: var(--ink);
  font: inherit; font-size: 14.5px; line-height: 1.75; font-variant-numeric: tabular-nums; tab-size: 12; resize: vertical;
}
.bp-paste textarea:focus { outline: 0; border-color: var(--brand); box-shadow: var(--ring); background: var(--surface); }
.bp-how { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; counter-reset: bp-step; }
.bp-how li { display: flex; align-items: flex-start; gap: 12px; padding: 12px; border-radius: 14px; background: var(--surface-2); color: var(--ink-2); font-size: 13.5px; font-weight: 600; line-height: 1.45; }
.bp-how li::before { counter-increment: bp-step; content: counter(bp-step); width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; flex: none; background: var(--violet-soft); color: var(--violet); font-weight: 800; }
.bp-paste-acts { margin-top: 14px; }
.bp-upload { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; margin-top: 14px; }
.bp-upload-pick { position: relative; display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px 12px; border-radius: 14px; border: 1.5px dashed var(--line-strong); cursor: pointer; transition: border-color 0.15s, background 0.15s; }
.bp-upload-pick:hover, .bp-upload-pick:focus-within { border-color: var(--brand); background: var(--brand-soft); }
.bp-upload-pick input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.bp-upload-pick .ti { width: 36px; height: 36px; border-radius: 11px; }
.bp-upload-pick b { display: block; font-size: 14px; font-weight: 700; overflow-wrap: anywhere; }
.bp-upload-pick small { display: block; font-size: 12px; font-weight: 600; color: var(--muted); }
.bp-pres { margin: 0 20px 20px; border: 1px solid var(--line-2); border-radius: 16px; overflow: hidden; }
.bp-pres-h { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; background: var(--surface-2); color: var(--ink-2); font-size: 13.5px; font-weight: 650; }
.bp-pres ul { list-style: none; margin: 0; padding: 0; max-height: 380px; overflow-y: auto; }
.bp-pres li { display: grid; grid-template-columns: 22px 130px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 10px 14px; border-top: 1px solid var(--line-2); font-size: 14px; }
.bp-pres .mk { display: flex; }
.bp-pres .mk .icon { width: 17px; height: 17px; }
.bp-pres .mk.ok { color: var(--success); }
.bp-pres .mk.bad { color: var(--danger); }
.bp-pres code { font: inherit; font-weight: 750; overflow-wrap: anywhere; }
.bp-pres em { min-width: 0; font-style: normal; font-weight: 600; color: var(--muted); }
.bp-pres li.miss em { color: var(--danger); }
.bp-sum { display: flex; flex-direction: column; gap: 12px; padding: 20px; }
.bp-sum h2 { font-size: 16.5px; font-weight: 750; }
.bp-sl { display: flex; justify-content: space-between; gap: 10px; color: var(--ink-2); font-size: 14px; font-weight: 600; }
.bp-sl b { color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.bp-sl.is-disc b { color: var(--success); }
[data-qo-vat-rows] { display: grid; gap: 12px; }
.bp-grand { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding-top: 14px; border-top: 1px dashed var(--line-strong); }
.bp-grand span { font-weight: 700; }
.bp-grand strong { font-family: var(--font-display); font-stretch: var(--display-stretch); font-size: 28px; font-weight: 800; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.bp-lim { display: flex; align-items: flex-start; gap: 10px; padding: 12px; border-radius: 14px; background: var(--success-soft); color: var(--success); font-size: 13px; font-weight: 650; line-height: 1.45; }
.bp-lim .icon { width: 17px; height: 17px; margin-top: 1px; flex: none; }
.bp-lim.is-warn { background: var(--tape-soft); color: var(--tape-ink); }
.bp-lim.is-bad { background: var(--danger-soft); color: var(--danger); }
.bp-sum .btn { width: 100%; }
.bp-fq { list-style: none; margin: 0; padding: 0 20px 14px; }
.bp-fq li { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line-2); }
.bp-fq .grow { min-width: 0; line-height: 1.35; }
.bp-fq b { display: block; overflow: hidden; font-size: 14px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.bp-fq small { font-size: 12.5px; font-weight: 600; color: var(--muted); }
.bp-plus { width: 36px; height: 36px; border-radius: 11px; border: 1px solid var(--line); background: var(--surface); color: var(--brand); display: grid; place-items: center; flex: none; cursor: pointer; }
.bp-plus:hover { background: var(--brand); border-color: var(--brand); color: var(--brand-ink); }
.bp-plus:focus-visible { outline: 3px solid color-mix(in srgb, var(--brand) 35%, transparent); outline-offset: 2px; }
.bp-plus .icon { width: 17px; height: 17px; }
.bp-side-empty { padding: 0 20px 20px; color: var(--muted); font-size: 13px; font-weight: 550; }
.bp-qo-side .list-item { padding: 12px 20px; }
.bp-qo-side .list-item .li-title, .bp-qo-side .list-item .li-sub { display: block; }
@media (max-width: 1180px) {
  .bp-qo { grid-template-columns: minmax(0, 1fr); }
  .bp-paste { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 720px) {
  .bp-qo-entry { padding: 0 16px 8px; }
  .bp-qo-hint { padding: 6px 16px 14px; align-items: flex-start; }
  .bp-qo-tbl thead { display: none; }
  .bp-qo-tbl, .bp-qo-tbl tbody { display: block; }
  .bp-qo-tbl tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 8px 12px; padding: 14px 16px; border-top: 1px solid var(--line-2); }
  .bp-qo-tbl td { display: block; padding: 0 !important; border: 0; }
  .bp-qo-prod { grid-column: 1; grid-row: 1; }
  .bp-qo-rm-cell { grid-column: 2; grid-row: 1; }
  .bp-qo-stock { grid-column: 1; grid-row: 2; }
  .bp-qo-tbl td.bp-qo-unit { grid-column: 2; grid-row: 2; font-size: 12.5px; color: var(--muted); }
  .bp-qo-qty { grid-column: 1; grid-row: 3; }
  .bp-qo-tbl td.bp-qo-total { grid-column: 2; grid-row: 3; font-size: 15px; }
  .bp-qo-row.is-missing td:not(.bp-qo-prod):not(.bp-qo-rm-cell), .bp-qo-row.is-variants td:not(.bp-qo-prod):not(.bp-qo-rm-cell) { display: none; }
  .bp-qo-foot { padding: 14px 16px; }
  .bp-paste { padding: 0 16px 16px; }
  .bp-pres { margin: 0 16px 16px; }
  .bp-pres li { grid-template-columns: 22px minmax(0, 1fr) auto; }
  .bp-pres li em { grid-column: 2 / -1; }
  .bp-qo-tabs { width: 100%; }
  .bp-qo-tabs button { flex: 1; justify-content: center; }
}

/* ---------------------------------------------------------------- account */
.dp-account-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.dp-menu { overflow: hidden; }
.dp-menu .list-item { padding: 12px 16px; }
.dp-menu .badge { margin-right: 4px; }
.dp-account-foot { overflow: hidden; }
.dp-account-foot .list-item { padding: 12px 16px; }
.dp-theme-row .segmented button { height: 28px; padding: 0 10px; }
.dp-address-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
.dp-address { display: flex; flex-direction: column; }
.dp-address .card-body { flex: 1; }
.dp-address.is-default { border-color: color-mix(in srgb, var(--brand) 45%, var(--line)); }
@media (max-width: 900px) {
  .dp-account-grid { grid-template-columns: minmax(0, 1fr); }
  .dp-theme-row { flex-wrap: wrap; }
}

/* ---------------------------------------------------------------- support */
.dp-form-card { max-width: 860px; }
.dp-thread { display: flex; flex-direction: column; gap: 14px; margin-bottom: 18px; max-width: 860px; }
.dp-msg { display: flex; gap: 10px; align-items: flex-start; }
.dp-msg.is-mine { flex-direction: row-reverse; }
.dp-bubble { max-width: min(640px, 86%); padding: 12px 14px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); border-top-left-radius: 6px; }
.dp-msg.is-mine .dp-bubble { background: var(--brand-soft); border-color: color-mix(in srgb, var(--brand) 22%, var(--line)); border-top-left-radius: 16px; border-top-right-radius: 6px; }
.dp-msg.is-mine .avatar { background: var(--ink); color: var(--surface); }
.dp-msg-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 4px; font-size: 13px; }
.dp-msg-body { color: var(--ink); font-size: 14px; line-height: 1.55; overflow-wrap: anywhere; }
.dp-files { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.dp-file { display: inline-flex; align-items: center; gap: 6px; max-width: 260px; padding: 5px 10px; border-radius: 8px; background: var(--surface); border: 1px solid var(--line); font-size: 12.5px; font-weight: 600; color: var(--ink-2); text-decoration: none !important; }
.dp-file:hover { border-color: var(--line-strong); }
.dp-reply { max-width: 860px; }
.dp-attach { cursor: pointer; }
.dp-ticket-row .li-title { white-space: normal; }

/* ---------------------------------------------------------------- offline page */
.dp-offline { min-height: 100dvh; display: grid; place-items: center; padding: 24px; background: var(--bg); }
.dp-offline-card { max-width: 420px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.dp-offline-logo { margin-bottom: 18px; }
.dp-offline-logo img { max-height: 40px; max-width: 200px; }
.dp-offline-icon { width: 64px; height: 64px; border-radius: 20px; }
.dp-offline-title { font-size: 24px; font-weight: 650; }
