/* ============================================================
   Components
   ============================================================ */

/* ============================================================
   1. Buttons
   ============================================================ */

.btn {
  --btn-bg: var(--iron-900);
  --btn-fg: var(--text-on-dark);
  --btn-bd: transparent;
  --btn-bg-hover: var(--iron-800);
  --btn-sh: var(--sh-2);
  --btn-sh-hover: var(--sh-3);

  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  padding: var(--sp-3) var(--sp-6);
  min-block-size: 48px;
  border-radius: var(--r-full);
  border: 1.5px solid var(--btn-bd);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
  letter-spacing: var(--tr-tight);
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  box-shadow: var(--btn-sh);
  transition: background var(--t-fast) var(--ease-out),
              color var(--t-fast) var(--ease-out),
              border-color var(--t-fast) var(--ease-out),
              box-shadow var(--t) var(--ease-out),
              transform var(--t-fast) var(--ease-out);
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  white-space: nowrap;
}

.btn:hover { background: var(--btn-bg-hover); box-shadow: var(--btn-sh-hover); transform: translateY(-1px); }
.btn:active { transform: translateY(0) scale(.985); box-shadow: var(--btn-sh); }

.btn svg { flex: none; }

.btn[disabled], .btn[aria-disabled="true"] {
  opacity: .45;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}

/* --- variants --- */

.btn--primary {
  --btn-bg: var(--ember-500);
  --btn-bg-hover: var(--ember-600);
  --btn-fg: #FFF;
  --btn-sh: var(--sh-ember);
  --btn-sh-hover: var(--sh-ember-lg);
}
.btn--primary:active { --btn-bg: var(--ember-700); }

.btn--dark {
  --btn-bg: var(--iron-900);
  --btn-bg-hover: var(--iron-700);
}

.btn--secondary {
  --btn-bg: var(--white);
  --btn-bg-hover: var(--paper-2);
  --btn-fg: var(--iron-900);
  --btn-bd: var(--iron-200);
  --btn-sh: var(--sh-1);
}
.btn--secondary:hover { --btn-bd: var(--iron-300); }

.btn--ghost {
  --btn-bg: transparent;
  --btn-bg-hover: var(--iron-50);
  --btn-fg: var(--iron-900);
  --btn-sh: none;
  --btn-sh-hover: none;
}
.btn--ghost:hover { transform: none; }

.btn--outline {
  --btn-bg: transparent;
  --btn-bg-hover: var(--ember-50);
  --btn-fg: var(--ember-700);
  --btn-bd: var(--ember-300);
  --btn-sh: none;
  --btn-sh-hover: var(--sh-1);
}

.btn--brass {
  --btn-bg: var(--brass-500);
  --btn-bg-hover: var(--brass-600);
  --btn-fg: #FFF;
}

.btn--on-dark {
  --btn-bg: var(--text-on-dark);
  --btn-bg-hover: #FFF;
  --btn-fg: var(--iron-900);
}

.btn--on-dark-ghost {
  --btn-bg: transparent;
  --btn-bg-hover: rgba(246,241,232,.12);
  --btn-fg: var(--text-on-dark);
  --btn-bd: var(--line-on-dark);
  --btn-sh: none;
  --btn-sh-hover: none;
}
.btn--on-dark-ghost:hover { --btn-bd: rgba(246,241,232,.4); }

/* WhatsApp green under white text is a perennial contrast failure:
   #1FA855 measured 3.09 against a bar of 4.5. #1A7F45 is 5.04 and still
   reads as the WhatsApp button. Hover and shadow follow it down so the
   component stays one colour family. */
.btn--whatsapp {
  --btn-bg: #1A7F45;
  --btn-bg-hover: #15693A;
  --btn-fg: #FFF;
  --btn-sh: 0 4px 14px rgba(26,127,69,.28);
  --btn-sh-hover: 0 8px 24px rgba(26,127,69,.34);
}

/* --- sizes --- */

.btn--lg {
  padding: var(--sp-4) var(--sp-8);
  min-block-size: 56px;
  font-size: var(--fs-base);
}

.btn--xl {
  padding: var(--sp-5) var(--sp-10);
  min-block-size: 62px;
  font-size: var(--fs-lg);
}

.btn--sm {
  padding: var(--sp-2) var(--sp-4);
  min-block-size: 38px;
  font-size: var(--fs-xs);
  gap: var(--sp-1);
}

.btn--block { width: 100%; }

.btn--icon {
  padding: 0;
  inline-size: 44px;
  min-block-size: 44px;
  border-radius: var(--r-full);
}

.btn--icon.btn--sm { inline-size: 36px; min-block-size: 36px; }

/* --- loading --- */

.btn.is-loading { color: transparent !important; pointer-events: none; }
.btn.is-loading::after {
  content: "";
  position: absolute;
  inset-block-start: 50%;
  inset-inline-start: 50%;
  inline-size: 20px;
  block-size: 20px;
  margin: -10px 0 0 -10px;
  border: 2.5px solid currentColor;
  border-top-color: transparent;
  border-radius: 50%;
  color: var(--btn-fg);
  animation: spin .65s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* --- icon-with-text button used as a plain text action --- */

.tbtn {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semi);
  color: var(--text-soft);
  padding: var(--sp-2);
  border-radius: var(--r-sm);
  transition: color var(--t-fast) var(--ease-out), background var(--t-fast) var(--ease-out);
}
.tbtn:hover { color: var(--ember-600); background: var(--ember-50); }
.tbtn svg { flex: none; }

/* ============================================================
   2. Badges & pills
   ============================================================ */

.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-1);
  padding: 5px var(--sp-3);
  border-radius: var(--r-full);
  font-size: var(--fs-2xs);
  font-weight: var(--fw-bold);
  letter-spacing: .01em;
  line-height: 1.3;
  background: var(--iron-100);
  color: var(--iron-700);
  white-space: nowrap;
}

