/* ============================================================
   Webbing — стрічка текстильна
   Глобальні стилі. Montserrat, без негативного letter-spacing.
   ============================================================ */

* { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #F6F3EC;
  --bg-2: #EFEAE0;
  --paper: #FBF9F4;
  --ink: #171715;
  --ink-2: #3A3A36;
  --muted: #7A7770;
  --line: #DDD6C6;
  --line-2: #E7E1D2;
  --green: #3E5B3A;
  --green-deep: #2A3F26;
  --copper: #C56D3C;
  --copper-deep: #A05528;
  --ok: #4A6E3A;
  --red: #C04A3A;
  --max: 1440px;

  --f-body: 'Montserrat', system-ui, sans-serif;
  --f-display: 'Montserrat', system-ui, sans-serif;
  --f-mono: 'Montserrat', system-ui, sans-serif;
}

html, body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
}
body.lock { overflow: hidden; }

a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
input, select, textarea { font: inherit; color: inherit; }
img, svg { display: block; max-width: 100%; }
ul { list-style: none; }
h1, h2, h3, h4 { font-weight: 700; line-height: 1.05; }

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 32px;
  width: 100%;
}

/* === Typography helpers (no negative letter-spacing anywhere) === */
.eyebrow {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ''; width: 24px; height: 1px; background: var(--ink-2); }
.h-display { font-family: var(--f-display); font-weight: 700; line-height: 1.02; }
.h-1 { font-size: clamp(40px, 6.4vw, 88px); }
.h-2 { font-size: clamp(30px, 4vw, 56px); }
.h-3 { font-size: clamp(22px, 2vw, 30px); }
.lead { font-size: 17px; color: var(--ink-2); }

/* === Top utility bar === */
.utility {
  background: var(--ink);
  color: #E8E2D2;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.utility .row {
  max-width: var(--max);
  margin: 0 auto;
  padding: 8px 32px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.utility .marquee { display: flex; gap: 32px; opacity: 0.85; flex-wrap: wrap; }
.utility .right { display: flex; gap: 24px; }
.utility a:hover { color: #fff; }

/* === Header === */
.header {
  position: sticky; top: 0; z-index: 40;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.header .row {
  max-width: var(--max);
  margin: 0 auto;
  padding: 18px 32px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand .logo {
  width: 40px; height: 40px;
  background: var(--ink); color: var(--bg);
  display: grid; place-items: center;
  font-family: var(--f-mono);
  font-weight: 700; font-size: 18px;
}
.brand .name { font-weight: 700; font-size: 22px; line-height: 1; }
.brand small {
  display: block;
  font-family: var(--f-mono);
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 4px;
}
.search {
  display: flex; align-items: center; gap: 10px;
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 10px 14px;
  border-radius: 999px;
}
.search input { flex: 1; border: 0; background: transparent; outline: none; font-size: 14px; }
.search .kbd { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.1em; color: var(--muted); }

.header-actions { display: flex; align-items: center; gap: 6px; }
.icon-btn {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 999px;
  border: 1px solid transparent;
  position: relative;
}
.icon-btn:hover { background: var(--paper); border-color: var(--line); }
.icon-btn .badge {
  position: absolute; top: 4px; right: 4px;
  background: var(--copper); color: #fff;
  font-family: var(--f-mono);
  font-size: 10px;
  padding: 2px 5px;
  border-radius: 999px;
  min-width: 18px;
  text-align: center;
}
.phone-cta {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 16px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
}
.phone-cta:hover { background: var(--ink); color: var(--bg); }

.hamburger { display: none; }

/* === Nav row (categories) === */
.nav {
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}
.nav .row {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
}
.nav a {
  padding: 14px 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-2);
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}
.nav a:hover { color: var(--ink); }
.nav a.active { color: var(--ink); border-bottom-color: var(--ink); }
.nav .spacer { flex: 1; }
.nav .extra a {
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 14px 12px;
}

/* === Mobile menu === */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw;
  max-width: 100vw;
  background: var(--bg);
  z-index: 80;
  display: none;
  flex-direction: column;
}
.mobile-menu.open { display: flex; }
.mobile-menu .top {
  padding: 18px 20px;
  display: flex; justify-content: space-between; align-items: center;
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}
.mobile-menu .top .close-btn {
  flex-shrink: 0;
  display: grid; place-items: center;
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--ink); color: var(--bg);
  position: relative;
  z-index: 5;
}
.mobile-menu .top .close-btn:hover { background: var(--copper); }
.mobile-menu .body { flex: 1; overflow-y: auto; padding: 20px; }
.mobile-menu .body h4 {
  font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--muted); margin: 24px 0 12px;
}
.mobile-menu .body h4:first-child { margin-top: 0; }
.mobile-menu .body a {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 14px 0;
  font-size: 17px;
  font-weight: 600;
  border-bottom: 1px solid var(--line-2);
}
.mobile-menu .body a .t {
  flex: 1 1 auto;
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.mobile-menu .body a .r {
  flex: 0 0 auto;
  color: var(--muted);
}
.mobile-menu .foot {
  padding: 20px 24px;
  border-top: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 10px;
}

/* === Buttons === */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  transition: transform 0.12s, background 0.15s, color 0.15s, border-color 0.15s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--ink); color: var(--bg); }
.btn-primary:hover { background: var(--green-deep); }
.btn-ghost { border: 1px solid var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--bg); }
.btn-copper { background: var(--copper); color: #fff; }
.btn-copper:hover { background: var(--copper-deep); }
.btn-block { width: 100%; justify-content: center; }
.btn-lg { padding: 18px 28px; font-size: 15px; }
.btn-sm { padding: 8px 14px; font-size: 13px; }

/* === HERO === */
.hero { padding: 56px 0 0; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: end;
  padding-bottom: 64px;
  border-bottom: 1px solid var(--line);
}
.hero h1 .accent { font-style: italic; color: var(--green); }
.hero h1 .underline {
  display: inline-block;
  border-bottom: 6px solid var(--copper);
  padding-bottom: 4px;
}
.hero-tag { margin-top: 28px; font-size: 18px; color: var(--ink-2); max-width: 480px; }
.hero-cta { display: flex; gap: 12px; margin-top: 32px; flex-wrap: wrap; }
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
  max-width: 560px;
}
.hero-stats .num {
  font-family: var(--f-display);
  font-size: 38px;
  font-weight: 700;
}
.hero-stats .lbl {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 4px;
}
.hero-img {
  position: relative;
  aspect-ratio: 4/5;
  background: var(--green-deep);
  overflow: hidden;
}
.hero-img image-slot {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
}
.hero-img .tag {
  position: absolute; top: 24px; left: 24px;
  z-index: 5;
  background: rgba(0,0,0,0.6);
  color: #fff;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 8px 14px;
  display: flex; align-items: center; gap: 10px;
}
.hero-img .tag .dot { width: 8px; height: 8px; background: var(--copper); border-radius: 50%; }
.hero-img .meta {
  position: absolute; bottom: 0; left: 0; right: 0;
  z-index: 5;
  padding: 24px;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,0.75));
  color: #fff;
  display: flex; justify-content: space-between; align-items: end; gap: 16px;
}
.hero-img .meta .name { font-family: var(--f-display); font-size: 22px; font-weight: 700; line-height: 1.15; }
.hero-img .meta .price { font-family: var(--f-mono); font-size: 13px; white-space: nowrap; }

