/* =========================
   FUNDELIVERY GLOBAL HEADER
   Other ET + RU pages
   ========================= */

body:not(.page-template-page-home-v2):not(.page-template-page-home-v2-ru) #masthead {
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 9999;
    background: #fff;
}

body:not(.page-template-page-home-v2):not(.page-template-page-home-v2-ru) {
    padding-top: 92px;
}

/* WordPress admin bar */
body.admin-bar:not(.page-template-page-home-v2):not(.page-template-page-home-v2-ru) #masthead {
    top: 32px;
}

/* MOBILE */
@media (max-width: 782px) {

    body:not(.page-template-page-home-v2):not(.page-template-page-home-v2-ru) {
        padding-top: 72px;
    }

    body.admin-bar:not(.page-template-page-home-v2):not(.page-template-page-home-v2-ru) #masthead {
        top: 46px;
    }
}
/* =========================
   RU WOOCOMMERCE SHOP
   Product cards
   ========================= */

html[lang^="ru"] body.woocommerce-shop ul.products li.product,
html[lang^="ru"] body.tax-product_cat ul.products li.product {
    background: #ffffff !important;
    border-radius: 16px !important;
    padding: 14px !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    box-shadow: none !important;
    margin-bottom: 37.5px !important;

    transition:
        transform 180ms ease,
        box-shadow 180ms ease;
}

/* Hover */
html[lang^="ru"] body.woocommerce-shop ul.products li.product:hover,
html[lang^="ru"] body.tax-product_cat ul.products li.product:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 26px rgba(72, 48, 108, 0.08) !important;
}

/* Thumbnail container — как на ET */
html[lang^="ru"] body.woocommerce-shop ul.products li.product .astra-shop-thumbnail-wrap,
html[lang^="ru"] body.tax-product_cat ul.products li.product .astra-shop-thumbnail-wrap {
    margin: 0 !important;
    padding: 0 !important;
}

/* Картинка */
html[lang^="ru"] body.woocommerce-shop ul.products li.product a img,
html[lang^="ru"] body.tax-product_cat ul.products li.product a img {
    width: 100% !important;
    height: auto !important;
    display: block !important;
    margin: 0 0 .8em !important;
    box-shadow: none !important;
}

/* Категория */
html[lang^="ru"] body.woocommerce-shop ul.products li.product .ast-woo-product-category,
html[lang^="ru"] body.tax-product_cat ul.products li.product .ast-woo-product-category {
    font-size: 13px;
    line-height: 1.35;
    margin-bottom: 5px;
}

/* Название */
html[lang^="ru"] body.woocommerce-shop ul.products li.product .woocommerce-loop-product__title,
html[lang^="ru"] body.tax-product_cat ul.products li.product .woocommerce-loop-product__title {
    font-size: 17px;
    line-height: 1.25;
    margin: 0 0 7px;
}

/* Цена */
html[lang^="ru"] body.woocommerce-shop ul.products li.product .price,
html[lang^="ru"] body.tax-product_cat ul.products li.product .price,
html[lang^="ru"] body.woocommerce-shop ul.products li.product .price *,
html[lang^="ru"] body.tax-product_cat ul.products li.product .price * {
    color: #7c3aed !important;
    font-weight: 700 !important;
}

html[lang^="ru"] body.woocommerce-shop ul.products li.product .price,
html[lang^="ru"] body.tax-product_cat ul.products li.product .price {
    margin-top: 5px;
    font-size: 16px;
}

/* MOBILE */
@media (max-width: 767px) {

    html[lang^="ru"] body.woocommerce-shop ul.products li.product,
    html[lang^="ru"] body.tax-product_cat ul.products li.product {
        padding: 10px !important;
        border-radius: 16px !important;
        margin-bottom: 34.2px !important;
    }

    html[lang^="ru"] body.woocommerce-shop ul.products li.product .astra-shop-thumbnail-wrap,
    html[lang^="ru"] body.tax-product_cat ul.products li.product .astra-shop-thumbnail-wrap {
        margin: 0 !important;
        padding: 0 !important;
    }

    html[lang^="ru"] body.woocommerce-shop ul.products li.product .woocommerce-loop-product__title,
    html[lang^="ru"] body.tax-product_cat ul.products li.product .woocommerce-loop-product__title {
        font-size: 15px;
        line-height: 1.3;
    }
}
/* =========================
   RU SHOP — printer banner
   ========================= */

html[lang^="ru"] .banner-print-ru {
    display: block !important;
    background: #100e19 !important;
    color: #ffffff !important;

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

    text-align: center !important;

    padding: 8px 16px !important;
    margin: 0 auto 16px auto !important;

    border-radius: 32px !important;
    max-width: 92% !important;

    box-sizing: border-box !important;
    overflow: visible !important;
    word-break: keep-all !important;
}

html[lang^="ru"] .banner-print-ru strong {
    color: #ffffff !important;
}

@media (max-width: 480px) {

    html[lang^="ru"] .banner-print-ru {
        font-size: 14px !important;
        padding: 6px 14px !important;
        line-height: 1.15 !important;
        border-radius: 28px !important;
    }
}
/* =========================
   WOO ARCHIVES — COMPACT TOP
   ET + RU
   ========================= */

/* Убираем огромный заголовок категории */
body.tax-product_cat .woocommerce-products-header__title,
body.tax-product_cat .page-title {
    display: none !important;
}

/* Уменьшаем пустоту сверху на магазине и категориях */
body.woocommerce-shop #primary,
body.tax-product_cat #primary {
    margin-top: 22px !important;
    padding-top: 0 !important;
}

/* Breadcrumbs компактнее */
body.woocommerce-shop .woocommerce-breadcrumb,
body.tax-product_cat .woocommerce-breadcrumb {
    margin-top: 0 !important;
    margin-bottom: 16px !important;
}

/* MOBILE */
@media (max-width: 767px) {

    body.woocommerce-shop #primary,
    body.tax-product_cat #primary {
        margin-top: 10px !important;
    }

    body.woocommerce-shop .woocommerce-breadcrumb,
    body.tax-product_cat .woocommerce-breadcrumb {
        margin-bottom: 10px !important;
        font-size: 12px;
        line-height: 1.35;
    }
}