.badge svg { flex: none; }

.badge--sale    { background: var(--ember-500); color: #FFF; }
/* Dark on gold, not white on gold: white measured 3.30 here. iron-900
   is 5.41 and keeps the badge itself the colour it always was. */
.badge--best    { background: var(--brass-500); color: var(--iron-900); }
.badge--new     { background: var(--olive-500); color: #FFF; }
.badge--out     { background: var(--iron-200); color: var(--iron-600); }
.badge--stock    { background: var(--success-100); color: var(--success-600); }
.badge--low     { background: var(--warn-100); color: var(--warn-600); }
.badge--dark    { background: var(--iron-900); color: var(--text-on-dark); }
.badge--ghost   { background: transparent; border: 1.5px solid var(--line); color: var(--text-soft); }
.badge--brass-soft { background: var(--brass-100); color: var(--brass-700); }

/* ============================================================
   3. Chips (filters / toggles)
   ============================================================ */

.chip {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-2) var(--sp-4);
  min-block-size: 40px;
  border-radius: var(--r-full);
  border: 1.5px solid var(--line);
  background: var(--white);
  color: var(--text-soft);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semi);
  cursor: pointer;
  transition: all var(--t-fast) var(--ease-out);
  white-space: nowrap;
}

.chip:hover { border-color: var(--iron-300); color: var(--text); }

.chip[aria-pressed="true"], .chip.is-active {
  background: var(--iron-900);
  border-color: var(--iron-900);
  color: var(--text-on-dark);
}

.chip__count {
  font-size: var(--fs-2xs);
  opacity: .6;
  font-variant-numeric: tabular-nums;
}

.chip--clear { color: var(--ember-600); border-color: var(--ember-200); }
.chip--clear:hover { background: var(--ember-50); border-color: var(--ember-300); color: var(--ember-700); }

/* ============================================================
   4. Image frame — unifies the real product photos
   ============================================================ */

.frame {
  /* display:block is load-bearing — .frame is used on <span> and <a>
     too, and aspect-ratio does not apply to inline boxes. */
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: var(--r-md);
  background:
    radial-gradient(120% 100% at 50% 0%, var(--white) 0%, var(--paper-2) 62%, var(--paper-3) 100%);
  isolation: isolate;
}

/* <picture> is an inline wrapper; make it fill the frame so the
   image inside can size to 100%/100% */
.frame > picture { display: block; inline-size: 100%; block-size: 100%; }

.frame > picture > img {
  inline-size: 100%;
  block-size: 100%;
  object-fit: cover;
  filter: var(--img-filter);
  transition: transform var(--t-slow) var(--ease-out), filter var(--t) var(--ease-out);
}

.frame::after {
  /* soft vignette pulls the eye to the product and hides busy photo edges */
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(115% 88% at 50% 42%, transparent 46%, rgba(38,33,25,.11) 100%);
  z-index: 2;
}

.frame > img {
  inline-size: 100%;
  block-size: 100%;
  object-fit: cover;
  filter: var(--img-filter);
  transition: transform var(--t-slow) var(--ease-out), filter var(--t) var(--ease-out);
  z-index: 1;
}

.frame--1-1  { aspect-ratio: 1 / 1; }
.frame--4-5  { aspect-ratio: 4 / 5; }
.frame--3-4  { aspect-ratio: 3 / 4; }
.frame--3-2  { aspect-ratio: 3 / 2; }
.frame--16-9 { aspect-ratio: 16 / 9; }
.frame--21-9 { aspect-ratio: 21 / 9; }

.frame--contain > img {
  object-fit: contain;
  padding: 8%;
}

.frame--flat { background: var(--paper-2); }
.frame--flat::after { display: none; }

.frame--dark {
  background: linear-gradient(160deg, var(--iron-800), var(--iron-950));
}

/* ============================================================
   5. Stars / rating
   ============================================================ */

.stars {
  display: inline-flex;
  align-items: center;
  gap: 1px;
  color: var(--brass-400);
  flex: none;
}

.stars svg { inline-size: 15px; block-size: 15px; }
.stars--sm svg { inline-size: 13px; block-size: 13px; }
.stars--lg svg { inline-size: 20px; block-size: 20px; }
.stars .is-empty { color: var(--iron-200); }

.rating {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--fs-xs);
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
}

.rating__val { font-weight: var(--fw-bold); color: var(--text-soft); }

/* ============================================================
   6. Price
   ============================================================ */

.price {
  display: inline-flex;
  align-items: baseline;
  gap: var(--sp-2);
  font-family: var(--font-num);
  font-variant-numeric: tabular-nums;
  direction: rtl;
}

.price__now {
  font-size: var(--fs-lg);
  font-weight: var(--fw-bold);
  color: var(--iron-900);
  letter-spacing: var(--tr-tight);
}

.price__was {
  font-size: var(--fs-sm);
  color: var(--text-faint);
  text-decoration: line-through;
  text-decoration-thickness: 1.5px;
}

.price__off {
  font-size: var(--fs-2xs);
  font-weight: var(--fw-bold);
  color: var(--ember-600);
  background: var(--ember-50);
  padding: 2px var(--sp-2);
  border-radius: var(--r-xs);
}

.price--lg .price__now { font-size: clamp(1.75rem, 1.4rem + 1.4vw, 2.375rem); font-weight: var(--fw-black); }
.price--lg .price__was { font-size: var(--fs-lg); }
.price--lg .price__off { font-size: var(--fs-xs); padding: 4px var(--sp-3); }

.price--sm .price__now { font-size: var(--fs-base); }
.price--sm .price__was { font-size: var(--fs-xs); }

.price--on-dark .price__now { color: var(--text-on-dark); }
.price--on-dark .price__was { color: var(--text-on-dark-faint); }

