/* HAIX-KZ — Premium storefront. Inspired by haix.de. */

:root {
  /* HAIX brand palette (взято с haix.de) */
  --c-blue:       #0042a0;
  --c-blue-dark:  #002b55;
  --c-blue-deep:  #031830;
  --c-red:        #ff0000;
  --c-red-dark:   #c80000;

  --c-ink:        #031830;
  --c-ink-2:      #0c2042;
  --c-graphite:   #1c3261;
  --c-text:       #031830;
  --c-text-soft:  #5f7285;
  --c-mute:       #9d9d9d;
  --c-line:       #ebebeb;
  --c-line-2:     #f3f4ef;
  --c-bg:         #ffffff;
  --c-bg-soft:    #f9f9f9;
  --c-bg-cream:   #fafbfc;
  --c-bg-dark:    #031830;

  --shadow-sm:    0 1px 2px rgba(15,17,21,.04), 0 1px 1px rgba(15,17,21,.03);
  --shadow:       0 6px 20px -8px rgba(15,17,21,.18), 0 2px 6px rgba(15,17,21,.06);
  --shadow-lg:    0 18px 50px -20px rgba(15,17,21,.35), 0 6px 16px rgba(15,17,21,.08);

  --radius-sm:    8px;
  --radius:       14px;
  --radius-lg:    22px;

  --container:    1320px;

  --t-fast:       .15s ease;
  --t-base:       .25s cubic-bezier(.2,.7,.3,1);
}

*,*::before,*::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 15px;
  line-height: 1.55;
  color: var(--c-text);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--t-fast); }
a:hover { color: var(--c-blue); }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* ============ TOPBAR ============ */
.topbar {
  background: var(--c-ink);
  color: #cfd3da;
  font-size: 12.5px;
  letter-spacing: .02em;
}
.topbar__inner {
  display: flex; justify-content: space-between; align-items: center;
  min-height: 38px; gap: 24px;
}
.topbar a { color: #fff; }
.topbar__left { display: flex; gap: 22px; align-items: center; }
.topbar__left svg { width: 14px; height: 14px; opacity: .8; }
.topbar__right { display: flex; gap: 18px; align-items: center; }
.topbar__right strong { color: #fff; font-weight: 600; }

/* ============ HEADER ============ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: #fff;
  border-bottom: 1px solid var(--c-line);
  box-shadow: 0 1px 0 rgba(15,17,21,.04);
  transition: box-shadow var(--t-base);
}
.site-header.is-scrolled { box-shadow: var(--shadow); }
.header__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 36px;
  min-height: 84px;
  padding-top: 5px;
}
.logo {
  display: flex; align-items: center; gap: 12px;
  font-weight: 900; letter-spacing: .02em;
}
.logo__img {
  height: 42px; width: auto; display: block;
}
.logo__sub {
  color: var(--c-ink); font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .18em;
  padding-left: 12px; border-left: 2px solid var(--c-line);
  line-height: 1;
}

.search {
  position: relative; display: flex; align-items: center;
  background: var(--c-bg-soft); border-radius: 999px;
  border: 1px solid transparent;
  transition: border-color var(--t-fast), background var(--t-fast);
  max-width: 560px; width: 100%;
  margin: 0 auto;
}
.search:focus-within { background: #fff; border-color: var(--c-ink); }
.search input {
  flex: 1; min-width: 0;
  background: transparent; border: 0; outline: none;
  padding: 14px 18px 14px 46px;
  font-size: 14.5px; color: var(--c-ink);
  font-family: inherit;
}
.search::before {
  content: ""; position: absolute; left: 16px; top: 50%; transform: translateY(-50%);
  width: 18px; height: 18px;
  background: no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235a6170' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'/%3E%3C/svg%3E");
}
.search button {
  background: var(--c-blue); color: #fff; border: 0;
  padding: 11px 22px; font-weight: 700; font-size: 13px; letter-spacing: .04em;
  text-transform: uppercase; cursor: pointer;
  border-radius: 999px; margin: 4px;
  transition: background var(--t-fast);
}
.search button:hover { background: var(--c-red-dark); }

.header__actions { display: flex; gap: 8px; align-items: center; }
.icon-btn {
  position: relative;
  display: flex; align-items: center; gap: 8px;
  padding: 10px 14px; border-radius: 12px;
  font-size: 13.5px; font-weight: 700; color: var(--c-ink);
  background: var(--c-bg-soft);
  transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast);
  border: 1px solid transparent;
  white-space: nowrap;
}
.icon-btn svg { width: 20px; height: 20px; }
.icon-btn__count {
  position: absolute; top: -6px; right: -6px;
  background: var(--c-red); color: #fff;
  min-width: 20px; height: 20px;
  border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 800; padding: 0 5px;
  border: 2px solid #fff;
}
.icon-btn--cart { background: rgba(0,66,160,.08); color: var(--c-blue); border-color: rgba(0,66,160,.18); }
.icon-btn--cart:hover { background: var(--c-blue); color: #fff; border-color: var(--c-blue); }

/* ============ NAV / MEGA-MENU ============ */
.nav {
  background: #fff;
  border-bottom: 1px solid var(--c-line);
  position: relative;
}
.nav__inner {
  display: flex; gap: 0; align-items: stretch;
}
.nav__item {
  position: static;
}
.nav__link {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 16px 20px;
  font-size: 14px; font-weight: 700; letter-spacing: .04em;
  text-transform: uppercase; color: var(--c-ink);
  border-bottom: 3px solid transparent;
  transition: color var(--t-fast), border-color var(--t-fast);
}
.nav__link:hover, .nav__link.is-active { color: var(--c-blue); border-bottom-color: var(--c-blue); }
.nav__link--accent { color: var(--c-blue); }
.nav__link svg { width: 12px; height: 12px; opacity: .6; transition: transform var(--t-fast); }
.nav__item:hover .nav__link svg { transform: rotate(180deg); }

.megamenu {
  position: absolute; top: 100%; left: 0; right: 0;
  background: #fff;
  border-top: 1px solid var(--c-line);
  box-shadow: var(--shadow-lg);
  padding: 28px 0;
  opacity: 0; pointer-events: none;
  transform: translateY(-8px);
  transition: opacity var(--t-base), transform var(--t-base);
  z-index: 60;
}
.nav__item:hover .megamenu, .nav__item:focus-within .megamenu {
  opacity: 1; pointer-events: auto; transform: translateY(0);
}
.megamenu__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr) 1.4fr;
  gap: 28px;
  max-width: var(--container);
  margin: 0 auto; padding: 0 24px;
}
.megamenu__col h4 {
  font-size: 11px; text-transform: uppercase; letter-spacing: .12em;
  color: var(--c-mute); margin: 0 0 14px;
  font-weight: 700;
}
.megamenu__col a {
  display: block; padding: 7px 0;
  font-size: 14.5px; font-weight: 500; color: var(--c-ink);
  transition: color var(--t-fast), padding-left var(--t-fast);
}
.megamenu__col a:hover { color: var(--c-blue); padding-left: 4px; }
.megamenu__feature {
  background: var(--c-ink); color: #fff;
  border-radius: var(--radius); padding: 20px;
  display: flex; flex-direction: column; justify-content: space-between;
  min-height: 200px;
  background-size: cover; background-position: center;
  position: relative; overflow: hidden;
}
.megamenu__feature::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(15,17,21,0) 30%, rgba(15,17,21,.85));
}
.megamenu__feature > * { position: relative; z-index: 1; }
.megamenu__feature small { font-size: 11px; text-transform: uppercase; letter-spacing: .12em; color: #ff7a7e; font-weight: 700; }
.megamenu__feature strong { font-size: 22px; font-weight: 800; line-height: 1.2; max-width: 220px; }

/* ============ FLASH ============ */
.flash {
  margin: 16px 0;
  padding: 14px 18px;
  border-radius: var(--radius);
  font-size: 14px;
  border: 1px solid;
}
.flash--info    { background: #eef5ff; border-color: #cfe0ff; color: #1846a8; }
.flash--success { background: #ebf9ee; border-color: #c8e6cd; color: #1b5e20; }
.flash--warning { background: #fff8e6; border-color: #ffe1a0; color: #8a5a00; }
.flash--danger  { background: #fdecec; border-color: #f6c8c8; color: #b71c1c; }

/* ============ HERO ============ */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1200px 600px at 20% 0%, #0a2557 0%, #031830 60%),
    #031830;
  color: #fff;
  border-bottom: 4px solid var(--c-red);
}
.hero--photo { background: none; }
.hero__bg {
  position: absolute; inset: 0; z-index: 0;
}
.hero__bg img {
  width: 100%; height: 100%; object-fit: cover; object-position: center top;
}
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(3,24,48,.92) 0%, rgba(3,24,48,.7) 50%, rgba(3,24,48,.3) 100%);
}
.hero--photo .hero__inner { position: relative; z-index: 1; }
.hero__inner {
  display: grid; grid-template-columns: 1fr;
  gap: 60px; align-items: center;
  padding: 80px 24px 90px;
  max-width: 700px;
}
.hero__pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 999px;
  background: rgba(255,0,0,.16); color: #ff8e92;
  font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  border: 1px solid rgba(255,0,0,.4);
}
.hero h1 {
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.04;
  margin: 22px 0 18px;
  font-weight: 900; letter-spacing: -.015em;
}
.hero__lead {
  font-size: 17px; line-height: 1.6;
  color: #c9cfdb; max-width: 520px; margin: 0 0 32px;
}
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 38px; }
.hero__features {
  display: flex; gap: 22px; flex-wrap: wrap;
  font-size: 13px; color: #a7adb9;
}
.hero__features span {
  display: inline-flex; align-items: center; gap: 8px;
}
.hero__features svg { width: 18px; height: 18px; color: var(--c-blue); }

