/* ============================================================
   Hotel Buddy — responsive B2B hotel-supplies website
   Warm minimal, editorial-luxury lean. Desktop + mobile.
   ============================================================ */
:root {
  --bg: oklch(98% 0.004 255);
  --surface: oklch(100% 0 0);
  --surface-2: oklch(95.5% 0.006 250);
  --fg: oklch(17% 0.006 255);
  --muted: oklch(48% 0.006 255);
  --border: oklch(90% 0.006 255);
  --accent: oklch(43% 0.065 47);
  --accent-soft: oklch(93% 0.026 64);
  --accent-strong: oklch(30% 0.066 54);
  --accent-2: oklch(57% 0.19 28);
  --accent-fg: oklch(99% 0.004 255);
  --star: oklch(75% 0.15 75);
  --success: oklch(55% 0.13 150);
  --container: 1180px;
  --font-display: 'Avenir Next', 'SF Pro Display', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, 'SF Pro Text', system-ui, 'Segoe UI', sans-serif;
  --font-mono: 'SF Mono', ui-monospace, Menlo, monospace;
  --font-sans: var(--font-body);
  --text: var(--fg);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html, body { overflow-x: hidden; }
body { background: var(--bg); color: var(--fg); font: 16px/1.55 var(--font-body); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
img { display: block; max-width: 100%; }
svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
h1, h2, h3, h4 { font-family: var(--font-display); letter-spacing: -0.02em; text-wrap: balance; line-height: 1.1; }
h1 { font-size: clamp(34px, 5.4vw, 60px); font-weight: 720; }
/* internal listing pages share one h1 scale (hero/PDP keep their own) */
.section h1, main h1 { font-size: clamp(32px, 3.4vw, 44px); }
h2 { font-size: clamp(26px, 3.2vw, 38px); font-weight: 690; }
h3 { font-size: 19px; font-weight: 650; }
.muted { color: var(--muted); }
.eyebrow { font: 700 11px/1 var(--font-mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 72px 0; }
.section.tight { padding: 48px 0; }
.center { text-align: center; }
.wrap { max-width: 60ch; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: color-mix(in oklab, var(--bg) 88%, transparent);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid color-mix(in oklab, var(--border) 70%, transparent);
}
.header-row { display: flex; align-items: center; gap: 22px; height: 70px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 740; font-size: 19px; letter-spacing: -0.025em; }
.mark { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: var(--fg); color: var(--surface); font: 750 15px/1 var(--font-display); }
.main-nav { display: flex; gap: 6px; flex: 1; }
.main-nav > li { position: relative; list-style: none; }
.main-nav a, .main-nav .nav-trigger {
  display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; border-radius: 10px;
  font-weight: 640; font-size: 15px; color: var(--fg);
}
.main-nav a:hover, .main-nav .nav-trigger:hover { background: var(--surface-2); }
.main-nav a.active, .main-nav .nav-trigger.active { background: var(--accent-soft); color: var(--accent-strong); font-weight: 720; }
.main-nav .mobile-only { display: none; }
.main-nav .nav-trigger::after { content: ""; width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); }
.header-tools { display: flex; align-items: center; gap: 12px; }
.search-box { position: relative; display: flex; align-items: center; gap: 9px; height: 44px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); min-width: 220px; }
.search-box input { flex: 1; border: 0; outline: 0; background: transparent; min-width: 0; }
.search-box svg { color: var(--muted); }
.search-box:focus-within { border-color: color-mix(in oklab, var(--accent) 45%, var(--border)); box-shadow: 0 0 0 4px color-mix(in oklab, var(--accent) 14%, transparent); }
.search-results { position: absolute; top: calc(100% + 8px); left: 0; right: auto; min-width: max(100%, 380px); background: var(--surface); border: 1px solid var(--border); border-radius: 16px; box-shadow: 0 30px 70px rgba(17,17,17,0.22); max-height: 440px; overflow-y: auto; z-index: 300; display: none; }
.search-results.show { display: block; }
.search-results .sr-group + .sr-group { border-top: 1px solid var(--border); }
.search-results .sr-label { font: 650 10px/1 var(--font-mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); padding: 12px 16px 6px; }
.search-results a.sr-row { display: flex; align-items: center; gap: 11px; padding: 9px 16px; text-decoration: none; color: var(--text); border-radius: 0; }
.search-results a.sr-row:hover, .search-results a.sr-row.active { background: var(--surface-2); }
.search-results a.sr-row img { width: 36px; height: 36px; border-radius: 9px; object-fit: cover; flex: 0 0 auto; background: var(--surface-2); }
.search-results .sr-txt { min-width: 0; flex: 1; }
.search-results .sr-name { display: block; font: 620 13.5px/1.3 var(--font-body); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.search-results .sr-sub { display: block; font: 500 11px/1.3 var(--font-mono); color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.search-results .sr-all { justify-content: space-between; font: 680 13px/1 var(--font-body); color: var(--accent); border-top: 1px solid var(--border); }
.search-results .sr-empty { padding: 16px; color: var(--muted); font-size: 13px; }
.inquiry-btn { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 16px; border-radius: 999px; background: var(--fg); color: var(--surface); font-weight: 700; position: relative; }
.inquiry-btn b { position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; padding: 0 5px; display: grid; place-items: center; border-radius: 999px; background: var(--accent-2); color: #fff; font: 750 11px/1 var(--font-mono); }
.icon-btn { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--border); }

/* mega menu */
.mega { position: absolute; top: 100%; left: 0; z-index: 70; width: 760px; padding: 22px; background: var(--surface); border: 1px solid var(--border); border-radius: 18px; box-shadow: 0 30px 80px rgba(17,17,17,0.16); display: none; }
.main-nav li:hover .mega, .mega:hover, .main-nav li.open .mega { display: block; }
.mega a { padding: 9px 12px; border-radius: 10px; font-weight: 600; font-size: 14px; display: flex; justify-content: space-between; gap: 10px; }
.mega a:hover { background: var(--accent-soft); color: var(--accent-strong); }
.mega a small { color: var(--muted); font: 650 11px/1 var(--font-mono); }

/* mobile toggle */
.menu-toggle { display: none; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; height: 52px; padding: 0 24px; border-radius: 999px; font-weight: 720; font-size: 15px; border: 1px solid var(--border); background: var(--surface); }
.btn.primary { background: var(--accent); color: var(--accent-fg); border-color: var(--accent); }
.btn.dark { background: var(--fg); color: var(--surface); border-color: var(--fg); }
.btn.ghost { background: transparent; }
.btn.block { width: 100%; }
.btn.sm { height: 42px; padding: 0 18px; font-size: 14px; }
.btn:active { transform: translateY(1px); }

/* ---------- hero ---------- */
.hero { position: relative; padding: 88px 0 64px; background:
  radial-gradient(120% 90% at 80% 0%, oklch(92% 0.05 60), transparent 60%),
  radial-gradient(100% 80% at 0% 20%, oklch(94% 0.06 45), transparent 55%),
  var(--bg); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.hero h1 { max-width: 14ch; }
.hero p.lead { margin-top: 20px; font-size: 18px; color: var(--muted); max-width: 52ch; }
.hero-cta { display: flex; gap: 14px; margin-top: 28px; flex-wrap: wrap; }
.hero-trust { display: flex; gap: 26px; margin-top: 36px; flex-wrap: wrap; }
.hero-trust div { display: flex; align-items: center; gap: 8px; font: 650 13px/1 var(--font-mono); color: var(--muted); letter-spacing: 0.04em; }
.hero-trust svg { color: var(--accent); }
/* edge-to-edge hero banner with overlaid headline */
.hero-banner { position: relative; width: 100%; min-height: 460px; overflow: hidden; border-radius: 28px; margin: 22px 0; background: linear-gradient(135deg, oklch(42% 0.05 60), oklch(28% 0.06 45)); display: flex; align-items: stretch; box-shadow: 0 30px 70px rgba(17,17,17,0.22); }
.hero-banner > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.hero-banner .hero-scrim { position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(17,17,17,0.84) 0%, rgba(17,17,17,0.58) 38%, rgba(17,17,17,0.22) 70%, rgba(17,17,17,0.08) 100%); }
.hero-banner .hero-inner { position: relative; z-index: 2; width: 100%; max-width: var(--container); margin: 0 auto; padding: 64px 24px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.hero-banner .hero-copy { max-width: 580px; color: #fff; }
.hero-banner .hero-copy .eyebrow { color: rgba(255,255,255,0.82); }
.hero-banner .hero-copy h1 { color: #fff; max-width: 14ch; margin-top: 14px; }
.hero-banner .hero-copy .lead { color: rgba(255,255,255,0.92); margin-top: 20px; font-size: 18px; max-width: 52ch; }
.hero-banner .hero-copy .lead strong { color: #fff; }
.hero-banner .hero-copy .hero-cta { display: flex; gap: 14px; margin-top: 28px; flex-wrap: wrap; }
.hero-banner .hero-copy .hero-trust { display: flex; gap: 26px; margin-top: 32px; flex-wrap: wrap; }
.hero-banner .hero-copy .hero-trust div { display: flex; align-items: center; gap: 8px; font: 650 13px/1 var(--font-mono); color: rgba(255,255,255,0.82); letter-spacing: 0.04em; }
.hero-banner .hero-copy .hero-trust svg { color: var(--accent); }
.hero-banner .float-card { flex: 0 0 auto; align-self: flex-end; background: color-mix(in oklab, var(--surface) 92%, transparent); backdrop-filter: blur(14px); border: 1px solid var(--border); border-radius: 16px; padding: 16px 18px; box-shadow: 0 20px 50px rgba(17,17,17,0.30); }
.hero-banner .float-card b { font-size: 26px; font-family: var(--font-display); letter-spacing: -0.02em; }
.hero-banner .float-card span { display: block; color: var(--muted); font-size: 12px; margin-top: 2px; }
.btn.light { background: rgba(255,255,255,0.12); color: #fff; border-color: rgba(255,255,255,0.55); }
.btn.light:hover { background: rgba(255,255,255,0.22); }

/* light hero variant (about / customization) */
.hero-art { position: relative; aspect-ratio: 5/4; border-radius: 22px; overflow: hidden; background: var(--surface-2); }
.hero-art img { width: 100%; height: 100%; object-fit: cover; }
.hero .float-card { position: absolute; right: 16px; bottom: 16px; background: color-mix(in oklab, var(--surface) 92%, transparent); backdrop-filter: blur(14px); border: 1px solid var(--border); border-radius: 16px; padding: 14px 16px; box-shadow: 0 20px 50px rgba(17,17,17,0.30); }
.hero .float-card b { font-size: 24px; font-family: var(--font-display); letter-spacing: -0.02em; display: block; }
.hero .float-card span { display: block; color: var(--muted); font-size: 12px; margin-top: 2px; }
@media (max-width: 720px) {
  .hero-banner { min-height: 520px; border-radius: 20px; margin: 14px 0; }
  .hero-banner .hero-scrim { background: linear-gradient(180deg, rgba(17,17,17,0.60) 0%, rgba(17,17,17,0.88) 100%); }
  .hero-banner .hero-inner { flex-direction: column; align-items: flex-start; padding: 30px 22px; }
  .hero-banner .float-card { align-self: flex-start; margin-top: 18px; padding: 12px 14px; }
  .hero-banner .float-card b { font-size: 22px; }
}

/* promo strip — looping marquee of trust phrases */
.promo { background: var(--fg); color: var(--surface); overflow: hidden; }
.promo-track { display: inline-flex; align-items: center; white-space: nowrap; animation: marquee 34s linear infinite; will-change: transform; }
.promo-track .item { display: inline-flex; align-items: center; padding: 13px 22px; font: 700 12.5px/1 var(--font-mono); letter-spacing: 0.1em; text-transform: uppercase; }
.promo-track .sep { color: var(--accent); opacity: 0.85; font-size: 12px; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- section heads ---------- */
.shead { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; margin-bottom: 30px; flex-wrap: wrap; row-gap: 10px; }
.shead .wrap p { color: var(--muted); margin-top: 8px; }
.link { color: var(--accent); font-weight: 680; font-size: 14px; }

/* ---------- category grid ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cat-card { position: relative; border: 1px solid var(--border); border-radius: 20px; overflow: hidden; background: var(--surface); aspect-ratio: 5/4; transition: transform .2s, box-shadow .2s; }
.cat-card:hover { transform: translateY(-4px); box-shadow: 0 26px 60px rgba(17,17,17,0.16); }
.cat-card img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.cat-card .ov { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(17,17,17,0.82)); }
.cat-card .cap { position: absolute; left: 18px; right: 18px; bottom: 16px; color: #fff; }
.cat-card .cap b { display: block; font-family: var(--font-display); font-size: 22px; font-weight: 680; letter-spacing: -0.01em; }
.cat-card .cap small { display: block; font: 650 11px/1 var(--font-mono); letter-spacing: 0.06em; opacity: 0.82; margin-bottom: 6px; }
.cat-card-cta { background: linear-gradient(150deg, var(--accent), color-mix(in oklab, var(--accent) 68%, #000)); }
.cat-card-cta:hover { background: linear-gradient(150deg, color-mix(in oklab, var(--accent) 92%, #fff), var(--accent)); }
.cat-card-cta .cap b { font-size: 20px; }
.cat-card-cta .cap small { opacity: 0.9; }

/* ---------- image placeholders (no external image loads) ---------- */
.ph { display: flex; width: 100%; height: 100%; align-items: center; justify-content: center; background: var(--surface-2); color: var(--muted); }
.ph svg { width: 38px; height: 38px; opacity: 0.4; }
.ph-sm { width: 36px; height: 36px; flex: 0 0 auto; border-radius: 8px; background: var(--surface-2); display: inline-flex; align-items: center; justify-content: center; color: var(--muted); }
.ph-sm svg { width: 18px; height: 18px; opacity: 0.45; }
.cat-card-ph .cap { color: var(--fg); }
.cat-card-ph .cap b { color: var(--fg); }
.cat-card-ph .cap small { color: var(--muted); opacity: 1; }
.gallery .main { position: relative; }
.irow .ithumb { display: inline-block; }
table.compare .cimg { height: 120px; }
table.compare a.cimg { display: block; height: 120px; }

/* ---------- story strip (IG-style, square) ---------- */
.stories-wrap { padding: 26px 0 14px; border-bottom: 1px solid var(--border); }
.stories { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 0 8px; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.stories::-webkit-scrollbar { display: none; }
.story { flex: 0 0 auto; width: 116px; scroll-snap-align: start; text-decoration: none; color: inherit; }
.story .tile { position: relative; width: 116px; height: 116px; border-radius: 18px; overflow: hidden; border: 1px solid var(--border); background: var(--surface-2); transition: transform .2s, box-shadow .2s; }
.story:hover .tile { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(17,17,17,0.16); }
.story .tile img { width: 100%; height: 100%; object-fit: cover; }
.story .tile .ov { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 48%, rgba(17,17,17,0.72)); }
.story .tile .n { position: absolute; right: 8px; top: 8px; background: color-mix(in oklab, var(--surface) 88%, transparent); backdrop-filter: blur(8px); border-radius: 999px; font: 650 10px/1 var(--font-mono); padding: 4px 7px; color: var(--fg); }
.story .cap { margin-top: 9px; text-align: center; }
.story .cap b { display: block; font: 680 12.5px/1.25 var(--font-body); color: var(--fg); }
.story .cap small { display: block; color: var(--muted); font: 650 10px/1 var(--font-mono); letter-spacing: 0.04em; margin-top: 3px; }
@media (max-width: 720px) { .story, .story .tile { width: 96px; height: 96px; } .story .cap b { font-size: 11.5px; } }

/* ---------- product grid + cards ---------- */
.pgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.pgrid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.pcard { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s, border-color .2s; }
.pcard:hover { transform: translateY(-3px); box-shadow: 0 22px 50px rgba(17,17,17,0.12); border-color: color-mix(in oklab, var(--accent) 35%, var(--border)); }
.pcard .img { position: relative; aspect-ratio: 1/0.86; background: var(--surface-2); overflow: hidden; }
.pcard .img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.pcard:hover .img img { transform: scale(1.04); }
.pcard .tag { position: absolute; top: 12px; right: 12px; background: color-mix(in oklab, var(--surface) 92%, transparent); color: var(--fg); border: 1px solid var(--border); border-radius: 999px; padding: 6px 9px; font: 700 10px/1 var(--font-mono); letter-spacing: 0.05em; text-transform: uppercase; backdrop-filter: blur(6px); }
.pcard .body { padding: 14px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.pcard .meta { display: flex; justify-content: space-between; align-items: center; color: var(--muted); font: 650 12px/1 var(--font-mono); letter-spacing: 0.06em; text-transform: uppercase; }
.pcard .meta > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; flex: 1 1 auto; }
.pcard .meta .fav { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: transparent; }
.pcard .meta .fav svg { width: 18px; height: 18px; }
.pcard .meta .fav.active { color: var(--accent-2); }
.pcard .meta .fav.active svg { fill: currentColor; }
.pcard .name { font-weight: 680; line-height: 1.25; letter-spacing: -0.01em; min-height: 44px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pcard .spec { color: var(--muted); font-size: 13px; line-height: 1.4; flex: 1; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pcard .trust { display: flex; align-items: center; gap: 6px; color: var(--muted); font: 650 11px/1.2 var(--font-mono); letter-spacing: 0.03em; }
.pcard .trust svg { width: 14px; height: 14px; color: var(--star); fill: var(--star); stroke: var(--star); }
.pcard .actions { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 4px; }
.pcard .quote { color: var(--accent); font: 720 12px/1 var(--font-mono); letter-spacing: 0.05em; text-transform: uppercase; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; flex: 1 1 auto; }
.pcard .add { width: 36px; height: 36px; border-radius: 50%; background: var(--fg); color: var(--surface); display: grid; place-items: center; flex: 0 0 auto; }
.pcard .add svg { width: 18px; height: 18px; }
.pcard .add.added { background: var(--success); }

/* ---------- trust strip ---------- */
.trust-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.trust-tile { border: 1px solid var(--border); border-radius: 16px; padding: 22px; background: var(--surface); }
.trust-tile .ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); margin-bottom: 14px; }
.trust-tile b { display: block; font-family: var(--font-display); font-size: 17px; }
.trust-tile p { color: var(--muted); font-size: 14px; margin-top: 6px; }

/* ---------- split feature ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split .art { aspect-ratio: 5/4; border-radius: 22px; overflow: hidden; background: var(--surface-2); }
.split .art img { width: 100%; height: 100%; object-fit: cover; }
.split h2 { margin-bottom: 14px; }
.split p { color: var(--muted); margin-bottom: 16px; }
.steps { display: flex; flex-direction: column; gap: 14px; margin-top: 20px; }
.step { display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start; }
.step .n { width: 40px; height: 40px; border-radius: 12px; background: var(--fg); color: var(--surface); display: grid; place-items: center; font: 750 15px/1 var(--font-display); }
.step b { display: block; font-size: 16px; }
.step span { color: var(--muted); font-size: 14px; }

/* ---------- catalog layout ---------- */
.catalog { display: grid; grid-template-columns: 248px 1fr; gap: 32px; align-items: start; }
.filters { position: sticky; top: 90px; border: 1px solid var(--border); border-radius: 18px; padding: 20px; background: var(--surface); }
.filters h3 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin: 18px 0 10px; font-family: var(--font-mono); font-weight: 700; }
.filters h3:first-child { margin-top: 0; }
.fgroup { display: flex; flex-wrap: wrap; gap: 8px; }
.fopt { padding: 7px 12px; border: 1px solid var(--border); border-radius: 999px; font-weight: 600; font-size: 13px; background: var(--surface); }
.fopt.active { background: var(--fg); color: var(--surface); border-color: var(--fg); }
.fcheck { display: flex; flex-direction: column; gap: 9px; }
.fcheck label { display: flex; align-items: center; gap: 9px; font-size: 14px; }
.fcheck input { width: 17px; height: 17px; accent-color: var(--accent); }
.catbar { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; margin-bottom: 18px; }
.catbar::-webkit-scrollbar { display: none; }
.catbar .chip { flex: 0 0 auto; padding: 9px 15px; border: 1px solid var(--border); border-radius: 999px; background: var(--surface); font-weight: 620; font-size: 14px; color: var(--muted); }
.catbar .chip.active { background: var(--fg); color: var(--surface); border-color: var(--fg); }
.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 18px; }
.toolbar select { height: 42px; border: 1px solid var(--border); border-radius: 10px; padding: 0 12px; background: var(--surface); }
.empty { text-align: center; padding: 80px 20px; color: var(--muted); }
.empty h2 { color: var(--fg); margin-bottom: 8px; }

/* ---------- PDP ---------- */
.pdp { display: grid; grid-template-columns: 1.05fr 1fr; gap: 44px; align-items: start; }
.gallery .main { aspect-ratio: 1/0.8; border-radius: 22px; overflow: hidden; background: var(--surface-2); }
.gallery .main img { width: 100%; height: 100%; object-fit: cover; }
.gallery .thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; scrollbar-width: none; }
.gallery .thumbs::-webkit-scrollbar { display: none; }
.gallery .thumbs button { flex: 0 0 auto; width: 72px; height: 72px; border-radius: 12px; overflow: hidden; border: 2px solid transparent; background: var(--surface-2); padding: 0; }
.gallery .thumbs button.active { border-color: var(--accent); }
.gallery .thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pdp-info .crumb { color: var(--muted); font-size: 13px; margin-bottom: 14px; }
.pdp-info h1 { font-size: clamp(28px, 3vw, 40px); }
.pdp-info .src { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; padding: 6px 12px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-strong); font: 650 12px/1 var(--font-mono); }
.spec-table { width: 100%; border-collapse: collapse; margin-top: 8px; }
.spec-table td { padding: 13px 0; border-bottom: 1px solid var(--border); font-size: 14px; vertical-align: top; }
.spec-table td:first-child { color: var(--muted); width: 44%; font: 650 12px/1.3 var(--font-mono); letter-spacing: 0.04em; text-transform: uppercase; }
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--border); margin: 24px 0 16px; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab { padding: 12px 16px; color: var(--muted); font-weight: 660; border-bottom: 2px solid transparent; margin-bottom: -1px; flex: 0 0 auto; white-space: nowrap; }
.tab.active { color: var(--fg); border-bottom-color: var(--fg); }
.tab-pane { display: none; color: var(--muted); font-size: 15px; line-height: 1.6; }
.tab-pane.active { display: block; }
.pdp-cta { display: flex; gap: 12px; margin-top: 24px; flex-wrap: wrap; }
.qty { display: flex; align-items: center; gap: 10px; }
.qty button { width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--border); background: var(--surface); font-weight: 700; font-size: 18px; }
.qty input { width: 70px; text-align: center; border: 1px solid var(--border); border-radius: 12px; height: 44px; }

/* ---------- inquiry / RFQ ---------- */
.rfq-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: start; }
.inquiry-list { display: flex; flex-direction: column; gap: 12px; }
.irow { display: grid; grid-template-columns: 80px 1fr auto; gap: 16px; align-items: center; border: 1px solid var(--border); border-radius: 16px; padding: 12px; background: var(--surface); }
.irow .rm { color: var(--muted); font-size: 13px; }
.irow .rm:hover { color: var(--accent-2); }
.rfq-form { border: 1px solid var(--border); border-radius: 18px; padding: 24px; background: var(--surface); position: sticky; top: 90px; }
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 14px; }
.field label { color: var(--muted); font: 700 11px/1 var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; }
.field input, .field select, .field textarea { width: 100%; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); min-height: 48px; padding: 12px 14px; outline: none; }
.field textarea { min-height: 90px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in oklab, var(--accent) 16%, transparent); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.summary { border-top: 1px solid var(--border); margin-top: 16px; padding-top: 16px; }
.summary .row { display: flex; justify-content: space-between; padding: 6px 0; font-size: 14px; }
.summary .row b { font-family: var(--font-display); }

