:root {
  --paper: #fff;
  --cream: #f1f0ed;
  --ink: #242424;
  --accent: #242424;
  --muted: #6c6c68;
  --line: #dededb;
  --sans: Manrope, Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 13px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
button, input, select { font: inherit; border-radius: 0; }
button, a { -webkit-tap-highlight-color: transparent; }
button { appearance: none; color: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
svg { display: block; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-weight: 500; }
h1, h2 { letter-spacing: -.04em; line-height: 1.15; }
fieldset { min-width: 0; }
::selection { color: var(--paper); background: var(--ink); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
[hidden], .product-card[hidden], html:not(.js) .requires-js { display: none !important; }
.page-width { width: min(1600px, calc(100% - 64px)); margin-inline: auto; }
.icon-library { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 10px; left: 10px; z-index: 100; padding: 12px 20px; color: var(--paper); background: var(--ink); transform: translateY(-180%); }
.skip-link:focus { transform: none; }
.button, .shop-button, .shop-button-secondary { display: inline-flex; justify-content: space-between; align-items: center; gap: 24px; min-height: 48px; padding: 14px 22px; border: 1px solid var(--ink); background: var(--ink); color: var(--paper); font-size: 12px; font-weight: 500; text-align: left; transition: background .2s, color .2s; }
.button:hover, .shop-button:hover { background: #444; }
.shop-button-secondary { color: var(--ink); background: transparent; border-color: var(--line); }
.shop-button-secondary:hover { background: var(--cream); }
button:disabled { cursor: not-allowed; opacity: .5; }

.demo-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 5px 32px; color: #666; border-bottom: 1px solid #eee; font-size: 9px; }
.demo-bar a { white-space: nowrap; }
.demo-bar a:hover { text-decoration: underline; }
.shop-header { position: relative; z-index: 10; background: var(--paper); }
.header-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 32px; min-height: 80px; }
.wordmark { display: block; width: max-content; font-size: 24px; font-weight: 700; letter-spacing: -.07em; line-height: 1; white-space: nowrap; }
#site-nav { display: flex; align-items: center; gap: 30px; }
#site-nav a, #site-nav button { padding: 14px 0; background: none; border: 0; font-size: 11px; white-space: nowrap; }
#site-nav a:hover, #site-nav button:hover { text-decoration: underline; text-underline-offset: 6px; }
.header-actions { display: flex; align-items: center; justify-content: end; gap: 6px; }
.icon-button, .cart-open { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; min-height: 44px; padding: 10px; border: 0; background: none; }
.icon-button:hover, .cart-open:hover { color: var(--muted); }
.cart-open { gap: 7px; padding-right: 0; }
.cart-label { display: none; }
#cart-count { min-width: 10px; font-size: 11px; font-variant-numeric: tabular-nums; }
.menu-toggle { display: none; }

.campaign { position: relative; isolation: isolate; display: flex; align-items: end; height: clamp(480px, 70svh, 760px); overflow: hidden; background: #d8d0c2; }
.campaign > picture { position: absolute; inset: 0; z-index: -1; }
.campaign-image { width: 100%; height: 100%; object-fit: cover; object-position: center 12%; }
.campaign-copy { padding-block: 60px; }
.campaign-copy h1 { font-size: clamp(42px, 5.1vw, 76px); font-weight: 500; letter-spacing: -.055em; }
.campaign-link { display: inline-flex; align-items: center; gap: 32px; min-height: 44px; margin-top: 22px; padding: 10px 20px; color: var(--ink); background: var(--paper); font-size: 11px; transition: background .2s; }
.campaign-link:hover { background: var(--cream); }

.catalog { padding-block: 42px 66px; }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.section-heading h2 { font-size: 22px; letter-spacing: -.035em; }
.section-heading > span { color: var(--muted); font-size: 11px; }
.catalog-controls { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px 24px; padding-block: 16px; margin-bottom: 7px; }
.category-filters { display: flex; align-items: center; gap: 24px; }
.category-filters button { position: relative; padding: 11px 0; min-height: 44px; color: var(--muted); background: none; border: 0; font-size: 11px; white-space: nowrap; }
.category-filters button[aria-pressed=true] { color: var(--ink); text-decoration: underline; text-underline-offset: 7px; }
.category-filters button:hover { color: var(--ink); }
.catalog-tools { display: flex; align-items: center; gap: 24px; margin-left: auto; }
.search-field { display: flex; align-items: center; gap: 8px; }
.search-field .icon { width: 16px; height: 16px; }
.search-field input { width: 130px; min-height: 44px; padding: 8px 0; color: var(--ink); border: 0; background: transparent; font-size: 11px; }
.search-field input::placeholder { color: var(--muted); opacity: 1; }
.sort-field select { max-width: 145px; min-height: 44px; padding: 9px 18px 9px 0; color: var(--ink); border: 0; background: transparent; font-size: 11px; cursor: pointer; }
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 12px; }
.product-card { min-width: 0; }
.product-visual { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--cream); }
.product-image-button { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: transparent; }
.product-image-button img, .product-visual noscript img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.product-image-button:hover img { transform: scale(1.02); }
.product-image-button:focus-visible { outline-offset: -5px; }
.favorite-button { position: absolute; z-index: 2; top: 4px; right: 4px; display: grid; place-items: center; width: 44px; height: 44px; padding: 13px; border: 0; background: transparent; }
.favorite-button .icon { width: 18px; height: 18px; }
.favorite-button[aria-pressed=true] .icon { fill: var(--ink); }
.quick-add { position: absolute; z-index: 2; bottom: 8px; right: 8px; left: 8px; display: flex; justify-content: space-between; align-items: center; gap: 8px; min-height: 44px; padding: 11px 12px; border: 0; color: var(--ink); background: #fffffff2; font-size: 11px; text-align: left; opacity: 0; transition: opacity .2s; pointer-events: none; }
.quick-add > span { font-size: 19px; line-height: 1; }
.product-visual:hover .quick-add, .product-visual:focus-within .quick-add { opacity: 1; pointer-events: auto; }
.quick-add:hover { background: #fff; }
.product-card-caption { display: flex; justify-content: space-between; align-items: start; gap: 10px; padding-top: 12px; }
.product-card-caption h3 { font-size: 12px; font-weight: 500; line-height: 1.6; }
.product-card-caption p { color: var(--muted); font-size: 10px; margin-top: 3px; }
.card-price { font-size: 12px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.catalog-empty { padding: 55px 20px; text-align: center; }
.catalog-empty h3 { font-size: 22px; }
.catalog-empty p { margin-top: 12px; color: var(--muted); }
.catalog-empty .button { margin-top: 24px; }

.shop-footer { padding-block: 38px 22px; background: #f6f6f4; }
.footer-top { display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.footer-top .wordmark { font-size: 20px; }
.footer-top nav { display: flex; flex-wrap: wrap; gap: 12px 28px; font-size: 11px; }
.footer-top nav a { padding-block: 8px; }
.footer-top a:hover, .footer-bottom a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: start; gap: 24px; margin-top: 35px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: 9px; }
.footer-bottom > a { white-space: nowrap; }

.shop-toast { position: fixed; z-index: 30; bottom: 24px; left: 50%; width: max-content; max-width: min(440px, calc(100% - 36px)); margin: 0; padding: 14px 22px; transform: translateX(-50%); background: var(--accent); color: var(--paper); box-shadow: 0 7px 30px #2925251f; font-size: 12px; line-height: 1.6; text-align: center; pointer-events: none; }
.shop-toast:empty { display: none; }
.dialog-open { overflow: hidden; }
.shop-dialog { position: fixed; inset: 0; width: min(1040px, calc(100vw - 64px)); max-width: none; max-height: 90dvh; margin: auto; padding: 0; border: 0; color: var(--ink); background: var(--paper); box-shadow: 0 20px 80px #29252529; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; }
.shop-dialog::backdrop { background: #29252580; }
.dialog-close { position: sticky; top: 16px; z-index: 5; display: grid; place-items: center; width: 40px; height: 40px; margin: 16px 16px -56px auto; padding: 10px; border: 1px solid var(--line); background: var(--paper); }
.dialog-close:hover { background: var(--cream); }
.product-detail { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.product-detail-media { display: grid; place-items: center; background: var(--cream); min-height: 580px; }
.product-detail-media img { width: 100%; height: 100%; max-height: 780px; object-fit: cover; }
.product-detail-info { min-width: 0; padding: 63px 40px 38px; }
.product-eyebrow { color: var(--accent); font-size: 9px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 15px; }
.product-detail-info h1, .product-detail-info h2 { font-family: var(--sans); font-size: clamp(25px, 2.5vw, 34px); letter-spacing: -.04em; line-height: 1.03; }
.product-price { margin-top: 18px; font-size: 17px; }
.product-description { color: var(--muted); font-size: 12px; line-height: 1.9; margin-top: 21px; }
.product-facts { padding: 0 0 0 17px; margin-block: 17px 25px; color: var(--muted); font-size: 11px; line-height: 1.9; }
dl.product-facts { padding-left: 0; }
.product-facts > div { display: flex; justify-content: space-between; gap: 15px; }
.product-facts dt { color: var(--ink); }.product-facts dd { margin: 0; text-align: right; }
.product-facts dd { max-width: 70%; }
.product-notes { border-top: 1px solid var(--line); margin-top: 26px; padding-top: 14px; font-size: 11px; }
.product-notes summary { padding-block: 7px; cursor: pointer; font-weight: 600; }
.product-notes ul { padding-left: 17px; color: var(--muted); line-height: 1.9; }
.product-notes > p { color: var(--muted); line-height: 1.9; }
.size-fieldset { border: 0; padding: 0; margin: 25px 0 20px; }
.size-fieldset legend { margin-bottom: 12px; padding: 0; font-size: 11px; font-weight: 600; }
.size-options { display: flex; flex-wrap: wrap; gap: 8px; }
.size-option { display: inline-grid; place-items: center; min-width: 44px; min-height: 44px; padding: 10px 13px; border: 1px solid var(--line); background: none; font-size: 11px; }
.size-option:hover { border-color: var(--accent); }
.size-option[aria-pressed=true] { background: var(--accent); color: var(--paper); border-color: var(--accent); }
.size-unavailable { display: block; font-size: 8px; line-height: 1.5; }
.size-fieldset legend > span { color: var(--muted); font-size: 10px; font-weight: 400; margin-left: 5px; }
.quantity-field { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-block: 20px; font-size: 11px; }
.quantity-field input, .quantity-field select { width: 80px; min-height: 44px; border: 1px solid var(--line); background: transparent; color: var(--ink); padding: 9px; text-align: center; }
.product-error { color: #8b273d; font-size: 11px; line-height: 1.7; margin-block: 12px; }
.product-error:empty { display: none; }
.product-feedback, .cart-feedback { margin-block: 15px; padding: 12px 14px; border-left: 2px solid var(--accent); background: #f5f5f5; color: var(--accent); font-size: 11px; line-height: 1.7; }
.product-feedback:empty, .cart-feedback:empty { display: none; }
.product-actions { display: grid; gap: 10px; margin-top: 23px; }
.product-actions .shop-button, .product-actions .shop-button-secondary, .cart-actions .shop-button, .cart-actions .shop-button-secondary { width: 100%; justify-content: center; text-align: center; }
.demo-notice { padding-top: 15px; margin-top: 17px; border-top: 1px solid var(--line); color: var(--muted); font-size: 10px; line-height: 1.8; }
.cart-dialog { inset: 5dvh 0 5dvh auto; width: min(500px, 100vw); height: 90dvh; max-height: 90dvh; margin: 0; }
#cart-content { padding: 48px 32px 32px; }
#cart-content > .product-eyebrow { margin-bottom: 12px; }
#cart-content > h2 { font-size: 30px; margin-bottom: 26px; }
.cart-empty { display: flex; flex-direction: column; align-items: start; gap: 18px; padding-block: 35px 50px; border-top: 1px solid var(--line); }
.cart-empty h3 { font-family: var(--sans); font-size: 22px; }
.cart-empty p { color: var(--muted); font-size: 12px; }
.cart-empty .shop-button { margin-top: 10px; }
.cart-items { list-style: none; padding: 0; margin: 0; }
.cart-item { display: grid; grid-template-columns: 95px minmax(0, 1fr) auto; gap: 19px; padding-block: 23px; border-top: 1px solid var(--line); }
.cart-item-image { width: 95px; aspect-ratio: 4 / 5; background: var(--cream); object-fit: cover; }
.cart-item-image img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-info { min-width: 0; }
.cart-item-info h3 { font-family: var(--sans); font-size: 14px; line-height: 1.15; letter-spacing: -.025em; margin-top: 2px; }
.cart-item-info p { color: var(--muted); font-size: 10px; margin-top: 6px; }
.cart-item-info strong { display: inline-block; margin-top: 8px; font-size: 12px; font-weight: 500; }
.cart-item-total { font-size: 12px; font-weight: 600; margin-top: 3px; white-space: nowrap; }
.cart-item-controls { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; margin-top: 12px; font-size: 11px; }
.cart-item-controls button:not(.cart-remove) { display: grid; place-items: center; min-width: 36px; min-height: 36px; padding: 5px; background: none; border: 1px solid var(--line); }
.cart-item-controls input, .cart-item-controls select { width: 58px; min-height: 36px; padding: 5px; border: 1px solid var(--line); background: none; color: var(--ink); text-align: center; font-size: 11px; }
.cart-item-controls > span { min-width: 18px; text-align: center; }
.cart-remove { min-height: 36px; border: 0; padding: 7px 0; background: none; color: var(--muted); font-size: 10px; text-decoration: underline; text-underline-offset: 3px; }
.cart-item-controls .cart-remove { margin-left: auto; }
.cart-remove:hover { color: var(--accent); }
.cart-summary { padding-top: 24px; border-top: 1px solid var(--line); margin-top: 8px; }
.summary-row { display: flex; justify-content: space-between; gap: 20px; padding-block: 5px; color: var(--muted); font-size: 11px; }
.summary-row > :last-child { flex-shrink: 0; text-align: right; }
.summary-total { color: var(--ink); font-size: 16px; padding-top: 13px; }
.summary-total strong { font-weight: 600; }
.shipping-note { color: var(--muted); font-size: 10px; line-height: 1.8; margin-top: 17px; }
.cart-actions { display: grid; gap: 10px; margin-top: 25px; }
.checkout-dialog { width: min(780px, calc(100vw - 64px)); }
#checkout-content { padding: 54px 40px 40px; }
.checkout-layout { display: block; }
#checkout-form { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px 29px; margin-top: 30px; }
#checkout-form > .delivery-options { grid-column: 1; grid-row: 1 / 4; align-self: start; }
#checkout-form > .checkout-summary-title { grid-column: 2; grid-row: 1; margin-bottom: 0; }
#checkout-form > .checkout-items { grid-column: 2; grid-row: 2; }
#checkout-form > .cart-summary { grid-column: 2; grid-row: 3; }
#checkout-form > .cart-actions { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 9px; }
.checkout-intro { grid-column: 1 / -1; }
.checkout-intro .eyebrow { margin-bottom: 15px; color: var(--accent); }
.checkout-intro h2 { font-size: 30px; }
.checkout-intro p:not(.eyebrow) { margin-top: 17px; color: var(--muted); font-size: 12px; line-height: 1.8; }
.checkout-layout h3 { font-family: var(--sans); font-size: 17px; margin-bottom: 16px; }
.delivery-options { display: grid; gap: 11px; padding: 0; border: 0; margin: 0; }
.delivery-options legend { margin-bottom: 15px; padding: 0; font-size: 12px; font-weight: 600; }
.delivery-option { position: relative; display: flex; align-items: start; gap: 11px; padding: 17px 14px; border: 1px solid var(--line); font-size: 11px; cursor: pointer; }
.delivery-option:has(input:checked) { border-color: var(--accent); background: #f5f5f5; }
.delivery-option input { accent-color: var(--accent); width: 16px; height: 16px; flex-shrink: 0; margin: 2px 0 0; }
.delivery-option strong { font-size: 11px; font-weight: 600; }
.delivery-option small { display: block; color: var(--muted); font-size: 10px; line-height: 1.7; margin-top: 5px; }
.delivery-option > span:last-child { min-width: 0; }
.checkout-items { margin: 0; padding: 0; list-style: none; }
.checkout-item { display: flex; justify-content: space-between; align-items: start; gap: 15px; padding-block: 13px; border-bottom: 1px solid var(--line); font-size: 11px; }
.checkout-item:first-child { padding-top: 0; }
.checkout-item img { width: 56px; aspect-ratio: 4 / 5; object-fit: cover; background: var(--cream); }
.checkout-item p, .checkout-item small { color: var(--muted); font-size: 10px; }
.checkout-item > div > span { display: block; color: var(--muted); font-size: 10px; margin-top: 4px; }
.checkout-item strong { font-weight: 600; }
.checkout-item > :last-child { flex-shrink: 0; }
.checkout-layout > .cart-summary, .checkout-layout > .cart-actions, .checkout-layout > .demo-notice { grid-column: 1 / -1; }
.checkout-layout .cart-summary { margin-top: 0; }
.checkout-layout .cart-actions { margin-top: 0; }
.checkout-confirmation { text-align: center; padding: 20px 15px 12px; }
.checkout-confirmation .eyebrow { color: var(--accent); margin-bottom: 22px; }
.checkout-confirmation h2 { font-size: 30px; }
.checkout-confirmation p { max-width: 45ch; margin: 20px auto 0; color: var(--muted); font-size: 12px; line-height: 1.9; }
.confirmation-reference { display: block; padding-block: 18px; margin-block: 25px; border-block: 1px solid var(--line); color: var(--accent); font-size: 12px; font-weight: 600; letter-spacing: .06em; overflow-wrap: anywhere; }
.checkout-confirmation .shop-button { margin-top: 25px; }
.checkout-confirmation .checkout-items { text-align: left; }


@media (max-width: 1000px) {
  .header-inner { gap: 18px; }
  #site-nav { gap: 20px; }
  .product-card-caption { display: block; }
  .card-price { display: block; margin-top: 5px; }
  .catalog-tools { gap: 18px; }
  .product-detail-info { padding-inline: 28px; }
}
@media (max-width: 800px) {
  .page-width { width: calc(100% - 40px); }
  .demo-bar { padding-inline: 20px; }
  .header-inner { position: relative; display: flex; min-height: 72px; flex-wrap: wrap; justify-content: center; gap: 0; }
  .wordmark { font-size: 22px; }
  .js .menu-toggle { position: absolute; left: -10px; top: 14px; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 6px; width: 44px; height: 44px; padding: 10px; border: 0; background: transparent; }
  .menu-toggle > span { display: block; width: 20px; height: 1px; background: var(--ink); transition: transform .2s; }
  .menu-toggle[aria-expanded=true] > span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .menu-toggle[aria-expanded=true] > span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .header-actions { position: absolute; right: 0; top: 14px; }
  .header-actions .icon-button { display: none; }
  .cart-open { gap: 5px; padding-inline: 5px 0; }
  #site-nav { order: 3; width: 100%; margin: 16px 0 0; padding-bottom: 16px; display: flex; align-items: stretch; flex-direction: column; gap: 0; }
  #site-nav a, #site-nav button { text-align: left; border-top: 1px solid var(--line); min-height: 48px; padding: 15px 0; font-size: 12px; }
  .js #site-nav { display: none; }.js #site-nav.is-open { display: flex; }
  .campaign { height: 560px; }
  .campaign-image { object-position: 64% 15%; }
  .campaign-copy { padding-block: 34px; }
  .campaign-copy h1 { font-size: 44px; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 12px; }
  .product-card-caption { display: flex; }
  .card-price { margin-top: 0; }
  .quick-add { opacity: 1; pointer-events: auto; }
  .catalog-controls { display: block; }
  .catalog-tools { justify-content: space-between; border-top: 1px solid #eee; margin-top: 6px; padding-top: 6px; }
  .category-filters { gap: 24px; }
  .footer-top { align-items: start; }
  .footer-top nav { gap: 7px 20px; justify-content: end; }
  .product-dialog { width: calc(100vw - 32px); }
  .product-detail-info { padding: 60px 24px 30px; }
  .product-detail-media { min-height: 520px; }
  .checkout-dialog { width: calc(100vw - 32px); }
  #checkout-content { padding-inline: 28px; }
}
@media (max-width: 600px) {
  .page-width { width: calc(100% - 32px); }
  .demo-bar { padding: 5px 16px; gap: 12px; font-size: 8px; }
  .campaign { height: min(640px, 78svh); min-height: 470px; }
  .campaign-image { object-position: 72% top; }
  .campaign-copy { width: 100%; padding: 70px 20px 28px; color: white; background: linear-gradient(transparent, #0008); }
  .campaign-copy h1 { font-size: 38px; }
  .campaign-link { margin-top: 14px; padding-inline: 16px; }
  .catalog { padding-block: 28px 42px; }
  .section-heading h2 { font-size: 20px; }
  .section-heading > span { font-size: 10px; }
  .catalog-controls { padding-block: 8px; }
  .category-filters { justify-content: space-between; gap: 10px; }
  .category-filters button { font-size: 10px; }
  .search-field input { width: 125px; font-size: 12px; }
  .sort-field select { width: 118px; font-size: 11px; }
  .product-card-caption { display: block; padding-top: 10px; }
  .product-card-caption h3, .card-price { font-size: 11px; }
  .product-card-caption p { font-size: 9px; }
  .card-price { margin-top: 5px; }
  .quick-add { font-size: 10px; bottom: 5px; right: 5px; left: 5px; padding-inline: 9px; }
  .favorite-button { top: 0; right: 0; }
  .shop-footer { padding-top: 28px; }
  .footer-top { display: block; }
  .footer-top nav { justify-content: start; margin-top: 20px; gap: 4px 20px; font-size: 10px; }
  .footer-bottom { margin-top: 23px; gap: 20px; font-size: 8px; }
  .footer-bottom p { max-width: 30ch; }
  .shop-toast { bottom: 16px; padding: 12px 17px; font-size: 11px; }
  .shop-dialog, .product-dialog, .checkout-dialog { width: calc(100vw - 24px); max-height: 90dvh; }
  .dialog-close { top: 12px; width: 38px; height: 38px; margin: 12px 12px -50px auto; }
  .product-detail { grid-template-columns: 1fr; }
  .product-detail-media { min-height: 0; height: min(46dvh, 390px); }
  .product-detail-media img { width: 100%; height: 100%; object-fit: contain; }
  .product-detail-info { padding: 25px 24px 27px; }
  .product-detail-info h2 { font-size: 26px; }
  .product-price { font-size: 16px; margin-top: 15px; }
  .cart-dialog { width: min(500px, calc(100vw - 12px)); inset: 5dvh 0 5dvh auto; }
  #cart-content { padding-inline: 23px; padding-bottom: 25px; }
  #cart-content > h2 { font-size: 28px; }
  .cart-item { grid-template-columns: 70px minmax(0, 1fr) auto; gap: 12px; }
  .cart-item-image { width: 70px; }
  .cart-item-info h3 { font-size: 12px; line-height: 1.5; }
  .cart-item-total { font-size: 11px; }
  .cart-item-controls { gap: 6px; }
  .cart-item-controls .cart-remove { margin-left: 0; }
  .cart-actions .shop-button { font-size: 11px; padding-inline: 15px; }
  #checkout-content { padding: 54px 23px 27px; }
  #checkout-form { display: block; margin-top: 27px; }
  #checkout-form > .checkout-summary-title { margin-block: 27px 17px; }
  #checkout-form > .cart-summary { margin-top: 20px; }
  #checkout-form > .cart-actions { grid-template-columns: 1fr; margin-top: 25px; }
  .checkout-intro h2, .checkout-confirmation h2 { font-size: 28px; }
  .checkout-intro p:not(.eyebrow) { font-size: 11px; }
  .checkout-confirmation { padding: 15px 0 5px; }
  .checkout-confirmation .shop-button { width: 100%; justify-content: center; font-size: 11px; padding-inline: 13px; }
}
@media (max-width: 360px) {
  .wordmark { font-size: 20px; }
  .demo-bar { font-size: 7px; }
  .quick-add { font-size: 9px; padding-inline: 7px; }
  .cart-item { grid-template-columns: 58px minmax(0, 1fr) auto; gap: 10px; }
  .cart-item-image { width: 58px; }
  .cart-item-controls button:not(.cart-remove) { min-width: 30px; }
  .cart-item-controls input { width: 43px; }
}
@media (hover: none), (pointer: coarse) {
  .quick-add { opacity: 1; pointer-events: auto; }
  .product-image-button:hover img { transform: none; }
  .cart-item-controls button:not(.cart-remove), .cart-item-controls input, .cart-remove { min-height: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .product-image-button:hover img { transform: none; }
}
@media print {
  .demo-bar, .header-actions, .menu-toggle, .catalog-controls, .favorite-button, .quick-add, .shop-dialog, .shop-toast { display: none !important; }
  .page-width { width: 100%; }
  .campaign { height: 440px; min-height: 0; }
  .product-card { break-inside: avoid; }
}

/* Shared return control for the local demonstration gallery. */
.demo-bar { flex-wrap: wrap; }
.demo-bar > span { flex: 1 1 135px; min-width: 0; }
.demo-bar a.demo-return { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; gap: 8px; min-height: 40px; padding: 8px 12px; border: 1px solid #d8dfda; border-radius: 6px; background: #fff; color: #244f40; font-family: inherit; font-size: 11px; font-weight: 600; line-height: 1.4; letter-spacing: 0; white-space: nowrap; text-decoration: none; }
.demo-bar a.demo-return svg { display: block; flex-shrink: 0; }
.demo-bar a.demo-return:hover { background: #f4f7f5; border-color: #aabfb3; text-decoration: none; }
.demo-bar a.demo-return:focus-visible { outline: 2px solid #244f40; outline-offset: 3px; }
