@font-face {
	font-weight: normal;
	font-style: normal;
	font-family: "woodmart-font";
	src: url("//poolpro.com.ua/wp-content/themes/woodmart/fonts/woodmart-font-1-400.woff2?v=8.3.9") format("woff2");
}

@font-face {
	font-family: "star";
	font-weight: 400;
	font-style: normal;
	src: url("//poolpro.com.ua/wp-content/plugins/woocommerce/assets/fonts/star.eot?#iefix") format("embedded-opentype"), url("//poolpro.com.ua/wp-content/plugins/woocommerce/assets/fonts/star.woff") format("woff"), url("//poolpro.com.ua/wp-content/plugins/woocommerce/assets/fonts/star.ttf") format("truetype"), url("//poolpro.com.ua/wp-content/plugins/woocommerce/assets/fonts/star.svg#star") format("svg");
}

@font-face {
	font-family: "WooCommerce";
	font-weight: 400;
	font-style: normal;
	src: url("//poolpro.com.ua/wp-content/plugins/woocommerce/assets/fonts/WooCommerce.eot?#iefix") format("embedded-opentype"), url("//poolpro.com.ua/wp-content/plugins/woocommerce/assets/fonts/WooCommerce.woff") format("woff"), url("//poolpro.com.ua/wp-content/plugins/woocommerce/assets/fonts/WooCommerce.ttf") format("truetype"), url("//poolpro.com.ua/wp-content/plugins/woocommerce/assets/fonts/WooCommerce.svg#WooCommerce") format("svg");
}

:root {
	--wd-text-font: "Inter", Arial, Helvetica, sans-serif;
	--wd-text-font-weight: 400;
	--wd-text-color: #37474F;
	--wd-text-font-size: 16px;
	--wd-title-font: "Inter", Arial, Helvetica, sans-serif;
	--wd-title-font-weight: 600;
	--wd-title-color: rgb(11,60,93);
	--wd-entities-title-font: "Cabin", Arial, Helvetica, sans-serif;
	--wd-entities-title-font-weight: 600;
	--wd-entities-title-transform: none;
	--wd-entities-title-color: #0B3C5D;
	--wd-entities-title-color-hover: rgb(55, 71, 79);
	--wd-alternative-font: "Inter", Arial, Helvetica, sans-serif;
	--wd-widget-title-font: "Inter", Arial, Helvetica, sans-serif;
	--wd-widget-title-font-weight: 600;
	--wd-widget-title-transform: uppercase;
	--wd-widget-title-color: rgb(11,60,93);
	--wd-widget-title-font-size: 16px;
	--wd-header-el-font: "Inter", 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: rgb(21,44,76);
	--wd-alternative-color: rgb(3,169,244);
	--btn-default-bgcolor: rgb(21,44,76);
	--btn-default-bgcolor-hover: rgb(16,21,58);
	--btn-accented-bgcolor: rgb(3,169,244);
	--btn-accented-bgcolor-hover: rgb(3,169,244);
	--wd-form-brd-width: 2px;
	--notices-success-bg: #459647;
	--notices-success-color: #fff;
	--notices-warning-bg: #E0B252;
	--notices-warning-color: #fff;
	--wd-link-color: rgb(3,169,244);
	--wd-link-color-hover: rgb(2,136,209);
	--wd-link-decor-color: rgb(3,169,244);
	--wd-link-decor-color-hover: rgb(2,136,209);
}
.wd-age-verify-wrap {
	--wd-popup-width: 500px;
}
.wd-popup.wd-promo-popup {
	background-color: rgb(255,255,255);
	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: 223px;
}
.wd-page-title .wd-page-title-bg img {
	object-fit: cover;
	object-position: center bottom;
}
.wd-footer {
	background-color: rgb(9,33,67);
	background-image: none;
}
html .product.wd-cat .wd-entities-title, html .product.wd-cat.cat-design-replace-title .wd-entities-title, html .wd-masonry-first .wd-cat:first-child .wd-entities-title {
	font-size: 16px;
}
.product-labels .product-label.onsale {
	background-color: rgb(38,198,218);
}
.product-labels .product-label.new {
	background-color: rgb(3,169,244);
}
.product-labels .product-label.featured {
	background-color: rgb(221,75,75);
}
.mfp-wrap.wd-popup-quick-view-wrap {
	--wd-popup-width: 920px;
}
.woocommerce-product-gallery {
	--wd-gallery-gap: 20px;
}
:root{
--wd-container-w: 1222px;
--wd-form-brd-radius: 35px;
--btn-default-color: #333;
--btn-default-color-hover: #333;
--btn-accented-color: #fff;
--btn-accented-color-hover: #fff;
--btn-default-brd-radius: 35px;
--btn-default-box-shadow: none;
--btn-default-box-shadow-hover: none;
--btn-accented-brd-radius: 35px;
--btn-accented-box-shadow: none;
--btn-accented-box-shadow-hover: none;
--wd-brd-radius: 0px;
}

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


