:root {
	--wd-text-font: "e-Ukraine-Regular", Arial, Helvetica, sans-serif;
	--wd-text-font-weight: 400;
	--wd-text-color: #777777;
	--wd-text-font-size: 14px;
	--wd-title-font: "e-Ukraine-Medium", Arial, Helvetica, sans-serif;
	--wd-title-font-weight: 600;
	--wd-title-color: #242424;
	--wd-entities-title-font: "e-Ukraine-Medium", 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: "e-Ukraine-Regular", Arial, Helvetica, sans-serif;
	--wd-widget-title-font: "e-Ukraine-Bold", 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: "e-Ukraine-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: rgb(255,58,45);
	--wd-alternative-color: #fbbc34;
	--btn-default-bgcolor: rgb(247,247,247);
	--btn-default-bgcolor-hover: rgb(239,239,239);
	--btn-accented-bgcolor: rgb(255,58,45);
	--btn-accented-bgcolor-hover: rgb(0,0,0);
	--wd-form-brd-width: 2px;
	--notices-success-bg: rgb(255,58,45);
	--notices-success-color: #fff;
	--notices-warning-bg: rgb(255,58,45);
	--notices-warning-color: #fff;
	--wd-link-color: #333333;
	--wd-link-color-hover: #242424;
	--wd-sticky-btn-height: 116px;
}
.wd-age-verify-wrap {
	--wd-popup-width: 500px;
}
.wd-popup.wd-promo-popup {
	background-color: rgb(255,255,255);
	background-image: none;
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center center;
}
.wd-promo-popup-wrap {
	--wd-popup-width: 800px;
}
.wd-page-title .wd-page-title-bg img {
	object-fit: cover;
	object-position: center center;
}
.wd-footer {
	background-color: rgb(245,245,245);
	background-image: none;
}
html .product-image-summary-wrap .product_title, html .wd-single-title .product_title {
	font-family: "e-Ukraine-Regular", Arial, Helvetica, sans-serif;
	font-weight: 400;
}
html .product-image-summary-wrap .summary-inner > .price, html .wd-single-price .price {
	font-family: "e-Ukraine-Medium", Arial, Helvetica, sans-serif;
	font-weight: 500;
	font-size: 22px;
}
html .wd-product.wd-hover-quick .wd-add-btn>a, html .wd-product.wd-hover-quick.wd-quantity-overlap div.quantity :is(input[type],.btn), html .wd-product.wd-hover-base .wd-bottom-actions:not(.wd-add-small-btn) .wd-add-btn>a, html .wd-product.wd-hover-standard .wd-add-btn>a, html .wd-product.wd-hover-fw-button .wd-add-btn>a, html .wd-product.wd-hover-fw-button.wd-quantity-overlap div.quantity :is(input[type],.btn), html .wd-product.wd-hover-buttons-on-hover .wd-add-btn>a, html .wd-product.product-list-item .wd-add-btn>a, html .quick-shop-form .single_add_to_cart_button, html .quick-shop-form div.quantity :is(input[type],.btn), html .entry-summary .single_add_to_cart_button, .wd-single-add-cart .single_add_to_cart_button, html .woocommerce-mini-cart__buttons .checkout, html #place_order {
	font-weight: 600;
	color: rgb(255,255,255);
	background: rgb(255,58,45);
}
html .wd-product.wd-hover-quick .wd-add-btn>a:hover, html .wd-product.wd-hover-quick.wd-quantity-overlap div:hover > div.quantity :is(input[type],.btn), 
			html .wd-product.wd-hover-quick.wd-quantity-overlap div:hover > div.quantity+.button, html .wd-product.wd-hover-base .wd-bottom-actions:not(.wd-add-small-btn) .wd-add-btn>a:hover, html .wd-product.wd-hover-standard .wd-add-btn>a:hover, html .wd-product.wd-hover-fw-button .wd-add-btn>a:hover, html .wd-product.wd-hover-fw-button.wd-quantity-overlap div:hover > div.quantity :is(input[type],.btn), 
			html .wd-product.wd-hover-fw-button.wd-quantity-overlap div:hover > div.quantity+.button, html .wd-product.wd-hover-buttons-on-hover .wd-add-btn>a:hover, html .wd-product.product-list-item .wd-add-btn>a:hover, html .quick-shop-form .single_add_to_cart_button:hover, html .quick-shop-wrapper .quick-shop-form div:hover > div.quantity :is(input[type],.btn), 
			html .quick-shop-wrapper .quick-shop-form div:hover > div.quantity+.button, html .entry-summary .single_add_to_cart_button:hover, .wd-single-add-cart .single_add_to_cart_button:hover, html .woocommerce-mini-cart__buttons .checkout:hover, html #place_order:hover {
	color: rgb(255,255,255);
	background: rgb(51,62,72);
}
.mfp-wrap.wd-popup-quick-view-wrap {
	--wd-popup-width: 920px;
}

