/* The brand portal (portal.html). Builds on styles.css: same colours, type
   and form fields, with a wider page for the product grid. */

.portal { max-width: 1040px; }
.portal .narrow { max-width: 560px; margin: 0 auto; }
.portal h1 { margin-top: 10px; }
.portal h2 { font-size: clamp(20px, 4vw, 28px); line-height: 1.15; margin: 0 0 10px; color: var(--ink); }

.linklike {
  background: none; border: 0; padding: 0; cursor: pointer;
  font-family: var(--font-head); font-size: 15px; color: var(--ink); text-decoration: underline;
}

/* Header: brand name, then the bar with the tabs and Add a product. */
.p-head { text-align: center; margin-bottom: 18px; }
.p-head .tag { font-family: var(--font-head); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.p-bar {
  position: sticky; top: 0; z-index: 5;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: var(--paper); padding: 10px 0; border-bottom: 1px solid var(--stone);
}
.p-tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.p-tab {
  font-family: var(--font-head); font-weight: 600; font-size: 13px; letter-spacing: .06em; text-transform: uppercase;
  text-decoration: none; color: var(--ink); padding: 9px 12px; border-radius: 999px; border: 1px solid var(--stone);
  background: var(--white);
}
.p-tab .n { color: var(--muted); font-weight: 500; margin-left: 4px; }
.p-tab.on { background: var(--ink); color: var(--white); border-color: var(--ink); }
.p-tab.on .n { color: #d6d6d6; }
.p-add { padding: 11px 18px; font-size: 15px; white-space: nowrap; box-shadow: none; text-decoration: none; display: inline-block; text-align: center; }
@media (max-width: 620px) {
  .p-bar { flex-direction: column; align-items: stretch; }
  .p-tabs { justify-content: center; }
  .p-tab { padding: 8px 11px; font-size: 13px; }
  .p-add { width: 100%; }
}

.p-notice { margin: 16px 0 0; padding: 12px 14px; border-radius: 10px; background: var(--white); border: 1px solid var(--stone); border-left: 3px solid var(--signal); font-size: 16px; }
.p-intro { color: var(--muted); font-size: 16px; margin: 16px 0 0; }
.p-empty { text-align: center; color: var(--muted); padding: 48px 12px; font-size: 17px; }

/* Product grid */
.p-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; margin-top: 18px; }
@media (max-width: 520px) { .p-grid { grid-template-columns: 1fr 1fr; gap: 12px; } }
.p-card {
  display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--stone);
  border-radius: var(--radius); overflow: hidden; color: inherit; text-decoration: none;
}
a.p-card { transition: transform .15s ease, border-color .15s ease; }
a.p-card:hover { transform: translateY(-2px); border-color: var(--muted); }
.p-img { aspect-ratio: 4 / 5; background: var(--stone-tint); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.p-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.p-img .none { font-family: var(--font-head); font-size: 13px; color: var(--muted); padding: 12px; text-align: center; }
.p-body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.p-title { font-family: var(--font-head); font-weight: 600; font-size: 15px; line-height: 1.3; }
.p-price { font-size: 16px; }
.p-price s { color: var(--muted); }
.p-meta { font-size: 14px; color: var(--muted); }
.p-badge {
  align-self: flex-start; font-family: var(--font-head); font-size: 12px; font-weight: 600; letter-spacing: .04em;
  padding: 3px 9px; border-radius: 999px; background: var(--stone-tint); color: var(--ink);
}
.p-badge.sale { background: var(--signal); color: var(--white); }
.p-badge.info { background: var(--signal-tint); color: var(--signal-dark); }
.p-badge.work { background: #e6eefb; color: #1f3f74; }
.p-badge.wait { background: #fff3d6; color: #6b4a00; }
.p-reason { margin-top: 6px; background: var(--signal-tint); border-radius: 8px; padding: 8px 10px; font-size: 15px; white-space: pre-wrap; }
.p-card.paused .p-img img { filter: grayscale(1); opacity: .55; }
.p-card.paused .p-title, .p-card.paused .p-price { color: var(--muted); }
.p-card .btn { margin-top: 8px; padding: 10px 14px; font-size: 15px; box-shadow: none; }
.p-foot { text-align: center; margin-top: 40px; font-size: 15px; color: var(--muted); }

/* Product page */
.pp { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; margin-top: 16px; }
@media (max-width: 760px) { .pp { grid-template-columns: 1fr; } }
.pp-gallery { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; border-radius: var(--radius); }
.pp-gallery img { flex: 0 0 100%; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; scroll-snap-align: start; border-radius: var(--radius); background: var(--stone-tint); }
.pp-hint { font-size: 14px; color: var(--muted); margin-top: 6px; }
.pp-prices { font-size: 18px; margin: 4px 0 14px; }
.pp-prices s { color: var(--muted); }
.pp-table { width: 100%; border-collapse: collapse; font-size: 16px; background: var(--white); border-radius: 10px; overflow: hidden; }
.pp-table th { font-family: var(--font-head); font-size: 12px; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); text-align: left; padding: 8px 10px; background: var(--stone-tint); }
.pp-table td { padding: 8px 10px; border-top: 1px solid var(--stone-tint); }
.pp-table s { color: var(--muted); }
.pp-desc-label { font-family: var(--font-head); font-size: 12px; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); margin-top: 18px; }
.pp-desc { white-space: pre-wrap; font-size: 15px; line-height: 1.6; margin-top: 4px; }
.pp-table-wrap { overflow-x: auto; border-radius: 10px; }
.pp-stepper { display: inline-flex; align-items: center; gap: 6px; }
.pp-step {
  width: 40px; height: 40px; flex: 0 0 auto; border-radius: 10px; border: 1px solid var(--stone);
  background: var(--white); color: var(--ink); font-family: var(--font-head); font-size: 22px; font-weight: 600;
  line-height: 1; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; padding: 0;
}
.pp-step:hover { background: var(--ink); color: var(--white); }
.pp-step[disabled] { opacity: .4; cursor: default; background: var(--white); color: var(--ink); }
.pp-stock { width: 60px; padding: 8px 4px; font-size: 16px; text-align: center; -moz-appearance: textfield; }
.pp-stock::-webkit-outer-spin-button, .pp-stock::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.pp-stock.changed { border-color: var(--signal); box-shadow: 0 0 0 2px rgba(217, 48, 37, 0.15); }
@media (max-width: 520px) {
  .pp-table th, .pp-table td { padding: 8px 6px; font-size: 14px; }
  .pp-step { width: 36px; height: 36px; font-size: 20px; }
  .pp-stock { width: 48px; }
}
.pp-stock-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 10px; }
.pp-stock-row .btn-secondary { padding: 10px 16px; height: auto; }
.pp-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 20px; }
.pp-actions button { padding: 12px 10px; font-size: 15px; height: auto; }
.pp-actions button.on { background: var(--ink); color: var(--white); }
.pp-actions .danger { color: var(--signal); }
.pp-panel { margin-top: 18px; }
.pp-panel .specguide { margin-top: 0; }
.pp-view { display: inline-block; margin-top: 12px; }

