/* Anoura store: collection, product pages, bag sheet, and the collection band on the home page.
   Everything is prefixed sx- (or .band) so it never touches the 3D page's own styles. */
:root {
  --ink: #0e1f18;
  --paper: #f1efe8;
  --paper-2: #e6e3d8;
  --ink-dim: rgba(14, 31, 24, 0.7);
  --ink-line: rgba(14, 31, 24, 0.16);
  --display: "Jost", "Futura", "Avenir Next", sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --head-h: 60px;
  --pad: 20px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
@media (min-width: 900px) { :root { --pad: 32px; } }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html { scrollbar-gutter: stable; }
html.sx-lock { overflow: hidden; }
body.sx-fixed { position: fixed; left: 0; right: 0; width: 100%; }

body.store {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--display); font-size: 16px; font-weight: 300; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column;
}
body.store img { display: block; max-width: 100%; height: auto; }
.sx-main { flex: 1 0 auto; width: 100%; }
a { color: inherit; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; border-radius: 2px; }
.sx-skip { position: absolute; left: 12px; top: -80px; z-index: 200; background: var(--ink); color: var(--paper); padding: 12px 18px; border-radius: 999px; text-decoration: none; }
.sx-skip:focus { top: 10px; }
[hidden] { display: none !important; }

/* ---- header ---- */
.sx-head {
  position: sticky; top: 0; z-index: 40; height: calc(var(--head-h) + env(safe-area-inset-top));
  padding: env(safe-area-inset-top) max(var(--pad), env(safe-area-inset-right)) 0 max(var(--pad), env(safe-area-inset-left));
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(241, 239, 232, 0.94); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--ink-line);
}
.sx-logo { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); }
.sx-mark { display: block; height: 15px; width: auto; }
.sx-nav { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 400; letter-spacing: 0.22em; text-transform: uppercase; }
.sx-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; text-decoration: none; color: var(--ink); position: relative; }
.sx-nav a[aria-current="page"]::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 9px; height: 1px; background: currentColor; }
.sx-bag { position: relative; display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0; margin: 0 -10px 0 0; background: none; border: 0; color: inherit; cursor: pointer; font: inherit; -webkit-tap-highlight-color: transparent; }
.sx-count {
  position: absolute; top: 5px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px;
  background: var(--badge-bg, var(--ink)); color: var(--badge-fg, var(--paper));
  font: 500 11px/18px var(--display); letter-spacing: 0; text-align: center;
}
.sx-count.sx-bump { animation: sx-bump 0.5s var(--ease); }
@keyframes sx-bump { 0% { transform: scale(1); } 35% { transform: scale(1.5); } 100% { transform: scale(1); } }
@media (max-width: 759px) { .sx-hide-sm { display: none !important; } }

/* ---- shared type and buttons ---- */
.sx-eyebrow { margin: 0 0 14px; font-size: 11px; font-weight: 400; letter-spacing: 0.28em; text-transform: uppercase; color: var(--ink-dim); }
.sx-h1, .sx-h2 { margin: 0; font-weight: 300; text-transform: uppercase; letter-spacing: 0.03em; line-height: 1.06; text-wrap: balance; }
.sx-h1 { font-size: clamp(32px, 8.4vw, 64px); }
.sx-h2 { font-size: clamp(26px, 6.4vw, 44px); }
.sx-h1 em, .sx-h2 em { font-family: var(--serif); font-style: italic; font-weight: 400; text-transform: none; letter-spacing: 0; font-size: 1.12em; }
.sx-lede { margin: 18px 0 0; max-width: 28rem; color: var(--ink-dim); }

.sx-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 30px;
  border-radius: 999px; border: 1px solid var(--ink); background: transparent; color: var(--ink);
  font: 400 12px/1 var(--display); letter-spacing: 0.24em; text-transform: uppercase; text-decoration: none; cursor: pointer;
  transition: background 0.25s, color 0.25s, opacity 0.25s; -webkit-tap-highlight-color: transparent; text-align: center;
}
.sx-btn:active { opacity: 0.7; }
.sx-btn-primary { background: var(--ink); color: var(--paper); }
.sx-btn-primary:disabled { opacity: 0.45; cursor: default; }
.sx-btn-block { width: 100%; }
.sx-link { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-size: 12px; font-weight: 400; letter-spacing: 0.22em; text-transform: uppercase; text-decoration: none; border-bottom: 1px solid var(--ink-line); }
@media (hover: hover) {
  .sx-btn:hover { background: var(--ink); color: var(--paper); }
  .sx-btn-primary:hover { background: transparent; color: var(--ink); }
  .sx-link:hover { border-bottom-color: currentColor; }
}

