/* Janeca Sundry Shelf: "Sachet Strips". A sari-sari window on F. Muñoz St., Malate: green iron grille,
   sachet strips clipped to sagging wires with clothespins, and the Listahan store notebook as the cart. */
:root {
  --grille: #2F6B4F;
  --grille-deep: #23523C;
  --sachet: #F4C430;
  --sachet-soft: #FBE7A1;
  --chili: #D2452F;
  --chili-deep: #A9331F;
  --ink: #1F2421;
  --ink-soft: #4A514C;
  --paper: #FAF6EC;
  --counter: #EFE6CF;
  --wire: #4B504C;
  --rule: #B8CEDB;
  --margin: #E2A194;
  --round: 'Baloo 2', 'Manrope', system-ui, sans-serif;
  --sans: 'Manrope', system-ui, sans-serif;
  --hand: 'Caveat', 'Manrope', cursive;
  --gutter: clamp(16px, 4vw, 48px);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
html, body { overflow-x: clip; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 500 1rem/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; font-family: var(--round); font-weight: 800; line-height: 1.02; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.wrap { width: 100%; max-width: 1320px; margin: 0 auto; padding: 0 var(--gutter); }
.icon { width: 20px; height: 20px; stroke: currentColor; stroke-width: 2.4; fill: none; stroke-linecap: round; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--paper); padding: 10px 14px; border-radius: 6px; }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--chili); outline-offset: 3px; }
.kicker { font: 800 .78rem/1.2 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--grille); margin-bottom: 14px; }
.cur { font-family: var(--round); }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 10px 24px; border: 3px solid var(--ink); border-radius: 999px; background: var(--sachet); color: var(--ink); font: 800 1.05rem/1 var(--round); text-decoration: none; cursor: pointer; box-shadow: 0 4px 0 var(--ink); transition: box-shadow .15s, translate .15s; }
.btn:hover { translate: 0 2px; box-shadow: 0 2px 0 var(--ink); }
.btn--line { background: var(--paper); }

/* Grille rail: green bar with balusters and rings, used as a band between sections */
.shop::before, .how::before, .contact::before, .footer::before {
  content: ''; display: block; height: 30px; margin-bottom: clamp(40px, 6vw, 72px);
  background:
    linear-gradient(var(--grille), var(--grille)) 0 0 / 100% 6px no-repeat,
    linear-gradient(var(--grille), var(--grille)) 0 100% / 100% 6px no-repeat,
    radial-gradient(circle, transparent 5px, var(--grille) 5.5px 8px, transparent 8.5px) 2px 50% / 48px 30px repeat-x,
    repeating-linear-gradient(90deg, var(--grille) 0 5px, transparent 5px 48px);
}