@media (max-width: 1024px) {
	:root {
		--wd-sticky-btn-height: 95px;
	}

}

@media (max-width: 768.98px) {
	:root {
		--wd-sticky-btn-height: 42px;
	}

}
:root{
--wd-container-w: 1222px;
--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: 0px;
--btn-default-box-shadow: none;
--btn-default-box-shadow-hover: none;
--btn-default-box-shadow-active: none;
--btn-default-bottom: 0px;
--btn-accented-brd-radius: 0px;
--btn-accented-box-shadow: none;
--btn-accented-box-shadow-hover: none;
--btn-accented-box-shadow-active: none;
--btn-accented-bottom: 0px;
--wd-brd-radius: 5px;
}

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


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

@font-face {
	font-family: "e-Ukraine-Bold";
	src: url("//mamo.com.ua/wp-content/uploads/2026/10/e-ukraine-bold.woff2") format("woff");
	font-weight: 600;
	font-display:swap;
	font-style: normal;
}

@font-face {
	font-family: "e-Ukraine-Regular";
	src: url("//mamo.com.ua/wp-content/uploads/2026/10/e-ukraine-regular.woff2") format("woff");
	font-weight: 400;
	font-display:swap;
	font-style: normal;
}

@font-face {
	font-family: "e-Ukraine-Medium";
	src: url("//mamo.com.ua/wp-content/uploads/2026/10/e-ukraine-medium.woff2") format("woff");
	font-weight: 500;
	font-display:swap;
	font-style: normal;
}

/* MAMO — приховати Our Details */

body.woocommerce-order-received
.woocommerce-order > .woocommerce-order-overview + h2:has(+ .invoice_details) {
    display: none !important;
    margin: 0 !important;
    padding: 0 !important;
}





/* ==========================================
   MAMO — THANK YOU PAGE
   WooCommerce + Woodmart
   CSS ONLY
========================================== */

body.woocommerce-order-received {
    --mamo-red: #ff3a2d;
    --mamo-green: #26974d;
    --mamo-text: #222222;
    --mamo-muted: #777777;
    --mamo-border: #e8e9eb;
    --mamo-bg: #f5f6f7;
    --mamo-radius: 12px;
}

/* ==========================================
   ОСНОВНИЙ КОНТЕЙНЕР
========================================== */

body.woocommerce-order-received .woocommerce-order {
    width: 100%;
    max-width: 900px !important;
    margin: 0 auto 40px !important;
    padding: 24px;
    background: var(--mamo-bg);
    border-radius: 16px;
    box-sizing: border-box;
}

/* ==========================================
   УСПІШНЕ ЗАМОВЛЕННЯ
========================================== */

body.woocommerce-order-received
.woocommerce-thankyou-order-received {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 15px;

    padding: 35px 24px !important;
    margin: 0 0 20px !important;

    background: #ffffff !important;
    border: 1px solid var(--mamo-border) !important;
    border-radius: var(--mamo-radius) !important;

    color: var(--mamo-text) !important;
    font-size: 26px !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
}

/* Зелена галочка */

body.woocommerce-order-received
.woocommerce-thankyou-order-received::before {
    content: "" !important;
    display: block !important;
    position: static !important;

    width: 76px !important;
    height: 76px !important;

    margin: 0 auto 5px !important;
    border: 0 !important;
    border-radius: 50% !important;

    background-color: #e7f5eb !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: 43px 43px !important;

    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2326974d' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='m8 12 3 3 5-6'/%3E%3C/svg%3E") !important;
}

/* ==========================================
   ІНФОРМАЦІЯ ПРО ЗАМОВЛЕННЯ
========================================== */

body.woocommerce-order-received
ul.woocommerce-order-overview {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px !important;

    width: 100%;
    padding: 20px !important;
    margin: 0 0 20px !important;

    background: #ffffff;
    border: 1px solid var(--mamo-border);
    border-radius: var(--mamo-radius);

    list-style: none !important;
    box-sizing: border-box;
}

/* Картки інформації */

body.woocommerce-order-received
ul.woocommerce-order-overview > li {
    display: flex !important;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 7px;

    float: none !important;
    width: auto !important;
    min-width: 0;
    max-width: none !important;
    min-height: 75px;

    padding: 16px !important;
    margin: 0 !important;

    background: #f6f7f8;
    border: 1px solid #eef0f2 !important;
    border-radius: 9px;

    color: var(--mamo-muted) !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    line-height: 1.5 !important;
    text-align: left !important;
    text-transform: none !important;

    overflow-wrap: anywhere;
    box-sizing: border-box;
}

/* Значення */

body.woocommerce-order-received
ul.woocommerce-order-overview > li strong {
    display: block;
    margin: 0 !important;
    color: var(--mamo-text) !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    line-height: 1.5 !important;
}