/* Add a product: one step at a time */
.wiz { max-width: 640px; margin: 10px auto 0; }
.wiz-steps { display: flex; gap: 6px; margin: 8px 0 4px; }
.wiz-steps span { flex: 1; height: 4px; border-radius: 4px; background: var(--stone); }
.wiz-steps span.done { background: var(--signal); }
.wiz-count { font-family: var(--font-head); font-size: 13px; color: var(--muted); letter-spacing: .04em; }
.wiz-nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 28px; }
.wiz-review { background: var(--white); border: 1px solid var(--stone); border-radius: 10px; padding: 6px 16px; }
.wiz-review div { display: grid; grid-template-columns: 150px 1fr; gap: 10px; padding: 8px 0; border-top: 1px solid var(--stone-tint); font-size: 16px; }
.wiz-review div:first-child { border-top: 0; }
.wiz-review dt { font-family: var(--font-head); font-size: 13px; color: var(--muted); }
.wiz-review dd { margin: 0; white-space: pre-wrap; }
@media (max-width: 520px) { .wiz-review div { grid-template-columns: 1fr; gap: 2px; } }
.store-search { margin-bottom: 12px; }
.store-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; max-height: 520px; overflow-y: auto; padding: 2px; }
.store-item {
  border: 1px solid var(--stone); border-radius: 10px; background: var(--white); padding: 0; cursor: pointer;
  text-align: left; overflow: hidden; font: inherit; color: inherit;
}
.store-item.on { border-color: var(--signal); box-shadow: 0 0 0 3px rgba(217, 48, 37, 0.18); }
.store-item .p-img { aspect-ratio: 1 / 1; }
.store-item .t { font-family: var(--font-head); font-size: 13px; font-weight: 600; padding: 8px 10px 2px; line-height: 1.3; }
.store-item .m { font-size: 13px; color: var(--muted); padding: 0 10px 8px; }
.done-card { text-align: center; padding: 30px 0; }

