/* ============================================
   Ehveniser - Sepet Sayfa Stilleri
   ============================================ */

.cart-page {
    padding: 30px 0 60px;
}

.page-title {
    font-family: 'Rajdhani', sans-serif;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.page-title i {
    color: var(--accent-orange);
}

/* Empty Cart */
.empty-cart {
    text-align: center;
    padding: 80px 20px;
    background: var(--secondary-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
}

.empty-cart-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 30px;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.2) 0%, rgba(255, 140, 66, 0.1) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.empty-cart-icon i {
    font-size: 50px;
    color: var(--accent-orange);
}

.empty-cart h2 {
    font-size: 24px;
    margin-bottom: 12px;
}

.empty-cart p {
    color: var(--text-gray);
    margin-bottom: 30px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.btn-shop {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    background: var(--gradient-orange);
    border-radius: 10px;
    color: white;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
}

.btn-shop:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.4);
    color: white;
}

/* Cart Layout */
.cart-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 30px;
    align-items: start;
}

/* Cart Items */
.cart-items {
    background: var(--secondary-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
}

.cart-header {
    display: grid;
    grid-template-columns: 3fr 1fr 1fr 1fr 60px;
    gap: 15px;
    padding: 18px 25px;
    background: var(--header-bg);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--text-gray);
    letter-spacing: 0.5px;
}

.cart-item {
    display: grid;
    grid-template-columns: 3fr 1fr 1fr 1fr 60px;
    gap: 15px;
    padding: 25px;
    border-bottom: 1px solid var(--border-color);
    align-items: center;
    transition: background 0.3s ease;
}

.cart-item:last-of-type {
    border-bottom: none;
}

.cart-item:hover {
    background: rgba(255, 107, 53, 0.03);
}

.col-product {
    display: flex;
    align-items: center;
    gap: 15px;
}

.col-product img {
    width: 80px;
    height: 80px;
    border-radius: 10px;
    object-fit: cover;
}

.product-info h4 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 5px;
    line-height: 1.4;
}

.product-info .category {
    display: block;
    font-size: 12px;
    color: var(--accent-orange);
    margin-bottom: 3px;
}

.product-info .seller {
    display: block;
    font-size: 11px;
    color: var(--text-gray);
}

/* Custom Fields Info in Cart */
.custom-fields-info {
    margin-top: 10px;
    padding: 10px;
    background: rgba(255, 107, 53, 0.08);
    border-radius: 8px;
    border-left: 3px solid var(--accent-orange);
}

.custom-fields-info .field-row {
    display: flex;
    gap: 8px;
    font-size: 12px;
    margin-bottom: 4px;
}

.custom-fields-info .field-row:last-child {
    margin-bottom: 0;
}

.custom-fields-info .field-name {
    color: var(--text-gray);
    font-weight: 600;
}

.custom-fields-info .field-value {
    color: var(--accent-orange);
    font-weight: 500;
}

.col-price {
    text-align: center;
}

.col-price del {
    display: block;
    font-size: 12px;
    color: var(--text-gray);
    margin-bottom: 3px;
}

.col-price span {
    font-family: 'Rajdhani', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--text-white);
}

/* Quantity Control */
.col-quantity {
    display: flex;
    justify-content: center;
}

.quantity-control {
    display: flex;
    align-items: center;
    background: var(--header-bg);
    border-radius: 8px;
    overflow: hidden;
}

.qty-btn {
    width: 36px;
    height: 36px;
    border: none;
    background: transparent;
    color: var(--text-gray);
    cursor: pointer;
    transition: all 0.3s ease;
}

.qty-btn:hover {
    background: var(--accent-orange);
    color: white;
}

.qty-input {
    width: 50px;
    height: 36px;
    border: none;
    background: transparent;
    text-align: center;
    color: var(--text-white);
    font-size: 14px;
    font-weight: 600;
    font-family: 'Exo 2', sans-serif;
}

.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.col-total {
    text-align: center;
}

