/* Shopping additions: retain the cobalt studio and warm paper design. */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.hero-positioning {
  max-width: 440px;
  margin: 0 0 16px;
  color: #fff;
  font: 500 clamp(16px, 1.45vw, 21px)/1.4 var(--sans);
  text-wrap: balance;
}
.hero-look {
  border-radius: 6px !important;
  padding: 12px !important;
  max-width: 470px !important;
  gap: 14px !important;
  background: rgba(1, 30, 80, 0.38) !important;
}
.look-pic {
  width: 64px !important;
  height: 64px !important;
  border-radius: 3px !important;
}
.look-t {
  min-width: 0;
}
.look-t b {
  font-size: 16px !important;
  white-space: normal !important;
}
.look-t i {
  font-size: 16px !important;
  margin-top: 3px;
}
.look-add {
  border-radius: 3px !important;
  padding: 16px !important;
  white-space: normal !important;
  min-width: 140px;
}
.hero-ui > #shopAll {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.6);
  color: #fff;
  margin-top: 10px;
}
.hero-ui > .hero-trust {
  margin-top: 12px;
}
.sheet-info {
  overflow-y: auto !important;
  overscroll-behavior: contain;
}
.sheet-info > .sheet-more {
  margin-top: 20px !important;
}
.fit-help {
  font: 400 13px/1.55 var(--sans);
  margin: 8px 0 18px;
  color: var(--s-text, #17324f);
}
.fit-help summary {
  cursor: pointer;
  color: var(--s-head, #034092);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 600;
}
.fit-help p {
  margin: 10px 0 6px;
}
.fit-help a {
  color: inherit;
}
.piece-facts {
  padding-left: 17px;
  margin: 14px 0;
  font: 400 13px/1.6 var(--sans);
  color: var(--s-text, #17324f);
}
.piece-facts li {
  padding: 2px 0;
}
.delivery-note {
  font: 400 12px/1.6 var(--sans);
  color: var(--s-muted, #53647a);
  margin: 12px 0;
}
.delivery-note a {
  color: inherit;
  text-underline-offset: 3px;
}
.purchase-error,
.look-error {
  font: 500 13px/1.5 var(--sans);
  color: #9d2626;
  margin: 6px 0;
}
.purchase-error:empty,
.look-error:empty {
  display: none;
}
.pairings {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(3, 64, 146, 0.17);
}
.pairings h3,
.bag-extra h3 {
  margin: 0;
  font: italic 700 22px/1.15 var(--serif);
  color: var(--s-head, #034092);
}
.section-hint {
  font: 400 12px/1.4 var(--sans);
  color: var(--s-muted, #53647a);
  margin: 6px 0 12px;
}
.pair-grid {
  display: grid;
  gap: 10px;
}
.pair-card {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--s-head, #034092);
  text-decoration: none;
  padding: 8px;
  border: 1px solid rgba(3, 64, 146, 0.16);
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.35);
}
.pair-card img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  background: #e9e7e2;
  border-radius: 2px;
}
.pair-card b {
  display: block;
  font: 600 13px/1.3 var(--sans);
}
.pair-card small {
  display: block;
  margin-top: 6px;
  font: 500 12px/1.3 var(--sans);
}
.bag-actions {
  display: flex;
  gap: 15px;
  align-items: center;
  margin-top: 8px;
}
.bag-actions button {
  background: none;
  border: 0;
  padding: 0;
  color: var(--wall, #034092);
  text-decoration: underline;
  cursor: pointer;
  font: 400 12px var(--sans);
}
.bag-editor {
  grid-column: 1/-1;
  width: 100%;
  padding: 12px 0;
}
.bag-editor .opt {
  margin: 12px 0;
}
.bag-editor .pill {
  min-height: 38px;
  padding: 8px;
  color: #034092;
  border: 1px solid #90a0b8;
  background: #fff;
}
.bag-editor .pill[aria-pressed="true"] {
  color: #fff;
  background: #034092;
}
.bag-editor .opt-h {
  color: #17324f;
}
.bag-editor .opt-h em {
  color: #53647a;
}
.bag-editor .save-choice {
  padding: 10px 15px;
  border: 0;
  background: #034092;
  color: #fff;
  cursor: pointer;
  border-radius: 2px;
}
.drawer .lines {
  flex: 1;
  overflow-y: auto;
  min-height: 0;
}
.drawer-f {
  flex: none;
  max-height: 44vh;
  overflow-y: auto;
}
.bag-extra {
  margin: 16px 0 12px;
  padding: 20px 0 4px;
  border-top: 1px solid #ccd4dd;
}
.bag-extra img {
  width: 58px;
  height: 58px;
}
.bag-more {
  display: block;
  margin: 15px 0 6px;
  text-align: center;
  color: #034092;
  font: 600 12px var(--sans);
  background: none;
  border: 0;
  width: 100%;
  cursor: pointer;
  text-decoration: underline;
}
.welcome-saving {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: #1c6b46;
  font: 500 12px/1.5 var(--sans);
  margin: 0 0 10px;
}
.welcome-saving[hidden] {
  display: none;
}
.drawer .delivery-note {
  margin: 8px 0;
  font-size: 11px;
}
.drawer .checkout {
  width: 100%;
}
.drawer .note {
  font-size: 12px;
}
.curated-looks {
  position: relative;
  z-index: 1;
  background: var(--s-bg, #efede7);
  color: var(--s-text, #17324f);
  padding: 60px var(--gut);
}
.looks-heading {
  max-width: 620px;
  margin: 0 auto 30px;
  text-align: center;
}
.eyebrow {
  font: 700 10px/1.4 var(--sans);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--s-muted, #53647a);
}
.looks-heading h2 {
  font: italic 700 clamp(30px, 3vw, 44px)/1.1 var(--serif);
  color: var(--s-head, #034092);
  margin: 8px 0 14px;
}
.looks-heading p {
  font: 400 15px/1.6 var(--sans);
}
.looks-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  max-width: 1200px;
  margin: auto;
}
.look-card {
  padding: 22px;
  border: 1px solid rgba(3, 64, 146, 0.2);
  background: rgba(255, 255, 255, 0.3);
  border-radius: 4px;
}
.look-pieces {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.look-pieces img {
  width: 100%;
  height: 170px;
  object-fit: contain;
  background: #034092;
  border-radius: 3px;
}
.look-card h3 {
  font: italic 700 26px/1.1 var(--serif);
  color: #034092;
  margin: 20px 0 10px;
}
.look-card p {
  font: 400 14px/1.5 var(--sans);
}
.look-card .look-price {
  font-size: 12px;
}
.look-card button {
  width: 100%;
  margin-top: 10px;
}
.looks-note {
  text-align: center;
  font: 400 12px/1.5 var(--sans);
  margin: 25px 0 0;
}
.look-picker {
  border: 0;
  border-radius: 8px;
  padding: 32px;
  background: #f3f0e8;
  color: #17324f;
  width: min(660px, calc(100vw - 24px));
  max-height: 90dvh;
  overflow: auto;
}
.look-picker::backdrop {
  background: rgba(0, 18, 45, 0.75);
  backdrop-filter: blur(5px);
}
.look-picker h2 {
  font: italic 700 32px/1.1 var(--serif);
  color: #034092;
}
.look-close {
  position: absolute;
  right: 15px;
  top: 12px;
  background: none;
  border: 0;
  font-size: 28px;
  cursor: pointer;
}
.look-choice {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 20px;
  padding: 15px 0;
  border-top: 1px solid #ccd4dd;
}
.look-choice > img {
  width: 90px;
  height: 100px;
  object-fit: contain;
  background: #e5e1da;
}
.look-choice h3 {
  font: 600 15px/1.4 var(--sans);
  margin: 0 0 10px;
}
.look-choice h3 span {
  float: right;
}
.look-choice .pill {
  border: 1px solid #a3b3c8;
  background: #fff;
  color: #034092;
  padding: 10px;
}
.look-choice .pill[aria-pressed="true"] {
  background: #034092;
  color: #fff;
}
.look-choice .opt-h {
  color: #17324f;
}
.look-choice .opt-h em {
  color: #53647a;
}
.look-confirm {
  width: 100%;
}
@media (min-width: 761px) {
  .hero-ui {
    max-width: 490px;
  }
  .sheet-in {
    max-height: 88vh;
  }
  .sheet-info {
    padding-top: 32px !important;
    padding-bottom: 26px !important;
  }
  .sheet-info .sheet-k {
    margin-bottom: 10px;
  }
  .sheet-info h2 {
    font-size: clamp(28px, 2.6vw, 40px) !important;
  }
  .sheet-info .sheet-price {
    margin-bottom: 18px !important;
  }
}
@media (max-width: 760px) {
  .hero-positioning {
    font-size: 13px;
    margin-bottom: 8px;
    max-width: 300px;
  }
  .hero-look {
    width: 100% !important;
    padding: 8px !important;
    gap: 8px !important;
  }
  .look-pic {
    width: 42px !important;
    height: 42px !important;
  }
  .look-t b {
    font-size: 12px !important;
  }
  .look-t i {
    font-size: 12px !important;
  }
  .look-add {
    font-size: 10px !important;
    min-width: 118px;
    padding: 12px !important;
  }
  .hero-ui > #shopAll {
    margin-top: 7px;
  }
  .hero-trust {
    font-size: 9px !important;
  }
  .curated-looks {
    padding: 40px 16px;
  }
  .looks-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .look-card {
    padding: 18px;
  }
  .look-pieces img {
    height: 150px;
  }
  .look-picker {
    padding: 24px 18px;
  }
  .look-choice {
    grid-template-columns: 60px 1fr;
    gap: 12px;
  }
  .look-choice > img {
    width: 60px;
    height: 75px;
  }
  .look-choice h3 span {
    float: none;
    display: block;
  }
  .sheet-info .btn-buy {
    box-shadow: 0 -8px 16px rgba(239, 237, 231, 0.95) !important;
  }
  .pairings {
    margin-bottom: 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .pair-card,
  .look-card {
    transition: none;
  }
}

.static-catalog {
  padding: 50px var(--gut);
}
.static-catalog .browse-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 20px;
}
.static-catalog .browse-piece {
  color: #034092;
  text-decoration: none;
}
.static-catalog img {
  width: 100%;
  height: 230px;
  object-fit: contain;
  background: #034092;
}
.static-catalog h2 {
  font-size: 19px;
}
.static-catalog p {
  font-size: 13px;
}
.static-catalog span {
  display: block;
}

.look-card .btn-cobalt,
.look-confirm,
.product-buy {
  background: #034092;
  color: #fff;
  justify-content: center;
}
.look-card .btn-cobalt:hover,
.look-confirm:hover,
.product-buy:hover {
  background: #0350ab;
}

html body .top[data-state="solid"] .bag-n.on {
  background: #fff;
  color: #034092;
}

/* SEO copy on collection pages and the guides (scripts/seo-copy.mjs) */
.seo-copy, .guide { max-width: 760px; margin: 48px auto 0; line-height: 1.65; }
.seo-copy h2, .guide h2 { font-size: 1.15rem; margin: 28px 0 8px; }
.seo-copy a, .guide a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.guide-pics { display: flex; gap: 12px; overflow-x: auto; margin: 20px 0; }
.guide-pics figure { margin: 0; flex: none; width: min(240px, 60vw); }
.guide-pics img { width: 100%; height: auto; border-radius: 6px; display: block; }
.guide-pics figcaption { font-size: .85rem; opacity: .75; margin-top: 6px; }
.guide-table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: .95rem; display: block; overflow-x: auto; }
.guide-table th, .guide-table td { text-align: left; padding: 10px 8px; border-bottom: 1px solid rgba(127,127,127,.25); vertical-align: top; }
.collection-lead { opacity: .8; }

/* ---------- Bag drawer, "Wear it together" (Codex design accepted by the founder, 11 Nov 2026) ----------
   Open cobalt, upright Inter Tight, the real on-body photo, one pairing. Related things sit close; groups get air. */
.drawer { background: linear-gradient(180deg, var(--wall-deep) 0%, #02368a 100%); color: #fff; }
.drawer .drawer-h { background: none; padding: 26px 24px 0; align-items: flex-start; }
.drawer .drawer-h h2 { font: 500 28px/1.1 var(--sans); text-transform: none; letter-spacing: -0.015em; }
.drawer .bag-count { margin: 4px 0 0; font-size: 15px; color: rgba(255,255,255,.82); }
.drawer .round.x { width: 48px; height: 48px; margin: -6px -10px 0 0; border: 0; border-radius: 50%; }
.drawer .round.x svg { width: 26px; height: 26px; stroke-width: 1.4; }
.drawer .round.x:hover { background: rgba(255,255,255,.1); }
.drawer .round.x:focus-visible, .drawer button:focus-visible, .drawer select:focus-visible, .drawer a:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.bag-ship { margin: 14px 24px 0; font-size: 15px; color: rgba(255,255,255,.92); }
.drawer .lines { padding: 8px 24px 24px; }
.drawer .empty { color: rgba(255,255,255,.75); }
.drawer .bag-line { grid-template-columns: 96px 1fr; gap: 18px; align-items: start; padding: 14px 0 18px; border-bottom: 1px solid rgba(255,255,255,.14); }
.drawer .bag-line img { width: 96px; height: 120px; object-fit: cover; padding: 0; border-radius: 0; background: var(--wall); }
.drawer .bag-line h3 { margin: 2px 0 4px; font: 500 18px/1.2 var(--sans); letter-spacing: -0.005em; text-transform: none; color: #fff; }
.drawer .bag-line p { font-size: 14px; color: rgba(255,255,255,.8); }
.drawer .bag-line .p { margin: 6px 0 12px; font: 500 18px/1 var(--sans); color: #fff; }
.drawer .bag-actions { display: flex; align-items: center; gap: 14px; margin: 0; }
.drawer .qty { display: inline-flex; align-items: center; border: 1px solid rgba(255,255,255,.75); height: 44px; }
.drawer .qty button { width: 44px; height: 42px; border: 0; background: none; color: #fff; font: 400 20px/1 var(--sans); cursor: pointer; padding: 0; text-decoration: none; }
.drawer .qty button:disabled { opacity: .35; cursor: not-allowed; }
.drawer .qty span { min-width: 24px; text-align: center; font-size: 16px; }
.drawer .bag-actions .rm { width: 44px; height: 44px; display: grid; place-items: center; padding: 0; color: #fff; text-decoration: none; }
.drawer .bag-actions .rm svg { width: 22px; height: 22px; }
.drawer .bag-edit { margin-top: 10px; padding: 4px 0; border: 0; background: none; color: rgba(255,255,255,.85); font: 400 13px/1.3 var(--sans); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.drawer .bag-editor { color: var(--ink); }
.drawer .bag-extra { margin: 28px 0 0; padding: 0; border: 0; background: none; }
.drawer .bag-extra h3 { margin: 0 0 12px; font: 500 21px/1.2 var(--sans); letter-spacing: -0.01em; color: #fff; text-transform: none; }
.drawer .bag-extra .pair-photo { width: 100%; height: auto; max-height: none; aspect-ratio: 3 / 2; object-fit: cover; background: var(--wall); }
.drawer .pair-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: 12px; font: 500 18px/1.2 var(--sans); }
.drawer .pair-row b { font-weight: 500; }
.drawer .pair-actions { display: flex; align-items: center; gap: 12px; margin-top: 8px; }
.drawer .pair-pick { flex: 1; min-width: 0; }
.drawer .pair-pick select { width: 100%; height: 44px; padding: 0 28px 0 2px; border: 0; border-bottom: 1px solid #fff; border-radius: 0; background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='m1 1.5 5 5 5-5' fill='none' stroke='white' stroke-width='1.5'/%3E%3C/svg%3E") right 4px center / 12px 8px no-repeat; color: #fff; font: 400 16px/1 var(--sans); appearance: none; cursor: pointer; }
.drawer .pair-pick option { color: var(--ink); }
.drawer .pair-add { flex: none; height: 44px; padding: 0 22px; border: 0; background: #1550c8; color: #fff; font: 500 16px/1 var(--sans); cursor: pointer; }
.drawer .pair-add:hover { background: #1d5fe0; }
.drawer .pair-add:disabled { opacity: .5; }
.drawer .pair-msg { margin: 8px 0 0; min-height: 0; font-size: 13px; color: #ffd9d9; }
.drawer .pair-msg:empty { display: none; }
.drawer .drawer-f { background: none; border-top: 1px solid rgba(255,255,255,.14); padding: 20px 24px calc(18px + env(safe-area-inset-bottom)); text-align: center; }
.drawer .total { display: flex; flex-direction: column; align-items: center; gap: 4px; margin: 0 0 16px; font: inherit; }
.drawer .total-label { font-size: 15px; color: rgba(255,255,255,.9); }
.drawer .total .t { font: 500 32px/1.05 var(--sans); letter-spacing: -0.02em; }
.drawer .total-sub { font-size: 14px; color: rgba(255,255,255,.85); }
.drawer .welcome-saving { justify-content: center; gap: 10px; color: #fff; background: rgba(255,255,255,.1); border: 0; margin: 0 0 12px; }
.drawer .checkout { width: 100%; min-height: 52px; background: var(--chalk); color: var(--wall-deep); font: 500 19px/1 var(--sans); letter-spacing: 0; text-transform: none; border-radius: 0; box-shadow: none; }
.drawer .checkout:hover { background: #fff; }
.drawer .checkout:disabled { background: rgba(255,255,255,.2); color: rgba(255,255,255,.6); }
.drawer .note { margin: 10px 0 2px; font-size: 12px; color: rgba(255,255,255,.72); }
.drawer .note.err { color: #ffd9d9; }
.drawer .note:empty { display: none; }
.drawer .drawer-f .bag-more { color: #fff; font: 400 16px/1 var(--sans); min-height: 44px; text-decoration: none; }
@media (max-height: 920px) {
  .drawer .bag-extra .pair-photo { aspect-ratio: 2 / 1; }
  .drawer .bag-extra { margin-top: 22px; }
  .drawer .drawer-f { padding-top: 14px; }
  .drawer .total { margin-bottom: 12px; gap: 2px; }
  .drawer .total .t { font-size: 30px; }
  .drawer .note { margin-top: 8px; }
  .drawer .drawer-f .bag-more { min-height: 40px; margin: 4px 0 0; }
}

/* "Wear it together" in the buying block: compact photo-led pairing above the main button (product sheet + /products/). */
.companion { margin: 18px 0 16px; color: inherit; }
.companion[hidden] { display: none; }
.companion .cmp-k { margin: 0 0 10px; font: 500 15px/1.2 var(--sans); letter-spacing: 0; text-transform: none; opacity: .9; }
.companion .cmp-card { display: grid; grid-template-columns: minmax(0, 46%) 1fr; gap: 16px; align-items: center; }
.companion .cmp-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: rgba(0,0,0,.08); }
.companion .cmp-card b { display: block; font: 500 18px/1.2 var(--sans); }
.companion .cmp-price { display: block; margin-top: 4px; font-size: 15px; opacity: .85; }
.companion .cmp-open { margin-top: 8px; min-height: 44px; padding: 0; border: 0; background: none; color: inherit; font: 500 15px/1 var(--sans); text-decoration: underline; text-underline-offset: 5px; cursor: pointer; }
.companion .cmp-picks { display: flex; align-items: center; gap: 12px; margin-top: 6px; }
.companion .cmp-picks[hidden] { display: none; }
.companion .pair-pick { flex: 1; min-width: 0; }
.companion .pair-pick select { width: 100%; height: 44px; padding: 0 22px 0 2px; border: 0; border-bottom: 1px solid currentColor; border-radius: 0; background: transparent; color: inherit; font: 400 15px/1 var(--sans); cursor: pointer; }
.companion .pair-pick option { color: #0b0f1a; }
.companion .cmp-rm { min-height: 44px; padding: 0 2px; border: 0; background: none; color: inherit; font: 400 13px/1 var(--sans); text-decoration: underline; opacity: .8; cursor: pointer; }
.companion .cmp-open:focus-visible, .companion select:focus-visible, .companion .cmp-rm:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }

/* "Wear it together" as a sideways row of product shots (founder, 11 Nov 2026) */
.drawer .pair-rail { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -24px; padding: 0 24px 6px; scroll-padding: 0 24px; scrollbar-width: thin; }
.drawer .pair-tile { flex: 0 0 124px; scroll-snap-align: start; display: flex; flex-direction: column; gap: 4px; }
.drawer .pair-tile img { width: 124px; height: 112px; object-fit: contain; padding: 8px; background: var(--chalk); margin-bottom: 6px; }
.drawer .pair-tile b { font: 500 14px/1.25 var(--sans); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.drawer .pair-tile .pair-price { font-size: 14px; color: rgba(255,255,255,.85); }
.drawer .pair-tile .pair-pick select { height: 40px; font-size: 14px; }
.drawer .pair-tile .pair-add { width: 100%; height: 40px; margin-top: 6px; padding: 0; font-size: 15px; }
.drawer .pair-tile .pair-msg { font-size: 12px; margin: 2px 0 0; }