/* Header */
.header { position: sticky; top: 0; z-index: 50; background: var(--paper); border-bottom: 3px solid var(--ink); }
.header::after { content: ''; display: block; height: 6px; background: repeating-linear-gradient(90deg, var(--sachet) 0 28px, var(--chili) 28px 56px, var(--grille) 56px 84px); }
.nav { display: flex; align-items: center; gap: 20px; min-height: 70px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.brand-mark { width: 40px; height: 40px; flex: none; }
.brand-word { display: flex; flex-direction: column; line-height: 1; }
.bw-1 { font: 800 1.7rem/.85 var(--round); color: var(--grille); letter-spacing: .02em; padding-top: 4px; }
.bw-2 { font: 800 .62rem/1 var(--sans); letter-spacing: .3em; color: var(--chili); margin-top: 2px; }
.nav-list { display: flex; gap: 2px; }
.nav-link { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; font: 700 .95rem/1 var(--sans); text-decoration: none; border-radius: 999px; }
.nav-link:hover { background: var(--sachet-soft); }
.nav-close-li { display: none; }
.cart-btn { display: inline-flex; align-items: center; gap: 10px; min-height: 46px; padding: 4px 8px 4px 16px; border: 2px solid var(--ink); border-radius: 4px 12px 12px 4px; cursor: pointer; color: var(--ink);
  background: linear-gradient(90deg, transparent 8px, var(--margin) 8px 10px, transparent 10px), repeating-linear-gradient(var(--paper) 0 10px, var(--rule) 10px 11px); }
.cart-label { font: 700 1.35rem/1 var(--hand); }
.cart-btn .cart-count { min-width: 28px; height: 28px; padding: 0 6px; display: grid; place-items: center; border-radius: 999px; background: var(--chili); color: var(--paper); font: 800 .9rem/1 var(--round); }
.cart-btn.pop { animation: pop .35s; }
@keyframes pop { 50% { scale: 1.1; } }
.nav-toggle, .nav-close { display: none; width: 46px; height: 46px; border: 2px solid var(--ink); border-radius: 999px; background: var(--paper); color: var(--ink); place-items: center; cursor: pointer; }
.nav-toggle .icon, .nav-close .icon { width: 22px; height: 22px; }
.back-link { border: 2px solid var(--ink); }
@media (max-width: 899px) {
  .nav { gap: 10px; min-height: 62px; }
  .nav-toggle, .nav-close { display: grid; }
  .nav-list { display: none; position: fixed; inset: 0; z-index: 60; flex-direction: column; gap: 0; padding: 88px 16px 24px; background: var(--grille); overflow-y: auto; }
  .nav-list.open { display: flex; }
  .nav-list li { border-bottom: 2px dashed rgba(250, 246, 236, .35); }
  .nav-list .nav-link { width: 100%; min-height: 62px; padding: 0 4px; color: var(--sachet); font: 800 1.9rem/1 var(--round); border-radius: 0; }
  .nav-list .nav-link:hover { background: none; }
  .nav-close-li { display: block; position: absolute; top: 12px; right: 16px; border: 0 !important; }
  .cart-label { display: none; }
  .cart-btn { padding: 4px 6px 4px 14px; }
  .bw-1 { font-size: 1.45rem; }
  .bw-2 { font-size: .54rem; letter-spacing: .24em; }
}

/* Hero: the store window, framed by the grille */
.hero { padding: clamp(20px, 3vw, 40px) 0 clamp(28px, 4vw, 48px); }
.grille-frame { display: grid; grid-template-columns: minmax(0, 42fr) minmax(0, 58fr); gap: 14px; padding: 14px; background: var(--grille); border-radius: 10px 10px 4px 4px; box-shadow: inset 0 0 0 4px var(--grille-deep); }
.hero-copy { background: var(--paper); padding: clamp(24px, 4vw, 52px); border-radius: 4px; display: flex; flex-direction: column; justify-content: center; }
.hero h1 { font-size: clamp(2.6rem, 4.3vw, 4.3rem); line-height: .92; margin-bottom: 22px; color: var(--grille); }
.hero h1 span { display: block; color: var(--chili); }
.hero h1, .hero h1 span { white-space: nowrap; }
@media (max-width: 359px) { .hero h1, .hero h1 span { white-space: normal; } }
.lede { font-size: clamp(1.02rem, 1.3vw, 1.15rem); max-width: 46ch; color: var(--ink-soft); }
.lede strong { color: var(--ink); background: var(--sachet-soft); padding: 0 4px; border-radius: 3px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 10px; }
.hero-window { position: relative; overflow: hidden; border-radius: 4px; min-height: 360px; background: var(--counter); }
.hero-window img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bars { position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(var(--grille), var(--grille)) 0 34% / 100% 8px no-repeat,
    radial-gradient(circle, transparent 9px, var(--grille) 9.5px 14px, transparent 14.5px) calc(12.5% - 0px) 34.8% / 25% 40px repeat-x,
    repeating-linear-gradient(90deg, transparent 0 calc(25% - 7px), var(--grille) calc(25% - 7px) 25%); }
.open-sign { position: absolute; right: 22px; bottom: 22px; margin: 0; padding: 12px 18px; background: var(--sachet); border: 3px solid var(--ink); border-radius: 6px; font: 700 .85rem/1.2 var(--sans); rotate: -4deg; box-shadow: 0 5px 0 var(--ink); text-align: center; }
.open-sign span { display: block; font: 800 1.6rem/1 var(--round); color: var(--chili); }
@media (max-width: 899px) {
  .grille-frame { grid-template-columns: minmax(0, 1fr); gap: 10px; padding: 10px; }
  .hero-window { order: -1; min-height: 0; aspect-ratio: 3 / 2; }
}

/* Wire index */
.wire-index ol { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.wire-index a { display: flex; align-items: center; gap: 12px; min-height: 64px; padding: 10px 14px; border: 2px solid var(--ink); border-radius: 8px; background: var(--paper); text-decoration: none; font: 800 1.15rem/1.05 var(--round); }
.wire-index a b { flex: none; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 999px; background: var(--sachet); border: 2px solid var(--ink); font-size: 1.1rem; }
.wire-index li:nth-child(2) b { background: var(--chili); color: var(--paper); }
.wire-index li:nth-child(3) b { background: var(--grille); color: var(--paper); }
.wire-index a small { display: block; margin-left: auto; font: 700 .78rem/1 var(--sans); color: var(--ink-soft); white-space: nowrap; }
.wire-index a:hover { background: var(--sachet-soft); }
@media (max-width: 899px) { .wire-index ol { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; } .wire-index a { font-size: 1rem; } .wire-index a small { display: none; } }

/* Shop: hanging wires */
.shop { padding: clamp(48px, 7vw, 88px) 0 clamp(48px, 6vw, 80px); }
.shop-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 34ch); gap: 24px; align-items: end; margin-bottom: clamp(28px, 4vw, 48px); }
.shop-head h2, .how h2, .about h2, .questions h2 { font-size: clamp(2.2rem, 4.6vw, 3.9rem); color: var(--grille); }
.shop-head h2 span, .how h2 span, .about h2 span { color: var(--chili); }
.shop-head p { margin: 0; color: var(--ink-soft); font-size: .95rem; }
@media (max-width: 699px) { .shop-head { grid-template-columns: minmax(0, 1fr); } }

