/* CP Blossom wholesale catalogue.
   Sections: shell (topbar, header, catnav) · home · catalogue (sidebar + rows) · product · quote · search · mobile. */
:root {
  --ink: #1c2b25;
  --muted: #5f6f67;
  --green: #1e6b4e;
  --green-dark: #123f2e;
  --green-soft: #e6efe6;
  --cream: #f5f2ea;
  --line: #e0ddd2;
  --gold: #e6c15a;
  /* Side gutter grows once the viewport passes the page width, so backgrounds stay full-bleed
     while content stays centred. */
  --page-width: 1360px;
  --gutter: max(clamp(24px, 5vw, 72px), calc((100% - var(--page-width)) / 2));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #fffdf9;
  font-family: "Inter", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

img {
  display: block;
  max-width: 100%;
}

figure {
  margin: 0;
}

h1,
h2 {
  margin: 0;
  font-family: "Fraunces", Georgia, serif;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow--light {
  color: #cfe86c;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  padding: 12px 26px;
  border: 1px solid var(--green);
  border-radius: 999px;
  color: #ffffff;
  background: var(--green);
  font-size: 0.84rem;
  font-weight: 700;
  transition: background 160ms ease, color 160ms ease;
}

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

.button--ghost {
  color: var(--green);
  background: transparent;
}

.button--ghost:hover {
  color: #ffffff;
}

.button--light {
  border-color: #ffffff;
  color: var(--green-dark);
  background: #ffffff;
}

.button--light:hover {
  color: #ffffff;
  background: transparent;
}

/* Top bar + header + category nav */
.topbar {
  display: flex;
  justify-content: center;
  gap: 30px;
  padding: 9px 24px;
  color: #ffffff;
  background: var(--green-dark);
  font-size: 0.76rem;
}

.topbar p {
  margin: 0;
}

.topbar a {
  font-weight: 700;
}

.header {
  display: grid;
  grid-template-columns: 200px 1fr auto;
  align-items: center;
  gap: clamp(20px, 4vw, 60px);
  padding: 20px var(--gutter);
}

.header__brand img {
  width: 150px;
}

.header__search {
  display: flex;
  max-width: 560px;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  overflow: hidden;
}

.header__search input {
  width: 100%;
  padding: 13px 22px;
  border: 0;
  outline: 0;
  font: inherit;
  font-size: 0.88rem;
  background: transparent;
}

.header__search button {
  padding: 0 24px;
  border: 0;
  color: #ffffff;
  background: var(--ink);
  cursor: pointer;
  font: inherit;
  font-size: 0.8rem;
  font-weight: 700;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 22px;
}

.header__phone {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.header__phone small {
  color: var(--muted);
  font-size: 0.68rem;
}

.header__phone strong {
  font-size: 0.9rem;
}

.catnav {
  display: flex;
  justify-content: safe center;
  gap: clamp(14px, 2.6vw, 38px);
  padding: 0 24px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow-x: auto;
}

.catnav a {
  padding: 15px 2px;
  border-bottom: 2px solid transparent;
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
}

.catnav a:hover {
  border-color: var(--green);
  color: var(--green);
}

/* Hero */
.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  padding-inline: var(--gutter);
  background: var(--green-soft);
}

.hero__text {
  display: flex;
  justify-content: center;
  flex-direction: column;
  padding: clamp(56px, 6vw, 96px) clamp(24px, 4vw, 60px) clamp(56px, 6vw, 96px) 0;
}

.hero__text h1 {
  max-width: 560px;
  font-size: clamp(2.7rem, 4.4vw, 4.2rem);
  line-height: 1.03;
}

.hero__copy {
  max-width: 480px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  gap: 14px;
  margin-top: 34px;
}

.hero__tiles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-content: center;
  padding: clamp(40px, 4.5vw, 64px) 0 clamp(40px, 4.5vw, 64px) clamp(24px, 3vw, 40px);
}

.hero__tiles figure {
  padding: 20px;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 14px 36px rgb(24 42 34 / 8%);
}

.hero__tiles figure:nth-child(even) {
  transform: translateY(18px);
}

.hero__tiles img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
}

