/* =========================================================
   ANASTASIA NYKYTENKO COSMETOLOGY
   ОБЩИЙ CSS САЙТА
   ========================================================= */


/* =========================================================
   1. ЕДИНЫЙ ШРИФТ
   ========================================================= */

html,
body,
body *,
button,
input,
textarea,
select {
    font-family: "Montserrat", Arial, Helvetica, sans-serif !important;
}


/* =========================================================
   2. ОБЩИЕ НАСТРОЙКИ
   ========================================================= */

html,
body {
    overflow-x: hidden !important;
}

*,
*:before,
*:after {
    box-sizing: border-box;
}


/* =========================================================
   3. МАГАЗИН — ЗАГОЛОВОК
   УБИРАЕМ "АРХИВЫ:"
   ========================================================= */

body.post-type-archive-product
h1.cmsmasters-widget-title__heading {
    font-size: 0 !important;
    line-height: 1.1 !important;
    margin-bottom: 25px !important;
}

body.post-type-archive-product
h1.cmsmasters-widget-title__heading::after {
    content: "Магазин";
    display: block !important;
    font-size: 60px !important;
    line-height: 1.1 !important;
    font-weight: 400 !important;
    color: #111111 !important;
}

body.post-type-archive-product .page-title {
    font-size: 0 !important;
    line-height: 1.1 !important;
}

body.post-type-archive-product .page-title::after {
    content: "Магазин";
    display: block !important;
    font-size: 60px !important;
    line-height: 1.1 !important;
    font-weight: 400 !important;
    color: #111111 !important;
}


/* =========================================================
   4. МАГАЗИН — КОМПЬЮТЕР
   4 ТОВАРА В РЯД
   ========================================================= */

.woocommerce ul.products {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    column-gap: 22px !important;
    row-gap: 55px !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 30px !important;
    box-sizing: border-box !important;
}


/* =========================================================
   5. КАРТОЧКА ТОВАРА
   ========================================================= */

.woocommerce ul.products li.product {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;

    display: flex !important;
    flex-direction: column !important;

    box-sizing: border-box !important;
}


/* =========================================================
   6. КАРТИНКИ ТОВАРОВ
   ========================================================= */

.woocommerce ul.products li.product img {
    width: 100% !important;
    max-width: 210px !important;
    height: 250px !important;

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

    display: block !important;
    margin: 0 auto 18px !important;
}


/* =========================================================
   7. НАЗВАНИЕ ТОВАРА
   ========================================================= */

.woocommerce ul.products li.product
.woocommerce-loop-product__title {
    width: 100% !important;

    min-height: 48px !important;

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

    font-size: 17px !important;
    line-height: 1.35 !important;
    font-weight: 400 !important;

    color: #111111 !important;

    text-align: left !important;
}


/* =========================================================
   8. ЦЕНА
   ========================================================= */

.woocommerce ul.products li.product .price,
.woocommerce .price,
.woocommerce .amount {
    color: #805889 !important;
}

.woocommerce ul.products li.product .price {
    width: 100% !important;

    min-height: 24px !important;

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

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

    box-sizing: border-box !important;
}


/* =========================================================
   9. КНОПКА "В КОРЗИНУ"
   ========================================================= */

.woocommerce ul.products li.product
.add_to_cart_button {
    width: 100% !important;

    min-height: 58px !important;

    margin-top: auto !important;
    padding: 15px 10px !important;

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

    text-align: center !important;

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

    border-radius: 0 !important;

    box-sizing: border-box !important;
}

.woocommerce ul.products li.product
.add_to_cart_button .button-text {
    width: 100% !important;

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

    text-align: center !important;
    line-height: 1.2 !important;
}


/* =========================================================
   10. МОБИЛЬНЫЙ МАГАЗИН
   3 ТОВАРА В РЯД — ИСПРАВЛЕННАЯ ВЕРСИЯ
   ========================================================= */

