/* ============================================================
   YELLA.UZ — BRAND OVERRIDE CSS
   Концепция: Lime Green + Charcoal + White
   #CCFF00 · #1A1A1A · #FFFFFF · #F4F4F4
   Подключить в header.twig ПОСЛЕ основного stylesheet
   ============================================================ */

/* ── ПЕРЕМЕННЫЕ ─────────────────────────────────────────── */
:root {
  --lime:       #CCFF00;
  --charcoal:   #1A1A1A;
  --white:      #FFFFFF;
  --grey1:      #F4F4F4;
  --grey2:      #E8E8E8;
  --grey3:      #ABABAB;
  --radius-sm:  12px;
  --radius-md:  18px;
  --radius-lg:  24px;
  --radius-xl:  32px;
}

/* ── ТИПОГРАФИКА ─────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700;800;900&display=swap');

body,
h1, h2, h3, h4, h5, h6,
p, a, span, div, button, input, select, label {
  font-family: 'Nunito', sans-serif !important;
}

body {
  background: #ffffff !important;
  color: var(--charcoal) !important;
}

/* ── HEADER ──────────────────────────────────────────────── */
#header,
header,
.header,
#top {
  background: var(--charcoal) !important;
  border-bottom: none !important;
  box-shadow: 0 2px 16px rgba(0,0,0,0.18) !important;
}

/* Логотип — лаймовый пилл */
#logo,
#header .logo,
.navbar-brand,
#logo a,
#header .logo a {
  background: var(--lime) !important;
  color: var(--charcoal) !important;
  font-weight: 900 !important;
  font-size: 20px !important;
  padding: 6px 18px !important;
  border-radius: var(--radius-sm) !important;
  text-decoration: none !important;
  display: inline-block !important;
  letter-spacing: -0.5px !important;
}

#logo img,
#header .logo img {
  filter: brightness(0) !important; /* чёрный логотип на лайме */
}

/* Поисковая строка в хедере */
#search,
.search-input-wrap,
#search .input-group,
#header .search {
  background: rgba(255,255,255,0.08) !important;
  border-radius: 50px !important;
  border: none !important;
  overflow: hidden !important;
}

#search input,
#header input[type="text"],
.search-input {
  background: transparent !important;
  color: #fff !important;
  border: none !important;
  font-weight: 700 !important;
  letter-spacing: 0.3px !important;
}

#search input::placeholder {
  color: rgba(255,255,255,0.4) !important;
  font-weight: 600 !important;
  letter-spacing: 0.5px !important;
}

#search button,
.search-button,
#header .btn-default {
  background: var(--lime) !important;
  color: var(--charcoal) !important;
  border: none !important;
  font-weight: 900 !important;
  font-size: 12px !important;
  letter-spacing: 1px !important;
  border-radius: 0 50px 50px 0 !important;
  padding: 0 20px !important;
  text-transform: uppercase !important;
  transition: opacity 0.2s !important;
}

#search button:hover,
.search-button:hover {
  opacity: 0.88 !important;
  background: var(--lime) !important;
}

/* Иконки хедера (корзина, аккаунт) */
#cart,
#header-cart,
.header-cart,
#cart .btn,
#header #cart > .btn {
  background: rgba(255,255,255,0.1) !important;
  color: #fff !important;
  border: none !important;
  border-radius: var(--radius-sm) !important;
  font-weight: 700 !important;
}

#cart .btn:hover {
  background: rgba(255,255,255,0.18) !important;
}

/* Счётчик корзины */
#cart .badge,
#header-cart .badge {
  background: var(--lime) !important;
  color: var(--charcoal) !important;
  font-weight: 900 !important;
  border-radius: 50px !important;
}

/* Верхняя полоска (телефон, валюта, язык) */
#top,
.top-bar,
#top .container {
  background: #111 !important;
  border-bottom: 1px solid rgba(255,255,255,0.06) !important;
}

#top a,
.top-bar a,
#top .links a {
  color: var(--grey3) !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 0.5px !important;
  text-transform: uppercase !important;
}

#top a:hover,
.top-bar a:hover {
  color: var(--lime) !important;
}

/* ── НАВИГАЦИЯ / МЕНЮ ─────────────────────────────────────── */
#menu,
.navbar,
nav.navbar {
  background: var(--charcoal) !important;
  border: none !important;
  border-top: 1px solid rgba(255,255,255,0.07) !important;
}

