.main-photo {

    object-fit: cover;
    width: 640px !important;
    height: 480px !important;
    background-color: white;

}

html .main-card-product {
    margin-top: 8rem !important;
}

html:has(.toolbar) .main-card-product {
    margin-top: 10rem !important;
}

.price-section {
    font-size: 2rem;
}

.see-video {
    position: absolute;
    top: -36px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: push .3s ease-in-out;
}

.see-video i {
    font-size: 1.3rem !important;
}

@keyframes push {
    from {
        top: 0px;
    }

    to {
        top: -36px;
    }
}


.see-video:hover {
    background-color: var(--primary-color-hover);
}

.seller-info {
    font-size: 1.2rem;
}

.gallery-product-page {
    overflow: hidden;
}

.gallery-product-page img {
    border-radius: var(--border-radius-2);
}


.swiper-pagination {
    background: white;
    border-radius: 10px;
    width: fit-content !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    padding-left: 14px;
    padding-right: 14px;
}

/*  */
.gallery-product-page {
    padding-bottom: 0 !important;
    padding-top: 0 !important;
}

.gallery .swiper {
    min-height: 280px;
}

.gallery .swiper img {
    max-height: 320px;
}

.swiper {
    width: 100%;
    height: 100%;
}

.swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
}

.swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.swiper-pagination-bullet-active {
    background-color: var(--primary-color) !important;
}

.swiper-button-next,
.swiper-button-prev {
    color: var(--primary-color) !important;
}


.swiper-button-next,
.swiper-button-prev {
    scale: 0.65;
}

@media (max-width: 768px) {
    .swiper-button-prev {
        left: 6px !important;
    }

    .swiper-button-next {
        right: 6px !important;
    }

    .swiper-button-next,
    .swiper-button-prev {
        scale: 0.45;
    }

    html .main-card-product {
        margin-top: 2.2rem !important;
    }


    html .main-card-product:has(.see-video) {
        margin-top: 3.4rem !important;
    }
}


@media (max-width: 720px) {
    #yt_video .modal-content {
        padding: 15px !important;
    }
}

@media(max-width: 440px) {

    #yt_video iframe {
        height: 240px;
        aspect-ratio: 1;
    }



    .swiper-button-next,
    .swiper-button-prev {
        scale: 0.85 !important;
    }

    .swiper-pagination-bullets.swiper-pagination-horizontal {
        bottom: 3px !important;
    }
}

.attributes-product {

    border-radius: var(--border-radius-1);
    overflow: hidden;

}


.attributes-product .single-attribute:nth-child(even) {

    background-color: rgb(244, 244, 244);
    ;

}

.attributes-product .single-attribute:nth-child(odd) {

    background-color: rgb(251, 251, 251);
    ;

}

.attributes-product .single-attribute {
    padding: 12px;
}

.attributes-product .single-attribute b {
    min-width: 260px;
    padding-right: 16px;
    padding-left: 14px;
}


@media (max-width: 990px) {
    .main-card-product {
        flex-direction: column;
    }

    .main-photo {
        max-width: none;

        width: 100%;

    }

    .attributes-product .single-attribute b {
        width: 160px;
        padding-right: 12px;
        padding-left: 0px;
    }
}

@media (max-width: 640px) {


    .main-card-product.card-white {
        min-width: 240px !important;
    }

    .main-card-product .main-photo {
        min-width: unset;
    }


    html .single-attribute {
        display: block !important;
    }

    .outline-button {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .attributes-product {
        overflow-x: auto;
    }

    .main-photo {

        border-radius: 10px !important;
        width: 450px !important;
        height: 337.5px !important;
    }

}

@media (max-width: 760px) {

    .main-photo {


        width: 400px !important;
        height: 300px !important;

    }

}


@media (max-width: 540px) {

    .main-photo {

        border-radius: 10px !important;
        width: 320px !important;
        height: 240px !important;
        object-fit: contain;
    }

}