@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@300;400;500;600;700&display=swap');

/* ========================================
   ОСНОВНОЙ ШРИФТ ВСЕГО САЙТА
======================================== */

html,
body,
button,
input,
textarea,
select,
option {
    font-family: 'Manrope', Arial, sans-serif !important;
}

/* MSK FIX 2026-10-01: category SEO tables, duplicate top description, homepage SEO buttons */

/* Keep the full category SEO description only in the custom block below products */
body.tax-product_cat .woocommerce-products-header .term-description,
body.tax-product_cat .woocommerce-products-header__description {
    display: none !important;
}

/* Readable tables inside product-category SEO text */
body.tax-product_cat main .term-description table,
body.tax-product_cat main .woocommerce-products-header__description table,
body.tax-product_cat main .category-description table,
body.tax-product_cat main table.msk-seo-table {
    width: 100% !important;
    margin: 22px 0 30px !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    border: 1px solid #e2ddd4 !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    background: #fff !important;
    font-size: 15px !important;
    line-height: 1.5 !important;
}

body.tax-product_cat main .term-description table th,
body.tax-product_cat main .term-description table td,
body.tax-product_cat main .woocommerce-products-header__description table th,
body.tax-product_cat main .woocommerce-products-header__description table td,
body.tax-product_cat main .category-description table th,
body.tax-product_cat main .category-description table td,
body.tax-product_cat main table.msk-seo-table th,
body.tax-product_cat main table.msk-seo-table td {
    padding: 13px 15px !important;
    text-align: left !important;
    vertical-align: top !important;
    border-right: 1px solid #e7e2da !important;
    border-bottom: 1px solid #e7e2da !important;
}

body.tax-product_cat main .term-description table th:last-child,
body.tax-product_cat main .term-description table td:last-child,
body.tax-product_cat main .woocommerce-products-header__description table th:last-child,
body.tax-product_cat main .woocommerce-products-header__description table td:last-child,
body.tax-product_cat main .category-description table th:last-child,
body.tax-product_cat main .category-description table td:last-child,
body.tax-product_cat main table.msk-seo-table th:last-child,
body.tax-product_cat main table.msk-seo-table td:last-child {
    border-right: 0 !important;
}

body.tax-product_cat main .term-description table tbody tr:last-child td,
body.tax-product_cat main .woocommerce-products-header__description table tbody tr:last-child td,
body.tax-product_cat main .category-description table tbody tr:last-child td,
body.tax-product_cat main table.msk-seo-table tbody tr:last-child td {
    border-bottom: 0 !important;
}

body.tax-product_cat main .term-description table thead th,
body.tax-product_cat main .woocommerce-products-header__description table thead th,
body.tax-product_cat main .category-description table thead th,
body.tax-product_cat main table.msk-seo-table thead th {
    background: #f1eee9 !important;
    color: #1f1f1f !important;
    font-weight: 700 !important;
}

body.tax-product_cat main .term-description table tbody tr:nth-child(even) td,
body.tax-product_cat main .woocommerce-products-header__description table tbody tr:nth-child(even) td,
body.tax-product_cat main .category-description table tbody tr:nth-child(even) td,
body.tax-product_cat main table.msk-seo-table tbody tr:nth-child(even) td {
    background: #fcfaf7 !important;
}

/* Links inside SEO tables use the site palette, not browser blue */
body.home main table a,
body.tax-product_cat main table a {
    color: #76562b !important;
    text-decoration: none !important;
    font-weight: 500 !important;
}

body.home main table a:hover,
body.tax-product_cat main table a:hover {
    color: #b88948 !important;
    text-decoration: underline !important;
}

/* Restore the six homepage SEO links as compact branded buttons */

/* The six links are already wrapped in .msk-buyer-links.
   Style the wrapper instead of relying on individual URL slugs. */
body.home main .msk-buyer-links a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 40px !important;
    padding: 9px 15px !important;
    margin: 4px 8px 8px 0 !important;
    border: 1px solid #c7a46b !important;
    border-radius: 10px !important;
    background: #fbf7f0 !important;
    color: #76562b !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;
    text-decoration: none !important;
    box-shadow: none !important;
    transition: background-color .18s ease, color .18s ease, border-color .18s ease !important;
}

body.home main .msk-buyer-links a:hover {
    background: #b88948 !important;
    border-color: #b88948 !important;
    color: #fff !important;
}
body.home main a[href$="/catalog/"],
body.home main a[href$="/dostavka/"],
body.home main a[href$="/oplata/"],
body.home main a[href$="/garantiya/"],
body.home main a[href*="/vozvrat"],
body.home main a[href$="/kontakty/"] {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 40px !important;
    padding: 9px 15px !important;
    margin: 4px 8px 8px 0 !important;
    border: 1px solid #c7a46b !important;
    border-radius: 10px !important;
    background: #fbf7f0 !important;
    color: #76562b !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;
    text-decoration: none !important;
    box-shadow: none !important;
    transition: background-color .18s ease, color .18s ease, border-color .18s ease !important;
}

body.home main a[href$="/catalog/"]:hover,
body.home main a[href$="/dostavka/"]:hover,
body.home main a[href$="/oplata/"]:hover,
body.home main a[href$="/garantiya/"]:hover,
body.home main a[href*="/vozvrat"]:hover,
body.home main a[href$="/kontakty/"]:hover {
    background: #b88948 !important;
    border-color: #b88948 !important;
    color: #fff !important;
}

@media (max-width: 767px) {
    body.tax-product_cat main .term-description table,
    body.tax-product_cat main .woocommerce-products-header__description table,
    body.tax-product_cat main .category-description table,
    body.tax-product_cat main table.msk-seo-table {
        display: block !important;
        max-width: 100% !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
    }

    body.tax-product_cat main .term-description table th,
    body.tax-product_cat main .term-description table td,
    body.tax-product_cat main .woocommerce-products-header__description table th,
    body.tax-product_cat main .woocommerce-products-header__description table td,
    body.tax-product_cat main .category-description table th,
    body.tax-product_cat main .category-description table td,
    body.tax-product_cat main table.msk-seo-table th,
    body.tax-product_cat main table.msk-seo-table td {
        min-width: 155px !important;
        padding: 11px 12px !important;
        font-size: 14px !important;
    }

    body.home main a[href$="/catalog/"],
    body.home main a[href$="/dostavka/"],
    body.home main a[href$="/oplata/"],
    body.home main a[href$="/garantiya/"],
    body.home main a[href*="/vozvrat"],
    body.home main a[href$="/kontakty/"] {
        margin-bottom: 9px !important;
    }
}

/* Шапка сайта */
body .site-title,
body .site-title a,
body .site-description,
body .header-phone,
body .header-phone a,
body .header-html-1,
body .header-html-2 {
    font-family: 'Manrope', Arial, sans-serif !important;
}

/* Главное, верхнее, выпадающее и нижнее меню */
body .main-navigation ul li a,
body .main-navigation ul li span,
body .main-navigation .removed-link,
body .main-navigation .sub-menu a,
body .main-navigation .sub-menu span,
body .footer-navigation ul li a,
body .footer-navigation ul li span,
body .top-menu ul li a,
body .top-menu ul li span {
    font-family: 'Manrope', Arial, sans-serif !important;
    font-weight: 500 !important;
}

/* Все заголовки страниц и статей */
body .site-content h1,
body .site-content h2,
body .site-content h3,
body .site-content h4,
body .site-content h5,
body .site-content h6,
body .h1,
body .h2,
body .h3,
body .h4,
body .h5,
body .h6,
body .page-title,
body .entry-title,
body .comments-title,
body .comment-reply-title,
body .related-posts__header,
body .related-products__header {
    font-family: 'Manrope', Arial, sans-serif !important;
    font-weight: 600 !important;
}

/* Заголовки блоков главной:
   Статьи, Бренды, Новинки, ТОП продаж и другие */
body .section-block__title,
body .section-block__title a,
body .section-block__header,
body .section-block__header a {
    font-family: 'Manrope', Arial, sans-serif !important;
    font-weight: 600 !important;
}

/* Карточки товаров */
body .shop-item,
body .shop-item__title,
body .shop-item__title a,
body .shop-item__price,
body .shop-item .price,
body .shop-item .amount,
body .woocommerce,
body .woocommerce-page,
body .product_title,
body .price,
body .amount {
    font-family: 'Manrope', Arial, sans-serif !important;
}

body .shop-item__title,
body .shop-item__title a {
    font-weight: 500 !important;
}

body .shop-item .price,
body .shop-item .amount,
body .product_title {
    font-weight: 600 !important;
}

/* Карточки статей на главной */
body .post-card,
body .post-card__title,
body .post-card__title a,
body .post-card__description {
    font-family: 'Manrope', Arial, sans-serif !important;
}

body .post-card__title,
body .post-card__title a {
    font-weight: 600 !important;
}