#menu .nav > li > a,
.navbar-nav > li > a,
#menu a {
  color: rgba(255,255,255,0.75) !important;
  font-weight: 800 !important;
  font-size: 13px !important;
  letter-spacing: 0.5px !important;
  text-transform: uppercase !important;
  padding: 14px 16px !important;
  transition: color 0.2s !important;
}

#menu .nav > li > a:hover,
.navbar-nav > li > a:hover,
#menu a:hover {
  color: var(--lime) !important;
  background: transparent !important;
}

#menu .nav > li.active > a,
.navbar-nav > li.active > a {
  color: var(--lime) !important;
  background: transparent !important;
}

/* Дропдаун меню */
.dropdown-menu {
  /*background: var(--charcoal) !important;*/
  background: #ffffff !important;
  border: 1px solid rgba(255,255,255,0.1) !important;
  border-radius: var(--radius-md) !important;
  box-shadow: 0 12px 40px rgba(0,0,0,0.3) !important;
  padding: 8px !important;
}

.dropdown-menu li a {
  color: #000000 !important;
  font-weight: 700 !important;
  font-size: 13px !important;
  border-radius: var(--radius-sm) !important;
  padding: 8px 14px !important;
  letter-spacing: 0.3px !important;
}

.dropdown-menu li a:hover {
  background: var(--lime) !important;
  color: var(--charcoal) !important;
}

/* ── КНОПКИ ──────────────────────────────────────────────── */
.btn-primary,
.btn-warning,
input[type="submit"],
button[type="submit"] {
  background: var(--lime) !important;
  color: var(--charcoal) !important;
  border: none !important;
  border-radius: var(--radius-md) !important;
  font-weight: 900 !important;
  letter-spacing: 1px !important;
  text-transform: uppercase !important;
  font-size: 13px !important;
  padding: 12px 24px !important;
  transition: opacity 0.2s, transform 0.15s !important;
  box-shadow: none !important;
}

.btn-primary:hover,
.btn-warning:hover,
input[type="submit"]:hover,
button[type="submit"]:hover {
  background: var(--lime) !important;
  color: var(--charcoal) !important;
  opacity: 0.88 !important;
  transform: translateY(-1px) !important;
}

.btn-default {
  background: var(--grey1) !important;
  color: var(--charcoal) !important;
  border: none !important;
  border-radius: var(--radius-md) !important;
  font-weight: 800 !important;
}

.btn-default:hover {
  background: var(--grey2) !important;
  color: var(--charcoal) !important;
}

.btn-danger {
  background: var(--charcoal) !important;
  color: var(--lime) !important;
  border: none !important;
  border-radius: var(--radius-md) !important;
  font-weight: 900 !important;
}

/* ── КАРТОЧКИ ТОВАРОВ ─────────────────────────────────────── */
.product-thumb,
.product-card,
.product-layout,
.product-grid .product-thumb {
  background: var(--grey1) !important;
  border: none !important;
  border-radius: var(--radius-lg) !important;
  overflow: hidden !important;
  box-shadow: none !important;
  transition: transform 0.2s, box-shadow 0.2s !important;
}

.product-thumb:hover,
.product-card:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 16px 40px rgba(0,0,0,0.12) !important;
}

/* Изображение товара */
.product-thumb .image,
.product-thumb .image a,
.product-thumb img {
  background: var(--white) !important;
  border-radius: var(--radius-md) var(--radius-md) 0 0 !important;
}

/* Информация о товаре */
.product-thumb .caption,
.product-thumb .product-info {
  padding: 12px 14px !important;
  background: #ffffff !important;
}

.product-thumb .caption h4,
.product-thumb h4,
.product-thumb .name {
  font-size: 13px !important;
  font-weight: 800 !important;
  color: var(--charcoal) !important;
  line-height: 1.3 !important;
  letter-spacing: 0.2px !important;
}

.product-thumb .caption h4 a,
.product-thumb h4 a {
  color: var(--charcoal) !important;
  text-decoration: none !important;
}

/* Цена */
.product-thumb .price,
.price,
.product-price {
  font-size: 15px !important;
  font-weight: 900 !important;
  color: var(--charcoal) !important;
  letter-spacing: 0.3px !important;
}

.product-thumb .price-old,
.price-old {
  color: var(--grey3) !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  text-decoration: line-through !important;
}

