/* ============================================================
   TEXNIKA — Main Stylesheet
   Showroom edition: soft, warm, premium outlet feel
   #647273 graphite  |  #EEE2CA beige
   ============================================================ */

:root {
  /* Brand */
  --brand-graphite:    #647273;
  --brand-beige:       #EEE2CA;
  --brand-dark:        #2c3434;

  /* UI surfaces */
  --page-bg:           #f6f1e9;      /* warm cream page background       */
  --card-bg:           #fffdf8;      /* nearly-white with warmth          */
  --brand-light-beige: #ede8de;      /* hover bg, chips, dim-tags         */
  --brand-white:       #ffffff;
  --brand-mid:         #8a9c9d;

  /* Accents */
  --accent-green:      #3d7d4a;      /* in-stock                          */
  --accent-red:        #b84c34;      /* sale price, discount badge        */

  /* Text */
  --text-primary:      #252e2e;
  --text-secondary:    #647273;
  --text-muted:        #a8a8a0;

  /* Structure */
  --border-color:      #e5dfd4;
  --border-subtle:     #ede8de;

  /* Shadows */
  --shadow-sm:         0 1px 4px rgba(80,95,95,.07);
  --shadow-card:       0 2px 14px rgba(80,95,95,.09);
  --shadow-hover:      0 8px 32px rgba(80,95,95,.15);

  /* Radii */
  --radius:            12px;
  --radius-sm:         8px;
  --radius-xs:         6px;

  /* Motion */
  --t:                 0.18s ease;
  --t-slow:            0.28s ease;

  /* Typography */
  --font:              'Inter', system-ui, sans-serif;

  /* Layout */
  --max-w:             1440px;
}

/* ── RESET ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--page-bg);
  color: var(--text-primary);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font-family: inherit; }
.site-icon {
  display: block;
  width: 1em;
  height: 1em;
  flex: 0 0 auto;
  overflow: visible;
  color: inherit;
}

/* WordPress screen-reader-text */
.screen-reader-text {
  clip: rect(1px,1px,1px,1px);
  height: 1px;
  overflow: hidden;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
}

/* ── WORDPRESS ADMIN BAR ─────────────────────────────────── */
.admin-bar .site-header { top: 32px; }
@media screen and (max-width: 782px) {
  .admin-bar .site-header { top: 46px; }
}

/* ════════════════════════════════════════════════════════════
   HEADER
   ════════════════════════════════════════════════════════════ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,253,248,.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  box-shadow: 0 1px 0 var(--border-color), var(--shadow-sm);
}
.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 28px;
  height: 66px;
  display: flex;
  align-items: center;
  gap: 28px;
}
.header-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.header-logo img { height: 40px; width: auto; }

.header-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1;
}
.header-nav a {
  padding: 6px 14px;
  border-radius: var(--radius-xs);
  font-size: .875rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: background var(--t), color var(--t);
}
.header-nav a:hover { background: var(--brand-light-beige); color: var(--text-primary); }
.header-nav a.active {
  background: var(--brand-light-beige);
  color: var(--text-primary);
  font-weight: 600;
}

/* Language switcher */
.header-lang {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: auto;
}
.lang-btn {
  background: none;
  border: 1px solid transparent;
  border-radius: var(--radius-xs);
  padding: 5px 9px;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .05em;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--t);
}
.lang-btn:hover { border-color: var(--border-color); color: var(--text-primary); }
.lang-btn.active {
  background: var(--brand-graphite);
  color: var(--brand-white);
  border-color: var(--brand-graphite);
}

/* Mobile toggle */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  color: var(--text-primary);
  margin-left: auto;
  border-radius: var(--radius-xs);
  transition: background var(--t);
}
.mobile-menu-toggle:hover { background: var(--brand-light-beige); }
.mobile-menu-toggle svg { display: block; }

/* ════════════════════════════════════════════════════════════
   HERO BAND — light showroom card
   ════════════════════════════════════════════════════════════ */
.hero-band {
  background: linear-gradient(135deg, #f0ebe0 0%, #e8e2d5 100%);
  border-bottom: 1px solid var(--border-color);
  padding: 44px 28px;
}
.hero-band-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  gap: 48px;
  flex-wrap: wrap;
}
.hero-main {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
  min-width: 0;
}
.hero-info {
  min-width: 0;
  height: 100%;
  padding: 11px 18px;
  background: var(--card-bg);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--t), transform var(--t);
}
.hero-info:hover {
  box-shadow: var(--shadow-card);
  transform: translateX(3px);
}
.hero-info-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 9px;
}
.hero-info-heading h2 {
  margin: 0;
  color: var(--text-primary);
  font-size: .82rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.hero-info-list {
  display: grid;
  gap: 5px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.hero-info-list li {
  position: relative;
  padding-left: 15px;
  color: var(--text-secondary);
  font-size: .8rem;
  line-height: 1.4;
  overflow-wrap: anywhere;
}
.hero-info-list li::before {
  content: '';
  position: absolute;
  top: .58em;
  left: 1px;
  width: 5px;
  height: 5px;
  background: var(--brand-graphite);
  border-radius: 50%;
  opacity: .65;
}

@media (min-width: 1024px) {
  .hero-band-inner {
    align-items: stretch;
    gap: 16px;
    flex-wrap: nowrap;
  }
  .hero-band-inner .hero-main {
    flex: 0 0 39%;
    width: auto;
  }
  .hero-band-inner .hero-features {
    flex: 1 1 61%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  .hero-band-inner .hero-feature {
    justify-content: center;
    min-height: 0;
    padding: 10px 16px;
  }
}

.hero-features {
  display: grid;
  grid-template-columns: repeat(2, minmax(240px, 1fr));
  flex: 1;
  gap: 8px;
  justify-content: center;
}
.hero-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--card-bg);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 11px 18px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--t), transform var(--t);
}
.hero-feature:hover {
  box-shadow: var(--shadow-card);
  transform: translateX(3px);
}
.hero-feat-icon {
  width: 34px;
  height: 34px;
  background: var(--brand-light-beige);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xs);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--brand-graphite);
}
.hero-feat-icon .site-icon { width: 17px; height: 17px; }
.hero-feature .label {
  font-size: .875rem;
  font-weight: 500;
  color: var(--text-primary);
}