/* Orders (Manual brands) */
.p-orders { display: grid; gap: 14px; margin-top: 18px; max-width: 760px; }
.p-order { background: var(--white); border: 1px solid var(--stone); border-radius: var(--radius); padding: 16px 18px; }
.o-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-family: var(--font-head); }
.o-items { margin: 10px 0; padding-left: 20px; font-size: 15px; }
.o-ship { font-size: 15px; line-height: 1.55; background: var(--stone-tint); border-radius: 10px; padding: 10px 12px; }
.o-ship .pp-desc-label { margin-top: 0; }
.o-track { font-size: 15px; margin-top: 10px; }
.o-track a { color: var(--ink); }
.o-form { margin-top: 6px; }
.o-form .field { margin: 14px 0; }
.o-form .btn-row { margin-top: 10px; }
.o-section { font-size: 18px; margin: 28px 0 0; color: var(--ink); }
.o-section .n { color: var(--muted); font-family: var(--font-head); font-weight: 500; font-size: 15px; margin-left: 8px; letter-spacing: 0; }
.o-empty { padding: 14px 0 4px; text-align: left; }

/* Make a change: one box per part of the listing */
.ca { background: var(--white); border: 1px solid var(--stone); border-radius: 12px; padding: 12px 14px; margin-top: 10px; }
.ca-head { align-items: flex-start; }
.ca-head strong { font-family: var(--font-head); font-weight: 600; font-size: 15px; display: block; }
.ca-now { display: block; font-size: 14px; color: var(--muted); margin-top: 2px; }
.ca-body { margin-top: 10px; }
.ca-body .field { margin: 10px 0; }
.ca-body .thumbs { margin-bottom: 8px; }