/* ---- collection: intro, filter, grid ---- */
.sx-intro { padding: 44px var(--pad) 26px; max-width: 1440px; margin: 0 auto; }
.sx-filter { position: sticky; top: calc(var(--head-h) + env(safe-area-inset-top)); z-index: 30; background: var(--paper); border-bottom: 1px solid var(--ink-line); }
.sx-chips { list-style: none; margin: 0 auto; padding: 8px var(--pad); max-width: 1440px; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; scroll-snap-type: x proximity; scroll-padding-inline: var(--pad); }
.sx-chips::-webkit-scrollbar { display: none; }
.sx-chip {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 20px; border-radius: 999px; white-space: nowrap;
  border: 1px solid var(--ink-line); text-decoration: none; font-size: 12px; font-weight: 400; letter-spacing: 0.2em; text-transform: uppercase;
  scroll-snap-align: start; transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.sx-chip span { color: var(--ink-dim); letter-spacing: 0.04em; }
.sx-chip[aria-current="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.sx-chip[aria-current="true"] span { color: rgba(241, 239, 232, 0.78); }
.sx-count-line { margin: 18px var(--pad) 14px; max-width: 1440px; font-size: 11px; font-weight: 400; letter-spacing: 0.24em; text-transform: uppercase; color: var(--ink-dim); }
@media (min-width: 1480px) { .sx-count-line { margin-left: auto; margin-right: auto; padding: 0 var(--pad); } }

.sx-grid { list-style: none; margin: 0 auto; padding: 0 14px 56px; max-width: 1440px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 12px; }
.sx-item[hidden] { display: none; }
.sx-card { display: block; text-decoration: none; -webkit-tap-highlight-color: transparent; }
.sx-ph { position: relative; display: block; aspect-ratio: 1 / 1; background: var(--paper-2); overflow: hidden; }
.sx-ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.sx-card:active .sx-ph img { transform: scale(1.02); }
@media (hover: hover) { .sx-card:hover .sx-ph img { transform: scale(1.03); } }
.sx-meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; padding: 12px 2px 0; }
.sx-name { font-family: var(--serif); font-style: italic; font-size: 25px; line-height: 1.1; }
.sx-minis { display: inline-flex; gap: 4px; align-self: center; }
.sx-minis i { width: 9px; height: 9px; border-radius: 50%; box-shadow: 0 0 0 1px var(--ink-line); }
.sx-sub { flex-basis: 100%; font-size: 11px; font-weight: 400; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-dim); }
@media (min-width: 720px) { .sx-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 20px; padding: 0 var(--pad) 80px; } .sx-name { font-size: 28px; } }
@media (min-width: 1100px) { .sx-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* ---- product page ---- */
.sx-pdp { padding-bottom: calc(112px + env(safe-area-inset-bottom)); }
.sx-crumbs { display: none; gap: 10px; align-items: center; padding: 14px var(--pad) 10px; max-width: 1440px; margin: 0 auto; font-size: 11px; font-weight: 400; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-dim); }
.sx-crumbs a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.sx-pdp-grid { max-width: 1440px; margin: 0 auto; }
.sx-gallery { position: relative; }
.sx-track { list-style: none; margin: 0; padding: 0; display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; background: var(--paper-2); }
.sx-track::-webkit-scrollbar { display: none; }
.sx-slide { flex: 0 0 100%; scroll-snap-align: start; scroll-snap-stop: always; aspect-ratio: 1 / 1; }
.sx-slide img { width: 100%; height: 100%; object-fit: cover; }
.sx-arrow {
  position: absolute; top: 50%; margin-top: -22px; width: 44px; height: 44px; border-radius: 50%; border: 0; padding: 0; cursor: pointer;
  background: rgba(241, 239, 232, 0.88); color: var(--ink); display: none; align-items: center; justify-content: center;
}
.sx-prev { left: 14px; } .sx-next { right: 14px; }
.sx-dotbar { display: flex; justify-content: center; min-height: 44px; }
.sx-dotbar button { width: 44px; height: 44px; padding: 0; background: none; border: 0; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.sx-dotbar button::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ink); opacity: 0.25; transition: opacity 0.2s, transform 0.2s; }
.sx-dotbar button[aria-current="true"]::before { opacity: 1; transform: scale(1.25); }
.sx-info { padding: 6px var(--pad) 0; }
.sx-title { margin: 0; font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(48px, 13vw, 76px); line-height: 1; }
.sx-tagline { margin: 12px 0 0; font-size: 18px; color: var(--ink); }
.sx-price { margin: 14px 0 0; font-size: 12px; font-weight: 400; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-dim); }
.sx-variants { margin: 26px 0 0; padding: 0; border: 0; min-width: 0; }
.sx-variants legend { padding: 0; font-size: 11px; font-weight: 400; letter-spacing: 0.26em; text-transform: uppercase; color: var(--ink-dim); }
.sx-variants legend span { color: var(--ink); letter-spacing: 0.2em; margin-left: 8px; }
.sx-swatches { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.sx-swatch { position: relative; display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 18px 0 8px; border: 1px solid var(--ink-line); border-radius: 999px; cursor: pointer; -webkit-tap-highlight-color: transparent; transition: border-color 0.2s; }
.sx-swatch input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.sx-sw-dot { width: 30px; height: 30px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(14, 31, 24, 0.2); flex: none; }
.sx-sw-text { font-size: 12px; font-weight: 400; letter-spacing: 0.18em; text-transform: uppercase; }
.sx-swatch:has(input:checked) { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.sx-swatch:has(input:focus-visible) { outline: 2px solid var(--ink); outline-offset: 3px; }
.sx-note { margin: 22px 0 0; color: var(--ink-dim); font-size: 15px; max-width: 30rem; }
.sx-buy {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 35; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 12px max(var(--pad), env(safe-area-inset-right)) calc(12px + env(safe-area-inset-bottom)) max(var(--pad), env(safe-area-inset-left));
  background: rgba(241, 239, 232, 0.96); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-top: 1px solid var(--ink-line);
}
.sx-buy-price { margin: 0; font-size: 11px; font-weight: 400; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-dim); max-width: 8.5em; line-height: 1.4; }
.sx-buy .sx-btn { flex: 1 1 auto; max-width: 280px; }
.sx-info .sx-link { margin-top: 22px; }
.sx-acc { margin: 30px 0 0; border-top: 1px solid var(--ink-line); }
.sx-acc details { border-bottom: 1px solid var(--ink-line); }
.sx-acc summary { list-style: none; display: flex; align-items: center; justify-content: space-between; min-height: 56px; cursor: pointer; font-size: 12px; font-weight: 400; letter-spacing: 0.24em; text-transform: uppercase; -webkit-tap-highlight-color: transparent; }
.sx-acc summary::-webkit-details-marker { display: none; }
.sx-acc summary::after { content: "+"; font-size: 20px; font-weight: 300; letter-spacing: 0; }
.sx-acc details[open] summary::after { content: "\2212"; }
.sx-acc p, .sx-spec { margin: 0 0 20px; color: var(--ink-dim); font-size: 15px; }
.sx-spec { display: grid; grid-template-columns: auto 1fr; gap: 8px 24px; }
.sx-spec dt { font-size: 10px; font-weight: 400; letter-spacing: 0.26em; text-transform: uppercase; padding-top: 4px; }
.sx-spec dd { margin: 0; color: var(--ink); }
.sx-related { margin: 64px auto 0; max-width: 1440px; }
.sx-related .sx-h2 { padding: 0 var(--pad) 26px; }
.sx-grid-rel { padding-bottom: 8px; }
.sx-grid-rel .sx-item:nth-child(n+3) { display: none; }
@media (min-width: 720px) { .sx-grid-rel .sx-item:nth-child(n+3) { display: block; } .sx-grid-rel .sx-item:nth-child(4) { display: none; } }
@media (min-width: 1100px) { .sx-grid-rel .sx-item:nth-child(4) { display: block; } }

@media (min-width: 900px) {
  .sx-crumbs { display: flex; }
  .sx-pdp { padding-bottom: 0; }
  .sx-pdp-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 56px; padding: 0 32px; align-items: start; }
  .sx-gallery { position: sticky; top: calc(var(--head-h) + 16px); }
  .sx-arrow { display: flex; }
  .sx-info { padding: 8px 0 0; max-width: 34rem; }
  .sx-crumbs { padding-left: 32px; padding-right: 32px; }
  .sx-buy { position: static; padding: 0; background: none; border: 0; -webkit-backdrop-filter: none; backdrop-filter: none; margin-top: 26px; justify-content: flex-start; gap: 24px; }
  .sx-buy .sx-btn { flex: 0 1 280px; }
  .sx-buy-price { display: none; }
}

