/* TUTKU KIBRIS — premium black & red storefront */
:root {
  --bg: #070708;
  --bg-2: #0e0e10;
  --bg-3: #161618;
  --bg-4: #1e1e22;
  --card: #141416;
  --red: #c81e3a;
  --red-2: #e11d48;
  --red-3: #9f1239;
  --red-glow: rgba(200, 30, 58, 0.35);
  --gold: #c9a87c;
  --gold-2: #e8d5b0;
  --text: #f6f1ea;
  --text-2: #c8c0b6;
  --text-3: #8e877e;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  --radius: 16px;
  --header-h: 76px;
  --font-serif: "Cormorant Garamond", "Times New Roman", serif;
  --font-sans: "Outfit", "Segoe UI", system-ui, sans-serif;
  --max: 1280px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
html, body { background: var(--bg); color: var(--text); font-family: var(--font-sans); min-height: 100%; }
body { overflow-x: hidden; }
img { max-width: 100%; display: block; }
button, input, select { font-family: inherit; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: 0; background: none; color: inherit; }
ul { list-style: none; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }

.wrap { width: min(var(--max), calc(100% - 48px)); margin-inline: auto; }
.serif { font-family: var(--font-serif); }

/* —— Header —— */
.header {
  position: sticky; top: 0; z-index: 80;
  height: var(--header-h);
  display: flex; align-items: center;
  background: #0a0a0b;
  backdrop-filter: saturate(140%) blur(18px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  width: min(var(--max), calc(100% - 48px));
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
}
.nav { display: flex; gap: 2px; }
.nav a {
  font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase;
  font-weight: 500; color: var(--text-2);
  padding: 10px 12px; border-radius: 999px; transition: color .2s, background .2s;
}
.nav a:hover, .nav a.is-active { color: var(--text); background: rgba(255,255,255,0.05); }
.logo {
  display: flex; flex-direction: column; align-items: center; line-height: 1;
  justify-self: center;
}
.logo-mark {
  font-family: var(--font-serif);
  font-weight: 600; font-size: 28px; letter-spacing: 0.28em;
  text-indent: 0.28em;
}
.logo-mark span { color: var(--red-2); }
.logo-sub {
  font-size: 9px; letter-spacing: 0.46em; text-indent: 0.46em;
  color: var(--gold); text-transform: uppercase; margin-top: 4px; font-weight: 500;
}
.header-actions { display: flex; justify-content: flex-end; align-items: center; gap: 6px; }
.icon-btn {
  width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center;
  color: var(--text);
  position: relative;
  transition: background .2s;
}
.icon-btn:hover { background: rgba(255,255,255,0.06); }
.icon-btn svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.6; }
.badge {
  position: absolute; top: 4px; right: 4px;
  min-width: 16px; height: 16px; padding: 0 4px;
  background: var(--red); color: #fff; border-radius: 999px;
  font-size: 9px; font-weight: 600; display: grid; place-items: center;
}
.badge[hidden] { display: none !important; }
.menu-btn { display: none; }

/* Search overlay */
.search-panel {
  display: none; position: absolute; left: 0; right: 0; top: 100%;
  background: var(--bg-2); border-bottom: 1px solid var(--line);
  padding: 18px 0 22px; z-index: 70;
}
.search-panel.open { display: block; }
.search-row {
  width: min(var(--max), calc(100% - 48px)); margin: auto;
  display: flex; align-items: center; gap: 12px;
  border-bottom: 1px solid var(--line-2); padding-bottom: 8px;
}
.search-row input {
  flex: 1; background: transparent; border: 0; color: var(--text);
  font-size: 20px; font-family: var(--font-serif); outline: none; padding: 8px 0;
}
.search-row input::placeholder { color: var(--text-3); }
.search-results {
  width: min(var(--max), calc(100% - 48px)); margin: 16px auto 0;
  display: grid; gap: 8px; max-height: 360px; overflow: auto;
}

/* —— Hero —— */
.hero { position: relative; height: min(88vh, 820px); min-height: 560px; overflow: hidden; background: #000; }
.hero-slide {
  position: absolute; inset: 0; opacity: 0; pointer-events: none;
  transition: opacity 0.8s ease;
  display: grid; grid-template-columns: 1.05fr 0.95fr;
}
.hero-slide.is-active { opacity: 1; pointer-events: auto; z-index: 1; }
.hero-copy {
  display: flex; flex-direction: column; justify-content: center;
  padding: 80px 48px 80px clamp(32px, 8vw, 100px);
  position: relative; z-index: 2;
  background: linear-gradient(90deg, #070708 0%, #070708 55%, rgba(7,7,8,0.35) 85%, transparent 100%);
}
.hero-kicker {
  color: var(--gold); letter-spacing: 0.32em; text-transform: uppercase;
  font-size: 11px; font-weight: 500; margin-bottom: 18px;
}
.hero h1 {
  font-family: var(--font-serif); font-weight: 500; font-size: clamp(42px, 6vw, 82px);
  line-height: 0.95; letter-spacing: -0.02em; margin-bottom: 20px;
}
.hero h1 em { font-style: italic; color: var(--red-2); }
.hero-lead { color: var(--text-2); max-width: 420px; font-size: 16px; line-height: 1.6; margin-bottom: 32px; font-weight: 300; }
.hero-visual { position: relative; overflow: hidden; }
.hero-visual img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 10%;
  transform: scale(1.12); transform-origin: center 10%;
  filter: saturate(0.92) contrast(1.05);
}
.hero-visual::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, #070708 0%, transparent 28%),
              linear-gradient(0deg, #070708 0%, transparent 22%);
}
.hero-controls {
  position: absolute; bottom: 32px; left: clamp(32px, 8vw, 100px);
  display: flex; align-items: center; gap: 16px; z-index: 3;
}
.hero-dots { display: flex; gap: 8px; }
.hero-dots button {
  width: 28px; height: 3px; background: rgba(255,255,255,0.25); border-radius: 2px;
  transition: background .2s, width .2s;
}
.hero-dots button.is-active { background: var(--red-2); width: 42px; }
.hero-arrows { display: flex; gap: 8px; }
.hero-arrows button {
  width: 40px; height: 40px; border: 1px solid var(--line-2); border-radius: 50%;
  display: grid; place-items: center; color: var(--text-2);
  transition: border-color .2s, color .2s, background .2s;
}
.hero-arrows button:hover { border-color: var(--red); color: #fff; background: rgba(200,30,58,0.15); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 48px; padding: 0 26px;
  font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 500;
  border-radius: 999px; transition: transform .2s, background .2s, color .2s, border-color .2s, box-shadow .2s;
}
.btn:active { transform: translateY(1px); }
.btn-red { background: var(--red); color: #fff; box-shadow: 0 8px 24px var(--red-glow); }
.btn-red:hover { background: var(--red-2); }
.btn-ghost { border: 1px solid var(--line-2); color: var(--text); background: transparent; }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-2); }
.btn-gold { background: var(--gold); color: #1a1208; }
.btn-gold:hover { background: var(--gold-2); }
.btn-block { width: 100%; }
.btn[disabled] { opacity: 0.45; cursor: not-allowed; box-shadow: none; }

/* —— Sections —— */
.section { padding: 88px 0; }
.section-head {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 24px; margin-bottom: 36px;
}
.section-kicker {
  color: var(--red-2); letter-spacing: 0.28em; text-transform: uppercase;
  font-size: 11px; font-weight: 500; margin-bottom: 8px;
}
.section-title {
  font-family: var(--font-serif); font-size: clamp(32px, 4vw, 52px);
  font-weight: 500; letter-spacing: -0.02em; line-height: 1;
}
.section-link {
  font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--gold); border-bottom: 1px solid transparent; padding-bottom: 4px;
}
.section-link:hover { border-bottom-color: var(--gold); }

/* Categories */
.cat-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; grid-auto-rows: 280px; gap: 16px; }
.cat-card {
  position: relative; overflow: hidden; border-radius: 18px; display: block;
  background: var(--bg-3); min-height: 0;
}
.cat-card:first-child { grid-row: 1 / 3; }
.cat-card img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 8%;
  transform: scale(1.14); transform-origin: center 8%;
  transition: transform 0.7s ease; filter: brightness(0.72) saturate(0.9);
}
.cat-card:hover img { transform: scale(1.2); }
.cat-card figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 24px;
  background: linear-gradient(transparent, rgba(0,0,0,0.82));
}
.cat-card h3 { font-family: var(--font-serif); font-size: 32px; font-weight: 500; }
.cat-card p { color: var(--text-2); font-size: 13px; margin-top: 4px; letter-spacing: 0.06em; }