/* ============================================================
   7. Product card
   ============================================================ */

.pcard {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: border-color var(--t) var(--ease-out),
              box-shadow var(--t) var(--ease-out),
              transform var(--t) var(--ease-out);
}

.pcard:hover {
  border-color: var(--iron-200);
  box-shadow: var(--sh-4);
  transform: translateY(-4px);
}

.pcard:focus-within {
  border-color: var(--ember-300);
  box-shadow: var(--sh-3);
}

.pcard__media {
  position: relative;
  display: block;
  overflow: hidden;
}

.pcard:hover .pcard__media > .frame > img {
  transform: scale(1.055);
  filter: var(--img-filter-hover);
}

/* second image cross-fade on hover */
.pcard__alt {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity var(--t-slow) var(--ease-out);
  z-index: 3;
}
.pcard:hover .pcard__alt { opacity: 1; }

.pcard__badges {
  position: absolute;
  inset-block-start: var(--sp-3);
  inset-inline-start: var(--sp-3);
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--sp-2);
  pointer-events: none;
}

.pcard__fav {
  position: absolute;
  inset-block-start: var(--sp-3);
  inset-inline-end: var(--sp-3);
  z-index: 6;
  inline-size: 38px;
  block-size: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(6px);
  color: var(--iron-600);
  box-shadow: var(--sh-1);
  transition: all var(--t-fast) var(--ease-out);
}
.pcard__fav:hover { background: #FFF; color: var(--ember-500); transform: scale(1.08); }
.pcard__fav[aria-pressed="true"] { color: var(--ember-500); }
.pcard__fav[aria-pressed="true"] svg { fill: currentColor; }

.pcard__spec {
  position: absolute;
  inset-block-end: var(--sp-3);
  inset-inline-start: var(--sp-3);
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: 5px var(--sp-3);
  border-radius: var(--r-full);
  background: rgba(16,14,12,.72);
  backdrop-filter: blur(8px);
  color: var(--text-on-dark);
  font-size: var(--fs-2xs);
  font-weight: var(--fw-semi);
  pointer-events: none;
}

.pcard__body {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  padding: var(--sp-4) var(--sp-5) var(--sp-5);
  flex: 1;
}

.pcard__cat {
  font-size: var(--fs-2xs);
  font-weight: var(--fw-bold);
  letter-spacing: var(--tr-caps);
  text-transform: uppercase;
  color: var(--text-faint);
}

.pcard__name {
  font-size: var(--fs-h4);
  font-weight: var(--fw-bold);
  letter-spacing: var(--tr-tight);
  line-height: 1.3;
  color: var(--iron-900);
}

.pcard__name a::after {
  /* whole-card click target without nesting interactive elements */
  content: "";
  position: absolute;
  inset: 0;
  z-index: 4;
}

.pcard:hover .pcard__name { color: var(--ember-700); }

.pcard__meta {
  font-size: var(--fs-xs);
  color: var(--text-muted);
  line-height: var(--lh-snug);
}

.pcard__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
  margin-block-start: auto;
  padding-block-start: var(--sp-3);
}

/* On a narrow card a discounted price laid out in a row is twice as wide as a
   plain one (the struck-through original sits beside the current price), and
   since .pcard__add is flex:none the extra width pushed the button past the
   card edge and clipped it. Stacking the two prices halves the block. DOM
   order is now-then-was, so column-reverse is what lifts the old price above
   the new one — which is also how the owner asked for it to read.
   Measured at 375px: price block 84px -> 41px, button 28px outside -> inside. */
@media (max-width: 700px) {
  .pcard__foot .price {
    flex-direction: column-reverse;
    align-items: flex-start;
    gap: 0;
  }
  .pcard__foot .price__was {
    font-size: var(--fs-2xs);
    line-height: 1.1;
  }
  /* a plain card cleared the edge by only 13px, so anything added to the
     footer later would break undiscounted cards too — let it shrink */
  .pcard__foot .price { min-inline-size: 0; }
}

.pcard__add {
  position: relative;
  z-index: 5;
  flex: none;
}

/* quick-add reveals on hover for pointer devices, always visible on touch */
@media (hover: hover) and (min-width: 900px) {
  .pcard__add {
    opacity: 0;
    transform: translateY(6px);
    transition: opacity var(--t) var(--ease-out), transform var(--t) var(--ease-out);
  }
  .pcard:hover .pcard__add,
  .pcard:focus-within .pcard__add { opacity: 1; transform: none; }
}

.pcard--out .pcard__media { filter: saturate(.35) opacity(.72); }

/* horizontal variant (cart lines, cross-sells) */
.pcard--row {
  flex-direction: row;
  align-items: center;
  gap: var(--sp-4);
  padding: var(--sp-3);
  border-radius: var(--r-md);
}
.pcard--row:hover { transform: none; box-shadow: var(--sh-2); }
.pcard--row .pcard__media { inline-size: 92px; flex: none; border-radius: var(--r-sm); overflow: hidden; }
.pcard--row .pcard__body { padding: 0; gap: var(--sp-1); }

/* ============================================================
   8. Product grid
   ============================================================ */

.pgrid {
  display: grid;
  gap: var(--sp-5);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (min-width: 700px)  { .pgrid { grid-template-columns: repeat(3, minmax(0,1fr)); gap: var(--sp-6); } }
@media (min-width: 1080px) { .pgrid { grid-template-columns: repeat(4, minmax(0,1fr)); } }

.pgrid--3 { grid-template-columns: repeat(2, minmax(0,1fr)); }
@media (min-width: 760px) { .pgrid--3 { grid-template-columns: repeat(3, minmax(0,1fr)); } }

.pgrid--2 { grid-template-columns: repeat(2, minmax(0,1fr)); }

/* horizontal scroll rail on small screens */
.rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(232px, 74%);
  gap: var(--sp-4);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-block-end: var(--sp-3);
  padding-inline: var(--gutter);
  margin-inline: calc(var(--gutter) * -1);
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }

