.d-uns {
    user-select: none;
}

.product {
    display: grid;
    grid-template-columns: calc(0px + 438 * var(--scale)) 1fr calc(0px + 435 * var(--scale));
    grid-template-areas:
        "product-card product-card product-delivery"
        "product-params product-description product-description"
        "product-related product-description product-description"
        ". product-description product-description";
    gap: calc(0px + 30 * var(--scale)) calc(0px + 15 * var(--scale));
    padding: calc(0px + 10 * var(--scale)) 0 calc(0px + 60 * var(--scale));
}

.product_card,
.product_delivery,
.product_characteristic-content,
.product_related,
.product_description-content {
    border: var(--border-blue);
    border-radius: 6px;
}

.product_breadcrumbs {
    padding: 12px 0;
    margin-top: calc(0px + 36 * var(--scale));
    margin-bottom: calc(0px + 10 * var(--scale));
}

.product_card {
    grid-area: product-card;
    position: relative;
}

.product_card-stickers {
    position: absolute;
    flex-wrap: wrap;
    top: 0;
    left: 0;
    display: flex;
    gap: 10px;
    z-index: 1;
}

.product_delivery {
    grid-area: product-delivery;
    padding: calc(0px + 32 * var(--scale));
}

.btn[data-tab-id=description-params] {
    display: none;
    order: 1;
}

.product_characteristic {
    grid-area: product-params;
    padding-top: calc(0px + 50 * var(--scale));
}

.product_related {
    grid-area: product-related;
}

.product_description {
    padding-top: calc(0px + 50 * var(--scale));
    grid-area: product-description;
}

.product_card {
    display: grid;
    /*grid-template-columns: calc(0px + 875* var(--scale)) calc(0px + 490* var(--scale));*/
    grid-template-columns: 875fr 490fr;
    grid-template-areas:
        "product-card-gallery product-card-info"
        "product-card-gallerynav product-card-info";
    /*padding: calc(0px + 30 * var(--scale)) calc(0px + 15 * var(--scale)) calc(0px + 20 * var(--scale));*/
    padding: calc(0px + 30 * var(--scale)) calc(0px + 0 * var(--scale)) calc(0px + 20 * var(--scale));
}

.product_card-gallery {
    grid-area: product-card-gallery;
    overflow: hidden;
    padding-bottom: 20px;
    height: calc(0px + 550 * var(--scale));
}

.product_card-gallery .slide:first-child {
    cursor: zoom-in;
    /*width: calc(0px + 550 * var(--scale));
    height: calc(0px + 550 * var(--scale));*/

    position: unset;
    bottom: unset;
    display: unset;
}

.product_card-gallery .slide {
    cursor: zoom-in;
    width: calc(0px + 550 * var(--scale));
    height: calc(0px + 550 * var(--scale));

    position: absolute;
    bottom: 1500px;
    display: none;
}

.product_card-gallery .slide.slick-slide {
    position: unset;
    bottom: unset;
    display: unset;
}

.product_card-gallery .slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.gallery_nav {
    display: grid;
    grid-auto-flow: column dense;
    width: 100%;
    gap: calc(0px + 24 * var(--scale));
    /*justify-content: center;*/
    grid-area: product-card-gallerynav;
    overflow: auto hidden;
    padding: 0 15px 15px;
}

.gallery_nav .slick-arrow {
    position: absolute;
    top: 50%;
    background: none;
    font-size: 0;
    width: 20px;
    height: 20px;
    border: none;
    border-left: 3px solid;
    border-top: 3px solid;
    border-color: var(--missing-color);
    cursor: pointer;
    z-index: 1;
}

.gallery_nav .slick-arrow:hover {
    border-color: var(--main-color);
}

.gallery_nav .slick-arrow.slick-prev {
    left: 20px;
    transform: translateY(-50%) rotate(-45deg);
}

.gallery_nav .slick-arrow.slick-next {
    right: 20px;
    transform: translateY(-50%) rotate(135deg);
}

.gallery_nav .slick-slide {
    margin: 0 12px;
}

.gallery_nav .slick-list {
    margin: 0 15px;
}