.wd-page-title {
background-color: #0a0a0a;
}

.woocommerce-mini-cart__buttons .btn-cart , .woocommerce-cart-form>.cart .cart-actions>.button {
    color: #fff !important;

}

.product-labels {
    max-width: 75% !important;
}
/* POOLPRO — единый шаблон карточки товара */

.single-product .woocommerce-product-gallery__image {
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.single-product .woocommerce-product-gallery__image img {
    width: 100%;
    height: 500px;
    object-fit: contain;
    object-position: center;
}

.single-product .product_title {
    font-size: 32px;
    line-height: 1.18;
    margin-bottom: 18px;
}

/* Скрываем технические теги: Merchant, SEO-метки и т.п. */
.single-product .product_meta .tagged_as {
    display: none;
}
/* POOLPRO — единый размер изображений в каталоге */

.products .product-grid-item .product-element-top {
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

/* ссылка занимает весь квадрат */
.products .product-grid-item .product-image-link {
    width: 100%;
    height: 100%;
    display: flex !important;
    align-items: center;
    justify-content: center;
    padding: 12px;
    box-sizing: border-box;
}

/* любое фото полностью вписываем внутрь */
.products .product-grid-item .product-image-link img {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
    object-position: center center !important;
}
/* POOLPRO — мягкий hover карточек каталога */

.products .product-grid-item {
    transition: transform .22s ease, box-shadow .22s ease;
}

.products .product-grid-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 28px rgba(0, 40, 75, 0.10);
}

.products .product-grid-item .product-element-top img {
    transition: transform .28s ease;
}

.products .product-grid-item:hover .product-element-top img {
    transform: scale(1.025);
}

/* Кнопка — лёгкая реакция при наведении */
.products .product-grid-item .wd-add-btn a {
    transition: transform .18s ease, filter .18s ease;
}

.products .product-grid-item .wd-add-btn a:hover {
    transform: translateY(-1px);
    filter: brightness(0.94);
}
/* POOLPRO — цена, наличие и кнопка */

/* Наличие */
.products .product-grid-item .stock {
    color: #2e8b57 !important;
    font-weight: 600;
    margin-top: 6px;
    margin-bottom: 8px;
}

/* Цена */
.products .product-grid-item .price {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.2;
    margin-top: 7px;
    margin-bottom: 12px;
}



/* Немного воздуха внутри карточки */
.products .product-grid-item .product-wrapper {
    padding-bottom: 16px;
}

}
/* POOLPRO — компактная кнопка КУПИТИ */
.products .product-grid-item .wd-add-btn {
    display: flex !important;
    justify-content: center !important;
    width: 100% !important;
}

.products .product-grid-item .wd-add-btn a,
.products .product-grid-item .add_to_cart_button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: fit-content !important;
    min-width: 105px !important;
    max-width: 135px !important;

    height: 38px !important;
    min-height: 38px !important;

    padding: 0 20px !important;
    margin: 0 auto !important;

    font-size: 13px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    white-space: nowrap !important;

    border-radius: 20px !important;
}
/* POOLPRO — убрать "Поділитися" только из быстрого просмотра */
.popup-quick-view .product-share,
.product-quick-view .product-share,
.popup-quick-view .wd-social-icons,
.product-quick-view .wd-social-icons {
    display: none !important;
}
/* POOLPRO — Quick View: скрываем категорию */
.wd-quick-view-popup .product_meta .posted_in,
.popup-quick-view .product_meta .posted_in {
    display: none !important;
}

/* POOLPRO — Quick View: наличие */
.wd-quick-view-popup .stock,
.popup-quick-view .stock {
    display: block !important;
    color: #269447 !important;
    font-size: 16px;
    font-weight: 600;
    margin: 8px 0 14px;
}

