/* Стили для кнопки добавления в корзину */
.mss-add-to-cart {
    background: #eb9b33;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.3s ease;
}

.mss-add-to-cart:hover {
    background: #eb9b33;
}

.mss-price {
    margin-top: 8px;
    font-weight: bold;
    color: #333;
}

/* Адаптивность */
@media (max-width: 768px) {
    .cart-popover {
        width: 280px;
        right: -50px;
    }
    
    .cart-actions {
        flex-direction: column;
    }
}

/**
 * Metal Simple Shop Styles
 */

/* Общие стили для корзины */
.mss-cart {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.mss-cart-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.mss-cart-table th,
.mss-cart-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #e9ecef;
}

.mss-cart-table th {
    background: #f8f9fa;
    font-weight: 600;
    color: #495057;
}

.mss-cart-table tfoot td {
    background: #f8f9fa;
    font-weight: 600;
}

.mss-cart-total {
    font-size: 20px;
    font-weight: 700;
    color: #e74c3c;
}

/* Кнопка добавления в корзину */
.mss-add-to-cart {
    transition: all 0.3s ease;
}

.mss-add-to-cart:hover {
    transform: translateY(-2px);
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

/* Адаптив для корзины */
@media (max-width: 768px) {
    .mss-cart-table {
        font-size: 14px;
    }
    
    .mss-cart-table th,
    .mss-cart-table td {
        padding: 8px 10px;
    }
    
    .mss-cart-total {
        font-size: 16px;
    }
}