/*
 Theme Name:   Imparts Child
 Theme URI:    https://imparts.ir
 Description:  Child theme for Imparts - ساخته شده توسط fatemegoljah
 Author:       fatemegoljah
 Author URI:   https://imparts.ir
 Template:     sepid
 Version:      1.0.0
 Text Domain:  imparts-child
*/

.right-two-p-sepid-asli .Property-sepid {
    width: 100%;
    margin-top: 20px;
    background: #f7f6f6;
    padding: 20px;
    box-sizing: border-box;
    border-radius: 10px;
}
a.call-me-btn {
    background: #09908a;
    margin: 0 auto;
    display: block;
    width: 83%;
    padding: 9px;
    border-radius: 7px;
    color: #ffffff;
    text-align: center;
    font-size: 15px;
}

/* --- 🔥 گالری محصول شیک و منظم --- */

.roght-img-sepid-product {
    position: relative;
    max-width: 480px;
    margin: 0 auto;
}

.roght-img-sepid-product .images {
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    border: 1px solid #eee;
}

/* اسلایدر اصلی */
.wpgis-slider-for {
    position: relative;
}

.wpgis-slider-for .slick-track {
    display: flex;
    align-items: center;
}

.wpgis-slider-for img {
    width: 100% !important;
    height: auto !important;
    object-fit: cover;
    border-radius: 10px;
}

/* دکمه‌ها */
.wpgis-slider-for .slick-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.55) !important;
    color: #fff !important;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex !important;
    align-items: center;
    justify-content: center;
    transition: 0.2s ease-in-out;
}

.wpgis-slider-for .slick-arrow:hover {
    background: rgba(0, 0, 0, 0.85) !important;
}

.wpgis-slider-for .btn-prev {
    left: 10px;
}

.wpgis-slider-for .btn-next {
    right: 10px;
}

/* اسلایدر کوچک (thumbnail) */
#wpgis-gallery {
    margin-top: 12px;
}

#wpgis-gallery .slick-track {
    display: flex;
}

#wpgis-gallery li {
    padding: 4px;
    margin: 0 5px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border 0.2s ease, opacity 0.2s ease;
}

#wpgis-gallery li.slick-current {
    border-color: #ff9800;
    opacity: 1;
}

#wpgis-gallery li img {
    width: 100%;
    display: block;
    border-radius: 6px;
}

/* ریسپانسیو */
@media (max-width: 480px) {
    .roght-img-sepid-product {
        max-width: 100%;
    }

    #wpgis-gallery li {
        margin: 0 3px;
    }

    .wpgis-slider-for .slick-arrow {
        width: 32px;
        height: 32px;
    }
}

.woocommerce #content div.product div.images,
.woocommerce div.product div.images,
.woocommerce-page #content div.product div.images,
.woocommerce-page div.product div.images {
    float: unset;
    width: 100%;
}


.product-meta-sepid {
    position: absolute;
    top: 0;
    right: 24px;
    width: 16x;
    margin-top: 0px;
    margin-right: 0px;
    z-index: 1;
    margin-right: -25px;
    margin-top: -25px;
}


.woocommerce div.product .roght-img-sepid-product div.images .woocommerce-product-gallery__trigger::before,.meta-v-sopid-box {

    font-size: 16px !important;
 
} 
.meta-v-sopid-box .yith-wcwl-wishlistaddedbrowse a {

    height: 35px;
 
}


.woocommerce div.product div.images .woocommerce-product-gallery__trigger {
    background: #fff;
    border: none;
    box-sizing: content-box;
    border-radius: 100%;
    cursor: pointer;
    font-size: 2em;
    height: 36px;
    padding: 0;
    position: absolute;
    right: 24px;
    text-indent: -9999px;
    top: 0.3em !important;
    width: 36px;
    z-index: 99;
}

.products.loading {
    opacity: 0.5;
    pointer-events: none;
    position: relative;
}

.products.loading::after {
    content: "در حال بارگذاری...";
    position: absolute;
    top: 40%;
    left: 40%;
    font-size: 18px;
}

body.elementor-page-4683 {
    padding: none !important;
}

/* جلوگیری از بریده شدن */
.woocommerce-product-gallery__wrapper {
    overflow: visible !important;
}

/* افکت نرم */
.woocommerce-product-gallery__image {
    transition: transform .3s ease;
}

/* وقتی زوم فعال است */
.woocommerce-product-gallery__image.zoom-active {
    transform: scale(1.15);
    z-index: 5;
}

.up-sells.upsells.products .product-list-45645654 {
    width: unset;
    display: ruby;
}