:root {
  --paper: #f4f0e9;
  --paper-soft: #faf8f4;
  --paper-deep: #ebe5dc;
  --ink: #1e1d1a;
  --muted: #726e66;
  --line: #d5cec3;
  --accent: #78694e;
  --dark: #252422;
  --dark-soft: #31302d;
  --cream: #ece2d1;
  --container: 1280px;
  --sans: Arial, Helvetica, sans-serif;
  --serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.container {
  width: min(calc(100% - 64px), var(--container));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 20;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  background: var(--dark);
  color: #fff;
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: relative;
  z-index: 10;
  border-bottom: 1px solid rgba(100, 90, 76, 0.14);
  background: rgba(244, 240, 233, 0.94);
}

.header-inner {
  display: flex;
  min-height: 80px;
  align-items: center;
  gap: 40px;
}

.brand {
  display: inline-flex;
  min-width: 205px;
  flex-direction: column;
  gap: 1px;
}

.brand-name {
  font-family: var(--serif);
  font-size: 23px;
  line-height: 1;
  letter-spacing: -0.03em;
}

.brand-caption,
.eyebrow,
.visual-label,
.contact-label,
.footer-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  line-height: 1.35;
  text-transform: uppercase;
}

.brand-caption {
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.14em;
}

.main-navigation {
  display: flex;
  flex: 1;
  justify-content: center;
  gap: clamp(15px, 1.6vw, 28px);
}

.navigation-category-links {
  display: none;
}

.main-navigation a {
  position: relative;
  color: #4f4b45;
  font-size: 13px;
  white-space: nowrap;
}

.main-navigation a::after {
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 1px;
  background: var(--ink);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.main-navigation a:hover::after,
.main-navigation a:focus-visible::after {
  transform: scaleX(1);
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 13px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 5px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  white-space: nowrap;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button:active {
  transform: translateY(0);
}

.button span[aria-hidden="true"],
.text-link span[aria-hidden="true"],
.avito-link span[aria-hidden="true"] {
  flex: 0 0 auto;
  line-height: 1;
}

.button-dark {
  background: var(--dark);
  color: #fff;
}

.button-dark:hover {
  background: var(--dark-soft);
}

.button-light {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.26);
}

.button-light:hover {
  border-color: var(--ink);
  background: var(--paper-soft);
}

.header-cta {
  min-height: 44px;
  padding-inline: 17px;
  white-space: nowrap;
}

.header-calculation-link {
  color: #4f4b45;
  font-size: 12px;
  white-space: nowrap;
}

.header-calculation-link [data-calculation-count] {
  color: var(--accent);
  font-weight: 700;
}

.menu-toggle {
  display: none;
  min-height: 44px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
}

.section-shell {
  border-bottom: 1px solid rgba(100, 90, 76, 0.12);
}

.hero {
  min-height: 680px;
  background:
    radial-gradient(circle at 90% 24%, rgba(209, 194, 165, 0.26), transparent 33%),
    var(--paper-soft);
}

.hero-grid {
  display: grid;
  min-height: 680px;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  align-items: center;
  gap: clamp(56px, 5vw, 84px);
  padding-block: 82px;
}

.hero-copy {
  max-width: 650px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--accent);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.045em;
}

h1 {
  max-width: 650px;
  margin-bottom: 26px;
  font-size: clamp(48px, 4.8vw, 72px);
  line-height: 0.98;
}

.hero-lead {
  max-width: 590px;
  margin-bottom: 28px;
  color: #514d47;
  font-size: 17px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-note {
  max-width: 400px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.hero-visual {
  min-width: 0;
}

.visual-frame {
  position: relative;
  display: flex;
  min-height: 488px;
  align-items: flex-end;
  padding: clamp(26px, 4vw, 46px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 3px;
  background:
    linear-gradient(132deg, rgba(255, 255, 255, 0.4), transparent 41%),
    repeating-linear-gradient(122deg, transparent 0 48px, rgba(94, 86, 72, 0.04) 49px 50px),
    #e7e0d5;
}

.visual-frame::before,
.visual-frame::after {
  position: absolute;
  background: rgba(84, 75, 61, 0.1);
  content: "";
}

.visual-frame::before {
  top: 13%;
  right: 19%;
  width: 1px;
  height: 72%;
}

.visual-frame::after {
  right: 11%;
  bottom: 20%;
  width: 68%;
  height: 1px;
}

.visual-mark {
  position: absolute;
  top: 12%;
  right: 14%;
  display: grid;
  width: 84px;
  height: 84px;
  place-items: center;
  border: 1px solid rgba(84, 75, 61, 0.3);
  border-radius: 50%;
  color: rgba(84, 75, 61, 0.6);
  font-family: var(--serif);
  font-size: 36px;
  font-style: italic;
}

.visual-copy {
  position: relative;
  z-index: 1;
  display: flex;
  max-width: 310px;
  flex-direction: column;
  gap: 11px;
}

.visual-label {
  color: var(--accent);
}

.visual-title {
  font-family: var(--serif);
  font-size: clamp(28px, 3vw, 43px);
  letter-spacing: -0.045em;
  line-height: 1.02;
}

.visual-caption {
  max-width: 280px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.visual-index {
  position: absolute;
  top: 28px;
  left: 28px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.12em;
}

.catalog-preview {
  padding-block: 95px 108px;
}

.section-heading {
  margin-bottom: 40px;
}

.section-heading-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 310px);
  align-items: end;
  gap: 40px;
}

h2 {
  max-width: 710px;
  margin-bottom: 0;
  font-size: clamp(38px, 4vw, 62px);
  line-height: 1;
}

.section-intro {
  margin: 0 0 3px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.category-card {
  position: relative;
  display: flex;
  min-height: 320px;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper-soft);
  transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.category-card:hover,
.category-card:focus-within,
.category-card-highlight {
  border-color: #b6a88f;
  box-shadow: 0 12px 30px rgba(65, 58, 48, 0.08);
  transform: translateY(-3px);
}

.category-image {
  position: relative;
  display: flex;
  height: 220px;
  min-height: 220px;
  align-items: flex-end;
  justify-content: space-between;
  padding: 18px;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.2), transparent 55%),
    repeating-linear-gradient(90deg, transparent 0 39px, rgba(81, 72, 58, 0.08) 40px 41px),
    #e6e0d7;
}

.category-image::after {
  position: absolute;
  right: 17%;
  bottom: -54px;
  width: 110px;
  height: 165px;
  border: 1px solid rgba(91, 78, 56, 0.25);
  border-bottom: 0;
  border-radius: 56px 56px 0 0;
  content: "";
  transform: rotate(22deg);
}

.category-image-label,
.category-image-marker {
  position: relative;
  z-index: 1;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.category-image-marker {
  color: var(--accent);
  font-family: var(--serif);
  font-size: 28px;
  letter-spacing: 0;
}

.category-card-body {
  display: flex;
  flex: 1;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding: 20px 18px 7px;
}

.category-card h3 {
  margin-bottom: 7px;
  font-size: 27px;
  line-height: 1;
}

.category-image-real {
  padding: 0;
  background: #fff;
}

.category-image-real::after {
  display: none;
}

.category-image-real img {
  display: block;
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  padding: 0;
  background: #fff;
  object-fit: contain;
  object-position: center;
}

.category-image-real .category-image-label,
.category-image-real .category-image-marker {
  position: absolute;
  z-index: 1;
  bottom: 15px;
  color: #fff;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.65);
}

.category-image-real .category-image-label {
  left: 18px;
}

.category-image-real .category-image-marker {
  right: 18px;
}

.category-image-contain .category-image-label,
.category-image-contain .category-image-marker {
  color: var(--muted);
  text-shadow: none;
}

.category-card p {
  max-width: 200px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.round-link {
  display: grid;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 17px;
  transition: background-color 180ms ease, color 180ms ease;
}

.round-link:hover {
  background: var(--dark);
  color: #fff;
}

.status-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  margin: 0 18px 18px;
  padding: 5px 8px;
  border-radius: 12px;
  background: var(--cream);
  color: #5e523e;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.category-status-link:hover {
  background: #e2d4be;
}

.about {
  padding-block: 105px;
  background: #eee9e1;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 460px);
  gap: clamp(50px, 10vw, 160px);
}

.about h2 {
  max-width: 620px;
}

.about-copy {
  padding-top: 38px;
}

.about-copy p {
  margin-bottom: 18px;
  color: #5d584f;
  font-size: 15px;
  line-height: 1.65;
}

.text-link,
.avito-link {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  border-bottom: 1px solid currentColor;
  font-size: 13px;
  font-weight: 700;
}

.text-link {
  margin-top: 8px;
}

.text-link:hover {
  color: var(--accent);
}

.avito-link:hover {
  color: #fff;
}

.contact-band {
  padding-block: 90px;
  background: var(--dark);
  color: #fff;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
  align-items: center;
  gap: 80px;
}

.eyebrow-light {
  color: #cdb995;
}

.contact-band h2 {
  color: #f5f0e8;
}

.contact-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  padding: 30px;
  border: 1px solid rgba(244, 240, 233, 0.25);
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.045);
}

