/* Shop extends the marketing site's existing paper, ink, coral, type and wrap tokens. */
.shop-page .site-header { position: relative; border-bottom: 1px solid var(--line); }
.shop-page .site-menu [aria-current], .shop-page .shop-nav-active { color: var(--ink); text-decoration: underline; text-underline-offset: 6px; }
.shop-page :where(a,button,input,select,summary):focus-visible { outline: 3px solid #b7422d; outline-offset: 5px; }
.shop-page [hidden] { display: none !important; }
.shop-page button, .shop-page input, .shop-page select { font: inherit; }
.shop-page .menu-button { min-width: 44px; min-height: 44px; }
.shop-page .section-label { color: #ae412e; }
.shop-page h1, .shop-page h2, .shop-page h3 { text-wrap: balance; }
.shop-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; padding-block: 54px 72px; }
.shop-hero h1 { font-size: clamp(3.5rem,6.3vw,6rem); line-height: .98; letter-spacing: -.065em; margin: 0; }
.shop-hero h1 em { font-family: ui-serif,Georgia,serif; font-weight: 500; color: #b74733; }
.shop-hero-copy > p:not(.section-label) { max-width: 390px; color: var(--ink-soft); font-size: 18px; line-height: 1.65; margin: 26px 0; }
.hero-footnote { display: block; margin-top: 22px; color: var(--ink-soft); font-size: 11px; }
.hero-editorial { position: relative; display: block; border-radius: 28px; overflow: hidden; color: white; background: var(--ink); aspect-ratio: 1 / 1.12; text-decoration: none; }
.hero-editorial > img { width: 100%; height: 100%; object-fit: cover; }
.hero-editorial::after { content: ''; position: absolute; inset: 45% 0 0; background: linear-gradient(transparent,rgba(9,17,30,.8)); }
.hero-editorial > div { position: absolute; z-index: 1; bottom: 32px; left: 30px; right: 30px; }
.hero-editorial > div > span { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 9px; }
.hero-editorial strong { display: flex; justify-content: space-between; font-size: 24px; letter-spacing: -.03em; }
.collections-section { padding-block: 70px 78px; background: var(--paper-2); border-block: 1px solid var(--line); scroll-margin-top: 24px; }
.shop-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 28px; margin-bottom: 32px; }
.shop-section-heading h2 { font-size: clamp(2rem,3.5vw,3.2rem); letter-spacing: -.055em; line-height: 1.05; margin: 0; }
.shop-section-heading .section-label { margin-bottom: 14px; }
.shop-section-heading > p { color: var(--ink-soft); font-size: 14px; margin: 0; }
.collection-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 16px; }
.collection-card { position: relative; isolation: isolate; aspect-ratio: 2 / 3.2; overflow: hidden; background: var(--ink); color: white; text-decoration: none; border-radius: 8px; }
.collection-photo { width: 100%; height: 100%; object-fit: cover; transition: transform .65s cubic-bezier(.2,.65,.3,1); }
.collection-card::after { content: ''; position: absolute; z-index: 0; inset: 25% 0 0; background: linear-gradient(180deg,transparent 15%,rgba(10,18,31,.25) 45%,rgba(10,18,31,.88) 100%); pointer-events: none; }
.collection-caption { position: absolute; inset: auto 22px 26px; z-index: 1; }
.collection-caption h3 { margin: 0 0 22px; max-width: 240px; text-transform: uppercase; font-size: clamp(1.5rem,2.2vw,2rem); letter-spacing: -.025em; line-height: 1.07; font-weight: 800; }
.collection-button { display: inline-flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 44px; padding: 11px 15px; border: 1px solid white; color: white; font-size: 11px; font-weight: 750; letter-spacing: .055em; text-transform: uppercase; transition: background-color .25s,color .25s; }
.collection-card:focus-visible .collection-photo { transform: scale(1.045); }
.collection-card:focus-visible .collection-button { background: white; color: var(--ink); }
@media (hover:hover) { .collection-card:hover .collection-photo { transform: scale(1.045); } .collection-card:hover .collection-button { background: white; color: var(--ink); } }
.collection-art { position: absolute; inset: 0; padding: 34px 28px; background: #26374c; }
.collection-art > img { width: 80%; height: auto; opacity: .65; margin: 12px auto 30px; }
.collection-note { display: block; margin-bottom: 12px; color: #ffd5b3; text-transform: uppercase; letter-spacing: .1em; font-size: 10px; font-weight: 750; }
.featured-section, .all-products-section, .related-section { padding-block: 80px 0; }
.all-products-section { padding-bottom: 80px; scroll-margin-top: 24px; }
.product-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 34px 20px; }
.product-card { min-width: 0; }
.product-link { display: block; text-decoration: none; }
.product-media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 10px; background: #eeeae3; }
.product-preview { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2,.65,.3,1); }
.product-card-copy { padding: 17px 20px 0 0; position: relative; }
.product-category { font-size: 10px; letter-spacing: .07em; text-transform: uppercase; color: var(--ink-soft); margin: 0 0 9px; }
.product-card h3 { font-size: 16px; line-height: 1.35; letter-spacing: -.025em; margin: 0; text-wrap: initial; }
.product-link h3 { text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 4px; transition: text-decoration-color .2s; }
.product-link:focus-visible h3 { text-decoration-color: currentColor; }
.product-price { font-size: 13px; margin: 10px 0 0; }
.product-price > span, .detail-price > span { color: var(--ink-soft); font-size: 10px; margin-left: 3px; }
.product-arrow { position: absolute; right: 0; top: 17px; color: var(--ink-soft); }
.collection-nav { display: flex; flex-wrap: wrap; gap: 8px; margin: 36px 0 24px; }
.collection-nav a { border: 1px solid var(--line); border-radius: 999px; padding: 12px 17px; font-size: 12px; text-decoration: none; font-weight: 650; }
.collection-nav a[aria-current], .collection-nav a:hover { background: var(--ink); color: var(--cream); }
.shop-filters { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.1fr auto; align-items: end; gap: 14px; padding-block: 24px; border-block: 1px solid var(--line); }
.shop-filters label { display: flex; flex-direction: column; gap: 9px; color: var(--ink-soft); font-size: 11px; font-weight: 650; min-width: 0; }
.shop-filters :is(input,select) { min-width: 0; width: 100%; min-height: 44px; padding: 10px 11px; border: 1px solid var(--line); border-radius: 6px; color: var(--ink); background: var(--paper-2); font-size: 13px; }
.filter-reset { border: 0; background: none; cursor: pointer; text-decoration: underline; color: var(--ink-soft); min-height: 44px; font-size: 12px !important; }
.result-count { margin: 20px 0; font-size: 12px; color: var(--ink-soft); }
.empty-results { padding: 60px 20px; text-align: center; border: 1px solid var(--line); border-radius: 12px; }
.empty-results h3 { font-size: 28px; letter-spacing: -.04em; margin: 0; }
.empty-results p { color: var(--ink-soft); line-height: 1.6; }
.outline { border: 1px solid var(--ink); background: transparent; color: var(--ink); cursor: pointer; }
.shop-service { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; padding: 36px 0; border-top: 1px solid var(--line); }
.shop-service strong { font-size: 14px; }
.shop-service p { color: var(--ink-soft); font-size: 13px; line-height: 1.7; max-width: 450px; margin: 9px 0 0; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 12px; font-size: 12px; color: var(--ink-soft); margin-bottom: 32px; }
.breadcrumbs a { text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }
.collection-page, .product-page { padding-block: 32px 80px; }
.collection-heading { max-width: 700px; padding-block: 30px 10px; }
.collection-heading h1 { font-size: clamp(3rem,6vw,5.7rem); line-height: 1; letter-spacing: -.06em; margin: 0; }
.collection-heading > p:last-child { color: var(--ink-soft); font-size: 18px; line-height: 1.65; margin: 24px 0 0; }
.collection-empty { text-align: center; padding: 60px 20px 20px; max-width: 560px; margin: auto; }
.collection-empty > img { margin: 0 auto 28px; }
.collection-empty h2 { font-size: 38px; line-height: 1.05; letter-spacing: -.05em; }
.collection-empty > p:not(.section-label) { color: var(--ink-soft); line-height: 1.7; }
.collection-empty .button { margin-top: 16px; }
.product-detail { display: grid; grid-template-columns: 1.12fr 1fr; gap: 70px; align-items: start; }
.product-gallery { min-width: 0; }
.gallery-stage { position: relative; aspect-ratio: 1; border-radius: 16px; overflow: hidden; background: #f3f0ea; }
.gallery-main { display: block; width: 100%; height: 100%; object-fit: contain; }
.image-entering { position: absolute; inset: 0; }
.gallery-thumbnails { display: flex; overflow-x: auto; gap: 10px; margin: 15px 0 0; padding: 6px 5px 12px; }
.gallery-single { visibility: hidden; }
.gallery-thumbnail { flex: 0 0 72px; width: 72px; height: 78px; padding: 2px; border: 1px solid var(--line); border-radius: 6px; background: var(--paper-2); cursor: pointer; }
.gallery-thumbnail[aria-pressed="true"] { border: 2px solid var(--ink); }
.gallery-thumbnail img { width: 100%; height: 100%; object-fit: cover; border-radius: 3px; }
.image-caption { color: var(--ink-soft); font-size: 11px; line-height: 1.5; margin-top: 8px; }
.product-info { padding-top: 8px; min-width: 0; }
.product-info h1 { margin: 0; font-size: clamp(2.4rem,4vw,3.7rem); line-height: 1.02; letter-spacing: -.055em; }
.detail-price { font-size: 22px; margin: 23px 0; }
.product-intro { font-family: ui-serif,Georgia,serif; font-size: 23px; line-height: 1.45; }
.variant-summary { border-top: 1px solid var(--line); margin: 27px 0; padding-top: 22px; }
.variant-summary h2 { font-size: 13px; letter-spacing: 0; margin: 0 0 14px; }
.variant-summary p { font-size: 13px; line-height: 1.7; margin: 7px 0; }
.fine-print, .purchase-note, .catalog-date { color: var(--ink-soft); font-size: 12px !important; line-height: 1.65; }
.purchase-button { width: 100%; box-shadow: none !important; }
.purchase-note { margin: 15px 0 28px; }
.product-accordions details { border-top: 1px solid var(--line); }
.product-accordions details:last-child { border-bottom: 1px solid var(--line); }
.product-accordions summary { display: flex; justify-content: space-between; gap: 12px; align-items: center; min-height: 60px; cursor: pointer; list-style: none; font-size: 14px; font-weight: 700; }
.product-accordions summary::-webkit-details-marker { display: none; }
.product-accordions details[open] summary > span { transform: rotate(45deg); }
.product-accordions :is(p,ul) { font-size: 14px; color: var(--ink-soft); line-height: 1.7; }
.product-accordions li { padding-left: 3px; margin-block: 7px; }
.catalog-date { margin-top: 22px; font-size: 10px !important; }
.related-section { padding-block: 0 80px; }
@media (min-width: 981px) { .shop-page .site-menu { gap: 24px; } }
@media (max-width: 980px) {
  .collection-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; }
  .collection-card { aspect-ratio: 3 / 4; }
  .collection-caption h3 { font-size: 32px; }
  .shop-hero { gap: 30px; }
  .product-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .shop-filters { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .filter-reset { justify-self: start; }
  .product-detail { gap: 32px; }
}
@media (max-width: 760px) {
  .shop-page .site-header { padding-block: 20px; }
  .shop-hero { grid-template-columns: 1fr; padding-block: 38px 44px; gap: 32px; }
  .shop-hero h1 { font-size: clamp(3.6rem,13vw,5.5rem); }
  .shop-hero h1 em br { display: none; }
  .shop-hero-copy > p:not(.section-label) { margin-block: 22px; font-size: 16px; max-width: 470px; }
  .hero-editorial { aspect-ratio: 1.1; border-radius: 18px; }
  .hero-editorial > div { left: 24px; right: 24px; bottom: 24px; }
  .hero-footnote { margin-top: 16px; }
  .collections-section { padding-block: 44px; }
  .shop-section-heading { flex-direction: column; align-items: start; gap: 18px; margin-bottom: 26px; }
  .featured-section, .all-products-section { padding-top: 50px; }
  .all-products-section { padding-bottom: 50px; }
  .product-grid { gap: 30px 14px; }
  .product-card h3 { font-size: 15px; }
  .product-card-copy { padding-right: 0; }
  .product-arrow { display: none; }
  .shop-service { grid-template-columns: 1fr; gap: 24px; }
  .product-detail { grid-template-columns: 1fr; }
  .product-info { padding-top: 6px; }
  .product-page, .collection-page { padding-bottom: 50px; }
  .related-section { padding-bottom: 50px; }
}
@media (max-width: 600px) {
  .collection-grid { grid-template-columns: 1fr; }
  .collection-card { aspect-ratio: 4 / 5; }
  .collection-caption { inset: auto 26px 30px; }
  .collection-caption h3 { font-size: 35px; max-width: 300px; }
  .collection-art > img { width: 55%; }
  .shop-filters { gap: 16px 10px; }
  .search-field { grid-column: 1 / -1; }
  .collection-nav a { padding-inline: 13px; }
  .shop-filters input { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .shop-page .collection-photo, .shop-page .collection-button { transition: none; }
  .shop-page .collection-card:is(:hover,:focus-visible) .collection-photo { transform: none; }
  .shop-page .button:hover { transform: none; }
}
/* The brand mark approached the caption at the 320px breakpoint. */
@media (max-width: 360px) {
  .collection-art > img { width: 45%; }
}

/* Restrained interaction refinements, scoped to the approved shop design. */
.shop-page .visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
/* Reserve enhanced controls before JS initializes, so hydration cannot shift cards. */
.shop-page [data-colors][hidden] { display: block !important; visibility: hidden; }
.shop-page .gallery-thumbnails[hidden] { display: flex !important; visibility: hidden; }
.color-selector { min-width: 0; padding: 0; border: 0; margin: 12px 0 0; }
.color-selector legend { padding: 0; color: var(--ink-soft); font-size: 11px; line-height: 1.5; }
.color-swatches { display: flex; flex-wrap: wrap; gap: 2px; margin-top: 5px; }
.color-swatch { position: relative; display: grid; place-items: center; width: 32px; height: 36px; cursor: pointer; }
.color-swatch input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.color-swatch > span { width: 18px; height: 18px; border-radius: 50%; background: var(--swatch); box-shadow: inset 0 0 0 1px #17243a29; pointer-events: none; position: relative; }
.color-swatch > span::after { content: ''; position: absolute; inset: -5px; border: 1px solid var(--ink); border-radius: 50%; opacity: 0; transform: scale(.85); transition: transform .2s ease-out, opacity .2s; }
.color-swatch input:checked + span::after { opacity: 1; transform: scale(1); }
.color-swatch input:focus-visible { outline: none; }
.color-swatch input:focus-visible + span { outline: 3px solid #b7422d; outline-offset: 8px; }
.product-info .color-selector { margin: 0 0 20px; }
.product-info .color-selector legend { font-size: 13px; color: var(--ink); }
.product-info .color-swatch { width: 44px; height: 44px; }
.product-info .color-swatch > span { width: 24px; height: 24px; }
.shop-page .site-menu a:not(.nav-download) { position: relative; text-decoration: none; }
.shop-page .site-menu a:not(.nav-download)::after { content: ''; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .24s ease-out; }
.shop-page .site-menu :is([aria-current],.shop-nav-active):not(.nav-download)::after,
.shop-page .site-menu a:focus-visible::after { transform: scaleX(1); }
.shop-page :is(.button,.collection-nav a,.gallery-thumbnail,.filter-reset,.text-link,.breadcrumbs a,.footer-links a) { transition: background-color .2s, color .2s, border-color .2s, transform .2s; }
.shop-page .text-link { text-decoration: none; }
.shop-page .button:active { transform: translateY(0); }
.product-accordions summary > span { transition: transform .2s ease-out; }
.product-link:focus-visible .product-preview { transform: scale(1.025); }
@media (hover:hover) {
  .product-link:hover .product-preview { transform: scale(1.025); }
  .product-link:hover h3 { text-decoration-color: currentColor; }
  .shop-page .site-menu a:hover::after { transform: scaleX(1); }
  .shop-page .primary:hover { background-color: #2a3d58; }
  .shop-page .text-link:hover { border-color: var(--ink); }
  .gallery-thumbnail:hover { border-color: var(--ink); }
  .filter-reset:hover, .shop-page .footer-links a:hover { color: var(--ink); }
}
@media (hover:none) { .shop-page .button:hover { transform: none; } }
@media (max-width:760px) { .shop-page .site-menu a:not(.nav-download)::after { left: 14px; right: 14px; bottom: 8px; } }
@media (prefers-reduced-motion: reduce) {
  .shop-page *, .shop-page *::before, .shop-page *::after { scroll-behavior: auto; transition: none !important; animation: none !important; }
  .shop-page .product-link:is(:hover,:focus-visible) .product-preview { transform: none; }
}
/* A linked color decodes into the existing stage without flashing another color. */
.color-initializing :is([data-image-stage] img,.gallery-thumbnails,.color-selector,[data-display-price],[data-color-sizes]) { visibility: hidden; }