/* Trust strip */
.trust {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding-inline: var(--gutter);
  border-bottom: 1px solid var(--line);
}

.trust div {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 24px clamp(24px, 4vw, 48px);
  border-right: 1px solid var(--line);
}

.trust div:first-child {
  padding-left: 0;
}

.trust div:last-child {
  border: 0;
}

.trust strong {
  font-size: 0.88rem;
}

.trust span {
  color: var(--muted);
  font-size: 0.78rem;
}

/* Visit us: address + embedded map */
.visit {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: clamp(30px, 5vw, 80px);
  align-items: center;
  padding: clamp(60px, 7vw, 96px) var(--gutter);
  border-bottom: 1px solid var(--line);
}

.visit__text h2 {
  font-size: clamp(2rem, 3.4vw, 2.8rem);
}

.visit__text p {
  max-width: 440px;
  margin: 16px 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.visit__text p.eyebrow {
  margin: 0 0 14px;
  color: var(--green);
}

.visit__text address {
  margin: 22px 0 0;
  font-size: 1.05rem;
  font-style: normal;
  font-weight: 700;
  line-height: 1.5;
}

.visit__map {
  width: 100%;
  aspect-ratio: 16 / 10;
  border: 0;
  border-radius: 20px;
  box-shadow: 0 20px 50px rgb(24 42 34 / 10%);
}

/* Sections */
.section {
  padding: clamp(60px, 7vw, 96px) var(--gutter);
}

.section--soft {
  background: var(--cream);
}

.section__heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 38px;
}

.section__heading h2 {
  font-size: clamp(1.8rem, 2.8vw, 2.6rem);
}

.section__heading > a {
  color: var(--green);
  font-size: 0.85rem;
  font-weight: 700;
}