@media (min-width: 760px) {
  .rail {
    grid-auto-flow: row;
    grid-auto-columns: auto;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    overflow: visible;
    padding-inline: 0;
    margin-inline: 0;
    gap: var(--sp-6);
  }
}

/* ============================================================
   9. Forms
   ============================================================ */

.field { display: flex; flex-direction: column; gap: var(--sp-2); }

.label {
  font-size: var(--fs-sm);
  font-weight: var(--fw-semi);
  color: var(--iron-800);
  display: flex;
  align-items: center;
  gap: var(--sp-2);
}

.label__req { color: var(--ember-500); font-weight: var(--fw-bold); }
.label__opt { color: var(--text-faint); font-weight: var(--fw-regular); font-size: var(--fs-xs); }

.input, .select, .textarea {
  inline-size: 100%;
  padding: var(--sp-3) var(--sp-4);
  min-block-size: 52px;
  border: 1.5px solid var(--line-field);
  border-radius: var(--r-sm);
  background: var(--white);
  color: var(--text);
  font-size: var(--fs-base);
  line-height: 1.5;
  transition: border-color var(--t-fast) var(--ease-out),
              box-shadow var(--t-fast) var(--ease-out),
              background var(--t-fast) var(--ease-out);
  appearance: none;
}

.input::placeholder, .textarea::placeholder { color: var(--text-faint); }

.input:hover, .select:hover, .textarea:hover { border-color: var(--iron-500); }

.input:focus, .select:focus, .textarea:focus {
  outline: none;
  border-color: var(--ember-400);
  box-shadow: 0 0 0 4px var(--ember-50);
}

.textarea { min-block-size: 132px; resize: vertical; line-height: var(--lh-body); }

.select {
  padding-inline-end: var(--sp-10);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23766B5C' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: left var(--sp-4) center;
  background-size: 20px;
  cursor: pointer;
}

.field.is-invalid .input,
.field.is-invalid .select,
.field.is-invalid .textarea {
  border-color: var(--danger-500);
  background: var(--danger-100);
}
.field.is-invalid .input:focus,
.field.is-invalid .select:focus,
.field.is-invalid .textarea:focus { box-shadow: 0 0 0 4px rgba(178,58,46,.12); }

.field.is-valid .input { border-color: var(--success-500); }

.field__error {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--fs-xs);
  font-weight: var(--fw-semi);
  color: var(--danger-600);
}
.field__error svg { flex: none; }

.field__hint { font-size: var(--fs-xs); color: var(--text-muted); }

.field-row {
  display: grid;
  gap: var(--sp-4);
  grid-template-columns: 1fr;
}
@media (min-width: 620px) {
  .field-row--2 { grid-template-columns: 1fr 1fr; }
  .field-row--3 { grid-template-columns: repeat(3, 1fr); }
  .field-row--2-1 { grid-template-columns: 2fr 1fr; }
}

/* --- checkbox & radio --- */

.check {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  cursor: pointer;
  font-size: var(--fs-sm);
  line-height: var(--lh-snug);
  color: var(--text-soft);
  user-select: none;
}

.check input {
  appearance: none;
  flex: none;
  inline-size: 22px;
  block-size: 22px;
  margin-block-start: 1px;
  /* the box outline is the only thing identifying an unchecked
     checkbox/radio — WCAG 1.4.11 wants 3:1, iron-300 gave 2.02:1 */
  border: 1.5px solid var(--line-field);
  border-radius: var(--r-xs);
  background: var(--white);
  cursor: pointer;
  transition: all var(--t-fast) var(--ease-out);
  position: relative;
}

.check input[type="radio"] { border-radius: 50%; }

.check input:hover { border-color: var(--iron-600); }

.check input:checked {
  background: var(--ember-500);
  border-color: var(--ember-500);
}

.check input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  inset-block-start: 4px;
  inset-inline-start: 6px;
  inline-size: 7px;
  block-size: 11px;
  border: solid #FFF;
  border-width: 0 2.5px 2.5px 0;
  transform: rotate(40deg);
}

.check input[type="radio"]:checked::after {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background: #FFF;
}

.check input:focus-visible { outline: 2.5px solid var(--focus); outline-offset: 2px; }

/* --- radio card (delivery / payment choices) --- */

.rcard {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: var(--sp-4);
  padding: var(--sp-4) var(--sp-5);
  border: 1.5px solid var(--iron-200);
  border-radius: var(--r-md);
  background: var(--white);
  cursor: pointer;
  transition: all var(--t-fast) var(--ease-out);
}

.rcard:hover { border-color: var(--iron-300); background: var(--paper); }

.rcard input {
  appearance: none;
  flex: none;
  inline-size: 22px;
  block-size: 22px;
  margin-block-start: 2px;
  border: 1.5px solid var(--iron-300);
  border-radius: 50%;
  background: var(--white);
  cursor: pointer;
  position: relative;
  transition: all var(--t-fast) var(--ease-out);
}

.rcard input:checked { border-color: var(--ember-500); border-width: 7px; }
.rcard input:focus-visible { outline: 2.5px solid var(--focus); outline-offset: 2px; }

.rcard:has(input:checked) {
  border-color: var(--ember-400);
  background: var(--ember-50);
  box-shadow: 0 0 0 3px var(--ember-50);
}

.rcard__body { flex: 1; min-inline-size: 0; display: flex; flex-direction: column; gap: 2px; }
.rcard__title { font-weight: var(--fw-semi); color: var(--iron-900); display: flex; align-items: center; gap: var(--sp-2); flex-wrap: wrap; }
.rcard__note { font-size: var(--fs-xs); color: var(--text-muted); line-height: var(--lh-snug); }
.rcard__price { font-weight: var(--fw-bold); font-variant-numeric: tabular-nums; flex: none; }