.wire { margin-bottom: clamp(44px, 6vw, 72px); }
.wire-sign { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 18px; margin-bottom: 10px; }
.wire-no { margin: 0; padding: 4px 10px; background: var(--ink); color: var(--sachet); font: 800 .75rem/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; border-radius: 3px; align-self: center; }
.wire-sign h3 { font-size: clamp(1.8rem, 3vw, 2.5rem); }
.wire-note { flex-basis: 100%; margin: 0; max-width: 62ch; color: var(--ink-soft); }
.wire-run { margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter); }
.strips { display: grid; grid-template-columns: repeat(var(--count), minmax(0, 236px)); gap: 26px; width: fit-content; max-width: 100%; padding: 0 8px 16px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 40' preserveAspectRatio='none'%3E%3Cpath d='M0 2 Q50 38 100 2' stroke='%234B504C' stroke-width='3' fill='none' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E") 0 12px / 100% 40px no-repeat; }
.strip { position: relative; padding-top: calc(var(--dy) + 12px); --c: var(--sachet); --c-ink: var(--ink); }
.strip:nth-child(3n+2) { --c: var(--chili); --c-ink: var(--paper); }
.strip:nth-child(3n) { --c: var(--grille); --c-ink: var(--paper); }
.pin { position: absolute; left: 50%; top: calc(var(--dy) + 2px); width: 16px; height: 32px; margin-left: -8px; z-index: 2; }
.pin-a, .pin-b { fill: #C9A06B; stroke: var(--ink); stroke-width: 1.2; }
.pin-spring { fill: #8E9490; stroke: var(--ink); stroke-width: 1.2; }
.strip-body { position: relative; margin-top: 18px; padding: 12px 12px 14px; background: var(--c); border-radius: 2px; transform-origin: 50% -18px; rotate: -1.2deg; transition: rotate .3s; }
.strip:nth-child(even) .strip-body { rotate: 1.2deg; }
.strip:hover .strip-body { rotate: 0deg; }
.strip-body::before, .strip-body::after { content: ''; position: absolute; left: 0; right: 0; height: 8px; background-size: 10px 8px; background-repeat: repeat-x; }
.strip-body::before { top: -8px; background-image: conic-gradient(from 148deg at 50% 0, var(--c) 64deg, transparent 0); }
.strip-body::after { bottom: -8px; background-image: conic-gradient(from -32deg at 50% 100%, var(--c) 64deg, transparent 0); }
.strip-photo { position: relative; border-radius: 2px; overflow: hidden; background: var(--paper); }
.strip-photo img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.strip-info { position: relative; margin-top: 12px; padding: 14px 12px 12px; background: var(--paper); border-top: 3px dashed var(--c); outline: 2px dashed color-mix(in srgb, var(--ink) 30%, transparent); outline-offset: -6px; }
.strip-price { position: absolute; right: -6px; top: -44px; margin: 0; width: 76px; height: 76px; display: flex; align-items: center; justify-content: center; white-space: nowrap; border-radius: 50%; background: var(--sachet); border: 3px solid var(--ink); font: 800 1.35rem/1 var(--round); color: var(--ink); rotate: 8deg; }
.strip:nth-child(3n+1) .strip-price { background: var(--paper); }
.strip-price .cur { font-size: .8em; }
.strip h4 { font-size: 1.18rem; line-height: 1.05; padding-right: 46px; margin-bottom: 6px; }
.desc { font-size: .92rem; line-height: 1.45; color: var(--ink-soft); margin-bottom: 8px; }
.left { font: 800 .72rem/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--chili); margin-bottom: 12px; }
.isabit { width: 100%; min-height: 48px; display: flex; align-items: baseline; justify-content: center; gap: 8px; border: 2px solid var(--ink); border-radius: 999px; background: var(--chili); color: var(--paper); cursor: pointer; font: 800 1.2rem/1 var(--round); padding: 12px 14px 8px; box-shadow: 0 3px 0 var(--ink); }
.isabit small { font: 800 .66rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--sachet); }
.isabit:hover { background: var(--chili-deep); }
.stepper { display: flex; align-items: center; justify-content: space-between; min-height: 48px; border: 2px solid var(--ink); border-radius: 999px; background: var(--sachet); padding: 2px; }
.stepper[hidden] { display: none; }
.stepper button { width: 42px; height: 42px; display: grid; place-items: center; border: 0; border-radius: 999px; background: var(--paper); color: var(--ink); cursor: pointer; }
.stepper button:disabled { opacity: .35; cursor: not-allowed; }
.stepper output { font: 800 1.3rem/1 var(--round); }
.strip.in-cart .strip-info { outline-color: var(--grille); }
.strip.swing .strip-body { animation: swing 1s ease-out; }
@keyframes swing { 0% { rotate: 0deg; } 20% { rotate: 7deg; } 45% { rotate: -5deg; } 70% { rotate: 2.5deg; } 100% { rotate: 0deg; } }
@media (prefers-reduced-motion: reduce) { .strip.swing .strip-body { animation: none; } .strip-body { transition: none; } html { scroll-behavior: auto; } }
@media (max-width: 699px) {
  .wire-run { overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; }
  .strips { grid-template-columns: repeat(var(--count), 62vw); width: max-content; max-width: none; gap: 18px; }
  .strip { scroll-snap-align: center; }
}

/* How to order */
.how { padding: 0 0 clamp(56px, 7vw, 96px); background: var(--counter); }
.how-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.how-photo { margin: 0; border: 10px solid var(--paper); box-shadow: 0 0 0 2px var(--ink), 8px 10px 0 var(--grille); rotate: -2deg; max-width: 440px; justify-self: center; }
.how-photo img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; }
.how h2 { margin-bottom: 24px; }
.steps { counter-reset: s; border-top: 2px solid var(--ink); }
.steps li { counter-increment: s; display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--rule); }
.steps li::before { content: counter(s); font: 700 2.4rem/1 var(--hand); color: var(--chili); }
.steps p { margin: 0; max-width: 60ch; }
.how-foot { margin: 18px 0 0; font: 700 1.35rem/1.3 var(--hand); color: var(--grille); }
@media (max-width: 899px) { .how-grid { grid-template-columns: minmax(0, 1fr); } .how-photo { max-width: 300px; } }