/* Номер замовлення */

body.woocommerce-order-received
.woocommerce-order-overview__order strong {
    font-size: 20px !important;
}

/* Загальна сума */

body.woocommerce-order-received
.woocommerce-order-overview__total strong,
body.woocommerce-order-received
.woocommerce-order-overview__total .amount {
    color: var(--mamo-red) !important;
    font-size: 21px !important;
    font-weight: 700 !important;
}

/* Спосіб оплати на всю ширину */

body.woocommerce-order-received
.woocommerce-order-overview__payment-method {
    grid-column: 1 / -1;
}

/* ==========================================
   ПОДРОБИЦІ ЗАМОВЛЕННЯ
========================================== */

body.woocommerce-order-received
.woocommerce-order-details {
    width: 100%;
    padding: 24px !important;
    margin: 0 0 20px !important;

    background: #ffffff;
    border: 1px solid var(--mamo-border);
    border-radius: var(--mamo-radius);

    box-sizing: border-box;
}

/* Заголовки */

body.woocommerce-order-received
.woocommerce-order-details__title,
body.woocommerce-order-received
.woocommerce-column__title,
body.woocommerce-order-received
.woocommerce-customer-details h2 {
    display: flex;
    align-items: center;
    gap: 12px;

    color: var(--mamo-text) !important;
    font-size: 22px !important;
    font-weight: 700 !important;
    line-height: 1.4;
    text-transform: none !important;

    margin: 0 0 20px !important;
    padding: 0 !important;
}

/* Іконка замовлення */

body.woocommerce-order-received
.woocommerce-order-details__title::before {
    content: "";
    display: block;
    flex-shrink: 0;
    width: 25px;
    height: 25px;

    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;

    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23333333' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='6' width='16' height='15' rx='2'/%3E%3Cpath d='M8 8V6a4 4 0 0 1 8 0v2'/%3E%3C/svg%3E");
}

/* ==========================================
   ТАБЛИЦЯ ТОВАРІВ
========================================== */

body.woocommerce-order-received
table.woocommerce-table--order-details {
    width: 100% !important;
    margin: 0 !important;
    border: 0 !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    table-layout: auto;
    font-size: 14px;
}

/* Шапка таблиці */

body.woocommerce-order-received
.woocommerce-table--order-details thead th {
    padding: 15px 12px !important;

    background: #f5f6f7;
    color: #555555 !important;

    font-size: 13px !important;
    font-weight: 600 !important;

    border: 0 !important;
}

body.woocommerce-order-received
.woocommerce-table--order-details thead th:first-child {
    border-radius: 8px 0 0 8px;
    text-align: left;
}

body.woocommerce-order-received
.woocommerce-table--order-details thead th:last-child {
    border-radius: 0 8px 8px 0;
    text-align: right;
}

/* Рядки товарів */

body.woocommerce-order-received
.woocommerce-table--order-details tbody td {
    padding: 20px 12px !important;
    border: 0 !important;
    border-bottom: 1px solid var(--mamo-border) !important;
    vertical-align: middle;
    font-size: 14px !important;
    line-height: 1.6;
}

/* Назва товару */

body.woocommerce-order-received
.woocommerce-table--order-details .product-name {
    text-align: left !important;
    overflow-wrap: anywhere;
}

body.woocommerce-order-received
.woocommerce-table--order-details .product-name a {
    color: var(--mamo-text) !important;
    font-weight: 600 !important;
}

body.woocommerce-order-received
.woocommerce-table--order-details .product-name a:hover {
    color: var(--mamo-red) !important;
}

/* Кількість товару */

body.woocommerce-order-received
.woocommerce-table--order-details .product-quantity {
    display: inline-block;
    padding: 2px 8px;
    margin: 4px 0;

    background: #f0f1f3;
    border-radius: 5px;

    color: #666666 !important;
    font-size: 12px !important;
    font-weight: 600 !important;
}

/* Вартість товару */

body.woocommerce-order-received
.woocommerce-table--order-details .product-total {
    text-align: right !important;
    white-space: nowrap;
}

body.woocommerce-order-received
.woocommerce-table--order-details tbody .amount {
    color: var(--mamo-text) !important;
    font-weight: 700 !important;
}

/* ==========================================
   ПІДСУМКИ ЗАМОВЛЕННЯ
========================================== */

body.woocommerce-order-received
.woocommerce-table--order-details tfoot th,
body.woocommerce-order-received
.woocommerce-table--order-details tfoot td {
    padding: 15px 12px !important;
    border: 0 !important;
    border-bottom: 1px solid var(--mamo-border) !important;
    font-size: 14px !important;
    line-height: 1.5;
}

body.woocommerce-order-received
.woocommerce-table--order-details tfoot th {
    color: #555555 !important;
    font-weight: 500 !important;
    text-align: left !important;
}