/* --- size / option selector --- */

.opts { display: flex; flex-wrap: wrap; gap: var(--sp-2); }

.opt {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  min-inline-size: 62px;
  padding: var(--sp-2) var(--sp-3);
  min-block-size: 54px;
  border: 1.5px solid var(--iron-200);
  border-radius: var(--r-sm);
  background: var(--white);
  cursor: pointer;
  transition: all var(--t-fast) var(--ease-out);
  text-align: center;
}

.opt:hover { border-color: var(--iron-400); transform: translateY(-1px); }

.opt__label { font-size: var(--fs-base); font-weight: var(--fw-bold); line-height: 1.1; color: var(--iron-900); }
.opt__sub { font-size: 10.5px; color: var(--text-muted); font-weight: var(--fw-medium); line-height: 1.2; }

.opt[aria-checked="true"] {
  border-color: var(--iron-900);
  background: var(--iron-900);
  box-shadow: var(--sh-2);
}
.opt[aria-checked="true"] .opt__label { color: var(--text-on-dark); }
.opt[aria-checked="true"] .opt__sub { color: var(--text-on-dark-soft); }

.opt[aria-disabled="true"] {
  opacity: .4;
  cursor: not-allowed;
  background: var(--paper-2);
}
.opt[aria-disabled="true"]::after {
  content: "";
  position: absolute;
  inset-block-start: 50%;
  inset-inline: 6px;
  border-top: 1.5px solid var(--iron-400);
  transform: rotate(-16deg);
}

/* ============================================================
   10. Quantity stepper
   ============================================================ */

.qty {
  display: inline-flex;
  align-items: center;
  border: 1.5px solid var(--iron-200);
  border-radius: var(--r-full);
  background: var(--white);
  overflow: hidden;
  flex: none;
}

.qty__btn {
  inline-size: 42px;
  block-size: 46px;
  display: grid;
  place-items: center;
  color: var(--iron-700);
  transition: background var(--t-fast) var(--ease-out), color var(--t-fast) var(--ease-out);
}
.qty__btn:hover:not([disabled]) { background: var(--paper-2); color: var(--ember-600); }
.qty__btn[disabled] { opacity: .3; cursor: not-allowed; }

.qty__val {
  inline-size: 44px;
  text-align: center;
  border: 0;
  background: transparent;
  font-size: var(--fs-base);
  font-weight: var(--fw-bold);
  font-variant-numeric: tabular-nums;
  color: var(--iron-900);
  -moz-appearance: textfield;
}
.qty__val::-webkit-outer-spin-button,
.qty__val::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.qty--sm .qty__btn { inline-size: 34px; block-size: 36px; }
.qty--sm .qty__val { inline-size: 34px; font-size: var(--fs-sm); }

/* ============================================================
   11. Accordion
   ============================================================ */

.acc { border-block-end: 1px solid var(--line); }
.acc:first-of-type { border-block-start: 1px solid var(--line); }

.acc__btn {
  inline-size: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  padding: var(--sp-5) 0;
  text-align: start;
  font-size: var(--fs-base);
  font-weight: var(--fw-semi);
  color: var(--iron-900);
  transition: color var(--t-fast) var(--ease-out);
}

.acc__btn:hover { color: var(--ember-600); }

.acc__ico {
  flex: none;
  inline-size: 28px;
  block-size: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--paper-2);
  color: var(--iron-600);
  transition: transform var(--t) var(--ease-out), background var(--t-fast) var(--ease-out);
}

.acc__btn:hover .acc__ico { background: var(--ember-100); color: var(--ember-600); }
.acc__btn[aria-expanded="true"] .acc__ico { transform: rotate(180deg); background: var(--iron-900); color: var(--text-on-dark); }

.acc__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--t) var(--ease-out);
}
.acc__panel > div { overflow: hidden; }
.acc__panel.is-open { grid-template-rows: 1fr; }
.acc__inner { padding-block-end: var(--sp-6); color: var(--text-soft); line-height: var(--lh-loose); }
.acc__inner > * + * { margin-block-start: var(--sp-4); }

/* ============================================================
   12. Tabs
   ============================================================ */

.tabs {
  display: flex;
  gap: var(--sp-1);
  border-block-end: 1.5px solid var(--line);
  overflow-x: auto;
  scrollbar-width: none;
}
.tabs::-webkit-scrollbar { display: none; }

.tab {
  position: relative;
  padding: var(--sp-4) var(--sp-5);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semi);
  color: var(--text-muted);
  white-space: nowrap;
  transition: color var(--t-fast) var(--ease-out);
}

.tab::after {
  content: "";
  position: absolute;
  inset-block-end: -1.5px;
  inset-inline: var(--sp-3);
  block-size: 2.5px;
  border-radius: 2px;
  background: var(--ember-500);
  transform: scaleX(0);
  transition: transform var(--t) var(--ease-out);
}

.tab:hover { color: var(--text); }
.tab[aria-selected="true"] { color: var(--ember-700); }
.tab[aria-selected="true"]::after { transform: scaleX(1); }

/* ============================================================
   13. Overlay, drawer, modal
   ============================================================ */

.overlay {
  position: fixed;
  inset: 0;
  z-index: var(--z-overlay);
  background: rgba(16,14,12,.52);
  backdrop-filter: blur(3px);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--t) var(--ease-out), visibility var(--t);
}
.overlay.is-open { opacity: 1; visibility: visible; }

.drawer {
  position: fixed;
  inset-block: 0;
  inset-inline-end: 0;
  z-index: var(--z-drawer);
  inline-size: min(440px, 100vw);
  display: flex;
  flex-direction: column;
  background: var(--paper);
  box-shadow: var(--sh-5);
  transform: translateX(-102%); /* RTL: end edge is on the left */
  transition: transform var(--t-slow) var(--ease-out);
  visibility: hidden;
}
.drawer.is-open { transform: none; visibility: visible; }