.product-thumb .price-new,
.price-new {
  color: var(--charcoal) !important;
  font-weight: 900 !important;
}

/* Кнопка "в корзину" на карточке */
.product-thumb .button-group button,
.product-thumb .btn-cart,
.product-thumb button {
  background: var(--lime) !important;
  color: var(--charcoal) !important;
  border: none !important;
  border-radius: var(--radius-sm) !important;
  font-weight: 900 !important;
  font-size: 11px !important;
  letter-spacing: 1px !important;
  text-transform: uppercase !important;
  width: 100% !important;
  padding: 10px !important;
  transition: opacity 0.2s !important;
}

.product-thumb .button-group button:hover {
  opacity: 0.85 !important;
  background: var(--lime) !important;
  color: var(--charcoal) !important;
}

/* Иконки (избранное, сравнение) */
.product-thumb .button-group .btn-wishlist,
.product-thumb .button-group .btn-compare {
  background: var(--grey2) !important;
  color: var(--charcoal) !important;
  border-radius: var(--radius-sm) !important;
  font-size: 14px !important;
  width: auto !important;
  padding: 8px 12px !important;
}

.product-thumb .button-group .btn-wishlist:hover,
.product-thumb .button-group .btn-compare:hover {
  background: var(--lime) !important;
  color: var(--charcoal) !important;
}

/* Бейдж «Хит» / «Новинка» */
.product-thumb .label-sale,
.product-thumb .label-new,
.product-thumb .label,
.sticker {
  background: var(--lime) !important;
  color: var(--charcoal) !important;
  font-weight: 900 !important;
  font-size: 10px !important;
  letter-spacing: 1px !important;
  border-radius: 8px !important;
  text-transform: uppercase !important;
  padding: 3px 10px !important;
}

/* ── СТРАНИЦА ТОВАРА ──────────────────────────────────────── */
#product .product-info,
.product-page {
  background: var(--white) !important;
  border-radius: var(--radius-xl) !important;
  padding: 28px !important;
  box-shadow: none !important;
}

#product h1,
.product-page h1 {
  font-size: 24px !important;
  font-weight: 900 !important;
  color: var(--charcoal) !important;
  letter-spacing: -0.5px !important;
}

#product .price,
.product-page .price {
  font-size: 28px !important;
  font-weight: 900 !important;
  color: var(--charcoal) !important;
}

#button-cart,
#product .btn-cart {
  background: var(--lime) !important;
  color: var(--charcoal) !important;
  border: none !important;
  border-radius: var(--radius-lg) !important;
  font-size: 15px !important;
  font-weight: 900 !important;
  letter-spacing: 1.5px !important;
  text-transform: uppercase !important;
  padding: 16px 40px !important;
  transition: opacity 0.2s, transform 0.15s !important;
}

#button-cart:hover {
  opacity: 0.88 !important;
  transform: translateY(-2px) !important;
}

/* Табы описания */
#tab-description .nav-tabs > li > a,
.product-tabs .nav-tabs > li > a {
  font-weight: 800 !important;
  color: var(--grey3) !important;
  border-radius: var(--radius-sm) var(--radius-sm) 0 0 !important;
  letter-spacing: 0.5px !important;
  text-transform: uppercase !important;
  font-size: 12px !important;
  border: none !important;
}

#tab-description .nav-tabs > li.active > a,
.product-tabs .nav-tabs > li.active > a {
  color: var(--charcoal) !important;
  background: var(--grey1) !important;
  border-bottom: 3px solid var(--lime) !important;
}

/* ── ХЛЕБНЫЕ КРОШКИ ──────────────────────────────────────── */
#breadcrumb,
.breadcrumb {
  background: transparent !important;
  padding: 12px 0 !important;
}

.breadcrumb li a {
  color: var(--grey3) !important;
  font-weight: 700 !important;
  font-size: 12px !important;
  letter-spacing: 0.3px !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
}

.breadcrumb li a:hover {
  color: var(--charcoal) !important;
}

.breadcrumb li.active,
.breadcrumb > li + li::before {
  color: var(--charcoal) !important;
  font-weight: 800 !important;
}

/* ── БОКОВАЯ ПАНЕЛЬ / ФИЛЬТРЫ ─────────────────────────────── */
#column-left,
#column-right,
.sidebar {
  background: var(--white) !important;
  border-radius: var(--radius-xl) !important;
  padding: 20px !important;
  box-shadow: none !important;
}

