
        :root {
            --primary: #4a6cf7;
            --primary-dark: #3a5ce5;
            --secondary: #6c757d;
            --success: #28a745;
            --danger: #dc3545;
            --warning: #ffc107;
            --light: #f8f9fa;
            --dark: #343a40;
            --border: #dee2e6;
            --shadow: 0 10px 30px rgba(0,0,0,0.1);
            --gradient: linear-gradient(135deg, #4a6cf7 0%, #6a11cb 100%);
        }

        .cart-section {
            padding: 40px 0;
            background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
            min-height: 70vh;
        }

        .cart-container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }

        .cart-header {
            text-align: center;
            margin-bottom: 40px;
        }

        .cart-header h1 {
            font-size: 2.5rem;
            font-weight: 700;
            color: var(--dark);
            margin-bottom: 10px;
        }

        .cart-header p {
            color: var(--secondary);
            font-size: 1.1rem;
        }

        .alert {
            padding: 16px 20px;
            border-radius: 12px;
            margin-bottom: 30px;
            font-weight: 500;
            display: flex;
            align-items: center;
            gap: 12px;
            animation: slideIn 0.3s ease;
        }

        @keyframes slideIn {
            from { opacity: 0; transform: translateY(-10px); }
            to { opacity: 1; transform: translateY(0); }
        }

        .alert-success {
            background: #e8f5e8;
            color: var(--success);
            border: 1px solid #c8e6c9;
        }

        .alert i {
            font-size: 20px;
        }

        .empty-cart {
            text-align: center;
            padding: 60px 20px;
            background: white;
            border-radius: 20px;
            box-shadow: var(--shadow);
        }

        .empty-cart i {
            font-size: 80px;
            color: var(--secondary);
            margin-bottom: 20px;
            opacity: 0.5;
        }

        .empty-cart h2 {
            color: var(--dark);
            margin-bottom: 15px;
            font-size: 1.8rem;
        }

        .empty-cart p {
            color: var(--secondary);
            margin-bottom: 30px;
            font-size: 1.1rem;
        }

        .btn {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 14px 28px;
            border-radius: 12px;
            font-weight: 600;
            text-decoration: none;
            transition: all 0.3s ease;
            border: none;
            cursor: pointer;
            font-size: 16px;
        }

        .btn-primary {
            background: var(--gradient);
            color: white;
        }

        .btn-primary:hover {
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(74, 108, 247, 0.4);
        }

        .btn-outline {
            background: white;
            color: var(--primary);
            border: 2px solid var(--primary);
        }

        .btn-outline:hover {
            background: var(--primary);
            color: white;
            transform: translateY(-2px);
        }

        .btn-danger {
            background: var(--danger);
            color: white;
        }

        .btn-danger:hover {
            background: #c82333;
            transform: translateY(-2px);
        }

        .btn-sm {
            padding: 10px 20px;
            font-size: 14px;
        }

        .cart-layout {
            display: grid;
            grid-template-columns: 1fr 400px;
            gap: 30px;
        }

        .cart-items {
            background: white;
            border-radius: 20px;
            padding: 30px;
            box-shadow: var(--shadow);
        }

        .cart-item {
            display: flex;
            align-items: center;
            padding: 25px;
            border-bottom: 1px solid var(--border);
            transition: all 0.3s ease;
        }

        .cart-item:hover {
            background: #fafbff;
            transform: translateX(5px);
        }

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

        .item-image {
            width: 120px;
            height: 120px;
            border-radius: 12px;
            overflow: hidden;
            margin-right: 25px;
            flex-shrink: 0;
        }

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

        .item-details {
            flex: 1;
        }

        .item-name {
            font-size: 1.3rem;
            font-weight: 600;
            color: var(--dark);
            margin-bottom: 8px;
            text-decoration: none;
            display: block;
        }

        .item-name:hover {
            color: var(--primary);
        }

        .item-price {
            font-size: 1.1rem;
            color: var(--secondary);
            margin-bottom: 15px;
        }

        .item-price .current {
            color: var(--primary);
            font-weight: 600;
            font-size: 1.2rem;
        }

        .item-price .old {
            text-decoration: line-through;
            color: var(--secondary);
            margin-left: 8px;
            font-size: 1rem;
        }

        .quantity-controls {
            display: flex;
            align-items: center;
            gap: 15px;
            margin-bottom: 15px;
        }

        .quantity-form {
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .quantity-btn {
            width: 40px;
            height: 40px;
            border: 2px solid var(--border);
            background: white;
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.3s ease;
            font-size: 18px;
            font-weight: 600;
        }

        .quantity-btn:hover {
            border-color: var(--primary);
            color: var(--primary);
            transform: scale(1.1);
        }

        .quantity-input {
            width: 70px;
            height: 40px;
            text-align: center;
            border: 2px solid var(--border);
            border-radius: 10px;
            font-size: 16px;
            font-weight: 600;
        }

        .quantity-input:focus {
            border-color: var(--primary);
            outline: none;
        }

        .item-subtotal {
            font-size: 1.3rem;
            font-weight: 700;
            color: var(--dark);
        }

        .item-actions {
            display: flex;
            flex-direction: column;
            gap: 10px;
            margin-left: 20px;
        }

        .cart-summary {
            background: white;
            border-radius: 20px;
            padding: 30px;
            box-shadow: var(--shadow);
            height: fit-content;
            position: sticky;
            top: 20px;
        }

        .summary-header {
            text-align: center;
            margin-bottom: 25px;
            padding-bottom: 20px;
            border-bottom: 2px solid var(--border);
        }

        .summary-header h3 {
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--dark);
        }

        .summary-details {
            margin-bottom: 25px;
        }

        .summary-row {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 12px 0;
            border-bottom: 1px solid var(--border);
        }

        .summary-row:last-child {
            border-bottom: none;
        }

        .summary-label {
            color: var(--secondary);
            font-weight: 500;
        }

        .summary-value {
            font-weight: 600;
            color: var(--dark);
        }

        .summary-total {
            font-size: 1.4rem;
            font-weight: 700;
            color: var(--primary);
        }

        .summary-actions {
            display: flex;
            flex-direction: column;
            gap: 15px;
        }

        .btn-block {
            width: 100%;
            justify-content: center;
        }

        .continue-shopping {
            text-align: center;
            margin-top: 15px;
        }

        .continue-shopping a {
            color: var(--primary);
            text-decoration: none;
            font-weight: 500;
            display: inline-flex;
            align-items: center;
            gap: 8px;
            transition: color 0.3s ease;
        }

        .continue-shopping a:hover {
            color: var(--primary-dark);
            text-decoration: underline;
        }

        .login-prompt {
            background: #fff3cd;
            border: 1px solid #ffeaa7;
            border-radius: 12px;
            padding: 15px;
            margin-bottom: 20px;
            text-align: center;
        }

        .login-prompt p {
            margin: 0;
            color: #856404;
            font-size: 14px;
        }

        /* Responsive Design */
        @media (max-width: 968px) {
            .cart-layout {
                grid-template-columns: 1fr;
                gap: 20px;
            }
            
            .cart-summary {
                position: static;
            }
        }

        @media (max-width: 768px) {
            .cart-item {
                flex-direction: column;
                text-align: center;
                padding: 20px;
            }
            
            .item-image {
                margin-right: 0;
                margin-bottom: 15px;
            }
            
            .item-details {
                width: 100%;
            }
            
            .item-actions {
                flex-direction: row;
                margin-left: 0;
                margin-top: 15px;
                justify-content: center;
            }
            
            .quantity-controls {
                justify-content: center;
            }
        }

        @media (max-width: 480px) {
            .cart-container {
                padding: 0 15px;
            }
            
            .cart-header h1 {
                font-size: 2rem;
            }
            
            .cart-items, .cart-summary {
                padding: 20px;
            }
            
            .btn {
                padding: 12px 20px;
                font-size: 14px;
            }
        }

        .loading {
            display: inline-block;
            width: 20px;
            height: 20px;
            border: 3px solid rgba(255,255,255,.3);
            border-radius: 50%;
            border-top-color: #fff;
            animation: spin 1s ease-in-out infinite;
        }

        @keyframes spin {
            to { transform: rotate(360deg); }
        }

        .stock-badge {
            display: inline-block;
            padding: 4px 8px;
            border-radius: 6px;
            font-size: 12px;
            font-weight: 600;
            margin-left: 8px;
        }

        .in-stock {
            background: #e8f5e8;
            color: var(--success);
        }

        .out-of-stock {
            background: #ffeaea;
            color: var(--danger);
        }

                /* Loading animasyonu */
        .loading {
            width: 20px;
            height: 20px;
            border: 2px solid #f3f3f3;
            border-top: 2px solid #3498db;
            border-radius: 50%;
            animation: spin 1s linear infinite;
            display: inline-block;
        }
        
        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }
        
        /* Sepet item animasyonları */
        .cart-item {
            animation: slideIn 0.3s ease-out;
        }
        
        @keyframes slideIn {
            from {
                opacity: 0;
                transform: translateY(20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        
        /* Miktar butonları için stiller */
        .quantity-controls {
            display: flex;
            align-items: center;
            gap: 15px;
            flex-wrap: wrap;
        }
        
        .quantity-form {
            display: flex;
            align-items: center;
            gap: 5px;
        }
        
        .quantity-btn {
            width: 35px;
            height: 35px;
            border: 1px solid #ddd;
            background: #f8f9fa;
            border-radius: 5px;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease;
        }
        
        .quantity-btn:hover {
            background: #e9ecef;
            border-color: #007bff;
        }
        
        .quantity-input {
            width: 60px;
            height: 35px;
            text-align: center;
            border: 1px solid #ddd;
            border-radius: 5px;
            font-size: 16px;
        }
        
        .item-subtotal {
            font-size: 18px;
            font-weight: bold;
            color: #2c3e50;
            margin-left: auto;
        }
        
        /* Responsive tasarım */
        @media (max-width: 768px) {
            .quantity-controls {
                justify-content: space-between;
                width: 100%;
            }
            
            .item-subtotal {
                margin-left: 0;
            }
        }