.drawer--start {
  inset-inline: 0 auto;
  transform: translateX(102%);
}
.drawer--start.is-open { transform: none; }

.drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  padding: var(--sp-5) var(--sp-6);
  border-block-end: 1px solid var(--line);
  background: var(--white);
  flex: none;
}

.drawer__title {
  font-size: var(--fs-h4);
  font-weight: var(--fw-bold);
  display: flex;
  align-items: center;
  gap: var(--sp-3);
}

.drawer__body {
  flex: 1;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: var(--sp-5) var(--sp-6);
}

.drawer__foot {
  flex: none;
  padding: var(--sp-5) var(--sp-6);
  border-block-start: 1px solid var(--line);
  background: var(--white);
  box-shadow: 0 -8px 24px rgba(16,14,12,.05);
}

.iclose {
  inline-size: 42px;
  block-size: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--iron-600);
  transition: all var(--t-fast) var(--ease-out);
  flex: none;
}
.iclose:hover { background: var(--paper-2); color: var(--iron-900); transform: rotate(90deg); }

.modal {
  position: fixed;
  inset: 0;
  z-index: var(--z-modal);
  display: grid;
  place-items: center;
  padding: var(--gutter);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--t) var(--ease-out), visibility var(--t);
}
.modal.is-open { opacity: 1; visibility: visible; }

.modal__panel {
  position: relative;
  inline-size: min(680px, 100%);
  max-block-size: min(88vh, 900px);
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border-radius: var(--r-xl);
  box-shadow: var(--sh-5);
  overflow: hidden;
  transform: translateY(20px) scale(.97);
  transition: transform var(--t-slow) var(--ease-out);
}
.modal.is-open .modal__panel { transform: none; }

.modal__panel--wide { inline-size: min(1000px, 100%); }

.modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  padding: var(--sp-5) var(--sp-6);
  border-block-end: 1px solid var(--line);
  background: var(--white);
  flex: none;
}

.modal__body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: var(--sp-6); }
.modal__foot { flex: none; padding: var(--sp-5) var(--sp-6); border-block-start: 1px solid var(--line); background: var(--white); }

/* ============================================================
   14. Toasts
   ============================================================ */

.toast-stack {
  position: fixed;
  inset-block-end: var(--sp-6);
  inset-inline-start: 50%;
  transform: translateX(50%);
  z-index: var(--z-toast);
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  inline-size: min(420px, calc(100vw - 2 * var(--gutter)));
  pointer-events: none;
}

@media (min-width: 760px) {
  .toast-stack {
    inset-block: auto var(--sp-8);
    inset-inline: auto var(--sp-8);
    transform: none;
  }
}

.toast {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  padding: var(--sp-4) var(--sp-5);
  border-radius: var(--r-md);
  background: var(--iron-900);
  color: var(--text-on-dark);
  box-shadow: var(--sh-5);
  pointer-events: auto;
  animation: toast-in var(--t-slow) var(--ease-spring) both;
  font-size: var(--fs-sm);
  line-height: var(--lh-snug);
}

.toast.is-out { animation: toast-out var(--t) var(--ease-in-out) both; }

.toast__ico {
  flex: none;
  inline-size: 24px;
  block-size: 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--success-500);
  color: #FFF;
}
.toast--error .toast__ico { background: var(--danger-500); }
.toast--info .toast__ico { background: var(--info-500); }

.toast__body { flex: 1; min-inline-size: 0; }
.toast__title { font-weight: var(--fw-bold); }
.toast__note { color: var(--text-on-dark-soft); font-size: var(--fs-xs); margin-block-start: 2px; }

.toast__act {
  flex: none;
  font-weight: var(--fw-bold);
  font-size: var(--fs-xs);
  color: var(--brass-300);
  padding: var(--sp-1) var(--sp-2);
  border-radius: var(--r-xs);
}
.toast__act:hover { background: rgba(246,241,232,.12); }

@keyframes toast-in {
  from { opacity: 0; transform: translateY(24px) scale(.94); }
  to   { opacity: 1; transform: none; }
}
@keyframes toast-out {
  to { opacity: 0; transform: translateY(10px) scale(.96); }
}

/* ============================================================
   15. Shipping note
   ------------------------------------------------------------
   Was a free-shipping progress meter. There is no threshold to
   progress towards any more — delivery is a flat regional fee —
   so the bar is gone and only the two-line note remains.
   ============================================================ */

.ship-note {
  display: flex;
  align-items: start;
  gap: var(--sp-2);
  font-size: var(--fs-xs);
  color: var(--text-soft);
  line-height: var(--lh-snug);
}
.ship-note strong { color: var(--ember-600); font-weight: var(--fw-bold); }
.ship-note svg { flex: none; margin-block-start: 1px; }

.ship-note--alt strong { color: var(--success-600); }

/* ============================================================
   16. Breadcrumbs
   ============================================================ */

.crumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--sp-2);
  font-size: var(--fs-xs);
  color: var(--text-muted);
}
.crumbs a:hover { color: var(--ember-600); }
.crumbs li { display: flex; align-items: center; gap: var(--sp-2); }
.crumbs li:not(:last-child)::after {
  content: "";
  inline-size: 5px;
  block-size: 5px;
  border-block-start: 1.5px solid var(--iron-300);
  border-inline-start: 1.5px solid var(--iron-300);
  transform: rotate(-45deg);
  opacity: .9;
}
.crumbs [aria-current] { color: var(--text-soft); font-weight: var(--fw-semi); }

/* ============================================================
   17. Callouts
   ============================================================ */

