/* Font Awesome: только используемые иконки (полные шрифты — 421 КБ на 21 значок) */
@font-face { font-family: 'Font Awesome 5 Pro'; font-style: normal; font-weight: 400; font-display: block; src: url('/tpl/vendors/fontawesome-pro-5/webfonts/fa-regular-400-subset.woff2?v=1788085270') format('woff2'); }
@font-face { font-family: 'Font Awesome 5 Pro'; font-style: normal; font-weight: 300; font-display: block; src: url('/tpl/vendors/fontawesome-pro-5/webfonts/fa-light-300-subset.woff2?v=1788085271') format('woff2'); }
@font-face { font-family: 'Font Awesome 5 Brands'; font-style: normal; font-weight: 400; font-display: block; src: url('/tpl/vendors/fontawesome-pro-5/webfonts/fa-brands-400-subset.woff2?v=1788085271') format('woff2'); }
@font-face { font-family: 'Font Awesome 5 Pro'; font-style: normal; font-weight: 900; font-display: block; src: url('/tpl/vendors/fontawesome-pro-5/webfonts/fa-solid-900-subset.woff2?v=1788085272') format('woff2'); }



/* Furnitor / wesen — собственные правки поверх themes.css */

/* Белый фон шапки (меню лежит поверх слайдера) */
.sticky-area {
    background-color: #fff;
}

/* --- Слайдер: читаемость текста на любых фонах --- */
.custom-slider-02 .bg-img-cover-center {
    position: relative;
}
.custom-slider-02 .bg-img-cover-center::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, rgba(17, 17, 17, .70) 0%, rgba(17, 17, 17, .45) 38%, rgba(17, 17, 17, 0) 72%);
    pointer-events: none;
    z-index: 1;
}
.custom-slider-02 .bg-img-cover-center > * {
    position: relative;
    z-index: 2;
}
.custom-slider-02 .container h1,
.custom-slider-02 .container h2 {
    color: #fff;
}
.custom-slider-02 .container p,
.custom-slider-02 .container p.text-primary {
    color: rgba(255, 255, 255, .88);
}
.custom-slider-02 .container div[data-animate] {
    color: rgba(255, 255, 255, .88);
}
/* кнопка: белая на тёмной подложке читается лучше чёрной */
.custom-slider-02 .container .btn-primary {
    background-color: #fff;
    border-color: #fff;
    color: #111;
}
.custom-slider-02 .container .btn-primary:hover,
.custom-slider-02 .container .btn-primary:focus {
    background-color: rgba(255, 255, 255, .85);
    border-color: rgba(255, 255, 255, .85);
    color: #111;
}
/* точки/номера пагинации поверх подложки */
.custom-slider-02 .slick-dots {
    z-index: 3;
}

/* --- Слайдер: подзаголовок над заголовком (перебиваем .text-primary темы) --- */
.custom-slider-02 .container p.text-primary,
.custom-slider-02 .container p.fs-11,
.custom-slider-02 .container p[data-animate],
.custom-slider-02 .box .container p {
    color: rgba(255, 255, 255, .9) !important;
}
.custom-slider-02 .container h1,
.custom-slider-02 .container h2,
.custom-slider-02 .box .container h1,
.custom-slider-02 .box .container h2 {
    color: #fff !important;
}
.custom-slider-02 .container div[data-animate],
.custom-slider-02 .box .container > div:not(:last-child) {
    color: rgba(255, 255, 255, .9);
}


/* --- Карточка каталога: вписываем фото целиком, без обрезки --- */
.product-img-contain {
    background-repeat: no-repeat;
    background-position: center;
    background-color: #fff;
}

/* --- Карточка каталога: клик по картинке ведёт на товар --- */
.product.product-03 .card-img-link {
    display: block;
}
.product.product-03 .card-img-overlay {
    pointer-events: none;
}
.product.product-03 .card-img-overlay a,
.product.product-03 .card-img-overlay button,
.product.product-03 .card-img-overlay .content-change-vertical {
    pointer-events: auto;
}

/* --- Каталог: сетка без отступов --- */
.catalog-grid {
    gap: 0;
    grid-gap: 0;
    margin: 0;
}
.catalog-grid .grid-item {
    padding: 0;
    margin: 0;
}
.catalog-grid .card,
.catalog-grid .card-img {
    margin: 0;
    border-radius: 0;
}
/* сетка во всю ширину контейнера, без боковых полей */
.catalog-grid {
    margin-left: -15px;
    margin-right: -15px;
}
/* убираем воздух над и под сеткой */
.product-details-flush,
.catalog-grid + .pagination,
.catalog-grid {
    padding-top: 0;
    padding-bottom: 0;
}