/* hero__art removed — using photo-based hero */

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 22px; border: 0; border-radius: 999px;
  font-family: inherit; font-size: 14px; font-weight: 700;
  letter-spacing: .04em; text-transform: uppercase;
  cursor: pointer;
  transition: background var(--t-fast), color var(--t-fast), transform var(--t-fast), box-shadow var(--t-fast);
  white-space: nowrap;
}
.btn--primary { background: var(--c-red); color: #fff; box-shadow: 0 6px 16px -6px rgba(255,0,0,.5); }
.btn--primary:hover { background: var(--c-red-dark); color: #fff; transform: translateY(-1px); box-shadow: 0 10px 24px -8px rgba(255,0,0,.6); }
.btn--dark    { background: var(--c-ink); color: #fff; }
.btn--dark:hover { background: var(--c-graphite); color: #fff; transform: translateY(-1px); }
.btn--ghost   { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.4); padding: 11px 20px; }
.btn--ghost:hover { border-color: #fff; background: #fff; color: var(--c-ink); }
.btn--outline { background: #fff; color: var(--c-ink); border: 1.5px solid var(--c-line); padding: 11.5px 20.5px; }
.btn--outline:hover { background: var(--c-ink); color: #fff; border-color: var(--c-ink); }
.btn--lg { padding: 16px 28px; font-size: 14px; }
.btn--sm { padding: 8px 14px; font-size: 12px; }
.btn--full { width: 100%; }

/* ============ TRUST STRIP ============ */
.trust {
  background: var(--c-bg-soft);
  border-bottom: 1px solid var(--c-line);
}
.trust__grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
}
.trust__item {
  display: flex; align-items: center; gap: 14px;
  padding: 22px 18px;
  border-right: 1px solid var(--c-line);
}
.trust__item:last-child { border-right: 0; }
.trust__icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: #fff; border: 1px solid var(--c-line);
  display: flex; align-items: center; justify-content: center;
  color: var(--c-blue); flex-shrink: 0;
}
.trust__icon svg { width: 22px; height: 22px; }
.trust__title { font-size: 14px; font-weight: 700; line-height: 1.2; }
.trust__sub { font-size: 12.5px; color: var(--c-text-soft); margin-top: 2px; }

/* ============ SECTION ============ */
.section { padding: 80px 0; }
.section--soft { background: var(--c-bg-soft); }
.section--dark { background: var(--c-ink); color: #fff; }
.section--dark .section__title { color: #fff; }
.section--dark .section__subtitle { color: #b7bdc9; }
.section--tight { padding: 50px 0; }

.section__head {
  display: flex; align-items: flex-end; justify-content: space-between;
  margin-bottom: 36px; gap: 24px; flex-wrap: wrap;
}
.section__title {
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 900; letter-spacing: -.01em; margin: 0;
  position: relative; padding-left: 18px;
}
.section__title::before {
  content: ""; position: absolute; left: 0; top: 12%; bottom: 12%;
  width: 5px; border-radius: 4px;
  background: var(--c-blue);
}
.section__subtitle {
  font-size: 15.5px; color: var(--c-text-soft); margin: 8px 0 0 18px;
  max-width: 600px;
}

/* ============ PRODUCT GRID + CARD ============ */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(220px, 100%), 1fr));
  gap: 22px;
}
.product-card {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform var(--t-base), box-shadow var(--t-base), border-color var(--t-base);
  position: relative;
}
.product-card:hover {
  transform: translateY(-4px);
  border-color: transparent;
  box-shadow: var(--shadow-lg);
}
.product-card__media {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  background: var(--c-bg-soft);
  overflow: hidden;
}
.product-card__img {
  width: 100%; height: 100%; object-fit: contain;
  padding: 16px;
  transition: transform .5s ease, opacity .4s ease;
}
.product-card__img--hover {
  position: absolute; top: 0; left: 0;
  opacity: 0;
}
.product-card:hover .product-card__img--main { opacity: 0; }
.product-card:hover .product-card__img--hover { opacity: 1; transform: scale(1.04); }
.product-card:hover .product-card__img--main:only-child { opacity: 1; transform: scale(1.06); }
.product-card__placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 32px; font-weight: 900; color: var(--c-mute); letter-spacing: .1em;
}
.product-card__badges {
  position: absolute; top: 12px; left: 12px;
  display: flex; flex-direction: column; gap: 6px; z-index: 2;
}
.badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 5px 10px; border-radius: 6px;
  font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
  background: var(--c-ink); color: #fff;
}
.badge--new   { background: var(--c-red); }
.badge--sale  { background: #f5a300; color: #16181d; }
.badge--hit   { background: #16181d; }

.product-card__media img {
  width: 100%; height: 100%; object-fit: contain;
  padding: 16px;
  transition: transform .5s ease;
}

.product-card__body {
  padding: 18px 18px 20px;
  display: flex; flex-direction: column; gap: 10px;
  flex: 1;
}
.product-card__cat {
  font-size: 11.5px; text-transform: uppercase; letter-spacing: .1em;
  color: var(--c-mute); font-weight: 600;
}
.product-card__title {
  font-size: 15.5px; font-weight: 700; line-height: 1.3;
  color: var(--c-ink);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden; min-height: 40px;
}
.product-card__title:hover { color: var(--c-blue); }
.product-card__sku {
  font-size: 12px; color: var(--c-mute); letter-spacing: .04em;
}
.product-card__cart {
  display: flex; gap: 6px; margin-top: auto; align-items: stretch;
}
.card-type-sel {
  flex: 0 0 auto; width: 90px;
  border: 1px solid var(--c-line); border-radius: 8px;
  padding: 8px 6px; font-family: inherit; font-size: 12px;
  font-weight: 600; color: var(--c-ink); background: #fff;
  cursor: pointer; appearance: auto;
}
.qbtn {
  flex: 1; min-width: 0;
  border: 0; border-radius: 10px; padding: 11px 8px;
  font-family: inherit; font-size: 12.5px; font-weight: 700;
  letter-spacing: .04em; text-transform: uppercase; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  transition: background var(--t-fast), color var(--t-fast), transform var(--t-fast);
}
.qbtn:active { transform: translateY(1px); }
.qbtn--add {
  background: var(--c-blue); color: #fff;
  box-shadow: inset 0 0 0 1px var(--c-blue);
}
.qbtn--add:hover { background: var(--c-ink); box-shadow: inset 0 0 0 1px var(--c-ink); }

/* ============ CATEGORY TILES ============ */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.cat-card {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 280px;
  border-radius: var(--radius);
  background: var(--c-ink);
  color: #fff; padding: 24px 24px 22px;
  transition: transform var(--t-base), box-shadow var(--t-base);
  isolation: isolate;
}
.cat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); color: #fff; }
.cat-card__bg {
  position: absolute; inset: 0; z-index: -1;
  background-size: cover; background-position: center;
  transition: transform .8s ease;
}
.cat-card:hover .cat-card__bg { transform: scale(1.06); }
.cat-card::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(180deg, rgba(3,24,48,.1) 0%, rgba(3,24,48,.75) 60%, rgba(3,24,48,.92) 100%);
  pointer-events: none;
}
.cat-card__name {
  font-size: 26px; font-weight: 900; letter-spacing: -.01em; margin: 0;
  text-shadow: 0 2px 14px rgba(0,0,0,.5);
  position: relative; z-index: 1;
}
.cat-card__count {
  font-size: 13px; color: rgba(255,255,255,.82); margin-top: 6px;
  text-transform: uppercase; letter-spacing: .12em; font-weight: 600;
  position: relative; z-index: 1;
}
.cat-card__arrow {
  position: absolute; top: 22px; right: 22px; z-index: 2;
  width: 44px; height: 44px; border-radius: 999px;
  background: rgba(255,255,255,.12); backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  border: 1px solid rgba(255,255,255,.18);
  transition: background var(--t-fast), transform var(--t-fast);
}
.cat-card:hover .cat-card__arrow { background: var(--c-blue); transform: rotate(-45deg); border-color: transparent; }
.cat-card__sub {
  display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px;
  font-size: 12px;
  position: relative; z-index: 1;
}
.cat-card__sub span {
  display: inline-block;
  padding: 4px 10px; border-radius: 999px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.16);
  color: #fff; font-weight: 600; backdrop-filter: blur(6px);
}

.cat-grid--hero {
  grid-template-columns: 1.6fr 1fr;
}
.cat-card--shoes {
  min-height: 380px;
}
.cat-card--clothing {
  min-height: 380px;
}

/* ============ PROMO BANNER ============ */
.promo-banner {
  position: relative; overflow: hidden;
  border-radius: var(--radius-lg);
  background: linear-gradient(120deg, #0042a0 0%, #002b55 60%, #031830 100%);
  color: #fff;
  padding: 60px;
  display: grid; grid-template-columns: 1.6fr 1fr; gap: 40px; align-items: center;
  margin: 60px 0;
}
.promo-banner__pill {
  display: inline-flex; padding: 7px 14px; border-radius: 999px;
  background: rgba(255,255,255,.16);
  font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  margin-bottom: 18px;
}
.promo-banner h2 {
  font-size: clamp(26px, 3.4vw, 40px);
  font-weight: 900; line-height: 1.05; letter-spacing: -.015em;
  margin: 0 0 14px; max-width: 580px;
}
.promo-banner p { color: rgba(255,255,255,.85); font-size: 16px; max-width: 520px; margin-bottom: 26px; }
.promo-banner__art {
  font-size: 12rem; font-weight: 900; letter-spacing: -.08em;
  color: rgba(255,255,255,.06); line-height: 1;
  text-align: right;
}
.promo-banner--photo {
  padding: 0; display: block; position: relative;
  min-height: 400px; overflow: hidden;
}
.promo-banner__bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 0;
}
.promo-banner__content {
  position: relative; z-index: 1; padding: 60px;
  background: linear-gradient(90deg, rgba(3,24,48,.88) 0%, rgba(3,24,48,.55) 60%, transparent 100%);
  min-height: 400px; display: flex; flex-direction: column; justify-content: center;
  max-width: 600px;
}

/* ============ TECH BLOCK (dark) ============ */
.tech {
  background: var(--c-ink);
  background-size: cover; background-position: center;
  color: #fff;
  position: relative; overflow: hidden;
}
.tech::before {
  content: "";
  position: absolute; inset: 0;
  background: rgba(3,24,48,.82);
  z-index: 0; pointer-events: none;
}
.tech::after {
  content: "XLR8";
  position: absolute; right: -8%; bottom: -12%;
  font-size: 36vw; font-weight: 900; letter-spacing: -.08em;
  color: rgba(255,255,255,.03);
  line-height: .9; pointer-events: none;
  z-index: 0;
}
.tech__inner {
  padding: 90px 24px;
  position: relative; z-index: 1;
  text-align: center;
  max-width: 820px; margin: 0 auto;
}
.tech__pill {
  display: inline-flex; padding: 8px 18px; border-radius: 999px;
  background: rgba(255,0,0,.14);
  border: 1px solid rgba(255,0,0,.35);
  color: #ff8e92; font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  margin-bottom: 22px;
}
.tech h2 { font-size: clamp(30px, 4vw, 48px); font-weight: 900; line-height: 1.1; margin: 0 0 18px; letter-spacing: -.015em; color: #fff; text-shadow: 0 2px 20px rgba(0,0,0,.5); }
.tech p { font-size: 17px; color: rgba(255,255,255,.85); max-width: 640px; margin: 0 auto 32px; line-height: 1.6; text-shadow: 0 1px 8px rgba(0,0,0,.3); }

.tech-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 60px;
}
.tech-grid__item {
  text-align: left;
  padding: 28px;
  border-radius: var(--radius);
  background: rgba(3,24,48,.6);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.12);
  transition: transform var(--t-base), border-color var(--t-base);
}
.tech-grid__item:hover { transform: translateY(-4px); border-color: var(--c-blue); }
.tech-grid__icon {
  width: 50px; height: 50px; border-radius: 12px;
  background: rgba(0,66,160,.15); color: var(--c-blue);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.tech-grid__icon svg { width: 26px; height: 26px; }
.tech-grid__item h3 { font-size: 18px; font-weight: 800; margin: 0 0 8px; color: #fff; }
.tech-grid__item p  { font-size: 14px; color: rgba(255,255,255,.75); margin: 0; line-height: 1.55; }

/* ============ NEWSLETTER ============ */
.newsletter {
  background: var(--c-bg-cream);
  border-top: 1px solid var(--c-line);
  border-bottom: 1px solid var(--c-line);
  padding: 70px 0;
}
.newsletter__inner {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 50px; align-items: center;
}
.newsletter__pill {
  display: inline-flex; padding: 6px 14px; border-radius: 999px;
  background: rgba(0,66,160,.1); color: var(--c-blue);
  font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
}
.newsletter h2 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 900; letter-spacing: -.015em; margin: 16px 0 12px; line-height: 1.05; }
.newsletter p { color: var(--c-text-soft); font-size: 15.5px; margin: 0; max-width: 480px; }
.newsletter__form {
  display: flex; gap: 10px; padding: 8px;
  background: #fff; border-radius: 999px; border: 1px solid var(--c-line);
  box-shadow: var(--shadow-sm);
}
.newsletter__form input {
  flex: 1; min-width: 0; border: 0; outline: none;
  padding: 14px 22px; font-size: 15px; background: transparent; font-family: inherit;
}
.newsletter__form button {
  background: var(--c-blue); color: #fff; border: 0;
  padding: 14px 26px; border-radius: 999px;
  font-weight: 700; font-size: 13px; letter-spacing: .04em; text-transform: uppercase;
  cursor: pointer; transition: background var(--t-fast);
}
.newsletter__form button:hover { background: var(--c-red-dark); }

/* ============ FOOTER ============ */
.footer {
  background: var(--c-ink);
  color: #c5cad4;
  padding: 70px 0 0;
  margin-top: 80px;
}
.footer a { color: #c5cad4; }
.footer a:hover { color: #fff; }
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr;
  gap: 40px; padding-bottom: 50px;
}
.footer__brand {
  font-size: 32px; font-weight: 900;
  color: var(--c-blue); letter-spacing: .02em;
}
.footer__tag {
  font-size: 13px; line-height: 1.6; color: #9da4b1; margin: 14px 0 22px;
  max-width: 320px;
}
.footer__contacts { display: flex; flex-direction: column; gap: 8px; font-size: 13.5px; }
.footer__contacts span { color: #9da4b1; }
.footer__title {
  font-size: 12px; text-transform: uppercase; letter-spacing: .14em;
  color: #fff; font-weight: 700; margin-bottom: 18px;
}
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 9px; font-size: 13.5px; }
.footer__social {
  display: flex; gap: 10px; margin-top: 16px;
}
.footer__social a {
  width: 38px; height: 38px; border-radius: 999px;
  background: rgba(255,255,255,.06);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  transition: background var(--t-fast);
}
.footer__social a:hover { background: var(--c-blue); }
.footer__social svg { width: 16px; height: 16px; }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 22px 24px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12.5px; color: #828b9a;
  flex-wrap: wrap; gap: 12px;
}
.footer__pay {
  display: flex; gap: 10px; align-items: center;
}
.footer__pay span {
  background: #fff; color: var(--c-ink);
  padding: 5px 11px; border-radius: 6px;
  font-size: 11.5px; font-weight: 800; letter-spacing: .04em;
}

/* ============ BREADCRUMBS ============ */
.breadcrumbs {
  font-size: 13px; color: var(--c-text-soft);
  padding: 22px 0 8px;
  display: flex; gap: 8px; align-items: center;
  flex-wrap: wrap;
}
.breadcrumbs a { color: var(--c-text-soft); }
.breadcrumbs a:hover { color: var(--c-blue); }
.breadcrumbs span { color: var(--c-ink); font-weight: 600; }
.breadcrumbs::before { content: ""; }

/* ============ CATALOG LAYOUT ============ */
.catalog-head {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 20px; flex-wrap: wrap;
  margin: 14px 0 28px;
}
.catalog-head h1 {
  font-size: clamp(26px, 3vw, 38px); font-weight: 900; letter-spacing: -.015em;
  margin: 0;
}
.catalog-head__count { color: var(--c-text-soft); font-size: 14px; font-weight: 500; }
.catalog-head__sort label { font-size: 13.5px; color: var(--c-text-soft); display: flex; align-items: center; gap: 10px; }
.catalog-head__sort select {
  font-family: inherit; font-size: 14px;
  padding: 9px 32px 9px 14px;
  background: #fff;
  border: 1px solid var(--c-line); border-radius: 10px;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316181d' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 10px center; background-size: 14px;
}

.catalog-layout {
  display: grid; grid-template-columns: 260px 1fr; gap: 36px;
  margin-bottom: 60px;
}
#products {
  scroll-margin-top: 160px;
}
@media (max-width: 720px) {
  #products { scroll-margin-top: 130px; }
}
.catalog-side {
  position: sticky; top: 130px;
  align-self: start;
}
.catalog-side h3 {
  font-size: 11.5px; text-transform: uppercase; letter-spacing: .14em;
  color: var(--c-mute); margin: 0 0 14px; font-weight: 700;
}
.catalog-side ul { list-style: none; padding: 0; margin: 0 0 26px; }
.catalog-side li { margin-bottom: 2px; }
.catalog-side a {
  display: flex; justify-content: space-between; align-items: center;
  padding: 9px 12px; border-radius: 8px;
  font-size: 14px; color: var(--c-ink); font-weight: 500;
  transition: background var(--t-fast), color var(--t-fast);
}
.catalog-side a:hover { background: var(--c-bg-soft); color: var(--c-blue); }
.catalog-side a.is-active { background: var(--c-ink); color: #fff; font-weight: 600; }
.catalog-side a.is-active small { color: rgba(255,255,255,.6); }
.catalog-side a small { color: var(--c-mute); font-size: 12px; font-weight: 600; }
.catalog-side .sub { padding-left: 14px; }
.catalog-side .sub li a { padding-left: 24px; font-size: 13.5px; }

.empty-state {
  background: var(--c-bg-soft);
  border-radius: var(--radius);
  padding: 60px 40px;
  text-align: center;
  color: var(--c-text-soft);
}
.empty-state h3 { color: var(--c-ink); margin: 0 0 8px; }

/* ============ PAGINATION ============ */
.pagination {
  display: flex; gap: 6px; justify-content: center; flex-wrap: wrap;
  margin: 40px 0;
}
.pagination a, .pagination span {
  min-width: 40px; height: 40px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 10px;
  font-weight: 600; font-size: 14px;
  background: #fff; border: 1px solid var(--c-line);
  color: var(--c-ink);
  transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast);
  padding: 0 12px;
}
.pagination a:hover { border-color: var(--c-ink); }
.pagination .active {
  background: var(--c-ink); color: #fff; border-color: var(--c-ink);
}

