:root {
  color-scheme: light;
  --ink: #1d2d25;
  --muted: #5b6b61;
  --green: #194635;
  --deep: #14392e;
  --pale: #edf3ed;
  --edge: #dce3db;
  --paper: #f8f6ef;
  --card: #fffefa;
  --white: #fff;
  --serif: "Instrument Serif", Baskervville, Georgia, serif;
  --sans: Inter, "Segoe UI", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-padding-top: 18px; }
body {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 15px/1.55 var(--sans);
}
main { flex: 1; }
h1, h2, h3, h4, p, dl, dd, figure { margin: 0; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, a, select { touch-action: manipulation; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 3px solid #a26818; outline-offset: 3px; }

.container { width: min(1336px, calc(100% - 92px)); margin-inline: auto; }
.visually-hidden, .symbols {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip-link {
  position: absolute;
  z-index: 5;
  top: 8px;
  left: 8px;
  transform: translateY(-150%);
  padding: 9px 13px;
  border-radius: 8px;
  background: var(--white);
}
.skip-link:focus { transform: none; }
.icon {
  width: 18px;
  height: 18px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
  vertical-align: middle;
}

.masthead { border-bottom: 1px solid #d4c8bc; background: #e8e0d7; }
.header-inner, .site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}
.header-inner { min-height: 74px; justify-content: space-between; }
.site-nav { justify-content: end; }
.wordmark { display: inline-flex; flex: none; }
.wordmark .shopovia-logo { width: 106px; height: auto; }
.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 42px;
  padding-inline: 8px;
  border-radius: 9px;
  color: var(--green);
  font-size: 14px;
  font-weight: 700;
}
.nav-link:hover { background: #f6f0e7; }
.shortlist-link { border: 1px solid #d5ded4; background: #fdfdf9; }
.count {
  display: inline-grid;
  min-width: 22px;
  min-height: 22px;
  place-items: center;
  padding-inline: 4px;
  border-radius: 99px;
  background: #e4eee4;
  font-size: 11px;
}

.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 8px 14px;
  border: 1px solid transparent;
  border-radius: 9px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
}
.primary, .shortlist-button { background: var(--green); color: var(--white); }
.primary:hover, .shortlist-button:hover { background: #256248; }
.secondary, .detail-button {
  border-color: #d6e1d5;
  background: var(--white);
  color: var(--green);
}
.secondary:hover, .detail-button:hover {
  border-color: #a8bdab;
  background: var(--pale);
}
.hero-pdf { border-color: #d4c5a5; background: #fffaf0; color: var(--green); }
.hero-pdf:hover { border-color: #96aa99; background: var(--white); }
.shortlist-button[aria-pressed="true"] {
  border-color: #a8c6ae;
  background: #eaf4e9;
  color: var(--green);
}
.text-link {
  color: var(--green);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.text-link:hover { color: #256248; }
.actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.meta { color: var(--muted); font-size: 13px; }

.directory-main { padding-block: clamp(25px, 5vw, 66px) 62px; }
.directory-heading { margin-bottom: 24px; }
.directory-heading h1, .page-heading h1, .error-page h1 {
  color: var(--deep);
  font: 400 clamp(38px, 5vw, 67px)/1 var(--serif);
  letter-spacing: -.045em;
  text-wrap: balance;
}
.directory-heading p, .page-heading p, .error-page p {
  margin-top: 10px;
  color: var(--muted);
}
.directory-tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}
.search-form {
  display: flex;
  flex: 1 1 410px;
  align-items: center;
  gap: 8px;
  max-width: 700px;
  padding: 7px;
  border: 1px solid #e7e7dc;
  border-radius: 12px;
  background: #eeeee6;
}
.search-field {
  display: flex;
  flex: 1;
  min-width: 0;
  align-items: center;
  gap: 8px;
  padding-left: 12px;
  border: 1px solid var(--edge);
  border-radius: 8px;
  background: var(--white);
  color: var(--muted);
}
.search-field:focus-within { outline: 2px solid #a26818; }
.search-field input {
  flex: 1;
  width: 100%;
  min-width: 0;
  min-height: 44px;
  padding: 9px 9px 9px 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font-size: 14px;
}
.search-field input::placeholder { color: #626d65; }
.result-count { margin-bottom: 13px; color: var(--muted); }
.grid { display: grid; gap: 18px; }
.catalogue-grid, .search-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.directory-card, .product-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #e2e4da;
  border-radius: 15px;
  background: var(--card);
}
.directory-card:hover, .product-card:hover {
  border-color: #9eb4a3;
  box-shadow: 0 7px 20px #20372b14;
}
.directory-detail { display: flex; flex: 1; flex-direction: column; }
.directory-detail:focus-visible, .directory-pdf:focus-visible, .product-card-image:focus-visible {
  outline-offset: -4px;
}
.directory-detail img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  background: #efe5d9;
}
.directory-detail h2 {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 13px 15px;
  color: var(--deep);
  font: 400 clamp(18px, 2vw, 25px)/1.14 var(--serif);
}
.directory-detail h2 .icon { width: 16px; height: 16px; }
.directory-pdf {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 40px;
  padding: 8px 14px;
  border-top: 1px solid var(--edge);
  color: var(--green);
  font-size: 12px;
  font-weight: 700;
}
.directory-pdf:hover { background: var(--pale); }
.directory-pdf .icon { width: 15px; height: 15px; }

.breadcrumb { margin-block: 17px; color: var(--muted); font-size: 13px; }
.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.breadcrumb li + li::before { margin-right: 8px; content: "/"; color: #80705e; }
.breadcrumb a { color: var(--green); text-decoration: underline; text-underline-offset: 3px; }

.category-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  min-height: 340px;
  align-items: stretch;
  overflow: hidden;
  border: 1px solid #e5e1d1;
  border-radius: 21px;
  background: #f1ead9;
  box-shadow: 0 12px 32px #20372b0c;
}
.category-copy { align-self: center; padding: 32px clamp(22px, 4vw, 60px); }
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #446353;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 1.65px;
  text-transform: uppercase;
}
.eyebrow::before { width: 22px; height: 2px; background: #a67731; content: ""; }
.category-copy h1, .product-info h1 {
  margin-block: 12px;
  color: var(--deep);
  font: 400 clamp(37px, 4.8vw, 68px)/.98 var(--serif);
  letter-spacing: -.05em;
  text-wrap: balance;
}
.category-copy > p:not(.eyebrow) { max-width: 42ch; color: #40574a; }
.category-media { display: grid; min-width: 0; place-items: center; background: #fbfaf5; }
.category-media img { width: 100%; height: 100%; max-height: 410px; object-fit: cover; }
.catalogue-section { padding-block: 28px 60px; }
.catalogue-section > h2 {
  margin-bottom: 16px;
  color: var(--deep);
  font: 400 clamp(34px, 4vw, 55px)/1.02 var(--serif);
  letter-spacing: -.043em;
}
.catalogue-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(232px, 25%);
  align-items: start;
  gap: 24px;
}
.category-products, .category-order { display: grid; gap: 22px; }
.category-order { position: sticky; top: 16px; gap: 12px; }
.category-order > div, .specification-note {
  padding: 14px 16px;
  border: 1px solid var(--edge);
  border-radius: 12px;
  background: var(--pale);
}
.category-order > div:first-child { background: var(--card); }
.category-order h2 { font-size: 15px; line-height: 1.3; }
.category-order p { margin-top: 6px; color: #40574a; font-size: 13px; }
.range-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 11px;
  padding-bottom: 7px;
  border-bottom: 1px solid var(--edge);
}
.range-heading h3 {
  color: var(--deep);
  font: 400 clamp(23px, 2.7vw, 34px)/1.1 var(--serif);
  letter-spacing: -.025em;
}
.range-heading span { color: var(--muted); font-size: 12px; white-space: nowrap; }
.product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.product-card-image {
  display: grid;
  height: clamp(126px, 14vw, 195px);
  place-items: center;
  overflow: hidden;
  padding: 8px;
  background: #f4eee1;
}
.product-card-image img { width: 100%; height: 100%; min-height: 0; object-fit: contain; }
.product-card-copy { display: flex; flex: 1; flex-direction: column; padding: 13px; }
.sku { color: #536d5e; font-size: 11px; font-weight: 750; letter-spacing: .09em; }
.product-card h2, .product-card h4 {
  margin-block: 4px 7px;
  font-size: 17px;
  line-height: 1.22;
  overflow-wrap: anywhere;
}
.product-card h2 a:hover, .product-card h4 a:hover { text-decoration: underline; }
.product-card-copy > p:not(.sku) { color: var(--muted); font-size: 13px; }
.product-card-copy .seller {
  margin: 9px 0 10px;
  padding: 8px 9px;
  border: 1px solid #e7ede4;
  border-radius: 8px;
  background: #f2f5ee;
  color: var(--ink);
  font-weight: 700;
}

.tile-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: 6px;
  margin-top: auto;
  padding-top: 8px;
  border-top: 1px solid #e8ede6;
}
.tile-links .button { min-height: 36px; padding: 5px; font-size: 12px; }
.tile-links .detail-button { text-decoration: none; }
.tile-links > .text-link { font-size: 12px; }

.product-main, .quotation-main { padding-bottom: 60px; }
.product-detail, .supplier-panel, .rfq-card {
  border: 1px solid var(--edge);
  border-radius: 15px;
  background: var(--card);
}
.product-detail {
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr);
  gap: clamp(16px, 3vw, 40px);
  padding: clamp(14px, 3vw, 30px);
}
.product-figure {
  display: grid;
  min-width: 0;
  align-self: start;
  place-items: center;
  gap: 7px;
  padding: 12px;
  border-radius: 12px;
  background: #f4eee1;
}
.product-figure img { width: 100%; max-width: 498px; height: auto; border-radius: 6px; }

.product-info { min-width: 0; align-self: center; }
.product-info h1 { font-size: clamp(33px, 4.3vw, 59px); }
.facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-block: 13px;
}
.facts > div { padding: 9px 11px; border-radius: 8px; background: #f2f5ee; }
.facts dt { color: #435f51; font-size: 11px; font-weight: 750; }
.facts dd { margin-top: 4px; font-size: 14px; }
.product-notes, .published { color: #40574a; }
.product-pdf { display: inline-block; margin-top: 12px; font-size: 13px; }
.supplier-panel { margin-top: 18px; padding: clamp(15px, 3vw, 24px); }
.supplier-panel h2, .related h2, .rfq-card h2 {
  color: var(--deep);
  font: 400 29px/1.1 var(--serif);
  letter-spacing: -.02em;
}

.source-date { margin-top: 12px; }
.related { margin-top: 24px; }
.related ul, .quote-items { display: grid; gap: 8px; padding: 0; list-style: none; }
.related ul { grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 12px 0 0; }
.related a {
  display: grid;
  gap: 3px;
  padding: 10px 13px;
  border: 1px solid var(--edge);
  border-radius: 8px;
  background: var(--card);
  color: var(--green);
  font-weight: 700;
}
.related a:hover { background: var(--pale); }
.related small { color: var(--muted); font-weight: 400; }

.quotation-main { max-width: 1120px; }
.page-heading { margin-block: 24px 20px; }
.page-heading h1 { font-size: clamp(39px, 5vw, 61px); }
.rfq-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(245px, .42fr);
  align-items: start;
  gap: 16px;
}
.rfq-card { padding: clamp(15px, 3vw, 23px); }
.rfq-card h2 { margin-bottom: 12px; }
.rfq-card fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.full-field { grid-column: 1 / -1; }
.form-grid label { min-width: 0; color: var(--ink); font-size: 13px; font-weight: 700; }
.form-grid label span { color: var(--muted); font-weight: 400; }
.form-grid :is(input, select, textarea) {
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 44px;
  margin-top: 5px;
  padding: 8px 10px;
  border: 1px solid #b4c5b8;
  border-radius: 6px;
  background: var(--white);
  color: var(--ink);
  font-size: 16px;
  font-weight: 400;
}
.form-grid textarea { resize: vertical; }
.quote-items { margin-block: 9px; }
.quote-items li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px;
  border-radius: 7px;
  background: var(--pale);
}
.quote-items small { display: block; color: var(--muted); }
.quote-items .button { min-height: 34px; padding: 6px 8px; font-size: 12px; }
.direct-contact {
  display: grid;
  gap: 4px;
  margin-top: 15px;
  padding-top: 14px;
  border-top: 1px solid var(--edge);
  overflow-wrap: anywhere;
}
.direct-contact h2 { margin-bottom: 5px; }
.ready-message:not(:empty) {
  margin-block: 12px;
  padding: 9px 12px;
  border-radius: 7px;
  background: var(--pale);
}
.error-page { padding-block: 55px; }
.error-page > .button { margin-top: 16px; }

.site-footer { border-top: 4px solid #a39485; background: #5b4d42; color: #fbf1e6; }
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.65fr) minmax(0, 1fr);
  gap: clamp(15px, 3vw, 42px);
  padding-block: 26px 24px;
  font-size: 13px;
}
.footer-grid h2 { margin-bottom: 7px; color: #fffaf4; font-size: 15px; }
.footer-grid a:not(.footer-logo) {
  display: flex;
  width: fit-content;
  min-height: 30px;
  align-items: center;
  gap: 7px;
  overflow-wrap: anywhere;
}
.footer-logo {
  display: inline-flex;
  margin-bottom: 8px;
  padding: 3px 10px;
  border-radius: 8px;
  background: #f1e8dc;
}
.footer-logo img { width: 76px; height: auto; }
.site-footer a:hover { text-decoration: underline; text-underline-offset: 3px; }
.site-footer a:focus-visible { outline-color: #fae7b8; }
.footer-grid .icon { width: 14px; height: 14px; }
.footer-bottom { border-top: 1px solid #78685a; background: #4d4138; }
.footer-bottom-inner, .footer-bottom-inner nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
}
.footer-bottom-inner { justify-content: space-between; padding-block: 11px; font-size: 12px; }
.footer-bottom-inner small { font-size: inherit; }

@media (max-width: 1050px) {
  .container { width: calc(100% - 54px); }
  .catalogue-grid, .search-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .catalogue-layout { grid-template-columns: minmax(0, 1fr) 228px; gap: 16px; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .container { width: calc(100% - 36px); }
  .category-hero, .catalogue-layout, .product-detail, .rfq-layout { grid-template-columns: minmax(0, 1fr); }
  .category-hero { min-height: 0; }
  .category-copy { padding-block: 22px; }
  .category-media img { height: auto; max-height: 270px; }
  .category-order { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .specification-note { grid-column: 1 / -1; }
  .product-figure img { max-width: 390px; }
  .related ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 15px; }
  .footer-grid > div + div { padding-top: 13px; border-top: 1px solid #807163; }
}

@media (max-width: 600px) {
  .container { width: calc(100% - 28px); }
  .header-inner { min-height: 61px; }
  .wordmark .shopovia-logo { width: 74px; }
  .site-nav { gap: 4px; }
  .site-nav .button, .nav-link { min-height: 38px; padding-inline: 6px; font-size: 12px; }
  .nav-link { gap: 4px; }
  .count { min-width: 18px; min-height: 18px; }
  .directory-heading { margin-bottom: 16px; }
  .directory-tools { margin-bottom: 16px; }
  .search-form { gap: 5px; padding: 5px; }
  .search-field { padding-left: 7px; gap: 5px; }
  .search-field input { font-size: 16px; }
  .search-field input::placeholder { font-size: 13px; }
  .search-form .button { padding-inline: 8px; font-size: 12px; }
  .catalogue-grid, .search-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .directory-detail h2 { padding: 10px; font-size: 19px; }
  .directory-pdf { padding-inline: 9px; }
  .product-card-copy { padding: 10px; }
  .category-order, .form-grid { grid-template-columns: minmax(0, 1fr); }

}

@media (max-width: 360px) {
  .product-grid, .search-grid, .related ul { grid-template-columns: minmax(0, 1fr); }
  .product-card-image { height: 170px; }
  .search-field .icon { display: none; }
}

.product-detail.product-without-image { grid-template-columns: minmax(0, 1fr); }


.product-info > .product-description {
  color: #40574a;
  margin-block: 10px 14px;
}
.product-card-copy > .product-description {
  line-height: 1.48;
}
.product-card-copy > p.product-moq {
  color: var(--ink);
  margin-top: 7px;
}
.product-moq strong {
  color: var(--deep);
  font-weight: 750;
}

.directory-toolbar .shopovia-home-link {
  border: 1px solid transparent;
  white-space: nowrap;
}
.directory-toolbar .shopovia-home-link:hover,
.directory-toolbar .shopovia-home-link:focus-visible {
  border-color: var(--edge);
}
.product-pdf-card {
  display: grid;
  width: min(100%, 435px);
  gap: 12px;
  margin-block: 16px;
  padding: 14px;
  border: 1px solid var(--edge);
  border-radius: 14px;
  background: var(--card);
}
.product-pdf-heading {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  align-items: center;
  column-gap: 10px;
}
.product-pdf-icon {
  display: grid;
  width: 40px;
  height: 40px;
  grid-row: span 2;
  place-items: center;
  border-radius: 9px;
  background: #eee6d4;
  color: var(--deep);
}
.product-pdf-heading h2 {
  font-size: 16px;
  line-height: 1.25;
}
.product-pdf-heading p {
  margin-top: 2px;
  color: var(--muted);
  font-size: 13px;
}
.product-pdf-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}
.product-pdf-actions .button {
  min-height: 42px;
  padding-inline: 6px;
  font-size: 13px;
}

.catalogue-page-nav .catalogue-back {
  white-space: nowrap;
}

.catalogue-page-nav .shortlist-link {
  padding-inline: 12px;
}

.catalogue-page-nav .count,
.buyer-panel .count {
  min-width: 24px;
  height: 24px;
  padding-inline: 5px;
}

.catalogue-back-short {
  display: none;
}

.catalogue-browser-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
}

.catalogue-browser-heading h2 {
  color: var(--ink);
  font: 400 clamp(36px, 4.7vw, 55px)/1.02 var(--serif);
  letter-spacing: -.044em;
}

.catalogue-browser-heading p,
.catalogue-results-count {
  color: var(--muted);
  font-size: 13px;
  white-space: nowrap;
}

.catalogue-group-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  width: fit-content;
  max-width: 100%;
  margin-bottom: 13px;
  padding: 4px;
  border: 1px solid var(--edge);
  border-radius: 10px;
  background: #eef1e9;
}

.catalogue-group-filter {
  min-height: 36px;
  padding: 5px 16px;
  border: 1px solid transparent;
  border-radius: 7px;
  background: transparent;
  color: var(--green);
  font-size: 13px;
  font-weight: 700;
}

.catalogue-group-filter:hover {
  background: #e1ece0;
}

.catalogue-group-filter[aria-pressed="true"] {
  background: var(--green);
  color: var(--white);
}

.catalogue-search {
  display: flex;
  padding: 7px;
  border: 1px solid #e4e6db;
  border-radius: 12px;
  background: #edeee5;
}

.catalogue-search .search-field {
  min-height: 46px;
}

.catalogue-results-count {
  margin-block: 9px 12px;
}

.catalogue-empty {
  padding: 18px;
  border: 1px solid var(--edge);
  border-radius: 12px;
  background: var(--card);
  color: var(--muted);
}

.catalogue-browse-layout,
.product-page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 304px;
  gap: 24px;
  align-items: start;
}

.product-page-layout {
  grid-template-areas: "detail sidebar" "support sidebar";
  grid-template-rows: auto 1fr;
  row-gap: 18px;
}

.product-page-layout > .product-detail { grid-area: detail; }
.product-page-layout > .catalogue-sidebar { grid-area: sidebar; }
.product-page-support { grid-area: support; min-width: 0; }
.product-page-support > .supplier-panel { margin-top: 0; }

.catalogue-sidebar {
  display: grid;
  align-content: start;
  gap: 12px;
  min-width: 0;
}

.catalogue-sidebar > .category-order {
  position: static;
  grid-template-columns: minmax(0, 1fr);
}

.catalogue-sidebar .product-pdf-card {
  width: 100%;
  margin: 0;
  padding: 13px;
  border-color: #e1d9c7;
  background: #fffdf6;
}

.catalogue-sidebar .product-pdf-heading h2 {
  font-size: 16px;
}

.catalogue-sidebar .product-pdf-actions .button {
  min-height: 44px;
}

.catalogue-browse-layout .product-card h4 {
  font-size: 18px;
}

.catalogue-card-facts {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
  gap: 8px;
  margin-top: 9px;
  padding: 8px 9px;
  border: 1px solid #e5ece2;
  border-radius: 8px;
  background: #f1f5ed;
}

.catalogue-card-facts dt {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #435f51;
  font-size: 11px;
  font-weight: 750;
}

.catalogue-card-facts dt .icon {
  width: 13px;
  height: 13px;
}

.catalogue-card-facts dd {
  margin-top: 2px;
  color: var(--ink);
  font-size: 12px;
  overflow-wrap: anywhere;
}

.catalogue-card-facts + .seller {
  font-size: 12px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--muted);
}

.buyer-panel {
  overflow: hidden;
  scroll-margin-top: 18px;
  border: 1px solid #dce6d9;
  border-radius: 15px;
  background: var(--card);
  box-shadow: 0 5px 18px #1d2d250a;
}

.buyer-panel-heading {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  padding: 13px;
  background: linear-gradient(120deg, #214c3a, #14392e);
  color: var(--card);
}

.buyer-panel-heading h3,
.catalogue-pricing h3 {
  font-size: 16px;
  line-height: 1.3;
}

.buyer-panel-heading .count {
  background: #eddfb3;
  color: #253620;
}

.buyer-panel-icon,
.pricing-icon {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 9px;
}

.buyer-panel-icon {
  background: #ffffff20;
  color: #f6f0d8;
}

.buyer-panel-empty {
  padding: 19px 15px;
  text-align: center;
}

.buyer-empty-icon {
  display: grid;
  width: 46px;
  height: 46px;
  margin: 0 auto 8px;
  place-items: center;
  border-radius: 50%;
  background: #eef3ed;
  color: #476e55;
}

.buyer-panel-empty strong {
  display: block;
  font-size: 14px;
}

.buyer-panel-empty p {
  max-width: 240px;
  margin: 3px auto 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.buyer-panel-items {
  max-height: 210px;
  margin: 0;
  padding: 0 13px;
  overflow: auto;
  list-style: none;
}

.buyer-item {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 9px 0;
}

.buyer-item + .buyer-item {
  border-top: 1px solid var(--edge);
}

.buyer-item-link {
  color: var(--green);
  font-size: 13px;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.buyer-item-link:hover,
.buyer-item-remove:hover {
  text-decoration: underline;
}

.buyer-item-link small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 500;
}

.buyer-item-remove {
  flex: none;
  min-height: 36px;
  padding: 4px 5px;
  border: 0;
  background: transparent;
  color: var(--green);
  font-size: 12px;
}

.buyer-panel-actions {
  padding: 11px 13px 12px;
  border-top: 1px solid #e9eee7;
}

.buyer-panel-actions .button {
  width: 100%;
  justify-content: space-between;
  text-align: start;
}

.buyer-panel-actions .button:disabled {
  background: #e9eee8;
  color: #5c6a61;
  cursor: default;
}

.buyer-panel-actions p {
  margin-top: 7px;
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}

.catalogue-pricing {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 13px;
  border: 1px solid #d8e5d6;
  border-radius: 14px;
  background: #ebf2eb;
}

.catalogue-pricing .pricing-icon {
  flex: none;
  background: #dceade;
  color: var(--green);
}

.catalogue-pricing p {
  margin-top: 4px;
  color: #536659;
  font-size: 13px;
  line-height: 1.45;
}

.catalogue-trade-terms {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}

.catalogue-trade-terms li {
  padding: 2px 5px;
  border: 1px solid #d0dfcd;
  border-radius: 5px;
  background: #f8fbf6;
  color: var(--green);
  font-size: 11px;
  font-weight: 750;
}

.buyer-dialog {
  width: min(365px, calc(100% - 24px));
  max-height: calc(100% - 28px);
  padding: 0;
  border: 0;
  border-radius: 15px;
  background: transparent;
  color: var(--ink);
}

.buyer-dialog::backdrop {
  background: rgb(19 38 28 / .48);
}

.buyer-dialog:not([open]) {
  display: none;
}

.buyer-dialog .buyer-panel-heading {
  grid-template-columns: 36px minmax(0, 1fr) auto auto;
}

.buyer-dialog-close {
  width: 36px;
  min-height: 36px;
  padding: 4px;
  border-color: #ffffff3d;
  color: var(--card);
  background: transparent;
}

.buyer-dialog-close:hover {
  background: #ffffff20;
}

@media (max-width: 1050px) {
  .catalogue-browse-layout,
  .product-page-layout {
    grid-template-columns: minmax(0, 1fr) 265px;
    column-gap: 16px;
  }
}

@media (max-width: 880px) {
  .catalogue-browse-layout,
  .product-page-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .product-page-layout {
    grid-template-areas: "detail" "sidebar" "support";
    grid-template-rows: auto;
  }

  .catalogue-sidebar {
    width: min(100%, 470px);
    justify-self: start;
  }
}

@media (max-width: 600px) {
  .catalogue-page-nav .shortlist-link {
    padding-inline: 7px;
  }

  .catalogue-back-long { display: none; }
  .catalogue-back-short { display: inline; }

  .catalogue-page-nav .icon {
    width: 15px;
    height: 15px;
  }

  .catalogue-browser-heading {
    gap: 6px;
  }

  .catalogue-group-filter {
    min-height: 33px;
    padding: 5px 9px;
    font-size: 12px;
  }

  .catalogue-card-facts {
    grid-template-columns: minmax(0, 1fr);
  }
}

.directory-detail img {
  object-fit: cover;
  aspect-ratio: 2.12;
}
.directory-detail h2 {
  min-height: 70px;
}
.directory-pdf span {
  margin-left: auto;
  color: var(--muted);
  font-size: 11px;
}
.category-media img {
  height: auto;
  object-fit: contain;
}
.category-media {
  background: #f0e7d8;
}
.catalogue-browse-layout .product-card-copy {
  min-height: 218px;
}
.catalogue-browse-layout .catalogue-card-facts {
  grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr);
  margin-bottom: 10px;
}
.gift-quote-details {
  margin-top: 16px;
}
.gift-quote-details h2 {
  font-size: 15px;
}
.gift-quote-details p {
  margin-top: 3px;
  color: var(--muted);
}
.form-grid .full {
  grid-column: 1 / -1;
}
.product-card-image,
.product-figure.gift-product-figure {
  background: #fbf9f2;
}
.product-card-image {
  height: clamp(160px, 17vw, 236px);
}
.photo-sample-label,
.gift-product-figure figcaption {
  color: var(--muted);
  font-size: 12px;
}
.photo-sample-label {
  margin: 0;
  padding: 5px 13px;
  border-top: 1px solid var(--edge);
  background: #fbf9f2;
}
.gift-product-figure figcaption {
  margin: 0;
  text-align: center;
}
.product-with-image .product-info h1 {
  font-size: clamp(28px, 3vw, 45px);
  overflow-wrap: anywhere;
}
.product-description-block {
  margin-bottom: 10px;
}
.product-description-label {
  display: block;
  margin-bottom: 4px;
  color: var(--deep);
  font-size: 12px;
  font-weight: 700;
}
.product-description-block .product-description {
  margin: 0;
  color: var(--muted);
}
.product-card-copy .product-description {
  font-size: 13px;
}
.product-info .product-description-block {
  margin-top: 12px;
}
.quote-fields {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}
.quote-fields .rfq-layout {
  grid-template-columns: minmax(0, 1fr) minmax(0, .8fr);
}
.quote-selection #empty-selection {
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 14px;
}
.quote-selection .quote-line {
  display: grid;
  gap: 12px;
  padding: 12px;
}
.quote-line-heading {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 8px;
}
.quote-line-heading a {
  min-width: 0;
  overflow-wrap: anywhere;
}
.quote-line-fields,
.quote-line-fields label {
  min-width: 0;
}
.quote-browse {
  display: inline-block;
  margin-top: 12px;
}
.quote-actions,
.quote-draft-actions {
  margin-top: 16px;
}
.quote-status {
  margin: 12px 0 0;
  color: var(--ink);
  overflow-wrap: anywhere;
}
.quote-status:empty {
  margin: 0;
}
.quote-status[data-state="success"],
.quote-status[data-state="error"] {
  padding: 12px 14px;
  border-radius: 8px;
}
.quote-status[data-state="success"] {
  background: var(--pale);
  color: var(--deep);
}
.quote-status[data-state="error"] {
  background: #f8eae2;
  color: #6b351c;
}
@media (max-width: 850px) {
  .quote-fields .rfq-layout {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 600px) {
  .catalogue-browse-layout .catalogue-card-facts {
    grid-template-columns: minmax(0, 1fr);
  }
  .directory-detail h2 {
    min-height: 58px;
  }
  .quote-line-fields {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.catalogue-browse-layout .catalogue-card-facts {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.product-info .facts {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.product-info .facts dd { overflow-wrap: anywhere; }
.search-pack { margin: 0 0 8px; color: var(--muted); font-size: .875rem; }
@media (max-width: 440px) {
  .catalogue-browse-layout .catalogue-card-facts,
  .product-info .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
