:root {
  color-scheme: light;
  --store-ink: #1d211c;
  --store-muted: #70736b;
  --store-paper: #f7f5ef;
  --store-white: #fffefa;
  --store-line: #dedbd1;
  --store-accent: #ed3b25;
  --store-accent-dark: #c92717;
  --store-serif: "Playfair Display", Georgia, serif;
  --store-sans: "DM Sans", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.store-demo { min-height: 100vh; margin: 0; display: flex; flex-direction: column; color: var(--store-ink); background: var(--store-paper); font: 14px/1.6 var(--store-sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
a:focus-visible { outline: 3px solid rgba(237,59,37,.55); outline-offset: 4px; }
[hidden] { display: none !important; }
.store-container { width: min(1120px, calc(100% - 48px)); margin-inline: auto; }
.store-header { position: sticky; z-index: 5; top: 0; min-height: 76px; padding: 10px max(24px, calc((100% - 1120px) / 2)); display: flex; align-items: center; justify-content: space-between; gap: 20px; border-bottom: 1px solid rgba(29,33,28,.08); background: rgba(255,254,250,.97); backdrop-filter: blur(12px); }
.store-brand { display: inline-flex; align-items: center; gap: 10px; flex: 0 0 auto; font-size: 13px; font-weight: 800; letter-spacing: .1em; line-height: 1.15; }
.store-brand b { display: block; color: var(--store-accent); font-size: 10px; letter-spacing: .19em; }
.store-brand small { display: block; margin-top: 5px; color: var(--store-muted); font-size: 7px; letter-spacing: .18em; }
.store-brand-mark { width: 39px; height: 39px; display: grid; place-items: center; border: 1px solid var(--store-ink); border-radius: 50%; color: var(--store-accent); background: white; font: 700 22px var(--store-serif); }
.store-nav, .store-footer nav { display: flex; align-items: center; gap: clamp(14px, 2.4vw, 29px); }
.store-nav { color: #56584f; font-size: 11px; font-weight: 700; }
.store-nav > a:not(.store-button):hover, .store-footer nav a:hover { color: var(--store-accent-dark); }
.store-cart-count { min-width: 18px; height: 18px; margin-left: 4px; padding: 0 4px; display: inline-grid; place-items: center; border-radius: 50%; color: white; background: var(--store-accent); font-size: 9px; line-height: 1; }
.store-button { min-height: 46px; padding: 0 17px; display: inline-flex; align-items: center; justify-content: center; gap: 13px; border: 1px solid transparent; font-size: 10px; font-weight: 800; transition: background .2s ease, transform .2s ease; }
.store-button:hover { transform: translateY(-2px); }
.store-button span { font-size: 14px; }
.store-button-dark { color: white; background: var(--store-ink); }
.store-button-dark:hover { background: #394036; }
.store-button-light { color: var(--store-ink); background: white; }
.store-button-light:hover { background: #fff0e8; }
.store-hero { position: relative; min-height: 440px; display: flex; align-items: center; overflow: hidden; color: white; background: #28271f url("https://images.unsplash.com/photo-1529006557810-274b9b2fc783?auto=format&fit=crop&w=2000&q=85") center 54%/cover; }
.store-hero::before { position: absolute; inset: 0; content: ""; background: linear-gradient(90deg, rgba(20,23,19,.84), rgba(20,23,19,.52) 54%, rgba(20,23,19,.12)); }
.store-hero-inner { position: relative; padding-top: 52px; padding-bottom: 52px; }
.store-eyebrow { margin: 0 0 10px; color: var(--store-accent-dark); font-size: 9px; font-weight: 800; letter-spacing: .17em; }
.store-hero .store-eyebrow { color: #f6a38d; }
.store-hero h1, .store-product-detail-copy h1, .store-not-found h1 { margin: 0; font: 500 clamp(47px, 6vw, 73px)/1.02 var(--store-serif); letter-spacing: -.05em; }
.store-hero h1 em { color: #ff977e; font-weight: 400; }
.store-hero-inner > p:not(.store-eyebrow) { max-width: 460px; margin: 17px 0 22px; color: rgba(255,255,255,.82); font-size: 12px; line-height: 1.9; }
.store-catalog { padding: 72px 0 84px; }
.store-section-heading { margin-bottom: 28px; display: flex; align-items: end; justify-content: space-between; gap: 20px; }
.store-section-heading h2 { margin: 0; font: 500 clamp(34px, 4vw, 48px)/1.1 var(--store-serif); letter-spacing: -.04em; }
.store-section-heading h2 em { color: var(--store-accent); font-weight: 400; }
.store-text-link { width: fit-content; display: inline-flex; align-items: center; gap: 10px; padding-bottom: 5px; border-bottom: 1px solid #bbb8ae; font-size: 10px; font-weight: 800; }
.store-text-link span { color: var(--store-accent); font-size: 14px; }
.store-product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.store-product-card { min-width: 0; display: flex; flex-direction: column; overflow: hidden; background: var(--store-white); box-shadow: 0 10px 30px rgba(27,30,25,.06); }
.store-product-photo { position: relative; display: block; aspect-ratio: 1.75; overflow: hidden; background: #e7e2d6; }
.store-product-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.store-product-photo:hover img { transform: scale(1.05); }
.store-product-badge { position: absolute; top: 12px; left: 12px; padding: 5px 8px; color: white; background: var(--store-accent); font-size: 7px; font-weight: 800; letter-spacing: .1em; }
.store-product-arrow { position: absolute; right: 12px; bottom: 12px; width: 33px; height: 33px; display: grid; place-items: center; border-radius: 50%; color: var(--store-ink); background: white; }
.store-product-copy { min-height: 220px; padding: 18px; display: flex; flex: 1; flex-direction: column; align-items: flex-start; }
.store-product-price-row { width: 100%; margin-bottom: 7px; display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.store-product-price-row > span { overflow: hidden; color: #85847b; font-size: 7px; font-weight: 700; text-overflow: ellipsis; text-transform: uppercase; white-space: nowrap; }
.store-product-copy h2 { margin: 0; font: 700 15px/1.3 var(--store-sans); }
.store-product-copy h2 a:hover { color: var(--store-accent-dark); }
.store-product-price { color: var(--store-accent-dark); font-size: 21px; font-weight: 800; line-height: 1.2; }
.store-product-copy > p { min-height: 32px; margin: 7px 0 13px; color: var(--store-muted); font-size: 9px; line-height: 1.6; }
.store-product-actions { width: 100%; min-height: 38px; margin-top: auto; padding-top: 9px; display: flex; align-items: center; justify-content: space-between; gap: 10px; border-top: 1px solid #eeece5; }
.store-product-actions > a { display: inline-flex; align-items: center; gap: 8px; color: #454940; font-size: 9px; font-weight: 800; }
.store-product-actions > a span { color: var(--store-accent); font-size: 14px; }
.store-product-actions > button { width: 30px; height: 30px; display: grid; place-items: center; border: 0; border-radius: 50%; color: white; background: var(--store-ink); font-size: 18px; line-height: 1; transition: background .2s ease, transform .2s ease; }
.store-product-actions > button:hover { background: var(--store-accent); transform: translateY(-2px); }
.store-product-toolbar { min-height: 43px; margin: 0 0 17px; display: flex; align-items: stretch; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--store-line); }
.store-filter-tabs { display: flex; align-items: stretch; gap: 24px; }
.store-filter-tab { position: relative; padding: 0 0 10px; border: 0; color: #82847c; background: transparent; font-size: 9px; font-weight: 700; cursor: pointer; }
.store-filter-tab:hover, .store-filter-tab.is-active { color: var(--store-ink); }
.store-filter-tab.is-active::after { position: absolute; right: 0; bottom: -1px; left: 0; height: 2px; content: ""; background: var(--store-accent); }
.store-results-count { align-self: center; margin: 0; color: #85847b; font-size: 8px; white-space: nowrap; }
.store-disclaimer, .store-small-print { color: #85847b; font-size: 9px; line-height: 1.7; }
.store-disclaimer { margin: 17px 0 0; }
.store-footer { width: 100%; margin-top: auto; padding: 25px max(24px, calc((100% - 1120px) / 2)); display: flex; align-items: center; justify-content: space-between; gap: 18px; color: rgba(255,255,255,.72); background: #191d19; }
.store-footer .store-brand { color: white; }
.store-footer nav { gap: 18px; font-size: 9px; font-weight: 600; }
.store-footer nav a:hover { color: white; }
.store-footer > span { color: #f39881; font-size: 9px; }
.store-product-detail-page { flex: 1; padding-top: 29px; padding-bottom: 70px; }
.store-breadcrumbs { margin-bottom: 23px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; color: var(--store-muted); font-size: 9px; }
.store-breadcrumbs a:hover { color: var(--store-accent-dark); }
.store-breadcrumbs > span[aria-hidden="true"] { color: var(--store-accent); }
.store-product-detail { display: grid; grid-template-columns: 1fr .86fr; align-items: center; gap: 7%; }
.store-product-detail-photo { min-height: 410px; overflow: hidden; background: #e8e2d6; }
.store-product-detail-photo img { width: 100%; height: 410px; object-fit: cover; }
.store-product-detail-copy .store-eyebrow { margin-bottom: 9px; }
.store-product-detail-copy h1 { font-size: clamp(39px, 4.7vw, 57px); }
.store-product-detail-copy > p:not(.store-eyebrow) { margin: 15px 0 19px; color: var(--store-muted); font-size: 11px; line-height: 1.8; }
.store-live-note { margin-bottom: 20px; padding: 15px; display: flex; flex-direction: column; gap: 5px; border: 1px solid var(--store-line); background: var(--store-white); }
.store-live-note strong { font-size: 10px; }
.store-live-note span { color: var(--store-muted); font-size: 9px; line-height: 1.7; }
.store-product-detail-copy .store-text-link { margin-top: 18px; }
.store-product-detail-price { margin: 0 0 18px; color: var(--store-accent-dark); font-size: 21px; font-weight: 800; }
.store-quantity-label { margin-bottom: 6px; display: block; color: var(--store-muted); font-size: 10px; font-weight: 700; }
.store-quantity-input { width: 88px; min-height: 42px; margin-bottom: 14px; padding: 8px 10px; border: 1px solid var(--store-line); color: var(--store-ink); background: var(--store-white); }
.store-product-detail-copy > .store-button { width: 100%; max-width: 320px; }
.store-status-actions { margin-top: 26px; display: flex; flex-wrap: wrap; align-items: center; gap: 21px; }
.store-not-found { padding: 75px 0; }
.store-not-found h1 { margin-bottom: 23px; font-size: clamp(40px, 5vw, 58px); }
.store-action-status { margin: 0 0 17px; padding: 12px 15px; border-left: 3px solid var(--store-accent); color: var(--store-ink); background: #fff3e9; font-size: 10px; line-height: 1.6; }
.store-demo-note { color: #725644; font-size: 10px; line-height: 1.7; }
.store-cart-page, .store-checkout-page { width: min(920px, calc(100% - 48px)); min-height: calc(100vh - 175px); padding-top: 55px; padding-bottom: 75px; }
.store-cart-page > h1, .store-checkout-page > h1 { margin: 0; font: 500 clamp(39px, 5vw, 56px)/1.08 var(--store-serif); letter-spacing: -.04em; }
.store-cart-page > h1 em, .store-checkout-page > h1 em { color: var(--store-accent); font-weight: 400; }
.store-cart-page > p:not(.store-eyebrow), .store-checkout-page > p:not(.store-eyebrow) { max-width: 690px; }
.store-empty-cart { margin-top: 25px; padding: 30px; border: 1px solid var(--store-line); background: var(--store-white); }
.store-empty-cart h2, .checkout-confirmation h2 { margin: 0; font: 500 28px/1.2 var(--store-serif); }
.store-empty-cart p { margin: 8px 0 18px; color: var(--store-muted); font-size: 10px; }
.cart-items { border-top: 1px solid var(--store-line); }
.cart-item { position: relative; padding: 15px 0; display: grid; grid-template-columns: 76px minmax(0, 1fr) auto auto; align-items: center; gap: 15px; border-bottom: 1px solid var(--store-line); }
.cart-item > img { width: 76px; height: 76px; object-fit: cover; background: #e8e2d6; }
.cart-item-description .store-eyebrow { margin-bottom: 3px; font-size: 8px; }
.cart-item-description h2 { margin: 0; font: 500 20px/1.2 var(--store-serif); }
.cart-item-description > span { color: var(--store-muted); font-size: 9px; }
.cart-item-controls { display: flex; align-items: center; gap: 9px; }
.cart-item-controls button { width: 29px; height: 29px; border: 1px solid var(--store-line); background: var(--store-white); }
.cart-item-controls output { min-width: 16px; text-align: center; font-size: 10px; font-weight: 700; }
.cart-item-total { min-width: 62px; font-size: 11px; text-align: right; }
.cart-remove { position: absolute; right: 0; bottom: 4px; padding: 2px 0; border: 0; color: var(--store-accent-dark); background: transparent; font-size: 8px; text-decoration: underline; }
.cart-summary { margin-top: 18px; padding-top: 15px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border-top: 1px solid var(--store-line); font-size: 11px; }
.cart-summary strong { font-size: 16px; }
.store-small-print { margin: 10px 0; }
.checkout-form { margin-top: 24px; display: grid; grid-template-columns: 1fr .9fr; align-items: start; gap: 22px; }
.checkout-order-summary, .checkout-form-fields { padding: 24px; background: var(--store-white); box-shadow: 0 8px 26px rgba(27,30,25,.045); }
.checkout-order-summary h2, .checkout-form-fields h2 { margin: 0 0 17px; font: 500 25px/1.2 var(--store-serif); }
.checkout-summary-row { padding: 10px 0; display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--store-line); font-size: 9px; }
.checkout-summary-row strong { white-space: nowrap; }
.checkout-form-fields label { margin-bottom: 14px; display: grid; gap: 6px; color: var(--store-ink); font-size: 9px; font-weight: 700; }
.checkout-form-fields label span { color: var(--store-muted); font-weight: 400; }
.checkout-form-fields input, .checkout-form-fields textarea { width: 100%; padding: 11px; border: 1px solid var(--store-line); border-radius: 0; color: var(--store-ink); background: #fff; font-size: 10px; }
.checkout-form-fields input:focus, .checkout-form-fields textarea:focus, .store-quantity-input:focus { outline: 2px solid rgba(237,59,37,.4); outline-offset: 1px; border-color: var(--store-accent); }
.checkout-form-fields textarea { resize: vertical; }
.checkout-form-fields > p { margin: 0 0 15px; color: var(--store-muted); font-size: 8px; line-height: 1.6; }
.checkout-form-fields > .store-button { width: 100%; }
.checkout-confirmation { margin-top: 25px; padding: 27px; border: 1px solid #d5dacb; background: #f0f3e8; }
.checkout-confirmation > p { font-size: 10px; }
.checkout-confirmation .store-demo-note { max-width: 570px; }

@media (max-width: 800px) {
  .store-header { padding-inline: 20px; }
  .store-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .store-product-detail { gap: 5%; }
  .store-product-detail-photo, .store-product-detail-photo img { min-height: 330px; height: 330px; }
  .store-footer { padding-inline: 20px; }
}

@media (max-width: 600px) {
  .store-header { min-height: 68px; gap: 10px; }
  .store-brand { gap: 7px; font-size: 11px; }
  .store-brand-mark { width: 34px; height: 34px; font-size: 19px; }
  .store-nav { gap: 11px; font-size: 10px; }
  .store-nav .store-button { min-height: 39px; padding-inline: 10px; font-size: 9px; }
  .store-container { width: calc(100% - 36px); }
  .store-hero { min-height: 390px; background-position: 58% center; }
  .store-hero::before { background: linear-gradient(90deg, rgba(20,23,19,.82), rgba(20,23,19,.36)); }
  .store-hero-inner { padding-block: 42px; }
  .store-hero h1 { font-size: clamp(47px, 12vw, 64px); }
  .store-catalog { padding: 55px 0 64px; }
  .store-section-heading { align-items: flex-start; flex-direction: column; }
  .store-product-grid { gap: 11px; }
  .store-product-copy { min-height: 215px; padding: 13px; }
  .store-product-copy h2 { font-size: 15px; }
  .store-product-toolbar { gap: 12px; }
  .store-filter-tabs { gap: 16px; }
  .store-product-actions > a { font-size: 8px; }
  .store-product-detail { grid-template-columns: 1fr; gap: 25px; }
  .store-product-detail-photo, .store-product-detail-photo img { min-height: 280px; height: 280px; }
  .store-product-detail-copy h1 { font-size: 43px; }
  .store-product-detail-page { padding-top: 20px; }
  .store-cart-page, .store-checkout-page { width: calc(100% - 36px); min-height: calc(100vh - 165px); padding-top: 42px; }
  .store-cart-page > h1, .store-checkout-page > h1 { font-size: 43px; }
  .checkout-form { grid-template-columns: 1fr; gap: 14px; }
  .checkout-order-summary, .checkout-form-fields { padding: 19px; }
  .cart-item { grid-template-columns: 62px minmax(0, 1fr) auto; gap: 9px; padding-bottom: 12px; }
  .cart-item > img { width: 62px; height: 62px; grid-column: 1; grid-row: 1 / 3; }
  .cart-item-description { grid-column: 2 / 4; }
  .cart-item-description h2 { font-size: 18px; }
  .cart-item-controls { grid-column: 2; justify-self: start; gap: 6px; }
  .cart-item-total { grid-column: 3; grid-row: 2; }
  .cart-remove { position: static; grid-column: 2 / 4; grid-row: 3; justify-self: start; }
  .store-footer { align-items: flex-start; flex-wrap: wrap; padding: 22px 18px; }
  .store-footer nav { gap: 13px; }
}

@media (max-width: 390px) {
  .store-product-grid { grid-template-columns: 1fr; }
  .store-product-photo { aspect-ratio: 1.7; }
  .store-product-copy { min-height: 190px; }
  .store-header { padding-inline: 14px; }
  .store-nav { gap: 8px; }
  .store-nav .store-button { padding-inline: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