/* Обычный текст страниц и статей */
body .entry-content,
body .entry-content p,
body .entry-content li,
body .entry-content a,
body .taxonomy-description,
body .term-description {
    font-family: 'Manrope', Arial, sans-serif !important;
}

/* Подвал и виджеты */
body .site-footer,
body .site-footer a,
body .widget,
body .widget a,
body .widget-title,
body .widget-header {
    font-family: 'Manrope', Arial, sans-serif !important;
}

/* Хлебные крошки */
body .breadcrumbs,
body .breadcrumb,
body .woocommerce-breadcrumb {
    font-family: 'Manrope', Arial, sans-serif !important;
}

/* Кнопки магазина */
body .button,
body a.button,
body button.button,
body .add_to_cart_button,
body .woocommerce a.button,
body .woocommerce button.button {
    font-family: 'Manrope', Arial, sans-serif !important;
    font-weight: 500 !important;
}

/* Полоса преимуществ */
body .msk-benefit,
body .msk-benefit span {
    font-family: 'Manrope', Arial, sans-serif !important;
    font-weight: 500 !important;
}
a[href*="vse-dlya-salonov-krasoty"] {
display: none !important;
}
.post-11906 {
display:none;
}
.post-11911 {
display:none;
}
/* Полоса преимуществ */
.msk-benefits {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 12px !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
}

.msk-benefit {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 13px !important;
  min-width: 0 !important;
  min-height: 86px !important;
  padding: 15px 17px !important;
  box-sizing: border-box !important;

  color: #302e2e !important;
  background: #faf8f4 !important;
  border: 1px solid #e6ded5 !important;
  border-radius: 8px !important;
  box-shadow: 0 3px 14px rgba(48, 46, 46, 0.05) !important;

  font-size: 14px !important;
  font-weight: 500 !important;
  line-height: 1.35 !important;
  text-decoration: none !important;

  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease !important;
}

.msk-benefit svg {
  display: block !important;
  width: 43px !important;
  height: 43px !important;
  min-width: 43px !important;
  padding: 9px !important;
  box-sizing: border-box !important;

  fill: none !important;
  stroke: #b79b72 !important;
  stroke-width: 1.7 !important;

  background: #ffffff !important;
  border: 1px solid #e6ded5 !important;
  border-radius: 50% !important;
}

.msk-benefit span {
  display: block !important;
  color: #302e2e !important;
}

.msk-benefit:hover {
  color: #302e2e !important;
  background: #ffffff !important;
  border-color: #b79b72 !important;
  box-shadow: 0 7px 20px rgba(48, 46, 46, 0.09) !important;
  transform: translateY(-2px);
}

/* Планшет */
@media (max-width: 900px) {
  .msk-benefits {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

/* Телефон */
@media (max-width: 480px) {
  .msk-benefits {
    gap: 8px !important;
  }

  .msk-benefit {
    flex-direction: column !important;
    justify-content: center !important;
    min-height: 115px !important;
    padding: 12px 8px !important;
    font-size: 12px !important;
    text-align: center !important;
  }

  .msk-benefit svg {
    width: 39px !important;
    height: 39px !important;
    min-width: 39px !important;
  }
}
.home .card-slider--type-media,
.home .card-slider--type-media .card-slider__image {
    border-radius: 16px !important;
    overflow: hidden !important;
}
/* Верхняя информационная полоса */
.woocommerce-store-notice.demo_store {
    width: 100% !important;
    max-width: none !important;
    min-height: 38px !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    padding: 8px 20px !important;

    background: #f1ebe4 !important;
    color: #302e2e !important;
    border: 0 !important;
    border-bottom: 1px solid #e6ded5 !important;
    box-shadow: none !important;

    font-family: 'Manrope', Arial, sans-serif !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    line-height: 21px !important;
    letter-spacing: 0.1px !important;
    text-align: center !important;
}

/* Убираем лишнюю иконку и кнопку закрытия */
.woocommerce-store-notice.demo_store::before,
.woocommerce-store-notice__dismiss-link {
    display: none !important;
}

/* Телефон */
@media (max-width: 600px) {
    .woocommerce-store-notice.demo_store {
        min-height: 36px !important;
        padding: 7px 10px !important;
        font-size: 11px !important;
        line-height: 16px !important;
    }
}
/* ГРАФИТОВОЕ МЕНЮ ПО ШИРИНЕ БАННЕРОВ */
@media (min-width: 768px) {

    /* Возвращаем правильные отступы шапки */
    header#masthead.site-header {
        margin-bottom: 30px !important;
    }

    header#masthead .site-header-inner.fixed {
        padding-bottom: 0 !important;
    }

    /* Внешняя область меню */
    nav#site-navigation.main-navigation.full {
        width: 100% !important;
        max-width: none !important;
        margin: -30px 0 10px !important;
        padding: 0 !important;
        background: transparent !important;
        border-radius: 0 !important;
        box-shadow: none !important;
    }
}
/* ГРАФИТОВОЕ МЕНЮ — ФИНАЛЬНЫЙ АДАПТИВНЫЙ ВАРИАНТ */

@media (min-width: 768px) {

    header#masthead.site-header {
        margin-bottom: 30px !important;
    }

    header#masthead .site-header-inner.fixed {
        padding-bottom: 0 !important;
    }

    nav#site-navigation.main-navigation.full {
        width: 100% !important;
        max-width: none !important;
        margin: -30px 0 10px !important;
        padding: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
    }

    /* Контейнер повторяет размеры темы Bono */
    nav#site-navigation .main-navigation-inner.full {
        width: 100% !important;
        max-width: 720px !important;
        margin: 0 auto !important;
        padding: 0 45px !important;
        box-sizing: border-box !important;
        background: transparent !important;
    }

    /* Сама графитовая полоса */
    nav#site-navigation .menu-glavnoe-menyu-container {
        width: 100% !important;
        background: #302e2e !important;
        border-radius: 12px !important;
        box-shadow: 0 5px 18px rgba(48, 46, 46, 0.10) !important;
    }

    #header_menu {
        width: 100% !important;
        margin: 0 !important;
        background: transparent !important;
        border-radius: 12px !important;
    }

    #header_menu > li > a,
    #header_menu > li > span {
        color: #ffffff !important;
    }

    #header_menu > li:hover > a,
    #header_menu > li:hover > span {
        background: rgba(183, 155, 114, 0.18) !important;
    }

    #header_menu > li:first-child > a,
    #header_menu > li:first-child > span {
        border-radius: 12px 0 0 12px !important;
    }
}

/* Средние экраны */
@media (min-width: 992px) {
    nav#site-navigation .main-navigation-inner.full {
        max-width: 960px !important;
    }
}

/* Обычные компьютеры */
@media (min-width: 1200px) {
    nav#site-navigation .main-navigation-inner.full {
        max-width: 1190px !important;
    }
}

/* Широкие экраны — как на твоём скриншоте */
@media (min-width: 1400px) {
    nav#site-navigation .main-navigation-inner.full {
        max-width: 1390px !important;
    }
}

/* Телефон */
@media (max-width: 767px) {
    nav#site-navigation.main-navigation.full {
        width: 100% !important;
        max-width: none !important;
        background: #302e2e !important;
        border-radius: 0 !important;
    }
}
	/* ТРИ ПОЛОСКИ ПЕРЕД СЛОВОМ «КАТАЛОГ» */
#header_menu > li:first-child > .removed-link::before,
#header_menu > li:first-child > a::before {
    content: "";
    display: inline-block;
    width: 18px;
    height: 2px;
    margin-right: 11px;
    position: relative;
    top: -1px;
    vertical-align: middle;
    background: #b79b72;
    border-radius: 2px;
    box-shadow:
        0 -6px 0 #b79b72,
        0 6px 0 #b79b72;
}
	/* БОЛЕЕ МЯГКИЙ ТЁПЛЫЙ ГРАФИТ */
nav#site-navigation .menu-glavnoe-menyu-container {
    background: #46413f !important;
}

@media (max-width: 767px) {
    nav#site-navigation.main-navigation.full {
        background: #46413f !important;
    }
}
/* КАРТОЧКИ ТОВАРОВ — ФИНАЛЬНОЕ РАСПОЛОЖЕНИЕ КНОПОК */

/* Возвращаем нормальные параметры изображения */
.shop-item--type-standard .shop-item__image {
    overflow: hidden !important;
    margin-bottom: .7em !important;
}

.shop-item--type-standard .shop-item__image-inner {
    overflow: hidden !important;
}

/* Убираем большую дублирующую кнопку корзины с фотографии */
.shop-item--type-standard .shop-item__buttons {
    display: none !important;
}

/* Избранное и быстрый просмотр — верхний правый угол */
.shop-item--type-standard .shop-item__icons {
    position: absolute !important;
    top: 6px !important;
    right: 6px !important;
    bottom: auto !important;
    left: auto !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 6px !important;
    width: auto !important;
    height: auto !important;
    transform: none !important;
    z-index: 8 !important;
}