.list-group-item,
.sidebar .list-group-item {
  background: transparent !important;
  border: none !important;
  border-bottom: 1px solid var(--grey2) !important;
  font-weight: 700 !important;
  color: var(--charcoal) !important;
  padding: 10px 4px !important;
  letter-spacing: 0.3px !important;
}

.list-group-item.active,
.list-group-item:hover {
  background: var(--grey1) !important;
  color: var(--charcoal) !important;
  border-radius: var(--radius-sm) !important;
}

/* Заголовки блоков сайдбара */
#column-left .panel-heading,
.sidebar .panel-heading,
.sidebar h3,
.sidebar .panel-title {
  font-weight: 900 !important;
  font-size: 13px !important;
  letter-spacing: 1.5px !important;
  text-transform: uppercase !important;
  color: var(--charcoal) !important;
  padding: 0 0 12px !important;
  border-bottom: 2px solid var(--lime) !important;
  margin-bottom: 12px !important;
  background: transparent !important;
}

/* ── ИНПУТЫ / ФОРМЫ ──────────────────────────────────────── */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="tel"],
input[type="number"],
textarea,
select {
  background: var(--grey1) !important;
  border: 2px solid transparent !important;
  border-radius: var(--radius-md) !important;
  color: var(--charcoal) !important;
  font-weight: 700 !important;
  padding: 12px 16px !important;
  transition: border-color 0.2s !important;
  font-family: 'Nunito', sans-serif !important;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--lime) !important;
  background: var(--white) !important;
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(204,255,0,0.2) !important;
}

label {
  font-weight: 800 !important;
  font-size: 12px !important;
  letter-spacing: 0.5px !important;
  text-transform: uppercase !important;
  color: var(--charcoal) !important;
  margin-bottom: 6px !important;
}

/* ── ПАГИНАЦИЯ ───────────────────────────────────────────── */
.pagination > li > a,
.pagination > li > span {
  background: var(--grey1) !important;
  border: none !important;
  color: var(--charcoal) !important;
  font-weight: 800 !important;
  border-radius: var(--radius-sm) !important;
  margin: 0 3px !important;
  padding: 8px 14px !important;
  font-size: 13px !important;
}

.pagination > li.active > a,
.pagination > li.active > span {
  background: var(--lime) !important;
  color: var(--charcoal) !important;
  border: none !important;
}

.pagination > li > a:hover {
  background: var(--charcoal) !important;
  color: var(--lime) !important;
}

/* ── АЛЕРТЫ / УВЕДОМЛЕНИЯ ────────────────────────────────── */
.alert-success {
  background: var(--lime) !important;
  color: var(--charcoal) !important;
  border: none !important;
  border-radius: var(--radius-md) !important;
  font-weight: 800 !important;
}

.alert-danger,
.alert-error {
  background: var(--charcoal) !important;
  color: #fff !important;
  border: none !important;
  border-radius: var(--radius-md) !important;
  font-weight: 800 !important;
}

.alert-info {
  background: var(--grey1) !important;
  color: var(--charcoal) !important;
  border-left: 4px solid var(--lime) !important;
  border-radius: var(--radius-md) !important;
  font-weight: 700 !important;
}

/* ── ЗАГОЛОВКИ СЕКЦИЙ ────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  color: var(--charcoal) !important;
  font-weight: 900 !important;
  letter-spacing: -0.3px !important;
}

/* Заголовки блоков (Хиты, Новинки...) */
.module-title,
.box-heading,
.carousel-title,
h3.title {
  font-size: 15px !important;
  font-weight: 900 !important;
  letter-spacing: 1.5px !important;
  text-transform: uppercase !important;
  color: var(--charcoal) !important;
  padding-bottom: 10px !important;
  border-bottom: 3px solid var(--lime) !important;
  display: inline-block !important;
}

/* ── ФУТЕР ───────────────────────────────────────────────── */
footer,
#footer {
  background: var(--charcoal) !important;
  color: rgba(255,255,255,0.6) !important;
  border-top: none !important;
  margin-top: 40px !important;
}

footer h5,
#footer h5,
footer .title,
#footer .title {
  color: var(--white) !important;
  font-weight: 900 !important;
  font-size: 12px !important;
  letter-spacing: 2px !important;
  text-transform: uppercase !important;
  margin-bottom: 14px !important;
  border-bottom: 2px solid var(--lime) !important;
  padding-bottom: 8px !important;
  display: inline-block !important;
}

