:root {
  --ink: #151514;
  --muted: #6c6d68;
  --line: #deded6;
  --paper: #ffffff;
  --wash: #f5f6f1;
  --soft: #edf1ee;
  --accent: #246457;
  --accent-2: #9d3f32;
  --gold: #b58a3d;
  --night: #111412;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  letter-spacing: 0;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
h1, h2, h3, p, figure { margin-top: 0; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 24px;
  min-height: 78px;
  padding: 0 34px;
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,.93);
  backdrop-filter: blur(16px);
}
.brand { display: inline-flex; align-items: center; width: 118px; min-width: 118px; }
.brand img { width: 118px; height: auto; }
.site-header nav { display: flex; justify-content: flex-end; gap: 2px; overflow-x: auto; }
.nav-link, .load-more, .primary-action, .ghost-action, .catalog-toolbar button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid transparent;
  border-radius: 7px;
  font-size: 14px;
  white-space: nowrap;
}
.nav-link { color: var(--muted); }
.nav-link:hover, .nav-link.is-active { color: var(--ink); background: var(--wash); }
.section-hero {
  min-height: calc(100svh - 78px);
  display: grid;
  grid-template-columns: minmax(320px,.72fr) minmax(0,1.28fr);
  border-bottom: 1px solid var(--line);
}
.hero-title {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 52px 34px;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(17,20,18,.35), rgba(17,20,18,.95)),
    radial-gradient(circle at 20% 12%, rgba(181,138,61,.34), transparent 30%),
    var(--night);
}
.hero-title span, .catalog-hero span, .eyebrow, label, .product-kicker {
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.hero-title span { color: #d1b36c; }
.hero-title h1 {
  margin: 12px 0 18px;
  max-width: 560px;
  font-size: clamp(52px, 7.4vw, 112px);
  line-height: .9;
  font-weight: 500;
}
.hero-title p { max-width: 560px; color: rgba(255,255,255,.78); font-size: 18px; line-height: 1.5; }
.hero-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.stock-link {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 15px;
  border: 1px solid rgba(209,179,108,.62);
  border-radius: 7px;
  background: rgba(209,179,108,.12);
  color: #f4df9d;
  font-size: 14px;
  font-weight: 800;
}
.stock-link:hover { background: rgba(209,179,108,.2); }
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, auto 1fr);
  gap: 2px 10px;
  max-width: 520px;
  margin-top: 24px;
  align-items: baseline;
}
.hero-stats strong { font-size: 30px; font-weight: 600; }
.hero-stats span { color: rgba(255,255,255,.68); letter-spacing: 0; text-transform: none; font-size: 14px; }
.section-panels {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, minmax(230px, 1fr));
}
.section-panel {
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: flex-end;
  gap: 8px;
  padding: 28px;
  overflow: hidden;
  border-left: 1px solid rgba(255,255,255,.32);
  border-bottom: 1px solid rgba(255,255,255,.32);
  color: #fff;
  background: #303737;
}
.section-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(180deg, rgba(0,0,0,.05), rgba(0,0,0,.6)), var(--tile-image);
  background-position: center;
  background-size: cover;
  transition: transform 260ms ease;
}
.section-panel:hover::before { transform: scale(1.045); }
.section-panel > * { position: relative; z-index: 1; }
.section-panel span { color: rgba(255,255,255,.78); font-size: 13px; }
.section-panel strong {
  max-width: 100%;
  font-size: clamp(22px, 2.15vw, 34px);
  line-height: 1.04;
  font-weight: 500;
  overflow-wrap: break-word;
  hyphens: none;
}
.section-panel small { color: rgba(255,255,255,.78); font-size: 14px; }
.section-ceiling { grid-column: span 2; grid-row: span 2; }
.section-pendant { grid-column: span 2; }
.section-wall, .section-portable, .section-accessories { grid-column: span 1; }
.section-ceiling strong, .section-pendant strong { max-width: 520px; font-size: clamp(30px, 3.2vw, 52px); }
.section-portable strong, .section-accessories strong { font-size: clamp(22px, 1.7vw, 28px); line-height: 1.08; }
.catalog-hero {
  min-height: 380px;
  display: flex;
  align-items: flex-end;
  padding: 48px 34px;
  border-bottom: 1px solid var(--line);
  background: var(--soft);
  background-image: linear-gradient(90deg, rgba(245,246,241,.98), rgba(245,246,241,.78) 46%, rgba(245,246,241,.04)), var(--hero-image);
  background-repeat: no-repeat;
  background-position: center right;
  background-size: auto 96%;
}
.catalog-hero h1 { margin: 12px 0; max-width: 800px; font-size: clamp(46px, 7vw, 92px); line-height: .94; font-weight: 500; }
.catalog-hero p { max-width: 640px; color: #3f4642; font-size: 18px; line-height: 1.5; }
.catalog-toolbar {
  display: grid;
  grid-template-columns: minmax(220px, 1.4fr) repeat(5, minmax(140px, 1fr)) auto;
  gap: 12px;
  padding: 22px 34px;
  align-items: end;
  border-bottom: 1px solid var(--line);
  background: #fff;
}
.catalog-toolbar div { min-width: 0; }
label { display: block; margin-bottom: 7px; }
input, select {
  width: 100%;
  height: 42px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  color: var(--ink);
  font-size: 14px;
}
.catalog-toolbar button { border-color: var(--line); background: var(--wash); color: var(--ink); cursor: pointer; }
.catalog-results { padding: 28px 34px 44px; }
.results-head {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  margin-bottom: 18px;
  color: var(--muted);
}
.results-head a { color: var(--accent); font-weight: 700; }
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.product-card {
  display: grid;
  min-width: 0;
  grid-template-rows: auto 1fr;
  border: 1px solid var(--line);
  border-radius: 7px;
  overflow: hidden;
  background: #fff;
  transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}
.product-card:hover { border-color: #c9c9bf; transform: translateY(-2px); box-shadow: 0 12px 26px rgba(21,21,20,.08); }
.product-image {
  position: relative;
  aspect-ratio: 1 / 1;
  margin: 0;
  background: var(--wash);
  overflow: hidden;
}
.product-image img { width: 100%; height: 100%; object-fit: contain; padding: 18px; mix-blend-mode: multiply; }
.product-image span {
  position: absolute;
  left: 10px;
  top: 10px;
  padding: 5px 8px;
  border-radius: 6px;
  background: rgba(255,255,255,.92);
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
}
.product-card.is-new .product-image span { color: var(--accent-2); }
.product-meta { display: grid; gap: 8px; padding: 15px; }
.product-kicker { color: var(--gold); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.product-meta h3 {
  min-height: 48px;
  margin: 0;
  font-size: 16px;
  line-height: 1.35;
  font-weight: 700;
}
.product-line { color: var(--muted); font-size: 13px; }
.product-meta small { color: var(--muted); font-size: 12px; }
.product-footer { display: flex; justify-content: space-between; gap: 12px; align-items: center; margin-top: 3px; }
.product-footer strong { font-size: 16px; }
.product-footer em { color: var(--muted); font-style: normal; font-size: 12px; text-align: right; }
.pagination {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin: 30px 0 0;
}
.pagination a, .pagination span, .pagination i {
  display: inline-flex;
  min-width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  border: 1px solid var(--line);
  color: var(--muted);
  font-style: normal;
}
.pagination .is-current { color: #fff; background: var(--accent); border-color: var(--accent); }
.load-more { margin: 28px auto 0; border-color: var(--accent); background: var(--accent); color: #fff; cursor: pointer; }
.load-more[hidden] { display: none; }
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 20px 34px;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.breadcrumbs a { color: var(--accent); }
.product-layout {
  display: grid;
  grid-template-columns: minmax(320px, .92fr) minmax(300px, .78fr);
  gap: 34px;
  padding: 34px;
  border-bottom: 1px solid var(--line);
}
.product-gallery { min-width: 0; }
.product-main-image {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--wash);
  aspect-ratio: 1 / 1;
}
.product-main-image img { width: 100%; height: 100%; object-fit: contain; padding: 26px; mix-blend-mode: multiply; }
.thumbs { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; margin-top: 10px; }
.thumbs button { padding: 0; border: 1px solid var(--line); border-radius: 6px; background: var(--wash); aspect-ratio: 1; cursor: pointer; overflow: hidden; }
.thumbs button.is-active { border-color: var(--accent); box-shadow: 0 0 0 2px rgba(36,100,87,.12); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.product-info { align-self: end; max-width: 680px; }
.product-info h1 { margin: 12px 0 12px; font-size: clamp(38px, 5vw, 72px); line-height: .98; font-weight: 500; overflow-wrap: anywhere; }
.article-line { color: var(--muted); margin-bottom: 18px; overflow-wrap: anywhere; }
.price-block { margin: 0 0 20px; font-size: 32px; font-weight: 700; }
.product-info p { color: #3f4642; font-size: 18px; line-height: 1.55; }
.sales-card {
  display: grid;
  gap: 8px;
  margin: 0 0 20px;
  padding: 22px 24px;
  border-radius: 7px;
  background: var(--night);
  color: rgba(255,255,255,.78);
}
.sales-card span {
  color: #d1b36c;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.sales-card a { color: #fff; font-weight: 800; }
.sales-card .sales-phone { font-size: 30px; line-height: 1.05; }
.sales-card p { margin: 8px 0 0; color: rgba(255,255,255,.78); font-size: 18px; line-height: 1.45; }
.availability-panel {
  display: grid;
  gap: 5px;
  margin-top: 18px;
  padding: 15px 16px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--soft);
}
.availability-panel strong { color: var(--ink); }
.availability-panel span { color: #3f4642; line-height: 1.45; }
.action-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.primary-action { background: var(--accent); color: #fff; }
.ghost-action { border-color: var(--line); color: var(--ink); background: var(--wash); }
.spec-section {
  display: grid;
  grid-template-columns: minmax(240px, .45fr) minmax(0, 1fr);
  gap: 30px;
  padding: 36px 34px;
  border-bottom: 1px solid var(--line);
}
.spec-section h2, .section-head h2 { margin: 8px 0 0; font-size: 34px; line-height: 1.1; font-weight: 500; }
.spec-list {
  display: grid;
  grid-template-columns: minmax(180px, .55fr) minmax(0, 1fr);
  margin: 0;
  border-top: 1px solid var(--line);
}
.spec-list dt, .spec-list dd {
  margin: 0;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.spec-list dt { color: var(--muted); padding-right: 16px; }
.spec-list dd { font-weight: 700; }
.related-section { padding: 36px 34px 50px; }
.variants-section { padding: 36px 34px; border-bottom: 1px solid var(--line); }
.section-head { margin-bottom: 18px; }
.related-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.variants-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 7px; }
.variants-table { width: 100%; min-width: 720px; border-collapse: collapse; background: #fff; }
.variants-table th, .variants-table td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; font-size: 14px; }
.variants-table th { color: var(--muted); font-weight: 700; background: var(--wash); }
.variants-table tr.is-current td { background: var(--soft); font-weight: 700; }
.variants-table a { color: var(--accent); font-weight: 700; }
.empty-state {
  grid-column: 1 / -1;
  padding: 48px;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: var(--muted);
  background: var(--wash);
}
.site-footer {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) auto;
  gap: 30px;
  padding: 30px 34px;
  color: rgba(255,255,255,.72);
  background: var(--night);
}
.site-footer strong { display: block; color: #fff; margin-bottom: 8px; }
.site-footer p { max-width: 760px; margin: 0; line-height: 1.45; }
.site-footer a { color: #fff; font-weight: 700; }
.site-footer .source-note { margin-top: 12px; color: rgba(255,255,255,.62); }
.site-footer .source-note a { color: #d1b36c; text-decoration: underline; text-underline-offset: 3px; }
.site-footer div:last-child { display: grid; gap: 6px; text-align: right; }
@media (max-width: 1100px) {
  .section-hero, .product-layout, .spec-section { grid-template-columns: 1fr; }
  .section-panels { min-height: 680px; }
  .catalog-toolbar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .site-header { grid-template-columns: 1fr; gap: 8px; padding: 12px 16px; }
  .brand, .brand img { width: 108px; min-width: 108px; }
  .site-header nav { justify-content: flex-start; }
  .hero-title, .catalog-hero, .catalog-toolbar, .catalog-results, .product-layout, .spec-section, .variants-section, .related-section, .site-footer, .breadcrumbs { padding-left: 16px; padding-right: 16px; }
  .hero-title h1, .catalog-hero h1, .product-info h1 { font-size: 42px; }
  .section-panels { grid-template-columns: 1fr; grid-template-rows: none; min-height: auto; }
  .section-panel, .section-ceiling, .section-pendant, .section-wall, .section-portable, .section-accessories { grid-column: auto; grid-row: auto; min-height: 220px; }
  .catalog-toolbar { grid-template-columns: 1fr; }
  .product-grid, .related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .product-meta { padding: 12px; }
  .product-meta h3 { font-size: 14px; min-height: 56px; }
  .thumbs { grid-template-columns: repeat(4, 1fr); }
  .spec-list { grid-template-columns: 1fr; }
  .spec-list dt { padding-bottom: 2px; border-bottom: 0; }
  .spec-list dd { padding-top: 0; }
  .site-footer { grid-template-columns: 1fr; }
  .site-footer div:last-child { text-align: left; }
}
