/* ==========================================================================
   Shop — the white-label storefront's shelf, quick view, basket, checkout and order pages.
   Ported value for value from the approved mockup "White-label shop" v1
   (.superpowers/brainstorm/2094877-1791380664/content/white-label-shop.html, 2026-10-08).

   Shared by every theme: the classes are `sh-` so they can never collide with a theme's own,
   and every colour reads the centre's brand through `--brand-primary` (set by the layout,
   with `--brand-on` / `--brand-ink` computed beside it for contrast).
   ========================================================================== */
.sh-scope {
	--brand: var(--brand-primary, #763f0e);
	--brand-on: var(--brand-on-primary, #ffffff);
	--brand-ink: var(--brand-ink-primary, var(--brand));
	--brand-tint: color-mix(in srgb, var(--brand) 8%, #fff);
	--brand-tint-2: color-mix(in srgb, var(--brand) 14%, #fff);
	--brand-line: color-mix(in srgb, var(--brand) 24%, #fff);
	--canvas: #fafbfc;
	--surface: #ffffff;
	--surface-dim: #f4f6f8;
	--text: #292d32;
	--text-2: #5f6b7a;
	--text-3: #8d97a5;
	--border: #e8ecf1;
	--border-2: #f0f2f5;
	--ok: #0b7a52;
	--ok-bg: #e6f5ee;
	--warn: #8f5206;
	--warn-bg: #fcf1df;
	--bad: #b42f28;
	--bad-bg: #fcebea;
	--r-sm: 10px;
	--r-md: 14px;
	--r-lg: 20px;
	--shadow-card: 0 4px 16px rgba(16, 24, 40, 0.04);
	--shadow-lift: 0 10px 30px rgba(16, 24, 40, 0.08);
	--shadow-pop: 0 24px 64px rgba(16, 24, 40, 0.2);
	color: var(--text);
	font-size: 15px;
	line-height: 1.55;
}
/* Resets at zero specificity (:where), so every component class below wins over them. */
:where(.sh-scope) *, :where(.sh-scope) *::before, :where(.sh-scope) *::after { box-sizing: border-box; }
:where(.sh-scope) :where(button, input, select, textarea) { font: inherit; color: inherit; }
:where(.sh-scope) :where(button) { cursor: pointer; }
:where(.sh-scope) :focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
:where(.sh-scope) :where(svg) { flex: 0 0 auto; }
:where(.sh-scope) :where(h1, h2, h3) { color: var(--text); font-family: inherit; }
.sh-num { font-variant-numeric: tabular-nums; }
.sh-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* The overlay layer: drawers, the quick view, sheets and the basket message sit above the
   page and its fixed navbar. Fixed rather than absolute — the real page scrolls the window. */
.sh-layer { position: fixed; inset: 0; z-index: 1100; pointer-events: none; }
.sh-layer > * { pointer-events: auto; }
body:has(.sh-layer .sh-scrim) { overflow: hidden; }
/* The basket and the quick view render inside the site header, and a header with a
   backdrop-filter (the default theme's blurred .tw-navbar) becomes the box a fixed child
   fills: the layer shrank to the header's strip. The blur goes while a layer is open; the
   scrim covers the header then anyway. */
:is(.tw-navbar, .lg-nav):has(.sh-layer) { backdrop-filter: none; -webkit-backdrop-filter: none; }
.sh-page-bg { background: var(--canvas); }

.sh-iconbtn {
	position: relative;
	width: 44px;
	height: 44px;
	border-radius: 12px;
	border: 1px solid var(--border);
	background: #fff;
	display: grid;
	place-items: center;
	color: var(--text);
}
.sh-iconbtn svg { width: 20px; height: 20px; }
.sh-iconbtn:hover { border-color: var(--brand-line); }
.sh-badge-count {
	position: absolute;
	top: -6px;
	inset-inline-end: -6px;
	min-width: 20px;
	height: 20px;
	padding: 0 6px;
	border-radius: 999px;
	background: var(--brand);
	color: var(--brand-on);
	font-size: 11.5px;
	font-weight: 700;
	display: grid;
	place-items: center;
	box-shadow: 0 0 0 2px #fff;
}
.sh-badge-count.sh-bump { animation: sh-bump 0.45s ease; }
@keyframes sh-bump { 0% { transform: scale(1); } 40% { transform: scale(1.35); } 100% { transform: scale(1); } }
.sh-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	height: 44px;
	padding: 0 18px;
	border-radius: 12px;
	border: 1px solid var(--border);
	background: #fff;
	color: var(--text);
	font-weight: 600;
	font-size: 14.5px;
	white-space: nowrap;
	text-decoration: none;
}
.sh-btn svg { width: 18px; height: 18px; }
.sh-btn:hover { border-color: var(--brand-line); }
.sh-btn--primary { background: var(--brand); border-color: var(--brand); color: var(--brand-on); }
.sh-btn--primary:hover { filter: brightness(1.06); border-color: var(--brand); }
.sh-btn--soft { background: var(--brand-tint); border-color: var(--brand-line); color: var(--brand-ink); }
.sh-btn--ghost { border-color: transparent; background: transparent; }
.sh-btn--block { width: 100%; }
.sh-btn--lg { height: 52px; font-size: 16px; border-radius: 14px; }
.sh-btn--sm { height: 36px; padding: 0 12px; font-size: 13.5px; border-radius: 10px; }
.sh-btn[disabled] { opacity: 0.45; cursor: not-allowed; filter: none; }
.sh-link { background: none; border: 0; padding: 0; color: var(--brand-ink); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }

/* ---------------------------------------------------------------- page frame */
.sh-wrap { width: 100%; max-width: 1320px; margin-inline: auto; padding-inline: clamp(16px, 4vw, 48px); }
.sh-page { flex: 1; padding-block: 28px 56px; }

/* shop header (approved mockup "Shop header redesign", 2026-10-29): a full-bleed band in the
   clinic's colour, and the shop picture in a white hill whose flat foot meets the page below */
.sh-hero {
	--hero-blob: color-mix(in srgb, var(--brand) 20%, #f7f6f1);
	--hero-paw: color-mix(in srgb, var(--brand) 32%, #f7f6f1);
	--hill-a: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 260' preserveAspectRatio='none'%3E%3Cpath d='M0 260C8 182 52 110 138 88c70-18 98-70 178-82 98-14 170 34 214 98 38 55 62 98 70 156Z'/%3E%3C/svg%3E");
	--hill-b: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 260' preserveAspectRatio='none'%3E%3Cpath d='M0 260c6-60 40-118 104-140 58-20 64-82 150-104 92-24 152 22 196 40 70 28 132 70 146 120 6 26 4 54 4 84Z'/%3E%3C/svg%3E");
	position: relative;
	overflow: hidden;
	background: color-mix(in srgb, var(--brand) 7%, #f7f6f1);
}
.sh-hero__in { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: 20px; min-height: 240px; }
.sh-hero__text { position: relative; z-index: 2; align-self: center; padding-block: 18px 22px; }
.sh-hero__pill { display: inline-block; padding: 5px 15px; border-radius: 999px; background: var(--brand-tint-2); color: var(--text); font-weight: 700; font-size: 14px; }
.sh-hero h1 { margin: 12px 0 0; font-size: 40px; line-height: 1.08; letter-spacing: -0.025em; font-weight: 800; text-wrap: balance; }
.sh-hero h1 > span { display: block; }
.sh-hero h1 > .sh-hero__accent { display: flex; align-items: center; gap: 12px; color: var(--brand-ink); }
.sh-hero__accent svg { width: 30px; height: 30px; flex: none; }
.sh-hero__sub { margin: 10px 0 0; font-size: 16px; color: var(--text-2); }
.sh-promises { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px 26px; }
.sh-promises li { display: flex; align-items: center; gap: 12px; font-size: 13.5px; line-height: 1.35; color: var(--text-2); }
.sh-promises li > span:last-child { max-width: 8.8em; text-wrap: balance; }
.sh-promises__ic { width: 44px; height: 44px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--brand-tint-2); color: var(--text); }
.sh-promises__ic svg { width: 21px; height: 21px; }
.sh-hero__art { position: relative; min-height: 240px; }
.sh-hero__blob { position: absolute; inset-inline: 0 2%; bottom: 0; height: 90%; background: var(--hero-blob); -webkit-mask: var(--hill-b) center bottom / 100% 100% no-repeat; mask: var(--hill-b) center bottom / 100% 100% no-repeat; }
.sh-hero__pic { position: absolute; inset-inline: 6% 9%; bottom: 0; height: 80%; background: #fff; -webkit-mask: var(--hill-a) center bottom / 100% 100% no-repeat; mask: var(--hill-a) center bottom / 100% 100% no-repeat; }
.sh-hero__pic img { display: block; width: 100%; height: 100%; object-fit: contain; object-position: center bottom; }
.sh-hero__pic--own img { object-fit: cover; object-position: center 35%; }
.sh-hero__paw { position: absolute; color: var(--hero-paw); }
.sh-hero__paw svg { width: 100%; height: 100%; }
.sh-hero__paw--1 { width: 30px; height: 30px; inset-inline-start: 2%; top: 30%; transform: rotate(-18deg); }
.sh-hero__paw--2 { width: 24px; height: 24px; inset-inline-start: 7%; top: 62%; transform: rotate(12deg); }
.sh-hero__paw--3 { width: 34px; height: 34px; inset-inline-end: 23%; top: 7%; transform: rotate(20deg); }
.sh-hero__paw--4 { width: 28px; height: 28px; inset-inline-end: 7%; bottom: 12%; transform: rotate(-14deg); }
.sh-hero__doodle { position: absolute; color: var(--text); opacity: 0.75; }
.sh-hero__doodle svg { width: 100%; height: 100%; }
.sh-hero__doodle--rays { width: 40px; height: 40px; inset-inline-start: 23%; top: 8%; }
.sh-hero__doodle--heart { width: 26px; height: 26px; inset-inline-start: 13%; top: 42%; }
.sh-hero__note { position: absolute; z-index: 2; inset-inline-end: 0; top: 8%; margin: 0; font-family: Caveat, cursive; font-weight: 700; font-size: 27px; line-height: 1.05; color: var(--text); text-align: center; transform: rotate(-6deg); }
[dir="rtl"] .sh-hero__note { font-family: Tajawal, sans-serif; font-weight: 800; font-size: 21px; line-height: 1.3; transform: rotate(5deg); }
.sh-hero__note svg { display: inline-block; width: 20px; height: 20px; vertical-align: -3px; }
.sh-shop2 .sh-page { padding-top: 0; }
.sh-search {
	display: flex;
	align-items: center;
	gap: 10px;
	height: 52px;
	padding: 0 16px;
	border: 1px solid var(--border);
	border-radius: 14px;
	background: #fff;
	box-shadow: var(--shadow-card);
}
.sh-search:focus-within { border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-tint-2); }
.sh-search svg { width: 20px; height: 20px; color: var(--text-3); }
.sh-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font-size: 15px; text-overflow: ellipsis; }
.sh-search input::placeholder { color: var(--text-3); }

/* category tiles: a 3D picture per kind of product on its own pastel, the name, the count */
.sh-cats { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; padding: 4px 2px 8px; scrollbar-width: none; }
.sh-cats::-webkit-scrollbar { display: none; }
.sh-cat {
	--tile: #f1f3f5;
	flex: 0 0 auto;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
	width: 116px;
	min-height: 136px;
	padding: 12px 8px 10px;
	border-radius: var(--r-md);
	border: 2px solid transparent;
	background: var(--tile);
	color: var(--text);
	text-align: center;
	transition: border-color 0.15s, transform 0.15s;
}
.sh-cat:hover { border-color: var(--brand-line); }
.sh-cat:active { transform: scale(0.97); }
.sh-cat--accessories { --tile: #e3f3ef; }
.sh-cat--food { --tile: #fdeee3; }
.sh-cat--grooming { --tile: #e7effb; }
.sh-cat--health { --tile: #fdeced; }
.sh-cat--toys { --tile: #fdf4d9; }
.sh-cat--beds { --tile: #fbece2; }
.sh-cat__pic { width: 56px; height: 56px; margin-bottom: 4px; display: grid; place-items: center; }
.sh-cat__pic img { width: 56px; height: 56px; object-fit: contain; }
.sh-cat__ic { width: 56px; height: 56px; margin-bottom: 4px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--text-2); }
.sh-cat__ic svg { width: 26px; height: 26px; }
.sh-cat--all .sh-cat__ic { width: 46px; height: 46px; margin: 5px 0 9px; border-radius: 12px; background: var(--brand-tint-2); color: var(--brand); }
.sh-cat--all .sh-cat__ic svg { width: 24px; height: 24px; }
.sh-cat__t { font-weight: 600; font-size: 13px; line-height: 1.25; text-wrap: balance; }
.sh-cat__n { font-size: 12px; color: var(--text-3); }
.sh-cat[aria-pressed="true"] { background: #fff; border-color: var(--brand); box-shadow: var(--shadow-card); }
.sh-subcats { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 14px; align-items: center; }
.sh-subcats__lead { font-size: 13px; color: var(--text-2); margin-inline-end: 4px; }
.sh-pillbtn {
	height: 36px;
	padding: 0 14px;
	border-radius: 999px;
	border: 1px solid var(--border);
	background: #fff;
	font-size: 13.5px;
	font-weight: 500;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	white-space: nowrap;
}
.sh-pillbtn[aria-pressed="true"] { background: var(--text); border-color: var(--text); color: #fff; }
.sh-pillbtn small { color: inherit; opacity: 0.6; font-size: 12px; }

/* "Shopping for": the customer's pets, then the animal types, as chips with a face each */
.sh-petbar {
	display: flex;
	align-items: center;
	gap: 10px 14px;
	flex-wrap: wrap;
	margin-top: 12px;
	padding: 10px 18px;
	border-radius: var(--r-md);
	background: color-mix(in srgb, var(--brand) 5%, #f5f6f3);
}
.sh-petbar__lead { font-size: 15px; font-weight: 700; color: var(--text); white-space: nowrap; }
.sh-petchips { flex: 1 1 320px; min-width: 0; display: flex; gap: 10px; overflow-x: auto; padding: 3px 2px; scrollbar-width: none; }
.sh-petchips::-webkit-scrollbar { display: none; }
.sh-petchip {
	flex: 0 0 auto;
	white-space: nowrap;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	min-height: 46px;
	padding-block: 5px;
	padding-inline: 7px 20px;
	border-radius: 999px;
	border: 1px solid var(--border);
	background: #fff;
	font-size: 13.5px;
	font-weight: 500;
	text-align: start;
}
.sh-petchip:hover { border-color: var(--brand-line); }
.sh-petchip__face { width: 34px; height: 34px; flex: none; display: grid; place-items: center; }
.sh-petchip__face svg { width: 34px; height: 34px; }
.sh-petchip__face--all { width: 32px; height: 32px; border-radius: 10px; background: var(--brand-tint-2); color: var(--brand); }
.sh-petchip__face--all svg { width: 18px; height: 18px; }
.sh-petchip b { font-weight: 600; }
.sh-petchip small { margin-inline-start: 2px; font-size: 12px; color: var(--text-2); }
.sh-petchip[aria-pressed="true"] { border: 2px solid var(--brand); background: var(--brand-tint); padding-block: 4px; padding-inline: 6px 19px; }
.sh-petsep { flex: none; width: 1px; align-self: stretch; margin-block: 8px; background: var(--border); }
.sh-petbar__link { font-size: 13px; font-weight: 600; color: var(--brand-ink); white-space: nowrap; text-decoration: underline; text-underline-offset: 3px; }
.sh-petbar__note .sh-link { white-space: nowrap; }
.sh-petbar__note { margin-inline-start: auto; font-size: 13px; color: var(--text-2); display: inline-flex; gap: 6px; align-items: center; }
.sh-petbar__note svg { width: 16px; height: 16px; }

/* layout: rail + main */
.sh-shoplayout { display: grid; grid-template-columns: 252px minmax(0, 1fr); gap: 28px; margin-top: 26px; align-items: start; }
.sh-rail { position: sticky; top: 92px; display: grid; gap: 4px; }
.sh-rail__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.sh-rail__head b { font-size: 15px; }
.sh-fgroup { border-top: 1px solid var(--border); padding-block: 14px; }
.sh-fgroup:first-of-type { border-top: 0; padding-top: 4px; }
.sh-fgroup__t { display: flex; align-items: center; justify-content: space-between; width: 100%; border: 0; background: none; padding: 0; font-weight: 600; font-size: 14px; }
.sh-fgroup__t svg { width: 16px; height: 16px; color: var(--text-3); }
.sh-fgroup__body { display: grid; gap: 2px; margin-top: 10px; }
.sh-check { display: flex; align-items: center; gap: 10px; min-height: 36px; font-size: 14px; cursor: pointer; }
.sh-check input { width: 18px; height: 18px; margin: 0; accent-color: var(--brand); }
.sh-check small { margin-inline-start: auto; color: var(--text-3); font-size: 12.5px; }
.sh-fchips { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; }
.sh-range { display: grid; grid-template-columns: 1fr auto 1fr; gap: 8px; align-items: center; margin-top: 10px; }
.sh-range label { display: flex; align-items: center; gap: 6px; height: 42px; padding: 0 10px; border: 1px solid var(--border); border-radius: 10px; background: #fff; font-size: 13px; color: var(--text-3); }
.sh-range input { width: 100%; min-width: 0; border: 0; outline: 0; background: transparent; font-size: 14px; color: var(--text); }
.sh-switchrow { display: flex; align-items: flex-start; gap: 12px; cursor: pointer; }
.sh-switchrow b { display: block; font-size: 14px; font-weight: 600; }
.sh-switchrow span { font-size: 12.5px; color: var(--text-2); }
.sh-tgl { flex: 0 0 auto; width: 40px; height: 24px; border-radius: 999px; background: #cfd5dd; border: 0; position: relative; padding: 0; margin-top: 1px; transition: background 0.15s; }
.sh-tgl::after { content: ""; position: absolute; top: 3px; inset-inline-start: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2); transition: inset-inline-start 0.15s; }
.sh-tgl[aria-checked="true"] { background: var(--brand); }
.sh-tgl[aria-checked="true"]::after { inset-inline-start: 19px; }

.sh-toolbar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 16px; min-height: 40px; }
.sh-toolbar__count { font-size: 14px; color: var(--text-2); margin-inline-end: auto; }
.sh-toolbar__count b { color: var(--text); }
.sh-activechip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	height: 32px;
	padding: 0 8px 0 12px;
	border-radius: 999px;
	background: var(--brand-tint);
	border: 1px solid var(--brand-line);
	color: var(--brand-ink);
	font-size: 13px;
	font-weight: 600;
}
.sh-activechip svg { width: 14px; height: 14px; }
.sh-sortbtn { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--border); background: #fff; font-size: 13.5px; font-weight: 500; }
.sh-sortbtn svg { width: 16px; height: 16px; color: var(--text-3); }
.sh-sortbtn b { font-weight: 600; }
.sh-filtersbtn { display: none; }

/* product grid + card */
.sh-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; } /* WEB-1507 mockup: three ~295px cards beside the rail */
.sh-card {
	position: relative;
	display: flex;
	flex-direction: column;
	border-radius: 18px;
	background: #fff;
	border: 1px solid var(--border);
	overflow: hidden;
	transition: box-shadow 0.18s ease, border-color 0.18s ease;
}
.sh-card:hover { box-shadow: var(--shadow-lift); border-color: #dde2e8; }
.sh-card__media {
	position: relative;
	aspect-ratio: 4 / 3;
	max-width: 100%;
	display: grid;
	place-items: center;
	background: var(--tint, var(--surface-dim));
	border: 0;
	padding: 0;
	width: 100%;
}
.sh-card__media svg.sh-pack { width: 70%; height: 78%; filter: drop-shadow(0 14px 18px rgba(16, 24, 40, 0.14)); transition: transform 0.25s ease; }
.sh-card:hover .sh-card__media svg.sh-pack { transform: translateY(-3px); }
.sh-card__badges { position: absolute; top: 10px; inset-inline-start: 10px; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.sh-tag {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	height: 26px;
	padding: 0 10px;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 700;
	background: #fff;
	color: var(--text);
	box-shadow: 0 1px 2px rgba(16, 24, 40, 0.08);
	white-space: nowrap;
}
.sh-tag svg { width: 14px; height: 14px; }
.sh-tag--fit { background: var(--ok-bg); color: var(--ok); }
.sh-tag--deal { background: var(--warn-bg); color: var(--warn); }
.sh-tag--low { background: #fff; color: var(--bad); }
.sh-tag--plain { background: var(--surface-dim); box-shadow: none; color: var(--text-2); font-weight: 600; }
.sh-card__body { display: flex; flex-direction: column; gap: 4px; padding: 14px 14px 14px; flex: 1; }
.sh-card__brand { font-size: 12.5px; color: var(--text-2); font-weight: 500; }
.sh-card__name { margin: 0; font-size: 15px; line-height: 1.3; font-weight: 700; letter-spacing: -0.005em; }
.sh-card__name button, .sh-card__name a { border: 0; background: none; padding: 0; text-align: start; font-weight: inherit; line-height: inherit; color: inherit; text-decoration: none; }
.sh-card__name button:hover, .sh-card__name a:hover { text-decoration: underline; text-underline-offset: 3px; }
/* WL-036: the card's photo is a link now, drawn as it was. */
a.sh-card__media { color: inherit; text-decoration: none; cursor: pointer; }
.sh-card__meta { font-size: 12.5px; color: var(--text-2); }
.sh-card__sizes { display: flex; gap: 4px; flex-wrap: wrap; margin-top: 2px; }
.sh-card__sizes span { font-size: 11.5px; font-weight: 600; padding: 2px 7px; border-radius: 6px; background: var(--surface-dim); color: var(--text-2); }
.sh-card__foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 10px; }
.sh-price { display: flex; flex-direction: column; line-height: 1.1; }
.sh-price b { font-size: 19px; font-weight: 800; letter-spacing: -0.01em; }
.sh-price b small { font-size: 12px; font-weight: 700; margin-inline-end: 3px; color: var(--text-2); }
.sh-price s { font-size: 12.5px; color: var(--text-3); }
.sh-price em { font-style: normal; font-size: 11.5px; color: var(--text-3); margin-top: 3px; }
.sh-price--ask b { font-size: 15px; color: var(--text-2); }
.sh-add {
	width: 42px;
	height: 42px;
	border-radius: 50%;
	border: 0;
	background: var(--brand);
	color: var(--brand-on);
	display: grid;
	place-items: center;
	box-shadow: 0 6px 14px color-mix(in srgb, var(--brand) 28%, transparent);
	flex: 0 0 42px;
}
.sh-add svg { width: 20px; height: 20px; }
.sh-add:hover { filter: brightness(1.08); }
.sh-stepper { display: inline-flex; align-items: center; height: 42px; border-radius: 999px; border: 1px solid var(--border); background: #fff; }
.sh-stepper button { width: 40px; height: 40px; border: 0; background: none; display: grid; place-items: center; border-radius: 50%; color: var(--text); }
.sh-stepper button svg { width: 16px; height: 16px; }
.sh-stepper button:hover:not([disabled]) { background: var(--surface-dim); }
.sh-stepper button[disabled] { opacity: 0.35; cursor: not-allowed; }
.sh-stepper span { min-width: 24px; text-align: center; font-weight: 700; font-size: 15px; }
.sh-stepper--brand { background: var(--brand); border-color: var(--brand); color: var(--brand-on); }
.sh-stepper--brand button { color: var(--brand-on); }
.sh-stepper--brand button:hover:not([disabled]) { background: rgba(255, 255, 255, 0.16); }
.sh-card--pending { opacity: 0.55; }
.sh-loadmore { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-top: 28px; font-size: 13.5px; color: var(--text-2); }
.sh-progress { width: 220px; height: 4px; border-radius: 99px; background: var(--border); overflow: hidden; }
.sh-progress i { display: block; height: 100%; background: var(--text); border-radius: 99px; }

/* empty */
.sh-empty { display: grid; justify-items: center; text-align: center; gap: 8px; padding: 56px 20px; border-radius: 20px; border: 1px dashed #d6dce4; background: #fff; }
.sh-empty__ic { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-dim); color: var(--text-2); margin-bottom: 6px; }
.sh-empty__ic svg { width: 30px; height: 30px; }
.sh-empty h2 { margin: 0; font-size: 20px; }
.sh-empty p { margin: 0; color: var(--text-2); max-width: 46ch; }
.sh-empty .sh-btns { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; justify-content: center; }

.sh-collectnote { display: flex; align-items: center; gap: 14px; margin-top: 36px; padding: 18px 20px; border-radius: 18px; background: var(--brand-tint); border: 1px solid var(--brand-line); }
.sh-collectnote__ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: #fff; color: var(--brand-ink); flex: 0 0 44px; }
.sh-collectnote__ic svg { width: 22px; height: 22px; }
.sh-collectnote b { display: block; font-size: 15px; }
.sh-collectnote span { font-size: 13.5px; color: var(--text-2); }

/* phone basket bar */
.sh-basketbar { display: none; }

/* ---------------------------------------------------------------- overlays */
.sh-scrim { position: absolute; inset: 0; background: rgba(16, 20, 28, 0.42); animation: sh-fade 0.18s ease; }
@keyframes sh-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes sh-slide-in { from { transform: translateX(var(--from, 100%)); } to { transform: translateX(0); } }
@keyframes sh-rise { from { transform: translate(-50%, calc(-50% + 16px)); opacity: 0; } to { transform: translate(-50%, -50%); opacity: 1; } }
@keyframes sh-sheet { from { transform: translateY(100%); } to { transform: translateY(0); } }
[dir="rtl"] .sh-layer, .sh-layer[dir="rtl"] { --from: -100%; }

.sh-drawer {
	position: absolute;
	inset-block: 0;
	inset-inline-end: 0;
	width: min(440px, 100%);
	background: #fff;
	display: flex;
	flex-direction: column;
	box-shadow: var(--shadow-pop);
	animation: sh-slide-in 0.24s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.sh-drawer__head { display: flex; align-items: flex-start; gap: 12px; padding: 20px 20px 14px; border-bottom: 1px solid var(--border-2); }
.sh-drawer__head h2 { margin: 0; font-size: 20px; letter-spacing: -0.01em; }
.sh-drawer__head p { margin: 2px 0 0; font-size: 13px; color: var(--text-2); }
.sh-drawer__x { margin-inline-start: auto; }
.sh-drawer__body { flex: 1; overflow-y: auto; padding: 6px 20px 16px; }
.sh-drawer__foot { padding: 16px 20px 20px; padding-bottom: calc(20px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--border-2); background: #fff; display: grid; gap: 12px; }
.sh-steps { display: flex; gap: 6px; align-items: center; font-size: 12.5px; color: var(--text-3); margin-top: 8px; }
.sh-steps b { color: var(--text); }
.sh-steps i { width: 14px; height: 1px; background: var(--border); }

.sh-line { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 14px; padding-block: 16px; border-bottom: 1px solid var(--border-2); }
.sh-line:last-child { border-bottom: 0; }
.sh-line__thumb { width: 76px; height: 76px; border-radius: 14px; background: var(--tint, var(--surface-dim)); display: grid; place-items: center; }
.sh-line__thumb svg.sh-pack { width: 66%; height: 74%; }
.sh-line__top { display: flex; gap: 10px; justify-content: space-between; align-items: flex-start; }
.sh-line__name { margin: 0; font-size: 14.5px; font-weight: 700; line-height: 1.3; }
.sh-line__meta { font-size: 12.5px; color: var(--text-2); margin-top: 2px; display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.sh-forpet { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; color: var(--ok); }
.sh-forpet svg { width: 13px; height: 13px; }
.sh-line__total { font-weight: 700; font-size: 14.5px; white-space: nowrap; }
.sh-line__ctl { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; }
.sh-line__ctl .sh-stepper { height: 36px; }
.sh-line__ctl .sh-stepper button { width: 34px; height: 34px; }
.sh-line__rm { border: 0; background: none; color: var(--text-2); font-size: 13px; font-weight: 600; padding: 6px; }
.sh-line__rm:hover { color: var(--bad); }
.sh-warn { display: flex; gap: 8px; align-items: flex-start; margin-top: 10px; padding: 9px 11px; border-radius: 10px; background: var(--warn-bg); color: var(--warn); font-size: 12.5px; font-weight: 600; }
.sh-warn svg { width: 16px; height: 16px; margin-top: 1px; }
/* WEB-1514: the coupon box in the order summary, and the cashback the order will earn. */
.sh-coupon { display: grid; gap: 4px; margin: 4px 0 14px; }
.sh-coupon__row { display: flex; gap: 8px; }
.sh-coupon__row .sh-input { flex: 1; min-width: 0; height: 44px; }
.sh-coupon__row .sh-input input { width: 100%; text-transform: uppercase; font-weight: 600; letter-spacing: 0.02em; }
.sh-coupon__row .sh-btn { height: 44px; flex: 0 0 auto; }
.sh-coupon__on { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: var(--ok-bg, #e8f6ee); color: var(--ok); font-size: 14px; }
.sh-coupon__on svg { width: 18px; height: 18px; flex: 0 0 auto; }
.sh-coupon__on > span { flex: 1; min-width: 0; color: var(--text); }
.sh-coupon__on > span span { color: var(--ok); font-weight: 600; }
.sh-coupon__rm { border: 0; background: none; padding: 6px 4px; color: var(--text-2); font: inherit; font-size: 13px; font-weight: 600; text-decoration: underline; cursor: pointer; min-height: 32px; }
.sh-hint--bad { color: var(--bad); }
.sh-earn { display: flex; align-items: center; gap: 8px; margin: 10px 0 0; font-size: 13px; color: var(--ok); font-weight: 600; }
.sh-earn svg { width: 16px; height: 16px; flex: 0 0 auto; }
.sh-sums { display: grid; gap: 6px; margin: 0; font-size: 14px; }
.sh-sums div { display: flex; justify-content: space-between; gap: 12px; }
.sh-sums dt { color: var(--text-2); }
.sh-sums dd { margin: 0; font-weight: 600; }
.sh-sums .sh-free { color: var(--ok); }
.sh-total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 10px; border-top: 1px dashed var(--border); font-size: 15px; }
.sh-total strong { font-size: 22px; letter-spacing: -0.01em; }

/* dialog (quick view) */
.sh-dialog {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: min(920px, calc(100% - 48px));
	max-height: calc(100% - 48px);
	background: #fff;
	border-radius: 24px;
	box-shadow: var(--shadow-pop);
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	overflow: hidden;
	animation: sh-rise 0.22s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.sh-dialog__x { position: absolute; top: 14px; inset-inline-end: 14px; z-index: 2; background: rgba(255, 255, 255, 0.9); }
.sh-gallery { display: flex; flex-direction: column; gap: 10px; padding: 16px; background: var(--canvas); }
.sh-gallery__main { position: relative; flex: 1; min-height: 300px; border-radius: 18px; background: var(--tint, var(--surface-dim)); display: grid; place-items: center; }
.sh-gallery__main svg.sh-pack { width: 62%; height: 74%; filter: drop-shadow(0 18px 24px rgba(16, 24, 40, 0.16)); }
.sh-gallery__thumbs { display: flex; gap: 8px; }
.sh-gallery__thumbs button { width: 64px; height: 64px; border-radius: 12px; border: 1px solid var(--border); background: var(--tint, var(--surface-dim)); display: grid; place-items: center; padding: 0; }
.sh-gallery__thumbs button[aria-pressed="true"] { border-color: var(--text); box-shadow: inset 0 0 0 1px var(--text); }
.sh-gallery__thumbs svg.sh-pack { width: 60%; height: 70%; }
.sh-qv { display: flex; flex-direction: column; gap: 16px; padding: 28px 28px 24px; overflow-y: auto; }
.sh-qv__brand { font-size: 13px; color: var(--text-2); font-weight: 600; }
.sh-qv h2 { margin: 2px 0 0; font-size: 26px; line-height: 1.15; letter-spacing: -0.02em; text-wrap: balance; }
.sh-qv__sub { font-size: 13.5px; color: var(--text-2); margin-top: 6px; }
.sh-fit { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 14px; font-size: 13.5px; }
.sh-fit svg { width: 20px; height: 20px; margin-top: 1px; }
.sh-fit b { display: block; }
.sh-fit--good { background: var(--ok-bg); color: var(--ok); }
.sh-fit--bad { background: var(--bad-bg); color: var(--bad); }
.sh-fit--bad span, .sh-fit--good span { color: var(--text); opacity: 0.85; }
.sh-label { font-size: 13px; font-weight: 700; margin-bottom: 8px; display: flex; justify-content: space-between; }
.sh-label small { font-weight: 500; color: var(--text-2); }
.sh-sizes { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 8px; }
.sh-size {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 2px;
	padding: 10px 12px;
	border-radius: 12px;
	border: 1px solid var(--border);
	background: #fff;
	text-align: start;
}
.sh-size b { font-size: 14.5px; }
.sh-size span { font-size: 12.5px; color: var(--text-2); }
.sh-size[aria-pressed="true"] { border-color: var(--text); box-shadow: inset 0 0 0 1px var(--text); }
.sh-size[disabled] { background: var(--surface-dim); color: var(--text-3); cursor: not-allowed; }
.sh-size[disabled] span { text-decoration: none; color: var(--text-3); }
.sh-qv__price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.sh-qv__price b { font-size: 30px; font-weight: 800; letter-spacing: -0.02em; }
.sh-qv__price b small { font-size: 15px; color: var(--text-2); margin-inline-end: 4px; }
.sh-qv__price s { color: var(--text-3); font-size: 15px; }
.sh-qv__price em { font-style: normal; color: var(--text-2); font-size: 13px; }
.sh-stockline { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--text-2); }
.sh-stockline i { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); flex: 0 0 8px; }
.sh-stockline--low i { background: var(--warn); }
.sh-buyrow { display: flex; gap: 10px; }
.sh-buyrow .sh-stepper { height: 52px; border-radius: 14px; }
.sh-buyrow .sh-stepper button { width: 46px; height: 50px; border-radius: 12px; }
.sh-buyrow .sh-btn { flex: 1; }
.sh-about { font-size: 14px; color: var(--text-2); margin: 0; }
.sh-specs { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 8px 18px; margin: 0; font-size: 13.5px; padding-top: 14px; border-top: 1px solid var(--border-2); }
.sh-specs dt { color: var(--text-2); }
.sh-specs dd { margin: 0; font-weight: 600; }

/* toast */
.sh-toast {
	position: absolute;
	left: 50%;
	bottom: 24px;
	transform: translateX(-50%);
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px 10px 10px 12px;
	border-radius: 16px;
	background: var(--text);
	color: #fff;
	box-shadow: var(--shadow-pop);
	width: max-content;
	max-width: calc(100% - 32px);
	animation: sh-toastin 0.25s ease;
}
@keyframes sh-toastin { from { opacity: 0; transform: translate(-50%, 10px); } to { opacity: 1; transform: translate(-50%, 0); } }
.sh-toast__thumb { width: 44px; height: 44px; border-radius: 10px; background: var(--tint, #fff); display: grid; place-items: center; flex: 0 0 44px; }
.sh-toast__thumb svg.sh-pack { width: 66%; height: 74%; }
.sh-toast b { display: block; font-size: 14px; }
.sh-toast span { font-size: 12.5px; opacity: 0.75; }
.sh-toast .sh-btn { height: 38px; background: #fff; color: var(--text); border-color: #fff; margin-inline-start: 6px; }

/* sheet (phone filters / quick view) */
.sh-sheet {
	position: absolute;
	inset-inline: 0;
	bottom: 0;
	max-height: 88%;
	background: #fff;
	border-radius: 22px 22px 0 0;
	display: flex;
	flex-direction: column;
	box-shadow: var(--shadow-pop);
	animation: sh-sheet 0.26s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.sh-sheet__grab { width: 40px; height: 4px; border-radius: 9px; background: #d4d9e0; margin: 10px auto 2px; }
.sh-sheet__head { display: flex; align-items: center; justify-content: space-between; padding: 8px 20px 10px; }
.sh-sheet__head h2 { margin: 0; font-size: 18px; }
.sh-sheet__body { overflow-y: auto; padding: 0 20px 12px; }
.sh-sheet__foot { display: flex; gap: 10px; padding: 12px 20px; padding-bottom: calc(14px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--border-2); }
.sh-sheet__foot .sh-btn { flex: 1; }

/* sort menu */
.sh-menu { position: absolute; z-index: 30; min-width: 230px; padding: 6px; border-radius: 14px; background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow-lift); display: grid; }
.sh-menu button { display: flex; align-items: center; gap: 10px; height: 40px; padding: 0 10px; border: 0; background: none; border-radius: 9px; text-align: start; font-size: 14px; }
.sh-menu button:hover { background: var(--surface-dim); }
.sh-menu button svg { width: 16px; height: 16px; color: var(--brand-ink); }
.sh-menu button[aria-checked="false"] svg { visibility: hidden; }

/* ===== Part 5 · listing ===== */
/* "White-label shop v2" (approved 2026-10-28), ported from the mockup's #shop view onto the live
   tokens. Scoped under .sh-shop2 (the shop page) so it wins over the older rules further down
   without !important; the card pieces shared with the home row and product page (.sh-card__buy,
   the stock badges, the heart) are written for every page. */
.sh-tag--out { background: var(--surface-dim); color: var(--text-2); box-shadow: none; }
.sh-tag--ok { background: var(--ok-bg); color: var(--ok); box-shadow: none; }
.sh-tag--best { background: #fff1e0; color: #b45309; box-shadow: none; }
.sh-card .sh-tag--low { background: var(--bad-bg); color: var(--bad); box-shadow: none; }
.sh-card .sh-card__foot { flex-direction: column; align-items: stretch; gap: 10px; }
.sh-card .sh-card__foot .sh-stepper { align-self: stretch; justify-content: space-between; }
.sh-card__buy { width: 100%; min-height: 40px; height: auto; border-radius: 10px; font-size: 13.5px; font-weight: 600; gap: 8px; }
.sh-card__buy svg { width: 18px; height: 18px; }
.sh-heart {
	position: absolute;
	top: 8px;
	inset-inline-end: 8px;
	z-index: 2;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	border: 0;
	background: color-mix(in srgb, #fff 88%, transparent);
	color: var(--text-2);
	display: grid;
	place-items: center;
	cursor: pointer;
	transition: color 0.15s, transform 0.15s;
}
.sh-heart svg { width: 18px; height: 18px; }
.sh-heart:hover { color: #dc2626; }
.sh-heart:active { transform: scale(0.92); }
.sh-heart[aria-pressed="true"] { color: #dc2626; }
.sh-heart[aria-pressed="true"] svg path { fill: currentColor; }
.sh-heart:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.sh-heart--inline { position: static; background: var(--surface-dim); }
/* The product page's favourite: the heart with its words, for the one place a customer decides to keep it. */
.sh-favbtn { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border: 1px solid var(--border); border-radius: 999px; background: var(--surface); color: var(--text); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; transition: border-color 0.15s, color 0.15s; }
.sh-favbtn svg { width: 18px; height: 18px; color: var(--text-2); transition: color 0.15s, transform 0.15s; }
.sh-favbtn:hover { border-color: #dc2626; }
.sh-favbtn:hover svg, .sh-favbtn[aria-pressed="true"] svg { color: #dc2626; }
.sh-favbtn:active svg { transform: scale(0.9); }
.sh-favbtn[aria-pressed="true"] svg path { fill: currentColor; }
.sh-favbtn:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.sh-qv .sh-saveprompt { margin: 0; }

/* category tiles: a scroll arrow at each end */
.sh-catrow { position: relative; display: flex; align-items: center; gap: 10px; margin-top: 12px; }
.sh-catrow .sh-cats { flex: 1; min-width: 0; margin-top: 0; gap: 10px; scroll-behavior: smooth; }
.sh-catrow__arrow { flex: 0 0 40px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--border); background: #fff; color: var(--text); display: grid; place-items: center; box-shadow: var(--shadow-card); cursor: pointer; }
.sh-catrow__arrow svg { width: 18px; height: 18px; }
.sh-catrow__arrow:hover { border-color: var(--brand-line); color: var(--brand-ink); }

/* rail as a card (beside the shelf only; below 1080px it is the bottom sheet as before) */
.sh-shop2 .sh-shoplayout { grid-template-columns: 250px minmax(0, 1fr); gap: 16px; margin-top: 18px; }
@media (min-width: 1081px) {
	.sh-shop2 .sh-rail { padding: 16px; border-radius: var(--r-md); background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow-card); top: 88px; max-height: calc(100dvh - 104px); overflow-y: auto; }
}
.sh-shop2 .sh-rail__head b { font-size: 15px; }
.sh-facet__search { display: flex; align-items: center; gap: 8px; height: 38px; padding: 0 12px; margin: 0 0 10px; border: 1px solid var(--border); border-radius: 10px; background: #fff; }
.sh-facet__search:focus-within { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-tint-2); }
.sh-facet__search svg { width: 15px; height: 15px; color: var(--text-3); flex: 0 0 auto; }
.sh-facet__search input { flex: 1; min-width: 0; width: 100%; border: 0; outline: 0; background: transparent; font-size: 13.5px; }
.sh-facet__more { display: inline-flex; align-items: center; gap: 4px; margin-top: 6px; font-size: 13px; text-decoration: none; }
.sh-facet__chev { display: inline-grid; transition: transform 0.15s; }
.sh-facet__chev svg { width: 14px; height: 14px; }
.sh-facet__chev.is-up { transform: rotate(180deg); }
.sh-facet__ic { display: inline-grid; place-items: center; width: 18px; height: 18px; color: var(--brand-ink); flex: 0 0 18px; }
.sh-facet__ic svg { width: 17px; height: 17px; }
.sh-facet__chip .sh-facet__ic { width: 16px; height: 16px; flex-basis: 16px; color: inherit; }

/* the search row: box, Search button, sort, grid / list */
.sh-searchrow { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 0 0 12px; }
.sh-shop2 .sh-searchrow .sh-search { flex: 1 1 320px; height: 44px; border-radius: 10px; box-shadow: none; padding: 0 12px; }
.sh-shop2 .sh-searchrow .sh-search svg { width: 18px; height: 18px; }
.sh-searchrow__go { height: 44px; padding-inline: 22px; border-radius: 10px; }
.sh-shop2 .sh-searchrow .sh-sortbtn { height: 44px; padding-inline: 14px; border-radius: 10px; }
.sh-shop2 .sh-searchrow .sh-sortbtn > svg:last-child { width: 14px; height: 14px; }
.sh-viewswitch { display: inline-flex; border: 1px solid var(--border); border-radius: 10px; overflow: hidden; background: #fff; }
.sh-viewswitch button { width: 42px; height: 42px; border: 0; background: transparent; color: var(--text-2); display: grid; place-items: center; cursor: pointer; }
.sh-viewswitch button svg { width: 18px; height: 18px; }
.sh-viewswitch button[aria-pressed="true"] { background: var(--brand); color: var(--brand-on); }
.sh-viewswitch button:focus-visible { outline: 2px solid var(--brand); outline-offset: -2px; }

/* quick chips + count */
.sh-chiprow { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; margin: 0 0 14px; }
.sh-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.sh-chip { height: 32px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--border); background: #fff; color: var(--text); font-size: 13px; font-weight: 600; cursor: pointer; white-space: nowrap; }
.sh-chip:hover { border-color: var(--brand-line); }
.sh-chip[aria-pressed="true"] { background: var(--brand); border-color: var(--brand); color: var(--brand-on); }
.sh-chip:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
/* The Favorites chip (approved mockup "Shop: show only my favorites", option A): a heart and the count. */
.sh-chip--fav { display: inline-flex; align-items: center; gap: 6px; }
.sh-chip--fav svg { width: 14px; height: 14px; color: #dc2626; }
.sh-chip--fav svg path { fill: currentColor; }
.sh-chip--fav[aria-pressed="true"] svg { color: currentColor; }
.sh-chip__n { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--surface-dim); color: var(--text-2); font-size: 11.5px; font-weight: 700; display: inline-grid; place-items: center; }
.sh-chip[aria-pressed="true"] .sh-chip__n { background: color-mix(in srgb, var(--brand-on) 22%, transparent); color: var(--brand-on); }
.sh-empty__ic--fav { color: #dc2626; }
.sh-savedlist__shop { display: inline-block; margin-top: 14px; }
.sh-chiprow .sh-toolbar__count { margin-inline-start: auto; margin-inline-end: 0; font-size: 13px; }
.sh-shop2 .sh-toolbar--active { min-height: 0; margin-bottom: 12px; }
.sh-shop2 .sh-toolbar--active:not(:has(button)) { display: none; }
.sh-saveprompt { display: flex; align-items: center; gap: 12px; padding: 12px 14px; margin: 0 0 14px; border-radius: var(--r-md); background: var(--brand-tint); border: 1px solid var(--brand-line); }
.sh-saveprompt__ic { width: 36px; height: 36px; border-radius: 50%; background: #fff; color: #dc2626; display: grid; place-items: center; flex: 0 0 36px; }
.sh-saveprompt__ic svg { width: 18px; height: 18px; }
.sh-saveprompt__ic svg path { fill: currentColor; }
.sh-saveprompt > div { flex: 1; min-width: 0; }
.sh-saveprompt b { display: block; font-size: 14px; }
.sh-saveprompt span { font-size: 13px; color: var(--text-2); }

/* the cards: four across beside the rail, a white 4:3 frame the photo sits inside */
.sh-shop2 .sh-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
.sh-shop2 .sh-card { border-radius: var(--r-md); }
.sh-shop2 .sh-card__media { background: #fff; border-bottom: 1px solid var(--border-2); }
.sh-shop2 .sh-card__media img { object-fit: contain; padding: 10px; }
.sh-shop2 .sh-card:hover .sh-card__media img { transform: none; }
.sh-shop2 .sh-card__badges { top: 8px; inset-inline-start: 8px; }
.sh-shop2 .sh-tag { height: 24px; padding: 0 9px; font-size: 12px; }
.sh-shop2 .sh-card__body { padding: 12px; gap: 6px; }
.sh-shop2 .sh-card__brand { font-size: 12px; color: var(--text-3); }
.sh-shop2 .sh-card__name { font-size: 14px; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.7em; }
.sh-shop2 .sh-pets { gap: 4px; }
.sh-shop2 .sh-pet { font-size: 12px; font-weight: 600; padding: 2px 7px; border-radius: 999px; border: 1px solid var(--border); background: #fff; color: var(--text-2); white-space: nowrap; }
.sh-shop2 .sh-pet svg { display: none; }
.sh-shop2 .sh-price b { font-size: 18px; }
.sh-shop2 .sh-card__foot { padding-top: 6px; }

/* list view: one product per row, the button at the end */
.sh-shop2 .sh-grid--list { grid-template-columns: minmax(0, 1fr); gap: 10px; }
.sh-shop2 .sh-grid--list .sh-card { flex-direction: row; align-items: stretch; }
.sh-shop2 .sh-grid--list .sh-card__media { width: 132px; flex: 0 0 132px; aspect-ratio: auto; border-bottom: 0; border-inline-end: 1px solid var(--border-2); }
.sh-shop2 .sh-grid--list .sh-card__badges { flex-direction: row; }
.sh-shop2 .sh-grid--list .sh-card__name { min-height: 0; -webkit-line-clamp: 1; }
.sh-shop2 .sh-grid--list .sh-card__body { display: grid; grid-template-columns: minmax(0, 1fr) 200px; grid-auto-flow: dense; gap: 4px 16px; align-items: center; }
.sh-shop2 .sh-grid--list .sh-card__body > :not(.sh-card__foot) { grid-column: 1; }
.sh-shop2 .sh-grid--list .sh-card__foot { grid-column: 2; grid-row: 1 / span 4; margin-top: 0; padding-top: 0; align-self: center; }

/* the account's Saved tab */
.sh-savedlist { display: grid; gap: 10px; }
.sh-saved { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 12px; border-radius: var(--r-md); border: 1px solid var(--border); background: #fff; }
.sh-saved__thumb { width: 72px; height: 72px; border-radius: 10px; overflow: hidden; display: grid; place-items: center; background: var(--surface-dim); color: var(--text-3); }
.sh-saved__thumb img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.sh-saved__thumb svg { width: 28px; height: 28px; }
.sh-saved__body { display: grid; gap: 3px; min-width: 0; }
.sh-saved__name { font-weight: 700; font-size: 14.5px; color: var(--text); text-decoration: none; overflow-wrap: anywhere; }
.sh-saved__name:hover { text-decoration: underline; text-underline-offset: 3px; }
.sh-saved__meta { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; font-size: 14px; }
.sh-saved__acts { display: flex; gap: 8px; align-items: center; }

@media (max-width: 1080px) {
	.sh-shop2 .sh-shoplayout { grid-template-columns: minmax(0, 1fr); }
	.sh-hero__in { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); }
	.sh-hero h1 { font-size: 34px; }
}
/* Tablets and phones: the picture goes, so the products stay near the top. */
@media (max-width: 860px) {
	.sh-hero__in { grid-template-columns: minmax(0, 1fr); min-height: 0; }
	.sh-hero__art { display: none; }
}
@media (max-width: 640px) {
	.sh-catrow__arrow { display: none; }
	.sh-catrow { margin-top: 10px; }
	.sh-searchrow { gap: 8px; }
	.sh-shop2 .sh-searchrow .sh-search { flex-basis: 100%; }
	.sh-searchrow__go { flex: 1; }
	.sh-viewswitch { display: none; }
	.sh-chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: -16px; padding-inline: 16px; width: calc(100% + 32px); }
	.sh-chiprow .sh-toolbar__count { margin-inline-start: 0; }
	.sh-shop2 .sh-grid, .sh-shop2 .sh-grid--list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	.sh-shop2 .sh-grid--list .sh-card { flex-direction: column; }
	.sh-shop2 .sh-grid--list .sh-card__media { width: 100%; flex-basis: auto; aspect-ratio: 4 / 3; border-inline-end: 0; border-bottom: 1px solid var(--border-2); }
	.sh-shop2 .sh-grid--list .sh-card__body { display: flex; flex-direction: column; }
	.sh-shop2 .sh-card__body { padding: 10px; }
	.sh-shop2 .sh-card__name { font-size: 13.5px; }
	.sh-shop2 .sh-tag { height: 22px; font-size: 11.5px; padding: 0 7px; }
	.sh-card__buy { min-height: 38px; font-size: 13px; padding-inline: 8px; }
	.sh-heart { width: 30px; height: 30px; top: 6px; inset-inline-end: 6px; }
	.sh-saved { grid-template-columns: 56px minmax(0, 1fr); }
	.sh-saved__thumb { width: 56px; height: 56px; }
	.sh-saved__acts { grid-column: 1 / -1; justify-content: space-between; }
}

/* ---------------------------------------------------------------- checkout page */
.sh-cohead { display: flex; align-items: center; gap: 14px; height: 72px; padding: 0 clamp(16px, 6vw, 96px); background: #fff; border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 10; }
.sh-cohead__t { font-weight: 700; display: inline-flex; gap: 8px; align-items: center; }
.sh-cohead__t svg { width: 18px; height: 18px; color: var(--ok); }
.sh-cohead .sh-btn { margin-inline-start: auto; }
.sh-cogrid { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 28px; align-items: start; }
.sh-cotitle { margin: 0 0 18px; font-size: 30px; letter-spacing: -0.02em; }
.sh-cosec { background: #fff; border: 1px solid var(--border); border-radius: 20px; padding: 20px 22px; margin-bottom: 14px; }
.sh-cosec__h { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.sh-cosec__n { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--text); color: #fff; font-size: 13px; font-weight: 700; flex: 0 0 28px; }
.sh-cosec__h h2 { margin: 0; font-size: 17px; }
.sh-cosec__h .sh-link { margin-inline-start: auto; font-size: 13.5px; }
.sh-branchcard { display: flex; gap: 14px; align-items: center; }
.sh-branchcard__map { width: 64px; height: 64px; border-radius: 14px; flex: 0 0 64px; background: var(--brand-tint); color: var(--brand-ink); display: grid; place-items: center; }
.sh-branchcard__map svg { width: 26px; height: 26px; }
.sh-branchcard b { display: block; font-size: 15px; }
.sh-branchcard > div > span:not(.sh-okline) { display: block; font-size: 13px; color: var(--text-2); }
.sh-okline { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 700; color: var(--ok); margin-top: 4px; }
.sh-okline svg { width: 14px; height: 14px; }
.sh-slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.sh-slot { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--border); background: #fff; text-align: start; }
.sh-slot b { font-size: 14.5px; }
.sh-slot span { font-size: 12.5px; color: var(--text-2); }
.sh-slot[aria-pressed="true"] { border-color: var(--brand); background: var(--brand-tint); box-shadow: inset 0 0 0 1px var(--brand); }
.sh-slot[aria-pressed="true"] span { color: var(--brand-ink); }
.sh-hint { font-size: 12.5px; color: var(--text-2); margin: 8px 0 0; }
.sh-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.sh-field { display: grid; gap: 6px; }
.sh-field--wide { grid-column: 1 / -1; }
.sh-field__l { font-size: 13px; font-weight: 600; }
.sh-field__l small { font-weight: 500; color: var(--text-3); }
.sh-input { display: flex; align-items: center; gap: 8px; height: 48px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--border); background: #fff; }
.sh-input:focus-within { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-tint-2); }
.sh-input input, .sh-input textarea { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font-size: 15px; }
.sh-input--area { height: auto; padding-block: 10px; }
.sh-input--area textarea { resize: vertical; min-height: 54px; }
.sh-input__pre { color: var(--text-2); font-size: 14px; padding-inline-end: 8px; border-inline-end: 1px solid var(--border); }
.sh-signedas { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: var(--surface-dim); margin-bottom: 14px; font-size: 13.5px; }
.sh-signedas b { display: block; font-size: 14px; }
.sh-signedas .sh-link { margin-inline-start: auto; font-size: 13px; }
.sh-payopts { display: grid; gap: 8px; }
.sh-payopt { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 14px; border: 1px solid var(--border); background: #fff; cursor: pointer; }
.sh-payopt[aria-checked="true"] { border-color: var(--brand); box-shadow: inset 0 0 0 1px var(--brand); }
.sh-radio { width: 20px; height: 20px; border-radius: 50%; border: 2px solid #c7ced8; flex: 0 0 20px; position: relative; }
.sh-payopt[aria-checked="true"] .sh-radio { border-color: var(--brand); }
.sh-payopt[aria-checked="true"] .sh-radio::after { content: ""; position: absolute; inset: 3px; border-radius: 50%; background: var(--brand); }
.sh-payopt b { display: block; font-size: 14.5px; }
.sh-payopt span { font-size: 12.5px; color: var(--text-2); }
.sh-payopt__marks { margin-inline-start: auto; display: flex; gap: 6px; }
.sh-cardmark { height: 24px; min-width: 36px; padding: 0 6px; border-radius: 5px; border: 1px solid var(--border); display: grid; place-items: center; font-size: 10px; font-weight: 800; letter-spacing: 0.02em; color: var(--text-2); background: #fff; }
.sh-summary { position: sticky; top: 92px; background: #fff; border: 1px solid var(--border); border-radius: 20px; padding: 20px 22px; display: grid; gap: 14px; }
.sh-summary h2 { margin: 0; font-size: 17px; display: flex; justify-content: space-between; align-items: baseline; }
.sh-summary h2 small { font-size: 13px; color: var(--text-2); font-weight: 500; }
.sh-sline { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; gap: 12px; align-items: center; font-size: 13.5px; }
.sh-sline__thumb { position: relative; width: 52px; height: 52px; border-radius: 12px; background: var(--tint, var(--surface-dim)); display: grid; place-items: center; }
.sh-sline__thumb svg.sh-pack { width: 64%; height: 72%; }
.sh-sline__thumb em { position: absolute; top: -6px; inset-inline-end: -6px; min-width: 20px; height: 20px; border-radius: 99px; background: var(--text); color: #fff; font-style: normal; font-size: 11px; font-weight: 700; display: grid; place-items: center; padding: 0 5px; }
.sh-sline b { display: block; font-size: 13.5px; line-height: 1.3; }
.sh-sline span { color: var(--text-2); font-size: 12.5px; }
.sh-sline > strong { font-size: 13.5px; }
.sh-terms { font-size: 12.5px; color: var(--text-2); margin: 0; display: flex; gap: 8px; }
.sh-terms svg { width: 16px; height: 16px; flex: 0 0 16px; margin-top: 2px; color: var(--text-3); }

/* ---------------------------------------------------------------- order page */
.sh-order { max-width: 760px; margin-inline: auto; }
.sh-ordertop { text-align: center; display: grid; justify-items: center; gap: 8px; padding-block: 8px 24px; }
.sh-ordertop__ic { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--ok-bg); color: var(--ok); }
.sh-ordertop__ic svg { width: 32px; height: 32px; }
.sh-ordertop__ic--ready { background: var(--brand); color: var(--brand-on); }
.sh-ordertop h1 { margin: 6px 0 0; font-size: 30px; letter-spacing: -0.02em; text-wrap: balance; }
.sh-ordertop p { margin: 0; color: var(--text-2); max-width: 52ch; }
.sh-codecard { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px; align-items: center; background: #fff; border: 1px solid var(--border); border-radius: 22px; padding: 22px 24px; }
.sh-codecard__l { font-size: 13px; color: var(--text-2); font-weight: 600; }
.sh-code { font-size: 44px; font-weight: 800; letter-spacing: 0.08em; line-height: 1.1; margin-top: 4px; }
.sh-codecard__s { font-size: 13.5px; color: var(--text-2); margin-top: 6px; }
.sh-qr { width: 112px; height: 112px; border-radius: 12px; border: 1px solid var(--border); padding: 8px; background: #fff; }
.sh-timeline { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-top: 18px; }
.sh-tl { display: grid; gap: 8px; font-size: 13px; }
.sh-tl i { height: 6px; border-radius: 99px; background: var(--border); }
.sh-tl b { font-size: 13.5px; }
.sh-tl span { color: var(--text-2); font-size: 12.5px; }
.sh-tl--done i { background: var(--ok); }
.sh-tl--now i { background: linear-gradient(90deg, var(--ok) 50%, var(--border) 50%); }
.sh-tl--done b, .sh-tl--now b { color: var(--text); }
.sh-tl--todo b { color: var(--text-3); }
.sh-ocards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 14px; }
.sh-ocard { background: #fff; border: 1px solid var(--border); border-radius: 20px; padding: 18px 20px; }
.sh-ocard h3 { margin: 0 0 10px; font-size: 14px; color: var(--text-2); font-weight: 600; }
.sh-ocard p { margin: 0; font-size: 14px; }
.sh-ocard p + p { margin-top: 4px; color: var(--text-2); font-size: 13.5px; }
.sh-ocard--wide { grid-column: 1 / -1; }
.sh-statuspill { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.sh-statuspill i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.sh-sp--paid { background: var(--surface-dim); color: var(--text-2); }
.sh-sp--ready { background: var(--brand-tint-2); color: var(--brand-ink); }
.sh-sp--done { background: var(--ok-bg); color: var(--ok); }
.sh-sp--exp { background: var(--bad-bg); color: var(--bad); }

/* account orders */
.sh-acct { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 28px; }
.sh-acctnav { display: grid; gap: 4px; align-content: start; }
.sh-acctnav a { display: flex; align-items: center; gap: 10px; height: 44px; padding: 0 12px; border-radius: 12px; color: var(--text); text-decoration: none; font-weight: 500; font-size: 14.5px; }
.sh-acctnav a svg { width: 18px; height: 18px; color: var(--text-2); }
.sh-acctnav a[aria-current="page"] { background: var(--brand-tint); color: var(--brand-ink); font-weight: 700; }
.sh-acctnav a[aria-current="page"] svg { color: var(--brand-ink); }
.sh-orow { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px 18px; align-items: center; background: #fff; border: 1px solid var(--border); border-radius: 18px; padding: 16px 18px; margin-bottom: 12px; }
.sh-orow__top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.sh-orow__top b { font-size: 15px; letter-spacing: 0.04em; }
.sh-orow__top span { font-size: 13px; color: var(--text-2); }
.sh-orow__thumbs { display: flex; gap: 6px; margin-top: 10px; }
.sh-orow__thumbs i { width: 40px; height: 40px; border-radius: 10px; background: var(--tint, var(--surface-dim)); display: grid; place-items: center; }
.sh-orow__thumbs svg.sh-pack { width: 64%; height: 72%; }
.sh-undo { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 20px; background: var(--surface-dim); border-bottom: 1px solid var(--border); font-size: 13px; color: var(--text-2); }
.sh-undo span { min-width: 0; overflow-wrap: anywhere; }
.sh-undo .sh-link { flex: 0 0 auto; font-weight: 700; }
.sh-orow__items { margin: 8px 0 0; font-size: 13px; line-height: 1.45; color: var(--text-2); }
.sh-orow__end { display: grid; justify-items: end; gap: 8px; }
.sh-orow__end strong { font-size: 16px; }
.sh-orow__pay { font-size: 13px; color: var(--text-2); }
.sh-orow__ref { font-size: 15px; font-weight: 700; letter-spacing: 0.04em; color: var(--text); text-decoration: none; }
.sh-orow__ref:hover { color: var(--brand-ink); text-decoration: underline; }
.sh-orow__btns { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
/* What Buy again could not do in full, under the order it came from. */
.sh-orow__notes { grid-column: 1 / -1; list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.sh-orow__note { display: flex; gap: 8px; align-items: flex-start; padding: 8px 12px; border-radius: 10px; font-size: 13px; }
.sh-orow__note svg { width: 16px; height: 16px; margin-top: 2px; flex: 0 0 16px; }
.sh-orow__note--warn { background: var(--warn-bg); color: var(--warn); }
.sh-orow__note--bad { background: var(--bad-bg); color: var(--bad); }

/* product page */
.sh-crumbs { display: flex; gap: 8px; align-items: center; font-size: 13px; color: var(--text-2); margin-bottom: 18px; flex-wrap: wrap; }
.sh-crumbs a { color: var(--text-2); text-decoration: none; }
.sh-crumbs a:hover { color: var(--text); text-decoration: underline; }
.sh-crumbs svg { width: 14px; height: 14px; color: var(--text-3); }
.sh-pp { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.sh-pp .sh-gallery { border-radius: 24px; padding: 18px; background: #fff; border: 1px solid var(--border); position: sticky; top: 92px; }
.sh-pp .sh-gallery__main { min-height: 460px; }
.sh-pp .sh-qv { padding: 0; overflow: visible; }
.sh-pp .sh-qv h2 { font-size: 34px; }
.sh-rowtitle { display: flex; align-items: baseline; justify-content: space-between; margin: 44px 0 16px; }
.sh-rowtitle h2 { margin: 0; font-size: 22px; letter-spacing: -0.01em; }

/* ---------------------------------------------------------------- phone / narrow (container queries on the stage) */
@media (max-width: 1080px) {
	.sh-shoplayout { grid-template-columns: minmax(0, 1fr); }
	.sh-rail { display: none; }
	.sh-filtersbtn { display: inline-flex; }
	.sh-cogrid { grid-template-columns: minmax(0, 1fr); }
	.sh-summary { position: static; }
	.sh-pp { grid-template-columns: minmax(0, 1fr); gap: 24px; }
	.sh-pp .sh-gallery { position: static; }
	.sh-acct { grid-template-columns: minmax(0, 1fr); }
	.sh-acctnav { grid-auto-flow: column; overflow-x: auto; grid-auto-columns: max-content; }
}
@media (max-width: 640px) {
	.sh-iconbtn { width: 40px; height: 40px; }
	.sh-page { padding-block: 18px 110px; }
	.sh-hero__text { padding-block: 16px 18px; }
	.sh-hero h1 { font-size: 27px; margin-top: 10px; }
	.sh-hero__accent svg { width: 22px; height: 22px; }
	.sh-hero__sub { font-size: 14.5px; margin-top: 8px; }
	.sh-promises { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 14px; }
	.sh-promises li { flex-direction: column; align-items: flex-start; gap: 6px; font-size: 12px; }
	.sh-promises__ic { width: 34px; height: 34px; }
	.sh-promises__ic svg { width: 17px; height: 17px; }
	.sh-cats { gap: 8px; margin-inline: -16px; padding-inline: 16px; }
	.sh-cat { width: 96px; min-height: 120px; padding: 10px 6px 8px; }
	.sh-cat__pic, .sh-cat__pic img, .sh-cat__ic { width: 46px; height: 46px; }
	.sh-cat--all .sh-cat__ic { width: 40px; height: 40px; margin: 3px 0 7px; }
	.sh-cat__t { font-size: 12px; }
	.sh-subcats { flex-wrap: nowrap; overflow-x: auto; margin-inline: -16px; padding-inline: 16px; scrollbar-width: none; }
	.sh-petbar { flex-direction: column; align-items: stretch; gap: 8px; padding: 10px 12px; }
	.sh-petchips { flex: none; margin-inline: -12px; padding-inline: 12px; }
	.sh-petchip { min-height: 42px; padding-inline-end: 16px; }
	.sh-petchip__face, .sh-petchip__face svg { width: 30px; height: 30px; }
	.sh-petchip__face--all { width: 28px; height: 28px; }
	.sh-petchip__face--all svg { width: 16px; height: 16px; }
	.sh-petbar__note { margin-inline-start: 0; width: 100%; }
	.sh-shoplayout { margin-top: 18px; }
	.sh-toolbar__count { width: 100%; order: -1; }
	.sh-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	.sh-card { border-radius: 16px; }
	.sh-card__body { padding: 10px; }
	.sh-card__name { font-size: 13.5px; }
	.sh-card__brand, .sh-card__meta { font-size: 11.5px; }
	.sh-card__badges { top: 8px; inset-inline-start: 8px; }
	.sh-tag { height: 22px; font-size: 10.5px; padding: 0 7px; }
	.sh-price b { font-size: 16px; }
	.sh-add { width: 38px; height: 38px; flex-basis: 38px; }
	.sh-card .sh-stepper { height: 38px; }
	.sh-card .sh-stepper button { width: 32px; height: 36px; }
	.sh-card .sh-stepper span { min-width: 16px; font-size: 14px; }
	.sh-collectnote { align-items: flex-start; }
	.sh-basketbar {
		display: flex;
		position: absolute;
		inset-inline: 12px;
		bottom: 12px;
		bottom: calc(12px + env(safe-area-inset-bottom, 0px));
		align-items: center;
		gap: 12px;
		height: 60px;
		padding: 0 8px 0 16px;
		border-radius: 18px;
		background: var(--text);
		color: #fff;
		box-shadow: var(--shadow-pop);
		z-index: 15;
		border: 0;
		text-align: start;
	}
	.sh-basketbar b { display: block; font-size: 14px; }
	.sh-basketbar span { font-size: 12px; opacity: 0.75; }
	.sh-basketbar em { margin-inline-start: auto; font-style: normal; height: 44px; padding: 0 16px; border-radius: 12px; background: var(--brand); color: var(--brand-on); display: grid; place-items: center; font-weight: 700; font-size: 14px; }
	.sh-drawer { width: 100%; }
	.sh-dialog {
		top: auto;
		bottom: 0;
		left: 0;
		transform: none;
		width: 100%;
		max-height: 88dvh;
		border-radius: 22px 22px 0 0;
		grid-template-columns: minmax(0, 1fr);
		overflow-y: auto;
		animation: sh-sheet 0.26s cubic-bezier(0.2, 0.8, 0.2, 1);
	}
	.sh-dialog .sh-gallery { padding: 10px 16px 0; background: #fff; }
	.sh-dialog .sh-gallery__main { min-height: 220px; }
	.sh-dialog .sh-gallery__thumbs { display: none; }
	.sh-dialog .sh-qv { padding: 16px 20px 24px; overflow: visible; }
	.sh-toast { bottom: 84px; }
	.sh-cotitle { font-size: 24px; }
	.sh-cosec { padding: 16px; border-radius: 18px; }
	.sh-fields { grid-template-columns: minmax(0, 1fr); }
	.sh-slots { grid-template-columns: 1fr 1fr; }
	.sh-code { font-size: 34px; }
	.sh-codecard { grid-template-columns: minmax(0, 1fr); justify-items: start; }
	.sh-qr { width: 96px; height: 96px; }
	.sh-timeline { grid-template-columns: 1fr 1fr; row-gap: 14px; }
	.sh-ocards { grid-template-columns: minmax(0, 1fr); }
	.sh-ordertop h1 { font-size: 24px; }
	.sh-orow { grid-template-columns: minmax(0, 1fr); }
	.sh-orow__end { justify-items: start; grid-auto-flow: column; align-items: center; justify-content: space-between; }
	.sh-pp .sh-gallery__main { min-height: 300px; }
	.sh-pp .sh-qv h2 { font-size: 26px; }
	.sh-cohead { height: 60px; }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

/* Latin sizes and codes ("2 kg", "PC-4821") keep their own order inside Arabic text. */
.sh-card__sizes span, .sh-card__meta, .sh-size b, .sh-line__meta span, .sh-sline span, .sh-toast span, .sh-code, .sh-crumbs span { unicode-bidi: plaintext; }
svg.sh-pack text { direction: ltr; unicode-bidi: isolate; }

/* Arabic: Latin sizes and codes ("2 kg", "K7Q2MX") keep their own order. */
.sh-card__sizes span, .sh-card__meta, .sh-size b, .sh-line__meta span, .sh-sline span, .sh-toast span, .sh-code, .sh-crumbs span { unicode-bidi: plaintext; }
[dir="rtl"] .sh-flip { transform: scaleX(-1); }
/* A focused page (checkout) draws its own slim header instead of the site navbar. */
body.is-focus main { padding-top: 0 !important; }
body.is-focus .tw-accent-line { display: none; }

/* ---------------------------------------------------------------- real-page additions */
[x-cloak] { display: none !important; }
.sh-shopmain { min-width: 0; scroll-margin-top: calc(var(--tw-nav-h, 72px) + 16px); }
.sh-card__media { overflow: hidden; }
.sh-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.25s ease; }
.sh-card:hover .sh-card__media img { transform: scale(1.03); }
.sh-card__ph { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--text-3); }
.sh-card__ph svg { width: 30px; height: 30px; }
.sh-card__sizes span.is-out { opacity: 0.5; text-decoration: line-through; }
.sh-card__inbasket { color: var(--brand-ink); font-weight: 600; }
.sh-sortwrap { position: relative; }
.sh-sortwrap .sh-menu { top: calc(100% + 6px); inset-inline-end: 0; }
.sh-iconbtn { cursor: pointer; }

/* The rail: a column beside the shelf, a sheet from the Filters button on narrower screens. */
.sh-rail__x, .sh-rail__foot, .sh-rail-scrim { display: none; }
.sh-rail__body { display: grid; }
@media (max-width: 1080px) {
	.sh-rail.is-open {
		display: flex;
		flex-direction: column;
		position: fixed;
		inset-inline: 0;
		bottom: 0;
		top: auto;
		z-index: 1101;
		max-height: 88dvh;
		background: #fff;
		border-radius: 22px 22px 0 0;
		box-shadow: var(--shadow-pop);
		animation: sh-sheet 0.26s cubic-bezier(0.2, 0.8, 0.2, 1);
		gap: 0;
	}
	.sh-rail.is-open .sh-rail__head { padding: 16px 20px 8px; margin: 0; gap: 12px; }
	.sh-rail.is-open .sh-rail__head b { font-size: 18px; margin-inline-end: auto; }
	.sh-rail.is-open .sh-rail__x { display: grid; }
	.sh-rail.is-open .sh-rail__body { overflow-y: auto; padding: 0 20px 12px; }
	.sh-rail.is-open .sh-rail__foot { display: flex; gap: 10px; padding: 12px 20px calc(14px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--border-2); }
	.sh-rail.is-open .sh-rail__foot .sh-btn { flex: 1; }
	.sh-rail-scrim { display: block; position: fixed; inset: 0; z-index: 1100; }
}

/* Provider filters, drawn in the mockup's rail style. Real fieldsets and checkboxes underneath. */
.sh-facet { border: 0; margin: 0; padding: 14px 0; min-width: 0; box-shadow: inset 0 1px 0 var(--border); }
.sh-rail__body > .sh-facet:first-child { box-shadow: none; padding-top: 4px; }
.sh-facet__legend { padding: 0; margin: 0 0 10px; font-weight: 600; font-size: 14px; color: var(--text); }
.sh-facet__unit { font-weight: 500; color: var(--text-2); }
.sh-facet__list { display: grid; gap: 2px; }
.sh-facet__row { display: flex; align-items: center; gap: 10px; min-height: 36px; font-size: 14px; }
.sh-facet__row input { width: 18px; height: 18px; margin: 0; accent-color: var(--brand); cursor: pointer; }
.sh-facet__label { flex: 1; cursor: pointer; }
.sh-facet__count { margin-inline-start: auto; color: var(--text-3); font-size: 12.5px; font-variant-numeric: tabular-nums; }
.sh-facet__chips { display: flex; gap: 6px; flex-wrap: wrap; }
.sh-facet__chipinput { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.sh-facet__chip { height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--border); background: #fff; font-size: 13.5px; font-weight: 500; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; cursor: pointer; }
.sh-facet__chipinput:checked + .sh-facet__chip { background: var(--text); border-color: var(--text); color: #fff; }
.sh-facet__chipinput:focus-visible + .sh-facet__chip { outline: 2px solid var(--brand); outline-offset: 2px; }
.sh-facet__chipcount { opacity: 0.6; font-size: 12px; }
.sh-facet__range { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 8px; align-items: center; }
.sh-facet__num { width: 100%; min-width: 0; height: 42px; padding: 0 10px; border: 1px solid var(--border); border-radius: 10px; background: #fff; font-size: 14px; }
.sh-facet__num:focus { outline: 0; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-tint-2); }
.sh-facet__dash { color: var(--text-3); }
.sh-facet--switch { padding-block: 14px; }
.sh-facet__switchinput { position: absolute; opacity: 0; width: 1px; height: 1px; }
.sh-facet__switch { display: flex; align-items: center; gap: 12px; cursor: pointer; font-size: 14px; font-weight: 600; }
.sh-facet__track { flex: 0 0 auto; width: 40px; height: 24px; border-radius: 999px; background: #cfd5dd; position: relative; transition: background 0.15s; }
.sh-facet__knob { position: absolute; top: 3px; inset-inline-start: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2); transition: inset-inline-start 0.15s; }
.sh-facet__switchinput:checked + .sh-facet__switch .sh-facet__track { background: var(--brand); }
.sh-facet__switchinput:checked + .sh-facet__switch .sh-facet__knob { inset-inline-start: 19px; }
.sh-facet__switchinput:focus-visible + .sh-facet__switch .sh-facet__track { outline: 2px solid var(--brand); outline-offset: 2px; }

/* The phone's basket bar sits where the chat button would, so the right-edge floats move up
   by its height through their own slot system rather than a hardcoded bottom. */
@media (max-width: 640px) {
	body:has(.sh-basketbar) { --tw-float-edge: 88px; }
	.sh-basketbar { position: fixed; z-index: 40; }

	/* WL-038: they step aside while the page scrolls down (partials/floats-away), so they are not
	   left over the cards, prices and Filters. An open chat or list stays where it is. */
	:is(.tw-chat, .tw-notif, .tw-cfloat, .tw-rfloat) { transition: transform 0.2s ease, opacity 0.2s ease; }
	body.sh-floats-away :is(.tw-chat, .tw-notif, .tw-cfloat, .tw-rfloat):not(:has([class*="__panel"])) { transform: translateX(calc(100% + 24px)); opacity: 0; pointer-events: none; }
	[dir="rtl"] body.sh-floats-away :is(.tw-chat, .tw-notif, .tw-cfloat, .tw-rfloat):not(:has([class*="__panel"])) { transform: translateX(calc(-100% - 24px)); }
}
.sh-avatar { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; flex: 0 0 36px; background: var(--brand); color: var(--brand-on); font-weight: 700; font-size: 13px; }
.sh-cohead__logo { width: 44px; height: 44px; border-radius: 50%; flex: 0 0 44px; display: grid; place-items: center; overflow: hidden; background: var(--brand-tint-2); color: var(--brand-ink); }
.sh-cohead__logo img { width: 100%; height: 100%; object-fit: cover; }
.sh-cohead__logo svg { width: 26px; height: 26px; }
.sh-line__thumb { overflow: hidden; }
.sh-line__thumb img, .sh-sline__thumb img, .sh-toast__thumb img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; display: block; }
.sh-sline__thumb img { border-radius: 12px; }
.sh-line__ph, .sh-sline__thumb > svg, .sh-toast__thumb > svg { color: var(--text-3); width: 26px; height: 26px; display: grid; place-items: center; }
.sh-line__ph svg { width: 26px; height: 26px; }
.sh-gallery__main { overflow: hidden; }
.sh-gallery__main img { width: 100%; height: 100%; max-height: 560px; object-fit: contain; display: block; }
.sh-gallery__thumbs button { overflow: hidden; }
.sh-gallery__thumbs img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sh-ordertop__ic--bad { background: var(--bad-bg); color: var(--bad); }
.sh-qr { display: block; width: 112px; height: 112px; padding: 8px; border: 1px solid var(--border); border-radius: 12px; background: #fff; }
.sh-qr svg { display: block; width: 100%; height: 100%; }
@media (max-width: 640px) { .sh-qr { width: 96px; height: 96px; } }
.sh-orow__thumbs i { overflow: hidden; color: var(--text-3); }
.sh-orow__thumbs i img { width: 100%; height: 100%; object-fit: cover; }
.sh-orow__thumbs i svg { width: 20px; height: 20px; }
/* Shop pages pin their own heading colour; inside a theme section (the landing-page row)
   the theme's section title keeps the theme's colour, like every other section. */
.sh-root :is(h1, h2, h3), .sh-card__name { color: var(--text); }
.sh-scope a.sh-btn, .sh-scope a.sh-btn:hover { text-decoration: none; }
.sh-scope a.sh-btn--primary, .sh-scope a.sh-btn--primary:hover { color: var(--brand-on); }
[dir="rtl"] .sh-tl--now i { background: linear-gradient(270deg, var(--ok) 50%, var(--border) 50%); }
/* Right-edge floats (chat, notifications, coupon) step aside while a sheet, drawer, dialog or the
   basket message is open — they would otherwise sit on top of its buttons. */
body:has(.sh-layer .sh-scrim) :is(.tw-chat, .tw-notif, .tw-cfloat, .tw-rfloat),
body:has(.sh-rail.is-open) :is(.tw-chat, .tw-notif, .tw-cfloat, .tw-rfloat),
body:has(.sh-toast) :is(.tw-chat, .tw-notif, .tw-cfloat, .tw-rfloat) { visibility: hidden; }
.sh-card__foot { flex-wrap: wrap; }
.sh-price em { white-space: nowrap; }

/* "From our shop" on the landing page: the theme's section classes size and space it; this
   only lines the heading up with its link and gives the default theme the link it lacks. */
.sh-homerow__head { align-items: flex-end; }
.tw-sec .sh-homerow__head { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.25rem; }
.sh-homerow .lg-sec__more svg, .sh-homerow__more svg { width: 16px; height: 16px; }
.sh-homerow__more { display: inline-flex; align-items: center; gap: 0.4rem; color: var(--brand-ink); font-weight: 600; font-size: 0.95rem; text-decoration: none; white-space: nowrap; }
.sh-homerow__more:hover { text-decoration: underline; }

/* ---------------------------------------------------------------- WEB-1507: pet types + sold out
   Ported from the approved mockup "WEB-1507 shop" (content/web1507-shop.html, #shop / #product):
   `.pets` / `.pet`, `.badge--out`, `.card.is-out`, `.out-line`, `.size-big.out span`, `.muted`. */
.sh-pets { display: flex; gap: 4px; flex-wrap: wrap; }
.sh-pet { font-size: 11.5px; font-weight: 600; color: var(--text-2); background: var(--surface-dim); border-radius: 999px; padding: 2px 8px; display: inline-flex; gap: 4px; align-items: center; }
.sh-pet svg { width: 15px; height: 15px; }
.sh-card__body > .sh-pets { margin-top: 2px; }
/* Sold out: listed, marked, last. The photo dims, the name steps back, the sizes are struck and
   the Add becomes "Not available". */
.sh-tag--out { background: #fff; color: var(--bad); border: 1px solid #f2c9c6; box-shadow: none; }
.sh-card.is-out .sh-card__media img, .sh-card.is-out .sh-card__ph { opacity: 0.35; }
.sh-card.is-out .sh-card__name, .sh-card.is-out .sh-card__name button { color: var(--text-2); }
.sh-card__meta.is-out { color: var(--text-3); text-decoration: line-through; }
.sh-card__out { font-size: 12.5px; color: var(--bad); font-weight: 600; padding-bottom: 2px; }
.sh-size[disabled] span { color: var(--bad); }
.sh-facet__hint { margin: 8px 0 0; color: var(--text-3); font-size: 13px; line-height: 1.45; }

/* WEB-1509: what came back from an order */
.sh-returns { display: grid; gap: 10px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line, #eceef3); }
.sh-returns__h { margin: 0; font-size: 15px; font-weight: 700; }
.sh-returns__one { display: grid; gap: 8px; padding: 12px 14px; border: 1px solid var(--line, #eceef3); border-radius: 12px; }
.sh-returns__top { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; font-size: 13px; color: var(--text-2); }
.sh-returns__top b { color: var(--text); }
.sh-returns__items { margin: 0; padding-inline-start: 18px; font-size: 14px; }

/* Part 5 follow-up: the shop page on white, and wider. */
.sh-shop2.sh-page-bg { background: #fff; }
.sh-shop2 .sh-wrap { max-width: 1560px; padding-inline: clamp(16px, 3vw, 40px); }

/* ===== Part 5 · checkout & order ===== */
/* The v2 order page uses the shop's full width, as the mockup does (the old one sat in a 760px column). */
.sh-order--wide { max-width: none; }
/* Ported from the approved "White-label shop v2" mockup (#checkout, #order), on the .sh-scope tokens. */
.sh-co2-grow { flex: 1; min-width: 0; }
.sh-co2-head { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin: 0 0 16px; }
.sh-co2-lock { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; flex: 0 0 48px; background: var(--brand-tint-2); color: var(--brand-ink); }
.sh-co2-lock svg { width: 22px; height: 22px; }
.sh-co2-head__t { min-width: 0; }
.sh-co2-head__t h1 { margin: 0; font-size: 28px; line-height: 1.15; letter-spacing: -0.02em; text-wrap: balance; }
.sh-co2-head__t p { margin: 2px 0 0; font-size: 13px; color: var(--text-2); }
.sh-co2-steps { display: flex; align-items: flex-start; margin: 0 0 0 auto; padding: 0; list-style: none; }
[dir="rtl"] .sh-co2-steps { margin: 0 auto 0 0; }
.sh-co2-step { position: relative; display: grid; justify-items: center; gap: 4px; width: 92px; font-size: 12px; font-weight: 600; color: var(--text-2); }
.sh-co2-step i { position: relative; z-index: 1; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; border: 2px solid var(--border); background: #fff; font-style: normal; font-weight: 700; font-size: 12px; }
.sh-co2-step i svg { width: 14px; height: 14px; }
.sh-co2-step.is-on, .sh-co2-step.is-done { color: var(--text); }
.sh-co2-step.is-on i, .sh-co2-step.is-done i { background: var(--brand); border-color: var(--brand); color: var(--brand-on); }
.sh-co2-step:not(:last-child)::after { content: ""; position: absolute; top: 13px; inset-inline-start: calc(50% + 14px); width: calc(100% - 28px); height: 2px; background: var(--border); }
.sh-co2-step.is-done:not(:last-child)::after { background: var(--brand); }

.sh-co2-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 16px; align-items: start; }
.sh-co2-main { display: grid; gap: 14px; min-width: 0; }
.sh-co2-sec { display: grid; gap: 14px; padding: 18px 20px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md); box-shadow: var(--shadow-card); min-width: 0; }
.sh-co2-sec__h { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 12px; }
.sh-co2-n { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; flex: 0 0 28px; background: var(--brand); color: var(--brand-on); font-weight: 700; font-size: 13px; }
.sh-co2-sec__t { flex: 1; min-width: 200px; }
.sh-co2-sec__t h2 { margin: 0; font-size: 17px; }
.sh-co2-sec__t p { margin: 2px 0 0; font-size: 13px; color: var(--text-2); }
.sh-co2-acct { margin: 0; font-size: 13px; color: var(--text-2); }
.sh-co2-who { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface-dim); }
.sh-co2-who .sh-avatar { width: 40px; height: 40px; flex-basis: 40px; font-size: 16px; }
.sh-co2-who__t { flex: 1; min-width: 0; display: grid; }
.sh-co2-who__t span { font-size: 13px; color: var(--text-2); overflow-wrap: anywhere; }
.sh-co2-wa { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; background: #ecfdf3; border: 1px solid #c9f0d8; }
.sh-co2-wa__ic { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; flex: 0 0 34px; background: #1fa855; color: #fff; }
.sh-co2-wa__ic svg { width: 18px; height: 18px; }
.sh-co2-wa b, .sh-co2-info b, .sh-co2-ok b { display: block; font-size: 13.5px; }
.sh-co2-wa span, .sh-co2-info span { font-size: 13px; color: var(--text-2); }
.sh-co2-info { display: flex; align-items: flex-start; gap: 10px; padding: 12px 14px; border-radius: 12px; background: var(--brand-tint); color: var(--text); }
.sh-co2-info > svg { width: 18px; height: 18px; flex: 0 0 auto; color: var(--brand-ink); margin-top: 1px; }
.sh-co2-branch { position: relative; display: flex; align-items: center; gap: 10px; padding: 8px 10px; border: 1px solid var(--border); border-radius: 12px; margin-inline-start: auto; max-width: 100%; }
.sh-co2-branch > svg { width: 18px; height: 18px; flex: 0 0 auto; color: var(--text-3); }
.sh-co2-branch b { display: block; font-size: 13px; }
.sh-co2-branch span { display: block; font-size: 12px; color: var(--text-2); }
.sh-co2-branches { position: absolute; top: calc(100% + 6px); inset-inline-end: 0; z-index: 20; display: grid; gap: 4px; width: min(320px, 86vw); padding: 6px; border-radius: 12px; border: 1px solid var(--border); background: var(--surface); box-shadow: var(--shadow-lift); }
.sh-co2-branchopt { display: grid; gap: 2px; padding: 10px 12px; border: 0; border-radius: 10px; background: transparent; text-align: start; cursor: pointer; }
.sh-co2-branchopt:hover { background: var(--surface-dim); }
.sh-co2-branchopt.is-on { background: var(--brand-tint); }
.sh-co2-days { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.sh-co2-day { display: grid; gap: 2px; align-content: start; padding: 10px; border: 1px solid var(--border); border-radius: 12px; background: #fff; font-size: 12.5px; text-align: start; cursor: pointer; min-width: 0; }
.sh-co2-day b { display: flex; align-items: center; gap: 6px; font-size: 14px; }
.sh-co2-day b svg { width: 14px; height: 14px; flex: 0 0 auto; color: var(--text-3); }
.sh-co2-day small { font-size: 12px; color: var(--text-2); }
.sh-co2-day .is-ready { color: var(--brand-ink); font-weight: 700; }
.sh-co2-day[aria-checked="true"] { border-color: var(--brand); background: var(--brand-tint); box-shadow: 0 0 0 1px var(--brand); }
.sh-co2-day--pick select { width: 100%; min-width: 0; margin-top: 4px; border: 1px solid var(--border); border-radius: 8px; padding: 4px 6px; background: #fff; font: inherit; font-size: 12.5px; }
.sh-co2-ok { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; background: var(--ok-bg); color: #064e33; }
.sh-co2-ok__ic { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; flex: 0 0 26px; background: var(--ok); color: #fff; }
.sh-co2-ok__ic svg { width: 14px; height: 14px; }
.sh-co2-ok span { font-size: 13px; color: #065f46; }
.sh-co2-pays { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.sh-co2-pay { padding: 12px 14px; border-radius: 12px; }
.sh-co2-pay > svg { width: 18px; height: 18px; flex: 0 0 auto; color: var(--text-3); }
.sh-co2-pay[aria-checked="true"] { background: var(--brand-tint); }
.sh-co2-pay[aria-disabled="true"] { opacity: .55; cursor: not-allowed; }
.sh-co2-pay:focus-visible, .sh-co2-day:focus-visible { outline: 2px solid var(--brand-ink); outline-offset: 2px; }
.sh-co2-notes { position: relative; }
.sh-co2-notes textarea { border-radius: 12px; min-height: 84px; }
.sh-co2-count { justify-self: end; font-size: 13px; color: var(--text-2); }

.sh-co2-sum { position: sticky; top: 16px; display: grid; gap: 12px; padding: 18px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md); box-shadow: var(--shadow-card); min-width: 0; }
.sh-co2-sum > * { min-width: 0; }
.sh-co2-sum__h { display: flex; align-items: center; gap: 8px; }
.sh-co2-sum__h h2 { margin: 0; font-size: 19px; }
.sh-co2-sum__h small { font-size: 13px; color: var(--text-2); }
.sh-co2-sum__h .sh-link { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; }
.sh-co2-sum__h .sh-link svg { width: 14px; height: 14px; }
.sh-co2-line { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 10px; align-items: start; padding-bottom: 12px; border-bottom: 1px solid var(--border-2); }
.sh-co2-line__thumb { width: 64px; height: 52px; border-radius: 8px; border: 1px solid var(--border-2); background: #fff; display: grid; place-items: center; overflow: hidden; }
.sh-co2-line__thumb img { width: 100%; height: 100%; block-size: auto; object-fit: contain; }
.sh-co2-line__thumb svg { width: 22px; height: 22px; color: var(--text-3); }
.sh-co2-line__t { display: grid; gap: 2px; min-width: 0; }
.sh-co2-line__t b { font-size: 13.5px; line-height: 1.3; }
.sh-co2-line__t span { font-size: 13px; color: var(--text-2); }
.sh-co2-line__buy { display: grid; gap: 8px; justify-items: end; }
.sh-co2-line__acts { display: flex; align-items: center; gap: 6px; }
.sh-co2-stepper { display: inline-flex; align-items: center; border: 1px solid var(--border); border-radius: 10px; overflow: hidden; }
.sh-co2-stepper button { width: 30px; height: 30px; border: 0; background: #fff; display: grid; place-items: center; cursor: pointer; color: var(--text); }
.sh-co2-stepper button svg { width: 14px; height: 14px; }
.sh-co2-stepper > span { min-width: 28px; text-align: center; font-weight: 700; font-size: 13.5px; }
/* At the stock limit, as in the basket: the + greys out and the line says how many are left. */
.sh-co2-stepper button[disabled] { opacity: 0.35; cursor: not-allowed; }
.sh-co2-line__t .sh-co2-left { margin-top: 6px; padding: 6px 9px; font-size: 12px; }
.sh-co2-line__t .sh-co2-left span { font-size: 12px; color: inherit; }
.sh-co2-rm { width: 30px; height: 30px; border: 0; border-radius: 50%; background: transparent; display: grid; place-items: center; color: var(--text-2); cursor: pointer; }
.sh-co2-rm:hover { background: var(--bad-bg); color: var(--bad); }
.sh-co2-rm svg { width: 15px; height: 15px; }
.sh-co2-couponl { display: inline-flex; align-items: center; gap: 6px; color: var(--brand-ink); }
.sh-co2-couponl svg { width: 14px; height: 14px; }
.sh-co2-sums { display: grid; gap: 8px; margin: 0; }
.sh-co2-sums > div { display: flex; justify-content: space-between; gap: 12px; font-size: 13.5px; }
.sh-co2-sums dt { color: var(--text); }
.sh-co2-sums dd { margin: 0; font-weight: 600; }
.sh-co2-sums .sh-free { color: var(--ok); font-weight: 700; }
.sh-co2-sums__off dt, .sh-co2-sums__off dd { color: var(--ok); }
.sh-co2-total { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 10px; background: var(--brand-tint); font-weight: 800; }
.sh-co2-total small { font-weight: 600; color: var(--text-2); font-size: 12.5px; }
.sh-co2-total strong { font-size: 20px; }
.sh-co2-vatnote { display: flex; align-items: flex-start; gap: 10px; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--brand-line); background: color-mix(in srgb, var(--brand) 4%, #fff); font-size: 12.5px; }
.sh-co2-vatnote > svg { width: 18px; height: 18px; flex: 0 0 auto; color: var(--brand-ink); }
.sh-co2-vatnote b { display: block; }
.sh-co2-vatnote span { display: block; font-size: 12px; color: var(--text-2); }
.sh-co2-nexth { margin: 4px 0 0; font-size: 14px; }
.sh-co2-next { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.sh-co2-next li { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 10px; align-items: start; font-size: 12.5px; color: var(--text-2); }
.sh-co2-next i { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--border); background: #fff; color: var(--text-2); font-style: normal; }
.sh-co2-next i svg { width: 15px; height: 15px; }
.sh-co2-next b { display: block; font-size: 13px; color: var(--text); }
.sh-co2-sum .sh-agree { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--text-2); margin: 0; }
.sh-co2-confirm { white-space: normal; height: auto; min-height: 52px; padding-block: 10px; border-radius: 12px; font-size: 15px; line-height: 1.25; text-align: center; }
.sh-co2-secure { display: flex; justify-content: center; align-items: center; gap: 6px; margin: 0; font-size: 12px; color: var(--text-2); }
.sh-co2-secure svg { width: 13px; height: 13px; }

/* Order page */
.sh-o2-top { display: grid; grid-template-columns: minmax(0, 1fr) 220px; margin-bottom: 14px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md); box-shadow: var(--shadow-card); overflow: hidden; }
.sh-o2-main { display: grid; gap: 14px; padding: 18px 20px; min-width: 0; }
.sh-o2-status { display: flex; align-items: flex-start; gap: 10px; padding: 10px 12px; border-radius: 12px; background: var(--brand-tint); }
.sh-o2-status > svg { width: 18px; height: 18px; flex: 0 0 auto; margin-top: 2px; color: var(--brand-ink); }
.sh-o2-status h1 { margin: 0; font-size: 15px; line-height: 1.35; }
.sh-o2-status p { margin: 2px 0 0; font-size: 13px; color: var(--text-2); }
.sh-o2-status.is-ok { background: var(--ok-bg); }
.sh-o2-status.is-ok > svg { color: var(--ok); }
.sh-o2-status.is-bad { background: var(--bad-bg); }
.sh-o2-status.is-bad > svg { color: var(--bad); }
.sh-o2-label { font-size: 13px; font-weight: 600; color: var(--text-2); }
.sh-o2-num { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.sh-o2-num b { font-size: 32px; font-weight: 800; letter-spacing: .02em; line-height: 1.2; }
.sh-o2-copy { width: 34px; height: 34px; border-radius: 9px; border: 1px solid var(--brand-line); background: var(--brand-tint); color: var(--brand-ink); display: grid; place-items: center; cursor: pointer; }
.sh-o2-copy svg { width: 15px; height: 15px; }
.sh-o2-copied { font-size: 12.5px; font-weight: 600; color: var(--ok); }
.sh-o2-placed { margin: 2px 0 0; font-size: 13px; color: var(--text-2); }
.sh-o2-tl { margin-top: 0; gap: 0; grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 0; }
.sh-o2-tl .sh-tl { position: relative; justify-items: center; gap: 3px; text-align: center; font-size: 12.5px; }
.sh-o2-tl .sh-tl i { position: relative; z-index: 1; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: #e9edf3; color: #fff; border: 3px solid #fff; box-shadow: 0 0 0 1px #e2e8f0; }
.sh-o2-tl .sh-tl i svg { width: 13px; height: 13px; }
.sh-o2-tl .sh-tl--done i { background: var(--ok); box-shadow: none; }
.sh-o2-tl .sh-tl--now i { background: var(--brand); box-shadow: 0 0 0 3px var(--brand-tint-2); }
[dir="rtl"] .sh-o2-tl .sh-tl--now i { background: var(--brand); }
.sh-o2-tl .sh-tl:not(:last-child)::after { content: ""; position: absolute; top: 13px; inset-inline-start: 50%; width: 100%; height: 3px; background: #e2e8f0; }
.sh-o2-tl .sh-tl--done:not(:last-child)::after { background: var(--ok); }
.sh-o2-tl .sh-tl b { font-size: 13px; }
.sh-o2-tl .sh-tl span { font-size: 12px; }
.sh-o2-code { display: grid; justify-items: center; align-content: center; gap: 8px; padding: 18px; border-inline-start: 1px solid var(--border); text-align: center; }
.sh-o2-code b { font-size: 13.5px; }
.sh-o2-code p { margin: 0; font-size: 12.5px; color: var(--text-2); }
.sh-o2-code .sh-qr { width: 120px; height: 120px; }
.sh-o2-codeok { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--ok-bg); color: var(--ok); }
.sh-o2-codeok svg { width: 28px; height: 28px; }
.sh-o2-three { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-bottom: 14px; }
.sh-o2-card { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 12px; align-content: start; padding: 16px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md); box-shadow: var(--shadow-card); }
.sh-o2-ic { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--brand-tint-2); color: var(--brand-ink); }
.sh-o2-ic svg { width: 18px; height: 18px; }
.sh-o2-card h3 { margin: 0; font-size: 13.5px; font-weight: 600; color: var(--text-2); }
.sh-o2-card b { display: block; }
.sh-o2-card p { margin: 2px 0 0; font-size: 13px; color: var(--text-2); }
.sh-o2-card .sh-btn { margin-top: 8px; }
.sh-o2-pill { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; background: var(--brand-tint); border: 1px solid var(--brand-line); color: var(--brand-ink); }
.sh-o2-pill svg { width: 14px; height: 14px; }
.sh-o2-pill.is-wa { background: #ecfdf3; border-color: #c9f0d8; color: #065f46; }
.sh-o2-pill.is-wa svg { color: #1fa855; }
.sh-o2-items { display: grid; gap: 10px; padding: 16px 20px; margin-bottom: 14px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md); box-shadow: var(--shadow-card); }
.sh-o2-items__h { display: flex; align-items: center; gap: 12px; }
.sh-o2-items__h h2 { flex: 1; margin: 0; font-size: 15px; }
.sh-o2-items__h .sh-link { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; }
.sh-o2-items__h .sh-link svg { width: 14px; height: 14px; }
.sh-o2-row { display: grid; grid-template-columns: 64px minmax(0, 1fr) 90px 110px; gap: 12px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--border-2); font-size: 13.5px; }
.sh-o2-thumb { width: 64px; height: 48px; display: grid; place-items: center; overflow: hidden; border-radius: 8px; }
.sh-o2-thumb img { width: 100%; height: 100%; block-size: auto; object-fit: contain; }
.sh-o2-thumb svg { width: 22px; height: 22px; color: var(--text-3); }
.sh-o2-row__t { display: grid; gap: 2px; min-width: 0; }
.sh-o2-row__t a { color: inherit; text-decoration: none; }
.sh-o2-row__t a:hover b { text-decoration: underline; text-underline-offset: 3px; }
.sh-o2-row__t span { font-size: 13px; color: var(--text-2); }
.sh-o2-qty { color: var(--text-2); }
.sh-o2-price { text-align: end; }
.sh-o2-acts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.sh-o2-act { display: flex; align-items: center; gap: 12px; min-height: 64px; padding: 14px; border: 1px solid var(--border); border-radius: 12px; background: #fff; color: var(--text); text-align: start; text-decoration: none; cursor: pointer; font: inherit; }
.sh-o2-act b { display: block; font-size: 13.5px; }
.sh-o2-act span span { font-size: 13px; color: var(--text-2); overflow-wrap: anywhere; }
.sh-o2-act__ic { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; flex: 0 0 38px; background: var(--brand-tint-2); color: var(--brand-ink); }
.sh-o2-act__ic svg { width: 18px; height: 18px; }
.sh-o2-act.is-primary { background: var(--brand); border-color: var(--brand); color: var(--brand-on); }
.sh-o2-act.is-primary .sh-o2-act__ic { background: color-mix(in srgb, var(--brand-on) 18%, transparent); color: var(--brand-on); }
/* D4: the customer's own "Cancel order", until the shop marks it Ready. */
.sh-o2-act--danger b { color: var(--bad); }
.sh-o2-act--danger .sh-o2-act__ic { color: var(--bad); }
.sh-o2-act.is-primary span span { color: color-mix(in srgb, var(--brand-on) 80%, transparent); }
.sh-o2-act:focus-visible, .sh-o2-copy:focus-visible { outline: 2px solid var(--brand-ink); outline-offset: 2px; }
.sh-o2-askmail { margin-top: 12px; max-width: 520px; }
.sh-o2-notice { margin: 12px 0 0; font-size: 13.5px; color: var(--text-2); }

@media (max-width: 1060px) {
	.sh-co2-grid { grid-template-columns: minmax(0, 1fr); }
	.sh-co2-sum { position: static; }
	.sh-co2-days { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.sh-o2-acts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
	.sh-co2-steps { margin: 0; }
	.sh-o2-three { grid-template-columns: minmax(0, 1fr); }
	.sh-o2-top { grid-template-columns: minmax(0, 1fr); }
	.sh-o2-code { border-inline-start: 0; border-top: 1px solid var(--border); }
	.sh-co2-branch { margin-inline-start: 0; width: 100%; }
}
@media (max-width: 560px) {
	.sh-co2-head__t h1 { font-size: 23px; }
	.sh-co2-step { width: 76px; }
	.sh-co2-days { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.sh-co2-pays { grid-template-columns: minmax(0, 1fr); }
	.sh-co2-line { grid-template-columns: 52px minmax(0, 1fr); }
	.sh-co2-line__thumb { width: 52px; height: 44px; }
	.sh-co2-line__buy { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; }
	.sh-o2-num b { font-size: 26px; }
	.sh-o2-tl .sh-tl b { font-size: 11.5px; }
	.sh-o2-row { grid-template-columns: 52px minmax(0, 1fr) auto; }
	.sh-o2-qty { display: none; }
	.sh-o2-acts { grid-template-columns: minmax(0, 1fr); }
}
