/* ============================================================
   INDUSTRIAL-X — CUKTECH-style design system
   Minimal black & white, pill buttons, light-grey product tiles,
   full-bleed dark hero. Functional classes kept stable.
   ============================================================ */

:root {
  --ink: #101014;
  --body: #3c3d42;
  --muted: #8b8c92;
  --paper: #ffffff;
  --soft: #f6f6f7;
  --soft2: #eff0f2;
  --line: #e7e7ea;
  --line-strong: #d9d9de;
  --sale: #c8361e;
  --ok: #1e7a46;
  --wrap: 1280px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --shadow: 0 24px 60px rgba(16, 16, 20, 0.12);
  --shadow-sm: 0 8px 24px rgba(16, 16, 20, 0.08);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.6;
  color: var(--body);
  background: var(--paper);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { color: var(--ink); letter-spacing: -0.01em; line-height: 1.25; margin: 0 0 12px; font-weight: 600; }
p { margin: 0 0 12px; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; font-size: 14px; color: var(--ink); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 32px; }
.wrap--narrow { max-width: 860px; }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--ink); color: #fff; padding: 10px 18px; border-radius: 0 0 8px 0;
}
.skip:focus { left: 0; }

.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.icon { width: 18px; height: 18px; flex: none; }

/* ------------------------------- buttons ---------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 30px; border-radius: 999px; border: 1px solid transparent;
  font-size: 14px; font-weight: 500; letter-spacing: 0.02em; line-height: 1.2;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.15s;
  white-space: nowrap;
}
.btn:active { transform: scale(0.98); }
.btn--dark, .btn--primary { background: var(--ink); color: #fff; }
.btn--dark:hover, .btn--primary:hover { background: #2c2d33; }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: #e9e9ec; }
.btn--lightoutline { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.55); }
.btn--lightoutline:hover { border-color: #fff; background: rgba(255, 255, 255, 0.08); }
.btn--outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: #fff; }
.btn--ghost { background: transparent; color: var(--muted); }
.btn--ghost:hover { color: var(--ink); }
.btn--sm { padding: 9px 22px; font-size: 13px; }
.btn--lg { padding: 15px 38px; font-size: 15px; }
.btn--block { width: 100%; }
.btn:disabled { opacity: 0.4; cursor: not-allowed; }

.badge {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  padding: 4px 12px; border-radius: 999px; font-size: 11px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
}
.badge--sale { background: var(--sale); color: #fff; }
.badge--soft { background: var(--ink); color: #fff; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 500; color: var(--ink);
}
.link-arrow .icon { width: 15px; height: 15px; transition: transform 0.2s; }
.link-arrow:hover .icon { transform: translateX(3px); }

/* -------------------------------- header ---------------------------------- */
.header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.header__inner { display: flex; align-items: center; gap: 28px; height: 64px; }

