.content .o-zavode {
    background: none;
    margin: 0;
    padding: 0;
}

body .o-z-title {
    font-weight: 600;
}

.o-zavode .o-z-title {
    max-width: 100% !important;
}

.content .o-z-title,
.desc-n-video h2 {
    color: var(--newdark);
    font-size: 32px;
    font-weight: 600;
    line-height: 1.4;
    margin: 0 0px 20px;
    max-width: 70% !important;
    text-transform: none;
}

.desc-n-video h2 {
    margin: 0 0px 30px !important;
}

div .content .col-sm-12.col-md-12 {
    margin-bottom: 0;
}

.o-zavode .o-z-text {
    font-size: 16px;
}

.accordion-item {
    margin-bottom: 20px;
}

.accordion-item:last-child {
    margin-bottom: 0;
}

.accordion-item {
    border: none;
}

.accordion-item:last-of-type {
    border-bottom: none;
}

.uslug-ukladka_form form .title,
.content .o-zavode .o-z-text div div {
    font-size: 18px;
    font-weight: 600;
    line-height: 28px;
}

.accordion-button {
    background: var(--light);
    border-radius: 10px;
}

.accordion-item .accordion-button {
    background: none;
    border-radius: 0;
    border: none;
    box-shadow: none;
    color: var(--grey);
    font-size: 24px;
    font-weight: 400;
    line-height: 36px;
    padding: 12px 0px;
}

.content .o-zavode .o-z-text .accordion-button {
    align-items: center;
    display: flex;
    font-size: 20px;
    font-weight: 600;
    line-height: 28px;
    margin-bottom: 8px;
    padding: 0;
}

.accordion-body {
    color: var(--grey);
    font-size: 16px;
    font-weight: 400;
    line-height: 19px;
    padding: 0 0px 22px;
}

.content .o-zavode .o-z-text .accordion-body {
    color: rgb(79, 79, 79);
    font-size: 14px;
    font-weight: 400;
    line-height: 24px;
    margin-bottom: 20px;
    padding: 0;
}

.content .o-zavode .o-z-text .accordion-body p {
    color: rgb(79, 79, 79);
    margin: 0;
}

.in_grid_video {
    border-radius: 10px;
    max-height: 100%;
    overflow: hidden;
    padding: 0;
    position: relative;
}

video {
    filter: brightness(100%);
}

.in_grid_video video {
    object-fit: cover;
    aspect-ratio: 16 / 9;
    width: 100%;
    border-radius: 10px;
    animation: loading 1s ease-in-out forwards infinite;
    background: linear-gradient(100deg,
            rgba(255, 255, 255, 0) 40%,
            rgba(255, 255, 255, 0.5) 50%,
            rgba(255, 255, 255, 0) 60%) var(--lightborder);
    background-size: 200% 100%;
    background-position-x: 180%;
    pointer-events: none;
}

@keyframes loading {
    to {
        background-position-x: -20%;
    }
}

.in_grid_video .toggleSound {
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.4);
    position: absolute;
    left: 20px;
    top: 10px;
    border-radius: 10px;
}

.in_grid_video .toggleFullscreen {
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.4);
    position: absolute;
    right: 20px;
    top: 10px;
    border-radius: 10px;
    pointer-events: auto;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.in_grid_video .toggleSound .sound_on {
    display: none;
}

#progressBar:hover #timeBar::after,
.in_grid_video:hover #progressBar {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
}

#progressBar {
    position: absolute;
    bottom: 20px;
    left: 15px;
    height: 10px;
    width: calc(100% - 30px);
    z-index: 3;
    border-radius: 10px;
    background: var(--newblack)80;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: 0.3s all ease;
}

#timeBar {
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--red);
    box-shadow: 0 0 10px #ffffff70;
    border-radius: 10px;
}

.content .o-zavode .o-z-text .accordion-button::before {
    content: '';
    margin-right: 10px;
    width: 20px;
    height: 20px;
    background: center / contain no-repeat url(/wp-content/themes/pro/img/dot-o-zavode.svg);
    display: inline-block;
    transition: 0.3s transform ease;
}

.accordion-button::after {
    width: 0 !important;
    height: 0 !important;
}

.accordion-button:not(.collapsed)::after {
    filter: hue-rotate(135deg);
}

.in_grid_video .togglefullscreen {
    -webkit-tap-highlight-color: transparent;
    background-color: rgba(255, 255, 255, 0.4);
    border-radius: 10px;
    height: 50px;
    pointer-events: auto;
    position: absolute;
    right: 20px;
    top: 10px;
    user-select: none;
    width: 50px;
}

.in_grid_video .togglesound {
    background-color: rgba(255, 255, 255, 0.4);
    border-radius: 10px;
    height: 50px;
    left: 20px;
    position: absolute;
    top: 10px;
    width: 50px;
}

.o-zavode .text-video_row {
    align-items: flex-start !important;
    margin-top: 0;
}

.o-zavode .text-video_row .widthBezRamok {
    line-height: 0;
}