body.woocommerce-order-received
.woocommerce-table--order-details tfoot td {
    color: var(--mamo-text) !important;
    text-align: right !important;
}

body.woocommerce-order-received
.woocommerce-table--order-details tfoot .amount {
    color: var(--mamo-text) !important;
    font-weight: 600 !important;
}

/* ==========================================
   ЗАГАЛЬНА СУМА
========================================== */

body.woocommerce-order-received
.woocommerce-table--order-details tfoot tr:last-child th,
body.woocommerce-order-received
.woocommerce-table--order-details tfoot tr:last-child td {
    background: #fff1ee !important;
    padding: 20px 14px !important;
    border: 0 !important;
}

body.woocommerce-order-received
.woocommerce-table--order-details tfoot tr:last-child th {
    font-size: 17px !important;
    font-weight: 700 !important;
    color: var(--mamo-text) !important;
    border-radius: 8px 0 0 8px;
}

body.woocommerce-order-received
.woocommerce-table--order-details tfoot tr:last-child td {
    border-radius: 0 8px 8px 0;
}

body.woocommerce-order-received
.woocommerce-table--order-details tfoot tr:last-child .amount {
    color: var(--mamo-red) !important;
    font-size: 24px !important;
    font-weight: 700 !important;
}

/* ==========================================
   ПЛАТІЖНА АДРЕСА
========================================== */

body.woocommerce-order-received
.woocommerce-customer-details {
    width: 100%;
    margin: 0 0 20px !important;
    padding: 24px !important;

    background: #ffffff;
    border: 1px solid var(--mamo-border);
    border-radius: var(--mamo-radius);

    box-sizing: border-box;
}

/* Іконка адреси */

body.woocommerce-order-received
.woocommerce-customer-details .woocommerce-column__title::before,
body.woocommerce-order-received
.woocommerce-customer-details > h2::before {
    content: "";
    display: block;
    flex-shrink: 0;
    width: 25px;
    height: 25px;

    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;

    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23333333' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 10c0 6-8 11-8 11S4 16 4 10a8 8 0 0 1 16 0Z'/%3E%3Ccircle cx='12' cy='10' r='2.5'/%3E%3C/svg%3E");
}

/* Адреса отримувача */

body.woocommerce-order-received
.woocommerce-customer-details address {
    padding: 18px !important;
    margin: 0 !important;

    background: #f6f7f8;
    border: 1px solid #eef0f2 !important;
    border-radius: 8px !important;

    color: #444444 !important;
    font-size: 15px !important;
    font-style: normal !important;
    line-height: 1.9 !important;
    overflow-wrap: anywhere;
}

/* Телефон та email */

body.woocommerce-order-received
.woocommerce-customer-details--phone,
body.woocommerce-order-received
.woocommerce-customer-details--email {
    margin: 10px 0 0 !important;
    font-size: 14px !important;
    color: #444444 !important;
}

/* ==========================================
   КНОПКИ ОПЛАТИ ТА ІНШІ ДІЇ
========================================== */

body.woocommerce-order-received
.woocommerce-order .button {
    border-radius: 7px !important;
    font-weight: 600 !important;
}

/* ==========================================
   ПЛАНШЕТИ
========================================== */

@media (max-width: 1024px) {

    body.woocommerce-order-received
    .woocommerce-order {
        padding: 16px;
    }
}

/* ==========================================
   МОБІЛЬНА ВЕРСІЯ
========================================== */

@media (max-width: 767px) {

    body.woocommerce-order-received
    .woocommerce-order {
        padding: 10px;
        margin-bottom: 25px !important;
        border-radius: 10px;
    }

    body.woocommerce-order-received
    .woocommerce-thankyou-order-received {
        padding: 25px 15px !important;
        font-size: 21px !important;
    }

    body.woocommerce-order-received
    .woocommerce-thankyou-order-received::before {
        width: 65px !important;
        height: 65px !important;
        background-size: 36px !important;
    }

    body.woocommerce-order-received
    ul.woocommerce-order-overview {
        padding: 12px !important;
        gap: 8px !important;
    }

    body.woocommerce-order-received
    ul.woocommerce-order-overview > li {
        padding: 12px !important;
        font-size: 11px !important;
        min-height: 70px;
    }

    body.woocommerce-order-received
    ul.woocommerce-order-overview > li strong {
        font-size: 13px !important;
    }

    body.woocommerce-order-received
    .woocommerce-order-overview__email {
        grid-column: 1 / -1;
    }

    body.woocommerce-order-received
    .woocommerce-order-details,
    body.woocommerce-order-received
    .woocommerce-customer-details {
        padding: 15px !important;
    }

    body.woocommerce-order-received
    .woocommerce-order-details__title,
    body.woocommerce-order-received
    .woocommerce-column__title,
    body.woocommerce-order-received
    .woocommerce-customer-details h2 {
        font-size: 18px !important;
    }

    body.woocommerce-order-received
    .woocommerce-table--order-details tbody td {
        padding: 14px 7px !important;
        font-size: 12px !important;
    }

    body.woocommerce-order-received
    .woocommerce-table--order-details tfoot th,
    body.woocommerce-order-received
    .woocommerce-table--order-details tfoot td {
        padding: 12px 7px !important;
        font-size: 12px !important;
    }

    body.woocommerce-order-received
    .woocommerce-table--order-details tfoot tr:last-child .amount {
        font-size: 19px !important;
    }

    body.woocommerce-order-received
    .woocommerce-customer-details address {
        padding: 14px !important;
        font-size: 14px !important;
    }
}




