/* =========================================================
   TECHNOSUR — Suministros Industriales
   Editorial e-commerce language (white, monochrome, hairlines,
   uppercase tracking) applied to industrial product.
   ========================================================= */

/* self-hosted static fonts (identical rendering in Safari, no third-party requests) */
@font-face { font-family: "Inter Tight"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/inter-tight-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter Tight"; font-style: normal; font-weight: 500; font-display: swap; src: url("/fonts/inter-tight-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter Tight"; font-style: normal; font-weight: 600; font-display: swap; src: url("/fonts/inter-tight-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/ibm-plex-mono-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url("/fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2"); }

:root {
  --ink: #0f2140;          /* deep navy (logo) instead of black */
  --ink-2: #2b3a52;
  --ink-3: #55657d;
  --ink-4: #8796ab;
  --line: #dbe6f0;
  --line-2: #edf3f8;
  --bg: #ffffff;
  --tile: #eef5fb;          /* product photo background: ice blue */
  --tile-2: #dcebf6;
  --navy: #1e3a66;          /* Technosur logo palette */
  --navy-2: #172f54;
  --sky: #5bb0de;
  --ice: #a8dbf7;
  --ice-50: #f2f9fe;
  --blue: #0b82c0;
  --ok: #1d7a46;
  --err: #b42318;
  --wa: #1b8a4c;

  --font: "Inter Tight", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);

  --header-h: 64px;
  --mbar-h: 0px;
  --container: 1600px;
  --gutter: clamp(16px, 3.2vw, 48px);
  color-scheme: light;
}
@media (max-width: 899px) { :root { --header-h: 56px; --mbar-h: 60px; } }

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; border-radius: 0; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; font-family: var(--font); font-size: 15px; line-height: 1.55; color: var(--ink); background: var(--bg);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; -webkit-tap-highlight-color: transparent;
  padding-bottom: var(--mbar-h); overflow-x: hidden; font-feature-settings: "ss01", "cv11";
}
body.is-locked { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
/* Safari / iOS: icons from the external sprite need their stroke set from the page */
svg:has(> use) { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
/* Safari / iOS: remove native rounded styling of search fields, selects and buttons */
input[type="search"], input[type="text"], input[type="email"], input[type="tel"], input[type="number"], textarea, select, button { -webkit-appearance: none; appearance: none; border-radius: 0; }
input[type="search"]::-webkit-search-decoration, input[type="search"]::-webkit-search-cancel-button, input[type="search"]::-webkit-search-results-button { -webkit-appearance: none; display: none; }
select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 2px center; background-size: 14px; padding-right: 24px !important;
}
input[type="checkbox"], input[type="radio"] { -webkit-appearance: auto; appearance: auto; }
.flist label input[type="checkbox"] { -webkit-appearance: none; appearance: none; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; line-height: 1.12; letter-spacing: -0.01em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 1px solid var(--ink); outline-offset: 3px; }
::selection { background: var(--ink); color: #fff; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--ink); color: #fff; padding: 10px 16px; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.label, .eyebrow { font-size: 11px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.mono { font-family: var(--mono); }
.section { padding-block: clamp(56px, 7vw, 112px); }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px 40px; margin-bottom: clamp(24px, 3vw, 40px); }
.section-title { font-size: clamp(1.6rem, 2.8vw, 2.4rem); font-weight: 400; letter-spacing: -0.02em; margin-top: 10px; }
.section-sub { color: var(--ink-3); max-width: 58ch; margin-top: 10px; font-size: 14px; }
.muted { color: var(--ink-3); }
.link { font-size: 11px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; border-bottom: 1px solid currentColor; padding-bottom: 2px; transition: opacity 200ms ease; }
@media (hover: hover) and (pointer: fine) { .link:hover { opacity: .55; } }

/* ---------- buttons (rectangular, flat) ---------- */
.btn {
  --btn-bg: var(--ink); --btn-fg: #fff; --btn-bd: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 46px; padding: 0 26px; background: var(--btn-bg); color: var(--btn-fg); border: 1px solid var(--btn-bd);
  font-size: 11.5px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; line-height: 1.1; white-space: nowrap;
  transition: background-color 200ms ease, color 200ms ease, border-color 200ms ease, transform 140ms var(--ease-out);
  user-select: none; -webkit-user-select: none; touch-action: manipulation;
}
.btn svg { width: 16px; height: 16px; flex: none; stroke-width: 1.6; }
.btn:active { transform: scale(0.985); }
.btn[disabled] { opacity: .4; pointer-events: none; }
.btn--primary, .btn--dark, .btn--amber { --btn-bg: var(--ink); --btn-fg: #fff; --btn-bd: var(--ink); }
.btn--wa { --btn-bg: #fff; --btn-fg: var(--ink); --btn-bd: var(--ink); }
.btn--wa svg { color: var(--wa); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: var(--ink); }
.btn--ghost-light { --btn-bg: transparent; --btn-fg: #fff; --btn-bd: #fff; }
.btn--sm { min-height: 38px; padding: 0 16px; font-size: 10.5px; }
.btn--block { width: 100%; }
@media (hover: hover) and (pointer: fine) {
  .btn--primary:hover, .btn--dark:hover, .btn--amber:hover { --btn-bg: #333; --btn-bd: #333; }
  .btn--wa:hover, .btn--ghost:hover { --btn-bg: var(--ink); --btn-fg: #fff; }
  .btn--wa:hover svg { color: #fff; }
  .btn--ghost-light:hover { --btn-bg: #fff; --btn-fg: var(--ink); }
}
.icon-btn { position: relative; display: inline-grid; place-items: center; width: 40px; height: 40px; color: var(--ink); transition: opacity 200ms ease; }
.icon-btn svg { width: 20px; height: 20px; stroke-width: 1.5; }
@media (hover: hover) and (pointer: fine) { .icon-btn:hover { opacity: .55; } }
.badge-count { font-family: var(--mono); font-size: 11px; font-weight: 500; }
.badge-count.bump { animation: bump 380ms var(--ease-out); }
@keyframes bump { 40% { opacity: .2; } 100% { opacity: 1; } }

/* ---------- topbar ---------- */
.topbar { background: var(--ink); color: #d6d6d6; font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; }
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 34px; }
.topbar a { color: #fff; }
.topbar-list { display: flex; gap: 26px; align-items: center; }
.topbar svg { display: none; }
.topbar .t-hide-md { display: none; }
@media (min-width: 1100px) { .topbar .t-hide-md { display: inline; } }
@media (max-width: 899px) {
  .topbar .container { justify-content: center; min-height: 30px; }
  .topbar-list:first-child { display: none; }
  .topbar-list { gap: 16px; font-size: 9.5px; }
}

/* ---------- header (logo centered) ---------- */
.site-header { position: sticky; top: 0; z-index: 60; height: var(--header-h); background: #fff; border-bottom: 1px solid transparent; transition: border-color 200ms ease; }
.site-header.is-scrolled { border-color: var(--line); }
.site-header .container { height: 100%; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; }
.hdr-left, .hdr-right { display: flex; align-items: center; gap: 4px; min-width: 0; }
.hdr-right { justify-content: flex-end; gap: 18px; }
.brand { display: inline-flex; align-items: center; justify-self: center; }
.brand img { height: 38px; width: auto; }
@media (max-width: 899px) { .brand img { height: 28px; } .hdr-right { gap: 2px; } }
.main-nav { display: none; }
.main-nav ul { display: flex; gap: 26px; }
.main-nav a, .hdr-text {
  position: relative; display: inline-flex; align-items: center; height: 40px; font-size: 11.5px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--ink);
}
.main-nav a::after, .hdr-text::after { content: ""; position: absolute; left: 0; right: 0; bottom: 9px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform 260ms var(--ease-out); }
.main-nav a[aria-current="page"]::after { transform: scaleX(1); }
@media (hover: hover) and (pointer: fine) { .main-nav a:hover::after, .hdr-text:hover::after { transform: scaleX(1); } }
.header-search { display: none; position: relative; width: 210px; }
.header-search input { width: 100%; height: 34px; border: 0; border-bottom: 1px solid var(--ink); background: transparent; padding: 0 26px 0 0; font-size: 12px; letter-spacing: .04em; }
.header-search input::placeholder { color: var(--ink-3); text-transform: uppercase; letter-spacing: .14em; font-size: 10.5px; }
.header-search input:focus { outline: none; }
.header-search button { position: absolute; right: 0; top: 6px; width: 22px; height: 22px; display: grid; place-items: center; }
.header-search button svg { width: 16px; height: 16px; stroke-width: 1.5; }
.header-cta { display: none !important; }
.cart-text { gap: 4px; }
.cart-text .badge-count { font-size: 11.5px; }
.cart-icon { display: inline-grid; }
.cart-icon .badge-count { position: absolute; top: 2px; right: 0; font-size: 10px; min-width: 16px; height: 16px; display: grid; place-items: center; background: var(--ink); color: #fff; padding: 0 3px; }
.cart-icon .badge-count[data-zero="true"] { display: none; }
.cart-text { display: none; }
@media (min-width: 1180px) {
  .main-nav { display: block; }
  .burger, .search-toggle { display: none !important; }
}
@media (min-width: 900px) {
  .cart-text { display: inline-flex; }
  .cart-icon { display: none; }
}
@media (min-width: 1280px) { .header-search { display: block; } }

/* ---------- mobile menu ---------- */
.overlay { position: fixed; inset: 0; z-index: 80; background: rgba(17,17,17,.35); opacity: 0; visibility: hidden; transition: opacity 260ms ease, visibility 0s linear 260ms; }
.overlay.is-open { opacity: 1; visibility: visible; transition: opacity 260ms ease; }
.mnav {
  position: fixed; z-index: 90; top: 0; left: 0; bottom: 0; width: min(92vw, 420px); background: #fff; display: flex; flex-direction: column;
  transform: translateX(-102%); transition: transform 380ms var(--ease-drawer); padding-top: env(safe-area-inset-top); overscroll-behavior: contain;
}
.mnav.is-open { transform: translateX(0); }
.mnav-head { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.mnav-head img { height: 26px; width: auto; }
.mnav-body { flex: 1; overflow-y: auto; padding: 20px 20px; display: grid; gap: 28px; align-content: start; }
.mnav-search { position: relative; }
.mnav-search input { width: 100%; height: 46px; border: 0; border-bottom: 1px solid var(--ink); padding: 0 40px 0 0; font-size: 16px; background: transparent; }
.mnav-search input:focus { outline: none; }
.mnav-search button { position: absolute; right: 0; top: 10px; width: 28px; height: 28px; display: grid; place-items: center; }
.mnav-search svg { width: 18px; height: 18px; stroke-width: 1.5; }
.mnav-links a { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid var(--line-2); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; }
.mnav-links a svg { width: 14px; height: 14px; color: var(--ink-3); }
.mnav-label { font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.mnav-brands { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); margin-top: 12px; }
.mnav-brands a { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 10px; display: grid; place-items: center; height: 58px; }
.mnav-brands img { max-height: 28px; width: auto; object-fit: contain; }
.mnav-contact { display: grid; gap: 8px; padding: 16px 20px calc(16px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }

/* ---------- reveal ---------- */
[data-reveal] { opacity: 0; transform: translateY(10px); transition: opacity 800ms var(--ease-out), transform 800ms var(--ease-out); transition-delay: calc(var(--d, 0) * 60ms); }
[data-reveal].is-in { opacity: 1; transform: none; }
.no-js [data-reveal] { opacity: 1; transform: none; }

/* ---------- hero (editorial) ---------- */
.hero { border-bottom: 1px solid var(--line); }
.hero-inner { display: grid; gap: 0; }
.hero-media { position: relative; background: var(--tile); overflow: hidden; aspect-ratio: 1 / 1; max-height: 72vh; max-height: 72svh; width: 100%; }
@media (min-width: 1000px) {
  /* both columns fit the visible screen under the header */
  .hero-inner { grid-template-columns: 1.15fr 1fr; align-items: start; }
  .hero-media { aspect-ratio: auto; max-height: none; position: sticky; top: var(--header-h); height: calc(100vh - var(--header-h) - 34px); height: calc(100svh - var(--header-h) - 34px); min-height: 460px; }
  .hero-copy { min-height: calc(100vh - var(--header-h) - 34px); min-height: calc(100svh - var(--header-h) - 34px); }
}
.hero { position: relative; isolation: isolate; }
.brand-strip { position: relative; background: #fff; }
.hero-media .slide { position: absolute; inset: 0; margin: 0; opacity: 0; visibility: hidden; transition: opacity 1100ms var(--ease-out), visibility 0s linear 1100ms; }
.hero-media .slide.is-active { opacity: 1; visibility: visible; transition: opacity 1100ms var(--ease-out), visibility 0s; }
.hero-media .slide img { position: absolute; inset: 11% 14% 17%; width: 72%; height: 72%; object-fit: contain; mix-blend-mode: multiply; transform: scale(.985); transition: transform 10s linear; }
.hero-media .slide.is-active img { transform: scale(1.02); }
.hero-media figcaption { position: absolute; left: var(--gutter); bottom: 30px; right: var(--gutter); display: flex; justify-content: space-between; align-items: end; gap: 16px; font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.hero-media figcaption span { max-width: 70%; line-height: 1.5; }
.hero-media figcaption b { font-weight: 600; color: var(--ink); margin-right: 6px; }
.hero-media figcaption a { border-bottom: 1px solid currentColor; white-space: nowrap; }
.hero-counter { position: absolute; top: 22px; right: var(--gutter); font-family: var(--mono); font-size: 11px; color: var(--ink-3); z-index: 2; }
.hero-counter span { color: var(--ink); }
.hero-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--tile-2); z-index: 2; }
.hero-progress span { display: block; height: 100%; width: 0; background: var(--ink); }
.hero-progress.run span { animation: heroProgress var(--rot, 10000ms) linear forwards; }
.hero-media.is-paused .hero-progress span { animation-play-state: paused; }
@keyframes heroProgress { to { width: 100%; } }
.hero-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(36px, 6vw, 96px) var(--gutter); gap: 0; }
.hero-copy h1 { font-size: clamp(2.2rem, 4.4vw, 4.1rem); font-weight: 400; letter-spacing: -0.035em; line-height: 1.02; margin-top: 18px; max-width: 14ch; }
.hero-lead { margin-top: 22px; font-size: 15px; color: var(--ink-2); max-width: 46ch; }
.hero-search { margin-top: 34px; position: relative; max-width: 520px; }
.hero-search input { width: 100%; height: 52px; border: 0; border-bottom: 1px solid var(--ink); background: transparent; padding: 0 120px 0 30px; font-size: 16px; }
.hero-search input:focus { outline: none; border-bottom-width: 2px; }
.hero-search input::placeholder { color: var(--ink-3); }
.hero-search > svg { position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; stroke-width: 1.5; color: var(--ink); pointer-events: none; }
.hero-search .btn { position: absolute; right: 0; top: 7px; min-height: 38px; padding: 0 18px; }
.hero-tags { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.hero-tags a { color: var(--ink); border-bottom: 1px solid var(--line); transition: border-color 200ms ease; }
@media (hover: hover) and (pointer: fine) { .hero-tags a:hover { border-color: var(--ink); } }
.hero-ctas { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 10px; }
.hero-stats { margin-top: 44px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); max-width: 520px; }
.hero-stats div { padding: 14px 0 0; }
.hero-stats strong { display: block; font-family: var(--mono); font-weight: 400; font-size: clamp(1.1rem, 1.8vw, 1.4rem); }
.hero-stats span { font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.hero [data-hero] { opacity: 0; animation: heroIn 900ms var(--ease-out) forwards; animation-delay: calc(var(--h, 0) * 80ms + 80ms); }
@keyframes heroIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---------- brand strip ---------- */
.brand-strip { border-bottom: 1px solid var(--line); }
.brand-strip ul { display: grid; grid-template-columns: repeat(3, 1fr); }
@media (min-width: 700px) { .brand-strip ul { grid-template-columns: repeat(5, 1fr); } }
@media (min-width: 1200px) { .brand-strip ul { grid-template-columns: repeat(8, 1fr); } }
.brand-strip li { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.brand-strip a { display: grid; place-items: center; height: 92px; padding: 16px 20px; }
.brand-strip img { max-height: 34px; max-width: 100%; width: auto; object-fit: contain; mix-blend-mode: multiply; transition: transform 240ms ease; }
@media (hover: hover) and (pointer: fine) { .brand-strip a:hover img { transform: scale(1.04); } }

/* ---------- value props / steps (text columns) ---------- */
.props { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); border-top: 1px solid var(--ink); }
.prop { padding: 22px 28px 8px 0; }
.prop-ico { display: none; }
.prop h3 { font-size: 13px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; }
.prop h3 .n { font-family: var(--mono); color: var(--ink-3); margin-right: 10px; letter-spacing: 0; }
.prop p { color: var(--ink-3); font-size: 14px; margin-top: 10px; max-width: 36ch; }

/* ---------- brands grid ---------- */
.brands-grid { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
@media (min-width: 600px) { .brands-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px) { .brands-grid { grid-template-columns: repeat(5, 1fr); } }
.brand-tile { display: grid; justify-items: center; align-content: center; gap: 14px; padding: 30px 16px 18px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); text-align: center; transition: background-color 240ms ease; }
.brand-tile .logo-box { height: 54px; display: grid; place-items: center; width: 100%; }
.brand-tile img { max-height: 46px; max-width: 76%; width: auto; object-fit: contain; mix-blend-mode: multiply; transition: transform 240ms ease; }
.brand-tile span { font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.brand-tile span b { font-family: var(--mono); font-weight: 400; color: var(--ink); letter-spacing: 0; }
@media (hover: hover) and (pointer: fine) { .brand-tile:hover { background: var(--tile); } .brand-tile:hover img { transform: scale(1.04); } }

/* ---------- categories (lookbook tiles) ---------- */
.cats { display: grid; gap: 28px 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 900px) { .cats { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.cat-card { display: grid; gap: 12px; }
.cat-card .media { position: relative; aspect-ratio: 4 / 5; background: var(--tile); display: grid; place-items: center; overflow: hidden; }
.cat-card .media img { width: 70%; height: 70%; object-fit: contain; mix-blend-mode: multiply; transition: transform 900ms var(--ease-out); }
.cat-card .meta { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; }
.cat-card h3 { font-size: 12px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; }
.cat-card .n { font-family: var(--mono); font-size: 11px; color: var(--ink-3); }
.cat-card p { font-size: 13px; color: var(--ink-3); margin-top: -6px; }
@media (hover: hover) and (pointer: fine) { .cat-card:hover .media img { transform: scale(1.04); } }

/* ---------- product cards ---------- */
.grid-products { display: grid; gap: 34px 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 700px) { .grid-products { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px 14px; } }
@media (min-width: 1200px) { .grid-products { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1500px) { .shop-layout .grid-products { grid-template-columns: repeat(4, minmax(0, 1fr)); } .home-grid { grid-template-columns: repeat(5, minmax(0, 1fr)) !important; } }
.pcard { position: relative; display: flex; flex-direction: column; content-visibility: auto; contain-intrinsic-size: 300px 460px; }
.pcard-media { position: relative; aspect-ratio: 1 / 1; background: var(--tile); overflow: hidden; }
.pcard-media img.pimg { position: absolute; inset: 11%; width: 78%; height: 78%; object-fit: contain; mix-blend-mode: multiply; transition: transform 900ms var(--ease-out); }
.pcard-media .ph { position: absolute; left: 25%; top: 42%; width: 50%; height: auto; opacity: .35; filter: grayscale(1); mix-blend-mode: multiply; }
.pcard-brand { display: none; }
.pcard-refs { position: absolute; left: 10px; top: 10px; font-family: var(--mono); font-size: 10.5px; color: var(--ink-2); }
.pcard-body { padding: 12px 0 0; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.pcard-cat { order: -1; display: flex; justify-content: space-between; gap: 10px; font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.pcard-title { font-size: 13.5px; font-weight: 400; line-height: 1.38; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pcard-title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.pcard-ref { font-family: var(--mono); font-size: 11px; color: var(--ink-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pcard-price { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); margin-top: 4px; }
.pcard-actions { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 10px; position: relative; z-index: 2; }
.pcard-actions .btn.view { min-height: 0; padding: 0 0 2px; background: none; border: 0; border-bottom: 1px solid currentColor; color: var(--ink); font-size: 10.5px; letter-spacing: .12em; white-space: nowrap; }
.pcard-actions .btn.add { min-height: 32px; padding: 0 12px; background: transparent; color: var(--ink); border: 1px solid var(--line); font-size: 10.5px; letter-spacing: .12em; gap: 6px; }
.pcard-actions .btn.add svg { width: 13px; height: 13px; }
@media (hover: hover) and (pointer: fine) {
  .pcard:hover .pcard-media img.pimg { transform: scale(1.04); }
  .pcard-actions .btn.add:hover { --btn-bg: var(--ink); background: var(--ink); color: #fff; border-color: var(--ink); }
  .pcard-actions .btn.view:hover { opacity: .55; }
}

/* skeleton */
.skeleton { position: relative; overflow: hidden; background: var(--tile); }
.skeleton::after { content: ""; position: absolute; inset: 0; transform: translateX(-100%); background: linear-gradient(90deg, transparent, rgba(255,255,255,.7), transparent); animation: shimmer 1.4s infinite; }
@keyframes shimmer { to { transform: translateX(100%); } }
.pcard.is-skeleton .sk-media { position: absolute; inset: 0; }
.sk-line { height: 10px; margin-top: 8px; }

/* ---------- FAQ ---------- */
.faq { display: grid; max-width: 980px; border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 0; font-size: 15px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .plus { flex: none; width: 18px; height: 18px; display: grid; place-items: center; transition: transform 300ms var(--ease-out); }
.faq summary .plus svg { width: 16px; height: 16px; stroke-width: 1.4; }
.faq details[open] summary .plus { transform: rotate(45deg); }
.faq .faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 360ms var(--ease-out); }
.faq details[open] .faq-a { grid-template-rows: 1fr; }
.faq .faq-a > div { overflow: hidden; }
.faq .faq-a p { padding: 0 40px 24px 0; color: var(--ink-2); font-size: 14px; max-width: 74ch; }
.faq .faq-a a { border-bottom: 1px solid currentColor; }

/* ---------- CTA band ---------- */
.cta-band { border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); padding: clamp(28px, 4vw, 48px) 0; display: grid; gap: 22px; align-items: center; }
@media (min-width: 900px) { .cta-band { grid-template-columns: 1.3fr auto; } }
.cta-band h2 { font-size: clamp(1.4rem, 2.4vw, 2rem); letter-spacing: -0.02em; }
.cta-band p { color: var(--ink-3); margin-top: 8px; font-size: 14px; max-width: 60ch; }
.cta-band .btns { display: flex; flex-wrap: wrap; gap: 10px; }
.cta-band .btn--ghost-light { --btn-fg: var(--ink); --btn-bd: var(--ink); }

/* ---------- contact ---------- */
.contact-grid { display: grid; gap: 48px; }
@media (min-width: 1000px) { .contact-grid { grid-template-columns: 1fr 1.1fr; gap: 80px; } }
.contact-card { display: grid; gap: 22px; align-content: start; }
.contact-card h3 { display: none; }
.c-item { display: grid; grid-template-columns: 1fr; gap: 4px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.c-item .ci { display: none; }
.c-item small { font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.c-item a, .c-item strong { font-size: 15px; }
.c-item button.copy { margin-left: 12px; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; border-bottom: 1px solid currentColor; color: var(--ink-3); }
.hours { width: 100%; border-collapse: collapse; font-size: 14px; margin-top: 6px; }
.hours td { padding: 4px 0; }
.hours td:last-child { text-align: right; font-family: var(--mono); font-size: 12.5px; }
.hours tr.today td { font-weight: 600; }
.map-wrap { position: relative; aspect-ratio: 16 / 10; background: var(--tile); }
.map-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(1) contrast(1.05); }
.map-placeholder { position: absolute; inset: 0; display: grid; place-items: center; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.map-placeholder svg { display: none; }
.social { display: flex; gap: 18px; flex-wrap: wrap; }
.social a { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; color: var(--ink); transition: opacity 200ms ease; }
.social svg { width: 18px; height: 18px; stroke-width: 1.5; }
@media (hover: hover) and (pointer: fine) { .social a:hover { opacity: .5; } }

/* ---------- forms (underline inputs) ---------- */
.form { display: grid; gap: 22px; }
.form h3 { font-size: clamp(1.4rem, 2.2vw, 1.8rem); letter-spacing: -0.02em; }
.form-row { display: grid; gap: 22px; }
@media (min-width: 640px) { .form-row.two { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 4px; position: relative; }
.field label, fieldset.field legend { font-size: 10.5px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.field label .opt { text-transform: none; letter-spacing: 0; color: var(--ink-4); }
.field .ctrl { position: relative; }
.field input, .field textarea, .field select {
  width: 100%; min-height: 42px; border: 0; border-bottom: 1px solid var(--ink-4); background: transparent; padding: 8px 28px 8px 0; font-size: 16px;
  transition: border-color 180ms ease;
}
.field textarea { min-height: 96px; resize: vertical; border: 1px solid var(--ink-4); padding: 10px 12px; margin-top: 6px; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--ink); }
.field .state { position: absolute; right: 2px; top: 12px; width: 16px; height: 16px; opacity: 0; transition: opacity 200ms ease; pointer-events: none; }
.field.is-valid input, .field.is-valid textarea { border-color: var(--ok); }
.field.is-valid .state.ok { opacity: 1; color: var(--ok); }
.field.is-invalid input, .field.is-invalid textarea, .field.is-invalid select { border-color: var(--err); }
.field.is-invalid .state.ko { opacity: 1; color: var(--err); }
.field .err { font-size: 12px; color: var(--err); display: grid; grid-template-rows: 0fr; transition: grid-template-rows 220ms var(--ease-out); }
.field .err > span { overflow: hidden; }
.field.is-invalid .err { grid-template-rows: 1fr; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--ink-2); }
.check input { width: 16px; height: 16px; margin-top: 2px; accent-color: var(--ink); flex: none; }
.check a { border-bottom: 1px solid currentColor; }
.check.is-invalid, .check.is-invalid label { color: var(--err); }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin-top: 8px; border: 1px solid var(--ink-4); }
.seg label { position: relative; display: flex; gap: 10px; align-items: flex-start; padding: 12px; cursor: pointer; font-size: 12.5px; color: var(--ink-3); transition: background-color 180ms ease, color 180ms ease; }
.seg label + label { border-left: 1px solid var(--ink-4); }
.seg input { position: absolute; opacity: 0; }
.seg label strong { display: block; font-size: 11px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); margin-bottom: 2px; }
.seg label svg { display: none; }
.seg label:has(input:checked) { background: var(--ink); color: #ccc; }
.seg label:has(input:checked) strong { color: #fff; }
.seg label:has(input:focus-visible) { outline: 1px solid var(--ink); outline-offset: 2px; }
.form-alt { display: flex; flex-wrap: wrap; gap: 10px; }
.form-alt .btn { flex: 1 1 200px; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding-top: clamp(48px, 6vw, 80px); font-size: 13px; color: var(--ink-2); }
.footer-grid { display: grid; gap: 36px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; } }
.footer-grid .fh { font-size: 10.5px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 16px; }
.footer-grid li { margin-bottom: 8px; }
.footer-grid a { transition: opacity 200ms ease; }
@media (hover: hover) and (pointer: fine) { .footer-grid a:hover { opacity: .55; } }
.footer-brand img { height: 36px; width: auto; margin-bottom: 18px; }
.footer-brand p { max-width: 40ch; color: var(--ink-3); }
.footer-bottom { margin-top: 56px; border-top: 1px solid var(--line); padding-block: 20px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }

/* ---------- cart drawer ---------- */
.drawer {
  position: fixed; z-index: 95; top: 0; right: 0; bottom: 0; width: min(100vw, 480px); background: #fff; display: flex; flex-direction: column;
  transform: translateX(102%); transition: transform 420ms var(--ease-drawer); padding-top: env(safe-area-inset-top); overscroll-behavior: contain; border-left: 1px solid var(--line);
}
.drawer.is-open { transform: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; }
.drawer-head p { font-size: 12px; color: var(--ink-3); margin-top: 2px; }
.drawer-steps { display: flex; gap: 0; }
.drawer-steps span { flex: 1; height: 2px; background: var(--line); transition: background-color 300ms ease; }
.drawer-steps span.on { background: var(--ink); }
.drawer-body { flex: 1; overflow-y: auto; padding: 4px 22px 16px; }
.drawer-foot { border-top: 1px solid var(--line); padding: 16px 22px calc(16px + env(safe-area-inset-bottom)); display: grid; gap: 10px; }
.cart-empty { text-align: center; padding: 56px 10px; display: grid; gap: 14px; justify-items: center; color: var(--ink-3); font-size: 14px; }
.cart-empty svg { width: 34px; height: 34px; stroke-width: 1.2; color: var(--ink); }
.cart-empty h3 { color: var(--ink); font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; }
.citem { display: grid; grid-template-columns: 84px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line-2); transition: opacity 220ms ease, transform 220ms var(--ease-out); }
.citem.is-removing { opacity: 0; transform: translateX(16px); }
.citem-media { width: 84px; height: 84px; background: var(--tile); display: grid; place-items: center; padding: 8px; }
.citem-media img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.citem-title { font-size: 13.5px; line-height: 1.35; }
.citem-meta { font-size: 11px; color: var(--ink-3); margin-top: 4px; letter-spacing: .04em; }
.citem-meta b { font-family: var(--mono); font-weight: 400; color: var(--ink-2); }
.citem-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 10px; }
.citem-ref { width: 100%; margin-top: 8px; min-height: 32px; font-size: 12px; font-family: var(--mono); border: 0; border-bottom: 1px solid var(--line); padding: 4px 0; background: transparent; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); background: #fff; }
.qty button { width: 32px; height: 32px; display: grid; place-items: center; transition: background-color 160ms ease; }
.qty button svg { width: 13px; height: 13px; stroke-width: 1.6; }
.qty input { width: 40px; text-align: center; border: 0; height: 32px; font-family: var(--mono); font-size: 13px; -moz-appearance: textfield; background: transparent; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty.lg { border-color: var(--ink-4); }
.qty.lg button { width: 44px; height: 46px; }
.qty.lg input { height: 46px; width: 50px; font-size: 15px; }
@media (hover: hover) and (pointer: fine) { .qty button:hover { background: var(--tile); } }
.remove { font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); display: inline-flex; align-items: center; gap: 4px; border-bottom: 1px solid transparent; }
.remove svg { display: none; }
@media (hover: hover) and (pointer: fine) { .remove:hover { color: var(--ink); border-color: currentColor; } }
.cart-summary { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cart-summary div { padding: 10px 0; }
.cart-summary div + div { border-left: 1px solid var(--line); padding-left: 14px; }
.cart-summary strong { display: block; font-family: var(--mono); font-weight: 400; font-size: 1.25rem; }
.cart-summary span { font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.cart-note { font-size: 12.5px; color: var(--ink-2); display: flex; gap: 8px; }
.cart-note svg { display: none; }
.checkout-form { display: grid; gap: 20px; padding-top: 16px; }
.order-mini { font-size: 12px; color: var(--ink-3); padding-bottom: 12px; border-bottom: 1px solid var(--line); }

/* ---------- toasts ---------- */
.toaster { position: fixed; z-index: 120; right: 20px; bottom: 20px; display: grid; gap: 8px; width: min(380px, calc(100vw - 24px)); pointer-events: none; }
@media (max-width: 899px) { .toaster { right: 12px; left: 12px; width: auto; bottom: calc(var(--mbar-h) + 12px + env(safe-area-inset-bottom)); } }
.toast {
  pointer-events: auto; display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; background: var(--ink); color: #fff; padding: 14px 16px; font-size: 13px;
  opacity: 1; transform: translateY(0); transition: opacity 320ms ease, transform 320ms var(--ease-out);
}
@starting-style { .toast { opacity: 0; transform: translateY(12px); } }
.toast.is-leaving { opacity: 0; transform: translateY(8px); transition-duration: 200ms; }
.toast .t-ico svg { width: 16px; height: 16px; stroke-width: 1.6; }
.toast.error .t-ico { color: #ff8b80; }
.toast strong { display: block; font-size: 11px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; }
.toast small { color: #bdbdbd; display: block; font-size: 12.5px; line-height: 1.4; margin-top: 2px; }
.toast .t-act { font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; border-bottom: 1px solid currentColor; white-space: nowrap; }

/* ---------- back to top ---------- */
.to-top {
  position: fixed; z-index: 55; right: 20px; bottom: calc(20px + var(--mbar-h) + env(safe-area-inset-bottom)); width: 46px; height: 46px; border-radius: 50%; background: #fff;
  display: grid; place-items: center; color: var(--ink); opacity: 0; transform: translateY(10px); pointer-events: none; transition: opacity 240ms ease, transform 240ms var(--ease-out);
}
.to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.to-top svg.ring { position: absolute; inset: 0; width: 46px; height: 46px; transform: rotate(-90deg); }
.to-top svg.ring circle { fill: none; stroke-width: 1.5; }
.to-top svg.ring .bg { stroke: var(--line); }
.to-top svg.ring .fg { stroke: var(--ink); transition: stroke-dashoffset 80ms linear; }
.to-top svg.arrow { width: 16px; height: 16px; position: relative; stroke-width: 1.5; }
@media (max-width: 899px) { .to-top { right: 12px; width: 42px; height: 42px; } .to-top svg.ring { width: 42px; height: 42px; } }

/* ---------- sticky mobile bar ---------- */
.mbar { position: fixed; z-index: 70; left: 0; right: 0; bottom: 0; display: none; background: #fff; border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom); }
@media (max-width: 899px) { .mbar { display: block; } }
.mbar ul { display: grid; grid-template-columns: repeat(5, 1fr); height: 60px; }
.mbar a, .mbar button { position: relative; height: 100%; width: 100%; display: grid; place-items: center; align-content: center; gap: 4px; font-size: 9.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.mbar svg { width: 20px; height: 20px; stroke-width: 1.4; color: var(--ink); }
.mbar [aria-current="page"] { color: var(--ink); }
.mbar [aria-current="page"]::before { content: ""; position: absolute; top: 0; left: 30%; right: 30%; height: 2px; background: var(--ink); }
.mbar .wa svg { color: var(--wa); }
.mbar .badge-count { position: absolute; top: 8px; left: calc(50% + 6px); min-width: 15px; height: 15px; padding: 0 3px; display: grid; place-items: center; background: var(--ink); color: #fff; font-size: 9.5px; }
.mbar .badge-count[data-zero="true"] { display: none; }
.mbar-buy { position: fixed; z-index: 69; left: 0; right: 0; bottom: calc(60px + env(safe-area-inset-bottom)); display: none; padding: 10px 12px; gap: 10px; background: #fff; border-top: 1px solid var(--line); transform: translateY(110%); transition: transform 320ms var(--ease-drawer); align-items: center; }
.mbar-buy.is-visible { transform: none; }
.mbar-buy .mb-name { flex: 1; min-width: 0; font-size: 12px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mbar-buy .btn { min-height: 42px; padding: 0 16px; }
@media (max-width: 899px) { .mbar-buy { display: flex; } }

/* ---------- loader ---------- */
.loader { position: fixed; inset: 0; z-index: 300; background: #fff; display: grid; place-items: center; transition: opacity 400ms ease, visibility 0s linear 400ms; }
.loader.is-done { opacity: 0; visibility: hidden; }
.loader-inner { display: grid; justify-items: center; gap: 18px; }
.loader img { width: 84px; height: auto; }
.loader-bar { width: 120px; height: 1px; background: var(--line); overflow: hidden; }
.loader-bar::after { content: ""; display: block; height: 100%; width: 40%; background: var(--ink); animation: loaderBar 1.1s var(--ease-out) infinite; }
@keyframes loaderBar { from { transform: translateX(-100%); } to { transform: translateX(260%); } }

/* ---------- breadcrumbs ---------- */
.crumbs { font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; list-style: none; margin: 0; padding: 0; }
.crumbs li { display: inline-flex; align-items: center; gap: 8px; }
.crumbs li + li::before { content: "/"; color: var(--ink-4); }
.crumbs [aria-current] { color: var(--ink); max-width: 48ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (hover: hover) and (pointer: fine) { .crumbs a:hover { color: var(--ink); } }

/* ---------- shop ---------- */
.shop-hero .container { padding-block: 28px 20px; }
.shop-hero h1 { font-size: clamp(1.6rem, 3vw, 2.5rem); letter-spacing: -0.025em; margin-top: 18px; }
.shop-hero p { color: var(--ink-3); margin-top: 8px; max-width: 72ch; font-size: 13.5px; }
.shop-layout { display: grid; gap: 24px; padding-block: 8px 72px; align-items: start; }
@media (min-width: 1000px) { .shop-layout { grid-template-columns: 240px minmax(0, 1fr); gap: 40px; } }
.filters { display: none; }
@media (min-width: 1000px) {
  .filters { display: block; position: sticky; top: calc(var(--header-h) + 16px); max-height: calc(100vh - var(--header-h) - 32px); overflow-y: auto; padding-right: 8px; scrollbar-width: thin; }
}
.filters-sheet .filters { display: block; position: static; max-height: none; overflow: visible; padding: 0; }
.fblock { border-top: 1px solid var(--line); padding-block: 16px; }
.fblock:first-child { border-top: 0; padding-top: 0; }
.fblock h3 { font-size: 10.5px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); margin-bottom: 10px; display: flex; justify-content: space-between; align-items: center; }
.fblock h3 button { font-size: 10px; letter-spacing: .1em; color: var(--ink-3); border-bottom: 1px solid currentColor; }
.fsearch { position: relative; }
.fsearch input { width: 100%; height: 40px; border: 0; border-bottom: 1px solid var(--ink); padding: 0 28px 0 26px; font-size: 16px; background: transparent; }
@media (min-width: 1000px) { .fsearch input { font-size: 13px; } }
.fsearch input:focus { outline: none; }
.fsearch > svg { position: absolute; left: 0; top: 12px; width: 16px; height: 16px; stroke-width: 1.5; }
.fsearch .clear { position: absolute; right: 0; top: 8px; width: 24px; height: 24px; display: none; place-items: center; color: var(--ink-3); }
.fsearch.has-value .clear { display: grid; }
.fsearch .clear svg { width: 14px; height: 14px; }
.flist { display: grid; gap: 0; max-height: 280px; overflow-y: auto; scrollbar-width: thin; }
.flist label { display: flex; align-items: center; gap: 10px; padding: 5px 0; cursor: pointer; font-size: 13px; color: var(--ink-2); transition: color 160ms ease; }
.flist label input { appearance: none; -webkit-appearance: none; width: 12px; height: 12px; border: 1px solid var(--ink-3); flex: none; margin: 0; display: grid; place-items: center; }
.flist label input:checked { background: var(--ink); border-color: var(--ink); }
.flist label span { flex: 1; line-height: 1.3; }
.flist label em { font-style: normal; font-family: var(--mono); font-size: 11px; color: var(--ink-4); }
.flist label:has(input:checked) { color: var(--ink); }
@media (hover: hover) and (pointer: fine) { .flist label:hover { color: var(--ink); } }
.fmore { margin-top: 8px; font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; border-bottom: 1px solid currentColor; }
.shop-bar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; margin-bottom: 18px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.shop-count { font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.shop-count strong { font-family: var(--mono); font-weight: 400; color: var(--ink); letter-spacing: 0; font-size: 12px; }
.shop-tools { display: flex; gap: 14px; align-items: center; }
.shop-tools select { height: 34px; border: 0; border-bottom: 1px solid var(--ink); background: transparent; padding: 0 22px 0 0; font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; }
.btn-filters { display: inline-flex; min-height: 34px !important; padding: 0 !important; border: 0 !important; border-bottom: 1px solid var(--ink) !important; background: none !important; color: var(--ink) !important; }
@media (min-width: 1000px) { .btn-filters { display: none; } }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.chips:empty { display: none; }
.chip { display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 10px; border: 1px solid var(--ink); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; transition: background-color 160ms ease, color 160ms ease; }
.chip svg { width: 11px; height: 11px; stroke-width: 1.8; }
@media (hover: hover) and (pointer: fine) { .chip:hover { background: var(--ink); color: #fff; } }
.chip.clear-all { border-color: transparent; border-bottom: 1px solid var(--ink); height: 24px; padding: 0; }
.load-more { display: grid; justify-items: center; gap: 12px; margin-top: 48px; color: var(--ink-3); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; }
.load-more .bar { width: 200px; height: 1px; background: var(--line); }
.load-more .bar span { display: block; height: 100%; background: var(--ink); transition: width 300ms var(--ease-out); }
.empty-state { text-align: center; padding: 64px 16px; border-top: 1px solid var(--line); display: grid; gap: 14px; justify-items: center; }
.empty-state svg { width: 28px; height: 28px; stroke-width: 1.3; }
.empty-state h2 { font-size: 13px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; }
.empty-state p { color: var(--ink-3); max-width: 52ch; font-size: 14px; }
.empty-state .btns { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 8px; }
.brand-banner { display: flex; align-items: center; gap: 24px; padding: 18px 0; margin-bottom: 18px; border-bottom: 1px solid var(--line); }
.brand-banner img { height: 40px; width: auto; max-width: 140px; object-fit: contain; }
.brand-banner p { font-size: 13px; color: var(--ink-3); max-width: 70ch; }
.brand-banner strong { color: var(--ink); font-weight: 500; }
@media (max-width: 600px) { .brand-banner { flex-direction: column; align-items: flex-start; gap: 10px; } .brand-banner img { height: 32px; } }

/* filter sheet (mobile) */
.sheet { position: fixed; z-index: 92; left: 0; right: 0; bottom: 0; max-height: 88vh; background: #fff; display: flex; flex-direction: column; transform: translateY(102%); transition: transform 420ms var(--ease-drawer); overscroll-behavior: contain; }
.sheet.is-open { transform: none; }
.sheet-grip { width: 36px; height: 3px; background: var(--line); margin: 10px auto 0; }
.sheet-head { display: flex; align-items: center; justify-content: space-between; padding: 6px 18px 12px; border-bottom: 1px solid var(--line); }
.sheet-head h2 { font-size: 11px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; }
.sheet-body { overflow-y: auto; padding: 18px; flex: 1; }
.sheet-foot { padding: 12px 18px calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); display: flex; gap: 10px; }
.sheet-foot .btn { flex: 1; }

/* ---------- product page ---------- */
.product { padding-block: 20px 40px; }
.product-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; align-items: center; margin-bottom: 20px; }
.back-link { display: inline-flex; align-items: center; gap: 8px; font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.back-link svg { width: 13px; height: 13px; transition: transform 200ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .back-link:hover svg { transform: translateX(-3px); } }
.product-grid { display: grid; gap: 32px; align-items: start; }
@media (min-width: 960px) { .product-grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 64px; } }
.gallery { position: relative; }
@media (min-width: 960px) { .gallery { position: sticky; top: calc(var(--header-h) + 20px); } }
.zoom { position: relative; aspect-ratio: 1; background: var(--tile); overflow: hidden; cursor: zoom-in; display: grid; place-items: center; }
.zoom img.main { position: absolute; inset: 9%; width: 82%; height: 82%; object-fit: contain; mix-blend-mode: multiply; transition: transform 180ms ease-out; transform-origin: var(--zx, 50%) var(--zy, 50%); }
.zoom.is-zooming img.main { transform: scale(2.1); }
.zoom .zoom-hint { position: absolute; right: 16px; bottom: 14px; display: inline-flex; align-items: center; gap: 6px; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); transition: opacity 200ms ease; }
.zoom .zoom-hint svg { width: 13px; height: 13px; }
.zoom.is-zooming .zoom-hint { opacity: 0; }
.zoom .brand-badge { position: absolute; left: 16px; top: 16px; }
.zoom .brand-badge img { height: 22px; width: auto; max-width: 110px; object-fit: contain; mix-blend-mode: multiply; }
.zoom .ph { width: 40%; opacity: .35; filter: grayscale(1); mix-blend-mode: multiply; }
@media (hover: none) { .zoom { cursor: default; } .zoom .zoom-hint { display: none; } }
.gallery-note { display: flex; gap: 8px; align-items: center; font-size: 11.5px; color: var(--ink-3); margin-top: 12px; }
.gallery-note svg { display: none; }

.pinfo { padding-top: 4px; }
.pinfo .pcat { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.tag { font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); border-bottom: 1px solid transparent; transition: border-color 200ms ease, color 200ms ease; }
.tag.dark { color: var(--ink); font-weight: 500; }
@media (hover: hover) and (pointer: fine) { a.tag:hover { border-color: currentColor; color: var(--ink); } }
.pinfo h1 { font-size: clamp(1.5rem, 2.4vw, 2.1rem); font-weight: 400; letter-spacing: -0.02em; line-height: 1.15; margin-top: 16px; }
.pmeta { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-top: 14px; font-size: 12px; color: var(--ink-3); }
.pmeta b { font-family: var(--mono); font-weight: 400; color: var(--ink); }
.stock { margin-top: 22px; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); display: grid; gap: 4px; }
.stock svg { display: none; }
.stock strong { display: block; font-size: 11px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; }
.stock span { font-size: 13px; color: var(--ink-3); }
.pdesc { margin-top: 22px; color: var(--ink-2); font-size: 14.5px; max-width: 62ch; }
.pfeat { margin-top: 16px; display: grid; gap: 8px; }
.pfeat li { display: flex; gap: 12px; font-size: 13.5px; color: var(--ink-2); }
.pfeat li svg { display: none; }
.pfeat li::before { content: ""; width: 10px; height: 1px; background: var(--ink); margin-top: 10px; flex: none; }
.buybox { margin-top: 26px; display: grid; gap: 18px; }
.buybox label.lbl, .buybox .lbl { font-size: 10.5px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3) !important; display: block; margin-bottom: 6px; }
.buybox select { width: 100%; min-height: 46px; border: 0; border-bottom: 1px solid var(--ink); padding: 0 24px 0 0; background: transparent; font-size: 15px; font-family: var(--mono); }
.buybox select:focus { outline: none; }
.buy-row { display: flex; gap: 10px; flex-wrap: wrap; }
.buy-row .btn { flex: 1 1 220px; min-height: 48px; }
.buy-trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); border-top: 1px solid var(--line); padding-top: 14px; }
.buy-trust div { display: flex; gap: 6px; align-items: center; }
.buy-trust svg { width: 14px; height: 14px; stroke-width: 1.4; color: var(--ink); flex: none; }
.ptabs { margin-top: 56px; }
.ptabs h2 { font-size: 11px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 14px; }
.spec-table { width: 100%; border-collapse: collapse; font-size: 13.5px; border-top: 1px solid var(--ink); }
.spec-table th, .spec-table td { text-align: left; padding: 12px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec-table th { width: 38%; color: var(--ink-3); font-weight: 400; padding-right: 20px; }
.vtable-wrap { overflow-x: auto; border-top: 1px solid var(--ink); -webkit-overflow-scrolling: touch; }
.vtable { width: 100%; border-collapse: collapse; font-size: 13px; min-width: 520px; }
.vtable th { text-align: left; font-weight: 500; padding: 12px 12px 12px 0; font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); border-bottom: 1px solid var(--line); }
.vtable td { padding: 11px 12px 11px 0; border-bottom: 1px solid var(--line-2); vertical-align: middle; color: var(--ink-2); }
.vtable td.ref { font-family: var(--mono); color: var(--ink); white-space: nowrap; }
.vtable td.act { text-align: right; white-space: nowrap; padding-right: 0; }
.vtable .mini-add { display: inline-flex; align-items: center; gap: 6px; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; border: 1px solid var(--line); padding: 6px 10px; transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease; }
.vtable .mini-add svg { width: 11px; height: 11px; }
@media (hover: hover) and (pointer: fine) { .vtable .mini-add:hover { background: var(--ink); color: #fff; border-color: var(--ink); } .vtable tr:hover td { background: #fafafa; } }
.vtable-more { display: flex; justify-content: center; padding: 18px 0 0; }
.pnotes { margin-top: 14px; font-size: 12.5px; color: var(--ink-3); max-width: 90ch; }
.related { padding-block: 24px 80px; border-top: 1px solid var(--line); margin-top: 40px; }
.rel-head { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: end; margin: 28px 0 22px; }
.rel-head h2 { font-size: 11px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; }
.rel-head .btn { min-height: 0; padding: 0 0 2px; background: none; color: var(--ink); border: 0; border-bottom: 1px solid currentColor; }
.rel-scroller { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(210px, 1fr); gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; overscroll-behavior-x: contain; scrollbar-width: thin; }
.rel-scroller > * { scroll-snap-align: start; }
@media (min-width: 1200px) { .rel-scroller { grid-auto-columns: calc((100% - 48px) / 5); } }

/* view transitions */
::view-transition-old(root), ::view-transition-new(root) { animation-duration: 240ms; animation-timing-function: var(--ease-out); }
::view-transition-old(shop-main) { animation: vtOut 180ms var(--ease-out) both; }
::view-transition-new(shop-main) { animation: vtIn 320ms var(--ease-out) both; }
@keyframes vtOut { to { opacity: 0; } }
@keyframes vtIn { from { opacity: 0; transform: translateY(6px); } }
#shop-main { view-transition-name: shop-main; }

/* ---------- simple pages ---------- */
.page-hero { border-bottom: 1px solid var(--line); }
.page-hero .container { padding-block: clamp(28px, 4vw, 56px); }
.page-hero h1 { font-size: clamp(1.8rem, 3.6vw, 3rem); letter-spacing: -0.03em; margin-top: 18px; }
.page-hero p { color: var(--ink-3); margin-top: 12px; max-width: 64ch; font-size: 14px; }
.prose { max-width: 820px; color: var(--ink-2); font-size: 14.5px; }
.prose h2 { font-size: 11px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); margin: 40px 0 14px; padding-top: 16px; border-top: 1px solid var(--line); }
.prose p, .prose li { margin-bottom: 10px; }
.prose ul { list-style: none; padding-left: 0; }
.prose ul li { padding-left: 20px; position: relative; }
.prose ul li::before { content: ""; position: absolute; left: 0; top: 11px; width: 10px; height: 1px; background: var(--ink); }
.prose a { border-bottom: 1px solid currentColor; }
.prose table { width: 100%; border-collapse: collapse; margin: 12px 0 18px; font-size: 13.5px; border-top: 1px solid var(--ink); }
.prose th, .prose td { border-bottom: 1px solid var(--line); padding: 10px 12px 10px 0; text-align: left; vertical-align: top; }
.prose th { color: var(--ink-3); font-weight: 400; }
.notfound { min-height: 60vh; display: grid; place-items: center; text-align: center; padding-block: 72px; }
.notfound .code { font-family: var(--mono); font-size: clamp(3.5rem, 12vw, 7rem); line-height: 1; color: var(--ink); }
.notfound .hero-search { margin-inline: auto; }
.thanks-card { border-top: 1px solid var(--ink); padding-top: 28px; }
.check-anim { width: 44px; height: 44px; border: 1px solid var(--ink); display: grid; place-items: center; margin-bottom: 18px; border-radius: 50%; }
.check-anim svg { width: 22px; height: 22px; stroke-dasharray: 30; stroke-dashoffset: 30; animation: draw 600ms var(--ease-out) 300ms forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.thanks-card h2 { font-size: clamp(1.3rem, 2vw, 1.7rem) !important; color: var(--ink) !important; font-weight: 400; letter-spacing: -0.02em; }
.order-list { margin-top: 18px; border-top: 1px solid var(--line); }
.order-list li { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 13.5px; }
.order-list b { font-family: var(--mono); font-weight: 400; }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
  [data-reveal], .hero [data-hero] { opacity: 1; transform: none; transition: opacity 200ms ease; animation: none; }
  .drawer, .mnav, .sheet, .mbar-buy { transition-duration: 1ms; }
  .pcard-media img.pimg, .cat-card .media img { transition: none; }
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
}

/* =========================================================
   BRAND COLOUR LAYER — Technosur logo palette
   navy #1e3a66 · blue #0b82c0 · sky #5bb0de · ice #a8dbf7
   ========================================================= */
::selection { background: var(--blue); color: #fff; }
:focus-visible { outline-color: var(--blue); }
.label, .eyebrow, .hero-copy .label { color: var(--blue); }
.section-title, .pinfo h1, .shop-hero h1, .page-hero h1 { color: var(--navy); }
.hero-copy h1 { color: var(--navy); }
.hero-copy h1 .hl { color: var(--blue); }

/* top bar + header */
.topbar { background: var(--navy); color: var(--ice); }
.topbar a { color: #fff; }
.main-nav a::after, .hdr-text::after { background: var(--blue); }
.main-nav a[aria-current="page"] { color: var(--blue); }
.header-search input { border-bottom-color: var(--navy); }
.cart-icon .badge-count, .mbar .badge-count { background: var(--blue); }
.cart-text .badge-count { color: var(--blue); font-weight: 600; }

/* buttons */
.btn--primary, .btn--amber { --btn-bg: var(--blue); --btn-bd: var(--blue); --btn-fg: #fff; }
.btn--dark { --btn-bg: var(--navy); --btn-bd: var(--navy); }
.btn--ghost { --btn-fg: var(--navy); --btn-bd: var(--navy); }
.btn--wa { --btn-fg: var(--navy); --btn-bd: var(--navy); }
@media (hover: hover) and (pointer: fine) {
  .btn--primary:hover, .btn--amber:hover { --btn-bg: var(--navy); --btn-bd: var(--navy); }
  .btn--dark:hover { --btn-bg: var(--blue); --btn-bd: var(--blue); }
  .btn--ghost:hover, .btn--wa:hover { --btn-bg: var(--navy); --btn-fg: #fff; }
  .link:hover { color: var(--blue); opacity: 1; }
}
.link { color: var(--navy); }

/* hero */
.hero-media { background: linear-gradient(160deg, #f3f9fe 0%, #e1effa 100%); }
.hero-media::before { content: ""; position: absolute; right: -12%; top: -14%; width: 62%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(168, 219, 247, .6), rgba(168, 219, 247, 0) 70%); pointer-events: none; }
.hero-media figcaption b { color: var(--blue); }
.hero-counter span { color: var(--blue); }
.hero-progress { background: var(--ice); }
.hero-progress span { background: var(--blue); }
.hero-stats { border-top-color: var(--ice); }
.hero-stats strong { color: var(--blue); }
.hero-search input { border-bottom-color: var(--navy); }
.hero-search > svg { color: var(--blue); }
.hero-tags a { color: var(--navy); border-bottom-color: var(--ice); }
@media (hover: hover) and (pointer: fine) { .hero-tags a:hover { border-color: var(--blue); color: var(--blue); } }

/* brand strip + brand grid */
.brand-strip { background: var(--ice-50); }
@media (hover: hover) and (pointer: fine) { .brand-strip a:hover { background: #fff; } .brand-tile:hover { background: var(--ice-50); } }
.brand-tile span b { color: var(--blue); }

/* categories + product cards */
.cat-card .media { background: linear-gradient(160deg, #f3f9fe, #e1effa); }
.cat-card .n { color: var(--blue); }
@media (hover: hover) and (pointer: fine) { .cat-card:hover h3 { color: var(--blue); } }
.pcard-refs { color: var(--blue); }
.pcard-price { color: var(--blue); font-weight: 500; }
.pcard-cat span:first-child { color: var(--navy); font-weight: 500; }
@media (hover: hover) and (pointer: fine) {
  .pcard:hover .pcard-title { color: var(--blue); }
  .pcard-actions .btn.add:hover { background: var(--blue); border-color: var(--blue); }
}

/* props / steps */
.props { border-top: 2px solid var(--blue); }
.prop h3 .n { color: var(--blue); }

/* FAQ */
.faq { border-top: 2px solid var(--blue); }
.faq summary .plus { color: var(--blue); }
.faq details[open] summary { color: var(--blue); }

/* CTA band: solid navy block */
.cta-band { background: var(--navy); color: #fff; border: 0; padding: clamp(28px, 4vw, 48px); }
.cta-band h2 { color: #fff; }
.cta-band p { color: var(--ice); }
.cta-band .btn--primary { --btn-bg: var(--blue); --btn-bd: var(--blue); }
.cta-band .btn--ghost, .cta-band .btn--ghost-light { --btn-bg: transparent; --btn-fg: #fff; --btn-bd: rgba(255, 255, 255, .6); }
@media (hover: hover) and (pointer: fine) {
  .cta-band .btn--primary:hover { --btn-bg: #fff; --btn-fg: var(--navy); --btn-bd: #fff; }
  .cta-band .btn--ghost:hover, .cta-band .btn--ghost-light:hover { --btn-bg: #fff; --btn-fg: var(--navy); --btn-bd: #fff; }
}

/* contact */
.c-item small { color: var(--blue); }
.hours tr.today td { color: var(--blue); }
.map-wrap { background: var(--ice-50); }

/* shop */
.shop-hero { background: linear-gradient(180deg, var(--ice-50), #fff); border-bottom: 1px solid var(--line); }
.shop-count strong { color: var(--blue); }
.flist label input:checked { background: var(--blue); border-color: var(--blue); }
.chip { border-color: var(--navy); color: var(--navy); }
@media (hover: hover) and (pointer: fine) { .chip:hover { background: var(--navy); color: #fff; } .flist label:hover { color: var(--blue); } }
.load-more .bar span { background: var(--blue); }
.fblock h3 { color: var(--navy); }

/* product page */
.pinfo .tag.dark { color: var(--blue); }
.stock { border: 1px solid var(--ice); background: var(--ice-50); padding-inline: 14px; }
.stock strong { color: var(--blue); }
.pfeat li::before { background: var(--blue); }
.spec-table, .vtable-wrap { border-top-color: var(--blue); }
.vtable td.ref { color: var(--navy); }
@media (hover: hover) and (pointer: fine) { .vtable .mini-add:hover { background: var(--blue); border-color: var(--blue); } }
.buybox select { border-bottom-color: var(--navy); }
.buy-trust svg { color: var(--blue); }

/* drawer, toasts, mobile bar, back-to-top */
.drawer-steps span.on { background: var(--blue); }
.cart-summary strong { color: var(--blue); }
.seg label:has(input:checked) { background: var(--navy); }
.toast { background: var(--navy); }
.toast .t-ico { color: var(--ice); }
.mbar [aria-current="page"], .mbar [aria-current="page"] svg { color: var(--blue); }
.mbar [aria-current="page"]::before { background: var(--blue); }
.to-top svg.ring .fg { stroke: var(--blue); }
.to-top { color: var(--navy); }
.loader-bar::after { background: var(--blue); }

/* footer: navy */
.site-footer { background: var(--navy); color: #c9dcec; border-top: 0; }
.footer-grid .fh { color: var(--ice); }
.footer-brand p { color: #a9c3da; }
.footer-bottom { border-top-color: rgba(168, 219, 247, .18); color: #8fb0cc; }
.site-footer .social a { color: #fff; }
@media (hover: hover) and (pointer: fine) { .footer-grid a:hover { color: #fff; opacity: 1; } }

/* simple pages */
.page-hero { background: linear-gradient(180deg, var(--ice-50), #fff); }
.prose h2 { color: var(--navy); border-top-color: var(--ice); }
.prose ul li::before { background: var(--blue); }
.prose table { border-top-color: var(--blue); }
.thanks-card { border-top-color: var(--blue); }
.check-anim { border-color: var(--blue); color: var(--blue); }
.notfound .code { color: var(--blue); }

/* Hero slides: an element fading with opacity is composited on its own, so a
   multiply-blended photo would show its white backdrop until the fade ends.
   Giving each slide the hero background lets the blend happen inside the slide. */
.hero-media .slide { background: linear-gradient(160deg, #f3f9fe 0%, #e1effa 100%); }
.hero-media::before { z-index: 1; mix-blend-mode: multiply; }
.hero-media .hero-counter, .hero-media .hero-progress { z-index: 2; }

/* Ofertas (managed from /admin) */
.pcard--oferta .pcard-media { position: relative; }
.offer-tag { position: absolute; top: 12px; left: 12px; z-index: 1; background: var(--blue); color: #fff; font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; padding: 6px 10px; line-height: 1; }
.pcard--oferta .pcard-price { color: var(--navy); font-weight: 600; }
.pcard-until { display: block; font-size: 11px; letter-spacing: .06em; color: var(--ink-3); margin-top: 2px; }

/* Product photos sit on plain white (no tinted tiles) */
.hero-media, .hero-media .slide, .cat-card .media, .pcard-media, .zoom, .citem-media { background: #fff; }
.hero-media::before { display: none; }

/* Notice bar (managed from /admin) */
.notice { background: var(--ice); color: var(--navy); font-size: 13px; line-height: 1.45; }
.notice .container { padding-block: 9px; text-align: center; }
.notice p { margin: 0; }
.notice a { color: inherit; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.notice--alert { background: #c0392b; color: #fff; }

/* Offer prices (set in /admin) */
.offer-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; margin-top: 4px; font-variant-numeric: tabular-nums; }
.offer-price del { color: var(--ink-4); font-size: 13px; }
.offer-price strong { color: var(--blue); font-size: 18px; font-weight: 600; }
.offer-price small { color: var(--ink-3); font-size: 11px; letter-spacing: .04em; }
.poffer { position: relative; border: 1px solid var(--ice); background: var(--ice-50); padding: 16px 18px 14px; margin: 18px 0 0; display: grid; gap: 4px; }
.poffer .offer-tag { position: static; justify-self: start; margin-bottom: 4px; }
.poffer .offer-price strong { font-size: 26px; }
.poffer .offer-price del { font-size: 15px; }
.poffer p { margin: 0; font-size: 14px; color: var(--ink-2); }
.poffer p.until { font-size: 12px; color: var(--ink-3); }

/* Map loads on request (privacy) */
.map-placeholder { gap: 12px; padding: 20px; text-align: center; align-content: center; text-transform: none; letter-spacing: 0; font-size: 13px; }
.map-placeholder p { margin: 0; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.map-placeholder .btn svg { display: inline-block; }
.map-placeholder small { max-width: 34ch; line-height: 1.5; color: var(--ink-3); }
.map-placeholder small a { color: var(--blue); }

/* Added-to-order feedback (replaces the toast) */
.fly-to-cart { position: fixed; z-index: 9999; pointer-events: none; object-fit: contain; background: #fff; border: 1px solid var(--line); will-change: transform, opacity; }
.btn.is-added, .btn.add.is-added, .mini-add.is-added { background: var(--navy) !important; border-color: var(--navy) !important; color: #fff !important; }
.is-added svg { color: currentColor; }
[data-open-cart].cart-pulse { animation: cartPulse 520ms var(--ease-out); }
@keyframes cartPulse { 0% { transform: scale(1); } 35% { transform: scale(1.18); color: var(--blue); } 100% { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { [data-open-cart].cart-pulse { animation: none; } }

/* Basket: removed lines slide out and close up; inline undo instead of a pop-up */
.citem { overflow: hidden; }
.citem.is-removing { opacity: 0; transform: translateX(24px); }
.citem.is-collapsing { height: 0 !important; padding-block: 0; border-bottom-width: 0; transition: opacity 180ms ease, transform 220ms var(--ease-out), height 260ms var(--ease-out) 120ms, padding 260ms var(--ease-out) 120ms; }
.cundo { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line-2); font-size: 13px; color: var(--ink-3); animation: cundoIn 260ms var(--ease-out); }
.cundo span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cundo b { font-weight: 500; color: var(--ink-2); }
.cundo button { flex: none; background: none; border: 0; padding: 4px 0; color: var(--blue); font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; border-bottom: 1px solid currentColor; cursor: pointer; }
@keyframes cundoIn { from { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .cundo { animation: none; } }

/* WhatsApp chooser (two sales contacts) */
.wa-pick { position: fixed; inset: 0; z-index: 400; display: grid; place-items: center; padding: 16px; background: rgba(15, 33, 64, .45); animation: waFade .18s var(--ease-out); }
.wa-pick-box { position: relative; width: min(380px, 100%); background: #fff; border: 1px solid var(--line); padding: 26px 22px 22px; display: grid; gap: 10px; box-shadow: 0 24px 60px rgba(15, 33, 64, .25); animation: waUp .24s var(--ease-out); }
.wa-pick-t { margin: 0; font-size: 1.15rem; font-weight: 600; color: var(--ink); }
.wa-pick-s { margin: 0 0 6px; font-size: .9rem; color: #4a5a72; }
.wa-pick-x { position: absolute; top: 6px; right: 8px; width: 36px; height: 36px; border: 0; background: none; font-size: 26px; line-height: 1; color: var(--ink); cursor: pointer; }
.wa-pick .btn { justify-content: flex-start; }
@keyframes waFade { from { opacity: 0; } }
@keyframes waUp { from { opacity: 0; transform: translateY(12px); } }
@media (prefers-reduced-motion: reduce) { .wa-pick, .wa-pick-box { animation: none; } }