/* Range tiles */
.ranges {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.ranges a {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 26px 24px;
  border: 1px solid var(--line);
  border-radius: 14px;
  transition: border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.ranges a:hover {
  border-color: var(--green);
  box-shadow: 0 14px 36px rgb(24 42 34 / 8%);
  transform: translateY(-3px);
}

.ranges strong {
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.2rem;
  font-weight: 500;
}

.ranges span {
  color: var(--muted);
  font-size: 0.78rem;
}

/* Product grid */
.products {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 34px 20px;
}

.products article {
  display: flex;
  flex-direction: column;
}

.products article > a {
  display: block;
}

.products figure {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #ffffff;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.products article:hover figure {
  border-color: var(--green);
  box-shadow: 0 14px 36px rgb(24 42 34 / 8%);
}

.products figure img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  color: #ffffff;
  background: var(--green);
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.products h3 {
  min-height: 40px;
  margin: 16px 0 0;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.4;
}

.products article > p {
  margin: 6px 0 13px;
  overflow: hidden;
  color: var(--muted);
  font-size: 0.74rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.products article > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.products article > div a {
  color: var(--green);
  font-size: 0.76rem;
  font-weight: 700;
}

/* CTA + footer */
.cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: clamp(60px, 7vw, 90px) var(--gutter);
  color: #ffffff;
  background: var(--green-dark);
}

.cta h2 {
  font-size: clamp(1.9rem, 3vw, 2.8rem);
}

.cta__actions {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 16px;
  font-weight: 700;
}

.footer {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding: 60px var(--gutter) 28px;
  color: #aeb8b3;
  background: #101713;
  font-size: 0.8rem;
  line-height: 1.7;
}

.footer img {
  width: 120px;
  margin-bottom: 16px;
  filter: brightness(0) invert(1);
}

.footer strong {
  display: block;
  margin-bottom: 10px;
  color: #ffffff;
}

.footer a {
  display: block;
  padding: 4px 0;
}

.footer__legal {
  grid-column: 1 / -1;
  margin: 24px 0 0;
  padding-top: 22px;
  border-top: 1px solid #2b342f;
  font-size: 0.68rem;
}

@media (max-width: 900px) {
  .header {
    grid-template-columns: 1fr auto;
  }

  .header__search {
    order: 3;
    grid-column: 1 / -1;
    max-width: none;
  }

  .header__phone {
    display: none;
  }

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

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

  .trust div {
    padding-left: 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .hero__text {
    padding-right: 0;
  }

  .section__heading {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 26px;
  }

  .hero__tiles {
    padding-left: 0;
  }

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

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

  .cta {
    align-items: flex-start;
    flex-direction: column;
  }

  .cta__actions {
    align-items: flex-start;
  }

  .footer {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

@media (max-width: 540px) {
  .products {
    grid-template-columns: 1fr;
  }

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

  .hero__actions,
  .product__actions,
  .cta__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero__actions .button,
  .product__actions .button,
  .cta__actions .button,
  .listing__cta .button,
  .quote-card .button {
    width: 100%;
    justify-content: center;
  }
}

/* Catalogue pages: sidebar range tree + product rows */
.catnav a.is-active {
  border-color: var(--green);
  color: var(--green);
}

.button--small {
  min-height: 40px;
  padding: 9px 18px;
}

.catalogue {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: clamp(30px, 4vw, 56px);
  padding: 36px var(--gutter) 70px;
}

/* Sidebar range tree */
.sidebar__title {
  display: block;
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

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

/* Level 1: range heading with a chevron */
.tree summary {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 4px;
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  list-style: none;
}

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

.tree summary::after {
  content: "";
  width: 7px;
  height: 7px;
  margin-left: auto;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: rotate(45deg);
  transition: transform 160ms ease;
}

.tree details[open] summary {
  color: var(--green);
}

.tree details[open] summary::after {
  border-color: var(--green);
  transform: rotate(-135deg);
}

/* Level 2: sub-categories, indented under a guide line */
.tree details > a {
  display: flex;
  justify-content: space-between;
  margin-left: 10px;
  padding: 8px 6px 8px 14px;
  border-left: 2px solid var(--line);
  font-size: 0.86rem;
}

.tree details > a:hover {
  border-left-color: var(--green);
  color: var(--green);
}

.tree details > a.is-active {
  border-left-color: var(--green);
  color: var(--green);
  font-weight: 700;
  background: var(--green-soft);
}

.tree details > a:last-child {
  margin-bottom: 12px;
}

.tree span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 600;
}

.tree summary span {
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--cream);
  letter-spacing: 0;
}

.sidebar__help {
  margin-top: 26px;
  padding: 22px;
  border-radius: 14px;
  color: #ffffff;
  background: var(--green-dark);
  font-size: 0.8rem;
  line-height: 1.55;
}

.sidebar__help strong {
  display: block;
  margin-bottom: 4px;
  font-size: 0.9rem;
}

.sidebar__help p {
  margin: 0 0 12px;
  color: #b8d3c6;
}

.sidebar__help a {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--green-dark);
  background: var(--gold);
  font-weight: 800;
}

/* Category hero panel */
.listing__hero {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 30px;
  padding: clamp(24px, 3vw, 40px);
  border-radius: 18px;
  background: linear-gradient(135deg, var(--green-soft), #f4f8f1);
}

.crumbs {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 0.78rem;
}

.crumbs a:hover {
  color: var(--green);
}

.listing__hero h1 {
  font-size: clamp(2.2rem, 3.6vw, 3.2rem);
}

.listing__hero p:not(.crumbs) {
  max-width: 460px;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

.listing__collage {
  display: flex;
}

.listing__collage img {
  width: 108px;
  height: 108px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #ffffff;
  object-fit: contain;
  box-shadow: 0 12px 28px rgb(24 42 34 / 10%);
}

.listing__collage img:nth-child(1) {
  transform: rotate(-6deg) translateX(14px);
}

.listing__collage img:nth-child(2) {
  z-index: 1;
  transform: translateY(-8px);
}

.listing__collage img:nth-child(3) {
  transform: rotate(6deg) translateX(-14px);
}


.listing__tools {
  display: flex;
  gap: 18px;
  margin: 26px 0 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  font-size: 0.8rem;
}

.listing__tools span {
  color: var(--muted);
}

.listing__tools a {
  font-weight: 600;
}

.listing__tools a.is-active {
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: 6px;
}

/* Product rows */
.row {
  display: grid;
  grid-template-columns: 104px 1fr 120px 110px auto;
  align-items: center;
  gap: clamp(16px, 2.5vw, 30px);
  margin-top: 10px;
  padding: 14px 20px 14px 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #ffffff;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

/* Stretch the title link over the whole row so anywhere on it is clickable */
.row {
  position: relative;
}

.row__info h3 a::after {
  content: "";
  position: absolute;
  inset: 0;
}

.row:hover {
  border-color: var(--green);
  box-shadow: 0 14px 30px rgb(24 42 34 / 8%);
  transform: translateY(-2px);
}

.row__image {
  display: block;
  width: 104px;
  height: 104px;
  padding: 10px;
  border-radius: 12px;
  background: var(--green-soft);
}

.row__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.row__info .badge {
  position: static;
  display: inline-block;
  margin-bottom: 6px;
  color: var(--green-dark);
  background: var(--gold);
}

.row__info h2,
.row__info h3 {
  font-family: "Inter", Arial, sans-serif;
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0;
}

.row__info h2 a:hover,
.row__info h3 a:hover {
  color: var(--green);
}

.row__info p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 0.78rem;
}

.row__code,
.row__price {
  display: flex;
  flex-direction: column;
  font-size: 0.86rem;
  font-weight: 600;
}

.row__code small,
.row__price small {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 500;
}

.row__code small {
  order: -1;
  margin-bottom: 2px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.row__price {
  color: var(--green);
  font-size: 1.1rem;
  font-weight: 800;
}

.row__price small {
  margin-top: 2px;
}

.listing__cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 34px;
  padding: 28px 30px;
  border-radius: 14px;
  background: var(--green-soft);
}

.listing__cta h2 {
  font-size: 1.35rem;
}

.listing__cta p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.86rem;
}

@media (max-width: 980px) {
  .catalogue {
    grid-template-columns: 1fr;
  }

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

  .listing__collage {
    display: none;
  }

  .row {
    grid-template-columns: 72px 1fr auto;
    grid-template-areas:
      "image info info"
      "image code price"
      "image button button";
    row-gap: 8px;
  }

  .row__image {
    grid-area: image;
    align-self: start;
    width: 72px;
    height: 72px;
  }

  .row__info {
    grid-area: info;
  }

  .row__code {
    grid-area: code;
  }

  .row__price {
    grid-area: price;
  }

  .row .button {
    grid-area: button;
    justify-self: start;
  }

  .listing__cta {
    flex-direction: column;
    align-items: flex-start;
  }

  .sidebar {
    display: none;
  }
}

/* Some product codes are long comma-joined lists with no spaces */
.row__code,
.product__code,
.product__meta div {
  overflow-wrap: anywhere;
}

/* Sub-category chips: mobile replacement for the sidebar tree */
.listing {
  min-width: 0;
}

.subnav {
  display: flex;
  gap: 8px;
  margin-top: 18px;
  padding-bottom: 6px;
  overflow-x: auto;
}

.subnav a {
  flex-shrink: 0;
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
}

.subnav a.is-active {
  border-color: var(--green);
  color: #ffffff;
  background: var(--green);
}

@media (min-width: 981px) {
  .subnav {
    display: none;
  }
}

.rows__heading {
  margin-top: 34px;
  font-size: 1.3rem;
}

.rows__heading a:hover {
  color: var(--green);
}

/* Range page: sub-category tiles above the product rows */
.subcats {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 12px;
  margin: 26px 0 10px;
}

.subcats a {
  display: grid;
  grid-template-rows: 90px auto;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #ffffff;
  font-size: 0.84rem;
  font-weight: 700;
  transition: border-color 160ms ease, transform 160ms ease;
}

.subcats a:hover {
  border-color: var(--green);
  transform: translateY(-2px);
}

.subcats img {
  width: 100%;
  height: 90px;
  object-fit: contain;
}

.subcats span {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 500;
}

/* Product page */
.product {
  display: grid;
  grid-template-columns: minmax(0, 480px) 1fr;
  gap: clamp(30px, 5vw, 80px);
  padding: 36px var(--gutter) 60px;
}

.product .crumbs {
  grid-column: 1 / -1;
  margin: 0;
}

.product__image {
  display: grid;
  place-items: center;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(135deg, var(--green-soft), #f4f8f1);
}

.product__image img {
  max-height: 440px;
  object-fit: contain;
}

.product__code {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.product__info h1 {
  font-size: clamp(1.9rem, 3.2vw, 2.7rem);
}

.product__price {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 18px 0 6px;
  color: var(--green);
  font-size: 1.9rem;
  font-weight: 800;
}

.product__price small {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 500;
}

.product__note {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 0.82rem;
}

.product__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.product__details {
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 0.92rem;
  line-height: 1.7;
}

.product__details h2 {
  margin-bottom: 8px;
  font-size: 1.2rem;
}

.product__details p,
.product__details ul {
  margin: 0 0 10px;
}

.product__details hr {
  border: 0;
  border-top: 1px solid var(--line);
}

.product__meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 26px;
}

.product__meta div {
  padding: 14px 16px;
  border-radius: 12px;
  background: var(--cream);
  font-size: 0.84rem;
  font-weight: 700;
}

.product__meta small {
  display: block;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Quote page */
.quote {
  display: grid;
  grid-template-columns: 1fr minmax(0, 520px);
  gap: clamp(30px, 6vw, 90px);
  padding: 50px var(--gutter) 70px;
}

.quote h1 {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
}

.quote__copy {
  max-width: 480px;
  margin: 18px 0 26px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.65;
}

.quote__ticks {
  margin: 0 0 30px;
  padding: 0;
  list-style: none;
  font-size: 0.9rem;
  font-weight: 600;
}

.quote__ticks li {
  padding: 8px 0 8px 30px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Ccircle cx='10' cy='10' r='10' fill='%231e6b4e'/%3E%3Cpath d='M6 10.5l2.6 2.6L14.5 7' fill='none' stroke='%23fff' stroke-width='2'/%3E%3C/svg%3E") left center / 20px no-repeat;
}

.quote__contact {
  display: grid;
  gap: 6px;
  padding: 22px;
  border-radius: 14px;
  background: var(--cream);
  font-size: 0.9rem;
}

.quote__contact a {
  color: var(--green);
  font-weight: 700;
}

.quote__map {
  grid-column: 1 / -1;
  aspect-ratio: 16 / 6;
  margin-top: 20px;
}

.quote-card {
  display: grid;
  gap: 16px;
  padding: clamp(24px, 3vw, 36px);
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 20px 50px rgb(24 42 34 / 8%);
}

.quote-card h2 {
  font-size: 1.5rem;
}

.quote-card > p {
  margin: -8px 0 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.quote-card label {
  display: grid;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 700;
}

.quote-card input,
.quote-card textarea {
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 400;
  resize: vertical;
}

.quote-card input:focus,
.quote-card textarea:focus {
  border-color: var(--green);
  outline: 0;
}

.quote-card__sent {
  display: none;
  padding: 14px;
  border-radius: 10px;
  background: var(--green-soft);
  font-size: 0.86rem;
}

.quote-card.is-sent .quote-card__sent {
  display: block;
}

/* Search page */
.search-page {
  max-width: 980px;
  margin: 0 auto;
  padding: 40px clamp(24px, 5vw, 72px) 70px;
}

.search-page h1 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
}

.search-page__count {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

/* Footer nav */
.footer nav {
  display: grid;
  gap: 8px;
  font-size: 0.84rem;
}

.footer nav a:hover {
  color: var(--gold);
}

@media (max-width: 900px) {
  .product,
  .quote,
  .visit {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 540px) {
  .topbar p {
    display: none;
  }

  /* Product rows stack: image on top, then details */
  .row {
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "image image"
      "info info"
      "code price"
      "button button";
  }

  .row__image {
    width: 100%;
    height: 180px;
  }

  .row .button {
    justify-self: stretch;
    justify-content: center;
  }
}