.contact-card > div {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.contact-label {
  color: #b4aa9c;
}

.contact-card strong,
.contact-card a:not(.button):not(.avito-link) {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
  letter-spacing: -0.03em;
}

.contact-card .button {
  margin-top: 5px;
}

.button-cream {
  background: var(--cream);
  color: var(--ink);
}

.button-cream:hover {
  background: #f4eadb;
}

.avito-link {
  align-self: center;
  justify-self: end;
  color: #e1d6c5;
  font-size: 12px;
  font-weight: 400;
}

.site-footer {
  padding-block: 57px 65px;
  background: #252422;
  color: #d9d3ca;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.55fr 0.65fr 1fr;
  gap: 65px;
}

.brand-inverse {
  color: #f0ece5;
}

.brand-inverse .brand-caption {
  color: #a8a197;
}

.footer-brand p {
  max-width: 280px;
  margin: 22px 0 0;
  color: #a8a197;
  font-size: 13px;
  line-height: 1.6;
}

.footer-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
}

.footer-label {
  margin-bottom: 9px;
  color: #cdb995;
}

.footer-column a:hover {
  color: #fff;
}

.footer-contact {
  max-width: 250px;
}

.footer-contact a {
  margin-top: 4px;
  color: #f0ece5;
}

@media (max-width: 1080px) {
  .header-inner {
    gap: 10px;
  }

  .brand {
    min-width: 150px;
  }

  .main-navigation {
    gap: 8px;
  }

  .main-navigation a {
    font-size: 12px;
  }

  .header-cta {
    gap: 8px;
    padding-inline: 10px;
    font-size: 12px;
  }

  .hero-grid {
    gap: 54px;
  }
}