/* ── INBANK BLOCK ───────────────────────────────────────── */
.inbank-block {
  max-width: var(--max-w);
  margin: 28px auto 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  padding: 20px 28px;
  background: var(--card-bg);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.inbank-block-text {
  flex: 11;
  min-width: 0;
}
.inbank-block-title {
  font-size: .88rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.35;
  margin: 0 0 5px;
}
.inbank-block-desc {
  font-size: .77rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin: 0;
}
.inbank-block-banner {
  flex: 9;
  min-width: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}
.inbank-banner-img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
}
/* ── Badge ───────────────────────────────────────────────── */
.inbank-badge {
  display: inline-flex;
  align-items: baseline;
  padding: 6px 15px;
  background: rgba(109, 40, 217, .09);
  color: #6d28d9;
  font-size: .865rem;
  font-weight: 850;
  letter-spacing: .05em;
  text-transform: uppercase;
  border-radius: 20px;
  line-height: 1.5;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease;
}
.inbank-badge:hover {
  background-color: rgba(109, 40, 217, .14);
  color: #5b21b6;
}
.inbank-badge-arrow {
  display: block;
  flex: 0 0 auto;
  width: 1em;
  height: 1em;
  margin-left: 5px;
  color: inherit;
  overflow: visible;
  transition: transform .2s ease;
}
.inbank-badge:hover .inbank-badge-arrow {
  transform: translate(2px, -2px);
}
/* ── Benefits list ───────────────────────────────────────── */
.inbank-benefits {
  list-style: none;
  margin: 9px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.inbank-benefit {
  display: flex;
  align-items: baseline;
  gap: 6px;
  font-size: .79rem;
  color: var(--text-primary);
  line-height: 1.45;
}
.inbank-benefit-icon {
  width: 15px;
  height: 15px;
  color: var(--brand-graphite);
  margin-top: .08em;
}
/* ── Lower block gap ─────────────────────────────────────── */
.inbank-block-lower {
  margin-top: 28px;
}
.inbank-detail-list {
  display: grid;
  gap: 5px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.inbank-detail-list li {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--text-secondary);
  font-size: .77rem;
  line-height: 1.45;
}
.inbank-detail-list .site-icon {
  width: 14px;
  height: 14px;
  color: var(--brand-graphite);
}

/* ════════════════════════════════════════════════════════════
   CATALOG SECTION
   ════════════════════════════════════════════════════════════ */
.catalog-section {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 36px 28px 72px;
}

/* ── FILTER BAR ─────────────────────────────────────────── */
.filter-bar-wrap {
  position: sticky;
  top: 66px;
  z-index: 90;
}
.admin-bar .filter-bar-wrap { top: 98px; }
@media screen and (max-width: 782px) {
  .admin-bar .filter-bar-wrap { top: 112px; }
}
.filter-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 28px;
  padding: 11px 14px;
  scroll-padding-inline: 14px;
  background: #f8f6f1;
  border: 1px solid var(--border-subtle);
  border-bottom-color: var(--border-color);
  border-radius: 10px;
  box-shadow: 0 5px 16px rgba(80,95,95,.08);
  transition: background-color var(--t), box-shadow var(--t), border-color var(--t);
}
/* Edge fade over the horizontally-scrolling category list (mobile/tablet).
   Positioned on the wrapper (not the scroll container) so it stays anchored
   to the visible edge instead of scrolling away with the buttons; toggled
   by initCategoryFilter() in texnika.js based on actual scroll position. */
.filter-fade {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 32px;
  pointer-events: none;
  opacity: 0;
  transition: opacity .2s ease;
  z-index: 1;
}
.filter-fade--left {
  left: 0;
  border-radius: 10px 0 0 10px;
  background: linear-gradient(to right, #f8f6f1, rgba(248, 246, 241, 0));
}
.filter-fade--right {
  right: 0;
  border-radius: 0 10px 10px 0;
  background: linear-gradient(to left, #f8f6f1, rgba(248, 246, 241, 0));
}
.filter-bar-wrap.can-scroll-left .filter-fade--left,
.filter-bar-wrap.can-scroll-right .filter-fade--right { opacity: 1; }
.filter-label {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-right: 4px;
  white-space: nowrap;
}
.filter-btn {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 999px;
  padding: 6px 18px;
  font-size: .82rem;
  font-weight: 500;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--t);
  white-space: nowrap;
  box-shadow: var(--shadow-sm);
}
.filter-btn:hover {
  border-color: var(--brand-graphite);
  color: var(--text-primary);
  background: var(--brand-light-beige);
  box-shadow: none;
}
.filter-btn.active {
  background: var(--brand-graphite);
  border-color: var(--brand-graphite);
  color: var(--brand-white);
  box-shadow: 0 2px 8px rgba(100,114,115,.22);
}
.filter-btn.hidden-by-filter { display: none; }

.catalog-meta {
  margin-left: auto;
  font-size: .8rem;
  color: var(--text-muted);
  white-space: nowrap;
}

@media (max-width: 959px) {
  .filter-bar {
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-inline: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    cursor: grab;
  }
  .filter-bar.is-dragging {
    cursor: grabbing;
    user-select: none;
  }
  .filter-bar::-webkit-scrollbar { display: none; }
  .filter-label,
  .filter-btn,
  .catalog-meta { flex: 0 0 auto; }
  .catalog-meta { margin-left: 0; }
}

/* ════════════════════════════════════════════════════════════
   BENTO GRID — sizes unchanged
   ════════════════════════════════════════════════════════════ */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
  align-items: start;
}
.bento-grid > *,
.sp-layout > *,
.contacts-grid > * {
  min-width: 0;
}
.card-xlarge { grid-column: span 4; }
.card-large  { grid-column: span 3; }
.card-medium { grid-column: span 3; }
.card-small  { grid-column: span 3; }

