:root{
  --bg:#f7fbff;--card:#fff;--text:#122033;--muted:#66758a;--line:#e6edf5;
  --accent:#0b78ff;--accent2:#e9f3ff;--danger:#c0392b;
}
*{box-sizing:border-box} body{margin:0;font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,sans-serif;background:var(--bg);color:var(--text)}
a{text-decoration:none;color:inherit} button,input,textarea{font:inherit}
.container{width:min(1120px,calc(100% - 28px));margin:auto}
.header{position:sticky;top:0;z-index:10;background:rgba(255,255,255,.96);border-bottom:1px solid var(--line);backdrop-filter:blur(10px)}
.nav{height:68px;display:flex;align-items:center;justify-content:space-between;gap:16px}
.brand{font-weight:900;font-size:24px;letter-spacing:.4px}.brand span{color:var(--accent)}
.nav-actions{display:flex;align-items:center;gap:10px}
.btn{border:0;border-radius:12px;padding:12px 16px;cursor:pointer;font-weight:700}
.btn-primary{background:var(--accent);color:white}.btn-soft{background:var(--accent2);color:var(--accent)}
.hero{padding:54px 0 30px}.hero-box{background:linear-gradient(135deg,#fff,#edf6ff);border:1px solid var(--line);border-radius:24px;padding:32px}
.hero h1{font-size:clamp(32px,7vw,54px);line-height:1.04;margin:0 0 14px}.hero p{color:var(--muted);font-size:18px;max-width:650px}
.section-title{display:flex;justify-content:space-between;align-items:end;margin:18px 0}.section-title h2{margin:0;font-size:28px}.muted{color:var(--muted)}
.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;padding-bottom:48px}
.card{background:var(--card);border:1px solid var(--line);border-radius:18px;overflow:hidden;display:flex;flex-direction:column}
.card img{width:100%;aspect-ratio:4/3;object-fit:cover;background:#eef4fa}
.card-body{padding:16px;display:flex;flex-direction:column;gap:10px;flex:1}.card h3{margin:0;font-size:18px}.price{font-size:22px;font-weight:900}
.actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:auto}.actions .btn:first-child{grid-column:1/-1}
.page{padding:28px 0 56px}.back{display:inline-block;margin-bottom:16px;color:var(--accent);font-weight:700}
.product-view{display:grid;grid-template-columns:1fr 1fr;gap:28px;background:white;border:1px solid var(--line);border-radius:22px;padding:24px}
.product-view img{width:100%;border-radius:16px;background:#eef4fa}.product-view h1{margin-top:0}.product-view .price{font-size:30px}
.cart-layout,.checkout-layout{display:grid;grid-template-columns:1.4fr .8fr;gap:20px}
.panel{background:white;border:1px solid var(--line);border-radius:18px;padding:18px}
.cart-item{display:grid;grid-template-columns:70px 1fr auto;gap:12px;align-items:center;padding:12px 0;border-bottom:1px solid var(--line)}
.cart-item img{width:70px;height:70px;object-fit:cover;border-radius:10px;background:#eef4fa}
.qty{display:flex;align-items:center;gap:8px}.qty button{width:34px;height:34px;border:1px solid var(--line);background:white;border-radius:9px}
.summary-row{display:flex;justify-content:space-between;gap:20px;margin:10px 0}.summary-total{font-size:22px;font-weight:900;padding-top:12px;border-top:1px solid var(--line)}
.field{display:flex;flex-direction:column;gap:7px;margin-bottom:14px}.field input,.field textarea{border:1px solid #cfd8e3;border-radius:10px;padding:12px;background:white}.field textarea{min-height:90px;resize:vertical}
.notice{padding:14px;border-radius:12px;background:#fff8db;border:1px solid #f5dfa0;color:#7a5b00;margin-top:14px}
.success{padding:16px;border-radius:12px;background:#eaf8ee;border:1px solid #b9e2c2;color:#176b2c;margin-top:14px}
.empty{text-align:center;padding:44px 18px}.footer{border-top:1px solid var(--line);background:white;padding:28px 0;color:var(--muted);text-align:center}
.badge{min-width:22px;height:22px;border-radius:999px;background:var(--accent);color:#fff;display:inline-flex;align-items:center;justify-content:center;font-size:12px;padding:0 6px}
@media(max-width:820px){.grid{grid-template-columns:1fr 1fr}.product-view,.cart-layout,.checkout-layout{grid-template-columns:1fr}}
@media(max-width:560px){.grid{grid-template-columns:1fr}.hero{padding-top:28px}.hero-box{padding:22px}.nav{height:62px}.brand{font-size:21px}.nav-actions .btn{padding:10px 12px}.actions{grid-template-columns:1fr}.actions .btn:first-child{grid-column:auto}.cart-item{grid-template-columns:58px 1fr}.cart-item img{width:58px;height:58px}.cart-item>div:last-child{grid-column:2}}