@media (max-width: 900px) {
  .container {
    width: min(calc(100% - 40px), var(--container));
  }

  .header-inner {
    min-height: 72px;
    justify-content: space-between;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
    padding: 10px 0 10px 10px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 700;
  }

  .menu-toggle-icon {
    display: flex;
    width: 19px;
    flex-direction: column;
    gap: 5px;
  }

  .menu-toggle-icon i {
    display: block;
    height: 1px;
    background: currentColor;
    transition: transform 180ms ease;
  }

  .menu-toggle[aria-expanded="true"] .menu-toggle-icon i:first-child {
    transform: translateY(3px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] .menu-toggle-icon i:last-child {
    transform: translateY(-3px) rotate(-45deg);
  }

  .main-navigation {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 12px 20px 24px;
    border-bottom: 1px solid var(--line);
    background: var(--paper-soft);
  }

  .navigation-category-links {
    display: contents;
  }

  .main-navigation.is-open {
    display: flex;
  }

  .main-navigation a {
    padding: 14px 0;
    border-bottom: 1px solid rgba(100, 90, 76, 0.13);
    font-size: 15px;
  }

  .main-navigation a:last-child {
    border-bottom: 0;
  }

  .main-navigation a::after {
    display: none;
  }

  .header-cta {
    display: none;
  }

  .hero-grid {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 48px;
    padding-block: 72px 65px;
  }

  .hero-copy {
    max-width: 650px;
  }

  h1 {
    max-width: 620px;
    font-size: clamp(47px, 10vw, 72px);
  }

  .hero-visual {
    max-width: 680px;
  }

  .visual-frame {
    min-height: 430px;
  }

  .category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .category-card:last-child {
    grid-column: span 2;
  }

  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .about-copy {
    max-width: 580px;
    padding-top: 0;
  }

  .contact-grid {
    gap: 42px;
  }

  .contact-card {
    max-width: 560px;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(calc(100% - 32px), var(--container));
  }

  .brand {
    min-width: 0;
  }

  .brand-name {
    font-size: 19px;
  }

  .hero-grid {
    gap: 38px;
    padding-block: 57px 52px;
  }

  .eyebrow {
    margin-bottom: 14px;
  }

  h1 {
    margin-bottom: 21px;
    font-size: clamp(41px, 13vw, 60px);
  }

  .hero-lead {
    font-size: 15px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .button {
    width: 100%;
  }

  .visual-frame {
    min-height: 340px;
    padding: 24px;
  }

  .visual-mark {
    top: 12%;
    right: 12%;
    width: 64px;
    height: 64px;
    font-size: 27px;
  }

  .visual-title {
    font-size: 32px;
  }

  .visual-index {
    top: 20px;
    left: 20px;
  }

  .catalog-preview,
  .about {
    padding-block: 68px 74px;
  }

  .section-heading-split {
    display: block;
  }

  .section-heading {
    margin-bottom: 28px;
  }

  h2 {
    font-size: 43px;
  }

  .section-intro {
    max-width: 350px;
    margin-top: 20px;
  }

  .category-grid {
    display: block;
  }

  .category-card,
  .category-card:last-child {
    min-height: 352px;
    margin-bottom: 12px;
  }

  .category-card:last-child {
    margin-bottom: 0;
  }

  .category-image {
    height: 210px;
    min-height: 210px;
  }

  .about h2 {
    max-width: 360px;
  }

  .contact-band {
    padding-block: 68px;
  }

  .contact-card {
    display: flex;
    flex-direction: column;
    padding: 24px;
  }

  .contact-card .button,
  .avito-link {
    align-self: flex-start;
  }

  .site-footer {
    padding-block: 47px 52px;
  }

  .footer-grid {
    display: flex;
    flex-direction: column;
    gap: 35px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* Internal catalog pages */
.inner-page {
  min-height: calc(100vh - 80px);
  padding-block: 28px 112px;
  background: var(--paper-soft);
}

.breadcrumbs {
  margin-bottom: 68px;
  color: var(--muted);
  font-size: 12px;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 11px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.breadcrumbs li {
  display: inline-flex;
  align-items: center;
  gap: 11px;
}

.breadcrumbs li:not(:last-child)::after {
  color: #aaa195;
  content: "/";
}

.breadcrumbs a:hover {
  color: var(--ink);
}

.inner-page h1 {
  max-width: 700px;
  margin-bottom: 0;
}

.inner-page-heading {
  margin-bottom: 42px;
}

.catalog-disclaimer {
  display: flex;
  max-width: 650px;
  align-items: flex-start;
  gap: 13px;
  margin-bottom: 78px;
  padding: 15px 17px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: rgba(235, 229, 220, 0.48);
  color: var(--muted);
  font-size: 12px;
}

.catalog-disclaimer p {
  margin: 0;
}

.catalog-disclaimer-mark {
  display: grid;
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid var(--accent);
  border-radius: 50%;
  color: var(--accent);
  font-family: var(--serif);
  font-size: 12px;
}

.catalog-section-heading {
  margin-bottom: 29px;
}

.category-summary {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 78px;
  padding-block: 18px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}

.category-summary-count {
  color: var(--ink);
  font-family: var(--serif);
  font-size: 30px;
  letter-spacing: -0.04em;
  line-height: 1;
}

.category-summary-note {
  margin-left: auto;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.product-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper-soft);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.product-card:hover {
  border-color: #b6a88f;
  box-shadow: 0 12px 30px rgba(65, 58, 48, 0.08);
  transform: translateY(-3px);
}

.product-card:focus-within {
  border-color: #b6a88f;
  box-shadow: 0 12px 30px rgba(65, 58, 48, 0.08);
}

.product-card-image {
  display: block;
  min-height: 280px;
  overflow: hidden;
  background: var(--paper-deep);
}

.product-card-image .image-placeholder {
  min-height: 280px;
}

.product-card-image img {
  display: block;
  width: 100%;
  height: 280px;
  object-fit: contain;
  background: var(--paper-deep);
}

.product-card-image.image-surface-white,
.product-card-image.image-surface-white img,
.gallery-main.image-surface-white,
.gallery-main.image-surface-white img,
.gallery-thumb.image-surface-white,
.gallery-thumb.image-surface-white img {
  background: #fff;
}

.product-card-image.image-surface-white {
  box-sizing: border-box;
  height: 280px;
  min-height: 280px;
  padding: 12px 18px;
}

.product-card-image.image-surface-white img {
  height: 100%;
  background: #fff;
  object-fit: contain;
  object-position: center;
}

.product-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 18px;
}

.product-card-meta,
.product-detail-copy > .product-card-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  margin-bottom: 16px;
}

.category-tag,
.status-tag-plain {
  display: inline-flex;
  align-items: center;
  min-height: 23px;
  margin: 0;
  padding: 4px 8px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.1;
  text-transform: uppercase;
}

.status-tag-plain {
  max-width: 100%;
  line-height: 1.3;
}

.category-tag {
  border-color: transparent;
  background: var(--cream);
  color: #5e523e;
}

.product-card h3 {
  margin-bottom: 9px;
  font-size: 27px;
  line-height: 1.03;
}

.product-card h3 a:hover {
  color: var(--accent);
}

.product-card p {
  margin-bottom: 19px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.product-card-price {
  display: flex;
  min-height: 46px;
  flex-direction: column;
  justify-content: center;
  margin: 1px 0 17px;
  padding-block: 10px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.product-card-price strong {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.product-card-price span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.product-card-price .price-note {
  font-size: 12px;
}

.product-card-code {
  margin: -2px 0 11px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.08em;
  line-height: 1.35;
  text-transform: uppercase;
}

.product-card-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: auto;
  padding-top: 4px;
}

.product-card-actions .button {
  width: 100%;
  min-height: 44px;
  padding: 9px 12px;
  font-size: 12px;
}

.product-card .product-card-actions + .text-link {
  margin-top: 15px;
}

.product-card .text-link {
  margin-top: auto;
  align-self: flex-start;
  font-size: 12px;
}

.section-back-link {
  margin-top: 48px;
}

.image-placeholder {
  position: relative;
  display: flex;
  min-height: 220px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 9px;
  padding: 24px;
  overflow: hidden;
  background:
    linear-gradient(140deg, rgba(255, 255, 255, 0.4), transparent 45%),
    repeating-linear-gradient(125deg, transparent 0 42px, rgba(81, 72, 58, 0.07) 43px 44px),
    #e7e0d5;
}

.image-placeholder::before,
.image-placeholder::after {
  position: absolute;
  background: rgba(84, 75, 61, 0.12);
  content: "";
}

.image-placeholder::before {
  top: 12%;
  right: 24%;
  width: 1px;
  height: 73%;
}

.image-placeholder::after {
  right: 12%;
  bottom: 22%;
  width: 68%;
  height: 1px;
}

.image-placeholder-top,
.image-placeholder-note {
  position: relative;
  z-index: 1;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.image-placeholder-mark {
  position: absolute;
  top: 16%;
  right: 14%;
  z-index: 1;
  display: grid;
  width: 66px;
  height: 66px;
  place-items: center;
  border: 1px solid rgba(84, 75, 61, 0.28);
  border-radius: 50%;
  color: rgba(84, 75, 61, 0.58);
  font-family: var(--serif);
  font-size: 25px;
}

.image-placeholder-title {
  position: relative;
  z-index: 1;
  max-width: 245px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 25px;
  letter-spacing: -0.04em;
  line-height: 1.04;
}

.image-placeholder-note {
  max-width: 245px;
  letter-spacing: 0;
  line-height: 1.45;
  text-transform: none;
}

.product-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.88fr);
  align-items: start;
  gap: clamp(45px, 7vw, 100px);
}

.gallery-main {
  min-height: 560px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper-deep);
}

.gallery-main .image-placeholder {
  min-height: 560px;
}

.gallery-main img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 560px;
  object-fit: contain;
}

.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 10px;
}

.gallery-thumb {
  display: block;
  min-width: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--paper-deep);
  cursor: pointer;
  opacity: 0.68;
  transition: border-color 180ms ease, opacity 180ms ease;
}