/* ---------- about / generic ---------- */
.prose { max-width: 70ch; color: var(--muted); line-height: 1.7; }
.prose p { margin-bottom: 16px; }
.prose h2 { color: var(--fg); margin: 28px 0 10px; }
.cards-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.cards-3 .card { border: 1px solid var(--border); border-radius: 16px; padding: 24px; background: var(--surface); }
.cards-3 .card b { display: block; font-family: var(--font-display); font-size: 17px; margin-bottom: 6px; }
.cards-3 .card p { color: var(--muted); font-size: 14px; }

/* ---------- footer ---------- */
.site-footer { background: oklch(20% 0.006 255); color: oklch(78% 0.006 255); padding: 64px 0 32px; margin-top: 0; }
.site-footer .grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.site-footer h4 { color: #fff; font-size: 14px; text-transform: uppercase; letter-spacing: 0.08em; font-family: var(--font-mono); margin-bottom: 16px; }
.site-footer a { display: block; padding: 6px 0; font-size: 14px; }
.site-footer a:hover { color: #fff; }
.site-footer .brand { color: #fff; margin-bottom: 14px; }
.site-footer p { font-size: 14px; max-width: 36ch; }
.site-footer .bottom { margin-top: 48px; padding-top: 22px; border-top: 1px solid oklch(34% 0.006 255); display: flex; justify-content: space-between; gap: 16px; font-size: 13px; flex-wrap: wrap; }

/* ---------- toast ---------- */
.toast { position: fixed; left: 50%; bottom: 32px; transform: translateX(-50%) translateY(14px); z-index: 90; background: var(--fg); color: var(--surface); border-radius: 999px; padding: 13px 20px; opacity: 0; pointer-events: none; transition: opacity .18s, transform .18s; font-weight: 680; }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---------- breadcrumbs ---------- */
.crumb { color: var(--muted); font: 650 12px/1 var(--font-mono); letter-spacing: 0.04em; margin-bottom: 18px; }
.crumb a:hover { color: var(--accent); }
.crumb span, .crumb a { white-space: nowrap; }

/* ---------- pagination ---------- */
.pager { display: flex; justify-content: center; margin-top: 34px; }
.pager .btn { gap: 8px; }
.pager-end { font: 650 12px/1 var(--font-mono); letter-spacing: 0.05em; text-transform: uppercase; align-self: center; }

/* ---------- supplier grid + cards ---------- */
.sup-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.supplier-card { border: 1px solid var(--border); border-radius: 16px; overflow: hidden; background: var(--surface); display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s, border-color .2s; }
.supplier-card:hover { transform: translateY(-3px); box-shadow: 0 22px 50px rgba(17,17,17,0.12); border-color: color-mix(in oklab, var(--accent) 35%, var(--border)); }
.supplier-card .sc-img { width: 100%; aspect-ratio: 1/0.72; background: var(--surface-2); overflow: hidden; }
.supplier-card .sc-img img { width: 100%; height: 100%; object-fit: cover; }
.supplier-card .sc-body { padding: 16px; display: flex; flex-direction: column; gap: 6px; }
.supplier-card .sc-body .muted { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 13px; line-height: 1.4; }
.supplier-card .sc-body b { font-family: var(--font-display); font-size: 17px; letter-spacing: -0.01em; }
.supplier-card .sc-count { margin-top: 6px; color: var(--accent); font: 700 12px/1 var(--font-mono); letter-spacing: 0.04em; }

/* supplier detail head */
.supplier-head { display: grid; grid-template-columns: 260px 1fr; gap: 28px; align-items: center; padding: 24px; border: 1px solid var(--border); border-radius: 20px; background: var(--surface); }
.supplier-hero { width: 260px; height: 200px; object-fit: cover; border-radius: 16px; background: var(--surface-2); }
.supplier-head h1 { font-size: inherit; }
.supplier-head .src-row { margin-top: 14px; }

/* src row (PDP + supplier) */
.src-row { display: flex; flex-wrap: wrap; gap: 10px; }
.src-row .src { margin-top: 0; }

/* ---------- 4-column steps ---------- */
.steps.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 0; }
.steps.grid-4 .step { grid-template-columns: 1fr; gap: 12px; border: 1px solid var(--border); border-radius: 16px; padding: 22px; background: var(--surface); }
.steps.grid-4 .step .n { width: 38px; height: 38px; }

/* ---------- inquiry rows (actual classes) ---------- */
.irow .ithumb { width: 80px; height: 80px; border-radius: 12px; overflow: hidden; background: var(--surface-2); }
.irow .ithumb img { width: 80px; height: 80px; object-fit: cover; border-radius: 0; }
.irow .imeta { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.irow .iname { font-weight: 680; font-size: 15px; letter-spacing: -0.01em; }
.irow .iname:hover { color: var(--accent); }
.irow .imeta .muted { font: 650 11px/1.3 var(--font-mono); letter-spacing: 0.03em; text-transform: uppercase; }
.irow .inote { margin-top: 4px; border: 1px solid var(--border); border-radius: 10px; height: 38px; padding: 0 12px; font-size: 13px; background: var(--surface); outline: none; max-width: 320px; }
.irow .inote:focus { border-color: var(--accent); }
.irow .iqty { display: flex; align-items: center; gap: 8px; }
.irow .iqty button { width: 34px; height: 34px; border-radius: 9px; border: 1px solid var(--border); background: var(--surface); font-weight: 700; font-size: 16px; }
.irow .iqty input { width: 52px; text-align: center; border: 1px solid var(--border); border-radius: 9px; height: 34px; }
.irow .rm { color: var(--muted); width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; }
.irow .rm:hover { color: var(--accent-2); background: color-mix(in oklab, var(--accent-2) 10%, transparent); }
.irow .rm svg { width: 16px; height: 16px; }

/* summary rows (inquiry) */
.summary > div { display: flex; justify-content: space-between; gap: 14px; padding: 8px 0; border-bottom: 1px solid var(--border); font-size: 14px; }
.summary > div:last-child { border-bottom: 0; }
.summary > div b { font-family: var(--font-display); font-weight: 680; }

/* ---------- header fav link ---------- */
.fav-link { color: var(--fg); }
.fav-link:hover { color: var(--accent-2); border-color: color-mix(in oklab, var(--accent-2) 30%, var(--border)); }

/* ---------- WhatsApp / sales float ---------- */
.fab { position: fixed; right: 22px; bottom: 22px; z-index: 80; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: oklch(58% 0.18 145); color: #fff; box-shadow: 0 14px 36px rgba(17,17,17,0.22); }
.fab svg { width: 26px; height: 26px; stroke: #fff; }
.fab:hover { transform: scale(1.05); }

/* ---------- focus polish ---------- */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 6px; }

/* ---------- new-component responsive ---------- */
@media (max-width: 1024px) {
  .sup-grid { grid-template-columns: repeat(3, 1fr); }
  .steps.grid-4 { grid-template-columns: repeat(2, 1fr); }
  .supplier-head { grid-template-columns: 1fr; }
  .supplier-hero { width: 100%; height: 220px; }
}
@media (max-width: 720px) {
  .sup-grid { grid-template-columns: repeat(2, 1fr); }
  .steps.grid-4 { grid-template-columns: 1fr; }
  .fab { width: 48px; height: 48px; right: 16px; bottom: 16px; }
  .irow { grid-template-columns: 64px 1fr auto; }
  .irow .ithumb, .irow .ithumb img { width: 64px; height: 64px; }
  .irow .inote { max-width: 100%; }
}

/* ============================================================
   Hotel Buddy feature layer — dark mode, promo bar, mega-grid,
   currency + theme toggle, merch badges, compare bar + page,
   help strip, testimonials, lightbox, subcat chips, bulk RFQ.
   ============================================================ */

/* ---------- dark theme ---------- */
[data-theme="dark"] {
  --bg: oklch(15% 0.006 255);
  --surface: oklch(19% 0.008 255);
  --surface-2: oklch(23% 0.01 255);
  --fg: oklch(96% 0.004 255);
  --muted: oklch(66% 0.006 255);
  --border: oklch(30% 0.008 255);
  --accent: oklch(70% 0.085 60);
  --accent-soft: oklch(27% 0.03 60);
  --accent-strong: oklch(78% 0.09 55);
  --accent-2: oklch(68% 0.18 28);
  --accent-fg: oklch(15% 0.006 255);
  --star: oklch(80% 0.15 75);
  --text: var(--fg);
}
[data-theme="dark"] .pcard .img img,
[data-theme="dark"] .supplier-card img,
[data-theme="dark"] .cat-card img,
[data-theme="dark"] .story .tile img,
[data-theme="dark"] .split .art img { filter: brightness(0.92); }
[data-theme="dark"] .hero-banner img { filter: brightness(0.85) saturate(0.95); }

/* ---------- promo bar ---------- */
.promo-bar { background: var(--accent-strong); color: var(--accent-fg); font: 600 12.5px/1 var(--font-body); }
.promo-bar .container { display: flex; justify-content: space-between; gap: 16px; padding: 7px 24px; flex-wrap: wrap; }
.promo-bar a { text-decoration: underline; text-underline-offset: 2px; font-weight: 700; }

/* ---------- mega grid (grouped columns) ---------- */
.mega { position: absolute; top: 100%; left: 0; right: auto; min-width: 760px; max-width: calc(100vw - 48px); background: var(--surface); border: 1px solid var(--border); border-radius: 18px; box-shadow: 0 30px 70px rgba(17,17,17,0.16); padding: 22px; opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .16s, transform .16s, visibility .16s; z-index: 60; }
.site-header li:hover > .mega, .site-header li:focus-within > .mega, .mega.open { opacity: 1; visibility: visible; transform: translateY(0); }
.mega-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px 28px; }
.mega-col h5 { font: 700 11px/1 var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }
.mega-col a { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 6px 0; font-size: 14px; border-bottom: 1px solid color-mix(in oklab, var(--border) 60%, transparent); }
.mega-col a:hover { color: var(--accent); }
.mega-col a small { font: 700 11px/1 var(--font-mono); color: var(--muted); }
.mega-foot { display: block; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--border); text-align: center; font-weight: 700; color: var(--accent); }

/* ---------- currency select + theme toggle ---------- */
.cur-select { height: 44px; border: 1px solid var(--border); border-radius: 10px; background: var(--surface); padding: 0 8px; font: 700 12px/1 var(--font-mono); letter-spacing: 0.03em; }
.theme-toggle svg { width: 18px; height: 18px; }
.cmp-link { position: relative; }
.cmp-link b, .inquiry-btn b { position: absolute; top: -6px; right: -6px; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 999px; background: var(--accent-2); color: #fff; font: 700 10px/17px var(--font-mono); text-align: center; }

/* ---------- merch badges (nathosp-style) ---------- */
.pcard .merch, .product-card .merch-badge { position: absolute; top: 12px; left: 12px; z-index: 2; font: 800 10px/1 var(--font-mono); letter-spacing: 0.04em; text-transform: uppercase; padding: 5px 8px; border-radius: 7px; color: #fff; }
.merch.b-prem, .product-card .merch-badge.b-prem { background: var(--accent); }
.merch.b-best, .product-card .merch-badge.b-best { background: var(--accent-2); }
.merch.b-val, .product-card .merch-badge.b-val { background: var(--success); }

/* ---------- card compare button ---------- */
.pcard .actions .cmp, .product-actions .mini-cmp { width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--border); background: var(--surface); display: grid; place-items: center; transition: border-color .15s, color .15s, background .15s; }
.pcard .actions .cmp svg, .product-actions .mini-cmp svg { width: 17px; height: 17px; }
.pcard .actions .cmp:hover, .product-actions .mini-cmp:hover { border-color: var(--accent); color: var(--accent); }
.pcard .actions .cmp.active, .product-actions .mini-cmp.active { background: var(--accent-soft); border-color: var(--accent); color: var(--accent); }

/* ---------- sticky compare bar ---------- */
.cmp-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 85; background: var(--surface); border-top: 1px solid var(--border); box-shadow: 0 -14px 40px rgba(17,17,17,0.14); transform: translateY(110%); transition: transform .22s; }
.cmp-bar.show { transform: translateY(0); }
.cmp-inner { display: flex; align-items: center; gap: 16px; padding: 12px 24px; }
.cmp-chips { display: flex; gap: 10px; flex: 1; overflow-x: auto; }
.cmp-chip { position: relative; display: flex; align-items: center; gap: 8px; padding: 6px 30px 6px 6px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface-2); white-space: nowrap; }
.cmp-chip img { width: 34px; height: 34px; border-radius: 8px; object-fit: cover; }
.cmp-chip span { font-size: 13px; font-weight: 600; }
.cmp-x { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--muted); }
.cmp-x svg { width: 13px; height: 13px; }
.cmp-act { display: flex; gap: 10px; flex-shrink: 0; }