/* === Sections === */
.section-head {
  display: flex; align-items: end; justify-content: space-between; gap: 24px;
  padding: 88px 0 32px;
  flex-wrap: wrap;
}
.section-head .right {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

/* === Categories grid === */
.categories {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.cat-card {
  background: var(--paper);
  padding: 28px;
  display: flex; flex-direction: column;
  gap: 20px;
  min-height: 280px;
  text-align: left;
}
.cat-card:hover { background: var(--bg-2); }
.cat-card .swatches {
  display: flex; gap: 4px; height: 16px;
}
.cat-card .swatches span {
  flex: 1;
  border-radius: 3px;
}
.cat-card .index {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--muted);
  text-transform: uppercase;
}
.cat-card h3 {
  font-family: var(--f-display);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.15;
}
.cat-card .row-bottom {
  margin-top: auto;
  display: flex; align-items: center; justify-content: space-between;
  font-family: var(--f-mono);
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.cat-card .arr {
  width: 32px; height: 32px;
  border-radius: 999px;
  background: var(--ink); color: var(--paper);
  display: grid; place-items: center;
  transition: transform 0.15s;
}
.cat-card:hover .arr { transform: translateX(4px); }

/* === Advantages === */
.advantages {
  background: var(--ink);
  color: var(--bg);
  padding: 96px 0 120px;
  margin-top: 96px;
}
.adv-head { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: end; margin-bottom: 56px; }
.adv-head .eyebrow { color: rgba(246,243,236,0.6); }
.adv-head .eyebrow::before { background: rgba(246,243,236,0.5); }
.adv-head h2 { margin-top: 16px; color: var(--bg); }
.adv-head p { color: rgba(246,243,236,0.7); font-size: 17px; max-width: 480px; }
.adv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.1); }
.adv-card { background: var(--ink); padding: 36px 32px; min-height: 220px; display: flex; flex-direction: column; gap: 16px; }
.adv-card .n { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.14em; color: rgba(246,243,236,0.5); }
.adv-card .t { font-family: var(--f-display); font-size: 22px; font-weight: 700; }
.adv-card .b { color: rgba(246,243,236,0.7); font-size: 14px; }

/* === T-DURA strip === */
.tdura { background: var(--green-deep); color: #F0EBD8; padding: 96px 0; }
.tdura .container { display: grid; grid-template-columns: 1fr 1.2fr; gap: 64px; align-items: center; }
.tdura .badge-big {
  font-family: var(--f-display);
  font-size: clamp(64px, 11vw, 140px);
  line-height: 0.9;
  font-weight: 700;
}
.tdura .badge-big .x2 {
  background: var(--copper);
  color: #fff;
  display: inline-block;
  padding: 0 16px;
  margin-left: 8px;
}
.tdura p { font-size: 17px; opacity: 0.85; max-width: 580px; }
.tdura p + p { margin-top: 16px; }
.tdura .ovis {
  display: inline-block;
  margin-top: 24px;
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  padding: 8px 14px;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 999px;
}

/* === Why us === */
.whyus { padding: 120px 0; }
.whyus-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 80px; }
.whyus-list .item {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
}
.whyus-list .item:last-child { border-bottom: 1px solid var(--line); }
.whyus-list .num { font-family: var(--f-mono); font-size: 12px; color: var(--muted); letter-spacing: 0.1em; }
.whyus-list .k { font-family: var(--f-display); font-size: 28px; font-weight: 700; }
.whyus-list .v { font-family: var(--f-mono); font-size: 12px; color: var(--muted); letter-spacing: 0.06em; text-align: right; }

