:root {
	--wd-text-font: "Gilroy Normal", Arial, Helvetica, sans-serif;
	--wd-text-font-weight: 400;
	--wd-text-color: rgb(96,96,96);
	--wd-text-font-size: 14px;
	--wd-title-font: "Gilroy Bold", Arial, Helvetica, sans-serif;
	--wd-title-font-weight: 400;
	--wd-title-color: #242424;
	--wd-entities-title-font: "Gilroy Normal", Arial, Helvetica, sans-serif;
	--wd-entities-title-font-weight: 500;
	--wd-entities-title-color: #333333;
	--wd-entities-title-color-hover: rgb(51 51 51 / 65%);
	--wd-alternative-font: "Gilroy Normal", Arial, Helvetica, sans-serif;
	--wd-widget-title-font: "Gilroy Semibold", Arial, Helvetica, sans-serif;
	--wd-widget-title-font-weight: 600;
	--wd-widget-title-transform: uppercase;
	--wd-widget-title-color: #333;
	--wd-widget-title-font-size: 16px;
	--wd-header-el-font: "Gilroy Bold", Arial, Helvetica, sans-serif;
	--wd-header-el-font-weight: 700;
	--wd-header-el-transform: uppercase;
	--wd-header-el-font-size: 13px;
	--wd-otl-style: dotted;
	--wd-otl-width: 2px;
	--wd-primary-color: #83b735;
	--wd-alternative-color: #fbbc34;
	--btn-default-font-family: "PT Sans", Arial, Helvetica, sans-serif;
	--btn-default-bgcolor: #f7f7f7;
	--btn-default-bgcolor-hover: #efefef;
	--btn-accented-font-family: "PT Sans", Arial, Helvetica, sans-serif;
	--btn-accented-bgcolor: #83b735;
	--btn-accented-bgcolor-hover: #74a32f;
	--wd-form-brd-width: 2px;
	--notices-success-bg: #459647;
	--notices-success-color: #fff;
	--notices-warning-bg: rgb(255,58,58);
	--notices-warning-color: #fff;
	--wd-link-color: #333333;
	--wd-link-color-hover: #242424;
}
.wd-age-verify-wrap {
	--wd-popup-width: 500px;
}
.wd-popup.wd-promo-popup {
	background-color: #111111;
	background-image: url();
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center center;
}
.wd-promo-popup-wrap {
	--wd-popup-width: 800px;
}
:is(.woodmart-woocommerce-layered-nav, .wd-product-category-filter) .wd-scroll-content {
	max-height: 200px;
}
.wd-page-title .wd-page-title-bg img {
	object-fit: cover;
	object-position: center center;
}
.wd-footer {
	background-image: url(https://topiari-king.ru/wp-content/uploads/include/bckgrnd.jpg);
	background-repeat: no-repeat;
	background-size: cover;
}
html .product-image-summary-wrap .product_title, html .wd-single-title .product_title {
	font-family: "PT Sans", Arial, Helvetica, sans-serif;
	font-weight: 700;
	font-size: 22px;
	line-height: 22px;
	text-transform: uppercase;
}
.mfp-wrap.wd-popup-quick-view-wrap {
	--wd-popup-width: 920px;
}
:root{
--wd-container-w: 1400px;
--wd-form-brd-radius: 5px;
--btn-default-color: #333;
--btn-default-color-hover: #333;
--btn-accented-color: #fff;
--btn-accented-color-hover: #fff;
--btn-default-brd-radius: 5px;
--btn-default-box-shadow: none;
--btn-default-box-shadow-hover: none;
--btn-accented-brd-radius: 5px;
--btn-accented-box-shadow: none;
--btn-accented-box-shadow-hover: none;
--wd-brd-radius: 12px;
--wd-cat-brd-radius: 12px;
}

@media (min-width: 1400px) {
section.elementor-section.wd-section-stretch > .elementor-container {
margin-left: auto;
margin-right: auto;
}
}


.wd-page-title {
background-color: rgb(255,255,255);
}

@font-face {
	font-family: "Gilroy Ultra-Light";
	src: url("//topiari-king.ru/wp-content/uploads/fonts/gilroy-ultralight.woff") format("woff");
	font-weight: 100;
	font-style: normal;
}

@font-face {
	font-family: "Gilroy Light";
	src: url("//topiari-king.ru/wp-content/uploads/fonts/gilroy-light.woff") format("woff");
	font-weight: 200;
	font-style: normal;
}

@font-face {
	font-family: "Gilroy Thin";
	src: url("//topiari-king.ru/wp-content/uploads/fonts/gilroy-thin.woff") format("woff");
	font-weight: 300;
	font-style: normal;
}

@font-face {
	font-family: "Gilroy Normal";
	src: url("//topiari-king.ru/wp-content/uploads/fonts/gilroy-regular.woff") format("woff");
	font-weight: 400;
	font-style: normal;
}

@font-face {
	font-family: "Gilroy Medium";
	src: url("//topiari-king.ru/wp-content/uploads/fonts/gilroy-medium.woff") format("woff");
	font-weight: 500;
	font-style: normal;
}

@font-face {
	font-family: "Gilroy Semibold";
	src: url("//topiari-king.ru/wp-content/uploads/fonts/gilroy-semibold.woff") format("woff");
	font-weight: 600;
	font-style: normal;
}

@font-face {
	font-family: "Gilroy Bold";
	src: url("//topiari-king.ru/wp-content/uploads/fonts/gilroy-bold.woff") format("woff");
	font-weight: 700;
	font-style: normal;
}

@font-face {
	font-family: "Gilroy Extra-Bold";
	src: url("//topiari-king.ru/wp-content/uploads/fonts/gilroy-extrabold.woff") format("woff");
	font-weight: 800;
	font-style: normal;
}

@font-face {
	font-family: "Gilroy Heavy-Bold";
	src: url("//topiari-king.ru/wp-content/uploads/fonts/gilroy-heavy.woff") format("woff");
	font-weight: 400;
	font-style: normal;
}

/*
 Theme Name:   Woodmart Child
 Description:  Woodmart Child Theme
 Author:       XTemos
 Author URI:   http://xtemos.com
 Template:     woodmart
 Version:      1.0.0
 Text Domain:  woodmart
*/

.elementor iframe[src*="yandex.ru/sprav/widget/rating-badge"] {
  width: 150px !important;
  max-width: 100% !important;
  height: 50px !important;
  display: block;
}

.zakaz-zvonka-button {
    background-color: rgba(131, 183, 53, 1);
    color: #fff;
    padding: 10px;
    text-align: center;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 5px;
    cursor: pointer;
}
.popup-zakaz-form-wrapper {
    display: none;
    position: fixed;
    background: #fff;
    width: max-content;
    max-width: 530px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    padding: 30px;
    border-radius: 15px;
    z-index: 10;
    box-shadow: 0px 0px 65px 50px rgba(34, 41, 47, 0.2);
}
.popup-zakaz-form-wrapper.open {
    display: block;
    /* display: none; */
}
.popup-zakaz-form-title {
    text-align: center;
    font-weight: 700;
    font-size: 25px;
    color: #2d2626;
}
.zakaz-zvonka-licence fieldset legend {
    display: none !important;
}
.popup-zakaz-form-wrapper .wpforms-field-container input {
    width: 100%;
}
.zakaz-zvonka-form-btn-otpr {
    background-color: rgba(131, 183, 53, 1) !important;
    text-align: center;
    margin: 0 auto !important;
    display: block;
    padding: 0 25px !important;
    border-radius: 5px !important;
}
.popup-zakaz-form-close {
    position: absolute;
    top: 15px;
    right: 25px;
    text-transform: lowercase;
    font-size: 20px;
    font-weight: 700;
    cursor: pointer;
}
.zakaz-zvonka-licence label a {
    color: rgba(131, 183, 53, 1);
    text-decoration: underline;
}

/*Виджет фильтра цен*/
.custom-price-filter {
    padding: 16px;
    background: #fff;
    border: 1px solid rgba(0,0,0,.08);
    border-radius: 12px;
}

.custom-price-filter__fields {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.custom-price-filter__field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.custom-price-filter__field label {
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.custom-price-filter__field input {
    height: 42px;
    padding: 0 12px;
    border: 1px solid #dcdcdc;
    border-radius: 8px;
    font-size: 14px;
    width: 100%;
    box-sizing: border-box;
}

.custom-price-filter__actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 15px;
}

.custom-price-filter__submit,
.custom-price-filter__reset {
    background: #90B44C;
    color: #ffffff;
    border-radius: 5px;
    border: none;
    min-height: 42px;
    padding: 10px 18px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.custom-price-filter__submit:hover,
.custom-price-filter__reset:hover {
    background: #7ea13e;
    color: #ffffff;
}

@media (max-width: 767px) {
    .custom-price-filter__actions {
        flex-direction: column;
    }

    .custom-price-filter__submit,
    .custom-price-filter__reset {
        width: 100%;
    }
}

.wd-products-nav .wd-dropdown {
    min-width: 320px !important;
}

/*СТРАНИЦА О КОМПАНИИ*/

.parent {
    display: grid;
    grid-template-columns: 55% 45%;
    grid-template-rows: 213px 284px 263px;
    grid-column-gap: 0px;
    grid-row-gap: 0px;
    position: relative;
    max-width: 1351px;
}

.div1, .div2, .div3, .div4 {
    z-index: 2;
}

.div1 {
    grid-area: 1 / 2 / 2 / 3;
    margin-left: 80px;
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 475px;
}

.div2 {
    grid-area: 1 / 1 / 3 / 2;
    background-image: url("https://topiari-king.ru/wp-content/uploads/product_photos/_-2.png");
    background-repeat: no-repeat;
}

.div3 {
    grid-area: 3 / 1 / 4 / 2;
    margin-top: 80px;
}

.div4 {
    grid-area: 2 / 2 / 4 / 3;
    margin-left: 100px;
    display: flex;
    background-image: url("https://topiari-king.ru/wp-content/uploads/product_photos/.png");
    background-repeat: no-repeat;
}

.div1 span {
    font-family: Gilroy Bold;
    font-size: 32px;
    line-height: 34px;
    color: #242424;
}

.div1 p {
    font-family: Gilroy Semibold;
    font-size: 26px;
    line-height: 32px;
    color: #706d72;
    margin: 0;
}

.div3 p {
    font-family: Gilroy Semibold;
    font-size: 25px;
    line-height: 32px;
    color: #706d72;
    text-align: right;
}

.podlozhka {
    background-color: #efefef;
    width: 796px;
    height: 452px;
    position: absolute;
    right: 0;
    bottom: 35px;
    z-index: 1;
}

.line {
    width: 100px;
    height: 2px;
    background-color: #84b736;
    position: absolute;
    z-index: 3;
    top: 43px;
    left: 51%;
    right: 49%;
}

@media (max-width: 1024px) {

    .parent {
        grid-template-rows: 293px 284px 263px;
    }

    .div4 {
        grid-area: 2 / 2 / 4 / 3;
        margin-left: 40px;
    }

    .div3 {
        margin-top: 0;
    }

    .line {
        left: 50%;
        right: 50%;
    }
}

@media (max-width: 768px) {
    .parent {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 496px 538px;
    }

    .div1 {
        grid-area: 1 / 2 / 2 / 3;
        margin-left: 60px;
        margin-top: 70px;
    }

    .div2 {
        background-position: -80px center;
        grid-area: 1 / 1 / 2 / 2;
    }

    .div3 {
        grid-area: 2 / 1 / 3 / 2;
        margin-right: 50px;
        margin-top: 170px;
    }

    .div4 {
        grid-area: 2 / 2 / 3 / 3;
        margin-left: 0;
    }

    .podlozhka {
        width: 494px;
        height: 616px;
    }

    .line {
        left: 43%;
        top: 80px;
    }
}

@media (max-width: 460px) {
    .line, .podlozhka {
        display: none;
    }

    .parent {
        grid-template-columns: 1fr;

        grid-template-rows: 2fr 4fr 1fr 4fr;
        gap: 30px;
    }

    .div1 {
        grid-area: 1 / 1 / 2 / 2;
        border-left: 2px solid #84b736;
        margin: 0;
        padding-left: 30px;
        justify-content: space-evenly;
    }

    .div1 span {
        font-size: 26px;
        line-height: 28px;
    }

    .div1 p {
        font-size: 20px;
        line-height: 24px;
    }

    .div2 {
        grid-area: 2 / 1 / 3 / 2;
        background-size: cover;
        background-position: 25% center;
    }

    .div3 {
        grid-area: 3 / 1 / 4 / 2;
        margin: 0;
    }

    .div3 p {
        text-align: left;
        font-size: 20px;
        line-height: 24px;
    }

    .div4 {
        grid-area: 4 / 1 / 5 / 2;
        background-size: 100%;
        width: 286px;
        height: 403px;
        margin: 0 auto;
    }
}

.text {
    display: flex;
    gap: 70px;
    text-align: justify;
    font-size: 16px;
    line-height: 26px;
    align-items: stretch;
    margin: 40px 0;
    font-family: Gilroy Medium;
}

.left-text p, .right-text p {
    margin: 0;
}

.separator {
    min-width: 2px;
    height: 128px;
    background-color: #84b736;
    margin: auto;
}

@media (max-width: 1024px) {
    .text {
        gap: 40px;
    }
}

@media (max-width: 460px) {
    .text {
        flex-direction: column;
        font-size: 14px;
        line-height: 22px;
        margin-top: 40px;
        gap: 25px;
    }

    .separator {
        width: 75px;
        height: 2px;
        margin-left: 0;
    }
}

.parent-bottom {
    display: grid;
    grid-template-columns: 1fr 1.25fr;
    grid-template-rows: 0.35fr 0.125fr 0.42fr;
    grid-column-gap: 25px;
    grid-row-gap: 25px;
    margin-top: 30px;
}

.parent-bottom p {
    margin: 0;
}

.div1-bottom {
    grid-area: 1 / 1 / 2 / 2;
    font-size: 16px;
    line-height: 26px;
    font-family: Gilroy Medium;
}
.div2-bottom {
    grid-area: 2 / 1 / 3 / 2;
    font-size: 26px;
    line-height: 32px;
    font-family: Gilroy Semibold;
    border-left: 2px solid #84b736;
    padding-left: 35px;
    max-width: 420px;
}
.div3-bottom {
    grid-area: 3 / 1 / 4 / 2;
    font-size: 16px;
    line-height: 26px;
    font-family: Gilroy Medium;
    background-color: #efefef;
    padding: 25px 35px;
}
.div4-bottom {
    grid-area: 1 / 2 / 4 / 3;
    margin-top: 5px;
}

@media (max-width: 1024px) {
    .parent-bottom {
        grid-template-columns: 1fr;
        grid-template-rows: 0.3fr 1fr 0.07fr 0.4fr;
    }

    .div1-bottom {
        grid-area: 1 / 1 / 2 / 2;
    }

    .div2-bottom {
        grid-area: 3 / 1 / 4 / 2;
        max-width: none;
    }

    .div3-bottom {
        grid-area: 4 / 1 / 5 / 2;
    }

    .div4-bottom {
        grid-area: 2 / 1 / 3 / 2;
        display: flex;
        justify-content: center;
    }

}

@media (max-width: 460px) {
    .parent-bottom {
        grid-template-rows: 0.3fr 0.75fr 0.07fr 0.4fr;
    }

    .div1-bottom {
        font-size: 14px;
        line-height: 24px;
    }
    .div2-bottom {
        font-size: 20px;
        line-height: 24px;
        padding-left: 15px;
    }
    .div3-bottom {
        font-size: 14px;
        line-height: 24px;
        padding: 20px 15px;
    }

    .div4-bottom img {
        object-fit: contain;
    }
}

.widget-title {
    display: block;
}

#menu-kategorii .color-scheme-dark.wd-design-default.wd-dropdown-menu.wd-dropdown {
    width: 120%;
}

#cw-widget-holder iframe#chatwoot_live_chat_widget {
  width: 100% !important;
  max-width: 100% !important;
}

@media (max-width: 767px) {
  .woot-widget-bubble:not(.woot--close):not(.woot--hide) {
    bottom: calc(120px + env(safe-area-inset-bottom, 0px)) !important;
    right: 0 !important;

    width: 44px !important;
    min-width: 44px !important;
    height: 48px !important;
    padding: 0 !important;
    border-radius: 14px 0 0 14px !important;

    font-size: 0 !important;
    overflow: hidden !important;
    opacity: 0.55 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    box-shadow: 0 2px 8px rgb(0 0 0 / 12%) !important;
    transition: opacity 0.2s ease !important;
  }

  /* Скрываем содержимое широкой кнопки */
  .woot-widget-bubble:not(.woot--close):not(.woot--hide) > * {
    display: none !important;
  }

  /* Облачко */
  .woot-widget-bubble:not(.woot--close):not(.woot--hide)::after {
    content: "";
    display: block;
    position: absolute;
    top: 14px;
    left: 11px;
    width: 22px;
    height: 17px;
    border: 0;
    border-radius: 6px;
    background: #fff;
  }

  /* Хвостик облачка */
  .woot-widget-bubble:not(.woot--close):not(.woot--hide)::before {
    content: "";
    display: block;
    position: absolute;
    top: 27px;
    left: 15px;
    width: 7px;
    height: 8px;
    background: #fff;
    clip-path: polygon(0 0, 100% 0, 0 100%);
  }

  .woot-widget-bubble:not(.woot--close):hover,
  .woot-widget-bubble:not(.woot--close):focus-visible {
    opacity: 1 !important;
  }

  @media (prefers-reduced-motion: reduce) {
    .woot-widget-bubble {
      transition: none !important;
    }
  }
}

.product-summary-shadow .summary-inner {
    padding: 30px 35px 15px;
    background-color: snow;
    box-shadow: 5px 5px 30px rgba(0, 0, 0, 0.2);
    border-radius: var(--wd-brd-radius);
}

.woocommerce-Reviews {
    display: flex;
    flex-wrap: wrap;
    margin-inline: -30px;
    margin-bottom: -25px;
    background-color: #EFEFEF;
    padding: 20px;
    border-radius: 10px;
}

/* Ограничение встроенного контента не применяется к виджету Chatwoot. */
iframe:not(#chatwoot_live_chat_widget), embed {
    max-width: 65%;
}

/* ЛИЧНЫЙ КАБИНЕТ */
/* БЛОК МОЙ АККАУНТ */
.wd-my-account-sidebar {
    flex: 1 0 25%;
    padding: 30px;
    margin: 0 0 30px;
    border-inline-end: 1px solid var(--brdcolor-gray-300);
    background-color: snow;
    border-radius: 10px;
    box-shadow: 0px 5px 5px darkgrey;
}

.woocommerce-MyAccount-navigation ul li.is-active>a {
    background-color: #FDD109;
    cursor: default;
}

.woocommerce-MyAccount-title {
    font-size: 18px;
    padding: 10px;
    margin-bottom: 15px;
    text-transform: uppercase;
    text-align: center;
    border-bottom: 1px solid var(--brdcolor-gray-300);
    background-color: #FDD109;
    border-radius: 10px;
}
/* БЛОК ДЕЙСТВИЙ В АККАУНТЕ */
.wd-my-account-links a {
    display: block;
    padding: 20px;
    font-weight: 600;
    text-align: center;
    color: var(--color-gray-700);
    border-radius: var(--wd-brd-radius);
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.18);
    background-color: floralwhite;
}

