:root {
  --ink: #121312;
  --muted: #686b66;
  --line: #dddddb;
  --paper: #ffffff;
  --wash: #f4f5f2;
  --soft: #eef3f1;
  --accent: #1d665b;
  --wine: #8c3943;
  --gold: #b88942;
  --deep: #121a18;
}
* { 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: 40;
  min-height: 68px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px;
  align-items: center;
  padding: 0 32px;
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(14px);
}
.brand {
  display: inline-flex;
  align-items: center;
  width: 254px;
  max-width: 42vw;
}
.brand img { width: 100%; height: auto; display: block; }
.site-header nav { display: flex; justify-content: flex-end; gap: 3px; overflow-x: auto; }
.site-header nav a, .primary-action, .secondary-action, .load-more, .toolbar button {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border-radius: 7px;
  font-size: 14px;
  white-space: nowrap;
}
.site-header nav a { color: var(--muted); }
.site-header nav a:hover { color: var(--ink); background: var(--wash); }
.hero {
  min-height: calc(100svh - 68px);
  display: grid;
  grid-template-columns: minmax(360px, .72fr) minmax(0, 1.28fr);
  border-bottom: 1px solid var(--line);
}
.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 54px 32px;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(18,26,24,.2), rgba(18,26,24,.95)),
    var(--deep);
}
.eyebrow, label, .product-kicker {
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .12em;
}
.hero .eyebrow { color: #d6b772; }
.hero h1 {
  max-width: 680px;
  margin: 10px 0 18px;
  font-size: clamp(64px, 8vw, 124px);
  line-height: .9;
  font-weight: 500;
}
.hero p { max-width: 600px; color: rgba(255,255,255,.78); font-size: 18px; line-height: 1.55; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.primary-action { background: var(--accent); color: #fff; border: 1px solid var(--accent); }
.secondary-action { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.hero .secondary-action { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.24); }
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, auto 1fr);
  align-items: baseline;
  gap: 2px 10px;
  max-width: 560px;
  margin-top: 28px;
}
.hero-stats strong { font-size: 32px; font-weight: 600; }
.hero-stats span { color: rgba(255,255,255,.65); font-size: 14px; }
.section-stage {
  display: grid;
  min-width: 0;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(240px, 1fr));
}
.section-tile {
  position: relative;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 8px;
  padding: 28px;
  overflow: hidden;
  color: #fff;
  border-left: 1px solid rgba(255,255,255,.34);
  border-bottom: 1px solid rgba(255,255,255,.34);
  background: #303a39;
}
.section-tile::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(180deg, rgba(0,0,0,.05), rgba(0,0,0,.68)), var(--tile-image);
  background-position: center;
  background-size: cover;
  transition: transform 240ms ease;
}
.section-tile:hover::before { transform: scale(1.045); }
.section-tile > * { position: relative; z-index: 1; }
.section-tile.is-large { grid-column: span 2; grid-row: span 2; }
.section-tile span { color: rgba(255,255,255,.75); font-size: 14px; }
.section-tile strong {
  max-width: 100%;
  font-size: clamp(20px, 1.65vw, 28px);
  line-height: 1.08;
  font-weight: 500;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}
