/* ==========================================================================
   Chrysalis Labs · commerce UI on every page · commerce-ui.css · 6 Oct 2026 (local integration, commerce area)
   Loads after the foundation (cl-v2-foundation) and after Egor's toast.css (inc/toast.php), on every front page,
   because the cart drawer, the search overlay, the toast and WooCommerce notices can appear anywhere.
   Part 1 = verbatim copies from the approved kit (chrysalis-homepage/site/kit/site.css v1.2, see VERSION.md),
            only "html.k-js" mapped to the foundation's no-js class.
   Part 2 = WordPress / WooCommerce glue: drawer body, overlay result rows, toast, notices, price markup.
   Tokens only; rounded house style (16px cards, 12px tiles, 24px panels, pill buttons, 44px circles).
   ========================================================================== */

/* ############################ Part 1 · kit copies ############################ */
/* ===== kit (site/kit/site.css v1.2) section 1: tokens + light island ===== */
/* ---------- 1. Tokens (kit-only; colours always come from theme tokens) ---------- */
:root {
  --k-measure: 68ch;                         /* prose column */
  --k-error: #B3261E;                        /* errors only (7.1:1 on white, 6.4:1 on fog) */
  --k-error-tint: rgba(179, 38, 30, .06);
  --k-head-top: clamp(28px, 3.2vw, 64px);
  --k-sec-y: clamp(48px, 2.5rem + 3vw, 104px);
  --k-control-h: 48px;                       /* inputs and selects: >= 44px target */
  --k-sticky-top: calc(var(--header-h) + 24px);
  --k-r-field: var(--r-tile, 12px);          /* inputs, selects, textareas */
  --k-r-opt: 14px;                           /* option rows (delivery, payment): one step above a field */
  --k-r-check: 6px;
  --k-card-pad: 12px;                        /* white card padding around the tile (live theme: 11-12px) */
  --k-box-pad: clamp(20px, 2.4vw, 32px);     /* summary, checkout steps, form cards */
  --k-act: 44px;                             /* circular card action */
  --k-tile-bg: var(--c-mist);
  --k-shadow-hover: 0 18px 40px -24px rgba(14, 14, 16, .28), 0 2px 6px -3px rgba(14, 14, 16, .10);
}
/* Surfaces follow the section they sit in: a white page gets mist wells and hairline-ringed
   cards; a mist or fog page gets white wells and borderless white cards. */
[data-theme], [data-tone] { --k-surface: var(--c-white); --k-surface-2: var(--c-mist); --k-ring: transparent; }
:is([data-theme="white"], [data-theme="light"], [data-tone="white"], [data-tone="light"]) { --k-surface: var(--c-mist); --k-surface-2: var(--c-white); --k-ring: var(--rule); }
:is([data-theme="void"], [data-theme="dark"], [data-theme="onyx"], [data-theme="ink"],
    [data-tone="void"], [data-tone="dark"], [data-tone="onyx"], [data-tone="ink"]) { --k-surface: rgba(255, 255, 255, .06); --k-surface-2: rgba(255, 255, 255, .10); --k-ring: transparent; }

/* Light island: white box whose text and hairlines stay in the light family */
.k-card, .k-box, .k-sum, .k-step, .k-cart__lines, .k-infocard, .k-linkcard, .k-table-wrap, .k-search, .k-acc--cards .cl-acc__item {
  --bg: var(--c-white); --fg: var(--l-fg); --fg-2: var(--l-fg-2); --fg-3: var(--l-fg-3);
  --rule: rgba(14, 14, 16, .12); --rule-2: rgba(14, 14, 16, .26); --line-ui: rgba(14, 14, 16, .52);
  --tint: rgba(14, 14, 16, .04); --wipe: var(--c-graphite); --focus: #0E0E10;
  --k-surface: var(--c-mist); --k-surface-2: var(--c-white);
  background-color: var(--c-white); color: var(--fg);
}
.k-box, .k-sum, .k-step, .k-cart__lines { border-radius: var(--r-card); box-shadow: 0 0 0 1px var(--k-ring); }
.k-box, .k-sum, .k-step { padding: var(--k-box-pad); }


