.rs-17 .rs-footer .footer-bottom {
    padding: 15px 0;
}

.pull-right.right-block {
    display: flex;
    flex-direction: column;
    align-items: end;
    gap: 10px;
}

.artena {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
}

.artena__links {
    display: flex;
    flex-direction: column;
    text-align: right;
    gap: 2px;
}

.artena__links a,
.artena__links a:hover,
.artena__links a:focus {
    text-decoration: none !important;
    color: #424242 !important;
}

.artena__logo {
    margin-bottom: 0;
}

@media (max-width: 767px) {
    .pull-right.right-block {
        align-items: center;
    }

    .artena {
        flex-direction: column-reverse;
        gap: 2px;
    }

    .artena__links {
        flex-direction: row;
        gap: 10px;
    }
}

/***
    SINGL PRODUCT
***/
.related.products {
    display: inline-block;
}

/***
    BASKET FORM
***/
#billing-fields,
#order-notes,
#shipping-option,
#payment-method,
#shipping-fields,
.wp-block-woocommerce-checkout-order-summary-shipping-block,
.wp-block-woocommerce-checkout-terms-block {
    display: none;
}

.rs-services .h1 {
    text-transform: uppercase;
}

h2.woocommerce-loop-category__title {
    line-height: 1.5em;
}

/***
    MINI CART
***/

/* Контейнер мини-корзины */
.header-mini-cart {
    position: relative;
    display: inline-block;
    margin-left: 20px;
    font-family: inherit;
}

/* Ссылка с иконкой и количеством */
.header-mini-cart .cart-contents {
    display: flex;
    align-items: center;
    font-size: 16px;
    color: #333;
    text-decoration: none;
    position: relative;
    transition: color 0.2s;
}

.header-mini-cart .cart-contents:hover {
    color: #0073aa; /* синий hover */
}

/* Значок количества товаров */
.header-mini-cart .cart-count {
    background: #e60023;
    color: #fff;
    font-size: 12px;
    font-weight: bold;
    border-radius: 50%;
    padding: 2px 6px;
    margin-left: 5px;
    line-height: 1;
    min-width: 20px;
    text-align: center;
}

/* Сумма корзины */
.header-mini-cart .cart-total {
    margin-left: 8px;
    font-weight: 500;
}

/* Выпадающая корзина */
.header-mini-cart .mini-cart-dropdown {
    display: none; /* скрыта по умолчанию */
    position: absolute;
    right: 0;
    top: 100%;
    margin-top: 10px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    width: 300px;
    max-height: 400px;
    overflow-y: auto;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    padding: 15px;
}

/* При наведении показываем */
.header-mini-cart:hover .mini-cart-dropdown {
    display: block;
}

/* Заголовки внутри мини-корзины */
.header-mini-cart .woocommerce-mini-cart__total {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #eee;
    font-weight: bold;
}

/* Кнопки внутри */
.header-mini-cart .woocommerce-mini-cart__buttons a {
    display: inline-block;
    margin-top: 10px;
    margin-right: 8px;
    padding: 8px 14px;
    background: #0073aa;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.2s;
}
.header-mini-cart .woocommerce-mini-cart__buttons a:hover {
    background: #005f8c;
}

/* Контейнер выпадающей корзины */
.header-mini-cart .mini-cart-dropdown {
    display: none; /* скрыта по умолчанию */
    position: absolute;
    top: 100%;
    right: 0;
    width: 320px;
    max-height: 400px;
    overflow-y: auto;
    margin-top: 0;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    padding: 15px;
    z-index: 9999;
}

/* Появление при наведении */
.header-mini-cart:hover .mini-cart-dropdown {
    display: block;
}

/* Заголовок мини-корзины */
.header-mini-cart .woocommerce-mini-cart__empty-message {
    font-size: 14px;
    color: #555;
    text-align: center;
    padding: 20px 0;
}

/* Список товаров */
.header-mini-cart .woocommerce-mini-cart {
    list-style: none;
    margin: 0;
    padding: 0;
}

.header-mini-cart .woocommerce-mini-cart li {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    border-bottom: 1px solid #f1f1f1;
    padding-bottom: 10px;
}

.header-mini-cart .woocommerce-mini-cart li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

/* Картинка товара */
.header-mini-cart .woocommerce-mini-cart li img {
    width: 50px;
    height: auto;
    margin-right: 10px;
    border-radius: 5px;
    border: 1px solid #eee;
}

/* Название и количество */
.header-mini-cart .woocommerce-mini-cart__product-name a {
    font-size: 14px;
    font-weight: 500;
    color: #333;
    text-decoration: none;
}

.header-mini-cart .woocommerce-mini-cart__product-name a:hover {
    color: #0073aa;
}

.header-mini-cart .woocommerce-mini-cart__product-quantity {
    font-size: 13px;
    color: #666;
    margin-left: 6px;
}

/* Цена товара */
.header-mini-cart .woocommerce-mini-cart__product-price {
    margin-left: auto;
    font-weight: bold;
}

/* Пагинация */
.woocommerce-pagination .page-numbers li:before {
    display: none !important;
}

.category-detail-text {
    margin: 40px 0 20px 0;
}

.products .product::before,
.wc-block-grid__products .wc-block-grid__product::before {
    display: none !important;
}

.header-mini-cart .cart-contents {
	gap: 5px;
}

.header-mini-cart,
.header-mini-cart .cart-total {
    margin-left: 0;
}

.container.header__container {
    display: flex;
    flex-direction: column;
}

.header__bottom {
    display: flex;
    justify-content: end;
    align-items: center;
    gap: 20px;
}

.cart-contents.cart-contents-mobile .cart-count {
	margin-right: 5px;
}

.header__bottom {
    padding-right: 6%;
}

.cart-contents.cart-contents-mobile {
    display: flex !important;
}

.cart-icon {
    display: block;
    width: 24px;
    height: 24px;
}

.cart-icon-mobile {
    width: 15px;
    height: 15px;
}

.header-right.header-right-mobile {
	display: flex;
	gap: 10px;
}

.header__top {
    display: flex;
    justify-content: space-between;
}

@media (width <= 991px) {
    .navbar-header {
        width: 100%;
    }
}

.navbar-menu_custom {
    padding-right: 0;
    padding-left: 0;
}

.header__bottom {
    padding-right: 15px;
}

@media (width <= 1200px) {
    .header__bottom {
        padding-right: 6px;
    }
}

.dropdown-menu-right .menu-item a {
    white-space: nowrap;
    padding-right: 35px !important;
}

.dropdown-menu {
    width: fit-content !important;
}

.rs-17 .rs-menu-form .navbar-nav > li .dropdown-menu-right {
    width: fit-content;
}

.rs-17 .rs-menu-form .navbar-nav .dropdown-menu-right > .dropdown .dropdown-menu {
    width: 100% !important;
}

.rs-17 .rs-menu-form .navbar-nav > li > .dropdown-menu .dropdown .link-btn {
    transform: none !important;
    padding: 0 !important;
    top: 12px !important;
    right: 8px !important;
}