/* ============================================================
   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;
  width: 100%;
}
/* overflow-x контролюємо на page-content, а не на body чи page-top - інакше ламається position:sticky */
#page-content { overflow-x: clip; }
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;
}
form.search {
  display: flex; align-items: center; gap: 10px;
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 10px 14px;
  border-radius: 999px;
}
form.search input { flex: 1; border: 0; background: transparent; outline: none; font-size: 14px; }
form.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; margin-left: auto; }
.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 5px;
  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: 300;
  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;
  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: 26px 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 img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: contain;
  object-position: center;
}
.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 .image img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: contain;
  object-position: center;
  padding: 16px;
}
.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;
  cursor: pointer;
  transition: background 0.15s;
}
.product-card .add svg { transition: transform 0.2s ease; pointer-events: none; }
.product-card:hover .add { background: var(--copper); }
.product-card:hover .add svg { transform: scale(1.15) rotate(-10deg); }

/* === 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(--paper);
  aspect-ratio: 1;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
}
.pdp-gallery .main image-slot { position: absolute; inset: 0; width: 100%; height: 100%; }
.pdp-gallery .main img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  padding: 24px;
  display: block;
}
.pdp-gallery .thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 6px;
}
.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: 13px;
  letter-spacing: 0.06em;
  color: var(--ink-2);
  margin-bottom: 16px;
  display: flex; gap: 12px; align-items: center; flex-wrap: wrap;
}
.pdp-info .sku-value {
  font-weight: 700;
  color: var(--ink);
  transition: color .15s;
}
.pdp-info .sku-sep { opacity: .5; }
.pdp-info .title {
  font-family: var(--f-display);
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 700;
  line-height: 1.15;
  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: 20px 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: 30px; 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; 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 { }
.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 {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 200;
    background: var(--bg);
    box-shadow: 0 1px 0 var(--line);
  }
  /* Коли відкрите мобільне меню - ховаємо шапку, щоб не перекривала хрестик */
  body.lock .header { display: none; }
  /* Відступ щоб контент не ховався під фіксованою шапкою */
  #page-content { padding-top: 66px; }
  .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; }
  form.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-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;
}
/* Якщо error/message всередині NoticeGroup - без власної рамки/фону (щоб не було "вікно у вікні") */
.woocommerce-NoticeGroup .woocommerce-error,
.woocommerce-NoticeGroup .woocommerce-message,
.woocommerce-NoticeGroup .woocommerce-info {
  background: transparent;
  border: 0;
  padding: 0;
  margin: 0;
  list-style: none;
}
.woocommerce-NoticeGroup .woocommerce-error li,
.woocommerce-NoticeGroup .woocommerce-message li,
.woocommerce-NoticeGroup .woocommerce-info li {
  list-style: none;
  margin: 0 0 6px;
  padding: 0;
}
.woocommerce-NoticeGroup .woocommerce-error li:last-child { margin-bottom: 0; }
/* Standalone error/message (поза NoticeGroup) - з рамкою */
.woocommerce-error:not(.woocommerce-NoticeGroup *) {
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 3px solid var(--red);
  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;
  table-layout: auto;
}
.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; }

/* Розширюємо колонку товару, фіксуємо інші */
.webbing-cart .product-remove { width: 40px; padding-left: 16px !important; padding-right: 8px !important; }
.webbing-cart .product-thumbnail { width: 100px; }
.webbing-cart .product-thumbnail img { width: 80px; height: 80px; object-fit: cover; display: block; }
.webbing-cart .product-name { width: auto; min-width: 240px; }
.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-name .variation,
.webbing-cart .product-name dl.variation {
  margin: 8px 0 0;
  font-size: 13px;
  font-family: var(--f-body, inherit);
  color: var(--ink-2);
}
.webbing-cart .product-name .variation dt,
.webbing-cart .product-name .variation dd { display: inline; margin: 0; }
.webbing-cart .product-name .variation dt { color: var(--muted); font-weight: 600; }
.webbing-cart .product-name .variation dt::after { content: " "; }
.webbing-cart .product-name .variation dd::after { content: " · "; color: var(--muted); }
.webbing-cart .product-name .variation dd:last-child::after { content: ""; }
.webbing-cart .product-name .variation p { display: inline; margin: 0; }