/* About */
.about { padding: clamp(56px, 8vw, 104px) 0; }
.about-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 4fr); grid-template-rows: auto auto; gap: 24px clamp(24px, 4vw, 56px); align-items: start; }
.about-copy { grid-row: 1 / 3; max-width: 60ch; }
.about h2 { margin-bottom: 22px; }
.about-photo { margin: 0; border: 10px solid var(--grille); outline: 2px solid var(--ink); outline-offset: -2px; }
.about-photo img { width: 100%; object-fit: cover; }
.about-photo--wide img { aspect-ratio: 3 / 2; }
.about-photo--tall { width: 62%; justify-self: end; margin-top: -60px; position: relative; }
.about-photo--tall img { aspect-ratio: 2 / 3; }
@media (max-width: 899px) { .about-grid { grid-template-columns: minmax(0, 1fr); } .about-copy { grid-row: auto; } .about-photo--tall { width: 55%; margin-top: -80px; } }

/* Questions */
.questions { padding: clamp(56px, 7vw, 96px) 0; background: var(--grille); color: var(--paper); }
.questions h2 { color: var(--sachet); }
.questions h2 span { display: block; color: var(--paper); }
.questions-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 32px clamp(28px, 5vw, 72px); }
.faq-list details { border-bottom: 2px dashed rgba(250, 246, 236, .4); }
.faq-list summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 64px; cursor: pointer; list-style: none; font: 800 1.3rem/1.2 var(--round); }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary .icon { flex: none; color: var(--sachet); transition: rotate .2s; }
.faq-list details[open] summary .icon { rotate: 45deg; }
.faq-list details p { max-width: 62ch; margin: 0 0 20px; color: rgba(250, 246, 236, .9); }
.faq-list a { color: var(--sachet); }
@media (max-width: 899px) { .questions-grid { grid-template-columns: minmax(0, 1fr); } }

