﻿.product-info .gallery {
    margin-top: 90px;
}

    .product-info .gallery .main-img {
        height: 604px;
        background-size: cover;
        background-position-y: -170px;
    }

        .product-info .gallery .main-img .product-main-image {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .product-info .gallery .main-img .overlay-content {
            position: absolute;
            bottom: 0px; /* فاصله از پایین تصویر */
            left: 0;
            right: 0;
            display: flex;
            align-items: center;
            background: #00000030;
            padding: 14px 0px;
        }

            .product-info .gallery .main-img .overlay-content h1 {
                font-size: 36px;
                font-weight: 200;
                text-align: center;
                margin: auto;
            }

    .product-info .gallery .mySlider {
        margin-bottom: 24px;
        margin-top: 24px;
    }
    .product-info .gallery .content .text {
        line-height: 40px;
        text-align: justify;
        margin-top: 0;
    }
    .product-info .gallery .props {

    }
    .product-info .gallery .props .prop-title {
        font-weight: 300;
        font-size: 20px;
        line-height: 40px;
        text-align: right;
        color: var(--primary-500);
    }
        .product-info .gallery .props .prop-value {
            font-weight: 200;
            font-size: 16px;
            line-height: 40px;
            text-align: right;
            color: var(--neutral-700);
        }
.product-content {
    --bs-gutter-x: 128px;
}

.product-info .content .heading{
    font-weight: 500;
    margin-bottom: 32px;
}
.product-info .related img {
    height: 250px;
    object-fit: cover;
}
.product-info .related .overlay-content, .projects-index .overlay-content {
    position: absolute;
    bottom: 0px; /* فاصله از پایین تصویر */
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    background: #0000001A;
    padding: 12px 8px;
}
    .product-info .related .overlay-content div, .projects-index .overlay-content div {
        font-size: 16px;
    }
.product-info .swiper-container {
    max-width: 100%;
}
.projects-index .content {
    text-align: center;
    border-bottom: 1px solid var(--neutral-500);
}
.projects-index a {
    text-decoration: none;
    color: var(--primary-500); 
}
.projects-index h2 { 
    font-size: 24px;
    font-weight: 400;
    margin-bottom: 16px;
}
.projects-index .list-item {
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--neutral-500);
}
.projects-index img {
    height: 398px;
    -webkit-object-fit: cover;
    object-fit: cover;
}
.product-index .content .heading {
    text-align: center;
}

.product-index .types-container { 
    user-select: none;
} 
.product-index .types {  
    margin-top: 24px;
    margin-bottom: 24px;
    padding-top: 16px; 
    border-bottom: 1px solid var(--neutral-200);
}
    .product-index .types .types-item { 
        text-wrap-mode: nowrap;
        text-wrap: none; 
    }
.product-index .types a { 
    font-size: 20px;
    color: var(--neutral-500);
    font-weight: 200;
    text-decoration: none;
}
    .product-index .types .active a {
        color: var(--neutral-800);
        font-weight: 400;
    }

.product-index .product-item {
    margin-bottom: 32px;
}
    .product-index .product-item .product-title {
        padding-bottom: 16px;
        border-bottom: 2px solid var(--primary-100);
        font-size: 18px;
        font-weight: 300;
        color: var(--neutral-800);
        margin-top: 8px;
        text-align: center;
    }
.product-index .product-item img {
    max-height: 300px;
    -webkit-object-fit: cover;
    object-fit: cover;
}
.product-index .swiper-slide::after { 
    background: unset;
    transition: 0.3s;
}
.product-index .swiper-slide {
    width: unset;
    padding-bottom: 16px;
}
    .product-index .swiper-slide:has(.active) {
        border-bottom: 1px solid var(--neutral-800);
    }
.product-index .mySlider {
    width: 100%;
}  




@media (max-width: 767.98px) {
    .product-info .gallery {
        margin-top: 0px;
    }

        .product-info .gallery .main-img {
            height: 280px;
            background-position-y: 0;
        }

            .product-info .gallery .main-img .overlay-content h1 {
                font-size: 24px;
            }

    .product-info .swiper-slide img {
        width: 100%;
        height: 200px;
        object-fit: cover;
        user-select: none;
    }

    .product-content {
        --bs-gutter-x: 0;
    }

    .product-info .gallery .props .prop-title {
        font-size: 16px;
    }

    .projects-index h2 {
        font-size: 16px;
        margin-bottom: 8px;
    }

    .projects-index .list-item {
        margin-bottom: 32px;
        border-bottom: none;
    }

    .projects-index img {
        height: 120px;
    }

    .product-info .related .overlay-content div, .projects-index .overlay-content div {
        font-size: 14px;
    }

    .product-info .related .overlay-content, .projects-index .overlay-content {
        padding: 2px 8px;
    }
    .product-index .types {
        margin-top: 16px;
        margin-bottom: 16px;
    }
        .product-index .types a { font-size: 16px; }

            .product-index .types .types-item {
                margin-left: 32px;
                text-wrap-mode: nowrap;
                text-wrap: none;
            }
        }
