:root { --accent: #f2ab95; --bg: #fefbf2; --text: #1f2a30; --line: rgba(0,0,0,.1); --muted: rgba(31,42,48,.62); }
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }
.bar { display: flex; justify-content: space-between; align-items: center; padding: 16px 24px; border-bottom: 1px solid var(--line); position: sticky; top: 0; background: var(--bg); z-index: 2; }
.logo { font-weight: 800; font-size: 20px; text-decoration: none; letter-spacing: -.02em; }
.cart-btn { background: none; border: 1px solid var(--text); border-radius: 999px; padding: 6px 14px; }
.cart-btn span { background: var(--accent); border-radius: 999px; padding: 0 7px; margin-left: 4px; font-weight: 700; }
.wrap { max-width: 1100px; margin: 0 auto; padding: 32px 24px; }
.narrow { max-width: 640px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 24px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; }
.card img { width: 100%; aspect-ratio: 1000/1488; object-fit: cover; background: #eee; }
.card .body { padding: 16px; display: grid; gap: 10px; }
.card h3 { margin: 0; font-size: 17px; }
select, .qty { width: 100%; padding: 8px 10px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.primary { background: var(--accent); color: var(--text); border: 0; border-radius: 12px; padding: 12px 18px; font-weight: 700; width: 100%; }
.primary:disabled { opacity: .5; cursor: not-allowed; }
.link { background: none; border: 0; text-decoration: underline; padding: 0; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.row { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.price { font-weight: 700; }
.badge { font-size: 12px; background: var(--text); color: var(--bg); padding: 2px 8px; border-radius: 999px; }
.cart { position: fixed; top: 0; right: 0; height: 100%; width: min(400px, 100%); background: #fff; border-left: 1px solid var(--line); box-shadow: -12px 0 40px rgba(0,0,0,.08); display: flex; flex-direction: column; z-index: 3; }
.cart-head { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.cart-head h2 { margin: 0; font-size: 18px; }
#cart-lines { list-style: none; margin: 0; padding: 8px 20px; overflow: auto; flex: 1; }
#cart-lines li { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.cart-foot { padding: 16px 20px; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.error { color: #b3261e; margin: 0; }
.notice { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px 16px; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin: 24px 0; }
.steps div { height: 6px; border-radius: 3px; background: var(--line); }
.steps div.on { background: var(--accent); }
.steps-l { display: grid; grid-template-columns: repeat(4, 1fr); font-size: 12px; color: var(--muted); }
table { width: 100%; border-collapse: collapse; }
td { padding: 8px 0; border-bottom: 1px solid var(--line); }
td:last-child { text-align: right; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 20px; margin-top: 20px; }