/*.gallery_nav::-webkit-scrollbar {*/
/*    width: 8px;*/
/*    height: 8px;*/
/*}*/

/*.gallery_nav::-webkit-scrollbar-track {*/
/*    background-color: transparent;*/
/*}*/

/*.gallery_nav::-webkit-scrollbar-thumb {*/
/*    background-color: var(--main-color);*/
/*    border-radius: 15px;*/
/*}*/

.gallery_nav-btn {
    border: var(--border-grey);
    width: calc(0px + 210 * var(--scale));
    height: calc(0px + 170 * var(--scale));
    background-color: transparent;
    border-radius: 5px;
    cursor: pointer;
}

.gallery_nav-btn {

}

.gallery_nav-btn.active {
    display: none;
}

.gallery_nav-btn img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product_card-info {
    position: relative;
    padding: calc(0px + 30 * var(--scale)) calc(0px + 35 * var(--scale)) calc(0px + 30 * var(--scale)) calc(0px + 50 * var(--scale));
    grid-area: product-card-info;
}

.product_card-info::before {
    content: "";
    position: absolute;
    display: block;
    height: 85%;
    border-left: var(--border-blue);
    left: 0;
    top: 50%;
    transform: translateY(-50%);

}

.product_name {
    font-size: calc(0px + 24 * var(--scale));
    line-height: calc(0px + 30 * var(--scale));
    font-weight: 700;
}

.product_brand {
    font-size: calc(0px + 20 * var(--scale));
    font-weight: 700;
    color: var(--main-color);
    margin-top: calc(0px + 10 * var(--scale));
    margin-bottom: calc(0px + 16 * var(--scale));
    /*margin-bottom: calc(0px + 36 * var(--scale));*/
}

.product_available {
    font-size: calc(0px + 20 * var(--scale));
    font-weight: 700;
    margin-bottom: calc(0px + 24 * var(--scale));
}

.product_available.available {
    color: var(--new-color);
}

.product_available.notavailable {
    color: var(--invalid-color);
}

.product_params {
    display: flex;
    gap: calc(0px + 15 * var(--scale));
    margin-bottom: calc(0px + 24 * var(--scale));
}

.product_param {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: calc(0px + 17 * var(--scale));
    font-weight: 900;
}

.product_rating {
    margin-bottom: calc(0px + 44 * var(--scale));
}

.product_rating .star {
    width: calc(0px + 32 * var(--scale));
    height: calc(0px + 32 * var(--scale));
}

