/* ==========================================================================
   Комфортные вещи — дизайн «Роскошь и комфорт»
   Меняются только цвета и шрифты. Структура страниц не затрагивается.
   Палитра:  графит #2A2229 · слоновая кость #F6F0E6 · песок #EFE5D3
             шампань-золото #B08D4C (декор) · золото для текста #8A6A2F
             бордо #7A2E3A · шалфей #43633F
   Шрифты:   Cormorant Garamond (заголовки, цены), Manrope (остальной текст)
   ========================================================================== */

/* --- Шрифты: всё, кроме иконочных шрифтов --- */
:where(body *:not(.fa):not([class*="icon-"]):not(.re-icon):not(.icon16)) {
    font-family: 'Manrope', Arial, sans-serif !important;
}
html body h1, html body h2, html body h3, html body h4, html body h5, html body h6,
html body div.h1, html body div.h4, html body div.h5, html body div.h6,
html body .category-name,
html body .thumbnail-catalog .name, html body .thumbnail-catalog .name a,
html body .thumbnail-catalog .bottom-block .price, html body .thumbnail-catalog .bottom-block .price s,
html body .product .add2cart .price, html body .product .add2cart .compare-at-price,
html body .filter .panel-body, html body .filter .filter-name,
html body .header .phone, html body .header .cart-block,
html body .bottom-bar .cart-block,
html body .split-catalog li.header, html body .menu-h li.smart-menu ul li.smart-menu-header {
    font-family: 'Cormorant Garamond', Georgia, serif !important;
}