/* Contact: the store sign */
.contact { padding: 0 0 clamp(56px, 7vw, 96px); }
.contact::before { margin-bottom: clamp(48px, 6vw, 80px); }
.store-sign { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); border: 3px solid var(--ink); border-radius: 10px; overflow: hidden; box-shadow: 8px 8px 0 var(--ink); }
.sign-board { background: var(--grille); color: var(--paper); padding: clamp(24px, 4vw, 48px); }
.sign-tag { font: 700 1.6rem/1 var(--hand); color: var(--sachet); margin-bottom: 8px; }
.sign-board h2 { font-size: clamp(2rem, 4vw, 3.2rem); color: var(--sachet); margin-bottom: 16px; }
.sign-addr { font-size: 1.1rem; overflow-wrap: anywhere; }
.sign-map { display: inline-flex; align-items: center; min-height: 46px; padding: 0 20px; border: 2px solid var(--sachet); border-radius: 999px; color: var(--sachet); font-weight: 800; text-decoration: none; }
.sign-map:hover { background: var(--sachet); color: var(--ink); }
.sign-facts { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); background: var(--paper); }
.sign-facts div { padding: clamp(18px, 3vw, 32px); border-left: 2px dashed var(--rule); border-bottom: 2px dashed var(--rule); }
.sign-facts dt { font: 800 .75rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--chili); margin-bottom: 8px; }
.sign-facts dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
@media (max-width: 899px) { .store-sign { grid-template-columns: minmax(0, 1fr); box-shadow: 5px 5px 0 var(--ink); } }
@media (max-width: 559px) { .sign-facts { grid-template-columns: minmax(0, 1fr); } .sign-facts div { border-left: 0; } }