.product-card.js-hidden { display: none !important; }

/* ════════════════════════════════════════════════════════════
   PRODUCT CARD
   ════════════════════════════════════════════════════════════ */
.product-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  border: 1px solid var(--border-subtle);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--t-slow), box-shadow var(--t-slow);
  position: relative;
  box-shadow: var(--shadow-card);
  min-width: 0;
  max-width: 100%;
}
.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  border-color: var(--border-color);
}

/* Image zone */
.card-img-wrap {
  display: block;
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, #f9f6f0 0%, #f2ede4 100%);
  flex-shrink: 0;
  border-radius: var(--radius) var(--radius) 0 0;
}
.card-xlarge .card-img-wrap { height: 340px; }
.card-large  .card-img-wrap { height: 280px; }
.card-medium .card-img-wrap { height: 230px; }
.card-small  .card-img-wrap { height: 190px; }

.card-img-wrap .product-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 20px;
  transition: transform .38s ease;
}
.product-card:hover .card-img-wrap .product-img {
  transform: scale(1.05);
}

/* Placeholder SVG */
.placeholder-img {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.placeholder-img .placeholder-svg,
.placeholder-img svg {
  width: 55%;
  max-width: 110px;
  height: auto;
  opacity: .35;
}

/* Badges */
.card-badges {
  position: absolute;
  top: 10px;
  left: 10px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  z-index: 2;
  pointer-events: none;
}
.badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  line-height: 1.4;
}
.badge-discount { background: var(--accent-red); color: #fff; }
.badge-out      { background: rgba(44,52,52,.50); color: #fff; }

/* Dynamic product specifications over the catalog image */
.product-spec-plaques {
  position: absolute;
  right: 10px;
  bottom: 10px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 5px;
  max-width: calc(100% - 20px);
  pointer-events: none;
}
.product-spec-plaque {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  max-width: 100%;
  padding: 5px 9px;
  overflow: hidden;
  color: var(--brand-dark);
  background: #f8f9fb;
  border: 1px solid rgba(100, 114, 115, .38);
  border-radius: 6px;
  box-shadow: 0 3px 10px rgba(44, 52, 52, .16), inset 0 1px rgba(255, 255, 255, .42);
  font-size: .74rem;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}
.product-spec-plaque--energy { gap: 6px; }
.product-spec-plaque__bolt {
  width: 8px;
  height: 14px;
  flex: 0 0 auto;
  background: var(--brand-graphite);
  clip-path: polygon(55% 0, 100% 0, 68% 39%, 100% 39%, 31% 100%, 44% 55%, 8% 55%);
  opacity: .9;
}
.product-spec-plaque__energy-value {
  color: var(--accent-green);
  font-size: .9rem;
  letter-spacing: .02em;
}
.product-spec-plaque--secondary { gap: 4px; }
.product-spec-plaque__value { font-size: .86rem; }
.product-spec-plaque__unit {
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: .67rem;
  font-weight: 600;
  opacity: .9;
}

/* Out-of-stock overlay */
.product-card.out-of-stock .card-img-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,253,248,.50);
  pointer-events: none;
}

/* Card body */
.card-body {
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
  min-width: 0;
}
.card-brand {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--brand-graphite);
}
.card-name {
  font-size: .9rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.35;
}
.card-name a {
  color: inherit;
  overflow-wrap: anywhere;
}
.card-name a:hover { color: var(--brand-graphite); }
.card-xlarge .card-name,
.card-large  .card-name { font-size: 1rem; }

/* Condition chip */
.card-condition {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: .7rem;
  color: var(--text-secondary);
  background: var(--brand-light-beige);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xs);
  padding: 3px 9px;
  align-self: flex-start;
}
.card-condition .dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent-red);
  flex-shrink: 0;
}

/* Dimensions */
.card-dims { display: flex; gap: 6px; flex-wrap: wrap; }
.dim-tag {
  font-size: .67rem;
  color: var(--text-muted);
  background: var(--brand-light-beige);
  border: 1px solid var(--border-subtle);
  border-radius: 4px;
  padding: 2px 7px;
  font-variant-numeric: tabular-nums;
}

/* Card footer */
.card-footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
  padding-top: 6px;
}
.card-pricing { min-width: 0; }
.card-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  flex-shrink: 0;
}

/* Pricing */
.price-old {
  font-size: .78rem;
  color: var(--text-muted);
  text-decoration: line-through;
  line-height: 1;
}
.price-new {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--accent-red);
  line-height: 1.1;
}
.card-xlarge .price-new,
.card-large  .price-new { font-size: 1.5rem; }
.price-normal {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.1;
}
.card-xlarge .price-normal,
.card-large  .price-normal { font-size: 1.5rem; }
.card-discount-pct {
  font-size: .7rem;
  font-weight: 600;
  color: var(--accent-red);
  opacity: .8;
  margin-top: 1px;
}

