.shop-page {
  --shop-rule: var(--line, #d7d6d2);
  --shop-grey: #575650;
  width: min(100%, 1640px);
  margin-inline: auto;
  padding: clamp(3rem, 7vw, 7.4rem) var(--gutter, 5vw) clamp(5rem, 10vw, 10rem);
  color: var(--ink, #181817);
  font-family: var(--sans, Arial, sans-serif);
}
.shop-page *, .shop-page { box-sizing: border-box; }
.shop-page [hidden] { display: none !important; }
.shop-page :where(h1,h2,p,ul) { margin: 0; }
.shop-page a { color: inherit; text-decoration: none; }
.shop-page button, .shop-page input { font: inherit; }
.shop-page button { cursor: pointer; }
.shop-page button:disabled { cursor: default; }
.shop-page :is(a,button,input):focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.shop-eyebrow, .shop-search-label {
  font-family: var(--sans, Arial, sans-serif); font-size: .79rem; line-height: 1.35; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
}
.shop-header { margin-bottom: clamp(2rem, 4.5vw, 4.75rem); }
.shop-header h1, .shop-detail-copy h1, .shop-related > h2, .shop-line-title h2 {
  font-family: var(--serif, Georgia, serif); font-weight: 400; text-wrap: balance;
}
.shop-header h1 { font-size: clamp(3.45rem, 8vw, 8rem); letter-spacing: -.065em; line-height: 1.02; margin-top: .75rem; }
.shop-intro, .shop-description, .shop-note, .shop-empty p, .shop-bag-note { line-height: 1.65; font-size: 1rem; }
.shop-filter {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  border-top: 1px solid var(--shop-rule); border-bottom: 1px solid var(--shop-rule); margin: 0 0 2rem;
}
.shop-filter nav { display: flex; gap: clamp(.75rem, 2vw, 2.5rem); flex-wrap: wrap; }
.shop-filter nav a { position: relative; padding-block: 1rem; font-size: .92rem; color: var(--shop-grey); }
.shop-filter nav a[aria-current], .shop-filter nav a:hover { color: var(--ink); }
.shop-filter nav a[aria-current]::after { content: ""; position: absolute; inset: auto 0 -1px; height: 2px; background: currentColor; }
.shop-filter > span, .shop-search-count { color: var(--shop-grey); font-size: .88rem; white-space: nowrap; }
.shop-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: clamp(1.8rem, 3.5vw, 3.5rem) clamp(.85rem, 1.9vw, 2rem); }
.shop-card { position: relative; min-width: 0; }
.shop-card > a { display: block; }
.shop-card-media { background: #f1f0ed; overflow: hidden; aspect-ratio: 1.02; }
.shop-card-media img, .shop-line-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.shop-card-media img { transition: transform .35s ease; }
@media (hover:hover) and (prefers-reduced-motion:no-preference) {
  .shop-card > a:hover .shop-card-media img { transform: scale(1.035); }
}
.shop-card-caption { padding: .9rem 0 .2rem; }
.shop-card-caption h2 { font-family: var(--serif, Georgia, serif); font-size: clamp(1.35rem, 2.12vw, 2.35rem); font-weight: 400; letter-spacing: -.045em; line-height: 1.17; }
.shop-card-caption p { font-size: .85rem; color: var(--shop-grey); margin-top: .3rem; }
.shop-save { display: inline-flex; align-items: center; justify-content: center; color: var(--ink, #181817); }
.shop-card > .shop-save {
  position: absolute; top: .55rem; right: .55rem; z-index: 1; height: 2.75rem; width: 2.75rem; border: 0; border-radius: 50%; background: rgba(255,255,255,.88);
}
.shop-save[aria-pressed=true] svg { fill: currentColor; }
.shop-page .shop-solid {
  display: inline-flex; align-items: center; justify-content: center; width: fit-content; min-height: 3.1rem; padding: .8rem 1.45rem;
  background: var(--ink, #181817); color: #fff; border: 1px solid var(--ink,#181817); border-radius: 0; font-size: .95rem; font-weight: 500;
}
.shop-page .shop-solid:hover { background: #353532; }
.shop-page .shop-solid:focus-visible { outline-color: var(--ink,#181817); }
.shop-empty { border-top: 1px solid var(--shop-rule); padding-top: 2rem; }
.shop-empty .shop-solid { margin-top: 1.2rem; }
.shop-crumb { display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; margin: 0 0 1.65rem; font-size: .9rem; color: var(--shop-grey); }
.shop-crumb a:hover, .shop-line-title a:hover { text-decoration: underline; text-underline-offset: .23em; }
.shop-detail { display: grid; grid-template-columns: minmax(0,1.2fr) minmax(0,.85fr); gap: clamp(2.5rem, 7vw, 8rem); align-items: start; }
.shop-gallery .shop-large { display: block; width: 100%; aspect-ratio: 1; object-fit: contain; background: #f4f3f0; }
.shop-thumbs { display: flex; margin-top: .75rem; gap: .65rem; }
.shop-thumbs button { width: 4.15rem; height: 4.15rem; padding: .18rem; background: transparent; border: 1px solid transparent; }
.shop-thumbs button[aria-pressed=true] { border-color: var(--ink); }
.shop-thumbs img { width: 100%; height: 100%; display: block; object-fit: cover; }
.shop-detail-copy { padding-block: clamp(.5rem, 3.2vw, 4.5rem) 1rem; }
.shop-detail-copy h1 { font-size: clamp(3.15rem, 5.8vw, 6rem); line-height: .98; letter-spacing: -.06em; margin: 1rem 0 1.5rem; }
.shop-description { max-width: 36ch; color: var(--shop-grey); }
.shop-purchase { display: flex; gap: .7rem; align-items: stretch; flex-wrap: wrap; margin-top: clamp(1.8rem, 4vw, 4rem); }
.shop-save-text { gap: .5rem; padding: .75rem 1.1rem; border: 1px solid var(--shop-rule); background: transparent; border-radius: 0; font-size: .92rem; }
.shop-save-text:hover { border-color: var(--ink); }
.shop-page .shop-bag-link, .shop-page .shop-text-link, .shop-remove { display: inline-block; font-size: .92rem; text-decoration: underline; text-underline-offset: .3em; }
.shop-bag-link { margin-top: 1rem; }
.shop-note { margin-top: 1.4rem; font-size: .88rem; color: var(--shop-grey); max-width: 40ch; }
.shop-related { margin-top: clamp(3.6rem, 8vw, 8.5rem); padding-top: 2.4rem; border-top: 1px solid var(--shop-rule); }
.shop-related > h2 { font-size: clamp(2.2rem, 4vw, 4rem); letter-spacing: -.05em; margin: .65rem 0 1.65rem; line-height: 1.05; }
.shop-search-label { display: block; letter-spacing: .07em; }
.shop-search-box { width: min(100%, 47rem); margin: .65rem 0 1.5rem; padding: .8rem 0; border: 0; border-radius: 0; border-bottom: 1px solid var(--ink); background: transparent; color: inherit; font-size: 1.25rem; }
.shop-search-count { margin: .3rem 0 1rem; }
.shop-no-results { padding-top: .8rem; line-height: 1.6; }
.shop-bag-note { max-width: 54ch; color: var(--shop-grey); }
.shop-lines { list-style: none; padding: 0; margin: 1.75rem 0; border-top: 1px solid var(--shop-rule); }
.shop-line { display: grid; grid-template-columns: 6.25rem minmax(0,1fr) auto auto; gap: clamp(1rem, 3vw, 3rem); align-items: center; border-bottom: 1px solid var(--shop-rule); padding-block: 1.1rem; }
.shop-line-photo { aspect-ratio: 1; background: #f1f0ed; }
.shop-line-title p { font-size: .83rem; color: var(--shop-grey); margin-bottom: .35rem; }
.shop-line-title h2 { font-size: clamp(1.35rem, 2.5vw, 2.5rem); line-height: 1.1; letter-spacing: -.04em; }
.shop-quantity { display: inline-flex; align-items: center; border: 1px solid var(--shop-rule); }
.shop-quantity button { background: none; color: inherit; border: 0; min-height: 2.65rem; min-width: 2.65rem; }
.shop-quantity span { min-width: 1.5rem; font-variant-numeric: tabular-nums; text-align: center; }
.shop-quantity button:disabled { color: #888; }
.shop-remove { justify-self: start; line-height: 2.65rem; color: var(--shop-grey); background: none; border: 0; padding: 0; }
.shop-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
@media (max-width: 760px) {
  .shop-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .shop-detail { grid-template-columns: 1fr; gap: 1.25rem; }
  .shop-detail-copy { padding-top: .4rem; }
  .shop-note { margin-top: 1.05rem; }
  .shop-related .shop-card:last-child { display: none; }
  .shop-filter { align-items: baseline; }
  .shop-filter nav { gap: 0 .95rem; }
  .shop-filter nav a { padding-block: .75rem; }
}
@media (max-width: 520px) {
  .shop-filter { flex-direction: column; gap: 0; padding-bottom: .75rem; }
  .shop-filter nav { row-gap: .1rem; }
  .shop-filter > span { margin-top: .6rem; }
  .shop-line { grid-template-columns: 4.7rem minmax(0,1fr) auto; gap: .5rem .8rem; }
  .shop-line-photo { grid-row: 1 / 3; align-self: start; }
  .shop-line-title { grid-column: 2 / 4; }
  .shop-quantity { justify-self: start; }
  .shop-quantity button { min-width: 2.25rem; }
  .shop-remove { justify-self: end; }
  .shop-card > .shop-save { width: 2.5rem; height: 2.5rem; top: .25rem; right: .25rem; }
}

[data-live-panel] h1, [data-live-panel] h2 { font-family: var(--serif,Georgia,serif); font-weight: 400; letter-spacing: -.045em; line-height: 1.05; margin-top: .8rem; }
[data-live-panel] h1 { font-size: clamp(3rem,7vw,7rem); }
[data-live-panel] h2 { font-size: clamp(2rem,4vw,4rem); }
[data-live-panel] .shop-purchase { align-items: center; margin-top: 1.5rem; }

@font-face { font-family: "Bag Hanken"; src: url("media/bag-hanken.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
.bag-page, .bag-drawer { -webkit-font-smoothing: antialiased; font-size: 15px; line-height: 1.5; font-family: "Bag Hanken", Helvetica, Arial, sans-serif; color: #000; }
.shop-page.bag-page { max-width: 1680px; padding: calc(clamp(24px,4vw,64px) + 4px) clamp(24px,5.1vw,88px) clamp(64px,7vw,112px); }
.approved-bag { max-width: 760px; margin-inline: auto; }
.bag-heading { padding: clamp(20px,3.4vw,52px) 0 clamp(26px,3vw,48px); }
.bag-heading h1, .bag-empty h2 { font: 400 clamp(3rem,6.6vw,6.75rem)/1.02 Baskerville,"Times New Roman",Georgia,serif; letter-spacing: -.045em; margin: .15em 0; }
.bag-item { display: grid; grid-template-columns: clamp(85px,13vw,150px) minmax(0,1fr); align-items: center; gap: 20px; padding-bottom: 25px; margin-bottom: 25px; border-bottom: 1px solid #dedede; }
.bag-photo { display: block; aspect-ratio: 1; background: #f5f5f5; overflow: hidden; }
.bag-photo img { width: 100%; height: 100%; object-fit: cover; }
.bag-item h3 { font: 400 18px/1.2 "Bag Hanken",Helvetica,Arial,sans-serif; margin: 0; }
.bag-item p { color: #666; margin: 5px 0 10px; font-size: 13px; }
.bag-controls { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 15px; }
.approved-bag button, .bag-drawer header button { background: transparent; border: 0; color: inherit; padding: 0; font: inherit; cursor: pointer; }
.bag-quantity { display: inline-flex; height: 32px; align-items: center; border: 1px solid #dedede; border-radius: 8px; }
.bag-quantity button { width: 36px; height: 36px; font-size: 14px; }
.bag-quantity span { min-width: 20px; text-align: center; font-size: 11px; }
.bag-note { color: #585858; font-size: 14px; line-height: 1.5; }
.bag-empty { padding: clamp(30px,5vw,76px) 0; }
.bag-empty h2 { font-size: clamp(2rem,3vw,3.5rem); margin: 0 0 12px; }
.bag-empty p { margin: 0 0 16px; color: #535353; line-height: 1.6; }
.bag-link { display: inline-block; border-bottom: 1px solid; padding: 4px 0; font-size: 15px; line-height: 1.4; }
.bag-full { display: block; margin-top: 20px; }
.bag-total { border-top: 1px solid #dedede; padding-top: 25px; margin-top: 25px; }
.bag-total > div { display: flex; justify-content: space-between; }
.bag-total a { display: flex; justify-content: center; align-items: center; min-height: 52px; border-radius: 10px; background: #000; color: #fff; font-size: 14px; margin-top: 20px; }
.bag-drawer { position: fixed; inset: 12px 12px auto auto; margin: 0; padding: 0; width: min(480px,calc(100vw - 24px)); max-width: none; height: calc(100dvh - 24px); max-height: none; overflow: hidden; background: #fff; border: 1px solid rgba(10,10,10,.06); border-radius: 20px; box-shadow: 0 2px 6px #0a0a0a0d,0 32px 90px -28px #0a0a0a6b; }
.bag-drawer::backdrop { background: transparent; }
.bag-drawer[open] { display: flex; flex-direction: column; animation: bag-enter .62s cubic-bezier(.16,1,.3,1); }
@keyframes bag-enter { from { transform: translateX(calc(100% + 24px)); } }
@media (prefers-reduced-motion: reduce) { .bag-drawer[open] { animation: none; } }
.bag-drawer > header { display: flex; align-items: center; justify-content: space-between; padding: 26px 30px 20px; border-bottom: 1px solid #dedede; }
.bag-drawer header h2 { font: 400 22px/1.14 "Bag Hanken",Helvetica,Arial,sans-serif; letter-spacing: -.5px; margin: 0; }
.bag-drawer header button { width: 42px; height: 44px; font-size: 24px; font-weight: 300; }
.bag-scroll { padding: 30px; overflow-y: auto; overscroll-behavior: contain; }
.bag-drawer .bag-page { padding: 0; }
.bag-drawer .bag-item { grid-template-columns: 100px minmax(0,1fr); align-items: start; }
@media(max-width:640px) { .shop-page.bag-page { padding-top: 19px; } }
@media(max-width:600px) {
  .bag-drawer { inset: 8px 8px auto auto; width: calc(100vw - 16px); height: calc(100dvh - 16px); border-radius: 16px; }
  .bag-drawer > header { padding: 17px 21px 15px; }
  .bag-scroll { padding: 24px; }
  .bag-drawer .bag-page { padding: 0; }
  .bag-item { gap: 16px; }
  .bag-drawer .bag-item { grid-template-columns: 90px minmax(0,1fr); }
  .bag-drawer .bag-photo { height: 113px; aspect-ratio: auto; }
}

body:has(.bag-drawer[open]) { overflow: hidden; }
.bag-drawer :focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }

.bag-item-top { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: .25rem .75rem; }
.bag-item-top [data-line-total] { font-variant-numeric: tabular-nums; font-size: .8125rem; white-space: nowrap; }
.bag-photo .bag-placeholder { object-fit: contain; padding: 30%; }
.bag-quantity button:disabled { opacity: .4; }
.bag-quantity button:not(:disabled):hover, .bag-controls > button:hover { text-decoration: underline; }
.bag-total a:not([href]) { opacity: .6; cursor: progress; }
.bag-drawer .bag-total { position: sticky; bottom: -30px; background: #fff; padding-bottom: 30px; }
@media (max-width: 600px) { .bag-drawer .bag-total { bottom: -24px; padding-bottom: 24px; } }
.bag-drawer header button { display: grid; place-items: center; }
.bag-drawer header button svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.25; stroke-linecap: round; stroke-linejoin: round; }

/* DIMENSIONS browsing pages use the campaign's serif type and square photographs. */
.dimensions-page { padding-top: clamp(1.5rem,4vw,4rem); }
.dimensions-page .shop-header { margin-bottom: clamp(1.3rem,3vw,3rem); }
.dimensions-page .shop-card-media { aspect-ratio: 1; }
.dimensions-page .shop-card-caption h2 { line-height: 1.12; }
.dimensions-page .shop-gallery .shop-large { aspect-ratio: 1; }
.piece-heading h1 { font: 400 clamp(2.75rem,5.5vw,6rem)/1.02 var(--serif); letter-spacing: -.055em; margin: .5rem 0 1rem; text-wrap: balance; }
.shop-detail { grid-template-areas: "gallery heading" "gallery copy"; grid-template-rows: auto 1fr; row-gap: 0; }
.shop-gallery { grid-area: gallery; }
.piece-heading { grid-area: heading; padding-top: clamp(1rem,4vw,4rem); }
.shop-detail-copy { grid-area: copy; padding-top: 0; }
.dimensions-page .shop-crumb a { display: inline-flex; align-items: center; min-height: 44px; }
@media (max-width:760px) {
  .shop-detail { grid-template-areas: "heading" "gallery" "copy"; grid-template-rows: auto; gap: 1rem; }
  .piece-heading { padding: 0; }
  .piece-heading h1 { margin-bottom: 0; }
  .dimensions-page .shop-crumb { margin-bottom: .65rem; }
  .dimensions-page .shop-filter nav a { min-height: 44px; display: inline-flex; align-items: center; }
  .dimensions-page .shop-filter { margin-bottom: 1.25rem; }
}

/* Collection opener: the bracelet sits in the right half of the campaign frame. */
.collection-banner {
  position: relative;
  isolation: isolate;
  display: grid;
  align-content: end;
  overflow: hidden;
  min-height: clamp(18rem, 29vw, 29rem);
  margin-bottom: clamp(1rem, 2vw, 2rem);
  padding: clamp(1.75rem, 4vw, 4.5rem);
  background: #090909;
  color: #fff;
}
.collection-banner img {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% 50%;
}
.collection-banner h1 {
  margin-top: .55rem;
  font: 400 clamp(3.25rem, 6.5vw, 7rem)/.98 var(--serif);
  letter-spacing: -.045em;
}
@media (max-width: 600px) {
  .collection-banner {
    min-height: clamp(18rem, 76vw, 23rem);
    padding: 1.4rem;
  }
  .collection-banner img { object-position: 82% 50%; }
  .collection-banner::before {
    position: absolute;
    inset: 50% 0 0;
    z-index: -1;
    content: "";
    background: linear-gradient(transparent, rgba(0,0,0,.82));
  }
  .collection-banner img { z-index: -2; }
  .collection-banner h1 { font-size: clamp(2.4rem, 10vw, 3.75rem); }
}
