/* ТехноДомТВ — design system */


:root {
  --bg: #ffffff;
  --bg-alt: #f4f6f8;
  --navy: #10161d;
  --navy-soft: #19212c;
  --navy-line: #29323d;
  --ink: #12181f;
  --ink-muted: #64707c;
  --ink-faint: #97a1ab;
  --line: #e6e9ed;
  --accent: #2f5fed;
  --accent-ink: #1c46c9;
  --accent-soft: #eaefff;
  --sale: #ef2f52;
  --sale-soft: #fde9ec;
  --ok: #1aa15c;
  --radius-s: 8px;
  --radius-m: 14px;
  --radius-l: 24px;
  --shadow-s: 0 2px 10px rgba(16, 22, 29, 0.06);
  --shadow-m: 0 14px 34px rgba(16, 22, 29, 0.12);
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --container: 1320px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font-family: inherit; font-size: inherit; color: inherit; }
button { cursor: pointer; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p { margin: 0; }

.wrap {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  border: none;
  font-weight: 600;
  font-size: 14px;
  transition: background .15s ease, transform .1s ease;
  white-space: nowrap;
}
.btn:hover { background: var(--accent-ink); }
.btn:active { transform: scale(.97); }
.btn--outline {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--line);
}
.btn--outline:hover { background: var(--bg-alt); }
.btn--light { background: #fff; color: var(--navy); }
.btn--light:hover { background: var(--bg-alt); }
.btn--block { width: 100%; }
.btn:disabled { opacity: .5; cursor: not-allowed; }

.icon { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.7; flex-shrink: 0; }
.icon--fill { fill: currentColor; stroke: none; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--navy); color: #fff; }
.topbar {
  background: var(--navy-soft);
  border-bottom: 1px solid var(--navy-line);
  font-size: 13px;
}
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; height: 38px; color: #b9c2cc; }
.topbar-links { display: flex; gap: 20px; }
.topbar-links a:hover { color: #fff; }
.topbar-info { display: flex; align-items: center; gap: 16px; }
.topbar-delivery { color: #b9c2cc; }
.topbar-phone { color: #fff; font-weight: 600; white-space: nowrap; }
.topbar-phone:hover { color: #8fb0ff; }

.header-main .wrap {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 88px;
}
.logo { flex-shrink: 0; display: flex; align-items: center; }
.logo img { height: 46px; width: auto; }

.header-search { flex: 1 1 auto; max-width: 560px; position: relative; }
.header-search form {
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: 999px;
  padding: 4px 6px 4px 18px;
}
.header-search input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  color: var(--ink);
  padding: 9px 8px;
}
.header-search input::placeholder { color: var(--ink-faint); }
.header-search button {
  background: var(--accent);
  border: none;
  border-radius: 999px;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
}
.header-search button:hover { background: var(--accent-ink); }

.search-suggest {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: #fff;
  border-radius: var(--radius-m);
  box-shadow: var(--shadow-m);
  overflow: hidden;
  z-index: 70;
  color: var(--ink);
}
.search-suggest.is-open { display: block; }
.search-suggest-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
}
.search-suggest-item:hover { background: var(--bg-alt); }
.search-suggest-thumb {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-s);
  background: var(--bg-alt);
  object-fit: contain;
  flex-shrink: 0;
}
.search-suggest-info { min-width: 0; }
.search-suggest-title {
  font-size: 13px;
  line-height: 1.4;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.search-suggest-price { font-size: 13px; font-weight: 700; margin-top: 2px; }

.header-actions { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.header-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 8px 12px;
  border-radius: var(--radius-s);
  color: #cfd6dd;
  font-size: 11px;
  position: relative;
}
.header-action:hover { background: rgba(255,255,255,.06); color: #fff; }
.header-action .badge {
  position: absolute;
  top: 2px;
  right: 6px;
  background: var(--accent);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  min-width: 16px;
  height: 16px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 3px;
}
.burger-toggle { display: none; }

.header-nav { border-top: 1px solid var(--navy-line); }
.nav-list { display: flex; align-items: center; gap: 4px; height: 52px; }
.nav-item { position: relative; height: 100%; display: flex; align-items: center; }
.nav-link {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 0 16px;
  height: 100%;
  font-size: 14px;
  font-weight: 500;
  color: #dbe1e7;
}
.nav-link:hover, .nav-link--current { color: #fff; }
.nav-item--brands { position: relative; }
.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  color: var(--ink);
  border-radius: 0 0 var(--radius-m) var(--radius-m);
  box-shadow: var(--shadow-m);
  padding: 10px;
  min-width: 200px;
  display: none;
  flex-direction: column;
  gap: 2px;
  z-index: 60;
}
.nav-item--brands:hover .nav-dropdown { display: flex; }
.nav-dropdown a { padding: 9px 12px; border-radius: var(--radius-s); font-size: 14px; font-weight: 500; }
.nav-dropdown a:hover { background: var(--bg-alt); }

/* ---------- Breadcrumbs ---------- */
.breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 13px; color: var(--ink-muted); padding: 16px 0; }
.breadcrumbs a:hover { color: var(--accent); }
.breadcrumbs .sep { color: var(--ink-faint); }
.breadcrumbs .current { color: var(--ink); }

/* ---------- Buttons: favorite/cart icon state ---------- */
.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: #fff;
  color: var(--ink);
  flex-shrink: 0;
}
.icon-btn:hover { border-color: var(--accent); color: var(--accent); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  color: #fff;
  border-radius: var(--radius-l);
  overflow: hidden;
  margin-top: 24px;
  min-height: 520px;
  display: flex;
  align-items: center;
}
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8, 11, 15, .92) 0%, rgba(8, 11, 15, .72) 38%, rgba(8, 11, 15, .25) 68%, rgba(8, 11, 15, .05) 100%);
  z-index: 1;
}
.hero .wrap { position: relative; z-index: 2; padding: 64px 24px; width: 100%; }
.hero-text { max-width: 560px; }
.hero-logo { height: 30px; width: auto; margin-bottom: 24px; filter: brightness(0) invert(1); }
.hero-eyebrow { color: #baff5c; font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 16px; }
.hero-title { font-size: clamp(30px, 4vw, 46px); font-weight: 700; line-height: 1.15; margin-bottom: 18px; }
.hero-sub { color: #d3d9df; font-size: 16px; margin-bottom: 24px; line-height: 1.55; max-width: 480px; }
.hero-features { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }
.hero-feature {
  font-size: 13px;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1.5px solid rgba(255, 255, 255, .3);
  background: rgba(255, 255, 255, .06);
  backdrop-filter: blur(4px);
}

/* ---------- Promo banners ---------- */
.promo-banners { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.promo-banner {
  position: relative;
  border-radius: var(--radius-l);
  overflow: hidden;
  min-height: 240px;
  display: flex;
  align-items: flex-end;
  color: #fff;
}
.promo-banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.promo-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(12, 17, 22, .88) 0%, rgba(12, 17, 22, .25) 55%, rgba(12, 17, 22, .05) 100%);
  z-index: 1;
}
.promo-banner-content { position: relative; z-index: 2; padding: 26px; }
.promo-banner-eyebrow { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; opacity: .85; margin-bottom: 6px; font-weight: 600; }
.promo-banner-title { font-size: 22px; font-weight: 700; margin-bottom: 12px; max-width: 320px; }
.promo-banner-cta { font-size: 13px; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; background: #fff; color: var(--navy); padding: 9px 16px; border-radius: 999px; }

/* ---------- Section heading ---------- */
.section { padding: 56px 0; }
.section--tight { padding: 32px 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.section-title { font-size: clamp(20px, 2.4vw, 28px); font-weight: 700; }
.section-link { font-size: 14px; font-weight: 600; color: var(--accent); display: flex; align-items: center; gap: 4px; }
.section-link:hover { color: var(--accent-ink); }

/* ---------- Category tiles ---------- */
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.tile {
  background: var(--bg-alt);
  border-radius: var(--radius-m);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 150px;
  justify-content: space-between;
  transition: background .15s ease, transform .15s ease;
}
.tile:hover { background: var(--accent-soft); transform: translateY(-2px); }
.tile-icon { width: 34px; height: 34px; color: var(--accent); }
.tile-title { font-weight: 600; font-size: 15px; }

/* ---------- Showroom banner ---------- */
.showroom-banner {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius-m);
  padding: 24px 28px;
}
.showroom-banner-icon {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.showroom-banner-icon .icon { width: 24px; height: 24px; color: #8fb0ff; }
.showroom-banner-text { flex: 1; min-width: 0; }
.showroom-banner-title { font-weight: 700; font-size: 16px; margin-bottom: 4px; }
.showroom-banner-address { color: #c3cbd4; font-size: 13px; line-height: 1.5; }
.showroom-banner-cta { font-weight: 600; font-size: 14px; white-space: nowrap; flex-shrink: 0; }

/* ---------- Brand strip ---------- */
.brand-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.brand-card {
  border: 1.5px solid var(--line);
  border-radius: var(--radius-m);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 128px;
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.brand-card:hover { border-color: var(--accent); box-shadow: var(--shadow-s); transform: translateY(-2px); }
.brand-card img { height: 28px; width: auto; max-width: 140px; object-fit: contain; }
.brand-cta { color: var(--ink-muted); font-size: 13px; font-weight: 500; }

/* ---------- Product grid & card ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.collection-main .product-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; }
.product-grid--carousel {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 4px;
}
.product-grid--carousel .product-card { scroll-snap-align: start; flex: 0 0 268px; }
.product-grid--carousel::-webkit-scrollbar { height: 6px; }
.product-grid--carousel::-webkit-scrollbar-thumb { background: var(--line); border-radius: 999px; }

.product-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  padding: 16px;
  display: flex;
  flex-direction: column;
  transition: box-shadow .15s ease, border-color .15s ease;
}
.product-card:hover { box-shadow: var(--shadow-m); border-color: transparent; }
.product-card-badges { position: absolute; top: 14px; left: 14px; display: flex; flex-direction: column; gap: 6px; z-index: 2; }
.badge { font-size: 11px; font-weight: 700; padding: 4px 9px; border-radius: 999px; }
.badge--sale { background: var(--sale); color: #fff; }
.badge--new { background: var(--navy); color: #fff; }
.product-card-fav {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-muted);
}
.product-card-fav:hover { color: var(--sale); border-color: var(--sale); }
.product-card-image {
  aspect-ratio: 1 / 1;
  background: var(--bg-alt);
  border-radius: var(--radius-s);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 14px;
}
.product-card-image img { width: 100%; height: 100%; object-fit: contain; padding: 10px; }
.product-card-title {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.8em;
}
.product-card-title:hover { color: var(--accent); }
.product-card-prices { display: flex; align-items: baseline; gap: 8px; margin-bottom: 12px; margin-top: auto; flex-wrap: wrap; }
.price-current { font-size: 18px; font-weight: 700; white-space: nowrap; }
.price-old { font-size: 13px; color: var(--ink-faint); text-decoration: line-through; white-space: nowrap; }
.product-card-buy {
  width: 100%;
  padding: 10px;
  border-radius: var(--radius-s);
  background: var(--bg-alt);
  color: var(--ink);
  font-weight: 600;
  font-size: 13px;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.product-card-buy:hover { background: var(--accent); color: #fff; }

/* ---------- Collection page ---------- */
.collection-head { padding: 8px 0 24px; }
.collection-title { font-size: clamp(24px, 3vw, 34px); font-weight: 700; margin-bottom: 8px; }
.collection-count { color: var(--ink-muted); font-size: 14px; }
.collection-description { color: var(--ink-muted); margin-top: 14px; max-width: 760px; line-height: 1.6; }
.subcollections { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.subcollection-chip {
  padding: 9px 16px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  font-size: 13px;
  font-weight: 500;
}
.subcollection-chip:hover, .subcollection-chip--current { border-color: var(--accent); background: var(--accent-soft); color: var(--accent-ink); }

.collection-layout { display: grid; grid-template-columns: 300px 1fr; gap: 32px; align-items: flex-start; }
.filter-panel { background: var(--bg-alt); border-radius: var(--radius-m); padding: 24px; position: sticky; top: 84px; }
.filter-header { display: none; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.filter-close { display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; }
.filter-heading { font-weight: 700; font-size: 16px; }
.filter-section { padding: 16px 0; border-bottom: 1px solid var(--line); }
.filter-section:first-child { padding-top: 0; }
.filter-section:last-of-type { border-bottom: none; }
.filter-section-title { font-weight: 600; font-size: 13px; color: var(--ink-muted); text-transform: uppercase; letter-spacing: .03em; margin-bottom: 12px; }
.filter-range { display: flex; align-items: center; gap: 8px; }
.filter-range-input {
  width: 0;
  flex: 1;
  min-width: 0;
  padding: 9px 10px;
  border-radius: var(--radius-s);
  border: 1.5px solid var(--line);
  background: #fff;
  font-size: 13px;
}
.filter-range-sep { color: var(--ink-faint); flex-shrink: 0; }
.filter-checklist { display: flex; flex-direction: column; gap: 4px; max-height: 260px; overflow-y: auto; }
.filter-checklist--freq { margin-top: 12px; max-height: 180px; }
.filter-checkbox { display: flex; align-items: center; gap: 9px; padding: 7px 4px; font-size: 14px; cursor: pointer; border-radius: var(--radius-s); }
.filter-checkbox:hover { background: rgba(0, 0, 0, .03); }
.filter-checkbox input { width: 16px; height: 16px; accent-color: var(--accent); flex-shrink: 0; }
.filter-checkbox span:first-of-type { flex: 1; }
.filter-checkbox-count { color: var(--ink-faint); font-size: 12px; }
.filter-actions { padding-top: 16px; display: flex; flex-direction: column; gap: 8px; }
.filter-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: var(--radius-s);
  border: 1.5px solid var(--line);
  background: #fff;
  font-weight: 600;
  font-size: 13px;
}
.filter-overlay { display: none; }

.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; flex-wrap: wrap; }
.sort-form { display: flex; align-items: center; gap: 10px; }
.sort-form label { font-size: 13px; color: var(--ink-muted); }
.select {
  border: 1.5px solid var(--line);
  border-radius: var(--radius-s);
  padding: 9px 14px;
  background: #fff;
  font-size: 13px;
  font-weight: 500;
}

.notice {
  padding: 18px 20px;
  border-radius: var(--radius-m);
  font-size: 14px;
}
.notice--info { background: var(--accent-soft); color: var(--accent-ink); }
.notice--warning { background: #fff4e5; color: #9a5b00; }

/* ---------- Pagination ---------- */
.pagination { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 32px 0; }
.pagination a, .pagination span {
  min-width: 38px;
  height: 38px;
  padding: 0 8px;
  border-radius: var(--radius-s);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-muted);
}
.pagination a:hover { background: var(--bg-alt); color: var(--ink); }
.pagination .pagination-current { background: var(--navy); color: #fff; }

/* ---------- Product page ---------- */
.product-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; padding: 24px 0 56px; align-items: flex-start; }
.gallery-main {
  aspect-ratio: 1 / 1;
  background: var(--bg-alt);
  border-radius: var(--radius-l);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 14px;
}
.gallery-main img { width: 100%; height: 100%; object-fit: contain; padding: 24px; }
.gallery-thumbs { display: flex; gap: 10px; flex-wrap: wrap; }
.gallery-thumb {
  width: 74px;
  height: 74px;
  border-radius: var(--radius-s);
  background: var(--bg-alt);
  border: 1.5px solid transparent;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.gallery-thumb img { width: 100%; height: 100%; object-fit: contain; padding: 6px; }
.gallery-thumb--current, .gallery-thumb:hover { border-color: var(--accent); }

.product-title { font-size: clamp(22px, 2.6vw, 30px); font-weight: 700; line-height: 1.25; margin-bottom: 10px; }
.product-meta { display: flex; align-items: center; gap: 16px; font-size: 13px; color: var(--ink-muted); margin-bottom: 20px; }
.product-status { display: flex; align-items: center; gap: 6px; }
.product-status .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); }
.product-status--out .dot { background: var(--ink-faint); }
.product-short_description { color: var(--ink-muted); line-height: 1.6; margin-bottom: 24px; }

.buybox { background: var(--bg-alt); border-radius: var(--radius-m); padding: 24px; margin-bottom: 28px; }
.buybox-prices { display: flex; align-items: baseline; gap: 12px; margin-bottom: 18px; }
.buybox-prices .price-current { font-size: 30px; }
.buybox-prices .price-old { font-size: 16px; }
.variant-select { margin-bottom: 16px; }
.variant-select label { display: block; font-size: 13px; color: var(--ink-muted); margin-bottom: 6px; }
.variant-select select { width: 100%; padding: 12px 14px; border-radius: var(--radius-s); border: 1.5px solid var(--line); background: #fff; }
.buybox-row { display: flex; align-items: center; gap: 12px; }

.quantity { display: flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; background: #fff; overflow: hidden; flex-shrink: 0; }
.quantity button { width: 38px; height: 46px; background: transparent; border: none; font-size: 16px; color: var(--ink-muted); }
.quantity button:hover { color: var(--accent); }
.quantity input { width: 42px; text-align: center; border: none; height: 46px; -moz-appearance: textfield; }
.quantity input::-webkit-outer-spin-button, .quantity input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.product-tabs { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 32px; }
.tabs-nav { display: flex; gap: 28px; border-bottom: 1px solid var(--line); margin-bottom: 24px; }
.tabs-nav button { background: none; border: none; padding: 0 0 14px; font-size: 15px; font-weight: 600; color: var(--ink-muted); border-bottom: 2px solid transparent; }
.tabs-nav button.is-active { color: var(--ink); border-color: var(--accent); }
.tab-panel { display: none; line-height: 1.7; color: var(--ink); max-width: 760px; }
.tab-panel.is-active { display: block; }
.properties-table { width: 100%; border-collapse: collapse; max-width: 640px; }
.properties-table tr { border-bottom: 1px solid var(--line); }
.properties-table td { padding: 12px 0; font-size: 14px; }
.properties-table td:first-child { color: var(--ink-muted); width: 45%; }

/* ---------- Cart ---------- */
.cart-layout { display: grid; grid-template-columns: 1fr 340px; gap: 40px; align-items: flex-start; padding: 24px 0 56px; }
.cart-item { display: grid; grid-template-columns: 84px 1fr auto auto auto; gap: 16px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); }
.cart-item-image { width: 84px; height: 84px; border-radius: var(--radius-s); background: var(--bg-alt); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.cart-item-image img { width: 100%; height: 100%; object-fit: contain; padding: 6px; }
.cart-item-title { font-size: 14px; font-weight: 500; line-height: 1.4; }
.cart-item-sku { font-size: 12px; color: var(--ink-faint); margin-top: 4px; }
.cart-item-price { font-weight: 600; font-size: 14px; white-space: nowrap; }
.cart-item-remove { color: var(--ink-faint); width: 34px; height: 34px; display: flex; align-items: center; justify-content: center; border-radius: 999px; }
.cart-item-remove:hover { color: var(--sale); background: var(--sale-soft); }
.cart-summary { background: var(--bg-alt); border-radius: var(--radius-m); padding: 24px; position: sticky; top: 100px; }
.cart-summary-row { display: flex; justify-content: space-between; font-size: 14px; color: var(--ink-muted); padding: 8px 0; }
.cart-summary-total { display: flex; justify-content: space-between; font-size: 18px; font-weight: 700; padding: 14px 0; border-top: 1px solid var(--line); margin-top: 6px; margin-bottom: 18px; }
.cart-empty { text-align: center; padding: 80px 0; color: var(--ink-muted); }
.cart-empty .icon { width: 56px; height: 56px; margin: 0 auto 20px; color: var(--ink-faint); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #b9c2cc; margin-top: 64px; }
.footer-top { padding: 56px 0 40px; border-bottom: 1px solid var(--navy-line); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer-logo img { height: 40px; margin-bottom: 16px; }
.footer-desc { font-size: 13px; line-height: 1.6; max-width: 280px; color: #8b96a2; }
.footer-col-title { color: #fff; font-weight: 600; font-size: 14px; margin-bottom: 16px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 13px; }
.footer-links a:hover { color: #fff; }
.footer-contact { font-size: 13px; display: flex; flex-direction: column; gap: 10px; }
.footer-contact a { color: #fff; font-weight: 600; font-size: 15px; }
.footer-contact a:hover { color: #8fb0ff; }
.footer-delivery { color: #8b96a2; }
.footer-bottom { padding: 22px 0; display: flex; align-items: center; justify-content: space-between; font-size: 12px; color: #6d7885; }

/* ---------- Search ---------- */
.search-head { padding: 8px 0 24px; }
.search-form-page { display: flex; gap: 10px; max-width: 460px; margin-top: 16px; }
.search-form-page input { flex: 1; padding: 12px 16px; border-radius: var(--radius-s); border: 1.5px solid var(--line); }

/* ---------- Rich text content (CMS) ---------- */
.rte, .page-content, .tab-panel {
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink);
}
.rte p, .page-content p, .tab-panel p { margin: 0 0 16px; }
.rte ul, .rte ol, .page-content ul, .page-content ol, .tab-panel ul, .tab-panel ol { margin: 0 0 16px; padding-left: 22px; }
.rte li, .page-content li, .tab-panel li { margin-bottom: 6px; }
.rte h2, .page-content h2, .tab-panel h2 { font-size: 22px; font-weight: 700; margin: 28px 0 14px; }
.rte h3, .page-content h3, .tab-panel h3 { font-size: 18px; font-weight: 700; margin: 24px 0 12px; }
.rte a, .page-content a, .tab-panel a { color: var(--accent); text-decoration: underline; }
.rte strong, .page-content strong, .tab-panel strong { font-weight: 700; }
.rte table, .page-content table, .tab-panel table { border-collapse: collapse; margin: 0 0 16px; max-width: 100%; }
.rte img, .page-content img, .tab-panel img { max-width: 100%; height: auto; border-radius: var(--radius-s); margin: 8px 0; }

/* ---------- Mobile ---------- */
.mobile-menu-panel { display: none; }

@media (max-width: 1080px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; row-gap: 32px; }
}

@media (max-width: 860px) {
  .product-layout, .cart-layout { grid-template-columns: 1fr; }
  .cart-summary { position: static; }
  .hero { min-height: 460px; }
  .promo-banners { grid-template-columns: 1fr; }

  .collection-layout { grid-template-columns: 1fr; }
  .filter-toggle { display: inline-flex; }
  .filter-panel {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: min(320px, 86vw);
    z-index: 110;
    border-radius: 0;
    overflow-y: auto;
    transform: translateX(-100%);
    transition: transform .2s ease;
    background: #fff;
  }
  .filter-panel.is-open { transform: translateX(0); }
  .filter-header { display: flex; }
  .filter-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(8, 11, 15, .5);
    z-index: 105;
  }
  .filter-overlay.is-open { display: block; }
}

@media (max-width: 560px) {
  .hero { min-height: 420px; }
  .hero .wrap { padding: 40px 20px; }
  .hero::after { background: linear-gradient(180deg, rgba(8, 11, 15, .55) 0%, rgba(8, 11, 15, .95) 75%); }
}

@media (max-width: 720px) {
  .topbar { display: none; }
  .showroom-banner { flex-wrap: wrap; text-align: center; justify-content: center; }
  .showroom-banner-icon { margin: 0 auto; }
  .header-main .wrap { height: 68px; gap: 14px; }
  .logo img { height: 34px; }
  .header-search { display: none; }
  .header-nav { display: none; }
  .burger-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: #fff;
    order: -1;
  }
  .header-action span:last-child { display: none; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid--carousel .product-card { flex-basis: 200px; }
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .brand-strip { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .cart-item { grid-template-columns: 60px 1fr; grid-template-areas: "img title" "img price" "img qty" "img remove"; }
  .cart-item-image { grid-area: img; }
  .cart-item-title { grid-area: title; }
  .cart-item-price { grid-area: price; }
  .cart-item-remove { grid-area: remove; justify-self: start; }

  .mobile-menu-panel {
    position: fixed;
    inset: 0;
    background: #fff;
    z-index: 100;
    transform: translateX(-100%);
    transition: transform .2s ease;
    overflow-y: auto;
    padding: 20px;
    color: var(--ink);
  }
  .mobile-menu-panel.is-open { display: block; transform: translateX(0); }
  .mobile-menu-close { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; margin-left: auto; }
  .mobile-menu-panel a { display: block; padding: 14px 4px; font-size: 16px; font-weight: 500; border-bottom: 1px solid var(--line); }
}