/* --- Общий фон и текст --- */
html body { background: #F6F0E6; color: #2A2229; }
html body .container { background-color: transparent; }
html body .breadcrumbs { color: #6B5F63; }
html body .breadcrumbs ul li + li:before { color: #B08D4C; }

/* --- Верхняя тёмная полоса --- */
html body .top-line { background: #2A2229; border-bottom: 0; padding: 8px 0; }
html body .top-line .menu-h-top li a,
html body .top-line a { color: #E9DCC0; font-size: 12px; letter-spacing: .04em; }
html body .top-line .menu-h-top li:hover > a,
html body .top-line a:hover { color: #E3C98D; }
html body .menu-h-top li ul { background: #2A2229; }
html body .top-line .auth li .fa { color: #D9BC7C; }

/* --- Шапка --- */
html body .header .phone { font-size: 26px; font-weight: 600; }
html body .header .phone i { color: #6B5F63; }
html body .header .phone-under-link a { color: #2A2229; }
html body .header .phone-under-link a:hover { color: #8A6A2F; }
html body .header .phone-under-link .fa { color: #8A6A2F; }
html body .header .search input[type="text"] {
    border: 1px solid #CDB88C; border-radius: 0; background: #FFFDF9; color: #2A2229;
}
html body .header .search input[type="text"]:focus { border-color: #B08D4C; box-shadow: 0 0 0 2px rgba(176,141,76,.25); }
html body .header .search button[type="submit"] { background: none; border: 0; }
html body .header .search .search_button .icon-icon_search { color: #8A6A2F; }
html body .header .promo .icon-promo { color: #B08D4C; }
html body .header .promo p { color: #5A4F54; }
html body .header .cart-block { font-weight: 600; }
html body .header .cart-block .cart-box { color: #FFFDF9; border-radius: 0; }
html body .header .cart-block a { color: #2A2229; }

/* --- Главное меню --- */
html body .menu-h, html body .menu-h-tree {
    background: #2A2229; border-top: 1px solid #B08D4C; border-bottom: 1px solid #B08D4C;
}
html body .container-menu-h .menu-h > li > a,
html body .container-menu-h .menu-h-tree > li > a {
    color: #F3E9D2; text-transform: uppercase; letter-spacing: .12em; font-size: 14px !important; font-weight: 500;
}
html body .menu-h-tree .tree:after { color: #D9BC7C; }
html body .menu-h li:hover, html body .menu-h-tree li:hover,
html body .menu-h-tree li:hover > a { background: #FFFDF9; border-top-color: #B08D4C; }
html body .menu-h li:hover > a, html body .menu-h-tree li:hover > a { color: #2A2229 !important; }
html body .menu-h li:hover a:hover, html body .menu-h-tree li:hover a:hover { color: #8A6A2F !important; }
html body .menu-h li ul, html body .menu-h-tree ul { background: #FFFDF9; border: 1px solid #E6DCC8; }
html body .menu-h li ul li a, html body .menu-h-tree ul li a { color: #2A2229; letter-spacing: .02em; text-transform: none; }
html body .menu-h-tree ul li { border-bottom-color: #EFE5D3; }
html body .menu-h-tree li ul li:hover > a { background: #F6F0E6; }
html body .menu-h li.smart-menu ul li.smart-menu-header { color: #8A6A2F; font-weight: 700; }

/* --- Заголовок категории --- */
html body h1.category-name { font-size: 46px; font-weight: 600; color: #2A2229; letter-spacing: .01em; }
html body h1.category-name:after {
    content: ""; display: block; width: 64px; height: 2px; background: #B08D4C; margin-top: 10px;
}

/* --- Левое меню категорий --- */
html body .subcategory, html body .split-catalog, html body .split-catalog-slide { border-color: #E0D2B6; }
html body .subcategory li, html body .split-catalog li, html body .split-catalog-slide li { background: #FFFDF9; border-color: #E6DCC8; }
html body .split-catalog li.header { background: #EFE5D3; font-weight: 700; letter-spacing: .06em; }
html body .subcategory li a, html body .split-catalog li a, html body .split-catalog-slide li a { color: #2A2229; border-bottom-color: #E6DCC8; }
html body .split-catalog li a:hover, html body .split-catalog-slide li a:hover,
html body .subcategory li a:hover, html body .split-catalog li:hover > a,
html body .split-catalog-slide li.selected > a, html body .subcategory .selected a {
    background: #F6F0E6; color: #8A6A2F; border-left-color: #B08D4C;
}

/* --- Фильтры --- */
html body .filters-background { background: #EFE5D3; border: 1px solid #E0D2B6; }
html body .filter .filter-name, html body .filter .filter-name i { color: #2A2229; }
html body .filter .filter-name { background: #E6D9BF; border-bottom-color: #D4C29B; letter-spacing: .08em; }
html body .filter .panel-body {
    color: #2A2229; border-top: 1px solid #D4C29B; font-size: 18px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
}
html body .filter .panel-body:hover, html body .filter .filtergroup:hover .panel-body { color: #8A6A2F; }
html body .filter .filtergroup label { color: #2A2229; }
html body .filter .filtergroup .slider .pricehint { color: #5A4F54; }
html body .filter .filtergroup .slider input[type="text"] { border-color: #CDB88C; background: #FFFDF9; color: #2A2229; border-radius: 0; }
html body .filter input[type="checkbox"], html body .filter input[type="radio"] { accent-color: #8A6A2F; }
html body .ui-slider { background: #B08D4C; border: 0; height: 2px; }
html body .ui-slider .ui-slider-range { background: #B08D4C; }
html body .ui-slider .ui-slider-handle { background: #F6F0E6; border: 2px solid #8A6A2F; }
html body .clearfilter .btn {
    background: transparent; color: #5E4720; border: 1px solid #8A6A2F; border-radius: 0;
    font-size: 12px; letter-spacing: .08em; text-transform: uppercase;
}
html body .clearfilter .btn:hover { background: #2A2229; color: #F3E9D2; border-color: #2A2229; }

/* --- Панель сортировки --- */
html body .sorting { background: #EFE5D3; border: 1px solid #E0D2B6; }
html body .sorting ul li a { background: #FFFDF9; border: 1px solid #CDB88C; border-radius: 0; color: #5A4F54; }
html body .sorting ul li a:hover { color: #8A6A2F; border-color: #B08D4C; background: #FFFDF9; }
html body .sorting ul li ul { background: #FFFDF9; border-color: #E0D2B6; }
html body .sorting ul li ul li a { background: transparent; border: 0; color: #2A2229; }
html body .sorting ul li ul li:hover { background: #F6F0E6; }
html body .sorting ul .selected a { color: #8A6A2F; font-weight: 600; }
html body .sorting .showtype a { border-left-color: #D4C29B; color: #7A6E70; background: #FFFDF9; }
html body .sorting .showtype a:hover { background: #F6F0E6; opacity: 1; }
html body .sorting .showtype .active, html body .sorting .showtype a.active { background: #2A2229; color: #F3E9D2; }

/* --- Карточки товаров --- */
html body .thumbnail-catalog { background: #FFFDF9; border: 1px solid #E6DCC8; border-radius: 0; }
html body .hover-active .thumbnail-catalog:hover { border-color: #CDB88C; }
html body .hover-active .thumbnail-catalog:hover .offers { background: #F8F2E6; border-top-color: #E6DCC8; }
html body .hover-active .thumbnail-catalog:hover .after-bottom-block,
html body .hover-active .thumbnail-catalog:hover .one-click { border-top-color: #E6DCC8; }
html body .thumbnail-catalog .name { font-size: 21px; font-weight: 700; line-height: 1.15; }
html body .thumbnail-catalog .name a { color: #2A2229; }
html body .hover-active .thumbnail-catalog .name a:hover { color: #8A6A2F; }
html body .thumbnail-catalog .offers, html body .thumbnail-catalog .after-bottom-block,
html body .thumbnail-catalog .one-click { border-top-color: #E6DCC8; }
html body .thumbnail-catalog .bottom-block .price { font-size: 26px; font-weight: 700; color: #2A2229; line-height: 1; }
html body .thumbnail-catalog .bottom-block .price s { color: #7A6E70; font-size: 16px; font-weight: 500; }
html body .thumbnail-catalog .status .rating-big a { color: #6B5F63; }
html body .thumbnail-catalog .status .availability .stock-high { color: #43633F; font-weight: 600; }
html body .thumbnail-catalog .status .availability .stock-none { color: #7A2E3A; }
html body .thumbnail-catalog .image-block .compare-favorite span a { color: #5A4F54; border-bottom-color: #5A4F54; }
html body .thumbnail-catalog .image-block .compare-favorite span .fa { color: #6B5F63; }
html body .thumbnail-catalog .after-bottom-block a, html body .thumbnail-catalog .after-bottom-block .fa { color: #6B5F63; border-bottom-color: #6B5F63; }

/* --- Кнопки --- */
html body .btn-primary, html body .add2cart .btn-primary,
html body input[type="submit"], html body button.btn-primary {
    background: #2A2229; color: #F3E9D2; border: 1px solid #B08D4C; border-radius: 0;
    text-transform: uppercase; letter-spacing: .12em; font-size: 13px; font-weight: 600;
}
html body .btn-primary:hover, html body .btn-primary:focus,
html body .hover-active .thumbnail-catalog .btn-primary:hover,
html body .add2cart .btn-primary:hover, html body input[type="submit"]:hover {
    background: #8A6A2F; border-color: #8A6A2F; color: #FFFDF9; opacity: 1;
}
html body .thumbnail-catalog .btn-primary:after, html body .list-catalog .btn-primary:after,
html body .text-catalog .btn-primary:after { color: #E3C98D; }
html body .thumbnail-catalog .btn.disabled, html body .thumbnail-catalog .btn:disabled { background: #CFC5B3; color: #5A4F54; border-color: #CFC5B3; }

/* --- Бейджи --- */
html body .badge { border-radius: 0; letter-spacing: .12em; }
html body .badge.discount, html body .badge.new, html body .badge.low-price, html body .badge.bestseller { background: #7A2E3A; color: #FBEFE4; }

/* --- Поля ввода --- */
html body input[type="text"], html body input[type="email"], html body input[type="password"],
html body input[type="tel"], html body select, html body textarea {
    border: 1px solid #CDB88C; background: #FFFDF9; color: #2A2229; border-radius: 0;
}

/* --- Постраничная навигация --- */
html body .pagination > li > a, html body .pagination > li > span { color: #2A2229; }
html body .pagination > li > a:hover, html body .pagination > li > a:focus { background: #EFE5D3 !important; color: #2A2229 !important; }
html body .pagination > .selected > a, html body .pagination > .selected > span { background: #2A2229 !important; color: #F3E9D2 !important; }

/* --- Страница товара --- */
html body .product h1, html body .product div.h1 { font-weight: 600; color: #2A2229; }
html body .product .add2cart .price { font-weight: 700; }
html body .product .purchase { background: #FFFDF9; border-color: #E6DCC8; }
html body .product .h4 { border-bottom: 1px solid #B08D4C; font-weight: 700; }
html body .product .stocks .stock-high { color: #43633F; }
html body .product .saving { color: #7A2E3A; }
html body .product .articul, html body .product .sub, html body .product .tags,
html body .product .tags a, html body .product .sub a { color: #6B5F63; }
html body .product .options .inline-select a { border-color: #CDB88C; border-radius: 0; }
html body ul.product-nav .selected { border-bottom-color: #B08D4C; }

/* --- Нижняя панель --- */
html body .bottom-bar { background: #2A2229; border-top: 1px solid #B08D4C; box-shadow: none; }
html body .bottom-bar a { color: #E9DCC0; }
html body .bottom-bar .fa { color: #D9BC7C; }
html body .bottom-bar .inline li { border-right-color: #4A3F44; }
html body .bottom-bar .inline li a:hover, html body .bottom-bar .inline li a:focus { background: #3A3039; }
html body .bottom-bar .inline li span { border-color: #6B5F63; color: #E9DCC0; background: transparent; }
html body .bottom-bar .inline li strong { color: #BFB39C; }
html body .bottom-bar .cart-block a { color: #E9DCC0; }
html body .bottom-bar .cart-block .icon-red_icon_cart { color: #D9BC7C; }
html body .bottom-bar .cart-block .cart-box { background: #D9BC7C; border-color: #D9BC7C; color: #2A2229; border-radius: 0; }
html body .bottom-bar .cart-block .cart-box:after, html body .bottom-bar .cart-block .cart-box:before { border-right-color: #D9BC7C; }
html body .bottom-bar .cart-block .popup, html body .header .cart-block .popup { background: #FFFDF9; border-color: #E6DCC8; }
html body .bottom-bar .cart-block .popup a, html body .bottom-bar .cart-block .popup .name a { color: #2A2229; }

/* --- Подвал --- */
html body .footer { border-top: 1px solid #B08D4C; }
html body .footer, html body .footer.dark { color: #E9DCC0; }
html body .footer a, html body .footer.dark a, html body .footer .menu-h-footer a { color: #E9DCC0; }
html body .footer a:hover { color: #E3C98D; }
html body .footer h5, html body .footer div.h5, html body .footer.dark h5, html body .footer.dark div.h5 {
    color: #F3E9D2; letter-spacing: .1em; font-weight: 600;
}
html body .footer .fa { color: #D9BC7C; }
html body .footer .social a { border-color: #6B5F63; }
html body .footer .social a .fa { color: #E9DCC0; }
html body .footer .social a:hover { background: #B08D4C; border-color: #B08D4C; }
html body .footer .social a:hover .fa { color: #2A2229; }

/* --- Прокрутка вверх --- */
html body .scroll-top-wrapper { border-radius: 0; }

/* ==========================================================================
   Правки после проверки на сайте
   ========================================================================== */

/* --- 1. Верхнее меню: по центру полосы --- */
html body .top-line .row { display: flex; flex-wrap: nowrap; justify-content: center; align-items: center; margin: 0; }
html body .top-line .row:before, html body .top-line .row:after { display: none; }
html body .top-line .row > div { float: none; width: auto; max-width: none; flex: 0 0 auto; padding: 0 15px; }
html body .top-line .row > div:not(:has(li)) { display: none; }
html body .top-line .menu-h-top { text-align: center; min-height: 0; }
html body .top-line .menu-h-top > li { float: none; display: inline-block; margin: 0 14px; }
html body .top-line .menu-h-top > li > a { padding: 5px 0; line-height: 1.4; }

/* --- 2. Левые фильтры: отступы внутри подложки --- */
html body .filters-background { padding: 6px 22px 22px; }
html body .filter .panel-body { font-size: 16px; letter-spacing: .06em; padding-right: 26px; }
html body .filter .filter-name { margin-left: -22px; margin-right: -22px; padding-left: 22px; }

/* --- 3–5. Карточка: размеры, цена «от», кнопка «Выбрать размер» --- */
html body .thumbnail-catalog .sizes {
    display: flex; flex-wrap: wrap; gap: 6px; align-content: flex-start; min-height: 74px; padding: 0 0 10px;
}
html body .thumbnail-catalog .size-chip {
    font-size: 11px; line-height: 1.3; color: #4A3F44; background: #F8F2E6; border: 1px solid #D9C9A3; padding: 3px 8px;
}
html body .thumbnail-catalog .size-chip.size-more { border-style: dashed; background: transparent; }
html body .thumbnail-catalog .bottom-block,
html body .thumbnail-catalog .bottom-block.thumbs_type1,
html body .thumbnail-catalog .bottom-block.thumbs_type2 { display: block !important; height: auto !important; width: 100%; text-align: center; }
html body .thumbnail-catalog .bottom-block .price { display: block !important; text-align: center; margin-bottom: 10px; line-height: 1.1; }
html body .thumbnail-catalog .bottom-block .price s { display: inline-block; margin-right: 6px; }
html body .thumbnail-catalog .bottom-block .price span { display: inline-block; white-space: nowrap; }
html body .thumbnail-catalog .bottom-block .add-to-cart { display: block !important; width: 100%; text-align: center; }
html body .thumbnail-catalog .bottom-block .add-to-cart .text-center { display: block; }
html body .thumbnail-catalog .btn-primary,
html body .thumbnail-catalog .thumbs_type2 .btn-primary {
    display: block; width: 100%; height: auto; padding: 12px 10px; line-height: 1.2;
}
html body .thumbnail-catalog .btn-primary:after,
html body .thumbnail-catalog .btn.disabled:after, html body .thumbnail-catalog .btn:disabled:after { display: none; content: none; }

/* --- 6. Зелёные акценты из старых настроек: фиксируем палитру в CSS --- */
html body .header .cart-block .cart-box { background: #2A2229; border-color: #2A2229; color: #F3E9D2; }
html body .header .cart-block .cart-box:before, html body .header .cart-block .cart-box:after { border-right-color: #2A2229; }
html body .header .phone span.dot { background: #B08D4C; }
html body .header .cart-block .icon-red_icon_cart { color: #2A2229; }
html body .footer { background: #2A2229 !important; }
html body a, html body a:hover { color: #8A6A2F; }
html body .thumbnail-catalog .image-block .image-bar .inner .active { background: #B08D4C; }
html body .owl-theme .owl-controls .owl-page.active span,
html body .owl-theme .owl-controls.clickable .owl-page:hover span { background: #B08D4C; border-color: #B08D4C; }
html body .mailer-subscribe button[type="submit"], html body .search-blog button, html body .xs-menu { background: #2A2229; }
html body .scroll-top-wrapper { color: #8A6A2F; }

/* ==========================================================================
   Размеры в карточке: ссылки на бежевой подложке
   ========================================================================== */
html body .thumbnail-catalog .sizes {
    display: flex; flex-wrap: wrap; gap: 6px; align-content: flex-start;
    min-height: 74px; margin: -10px -10px 12px; padding: 10px; background: #EFE5D3;
}
html body .thumbnail-catalog a.size-chip {
    display: inline-block; font-size: 12px; line-height: 1.3; color: #2A2229; background: #FFFDF9;
    border: 1px solid #CDB88C; padding: 4px 9px; text-decoration: none;
}
html body .thumbnail-catalog a.size-chip:hover { background: #2A2229; border-color: #2A2229; color: #F3E9D2; }
html body .thumbnail-catalog a.size-chip.size-more { background: transparent; border-style: dashed; color: #5E4720; }

/* ==========================================================================
   Ярлыки и скидки
   СКИДКА / -15%  — бордо #7A2E3A, светлый текст
   NEW!           — графит с золотым текстом
   Цена со скидкой — бордо, старая цена — серая зачёркнутая
   ========================================================================== */
html body .badge-block .badge,
html body .badge-block .badge.discount {
    background: #7A2E3A !important; color: #FBEFE4 !important; border-radius: 0; letter-spacing: .12em;
}
html body .badge-block .badge.new { background: #2A2229 !important; color: #E3C98D !important; }
html body .thumbnail-catalog .bottom-block .price s + span,
html body .product .add2cart .price.has-compare,
html body .product .add2cart .compare-at-price + .price { color: #7A2E3A; }
html body .thumbnail-catalog .bottom-block .price s { color: #8A7F80; }

/* --- Ярлыки с собственным цветом из настроек магазина (например «СКИДКА 15%»): единый бордо --- */
html body .badge[style], html body .badge-block [style*="background"] {
    background: #7A2E3A !important; background-color: #7A2E3A !important; color: #FBEFE4 !important;
}
html body .badge[style] *, html body .badge-block [style*="background"] * { color: #FBEFE4 !important; background: transparent !important; }
html body .badge.new, html body .badge-block .badge.new { background: #2A2229 !important; color: #E3C98D !important; }

/* --- Заголовки блоков на главной («Хиты продаж», «Лучшие предложения») --- */
html body div.h3, html body .home-header {
    font-family: 'Cormorant Garamond', Georgia, serif !important; font-size: 38px; font-weight: 600; color: #2A2229; letter-spacing: .01em;
}
html body .home-header:after { content: ""; display: block; width: 64px; height: 2px; background: #B08D4C; margin: 10px auto 0; }