@media screen and (max-width: 1660px) {

    .o-zavode .text-video_row .widthBezRamok,
    .desc-n-video .text-video_row .widthBezRamok {
        position: sticky;
        top: 200px;
        height: fit-content;
    }
}

@media screen and (max-width: 860px) {

    .o-zavode .text-video_row .widthBezRamok,
    .desc-n-video .text-video_row .widthBezRamok {
        position: sticky;
        top: 120px;
        height: fit-content;
    }
}

.in_grid_video {
    margin-top: 0 !important;
}

.in_grid_video .togglesound .sound_on {
    display: none;
}

#progressbar:hover #timebar::after,
.in_grid_video:hover #progressbar {
    opacity: 1;
    pointer-events: all;
    visibility: visible;
}

#progressbar {
    background: rgba(0, 0, 0, 0.5);
    border-radius: 10px;
    bottom: 20px;
    height: 10px;
    left: 15px;
    opacity: 0;
    pointer-events: none;
    position: absolute;
    transition: 0.3s;
    visibility: hidden;
    width: calc(100% - 30px);
    z-index: 3;
}

#timebar {
    background: var(--red);
    border-radius: 10px;
    box-shadow: rgba(255, 255, 255, 0.44) 0px 0px 10px;
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 0;
}

@media (min-width: 991px) {
    .content .o-zavode .o-z-text .accordion-header:hover .accordion-button::before {
        transform: scale(1.3) rotate(180deg);
    }
}

@media (max-width: 991px) {
    .myShorts .swiper-slide {
        max-width: 200px;
    }
    .content .o-zavode {
        margin-bottom: 0;
    }
}

@media (max-width: 768px) {

    .content-zavod,
    .content .o-zavode {
        overflow: hidden;
        min-height: max-content;
    }
}

.accordion-item {
    margin-bottom: 10px;
}

.content .o-zavode .o-z-text div div {
    font-size: 14px;
    font-weight: 500;
    line-height: 18px;
}

.content .o-zavode .o-z-text .accordion-button {
    margin-bottom: 10px;
}

a,
.cart-product-sub .minus,
.cart-product-sub .plus,
input,
button {
    touch-action: manipulation;
}

.in_grid_video {
    order: 2;
}

.togglefullscreen {
    display: none;
}

.in_grid_video .togglesound {
    left: 15px;
}

.content .o-zavode .o-z-text .accordion-item:last-of-type .accordion-body {
    margin-bottom: 0;
}
.product_description .cont {
    font-size: 16px;
    line-height: 25px;
}
@media (max-width: 1400px) {
    .in_grid_video {
        width: 100%;
    }
}

@media screen and (max-width: 1200px) {
    .content .o-zavode .o-z-text .accordion-body {
        font-size: 12px;
        line-height: 16px;
    }

    .content .o-z-title,
    .desc-n-video h2 {
        font-size: 18px;
        line-height: 22px;
        font-weight: 600;
    }

    .content .o-zavode .o-z-text .accordion-button {
        font-size: 12px;
        line-height: 15px;
    }

    .content .o-zavode .o-z-text .accordion-button::before {
        width: 16px;
        margin-right: 10px;
        height: 16px;
    }

    .o-zavode .text-video_row {
        align-items: flex-start;
    }

    .product_description .cont {
        font-size: 12px;
        line-height: 16px;
    }
}

@media screen and (max-width: 768px) {
    .product_description .cont {
        font-size: 16px;
        line-height: 25px;
        margin-top: 20px;
    }

    .content .o-z-title,
    .desc-n-video h2 {
        font-size: 24px;
        line-height: 32px;
        max-width: 100% !important;
        margin-bottom: 20px !important;
    }

    .content .o-zavode .o-z-text .accordion-button {
        font-size: 20px;
        line-height: 24px;
    }

    .content .o-zavode .o-z-text .accordion-body {
        font-size: 14px;
        line-height: 24px;
    }

    .content .o-zavode .o-z-text .accordion-button::before {
        width: 20px;
        height: 20px;
    }

    .o-zavode .text-video_row {
        margin-top: 0;
    }

    .o-zavode .text-video_row>.col-sm-12:last-child {
        margin-top: 20px !important;
    }

    .o-zavode .text-video_row .widthBezRamok {
        position: static;
    }

    .o-zavode .text-video_row .widthBezRamok .in_grid_video {
        margin-top: 30px;
    }
}

@media (max-width: 576px) {
    .content .o-z-title {
        font-size: 24px;
        line-height: 32px;
        max-width: 100% !important;
    }

    .content .o-zavode {
        margin-bottom: 0;
    }

    .accordion-item .accordion-button span {
        font-size: 20px;
        line-height: 24px;
    }

    .content .o-zavode .o-z-text .accordion-button span {
        flex: 20 1 0%;
    }

    .content .o-zavode .o-z-text .accordion-body p {
        color: rgb(23, 23, 23);
    }

    .in_grid_video video {
        height: 300px;
    }

    .in_grid_video {
        max-height: 300px;
    }
}

.content .o-zavode .o-z-text .accordion-button {
    cursor: default;
}

@media (max-width: 364px) {
    .content .o-zavode .o-z-text .accordion-body {
        font-size: 16px;
    }
}