/* ---------- help strip ---------- */
.help-strip { background: var(--surface-2); border-bottom: 1px solid var(--border); }
.help-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.help-cell { display: flex; flex-direction: column; gap: 4px; padding: 18px 16px; border-right: 1px solid var(--border); }
.help-cell:last-child { border-right: 0; }
.help-cell:hover { background: color-mix(in oklab, var(--accent) 6%, transparent); }
.help-cell .hic { width: 34px; height: 34px; border-radius: 9px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; margin-bottom: 4px; }
.help-cell .hic svg { width: 18px; height: 18px; }
.help-cell b { font-family: var(--font-display); font-size: 15px; }
.help-cell small { color: var(--muted); font-size: 12.5px; }

/* ---------- testimonials ---------- */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.review { border: 1px solid var(--border); border-radius: 16px; padding: 24px; background: var(--surface); }
.review .stars { display: flex; gap: 2px; color: var(--star); margin-bottom: 12px; }
.review .stars svg { width: 15px; height: 15px; fill: currentColor; stroke: none; }
.review blockquote { font-size: 15px; line-height: 1.6; margin-bottom: 14px; }
.review figcaption { font: 650 12px/1.4 var(--font-mono); letter-spacing: 0.02em; color: var(--muted); }

/* ---------- subcategory chips (products page) ---------- */
.subcats { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 22px; }
.subcats .chip { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--border); font: 600 12.5px/1 var(--font-body); background: var(--surface); display: inline-flex; gap: 6px; align-items: center; }
.subcats .chip small { font: 700 10px/1 var(--font-mono); color: var(--muted); }
.subcats .chip.active { background: var(--fg); color: var(--surface); border-color: var(--fg); }
.subcats .chip.active small { color: var(--surface); opacity: 0.7; }
.subcats .chip.all { background: var(--accent-soft); color: var(--accent); border-color: transparent; font-weight: 700; }

