@font-face { font-family: 'Fraunces'; src: url('/assets/fonts/fraunces.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
:root { --bg: #F7F4EE; --ink: #2B2A27; --muted: #6E6A62; --line: #E2DCD1; --accent: #2F5D50; color-scheme: light; }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.5 system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.demo-note { background: var(--ink); color: #EDE9E1; font-size: 13px; padding: 8px 16px; text-align: center; }
.demo-note a { color: #fff; }
.top { display: flex; align-items: center; gap: 24px; max-width: 1180px; margin: 0 auto; padding: 18px 20px; }
.logo { font-family: 'Fraunces', Georgia, serif; font-size: 24px; font-weight: 600; text-decoration: none; font-variation-settings: 'SOFT' 100, 'WONK' 1; }
.logo i { font-style: normal; color: var(--accent); }
.top nav { display: flex; gap: 20px; margin-right: auto; font-size: 15px; }
.top nav a { text-decoration: none; color: var(--muted); }
.cart-btn { font: inherit; background: none; border: 1px solid var(--ink); border-radius: 3px; padding: 7px 12px; cursor: pointer; color: var(--ink); }
.cart-btn span { display: inline-block; min-width: 18px; margin-left: 4px; padding: 0 5px; background: var(--ink); color: var(--bg); border-radius: 9px; font-size: 12px; }
.intro { max-width: 1180px; margin: 0 auto; padding: 28px 20px 8px; }
.intro h1 { font-family: 'Fraunces', Georgia, serif; font-weight: 500; font-size: clamp(30px, 5vw, 52px); line-height: 1.05; margin: 0; max-width: 16ch; font-variation-settings: 'SOFT' 100; letter-spacing: -0.01em; }
.intro p { color: var(--muted); max-width: 48ch; }
.shop { max-width: 1180px; margin: 0 auto; padding: 8px 20px 40px; }
.controls { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; padding: 16px 0; border-bottom: 1px solid var(--line); margin-bottom: 20px; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chip { font: 14px/1 inherit; font-family: inherit; padding: 9px 14px; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--ink); cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.search input { font: inherit; border: 1px solid var(--line); background: #fff; border-radius: 3px; padding: 9px 12px; width: 220px; max-width: 100%; }
.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px 16px; }
@media (min-width: 720px) { .grid { grid-template-columns: repeat(3, 1fr); gap: 36px 24px; } }
@media (min-width: 1040px) { .grid { grid-template-columns: repeat(4, 1fr); } }
.p { display: flex; flex-direction: column; }
.p[hidden] { display: none; }
.p-img { position: relative; display: block; width: 100%; aspect-ratio: 1; border: 0; padding: 0; border-radius: 2px; cursor: zoom-in; overflow: hidden; }
.p-img svg { width: 100%; height: 100%; display: block; transition: transform .35s cubic-bezier(.2, .7, .2, 1); }
.p-img:hover svg { transform: scale(1.04); }
.tag { position: absolute; left: 10px; top: 10px; background: var(--bg); font-size: 12px; padding: 3px 8px; border-radius: 2px; }
.p-row { display: flex; justify-content: space-between; gap: 10px; margin-top: 10px; }
.p h3 { font-size: 15px; font-weight: 500; margin: 0; }
.price { color: var(--muted); font-variant-numeric: tabular-nums; }
.add { margin-top: 10px; font: 500 14px/1 system-ui, sans-serif; padding: 11px 12px; border: 1px solid var(--ink); background: transparent; color: var(--ink); border-radius: 3px; cursor: pointer; transition: background .15s, color .15s; }
.add:hover { background: var(--ink); color: var(--bg); }
.add.big { width: 100%; padding: 15px; background: var(--accent); border-color: var(--accent); color: #fff; font-size: 16px; }
.none { color: var(--muted); padding: 40px 0; }
.about { max-width: 1180px; margin: 0 auto; padding: 32px 20px; border-top: 1px solid var(--line); }
.about p { font-family: 'Fraunces', Georgia, serif; font-size: 22px; max-width: 34ch; margin: 0; font-variation-settings: 'SOFT' 100; }
.foot { text-align: center; color: var(--muted); font-size: 13px; padding: 24px 20px 40px; }
.veil { position: fixed; inset: 0; background: rgba(30, 26, 20, .35); z-index: 10; }
.qv { position: fixed; z-index: 20; border: 0; padding: 0; width: min(860px, calc(100% - 24px)); max-height: calc(100% - 24px); border-radius: 4px; background: var(--bg); color: var(--ink); display: none; }
.qv[open] { display: grid; grid-template-columns: 1fr; }
@media (min-width: 720px) { .qv[open] { grid-template-columns: 1fr 1fr; } }
.qv::backdrop { background: rgba(30, 26, 20, .35); }
.qv-img svg { width: 100%; display: block; aspect-ratio: 1; }
.qv-body { padding: 28px 24px; }
.qv-cat { color: var(--muted); margin: 0; font-size: 14px; }
.qv h2 { font-family: 'Fraunces', Georgia, serif; font-weight: 500; font-size: 30px; margin: 4px 0; font-variation-settings: 'SOFT' 100; }
.qv-price { font-size: 18px; margin: 0 0 12px; }
.x { position: absolute; right: 10px; top: 10px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .8); font-size: 24px; cursor: pointer; z-index: 2; color: var(--ink); }
.cart { position: fixed; z-index: 20; right: 0; top: 0; bottom: 0; width: min(380px, 100%); background: var(--bg); padding: 22px; box-shadow: -10px 0 40px rgba(0, 0, 0, .12); display: flex; flex-direction: column; }
.cart[hidden] { display: none; }
.cart-head { display: flex; justify-content: space-between; align-items: center; }
.cart-head h2 { margin: 0; font-family: 'Fraunces', Georgia, serif; font-weight: 500; }
.cart-head .x { position: static; }
.cart ul { list-style: none; padding: 0; margin: 16px 0; flex: 1; overflow: auto; }
.cart li { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--line); gap: 10px; }
.cart-total { font-weight: 600; text-align: right; }
.cart-msg { color: var(--accent); font-size: 14px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
