/* ============================================================
   brand-redesign.css — бренд-слой редизайна ivunitex.ru (Ф5, фаза A)
   Подключается ПОСЛЕ common.min.css (группа 'header' в services/static.php),
   поэтому переопределения темы выигрывают каскад по порядку.
   НЕ трогаем глобальный reset и .container темы — только токены, шрифт,
   типографику и ХРОМ (шапка/меню/плашка/футер) desktop + mobile.
   Источник дизайна (заморожен): preview/main-v2.html.
   ВНИМАНИЕ: не писать литеральные закрывающие теги script/style в комментариях.
   ============================================================ */

/* ---------- Шрифт Gerbera (рядом, в ./fonts/) ---------- */
@font-face {
  font-family: 'Gerbera';
  src: url('fonts/Gerbera.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Gerbera';
  src: url('fonts/Gerbera-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/* ---------- Токены бренда ---------- */
:root {
  --c-purple-blue: #403960;
  --c-damask: #BBACEA;
  --c-cornflower: #96CDED;
  --c-light-plum: #F3F2F9;
  --c-white: #FFFFFF;
  --c-ink: #1A172B;
  --c-muted: #6B6680;
  --c-border: #E5E3F0;
  --c-success: #5BAE6B;
  --c-danger: #C8607C;

  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --section-gap: 80px;

  --shadow-sm: 0 1px 2px rgba(64, 57, 96, 0.06);
  --shadow-md: 0 4px 12px rgba(64, 57, 96, 0.08);
  --shadow-lg: 0 12px 32px rgba(64, 57, 96, 0.12);
}

/* ---------- Глобальная типографика (только шрифт+цвет, без reset) ---------- */
body {
  font-family: 'Gerbera', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--c-ink);
  text-align: left;
  -webkit-font-smoothing: antialiased;
}

/* ============================================================
   DESKTOP CHROME (классы существуют только на catalog/-теме)
   ============================================================ */

/* ----- Утильная полоса ----- */
.brand-header .utility-bar {
  background: var(--c-purple-blue);
  color: var(--c-light-plum);
  font-size: 13px;
  padding: 8px 0;
}
.brand-header .utility-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}
.brand-header .utility-bar .left a {
  color: var(--c-light-plum);
  text-decoration: none;
  margin-right: 20px;
  opacity: 0.85;
  transition: opacity 0.15s;
}
.brand-header .utility-bar a:hover { opacity: 1; text-decoration: none; color: var(--c-white); }
.brand-header .utility-bar .right {
  display: flex;
  align-items: center;
  gap: 16px;
}
.brand-header .utility-bar .phone { font-weight: 500; white-space: nowrap; }
.brand-header .utility-bar .hours { opacity: 0.65; white-space: nowrap; }
.brand-header .utility-bar .util-geoip {
  color: var(--c-light-plum);
  cursor: pointer;
  opacity: 0.85;
  white-space: nowrap;
}
.brand-header .utility-bar .util-geoip:hover { opacity: 1; }
.brand-header .utility-bar .util-geoip .name { border-bottom: 1px dashed currentColor; }
.brand-header .utility-bar .util-msg {
  display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 22px; border-radius: 50%; color: #fff; font-size: 12px;
}

/* ----- Шапка (белая, 2 строки) ----- */
#header.brand-header {
  background: var(--c-white);
  border-bottom: 1px solid var(--c-border);
}
.brand-header .brand-header-main { background: var(--c-white); }
.brand-header .brand-header-main > .container { padding-top: 12px; padding-bottom: 0; }

.brand-header .header-top {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-bottom: 12px;
}
.brand-header .logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}
.brand-header .logo img {
  display: block;
  height: 56px;
  width: auto;
}

