.main_container_shadow {
    z-index: 2;
    position: relative;
}

/* Базовый класс кнопки */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    line-height: 1.4;
    text-decoration: none;
    transition: all 0.2s ease;
}

/* Размеры */
.btn--sm {
    padding: 6px 12px;
    font-size: 12px;
}

.btn--lg {
    padding: 12px 24px;
    font-size: 16px;
}

/* Стили */
.btn--primary {
    background: #2c3e50;
    color: white;
}

.btn--primary:hover {
    background: #34495e;
}

.btn--secondary {
    background: #95a5a6;
    color: white;
}

.btn--secondary:hover {
    background: #7f8c8d;
}

.btn--ghost {
    background: transparent;
    border: 1px solid #2c3e50;
    color: #2c3e50;
}

.btn--ghost:hover {
    background: rgba(44, 62, 80, 0.1);
}

/* Состояния */
.btn:disabled,
.btn--disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn--wide {
    width: 100%;
}

/* Блок выбора количества */
.product-buy-block {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 1rem;
    margin-top: 1rem;
}

.quantity-selector {
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 4px;
    overflow: hidden;
}

.quantity-btn {
    padding: 8px 12px;
    background: #f5f5f5;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

.quantity-btn:hover {
    background: #e5e5e5;
}

.quantity-input {
    width: 50px;
    text-align: center;
    border: none;
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
    padding: 8px 0;
}

.quantity-input::-webkit-outer-spin-button,
.quantity-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
}

.add-to-cart-btn {
    padding: 10px 20px;
    background: #2c3e50;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s;
}

.add-to-cart-btn:hover {
    background: #34495e;
}

/* Стили для корзины */
.zr-shortcart__item {
    display: flex;
    align-items: center;
    padding: 15px;
    border-bottom: 1px solid #eee;
    position: relative;
}

.zr-shortcart__item-image {
    width: 80px;
    margin-right: 15px;
}

.zr-shortcart__item-image img {
    max-width: 100%;
    height: auto;
}

.zr-shortcart__item-info {
    flex: 1;
}

.zr-shortcart__item-title {
    font-size: 14px;
    margin-bottom: 5px;
}

.zr-shortcart__item-price {
    font-weight: bold;
    margin-bottom: 10px;
}

.zr-shortcart__item-remove {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: #999;
    padding: 5px;
}

.zr-shortcart__item-remove:hover {
    color: #333;
}

/* Уменьшаем размеры блока количества в корзине */
.zr-shortcart__item .product-buy-block {
    margin: 0;
}

.zr-shortcart__item .quantity-selector {
    transform: scale(0.9);
    transform-origin: left;
}

/* Стили для цены */
.price--pending {
    color: #95a5a6;
    font-style: italic;
    font-size: 0.9em;
}

.zr-shortcart__item-price .price--pending {
    font-size: 0.85em;
}
