/*
Theme Name:  Spirit ALT Child
Description: Child theme for Spirit ALT rock store (parent: Hello Elementor)
Author:      Spirit ALT
Template:    hello-elementor
Version:     1.2.5
*/

/* Батьківська тема підключає свої стилі сама (hello_elementor_scripts_styles),
   шрифти Google підключаються через wp_enqueue_style у functions.php. */

/* ============================================================
   CSS CUSTOM PROPERTIES (Design Tokens)
   ============================================================ */
:root {
  --bg:        #0a0a0c;
  --bg-2:      #0f0f12;
  --bg-3:      #141418;
  --panel:     #17171c;
  --line:      rgba(255,255,255,.09);
  --line-2:    rgba(255,255,255,.16);
  --text:      #e9e7e4;
  --muted:     #8c8c93;
  --muted-2:   #5f5f66;
  --red:       #d11a14;
  --red-bright:#ef2a22;
  --red-deep:  #6f0d0a;
  --disp:      'Anton', sans-serif;
  --ui:        'Oswald', sans-serif;
  --mono:      'Space Mono', monospace;
}

/* ============================================================
   GLOBAL RESET / BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: clip; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--ui);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  max-width: 100%;
}

::selection { background: var(--red); color: #fff; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
/* padding:0 обов'язковий: батьківська тема дає всім button padding 8px 16px,
   що стискає svg-іконки всередині кнопок фіксованої ширини */
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; padding: 0; }

/* ============================================================
   GRAIN TEXTURE OVERLAY
   ============================================================ */
