/* ===== ARVÉL Premium Design System ===== */
@import url('brand.css');
:root {
  --primary: #1a56a0;
  --primary-dark: #0f3d75;
  --primary-light: #e8f1fb;
  --accent: #f04e23;
  --accent-hover: #d9441c;
  --accent-light: #fff3ef;
  --success: #16a34a;
  --sale: #dc2626;
  --bg: #f4f5f7;
  --surface: #ffffff;
  --text: #1a1d23;
  --text-muted: #6b7280;
  --text-light: #9ca3af;
  --border: #e5e7eb;
  --border-light: #f3f4f6;
  --shadow-xs: 0 1px 2px rgba(0,0,0,.04);
  --shadow-sm: 0 2px 8px rgba(0,0,0,.06);
  --shadow-md: 0 8px 24px rgba(0,0,0,.08);
  --shadow-lg: 0 16px 48px rgba(0,0,0,.12);
  --radius: 10px;
  --radius-lg: 16px;
  --font: 'Inter', system-ui, sans-serif;
  --max-w: 1320px;
  --header-h: 68px;
  --ease: .22s cubic-bezier(.4,0,.2,1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--text); background: var(--bg); line-height: 1.5; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button, input, select, textarea { font: inherit; }

.container { width: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 16px; }

/* ===== Promo strip ===== */
.promo-strip { background: linear-gradient(90deg, var(--accent), #ff6b35); color: #fff; font-size: .8125rem; font-weight: 500; }
.promo-strip__inner { display: flex; justify-content: center; align-items: center; gap: 16px; padding: 8px 16px; flex-wrap: wrap; }
.promo-strip a { color: #fff; font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }

/* ===== Topbar ===== */
.topbar { background: var(--primary-dark); color: rgba(255,255,255,.85); font-size: .75rem; padding: 6px 0; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }
.topbar a { color: #fff; }
.topbar a:hover { opacity: .85; }
.topbar__contacts { display: flex; gap: 20px; }

/* ===== Header ===== */
.header { background: var(--surface); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 100; box-shadow: var(--shadow-xs); }
.header__inner { display: flex; align-items: center; gap: 14px; height: var(--header-h); }

.logo { flex-shrink: 0; }
.logo__img { height: 44px; width: auto; object-fit: contain; }

.btn--catalog {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px; background: var(--accent); color: #fff;
  border-radius: var(--radius); font-weight: 700; font-size: .875rem;
  border: none; cursor: pointer; flex-shrink: 0; transition: background var(--ease);
}
.btn--catalog:hover { background: var(--accent-hover); }

.search { flex: 1; max-width: 560px; position: relative; display: flex; }
.search input {
  flex: 1; padding: 11px 16px; border: 2px solid var(--border);
  border-radius: var(--radius) 0 0 var(--radius); border-right: none;
  background: var(--bg); font-size: .875rem; transition: border-color var(--ease);
}
.search input:focus { outline: none; border-color: var(--primary); background: #fff; }
.search__btn {
  padding: 0 18px; background: var(--accent); color: #fff; border: none;
  border-radius: 0 var(--radius) var(--radius) 0; cursor: pointer;
  display: flex; align-items: center; transition: background var(--ease);
}
.search__btn:hover { background: var(--accent-hover); }

.header__actions { display: flex; align-items: center; gap: 12px; margin-left: auto; flex-shrink: 0; }
.header__phone {
  display: flex; align-items: center; gap: 10px; cursor: pointer;
  padding: 6px 10px; border-radius: var(--radius); transition: background var(--ease);
}
.header__phone:hover { background: var(--primary-light); }
.header__phone svg { color: var(--primary); flex-shrink: 0; }
.header__phone strong { display: block; font-size: .9375rem; color: var(--primary); white-space: nowrap; }
.header__phone span { font-size: .7rem; color: var(--text-muted); }

.header__cart {
  position: relative; width: 44px; height: 44px; border: 2px solid var(--border);
  border-radius: var(--radius); background: var(--surface); cursor: pointer;
  display: flex; align-items: center; justify-content: center; color: var(--text);
  transition: all var(--ease);
}
.header__cart:hover { border-color: var(--accent); color: var(--accent); }

.cart-badge {
  position: absolute; top: -6px; right: -6px; background: var(--accent); color: #fff;
  font-size: .625rem; font-weight: 800; min-width: 18px; height: 18px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; border: 2px solid #fff;
}

.burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.burger span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: var(--ease); }

/* ===== Nav ===== */
.nav { background: var(--primary); }
.nav__close { display: none; }
.nav__list { display: flex; overflow-x: auto; scrollbar-width: none; }
.nav__list::-webkit-scrollbar { display: none; }
.nav__link {
  display: block; padding: 11px 16px; color: rgba(255,255,255,.88);
  font-size: .8125rem; font-weight: 500; white-space: nowrap; transition: background var(--ease);
}
.nav__link:hover, .nav__link.active { background: rgba(255,255,255,.12); color: #fff; }
.nav__link--sale { color: #ffd54f; font-weight: 700; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 24px; border-radius: var(--radius); font-weight: 600; font-size: .875rem;
  border: 2px solid transparent; cursor: pointer; transition: all var(--ease); white-space: nowrap;
}
.btn--primary { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn--primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(240,78,35,.35); }
.btn--outline { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn--outline:hover { background: var(--primary); color: #fff; }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--border); }
.btn--ghost:hover { border-color: var(--primary); color: var(--primary); }
.btn--sm { padding: 8px 16px; font-size: .8125rem; }
.btn--cart {
  width: 100%; padding: 9px; background: var(--accent-light); color: var(--accent);
  border: 1px solid transparent; border-radius: var(--radius); font-weight: 600;
  font-size: .8125rem; cursor: pointer; display: flex; align-items: center;
  justify-content: center; gap: 6px; transition: all var(--ease);
}
.btn--cart:hover { background: var(--accent); color: #fff; }

/* ===== Hero / Slider ===== */
.home-top { padding: 20px 0; }
.home-top__grid { display: grid; grid-template-columns: 1fr 300px; gap: 16px; }

.slider { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: var(--surface); box-shadow: var(--shadow-sm); min-height: 280px; }
.slider__track { display: flex; transition: transform .5s cubic-bezier(.4,0,.2,1); height: 100%; }
.slider__slide { min-width: 100%; position: relative; display: flex; align-items: flex-end; min-height: 280px; }
.slider__slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.slider__overlay {
  position: relative; z-index: 1; padding: 28px 32px;
  background: linear-gradient(0deg, rgba(0,0,0,.7) 0%, transparent 100%);
  color: #fff; width: 100%;
}
.slider__overlay h2 { font-size: 1.5rem; font-weight: 800; margin-bottom: 6px; }
.slider__overlay p { font-size: .9rem; opacity: .9; margin-bottom: 14px; }
.slider__dots { position: absolute; bottom: 14px; right: 20px; z-index: 2; display: flex; gap: 6px; }
.slider__dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.4); border: none; cursor: pointer; transition: var(--ease); }
.slider__dot.active { background: #fff; width: 24px; border-radius: 4px; }
.slider__arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.9);
  border: none; cursor: pointer; display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-sm); transition: var(--ease); color: var(--text);
}
.slider__arrow:hover { background: #fff; }
.slider__arrow--prev { left: 12px; }
.slider__arrow--next { right: 12px; }

.quick-form {
  background: var(--surface); border-radius: var(--radius-lg); padding: 22px;
  box-shadow: var(--shadow-sm); border: 1px solid var(--border); display: flex; flex-direction: column;
}
.quick-form h3 { font-size: 1rem; font-weight: 700; color: var(--primary); margin-bottom: 4px; }
.quick-form > p { font-size: .8125rem; color: var(--text-muted); margin-bottom: 16px; }
.quick-form input, .quick-form textarea {
  width: 100%; padding: 10px 12px; border: 1px solid var(--border);
  border-radius: var(--radius); margin-bottom: 8px; font-size: .8125rem; background: var(--bg);
}
.quick-form input:focus, .quick-form textarea:focus { outline: none; border-color: var(--primary); background: #fff; }
.quick-form textarea { resize: vertical; min-height: 72px; }

/* ===== Category tiles ===== */
.cat-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 16px; }
.cat-tile {
  background: var(--surface); border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--border); transition: all var(--ease); text-align: center;
}
.cat-tile:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: var(--primary); }
.cat-tile__img { height: 100px; overflow: hidden; background: var(--bg); display: flex; align-items: center; justify-content: center; }
.cat-tile__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.cat-tile:hover .cat-tile__img img { transform: scale(1.06); }
.cat-tile__name { padding: 10px 8px; font-size: .8125rem; font-weight: 600; color: var(--text); }

/* ===== Sections ===== */
.section { padding: 48px 0; }
.section--white { background: var(--surface); }
.section__head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 24px; flex-wrap: wrap; gap: 12px; }
.section__head h2 { font-size: 1.5rem; font-weight: 800; color: var(--text); }
.section__head p { font-size: .875rem; color: var(--text-muted); margin-top: 4px; }
.section__head a { font-size: .875rem; font-weight: 600; color: var(--accent); }

/* ===== Product tabs ===== */
.tabs { display: flex; gap: 4px; background: var(--bg); padding: 4px; border-radius: var(--radius); margin-bottom: 24px; width: fit-content; }
.tab {
  padding: 9px 20px; border: none; background: transparent; border-radius: 8px;
  font-size: .875rem; font-weight: 600; color: var(--text-muted); cursor: pointer; transition: var(--ease);
}
.tab.active { background: var(--surface); color: var(--accent); box-shadow: var(--shadow-xs); }

/* ===== Product grid & cards ===== */
.products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 14px; }

.product-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; transition: all var(--ease); display: flex; flex-direction: column;
}
.product-card:hover { box-shadow: var(--shadow-md); border-color: #d1d5db; transform: translateY(-2px); }

.product-card__image-link { display: block; }
.product-card__image {
  position: relative; aspect-ratio: 1; background: #fff;
  display: flex; align-items: center; justify-content: center; overflow: hidden; padding: 12px;
}
.product-img { width: 100%; height: 100%; object-fit: contain; transition: transform .35s ease; }
.product-card:hover .product-img { transform: scale(1.05); }
.product-img--lg { max-height: 400px; width: auto; margin: 0 auto; }
.product-img-fallback { width: 60%; opacity: .25; display: flex; align-items: center; justify-content: center; }
.product-img-fallback svg { width: 100%; }

.product-card__badges { position: absolute; top: 8px; left: 8px; display: flex; flex-wrap: wrap; gap: 4px; }
.badge { font-size: .625rem; font-weight: 700; padding: 3px 7px; border-radius: 4px; text-transform: uppercase; letter-spacing: .03em; }
.badge--hit { background: var(--accent); color: #fff; }
.badge--sale { background: var(--sale); color: #fff; }
.badge--spec { background: var(--primary); color: #fff; }
.badge--best { background: var(--success); color: #fff; }
.badge--promo { background: #7c3aed; color: #fff; }
.badge--preorder { background: #6b7280; color: #fff; }
.badge--new { background: #0891b2; color: #fff; }

.product-card__stock-dot {
  position: absolute; bottom: 8px; right: 8px; width: 10px; height: 10px;
  background: var(--success); border-radius: 50%; border: 2px solid #fff;
  box-shadow: 0 0 0 1px var(--success);
}

.product-card__body { padding: 12px; flex: 1; display: flex; flex-direction: column; gap: 4px; }
.product-card__sku { font-size: .6875rem; color: var(--text-light); font-weight: 500; }
.product-card__name { font-size: .8125rem; font-weight: 500; line-height: 1.4; flex: 1; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.product-card__name a:hover { color: var(--primary); }
.product-card__price { display: flex; align-items: baseline; gap: 6px; margin-top: 4px; }
.price { font-size: 1.125rem; font-weight: 800; color: var(--text); }
.price--old { font-size: .8125rem; color: var(--text-light); text-decoration: line-through; font-weight: 400; }
.product-card__wholesale { font-size: .625rem; color: var(--text-light); text-transform: lowercase; }
.product-card__actions { margin-top: 8px; }

/* ===== Brands ===== */
.brands { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.brand-item {
  padding: 10px 22px; background: var(--surface); border: 1px solid var(--border);
  border-radius: 50px; font-size: .8125rem; font-weight: 600; color: var(--text-muted);
  transition: var(--ease);
}
.brand-item:hover { border-color: var(--primary); color: var(--primary); }

/* ===== Advantages ===== */
.advantages { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.advantage-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 24px; text-align: center; transition: var(--ease);
}
.advantage-card:hover { box-shadow: var(--shadow-sm); border-color: var(--primary-light); }
.advantage-card__icon { font-size: 2rem; margin-bottom: 12px; }
.advantage-card h3 { font-size: .9375rem; font-weight: 700; margin-bottom: 6px; }
.advantage-card p { font-size: .8125rem; color: var(--text-muted); }

/* ===== Professions ===== */
.professions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.profession-link {
  padding: 9px 18px; background: var(--surface); border: 1px solid var(--border);
  border-radius: 50px; font-size: .8125rem; font-weight: 500; transition: var(--ease);
}
.profession-link:hover { background: var(--accent); color: #fff; border-color: var(--accent); }

/* ===== CTA ===== */
.cta-banner {
  background: linear-gradient(135deg, var(--primary), #2563b0); color: #fff;
  border-radius: var(--radius-lg); padding: 36px 40px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.cta-banner h2 { font-size: 1.375rem; margin-bottom: 6px; }
.cta-banner p { opacity: .9; font-size: .9rem; }

/* ===== Footer ===== */
.footer { background: #111827; color: rgba(255,255,255,.75); padding: 48px 0 24px; }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 36px; }
.footer h4 { color: #fff; font-size: .8125rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 14px; }
.footer a { display: block; font-size: .8125rem; padding: 3px 0; opacity: .75; transition: opacity var(--ease); }
.footer a:hover { opacity: 1; color: #fff; }
.footer__brand p { font-size: .8125rem; opacity: .65; margin-top: 12px; line-height: 1.6; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 18px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: .75rem; opacity: .5; }

/* ===== Search dropdown ===== */
.search-dropdown {
  position: absolute; top: calc(100% + 4px); left: 0; right: 0;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); z-index: 50; display: none; overflow: hidden;
}
.search-dropdown.open { display: block; }
.search-dropdown__item { display: flex; justify-content: space-between; gap: 12px; padding: 10px 14px; font-size: .8125rem; border-bottom: 1px solid var(--border-light); }
.search-dropdown__item:hover { background: var(--bg); }
.search-dropdown__name { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.search-dropdown__price { font-weight: 700; color: var(--accent); }
.search-dropdown__all { display: block; padding: 10px; text-align: center; font-size: .8125rem; font-weight: 600; color: var(--accent); }

/* ===== Modal ===== */
.modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 200; display: flex; align-items: center; justify-content: center; padding: 20px; opacity: 0; visibility: hidden; transition: var(--ease); }
.modal-overlay.active { opacity: 1; visibility: visible; }
.modal { background: var(--surface); border-radius: var(--radius-lg); padding: 28px; max-width: 440px; width: 100%; position: relative; transform: translateY(16px); transition: transform var(--ease); }
.modal--wide { max-width: 520px; }
.modal-overlay.active .modal { transform: translateY(0); }
.modal h2 { font-size: 1.125rem; margin-bottom: 16px; color: var(--primary); }
.modal__close { position: absolute; top: 14px; right: 14px; background: none; border: none; font-size: 1.5rem; cursor: pointer; color: var(--text-muted); line-height: 1; }
.form-group { margin-bottom: 12px; }
.form-group label { display: block; font-size: .8125rem; font-weight: 600; margin-bottom: 4px; }
.form-group input, .form-group textarea { width: 100%; padding: 10px 12px; border: 1px solid var(--border); border-radius: var(--radius); }
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--primary); }
.form-note { font-size: .75rem; color: var(--text-muted); margin-top: 10px; }
.form-note a { color: var(--primary); text-decoration: underline; }

/* ===== Cart ===== */
.cart-item { display: flex; flex-direction: column; gap: 8px; padding: 12px 0; border-bottom: 1px solid var(--border); }
.cart-item__name { font-size: .875rem; font-weight: 600; }
.cart-item__price { font-size: .75rem; color: var(--text-muted); }
.cart-item__controls { display: flex; align-items: center; gap: 12px; }
.qty-control { display: flex; align-items: center; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.qty-control button { width: 32px; height: 32px; border: none; background: var(--bg); cursor: pointer; }
.qty-control--sm span { width: 28px; text-align: center; font-weight: 600; font-size: .875rem; }
.cart-item__remove { background: none; border: none; color: var(--text-muted); font-size: 1.25rem; cursor: pointer; margin-left: auto; }
.cart-item__remove:hover { color: var(--sale); }
.cart-total { display: flex; justify-content: space-between; padding: 14px 0; font-size: 1.0625rem; }

/* ===== Toast & Cookie ===== */
.toast { position: fixed; bottom: 24px; right: 24px; background: var(--primary-dark); color: #fff; padding: 14px 22px; border-radius: var(--radius); box-shadow: var(--shadow-lg); z-index: 300; transform: translateY(80px); opacity: 0; transition: .3s ease; }
.toast.show { transform: translateY(0); opacity: 1; }
.cookie-banner { position: fixed; bottom: 0; left: 0; right: 0; background: #111827; color: #fff; padding: 14px 20px; display: flex; align-items: center; justify-content: center; gap: 20px; flex-wrap: wrap; z-index: 250; }
.cookie-banner p { font-size: .8125rem; margin: 0; }
.cookie-banner a { color: #fbbf24; }

/* ===== Catalog page ===== */
.breadcrumbs { padding: 14px 0; font-size: .8125rem; color: var(--text-muted); }
.breadcrumbs a:hover { color: var(--primary); }
.catalog-layout { display: grid; grid-template-columns: 250px 1fr; gap: 24px; padding: 20px 0 56px; }
.sidebar { position: sticky; top: calc(var(--header-h) + 12px); align-self: start; }
.sidebar__block { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; margin-bottom: 12px; }
.sidebar__block h3 { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--text-muted); margin-bottom: 10px; }
.filter-list label { display: flex; align-items: center; gap: 8px; padding: 5px 0; font-size: .8125rem; cursor: pointer; }
.filter-list input { accent-color: var(--primary); }
.catalog-toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; flex-wrap: wrap; gap: 10px; }
.catalog-toolbar h1 { font-size: 1.375rem; font-weight: 800; }
.catalog-count { font-size: .8125rem; color: var(--text-muted); }
.sort-select { padding: 8px 12px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); font-size: .8125rem; }
.price-input { width: 100%; padding: 8px; border: 1px solid var(--border); border-radius: var(--radius); font-size: .8125rem; }

/* ===== Product page ===== */
.product-page { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; padding: 24px 0 56px; }
.product-gallery { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); aspect-ratio: 1; display: flex; align-items: center; justify-content: center; position: relative; padding: 24px; }
.product-info h1 { font-size: 1.625rem; font-weight: 800; line-height: 1.25; margin-bottom: 8px; }
.product-info__sku { font-size: .8125rem; color: var(--text-muted); margin-bottom: 14px; }
.product-info__price { display: flex; align-items: baseline; gap: 10px; margin-bottom: 16px; }
.product-info__price .price { font-size: 2rem; }
.product-info__desc { color: var(--text-muted); margin-bottom: 20px; line-height: 1.7; }
.features-list { margin-bottom: 24px; }
.features-list li { padding: 6px 0 6px 22px; position: relative; font-size: .9rem; }
.features-list li::before { content: '✓'; position: absolute; left: 0; color: var(--success); font-weight: 700; }
.product-info__actions { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 20px; }
.qty-control input { width: 44px; text-align: center; border: none; border-left: 1px solid var(--border); border-right: 1px solid var(--border); height: 40px; }
.product-meta { padding: 14px; background: var(--bg); border-radius: var(--radius); font-size: .8125rem; }
.related-section { padding: 40px 0 56px; border-top: 1px solid var(--border); }
.related-section h2 { font-size: 1.25rem; font-weight: 800; margin-bottom: 20px; }

/* ===== Content pages ===== */
.page-hero { background: linear-gradient(135deg, var(--primary), #2563b0); color: #fff; padding: 40px 0; }
.page-hero h1 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; margin-bottom: 6px; }
.page-hero p { opacity: .9; }
.page-content { padding: 36px 0 56px; }
.content-grid { display: grid; grid-template-columns: 1fr 320px; gap: 36px; }
.content-main h2 { font-size: 1.25rem; font-weight: 700; color: var(--primary); margin: 28px 0 10px; }
.content-main p, .content-main li { color: var(--text-muted); line-height: 1.7; margin-bottom: 12px; }
.content-main ul { margin-left: 20px; }
.info-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; margin: 20px 0; }
.info-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; }
.info-card strong { display: block; font-size: 1.125rem; color: var(--primary); }
.info-card span { font-size: .8125rem; color: var(--text-muted); }
.sidebar-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; margin-bottom: 12px; }
.sidebar-card h3 { font-size: .9375rem; font-weight: 700; margin-bottom: 10px; }
.steps { margin: 20px 0; }
.step { display: flex; gap: 14px; margin-bottom: 14px; padding: 18px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.step::before { counter-increment: step; content: counter(step); width: 32px; height: 32px; background: var(--accent); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 800; flex-shrink: 0; }
.steps { counter-reset: step; }
.map-placeholder { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); height: 280px; display: flex; align-items: center; justify-content: center; color: var(--text-muted); margin-top: 20px; }

/* ===== Blog ===== */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.blog-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; transition: var(--ease); }
.blog-card:hover { box-shadow: var(--shadow-md); }
.blog-card__img { height: 140px; background: linear-gradient(135deg, var(--primary), #3b82c4); display: flex; align-items: center; justify-content: center; font-size: 2.5rem; }
.blog-card__body { padding: 18px; }
.blog-card__meta { font-size: .75rem; color: var(--text-muted); margin-bottom: 8px; }
.blog-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; line-height: 1.35; }
.blog-card p { font-size: .8125rem; color: var(--text-muted); }
.blog-card__link { display: inline-block; margin-top: 10px; font-size: .8125rem; font-weight: 600; color: var(--accent); }
.article-content h2 { font-size: 1.125rem; font-weight: 700; color: var(--primary); margin: 24px 0 10px; }
.article-header h1 { font-size: 1.75rem; font-weight: 800; margin-bottom: 10px; }

/* ===== FAQ ===== */
.faq-list { max-width: 720px; margin: 0 auto; }
.faq-item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 8px; overflow: hidden; }
.faq-item__q { width: 100%; text-align: left; padding: 16px 18px; background: none; border: none; font-weight: 600; font-size: .9rem; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.faq-item__q::after { content: '+'; font-size: 1.25rem; color: var(--accent); }
.faq-item.open .faq-item__q::after { transform: rotate(45deg); }
.faq-item__a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-item.open .faq-item__a { max-height: 300px; }
.faq-item__a p { padding: 0 18px 16px; font-size: .875rem; color: var(--text-muted); }

.empty-state { text-align: center; padding: 48px 20px; color: var(--text-muted); }

/* ===== Responsive ===== */
@media (max-width: 1100px) {
  .home-top__grid { grid-template-columns: 1fr; }
  .quick-form { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
  .quick-form h3, .quick-form > p { grid-column: 1 / -1; }
  .cat-tiles { grid-template-columns: repeat(4, 1fr); }
  .advantages { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .catalog-layout, .content-grid, .product-page { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .cat-tiles { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .topbar__contacts { display: none; }
  .btn--catalog { display: none; }
  .burger { display: flex; }
  .header__phone div { display: none; }
  .search { order: 10; flex: 1 1 100%; max-width: none; }
  .header__inner { flex-wrap: wrap; height: auto; padding: 10px 0; gap: 10px; }
  .nav { display: none; }
  .nav.open { display: block; position: fixed; top: 0; left: 0; right: 0; bottom: 0; z-index: 99; background: var(--primary-dark); padding-top: 56px; overflow-y: auto; }
  .nav.open .nav__close { display: flex; align-items: center; justify-content: center; }
  .nav.open .nav__list { flex-direction: column; }
  .nav__close {
    position: fixed; top: 12px; right: 16px; z-index: 100;
    width: 40px; height: 40px; border: none; background: rgba(255,255,255,.15);
    color: #fff; font-size: 1.5rem; border-radius: 50%; cursor: pointer; line-height: 1;
  }
  body.nav-open { overflow: hidden; }
  .nav__mobile-catalog { margin-bottom: 12px; }
  .nav__catalog-toggle {
    width: 100%; display: flex; align-items: center; justify-content: space-between;
    padding: 14px 16px; background: var(--accent); color: #fff; border: none;
    border-radius: var(--radius); font-weight: 700; font-size: .9375rem; cursor: pointer;
  }
  .nav__chevron { transition: transform var(--ease); }
  .nav__catalog-panel { display: none; padding: 12px 0; }
  .nav__catalog-panel.open { display: block; }
  .nav__catalog-toggle[aria-expanded="true"] .nav__chevron { transform: rotate(180deg); }
  .nav__cat-group { margin-bottom: 12px; }
  .nav__cat-title { display: block; font-weight: 700; color: #fff; padding: 6px 0; font-size: .875rem; }
  .nav__cat-subs { display: flex; flex-wrap: wrap; gap: 6px; padding-left: 4px; }
  .nav__cat-subs a { font-size: .75rem; color: rgba(255,255,255,.75); background: rgba(255,255,255,.08); padding: 4px 10px; border-radius: 50px; }
  .nav__catalog-footer { display: flex; gap: 16px; margin-top: 12px; padding-top: 12px; border-top: 1px solid rgba(255,255,255,.15); }
  .nav__catalog-footer a { color: #fff; font-weight: 600; font-size: .875rem; }
  .nav__sale-link { color: var(--accent) !important; }
  .advantages { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .quick-form { grid-template-columns: 1fr; }
}

@media (max-width: 400px) {
  .products-grid { grid-template-columns: 1fr 1fr; }
  .product-card__name { font-size: .75rem; }
  .price { font-size: .9375rem; }
}

/* ===== Mega menu ===== */
.catalog-wrap { position: relative; flex-shrink: 0; }
.mega-menu {
  position: absolute; top: calc(100% + 8px); left: 0; z-index: 150;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); width: min(900px, 95vw); padding: 20px;
  opacity: 0; visibility: hidden; transform: translateY(-8px); transition: var(--ease);
}
.catalog-wrap.open .mega-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.mega-menu__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.mega-menu__title {
  display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: .875rem;
  color: var(--primary); margin-bottom: 8px; padding-bottom: 8px; border-bottom: 2px solid var(--accent-light);
}
.mega-menu__title:hover { color: var(--accent); }
.mega-menu__icon { font-size: 1.125rem; }
.mega-menu__links a {
  display: block; font-size: .75rem; color: var(--text-muted); padding: 3px 0;
  transition: color var(--ease);
}
.mega-menu__links a:hover { color: var(--accent); }
.mega-menu__footer {
  display: flex; gap: 20px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--border);
}
.mega-menu__all { font-weight: 600; font-size: .875rem; color: var(--primary); }
.mega-menu__sale { font-weight: 700; font-size: .875rem; color: var(--accent); }

/* ===== Wishlist ===== */
.header__wish {
  position: relative; width: 44px; height: 44px; border: 2px solid var(--border);
  border-radius: var(--radius); background: var(--surface); cursor: pointer;
  display: flex; align-items: center; justify-content: center; color: var(--text);
  transition: var(--ease);
}
.header__wish:hover { border-color: var(--sale); color: var(--sale); }
.wish-badge {
  position: absolute; top: -6px; right: -6px; background: var(--sale); color: #fff;
  font-size: .625rem; font-weight: 800; min-width: 18px; height: 18px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; border: 2px solid #fff;
}
.btn--wish {
  width: 36px; height: 36px; flex-shrink: 0; padding: 0; border: 1px solid var(--border);
  border-radius: var(--radius); background: var(--surface); cursor: pointer;
  font-size: 1rem; color: var(--text-light); transition: var(--ease);
}
.btn--wish:hover, .btn--wish.active { color: var(--sale); border-color: var(--sale); background: #fff5f5; }
.product-card__actions { display: flex; gap: 6px; }

/* ===== Search thumbs ===== */
.search-dropdown__item { align-items: center; }
.search-dropdown__thumb { width: 40px; height: 40px; object-fit: contain; border-radius: 6px; background: #fff; flex-shrink: 0; }

/* ===== Catalog banner ===== */
.catalog-banner {
  background: linear-gradient(135deg, var(--primary), #2563b0); color: #fff;
  border-radius: var(--radius-lg); padding: 28px 32px; margin-bottom: 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
}
.catalog-banner h1 { font-size: 1.5rem; font-weight: 800; margin-bottom: 4px; }
.catalog-banner p { opacity: .9; font-size: .875rem; }
.catalog-banner__img { width: 80px; height: 80px; object-fit: contain; background: rgba(255,255,255,.15); border-radius: var(--radius); padding: 8px; }

.filter-toggle {
  display: none; width: 100%; padding: 10px; background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius); font-weight: 600;
  cursor: pointer; margin-bottom: 12px;
}

/* ===== Product page enhanced ===== */
.product-trust {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 20px 0;
}
.product-trust__item {
  text-align: center; padding: 12px 8px; background: var(--bg); border-radius: var(--radius); font-size: .75rem;
}
.product-trust__item strong { display: block; font-size: 1.125rem; margin-bottom: 2px; }

.product-sticky {
  display: none; position: fixed; bottom: 60px; left: 0; right: 0; z-index: 90;
  background: var(--surface); border-top: 1px solid var(--border); padding: 10px 16px;
  box-shadow: 0 -4px 20px rgba(0,0,0,.1); align-items: center; gap: 12px;
}
.product-sticky .price { font-size: 1.125rem; }
.product-sticky .btn { flex: 1; }

.cart-item { flex-direction: row; align-items: center; gap: 12px; }
.cart-item__thumb { width: 56px; height: 56px; flex-shrink: 0; border-radius: 8px; overflow: hidden; background: #fff; border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; }
.cart-item__thumb .product-img { width: 100%; height: 100%; object-fit: contain; }
.cart-item__info { flex: 1; }

/* ===== Mobile bar ===== */
.mobile-bar {
  display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 95;
  background: var(--surface); border-top: 1px solid var(--border);
  box-shadow: 0 -2px 12px rgba(0,0,0,.08);
  padding: 6px 0 calc(6px + env(safe-area-inset-bottom));
}
.mobile-bar__item {
  flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px;
  font-size: .625rem; color: var(--text-muted); background: none; border: none; cursor: pointer; padding: 4px;
}
.mobile-bar__item span { font-size: 1.125rem; }
.mobile-bar__item:hover { color: var(--accent); }

@media (max-width: 900px) {
  .mega-menu__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .mobile-bar { display: flex; }
  body { padding-bottom: 64px; }
  .header__wish { display: none; }
  .filter-toggle { display: block; }
  .sidebar { display: none; }
  .sidebar.open { display: block; }
  .product-sticky { display: flex; }
  .cookie-banner { bottom: 56px; }
  .catalog-wrap .mega-menu { display: none; }
  .nav__mobile-catalog { display: block; }
}

/* ===== Checkout ===== */
.checkout-layout { display: grid; grid-template-columns: 1fr 380px; gap: 32px; align-items: start; }
.checkout-section { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; margin-bottom: 16px; }
.checkout-section h2 { font-size: 1rem; font-weight: 700; margin-bottom: 16px; color: var(--primary); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.delivery-options { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.delivery-option {
  display: flex; align-items: center; gap: 12px; padding: 12px 14px;
  border: 2px solid var(--border); border-radius: var(--radius); cursor: pointer; transition: var(--ease);
}
.delivery-option:has(input:checked) { border-color: var(--accent); background: var(--accent-light); }
.delivery-option input { accent-color: var(--accent); }
.delivery-option strong { display: block; font-size: .875rem; }
.delivery-option small { font-size: .75rem; color: var(--text-muted); }
.checkout-agree { display: flex; gap: 10px; font-size: .8125rem; color: var(--text-muted); margin-bottom: 20px; align-items: flex-start; }
.checkout-agree a { color: var(--primary); text-decoration: underline; }
.checkout-submit { width: 100%; padding: 14px; font-size: 1rem; }

.checkout-summary {
  position: sticky; top: calc(var(--header-h) + 16px);
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px;
}
.checkout-summary h2 { font-size: 1.125rem; font-weight: 800; margin-bottom: 16px; }
.checkout-item { display: flex; gap: 10px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--border-light); }
.checkout-item__thumb { width: 48px; height: 48px; flex-shrink: 0; border-radius: 8px; overflow: hidden; background: #fff; border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; }
.checkout-item__thumb .product-img { width: 100%; height: 100%; object-fit: contain; }
.checkout-item__info { flex: 1; min-width: 0; }
.checkout-item__info a { font-size: .75rem; font-weight: 600; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.checkout-item__info span { font-size: .7rem; color: var(--text-muted); }
.checkout-totals { margin-top: 16px; padding-top: 16px; border-top: 2px solid var(--border); }
.checkout-totals__row { display: flex; justify-content: space-between; padding: 4px 0; font-size: .875rem; }
.checkout-totals__row--total { font-size: 1.125rem; margin-top: 8px; }
.checkout-totals__note { font-size: .7rem; color: var(--text-muted); margin-top: 10px; }
.checkout-promo { margin-top: 16px; padding: 12px; background: var(--accent-light); border-radius: var(--radius); font-size: .8125rem; color: var(--accent-hover); }

.order-success { text-align: center; max-width: 520px; margin: 48px auto; padding: 40px 24px; }
.order-success__icon {
  width: 72px; height: 72px; background: var(--success); color: #fff; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-size: 2rem; font-weight: 800;
  margin: 0 auto 20px;
}
.order-success h1 { font-size: 1.75rem; font-weight: 800; margin-bottom: 8px; }
.order-success__text { color: var(--text-muted); margin: 16px 0 28px; line-height: 1.6; }
.order-success__actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

.order-summary {
  text-align: left; background: var(--bg); border-radius: var(--radius-lg);
  padding: 20px; margin: 24px 0; max-width: 400px; margin-left: auto; margin-right: auto;
}
.order-summary h3 { font-size: .875rem; font-weight: 700; margin-bottom: 12px; color: var(--primary); }
.order-summary__row { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; font-size: .8125rem; border-bottom: 1px solid var(--border); }
.order-summary__total { display: flex; justify-content: space-between; padding-top: 12px; margin-top: 8px; font-size: 1rem; }

/* ===== Promo cards ===== */
.promo-cards { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 16px; }
.promo-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 28px; display: flex; flex-direction: column; gap: 10px;
}
.promo-card--featured { background: linear-gradient(135deg, var(--accent), #ff6b35); color: #fff; border: none; }
.promo-card--featured .promo-card__tag { background: rgba(255,255,255,.2); color: #fff; }
.promo-card--featured p { opacity: .9; }
.promo-card__tag { display: inline-block; font-size: .6875rem; font-weight: 700; text-transform: uppercase; padding: 4px 10px; background: var(--accent-light); color: var(--accent); border-radius: 50px; width: fit-content; }
.promo-card h2 { font-size: 1.25rem; font-weight: 800; }
.promo-card p { font-size: .875rem; color: var(--text-muted); flex: 1; }
.promo-card--featured p { color: rgba(255,255,255,.9); }
.promo-card .btn { width: fit-content; margin-top: 8px; }

/* ===== Catalog pagination ===== */
.catalog-pagination { margin-top: 28px; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.catalog-pagination__inner { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; }
.catalog-pagination__item {
  min-width: 40px; height: 40px; display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--border); border-radius: var(--radius); font-weight: 600; font-size: .875rem;
  color: var(--text); background: var(--surface); transition: var(--ease);
}
a.catalog-pagination__item:hover { border-color: var(--primary); color: var(--primary); }
.catalog-pagination__item--active { background: var(--primary); color: #fff; border-color: var(--primary); }
.catalog-pagination__info { font-size: .8125rem; color: var(--text-muted); }

/* Desktop: hide mobile catalog block in nav */
.nav__mobile-catalog { display: none; }

/* ===== Quick view ===== */
.product-card__quick {
  position: absolute; bottom: 8px; left: 8px; width: 32px; height: 32px;
  border: none; border-radius: 50%; background: rgba(255,255,255,.95); cursor: pointer;
  font-size: .875rem; opacity: 0; transform: translateY(4px); transition: var(--ease);
  box-shadow: var(--shadow-sm); z-index: 2;
}
.product-card:hover .product-card__quick { opacity: 1; transform: translateY(0); }
.product-card__preorder {
  position: absolute; top: 8px; right: 8px; font-size: .75rem;
  background: rgba(0,0,0,.55); color: #fff; padding: 2px 6px; border-radius: 4px;
}
.quickview__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
.quickview__img { background: var(--bg); border-radius: var(--radius-lg); padding: 16px; }
.quickview__info h2 { font-size: 1.25rem; font-weight: 800; margin: 8px 0; }
.quickview__desc { font-size: .875rem; color: var(--text-muted); margin: 12px 0; line-height: 1.6; }
.quickview__stock { font-size: .875rem; font-weight: 600; color: var(--success); margin-bottom: 16px; }
.quickview__actions { display: flex; gap: 8px; flex-wrap: wrap; }
.quickview__cat { margin-top: 12px; font-size: .8125rem; }
.quickview__cat a { color: var(--primary); font-weight: 600; }

/* ===== Filter chips ===== */
.filter-chips, .subcat-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.filter-chips:empty, .subcat-chips:empty { display: none !important; margin: 0; }
.filter-chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px;
  background: var(--primary-light); color: var(--primary); border: 1px solid transparent;
  border-radius: 50px; font-size: .75rem; font-weight: 600; cursor: pointer;
}
.filter-chip span { font-size: 1rem; line-height: 1; opacity: .7; }
.filter-chip--reset { background: transparent; border-color: var(--border); color: var(--text-muted); }
.subcat-chip {
  padding: 6px 14px; background: var(--surface); border: 1px solid var(--border);
  border-radius: 50px; font-size: .75rem; font-weight: 600; color: var(--text-muted); transition: var(--ease);
}
.subcat-chip:hover, .subcat-chip--active { border-color: var(--accent); color: var(--accent); background: var(--accent-light); }
a.brand-item { cursor: pointer; }

/* ===== Skeleton loading ===== */
.product-card--skeleton { pointer-events: none; }
.skeleton {
  background: linear-gradient(90deg, var(--border-light) 25%, #e8eaed 50%, var(--border-light) 75%);
  background-size: 200% 100%; animation: skeleton-shimmer 1.2s infinite; border-radius: 6px;
}
.skeleton--img { aspect-ratio: 1; margin-bottom: 12px; }
.skeleton--text { height: 14px; margin-bottom: 8px; }
.skeleton--short { width: 60%; }
.skeleton--price { height: 20px; width: 40%; margin-top: 8px; }
@keyframes skeleton-shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

/* ===== Wholesale bar ===== */
.wholesale-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  background: linear-gradient(90deg, var(--primary-light), #fff); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 14px 20px; margin-bottom: 16px; font-size: .875rem;
}
.wholesale-bar strong { color: var(--primary); }

/* ===== Stats bar ===== */
.stats-bar {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
  margin-top: 20px; padding: 20px; background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius-lg);
}
.stats-bar__item { text-align: center; }
.stats-bar__item strong { display: block; font-size: 1.375rem; font-weight: 800; color: var(--primary); }
.stats-bar__item span { font-size: .75rem; color: var(--text-muted); }

/* ===== Scroll top ===== */
.scroll-top {
  position: fixed; bottom: 80px; right: 20px; z-index: 80;
  width: 44px; height: 44px; border-radius: 50%; background: var(--primary); color: #fff;
  border: none; cursor: pointer; font-size: 1.25rem; font-weight: 700;
  box-shadow: var(--shadow-md); opacity: 0; visibility: hidden; transition: var(--ease);
}
.scroll-top.visible { opacity: 1; visibility: visible; }
.scroll-top:hover { background: var(--primary-dark); }

@media (max-width: 900px) {
  .checkout-layout { grid-template-columns: 1fr; }
  .checkout-summary { position: static; order: -1; }
  .promo-cards { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .quickview__grid { grid-template-columns: 1fr; }
  .product-card__quick { opacity: 1; transform: none; }
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 769px) {
  .scroll-top { bottom: 24px; }
}

/* ===== Mobile: компактная вёрстка без растягивания ===== */
@media (max-width: 768px) {
  html { overflow-x: clip; }

  .container { padding: 0 12px; }

  .topbar { display: none; }

  .promo-strip__inner {
    font-size: 0.75rem;
    padding: 6px 10px;
    gap: 8px;
    text-align: center;
    justify-content: center;
  }

  .header__inner { gap: 8px; padding: 8px 0; min-height: 52px; align-items: center; }
  .burger { order: -1; padding: 6px; }
  .logo { margin-right: auto; }
  .logo__img { height: 34px; }
  .header__actions { gap: 6px; margin-left: 0; }
  .header__cart { width: 40px; height: 40px; }
  .search input { font-size: 16px; padding: 10px 12px; }

  .section { padding: 28px 0; }
  .section__head { margin-bottom: 14px; align-items: flex-start; }
  .section__head h2 { font-size: 1.2rem; }
  .section__head p { font-size: 0.8125rem; }

  .home-hero { padding: 10px 0 0; }
  .slider--hero {
    max-height: 160px;
    border-radius: var(--radius);
    aspect-ratio: 2.2 / 1;
  }
  .slider__arrow { width: 32px; height: 32px; }
  .slider__arrow--prev { left: 6px; }
  .slider__arrow--next { right: 6px; }
  .slider__dots { bottom: 6px; right: 10px; }

  .home-intro { padding: 18px 0; }
  .home-intro__grid { gap: 16px; }
  .home-intro__text h1 { font-size: 1.3rem; line-height: 1.25; }
  .home-intro__desc { font-size: 0.875rem; max-width: none; margin-bottom: 14px; }
  .home-intro__actions { gap: 8px; }
  .home-intro__actions .btn { padding: 10px 16px; font-size: 0.8125rem; }

  .quick-form { padding: 16px; }
  .quick-form h3 { font-size: 0.9375rem; }
  .quick-form > p { font-size: 0.75rem; margin-bottom: 12px; }

  .price-promise { padding: 18px 0; }
  .price-promise__inner { align-items: flex-start; gap: 12px; }
  .price-promise__text h2 { font-size: 1.0625rem; }
  .price-promise__text p { font-size: 0.8125rem; line-height: 1.5; }
  .price-promise .btn { width: auto; flex-shrink: 0; }

  .home-categories { padding: 16px 0 4px; }
  .home-categories .cat-tiles { gap: 8px; }
  .home-categories .cat-tile__img { height: 84px; }
  .home-categories .cat-tile__img img { padding: 6px; }
  .home-categories .cat-tile__name {
    font-size: 0.6875rem;
    padding: 8px 4px;
    line-height: 1.25;
  }

  .stats-bar {
    margin-top: 12px;
    gap: 0;
  }
  .stats-bar__item { padding: 12px 6px; }
  .stats-bar__item strong { font-size: 1.0625rem; }
  .stats-bar__item span { font-size: 0.625rem; line-height: 1.25; }

  .tabs {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    flex-wrap: nowrap;
    margin-bottom: 14px;
    scrollbar-width: none;
  }
  .tabs::-webkit-scrollbar { display: none; }
  .tab { flex: 0 0 auto; padding: 8px 14px; font-size: 0.8125rem; white-space: nowrap; }

  .products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px;
  }
  .product-card { border-radius: 8px; }
  .product-card__image { padding: 8px; }
  .product-card__body { padding: 8px; gap: 2px; }
  .product-card__name { font-size: 0.75rem; -webkit-line-clamp: 2; min-height: 2.4em; }
  .product-card__sku { display: none; }
  .price { font-size: 0.9375rem; }
  .price--old { font-size: 0.6875rem; }
  .btn--cart { padding: 7px 8px; font-size: 0.6875rem; }
  .product-card__quick { width: 30px; height: 30px; }

  .advantage-card { padding: 14px; gap: 10px; }
  .advantage-card__icon { width: 38px; height: 38px; }
  .advantage-card h3 { font-size: 0.8125rem; }
  .advantage-card p { font-size: 0.75rem; line-height: 1.45; }

  .profession-link { padding: 7px 12px; font-size: 0.75rem; }
  .brand-item { padding: 8px 14px; font-size: 0.75rem; }

  .cta-banner {
    padding: 20px 16px;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .cta-banner h2 { font-size: 1.0625rem; }
  .cta-banner p { font-size: 0.8125rem; }

  .seo-block__inner h2 { font-size: 1.125rem; }
  .seo-block__inner p { font-size: 0.8125rem; }
  .seo-block__links a { font-size: 0.75rem; padding: 6px 12px; }

  .catalog-banner { padding: 18px 16px; margin-bottom: 14px; }
  .catalog-banner h1 { font-size: 1.2rem; }
  .catalog-banner p { font-size: 0.8125rem; }
  .catalog-banner__img { width: 64px; height: 64px; }

  .wholesale-bar { padding: 10px 12px; font-size: 0.8125rem; gap: 10px; }
  .wholesale-bar .btn { white-space: nowrap; }

  .breadcrumbs { font-size: 0.75rem; margin-bottom: 10px; }

  .footer { padding: 28px 0 16px; }
  .footer__grid { grid-template-columns: 1fr !important; gap: 20px; margin-bottom: 24px; }
  .footer__bottom { flex-direction: column; gap: 4px; font-size: 0.6875rem; }

  .product-page { gap: 16px; padding: 12px 0 32px; }
  .product-trust { gap: 6px; }
  .product-trust__item { padding: 8px 4px; font-size: 0.625rem; }
  .product-trust__item strong { font-size: 0.9375rem; }

  .page-hero { padding: 24px 0; }
  .page-hero h1 { font-size: 1.25rem; }

  .modal { padding: 20px; margin: 0 8px; max-height: 90vh; overflow-y: auto; }
}

@media (max-width: 380px) {
  .home-intro__actions { flex-direction: column; align-items: stretch; }
  .home-intro__actions .btn { justify-content: center; }
  .home-categories .cat-tile__name { font-size: 0.625rem; }
  .stats-bar__item strong { font-size: 0.9375rem; }
}
