               .icon-container {
            display: flex;
            align-items: center;
            gap: 24px;
        }

        .icon {
            position: relative;
            font-size: 24px;
            color: var(--e-global-color-secondary);
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .icon:hover {
            transform: translateY(-2px);
            color: var(--e-global-color-primary);
        }

        .cart-count {
  position: absolute;
  top: -8px;
  right: -8px;
  background: black;
  color: white;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 600;
  min-width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  border: 1px solid var(--e-global-color-primary);
}

        /* Cart Popup Styles */
        .cart-popup {
            display: none;
            position: absolute;
            top: 50px;
            right: 0;
            background: #fff;
            border-radius: 12px;
            box-shadow: 0 4px 20px rgba(0,0,0,0.15);
            width: 280px;
            z-index: 1000;
            opacity: 0;
            transform: translateY(10px);
            transition: all 0.3s ease;
        }

        .cart-popup.active {
            display: block;
            opacity: 1;
            transform: translateY(0);
        }

        .cart-popup-header {
            padding: 16px;
            border-bottom: 1px solid rgba(0,0,0,0.08);
            font-weight: 600;
            text-align: left;
            font-size: 16px;
            color:black;
        }

        .cart-popup-content {
            max-height: 400px;
            overflow-y: auto;
            padding: 8px 0 0 0;
        }

        .cart-item {
            position: relative;
            display: flex;
            align-items: center;
            padding: 12px 16px;
            border-bottom: 1px solid rgba(0,0,0,0.05);
            transition: background 0.2s ease;
        }

        .cart-item:hover {
            background: rgba(0,0,0,0.02);
        }

        .cart-item img {
            width: 60px;
            height: 60px;
            border-radius: 8px;
            margin-right: 12px;
            object-fit: cover;
        }

        .cart-item-info {
            flex-grow: 1;
            margin-right: 12px;
            display: flex;
            flex-direction: column;
            align-items: center;  /* Centers horizontally */
            text-align: center;   /* Centers text content */
        }

        .cart-item-title {
            font-size: 14px;
            color: black;
            margin: 0 0 8px 0;
            font-weight: 500;
            line-height: 1.4;
            width: 100%;         /* Ensures full width */
            text-align: center;  /* Centers the text */
        }

        .cart-item-quantity {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            min-width: 120px;
        }

        .quantity-text {
            min-width: 40px;
            padding: 0 4px;
            text-align: center;
            font-weight: 500;
            color: black;
            display: inline-block;
        }

        .remove-item {
            position: absolute;
            top: 8px;
            right: 8px;
            background: none;
            border: none;
            padding: 4px;
            cursor: pointer;
            color: #999;
            transition: all 0.2s ease;
        }

        .remove-item:hover {
            color: #ff0000;
            transform: scale(1.1);
        }

        .cart-item-quantity button {
            min-width: 32px;
            width: 32px;
            height: 32px;
            flex-shrink: 0;
            background: var(--e-global-color-secondary);
            color: black;
            border: none;
            border-radius: 6px;
            cursor: pointer;
            transition: all 0.2s ease;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .cart-item-quantity button.loading {
            cursor: not-allowed;
            opacity: 0.7;
        }

        .cart-item-quantity button.loading:hover {
            transform: none;
            background: var(--e-global-color-secondary);
        }

        .cart-item-quantity button .fa-spinner {
            font-size: 14px;
        }

        .cart-item-quantity button:not(.loading):hover {
            background: var(--e-global-color-primary);
            transform: translateY(-1px);
        }

        /* User Dropdown Styles */
        .user-dropdown {
            display: none;
            position: absolute;
            top: 50px;
            right: 0;
            background: #fff;
            border-radius: 12px;
            box-shadow: 0 4px 20px rgba(0,0,0,0.15);
            width: 280px;
            z-index: 1000;
            opacity: 0;
            transform: translateY(10px);
            transition: all 0.3s ease;
        }

        .user-dropdown.active {
            display: block;
            opacity: 1;
            transform: translateY(0);
        }

        .user-dropdown-header {
            display: flex;
            align-items: center;
            padding: 16px;
            border-bottom: 1px solid rgba(0,0,0,0.08);
        }

        .user-dropdown-header img {
            width: 42px;
            height: 42px;
            border-radius: 50%;
            margin-right: 12px;
            object-fit: cover;
            border: 2px solid var(--e-global-color-secondary);
        }

        .user-dropdown-header .user-email {
            font-size: 14px;
            color: black;
            font-weight: 500;
        }

        .user-dropdown-content a {
            display: flex;
            align-items: center;
            padding: 14px 16px;
            color: black;
            text-decoration: none;
            transition: all 0.2s ease;
            font-weight: 500;
            font-size: 14px;
        }

        .user-dropdown-content a:hover {
            background: var(--e-global-color-primary);
            color: black;
            padding-left: 20px;
        }

        /* Scrollbar Styling */
        .cart-popup-content::-webkit-scrollbar {
            width: 6px;
        }

        .cart-popup-content::-webkit-scrollbar-track {
            background: rgba(0,0,0,0.05);
        }

        .cart-popup-content::-webkit-scrollbar-thumb {
            background: rgba(0,0,0,0.2);
            border-radius: 3px;
        }

        /* Responsive Adjustments */
        @media (max-width: 480px) {
            .cart-popup,
            .user-dropdown {
                position: fixed;
                top: auto;
                bottom: 0;
                left: 0;
                width: 100%;
                border-radius: 12px 12px 0 0;
                max-height: 80vh;
            }

            .cart-popup-content {
                max-height: 60vh;
            }
        }

        /* Add these new styles */
        .cart-popup-footer {
            padding: 16px;
            border-top: 1px solid rgba(0,0,0,0.08);
            background: #fff;
            border-radius: 0 0 12px 12px;
        }

        .checkout-button {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            width: 100%;
            padding: 12px 24px;
            background: var(--e-global-color-secondary);
            color: black !important;  /* Added !important to override any inherited styles */
            text-decoration: none;
            border-radius: 8px;
            font-weight: 600;
            font-size: 15px;
            transition: all 0.3s ease;
            text-align: center;
        }

        .checkout-button,
        .checkout-button:hover,
        .checkout-button:focus,
        .checkout-button:visited {
            color: black !important;  /* Ensure color stays black in all states */
        }

        .checkout-button i {
            font-size: 14px;
            transition: transform 0.3s ease;
            color: black;
        }

        .checkout-button:hover {
            background: var(--e-global-color-primary);
            transform: translateY(-2px);
        }

        .checkout-button:hover i {
            transform: translateX(4px);
        }

        /* Update mobile styles */
        @media (max-width: 480px) {
            .cart-popup-footer {
                position: sticky;
                bottom: 0;
                box-shadow: 0 -4px 12px rgba(0,0,0,0.05);
            }
        }

        .empty-cart-message {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            padding: 40px 20px;
            text-align: center;
            color: #666;
        }

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

        .empty-cart-message p {
            font-size: 18px;
            font-weight: 600;
            margin: 0 0 8px 0;
            color: #333;
        }

        .empty-cart-message span {
            font-size: 14px;
            color: #666;
        }

        /* Cart Loading Skeleton */
        .cart-loading-skeleton {
            padding: 12px;
        }

        .cart-loading-skeleton .skeleton-item {
            display: flex;
            margin-bottom: 16px;
            padding: 12px;
            background: #fff;
            border-radius: 8px;
            border: 1px solid rgba(0,0,0,0.05);
        }

        .cart-loading-skeleton .skeleton-image {
            width: 60px;
            height: 60px;
            background: #eee;
            border-radius: 8px;
            margin-right: 12px;
            flex-shrink: 0;
        }

        .cart-loading-skeleton .skeleton-content {
            flex: 1;
            display: flex;
            flex-direction: column;
            gap: 8px;
        }

        .cart-loading-skeleton .skeleton-title {
            height: 16px;
            background: #eee;
            border-radius: 4px;
            width: 85%;
        }

        .cart-loading-skeleton .skeleton-price {
            height: 14px;
            background: #eee;
            border-radius: 4px;
            width: 45%;
        }

        .cart-loading-skeleton .skeleton-quantity {
            height: 32px;
            background: #eee;
            border-radius: 6px;
            width: 100px;
            margin-top: 4px;
        }

        .skeleton-footer {
            margin: 0 !important;
            height: 45px !important;
        }

        /* Pulse Animation */
        @keyframes pulse {
            0% {
                opacity: 1;
            }
            50% {
                opacity: 0.5;
            }
            100% {
                opacity: 1;
            }
        }

        .pulse {
            animation: pulse 1.5s ease-in-out infinite;
        }