/* === Products grid === */
.products {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.product-card {
  background: var(--paper);
  display: flex; flex-direction: column;
}
.product-card:hover { background: var(--bg-2); }
.product-card .image {
  position: relative;
  aspect-ratio: 1;
  background: var(--bg);
  overflow: hidden;
}
.product-card .image image-slot {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
}
.product-card .pbadge {
  position: absolute; top: 12px; left: 12px;
  background: var(--ink); color: var(--paper);
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  padding: 6px 10px;
  z-index: 3;
}
.product-card .pnew {
  position: absolute; top: 12px; right: 12px;
  background: var(--copper); color: #fff;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  padding: 6px 10px;
  z-index: 3;
}
.product-card .body { padding: 20px 20px 24px; display: flex; flex-direction: column; gap: 8px; }
.product-card .cat {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--muted);
  text-transform: uppercase;
}
.product-card .name {
  font-family: var(--f-display);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.2;
  min-height: 40px;
}
.product-card .short { font-size: 13px; color: var(--ink-2); }
.product-card .foot {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 12px;
  padding-top: 16px;
  border-top: 1px dashed var(--line);
}
.product-card .price { font-family: var(--f-display); font-size: 20px; font-weight: 700; }
.product-card .price .unit { font-family: var(--f-mono); font-size: 11px; color: var(--muted); font-weight: 500; margin-left: 4px; letter-spacing: 0.06em; }
.product-card .add {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--ink); color: var(--paper);
  display: grid; place-items: center;
  transition: background 0.15s, transform 0.15s;
}
.product-card:hover .add { background: var(--copper); transform: rotate(45deg); }

