/* ====================================================================
   Equipta — Master stylesheet
   ====================================================================
   Brand: deep forest green #1F3D2E  +  warm amber #D08226
   Font:  Inter
   UI DNA: Yandex Market / Ozon (marketplace)
   ==================================================================== */

/* -------------------- 1. Reset & base ---------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 15px;
    line-height: 1.5;
    color: var(--text-primary);
    background: var(--bg-page);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--primary-700); }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select { font-family: inherit; font-size: inherit; }
ul, ol { padding-left: 1.2em; }
h1, h2, h3, h4, h5, h6 { margin: 0 0 .6em; font-weight: 700; line-height: 1.25; color: var(--text-primary); }
h1 { font-size: 2.25rem; letter-spacing: -.02em; }
h2 { font-size: 1.75rem; letter-spacing: -.015em; }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.05rem; }
p  { margin: 0 0 1em; }

/* -------------------- 2. Design tokens --------------------------------- */
:root {
    /* === Brand palette (Equipta — deep forest green + warm amber) === */
    --primary-900: #15291F;
    --primary-800: #1F3D2E;   /* main */
    --primary-700: #2D5642;
    --primary-600: #3F7159;
    --primary-500: #5A9070;
    --primary-300: #A8C5B5;
    --primary-100: #E8F0EB;
    --primary-50:  #F4F8F5;

    --accent-900: #8C4F1C;
    --accent-700: #B8721F;
    --accent-600: #D08226;     /* CTA */
    --accent-500: #E0892F;
    --accent-300: #F0B870;
    --accent-100: #FFF1DC;
    --accent-50:  #FFF8EC;

    /* === Neutrals === */
    --bg-page:        #F7F8FA;
    --bg-card:        #FFFFFF;
    --bg-card-hover:  #FAFBFD;
    --bg-subtle:      #F0F2F5;
    --bg-muted:       #E9ECF0;

    --text-primary:   #0E1A14;
    --text-secondary: #4A5560;
    --text-tertiary:  #8E939E;
    --text-disabled:  #B8BCC5;
    --text-inverse:   #FFFFFF;
    --text-link:      var(--primary-700);

    --border-default: #E4E7EC;
    --border-light:   #F0F2F5;
    --border-strong:  #C9CDD3;
    --border-focus:   var(--primary-700);

    --status-success:  #0DA15A;
    --status-error:    #E0415C;
    --status-warning:  #F2A218;
    --status-info:     #2A6FB0;

    /* === Gradients === */
    --gradient-hero:    linear-gradient(135deg, #1F3D2E 0%, #2D5642 60%, #D08226 100%);
    --gradient-cta:     linear-gradient(135deg, #D08226 0%, #E0892F 100%);
    --gradient-cta-h:   linear-gradient(135deg, #B8721F 0%, #D08226 100%);
    --gradient-subtle:  linear-gradient(135deg, #F4F8F5 0%, #FFF1DC 100%);
    --gradient-dark:    linear-gradient(180deg, #15291F 0%, #1F3D2E 100%);

    /* === Radii === */
    --r-pill: 999px;
    --r-2xl:  20px;
    --r-xl:   16px;
    --r-lg:   12px;
    --r-md:   10px;
    --r-sm:   8px;
    --r-xs:   6px;

    /* === Shadows === */
    --shadow-xs:   0 1px 2px rgba(15, 23, 27, .04);
    --shadow-sm:   0 2px 6px rgba(15, 23, 27, .05);
    --shadow-md:   0 4px 14px rgba(15, 23, 27, .07);
    --shadow-lg:   0 12px 32px rgba(15, 23, 27, .10);
    --shadow-glow: 0 6px 18px rgba(208, 130, 38, .25);
    --shadow-card-hover: 0 10px 28px rgba(31, 61, 46, .14);

    /* === Spacing scale === */
    --sp-1:  4px;
    --sp-2:  8px;
    --sp-3:  12px;
    --sp-4:  16px;
    --sp-5:  20px;
    --sp-6:  24px;
    --sp-8:  32px;
    --sp-10: 40px;
    --sp-12: 48px;
    --sp-16: 64px;
    --sp-20: 80px;

    /* === Layout === */
    --container-max: 1280px;
    --container-pad: 24px;
    --header-height: 68px;
    --header-height-mobile: 56px;

    /* === Motion === */
    --t-fast: .12s cubic-bezier(.4, 0, .2, 1);
    --t-base: .2s  cubic-bezier(.4, 0, .2, 1);
    --t-slow: .35s cubic-bezier(.4, 0, .2, 1);
}

/* -------------------- 3. Layout primitives ----------------------------- */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-pad);
}
.row { display: flex; gap: var(--sp-4); flex-wrap: wrap; }
.row--gap-6 { gap: var(--sp-6); }
.row--center { align-items: center; }
.stack { display: flex; flex-direction: column; gap: var(--sp-4); }
.spacer { flex: 1; }
.section { padding: var(--sp-12) 0; }
.section--tight { padding: var(--sp-8) 0; }
.section--bg-alt { background: var(--bg-card); }
.divider { height: 1px; background: var(--border-light); margin: var(--sp-8) 0; }

/* -------------------- 4. Trust bar (top of header) --------------------- */
.trust-bar {
    background: var(--gradient-dark);
    color: var(--text-inverse);
    font-size: 13px;
    padding: 8px 0;
}
.trust-bar__row { display: flex; align-items: center; gap: var(--sp-6); flex-wrap: wrap; }
.trust-bar a { color: var(--text-inverse); display: inline-flex; align-items: center; gap: 6px; opacity: .9; }
.trust-bar a:hover { opacity: 1; color: var(--accent-300); }
.trust-bar__sep { color: rgba(255,255,255,.3); }
.trust-bar__lang { margin-left: auto; }

/* -------------------- 5. Header --------------------------------------- */
.header {
    background: var(--bg-card);
    border-bottom: 1px solid var(--border-light);
    position: sticky; top: 0; z-index: 50;
    box-shadow: var(--shadow-xs);
}
.header__inner {
    height: var(--header-height);
    display: flex;
    align-items: center;
    gap: var(--sp-5);
}
.header__logo {
    display: flex; align-items: center; gap: var(--sp-2);
    flex-shrink: 0;
}
.header__logo img { height: 36px; width: auto; }
.header__logo-text {
    font-size: 22px; font-weight: 800; letter-spacing: -.02em;
    color: var(--primary-800);
}
.header__catalog-btn {
    display: inline-flex; align-items: center; gap: var(--sp-2);
    background: var(--primary-800); color: var(--text-inverse);
    padding: 12px 20px; border-radius: var(--r-lg);
    font-weight: 600; font-size: 15px;
    transition: background var(--t-base), transform var(--t-fast);
}
.header__catalog-btn:hover {
    background: var(--primary-700); color: var(--text-inverse);
    transform: translateY(-1px);
}
.header__search {
    flex: 1;
    display: flex; align-items: center;
    background: var(--bg-subtle);
    border: 2px solid transparent;
    border-radius: var(--r-lg);
    transition: background var(--t-fast), border-color var(--t-fast);
}
.header__search:focus-within {
    background: var(--bg-card);
    border-color: var(--accent-500);
}
.header__search-input {
    flex: 1;
    border: none; background: transparent;
    padding: 12px 16px;
    font-size: 15px;
    outline: none;
}
.header__search-btn {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 10px 22px; margin: 4px;
    background: var(--gradient-cta);
    color: var(--text-inverse);
    font-weight: 600; font-size: 14px; line-height: 1;
    border-radius: var(--r-md);
    box-shadow: var(--shadow-glow);
    transition: transform var(--t-fast);
    white-space: nowrap; flex-shrink: 0;
}
.header__search-btn svg { flex-shrink: 0; }
.header__search-btn:hover { transform: translateY(-1px); }
.header__actions { display: flex; align-items: center; gap: var(--sp-2); }
.header__icon-btn {
    display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px;
    border-radius: var(--r-md);
    color: var(--text-secondary);
    position: relative;
    transition: background var(--t-fast), color var(--t-fast);
}
.header__icon-btn:hover {
    background: var(--primary-50);
    color: var(--primary-800);
}
.header__icon-btn svg { width: 22px; height: 22px; }
.header__icon-btn-badge {
    position: absolute; top: 4px; right: 4px;
    min-width: 18px; height: 18px; padding: 0 5px;
    background: var(--accent-600); color: var(--text-inverse);
    font-size: 11px; font-weight: 700;
    border-radius: var(--r-pill);
    display: inline-flex; align-items: center; justify-content: center;
}
.header__cta {
    display: inline-flex; align-items: center; gap: 6px;
    background: var(--gradient-cta);
    color: var(--text-inverse) !important;
    padding: 11px 18px; border-radius: var(--r-md);
    font-weight: 600; font-size: 14px;
    box-shadow: var(--shadow-glow);
    transition: transform var(--t-fast), box-shadow var(--t-base);
}
.header__cta:hover { transform: translateY(-1px); box-shadow: 0 8px 22px rgba(208, 130, 38, .35); }

/* Top nav (under header) */
.topnav {
    background: var(--bg-card);
    border-bottom: 1px solid var(--border-light);
    overflow: auto;
}
.topnav__list {
    display: flex; gap: 4px; padding: 4px 0; margin: 0;
    list-style: none;
}
.topnav__link {
    display: inline-block; padding: 10px 14px;
    font-weight: 500; font-size: 14px;
    color: var(--text-secondary);
    border-radius: var(--r-md);
    transition: background var(--t-fast), color var(--t-fast);
    white-space: nowrap;
}
.topnav__link:hover { background: var(--primary-50); color: var(--primary-800); }
.topnav__link.is-active { background: var(--primary-100); color: var(--primary-800); }

/* -------------------- 6. Buttons --------------------------------------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 11px 22px;
    font-size: 15px; font-weight: 600;
    border-radius: var(--r-lg);
    border: 1px solid transparent;
    cursor: pointer;
    text-align: center; white-space: nowrap;
    transition: background var(--t-base), color var(--t-base),
                border-color var(--t-base), transform var(--t-fast),
                box-shadow var(--t-base);
}
.btn:active { transform: translateY(0); }
.btn--primary {
    background: var(--primary-800); color: var(--text-inverse);
}
.btn--primary:hover {
    background: var(--primary-700); color: var(--text-inverse);
    transform: translateY(-1px); box-shadow: var(--shadow-md);
}
.btn--accent, .btn--cta {
    background: var(--gradient-cta); color: var(--text-inverse);
    box-shadow: var(--shadow-glow);
}
.btn--accent:hover, .btn--cta:hover {
    color: var(--text-inverse);
    transform: translateY(-1px); box-shadow: 0 10px 28px rgba(208,130,38,.35);
}
.btn--outline {
    background: var(--bg-card); color: var(--primary-800);
    border-color: var(--primary-800);
}
.btn--outline:hover {
    background: var(--primary-800); color: var(--text-inverse);
}
.btn--ghost {
    background: transparent; color: var(--primary-800);
}
.btn--ghost:hover { background: var(--primary-50); }
.btn--lg { padding: 14px 28px; font-size: 16px; border-radius: var(--r-xl); }
.btn--sm { padding: 8px 14px; font-size: 13px; border-radius: var(--r-md); }
.btn--block { width: 100%; }
.btn--icon-only { width: 44px; padding: 0; }

/* Pill chips */
.chip {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 6px 14px;
    background: var(--bg-card); color: var(--text-secondary);
    font-size: 13px; font-weight: 500;
    border: 1px solid var(--border-default);
    border-radius: var(--r-pill);
    transition: background var(--t-fast), border-color var(--t-fast);
}
.chip:hover { background: var(--primary-50); border-color: var(--primary-300); color: var(--primary-800); }
.chip.is-active { background: var(--primary-800); color: var(--text-inverse); border-color: var(--primary-800); }
.chip--accent { background: var(--accent-100); color: var(--accent-900); border-color: var(--accent-300); }

/* -------------------- 7. Forms --------------------------------------- */
.field { display: flex; flex-direction: column; gap: 6px; }
.field__label { font-weight: 500; color: var(--text-secondary); font-size: 14px; }
.field__hint  { font-size: 12px; color: var(--text-tertiary); }
.input, .textarea, .select {
    width: 100%;
    padding: 12px 14px;
    background: var(--bg-card);
    border: 1px solid var(--border-default);
    border-radius: var(--r-md);
    font-size: 15px;
    color: var(--text-primary);
    transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.input:focus, .textarea:focus, .select:focus {
    outline: none;
    border-color: var(--primary-700);
    box-shadow: 0 0 0 3px rgba(31, 61, 46, .12);
}
.textarea { min-height: 110px; resize: vertical; }
.field--error .input,
.field--error .textarea,
.field--error .select { border-color: var(--status-error); }
.field--error .field__hint { color: var(--status-error); }

.checkbox { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; }
.checkbox input { margin-top: 4px; accent-color: var(--primary-800); }
.checkbox__text { font-size: 13px; color: var(--text-secondary); line-height: 1.5; }
.checkbox__text a { color: var(--primary-700); text-decoration: underline; }

/* -------------------- 8. Badges --------------------------------------- */
.badge {
    display: inline-flex; align-items: center; gap: 4px;
    padding: 4px 10px;
    font-size: 12px; font-weight: 600;
    border-radius: var(--r-pill);
    background: var(--bg-subtle); color: var(--text-secondary);
}
.badge--success { background: #E5F6EC; color: var(--status-success); }
.badge--warning { background: var(--accent-100); color: var(--accent-900); }
.badge--info    { background: #E5F0FB; color: var(--status-info); }
.badge--featured{ background: var(--accent-600); color: var(--text-inverse); }
.badge--in-stock{ background: var(--status-success); color: var(--text-inverse); }

/* -------------------- 9. Cards (product / brand / category) ----------- */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--r-xl);
    overflow: hidden;
    transition: transform var(--t-base), box-shadow var(--t-base), border-color var(--t-base);
}
.card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-card-hover);
    border-color: var(--border-default);
}

/* Product card */
.product-card { display: flex; flex-direction: column; height: 100%; }
.product-card__media {
    position: relative;
    aspect-ratio: 1 / 1;
    background: #FFFFFF;
    display: flex; align-items: center; justify-content: center;
    overflow: hidden;
    border-bottom: 1px solid var(--border-light);
}
.product-card__media img {
    max-width: 86%; max-height: 86%;
    object-fit: contain;
    transition: transform var(--t-slow);
}
.product-card:hover .product-card__media img { transform: scale(1.05); }
.product-card__badges {
    position: absolute; top: 10px; left: 10px;
    display: flex; flex-direction: column; gap: 4px;
}
.product-card__fav {
    position: absolute; top: 10px; right: 10px;
    width: 36px; height: 36px;
    background: var(--bg-card); border-radius: var(--r-pill);
    display: flex; align-items: center; justify-content: center;
    box-shadow: var(--shadow-xs);
    color: var(--text-tertiary);
    transition: color var(--t-fast), transform var(--t-fast);
}
.product-card__fav:hover { color: var(--accent-600); transform: scale(1.1); }
.product-card__body { padding: var(--sp-4); display: flex; flex-direction: column; gap: var(--sp-2); flex: 1; }
.product-card__brand {
    font-size: 12px; font-weight: 600;
    color: var(--accent-700); text-transform: uppercase; letter-spacing: .04em;
}
.product-card__title {
    font-size: 14px; font-weight: 500; color: var(--text-primary);
    line-height: 1.4;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.8em;
}
.product-card__price {
    font-size: 18px; font-weight: 700; color: var(--text-primary);
    margin-top: auto;
}
.product-card__price--request { font-size: 14px; color: var(--accent-700); }
.product-card__cta {
    margin-top: var(--sp-3);
    width: 100%;
}

/* Brand card */
.brand-card {
    display: flex; align-items: center; gap: var(--sp-3);
    padding: var(--sp-4);
}
.brand-card__logo {
    width: 64px; height: 64px;
    background: #FFFFFF;
    border: 1px solid var(--border-light);
    border-radius: var(--r-md);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
    padding: 6px;
}
.brand-card__logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.brand-card__logo img { max-width: 80%; max-height: 80%; object-fit: contain; }
.brand-card__logo-fallback {
    font-size: 22px; font-weight: 800; color: var(--primary-700);
}
.brand-card__name { font-weight: 700; color: var(--text-primary); margin: 0; }
.brand-card__country { font-size: 13px; color: var(--text-secondary); }
.brand-card__count { font-size: 12px; color: var(--text-tertiary); }

/* Category tile */
.cat-tile {
    display: flex; flex-direction: column; align-items: center;
    text-align: center; padding: var(--sp-5);
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--r-xl);
    transition: transform var(--t-base), box-shadow var(--t-base), border-color var(--t-base);
    color: var(--text-primary);
}
.cat-tile:hover {
    transform: translateY(-3px);
    border-color: var(--accent-500);
    box-shadow: var(--shadow-card-hover);
}
.cat-tile__icon {
    width: 96px; height: 96px;
    background: #FFFFFF;
    border: 1px solid var(--border-light);
    border-radius: var(--r-lg);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: var(--sp-3);
    overflow: hidden;
    padding: 6px;
}
.cat-tile__icon img,
.cat-tile__icon svg {
    width: 100%; height: 100%;
    object-fit: contain;
    color: var(--primary-800);
}
.cat-tile__name { font-weight: 600; font-size: 14px; line-height: 1.3; }
.cat-tile__count { font-size: 12px; color: var(--text-tertiary); margin-top: 2px; }

/* -------------------- 10. Hero & banners ------------------------------ */
.hero {
    background: var(--gradient-hero);
    color: var(--text-inverse);
    padding: var(--sp-12) 0;
    border-radius: var(--r-2xl);
    overflow: hidden;
    position: relative;
}
.hero__inner { position: relative; z-index: 2; max-width: 720px; }
.hero__eyebrow {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.2);
    border-radius: var(--r-pill);
    font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
    margin-bottom: var(--sp-4);
}
.hero__title { font-size: 2.6rem; line-height: 1.1; margin: 0 0 var(--sp-4); color: var(--text-inverse); }
.hero__subtitle { font-size: 1.1rem; opacity: .92; margin-bottom: var(--sp-6); max-width: 560px; }
.hero__actions { display: flex; gap: var(--sp-3); flex-wrap: wrap; }
.hero__bg {
    position: absolute; inset: 0;
    background-image: radial-gradient(circle at 80% 20%, rgba(208,130,38,.4), transparent 50%);
    pointer-events: none;
}
.hero__stats {
    display: flex; gap: var(--sp-8); margin-top: var(--sp-8); flex-wrap: wrap;
}
.hero__stat strong { display: block; font-size: 1.8rem; font-weight: 800; }
.hero__stat span   { font-size: 13px; opacity: .85; }

