@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');
:root {
    --bg: #fff7ed;
    --surface: #fff;
    --text: #1c1917;
    --muted: #78716c;
    --accent: #ea580c;
    --accent2: #dc2626;
    --green: #16a34a;
    --radius: 14px;
    --border: #fed7aa;
    --wrap: 1200px;
}
body.has-proto-bar { font-family: 'Inter', system-ui, sans-serif; background: var(--bg); color: var(--text); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 1rem; }
.promo-bar { background: linear-gradient(90deg, var(--accent2), var(--accent)); color: #fff; text-align: center; padding: 0.55rem; font-size: 0.85rem; font-weight: 600; }
.header { background: var(--surface); box-shadow: 0 2px 12px rgba(0,0,0,0.06); position: sticky; top: 2.75rem; z-index: 50; }
.header-inner { display: flex; align-items: center; gap: 1.5rem; padding: 1rem 0; }
.logo { font-weight: 900; font-size: 1.4rem; background: linear-gradient(90deg, var(--accent), var(--accent2)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; text-decoration: none; }
.cats { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.cats a { color: var(--text); text-decoration: none; font-size: 0.88rem; font-weight: 500; }
.cats a:hover { color: var(--accent); }
.cart { margin-left: auto; font-weight: 700; font-size: 0.9rem; padding: 0.5rem 1rem; background: #fff7ed; border-radius: 999px; }
.banners { display: grid; grid-template-columns: 2fr 1fr; gap: 1rem; padding: 1.5rem 0; }
.banner { border-radius: var(--radius); overflow: hidden; position: relative; min-height: 200px; display: flex; align-items: flex-end; padding: 1.5rem; color: #fff; }
.banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,0.65), transparent); }
.banner-content { position: relative; z-index: 1; }
.banner h2 { font-size: 1.5rem; font-weight: 800; margin-bottom: 0.35rem; }
.banner p { font-size: 0.9rem; opacity: 0.9; }
.categories { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0.75rem; margin-bottom: 2rem; }
.cat { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1rem 0.5rem; text-align: center; font-size: 0.78rem; font-weight: 600; transition: transform .15s, box-shadow .15s, border-color .15s; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 0.5rem; }
.cat:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(234,88,12,0.12); border-color: rgba(234,88,12,0.35); }
.cat-icon { width: 40px; height: 40px; border-radius: 12px; background: linear-gradient(135deg, #fff7ed, #ffedd5); display: grid; place-items: center; color: var(--accent); }
.cat-icon svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.cart { margin-left: auto; font-weight: 700; font-size: 0.9rem; padding: 0.5rem 1rem; background: #fff7ed; border-radius: 999px; display: flex; align-items: center; gap: 0.4rem; }
.cart svg { width: 18px; height: 18px; stroke: var(--accent); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.section-title { font-size: 1.35rem; font-weight: 800; margin-bottom: 1.25rem; display: flex; align-items: center; gap: 0.75rem; }
.section-title::after { content: ""; flex: 1; height: 2px; background: var(--border); }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(175px, 1fr)); gap: 1rem; margin-bottom: 3rem; align-items: stretch; }
.product { background: var(--surface); border-radius: var(--radius); overflow: hidden; border: 1px solid #ffedd5; position: relative; transition: box-shadow .2s; display: flex; flex-direction: column; }
.product:hover { box-shadow: 0 10px 28px rgba(0,0,0,0.08); }
.product-img { aspect-ratio: 1; overflow: hidden; background: #fffbeb; flex-shrink: 0; }
.product-img img { width: 100%; height: 100%; object-fit: cover; }
.tag { position: absolute; top: 0.5rem; left: 0.5rem; font-size: 0.62rem; font-weight: 800; padding: 0.25rem 0.5rem; border-radius: 6px; color: #fff; text-transform: uppercase; letter-spacing: 0.04em; z-index: 1; }
.tag-hit { background: var(--accent2); }
.tag-sale { background: var(--green); }
.product-body { padding: 0.85rem; display: flex; flex-direction: column; flex: 1; }
.product h3 { font-size: 0.82rem; font-weight: 600; margin-bottom: 0.35rem; line-height: 1.35; min-height: 2.7em; }
.rating { font-size: 0.72rem; color: #f59e0b; margin-bottom: 0.35rem; min-height: 1.15em; display: flex; align-items: center; gap: 0.2rem; }
.rating svg { width: 11px; height: 11px; fill: #f59e0b; flex-shrink: 0; }
.rating-text { color: var(--muted); }
.product-price { min-height: 1.35em; margin-bottom: 0.5rem; }
.price { font-weight: 800; color: var(--accent2); font-size: 1rem; }
.old { font-size: 0.72rem; color: var(--muted); text-decoration: line-through; margin-left: 0.3rem; font-weight: 400; }
.btn { width: 100%; margin-top: auto; padding: 0.5rem; background: var(--accent); color: #fff; border: none; border-radius: 8px; font-weight: 700; cursor: pointer; font-size: 0.78rem; transition: opacity .15s; }
.btn:hover { opacity: 0.92; }
.footer { background: var(--surface); padding: 2rem 0; text-align: center; font-size: 0.85rem; color: var(--muted); border-top: 1px solid var(--border); }
@media (max-width: 900px) { .banners, .categories { grid-template-columns: 1fr 1fr; } .cats { display: none; } }
@media (max-width: 540px) { .categories { grid-template-columns: repeat(3, 1fr); } }
