/* Shop, product and checkout pages. Same tokens and shape rules as site.css. */

/* ---------- shop ---------- */
.shop-hero { background: var(--sand); color: var(--wine); padding: calc(var(--header-h) + 70px) 0 46px; position: relative; overflow: hidden; }
.shop-hero::after { content: ""; position: absolute; right: -40px; top: 0; bottom: 0; width: min(46vw, 620px); background: url("../img/pattern.svg") 0 0 / 300px 250px repeat; opacity: .16; pointer-events: none; -webkit-mask-image: linear-gradient(90deg, transparent, #000 45%); mask-image: linear-gradient(90deg, transparent, #000 45%); }
.shop-hero h1 { font: 300 clamp(56px, 8vw, 132px)/.95 var(--sans); margin: 0; position: relative; z-index: 1; letter-spacing: -.02em; }
.shop-hero h1 sup { font: 400 clamp(14px, 1.2vw, 20px)/1 var(--sans); vertical-align: top; position: relative; top: .6em; margin-left: .15em; opacity: .75; }
.shop-hero p { margin: 18px 0 0; max-width: 48ch; font-size: 16px; position: relative; z-index: 1; }
.shop-bar { position: sticky; top: var(--header-h); z-index: 20; background: rgba(249, 246, 242, .94); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.shop-bar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 60px; }
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 10px 0; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; height: 36px; padding: 0 16px; border: 1px solid var(--line); font-size: 13.5px; white-space: nowrap; transition: border-color .2s, background .2s, color .2s; }
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--wine); border-color: var(--wine); color: var(--shea); }
.bar-right { display: flex; align-items: center; gap: 18px; flex: none; }
.sort { display: flex; align-items: center; gap: 8px; font-size: 13.5px; }
.sort select { height: 36px; border: 1px solid var(--line); background: var(--paper); padding: 0 10px; border-radius: 0; }
.density { display: flex; gap: 2px; }
.density button { width: 36px; height: 36px; display: grid; place-items: center; color: var(--ink-soft); }
.density button[aria-pressed="true"] { color: var(--ink); background: var(--shea); }
.shop-main { padding: 34px 0 120px; min-height: 60vh; }
.shop-grid { display: grid; grid-template-columns: repeat(var(--cols, 4), 1fr); gap: 40px 14px; }
.shop-grid .story { grid-column: span 2; position: relative; display: flex; align-items: flex-end; min-height: 100%; aspect-ratio: auto; color: var(--shea); overflow: hidden; background: var(--wine); }
.story .img { position: absolute; inset: 0; background-size: cover; background-position: center; transition: transform 1.4s var(--ease); }
.story:hover .img { transform: scale(1.03); }
.story::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(30, 8, 12, .7)); }
.story .txt { position: relative; z-index: 1; padding: 30px; }
.story h2 { font: 400 clamp(32px, 3vw, 48px)/1.02 var(--sans); margin: 0 0 12px; letter-spacing: -.02em; }
.story .link { color: var(--shea); }
.shop-grid[style*="--cols: 2"] .story { grid-column: span 2; }