/* Галочка перед наличием */
.wd-quick-view-popup .stock.in-stock::before,
.popup-quick-view .stock.in-stock::before {
    content: "✓ ";
    color: #16375b;
    font-weight: 700;
}
/* POOLPRO — убираем лишнюю высоту Quick View */
.popup-quick-view .product-image-summary {
    min-height: 0 !important;
}
/* POOLPRO — аккуратная цена со скидкой в каталоге */
.products .product-grid-item .price del {
    display: block;
    font-size: 14px !important;
    line-height: 1.15 !important;
    font-weight: 500 !important;
    opacity: 0.55;
    margin-bottom: 3px;
    white-space: nowrap;
}

.products .product-grid-item .price ins {
    display: block;
    font-size: 20px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    white-space: nowrap;
}
/* POOLPRO — товар не в наличии */
.products .product-grid-item .stock.out-of-stock {
    color: #7a8491 !important;
}
/* POOLPRO — скрываем технические метки в Quick View */
.wd-popup .product_meta .tagged_as,
.popup-quick-view .product_meta .tagged_as {
    display: none !important;
}
/* POOLPRO — скрываем "Поділитися" на странице товара только на мобильном */
@media (max-width: 767px) {
    .single-product .summary-inner .product-share {
        display: none !important;
    }
}
/* POOLPRO — сравнение и избранное в одну строку на мобильном */
@media (max-width: 767px) {

    .single-product .summary-inner .compare-btn,
    .single-product .summary-inner .wd-compare-btn,
    .single-product .summary-inner .wd-wishlist-btn {
        display: inline-flex !important;
        width: auto !important;
        align-items: center;
        vertical-align: middle;
        margin: 8px 14px 10px 0 !important;
        font-size: 13px !important;
        white-space: nowrap;
    }
/* POOLPRO — короткие подписи сравнения и избранного на мобильном */
@media (max-width: 767px) {

    .single-product .summary-inner .wd-compare-btn .wd-action-text,
    .single-product .summary-inner .wd-wishlist-btn .wd-action-text {
        font-size: 0 !important;
    }

    .single-product .summary-inner .wd-compare-btn .wd-action-text::after {
        content: "Порівняти";
        font-size: 12px !important;
        font-weight: 500;
    }

    .single-product .summary-inner .wd-wishlist-btn .wd-action-text::after {
        content: "У бажання";
        font-size: 12px !important;
        font-weight: 500;
    }
}
/* POOLPRO — заголовок описания товара */
.single-product .tab-title-description .wd-accordion-title-text {
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #0b3f64 !important;
}

/* Стрелка открытия/закрытия */
.single-product .tab-title-description .wd-accordion-opener {
    font-size: 20px !important;
    color: #0b3f64 !important;
    opacity: 1 !important;
}

/* Вся строка кликабельная */
.single-product .tab-title-description {
    cursor: pointer;
    padding-top: 16px !important;
    padding-bottom: 16px !important;
}
/* POOLPRO — текст возле стрелки описания */
.single-product .tab-title-description {
    display: flex !important;
    align-items: center !important;
}

.single-product .poolpro-desc-toggle-text {
    margin-left: auto;
    margin-right: 14px;
    font-size: 13px;
    font-weight: 600;
    color: #0b3f64;
    opacity: .85;
    white-space: nowrap;
}

.single-product .tab-title-description:hover .poolpro-desc-toggle-text {
    opacity: 1;
}
/* POOLPRO — ровные карточки товаров на компьютере */
@media (min-width: 1200px) {

    .products .product-grid-item .product-element-bottom {
        display: grid !important;
        grid-template-rows: 92px 34px 58px 46px !important;
        align-items: center !important;
    }

    /* Название товара — максимум 4 строки */
    .products .product-grid-item .wd-entities-title {
        height: 92px !important;
        min-height: 92px !important;
        max-height: 92px !important;
        margin: 0 !important;

        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .products .product-grid-item .wd-entities-title > a {
        display: -webkit-box !important;
        -webkit-box-orient: vertical !important;
        -webkit-line-clamp: 4 !important;
        overflow: hidden !important;
        line-height: 1.28 !important;
    }

    /* Наличие */
    .products .product-grid-item .wd-product-stock {
        height: 34px !important;
        min-height: 34px !important;
        margin: 0 !important;

        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    /* Цена — одинаковая зона и для обычной цены, и для скидки */
    .products .product-grid-item .price {
        height: 58px !important;
        min-height: 58px !important;
        margin: 0 !important;

        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: flex-end !important;
    }

    .products .product-grid-item .price del,
    .products .product-grid-item .price ins {
        line-height: 1.2 !important;
    }

    /* Кнопка */
    .products .product-grid-item .wd-add-btn {
        height: 46px !important;
        min-height: 46px !important;
        margin: 0 !important;

        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
}
/* POOLPRO — одинаковая зона цены на планшете и телефоне */
@media (max-width: 1199px) {

    .products .product-grid-item .price {
        height: 68px !important;
        min-height: 68px !important;
        max-height: 68px !important;

        margin-top: 0 !important;
        margin-bottom: 0 !important;

        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: flex-end !important;
    }

}
/* POOLPRO — убрать стандартный второй адрес WooCommerce */
.woocommerce-shipping-fields #ship-to-different-address,
.woocommerce-shipping-fields .shipping_address {
    display: none !important;
}
/* ==================================================
   POOLPRO CHECKOUT — ДОСТАВКА И ОПЛАТА
   ================================================== */

/* ---------- ДОСТАВКА ---------- */

.woocommerce-checkout #shipping_method {
    margin: 0 !important;
}

.woocommerce-checkout #shipping_method li {
    margin: 0 0 10px !important;
    padding: 0 !important;
    position: relative;
}

.woocommerce-checkout #shipping_method li label {
    display: flex !important;
    align-items: center !important;
    min-height: 52px !important;

    padding: 12px 46px 12px 16px !important;

    border: 1px solid #dfe5eb !important;
    border-radius: 12px !important;

    background: #fff !important;

    font-weight: 600 !important;
    color: #0b2f50 !important;

    cursor: pointer !important;

    transition:
        border-color .2s ease,
        background-color .2s ease,
        box-shadow .2s ease !important;
}

.woocommerce-checkout #shipping_method li:hover label {
    border-color: #0ba7e8 !important;
}