/* === Footer === */
.footer {
  background: var(--ink);
  color: rgba(246,243,236,0.7);
  padding: 0 0 32px;
  margin-top: 96px;
}
.footer .pre {
  padding: 64px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer .pre .container {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center;
}
.footer .pre h3 { word-break: break-word; }
.footer .pre p { word-break: break-word; }
.footer .pre h3 { font-family: var(--f-display); font-weight: 700; color: var(--bg); font-size: clamp(28px, 3vw, 44px); line-height: 1.1; }
.footer .pre p { color: rgba(246,243,236,0.7); font-size: 16px; margin-top: 16px; }
.footer .pre .images { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.footer .pre .images image-slot { aspect-ratio: 1; }
.footer .top {
  padding: 64px 0;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer h3 { overflow-wrap: anywhere; }
.footer p, .footer ul li { overflow-wrap: anywhere; }
.footer h4 {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(246,243,236,0.5);
  margin-bottom: 20px;
}
.footer ul { display: flex; flex-direction: column; gap: 10px; }
.footer a:hover { color: #fff; }
.footer .brand .name { color: var(--bg); font-size: 22px; }
.footer .brand .logo { background: var(--copper); color: #fff; }
.footer .brand-tag { margin-top: 16px; color: rgba(246,243,236,0.7); font-size: 14px; max-width: 360px; }
.footer .bottom {
  padding-top: 32px;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  flex-wrap: wrap;
}

/* === Breadcrumbs === */
.crumbs {
  padding: 24px 0;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex; gap: 8px; align-items: center; flex-wrap: wrap;
}
.crumbs a:hover { color: var(--ink); }
.crumbs .sep { opacity: 0.5; }

/* === Product Detail Page === */
.pdp { padding-bottom: 96px; }
.pdp-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: start; }
.pdp-gallery .main { background: var(--green-deep); aspect-ratio: 1; position: relative; overflow: hidden; }
.pdp-gallery .main image-slot { position: absolute; inset: 0; width: 100%; height: 100%; }
.pdp-gallery .badges { position: absolute; top: 16px; left: 16px; display: flex; gap: 8px; z-index: 3; }
.pdp-gallery .b {
  background: rgba(255,255,255,0.95);
  color: var(--ink);
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  padding: 8px 14px;
}
.pdp-gallery .thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 8px; }
.pdp-gallery .thumb { aspect-ratio: 1; background: var(--bg-2); border: 1px solid var(--line); position: relative; overflow: hidden; cursor: pointer; }
.pdp-gallery .thumb image-slot { position: absolute; inset: 0; width: 100%; height: 100%; }
.pdp-gallery .thumb.active { border-color: var(--ink); }

.pdp-info .sku {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 16px;
  display: flex; gap: 12px; align-items: center; flex-wrap: wrap;
}
.pdp-info .title {
  font-family: var(--f-display);
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 700;
  line-height: 1.08;
  margin-bottom: 16px;
}
.pdp-info .rating { display: flex; gap: 12px; align-items: center; font-size: 13px; color: var(--ink-2); margin-bottom: 24px; }
.pdp-info .stars { color: var(--copper); letter-spacing: 2px; }
.pdp-info .price-row {
  display: flex; align-items: baseline; gap: 16px;
  padding: 24px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
}
.pdp-info .price-big { font-family: var(--f-display); font-size: 48px; font-weight: 700; }
.pdp-info .price-unit { font-family: var(--f-mono); font-size: 13px; color: var(--muted); }
.pdp-info .stock-pill {
  margin-left: auto;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--ok);
  display: flex; gap: 8px; align-items: center;
}
.pdp-info .stock-pill .dot { width: 8px; height: 8px; background: var(--ok); border-radius: 50%; }

/* Dropdowns / attribute selectors */
.attr-group { margin-top: 24px; display: flex; flex-direction: column; gap: 16px; }
.attr {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
  overflow: hidden;
}
.attr.open { border-color: var(--ink); }
.attr-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 18px;
  width: 100%;
  text-align: left;
}
.attr-head .lbl { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.attr-head .val { font-family: var(--f-display); font-size: 20px; font-weight: 700; margin-top: 4px; }
.attr-head .chev { transition: transform 0.2s; }
.attr.open .attr-head .chev { transform: rotate(180deg); }
.attr-body { display: none; padding: 0 8px 12px; border-top: 1px solid var(--line-2); }
.attr.open .attr-body { display: block; }
.attr-opts { display: flex; flex-wrap: wrap; gap: 6px; padding: 12px 10px; }
.attr-opt {
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  background: var(--paper);
}
.attr-opt:hover { border-color: var(--ink); }
.attr-opt.selected { background: var(--ink); color: var(--paper); border-color: var(--ink); }

.qty-row { display: flex; align-items: center; gap: 16px; margin-top: 28px; flex-wrap: wrap; }
.qty { display: flex; align-items: center; border: 1px solid var(--ink); border-radius: 999px; overflow: hidden; }
.qty button { padding: 14px 18px; }
.qty button:hover { background: var(--ink); color: var(--paper); }
.qty .v { width: 64px; text-align: center; font-family: var(--f-mono); font-weight: 700; font-size: 16px; }
.qty-unit { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.qty-total { margin-left: auto; font-family: var(--f-display); font-size: 22px; font-weight: 700; }

.pdp-cta { display: flex; gap: 12px; margin-top: 24px; flex-wrap: wrap; }

.spec-table { margin-top: 32px; border-top: 1px solid var(--line); }
.spec-row { display: grid; grid-template-columns: 1fr 1.4fr; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.spec-row .k { font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.06em; color: var(--muted); text-transform: uppercase; }

.pdp-desc { margin-top: 64px; padding: 48px; background: var(--paper); border: 1px solid var(--line); }
.pdp-desc h3 { font-family: var(--f-display); font-size: 32px; font-weight: 700; margin-bottom: 16px; }
.pdp-desc p { font-size: 16px; color: var(--ink-2); max-width: 760px; }
.pdp-features { margin-top: 32px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.pdp-features .f { padding: 20px; background: var(--bg); border: 1px solid var(--line); }
.pdp-features .f .t { font-family: var(--f-display); font-size: 17px; font-weight: 700; margin-top: 12px; }
.pdp-features .f .b { font-size: 13px; color: var(--ink-2); margin-top: 4px; }

/* === Catalog === */
.catalog { padding: 24px 0 96px; }
.catalog-head {
  display: flex; justify-content: space-between; align-items: end; gap: 24px;
  padding-bottom: 32px; margin-bottom: 32px; border-bottom: 1px solid var(--line); flex-wrap: wrap;
}
.catalog-head h2 { font-family: var(--f-display); font-size: clamp(34px, 4.5vw, 56px); font-weight: 700; }
.catalog-meta { margin-top: 12px; color: var(--muted); font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; }
.catalog-tools { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--paper);
}
.chip.active { background: var(--ink); color: var(--paper); border-color: var(--ink); }

.catalog-layout { display: grid; grid-template-columns: 240px 1fr; gap: 48px; }
.filters h4 {
  font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--line);
}
.filters .group { margin-bottom: 32px; }
.filters label { display: flex; align-items: center; gap: 10px; padding: 6px 0; font-size: 14px; cursor: pointer; }
.filters label .count { margin-left: auto; font-family: var(--f-mono); font-size: 11px; color: var(--muted); }
.filters input { accent-color: var(--ink); }
.filters .swatches { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.filters .swatches button { width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line); }
.products.cols-3 { grid-template-columns: repeat(3, 1fr); }

/* === Cart page === */
.cart-page { padding: 24px 0 96px; }
.cart-page h2 { font-family: var(--f-display); font-size: clamp(34px, 4.5vw, 56px); font-weight: 700; margin: 16px 0 32px; }
.cart-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: start; }
.cart-list { background: var(--paper); border: 1px solid var(--line); }
.cart-row {
  display: grid; grid-template-columns: 120px 1fr auto auto auto;
  gap: 24px; align-items: center;
  padding: 20px 24px;
  border-bottom: 1px solid var(--line);
}
.cart-row:last-child { border-bottom: 0; }
.cart-row .thumb { width: 120px; height: 120px; background: var(--green-deep); position: relative; overflow: hidden; }
.cart-row .thumb image-slot { position: absolute; inset: 0; width: 100%; height: 100%; }
.cart-row .name { font-family: var(--f-display); font-size: 17px; font-weight: 700; line-height: 1.25; }
.cart-row .opts { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-top: 8px; }
.cart-row .qty-mini { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; padding: 2px; }
.cart-row .qty-mini button { width: 28px; height: 28px; display: grid; place-items: center; }
.cart-row .qty-mini .v { width: 40px; text-align: center; font-family: var(--f-mono); font-size: 13px; font-weight: 700; }
.cart-row .price { font-family: var(--f-display); font-size: 18px; font-weight: 700; min-width: 96px; text-align: right; }
.cart-row .remove { color: var(--muted); padding: 8px; }
.cart-row .remove:hover { color: var(--red); }

.cart-summary { background: var(--ink); color: var(--bg); padding: 32px; position: sticky; top: 100px; }
.cart-summary h3 { font-family: var(--f-display); font-size: 20px; font-weight: 700; margin-bottom: 24px; }
.cart-summary .line { display: flex; justify-content: space-between; padding: 10px 0; font-size: 14px; color: rgba(246,243,236,0.75); }
.cart-summary .line.copper { color: var(--copper); }
.cart-summary .total {
  margin-top: 8px; padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.2);
  display: flex; justify-content: space-between;
  font-family: var(--f-display); font-size: 26px; font-weight: 700;
}
.cart-summary .promo { display: flex; gap: 8px; margin: 16px 0; }
.cart-summary .promo input { flex: 1; padding: 10px 14px; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.2); border-radius: 999px; color: var(--bg); outline: none; font-size: 13px; }
.cart-summary .promo input::placeholder { color: rgba(246,243,236,0.4); }
.cart-summary .guarantee { font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.5); margin-top: 16px; display: flex; gap: 10px; align-items: flex-start; }

.cart-empty { text-align: center; padding: 80px 32px; }
.cart-empty .big { font-family: var(--f-display); font-size: 32px; font-weight: 700; margin-bottom: 12px; }
.cart-empty p { color: var(--muted); margin-bottom: 24px; }

