:root {
  color-scheme: light;
  --forest: #173f33;
  --ink: #203a31;
  --paper: #f6f3e9;
  --ochre: #ebc166;
  --line: #b6b9ab;
  --muted: #526158;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.5 system-ui, -apple-system, "Segoe UI", sans-serif; }
button, input, select { font: inherit; }
button, input, select { min-height: 44px; border: 1px solid var(--muted); border-radius: 4px; }
button { padding: 10px 16px; color: var(--forest); background: transparent; cursor: pointer; }
button:hover { background: #e5e8dc; }
button:disabled { cursor: not-allowed; background: #e5e6df; color: var(--muted); }
:focus-visible { outline: 3px solid #986317; outline-offset: 4px; }
[hidden] { display: none !important; }
a { color: inherit; }
.skip { position: absolute; left: 16px; top: -80px; padding: 12px; background: white; z-index: 5; }
.skip:focus { top: 10px; }
.notice { background: var(--forest); color: var(--paper); padding: 9px 5%; display: flex; justify-content: space-between; gap: 12px; font-size: 12px; letter-spacing: .07em; }
.site-header { padding: 24px 5%; display: flex; align-items: center; gap: 24px; border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 12px; font-size: 24px; letter-spacing: .12em; font-weight: 750; }
.brand svg { width: 34px; height: 40px; fill: none; stroke: currentColor; stroke-width: 2.5; }
.brand-note { padding-left: 25px; border-left: 1px solid var(--line); color: var(--muted); font-size: 13px; margin: 0; }
.primary { background: var(--forest); color: white; border-color: var(--forest); }
.primary:hover { background: #285746; }
.cart-trigger { margin-left: auto; display: flex; gap: 18px; align-items: center; }
#cartCount { background: var(--ochre); color: var(--forest); min-width: 26px; border-radius: 30px; padding: 2px 7px; }
main { max-width: 1510px; padding: 0 5%; margin: auto; }
.intro { display: flex; justify-content: space-between; align-items: center; gap: 32px; padding: 36px 0 30px; }
.eyebrow { font-size: 12px; text-transform: uppercase; letter-spacing: .15em; font-weight: 700; }
h1 { font-family: Georgia, "Times New Roman", serif; font-weight: 400; font-size: clamp(38px,4.5vw,64px); letter-spacing: -.045em; line-height: 1.08; margin: 8px 0 14px; }
.intro p { margin: 0; color: var(--muted); }
.intro svg { width: 145px; height: 120px; flex-shrink: 0; }
.intro circle { fill: var(--ochre); }
.intro path { fill: none; stroke: var(--forest); stroke-width: 2; }
.filters { border-block: 1px solid var(--line); padding: 22px 0; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 20px; align-items: end; }
.filters > div { min-width: 0; }
label { display: block; font-size: 13px; font-weight: 650; margin-bottom: 7px; }
input, select { width: 100%; color: var(--ink); background: #fffdf7; padding: 11px 14px; }
.result-bar { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; justify-content: space-between; margin: 16px 0; font-size: 13px; color: var(--muted); }
.result-bar p { margin: 0; }
.text-button { border: 0; text-decoration: underline; font-size: 13px; }
.feedback:empty, #cartFeedback:empty { display: none; }
.feedback { margin: 0 0 18px; }
.products { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 30px 24px; }
.product { min-width: 0; display: flex; flex-direction: column; overflow-wrap: anywhere; }
.art { position: relative; height: 224px; background: #e7e8dc; overflow: hidden; display: grid; place-items: center; }
.product:nth-child(4n+2) .art { background: #eae2cc; }
.product:nth-child(4n+3) .art { background: #dfe6de; }
.product:nth-child(4n+4) .art { background: #e9e1d5; }
.art::before { content: ""; position: absolute; width: 180px; height: 180px; border: 1px solid #b4bba9; border-radius: 50%; }
.package { position: relative; height: 206px; width: 180px; }
.package-shadow { fill: #203a31; opacity: .12; }
.package-body { fill: #f9f5e6; stroke: #697365; }
.package-seal { fill: #c5c8b6; }
.package-label { fill: var(--forest); }
.package-brand { fill: #fffbee; font-size: 10px; letter-spacing: 2px; text-anchor: middle; }
.package-leaf { fill: none; stroke: var(--ochre); stroke-width: 1.5; }
.package-caption { fill: var(--ink); font-size: 8px; text-anchor: middle; }
.product .eyebrow { margin: 16px 0 4px; color: var(--muted); font-size: 10px; }
h2 { margin: 0; font-size: 20px; font-weight: 650; line-height: 1.3; letter-spacing: -.025em; }
.presentation, .sku { margin: 5px 0; font-size: 13px; color: var(--muted); }
.price { font-size: 21px; font-weight: 650; line-height: 1.3; margin: 14px 0; }
.add { width: 100%; margin-top: auto; }
.state { padding: 50px 20px; text-align: center; border: 1px dashed var(--line); }
.state p { color: var(--muted); }
footer { margin: 32px 5% 0; padding: 20px 0; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; font-size: 12px; color: var(--muted); }
dialog { position: fixed; inset: 0 0 0 auto; margin: 0; height: 100dvh; max-height: 100dvh; width: 480px; max-width: 100%; padding: 28px; border: 0; color: var(--ink); background: var(--paper); overflow-wrap: anywhere; }
dialog::backdrop { background: #10291fb3; }
body:has(dialog[open]) { overflow: hidden; }
.drawer-header { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.drawer-header h2 { font: 34px Georgia, serif; }
#cartNote, .fine-print { color: var(--muted); font-size: 13px; }
.cart-row { padding: 18px 0; border-bottom: 1px solid var(--line); }
.cart-row h3 { margin: 0 0 8px; font-size: 17px; }
.cart-row p { margin: 8px 0; }
.quantity { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.quantity button { min-width: 44px; }
.subtotal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin: 24px 0 12px; }
#simulate { width: 100%; }
.confirmation, #pending { padding: 14px; background: #e4eadc; }
@media(max-width: 1000px) {
  .products { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .brand-note { display: none; }
  .filters { grid-template-columns: 1fr 1fr; }
  .search-field { grid-column: 1 / -1; }
}
@media(max-width: 540px) {
  .site-header { padding-block: 18px; gap: 10px; }
  .brand { font-size: 19px; gap: 7px; }
  .brand svg { width: 26px; }
  .cart-trigger { padding: 9px 10px; gap: 8px; font-size: 13px; }
  .notice { font-size: 10px; letter-spacing: .02em; }
  .intro { padding: 28px 0; }
  .intro svg { display: none; }
  .intro p { font-size: 14px; }
  .products, .filters { grid-template-columns: 1fr; }
  .products { gap: 28px; }
  .art { height: 230px; }
  dialog { padding: 22px; }
}
@media(prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}