/* ============ PRODUCT DETAIL ============ */
.product-detail {
  display: grid; grid-template-columns: 1fr 1fr; gap: 50px;
  margin: 30px 0 60px;
}
.product-detail__media {
  position: sticky; top: 130px; align-self: start;
  background: var(--c-bg-soft); border-radius: var(--radius);
  padding: 30px; display: flex; flex-direction: column; align-items: center;
}
.product-detail__media > img,
.product-detail__media > #mainImg {
  width: 100%; aspect-ratio: 1/1; object-fit: contain;
}
.product-detail__placeholder {
  width: 100%; aspect-ratio: 1/1; display: flex; align-items: center; justify-content: center;
  font-size: 64px; font-weight: 900; color: var(--c-mute); letter-spacing: .04em;
}
.thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-top: 16px; width: 100%; }
.thumbs__item {
  width: 100%; aspect-ratio: 1/1; object-fit: contain;
  background: #fff; padding: 6px; border-radius: 8px;
  border: 2px solid transparent; cursor: pointer;
  transition: border-color var(--t-fast);
}
.thumbs__item:hover { border-color: var(--c-ink); }

.product-detail__info { padding-top: 6px; }
.product-detail__de { font-size: 12px; color: var(--c-mute); letter-spacing: .04em; margin-bottom: 8px; }
.product-detail__info h1 {
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 900; letter-spacing: -.015em; line-height: 1.15;
  margin: 0 0 10px;
}
.product-detail__sku { font-size: 14px; color: var(--c-text-soft); margin-bottom: 14px; }
.product-detail__sku b { color: var(--c-ink); }
.rating { display: inline-flex; gap: 4px; font-size: 14px; color: var(--c-text); margin-bottom: 18px; }

