/* Page stylesheet ported from the design (build/pages/collection). */

/* ---- hero ---- */
.chero { position: relative; height: clamp(440px, 70svh, 620px); min-height: 0; max-height: none; overflow: hidden; background: var(--ink); color: var(--bone); display: flex; align-items: flex-end; }
.chero picture, .chero img { position: absolute; inset: 0; width: 100%; height: 100%; }
.chero img { object-fit: cover; object-position: 50% 55%; transform: scale(1.04); will-change: transform; }
.chero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(26,27,29,.55) 0%, rgba(26,27,29,0) 28%, rgba(26,27,29,0) 45%, rgba(26,27,29,.78) 100%), linear-gradient(90deg, rgba(26,27,29,.5) 0%, rgba(26,27,29,0) 60%); pointer-events: none; }
.chero-copy { position: relative; z-index: 2; width: 100%; padding-bottom: clamp(36px, 6vh, 64px); }
.chero-copy > * { max-width: 720px; }
.hero-kicker { font-size: .6875rem; letter-spacing: .3em; text-transform: uppercase; color: rgba(239,237,230,.8); }
.hero-h1 { margin-top: 12px; font-family: var(--font-display); font-weight: 500; font-size: clamp(2.2rem, 1.1rem + 3.2vw, 4.2rem); line-height: 1; text-shadow: 0 2px 30px rgba(0,0,0,.45); }
.hero-sub { margin-top: 18px; max-width: 46ch; font-size: clamp(.9375rem, .9rem + .25vw, 1.0625rem); line-height: 1.55; color: rgba(239,237,230,.88); text-shadow: 0 1px 14px rgba(0,0,0,.45); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.btn--tan { background: var(--accent-deep); border-color: var(--accent-deep); color: var(--bone); }
.btn--tan:hover { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.chero .btn--ghost { color: var(--bone); border-color: rgba(239,237,230,.55); background: rgba(26,27,29,.2); backdrop-filter: blur(6px); }
.chero .btn--ghost:hover { background: var(--bone); color: var(--ink); }
/* ---- category strip ---- */
.cstrip { padding: clamp(40px, 6vw, 72px) 0 clamp(8px, 2vw, 16px); background: var(--bone); color: var(--ink); }
.cstrip .explore-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: clamp(20px, 3vw, 32px); }
.cstrip .explore-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.explore-all { display: inline-flex; align-items: center; gap: 8px; font-size: .8125rem; font-weight: 500; color: var(--accent-deep); white-space: nowrap; }
.explore-all svg { width: 14px; height: 14px; transition: transform .3s var(--ease-out); }
.explore-all:hover svg { transform: translateX(3px); }
.explore-grid { display: grid; gap: 14px; }
.ex-card { display: grid; justify-items: center; text-align: center; gap: 4px; color: var(--ink); }
.ex-media { position: relative; display: block; width: 100%; aspect-ratio: 3 / 2; border-radius: 8px; overflow: hidden; background: var(--ink); margin-bottom: 10px; }
.ex-media img { width: 100%; height: 100%; object-fit: cover; display: block; transform: scale(1.02); transition: transform .9s var(--ease-out); }
.ex-card:hover .ex-media img { transform: scale(1.08); }
.ex-card b { font-weight: 600; font-size: .9375rem; }
.ex-card span:last-child { font-size: .8125rem; color: var(--fg-2); }
/* ---- one section per category ---- */
.cat { padding: clamp(40px, 6vw, 80px) 0; background: var(--bone); color: var(--ink); }
.cat + .cat { padding-top: 0; }
.cat-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: clamp(20px, 3vw, 28px); }
.cat-title { font-size: clamp(1.8rem, 1.2rem + 2vw, 3rem); }
.cat-row { display: grid; gap: 16px; grid-template-columns: 1fr; }
.cat-photo { position: relative; overflow: hidden; border-radius: 14px; background: var(--ink); aspect-ratio: 3 / 2; }
.cat-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.cat-track { --rail-w: calc((100% - 12px) / 2); gap: 12px; }
.wrap:not(.has-overflow) .rail-nav { visibility: hidden; }
@media (min-width: 1024px) { .cat-row { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 20px; align-items: stretch; } .cat-photo { aspect-ratio: auto; min-height: 100%; } .cat-track { --rail-w: calc((100% - 20px) / 2); gap: 20px; min-width: 0; } .cat--single .cat-row { grid-template-columns: minmax(0, 4fr) minmax(0, 3.2fr) minmax(0, 4.8fr); } .cat--single .cat-track { --rail-w: 100%; } }
@media (max-width: 1023px) { .cat-photo-2 { display: none; } .cat--single .cat-track { --rail-w: 100%; } }
@media (min-width: 640px) and (max-width: 1023px) { .cat--single .cat-row { grid-template-columns: 1fr 1fr; } .cat--single .cat-track { --rail-w: 100%; } }
@media (min-width: 1400px) { .cat-track { --rail-w: calc((100% - 40px) / 3); } .cat--two .cat-track { --rail-w: calc((100% - 20px) / 2); } }
/* ---- what is inside ---- */
.cinside { padding: clamp(32px, 5vw, 64px) 0 0; }
.cinside-card { display: grid; gap: 24px; background: #FFFFFF; border-radius: 18px; padding: clamp(22px, 3vw, 44px); }
.cinside-title { font-size: clamp(1.7rem, 1.2rem + 1.6vw, 2.6rem); }
.cinside-copy .explore-sub { margin-top: 14px; max-width: 54ch; }
.cinside-copy .spec { margin-top: 22px; }
.cinside-photo { border-radius: 12px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--ink); }
.cinside-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (min-width: 1024px) { .cinside-card { grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: center; } .cinside-photo { aspect-ratio: 4 / 3; } }
/* ---- which fold / which belt ---- */
.which { padding: clamp(40px, 6vw, 80px) 0 clamp(24px, 4vw, 48px); }
.which-grid { display: grid; gap: 16px; grid-template-columns: 1fr; margin-top: clamp(20px, 3vw, 32px); }
.which-card { position: relative; display: block; aspect-ratio: 4 / 3; border-radius: 14px; overflow: hidden; background: var(--ink); color: var(--bone); }
.which-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); transition: transform .9s var(--ease-out); }
.which-card:hover img { transform: scale(1.07); }
.which-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(26,27,29,0) 45%, rgba(26,27,29,.72) 100%); }
.which-card span { position: absolute; left: 18px; right: 18px; bottom: 16px; z-index: 2; display: grid; gap: 2px; }
.which-card b { font-weight: 700; font-size: 1.1rem; }
.which-card em { font-style: normal; font-size: .8125rem; color: rgba(239,237,230,.82); }
@media (min-width: 640px) { .which-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .which-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
/* ---- all band + cross ---- */
.all-band { padding: clamp(40px, 6vw, 80px) 0; background: var(--ink); color: var(--bone); text-align: center; }
.all-band .explore-title { color: var(--bone); max-width: 20ch; margin: 0 auto; }
.all-band .explore-sub { color: rgba(239,237,230,.78); margin: 14px auto 24px; max-width: 48ch; }
.cross { padding: clamp(40px, 6vw, 80px) 0 0; background: var(--bone); color: var(--ink); }
.cross .cat-head { margin-bottom: clamp(20px, 3vw, 28px); }
.cross .cc-foot { margin-top: 14px; }
@media (max-width: 1023px) { .cstrip .explore-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px) {
  .chero { height: 72svh; min-height: 480px; max-height: 640px; }
  .chero img { object-position: 50% 40%; }
  .chero::after { background: linear-gradient(180deg, rgba(26,27,29,.6) 0%, rgba(26,27,29,.05) 30%, rgba(26,27,29,.15) 48%, rgba(26,27,29,.86) 100%); }
  .chero-copy { padding-bottom: 56px; }
  .hero-ctas .btn { flex: 1 1 auto; justify-content: center; }
  .cstrip .explore-head { flex-direction: column; align-items: flex-start; gap: 10px; }
  .cstrip .explore-grid { gap: 10px; }
  .cat-head { flex-direction: column; align-items: flex-start; }
}


.shop-top { padding: calc(var(--nav-top) + clamp(20px, 3vw, 36px)) 0 0; }
.shop-top--fixed { padding-top: clamp(20px, 3vw, 36px); }
.shop-top--fixed .sh-cats { margin-top: 0; }
.shop-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.shop-head h1 { font-family: var(--font-display); font-weight: 300; font-size: clamp(1.75rem, 1.2rem + 1.6vw, 2.5rem); line-height: 1.1; }
.shop-head p { color: var(--fg-2); font-size: .9375rem; }
/* category circles */
.sh-cats { display: flex; gap: clamp(10px, 1.5vw, 22px); margin-top: clamp(18px, 2.5vw, 28px); overflow-x: auto; scrollbar-width: none; padding: 4px 4px 8px; margin-inline: -4px; scroll-snap-type: x proximity; }
.sh-cats::-webkit-scrollbar { display: none; }
.sh-cat { flex: 0 0 auto; width: clamp(84px, 8vw, 108px); display: grid; justify-items: center; gap: 10px; color: var(--fg); scroll-snap-align: start; }
.sh-cat[hidden] { display: none; }
.sh-cat-ring { width: clamp(68px, 6.4vw, 88px); aspect-ratio: 1; border-radius: 50%; background: var(--surface); border: 1px solid var(--line); display: grid; place-items: center; overflow: hidden; box-shadow: 0 0 0 0 var(--fg); transition: box-shadow .3s ease, border-color .3s ease, transform .4s var(--ease-out); }
.sh-cat-ring img { width: 72%; height: 72%; object-fit: contain; filter: drop-shadow(0 6px 8px rgba(26,27,29,.18)); transition: transform .5s var(--ease-out); }
.sh-cat:hover .sh-cat-ring { border-color: var(--fg); }
.sh-cat:hover .sh-cat-ring img { transform: scale(1.06); }
.sh-cat[aria-selected="true"] .sh-cat-ring { border-color: var(--fg); box-shadow: 0 0 0 2px var(--fg); }
.sh-cat-label { font-size: .75rem; font-weight: 500; letter-spacing: .02em; text-align: center; line-height: 1.3; }
/* pills row */
.sh-bar { position: sticky; top: var(--nav-h); z-index: 30; background: color-mix(in srgb, var(--bg) 94%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); padding: 10px 0; }
.sh-bar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.sh-pills { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.sh-pill { position: relative; }
.sh-pill-btn, .sh-all-btn { min-height: 40px; padding: 0 14px 0 16px; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--surface); display: inline-flex; align-items: center; gap: 8px; font-size: .8125rem; font-weight: 500; color: var(--fg); transition: border-color .3s ease, background-color .3s ease, color .3s ease; white-space: nowrap; }
.sh-pill-btn svg, .sh-all-btn svg { width: 14px; height: 14px; transition: transform .3s ease; }
.sh-pill-btn:hover, .sh-all-btn:hover { border-color: var(--fg); }
.sh-pill-btn[aria-expanded="true"] { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.sh-pill-btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.sh-pill.is-active .sh-pill-btn { border-color: var(--fg); }
.sh-pill-n { font-style: normal; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--accent); color: var(--bone); font-size: .6875rem; display: inline-grid; place-items: center; }
.sh-pill-n[hidden] { display: none; }
.sh-dd { position: absolute; left: 0; top: calc(100% + 8px); z-index: 40; min-width: 260px; background: var(--bg); color: var(--fg); border: 1px solid var(--line); box-shadow: 0 24px 48px rgba(26,27,29,.14); transform-origin: top left; }
.sh-dd[hidden] { display: none; }
.sh-dd-body { padding: 8px 6px; max-height: 60vh; overflow: auto; }
.sh-dd-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 8px 12px 10px; border-top: 1px solid var(--line); }
.sh-check { position: relative; display: flex; align-items: center; gap: 10px; min-height: 40px; padding: 0 12px; border-radius: 6px; cursor: pointer; font-size: .875rem; }
.sh-check:hover { background: rgba(26,27,29,.04); }
.sh-check input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.sh-box { width: 18px; height: 18px; border: 1px solid var(--line-strong); border-radius: 4px; display: grid; place-items: center; flex: 0 0 auto; transition: background-color .2s ease, border-color .2s ease; }
.sh-radio .sh-box { border-radius: 50%; }
.sh-box::after { content: ""; width: 10px; height: 6px; border-left: 2px solid var(--bg); border-bottom: 2px solid var(--bg); transform: rotate(-45deg) translate(1px, -1px); opacity: 0; }
.sh-radio .sh-box::after { width: 8px; height: 8px; border: 0; border-radius: 50%; background: var(--bg); transform: none; }
.sh-check:has(input:checked) .sh-box { background: var(--fg); border-color: var(--fg); }
.sh-check:has(input:checked) .sh-box::after { opacity: 1; }
.sh-check:has(input:focus-visible) { outline: 2px solid var(--focus); outline-offset: -2px; }
.sh-check .sw { width: 16px; height: 16px; border-radius: 50%; background: var(--sw); box-shadow: inset 0 0 0 1px rgba(0,0,0,.18); flex: 0 0 auto; }
.sh-check-label { flex: 1; }
.sh-check em { font-style: normal; font-size: .6875rem; min-width: 22px; height: 20px; padding: 0 6px; border-radius: 999px; background: rgba(26,27,29,.06); display: inline-grid; place-items: center; color: var(--fg-2); }
.sh-check.is-empty { opacity: .45; }
.sh-right { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.sh-right .sh-dd { left: auto; right: 0; transform-origin: top right; }
.sh-count { font-size: .8125rem; color: var(--fg-2); white-space: nowrap; }
/* chips of active filters */
.sh-active { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 18px; }
.sh-active:empty { display: none; }
.sh-chip { display: inline-flex; align-items: center; gap: 8px; min-height: 32px; padding: 0 10px 0 12px; border-radius: 999px; background: var(--fg); color: var(--bg); font-size: .75rem; font-weight: 500; }
.sh-chip svg { width: 12px; height: 12px; }
.sh-clear-all { font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--fg-2); margin-left: 4px; }
.sh-clear-all:hover { color: var(--fg); }
/* drawer */
.sh-drawer-backdrop { position: fixed; inset: 0; z-index: 90; background: rgba(26,27,29,.4); opacity: 0; pointer-events: none; transition: opacity .35s ease; }
.sh-drawer-backdrop.is-open { opacity: 1; pointer-events: auto; }
.sh-drawer { position: fixed; top: 0; left: 0; bottom: 0; z-index: 91; width: min(380px, 92vw); background: var(--bg); color: var(--fg); transform: translateX(-102%); transition: transform .5s var(--ease-out); display: grid; grid-template-rows: auto 1fr auto; box-shadow: 24px 0 48px rgba(26,27,29,.12); }
.sh-drawer.is-open { transform: none; }
.sh-drawer { grid-template-columns: minmax(0, 1fr); overflow: hidden; }
.sh-drawer > * { min-width: 0; }
.sh-drawer-body { overflow-x: hidden; }
@media (max-width: 767px) { .sh-drawer-foot { padding: 12px 14px; gap: 8px; } .sh-drawer-foot .btn { min-width: 0; padding: 0 14px; font-size: .75rem; letter-spacing: .1em; } }
.sh-drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.sh-drawer-head h2 { font-size: 1rem; font-weight: 500; }
.sh-drawer-body { overflow: auto; padding: 8px 14px 24px; }
.sh-drawer-foot { display: flex; gap: 10px; padding: 14px 20px; border-top: 1px solid var(--line); }
.sh-drawer-foot .btn { flex: 1; }
.sh-group { padding: 14px 0 6px; border-bottom: 1px solid var(--line); }
.sh-group summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; padding: 6px; font-weight: 500; font-size: .9375rem; }
.sh-group summary::-webkit-details-marker { display: none; }
.sh-group summary svg { width: 14px; height: 14px; transition: transform .3s ease; }
.sh-group[open] summary svg { transform: rotate(180deg); }
.sh-group-body { padding: 6px 0 8px; }
.sh-swatches { display: grid; grid-template-columns: repeat(auto-fill, minmax(48px, 1fr)); gap: 8px 8px; padding: 6px 6px 22px; }
.sh-swatch { position: relative; aspect-ratio: 1; border-radius: 8px; border: 1px solid var(--line); display: grid; place-items: center; cursor: pointer; }
.sh-swatch input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.sh-swatch .sw { width: 24px; height: 24px; border-radius: 50%; background: var(--sw); box-shadow: inset 0 0 0 1px rgba(0,0,0,.18); }
.sh-swatch:has(input:checked) { border-color: var(--fg); box-shadow: 0 0 0 1px var(--fg); }
.sh-swatch-label { position: absolute; left: 0; right: 0; bottom: -18px; font-size: .625rem; text-align: center; color: var(--fg-2); }
/* grid */
.sh-grid-wrap { padding: clamp(20px, 3vw, 32px) 0 var(--section-sm); }
.delivery { display: grid; gap: 28px; padding: var(--section-sm) 0 0; border-top: 1px solid var(--line); margin-top: var(--section-sm); }
@media (min-width: 768px) { .delivery { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.delivery h3 { font-family: var(--font-display); font-weight: 300; font-size: 1.5rem; }
.delivery p { color: var(--fg-2); font-size: .9375rem; margin-top: 8px; max-width: 26ch; }
@media (max-width: 767px) {
  .shop-head p { display: none; }
  .sh-bar { position: static; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .sh-bar .wrap { flex-wrap: wrap; }
  .sh-pills { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); width: calc(100% + var(--gutter) * 2); }
  .sh-pills::-webkit-scrollbar { display: none; }
  /* dropdowns become a bottom sheet on phones */
  .sh-dd, .sh-right .sh-dd { position: fixed; left: 10px; right: 10px; top: auto; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 96; min-width: 0; border-radius: 16px; transform-origin: bottom center; box-shadow: 0 -10px 40px rgba(26,27,29,.28); }
  .sh-dd-body { max-height: 50vh; }
  .sh-dd::before { content: attr(data-dd-title); display: block; padding: 16px 18px 4px; font-size: .9375rem; font-weight: 600; }
  .sh-right { width: 100%; justify-content: space-between; }
}
