/* Jose Clark Boutique: "Woven Label". The site is built from garment labels and stitching: a woven label that sews itself, stitched seams between sections, hang tags on strings, a garment bag that unzips, and a care label for a footer. */
:root {
  --burgundy: #6b1f2a;
  --burgundy-deep: #4a1219;
  --wine: #3a0e14;
  --ivory: #f6f0e6;
  --linen: #ede4d3;
  --card: #fbf7ef;
  --gold: #b08d57;
  --gold-light: #d9be86;
  --thread: #e9d7b8;
  --ink: #2a1a1c;
  --muted: #6b5753;
  --line: rgba(42, 26, 28, .14);
  --line-strong: rgba(42, 26, 28, .3);
  --error: #a3261b;
  --display: 'Bellefair', 'Didot', Georgia, serif;
  --text: 'Raleway', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --weave: repeating-linear-gradient(0deg, rgba(255, 255, 255, .055) 0 1px, transparent 1px 3px), repeating-linear-gradient(90deg, rgba(0, 0, 0, .12) 0 1px, transparent 1px 3px);
  --foil: linear-gradient(100deg, #8a6a3a 0%, #c9a46a 30%, #f0dcae 45%, #b08d57 60%, #8a6a3a 100%);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 86px; overflow-x: clip; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--ivory); color: var(--ink); font: 400 1.0625rem/1.65 var(--text); overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4, p, figure, ul, ol, dl { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.wrap { width: min(1240px, 100% - 2 * clamp(16px, 4vw, 48px)); margin-inline: auto; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 300; background: var(--burgundy); color: var(--ivory); padding: .7rem 1rem; font-weight: 600; }
.skip-link:focus { top: 12px; }
.icon { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; flex: none; }
[hidden] { display: none !important; }

.kicker { font: 600 .74rem/1.4 var(--text); letter-spacing: .24em; text-transform: uppercase; color: var(--gold); margin-bottom: 1rem; }
h1, h2 { font-family: var(--display); font-weight: 400; line-height: 1.04; color: var(--burgundy-deep); }
h1 em, h2 em { font-style: italic; color: var(--burgundy); }
h2 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); }
.lede { font-size: 1.12rem; color: #4b3a37; }
.cur { font-family: var(--text); margin-right: .04em; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: .8rem 1.6rem; background: var(--burgundy); color: var(--ivory); border: 1px solid var(--burgundy); text-decoration: none; font: 600 .82rem/1.2 var(--text); letter-spacing: .16em; text-transform: uppercase; transition: background-color .2s, color .2s; }
.btn:hover { background: var(--burgundy-deep); }
.btn--line { background: transparent; color: var(--burgundy); }
.btn--line:hover { background: var(--burgundy); color: var(--ivory); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }

/* Stitched seams between sections */
.seam { position: relative; height: 34px; }
.seam span { position: absolute; left: 0; right: 0; top: 50%; height: 2px; background: repeating-linear-gradient(90deg, var(--gold) 0 14px, transparent 14px 22px); }
.seam::before, .seam::after { content: ''; position: absolute; left: 0; right: 0; height: 1px; background: var(--line); }
.seam::before { top: 6px; } .seam::after { bottom: 6px; }

/* Header. Solid and unfiltered so the fixed mobile menu is never trapped. */
.header { position: sticky; top: 0; z-index: 60; background: var(--ivory); border-bottom: 1px solid var(--line); }
.header::after { content: ''; position: absolute; left: 0; right: 0; bottom: 4px; height: 1px; background: repeating-linear-gradient(90deg, var(--gold) 0 8px, transparent 8px 14px); opacity: .7; }
.nav { display: flex; align-items: center; gap: 1rem; min-height: 74px; }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; margin-right: auto; }
.mono { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--burgundy); color: var(--ivory); font: 400 1.2rem/1 var(--display); letter-spacing: .02em; box-shadow: inset 0 0 0 3px var(--burgundy), inset 0 0 0 4px var(--gold-light); flex: none; }
.mono--lg { width: 84px; height: 84px; font-size: 2.1rem; margin: 0 auto 1rem; }
.word { display: flex; flex-direction: column; line-height: 1; }
.word span:first-child { font: 400 1.45rem/1 var(--display); color: var(--burgundy-deep); letter-spacing: .04em; }
.word span:last-child { font: 600 .6rem/1 var(--text); letter-spacing: .38em; text-transform: uppercase; color: var(--gold); margin-top: .35rem; }
.nav-list { display: flex; align-items: center; gap: clamp(1rem, 2.2vw, 2rem); }
.nav-link { font: 500 .8rem/1 var(--text); letter-spacing: .14em; text-transform: uppercase; text-decoration: none; padding: .7rem 0; border-bottom: 1px dashed transparent; transition: border-color .2s; }
.nav-link:hover { border-color: var(--gold); }
.nav-close-li { display: none; }
.cart-btn { display: inline-flex; align-items: center; gap: .55rem; min-height: 46px; padding: .35rem .4rem .35rem .9rem; background: var(--card); border: 1px solid var(--line-strong); color: var(--burgundy-deep); font: 600 .74rem/1 var(--text); letter-spacing: .14em; text-transform: uppercase; }
.cart-btn:hover { border-color: var(--burgundy); }
.cart-count { display: inline-grid; place-items: center; min-width: 30px; height: 30px; padding: 0 .4rem; background: var(--burgundy); color: var(--ivory); letter-spacing: 0; font: 400 1rem/1 var(--display); }
.cart-btn.pop .bag-ico { animation: hang .7s ease; transform-origin: 50% 0; }
@keyframes hang { 30% { transform: rotate(-10deg); } 65% { transform: rotate(6deg); } }
.nav-toggle, .nav-close { display: none; width: 46px; height: 46px; place-items: center; background: var(--card); border: 1px solid var(--line-strong); color: var(--burgundy-deep); }
.back-link { margin-left: auto; }
@media (max-width: 919px) {
  .nav-toggle { display: grid; flex: 0 0 auto; }
  .nav-list { display: none; }
  .nav-list.open { display: flex; position: fixed; inset: 0; z-index: 200; height: 100dvh; overflow-y: auto; flex-direction: column; align-items: flex-start; justify-content: center; gap: .3rem; padding: 6rem 2rem 3rem; background: var(--weave), var(--burgundy); }
  .nav-list.open .nav-link { font: 400 2.5rem/1.2 var(--display); letter-spacing: 0; text-transform: none; color: var(--ivory); }
  .nav-list.open .nav-close-li { display: block; position: absolute; top: 14px; right: 16px; }
  .nav-close { display: grid; }
}
@media (max-width: 440px) { .cart-word { display: none; } .cart-btn { padding: .35rem; gap: .3rem; } .word span:first-child { font-size: 1.2rem; } .mono { width: 40px; height: 40px; font-size: 1rem; } .nav { gap: .5rem; } }