/* WooCommerce wc_price() wrapper — reset defaults */
.price-old .woocommerce-Price-amount,
.price-new .woocommerce-Price-amount,
.card-discount-pct .woocommerce-Price-amount,
.sp-price-old .woocommerce-Price-amount,
.sp-price-new .woocommerce-Price-amount,
.sp-saving .woocommerce-Price-amount {
  font: inherit;
  color: inherit;
}
.woocommerce-Price-currencySymbol { font-size: .85em; }

/* Stock status */
.card-stock {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: .7rem;
  font-weight: 600;
}
.stock-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}
.stock-in  .stock-dot { background: var(--accent-green); }
.stock-out .stock-dot { background: #ccc; }
.stock-in  { color: var(--accent-green); }
.stock-out { color: #b0b0a8; }

/* Подробнее button */
.btn-details {
  background: var(--brand-graphite);
  color: var(--brand-white);
  border: none;
  border-radius: var(--radius-xs);
  padding: 8px 16px;
  font-size: .78rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background var(--t), transform var(--t), box-shadow var(--t);
  display: inline-block;
  letter-spacing: .01em;
}
.btn-details:hover {
  background: var(--brand-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(100,114,115,.25);
}

/* Empty state */
.empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 80px 20px;
  color: var(--text-muted);
}
.empty-state p { font-size: 1rem; margin-top: 8px; }

/* WP default page styles */
.wp-page-content { max-width: 760px; }
.wp-page-content .page-title {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  margin-bottom: 24px;
}
.page-body { line-height: 1.7; }
.page-body p { margin-bottom: 1rem; }

/* ════════════════════════════════════════════════════════════
   FOOTER NAV (shared across pages)
   ════════════════════════════════════════════════════════════ */
.footer-nav { display: flex; gap: 16px; }
.footer-nav a {
  font-size: .82rem;
  color: rgba(238,226,202,.65);
  transition: color var(--t);
}
.footer-nav a:hover { color: var(--brand-beige); }

/* ════════════════════════════════════════════════════════════
   SINGLE PRODUCT PAGE
   ════════════════════════════════════════════════════════════ */
.single-product-page { background: var(--page-bg); }
.sp-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 32px 28px 72px;
}

/* Breadcrumb */
.sp-breadcrumb { margin-bottom: 28px; }
.breadcrumb-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
  list-style: none;
  font-size: .8rem;
  color: var(--text-muted);
}
.breadcrumb-list a { color: var(--brand-graphite); }
.breadcrumb-list a:hover { color: var(--text-primary); }
.bc-sep { margin: 0 2px; opacity: .4; }

/* 2-column layout */
.sp-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}
@media (max-width: 900px) {
  .sp-layout { grid-template-columns: 1fr; gap: 28px; }
}

/* Gallery */
.sp-gallery { display: flex; flex-direction: column; gap: 12px; }
.sp-gallery,
.sp-details,
.sp-main-img,
.sp-specs,
.sp-cta {
  min-width: 0;
  max-width: 100%;
}
.sp-main-img {
  position: relative;
  background: var(--card-bg);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-card);
}
.sp-img-main {
  width: 100%;
  height: 460px;
  object-fit: contain;
  padding: 28px;
  transition: transform .38s ease, opacity .15s ease;
  max-width: 100%;
  cursor: zoom-in;
}
.sp-img-main:hover { transform: scale(1.03); }

/* ── Fullscreen photo viewer ─────────────────────────────── */
.sp-lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(20, 25, 25, .92);
  padding:
    max(16px, env(safe-area-inset-top))
    max(16px, env(safe-area-inset-right))
    max(16px, env(safe-area-inset-bottom))
    max(16px, env(safe-area-inset-left));
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--t-slow);
}
.sp-lightbox.active { opacity: 1; visibility: visible; }
.sp-lightbox-stage {
  width: 100%;
  height: 100%;
  max-width: 1200px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sp-lightbox-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  cursor: zoom-out;
  transition: opacity .15s ease;
}
.sp-lightbox-close {
  position: absolute;
  top: max(12px, env(safe-area-inset-top));
  right: max(12px, env(safe-area-inset-right));
  z-index: 2;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 50%;
  color: var(--brand-white);
  cursor: pointer;
  padding: 0;
  transition: background var(--t), box-shadow var(--t);
}
.sp-lightbox-close:hover { background: rgba(255, 255, 255, .22); }
.sp-lightbox-close:focus-visible {
  outline: 3px solid var(--brand-beige);
  outline-offset: 3px;
}

.sp-badge-overlay { position: absolute; top: 12px; left: 12px; }

.sp-thumbs { display: flex; gap: 8px; flex-wrap: wrap; }
.sp-thumb {
  width: 68px;
  height: 68px;
  border-radius: var(--radius-sm);
  border: 2px solid var(--border-subtle);
  overflow: hidden;
  cursor: pointer;
  background: var(--card-bg);
  padding: 0;
  transition: border-color var(--t), box-shadow var(--t);
  box-shadow: var(--shadow-sm);
}
.sp-thumb:hover,
.sp-thumb.active {
  border-color: var(--brand-graphite);
  box-shadow: 0 0 0 3px rgba(100,114,115,.12);
}
.sp-thumb img { width: 100%; height: 100%; object-fit: contain; }

/* Gallery arrows */
.sp-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--card-bg);
  border: 1px solid var(--border-subtle);
  border-radius: 50%;
  color: var(--text-secondary);
  cursor: pointer;
  padding: 0;
  transition: background var(--t), color var(--t), box-shadow var(--t);
  box-shadow: var(--shadow-sm);
}
.sp-arrow:hover { background: var(--brand-graphite); color: var(--brand-beige); box-shadow: var(--shadow-card); }
.sp-arrow--prev { left: 12px; }
.sp-arrow--next { right: 12px; }

