  .line-clamp-2 {
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .ai-recommendations-unified .slick-dots {
        display: none !important;
    }

    /* Remove any unwanted space below images */
    .ai-recommendations-unified img {
        display: block;
    }

    /* Ensure cards have consistent height */
    .ai-recommendations-unified .group {
        min-height: 480px;
    }

    /* Fix for 4th item cutting issue */
    .ai-recommendations-unified .overflow-hidden {
        padding-right: 1px;
    }

    /* Ensure proper spacing between items */
    .ai-recommendations-unified .flex-shrink-0 {
        box-sizing: border-box;
    }

    .ai-product-options {
        min-height: 120px;
    }
    .ai-product-name {
        min-height: 58px;
    }
    .ai-recommendations-unified .swatch-option.text.selected {
        background-color: #3b82f6 !important;
        color: white !important;
    }
    .ai-recommendations-unified .swatch-option.selected {
        border-color: #3b82f6 !important;
        box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2) !important;
    }
    .ai-recommendations-unified .swatch-option:hover {
        transform: scale(1.1);
        z-index: 10;
        border-color: #6b7280;
    }
    .ai-recommendations-unified .swatch-option {
        transition: all 0.2s ease;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 4px;
        border: 1px solid #e5e7eb;
    }


    .ai-recommendations-unified .swatch-option.color {
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    }

    .ai-recommendations-unified .swatch-option.text {
        font-size: 10px;
        line-height: 1.2;
        text-align: center;
        white-space: nowrap;
    }


    .ai-recommendations-unified .swatch-attribute.validation-failed {
        animation: shake 0.5s ease-in-out;
    }

    @keyframes shake {
        0%, 100% { transform: translateX(0); }
        25% { transform: translateX(-5px); }
        75% { transform: translateX(5px); }
    }

    .ai-recommendations-unified .swatch-attribute.validation-failed .swatch-attribute-label {
        color: #ef4444;
    }

    /* Ensure consistent card heights */
    .ai-recommendations-unified .group {
        min-height: 480px;
    }
    .ai-product-options {
        min-height: 75px;
    }
    .ai-product-name {
        min-height: 58px;
    }

    /* Responsive swatch sizing */
    @media (max-width: 640px) {
        .ai-recommendations-unified .swatch-option.color,
        .ai-recommendations-unified .swatch-option.image {
            width: 16px !important;
            height: 16px !important;
        }

        .ai-recommendations-unified .swatch-option.text {
            font-size: 8px !important;
            padding: 2px 4px !important;
        }
    }

    @media (min-width: 641px) and (max-width: 1023px) {
        .ai-recommendations-unified .swatch-option.color,
        .ai-recommendations-unified .swatch-option.image {
            width: 18px !important;
            height: 18px !important;
        }
    } 