/* Hero: the woven label */
.hero { padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(2.5rem, 5vw, 3.5rem); }
.hero-grid { display: grid; gap: 2.6rem; align-items: center; }
.hero h1 { font-size: clamp(2.7rem, 6vw, 4.8rem); margin-bottom: 1.3rem; }
.hero h1 em { display: block; }
.hero .lede { max-width: 34rem; }
.hero-stage { position: relative; padding-bottom: 3rem; }
.label { position: relative; z-index: 2; width: min(420px, 82%); aspect-ratio: 600 / 340; margin: 0 0 -3.5rem auto; background: var(--weave), var(--burgundy); color: var(--ivory); box-shadow: 0 22px 40px -22px rgba(58, 14, 20, .55); transform: rotate(-3deg); }
.label::before, .label::after { content: ''; position: absolute; top: 10%; bottom: 10%; width: 14px; background: var(--weave), var(--burgundy-deep); }
.label::before { left: -12px; clip-path: polygon(100% 0, 0 8%, 0 92%, 100% 100%); }
.label::after { right: -12px; clip-path: polygon(0 0, 100% 8%, 100% 92%, 0 100%); }
.stitch { position: absolute; inset: 0; width: 100%; height: 100%; }
.stitch-line { fill: none; stroke: var(--gold-light); stroke-width: 2.4; stroke-dasharray: 9 7; }
.sew-path { fill: none; stroke: #fff; stroke-width: 10; stroke-dasharray: 1; stroke-dashoffset: 1; }
.label.sewing .sew-path { animation: sew 2.2s cubic-bezier(.55, .1, .35, 1) forwards; }
.label.sewn .sew-path { stroke-dashoffset: 0; }
@keyframes sew { to { stroke-dashoffset: 0; } }
.label-body { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 1rem; }
.label-mono { font: 400 clamp(2.4rem, 5vw, 3.6rem)/1 var(--display); letter-spacing: .04em; }
.label-name { margin-top: .3rem; font: 400 clamp(1.2rem, 2.4vw, 1.7rem)/1.1 var(--display); letter-spacing: .32em; text-transform: uppercase; margin-right: -.32em; }
.label-sub { margin-top: .45rem; font: 600 clamp(.52rem, 1vw, .64rem)/1 var(--text); letter-spacing: .34em; text-transform: uppercase; color: var(--gold-light); }
.hero-photo { position: relative; padding: 10px; background: var(--card); border: 1px solid var(--line); }
.hero-photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: 1fr 1.05fr; gap: clamp(3rem, 6vw, 5rem); } }
@media (max-width: 599px) { .label { width: 86%; margin-right: 4%; } }