.quote-block {
  background: var(--c-bg-soft);
  border-radius: var(--radius); padding: 22px 24px;
  margin: 18px 0 24px;
}
.quote-block__note {
  font-size: 13.5px; color: var(--c-text-soft);
  margin-bottom: 16px; line-height: 1.5;
}
.quote-form { display: flex; flex-direction: column; gap: 14px; }
.quote-form__row {
  display: flex; gap: 12px; align-items: flex-end;
}
.quote-form__qty, .quote-form__type {
  display: flex; flex-direction: column; gap: 6px;
  font-size: 13px; color: var(--c-text-soft); font-weight: 600;
}
.quote-form__qty input, .quote-form__type select {
  padding: 10px 12px;
  border: 1px solid var(--c-line); border-radius: 10px;
  background: #fff; font-family: inherit; font-size: 15px; font-weight: 700;
  color: var(--c-ink);
}
.quote-form__qty input { width: 90px; }
.quote-form__type select { width: 140px; cursor: pointer; }

.product-detail__features {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px;
  margin-top: 16px; padding-top: 18px; border-top: 1px solid var(--c-line);
}
.product-detail__features div {
  font-size: 13.5px; color: var(--c-text); position: relative; padding-left: 22px;
}
.product-detail__features div::before {
  content: ""; position: absolute; left: 0; top: 6px;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--c-blue);
  background-image: linear-gradient(135deg, var(--c-blue) 0%, #1f64c0 100%);
}

