/* Shrusti Shop Page — extends the approved homepage design system. */

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.shop-page { background: var(--paper); }
.shop-page dialog { color: var(--ink); }
.shop-page .nav-item.is-active > .nav-trigger::after { transform: scaleX(1); }
.shop-page .footer-column button {
  width: fit-content;
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(255,255,255,.65);
  font: inherit;
  font-size: .82rem;
  cursor: pointer;
}
.shop-page .footer-column button:hover { color: var(--white); }
.shop-cart-button { position: relative; }
.cart-count {
  position: absolute;
  top: -4px;
  right: -2px;
  min-width: 19px;
  height: 19px;
  display: grid;
  place-items: center;
  padding: 0 5px;
  border: 2px solid var(--paper);
  border-radius: 999px;
  background: var(--yellow);
  color: var(--ink);
  font-size: .62rem;
  font-weight: 850;
  line-height: 1;
}

/* Header menu controls that are buttons rather than links. */
.quick-links button,
.new-arrivals-panel button,
.search-suggestions button {
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.quick-links button {
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
  font-size: .86rem;
  font-weight: 700;
}
.quick-links button:hover { padding-left: 8px; color: #000; }
.new-arrivals-panel button { width: 100%; padding: 0; }
.new-arrivals-panel button span { display: grid; gap: 6px; }
.search-suggestions button {
  padding: 8px 12px;
  background: var(--paper-2);
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 700;
}


/* Author display rules must not override the semantic hidden state. */
.compare-tray[hidden],
.filter-backdrop[hidden],
.active-filter-row[hidden],
.empty-state[hidden],
[data-cart-empty][hidden],
[data-cart-items][hidden] { display: none !important; }

/* Breadcrumbs */
.shop-breadcrumbs { padding: 22px 0 0; }
.shop-breadcrumbs ol {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: #73786e;
  font-size: .74rem;
  font-weight: 700;
}
.shop-breadcrumbs li + li::before { content: "/"; margin-right: 9px; color: rgba(21,22,19,.35); }
.shop-breadcrumbs a:hover { color: var(--ink); }

/* Shop hero */
.shop-hero {
  position: relative;
  overflow: clip;
  padding: clamp(46px, 5vw, 82px) 0 clamp(68px, 7vw, 108px);
  background: var(--paper);
}
.shop-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .3;
  background-image:
    linear-gradient(rgba(21,22,19,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(21,22,19,.08) 1px, transparent 1px);
  background-size: 72px 72px;
  pointer-events: none;
}
.shop-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  align-items: center;
  gap: clamp(38px, 6vw, 92px);
}
.shop-hero-copy h1 {
  max-width: 9.6ch;
  margin-bottom: 28px;
  font-size: clamp(3.8rem, 6.5vw, 6.9rem);
}
.shop-hero-lead {
  max-width: 650px;
  margin-bottom: 32px;
  color: #555a51;
  font-size: clamp(1.12rem, 1.45vw, 1.4rem);
  line-height: 1.55;
}
.shop-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.shop-hero-proof {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 44px;
  padding-top: 23px;
  border-top: 1px solid var(--line);
}
.shop-hero-proof span {
  display: grid;
  gap: 3px;
  color: #74786f;
  font-size: .7rem;
  line-height: 1.35;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.shop-hero-proof strong {
  color: var(--ink);
  font-size: 1rem;
  letter-spacing: -.02em;
  text-transform: none;
}
.shop-hero-visual {
  position: relative;
  min-height: 610px;
  margin: 0;
  overflow: hidden;
  border-radius: 2px 2px 28px 28px;
  background: #dedbd2;
  box-shadow: 0 28px 70px rgba(18,19,16,.14);
}
.shop-hero-visual > img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.shop-hero-visual figcaption {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 22px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 3px 12px;
  align-items: center;
  padding: 16px 18px;
  background: rgba(17,18,15,.88);
  color: var(--white);
  backdrop-filter: blur(14px);
}
.shop-hero-visual figcaption span {
  grid-row: 1 / span 2;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--ink);
  font-size: .68rem;
  font-weight: 850;
}
.shop-hero-visual figcaption strong { font-size: .9rem; }
.shop-hero-visual figcaption small { color: rgba(255,255,255,.66); font-size: .7rem; }

/* Category collections */
.shop-collections { background: #f7f4ed; }
.collection-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr;
  grid-auto-rows: minmax(300px, auto);
  gap: 18px;
  margin-top: 54px;
}
.collection-card {
  position: relative;
  min-width: 0;
  min-height: 300px;
  overflow: hidden;
  padding: 0;
  border: 1px solid rgba(21,22,19,.11);
  border-radius: var(--radius);
  background: #ece8df;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  box-shadow: none;
  transition: transform 250ms var(--ease), box-shadow 250ms var(--ease), border-color 250ms var(--ease);
}
.collection-card-featured { grid-row: span 2; }
.collection-card:last-child { grid-column: 2 / -1; }
.collection-card > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 650ms var(--ease);
}
.collection-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12,13,11,.02) 24%, rgba(12,13,11,.88) 100%);
}
.collection-card > div {
  position: absolute;
  z-index: 2;
  left: 24px;
  right: 24px;
  bottom: 22px;
  color: var(--white);
}
.collection-card small {
  color: var(--yellow);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.collection-card h3 { max-width: 12ch; margin: 8px 0 10px; font-size: clamp(1.8rem, 3vw, 3.4rem); }
.collection-card p { max-width: 46ch; margin-bottom: 14px; color: rgba(255,255,255,.72); font-size: .84rem; }
.collection-card em { display: inline-flex; align-items: center; gap: 9px; font-style: normal; font-size: .78rem; font-weight: 800; }
.collection-card em .icon { transition: transform 220ms var(--ease); }
.collection-count {
  position: absolute;
  z-index: 3;
  top: 16px;
  right: 16px;
  padding: 8px 11px;
  border-radius: 999px;
  background: rgba(247,244,237,.9);
  color: var(--ink);
  font-size: .68rem;
  font-weight: 800;
  backdrop-filter: blur(8px);
}
.collection-card:hover { transform: translateY(-5px); border-color: rgba(21,22,19,.24); box-shadow: 0 24px 54px rgba(20,22,18,.14); }
.collection-card:hover > img { transform: scale(1.035); }
.collection-card:hover em .icon { transform: translateX(5px); }

/* Catalogue shell */
.shop-catalogue { background: var(--paper); }
.catalogue-heading {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 72px;
  align-items: end;
  margin-bottom: 44px;
}
.catalogue-heading h2 { max-width: 9.5ch; margin: 0; }
.catalogue-heading > p { max-width: 55ch; margin: 0; font-size: 1rem; }
.shop-toolbar {
  position: sticky;
  z-index: 15;
  top: calc(var(--header-height) + 10px);
  display: grid;
  grid-template-columns: minmax(300px, 1fr) auto;
  gap: 16px;
  align-items: center;
  margin-bottom: 16px;
  padding: 14px;
  border: 1px solid rgba(21,22,19,.12);
  border-radius: 16px;
  background: rgba(247,244,237,.94);
  box-shadow: 0 12px 34px rgba(20,22,18,.08);
  backdrop-filter: blur(18px);
}
.catalogue-search {
  min-width: 0;
  height: 54px;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 12px;
  padding: 0 16px;
  border: 1px solid rgba(21,22,19,.16);
  border-radius: 12px;
  background: var(--white);
}
.catalogue-search .icon { width: 20px; color: #71766d; }
.catalogue-search input { width: 100%; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: .92rem; }
.toolbar-actions { display: flex; align-items: center; gap: 9px; }
.toolbar-button,
.sort-control {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 0 15px;
  border: 1px solid rgba(21,22,19,.15);
  border-radius: 12px;
  background: var(--white);
  color: var(--ink);
  font-size: .8rem;
  font-weight: 760;
}
.toolbar-button { cursor: pointer; }
.toolbar-button:hover { border-color: var(--ink); background: #fbfaf6; }
.toolbar-button span { min-width: 20px; height: 20px; display: grid; place-items: center; border-radius: 50%; background: var(--paper-2); font-size: .64rem; }
.sort-control span { color: #74786f; font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; }
.sort-control select { max-width: 174px; border: 0; outline: 0; background: transparent; color: var(--ink); font-weight: 760; cursor: pointer; }
.filter-open-button { display: none; }
.active-filter-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-start;
  margin-bottom: 18px;
  padding: 12px 14px;
  border: 1px solid rgba(21,22,19,.1);
  border-radius: 12px;
  background: #eeeae1;
}
.active-filter-row > div { display: flex; flex-wrap: wrap; gap: 7px; }
.filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 32px;
  padding: 0 10px;
  border: 1px solid rgba(21,22,19,.15);
  border-radius: 999px;
  background: var(--white);
  font-size: .72rem;
  font-weight: 700;
  cursor: pointer;
}
.filter-chip::after { content: "×"; font-size: 1rem; font-weight: 500; }
.active-filter-row > button { padding: 5px 0; border: 0; background: transparent; color: var(--ink); font-size: .72rem; font-weight: 800; cursor: pointer; }
.catalogue-layout {
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}
.filter-panel {
  position: sticky;
  top: calc(var(--header-height) + 92px);
  max-height: calc(100vh - var(--header-height) - 115px);
  overflow: auto;
  border: 1px solid rgba(21,22,19,.12);
  border-radius: 16px;
  background: #f8f6f0;
}
.filter-panel-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: start;
  padding: 20px;
  border-bottom: 1px solid var(--line);
}
.filter-panel-head div { display: grid; gap: 4px; }
.filter-panel-head small { color: #777b72; font-size: .68rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
.filter-panel-head strong { font-size: .9rem; }
.filter-close-button { display: none; }
.filter-content { padding: 4px 20px 20px; }
.filter-content fieldset,
.filter-content details { margin: 0; padding: 18px 0; border: 0; border-bottom: 1px solid var(--line); }
.filter-content fieldset:last-child,
.filter-content details:last-child { border-bottom: 0; }
.filter-content legend,
.filter-content summary {
  width: 100%;
  margin: 0 0 12px;
  padding: 0;
  color: var(--ink);
  font-size: .77rem;
  font-weight: 820;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.filter-content summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
  cursor: pointer;
}
.filter-content summary::-webkit-details-marker { display: none; }
.filter-content summary .icon { width: 15px; transition: transform 180ms var(--ease); }
.filter-content details[open] summary .icon { transform: rotate(180deg); }
.filter-option {
  min-height: 36px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #4f544c;
  font-size: .79rem;
  cursor: pointer;
}
.filter-option input { width: 17px; height: 17px; accent-color: var(--ink); }
.filter-option > span { flex: 1; display: flex; justify-content: space-between; gap: 8px; }
.filter-option small { color: #8b8f87; }
.filter-options-scroll { max-height: 285px; overflow: auto; padding-right: 5px; }
.filter-chip-options { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-chip-options label { cursor: pointer; }
.filter-chip-options input { position: absolute; opacity: 0; pointer-events: none; }
.filter-chip-options span {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 0 11px;
  border: 1px solid rgba(21,22,19,.14);
  border-radius: 999px;
  background: var(--white);
  font-size: .72rem;
  font-weight: 700;
}
.filter-chip-options input:checked + span { border-color: var(--ink); background: var(--ink); color: var(--white); }
.filter-panel-footer { display: none; }
.catalogue-results { min-width: 0; }
.results-summary {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  margin: 2px 0 16px;
}
.results-summary p { margin: 0; font-size: .77rem; }
.catalogue-data-note { display: inline-flex; align-items: center; gap: 8px; }
.catalogue-data-note span { width: 8px; height: 8px; border-radius: 50%; background: var(--yellow); }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }

/* Product cards */
.shop-product-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(21,22,19,.11);
  border-radius: 16px;
  background: #fbfaf6;
  box-shadow: 0 4px 14px rgba(20,22,18,.03);
  transition: transform 240ms var(--ease), border-color 240ms var(--ease), box-shadow 240ms var(--ease);
}
.shop-product-card:hover { transform: translateY(-5px); border-color: rgba(21,22,19,.23); box-shadow: 0 20px 42px rgba(20,22,18,.1); }
.product-card-media {
  position: relative;
  height: 255px;
  overflow: hidden;
  background: #e8e5dd;
}
.product-card-media > a { display: block; width: 100%; height: 100%; }
.product-card-media img { width: 100%; height: 100%; object-fit: contain; padding: 16px; transition: transform 520ms var(--ease); }
.shop-product-card:hover .product-card-media img { transform: scale(1.04); }
.product-family-label {
  position: absolute;
  left: 12px;
  top: 12px;
  padding: 7px 9px;
  border-radius: 999px;
  background: rgba(17,18,15,.9);
  color: var(--white);
  font-size: .62rem;
  font-weight: 820;
  letter-spacing: .08em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}
.compare-control {
  position: absolute;
  right: 12px;
  top: 12px;
  min-height: 31px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 9px;
  border-radius: 999px;
  background: rgba(247,244,237,.92);
  color: var(--ink);
  font-size: .65rem;
  font-weight: 780;
  cursor: pointer;
  backdrop-filter: blur(8px);
}
.compare-control input { width: 14px; height: 14px; accent-color: var(--ink); }
.product-card-body { display: grid; gap: 15px; padding: 20px; }
.product-heading-row { display: flex; justify-content: space-between; gap: 16px; align-items: start; }
.product-model { margin: 0 0 5px; color: #7b7f77; font-size: .66rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.product-heading-row h3 { margin: 0; font-size: clamp(1.25rem, 1.7vw, 1.65rem); line-height: 1.05; }
.product-heading-row h3 a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.product-mode {
  flex: 0 0 auto;
  max-width: 95px;
  padding: 6px 8px;
  border: 1px solid rgba(21,22,19,.12);
  border-radius: 999px;
  color: #666b62;
  font-size: .59rem;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.product-description { min-height: 58px; margin: 0; font-size: .79rem; line-height: 1.5; }
.product-specs { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.product-specs div { min-width: 0; padding: 12px 9px; border-right: 1px solid var(--line); }
.product-specs div:first-child { padding-left: 0; }
.product-specs div:last-child { padding-right: 0; border-right: 0; }
.product-specs dt { margin-bottom: 4px; color: #858980; font-size: .58rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.product-specs dd { margin: 0; color: var(--ink); font-size: .72rem; font-weight: 760; line-height: 1.3; }
.product-data-flag {
  display: grid;
  gap: 5px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid #b26a00;
  background: #fff1d3;
  color: #6d4707;
  font-size: .68rem;
  line-height: 1.45;
}
.product-data-flag span { font-size: .59rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.product-commerce-state { display: flex; align-items: center; gap: 8px; margin: 0; color: #666b62; font-size: .68rem; font-weight: 700; }
.product-commerce-state span { width: 8px; height: 8px; border-radius: 50%; background: var(--yellow); }
.product-commerce-state.is-pending span { background: #b26a00; }
.product-card-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.product-card-actions .button { min-height: 44px; padding-inline: 12px; font-size: .74rem; }
.product-details-link { display: inline-flex; width: fit-content; align-items: center; gap: 8px; padding-bottom: 3px; border-bottom: 1px solid currentColor; font-size: .72rem; font-weight: 800; }
.product-details-link:hover .icon { transform: translateX(4px); }
.product-details-link .icon { transition: transform 180ms var(--ease); }

/* Empty state + pagination */
.empty-state { display: grid; justify-items: center; padding: 70px 24px; border: 1px dashed rgba(21,22,19,.25); border-radius: 16px; text-align: center; }
.empty-state > span { width: 58px; height: 58px; display: grid; place-items: center; margin-bottom: 18px; border-radius: 50%; background: var(--yellow); }
.empty-state h3 { max-width: 19ch; margin-bottom: 12px; font-size: 2rem; }
.empty-state p { max-width: 58ch; margin-bottom: 22px; }
.empty-state > div { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 7px; margin-top: 38px; }
.pagination button {
  min-width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(21,22,19,.16);
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  font-weight: 760;
  cursor: pointer;
}
.pagination button:hover { border-color: var(--ink); background: var(--white); }
.pagination button[aria-current="page"] { border-color: var(--ink); background: var(--ink); color: var(--white); }
.pagination button:disabled { opacity: .35; cursor: default; }

/* Featured merchandising */
.featured-collections { background: #f7f4ed; }
.merchandising-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  grid-auto-rows: minmax(280px, auto);
  gap: 18px;
  margin-top: 50px;
}
.merch-card {
  position: relative;
  min-height: 280px;
  overflow: hidden;
  padding: 0;
  border: 0;
  border-radius: 16px;
  background: var(--ink);
  color: var(--white);
  text-align: left;
  cursor: pointer;
}
.merch-card-large { grid-row: span 2; }
.merch-card-wide { grid-column: 2 / -1; }
.merch-card > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 620ms var(--ease); }
.merch-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.02) 15%, rgba(0,0,0,.86) 100%); }
.merch-card > span { position: absolute; z-index: 2; top: 18px; right: 18px; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: var(--yellow); color: var(--ink); font-size: .68rem; font-weight: 850; }
.merch-card > div { position: absolute; z-index: 2; left: 24px; right: 24px; bottom: 22px; }
.merch-card small { color: var(--yellow); font-size: .66rem; font-weight: 820; letter-spacing: .11em; text-transform: uppercase; }
.merch-card h3 { max-width: 12ch; margin: 8px 0 10px; font-size: clamp(1.55rem, 2.7vw, 3.2rem); }
.merch-card p { max-width: 48ch; color: rgba(255,255,255,.7); font-size: .79rem; }
.merch-card em { display: inline-flex; align-items: center; gap: 8px; font-style: normal; font-size: .75rem; font-weight: 800; }
.merch-card:hover > img { transform: scale(1.045); }
.merch-card:hover em .icon { transform: translateX(5px); }
.merch-card em .icon { transition: transform 200ms var(--ease); }

/* Popular starting points */
.popular-products { background: var(--paper); }
.popular-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 48px; }
.popular-card { overflow: hidden; border: 1px solid rgba(21,22,19,.11); border-radius: 15px; background: #fbfaf6; transition: transform 220ms var(--ease), box-shadow 220ms var(--ease); }
.popular-card:hover { transform: translateY(-4px); box-shadow: 0 18px 36px rgba(20,22,18,.09); }
.popular-card > a { display: block; height: 205px; background: #e8e5dd; }
.popular-card img { width: 100%; height: 100%; object-fit: contain; padding: 15px; }
.popular-card > div { padding: 18px; }
.popular-card p { margin: 0 0 5px; color: #777b72; font-size: .62rem; font-weight: 820; letter-spacing: .1em; text-transform: uppercase; }
.popular-card h3 { margin-bottom: 8px; font-size: 1.4rem; }
.popular-card span { display: block; margin-bottom: 17px; color: #666b62; font-size: .72rem; }
.popular-card .text-link { font-size: .72rem; }

/* Brand story */
.shop-brand-story { padding: clamp(92px, 9vw, 150px) 0; background: #151613; color: var(--white); }
.shop-brand-story-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.shop-brand-story figure { height: 620px; margin: 0; overflow: hidden; border-radius: 2px 2px 26px 26px; }
.shop-brand-story figure img { width: 100%; height: 100%; object-fit: cover; }
.shop-brand-story h2 { max-width: 10ch; margin-bottom: 24px; }
.shop-brand-story p { color: rgba(255,255,255,.68); font-size: 1.05rem; }
.shop-brand-story ul { display: grid; gap: 12px; margin: 30px 0 34px; padding: 0; list-style: none; }
.shop-brand-story li { position: relative; padding-left: 28px; color: rgba(255,255,255,.84); font-size: .9rem; }
.shop-brand-story li::before { content: ""; position: absolute; left: 0; top: .45em; width: 10px; height: 10px; border-radius: 50%; background: var(--yellow); }
.shop-brand-story div > div:last-child { display: flex; flex-wrap: wrap; gap: 10px; }

/* Trust */
.shop-trust { background: #f7f4ed; }
.shop-trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.shop-trust-grid article { min-height: 260px; padding: 28px 25px; border-right: 1px solid var(--line); }
.shop-trust-grid article:last-child { border-right: 0; }
.shop-trust-grid span { display: grid; place-items: center; width: 34px; height: 34px; margin-bottom: 38px; border-radius: 50%; background: var(--yellow); font-size: .67rem; font-weight: 850; }
.shop-trust-grid h3 { margin-bottom: 14px; font-size: 1.55rem; }
.shop-trust-grid p { margin: 0; font-size: .8rem; }

/* Newsletter */
.shop-newsletter { background: var(--yellow); }
.newsletter-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 8vw, 120px); align-items: center; }
.newsletter-grid h2 { max-width: 10ch; margin-bottom: 20px; }
.newsletter-grid > div > p:last-child { max-width: 48ch; color: rgba(21,22,19,.68); }
.newsletter-fields { display: grid; grid-template-columns: 1.2fr .8fr; gap: 12px; }
.newsletter-fields label { display: grid; gap: 7px; }
.newsletter-fields span { font-size: .68rem; font-weight: 820; letter-spacing: .07em; text-transform: uppercase; }
.newsletter-fields input,
.newsletter-fields select { width: 100%; min-height: 56px; padding: 0 14px; border: 1px solid rgba(21,22,19,.28); border-radius: 8px; background: rgba(255,255,255,.65); color: var(--ink); outline: 0; }
.newsletter-fields input:focus,
.newsletter-fields select:focus { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(21,22,19,.13); }
.consent { display: flex; gap: 9px; align-items: start; margin: 14px 0 20px; font-size: .74rem; }
.consent input { margin-top: 3px; accent-color: var(--ink); }
.newsletter-submit { display: flex; align-items: center; gap: 18px; }
.newsletter-submit p { margin: 0; color: rgba(21,22,19,.75); font-size: .74rem; }

/* Compare tray */
.compare-tray {
  position: fixed;
  z-index: 1000;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  width: min(calc(100% - 40px), 720px);
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  padding: 12px 13px 12px 18px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 999px;
  background: rgba(17,18,15,.95);
  color: var(--white);
  box-shadow: 0 18px 50px rgba(0,0,0,.28);
  backdrop-filter: blur(14px);
}
.compare-tray > div { display: flex; align-items: center; gap: 12px; min-width: 0; }
.compare-tray span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .78rem; font-weight: 700; }
.compare-tray > div button { border: 0; background: transparent; color: rgba(255,255,255,.62); font-size: .7rem; cursor: pointer; }
.compare-tray .button { min-height: 42px; }

/* Dialogs */
.shop-dialog,
.side-dialog {
  padding: 0;
  border: 0;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 30px 90px rgba(0,0,0,.3);
}
.shop-dialog::backdrop,
.side-dialog::backdrop { background: rgba(12,13,11,.68); backdrop-filter: blur(4px); }
.shop-dialog { width: min(calc(100% - 40px), 1060px); max-height: min(90vh, 900px); overflow: auto; border-radius: 22px; }
.dialog-close { position: sticky; z-index: 5; top: 18px; float: right; margin: 18px 18px 0 0; background: rgba(247,244,237,.94); }
.quick-view-dialog [data-quick-view-content] { clear: both; padding: 20px 42px 46px; }
.quick-view-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.quick-view-media { min-height: 460px; display: grid; place-items: center; overflow: hidden; border-radius: 16px; background: #e8e5dd; }
.quick-view-media img { width: 100%; height: 100%; max-height: 520px; object-fit: contain; padding: 24px; }
.quick-view-copy h2 { margin-bottom: 10px; font-size: clamp(2.6rem, 5vw, 5rem); }
.quick-view-copy .product-model { margin-bottom: 11px; }
.quick-view-copy > p:not(.eyebrow):not(.product-model) { font-size: 1rem; }
.quick-view-specs { display: grid; grid-template-columns: repeat(2, 1fr); margin: 26px 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.quick-view-specs div { padding: 14px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.quick-view-specs dt { margin-bottom: 5px; color: #777b72; font-size: .64rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.quick-view-specs dd { margin: 0; font-weight: 760; }
.quick-view-actions { display: flex; flex-wrap: wrap; gap: 9px; }
.quick-view-note { margin: 18px 0 0; padding: 12px 14px; border-left: 3px solid var(--yellow); background: #ece7dc; color: #5d6259; font-size: .76rem; }
.quote-dialog { width: min(calc(100% - 40px), 1120px); }
.quote-dialog-grid { clear: both; display: grid; grid-template-columns: .82fr 1.18fr; gap: 50px; padding: 18px 44px 48px; }
.quote-dialog-copy { padding-right: 34px; border-right: 1px solid var(--line); }
.quote-dialog-copy h2 { max-width: 9ch; font-size: clamp(2.6rem, 4.5vw, 4.8rem); }
.quote-product-summary { display: grid; gap: 8px; margin-top: 30px; }
.quote-product-summary article { display: flex; gap: 12px; align-items: center; padding: 10px; border: 1px solid var(--line); border-radius: 10px; background: rgba(255,255,255,.5); }
.quote-product-summary img { width: 64px; height: 54px; object-fit: contain; }
.quote-product-summary span { display: grid; gap: 3px; }
.quote-product-summary strong { font-size: .78rem; }
.quote-product-summary small { color: #757a71; font-size: .66rem; }
.compare-dialog { width: min(calc(100% - 40px), 1240px); }
.compare-dialog-head { clear: both; padding: 10px 44px 26px; }
.compare-dialog-head h2 { max-width: 12ch; }
.compare-table-wrap { padding: 0 44px 48px; overflow: auto; }
.compare-table { width: 100%; min-width: 760px; border-collapse: collapse; background: #fbfaf6; }
.compare-table th,
.compare-table td { padding: 15px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.compare-table thead th { background: var(--ink); color: var(--white); }
.compare-table thead img { width: 145px; height: 110px; margin-bottom: 12px; object-fit: contain; background: #ece8df; border-radius: 8px; }
.compare-table tbody th { width: 160px; background: #ece8df; font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; }
.compare-table td { font-size: .82rem; }
.compare-empty { padding: 50px 0; text-align: center; }
.side-dialog {
  width: min(92vw, 520px);
  max-width: 520px;
  height: 100vh;
  max-height: 100vh;
  margin: 0 0 0 auto;
  border-radius: 0;
}
.side-dialog[open] { animation: drawerIn 300ms var(--ease) both; }
@keyframes drawerIn { from { transform: translateX(100%); } to { transform: translateX(0); } }
.side-dialog-head { display: flex; justify-content: space-between; gap: 20px; align-items: start; padding: 26px; border-bottom: 1px solid var(--line); }
.side-dialog-head h2 { margin: 0; font-size: 2.5rem; }
.side-dialog-head .eyebrow { margin-bottom: 10px; }
.cart-intro { margin: 0; padding: 18px 26px; border-bottom: 1px solid var(--line); background: #ece8df; font-size: .76rem; }
.cart-items { display: grid; gap: 0; max-height: calc(100vh - 330px); overflow: auto; }
.cart-item { display: grid; grid-template-columns: 88px 1fr auto; gap: 13px; align-items: center; padding: 16px 26px; border-bottom: 1px solid var(--line); }
.cart-item img { width: 88px; height: 72px; object-fit: contain; background: #e8e5dd; border-radius: 8px; }
.cart-item-copy { display: grid; gap: 4px; }
.cart-item-copy strong { font-size: .82rem; }
.cart-item-copy span { color: #72776e; font-size: .68rem; }
.cart-item-qty { display: inline-flex; align-items: center; gap: 4px; margin-top: 5px; }
.cart-item-qty button { width: 28px; height: 28px; border: 1px solid var(--line); border-radius: 50%; background: transparent; cursor: pointer; }
.cart-item-qty output { min-width: 22px; text-align: center; font-size: .75rem; font-weight: 800; }
.cart-remove { width: 34px; height: 34px; display: grid; place-items: center; border: 0; background: transparent; color: #757a71; cursor: pointer; }
.cart-remove:hover { color: #b42318; }
.cart-empty { display: grid; justify-items: center; padding: 60px 32px; text-align: center; }
.cart-empty > .icon { width: 46px; height: 46px; margin-bottom: 18px; color: #8b8f87; }
.cart-empty h3 { margin-bottom: 8px; }
.cart-empty p { max-width: 34ch; }
.cart-dialog-footer { position: absolute; left: 0; right: 0; bottom: 0; display: grid; gap: 9px; padding: 18px 26px 22px; border-top: 1px solid var(--line); background: var(--paper); }

/* Mobile shop action bar */
.mobile-shop-bar { display: none; }

/* Shared reveal state for standalone shop sections. */
.js [data-reveal] { opacity: 0; transform: translateY(20px); transition: opacity 650ms var(--ease), transform 650ms var(--ease); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }

@media (max-width: 1280px) {
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .collection-grid { grid-template-columns: 1.1fr 1fr; }
  .collection-card:last-child { grid-column: auto; }
  .collection-card-featured { grid-row: span 2; }
  .merchandising-grid { grid-template-columns: 1.15fr 1fr; }
  .merch-card-wide { grid-column: auto; }
  .popular-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1100px) {
  .shop-breadcrumbs { padding-top: 18px; }
  .shop-hero-grid { grid-template-columns: 1fr; }
  .shop-hero-copy h1 { max-width: 10.5ch; }
  .shop-hero-visual { min-height: 520px; }
  .collection-grid { grid-template-columns: 1fr 1fr; }
  .collection-card-featured { grid-row: auto; }
  .catalogue-heading { grid-template-columns: 1fr; gap: 24px; }
  .catalogue-heading h2 { max-width: 12ch; }
  .shop-toolbar { top: 10px; grid-template-columns: 1fr; }
  .toolbar-actions { justify-content: space-between; }
  .filter-open-button { display: inline-flex; }
  .catalogue-layout { grid-template-columns: 1fr; }
  .filter-panel {
    position: fixed;
    z-index: 1600;
    inset: 0 0 0 auto;
    width: min(92vw, 440px);
    max-height: 100vh;
    border-radius: 0;
    transform: translateX(105%);
    transition: transform 300ms var(--ease);
  }
  .filter-panel.is-open { transform: translateX(0); }
  .filter-close-button { display: grid; }
  .filter-content { max-height: calc(100vh - 154px); overflow: auto; }
  .filter-panel-footer { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 13px 20px 18px; border-top: 1px solid var(--line); background: #f8f6f0; }
  .filter-backdrop { position: fixed; z-index: 1500; inset: 0; background: rgba(10,11,9,.62); }
  .shop-brand-story-grid { grid-template-columns: 1fr; }
  .shop-brand-story figure { height: 540px; }
  .shop-trust-grid { grid-template-columns: 1fr 1fr; }
  .shop-trust-grid article:nth-child(2) { border-right: 0; }
  .shop-trust-grid article:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .newsletter-grid { grid-template-columns: 1fr; }
  .quote-dialog-grid { grid-template-columns: 1fr; }
  .quote-dialog-copy { padding-right: 0; border-right: 0; border-bottom: 1px solid var(--line); padding-bottom: 28px; }
}

@media (max-width: 820px) {
  .shop-hero { padding-top: 36px; }
  .shop-hero-proof { grid-template-columns: 1fr; gap: 12px; }
  .shop-hero-proof span { grid-template-columns: auto 1fr; align-items: baseline; gap: 10px; }
  .shop-hero-visual { min-height: 440px; }
  .collection-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 280px; }
  .collection-card h3 { font-size: 2rem; }
  .shop-toolbar { position: relative; top: auto; }
  .toolbar-actions { flex-wrap: wrap; }
  .sort-control { flex: 1 1 220px; justify-content: space-between; }
  .sort-control select { max-width: 100%; flex: 1; }
  .results-summary { align-items: flex-start; flex-direction: column; gap: 8px; }
  .product-grid { grid-template-columns: 1fr 1fr; }
  .product-card-media { height: 230px; }
  .product-specs { grid-template-columns: 1fr; border-left: 1px solid var(--line); }
  .product-specs div { display: grid; grid-template-columns: 92px 1fr; gap: 10px; padding: 10px 11px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .product-specs div:first-child { padding-left: 11px; }
  .product-specs div:last-child { padding-right: 11px; border-bottom: 0; }
  .product-specs dt { margin: 0; }
  .merchandising-grid { grid-template-columns: 1fr 1fr; }
  .merch-card-large { grid-row: auto; }
  .popular-grid { grid-template-columns: 1fr 1fr; }
  .shop-brand-story figure { height: 450px; }
  .newsletter-fields { grid-template-columns: 1fr; }
  .newsletter-submit { align-items: flex-start; flex-direction: column; }
  .quick-view-grid { grid-template-columns: 1fr; }
  .quick-view-media { min-height: 360px; }
  .quick-view-dialog [data-quick-view-content],
  .quote-dialog-grid,
  .compare-dialog-head,
  .compare-table-wrap { padding-left: 24px; padding-right: 24px; }
}

@media (max-width: 560px) {
  body.shop-page { padding-bottom: 72px; }
  .shop-breadcrumbs { width: calc(100% - 40px); overflow: hidden; }
  .shop-breadcrumbs ol { width: max-content; }
  .shop-hero { padding: 28px 0 64px; }
  .shop-hero-copy h1 { font-size: clamp(3rem, 14vw, 4.2rem); }
  .shop-hero-actions { display: grid; padding-bottom: 62px; }
  .shop-hero-actions .button { width: 100%; }
  .shop-hero-visual { min-height: 340px; border-radius: 2px 2px 20px 20px; }
  .shop-hero-visual figcaption { left: 12px; right: 12px; bottom: 12px; }
  .collection-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 245px; gap: 10px; }
  .collection-card > div { left: 15px; right: 15px; bottom: 14px; }
  .collection-card p { display: none; }
  .collection-card h3 { max-width: 10ch; font-size: 1.45rem; }
  .collection-card em { font-size: .66rem; }
  .collection-count { top: 10px; right: 10px; padding: 6px 8px; font-size: .58rem; }
  .catalogue-heading { margin-bottom: 30px; }
  .shop-toolbar { margin-inline: -4px; padding: 9px; }
  .catalogue-search { height: 50px; }
  .toolbar-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .toolbar-button { justify-content: center; }
  .sort-control { grid-column: 1 / -1; }
  .active-filter-row { align-items: flex-start; flex-direction: column; }
  .product-grid { grid-template-columns: 1fr; }
  .product-card-media { height: 275px; }
  .product-description { min-height: 0; }
  .product-card-actions { grid-template-columns: 1fr; }
  .product-card-actions .button { min-height: 50px; }
  .merchandising-grid { grid-template-columns: 1fr; grid-auto-rows: 280px; }
  .merch-card-wide { grid-column: auto; }
  .popular-grid { grid-template-columns: 1fr; }
  .shop-brand-story figure { height: 360px; }
  .shop-brand-story h2 { font-size: 2.8rem; }
  .shop-trust-grid { grid-template-columns: 1fr; }
  .shop-trust-grid article { min-height: 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .shop-trust-grid article:last-child { border-bottom: 0; }
  .shop-trust-grid span { margin-bottom: 24px; }
  .newsletter-submit .button { width: 100%; }
  .compare-tray { bottom: 82px; border-radius: 16px; }
  .compare-tray > div { align-items: flex-start; flex-direction: column; gap: 2px; }
  .compare-tray .button { padding-inline: 14px; }
  .shop-dialog { width: calc(100% - 18px); max-height: 94vh; border-radius: 16px; }
  .quick-view-dialog [data-quick-view-content],
  .quote-dialog-grid,
  .compare-dialog-head,
  .compare-table-wrap { padding-left: 17px; padding-right: 17px; }
  .quick-view-media { min-height: 270px; }
  .quick-view-copy h2 { font-size: 2.8rem; }
  .quick-view-specs { grid-template-columns: 1fr; }
  .quote-dialog-copy h2 { font-size: 2.8rem; }
  .side-dialog { width: 100vw; max-width: none; }
  .mobile-shop-bar {
    position: fixed;
    z-index: 1400;
    left: 0;
    right: 0;
    bottom: 0;
    display: grid;
    grid-template-columns: 1fr 1.15fr 1fr;
    min-height: 66px;
    transform: translateY(105%);
    transition: transform 260ms var(--ease);
    border-top: 1px solid rgba(255,255,255,.15);
    background: #11120f;
    color: var(--white);
    box-shadow: 0 -12px 32px rgba(0,0,0,.18);
  }
  .mobile-shop-bar.is-visible { transform: translateY(0); }
  .mobile-shop-bar button {
    position: relative;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 3px;
    border: 0;
    border-right: 1px solid rgba(255,255,255,.12);
    background: transparent;
    color: rgba(255,255,255,.78);
    font-size: .67rem;
    font-weight: 760;
    cursor: pointer;
  }
  .mobile-shop-bar button:last-child { border-right: 0; }
  .mobile-shop-bar .is-primary { background: var(--yellow); color: var(--ink); }
  .mobile-shop-bar .icon { width: 18px; height: 18px; }
  .mobile-shop-bar strong { position: absolute; top: 6px; right: 14%; min-width: 18px; height: 18px; display: grid; place-items: center; border-radius: 50%; background: var(--white); color: var(--ink); font-size: .59rem; }
}

@media (prefers-reduced-motion: reduce) {
  .shop-product-card,
  .collection-card,
  .collection-card img,
  .merch-card img,
  .popular-card,
  .compare-tray,
  .filter-panel,
  .side-dialog[open] { transition: none !important; animation: none !important; }
}


/* Content-rich catalogue update */
.collection-grid {
  grid-template-columns: 1.15fr 1fr 1fr;
  grid-template-rows: repeat(2, minmax(280px, 1fr));
}
.collection-card-featured { grid-row: 1 / span 2; }
.collection-card:last-child { grid-column: auto; }
.product-image-button,
.product-heading-row h3 button,
.product-details-link,
.popular-media-button,
.popular-know-more {
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.product-image-button { display: block; width: 100%; height: 100%; padding: 0; }
.popular-media-button { display: block; width: 100%; height: 205px; padding: 0; background: #e8e5dd; }
.popular-know-more { display: inline-flex; align-items: center; gap: 10px; padding: 0 0 5px; border-bottom: 1px solid currentColor; font-size: .72rem; font-weight: 750; }
.product-heading-row h3 button:hover,
.product-details-link:hover { color: #000; }
.product-commerce-state.is-request-cart span { background: var(--yellow); }
.product-commerce-state.is-quote-only span { background: #777b72; }
.product-details-link { display: inline-flex; align-items: center; gap: 8px; width: fit-content; padding: 0 0 4px; border-bottom: 1px solid currentColor; font-size: .76rem; font-weight: 800; }

.product-detail-dialog {
  width: min(calc(100% - 32px), 1240px);
  max-height: 94vh;
  padding: 0;
  overflow: auto;
  border-radius: 22px;
  background: #f7f4ed;
}
.product-detail-dialog [data-quick-view-content] { clear: both; padding: 0; }
.product-detail-dialog .dialog-close { position: sticky; top: 14px; float: right; margin: 14px 14px -62px 0; z-index: 5; background: rgba(247,244,237,.94); backdrop-filter: blur(12px); }
.product-detail-shell { min-height: 100%; min-width: 0; }
.product-detail-hero > *,
.product-detail-section,
.product-detail-section > *,
.detail-overview > *,
.detail-application-grid > *,
.detail-buying-grid > *,
.detail-universal-grid > * { min-width: 0; }
.product-detail-hero { display: grid; grid-template-columns: 1.02fr .98fr; min-height: 650px; background: var(--paper); }
.product-detail-media { min-height: 650px; display: grid; place-items: center; margin: 0; background: #e8e5dd; }
.product-detail-media img { width: 100%; height: 100%; max-height: 650px; object-fit: contain; padding: clamp(28px, 5vw, 72px); }
.product-detail-intro { display: flex; flex-direction: column; justify-content: center; padding: clamp(46px, 6vw, 86px); }
.product-detail-intro h2 { max-width: 10ch; margin-bottom: 20px; font-size: clamp(3rem, 5.4vw, 6rem); }
.detail-lead { max-width: 52ch; font-size: 1.08rem; line-height: 1.62; }
.detail-key-specs { display: grid; grid-template-columns: repeat(2, 1fr); margin: 26px 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.detail-key-specs div { padding: 14px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.detail-key-specs dt { margin-bottom: 4px; color: #777b72; font-size: .64rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.detail-key-specs dd { margin: 0; font-weight: 800; }
.product-detail-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.detail-commerce-note { margin: 18px 0 0; padding: 12px 14px; border-left: 3px solid var(--yellow); background: #ece7dc; color: #5d6259; font-size: .76rem; }
.product-detail-nav { position: sticky; top: 0; z-index: 4; display: flex; gap: 8px; padding: 12px clamp(20px, 4vw, 54px); overflow-x: auto; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(247,244,237,.96); backdrop-filter: blur(14px); }
.product-detail-nav a { flex: 0 0 auto; padding: 9px 13px; border-radius: 999px; font-size: .72rem; font-weight: 800; }
.product-detail-nav a:hover { background: var(--yellow); }
.product-detail-section { padding: clamp(58px, 7vw, 96px) clamp(24px, 6vw, 84px); border-bottom: 1px solid var(--line); }
.detail-overview,
.detail-application-grid,
.detail-buying-grid,
.detail-universal-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(34px, 6vw, 84px); }
.product-detail-section h3 { max-width: 13ch; margin-bottom: 22px; font-size: clamp(2.2rem, 4vw, 4.2rem); }
.product-detail-section p { max-width: 68ch; }
.detail-kicker { margin: 0 0 16px; color: #777b72; font-size: .68rem; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
.detail-list { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.detail-list li { position: relative; padding: 13px 0 13px 24px; border-bottom: 1px solid var(--line); color: #555a51; }
.detail-list li::before { content: ''; position: absolute; left: 0; top: 20px; width: 8px; height: 8px; border-radius: 50%; background: var(--yellow); }
.detail-section-heading { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: end; margin-bottom: 34px; }
.detail-section-heading h3 { margin-bottom: 0; }
.detail-table-wrap { width: 100%; max-width: 100%; min-width: 0; overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; background: var(--white); }
.detail-spec-table,
.detail-comparison-table { width: 100%; border-collapse: collapse; min-width: 650px; }
.detail-spec-table caption,
.detail-comparison-table caption { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.detail-spec-table th,
.detail-spec-table td,
.detail-comparison-table th,
.detail-comparison-table td { padding: 14px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.detail-spec-table th { width: 34%; color: #6f746b; font-size: .74rem; text-transform: uppercase; letter-spacing: .06em; }
.detail-spec-table td { font-weight: 720; }
.detail-comparison-table thead th { background: var(--ink); color: var(--white); }
.detail-comparison-table thead th:first-child { color: var(--yellow); }
.detail-comparison-table thead small { display: block; margin-top: 4px; color: rgba(255,255,255,.6); font-weight: 500; }
.detail-comparison-table tbody th { background: #efebe2; font-size: .74rem; }
.detail-assurance { display: grid; grid-template-columns: 1.35fr .65fr; gap: 50px; background: var(--ink); color: var(--white); }
.detail-assurance p { color: rgba(255,255,255,.66); }
.detail-assurance .detail-kicker { color: var(--yellow); }
.detail-assurance > div:last-child { display: grid; grid-template-columns: auto 1fr; align-content: center; gap: 12px 16px; }
.detail-assurance span { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 50%; background: var(--yellow); color: var(--ink); font-size: .74rem; font-weight: 850; }
.detail-assurance strong { align-self: center; }
.detail-faq-list { border-top: 1px solid var(--line); }
.detail-faq-list details { border-bottom: 1px solid var(--line); }
.detail-faq-list summary { display: flex; justify-content: space-between; gap: 18px; padding: 20px 0; font-weight: 780; cursor: pointer; list-style: none; }
.detail-faq-list summary::-webkit-details-marker { display: none; }
.detail-faq-list summary span { transition: transform 180ms var(--ease); }
.detail-faq-list details[open] summary span { transform: rotate(45deg); }
.detail-faq-list details > div { padding: 0 0 22px; }
.detail-faq-list details p { margin: 0; }
.detail-answer-grid { display: grid; gap: 12px; }
.detail-answer-grid article { padding: 18px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); }
.detail-answer-grid strong { display: block; margin-bottom: 8px; }
.detail-answer-grid p { margin: 0; font-size: .86rem; }
.detail-related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.detail-related-grid article { overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: var(--white); }
.detail-related-grid img { width: 100%; height: 190px; object-fit: contain; padding: 18px; background: #e8e5dd; }
.detail-related-grid article > div { padding: 16px; }
.detail-related-grid small { color: #777b72; font-size: .68rem; font-weight: 800; }
.detail-related-grid h4 { margin: 4px 0 7px; font-size: 1.15rem; }
.detail-related-grid p { margin-bottom: 14px; font-size: .78rem; }
.detail-related-grid button { padding: 0 0 4px; border: 0; border-bottom: 1px solid currentColor; background: transparent; font: inherit; font-size: .74rem; font-weight: 800; cursor: pointer; }
.product-detail-cta { display: flex; justify-content: space-between; gap: 30px; align-items: center; padding: clamp(44px, 6vw, 72px) clamp(24px, 6vw, 84px); background: var(--yellow); }
.product-detail-cta h3 { max-width: 16ch; margin: 0; font-size: clamp(2rem, 4vw, 4rem); }
.product-detail-cta > div:last-child { display: flex; flex-wrap: wrap; gap: 10px; }
.product-detail-cta .button-primary { background: var(--ink); color: var(--white); box-shadow: none; }
.product-detail-cta .button-outline { border-color: var(--ink); }

@media (max-width: 1100px) {
  .collection-grid { grid-template-columns: 1fr 1fr; grid-template-rows: none; }
  .collection-card-featured { grid-row: auto; }
  .product-detail-hero { grid-template-columns: 1fr; }
  .product-detail-media { min-height: 480px; }
  .detail-overview,
  .detail-application-grid,
  .detail-buying-grid,
  .detail-universal-grid,
  .detail-assurance { grid-template-columns: 1fr; }
  .detail-related-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .collection-grid { grid-template-columns: 1fr 1fr; }
  .product-detail-dialog { width: calc(100% - 12px); max-height: 96vh; border-radius: 14px; }
  .product-detail-dialog .dialog-close { top: 8px; margin: 8px 8px -54px 0; }
  .product-detail-media { min-height: 300px; }
  .product-detail-intro { padding: 38px 18px 44px; }
  .product-detail-intro h2 { font-size: 2.9rem; }
  .detail-key-specs { grid-template-columns: 1fr; }
  .product-detail-actions { display: grid; }
  .product-detail-actions .button { width: 100%; }
  .product-detail-section { padding: 52px 18px; }
  .detail-section-heading { grid-template-columns: 1fr; }
  .detail-related-grid { grid-template-columns: 1fr; }
  .product-detail-cta { align-items: stretch; flex-direction: column; padding: 44px 18px; }
  .product-detail-cta > div:last-child { display: grid; }
  .product-detail-cta .button { width: 100%; }
}

/* Engineered systems extension */
.nav-link.is-current::after { transform: scaleX(1); }
.engineered-hero .shop-hero-copy h1 { max-width: 9.8ch; }
.engineered-hero .shop-hero-visual > img { object-fit: cover; }
.engineering-input-strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #ebe7de; }
.engineering-input-strip .shell { min-height: 82px; display: flex; align-items: center; gap: 10px; overflow-x: auto; scrollbar-width: none; }
.engineering-input-strip .shell::-webkit-scrollbar { display: none; }
.engineering-input-strip p { flex: 0 0 auto; margin: 0 14px 0 0; color: var(--ink); font-size: .72rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.engineering-input-strip span { flex: 0 0 auto; padding: 10px 14px; border: 1px solid rgba(21,22,19,.15); border-radius: 999px; background: rgba(255,255,255,.55); font-size: .76rem; font-weight: 750; }
.engineered-family-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 270px; }
.engineered-family-grid .collection-card:nth-child(1),
.engineered-family-grid .collection-card:nth-child(9) { grid-column: span 2; }
.collection-card button { position: absolute; inset: 0; z-index: 3; width: 100%; border: 0; background: transparent; cursor: pointer; }
.collection-card:focus-within { outline: 3px solid #1976d2; outline-offset: 4px; }
.collection-card .collection-count { color: var(--yellow); }
.collection-card-featured::before { content: 'Featured'; position: absolute; z-index: 3; top: 18px; right: 18px; padding: 7px 10px; border-radius: 999px; background: var(--yellow); color: var(--ink); font-size: .62rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.engineered-collections { padding-top: 0; }
.engineered-collections .merch-card { min-height: 410px; }
.engineered-story { background: #171815; }
.engineered-story .brand-story-points { align-content: center; }
.catalogue-data-note { max-width: 780px; margin: 24px 0 0; padding: 15px 18px; border-left: 3px solid var(--yellow); background: #eae6dd; color: #595e55; font-size: .82rem; }
.engineered-product-card .product-card-media { background: #e9e6de; }
.engineered-product-card .product-card-media img { object-fit: contain; padding: 18px; }
.engineered-product-card .product-mode { max-width: 130px; text-align: right; }
.engineered-card-links { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; }
.engineered-card-links button { border: 0; background: transparent; color: var(--ink); cursor: pointer; }
.engineered-card-links button:last-child { color: #676c63; }
.request-mode-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; align-content: center; }
.request-mode-cards button { min-height: 180px; display: grid; align-content: space-between; gap: 12px; padding: 24px; border: 1px solid rgba(255,255,255,.18); border-radius: 16px; background: rgba(255,255,255,.06); color: var(--white); text-align: left; cursor: pointer; transition: transform 220ms var(--ease), border-color 220ms var(--ease), background 220ms var(--ease); }
.request-mode-cards button:hover { transform: translateY(-4px); border-color: var(--yellow); background: rgba(255,196,0,.08); }
.request-mode-cards span { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: var(--yellow); color: var(--ink); font-size: .72rem; font-weight: 850; }
.request-mode-cards strong { font-size: 1.2rem; }
.request-mode-cards small { color: rgba(255,255,255,.62); line-height: 1.45; }
.engineering-request-section { background: #171815; }
.engineering-request-section .contact-story h2 { max-width: 10ch; }
.engineering-request-section .contact-story p { color: rgba(255,255,255,.68); }

/* Product detail experience */
.product-detail-dialog { width: min(calc(100% - 28px), 1360px); max-height: 94vh; overflow: auto; padding: 0; border: 0; border-radius: 22px; background: var(--paper); box-shadow: 0 34px 100px rgba(0,0,0,.32); }
.product-detail-dialog::backdrop, .request-dialog::backdrop, .compare-dialog::backdrop { background: rgba(9,10,8,.72); backdrop-filter: blur(4px); }
.product-detail-dialog .dialog-close { position: sticky; top: 14px; float: right; z-index: 20; margin: 14px 14px -60px 0; background: rgba(247,244,237,.94); backdrop-filter: blur(12px); }
.product-detail-shell { clear: both; min-width: 0; }
.product-detail-hero { display: grid; grid-template-columns: 1fr 1fr; min-height: 650px; background: var(--paper); }
.product-detail-media { min-height: 650px; display: grid; place-items: center; margin: 0; overflow: hidden; background: #e7e4dc; }
.product-detail-media img { width: 100%; height: 100%; max-height: 650px; object-fit: contain; padding: clamp(28px,5vw,72px); }
.product-detail-intro { display: flex; flex-direction: column; justify-content: center; padding: clamp(48px,6vw,86px); min-width: 0; }
.product-detail-intro h2 { max-width: 10ch; margin-bottom: 22px; font-size: clamp(3rem,5vw,5.7rem); }
.detail-status { width: fit-content; margin: 0 0 20px; padding: 7px 11px; border-radius: 999px; background: #e7e1d5; color: #60655d; font-size: .68rem; font-weight: 850; letter-spacing: .07em; text-transform: uppercase; }
.detail-facts { display: grid; grid-template-columns: repeat(3,1fr); margin: 28px 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.detail-facts span { display: grid; gap: 5px; padding: 14px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.detail-facts small { color: #777b72; font-size: .62rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.detail-facts strong { line-height: 1.3; }
.detail-page-link { margin-top: 18px; }
.product-detail-nav { position: sticky; top: 0; z-index: 8; display: flex; gap: 8px; padding: 12px clamp(20px,4vw,54px); overflow-x: auto; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(247,244,237,.96); backdrop-filter: blur(14px); }
.product-detail-nav a { flex: 0 0 auto; padding: 9px 13px; border-radius: 999px; font-size: .72rem; font-weight: 800; }
.product-detail-nav a:hover { background: var(--yellow); }
.product-detail-section { padding: clamp(58px,7vw,96px) clamp(24px,6vw,84px); border-bottom: 1px solid var(--line); }
.product-detail-section h3 { max-width: 14ch; margin-bottom: 24px; font-size: clamp(2.25rem,4vw,4.2rem); }
.product-detail-section h4 { margin: 0 0 14px; font-size: 1.15rem; letter-spacing: -.02em; }
.product-detail-section .lead { max-width: 72ch; }
.detail-alt { background: #ebe7de; }
.detail-two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px,6vw,78px); margin-top: 36px; }
.detail-list { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.detail-list li { position: relative; padding: 13px 0 13px 24px; border-bottom: 1px solid var(--line); color: #555a51; }
.detail-list li::before { content: ''; position: absolute; left: 0; top: 20px; width: 8px; height: 8px; border-radius: 50%; background: var(--yellow); }
.numbered-list { counter-reset: rfq; }
.numbered-list li { counter-increment: rfq; padding-left: 38px; }
.numbered-list li::before { content: counter(rfq, decimal-leading-zero); top: 13px; width: auto; height: auto; background: none; color: #767b72; font-size: .68rem; font-weight: 850; }
.detail-table-wrap, .compare-table-wrap { width: 100%; max-width: 100%; overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; background: var(--white); }
.detail-spec-table, .compare-table { width: 100%; min-width: 680px; border-collapse: collapse; }
.detail-spec-table th, .detail-spec-table td, .compare-table th, .compare-table td { padding: 14px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.detail-spec-table th { width: 34%; color: #6f746b; font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; }
.detail-spec-table td { font-weight: 720; }
.compare-table thead th { background: var(--ink); color: var(--white); }
.compare-table thead th:first-child { color: var(--yellow); }
.related-system-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin-top: 26px; }
.related-system-card { min-height: 88px; display: grid; grid-template-columns: 86px 1fr; align-items: center; gap: 14px; padding: 10px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); text-align: left; cursor: pointer; }
.related-system-card img { width: 86px; height: 68px; object-fit: contain; }
.related-system-card span { display: grid; gap: 4px; }
.related-system-card small { color: #767b72; font-size: .64rem; font-weight: 800; }
.related-system-card strong { line-height: 1.2; }
.detail-faq-list { border-top: 1px solid var(--line); }
.detail-faq-list details { border-bottom: 1px solid var(--line); }
.detail-faq-list summary { display: flex; justify-content: space-between; gap: 18px; padding: 20px 0; font-weight: 780; cursor: pointer; list-style: none; }
.detail-faq-list summary::-webkit-details-marker { display: none; }
.detail-faq-list details[open] summary span { transform: rotate(45deg); }
.detail-faq-list details p { margin: 0; padding: 0 0 22px; }
.aeo-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin-top: 34px; }
.aeo-grid article { padding: 20px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); }
.aeo-grid h4 { margin-bottom: 10px; font-size: 1rem; }
.aeo-grid p { margin: 0; font-size: .84rem; }
.detail-brand { background: var(--ink); color: var(--white); }
.detail-brand .eyebrow { color: var(--yellow); }
.detail-brand p { color: rgba(255,255,255,.72); }
.product-detail-cta { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: clamp(44px,6vw,72px) clamp(24px,6vw,84px); background: var(--yellow); }
.product-detail-cta h3 { max-width: 16ch; margin: 0; font-size: clamp(2rem,4vw,4rem); }
.product-detail-cta > div:last-child { display: flex; flex-wrap: wrap; gap: 10px; }
.product-detail-cta .button-primary { background: var(--ink); color: var(--white); box-shadow: none; }
.product-detail-cta .button-outline { border-color: var(--ink); }

/* Comparison and request dialogs */
.request-dialog { width: min(calc(100% - 36px),1120px); max-height: 92vh; padding: 0; border: 0; border-radius: 20px; background: var(--paper); box-shadow: 0 34px 100px rgba(0,0,0,.32); }
.request-dialog .dialog-close, .compare-dialog .dialog-close { position: sticky; top: 14px; float: right; z-index: 10; margin: 14px 14px -58px 0; background: var(--paper); }
.compare-dialog { width: min(calc(100% - 36px),1240px); max-height: 92vh; overflow: auto; padding: 0 0 42px; border: 0; border-radius: 20px; background: var(--paper); box-shadow: 0 34px 100px rgba(0,0,0,.32); }
.quote-product-summary { display: grid; gap: 8px; margin-top: 24px; }
.quote-product-summary span { display: block; padding: 10px 12px; border: 1px solid var(--line); border-radius: 9px; background: rgba(255,255,255,.5); font-size: .78rem; font-weight: 750; }
.compare-dialog .compare-table-wrap { margin: 0 44px; width: calc(100% - 88px); }
.compare-table-wrap .remove-compare { border: 0; border-bottom: 1px solid currentColor; background: transparent; font: inherit; font-size: .72rem; font-weight: 800; cursor: pointer; }
.toast { position: fixed; z-index: 1900; right: 22px; bottom: 24px; max-width: 360px; padding: 14px 18px; border-radius: 12px; background: var(--ink); color: var(--white); box-shadow: var(--shadow); opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity 180ms var(--ease), transform 180ms var(--ease); }
.toast.is-visible { opacity: 1; transform: translateY(0); }
.placeholder-page { min-height: 65vh; display: grid; align-items: center; padding: 100px 0; }
.placeholder-page h1 { max-width: 12ch; }

@media (max-width: 1100px) {
  .engineered-family-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .engineered-family-grid .collection-card:nth-child(1), .engineered-family-grid .collection-card:nth-child(9) { grid-column: span 1; }
  .request-mode-cards { grid-template-columns: 1fr; }
  .product-detail-hero { grid-template-columns: 1fr; }
  .product-detail-media { min-height: 480px; }
  .detail-two-col { grid-template-columns: 1fr; }
  .related-system-grid, .aeo-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .engineering-input-strip .shell { width: 100%; padding-inline: 20px; }
  .engineered-family-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 250px; }
  .engineered-card-links { align-items: flex-start; flex-direction: column; }
  .product-detail-dialog { width: calc(100% - 12px); max-height: 96vh; border-radius: 14px; }
  .product-detail-dialog .dialog-close { top: 8px; margin: 8px 8px -54px 0; }
  .product-detail-media { min-height: 300px; }
  .product-detail-intro { padding: 38px 18px 44px; }
  .product-detail-intro h2 { font-size: 2.9rem; }
  .detail-facts { grid-template-columns: 1fr; }
  .product-detail-actions { display: grid; }
  .product-detail-actions .button { width: 100%; }
  .product-detail-section { padding: 52px 18px; }
  .related-system-grid, .aeo-grid { grid-template-columns: 1fr; }
  .product-detail-cta { align-items: stretch; flex-direction: column; padding: 44px 18px; }
  .product-detail-cta > div:last-child { display: grid; }
  .product-detail-cta .button { width: 100%; }
  .compare-dialog .compare-table-wrap { margin: 0 18px; width: calc(100% - 36px); }
}
@media (max-width: 540px) {
  .engineered-family-grid { grid-template-columns: 1fr; grid-auto-rows: 270px; }
  .request-mode-cards button { min-height: 150px; }
}
body.dialog-open, body.filter-open { overflow: hidden; }

/* Main engineered-system detail dialog content hook */
.product-detail-dialog [data-system-detail-content] { clear: both; padding: 0; }
.product-detail-dialog .detail-status { margin: 0 0 14px; color: #777b72; font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.product-detail-dialog .detail-page-link { margin-top: 22px; }
.product-detail-dialog .related-system-card { border: 1px solid var(--line); background: var(--white); cursor: pointer; text-align: left; }
.compare-table th small { display: block; margin-top: 5px; color: var(--muted); font-size: .68rem; font-weight: 600; }
@media (max-width: 760px) {
  .mobile-action-bar button {
    display: grid;
    place-items: center;
    align-content: center;
    gap: 3px;
    min-width: 0;
    padding: 0 8px;
    border: 0;
    border-right: 1px solid rgba(255,255,255,.13);
    background: transparent;
    color: inherit;
    font: inherit;
    font-size: .66rem;
    font-weight: 750;
    cursor: pointer;
  }
  .mobile-action-bar button:last-child { border-right: 0; }
  .mobile-action-bar button.is-primary { background: var(--yellow); color: var(--ink); font-size: .78rem; }
}

/* Product-page H1 and mobile engineering action bar */
.product-detail-intro h1 { max-width: 10ch; margin-bottom: 22px; font-size: clamp(3rem,5vw,5.7rem); line-height: .98; letter-spacing: -.045em; }
@media (max-width: 760px) {
  .mobile-action-bar { grid-template-columns: repeat(3, minmax(0, 1fr)); background: var(--ink); color: var(--white); }
  .mobile-action-bar button { background: var(--ink); color: var(--white); }
  .mobile-action-bar button.is-primary { background: var(--yellow); color: var(--ink); }
  .product-detail-intro h1 { font-size: 2.9rem; }
}
.quote-product-summary article span {
  display: grid;
  gap: 3px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  font-weight: inherit;
}
.engineered-story .brand-story-points { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1px; margin: 30px 0 34px; border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.16); }
.engineered-story .brand-story-points span { display: grid; gap: 6px; min-height: 112px; align-content: center; padding: 18px; background: #171815; color: rgba(255,255,255,.68); font-size: .78rem; }
.engineered-story .brand-story-points strong { color: var(--white); font-size: .95rem; }
@media (max-width: 620px) {
  .engineered-story .brand-story-points { grid-template-columns: 1fr; }
  .engineered-story .brand-story-points span { min-height: 84px; }
}