.webbing-cart .product-price { width: 120px; }
.webbing-cart .product-quantity { width: 140px; }
.webbing-cart .product-subtotal { width: 120px; text-align: right; }
.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); }

/* Купони приховуємо (плюс PHP filter __return_false) */
.webbing-cart .coupon { display: none !important; }
.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); }

/* === Mobile cart layout === */
@media (max-width: 768px) {
  .webbing-cart .shop_table { border: 0; background: transparent; }
  .webbing-cart .shop_table thead { display: none; }
  .webbing-cart .shop_table tbody tr.cart_item {
    display: grid;
    grid-template-columns: 80px 1fr auto;
    gap: 8px 12px;
    padding: 16px;
    background: var(--paper);
    border: 1px solid var(--line);
    margin: 0 0 10px;
    align-items: start;
  }
  .webbing-cart .shop_table td {
    padding: 0 !important;
    border: 0 !important;
    display: block;
  }
  .webbing-cart .shop_table td.product-remove {
    order: 5;
    grid-column: 3;
    grid-row: 1;
    width: auto;
    justify-self: end;
  }
  .webbing-cart .shop_table td.product-thumbnail {
    grid-column: 1;
    grid-row: 1 / span 3;
    width: 80px;
  }
  .webbing-cart .shop_table td.product-name {
    grid-column: 2;
    grid-row: 1;
    min-width: 0;
  }
  .webbing-cart .shop_table td.product-price {
    grid-column: 2;
    grid-row: 2;
    font-size: 13px;
    color: var(--ink-2);
  }
  .webbing-cart .shop_table td.product-price::before { content: "Ціна: "; color: var(--muted); font-family: var(--f-mono); font-size: 11px; text-transform: uppercase; letter-spacing: .1em; margin-right: 4px; }
  .webbing-cart .shop_table td.product-quantity {
    grid-column: 2;
    grid-row: 3;
  }
  .webbing-cart .shop_table td.product-subtotal {
    grid-column: 2 / span 2;
    grid-row: 4;
    text-align: left;
    padding-top: 8px !important;
    border-top: 1px dashed var(--line) !important;
    font-size: 16px;
  }
  .webbing-cart .shop_table td.product-subtotal::before { content: "Разом: "; color: var(--muted); font-family: var(--f-mono); font-size: 11px; text-transform: uppercase; letter-spacing: .1em; margin-right: 4px; font-weight: 600; }
  .webbing-cart .shop_table td.actions {
    grid-column: 1 / -1;
    padding-top: 12px !important;
  }
}

.webbing-cart .cart-collaterals { margin-top: 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.webbing-cart .cart_totals,
.webbing-cart .cart-collaterals > * { background: var(--ink) !important; color: #fff !important; padding: 28px 32px; }
.webbing-cart .cart_totals h2,
.webbing-cart .cart-collaterals h2,
.webbing-cart .cart-collaterals h3 {
  font-family: var(--f-display);
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 18px;
  color: #fff !important;
}
.webbing-cart .cart_totals table,
.webbing-cart .cart-collaterals table { width: 100%; background: transparent !important; border: 0 !important; }
.webbing-cart .cart_totals th,
.webbing-cart .cart_totals td,
.webbing-cart .cart-collaterals th,
.webbing-cart .cart-collaterals td {
  padding: 10px 0 !important;
  font-size: 14px !important;
  color: rgba(255,255,255,0.85) !important;
  background: transparent !important;
  border-bottom: 1px solid rgba(255,255,255,0.1) !important;
}
.webbing-cart .cart_totals .amount,
.webbing-cart .cart-collaterals .amount,
.webbing-cart .cart_totals bdi,
.webbing-cart .cart-collaterals bdi,
.webbing-cart .cart_totals span,
.webbing-cart .cart-collaterals span {
  color: inherit !important;
}
.webbing-cart .cart_totals a,
.webbing-cart .cart-collaterals a { color: var(--copper) !important; }
.webbing-cart .cart-collaterals .checkout-button,
.webbing-cart .wc-proceed-to-checkout .checkout-button {
  color: #fff !important;
  font-size: 15px !important;
  letter-spacing: 0.02em;
}
.webbing-cart .cart_totals .order-total th,
.webbing-cart .cart_totals .order-total td,
.webbing-cart .cart-collaterals .order-total th,
.webbing-cart .cart-collaterals .order-total td {
  border-top: 0 !important;
  border-bottom: 0 !important;
  padding-top: 16px !important;
  font-family: var(--f-display) !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  color: #fff !important;
}
.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); padding: 28px; }
.webbing-checkout .woocommerce-billing-fields,
.webbing-checkout .woocommerce-shipping-fields,
.webbing-checkout .woocommerce-additional-fields {
  padding: 20px;
  box-sizing: border-box;
}
.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-top: 8px; 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: 1fr 1.1fr;
  gap: 0 32px;
  align-items: start;
}
.webbing-checkout form.checkout #order_review_heading,
.webbing-checkout form.checkout #order_review,
.webbing-checkout form.checkout .webbing-order-block {
  background: var(--ink) !important;
  color: #fff !important;
  margin: 0 !important;
}
.webbing-checkout form.checkout .webbing-order-block {
  grid-column: 2;
  grid-row: 2;
}
.webbing-checkout form.checkout #order_review_heading {
  padding: 28px 28px 16px !important;
  font-family: var(--f-display) !important;
  font-size: 22px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
}
.webbing-checkout .woocommerce-checkout-review-order {
  background: transparent !important;
  padding: 0 28px 28px !important;
}
.webbing-checkout .woocommerce-checkout-review-order h3 {
  display: none;
}
.webbing-checkout form.checkout #customer_details { grid-column: 1; grid-row: 2; }