/* ----- Поиск (нативная форма common/search.tpl, переодеваем вид) ----- */
.brand-header .brand-search { flex: 1; max-width: 360px; }
.brand-header .brand-search .ui-header-search { width: 100%; margin: 0; }
.brand-header .brand-search .ui-header-search .input-group { position: relative; flex-wrap: nowrap; }
.brand-header .brand-search .ui-header-search input[type="search"] {
  width: 100%;
  height: 40px;
  padding: 0 16px 0 40px;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: 14px;
  background-color: var(--c-light-plum);
  color: var(--c-ink);
  /* иконка поиска слева (как в preview) */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236B6680' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: 12px center;
  background-size: 18px 18px;
}
.brand-header .brand-search .ui-header-search input[type="search"]::placeholder { color: var(--c-muted); }
.brand-header .brand-search .ui-header-search input[type="search"]:focus {
  outline: none;
  border-color: var(--c-damask);
  background-color: var(--c-white);
  box-shadow: 0 0 0 3px rgba(187,172,234,0.25);
}
.brand-header .brand-search .ui-header-search .input-group-append {
  position: absolute; right: 0; top: 0; height: 40px;
}
.brand-header .brand-search .ui-header-search-button {
  -webkit-appearance: none; appearance: none;
  height: 40px; width: 40px; border: 0; background: transparent;
  color: var(--c-purple-blue); cursor: pointer; border-radius: var(--radius-md);
}

/* ----- Действия справа (Прайс, ЛК, избранное, корзина) ----- */
.brand-header .header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  margin-left: auto;
}
.brand-header .header-actions .btn-price {
  display: inline-flex; align-items: center; gap: 8px;
  height: 40px; padding: 0 16px;
  background: transparent;
  color: var(--c-purple-blue);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  font-size: 14px; font-weight: 500;
  text-decoration: none; white-space: nowrap; cursor: pointer;
}
.brand-header .header-actions .btn-price:hover { background: var(--c-light-plum); border-color: var(--c-damask); }