.product_price {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mono-img img {
    margin-bottom: calc(0px + 36 * var(--scale));
    width: 30px;
}

.product_price-actual {
    color: var(--main-color);
    font-weight: 700;
    font-size: calc(0px + 36 * var(--scale));
    margin-bottom: calc(0px + 36 * var(--scale));
}

.product_price-old {
    color: var(--oldprice-color);
    font-weight: 600;
    font-size: calc(0px + 20 * var(--scale));
    line-height: calc(0px + 20 * var(--scale));
    text-decoration: line-through;
}

.product_price-discount {
    width: fit-content;
    background-color: var(--discount-color);
    border-radius: 4px;
    padding: 0 calc(0px + 5 * var(--scale));
    font-size: calc(0px + 16 * var(--scale));
    font-weight: 600;
    color: white;
    text-align: center;
    margin-bottom: 8px;
    margin-top: 8px;
}

.item_count {
    margin-bottom: calc(0px + 36 * var(--scale));
}

.product_action {
    display: grid;
    grid-template-columns: calc(0px + 265 * var(--scale)) calc(0px + 54 * var(--scale));
    gap: calc(0px + 20 * var(--scale)) calc(0px + 43 * var(--scale));
}

.product_action .action_icon {
    width: calc(0px + 54 * var(--scale));
    height: calc(0px + 54 * var(--scale));
}

.product_delivery-brand img {
    margin: 0 auto calc(0px + 38 * var(--scale));
}

.product_delivery-code {
    grid-area: product-code;
    color: var(--grey-color);
    font-size: calc(0px + 16 * var(--scale));
    font-weight: 700;
    margin-bottom: calc(0px + 16 * var(--scale));
}

.product_delivery-item {
    display: flex;
    align-items: center;
    margin-bottom: calc(0px + 19 * var(--scale));
}

.product_delivery-pic {
    flex: 0 0 calc(0px + 47 * var(--scale));
    height: calc(0px + 47 * var(--scale));
    object-fit: contain;
    margin-right: calc(0px + 18 * var(--scale));
    align-self: center;
}

.product_delivery-pic svg {
    width: 100%;
    height: 100%;
}

.product_delivery-name {
    flex: 1 1 auto;
    font-size: calc(0px + 20 * var(--scale));
    font-weight: 600;
    margin-right: calc(0px + 23 * var(--scale));
}

.product_delivery-price {
    font-size: calc(0px + 15 * var(--scale));
    line-height: calc(0px + 18 * var(--scale));
    font-weight: 500;
    text-align: right;
}

.product_delivery-item .delivery_time {
    text-align: center;
    margin-top: 15px;
}

.product_delivery-link {
    width: 100%;
    margin-top: calc(0px + 40 * var(--scale));
}

.product_characteristic-title {
    font-size: calc(0px + 32 * var(--scale));
    line-height: calc(0px + 32 * var(--scale));
    height: calc(0px + 40 * var(--scale));
    font-weight: 700;
    margin-bottom: calc(0px + 40 * var(--scale));
}

.product_characteristic-content {
    padding: calc(0px + 13 * var(--scale)) calc(0px + 23 * var(--scale));
}

.product_characteristic-item {
    display: flex;
    border-bottom: var(--border-blue);
    font-weight: 600;
    font-size: calc(0px + 18 * var(--scale));

}

.product_characteristic-item:last-child {
    border-bottom: none;
}

.product_characteristic-name {
    flex: 0 0 calc(0px + 130 * var(--scale));
    border-right: var(--border-blue);
    padding: calc(0px + 18 * var(--scale)) calc(0px + 5 * var(--scale));
    color: var(--main-color);
}

.product_characteristic-value {
    padding: calc(0px + 18 * var(--scale)) calc(0px + 30 * var(--scale));
    overflow: hidden;
    text-overflow: ellipsis;
}

.product_related {
    padding: calc(0px + 30 * var(--scale)) calc(0px + 30 * var(--scale)) calc(0px + 20 * var(--scale));
}

.product_related-title {
    display: none;
    grid-area: product-related-title;
    font-size: 16px;
    font-weight: 700;
    line-height: 19px;
    text-align: center;
}

.product_related-pic {
    width: calc(0px + 285 * var(--scale));
    height: calc(0px + 285 * var(--scale));
    margin: 0 auto calc(0px + 46 * var(--scale));
}

.product_related-pic img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product_related-price {
    font-size: calc(0px + 20 * var(--scale));
    font-weight: 900;
    margin-bottom: calc(0px + 26 * var(--scale));
    color: var(--main-color);
}

.product_related-name {
    font-size: calc(0px + 22 * var(--scale));
    line-height: calc(0px + 27 * var(--scale));
    font-weight: 600;
    margin-bottom: calc(0px + 16 * var(--scale))
}

.product_related-name a {
    color: var(--secondary-color);
}

.product_related-action {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: calc(0px + 30 * var(--scale));
}

.product_related-buy {
    width: calc(0px + 260 * var(--scale));
}

.product_related-favorite, .product_related-favorite .action_icon {
    width: calc(0px + 42 * var(--scale));
    height: calc(0px + 42 * var(--scale));
}


.product_description-title {
    margin-bottom: calc(0px + 40 * var(--scale));
    line-height: calc(0px + 32 * var(--scale));
    width: 100%;
}

.product_description-menu {
    display: flex;
    width: max-content;
}

.product_description-title .btn.transparent {
    font-size: calc(0px + 32 * var(--scale));
    height: calc(0px + 40 * var(--scale));
    font-weight: 700;
    border-radius: 0;
    border-right: var(--border-blue);
    color: var(--secondary-color);
    padding: 0 calc(0px + 40 * var(--scale));
    line-height: calc(0px + 48 * var(--scale));
}

.product_description-title .btn.transparent[data-tab-id=description-article] {
    padding-left: 0;
}

.product_description-title .btn.active {
    color: var(--main-color);
}

.product_description-title .btn:first-child {
    padding-left: 0;
}

.product_description-title .btn:last-child {
    border: none
}

.product_description-content {
    padding: calc(0px + 28 * var(--scale)) calc(0px + 42 * var(--scale));
}

/*.product_description-content p {
    display: flex;
    flex-wrap: wrap;
    text-indent: calc(0px + 50 * var(--scale));
    font-size: calc(0px + 20 * var(--scale));
    font-weight: 600;
}*/

.product_description-content .description-pdf {
    display: flex;
    align-items: center;
    gap: 12px;
    text-indent: 0;
    margin-bottom: 15px;
}

.product_description-content .description-pdf::before {
    content: "";
    display: inline-block;
    width: 28px;
    height: 28px;
    background-image: url("data:image/svg+xml,%3Csvg version='1.1' id='Capa_1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='0 0 550.801 550.801' style='enable-background:new 0 0 550.801 550.801;' xml:space='preserve'%3E%3Cg%3E%3Cpath d='M160.381,282.225c0-14.832-10.299-23.684-28.474-23.684c-7.414,0-12.437,0.715-15.071,1.432V307.6 c3.114,0.707,6.942,0.949,12.192,0.949C148.419,308.549,160.381,298.74,160.381,282.225z'/%3E%3Cpath d='M272.875,259.019c-8.145,0-13.397,0.717-16.519,1.435v105.523c3.116,0.729,8.142,0.729,12.69,0.729 c33.017,0.231,54.554-17.946,54.554-56.474C323.842,276.719,304.215,259.019,272.875,259.019z'/%3E%3Cpath d='M488.426,197.019H475.2v-63.816c0-0.398-0.063-0.799-0.116-1.202c-0.021-2.534-0.827-5.023-2.562-6.995L366.325,3.694 c-0.032-0.031-0.063-0.042-0.085-0.076c-0.633-0.707-1.371-1.295-2.151-1.804c-0.231-0.155-0.464-0.285-0.706-0.419 c-0.676-0.369-1.393-0.675-2.131-0.896c-0.2-0.056-0.38-0.138-0.58-0.19C359.87,0.119,359.037,0,358.193,0H97.2 c-11.918,0-21.6,9.693-21.6,21.601v175.413H62.377c-17.049,0-30.873,13.818-30.873,30.873v160.545 c0,17.043,13.824,30.87,30.873,30.87h13.224V529.2c0,11.907,9.682,21.601,21.6,21.601h356.4c11.907,0,21.6-9.693,21.6-21.601 V419.302h13.226c17.044,0,30.871-13.827,30.871-30.87v-160.54C519.297,210.838,505.47,197.019,488.426,197.019z M97.2,21.605 h250.193v110.513c0,5.967,4.841,10.8,10.8,10.8h95.407v54.108H97.2V21.605z M362.359,309.023c0,30.876-11.243,52.165-26.82,65.333 c-16.971,14.117-42.82,20.814-74.396,20.814c-18.9,0-32.297-1.197-41.401-2.389V234.365c13.399-2.149,30.878-3.346,49.304-3.346 c30.612,0,50.478,5.508,66.039,17.226C351.828,260.69,362.359,280.547,362.359,309.023z M80.7,393.499V234.365 c11.241-1.904,27.042-3.346,49.296-3.346c22.491,0,38.527,4.308,49.291,12.928c10.292,8.131,17.215,21.534,17.215,37.328 c0,15.799-5.25,29.198-14.829,38.285c-12.442,11.728-30.865,16.996-52.407,16.996c-4.778,0-9.1-0.243-12.435-0.723v57.67H80.7 V393.499z M453.601,523.353H97.2V419.302h356.4V523.353z M484.898,262.127h-61.989v36.851h57.913v29.674h-57.913v64.848h-36.593 V232.216h98.582V262.127z'/%3E%3C/g%3E%3C/svg%3E%0A");
}

.product_description-content p:last-child .description-pdf {
    margin-bottom: 0;
}

.product_description-content iframe {
    display: block;
    margin: auto;
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
}

.product_description-content img {
    display: block;
    width: 50%;
    flex: 1 1 50%;
    margin: auto;
}

#visited {
    padding-bottom: 60px;
}