/* ==========================================
   MAMO — THANK YOU BRAND COLOR
========================================== */

body.woocommerce-order-received {
    --mamo-red: #FF3A2D;
    --mamo-green: #FF3A2D;
}

/* Фірмова галочка */

body.woocommerce-order-received
.woocommerce-thankyou-order-received::before {
    background-color: #FF3A2D !important;
    background-size: 42px 42px !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L19 8'/%3E%3C/svg%3E") !important;
}

/* Номер замовлення */

body.woocommerce-order-received
.woocommerce-order-overview__order strong {
    color: #FF3A2D !important;
}

/* Загальна сума */

body.woocommerce-order-received
.woocommerce-order-overview__total .amount,
body.woocommerce-order-received
.woocommerce-table--order-details tfoot tr:last-child .amount {
    color: #FF3A2D !important;
}

/* Фон підсумкового блоку */

body.woocommerce-order-received
.woocommerce-table--order-details tfoot tr:last-child th,
body.woocommerce-order-received
.woocommerce-table--order-details tfoot tr:last-child td {
    background: rgba(255, 58, 45, 0.08) !important;
}

/* Кнопки */

body.woocommerce-order-received
.woocommerce-order .button {
    background-color: #FF3A2D !important;
    color: #ffffff !important;
}

body.woocommerce-order-received
.woocommerce-order .button:hover {
    background-color: #E82D21 !important;
}







/* ========================================
   MAMO — CHECKOUT PAYMENT DESIGN
======================================== */

.woocommerce-checkout #payment {
    --mamo-payment-accent: #ff3a2d;
    background: transparent !important;
}

/* Заголовок блоку */

.woocommerce-checkout #payment .wc_payment_methods::before {
    content: "Спосіб оплати";
    display: block;
    font-size: 20px;
    font-weight: 700;
    color: #222;
    margin-bottom: 16px;
}

/* Список способів оплати */

.woocommerce-checkout #payment ul.wc_payment_methods {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 0 !important;
    margin: 20px 0 !important;
    border: 0 !important;
}

/* Картка способу оплати */

.woocommerce-checkout #payment li.wc_payment_method {
    position: relative;
    display: block;
    background: #fff;
    border: 1px solid #dedede;
    border-radius: 10px;
    padding: 0 !important;
    margin: 0 !important;
    transition: background .2s ease,
                border-color .2s ease,
                box-shadow .2s ease;
}

/* Наведення */

.woocommerce-checkout #payment li.wc_payment_method:hover {
    border-color: var(--mamo-payment-accent);
}

/* Вибрана картка */

.woocommerce-checkout #payment li.wc_payment_method:has(> input:checked) {
    background: #fff4f2;
    border-color: var(--mamo-payment-accent);
    box-shadow: 0 0 0 1px var(--mamo-payment-accent);
}

/* Радіокнопка */

.woocommerce-checkout #payment li.wc_payment_method > input[type="radio"] {
    position: absolute;
    top: 19px;
    right: 16px;
    left: auto;
    width: 19px;
    height: 19px;
    margin: 0 !important;
    accent-color: var(--mamo-payment-accent);
    cursor: pointer;
    z-index: 2;
}

/* Назва способу оплати */

.woocommerce-checkout #payment li.wc_payment_method > label {
    display: block !important;
    width: 100%;
    padding: 17px 46px 17px 55px !important;
    margin: 0 !important;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
    color: #222;
    cursor: pointer;
    box-sizing: border-box;
}

/* Контейнер іконки */

.woocommerce-checkout #payment li.wc_payment_method > label::before {
    content: "";
    position: absolute;
    top: 12px;
    left: 12px;
    width: 32px;
    height: 32px;
    border-radius: 7px;
    background-color: #f1f2f4;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 20px;
    transition: background-color .2s ease;
}

/* Іконка вибраного способу */

.woocommerce-checkout #payment li.wc_payment_method:has(> input:checked) > label::before {
    background-color: #ffdfd9;
}

/* Банківська картка */

