.sellx-cart-xselling-horizontal {
    width: 100%;
}

.sellx-xselling-product {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e5e5e5;
}

.sellx-xselling-product:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    border-color: #d0d0d0;
}

.sellx-xselling-product .card-img-top {
    height: 220px;
    object-fit: contain;
    padding: 1rem;
    background: #f8f9fa;
    transition: transform 0.3s ease;
}

.sellx-xselling-product:hover .card-img-top {
    transform: scale(1.05);
}

.sellx-xselling-product .card-title {
    font-size: 0.875rem;
    line-height: 1.4;
    min-height: 2.8em;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.sellx-xselling-product .btn {
    transition: all 0.3s ease;
}

.sellx-xselling-product .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

/* Swiper Navigation Buttons */
#xselling-prev,
#xselling-next {
    width: 2.5rem;
    height: 2.5rem;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

#xselling-prev.swiper-button-disabled,
#xselling-next.swiper-button-disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

@media (max-width: 576px) {
    .sellx-xselling-product .card-img-top {
        height: 180px;
    }
}
 .crossselling-list-item {
                    transition: background-color 0.2s ease, transform 0.2s ease;
                }
                
                .crossselling-list-item:hover {
                    background-color: #f8f9fa;
                    transform: translateX(4px);
                }
                
                .crossselling-list-item:active {
                    background-color: #e9ecef;
                }
                
                #crosssellingOffcanvas .offcanvas-body {
                    overflow-y: auto;
                }
                
                #crosssellingOffcanvas .list-group-item {
                    border-left: none;
                    border-right: none;
                }
                
                #crosssellingOffcanvas .list-group-item:first-child {
                    border-top: none;
                }

                .sellx-crossselling-selector-container {
                margin-top: 2rem;
            }
            
            .crossselling-title {
                font-size: 16px;
                /* font-weight: 600; */
                color: #2c3e50;
            }
            
            .crossselling-swatch {
                border: 2px solid #e0e0e0;
                border-radius: 8px;
                padding: 12px;
                cursor: pointer;
                transition: all 0.3s ease;
                background: #fff;
                height: 100%;
                display: flex;
                flex-direction: column;
            }
            
            .crossselling-swatch:hover {
                border-color: var(--bs-primary, #0d6efd);
                box-shadow: 0 4px 12px rgba(0, 123, 255, 0.15);
                transform: translateY(-2px);
            }
            
            .crossselling-swatch:focus {
                outline: 2px solid var(--bs-primary, #0d6efd);;
                outline-offset: 2px;
            }
            
            .crossselling-image-container {
                width: 100%;
                aspect-ratio: 1;
                margin-bottom: 8px;
                overflow: hidden;
                border-radius: 6px;
                background: #f8f9fa;
            }
            
            .crossselling-image {
                width: 100%;
                height: 100%;
                display: flex;
                align-items: center;
                justify-content: center;
            }
            
            .crossselling-image img {
                max-width: 100%;
                max-height: 100%;
                object-fit: contain;
            }
            
            .crossselling-placeholder {
                width: 100%;
                height: 100%;
                display: flex;
                align-items: center;
                justify-content: center;
                color: #ccc;
                font-size: 2rem;
            }
            
            .crossselling-info {
                display: flex;
                flex-direction: column;
                gap: 4px;
            }
            
            .crossselling-name {
                font-weight: 500;
                font-size: 0.875rem;
                color: #2c3e50;
                line-height: 1.3;
                min-height: 2.6em;
                display: -webkit-box;
                -webkit-line-clamp: 2;
                -webkit-box-orient: vertical;
                overflow: hidden;
            }
            
            .crossselling-pricing {
                display: flex;
                flex-direction: column;
                gap: 2px;
            }
            
            .crossselling-price {
                font-weight: 600;
                font-size: 1rem;
                color: #007bff;
            }
            
            .crossselling-unit-price {
                font-size: 0.75rem;
                color: #6c757d;
            }
            
            .crossselling-swatch.loading {
                opacity: 0.6;
                pointer-events: none;
            }
            
            .crossselling-tooltip-display {
                transition: opacity 0.2s ease;
            }