.catalog-hero {
  position: relative;
  overflow: hidden;
  background: #191919;
  color: var(--white);
}
.catalog-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 83% 25%, rgba(170,0,0,.2), transparent 32%),
    linear-gradient(rgba(255,255,255,.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.028) 1px, transparent 1px);
  background-size: auto, 72px 72px, 72px 72px;
  pointer-events: none;
}
.catalog-hero-grid {
  position: relative;
  min-height: 560px;
  padding: 68px 0;
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: 70px;
  align-items: center;
}
.catalog-hero-copy { max-width: 560px; }
.catalog-hero-copy .eyebrow { margin-bottom: 18px; }
.catalog-hero-copy h1 {
  margin: 0;
  font-size: clamp(48px, 5.2vw, 72px);
  line-height: 1.02;
  letter-spacing: -.05em;
}
.catalog-hero-copy > p:not(.eyebrow) {
  max-width: 560px;
  margin: 24px 0 0;
  color: rgba(255,255,255,.68);
  font-size: 14px;
  line-height: 1.8;
}
.catalog-hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.catalog-hero-actions .btn { min-height: 50px; font-size: 12px; }
.catalog-primary { background: var(--red); border-color: var(--red); }
.catalog-secondary { background: rgba(255,255,255,.02); }
.catalog-hero-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #d9d8d4;
  box-shadow: 0 28px 70px rgba(0,0,0,.3);
}
.catalog-visual-slides, .catalog-visual-slide, .catalog-visual-shade { position: absolute; inset: 0; }
.catalog-visual-slide { margin: 0; opacity: 0; transform: scale(1.045); transition: opacity .85s ease, transform 6s ease; }
.catalog-visual-slide.active { opacity: 1; transform: scale(1); }
.catalog-visual-slide img { width: 100%; height: 100%; object-fit: cover; }
.catalog-visual-slide:nth-child(2) img, .catalog-visual-slide:nth-child(3) img { object-position: center; }
.catalog-visual-shade { background: linear-gradient(180deg, transparent 44%, rgba(12,12,12,.7) 100%), linear-gradient(90deg, rgba(12,12,12,.18), transparent 46%); pointer-events: none; }
.catalog-visual-caption {
  position: absolute;
  left: 22px;
  bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
}
.catalog-visual-caption span { padding-right: 12px; border-right: 1px solid rgba(255,255,255,.5); color: #ff8585; font-size: 9px; font-weight: 900; letter-spacing: .1em; }
.catalog-visual-caption strong { font-size: 12px; letter-spacing: .06em; }
.catalog-visual-controls { position: absolute; right: 20px; bottom: 22px; display: flex; gap: 7px; }
.catalog-visual-dot { width: 24px; height: 4px; padding: 0; border: 0; background: rgba(255,255,255,.38); transition: width .25s, background .25s; }
.catalog-visual-dot.active { width: 46px; background: var(--red); }
.catalog-hero-line { display: none; }

.family-overview { padding: 0; background: var(--paper); border-bottom: 1px solid var(--line); }
.family-overview .catalog-heading { display: none; }
.family-strip { display: grid; grid-template-columns: repeat(5, 1fr); }
.family-strip a {
  min-height: 112px;
  padding: 22px 24px;
  display: grid;
  grid-template-columns: 48px 1fr;
  grid-template-rows: auto auto;
  align-content: center;
  border-right: 1px solid var(--line);
  background: var(--paper);
  transition: background .2s, color .2s;
}
.family-strip a:last-child { border-right: 0; }
.family-strip a > span { grid-row: 1 / 3; align-self: center; color: var(--red); font-size: 9px; font-weight: 900; letter-spacing: .08em; }
.family-strip strong { font-size: 17px; line-height: 1.3; }
.family-strip small { margin-top: 3px; color: var(--muted); font-size: 9px; }
.family-strip a:hover, .family-strip a:focus-visible { background: var(--red); color: var(--white); }
.family-strip a:hover > span, .family-strip a:focus-visible > span { color: #ffc1c1; }
.family-strip a:hover small, .family-strip a:focus-visible small { color: rgba(255,255,255,.67); }

.catalog-products { padding: 88px 0 100px; background: #f1efeb; color: var(--ink); }
.catalog-heading {
  margin-bottom: 32px;
  display: grid;
  grid-template-columns: 1fr .58fr;
  gap: 70px;
  align-items: end;
}
.catalog-heading h2 { margin: 0; font-size: clamp(40px, 4.5vw, 62px); line-height: 1.05; letter-spacing: -.045em; }
.catalog-heading > p { margin: 0 0 5px; color: var(--muted); font-size: 14px; line-height: 1.75; }
.catalog-products .section-number.light { color: var(--red); }
.catalog-toolbar {
  position: sticky;
  z-index: 10;
  top: 78px;
  margin-bottom: 26px;
  padding: 12px 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(210px, 250px) auto;
  align-items: center;
  gap: 20px;
  background: rgba(241,239,235,.95);
  border-top: 1px solid #cac6bf;
  border-bottom: 1px solid #cac6bf;
  backdrop-filter: blur(12px);
}
.filter-buttons { display: flex; flex-wrap: wrap; gap: 6px; }
.filter-btn {
  min-height: 38px;
  padding: 0 13px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid #cbc7c0;
  background: rgba(255,255,255,.5);
  color: #555;
  font-size: 11px;
  font-weight: 800;
}
.filter-btn b { color: #aaa49b; font-size: 8px; }
.filter-btn.active { background: var(--ink); border-color: var(--ink); color: var(--white); }
.filter-btn.active b { color: #f17b7b; }
.catalog-search { position: relative; }
.catalog-search label { display: block; }
.catalog-search input { width: 100%; height: 38px; padding: 0 38px 0 13px; border: 1px solid #cbc7c0; background: rgba(255,255,255,.72); color: var(--ink); font: inherit; font-size: 11px; outline: 0; }
.catalog-search input:focus { border-color: var(--red); box-shadow: 0 0 0 2px rgba(170,0,0,.08); }
.catalog-search input::placeholder { color: #8f8a82; }
.catalog-search button { position: absolute; right: 0; top: 0; width: 38px; height: 38px; padding: 0; border: 0; background: transparent; color: var(--red); font-size: 18px; }
.catalog-search button[hidden] { display: none; }
.catalog-toolbar > p { margin: 0; flex: 0 0 auto; color: #817c75; font-size: 10px; }
#visible-count { color: var(--red); font-size: 17px; font-weight: 900; }
.catalog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.catalog-card {
  overflow: hidden;
  background: var(--white);
  border: 1px solid #dfdcd6;
  color: var(--ink);
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.catalog-card:hover { transform: translateY(-4px); border-color: #c5c0b7; box-shadow: 0 18px 42px rgba(35,28,22,.1); }
.catalog-card[hidden] { display: none; }
.catalog-image { position: relative; display: block; overflow: hidden; background: var(--white); border-bottom: 1px solid #ebe8e3; }
.catalog-image img { width: 100%; aspect-ratio: 3 / 2; object-fit: contain; transition: transform .35s ease; }
.catalog-card:hover .catalog-image img { transform: scale(1.018); }
.catalog-image > span {
  position: absolute;
  left: 14px;
  top: 14px;
  padding: 5px 8px;
  background: rgba(24,24,24,.88);
  color: var(--white);
  font-size: 8px;
  font-weight: 900;
  letter-spacing: .06em;
}
.catalog-card-body { position: relative; padding: 19px 20px 18px; }
.catalog-card-body > small { display: block; padding-right: 62px; color: var(--red); font-size: 8px; font-weight: 900; letter-spacing: .1em; }
.catalog-card-body h3 { margin: 6px 0 14px; font-size: 25px; line-height: 1; letter-spacing: -.035em; }
.catalog-card-body > p { min-height: 38px; margin: -4px 0 14px; display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; color: var(--muted); font-size: 10px; line-height: 1.65; }
.catalog-tags { display: flex; flex-wrap: wrap; gap: 5px; }
.catalog-tags span { padding: 4px 7px; background: #f1efeb; color: #69645e; font-size: 8px; }
.catalog-card-body > a {
  position: absolute;
  right: 20px;
  top: 20px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  color: var(--red);
}
.catalog-card-body > a span { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.selection-guide { padding: 86px 0; background: var(--white); }
.selection-grid { display: grid; grid-template-columns: .52fr 1.48fr; gap: 80px; align-items: start; }
.selection-title h2 { margin: 0; font-size: clamp(40px, 4.5vw, 62px); line-height: 1.06; letter-spacing: -.045em; }
.selection-steps { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.selection-steps article { min-height: 230px; padding: 22px 20px 0; border-right: 1px solid var(--line); }
.selection-steps article:last-child { border-right: 0; }
.selection-steps article > span { color: var(--red); font-size: 10px; font-weight: 900; }
.selection-steps h3 { margin: 50px 0 10px; font-size: 17px; }
.selection-steps p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.7; }

.catalog-cta { padding: 72px 0; background: var(--red); color: var(--white); }
.catalog-cta-inner { display: grid; grid-template-columns: 1fr auto; gap: 60px; align-items: center; }
.catalog-cta-inner > div > span { color: rgba(255,255,255,.55); font-size: 9px; font-weight: 900; letter-spacing: .13em; }
.catalog-cta h2 { margin: 12px 0 0; font-size: clamp(37px, 4.4vw, 58px); line-height: 1.08; letter-spacing: -.04em; }
.catalog-cta a { width: 190px; min-height: 58px; padding: 0 18px; display: flex; align-items: center; justify-content: space-between; background: var(--white); color: var(--red); font-size: 12px; font-weight: 900; }

@media (max-width: 1060px) {
  .catalog-hero-grid { grid-template-columns: .9fr 1.1fr; gap: 38px; }
  .catalog-grid { grid-template-columns: repeat(2, 1fr); }
  .family-strip { grid-template-columns: repeat(2, 1fr); }
  .family-strip a:nth-child(2), .family-strip a:nth-child(4) { border-right: 0; }
  .family-strip a:nth-child(-n+4) { border-bottom: 1px solid var(--line); }
  .family-strip a:last-child { grid-column: 1 / -1; }
  .selection-grid { grid-template-columns: 1fr; gap: 36px; }
  .catalog-toolbar { grid-template-columns: minmax(0, 1fr) auto; }
  .filter-buttons { grid-column: 1 / -1; }
}

@media (max-width: 820px) {
  .catalog-hero-grid { grid-template-columns: 1fr; min-height: 0; padding: 58px 0 78px; }
  .catalog-hero-copy { max-width: 620px; }
  .catalog-hero-copy h1 { font-size: clamp(48px, 11vw, 68px); }
  .catalog-hero-media { width: 86%; margin-left: auto; }
  .catalog-heading, .catalog-cta-inner { grid-template-columns: 1fr; gap: 28px; }
  .catalog-toolbar { top: 68px; align-items: start; }
  .selection-steps { grid-template-columns: 1fr; }
  .selection-steps article { min-height: 0; padding: 20px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .selection-steps h3 { margin: 20px 0 8px; }
  .catalog-cta a { width: 100%; }
}

@media (max-width: 560px) {
  .catalog-hero-grid { padding-top: 46px; }
  .catalog-hero-copy h1 { font-size: 43px; }
  .catalog-hero-actions { flex-direction: column; }
  .catalog-hero-media { width: 100%; }
  .catalog-visual-caption { left: 15px; bottom: 16px; }
  .catalog-visual-controls { right: 15px; bottom: 18px; }
  .family-strip { grid-template-columns: 1fr; }
  .family-strip a { min-height: 92px; border-right: 0; border-bottom: 1px solid var(--line); }
  .family-strip a:last-child { border-bottom: 0; }
  .catalog-products { padding: 72px 0 82px; }
  .catalog-grid { grid-template-columns: 1fr; }
  .filter-buttons { width: 100%; display: grid; grid-template-columns: 1fr 1fr; }
  .filter-btn:first-child { grid-column: 1 / -1; }
  .filter-btn { justify-content: space-between; }
  .catalog-toolbar > p { display: none; }
  .catalog-search { grid-column: 1 / -1; width: 100%; }
}