.gallery-thumb img {
  display: block;
  width: 100%;
  height: 104px;
  object-fit: contain;
  background: var(--paper-deep);
}

.gallery-thumb.is-active,
.gallery-thumb:hover {
  border-color: var(--accent);
  opacity: 1;
}

.gallery-thumb .image-placeholder {
  min-height: 104px;
  padding: 12px;
}

.gallery-thumb .image-placeholder-title,
.gallery-thumb .image-placeholder-note {
  display: none;
}

.gallery-thumb .image-placeholder-mark {
  top: 18%;
  right: 15%;
  width: 37px;
  height: 37px;
  font-size: 16px;
}

.product-detail-copy {
  padding-top: 8px;
}

.product-kicker {
  margin-bottom: 16px;
}

.product-model-code {
  margin: -6px 0 16px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.08em;
}

.product-detail-copy h1 {
  margin-bottom: 22px;
  font-size: clamp(42px, 4.5vw, 70px);
  line-height: 0.98;
}

.product-description {
  max-width: 480px;
  margin-bottom: 22px;
  color: #514d47;
  font-size: 16px;
  line-height: 1.6;
}

.demo-disclaimer {
  max-width: 480px;
  margin-bottom: 24px;
  padding: 14px 15px;
  border-left: 2px solid var(--accent);
  background: rgba(235, 229, 220, 0.55);
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.product-price {
  display: flex;
  min-height: 56px;
  flex-direction: column;
  justify-content: center;
  margin-bottom: 28px;
  padding-block: 13px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.product-price strong {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 400;
  letter-spacing: -0.04em;
}

.product-price span {
  color: var(--muted);
  font-size: 12px;
}

.product-price .price-note {
  color: var(--muted);
  font-size: 12px;
}

.product-characteristics {
  margin-bottom: 26px;
}

.product-characteristics .eyebrow {
  margin-bottom: 11px;
}

.product-characteristics dl {
  margin: 0;
  border-top: 1px solid var(--line);
}

.product-characteristics dl div {
  display: grid;
  grid-template-columns: minmax(110px, 0.6fr) minmax(0, 1fr);
  gap: 20px;
  padding-block: 11px;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
}

.product-characteristics dt {
  color: var(--muted);
}

.product-characteristics dd {
  margin: 0;
  color: var(--ink);
}

.product-note {
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 12px;
}

.fence-calculator {
  max-width: 480px;
  margin: 28px 0 30px;
  padding: 22px 20px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(235, 229, 220, 0.46);
}

.fence-calculator .eyebrow {
  margin-bottom: 10px;
}

.fence-calculator h2 {
  margin-bottom: 20px;
  font-size: 30px;
  line-height: 1.05;
}

.fence-calculator-field {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: var(--muted);
  font-size: 12px;
}

.fence-calculator-input-wrap {
  display: inline-flex;
  min-width: 120px;
  align-items: center;
  border-bottom: 1px solid var(--ink);
  color: var(--ink);
}

.fence-calculator-input-wrap input {
  width: 86px;
  min-height: 44px;
  padding: 7px 4px;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 16px;
  text-align: right;
}

.fence-calculator-input-wrap input:focus {
  outline: 2px solid rgba(120, 105, 78, 0.22);
  outline-offset: 3px;
}

.fence-calculator-input-wrap input:invalid {
  outline-color: rgba(156, 78, 59, 0.4);
}

.fence-calculator-input-wrap span {
  padding-right: 7px;
  font-size: 12px;
}

.fence-calculator-total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  margin: 22px 0 0;
  padding-top: 15px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}

.fence-calculator-total strong {
  color: var(--ink);
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 400;
  letter-spacing: -0.03em;
  text-align: right;
}

.fence-calculator-note {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 27px;
}

.product-actions .button {
  min-height: 49px;
}

.product-back-link {
  font-size: 12px;
}

.not-found-page h1 {
  margin-bottom: 20px;
}

.not-found-page .section-intro {
  margin-bottom: 28px;
}

/* Wholesale and calculation flow */
.wholesale-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 390px);
  align-items: end;
  gap: 52px;
  margin-bottom: 58px;
}

.wholesale-hero h1 {
  max-width: 790px;
}

.wholesale-hero .section-intro {
  margin-bottom: 5px;
}

.wholesale-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.wholesale-card {
  min-height: 260px;
  padding: 27px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(250, 248, 244, 0.62);
}

.wholesale-card-featured {
  border-color: #b6a88f;
  background: var(--cream);
}

.wholesale-card-number {
  display: block;
  margin-bottom: 65px;
  color: var(--accent);
  font-family: var(--serif);
  font-size: 28px;
}

.wholesale-card h2,
.wholesale-next-step h2,
.calculation-form-heading h2,
.calculation-empty h2 {
  margin-bottom: 14px;
  font-size: clamp(30px, 3vw, 44px);
  line-height: 1.02;
}