/* выбранная доставка */
.woocommerce-checkout #shipping_method li input[type="radio"]:checked + label {
    border-color: #0ba7e8 !important;
    background: #f5fbfe !important;
    box-shadow: 0 0 0 1px #0ba7e8 !important;
}


/* ---------- ОПЛАТА ---------- */

.woocommerce-checkout .wc_payment_methods {
    margin: 0 !important;
}

.woocommerce-checkout .wc_payment_method {
    margin: 0 0 12px !important;
    padding: 0 !important;

    border: 1px solid #dfe5eb !important;
    border-radius: 12px !important;

    background: #fff !important;
    overflow: hidden !important;

    transition:
        border-color .2s ease,
        background-color .2s ease,
        box-shadow .2s ease !important;
}

/* строка способа оплаты */
.woocommerce-checkout .wc_payment_method > label {
    display: flex !important;
    align-items: center !important;

    min-height: 56px !important;

    padding: 13px 16px 13px 48px !important;

    margin: 0 !important;

    color: #0b2f50 !important;
    font-weight: 600 !important;

    cursor: pointer !important;
}

/* выбранная оплата */
.woocommerce-checkout .wc_payment_method:has(input[type="radio"]:checked) {
    border-color: #0ba7e8 !important;
    background: #f5fbfe !important;
    box-shadow: 0 0 0 1px #0ba7e8 !important;
}


/* ---------- НОРМАЛЬНЫЕ RADIO-КНОПКИ ---------- */

.woocommerce-checkout #shipping_method input[type="radio"],
.woocommerce-checkout .wc_payment_method input[type="radio"] {
    appearance: none !important;
    -webkit-appearance: none !important;

    width: 20px !important;
    height: 20px !important;

    border: 2px solid #aab6c2 !important;
    border-radius: 50% !important;

    background: #fff !important;

    margin: 0 !important;

    position: absolute !important;
    z-index: 5 !important;

    cursor: pointer !important;
}

/* доставка — кружок справа */
.woocommerce-checkout #shipping_method input[type="radio"] {
    right: 15px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
}

/* оплата — кружок слева */
.woocommerce-checkout .wc_payment_method input[type="radio"] {
    left: 16px !important;
    top: 18px !important;
}

