* { box-sizing: border-box; }
:root { color-scheme: light; font-family: system-ui, sans-serif; color: #183b30; background: #f6f4ed; }
body { max-width: 1440px; margin: 0 auto; padding: 0 40px; }
a { color: inherit; }
header { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 28px 0; border-bottom: 1px solid #c9cfc4; }
.brand { font-size: 1.25rem; font-weight: 750; letter-spacing: -.04em; text-decoration: none; }
.cart-link { font-size: .9rem; text-underline-offset: 4px; }
.cart-link span { margin-left: 8px; }
.intro { padding: 44px 0 24px; }
.eyebrow { font-size: .72rem; letter-spacing: .2em; font-weight: 750; }
h1 { font-family: Georgia, serif; font-weight: 400; font-size: clamp(2.5rem, 6vw, 5rem); letter-spacing: -.06em; line-height: 1.04; margin: 12px 0; }
h2 { font-size: 1.1rem; font-weight: 650; }
p { line-height: 1.6; }
.layout { display: grid; grid-template-columns: minmax(0, 2.3fr) minmax(280px, 1fr); gap: 44px; align-items: start; }
.catalog { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 24px; }
.product { min-width: 0; }
.product img { width: 100%; height: 300px; object-fit: contain; background: #eaece3; border-radius: 10px; }
.product h3 { font-size: 1.1rem; margin: 16px 0 10px; }
aside { position: sticky; top: 24px; margin-top: 8px; padding: 24px; background: #fffef9; border: 1px solid #c9cfc4; border-radius: 12px; }
.cart-heading { display: flex; justify-content: space-between; align-items: center; }
.cart-heading h2 { margin-top: 0; }
.cart-line { border-top: 1px solid #dce1d5; padding: 18px 0; }
.cart-line h3 { font-size: .95rem; margin: 0; }
.cart-line p { font-size: .85rem; margin: 4px 0; }
.cart-line input { width: 72px; margin: 10px 8px; }
.cart-total { font-weight: 650; padding-top: 16px; border-top: 1px solid #dce1d5; }
.fine-print, .muted { color: #56675b; }
.fine-print { font-size: .8rem; }
button, select, input { font: inherit; padding: 11px 13px; border: 1px solid #7b897a; border-radius: 5px; color: inherit; background: transparent; }
button { cursor: pointer; min-height: 44px; }
button:disabled { opacity: .5; cursor: not-allowed; }
button.primary { background: #183b30; color: white; border-color: #183b30; }
button.quiet { border-color: transparent; text-decoration: underline; text-underline-offset: 4px; font-size: .85rem; }
button:hover:not(:disabled) { box-shadow: 0 0 0 2px #a1ad99; }
:focus-visible { outline: 3px solid #a74613; outline-offset: 3px; }
select { display: block; width: 100%; margin: 8px 0 14px; font-size: .9rem; }
label { font-size: .85rem; }
.actions { display: flex; flex-wrap: wrap; gap: 8px; }
.full-width { width: 100%; margin: 4px 0; }
#notice { min-height: 26px; margin: 0 0 16px; font-size: .9rem; }
#notice.error { color: #a02117; }
footer { border-top: 1px solid #c9cfc4; margin-top: 56px; padding: 24px 0; font-size: .8rem; color: #56675b; }
.skip-link { position: absolute; top: -80px; }
.skip-link:focus { top: 8px; background: white; padding: 10px; }
@media (max-width: 850px) { .layout { grid-template-columns: 1fr; gap: 32px; } aside { position: static; } }
@media (max-width: 500px) { body { padding: 0 20px; } .catalog { grid-template-columns: 1fr; } .product img { height: 280px; } }