/* ---------- image lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(10,10,12,0.92); display: none; place-items: center; padding: 24px; }
.lightbox.show { display: grid; }
.lightbox img { max-width: 90vw; max-height: 84vh; border-radius: 12px; }
.lightbox .lb-close { position: absolute; top: 18px; right: 22px; color: #fff; width: 40px; height: 40px; }
.lightbox .lb-close svg { width: 24px; height: 24px; }
.lightbox .lb-nav { position: absolute; top: 50%; transform: translateY(-50%); color: #fff; width: 48px; height: 48px; }
.lightbox .lb-prev { left: 18px; } .lightbox .lb-next { right: 18px; }
.lightbox .lb-nav svg { width: 28px; height: 28px; }
.lightbox .lb-next svg { transform: rotate(180deg); }

/* ---------- compare page table ---------- */
.compare-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: 16px; }
table.compare { width: 100%; border-collapse: collapse; min-width: 720px; }
table.compare th, table.compare td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--border); border-right: 1px solid var(--border); font-size: 14px; vertical-align: top; }
table.compare thead th { background: var(--surface-2); position: sticky; top: 0; }
table.compare tbody th { background: var(--surface-2); font: 650 12px/1.3 var(--font-mono); letter-spacing: 0.03em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
table.compare .cimg { width: 120px; }
table.compare .cimg img { width: 110px; height: 110px; object-fit: cover; border-radius: 10px; }
table.compare .cname { font-weight: 700; font-family: var(--font-display); }
table.compare .x { color: var(--muted); width: 26px; height: 26px; }
.compare-empty { text-align: center; padding: 60px 20px; }

/* ---------- bulk RFQ ---------- */
.bulk-area { width: 100%; min-height: 220px; border: 1px solid var(--border); border-radius: 14px; padding: 16px; font: 14px/1.6 var(--font-mono); background: var(--surface); resize: vertical; }
.bulk-rules { font: 600 12px/1.7 var(--font-mono); color: var(--muted); }
.bulk-out { margin-top: 22px; }
.bulk-row { display: grid; grid-template-columns: 1fr 120px 160px 40px; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--border); }
.bulk-row .bmatch { font: 650 12px/1 var(--font-mono); padding: 4px 8px; border-radius: 7px; }
.bulk-row .bmatch.yes { background: color-mix(in oklab, var(--success) 18%, transparent); color: var(--success); }
.bulk-row .bmatch.no { background: color-mix(in oklab, var(--accent-2) 14%, transparent); color: var(--accent-2); }
.bulk-row input { height: 36px; border: 1px solid var(--border); border-radius: 9px; padding: 0 10px; }