/* ---- toast ---- */
/* Under the header, over the photo: above the sticky bar it would cover the swatches and copy. Never over the bag sheet (store.js hides it). */
.sx-toast {
  position: fixed; left: 50%; top: calc(var(--head-h) + env(safe-area-inset-top) + 10px); z-index: 110; transform: translate(-50%, -12px); opacity: 0; pointer-events: none; visibility: hidden;
  display: flex; align-items: center; gap: 14px; width: max-content; max-width: calc(100vw - 32px); padding: 8px 8px 8px 20px; border-radius: 999px;
  background: var(--ink); color: var(--paper); font-size: 14px; transition: opacity 0.3s, transform 0.3s var(--ease), visibility 0s 0.3s;
}
.sx-toast.on { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; visibility: visible; transition-delay: 0s; }
.sx-toast button { min-height: 44px; padding: 0 16px; border: 0; border-radius: 999px; background: var(--paper); color: var(--ink); font: 400 11px/1 var(--display); letter-spacing: 0.2em; text-transform: uppercase; cursor: pointer; white-space: nowrap; flex: none; }
@media (min-width: 900px) { .sx-toast { left: 27%; } }

/* ---- footer ---- */
.sx-foot { flex: none; margin-top: 56px; background: var(--ink); color: var(--paper); padding: 44px var(--pad) calc(28px + env(safe-area-inset-bottom)); display: grid; gap: 14px; justify-items: start; }
.sx-foot .sx-mark { height: 17px; }
.sx-foot-logo { display: inline-flex; align-items: center; min-height: 44px; color: inherit; }
.sx-foot-by { margin: -8px 0 0; font-size: 11px; font-weight: 400; letter-spacing: 0.34em; text-transform: uppercase; }
.sx-foot-nav { display: flex; flex-wrap: wrap; gap: 4px 26px; font-size: 12px; font-weight: 400; letter-spacing: 0.22em; text-transform: uppercase; }
.sx-foot-nav a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.sx-foot-fine { margin: 8px 0 0; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(241, 239, 232, 0.78); }
.sx-pdp ~ .sx-foot { margin-top: 56px; }
@media (max-width: 899px) { .sx-pdp ~ .sx-foot { margin-top: 0; padding-bottom: calc(104px + env(safe-area-inset-bottom)); } }
@media (min-width: 900px) { .sx-foot { padding-left: 32px; padding-right: 32px; } }

