/**
 * 2025 DimaProd
 *
 * NOTICE OF LICENSE
 *
 * This source file is subject to the Academic Free License (AFL 3.0)
 * that is bundled with this package in the file LICENSE.txt.
 * It is also available through the world-wide-web at this URL:
 * http://opensource.org/licenses/afl-3.0.php
 * If you did not receive a copy of the license and are unable to
 * obtain it through the world-wide-web, please send an email
 * to license@prestashop.com so we can send you a copy immediately.
 *
 * @author    Dima
 * @copyright 2025 DimaProd
 * @license   http://opensource.org/licenses/afl-3.0.php  Academic Free License (AFL 3.0)
 */

/* Product Left Side Images - Front Styles */
.product-left-side-images {
    margin-top: 20px;
    padding: 15px;
    background: white;
    border-radius: 4px;
    border: 1px solid #e0e0e0;
    width: auto;
}

.product-left-side-images .pis-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e0e0e0;
    color: #333;
}

.product-left-side-images .pis-thumbnails {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    width: auto;
    text-align: center;
    justify-content: space-around;
}

.product-left-side-images .pis-thumbnail-item {
    flex: 0 0 auto;
    width: 80px;
    height: 80px;
    /*border: 2px solid #e0e0e0;*/
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.product-left-side-images .pis-thumbnail-item:hover {
    border-color: #2fb5d2;
    transform: translateY(-2px);
    box-shadow: 0 2px 8px transparentize(#000, 0);
}

.product-left-side-images .pis-thumbnail-item img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

/* Responsive adjustments */
@media (max-width: 767px) {
    .product-left-side-images .pis-thumbnail-item {
        width: 60px;
        height: 60px;
    }

    .pis-thumbnails {
        display: flex;
        flex: auto;
        width: 100%;
        margin: auto;
    }

    .product-left-side-images {
        width: 100%;

    }
}

@media(min-width:1300px) {
    .product-left-side-images .pis-thumbnail-item {
        width: 60px;
        height: 60px;
    }

    .pis-thumbnails {
        display: flex;
        flex: auto;
        width: 18.5%;
        margin: auto;
    }

    .product-left-side-images {
        width: 18.5%;
        position: absolute;
        margin: auto;
        /*! text-align: center; */
        /*! justify-content: space-around; */
    }
}