/* Slim banner */
.banner {
    border-radius: var(--r-xl);
    padding: var(--sp-6);
    background: var(--gradient-subtle);
    border: 1px solid var(--accent-100);
    display: flex; gap: var(--sp-4); align-items: center;
}
.banner__title { font-size: 1.25rem; font-weight: 700; }
.banner__sub { font-size: 14px; color: var(--text-secondary); }

/* -------------------- 11. Sections / grids ---------------------------- */
.section-head {
    display: flex; align-items: end; justify-content: space-between;
    margin-bottom: var(--sp-6);
    gap: var(--sp-4); flex-wrap: wrap;
}
.section-head h2 { margin: 0; }
.section-head__link {
    color: var(--primary-700); font-weight: 600;
    display: inline-flex; align-items: center; gap: 4px;
}
.section-head__link:hover { color: var(--accent-600); }

.grid-products {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: var(--sp-4);
}
.grid-categories {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: var(--sp-3);
}
.grid-brands {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: var(--sp-3);
}
.grid-2c {
    display: grid; grid-template-columns: minmax(0, 280px) 1fr; gap: var(--sp-6);
}
@media (max-width: 880px) {
    .grid-2c { grid-template-columns: 1fr; }
}

/* -------------------- 12. Tabs --------------------------------------- */
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--border-default); margin-bottom: var(--sp-5); overflow: auto; }
.tab {
    padding: 12px 18px;
    font-weight: 600; color: var(--text-secondary);
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    transition: color var(--t-fast), border-color var(--t-fast);
    cursor: pointer; white-space: nowrap;
}
.tab:hover { color: var(--primary-800); }
.tab.is-active { color: var(--primary-800); border-color: var(--accent-600); }