/*КАТАЛОГ*/

/* ВХОД/АККАУНТ */

/* ЗАГОЛОВОК КАТЕГОРИЙ НА ГЛАВНОЙ */
.elementor-18 .elementor-element.elementor-element-e0c6bfa div.product-category .wd-entities-title, .elementor-18 .elementor-element.elementor-element-e0c6bfa .wd-nav-product-cat>li>a {
    font-family: "PT Sans", Sans-serif;
    font-size: 18px;
    font-weight: 700;
    background-color: snow;
    border-radius: 10px;
    padding: 5px;
}

/*СКРЫТЬ КОЛИЧЕСТВО ТОВАРОВ КАТЕГОРИЙ В БЛОКЕ*/
.category-grid-item .more-products>a {
    color: inherit;
    visibility: hidden;
}

/*СТИЛЬ КНОПКИ КАТАЛОГ */
.wd-header-cats.wd-style-1 .menu-opener {
    padding: 10px 15px;
    min-width: 270px;
    height: 50px;
    border-radius: 5px;
}

/*КНОПКА РЕДАКТИРОВАНИЯ ИЗДЕЛИЯ */
#fpd-start-customizing-button {
    pointer-events: auto;
    cursor: pointer;
    display: inline-block;
    opacity: 1;
}

.fpd-blue-btn, .fpd-secondary-btn {
    background: #74a32f;
    color: #FFFFFF;
    padding: 10px;
    font-weight: 700;
    border-radius: 5px;
    text-align: center;
}

