/* Sofira Grand Wing: "Squeegee Wipe". Slate wall, butter-cream surfaces, lemon rubber gloves. The hero arrives soapy and a squeegee pass wipes it clean; a window you can wipe yourself; sparkles on what you touch. */
:root {
  --slate: #445362;
  --slate-deep: #2f3a44;
  --slate-soft: #dfe4e8;
  --butter: #fbf3d6;
  --cream: #fffbec;
  --lemon: #f0b85a;
  --glove: #f6cf3f;
  --lemon-deep: #9a6a12;
  --ink: #1f262d;
  --muted: #5a636c;
  --line: rgba(31, 38, 45, .13);
  --line-strong: rgba(31, 38, 45, .28);
  --error: #a3261b;
  --display: 'Prata', Georgia, serif;
  --text: 'Albert Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --script: 'Mrs Saint Delafield', cursive;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; overflow-x: clip; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--cream); color: var(--ink); font: 400 1.0625rem/1.6 var(--text); overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4, p, figure, blockquote, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--glove); outline-offset: 3px; }
.wrap { width: min(1280px, 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(--glove); color: var(--ink); padding: .7rem 1rem; font-weight: 700; }
.skip-link:focus { top: 12px; }
.icon { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
[hidden] { display: none !important; }

.kicker { font: 700 .78rem/1.3 var(--text); letter-spacing: .18em; text-transform: uppercase; color: var(--lemon-deep); margin-bottom: .9rem; }
h1, h2 { font-family: var(--display); font-weight: 400; line-height: 1.1; letter-spacing: -.01em; color: var(--slate-deep); }
h1 em, h2 em { font-style: normal; background: linear-gradient(transparent 62%, rgba(246, 207, 63, .55) 62% 92%, transparent 92%); padding: 0 .08em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
h2 { font-size: clamp(2rem, 4.4vw, 3.2rem); }
.lede { font-size: 1.14rem; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: .8rem 1.6rem; border-radius: 14px; background: var(--slate); color: #fff; border: 2px solid var(--slate); text-decoration: none; font: 700 1rem/1.2 var(--text); transition: background-color .2s, color .2s, transform .2s; }
.btn:hover { background: var(--slate-deep); border-color: var(--slate-deep); }
.btn--line { background: transparent; color: var(--slate-deep); }
.btn--line:hover { background: var(--slate-soft); color: var(--slate-deep); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.8rem; }

/* Header: the logo's own slate ground. Solid and unfiltered so the mobile menu is never trapped. */
.header { position: sticky; top: 0; z-index: 60; background: var(--slate); color: #fff; }
.nav { display: flex; align-items: center; gap: 1rem; min-height: 74px; }
.brand { display: flex; align-items: center; margin-right: auto; }
.brand img { width: 210px; height: auto; }
.nav-list { display: flex; align-items: center; gap: clamp(.9rem, 2vw, 1.8rem); }
.nav-link { font: 600 .98rem/1 var(--text); text-decoration: none; color: #f4f1e4; padding: .6rem 0; border-bottom: 2px solid transparent; transition: border-color .2s; }
.nav-link:hover { border-color: var(--glove); }
.nav-close-li { display: none; }
.cart-btn { display: inline-flex; align-items: center; gap: .5rem; min-height: 46px; padding: .3rem .35rem .3rem .85rem; border-radius: 14px; background: var(--glove); color: var(--ink); border: 0; font: 700 .95rem/1 var(--text); }
.cart-btn:hover { background: #ffdc5e; }
.cart-count { display: inline-grid; place-items: center; min-width: 30px; height: 30px; padding: 0 .35rem; border-radius: 10px; background: var(--slate-deep); color: #fff; font-size: .85rem; }
.cart-btn.pop { animation: squish .55s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes squish { 30% { transform: scale(1.08, .9); } }
.nav-toggle, .nav-close { display: none; width: 46px; height: 46px; place-items: center; background: transparent; border: 1px solid rgba(255, 255, 255, .45); border-radius: 12px; color: #fff; }
.back-link { margin-left: auto; }
@media (max-width: 939px) {
  .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(--slate-deep); }
  .nav-list.open .nav-link { font: 400 2.4rem/1.25 var(--display); color: var(--butter); }
  .nav-list.open .nav-close-li { display: block; position: absolute; top: 14px; right: 16px; }
  .nav-close { display: grid; }
}
@media (max-width: 460px) { .brand img { width: 150px; } .cart-word { display: none; } .nav { gap: .5rem; } }

/* Hero */
.hero { background: linear-gradient(var(--slate) 0 clamp(120px, 34vw, 260px), var(--butter) clamp(120px, 34vw, 260px)); padding: clamp(1.5rem, 4vw, 3.5rem) 0 clamp(3rem, 6vw, 5rem); }
.hero-grid { display: grid; gap: 2rem; }
.hero-copy { order: 2; }
.hero h1 { font-size: clamp(2.3rem, 5vw, 4.1rem); margin-bottom: 1.2rem; }
.hero .lede { max-width: 35rem; color: #39424b; }
.cutoff { display: inline-flex; align-items: center; gap: .6rem; margin-top: 1.6rem; padding: .55rem .95rem; border-radius: 12px; background: #fff; border: 1px solid var(--line-strong); font-weight: 600; font-size: .95rem; }
.cutoff-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--muted); flex: none; }
.cutoff.live .cutoff-dot { background: #2f8a55; animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(47, 138, 85, .5); } 70%, 100% { box-shadow: 0 0 0 9px rgba(47, 138, 85, 0); } }

.hero-photo { order: 1; position: relative; border-radius: 26px; overflow: hidden; aspect-ratio: 3 / 2; background: var(--slate-soft); box-shadow: 0 34px 60px -34px rgba(31, 38, 45, .55); }
.hero-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-photo .fog { transform: scale(1.04); }
.blade { position: absolute; top: -4%; bottom: -4%; left: 0; width: 22px; border-radius: 12px; background: linear-gradient(90deg, #1f262d 0 30%, #3a454f 30% 46%, var(--glove) 46%); box-shadow: -14px 0 24px rgba(255, 255, 255, .55), 6px 0 18px rgba(31, 38, 45, .25); opacity: 0; }
.spark { position: absolute; width: 34px; height: 34px; fill: #fff; filter: drop-shadow(0 0 6px rgba(255, 255, 255, .9)); opacity: 0; pointer-events: none; }
.s1 { top: 18%; left: 64%; } .s2 { top: 52%; left: 82%; width: 22px; height: 22px; } .s3 { top: 70%; left: 30%; width: 26px; height: 26px; }
/* Before JS runs, or without it, the clean photo simply shows. */
.soapy .clean { clip-path: inset(0 100% 0 0); }
.wiping .clean { animation: wipe 1.9s cubic-bezier(.55, .05, .3, 1) forwards; }
.wiping .blade { animation: blade 1.9s cubic-bezier(.55, .05, .3, 1) forwards; }
.wiping .spark { animation: twinkle 1.1s ease-out forwards; }
.wiping .s1 { animation-delay: 1.75s; } .wiping .s2 { animation-delay: 1.95s; } .wiping .s3 { animation-delay: 2.15s; }
@keyframes wipe { to { clip-path: inset(0 0 0 0); } }
@keyframes blade { 0% { opacity: 1; left: -30px; transform: rotate(3deg); } 92% { opacity: 1; } 100% { opacity: 0; left: 100%; transform: rotate(-2deg); } }
@keyframes twinkle { 0% { opacity: 0; transform: scale(.2) rotate(0); } 40% { opacity: 1; transform: scale(1.1) rotate(25deg); } 100% { opacity: 0; transform: scale(.6) rotate(60deg); } }
@media (min-width: 960px) {
  .hero { background: linear-gradient(90deg, var(--butter) 0 52%, var(--slate) 52%); padding: clamp(3rem, 6vw, 5rem) 0; }
  .hero-grid { grid-template-columns: 1fr 1.05fr; gap: clamp(2.5rem, 5vw, 5rem); align-items: center; }
  .hero-copy { order: 0; }
  .hero-photo { order: 0; aspect-ratio: 4 / 3.4; }
}

/* Shop */
.shop { padding: clamp(4.5rem, 9vw, 7rem) 0 clamp(4rem, 8vw, 6rem); }
.shop-head { display: grid; gap: 1rem; align-items: end; }
.shop-head > p { color: var(--muted); max-width: 36rem; }
@media (min-width: 900px) { .shop-head { grid-template-columns: 1.1fr 1fr; gap: 3rem; } }
.rooms { margin-top: 2rem; }
.tabs { display: flex; flex-wrap: wrap; gap: .5rem; }
.tab { min-height: 46px; padding: .4rem 1.15rem; border-radius: 12px; background: #fff; border: 1px solid var(--line-strong); font-weight: 700; transition: background-color .2s, color .2s; }
.tab:hover { background: var(--butter); }
.tab[aria-pressed="true"] { background: var(--slate); border-color: var(--slate); color: #fff; box-shadow: inset 0 -4px 0 var(--glove); }
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.4rem .8rem; margin-top: 2rem; }
@media (min-width: 720px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem 1.3rem; } }
@media (min-width: 1180px) { .grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 2rem 1.1rem; } }
.product-card { display: flex; flex-direction: column; background: #fff; border-radius: 20px; overflow: hidden; border: 1px solid var(--line); transition: box-shadow .3s, transform .3s; }
.product-card:hover { box-shadow: 0 22px 40px -24px rgba(31, 38, 45, .45); transform: translateY(-3px); }
.item-photo { position: relative; overflow: hidden; background: var(--butter); }
.item-photo img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.item-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .55) 48%, transparent 60%); transform: translateX(-120%); pointer-events: none; }
.glint { position: absolute; top: 12%; right: 14%; width: 26px; height: 26px; opacity: 0; pointer-events: none; background: #fff; clip-path: polygon(50% 0, 60% 40%, 100% 50%, 60% 60%, 50% 100%, 40% 60%, 0 50%, 40% 40%); filter: drop-shadow(0 0 4px #fff); }
@media (prefers-reduced-motion: no-preference) {
  .product-card:hover .item-photo::after { transform: translateX(120%); transition: transform .9s cubic-bezier(.3, .1, .2, 1); }
  .product-card:hover .glint { animation: twinkle 1s ease-out .35s; }
}
.item-body { display: flex; flex-direction: column; flex: 1; padding: .9rem 1rem 1.1rem; }
.room { font: 700 .72rem/1.3 var(--text); letter-spacing: .14em; text-transform: uppercase; color: var(--lemon-deep); margin-bottom: .3rem; }
.item-body h3 { font: 400 1.12rem/1.25 var(--display); color: var(--slate-deep); }
.item-desc { margin-top: .35rem; font-size: .9rem; line-height: 1.45; color: var(--muted); }
.buy { margin-top: auto; padding-top: .9rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem; }
.item-price, .price { font: 700 1.15rem/1 var(--text); color: var(--slate-deep); }
.cur { font-weight: 700; margin-right: .03em; }
.add-btn { min-height: 44px; padding: .5rem .95rem; border-radius: 12px; background: var(--glove); color: var(--ink); border: 0; font: 700 .9rem/1 var(--text); transition: background-color .2s; }
.add-btn:hover { background: #ffdc5e; }
.stepper { display: inline-flex; align-items: center; border-radius: 12px; background: var(--slate-soft); }
.stepper button, .qty button { display: grid; place-items: center; width: 42px; height: 42px; background: none; border: 0; border-radius: 12px; color: var(--slate-deep); }
.stepper button:hover, .qty button:hover { background: rgba(67, 82, 95, .14); }
.stepper button:disabled, .qty button:disabled { opacity: .35; cursor: not-allowed; }
.stepper output { min-width: 2ch; text-align: center; font-weight: 700; }
.stock { margin-top: .5rem; font-size: .8rem; color: var(--muted); }
@media (max-width: 559px) {
  .item-body { padding: .75rem .7rem .9rem; }
  .item-body h3 { font-size: 1rem; }
  .item-desc { font-size: .84rem; }
  .buy { flex-direction: column; align-items: stretch; }
  .add-btn { width: 100%; }
  .stepper { justify-content: space-between; }
}

/* The wipeable window */
.wipe { background: var(--slate); color: #f4f1e4; padding: clamp(4.5rem, 9vw, 7rem) 0; overflow: clip; }
.wipe h2 { color: #fff; }
.wipe h2 em { background: linear-gradient(transparent 62%, rgba(246, 207, 63, .5) 62% 92%, transparent 92%); }
.wipe .kicker { color: var(--glove); }
.wipe-grid { display: grid; gap: 2.4rem; align-items: center; }
.wipe-copy p:not(.kicker) { margin: 1rem 0 1.6rem; max-width: 26rem; color: #dde3e8; }
.wipe .btn--line { color: #fff; border-color: rgba(255, 255, 255, .6); }
.wipe .btn--line:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.window { position: relative; justify-self: center; width: min(460px, 100%); border-radius: 22px; overflow: hidden; border: 10px solid #f4f1e4; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6); touch-action: none; -webkit-user-select: none; user-select: none; }
.window img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; }
#suds { position: absolute; inset: 0; width: 100%; height: 100%; cursor: grab; transition: opacity .6s; }
.window.clean #suds { opacity: 0; pointer-events: none; }
.wipe-hint { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); padding: .6rem 1.1rem; border-radius: 999px; background: var(--slate-deep); color: #fff; font-weight: 700; pointer-events: none; }
@media (prefers-reduced-motion: no-preference) { .wipe-hint { animation: nudge 2.4s ease-in-out infinite; } @keyframes nudge { 50% { transform: translate(-42%, -50%); } } }
@media (min-width: 900px) { .wipe-grid { grid-template-columns: 1fr 1fr; gap: 4rem; } }

/* About */
.about { padding: clamp(4.5rem, 9vw, 7rem) 0; background: var(--butter); }
.about-grid { display: grid; gap: 2.6rem; align-items: center; }
.about-photos { display: grid; grid-template-columns: 1.3fr 1fr; gap: .8rem; align-items: end; }
.about-photos figure { border-radius: 20px; overflow: hidden; }
.about-photos figure:first-child img { aspect-ratio: 4 / 5; object-fit: cover; object-position: 30% 50%; }
.about-photos figure:last-child img { aspect-ratio: 2 / 3; object-fit: cover; }
.about-copy h2 { margin-bottom: 1.3rem; }
.about-copy > p + p { margin-top: 1rem; color: var(--muted); }
.values { display: grid; gap: .7rem; margin-top: 1.8rem; }
.values li { padding: 1rem 1.15rem; border-radius: 16px; background: #fff; border-left: 5px solid var(--glove); }
.values h3 { font: 700 1.02rem/1.3 var(--text); color: var(--slate-deep); margin-bottom: .15rem; }
.values p { color: var(--muted); }
.mission { margin-top: clamp(3rem, 7vw, 5rem); text-align: center; }
.mission-label { font: 400 clamp(2.2rem, 5vw, 3.2rem)/1 var(--script); color: var(--lemon-deep); }
.mission blockquote p { font: 400 clamp(1.7rem, 4vw, 3rem)/1.2 var(--display); color: var(--slate-deep); max-width: 22ch; margin: .4rem auto 0; }
.mission-sub { margin: 1rem auto 0; max-width: 34rem; color: var(--muted); }
@media (min-width: 900px) { .about-grid { grid-template-columns: 1fr 1fr; gap: clamp(3rem, 6vw, 6rem); } }

/* Testimonials */
.voices { padding: clamp(4.5rem, 9vw, 7rem) 0; }
.voice-list { display: grid; gap: 1.2rem; margin-top: 2.4rem; }
.voice-list figure { position: relative; padding: 1.8rem 1.6rem; border-radius: 20px; background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; gap: 1.2rem; }
.voice-list figure::before { content: ''; position: absolute; top: -12px; right: 22px; width: 26px; height: 26px; background: var(--glove); clip-path: polygon(50% 0, 60% 40%, 100% 50%, 60% 60%, 50% 100%, 40% 60%, 0 50%, 40% 40%); }
.voice-list blockquote p { font: 400 1.25rem/1.4 var(--display); color: var(--slate-deep); }
.voice-list figcaption { margin-top: auto; font-weight: 700; color: var(--muted); }
@media (min-width: 860px) { .voice-list { grid-template-columns: repeat(3, 1fr); } }

/* FAQ */
.faq { padding: 0 0 clamp(4.5rem, 9vw, 7rem); }
.faq-grid { display: grid; gap: 2rem; }
.facts { display: grid; gap: .6rem; margin-top: 1.6rem; }
.facts div { padding: .9rem 1rem; border-radius: 14px; background: var(--butter); }
.facts dt { font: 700 .74rem/1.3 var(--text); letter-spacing: .12em; text-transform: uppercase; color: var(--lemon-deep); }
.facts dd { margin-top: .25rem; }
.faq-list { display: grid; gap: .7rem; align-content: start; }
.faq details { border-radius: 16px; background: #fff; border: 1px solid var(--line-strong); padding: 0 1.2rem; }
.faq 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.15rem/1.3 var(--display); color: var(--slate-deep); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { color: var(--lemon-deep); transition: transform .25s; }
.faq details[open] summary .icon { transform: rotate(45deg); }
.faq details p { padding: 0 0 1.2rem; color: var(--muted); }
@media (min-width: 900px) { .faq-grid { grid-template-columns: 1fr 1.5fr; gap: 4rem; } }

/* Contact */
.contact { background: var(--slate-deep); color: #f4f1e4; padding: clamp(4.5rem, 9vw, 7rem) 0; }
.contact h2 { color: #fff; margin-bottom: 2rem; }
.contact h2 em { background: linear-gradient(transparent 62%, rgba(246, 207, 63, .45) 62% 92%, transparent 92%); }
.contact .kicker { color: var(--glove); }
.contact-grid { display: grid; gap: 2.6rem; align-items: center; }
.contact-cards { font-style: normal; display: grid; grid-template-columns: minmax(0, 1fr); gap: .8rem; }
.contact-card { padding: 1.3rem 1.4rem; border-radius: 18px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); }
.contact-card h3 { font: 700 .76rem/1.3 var(--text); letter-spacing: .14em; text-transform: uppercase; color: var(--glove); margin-bottom: .45rem; }
.contact-card p { overflow-wrap: anywhere; }
.contact-card a { color: #fff; font-weight: 700; text-underline-offset: 4px; overflow-wrap: anywhere; }
.contact-card > a { display: inline-block; margin-top: .6rem; }
.contact-photo { border-radius: 20px; overflow: hidden; }
.contact-photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
@media (min-width: 640px) { .contact-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } .contact-card.wide { grid-column: 1 / -1; } }
@media (min-width: 980px) { .contact-grid { grid-template-columns: 1.2fr 1fr; gap: 4rem; } }

/* Policies */
.policies { padding: 3.5rem 0; background: var(--butter); }
.policy-list { display: grid; gap: 2rem; }
.policy-list h2 { font-size: 1.5rem; margin-bottom: .5rem; }
.policy-list p { color: var(--muted); font-size: .96rem; }
.policy-list a { display: inline-block; margin-top: .6rem; font-weight: 700; color: var(--slate-deep); text-underline-offset: 4px; }
@media (min-width: 800px) { .policy-list { grid-template-columns: repeat(3, 1fr); gap: 3rem; } }

/* Footer */
.footer { background: var(--slate); color: #f4f1e4; padding: 4rem 0 2rem; }
.footer-top { display: grid; gap: 2.4rem; }
.footer-line { font: 400 1.6rem/1.25 var(--display); color: #fff; }
.footer-line em { font-style: normal; color: var(--glove); }
.footer h2 { font: 700 .76rem/1.3 var(--text); letter-spacing: .14em; text-transform: uppercase; color: var(--glove); margin-bottom: .9rem; }
.footer li + li { margin-top: .45rem; }
.footer a { text-decoration: none; overflow-wrap: anywhere; }
.footer a:hover { text-decoration: underline; color: #fff; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem 2rem; margin-top: 3rem; padding-top: 1.4rem; border-top: 1px solid rgba(255, 255, 255, .2); font-size: .86rem; color: #cfd6dc; }
@media (min-width: 800px) { .footer-top { grid-template-columns: 1.6fr repeat(3, 1fr); } }

/* Cart drawer */
.cart-overlay { position: fixed; inset: 0; z-index: 150; background: rgba(31, 38, 45, .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(430px, 100%); display: flex; flex-direction: column; background: var(--cream); transform: translateX(100%); visibility: hidden; transition: transform .35s cubic-bezier(.2, .8, .2, 1), visibility .35s; }
.cart-sidebar.open { transform: none; visibility: visible; }
.cart-head { display: flex; justify-content: space-between; align-items: center; padding: 1rem 1.3rem; background: var(--slate); color: #fff; }
.cart-head h2 { font-size: 1.7rem; color: #fff; }
.cart-close { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: none; border: 1px solid rgba(255, 255, 255, .45); color: #fff; }
.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 solid var(--line); }
.cart-item img { width: 72px; height: 72px; object-fit: cover; border-radius: 12px; }
.cart-item h3 { font: 400 1rem/1.25 var(--display); color: var(--slate-deep); }
.cart-item-row { display: flex; justify-content: space-between; align-items: center; margin-top: .5rem; }
.qty { display: inline-flex; align-items: center; border-radius: 12px; background: var(--slate-soft); }
.qty button { width: 40px; height: 40px; }
.qty output { min-width: 2ch; text-align: center; font-weight: 700; }
.cart-item-sub { font-weight: 700; color: var(--slate-deep); }
.cart-remove { margin-top: .35rem; padding: .3rem 0; background: none; border: 0; font-size: .84rem; color: var(--muted); text-decoration: underline; }
.cart-empty { padding: 3rem 0; text-align: center; }
.cart-empty p { font: 400 1.4rem/1.3 var(--display); margin-bottom: 1.2rem; color: var(--slate-deep); }
.cart-foot { padding: 1.2rem 1.3rem 1.4rem; border-top: 1px solid var(--line); background: var(--butter); }
.cart-total { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 1rem; }
.cart-total .price { font-size: 1.35rem; }
.cart-foot .btn { width: 100%; }
.cart-foot p { margin-top: .8rem; font-size: .84rem; color: var(--muted); text-align: center; }

/* Order page */
.order-page { padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(4rem, 8vw, 6rem); }
.order-intro { max-width: 40rem; margin-bottom: 2.2rem; }
.order-intro h1 { font-size: clamp(2.4rem, 6vw, 3.6rem); margin-bottom: .9rem; }
.order-intro .lede { color: var(--muted); }
.order { display: grid; gap: 2rem; align-items: start; }
.order-form { background: #fff; border-radius: 22px; border: 1px solid var(--line); padding: 2rem clamp(1.1rem, 4vw, 2.2rem); }
.order-form h2, .summary h2 { font-size: 1.8rem; margin-bottom: 1.3rem; }
.field { margin-bottom: 1.2rem; }
.field label { display: block; margin-bottom: .4rem; font-weight: 700; }
.field label span { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; padding: .8rem .95rem; font: 400 1rem/1.4 var(--text); color: var(--ink); background: #fff; border: 1px solid var(--line-strong); border-radius: 12px; }
.field textarea { resize: vertical; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--glove); 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: .84rem; color: var(--muted); }
.field-error { margin-top: .35rem; font-size: .88rem; font-weight: 700; color: var(--error); }
.field-error:empty { display: none; }
.order-submit { width: 100%; margin-top: .6rem; }
.summary { background: var(--slate); color: #f4f1e4; border-radius: 22px; padding: 2rem clamp(1.1rem, 4vw, 2rem); }
.summary h2 { color: #fff; }
.summary table { width: 100%; border-collapse: collapse; }
.summary td { padding: .8rem 0; border-bottom: 1px solid rgba(255, 255, 255, .18); vertical-align: top; }
.summary td small { display: block; margin-top: .2rem; color: #cfd6dc; font-size: .84rem; }
.summary td:last-child { text-align: right; font-weight: 700; white-space: nowrap; padding-left: 1rem; }
.summary-total { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-top: 1.2rem; }
.summary-total .price { font-size: 1.5rem; color: var(--glove); }
.summary-note { margin-top: 1.2rem; }
.summary-note a { color: var(--glove); text-underline-offset: 4px; }
.sent { max-width: 44rem; background: #fff; border-radius: 22px; border: 1px solid var(--line); padding: 2.4rem clamp(1.1rem, 4vw, 2.4rem); }
.sent h2 { font-size: clamp(1.9rem, 4.5vw, 2.7rem); margin-bottom: 1rem; }
.sent-copy { margin-top: 2rem; }
.sent-copy pre { margin-top: 1rem; padding: 1rem; background: var(--cream); border: 1px solid var(--line); border-radius: 12px; white-space: pre-wrap; overflow-wrap: anywhere; font-size: .86rem; }
@media (min-width: 900px) { .order { grid-template-columns: 1.4fr 1fr; gap: 3rem; } .summary { position: sticky; top: 96px; } }

/* Legal pages */
.legal-head { background: var(--butter); padding: clamp(3rem, 7vw, 5rem) 0 clamp(2.4rem, 5vw, 3.5rem); }
.legal-head h1 { font-size: clamp(2.4rem, 6vw, 3.8rem); }
.legal-body { padding: clamp(2.5rem, 6vw, 4rem) 0 clamp(4rem, 8vw, 6rem); }
.legal { max-width: 46rem; }
.legal h2 { font-size: 1.6rem; margin: 2.2rem 0 .7rem; }
.legal p + p { margin-top: .9rem; }
.legal ul, .legal ol { padding-left: 1.3rem; list-style: disc; margin-top: .6rem; }
.legal ol { list-style: decimal; }
.legal li + li { margin-top: .45rem; }
.legal a { color: var(--slate); 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; } }