.logo { display: inline-flex; align-items: center; flex: none; }
.logo__text { font-size: 17px; letter-spacing: 0.06em; color: var(--ink); }
.logo__text strong { font-weight: 700; }
.logo__text span { color: var(--muted); font-weight: 400; }
.logo--dark .logo__text { color: #fff; }
.logo--dark .logo__text span { color: rgba(255, 255, 255, 0.55); }

.hnav { flex: 1; min-width: 0; }
.hnav__list { display: flex; align-items: center; gap: 4px; }
.hnav__item { position: relative; }
.hnav__item > a {
  display: block; padding: 22px 12px; font-size: 13.5px; color: var(--body);
  transition: color 0.15s;
}
.hnav__item > a:hover { color: var(--ink); }

.drop {
  position: absolute; top: 100%; left: 50%; transform: translate(-50%, 8px);
  min-width: 250px; background: #fff; border-radius: 14px; box-shadow: var(--shadow);
  padding: 10px; opacity: 0; visibility: hidden; transition: opacity 0.18s, transform 0.18s, visibility 0.18s;
  z-index: 70;
}
.hnav__item:hover .drop, .hnav__item:focus-within .drop {
  opacity: 1; visibility: visible; transform: translate(-50%, 0);
}
.drop__list a {
  display: block; padding: 9px 14px; border-radius: 8px; font-size: 13.5px; color: var(--body);
}
.drop__list a:hover { background: var(--soft); color: var(--ink); }
.drop__all { font-weight: 600; color: var(--ink) !important; }

.header__actions { display: flex; align-items: center; gap: 4px; flex: none; }
.haction {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border: 0; background: transparent; color: var(--ink);
  border-radius: 999px; transition: background 0.15s;
}
.haction:hover { background: var(--soft); }
.haction__count {
  position: absolute; top: 2px; right: 0; min-width: 17px; height: 17px;
  border-radius: 999px; background: var(--ink); color: #fff;
  font-size: 10px; font-weight: 700; display: flex; align-items: center; justify-content: center;
  padding: 0 4px;
}

.hsearch { display: flex; align-items: center; }
.hsearch__input {
  width: 0; padding: 0; border: 0; border-bottom: 1.5px solid transparent;
  background: transparent; outline: none; opacity: 0;
  transition: width 0.25s, opacity 0.2s, border-color 0.2s;
  height: 34px; font-size: 13.5px;
}
.hsearch.is-open .hsearch__input {
  width: 220px; opacity: 1; border-bottom-color: var(--line-strong); margin-right: 6px;
}

.header__burger { display: none; }

/* ------------------------------ mobile drawer ----------------------------- */
.mnav {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 110;
  width: min(360px, 88vw); background: #fff; display: flex; flex-direction: column;
  transform: translateX(102%); transition: transform 0.28s; box-shadow: var(--shadow);
}
.mnav.is-open { transform: translateX(0); }
.mnav__head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 22px; border-bottom: 1px solid var(--line);
}
.mnav__head strong { color: var(--ink); }
.mnav__close { border: 0; background: none; color: var(--ink); padding: 4px; }
.mnav__body { flex: 1; overflow-y: auto; padding: 12px 22px; }
.mnav__link { display: block; padding: 13px 0; font-weight: 600; color: var(--ink); border-bottom: 1px solid var(--line); }
.mnav__group { border-bottom: 1px solid var(--line); }
.mnav__group summary {
  padding: 13px 0; font-weight: 600; color: var(--ink); cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: center;
}
.mnav__group summary::after { content: "+"; color: var(--muted); font-weight: 400; }
.mnav__group[open] summary::after { content: "−"; }
.mnav__subs { padding: 0 0 12px; }
.mnav__subs a { display: block; padding: 8px 0 8px 12px; color: var(--muted); font-size: 14px; }
.mnav__foot { padding: 16px 22px; border-top: 1px solid var(--line); }

/* --------------------------------- hero ----------------------------------- */
.hero { position: relative; height: min(86vh, 780px); min-height: 540px; background: #0b0c0e; overflow: hidden; }
.hero__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 0.9s ease; pointer-events: none; }
.hero__slide.is-active { opacity: 1; pointer-events: auto; }
.hero__bg {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.06); transition: transform 6s ease-out;
}
.hero__slide.is-active .hero__bg { transform: scale(1); }
.hero__inner {
  position: relative; z-index: 2; height: 100%;
  padding-top: clamp(70px, 13vh, 130px);
  text-align: center; color: #fff;
}
.hero__title { color: #fff; margin: 0 auto 14px; max-width: 760px; }
.hero__title strong { display: block; font-size: clamp(30px, 5vw, 58px); font-weight: 600; letter-spacing: -0.015em; }
.hero__kicker {
  display: block; margin-bottom: 16px;
  font-size: 12px; font-weight: 500; letter-spacing: 0.26em; text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}
.hero__text { max-width: 560px; margin: 0 auto 30px; font-size: 15.5px; color: rgba(255, 255, 255, 0.72); }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }

.hero__arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 5;
  width: 46px; height: 46px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.06); color: #fff;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s, border-color 0.2s;
}
.hero__arrow:hover { background: rgba(255, 255, 255, 0.16); border-color: rgba(255, 255, 255, 0.6); }
.hero__arrow--prev { left: 26px; }
.hero__arrow--prev .icon { transform: scaleX(-1); }
.hero__arrow--next { right: 26px; }