@media only screen and (max-width: 767px) {

    html,
    body {
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: hidden !important;
    }

    /* -----------------------------------------------------
       КОНТЕЙНЕР МАГАЗИНА
       ----------------------------------------------------- */

    body.post-type-archive-product .woocommerce,
    body.woocommerce-shop .woocommerce,
    .woocommerce {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        box-sizing: border-box !important;
    }


    /* -----------------------------------------------------
       ЗАГОЛОВОК МАГАЗИНА
       ----------------------------------------------------- */

    body.post-type-archive-product
    h1.cmsmasters-widget-title__heading {
        margin: 0 0 20px !important;
        padding: 0 16px !important;
    }

    body.post-type-archive-product
    h1.cmsmasters-widget-title__heading::after {
        font-size: 36px !important;
        line-height: 1.15 !important;
        text-align: left !important;
    }

    body.post-type-archive-product
    .page-title::after {
        font-size: 36px !important;
        line-height: 1.15 !important;
        text-align: left !important;
    }


    /* -----------------------------------------------------
       ГЛАВНОЕ:
       3 ТОВАРА В РЯД
       ПЕРЕБИВАЕМ 2 / 3 / 4 КОЛОНКИ ТЕМЫ
       ----------------------------------------------------- */

    body.woocommerce ul.products,
    body.woocommerce-page ul.products,
    body.woocommerce-shop ul.products,
    body.post-type-archive-product ul.products,
    .woocommerce ul.products,
    .woocommerce-page ul.products,
    ul.products.products,
    ul.products[class*="columns-"] {

        display: grid !important;

        grid-template-columns:
            repeat(3, minmax(0, 1fr)) !important;

        grid-auto-columns: auto !important;
        grid-auto-flow: row !important;

        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;

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

        column-gap: 8px !important;
        row-gap: 35px !important;

        box-sizing: border-box !important;

        float: none !important;
        flex-wrap: unset !important;
    }


    /* -----------------------------------------------------
       КАРТОЧКА ТОВАРА
       ----------------------------------------------------- */

    body.woocommerce ul.products li.product,
    body.woocommerce-page ul.products li.product,
    body.woocommerce-shop ul.products li.product,
    body.post-type-archive-product ul.products li.product,
    .woocommerce ul.products li.product,
    .woocommerce-page ul.products li.product,
    ul.products.products li.product {

        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;

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

        display: flex !important;
        flex-direction: column !important;

        box-sizing: border-box !important;

        float: none !important;

        grid-column: auto !important;
        grid-row: auto !important;

        flex: none !important;
        flex-basis: auto !important;
    }


    /* -----------------------------------------------------
       КАРТИНКА ТОВАРА
       ----------------------------------------------------- */

    body.woocommerce ul.products li.product img,
    body.woocommerce-page ul.products li.product img,
    body.woocommerce-shop ul.products li.product img,
    body.post-type-archive-product ul.products li.product img,
    .woocommerce ul.products li.product img {

        width: 100% !important;
        max-width: 100px !important;
        height: 115px !important;

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

        display: block !important;

        margin: 0 auto 10px !important;
    }


    /* -----------------------------------------------------
       НАЗВАНИЕ ТОВАРА
       ----------------------------------------------------- */

    body.woocommerce ul.products li.product
    .woocommerce-loop-product__title,
    body.woocommerce-page ul.products li.product
    .woocommerce-loop-product__title,
    .woocommerce ul.products li.product
    .woocommerce-loop-product__title {

        width: 100% !important;
        min-width: 0 !important;
        min-height: 48px !important;

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

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

        color: #111111 !important;

        text-align: left !important;

        overflow: hidden !important;

        box-sizing: border-box !important;
    }


    /* -----------------------------------------------------
       ЦЕНА
       ----------------------------------------------------- */

    body.woocommerce ul.products li.product .price,
    body.woocommerce-page ul.products li.product .price,
    .woocommerce ul.products li.product .price {

        width: 100% !important;
        min-height: 20px !important;

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

        font-size: 14px !important;
        line-height: 1.2 !important;

        color: #805889 !important;

        box-sizing: border-box !important;
    }


    /* -----------------------------------------------------
       КНОПКА "В КОРЗИНУ"
       ----------------------------------------------------- */

    body.woocommerce ul.products li.product
    .add_to_cart_button,
    body.woocommerce-page ul.products li.product
    .add_to_cart_button,
    .woocommerce ul.products li.product
    .add_to_cart_button {

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

        min-height: 42px !important;

        margin-top: auto !important;
        padding: 7px 2px !important;

        display: flex !important;

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

        text-align: center !important;

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

        box-sizing: border-box !important;
    }


    /* -----------------------------------------------------
       ТЕКСТ КНОПКИ
       ----------------------------------------------------- */

    body.woocommerce ul.products li.product
    .add_to_cart_button .button-text,
    body.woocommerce-page ul.products li.product
    .add_to_cart_button .button-text,
    .woocommerce ul.products li.product
    .add_to_cart_button .button-text {

        width: 100% !important;

        display: flex !important;

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

        text-align: center !important;

        line-height: 1.1 !important;
    }
}