.product-description {
  background: var(--c-bg-soft); border-radius: var(--radius);
  padding: 30px 32px; margin: 30px 0;
}
.product-description h2 {
  margin: 0 0 14px; font-size: 22px; font-weight: 800; letter-spacing: -.01em;
}
.product-description p { margin: 0 0 12px; font-size: 15px; line-height: 1.65; color: var(--c-text); }

/* tech badges on product page */
.tech-badges {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-bottom: 14px;
}
.tech-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 8px;
  background: var(--c-bg-soft); border: 1px solid var(--c-line);
  font-size: 12px; font-weight: 700; letter-spacing: .04em;
}
.tech-badge--accent {
  background: rgba(0,66,160,.08); border-color: rgba(0,66,160,.2);
  color: var(--c-blue);
}
.tech-badge__desc {
  font-weight: 500; color: var(--c-text-soft); font-size: 11px;
}

/* product specs */
.product-specs {
  background: var(--c-bg-soft); border-radius: var(--radius);
  padding: 30px 32px; margin: 30px 0;
}
.product-specs h2 {
  margin: 0 0 20px; font-size: 22px; font-weight: 800; letter-spacing: -.01em;
}
.specs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.specs-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 0; border-bottom: 1px solid var(--c-line);
}
.specs-row__label { color: var(--c-text-soft); font-size: 14px; }
.specs-row__value { font-weight: 700; font-size: 14px; color: var(--c-ink); text-align: right; }
.specs-features {
  list-style: none; margin: 0 0 22px; padding: 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px 24px;
}
.specs-features li {
  position: relative; padding-left: 22px; font-size: 14px; font-weight: 600; color: var(--c-ink);
}
.specs-features li::before {
  content: "✓"; position: absolute; left: 0; top: 0; color: var(--c-blue); font-weight: 800;
}