.hero__dots {
  position: absolute; left: 0; right: 0; bottom: 26px; z-index: 5;
  display: flex; justify-content: center; gap: 10px;
}
.hero__dot {
  width: 34px; height: 3px; border: 0; border-radius: 2px; padding: 0;
  background: rgba(255, 255, 255, 0.28); transition: background 0.25s;
}
.hero__dot.is-active { background: #fff; }

/* ------------------------------- usp strip -------------------------------- */
.uspstrip { border-bottom: 1px solid var(--line); background: #fff; }
.uspstrip__inner {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding-top: 22px; padding-bottom: 22px;
}
.usp { display: flex; align-items: center; gap: 13px; }
.usp__icon { color: var(--ink); display: flex; }
.usp strong { display: block; font-size: 13.5px; font-weight: 600; color: var(--ink); }
.usp small { font-size: 12.5px; color: var(--muted); }

/* -------------------------------- sections -------------------------------- */
.section { padding: 72px 0; }
.section--flush { padding-top: 72px; padding-bottom: 0; }
.section--tight { padding: 40px 0; }
.section--soft { background: var(--soft); }
.section__head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 34px;
}
.section__title { font-size: clamp(24px, 3vw, 32px); margin: 0 0 8px; }
.section__sub { color: var(--muted); font-size: 14.5px; margin: 0; }

/* --------------------------------- series --------------------------------- */
.series { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.series--grid { grid-template-columns: repeat(4, 1fr); margin-top: 24px; }
.series__card {
  position: relative; display: block; overflow: hidden; border-radius: 4px;
  aspect-ratio: 1200 / 760; background: #101115;
}
.series__card--sm { aspect-ratio: 600 / 620; }
.series__card img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.7s ease;
}
.series__card:hover img { transform: scale(1.04); }
.series__copy {
  position: absolute; inset: 0; z-index: 2;
  display: flex; flex-direction: column; align-items: flex-start; justify-content: center;
  text-align: left; padding: 24px 24px 24px clamp(24px, 7%, 84px); color: #fff;
  background: linear-gradient(100deg, rgba(0, 0, 0, 0.42) 8%, rgba(0, 0, 0, 0.08) 62%, rgba(0, 0, 0, 0) 100%);
}
.series__card--sm .series__copy { padding-left: 26px; }
.series__copy small {
  font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62); margin-bottom: 8px;
}
.series__copy strong { font-size: clamp(18px, 2vw, 24px); font-weight: 600; margin-bottom: 20px; }
.series__card--sm .series__copy strong { font-size: 16px; margin-bottom: 14px; }
.series__card--sm .series__copy .btn { padding: 8px 20px; font-size: 12.5px; }

/* ------------------------------- product grid ------------------------------ */
.pgrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.pgrid--3 { grid-template-columns: repeat(3, 1fr); }
.pgrid--feature { grid-template-columns: repeat(3, 1fr); }

.pcard { display: flex; flex-direction: column; }
.pcard__media {
  position: relative; display: block; overflow: hidden; border-radius: 4px;
  background: var(--soft); aspect-ratio: 1;
}
.pcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.pcard:hover .pcard__media img { transform: scale(1.05); }
.pcard__body { padding: 22px 8px 0; text-align: center; display: flex; flex-direction: column; align-items: center; flex: 1; }
.pcard__brand {
  font-size: 11px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 7px;
}
.pcard__name { font-size: 16.5px; font-weight: 600; margin: 0 0 8px; }
.pcard__name a:hover { text-decoration: underline; text-underline-offset: 3px; }
.pcard__price { display: flex; align-items: baseline; gap: 8px; margin-bottom: 16px; flex-wrap: wrap; justify-content: center; }
.pcard__price strong { font-size: 17px; color: var(--ink); font-weight: 600; }
.pcard__price s { color: var(--muted); font-size: 13.5px; }
.pcard__price small { color: var(--muted); font-size: 11.5px; }
.pcard__add { margin-top: auto; }

