:root { color-scheme: light; --ink: #20352a; --muted: #4e6357; --line: #d4ded4; --paper: #fbfaf5; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.55 system-ui, sans-serif; }
main { max-width: 72rem; margin: auto; padding: 1.25rem clamp(1rem, 4vw, 3rem) 6rem; }
.masthead { display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); padding-bottom: 1rem; }
.brand { font: 2.25rem Georgia, serif; letter-spacing: .18em; color: inherit; text-decoration: none; }
.badge, .notice { color: var(--muted); font-size: .875rem; }
.badge { border: 1px solid var(--line); border-radius: 2rem; padding: .25rem .75rem; }
details, #cart { padding: 1rem 1.25rem; border: 1px solid var(--line); border-radius: .75rem; background: white; }
summary { cursor: pointer; font-weight: 650; }
.product { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .85fr); gap: clamp(1rem, 5vw, 4rem); align-items: center; margin: 1.75rem 0; }
figure { margin: 0; }
img { display: block; width: 100%; height: auto; border-radius: .75rem; background: #e4ebdf; }
figcaption { margin-top: .5rem; color: var(--muted); font-size: .8rem; }
.eyebrow { text-transform: uppercase; letter-spacing: .18em; font-size: .75rem; font-weight: 750; }
.product h2 { font: clamp(2.6rem, 6vw, 4.75rem)/.98 Georgia, serif; margin: .4rem 0 1rem; }
.price { font-size: 1.3rem; font-weight: 650; }
label { display: block; margin: .7rem 0; }
input { display: block; margin-top: .25rem; padding: .65rem; border: 1px solid #809185; border-radius: .25rem; font: inherit; }
input[type=number] { width: 5rem; }
#account-form input { width: min(22rem, 100%); }
button { padding: .65rem 1rem; background: var(--ink); color: white; border: 1px solid var(--ink); border-radius: .35rem; font: inherit; cursor: pointer; }
button:disabled { opacity: .55; cursor: default; }
#cart h2 { margin-top: 0; }
#cart-items { list-style: none; padding: 0; }
#cart-items li { display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding: .5rem 0; }
#cart-items button { background: white; color: var(--ink); }
#cart-status:empty, #status:empty { display: none; }
output { font-weight: 700; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
@media (max-width: 42rem) { .product { grid-template-columns: 1fr; } #cart > button { margin-bottom: .5rem; } }
