:root {
  --ink: #17231d;
  --muted: #718078;
  --paper: #fffdf9;
  --surface: #ffffff;
  --line: #e8e5de;
  --brand: #a33e24;
  --brand-dark: #6e281a;
  --gold: #d99a3d;
  --shadow: 0 18px 50px rgba(53, 38, 23, .09);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
}

* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; background: radial-gradient(circle at 82% 5%, #fff1d8 0, transparent 28rem), var(--paper); }
button { font: inherit; }
button:focus-visible, a:focus-visible { outline: 4px solid #f2be68; outline-offset: 3px; }
.app-shell { min-height: 100vh; }
.topbar { height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 0 clamp(22px, 4vw, 72px); background: rgba(255,253,249,.92); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; backdrop-filter: blur(18px); }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 900; letter-spacing: -.04em; font-size: 1.25rem; }
.brand-mark { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 13px; color: white; background: var(--brand); box-shadow: 0 7px 16px color-mix(in srgb, var(--brand), transparent 72%); }
.top-actions { display: flex; align-items: center; gap: 12px; }
.pill { border: 1px solid var(--line); border-radius: 999px; padding: 10px 15px; color: var(--muted); background: var(--surface); }
.cart-trigger { border: 0; border-radius: 999px; padding: 12px 17px; color: white; background: var(--ink); font-weight: 800; cursor: pointer; box-shadow: 0 8px 20px rgba(23,35,29,.16); }
.cart-count { display: inline-grid; place-items: center; min-width: 22px; height: 22px; margin-left: 5px; border-radius: 50%; background: var(--gold); color: var(--ink); font-size: .8rem; }
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; max-width: 1600px; margin: 0 auto; }
.main { padding: clamp(28px, 5vw, 72px) clamp(22px, 5vw, 80px) 120px; }
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(250px, 420px); align-items: center; gap: 36px; min-height: 255px; margin-bottom: 34px; }
.eyebrow { color: var(--brand); text-transform: uppercase; letter-spacing: .15em; font-size: .75rem; font-weight: 900; }
h1 { max-width: 730px; margin: 10px 0 14px; font-size: clamp(2.8rem, 6vw, 6.3rem); line-height: .94; letter-spacing: -.075em; }
.hero-copy { max-width: 570px; color: var(--muted); font-size: clamp(1rem, 1.5vw, 1.25rem); line-height: 1.5; }
.hero-card { min-height: 220px; padding: 26px; border-radius: 34px; color: white; overflow: hidden; position: relative; background: linear-gradient(145deg, var(--brand), var(--brand-dark)); box-shadow: var(--shadow); }
.hero-card::after { content: "✦"; position: absolute; right: 20px; bottom: -28px; color: rgba(255,255,255,.14); font-size: 13rem; line-height: 1; }
.hero-card strong { display: block; max-width: 230px; margin-top: 58px; font-size: 1.65rem; line-height: 1.05; letter-spacing: -.04em; position: relative; z-index: 1; }
.categories { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 8px; margin-bottom: 28px; scrollbar-width: none; }
.category { border: 1px solid var(--line); border-radius: 999px; padding: 13px 18px; white-space: nowrap; color: var(--muted); background: var(--surface); cursor: pointer; }
.category.active { border-color: var(--ink); color: white; background: var(--ink); }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 17px; }
.section-heading h2 { margin: 0; font-size: clamp(1.65rem, 3vw, 2.6rem); letter-spacing: -.06em; }
.section-heading p { margin: 0; color: var(--muted); }
.product-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.product-card { display: flex; flex-direction: column; min-height: 320px; padding: 12px; border: 1px solid var(--line); border-radius: 26px; background: var(--surface); box-shadow: 0 5px 22px rgba(53,38,23,.04); transition: transform .18s ease, box-shadow .18s ease; }
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.product-art { display: grid; place-items: center; min-height: 165px; border-radius: 19px; color: white; font-size: 4.7rem; background: radial-gradient(circle at 32% 24%, #fff1c5, transparent 20%), linear-gradient(135deg, #e89b48, #a43d24); }
.product-card:nth-child(3n) .product-art { background: radial-gradient(circle at 32% 24%, #e8f1c9, transparent 22%), linear-gradient(135deg, #66835f, #263f32); }
.product-card:nth-child(3n+2) .product-art { background: radial-gradient(circle at 32% 24%, #fbe1d5, transparent 22%), linear-gradient(135deg, #b65940, #5d2020); }
.product-info { display: flex; flex: 1; flex-direction: column; padding: 16px 9px 6px; }
.product-info h3 { margin: 5px 0 5px; font-size: 1.35rem; letter-spacing: -.04em; }
.product-info p { margin: 0 0 15px; color: var(--muted); line-height: 1.35; }
.product-bottom { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; }
.price { font-size: 1.2rem; font-weight: 900; }
.add-button, .primary-button { border: 0; border-radius: 13px; padding: 13px 17px; color: white; background: var(--brand); font-weight: 850; cursor: pointer; }
.add-button:hover, .primary-button:hover { background: var(--brand-dark); }
.cart-panel { min-height: calc(100vh - 82px); padding: 30px 24px; border-left: 1px solid var(--line); background: rgba(255,255,255,.76); position: sticky; top: 82px; align-self: start; }
.cart-panel h2 { margin: 0 0 7px; font-size: 1.65rem; letter-spacing: -.05em; }
.cart-subtitle { margin: 0 0 22px; color: var(--muted); }
.cart-empty { padding: 24px 0; color: var(--muted); line-height: 1.45; }
.cart-line { display: grid; grid-template-columns: 1fr auto; gap: 12px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.cart-line strong { display: block; margin-bottom: 4px; }
.cart-line small { color: var(--muted); }
.quantity { display: flex; align-items: center; gap: 9px; }
.quantity button { width: 30px; height: 30px; border: 1px solid var(--line); border-radius: 50%; background: var(--surface); cursor: pointer; }
.cart-total { display: flex; justify-content: space-between; margin: 24px 0 16px; font-size: 1.35rem; font-weight: 900; }
.upsell { margin: 20px 0; padding: 16px; border: 1px solid #f3ce93; border-radius: 18px; background: #fff6e6; }
.upsell strong { display: block; margin: 4px 0; }
.upsell p { margin: 0 0 11px; color: #76542c; font-size: .9rem; line-height: 1.4; }
.upsell button { border: 0; color: var(--brand-dark); background: transparent; font-weight: 850; padding: 0; cursor: pointer; }
.checkout { width: 100%; }
.payment-choice { display: grid; gap: 9px; margin: 12px 0 15px; }
.payment-choice label { display: flex; gap: 8px; align-items: center; padding: 12px; border: 1px solid var(--line); border-radius: 12px; cursor: pointer; }
.message { min-height: 24px; margin-top: 14px; color: var(--brand-dark); font-weight: 700; }
.modal-backdrop { display: grid; place-items: center; padding: 22px; background: rgba(23,35,29,.38); position: fixed; inset: 0; z-index: 40; }
.modal { width: min(560px, 100%); padding: 24px; border-radius: 28px; background: var(--surface); box-shadow: 0 30px 80px rgba(23,35,29,.25); }
.modal-head { display: flex; align-items: start; justify-content: space-between; gap: 20px; }
.modal h2 { margin: 0; font-size: 2rem; letter-spacing: -.06em; }
.close { border: 0; border-radius: 50%; width: 38px; height: 38px; background: #f1f0eb; cursor: pointer; }
.detail-art { display: grid; place-items: center; min-height: 190px; margin: 20px 0; border-radius: 22px; font-size: 6rem; background: linear-gradient(135deg, #e89b48, #a43d24); }
.detail-copy { color: var(--muted); line-height: 1.5; }
.option-list { display: grid; gap: 9px; margin: 18px 0 22px; }
.option-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 13px 14px; border: 1px solid var(--line); border-radius: 13px; cursor: pointer; }
.option-row input { width: 18px; height: 18px; margin: 0 7px 0 0; accent-color: var(--brand); }
.option-row strong { color: var(--brand-dark); font-size: .9rem; }
.hidden { display: none !important; }
@media (max-width: 980px) { .layout { display: block; } .cart-panel { min-height: auto; border-top: 1px solid var(--line); border-left: 0; position: static; } .hero { grid-template-columns: 1fr; } .hero-card { min-height: 150px; } .hero-card strong { margin-top: 18px; } }
@media (max-width: 560px) { .topbar { height: 70px; padding: 0 16px; } .pill { display: none; } .main { padding: 28px 16px 70px; } h1 { font-size: 3.2rem; } .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } .product-card { min-height: 275px; border-radius: 20px; } .product-art { min-height: 115px; font-size: 3rem; } .product-info { padding: 11px 5px 4px; } .product-info h3 { font-size: 1.05rem; } .product-info p { font-size: .84rem; } .add-button { padding: 10px 11px; font-size: .85rem; } .price { font-size: 1rem; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; } }