/* Footer */
.footer { background: var(--ink); color: var(--paper); padding-bottom: 28px; }
.footer::before { margin-bottom: 48px; background-color: var(--ink); }
.footer a { color: var(--paper); text-decoration-color: rgba(250, 246, 236, .4); }
.footer a:hover { color: var(--sachet); }
.footer-top { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 32px; padding-bottom: 36px; }
.footer-line { margin: 0; }
.fl-name { display: block; font: 800 3rem/.9 var(--round); color: var(--sachet); }
.fl-sub { display: block; margin-top: 10px; max-width: 30ch; color: rgba(250, 246, 236, .75); }
.fcol h2 { font: 800 .78rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--sachet); margin-bottom: 14px; }
.fcol li { margin-bottom: 4px; }
.fcol li a { display: inline-block; padding: 6px 0; overflow-wrap: anywhere; }
.fcol p { color: rgba(250, 246, 236, .85); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 20px; border-top: 1px solid rgba(250, 246, 236, .2); font-size: .88rem; color: rgba(250, 246, 236, .7); }
@media (max-width: 899px) { .footer-top { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .footer-line { grid-column: 1 / -1; } }
@media (max-width: 499px) { .footer-top { grid-template-columns: minmax(0, 1fr); } }

/* Listahan: the cart as a ruled store notebook page */
.cart-overlay { position: fixed; inset: 0; z-index: 70; background: rgba(31, 36, 33, .55); opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s; }
.cart-overlay.active { opacity: 1; visibility: visible; }
.cart-sidebar { position: fixed; top: 0; right: 0; bottom: 0; z-index: 80; width: min(430px, 100%); display: flex; flex-direction: column; color: var(--ink); visibility: hidden; transform: translateX(100%); transition: transform .3s, visibility .3s;
  background: linear-gradient(90deg, transparent 54px, var(--margin) 54px 56px, transparent 56px), repeating-linear-gradient(var(--paper) 0 35px, var(--rule) 35px 36px); background-attachment: local; border-left: 3px solid var(--ink); }
.cart-sidebar.open { transform: none; visibility: visible; }
.cart-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 18px 6px 68px; border-top: 14px solid var(--grille); }
.cart-head h2 { font: 700 2.8rem/1 var(--hand); color: var(--chili); }
.cart-close { width: 46px; height: 46px; display: grid; place-items: center; border: 2px solid var(--ink); border-radius: 999px; background: var(--paper); cursor: pointer; color: var(--ink); }
.list-date { margin: 0; padding: 0 18px 0 68px; font: 600 1.3rem/36px var(--hand); color: var(--ink-soft); }
.cart-items { flex: 1; overflow-y: auto; padding: 0 18px 0 68px; }
.cart-item { position: relative; padding: 6px 0 8px; border-bottom: 2px solid transparent; }
.cart-item img { display: none; }
.cart-item h3 { font: 700 1.55rem/30px var(--hand); letter-spacing: 0; }
.cart-item-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.qty { display: inline-flex; align-items: center; gap: 4px; }
.qty button { width: 44px; height: 44px; display: grid; place-items: center; border: 2px solid var(--ink); border-radius: 999px; background: var(--paper); color: var(--ink); cursor: pointer; }
.qty button:disabled { opacity: .35; cursor: not-allowed; }
.qty .icon { width: 16px; height: 16px; }
.qty output { min-width: 32px; text-align: center; font: 700 1.6rem/1 var(--hand); }
.cart-item-sub { font: 700 1.6rem/1 var(--hand); }
.cart-remove { position: absolute; top: 6px; right: 0; min-height: 30px; padding: 0 4px; border: 0; background: none; font: 700 .76rem/1 var(--sans); color: var(--chili); text-decoration: underline; cursor: pointer; }
.cart-item h3 { padding-right: 64px; }
.cart-empty { padding: 20px 0; }
.cart-empty p { font: 700 1.6rem/36px var(--hand); margin-bottom: 16px; }
.cart-foot { padding: 14px 18px 22px 68px; background: rgba(250, 246, 236, .92); border-top: 2px solid var(--ink); }
.cart-foot .btn { width: 100%; margin: 14px 0 10px; }
.cart-foot p { margin: 0; font-size: .86rem; color: var(--ink-soft); }
.cart-total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-weight: 700; }
.cart-total .price { font: 800 1.8rem/1 var(--round); color: var(--chili); border-bottom: 5px double var(--ink); }
.price .cur { font-family: var(--round); }