/* =========================================================
   11. ОЧЕНЬ УЗКИЙ ТЕЛЕФОН
   ========================================================= */


   ========================================================= */

@media (max-width: 360px) {

    .woocommerce ul.products {
        padding-left: 8px !important;
        padding-right: 8px !important;
        column-gap: 6px !important;
    }

    .woocommerce ul.products li.product img {
        max-width: 88px !important;
        height: 105px !important;
    }

    .woocommerce ul.products li.product
    .woocommerce-loop-product__title {
        font-size: 11px !important;
        min-height: 45px !important;
    }

    .woocommerce ul.products li.product .price {
        font-size: 13px !important;
    }

    .woocommerce ul.products li.product
    .add_to_cart_button {
        min-height: 40px !important;
        font-size: 9px !important;
    }
}


/* =========================================================
   12. ТЕКСТ НА МОБИЛЬНОМ
   КРАСИВЫЕ ОТСТУПЫ
   ========================================================= */

@media (max-width: 767px) {

    .elementor-widget-text-editor {
        width: 100% !important;
        max-width: 100% !important;

        padding-left: 26px !important;
        padding-right: 26px !important;

        margin-left: auto !important;
        margin-right: auto !important;
    }

    .elementor-widget-text-editor p {
        margin-left: 0 !important;
        margin-right: 0 !important;

        line-height: 1.55 !important;
    }

    .elementor-widget-heading {
        width: 100% !important;
        max-width: 100% !important;

        padding-left: 26px !important;
        padding-right: 26px !important;

        margin-left: auto !important;
        margin-right: auto !important;
    }
}


/* =========================================================
   13. ОБЩИЙ ТЕКСТ
   ========================================================= */

.elementor-widget-text-editor p {
    line-height: 1.55 !important;
    margin-bottom: 16px !important;
}

.elementor-widget-text-editor ul,
.elementor-widget-text-editor ol {
    line-height: 1.55 !important;
}


/* =========================================================
   14. ЗАГОЛОВКИ
   ========================================================= */

.elementor-widget-heading {
    box-sizing: border-box !important;
}

.elementor-widget-heading
.elementor-heading-title {
    line-height: 1.2 !important;
}


@media (max-width: 767px) {

    h1,
    h2,
    h3,
    h4 {
        line-height: 1.2 !important;
        word-break: normal !important;
        overflow-wrap: break-word !important;
    }
}


/* =========================================================
   15. ИЗОБРАЖЕНИЯ
   ========================================================= */

.elementor-widget-image {
    text-align: center !important;
    box-sizing: border-box !important;
}

.elementor-widget-image img {
    max-width: 100% !important;
    height: auto !important;

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

    display: block !important;

    margin-left: auto !important;
    margin-right: auto !important;
}


@media (max-width: 767px) {

    .elementor-widget-image img {
        max-width: 92% !important;
        height: auto !important;

        margin-left: auto !important;
        margin-right: auto !important;
    }
}


/* =========================================================
   16. ДОСТАВКА / ВОЗВРАТ / ПОЛИТИКА
   КАРТИНКА СВЕРХУ
   ТЕКСТ СНИЗУ
   ========================================================= */

@media (max-width: 767px) {

    .refund-image,
    .delivery-image,
    .return-image {
        width: 100% !important;

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

        margin: 0 auto 25px !important;
    }

    .refund-image img,
    .delivery-image img,
    .return-image img {
        width: 100% !important;
        max-width: 360px !important;

        height: auto !important;

        object-fit: contain !important;

        margin: 0 auto !important;
    }
}


/* =========================================================
   17. ЦЕНТРИРОВАНИЕ
   ========================================================= */

.text-center,
.text-center p {
    text-align: center !important;
}

.elementor-align-center {
    text-align: center !important;
}


/* =========================================================
   18. POPUP ЗАПИСИ
   ========================================================= */

.elementor-popup-modal
.dialog-widget-content {
    border-radius: 18px !important;

    overflow: hidden !important;

    box-shadow:
        0 15px 50px rgba(0, 0, 0, 0.15) !important;

    box-sizing: border-box !important;
}


/* Заголовок */

