/**
 * Sepet Sayfası Stilleri
 * ONLINEKURUM - Shopping Cart Styles
 * 
 * @version 1.0.0
 * @date 2024-12-18
 */

/* Container */
.cart-container {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    padding: 20px;
    margin-bottom: 30px;
}

/* Page Title */
.page-title {
    margin-bottom: 25px;
    border-bottom: 2px solid #f5f5f5;
    padding-bottom: 15px;
}

.page-title h1 {
    font-size: 28px;
    font-weight: 600;
    color: #333;
}

.page-title h6 {
    color: #777;
    margin-top: 5px;
}

/* Cart Panel */
.cart-panel {
    border: none;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.08);
}

.cart-panel .panel-heading {
    background-color: #f8f8f8;
    color: #333;
    font-weight: 600;
    font-size: 16px;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    padding: 15px;
}

.cart-panel .panel-body {
    padding: 0;
}

/* Cart Table */
.cart-table {
    margin-bottom: 0;
}

.cart-table th {
    background-color: #f9f9f9;
    color: #555;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 12px;
    padding: 12px 8px;
}

.cart-table > tbody > tr > td {
    padding: 15px 8px;
    vertical-align: middle;
}

.product-name {
    font-weight: 600;
    color: #333;
}

.cart-price {
    font-weight: 600;
    color: #333;
}

.discount-price {
    color: #e74c3c;
    font-weight: 600;
}

.total-price {
    color: #2980b9;
    font-weight: 700;
    font-size: 15px;
}

/* Buttons */
.btn-remove {
    background-color: #f8f8f8;
    border-color: #ddd;
    color: #d9534f;
    transition: all 0.2s ease-in-out;
}

.btn-remove:hover {
    background-color: #d9534f;
    border-color: #d43f3a;
    color: #fff;
}

/* Cart Summary */
.cart-summary {
    background-color: #f9f9f9;
    padding: 15px 20px;
    border-radius: 4px;
    margin-bottom: 20px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    color: #555;
}

.summary-row.final {
    font-size: 18px;
    font-weight: 700;
    color: #2980b9;
    border-top: 1px solid #e7e7e7;
    padding-top: 10px;
    margin-top: 5px;
}

/* Promo Container */
.promo-container {
    margin-top: 15px;
    margin-bottom: 20px;
}

.btn-promo {
    background-color: #3498db;
    color: #fff;
    transition: all 0.3s;
}

.btn-promo:hover {
    background-color: #2980b9;
    color: #fff;
}

/* Checkout Button */
.btn-checkout {
    background-color: #27ae60;
    color: #fff;
    font-weight: 600;
    padding: 10px 20px;
    font-size: 16px;
    transition: all 0.3s;
    border: none;
}

.btn-checkout:hover {
    background-color: #219952;
    color: #fff;
}

.btn-checkout i {
    margin-right: 8px;
}

/* Empty Cart Message */
.empty-cart-message {
    text-align: center;
    padding: 40px 20px;
    color: #777;
}

.empty-cart-message i {
    font-size: 48px;
    color: #ddd;
    margin-bottom: 15px;
    display: block;
}

/* Mobile Responsive */
@media (max-width: 767px) {
    .cart-table {
        min-width: 650px;
    }

    .summary-row {
        flex-direction: column;
        text-align: right;
        margin-bottom: 12px;
    }

    .summary-label {
        margin-bottom: 3px;
        font-weight: 600;
    }
}