/* Details column */
.sp-details { display: flex; flex-direction: column; gap: 20px; }

.sp-brand {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brand-graphite);
}
.sp-title {
  font-size: clamp(1.2rem, 2.5vw, 1.65rem);
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-primary);
  letter-spacing: -.01em;
  overflow-wrap: anywhere;
}

/* Chips */
.sp-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.sp-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 13px;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 600;
  border: 1px solid var(--border-color);
}
.chip-in  { color: var(--accent-green); background: #f0faf3; border-color: #c4e8cc; }
.chip-out { color: #999; background: #f5f5f3; border-color: #e0e0da; }
.chip-neutral { color: var(--text-secondary); background: var(--brand-light-beige); }
.sp-chip .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-red);
  flex-shrink: 0;
}

/* Single product pricing */
.sp-price-old {
  font-size: .9rem;
  color: var(--text-muted);
  text-decoration: line-through;
  margin-bottom: 4px;
}
.sp-price-new {
  font-size: 2.3rem;
  font-weight: 800;
  color: var(--accent-red);
  line-height: 1;
  letter-spacing: -.02em;
}
.sp-saving {
  font-size: .82rem;
  font-weight: 600;
  color: var(--accent-red);
  opacity: .75;
  margin-top: 6px;
}

/* Grouped product specifications */
.sp-specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.spec-section {
  min-width: 0;
  padding: 17px 18px 15px;
  background: var(--card-bg);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  box-shadow: 0 3px 14px rgba(35, 45, 46, .035);
}
.spec-section--functions,
.spec-section--condition { grid-column: 1 / -1; }
.spec-section__title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 8px;
  padding: 0 0 11px;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-primary);
  font-size: .98rem;
  font-weight: 700;
  line-height: 1.25;
}
.spec-section__icon {
  --spec-icon-line: 1.25px;
  position: relative;
  display: inline-block;
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
  color: currentColor;
}
.spec-section__icon::before,
.spec-section__icon::after {
  content: "";
  position: absolute;
  box-sizing: border-box;
}

/* Dimensions: horizontal measure with two arrowheads. */
.spec-section__icon--dimensions { background: linear-gradient(currentColor, currentColor) center / 10px var(--spec-icon-line) no-repeat; }
.spec-section__icon--dimensions::before,
.spec-section__icon--dimensions::after {
  top: 5px;
  width: 6px;
  height: 6px;
  border-style: solid;
  border-color: currentColor;
  border-width: var(--spec-icon-line) 0 0 var(--spec-icon-line);
}
.spec-section__icon--dimensions::before { left: 1px; transform: rotate(-45deg); }
.spec-section__icon--dimensions::after { right: 1px; transform: rotate(135deg); }

/* Washing: drum outline and a restrained inner ring. */
.spec-section__icon--washing {
  border: var(--spec-icon-line) solid currentColor;
  border-radius: 50%;
}
.spec-section__icon--washing::before {
  inset: 4px;
  border: var(--spec-icon-line) solid currentColor;
  border-radius: 50%;
}

/* Drying: three lightweight airflow strokes. */
.spec-section__icon--drying::before {
  top: 3px;
  left: 2px;
  width: 12px;
  height: var(--spec-icon-line);
  background: currentColor;
  border-radius: 1px;
  box-shadow: 0 4px 0 currentColor, 0 8px 0 currentColor;
}

/* Energy: a three-stroke, unfilled lightning zigzag. */
.spec-section__icon--energy {
  background: linear-gradient(currentColor, currentColor) center / 5px var(--spec-icon-line) no-repeat;
}
.spec-section__icon--energy::before,
.spec-section__icon--energy::after {
  left: 4px;
  width: 9px;
  height: var(--spec-icon-line);
  background: currentColor;
  border-radius: 1px;
  transform: rotate(-56deg);
  transform-origin: center;
}
.spec-section__icon--energy::before { top: 4px; }
.spec-section__icon--energy::after { bottom: 4px; }

/* Functions: a small two-ray sparkle. */
.spec-section__icon--functions { transform: rotate(45deg); }
.spec-section__icon--functions::before {
  top: 7px;
  left: 1px;
  width: 14px;
  height: var(--spec-icon-line);
  background: currentColor;
  border-radius: 1px;
}
.spec-section__icon--functions::after {
  top: 1px;
  left: 7px;
  width: var(--spec-icon-line);
  height: 14px;
  background: currentColor;
  border-radius: 1px;
}

/* Condition: unframed lightweight check. */
.spec-section__icon--condition::before {
  top: 3px;
  left: 3px;
  width: 10px;
  height: 6px;
  border-left: var(--spec-icon-line) solid currentColor;
  border-bottom: var(--spec-icon-line) solid currentColor;
  transform: rotate(-45deg);
}

/* General specifications: a minimal document outline. */
.spec-section__icon--general {
  border: var(--spec-icon-line) solid currentColor;
  border-radius: 2px;
}
.spec-section__icon--general::before {
  top: 4px;
  left: 3px;
  width: 8px;
  height: var(--spec-icon-line);
  background: currentColor;
  box-shadow: 0 3px 0 currentColor, 0 6px 0 currentColor;
}

