:root{
  --bg:#fbf4ec;
  --card:#ffffff;
  --text:#2b2b2b;
  --muted:#6b6b6b;
  --border:#eadfd3;
  --accent:#f2a07b;
  --accent2:#8fb9b3;
  --shadow:0 12px 30px rgba(0,0,0,.06);
  --radius:16px;
  --max:1100px;
}

*{box-sizing:border-box}
body{
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color:var(--text);
  background:var(--bg);
}

a{color:inherit}
.container{max-width:var(--max); margin:0 auto; padding:24px 20px;}
header.shop-top{
  position:sticky; top:0; z-index:10;
  background:rgba(251,244,236,.92);
  backdrop-filter:saturate(120%) blur(6px);
  border-bottom:1px solid var(--border);
}
.shop-bar{
  max-width:var(--max);
  margin:0 auto;
  padding:14px 20px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
}
.brand{
  display:flex; align-items:center; gap:12px; min-width:200px;
}
.brand img{
  height:64px;
  width:auto;
  display:block;
}
.brand .title{
  display:flex; flex-direction:column; line-height:1.1;
}
.brand .title strong{font-weight:600; font-size:14px; letter-spacing:.02em}
.brand .title span{font-size:11px; color:var(--muted)}

.cart-link{
  display:flex; align-items:center; gap:10px;
  text-decoration:none;
  padding:10px 14px;
  border:1px solid var(--border);
  border-radius:999px;
  background:#fff;
  box-shadow:0 6px 16px rgba(0,0,0,.05);
}
.badge{
  min-width:22px;
  height:22px;
  padding:0 8px;
  border-radius:999px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:rgba(143,185,179,.25);
  color:#225e58;
  font-size:12px;
  font-weight:600;
}
h1.page-title{
  margin:22px 0 18px 0;
  font-size:34px;
  letter-spacing:-.02em;
  font-weight:650;
}
.subtitle{
  margin:0 0 22px 0;
  color:var(--muted);
  max-width:720px;
}

.grid{
  display:grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap:22px;
}
.card{
  background:var(--card);
  border-radius:var(--radius);
  padding:22px;
  box-shadow:var(--shadow);
  border:1px solid rgba(234,223,211,.6);
  display:flex;
  flex-direction:column;
  min-height:210px;
}
.card h3{margin:0 0 10px 0; font-size:18px}
.card p{margin:0 0 14px 0; color:var(--muted); line-height:1.55; flex:1}
.price{font-size:20px; font-weight:700; margin:6px 0 14px}
.actions{display:flex; gap:10px; flex-wrap:wrap}
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:11px 16px;
  border-radius:999px;
  border:1px solid var(--border);
  background:#fff;
  text-decoration:none;
  cursor:pointer;
  font-weight:600;
  font-size:13px;
}
.btn.primary{
  background:var(--accent);
  border-color:transparent;
  color:#fff;
}
.btn.primary:hover{filter:brightness(.97)}
.btn.ghost:hover{background:rgba(234,223,211,.35)}

.table{
  width:100%;
  border-collapse:separate;
  border-spacing:0 10px;
}
.table th{
  text-align:left;
  font-size:12px;
  color:var(--muted);
  font-weight:600;
  padding:0 10px;
}
.table td{
  background:#fff;
  border:1px solid rgba(234,223,211,.7);
  padding:14px 10px;
}
.table tr td:first-child{border-top-left-radius:12px;border-bottom-left-radius:12px}
.table tr td:last-child{border-top-right-radius:12px;border-bottom-right-radius:12px}
.qty{
  display:flex; align-items:center; gap:8px;
}
.qty input{
  width:70px;
  padding:10px 10px;
  border-radius:12px;
  border:1px solid var(--border);
  background:#fff;
}
.summary{
  margin-top:18px;
  display:flex;
  justify-content:flex-end;
}
.summary-card{
  width:min(420px, 100%);
  background:#fff;
  border:1px solid rgba(234,223,211,.7);
  border-radius:16px;
  padding:18px;
  box-shadow:var(--shadow);
}
.summary-row{
  display:flex; justify-content:space-between; align-items:center;
  padding:10px 0;
  border-bottom:1px solid rgba(234,223,211,.6);
}
.summary-row:last-child{border-bottom:none}
.small{font-size:12px; color:var(--muted)}
.form{
  background:#fff;
  border:1px solid rgba(234,223,211,.7);
  border-radius:16px;
  padding:22px;
  box-shadow:var(--shadow);
  max-width:640px;
}
.field{display:flex; flex-direction:column; gap:8px; margin-bottom:14px}
.field label{font-size:12px; color:var(--muted); font-weight:600}
.field input{
  padding:12px 12px;
  border-radius:12px;
  border:1px solid var(--border);
}
.notice{
  background:rgba(143,185,179,.18);
  border:1px solid rgba(143,185,179,.35);
  color:#225e58;
  padding:14px 16px;
  border-radius:14px;
  margin:14px 0 0 0;
}
.footer{
  padding:34px 0 40px;
  text-align:center;
  color:var(--muted);
  font-size:12px;
}
@media (max-width:520px){
  h1.page-title{font-size:28px}
  .brand .title{display:none}
  .brand img{height:54px}
}