/* -------------------- 13. Breadcrumbs -------------------------------- */
.breadcrumb {
    list-style: none; padding: var(--sp-4) 0; margin: 0;
    display: flex; flex-wrap: wrap; gap: 6px;
    font-size: 13px; color: var(--text-tertiary);
}
.breadcrumb a { color: var(--text-secondary); }
.breadcrumb a:hover { color: var(--primary-700); }
.breadcrumb__sep { color: var(--text-tertiary); }

/* -------------------- 14. Pagination -------------------------------- */
.pager { display: flex; gap: 4px; justify-content: center; margin: var(--sp-8) 0; }
.pager a, .pager span {
    min-width: 38px; height: 38px;
    display: inline-flex; align-items: center; justify-content: center;
    padding: 0 10px;
    border-radius: var(--r-md);
    background: var(--bg-card); color: var(--text-secondary);
    border: 1px solid var(--border-default);
    font-weight: 500; font-size: 14px;
}
.pager a:hover { background: var(--primary-50); color: var(--primary-800); border-color: var(--primary-300); }
.pager .is-active { background: var(--primary-800); color: var(--text-inverse); border-color: var(--primary-800); }
.pager .is-disabled { opacity: .35; pointer-events: none; }

/* -------------------- 15. Filters sidebar ---------------------------- */
.filters { display: flex; flex-direction: column; gap: var(--sp-5); position: sticky; top: calc(var(--header-height) + 16px); }
.filter-group { background: var(--bg-card); border: 1px solid var(--border-light); border-radius: var(--r-lg); padding: var(--sp-4); }
.filter-group h4 { font-size: 14px; margin-bottom: var(--sp-3); }
.filter-group__list { display: flex; flex-direction: column; gap: 6px; max-height: 240px; overflow-y: auto; }
.filter-group__item { display: flex; align-items: center; gap: 8px; font-size: 14px; cursor: pointer; }
.filter-group__count { margin-left: auto; color: var(--text-tertiary); font-size: 12px; }

