:root {
  color-scheme: light;
  --ink: #211e1a;
  --muted: #655b4f;
  --paper: #f6f3ed;
  --surface: #fffdf9;
  --line: #dfd8cc;
  --night: #161411;
  --cream: #faf0dc;
  --gold: #efbf70;
  --gold-hover: #fcce87;
  --burgundy: #54231d;
  --serif: "Baskervville", Georgia, serif;
  --sans: Inter, system-ui, sans-serif;
  font: 100%/1.5 var(--sans);
  color: var(--ink);
  background: var(--paper);
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
h1, h2, h3, h4, p, dl, dd, fieldset { margin: 0; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
button:disabled { opacity: .55; cursor: not-allowed; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid #ac692b;
  outline-offset: 3px;
}
.wrap { width: min(1440px, calc(100% - 3rem)); margin-inline: auto; }
.announcement {
  background: #4e251f;
  color: #ffecd1;
  text-align: center;
  font-size: .875rem;
  padding: .5rem 1rem;
}
.demo-banner {
  display: flex; flex-wrap: wrap; justify-content: center; gap: .15rem .65rem;
  padding: .42rem 1rem; background: #3a2416; color: #f8e5cc;
  text-align: center; font-size: .82rem;
}
.demo-banner strong { color: #ffd693; }

.masthead { background: linear-gradient(100deg, #161310, #211a14 40%, #151210); color: var(--cream); }
.header-inner { min-height: 5rem; display: grid; grid-template-columns: 1fr minmax(12rem, 2.1fr) 1fr; align-items: center; gap: 1.55rem; }
.wordmark { display: inline-flex; align-items: center; gap: .72rem; color: inherit; text-decoration: none; width: fit-content; max-width: 100%; min-width: 0; white-space: nowrap; }
.brand-monogram { display: grid; width: 2.42rem; height: 2.42rem; place-items: center; border: 1px solid #ac8656; background: linear-gradient(155deg,#3b2d1e,#211910 70%); color: var(--gold); font: 1.02rem/1 var(--serif); flex: none; }
.brand-name { font: 400 clamp(1.35rem, 2vw, 1.78rem)/1.05 var(--serif); letter-spacing: -.035em; overflow: hidden; text-overflow: ellipsis; }
.header-search { position: relative; display: block; min-width: 0; }
.header-search input {
  display: block;
  width: 100%;
  min-height: 2.85rem;
  border: 1px solid #575047;
  border-radius: 5px;
  background: #25211d;
  color: #fff8ed;
  padding: .6rem .85rem .6rem 2.8rem;
}
.header-search input::placeholder { color: #c4b6a3; }
.search-icon, .bag-icon { display: inline-block; position: relative; width: 1rem; height: 1rem; flex: none; }
.search-icon { position: absolute; left: 1rem; top: calc(50% - .56rem); }
.search-icon::before { content: ""; position: absolute; width: 13px; height: 13px; border: 1.5px solid #dfccad; border-radius: 50%; }
.search-icon::after { content: ""; position: absolute; width: 6px; height: 1.5px; left: 10px; top: 12px; background: #dfccad; transform: rotate(46deg); }
.bag-button { justify-self: end; display: inline-flex; gap: .58rem; align-items: center; min-height: 2.75rem; padding: .48rem .72rem; background: transparent; color: inherit; border: 1px solid #575047; border-radius: 5px; }
.bag-button:hover { border-color: var(--gold); }
.bag-icon { margin-top: 4px; height: .81rem; border: 1.5px solid currentColor; border-radius: 2px; }
.bag-icon::before { content: ""; position: absolute; top: -6px; left: 3px; width: 7px; height: 6px; border: 1.5px solid currentColor; border-bottom: 0; border-radius: 5px 5px 0 0; }
.bag-count { min-width: 1.45rem; padding: .05rem .34rem; background: var(--gold); color: #24170b; border-radius: 50px; font-size: .82rem; font-weight: 750; text-align: center; }
.category-nav { background: var(--surface); border-bottom: 1px solid var(--line); }
.category-inner { display: flex; align-items: center; gap: clamp(.5rem, 2.8vw, 2.8rem); overflow-x: auto; }
.category-link, .nav-offer { flex: none; min-height: 2.9rem; padding: .72rem .18rem .62rem; font-size: .9rem; font-weight: 620; white-space: nowrap; }
.category-link { border: 0; border-bottom: 2px solid transparent; background: none; color: var(--muted); }
.category-link.chosen, .category-link:hover { color: #21170b; border-color: #ad7544; }
.nav-offer { margin-left: auto; margin-right: .15rem; color: #7c3023; text-decoration: none; }
.nav-offer:hover { text-decoration: underline; }

main.wrap { padding-block: 1.15rem 3rem; }
#deals, #collection { scroll-margin-top: 1.1rem; }
.hero {
  position: relative;
  display: grid;
  align-items: center;
  isolation: isolate;
  min-height: clamp(22rem, 31vw, 30rem);
  margin-bottom: 1.5rem;
  overflow: hidden;
  color: #fff5e6;
  background: #1a1510;
  border-radius: 9px;
  box-shadow: 0 10px 25px #39200e18;
}
.hero-art, .hero-art img, .hero::after { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-art { z-index: -2; }
.hero-art img { object-fit: cover; object-position: 60% 51%; }
.hero::after {
  z-index: -1;
  content: "";
  background: linear-gradient(90deg, #100d0af5 0%, #100d0ad6 26%, #100d0a72 52%, #100d0a00 77%);
}
.hero::before {
  position: absolute;
  inset: 8px;
  z-index: 1;
  content: "";
  border: 1px solid #e8ba793f;
  border-radius: 5px;
  pointer-events: none;
}
.hero-copy { width: min(59%, 50rem); padding: clamp(1.65rem, 5.45vw, 5.1rem); padding-right: 0; }
.eyebrow { color: #edc68c; font-size: .875rem; font-weight: 650; letter-spacing: .14em; text-transform: uppercase; }
.hero h1 {
  max-width: 13ch;
  margin: .8rem 0 1.7rem;
  font: 400 clamp(3rem, 5.65vw, 5.55rem)/1.03 var(--serif);
  letter-spacing: -.052em;
  text-wrap: balance;
  overflow-wrap: anywhere;
}
.hero-actions { display: flex; align-items: center; gap: 1.1rem; flex-wrap: wrap; }
.hero-secondary { color: #fff2dc; text-decoration-color: #b4966a; text-underline-offset: 5px; font-size: .94rem; }
.hero-secondary:hover { text-decoration-color: #fff2dc; }
.action {
  display: inline-flex; align-items: center; justify-content: center; min-height: 2.85rem;
  padding: .63rem 1.08rem; border: 1px solid transparent; border-radius: 4px;
  font-size: .94rem; font-weight: 680; text-decoration: none; text-align: center;
}
.action.gold {
  gap: .55rem;
  background: linear-gradient(155deg,#f9d8a1,var(--gold) 70%);
  color: #25180b;
  border-color: #ffe1a9;
  box-shadow: 0 4px 17px #100b0766, inset 0 1px 0 #fff4d3a8;
}
.action.gold:hover { background: var(--gold-hover); }
.action.gold:focus-visible { outline-color: #ffe2af; }
.hero-saving {
  padding: .09rem .37rem;
  color: #3a2511;
  background: #5630181c;
  border-radius: 2px;
  font-size: .78rem;
  font-weight: 770;
  white-space: nowrap;
}
.action.dark { background: var(--night); color: #fff7e9; }
.action.dark:hover { background: #3a2e23; }
.action.outline { border-color: #948477; background: transparent; color: var(--ink); }
.action.outline:hover { background: #f0e9dc; }

.market-panel { background: var(--surface); border: 1px solid var(--line); border-radius: 9px; padding: clamp(1.05rem, 2.65vw, 2.2rem); margin-bottom: 1.5rem; }
.market-heading, .collection-title { display: flex; justify-content: space-between; align-items: baseline; gap: 1.1rem; margin-bottom: 1rem; }
.market-heading h2, .collection h2 { font: 400 clamp(2rem, 4.2vw, 3.2rem)/1.06 var(--serif); letter-spacing: -.055em; }
.market-heading p { color: var(--muted); margin-top: .4rem; }
.view-link { color: #704524; font-size: .92rem; font-weight: 650; text-underline-offset: 4px; flex: none; }

.flash-panel {
  color: #fff4e4;
  background: radial-gradient(ellipse at 86% 12%, #783d20 0%, #4e251d 40%, #301916 80%);
  border: 1px solid #86502f;
  border-top: 3px solid #e0a650;
  box-shadow: 0 12px 30px #31140823;
}
.offer-lead {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: .95rem 1.4rem;
  margin-bottom: 1.15rem;
  padding-bottom: 1.1rem;
  border-bottom: 1px solid #f0c2835e;
}
.offer-title { flex: 1 1 19rem; min-width: 0; }
.offer-title h2 {
  font: 400 clamp(2.25rem, 4.9vw, 4.15rem)/1.01 var(--serif);
  letter-spacing: -.045em;
  margin-top: .5rem;
  overflow-wrap: anywhere;
}
.offer-flag {
  display: inline-block;
  background: linear-gradient(135deg,#ffe0a9,#efbe70);
  color: #422214;
  border-radius: 3px;
  padding: .27rem .6rem;
  font-size: .875rem;
  font-weight: 780;
  text-transform: uppercase;
  letter-spacing: .075em;
}
.offer-subtitle { color: #ffead4; margin-top: .56rem; font-size: 1.04rem; }
.countdown { display: grid; gap: .4rem; min-width: 0; max-width: 100%; }
.countdown-label {
  color: #ffe5cb;
  font-size: .78rem;
  font-weight: 650;
  letter-spacing: .085em;
  text-transform: uppercase;
}
.countdown-units { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .42rem; }
.time-unit {
  display: grid;
  min-width: 3.12rem;
  min-height: 3.7rem;
  justify-items: center;
  align-content: center;
  gap: .06rem;
  padding: .36rem .42rem;
  background: linear-gradient(155deg,#fce5be,#f3c88b);
  border: 1px solid #ffe6bc;
  border-radius: 5px;
  color: #49281b;
}
.time-unit strong { font-size: 1.53rem; line-height: 1.14; font-variant-numeric: tabular-nums; white-space: nowrap; }
.time-unit span { font-size: .75rem; color: #593a26; }
.offer-banner { display: block; width: 100%; max-height: 19rem; object-fit: contain; background: #281613; border: 1px solid #ab6b46; border-radius: 6px; margin-bottom: 1.25rem; }
.offer-empty { color: #ffead7; padding-bottom: .5rem; }
.ended { color: #ffeace; }

.product-rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(11rem, 1fr);
  gap: .95rem; overflow-x: auto; overscroll-behavior-inline: contain; padding: .3rem .25rem .62rem;
  scroll-snap-type: x proximity; scrollbar-width: thin; scrollbar-color: #aa8968 transparent;
}
.product-rail .product { scroll-snap-align: start; }
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.product {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr;
  background: var(--surface);
  color: var(--ink);
  min-width: 0;
  padding: .6rem;
  border: 1px solid var(--line);
  border-radius: 6px;
}
.flash-panel .product { background: #fffbf4; border-color: #e9bc84; }
.product:focus-within { border-color: #a97740; }
.product-image { display: block; padding: 0; border: 0; border-radius: 4px; background: #eeebe3; width: 100%; overflow: hidden; }
.product-image:focus-visible { outline-offset: -3px; }
@media (hover: hover) and (pointer: fine) {
  .product:hover { border-color: #bd935f; box-shadow: 0 5px 14px #35200f14; }
  @media (prefers-reduced-motion: no-preference) {
    .product-image .art { transition: transform 250ms ease-out; }
    .product-image:hover .art { transform: scale(1.035); }
  }
}
.art {
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #efebe2;
  color: #6c5b49;
  border-radius: 4px;
}
.art img { display: block; width: 100%; height: 100%; min-width: 0; min-height: 0; object-fit: cover; }
.art-placeholder { font-size: clamp(2.2rem, 6vw, 4.2rem); }
.studio-art { background-image: url("/assets/studio.20b8be143ae62464447f6a87.jpg"); background-size: 400% 200%; background-repeat: no-repeat; }
.studio-0 { background-position: 0 0; }
.studio-1 { background-position: 33.333% 0; }
.studio-2 { background-position: 66.667% 0; }
.studio-3 { background-position: 100% 0; }
.studio-4 { background-position: 0 100%; }
.studio-5 { background-position: 33.333% 100%; }
.studio-6 { background-position: 66.667% 100%; }
.studio-7 { background-position: 100% 100%; }
.deal-tag { position: absolute; z-index: 1; top: 1.05rem; left: 1.05rem; padding: .32rem .5rem; color: white; background: #a32f25; border-radius: 3px; font-size: .83rem; font-weight: 770; pointer-events: none; }
.product-meta { display: grid; grid-template-rows: 1fr auto; gap: .55rem; padding: .72rem .16rem .25rem; }
.product-meta h4 { line-height: 1.25; min-width: 0; }
.product-name, .plain { border: 0; background: transparent; padding: 0; color: inherit; text-align: left; }
.product-name { font-weight: 660; font-size: .96rem; line-height: 1.25; overflow-wrap: anywhere; }
.product-name:hover, .plain:hover { text-decoration: underline; }
.product-bottom { display: flex; justify-content: space-between; align-items: baseline; gap: .26rem .55rem; flex-wrap: wrap; border-top: 1px solid #e9e0d4; padding-top: .45rem; }
.deal-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: .48rem; }
.price { font-size: 1.1rem; font-weight: 735; }
.deal-price del { color: #736454; font-size: .84rem; }
.available, .sold { font-size: .875rem; font-weight: 550; }
.available { color: #3b5735; }
.sold { color: #8e332a; }

.result-count { color: var(--muted); font-size: .88rem; flex: none; }
.tools { display: flex; justify-content: space-between; align-items: flex-start; gap: .75rem; flex-wrap: wrap; }
.chips { display: flex; flex-wrap: wrap; gap: .4rem; }
.chip { border: 1px solid #ded5c6; border-radius: 40px; padding: .46rem .77rem; background: transparent; color: var(--ink); font-size: .875rem; min-height: 2.4rem; }
.chip:hover, .chip.chosen { border-color: #80633f; background: #f0e4d1; }
.department { margin-top: 1.5rem; }
.department-head { display: flex; justify-content: space-between; align-items: baseline; gap: .6rem; border-top: 1px solid var(--line); padding: .85rem 0 .72rem; }
.department-head h3 { font: 400 1.75rem/1.1 var(--serif); letter-spacing: -.04em; }
.empty { padding-block: 1rem; color: var(--muted); }
footer { padding-block: 2rem; background: var(--night); color: var(--cream); border-top: 1px solid #8f6b43; }
.footer-grid { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.footer-grid p { max-width: 32rem; margin-top: .55rem; color: #dfd1bd; }
.footer-links { display: flex; flex-wrap: wrap; gap: .82rem; align-items: center; font-size: .94rem; }

dialog { width: min(42rem, calc(100% - 1.25rem)); max-height: 90dvh; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); color: var(--ink); padding: clamp(1.05rem, 4vw, 1.65rem); }
dialog::backdrop { background: #130e0bd0; }
.modal-top { display: flex; justify-content: space-between; align-items: center; gap: .65rem; margin-bottom: 1rem; }
.modal-top h2 { font: 400 clamp(1.85rem, 6vw, 2.7rem)/1.05 var(--serif); letter-spacing: -.05em; }
.close { min-width: 2.48rem; min-height: 2.48rem; text-align: center; font-size: 1.65rem; border-radius: 5px; }
.close:hover { background: #ede4d7; text-decoration: none; }
.product-detail { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1rem; }
.detail-copy { display: grid; align-content: start; gap: .65rem; }
.detail-copy .price { font-size: 1.58rem; }
.category { color: #77552d; font-weight: 700; font-size: .875rem; letter-spacing: .075em; text-transform: uppercase; }
.field { display: grid; gap: .33rem; font-weight: 620; font-size: .9rem; min-width: 0; }
input, select, textarea { color: var(--ink); background: #fffefb; border: 1px solid #c8bcac; border-radius: 4px; padding: .55rem .64rem; min-width: 0; }
select { padding-right: .8rem; }
.size-field { min-width: 0; border: 0; padding: 0; }
.size-field legend { font-size: .9rem; font-weight: 650; margin-bottom: .42rem; }
.size-options { display: flex; gap: .4rem; flex-wrap: wrap; }
.size-option { min-width: 2.55rem; min-height: 2.45rem; padding: .44rem .56rem; background: #fffdfa; color: var(--ink); border: 1px solid #c8baaa; border-radius: 3px; }
.size-option.chosen { background: var(--night); color: var(--cream); border-color: var(--night); }
.size-option.unavailable { text-decoration: line-through; }
.size-selection { display: block; margin-top: .35rem; color: var(--muted); font-size: .875rem; }
.bag-row { display: grid; grid-template-columns: 3.6rem minmax(5rem, 1fr) auto auto; align-items: center; gap: .55rem; border-bottom: 1px solid var(--line); padding-block: .62rem; }
.bag-row .art-placeholder { font-size: 1.35rem; }
.bag-name { display: grid; gap: .15rem; font-size: .92rem; }
.bag-name small { color: var(--muted); }
.stepper { border: 1px solid #ded5c6; border-radius: 4px; display: flex; align-items: center; }
.stepper button, .stepper span { padding: .3rem .52rem; }
.remove { font-size: .86rem; color: #853a2b; }
.bag-total { display: flex; justify-content: space-between; align-items: center; gap: .65rem; margin-top: 1rem; flex-wrap: wrap; }
.checkout { display: grid; gap: .9rem; }
.form-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: .65rem; }
.wide { grid-column: 1/-1; }
.coupon-row { display: flex; gap: .48rem; }
.coupon-row input { flex: 1; }
.payment { background: #f2e8d7; padding: .64rem; }
.totals { display: grid; gap: .42rem; }
.totals div { display: flex; justify-content: space-between; gap: .7rem; }
.grand { border-top: 1px solid var(--line); padding-top: .55rem; font-weight: 750; }
.alert { padding: .65rem; background: #f8e3dd; color: #762f21; border-radius: 4px; margin-block: .45rem; }
.receipt-copy { margin-bottom: .7rem; }
.toast { position: fixed; bottom: .85rem; right: .85rem; background: var(--night); color: var(--cream); border: 1px solid #78644a; border-radius: 4px; padding: .65rem 1rem; }

@media (max-width: 62rem) {
  .product-rail { grid-auto-columns: minmax(11rem, 28%); }
}
@media (max-width: 44rem) {
  .wrap { width: calc(100% - 1.55rem); }
  .header-inner { grid-template-columns: minmax(0, 1fr) auto; gap: .68rem 1rem; padding-block: .8rem; }
  .header-search { grid-column: 1/-1; grid-row: 2; }
  .brand-monogram { width: 2.15rem; height: 2.15rem; }
  .category-inner { gap: 1.05rem; }
  .category-link, .nav-offer { min-height: 2.7rem; }
  main.wrap { padding-top: .8rem; }
  .hero { min-height: 25rem; align-items: end; }
  .hero-art img { object-position: 69% 49%; }
  .hero::after { background: linear-gradient(0deg, #130e09fc 4%, #130e09d8 25%, #130e0966 58%, #130e0900 92%); }
  .hero-copy { width: 100%; padding: 1.2rem; }
  .hero h1 { max-width: 15ch; font-size: clamp(2.58rem, 8.6vw, 3.8rem); margin: .55rem 0 .95rem; }
  .hero-actions { gap: .65rem .85rem; }
  .action.gold { padding-inline: .77rem; }
  .hero-secondary { font-size: .875rem; }
  .offer-lead { flex-direction: column; align-items: flex-start; gap: .82rem; }
  .offer-title { flex: none; }
  .countdown-units { gap: .34rem; }
  .time-unit { min-width: 2.9rem; min-height: 3.25rem; }
  .time-unit strong { font-size: 1.27rem; }
  .offer-banner { max-height: 10rem; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem; }
  .product-rail { grid-auto-columns: minmax(9.8rem, 47%); gap: .65rem; }
  .market-heading { align-items: flex-start; flex-wrap: wrap; gap: .5rem 1rem; }
  .market-heading p { font-size: .94rem; }
  .product { padding: .43rem; }
  .deal-tag { top: .72rem; left: .72rem; font-size: .77rem; }
}
@media (max-width: 29rem) {
  .product-detail { grid-template-columns: 1fr; }
  .product-detail .art { max-height: 15rem; }
  .form-grid { grid-template-columns: 1fr; }
  .bag-row { grid-template-columns: 2.45rem minmax(4.9rem, 1fr) auto; }
  .bag-row .remove { grid-column: 2; }
}

/* Customer accounts */
.header-inner { grid-template-columns: minmax(9.5rem, 1fr) minmax(9rem, 2.1fr) auto; }
.header-actions { display: flex; align-items: center; justify-content: flex-end; gap: .7rem; }
.account-link {
  display: inline-flex; align-items: center; min-height: 2.75rem;
  padding: .48rem .72rem; border: 1px solid #575047; border-radius: 5px;
  color: inherit; font-size: .9rem; font-weight: 650; text-decoration: none; white-space: nowrap;
}
.account-link:hover { border-color: var(--gold); }
.account-header { min-height: 4.65rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.account-home-link { white-space: nowrap; font-size: .92rem; text-underline-offset: 3px; }
main.customer-page { width: min(63rem, calc(100% - 3rem)); min-height: calc(100vh - 4.65rem); padding-block: clamp(1rem, 4vw, 3rem); }
.account-title-row { display: flex; align-items: center; justify-content: space-between; gap: .75rem; margin-bottom: 1.2rem; }
.account-title-row p { color: var(--muted); margin-top: .35rem; overflow-wrap: anywhere; }
.account-title-row h1, .account-intro h1 { font: 400 clamp(2rem, 5vw, 3.65rem)/1.04 var(--serif); letter-spacing: -.04em; }
.account-welcome { display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(0, 1fr); min-height: 26rem; }
.account-intro {
  display: grid; align-content: end; gap: .8rem;
  padding: clamp(1.3rem, 4vw, 2.6rem); border-radius: 8px 0 0 8px;
  color: #fff5e6;
  background: linear-gradient(0deg,#1a120bf5,#1b120b84 53%,#1a120b2a), url("/assets/hero.073dcaddd67203f3d6903571.jpg") center / cover;
}
.account-intro p:last-child { font-size: .92rem; max-width: 28rem; color: #f3dfc4; }
.account-panel {
  min-width: 0; padding: clamp(1rem, 3vw, 1.8rem);
  border: 1px solid var(--line); border-radius: 8px; background: var(--surface);
}
.auth-panel { display: grid; align-content: center; border-radius: 0 8px 8px 0; }
.demo-signin { display: grid; justify-items: start; gap: .72rem; }
.demo-signin p { max-width: 30rem; }
.demo-signin h2 { margin-bottom: 0; }
.account-panel h2 { font: 400 clamp(1.7rem, 4vw, 2.45rem)/1.1 var(--serif); letter-spacing: -.035em; margin-bottom: 1rem; }
.account-choices { display: flex; flex-wrap: wrap; gap: .25rem .95rem; border-bottom: 1px solid var(--line); margin-bottom: 1.15rem; }
.account-choice {
  background: transparent; color: var(--muted); border: 0; border-bottom: 2px solid transparent;
  font-size: .93rem; font-weight: 650; min-height: 2.75rem; padding: .45rem .12rem;
}
.account-choice[aria-pressed="true"] { color: #4b3018; border-bottom-color: #aa7441; }
.customer-form, .auth-fields { min-width: 0; }
.customer-form { display: grid; gap: .85rem; }
.customer-form > button { justify-self: start; }
.account-hint { color: var(--muted); font-size: .86rem; }
.auth-fields > .account-hint { margin-top: .7rem; }
.auth-fields .customer-form > .account-hint { margin-top: -.55rem; }
.account-operations { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; }
.address-fieldset { padding: .8rem; border: 1px solid var(--line); border-radius: 5px; min-width: 0; }
.address-fieldset legend { padding-inline: .35rem; font-weight: 650; font-size: .96rem; }
.address-fieldset .account-hint { margin-bottom: .7rem; }
.account-notice { border-left: 2px solid #70915f; background: #edf0e7; padding: .5rem .7rem; color: #354c2d; }
.account-empty { display: grid; justify-items: start; gap: .85rem; padding-block: .4rem; color: var(--muted); }
.customer-orders { display: grid; gap: .75rem; }
.customer-order { border: 1px solid var(--line); border-radius: 6px; }
.order-summary {
  display: flex; justify-content: space-between; align-items: center; gap: .55rem;
  list-style: none; padding: .8rem; cursor: pointer;
}
.order-summary::-webkit-details-marker { display: none; }
.order-summary::after {
  content: ""; width: .46rem; height: .46rem; border-right: 2px solid #70533b; border-bottom: 2px solid #70533b;
  transform: rotate(45deg); margin: -.2rem .12rem 0 .3rem; flex: none;
}
.customer-order[open] .order-summary::after { transform: rotate(225deg); margin-top: .12rem; }
.order-ref { display: grid; gap: .15rem; font-size: .94rem; min-width: 0; overflow-wrap: anywhere; }
.order-ref time { color: var(--muted); font-size: .81rem; }
.order-summary-values { display: flex; align-items: center; gap: .65rem; margin-left: auto; }
.order-status { background: #f3e6d4; color: #5d3f25; padding: .2rem .44rem; font-size: .8rem; font-weight: 650; border-radius: 3px; }
.order-cancelled { background: #f8e3dd; color: #762f21; }
.order-delivered { background: #edf0e7; color: #354c2d; }
.customer-order-detail { border-top: 1px solid var(--line); padding: .85rem; display: grid; gap: .9rem; }
.order-items { list-style: none; padding: 0; margin: 0; }
.order-items li { display: flex; justify-content: space-between; gap: .7rem; padding: .45rem 0; border-bottom: 1px solid #eee7dc; }
.order-items li small { display: block; color: var(--muted); }
.order-detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(9rem, .9fr); gap: .9rem; }
.order-detail-grid .totals { align-self: start; }
.order-delivery { color: var(--muted); line-height: 1.4; overflow-wrap: anywhere; }
.order-delivery h3 { color: var(--ink); font-size: .92rem; margin-bottom: .25rem; }
.order-payment { margin-top: .55rem; }
.checkout-account {
  margin-bottom: .9rem; padding: .65rem .75rem; background: #f3eadb;
  border-left: 2px solid #ac8656; color: #3b2b1c; font-size: .88rem; overflow-wrap: anywhere;
}
.checkout-account .auth-fields { margin-top: .65rem; }
.checkout-signin-row { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: .45rem; }
.checkout-signin { color: #604025; text-decoration: underline; text-underline-offset: 2px; font-weight: 700; }

@media (max-width: 44rem) {
  .header-inner { grid-template-columns: minmax(0, 1fr) auto; }
  .header-actions { gap: .35rem; }
  .account-welcome { grid-template-columns: 1fr; min-height: 0; }
  .account-intro { min-height: 13rem; border-radius: 8px 8px 0 0; }
  .auth-panel { border-radius: 0 0 8px 8px; }
  main.customer-page { width: calc(100% - 1.55rem); }
}
@media (max-width: 29rem) {
  .header-actions .bag-label { display: none; }
  .header-actions .bag-button, .account-link { padding-inline: .54rem; }
  .masthead .brand-name { font-size: 1.15rem; }
  .masthead .brand-monogram { width: 1.78rem; height: 1.78rem; }
  .masthead .wordmark { gap: .42rem; }
  .order-summary-values { flex-direction: column; align-items: flex-end; gap: .15rem; }
  .order-detail-grid { grid-template-columns: 1fr; }
}