/* выбранный кружок */
.woocommerce-checkout #shipping_method input[type="radio"]:checked,
.woocommerce-checkout .wc_payment_method input[type="radio"]:checked {
    border-color: #0ba7e8 !important;

    background:
        radial-gradient(
            circle,
            #0ba7e8 0,
            #0ba7e8 5px,
            #fff 6px
        ) !important;
}


/* ---------- ОПИСАНИЕ ВЫБРАННОГО СПОСОБА ОПЛАТЫ ---------- */

.woocommerce-checkout .payment_box {
    margin: 0 !important;
    padding: 4px 18px 18px 48px !important;

    background: transparent !important;

    color: #536473 !important;
    line-height: 1.55 !important;
}

.woocommerce-checkout .payment_box:before {
    display: none !important;
}


/* ---------- МОБИЛЬНЫЙ ---------- */

@media (max-width: 767px) {

    .woocommerce-checkout #shipping_method li label {
        min-height: 50px !important;
        padding: 11px 44px 11px 14px !important;
        border-radius: 10px !important;
    }

    .woocommerce-checkout .wc_payment_method > label {
        min-height: 52px !important;
        padding: 11px 12px 11px 44px !important;
        border-radius: 10px !important;
    }

    .woocommerce-checkout .payment_box {
        padding: 2px 14px 15px 44px !important;
        font-size: 14px !important;
    }

    .woocommerce-checkout .wc_payment_method input[type="radio"] {
        left: 14px !important;
        top: 16px !important;
    }
}
/* =========================================================
   POOLPRO — красивые кнопки доставки и оплаты
   ========================================================= */

/* Общий список */
.woocommerce-checkout ul#shipping_method,
.woocommerce-checkout ul.wc_payment_methods {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Каждый пункт */
.woocommerce-checkout ul#shipping_method li,
.woocommerce-checkout ul.wc_payment_methods li.wc_payment_method {
    position: relative !important;
    margin: 0 0 14px 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
}

/* Прячем стандартные radio, но не ломаем логику */
.woocommerce-checkout ul#shipping_method li input[type="radio"],
.woocommerce-checkout ul.wc_payment_methods li input[type="radio"] {
    position: absolute !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* Основной вид кнопки */
.woocommerce-checkout ul#shipping_method li label,
.woocommerce-checkout ul.wc_payment_methods li label {
    display: block !important;
    position: relative !important;
    margin: 0 !important;
    padding: 18px 56px 18px 20px !important;

    background: #ffffff !important;
    border: 1px solid #d8e3ec !important;
    border-radius: 18px !important;

    font-size: 16px !important;
    font-weight: 600 !important;
    line-height: 1.35 !important;
    color: #123b63 !important;

    cursor: pointer !important;
    transition: all 0.25s ease !important;
    box-shadow: 0 2px 10px rgba(9, 45, 76, 0.04) !important;
}

/* Hover */
.woocommerce-checkout ul#shipping_method li label:hover,
.woocommerce-checkout ul.wc_payment_methods li label:hover {
    border-color: #7dc8ff !important;
    box-shadow: 0 6px 18px rgba(35, 140, 220, 0.10) !important;
    transform: translateY(-1px);
}

/* Кружок справа */
.woocommerce-checkout ul#shipping_method li label::after,
.woocommerce-checkout ul.wc_payment_methods li label::after {
    content: "" !important;
    position: absolute !important;
    top: 50% !important;
    right: 18px !important;
    width: 22px !important;
    height: 22px !important;
    transform: translateY(-50%) !important;

    border-radius: 50% !important;
    border: 2px solid #b9c8d6 !important;
    background: #fff !important;
    box-sizing: border-box !important;
    transition: all 0.25s ease !important;
}

/* Выбранная доставка */
.woocommerce-checkout ul#shipping_method li input[type="radio"]:checked + label {
    background: #f3faff !important;
    border-color: #2ea8ff !important;
    box-shadow: 0 8px 20px rgba(46, 168, 255, 0.12) !important;
    color: #0e4f86 !important;
}

.woocommerce-checkout ul#shipping_method li input[type="radio"]:checked + label::after {
    border-color: #2ea8ff !important;
    box-shadow: inset 0 0 0 5px #2ea8ff !important;
}

/* Выбранная оплата */
.woocommerce-checkout ul.wc_payment_methods li input[type="radio"]:checked + label {
    background: #f3faff !important;
    border-color: #2ea8ff !important;
    box-shadow: 0 8px 20px rgba(46, 168, 255, 0.12) !important;
    color: #0e4f86 !important;
}