/* Notices (типа "виберіть відділення") - на всю ширину поверх грида */
.webbing-checkout form.checkout > .woocommerce-NoticeGroup,
.webbing-checkout form.checkout > .woocommerce-notices-wrapper,
.webbing-checkout form.checkout > .woocommerce-error,
.webbing-checkout form.checkout > .woocommerce-message,
.webbing-checkout form.checkout > .woocommerce-info {
  grid-column: 1 / -1;
  grid-row: 1;
  margin: 0 0 16px;
}

/* Таблиця order_review — колонка товару широка */
.webbing-checkout .woocommerce-checkout-review-order-table {
  table-layout: auto;
}
.webbing-checkout .woocommerce-checkout-review-order-table .product-name {
  width: auto;
  word-wrap: break-word;
  padding-right: 12px !important;
}
.webbing-checkout .woocommerce-checkout-review-order-table .product-total {
  width: 1%;
  white-space: nowrap;
  text-align: right;
}
.webbing-checkout .woocommerce-checkout-review-order-table .variation,
.webbing-checkout .woocommerce-checkout-review-order-table dl.variation {
  margin: 4px 0 0;
  font-size: 12px;
  color: rgba(255,255,255,0.7);
}
.webbing-checkout .woocommerce-checkout-review-order-table .variation dt,
.webbing-checkout .woocommerce-checkout-review-order-table .variation dd { display: inline; margin: 0; }
.webbing-checkout .woocommerce-checkout-review-order-table .variation dt::after { content: " "; }
.webbing-checkout .woocommerce-checkout-review-order-table .variation dd::after { content: " · "; }
.webbing-checkout .woocommerce-checkout-review-order-table .variation dd:last-child::after { content: ""; }
.webbing-checkout .woocommerce-checkout-review-order-table .variation p { display: inline; margin: 0; }

/* === 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;
  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; }

/* === Order details таблиця на thank-you / my-account/orders === */
.webbing-thank-you .shop_table,
.woocommerce-order-details .shop_table,
.woocommerce-customer-details .shop_table {
  width: 100%;
  background: var(--paper);
  border: 1px solid var(--line);
  border-collapse: collapse;
  margin: 24px 0;
  text-align: left;
}
.webbing-thank-you .shop_table thead,
.woocommerce-order-details .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-thank-you .shop_table th,
.woocommerce-order-details .shop_table th { padding: 14px 16px; }
.webbing-thank-you .shop_table td,
.woocommerce-order-details .shop_table td {
  padding: 16px;
  vertical-align: top;
  border-top: 1px solid var(--line);
  background: var(--paper);
}
.webbing-thank-you .shop_table .product-name a,
.woocommerce-order-details .shop_table .product-name a {
  font-family: var(--f-display);
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
}
.webbing-thank-you .shop_table tfoot th,
.webbing-thank-you .shop_table tfoot td,
.woocommerce-order-details .shop_table tfoot th,
.woocommerce-order-details .shop_table tfoot td {
  border-top: 1px solid var(--line);
  background: var(--bg-2);
  font-family: var(--f-mono);
}
.webbing-thank-you .shop_table tfoot .order-total th,
.webbing-thank-you .shop_table tfoot .order-total td,
.woocommerce-order-details .shop_table tfoot .order-total th,
.woocommerce-order-details .shop_table tfoot .order-total td {
  font-family: var(--f-display);
  font-size: 18px;
  font-weight: 700;
}