.grain {
  position: fixed; inset: 0; z-index: 90; pointer-events: none;
  opacity: .05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ============================================================
   UTILITY CLASSES
   ============================================================ */
.disp { font-family: var(--disp); font-weight: 400; letter-spacing: .01em; line-height: .86; text-transform: uppercase; }
.mono { font-family: var(--mono); text-transform: uppercase; letter-spacing: .14em; }
.chrome {
  background: linear-gradient(180deg,#ffffff 0%,#d6d6db 16%,#74747b 40%,#f3f3f5 53%,#9a9aa1 72%,#dcdce1 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 1px 0 rgba(0,0,0,.55));
}

/* ============================================================
   SCROLLING TICKER
   ============================================================ */
.ticker {
  background: var(--red); color: #0a0a0c; overflow: hidden; white-space: nowrap;
  border-bottom: 1px solid #000; position: relative; z-index: 60;
}
.ticker__track { display: inline-flex; gap: 0; animation: spirit-scroll 72s linear infinite; }
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker span {
  font-family: var(--mono); font-weight: 700; font-size: 12px; letter-spacing: .18em;
  padding: 9px 26px; text-transform: uppercase; display: inline-flex; align-items: center; gap: 26px;
}
.ticker b { font-size: 9px; opacity: .7; }
@keyframes spirit-scroll { to { transform: translateX(-50%); } }

/* ============================================================
   HEADER & NAV
   ============================================================ */
body.elementor-page header.site-header,
.spirit-header {
  position: sticky; top: 0; z-index: 70;
  background: rgba(10,10,12,.82); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

/* Override Elementor's default header background for Spirit */
.e-con.spirit-nav-wrap,
.spirit-nav-inner {
  max-width: 1480px; margin: 0 auto; padding: 0 34px; height: 74px;
  display: flex; align-items: center; justify-content: space-between; gap: 30px;
}

.spirit-logo .logo__img {
  height: 52px; width: auto; object-fit: contain;
  filter: brightness(0) invert(1);
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  font-family: var(--ui); font-weight: 600; font-size: 14px; letter-spacing: .16em; text-transform: uppercase;
  padding: 17px 34px; display: inline-flex; align-items: center; gap: 12px;
  transition: .2s; border: 1px solid transparent; cursor: pointer;
}
.btn svg { width: 15px; height: 15px; stroke: currentColor; stroke-width: 2; fill: none; }
.btn--red  { background: var(--red); color: #fff; }
.btn--red:hover  { background: var(--red-bright); box-shadow: 0 0 0 1px var(--red-bright), 0 14px 34px -10px var(--red); }
.btn--ghost      { border-color: var(--line-2); color: var(--text); }
.btn--ghost:hover{ border-color: #fff; color: #fff; background: rgba(255,255,255,.04); }

/* Elementor Button widget override */
.elementor-button.btn--red  { background: var(--red) !important; border-color: var(--red) !important; color: #fff !important; }
.elementor-button.btn--ghost { background: transparent !important; border-color: var(--line-2) !important; color: var(--text) !important; }

/* ============================================================
   SECTION UTILITIES
   ============================================================ */
section { position: relative; }
.wrap { max-width: 1480px; margin: 0 auto; padding: 0 34px; }
.sec-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 24px; padding: 92px 0 38px;
}
.sec-head .idx { font-family: var(--mono); font-size: 11px; letter-spacing: .2em; color: var(--red); margin-bottom: 14px; display: block; }
.sec-head h2  { font-family: var(--disp); font-size: clamp(40px,5.4vw,76px); line-height: .86; text-transform: uppercase; }
.sec-head p   { max-width: 340px; font-size: 15px; line-height: 1.5; color: var(--muted); font-weight: 300; text-align: right; }
.link-more {
  font-family: var(--mono); font-size: 12px; letter-spacing: .14em; color: var(--text);
  display: inline-flex; align-items: center; gap: 9px; white-space: nowrap;
  padding-bottom: 6px; border-bottom: 1px solid var(--red); transition: gap .2s;
}
.link-more:hover { gap: 16px; }

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  position: relative; min-height: calc(100vh - 74px);
  display: flex; align-items: flex-end; overflow: hidden;
  border-bottom: 1px solid var(--line); background: #070708;
}
.hero__bg {
  position: absolute; inset: 0; z-index: 0; will-change: transform;
  transform: scale(1.07); transition: transform .3s ease-out;
}
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(120% 90% at 72% 12%, rgba(209,26,20,.20), transparent 52%),
    linear-gradient(180deg, rgba(10,10,12,.25) 0%, rgba(10,10,12,.1) 38%, rgba(10,10,12,.92) 100%),
    linear-gradient(90deg, rgba(10,10,12,.92) 0%, rgba(10,10,12,.55) 38%, transparent 62%);
}
.hero__img,
.mega__img,
.cat__img,
.drop__img,
.ig__img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #0c0c0f;
}
.cat__img    { transition: transform .6s cubic-bezier(.2,.6,.2,1); filter: brightness(1.28) contrast(1.04) saturate(1.04); object-position: 50% 28%; }
.ig__img     { transition: transform .5s; filter: brightness(1.18) contrast(1.03); }
.hero__img   { object-position: 72% 30%; filter: brightness(1.15) contrast(1.03); }
.drop__img   { filter: saturate(.95) contrast(1.03) brightness(1.12); }
.hero__inner { position: relative; z-index: 3; max-width: 1480px; margin: 0 auto; padding: 0 34px 70px; width: 100%; }
.hero__kicker { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.hero__kicker .dot {
  width: 7px; height: 7px; background: var(--red); border-radius: 50%;
  box-shadow: 0 0 14px 2px var(--red); animation: emblemPulse 2.4s ease-in-out infinite;
}
@keyframes emblemPulse { 0%,100%{opacity:.85} 50%{opacity:1} }
.hero__kicker span { font-family: var(--mono); font-size: 11px; letter-spacing: .28em; color: var(--muted); }
.hero h1 { font-family: var(--disp); font-size: clamp(70px,12vw,184px); line-height: .94; text-transform: uppercase; letter-spacing: .005em; }
.hero h1 .alt { display: block; -webkit-text-stroke: 1.5px rgba(255,255,255,.32); color: transparent; }
.hero__sub { max-width: 540px; margin: 28px 0 34px; font-size: 18px; line-height: 1.5; color: #c9c7c4; font-weight: 300; }
.hero__cta  { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.hero__side {
  position: absolute; right: 34px; top: 50%;
  transform: translateY(-50%) rotate(90deg); transform-origin: right center;
  font-family: var(--mono); font-size: 10px; letter-spacing: .3em; color: var(--muted-2);
}

/* ============================================================
   BAND WALL / MARQUEE
   ============================================================ */
.bands { border-bottom: 1px solid var(--line); overflow: hidden; white-space: nowrap; background: var(--bg-2); }
.bands__track { display: inline-flex; align-items: center; animation: spirit-scroll 42s linear infinite; }
.bands__track:hover { animation-play-state: paused; }
.bands__track span {
  font-family: var(--disp); font-size: 30px; text-transform: uppercase;
  color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.22);
  padding: 24px 40px; transition: -webkit-text-stroke .2s;
}
.bands__track span:hover { -webkit-text-stroke: 1px var(--red); }

/* ============================================================
   CATEGORY BENTO GRID (сітка за ескізом)
   ┌──────────┬──────────────────┬──────────┐
   │          │                  │ 4 Сережки│
   │    1     │     2 Кулони     ├──────────┤
   │ Футболки │                  │    3     │
   │          ├────────┬─────────┤   Худі   │
   │          │5 Шапки │6 Браслет│          │
   └──────────┴────────┴─────────┴──────────┘
   ============================================================ */
.bento {
  display: grid;
  grid-template-columns: 1.15fr .95fr .95fr 1fr;
  grid-template-rows: 1fr .72fr 1fr;
  grid-template-areas:
    "fut kul kul ser"
    "fut kul kul hud"
    "fut shp brs hud";
  gap: 14px;
  min-height: 640px;
  padding-bottom: 24px;
}
.cat--fut { grid-area: fut; }
.cat--kul { grid-area: kul; }
.cat--hud { grid-area: hud; }
.cat--ser { grid-area: ser; }
.cat--shp { grid-area: shp; }
.cat--brs { grid-area: brs; }

/* ── Індивідуальне налаштування плиток ──
   Кожна плитка має свій клас (.cat--fut, .cat--kul, .cat--hud,
   .cat--ser, .cat--shp, .cat--brs) — тут можна окремо рулити
   кадруванням фото (object-position), масштабом, розміром назви тощо. */
.cat--fut .cat__img { object-position: 54% 28%; }
.cat--kul .cat__img { object-position: 50% 50%; }
.cat--hud .cat__img { object-position: 50% 20%; }
.cat--ser .cat__img { object-position: 50% 50%; }
.cat--shp .cat__img { object-position: 50% 35%; }
.cat--brs .cat__img { object-position: 50% 50%; }
/* Назва на великих плитках — більша */
.cat--fut .cat__name,
.cat--kul .cat__name { font-size: 44px; }
.cat {
  position: relative; overflow: hidden; border: 1px solid var(--line);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 22px; transition: border-color .25s;
}
.cat .ph { position: absolute; inset: 0; transition: transform .6s cubic-bezier(.2,.6,.2,1); }
.cat::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(10,10,12,0) 42%, rgba(10,10,12,.32) 70%, rgba(10,10,12,.9) 100%);
  transition: background .25s;
}
.cat:hover { border-color: var(--red); }
.cat:hover .ph, .cat:hover .cat__img { transform: scale(1.07); }
.cat:hover::before { background: linear-gradient(180deg, rgba(111,13,10,.15) 0%, rgba(10,10,12,.5) 60%, rgba(10,10,12,.95) 100%); }
.cat__meta  { position: relative; z-index: 2; }
.cat__n     { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; color: var(--muted); display: block; margin-bottom: 6px; }
.cat__name  { font-family: var(--disp); font-size: 30px; text-transform: uppercase; line-height: .9; }
.cat__arrow {
  position: absolute; top: 20px; right: 20px; z-index: 2;
  width: 34px; height: 34px; border: 1px solid var(--line-2); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transform: translateY(6px); transition: .25s; color: #fff;
}
.cat:hover .cat__arrow { opacity: 1; transform: translateY(0); border-color: var(--red); background: var(--red); }
.cat__arrow svg { width: 14px; height: 14px; stroke: currentColor; stroke-width: 2; fill: none; }

/* ============================================================
   PRODUCT CARDS
   ============================================================ */
.prod-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; padding-bottom: 24px; }
.card {
  border: 1px solid var(--line); background: var(--bg-2);
  display: flex; flex-direction: column; transition: border-color .25s; position: relative;
}
.card:hover { border-color: var(--line-2); }
.card__link { position: absolute; inset: 0; z-index: 1; }
.card__img  { position: relative; aspect-ratio: 1; overflow: hidden; z-index: 0; }
.card__media {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s cubic-bezier(.2,.6,.2,1); background: #0c0c0f;
}
.card:hover .card__media { transform: scale(1.06); }
.card__badge {
  position: absolute; top: 12px; left: 12px; z-index: 3;
  font-family: var(--mono); font-size: 9px; font-weight: 700; letter-spacing: .14em;
  background: var(--red); color: #fff; padding: 5px 9px;
}
.card__badge.sold { background: #222; color: var(--muted); }
.card__fav {
  position: absolute; top: 10px; right: 10px; z-index: 3;
  width: 34px; height: 34px; border-radius: 50%; background: rgba(10,10,12,.55);
  display: flex; align-items: center; justify-content: center;
  color: var(--text); opacity: 0; transform: translateY(-4px); transition: .22s;
}
.card:hover .card__fav { opacity: 1; transform: translateY(0); }
.card__fav:hover, .card__fav.on { color: var(--red); }
.card__fav.on { opacity: 1; transform: none; }
.card__fav svg { width: 16px; height: 16px; stroke: currentColor; stroke-width: 1.6; fill: none; }
.card__add {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 3;
  transform: translateY(101%); transition: transform .28s cubic-bezier(.2,.7,.2,1);
  background: var(--red); color: #fff; font-family: var(--ui); font-weight: 600;
  font-size: 13px; letter-spacing: .16em; text-transform: uppercase;
  padding: 14px; display: flex; align-items: center; justify-content: center; gap: 10px;
}
.card:hover .card__add { transform: translateY(0); }
.card__add:hover { background: var(--red-bright); }
.card__add svg { width: 15px; height: 15px; stroke: currentColor; stroke-width: 2; fill: none; }
.card__body { padding: 16px 16px 18px; display: flex; flex-direction: column; gap: 9px; flex: 1; position: relative; z-index: 0; }
.card__cat  { font-family: var(--mono); font-size: 9px; letter-spacing: .18em; color: var(--muted-2); }
.card__name { font-family: var(--ui); font-weight: 600; font-size: 17px; letter-spacing: .02em; text-transform: uppercase; line-height: 1.05; transition: color .15s; }
.card:hover .card__name { color: #fff; }
.card__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; padding-top: 6px; }
.card__price { font-family: var(--mono); font-size: 16px; font-weight: 700; color: #fff; }
.card__price s { color: var(--muted-2); font-weight: 400; font-size: 12px; margin-right: 7px; }
.card__stars { font-size: 11px; color: var(--red); letter-spacing: 2px; }

/* ============================================================
   FILTER TABS (homepage)
   ============================================================ */
.filters { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding-bottom: 26px; }
.filters button {
  font-family: var(--ui); font-weight: 500; font-size: 13px; letter-spacing: .12em;
  text-transform: uppercase; padding: 11px 20px; border: 1px solid var(--line); color: var(--muted); transition: .2s;
}
.filters button:hover { color: #fff; border-color: var(--line-2); }
.filters button.on { background: #fff; border-color: #fff; color: #0a0a0c; }

/* ============================================================
   DROP SPOTLIGHT (limited drop section)
   ============================================================ */
.drop {
  position: relative; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  overflow: hidden; margin-top: 60px;
}
.drop__grid { display: grid; grid-template-columns: 1fr 1fr; min-height: 580px; }
.drop__media { position: relative; border-right: 1px solid var(--line); }
.drop__media::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(80% 80% at 50% 40%, rgba(209,26,20,.22), transparent 70%);
}
.drop__badge {
  position: absolute; top: 24px; left: 24px; z-index: 2;
  font-family: var(--mono); font-size: 10px; font-weight: 700; letter-spacing: .16em;
  background: var(--red); color: #fff; padding: 7px 12px;
}
.drop__info { padding: 64px; display: flex; flex-direction: column; justify-content: center; gap: 22px; }
.drop__tag  { font-family: var(--mono); font-size: 11px; letter-spacing: .24em; color: var(--red); }
.drop__info h3 { font-family: var(--disp); font-size: clamp(44px,5.6vw,82px); line-height: .85; text-transform: uppercase; }
.drop__info p  { font-size: 16px; line-height: 1.6; color: var(--muted); font-weight: 300; max-width: 430px; }
.drop__price   { font-family: var(--mono); font-size: 22px; font-weight: 700; color: #fff; }
.drop__price s { color: var(--muted-2); font-weight: 400; font-size: 15px; margin-right: 10px; }
.drop__count { display: flex; align-items: flex-end; gap: 13px; }
.drop__count .u   { text-align: center; }
.drop__count .num { font-family: var(--disp); font-size: 42px; line-height: .9; color: #fff; }
.drop__count .lab { font-family: var(--mono); font-size: 9px; letter-spacing: .16em; color: var(--muted-2); margin-top: 7px; }
.drop__count .sep { font-family: var(--disp); font-size: 36px; color: var(--red); line-height: 1; }
.drop__cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 6px; }

/* ============================================================
   ADVANTAGES / FEATURES BAR
   ============================================================ */
.adv { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-2); }
.adv__grid { display: grid; grid-template-columns: repeat(4,1fr); }
.adv__item {
  padding: 46px 34px; border-right: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 14px; transition: background .25s;
}
.adv__item:last-child { border-right: none; }
.adv__item:hover { background: var(--bg-3); }
.adv__item .n  { font-family: var(--mono); font-size: 11px; letter-spacing: .2em; color: var(--red); }
.adv__item h3  { font-family: var(--disp); font-size: 26px; text-transform: uppercase; line-height: .95; }
.adv__item p   { font-size: 14px; line-height: 1.5; color: var(--muted); font-weight: 300; }

/* ============================================================
   REVIEWS
   ============================================================ */
.rev-row { display: flex; gap: 14px; overflow-x: auto; padding-bottom: 30px; scroll-snap-type: x mandatory; }
.rev-row::-webkit-scrollbar { height: 5px; }
.rev-row::-webkit-scrollbar-thumb { background: var(--bg-3); }
.rev {
  min-width: 380px; max-width: 380px; border: 1px solid var(--line); background: var(--bg-2);
  padding: 28px; display: flex; flex-direction: column; gap: 18px; scroll-snap-align: start;
}
.rev__top    { display: flex; align-items: center; justify-content: space-between; }
.rev__stars  { color: var(--red); letter-spacing: 3px; font-size: 13px; }
.rev__plat   { font-family: var(--mono); font-size: 9px; letter-spacing: .18em; color: var(--muted-2); }
.rev__txt    { font-size: 16px; line-height: 1.55; color: #d8d6d3; font-weight: 300; }
.rev__who    { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.rev__av     { width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0; }
.rev__name   { font-family: var(--ui); font-weight: 600; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; }
.rev__meta   { font-family: var(--mono); font-size: 10px; letter-spacing: .1em; color: var(--muted-2); }

/* ============================================================
   INSTAGRAM SECTION
   ============================================================ */
.ig { border-top: 1px solid var(--line); }
.ig__head {
  max-width: 1480px; margin: 0 auto; padding: 34px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.ig__profile { display: flex; align-items: center; gap: 20px; }
.ig__avatar {
  width: 74px; height: 74px; border-radius: 50%; border: 2px solid var(--red);
  padding: 3px; background: var(--bg-3); object-fit: cover;
}
.ig__handle { font-family: var(--disp); font-size: 30px; text-transform: uppercase; line-height: 1; display: flex; align-items: center; gap: 12px; }
.ig__handle svg { width: 22px; height: 22px; stroke: var(--red); stroke-width: 1.7; fill: none; }
.ig__bio { font-family: var(--ui); font-size: 14px; color: var(--muted); font-weight: 300; margin-top: 8px; display: flex; gap: 18px; flex-wrap: wrap; }
.ig__bio b { color: #fff; font-weight: 600; font-family: var(--mono); font-size: 13px; }
.ig__grid {
  display: grid; grid-template-columns: repeat(6,1fr); gap: 0;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.ig__cell { aspect-ratio: 1; position: relative; overflow: hidden; border-right: 1px solid var(--line); }
.ig__cell:last-child { border-right: none; }
.ig__cell:hover .ig__img { transform: scale(1.08); }
.ig__cell::after { content: ""; position: absolute; inset: 0; background: rgba(209,26,20,0); transition: background .25s; }
.ig__cell:hover::after { background: rgba(111,13,10,.35); }
.ig__cta { display: flex; align-items: center; justify-content: center; gap: 18px; padding: 38px; text-align: center; flex-wrap: wrap; }
.ig__cta .h { font-family: var(--disp); font-size: clamp(28px,3.6vw,48px); text-transform: uppercase; }
.ig__cta .at { color: var(--red); }

/* ============================================================
   FOOTER
   ============================================================ */
footer,
.site-footer {
  background: #070708 !important;
  border-top: 1px solid var(--line);
  padding-top: 70px; position: relative;
}
.foot__wm {
  font-family: var(--disp); font-size: clamp(60px,15vw,220px); line-height: .78;
  text-transform: uppercase; text-align: center;
  -webkit-text-stroke: 1px rgba(255,255,255,.12); color: transparent;
  padding: 0 20px; user-select: none; overflow: hidden;
}
.foot__wm em { font-style: normal; -webkit-text-stroke: 1px var(--red-deep); }
.foot__cols {
  max-width: 1480px; margin: 0 auto; padding: 60px 34px;
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 34px;
  border-top: 1px solid var(--line); margin-top: 30px;
}
.foot__cols h5 { font-family: var(--mono); font-size: 11px; letter-spacing: .2em; color: var(--red); margin-bottom: 18px; }
.foot__cols ul { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.foot__cols li a { font-size: 14px; letter-spacing: .05em; color: var(--muted); text-transform: uppercase; transition: color .18s; }
.foot__cols li a:hover { color: #fff; }
.foot__about p { font-size: 14px; line-height: 1.6; color: var(--muted); font-weight: 300; max-width: 300px; }
.foot__about .logo { margin-bottom: 18px; }
.foot__bot {
  max-width: 1480px; margin: 0 auto; padding: 24px 34px;
  border-top: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
}
.foot__bot p { font-family: var(--mono); font-size: 10px; letter-spacing: .14em; color: var(--muted-2); }
.foot__pay { display: flex; gap: 8px; }
.foot__pay span { font-family: var(--mono); font-size: 10px; letter-spacing: .1em; color: var(--muted); border: 1px solid var(--line); padding: 5px 10px; }

/* ============================================================
   CART DRAWER
   ============================================================ */
.scrim {
  position: fixed; inset: 0; z-index: 95;
  background: rgba(0,0,0,.6); backdrop-filter: blur(3px);
  opacity: 0; visibility: hidden; transition: .3s;
}
.scrim.on { opacity: 1; visibility: visible; }
.cart {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 96;
  width: 430px; max-width: 92vw; background: var(--bg-2); border-left: 1px solid var(--line);
  transform: translateX(100%); transition: transform .36s cubic-bezier(.4,0,.1,1); display: flex; flex-direction: column;
}
.cart.on { transform: translateX(0); }
.cart__head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 24px 26px; border-bottom: 1px solid var(--line);
}
.cart__head h3 { font-family: var(--disp); font-size: 28px; text-transform: uppercase; display: flex; align-items: baseline; gap: 10px; }
.cart__head .c { font-family: var(--mono); font-size: 13px; color: var(--red); }
.cart__close { width: 38px; height: 38px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--line); transition: .2s; }
.cart__close:hover { border-color: #fff; background: var(--bg-3); }
.cart__close svg { width: 16px; height: 16px; stroke: currentColor; stroke-width: 1.8; fill: none; }
.cart__ship { padding: 16px 26px; border-bottom: 1px solid var(--line); background: var(--bg-3); }
.cart__ship p { font-family: var(--mono); font-size: 10px; letter-spacing: .08em; color: var(--muted); margin-bottom: 9px; text-transform: uppercase; }
.cart__ship p b { color: #fff; }
.cart__bar { height: 4px; background: var(--bg); }
.cart__bar i { display: block; height: 100%; width: 0; background: var(--red); transition: width .45s cubic-bezier(.3,.7,.2,1); }
.cart__body { flex: 1; overflow-y: auto; padding: 22px 26px; }
.cart__sum .l  { font-family: var(--mono); font-size: 11px; letter-spacing: .16em; color: var(--muted); }
.cart__sum .v  { font-family: var(--disp); font-size: 34px; }
.cart__foot    { border-top: 1px solid var(--line); padding: 22px 26px; display: flex; flex-direction: column; gap: 16px; }
.cart__sum     { display: flex; align-items: baseline; justify-content: space-between; }
.cart__foot .btn { width: 100%; justify-content: center; }
.cart__note    { font-family: var(--mono); font-size: 10px; letter-spacing: .1em; color: var(--muted-2); text-align: center; }

/* ============================================================
   SEARCH OVERLAY
   ============================================================ */
.search {
  position: fixed; inset: 0; z-index: 110;
  background: rgba(8,8,10,.95); backdrop-filter: blur(12px);
  opacity: 0; visibility: hidden; transition: .3s;
  display: flex; flex-direction: column; overflow-y: auto;
}
.search.on { opacity: 1; visibility: visible; }
.search__bar {
  border-bottom: 1px solid var(--line);
  display: flex; align-items: center; gap: 20px; padding: 30px 34px;
  max-width: 1100px; margin: 0 auto; width: 100%;
}
.search__input {
  flex: 1; min-width: 0; background: none; border: none; outline: none;
  color: #fff; font-family: var(--disp); font-size: clamp(26px,4.6vw,52px);
  text-transform: uppercase; letter-spacing: .01em;
}
.search__input::placeholder { color: var(--muted-2); }

/* ============================================================
   TOASTS
   ============================================================ */
.toasts { position: fixed; right: 24px; bottom: 24px; z-index: 120; display: flex; flex-direction: column; gap: 10px; align-items: flex-end; }
.toast {
  background: var(--bg-3); border: 1px solid var(--line-2); border-left: 3px solid var(--red);
  padding: 13px 18px; display: flex; align-items: center; gap: 14px; min-width: 280px;
  transform: translateX(120%); opacity: 0; transition: .4s cubic-bezier(.3,1.2,.4,1);
  box-shadow: 0 18px 40px rgba(0,0,0,.5);
}
.toast.in { transform: none; opacity: 1; }

/* ============================================================
   MEGA MENU
   ============================================================ */
.mega {
  position: fixed; left: 0; right: 0; top: 74px; z-index: 65;
  background: var(--bg-2); border-bottom: 1px solid var(--line); border-top: 1px solid var(--line);
  box-shadow: 0 30px 60px rgba(0,0,0,.6);
  opacity: 0; visibility: hidden; transform: translateY(-12px); transition: .28s;
}
.mega.open { opacity: 1; visibility: visible; transform: translateY(0); }
.mega__inner { max-width: 1480px; margin: 0 auto; padding: 38px 34px 42px; display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 34px; }
.mega h4 { font-family: var(--mono); font-size: 11px; letter-spacing: .22em; color: var(--red); margin-bottom: 18px; }
.mega ul { list-style: none; display: flex; flex-direction: column; gap: 3px; }
.mega li a {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
  font-family: var(--disp); font-size: 21px; letter-spacing: .02em; text-transform: uppercase; color: var(--text);
  padding: 5px 0; transition: color .18s, padding-left .18s; border-bottom: 1px solid transparent;
}
.mega li a:hover { color: #fff; padding-left: 10px; }
.mega li a .n { font-family: var(--mono); font-size: 11px; font-weight: 400; letter-spacing: .1em; color: var(--muted-2); }
.mega li a:hover .n { color: var(--red); }
.mega__feature {
  position: relative; border: 1px solid var(--line); overflow: hidden;
  min-height: 260px; display: flex; flex-direction: column; justify-content: flex-end; padding: 24px;
}
.mega__feature .lbl { position: relative; font-family: var(--mono); font-size: 10px; letter-spacing: .2em; color: #cfcfd4; }
.mega__feature .ttl { position: relative; font-family: var(--disp); font-size: 34px; line-height: .9; text-transform: uppercase; margin-top: 6px; }

/* ============================================================
   MOBILE NAV DRAWER
   ============================================================ */
.nav__burger { display: none; width: 42px; height: 42px; align-items: center; justify-content: center; color: var(--text); }
.nav__burger span { position: relative; width: 20px; height: 2px; background: currentColor; display: block; transition: .2s; }
.nav__burger span::before, .nav__burger span::after { content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: currentColor; transition: .2s; }
.nav__burger span::before { top: -6px; } .nav__burger span::after { top: 6px; }
.mnav {
  position: fixed; top: 0; left: 0; bottom: 0; z-index: 96; width: 330px; max-width: 86vw;
  background: var(--bg-2); border-right: 1px solid var(--line);
  transform: translateX(-100%); transition: transform .34s cubic-bezier(.4,0,.1,1);
  display: flex; flex-direction: column; overflow-y: auto;
}
.mnav.on { transform: translateX(0); }
.mnav__head { display: flex; align-items: center; justify-content: space-between; padding: 22px 24px; border-bottom: 1px solid var(--line); }
.mnav__head img { height: 40px; filter: brightness(0) invert(1); }
.mnav__sec { padding: 22px 24px; border-bottom: 1px solid var(--line); }
.mnav__sec h4 { font-family: var(--mono); font-size: 10px; letter-spacing: .2em; color: var(--red); margin-bottom: 14px; }
.mnav__sec a { display: flex; align-items: center; justify-content: space-between; font-family: var(--disp); font-size: 24px; text-transform: uppercase; color: var(--text); padding: 7px 0; }
.mnav__sec a .n { font-family: var(--mono); font-size: 11px; color: var(--muted-2); }
.mnav__foot { padding: 22px 24px; margin-top: auto; display: flex; gap: 14px; }
.mnav__foot a { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; color: var(--muted); text-transform: uppercase; }

/* ============================================================
   BREADCRUMB
   ============================================================ */
.crumb {
  max-width: 1480px; margin: 0 auto; padding: 22px 34px 0;
  display: flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 11px; letter-spacing: .12em; color: var(--muted-2);
  text-transform: uppercase; flex-wrap: wrap;
}
.crumb a { color: var(--muted); transition: color .15s; } .crumb a:hover { color: #fff; }
.crumb .sep { opacity: .5; }
.crumb .cur { color: var(--red); }

/* ============================================================
   PAGE HEAD (category / product)
   ============================================================ */
.phead { position: relative; max-width: 1480px; margin: 0 auto; padding: 34px; overflow: hidden; }
.phead__emblem {
  position: absolute; right: 34px; top: 0; bottom: 0;
  display: flex; align-items: center;
  opacity: .07; pointer-events: none;
}
.phead__emblem img { height: 82%; max-height: 240px; width: auto; filter: brightness(0) invert(1); }
.phead .idx { font-family: var(--mono); font-size: 11px; letter-spacing: .2em; color: var(--red); display: block; margin-bottom: 12px; }
.phead h1   { font-family: var(--disp); font-size: clamp(46px,7vw,92px); line-height: .86; text-transform: uppercase; }
.phead p    { margin-top: 14px; max-width: 520px; font-size: 15px; line-height: 1.55; color: var(--muted); font-weight: 300; }

/* ============================================================
   CATEGORY PAGE: SHOP LAYOUT (filters + grid)
   ============================================================ */
.shop { max-width: 1480px; margin: 0 auto; padding: 0 34px 90px; display: grid; grid-template-columns: 264px 1fr; gap: 34px; align-items: start; }
.filters-side { position: sticky; top: 96px; border: 1px solid var(--line); background: var(--bg-2); }
.fil { border-bottom: 1px solid var(--line); padding: 22px; }
.fil:last-child { border-bottom: none; }
.fil h4 { font-family: var(--mono); font-size: 11px; letter-spacing: .18em; color: var(--text); margin-bottom: 16px; display: flex; align-items: center; justify-content: space-between; }
.fil h4 .clr { font-size: 9px; color: var(--muted-2); cursor: pointer; letter-spacing: .1em; }
.fil h4 .clr:hover { color: var(--red); }
.size-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; }
.size-grid button { font-family: var(--mono); font-size: 12px; font-weight: 700; padding: 11px 0; border: 1px solid var(--line); color: var(--muted); transition: .16s; }
.size-grid button:hover { border-color: var(--line-2); color: #fff; }
.size-grid button.on { background: #fff; border-color: #fff; color: #0a0a0c; }
.chk { display: flex; align-items: center; gap: 11px; padding: 7px 0; cursor: pointer; font-size: 14px; color: var(--muted); transition: color .15s; }
.chk:hover { color: #fff; }
.chk .box { width: 17px; height: 17px; border: 1px solid var(--line-2); display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: .15s; }
.chk .box svg { width: 11px; height: 11px; stroke: #0a0a0c; stroke-width: 3; fill: none; opacity: 0; }
.chk input:checked + .box { background: var(--red); border-color: var(--red); }
.chk input:checked + .box svg { opacity: 1; stroke: #fff; }
.chk .cnt { margin-left: auto; font-family: var(--mono); font-size: 10px; color: var(--muted-2); }
.price__vals { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 12px; color: #fff; margin-bottom: 14px; }
.price__slider { position: relative; height: 26px; }
.price__track { position: absolute; top: 11px; left: 0; right: 0; height: 3px; background: var(--bg); border-radius: 2px; }
.price__fill  { position: absolute; top: 11px; height: 3px; background: var(--red); border-radius: 2px; }
.price__slider input[type=range] { position: absolute; top: 0; left: 0; width: 100%; height: 26px; margin: 0; background: none; pointer-events: none; -webkit-appearance: none; appearance: none; }
.price__slider input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; pointer-events: auto; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 2px solid var(--red); cursor: pointer; }
.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 0 0 24px; flex-wrap: wrap; }
.toolbar__count { font-family: var(--mono); font-size: 12px; letter-spacing: .1em; color: var(--muted); }
.toolbar__count b { color: #fff; }
.sortbox { display: flex; align-items: center; gap: 10px; }
.sortbox label { font-family: var(--mono); font-size: 10px; letter-spacing: .14em; color: var(--muted-2); text-transform: uppercase; }
.sortbox select {
  font-family: var(--ui); font-weight: 500; font-size: 13px; letter-spacing: .04em; color: #fff;
  background: var(--bg-2); border: 1px solid var(--line-2); padding: 11px 36px 11px 14px;
  text-transform: uppercase; cursor: pointer; -webkit-appearance: none; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center;
}
.shop-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; padding-bottom: 18px; }
.chips .chip { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; background: var(--bg-3); border: 1px solid var(--line-2); padding: 7px 11px; color: var(--text); }

/* ============================================================
   PRODUCT DETAIL PAGE (PDP)
   ============================================================ */
.pdp { max-width: 1480px; margin: 0 auto; padding: 8px 34px 80px; display: grid; grid-template-columns: 1.1fr 1fr; gap: 54px; align-items: start; }
.pdp__gallery { display: grid; grid-template-columns: 84px 1fr; gap: 14px; position: sticky; top: 96px; }
.pdp__thumbs  { display: flex; flex-direction: column; gap: 10px; }
.pdp__thumb   { aspect-ratio: 1; border: 1px solid var(--line); overflow: hidden; background: var(--bg-2); opacity: .55; transition: .18s; position: relative; }
.pdp__thumb img { width: 100%; height: 100%; object-fit: cover; }
.pdp__thumb:hover { opacity: .85; }
.pdp__thumb.on    { opacity: 1; border-color: var(--red); }
.pdp__main { position: relative; aspect-ratio: 4/5; border: 1px solid var(--line); overflow: hidden; background: var(--bg-2); }
.pdp__main img { width: 100%; height: 100%; object-fit: cover; transition: opacity .25s; }
.pdp__badge   { position: absolute; top: 16px; left: 16px; z-index: 2; font-family: var(--mono); font-size: 10px; font-weight: 700; letter-spacing: .14em; background: var(--red); color: #fff; padding: 6px 11px; }
.pdp__favbig  { position: absolute; top: 14px; right: 14px; z-index: 2; width: 42px; height: 42px; border-radius: 50%; background: rgba(10,10,12,.6); display: flex; align-items: center; justify-content: center; color: #fff; transition: .18s; }
.pdp__favbig:hover, .pdp__favbig.on { color: var(--red); }
.pdp__favbig.on svg { fill: currentColor; }
.pdp__favbig svg { width: 19px; height: 19px; stroke: currentColor; stroke-width: 1.6; fill: none; }
.pdp__info    { padding-top: 6px; }
.pdp__cat     { font-family: var(--mono); font-size: 11px; letter-spacing: .2em; color: var(--red); text-transform: uppercase; }
.pdp__title   { font-family: var(--disp); font-size: clamp(38px,5vw,64px); line-height: .9; text-transform: uppercase; margin: 14px 0 16px; }
.pdp__price   { display: flex; align-items: baseline; gap: 14px; margin-bottom: 26px; }
.pdp__price .now  { font-family: var(--disp); font-size: 42px; color: #fff; line-height: 1; }
.pdp__price .old  { font-family: var(--mono); font-size: 18px; color: var(--muted-2); text-decoration: line-through; }
.pdp__price .save { font-family: var(--mono); font-size: 10px; font-weight: 700; letter-spacing: .12em; background: var(--red); color: #fff; padding: 5px 9px; }
.pdp__desc    { font-size: 16px; line-height: 1.6; color: #c9c7c4; font-weight: 300; margin-bottom: 30px; max-width: 520px; }
.pdp__sizes   { display: flex; gap: 9px; flex-wrap: wrap; }
.pdp__sizes button { min-width: 54px; font-family: var(--mono); font-size: 13px; font-weight: 700; padding: 13px 14px; border: 1px solid var(--line-2); color: var(--text); transition: .16s; }
.pdp__sizes button:hover { border-color: #fff; }
.pdp__sizes button.on { background: #fff; border-color: #fff; color: #0a0a0c; }
.pdp__buy  { display: flex; gap: 12px; align-items: stretch; margin-bottom: 18px; }
.pdp__qty  { display: flex; align-items: center; border: 1px solid var(--line-2); }
.pdp__qty button { width: 46px; height: 100%; display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: 18px; transition: .15s; }
.pdp__qty button:hover { color: #fff; background: var(--bg-3); }
.pdp__qty span { width: 44px; text-align: center; font-family: var(--mono); font-size: 15px; }
.pdp__buy .btn { flex: 1; justify-content: center; }
.pdp__stock { display: flex; align-items: center; gap: 9px; font-family: var(--mono); font-size: 11px; letter-spacing: .08em; color: var(--muted); margin-bottom: 30px; }
.pdp__stock .led { width: 8px; height: 8px; border-radius: 50%; background: #3fae5a; box-shadow: 0 0 10px 1px rgba(63,174,90,.6); }

/* Accordion */
.acc { border-top: 1px solid var(--line); }
.acc__item { border-bottom: 1px solid var(--line); }
.acc__h { width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 18px 2px; font-family: var(--ui); font-weight: 600; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: var(--text); text-align: left; }
.acc__h:hover { color: #fff; }
.acc__h .ic { width: 14px; height: 14px; position: relative; flex-shrink: 0; }
.acc__h .ic::before, .acc__h .ic::after { content: ""; position: absolute; background: var(--red); transition: .25s; }
.acc__h .ic::before { top: 6px; left: 0; width: 14px; height: 2px; }
.acc__h .ic::after  { top: 0; left: 6px; width: 2px; height: 14px; }
.acc__item.open .ic::after { transform: rotate(90deg); opacity: 0; }
.acc__c { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.acc__c .in { padding: 0 2px 22px; font-size: 15px; line-height: 1.6; color: var(--muted); font-weight: 300; }
.acc__c .in ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.acc__c .in li { display: flex; gap: 10px; }
.acc__c .in li::before { content: "—"; color: var(--red); }

/* Size Guide Modal */
.sgm { position: fixed; inset: 0; z-index: 115; display: flex; align-items: center; justify-content: center; padding: 24px; opacity: 0; visibility: hidden; transition: .25s; background: rgba(0,0,0,.7); backdrop-filter: blur(4px); }
.sgm.on { opacity: 1; visibility: visible; }
.sgm__box { background: var(--bg-2); border: 1px solid var(--line-2); max-width: 520px; width: 100%; padding: 30px; }
.sgm__box h3 { font-family: var(--disp); font-size: 30px; text-transform: uppercase; margin-bottom: 6px; }
.sgm table   { width: 100%; border-collapse: collapse; font-family: var(--mono); font-size: 13px; }
.sgm th, .sgm td { border: 1px solid var(--line); padding: 10px; text-align: center; color: var(--text); }
.sgm th { color: var(--red); font-weight: 700; font-size: 11px; letter-spacing: .1em; }

/* ============================================================
   REVEAL ANIMATION
   ============================================================ */
.rv { opacity: 0; transform: translateY(26px); transition: opacity .7s, transform .7s; }
.rv.in { opacity: 1; transform: none; }

/* ============================================================
   PLACEHOLDER BLOCKS (for when no real image is set)
   ============================================================ */
.ph {
  background-color: #101013;
  background-image: repeating-linear-gradient(135deg, #16161b 0 11px, #101013 11px 22px);
  position: relative; overflow: hidden;
}
.ph::after {
  content: attr(data-label); position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--mono); font-size: 10px; letter-spacing: .2em; color: var(--muted-2);
  text-transform: uppercase; text-align: center; padding: 14px;
}
.ph.red { background-image: repeating-linear-gradient(135deg, #1a0c0c 0 11px, #120a0a 11px 22px); }

/* ============================================================
   WOOCOMMERCE OVERRIDES
   ============================================================ */

/* Hide default WooCommerce styles that conflict */
.woocommerce-page .woocommerce-products-header,
.woocommerce-breadcrumb { display: none; }

/* WooCommerce price */
.woocommerce .price, .woocommerce-page .price {
  font-family: var(--mono) !important;
  color: #fff !important;
}
.woocommerce .price del, .woocommerce-page .price del {
  color: var(--muted-2) !important;
  font-size: .75em;
}
.woocommerce ins { text-decoration: none !important; }

/* WooCommerce add to cart button */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
  font-family: var(--ui) !important;
  font-weight: 600 !important;
  letter-spacing: .14em !important;
  text-transform: uppercase !important;
  background: var(--red) !important;
  color: #fff !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 14px 28px !important;
  transition: background .2s !important;
}
.woocommerce a.button:hover,
.woocommerce button.button:hover {
  background: var(--red-bright) !important;
  color: #fff !important;
}

/* WooCommerce notices */
.woocommerce-message,
.woocommerce-error,
.woocommerce-info {
  background: var(--bg-2) !important;
  border-top-color: var(--red) !important;
  color: var(--text) !important;
}

/* ============================================================
   ELEMENTOR OVERRIDES (ensure Spirit styles win)
   ============================================================ */
.elementor-section,
.e-con {
  background: transparent;
}

/* Spirit background for all pages */
.elementor-page .elementor,
.elementor-page .elementor-section-wrap {
  background: var(--bg);
}

/* Headings in Elementor use Spirit fonts */
.elementor-widget-heading h1,
.elementor-widget-heading h2,
.elementor-widget-heading h3 {
  font-family: var(--disp) !important;
  text-transform: uppercase;
  line-height: .88;
}

/* ============================================================
   CART DRAWER — ITEMS (рендеряться через JS)
   ============================================================ */
.cart__empty { display: none; text-align: center; padding: 40px 0; }
.cart__empty.show { display: block; }
.cart__empty p    { font-family: var(--disp); font-size: 24px; text-transform: uppercase; margin-bottom: 8px; }
.cart__empty span { font-size: 14px; color: var(--muted); font-weight: 300; }
.ci { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.ci:last-child { border-bottom: none; }
.ci__img   { width: 72px; height: 72px; flex-shrink: 0; overflow: hidden; background: var(--bg-3); }
.ci__media { width: 100%; height: 100%; object-fit: cover; }
.ci__mid   { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.ci__name  { font-family: var(--ui); font-weight: 600; font-size: 14px; letter-spacing: .04em; text-transform: uppercase; line-height: 1.2; color: var(--text); }
.ci__name:hover { color: #fff; }
.ci__qty   { display: inline-flex; align-items: center; border: 1px solid var(--line); width: max-content; }
.ci__qty button { width: 28px; height: 26px; display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: 15px; transition: .15s; }
.ci__qty button:hover { color: #fff; background: var(--bg-3); }
.ci__qty span { width: 30px; text-align: center; font-family: var(--mono); font-size: 12px; }
.ci__right { display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; gap: 8px; }
.ci__price { font-family: var(--mono); font-size: 13px; font-weight: 700; color: #fff; white-space: nowrap; }
.ci__rm    { font-family: var(--mono); font-size: 9px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); transition: color .15s; }
.ci__rm:hover { color: var(--red); }
.cart__ship p.done b { color: #3fae5a; }

/* ============================================================
   SEARCH OVERLAY — BODY
   ============================================================ */
.search__close {
  font-family: var(--mono); font-size: 10px; letter-spacing: .14em; color: var(--muted);
  border: 1px solid var(--line); padding: 10px 14px; white-space: nowrap; transition: .2s;
}
.search__close:hover { color: #fff; border-color: var(--line-2); }
.search__bar > svg { width: 26px; height: 26px; stroke: var(--red); stroke-width: 1.8; fill: none; flex-shrink: 0; }
.search__body {
  max-width: 1100px; margin: 0 auto; width: 100%;
  padding: 38px 34px; display: grid; grid-template-columns: 1fr 1fr; gap: 44px;
}
.search__col h4 { font-family: var(--mono); font-size: 11px; letter-spacing: .2em; color: var(--red); margin-bottom: 18px; text-transform: uppercase; }
.search__pop { display: flex; flex-direction: column; gap: 4px; }
.search__pop a {
  font-family: var(--disp); font-size: 24px; text-transform: uppercase; color: var(--text);
  padding: 6px 0; transition: color .15s, padding-left .15s;
  display: flex; align-items: baseline; gap: 12px;
}
.search__pop a:hover { color: #fff; padding-left: 10px; }
.search__pop a em { font-style: normal; font-family: var(--mono); font-size: 11px; letter-spacing: .1em; color: var(--muted-2); }
.search__tags { display: flex; flex-wrap: wrap; gap: 8px; }
.search__tags a {
  font-family: var(--ui); font-weight: 500; font-size: 13px; letter-spacing: .1em; text-transform: uppercase;
  border: 1px solid var(--line); color: var(--muted); padding: 10px 16px; transition: .18s;
}
.search__tags a:hover { color: #fff; border-color: var(--red); }

/* ============================================================
   TOASTS — INNER
   ============================================================ */
.toast__img   { width: 46px; height: 46px; flex-shrink: 0; overflow: hidden; background: var(--bg-2); }
.toast__media { width: 100%; height: 100%; object-fit: cover; }
.toast__t { font-family: var(--mono); font-size: 9px; letter-spacing: .16em; color: var(--red); margin-bottom: 4px; }
.toast__n { font-family: var(--ui); font-weight: 600; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; }

/* ============================================================
   HEADER — ICON SIZES
   Батьківська тема дає всім <button> padding 8px 16px — у кнопці 42px
   іконці лишалось 10px і svg стискався flex'ом. Тому: нульовий падінг,
   заборона стискання і фіксовані розміри з !important.
   ============================================================ */
#site-header .icon-btn {
  padding: 0 !important;
}
#site-header .icon-btn svg {
  flex-shrink: 0;
}
#site-header .spirit-search-btn svg,
#site-header .spirit-cart-btn svg {
  width: 25px !important;
  height: 25px !important;
}
#site-header .nav__icons a[aria-label="Instagram"] svg {
  width: 23px !important;
  height: 23px !important;
}

/* ============================================================
   HEADER — CATALOG BUTTON / MOBILE NAV CLOSE
   ============================================================ */
.cat-btn .chev { transition: transform .2s; }
.cat-btn.open .chev { transform: rotate(-135deg) translateY(-2px); }
.mnav__close {
  width: 38px; height: 38px; display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--line); transition: .2s;
}
.mnav__close:hover { border-color: #fff; background: var(--bg-3); }
.mnav__close svg { width: 15px; height: 15px; stroke: currentColor; stroke-width: 1.8; fill: none; }

/* ============================================================
   SHOP — FILTER TOGGLE (mobile), CHIPS, PAGINATION, SIZE ERROR
   ============================================================ */
.filter-toggle {
  display: none; align-items: center; gap: 10px;
  font-family: var(--ui); font-weight: 500; font-size: 13px; letter-spacing: .12em; text-transform: uppercase;
  border: 1px solid var(--line-2); color: var(--text); padding: 11px 18px; transition: .2s;
}
.filter-toggle:hover { border-color: #fff; }
.filters-side__head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 22px; border-bottom: 1px solid var(--line);
  font-family: var(--disp); font-size: 22px; text-transform: uppercase;
}
.chips .chip button { color: var(--muted); transition: color .15s; }
.chips .chip button:hover { color: var(--red); }
.pdp__sizeerr { display: none; font-family: var(--mono); font-size: 11px; letter-spacing: .1em; color: var(--red); margin: 10px 0 0; }
.pdp__sizeerr.show { display: block; }
.spirit-pagination { display: flex; gap: 8px; justify-content: center; padding: 38px 0 0; grid-column: 1/-1; }
.spirit-pagination .page-numbers {
  min-width: 44px; height: 44px; padding: 0 12px;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--mono); font-size: 13px; font-weight: 700;
  border: 1px solid var(--line); color: var(--muted); transition: .18s;
}
.spirit-pagination .page-numbers:hover { color: #fff; border-color: var(--line-2); }
.spirit-pagination .page-numbers.current { background: var(--red); border-color: var(--red); color: #fff; }
.shop-empty { grid-column: 1/-1; padding: 60px 0; text-align: center; }
.shop-empty p { font-family: var(--disp); font-size: 30px; text-transform: uppercase; margin-bottom: 10px; }
.shop-empty span { font-size: 14px; color: var(--muted); font-weight: 300; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .nav__links   { display: none; }
  .nav__burger  { display: flex; }
  .bento {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 185px 185px 185px 185px 160px;
    grid-template-areas:
      "fut kul"
      "fut kul"
      "ser hud"
      "shp hud"
      "brs brs";
    min-height: 0;
  }
  .prod-grid    { grid-template-columns: repeat(2,1fr); }
  .adv__grid    { grid-template-columns: repeat(2,1fr); }
  .foot__cols, .mega__inner { grid-template-columns: 1fr 1fr; }
  .ig__grid     { grid-template-columns: repeat(3,1fr); }
  .drop__grid   { grid-template-columns: 1fr; }
  .drop__media  { min-height: 320px; border-right: none; border-bottom: 1px solid var(--line); }
  .drop__info   { padding: 44px; }
  .shop         { grid-template-columns: 1fr; }
  .filters-side {
    position: fixed; top: 0; left: 0; bottom: 0; z-index: 97;
    width: 340px; max-width: 88vw; overflow-y: auto;
    transform: translateX(-100%); transition: transform .34s cubic-bezier(.4,0,.1,1);
    border-right: 1px solid var(--line);
  }
  .filters-side.on { transform: translateX(0); }
  .filter-toggle { display: inline-flex; }
  .shop-grid    { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 640px) {
  .nav          { padding: 0 16px; height: 64px; }
  .hero h1      { font-size: clamp(46px,15vw,72px); }
  .bento {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 230px 230px 130px 130px 130px;
    grid-template-areas:
      "fut fut"
      "kul kul"
      "hud ser"
      "hud shp"
      "brs brs";
    gap: 10px;
  }
  .sec-head     { flex-direction: column; align-items: flex-start; gap: 14px; padding: 64px 0 30px; }
  .adv__grid    { grid-template-columns: 1fr; }
  .adv__item    { border-right: none; border-bottom: 1px solid var(--line); padding: 34px 24px; }
  .foot__cols   { grid-template-columns: 1fr; gap: 30px; padding: 46px 20px; }
  .ig__grid     { grid-template-columns: repeat(2,1fr); }
  .wrap         { padding: 0 16px; }
  .rev          { min-width: 300px; max-width: 300px; }
  .shop         { padding: 0 16px 70px; }
  .crumb, .phead { padding-left: 16px; padding-right: 16px; }
  .pdp          { padding: 8px 16px 60px; grid-template-columns: 1fr; }
  .pdp__gallery { position: static; grid-template-columns: 1fr; }
  .pdp__thumbs  { flex-direction: row; overflow-x: auto; }
  .pdp__thumb   { width: 74px; flex-shrink: 0; }
  .hero__side   { display: none; }
  .shop-grid    { grid-template-columns: repeat(2,1fr); gap: 10px; }
  .search__body { grid-template-columns: 1fr; gap: 30px; padding: 28px 16px; }
  .search__bar  { padding: 22px 16px; }
}

@media (min-width: 1101px) {
  .nav__burger { display: none; }
  .filters-side__head { display: none; }
}