footer a,
#footer a {
  color: rgba(255,255,255,0.55) !important;
  font-weight: 600 !important;
  font-size: 13px !important;
  text-decoration: none !important;
  transition: color 0.2s !important;
}

footer a:hover,
#footer a:hover {
  color: var(--lime) !important;
}

/* Копирайт */
#footer-bottom,
footer .copyright,
.footer-bottom {
  background: #111 !important;
  color: rgba(255,255,255,0.3) !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 0.5px !important;
  padding: 14px 0 !important;
  text-align: center !important;
}

/* ── КОРЗИНА / ЧЕКАУТ ────────────────────────────────────── */
.table-striped > tbody > tr:nth-child(odd) > td {
  background: var(--grey1) !important;
}

.table > thead > tr > th {
  font-weight: 900 !important;
  letter-spacing: 1px !important;
  text-transform: uppercase !important;
  font-size: 11px !important;
  color: var(--grey3) !important;
  border-bottom: 2px solid var(--grey2) !important;
}

/* Итоговая сумма */
#checkout-cart tfoot tr:last-child td {
  font-size: 18px !important;
  font-weight: 900 !important;
  color: var(--charcoal) !important;
}

/* ── АККОРДЕОН ───────────────────────────────────────────── */
.panel-group .panel {
  border: none !important;
  border-radius: var(--radius-md) !important;
  overflow: hidden !important;
  margin-bottom: 8px !important;
  box-shadow: none !important;
}

.panel-group .panel-heading {
  background: var(--grey1) !important;
  border: none !important;
}

.panel-group .panel-heading .panel-title a {
  color: var(--charcoal) !important;
  font-weight: 800 !important;
  font-size: 13px !important;
  letter-spacing: 0.5px !important;
}

.panel-group .panel-heading .panel-title a:not(.collapsed) {
  color: var(--charcoal) !important;
  border-left: 3px solid var(--lime) !important;
  padding-left: 10px !important;
}

/* ── КОНТЕЙНЕР СТРАНИЦ ───────────────────────────────────── */
#content,
.content-wrapper {
  background: var(--white) !important;
  border-radius: var(--radius-xl) !important;
  padding: 24px !important;
  margin-top: 16px !important;
  margin-bottom: 16px !important;
}

/* ── ОБЩИЕ СКРУГЛЕНИЯ ────────────────────────────────────── */
.thumbnail,
.panel,
.well {
  border-radius: var(--radius-lg) !important;
  border: none !important;
  box-shadow: none !important;
}

/* ── ССЫЛКИ ──────────────────────────────────────────────── */
a {
  color: var(--charcoal) !important;
  transition: color 0.15s !important;
}

a:hover {
  color: #555 !important;
  text-decoration: none !important;
}

/* ── СКРОЛЛБАР ───────────────────────────────────────────── */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: var(--grey1);
}
::-webkit-scrollbar-thumb {
  background: var(--grey3);
  border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--charcoal);
}

/* ── РЕЙТИНГ ЗВЁЗДЫ ──────────────────────────────────────── */
.rating .fa-star,
.stars .fa-star {
  color: var(--lime) !important;
}

/* ── КОЛИЧЕСТВО / STEPPER ────────────────────────────────── */
.input-group-btn .btn,
.qty-btn {
  background: var(--grey1) !important;
  color: var(--charcoal) !important;
  border: none !important;
  border-radius: var(--radius-sm) !important;
  font-weight: 900 !important;
}

.input-group-btn .btn:hover {
  /*background: var(--lime) !important;*/
}

/* ============================================================
   КАК ПОДКЛЮЧИТЬ:
   В файле catalog/view/theme/upstore/template/common/header.twig
   добавить перед закрывающим </head>:

   <link rel="stylesheet" href="{{ 'catalog/view/theme/upstore/stylesheet/yella-brand.css'|catalog }}" />

   Файл положить в:
   catalog/view/theme/upstore/stylesheet/yella-brand.css
   ============================================================ */

/* ============================================================
   ПРАВКИ v2 — поверх рабочего v1
   ============================================================ */

/* ── 1. ЛОГОТИП — выровнять по центру пилла ─────────────── */
#logo a,
#header .logo a,
.navbar-brand {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 40px !important;
  box-sizing: border-box !important;
  line-height: 1 !important;
  padding: 0 18px !important;
}