/* ЛК / избранное / корзина — превращаем нативные ссылки в брендовые иконки-кнопки */
.brand-header .header-actions .brand-action { position: relative; }
.brand-header .header-actions .brand-action > a {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 40px; height: 40px; padding: 0 10px;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  background: transparent;
  color: var(--c-purple-blue);
  text-decoration: none;
  cursor: pointer;
  gap: 6px;
}
.brand-header .header-actions .brand-action > a:hover { background: var(--c-light-plum); border-color: var(--c-damask); color: var(--c-purple-blue); }
.brand-header .header-actions .brand-action i { font-size: 18px; line-height: 1; position: relative; }
.brand-header .header-actions .brand-action span:not(.count):not([data-basket]):not([data-wishlist]) {
  font-size: 13px; font-weight: 500;
}
.brand-header .header-actions .ui-header-account span { font-size: 13px; font-weight: 500; max-width: 130px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* счётчики корзины/избранного — брендовый бейдж */
.brand-header .header-actions .ui-header-cart .count,
.brand-header .header-actions .ui-header-cart [data-basket="count"],
.brand-header .header-actions .ui-header-wishlist [data-wishlist="total"] {
  position: absolute; top: -6px; right: -6px;
  background: var(--c-purple-blue); color: var(--c-white);
  font-size: 11px; font-weight: 500; line-height: 18px;
  min-width: 18px; height: 18px; border-radius: 9px; padding: 0 5px;
  text-align: center;
}
.brand-header .header-actions .ui-header-cart .total { font-size: 13px; font-weight: 500; color: var(--c-purple-blue); }
/* всплывашки нативных корзины/избранного — оставляем функцию, мягко брендируем */
.brand-header .header-actions .ui-alert-hover-menu {
  border: 1px solid var(--c-border) !important;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
}
/* выпадающее меню аккаунта */
.brand-header .header-actions .ui-header-account .dropdown-menu {
  border: 1px solid var(--c-border);
  border-top: 2px solid var(--c-damask);
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  box-shadow: var(--shadow-lg);
}
.brand-header .header-actions .ui-header-account .dropdown-item { color: var(--c-ink); }
.brand-header .header-actions .ui-header-account .dropdown-item:hover { background: var(--c-light-plum); color: var(--c-purple-blue); }

/* ----- Меню категорий (нативное common/menu.tpl) -----
   Тема держит navbar height:48px;overflow:hidden и .menu-link line-height:48px.
   Поэтому НЕ меняем размеры/padding/border (срежет overflow) — только цвет,
   фон при ховере и подчёркивание через inset box-shadow (без сдвига layout).
   visibility/opacity/animation выпадашки темы НЕ трогаем (иначе сломаем ховер). */
.brand-header .brand-nav { border-top: 1px solid var(--c-border); margin: 0; }
.brand-header .ui-header-menu-navbar .menu-item > a.menu-link { color: var(--c-purple-blue); font-weight: 500; }
.brand-header .ui-header-menu-navbar .menu-item:hover > a.menu-link,
.brand-header .ui-header-menu-navbar .menu-item > a.menu-link:hover {
  background: var(--c-light-plum);
  color: var(--c-purple-blue);
  box-shadow: inset 0 -2px 0 var(--c-damask);
}
.brand-header .ui-header-menu-navbar .menu-dropdown-container {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-top: 2px solid var(--c-damask);
  box-shadow: var(--shadow-lg);
}
.brand-header .ui-header-menu-navbar .menu-dropdown-title,
.brand-header .ui-header-menu-navbar .menu-dropdown-row > a.menu-dropdown-title {
  font-size: 11px; font-weight: 500; color: var(--c-muted);
  text-transform: uppercase; letter-spacing: 0.06em;
}
.brand-header .ui-header-menu-navbar .menu-dropdown-node-link {
  color: var(--c-ink); text-decoration: none; font-size: 14px;
}
.brand-header .ui-header-menu-navbar .menu-dropdown-node-link:hover { color: var(--c-purple-blue); text-decoration: underline; }

/* ----- Плашка минимума ----- */
.minimum-bar {
  background: var(--c-light-plum);
  border-bottom: 1px solid var(--c-border);
  padding: 12px 0;
  font-size: 14px;
}
.minimum-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.minimum-bar .left { color: var(--c-purple-blue); font-weight: 500; }
.minimum-bar .left strong { font-weight: 500; color: var(--c-ink); }
.minimum-bar .marketplaces { display: flex; align-items: center; gap: 12px; color: var(--c-muted); }
.minimum-bar .mp-link {
  padding: 4px 12px;
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  color: var(--c-purple-blue);
  text-decoration: none;
  font-size: 13px; font-weight: 500;
  transition: all 0.15s;
}
.minimum-bar .mp-link:hover { border-color: var(--c-damask); background: var(--c-light-plum); }

/* ----- Футер (desktop) — перекрашиваем в тёмный бренд ----- */
#footer.brand-footer { background: var(--c-purple-blue); color: var(--c-damask); }
#footer.brand-footer .bg-gray-200 { background: var(--c-purple-blue) !important; color: var(--c-light-plum); }
#footer.brand-footer a { color: var(--c-damask); }
#footer.brand-footer a:hover { color: var(--c-light-plum); }
#footer.brand-footer .ui-footer-column > div:first-child {
  font-family: 'Gerbera', sans-serif; font-weight: 500; font-size: 14px;
  color: var(--c-light-plum); text-transform: uppercase; letter-spacing: 0.05em;
  margin-bottom: 14px;
}
#footer.brand-footer .ui-footer-column ul { list-style: none; padding: 0; margin: 0; }
#footer.brand-footer .ui-footer-column a,
#footer.brand-footer .ui-footer-column li { color: var(--c-damask); font-size: 14px; opacity: 0.9; }
/* видимый hover ссылок колонок футера (Каталог/О компании/Помощь/Дополнительно/Связь) — только цвет/подчёркивание */
#footer.brand-footer .ui-footer-column a { transition: color 0.15s ease, opacity 0.15s ease; text-decoration: none; }
#footer.brand-footer .ui-footer-column a:hover,
#footer.brand-footer .ui-footer-column a:focus {
  color: var(--c-light-plum);
  opacity: 1;
  text-decoration: underline;
  text-underline-offset: 2px;
}
#footer.brand-footer .ui-footer-subscribe .form-group { color: var(--c-light-plum); }
#footer.brand-footer .ui-footer-subscribe .btn-secondary {
  background: var(--c-damask); border-color: var(--c-damask); color: var(--c-purple-blue);
}
#footer.brand-footer .ui-footer-subscribe .btn-secondary:hover { background: var(--c-light-plum); border-color: var(--c-light-plum); }
#footer.brand-footer .ui-footer-powered {
  border-top: 1px solid rgba(187,172,234,0.2);
  color: var(--c-damask);
  font-size: 13px;
}
#footer.brand-footer .ui-footer-powered a { color: var(--c-light-plum); }
#footer.brand-footer .ui-footer-requisites { font-size: 13px; opacity: 0.8; margin-top: 4px; }

/* ============================================================
   MOBILE CHROME (классы существуют только на mobile/-теме)
   Перекрашиваем тулбары/пушбары/футер без правки JS-разметки.
   ============================================================ */