.woocommerce-checkout ul.wc_payment_methods li input[type="radio"]:checked + label::after {
    border-color: #2ea8ff !important;
    box-shadow: inset 0 0 0 5px #2ea8ff !important;
}

/* Описание выбранного способа оплаты */
.woocommerce-checkout .payment_box {
    margin: 10px 0 0 0 !important;
    padding: 16px 18px !important;

    background: #f8fbfe !important;
    border: 1px solid #d9e8f5 !important;
    border-radius: 16px !important;
    box-shadow: none !important;

    color: #38536d !important;
    line-height: 1.6 !important;
}

.woocommerce-checkout .payment_box::before {
    display: none !important;
}

/* Чуть аккуратнее расстояния у блока оплаты */
.woocommerce-checkout #payment {
    background: transparent !important;
    border: 0 !important;
}

.woocommerce-checkout #payment ul.payment_methods {
    border-bottom: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* На мобилке чуть компактнее */
@media (max-width: 767px) {
    .woocommerce-checkout ul#shipping_method li label,
    .woocommerce-checkout ul.wc_payment_methods li label {
        font-size: 15px !important;
        padding: 16px 50px 16px 16px !important;
        border-radius: 16px !important;
    }

    .woocommerce-checkout ul#shipping_method li label::after,
    .woocommerce-checkout ul.wc_payment_methods li label::after {
        right: 15px !important;
        width: 20px !important;
        height: 20px !important;
    }

    .woocommerce-checkout .payment_box {
        padding: 14px 15px !important;
        border-radius: 14px !important;
        font-size: 14px !important;
    }
}
/* =========================================================
   POOLPRO CHECKOUT — КАРТОЧКИ ДОСТАВКИ И ОПЛАТЫ
   ========================================================= */

/* Карточки */
body.woocommerce-checkout #shipping_method li,
body.woocommerce-checkout .wc_payment_methods > li {
    position: relative !important;
    display: block !important;
    width: 100% !important;

    margin: 10px 0 !important;
    padding: 0 !important;

    background: #fff !important;
    border: 1px solid #d9e2ea !important;
    border-radius: 12px !important;

    transition: all .18s ease !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
}


/* Выбранная карточка */
body.woocommerce-checkout #shipping_method li:has(input[type="radio"]:checked),
body.woocommerce-checkout .wc_payment_methods > li:has(input[type="radio"]:checked) {
    border-color: #12a9ed !important;
    box-shadow: 0 3px 14px rgba(18,169,237,.13) !important;
    background: #f8fcff !important;
}


/* Скрываем стандартные radio */
body.woocommerce-checkout #shipping_method input[type="radio"],
body.woocommerce-checkout .wc_payment_methods input[type="radio"] {
    position: absolute !important;
    opacity: 0 !important;
    pointer-events: none !important;
}


/* Кликабельная область */
body.woocommerce-checkout #shipping_method li > label,
body.woocommerce-checkout .wc_payment_methods > li > label {
    display: block !important;
    position: relative !important;
    width: 100% !important;
    box-sizing: border-box !important;

    min-height: 58px !important;
    padding: 17px 52px 17px 18px !important;
    margin: 0 !important;

    cursor: pointer !important;

    font-weight: 600 !important;
    color: #123b63 !important;
    line-height: 1.3 !important;
}


/* Кружок выбора справа */
body.woocommerce-checkout #shipping_method li > label::after,
body.woocommerce-checkout .wc_payment_methods > li > label::after {
    content: "" !important;

    position: absolute !important;
    right: 18px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;

    width: 20px !important;
    height: 20px !important;

    border: 2px solid #bdcad5 !important;
    border-radius: 50% !important;

    background: #fff !important;
    box-sizing: border-box !important;
}


/* Активный кружок */
body.woocommerce-checkout #shipping_method li:has(input:checked) > label::after,
body.woocommerce-checkout .wc_payment_methods > li:has(input:checked) > label::after {
    border-color: #12a9ed !important;

    background:
        radial-gradient(
            circle,
            #12a9ed 0 5px,
            #fff 6px
        ) !important;
}