/* Shop: hang tags on strings */
.shop { padding: clamp(3.5rem, 7vw, 5.5rem) 0 clamp(3rem, 6vw, 4.5rem); }
.shop-head { display: grid; gap: 1rem; align-items: end; }
.shop-head > p { color: var(--muted); max-width: 34rem; }
@media (min-width: 900px) { .shop-head { grid-template-columns: 1.1fr 1fr; gap: 3rem; } }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin: 2rem 0 .5rem; }
.chips a { display: inline-flex; align-items: center; gap: .55rem; min-height: 46px; padding: .4rem 1rem .4rem .45rem; text-decoration: none; background: var(--card); border: 1px dashed var(--gold); font-weight: 600; font-size: .9rem; color: var(--burgundy-deep); transition: background-color .2s; }
.chips a:hover { background: var(--linen); }
.chips span { display: grid; place-items: center; min-width: 34px; height: 34px; padding: 0 .3rem; background: var(--burgundy); color: var(--ivory); font: 400 1rem/1 var(--display); }

.coll { margin-top: clamp(2.6rem, 5vw, 3.6rem); }
.coll-head { display: grid; gap: .3rem; padding-bottom: 1rem; margin-bottom: .6rem; border-bottom: 1px solid var(--line-strong); }
.coll-num { font: italic 400 1rem/1 var(--display); color: var(--gold); }
.coll-head h3 { font: 400 clamp(1.7rem, 3.2vw, 2.3rem)/1.1 var(--display); color: var(--burgundy-deep); }
.coll-head p:last-child { color: var(--muted); font-size: .96rem; }
/* The rail the tags hang from */
.rail { position: relative; display: flex; flex-wrap: wrap; justify-content: center; gap: 1.6rem 1.2rem; padding-top: 1.4rem; }
.rail::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 6px; border-radius: 3px; background: linear-gradient(#e2c890, #9c7a46); box-shadow: 0 2px 3px rgba(42, 26, 28, .25); }
.tag-wrap { --w: calc((100% - 2 * 1.2rem) / 3); flex: 0 1 var(--w); position: relative; padding-top: 34px; transform-origin: 50% 0; filter: drop-shadow(0 12px 14px rgba(58, 14, 20, .12)); }
.tag-wrap::before { content: ''; position: absolute; left: 50%; top: -1.4rem; width: 1.5px; height: calc(34px + 1.4rem + 12px); background: linear-gradient(var(--ink), #6b5753); transform: translateX(-50%) rotate(4deg); transform-origin: 50% 0; z-index: 1; }
.tag { position: relative; display: flex; flex-direction: column; height: 100%; background: var(--card); padding: 2.2rem 1rem 1.1rem; clip-path: polygon(16% 0, 84% 0, 100% 8%, 100% 100%, 0 100%, 0 8%); }
.eyelet { position: absolute; left: 50%; top: 12px; width: 16px; height: 16px; margin-left: -8px; border-radius: 50%; background: var(--ivory); box-shadow: 0 0 0 3px #c9a46a, 0 0 0 4px #8a6a3a, inset 0 1px 2px rgba(0, 0, 0, .3); }
.tag-no { position: absolute; top: 12px; right: 14px; font: 600 .66rem/1 var(--text); letter-spacing: .14em; color: var(--muted); }
.tag-photo { margin: .4rem 0 .9rem; background: var(--linen); }
.tag-photo img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.tag h4 { font: 400 1.3rem/1.15 var(--display); color: var(--burgundy-deep); text-align: center; }
.tag-desc { margin-top: .35rem; font-size: .9rem; line-height: 1.45; color: var(--muted); text-align: center; }
.tag-price { margin-top: .7rem; text-align: center; font: 400 1.6rem/1 var(--display); background: var(--foil); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tag-price .cur { -webkit-text-fill-color: #9a7a48; font-weight: 600; font-size: .7em; }
.care { display: flex; justify-content: center; gap: .55rem; margin: .7rem 0 .2rem; padding-top: .6rem; border-top: 1px dashed var(--line-strong); }
.care svg { width: 18px; height: 18px; fill: none; stroke: var(--muted); stroke-width: 1.3; stroke-linejoin: round; opacity: .7; }
.buy { margin-top: auto; padding-top: .8rem; display: flex; justify-content: center; }
.add-btn { width: 100%; min-height: 46px; padding: .55rem .8rem; background: var(--burgundy); color: var(--ivory); border: 0; font: 600 .74rem/1.2 var(--text); letter-spacing: .12em; text-transform: uppercase; transition: background-color .2s; }
.add-btn:hover { background: var(--burgundy-deep); }
.stepper { display: inline-flex; align-items: center; justify-content: space-between; width: 100%; border: 1px solid var(--burgundy); background: var(--ivory); }
.stepper button, .qty button { display: grid; place-items: center; width: 44px; height: 44px; background: none; border: 0; color: var(--burgundy-deep); }
.stepper button:hover, .qty button:hover { background: var(--linen); }
.stepper button:disabled, .qty button:disabled { opacity: .35; cursor: not-allowed; }
.stepper output, .qty output { min-width: 2ch; text-align: center; font-weight: 600; }
.stock { margin-top: .55rem; text-align: center; font-size: .78rem; letter-spacing: .06em; color: var(--muted); }
.product-card.in-cart .tag { background: linear-gradient(var(--card), var(--card)) padding-box, var(--gold); }
.product-card.in-cart .tag-no { color: var(--burgundy); }
.product-card.in-cart .tag-no::after { content: ' · in your bag'; }
@media (prefers-reduced-motion: no-preference) {
  .tag-wrap:hover { animation: sway 1.6s ease-in-out; }
  .tag-wrap.swing { animation: swing .9s cubic-bezier(.3, 1.5, .5, 1); }
  @keyframes sway { 30% { transform: rotate(-1.4deg); } 70% { transform: rotate(1deg); } }
  @keyframes swing { 25% { transform: rotate(-4deg); } 60% { transform: rotate(2.5deg); } }
}
/* Men and Filipiniana share one rail row on wide screens */
.pair { display: grid; gap: 0 2.4rem; }
@media (min-width: 1000px) {
  .pair { grid-template-columns: 1fr 1fr; }
  .pair .tag-wrap { --w: calc((100% - 1.2rem) / 2); }
  .coll--acc .tag-wrap { --w: calc((100% - 4 * 1.2rem) / 5); }
  .coll--acc .tag h4 { font-size: 1.15rem; }
}
@media (max-width: 719px) {
  .rail { gap: 1.4rem .7rem; }
  .tag-wrap, .pair .tag-wrap { --w: calc((100% - .7rem) / 2); }
  .tag { padding: 2rem .6rem .9rem; }
  .tag h4 { font-size: 1.08rem; }
  .tag-desc { font-size: .82rem; }
  .tag-price { font-size: 1.35rem; }
  .add-btn { letter-spacing: .06em; font-size: .68rem; }
  .care { gap: .35rem; } .care svg { width: 15px; height: 15px; }
}

/* Editorial band */
.band figure { margin: 0; }
.band img { width: 100%; aspect-ratio: 21 / 8; object-fit: cover; }
@media (max-width: 719px) { .band img { aspect-ratio: 3 / 2; } }

/* How to order */
.ordering { padding: clamp(3.5rem, 7vw, 5.5rem) 0; }
.ordering-grid { display: grid; gap: 2.6rem; align-items: center; }
.ordering h2 { margin-bottom: 1.6rem; }
.steps { display: grid; gap: .9rem; }
.steps li { display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: start; padding: 1.1rem 1.2rem; background: var(--weave), var(--burgundy); color: var(--ivory); position: relative; }
.steps li::after { content: ''; position: absolute; inset: 6px; border: 1.5px dashed rgba(217, 190, 134, .7); pointer-events: none; }
.step-no { font: 400 2rem/1 var(--display); color: var(--gold-light); min-width: 1.4ch; }
.steps h3 { font: 400 1.35rem/1.2 var(--display); }
.steps p { color: #ead9d4; font-size: .96rem; }
.mirror { padding: 10px; background: var(--card); border: 1px solid var(--line); max-width: 440px; justify-self: center; }
.mirror img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
@media (min-width: 900px) { .ordering-grid { grid-template-columns: 1.3fr 1fr; gap: 4rem; } }

/* Fitting notes (FAQ) */
.notes { padding: clamp(3.5rem, 7vw, 5.5rem) 0; background: var(--linen); }
.notes-grid { display: grid; gap: 2rem; }
.faq-list { border-top: 1px solid var(--line-strong); }
.faq-list details { border-bottom: 1px dashed var(--line-strong); }
.faq-list summary { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 60px; padding: 1rem 0; cursor: pointer; list-style: none; font: 400 1.35rem/1.25 var(--display); color: var(--burgundy-deep); }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary .icon { color: var(--gold); transition: transform .25s; }
.faq-list details[open] summary .icon { transform: rotate(45deg); }
.faq-list details p { padding: 0 2.5rem 1.3rem 0; color: var(--muted); }
.faq-list a { color: var(--burgundy); text-underline-offset: 3px; }
@media (min-width: 900px) { .notes-grid { grid-template-columns: 1fr 1.6fr; gap: 4rem; } }

/* Visit */
.visit { padding: clamp(3.5rem, 7vw, 5.5rem) 0; }
.visit-grid { display: grid; gap: 2.6rem; align-items: center; }
.visit h2 { margin-bottom: 1.8rem; }
.visit-cards { font-style: normal; display: grid; grid-template-columns: minmax(0, 1fr); gap: .8rem; }
.visit-card { padding: 1.2rem 1.3rem; background: var(--card); border: 1px solid var(--line); outline: 1px dashed var(--gold); outline-offset: -7px; }
.visit-card h3 { font: 600 .72rem/1.3 var(--text); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: .45rem; }
.visit-card p { overflow-wrap: anywhere; }
.visit-card a { color: var(--burgundy-deep); font-weight: 600; text-underline-offset: 4px; overflow-wrap: anywhere; }
.visit-card > a { display: inline-block; margin-top: .6rem; }
.street { padding: 10px; background: var(--card); border: 1px solid var(--line); max-width: 420px; justify-self: center; }
.street img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
@media (min-width: 640px) { .visit-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } .visit-card.wide { grid-column: 1 / -1; } }
@media (min-width: 960px) { .visit-grid { grid-template-columns: 1.4fr 1fr; gap: 4rem; } }

/* Footer: the care label sewn inside a garment */
.footer { background: var(--weave), var(--burgundy-deep); padding: clamp(3rem, 6vw, 4.5rem) 0; }
.care-label { position: relative; max-width: 460px; margin: 0 auto; padding: 2.2rem 1.8rem 1.8rem; background: var(--ivory); text-align: center; color: var(--ink); box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .55); }
.care-label::before { content: ''; position: absolute; inset: 8px; border: 1.5px dashed var(--gold); pointer-events: none; }
.care-label::after { content: ''; position: absolute; left: 50%; top: -14px; width: 70%; height: 14px; transform: translateX(-50%); background: var(--ivory); clip-path: polygon(6% 100%, 0 0, 100% 0, 94% 100%); opacity: .85; }
.foot-logo { width: 110px; margin: 0 auto .8rem; }
.cl-name { font: 400 1.5rem/1.1 var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--burgundy-deep); }
.cl-line { margin-top: .5rem; font-size: .82rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.cl-rule { height: 1px; margin: 1rem auto; width: 60%; background: var(--line-strong); }
.cl-list { display: grid; gap: .35rem; font-size: .84rem; letter-spacing: .04em; }
.cl-list span { display: inline-block; min-width: 4.2em; margin-right: .5em; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; font-size: .7rem; color: var(--gold); }
.cl-list a { overflow-wrap: anywhere; text-underline-offset: 3px; }
.care-label .care { border-top: 0; margin: 1rem 0 .4rem; }
.cl-links { display: flex; flex-wrap: wrap; justify-content: center; gap: .2rem 1rem; margin-top: .6rem; }
.cl-links a { display: inline-block; padding: .45rem 0; font-size: .76rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; color: var(--burgundy); }
.cl-links a:hover { text-decoration: underline; text-underline-offset: 3px; }
.cl-small { margin-top: .8rem; font-size: .74rem; color: var(--muted); letter-spacing: .06em; }

/* Cart drawer: the garment bag */
.cart-overlay { position: fixed; inset: 0; z-index: 150; background: rgba(42, 26, 28, .5); opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
.cart-overlay.active { opacity: 1; visibility: visible; }
.cart-sidebar { position: fixed; top: 0; right: 0; bottom: 0; z-index: 160; width: min(440px, 100%); display: flex; flex-direction: column; background: var(--ivory); padding-left: 22px; transform: translateX(100%); visibility: hidden; transition: transform .35s cubic-bezier(.2, .8, .2, 1), visibility .35s; }
.cart-sidebar.open { transform: none; visibility: visible; }
.zip { position: absolute; left: 0; top: 0; bottom: 0; width: 22px; background: var(--weave), var(--burgundy); }
.zip::before { content: ''; position: absolute; left: 7px; top: 0; bottom: 0; width: 8px; background: repeating-linear-gradient(180deg, #c9a46a 0 3px, transparent 3px 6px); }
.zip-pull { position: absolute; left: 3px; top: 0; width: 16px; height: 34px; border-radius: 3px 3px 8px 8px; background: linear-gradient(#f0dcae, #9a7a48); box-shadow: 0 2px 4px rgba(0, 0, 0, .35); }
@media (prefers-reduced-motion: no-preference) { .cart-sidebar.open .zip-pull { animation: unzip .9s cubic-bezier(.3, .1, .2, 1) .15s forwards; } }
@keyframes unzip { to { top: calc(100% - 40px); } }
.cart-head { position: relative; display: flex; justify-content: space-between; align-items: center; padding: 1.4rem 1.3rem 1rem; border-bottom: 1px dashed var(--line-strong); }
.hook { position: absolute; left: 50%; top: 4px; width: 20px; height: 14px; margin-left: -10px; border: 2px solid var(--gold); border-bottom: 0; border-radius: 10px 10px 0 0; }
.cart-head h2 { font-size: 1.9rem; font-style: italic; }
.cart-close { display: grid; place-items: center; width: 44px; height: 44px; background: none; border: 1px solid var(--line-strong); color: var(--burgundy-deep); }
.cart-items { flex: 1; overflow-y: auto; padding: .6rem 1.3rem; }
.cart-item { display: grid; grid-template-columns: 72px 1fr; gap: 1rem; padding: 1rem 0; border-bottom: 1px dashed var(--line-strong); }
.cart-item img { width: 72px; height: 72px; object-fit: cover; background: var(--linen); }
.cart-item h3 { font: 400 1.1rem/1.2 var(--display); color: var(--burgundy-deep); }
.cart-item-row { display: flex; justify-content: space-between; align-items: center; margin-top: .5rem; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line-strong); }
.qty button { width: 40px; height: 40px; }
.cart-item-sub { font-weight: 600; color: var(--burgundy-deep); }
.cart-remove { margin-top: .35rem; padding: .3rem 0; background: none; border: 0; font-size: .82rem; color: var(--muted); text-decoration: underline; }
.cart-empty { padding: 3rem 0; text-align: center; }
.cart-empty p { font: italic 400 1.5rem/1.3 var(--display); margin-bottom: 1.2rem; color: var(--burgundy-deep); }
.cart-foot { padding: 1.2rem 1.3rem 1.4rem; border-top: 1px dashed var(--line-strong); background: var(--linen); }
.cart-total { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 1rem; font-size: .92rem; }
.cart-total .price { font: 400 1.5rem/1 var(--display); color: var(--burgundy-deep); }
.cart-foot .btn { width: 100%; }
.cart-foot p { margin-top: .8rem; font-size: .82rem; color: var(--muted); text-align: center; }

/* Order page */
.header--plain .nav-link { color: var(--burgundy-deep); }
.order-page { padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(4rem, 8vw, 6rem); }
.order-intro { max-width: 40rem; margin-bottom: 2.4rem; }
.order-intro h1 { font-size: clamp(2.4rem, 6vw, 3.8rem); margin-bottom: .9rem; }
.order-intro .lede { color: var(--muted); }
.order { display: grid; gap: 2rem; align-items: start; }
.order-form { background: var(--card); border: 1px solid var(--line); outline: 1px dashed var(--gold); outline-offset: -8px; padding: 2.2rem clamp(1.1rem, 4vw, 2.2rem); }
.order-form h2, .summary h2 { font-size: 1.9rem; margin-bottom: 1.4rem; }
.field { margin-bottom: 1.2rem; }
.field label { display: block; margin-bottom: .4rem; font-weight: 600; font-size: .9rem; }
.field label span { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; padding: .8rem .9rem; font: 400 1rem/1.4 var(--text); color: var(--ink); background: #fff; border: 1px solid var(--line-strong); border-radius: 0; }
.field textarea { resize: vertical; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--gold); outline-offset: 1px; }
.field [aria-invalid="true"] { border-color: var(--error); box-shadow: inset 0 0 0 1px var(--error); }
.field-hint { margin-top: .35rem; font-size: .8rem; color: var(--muted); }
.field-error { margin-top: .35rem; font-size: .86rem; font-weight: 600; color: var(--error); }
.field-error:empty { display: none; }
.order-submit { width: 100%; margin-top: .6rem; }
.summary { background: var(--weave), var(--burgundy); color: var(--ivory); padding: 2rem clamp(1.1rem, 4vw, 2rem); }
.summary h2 { color: var(--ivory); }
.summary table { width: 100%; border-collapse: collapse; }
.summary td { padding: .8rem 0; border-bottom: 1px dashed rgba(217, 190, 134, .45); vertical-align: top; }
.summary td small { display: block; margin-top: .2rem; color: #e2cfc9; font-size: .82rem; }
.summary td:last-child { text-align: right; font-weight: 600; white-space: nowrap; padding-left: 1rem; }
.summary-total { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-top: 1.2rem; font-size: .92rem; }
.summary-total .price { font: 400 1.6rem/1 var(--display); color: var(--gold-light); }
.summary-note { margin-top: 1.2rem; font-size: .9rem; }
.summary-note a { color: var(--gold-light); text-underline-offset: 4px; }
.sent { max-width: 44rem; background: var(--card); border: 1px solid var(--line); padding: 2.6rem clamp(1.1rem, 4vw, 2.4rem); }
.sent h2 { font-size: clamp(1.9rem, 4.5vw, 2.8rem); margin-bottom: 1rem; }
.sent-copy { margin-top: 2rem; }
.sent-copy pre { margin-top: 1rem; padding: 1rem; background: var(--ivory); border: 1px solid var(--line); white-space: pre-wrap; overflow-wrap: anywhere; font-size: .84rem; }
@media (min-width: 900px) { .order { grid-template-columns: 1.4fr 1fr; gap: 3rem; } .summary { position: sticky; top: 96px; } }

/* Legal pages */
.legal-head { background: var(--linen); border-bottom: 1px dashed var(--gold); padding: clamp(3rem, 7vw, 5rem) 0 clamp(2.4rem, 5vw, 3.5rem); }
.legal-head h1 { font-size: clamp(2.4rem, 6vw, 4rem); }
.legal-body { padding: clamp(2.5rem, 6vw, 4rem) 0 clamp(4rem, 8vw, 6rem); }
.legal { max-width: 46rem; }
.legal > p:first-child { font-size: 1.12rem; }
.legal h2 { font-size: 1.7rem; margin: 2.2rem 0 .7rem; }
.legal p + p { margin-top: .9rem; }
.legal ul { padding-left: 1.3rem; list-style: disc; margin-top: .6rem; }
.legal li + li { margin-top: .45rem; }
.legal a { color: var(--burgundy); text-underline-offset: 3px; overflow-wrap: anywhere; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; } }
