/* Sepet Sayfası Stilleri */
.cart-container {
    min-height: 100vh;
    padding: 20px 0;
    background: #f8f9fa;
}

.page-header {
    text-align: center;
    margin-bottom: 30px;
    padding: 30px 0;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.page-header h1 {
    color: #2c3e50;
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.page-header h1 i {
    color: #3498db;
    margin-right: 15px;
}

.breadcrumb {
    color: #6c757d;
    font-size: 1rem;
}

.breadcrumb a {
    color: #3498db;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

/* Alert Mesajları */
.alert {
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    font-weight: 500;
}

.alert i {
    margin-right: 10px;
    font-size: 1.2rem;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Boş Sepet */
.empty-cart {
    text-align: center;
    padding: 80px 20px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.empty-cart-content i {
    font-size: 5rem;
    color: #bdc3c7;
    margin-bottom: 30px;
}

.empty-cart-content h2 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 2rem;
}

.empty-cart-content p {
    color: #6c757d;
    font-size: 1.1rem;
    margin-bottom: 30px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* Sepet İçeriği */
.cart-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    align-items: start;
}

@media (max-width: 992px) {
    .cart-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* Sepet Ürünleri */
.cart-items {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #eee;
}

.cart-header h3 {
    color: #2c3e50;
    font-size: 1.5rem;
    margin: 0;
}

/* Sepet Ürün Kartı */
.cart-item {
    display: grid;
    grid-template-columns: 100px 1fr auto auto;
    gap: 20px;
    align-items: center;
    padding: 20px;
    border: 1px solid #eee;
    border-radius: 10px;
    margin-bottom: 15px;
    transition: all 0.3s ease;
    background: #fafafa;
}

.cart-item:hover {
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .cart-item {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 15px;
    }
}

/* Ürün Resmi */
.item-image {
    width: 100px;
    height: 100px;
    border-radius: 8px;
    overflow: hidden;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
}

.item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.item-image .no-image {
    color: #bdc3c7;
    font-size: 2rem;
}

@media (max-width: 768px) {
    .item-image {
        width: 120px;
        height: 120px;
        margin: 0 auto;
    }
}

/* Ürün Detayları */
.item-details h4 {
    margin: 0 0 8px 0;
    color: #2c3e50;
    font-size: 1.2rem;
}

.item-details a {
    text-decoration: none;
    color: inherit;
}

.item-details a:hover {
    color: #3498db;
}

.item-price {
    color: #e74c3c;
    font-weight: 600;
    font-size: 1.1rem;
    margin: 5px 0;
}

.item-stock {
    color: #27ae60;
    font-size: 0.9rem;
    margin: 0;
}

/* Miktar Kontrolü */
.quantity-form {
    text-align: center;
}

.quantity-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    background: white;
    border: 1px solid #ddd;
    border-radius: 25px;
    overflow: hidden;
}

.qty-btn {
    background: #f8f9fa;
    border: none;
    width: 35px;
    height: 35px;
    cursor: pointer;
    font-weight: bold;
    color: #495057;
    transition: all 0.2s ease;
}

.qty-btn:hover {
    background: #3498db;
    color: white;
}

.qty-input {
    border: none;
    width: 60px;
    height: 35px;
    text-align: center;
    font-weight: 600;
    background: white;
}

.qty-input:focus {
    outline: none;
}

/* Ürün Toplamı */
.item-total {
    text-align: right;
}

.total-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: #e74c3c;
    margin: 0 0 10px 0;
}

/* Sipariş Özeti */
.summary-card {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    position: sticky;
    top: 20px;
}

.summary-card h3 {
    color: #2c3e50;
    margin-bottom: 20px;
    font-size: 1.4rem;
    text-align: center;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    color: #2c3e50;
    font-size: 1rem;
}

.summary-row.shipping .free {
    color: #27ae60;
    font-weight: 600;
}

.summary-row.total {
    font-size: 1.3rem;
    font-weight: 700;
    color: #e74c3c;
    border-top: 2px solid #eee;
    padding-top: 15px;
    margin-top: 10px;
}

.summary-card hr {
    border: none;
    border-top: 1px solid #eee;
    margin: 15px 0;
}

/* Checkout Butonları */
.checkout-actions {
    margin-top: 25px;
}

.action-buttons {
    display: flex;
    gap: 15px;
    align-items: center;
}

.checkout-btn {
    flex: 1;
    padding: 15px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.checkout-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

.action-buttons .btn-outline-secondary {
    flex: 1;
}

/* Buton Stilleri */
.btn {
    padding: 8px 16px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn i {
    margin-right: 5px;
}

.btn-primary {
    background: #3498db;
    color: white;
}

.btn-primary:hover {
    background: #2980b9;
    color: white;
}

.btn-outline-secondary {
    background: transparent;
    color: #6c757d;
    border: 1px solid #6c757d;
}

.btn-outline-secondary:hover {
    background: #6c757d;
    color: white;
}

.btn-outline-danger {
    background: transparent;
    color: #e74c3c;
    border: 1px solid #e74c3c;
}

.btn-outline-danger:hover {
    background: #e74c3c;
    color: white;
}

.btn-sm {
    padding: 5px 12px;
    font-size: 0.875rem;
}

.btn-lg {
    padding: 12px 24px;
    font-size: 1.1rem;
}

/* Responsive Düzenlemeler */
@media (max-width: 576px) {
    .cart-container {
        padding: 10px 0;
    }
    
    .page-header {
        margin-bottom: 20px;
        padding: 20px 15px;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .cart-items,
    .summary-card {
        padding: 20px 15px;
    }
    
    .cart-item {
        padding: 15px;
    }
    
    .action-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .checkout-actions .btn {
        width: 100%;
    }
}