/* Кнопка «В корзину» + кнопка избранного рядом (product.html.twig) —
   прямоугольник со скруглёнными углами, сплошной бордовый фон, белый текст.
   При наведении и в постоянном состоянии «уже в корзине» (.is-in-cart) цвета
   инвертируются (белый фон, бордовый текст) — состояние ставит
   cart_add_controller.js и оно не сбрасывается по таймеру. */
.ns-product-actions .basic_cart-get-quantity {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 46px;
    padding: 0 24px;
    border-radius: 8px;
    border: 2px solid #b30d0d;
    background: #b30d0d;
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
}

.ns-product-actions .basic_cart-get-quantity:hover,
.ns-product-actions .basic_cart-get-quantity.is-in-cart {
    background: #fff;
    color: #b30d0d;
}

.ns-product-actions .brand {
    flex: 1 1 auto;
    align-self: center;
    text-align: center;
}

.ns-product-actions .favorite-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    margin-left: auto;
    flex-shrink: 0;
    border: 1px solid #b30d0d;
    border-radius: 8px;
    background-color: #fff;
    background-size: 18px 18px;
}

.ns-product-actions .favorite-toggle:hover {
    background-color: #fff7f7;
}