#logo img,
#header .logo img {
  display: block !important;
  margin: 0 !important;
  max-height: 26px !important;
  width: auto !important;
  vertical-align: middle !important;
  filter: brightness(0) !important;
}

/* ── 2. ПОИСК — -20% высоты (48px → 38px) ───────────────── */
#search .input-group {
  height: 38px !important;
}
#search input,
#search .form-control {
  height: 38px !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  line-height: 38px !important;
}
#search button,
#search .input-group-btn .btn {
  height: 38px !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  line-height: 38px !important;
}

/* ── 3. КНОПКА КАТАЛОГ — уменьшить, лайм на чёрном ─────── */
/* upstore использует разные классы — бьём широко */
#header [class*="catalog"],
#header .dropdown-toggle,
.header-catalog,
#catalog-button,
.catalog-button {
  height: 38px !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  line-height: 38px !important;
  background: var(--charcoal) !important;
  color: var(--lime) !important;
  border: none !important;
  border-radius: var(--radius-sm) !important;
  font-weight: 900 !important;
}

/* ── 4. ОРАНЖЕВАЯ ЛИНИЯ ПОД ХИДЕРОМ — убрать ────────────── */
/* upstore рисует её через border-bottom на .header или через отдельный div */
#header,
.header,
header,
#header .header-bottom,
.header-bottom,
#header > .container,
#header > div {
  border-bottom: none !important;
  box-shadow: none !important;
}

/* Псевдоэлементы на случай если линия через ::after */
#header::after,
#header::before,
.header::after,
.header::before,
header::after,
header::before {
  display: none !important;
  border: none !important;
  background: none !important;
  height: 0 !important;
}

/* Разделитель между хидером и меню */
#menu {
  border-top: none !important;
  margin-top: 0 !important;
}

/* ── 5. ОСТАВШИЕСЯ ОРАНЖЕВЫЕ ЭЛЕМЕНТЫ ───────────────────── */

/* Иконки поиска и микрофона (оранжевые svg/fa) */
#search .fa,
#search i,
#search svg,
#search .search-icon,
#header .fa-search,
#header .fa-microphone {
  color: var(--charcoal) !important;
  fill: var(--charcoal) !important;
}

/* Иконки корзины и кабинета в хедере */
#header .fa,
#header i.fa,
#header svg {
  color: rgba(255,255,255,0.85) !important;
  fill: rgba(255,255,255,0.85) !important;
}

/* Текст "Кабинет" / "Корзина" под иконками */
#header .icon-text,
#header .cart-text,
#header .account-text,
#header small {
  color: rgba(255,255,255,0.7) !important;
  font-size: 11px !important;
}

/* Любой оставшийся оранжевый цвет через color */
.text-orange,
.color-primary,
[style*="color:#FF5722"],
[style*="color: #FF5722"],
[style*="color:#ff5722"],
[style*="color:#e86c00"],
[style*="color:#FF6600"] {
  color: var(--charcoal) !important;
}

/* Любой оставшийся оранжевый фон */
[style*="background:#FF5722"],
[style*="background: #FF5722"],
[style*="background-color:#FF5722"],
[style*="background-color: #FF5722"] {
  background: var(--lime) !important;
  color: var(--charcoal) !important;
}

/* ── ФИКС: поиск растягивается из-за flexbox (align-items: stretch) ── */
#header .header-search,
#header #search,
#header .search-top,
#search {
  align-self: center !important;
  height: 38px !important;
  max-height: 38px !important;
}
 
#search .input-group,
#search .form-control,
#search input[name="search"] {
  height: 38px !important;
  max-height: 38px !important;
  min-height: unset !important;
  align-self: center !important;
}
 
#search .input-group-btn,
#search .input-group-btn .btn,
#search button {
  height: 38px !important;
  max-height: 38px !important;
}
 
/* Хидер — центрируем содержимое, не растягиваем */
#header .container,
#header .row,
#header > .container > .row {
  align-items: center !important;
}
 
/* ── ТОЧНЫЙ ФИКС высоты поиска по реальному HTML ─────────── */
.header-search.input-group.livesearch {
  height: 38px !important;
  max-height: 38px !important;
  min-height: unset !important;
  align-self: center !important;
  flex-wrap: nowrap !important;
}
 
.header-search.input-group.livesearch input.form-control {
  height: 38px !important;
  max-height: 38px !important;
  min-height: unset !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  line-height: 38px !important;
  box-sizing: border-box !important;
}
 
