﻿/* ===== کلاس اصلی ksnsygh ===== */


    .ksnsygh .slider-container {
        width: 100%;
        max-width: 1400px;
        margin: 0 auto;
        padding: 0 10px;
    }

    /* ===== اسلایدر سه‌بعدی اصلی ===== */
    .ksnsygh .slider-3d {
        position: relative;
        width: 100%;
        height: 450px;
        transform-style: preserve-3d;
        transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
        margin-bottom: 50px;
        overflow: hidden;
        border-radius: 28px;
    }
.ksnsygh .slide-item {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    right: 0;
    backface-visibility: hidden;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(255, 215, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px 40px;
    background: linear-gradient(145deg, #f8f8f8 0%, #ffffff 100%);
    border: 2px solid #d4a553;
    opacity: 0;
    transition: opacity 0.5s ease, transform 0.6s ease;
    transform: rotateY(0deg) scale(0.95);
    pointer-events: none;
}

    .ksnsygh .slide-item.active {
        opacity: 1;
        transform: rotateY(0deg) scale(1);
        pointer-events: auto;
        z-index: 10;
        box-shadow: 0 25px 50px rgba(255, 215, 0, 0.25);
    }

    .ksnsygh .slide-item.prev {
        opacity: 0.5;
        transform: rotateY(15deg) scale(0.9) translateX(-30px);
        z-index: 5;
        pointer-events: none;
    }

    .ksnsygh .slide-item.next {
        opacity: 0.5;
        transform: rotateY(-15deg) scale(0.9) translateX(30px);
        z-index: 5;
        pointer-events: none;
    }

    .ksnsygh .slide-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        position: absolute;
        top: 0;
        right: 0;
        z-index: 0;
    }

.ksnsygh .slide-content {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #000000;
    text-shadow: 0 2px 10px rgba(255, 255, 255, 0.5);
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(3px);
    border-radius: 28px;
}

    .ksnsygh .slide-content h1 {
        font-size: clamp(2.5rem, 7vw, 5rem);
        font-weight: 700;
        letter-spacing: 2px;
        color: #000000;
        margin-bottom: 10px;
        background: linear-gradient(135deg, #d4a553, #d4a553);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        text-shadow: none;
        filter: drop-shadow(0 0 30px rgba(255, 215, 0, 0.3));
    }

    .ksnsygh .slide-content p {
        font-size: clamp(1.2rem, 3vw, 2rem);
        font-weight: 300;
        color: #000000;
        border-top: 2px solid #d4a553;
        border-bottom: 2px solid #d4a553;
        padding: 12px 30px;
        display: inline-block;
        background: rgba(255, 255, 255, 0.5);
        backdrop-filter: blur(4px);
        border-radius: 60px;
        letter-spacing: 1px;
    }

    .ksnsygh .slide-content .highlight {
        color: #d4a553;
        font-weight: 600;
    }

/* ===== دکمه‌های ناوبری اسلایدر ===== */
.ksnsygh .slider-nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 10px;
}

    .ksnsygh .slider-nav button {
        background: #000000;
        border: 2px solid #d4a553;
        color: #d4a553;
        width: 60px;
        height: 60px;
        border-radius: 50%;
        font-size: 1.8rem;
        cursor: pointer;
        transition: all 0.25s ease;
        box-shadow: 0 0 15px rgba(255, 215, 0, 0.2);
    }

        .ksnsygh .slider-nav button:hover {
            background: #d4a553;
            color: #000000;
            transform: scale(1.08);
            border-color: #000000;
            box-shadow: 0 0 30px #d4a553;
        }

        .ksnsygh .slider-nav button i {
            color: #d4a553;
        }

        .ksnsygh .slider-nav button:hover i {
            color: #000000;
        }

/* ===== گرید کارت‌ها (۸ تایی) ===== */
.ksnsygh .cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-top: 50px;
    width: 100%;
}

