/* Shop and product pages extend the approved homepage's typography and components. */
:root { --shop-dark: #21241e; --shop-paper: #f6f6f3; }
[data-hero="final"] .shop-header { position: relative; top: auto; background: var(--shop-dark); color: white; border-bottom: 1px solid #ffffff26; }
.shop-header .nav-left > a[aria-current] { text-decoration: underline; text-underline-offset: 7px; }
.shop-eyebrow { font-size: 11px; line-height: 1.5; letter-spacing: 1.5px; text-transform: uppercase; }
.breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0; padding: 28px var(--gutter); list-style: none; font-size: 12px; color: var(--muted); }
.breadcrumbs li + li::before { content: "/"; margin-right: 10px; color: #aaa99e; }
.breadcrumbs a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.catalog-intro { padding: 55px var(--gutter) 65px; display: flex; align-items: flex-end; justify-content: space-between; gap: 60px; }
.catalog-intro h1 { margin-top: 14px; font-size: clamp(40px, 4.3vw, 72px); line-height: 1.1; letter-spacing: -.055em; }
.catalog-intro > p { max-width: 365px; font-size: 15px; line-height: 1.9; color: #666660; padding-bottom: 4px; }
.catalog-tabs { display: flex; gap: 35px; padding: 0 var(--gutter); border-bottom: 1px solid var(--line); overflow-x: auto; }
.catalog-tabs a { flex-shrink: 0; padding: 18px 0; font-size: 14px; border-bottom: 2px solid transparent; }
.catalog-tabs a[aria-current="page"] { border-color: var(--ink); }
.catalog-tabs a:hover { color: #7a6e57; }
.catalog-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 27px var(--gutter); }
.catalog-toolbar p { font-size: 13px; color: var(--muted); }
.sort-control { display: flex; gap: 12px; align-items: center; font-size: 12px; }
.sort-control label { color: var(--muted); }
select { font: inherit; color: inherit; border: 0; border-radius: 0; background: transparent; padding: 10px 24px 10px 0; cursor: pointer; }
.catalog-layout { display: grid; grid-template-columns: 205px minmax(0, 1fr); gap: 50px; padding: 0 var(--gutter) 90px; align-items: start; }
.filter-sidebar { position: sticky; top: 24px; }
.filter-heading { display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; font-size: 15px; }
.text-button { border: 0; padding: 8px 0; background: none; text-decoration: underline; text-underline-offset: 4px; font-size: 12px; color: var(--muted); }
.filter-group { margin: 0; padding: 22px 0; border: 0; border-top: 1px solid var(--line); }
.filter-group summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; font-size: 14px; }
.filter-group summary::-webkit-details-marker { display: none; }
.filter-group summary::after { content: "+"; font-size: 18px; }
.filter-group[open] summary::after { content: "−"; }
.filter-options { display: grid; gap: 12px; margin-top: 22px; }
.filter-options label { display: flex; align-items: center; gap: 12px; font-size: 13px; cursor: pointer; min-height: 28px; }
.filter-options input { width: 16px; height: 16px; margin: 0; accent-color: var(--shop-dark); cursor: pointer; }
.filter-options small { margin-left: auto; color: var(--muted); font-size: 11px; }
.filter-colors { grid-template-columns: 1fr 1fr; gap: 9px 12px; }
.filter-colors label { gap: 9px; font-size: 12px; min-height: 35px; }
.filter-colors input { appearance: none; border: 1px solid #00000016; border-radius: 0; width: 17px; height: 17px; background: var(--color); flex-shrink: 0; }
.filter-colors input:checked { outline: 1px solid var(--ink); outline-offset: 4px; }
.filter-colors input:focus-visible { outline: 2px solid #8e539c; outline-offset: 4px; }
.filter-price select { width: 100%; font-size: 13px; border-bottom: 1px solid var(--line); margin-top: 12px; }
.filter-price > label { display: block; margin-top: 20px; color: var(--muted); }
.filter-help { margin-top: 25px; padding: 24px 20px; background: var(--shop-paper); }
.filter-help p { font-size: 14px; margin-bottom: 6px; }
.filter-help a { font-size: 12px; }
.active-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.active-filters:empty { display: none; }
.filter-chip { display: inline-flex; align-items: center; gap: 10px; padding: 7px 12px; min-height: 38px; border: 1px solid var(--line); background: white; font-size: 12px; }
.filter-chip svg { width: 13px; height: 13px; }
.catalog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 20px; }
.shop-card { min-width: 0; }
.shop-card .product-image { aspect-ratio: 1 / 1; position: relative; }
.shop-card .product-info { font-size: 14px; margin-top: 17px; }
.shop-card .product-info a:hover { text-decoration: underline; text-underline-offset: 4px; }
.card-subtitle { margin-top: 5px; font-size: 12px; color: var(--muted); }
.card-colors { display: flex; align-items: center; flex-wrap: wrap; margin: 6px 0 0 -6px; }
.color-button { position: relative; display: inline-grid; place-items: center; width: 31px; height: 36px; padding: 0; border: 0; background: transparent; }
.color-button::after { content: ""; width: 13px; height: 13px; border-radius: 0; background: var(--color); border: 1px solid #00000012; }
.color-button[aria-pressed="true"]::before { content: ""; position: absolute; width: 21px; height: 21px; border: 1px solid #96968d; border-radius: 0; }
.color-button:hover::after { transform: scale(1.1); }
.catalog-end { border-top: 1px solid var(--line); margin-top: 48px; padding-top: 28px; text-align: center; font-size: 13px; color: var(--muted); }
.empty-results { padding: 85px 24px; text-align: center; background: var(--shop-paper); }
.empty-results h2 { font-size: 30px; letter-spacing: -.8px; }
.empty-results p { margin: 15px 0 22px; font-size: 14px; color: var(--muted); }
.shop-button { display: inline-flex; align-items: center; justify-content: space-between; gap: 30px; min-height: 56px; border: 1px solid var(--shop-dark); background: var(--shop-dark); color: white; padding: 14px 23px; font-size: 14px; cursor: pointer; transition: background .2s; }
.shop-button:hover { background: #444c3b; }
.shop-button svg { width: 20px; }
.shop-button-outline { background: transparent; color: var(--ink); }
.shop-button-outline:hover { color: white; }
.mobile-filter-toggle { display: none; }
.filter-dialog { width: min(460px, 100%); height: 100%; max-height: 100%; margin: 0 0 0 auto; border: 0; padding: 26px; color: var(--ink); }
.filter-dialog::backdrop, .image-dialog::backdrop { background: #17171388; }
.dialog-heading { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; }
.dialog-heading h2 { font-size: 24px; letter-spacing: -.6px; }
.filter-done { position: sticky; bottom: -26px; padding: 18px 0; background: white; margin-top: 10px; }
.filter-done button { width: 100%; }
body:has(.filter-dialog[open], .image-dialog[open]) { overflow: hidden; }
.shop-editorial { display: grid; grid-template-columns: 1fr 1fr; background: var(--shop-paper); }
.shop-editorial > img { height: 100%; min-height: 480px; max-height: 660px; object-fit: cover; }
.shop-editorial-copy { padding: 80px clamp(35px, 6.5vw, 125px); display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.shop-editorial h2 { font-size: clamp(32px, 3.3vw, 56px); line-height: 1.16; letter-spacing: -1.8px; margin: 25px 0; }
.shop-editorial-copy > p:not(.shop-eyebrow) { font-size: 15px; line-height: 1.9; color: #666660; max-width: 390px; }
.shop-editorial .underlined-link { margin-top: 24px; }
.collection-directory { padding: 85px var(--gutter) 95px; }
.collection-directory h2 { font-size: 30px; letter-spacing: -.8px; margin-bottom: 35px; }
.collection-directory > div { display: grid; grid-template-columns: repeat(3, 1fr); gap: 35px; }
.collection-directory a { display: flex; align-items: center; gap: 20px; border-top: 1px solid var(--line); padding: 25px 0; }
.collection-directory h3 { font-size: 24px; letter-spacing: -.5px; }
.collection-directory p { font-size: 13px; color: var(--muted); margin-top: 5px; }
.collection-directory svg { margin-left: auto; }
.collection-directory a:hover svg { transform: translateX(5px); }

.product-layout { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(45px, 6vw, 110px); padding: 10px var(--gutter) 95px; align-items: start; }
.product-gallery { min-width: 0; position: sticky; top: 24px; }
.gallery-main { display: block; position: relative; width: 100%; padding: 0; border: 0; background: #f5f5f3; cursor: zoom-in; }
.gallery-main > img { width: 100%; height: auto; aspect-ratio: 1 / 1.06; object-fit: contain; mix-blend-mode: multiply; }
.zoom-label { position: absolute; bottom: 20px; right: 20px; display: flex; align-items: center; gap: 9px; padding: 8px 12px; background: #ffffffda; font-size: 11px; }
.zoom-label svg { width: 17px; height: 17px; }
.gallery-thumbs { display: flex; gap: 10px; margin-top: 14px; }
.gallery-thumbs button { width: 76px; padding: 0; border: 1px solid transparent; background: #f5f5f3; cursor: pointer; }
.gallery-thumbs button[aria-pressed="true"] { border-color: #6f7468; }
.gallery-thumbs img { aspect-ratio: 1 / 1; object-fit: cover; mix-blend-mode: multiply; }
.gallery-caption { margin-top: 14px; font-size: 11px; color: var(--muted); }
.product-summary { padding-top: 25px; max-width: 510px; }
.product-summary .shop-eyebrow { color: #73776a; }
.product-summary h1 { font-size: clamp(35px, 3.6vw, 58px); line-height: 1.15; letter-spacing: -1.9px; margin: 17px 0 10px; }
.product-subtitle { font-size: 14px; color: var(--muted); }
.detail-price { display: flex; gap: 13px; align-items: baseline; margin: 23px 0; font-size: 23px; }
.detail-price small { font-size: 11px; color: var(--muted); }
.product-description { font-size: 15px; line-height: 1.9; color: #60605b; }
.product-color-choice { margin: 28px 0 24px; padding: 0; border: 0; }
.product-color-choice legend { font-size: 13px; margin-bottom: 10px; }
.product-color-choice legend span { color: var(--muted); margin-left: 7px; }
.product-color-choice .color-button { width: 44px; height: 44px; }
.product-color-choice .color-button::after { width: 22px; height: 22px; }
.product-color-choice .color-button[aria-pressed="true"]::before { width: 32px; height: 32px; }
.product-purchase { width: 100%; }
.purchase-note { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 14px; color: #73776a; font-size: 11px; }
.purchase-note svg { width: 16px; height: 16px; }
.product-delivery { padding: 23px 0; margin-top: 24px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); display: grid; gap: 10px; }
.product-delivery p { display: flex; align-items: center; gap: 12px; font-size: 12px; color: #60605b; }
.product-delivery svg { width: 20px; height: 20px; color: #73776a; }
.product-advice { margin-top: 25px; display: flex; align-items: center; gap: 20px; }
.product-advice img { width: 65px; height: 80px; object-fit: cover; object-position: center 20%; }
.product-advice h2 { font-size: 16px; letter-spacing: -.2px; }
.product-advice a { font-size: 12px; }
.product-information { border-top: 1px solid var(--line); margin-top: 36px; }
.product-information details { border-bottom: 1px solid var(--line); }
.product-information summary { list-style: none; padding: 22px 0; display: flex; justify-content: space-between; align-items: center; cursor: pointer; font-size: 14px; }
.product-information summary::-webkit-details-marker { display: none; }
.product-information summary::after { content: "+"; font-size: 20px; }
.product-information details[open] summary::after { content: "−"; }
.product-information details > div { padding-bottom: 25px; font-size: 13px; color: #60605b; line-height: 1.9; }
.product-information p + p { margin-top: 13px; }
.product-information a { text-decoration: underline; text-underline-offset: 4px; }
.product-specs { margin: 0; }
.product-specs > div { display: grid; grid-template-columns: 1fr 1.4fr; gap: 20px; padding: 9px 0; }
.product-specs dt { color: var(--muted); }
.product-specs dd { margin: 0; color: var(--ink); }
.product-sku { font-size: 11px; color: var(--muted); margin-top: 18px; }
.related-products { padding: 95px var(--gutter); }
.related-products .section-heading { padding: 0; margin-bottom: 35px; }
.related-products .section-heading h2 { font-size: 32px; letter-spacing: -.9px; }
.related-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.image-dialog { border: 0; padding: 0; width: min(1000px, calc(100% - 30px)); max-height: 92svh; background: #f5f5f3; color: var(--ink); }
.image-dialog > .icon-button { position: sticky; top: 12px; float: right; margin: 12px; z-index: 1; background: white; }
.image-dialog img { width: 100%; max-height: 80svh; object-fit: contain; mix-blend-mode: multiply; }
.image-dialog p { padding: 14px 25px 22px; font-size: 13px; text-align: center; }
.product-missing { padding: 100px var(--gutter); text-align: center; }
.product-missing h1 { font-size: 40px; }
.product-missing p { margin: 20px 0 30px; }
.shop-noscript { display: block; margin: 30px var(--gutter); padding: 25px; background: var(--shop-paper); }
.shop-noscript a { text-decoration: underline; }

@media (min-width: 1600px) {
  .catalog-layout { grid-template-columns: 230px minmax(0, 1fr); gap: 65px; }
  .catalog-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .product-summary { margin-left: 20px; }
}
@media (max-width: 1100px) {
  .catalog-layout { grid-template-columns: 180px minmax(0, 1fr); gap: 30px; }
  .catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .catalog-intro { gap: 35px; }
  .catalog-intro > p { max-width: 290px; font-size: 14px; }
  .product-layout { gap: 35px; }
  .product-summary { padding-top: 10px; }
  .related-grid { gap: 15px; }
  .shop-card .product-info { font-size: 13px; }
}
@media (max-width: 900px) {
  .catalog-layout { display: block; }
  .filter-sidebar { display: none; }
  .catalog-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .mobile-filter-toggle { display: inline-flex; align-items: center; gap: 10px; padding: 10px 0; border: 0; background: none; font-size: 13px; }
  .mobile-filter-toggle svg { width: 18px; }
  .catalog-toolbar { flex-wrap: wrap; padding-top: 18px; padding-bottom: 18px; gap: 8px 18px; }
  .catalog-toolbar > p { margin-right: auto; }
  .sort-control label { display: none; }
  .product-layout { grid-template-columns: 1fr 1fr; gap: 28px; }
  .product-summary h1 { font-size: 36px; }
  .product-description { font-size: 14px; }
  .shop-editorial-copy { padding: 45px 35px; }
  .shop-editorial > img { min-height: 430px; }
  .collection-directory > div { gap: 20px; }
}
@media (max-width: 650px) {
  .breadcrumbs { padding: 20px var(--gutter); font-size: 11px; }
  .catalog-intro { display: block; padding-top: 32px; padding-bottom: 36px; }
  .catalog-intro h1 { font-size: 42px; max-width: 320px; }
  .catalog-intro > p { max-width: 340px; margin-top: 22px; }
  .catalog-tabs { gap: 24px; }
  .catalog-tabs a { font-size: 13px; padding: 15px 0; }
  .catalog-toolbar { padding-top: 12px; padding-bottom: 12px; }
  .catalog-toolbar > p { width: 100%; font-size: 11px; margin-bottom: 0; }
  .sort-control { margin-left: auto; }
  .catalog-layout { padding-bottom: 60px; }
  .catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 12px; }
  .shop-card .product-info { padding: 0; font-size: 12px; gap: 5px; margin-top: 13px; }
  .card-subtitle { font-size: 11px; line-height: 1.6; }
  .card-colors { margin-top: 4px; }
  .card-colors .color-button { width: 28px; height: 35px; }
  .catalog-end { font-size: 12px; margin-top: 35px; }
  .shop-editorial { grid-template-columns: 1fr; }
  .shop-editorial > img { min-height: 0; height: 340px; }
  .shop-editorial-copy { padding: 48px var(--gutter) 55px; }
  .shop-editorial h2 { font-size: 38px; letter-spacing: -1.2px; margin: 18px 0 23px; }
  .shop-editorial-copy > p:not(.shop-eyebrow) { font-size: 14px; }
  .collection-directory { padding-top: 55px; padding-bottom: 45px; }
  .collection-directory > div { grid-template-columns: 1fr; gap: 0; }
  .collection-directory h2 { font-size: 27px; margin-bottom: 25px; }
  .collection-directory h3 { font-size: 23px; }
  .collection-directory a { padding: 22px 0; }
  .product-layout { grid-template-columns: 1fr; padding: 0 0 60px; gap: 25px; }
  .product-gallery { position: static; }
  .gallery-main > img { aspect-ratio: 1 / 1; }
  .gallery-thumbs, .gallery-caption { margin-left: var(--gutter); margin-right: var(--gutter); }
  .gallery-thumbs button { width: 60px; }
  .product-summary { padding: 10px var(--gutter) 0; max-width: none; }
  .product-summary h1 { font-size: 39px; letter-spacing: -1.4px; }
  .product-summary .shop-eyebrow { font-size: 10px; }
  .product-subtitle { font-size: 13px; }
  .detail-price { margin: 20px 0; }
  .product-color-choice { margin-top: 23px; }
  .product-purchase { min-height: 58px; }
  .product-information { margin-top: 30px; }
  .related-products { padding-top: 55px; padding-bottom: 65px; }
  .related-products .section-heading { align-items: flex-start; }
  .related-products .section-heading h2 { font-size: 27px; max-width: 190px; }
  .related-products .section-heading a { font-size: 12px; white-space: nowrap; }
  .related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .shop-button, .color-button::after { transition: none; }
}
