﻿body {
    padding-top: 0;
}

.header {
    background: none;
}


.carousel-product-top .slider-img-box {
    display: block;
    width: 100%;
}

.carousel-product-top img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.carousel-product-top .flickity-page-dots {
    bottom: 30px;
}

    .carousel-product-top .flickity-page-dots .dot {
        opacity: 1;
        background: #fff;
    }

        .carousel-product-top .flickity-page-dots .dot.is-selected {
            width: 30px;
            background: #ffd100;
            border-radius: 4px;
        }





.carousel-section-product-top .flickity-prev-next-button {
    width: 40px;
    height: 40px;
    border-radius: 0;
    background: #fff;
    border: 1px solid #b3b3b3;
    outline: none;
    font-size: 20px;
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
    border-radius: 10px;
    transition: all 0.2s ease-in-out;
    opacity: 1 !important;
}

    .carousel-section-product-top .flickity-prev-next-button:hover {
        box-shadow: 0 2px 25px rgba(0,0,0,0.3);
    }

    .carousel-section-product-top .flickity-prev-next-button svg {
        width: 30%;
        height: 30%;
        left: 35%;
        top: 35%;
    }

    .carousel-section-product-top .flickity-prev-next-button.next {
        left: 15px !important;
    }

    .carousel-section-product-top .flickity-prev-next-button.previous {
        right: 15px !important;
    }

@media(max-width:480px) {
    .carousel-product-top .slider-img-box {
        height: 200px;
    }

    .carousel-section-product-top .flickity-prev-next-button {
        width: 34px;
        height: 34px;
    }
}
/******************************************************/
.carousel-section-product-bottom {
    background-color: #262626;
    padding: 50px 50px 50px 0;
}

    .carousel-section-product-bottom header span {
        color: #dbdbdb;
    }

    .carousel-section-product-bottom header h4 {
        color: #fff;
        font-size: 30px;
        margin-top: 10px;
        margin-bottom: 20px;
    }

.carousel-product-bottom .slider-img-box {
    height: 400px;
    display: block;
    width: 400px;
    margin-left: 20px;
    border-radius: 20px;
    overflow: hidden;
}

.carousel-product-bottom img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

@media(max-width:480px) {
    .carousel-section-product-bottom {
        background-color: #262626;
        padding: 30px 30px 30px 0;
    }

        .carousel-section-product-bottom header h4 {
            font-size: 24px;
        }

    .carousel-product-bottom .slider-img-box {
        height: 200px;
        width: 200px;
    }
}
/******************************************************/
.details-section {
    margin: 100px 0 50px 0;
    width: 100%;
    padding: 60px 20px;
    box-sizing: border-box;
    background: #fff;
}

    .details-section header {
        margin-bottom: 50px;
        text-align: center;
    }

        .details-section header h3 {
            font-family: isb;
            margin-bottom: 30px;
            font-size: 50px;
        }

        .details-section header p {
            color: rgb(103,119,136);
        }

.details-grid {
    width: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: repeat(2, auto);
}


/* هر باکس */

.product-detail-item {
    min-height: 330px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    padding: 25px 25px;
    box-sizing: border-box;
}


/* خط عمودی وسط */

.product-detail-item {
    border-left: 1px solid #e9e9e9;
}

    .product-detail-item:last-child {
        border-left: none;
    }


/* تصویر */

.product-detail-image {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

    .product-detail-image img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }


/* عنوان */

.product-detail-title {
    color: #71839a;
    font-size: 16px;
    line-height: 1.8;
}


/* مقدار + واحد */

.product-detail-value {
    display: flex;
    align-items: baseline;
    justify-content: center;
    direction: rtl;
    margin: 40px 0;
}

.product-detail-number {
    font-size: 36px;
    font-weight: normal;
    font-family: isb;
    line-height: 1;
    color: #222;
}

.product-detail-unit {
    font-size: 15px;
    color: #000;
    margin-right: 10px;
    font-family: ism;
}


/* توضیحات */

.product-detail-description {
    color: #71839a;
    font-size: 14px;
    line-height: 2;
    padding: 0 30px;
}

.product-detail-btn-box {
    margin: 40px 0 38px 0;
}

.product-detail-btn-catalog {
    display: inline-block;
    background: #ffd100;
    color: #000;
    padding: 7px 20px;
    text-decoration: none;
    transition: .3s;
    font-family: ism;
    text-decoration: none;
    outline: none;
    border-radius: 8px;
    font-size: 14px;
}

    .product-detail-btn-catalog:hover {
        background: #ffe055;
        color: #000;
    }

/* موبایل */

@media (max-width: 991px) {

    .details-grid {
        width: 80%;
    }
}