.header-search.input-group.livesearch .input-group-btn,
.header-search.input-group.livesearch .input-group-btn .btn {
  height: 38px !important;
  max-height: 38px !important;
  min-height: unset !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  line-height: 38px !important;
  box-sizing: border-box !important;
}

/* ── КНОПКА КАТАЛОГ — точный селектор ───────────────────── */
button.btn-menu-top,
button.btn-menu-top:visited {
  background: #1A1A1A !important;
  color: #CCFF00 !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
}
 
button.btn-menu-top i,
button.btn-menu-top .up-icon-menu-grid,
button.btn-menu-top .up-icon-angle-down,
button.btn-menu-top .text-category {
  color: #CCFF00 !important;
}
 
button.btn-menu-top:hover,
button.btn-menu-top:focus,
button.btn-menu-top:active,
button.btn-menu-top.active {
  background: #2a2a2a !important;
  color: #CCFF00 !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
}
 
button.btn-menu-top:hover i,
button.btn-menu-top:focus i,
button.btn-menu-top:active i {
  color: #CCFF00 !important;
}

/* ── КНОПКА КАТАЛОГ v2 — с родителем для специфичности ──── */
.box-menu-top button.btn-menu-top,
.box-menu-top button.btn-menu-top:link,
.box-menu-top button.btn-menu-top:visited {
  background-color: #1A1A1A !important;
  background: #1A1A1A !important;
  color: #CCFF00 !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  -webkit-box-shadow: none !important;
}
 
.box-menu-top button.btn-menu-top *,
.box-menu-top button.btn-menu-top i,
.box-menu-top button.btn-menu-top span {
  color: #CCFF00 !important;
}
 
.box-menu-top button.btn-menu-top:hover,
.box-menu-top button.btn-menu-top:focus,
.box-menu-top button.btn-menu-top:active {
  background-color: #2a2a2a !important;
  background: #2a2a2a !important;
  color: #CCFF00 !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  -webkit-box-shadow: none !important;
}
 
.box-menu-top button.btn-menu-top:hover *,
.box-menu-top button.btn-menu-top:focus *,
.box-menu-top button.btn-menu-top:active * {
  color: #CCFF00 !important;
}

/* ── КНОПКА КАТАЛОГ v3 — перебиваем .up-header селектор ─── */
.up-header .btn-menu-top,
.up-header .light-theme .navbar .btn-menu-top,
.light-theme .navbar .btn-menu-top {
  background-color: #1A1A1A !important;
  color: #CCFF00 !important;
  border: 1.5px solid #1A1A1A !important;
  box-shadow: none !important;
}
 
.up-header .btn-menu-top i,
.up-header .btn-menu-top span,
.up-header .light-theme .navbar .btn-menu-top i,
.up-header .light-theme .navbar .btn-menu-top span {
  color: #CCFF00 !important;
}
 
.up-header .btn-menu-top:hover,
.up-header .light-theme .navbar .btn-menu-top:hover,
.light-theme .navbar .btn-menu-top:hover {
  background-color: #2a2a2a !important;
  color: #CCFF00 !important;
  border: 1.5px solid #2a2a2a !important;
  box-shadow: none !important;
}
 
.up-header .btn-menu-top:hover i,
.up-header .btn-menu-top:hover span {
  color: #CCFF00 !important;
}

/* ── КНОПКА КАТАЛОГ v4 — максимальная специфичность ─────── */
#header .up-header .btn-menu-top,
#header .btn-menu-top,
.up-header #header .btn-menu-top,
#header .light-theme .navbar .btn-menu-top,
#header .up-header .light-theme .navbar .btn-menu-top {
  background-color: #1A1A1A !important;
  color: #CCFF00 !important;
  border: 1.5px solid #1A1A1A !important;
  box-shadow: none !important;
}
 
/* Убираем оранжевый фон у span "Каталог" */
#header .btn-menu-top span.text-category,
#header .btn-menu-top .text-category,
.up-header .btn-menu-top span,
.up-header .btn-menu-top .text-category {
  background-color: transparent !important;
  background: transparent !important;
  color: #CCFF00 !important;
}
 
/* Иконки */
#header .btn-menu-top i,
.up-header .btn-menu-top i {
  color: #CCFF00 !important;
}
 