/* guarantee cards on product page */
.product-guarantees {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  margin: 40px 0 50px;
}
.guarantee-card {
  text-align: center; padding: 28px 20px;
  background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius);
  transition: box-shadow var(--t-base), transform var(--t-base);
}
.guarantee-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.guarantee-card svg { width: 32px; height: 32px; color: var(--c-blue); margin-bottom: 14px; }
.guarantee-card h4 { margin: 0 0 8px; font-size: 15px; font-weight: 800; }
.guarantee-card p { margin: 0; font-size: 13px; color: var(--c-text-soft); line-height: 1.5; }

/* lifestyle image grid (homepage) */
.lifestyle-grid {
  display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto auto;
  gap: 16px;
}
.lifestyle-card {
  position: relative; overflow: hidden; border-radius: var(--radius);
  display: block; aspect-ratio: 16/9;
}
.lifestyle-card--tall { grid-row: span 2; aspect-ratio: auto; }
.lifestyle-card img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s ease;
}
.lifestyle-card:hover img { transform: scale(1.05); }
.lifestyle-card__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(3,24,48,.7) 0%, transparent 60%);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 24px; color: #fff;
  transition: background var(--t-base);
}
.lifestyle-card:hover .lifestyle-card__overlay {
  background: linear-gradient(0deg, rgba(0,66,160,.8) 0%, transparent 60%);
}
.lifestyle-card__cat {
  font-size: 22px; font-weight: 900; letter-spacing: -.01em;
}
.lifestyle-card__cta {
  font-size: 13px; font-weight: 600; margin-top: 6px;
  opacity: .8; letter-spacing: .04em;
}

