.myShorts {
    overflow: hidden;
    position: relative;
    max-height: 600px;
}

.swiper-wrapper {
    max-height: 100vh;
}

.player {
    box-shadow: none !important;
}

.myShorts .player {
    aspect-ratio: 9 / 16;
    background: var(--light);
    border-radius: 10px;
    height: auto !important;
}

.player {
    border-radius: 10px;
    overflow: hidden;
}

.player:hover {
    box-shadow: rgba(0, 0, 0, 0.2) 0px 4px 25px 0px;
}

.player > pjsdiv {
    background: transparent !important;
}

.player > pjsdiv * {
    color: rgb(255, 255, 255);
}

pjsdiv > img,
pjsdiv > video,
pjsdiv > canvas,
pjsdiv > iframe {
    overflow: hidden !important;
}

.player_name {
    font-weight: 600;
    font-size: 16px;
    line-height: 26px;
    margin-top: 20px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.player_views {
    margin-top: 4px;
    font-weight: 400;
    color: var(--bd);
    font-size: 14px;
    line-height: 24px;
}

.container .swiper-button-boxs,
.btn-swpreim,
.btn-swpartner {
    right: 0px;
    width: 100px;
}

.swiper-button-next::after {
    position: absolute;
    content: '';
    width: 27px;
    height: 59px;
    right: -5px;
    top: -5px;
    border-top: 2px solid var(--red);
    border-right: 2px solid var(--red);
    border-top-right-radius: 12px;
    border-bottom-right-radius: 12px;
}

div .swiper-button-next,
div .swiper-button-prev {
    border-radius: 6px;
    width: 36px;
    height: 36px;
    border: 1px solid var(--bd);
}

div .swiper-button-boxs .swiper-button-next::after,
div .swiper-button-next::after {
    content: '';
    position: absolute;
    top: -5px;
    right: -5px;
    border: none;
    --p: 100;
    --v: calc(((18 / 5) * var(--p) - 90) * 1deg);
    width: 44px;
    height: 44px;
    display: inline-block;
    border-radius: 8px;
    padding: 2px;
    transform: rotate(-90deg) rotateZ(180deg) rotateY(0deg);
    background:
        linear-gradient(var(--v), transparent 50%, #bf2120 0) 0 / min(100%, (var(--p) - 50) * 100%),
        linear-gradient(to right, transparent 50%, #bf2120 0);
    mask-composite: destination-out;
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 17px;
    font-weight: 900;
}

.swiper-button-next,
.fancybox-navigation .fancybox-button--arrow_right span {
    background: white;
    width: 50px;
    height: 50px;
    display: flex;
    color: var(--newblack);
    border-radius: 9px;
    font-size: 27px;
}

.swiper-button-boxs .swiper-button-next::after {
    position: absolute;
    content: '';
    width: 27px;
    height: 59px;
    right: -5px;
    top: -5px;
    border-top: 2px solid var(--red);
    border-right: 2px solid var(--red);
    border-top-right-radius: 12px;
    border-bottom-right-radius: 12px;
}

.swiper-button-next::before,
.swiper-button-prev::before,
.button-next::before,
.button-prev::before {
    content: '';
    height: 100%;
    width: 100px;
    background: url('/wp-content/themes/pro/img/slab_arrow.svg') center center no-repeat;
    filter: grayscale(1);
}

.swiper-button-next::before,
.button-next::before {
    transform: rotateY(180deg);
}

.content-zavod .partner .swiper-pagination,
.uslugi-descrip strong br,
.content-kontakt .contact-item.contact-item-diler,
.irs--round,
.woocommerce-product-gallery__lightbox i,
input[type='search']::-webkit-search-decoration,
input[type='search']::-webkit-search-cancel-button,
input[type='search']::-webkit-search-results-button,
input[type='search']::-webkit-search-results-decoration,
.price-box .text_notice i,
.single_icons .single_icons_icon .icon-title,
.related-product .dimensions,
.related-product .variations_form,
.wpcf7 form.sent div:not(.wpcf7-response-output),
.wpcf7 form.sent .tel_submit,
.modal-body br,
.cart-wrapper .kolves,
.woocommerce-ordering input.orderby,
.woocommerce-shipping-fields__field-wrapper,
#billing_company_field,
#shipment_fields .woocommerce-input-wrapper input.input-radio,
#payment_fields .woocommerce-input-wrapper input.input-radio,
#organisation_field .woocommerce-input-wrapper input.input-radio,
form.checkout .optional,
.woocommerce-additional-fields h3,
.which_more .btns input,
#accordionZavod .accordion-button::after,
.myShorts .swiper-button-boxs .swiper-button-next::after,
.quantity-text,
.cart .economy.hide,
.cart_group_name,
.dropdown-menu .is-search-form,
.sidebar-inner .widget_premmerce_filter_active_filters_widget .pc-active-filter__list-item:not(:last-child),
.sidebar-inner
    .widget_premmerce_filter_active_filters_widget
    .pc-active-filter__item-link:not([aria-label='Сбросить фильтр']),
.woocommerce-variation-description,
.price_without_sale ~ .irs--round,
.uslugi-page-banner.category_500 .col-xxl-3.right_sidebar {
    display: none;
}

.myShorts .swiper-button-boxs .swiper-button-next {
    right: -30px;
    transform: translateY(-66px);
    border-top-right-radius: 0px;
    border-bottom-right-radius: 0px;
    border-right-color: transparent;
}

.myShorts .swiper-button-prev,
.myShorts .swiper-button-next {
    width: 42px;
    height: 72px;
    pointer-events: all;
    opacity: 0;
    transition: var(--tr);
}

.myShorts:hover .swiper-button-prev,
.myShorts:hover .swiper-button-next {
    opacity: 1;
    pointer-events: all;
}

.myShorts:hover .swiper-button-next {
    right: 0px;
}

.myShorts .swiper-button-prev::before,
.myShorts .swiper-button-next::before {
    background-size: 23px 35px !important;
}

.fa-angle-right,
.fa-angle-left {
    font-size: 12px;
}

.swiper-button-prev,
.fancybox-navigation .fancybox-button--arrow_left span {
    background: white;
    width: 50px;
    height: 50px;
    display: flex;
    color: var(--newblack);
    border-radius: 9px;
    font-size: 27px;
}

.swiper-button-prev::after {
    content: none;
}

.myShorts .swiper-button-boxs .swiper-button-disabled {
    opacity: 0 !important;
    pointer-events: none !important;
}

.myShorts .swiper-button-boxs .swiper-button-prev {
    left: -30px;
    transform: translateY(-66px);
    border-top-left-radius: 0px;
    border-bottom-left-radius: 0px;
    border-left-color: transparent;
}

.myShorts:hover .swiper-button-prev {
    left: 0px;
}

.swiper-button-next.swiper-button-disabled,
.swiper-button-prev.swiper-button-disabled {
    opacity: 1;
    cursor: pointer;
    pointer-events: all;
}

@media (max-width: 1280px) {
    .player_name {
        margin-top: 10px;
    }
}

@media (max-width: 991px) {
    @-webkit-keyframes shake {
        0% {
            transform: rotate(10deg);
        }
        100% {
            transform-origin: center center;
            transform: rotate(-10deg);
        }
    }
    @keyframes shake {
        0% {
            transform: rotate(10deg);
        }
        100% {
            transform-origin: center center;
            transform: rotate(-10deg);
        }
    }
    #productTabs .player_name,
    .player_name, .player_views {
        font-size: 12px;
        line-height: 16px;
    }
    .player_views {
        margin-top: 10px;
    }
    .swiper-backface-hidden .swiper-slide {
        max-width: 200px;
    }
}

@media (min-width: 991px) {
    .swiper-button-next:hover::before,
    .swiper-button-prev:hover::before,
    .button-next:hover::before,
    .button-prev:hover::before {
        filter: none;
    }
}

@media (max-width: 768px) {
     .swiper-backface-hidden .swiper-slide { 
        max-width: unset;
     }
    .archive_tabs #productTabs .myShorts,
    .container:not(.single_product) .myShorts {
        width: 100vw;
        margin: 0px -12px;
        padding: 0px 12px;
    }
    .swiper-wrapper {
        display: flex;
        justify-content: left;
    }
    .swiper-slide {
        background-color: rgb(255, 255, 255);
    }
    .myShorts .swiper-slide {
        width: 28vw;
        margin-right: 12px;
        max-width: 190px;
    }
    #productTabs .player_name,
    .player_name {
        font-size: 13px;
    }
    .player_views {
        font-size: 12px;
        margin-top: 0;
    }
    .woocommerce-ordering label.radio,
    .preimushestvaSwiper .swiper-button-boxs,
    .upper_footer,
    .lazyrow .col-sm-0,
    .from-to-price .tooltip_price,
    .row.cats .title br,
    .catalog-header .download_catalog,
    .cons_frm,
    .map_script,
    .myShorts .swiper-button-boxs,
    .content-uslugi-child .ukladka-uslug br,
    .content-dileram .dostavka-banner-title br,
    .home_content #constructor_iframe,
    .from-to-price s,
    .footer .info-box a:not(#footer-tel),
    .footer-contact .zvonokModal,
    .header-wrap .container.color .button-visualise,
    .poddelki,
    .topmenu .button.flex,
    .swpreim .swiper-pagination,
    .swppartner .swiper-pagination,
    .swpartner .swiper-pagination,
    .soc-link,
    .woocommerce-ordering input + label,
    .woocommerce-ordering input.orderby,
    .unique-box img,
    .unique-box svg,
    .o-zavode .video_row .col > svg,
    .which_more {
        display: none;
    }
}

@media (max-width: 576px) {
    .myShorts .swiper-slide {
        width: 40vw;
        margin-right: 12px;
    }
    #productTabs .player_name,
    .player_name {
        font-size: 14px;
        line-height: 16px;
    }
    .player_views {
        font-size: 12px;
        line-height: 14px;
    }
}