.section-tile.is-large strong { max-width: 520px; font-size: clamp(36px, 3.7vw, 60px); }
.summary-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--line);
  background: var(--wash);
}
.summary-band div { padding: 26px 32px; border-right: 1px solid var(--line); }
.summary-band span { display: block; color: var(--muted); margin-bottom: 6px; }
.summary-band strong { font-size: 22px; }
.home-section { padding: 42px 32px 48px; border-bottom: 1px solid var(--line); }
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}
.section-head h2 { margin: 8px 0 0; font-size: 36px; line-height: 1.08; font-weight: 500; }
.section-head a { color: var(--accent); font-weight: 700; }
.brand-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.brand-row {
  position: relative;
  display: grid;
  min-height: 68px;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 7px;
  overflow: hidden;
  background: #fff;
}
.brand-row i {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  width: var(--share);
  background: var(--gold);
}
.brand-row strong { color: var(--accent); }
.catalog-hero {
  min-height: 360px;
  display: flex;
  align-items: flex-end;
  padding: 46px 32px;
  border-bottom: 1px solid var(--line);
  background: var(--soft);
  background-image: linear-gradient(90deg, rgba(238,243,241,.98), rgba(238,243,241,.75) 45%, rgba(238,243,241,.05)), var(--hero-image);
  background-repeat: no-repeat;
  background-position: center right;
  background-size: auto 96%;
}
.catalog-hero h1 { max-width: 860px; margin: 10px 0 12px; font-size: clamp(46px, 6vw, 88px); line-height: .95; font-weight: 500; }
.catalog-hero p { max-width: 680px; color: #3f4642; font-size: 18px; line-height: 1.5; }
.toolbar {
  display: grid;
  grid-template-columns: minmax(220px, 1.3fr) repeat(4, minmax(145px, 1fr)) auto;
  gap: 12px;
  align-items: end;
  padding: 22px 32px;
  border-bottom: 1px solid var(--line);
}
.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;
  color: var(--ink);
  background: #fff;
  font-size: 14px;
}
.toolbar button { border: 1px solid var(--line); background: var(--wash); color: var(--ink); cursor: pointer; }
.catalog-results { padding: 28px 32px 44px; }
.results-head { display: flex; justify-content: space-between; gap: 20px; margin-bottom: 18px; color: var(--muted); }
.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 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}
.product-card:hover { border-color: #c9c9c4; transform: translateY(-2px); box-shadow: 0 14px 28px rgba(18,19,18,.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;
  top: 10px;
  left: 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-hit .product-image span { color: var(--wine); }
.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: 64px; margin: 0; font-size: 16px; line-height: 1.34; font-weight: 700; }
.product-meta p { margin: 0; color: var(--muted); font-size: 13px; }
.product-footer { display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.product-footer strong { font-size: 16px; }
.product-footer em { max-width: 45%; color: var(--muted); font-style: normal; font-size: 12px; text-align: right; }
.pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 30px 0 0; }
.pagination a, .pagination span {
  min-width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  border: 1px solid var(--line);
  color: var(--muted);
}
.pagination .is-current { color: #fff; background: var(--accent); border-color: var(--accent); }
.load-more { margin: 28px auto 0; border: 1px solid var(--accent); background: var(--accent); color: #fff; cursor: pointer; }
.empty-state { padding: 40px; border: 1px solid var(--line); border-radius: 7px; background: var(--wash); color: var(--muted); }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; color: var(--muted); }
.breadcrumbs a { color: var(--accent); font-weight: 700; }
.product-page { padding: 32px; border-bottom: 1px solid var(--line); }
.product-layout {
  display: grid;
  grid-template-columns: minmax(320px, .9fr) minmax(0, 1.1fr);
  gap: 34px;
  align-items: center;
}
.product-main-image { margin: 0; padding: 32px; border: 1px solid var(--line); border-radius: 7px; background: var(--wash); }
.product-main-image img { width: 100%; max-height: 680px; object-fit: contain; mix-blend-mode: multiply; }
.product-info h1 { margin: 10px 0 14px; font-size: clamp(36px, 4.8vw, 72px); line-height: .98; font-weight: 500; }
.product-info p { color: #3f4642; font-size: 18px; line-height: 1.5; }
.price-block { margin-bottom: 18px; font-size: 32px; font-weight: 800; }
.product-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.sales-panel {
  display: grid;
  gap: 4px;
  max-width: 560px;
  margin-top: 18px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--soft);
}
.sales-panel strong { margin-bottom: 2px; }
.sales-panel a { color: var(--ink); font-weight: 700; }
.specs-section { background: var(--soft); }
.spec-list {
  display: grid;
  grid-template-columns: minmax(180px, .34fr) 1fr;
  max-width: 980px;
  border-top: 1px solid var(--line);
}
.spec-list dt, .spec-list dd { margin: 0; padding: 14px 0; border-bottom: 1px solid var(--line); }
.spec-list dt { color: var(--muted); padding-right: 20px; }
.spec-list dd { font-weight: 700; }
.site-footer {
  min-height: 118px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: start;
  padding: 26px 32px;
  color: rgba(255,255,255,.7);
  background: var(--deep);
}
.site-footer div, .site-footer address { display: grid; gap: 8px; }
.site-footer strong { color: #fff; font-size: 21px; }
.site-footer address { margin: 0; font-style: normal; text-align: left; }
.site-footer a { color: #dce5e0; }
@media (max-width: 1180px) {
  .hero { grid-template-columns: 1fr; }
  .section-stage { min-height: 640px; }
  .toolbar { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .brand-list, .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .site-header { grid-template-columns: 1fr; gap: 8px; padding: 12px 18px; }
  .brand { width: 230px; max-width: 82vw; }
  .site-header nav { justify-content: flex-start; }
  .hero-copy, .catalog-hero, .home-section, .catalog-results, .product-page { padding-left: 18px; padding-right: 18px; }
  .hero h1, .catalog-hero h1, .product-info h1 { font-size: 42px; }
  .hero-stats { grid-template-columns: repeat(3, auto); }
  .section-stage { grid-template-columns: 1fr; grid-template-rows: none; min-height: auto; }
  .section-tile, .section-tile.is-large { grid-column: auto; grid-row: auto; min-height: 220px; }
  .summary-band, .toolbar, .brand-list, .product-grid, .product-layout, .spec-list, .site-footer { grid-template-columns: 1fr; }
  .summary-band div { border-right: 0; border-bottom: 1px solid var(--line); }
  .section-head { align-items: flex-start; flex-direction: column; }
  .product-meta h3 { min-height: auto; }
  .product-footer em { max-width: 55%; }
}