.wholesale-card p,
.wholesale-next-step p,
.calculation-form-heading p,
.calculation-empty p {
  max-width: 420px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.wholesale-next-step {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-top: 90px;
  padding-top: 27px;
  border-top: 1px solid var(--line);
}

.wholesale-next-step h2 {
  max-width: 720px;
}

.wholesale-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  flex: 0 0 auto;
}

.calculation-heading {
  max-width: 760px;
  margin-bottom: 54px;
}

.calculation-heading .section-intro {
  max-width: 560px;
  margin-top: 20px;
}

.calculation-list {
  display: grid;
  gap: 12px;
  max-width: 1000px;
}

.calculation-item {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(250, 248, 244, 0.64);
}

.calculation-item-media {
  display: block;
  height: 120px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #fff;
}

.calculation-item-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.calculation-item-placeholder {
  display: grid;
  height: 100%;
  padding: 12px;
  place-items: center;
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}

.calculation-item-copy h2 {
  margin: 13px 0 7px;
  font-size: clamp(25px, 2.4vw, 36px);
  line-height: 1.04;
}

.calculation-item-copy h2 a:hover {
  color: var(--accent);
}

.calculation-item-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.calculation-item-price {
  display: flex;
  margin-top: 12px !important;
  flex-direction: column;
  color: var(--ink) !important;
  font-family: var(--serif);
  font-size: 22px !important;
  letter-spacing: -0.03em;
}

.calculation-item-price small {
  margin-top: 3px;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0;
}

.calculation-item-controls {
  display: flex;
  min-width: 155px;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
}

.calculation-control-label {
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.quantity-control {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--paper-soft);
}

.quantity-control button,
.quantity-control input {
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  text-align: center;
}

.quantity-control button {
  cursor: pointer;
  font-size: 21px;
}

.quantity-control button:hover {
  background: var(--cream);
}

.quantity-control input {
  width: 48px;
  border-right: 1px solid var(--line);
  border-left: 1px solid var(--line);
  appearance: textfield;
}

.quantity-control input::-webkit-inner-spin-button,
.quantity-control input::-webkit-outer-spin-button {
  margin: 0;
  appearance: none;
}

.calculation-remove {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding: 8px 0;
  border: 0;
  border-bottom: 1px solid currentColor;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-size: 13px;
}

.calculation-remove:hover {
  color: var(--ink);
}

.calculation-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  max-width: 1000px;
  margin-top: 20px;
  padding-block: 17px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.calculation-summary strong {
  color: var(--ink);
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 400;
}

.calculation-minimum-notice {
  max-width: 1000px;
  margin-top: 14px;
  padding: 13px 15px;
  border-left: 2px solid var(--accent);
  background: var(--cream);
  color: #5e523e;
  font-size: 13px;
}

