:root {
    --ink: #17211d;
    --muted: #66736d;
    --line: #dfe7e2;
    --paper: #fbfcfa;
    --soft: #eef5f0;
    --brand: #0c6b46;
    --brand-dark: #073d2b;
    --accent: #f2a51a;
    --danger: #b42318;
    --white: #fff;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--paper); line-height: 1.55; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.container { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }
.topbar { background: #072f23; color: var(--white); font-size: 14px; }
.topbar .container, .nav .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.topbar .container { min-height: 38px; }
.nav { position: sticky; top: 0; z-index: 10; background: rgba(255, 255, 255, .96); border-bottom: 1px solid var(--line); backdrop-filter: blur(12px); }
.nav .container { min-height: 72px; }
.brand { font-weight: 800; font-size: 22px; color: var(--brand-dark); }
.links { display: flex; align-items: center; gap: 18px; font-weight: 650; color: #33413c; }
.nav-search { display: flex; flex: 1; max-width: 520px; gap: 8px; }
.nav-search input { min-height: 42px; }
.department-nav { background: var(--brand); color: var(--white); }
.department-nav .container { min-height: 44px; justify-content: flex-start; overflow-x: auto; }
.department-nav a { flex: 0 0 auto; font-weight: 800; font-size: 14px; }
.button, button { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; border: 0; border-radius: 6px; padding: 0 16px; background: var(--brand); color: var(--white); font-weight: 750; cursor: pointer; }
.button.secondary { background: var(--ink); }
.button.light { background: var(--white); color: var(--brand-dark); border: 1px solid var(--line); }
.button.whatsapp { background: #1f8f5f; }
.button.dark { background: #111827; }
.storefront-hero { padding: 28px 0; background: #edf4ef; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(280px, .75fr); gap: 20px; }
.hero-main { min-height: 470px; display: flex; flex-direction: column; justify-content: flex-end; border-radius: 8px; overflow: hidden; color: var(--white); padding: clamp(28px, 5vw, 58px); background: linear-gradient(90deg, rgba(6, 33, 23, .9), rgba(6, 33, 23, .36)), url("https://images.unsplash.com/photo-1485965120184-e220f721d03e?auto=format&fit=crop&w=1700&q=80") center/cover; }
.hero-main p { max-width: 610px; font-size: 18px; color: #eef8f0; }
.promo-stack { display: grid; gap: 20px; }
.promo-card { min-height: 225px; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; border-radius: 8px; overflow: hidden; color: var(--white); padding: 24px; background-size: cover; background-position: center; box-shadow: 0 18px 42px rgba(20, 36, 29, .1); }
.promo-card strong { font-size: 25px; line-height: 1.05; }
.promo-card span { color: #eef8f0; font-weight: 700; }
.promo-card.bikes { background-image: linear-gradient(rgba(6,33,23,.18), rgba(6,33,23,.82)), url("https://images.unsplash.com/photo-1507035895480-2b3156c31fc8?auto=format&fit=crop&w=900&q=80"); }
.promo-card.furniture { background-image: linear-gradient(rgba(6,33,23,.18), rgba(6,33,23,.82)), url("https://images.unsplash.com/photo-1555041469-a586c61ea9bc?auto=format&fit=crop&w=900&q=80"); }
.service-strip { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; }
.service-grid div { min-height: 88px; display: grid; align-content: center; gap: 2px; padding: 18px; border-left: 1px solid var(--line); }
.service-grid div:last-child { border-right: 1px solid var(--line); }
.service-grid strong { color: var(--brand-dark); }
.service-grid span { color: var(--muted); font-size: 14px; }
.eyebrow { color: var(--accent); font-weight: 800; text-transform: uppercase; letter-spacing: .08em; font-size: 13px; }
h1, h2, h3 { line-height: 1.1; margin: 0; letter-spacing: 0; }
h1 { font-size: clamp(42px, 7vw, 76px); max-width: 820px; }
h2 { font-size: clamp(28px, 4vw, 46px); }
h3 { font-size: 21px; }
.hero-actions, .actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.section { padding: 64px 0; }
.section-head { display: flex; justify-content: space-between; gap: 20px; align-items: end; margin-bottom: 28px; }
.section-head p { max-width: 620px; color: var(--muted); margin: 8px 0 0; }
.grid { display: grid; gap: 20px; }
.grid.categories { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.grid.products { grid-template-columns: repeat(auto-fit, minmax(245px, 1fr)); }
.card { background: var(--white); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; box-shadow: 0 18px 42px rgba(20, 36, 29, .07); }
.product-card { display: flex; flex-direction: column; height: 100%; }
.category-card { min-height: 180px; padding: 24px; display: flex; flex-direction: column; justify-content: end; background: linear-gradient(135deg, #f7faf7, #e7f2ed); }
.category-card strong { color: var(--brand); }
.category-image-card { position: relative; min-height: 210px; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; border-radius: 8px; overflow: hidden; color: var(--white); padding: 18px; box-shadow: 0 18px 42px rgba(20, 36, 29, .1); }
.category-image-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(7, 34, 27, .05), rgba(7, 34, 27, .78)); }
.category-image-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .2s ease; }
.category-image-card:hover img { transform: scale(1.04); }
.category-image-card span, .category-image-card strong { position: relative; z-index: 1; }
.category-image-card span { width: fit-content; border-radius: 999px; padding: 5px 10px; background: rgba(255,255,255,.92); color: var(--brand-dark); font-size: 13px; font-weight: 800; }
.category-image-card strong { font-size: 23px; line-height: 1.05; }
.product-image { aspect-ratio: 4 / 3; width: 100%; object-fit: cover; background: var(--soft); }
.product-body { display: flex; flex: 1; flex-direction: column; padding: 18px; }
.product-title { min-height: 46px; margin-top: 10px; }
.product-summary { min-height: 78px; }
.product-actions { justify-content: space-between; margin-top: auto; padding-top: 8px; }
.product-actions form { flex: 0 0 auto; }
.product-actions button { min-width: 54px; }
.price { color: var(--brand); font-size: 20px; font-weight: 850; }
.muted { color: var(--muted); }
.pill { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 5px 10px; font-size: 13px; color: var(--muted); background: var(--white); }
.split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(320px, .9fr); gap: 32px; align-items: start; }
.panel { background: var(--white); border: 1px solid var(--line); border-radius: 8px; padding: 24px; }
.form-grid { display: grid; gap: 14px; }
label { display: grid; gap: 6px; font-weight: 700; }
input, textarea, select { width: 100%; border: 1px solid var(--line); border-radius: 6px; padding: 12px 13px; font: inherit; background: var(--white); color: var(--ink); }
textarea { min-height: 120px; resize: vertical; }
.table { width: 100%; border-collapse: collapse; background: var(--white); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.table th, .table td { padding: 13px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.table th { background: var(--soft); font-size: 13px; text-transform: uppercase; color: var(--muted); }
.status { margin: 18px 0; padding: 12px 14px; border-radius: 6px; background: #eef8f0; color: #116149; border: 1px solid #ccebd6; }
.error { color: var(--danger); font-size: 14px; }
.footer { padding: 40px 0; background: var(--ink); color: #d9e6df; }
.footer .container { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.admin-shell { display: grid; grid-template-columns: 230px 1fr; min-height: 100vh; }
.sidebar { background: var(--ink); color: var(--white); padding: 24px; }
.sidebar nav { display: grid; gap: 10px; margin-top: 28px; }
.admin-main { padding: 28px; }
.metric-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; margin: 24px 0; }
.metric { padding: 20px; border: 1px solid var(--line); border-radius: 8px; background: var(--white); }
.metric strong { display: block; font-size: 30px; color: var(--brand); }
.pagination { margin-top: 24px; }
.featured-band { background: #eef5f0; }

@media (max-width: 780px) {
    .topbar .container, .nav .container, .section-head, .footer .container { align-items: flex-start; flex-direction: column; }
    .nav-search { width: 100%; max-width: none; }
    .links { flex-wrap: wrap; gap: 12px; }
    .hero-grid, .service-grid { grid-template-columns: 1fr; }
    .hero-main { min-height: 520px; }
    .split, .admin-shell { grid-template-columns: 1fr; }
    .admin-main { padding: 18px; }
    .table { display: block; overflow-x: auto; }
}