/* Product grid / cards */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px 18px;
}
.card {
  display: flex; flex-direction: column; position: relative;
}
.card-media {
  position: relative; aspect-ratio: 3 / 4; overflow: hidden;
  border-radius: 14px; background: var(--bg-3);
}
.card-media img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 8%;
  transform: scale(1.16); transform-origin: center 8%;
  transition: opacity .45s ease, transform .7s ease;
}
.card-media .img-hover { position: absolute; inset: 0; opacity: 0; }
.card:hover .img-hover { opacity: 1; }
.card:hover .img-main { transform: scale(1.22); }
.card-badges { position: absolute; top: 12px; left: 12px; display: flex; flex-direction: column; gap: 6px; z-index: 2; }
.pill {
  font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 600;
  padding: 5px 8px; border-radius: 999px; background: var(--red); color: #fff;
}
.pill-gold { background: var(--gold); color: #1a1208; }
.pill-muted { background: rgba(0,0,0,0.6); color: #fff; }
.quick-add {
  position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 2;
  height: 42px; border-radius: 999px;
  background: rgba(7,7,8,0.82); backdrop-filter: blur(10px);
  color: #fff; letter-spacing: 0.14em; text-transform: uppercase; font-size: 11px; font-weight: 500;
  opacity: 0; transform: translateY(8px); transition: opacity .25s, transform .25s;
  border: 1px solid var(--line-2);
}
.card:hover .quick-add { opacity: 1; transform: none; }
.quick-add:hover { background: var(--red); border-color: var(--red); }
.card-body { padding: 14px 4px 0; display: flex; flex-direction: column; gap: 6px; }
.card-cat { font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-3); }
.card-title {
  font-family: var(--font-serif); font-size: 18px; font-weight: 500; line-height: 1.25;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  min-height: 2.5em;
}
.card-price { display: flex; align-items: baseline; gap: 8px; font-size: 14px; }
.price-now { color: var(--text); font-weight: 500; }
.price-old { color: var(--text-3); text-decoration: line-through; font-size: 13px; }
.price-now.is-sale { color: var(--red-2); }

/* Promo band */
.promo-band {
  margin: 20px 0;
  background:
    radial-gradient(600px 200px at 10% 50%, rgba(200,30,58,0.28), transparent 60%),
    linear-gradient(90deg, #12080b, #1a0a0e 40%, #0c0c0e);
  border-block: 1px solid rgba(200,30,58,0.25);
  padding: 64px 0;
  text-align: center;
}
.promo-band h2 {
  font-family: var(--font-serif); font-size: clamp(32px, 5vw, 64px); font-weight: 500;
  margin: 10px 0 16px;
}
.promo-band p { color: var(--text-2); max-width: 560px; margin: 0 auto 28px; }

/* Shop layout */
.shop-hero { padding: 48px 0 12px; text-align: center; }
.shop-hero h1 { font-family: var(--font-serif); font-size: clamp(36px, 5vw, 64px); font-weight: 500; }
.shop-hero p { color: var(--text-3); margin-top: 8px; }
.shop-layout { display: grid; grid-template-columns: 260px 1fr; gap: 40px; padding-bottom: 80px; }
.filters {
  position: sticky; top: calc(var(--header-h) + 16px);
  max-height: calc(100vh - var(--header-h) - 32px); overflow: auto;
  padding-right: 8px;
}
.filter-group { border-top: 1px solid var(--line); padding: 18px 0; }
.filter-group h4 {
  font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase;
  margin-bottom: 14px; color: var(--text-2); font-weight: 500;
}
.filter-search { width: 100%; background: var(--bg-3); border: 1px solid var(--line); color: var(--text); border-radius: 10px; padding: 10px 12px; font-size: 14px; }
.filter-list { display: flex; flex-direction: column; gap: 8px; }
.filter-list label, .check {
  display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--text-2); cursor: pointer;
}
.filter-list input[type="checkbox"], .check input,
.filter-list input[type="radio"] { accent-color: var(--red); width: 15px; height: 15px; }
.filter-list input[type="radio"] {
  appearance: none; -webkit-appearance: none;
  width: 15px; height: 15px; border-radius: 50%;
  border: 1.5px solid var(--line-2); background: transparent;
  display: inline-grid; place-items: center; flex: 0 0 15px;
}
.filter-list input[type="radio"]:checked { border-color: var(--red); }
.filter-list input[type="radio"]:checked::after {
  content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--red);
}
.filter-count { margin-left: auto; color: var(--text-3); font-size: 12px; }
.price-inputs { display: flex; gap: 8px; align-items: center; margin-bottom: 10px; }
.price-inputs input {
  width: 100%; background: var(--bg-3); border: 1px solid var(--line); color: var(--text);
  border-radius: 8px; padding: 8px; font-size: 13px;
}
.range { width: 100%; accent-color: var(--red); }
.swatches { display: flex; flex-wrap: wrap; gap: 8px; }
.swatch {
  width: 22px; height: 22px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.2);
  cursor: pointer; position: relative; padding: 0;
}
.swatch.is-on { box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--gold); }
.size-pills { display: flex; flex-wrap: wrap; gap: 6px; }
.size-pill {
  min-width: 40px; height: 34px; padding: 0 10px; border: 1px solid var(--line-2);
  border-radius: 8px; font-size: 12px; color: var(--text-2);
}
.size-pill.is-on, .size-pill:hover { border-color: var(--red); color: #fff; background: rgba(200,30,58,0.15); }
.size-pill.is-disabled { opacity: 0.35; cursor: not-allowed; text-decoration: line-through; }
.shop-toolbar {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 20px; gap: 16px; flex-wrap: wrap;
}
.shop-toolbar select {
  background: var(--bg-3); color: var(--text); border: 1px solid var(--line);
  border-radius: 10px; padding: 10px 12px; font-size: 13px;
}
.clear-filters { color: var(--gold); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; }
.filter-toggle, .filter-close { display: none; }
.empty {
  text-align: center; padding: 80px 20px; color: var(--text-3);
  border: 1px dashed var(--line); border-radius: 16px;
}
.empty h3 { font-family: var(--font-serif); color: var(--text); font-size: 32px; margin-bottom: 8px; }

/* Product page */
.pdp { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; padding: 40px 0 80px; }
.gallery { display: grid; grid-template-columns: 72px 1fr; gap: 12px; }
.thumbs { display: flex; flex-direction: column; gap: 8px; max-height: 720px; overflow: auto; }
.thumbs button { border-radius: 10px; overflow: hidden; border: 1px solid transparent; aspect-ratio: 3/4; background: var(--bg-3); }
.thumbs button.is-on { border-color: var(--gold); }
.thumbs img, .main-photo img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 8%;
  transform: scale(1.16); transform-origin: center 8%;
}
.main-photo {
  aspect-ratio: 3/4; border-radius: 18px; overflow: hidden; background: var(--bg-3);
}
.pdp-info { position: sticky; top: calc(var(--header-h) + 24px); align-self: start; }
.crumbs { font-size: 12px; color: var(--text-3); letter-spacing: 0.06em; margin-bottom: 16px; }
.crumbs a:hover { color: var(--gold); }
.pdp-info h1 { font-family: var(--font-serif); font-size: clamp(28px, 3vw, 42px); font-weight: 500; line-height: 1.15; margin-bottom: 16px; }
.pdp-price { display: flex; align-items: baseline; gap: 12px; margin-bottom: 8px; }
.pdp-price .now { font-size: 26px; font-weight: 500; }
.pdp-price .old { color: var(--text-3); text-decoration: line-through; }
.pdp-price .off { color: var(--red-2); font-size: 13px; letter-spacing: 0.08em; }
.pdp-short { color: var(--text-2); line-height: 1.65; margin: 18px 0 24px; font-weight: 300; }
.option-label { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-3); margin: 18px 0 10px; display: flex; justify-content: space-between; }
.qty {
  display: inline-flex; align-items: center; border: 1px solid var(--line-2); border-radius: 999px; overflow: hidden; height: 48px;
}
.qty button { width: 44px; height: 48px; color: var(--text); }
.qty span { min-width: 28px; text-align: center; }
.pdp-actions { display: flex; gap: 10px; margin-top: 24px; }
.meta-row { margin-top: 22px; font-size: 13px; color: var(--text-3); display: flex; flex-direction: column; gap: 4px; }
.accordion { margin-top: 36px; border-top: 1px solid var(--line); }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-item button.head {
  width: 100%; text-align: left; padding: 16px 0;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase;
}
.acc-item .body { display: none; padding: 0 0 18px; color: var(--text-2); font-weight: 300; line-height: 1.7; font-size: 14px; }
.acc-item.open .body { display: block; }
.acc-item .body h3, .acc-item .body h4 { font-family: var(--font-serif); color: var(--text); margin: 14px 0 6px; text-transform: none; letter-spacing: 0; font-size: 20px; }
.acc-item .body ul { list-style: disc; padding-left: 18px; margin: 8px 0; }
.acc-item .body li { margin: 4px 0; }
.related { padding-bottom: 80px; }

