:root {
    --bg: #f6f1e8;
    --card: rgba(255,255,255,0.82);
    --text: #1f1b16;
    --muted: #6f675e;
    --accent: #7b4b33;
    --accent-soft: #e8d8c5;
    --line: rgba(31, 27, 22, 0.08);
    --success: #40654d;
    --shadow: 0 20px 60px rgba(51, 34, 21, 0.12);
    --radius-xl: 28px;
    --radius-lg: 22px;
    --radius-md: 16px;
    --container: 1120px;
}
* { box-sizing: border-box; }
body {
    margin: 0;
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(255,255,255,0.9), transparent 35%),
        linear-gradient(180deg, #faf6ef 0%, var(--bg) 100%);
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(calc(100% - 28px), var(--container)); margin: 0 auto; }
.topbar {
    position: sticky; top: 0; z-index: 20;
    backdrop-filter: blur(16px);
    background: rgba(246, 241, 232, 0.82);
    border-bottom: 1px solid var(--line);
}
.nav {
    display: flex; align-items: center; justify-content: space-between;
    min-height: 72px; gap: 14px;
}
.brand-mark {
    display: flex; align-items: center; gap: 12px; font-weight: 700;
}
.brand-logo {
    width: 42px; height: 42px; border-radius: 14px;
    background: linear-gradient(135deg, #8d5a3f, #5a3525);
    color: #fff; display: grid; place-items: center;
    box-shadow: var(--shadow);
}
.nav-links { display: flex; gap: 10px; overflow-x: auto; }
.nav-pill {
    white-space: nowrap; padding: 10px 14px; border-radius: 999px;
    background: rgba(255,255,255,0.55); border: 1px solid var(--line); color: var(--muted);
}
.nav-pill.active { background: var(--text); color: #fff; }
.hero { padding: 26px 0 10px; }
.hero-card {
    background: linear-gradient(135deg, rgba(255,255,255,0.92), rgba(232,216,197,0.7));
    border: 1px solid rgba(255,255,255,0.8);
    border-radius: 34px;
    padding: 22px;
    box-shadow: var(--shadow);
    overflow: hidden;
}
.kicker { color: var(--accent); font-weight: 700; letter-spacing: .04em; text-transform: uppercase; font-size: 12px; }
.hero h1, .page-header h1 { font-size: clamp(2rem, 5vw, 4.1rem); line-height: .95; margin: 10px 0 14px; }
.hero p, .page-header p { color: var(--muted); font-size: 1rem; line-height: 1.65; margin: 0; }
.hero-grid { display: grid; gap: 18px; align-items: end; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.btn {
    border: 0; border-radius: 999px; padding: 14px 18px; font-weight: 700;
    display: inline-flex; align-items: center; gap: 8px;
}
.btn-primary { background: var(--text); color: #fff; }
.btn-secondary { background: rgba(255,255,255,0.8); color: var(--text); border: 1px solid var(--line); }
.hero-stats {
    display: grid; grid-template-columns: repeat(2,1fr); gap: 12px; margin-top: 22px;
}
.stat {
    border-radius: var(--radius-lg); padding: 16px;
    background: rgba(255,255,255,0.7); border: 1px solid var(--line);
}
.stat strong { font-size: 1.25rem; display: block; margin-bottom: 4px; }
.section { padding: 20px 0 30px; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 12px; margin-bottom: 16px; }
.section-head h2 { margin: 0; font-size: 1.5rem; }
.section-head p { margin: 6px 0 0; color: var(--muted); }
.grid { display: grid; gap: 16px; }
.card {
    background: var(--card); border: 1px solid rgba(255,255,255,0.78); border-radius: var(--radius-xl);
    padding: 14px; box-shadow: var(--shadow);
}
.category-card, .product-card, .brand-card { overflow: hidden; }
.card-image {
    aspect-ratio: 1.05 / 1; border-radius: 22px; overflow: hidden; position: relative; margin-bottom: 14px;
}
.card-image img { width: 100%; height: 100%; object-fit: cover; }
.badge {
    position: absolute; top: 12px; left: 12px; background: rgba(255,255,255,.88); color: var(--text);
    border-radius: 999px; padding: 8px 12px; font-size: 12px; font-weight: 700;
}
.card h3 { margin: 0 0 8px; font-size: 1.15rem; }
.card p { margin: 0; color: var(--muted); line-height: 1.55; }
.meta { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: 12px; }
.price { font-size: 1.05rem; font-weight: 800; }
.tag {
    display: inline-flex; align-items: center; padding: 8px 12px; border-radius: 999px;
    background: var(--accent-soft); color: var(--accent); font-size: 12px; font-weight: 700;
}
.brand-symbol {
    width: 54px; height: 54px; border-radius: 18px; display: grid; place-items: center; color: #fff;
    background: linear-gradient(135deg, #8d5a3f, #5d3726); font-weight: 800; margin-bottom: 14px;
}
.page-header {
    padding: 28px 0 10px;
}
.filter-strip {
    display: flex; gap: 10px; overflow-x: auto; padding-bottom: 4px; margin-top: 16px;
}
.filter-chip {
    padding: 10px 14px; background: rgba(255,255,255,0.7); border-radius: 999px; border: 1px solid var(--line);
    white-space: nowrap; color: var(--muted);
}
.listing-header { margin: 18px 0; color: var(--muted); }
.footer { padding: 34px 0 48px; color: var(--muted); }
.footer-card {
    border-radius: 28px; padding: 20px; background: rgba(31,27,22,0.95); color: rgba(255,255,255,0.78);
}
.footer-card strong { color: #fff; }
.small { font-size: 0.92rem; }
@media (min-width: 720px) {
    .hero-card { padding: 34px; }
    .hero-grid { grid-template-columns: 1.25fr .85fr; }
    .grid.categories { grid-template-columns: repeat(2, 1fr); }
    .grid.products { grid-template-columns: repeat(2, 1fr); }
    .grid.brands { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
    .grid.categories { grid-template-columns: repeat(4, 1fr); }
    .grid.products { grid-template-columns: repeat(3, 1fr); }
    .grid.brands { grid-template-columns: repeat(4, 1fr); }
}