/* ---------- export buttons ---------- */
.export-row { display: flex; gap: 10px; flex-wrap: wrap; }
.export-row .btn svg { width: 17px; height: 17px; }

/* ---------- feature responsive ---------- */
@media (max-width: 1024px) {
  .mega { min-width: 600px; }
  .mega-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews { grid-template-columns: repeat(2, 1fr); }
  .help-grid { grid-template-columns: repeat(2, 1fr); }
  .help-cell:nth-child(2) { border-right: 0; }
  .bulk-row { grid-template-columns: 1fr 90px 130px 36px; }
  .rfq-form { position: static; }
  /* header collapses to mobile menu at 1024 (not 720) so the row never overflows */
  .main-nav { display: none; position: absolute; top: 70px; left: 0; right: 0; flex-direction: column; background: var(--surface); border-bottom: 1px solid var(--border); padding: 12px; gap: 0; }
  .main-nav.open { display: flex; max-height: calc(100vh - 70px); overflow-y: auto; }
  .main-nav a, .main-nav .nav-trigger { width: 100%; }
  .main-nav .mobile-only { display: flex; }
  .mega { position: static; width: 100%; box-shadow: none; border: 0; padding: 4px 0 4px 14px; display: none; grid-template-columns: 1fr; opacity: 1; visibility: visible; transform: none; min-width: 0; max-width: none; }
  .main-nav li.open .mega { display: grid; }
  .menu-toggle { display: grid; }
  .search-box { display: none; }
}
@media (max-width: 720px) {
  .promo-bar .container { justify-content: center; text-align: center; }
  .brand-name { display: none; }
  .cur-select { display: block; height: 44px; padding: 0 8px; font-size: 11px; }
  .header-tools .fav-link, .header-tools .cmp-link { display: none; }
  .cmp-bar .cmp-act .btn.ghost { display: none; }
  .help-grid { grid-template-columns: repeat(2, 1fr); }
  .bulk-row { grid-template-columns: 1fr 70px 36px; }
  .bulk-row .bmatch { display: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .pgrid { grid-template-columns: repeat(3, 1fr); }
  .hero-grid { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .pdp { grid-template-columns: 1fr; }
  .rfq-grid { grid-template-columns: 1fr; }
  .catalog { grid-template-columns: 1fr; }
  .filters { position: static; display: none; }
  .filters.open { display: block; }
  .trust-strip { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .cat-card .cap b { font-size: 16px; }
  .cat-card .cap { left: 14px; right: 14px; bottom: 12px; }
  .cat-card .cap small { font-size: 10px; }
  .pgrid, .pgrid.cols-3 { grid-template-columns: repeat(2, 1fr); }
  .trust-strip { grid-template-columns: 1fr; }
  .cards-3 { grid-template-columns: 1fr; }
  .site-footer .grid { grid-template-columns: 1fr 1fr; }
  .section { padding: 52px 0; }
  .hero { padding: 56px 0 40px; }
  .field-row { grid-template-columns: 1fr; }
  .irow { grid-template-columns: 64px 1fr auto auto; gap: 12px; }
  .irow .iqty { justify-self: end; }
  /* denser product cards on small phones */
  .pcard .body { padding: 12px; gap: 7px; }
  .pcard .spec { font-size: 12.5px; }
  .pcard .meta .fav { width: 40px; height: 40px; }
  .pcard .meta .fav svg { width: 18px; height: 18px; }
  .pcard .add, .pcard .actions .cmp { width: 40px; height: 40px; }
  .pcard .add svg, .pcard .actions .cmp svg { width: 18px; height: 18px; }
  .irow .iqty button { width: 40px; height: 40px; }
  .irow .rm { width: 40px; height: 40px; }
  table.compare .x { width: 40px; height: 40px; }
  .help-cell:nth-child(2n) { border-right: 0; }
  .help-cell:nth-child(n+3) { border-top: 1px solid var(--border); }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
}

/* ============================================================
   Small-phone refinements (<=520px) and <=420px supplier layout.
   Stacks the inquiry row, wraps card actions, lightens the hero,
   and makes the quote button icon-only so the header never overflows.
   ============================================================ */
@media (max-width: 520px) {
  .reviews { grid-template-columns: 1fr; }
  .header-row { gap: 12px; height: 60px; }
  .cur-select { display: none; }
  .inquiry-btn { padding: 0 14px; }
  .inquiry-btn .inq-txt { display: none; }
  .irow { grid-template-columns: 64px 1fr 40px; grid-template-areas: "thumb meta rm" "qty qty qty"; row-gap: 10px; gap: 12px; }
  .irow .ithumb { grid-area: thumb; }
  .irow .imeta { grid-area: meta; min-width: 0; }
  .irow .iqty { grid-area: qty; justify-self: start; }
  .irow .rm { grid-area: rm; }
  .irow .inote { max-width: 100%; }
  .pcard .actions { flex-wrap: wrap; gap: 8px; }
  .pcard .quote { flex: 1 1 100%; order: -1; }
  .pcard .add, .pcard .actions .cmp { margin-left: auto; }
  .hero-banner { min-height: 480px; }
  .hero-banner .hero-copy h1 { font-size: 30px; }
  .hero-banner .hero-copy .lead { font-size: 15px; }
}

@media (max-width: 420px) {
  .sup-grid { grid-template-columns: 1fr; }
  .supplier-card { display: grid; grid-template-columns: 120px 1fr; }
  .supplier-card .sc-img { height: 100%; min-height: 90px; aspect-ratio: auto; }
  .supplier-card .sc-body { padding: 12px; }
}