/* -------------------- 16. Footer ------------------------------------- */
.footer {
    background: var(--bg-card);
    border-top: 1px solid var(--border-default);
    padding: var(--sp-12) 0 var(--sp-6);
    margin-top: var(--sp-16);
}
.footer__cols {
    display: grid;
    grid-template-columns: 1.5fr repeat(4, 1fr);
    gap: var(--sp-8);
    margin-bottom: var(--sp-8);
}
@media (max-width: 980px) {
    .footer__cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
    .footer__cols { grid-template-columns: 1fr; }
}
.footer__brand-line { display: flex; align-items: center; gap: 10px; margin-bottom: var(--sp-3); }
.footer__brand-line img { height: 32px; }
.footer__about { color: var(--text-secondary); font-size: 14px; line-height: 1.6; max-width: 320px; }
.footer__contact { display: flex; flex-direction: column; gap: 6px; margin-top: var(--sp-3); font-size: 14px; }
.footer__contact a { color: var(--text-primary); font-weight: 600; }
.footer h5 { font-size: 13px; text-transform: uppercase; letter-spacing: .05em; color: var(--text-tertiary); margin-bottom: var(--sp-3); font-weight: 600; }
.footer__list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.footer__list a { color: var(--text-secondary); }
.footer__list a:hover { color: var(--primary-700); }
.footer__bottom {
    border-top: 1px solid var(--border-light);
    padding-top: var(--sp-5);
    display: flex; justify-content: space-between; flex-wrap: wrap; gap: var(--sp-3);
    font-size: 13px; color: var(--text-tertiary);
}
.footer__legal { display: flex; gap: var(--sp-4); flex-wrap: wrap; }
.footer__legal a { color: var(--text-secondary); }