@media (min-width: 768px) {
    .product_related-buy.transparent {
        display: none;
    }
}

@media (max-width: 767px) {
    .product {
        grid-template-columns: 100%;
        grid-template-areas:
        "product-card"
        "product-delivery"
        "product-related-title"
        "product-related"
        "product-description";
        gap: 22px;
    }

    .product_card {
        grid-template-areas:
            "product-card-gallery product-card-gallerynav"
            "product-card-info product-card-info";
        grid-template-columns: 1fr 100px;
        gap: 20px;
        padding: 0;
        border: var(--border-grey);
    }

    .product_card-gallery {
        overflow: hidden;
        min-width: 0;
        height: 230px;
    }

    .product_card-gallery .slide {
        width: 230px;
        height: 230px;
    }

    .gallery_nav {
        grid-auto-flow: row dense;
        align-items: end;
        min-width: 0;
        padding: 2px;
        overflow: hidden auto;
        height: 230px;
        transform: translate(-4px, 2px);
    }

    .gallery_nav-btn {
        width: 85px;
        height: 65px;
    }

    .product_card-info {
        display: grid;
        grid-template-columns: 55% 45%;
        grid-template-areas:
                "product-name product-name"
                "product-brand product-brand"
                "product-aval product-code"
                "product-params product-rating"
                "product-amount product-price"
                "product-actions product-actions";
        border: none;
        width: 100%;
        align-items: center;
        padding: 0 10px 22px;
    }

    .product_card-info::before {
        display: none;
    }

    .product_name {
        grid-area: product-name;
        font-size: 14px;
        line-height: 17px;
        font-weight: 700;
    }

    .product_brand {
        grid-area: product-brand;
        font-size: 12px;
        line-height: 15px;
        font-weight: 700;
        margin-bottom: 15px;
    }

    .product_available {
        grid-area: product-aval;
        font-size: 12px;
        line-height: 15px;
    }

    .product_params {
        grid-area: product-params;
        margin-top: 15px;
    }

    .product_param {
        font-size: 10px;
        font-weight: 900;
    }

    .product_param .product_icon {
        width: 24px;
        height: 24px;
    }

    .product_rating {
        grid-area: product-rating;

    }

    .product_price {
        grid-area: product-price;
    }

    .item_count {
        grid-area: product-amount;
    }

    .product_action {
        grid-area: product-actions;
        grid-template-columns: 1fr auto 1fr;
        padding: 0 4px;
    }

    .product_action .action_icon {
        flex: 0 0 30px;
        width: 30px;
        height: 30px;
    }

    .product_card-info .product_rating {
        margin-top: 15px;
        justify-content: end;
    }

    .product_card-info .product_rating .star {
        width: 22px;
        height: 22px;
    }

    .product .item_count {
        justify-content: end;
        margin-top: 25px;
    }

    .product .item_count .item_amount-minus,
    .product .item_count .item_amount-plus {
        width: 30px;
        height: 30px;
    }

    .product .item_count .item_amount {
        font-size: 14px;
        align-self: center;
    }

    .product_price {
        margin-top: 25px;
    }

    .product_price-actual {
        font-size: 18px;
        line-height: 22px;
        font-style: normal;
        font-weight: 700;
        padding-left: 18px;
    }

    .product_price-discount {
        width: fit-content;
        height: 14px;
        background-color: var(--discount-color);
        padding: 0 4px;
        font-size: 10px;
        margin-bottom: 3px;
        margin-left: 18px;
    }

    .product_price-old {
        font-size: 14px;
        line-height: 14px;
        font-style: normal;
        font-weight: 600;
        padding-left: 18px;
    }

    .product_action {
        margin-top: 25px;
    }

    .product_delivery-item {
        gap: 15px;
        margin-bottom: 15px;
        align-items: baseline;
    }

    .product_delivery-code {
        font-size: 12px;
        font-style: normal;
        font-weight: 700;
        line-height: normal;
        justify-self: end;
    }

    .product_delivery-pic {
        flex: 0 0 38px;
        width: 38px;
        height: 38px;
    }

    .product_delivery-name {
        font-size: 16px;
        font-style: normal;
        font-weight: 600;
        line-height: 38px;
    }

    .product_delivery-price {
        font-size: 12px;
        font-style: normal;
        font-weight: 500;
        line-height: normal;
    }

    .btn.product_delivery-link {
        display: flex;
        width: fit-content;
        padding: 0 75px;
        margin: 22px auto;
    }

    .product_characteristic {
        display: none;
    }

    .product_characteristic-content {
        border: none;
        padding: 0;
    }

    .product_related {
        display: grid;
        grid-template-columns: 100px auto auto;
        grid-template-areas:
            "related-pic related-name related-name"
            "related-pic related-price related-action";
        gap: 15px;
        padding: 10px;
    }

    .product_related-title {
        display: block;
    }

    .product_related-pic {
        grid-area: related-pic;
        width: 110px;
        height: 110px;
    }

    .product_related-price {
        grid-area: related-price;
        font-size: 14px;
        font-style: normal;
        font-weight: 700;
        line-height: normal;
        align-self: end;
    }

    .product_related-name {
        grid-area: related-name;
        font-size: 14px;
        font-style: normal;
        font-weight: 600;
        line-height: normal;
        padding-top: 8px;
    }

    .product_related-action {
        grid-area: related-action;
        justify-self: end;
        align-self: end;
    }

    .btn.blue.product_related-buy,
    .btn.transparent.product_related-favorite {
        display: none;
    }

    .product_description-title {
        line-height: 30px;
        overflow: auto;
    }

    .product_related-pic {
        margin: 0;
    }

    .product_description-title .btn.transparent {
        font-size: 16px;
        font-style: normal;
        font-weight: 700;
        line-height: 18px;
        padding: 0 15px !important;
        height: 30px;
    }

    .product_description-title .btn.transparent[data-tab-id=description-params] {
        order: -1;
        display: inline-flex;
        padding-left: 0 !important;
    }

    .product_characteristic-item {
        font-size: 14px;
        font-weight: 600;
    }

    .product_characteristic-name {
        padding: 15px 5px;
        flex: 0 0 100px;
    }

    .product_characteristic-value {
        padding: 15px 5px;
    }

    .product_description-content {
        padding: 9px;
    }

    .product_description-content p {
        font-size: 13px;
        font-style: normal;
        font-weight: 600;
    }

}