/* === Checkout === */
.checkout { padding: 24px 0 96px; }
.checkout h2 { font-family: var(--f-display); font-size: clamp(30px, 4vw, 48px); font-weight: 700; margin: 16px 0 32px; }
.checkout-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: start; }
.fieldset { background: var(--paper); border: 1px solid var(--line); padding: 32px; margin-bottom: 20px; }
.fieldset h3 {
  font-family: var(--f-display); font-size: 20px; font-weight: 700; margin-bottom: 24px;
  display: flex; align-items: center; gap: 12px;
}
.step-n {
  display: inline-grid; place-items: center;
  width: 28px; height: 28px;
  background: var(--ink); color: var(--paper);
  border-radius: 50%;
  font-family: var(--f-mono); font-size: 12px; font-weight: 700;
}
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.field input, .field textarea, .field select {
  border: 1px solid var(--line);
  background: var(--bg);
  padding: 12px 14px;
  border-radius: 8px;
  font-size: 14px;
  outline: none;
}
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--ink); }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.toggle-row { display: flex; gap: 8px; flex-wrap: wrap; }
.toggle-row button { padding: 12px 18px; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; background: var(--bg); }
.toggle-row button.active { background: var(--ink); color: var(--paper); border-color: var(--ink); }

.order-summary { background: var(--ink); color: var(--bg); padding: 32px; position: sticky; top: 100px; }
.order-summary h3 { font-family: var(--f-display); font-size: 20px; font-weight: 700; margin-bottom: 24px; }
.order-line { display: grid; grid-template-columns: 48px 1fr auto; gap: 12px; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.08); font-size: 13px; }
.order-line .t { width: 48px; height: 48px; position: relative; overflow: hidden; background: rgba(255,255,255,0.08); }
.order-line .t image-slot { position: absolute; inset: 0; width: 100%; height: 100%; }
.order-line .nm { font-weight: 700; }
.order-line .om { font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255,255,255,0.6); margin-top: 4px; }
.order-line .pr { font-weight: 700; }
.order-totals { margin-top: 16px; display: flex; flex-direction: column; gap: 8px; font-size: 13px; color: rgba(255,255,255,0.7); }
.order-totals .row { display: flex; justify-content: space-between; }
.order-total { margin-top: 12px; padding-top: 12px; border-top: 1px solid rgba(255,255,255,0.2); display: flex; justify-content: space-between; font-family: var(--f-display); font-size: 24px; font-weight: 700; }

/* === Static content pages === */
.page-hero { padding: 32px 0 64px; border-bottom: 1px solid var(--line); }
.page-hero h1 { font-family: var(--f-display); font-size: clamp(40px, 6vw, 80px); font-weight: 700; margin-top: 16px; }
.page-hero p { margin-top: 20px; font-size: 18px; color: var(--ink-2); max-width: 720px; }

.page-content { padding: 80px 0; }
.page-content .layout { display: grid; grid-template-columns: 240px 1fr; gap: 48px; align-items: start; }
.page-content aside { position: sticky; top: 100px; }
.page-content aside h4 {
  font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted); padding-bottom: 12px; border-bottom: 1px solid var(--line); margin-bottom: 12px;
}
.page-content aside a { display: block; padding: 10px 0; font-size: 14px; font-weight: 500; color: var(--ink-2); border-bottom: 1px solid var(--line-2); }
.page-content aside a:hover { color: var(--ink); }
.page-content aside a.active { color: var(--ink); font-weight: 700; }
.prose h2 { font-family: var(--f-display); font-size: clamp(28px, 3vw, 40px); font-weight: 700; margin: 48px 0 16px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-family: var(--f-display); font-size: 22px; font-weight: 700; margin: 32px 0 12px; }
.prose p { margin-bottom: 16px; color: var(--ink-2); font-size: 16px; max-width: 760px; }
.prose ul { padding-left: 0; margin: 0 0 16px; }
.prose ul li {
  position: relative; padding: 10px 0 10px 32px;
  border-bottom: 1px solid var(--line-2);
  color: var(--ink-2); max-width: 760px;
}
.prose ul li::before {
  content: ''; position: absolute; left: 0; top: 18px;
  width: 16px; height: 2px; background: var(--copper);
}
.prose strong { color: var(--ink); font-weight: 700; }

/* About info cards */
.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 32px 0; }
.info-card { padding: 24px; border: 1px solid var(--line); background: var(--paper); }
.info-card .n { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.14em; color: var(--muted); }
.info-card .v { font-family: var(--f-display); font-size: 36px; font-weight: 700; margin-top: 8px; }
.info-card .l { font-size: 13px; color: var(--ink-2); margin-top: 4px; }

.manufacturer { padding: 96px 0; }
.manufacturer .grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.manufacturer .photo { aspect-ratio: 4/3; background: var(--bg-2); position: relative; overflow: hidden; }
.manufacturer .photo image-slot { position: absolute; inset: 0; width: 100%; height: 100%; }

/* === Contact page === */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.contact-card { padding: 32px; background: var(--paper); border: 1px solid var(--line); }
.contact-card h3 { font-family: var(--f-display); font-size: 22px; font-weight: 700; margin-bottom: 16px; }
.contact-card .row { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line-2); }
.contact-card .row:last-child { border-bottom: 0; }
.contact-card .row .ic { color: var(--copper); }
.map-block { aspect-ratio: 16/10; background: var(--bg-2); border: 1px solid var(--line); position: relative; overflow: hidden; }
.map-block image-slot { position: absolute; inset: 0; width: 100%; height: 100%; }

/* === Partners === */
.partners-cta { padding: 96px 0; background: var(--bg-2); }
.partners-cta .grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.partner-form { background: var(--paper); padding: 32px; border: 1px solid var(--line); }
.partner-form .row-2 { margin-bottom: 16px; }
.partner-form .field { margin-bottom: 16px; }
.discount-card { padding: 36px; background: var(--ink); color: var(--bg); }
.discount-card .big { font-family: var(--f-display); font-size: 96px; font-weight: 700; line-height: 1; color: var(--copper); }
.discount-card .l { font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; margin-top: 8px; }
.discount-card p { color: rgba(246,243,236,0.75); margin-top: 24px; max-width: 360px; }

