﻿
/* =====================================
   PRODUCT CAROUSEL
===================================== */

.carousel-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 25px auto;
    padding: 0 45px;
    box-sizing: border-box;
}

.carousel-window {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scrollbar-width: none;
}

    .carousel-window::-webkit-scrollbar {
        display: none;
    }

.carousel-track {
    display: flex;
    width: 100%;
}

.product-slide {
    flex: 0 0 25%;
    min-width: 0;
    box-sizing: border-box;
    padding: 10px;
}

    .product-slide a {
        display: block;
        background: #fff;
        padding: 10px;
        border: 1px solid #eee;
        text-decoration: none;
        color: #333;
    }

        .product-slide a:hover {
            box-shadow: 0 4px 15px rgba(0,0,0,0.12);
        }

    .product-slide img {
        width: 100%;
        height: 220px;
        object-fit: cover;
    }

    .product-slide h3 {
        font-size: 15px;
        font-weight: normal;
        min-height: 36px;
    }

    .product-slide .price {
        color: #9b4b2c;
        font-weight: bold;
    }

.view-details {
    color: #9b4b2c;
    font-size: 12px;
    letter-spacing: 1px;
}

/* ARROW BUTTONS */

.carousel-arrow {
    position: absolute;
    top: 40%;
    z-index: 5;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 50%;
    background: #9b4b2c;
    color: white;
    font-size: 20px;
    cursor: pointer;
}

.left-arrow {
    left: 0;
}

.right-arrow {
    right: 0;
}

/* TABLET AND MOBILE */

@media screen and (max-width: 768px) {

    .thumbnail-gallery {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        gap: 8px;
        width: 100%;
        margin-top: 12px;
        overflow-x: auto;
    }
}