.page .header .ui-toolbar-container {
  background: var(--c-white);
  border-bottom: 1px solid var(--c-border);
}
.page .header .ui-toolbar-top { background: var(--c-white); }
.page .header .ui-toolbar-bottom { background: var(--c-white); }
.page .header .ui-toolbar a { color: var(--c-purple-blue); }
.page .header .ui-toolbar-justify a.active { color: var(--c-purple-blue); }
.page .header .ui-toolbar-justify a i { color: var(--c-purple-blue); }
/* мобильный поиск (нативная форма) */
.page .header .ui-toolbar-center form input[type="search"] {
  width: 100%; height: 38px; padding: 0 14px;
  border: 1px solid var(--c-border); border-radius: var(--radius-md);
  background: var(--c-light-plum); color: var(--c-ink);
  font-family: inherit; font-size: 14px;
}
.page .header .ui-toolbar-center form input[type="search"]::placeholder { color: var(--c-muted); }
.page .header .ui-toolbar-center form input[type="search"]:focus { outline: none; border-color: var(--c-damask); background: var(--c-white); }

/* мобильная плашка минимума */
.mobile-minimum-bar {
  background: var(--c-light-plum);
  border-bottom: 1px solid var(--c-border);
  color: var(--c-purple-blue);
  font-size: 13px; font-weight: 500;
  padding: 9px 16px;
  display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap;
}
.mobile-minimum-bar strong { color: var(--c-ink); font-weight: 500; }
.mobile-minimum-bar .mp-link {
  padding: 3px 10px; background: var(--c-white); border: 1px solid var(--c-border);
  border-radius: var(--radius-md); color: var(--c-purple-blue); text-decoration: none; font-size: 12px; font-weight: 500;
  white-space: nowrap;
}

/* мобильное офф-канвас меню/аккаунт (pushbar) */
.pushbar { background: var(--c-white); color: var(--c-ink); }
.pushbar a { color: var(--c-ink); }
.pushbar .submenu { background: var(--c-white); }
.pushbar .zeynep-total { color: var(--c-muted); }
.pushbar label a { color: var(--c-purple-blue); font-weight: 500; }

/* мобильный футер — тёмный бренд */
.footer { background: var(--c-purple-blue); color: var(--c-damask); }
/* контейнеры футера у темы белые (.ui-container{background:#FFF}) — гасим, чтобы фон футера был виден (иначе светлый текст на белом) */
.footer .ui-container { background-color: transparent; }
.footer a { color: var(--c-damask); }
.footer a:hover { color: var(--c-light-plum); }
.footer .ui-footer-address,
.footer .ui-footer-timeofwork { color: var(--c-light-plum); }
.footer .ui-footer-timeofwork span,
.footer .ui-footer-email span,
.footer .ui-footer-telephone span { color: var(--c-damask); opacity: 0.7; }
.footer .ui-container-invert.ui-powered { background: rgba(0,0,0,0.15); color: var(--c-damask); }
.footer .ui-powered-developer a { color: var(--c-light-plum); }
.footer .ui-footer-requisites { font-size: 12px; opacity: 0.75; margin-top: 6px; color: var(--c-damask); }

/* ============================================================
   Адаптив desktop-хрома (узкие окна desktop-темы)
   ============================================================ */
@media (max-width: 1024px) {
  .brand-header .ui-header-menu-navbar .menu-link { padding: 12px 14px; font-size: 14px; }
  .brand-header .brand-search { max-width: 240px; }
}
@media (max-width: 768px) {
  .brand-header .utility-bar { display: none; }
  .brand-header .header-top { flex-wrap: wrap; gap: 12px; }
  .brand-header .brand-search { max-width: 100%; flex: 1 1 100%; order: 99; }
  .brand-header .header-actions .btn-price span { display: none; }
  .minimum-bar { font-size: 13px; }
}

/* ============================================================
   HOME (Фаза B) — контент главной. Всё под .home-redesign,
   чтобы ничего не текло на другие страницы. Источник: preview/main-v2.html.
   ============================================================ */
.home-redesign { color: var(--c-ink); }
.home-redesign .section-heading {
  font-family: 'Gerbera', sans-serif; font-weight: 500; font-size: 32px; line-height: 1.1;
  color: var(--c-purple-blue); margin-bottom: 40px;
}