/* === Image slot polish === */
image-slot {
  --is-bg: rgba(0,0,0,0.06);
  --is-border: rgba(0,0,0,0.12);
  --is-text: var(--muted);
}
image-slot[data-shape="dark"], .hero-img image-slot, .pdp-gallery .main image-slot, .manufacturer .photo image-slot, .map-block image-slot {
  --is-bg: rgba(255,255,255,0.06);
  --is-border: rgba(255,255,255,0.18);
  --is-text: rgba(255,255,255,0.55);
}

/* === Responsive === */
@media (max-width: 1100px) {
  .pdp-grid, .checkout-grid, .cart-grid, .catalog-layout, .footer .top, .footer .pre .container,
  .tdura .container, .whyus-grid, .adv-head, .manufacturer .grid, .partners-cta .grid, .contact-grid,
  .page-content .layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .page-content aside { position: static; }
  .categories, .adv-grid { grid-template-columns: repeat(2, 1fr); }
  .products, .products.cols-3 { grid-template-columns: repeat(3, 1fr); }
  .order-summary, .cart-summary { position: static; }
}

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .products, .products.cols-3 { grid-template-columns: repeat(2, 1fr); }
  .info-grid, .pdp-features { grid-template-columns: 1fr 1fr; }
  .utility .right { display: none; }
}