.shop-item--type-standard .shop-item__icons-favorite,
.shop-item--type-standard .shop-item__icons-quick {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    min-height: 32px !important;
    margin: 0 !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: none !important;
    background-color: #fff !important;
    border-radius: 50% !important;
    box-shadow: 0 2px 7px rgba(48, 46, 46, .16) !important;
}

/* На ПК кнопки появляются при наведении */
@media (min-width: 768px) and (hover: hover) and (pointer: fine) {
    .shop-item--type-standard .shop-item__icons-favorite,
    .shop-item--type-standard .shop-item__icons-quick {
        opacity: 0 !important;
        pointer-events: none !important;
        transform: translateX(6px) !important;
        transition: opacity .2s ease, transform .2s ease !important;
    }

    .shop-item--type-standard:hover .shop-item__icons-favorite,
    .shop-item--type-standard:hover .shop-item__icons-quick {
        opacity: 1 !important;
        pointer-events: auto !important;
        transform: none !important;
    }
}

/* Цена и корзина в одной строке */
.shop-item--type-standard .shop-item__price {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    width: 100% !important;
}

.shop-item--type-standard .shop-item__price > .price {
    display: flex !important;
    align-items: baseline !important;
    flex: 1 1 auto !important;
    flex-wrap: wrap !important;
    column-gap: 6px !important;
    row-gap: 2px !important;
    min-width: 0 !important;
}

.shop-item--type-standard .shop-item__price del,
.shop-item--type-standard .shop-item__price ins {
    margin: 0 !important;
    white-space: nowrap !important;
}

/* Корзина рядом с ценой */
.shop-item--type-standard .shop-item__price > .shop-item__icons-cart {
    position: static !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 0 0 34px !important;
    width: 34px !important;
    height: 34px !important;
    min-width: 34px !important;
    min-height: 34px !important;
    margin: 0 0 0 auto !important;
    padding: 0 !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: none !important;
    color: #fff !important;
    background: #46413f !important;
    border: 0 !important;
    border-radius: 50% !important;
    box-shadow: 0 2px 7px rgba(48, 46, 46, .18) !important;
    box-sizing: border-box !important;
}

.shop-item--type-standard .shop-item__price > .shop-item__icons-cart:hover {
    background: #b79b72 !important;
}

.shop-item--type-standard .shop-item__price > .shop-item__icons-cart svg {
    width: 17px !important;
    height: 17px !important;
    margin: 0 !important;
}

/* Мобильная версия */
@media (max-width: 767px) {
    /* Быстрый просмотр убираем */
    .shop-item--type-standard .shop-item__icons-quick {
        display: none !important;
    }

    /* Избранное оставляем сверху справа */
    .shop-item--type-standard .shop-item__icons {
        top: 5px !important;
        right: 5px !important;
        gap: 0 !important;
    }

    .shop-item--type-standard .shop-item__icons-favorite {
        width: 30px !important;
        height: 30px !important;
        min-width: 30px !important;
        min-height: 30px !important;
    }

    /* Компактная корзина около цены */
    .shop-item--type-standard .shop-item__price {
        gap: 5px !important;
    }

    .shop-item--type-standard .shop-item__price > .shop-item__icons-cart {
        flex-basis: 32px !important;
        width: 32px !important;
        height: 32px !important;
        min-width: 32px !important;
        min-height: 32px !important;
    }
}
/* ИСПРАВЛЕНИЕ КАРТОЧЕК ТОВАРОВ */

/* Резервируем одинаковое место под бренд во всех карточках */
.shop-item--type-standard
.shop-item-inner:not(:has(.pwb-brands-in-loop))::after {
    content: "";
    display: block;
    flex: 0 0 24px;
    width: 100%;
    height: 24px;
    pointer-events: none;
}

/* Корзина выше кликабельного слоя карточки */
.shop-item--type-standard
.shop-item__price > .shop-item__icons-cart {
    position: relative !important;
    z-index: 20 !important;
    pointer-events: auto !important;
    cursor: pointer !important;
    touch-action: manipulation;
}

/* Избранное и быстрый просмотр ближе к углу */
.shop-item--type-standard .shop-item__icons {
    top: 2px !important;
    right: 2px !important;
}

/* То же положение на мобильном */
@media (max-width: 767px) {
    .shop-item--type-standard .shop-item__icons {
        top: 2px !important;
        right: 2px !important;
    }
}
/* Убираем появляющуюся ссылку «Просмотр корзины» */
.shop-item--type-standard a.added_to_cart.wc-forward {
    display: none !important;
}
/* Значки точно выше кликабельного слоя товара */
.shop-item--type-standard .shop-item__icons {
    z-index: 30 !important;
}

.shop-item--type-standard .shop-item__icons-favorite,
.shop-item--type-standard .shop-item__icons-quick {
    position: relative !important;
    z-index: 31 !important;
}

/* Добавленный в избранное товар — красное сердце */
.shop-item--type-standard
.shop-item__icons-favorite.in-favorite {
    color: #e5484d !important;
    background: #fff !important;
    box-shadow: 0 2px 7px rgba(48, 46, 46, .16) !important;
}

.shop-item--type-standard
.shop-item__icons-favorite.in-favorite::before {
    background-color: #e5484d !important;
}
/* Спокойное состояние значков */
.shop-item--type-standard .shop-item__icons-favorite,
.shop-item--type-standard .shop-item__icons-quick {
    color: #555558 !important;
    background: #fff !important;
    transition:
        opacity .2s ease,
        transform .18s ease,
        box-shadow .18s ease !important;
}

/* При наведении — только лёгкое приближение */
.shop-item--type-standard .shop-item__icons-favorite:hover,
.shop-item--type-standard .shop-item__icons-quick:hover {
    color: #555558 !important;
    background: #fff !important;
    transform: scale(1.08) !important;
    box-shadow: 0 4px 12px rgba(48, 46, 46, .22) !important;
}

/* Значки не пропадают при наведении */
.shop-item--type-standard .shop-item__icons-favorite:hover::before,
.shop-item--type-standard .shop-item__icons-quick:hover::before {
    background-color: #555558 !important;
}

/* После нажатия сердце загорается красным */
.shop-item--type-standard .shop-item__icons-favorite.in-favorite,
.shop-item--type-standard .shop-item__icons-favorite.in-favorite:hover {
    color: #e5484d !important;
    background: #fff !important;
}

.shop-item--type-standard .shop-item__icons-favorite.in-favorite::before,
.shop-item--type-standard .shop-item__icons-favorite.in-favorite:hover::before {
    background-color: #e5484d !important;
}
/* СВЕТЛАЯ КНОПКА КОРЗИНЫ */
.shop-item--type-standard
.shop-item__price > .shop-item__icons-cart {
    color: #8b7357 !important;
    background: #f5f0e9 !important;
    border: 1px solid #d9c9b5 !important;
    box-shadow: 0 2px 6px rgba(70, 65, 63, .10) !important;

    transition:
        background-color .18s ease,
        color .18s ease,
        border-color .18s ease,
        box-shadow .18s ease,
        transform .18s ease !important;
}

/* Цвет самой иконки */
.shop-item--type-standard
.shop-item__price > .shop-item__icons-cart svg {
    color: inherit !important;
    stroke: currentColor !important;
}

/* Лёгкий эффект при наведении */
.shop-item--type-standard
.shop-item__price > .shop-item__icons-cart:hover {
    color: #755f49 !important;
    background: #ebe0d3 !important;
    border-color: #cdb99e !important;
    box-shadow: 0 4px 10px rgba(70, 65, 63, .15) !important;
    transform: scale(1.06) !important;
}

/* После добавления товара */
.shop-item--type-standard
.shop-item__price > .shop-item__icons-cart.added {
    color: #755f49 !important;
    background: #e2d2bd !important;
    border-color: #ccb494 !important;
}
/* МОБИЛЬНАЯ ВЕРСИЯ: СЕРДЦЕ БЕЗ КРУГА И КОМПАКТНЫЕ БЕЙДЖИ */
@media (max-width: 767px) {

    /* Избранное ближе к углу */
    .shop-item--type-standard .shop-item__icons {
        top: 1px !important;
        right: 1px !important;
    }

    /* Убираем круг и оставляем только сердце */
    .shop-item--type-standard .shop-item__icons-favorite,
    .shop-item--type-standard .shop-item__icons-favorite:hover,
    .shop-item--type-standard .shop-item__icons-favorite.in-favorite,
    .shop-item--type-standard .shop-item__icons-favorite.in-favorite:hover {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;

        width: 36px !important;
        height: 36px !important;
        min-width: 36px !important;
        min-height: 36px !important;

        margin: 0 !important;
        padding: 0 !important;

        color: #5f5a57 !important;
        background: transparent !important;
        border: 0 !important;
        border-radius: 0 !important;
        box-shadow: none !important;
    }

    /* Само сердце немного крупнее */
    .shop-item--type-standard
    .shop-item__icons-favorite::before {
        width: 23px !important;
        height: 23px !important;
        mask-size: 23px 23px !important;
        background-color: currentColor !important;
    }

    /* Добавленное в избранное сердце */
    .shop-item--type-standard
    .shop-item__icons-favorite.in-favorite {
        color: #e5484d !important;
    }

    /* Компактнее Новинка, Хит и процент скидки */
    .shop-item--type-standard .shop-item__badges {
        display: flex !important;
        flex-wrap: wrap !important;
        align-items: center !important;
        gap: 3px !important;
    }

    .shop-item--type-standard .shop-item__badges > * {
        position: static !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;

        width: auto !important;
        min-width: 0 !important;
        height: 19px !important;
        min-height: 19px !important;

        margin: 0 !important;
        padding: 0 5px !important;

        font-size: 10px !important;
        line-height: 1 !important;
        white-space: nowrap !important;
        border-radius: 4px !important;
    }
}
/* Сокращаем расстояние между товарами и преимуществами */
.home .section-block.section-html.section-3 {
    padding-top: 0px !important;
}