/* Hover */
#header .up-header .btn-menu-top:hover,
#header .btn-menu-top:hover,
#header .light-theme .navbar .btn-menu-top:hover {
  background-color: #2a2a2a !important;
  border-color: #2a2a2a !important;
  color: #CCFF00 !important;
}
 
#header .btn-menu-top:hover span,
#header .btn-menu-top:hover i,
.up-header .btn-menu-top:hover span,
.up-header .btn-menu-top:hover i {
  background-color: transparent !important;
  color: #CCFF00 !important;  
}

/* ── КАРТОЧКИ — рамка и тень ─────────────────────────────── */
.product-thumb,
.product-card,
.product-layout {
  border: 1.5px solid #E8E8E8 !important;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07) !important;
  border-radius: 16px !important;
  transition: box-shadow 0.2s, transform 0.2s !important;
}

.product-thumb:hover,
.product-card:hover {
  box-shadow: 0 8px 28px rgba(0,0,0,0.13) !important;
  transform: translateY(-3px) !important;
}

/* ── ШРИФТ — убираем Nunito, возвращаем Roboto ──────────── */
.product-thumb .price,
.product-thumb .price-new,
.product-thumb h4,
.product-thumb .caption h4,
.product-thumb .caption h4 a,
.product-thumb .button-group button {
  font-family: 'Roboto', sans-serif !important;
}

/* ── ВОССТАНОВЛЕНИЕ РАЗМЕРОВ ИЗ ОРИГИНАЛЬНОГО STYLESHEET ── */

/* Название товара — оригинал: 15px, weight 500, line-height 22px */
.product-thumb .product-name a {
  font-size: 15px !important;
  font-weight: 500 !important;
  line-height: 22px !important;
  font-family: 'Roboto', sans-serif !important;
  color: #1A1A1A !important;
}

/* Цена — оригинал: 16px */
.product-grid .product-thumb .price,
.container-module .product-thumb .price {
  font-size: 16px !important;
  font-family: 'Roboto', sans-serif !important;
  font-weight: 700 !important;
  color: #1A1A1A !important;
}

/* Старая цена — оригинал: 14px */
.product-grid .product-thumb .price-old,
.container-module .product-thumb .price-old {
  font-size: 14px !important;
}

/* ── КНОПКА «В КОРЗИНУ» — правильный селектор .btn-general  */
/* оригинал: height 52px, font-size 14px, border-radius 44px */
.btn-general {
  background: #CCFF00 !important;
  background-color: #CCFF00 !important;
  color: #1A1A1A !important;
  border: none !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  height: 52px !important;
  border-radius: 44px !important;
  font-family: 'Roboto', sans-serif !important;
}

.btn-general .up-icon-cart,
.btn-general .text-cart-add {
  color: #1A1A1A !important;
}

.btn-general:hover,
.btn-general:focus,
.btn-general:active,
.product-thumb:hover .cart .btn-general {
  background: #b8e600 !important;
  background-color: #b8e600 !important;
  color: #1A1A1A !important;
  border: none !important;
}

.btn-general:hover .up-icon-cart,
.btn-general:hover .text-cart-add,
.product-thumb:hover .cart .btn-general .up-icon-cart {
  color: #1A1A1A !important;
}

/* ── ВЫРАВНИВАНИЕ КНОПКИ «В КОРЗИНУ» по нижнему краю ────── */
/* Карточка — flex колонка */
.product-thumb .caption {
  display: flex !important;
  flex-direction: column !important;
}
 
/* Название — фиксированная высота на 3 строки */
.product-thumb .product-name {
  min-height: 66px !important;
  max-height: 66px !important;
  overflow: hidden !important;
  margin-bottom: 8px !important;
}
 
/* Цена — фиксированная высота */
.product-thumb .price {
  min-height: 40px !important;
}
 
/* Кнопка всегда внизу */
.product-thumb .cart {
  margin-top: auto !important;
}
 
/* ── ВЫРАВНИВАНИЕ КНОПКИ — точный селектор по реальному HTML */
.caption.dflex.flex-column {
  display: flex !important;
  flex-direction: column !important;
}
 
.caption.dflex .product-name {
  flex-grow: 1 !important;
  min-height: 60px !important;
  overflow: hidden !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 3 !important;
  -webkit-box-orient: vertical !important;
}
 
.caption.dflex .cart {
  margin-top: auto !important;
  flex-shrink: 0 !important;
}