/* Zymi Food Equipment — storefront styles.
   Matches the reference store's look and structure: Roboto throughout, white pages with light grey rounded panels,
   12 px rounded inputs and buttons, centred product cards with red prices and full-width buttons, a light category
   bar with a solid "Shop All Categories" block, white footer. Zymi red stands where the reference uses its blue. */

:root {
  --brand: #c4161c;          /* Zymi red: buttons, bars, links */
  --brand-dk: #9f1015;
  --brand-tint: #fdeeee;
  --price: #d5232d;          /* prices and sale badges */
  --ink: #0a1a20;
  --ink-2: #22303c;
  --text: #111;
  --muted: #6b6f74;
  --line: #d6d6d6;
  --line-2: #e4e6e9;
  --panel: #f5f5f5;
  --nav: #eff1f4;
  --stripe: #f1f3f6;
  --ok: #2e7d32;
  --ok-tint: #e8f4ec;
  --warn: #8a5a00;
  --warn-tint: #fff4dc;
  --focus: #1f5fd1;
  --r-sm: 6px;
  --r: 12px;
  --r-lg: 14px;
  --shadow: 0 2px 10px rgba(16, 24, 32, .08);
  --font: 'Roboto', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  --w: 1470px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 70px; }
body { margin: 0; font: 400 14px/1.5 var(--font); color: var(--text); background: #fff; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { line-height: 1.25; margin: 0 0 .5em; color: var(--ink); }
h1 { font-size: clamp(1.4rem, 1.1rem + .9vw, 1.7rem); font-weight: 700; }
h2 { font-size: clamp(1.15rem, 1rem + .5vw, 1.375rem); font-weight: 500; }
h3 { font-size: 1rem; font-weight: 700; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.i { flex: none; }
.wrap { width: min(100% - 32px, var(--w)); margin-inline: auto; }
.narrow { max-width: 760px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 1000; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: var(--r-sm); }
.skip:focus { top: 10px; }
main:focus { outline: none; }
.muted { color: var(--muted); }
.small { font-size: .88rem; }

/* ── buttons & forms ── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 18px; border-radius: var(--r-sm); border: 1.5px solid transparent; font-weight: 500; font-size: .95rem; text-decoration: none; cursor: pointer; line-height: 1.1; }
.btn--red { background: var(--brand); color: #fff; }
.btn--red:hover { background: var(--brand-dk); }
.btn--ink { background: var(--ink-2); color: #fff; }
.btn--ink:hover { background: var(--ink); }
.btn--ghost { background: #fff; border-color: var(--line); color: var(--ink-2); }
.btn--ghost:hover { border-color: var(--ink-2); }
.btn--block { width: 100%; }
.btn--sm { min-height: 36px; padding: 6px 12px; font-size: .88rem; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; }
.link { color: var(--brand); font-weight: 500; text-decoration: underline; text-underline-offset: 2px; background: none; border: 0; padding: 0; cursor: pointer; }
.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field label, .label { font-weight: 500; font-size: .92rem; }
.field .hint { color: var(--muted); font-size: .85rem; }
.field .err, .form-error { color: var(--brand-dk); font-weight: 500; font-size: .9rem; }
.input, .field input:not([type=checkbox]):not([type=radio]), .field select, .field textarea { width: 100%; min-height: 44px; padding: 10px 12px; border: 1.5px solid var(--line); border-radius: var(--r-sm); background: #fff; }
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus, .input:focus { border-color: var(--ink-2); outline: 3px solid rgba(31, 95, 209, .2); outline-offset: 0; }
.field [aria-invalid="true"] { border-color: var(--brand); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; cursor: pointer; }
.check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--brand); flex: none; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 16px; }
@media (max-width: 640px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }
.notice { padding: 12px 14px; border-radius: var(--r-sm); background: var(--panel); border: 1px solid var(--line-2); margin: 0 0 16px; }
.notice--warn { background: var(--warn-tint); border-color: #ecc66b; }
.notice--ok { background: var(--ok-tint); border-color: #9fcdab; }
.notice--err { background: var(--brand-tint); border-color: #eba7a2; }
.card { background: #fff; border: 1px solid var(--line-2); border-radius: var(--r); padding: 20px; }
.panel { background: var(--panel); border-radius: var(--r-lg); padding: 22px 18px 18px; margin: 0 0 26px; }

/* ── top bar ── */
.topbar { background: var(--brand); color: #fff; font-size: .9rem; }
.topbar__inner { display: flex; justify-content: space-between; gap: 16px; padding-block: 6px; }
.topbar p { margin: 0; }
.topbar a { color: #fff; font-weight: 700; text-decoration: none; }
.topbar a:hover { text-decoration: underline; }
.topbar__support { white-space: nowrap; }
@media (max-width: 720px) { .topbar__support { display: none; } .topbar__inner { justify-content: center; text-align: center; } }

/* ── header ── */
.head { background: #fff; }
.head__inner { display: grid; grid-template-columns: 1fr minmax(0, 735px) 1fr; align-items: center; gap: 24px; padding-block: 9px; }
.head__burger { display: none; background: none; border: 0; padding: 8px; margin-left: -8px; cursor: pointer; }
.logo { display: inline-flex; flex-direction: column; align-items: flex-start; text-decoration: none; line-height: 1; gap: 3px; justify-self: start; }
.logo-word { font-family: 'Archivo', var(--font); font-weight: 900; font-stretch: 72%; font-size: 2.15rem; letter-spacing: .02em; color: var(--brand); -webkit-text-stroke: 1.2px var(--ink); paint-order: stroke fill; text-shadow: 1.5px 1.5px 0 var(--ink); line-height: .9; }
.logo-tag { display: flex; align-items: center; gap: 4px; font-family: 'Archivo', var(--font); font-weight: 800; font-stretch: 75%; font-size: .62rem; letter-spacing: .07em; text-transform: uppercase; color: var(--brand-dk); white-space: nowrap; }
.logo-star { color: var(--ink); font-size: .66rem; }
.logo-img { height: 48px; width: auto; }
.search { position: relative; display: flex; align-items: center; background: var(--panel); border: 1.5px solid var(--line); border-radius: var(--r); padding-left: 14px; height: 50px; width: 100%; }
.search:focus-within { border-color: var(--ink-2); background: #fff; }
.search > .i { color: #555; width: 22px; height: 22px; }
.search input { flex: 1; min-width: 0; width: 100%; border: 0; background: transparent; padding: 10px 12px; font-size: 1.05rem; outline: none; color: var(--ink); }
.search input::placeholder { color: #444; }
.search input::-webkit-search-cancel-button { display: none; }
.search--inline { max-width: 560px; margin: 0 0 18px; background: #fff; padding-left: 0; height: auto; }
.search--inline input { padding-left: 14px; }
.search--inline .btn { border-radius: 0 var(--r) var(--r) 0; align-self: stretch; }
.suggest { position: absolute; left: 0; right: 0; top: calc(100% + 6px); background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); z-index: 70; max-height: min(70vh, 560px); overflow: auto; padding: 6px; }
.suggest__group { padding: 8px 10px 4px; font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.suggest a { display: grid; grid-template-columns: 44px 1fr auto; gap: 10px; align-items: center; padding: 8px 10px; border-radius: var(--r-sm); text-decoration: none; }
.suggest a.is-text { grid-template-columns: 1fr; }
.suggest a[aria-selected="true"], .suggest a:hover { background: var(--panel); }
.suggest img, .suggest .ph { width: 44px; height: 44px; object-fit: contain; background: #fff; border-radius: 4px; }
.suggest .t { font-weight: 500; font-size: .92rem; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.suggest .s { color: var(--muted); font-size: .8rem; }
.suggest .p { font-weight: 700; color: var(--price); white-space: nowrap; }
.suggest mark { background: none; color: var(--brand); font-weight: 700; }
.suggest__fix { padding: 8px 10px; font-size: .9rem; margin: 0; }
.head__tools { display: flex; gap: 10px; justify-self: end; }
.tool { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; padding: 0 16px; border: 1.5px solid var(--line); border-radius: var(--r); background: var(--panel); text-decoration: none; font-size: 1.05rem; color: var(--ink); }
.tool:hover { border-color: var(--ink-2); }
.tool--icon { width: 46px; padding: 0; }
.tool .i { width: 22px; height: 22px; }
.badge { position: absolute; top: -7px; right: -7px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: var(--brand); color: #fff; font-size: .72rem; font-weight: 700; display: grid; place-items: center; line-height: 1; border: 2px solid #fff; }
.badge[hidden] { display: none; }

/* ── category bar + mega menu (stays pinned while scrolling, like the reference) ── */
.catbar { background: var(--nav); color: var(--ink-2); position: sticky; top: 0; z-index: 50; border-bottom: 1px solid var(--line-2); }
.catbar__inner { display: flex; align-items: stretch; gap: 4px; min-height: 48px; }
.catbar__all { display: inline-flex; align-items: center; gap: 10px; background: var(--brand); color: #fff; border: 0; padding: 0 16px; font-weight: 900; cursor: pointer; font-size: .95rem; }
.catbar__all .i { width: 18px; height: 18px; }
.catbar__all .i:last-child { width: 14px; height: 14px; }
.catbar__all[aria-expanded="true"] .i:last-child { transform: rotate(180deg); }
.catbar__links, .catbar__util { list-style: none; margin: 0; padding: 0; display: flex; align-items: stretch; }
.catbar__links > li, .catbar__util > li { display: flex; } /* links fill the bar's height so their text centres */
.catbar__util { margin-left: auto; }
.catbar a { display: inline-flex; align-items: center; gap: 7px; padding: 0 14px; color: var(--ink-2); text-decoration: none; font-weight: 700; font-size: .95rem; white-space: nowrap; }
.catbar a .i { width: 20px; height: 20px; color: var(--ink-2); }
.catbar__links a .i { width: 13px; height: 13px; }
.catbar a:hover { color: var(--brand); }
.mega { position: absolute; left: 0; right: 0; top: 100%; background: #fff; color: var(--ink); border-top: 1px solid var(--line-2); box-shadow: 0 18px 40px rgba(0, 0, 0, .16); z-index: 60; }
.mega__inner { display: grid; grid-template-columns: 290px minmax(0, 1fr); min-height: 440px; max-height: calc(100vh - 120px); }
.mega__roots { list-style: none; margin: 0; padding: 8px 0; border-right: 1px solid var(--line-2); overflow: auto; background: var(--panel); }
.mega__root { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 10px 16px; text-decoration: none; font-weight: 500; font-size: .95rem; color: var(--ink-2); }
.mega__root .i { width: 16px; color: var(--muted); }
.mega__root.is-on, .mega__root:hover, .mega__root:focus-visible { background: #fff; color: var(--brand); }
.mega__root--plain { border-top: 1px solid var(--line-2); margin-top: 6px; }
.mega__pane { display: none; padding: 20px 26px; overflow: auto; }
.mega__pane.is-on { display: block; }
.mega__title { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; font-weight: 700; font-size: 1.25rem; margin: 0 0 14px; }
.mega__title a { text-decoration: none; }
.mega__all { display: inline-flex; align-items: center; gap: 4px; font-size: .9rem; font-weight: 500; color: var(--brand); }
.mega__all .i { width: 15px; }
.mega__cols { columns: 4 200px; column-gap: 28px; }
.mega__group { break-inside: avoid; margin-bottom: 18px; }
.mega__head { display: block; font-weight: 700; text-decoration: none; margin-bottom: 6px; color: var(--ink); }
.mega__head:hover, .mega__group li a:hover { color: var(--brand); text-decoration: underline; }
.mega__group ul { list-style: none; margin: 0; padding: 0; }
.mega__group li a { display: block; padding: 3px 0; color: var(--muted); text-decoration: none; font-size: .92rem; }
.mega__more { font-weight: 500; color: var(--brand) !important; }
@media (max-width: 1240px) { .catbar__util li:first-child { display: none; } }
@media (max-width: 980px) {
  .head__inner { grid-template-columns: auto 1fr auto; gap: 10px; }
  .head__burger { display: inline-flex; }
  .search { grid-column: 1 / -1; order: 3; height: 46px; }
  .tool__label { display: none; }
  .tool--account { width: 44px; padding: 0; }
  .tool { height: 42px; }
  .tool--icon { width: 42px; }
  .catbar { display: none; }
  .logo-word { font-size: 1.85rem; }
}
@media (max-width: 480px) {
  .head__tools { gap: 6px; }
  .tool, .tool--account, .tool--icon { width: 40px; height: 40px; }
  .tool--quote-icon { display: none; }
  .logo-word { font-size: 1.6rem; }
  .logo-tag { font-size: .55rem; }
}

/* ── phone drawer ── */
.drawer { padding: 0; border: 0; margin: 0 auto 0 0; width: min(92vw, 400px); height: 100dvh; max-height: 100dvh; background: #fff; z-index: 2147483647; }
.drawer::backdrop { background: rgba(0, 0, 0, .45); }
.drawer__bar { display: flex; justify-content: space-between; align-items: center; padding: 10px 14px; background: var(--brand); color: #fff; position: sticky; top: 0; z-index: 1; }
.drawer__title { font-weight: 700; }
.drawer__close { background: none; border: 0; color: #fff; padding: 8px; cursor: pointer; }
.drawer__body { padding: 6px 0 40px; }
.drawer details { border-bottom: 1px solid var(--line-2); }
.drawer summary { list-style: none; display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; font-weight: 700; cursor: pointer; }
.drawer summary::-webkit-details-marker { display: none; }
.drawer summary .i { transition: transform .15s; }
.drawer details[open] > summary .i { transform: rotate(90deg); }
.drawer .d-links { list-style: none; margin: 0; padding: 0 0 10px; }
.drawer .d-links a { display: block; padding: 10px 16px 10px 28px; text-decoration: none; }
.drawer .d-links a.d-all { font-weight: 700; color: var(--brand); }
.drawer .d-plain { display: block; padding: 14px 16px; font-weight: 700; text-decoration: none; border-bottom: 1px solid var(--line-2); }

/* ── breadcrumbs, page heads ── */
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px; padding: 12px 0 10px; margin: 0; font-size: .8rem; color: var(--ink); }
.crumbs li + li::before { content: '/'; margin-right: 4px; color: var(--muted); }
.crumbs a { color: var(--brand); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
@media (max-width: 640px) {
  .crumbs li { display: none; }
  .crumbs li:nth-last-child(2) { display: flex; }
  .crumbs li:nth-last-child(2)::before { content: '‹'; color: var(--muted); margin-right: 6px; }
  .crumbs li:only-child { display: flex; }
}
.pagehead { padding: 4px 0 14px; }
.pagehead p { color: var(--muted); max-width: 80ch; }

/* ── home ── */
.hero { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; padding-top: 24px; margin-bottom: 28px; }
.banner { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 480px; border-radius: var(--r); overflow: hidden; text-decoration: none; background: linear-gradient(180deg, #f4f5f7 0%, #e9ecef 100%); isolation: isolate; padding: 30px 36px; }
.banner--dark { background: linear-gradient(180deg, #555 0%, #3d3d3d 100%); }
/* the photo takes the space above the words (never behind them), so a tall product can't run under the heading */
.banner img.bg { position: relative; flex: 1 1 0; min-height: 150px; width: 76%; align-self: center; object-fit: contain; margin: -8px 0 18px; mix-blend-mode: multiply; }
.banner--dark img.bg { mix-blend-mode: normal; background: #fff; border-radius: var(--r-sm); padding: 10px; width: 62%; }
.banner__tag { align-self: flex-start; background: var(--brand); color: #fff; font-weight: 700; font-size: .8rem; text-transform: uppercase; padding: 4px 8px; border-radius: 2px; margin-bottom: 12px; }
.banner__h { font-size: clamp(1.5rem, 1rem + 1.3vw, 2.1rem); font-weight: 700; line-height: 1.05; text-transform: uppercase; margin: 0 0 8px; color: var(--ink); }
.banner__p { font-weight: 500; color: #333; margin: 0 0 16px; }
.banner--dark .banner__h, .banner--dark .banner__p { color: #fff; }
.banner__btn { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; background: #fff; color: var(--brand-dk); border: 1.5px solid var(--line); font-weight: 700; padding: 8px 12px; border-radius: var(--r-sm); }
.banner__btn .i { width: 16px; height: 16px; }
.banner:hover .banner__btn { border-color: var(--brand); }
@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; }
  .banner { min-height: 0; padding: 18px 20px 22px; }
  .banner img.bg { flex: 0 0 190px; width: 100%; height: 190px; margin: 0 0 14px; }
}
.trust { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: var(--panel); border-radius: var(--r-lg); padding: 18px 0; margin: 0 0 26px; }
.trust > div { display: grid; justify-items: center; text-align: center; gap: 4px; padding: 4px 18px; }
.trust > div + div { border-left: 1px solid var(--line); }
.trust .i { color: var(--brand); width: 36px; height: 36px; stroke-width: 1.4; margin-bottom: 4px; }
.trust strong { display: block; font-size: 1rem; font-weight: 700; color: var(--ink); }
.trust span { color: #444; font-size: .88rem; }
@media (max-width: 900px) { .trust { grid-template-columns: 1fr 1fr; row-gap: 16px; } .trust > div:nth-child(3) { border-left: 0; } }
@media (max-width: 520px) { .trust { grid-template-columns: 1fr; } .trust > div + div { border-left: 0; } }
.section__head { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 16px; }
.section__head h2 { margin: 0; color: var(--ink); }
.section__more { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; font-size: 1rem; color: var(--brand); text-decoration: none; white-space: nowrap; }
.section__more:hover { text-decoration: underline; }
.section__more .i { width: 18px; }
.railwrap { position: relative; }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 7 * 16px) / 8); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 2px; }
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }
.rail__btn { position: absolute; top: 42%; z-index: 2; width: 42px; height: 42px; border-radius: 10px; border: 0; background: rgba(238, 239, 241, .95); display: grid; place-items: center; cursor: pointer; box-shadow: var(--shadow); }
.rail__btn--prev { left: -12px; }
.rail__btn--next { right: -12px; }
.rail__btn--prev .i { transform: rotate(180deg); }
.rail__btn[disabled] { opacity: .4; cursor: default; }
@media (max-width: 1300px) { .rail { grid-auto-columns: calc((100% - 5 * 16px) / 6); } }
@media (max-width: 1000px) { .rail { grid-auto-columns: calc((100% - 3 * 14px) / 4); gap: 14px; } }
@media (max-width: 700px) { .rail { grid-auto-columns: calc((100% - 14px) / 2.2); } .rail__btn { display: none; } }
.tiles { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 28px 50px; padding: 0 30px; }
.tile { display: grid; justify-items: center; gap: 12px; text-decoration: none; text-align: center; font-weight: 500; font-size: .92rem; color: var(--brand); line-height: 1.25; }
.tile__img { position: relative; display: block; width: 100%; aspect-ratio: 1; background: #fff; border-radius: var(--r); overflow: hidden; }
.tile:hover .tile__img { box-shadow: var(--shadow); }
@media (max-width: 1100px) { .tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; padding: 0; } }
@media (max-width: 620px) { .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.subtiles { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px; }
.subtile { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line-2); border-radius: var(--r); overflow: hidden; text-decoration: none; }
.subtile__img { position: relative; display: block; aspect-ratio: 1.05; overflow: hidden; }
.subtile__label { flex: 1; display: grid; place-items: center; background: var(--panel); text-align: center; padding: 12px 8px; font-weight: 500; font-size: .95rem; color: var(--ink); }
.subtile:hover { box-shadow: var(--shadow); }
.subtile:hover .subtile__label { color: var(--brand); }
@media (max-width: 1100px) { .subtiles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 560px) { .subtiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } }
.brandwall { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 16px; }
.brandwall a { display: grid; place-items: center; align-content: center; min-height: 98px; padding: 12px; background: #fff; border-radius: var(--r-sm); text-decoration: none; font-weight: 900; font-size: 1.15rem; text-transform: uppercase; letter-spacing: .02em; text-align: center; color: var(--ink-2); }
.brandwall a span { display: block; font-size: .74rem; font-weight: 400; color: var(--muted); text-transform: none; letter-spacing: 0; margin-top: 2px; }
.brandwall a:hover { box-shadow: var(--shadow); color: var(--brand); }
@media (max-width: 1100px) { .brandwall { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 560px) { .brandwall { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.brandfeat .section__head { align-items: flex-end; flex-wrap: wrap; }
.brandfeat h2 { font-size: 1.6rem; }
.brandfeat__kicker { display: block; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); margin-bottom: 2px; }
.brandfeat__intro { max-width: 72ch; margin: -4px 0 14px; color: var(--ink-2); }
.brandfeat__intro p { margin: 0; }
.brandfeat__cats { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; padding: 0; list-style: none; }
.brandfeat__cats a { display: inline-flex; align-items: baseline; gap: 6px; padding: 7px 12px; background: #fff; border: 1px solid var(--line-2); border-radius: var(--r-sm); color: var(--ink-2); text-decoration: none; font-size: .9rem; font-weight: 500; }
.brandfeat__cats a span { color: var(--muted); font-weight: 400; font-size: .82rem; }
.brandfeat__cats a:hover { border-color: var(--brand); color: var(--brand); }
@media (max-width: 560px) { .brandfeat h2 { font-size: 1.3rem; } .brandfeat .btn { width: 100%; justify-content: center; } }
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.about__card { background: #fff; border-radius: var(--r); padding: 24px; }
.about__card h2 { font-size: 1.1rem; font-weight: 500; }
.about__card h3 { font-size: 1rem; font-weight: 500; margin-top: 18px; }
.about__card ul { margin: 0 0 12px; padding-left: 1.1em; }
.about__card a:not(.btn) { color: var(--brand); font-weight: 500; }
@media (max-width: 900px) { .about { grid-template-columns: 1fr; } }

/* ── product cards (centred, like the reference) ── */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(178px, 1fr)); gap: 16px; }
.pcard { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line-2); border-radius: var(--r-sm); padding: 8px 8px 10px; text-align: center; min-width: 0; transition: box-shadow .15s; }
.pcard:hover { box-shadow: var(--shadow); }
.pcard__img { display: block; aspect-ratio: 1; margin-bottom: 10px; overflow: hidden; background: #fff; }
.pcard__img img { width: 100%; height: 100%; object-fit: contain; }
.ph { display: grid; place-content: center; justify-items: center; gap: 6px; width: 100%; height: 100%; background: #fafafa; color: #b7b6b0; font-weight: 500; text-transform: uppercase; font-size: .7rem; letter-spacing: .08em; text-align: center; padding: 8px; }
.ph__art { width: 46%; height: auto; color: #c9c9c9; }
.ph__txt { color: #a3a3a3; }
.pcard__flag { position: absolute; top: 8px; left: 8px; z-index: 2; background: var(--price); color: #fff; font-weight: 700; font-size: .72rem; padding: 3px 6px; border-radius: 0; }
.pcard__icons { position: absolute; top: 8px; right: 8px; z-index: 2; display: grid; gap: 6px; }
.pcard__brand { display: none; }
.pcard__title { font-size: .9rem; font-weight: 500; line-height: 1.3; margin: 0 0 4px; min-height: 3.9em; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.pcard__title a { text-decoration: none; color: var(--brand); }
.pcard__title a::after { content: ''; position: absolute; inset: 0; z-index: 0; }
.pcard__title a:hover { text-decoration: underline; }
.pcard__meta { font-size: .72rem; color: #555; display: grid; gap: 2px; margin-bottom: 6px; }
.pcard__meta .volt { color: var(--ink); font-weight: 500; }
.pcard__meta .volt::before { content: '⚡'; color: #f4b400; margin-right: 2px; font-size: .7rem; }
.pcard__bottom { margin-top: auto; display: grid; gap: 8px; }
.price { display: grid; justify-items: center; gap: 0; }
.price__now { font-weight: 700; font-size: 1.2rem; color: var(--price); white-space: nowrap; }
.pcard .price__now { font-size: clamp(1rem, .7rem + .6vw, 1.2rem); }
.price__was { color: var(--muted); text-decoration: line-through; font-size: .8rem; }
.price__from { color: var(--muted); font-size: .75rem; }
.price__call { font-weight: 700; color: var(--ink-2); font-size: 1rem; padding: 4px 0; }
.price--sale .price__now { color: var(--price); }
.stock { font-size: .78rem; font-weight: 500; display: inline-flex; align-items: center; justify-content: center; gap: 5px; }
.stock::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: #9a9a95; }
.stock--in::before { background: var(--ok); }
.stock--out::before { background: var(--price); }
.stock--lead::before { background: #d99a00; }
.pcard__actions { position: relative; z-index: 1; }
.pcard__actions .btn { width: 100%; min-height: 34px; padding: 6px 10px; font-size: .9rem; border-radius: var(--r-sm); }
.iconbtn { position: relative; z-index: 1; display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: var(--r-sm); border: 0; background: #ececec; cursor: pointer; color: var(--price); }
.iconbtn .i { width: 17px; height: 17px; }
.iconbtn--cmp { color: var(--ink-2); }
.iconbtn:hover { background: #e0e0e0; }
.iconbtn[aria-pressed="true"] { background: var(--price); color: #fff; }
.iconbtn--cmp[aria-pressed="true"] { background: var(--ink-2); }

/* ── listing ── */
.catpanel { background: var(--panel); border-radius: var(--r-lg); padding: 22px 16px 16px; margin-bottom: 22px; }
.catpanel h1 { margin: 0 0 16px; padding: 0 6px; }
.catpanel .desc { padding: 0 6px; margin-bottom: 14px; color: #333; max-width: 110ch; }
.subcats { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(150px, 1fr); gap: 16px; overflow-x: auto; padding: 0 6px 6px; list-style: none; margin: 0; scrollbar-width: thin; }
.subcats li { min-width: 0; }
.subcats a { display: grid; gap: 10px; text-decoration: none; text-align: center; color: var(--brand); font-weight: 500; font-size: .9rem; line-height: 1.25; }
.subcats .sc__img { position: relative; display: block; aspect-ratio: 1; background: #fff; border-radius: var(--r-sm); overflow: hidden; }
/* photos and drawings sit inside fixed square frames */
.tile__img > img, .subtile__img > img, .sc__img > img { position: absolute; inset: 16px; width: calc(100% - 32px); height: calc(100% - 32px); object-fit: contain; }
.tile__img > .ph, .subtile__img > .ph, .sc__img > .ph { position: absolute; inset: 0; background: #fff; }
.subcats .n { color: var(--muted); font-weight: 400; }
.subcats a:hover .sc__img { box-shadow: var(--shadow); }
.listing { display: grid; grid-template-columns: 228px minmax(0, 1fr); gap: 20px; align-items: start; padding-bottom: 40px; }
.toolbar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px 16px; padding: 8px 16px; border: 1px solid var(--line-2); border-radius: var(--r-sm); background: #fff; margin-bottom: 16px; }
.toolbar__count { margin: 0; color: #333; }
.toolbar__count b { color: var(--ink); }
.toolbar form { display: flex; gap: 10px; align-items: center; color: #555; }
.toolbar select { min-height: 34px; border: 1px solid var(--line); border-radius: var(--r-sm); padding: 4px 30px 4px 10px; background: #fff; font-weight: 500; color: var(--ink); }
.toolbar .sep { width: 1px; align-self: stretch; background: var(--line-2); }
.filters-open { display: none; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; padding: 0; list-style: none; }
.chips a { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; background: var(--brand-tint); color: var(--brand-dk); border: 1px solid #f2c1c3; border-radius: var(--r-sm); text-decoration: none; font-size: .85rem; font-weight: 500; }
.chips a .i { width: 14px; height: 14px; }
.chips .clear { background: none; border: 0; color: var(--brand); text-decoration: underline; }
.filters { position: sticky; top: 60px; max-height: calc(100vh - 80px); overflow: auto; background: #fff; border: 1px solid var(--line-2); border-radius: var(--r-sm); padding: 4px 12px 12px; }
.filters__head { display: none; }
.filters-close { display: none; }
.fgroup { border-bottom: 1px solid var(--line-2); padding: 2px 0; }
.fgroup:last-of-type { border-bottom: 0; }
.fgroup summary { list-style: none; display: flex; justify-content: space-between; align-items: center; padding: 12px 0; font-weight: 500; font-size: .98rem; cursor: pointer; color: var(--ink); }
.fgroup summary::-webkit-details-marker { display: none; }
.fgroup summary .i { width: 16px; color: #888; transition: transform .15s; }
.fgroup[open] summary .i { transform: rotate(180deg); }
.fgroup ul { list-style: none; margin: 0 0 10px; padding: 0; display: grid; gap: 1px; max-height: 250px; overflow: auto; }
.fgroup li label { display: flex; gap: 8px; align-items: center; padding: 4px 2px; cursor: pointer; font-size: .88rem; color: #333; }
.fgroup li input { width: 15px; height: 15px; accent-color: var(--brand); flex: none; }
.fgroup .n { color: var(--muted); }
.fgroup .n::before { content: '('; }
.fgroup .n::after { content: ')'; }
.fprice { display: grid; grid-template-columns: 1fr auto 1fr; gap: 6px; align-items: center; margin-bottom: 10px; }
.fprice input { width: 100%; min-height: 34px; padding: 4px 8px; border: 1px solid var(--line); border-radius: var(--r-sm); }
.filters__apply { margin-top: 10px; }
@media (min-width: 981px) { .filters__apply { display: none; } }
@media (max-width: 980px) {
  .listing { grid-template-columns: 1fr; }
  .filters-open { display: inline-flex; }
  .filters { position: fixed; inset: 0; z-index: 2147483647; background: #fff; max-height: none; padding: 0 16px 90px; display: none; overflow: auto; border-radius: 0; border: 0; }
  .filters.is-open { display: block; }
  .filters__head { display: flex; justify-content: space-between; align-items: center; position: sticky; top: 0; background: #fff; padding: 14px 0; border-bottom: 1px solid var(--line-2); z-index: 1; }
  .filters__head h2 { font-size: 1.1rem; margin: 0; }
  .filters-close { display: inline; }
  .filters__apply { display: inline-flex; position: fixed; left: 16px; right: 16px; bottom: 16px; width: auto; }
}
.pager { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 28px 0 0; list-style: none; padding: 0; }
.pager a, .pager span { display: inline-grid; place-items: center; min-width: 40px; height: 40px; padding: 0 12px; border: 1px solid var(--line); border-radius: var(--r-sm); text-decoration: none; font-weight: 500; background: #fff; }
.pager a:hover { border-color: var(--brand); color: var(--brand); }
.pager [aria-current="page"] { background: var(--brand); color: #fff; border-color: var(--brand); }
.pager .gap { border: 0; min-width: 20px; background: none; }
.empty { padding: 40px 0 60px; }

/* ── product page ── */
.pdp { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 44px; padding: 6px 0 26px; }
.gallery { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 16px; align-self: start; position: sticky; top: 64px; }
.gallery--single { grid-template-columns: minmax(0, 1fr); }
.gallery__main { position: relative; aspect-ratio: 1; display: grid; place-items: center; background: #fff; overflow: hidden; }
.gallery__main img { width: 100%; height: 100%; object-fit: contain; }
.gallery__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border: 0; background: none; cursor: pointer; color: #888; display: grid; place-items: center; }
.gallery__nav .i { width: 30px; height: 30px; stroke-width: 1.5; }
.gallery__nav--prev { left: 0; }
.gallery__nav--prev .i { transform: rotate(180deg); }
.gallery__nav--next { right: 0; }
.gallery__thumbs { display: grid; align-content: start; gap: 10px; list-style: none; margin: 0; padding: 0; max-height: 560px; overflow: auto; }
.gallery__thumbs button { width: 80px; height: 80px; border: 1px solid var(--line-2); border-radius: var(--r-sm); background: #fff; padding: 4px; cursor: pointer; }
.gallery__thumbs button[aria-current="true"] { border-color: var(--brand); border-width: 2px; }
.gallery__thumbs img { width: 100%; height: 100%; object-fit: contain; }
.buy__top { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; align-items: start; }
.buy__brand { font-family: 'Archivo', var(--font); font-weight: 900; font-stretch: 80%; font-size: 1.05rem; text-transform: uppercase; letter-spacing: .03em; color: var(--brand); text-decoration: none; padding-top: 8px; }
.buy h1 { font-size: clamp(1.35rem, 1.1rem + .7vw, 1.7rem); font-weight: 700; color: #000; line-height: 1.4; margin: 0 0 4px; }
.ids { display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 0 0 14px; padding: 0; list-style: none; font-size: .85rem; color: #555; }
.ids b { font-weight: 400; color: #555; }
.ids button { border: 0; background: none; padding: 0 0 0 4px; cursor: pointer; color: var(--brand); font-size: .76rem; text-decoration: underline; }
.buy__price { margin: 6px 0 16px; }
.buy__price .price { justify-items: start; }
.buy__price .price__now { font-size: 2.3rem; font-weight: 600; color: var(--price); line-height: 1.1; }
.buy__price .price__now sup { font-size: .5em; vertical-align: top; position: relative; top: .15em; }
.buy__price .price__now .cur { font-size: .45em; color: #333; font-weight: 500; vertical-align: top; position: relative; top: .3em; margin-right: 2px; }
.buy__price .price__call { font-size: 1.4rem; }
.buy__save { display: inline-block; background: var(--price); color: #fff; font-weight: 700; font-size: .8rem; padding: 4px 8px; border-radius: 3px; margin-bottom: 8px; }
.buy__facts { display: grid; gap: 6px; margin: 10px 0 0; font-size: .9rem; color: #333; }
.buy__facts > div { display: flex; gap: 8px; align-items: flex-start; }
.buy__facts .i { color: var(--muted); margin-top: 1px; width: 18px; height: 18px; }
.opts { display: grid; gap: 12px; margin-bottom: 16px; }
.opts fieldset { border: 0; padding: 0; margin: 0; }
.opts legend { font-weight: 500; margin-bottom: 8px; }
.opts .swatches { display: flex; flex-wrap: wrap; gap: 8px; }
.opts .swatches label { position: relative; }
.opts .swatches input { position: absolute; opacity: 0; inset: 0; }
.opts .swatches span { display: inline-block; padding: 9px 14px; border: 1.5px solid var(--line); border-radius: var(--r-sm); font-weight: 500; cursor: pointer; background: #fff; }
.opts .swatches input:checked + span { border-color: var(--brand); color: var(--brand); background: var(--brand-tint); }
.opts .swatches input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }
.buyrow { display: flex; gap: 12px; flex-wrap: wrap; align-items: stretch; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: var(--r); background: #fff; height: 50px; padding: 0 6px 0 14px; gap: 4px; }
.qty__label { color: #333; margin-right: 6px; }
.qty button { width: 26px; height: 26px; border: 0; background: none; cursor: pointer; display: grid; place-items: center; color: #555; }
.qty button .i { width: 15px; height: 15px; }
.qty input { width: 44px; border: 0; text-align: center; font-weight: 700; font-size: 1.05rem; -moz-appearance: textfield; background: transparent; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.buyrow .btn--red { flex: 1; min-width: 180px; min-height: 50px; font-size: 1.1rem; font-weight: 400; border-radius: var(--r); }
.sqbtn { width: 50px; height: 50px; border: 1.5px solid var(--line); border-radius: var(--r); background: #fff; display: grid; place-items: center; cursor: pointer; color: var(--ink-2); }
.sqbtn .i { width: 22px; height: 22px; }
.sqbtn:hover { border-color: var(--ink-2); }
.sqbtn[aria-pressed="true"] { border-color: var(--brand); color: var(--brand); background: var(--brand-tint); }
.buy__secondary { margin: 12px 0 0; font-size: .92rem; }
.buy__secondary button { background: none; border: 0; padding: 0; cursor: pointer; color: var(--brand); text-decoration: underline; text-underline-offset: 3px; font-weight: 500; display: inline-flex; gap: 6px; align-items: center; }
.highlights { background: var(--panel); border-radius: var(--r-sm); padding: 16px 14px; margin-top: 18px; }
.highlights h2 { font-size: 1rem; font-weight: 500; color: var(--brand); margin: 0 0 12px; }
.highlights h3 { font-size: 1rem; margin: 0 0 12px; }
.highlights ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.highlights li { display: flex; gap: 10px; align-items: flex-start; }
.highlights li::before { content: '✓'; flex: none; width: 17px; height: 17px; border-radius: 50%; background: var(--brand); color: #fff; font-size: .68rem; font-weight: 700; display: grid; place-items: center; margin-top: 2px; }
.highlights__foot { display: flex; flex-wrap: wrap; gap: 6px 18px; border-top: 1px solid var(--line); margin-top: 14px; padding-top: 12px; font-size: .85rem; }
.highlights__foot a { color: var(--brand); }
.certs { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0 0; padding: 0; list-style: none; }
.certs li { min-width: 66px; height: 66px; padding: 6px 10px; border: 1px solid var(--line-2); border-radius: var(--r-sm); display: grid; place-items: center; font-weight: 900; font-size: .82rem; text-align: center; color: var(--ink-2); line-height: 1.1; }
.ask { border-top: 1px solid var(--line-2); margin-top: 18px; padding-top: 16px; }
.ask h2 { font-size: 1.05rem; font-weight: 500; color: var(--brand); margin: 0 0 12px; }
.ask__row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.ask__row a { display: flex; align-items: center; gap: 10px; background: var(--panel); border-radius: var(--r-sm); padding: 14px; text-decoration: none; font-size: .88rem; color: var(--ink); }
.ask__row a .i { color: var(--brand); }
.ask__row a:hover { background: #ececec; }
@media (max-width: 600px) { .ask__row { grid-template-columns: 1fr; } }
.warning { margin-top: 12px; font-size: .86rem; background: var(--warn-tint); border: 1px solid #ecc66b; padding: 10px 12px; border-radius: var(--r-sm); }
.tabs { background: var(--panel); border-radius: var(--r-lg); padding: 10px; margin: 6px 0 30px; }
.tabs__inner { background: #fff; border-radius: var(--r-sm); }
.tabs__list { display: flex; gap: 0; border-bottom: 1px solid var(--line-2); overflow-x: auto; list-style: none; margin: 0; padding: 0; }
.tabs__list a { display: block; padding: 12px 20px; font-size: 1.02rem; text-decoration: none; white-space: nowrap; color: var(--ink); }
.tabs__list a[aria-current="true"] { background: var(--brand); color: #fff; font-weight: 500; }
.tabs__list a:hover:not([aria-current="true"]) { color: var(--brand); }
.tabpanel { padding: 22px 22px 8px; scroll-margin-top: 120px; }
.tabpanel h2 { font-size: 1.1rem; font-weight: 700; color: #000; }
.specs { width: 100%; border-collapse: collapse; font-size: .92rem; border: 1px solid var(--line-2); }
.specs th, .specs td { text-align: left; padding: 9px 10px; vertical-align: top; }
.specs th { width: 50%; font-weight: 500; color: #000; }
.specs tr:nth-child(even) { background: var(--stripe); }
.desc { max-width: 100ch; }
.desc table { border-collapse: collapse; margin: 1em 0; }
.desc td, .desc th { border: 1px solid var(--line-2); padding: 6px 10px; }
.docs { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; max-width: 640px; }
.docs a { display: flex; gap: 12px; align-items: center; padding: 12px 14px; border: 1px solid var(--line-2); border-radius: var(--r-sm); text-decoration: none; color: var(--brand); font-weight: 500; }
.docs a:hover { border-color: var(--brand); }
.docs .small { margin-left: auto; color: var(--muted); font-weight: 400; }
@media (max-width: 900px) { .pdp { grid-template-columns: 1fr; gap: 20px; } .gallery { position: static; grid-template-columns: minmax(0, 1fr); } .gallery__thumbs { grid-auto-flow: column; grid-auto-columns: 72px; order: 2; overflow-x: auto; } .gallery__thumbs button { width: 72px; height: 72px; } }
.buybar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: #fff; border-top: 1px solid var(--line-2); box-shadow: 0 -6px 20px rgba(0, 0, 0, .08); padding: 10px 16px; display: none; align-items: center; gap: 12px; }
.buybar .price { justify-items: start; }
.buybar .price__now { font-size: 1.15rem; }
.buybar .btn { margin-left: auto; }
@media (max-width: 900px) { .buybar.is-on { display: flex; } }

/* ── compare ── */
.cmp { overflow-x: auto; border: 1px solid var(--line-2); border-radius: var(--r-sm); }
.cmp table { border-collapse: collapse; min-width: 100%; font-size: .92rem; }
.cmp th, .cmp td { padding: 10px 14px; border-bottom: 1px solid var(--line-2); text-align: left; vertical-align: top; min-width: 210px; }
.cmp thead td { vertical-align: bottom; }
.cmp tbody th { position: sticky; left: 0; background: var(--panel); min-width: 170px; z-index: 1; font-weight: 500; }
.cmp tr.diff td { background: #fffbea; }
.cmp img { width: 120px; height: 120px; object-fit: contain; }
.cmp .price { justify-items: start; }
.cmp__toggle { margin: 0 0 12px; }
.cmpbar { position: fixed; left: 50%; transform: translateX(-50%); bottom: 16px; z-index: 45; background: var(--ink-2); color: #fff; border-radius: var(--r); padding: 8px 8px 8px 18px; display: flex; align-items: center; gap: 12px; box-shadow: var(--shadow); font-weight: 500; }
.cmpbar[hidden] { display: none; }
.cmpbar .btn { min-height: 38px; }
.cmpbar button.x { background: none; border: 0; color: #fff; text-decoration: underline; cursor: pointer; }

/* ── cart, checkout, account, quote: shared pieces ── */
.twocol { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 32px; align-items: start; padding: 10px 0 50px; }
@media (max-width: 960px) { .twocol { grid-template-columns: 1fr; } }
.lines { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-2); }
.lineitem { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line-2); align-items: start; }
.lineitem__img { width: 96px; height: 96px; border: 1px solid var(--line-2); border-radius: var(--r-sm); overflow: hidden; background: #fff; }
.lineitem__img img { width: 100%; height: 100%; object-fit: contain; }
.lineitem h3 { font-size: 1rem; margin: 0 0 4px; font-weight: 500; }
.lineitem h3 a { text-decoration: none; color: var(--brand); }
.lineitem__meta { font-size: .84rem; color: var(--muted); }
.lineitem__right { text-align: right; display: grid; gap: 8px; justify-items: end; }
.lineitem .qty { height: 40px; padding: 0 4px; }
@media (max-width: 600px) { .lineitem { grid-template-columns: 72px minmax(0, 1fr); } .lineitem__img { width: 72px; height: 72px; } .lineitem__right { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; } }
.summary { position: sticky; top: 64px; }
.summary dl { display: grid; grid-template-columns: 1fr auto; gap: 8px; margin: 0 0 14px; }
.summary dt { color: #333; }
.summary dd { margin: 0; text-align: right; font-weight: 500; }
.summary .total { font-size: 1.2rem; font-weight: 700; border-top: 1px solid var(--line-2); padding-top: 10px; }
.steps { display: flex; gap: 8px; list-style: none; padding: 0; margin: 6px 0 20px; font-size: .9rem; font-weight: 500; color: var(--muted); counter-reset: s; flex-wrap: wrap; }
.steps li { counter-increment: s; display: flex; align-items: center; gap: 8px; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--line); }
.steps li[aria-current="step"] { color: var(--ink); }
.steps li[aria-current="step"]::before { background: var(--brand); border-color: var(--brand); color: #fff; }
.steps li + li::after { order: -1; content: ''; width: 24px; height: 2px; background: var(--line); }
.acct { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 32px; padding: 10px 0 50px; }
.acct nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.acct nav a { display: block; padding: 10px 12px; border-radius: var(--r-sm); text-decoration: none; font-weight: 500; }
.acct nav a[aria-current="page"], .acct nav a:hover { background: var(--panel); color: var(--brand); }
@media (max-width: 820px) { .acct { grid-template-columns: 1fr; } .acct nav ul { display: flex; flex-wrap: wrap; } }
.table { width: 100%; border-collapse: collapse; font-size: .93rem; }
.table th, .table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line-2); }
.table th { font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.pill { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: .78rem; font-weight: 500; background: #ececec; }
.pill--ok { background: var(--ok-tint); color: var(--ok); }
.pill--warn { background: var(--warn-tint); color: var(--warn); }
.pill--red { background: var(--brand-tint); color: var(--brand-dk); }
.prose { max-width: 82ch; }
.prose h2 { margin-top: 1.4em; font-weight: 700; }
.prose ul { padding-left: 1.2em; }
.draftnote { border: 2px dashed #d99a00; background: var(--warn-tint); padding: 12px 14px; border-radius: var(--r-sm); margin-bottom: 20px; font-size: .92rem; }
.sitemap ul { padding-left: 1.2em; }

/* ── footer (white, like the reference) ── */
.foot { background: #fff; color: #222; font-size: .9rem; border-top: 1px solid var(--line-2); margin-top: 20px; }
.foot__grid { display: grid; grid-template-columns: 1.1fr 1fr 1.5fr; gap: 0; padding-block: 34px 26px; }
.foot__grid > * { padding: 0 34px; }
.foot__grid > :first-child { padding-left: 0; }
.foot__grid > :last-child { padding-right: 0; }
.foot__grid > * + * { border-left: 1px solid var(--line-2); }
.foot h2 { font-size: 1.15rem; font-weight: 500; color: #000; margin-bottom: 14px; }
.foot a { color: #222; text-decoration: none; }
.foot a:hover { color: var(--brand); text-decoration: underline; }
.foot__contact { list-style: none; margin: 22px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.foot__contact li { display: grid; gap: 6px; }
.foot__contact .i { color: var(--brand); width: 24px; height: 24px; stroke-width: 1.6; }
.foot__links ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px 20px; }
.foot__news { position: relative; border-radius: var(--r); background: radial-gradient(circle at 85% 20%, #4a2a2b 0, #1b1f24 60%); color: #fff; padding: 30px 30px 26px !important; border-left: 0 !important; margin-left: 34px; }
.foot__news-kicker { margin: 0 0 6px; font-size: .9rem; }
.foot__news h2 { color: #fff; font-size: 1.5rem; font-weight: 400; line-height: 1.25; max-width: 22ch; }
.news__form { display: flex; align-items: center; gap: 8px; background: #fff; border-radius: var(--r-sm); padding: 6px 6px 6px 12px; max-width: 420px; }
.news__form .i { color: #555; width: 18px; height: 18px; }
.news__form input[type=email] { flex: 1; min-width: 0; border: 0; padding: 6px 4px; outline: none; color: #111; }
.news__msg { margin: 8px 0 0; min-height: 1.2em; font-size: .9rem; }
.foot__base { display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; align-items: center; border-top: 1px solid var(--line-2); padding-block: 16px 22px; font-size: .88rem; }
.foot__base p { margin: 0; }
.kohmera-credit { display: inline-flex; align-items: center; gap: 8px; color: #222; text-decoration: none; }
.kcredit__mark { width: 18px; height: 18px; display: block; }
@media (max-width: 1000px) {
  .foot__grid { grid-template-columns: 1fr 1fr; row-gap: 26px; }
  .foot__grid > * + * { border-left: 0; }
  .foot__grid > * { padding: 0; }
  .foot__news { grid-column: 1 / -1; margin-left: 0; }
}
@media (max-width: 600px) { .foot__grid { grid-template-columns: 1fr; } }

/* ── toast ── */
.toast { position: fixed; z-index: 2147483000; left: 50%; bottom: 24px; transform: translateX(-50%); background: var(--ink-2); color: #fff; padding: 12px 16px; border-radius: var(--r); box-shadow: var(--shadow); display: flex; gap: 14px; align-items: center; font-weight: 500; max-width: calc(100vw - 32px); }
.toast[hidden] { display: none; }
.toast a { color: #fff; font-weight: 700; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }
@media print { .topbar, .head, .catbar, .foot, .buybar, .cmpbar, .toast { display: none !important; } }

/* ── six design rules (2026-11-23): big main buttons, centred empty strips, every link answers the mouse ── */
/* The page's main buttons (the empty cart's two buttons): at least 56px tall with 18px words on a computer, 52px with 17px on a phone. Product-card and filter buttons keep their size. */
main form.card > .btn[type="submit"], main form.card .btn--red[type="submit"] { min-height: 56px; padding: 14px 32px; font-size: 1.125rem; white-space: nowrap; }
main .empty .btn { min-height: 56px; padding: 14px 32px; font-size: 1.125rem; white-space: nowrap; margin: 0 10px 12px 0; }
@media (max-width: 759px) {
  main form.card > .btn[type="submit"], main form.card .btn--red[type="submit"] { min-height: 52px; padding: 12px 26px; font-size: 1.0625rem; }
  main .empty .btn { display: flex; width: 100%; min-height: 52px; padding: 12px 26px; font-size: 1.0625rem; white-space: normal; text-align: center; line-height: 1.2; margin: 0 0 12px; }
}

/* a message strip with equal space above and below */
.empty { padding: 48px 0; }
.empty > :first-child { margin-top: 0; }
.empty > :last-child { margin-bottom: 0; }
/* under the toolbar the page ends in 57px of its own space, so the words sit lower to look centred in what is left */
.listing .empty { padding: 72px 0 34px; }

/* every link and button changes when the mouse is over it (150ms) */
a, button, summary { transition: color .15s, background-color .15s, border-color .15s, box-shadow .15s, opacity .15s, text-decoration-color .15s; }
.btn--red:hover, .btn--ink:hover { color: #fff; }
.btn--ghost:hover { color: var(--ink-2); background: var(--panel); border-color: var(--ink-2); }
.catbar__all:hover, .catbar__all:focus-visible { background: var(--brand-dk); color: #fff; }
.rail__btn:hover { background: var(--brand); color: #fff; }
.link:hover { color: var(--brand-dk); text-decoration-thickness: 2px; }
main a:not([class]):hover { color: var(--brand); }
.subcats a:hover { color: var(--brand-dk); text-decoration: underline; }
.logo:hover { opacity: .85; }
summary:hover { color: var(--brand); }
.about__card a:not(.btn):hover { color: var(--brand-dk); text-decoration-thickness: 2px; }
.gallery__nav:hover { color: var(--brand); }
.buy__brand:hover { color: var(--brand-dk); text-decoration: underline; }
.ids button:hover, .buy__secondary button:hover { color: var(--brand-dk); text-decoration-thickness: 2px; }
.qty button:hover { color: var(--brand); background: var(--panel); }
/* the footer never makes a small phone scroll sideways */
@media (max-width: 600px) { .foot__grid > * { min-width: 0; } }
/* the sort and page-size row wraps on a phone instead of running off the right edge */
@media (max-width: 759px) { .toolbar form { flex-wrap: wrap; width: 100%; } .toolbar .sep { display: block; flex: 0 0 100%; width: 100%; height: 0; } }