.elementor-popup-modal h1,
.elementor-popup-modal h2,
.elementor-popup-modal h3 {
    text-align: center !important;

    line-height: 1.2 !important;

    margin-left: auto !important;
    margin-right: auto !important;
}


/* Текст */

.elementor-popup-modal
.elementor-widget-text-editor {
    text-align: center !important;

    padding-left: 20px !important;
    padding-right: 20px !important;
}


/* =========================================================
   19. КНОПКИ POPUP
   ========================================================= */

.elementor-popup-modal .elementor-button {
    width: 100% !important;

    min-height: 68px !important;

    padding: 16px 25px !important;

    margin-left: auto !important;
    margin-right: auto !important;

    display: flex !important;

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

    background-color: #805889 !important;

    color: #ffffff !important;

    border: none !important;
    border-radius: 4px !important;

    text-align: center !important;

    font-size: 16px !important;
    font-weight: 500 !important;
    line-height: 1.25 !important;

    box-sizing: border-box !important;

    transition: all 0.3s ease !important;
}


.elementor-popup-modal
.elementor-button-text {
    width: 100% !important;

    display: flex !important;

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

    color: #ffffff !important;

    text-align: center !important;

    line-height: 1.25 !important;
}


.elementor-popup-modal
.elementor-button-icon {
    color: #ffffff !important;
}


.elementor-popup-modal
.elementor-button:hover {
    background-color: #6f4b78 !important;
    color: #ffffff !important;
}


/* =========================================================
   20. POPUP НА ТЕЛЕФОНЕ
   ========================================================= */

@media (max-width: 767px) {

    .elementor-popup-modal
    .dialog-widget-content {
        width: calc(100% - 30px) !important;
        max-width: 420px !important;

        margin: 15px auto !important;

        border-radius: 18px !important;
    }


    .elementor-popup-modal
    .dialog-message {
        padding: 25px 20px 30px !important;
        box-sizing: border-box !important;
    }


    .elementor-popup-modal h1,
    .elementor-popup-modal h2,
    .elementor-popup-modal h3 {
        font-size: 28px !important;
        line-height: 1.2 !important;

        text-align: center !important;

        margin-bottom: 25px !important;
    }


    .elementor-popup-modal
    .elementor-button {
        width: 100% !important;

        min-height: 62px !important;

        padding: 12px 18px !important;

        margin-bottom: 12px !important;

        font-size: 15px !important;
        line-height: 1.25 !important;

        display: flex !important;

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

        text-align: center !important;
    }


    .elementor-popup-modal
    .elementor-button-text {
        width: 100% !important;

        display: flex !important;

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

        text-align: center !important;
    }
}


/* =========================================================
   21. КНОПКА "НАВЕРХ"
   ========================================================= */

.cmsmasters-top-icon {
    background-color: #805889 !important;
}


/* =========================================================
   22. ELEMENTOR — МОБИЛЬНАЯ ШИРИНА
   ========================================================= */

