/* Suggested Products Carousel Widget Styles */


/* Title Styling */
.suggested-products-carousel h2 {
    color: #4a5568;
    font-size: 1.5rem;
}

.suggested-products-carousel .h-1 {
    height: 4px;
    background: linear-gradient(to left, #5A31F4, #7c3aed);
    border-radius: 9999px;
    box-shadow: 0 2px 4px rgba(90, 49, 244, 0.2);
}

.suggested-products-carousel .carousel-container {
    overflow: hidden;
    position: relative;
    width: 100%;
}

.suggested-products-carousel .carousel-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    gap: 1rem;
    justify-content: flex-start;
    align-items: stretch;
}

.suggested-products-carousel .carousel-item {
    flex: 0 0 auto;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
}

/* Navigation Buttons */
.suggested-products-carousel .carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: white;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid #fff;
}

.suggested-products-carousel .carousel-nav:hover {
    background: #ccc;
    color: #4d4d4d;
    transform: translateY(-50%) scale(1.1);
    border-color: #ccc;
}

.suggested-products-carousel .carousel-nav:active {
    transform: translateY(-50%) scale(0.95);
}

.suggested-products-carousel .carousel-nav.prev {
    right: 0;
}

.suggested-products-carousel .carousel-nav.next {
    left: 0;
}

.suggested-products-carousel .carousel-nav svg {
    transition: transform 0.3s ease;
}

.suggested-products-carousel .carousel-nav:hover svg {
    transform: scale(1.2);
}

/* Pagination Dots */
.suggested-products-carousel .carousel-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.suggested-products-carousel .pagination-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #e5e7eb;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.suggested-products-carousel .pagination-dot:hover {
    background: #d1d5db;
    transform: scale(1.1);
}

.suggested-products-carousel .pagination-dot.active {
    background: #4d4d4d;
    width: 32px;
    border-radius: 6px;
    border-color: #4d4d4d;
}

/* Product Card Styles */
.suggested-products-carousel .carousel-item>div {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.suggested-products-carousel .carousel-item img {
    transition: transform 0.3s ease;
}

.suggested-products-carousel .carousel-item:hover img {
    transform: scale(1.05);
}

.suggested-products-carousel .carousel-item button {
    transition: all 0.3s ease;
    min-width: 120px;
}

.suggested-products-carousel .carousel-item button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px -2px rgba(239, 64, 86, 0.4);
}

/* Price styling to match image */
.suggested-products-carousel .carousel-item .text-xl {
    font-size: 1.5rem;
    line-height: 1.2;
}

/* Button styling to match image */
.suggested-products-carousel .carousel-item button {
    background: linear-gradient(135deg, #EF4056 0%, #d63648 100%);
    border-radius: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

/* Product card border instead of shadow */
.suggested-products-carousel .carousel-item>div {
    border: 1px solid #fff;
}

.suggested-products-carousel .carousel-item>div:hover {
    border-color: #d1d5db;
}

/* Responsive Styles */
@media (max-width: 1024px) {


    .suggested-products-carousel .carousel-nav {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 768px) {


    .suggested-products-carousel .carousel-nav {
        width: 36px;
        height: 36px;
    }

    .suggested-products-carousel .carousel-nav svg {
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 640px) {


    .suggested-products-carousel .carousel-nav {
        width: 32px;
        height: 32px;
    }

    .suggested-products-carousel .pagination-dot {
        width: 10px;
        height: 10px;
    }

    .suggested-products-carousel .pagination-dot.active {
        width: 24px;
    }
}

/* Loading Animation */
@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

.suggested-products-carousel .loading {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* RTL Support */
[dir="rtl"] .suggested-products-carousel .carousel-nav.prev {
    right: 0;
    left: auto;
}

[dir="rtl"] .suggested-products-carousel .carousel-nav.next {
    left: 0;
    right: auto;
}

/* Smooth Scrolling */
.suggested-products-carousel .carousel-track {
    scroll-behavior: smooth;
}

/* Accessibility */
.suggested-products-carousel .carousel-nav:focus {
    outline: 2px solid #5A31F4;
    outline-offset: 2px;
}

.suggested-products-carousel .pagination-dot:focus {
    outline: 2px solid #5A31F4;
    outline-offset: 2px;
}

/* Print Styles */
@media print {

    .suggested-products-carousel .carousel-nav,
    .suggested-products-carousel .carousel-pagination {
        display: none;
    }

    .suggested-products-carousel .carousel-track {
        flex-wrap: wrap;
    }
}