/* --- Карточка каталога: подложка под подписями --- */
.product.product-03 .card-img-overlay {
    background: linear-gradient(90deg,
        rgba(255, 255, 255, .82) 0%,
        rgba(255, 255, 255, .55) 14%,
        rgba(255, 255, 255, .20) 24%,
        rgba(255, 255, 255, 0) 34%);
}
.product.product-03 .card-img-overlay > div:first-child {
    background: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    padding: 0;
    margin: 0;
}
.product.product-03 .card-img-overlay > div:first-child a,
.product.product-03 .card-img-overlay > div:first-child p {
    color: #111;
}
.product.product-03 .card-img-overlay > div:first-child .text-muted {
    color: #6b6b6b !important;
}


/* --- Видео-блок на главной --- */
.video-showroom-frame {
    max-width: 1100px;
    overflow: hidden;
}
.video-showroom-frame video {
    background: #000;
}
.video-showroom-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 96px;
    height: 96px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .55);
    color: #111;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
    transition: background .25s ease, transform .25s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-left: 6px;
}
.video-showroom-play:hover {
    background: rgba(255, 255, 255, .85);
    transform: translate(-50%, -50%) scale(1.06);
}
.video-showroom-frame.is-playing .video-showroom-play {
    display: none;
}


/* --- Всплывающая форма консультации --- */
.consult-popup {
    max-width: 520px;
    width: 100%;
    margin: 0 auto;
    position: relative;
}
.consult-popup-inner {
    width: 100%;
}
.consult-form .form-control {
    border-radius: 0;
    border: 1px solid #d8d8d8;
    height: 54px;
    font-size: 15px;
}
.consult-form .form-control:focus {
    border-color: #111;
    box-shadow: none;
}
.consult-form .btn-primary {
    height: 54px;
    border-radius: 0;
}

/* переключатель согласия */
.consult-consent {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
    cursor: pointer;
}
.consult-consent input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}
.consult-switch {
    flex: 0 0 46px;
    width: 46px;
    height: 26px;
    border-radius: 13px;
    background: #d8d8d8;
    position: relative;
    transition: background .2s ease;
}
.consult-switch::after {
    content: "";
    position: absolute;
    top: 3px;
    left: 3px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #fff;
    transition: transform .2s ease;
}
.consult-consent input:checked + .consult-switch {
    background: #111;
}
.consult-consent input:checked + .consult-switch::after {
    transform: translateX(20px);
}
.consult-consent-text {
    font-size: 13px;
    line-height: 1.4;
    color: #6b6b6b;
}
.consult-consent-text a {
    color: #111;
    text-decoration: underline;
}

/* --- Отзывы: аватарка кругом --- */
.reviews-section .mxw-84px img {
    width: 84px;
    height: 84px;
    object-fit: cover;
}




/* --- Фильтр каталога --- */
.filter-list {
    margin: 0;
    padding: 0;
}
.filter-item {
    margin-bottom: 4px;
}
/* значения, по которым в текущей выборке ничего нет, не показываем */
.filter-item.disabled {
    display: none;
}
.filter-line {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    padding: 5px 0;
    cursor: pointer;
    font-size: 15px;
    color: #4a4a4a;
}
.filter-line:hover {
    color: #111;
}
.filter-check {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
}
.filter-box {
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
    border: 1px solid #c9c9c9;
    background: #fff;
    position: relative;
}
.filter-check:checked + .filter-box {
    background: #111;
    border-color: #111;
}
.filter-check:checked + .filter-box::after {
    content: "";
    position: absolute;
    left: 5px;
    top: 1px;
    width: 5px;
    height: 10px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}
.filter-check:focus-visible + .filter-box,
.filter-check:focus-visible + .color-dot {
    outline: 2px solid #111;
    outline-offset: 2px;
}
.filter-name {
    flex: 1 1 auto;
}
.filter-check:checked ~ .filter-name {
    font-weight: 600;
    color: #111;
}
.filter-num {
    color: #a5a5a5;
    font-size: 13px;
}

