:root {
  --yellow: #ffe600;
  --blue: #3483fa;
  --text: #333;
  --muted: #666;
  --bg: #ebebeb;
  --card: #fff;
  --border: #e6e6e6;
  --success: #00a650;
  --danger: #f23d4f;
  font-family: 'Inter', system-ui, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); }
.container { width: min(1200px, calc(100% - 24px)); margin: 0 auto; }
.topbar { background: var(--yellow); padding: 12px 0; position: sticky; top: 0; z-index: 10; box-shadow: 0 1px 0 rgba(0,0,0,.08); }
.topbar-inner { display: grid; grid-template-columns: 220px 1fr auto; gap: 16px; align-items: center; }
.brand { display:flex; align-items:center; text-decoration:none; }
.brand img { height: 52px; width: auto; display:block; object-fit: contain; }
.search-wrap input { width: 100%; border: 0; border-radius: 8px; padding: 15px 16px; font-size: 15px; box-shadow: 0 1px 2px rgba(0,0,0,.12); }
.account-btn, .ghost-btn, .login-form button { border: 0; border-radius: 8px; padding: 12px 18px; cursor: pointer; font-weight: 700; }
.account-btn, .login-form button { background: var(--blue); color: white; }
.ghost-btn { background: #f5f5f5; color: var(--text); }
.hero { display: grid; grid-template-columns: 1.5fr .9fr; gap: 24px; padding: 28px 0 20px; }
.hero-copy, .hero-card, .product-card, .account-panel, .modal-card, .profile-card, .orders-card, .sales-card { background: var(--card); border-radius: 18px; box-shadow: 0 1px 2px rgba(0,0,0,.08); }
.hero-copy { padding: 28px; }
.eyebrow { display: inline-flex; background: rgba(52,131,250,.1); color: var(--blue); padding: 8px 12px; border-radius: 999px; font-size: 13px; font-weight: 700; }
.hero-copy h1 { margin: 16px 0 12px; font-size: clamp(32px, 4vw, 52px); line-height: 1.02; }
.hero-copy p { color: var(--muted); font-size: 16px; max-width: 650px; }
.chips { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 20px; }
.chip { background: #f5f5f5; padding: 10px 12px; border-radius: 999px; font-size: 13px; }
.hero-card { padding: 22px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; align-content: center; }
.mini-stat { background: #fafafa; border: 1px solid var(--border); border-radius: 16px; padding: 16px; }
.mini-stat span { display: block; color: var(--muted); font-size: 13px; }
.mini-stat strong { display: block; font-size: 28px; margin-top: 8px; }
.section-head { padding: 10px 0 8px; }
.section-head h2 { margin: 0; font-size: 24px; }
.section-head p { margin: 6px 0 0; color: var(--muted); }
.product-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; padding-bottom: 28px; }
.product-card { overflow: hidden; border: 1px solid rgba(0,0,0,.04); }
.product-card img { width: 100%; aspect-ratio: 1/1; object-fit: cover; background: #fff8b8; }
.product-content { padding: 16px; }
.badge { display: inline-flex; background: #00a650; color: white; border-radius: 999px; font-size: 11px; padding: 6px 9px; font-weight: 800; letter-spacing: .05em; }
.title { min-height: 44px; margin: 12px 0; font-size: 15px; }
.original-price { color: #999; text-decoration: line-through; font-size: 13px; }
.price { font-size: 28px; margin: 4px 0; }
.installment, .shipping, .muted { color: var(--success); font-size: 14px; }
.account-panel { margin: 10px auto 28px; padding: 22px; }
.panel-head { display: flex; justify-content: space-between; gap: 12px; align-items: center; margin-bottom: 18px; }
.account-layout { display: grid; grid-template-columns: 320px 1fr 1fr; gap: 16px; }
.profile-card, .orders-card, .sales-card { padding: 18px; }
.stack-list { display: grid; gap: 12px; }
.stack-item { border: 1px solid var(--border); border-radius: 14px; padding: 14px; background: #fafafa; }
.stack-item h4 { margin: 0 0 8px; }
.stack-item p { margin: 4px 0; color: var(--muted); font-size: 14px; }
.status { display: inline-flex; padding: 6px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; background: rgba(52,131,250,.12); color: var(--blue); }
.modal { position: fixed; inset: 0; background: rgba(0,0,0,.45); display: grid; place-items: center; padding: 16px; }
.modal-card { width: min(420px, 100%); padding: 22px; position: relative; }
.close-modal { position: absolute; right: 12px; top: 10px; border: 0; background: transparent; font-size: 28px; cursor: pointer; }
.login-form { display: grid; gap: 12px; margin-top: 14px; }
.login-form input { border: 1px solid var(--border); border-radius: 10px; padding: 14px 12px; font-size: 15px; }
.login-message { min-height: 20px; color: var(--danger); }
.hidden { display: none !important; }
@media (max-width: 900px) {
  .topbar-inner, .hero, .account-layout { grid-template-columns: 1fr; }
  .brand { font-size: 24px; }
}