/* active thumbnail */
.thumbs__item.is-active { border-color: var(--c-blue); }

/* ============ CART (заявка) / CHECKOUT ============ */
.cart-page { padding: 26px 0 60px; }
.cart-page h1 {
  font-size: clamp(28px, 3vw, 36px); font-weight: 900; letter-spacing: -.015em;
  margin: 0 0 18px;
}
.cart-type-select {
  padding: 8px 10px; border: 1px solid var(--c-line); border-radius: 8px;
  font-family: inherit; font-size: 13px; font-weight: 600; color: var(--c-ink);
  background: #fff; cursor: pointer;
}

.cart-row {
  display: grid; grid-template-columns: 80px 1fr 120px 100px 70px;
  align-items: center; gap: 16px;
  padding: 14px 0; border-bottom: 1px solid var(--c-line);
}
.cart-row--head {
  font-size: 11.5px; text-transform: uppercase; letter-spacing: .12em;
  color: var(--c-mute); font-weight: 700;
  padding: 10px 0; border-bottom: 2px solid var(--c-ink);
}
.cart-row__img img,
.cart-row__placeholder {
  width: 80px; height: 80px; object-fit: contain;
  background: var(--c-bg-soft); border-radius: 10px; padding: 6px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 900; color: var(--c-mute); letter-spacing: .04em;
}
.cart-row__name a { font-size: 15px; font-weight: 700; color: var(--c-ink); }
.cart-row__name small { display: block; color: var(--c-mute); font-size: 12px; margin-top: 4px; }
.cart-row input[type=number] {
  width: 100px; padding: 9px 12px; border: 1px solid var(--c-line); border-radius: 10px;
  font-family: inherit; font-size: 15px; font-weight: 700; text-align: center;
  background: #fff; color: var(--c-ink);
}
.cart-actions {
  display: flex; gap: 12px; justify-content: flex-end; align-items: center;
  margin-top: 24px; flex-wrap: wrap;
}

.cart-empty {
  text-align: center; padding: 60px 20px;
  background: var(--c-bg-soft); border-radius: var(--radius);
}
.cart-empty__icon { font-size: 56px; margin-bottom: 12px; }
.cart-empty h2 { margin: 0 0 8px; font-size: 22px; font-weight: 800; }
.cart-empty p { color: var(--c-text-soft); margin: 0 0 18px; }
.cart-empty__actions { display: inline-flex; gap: 10px; flex-wrap: wrap; justify-content: center; }

.checkout-grid {
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 30px;
  margin-bottom: 50px;
}
.checkout-form {
  background: #fff; border: 1px solid var(--c-line);
  border-radius: var(--radius); padding: 26px 28px;
}
.checkout-form h2 { font-size: 16px; text-transform: uppercase; letter-spacing: .12em; margin: 0 0 14px; }
.checkout-form h2:not(:first-of-type) { margin-top: 26px; }
.checkout-form label {
  display: block; margin-bottom: 14px;
  font-size: 13px; font-weight: 600; color: var(--c-text-soft);
}
.checkout-form input,
.checkout-form textarea {
  width: 100%; margin-top: 6px;
  padding: 12px 14px; border: 1px solid var(--c-line); border-radius: 10px;
  background: #fff; font-family: inherit; font-size: 14.5px; color: var(--c-ink);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.checkout-form input:focus, .checkout-form textarea:focus {
  outline: none; border-color: var(--c-blue);
  box-shadow: 0 0 0 3px rgba(0,66,160,.15);
}
.checkout-form button[type=submit] { margin-top: 20px; width: 100%; }

.checkout-summary {
  background: var(--c-bg-soft); border-radius: var(--radius);
  padding: 24px 26px;
  position: sticky; top: 130px; align-self: start;
}
.checkout-summary h2 { font-size: 16px; text-transform: uppercase; letter-spacing: .12em; margin: 0 0 16px; }
.checkout-item {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 10px 0; border-bottom: 1px solid var(--c-line);
  font-size: 14px;
}
.checkout-item small { display: block; color: var(--c-mute); font-size: 12px; margin-top: 3px; }
.checkout-item b { white-space: nowrap; }
.checkout-item__type {
  display: inline-block; padding: 2px 8px; border-radius: 999px;
  font-size: 11px; font-weight: 700; margin-left: 6px; vertical-align: 1px;
}
.checkout-item__type--retail { background: rgba(0,66,160,.1); color: var(--c-blue); }
.checkout-item__type--wholesale { background: var(--c-blue); color: #fff; }
.checkout-total {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 14px 0 4px; font-size: 15px; font-weight: 800; color: var(--c-ink);
}

.thanks {
  text-align: center; padding: 80px 20px;
  background: var(--c-bg-soft); border-radius: var(--radius);
  margin: 30px 0 60px;
}
.thanks h1 { font-size: 36px; font-weight: 900; letter-spacing: -.015em; margin: 0 0 18px; }
.thanks p { font-size: 16px; color: var(--c-text); margin: 6px 0; }

.btn-link {
  background: transparent; border: 0; color: var(--c-text-soft);
  font-family: inherit; font-size: 13.5px; cursor: pointer;
  text-decoration: underline; text-underline-offset: 3px;
}
.btn-link:hover { color: var(--c-blue); }

/* ============ FORMS ============ */
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; color: var(--c-text); }
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%; padding: 12px 14px;
  border: 1px solid var(--c-line); border-radius: 10px;
  background: #fff; font-family: inherit; font-size: 14.5px;
  color: var(--c-ink);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none; border-color: var(--c-ink);
  box-shadow: 0 0 0 4px rgba(15,17,21,.06);
}

