/* ===== اسلایدر محصولات ===== */
.slider-container {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
    border-radius: 12px 12px 0 0;
    cursor: pointer;
}

.slider {
    display: flex;
    height: 100%;
}

.slide-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    cursor: pointer;
    transition: opacity 0.3s;
}

.slide-img:hover {
    opacity: 0.85;
}

.slider-btn {
    display: none;
}

.slider-dots {
    display: none;
}

/* عکس بزرگ (full view) */
#fullImageBox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.85);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

#fullImageBox img {
    max-width: 90%;
    max-height: 85%;
    border-radius: 12px;
    user-select: none;
}

#closeFull {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 40px;
    color: white;
    cursor: pointer;
    line-height: 1;
    z-index: 10;
}

#fullImageCounter {
    position: absolute;
    top: 25px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.8);
    font-size: 16px;
    font-family: Vazirmatn, sans-serif;
    z-index: 10;
}

.full-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.15);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: background 0.3s;
    border: none;
    user-select: none;
}

.full-nav-btn:hover {
    background: rgba(255, 255, 255, 0.35);
}

#fullImageLeft {
    left: 20px;
}

#fullImageRight {
    right: 20px;
}

/* لایک (heart) */
.stage {
    display: flex;
    justify-content: center;
    margin: 10px 0;
}

.heart {
    width: 100px;
    height: 100px;
    background: url("https://cssanimation.rocks/images/posts/steps/heart.png") no-repeat;
    background-position: 0 0;
    cursor: pointer;
    transition: background-position 1s steps(28);
    transition-duration: 0s;
}

.heart.is-active {
    background-position: -2800px 0;
    transition-duration: 1s;
}

/* ریسپانسیو */
@media (max-width: 768px) {
    .slider-container {
        height: 200px;
    }
    .slide-img {
        height: 200px;
    }
    .full-nav-btn {
        width: 40px;
        height: 40px;
        font-size: 22px;
    }
    #fullImageLeft {
        left: 10px;
    }
    #fullImageRight {
        right: 10px;
    }
}