.price-request-button {
    display: flex;
    border-radius: var(--btn-accented-brd-radius);
    color: var(--btn-accented-color);
    box-shadow: var(--btn-accented-box-shadow);
    background-color: var(--btn-accented-bgcolor);
    text-transform: var(--btn-accented-transform, var(--btn-transform));
    font-weight: var(--btn-accented-font-weight, var(--btn-font-weight));
    font-family: var(--btn-accented-font-family, var(--btn-font-family));
    font-style: var(--btn-accented-font-style, var(--btn-font-style));
}

.price-request-text {
    font-size: inherit;
    color: var(--wd-primary-color);
    font-weight: 600;
}

/* Основные стили для модального окна */
.ui-dialog {
    background: #fff; /* Фон модального окна */
    border: 1px solid #ccc; /* Граница */
    border-radius: 8px; /* Скругленные углы */
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1); /* Тень */
}

/* Стили для заголовка модального окна */
.ui-dialog-titlebar {
    background: #333; /* Фон заголовка */
    color: #fff; /* Цвет текста заголовка */
    padding: 10px; /* Отступы */
    border-bottom: 1px solid #ccc; /* Граница снизу */
}

/* Стили для кнопки закрытия модального окна */
.ui-dialog-titlebar-close {
    background: transparent; /* Прозрачный фон */
    border: none; /* Без границы */
    color: #fff; /* Цвет иконки */
}