/* Ready for a shared Warehouse section when it is exposed publicly. */
.spec-section__icon--warehouse {
  top: 2px;
  height: 12px;
  border: var(--spec-icon-line) solid currentColor;
  border-radius: 1px;
}
.spec-section__icon--warehouse::before {
  top: -4px;
  left: 3px;
  width: 8px;
  height: 8px;
  border-top: var(--spec-icon-line) solid currentColor;
  border-left: var(--spec-icon-line) solid currentColor;
  transform: rotate(45deg);
}
.spec-section__icon--warehouse::after {
  bottom: 0;
  left: 7px;
  height: 7px;
  border-left: var(--spec-icon-line) solid currentColor;
}
.spec-section__list { margin: 0; }
.spec-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 16px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(218, 222, 222, .65);
  font-size: .86rem;
}
.spec-row:last-child { border-bottom: 0; padding-bottom: 0; }
.spec-row dt { color: var(--text-muted); font-weight: 500; line-height: 1.4; }
.spec-row dd {
  margin: 0;
  color: var(--text-primary);
  font-weight: 600;
  line-height: 1.4;
  text-align: right;
  min-width: 0;
  overflow-wrap: normal;
  word-break: normal;
}
.spec-feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.spec-feature-item {
  display: flex;
  align-items: baseline;
  gap: 8px;
  min-width: 0;
  color: var(--text-primary);
  font-size: .86rem;
  line-height: 1.4;
}
.spec-feature-check {
  flex: 0 0 auto;
  color: var(--text-secondary);
  font-weight: 700;
}
.spec-defects {
  display: grid;
  gap: 10px;
  margin-top: 13px;
  padding: 13px 14px;
  background: #faf8f4;
  border-radius: var(--radius-xs);
  color: var(--text-secondary);
  font-size: .84rem;
  line-height: 1.5;
}
.spec-defect strong {
  display: block;
  margin-bottom: 2px;
  color: var(--text-primary);
  font-size: .8rem;
}
.spec-defect p { margin: 0; }

@media (max-width: 767px) {
  .sp-specs {
    width: calc(100vw - 56px);
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }
  .spec-section--functions,
  .spec-section--condition { grid-column: auto; }
  .spec-section { padding: 15px 14px 13px; }
  .spec-feature-list { grid-template-columns: minmax(0, 1fr); }
}

/* CTA block */
.sp-cta { display: flex; flex-direction: column; gap: 12px; padding-top: 4px; }
.btn-contact-large {
  display: block;
  background: var(--brand-graphite);
  color: var(--brand-white);
  border: none;
  border-radius: var(--radius-sm);
  padding: 16px 28px;
  font-size: 1rem;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  transition: background var(--t), transform var(--t), box-shadow var(--t);
  letter-spacing: .01em;
}
.btn-contact-large:hover {
  background: var(--brand-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(100,114,115,.25);
}

.btn-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .85rem;
  color: var(--text-secondary);
  transition: color var(--t);
  align-self: flex-start;
}
.btn-back:hover { color: var(--text-primary); }

/* Description */
.sp-description {
  border-top: 1px solid var(--border-subtle);
  padding-top: 40px;
  margin-bottom: 48px;
}
.sp-description h2 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -.01em;
}
.sp-desc-content { font-size: .9rem; line-height: 1.7; color: var(--text-secondary); }
.sp-desc-content p { margin-bottom: .9rem; }

/* Related products */
.sp-related { border-top: 1px solid var(--border-subtle); padding-top: 40px; }
.sp-related h2 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 24px;
  letter-spacing: -.01em;
}
.sp-related .bento-grid { grid-template-columns: repeat(4, 1fr); }
.sp-related .card-xlarge,
.sp-related .card-large,
.sp-related .card-medium,
.sp-related .card-small { grid-column: span 1; }

/* ════════════════════════════════════════════════════════════
   CONTACTS PAGE
   ════════════════════════════════════════════════════════════ */
.contacts-page {
  max-width: 820px;
  margin: 0 auto;
  padding: 56px 28px 96px;
}
.contacts-header { margin-bottom: 44px; }
.contacts-header .eyebrow {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brand-graphite);
  margin-bottom: 10px;
}
.contacts-header h1 {
  font-size: clamp(1.7rem, 4vw, 2.5rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -.02em;
}
.contacts-header p {
  font-size: .95rem;
  color: var(--text-secondary);
  margin-top: 10px;
  max-width: 480px;
  line-height: 1.6;
}

.contacts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 24px;
}
.contact-card {
  background: var(--card-bg);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow-card);
  transition: box-shadow var(--t-slow), transform var(--t-slow);
  min-width: 0;
  max-width: 100%;
}
.contact-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
}
.contact-card--link {
  display: block;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}
.contact-card.contact-card--link:active {
  transform: scale(0.98);
  box-shadow: var(--shadow-sm);
  transition-duration: .08s;
}
.contact-card--wide { grid-column: 1 / -1; }

.cc-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--brand-light-beige);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-graphite);
  margin-bottom: 16px;
}
.cc-icon .site-icon { width: 21px; height: 21px; }
.cc-label {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 6px;
}
.cc-value {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  overflow-wrap: anywhere;
}
.cc-value a {
  color: var(--text-primary);
  border-bottom: 1px solid var(--border-color);
  transition: border-color var(--t), color var(--t);
}
.cc-value a:hover { color: var(--brand-graphite); border-color: var(--brand-graphite); }
.cc-note { font-size: .78rem; color: var(--text-muted); margin-top: 4px; }

/* Map card */
.contact-card--map { padding: 22px; }

.cc-map-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}
.cc-map-header .cc-icon { margin-bottom: 0; flex-shrink: 0; }

.cc-map-wrap {
  position: relative;
  width: 100%;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  margin-bottom: 14px;
  background: var(--brand-light-beige);
  /* 16:7 aspect ratio — wide but not too tall */
  aspect-ratio: 16 / 7;
}
@supports not (aspect-ratio: 16/7) {
  /* Fallback for older browsers */
  .cc-map-wrap::before { content: ''; display: block; padding-top: 43.75%; }
  .cc-map-wrap iframe  { position: absolute; inset: 0; }
}
.cc-map-wrap iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
}