/* ============ HELPERS / UTILS ============ */
.muted { color: var(--c-text-soft); }
.small { font-size: 12.5px; }
.hide-mobile { display: inline; }

/* ============ RESPONSIVE ============ */
@media (max-width: 1100px) {
  .hero__inner { grid-template-columns: 1fr; gap: 40px; padding: 60px 24px; }
  .footer__grid { grid-template-columns: repeat(2, 1fr); }
  .megamenu__grid { grid-template-columns: repeat(3, 1fr); }
  .megamenu__feature { grid-column: span 3; min-height: 140px; }
  .product-detail { grid-template-columns: 1fr; gap: 24px; }
  .product-detail__media { position: static; }
  .checkout-grid { grid-template-columns: 1fr; }
  .checkout-summary { position: static; }
  .catalog-layout { grid-template-columns: 1fr; }
  .catalog-side { position: static; }
  .promo-banner { padding: 40px; grid-template-columns: 1fr; }
  .promo-banner__art { display: none; }
  .promo-banner--photo { padding: 0; }
  .promo-banner__content { max-width: 100%; padding: 40px; min-height: 320px; background: linear-gradient(0deg, rgba(3,24,48,.9) 0%, rgba(3,24,48,.5) 100%); }
  .tech-grid { grid-template-columns: 1fr; }
  .newsletter__inner { grid-template-columns: 1fr; }
  .product-guarantees { grid-template-columns: 1fr 1fr; }
  .specs-grid { grid-template-columns: 1fr; }
  .specs-features { grid-template-columns: 1fr; }
  .cat-grid--hero { grid-template-columns: 1fr; }
  .cat-card--shoes, .cat-card--clothing { min-height: 260px; }
  .lifestyle-grid { grid-template-columns: 1fr; }
  .lifestyle-card--tall { aspect-ratio: 16/9; grid-row: span 1; }
}
@media (max-width: 720px) {
  .hide-mobile { display: none; }
  .header__inner { grid-template-columns: auto auto; gap: 14px; min-height: 64px; padding-top: 5px; }
  .search { grid-column: 1 / -1; order: 3; margin-bottom: 5px; }
  .header__actions { gap: 6px; }
  .icon-btn { padding: 9px 10px; font-size: 12px; }
  .icon-btn svg { width: 18px; height: 18px; }
  .nav__inner { overflow-x: auto; flex-wrap: nowrap; -webkit-overflow-scrolling: touch; }
  .nav__link { padding: 13px 14px; white-space: nowrap; font-size: 12.5px; }
  .megamenu { display: none; }
  .trust__grid { grid-template-columns: repeat(2, 1fr); }
  .trust__item { border-bottom: 1px solid var(--c-line); }
  .trust__item:nth-child(2) { border-right: 0; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .product-card__body { padding: 14px 14px 16px; gap: 8px; }
  .product-card__title { font-size: 13.5px; min-height: 36px; }
  .product-card__sku { font-size: 11px; }
  .qbtn { padding: 10px 4px; font-size: 11px; letter-spacing: .03em; }
  .product-card__cart { flex-direction: column; gap: 5px; }
  .card-type-sel { width: 100%; }
  .section { padding: 50px 0; }
  .section__title { font-size: 24px; }

  .cart-row {
    grid-template-columns: 64px 1fr;
    grid-template-areas:
      "img name"
      "img qty"
      "del del";
    column-gap: 12px; row-gap: 8px;
    padding: 14px 0;
  }
  .cart-row--head { display: none; }
  .cart-row {
    grid-template-columns: 64px 1fr;
    grid-template-areas:
      "img name"
      "img type"
      "qty del";
    column-gap: 12px; row-gap: 6px;
  }
  .cart-row__img { grid-area: img; }
  .cart-row__img img,
  .cart-row__placeholder { width: 64px; height: 64px; }
  .cart-row__name { grid-area: name; }
  .cart-row__type { grid-area: type; }
  .cart-row__qty { grid-area: qty; }
  .cart-row__qty input[type=number] { width: 88px; }
  .cart-row__del { grid-area: del; text-align: right; }

  .cart-actions { justify-content: stretch; }
  .cart-actions .btn { flex: 1; min-width: 0; text-align: center; justify-content: center; }

  .quote-form__row { flex-direction: column; gap: 10px; }
  .product-detail__features { grid-template-columns: 1fr; }
  .product-guarantees { grid-template-columns: 1fr; gap: 12px; }
  .guarantee-card { padding: 20px 16px; }
  .hero__bg::after { background: linear-gradient(0deg, rgba(3,24,48,.92) 0%, rgba(3,24,48,.7) 100%); }
}
@media (max-width: 380px) {
  .qbtn { font-size: 10.5px; padding: 9px 4px; }
  .icon-btn { padding: 8px 9px; }
  .icon-btn span:not(.icon-btn__count) { display: none; }
}

/* Size chart */
.product-sizes { margin: 40px 0; }
.product-sizes h2 { font-size: 22px; font-weight: 800; margin-bottom: 16px; }
.sizes-table-wrap { overflow-x: auto; border: 1px solid var(--c-line); border-radius: 12px; }
.sizes-table { width: 100%; border-collapse: collapse; font-size: 13px; white-space: nowrap; }
.sizes-table th { background: var(--c-blue); color: #fff; font-weight: 700; padding: 10px 8px; text-align: center; position: sticky; left: 0; z-index: 2; min-width: 70px; }
.sizes-table thead th { background: var(--c-ink); }
.sizes-table td { padding: 9px 7px; text-align: center; border-bottom: 1px solid var(--c-line); }
.sizes-table thead td { background: var(--c-ink); color: #fff; font-weight: 600; }
.sizes-table tbody tr:nth-child(even) td { background: rgba(0,66,160,.03); }
.sizes-table tbody tr:hover td { background: rgba(0,66,160,.08); }
.sizes-note { margin-top: 12px; font-size: 13px; color: var(--c-mute); }