/* Стили для содержимого модального окна */
.ui-dialog-content {
    padding: 20px; /* Отступы */
    font-size: 16px; /* Размер шрифта */
    color: #333; /* Цвет текста */
}

/* Стили для кнопок в модальном окне */
.ui-dialog-buttonpane {
    background: #f5f5f5; /* Фон кнопок */
    border-top: 1px solid #ccc; /* Граница сверху */
    padding: 10px; /* Отступы */
    text-align: right; /* Выравнивание кнопок по правому краю */
}

.ui-dialog-buttonpane button {
    background: #0073aa; /* Фон кнопки */
    color: #fff; /* Цвет текста кнопки */
    border: none; /* Без границы */
    padding: 10px 20px; /* Отступы */
    font-size: 14px; /* Размер шрифта */
    cursor: pointer; /* Курсор указатель */
    border-radius: 5px; /* Скругленные углы */
    margin-left: 10px; /* Отступ между кнопками */
}

.ui-dialog-buttonpane button:hover {
    background: #005177; /* Фон кнопки при наведении */
}

/* Пример дополнительных стилей */
#price-request-form {
    max-width: 100%; /* Максимальная ширина */
    overflow: hidden; /* Обрезка содержимого */
    position: relative; /* Относительное позиционирование */
}

#price-request-form .wpforms-form {
    max-width: 100%;
}