.btn-directions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  background: var(--brand-graphite);
  color: var(--brand-white);
  border: none;
  border-radius: var(--radius-sm);
  padding: 13px 20px;
  font-size: .92rem;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  transition: background var(--t), transform var(--t), box-shadow var(--t);
  margin-bottom: 14px;
}
.btn-directions:hover {
  background: var(--brand-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(100,114,115,.25);
}
.btn-directions-icon { width: 17px; height: 17px; }

.cc-map-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.cc-map-meta .cc-note { margin: 0; }

.cc-hours {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  white-space: nowrap;
}
.cc-hours-days {
  font-size: .75rem;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--brand-light-beige);
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
  padding: 2px 10px;
}
.cc-hours-time {
  font-size: .82rem;
  font-weight: 700;
  color: var(--text-primary);
}

@media (max-width: 480px) {
  .cc-map-wrap { aspect-ratio: 4 / 3; }
  .cc-map-meta { flex-direction: column; align-items: flex-start; }
}

.reg-block {
  background: var(--brand-light-beige);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 18px 22px;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 32px;
}
.rb-icon { color: var(--brand-graphite); flex-shrink: 0; }
.rb-icon .site-icon { width: 20px; height: 20px; }
.rb-text { font-size: .85rem; color: var(--text-secondary); }
.rb-text strong { font-weight: 700; color: var(--text-primary); }

/* CTA band */
.cta-band {
  background: var(--brand-graphite);
  color: var(--brand-beige);
  border-radius: var(--radius);
  padding: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.cta-band h2 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 4px;
  letter-spacing: -.01em;
}
.cta-band p { font-size: .875rem; color: rgba(238,226,202,.75); }
.btn-cta {
  background: var(--brand-light-beige);
  color: var(--text-primary);
  border: none;
  border-radius: var(--radius-sm);
  padding: 12px 26px;
  font-size: .92rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: background var(--t), transform var(--t);
  display: inline-block;
}
.btn-cta:hover { background: var(--brand-beige); transform: translateY(-1px); }

/* ════════════════════════════════════════════════════════════
   FOOTER
   ════════════════════════════════════════════════════════════ */
.site-footer {
  background: var(--brand-graphite);
  color: var(--brand-beige);
  padding: 40px 28px;
  margin-top: 48px;
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}
.footer-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.footer-brand-main { display: flex; align-items: center; gap: 10px; }
.footer-brand-main img { height: 34px; filter: brightness(0) invert(.88); }
.footer-brand span {
  font-size: .95rem;
  font-weight: 700;
  color: var(--brand-beige);
  letter-spacing: .04em;
}
.footer-inbank { display: flex; align-items: center; gap: 8px; }
.footer-inbank-logo { width: 96px; height: auto; filter: brightness(0) invert(.88); opacity: .7; }
.footer-inbank-label { font-size: .68rem; color: rgba(238,226,202,.55); white-space: nowrap; }
.footer-info { font-size: .8rem; line-height: 1.75; text-align: right; }
.footer-info a { transition: color var(--t); }
.footer-info a:hover { color: var(--brand-white); }
.footer-reg { margin-top: 4px; font-size: .7rem; opacity: .45; }

/* ════════════════════════════════════════════════════════════
   WOOCOMMERCE NOTICES
   ════════════════════════════════════════════════════════════ */
.woocommerce-notices-wrapper {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 28px;
}
.woocommerce-message,
.woocommerce-error,
.woocommerce-info {
  background: var(--card-bg);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  margin: 12px 0;
  font-size: .875rem;
  list-style: none;
  box-shadow: var(--shadow-sm);
}
.woocommerce-error   { border-left: 3px solid #e74c3c; }
.woocommerce-message { border-left: 3px solid var(--accent-green); }
.woocommerce-info    { border-left: 3px solid var(--brand-graphite); }

/* ════════════════════════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════════════════════════ */

/* Large tablet — 6 columns */
@media (max-width: 1100px) {
  .bento-grid { grid-template-columns: repeat(6, 1fr); }
  .card-xlarge { grid-column: span 3; }
  .card-large  { grid-column: span 3; }
  .card-medium { grid-column: span 3; }
  .card-small  { grid-column: span 3; }

  .sp-related .bento-grid { grid-template-columns: repeat(3, 1fr); }
  .sp-related .card-xlarge,
  .sp-related .card-large,
  .sp-related .card-medium,
  .sp-related .card-small { grid-column: span 1; }
}

/* Tablet */
@media (max-width: 900px) {
  .sp-layout { grid-template-columns: 1fr; }
  dt { flex: 0 0 140px; }
}

/* ════════════════════════════════════════════════════════════
   PAGINATION
   ════════════════════════════════════════════════════════════ */
.pagination-nav {
  display: flex;
  justify-content: center;
  padding: 40px 16px 16px;
}
.page-numbers-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  justify-content: center;
}
.page-numbers-wrap .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 12px;
  border-radius: var(--radius-xs);
  font-size: .82rem;
  font-weight: 500;
  text-decoration: none;
  transition: all var(--t);
  border: 1px solid var(--border-color);
  background: var(--card-bg);
  color: var(--text-secondary);
  box-shadow: var(--shadow-sm);
  line-height: 1;
  cursor: pointer;
}
.page-numbers-wrap a.page-numbers:hover {
  background: var(--brand-light-beige);
  border-color: var(--brand-graphite);
  color: var(--text-primary);
  box-shadow: none;
}
.page-numbers-wrap .current {
  background: var(--brand-graphite);
  color: var(--brand-white);
  border-color: var(--brand-graphite);
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(100,114,115,.22);
  cursor: default;
}
.page-numbers-wrap .dots {
  border-color: transparent;
  background: transparent;
  box-shadow: none;
  color: var(--brand-mid);
  pointer-events: none;
  min-width: 24px;
  padding: 0;
}
.page-numbers-wrap .prev,
.page-numbers-wrap .next {
  font-size: 1rem;
  font-weight: 400;
}