.woocommerce-checkout #payment .wc_payment_method > label::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23444444' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='4' width='20' height='16' rx='3'/%3E%3Cpath d='M2 10h20M6 16h4'/%3E%3C/svg%3E");
}

/* Безготівковий розрахунок */

.woocommerce-checkout #payment .payment_method_bacs > label::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23444444' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 21h18M4 9h16L12 3 4 9ZM6 11v7M10 11v7M14 11v7M18 11v7'/%3E%3C/svg%3E");
}

/* Накладений платіж */

.woocommerce-checkout #payment .payment_method_cod > label::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23444444' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 6l9-4 9 4v12l-9 4-9-4V6ZM3 6l9 4 9-4M12 10v12M7 4l10 4'/%3E%3C/svg%3E");
}

/* Відстрочення оплати — четвертий спосіб */

.woocommerce-checkout #payment li.wc_payment_method:nth-of-type(4) > label::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23444444' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='16' rx='2'/%3E%3Cpath d='M7 3v4M17 3v4M3 10h18M12 13v4l3 1'/%3E%3C/svg%3E");
}

/* Логотип платіжної системи */

.woocommerce-checkout #payment .wc_payment_method > label img {
    display: block !important;
    float: none !important;
    max-width: 115px !important;
    max-height: 25px !important;
    width: auto;
    height: auto;
    object-fit: contain;
    margin: 7px 0 0 !important;
}

/* Додатковий опис способу оплати */

.woocommerce-checkout #payment .payment_box {
    background: transparent !important;
    border: 0 !important;
    border-top: 1px solid rgba(0,0,0,.07) !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    padding: 12px 16px !important;
    margin: 0 !important;
    font-size: 13px;
    line-height: 1.6;
    color: #666;
}

.woocommerce-checkout #payment .payment_box::before,
.woocommerce-checkout #payment .payment_box::after {
    display: none !important;
}

.woocommerce-checkout #payment .payment_box p:last-child {
    margin-bottom: 0;
}

/* Кнопка підтвердження замовлення */

.woocommerce-checkout #payment #place_order {
    min-height: 56px;
    background: var(--mamo-payment-accent) !important;
    border-radius: 7px !important;
    font-weight: 700;
    font-size: 15px;
    letter-spacing: .2px;
    transition: background .2s ease;
}

.woocommerce-checkout #payment #place_order:hover {
    background: #e82c20 !important;
}

/* Мобільна адаптація */

@media (max-width: 767px) {

    .woocommerce-checkout #payment .wc_payment_methods::before {
        font-size: 18px;
        margin-bottom: 10px;
    }

    .woocommerce-checkout #payment li.wc_payment_method > label {
        padding: 15px 38px 15px 49px !important;
        font-size: 13px;
    }

    .woocommerce-checkout #payment li.wc_payment_method > label::before {
        left: 10px;
        width: 30px;
        height: 30px;
    }

    .woocommerce-checkout #payment li.wc_payment_method > input[type="radio"] {
        right: 12px;
        top: 17px;
        width: 17px;
        height: 17px;
    }
}












































/* =========================================
   MAMO — STICKY ADD TO CART
   WoodMart + Tiered Pricing Table
========================================= */

/* Основна панель */

.wd-sticky-btn {
    background: #fff !important;
    padding: 12px 0 !important;
    box-shadow: 0 -4px 24px rgba(0, 0, 0, .08);
    border-top: 1px solid #eeeeee;
}

/* Загальний контейнер */

.wd-sticky-btn-container {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 20px !important;
    height: auto !important;
    max-height: none !important;
    min-height: 65px;
}

/* Фото та назва товару */

.wd-sticky-btn-container .wd-sticky-btn-content {
    display: flex !important;
    align-items: center !important;
    flex: 1 1 320px !important;
    min-width: 0;
    gap: 12px !important;
}

.wd-sticky-btn-container .wd-sticky-btn-thumbnail {
    flex: 0 0 60px !important;
    width: 60px !important;
    margin: 0 !important;
}

.wd-sticky-btn-container .wd-sticky-btn-thumbnail img {
    width: 60px !important;
    height: 60px !important;
    object-fit: contain;
    border-radius: 6px;
}

.wd-sticky-btn-container .wd-sticky-btn-info {
    min-width: 0;
}