/* Скрыть количество на странице товара и в быстром просмотре. */
.single-product form.cart .quantity,
.popup-quick-view form.cart .quantity {
  display: none !important;
}

/* Кнопки товара: две колонки, рассрочка на отдельной строке. */
@media (max-width: 991.98px) {
    .single-product div.product form.cart {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        grid-auto-rows: minmax(48px, auto);
        gap: 10px;
        align-items: stretch;
        justify-items: stretch;
    }

    .single-product div.product form.cart .single_add_to_cart_button,
    .single-product div.product form.cart button[name="add-to-cart"],
    .single-product div.product form.cart .buy_one_click_button,
    .single-product div.product form.cart #open-oneclick-modal,
    .single-product div.product form.cart #open-installment-modal {
        width: 100% !important;
        min-width: 0;
        min-height: 48px;
        margin: 0 !important;
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        text-align: center;
        white-space: normal;
    }

    .single-product div.product form.cart .single_add_to_cart_button,
    .single-product div.product form.cart button[name="add-to-cart"] {
        grid-column: 1 / 2 !important;
        grid-row: 1 !important;
    }

    .single-product div.product form.cart .buy_one_click_button,
    .single-product div.product form.cart #open-oneclick-modal {
        grid-column: 2 / 3 !important;
        grid-row: 1 !important;
    }

    .single-product div.product form.cart #open-installment-modal {
        grid-column: 1 / -1 !important;
        grid-row: 2 !important;
    }
}