@media (max-width: 700px) {
  .container { padding: 0 20px; }
  .utility { display: none; }
  .header .row { grid-template-columns: auto 1fr auto; padding: 12px 20px; gap: 12px; }
  .brand .logo { width: 36px; height: 36px; font-size: 16px; }
  .brand .name { font-size: 18px; }
  .brand small { display: none; }
  .search, .phone-cta, .header-actions .icon-btn[data-key="fav"], .header-actions .icon-btn[data-key="acc"] { display: none; }
  .hamburger {
    display: grid; place-items: center;
    width: 40px; height: 40px;
    border: 1px solid var(--line); border-radius: 10px;
  }
  .nav { display: none; }

  .section-head { padding: 56px 0 24px; }
  .categories, .adv-grid, .products, .products.cols-3 { grid-template-columns: 1fr; }
  .info-grid, .pdp-features, .row-2 { grid-template-columns: 1fr; }
  .footer .top { grid-template-columns: 1fr; gap: 32px; padding: 48px 0; }
  .footer .bottom { flex-direction: column; align-items: flex-start; gap: 10px; }
  .footer .pre { padding: 48px 0; }
  .footer .pre .images { grid-template-columns: 1fr 1fr; }

  .advantages, .whyus, .manufacturer, .tdura { padding: 64px 0; margin-top: 64px; }
  .pdp-desc { padding: 24px; }
  .cart-row { grid-template-columns: 88px 1fr; gap: 16px; padding: 16px; }
  .cart-row .thumb { width: 88px; height: 88px; }
  .cart-row .price, .cart-row .qty-mini, .cart-row .remove { grid-column: 2; justify-self: start; }
  .cart-row .price { font-size: 16px; }

  .hero-stats { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .hero-stats .num { font-size: 26px; }
}


/* ============================================================
   WOOCOMMERCE INTEGRATION + FIXES (from uatks v1.0.51)
   ============================================================ */

/* WC notices */
.woocommerce-notices-wrapper { margin: 0 0 16px; }
.woocommerce-message, .woocommerce-info, .woocommerce-error, .woocommerce-NoticeGroup {
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 3px solid var(--copper);
  padding: 14px 18px;
  font-size: 14px;
  list-style: none;
  margin: 0 0 12px;
}
.woocommerce-error { border-left-color: var(--red); }
.woocommerce-message { border-left-color: var(--ok); }

/* Hide WC default optional/required text on radio buttons */
.webbing-customer-type .optional,
.webbing-radio-row .optional,
#customer_type_field .optional,
#contact_preference_field .optional,
#contact_method_field .optional { display: none !important; }

/* === Empty image placeholder === */
.image-empty { background: var(--bg-2); width: 100%; height: 100%; }
.image-empty--dark { background: var(--green-deep); }
.image-empty--rect { aspect-ratio: 1; }

/* === Cart page === */
.webbing-cart .woocommerce { margin-top: 20px; }
.webbing-cart .shop_table {
  width: 100%;
  background: var(--paper);
  border: 1px solid var(--line);
  border-collapse: collapse;
}
.webbing-cart .shop_table thead {
  background: var(--bg-2);
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.webbing-cart .shop_table th { padding: 16px 20px; text-align: left; }
.webbing-cart .shop_table td { padding: 20px; vertical-align: middle; border-top: 1px solid var(--line); }
.webbing-cart .product-thumbnail img { width: 80px; height: 80px; object-fit: cover; }
.webbing-cart .product-name a { font-family: var(--f-display); font-weight: 700; font-size: 16px; color: var(--ink); }
.webbing-cart .product-name a:hover { color: var(--copper); }
.webbing-cart .product-price, .webbing-cart .product-subtotal { font-family: var(--f-mono); font-weight: 700; }
.webbing-cart .quantity { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; background: #fff; overflow: hidden; }
.webbing-cart .quantity input.qty {
  width: 50px !important;
  height: 36px !important;
  border: 0 !important;
  background: transparent !important;
  text-align: center !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  padding: 0 !important;
  outline: none !important;
  color: var(--ink) !important;
  -moz-appearance: textfield;
}
.webbing-cart .product-remove a { color: var(--muted); text-decoration: none; font-size: 22px; }
.webbing-cart .product-remove a:hover { color: var(--red); }

.webbing-cart .coupon { display: inline-flex; gap: 8px; align-items: center; }
.webbing-cart .coupon input { padding: 10px 14px; border: 1px solid var(--line); border-radius: 999px; }
.webbing-cart .actions .button {
  padding: 10px 18px; border: 1px solid var(--ink); border-radius: 999px; background: transparent; font-weight: 600; font-size: 13px;
}
.webbing-cart .actions .button:hover { background: var(--ink); color: var(--paper); }

.webbing-cart .cart-collaterals { margin-top: 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.webbing-cart .cart_totals { background: var(--ink); color: var(--bg); padding: 28px 32px; }
.webbing-cart .cart_totals h2 { font-family: var(--f-display); font-size: 20px; font-weight: 700; margin: 0 0 18px; color: var(--bg); }
.webbing-cart .cart_totals table { width: 100%; }
.webbing-cart .cart_totals th, .webbing-cart .cart_totals td { padding: 8px 0; font-size: 14px; color: rgba(255,255,255,0.85); }
.webbing-cart .cart_totals .order-total th, .webbing-cart .cart_totals .order-total td {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 16px;
  font-family: var(--f-display);
  font-size: 18px;
  font-weight: 700;
  color: #fff;
}
.webbing-cart .wc-proceed-to-checkout { margin-top: 18px; }
.webbing-cart .wc-proceed-to-checkout .checkout-button {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%;
  background: var(--copper); color: #fff;
  padding: 16px 22px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
}
.webbing-cart .wc-proceed-to-checkout .checkout-button:hover { background: var(--copper-deep); }

/* === CHECKOUT === */
.webbing-checkout .woocommerce { margin-top: 20px; }
.webbing-checkout #customer_details { background: var(--paper); border: 1px solid var(--line); padding: 28px; }
.webbing-checkout .woocommerce-billing-fields h3 {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.webbing-checkout .form-row {
  display: flex !important;
  flex-direction: column;
  gap: 6px;
  margin: 0 0 14px !important;
  padding: 0 !important;
  width: 100% !important;
}

/* КРИТИЧНО — клас перебиває display: flex !important у .form-row */
.webbing-checkout .form-row.webbing-hidden,
.webbing-checkout .form-row[style*="display: none"],
.webbing-checkout .form-row[style*="display:none"] {
  display: none !important;
}

.webbing-checkout .form-row label { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.webbing-checkout .form-row input,
.webbing-checkout .form-row textarea,
.webbing-checkout .form-row select {
  width: 100%;
  padding: 14px 16px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 15px;
  outline: none;
  transition: border-color 0.15s;
}
.webbing-checkout .form-row input:focus,
.webbing-checkout .form-row textarea:focus { border-color: var(--ink); }
.webbing-checkout .form-row-first { float: none !important; width: 100% !important; }
.webbing-checkout .form-row-last  { float: none !important; width: 100% !important; }
.webbing-checkout .woocommerce-billing-fields__field-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 16px;
}
.webbing-checkout .form-row-wide { grid-column: 1 / -1; }

/* === Radio plitki для customer_type, contact_preference, contact_method === */
.webbing-checkout #customer_type_field > label.required_field,
.webbing-checkout #contact_preference_field > label.required_field,
.webbing-checkout #contact_method_field > label.required_field {
  font-size: 12px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.04em !important;
  color: var(--muted) !important;
  margin: 0 0 10px !important;
  display: block !important;
}
.webbing-checkout #customer_type_field .woocommerce-input-wrapper,
.webbing-checkout #contact_preference_field .woocommerce-input-wrapper,
.webbing-checkout #contact_method_field .woocommerce-input-wrapper {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
}
.webbing-checkout #customer_type_field input[type="radio"],
.webbing-checkout #contact_preference_field input[type="radio"],
.webbing-checkout #contact_method_field input[type="radio"] {
  position: absolute !important;
  opacity: 0 !important;
  width: 1px !important; height: 1px !important;
  pointer-events: none !important;
  margin: 0 !important;
}
.webbing-checkout #customer_type_field label.radio,
.webbing-checkout #contact_preference_field label.radio,
.webbing-checkout #contact_method_field label.radio {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  background: var(--paper) !important;
  border: 1px solid var(--line) !important;
  border-radius: 999px !important;
  padding: 12px 22px !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  text-align: center !important;
  margin: 0 !important;
  transition: all .15s !important;
  color: var(--ink) !important;
  min-width: 130px !important;
  flex: 1 1 130px !important;
  line-height: 1.2 !important;
  text-transform: none !important;
  letter-spacing: normal !important;
}
.webbing-checkout #customer_type_field label.radio:hover,
.webbing-checkout #contact_preference_field label.radio:hover,
.webbing-checkout #contact_method_field label.radio:hover { border-color: var(--ink) !important; }
.webbing-checkout #customer_type_field input[type="radio"]:checked + label.radio,
.webbing-checkout #contact_preference_field input[type="radio"]:checked + label.radio,
.webbing-checkout #contact_method_field input[type="radio"]:checked + label.radio,
.webbing-checkout label.radio.webbing-tile-active {
  background: var(--ink) !important;
  color: var(--paper) !important;
  border-color: var(--ink) !important;
}
.webbing-checkout #customer_type_field label.radio .required,
.webbing-checkout #contact_preference_field label.radio .required,
.webbing-checkout #contact_method_field label.radio .required { display: none !important; }

/* Order review side */
.webbing-checkout .woocommerce-checkout-review-order { background: var(--ink); color: var(--bg); padding: 28px; }
.webbing-checkout .woocommerce-checkout-review-order h3 { font-family: var(--f-display); color: #fff; font-size: 22px; margin-bottom: 18px; }
.webbing-checkout .woocommerce-checkout-review-order-table { width: 100%; }
.webbing-checkout .woocommerce-checkout-review-order-table th,
.webbing-checkout .woocommerce-checkout-review-order-table td {
  padding: 10px 0;
  font-size: 14px;
  color: rgba(255,255,255,0.85);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  text-align: left;
}
.webbing-checkout .woocommerce-checkout-review-order-table .order-total th,
.webbing-checkout .woocommerce-checkout-review-order-table .order-total td {
  font-family: var(--f-display); font-weight: 700; color: #fff; font-size: 18px;
  border-bottom: 0;
}

.webbing-checkout #payment ul { list-style: none; padding: 0; margin: 0; }
.webbing-checkout #payment li { padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.1); }
.webbing-checkout #payment li label { color: rgba(255,255,255,0.85); font-size: 14px; padding-left: 8px; }
.webbing-checkout #payment .payment_box { padding: 8px 0 0 26px; font-size: 13px; color: rgba(255,255,255,0.6); }
.webbing-checkout #payment .place-order { margin-top: 18px; }
.webbing-checkout #payment .button {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%;
  background: var(--copper); color: #fff;
  padding: 16px 22px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  border: 0;
}
.webbing-checkout #payment .button:hover { background: var(--copper-deep); }

.webbing-checkout form.checkout {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 32px;
  align-items: start;
}
.webbing-checkout form.checkout #order_review_heading,
.webbing-checkout form.checkout #order_review {
  grid-column: 2;
}
.webbing-checkout form.checkout #customer_details { grid-column: 1; grid-row: 1 / span 2; }