@media (max-width: 767px) {
    .details-section {
        margin: 100px 0 20px 0;
        padding: 20px 20px;
    }

    .details-grid {
        width: 100%;
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .product-detail-item {
        min-height: auto;
        border-left: none !important;
        border-bottom: 1px solid #ddd !important;
        padding: 40px 20px;
    }

        .product-detail-item:last-child {
            border-bottom: none !important;
        }

    .product-detail-number {
        font-size: 48px;
    }
}

.video-section {
}

    .video-section video {
        width: 100%;
        height: auto;
    }

@media(max-width:480px) {
    .details-section header h3 {
        margin-bottom: 15px;
        font-size: 40px;
    }

    .details-section header p {
        color: rgb(103,119,136);
        padding: 0 30px;
    }
}
/********************************************/
.feature-section {
    margin: 50px 0;
}

.feature-container {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    flex-wrap: wrap;
}

.feature-item {
    width: 31%;
}

.feature-img-box {
    height: 480px;
    display: block;
    border-radius: 10px;
    overflow: hidden;
}

    .feature-img-box img {
        height: 100%;
        width: 100%;
        object-fit: cover;
    }

.feature-title {
    text-align: center;
    font-size: 16px;
    margin-top: 25px;
    margin-bottom: 15px;
    color: rgb(103,119,136);
}

.feature-des {
    text-align: justify;
    margin-bottom: 15px;
    color: rgb(103,119,136);
    margin-bottom: 50px;
    font-size: 15px;
}

@media(max-width:480px) {
    .feature-section {
        margin: 25px 0;
    }

    .feature-container {
        padding: 0 15px;
    }

    .feature-item {
        width: 100%;
    }
}
/**************************/
.product-description-container {
    padding: 100px 0;
    color: #677788;
    text-align: justify;
}

    .product-description-container h1, .product-description-container h2, .product-description-container h3, .product-description-container h4, .product-description-container h5, .product-description-container h6 {
        color: #262626;
        margin-bottom: 20px;
        margin-top: 20px;
        font-family: isb;
    }

@media(max-width:480px) {
    .product-description-container {
        padding: 50px 15px;
    }

        .product-description-container h1, .product-description-container h2, .product-description-container h3, .product-description-container h4, .product-description-container h5, .product-description-container h6 {
            text-align: right;
        }

        .product-description-container h2 {
            font-size: 22px;
            line-height: 1.7;
        }

        .product-description-container h3 {
            font-size: 18px;
            line-height: 1.7;
        }
}
/*********************************************/
.car-360-section {
    width: 100%;
    background: #fff;
    text-align: center;
    padding: 30px 0 40px;
    overflow: hidden;
}

    .car-360-section header {
        margin-bottom: 10px;
    }

        .car-360-section header h4 {
            margin-bottom: 20px;
            font-size: 32px;
            font-family: isb;
            color: #222;
            font-weight: normal;
        }

        .car-360-section header h5 {
            font-size: 16px;
            color: #111;
            direction: ltr;
            font-weight: normal;
        }

.car-360-viewer {
    position: relative;
    width: 100%;
    height: 560px;
    margin: 0 auto;
    overflow: hidden;
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
    touch-action: pan-y;
}

    .car-360-viewer.dragging {
        cursor: grabbing;
    }

    .car-360-viewer canvas {
        display: block;
        width: 100%;
        height: 100%;
    }


/* Loading */

.car-360-loading {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    color: #555;
    font-size: 15px;
}

.car-360-spinner {
    width: 35px;
    height: 35px;
    border: 3px solid #ddd;
    border-top-color: #222;
    border-radius: 50%;
    animation: car360spin .8s linear infinite;
}

@keyframes car360spin {
    to {
        transform: rotate(360deg);
    }
}


/* Arrows */
.car-360-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 64px;
    height: 64px;
    background: #fff;
    border: 1px solid #b3b3b3;
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
    border-radius: 10px;
    font-size: 35px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .2s;
}

    .car-360-arrow:hover {
        box-shadow: 0 2px 25px rgba(0,0,0,0.3);
    }



    .car-360-arrow svg {
        width: 30%;
        height: 30%;
        left: 35%;
        top: 35%;
    }

.car-360-prev {
    right: 30px;
}

.car-360-next {
    left: 30px;
}


/* Hint */

.car-360-hint {
    margin-top: 5px;
    color: #bbb;
    font-size: 22px;
    font-weight: bold;
    direction: ltr;
}

    .car-360-hint span {
        letter-spacing: -4px;
        margin: 0 10px;
        color: #ccc;
    }

    .car-360-hint .l:before {
        content: "¸¸¸";
        font-family: fontello;
    }

    .car-360-hint .r:before {
        display: inline-block;
        content: "¸¸¸";
        font-family: fontello;
        transform: rotate(180deg);
    }

@media(max-width:480px) {
    .car-360-section {
        padding-top: 0;
    }

    .car-360-viewer {
        height: 260px;
    }

    .car-360-section header h4 {
        font-size: 26px;
    }

    .car-360-section header h5 {
        font-size: 14px;
    }

    .car-360-arrow {
        display: none;
    }
}