/* ===== kit section 8 (part): one-line rows ===== */
/* One-line rows (accessory, search hits, compact lists): small tile · name · meta · price · arrow circle */
.k-rows { margin: 0; padding: 0; list-style: none; border-bottom: 1px solid var(--rule); }
.k-row { position: relative; border-top: 1px solid var(--rule); transition: border-color var(--d-s) var(--ease-out); }
.k-row__a {
  display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; grid-template-areas: "img name price" "img meta meta";
  align-items: center; column-gap: 16px; row-gap: 2px; min-height: 88px; padding: 12px 0; border-radius: var(--r-tile);
}
.k-row__img { grid-area: img; width: 64px; height: 64px; padding: 4px; border-radius: 10px; background: var(--k-surface); object-fit: contain; object-position: 50% 55%; }
.k-row__name { grid-area: name; font-size: var(--fs-h4); line-height: 1.25; overflow-wrap: anywhere; }
.k-row__meta { grid-area: meta; }
.k-row__price { grid-area: price; font-size: .9375rem; text-align: right; white-space: nowrap; }
.k-row__go { display: none; }
@media (min-width: 900px) {
  .k-row__a { grid-template-columns: 72px minmax(0, 1.4fr) minmax(0, 1.2fr) minmax(0, 1fr) var(--target); grid-template-areas: "img name meta price go"; }
  .k-row__img { width: 72px; height: 72px; }
  .k-row__price { text-align: left; }
  .k-row__go {
    grid-area: go; display: grid; place-items: center; width: var(--target); height: var(--target); border-radius: 50%;
    box-shadow: inset 0 0 0 1px var(--rule); color: var(--fg);   /* ring as light as the header circles (base v1.1b) */
    transition: background-color var(--d-s) var(--ease-out), color var(--d-s) var(--ease-out), box-shadow var(--d-s) var(--ease-out);
  }
  .k-row__go .i { transition: transform var(--d-s) var(--ease-out); }
}
.k-row__a:focus-visible { outline-offset: 4px; }
@media (hover: hover) and (pointer: fine) {
  .k-row:hover { border-top-color: var(--fg); }
  .k-row:hover .k-row__go { background: var(--fg); color: var(--bg); box-shadow: inset 0 0 0 1px var(--fg); }
  .k-row:hover .k-row__go .i { transform: translateX(var(--nudge)); }
}


/* ===== kit section 10 (part): quantity stepper ===== */
/* Quantity stepper (pill, 44px circles):
   <div class="k-qty" data-k-qty><button type="button" data-qty-dec aria-label="Decrease quantity">−</button><input type="number" min="1" value="1" aria-label="Quantity"><button type="button" data-qty-inc aria-label="Increase quantity">+</button></div> */
.k-qty { display: inline-flex; align-items: center; height: 48px; padding: 0 1px; border: 1px solid var(--rule-2); border-radius: var(--r-chip); }
.k-qty button { display: grid; place-items: center; width: var(--target); height: var(--target); border-radius: 50%; color: var(--fg); transition: background-color var(--d-xs) var(--ease-out), transform var(--d-xs) var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .k-qty button:hover { background: var(--tint); } }
.k-qty button:active { transform: scale(.92); }
.k-qty button:disabled { opacity: .35; cursor: not-allowed; background: none; transform: none; }
.k-qty button:focus-visible { outline-offset: -2px; }
.k-qty input {
  width: 40px; height: var(--target); padding: 0; border: 0; border-radius: 8px; background: transparent; color: var(--fg);
  font-family: var(--font-num); font-size: .8125rem; font-weight: 500; text-align: center; -moz-appearance: textfield; appearance: textfield;
}
.k-qty input::-webkit-outer-spin-button, .k-qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.k-qty input:focus-visible { outline: 2px solid var(--focus); outline-offset: -2px; }
.k-qty--sm input { width: 32px; }