@media (min-width: 769px) and (max-width: 1100px) {
  .inbank-block-banner { flex: 0 0 420px; }
}

/* Compact Hero order: information, Inbank, benefits */
@media (max-width: 900px) {
  .hero-band {
    display: flex;
    flex-direction: column;
  }
  .hero-band-inner { display: contents; }
  .hero-main { order: 1; }
  .inbank-block { order: 2; }
  .hero-features {
    order: 3;
    margin-top: 24px;
  }
}

/* Small tablet + mobile menu */
@media (max-width: 768px) {
	.header-inner {
		padding-inline: 16px;
		gap: 10px;
		max-width: 100%;
		height: 72px;
	}
	/* Logo is the primary visual anchor on mobile; language switcher
	   becomes a compact secondary control (was equal-weight with lang-btn
	   forced to the same 44px box, making the active pill read as bigger
	   than the logo). */
	.header-logo img { height: 64px; }
  .header-nav { display: none; }
  .header-nav.mobile-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--card-bg);
    padding: 12px 16px;
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 8px 24px rgba(80,95,95,.12);
    gap: 4px;
    z-index: 99;
  }
  .mobile-menu-toggle { display: flex; min-width: 44px; min-height: 44px; }
	.lang-btn {
		min-width: 34px;
		min-height: 34px;
		padding: 4px 6px;
		font-size: .68rem;
	}
	.header-lang { margin-left: 0; }
	.filter-bar-wrap { top: 72px; }
	.admin-bar .filter-bar-wrap { top: 118px; }

  /* 2-column grid on mobile */
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .card-xlarge,
  .card-large,
  .card-medium,
  .card-small { grid-column: span 1; }

  .card-xlarge .card-img-wrap,
  .card-large  .card-img-wrap { height: 220px; }

  /* Hero */
  .hero-band { padding: 32px 20px; }
  .hero-features {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    width: 100%;
  }
  .hero-feature {
    min-width: 0;
    height: 100%;
    padding: 9px 10px;
    gap: 8px;
  }
  .hero-feature .label {
    min-width: 0;
    line-height: 1.35;
    overflow-wrap: normal;
    word-break: normal;
  }
  .inbank-block {
    flex-direction: column;
    align-items: stretch;
    margin-top: 20px;
    padding: 18px 20px;
    gap: 24px;
  }
  .inbank-block-text,
  .inbank-block-banner {
    flex: none;
    width: 100%;
    min-width: 0;
  }
  .inbank-block-banner { order: -1; justify-content: center; }
  .inbank-banner-img { margin-inline: auto; }

  /* Contacts */
  .contacts-grid { grid-template-columns: 1fr; }
  .contact-card--wide { grid-column: 1; }
  .cta-band { flex-direction: column; }

  /* Related */
  .sp-related .bento-grid { grid-template-columns: repeat(2, 1fr); }

  /* Filter */
  .catalog-section { padding: 24px 16px 56px; }
  .filter-bar {
    padding: 11px 14px;
    scroll-padding-inline: 14px;
  }
  .filter-btn {
    padding: 5px 14px;
    font-size: .8rem;
  }

  /* Footer — center all content in a single column */
  .footer-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .footer-brand { align-items: center; }
  .footer-info  { text-align: center; }
}

@media (max-width: 620px) {
  .hero-features { grid-template-columns: 1fr; gap: 7px; }
  .hero-feature { height: auto; padding: 9px 12px; }
  .hero-feature .label { font-size: .84rem; }
}

/* Mobile */
@media (max-width: 480px) {
  .bento-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .filter-bar { gap: 8px 6px; }
	.filter-label { width: auto; margin-right: 0; white-space: nowrap; }
	.filter-btn {
		min-height: 44px;
		max-width: 100%;
		white-space: nowrap;
		line-height: 1.25;
		overflow-wrap: normal;
	}
  .catalog-meta { width: auto; margin-left: 0; margin-top: 0; }

  .sp-img-main { height: 280px; }
  .sp-thumbs { flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .sp-thumbs::-webkit-scrollbar { display: none; }
  .sp-price-new { font-size: 1.85rem; }
	.spec-row { gap: 12px; }
	.btn-contact-large { width: 100%; max-width: 100%; padding-inline: 16px; }
	.card-footer { align-items: flex-end; }
	.card-actions { max-width: 48%; }
	.btn-details { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; max-width: 100%; }

  .sp-related .bento-grid { grid-template-columns: 1fr; }

  .hero-band { padding: 28px 16px; }
  .inbank-block { gap: 16px; padding: 16px 18px 20px; }

  /* Pagination — compact on small screens */
  .page-numbers-wrap { gap: 4px; }
  .page-numbers-wrap .page-numbers {
    min-width: 34px;
    height: 34px;
    padding: 0 9px;
    font-size: .78rem;
  }
}

.mobile-menu-toggle:focus-visible,
.lang-btn:focus-visible,
.filter-btn:focus-visible,
.btn-details:focus-visible,
.btn-contact-large:focus-visible,
.btn-directions:focus-visible,
.contact-card--link:focus-visible,
.sp-thumb:focus-visible,
.sp-arrow:focus-visible,
.inbank-block-banner:focus-visible,
.footer-inbank:focus-visible,
.sp-img-main:focus-visible {
  outline: 3px solid var(--brand-graphite);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .product-card,
  .card-img-wrap .product-img,
  .sp-img-main,
  .contact-card,
  .btn-details,
  .btn-contact-large,
  .btn-directions {
    transition: none;
  }
}