.wd-sticky-btn-container .wd-entities-title {
    font-size: 14px !important;
    line-height: 1.4 !important;
    font-weight: 600 !important;
    margin: 0 0 5px !important;

    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.wd-sticky-btn-container .star-rating {
    margin: 0 !important;
}

/* Права частина кошика */

.wd-sticky-btn-container .wd-sticky-btn-cart {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    flex: 0 1 auto !important;
    flex-wrap: nowrap !important;
    gap: 15px !important;
    margin: 0 !important;
    min-width: 0;
}

/* Прибираємо дублювання ціни,
   тільки якщо є блок загальної суми */

.wd-sticky-btn-container
.wd-sticky-btn-cart:has(.tier-pricing-summary-table)
> .price {
    display: none !important;
}

/* Прибираємо зайві переноси */

.wd-sticky-btn-container .clear {
    display: none !important;
}

/* Форма додавання в кошик */

.wd-sticky-btn-container
.wd-sticky-btn-cart form.cart {
    display: flex !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    gap: 10px !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Оптові ціни */

.wd-sticky-btn-container .tpt__tiered-pricing {
    width: auto !important;
    flex: 0 0 auto !important;
    margin: 0 !important;
    padding: 0 !important;
}

.wd-sticky-btn-container .tiered-pricing-wrapper {
    margin: 0 !important;
    padding: 0 !important;
}

.wd-sticky-btn-container .tiered-pricing-blocks {
    display: flex !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    gap: 6px !important;
    margin: 0 !important;
}

.wd-sticky-btn-container .tiered-pricing-block {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 3px !important;

    min-width: 85px !important;
    min-height: 50px !important;
    padding: 6px 10px !important;
    margin: 0 !important;

    border: 1px solid #dddddd !important;
    border-radius: 5px !important;
    background: #ffffff !important;
    box-shadow: none !important;
    transition: background .2s, border-color .2s;
}

.wd-sticky-btn-container .tiered-pricing-block:hover {
    border-color: #ff3a2d !important;
}

.wd-sticky-btn-container .tiered-pricing--active {
    background: #fff3f1 !important;
    border-color: #ff3a2d !important;
}

.wd-sticky-btn-container .tiered-pricing-block__price {
    font-size: 14px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    white-space: nowrap;
}

.wd-sticky-btn-container
.tiered-pricing-block__price .amount {
    color: #ff3a2d !important;
    font-size: 14px !important;
}

.wd-sticky-btn-container
.tiered-pricing-block__quantity {
    font-size: 12px !important;
    color: #777777 !important;
    line-height: 1.2 !important;
    white-space: nowrap;
}

/* Загальна сума та ціна за одиницю */

.wd-sticky-btn-container .tier-pricing-summary-table {
    display: grid !important;
    grid-template-columns: auto auto;
    align-items: center !important;
    gap: 4px 8px !important;

    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;

    font-size: 12px !important;
    line-height: 1.3 !important;
    white-space: nowrap;
}

.wd-sticky-btn-container
.tier-pricing-summary-table br {
    display: none !important;
}

.wd-sticky-btn-container
.tier-pricing-summary-table b {
    font-size: 12px !important;
    color: #777777 !important;
    font-weight: 500 !important;
}

.wd-sticky-btn-container
[data-tier-pricing-table-summary-total] .amount {
    color: #ff3a2d !important;
    font-size: 17px !important;
    font-weight: 700 !important;
}

.wd-sticky-btn-container
[data-tier-pricing-table-summary-product-price] .amount {
    color: #555555 !important;
    font-size: 13px !important;
    font-weight: 500 !important;
}

/* Кількість товару */

.wd-sticky-btn-container .quantity {
    display: flex !important;
    flex: 0 0 auto !important;
    align-items: center !important;
    margin: 0 !important;
    height: 44px !important;
    border-radius: 5px;
    overflow: hidden;
}

.wd-sticky-btn-container .quantity .minus,
.wd-sticky-btn-container .quantity .plus {
    width: 28px !important;
    min-width: 28px !important;
    height: 44px !important;
    padding: 0 !important;
    font-size: 16px !important;
}

.wd-sticky-btn-container .quantity input.qty {
    width: 46px !important;
    min-width: 46px !important;
    height: 44px !important;
    padding: 0 !important;
    font-size: 14px !important;
    text-align: center !important;
}

/* Кнопка додавання в кошик */

.wd-sticky-btn-container .single_add_to_cart_button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    min-height: 44px !important;
    height: 44px !important;
    padding: 0 22px !important;
    margin: 0 !important;

    background: #ff3a2d !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 5px !important;

    font-size: 13px !important;
    font-weight: 700 !important;
    white-space: nowrap !important;

    transition: background .2s ease;
}

.wd-sticky-btn-container
.single_add_to_cart_button:hover {
    background: #e72e22 !important;
}

/* Обране */

.wd-sticky-btn-container .wd-sticky-btn-actions {
    display: flex !important;
    align-items: center !important;
    flex: 0 0 auto;
    margin: 0 !important;
}

/* =========================================
   ПЛАНШЕТИ ТА НЕВЕЛИКІ ЕКРАНИ
========================================= */

@media (max-width: 1200px) {

    .wd-sticky-btn-container {
        gap: 12px !important;
    }

    .wd-sticky-btn-container .wd-sticky-btn-cart {
        gap: 10px !important;
    }

    .wd-sticky-btn-container .wd-sticky-btn-thumbnail {
        flex-basis: 45px !important;
        width: 45px !important;
    }

    .wd-sticky-btn-container .wd-sticky-btn-thumbnail img {
        width: 45px !important;
        height: 45px !important;
    }

    .wd-sticky-btn-container .wd-entities-title {
        font-size: 12px !important;
    }

    .wd-sticky-btn-container .single_add_to_cart_button {
        padding: 0 14px !important;
    }
}

@media (max-width: 1024px) {

    .wd-sticky-btn-container {
        flex-wrap: wrap !important;
    }

    .wd-sticky-btn-container .wd-sticky-btn-content {
        display: none !important;
    }

    .wd-sticky-btn-container .wd-sticky-btn-cart {
        width: 100% !important;
        flex: 1 1 100% !important;
        justify-content: center !important;
    }
}

/* =========================================
   МОБІЛЬНА ВЕРСІЯ
========================================= */

@media (max-width: 767px) {

    .wd-sticky-btn {
        padding: 10px 0 !important;
    }

    .wd-sticky-btn-container {
        min-height: 0 !important;
        padding-left: 12px !important;
        padding-right: 12px !important;
    }

    .wd-sticky-btn-container .wd-sticky-btn-cart {
        flex-wrap: wrap !important;
        justify-content: space-between !important;
        gap: 8px !important;
    }

    .wd-sticky-btn-container
    .wd-sticky-btn-cart form.cart {
        flex: 1 1 100% !important;
        width: 100% !important;
        flex-wrap: wrap !important;
        gap: 8px !important;
    }

    .wd-sticky-btn-container .tpt__tiered-pricing {
        width: 100% !important;
        flex: 1 1 100% !important;
    }

    .wd-sticky-btn-container .tiered-pricing-blocks {
        width: 100% !important;
        overflow-x: auto;
    }

    .wd-sticky-btn-container .tiered-pricing-block {
        flex: 1 0 auto !important;
        min-height: 40px !important;
    }

    .wd-sticky-btn-container .quantity {
        flex: 0 0 auto !important;
    }

    .wd-sticky-btn-container .single_add_to_cart_button {
        flex: 1 1 0 !important;
        min-width: 0 !important;
        padding: 0 10px !important;
        font-size: 12px !important;
    }

    .wd-sticky-btn-container .wd-sticky-btn-actions {
        display: none !important;
    }
}


/* =========================================
   MAMO — ВИПРАВЛЕННЯ ВІДОБРАЖЕННЯ ЦІН
   Sticky Cart + Tiered Pricing Table
========================================= */

/* Звичайні товари — повертаємо стандартну ціну */

.wd-sticky-btn-container
.wd-sticky-btn-cart:not(:has(.tiered-pricing-block))
> .price {
    display: inline-flex !important;
    align-items: center !important;
    flex: 0 0 auto !important;
    gap: 6px !important;
    margin: 0 !important;
    white-space: nowrap !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    color: #ff3a2d !important;
}

/* Колір та розмір стандартної ціни */

.wd-sticky-btn-container
.wd-sticky-btn-cart:not(:has(.tiered-pricing-block))
> .price .amount {
    font-size: 20px !important;
    font-weight: 700 !important;
    color: #ff3a2d !important;
}

/* Приховуємо порожній блок розрахунку */

.wd-sticky-btn-container
.wd-sticky-btn-cart:not(:has(.tiered-pricing-block))
.tier-pricing-summary-table {
    display: none !important;
}

/* Приховуємо порожній контейнер оптових цін */

.wd-sticky-btn-container
.tpt__tiered-pricing:not(:has(.tiered-pricing-block)) {
    display: none !important;
}

/* Товари з оптовими цінами */

.wd-sticky-btn-container
.wd-sticky-btn-cart:has(.tiered-pricing-block)
> .price {
    display: none !important;
}

/* Стара ціна для акційних товарів */

.wd-sticky-btn-container .price del,
.wd-sticky-btn-container .price del .amount {
    color: #999999 !important;
    font-size: 14px !important;
    font-weight: 400 !important;
}

.wd-sticky-btn-container .price ins {
    text-decoration: none !important;
}

/* Мобільна версія */

@media (max-width: 767px) {

    .wd-sticky-btn-container
    .wd-sticky-btn-cart:not(:has(.tiered-pricing-block))
    > .price .amount {
        font-size: 17px !important;
    }

    .wd-sticky-btn-container
    .wd-sticky-btn-cart:not(:has(.tiered-pricing-block))
    form.cart {
        flex: 1 1 auto !important;
        width: auto !important;
    }
}




























/* WoodMart: показувати лише останню категорію */
.products .wd-product-cats {
    font-size: 0 !important;
}

.products .wd-product-cats a {
    display: none !important;
}

.products .wd-product-cats a:last-of-type {
    display: inline !important;
    font-size: 14px !important;
}