.note {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  padding: var(--sp-4) var(--sp-5);
  border-radius: var(--r-md);
  background: var(--paper-2);
  border-inline-start: 3px solid var(--iron-300);
  font-size: var(--fs-sm);
  line-height: var(--lh-snug);
  color: var(--text-soft);
}
.note svg { flex: none; margin-block-start: 2px; }
.note strong { color: var(--text); }

.note--info    { background: var(--info-100);    border-color: var(--info-500);    color: #1F4E69; }
.note--warn    { background: var(--warn-100);    border-color: var(--warn-500);    color: #6E4A0C; }
.note--success { background: var(--success-100); border-color: var(--success-500); color: #1A5335; }
.note--danger  { background: var(--danger-100);  border-color: var(--danger-500);  color: #7B241B; }
.note--ember   { background: var(--ember-50);    border-color: var(--ember-400);   color: var(--ember-800); }

/* ============================================================
   18. Spec table
   ============================================================ */

.spec {
  inline-size: 100%;
  font-size: var(--fs-sm);
}
.spec th, .spec td { padding: var(--sp-3) var(--sp-4); text-align: start; }
.spec tbody tr { border-block-end: 1px solid var(--line-soft); }
.spec tbody tr:last-child { border-block-end: 0; }
.spec tbody tr:nth-child(odd) { background: var(--paper); }
.spec th { color: var(--text-muted); font-weight: var(--fw-medium); inline-size: 42%; }
.spec td { color: var(--iron-900); font-weight: var(--fw-semi); font-variant-numeric: tabular-nums; }

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--white);
  /* RTL leak: the wrapper is correctly sized and IS a scroll container, but
     the 560px-min table inside still extended the document's scrollable area
     to the inline-end side, letting the whole page scroll sideways on mobile
     into empty background. Establishing a positioning context here contains
     it. Verified: 125px of page overflow on a 375px viewport -> 0. */
  position: relative;
}

.dtable { inline-size: 100%; font-size: var(--fs-sm); min-inline-size: 560px; }
.dtable thead th {
  background: var(--iron-900);
  color: var(--text-on-dark);
  padding: var(--sp-4);
  text-align: start;
  font-weight: var(--fw-semi);
  font-size: var(--fs-xs);
  letter-spacing: var(--tr-wide);
  white-space: nowrap;
}
.dtable tbody td { padding: var(--sp-4); border-block-end: 1px solid var(--line-soft); font-variant-numeric: tabular-nums; }
.dtable tbody tr:last-child td { border-block-end: 0; }
.dtable tbody tr:hover { background: var(--ember-50); }
.dtable tbody tr.is-highlight { background: var(--brass-100); }
.dtable tbody tr.is-highlight:hover { background: var(--brass-100); }

/* ============================================================
   19. Skeleton
   ============================================================ */

.skel {
  border-radius: var(--r-sm);
  background: linear-gradient(90deg, var(--iron-100) 25%, var(--iron-50) 50%, var(--iron-100) 75%);
  background-size: 200% 100%;
  animation: skel 1.4s ease-in-out infinite;
}
@keyframes skel { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

/* ============================================================
   20. Empty state
   ============================================================ */

.empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--sp-4);
  padding: var(--sp-16) var(--sp-6);
}
.empty__ico {
  inline-size: 76px;
  block-size: 76px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--paper-2);
  color: var(--iron-400);
}
.empty h3 { font-size: var(--fs-h3); }
.empty p { color: var(--text-muted); max-width: 44ch; }

/* ============================================================
   21. Value pillars / trust strip
   ============================================================ */

.pillars {
  display: grid;
  gap: var(--sp-4);
  grid-template-columns: repeat(2, minmax(0,1fr));
}
@media (min-width: 860px) { .pillars { grid-template-columns: repeat(4, minmax(0,1fr)); gap: var(--sp-5); } }

.pillar {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--sp-3);
  padding: var(--sp-5);
  border-radius: var(--r-md);
  background: var(--white);
  border: 1px solid var(--line-soft);
  transition: border-color var(--t) var(--ease-out), box-shadow var(--t) var(--ease-out), transform var(--t) var(--ease-out);
}
.pillar:hover { border-color: var(--iron-200); box-shadow: var(--sh-2); transform: translateY(-2px); }

.pillar__ico {
  inline-size: 44px;
  block-size: 44px;
  display: grid;
  place-items: center;
  border-radius: var(--r-sm);
  background: var(--ember-50);
  color: var(--ember-600);
  flex: none;
}
.pillar__title { font-size: var(--fs-base); font-weight: var(--fw-bold); letter-spacing: var(--tr-tight); }
.pillar__note { font-size: var(--fs-xs); color: var(--text-muted); line-height: var(--lh-snug); }

.pillars--bare .pillar {
  background: transparent;
  border: 0;
  padding: var(--sp-3) 0;
}
.pillars--bare .pillar:hover { transform: none; box-shadow: none; }

.pillars--dark .pillar { background: rgba(246,241,232,.04); border-color: var(--line-on-dark); }
.pillars--dark .pillar:hover { border-color: rgba(246,241,232,.28); }
.pillars--dark .pillar__ico { background: rgba(222,196,140,.14); color: var(--brass-300); }
.pillars--dark .pillar__title { color: var(--text-on-dark); }
.pillars--dark .pillar__note { color: var(--text-on-dark-soft); }

/* --- compact inline trust row --- */

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3) var(--sp-6);
  align-items: center;
}
.trust-item {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--fs-xs);
  font-weight: var(--fw-semi);
  color: var(--text-soft);
}
.trust-item svg { flex: none; color: var(--olive-500); }

/* ============================================================
   22. Steps (checkout)
   ============================================================ */

.steps { display: flex; align-items: center; gap: var(--sp-2); }

.step {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--fs-xs);
  font-weight: var(--fw-semi);
  color: var(--text-faint);
  white-space: nowrap;
}

