/* Product catalogue and coordinate detail pages. */
.product-index { scroll-margin-top: 32px; }
.catalog-heading { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin: 22px 0 30px; }
.catalog-heading h2 { font-size: clamp(48px, 7vw, 92px); letter-spacing: -.055em; line-height: 1; margin: 0; }
.catalog-heading h2 span { display: block; margin-top: 20px; font: 13px var(--sans); letter-spacing: .16em; }
.catalog-heading > p { color: #535e58; font: 12px var(--mono); white-space: nowrap; margin: 0; }
.product-filters { display: flex; flex-wrap: wrap; gap: 8px; padding-bottom: 28px; }
.product-filters button { border: 1px solid #cbd1cd; border-radius: 2px; padding: 10px 18px; background: transparent; font-size: 12px; cursor: pointer; min-height: 44px; }
.product-filters button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: white; }
.product-filters button:hover { border-color: var(--ink); }
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 38px 22px; }
.product-card { min-width: 0; }
.product-card[hidden] { display: none !important; }
.product-card > a { display: block; height: 100%; }
.product-card-image { aspect-ratio: 4 / 5; background: #efefeb; overflow: hidden; }
.product-card-image img { height: 100%; width: 100%; object-fit: contain; transition: transform .35s ease; }
.product-card a:hover img { transform: scale(1.025); }
.product-card h3 { font: 13px/1.8 var(--sans); margin: 15px 0 7px; }
.product-image-note { display: block; margin-top: 8px; font-size: 10px; color: #535e58; }
.product-price { font-size: 15px; margin: 0 0 10px; }
.product-price small { font-size: 10px; color: #535e58; margin-left: 4px; }
.product-card-link { display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); padding: 8px 0; font-size: 11px; }
.product-card-link::after { content: "BASE"; color: #6c534b; font: 10px var(--mono); letter-spacing: .08em; margin-left: 12px; }
.product-card > a:focus-visible, .detail-all-products:focus-visible { outline: 2px solid #6c534b; outline-offset: 4px; }
.purchase-note { border-left: 2px solid #6c534b; color: #535e58; font-size: 12px; line-height: 1.8; margin: 22px 0 0; padding: 10px 14px; }
.catalog-footnote { font-size: 11px; color: #535e58; margin: 28px 0 0; }
.detail-header { position: relative; }
.detail-header .detail-nav { display: flex; gap: 24px; font-size: 12px; }
.detail-main { max-width: 1440px; margin: 0 auto; padding: 28px clamp(20px, 5vw, 72px) 72px; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 10px; font-size: 11px; color: #535e58; margin-bottom: 32px; }
.breadcrumbs a { border-bottom: 1px solid #a4ada7; }
.detail-layout { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: clamp(28px, 4vw, 60px); align-items: start; }
.detail-figure { margin: 0; position: sticky; top: 24px; }
.detail-figure img { width: 100%; height: auto; object-fit: contain; }
.detail-figure figcaption { font-size: 11px; line-height: 1.8; color: #535e58; margin-top: 12px; }
.detail-copy .eyebrow { margin: 0 0 16px; color: #535e58; }
.detail-copy h1 { font-size: clamp(40px, 4.8vw, 70px); line-height: 1.05; letter-spacing: -.045em; margin: 0 0 20px; }
.detail-copy h1 em { color: #6c534b; }
.detail-copy .detail-title { font: 500 18px/1.8 var(--sans); margin: 0 0 14px; }
.detail-intro { font-size: 13px; line-height: 2; margin-bottom: 28px; }
.detail-section-title { font: 500 14px var(--sans); margin: 30px 0 16px; padding-top: 22px; border-top: 1px solid var(--line-strong); letter-spacing: .08em; }
.outfit-items { list-style: none; padding: 0; margin: 0; }
.outfit-items li { display: grid; grid-template-columns: 25px 1fr; gap: 12px; border-bottom: 1px solid var(--line); padding: 12px 0; }
.outfit-items .item-number { color: #626b65; font: 11px var(--mono); padding-top: 3px; }
.outfit-items strong { font-size: 13px; font-weight: 500; }
.outfit-items p { font-size: 12px; color: #535e58; margin: 4px 0 0; }
.related-note { font-size: 12px; color: #535e58; }
.detail-products { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 16px; }
.detail-products .product-card h3 { font-size: 12px; }
.match-note { display: block; font-size: 11px; color: #6c534b; padding: 7px 0 0; }
.reference-only { padding: 20px; background: #eceeea; font-size: 13px; line-height: 1.9; }
.look-pagination { margin-top: 55px; padding-top: 24px; border-top: 1px solid var(--line-strong); display: grid; grid-template-columns: 1fr auto 1fr; gap: 18px; font-size: 12px; }
.look-pagination a:last-child { text-align: right; }
.detail-all-products { margin-top: 24px; }
.detail-all-products.button { background: var(--ink); color: white; }
@media (max-width: 1000px) { .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 14px; }
  .detail-layout { grid-template-columns: 1fr; }
  .detail-figure { position: static; }
  .detail-header { padding: 18px 20px; flex-wrap: wrap; gap: 16px; }
  .detail-header .detail-nav { font-size: 11px; gap: 16px; }
  .product-filters button { padding: 9px 12px; }
  .look-pagination { gap: 12px; font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .product-card-image img { transition: none; }
}