/* ---- bag sheet ---- */
.sx-sheet { position: fixed; inset: 0; z-index: 100; visibility: hidden; transition: visibility 0s 0.35s; }
.sx-sheet.on { visibility: visible; transition-delay: 0s; }
.sx-scrim { position: absolute; inset: 0; background: rgba(8, 20, 15, 0.55); opacity: 0; transition: opacity 0.35s; }
.sx-sheet.on .sx-scrim { opacity: 1; }
.sx-panel {
  position: absolute; left: 0; right: 0; bottom: var(--sx-kb, 0px); display: flex; flex-direction: column;
  max-height: 90vh; max-height: 90dvh; max-height: min(90dvh, var(--sx-vvh, 100vh)); background: var(--paper); color: var(--ink);
  border-radius: 20px 20px 0 0; transform: translateY(102%); transition: transform 0.4s var(--ease);
  padding-bottom: env(safe-area-inset-bottom); box-shadow: 0 -20px 60px rgba(8, 20, 15, 0.25);
}
.sx-sheet.on .sx-panel { transform: none; }
.sx-sheet.kb .sx-panel { padding-bottom: 0; }
.sx-ph-head { flex: none; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 6px 8px 6px 20px; border-bottom: 1px solid var(--ink-line); }
.sx-sheet-title { margin: 0; font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 28px; line-height: 1; outline: none; }
.sx-icon { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; padding: 0; background: none; border: 0; border-radius: 50%; color: inherit; cursor: pointer; flex: none; }
.sx-head-left { display: flex; align-items: center; gap: 4px; margin-left: -14px; }
.sx-head-left .sx-sheet-title { margin-left: 4px; }
.sx-body { flex: 1 1 auto; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; padding: 8px 20px 20px; }
.sx-foot-actions { flex: none; display: grid; gap: 10px; padding: 14px 20px 18px; border-top: 1px solid var(--ink-line); background: var(--paper); }
.sx-small { margin: 0; font-size: 13px; color: var(--ink-dim); line-height: 1.5; }
.sx-empty { padding: 36px 0 24px; text-align: center; }
.sx-empty p { margin: 0 0 22px; color: var(--ink-dim); }