/* Описание выбранного способа оплаты */
body.woocommerce-checkout .wc_payment_methods .payment_box {
    margin: 0 12px 12px 12px !important;
    padding: 14px 16px !important;

    background: #edf8fe !important;
    border-radius: 9px !important;
    border: 0 !important;

    color: #536473 !important;
    line-height: 1.55 !important;
}

body.woocommerce-checkout .wc_payment_methods .payment_box::before {
    display: none !important;
}


/* Логотип WayForPay */
body.woocommerce-checkout .wc_payment_methods img {
    max-height: 24px !important;
    width: auto !important;
    vertical-align: middle !important;
    margin-left: 7px !important;
}


/* Телефон */
@media (max-width: 767px) {

    body.woocommerce-checkout #shipping_method li > label,
    body.woocommerce-checkout .wc_payment_methods > li > label {
        min-height: 54px !important;
        padding: 15px 46px 15px 15px !important;
    }

    body.woocommerce-checkout #shipping_method li > label::after,
    body.woocommerce-checkout .wc_payment_methods > li > label::after {
        right: 15px !important;
    }

    body.woocommerce-checkout .wc_payment_methods .payment_box {
        margin: 0 10px 10px !important;
        padding: 12px 14px !important;
        font-size: 14px !important;
    }
}
/* PoolPro — лёгкое затемнение фоновой картинки заголовков */
.wd-page-title-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(8, 36, 64, 0.17);
    pointer-events: none;
}
@media (max-width: 1024px) {
    .wd-page-title-bg::after {
        background: rgba(8, 36, 64, 0.08) !important;
    }
}
/* PoolPro — preorder без мигания при загрузке */
.products .product .stock.available-on-backorder,
.product-grid-item .stock.available-on-backorder {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: 100% !important;
    min-height: 36px !important;

    background: #fff4e8 !important;
    border: 1px solid #ef9c42 !important;
    border-radius: 4px !important;
    padding: 7px 10px !important;

    color: transparent !important;
    font-size: 0 !important;
    line-height: 1.25 !important;
}

/* Убираем стандартную иконку/галочку WoodMart */
.products .product .stock.available-on-backorder::before,
.product-grid-item .stock.available-on-backorder::before {
    display: none !important;
    content: none !important;
}
/* PoolPro — preorder сразу оранжевый, без зелёной вспышки */
.products .product .stock.available-on-backorder,
.product-grid-item .stock.available-on-backorder {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: 100% !important;
    min-height: 34px !important;
    height: 34px !important;
    max-height: 34px !important;

    margin: 0 !important;
    padding: 5px 10px !important;
    box-sizing: border-box !important;

    color: #d87300 !important;
    background: #fff4e8 !important;
    border: 1px solid #ef9c42 !important;
    border-radius: 4px !important;

    font-size: 13px !important;
    font-weight: 600 !important;
    line-height: 1.25 !important;
    text-align: center !important;
    text-transform: none !important;
}
/* PoolPro — мобильное выравнивание названий товаров, до 4 строк */
@media (max-width: 767px) {

    .products .product-grid-item .wd-entities-title {
        height: 72px !important;
        min-height: 72px !important;
        max-height: 72px !important;

        display: flex !important;
        align-items: center !important;
        justify-content: center !important;

        overflow: hidden !important;
        margin-top: 0 !important;
        margin-bottom: 0 !important;

        line-height: 18px !important;
    }

}
/* PoolPro — одинаковая зона статуса на мобильных */
@media (max-width: 767px) {

    .products .product-grid-item .stock,
    .products .product .stock {
        min-height: 32px !important;
        height: 32px !important;
        margin-top: 0 !important;
        margin-bottom: 0 !important;

        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

}
/* PoolPro — длинные названия товаров на мобильном */
@media (max-width: 767px) {

    .products .product-grid-item .wd-entities-title {
        display: -webkit-box !important;
        -webkit-box-orient: vertical !important;
        -webkit-line-clamp: 4 !important;

        overflow: hidden !important;
        text-overflow: ellipsis !important;

        line-height: 1.25 !important;
        height: 5em !important;
        min-height: 5em !important;
        max-height: 5em !important;
    }

}@media (max-width: 576px) {
	/* POOLPRO — каталог категорий: 2 карточки в ряд на телефоне */
.products.wd-products {
    --wd-col: 2 !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

/* Карточки внутри сетки */
.products.wd-products > .wd-col {
    width: auto !important;
    max-width: none !important;
    flex: none !important;
}
}