/* === wc-item-meta - атрибути варіації під назвою товару === */
.wc-item-meta,
ul.wc-item-meta {
  list-style: none !important;
  margin: 8px 0 0 !important;
  padding: 0 !important;
  font-size: 13px;
  color: var(--ink-2);
  display: block !important;
  grid-template-columns: none !important;
}
.wc-item-meta li,
ul.wc-item-meta li {
  padding: 0 !important;
  margin: 2px 0 !important;
  background: transparent !important;
  border: 0 !important;
  text-align: left !important;
  display: inline !important;
  font-size: inherit !important;
}
.wc-item-meta li::before,
ul.wc-item-meta li::before { display: none !important; content: none !important; }
.wc-item-meta li::after,
ul.wc-item-meta li::after {
  content: " · ";
  color: var(--muted);
}
.wc-item-meta li:last-child::after { content: ""; }
.wc-item-meta li .wc-item-meta-label,
.wc-item-meta li strong {
  display: inline !important;
  font-weight: 600 !important;
  font-family: inherit !important;
  font-size: inherit !important;
  margin: 0 !important;
  color: var(--muted);
}
.wc-item-meta li p,
.wc-item-meta li .wc-item-meta-value {
  display: inline !important;
  margin: 0 !important;
  padding: 0 !important;
  color: var(--ink) !important;
}

/* dl.variation у кошику (старий формат WC) */
dl.variation {
  margin: 8px 0 0 !important;
  font-size: 13px;
  color: var(--ink-2);
}
dl.variation dt,
dl.variation dd {
  display: inline !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  font-family: inherit !important;
}
dl.variation dt {
  font-weight: 600 !important;
  color: var(--muted);
}
dl.variation dt::after { content: " "; }
dl.variation dd::after { content: " · "; color: var(--muted); }
dl.variation dd:last-of-type::after { content: ""; }
dl.variation p { display: inline; margin: 0; }

/* === 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;
  color: var(--ink);
}
.page-content p { margin: 0 0 16px; }
.page-content h2,
.page-content h3,
.page-content h4 {
  font-family: var(--f-display);
  font-weight: 700;
  margin: 32px 0 14px;
  color: var(--ink);
  line-height: 1.2;
}
.page-content h2 { font-size: clamp(24px, 3vw, 32px); }
.page-content h3 { font-size: 22px; }
.page-content h4 { font-size: 18px; }
.page-content h2:first-child,
.page-content h3:first-child { margin-top: 0; }

.page-content a {
  color: var(--copper);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
.page-content a:hover { color: var(--copper-deep); }
.page-content strong, .page-content b { color: var(--ink); font-weight: 700; }
.page-content em, .page-content i { font-style: italic; }
.page-content hr { border: 0; height: 1px; background: var(--line); margin: 32px 0; }

/* Списки */
.page-content > ul,
.page-content > ol,
.page-content > * > ul,
.page-content > * > ol {
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
}
.page-content > ul > li,
.page-content > ol > li,
.page-content > * > ul > li,
.page-content > * > ol > li {
  position: relative;
  padding: 8px 0 8px 28px;
  border-bottom: 1px solid var(--line-2);
}
.page-content > ul > li::before,
.page-content > * > ul > li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  width: 14px;
  height: 2px;
  background: var(--copper);
}
.page-content > ol,
.page-content > * > ol { counter-reset: page-li; }
.page-content > ol > li,
.page-content > * > ol > li { counter-increment: page-li; }
.page-content > ol > li::before,
.page-content > * > ol > li::before {
  content: counter(page-li, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 8px;
  font-family: var(--f-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--copper);
  letter-spacing: 0.05em;
}
.page-content ul ul,
.page-content ol ol,
.page-content ul ol,
.page-content ol ul {
  margin: 8px 0 0;
  padding-left: 0;
}

/* Цитати */
.page-content blockquote {
  margin: 24px 0;
  padding: 16px 24px;
  border-left: 3px solid var(--copper);
  background: var(--paper);
  font-style: italic;
  font-size: 17px;
  color: var(--ink);
}
.page-content blockquote p:last-child { margin-bottom: 0; }
.page-content blockquote cite {
  display: block;
  margin-top: 10px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  font-style: normal;
}

/* Таблиці */
.page-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 24px;
  font-size: 14px;
  background: var(--paper);
  border: 1px solid var(--line);
}
.page-content table th,
.page-content table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.page-content table th {
  background: var(--bg-2);
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--muted);
}
.page-content table tr:last-child td { border-bottom: 0; }
.page-content table tr:hover td { background: var(--bg); }

