:root{
  --bg:#f7f3f0;--card:#fff;--ink:#2f2523;--muted:#786966;
  --accent:#8b3f4b;--accent2:#6e2e39;--line:#e5d9d4;
  --shadow:0 12px 35px rgba(60,35,30,.10)
}
*{box-sizing:border-box}
body{margin:0;font-family:system-ui,-apple-system,Segoe UI,Roboto,sans-serif;background:var(--bg);color:var(--ink)}
.hero{padding:52px 20px;background:linear-gradient(135deg,#f3e7e2,#fff)}
.hero__inner{max-width:1180px;margin:auto}
.eyebrow{text-transform:uppercase;letter-spacing:.14em;font-size:.78rem;color:var(--accent);font-weight:700}
h1{font-family:Georgia,serif;font-size:clamp(2rem,5vw,4rem);margin:.25rem 0 1rem}
.hero p:last-child{max-width:700px;color:var(--muted);font-size:1.05rem}
.layout{max-width:1180px;margin:32px auto;padding:0 18px;display:grid;grid-template-columns:1fr 360px;gap:28px}
.status{padding:22px;background:#fff;border-radius:16px;box-shadow:var(--shadow)}
.filters{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:20px}
.filter{border:1px solid var(--line);background:#fff;padding:9px 14px;border-radius:999px;cursor:pointer}
.filter.active{background:var(--accent);color:#fff;border-color:var(--accent)}
.products{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.product{background:var(--card);border-radius:18px;padding:20px;box-shadow:var(--shadow);display:flex;flex-direction:column;min-height:230px}
.product__image{display:block;width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:13px;margin-bottom:16px}
.product h3{font-family:Georgia,serif;font-size:1.35rem;margin:0 0 10px}
.product p{color:var(--muted);line-height:1.5;flex:1}
.product__bottom{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:16px}
.price{font-weight:800;font-size:1.15rem}
.add,.checkout{border:0;border-radius:11px;background:var(--accent);color:#fff;padding:12px 16px;font-weight:700;cursor:pointer}
.add:hover,.checkout:hover{background:var(--accent2)}
.cart{position:sticky;top:16px;align-self:start;background:#fff;border-radius:20px;padding:20px;box-shadow:var(--shadow)}
.cart__header,.total{display:flex;align-items:center;justify-content:space-between}
.cart h2{font-family:Georgia,serif;margin:0}
.badge{background:var(--accent);color:#fff;border-radius:99px;min-width:28px;height:28px;display:grid;place-items:center}
.cart__empty{color:var(--muted);padding:24px 0}
.cart-item{padding:13px 0;border-bottom:1px solid var(--line)}
.cart-item__top{display:flex;justify-content:space-between;gap:12px}
.qty{display:flex;align-items:center;gap:9px;margin-top:9px}
.qty button{width:30px;height:30px;border:1px solid var(--line);background:#fff;border-radius:8px;cursor:pointer}
.remove{margin-left:auto;border:0;background:none;color:#a33;cursor:pointer}
.cart__footer{border-top:1px solid var(--line);padding-top:18px;margin-top:15px}
.total{font-size:1.15rem;margin-bottom:18px}
label{display:block;font-size:.88rem;font-weight:650;margin:12px 0}
input,select,textarea{width:100%;margin-top:6px;padding:11px;border:1px solid var(--line);border-radius:9px;font:inherit}
.checkout{width:100%;font-size:1rem;margin-top:8px}
.checkout:disabled{opacity:.45;cursor:not-allowed}
.secure{text-align:center;color:var(--muted);font-size:.82rem}
.error{color:#a22;background:#fff0f0}
@media(max-width:860px){
  .layout{grid-template-columns:1fr}
  .cart{position:static}
}
@media(max-width:600px){
  .products{grid-template-columns:1fr}
  .hero{padding:36px 18px}
}