.sx-lines { list-style: none; margin: 0; padding: 0; }
.sx-line { display: grid; grid-template-columns: 72px 1fr; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--ink-line); }
.sx-line img { width: 72px; height: 72px; object-fit: cover; background: var(--paper-2); }
.sx-line-name { margin: 0; font-family: var(--serif); font-style: italic; font-size: 24px; line-height: 1.1; }
.sx-line-name a { text-decoration: none; }
.sx-line-var { margin: 2px 0 0; font-size: 11px; font-weight: 400; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-dim); }
.sx-line-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 8px; }
.sx-qty { display: inline-flex; align-items: center; border: 1px solid var(--ink-line); border-radius: 999px; }
.sx-qty button { width: 44px; height: 44px; padding: 0; border: 0; background: none; border-radius: 50%; font: 300 22px/1 var(--display); color: inherit; cursor: pointer; }
.sx-qty output { min-width: 28px; text-align: center; font-weight: 400; }
.sx-remove { min-height: 44px; padding: 0 4px; background: none; border: 0; border-bottom: 1px solid transparent; color: var(--ink-dim); font: 400 11px/1 var(--display); letter-spacing: 0.2em; text-transform: uppercase; cursor: pointer; }
.sx-line-price { margin: 4px 0 0; font-size: 12px; color: var(--ink-dim); }
.sx-total { display: flex; justify-content: space-between; padding: 16px 0 4px; font-size: 12px; font-weight: 400; letter-spacing: 0.2em; text-transform: uppercase; }

