        :root {
            --color-white: #ffffff;
            --color-light: #f9f7f7;
            --color-rose: #f8d7da;
            --color-coral: #f08080;
            --color-muted-green: #d8e2dc;
            --color-vivid-coral: #ff7e6f;
            --color-accent: #fec89a;
            --text-dark: #5a5a5a;
            --text-muted: #8a8a8a;
            --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.08);
            --shadow-md: 0 5px 15px rgba(0, 0, 0, 0.1);
            --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.15);
            --transition: all 0.3s ease;
            --success-color: #4CAF50;
            --warning-color: #FF9800;
            --error-color: #f44336;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Almarai', sans-serif;
        }

        html,
        body {
            width: 100%;
            overflow-x: hidden;
            scroll-behavior: smooth;
        }

        body {
            background: linear-gradient(135deg, var(--color-light) 0%, #f5f3f3 100%);
            color: var(--text-dark);
            min-height: 100vh;
            display: flex;
            flex-direction: column;
        }

        .top-nav {
            background-color: var(--color-white);
            box-shadow: var(--shadow-sm);
            padding: 1rem 2rem;
            position: sticky;
            top: 0;
            z-index: 1000;
            width: 100%;
        }

        .nav-container {
            max-width: 1400px;
            margin: 0 auto;
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
        }

        .logo {
            height: 60px;
            max-width: 100%;
        }

        .nav-links {
            display: flex;
            gap: 1.5rem;
            flex-wrap: wrap;
            justify-content: center;
        }

        .nav-links a {
            text-decoration: none;
            color: var(--text-dark);
            font-weight: 700;
            font-size: 1.1rem;
            transition: var(--transition);
            position: relative;
            white-space: nowrap;
        }

        .nav-links a:hover {
            color: var(--color-vivid-coral);
        }

        .nav-links a::after {
            content: '';
            position: absolute;
            bottom: -5px;
            left: 0;
            width: 0;
            height: 2px;
            background-color: var(--color-vivid-coral);
            transition: var(--transition);
        }

        .nav-links a:hover::after {
            width: 100%;
        }

        .nav-icons {
            display: flex;
            gap: 1.5rem;
            align-items: center;
            position: relative;
        }

        .nav-icons a {
            color: var(--text-dark);
            font-size: 1.3rem;
            transition: var(--transition);
            cursor: pointer;
            position: relative;
        }

        .nav-icons a:hover {
            color: var(--color-vivid-coral);
        }

        .profile-dropdown {
            position: relative;
            display: inline-block;
        }

        .dropdown-menu {
            position: absolute;
            top: 100%;
            left: 50%;
            transform: translateX(-50%);
            background-color: var(--color-white);
            border-radius: 12px;
            box-shadow: var(--shadow-lg);
            padding: 1rem 0;
            min-width: 200px;
            z-index: 1000;
            display: none;
            margin-top: 10px;
        }

        .dropdown-menu a {
            display: flex;
            align-items: center;
            gap: 0.8rem;
            padding: 0.8rem 1.5rem;
            text-decoration: none;
            color: var(--text-dark);
            font-size: 1.1rem;
            transition: var(--transition);
            white-space: nowrap;
        }

        .dropdown-menu a:hover {
            background-color: var(--color-light);
            color: var(--color-vivid-coral);
        }

        .dropdown-menu a i {
            width: 20px;
            text-align: center;
        }

        .mobile-menu-btn {
            display: none;
            background: none;
            border: none;
            font-size: 1.5rem;
            cursor: pointer;
            color: var(--text-dark);
        }

        .mobile-menu {
            position: fixed;
            top: 0;
            right: -100%;
            width: 300px;
            height: 100vh;
            background-color: var(--color-white);
            box-shadow: var(--shadow-lg);
            z-index: 2000;
            transition: var(--transition);
            padding: 1rem;
            overflow-y: auto;
        }

        .mobile-menu.active {
            right: 0;
        }

        .mobile-menu-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding-bottom: 1rem;
            border-bottom: 1px solid #eee;
            margin-bottom: 1rem;
        }

        .close-menu-btn {
            background: none;
            border: none;
            font-size: 1.5rem;
            cursor: pointer;
            color: var(--text-dark);
        }

        .mobile-links {
            display: flex;
            flex-direction: column;
            gap: 1rem;
        }

        .mobile-links a {
            text-decoration: none;
            color: var(--text-dark);
            font-weight: 700;
            font-size: 1.2rem;
            padding: 0.8rem 1rem;
            border-radius: 8px;
            transition: var(--transition);
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .mobile-links a:hover {
            background-color: var(--color-light);
            color: var(--color-vivid-coral);
        }

        .breadcrumb {
            background: var(--color-white);
            padding: 1.5rem 2rem;
            border-bottom: 1px solid #f0f0f0;
        }

        .breadcrumb-container {
            max-width: 1400px;
            margin: 0 auto;
            display: flex;
            align-items: center;
            gap: 0.8rem;
            flex-wrap: wrap;
        }

        .breadcrumb a {
            color: var(--text-muted);
            text-decoration: none;
            font-weight: 500;
            transition: var(--transition);
        }

        .breadcrumb a:hover {
            color: var(--color-vivid-coral);
        }

        .breadcrumb .current {
            color: var(--color-vivid-coral);
            font-weight: 700;
        }

        .breadcrumb i {
            color: var(--text-muted);
            font-size: 0.9rem;
        }

        .cart-container {
            max-width: 1400px;
            margin: 0 auto;
            padding: 3rem 2rem;
            display: grid;
            grid-template-columns: 2fr 1fr;
            gap: 3rem;
            flex: 1;
        }

        .cart-products-section {
            background: var(--color-white);
            border-radius: 25px;
            padding: 2.5rem;
            box-shadow: var(--shadow-md);
            height: fit-content;
        }

        .cart-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 2rem;
            padding-bottom: 1.5rem;
            border-bottom: 2px solid var(--color-light);
        }

        .cart-title {
            display: flex;
            align-items: center;
            gap: 1rem;
        }

        .cart-title h2 {
            font-size: 2rem;
            color: var(--text-dark);
            margin: 0;
        }

        .cart-count {
            background: linear-gradient(135deg, var(--color-vivid-coral), #ff6b5b);
            color: white;
            padding: 0.5rem 1rem;
            border-radius: 50px;
            font-weight: 700;
            font-size: 1.1rem;
        }

        .clear-cart-btn {
            background: transparent;
            border: 2px solid var(--error-color);
            color: var(--error-color);
            padding: 0.8rem 1.5rem;
            border-radius: 25px;
            font-weight: 600;
            cursor: pointer;
            transition: var(--transition);
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .clear-cart-btn:hover {
            background: var(--error-color);
            color: white;
        }

        .cart-item {
            display: flex;
            gap: 2rem;
            padding: 2rem 0;
            border-bottom: 1px solid #f0f0f0;
            position: relative;
            transition: var(--transition);
        }

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

        .cart-item:hover {
            background: var(--color-light);
            border-radius: 15px;
            padding: 2rem 1.5rem;
            margin: 0 -1.5rem;
        }

        .item-image {
            position: relative;
            flex-shrink: 0;
        }

        .item-image img {
            width: 120px;
            height: 120px;
            border-radius: 15px;
            object-fit: cover;
            box-shadow: var(--shadow-sm);
        }

        .item-badge {
            position: absolute;
            top: -8px;
            left: -8px;
            background: var(--success-color);
            color: white;
            padding: 0.3rem 0.8rem;
            border-radius: 15px;
            font-size: 0.8rem;
            font-weight: 700;
        }

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

        .item-info h3 {
            font-size: 1.4rem;
            color: var(--text-dark);
            margin-bottom: 0.5rem;
        }

        .item-info p {
            color: var(--text-muted);
            margin-bottom: 1rem;
            line-height: 1.6;
        }

        .item-meta {
            display: flex;
            gap: 1.5rem;
            align-items: center;
            margin-bottom: 1rem;
        }

        .item-rating {
            display: flex;
            align-items: center;
            gap: 0.3rem;
        }

        .item-rating i {
            color: #FFD700;
            font-size: 0.9rem;
        }

        .item-rating span {
            color: var(--text-muted);
            font-size: 0.9rem;
        }

        .item-stock {
            color: var(--success-color);
            font-weight: 600;
            font-size: 0.9rem;
            display: flex;
            align-items: center;
            gap: 0.3rem;
        }

        .item-controls {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .quantity-control {
            display: flex;
            align-items: center;
            gap: 1rem;
            background: var(--color-light);
            padding: 0.5rem;
            border-radius: 25px;
        }

        .quantity-btn {
            width: 35px;
            height: 35px;
            border: none;
            background: var(--color-white);
            border-radius: 50%;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: var(--transition);
            color: var(--text-dark);
            font-weight: 600;
        }

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

        .quantity-display {
            font-weight: 700;
            color: var(--text-dark);
            min-width: 30px;
            text-align: center;
        }

        .item-actions {
            display: flex;
            align-items: center;
            gap: 1rem;
        }

        .item-price {
            font-size: 1.5rem;
            font-weight: 800;
            color: var(--color-vivid-coral);
            margin-left: 1rem;
        }

        .remove-btn,
        .save-later-btn {
            background: none;
            border: none;
            cursor: pointer;
            color: var(--text-muted);
            padding: 0.5rem;
            border-radius: 8px;
            transition: var(--transition);
            display: flex;
            align-items: center;
            gap: 0.3rem;
            font-size: 0.9rem;
        }

        .remove-btn:hover {
            color: var(--error-color);
            background: #fee;
        }

        .save-later-btn:hover {
            color: var(--warning-color);
            background: #fff8e1;
        }

        .order-summary {
            background: var(--color-white);
            border-radius: 25px;
            padding: 2.5rem;
            box-shadow: var(--shadow-md);
            height: fit-content;
            position: sticky;
            top: 100px;
        }

        .summary-header {
            text-align: center;
            margin-bottom: 2rem;
        }

        .summary-header h3 {
            font-size: 1.8rem;
            color: var(--text-dark);
            margin-bottom: 0.5rem;
        }

        .summary-header p {
            color: var(--text-muted);
        }

        .discount-section {
            margin-bottom: 2rem;
        }

        .discount-input-group {
            position: relative;
            margin-bottom: 1rem;
        }

        .discount-input {
            width: 100%;
            padding: 1rem 1.5rem;
            border: 2px solid var(--color-muted-green);
            border-radius: 25px;
            font-size: 1rem;
            transition: var(--transition);
            padding-left: 120px;
        }

        .discount-input:focus {
            outline: none;
            border-color: var(--color-vivid-coral);
            box-shadow: 0 0 0 3px rgba(255, 126, 111, 0.3);
        }

        .apply-discount-btn {
            position: absolute;
            left: 8px;
            top: 50%;
            transform: translateY(-50%);
            background: var(--color-vivid-coral);
            color: white;
            border: none;
            padding: 0.7rem 1.5rem;
            border-radius: 20px;
            font-weight: 600;
            cursor: pointer;
            transition: var(--transition);
        }

        .apply-discount-btn:hover {
            background: #ff6b5b;
        }

        .discount-suggestions {
            display: flex;
            gap: 0.5rem;
            flex-wrap: wrap;
        }

        .discount-tag {
            background: var(--color-light);
            padding: 0.4rem 0.8rem;
            border-radius: 15px;
            font-size: 0.8rem;
            cursor: pointer;
            transition: var(--transition);
            border: 1px solid transparent;
        }

        .discount-tag:hover {
            background: var(--color-vivid-coral);
            color: white;
        }

        .price-breakdown {
            margin-bottom: 2rem;
        }

        .price-row {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 1rem 0;
            border-bottom: 1px solid #f5f5f5;
        }

        .price-row:last-child {
            border-bottom: 2px solid var(--color-vivid-coral);
            font-weight: 800;
            font-size: 1.2rem;
            color: var(--text-dark);
        }

        .price-label {
            color: var(--text-muted);
        }

        .price-value {
            font-weight: 600;
        }

        .discount-value {
            color: var(--success-color);
        }

        .total-savings {
            background: linear-gradient(135deg, var(--success-color), #45a049);
            color: white;
            padding: 1rem;
            border-radius: 15px;
            text-align: center;
            margin-bottom: 1.5rem;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
        }

        .total-savings i {
            font-size: 1.2rem;
        }

        .order-actions {
            display: flex;
            flex-direction: column;
            gap: 1rem;
        }

        .checkout-btn {
            background: linear-gradient(135deg, var(--color-vivid-coral), #ff6b5b);
            color: white;
            border: none;
            padding: 1.2rem 2rem;
            border-radius: 25px;
            font-size: 1.2rem;
            font-weight: 700;
            cursor: pointer;
            transition: var(--transition);
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.8rem;
            box-shadow: 0 8px 25px rgba(255, 126, 111, 0.4);
        }

        .checkout-btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 12px 35px rgba(255, 126, 111, 0.5);
        }

        .continue-shopping-btn {
            background: transparent;
            color: var(--text-dark);
            border: 2px solid var(--color-muted-green);
            padding: 1rem 2rem;
            border-radius: 25px;
            font-size: 1.1rem;
            font-weight: 600;
            cursor: pointer;
            transition: var(--transition);
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.8rem;
        }

        .continue-shopping-btn:hover {
            background: var(--color-muted-green);
            color: var(--text-dark);
        }

        .quick-payment {
            margin-top: 1.5rem;
            padding-top: 1.5rem;
            border-top: 1px solid #f0f0f0;
        }

        .quick-payment h4 {
            text-align: center;
            margin-bottom: 1rem;
            color: var(--text-muted);
            font-size: 0.9rem;
        }

        .payment-options {
            display: flex;
            gap: 0.8rem;
            justify-content: center;
        }

        .payment-btn {
            flex: 1;
            padding: 0.8rem;
            border: 2px solid #e0e0e0;
            border-radius: 12px;
            background: white;
            cursor: pointer;
            transition: var(--transition);
            display: flex;
            align-items: center;
            justify-content: center;
            min-height: 50px;
        }

        .payment-btn:hover {
            border-color: var(--color-vivid-coral);
            transform: translateY(-2px);
        }

        .payment-btn img {
            height: 24px;
            max-width: 100%;
        }

        .empty-cart {
            text-align: center;
            padding: 4rem 2rem;
            background: var(--color-white);
            border-radius: 25px;
            box-shadow: var(--shadow-md);
        }

        .empty-cart-icon {
            width: 150px;
            height: 150px;
            margin: 0 auto 2rem;
            background: linear-gradient(135deg, var(--color-light), #e9ecef);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 4rem;
            color: var(--text-muted);
        }

        .empty-cart h3 {
            font-size: 2rem;
            margin-bottom: 1rem;
            color: var(--text-dark);
        }

        .empty-cart p {
            font-size: 1.1rem;
            color: var(--text-muted);
            margin-bottom: 2rem;
            max-width: 500px;
            margin-left: auto;
            margin-right: auto;
        }

        .notification {
            position: fixed;
            top: 100px;
            right: 20px;
            background: var(--success-color);
            color: white;
            padding: 1rem 1.5rem;
            border-radius: 15px;
            box-shadow: var(--shadow-lg);
            z-index: 1000;
            transform: translateX(400px);
            opacity: 0;
            transition: all 0.5s ease;
        }

        .notification.show {
            transform: translateX(0);
            opacity: 1;
        }

        .notification.error {
            background: var(--error-color);
        }

        .notification.warning {
            background: var(--warning-color);
        }

        footer {
            background-color: #233341;
            color: var(--color-white);
            padding: 4rem 2rem 2rem;
            width: 100%;
            margin-top: auto;
        }

        .footer-container {
            max-width: 1400px;
            margin: 0 auto;
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 3rem;
        }

        .footer-logo {
            width: 200px;
            max-width: 100%;
            margin-bottom: 1.5rem;
        }

        .footer-slogan {
            font-size: 1.3rem;
            text-align: center;
            color: #d8e2dc;
            margin-bottom: 2rem;
        }

        .footer-social {
            display: flex;
            gap: 1.5rem;
            flex-wrap: wrap;
            justify-content: center;
        }

        .footer-social a {
            width: 50px;
            height: 50px;
            border-radius: 50%;
            background-color: #3a506b;
            display: flex;
            justify-content: center;
            align-items: center;
            font-size: 1.5rem;
            color: var(--color-white);
            transition: var(--transition);
        }

        .footer-social a:hover {
            background-color: var(--color-vivid-coral);
            transform: translateY(-5px);
        }

        .footer-divider {
            height: 2px;
            background-color: #3a506b;
            width: 70%;
            border-radius: 1px;
        }

        .footer-copyright {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 1rem;
            text-align: center;
            color: #8a8a8a;
            font-size: 1.1rem;
        }

        .footer-copyright a {
            color: var(--color-vivid-coral);
            text-decoration: none;
            transition: var(--transition);
        }

        .footer-copyright a:hover {
            color: var(--color-white);
        }

        @media (max-width: 1200px) {
            .cart-container {
                grid-template-columns: 1fr;
                gap: 2rem;
            }

            .order-summary {
                position: static;
            }
        }

        @media (max-width: 992px) {
            .nav-links {
                display: none;
            }

            .mobile-menu-btn {
                display: block;
            }

            .nav-icons a:not(.mobile-menu-btn) {
                display: none;
            }

            .cart-item {
                flex-direction: column;
                gap: 1.5rem;
            }

            .item-image {
                align-self: center;
            }

            .item-controls {
                flex-direction: column;
                gap: 1rem;
                align-items: center;
            }
        }

        @media (max-width: 768px) {
            .cart-container {
                padding: 2rem 1rem;
            }

            .cart-products-section,
            .order-summary {
                padding: 1.5rem;
            }

            .cart-header {
                flex-direction: column;
                gap: 1rem;
                align-items: stretch;
            }

            .cart-title {
                justify-content: center;
            }

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

            .payment-options {
                flex-direction: column;
            }
        }

        @media (max-width: 576px) {
            .breadcrumb-container {
                padding: 0 1rem;
            }

            .cart-title h2 {
                font-size: 1.5rem;
            }

            .item-info h3 {
                font-size: 1.2rem;
            }

            .quantity-control {
                width: 100%;
                justify-content: center;
            }

            .discount-input {
                padding-left: 1.5rem;
                margin-bottom: 0.5rem;
            }

            .apply-discount-btn {
                position: static;
                transform: none;
                width: 100%;
                border-radius: 25px;
            }

            .checkout-btn,
            .continue-shopping-btn {
                font-size: 1rem;
                padding: 1rem 1.5rem;
            }
        }