/* ---------- product ---------- */
.pdp { display: grid; grid-template-columns: minmax(240px, 300px) minmax(0, 1fr) minmax(300px, 380px); gap: clamp(24px, 3vw, 56px); padding-top: calc(var(--header-h) + 28px); padding-bottom: 110px; align-items: start; }
.pdp-side { position: sticky; top: calc(var(--header-h) + 28px); }
.crumbs { font-size: 13px; color: var(--ink-soft); display: flex; gap: 8px; margin-bottom: 30px; }
.crumbs a:hover { color: var(--wine); }
.pdp-desc { font: 300 17px/1.6 var(--sans); margin: 0 0 26px; }
.specs { display: grid; grid-template-columns: auto 1fr; gap: 10px 18px; margin: 0 0 30px; font-size: 13.5px; }
.specs dt { color: var(--ink-soft); }
.specs dd { margin: 0; }
.acc { border-top: 1px solid var(--line); }
.acc:last-of-type { border-bottom: 1px solid var(--line); }
.acc summary { list-style: none; display: flex; justify-content: space-between; align-items: center; padding: 16px 0; cursor: pointer; font: 500 12px/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary .ph { transition: transform .35s var(--ease); font-size: 16px; }
.acc[open] summary .ph { transform: rotate(45deg); }
.acc p { margin: 0 0 18px; font-size: 14px; color: var(--ink-soft); }
.comp { display: grid; gap: 14px; margin: 0 0 20px; }
.comp dt { font: 500 11px/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--ink); margin-bottom: 7px; }
.comp dd { margin: 0; font-size: 14px; line-height: 1.6; color: var(--ink-soft); }
.gallery { display: grid; gap: 10px; }
.gallery .shot { aspect-ratio: 3 / 4; background-repeat: no-repeat; background-color: var(--tile); }
.gallery .shot--wide { aspect-ratio: 16 / 10; }
.dots { display: none; }
.density .d-mob { display: none; }
.buy h1 { font: 400 clamp(32px, 2.6vw, 42px)/1.05 var(--sans); margin: 0; letter-spacing: -.02em; }
.buy .price { font-size: 18px; margin: 12px 0 0; font-variant-numeric: tabular-nums; }
.buy .tag-line { font-size: 12.5px; color: var(--wine); margin: 0 0 12px; }
.colour { display: flex; align-items: center; gap: 10px; margin: 26px 0 0; padding-top: 22px; border-top: 1px solid var(--line); font-size: 14px; }
.swatch { display: block; width: 22px; height: 22px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .15); }
.swatches { display: flex; gap: 10px; margin-top: 12px; }
.swatch-link { padding: 3px; border-radius: 50%; border: 1px solid transparent; transition: border-color .2s; }
.swatch-link:hover { border-color: var(--line); }
.swatch-link.is-on { border-color: var(--ink); }
.wa-ask { margin-top: 10px; }
.size-head { display: flex; justify-content: space-between; align-items: baseline; margin: 26px 0 12px; font-size: 14px; }
.size-head button { font-size: 13px; border-bottom: 1px solid currentColor; }
.sizes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.sizes .size-chip { height: 46px; width: 100%; font-size: 14px; }
.size-error { color: #A3242F; font-size: 13px; margin: 10px 0 0; min-height: 1em; }
.buy-actions { display: grid; grid-template-columns: 1fr 50px; gap: 8px; margin-top: 16px; }
.icon-btn { width: 50px; height: 48px; border: 1px solid var(--line); display: grid; place-items: center; transition: border-color .2s, color .2s; }
.icon-btn:hover { border-color: var(--ink); }
.icon-btn[aria-pressed="true"] { color: var(--wine); border-color: var(--wine); }
.perks { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 12px; font-size: 13.5px; color: var(--ink-soft); }
.perks li { display: flex; gap: 12px; align-items: center; }
.perks .ph { font-size: 20px; color: var(--wine); }
.related { padding: 0 0 120px; }
.related h2 { font: 400 clamp(32px, 3.2vw, 50px)/1 var(--sans); margin: 0 0 30px; letter-spacing: -.02em; }
.not-found { padding: calc(var(--header-h) + 120px) 0 140px; text-align: center; }
.not-found h1 { font: 400 clamp(40px, 5vw, 72px)/1 var(--sans); margin: 0 0 14px; letter-spacing: -.02em; }
.not-found p { color: var(--ink-soft); margin: 0 0 28px; }

/* size guide dialog */
.modal { border: 0; padding: 0; width: min(560px, calc(100vw - 32px)); background: var(--paper); color: var(--ink); }
.modal::backdrop { background: rgba(28, 26, 25, .45); }
.modal-head { display: flex; justify-content: space-between; align-items: center; padding: 22px 26px; border-bottom: 1px solid var(--line); }
.modal-head h2 { margin: 0; font: 400 30px/1 var(--sans); letter-spacing: -.02em; }
.modal-body { padding: 22px 26px 28px; }
.modal-body p { margin: 0 0 16px; font-size: 14px; color: var(--ink-soft); }
.size-table { width: 100%; border-collapse: collapse; font-size: 14px; font-variant-numeric: tabular-nums; }
.size-table th { text-align: left; font: 500 11.5px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; padding: 0 0 12px; color: var(--ink-soft); }
.size-table td { padding: 9px 0; border-top: 1px solid var(--line); }

/* ---------- checkout ---------- */
.co { padding-top: calc(var(--header-h) + 40px); padding-bottom: 110px; }
.co h1 { font: 300 clamp(42px, 4.6vw, 72px)/1 var(--sans); margin: 0 0 36px; letter-spacing: -.02em; }
.co-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(320px, .9fr); gap: clamp(30px, 5vw, 90px); align-items: start; }
.co-step { padding: 0 0 34px; margin: 0 0 34px; border-bottom: 1px solid var(--line); }
.co-step:last-of-type { border-bottom: 0; }
.co-step h2 { display: flex; align-items: baseline; gap: 14px; font: 400 30px/1 var(--sans); margin: 0 0 22px; letter-spacing: -.02em; }
.co-step h2 small { font: 500 12px/1 var(--sans); letter-spacing: .24em; color: var(--wine); }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; }
.fields .full { grid-column: 1 / -1; }
.phone { display: grid; grid-template-columns: 84px 1fr; }
.phone span { height: 50px; display: grid; place-items: center; border: 1px solid #A39B95; border-right: 0; font-size: 14px; background: var(--shea); }
.options { display: grid; gap: 10px; }
.option { position: relative; padding: 18px; border: 1px solid #A39B95; transition: border-color .2s, box-shadow .2s, background .2s; }
.option-head { display: grid; grid-template-columns: 22px 1fr auto; gap: 14px; align-items: start; cursor: pointer; }
.option-head input[type="radio"] { position: absolute; opacity: 0; pointer-events: none; }
.option .radio { width: 20px; height: 20px; border-radius: 50%; border: 1px solid var(--ink); display: grid; place-items: center; margin-top: 2px; }
.option .radio::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--wine); transform: scale(0); transition: transform .25s var(--ease); }
.option:has(.option-head input:checked) { border-color: var(--wine); box-shadow: 0 0 0 1px var(--wine); background: #FFFDFB; }
.option:has(.option-head input:checked) .radio { border-color: var(--wine); }
.option:has(.option-head input:checked) .radio::after { transform: scale(1); }
.option:has(.option-head input:focus-visible) { outline: 2px solid var(--wine); outline-offset: 3px; }
.option b { font-weight: 500; display: block; margin-bottom: 4px; }
.option span.sub { font-size: 13.5px; color: var(--ink-soft); }
.option .amt { font-size: 14px; white-space: nowrap; }
.option-extra { display: none; margin: 18px 0 0 36px; }
.option:has(.option-head input:checked) .option-extra { display: grid; gap: 14px; }
.summary { position: sticky; top: calc(var(--header-h) + 24px); background: var(--shea); padding: 28px; }
.summary h2 { font: 400 28px/1 var(--sans); margin: 0 0 18px; letter-spacing: -.02em; }
.sum-item { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 13.5px; }
.sum-item .bag-thumb { width: 64px; }
.sum-item .muted { color: var(--ink-soft); display: block; }
.summary .sum-row { margin-top: 12px; }
.summary .sum-row.total { border-top: 1px solid var(--line); padding-top: 14px; margin-top: 14px; }
.form-error { color: #A3242F; font-size: 14px; margin: 0 0 14px; }
.done { text-align: center; max-width: 620px; margin: 0 auto; padding: calc(var(--header-h) + 80px) var(--gutter) 120px; }
.done svg { width: 64px; height: 84px; color: var(--wine); margin: 0 auto; display: block; }
.done h1 { font: 400 clamp(56px, 8vw, 110px)/1 var(--serif); margin: 26px 0 14px; color: var(--wine); }
.done p { color: var(--ink-soft); margin: 0 0 10px; font-size: 16px; }
.done-actions { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.done .ref { display: inline-block; margin: 18px 0 30px; padding: 10px 18px; background: var(--shea); font-variant-numeric: tabular-nums; }
.mini-foot { border-top: 1px solid var(--line); padding: 22px 0; font-size: 12.5px; color: var(--ink-soft); }
.mini-foot .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .pdp { grid-template-columns: minmax(0, 1fr) minmax(300px, 360px); }
  .pdp-info { grid-column: 1 / -1; grid-row: 2; position: static; max-width: 640px; }
}
@media (max-width: 900px) {
  .shop-bar .wrap { flex-direction: column; align-items: stretch; gap: 0; padding-bottom: 10px; }
  .bar-right { justify-content: space-between; }
  .shop-grid { grid-template-columns: repeat(var(--cols-sm, 2), 1fr); gap: 30px 10px; }
  .shop-grid .story { grid-column: 1 / -1; min-height: 70vw; }
  .density .d-desk { display: none; }
  .density .d-mob { display: grid; }
  .option-extra { margin-left: 0; }
  .pdp { grid-template-columns: 1fr; padding-top: var(--header-h); gap: 26px; }
  .gallery { grid-auto-flow: column; grid-auto-columns: 100%; overflow-x: auto; scroll-snap-type: x mandatory; gap: 0; margin: 0 calc(var(--gutter) * -1); scrollbar-width: none; }
  .gallery::-webkit-scrollbar { display: none; }
  .gallery .shot { scroll-snap-align: start; aspect-ratio: 4 / 5; }
  .dots { display: flex; justify-content: center; gap: 6px; margin-top: -14px; }
  .dots i { width: 6px; height: 6px; border-radius: 50%; background: rgba(28, 26, 25, .25); }
  .dots i.on { background: var(--wine); }
  .pdp-side { position: static; }
  .pdp-info { grid-row: auto; }
  .pdp-gallery { order: -2; }
  .pdp .buy { order: -1; }
  .co-grid { grid-template-columns: 1fr; }
  .summary { position: static; order: -1; }
  .fields { grid-template-columns: 1fr; }
}

.buy-bar, .sum-toggle { display: none; }

/* =========================================================================
   Mobile: compact shop header and filter bar, focused product page, calm checkout
   ========================================================================= */
@media (max-width: 760px) {
  .shop-hero { padding: calc(var(--header-h) + 26px) 0 22px; }
  .shop-hero::after { display: none; }
  .shop-hero h1 { font-size: 40px; }
  .shop-hero p { font-size: 14px; margin-top: 8px; }
  .shop-bar .wrap { padding: 0; }
  .chips { padding: 10px var(--gutter); gap: 6px; }
  .chip { height: 34px; padding: 0 14px; font-size: 13px; }
  .bar-right { padding: 0 var(--gutter); min-height: 44px; border-top: 1px solid var(--line); }
  .sort { font-size: 13px; color: var(--ink-soft); }
  .sort select { height: 32px; border: 0; background: transparent; padding: 0 2px; font-size: 13px; color: var(--ink); }
  .density button { width: 32px; height: 32px; font-size: 13px; }
  .shop-main { padding: 20px 0 64px; }
  .shop-grid { gap: 26px 10px; }
  .shop-grid .story { min-height: 0; aspect-ratio: 4 / 5; }
  .story .txt { padding: 22px; }
  .story h2 { font-size: 26px; }

  .pdp { gap: 0; padding-bottom: 20px; }
  .gallery .shot { aspect-ratio: 3 / 4; }
  .dots { margin: 12px 0 0; }
  .pdp .buy { padding-top: 22px; }
  .buy .tag-line { margin-bottom: 6px; }
  .buy h1 { font-size: 26px; }
  .buy .price { font-size: 16px; margin-top: 6px; }
  .colour { margin-top: 18px; padding-top: 16px; font-size: 13.5px; }
  .size-head { margin: 18px 0 10px; }
  .sizes .size-chip { height: 44px; }
  .perks { margin-top: 20px; gap: 10px; font-size: 13px; }
  .pdp-info { margin-top: 30px; padding-top: 4px; border-top: 1px solid var(--line); }
  .crumbs { margin: 16px 0 14px; }
  .pdp-desc { font-size: 15px; }
  .related { padding-bottom: 96px; }
  .related h2 { font-size: 24px; margin-bottom: 18px; }
  .related .shop-grid { grid-template-columns: 1fr 1fr; }
  body[data-page="product"] .wa-fab { display: none; }
  .buy-bar { display: flex; align-items: center; gap: 12px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: rgba(249, 246, 242, .97); border-top: 1px solid var(--line);
    transform: translateY(110%); transition: transform .4s var(--ease); }
  .buy-bar.is-on { transform: none; }
  .bb-info { flex: 1; min-width: 0; font-size: 13px; }
  .bb-info b { display: block; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .buy-bar .btn { min-height: 44px; padding: 0 18px; }

  .co { padding-top: calc(var(--header-h) + 20px); padding-bottom: 48px; }
  .co h1 { font-size: 34px; margin-bottom: 16px; }
  .co-grid { gap: 22px; }
  .co-step { padding-bottom: 24px; margin-bottom: 24px; }
  .co-step h2 { font-size: 22px; margin-bottom: 16px; }
  .fields { gap: 16px; }
  .option { padding: 14px; }
  .option-head { gap: 12px; }
  .summary { padding: 0; background: var(--shea); }
  .summary h2 { display: none; }
  .sum-toggle { display: flex; width: 100%; justify-content: space-between; align-items: center; padding: 15px 16px; font-size: 14px; }
  .sum-toggle span { display: inline-flex; align-items: center; gap: 8px; color: var(--wine); }
  .sum-toggle b { font-weight: 500; }
  .sum-body { display: none; padding: 0 16px 16px; }
  .summary.is-open .sum-body { display: block; }
  .done { padding-top: calc(var(--header-h) + 50px); padding-bottom: 70px; }
  .mini-foot .wrap { flex-direction: column; gap: 6px; }
}

/* ---------- account: same form system as checkout; Maglite only for the greeting, like "Medaase" ---------- */
.acct { padding-top: calc(var(--header-h) + 40px); padding-bottom: 120px; min-height: 72vh; }
.acct-top { margin: 0 0 40px; }
.acct-top h1 { font: 300 clamp(42px, 4.6vw, 72px)/1 var(--sans); margin: 0; letter-spacing: -.02em; outline: none; }
.acct-top h1.acct-hello { font: 400 clamp(54px, 6.6vw, 104px)/1 var(--serif); color: var(--wine); letter-spacing: 0; }
.acct-eyebrow { font: 500 12px/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--wine); margin: 0 0 18px; }
.acct-sub { margin: 14px 0 0; color: var(--ink-soft); font-size: 15px; max-width: 52ch; }
.acct-top--in { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }
.acct-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr); gap: clamp(30px, 6vw, 110px); align-items: start; }
.acct-auth { max-width: 560px; }
.acct-tabs { display: flex; gap: 30px; border-bottom: 1px solid var(--line); margin: 0 0 30px; overflow-x: auto; scrollbar-width: none; }
.acct-tabs::-webkit-scrollbar { display: none; }
.acct-tabs [role="tab"] { position: relative; flex: none; padding: 0 0 14px; font-size: 15px; color: var(--ink-soft); transition: color .2s; }
.acct-tabs [role="tab"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--wine); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.acct-tabs [role="tab"]:hover, .acct-tabs [role="tab"][aria-selected="true"] { color: var(--ink); }
.acct-tabs [role="tab"][aria-selected="true"]::after { transform: scaleX(1); }
.acct-tabs [role="tab"]:focus-visible { outline: 2px solid var(--wine); outline-offset: 4px; }
.acct-form { display: grid; gap: 18px; }
.acct [hidden] { display: none !important; }
.acct-form .btn--block { margin-top: 4px; }
.acct-form .form-error { margin: 0; }
.acct-form .form-error .link { font-size: inherit; color: inherit; }
.pw { position: relative; display: grid; }
.pw input { padding-right: 70px; }
.pw-toggle { position: absolute; right: 1px; top: 1px; bottom: 1px; padding: 0 14px; font-size: 12.5px; color: var(--ink-soft); }
.pw-toggle:hover { color: var(--ink); }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 13.5px; color: var(--ink-soft); cursor: pointer; }
.check input { flex: none; width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--wine); }
.acct-alt { margin: 0; font-size: 13.5px; color: var(--ink-soft); text-align: center; }
.acct-alt a { color: var(--ink); border-bottom: 1px solid currentColor; }
.acct-note { margin: 22px 0 0; font-size: 12.5px; color: var(--ink-soft); }
.field .opt { color: var(--ink-soft); }
.acct-side { display: grid; gap: 14px; }
.acct-card { background: var(--shea); padding: 30px; }
.acct-card h2 { font: 400 26px/1.1 var(--sans); margin: 0 0 10px; letter-spacing: -.02em; }
.acct-card > p { margin: 0 0 20px; font-size: 14px; color: var(--ink-soft); }
.acct-card .perks { margin: 16px 0 0; }
.track-form { display: grid; grid-template-columns: minmax(0, 1fr) auto; }
.track-form .field { display: contents; }
.track-form label { grid-column: 1 / -1; grid-row: 1; margin-bottom: 8px; }
.track-form input { grid-column: 1; grid-row: 2; min-width: 0; border-right: 0; }
.track-form .btn { grid-column: 2; grid-row: 2; height: 50px; min-height: 50px; padding: 0 20px; }
.track-form .error { grid-column: 1 / -1; grid-row: 3; margin-top: 8px; }
.track-form .error:empty { display: none; }
.acct-saved { margin-top: 100px; padding-top: 50px; border-top: 1px solid var(--line); }
.acct-saved h2 { font: 400 clamp(32px, 3.2vw, 50px)/1 var(--sans); margin: 0 0 30px; letter-spacing: -.02em; }
.saved-grid { --cols: 4; }
.saved-item .remove { margin-top: 10px; }
.acct-empty { padding: 60px 10px 40px; }
.acct-empty svg { display: block; width: 54px; height: 70.5px; margin: 0 auto; color: var(--wine); }
.acct-panel { outline: none; }
.orders { display: grid; gap: 16px; max-width: 980px; }
.order { border: 1px solid var(--line); }
.order-head { display: grid; grid-template-columns: repeat(3, auto) 1fr; gap: 12px 48px; align-items: end; padding: 20px 24px; background: var(--shea); font-size: 14px; }
.order-head b { font-weight: 500; font-variant-numeric: tabular-nums; }
.order-label { display: block; font: 500 11px/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 9px; }
.order-status { justify-self: end; display: inline-flex; align-items: center; gap: 7px; font-size: 13.5px; color: var(--wine); }
.order-status .ph { font-size: 18px; }
.order-items { list-style: none; margin: 0; padding: 4px 24px; }
.order-items li { display: grid; grid-template-columns: 56px 1fr auto; gap: 16px; align-items: center; padding: 14px 0; font-size: 14px; }
.order-items li + li { border-top: 1px solid var(--line); }
.order-items .bag-thumb { width: 56px; }
.order-items .muted { display: block; color: var(--ink-soft); font-size: 13px; margin-top: 3px; }
.order-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px 20px; flex-wrap: wrap; padding: 16px 24px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--ink-soft); }
.order-foot .link { color: var(--ink); }
.details-form { max-width: 720px; }
.acct-h2 { font: 400 26px/1.1 var(--sans); margin: 18px 0 0; letter-spacing: -.02em; }
.acct-h2:first-child { margin-top: 0; }
.details-form .acct-sub { margin: -8px 0 0; }
.details-actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 6px; }
.details-msg { font-size: 14px; color: var(--wine); }
.co-acct { margin: -22px 0 30px; font-size: 14px; color: var(--ink-soft); }
.co-acct a { color: var(--ink); border-bottom: 1px solid currentColor; }
@media (max-width: 900px) {
  .acct-grid { grid-template-columns: 1fr; }
  .acct-auth { max-width: none; }
  .saved-grid { --cols-sm: 3; }
}
@media (max-width: 760px) {
  .acct { padding-top: calc(var(--header-h) + 24px); padding-bottom: 64px; }
  .acct-top { margin-bottom: 26px; }
  .acct-top h1 { font-size: 34px; }
  .acct-top h1.acct-hello { font-size: 48px; }
  .acct-sub { font-size: 14px; }
  .acct-top--in { flex-direction: column; align-items: flex-start; gap: 18px; }
  .acct-top--in .btn { min-height: 40px; padding: 0 18px; }
  .acct-tabs { gap: 24px; margin-bottom: 22px; }
  .acct-tabs [role="tab"] { font-size: 14.5px; padding-bottom: 12px; }
  .acct-grid { gap: 26px; }
  .acct-card { padding: 22px 18px; }
  .acct-card h2 { font-size: 22px; }
  .track-form .btn { padding: 0 14px; }
  .acct-saved { margin-top: 56px; padding-top: 34px; }
  .acct-saved h2 { font-size: 26px; margin-bottom: 18px; }
  .saved-grid { grid-template-columns: 1fr 1fr; gap: 28px 10px; }
  .order-head { grid-template-columns: 1fr 1fr; gap: 16px; padding: 16px; }
  .order-status { grid-column: 1 / -1; justify-self: start; grid-row: 1; }
  .order-items { padding: 0 16px; }
  .order-items li { grid-template-columns: 48px 1fr auto; gap: 12px; font-size: 13.5px; }
  .order-items .bag-thumb { width: 48px; }
  .order-foot { padding: 14px 16px; }
  .acct-h2 { font-size: 22px; }
  .co-acct { margin: -6px 0 18px; font-size: 13.5px; }
}