/* rating & stock (used on PDP and cart) */
.rating { display: inline-flex; align-items: center; gap: 2px; }
.rating__star { color: var(--line-strong); display: flex; }
.rating__star .icon { width: 14px; height: 14px; }
.rating__star.is-on { color: var(--ink); }
.rating__count { color: var(--muted); font-size: 12.5px; margin-left: 4px; }
.stock { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; color: var(--ok); }
.stock__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); }
.stock--low { color: #b0700f; }
.stock--low .stock__dot { background: #b0700f; }
.stock--out { color: var(--muted); }
.stock--out .stock__dot { background: var(--line-strong); }

/* ------------------------------ pills & brands ----------------------------- */
.pillrow { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 20px; border: 1px solid var(--line-strong); border-radius: 999px;
  font-size: 13px; color: var(--body); transition: border-color 0.15s, color 0.15s, background 0.15s;
}
.pill:hover { border-color: var(--ink); color: var(--ink); }
.pill em { font-style: normal; font-size: 11px; color: var(--muted); }

.brandstrip { overflow: hidden; padding: 26px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.brandstrip__track {
  display: flex; align-items: center; gap: 72px; width: max-content;
  animation: marquee 32s linear infinite;
}
.brandstrip__track img { opacity: 0.65; transition: opacity 0.2s; }
.brandstrip__track img:hover { opacity: 1; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.brandgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.brandcard {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  padding: 26px 16px; border: 1px solid var(--line); border-radius: 4px; text-align: center;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.brandcard:hover { border-color: var(--ink); box-shadow: var(--shadow-sm); }
.brandcard span { font-size: 12.5px; color: var(--muted); }

/* ------------------------------- newsletter -------------------------------- */
.news { background: var(--soft); padding: 64px 0; }
.news__inner { max-width: 620px; text-align: center; margin: 0 auto; }
.news__inner h2 { font-size: clamp(22px, 3vw, 30px); }
.news__inner > p { color: var(--muted); margin-bottom: 26px; }
.news__row { display: flex; gap: 10px; max-width: 480px; margin: 0 auto; }
.news__row input {
  flex: 1; height: 48px; padding: 0 20px; border: 1.5px solid var(--line-strong);
  border-radius: 999px; background: #fff; outline: none;
}
.news__row input:focus { border-color: var(--ink); }
.news__msg { margin-top: 14px; font-size: 13.5px; min-height: 20px; }
.news__msg.is-ok { color: var(--ok); }
.news__msg.is-err { color: var(--sale); }

/* -------------------------------- offers ----------------------------------- */
.offers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.offers--grid { grid-template-columns: repeat(3, 1fr); }
.offer { display: flex; flex-direction: column; border-radius: 4px; overflow: hidden; background: var(--soft); }
.offer__media { position: relative; display: block; aspect-ratio: 480 / 300; overflow: hidden; }
.offer__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s; }
.offer:hover .offer__media img { transform: scale(1.04); }
.offer__badge {
  position: absolute; top: 14px; left: 14px; padding: 4px 12px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.92); color: var(--ink); font-size: 11px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
}
.offer__body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 5px; align-items: flex-start; }
.offer__body strong { color: var(--ink); font-size: 15.5px; }
.offer__body small { color: var(--muted); }

/* --------------------------- breadcrumbs & heads --------------------------- */
.crumbs { padding: 22px 0 4px; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; font-size: 12.5px; color: var(--muted); }
.crumbs li:not(:last-child)::after { content: "/"; margin-left: 6px; color: var(--line-strong); }
.crumbs a:hover { color: var(--ink); }
.crumbs [aria-current] { color: var(--ink); }

.pagehead { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; padding: 26px 0 30px; }
.pagehead h1 { font-size: clamp(26px, 3.4vw, 38px); margin-bottom: 8px; }
.pagehead p { color: var(--muted); margin: 0; max-width: 620px; }
.pagehead__subs { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; max-width: 480px; }
.pagehead__subs a {
  padding: 7px 16px; border: 1px solid var(--line-strong); border-radius: 999px;
  font-size: 12.5px; color: var(--body); transition: all 0.15s;
}
.pagehead__subs a:hover { border-color: var(--ink); color: var(--ink); }
.pagehead__subs a.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.pagehead--brand { align-items: center; }
.pagehead__logo { flex: none; }

/* --------------------------------- listing --------------------------------- */
.listing { display: grid; grid-template-columns: 250px 1fr; gap: 44px; align-items: start; padding-bottom: 60px; }

.filters { position: sticky; top: 88px; }
.filters__head {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 12px; margin-bottom: 6px; border-bottom: 1px solid var(--line);
  color: var(--ink);
}
.filters__head a { font-size: 12.5px; color: var(--muted); }
.filters__head a:hover { color: var(--ink); }
.filters__group { border: 0; padding: 14px 0; margin: 0; border-bottom: 1px solid var(--line); }
.filters__group legend {
  font-size: 11.5px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--muted); padding: 0; margin-bottom: 10px;
}
.check { display: flex; align-items: center; gap: 9px; padding: 5px 0; font-size: 13.5px; cursor: pointer; }
.check input { accent-color: var(--ink); width: 15px; height: 15px; }
.check em { font-style: normal; color: var(--muted); font-size: 12px; margin-left: auto; }
.filters__range { display: flex; align-items: center; gap: 8px; }
.filters__range input {
  width: 100%; height: 38px; padding: 0 12px; border: 1px solid var(--line-strong);
  border-radius: 8px; outline: none;
}
.filters__range input:focus { border-color: var(--ink); }
.filters .btn { margin-top: 18px; }

.toolbar { display: flex; align-items: center; gap: 18px; padding-bottom: 20px; margin-bottom: 24px; border-bottom: 1px solid var(--line); }
.toolbar__count { margin: 0; font-size: 13.5px; color: var(--muted); flex: 1; }
.toolbar__count strong { color: var(--ink); }
.toolbar__sort { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.toolbar__sort select {
  height: 38px; padding: 0 12px; border: 1px solid var(--line-strong); border-radius: 999px;
  background: #fff; outline: none; font-size: 13px;
}
.toolbar__filter {
  display: none; align-items: center; gap: 7px; height: 38px; padding: 0 18px;
  border: 1px solid var(--line-strong); border-radius: 999px; background: #fff; font-size: 13px;
}
.toolbar__search {
  display: flex; align-items: center; gap: 10px; flex: 1;
  border-bottom: 1.5px solid var(--line-strong); padding: 6px 2px; color: var(--muted);
}
.toolbar__search input { flex: 1; border: 0; outline: none; background: none; height: 30px; }

.pager { display: flex; align-items: center; justify-content: center; gap: 18px; padding: 40px 0 10px; }
.pager__list { display: flex; gap: 6px; }
.pager__num, .pager__step {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 38px; height: 38px; padding: 0 14px; border-radius: 999px;
  font-size: 13.5px; color: var(--body); transition: all 0.15s;
}
.pager__num:hover { background: var(--soft); color: var(--ink); }
.pager__num.is-active { background: var(--ink); color: #fff; }
.pager__step.is-off { opacity: 0.35; }
.pager__gap { color: var(--muted); padding: 0 4px; }

/* --------------------------------- PDP ------------------------------------- */
.pdp { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: start; padding-bottom: 26px; }
.pdp__gallery { position: sticky; top: 96px; }
.pdp__main { position: relative; border-radius: 4px; overflow: hidden; background: var(--soft); aspect-ratio: 1; }
.pdp__main img { width: 100%; height: 100%; object-fit: cover; }
.pdp__badge { top: 18px; left: 18px; }
.pdp__thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 10px; }
.pdp__thumb {
  border: 1.5px solid var(--line); border-radius: 4px; background: var(--soft);
  padding: 0; overflow: hidden; aspect-ratio: 1;
}
.pdp__thumb img { width: 100%; height: 100%; object-fit: cover; }
.pdp__thumb.is-active { border-color: var(--ink); }

.pdp__brand {
  display: inline-block; font-size: 11.5px; font-weight: 600; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 10px;
}
.pdp__brand:hover { color: var(--ink); }
.pdp__title { font-size: clamp(24px, 3vw, 34px); margin-bottom: 14px; }
.pdp__meta { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; font-size: 13px; color: var(--muted); margin-bottom: 24px; }
.pdp__avail.is-in { color: var(--ok); }
.pdp__avail.is-out { color: var(--muted); }
.pdp__pricebox { padding: 20px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 24px; }
.pdp__price { display: flex; align-items: baseline; gap: 12px; }
.pdp__price strong { font-size: 30px; font-weight: 600; color: var(--ink); letter-spacing: -0.01em; }
.pdp__price s { color: var(--muted); font-size: 16px; }
.pdp__save { font-size: 12.5px; color: var(--sale); font-weight: 600; }
.pdp__vat { font-size: 12.5px; color: var(--muted); margin: 6px 0 0; }
.pdp__vat a { text-decoration: underline; text-underline-offset: 3px; }
.pdp__buy { display: flex; gap: 12px; margin-bottom: 14px; }
.pdp__buy .btn { flex: 1; }
.pdp__facts { margin-top: 26px; display: grid; gap: 14px; }
.pdp__facts li { display: flex; gap: 13px; align-items: flex-start; }
.pdp__facts .icon { margin-top: 2px; color: var(--ink); }
.pdp__facts strong { display: block; font-size: 13.5px; color: var(--ink); }
.pdp__facts small { font-size: 12.5px; color: var(--muted); }

.qty { display: inline-flex; align-items: center; border: 1px solid var(--line-strong); border-radius: 999px; overflow: hidden; }
.qty button {
  width: 40px; height: 46px; border: 0; background: none; font-size: 17px; color: var(--ink);
}
.qty button:hover { background: var(--soft); }
.qty input {
  width: 44px; height: 46px; border: 0; text-align: center; outline: none;
  -moz-appearance: textfield; appearance: textfield;
}
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; }

.tabs { margin: 40px 0 60px; }
.tabs__nav { display: flex; gap: 26px; border-bottom: 1px solid var(--line); margin-bottom: 24px; }
.tabs__btn {
  padding: 14px 2px; border: 0; background: none; font-size: 14px; color: var(--muted);
  border-bottom: 2px solid transparent; margin-bottom: -1px;
}
.tabs__btn.is-active { color: var(--ink); border-bottom-color: var(--ink); font-weight: 600; }
.tabs__panel { display: none; max-width: 860px; }
.tabs__panel.is-active { display: block; }

.specs { width: 100%; border-collapse: collapse; font-size: 14px; }
.specs th, .specs td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.specs th { font-weight: 500; color: var(--muted); width: 38%; }
.specs td { color: var(--ink); }

.ticks { display: grid; gap: 11px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; }
.ticks .icon { margin-top: 3px; color: var(--ink); width: 16px; height: 16px; }

/* ------------------------------ cart & forms ------------------------------- */
.cartpage { display: grid; grid-template-columns: 1fr 380px; gap: 44px; align-items: start; padding-bottom: 60px; }
.cartline {
  display: grid; grid-template-columns: 88px 1fr auto; gap: 18px; align-items: center;
  padding: 18px 0; border-bottom: 1px solid var(--line);
}
.cartline__img { display: block; border-radius: 4px; overflow: hidden; background: var(--soft); }
.cartline__brand { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.cartline__name { display: block; font-weight: 600; color: var(--ink); margin: 3px 0; }
.cartline__name:hover { text-decoration: underline; text-underline-offset: 3px; }
.cartline__sku { font-size: 12.5px; color: var(--muted); }
.cartline__side { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.cartline__price { font-weight: 600; color: var(--ink); }
.cartline__actions { display: flex; align-items: center; gap: 12px; }
.cartline__actions .qty button { height: 36px; width: 32px; }
.cartline__actions .qty input { height: 36px; width: 40px; }
.cartline__remove { border: 0; background: none; color: var(--muted); padding: 6px; }
.cartline__remove:hover { color: var(--sale); }

.panel { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 28px; }
.panel__title { font-size: 18px; margin-bottom: 18px; }
.cartpage__row { display: flex; justify-content: space-between; font-size: 14px; padding: 7px 0; color: var(--muted); }
.cartpage__row strong { color: var(--ink); }
.cartpage__row--total { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 14px; font-size: 15px; }
.cartpage__row--total strong { font-size: 19px; }

.inquiry { margin-top: 22px; display: grid; gap: 13px; }
.inquiry h3 { font-size: 15.5px; margin: 8px 0 0; }
.inquiry label { display: grid; gap: 6px; font-size: 13px; color: var(--muted); }
.inquiry input, .inquiry textarea {
  height: 44px; padding: 0 14px; border: 1px solid var(--line-strong); border-radius: 8px;
  outline: none; background: #fff; resize: vertical;
}
.inquiry textarea { height: auto; padding: 11px 14px; min-height: 74px; }
.inquiry input:focus, .inquiry textarea:focus { border-color: var(--ink); }
.inquiry__hint { font-size: 12.5px; color: var(--muted); margin: 0; }
.inquiry__msg { font-size: 13px; margin: 2px 0 0; min-height: 18px; }
.inquiry__msg.is-ok { color: var(--ok); }
.inquiry__msg.is-err { color: var(--sale); }
.inquiry__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }

.twocol { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 40px; align-items: start; padding-bottom: 60px; }
.contactcard__list { display: grid; gap: 18px; }
.contactcard__list li { display: flex; gap: 13px; }
.contactcard__list .icon { margin-top: 3px; color: var(--ink); }
.contactcard__list strong { display: block; color: var(--ink); font-size: 14px; }
.contactcard__list small { color: var(--muted); font-size: 12.5px; }

/* ------------------------------- cart drawer ------------------------------- */
.cart {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 120;
  width: min(420px, 92vw); background: #fff; display: flex; flex-direction: column;
  transform: translateX(102%); transition: transform 0.28s; box-shadow: var(--shadow);
}
.cart.is-open { transform: translateX(0); }
.cart__head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px; border-bottom: 1px solid var(--line); color: var(--ink);
}
.cart__close { border: 0; background: none; color: var(--ink); padding: 4px; }
.cart__body { flex: 1; overflow-y: auto; padding: 6px 24px; }
.cart__line { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center; padding: 13px 0; border-bottom: 1px solid var(--line); }
.cart__line img { border-radius: 4px; background: var(--soft); }
.cart__line strong { display: block; font-size: 13px; color: var(--ink); line-height: 1.35; }
.cart__line small { color: var(--muted); font-size: 12px; }
.cart__line button { border: 0; background: none; color: var(--muted); padding: 4px; }
.cart__line button:hover { color: var(--sale); }
.cart__empty { padding: 40px 0; text-align: center; color: var(--muted); }
.cart__foot { padding: 18px 24px 22px; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.cart__sum { display: flex; justify-content: space-between; align-items: baseline; }
.cart__sum strong { font-size: 19px; color: var(--ink); }
.cart__hint { font-size: 12px; color: var(--muted); margin: 0; }

.scrim {
  position: fixed; inset: 0; z-index: 100; background: rgba(12, 12, 16, 0.45);
  opacity: 0; visibility: hidden; transition: opacity 0.25s, visibility 0.25s;
}
.scrim.is-open { opacity: 1; visibility: visible; }

.toast {
  position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 20px); z-index: 130;
  display: flex; align-items: center; gap: 10px;
  background: var(--ink); color: #fff; padding: 13px 22px; border-radius: 999px;
  font-size: 13.5px; opacity: 0; visibility: hidden; transition: all 0.25s; box-shadow: var(--shadow);
}
.toast.is-open { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.toast .icon { width: 16px; height: 16px; }

/* ------------------------------ static pages ------------------------------- */
.prose { max-width: 760px; padding-bottom: 26px; }
.prose section { margin-bottom: 34px; }
.prose h2 { font-size: 20px; margin-bottom: 10px; }
.prose p { color: var(--body); }

.softcta {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  background: var(--soft); border-radius: 10px; padding: 30px 34px; margin: 20px 0 70px;
}
.softcta strong { display: block; color: var(--ink); font-size: 16px; }
.softcta span { color: var(--muted); font-size: 13.5px; }

.empty { text-align: center; padding: 70px 0; }
.empty h2 { font-size: 22px; }
.empty p { color: var(--muted); }
.empty--404 { padding: 110px 0; }
.empty__code { display: block; font-size: 15px; letter-spacing: 0.3em; color: var(--muted); margin-bottom: 14px; }
.empty__actions { display: flex; gap: 12px; justify-content: center; margin-top: 24px; }

/* --------------------------------- footer ---------------------------------- */
.footer { background: #0f1013; color: #a3a5ab; margin-top: 40px; }
.footer a:hover { color: #fff; }
.footer__grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr; gap: 40px;
  padding-top: 64px; padding-bottom: 48px;
}
.footer__brand .logo { margin-bottom: 16px; }
.footer__claim { font-size: 13.5px; line-height: 1.65; margin-bottom: 20px; max-width: 300px; }
.footer__contact { display: grid; gap: 9px; font-size: 13px; }
.footer__contact li { display: flex; gap: 9px; align-items: flex-start; }
.footer__contact .icon { width: 15px; height: 15px; margin-top: 3px; color: #6d6f76; }
.footer__col h3 {
  color: #fff; font-size: 12px; font-weight: 600; letter-spacing: 0.16em;
  text-transform: uppercase; margin-bottom: 16px;
}
.footer__col ul { display: grid; gap: 9px; }
.footer__col a { font-size: 13.5px; }
.footer__bottom { border-top: 1px solid rgba(255, 255, 255, 0.08); }
.footer__bottom-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding-top: 20px; padding-bottom: 20px; font-size: 12.5px; color: #6d6f76;
}
.footer__note { margin: 0; }

/* ------------------------------- categories page --------------------------- */
.catgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.catgrid--wide { grid-template-columns: repeat(2, 1fr); gap: 28px; padding-bottom: 60px; }
.catblock { border: 1px solid var(--line); border-radius: 8px; padding: 20px; }
.catblock__head { display: flex; align-items: center; gap: 16px; margin-bottom: 12px; }
.catblock__head img { width: 96px; border-radius: 4px; background: var(--soft); }
.catblock__head strong { display: block; color: var(--ink); }
.catblock__head small { color: var(--muted); }
.catblock__list { display: grid; gap: 7px; }
.catblock__list a { font-size: 13.5px; color: var(--muted); }
.catblock__list a:hover { color: var(--ink); }

/* -------------------------------- responsive ------------------------------- */
@media (max-width: 1100px) {
  .hnav__item > a { padding: 22px 8px; font-size: 13px; }
  .pgrid--feature, .pgrid--3 { grid-template-columns: repeat(2, 1fr); }
  .series--grid { grid-template-columns: repeat(2, 1fr); }
  .offers, .offers--grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr 1fr; }
}

@media (max-width: 960px) {
  .hnav { display: none; }
  .header__burger { display: inline-flex; align-items: center; justify-content: center;
    width: 40px; height: 40px; border: 0; background: none; color: var(--ink); border-radius: 999px; }
  .header__inner { gap: 10px; }
  .logo { margin-right: auto; }
  .listing { grid-template-columns: 1fr; }
  .filters {
    position: fixed; top: 0; left: 0; bottom: 0; z-index: 110; width: min(340px, 86vw);
    background: #fff; padding: 24px; overflow-y: auto; transform: translateX(-102%);
    transition: transform 0.28s;
  }
  .filters.is-open { transform: translateX(0); }
  .toolbar__filter { display: inline-flex; }
  .pdp { grid-template-columns: 1fr; gap: 30px; }
  .pdp__gallery { position: static; }
  .cartpage { grid-template-columns: 1fr; }
  .twocol { grid-template-columns: 1fr; }
  .uspstrip__inner { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .wrap { padding: 0 18px; }
  .hero { min-height: 480px; height: 72vh; }
  .hero__arrow { display: none; }
  .pgrid, .pgrid--3, .pgrid--feature, .series, .series--grid,
  .offers, .offers--grid, .catgrid, .catgrid--wide, .brandgrid { grid-template-columns: 1fr; }
  .series__card--sm { aspect-ratio: 1200 / 760; }
  .uspstrip__inner { grid-template-columns: 1fr; gap: 14px; }
  .section { padding: 48px 0; }
  .section--flush { padding-top: 48px; }
  .pagehead { flex-direction: column; align-items: flex-start; }
  .pagehead__subs { justify-content: flex-start; }
  .news__row { flex-direction: column; }
  .softcta { flex-direction: column; text-align: center; }
  .inquiry__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .footer__bottom-inner { flex-direction: column; text-align: center; }
  .hsearch.is-open .hsearch__input { width: 130px; }
  .haction--hide-sm { display: none; }
  .cartline { grid-template-columns: 64px 1fr; }
  .cartline__side { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; align-items: center; }
}