/* Убираем пустое место под отсутствующий заголовок */
.home .section-block.section-html.section-3
> .section-block__header {
    display: none !important;
}

/* Чуть компактнее на мобильном */
@media (max-width: 767px) {
    .home .section-block.section-html.section-3 {
        padding-top: 0px !important;
    }
}
@media (max-width: 767px) {

    /* =========================================
       УВЕДОМЛЕНИЕ ПОСЛЕ ДОБАВЛЕНИЯ В КОРЗИНУ
       ========================================= */

    body.woocommerce .woocommerce-message {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        position: relative !important;

        width: 100% !important;
        max-width: 100% !important;
        margin: 14px 0 18px !important;
        padding: 13px 14px 13px 44px !important;

        box-sizing: border-box !important;
        overflow: hidden !important;
        border-radius: 10px !important;

        font-size: 14px !important;
        line-height: 1.45 !important;
    }

    body.woocommerce .woocommerce-message::before {
        top: 15px !important;
        left: 15px !important;
    }

    body.woocommerce .woocommerce-message .button,
    body.woocommerce .woocommerce-message .wc-forward {
        order: 5 !important;
        float: none !important;
        position: static !important;
        transform: none !important;

        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        align-self: flex-start !important;

        width: auto !important;
        max-width: 100% !important;
        min-height: 36px !important;
        margin: 10px 0 0 !important;
        padding: 8px 13px !important;

        box-sizing: border-box !important;
        border-radius: 8px !important;

        font-size: 13px !important;
        line-height: 1.2 !important;
        white-space: normal !important;
    }


    /* =========================================
       МОБИЛЬНАЯ КОРЗИНА
       ========================================= */

    body.woocommerce-cart .wp-block-woocommerce-cart.alignwide {
        width: 100% !important;
        max-width: 100% !important;
        margin-right: 0 !important;
        margin-left: 0 !important;
    }

    body.woocommerce-cart .wc-block-components-sidebar-layout {
        display: block !important;
        width: 100% !important;
        margin: 0 !important;
    }

    body.woocommerce-cart .wc-block-components-main,
    body.woocommerce-cart .wc-block-components-sidebar {
        width: 100% !important;
        max-width: 100% !important;
        padding-right: 0 !important;
        padding-left: 0 !important;
    }

    body.woocommerce-cart .entry-title,
    body.woocommerce-cart .page-title {
        margin-bottom: 16px !important;
        font-size: 26px !important;
        line-height: 1.2 !important;
    }


    /* Таблицу превращаем в компактные карточки */

    body.woocommerce-cart .wc-block-cart-items {
        display: block !important;
        width: 100% !important;
        border: 0 !important;
    }

    body.woocommerce-cart .wc-block-cart-items thead {
        display: none !important;
    }

    body.woocommerce-cart .wc-block-cart-items tbody {
        display: block !important;
        width: 100% !important;
    }

    body.woocommerce-cart .wc-block-cart-items__row {
        display: grid !important;
        grid-template-columns: 86px minmax(0, 1fr) !important;
        column-gap: 12px !important;

        width: 100% !important;
        margin: 0 0 10px !important;
        padding: 12px !important;

        box-sizing: border-box !important;
        border: 1px solid #ece8e2 !important;
        border-radius: 13px !important;
        background: #fff !important;
    }


    /* Изображение */

    body.woocommerce-cart .wc-block-cart-item__image {
        grid-column: 1 !important;
        grid-row: 1 / span 2 !important;

        width: 86px !important;
        padding: 0 !important;
        align-self: start !important;
    }

    body.woocommerce-cart .wc-block-cart-item__image img {
        display: block !important;
        width: 86px !important;
        height: 86px !important;
        object-fit: contain !important;

        border-radius: 9px !important;
        background: #fff !important;
    }


    /* Название и основная цена */

    body.woocommerce-cart .wc-block-cart-item__product {
        grid-column: 2 !important;
        grid-row: 1 !important;

        min-width: 0 !important;
        padding: 0 !important;
    }

    body.woocommerce-cart .wc-block-cart-item__wrap {
        min-width: 0 !important;
    }

    body.woocommerce-cart .wc-block-components-product-name {
        display: -webkit-box !important;
        overflow: hidden !important;

        -webkit-box-orient: vertical !important;
        -webkit-line-clamp: 3 !important;

        margin: 0 !important;
        color: #302d2b !important;
        font-size: 14px !important;
        font-weight: 600 !important;
        line-height: 1.3 !important;
        text-decoration: none !important;
        overflow-wrap: anywhere !important;
    }

    body.woocommerce-cart .wc-block-cart-item__prices {
        margin: 6px 0 0 !important;
    }

    body.woocommerce-cart .wc-block-cart-item__prices,
    body.woocommerce-cart .wc-block-cart-item__prices .wc-block-components-product-price {
        display: flex !important;
        flex-wrap: wrap !important;
        align-items: baseline !important;
        gap: 3px 7px !important;

        font-size: 14px !important;
        line-height: 1.25 !important;
    }

    body.woocommerce-cart .wc-block-components-product-price__value {
        font-size: 14px !important;
        font-weight: 600 !important;
        white-space: nowrap !important;
    }

    body.woocommerce-cart .wc-block-components-product-price__regular,
    body.woocommerce-cart .wc-block-cart-item__prices del {
        color: #9b9691 !important;
        font-size: 12px !important;
        font-weight: 400 !important;
        white-space: nowrap !important;
    }


    /* Убираем длинное описание товара */

    body.woocommerce-cart
    .wc-block-components-product-metadata__description {
        display: none !important;
    }

    body.woocommerce-cart .wc-block-components-product-metadata {
        margin: 4px 0 0 !important;
        font-size: 11px !important;
        line-height: 1.35 !important;
    }


    /* Количество и удаление */

    body.woocommerce-cart .wc-block-cart-item__quantity {
        display: flex !important;
        align-items: center !important;
        gap: 9px !important;

        margin: 9px 0 0 !important;
        padding: 0 !important;
    }

    body.woocommerce-cart .wc-block-components-quantity-selector {
        width: 106px !important;
        min-width: 106px !important;
        height: 36px !important;

        border-color: #ddd8d1 !important;
        border-radius: 8px !important;
    }

    body.woocommerce-cart
    .wc-block-components-quantity-selector__input {
        min-width: 38px !important;
        font-size: 14px !important;
    }

    body.woocommerce-cart
    .wc-block-components-quantity-selector__button {
        min-width: 32px !important;
        height: 34px !important;
    }

    body.woocommerce-cart .wc-block-cart-item__remove-link {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;

        width: 36px !important;
        min-width: 36px !important;
        height: 36px !important;
        margin: 0 !important;
        padding: 0 !important;

        color: #6f6a66 !important;
        border-radius: 8px !important;
        background: #f5f2ee !important;
    }


    /* Итог за конкретный товар переносим вниз */

    body.woocommerce-cart .wc-block-cart-item__total {
        display: block !important;
        grid-column: 2 !important;
        grid-row: 2 !important;

        width: auto !important;
        min-width: 0 !important;
        margin: 9px 0 0 !important;
        padding: 8px 0 0 !important;

        border-top: 1px solid #eeeae5 !important;
        text-align: left !important;
    }

    body.woocommerce-cart
    .wc-block-cart-item__total-price-and-sale-badge-wrapper {
        display: flex !important;
        flex-flow: row wrap !important;
        align-items: center !important;
        justify-content: flex-start !important;
        gap: 5px 8px !important;

        width: 100% !important;
        max-width: 100% !important;
    }

    body.woocommerce-cart
    .wc-block-cart-item__total-price-and-sale-badge-wrapper::before {
        content: "Итого:";
        color: #88817b !important;
        font-size: 11px !important;
    }

    body.woocommerce-cart
    .wc-block-cart-item__total .wc-block-components-product-price {
        margin: 0 !important;
        font-size: 13px !important;
        font-weight: 600 !important;
        white-space: nowrap !important;
    }

    body.woocommerce-cart .wc-block-components-sale-badge {
        max-width: 100% !important;
        padding: 4px 7px !important;

        color: #75695d !important;
        border: 0 !important;
        border-radius: 6px !important;
        background: #f5efe6 !important;

        font-size: 10px !important;
        font-weight: 500 !important;
        line-height: 1.2 !important;
        white-space: normal !important;
    }


    /* Блок суммы заказа */

    body.woocommerce-cart .wc-block-cart__sidebar {
        margin-top: 16px !important;
        padding: 0 !important;

        overflow: hidden !important;
        border: 1px solid #e9e4dd !important;
        border-radius: 13px !important;
        background: #faf8f4 !important;
    }

    body.woocommerce-cart .wc-block-cart__totals-title {
        margin: 0 !important;
        padding: 14px 14px 7px !important;

        font-size: 18px !important;
        line-height: 1.3 !important;
    }

    body.woocommerce-cart .wc-block-components-totals-wrapper {
        padding: 10px 14px !important;
    }

    body.woocommerce-cart .wc-block-components-totals-item {
        font-size: 13px !important;
    }

    body.woocommerce-cart
    .wc-block-components-totals-footer-item {
        font-size: 16px !important;
    }


    /* Кнопка оформления не прилипает под нижнее меню */

    body.woocommerce-cart
    .wc-block-cart__submit-container,
    body.woocommerce-cart
    .wc-block-cart__submit-container--sticky {
        position: static !important;
        padding: 0 !important;
        box-shadow: none !important;
        background: transparent !important;
    }

    body.woocommerce-cart .wc-block-cart__submit {
        margin: 12px 14px 14px !important;
    }

    body.woocommerce-cart .wc-block-cart__submit-button {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;

        min-height: 48px !important;
        padding: 11px 16px !important;

        color: #fff !important;
        border-radius: 10px !important;
        background: #484441 !important;

        font-size: 15px !important;
        font-weight: 600 !important;
        line-height: 1.25 !important;
    }
}
a {
    text-decoration: none !important;
}
footer a {
    transition: color .25s ease, transform .25s ease;
    display: inline-block;
}