.step__dot {
  inline-size: 26px;
  block-size: 26px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1.5px solid var(--iron-200);
  background: var(--white);
  font-size: var(--fs-2xs);
  font-weight: var(--fw-bold);
  font-variant-numeric: tabular-nums;
  flex: none;
  transition: all var(--t) var(--ease-out);
}

.step.is-active { color: var(--ember-700); }
.step.is-active .step__dot { background: var(--ember-500); border-color: var(--ember-500); color: #FFF; box-shadow: 0 0 0 4px var(--ember-50); }

.step.is-done { color: var(--success-600); }
.step.is-done .step__dot { background: var(--success-500); border-color: var(--success-500); color: #FFF; }

.step__sep {
  flex: 1;
  min-inline-size: 12px;
  block-size: 1.5px;
  background: var(--line);
  border-radius: 2px;
}
.step__sep.is-done { background: var(--success-500); }

@media (max-width: 620px) {
  .step__label { display: none; }
  .step__label.is-current { display: inline; }
}

/* ============================================================
   23. Sticky action bar (mobile PDP / checkout)
   ============================================================ */

.sticky-bar {
  position: fixed;
  inset-block-end: 0;
  inset-inline: 0;
  z-index: var(--z-sticky);
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-3) var(--gutter);
  padding-block-end: calc(var(--sp-3) + env(safe-area-inset-bottom, 0px));
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(14px);
  border-block-start: 1px solid var(--line);
  box-shadow: 0 -6px 24px rgba(16,14,12,.09);
  transform: translateY(100%);
  transition: transform var(--t-slow) var(--ease-out);
}
.sticky-bar.is-visible { transform: none; }

.sticky-bar__info { flex: 1; min-inline-size: 0; }
.sticky-bar__name {
  font-size: var(--fs-xs);
  font-weight: var(--fw-semi);
  color: var(--text-soft);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ============================================================
   24. Marquee (press / logos)
   ============================================================ */

.marquee {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee__track {
  display: flex;
  align-items: center;
  gap: var(--sp-12);
  inline-size: max-content;
  animation: marquee 38s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }

@keyframes marquee { to { transform: translateX(50%); } }

@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; }
  .marquee { mask-image: none; -webkit-mask-image: none; overflow-x: auto; }
}

/* ============================================================
   25. Divider with label
   ============================================================ */

.divider {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  color: var(--text-faint);
  font-size: var(--fs-xs);
  font-weight: var(--fw-semi);
}
.divider::before, .divider::after {
  content: "";
  flex: 1;
  block-size: 1px;
  background: var(--line);
}

/* ============================================================
   26. Tooltip
   ============================================================ */

.tip { position: relative; display: inline-flex; }

.tip__bubble {
  position: absolute;
  inset-block-end: calc(100% + 10px);
  inset-inline-start: 50%;
  transform: translateX(50%) translateY(4px);
  z-index: var(--z-dropdown);
  inline-size: max-content;
  max-inline-size: 240px;
  padding: var(--sp-2) var(--sp-3);
  border-radius: var(--r-xs);
  background: var(--iron-900);
  color: var(--text-on-dark);
  font-size: var(--fs-2xs);
  font-weight: var(--fw-medium);
  line-height: 1.45;
  text-align: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--t-fast) var(--ease-out);
  pointer-events: none;
  box-shadow: var(--sh-3);
}
.tip__bubble::after {
  content: "";
  position: absolute;
  inset-block-start: 100%;
  inset-inline-start: 50%;
  transform: translateX(50%);
  border: 5px solid transparent;
  border-block-start-color: var(--iron-900);
}
.tip:hover .tip__bubble,
.tip:focus-within .tip__bubble { opacity: 1; visibility: visible; transform: translateX(50%); }

/* ============================================================
   27. Quote / testimonial
   ============================================================ */

.quote {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  padding: var(--sp-6);
  border-radius: var(--r-lg);
  background: var(--white);
  border: 1px solid var(--line-soft);
  block-size: 100%;
}

.quote__mark { color: var(--brass-300); flex: none; }
.quote__text { font-size: var(--fs-base); line-height: var(--lh-loose); color: var(--iron-800); flex: 1; }
.quote__who { display: flex; align-items: center; gap: var(--sp-3); }
.quote__av {
  inline-size: 40px;
  block-size: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--iron-900);
  color: var(--brass-300);
  font-weight: var(--fw-bold);
  font-size: var(--fs-sm);
  flex: none;
}
.quote__name { font-weight: var(--fw-semi); font-size: var(--fs-sm); }
.quote__meta { font-size: var(--fs-2xs); color: var(--text-muted); }

.quote--dark {
  background: rgba(246,241,232,.05);
  border-color: var(--line-on-dark);
}
.quote--dark .quote__text { color: var(--text-on-dark); }
.quote--dark .quote__name { color: var(--text-on-dark); }
.quote--dark .quote__meta { color: var(--text-on-dark-faint); }
.quote--dark .quote__av { background: var(--brass-400); color: var(--iron-900); }

/* ============================================================
   28. Demo-content flag (owner replaces these)
   ------------------------------------------------------------
   Currently unused: the homepage review placeholder it marked was
   replaced by the reviews themselves. Kept because PK.REVIEWS is
   still mock content — if anything on the site ever has to say so
   out loud before launch, this is the style to say it in.
   ============================================================ */

.demo-flag {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  padding: var(--sp-3) var(--sp-4);
  border: 1.5px dashed var(--warn-500);
  border-radius: var(--r-sm);
  background: var(--warn-100);
  color: #6E4A0C;
  font-size: var(--fs-xs);
  font-weight: var(--fw-semi);
  line-height: var(--lh-snug);
}
.demo-flag svg { flex: none; margin-block-start: 1px; }