.sx-form { display: grid; gap: 14px; padding-top: 14px; }
.sx-field { display: grid; gap: 6px; }
.sx-field label { font-size: 11px; font-weight: 400; letter-spacing: 0.24em; text-transform: uppercase; color: var(--ink-dim); }
.sx-field input, .sx-field textarea {
  width: 100%; min-height: 52px; padding: 12px 14px; border: 1px solid rgba(14, 31, 24, 0.6); border-radius: 12px; background: #fbfaf6; color: var(--ink);
  font: 300 16px/1.4 var(--display); appearance: none; -webkit-appearance: none;
}
.sx-field textarea { min-height: 88px; resize: vertical; }
.sx-field input:focus, .sx-field textarea:focus { outline: 2px solid var(--ink); outline-offset: 1px; }
.sx-field [aria-invalid="true"] { border-color: #9a2a1f; }
.sx-err { margin: 0; font-size: 13px; color: #8c2418; min-height: 0; }
.sx-opt { text-transform: none; letter-spacing: 0.04em; }

.sx-review h3 { margin: 18px 0 6px; font-size: 11px; font-weight: 400; letter-spacing: 0.26em; text-transform: uppercase; color: var(--ink-dim); }
.sx-review ul { list-style: none; margin: 0; padding: 0; }
.sx-review li { padding: 3px 0; }
.sx-review dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 4px 18px; font-size: 15px; }
.sx-review dt { color: var(--ink-dim); }
.sx-review dd { margin: 0; overflow-wrap: anywhere; }
.sx-send { display: grid; gap: 10px; }
.sx-done { text-align: center; padding: 30px 0 10px; }
.sx-done h3 { margin: 0 0 12px; font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 34px; line-height: 1.1; }
.sx-done p { margin: 0 auto 14px; max-width: 24rem; color: var(--ink-dim); }
.sx-plain { display: block; text-align: center; margin: 4px auto 0; min-height: 44px; padding: 0 8px; background: none; border: 0; color: var(--ink-dim); font: 400 11px/1 var(--display); letter-spacing: 0.2em; text-transform: uppercase; cursor: pointer; text-decoration: underline; text-underline-offset: 5px; }

@media (min-width: 760px) {
  .sx-panel { left: auto; top: 0; width: 460px; max-height: none; border-radius: 0; transform: translateX(102%); box-shadow: -20px 0 60px rgba(8, 20, 15, 0.25); }
  .sx-sheet.on .sx-panel { transform: none; }
}

/* ---- home page: collection band between the 3D piece and the closing call ---- */
.band { position: relative; z-index: 5; background: var(--paper); color: var(--ink); text-shadow: none; padding: clamp(56px, 9vh, 110px) 0 clamp(56px, 9vh, 100px); }
.band-in { max-width: 1320px; margin: 0 auto; }
.band-head { padding: 0 var(--pad) clamp(28px, 5vh, 48px); }
.band-head .sx-h2 { max-width: 14em; }
.band .sx-grid-home { padding-bottom: 40px; }
.band .sx-grid-home .sx-item:nth-child(n+5) { display: none; }
@media (min-width: 720px) { .band .sx-grid-home { grid-template-columns: repeat(3, minmax(0, 1fr)); } .band .sx-grid-home .sx-item:nth-child(n+5) { display: block; } }
@media (min-width: 1100px) { .band .sx-grid-home { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.band-more { display: flex; padding: 0 var(--pad); justify-content: center; }
@media (min-width: 720px) { .band-more { justify-content: flex-start; } }

@media (prefers-reduced-motion: reduce) {
  .sx-panel, .sx-scrim, .sx-toast, .sx-ph img, .sx-count.sx-bump { transition: none; animation: none; }
}

/* the band's button is drawn in ink on paper, so every line in the band stays legible under the home page's nav bar */
.band .sx-btn-primary { background: transparent; color: var(--ink); }
@media (hover: hover) { .band .sx-btn-primary:hover { background: var(--ink); color: var(--paper); } }

.sx-sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.sx-copy { width: 100%; margin-top: 8px; padding: 12px 14px; border: 1px solid rgba(14, 31, 24, 0.6); border-radius: 12px; background: #fbfaf6; color: var(--ink); font: 300 15px/1.5 var(--display); resize: none; text-align: left; }

.sx-handle { font-size: 14px; }
.sx-reqtext { margin: 6px auto 0; max-width: 24rem; text-align: left; }
.sx-reqtext summary { display: flex; align-items: center; min-height: 44px; cursor: pointer; font-size: 11px; font-weight: 400; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-dim); }

/* ---- order code, honeypot, quiet call link ---- */
.sx-code { margin: 4px 0 14px; font-family: var(--serif); font-style: italic; font-size: clamp(48px, 13vw, 72px); line-height: 1; letter-spacing: 0.01em; overflow-wrap: anywhere; user-select: all; -webkit-user-select: all; }
.sx-send-code { font-size: 18px; color: var(--ink); }
.sx-send-code b { font-weight: 500; }
.sx-hp { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.sx-btn[aria-disabled="true"] { opacity: 0.55; pointer-events: none; }
.sx-quiet-call { margin: 6px 0 0; font-size: 14px; }
.sx-quiet-call a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink-dim); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--ink-line); }
.sx-desc { margin: 12px 0 0; color: var(--ink-dim); }
.sx-done p.sx-code { color: var(--ink); }