footer a:hover {
    color: #ad8451 !important;
    transform: translateX(3px);
}
/* =========================================
   КАРТОЧКИ ТОВАРОВ — АККУРАТНЫЕ ОТСТУПЫ
   ========================================= */

/* Название товара */
.shop-item__title {
    margin-bottom: 4px !important;
}

/* Цена */
.shop-item__price {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    line-height: 1.25 !important;
}

/* В наличии / Под заказ */
.shop-item .stock,
.shop-item__stock {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    line-height: 1.2 !important;
}

/* Бренд */
.shop-item a[href*="/brand/"],
.shop-item a[href*="/brend/"],
.shop-item a[href*="/brands/"],
.shop-item a[href*="/brendy/"] {
    display: block;
    margin-top: 7px !important;
    line-height: 1.2 !important;
}
/* Цена — убираем лишний нижний отступ */
.shop-item__price,
.shop-item__price p {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

/* Подтягиваем "В наличии" ТОЛЬКО вверх.
   Место под ним сохраняется, поэтому бренд не приблизится */
.shop-item .stock,
.shop-item__stock {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    transform: translateY(-4px);
}

/* Бренд оставляем с нормальным расстоянием */
.shop-item a[href*="/brand/"],
.shop-item a[href*="/brend/"],
.shop-item a[href*="/brands/"],
.shop-item a[href*="/brendy/"] {
    margin-top: 7px !important;
}
/* Убираем звездочку у согласия с офертой */
.woocommerce-terms-and-conditions-wrapper abbr.required {
    display: none !important;
}
.woocommerce-product-attributes-item--attribute_pa_country {
    display: none;
}
.woocommerce-tabs {
    margin-top: -20px;
}
/* Карточка товара - расстояние до рекомендаций */
.woocommerce-tabs {
    margin-bottom: 25px !important;
}

.related-products {
    padding-top: 0 !important;
}
/* Скрываем только пустую вкладку предпросмотра */
.woocommerce-Tabs-panel--reviews:has(.tab-preview-preview-text:only-child) {
    display: none !important;
}
/* Убираем лишнее пространство после характеристик перед рекомендациями */
.woocommerce-tabs {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

.woocommerce-tabs-wrapper {
    margin-bottom: 0 !important;
}

.related-products {
    margin-top: 20px !important;
}
/* =========================================================
   КАРТОЧКА ТОВАРА — УВЕЛИЧЕНИЕ ФОТОГАЛЕРЕИ
   БЕЗ ИЗМЕНЕНИЯ СЕТКИ BONO
   ========================================================= */

@media (min-width: 1024px) {

    /* Возвращаем штатные размеры колонок */
    body.single-product div.product .woocommerce-product-gallery {
        width: auto !important;
        max-width: none !important;
    }

    body.single-product div.product .summary {
        width: auto !important;
        max-width: none !important;
    }


    /* Увеличиваем всю галерею целиком:
       главное фото + миниатюры */
    body.single-product .woocommerce-product-gallery {
        position: relative !important;

        transform:
            translateY(12px)
            scale(1.08) !important;

        transform-origin: top center !important;

        z-index: 2 !important;

        margin-bottom: 45px !important;
    }


    /* Само изображение больше отдельно не растягиваем */
    body.single-product
    .woocommerce-product-gallery
    .woocommerce-product-gallery__image img {

        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;

        margin: 0 !important;
        transform: none !important;
    }
}
/* =========================================================
   КАРТОЧКИ ТОВАРОВ — АККУРАТНАЯ ЗОЛОТАЯ РАМКА
   ========================================================= */

/* Внешняя карточка — создаём небольшой зазор между рамками */
.shop-grid .shop-item {
    padding: 6px !important;
    box-sizing: border-box !important;

    /* Убираем прошлую рамку */
    box-shadow: none !important;
    transform: none;
}


/* Рамка именно вокруг внутренней карточки */
.shop-grid .shop-item .shop-item-inner {
    position: relative !important;

    height: 100% !important;
    box-sizing: border-box !important;

    border: 1px solid rgba(190, 153, 88, 0.38) !important;
    border-radius: 14px !important;

    transition:
        border-color .22s ease,
        box-shadow .22s ease,
        transform .22s ease !important;
}


/* Наведение */
.shop-grid .shop-item:hover .shop-item-inner {
    border-color: rgba(190, 153, 88, 0.62) !important;

    box-shadow:
        0 6px 18px rgba(0, 0, 0, 0.055) !important;

    transform: translateY(-2px);
}
/* /* =========================================================
   СТИКЕРЫ ТОЛЬКО В КАТАЛОГЕ
   Хит / Новинка / Скидка
   ========================================================= */

/* ПК */
.shop-grid .shop-item .shop-item__badges {
    gap: 4px !important;
}

.shop-grid .shop-item .shop-item__badges > * {
    font-size: 11px !important;
    line-height: 1.15 !important;
    padding: 3px 6px !important;

    min-height: 0 !important;
    height: auto !important;

    border-radius: 5px !important;
    font-weight: 500 !important;
    opacity: 0.88;
}


/* МОБИЛЬНЫЙ КАТАЛОГ — совсем маленькие */
@media (max-width: 767px) {

    .shop-grid .shop-item .shop-item__badges {
        gap: 2px !important;
    }

    .shop-grid .shop-item .shop-item__badges > * {
        font-size: 8px !important;
        line-height: 1 !important;

        padding: 2px 4px !important;

        min-height: 0 !important;
        height: auto !important;

        border-radius: 4px !important;
        font-weight: 500 !important;
    }
}


/* Спокойная "Новинка" ТОЛЬКО в каталоге */
.shop-grid .shop-item .shop-item__badges .new,
.shop-grid .shop-item .shop-item__badges .new-badge,
.shop-grid .shop-item .shop-item__badges .badge-new,
.shop-grid .shop-item .shop-item__badges [class*="new"],
.shop-grid .shop-item .shop-item__badges [class*="novelty"] {
    background: #e7eee3 !important;
    color: #61705d !important;
}
/* =========================================================
   СТИКЕРЫ ВНУТРИ КАРТОЧКИ ТОВАРА
   Хит / Новинка / Скидка
   ========================================================= */


/* Гарантированно показываем блок на ПК */
.single-product .single-product__badges {
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 5px !important;

    visibility: visible !important;
    opacity: 1 !important;
}


/* Сами плашки */
.single-product .single-product__badge {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    visibility: visible !important;
    opacity: 1 !important;

    width: auto !important;
    min-width: 0 !important;
    height: auto !important;
    min-height: 0 !important;

    padding: 3px 7px !important;

    font-size: 11px !important;
    line-height: 1.15 !important;
    font-weight: 500 !important;

    border-radius: 5px !important;
}


/* НОВИНКА — мягкий приглушённый зелёный */
.single-product .single-product__badge--new {
    background: #e4ecdf !important;
    color: #60705b !important;
}


/* =========================================================
   МОБИЛЬНАЯ КАРТОЧКА ТОВАРА
   Плашки совсем маленькие
   ========================================================= */

@media (max-width: 767px) {

    .single-product .single-product__badges {
        gap: 3px !important;
    }

    .single-product .single-product__badge {
        padding: 2px 5px !important;

        font-size: 9px !important;
        line-height: 1.05 !important;

        border-radius: 4px !important;
    }
}
/* =========================================================
   СТИКЕРЫ ВНУТРИ КАРТОЧКИ ТОВАРА
   Хит / Новинка / Скидка
   ========================================================= */


/* Родитель галереи */
.single-product .product-images {
    position: relative !important;
    overflow: visible !important;
}


/* Блок с плашками на ПК */
.single-product .product-images > .single-product__badges {
    position: absolute !important;

    top: 10px !important;
    left: -5px !important;

    z-index: 50 !important;

    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 5px !important;

    width: auto !important;
    height: auto !important;

    visibility: visible !important;
    opacity: 1 !important;

    pointer-events: none !important;
}


/* Сами плашки */
.single-product .single-product__badge {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    visibility: visible !important;
    opacity: 1 !important;

    width: auto !important;
    min-width: 0 !important;

    height: auto !important;
    min-height: 0 !important;

    margin: 0 !important;

    padding: 3px 7px !important;

    font-size: 11px !important;
    line-height: 1.15 !important;
    font-weight: 500 !important;

    border-radius: 5px !important;
    white-space: nowrap !important;
}


/* НОВИНКА — мягкий приглушённый зелёный */
.single-product .single-product__badge--new {
    background-color: #e4ecdf !important;
    color: #60705b !important;
}


/* =========================================================
   МОБИЛЬНАЯ КАРТОЧКА ТОВАРА
   Чуть крупнее, но всё ещё компактно
   ========================================================= */

@media (max-width: 767px) {

    .single-product .product-images > .single-product__badges {
        top: 8px !important;
        left: 8px !important;
        gap: 3px !important;
    }

    .single-product .single-product__badge {
        padding: 3px 6px !important;

        font-size: 10px !important;
        line-height: 1.1 !important;

        border-radius: 4px !important;
    }
}
/* =========================================================
   ТОВАРНЫЕ КАРТОЧКИ ВНУТРИ СТРАНИЦЫ ТОВАРА
   Отступ после "В наличии" + флаг
   Для похожих, просмотренных, комплекта и т.п.
   ========================================================= */

.single-product .shop-item__in-stock {
    margin-bottom: 7px !important;
}
/* =========================================================
   ВАМ ТАКЖЕ БУДЕТ ИНТЕРЕСНО
   → ДРУГИЕ ТОВАРЫ КОМПЛЕКТА
   ========================================================= */

.single-product .up-sells > h2,
.single-product .up-sells.products > h2 {
    font-size: 0 !important;
}

.single-product .up-sells > h2::after,
.single-product .up-sells.products > h2::after {
    content: "Другие товары комплекта";

    display: block !important;

    font-size: 20px !important;
    line-height: 1.3 !important;
    font-weight: 500 !important;

    margin-bottom: 25px !important;
}
/* =========================================================
   НИЖНИЕ ТОВАРНЫЕ БЛОКИ В КАРТОЧКЕ ТОВАРА

   Первый блок подтягиваем вверх.
   Последующие блоки НЕ поднимаем, чтобы они не перекрывались.
   ========================================================= */


/* Все товарные блоки по умолчанию */
.single-product .up-sells,
.single-product .related.products,
.single-product .related-products,
.single-product .recently-viewed-products {
    margin-top: 35px !important;
    padding-top: 0 !important;

    clear: both !important;
    position: relative !important;
}


/* ТОЛЬКО первый блок сразу после описания/вкладок
   подтягиваем вверх */
.single-product .woocommerce-tabs + .up-sells,
.single-product .woocommerce-tabs + .related.products,
.single-product .woocommerce-tabs + .related-products,
.single-product .woocommerce-tabs + .recently-viewed-products {
    margin-top: -40px !important;
}


/* Заголовки */
.single-product .up-sells > h2,
.single-product .related.products > h2,
.single-product .related-products > h2,
.single-product .recently-viewed-products > h2 {
    margin-top: 0 !important;
    padding-top: 0 !important;
}
/* Убираем край соседнего изображения в галерее товара */
@media (min-width: 1024px) {

    html body.single-product
    .woocommerce-product-gallery
    .flex-viewport {
        overflow: hidden !important;
        -webkit-clip-path: inset(0 2px 0 0) !important;
        clip-path: inset(0 2px 0 0) !important;
    }

}
/* ============================================================
   ВЫРАВНИВАНИЕ СПОСОБОВ ОПЛАТЫ И ГАЛОЧКИ ОФЕРТЫ
   ============================================================ */

body.woocommerce-checkout
#payment
ul.payment_methods
li.wc_payment_method {
    display: grid !important;
    grid-template-columns: 16px minmax(0, 1fr) !important;
    align-items: center !important;
    column-gap: 7px !important;
    min-height: 58px !important;
}


/* Кружки способов оплаты */
body.woocommerce-checkout
#payment
ul.payment_methods
li.wc_payment_method
> input.input-radio {
    grid-column: 1 !important;
    grid-row: 1 !important;

    width: 15px !important;
    height: 15px !important;

    margin: 0 !important;
    padding: 0 !important;

    align-self: center !important;
    justify-self: center !important;

    vertical-align: middle !important;
    accent-color: #B5955B !important;
}


/* Названия способов оплаты */
body.woocommerce-checkout
#payment
ul.payment_methods
li.wc_payment_method
> label {
    grid-column: 2 !important;
    grid-row: 1 !important;

    display: flex !important;
    align-items: center !important;

    min-height: 20px !important;
    margin: 0 !important;
    padding: 0 !important;

    line-height: 1.35 !important;
    cursor: pointer !important;
}


/* Описание выбранного способа оплаты */
body.woocommerce-checkout
#payment
ul.payment_methods
li.wc_payment_method
> .payment_box {
    grid-column: 1 / -1 !important;
    grid-row: 2 !important;

    width: 100% !important;
    margin: 14px 0 0 !important;

    box-sizing: border-box !important;
}


/* Галочка принятия оферты */
body.woocommerce-checkout
#payment
label.woocommerce-form__label-for-checkbox {
    display: flex !important;
    align-items: center !important;
    gap: 7px !important;

    margin-bottom: 5px !important;
    line-height: 1.45 !important;
}


/* Сам квадрат галочки */
body.woocommerce-checkout
#payment
label.woocommerce-form__label-for-checkbox
input[type="checkbox"] {
    flex: 0 0 15px !important;

    width: 15px !important;
    height: 15px !important;

    margin: 0 !important;
    padding: 0 !important;

    align-self: center !important;
    vertical-align: middle !important;

    accent-color: #B5955B !important;
}


/* Текст возле галочки */
body.woocommerce-checkout
#payment
.woocommerce-terms-and-conditions-checkbox-text {
    flex: 1 1 auto !important;
}
/* ============================================================
   ТЕКСТ ВНУТРИ ОПИСАНИЯ СПОСОБА ОПЛАТЫ
   ============================================================ */

body.woocommerce-checkout
#payment
ul.payment_methods
li.wc_payment_method
> .payment_box {
    padding: 14px 16px !important;
    box-sizing: border-box !important;
}


/* Убираем лишние отступы, которые добавляет тема */
body.woocommerce-checkout
#payment
ul.payment_methods
li.wc_payment_method
> .payment_box
> p {
    width: 100% !important;

    margin: 0 !important;
    padding: 0 !important;

    line-height: 1.5 !important;
    text-align: left !important;
}


/* Если внутри будет несколько абзацев */
body.woocommerce-checkout
#payment
ul.payment_methods
li.wc_payment_method
> .payment_box
> p + p {
    margin-top: 8px !important;
}
/* Разрешаем иконкам выходить за границу области фото */
.shop-item--type-standard .shop-item__image {
    overflow: visible !important;
}

/* Карточка становится точкой привязки для иконок */
.shop-item--type-standard .shop-item-inner {
    position: relative !important;
}

/* Фото больше не является точкой привязки */
.shop-item--type-standard .shop-item__image {
    position: static !important;
}

/* Сердечко + быстрый просмотр относительно золотой рамки */
.shop-item--type-standard .shop-item__icons {
    position: absolute !important;
    top: 6px !important;
    right: 5px !important;
    transform: none !important;
    margin: 0 !important;
    z-index: 20 !important;
}

@media (max-width: 767px) {
    .shop-item--type-standard .shop-item__icons {
        top: 3px !important;
        right: 2px !important;
    }
}
/* /* ==========================================================
   БЫСТРЫЙ ПРОСМОТР ТОВАРА — ПК
   ========================================================== */

@media (min-width: 768px) {

    /* Внешнее окно */
    .quick-view__container {
        width: 88vw !important;
        max-width: 1080px !important;
        border-radius: 16px !important;
        overflow: visible !important;
        box-shadow: 0 18px 55px rgba(0, 0, 0, 0.14) !important;
    }

    /* Основной блок */
    .msk-quick-view-product {
        background: #fff !important;
        border: 1px solid rgba(181, 149, 91, 0.55) !important;
        border-radius: 16px !important;
        overflow: hidden !important;
    }

    /* Две колонки */
    .msk-quick-view-product .product-container {
        display: grid !important;
        grid-template-columns: 48% 52% !important;
        align-items: center !important;
        min-height: 440px !important;
        padding: 0 !important;
        overflow: visible !important;
    }


    /* ======================================================
       ФОТО
       ====================================================== */

    .msk-quick-view-product .product-images {
        width: 100% !important;
        height: 410px !important;

        display: flex !important;
        align-items: center !important;
        justify-content: center !important;

        padding: 20px 30px !important;
        margin: 0 !important;

        overflow: visible !important;

        box-sizing: border-box !important;
        background: #fff !important;
        position: relative !important;
        z-index: 1 !important;
    }

    /* Внутренние обёртки */
    .msk-quick-view-product .product-images > *,
    .msk-quick-view-product .product-images a,
    .msk-quick-view-product .product-images picture {
        width: 100% !important;
        height: 100% !important;

        display: flex !important;
        align-items: center !important;
        justify-content: center !important;

        margin: 0 !important;
        padding: 0 !important;

        overflow: visible !important;
    }

    /* Само изображение */
    .msk-quick-view-product .product-images img {
        display: block !important;

        width: 345px !important;
        height: 345px !important;

        max-width: 345px !important;
        max-height: 345px !important;

        object-fit: contain !important;
        object-position: center center !important;

        margin: 0 auto !important;
        padding: 0 !important;

        transform: translateX(75px) !important;
        transform-origin: center center !important;
    }


    /* ======================================================
       ПРАВАЯ ЧАСТЬ
       ====================================================== */

    .msk-quick-view-product .product-info {
        display: block !important;

        padding: 35px 50px 35px 35px !important;
        margin: 0 !important;

        text-align: left !important;

        position: relative !important;
        z-index: 2 !important;
    }

    /* Название */
    .msk-quick-view-product .product-info h1 {
        margin: 0 0 20px !important;

        font-size: 27px !important;
        line-height: 1.22 !important;
        font-weight: 500 !important;

        color: #222 !important;
    }


    /* ======================================================
       ЦЕНА
       ====================================================== */

    .msk-quick-view-product .price {
        display: flex !important;
        align-items: baseline !important;
        flex-wrap: wrap !important;
        gap: 8px !important;

        margin: 0 0 24px !important;

        font-size: 24px !important;
        line-height: 1.3 !important;

        color: #b5955b !important;
    }

    .msk-quick-view-product .price ins {
        text-decoration: none !important;
        color: #b5955b !important;
        font-weight: 600 !important;
    }

    .msk-quick-view-product .price del {
        color: #999 !important;
        font-size: 17px !important;
        font-weight: 400 !important;
    }


    /* ======================================================
       НАЛИЧИЕ
       ====================================================== */

    .msk-quick-view-product .product-meta__in-stock {
        margin: 0 0 24px !important;

        font-size: 16px !important;
        line-height: 1.4 !important;

        color: #43a047 !important;
    }


    /* ======================================================
       КНОПКИ
       ====================================================== */

    .msk-quick-view-product .woocommerce-product-form-wrap {
        display: flex !important;
        align-items: center !important;
        flex-wrap: wrap !important;
        gap: 12px !important;

        margin: 0 !important;
        padding: 0 !important;
    }

    /* В корзину */
    .msk-quick-view-product .add_to_cart_button {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;

        min-height: 50px !important;
        padding: 13px 25px !important;
        margin: 0 !important;

        background: #b5955b !important;
        color: #fff !important;

        border: 1px solid #b5955b !important;
        border-radius: 9px !important;

        font-size: 15px !important;
        font-weight: 500 !important;
        line-height: 1 !important;

        box-shadow: none !important;
        text-shadow: none !important;
    }

    .msk-quick-view-product .add_to_cart_button:hover {
        background: #a58650 !important;
        border-color: #a58650 !important;
        color: #fff !important;
    }

    /* Подробнее */
    .msk-quick-view-product .msk-quick-view-more {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;

        min-height: 50px !important;
        padding: 13px 25px !important;
        margin: 0 !important;

        background: #fff !important;
        color: #8f7447 !important;

        border: 1px solid #b5955b !important;
        border-radius: 9px !important;

        font-size: 15px !important;
        font-weight: 500 !important;
        line-height: 1 !important;

        box-shadow: none !important;
        text-shadow: none !important;
    }

    .msk-quick-view-product .msk-quick-view-more:hover {
        background: #faf7f1 !important;
        color: #765d38 !important;
        border-color: #b5955b !important;
    }


    /* ======================================================
       КРЕСТИК — СРЕДНЕЕ ПОЛОЖЕНИЕ
       ====================================================== */

    .quick-view__close {
        top: 9px !important;
        right: 10px !important;
        z-index: 50 !important;
    }
}
/* /* ==========================================================
   СТАТЬЯ В ЛЕВОЙ КОЛОНКЕ КАТАЛОГА — ПК
   ========================================================== */

@media (min-width: 768px) {

    /* ======================================================
       ВНЕШНИЙ КОНТЕЙНЕР
       ====================================================== */

    .category-article-sidebar {
        margin-top: 24px !important;
        padding: 0 !important;

        background: transparent !important;

        border: 0 !important;
        border-radius: 0 !important;

        box-shadow: none !important;

        overflow: visible !important;
    }


    /* ======================================================
       КАРТОЧКА СТАТЬИ
       ====================================================== */

    .category-article-sidebar__item {
        position: relative !important;

        margin: 0 !important;
        padding: 10px 10px 14px !important;

        background: #fff !important;

        border: 1px solid rgba(181, 149, 91, 0.50) !important;
        border-radius: 14px !important;

        box-shadow: 0 5px 18px rgba(0, 0, 0, 0.035) !important;

        overflow: hidden !important;

        transition:
            transform .2s ease,
            box-shadow .2s ease,
            border-color .2s ease !important;
    }

    .category-article-sidebar__item:hover {
        transform: translateY(-2px) !important;

        border-color: rgba(181, 149, 91, 0.75) !important;

        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.065) !important;
    }


    /* ======================================================
       ИЗОБРАЖЕНИЕ
       БЕЗ ОБРЕЗКИ И С МИНИМАЛЬНЫМИ ОТСТУПАМИ
       ====================================================== */

    .category-article-sidebar__image {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;

        width: 100% !important;
        height: auto !important;

        margin: 0 0 13px !important;

        /* Сверху/снизу почти без отступа */
        padding: 2px 8px !important;

        background: #fff !important;

        border: 0 !important;
        border-radius: 10px !important;

        overflow: hidden !important;

        text-decoration: none !important;
        box-sizing: border-box !important;
    }

    .category-article-sidebar__image img {
        display: block !important;

        width: 100% !important;
        height: auto !important;

        max-width: 100% !important;
        max-height: none !important;

        object-fit: contain !important;
        object-position: center center !important;

        margin: 0 !important;
        padding: 0 !important;

        border: 0 !important;

        transition: transform .3s ease !important;
    }

    .category-article-sidebar__item:hover
    .category-article-sidebar__image img {
        transform: scale(1.02) !important;
    }


    /* УБИРАЕМ БЕЙДЖ С ФОТО */
    .category-article-sidebar__image::after {
        display: none !important;
        content: none !important;
    }


    /* ======================================================
       БЕЙДЖ НАД ЗАГОЛОВКОМ
       ====================================================== */

    .category-article-sidebar__title::before {
        content: "Полезная статья" !important;

        display: table !important;

        margin: 0 0 10px !important;
        padding: 5px 9px !important;

        background: #faf7f1 !important;
        color: #8f7447 !important;

        border: 1px solid rgba(181, 149, 91, 0.42) !important;
        border-radius: 7px !important;

        font-size: 11px !important;
        line-height: 1 !important;
        font-weight: 500 !important;
    }


    /* ======================================================
       ЗАГОЛОВОК
       ====================================================== */

    .category-article-sidebar__title {
        margin: 0 6px 9px !important;

        color: #222 !important;

        font-size: 18px !important;
        line-height: 1.32 !important;
        font-weight: 500 !important;
    }


    /* ======================================================
       ОПИСАНИЕ
       ====================================================== */

    .category-article-sidebar__excerpt {
        display: -webkit-box !important;

        -webkit-box-orient: vertical !important;
        -webkit-line-clamp: 4 !important;

        overflow: hidden !important;

        max-height: calc(1.52em * 4) !important;

        margin: 0 6px 15px !important;

        color: #777 !important;

        font-size: 14px !important;
        line-height: 1.52 !important;
        font-weight: 400 !important;
    }


    /* ======================================================
       КНОПКА
       ====================================================== */

    .category-article-sidebar__link {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;

        width: auto !important;
        min-height: 38px !important;

        margin: 0 6px 2px !important;
        padding: 9px 15px !important;

        background: #fff !important;
        color: #8f7447 !important;

        border: 1px solid #b5955b !important;
        border-radius: 8px !important;

        font-size: 13px !important;
        line-height: 1 !important;
        font-weight: 500 !important;

        text-decoration: none !important;

        box-shadow: none !important;

        transition:
            background .2s ease,
            color .2s ease,
            border-color .2s ease !important;
    }

    .category-article-sidebar__link:hover {
        background: #b5955b !important;
        color: #fff !important;
        border-color: #b5955b !important;
    }
}
/* ==========================================================
   ЕДИНЫЙ СТИЛЬ ССЫЛОК И ПЕРЕЛИНКОВКИ ПО ВСЕМУ САЙТУ

   Работает:
   - главная
   - категории и подкатегории любого уровня
   - SEO-тексты категорий
   - статьи
   - записи
   - доставка / оплата / гарантия / возврат
   ========================================================== */


/* ==========================================================
   1. СПИСКИ-ПЕРЕЛИНКОВКИ
   ========================================================== */

:is(
    .home-text,
    .term-description,
    .entry-content
) ul:has(> li > a) {

    display: block !important;

    margin: 12px 0 18px !important;
    padding: 0 !important;

    list-style: none !important;
}


/* Пункты */
:is(
    .home-text,
    .term-description,
    .entry-content
) ul:has(> li > a) > li:has(> a) {

    display: block !important;

    margin: 0 0 6px !important;
    padding: 0 !important;

    list-style: none !important;
}


/* Убираем кружки */
:is(
    .home-text,
    .term-description,
    .entry-content
) ul:has(> li > a) > li:has(> a)::before {

    content: none !important;
    display: none !important;
}

:is(
    .home-text,
    .term-description,
    .entry-content
) ul:has(> li > a) > li:has(> a)::marker {

    content: none !important;
}


/* Ссылка-плашка */
:is(
    .home-text,
    .term-description,
    .entry-content
) ul:has(> li > a) > li > a {

    display: inline-flex !important;
    align-items: center !important;

    width: auto !important;
    max-width: 100% !important;
    min-height: 34px !important;

    margin: 0 !important;
    padding: 7px 12px !important;

    background: #faf7f1 !important;
    color: #806a45 !important;

    border: 1px solid rgba(181, 149, 91, 0.40) !important;
    border-radius: 8px !important;

    font-size: 14px !important;
    line-height: 1.25 !important;
    font-weight: 400 !important;

    text-decoration: none !important;

    box-shadow: none !important;

    transition:
        background-color .18s ease,
        border-color .18s ease,
        color .18s ease !important;
}


/* Стрелочка */
:is(
    .home-text,
    .term-description,
    .entry-content
) ul:has(> li > a) > li > a::after {

    content: "›" !important;

    display: inline-block !important;

    margin-left: 7px !important;

    color: #b5955b !important;

    font-size: 16px !important;
    line-height: 1 !important;
}


/* Наведение */
:is(
    .home-text,
    .term-description,
    .entry-content
) ul:has(> li > a) > li > a:hover {

    background: #b5955b !important;
    color: #fff !important;

    border-color: #b5955b !important;
}

:is(
    .home-text,
    .term-description,
    .entry-content
) ul:has(> li > a) > li > a:hover::after {

    color: #fff !important;
}


/* Последний пункт */
:is(
    .home-text,
    .term-description,
    .entry-content
) ul:has(> li > a) > li:has(> a):last-child {

    margin-bottom: 0 !important;
}


/* ==========================================================
   2. ССЫЛКИ ПРЯМО ВНУТРИ SEO-ТЕКСТА / АБЗАЦЕВ
   ========================================================== */

:is(
    .home-text,
    .term-description,
    .entry-content
) p a:not(.salon-category__button) {

    color: #9a7b49 !important;

    font-weight: 500 !important;

    text-decoration-line: underline !important;
    text-decoration-thickness: 1px !important;
    text-decoration-color: rgba(181, 149, 91, 0.48) !important;
    text-underline-offset: 3px !important;

    background: transparent !important;

    transition:
        color .18s ease,
        text-decoration-color .18s ease !important;
}


/* Наведение на ссылку внутри текста */
:is(
    .home-text,
    .term-description,
    .entry-content
) p a:not(.salon-category__button):hover {

    color: #765d38 !important;

    text-decoration-color: #b5955b !important;
}


/* Посещённая ссылка остаётся в фирменном цвете */
:is(
    .home-text,
    .term-description,
    .entry-content
) p a:not(.salon-category__button):visited {

    color: #9a7b49 !important;
}


/* ==========================================================
   3. ОТДЕЛЬНЫЕ КНОПКИ В СТАТЬЯХ
   Например "Посмотреть парикмахерские кресла"
   ========================================================== */

.entry-content .salon-category__button {

    display: inline-flex !important;
    align-items: center !important;

    width: auto !important;
    max-width: 100% !important;
    min-height: 36px !important;

    margin: 5px 0 12px !important;
    padding: 8px 13px !important;

    background: #faf7f1 !important;
    color: #806a45 !important;

    border: 1px solid rgba(181, 149, 91, 0.42) !important;
    border-radius: 8px !important;

    font-size: 14px !important;
    line-height: 1.25 !important;
    font-weight: 400 !important;

    text-decoration: none !important;

    box-shadow: none !important;

    transition:
        background-color .18s ease,
        border-color .18s ease,
        color .18s ease !important;
}


.entry-content .salon-category__button::after {

    content: "›" !important;

    margin-left: 8px !important;

    color: #b5955b !important;

    font-size: 16px !important;
    line-height: 1 !important;
}


.entry-content .salon-category__button:hover {

    background: #b5955b !important;
    color: #fff !important;

    border-color: #b5955b !important;
}


.entry-content .salon-category__button:hover::after {

    color: #fff !important;
}


/* ==========================================================
   4. МОБИЛЬНЫЕ
   ========================================================== */

@media (max-width: 767px) {

    :is(
        .home-text,
        .term-description,
        .entry-content
    ) ul:has(> li > a) {

        margin: 10px 0 15px !important;
    }


    :is(
        .home-text,
        .term-description,
        .entry-content
    ) ul:has(> li > a) > li:has(> a) {

        margin-bottom: 5px !important;
    }


    :is(
        .home-text,
        .term-description,
        .entry-content
    ) ul:has(> li > a) > li > a {

        min-height: 32px !important;

        padding: 6px 10px !important;

        font-size: 13px !important;

        white-space: normal !important;
    }


    .entry-content .salon-category__button {

        min-height: 32px !important;

        padding: 6px 10px !important;

        font-size: 13px !important;

        white-space: normal !important;
    }
}


/* ==========================================================
   ШАПКА — ОДИН ОСНОВНОЙ ТЕЛЕФОН
   ========================================================== */

@media (min-width: 768px) {
    header#masthead .header-phone {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        justify-content: center !important;
        min-height: 0 !important;
        gap: 3px !important;
    }

    header#masthead .header-phone__item a {
        font-size: 19px !important;
        line-height: 1.15 !important;
        font-weight: 600 !important;
        letter-spacing: .15px !important;
        white-space: nowrap !important;
        color: #302e2e !important;
        text-decoration: none !important;
    }

    header#masthead .header-phone::after {
        content: "WhatsApp · Telegram · MAX";
        display: block !important;
        font-size: 10.5px !important;
        line-height: 1.2 !important;
        font-weight: 500 !important;
        letter-spacing: .1px !important;
        color: #9a8568 !important;
        white-space: nowrap !important;
    }
}

@media (max-width: 767px) {
    header#masthead .header-phone {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        min-height: 0 !important;
        height: auto !important;
        margin: 0 !important;
        padding: 0 !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    header#masthead .header-phone__item {
        display: block !important;
        min-height: 0 !important;
        height: auto !important;
        margin: 0 !important;
        padding: 0 !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    header#masthead .header-phone__item a {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        min-height: 36px !important;
        margin: 0 !important;
        padding: 8px 11px !important;
        box-sizing: border-box !important;

        background: #b79b72 !important;
        border: 1px solid #b79b72 !important;
        border-radius: 9px !important;
        box-shadow: 0 3px 10px rgba(48, 46, 46, .10) !important;

        color: #ffffff !important;
        font-size: 13.5px !important;
        line-height: 1 !important;
        font-weight: 600 !important;
        letter-spacing: .05px !important;
        text-decoration: none !important;
        white-space: nowrap !important;

        visibility: visible !important;
        opacity: 1 !important;
    }

    header#masthead .header-phone::after {
        content: none !important;
        display: none !important;
    }
}

@media (max-width: 420px) {
    header#masthead .header-phone__item a {
        min-height: 34px !important;
        padding: 7px 9px !important;
        font-size: 12.5px !important;
    }
}