/* кнопки главной — префикс hr-, чтобы не конфликтовать с Bootstrap/нативной .btn-primary */
.home-redesign .hr-btn-primary, .home-redesign .hr-btn-secondary {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 56px; padding: 0 28px; border-radius: var(--radius-md);
  font-family: inherit; font-size: 16px; font-weight: 500; cursor: pointer;
  text-decoration: none; border: 1px solid transparent; transition: all 0.15s;
}
.home-redesign .hr-btn-primary { background: var(--c-damask); color: var(--c-purple-blue); }
.home-redesign .hr-btn-primary:hover { background: var(--c-cornflower); }
.home-redesign .hr-btn-secondary { background: transparent; color: var(--c-light-plum); border-color: var(--c-light-plum); }
.home-redesign .hr-btn-secondary:hover { background: rgba(243,242,249,0.1); }
.home-redesign .hr-btn-primary-dark {
  display: inline-flex; align-items: center; height: 52px; padding: 0 28px;
  background: var(--c-purple-blue); color: var(--c-light-plum); border-radius: var(--radius-md);
  font-family: inherit; font-size: 16px; font-weight: 500; text-decoration: none; transition: background 0.15s;
}
.home-redesign .hr-btn-primary-dark:hover { background: var(--c-ink); }
.home-redesign .hr-link-light {
  display: inline-flex; align-items: center; height: 52px; padding: 0 20px;
  color: var(--c-purple-blue); text-decoration: underline; font-size: 14px;
}

/* HERO */
.home-redesign .hero { background: var(--c-purple-blue); color: var(--c-light-plum); position: relative; overflow: hidden; }
.home-redesign .hero .container { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; padding-top: 72px; padding-bottom: 72px; position: relative; z-index: 2; }
.home-redesign .hero::before { content: ""; position: absolute; left: -120px; bottom: -180px; width: 580px; height: 580px; background: radial-gradient(circle, var(--c-damask) 0%, rgba(187,172,234,0) 70%); z-index: 1; }
.home-redesign .hero-text { position: relative; z-index: 2; }
.home-redesign .hero h1 { font-family: 'Gerbera', sans-serif; font-weight: 500; font-size: 52px; line-height: 1.05; color: var(--c-light-plum); margin-bottom: 20px; letter-spacing: -0.02em; }
.home-redesign .hero-sub { font-size: 18px; line-height: 1.5; color: var(--c-damask); margin-bottom: 32px; max-width: 540px; }
.home-redesign .hero-buttons { display: flex; gap: 12px; flex-wrap: wrap; }
.home-redesign .hero-image { position: relative; height: 400px; border-radius: var(--radius-xl); background-color: var(--c-damask); background-size: cover; background-position: center; overflow: hidden; z-index: 2; }

/* КАТЕГОРИИ — desktop image-grid */
.home-redesign .catalog { padding: var(--section-gap) 0; background: var(--c-white); }
.home-redesign .catalog-header { margin-bottom: 40px; }
.home-redesign .catalog-header p { font-size: 16px; color: var(--c-muted); margin-top: 12px; }
.home-redesign .catalog-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.home-redesign .cat-card { position: relative; aspect-ratio: 4/3; border-radius: var(--radius-lg); overflow: hidden; text-decoration: none; transition: transform 0.2s; display: block; }
.home-redesign .cat-card:hover { transform: translateY(-4px); }
.home-redesign .cat-card-bg { position: absolute; inset: 0; background: linear-gradient(135deg, var(--c-damask), var(--c-cornflower)); background-size: cover; background-position: center; }
.home-redesign .cat-card-bg.alt2 { background: linear-gradient(135deg, var(--c-light-plum), var(--c-damask)); }
.home-redesign .cat-card-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(64,57,96,0.78) 0%, rgba(64,57,96,0.18) 50%, transparent 72%); }
.home-redesign .cat-card-content { position: absolute; bottom: 0; left: 0; right: 0; padding: 22px; color: var(--c-white); }
.home-redesign .cat-card-content h3 { font-family: 'Gerbera', sans-serif; font-weight: 500; font-size: 24px; line-height: 1.1; margin-bottom: 8px; }
.home-redesign .cat-card-content p { font-size: 13px; opacity: 0.88; line-height: 1.4; }
.home-redesign .cat-badge { position: absolute; top: 16px; right: 16px; background: var(--c-damask); color: var(--c-purple-blue); font-size: 12px; font-weight: 500; padding: 6px 14px; border-radius: 999px; letter-spacing: 0.02em; }