/* ===== kit section 11 (part): summary rows, cart lines, progress ===== */
.k-sum__title { padding: 0 0 6px; font-size: var(--fs-h4); line-height: 1.3; }
.k-sum__lines { margin: 0; padding: 0; list-style: none; }
.k-sum__line { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; column-gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--rule); }
.k-sum__line img { width: 52px; height: 52px; padding: 3px; border-radius: 10px; background: var(--k-tile-bg); object-fit: contain; object-position: 50% 55%; }
.k-sum__name { font-size: .9375rem; line-height: 1.3; overflow-wrap: anywhere; }
.k-sum__meta { display: block; margin-top: 2px; }
.k-sum__amt { font-variant-numeric: tabular-nums; white-space: nowrap; font-size: .9375rem; }
.k-sum__rows { margin: 0; padding: 8px 0 0; }
.k-sum__row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 7px 0; font-size: .9375rem; }
.k-sum__row dt { color: var(--fg-2); }
.k-sum__row dd { margin: 0; font-variant-numeric: tabular-nums; white-space: nowrap; text-align: right; }
.k-sum__row--minus dd { color: var(--fg); }
.k-sum__row--total { margin-top: 8px; padding-top: 14px; border-top: 1px solid var(--rule-2); font-size: 1.25rem; letter-spacing: -.01em; }
.k-sum__row--total dt { color: var(--fg); }
.k-sum__notes { margin-top: 16px; padding: 14px 16px; border-radius: var(--r-tile); background: var(--k-surface); display: grid; gap: 8px; color: var(--fg-2); font-size: var(--fs-micro); line-height: 1.45; }
.k-sum__cta { margin-top: 20px; display: grid; gap: 12px; }
.k-sum .k-field { margin-top: 12px; }
.k-line { display: grid; grid-template-columns: 76px minmax(0, 1fr); grid-template-areas: "img info" "img ctl"; column-gap: 16px; row-gap: 12px; padding: 16px 0; border-top: 1px solid var(--rule); }
.k-line:first-child { border-top: 0; }
.k-line__img { grid-area: img; width: 76px; height: 76px; padding: 4px; border-radius: var(--r-tile); background: var(--k-tile-bg); object-fit: contain; object-position: 50% 55%; }
.k-line__info { grid-area: info; display: flex; justify-content: space-between; gap: 12px; min-width: 0; }
.k-line__name { font-size: 1.0625rem; font-weight: 500; line-height: 1.25; overflow-wrap: anywhere; }
.k-line__name a { color: inherit; }
.k-line__meta { display: block; margin-top: 4px; }
.k-line__unit { display: block; margin-top: 4px; font-size: var(--fs-micro); color: var(--fg-3); }
.k-line__total { font-variant-numeric: tabular-nums; white-space: nowrap; }
.k-line__ctl { grid-area: ctl; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.k-line__remove { min-height: var(--target); font-size: var(--fs-small); color: var(--fg-2); text-decoration: underline; text-underline-offset: .22em; text-decoration-thickness: 1px; }
.k-line__remove:hover { color: var(--fg); }
@media (min-width: 600px) { .k-line { grid-template-columns: 96px minmax(0, 1fr); } .k-line__img { width: 96px; height: 96px; } }
.k-progress { margin-top: 12px; font-size: var(--fs-micro); color: var(--fg-2); }
.k-progress__bar { height: 4px; margin-top: 8px; border-radius: var(--r-chip); background: var(--rule); position: relative; overflow: hidden; }
.k-progress__bar span { position: absolute; inset: 0; border-radius: inherit; background: var(--fg); transform-origin: 0 50%; transition: transform var(--d-m) var(--ease-out); }

/* ===== kit section 12: empty states, notices, placeholders, toast ===== */
/* ---------- 12. Empty states, notices, placeholders, toast ---------- */
/* <div class="k-empty"><svg class="i i--48">…</svg><h2 class="k-empty__title">…</h2><p class="k-empty__body">…</p><div class="k-empty__actions">…</div></div> */
.k-empty {
  display: grid; justify-items: start; gap: 14px;
  padding: clamp(28px, 4.5vw, 64px); border-radius: var(--r-block); background: var(--k-surface);
}
.k-empty > svg.i:first-child {
  --i: 28px; stroke-width: 12.8; box-sizing: content-box; padding: 18px; border-radius: 50%;
  background: var(--k-surface-2); color: var(--fg); margin-bottom: 6px;
}
.k-empty__title { font-size: var(--fs-h3); font-weight: 400; line-height: 1.12; letter-spacing: -.016em; }
.k-empty__body { max-width: 46ch; color: var(--fg-2); }
.k-empty__actions { margin-top: 8px; display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; }
.k-empty[hidden] { display: none; }
.k-empty--center { justify-items: center; text-align: center; }

.k-notice { padding: 14px 18px; border-radius: var(--r-tile); background: var(--k-surface); color: var(--fg-2); font-size: var(--fs-small); line-height: 1.5; }
.k-notice strong { color: var(--fg); }
.k-notice--proto { background: transparent; border: 1px dashed var(--line-ui); }
.k-notice--ok { background: transparent; box-shadow: inset 0 0 0 1px var(--fg); color: var(--fg); }
.k-notice[hidden] { display: none; }
.k-fineprint { color: var(--fg-3); font-size: var(--fs-micro); line-height: 1.5; max-width: 78ch; }
.k-fineprint + .k-fineprint { margin-top: 4px; }

/* Unconfirmed fact, rendered visibly: <span class="k-ph" title="Placeholder: not confirmed">[store email]</span> */
.k-ph { padding: 1px 6px; border: 1px dashed var(--line-ui); border-radius: 6px; color: var(--fg); font-family: var(--font-num); font-size: .78em; letter-spacing: .04em; white-space: nowrap; }

.k-toast {
  position: fixed; z-index: 120; right: var(--side); bottom: calc(16px + env(safe-area-inset-bottom, 0px)); left: auto;
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 2px 16px; width: min(420px, calc(100vw - 2 * var(--side)));
  padding: 12px 12px 12px 20px; border-radius: var(--r-card);
  background: var(--c-ink); color: var(--c-white); box-shadow: 0 0 0 1px rgba(255, 255, 255, .10), 0 24px 48px -24px rgba(0, 0, 0, .45);
  transform: translateY(12px); opacity: 0; pointer-events: none;
  transition: transform .2s var(--ease-in), opacity .2s var(--ease-in);
}
.k-toast.is-on { transform: none; opacity: 1; pointer-events: auto; transition: transform var(--d-s) var(--ease-out), opacity var(--d-s) var(--ease-out); }
.k-toast__title { font-weight: 500; }
.k-toast__text { grid-column: 1; color: var(--d-fg-2); font-size: var(--fs-micro); }
.k-toast__a {
  grid-row: 1 / span 2; grid-column: 2; display: inline-flex; align-items: center; gap: 8px; min-height: var(--target); padding: 0 18px;
  border-radius: var(--r-btn); background: var(--c-white); color: var(--c-void);
  font-size: .8125rem; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap;
  transition: background-color var(--d-s) var(--ease-out);
}
@media (hover: hover) and (pointer: fine) { .k-toast__a:hover { background: var(--c-silver); } }
.k-toast :focus-visible { outline: 2px solid var(--c-white); outline-offset: 2px; }


/* ===== kit section 16: utilities, entrance, reduced motion (k-js mapped to the foundation no-js class) ===== */
/* ---------- 16. Utilities, entrance, reduced motion ---------- */
.k-mt-1 { margin-top: 8px; } .k-mt-2 { margin-top: 16px; } .k-mt-3 { margin-top: 24px; } .k-mt-4 { margin-top: 40px; } .k-mt-5 { margin-top: 64px; }
.k-stack > * + * { margin-top: var(--k-gap, 16px); }
.k-nowrap { white-space: nowrap; }
.k-tab-num { font-variant-numeric: tabular-nums; }
.k-hide { display: none !important; }
html:not(.no-js) .k-nojs { display: none !important; }
html.no-js .k-jsonly, html.no-js button[data-k-add] { display: none !important; }
code { font-family: var(--font-num); font-size: .85em; letter-spacing: .02em; }

/* Entrance after a filter change or a JS render (site.js adds .k-in with --k-i = position) */
@media (prefers-reduced-motion: no-preference) {
  .k-in { animation: k-in var(--d-m) var(--ease-out) both; animation-delay: calc(var(--k-i, 0) * 40ms); }
  @keyframes k-in { from { opacity: 0; transform: translateY(10px); } }
}
@media (prefers-reduced-motion: reduce) {
  .k-card, .k-linkcard, .k-card__fig img, .k-linkcard__media img { transition: none; }
  .k-card:hover .k-card__fig img, .k-linkcard:hover .k-linkcard__media img, .k-card:has(.k-card__a:active), .k-linkcard:active { transform: none; }
  .k-card__fig::after, .k-card:hover .k-card__fig::after { display: none; }
  .k-tab:active, .k-chip:active, button.k-card__act:active, .k-qty button:active, .k-search__go:active { transform: none; }
  .k-progress__bar span { transition: none; }
  .k-toast, .k-toast.is-on { transform: none; transition: opacity .12s linear; }
}

/* ===== kit section 14 (part): pill chips ===== */
.k-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.k-chip { min-height: 40px; padding: 0 18px; font-size: .875rem; cursor: pointer; transition: background-color var(--d-s) var(--ease-out), border-color var(--d-s) var(--ease-out), color var(--d-s) var(--ease-out), transform var(--d-xs) var(--ease-out); }
.k-chip[aria-current="page"], .k-chip[aria-current="true"] { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.k-chip:active { transform: scale(.97); }
@media (pointer: coarse) { .k-chip { min-height: var(--target); } }
.k-chip .t-3 { font-family: var(--font-num); font-size: 10.5px; }
.k-chip[aria-pressed="true"] .t-3 { color: inherit; opacity: .7; }


/* ############################ Part 2 · WordPress / WooCommerce glue ############################ */

/* ---------- icons: the kit tuned strokes for the 256-grid Phosphor set; the original family (c-*) is a 24-grid ---------- */
.k-empty > svg.i:first-child { stroke-width: 1.35; }

/* ---------- prices (wc_price markup, "AED 370") ---------- */
.woocommerce-Price-amount { white-space: nowrap; font-variant-numeric: tabular-nums; }
.woocommerce-Price-amount bdi { unicode-bidi: normal; }

/* ---------- cart drawer body (footer.php #minicart; markup inc/minicart.php) ---------- */
.cl-drawer .cm-mini { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; }
.cm-mini__scroll { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 4px 24px 8px; }
.cm-mini .k-line { grid-template-columns: 72px minmax(0, 1fr); column-gap: 14px; padding: 16px 0; }
.cm-mini .k-line__img { width: 72px; height: 72px; }
.cm-mini .k-line__name { font-size: 1rem; }
.cm-mini .k-line__ctl { gap: 12px; }
.cm-mini__qty { display: inline-grid; place-items: center; min-width: 32px; height: var(--target); font-size: .8125rem; font-weight: 500; font-variant-numeric: tabular-nums; }
.cm-mini .k-line[aria-busy="true"], .k-line[aria-busy="true"] { opacity: .55; transition: opacity var(--d-s) var(--ease-out); }
.cm-mini__foot { flex: none; padding: 14px 24px calc(20px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--rule); background: var(--bg); }
.cm-mini__foot .k-sum__rows { padding-top: 0; }
.cm-mini__foot .k-sum__row--total { margin-top: 4px; padding-top: 10px; font-size: 1rem; }
.cm-mini__note { margin-top: 12px; }
.cm-mini__cta { margin-top: 16px; display: grid; gap: 10px; }
.cm-mini--empty { flex: 1 1 auto; display: grid; align-content: center; padding: 24px; }
.cm-mini--empty .k-empty { padding: 32px 24px; }
.cm-mini--empty .k-empty__title { font-size: var(--fs-h4); }
@media (min-width: 600px) { .cm-mini .k-line { grid-template-columns: 80px minmax(0, 1fr); } .cm-mini .k-line__img { width: 80px; height: 80px; } }

/* ---------- search overlay results (footer.php #search; rows inc/search.php) ----------
   The foundation's neutral fallback for result lists is overridden here (its selectors are 0,2,2 strong). */
.cl-search [data-search-panel="results"] .k-rows { display: block; gap: 0; }
.cl-search [data-search-panel="results"] .k-chips { display: flex; gap: 8px; }
.cl-search [data-search-panel="results"] .k-row__a {
  display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; grid-template-areas: "img name price" "img meta meta";
  align-items: center; column-gap: 16px; row-gap: 2px; min-height: 88px; padding: 12px 0;
}
@media (min-width: 900px) {
  .cl-search [data-search-panel="results"] .k-row__a { grid-template-columns: 72px minmax(0, 1.4fr) minmax(0, 1.2fr) minmax(0, 1fr) var(--target); grid-template-areas: "img name meta price go"; }
}
.cl-search [data-search-panel="results"] .k-row__img { flex: none; width: 64px; height: 64px; padding: 4px; border-radius: 10px; background: var(--k-surface); object-fit: contain; object-position: 50% 55%; }
@media (min-width: 900px) { .cl-search [data-search-panel="results"] .k-row__img { width: 72px; height: 72px; } }
.cm-sr__label { margin: 4px 0 10px; }
.cm-sr__chips + .cm-sr__label { margin-top: 24px; }
.cm-sr__all { margin-top: 18px; }
.k-row__hit { font-weight: 500; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em; }
@media (max-width: 599px) { .cm-row--sm-hide { display: none; } }

/* ---------- toast (assets/js/toast.js; the kit's k-toast + a close circle) ---------- */
.cl-toast {
  position: fixed; z-index: 125; left: var(--side); right: var(--side); bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 2px 8px;
  padding: 10px 8px 10px 20px; border-radius: var(--r-card);
  background: var(--c-ink); color: var(--c-white); box-shadow: 0 0 0 1px rgba(255, 255, 255, .10), 0 24px 48px -24px rgba(0, 0, 0, .45);
  --focus: #FFFFFF;
  transform: translateY(12px); opacity: 0; pointer-events: none;
  transition: transform .2s var(--ease-in), opacity .2s var(--ease-in);
}
.cl-toast[hidden] { display: none; }
.cl-toast.is-on { transform: none; opacity: 1; pointer-events: auto; transition: transform var(--d-s) var(--ease-out), opacity var(--d-s) var(--ease-out); }
@media (min-width: 600px) { .cl-toast { left: auto; width: min(460px, calc(100vw - 2 * var(--side))); } }
.cl-toast__body { min-width: 0; display: grid; gap: 2px; padding: 4px 0; }
.cl-toast__title { margin: 0; font-weight: 500; line-height: 1.3; }
.cl-toast__text { margin: 0; color: var(--d-fg-2); font-size: var(--fs-micro); line-height: 1.4; overflow-wrap: anywhere; }
.cl-toast__a {
  display: inline-flex; align-items: center; gap: 8px; min-height: var(--target); padding: 0 18px;
  border-radius: var(--r-btn); background: var(--c-white); color: var(--c-void);
  font-size: .8125rem; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; cursor: pointer;
  transition: background-color var(--d-s) var(--ease-out);
}
.cl-toast__a[hidden] { display: none; }
.cl-toast__a .i { transition: transform var(--d-s) var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .cl-toast__a:hover { background: var(--c-silver); } .cl-toast__a:hover .i { transform: translateX(var(--nudge)); } }
.cl-toast__x { display: grid; place-items: center; width: var(--target); height: var(--target); border-radius: 50%; color: var(--c-white); cursor: pointer; transition: background-color var(--d-s) var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .cl-toast__x:hover { background: rgba(255, 255, 255, .10); } }
.cl-toast :focus-visible { outline: 2px solid var(--c-white); outline-offset: 2px; }
/* the phone checkout bar of the cart page sits where the toast would */
html.cm-bar-on .cl-toast { bottom: calc(var(--cm-bar-h, 72px) + 24px + env(safe-area-inset-bottom, 0px)); }

/* ---------- WooCommerce notices (woocommerce/notices/*.php) ----------
   Egor's toast.css styles these too (old look, a red "!" disc); these rules are stronger and replace it. */
html body .woocommerce-error, html body .woocommerce-message, html body .woocommerce-info {
  display: block; list-style: none; margin: 0 0 16px; padding: 14px 18px; border: 0; border-radius: var(--r-tile);
  background: var(--k-surface, var(--c-mist)); color: var(--fg); font-size: var(--fs-small); line-height: 1.5;
}
html body .woocommerce-error > li, html body .woocommerce-message, html body .woocommerce-info { position: relative; padding-left: 0; }
html body .woocommerce-error { padding: 14px 18px; border: 1px solid var(--k-error); background: var(--k-error-tint); color: var(--l-fg); }
html body .woocommerce-error > li { padding: 0; }
html body .woocommerce-error > li + li { margin-top: 6px; padding-top: 6px; border-top: 1px solid rgba(179, 38, 30, .18); }
html body .woocommerce-message { padding: 14px 18px; background: transparent; box-shadow: inset 0 0 0 1px var(--fg); }
html body .woocommerce-info { padding: 14px 18px; }
html body .woocommerce-error > li::before, html body .woocommerce-message::before, html body .woocommerce-info::before { content: none; display: none; }
html body .woocommerce-error a { color: var(--k-error); text-decoration: underline; text-underline-offset: .2em; text-decoration-thickness: 1px; }
html body .woocommerce-message a, html body .woocommerce-info a { color: var(--fg); text-decoration: underline; text-underline-offset: .2em; text-decoration-thickness: 1px; }
html body .woocommerce-message .button, html body .woocommerce-info .button { float: none; margin-left: 8px; }
html body :is(.woocommerce-error, .woocommerce-message, .woocommerce-info):focus { outline: none; }
.woocommerce-notices-wrapper:empty, .cm-auth__notices:empty { display: none; }
/* "Added to cart" (woocommerce/notices/success.php): one kit k-notice--ok line, c-check icon, sentence, View cart */
html body .woocommerce-message.cl-notice--cart { display: flex; flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: flex-start; gap: 4px 12px; min-height: var(--target); padding-block: 10px; text-align: left; }
/* c-check (icons-chrysalis.svg, same path, stroke 1.5 on the 24 grid) as a mask: printed notices go through
   wc_kses_notice(), which strips <svg><use>, so the glyph cannot be markup here */
.cl-notice--cart .cl-notice__i {
  flex: none; width: 20px; height: 20px; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4.5 12.75l4.75 4.75L19.5 7.25'/%3E%3C/svg%3E") center / 20px 20px no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4.5 12.75l4.75 4.75L19.5 7.25'/%3E%3C/svg%3E") center / 20px 20px no-repeat;
}
@media (forced-colors: active) { .cl-notice--cart .cl-notice__i { background: CanvasText; } }
.cl-notice--cart .cl-notice__t { flex: 1 1 16em; min-width: 0; margin: 0; }
html body .woocommerce-message.cl-notice--cart .cl-notice__a { flex: none; text-decoration: none; }
/* drawer line message (inc/minicart.php: a quantity the store cannot take) */
.cm-mini__msg { margin: 12px 0 0; }
/* search overlay rows: the shop's calm availability line (inc/search.php) */
.cm-sr__rows .k-row__state { display: block; margin-top: 2px; color: var(--fg-3); font-size: var(--fs-micro); font-weight: 400; }
/* WooCommerce's blockUI veil while a cart / checkout part updates: follows the card's corners */
.blockUI.blockOverlay { border-radius: inherit; cursor: wait; }

/* ---------- accent (3 Nov 2026, option A "Lab mint"; tokens --cl-acc* in assets/v3/system/c3-base.css) ---------- */
/* summary rows with a minus amount (volume discount, coupons) in the cart, checkout and mini cart: only the amount
   takes the accent, the label stays grey (overrides the kit copy above; site-kit.css always loads before this file) */
.k-sum__row--minus dd { color: var(--cl-acc-ink); }
/* free-delivery progress bar (cart and mini cart, shown while below the threshold) */
.k-progress__bar span { background: var(--cl-acc-l); }
/* cart: "Free delivery to … " once reached (k-progress--free, inc/v2/commerce.php) gets the top bar's dot */
.k-sum p.k-progress--free::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 8px; vertical-align: 1px; border-radius: 50%; background: var(--cl-acc-l); }

/* ---------- cart text diet (3 Nov 2026, Alik "too crowded"): the cart summary's notes box is one collapsed row,
   "Cash on delivery available" + a +/- circle (woocommerce/cart/cart-totals.php, native <details>); the facts open under
   it. Same pattern as the footer research-use text (assets/v3/chrome/chrome.css .b3-ftr__ruo), light version. The tile
   keeps the old box's surface, corners and type size; the padding moves onto the row and the text. ---------- */
.k-sum__notes.k-cod { display: block; padding: 0; }
.k-cod__s { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: var(--target); padding: 6px 10px 6px 16px; border-radius: inherit; color: var(--fg); cursor: pointer; list-style: none; -webkit-tap-highlight-color: transparent; }
.k-cod__s::-webkit-details-marker { display: none; }
.k-cod__s::marker { content: ""; }
.k-cod__s:focus-visible { outline-offset: 2px; }
.k-cod__pm { position: relative; flex: none; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--rule-2); color: var(--fg); transition: background-color var(--d-s) var(--ease-out), border-color var(--d-s) var(--ease-out), color var(--d-s) var(--ease-out); }
.k-cod__pm::before, .k-cod__pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 1.5px; margin: -.75px 0 0 -5px; border-radius: 1px; background: currentColor; transition: transform .4s cubic-bezier(.2, .7, .2, 1); }
.k-cod__pm::after { transform: rotate(90deg); }
.k-cod[open] .k-cod__pm::after { transform: rotate(0deg); }
@media (hover: hover) { .k-cod__s:hover .k-cod__pm { background: var(--fg); border-color: var(--fg); color: #fff; } }
.k-cod__b { margin: 0; padding: 0 16px 14px; color: var(--fg-2); }
@supports (interpolate-size: allow-keywords) {
  .k-cod { interpolate-size: allow-keywords; }
  .k-cod::details-content { height: 0; overflow: hidden; transition: height .4s cubic-bezier(.2, .7, .2, 1), content-visibility .4s allow-discrete; }
  .k-cod[open]::details-content { height: auto; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .cl-toast, .cl-toast.is-on { transform: none; transition: opacity .12s linear; }
  .cl-toast__a .i { transition: none; }
  .k-cod::details-content { transition: none; }
  .k-cod__pm, .k-cod__pm::before, .k-cod__pm::after { transition: none; }
}