/* Profile: the brand's details on record, to read only */
.pf-note { margin: 16px 0 0; padding: 14px 16px; border-radius: 12px; background: var(--signal-tint); color: var(--ink); font-size: 16px; }
.pf-note a { color: var(--signal-dark); font-weight: 600; }
.pf-card { background: var(--white); border: 1px solid var(--stone); border-radius: var(--radius); padding: 18px 20px 8px; margin-top: 18px; }
.portal .pf-card h2 { font-size: 18px; margin: 0 0 4px; }
.pf-sub { font-size: 14px; color: var(--muted); margin: 0 0 4px; }
.pf-rows { margin: 0; }
.pf-rows > div { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 12px; padding: 11px 0; border-top: 1px solid var(--stone-tint); font-size: 16px; }
.pf-rows > div:first-child { border-top: 0; }
.pf-rows dt { font-family: var(--font-head); font-size: 13px; color: var(--muted); padding-top: 2px; }
.pf-rows dd { margin: 0; white-space: pre-line; overflow-wrap: anywhere; }
.pf-rows dd a { color: var(--ink); }
.pf-none { color: var(--muted); }
.pf-hint { display: block; font-size: 14px; color: var(--muted); margin-top: 3px; white-space: normal; }
@media (max-width: 560px) {
  .pf-card { padding: 14px 14px 4px; }
  .pf-rows > div { grid-template-columns: 1fr; gap: 2px; }
}
/* Country and brand features, drawn like the onboarding form's drop-down and tick boxes */
.pf-select {
  display: inline-flex; align-items: center; justify-content: space-between; gap: 28px; min-width: 220px; max-width: 100%;
  background: var(--white); border: 1px solid var(--stone); border-radius: 10px; padding: 10px 14px; font-size: 16px; white-space: normal;
}
.pf-select::after { content: ''; width: 7px; height: 7px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: translateY(-2px) rotate(45deg); }
.pf-ticks { display: grid; gap: 9px; white-space: normal; }
.pf-tick { display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--muted); }
.pf-tick.on { color: var(--ink); }
.pf-tick .box {
  width: 20px; height: 20px; flex: 0 0 auto; border: 1.5px solid var(--stone); border-radius: 4px; background: var(--white);
  display: inline-flex; align-items: center; justify-content: center;
}
.pf-tick.on .box { background: var(--signal); border-color: var(--signal); }
.pf-tick.on .box::after { content: ''; width: 5px; height: 10px; border-right: 2px solid var(--white); border-bottom: 2px solid var(--white); transform: translateY(-1px) rotate(45deg); }
.pf-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Payouts: the monthly statements, read only */
.p-badge.done { background: #e3f1e6; color: #1d5a2c; }
.po-list { background: var(--white); border: 1px solid var(--stone); border-radius: var(--radius); margin-top: 18px; overflow: hidden; }
.po-row {
  display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 14px; align-items: center;
  padding: 16px 18px; border-top: 1px solid var(--stone-tint); color: inherit; text-decoration: none;
}
.po-row:first-child { border-top: 0; }
.po-row:hover { background: var(--stone-tint); }
.po-month { font-family: var(--font-head); font-weight: 600; font-size: 15px; }
.po-total { font-size: 16px; }
.st-head, .st-order { background: var(--white); border: 1px solid var(--stone); border-radius: var(--radius); padding: 16px 20px; margin-top: 16px; }
.st-title { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; }
.portal .st-title h2 { font-size: 20px; margin: 0 0 4px; }
.st-status { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.st-sum { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; flex-wrap: wrap; margin-top: 14px; }
.st-big { font-family: var(--font-head); font-weight: 600; font-size: 26px; }
.st-order-head { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 6px; font-size: 15px; }
.st-row { display: grid; grid-template-columns: minmax(0, 1fr) 48px 120px; gap: 10px; padding: 7px 0; border-top: 1px solid var(--stone-tint); font-size: 15px; }
.st-row .num { text-align: right; }
.st-cols { font-family: var(--font-head); font-size: 12px; color: var(--muted); border-top: 0; padding-bottom: 4px; }
.st-total { font-weight: 600; border-top: 1px solid var(--stone); }
.st-from { display: block; font-size: 13px; color: var(--muted); font-weight: normal; }
.st-note { font-size: 14px; color: var(--muted); margin: 8px 0 0; }
/* Schema 2 statements (19 Oct 2026): a line not yet posted, and a balance below zero */
.st-flag {
  display: inline-block; margin-left: 6px; padding: 0 7px; border: 1px solid var(--signal); border-radius: 4px;
  color: var(--signal-dark); font-family: var(--font-head); font-size: 12px; font-weight: 600; letter-spacing: .02em; white-space: nowrap;
}
.st-carry { color: var(--ink); border-left: 3px solid var(--signal); background: var(--stone-tint); padding: 10px 12px; border-radius: 0 8px 8px 0; }
.st-none { margin: 0; }
.portal h2.st-section { font-family: var(--font-head); font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 24px 0 0; }
.st-earlier .st-row:first-child { border-top: 0; }
.st-grand { padding-top: 6px; padding-bottom: 12px; }
.st-grand .st-row { border-top: 0; font-size: 17px; }
@media (max-width: 560px) {
  .st-head, .st-order { padding: 14px; }
  .st-row { grid-template-columns: minmax(0, 1fr) 34px 96px; font-size: 14px; }
  .st-status { align-items: flex-start; }
  .po-row { grid-template-columns: minmax(0, 1fr) auto; }
  .po-row .p-badge { grid-column: 1 / -1; justify-self: start; }
}

/* Orders: what the brand is paid on each order, and the month so far */
.o-money { background: var(--stone-tint); border-radius: 10px; padding: 8px 12px; margin-top: 10px; }
.om-row { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; font-size: 15px; }
.om-row .num { text-align: right; white-space: nowrap; }
.om-total { border-top: 1px solid var(--stone); margin-top: 4px; padding-top: 8px; font-weight: 600; }
.om-note { font-size: 14px; color: var(--muted); margin: 6px 0 2px; }
.om-note a { color: var(--ink); }
.o-summary {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; max-width: 760px;
  background: var(--white); border: 1px solid var(--stone); border-radius: var(--radius); padding: 12px 16px; margin-top: 18px; font-size: 15px;
}
.o-summary strong { font-family: var(--font-head); font-weight: 600; }

/* A submitted product: what the brand sent, its update form, and Anna's Ask for changes */
.p-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.p-act { padding: 9px 14px; font-size: 14px; box-shadow: none; text-decoration: none; display: inline-block; text-align: center; }
.sb-msg { margin: 6px 0 4px; padding: 12px 14px; background: var(--white); border: 1px solid var(--stone); border-left: 3px solid var(--signal); font-size: 16px; white-space: pre-line; }
.sb-photos { display: flex; gap: 10px; flex-wrap: wrap; margin: 6px 0 14px; }
.sb-photos figure { margin: 0; width: 110px; }
.sb-photos img { display: block; width: 110px; height: 138px; object-fit: cover; border-radius: 10px; border: 1px solid var(--stone); background: var(--stone-tint); }
.sb-photos figcaption { font-size: 12px; color: var(--muted); margin-top: 3px; }
.sb-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-top: 18px; }
.sb-actions .btn, .sb-actions .btn-secondary { box-shadow: none; padding: 11px 18px; font-size: 15px; }
.sb-form .field { margin: 14px 0; }
.sb-chips { display: flex; gap: 6px; flex-wrap: wrap; margin: 10px 0 4px; }
.sb-chip { border: 1px solid var(--stone); background: var(--white); color: var(--ink); border-radius: 999px; padding: 7px 12px; font-size: 13px; cursor: pointer; font-family: var(--font-head); }
.sb-chip:hover { border-color: var(--muted); }

/* Items refunded before posting, on an order that still has things to post (19 Oct 2026). */
.o-dont { margin: 10px 0 0; padding: 10px 12px; border-left: 3px solid #D93025; background: #F7F7F8; font-size: 14px; line-height: 1.45; }

/* Anna's banner and brand picker (26 Oct 2026) */
.anna-bar { position: sticky; top: 0; z-index: 20; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin: 0 0 18px; padding: 12px 14px; border-radius: 10px; background: var(--ink); color: var(--white); font-size: 15px; }
.anna-bar strong { font-family: var(--font-head); font-weight: 700; }
.anna-bar .anna-now { flex: 1 1 100%; }
.anna-bar input { flex: 1 1 220px; min-width: 0; padding: 9px 11px; border-radius: 8px; border: 0; font-size: 15px; color: var(--ink); }
.anna-bar .linklike { color: var(--white); }

/* Anna's home: every brand as a card (26 Oct 2026) */
.anna-bar .anna-home-link { color: var(--white); font-family: var(--font-head); font-size: 15px; }
.anna-home h1 .n { color: var(--muted); font-size: .55em; vertical-align: middle; }
.anna-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; margin-top: 16px; }
.anna-card {
  display: flex; flex-direction: column; gap: 6px; text-align: left; cursor: pointer;
  padding: 16px; background: var(--white); border: 1px solid var(--stone); border-radius: var(--radius);
  font: inherit; color: inherit; transition: transform .15s ease, border-color .15s ease;
}
.anna-card:hover { transform: translateY(-2px); border-color: var(--muted); }
.anna-card[hidden] { display: none; }
.anna-card-name { font-family: var(--font-display); font-weight: 900; text-transform: uppercase; font-size: 18px; line-height: 1.15; }
.anna-card-meta { font-size: 14px; color: var(--muted); }
.anna-card-counts { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 14px; margin-top: 4px; }
.anna-card-counts b { font-family: var(--font-head); font-size: 18px; margin-right: 2px; }
.anna-card-flag { font-family: var(--font-head); font-size: 13px; color: var(--signal); }
.anna-card-late { font-family: var(--font-head); font-size: 13px; color: var(--muted); }
@media (max-width: 520px) { .anna-grid { grid-template-columns: 1fr; } }

/* A price for each option, on Add a product and the update form (28 Oct 2026) */
.opthead, .optrow { display: grid; grid-template-columns: minmax(0, 1fr) 96px 96px 34px; gap: 10px; align-items: center; }
.opthead.nz, .optrow.nz { grid-template-columns: minmax(0, 1fr) 110px 34px; }
.opthead { font-family: var(--font-head); font-size: 12px; letter-spacing: .04em; color: var(--muted); margin-bottom: 6px; }
.optrow { margin-bottom: 9px; }
.optname { min-width: 0; overflow-wrap: anywhere; }
.optname strong { font-weight: 600; }
.optstore { display: block; font-size: 13px; color: var(--muted); }
@media (max-width: 520px) {
  .opthead { display: none; }
  .optrow { grid-template-columns: 1fr 1fr 34px; row-gap: 6px; }
  .optrow.nz { grid-template-columns: 1fr 34px; }
  .optrow .optname { grid-column: 1 / -1; }
}

/* Ticked live products (30 Oct 2026): a tick box over each photo, Select all
   above the list, and a bar along the bottom once anything is ticked. */
.p-select {
  display: flex; align-items: center; justify-content: space-between; gap: 8px 14px; flex-wrap: wrap;
  margin-top: 16px; padding: 10px 14px; background: var(--white); border: 1px solid var(--stone); border-radius: 10px;
}
.p-selopts { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.p-select .check { font-family: var(--font-head); font-weight: 600; font-size: 15px; align-items: center; }
.p-select .check input { margin-top: 0; }
.p-pick { position: relative; display: flex; }
.p-pick > .p-card { flex: 1; min-width: 0; }
.p-tick {
  position: absolute; top: 8px; left: 8px; z-index: 2; width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  background: rgba(255, 255, 255, .92); border: 1px solid var(--stone); border-radius: 10px;
}
.p-tick input { width: 22px; height: 22px; margin: 0; accent-color: var(--ink); cursor: pointer; }
.p-pick.on > .p-card { border-color: var(--ink); box-shadow: 0 0 0 2px var(--ink); }
.p-bulkbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 20;
  background: var(--white); border-top: 1px solid var(--stone); box-shadow: 0 -6px 20px rgba(0, 0, 0, .08);
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
}
.p-bulkbar-in { max-width: 1040px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 10px 16px; flex-wrap: wrap; }
.p-bulkn { display: flex; align-items: baseline; gap: 14px; font-size: 16px; }
.p-bulkbtns { display: flex; gap: 8px; flex-wrap: wrap; }
.p-bulkbtns button { padding: 10px 14px; font-size: 15px; height: auto; }
.p-bulkbtns .danger { color: var(--signal); }
body.has-bulkbar { padding-bottom: 120px; }
@media (max-width: 620px) {
  .p-bulkbar-in { flex-direction: column; align-items: stretch; }
  .p-bulkn { justify-content: space-between; }
  .p-bulkbtns { display: grid; grid-template-columns: 1fr 1fr; }
  body.has-bulkbar { padding-bottom: 170px; }
}

/* The check step before anything is sent */
.bk h2 { margin-top: 14px; }
.bk-about { font-family: var(--font-head); font-weight: 600; font-size: 15px; margin: 22px 0 0; }
.bk-list { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.bk-list li { display: flex; gap: 12px; align-items: center; background: var(--white); border: 1px solid var(--stone); border-radius: 10px; padding: 8px 10px; }
.bk-list li > div { min-width: 0; }
.bk-list img, .bk-list .bk-noimg { width: 48px; height: 60px; object-fit: cover; border-radius: 6px; flex: 0 0 auto; background: var(--stone-tint); display: block; }
.bk-list .p-title { font-size: 15px; }
.bk-list .p-price { font-size: 15px; }
.bk-new { font-size: 15px; font-weight: 600; color: var(--signal-dark); }
.bk-list.left li { opacity: .7; }
.pct-row { display: flex; align-items: center; gap: 10px; }
.pct-row input { max-width: 120px; }
.pct-row span { font-family: var(--font-head); font-weight: 600; }
.bk .btn-row { flex-wrap: wrap; }
.bk-backbtn { text-decoration: none; display: inline-flex; align-items: center; justify-content: center; }

/* Sub-category tick boxes (3 Nov 2026): short names, so more to a row. Once
   three are ticked the rest are greyed out. */
.tick-list.subs { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 560px) { .tick-list.subs { grid-template-columns: 1fr 1fr; } }
.check input:disabled, .check input:disabled + span { opacity: .45; cursor: default; }
