/* =========================================================
   DIANAPARTS - CART TEXT + NOVA POSHTA FIELD FIX
   ========================================================= */

/* Корзина в шапке должна быть видна всегда, а не только при hover */
a[href*="cart"],
.header a[href*="cart"],
.site-header a[href*="cart"],
.navbar a[href*="cart"],
.header-cart,
.cart-link,
.cart-btn,
.cart-button,
.basket-link,
.basket-btn {
    color: #ffffff !important;
    opacity: 1 !important;
    visibility: visible !important;
    background: #061a35 !important;
    border-color: rgba(255, 203, 39, 0.24) !important;
    text-shadow: none !important;
}

a[href*="cart"] *,
.header a[href*="cart"] *,
.site-header a[href*="cart"] *,
.navbar a[href*="cart"] *,
.header-cart *,
.cart-link *,
.cart-btn *,
.cart-button *,
.basket-link *,
.basket-btn * {
    color: inherit !important;
    opacity: 1 !important;
    visibility: visible !important;
    text-shadow: none !important;
}

/* Счетчик корзины */
a[href*="cart"] .badge,
a[href*="cart"] .count,
a[href*="cart"] .cart-count,
.header-cart .badge,
.header-cart .count,
.header-cart .cart-count,
.cart-link .badge,
.cart-link .count,
.cart-link .cart-count,
.cart-btn .badge,
.cart-btn .count,
.cart-btn .cart-count,
.basket-link .badge,
.basket-link .count,
.basket-link .cart-count {
    background: #ffcc27 !important;
    color: #061a35 !important;
    border-radius: 999px !important;
    font-weight: 900 !important;
    opacity: 1 !important;
}

/* hover корзины */
a[href*="cart"]:hover,
.header-cart:hover,
.cart-link:hover,
.cart-btn:hover,
.cart-button:hover,
.basket-link:hover,
.basket-btn:hover {
    color: #ffffff !important;
    background: #0b2448 !important;
    box-shadow: 0 10px 24px rgba(255, 203, 39, 0.18) !important;
}

/* Новый выпадающий список Новой Почты */
.dp-np-dropdown {
    position: fixed;
    z-index: 999999;
    max-height: 260px;
    overflow: auto;
    background: #ffffff;
    border: 1px solid rgba(12, 35, 64, 0.14);
    border-radius: 14px;
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.22);
    padding: 6px;
    display: none;
}

.dp-np-option {
    padding: 11px 12px;
    border-radius: 10px;
    cursor: pointer;
    color: #0b1f3a;
    font-size: 14px;
    line-height: 1.3;
}

.dp-np-option:hover {
    background: rgba(255, 203, 39, 0.20);
}

.dp-np-option strong {
    color: #061a35;
}

.dp-np-empty,
.dp-np-loading {
    padding: 12px;
    color: #5b6c82;
    font-size: 14px;
}

.dp-np-error {
    padding: 12px;
    color: #b00020;
    font-size: 14px;
}

/* поле отделения не должно сразу раскрывать старый список при выборе типа */
.np-warehouse-wait {
    border-color: rgba(255, 203, 39, 0.55) !important;
    box-shadow: 0 0 0 3px rgba(255, 203, 39, 0.12) !important;
}
