:root { color-scheme: light; --ink: #202c22; --green: #304a34; --muted: #50594f; --paper: #fbf9f4; --line: #d8d6cd; --serif: Georgia, "Times New Roman", serif; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.5 system-ui, sans-serif; }
a { color: inherit; }
button, select, input { font: inherit; }
button, .button { background: var(--green); color: white; border: 1px solid transparent; border-radius: 6px; padding: .6rem .9rem; font-weight: 650; text-decoration: none; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; min-height: 44px; }
button:not(:disabled):hover, .button:hover { background: #203624; }
button:disabled { opacity: .65; cursor: default; }
button.secondary { background: white; color: var(--ink); border-color: var(--line); }
button.secondary:hover:not(:disabled) { background: #e8eddf; }
:focus-visible { outline: 3px solid #aa572f; outline-offset: 3px; }
[hidden] { display: none !important; }
.shell { width: min(100% - 3rem, 74rem); margin-inline: auto; }
.announcement { padding: .5rem 1rem; background: var(--green); color: #fff; text-align: center; font-size: .875rem; }
.header, nav, footer { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.header { padding-block: 1rem; }
.brand { font-weight: 800; font-size: clamp(1rem, 2.5vw, 1.35rem); letter-spacing: .13em; text-decoration: none; white-space: nowrap; }
.brand span { color: #954723; margin-inline: .15em; }
.nav-link { text-underline-offset: .3em; }
input, select { width: 100%; color: var(--ink); min-height: 44px; border: 1px solid #a5aa9e; background: white; border-radius: 6px; padding: .55rem .7rem; }
nav select { width: auto; max-width: 10rem; }
.hero { isolation: isolate; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: center; gap: clamp(1rem, 5vw, 4rem); background: #e5ebde; border: 1px solid #d8dfd1; border-radius: 14px; padding: clamp(1.4rem, 5vw, 4rem); }
.eyebrow { margin: 0 0 .75rem; color: #405f43; font-size: .875rem; letter-spacing: .15em; font-weight: 750; }
h1, h2, h3, p { overflow-wrap: anywhere; }
h1 { font: normal clamp(2.4rem, 5.85vw, 5.2rem)/.99 var(--serif); letter-spacing: -.045em; margin: 0; }
.intro { max-width: 32ch; margin: 1.15rem 0; }
.hero-art { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; gap: .75rem; width: min(100%, 28rem); justify-self: end; }
.hero-art div { border: 5px solid #fbf9f4; border-radius: 10px; overflow: hidden; }
.hero-art div:nth-child(2) { margin-top: 2.25rem; }
.hero-art img, .card img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.collection { margin-block: clamp(2rem, 5vw, 3.75rem); scroll-margin-top: 1rem; }
h2 { font: 400 clamp(1.75rem, 4vw, 2.75rem)/1.1 var(--serif); margin: 0 0 1rem; }
.filters { display: grid; grid-template-columns: minmax(0, 2fr) repeat(2, minmax(0, 1fr)); gap: .8rem; }
.filters label { min-width: 0; display: grid; gap: .3rem; font-size: .875rem; font-weight: 700; }
.results { color: var(--muted); min-height: 1.5rem; margin: .8rem 0; }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.15rem; }
.card { display: flex; flex-direction: column; background: white; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; min-width: 0; }
.card img { background: #ece8df; }
.card-details { display: flex; flex-direction: column; align-items: flex-start; flex: 1; padding: clamp(.65rem, 2vw, 1.1rem); }
.card h3 { font-size: 1rem; line-height: 1.3; margin: .3rem 0; }
.card-category { color: #60533d; font-size: .875rem; }
.card p { margin: .25rem 0 .7rem; color: var(--muted); }
.card strong { margin: auto 0 .65rem; }
.card button { width: 100%; }
.info { border-top: 1px solid var(--line); padding-block: 1.5rem; }
.info h2 { font-size: 1.5rem; margin-bottom: .5rem; }
.info p { margin: 0; color: var(--muted); }
footer { padding-block: 1.25rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .875rem; flex-wrap: wrap; }
dialog { position: fixed; inset: 0 0 0 auto; margin: 0; width: min(100%, 30rem); height: 100%; max-width: 100%; max-height: 100%; padding: 1.2rem; border: 0; background: var(--paper); color: var(--ink); }
dialog::backdrop { background: #17231999; }
.bag-heading, .bag-row, .quantity { display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.bag-heading h2 { margin: 0; }
.bag-row { flex-wrap: wrap; padding: .8rem 0; border-bottom: 1px solid var(--line); }
.bag-row p { margin: 0; }
.quantity button { min-width: 44px; padding: .4rem; }
.visually-hidden, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip:focus { position: absolute; z-index: 2; background: white; padding: .75rem; }
@media (max-width: 680px) {
  .shell { width: calc(100% - 1.6rem); }
  .header, nav { gap: .5rem; }
  .header { flex-wrap: wrap; }
  .nav-link { display: none; }
  .hero { grid-template-columns: 1fr; }
  .hero-art { justify-self: start; width: min(100%, 20rem); }
  .hero-art div:nth-child(2) { margin-top: .7rem; }
  .filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .filters label:first-child { grid-column: 1 / -1; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem; }
}
@media (max-width: 335px) { .grid { grid-template-columns: 1fr; } }
.hero h1 { white-space: pre-line; }
.details-button { margin-top: .45rem; }
#product-gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 11rem), 1fr)); gap: .6rem; margin-top: 1rem; }
#product-gallery img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: contain; background: #ece8df; border-radius: 8px; }
#product-image-note { color: var(--muted); font-size: .875rem; }
#product-feedback { min-height: 1.5rem; }

.hero { background: linear-gradient(125deg, #e4ecdf, #f1ebe0); }
.hero-art div { box-shadow: 0 8px 20px #27382b20; }
.card { border-radius: 14px; }
.card-category { font-size: .78rem; line-height: 1.25; }
#intent-link { margin: .75rem .35rem .75rem 0; }
.workspace-page { padding-block: clamp(1rem, 4vw, 3rem); }
.workspace-page h1 { font-size: clamp(2rem, 5vw, 3.75rem); line-height: 1.04; }
.workspace-page h2 { font-size: clamp(1.4rem, 3vw, 2rem); }
.panel { padding: clamp(1rem, 4vw, 2rem); margin-block: 1rem; border: 1px solid var(--line); border-radius: 14px; background: white; }
.panel > :first-child { margin-top: 0; }
.compact { display: grid; gap: .2rem; }
.check { display: flex; align-items: center; gap: .65rem; margin-block: 1rem; }
.check input { width: 1.2rem; min-height: 1.2rem; flex: none; }
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr)); gap: .75rem; margin-block: 1rem; }
.form-grid label { display: grid; align-content: start; gap: .25rem; min-width: 0; }
.form-grid label input, .form-grid label select { min-width: 0; }
.actions { display: flex; flex-wrap: wrap; gap: .55rem; align-items: center; margin-block: .75rem; }
.qa-order { border-top: 1px solid var(--line); padding-block: 1rem; }
.qa-order h3 { margin: 0; }
.metrics { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 9rem), 1fr)); gap: .6rem; }
.metrics div { border: 1px solid var(--line); border-radius: 8px; padding: .65rem; overflow-wrap: anywhere; }
.metrics dd { margin: 0; font-size: 1.2rem; font-weight: 700; }
.image-placeholder { display: grid; place-items: center; aspect-ratio: 4 / 3; background: #ebe7dd; padding: .75rem; color: var(--muted); text-align: center; }