/* ПРЕИМУЩЕСТВА */
.home-redesign .advantages { background: var(--c-light-plum); padding: var(--section-gap) 0; }
.home-redesign .advantages-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.home-redesign .advantage-card { background: var(--c-white); border-radius: var(--radius-lg); padding: 30px; box-shadow: var(--shadow-md); }
.home-redesign .advantage-icon { width: 56px; height: 56px; background: var(--c-damask); border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; color: var(--c-purple-blue); }
.home-redesign .advantage-card h3 { font-family: 'Gerbera', sans-serif; font-weight: 500; font-size: 18px; line-height: 1.2; color: var(--c-purple-blue); margin-bottom: 12px; }
.home-redesign .advantage-card p { font-size: 14px; line-height: 1.5; color: var(--c-muted); }

/* РЕАКТИВАЦИЯ */
.home-redesign .returnees { background: var(--c-damask); padding: var(--section-gap) 0; position: relative; overflow: hidden; }
.home-redesign .returnees::before { content: ""; position: absolute; right: -120px; top: -120px; width: 400px; height: 400px; border-radius: 50%; background: radial-gradient(circle, rgba(243,242,249,0.4) 0%, transparent 70%); }
.home-redesign .returnees .container { position: relative; z-index: 2; max-width: 860px; }
.home-redesign .returnees h2 { font-family: 'Gerbera', sans-serif; font-weight: 500; font-size: 34px; line-height: 1.1; color: var(--c-purple-blue); margin-bottom: 16px; }
.home-redesign .returnees p { font-size: 16px; line-height: 1.6; color: var(--c-purple-blue); opacity: 0.85; margin-bottom: 24px; }
.home-redesign .returnees-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }

/* О КОМПАНИИ */
.home-redesign .about { padding: var(--section-gap) 0; background: var(--c-white); }
.home-redesign .about .container { display: grid; grid-template-columns: 1.3fr 1fr; gap: 56px; }
.home-redesign .about-text h2 { font-family: 'Gerbera', sans-serif; font-weight: 500; font-size: 32px; color: var(--c-purple-blue); margin-bottom: 20px; line-height: 1.1; }
.home-redesign .about-text p { font-size: 16px; line-height: 1.6; color: var(--c-ink); margin-bottom: 20px; }
.home-redesign .about-text .about-legal { font-size: 13px; color: var(--c-muted); margin-bottom: 24px; }
.home-redesign .about-text .about-legal strong { color: var(--c-purple-blue); font-weight: 500; }
.home-redesign .about-text a { color: var(--c-purple-blue); text-decoration: underline; font-weight: 500; }
.home-redesign .about-addresses h3 { font-family: 'Gerbera', sans-serif; font-weight: 500; font-size: 20px; color: var(--c-purple-blue); margin-bottom: 20px; }
.home-redesign .address-item { margin-bottom: 20px; padding-left: 28px; position: relative; }
.home-redesign .address-item::before { content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; background: var(--c-damask); border-radius: 50%; }
.home-redesign .address-item p { font-size: 14px; color: var(--c-muted); margin-bottom: 4px; }
.home-redesign .address-item strong { font-weight: 500; color: var(--c-ink); }

/* МАРКЕТПЛЕЙСЫ (только Wildberries) */
.home-redesign .marketplaces-block { background: var(--c-white); padding: 56px 0; border-top: 1px solid var(--c-border); border-bottom: 1px solid var(--c-border); }
.home-redesign .mp-row { display: flex; align-items: center; gap: 40px; flex-wrap: wrap; justify-content: space-between; }
.home-redesign .mp-row .left p { font-size: 14px; color: var(--c-muted); margin-bottom: 8px; }
.home-redesign .mp-row .left h3 { font-family: 'Gerbera', sans-serif; font-weight: 500; font-size: 22px; color: var(--c-purple-blue); }
.home-redesign .mp-logos { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; }
.home-redesign .mp-logo-card { height: 56px; padding: 0 28px; background: var(--c-light-plum); border-radius: var(--radius-md); display: flex; align-items: center; font-weight: 500; font-size: 16px; color: var(--c-purple-blue); text-decoration: none; transition: all 0.15s; }
.home-redesign .mp-logo-card:hover { background: var(--c-damask); }