.ksnsygh .product-card {
    background: #ffffff;
    border-radius: 28px;
    padding: 20px 15px 25px;
    text-align: center;
    border: 2px solid #d4a553;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #000000;
    position: relative;
    overflow: hidden;
    min-height: 320px;
}

    .ksnsygh .product-card::before {
        content: '';
        position: absolute;
        top: -50%;
        left: -50%;
        width: 200%;
        height: 200%;
        background: radial-gradient(circle at 30% 30%, rgba(255, 215, 0, 0.08), transparent 70%);
        pointer-events: none;
    }

    .ksnsygh .product-card:hover {
        transform: translateY(-10px) scale(1.03);
        border-color: #000000;
        box-shadow: 0 25px 50px rgba(255, 215, 0, 0.2);
        background: #fafafa;
    }

    .ksnsygh .product-card img {
        width: 100%;
        height: 180px;
        object-fit: cover;
        border-radius: 20px;
        margin-bottom: 12px;
        border: 2px solid #d4a553;
        transition: 0.3s;
        background: #f5f5f5;
    }

    .ksnsygh .product-card:hover img {
        border-color: #000000;
        transform: scale(1.02);
    }

    .ksnsygh .product-card h3 {
        font-size: clamp(1rem, 1.3vw, 1.3rem);
        font-weight: 700;
        margin: 8px 0 12px;
        color: #000000;
        letter-spacing: 0.5px;
        border-bottom: 2px solid #d4a553;
        padding-bottom: 8px;
        width: 80%;
    }

    .ksnsygh .product-card .btn-group {
        display: flex;
        gap: 12px;
        flex-wrap: wrap;
        justify-content: center;
        margin-top: 8px;
    }

    .ksnsygh .product-card .btn {
        background: #000000;
        border: 2px solid #d4a553;
        color: #d4a553;
        padding: 8px 20px;
        border-radius: 40px;
        font-size: clamp(0.8rem, 0.9vw, 0.95rem);
        font-weight: 600;
        cursor: pointer;
        transition: all 0.25s ease;
        display: inline-flex;
        align-items: center;
        gap: 8px;
        letter-spacing: 0.5px;
    }

        .ksnsygh .product-card .btn i {
            font-size: 1rem;
            color: #d4a553;
        }

        .ksnsygh .product-card .btn:hover {
            background: #d4a553;
            color: #000000;
            border-color: #000000;
            transform: scale(1.08);
            box-shadow: 0 0 25px #d4a553;
        }

            .ksnsygh .product-card .btn:hover i {
                color: #000000;
            }

.ksnsygh .golden-glow {
    position: absolute;
    top: -20%;
    left: -10%;
    width: 60%;
    height: 140%;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.07), transparent 70%);
    pointer-events: none;
    z-index: 1;
    border-radius: 50%;
}

/* ===== ریسپانسیو ===== */
@media (max-width: 1200px) {
    .ksnsygh .cards-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

    .ksnsygh .slider-3d {
        height: 400px;
    }

    .ksnsygh .product-card {
        min-height: 300px;
    }
}

@media (max-width: 992px) {
    .ksnsygh .cards-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 18px;
    }

    .ksnsygh .slider-3d {
        height: 350px;
    }

    .ksnsygh .product-card {
        min-height: 280px;
    }

        .ksnsygh .product-card img {
            height: 160px;
        }
}

@media (max-width: 768px) {
    .ksnsygh .cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .ksnsygh .slider-3d {
        height: 300px;
    }

    .ksnsygh .slide-item {
        padding: 20px;
    }

    .ksnsygh .slider-nav button {
        width: 50px;
        height: 50px;
        font-size: 1.4rem;
    }

    .ksnsygh .product-card {
        min-height: 260px;
        padding: 15px 12px 20px;
    }

        .ksnsygh .product-card img {
            height: 140px;
        }
}

@media (max-width: 480px) {
    .ksnsygh {
        padding: 10px;
    }

        .ksnsygh .slider-container {
            padding: 10px 5px;
        }

        .ksnsygh .cards-grid {
            grid-template-columns: repeat(2, 1fr);
            gap: 12px;
            margin-top: 30px;
        }

        .ksnsygh .slider-3d {
            height: 250px;
            border-radius: 20px;
            margin-bottom: 30px;
        }

        .ksnsygh .slide-item {
            padding: 15px;
            border-radius: 20px;
        }

        .ksnsygh .slide-content p {
            padding: 6px 14px;
            font-size: 0.9rem;
        }

        .ksnsygh .slider-nav button {
            width: 45px;
            height: 45px;
            font-size: 1.2rem;
        }

        .ksnsygh .product-card {
            min-height: 250px;
            padding: 12px 10px 16px;
            border-radius: 18px;
        }

            .ksnsygh .product-card img {
                height: 120px;
                border-radius: 14px;
            }

            .ksnsygh .product-card h3 {
                font-size: 0.85rem;
                margin: 5px 0 8px;
                padding-bottom: 5px;
            }

            .ksnsygh .product-card .btn {
                font-size: 0.65rem;
                padding: 5px 12px;
                gap: 5px;
            }

                .ksnsygh .product-card .btn i {
                    font-size: 0.7rem;
                }

        .ksnsygh .slider-nav {
            gap: 12px;
        }
}

.ksnsygh ::-webkit-scrollbar {
    width: 0px;
    background: transparent;
}

.ksnsygh * {
    max-width: 100%;
}