/* Cart drawer */
.overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.55); z-index: 90;
  opacity: 0; pointer-events: none; transition: opacity .3s;
}
.overlay.open { opacity: 1; pointer-events: auto; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(420px, 100%);
  background: var(--bg-2); z-index: 100; transform: translateX(100%);
  transition: transform .35s ease; display: flex; flex-direction: column;
  border-left: 1px solid var(--line);
}
.drawer.open { transform: none; }
.drawer-head, .drawer-foot { padding: 20px 22px; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; }
.drawer-foot { border-bottom: 0; border-top: 1px solid var(--line); flex-direction: column; align-items: stretch; gap: 10px; }
.drawer-head h3 { font-family: var(--font-serif); font-size: 28px; font-weight: 500; }
.drawer-body { flex: 1; overflow: auto; padding: 12px 22px; }
.cart-item { display: grid; grid-template-columns: 88px 1fr auto; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.cart-item img { width: 88px; height: 118px; object-fit: cover; object-position: center 8%; transform: scale(1.16); transform-origin: center 8%; border-radius: 10px; background: var(--bg-3); }
.cart-item h4 { font-family: var(--font-serif); font-size: 17px; font-weight: 500; line-height: 1.25; }
.cart-item .meta { font-size: 12px; color: var(--text-3); margin: 4px 0 8px; }
.cart-item .remove { color: var(--text-3); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; }
.cart-item .remove:hover { color: var(--red-2); }
.totals { display: flex; justify-content: space-between; font-size: 15px; margin-bottom: 4px; }
.totals strong { font-size: 18px; }
.note { font-size: 12px; color: var(--text-3); text-align: center; }
.mobile-nav {
  display: none; position: fixed; inset: 0; background: var(--bg); z-index: 120;
  padding: 28px 28px 40px; flex-direction: column;
}
.mobile-nav.open { display: flex; }
.mobile-nav a { font-family: var(--font-serif); font-size: 36px; padding: 8px 0; border-bottom: 1px solid var(--line); }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 56px 0 28px; background: #050506; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 40px; }
.footer h4 { font-size: 11px; letter-spacing: 0.2em; color: var(--gold); margin-bottom: 16px; }
.footer a, .footer p { color: var(--text-2); font-size: 14px; line-height: 1.8; font-weight: 300; }
.footer a:hover { color: var(--text); }
.footer-bottom { border-top: 1px solid var(--line); padding-top: 18px; display: flex; justify-content: space-between; color: var(--text-3); font-size: 12px; }

/* Toast + modal */
.toast {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(20px);
  background: var(--bg-4); border: 1px solid var(--line-2); color: var(--text);
  padding: 12px 18px; border-radius: 999px; z-index: 200; opacity: 0; pointer-events: none;
  transition: .3s; font-size: 14px; box-shadow: var(--shadow);
}
.toast.show { opacity: 1; transform: translateX(-50%); }
.modal {
  position: fixed; inset: 0; z-index: 150; display: none; place-items: center; padding: 24px;
}
.modal.open { display: grid; }
.modal-card {
  background: var(--bg-2); border: 1px solid var(--line); border-radius: 20px;
  max-width: 460px; width: 100%; padding: 36px 32px; text-align: center; position: relative; z-index: 2;
}
.modal-card h3 { font-family: var(--font-serif); font-size: 32px; margin-bottom: 12px; }
.modal-card p { color: var(--text-2); line-height: 1.6; margin-bottom: 24px; }

/* Pagination */
.pager { display: flex; justify-content: center; gap: 8px; margin-top: 40px; flex-wrap: wrap; }
.pager button {
  min-width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 10px;
  color: var(--text-2);
}
.pager button.is-on, .pager button:hover { border-color: var(--red); color: #fff; background: rgba(200,30,58,0.2); }

/* Responsive */
@media (max-width: 1080px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .cat-grid { grid-template-columns: 1fr 1fr; grid-template-rows: 300px; grid-auto-rows: 220px; }
  .cat-card:first-child { grid-row: auto; grid-column: 1 / -1; }
  .pdp { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  :root { --header-h: 64px; }
  .wrap, .header-inner, .search-row, .search-results { width: min(100% - 28px, var(--max)); }
  .nav { display: none; }
  .menu-btn { display: grid; }
  .header-inner { display: flex; justify-content: space-between; }
  .logo { align-items: flex-start; }
  .logo-mark { font-size: 22px; letter-spacing: 0.22em; text-indent: 0; }
  .logo-sub { text-indent: 0; letter-spacing: 0.36em; }
  .hero { height: auto; min-height: 0; overflow: visible; }
  .hero-slide {
    position: relative; inset: auto; display: none;
    height: auto; opacity: 1; pointer-events: auto;
    flex-direction: column;
  }
  .hero-slide.is-active { display: flex; }
  .hero-visual { order: -1; height: 50vh; min-height: 320px; width: 100%; }
  .hero-copy {
    padding: 24px 22px 16px;
    background: linear-gradient(0deg, #070708 55%, rgba(7,7,8,0.7) 100%);
    margin-top: -80px; position: relative; z-index: 2;
  }
  .hero-visual::after { background: linear-gradient(0deg, #070708 0%, transparent 32%); }
  .hero-controls { position: relative; left: auto; top: auto; bottom: auto; margin: 4px 22px 8px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 16px 10px; }
  .quick-add { opacity: 1; transform: none; height: 36px; font-size: 10px; }
  .shop-layout { grid-template-columns: 1fr; }
  .filters {
    position: fixed; inset: 0 auto 0 0; width: min(360px, 92vw); background: var(--bg-2);
    z-index: 110; transform: translateX(-110%); transition: transform .3s;
    padding: 20px; max-height: 100%; border-right: 1px solid var(--line);
  }
  .filters.open { transform: none; }
  .filter-toggle, .filter-close { display: inline-flex; }
  .pdp { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .thumbs { flex-direction: row; max-height: none; overflow-x: auto; }
  .thumbs button { width: 64px; flex: 0 0 64px; }
  .pdp-info { position: static; }
  .pdp-actions { flex-direction: column; }
  .cat-grid { grid-template-rows: 260px; grid-auto-rows: 210px; }
  .section { padding: 56px 0; }
  .footer-grid, .footer-bottom { grid-template-columns: 1fr; }
  .card-title { font-size: 16px; }
}

/* ========== v2 polish ========== */
:root { --announce-h: 36px; }
.announce {
  position: sticky; top: 0; z-index: 90;
  height: var(--announce-h);
  background: linear-gradient(90deg, #7f1d1d, #c81e3a 40%, #9f1239 70%, #7f1d1d);
  color: #fff; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  display: flex; align-items: center; justify-content: center; gap: 18px;
  font-weight: 500; overflow: hidden; white-space: nowrap;
}
.announce span + span::before { content: "·"; margin-right: 18px; opacity: 0.7; }
.announce-short { display: none; }
.announce-full + .announce-full::before { content: "·"; margin-right: 18px; }
.header { top: var(--announce-h); }
.filters { top: calc(var(--header-h) + var(--announce-h) + 16px); max-height: calc(100vh - var(--header-h) - var(--announce-h) - 32px); }
.pdp-info { top: calc(var(--header-h) + var(--announce-h) + 24px); }

.logo-mark, .section-title, .hero h1 { text-wrap: balance; }
.card { transition: transform .35s ease; }
.card:hover { transform: translateY(-3px); }
.btn { position: relative; overflow: hidden; }
.btn-red:hover { box-shadow: 0 10px 28px var(--red-glow); }

/* Heart / wishlist */
.wish-btn {
  position: absolute; top: 10px; right: 10px; z-index: 3;
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(7,7,8,0.62); backdrop-filter: blur(8px);
  display: grid; place-items: center; color: #fff;
  border: 1px solid var(--line);
  transition: background .2s, color .2s, transform .2s;
}
.wish-btn:hover { background: rgba(200,30,58,0.85); transform: scale(1.06); }
.wish-btn.is-on { background: var(--red); color: #fff; border-color: var(--red); }
.wish-btn svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 1.6; }
.wish-btn.is-on svg { fill: currentColor; }

/* Carousels */
.carousel { position: relative; }
.carousel-track {
  display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: none; padding: 4px 2px 16px;
}
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-track .card { flex: 0 0 calc(25% - 14px); min-width: 220px; scroll-snap-align: start; }
.carousel-nav {
  display: flex; gap: 8px;
}
.carousel-nav button {
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-2);
  display: grid; place-items: center; color: var(--text-2);
  transition: border-color .2s, color .2s, background .2s;
}
.carousel-nav button:hover { border-color: var(--red); color: #fff; background: rgba(200,30,58,0.15); }

/* Campaign banners */
.campaigns { display: grid; grid-template-columns: 1.2fr 1fr; gap: 16px; }
.campaign {
  position: relative; overflow: hidden; border-radius: 18px; min-height: 280px;
  display: flex; align-items: flex-end; color: #fff;
}
.campaign img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center 10%;
  transform: scale(1.12); transform-origin: center 8%;
  filter: brightness(0.62) saturate(0.95);
  transition: transform .8s ease;
}
.campaign:hover img { transform: scale(1.18); }
.campaign .copy { position: relative; z-index: 1; padding: 32px 28px; }
.campaign h3 { font-family: var(--font-serif); font-size: 34px; font-weight: 500; margin: 6px 0 10px; }
.campaign p { color: var(--text-2); margin-bottom: 16px; max-width: 340px; font-weight: 300; }

/* Trust */
.trust {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
  padding: 8px 0 0;
}
.trust-item {
  border: 1px solid var(--line); border-radius: 14px; padding: 22px 18px;
  text-align: center; background: var(--bg-2);
}
.trust-item strong { display: block; font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 6px; }
.trust-item p { color: var(--text-3); font-size: 13px; font-weight: 300; line-height: 1.5; }
.trust-ico { width: 28px; height: 28px; margin: 0 auto 10px; color: var(--gold); }

/* Quick view */
.qv {
  position: fixed; inset: 0; z-index: 140; display: none; place-items: center; padding: 24px;
}
.qv.open { display: grid; }
.qv-card {
  background: var(--bg-2); border: 1px solid var(--line); border-radius: 20px;
  width: min(920px, 100%); max-height: min(86vh, 800px); overflow: auto;
  display: grid; grid-template-columns: 1fr 1fr; position: relative; z-index: 2;
}
.qv-photo { background: var(--bg-3); min-height: 420px; overflow: hidden; }
.qv-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 8%; transform: scale(1.14); transform-origin: center 8%; }
.qv-body { padding: 28px 26px; overflow: auto; }
.qv-close { position: absolute; top: 12px; right: 12px; z-index: 3; }

/* Checkout */
.checkout { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; padding: 40px 0 80px; }
.form-grid { display: grid; gap: 14px; }
.field label { display: block; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-3); margin-bottom: 6px; }
.field input, .field textarea, .field select {
  width: 100%; background: var(--bg-3); border: 1px solid var(--line); color: var(--text);
  border-radius: 10px; padding: 12px 14px; font-size: 15px;
}
.field textarea { min-height: 90px; resize: vertical; }
.field .err { color: var(--red-2); font-size: 12px; margin-top: 4px; display: none; }
.field.has-err input, .field.has-err textarea { border-color: var(--red); }
.field.has-err .err { display: block; }
.summary {
  background: var(--bg-2); border: 1px solid var(--line); border-radius: 18px; padding: 24px;
  position: sticky; top: calc(var(--header-h) + var(--announce-h) + 24px);
}
.summary h3 { font-family: var(--font-serif); font-size: 28px; font-weight: 500; margin-bottom: 16px; }
.summary-item { display: grid; grid-template-columns: 64px 1fr auto; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); align-items: center; }
.summary-item img { width: 64px; height: 84px; object-fit: cover; object-position: center 8%; border-radius: 8px; }
.success-box { text-align: center; padding: 64px 20px; }
.success-box h1 { font-family: var(--font-serif); font-size: 48px; font-weight: 500; margin: 12px 0; }
.ph { color: var(--text-3); font-style: italic; font-size: 12px; }

/* Breadcrumb bar on shop */
.shop-crumbs { font-size: 12px; color: var(--text-3); margin-bottom: 8px; }
.shop-crumbs a:hover { color: var(--gold); }

/* Load more */
.load-more { display: flex; justify-content: center; margin-top: 28px; }

/* Icon badge for header wish */
.header-actions .icon-btn .badge { min-width: 16px; }

/* Footer placeholders */
.footer .ph-block { margin-top: 8px; font-size: 12px; color: var(--text-3); line-height: 1.6; }

/* Skeleton */
.skel { background: linear-gradient(90deg, var(--bg-3) 25%, var(--bg-4) 50%, var(--bg-3) 75%); background-size: 200% 100%; animation: shimmer 1.2s infinite; border-radius: 14px; }
@keyframes shimmer { to { background-position: -200% 0; } }

@media (max-width: 1080px) {
  .campaigns, .checkout, .qv-card, .trust { grid-template-columns: 1fr 1fr; }
  .carousel-track .card { flex-basis: calc(33.33% - 12px); }
}
@media (max-width: 860px) {
  .announce { letter-spacing: 0.08em; font-size: 10px; padding: 0 12px; }
  .announce-full { display: none; }
  .announce-short { display: inline; }
  .announce span + span::before { content: none; margin: 0; }
  .campaigns, .checkout, .qv-card, .trust { grid-template-columns: 1fr; }
  .trust { gap: 10px; }
  .carousel-track .card { flex-basis: calc(70% - 8px); min-width: 200px; }
  .summary { position: static; }
  .card:hover { transform: none; }
}


/* Floating WhatsApp */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 70;
  display: flex; align-items: center; gap: 10px;
  height: 56px; padding: 0 18px 0 16px;
  background: #25D366; color: #073b1a;
  border-radius: 999px; box-shadow: 0 10px 30px rgba(37, 211, 102, 0.35);
  font-size: 13px; font-weight: 600; letter-spacing: 0.04em;
  transition: transform .2s, box-shadow .2s;
}
.wa-float:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(37, 211, 102, 0.45); color: #04280f; }
.wa-float .wa-svg { width: 26px; height: 26px; stroke: none; fill: currentColor; }
.wa-label { text-transform: none; letter-spacing: 0.02em; }

/* Checkout steps & payment */
.checkout-steps {
  display: flex; gap: 8px; list-style: none; margin: 8px 0 28px; padding: 0; flex-wrap: wrap;
}
.checkout-steps li {
  display: flex; align-items: center; gap: 8px;
  color: var(--text-3); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase;
}
.checkout-steps li + li::before { content: "—"; margin-right: 8px; color: var(--line-2); }
.checkout-steps .step-n {
  width: 24px; height: 24px; border-radius: 50%;
  display: inline-grid; place-items: center;
  border: 1px solid var(--line-2); font-size: 11px;
}
.checkout-steps li.is-on { color: var(--text); }
.checkout-steps li.is-on .step-n { background: var(--red); border-color: var(--red); color: #fff; }
.checkout-steps li.is-done { color: var(--gold); }
.checkout-steps li.is-done .step-n { border-color: var(--gold); color: var(--gold); }
.checkout-lead { color: var(--text-3); margin-bottom: 24px; }
.checkout-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 8px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.pay-methods { display: grid; gap: 10px; margin-bottom: 18px; }
.pay-option {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 18px; border: 1px solid var(--line-2); border-radius: 14px;
  background: var(--bg-3); position: relative;
}
.pay-option.is-on { border-color: var(--red); box-shadow: 0 0 0 1px var(--red); }
.pay-option.is-disabled { opacity: 0.72; cursor: not-allowed; }
.pay-option input { accent-color: var(--red); }
.pay-option strong { display: block; font-size: 15px; }
.pay-option em { display: block; font-style: normal; color: var(--text-3); font-size: 13px; margin-top: 2px; }
.yakinda {
  margin-left: auto; background: var(--gold); color: #1a140c;
  font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 700;
  padding: 5px 10px; border-radius: 999px;
}
.iban-box {
  background: var(--bg-2); border: 1px solid var(--line); border-radius: 16px;
  padding: 8px 18px 14px; margin-bottom: 18px;
}
.iban-row {
  display: grid; grid-template-columns: 160px 1fr auto; gap: 8px; align-items: center;
  padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14px;
}
.iban-row:last-of-type { border-bottom: 0; }
.iban-row span { color: var(--text-3); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; }
.iban-row strong { word-break: break-all; }
.btn-copy {
  border: 1px solid var(--line-2); border-radius: 999px; padding: 6px 12px;
  font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold);
}
.btn-copy:hover { border-color: var(--gold); }
.dekont-status { margin-top: 8px; font-size: 13px; color: var(--text-2); }
.wa-redirect h2 { font-family: var(--font-serif); font-size: 32px; font-weight: 500; margin: 8px 0 12px; }
.wa-preview {
  width: 100%; min-height: 220px; background: var(--bg-3); border: 1px solid var(--line);
  color: var(--text); border-radius: 12px; padding: 14px; font-size: 14px; line-height: 1.55; resize: vertical;
}
@media (max-width: 860px) {
  main { padding-bottom: 72px; }
  .checkout { padding-bottom: 110px; }
  .wa-float { right: 14px; bottom: 14px; padding: 0; width: 56px; height: 56px; justify-content: center; }
  .wa-float .wa-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .field-row, .iban-row { grid-template-columns: 1fr; }
  .iban-row .btn-copy { justify-self: start; }
  .checkout-steps { gap: 6px; }
  .checkout-steps .step-l { display: none; }
  .checkout-steps li.is-on .step-l { display: inline; }
}

.line-price { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; text-align: right; }
.line-price .off { color: var(--red-2); font-size: 11px; letter-spacing: .06em; }
.card-price, .pdp-price { flex-wrap: wrap; }

.totals-stack { display: flex; flex-direction: column; gap: 6px; }
.totals-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 14px; color: var(--text-2); }
.totals-row.is-total { color: var(--text); font-size: 16px; margin-top: 4px; padding-top: 8px; border-top: 1px solid var(--line); }
.totals-row.is-total strong { font-size: 18px; }
.ship-note { font-size: 12px; color: var(--gold); text-align: center; margin: 4px 0 0; }
.ship-warn { font-size: 13px; color: var(--red-2); text-align: center; margin: 4px 0 0; font-weight: 500; }
#checkout-btn:disabled, #checkout-btn[aria-disabled="true"] { opacity: .45; pointer-events: none; cursor: not-allowed; }
