        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        :root {
            --primary-color: #0e9eff;
            --primary-dark: #0077cc;
            --text-dark: #1a1a1a;
            --text-gray: #666;
            --bg-light: #f8f9fa;
            --white: #ffffff;
            --shadow: 0 2px 20px rgba(0,0,0,0.08);
            --shadow-lg: 0 10px 40px rgba(14, 158, 255, 0.15);
            --gradient: linear-gradient(135deg, #0e9eff 0%, #0077cc 100%);
            --error: #ff4757;
            --success: #00c853;
        }

        body {
            font-family: 'Cairo', sans-serif;
            line-height: 1.7;
            color: var(--text-dark);
            background-color: var(--bg-light);
        }

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

        /* Cart Section */
        .cart-section {
            padding: 40px 0 60px;
            margin-top: 80px; /* Add space below header */
        }

        .page-title {
            font-size: 36px;
            font-weight: 900;
            margin-bottom: 10px;
            color: var(--text-dark);
        }

        .page-subtitle {
            font-size: 16px;
            color: var(--text-gray);
            margin-bottom: 30px;
        }

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

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

        .cart-item {
            display: grid;
            grid-template-columns: 120px 1fr auto;
            gap: 20px;
            padding: 25px 0;
            border-bottom: 2px solid var(--bg-light);
        }

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

        .item-image {
            width: 120px;
            height: 120px;
            background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
            border-radius: 15px;
            overflow: hidden;
        }

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

        .item-details {
            display: flex;
            flex-direction: column;
            justify-content: space-between;
        }

        .item-name {
            font-size: 18px;
            font-weight: 700;
            color: var(--text-dark);
            margin-bottom: 8px;
        }

        .item-category {
            font-size: 14px;
            color: var(--text-gray);
            margin-bottom: 12px;
        }

        .item-controls {
            display: flex;
            align-items: center;
            gap: 15px;
        }

        .quantity-controls {
            display: flex;
            align-items: center;
            border: 2px solid #e0e0e0;
            border-radius: 10px;
            overflow: hidden;
        }

        .quantity-btn {
            width: 35px;
            height: 35px;
            background: var(--bg-light);
            border: none;
            font-size: 18px;
            font-weight: 700;
            cursor: pointer;
            transition: all 0.3s;
            color: var(--text-dark);
        }

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

        .quantity-input {
            width: 50px;
            height: 35px;
            border: none;
            text-align: center;
            font-size: 16px;
            font-weight: 700;
            font-family: 'Cairo', sans-serif;
        }

        .remove-btn {
            display: flex;
            align-items: center;
            gap: 5px;
            background: none;
            border: none;
            color: var(--error);
            font-size: 14px;
            font-weight: 600;
            font-family: 'Cairo', sans-serif;
            cursor: pointer;
            transition: opacity 0.3s;
        }

        .remove-btn:hover {
            opacity: 0.7;
        }

        .item-pricing {
            display: flex;
            flex-direction: column;
            align-items: flex-end;
            justify-content: space-between;
        }

        .item-price {
            font-size: 24px;
            font-weight: 900;
            color: var(--primary-color);
            direction: ltr;
        }

        .item-total {
            font-size: 14px;
            color: var(--text-gray);
        }

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

        .summary-title {
            font-size: 22px;
            font-weight: 800;
            margin-bottom: 25px;
            color: var(--text-dark);
        }

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

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

        .summary-label {
            font-size: 15px;
            color: var(--text-gray);
        }

        .summary-value {
            font-size: 16px;
            font-weight: 700;
            color: var(--text-dark);
            direction: ltr;
        }

        .summary-total {
            background: var(--bg-light);
            padding: 20px;
            border-radius: 12px;
            margin: 20px 0;
        }

        .summary-total .summary-label {
            font-size: 18px;
            font-weight: 700;
            color: var(--text-dark);
        }

        .summary-total .summary-value {
            font-size: 28px;
            font-weight: 900;
            color: var(--primary-color);
        }

        .coupon-section {
            margin-bottom: 25px;
        }

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

        .coupon-input {
            flex: 1;
            padding: 12px 15px;
            border: 2px solid #e0e0e0;
            border-radius: 10px;
            font-size: 14px;
            font-family: 'Cairo', sans-serif;
            transition: all 0.3s;
        }

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

        .apply-coupon-btn {
            padding: 12px 20px;
            background: var(--text-dark);
            color: white;
            border: none;
            border-radius: 10px;
            font-size: 14px;
            font-weight: 700;
            font-family: 'Cairo', sans-serif;
            cursor: pointer;
            transition: all 0.3s;
            white-space: nowrap;
        }

        .apply-coupon-btn:hover {
            background: var(--primary-dark);
        }

        .checkout-btn {
            width: 100%;
            padding: 16px;
            background: var(--gradient);
            color: white;
            border: none;
            border-radius: 12px;
            font-size: 17px;
            font-weight: 700;
            font-family: 'Cairo', sans-serif;
            cursor: pointer;
            transition: all 0.3s;
            margin-bottom: 15px;
        }

        .checkout-btn:hover {
            transform: translateY(-2px);
            box-shadow: var(--shadow-lg);
        }

        .secure-checkout {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            font-size: 13px;
            color: var(--text-gray);
        }

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

        .empty-icon {
            font-size: 80px;
            margin-bottom: 20px;
            opacity: 0.3;
        }

        .empty-title {
            font-size: 28px;
            font-weight: 800;
            margin-bottom: 10px;
            color: var(--text-dark);
        }

        .empty-text {
            font-size: 16px;
            color: var(--text-gray);
            margin-bottom: 30px;
        }

        .shop-now-btn {
            display: inline-block;
            padding: 15px 40px;
            background: var(--gradient);
            color: white;
            text-decoration: none;
            border-radius: 12px;
            font-size: 16px;
            font-weight: 700;
            transition: all 0.3s;
        }

        .shop-now-btn:hover {
            transform: translateY(-2px);
            box-shadow: var(--shadow-lg);
        }

        /* Success Message */
        .success-message {
            background: rgba(0, 200, 83, 0.1);
            border: 2px solid var(--success);
            color: var(--success);
            padding: 15px 20px;
            border-radius: 12px;
            margin-bottom: 20px;
            display: none;
            align-items: center;
            gap: 10px;
            font-weight: 600;
        }

        .success-message.show {
            display: flex;
            animation: slideIn 0.3s ease-out;
        }

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

        /* Responsive */
        @media (max-width: 968px) {
            .container {
                padding: 0 15px;
            }

            .cart-layout {
                grid-template-columns: 1fr;
                gap: 25px;
            }

            .cart-summary {
                position: static;
            }

            .cart-item {
                grid-template-columns: 100px 1fr;
                gap: 15px;
            }

            .item-image {
                width: 100px;
                height: 100px;
            }

            .item-pricing {
                grid-column: 2;
                align-items: flex-start;
                margin-top: 15px;
            }
        }

        @media (max-width: 640px) {
            .container {
                padding: 0 10px;
            }

            .cart-header {
                padding: 20px 0;
                margin-bottom: 25px;
            }

            .logo {
                font-size: 26px;
            }

            .continue-shopping {
                font-size: 13px;
            }

            .cart-section {
                padding: 25px 0 40px;
            }

            .page-title {
                font-size: 28px;
                margin-bottom: 8px;
            }

            .page-subtitle {
                font-size: 14px;
                margin-bottom: 20px;
            }

            .cart-items {
                padding: 20px 15px;
                border-radius: 15px;
            }

            .cart-summary {
                padding: 20px 15px;
                border-radius: 15px;
            }

            .cart-item {
                grid-template-columns: 80px 1fr;
                gap: 12px;
                padding: 20px 0;
            }

            .item-image {
                width: 80px;
                height: 80px;
                border-radius: 12px;
            }

            .item-name {
                font-size: 16px;
                margin-bottom: 5px;
            }

            .item-category {
                font-size: 13px;
                margin-bottom: 10px;
            }

            .item-controls {
                gap: 10px;
                flex-wrap: wrap;
            }

            .quantity-btn {
                width: 32px;
                height: 32px;
                font-size: 16px;
            }

            .quantity-input {
                width: 45px;
                height: 32px;
                font-size: 14px;
            }

            .remove-btn {
                font-size: 13px;
            }

            .item-price {
                font-size: 20px;
            }

            .item-total {
                font-size: 13px;
            }

            .summary-title {
                font-size: 20px;
                margin-bottom: 20px;
            }

            .summary-row {
                padding: 12px 0;
            }

            .summary-label {
                font-size: 14px;
            }

            .summary-value {
                font-size: 15px;
            }

            .summary-total {
                padding: 15px;
                margin: 15px 0;
            }

            .summary-total .summary-label {
                font-size: 16px;
            }

            .summary-total .summary-value {
                font-size: 24px;
            }

            .coupon-input-wrapper {
                gap: 8px;
            }

            .coupon-input {
                padding: 10px 12px;
                font-size: 13px;
            }

            .apply-coupon-btn {
                padding: 10px 15px;
                font-size: 13px;
            }

            .checkout-btn {
                padding: 14px;
                font-size: 16px;
            }

            .secure-checkout {
                font-size: 12px;
            }

            .empty-cart {
                padding: 40px 20px;
                border-radius: 15px;
            }

            .empty-icon {
                font-size: 60px;
            }

            .empty-title {
                font-size: 24px;
            }

            .empty-text {
                font-size: 14px;
            }

            .shop-now-btn {
                padding: 12px 30px;
                font-size: 15px;
            }
        }