/* -------------------- 17. Cookie consent ----------------------------- */
.cookie-consent {
    position: fixed; bottom: 16px; left: 16px; right: 16px; max-width: 520px;
    background: var(--bg-card); border: 1px solid var(--border-default);
    border-radius: var(--r-xl); padding: var(--sp-5);
    box-shadow: var(--shadow-lg);
    z-index: 100;
}
.cookie-consent h4 { margin-bottom: 4px; }
.cookie-consent p { font-size: 13px; color: var(--text-secondary); margin-bottom: var(--sp-3); }
.cookie-consent__row { display: flex; gap: 8px; flex-wrap: wrap; }

/* -------------------- 18. Utility classes ---------------------------- */
.sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden;
    clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.text-muted    { color: var(--text-tertiary); }
.text-secondary{ color: var(--text-secondary); }
.text-success  { color: var(--status-success); }
.text-error    { color: var(--status-error); }
.text-accent   { color: var(--accent-700); }
.font-bold     { font-weight: 700; }
.font-mono     { font-family: 'SF Mono', Menlo, Consolas, monospace; }
.mt-0 { margin-top: 0; } .mt-2 { margin-top: var(--sp-2); }
.mt-4 { margin-top: var(--sp-4); } .mt-6 { margin-top: var(--sp-6); }
.mt-8 { margin-top: var(--sp-8); }
.mb-0 { margin-bottom: 0; }
.mb-2 { margin-bottom: var(--sp-2); }
.mb-4 { margin-bottom: var(--sp-4); }
.mb-6 { margin-bottom: var(--sp-6); }
.text-center { text-align: center; }
.flex-1 { flex: 1; }

/* -------------------- 19. Mobile adapt ------------------------------- */
@media (max-width: 880px) {
    h1 { font-size: 1.75rem; }
    h2 { font-size: 1.4rem; }
    .hero__title { font-size: 2rem; }
    .header__inner { gap: var(--sp-3); height: var(--header-height-mobile); }
    .header__catalog-btn span:not(.icon) { display: none; }
    .header__cta span:not(.icon) { display: none; }
    .grid-products { grid-template-columns: repeat(2, 1fr); gap: var(--sp-3); }
    .grid-categories { grid-template-columns: repeat(2, 1fr); }
    .footer { padding-top: var(--sp-8); }
    .product-card__title { font-size: 13px; min-height: 2.5em; }
    .container { padding: 0 var(--sp-3); }
    .section { padding: var(--sp-8) 0; }
}

/* -------------------- 20. Print & accessibility ---------------------- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .01ms !important;
        transition-duration: .01ms !important;
    }
}
:focus-visible { outline: 3px solid var(--accent-300); outline-offset: 2px; }
::selection { background: var(--accent-100); color: var(--primary-900); }