@media (max-width: 767px) {

    .elementor-section,
    .elementor-container,
    .elementor-column,
    .elementor-widget-wrap {
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
}


/* =========================================================
   23. КНОПКА "ЗАПИСАТИСЯ" В ШАПКЕ — КОМПЬЮТЕР
   ========================================================= */

@media (min-width: 768px) {

    header .elementor-widget-button
    a.elementor-button[href] {

        min-width: 110px !important;
        max-width: 120px !important;

        min-height: 42px !important;

        padding: 7px 12px !important;

        display: flex !important;

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

        text-align: center !important;

        font-family:
            "Montserrat",
            Arial,
            sans-serif !important;

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

        white-space: normal !important;

        background: #805889 !important;
        color: #ffffff !important;

        border-radius: 3px !important;

        box-sizing: border-box !important;
    }


    header .elementor-widget-button
    a.elementor-button[href]
    .elementor-button-text {

        color: #ffffff !important;

        text-align: center !important;

        line-height: 1.1 !important;
    }
}


/* =========================================================
   24. ЛОГОТИП
   ========================================================= */

@media (min-width: 768px) {

    header img {
        max-width: 190px !important;
        height: auto !important;
    }
}


/* =========================================================
   25. КНОПКА "ЗАПИСАТИСЯ" — ТЕЛЕФОН
   ========================================================= */

@media (max-width: 767px) {

    header .elementor-widget-button
    a.elementor-button[href] {

        min-width: 90px !important;
        max-width: 105px !important;

        min-height: 40px !important;

        padding: 7px 10px !important;

        display: flex !important;

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

        text-align: center !important;

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

        box-sizing: border-box !important;
    }
}


/* =========================================================
   26. МОБИЛЬНОЕ МЕНЮ
   ВОССТАНОВЛЕНИЕ ВИДИМОСТИ
   ========================================================= */

@media (max-width: 767px) {

    /* Кнопка MENU */

    .elementor-menu-toggle,
    .cmsmasters-menu-toggle,
    .cmsmasters-header-menu-toggle,
    .cmsmasters-mobile-menu-toggle,
    .menu-toggle,
    .mobile-menu-toggle {

        display: flex !important;

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

        position: relative !important;

        z-index: 99999 !important;

        cursor: pointer !important;
    }


    /* Контейнер мобильной навигации */

    .elementor-nav-menu--dropdown,
    .elementor-nav-menu__container,
    .cmsmasters-header-menu,
    .cmsmasters-mobile-menu,
    .cmsmasters-navigation,
    .mobile-navigation {

        z-index: 99998 !important;
    }


    /* Сам header должен быть выше контента */

    header,
    .elementor-location-header {

        position: relative !important;

        z-index: 99999 !important;
    }
}


/* =========================================================
   27. ELEMENTOR МОБИЛЬНОЕ ВЫПАДАЮЩЕЕ МЕНЮ
   ========================================================= */

@media (max-width: 767px) {

    .elementor-nav-menu--dropdown {

        position: absolute !important;

        left: 0 !important;
        right: 0 !important;

        width: 100% !important;

        max-width: 100% !important;

        z-index: 999999 !important;

        overflow: visible !important;
    }


    .elementor-nav-menu--dropdown ul {
        width: 100% !important;
    }


    .elementor-nav-menu--dropdown a {

        display: block !important;

        width: 100% !important;

        padding: 14px 20px !important;

        text-align: center !important;

        font-family:
            "Montserrat",
            Arial,
            sans-serif !important;

        font-size: 15px !important;

        line-height: 1.3 !important;
    }
}


/* =========================================================
   28. МОБИЛЬНОЕ МЕНЮ — ССЫЛКИ
   ========================================================= */

@media (max-width: 767px) {

    .elementor-nav-menu a,
    .cmsmasters-header-menu a,
    .cmsmasters-mobile-menu a,
    .mobile-navigation a {

        font-family:
            "Montserrat",
            Arial,
            sans-serif !important;

        color: #111111 !important;

        text-decoration: none !important;
    }


    .elementor-nav-menu a:hover,
    .cmsmasters-header-menu a:hover,
    .cmsmasters-mobile-menu a:hover,
    .mobile-navigation a:hover {

        color: #805889 !important;
    }
}


/* =========================================================
   29. ЗАПРЕТ ГОРИЗОНТАЛЬНОГО СКРОЛЛА
   ========================================================= */

@media (max-width: 767px) {

    body,
    html,
    .elementor,
    .elementor-location-header,
    .elementor-location-footer {

        max-width: 100% !important;

        overflow-x: hidden !important;
    }
}

/* =========================================================
   8. МОБИЛЬНАЯ ВЕРСИЯ — 3 ТОВАРА В РЯД
========================================================= */

@media (max-width: 767px) {

    /* Сам магазин */
    .woocommerce,
    .woocommerce-page {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
        overflow: visible !important;
    }

    /* Сетка товаров — 3 КОЛОНКИ */
    .woocommerce ul.products,
    .woocommerce-page ul.products {
        display: grid !important;
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;

        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;

        column-gap: 14px !important;
        row-gap: 55px !important;

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

        box-sizing: border-box !important;
    }

    /* Каждый товар */
    .woocommerce ul.products li.product,
    .woocommerce-page ul.products li.product {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;

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

        float: none !important;
        box-sizing: border-box !important;
    }

    /* Фотографии */
    .woocommerce ul.products li.product img,
    .woocommerce-page ul.products li.product img {
        display: block !important;

        width: 100% !important;
        max-width: 100% !important;
        height: 220px !important;

        margin: 0 auto 18px !important;

        object-fit: contain !important;
        box-sizing: border-box !important;
    }

    /* Название */
    .woocommerce ul.products li.product .woocommerce-loop-product__title,
    .woocommerce-page ul.products li.product .woocommerce-loop-product__title {
        font-size: 16px !important;
        line-height: 1.35 !important;

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

        text-align: center !important;
    }

    /* Цена */
    .woocommerce ul.products li.product .price,
    .woocommerce-page ul.products li.product .price {
        display: block !important;

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

        margin: 0 0 16px !important;

        text-align: center !important;
    }

    /* Кнопка */
    .woocommerce ul.products li.product a.button,
    .woocommerce ul.products li.product .button,
    .woocommerce-page ul.products li.product a.button,
    .woocommerce-page ul.products li.product .button {
        display: flex !important;

        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;

        min-height: 48px !important;

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

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

        box-sizing: border-box !important;

        font-size: 12px !important;
        line-height: 1.2 !important;

        text-align: center !important;
        white-space: normal !important;
    }

    /* Заголовок магазина */
    body.post-type-archive-product h1,
    body.woocommerce-shop h1 {
        text-align: center !important;
    }
}

/* =========================================================
   9. ОЧЕНЬ УЗКИЕ ТЕЛЕФОНЫ
========================================================= */

@media (max-width: 360px) {

    .woocommerce ul.products,
    .woocommerce-page ul.products {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;

        column-gap: 8px !important;

        padding-left: 12px !important;
        padding-right: 12px !important;
    }

    .woocommerce ul.products li.product img,
    .woocommerce-page ul.products li.product img {
        height: 180px !important;
    }

    .woocommerce ul.products li.product .woocommerce-loop-product__title,
    .woocommerce-page ul.products li.product .woocommerce-loop-product__title {
        font-size: 13px !important;
    }

    .woocommerce ul.products li.product .price,
    .woocommerce-page ul.products li.product .price {
        font-size: 15px !important;
    }

    .woocommerce ul.products li.product a.button,
    .woocommerce ul.products li.product .button,
    .woocommerce-page ul.products li.product a.button,
    .woocommerce-page ul.products li.product .button {
        min-height: 42px !important;
        font-size: 10px !important;
    }
}

/* CMSMASTERS — ПОЛНОЕ КРАТКОЕ ОПИСАНИЕ ТОВАРА */
.cmsmasters-woo-product-short-description, .elementor-widget-cmsmasters-woo-product-short-description { height: auto !important; max-height: none !important; overflow: visible !important; }
.cmsmasters-woo-product-short-description .entry-content { height: auto !important; max-height: none !important; overflow: visible !important;
display: block !important;

-webkit-line-clamp: unset !important;
line-clamp: unset !important;
-webkit-box-orient: initial !important;

text-overflow: clip !important;
}
/* Убираем ограничение CMSMasters */ .cmsmasters-line-clamp { height: auto !important; max-height: none !important; overflow: visible !important;
-webkit-line-clamp: unset !important;
line-clamp: unset !important;
}
/* Телефон */ @media (max-width: 767px) {
.cmsmasters-woo-product-short-description,
.elementor-widget-cmsmasters-woo-product-short-description,
.cmsmasters-woo-product-short-description .entry-content {
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;

    -webkit-line-clamp: unset !important;
    line-clamp: unset !important;
}
}


/* Убираем обрезание описания товаров CMSMasters */

.cmsmasters-woo-product-short-description.cmsmasters-line-clamp {
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    display: block !important;
    -webkit-line-clamp: unset !important;
    line-clamp: unset !important;
}

.cmsmasters-woo-product-short-description.cmsmasters-line-clamp .entry-content {
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    display: block !important;
    -webkit-line-clamp: unset !important;
    line-clamp: unset !important;
    -webkit-box-orient: initial !important;
    text-overflow: clip !important;
}

/* =========================================================
   УБИРАЕМ ОБРЕЗАНИЕ НАЗВАНИЙ ТОВАРОВ
   ========================================================= */

.woocommerce ul.products li.product .entry-title,
.woocommerce ul.products li.product h1.entry-title,
.woocommerce ul.products li.product .cmsmasters-widget-title__heading {
    display: block !important;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    white-space: normal !important;
    text-overflow: clip !important;
    -webkit-line-clamp: unset !important;
    line-clamp: unset !important;
}

/* CMSMasters */
.cmsmasters-woo-product-title,
.cmsmasters-woo-product-title * {
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    -webkit-line-clamp: unset !important;
    line-clamp: unset !important;
    text-overflow: clip !important;
}

