@import url('https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@20..48,100..700,0..1,-50..200&icon_names=language,local_mall');

/* =============================================================================
   Veltoo — Refresh «Светлый минимал»  (overlay-слой)
   -----------------------------------------------------------------------------
   Изолированные правки витрины. Грузится ПОСЛЕ stylesheet.css.
   Принцип: ничего из базовых стилей не удаляем — только мягко переопределяем.
   Бренд сохранён: navy #15253A + red #DC2626, шрифт Inter.
   Идея направления: больше воздуха, белые карточки с тонкой рамкой,
   тень только на hover, спокойная типографика, акценты — дозированно.
   ============================================================================= */

:root {
  --vt-navy:          #15253A;
  --vt-red:           #DC2626;
  --vt-muted:         #6B7280;   /* вторичный текст / тихие иконки */
  --vt-line:          #E8EAEE;   /* hairline-границы карточек */
  --vt-surface:       #FFFFFF;
  --vt-radius:        18px;
  --vt-shadow-hover:  0 12px 30px rgba(21, 37, 58, .10);
  --vt-ease:          .25s cubic-bezier(.4, 0, .2, 1);
}

/* ---------------------------------------------------------------------------
   1. Воздух между секциями главной
   --------------------------------------------------------------------------- */
.categories-homepage-list      { padding-top: 2.5rem; padding-bottom: 1rem; }
#product-homepage-list.product-grid {
  grid-row-gap: 2rem;
  grid-column-gap: 1.75rem;
  margin-top: 1.5rem;
}

/* Заголовки секций — фирменный navy, чуть собраннее */
.categories-homepage-list h2,
.container > h2 {
  color: var(--vt-navy);
  letter-spacing: -0.01em;
}

/* ---------------------------------------------------------------------------
   2. Карточка категории: белая, hairline-рамка, тень только на hover
   --------------------------------------------------------------------------- */
.category-item {
  background: var(--vt-surface);
  border: 1px solid var(--vt-line);
  border-radius: var(--vt-radius);
  box-shadow: none;
  transition: transform var(--vt-ease), box-shadow var(--vt-ease), border-color var(--vt-ease);
}
.category-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--vt-shadow-hover);
  border-color: transparent;
}
.category-item > a,
.category-item .category-name {
  color: var(--vt-navy);
  font-size: .95rem;
  font-weight: 600;
}

/* ---------------------------------------------------------------------------
   3. Карточка товара: белая, hairline-рамка, мягкий подъём + зум фото на hover
   --------------------------------------------------------------------------- */
.featured-thumb.product-thumb {
  background: var(--Default-gray-50, #F9FAFB);   /* серая плашка, как в старом дизайне */
  border: 0;
  border-radius: 24px;
  box-shadow: none;
  overflow: hidden;
  transition: transform var(--vt-ease), box-shadow var(--vt-ease);
}
.featured-thumb.product-thumb:hover {           /* новый аккуратный hover (старый не возвращаем) */
  transform: translateY(-4px);
  box-shadow: var(--vt-shadow-hover);
}

/* Название: компактнее, две строки вместо обрезки в одну, ровная высота карточек */
.product-thumb a.featured-thumb-item-name-link {
  font-size: 1.0625rem;          /* 17px вместо 24px */
  line-height: 1.4;
  font-weight: 600;
  color: var(--vt-navy);
  text-align: left;
  white-space: normal;           /* было nowrap → имя больше не обрезается */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.8em;             /* выравнивание соседних карточек */
  margin-top: .75rem;
}

/* ---------------------------------------------------------------------------
   4. Цена больше не выглядит кнопкой — это крупная цена-ссылка,
      действие (wishlist) уезжает в правый край ряда
   --------------------------------------------------------------------------- */
.product-thumb .thumb-buttons {
  display: flex;
  align-items: center;
  justify-content: space-between;
  column-gap: .75rem;
  margin-top: 1rem;
}
.product-thumb .thumb-buttons .btn.btn-primary {
  background: #6B7280 !important;          /* тёмно-серая плашка-цена */
  border: 1px solid #6B7280 !important;
  color: #111827 !important;               /* текст — чёрный */
  padding: .45rem .8rem !important;
  margin: 0 !important;
  border-radius: 10px !important;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.2;
}
.product-thumb .thumb-buttons .btn.btn-primary:hover {   /* заливается на hover */
  background: var(--vt-red) !important;
  color: #fff !important;
  border-color: var(--vt-red) !important;
  transform: none;
}

/* Wishlist — тихая серая иконка, краснеет и слегка растёт на hover */
.product-thumb .thumb-actions .icon-btn,
.product-thumb button.icon-btn {
  background: transparent;
  border: none;
  color: var(--vt-muted);
  font-size: 1.5rem;
  transition: color var(--vt-ease), transform var(--vt-ease);
}
.product-thumb button.icon-btn:hover {
  color: var(--vt-red);
  transform: scale(1.1);
}
.product-thumb .btn-added-to-wishlist {
  color: var(--vt-red);
}

/* 5. Поиск — возвращён к исходному дизайну (кастомные правки убраны по запросу). */

/* ---------------------------------------------------------------------------
   6. Мелочи: плавность ссылок, тоньше разделитель футера
   --------------------------------------------------------------------------- */
a { transition: color var(--vt-ease); }
.footer hr { border-color: rgba(255, 255, 255, .12); }

/* =============================================================================
   DEEP REFRESH — глубокий редизайн главной (hero, преимущества, секции, шапка)
   ============================================================================= */

/* ---- Sticky-шапка + лёгкая граница (только CSS, разметку не трогаем) ---- */
.main-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  border-bottom: 1px solid var(--vt-line);
}