/* цвета */
.color-dot {
    flex: 0 0 22px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 1px solid #c9c9c9;
    background: #ddd;
    display: inline-block;
}
.filter-check:checked + .color-dot {
    box-shadow: 0 0 0 2px #fff inset, 0 0 0 2px #111;
}
.color-dot[data-color="белый"]        { background: #ffffff; }
.color-dot[data-color="молочный"]     { background: #f4ede0; }
.color-dot[data-color="кремовый"]     { background: #ead9bd; }
.color-dot[data-color="бежевый"]      { background: #ddc8a8; }
.color-dot[data-color="серо-бежевый"] { background: #c3b8a6; }
.color-dot[data-color="светло-серый"] { background: #d2d2d2; }
.color-dot[data-color="серый"]        { background: #949494; }
.color-dot[data-color="графитовый"]   { background: #4a4a4a; }
.color-dot[data-color="чёрный"]       { background: #1a1a1a; }
.color-dot[data-color="зелёный"]      { background: #6b7c5e; }
.color-dot[data-color="синий"]        { background: #4a5a76; }
.color-dot[data-color="коричневый"]   { background: #7a5c46; }

/* цена */
.price-range {
    display: flex;
    align-items: center;
    gap: 10px;
}
.price-range label {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    font-size: 14px;
    color: #8a8a8a;
    flex: 1 1 50%;
}
.price-range input {
    width: 100%;
    min-width: 0;
    height: 42px;
    padding: 0 10px;
    border: 1px solid #d2d2d2;
    background: #fff;
    border-radius: 0;
    font-size: 15px;
    color: #111;
}
.price-range input:focus {
    outline: none;
    border-color: #111;
}
.mse2_results {
    min-height: 200px;
}

/* --- Ползунок цены --- */
.price-slider {
    margin: 6px 4px 22px;
    height: 3px;
    background: #e3e3e3;
    border: 0;
    border-radius: 0;
}
.price-slider .ui-slider-range {
    background: #111;
    height: 3px;
}
.price-slider .ui-slider-handle {
    width: 16px;
    height: 16px;
    top: -7px;
    margin-left: -8px;
    background: #fff;
    border: 2px solid #111;
    border-radius: 50%;
    cursor: pointer;
    outline: none;
}

/* --- Поля диапазона цены --- */
.price-range {
    display: flex;
    align-items: flex-end;
    gap: 12px;
}
.price-field {
    flex: 1 1 50%;
    margin: 0;
    display: block;
}
.price-label {
    display: block;
    font-size: 13px;
    color: #8a8a8a;
    margin-bottom: 4px;
}
.price-field input {
    width: 100%;
    height: 42px;
    padding: 0 10px;
    border: 1px solid #d2d2d2;
    background: #fff;
    border-radius: 0;
    font-size: 15px;
    color: #111;
}
.price-field input:focus {
    outline: none;
    border-color: #111;
}

/* ---------- Размеры: чертежи модели ---------- */
.wesen-scheme-section .wesen-schemes{display:flex;flex-wrap:wrap;gap:2.5rem;justify-content:center;align-items:flex-end}
.wesen-scheme-item{flex:1 1 320px;max-width:540px;margin:0}
.wesen-scheme-item img{width:100%;height:auto;display:block}
.wesen-dims{margin-top:2.5rem;text-align:center}
.wesen-dims-title{font-size:14px;letter-spacing:.05em;text-transform:uppercase;color:#8a8a8a;margin-bottom:.75rem}
.wesen-dims-list{list-style:none;padding:0;margin:0;display:flex;flex-wrap:wrap;gap:.5rem 1.5rem;justify-content:center}
.wesen-dims-list li{font-size:15px;color:#111}
@media (max-width:575px){.wesen-scheme-section .wesen-schemes{gap:1.5rem}}

/* ---------- выбор размера (msOptionsPrice2) ---------- */
.msop-option-title{font-size:14px;letter-spacing:.05em;text-transform:uppercase;color:#8a8a8a;margin-bottom:.75rem}
.msop-values{display:flex;flex-wrap:wrap;gap:.5rem}
.msop-value{margin:0;cursor:pointer}
.msop-value input{position:absolute;opacity:0;width:0;height:0}
.msop-value span{display:inline-block;padding:.55rem 1.1rem;border:1px solid #e0e0e0;font-size:14px;color:#111;transition:all .15s ease;line-height:1.2}
.msop-value:hover span{border-color:#111}
.msop-value input:checked + span{background:#111;border-color:#111;color:#fff}
.msoptionsprice-spinner{position:fixed;top:0;left:0;right:0;bottom:0;background:rgba(255,255,255,.4);z-index:9999}

/* ---------- цвета в фильтре: компактная сетка ---------- */
.filter-swatches{display:flex;flex-wrap:wrap;gap:.65rem;padding:0;margin:0;list-style:none}
.filter-swatches .filter-item{margin:0}
.filter-swatch{margin:0;display:block;line-height:0;cursor:pointer}
.filter-swatch input{position:absolute;opacity:0;width:0;height:0}
.filter-swatch .color-dot{width:34px;height:34px;border-radius:50%;display:block;border:1px solid #ddd;transition:transform .15s ease,box-shadow .15s ease}
.filter-swatch:hover .color-dot{transform:scale(1.08)}
.filter-swatch input:checked + .color-dot{box-shadow:0 0 0 2px #fff inset,0 0 0 2px #111}
.filter-swatches .filter-item.disabled{opacity:.3;pointer-events:none}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

/* ================= Шрифты: заголовки Gardens CM, текст Lato ================= */
@font-face {
  font-family: 'Esqadero FF CY 4F';
  src: url('../fonts/esqadero-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Lato';
  src: url('../fonts/lato-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Lato';
  src: url('../fonts/lato-700.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

body,
.btn, .form-control, input, select, textarea, button,
.navbar, .nav-link, .dropdown-item, table, label, p, li, span, a {
  font-family: 'Lato', -apple-system, 'Segoe UI', Arial, sans-serif !important;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6,
.card-title, .page-title h1, .navbar-brand,
.msop-option-title, .wesen-dims-title {
  font-family: 'Esqadero FF CY 4F', 'Lato', Georgia, serif !important;
}

/* акцидентный шрифт крупный по рисунку — чуть уменьшаем межбуквенное расстояние */
h1, h2, .h1, .h2 { letter-spacing: -0.01em; }
/* ================= Верхняя панель ================= */
.wesen-topbar {
  background: #dedbd2;
  color: #111;
  font-size: 13px;
  line-height: 1.2;
}
.wesen-topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 40px;
  padding: .4rem 0;
}
.wesen-topbar-contacts {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .35rem 1.75rem;
}
.wesen-topbar-item {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  color: #111 !important;
  text-decoration: none;
  transition: color .15s ease;
}
a.wesen-topbar-item:hover { color: #000 !important; }
.wesen-topbar-item i { font-size: 14px; opacity: .6; }
.wesen-topbar-social {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  flex: 0 0 auto;
}
.wesen-topbar-social a {
  color: #111 !important;
  font-size: 16px;
  line-height: 1;
  transition: color .15s ease, transform .15s ease;
}
.wesen-topbar-social a:hover { color: #000 !important; transform: translateY(-1px); }



/* ссылка «Где купить» в верхней панели */
.wesen-topbar-link{margin-left:auto;margin-right:1.5rem;font-weight:600}
.wesen-topbar-link:hover{text-decoration:underline}
@media (max-width:767px){.wesen-topbar-link{margin-left:0;margin-right:0}}

/* «Главная» в меню — иконкой */
.wesen-home-icon{font-size:17px;line-height:1;vertical-align:-1px}

/* оговорка о цене под ценой товара */
.wesen-price-note{font-size:13px;line-height:1.5;color:#8a8a8a;margin:-1rem 0 1.75rem;max-width:34rem}

/* переход между товарами в карточке */
.product-dropdown .dropdown-toggle{color:#111}
.product-dropdown .dropdown-toggle:hover{color:#8a8a8a}
.product-dropdown .dropdown-menu{box-shadow:0 6px 24px rgba(0,0,0,.12);min-width:215px}
.product-dropdown .dropdown-menu img{width:60px;height:45px;object-fit:cover}
.product-dropdown .media-body p{font-size:14px}
.w-60px{width:60px}
.w-215px{width:215px}

/* карточка соседа не должна вылезать за край страницы */
nav[aria-label="breadcrumb"] { position: relative; }
.product-dropdown { position: static; }
.product-dropdown .dropdown-menu {
  left: auto !important;
  right: 0 !important;
  transform: none !important;
  max-width: calc(100vw - 2rem);
}
/* оттенок обивки: терракотовый */
.color-dot[data-color="терракотовый"]{background:#b25b3a}

/* новые оттенки обивки */
.color-dot[data-color="пудровый"]{background:#c9a3a0}
.color-dot[data-color="бордовый"]{background:#6e2733}

/* кнопки под описанием товара */
.wesen-product-actions{display:flex;flex-wrap:wrap;gap:.75rem;margin:2rem 0 1rem}
.wesen-product-actions .btn{flex:0 0 auto}
@media (max-width:575px){.wesen-product-actions .btn{flex:1 1 100%}}

/* верхняя панель на планшетах и телефонах */
@media (max-width: 1199px) {
  .wesen-topbar { font-size: 12px; }
  .wesen-topbar-inner { flex-wrap: nowrap; gap: .5rem; }
  .wesen-topbar-contacts { gap: .25rem 1rem; flex-wrap: nowrap; }
  .wesen-topbar-item span { white-space: nowrap; }
  /* адрес прячем целиком, вместе со значком — иначе висит одинокая метка */
  .wesen-topbar-contacts .wesen-topbar-item:first-child { display: none; }
  .wesen-topbar-link { margin-right: .75rem; }
}
@media (max-width: 767px) {
  .wesen-topbar-item.wesen-topbar-mail { display: none; }
  .wesen-topbar-social { gap: .85rem; }
  .wesen-topbar-link span { display: none; }
}

/* ---------- корзина в выезжающей панели ---------- */
.cart-canvas .card-body { overflow-y: auto; }
.cart-item { padding-bottom: 1.25rem; margin-bottom: 1.25rem; border-bottom: 1px solid #eee; }
.cart-item:last-child { border-bottom: 0; }
.cart-item img { width: 70px; height: 70px; object-fit: cover; }
.cart-item .min-w-0 { min-width: 0; }
.cart-title { color: #111; }
.cart-title:hover { color: #8a8a8a; }
.cart-remove {
  background: none; border: 0; padding: 0; margin-top: .25rem;
  font-size: 15px; line-height: 1; color: #b0b0b0; cursor: pointer;
  transition: color .15s ease;
}
.cart-remove:hover { color: #111; }
.cart-canvas .input-group .down,
.cart-canvas .input-group .up { color: #8a8a8a; }
.cart-canvas .input-group .down:hover,
.cart-canvas .input-group .up:hover { color: #111; }
.cart-canvas .input-quality { border: 1px solid #e6e6e6; }
.cart-canvas .input-quality::-webkit-outer-spin-button,
.cart-canvas .input-quality::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.cart-canvas .input-quality { -moz-appearance: textfield; }

.cart-apply { position: absolute; width: 1px; height: 1px; padding: 0; border: 0; opacity: 0; pointer-events: none; }
.cart-col { min-width: 0; }
.cart-opts { word-break: break-word; }

/* на узких экранах панель во всю ширину — в теме жёстко задано 450px */
@media (max-width: 480px) {
  .cart-canvas,
  .cart-canvas > .card { width: 100%; max-width: 100%; }
  .cart-canvas .card-header,
  .cart-canvas .card-body,
  .cart-canvas .card-footer,
  .cart-canvas .px-6 { padding-left: 1.25rem !important; padding-right: 1.25rem !important; }
  .cart-item img { width: 60px; height: 60px; }
  .cart-canvas .w-70px { width: 60px !important; }
}

/* ---------- избранное ---------- */
.fav-toggle { transition: background-color .15s ease, color .15s ease, border-color .15s ease; }
.fav-toggle.active { background-color: #111 !important; border-color: #111 !important; }
.fav-toggle.active i { color: #fff !important; }
.fav-remove { color: #b0b0b0; }
.fav-remove:hover { color: #111; }
.fav-item .card-img { background-color: #f7f7f7; }
#wesen-fav .btn-outline-primary { border-color: #d8d8d8; }

.ratio-fav::before { padding-top: 62%; }
.fav-item .fav-remove { background: rgba(255,255,255,.9); border-radius: 50%; width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center; font-size: 16px; }
#search-popup .form-control::placeholder { color: rgba(255,255,255,.55); }



/* ---------- кнопки на карточке каталога ---------- */
/* тема прячет до наведения только прямые ссылки; наша форма должна вести себя так же */
.product .content-change-vertical form {
  margin: 0;
  transform: translateX(100%);
  opacity: 0;
  transition: transform .3s ease, opacity .3s ease;
}
.product:hover .content-change-vertical form { transform: translateX(0); opacity: 1; }
/* внутри формы значки не анимируем отдельно, иначе наезжают друг на друга:
   у ссылки тема двигает по X, у кнопки — по Y на 27px вверх */
.product .content-change-vertical form a,
.product:hover .content-change-vertical form a,
.product .content-change-vertical form button,
.product:hover .content-change-vertical form button { transform: none !important; opacity: 1 !important; }
.product .add-to-cart { padding: 0; cursor: pointer; }
/* на сенсорных экранах наведения нет — показываем сразу */
@media (hover: none) {
  .product .content-change-vertical form { transform: none; opacity: 1; }
}

/* выезжающее меню */
.sidenav-logo img { max-width: 150px; height: auto; }
.sidenav .main-menu .nav-link { font-size: 17px; }

/* значки в шапке на планшетах и телефонах */
.wesen-mob-actions .nav-link { color: #111; }
.wesen-mob-actions .number { font-size: 11px; }
@media (max-width: 400px) { .wesen-mob-actions .nav-link { padding-left: .35rem !important; padding-right: .35rem !important; } }

/* карта на странице «Где купить» */
.wesen-map { position: relative; overflow: hidden; }
.wesen-map iframe { display: block; border: 0; }
@media (max-width: 575px) { .wesen-map iframe { height: 320px; } }

/* часы работы в верхней панели: на телефоне не помещаются, там они есть в меню */
@media (max-width: 767px) { .wesen-topbar-hours { display: none; } }

/* журнал */
.wesen-journal-lead { max-width: 620px; }
.card-img-top img { width: 100%; height: auto; }
.wesen-article p { margin-bottom: 1.4rem; }
.wesen-article h2 { font-size: 28px; margin: 2.2rem 0 1rem; }
.wesen-article h3 { font-size: 22px; margin: 2rem 0 .9rem; }
.wesen-article ul, .wesen-article ol { margin: 0 0 1.4rem 1.2rem; }
.wesen-article li { margin-bottom: .5rem; }
.wesen-article img { max-width: 100%; height: auto; margin: 1.5rem 0; }
.wesen-article blockquote {
  margin: 2rem 0; padding-left: 1.25rem; border-left: 3px solid #111;
  font-size: 20px; font-weight: 500; color: #111;
}
/* фотографии внутри статьи */
.wesen-journal-gallery { margin-top: 2rem; }
.wesen-journal-gallery img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; margin: 0; }

.wesen-lightbox { display: block; cursor: zoom-in; overflow: hidden; }
.wesen-lightbox img { transition: transform .35s ease; }
.wesen-lightbox:hover img { transform: scale(1.04); }

/* ролик о модели */
.wesen-video-poster { max-width: 1100px; overflow: hidden; }
.wesen-video-poster img { display: block; transition: transform .5s ease; }
.wesen-video-poster:hover img { transform: scale(1.03); }
.wesen-video-play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 82px; height: 82px; border-radius: 50%; background: rgba(255,255,255,.92);
  display: flex; align-items: center; justify-content: center;
  transition: background-color .2s ease, transform .2s ease;
}
.wesen-video-poster:hover .wesen-video-play { background: #fff; transform: translate(-50%, -50%) scale(1.06); }
/* треугольник рисуем сами — не зависим от того, есть ли нужный значок в наборе */
.wesen-video-play::after {
  content: ''; margin-left: 6px;
  border-left: 22px solid #111;
  border-top: 13px solid transparent;
  border-bottom: 13px solid transparent;
}
.wesen-video-popup { width: 1100px; max-width: 92vw; margin: 0 auto; }
.wesen-video-popup video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; background: #000; }
.mfp-fade .mfp-content { width: auto; }
@media (max-width: 575px) { .wesen-video-play { width: 62px; height: 62px; } }
/* постраничная навигация */
/* .pagination — это flex, поэтому text-center на родителе её не двигает */
.pagination { display: flex; justify-content: center; flex-wrap: wrap; }

/* подборки */
.wesen-selection-lead { max-width: 680px; }
.wesen-selection-tile { color: #111; transition: border-color .2s ease, transform .2s ease; }
.wesen-selection-tile:hover { border-color: #111 !important; transform: translateY(-2px); }

/* карточка салона поверх карты */
.wesen-map { position: relative; }
.wesen-map-card {
  position: absolute; top: 24px; left: 24px; z-index: 2;
  width: 290px; max-width: calc(100% - 48px);
  background: #fff; padding: 20px 22px;
  box-shadow: 0 8px 30px rgba(0,0,0,.14);
}
@media (max-width: 767px) {
  .wesen-map-card { position: static; width: 100%; max-width: 100%; box-shadow: none; padding: 20px 0 0; }
}
.wesen-map-logo { display: block; width: 150px; height: auto; }

#salonMap { width: 100%; height: 480px; }
@media (max-width: 575px) { #salonMap { height: 340px; } }

/* ---------- значки в шапке и баннеры ---------- */
/* нули у корзины и избранного не показываем — цифра появляется, когда есть что показать */
.menu-cart .number.is-empty,
.menu-fav .number.is-empty { display: none; }

/* баннеры салона и ВК: на телефоне текст ложился поверх фотографии,
   поэтому раскладываем в столбик — сверху снимок, снизу текст на беже */
@media (max-width: 767px) {
  .banner-04 { background: #dedbd2; }
  /* снимки сняты под десктоп: слева пустое поле под текст, сюжет справа.
     на телефоне показываем правую часть кадра, иначе половина блока пустая */
  /* в десктопном баннере бежевое поле под текст вшито в саму картинку,
     поэтому на телефоне подставляем чистые фотографии */
  .banner-04 .card-img {
    position: relative !important;
    width: 100% !important;
    height: 260px !important;
    background-size: cover !important;
    background-position: center !important;
  }
  .banner-salon .card-img { background-image: url('/tpl/img/salons_banner_mob.webp') !important; }
  .banner-vk .card-img { background-image: url('/tpl/img/vk_banner_mob.webp') !important; }
  .banner-04 .card-img-overlay {
    position: static !important;
    display: block !important;
    width: 100%;
    padding: 24px 22px 28px !important;
  }
  .banner-04 .card-title { font-size: 22px !important; line-height: 1.25; margin-bottom: 14px !important; }
  .banner-04 .card-title br { display: none; }
  .banner-04 address,
  .banner-04 .card-text { margin-bottom: 18px !important; }
  .banner-04 .mt-auto { margin-top: 0 !important; }
}

/* --- страница «Ткани» --- */
.wesen-fab-scale {
  display: grid;
  grid-template-columns: repeat(9, 1fr);
  gap: 6px;
  margin: 28px 0 8px;
}
.wesen-fab-scale-item {
  border: 1px solid #e6e3dc;
  border-radius: 4px;
  padding: 14px 6px 12px;
  text-align: center;
  background: #fff;
}
.wesen-fab-scale-item:nth-child(n+7) { background: #f6f4ef; }
.wesen-fab-scale-cat {
  font-size: 22px;
  font-weight: 600;
  line-height: 1.1;
  color: #1c1c1c;
}
.wesen-fab-scale-pct {
  font-size: 12px;
  color: #8a8a8a;
  margin-top: 4px;
  white-space: nowrap;
}
.wesen-fab-scale-n {
  font-size: 11px;
  color: #b3b3b3;
  margin-top: 2px;
  white-space: nowrap;
}

.wesen-fab-types { margin-top: 26px; }
.wesen-fab-type {
  border: 1px solid #e6e3dc;
  border-radius: 4px;
  padding: 22px 22px 18px;
  background: #fff;
}
.wesen-fab-type-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 10px;
}
.wesen-fab-type-name {
  font-size: 18px;
  font-weight: 600;
  color: #1c1c1c;
}
.wesen-fab-type-count {
  font-size: 12px;
  color: #8a8a8a;
  background: #f1efe9;
  border-radius: 20px;
  padding: 2px 10px;
  margin-left: 10px;
}
.wesen-fab-type-descr {
  font-size: 14px;
  line-height: 1.6;
  color: #6b6b6b;
  margin: 0;
}

.wesen-fab-list { margin-top: 26px; }
.wesen-fab-cat { border-bottom: 1px solid #e6e3dc; }
.wesen-fab-cat:first-child { border-top: 1px solid #e6e3dc; }
.wesen-fab-cat-head {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 18px 4px;
  background: none;
  border: 0;
  text-align: left;
  cursor: pointer;
}
.wesen-fab-cat-head:focus { outline: none; }
.wesen-fab-cat-title {
  font-size: 17px;
  font-weight: 600;
  color: #1c1c1c;
}
.wesen-fab-cat-meta {
  font-size: 13px;
  color: #8a8a8a;
  margin-left: auto;
  padding-right: 14px;
}
.wesen-fab-cat-arrow {
  color: #8a8a8a;
  transition: transform .2s ease;
  flex: 0 0 auto;
}
.wesen-fab-cat-head[aria-expanded="true"] .wesen-fab-cat-arrow { transform: rotate(180deg); }

.wesen-fab-cat-body {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 2px 24px;
  padding: 4px 4px 22px;
}
.wesen-fab-item {
  display: flex;
  align-items: baseline;
  padding: 7px 0;
  border-bottom: 1px dotted #eeebe4;
}
.wesen-fab-name {
  font-size: 15px;
  color: #1c1c1c;
}
.wesen-fab-item-type {
  font-size: 12px;
  color: #9a9a9a;
  margin-left: auto;
  padding-left: 10px;
  text-align: right;
}
.wesen-fab-mark {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: #8a7f68;
  background: #f1efe9;
  border-radius: 3px;
  padding: 2px 6px;
  margin-left: 8px;
  white-space: nowrap;
}

.wesen-fab-cta {
  background: #dedbd2;
  border-radius: 4px;
  padding: 34px 32px;
}
.wesen-fab-cta p { color: #4a4a4a; }

@media (max-width: 767.98px) {
  .wesen-fab-scale {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }
  .wesen-fab-scale-item { padding: 12px 4px 10px; }
  .wesen-fab-cat-meta { font-size: 12px; }
  .wesen-fab-cat-body { grid-template-columns: 1fr; }
  .wesen-fab-cta { padding: 26px 20px; }
}

/* тема выравнивает текст в карточках по правому краю — возвращаем нормальный */
.wesen-fab-types,
.wesen-fab-list,
.wesen-fab-cat-head,
.wesen-fab-item,
.wesen-fab-cta,
.wesen-fab-cta p { text-align: left; }
.wesen-fab-type,
.wesen-fab-type-descr,
.wesen-fab-type-head { text-align: left !important; }
.wesen-fab-scale-item,
.wesen-fab-scale-cat,
.wesen-fab-scale-pct,
.wesen-fab-scale-n { text-align: center !important; }
.wesen-fab-type { padding: 0 0 18px; overflow: hidden; }
.wesen-fab-type-pic {
  height: 150px;
  background-size: cover;
  background-position: center;
  border-bottom: 1px solid #e6e3dc;
  margin-bottom: 18px;
}
.wesen-fab-type-head { padding: 0 22px; }
.wesen-fab-type-descr { padding: 0 22px; }
.wesen-fab-type-pic.is-empty {
  background: repeating-linear-gradient(45deg, #f3f1ec, #f3f1ec 10px, #eeebe4 10px, #eeebe4 20px);
}
.wesen-fab-sw {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border-radius: 3px;
  margin-right: 12px;
  background-size: cover;
  background-position: center;
  border: 1px solid #e6e3dc;
}
.wesen-fab-sw.is-empty {
  background: repeating-linear-gradient(45deg, #f5f3ee, #f5f3ee 5px, #efece5 5px, #efece5 10px);
}
.wesen-fab-item { align-items: center; padding: 9px 0; }
/* --- страница ткани и расцветки --- */
.wesen-fab-meta { color: #8a8a8a; font-size: 15px; }
.wesen-fab-meta a { color: #1c1c1c; border-bottom: 1px solid #d8d4ca; }
.wesen-fab-hero {
  width: 100%;
  padding-top: 42%;
  background-size: cover;
  background-position: center;
  border-radius: 4px;
  border: 1px solid #e6e3dc;
}
.wesen-fab-note {
  background: #f6f4ef;
  border-left: 3px solid #dedbd2;
  padding: 12px 16px;
  color: #6b6b6b;
  font-size: 15px;
}
.wesen-fab-palette {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(118px, 1fr));
  gap: 18px 16px;
}
.wesen-fab-color { display: block; text-decoration: none; }
.wesen-fab-color-pic {
  display: block;
  aspect-ratio: 1 / 1;
  background-size: cover;
  background-position: center;
  border: 1px solid #e6e3dc;
  border-radius: 3px;
  transition: transform .18s ease;
}
.wesen-fab-color:hover .wesen-fab-color-pic { transform: scale(1.04); }
.wesen-fab-color-name {
  display: block;
  font-size: 13px;
  color: #6b6b6b;
  padding-top: 7px;
  text-align: center;
}
a.wesen-fab-name { color: #1c1c1c; }
a.wesen-fab-name:hover { color: #8a7f68; }

@media (max-width: 767.98px) {
  .wesen-fab-palette { grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 14px 12px; }
}

/* выкраска — квадрат в узкой колонке, палитра занимает широкую */
.wesen-fab-top { align-items: flex-start; }
.wesen-fab-top .wesen-fab-hero { padding-top: 100%; }
.wesen-fab-top .wesen-fab-palette {
  grid-template-columns: repeat(auto-fill, minmax(104px, 1fr));
  gap: 16px 14px;
}
/* --- карточки разделов на /katalog/ --- */
.wesen-cat-card {
  display: block;
  text-decoration: none;
  border: 1px solid #e6e3dc;
  border-radius: 4px;
  overflow: hidden;
  background: #fff;
  height: 100%;
  transition: box-shadow .2s ease, transform .2s ease;
}
.wesen-cat-card:hover {
  box-shadow: 0 10px 28px rgba(0, 0, 0, .08);
  transform: translateY(-3px);
}
.wesen-cat-pic {
  display: block;
  width: 100%;
  padding-top: 70%;
  background-size: cover;
  background-position: center;
  background-color: #f3f1ec;
}
.wesen-cat-body {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 18px 20px 20px;
}
.wesen-cat-name {
  font-size: 19px;
  font-weight: 600;
  color: #1c1c1c;
  line-height: 1.25;
}
.wesen-cat-count {
  font-size: 13px;
  color: #9a9a9a;
  white-space: nowrap;
  padding-left: 12px;
}
/* число расцветок в списке тканей */
.wesen-fab-item-colors {
  font-size: 12px;
  color: #b0aa9c;
  margin-left: auto;
  padding-left: 10px;
  white-space: nowrap;
}
.wesen-fab-item-colors + .wesen-fab-item-type { margin-left: 10px; }
/* «Ткани» и «Где купить» стоят рядом */
.wesen-topbar-links {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-left: auto;
}
/* --- страница «Механизмы» --- */
.wesen-mech {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 28px;
  align-items: start;
  padding: 28px 0;
  border-top: 1px solid #e6e3dc;
}
.wesen-mech:last-of-type { border-bottom: 1px solid #e6e3dc; }
.wesen-mech-pic {
  background: #f6f4ef;
  border-radius: 4px;
  padding: 16px;
}
.wesen-mech-pic svg { display: block; width: 100%; height: auto; }
.wesen-mech-pic rect,
.wesen-mech-pic path,
.wesen-mech-pic circle {
  fill: none;
  stroke: #1c1c1c;
  stroke-width: 2;
  stroke-linecap: round;
}
.wesen-mech-pic .soft { fill: #dedbd2; stroke: #1c1c1c; }
.wesen-mech-pic .leg { stroke-width: 2; }
.wesen-mech-pic .wheel { fill: #fff; }
.wesen-mech-pic .arrow { stroke: #8a7f68; fill: none; }
.wesen-mech-pic .dash { stroke: #8a7f68; stroke-dasharray: 4 4; fill: none; }
.wesen-mech-text p { margin-bottom: 12px; }
.wesen-mech-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.wesen-mech-list li {
  position: relative;
  padding-left: 18px;
  font-size: 15px;
  color: #6b6b6b;
  margin-bottom: 6px;
}
.wesen-mech-list li:before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #dedbd2;
}
@media (max-width: 767.98px) {
  .wesen-mech { grid-template-columns: 1fr; gap: 16px; }
}
/* значение механизма в блоке опций товара */
.wesen-mech-value { font-size: 15px; line-height: 1.4; }
.wesen-mech-value a { color: #000; border-bottom: 1px solid rgba(0,0,0,.25); }
.wesen-mech-value a:hover { border-bottom-color: #000; }