.item-total {
    font-family: 'Rajdhani', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--accent-orange);
}

.col-action {
    text-align: center;
}

.btn-remove {
    width: 40px;
    height: 40px;
    border: none;
    background: rgba(229, 57, 53, 0.15);
    border-radius: 8px;
    color: #e53935;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-remove:hover {
    background: #e53935;
    color: white;
    transform: scale(1.1);
}

/* Cart Actions */
.cart-actions {
    display: flex;
    justify-content: space-between;
    padding: 20px 25px;
    background: var(--header-bg);
}

.btn-continue {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: transparent;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-gray);
    font-weight: 600;
    font-size: 13px;
    transition: all 0.3s ease;
}

.btn-continue:hover {
    border-color: var(--accent-orange);
    color: var(--accent-orange);
}

.btn-clear {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: rgba(229, 57, 53, 0.15);
    border: none;
    border-radius: 8px;
    color: #e53935;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-clear:hover {
    background: #e53935;
    color: white;
}

/* Cart Summary */
.cart-summary {
    position: sticky;
    top: 100px;
}

.summary-card {
    background: var(--secondary-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 25px;
}

.summary-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    font-size: 14px;
}

.summary-row span:first-child {
    color: var(--text-gray);
}

.summary-row .discount {
    color: var(--accent-green);
}

.summary-divider {
    height: 1px;
    background: var(--border-color);
    margin: 20px 0;
}

.summary-row.total {
    font-size: 18px;
    font-weight: 700;
}

.summary-row.total span:last-child {
    font-family: 'Rajdhani', sans-serif;
    font-size: 26px;
    color: var(--accent-orange);
}

/* Coupon */
.coupon-section {
    margin: 25px 0;
}

.coupon-input {
    display: flex;
    gap: 10px;
}

.coupon-input input {
    flex: 1;
    padding: 12px 15px;
    background: var(--header-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-white);
    font-size: 13px;
}

.coupon-input input:focus {
    outline: none;
    border-color: var(--accent-orange);
}

.coupon-input button {
    padding: 12px 20px;
    background: var(--header-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-white);
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.coupon-input button:hover {
    border-color: var(--accent-orange);
    color: var(--accent-orange);
}

/* Checkout Button */
.btn-checkout {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 18px;
    background: var(--gradient-orange);
    border: none;
    border-radius: 12px;
    color: white;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(255, 107, 53, 0.3);
}

.btn-checkout:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255, 107, 53, 0.4);
    color: white;
}

/* Payment Info */
.payment-info {
    margin-top: 20px;
    text-align: center;
}

.payment-info p {
    font-size: 12px;
    color: var(--text-gray);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.payment-info p i {
    color: var(--accent-green);
}

.payment-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.payment-icons i {
    font-size: 28px;
    color: var(--text-gray);
    opacity: 0.7;
}

/* Responsive */
@media (max-width: 1200px) {
    .cart-layout {
        grid-template-columns: 1fr 340px;
    }
}

@media (max-width: 992px) {
    .cart-layout {
        grid-template-columns: 1fr;
    }
    
    .cart-summary {
        position: static;
    }
}

@media (max-width: 768px) {
    .cart-header {
        display: none;
    }
    
    .cart-item {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .col-product {
        flex-direction: column;
        text-align: center;
    }
    
    .col-product img {
        width: 100px;
        height: 100px;
    }
    
    .col-price,
    .col-quantity,
    .col-total {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 10px 0;
        border-top: 1px solid var(--border-color);
    }
    
    .col-price::before { content: 'Fiyat:'; color: var(--text-gray); }
    .col-quantity::before { content: 'Adet:'; color: var(--text-gray); }
    .col-total::before { content: 'Toplam:'; color: var(--text-gray); }
    
    .col-action {
        display: flex;
        justify-content: center;
        padding-top: 15px;
    }
    
    .cart-actions {
        flex-direction: column;
        gap: 10px;
    }
    
    .btn-continue,
    .btn-clear {
        width: 100%;
        justify-content: center;
    }
}