/* КАТЕГОРИИ — mobile вертикальный список (есть только в mobile-шаблоне) */
.home-redesign .mobile-cats { display: block; background: var(--c-white); padding: 4px 0; }
.home-redesign .mobile-cat-row { display: flex; align-items: center; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--c-border); text-decoration: none; color: var(--c-ink); }
.home-redesign .mobile-cat-row:last-child { border-bottom: none; }
.home-redesign .mobile-cat-icon { flex-shrink: 0; width: 38px; height: 38px; background: var(--c-light-plum); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: var(--c-purple-blue); }
.home-redesign .mobile-cat-body { flex: 1; min-width: 0; }
.home-redesign .mobile-cat-name { font-size: 15px; font-weight: 500; color: var(--c-purple-blue); }
.home-redesign .mobile-cat-badge { background: var(--c-damask); color: var(--c-purple-blue); font-size: 10px; font-weight: 500; padding: 2px 7px; border-radius: 10px; margin-left: 6px; }
.home-redesign .mobile-cat-sub { font-size: 11px; color: var(--c-muted); margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.home-redesign .mobile-cat-arrow { flex-shrink: 0; color: var(--c-muted); }

/* НАТИВНЫЕ ТОВАРНЫЕ МОДУЛИ в бренд-стиле — desktop (.ui-product-*) */
.home-redesign .ui-aside-product { padding: var(--section-gap) 0; background: var(--c-light-plum); }
.home-redesign .ui-aside-product + .ui-aside-product { padding-top: 0; }
.home-redesign .ui-product-title { font-family: 'Gerbera', sans-serif; font-weight: 500; font-size: 32px; color: var(--c-purple-blue); margin-bottom: 28px; }
.home-redesign .ui-product-title a { font-size: 14px; font-weight: 500; color: var(--c-purple-blue); }
.home-redesign .ui-product-title a:hover { text-decoration: underline; }
.home-redesign .ui-product-content { background: var(--c-white); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: box-shadow 0.2s, transform 0.2s; }
.home-redesign .ui-product-content:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.home-redesign .ui-product-name a { color: var(--c-purple-blue); font-weight: 500; }
.home-redesign .ui-product-price { font-family: 'Gerbera', sans-serif; font-weight: 500; color: var(--c-ink); }
.home-redesign .ui-product-special { font-family: 'Gerbera', sans-serif; font-weight: 500; color: var(--c-purple-blue); }
.home-redesign .ui-product-outdated { color: var(--c-muted); text-decoration: line-through; }
.home-redesign .ui-aside-product .btn-primary, .home-redesign .ui-aside-product .btn.btn-primary { background: var(--c-purple-blue); border-color: var(--c-purple-blue); color: var(--c-light-plum); }
.home-redesign .ui-aside-product .btn-primary:hover { background: var(--c-ink); border-color: var(--c-ink); }

/* НАТИВНЫЕ ТОВАРНЫЕ МОДУЛИ — mobile (.ui-product-v1-*) */
.home-redesign .ui-product-v1-name a { color: var(--c-purple-blue); font-weight: 500; }
.home-redesign .ui-product-v1-price { font-family: 'Gerbera', sans-serif; font-weight: 500; color: var(--c-ink); }
.home-redesign .ui-product-v1-special { color: var(--c-purple-blue); font-weight: 500; }
.home-redesign .ui-product-v1-outdated { color: var(--c-muted); text-decoration: line-through; }

/* Адаптив главной */
@media (max-width: 1024px) {
  :root { --section-gap: 64px; }
  .home-redesign .advantages-grid { grid-template-columns: repeat(2,1fr); }
  .home-redesign .catalog-grid { grid-template-columns: repeat(2,1fr); }
  .home-redesign .hero h1 { font-size: 42px; }
}
@media (max-width: 768px) {
  :root { --section-gap: 48px; }
  .home-redesign .hero .container { grid-template-columns: 1fr; padding-top: 40px; padding-bottom: 40px; gap: 28px; }
  .home-redesign .hero h1 { font-size: 30px; }
  .home-redesign .hero-image { height: 220px; order: -1; }
  .home-redesign .hero-buttons { width: 100%; }
  .home-redesign .hr-btn-primary, .home-redesign .hr-btn-secondary { flex: 1; }
  .home-redesign .advantages-grid { grid-template-columns: 1fr; }
  .home-redesign .catalog-grid { grid-template-columns: 1fr; }
  .home-redesign .about .container { grid-template-columns: 1fr; gap: 32px; }
  .home-redesign .section-heading, .home-redesign .ui-product-title { font-size: 24px; margin-bottom: 24px; }
  .home-redesign .mp-row { flex-direction: column; align-items: flex-start; gap: 16px; }
}