/* === Thank you page === */
.webbing-thank-you { padding: 60px 0 96px; }
.webbing-thank-you .thank-you-block {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 64px 40px;
  text-align: center;
  max-width: 720px;
  margin: 32px auto 0;
}
.webbing-thank-you .thank-you-icon {
  width: 96px; height: 96px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  display: inline-grid; place-items: center;
  margin-bottom: 32px;
}
.webbing-thank-you .woocommerce-order ul { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 16px; margin: 24px 0; }
.webbing-thank-you .woocommerce-order ul li {
  background: var(--bg); padding: 14px; border: 1px solid var(--line);
  font-size: 13px; text-align: center;
}
.webbing-thank-you .woocommerce-order ul li strong { display: block; font-family: var(--f-display); font-size: 17px; margin-top: 4px; }

/* === Topbar dropdown (для майбутніх dropdown-меню) === */
.topbar-dropdown { position: relative; display: inline-block; }
.topbar-dropdown-menu {
  visibility: hidden;
  opacity: 0;
  position: absolute;
  top: 100%; right: 0;
  min-width: 220px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 10px 24px rgba(0,0,0,.12);
  padding: 8px 0;
  z-index: 100;
  margin-top: 0;
  transition: opacity .15s, visibility 0s linear .25s;
}
.topbar-dropdown-menu::before {
  content: "";
  position: absolute;
  top: -10px; left: 0; right: 0;
  height: 10px;
}
.topbar-dropdown:hover .topbar-dropdown-menu,
.topbar-dropdown:focus-within .topbar-dropdown-menu {
  visibility: visible;
  opacity: 1;
  transition: opacity .15s, visibility 0s;
}

/* === Toast === */
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--ink);
  color: var(--bg);
  padding: 12px 20px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  z-index: 10000;
  animation: webbing-toast-in 0.3s;
}
@keyframes webbing-toast-in { from { transform: translate(-50%, 16px); opacity: 0; } to { transform: translate(-50%, 0); opacity: 1; } }

/* === One-click popup === */
.webbing-popup { position: fixed; inset: 0; z-index: 9000; display: flex; align-items: center; justify-content: center; padding: 20px; }
.webbing-popup__backdrop { position: absolute; inset: 0; background: rgba(0,0,0,0.55); }
.webbing-popup__box {
  position: relative; z-index: 2;
  background: var(--bg);
  padding: 36px;
  max-width: 480px;
  width: 100%;
  border-radius: 16px;
}
.webbing-popup__close {
  position: absolute; top: 12px; right: 16px;
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border-radius: 50%;
  font-size: 22px;
  color: var(--muted);
}
.webbing-popup__close:hover { background: var(--bg-2); }
.webbing-popup__box h3 { font-family: var(--f-display); font-size: 22px; font-weight: 700; margin-bottom: 8px; }
.webbing-popup__box .field label { display: block; font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.webbing-popup__box .field input {
  width: 100%; padding: 12px 16px;
  background: var(--paper); border: 1px solid var(--line); border-radius: 10px; font-size: 15px; outline: none;
}
.webbing-popup__box .field input:focus { border-color: var(--ink); }

/* === Page sections === */
.webbing-page-title { margin: 24px 0 32px; }
.page-content { font-size: 16px; line-height: 1.65; max-width: 760px; }
.page-content p { margin: 0 0 16px; }
.page-content h2, .page-content h3 { font-family: var(--f-display); margin: 24px 0 12px; }

/* === Responsive === */
@media (max-width: 1024px) {
  .webbing-cart .cart-collaterals { grid-template-columns: 1fr; }
  .webbing-checkout form.checkout { grid-template-columns: 1fr; }
  .webbing-checkout form.checkout #order_review_heading,
  .webbing-checkout form.checkout #order_review,
  .webbing-checkout form.checkout #customer_details { grid-column: 1; grid-row: auto; }
  .webbing-checkout .woocommerce-billing-fields__field-wrapper { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .hamburger { display: grid; place-items: center; width: 44px; height: 44px; }
  .header .row { grid-template-columns: auto 1fr auto; gap: 12px; }
  .search { display: none; }
  .nav .row { overflow-x: auto; flex-wrap: nowrap; }
  .nav a { white-space: nowrap; }
  .hero-grid, .tdura .container, .whyus-grid { grid-template-columns: 1fr; gap: 32px; }
  .categories, .adv-grid { grid-template-columns: 1fr 1fr; }
  .products, .products.cols-3 { grid-template-columns: 1fr 1fr; }
  .catalog-layout { grid-template-columns: 1fr; gap: 24px; }
  .pdp-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer .top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .phone-cta { display: none; }
}
@media (max-width: 480px) {
  .categories, .adv-grid, .products, .products.cols-3 { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: 1fr; }
  .footer .top { grid-template-columns: 1fr; }
  .footer .pre .container { grid-template-columns: 1fr; }
}