/* Переключатель языка — тёмная пилюля с глобусом (как в референсе) */
.main-header .language-selector {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  height: auto;
  background: transparent;      /* без фона — простая строка */
  border: 0;                    /* убираем базовую рамку 2px */
  border-radius: 10px;
  padding: .4rem .6rem;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  transition: background var(--vt-ease);
}
.main-header .language-selector:hover { background: #EDEFF2; }   /* серый фон при наведении */
.main-header .language-selector .language-icon {
  font-family: 'Material Symbols Outlined';
  font-weight: normal;
  font-style: normal;
  font-size: 23px;
  line-height: 1;
  display: inline-block;
  direction: ltr;
  white-space: nowrap;
  text-transform: none;
  letter-spacing: normal;
  -webkit-font-feature-settings: 'liga';
  font-feature-settings: 'liga';
  -webkit-font-smoothing: antialiased;
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 23;
  color: var(--vt-muted);       /* иконка — приглушённая */
}
.main-header .language-selector .language-selector-text {
  text-transform: uppercase;
  font-size: 1.155rem;
  font-weight: 600;
  line-height: 1;
  color: #111827;               /* название языка — чёрным */
}

/* Иконка корзины — Material Symbols «local_mall» */
.cart-icon .cart-symbol {
  font-family: 'Material Symbols Outlined';
  font-weight: normal;
  font-style: normal;
  font-size: 28px;
  line-height: 1;
  display: inline-block;
  direction: ltr;
  white-space: nowrap;
  text-transform: none;
  letter-spacing: normal;
  -webkit-font-feature-settings: 'liga';
  font-feature-settings: 'liga';
  -webkit-font-smoothing: antialiased;
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 28;
  color: var(--vt-navy);
}

/* ---- Контейнер: чуть шире и ровные поля ---- */
.container.mx-auto { max-width: 1240px; }

/* ---- Заголовок секции: акцент-бар слева + ссылка «Hamısı» ---- */
.vt-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.vt-section-head h2 {
  position: relative;
  margin: 0;
  padding-left: .9rem;
  color: var(--vt-navy);
  letter-spacing: -0.01em;
}
.vt-section-head h2::before {
  content: "";
  position: absolute;
  left: 0; top: .12em; bottom: .12em;
  width: 5px;
  border-radius: 4px;
  background: var(--vt-red);
}
.vt-section-head__link {
  color: var(--vt-navy);
  font-weight: 600;
  font-size: .95rem;
  white-space: nowrap;
  cursor: pointer;
}
.vt-section-head__link:hover { color: var(--vt-red); }

/* ---------------------------------------------------------------------------
   HERO — брендовый баннер
   --------------------------------------------------------------------------- */
.vt-hero { margin: 1.25rem 0 2.5rem; }
.vt-hero__inner {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  background: linear-gradient(135deg, #15253A 0%, #213a5c 60%, #294a73 100%);
  color: #fff;
  padding: clamp(2rem, 5vw, 4rem);
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.vt-hero__text { position: relative; z-index: 2; max-width: 620px; }
.vt-hero__eyebrow {
  display: inline-block;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #9fb4cf;
  margin-bottom: 1rem;
}
.vt-hero__title {
  font-size: clamp(1.9rem, 4.2vw, 3.1rem);
  line-height: 1.08;
  font-weight: 800;
  color: #fff;
  margin: 0 0 1.1rem;
}
.vt-hero__title span { color: #ff6b6b; }
.vt-hero__subtitle {
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  line-height: 1.6;
  color: #cdd8e6;
  margin: 0 0 2rem;
  max-width: 48ch;
}
.vt-hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.vt-btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .9rem 1.7rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1.05rem;
  line-height: 1;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all var(--vt-ease);
}
.vt-btn--primary { background: var(--vt-red); color: #fff; border-color: var(--vt-red); }
.vt-btn--primary:hover { background: #fff; color: var(--vt-navy); border-color: #fff; }
.vt-btn--ghost { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.28); }
.vt-btn--ghost:hover { background: rgba(255,255,255,.18); color: #fff; }

/* Декоративные элементы hero */
.vt-hero__art { position: relative; flex: 0 0 280px; height: 240px; display: block; }
.vt-hero__blob {
  position: absolute;
  right: -60px; top: 50%;
  width: 360px; height: 360px;
  transform: translateY(-50%);
  background: radial-gradient(circle at 30% 30%, rgba(220,38,38,.35), transparent 62%);
  border-radius: 50%;
  pointer-events: none;
}
.vt-hero__badge {
  position: absolute;
  background: rgba(255,255,255,.1);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.2);
  color: #fff;
  font-weight: 700;
  padding: .6rem 1rem;
  border-radius: 14px;
  font-size: 1.05rem;
  box-shadow: 0 10px 30px rgba(0,0,0,.18);
}
.vt-hero__badge--1 { right: 90px; top: 30px; }
.vt-hero__badge--2 { right: 10px; bottom: 30px; }
@media (max-width: 991px) { .vt-hero__art { display: none; } }

/* ---------------------------------------------------------------------------
   ÜSTÜNLÜKLƏR — полоса преимуществ
   --------------------------------------------------------------------------- */
.vt-adv { margin: 0 0 2.75rem; }
.vt-adv__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.vt-adv__item {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: #fff;
  border: 1px solid var(--vt-line);
  border-radius: 16px;
  padding: 1.1rem 1.25rem;
  transition: transform var(--vt-ease), box-shadow var(--vt-ease), border-color var(--vt-ease);
}
.vt-adv__item:hover {
  transform: translateY(-3px);
  box-shadow: var(--vt-shadow-hover);
  border-color: transparent;
}
.vt-adv__item img { width: 40px; height: 40px; flex: 0 0 40px; object-fit: contain; }
.vt-adv__item b { display: block; color: var(--vt-navy); font-size: 1rem; line-height: 1.3; }
.vt-adv__item span { color: var(--vt-muted); font-size: .85rem; }
@media (max-width: 768px) {
  .vt-adv__grid { grid-template-columns: repeat(2, 1fr); gap: .6rem; }
  .vt-adv__item { padding: .85rem; border-radius: 14px; }
  .vt-adv__item img { width: 32px; height: 32px; flex-basis: 32px; }
}

/* ---- Карточка категории: крупнее картинка, чётче ---- */
.category-item img { max-height: 120px; }
.category-item:hover img { transform: scale(1.05); transition: transform var(--vt-ease); }

/* ---- Футер: фирменный navy + аккуратные ссылки ---- */
.footer { background: var(--vt-navy); }
.footer a:hover { color: #fff; }
.footer a { transition: color var(--vt-ease); }