/* Зображення в контенті */
.page-content img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 20px 0;
  border-radius: 4px;
}
.page-content figure {
  margin: 24px 0;
}
.page-content figure img { margin: 0; }
.page-content figcaption {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 10px;
  text-align: center;
}

/* Код */
.page-content code {
  font-family: var(--f-mono);
  font-size: 0.92em;
  background: var(--paper);
  padding: 2px 6px;
  border-radius: 3px;
  border: 1px solid var(--line);
}
.page-content pre {
  background: var(--ink);
  color: var(--bg);
  padding: 16px 20px;
  border-radius: 6px;
  overflow-x: auto;
  margin: 0 0 20px;
}
.page-content pre code {
  background: transparent;
  border: 0;
  color: inherit;
  padding: 0;
}

/* WP-блочный embed/iframe */
.page-content iframe,
.page-content .wp-block-embed iframe {
  max-width: 100%;
  border-radius: 6px;
}

/* Wrapper статьи (page.php) */
.page-article {
  padding: 40px 0 80px;
}
.webbing-page-title {
  margin: 0 0 32px;
}

/* === 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; }
}


/* v1.0.1 - Hardcoded brand logo */
.brand__logo {
  display: block;
  height: 38px !important;
  width: auto !important;
  max-width: 200px;
  object-fit: contain;
}
.brand__logo--footer {
  height: 42px !important;
  filter: brightness(0) invert(1);
}
.mobile-menu .brand__logo { height: 32px !important; }


/* v1.0.2 - Footer stat tiles */
.stat-tile {
  aspect-ratio: 1;
  background: var(--paper);
  color: var(--ink);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: 4px;
}
.stat-tile.is-copper { background: var(--copper); color: #fff; }
.stat-tile.is-dark   { background: var(--ink); color: var(--paper); }
.stat-tile__num {
  font-family: var(--f-display);
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 700;
  line-height: 1;
}
.stat-tile__lbl {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.7;
}


/* v1.0.3 — Topbar dropdown toggle (для "Про нас" з підменю) */
.utility .right { align-items: center; }
.utility .topbar-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: inherit;
}
.utility .topbar-dropdown-toggle svg { transition: transform .2s; opacity: 0.7; }
.utility .topbar-dropdown:hover .topbar-dropdown-toggle svg { transform: rotate(180deg); }

.topbar-dropdown-menu {
  font-family: var(--f-body, inherit);
  font-size: 13px;
  text-transform: none;
  letter-spacing: normal;
}
.topbar-dropdown-menu a {
  display: block;
  padding: 10px 16px;
  color: var(--ink);
  white-space: nowrap;
}
.topbar-dropdown-menu a:hover {
  background: var(--bg-2);
  color: var(--copper);
}


/* v1.0.5 — Highlight T-DURA в hero-tag */
.hl-tdura {
  background: linear-gradient(180deg, transparent 60%, rgba(197,109,60,0.25) 60%);
  font-weight: 600;
  color: var(--ink);
  padding: 0 2px;
}


/* ============================================================
   v1.0.6 — BLOG: home, archive, single
============================================================ */
.page-blog { padding: 24px 0 80px; }
.page-single { padding: 24px 0 80px; }