/* Order page */
.order-page { padding: clamp(32px, 5vw, 64px) 0 clamp(56px, 7vw, 96px); }
.order-intro h1, .legal-head h1 { font-size: clamp(2.3rem, 5vw, 4rem); color: var(--grille); margin-bottom: 14px; }
.order-intro { margin-bottom: 28px; max-width: 62ch; }
.order { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 4vw, 48px); align-items: start; }
.order-form, .summary { border: 3px solid var(--ink); border-radius: 10px; padding: clamp(20px, 3vw, 32px); background: var(--paper); }
.summary { background: linear-gradient(90deg, transparent 40px, var(--margin) 40px 42px, transparent 42px), repeating-linear-gradient(var(--paper) 0 35px, var(--rule) 35px 36px); padding-left: 56px; }
.order-form h2, .summary h2, .sent h2 { font-size: 1.8rem; margin-bottom: 18px; }
.summary h2 { font: 700 2.4rem/1 var(--hand); color: var(--chili); }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 800; margin-bottom: 6px; }
.field label span { font-weight: 500; color: var(--ink-soft); }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: 12px 14px; border: 2px solid var(--ink); border-radius: 8px; background: #fff; font: 500 1rem/1.4 var(--sans); color: var(--ink); }
.field [aria-invalid="true"] { border-color: var(--chili-deep); }
.field-hint { margin: 6px 0 0; font-size: .85rem; color: var(--ink-soft); }
.field-error { margin: 6px 0 0; font-size: .85rem; color: var(--chili-deep); font-weight: 700; }
.field-error:empty { display: none; }
.order-submit { width: 100%; }
.summary table { width: 100%; border-collapse: collapse; }
.summary td { padding: 6px 0; vertical-align: top; font: 700 1.35rem/1.2 var(--hand); }
.summary td:last-child { text-align: right; white-space: nowrap; }
.summary td small { display: block; font: 600 .8rem/1.3 var(--sans); color: var(--ink-soft); }
.summary-total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 12px; padding-top: 12px; border-top: 2px solid var(--ink); font-weight: 800; }
.summary-total .price { font: 800 1.6rem/1 var(--round); color: var(--chili); }
.summary-note { margin: 14px 0 0; }
.sent { max-width: 640px; padding: clamp(24px, 4vw, 40px); border: 3px solid var(--ink); border-radius: 10px; background: var(--sachet-soft); }
.sent-copy { margin-top: 20px; }
.sent-copy pre { white-space: pre-wrap; overflow-wrap: anywhere; font-size: .85rem; background: var(--paper); padding: 14px; border-radius: 6px; }
@media (max-width: 899px) { .order { grid-template-columns: minmax(0, 1fr); } }

/* Legal pages */
.legal-head { padding: clamp(36px, 5vw, 64px) 0 0; }
.legal-head .kicker { color: var(--chili); }
.legal-body { padding-bottom: clamp(56px, 7vw, 96px); }
.legal { max-width: 70ch; }
.legal h2 { font-size: 1.5rem; color: var(--grille); margin: 32px 0 10px; }
.legal ul { list-style: disc; padding-left: 22px; margin-bottom: 1em; }
.legal a { color: var(--grille); font-weight: 700; overflow-wrap: anywhere; }