.gallery_popup {
    max-width: 95vw;
    padding: 5px;
    top: 500%!important; /*Щоб гугл не грузив картинки зразу*/
}

.gallery_popup.open{
    top:50%!important; /*Щоб гугл не грузив картинки зразу вертаємо все в зад*/
}

.gallery_popup .slick-track {
    display: flex !important;
}

.gallery_popup .slick-slide {
    height: inherit !important;
    margin: 0 12px;
}

.gallery_popup .slide {
    max-height: 90vh;
}

.gallery_popup .slide img {
    width: 100%;
    height: 100%;
    max-height: 90vh;
    object-fit: contain;
    object-position: center;
}

.gallery_popup .slick-arrow {
    position: absolute;
    top: 50%;
    background: none;
    font-size: 0;
    width: 20px;
    height: 20px;
    border: none;
    border-left: 3px solid;
    border-top: 3px solid;
    border-color: var(--missing-color);
    cursor: pointer;
    z-index: 1;
}

.gallery_popup .slick-arrow:hover {
    border-color: var(--main-color);
}

.gallery_popup .slick-arrow.slick-prev {
    left: 20px;
    transform: translateY(-50%) rotate(-45deg);
}

.gallery_popup .slick-arrow.slick-next {
    right: 20px;
    transform: translateY(-50%) rotate(135deg);
}





/* CUSTOM */
.product_action.heart-left {
    grid-template-columns: none;
    justify-content: end;
}
/**/