.blog-head { padding: 16px 0 32px; }
.blog-head__desc { margin-top: 12px; color: var(--ink-2); font-size: 16px; max-width: 720px; }

.posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px 24px;
}

.post-card {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform .15s, box-shadow .15s;
}
.post-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}
.post-card__media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-2);
  display: block;
}
.post-card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.post-card__body {
  padding: 20px 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.post-card__cat {
  display: inline-block;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 4px;
  align-self: flex-start;
}
.post-card__title {
  font-family: var(--f-display);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--ink);
}
.post-card__title:hover { color: var(--copper); }
.post-card__excerpt {
  font-size: 14px;
  color: var(--ink-2);
  margin: 4px 0 0;
}
.post-card__meta {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  padding-top: 12px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  border-top: 1px dashed var(--line);
}

/* WP pagination */
.wp-pagenavi,
.page-blog .navigation,
.page-blog nav.pagination {
  margin: 48px 0 0;
  display: flex;
  justify-content: center;
}
.page-blog .nav-links,
.page-blog .navigation .nav-links {
  display: flex;
  gap: 6px;
  align-items: center;
  flex-wrap: wrap;
}
.page-blog .page-numbers,
.page-blog .nav-links a,
.page-blog .nav-links span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 14px;
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-mono);
  font-size: 13px;
  font-weight: 600;
}
.page-blog .page-numbers:hover { background: var(--bg-2); }
.page-blog .page-numbers.current,
.page-blog .nav-links .current { background: var(--ink); color: #fff; }
.page-blog .page-numbers.dots { background: transparent; }

/* Single post layout */
.container--narrow {
  margin: 0 auto;
  padding: 0 20px;
}
.post-article { padding: 16px 0; }
.post-header { padding: 8px 0 24px; }
.post-meta {
  display: flex;
  gap: 8px;
  align-items: center;
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 8px;
}
.post-cover {
  margin: 0 0 32px;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 4px;
}
.post-cover img {
  width: 100%; height: 100%;
  object-fit: cover;
}

.post-tags {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.post-tags__label {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-right: 8px;
}
.post-tags a {
  display: inline-block;
  padding: 6px 12px;
  background: var(--bg-2);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
}
.post-tags a:hover { background: var(--ink); color: var(--bg); }

.post-related {
  margin-top: 64px;
  padding-top: 48px;
  border-top: 1px solid var(--line);
}
.post-related h2 { margin-bottom: 24px; }

@media (max-width: 900px) {
  .posts-grid { grid-template-columns: 1fr 1fr; gap: 24px 16px; }
}
@media (max-width: 560px) {
  .posts-grid { grid-template-columns: 1fr; }
}


/* v1.0.10 — Bottom scroll block (home + category) */
.bottom-scroll {
  padding: 64px 0;
  background: var(--paper);
  border-top: 1px solid var(--line);
}
.bottom-scroll__head {
  margin-bottom: 24px;
}
.bottom-scroll__head .eyebrow { display: inline-block; }
.bottom-scroll__head h2 {
  margin-top: 12px;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(22px, 2.6vw, 30px);
  line-height: 1.2;
}
.bottom-scroll__box {
  max-height: 260px;
  overflow-y: auto;
  padding: 24px 28px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 6px;
  scrollbar-width: thin;
  scrollbar-color: var(--copper) transparent;
}
.bottom-scroll__box::-webkit-scrollbar { width: 8px; }
.bottom-scroll__box::-webkit-scrollbar-track { background: transparent; }
.bottom-scroll__box::-webkit-scrollbar-thumb {
  background: var(--line);
  border-radius: 4px;
}
.bottom-scroll__box::-webkit-scrollbar-thumb:hover { background: var(--copper); }
.bottom-scroll__content { color: var(--ink-2); }
.bottom-scroll__content > *:first-child { margin-top: 0; }
.bottom-scroll__content > *:last-child { margin-bottom: 0; }

/* WC Ukraine Shipping notices - на всю ширину */
.webbing-checkout form.checkout .wcus-notice,
.webbing-checkout form.checkout .wcus-warehouse-error,
.webbing-checkout form.checkout [class*="wcus-"][class*="notice"],
.webbing-checkout form.checkout [class*="wcus-"][class*="error"] {
  grid-column: 1 / -1 !important;
  grid-row: 1 !important;
}

/* v1.0.25 - Search empty state */
.search-empty {
  text-align: center;
  padding: 48px 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  margin: 24px 0;
}
.search-empty p { margin: 0 0 12px; color: var(--ink-2); }
.search-empty .btn { margin-top: 16px; display: inline-flex; }
.page-search { padding: 24px 0 80px; min-height: 55vh; }
.page-search .catalog-head h2 { overflow-wrap: anywhere; word-wrap: break-word; }

/* Bottom-scroll не показуємо на пошуку */
body.search .bottom-scroll { display: none !important; }

/* v1.0.34 - Google map на контактах */
.contact-map {
  margin-top: 40px;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--paper);
}
.contact-map iframe { display: block; width: 100%; }
@media (max-width: 700px) {
  .contact-map iframe { height: 360px; }
}

/* v1.0.35 - Contact Form 7 styling */
.wpcf7 {
  max-width: 640px;
  margin: 24px 0;
}
.wpcf7 p { margin: 0 0 16px; }
.wpcf7 label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
}
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="url"],
.wpcf7 input[type="number"],
.wpcf7 input[type="date"],
.wpcf7 select,
.wpcf7 textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  font-size: 14px;
  font-family: inherit;
  color: var(--ink);
  outline: none;
  transition: border-color .15s, box-shadow .15s;
  box-sizing: border-box;
}
.wpcf7 input[type="text"]:focus,
.wpcf7 input[type="email"]:focus,
.wpcf7 input[type="tel"]:focus,
.wpcf7 textarea:focus,
.wpcf7 select:focus {
  border-color: var(--copper);
  box-shadow: 0 0 0 3px rgba(196, 98, 42, 0.12);
}
.wpcf7 textarea {
  min-height: 140px;
  resize: vertical;
  line-height: 1.5;
}
.wpcf7 input[type="submit"] {
  background: var(--ink);
  color: #fff;
  border: 0;
  padding: 14px 32px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: 0.02em;
  transition: background .15s, transform .1s;
}
.wpcf7 input[type="submit"]:hover { background: var(--copper); }
.wpcf7 input[type="submit"]:active { transform: scale(0.98); }
.wpcf7 input[type="submit"]:disabled { opacity: 0.6; cursor: not-allowed; }
.wpcf7 .wpcf7-not-valid-tip {
  display: block;
  font-size: 12px;
  color: var(--red, #b3271a);
  margin-top: 4px;
  font-weight: 500;
}
.wpcf7 .wpcf7-not-valid { border-color: var(--red, #b3271a); }
.wpcf7-response-output {
  margin: 16px 0 0 !important;
  padding: 12px 16px !important;
  border-radius: 8px !important;
  font-size: 13px;
  border-width: 1px !important;
}
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output {
  background: rgba(179, 39, 26, 0.08);
  border-color: var(--red, #b3271a) !important;
  color: var(--red, #b3271a);
}
.wpcf7 form.sent .wpcf7-response-output {
  background: rgba(42, 138, 58, 0.08);
  border-color: var(--ok, #2a8a3a) !important;
  color: var(--ok, #2a8a3a);
}
.wpcf7-spinner { background-color: var(--copper) !important; }

/* v1.0.36 - back to top button */
.to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 46px; height: 46px;
  display: grid; place-items: center;
  background: var(--ink);
  color: #fff;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .2s, transform .2s, visibility .2s, background .15s;
  z-index: 70;
  box-shadow: 0 4px 16px rgba(0,0,0,0.18);
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--copper); }

/* v1.0.36 - сворачиваемые фильтры на мобилке */
.filters__toggle { display: flex; align-items: center; justify-content: space-between; cursor: default; }
.filters__chevron { display: none; transition: transform .2s; flex-shrink: 0; }
@media (max-width: 900px) {
  .filters__toggle { cursor: pointer; user-select: none; }
  .filters__chevron { display: block; }
  .filters__body {
    max-height: 0;
    overflow: hidden;
    transition: max-height .25s ease;
  }
  .filters[data-open="true"] .filters__body { max-height: 800px; }
  .filters[data-open="true"] .filters__chevron { transform: rotate(180deg); }
}