.calculation-form-shell {
  max-width: 1000px;
  margin-top: 82px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.calculation-form-heading {
  max-width: 650px;
  margin-bottom: 30px;
}

.calculation-form-heading .eyebrow {
  margin-bottom: 14px;
}

.lead-form {
  display: flex;
  max-width: 780px;
  align-items: flex-start;
  flex-direction: column;
}

.lead-form-grid {
  display: grid;
  width: 100%;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.lead-form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
}

.lead-form label span {
  font-weight: 700;
}

.lead-form label b {
  color: var(--accent);
}

.lead-form-full {
  grid-column: 1 / -1;
}

.lead-type-field {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.lead-type-field legend {
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.lead-type-field[aria-invalid="true"] legend {
  color: #8d4637;
}

.lead-type-options {
  display: grid;
  max-width: 430px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.choice-option {
  display: flex !important;
  min-width: 0;
  min-height: 46px;
  margin: 0 !important;
  padding: 9px 11px;
  align-items: center;
  flex-direction: row !important;
  gap: 10px !important;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--paper-soft);
  color: var(--ink) !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  cursor: pointer;
  transition: border-color 180ms ease, background-color 180ms ease;
}

.choice-option:hover,
.choice-option:focus-within {
  border-color: var(--accent);
  background: var(--cream);
}

.choice-option:has(input:checked) {
  border-color: #b6a88f;
}

.lead-form .choice-option input {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  margin: 0;
  padding: 0;
  accent-color: var(--accent);
}

.choice-option span {
  min-width: 0;
  font-weight: 400 !important;
  line-height: 1.35;
}

.lead-form input,
.lead-form textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--paper-soft);
  color: var(--ink);
  font: inherit;
  font-size: 15px;
}

.lead-form textarea {
  min-height: 120px;
  resize: vertical;
}

.lead-form input:focus,
.lead-form textarea:focus {
  border-color: var(--accent);
  outline: 2px solid rgba(120, 105, 78, 0.18);
  outline-offset: 2px;
}

.lead-form input[aria-invalid="true"] {
  border-color: #9c4e3b;
}

.lead-form input[type="checkbox"] {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  margin: 2px 0 0;
  accent-color: var(--accent);
}

.lead-consent {
  max-width: 680px;
  margin: 20px 0 0;
  align-items: flex-start;
  flex-direction: row !important;
  gap: 10px !important;
  color: var(--ink) !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  line-height: 1.5;
  cursor: pointer;
}

.lead-consent span {
  font-weight: 400 !important;
}

.lead-consent a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.lead-consent input[aria-invalid="true"] {
  outline: 2px solid rgba(156, 78, 59, 0.35);
  outline-offset: 2px;
}

.lead-submit {
  margin-top: 22px;
}

.lead-honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  border: 0 !important;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.lead-form-note {
  max-width: 600px;
  margin: 22px 0 18px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.lead-submit:disabled {
  cursor: not-allowed;
  opacity: 0.45;
  transform: none;
}

.lead-feedback {
  max-width: 680px;
  margin: 17px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.lead-feedback:empty {
  display: none;
}

.lead-feedback.is-error {
  color: #8d4637;
}

.lead-feedback.is-pending {
  color: #5e523e;
}

.lead-result {
  max-width: 1000px;
  margin-top: 20px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  background: var(--paper-soft);
  color: var(--ink);
  font-size: 15px;
  line-height: 1.5;
}

.lead-result.is-success {
  border-color: #9e8c6c;
  background: var(--cream);
}

.legal-page .inner-page-heading {
  max-width: 860px;
}

.legal-content {
  max-width: 860px;
  margin-top: 72px;
  color: var(--ink-soft);
}

.legal-content section {
  margin-top: 42px;
}

.legal-content h2 {
  margin-bottom: 14px;
  font-size: clamp(25px, 3vw, 34px);
}

.legal-content p {
  max-width: 760px;
  margin: 0 0 13px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.legal-notice {
  padding: 18px 20px;
  border-left: 2px solid var(--accent);
  background: var(--cream);
  color: #5e523e !important;
}

.lead-preview {
  max-width: 100%;
  margin: 18px 0 0;
  padding: 18px;
  overflow: auto;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  font: 13px/1.6 var(--sans);
  white-space: pre-wrap;
}

.calculation-empty {
  max-width: 700px;
  padding: 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(250, 248, 244, 0.64);
}

.calculation-empty .button {
  margin-top: 27px;
}

.calculation-action-note {
  margin: 26px 0 27px;
  color: var(--muted);
  font-size: 13px;
}

.calculation-action-note .text-link {
  margin-left: 5px;
  font-size: 13px;
}

@media (min-width: 901px) and (max-width: 1100px) {
  .header-inner {
    min-height: 72px;
    justify-content: space-between;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
    padding: 10px 0 10px 10px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 700;
  }

  .menu-toggle-icon {
    display: flex;
    width: 19px;
    flex-direction: column;
    gap: 5px;
  }

  .menu-toggle-icon i {
    display: block;
    height: 1px;
    background: currentColor;
  }

  .main-navigation {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 12px 20px 24px;
    border-bottom: 1px solid var(--line);
    background: var(--paper-soft);
  }

  .navigation-category-links {
    display: contents;
  }

  .main-navigation.is-open {
    display: flex;
  }

  .main-navigation a {
    padding: 14px 0;
    border-bottom: 1px solid rgba(100, 90, 76, 0.13);
    font-size: 14px;
  }

  .main-navigation a::after {
    display: none;
  }

  .header-cta {
    display: none;
  }
}

@media (max-width: 900px) {
  .navigation-category-links {
    display: contents;
  }

  .wholesale-hero {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .wholesale-grid {
    grid-template-columns: 1fr;
  }

  .wholesale-card {
    min-height: 0;
  }

  .wholesale-card-number {
    margin-bottom: 42px;
  }

  .wholesale-next-step {
    align-items: flex-start;
    flex-direction: column;
  }

  .calculation-item {
    grid-template-columns: 120px minmax(0, 1fr);
  }

  .calculation-item-controls {
    grid-column: 2;
  }
}

@media (max-width: 560px) {
  .wholesale-actions,
  .wholesale-actions .button {
    width: 100%;
  }

  .wholesale-actions {
    flex-direction: column;
  }

  .calculation-item {
    display: block;
    padding: 12px;
  }

  .calculation-item-media {
    height: 190px;
    margin-bottom: 18px;
  }

  .calculation-item-copy h2 {
    margin-top: 11px;
  }

  .calculation-item-controls {
    min-width: 0;
    margin-top: 20px;
  }

  .calculation-summary {
    gap: 12px;
    flex-direction: column;
  }

  .calculation-form-shell {
    margin-top: 62px;
  }

  .lead-form-grid {
    display: block;
  }

  .lead-form label {
    margin-bottom: 17px;
  }

  .lead-form-full {
    margin-bottom: 0;
  }

  .lead-type-field {
    margin-bottom: 17px;
  }

  .lead-type-options {
    max-width: none;
    gap: 8px;
  }

  .choice-option {
    margin-bottom: 0 !important;
  }

  .lead-consent {
    margin-bottom: 0 !important;
  }

  .lead-submit {
    width: 100%;
    margin-top: 20px;
  }

  .calculation-empty {
    padding: 24px;
  }
}

@media (max-width: 900px) {
  .inner-page {
    padding-block: 24px 78px;
  }

  .breadcrumbs {
    margin-bottom: 48px;
    line-height: 1.5;
  }

  .catalog-disclaimer {
    margin-bottom: 57px;
  }

  .category-summary {
    flex-wrap: wrap;
    margin-bottom: 58px;
  }

  .category-summary-note {
    width: 100%;
    margin: 4px 0 0;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-detail-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 42px;
  }

  .product-gallery,
  .product-detail-copy {
    min-width: 0;
  }

  .product-detail-copy {
    max-width: 650px;
    padding-top: 0;
  }

  .gallery-main,
  .gallery-main .image-placeholder,
  .gallery-main img {
    min-height: 500px;
  }
}

@media (max-width: 560px) {
  .inner-page {
    padding-block: 18px 65px;
  }

  .breadcrumbs {
    margin-bottom: 38px;
  }

  .inner-page-heading {
    display: block;
    margin-bottom: 28px;
  }

  .inner-page h1 {
    overflow-wrap: anywhere;
  }

  .inner-page-heading .section-intro {
    margin-top: 20px;
  }

  .catalog-disclaimer {
    margin-bottom: 51px;
  }

  .category-summary {
    margin-bottom: 51px;
  }

  .product-grid {
    display: block;
  }

  .product-card {
    margin-bottom: 12px;
  }

  .product-card:last-child {
    margin-bottom: 0;
  }

  .product-card-image,
  .product-card-image .image-placeholder {
    min-height: 235px;
  }

  .product-card-image.image-surface-white {
    height: 235px;
    min-height: 235px;
  }

  .product-card-image img {
    height: 235px;
  }

  .image-placeholder {
    padding: 19px;
  }

  .image-placeholder-title {
    font-size: 23px;
  }

  .gallery-main,
  .gallery-main .image-placeholder,
  .gallery-main img {
    min-height: 360px;
  }

  .gallery-thumb .image-placeholder {
    min-height: 82px;
  }

  .gallery-thumb img {
    height: 82px;
  }

  .product-detail-copy h1 {
    font-size: 45px;
  }

  .product-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .product-actions .button {
    width: 100%;
  }

  .fence-calculator {
    padding: 19px 16px;
  }

  .fence-calculator-field {
    align-items: stretch;
    flex-direction: column;
    gap: 9px;
  }

  .fence-calculator-input-wrap {
    width: 100%;
  }

  .fence-calculator-input-wrap input {
    flex: 1;
    text-align: left;
  }

  .fence-calculator-total {
    display: block;
  }

  .fence-calculator-total strong {
    display: block;
    margin-top: 7px;
    text-align: left;
  }

  .product-characteristics dl div {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

/* Production and contact pages */
.visual-image,
.visual-shade {
  position: absolute;
  inset: 0;
}

.visual-image {
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  filter: saturate(0.78) contrast(0.94);
}

.visual-shade {
  z-index: 1;
  background: linear-gradient(180deg, rgba(24, 22, 19, 0.08), rgba(24, 22, 19, 0.64));
}

.visual-frame .visual-mark,
.visual-frame .visual-copy,
.visual-frame .visual-index {
  z-index: 2;
}

.visual-frame .visual-mark {
  border-color: rgba(255, 255, 255, 0.46);
  color: rgba(255, 255, 255, 0.82);
}

.visual-frame .visual-label,
.visual-frame .visual-title,
.visual-frame .visual-caption,
.visual-frame .visual-index {
  color: #fff;
}

.production-page,
.contacts-page {
  padding-block: 28px 122px;
}

.production-page .breadcrumbs,
.contacts-page .breadcrumbs {
  margin-bottom: 78px;
}

.production-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  align-items: center;
  gap: clamp(48px, 8vw, 124px);
}

.production-hero-copy {
  max-width: 530px;
}

.production-hero-copy h1 {
  margin-bottom: 25px;
  font-size: clamp(48px, 5.8vw, 80px);
}

.production-hero-copy .section-intro {
  max-width: 470px;
}

.production-hero-media {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper-deep);
}

.production-hero-media img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 42%;
}

.production-hero-media figcaption,
.production-gallery figcaption {
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.production-hero-media figcaption {
  position: absolute;
  right: 18px;
  bottom: 15px;
  padding: 6px 8px;
  background: rgba(30, 29, 26, 0.72);
  color: #fff;
}

.production-intro {
  display: grid;
  max-width: 700px;
  grid-template-columns: minmax(160px, 0.45fr) minmax(0, 1fr);
  gap: 28px 58px;
  margin: 126px 0 92px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.production-intro .eyebrow {
  grid-row: span 2;
  margin: 0;
}

.production-intro h2,
.production-video h2,
.production-cta h2 {
  margin-bottom: 0;
  font-size: clamp(36px, 4vw, 58px);
  line-height: 1;
}

.production-intro p:last-child {
  max-width: 510px;
  margin: 0;
  color: #514d47;
  line-height: 1.65;
}

.production-gallery {
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(0, 0.84fr);
  grid-template-rows: repeat(2, minmax(190px, 1fr));
  gap: 14px;
}

.production-gallery figure {
  position: relative;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper-deep);
}

.production-gallery figure:first-child {
  grid-row: span 2;
}

.production-gallery img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
}

.production-gallery figcaption {
  position: absolute;
  right: 14px;
  bottom: 13px;
  padding: 5px 7px;
  background: rgba(250, 248, 244, 0.84);
}

.production-video {
  margin-top: 118px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.production-video-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(240px, 0.55fr);
  align-items: end;
  gap: 45px;
  margin-bottom: 30px;
}

.production-video-heading .eyebrow {
  margin-bottom: 15px;
}

.production-video-heading p {
  max-width: 360px;
  margin: 0 0 4px auto;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.production-video video {
  display: block;
  width: min(100%, 620px);
  max-height: 760px;
  margin-inline: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #1e1d1a;
}

.production-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin-top: 118px;
  padding: 34px 0 0;
  border-top: 1px solid var(--line);
}

.production-cta .eyebrow {
  margin-bottom: 15px;
}

.contacts-heading {
  max-width: 700px;
  margin-bottom: 74px;
}

.contacts-heading h1 {
  margin-bottom: 24px;
}

.contacts-page-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.contact-page-card {
  display: flex;
  min-height: 300px;
  flex-direction: column;
  align-items: flex-start;
  padding: 31px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(250, 248, 244, 0.58);
}

.contact-page-card .eyebrow {
  margin-bottom: 26px;
}

.contact-page-card h2 {
  margin-bottom: 21px;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.02;
}

.contact-page-card h2 a:hover {
  color: var(--accent);
}

.contact-page-card p:not(.eyebrow) {
  max-width: 380px;
  margin-bottom: 27px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.contact-page-card .button,
.contact-page-card .text-link {
  margin-top: auto;
}

.contact-page-card-wide {
  min-height: 220px;
  flex-direction: row;
  grid-column: 1 / -1;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.contact-page-card-wide .eyebrow {
  margin-bottom: 17px;
}

.contact-page-card-wide h2 {
  margin-bottom: 13px;
}

.contact-page-card-wide p:not(.eyebrow) {
  margin-bottom: 0;
}

@media (max-width: 900px) {
  .production-page,
  .contacts-page {
    padding-block: 24px 84px;
  }

  .production-page .breadcrumbs,
  .contacts-page .breadcrumbs {
    margin-bottom: 52px;
  }

  .production-hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .production-hero-copy {
    max-width: 650px;
  }

  .production-hero-copy h1 {
    max-width: 650px;
  }

  .production-hero-media {
    width: min(100%, 680px);
  }

  .production-intro {
    margin-top: 88px;
  }

  .production-video,
  .production-cta {
    margin-top: 88px;
  }

  .contacts-heading {
    margin-bottom: 52px;
  }
}

@media (max-width: 560px) {
  .production-page,
  .contacts-page {
    padding-block: 18px 68px;
  }

  .production-page .breadcrumbs,
  .contacts-page .breadcrumbs {
    margin-bottom: 40px;
  }

  .production-hero-grid {
    gap: 34px;
  }

  .production-hero-copy h1,
  .contacts-heading h1 {
    font-size: clamp(42px, 13vw, 60px);
  }

  .production-hero-media img {
    aspect-ratio: 4 / 5;
  }

  .production-intro {
    display: block;
    margin: 72px 0 58px;
  }

  .production-intro h2 {
    margin: 20px 0 17px;
  }

  .production-gallery {
    display: block;
  }

  .production-gallery figure,
  .production-gallery figure:first-child {
    min-height: 290px;
    margin-bottom: 12px;
  }

  .production-gallery figure:last-child {
    margin-bottom: 0;
  }

  .production-video,
  .production-cta {
    margin-top: 72px;
  }

  .production-video-heading {
    display: block;
    margin-bottom: 22px;
  }

  .production-video-heading h2 {
    margin-bottom: 18px;
  }

  .production-video-heading p {
    margin: 0;
  }

  .production-video video {
    width: 100%;
  }

  .production-cta {
    display: block;
  }

  .production-cta h2 {
    margin-bottom: 24px;
  }

  .production-cta .button {
    width: 100%;
  }

  .contacts-heading {
    margin-bottom: 38px;
  }

  .contacts-page-grid {
    display: block;
  }

  .contact-page-card,
  .contact-page-card-wide {
    min-height: 260px;
    margin-bottom: 12px;
    padding: 24px;
  }

  .contact-page-card-wide {
    display: block;
  }

  .contact-page-card-wide .button {
    margin-top: 24px;
  }

  .contact-page-card h2 {
    font-size: 38px;
  }
}

.lead-fallback-button {
  margin-top: 13px;
}

.production-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 92px;
}

.production-fact {
  min-height: 250px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(250, 248, 244, 0.58);
}

.production-fact-wide {
  grid-column: 1 / -1;
  min-height: 0;
}

.production-fact .eyebrow {
  margin-bottom: 45px;
}

.production-fact h2 {
  max-width: 560px;
  margin-bottom: 16px;
  font-size: clamp(28px, 3.2vw, 44px);
  line-height: 1.04;
}

.production-fact p:last-child {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.contact-page-note {
  margin-top: -17px !important;
  color: #5e523e !important;
}

.wholesale-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 14px;
}

.wholesale-details article {
  min-height: 240px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(250, 248, 244, 0.58);
}

.wholesale-details-wide {
  display: grid;
  grid-template-columns: minmax(160px, 0.45fr) minmax(0, 1fr);
  grid-column: 1 / -1;
  column-gap: 42px;
  align-items: start;
  min-height: 0 !important;
}

.wholesale-details .eyebrow {
  margin-bottom: 45px;
}

.wholesale-details-wide .eyebrow {
  grid-row: span 3;
  margin-bottom: 0;
}

.wholesale-details h2 {
  margin-bottom: 14px;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.04;
}

.wholesale-details p:not(.eyebrow) {
  max-width: 560px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.wholesale-details .text-link {
  grid-column: 2;
  margin-top: 20px;
}

.faq-section {
  margin-top: 118px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.faq-heading {
  max-width: 700px;
  margin-bottom: 35px;
}

.faq-heading h2 {
  margin: 0;
  font-size: clamp(36px, 4vw, 58px);
  line-height: 1;
}

.faq-list {
  max-width: 900px;
  border-top: 1px solid var(--line);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  position: relative;
  min-height: 64px;
  padding: 20px 48px 20px 0;
  cursor: pointer;
  font-family: var(--serif);
  font-size: clamp(20px, 2.2vw, 28px);
  line-height: 1.15;
  list-style: none;
  transition: color 180ms ease;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  position: absolute;
  top: 23px;
  right: 4px;
  width: 18px;
  height: 18px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--accent);
  content: "+";
  font-family: var(--sans);
  font-size: 15px;
  line-height: 16px;
  text-align: center;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list summary:hover,
.faq-list details[open] summary {
  color: var(--accent);
}

.faq-list summary:focus-visible {
  outline-offset: -2px;
}

.faq-list details p {
  max-width: 720px;
  margin: -3px 48px 22px 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.wholesale-faq-preview > .button {
  margin-top: 28px;
}

.delivery-page {
  padding-block: 28px 122px;
}

.delivery-page .breadcrumbs {
  margin-bottom: 78px;
}

.delivery-heading {
  max-width: 780px;
  margin-bottom: 72px;
}

.delivery-heading h1 {
  margin-bottom: 24px;
}

.delivery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.delivery-card {
  display: flex;
  min-height: 290px;
  flex-direction: column;
  align-items: flex-start;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(250, 248, 244, 0.58);
}

.delivery-card-featured {
  border-color: #b6a88f;
  background: var(--cream);
}

.delivery-card-wide {
  min-height: 220px;
  grid-column: 1 / -1;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.delivery-card .eyebrow {
  margin-bottom: 38px;
}

.delivery-card h2 {
  max-width: 520px;
  margin-bottom: 16px;
  font-size: clamp(30px, 3.4vw, 48px);
  line-height: 1.03;
}

.delivery-card p:not(.eyebrow) {
  max-width: 530px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.delivery-card .text-link {
  margin-top: auto;
  padding-top: 24px;
}

.delivery-card-wide .button {
  flex: 0 0 auto;
}

.delivery-faq-link {
  margin: 42px 0 0;
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 900px) {
  .production-facts,
  .wholesale-details,
  .delivery-grid {
    grid-template-columns: 1fr;
  }

  .production-fact-wide,
  .wholesale-details-wide,
  .delivery-card-wide {
    grid-column: auto;
  }

  .wholesale-details-wide {
    display: block;
  }

  .wholesale-details-wide .eyebrow {
    margin-bottom: 38px;
  }

  .wholesale-details .text-link {
    display: inline-block;
    grid-column: auto;
  }

  .faq-section {
    margin-top: 88px;
  }

  .delivery-page {
    padding-block: 24px 84px;
  }

  .delivery-page .breadcrumbs {
    margin-bottom: 52px;
  }

  .delivery-heading {
    margin-bottom: 52px;
  }
}

@media (max-width: 560px) {
  .production-facts {
    display: block;
    margin-bottom: 58px;
  }

  .production-fact {
    min-height: 0;
    margin-bottom: 12px;
    padding: 24px;
  }

  .production-fact:last-child {
    margin-bottom: 0;
  }

  .production-fact .eyebrow,
  .wholesale-details .eyebrow,
  .delivery-card .eyebrow {
    margin-bottom: 27px;
  }

  .wholesale-details {
    display: block;
  }

  .wholesale-details article {
    min-height: 0;
    margin-bottom: 12px;
    padding: 24px;
  }

  .wholesale-details article:last-child {
    margin-bottom: 0;
  }

  .faq-section {
    margin-top: 72px;
  }

  .faq-heading {
    margin-bottom: 25px;
  }

  .faq-list summary {
    padding-block: 18px;
    padding-right: 38px;
    font-size: 21px;
  }

  .faq-list summary::after {
    top: 20px;
    right: 0;
  }

  .faq-list details p {
    margin-right: 0;
    font-size: 14px;
  }

  .delivery-page {
    padding-block: 18px 68px;
  }

  .delivery-page .breadcrumbs {
    margin-bottom: 40px;
  }

  .delivery-heading {
    margin-bottom: 38px;
  }

  .delivery-heading h1 {
    font-size: clamp(42px, 13vw, 60px);
  }

  .delivery-card,
  .delivery-card-wide {
    min-height: 0;
    display: block;
    padding: 24px;
  }

  .delivery-card .text-link {
    display: inline-block;
    margin-top: 24px;
    padding-top: 0;
  }

  .delivery-card-wide .button {
    display: flex;
    width: 100%;
    margin-top: 24px;
  }
}