/* === Модальное окно оформления рассрочки === */
.installment-modal__inner {
  background: #fff;
  border-radius: 12px;
  padding: 30px 40px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
  animation: modalFadeIn .3s ease;
  position: relative;
  max-width: 520px;
  width: 90%;
}

@keyframes modalFadeIn {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

.installment-modal__title {
  font-size: 22px;
  font-weight: 700;
  color: #222;
  margin-bottom: 20px;
  text-align: left;
  border-bottom: 2px solid #74a32f;
  padding-bottom: 8px;
}

/* === Стилизация WPForms внутри модалки === */
.installment-modal .wpforms-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.installment-modal .wpforms-field-label {
  font-weight: 600;
  color: #333;
  margin-bottom: 4px;
  display: block;
}

.installment-modal .wpforms-field input[type="text"],
.installment-modal .wpforms-field input[type="email"],
.installment-modal .wpforms-field input[type="tel"],
.installment-modal .wpforms-field textarea {
  width: 100%;
  border: 1px solid #ccc;
  border-radius: 6px;
  padding: 10px 12px;
  font-size: 15px;
  line-height: 1.4;
  transition: all .2s ease;
}

.installment-modal .wpforms-field input:focus,
.installment-modal .wpforms-field textarea:focus {
  border-color: #74a32f;
  box-shadow: 0 0 0 2px rgba(116,163,47,0.2);
  outline: none;
}

/* === Кнопка отправки === */
.installment-modal .wpforms-submit {
  background-color: #74a32f !important;
  color: #fff !important;
  border: none !important;
  border-radius: 8px !important;
  padding: 12px 25px !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  transition: background-color .2s ease;
  width: 100%;
}

.installment-modal .wpforms-submit:hover {
  background-color: #5b8427 !important;
}

/* === Кнопка закрытия === */
.installment-modal__close {
  position: absolute;
  top: 12px;
  right: 16px;
  font-size: 28px;
  line-height: 1;
  background: transparent;
  border: none;
  color: #555;
  cursor: pointer;
  transition: color .2s;
}
.installment-modal__close:hover {
  color: #000;
}

/* === Адаптация для мобильных === */
@media (max-width: 480px) {
  .installment-modal__inner {
    padding: 20px;
    max-width: 95%;
  }

  .installment-modal__title {
    font-size: 18px;
    text-align: center;
  }

  .installment-modal .wpforms-submit {
    font-size: 15px !important;
  }
}

.cookies-info-text {
	padding-left: 15px;
}

.cookies-more-btn {
	display: none;
}

.woocommerce-terms-and-conditions-wrapper a,
.cookies-info-text a {
	color: rgb(131, 183, 53);
	font-weight: normal;
}
