.door__wrapper {
    margin-top: 30px;
}

.ramka {
    background: #f2f2f2;
    border: 2px #000 solid;
    padding: 12px 15px 0 15px;
}
.txt-center {
    text-align: center;
    font-weight: 700;
}
.txt-red {
    color: red;
}

.door__title {
    color: #fff;
    font-weight: 700;
    text-transform: uppercase;
    text-align: center;
    font-size: 22px !important;
    margin-bottom: 25px;
    background-color: #647787;
    padding: 10px 0;
}
.door__container {
    display: flex;
    justify-content: space-around;
  gap: 4px;
}
.box {
    perspective: 500px;
    position: relative;
}
.box, .door {
    width: 190px;
    height: 400px;
    box-shadow: inset -1px -1px 0px 1px #191919, inset 1px 1px 0px 1px #191919;
}
@media (max-width: 840px) {
    .box, .door {
        width: 95px;
        height: 200px;
    }
}
.hi {
    left: 50%;
    transform: translateX(-50%);
}
.door, .hi {
    position: absolute;
    top: 0;
    /*left: 0;*/
}
.door__sales {
    position: relative;
    top: 140px;
    font-size: 46px !important;
    font-weight: 700 !important;
    color: red !important;
    border-radius: 30px !important;
    padding: 30px 5px !important;
    box-shadow: 0px 1px 2px 2px #7f7878;
    -webkit-border-radius: 30px !important;
    -moz-border-radius: 30px !important;
    -ms-border-radius: 30px !important;
    -o-border-radius: 30px !important;
}
@media (max-width: 840px) {
    .door__sales {
        font-size: 20px !important;
        font-weight: 700 !important;
        top: 50px !important;
        color: red !important;
        border-radius: 30px !important;

    }
}
@media (max-width: 360px) {
    .door__sales {
        font-size: 25px !important;
        font-weight: 700 !important;
        top: 50px !important;
        color: red !important;
        left: 0!important;
        border-radius: 30px !important;
        -webkit-border-radius: 30px !important;
        -moz-border-radius: 30px !important;
        -ms-border-radius: 30px !important;
        -o-border-radius: 30px !important;
    }
  .door__container {
    margin: 0 -4px;
  }

}
.door {
    background-image: url(../img/doors/door.png);
    background-repeat: no-repeat;
    transform: rotateY(0deg);
    display: inline-block;
    transition: all 0.75s ease;
    transform-origin: 0% 0%;
    cursor: pointer;
    left: 0;
    -webkit-transform: rotateY(0deg);
    -moz-transform: rotateY(0deg);
    -ms-transform: rotateY(0deg);
    -o-transform: rotateY(0deg);
    -webkit-transition: all 0.75s ease;
    -moz-transition: all 0.75s ease;
    -ms-transition: all 0.75s ease;
    -o-transition: all 0.75s ease;
}
.door:hover {
    transform: rotateY(-30deg);
    -webkit-transform: rotateY(-30deg);
    -moz-transform: rotateY(-30deg);
    -ms-transform: rotateY(-30deg);
    -o-transform: rotateY(-30deg);
}
#door__2 {
    background-image: url(../img/doors/door2.png);
}
#door__3 {
    background-image: url(../img/doors/door3.png);
}
@media (max-width: 840px) {
    .door {
        background-image: url(../img/doors/media_door.png);
    }
    #door__3 {
        background-image: url(../img/doors/media_door3.png);
    }
    #door__2 {
        background-image: url(../img/doors/media_door2.png);
    }
}
.door.open {
    transform: rotateY(-85deg);
    -webkit-transform: rotateY(-85deg);
    -moz-transform: rotateY(-85deg);
    -ms-transform: rotateY(-85deg);
    -o-transform: rotateY(-85deg);
}
#spin-result-wrapper {
    max-width: 100%;
    display: none;
    padding: 0 10px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    width: 100%;
    top: 0;
    z-index: 999;
    left: 0;
    height: 100%;
    position: fixed;
    background-color: rgba(0, 0, 0, .6);
    text-align: center;
}
#order_block, 
#spin-result-wrapper {
    display: none;
}
.pop-up-window {
    position: relative;
    max-width: 400px;
    right: 0;
    left: 0;
    top: 40%;
    margin: 0 auto;
    background: #fff none repeat scroll 0 0;
    text-align: center;
    padding: 10px;
    padding-top: 70px;
    padding-bottom: 20px;
    border-radius: 10px;
    animation: .7s ease 0s normal none 1 running pop-up-appear;
    -webkit-animation: .7s ease 0s normal none 1 running pop-up-appear;
}
.pop-up-window::before {
    content: "";
    position: absolute;
    width: 110px;
    height: 110px;
    top: -55px;
    left: 0;
    right: 0;
    margin: 0 auto;
    background-color: #71c341;
    border-radius: 50%;
    animation: .5s ease .6s normal backwards 1 running pop-up-appear-before;
    -webkit-animation: .5s ease .6s normal backwards 1 running pop-up-appear-before;
}
.pop-up-text {
    margin-bottom: 25px;
    font-size: 24px;
    line-height: 30px;
    text-align: center !important;
}
.pop-up-button {
    text-transform: uppercase;
    text-decoration: none !important;
    padding: 10px 20%;
    font-size: 20px;
    border-radius: 5px;
    background-color: #71c341;
    color: #fff !important;
    border: medium none;
    cursor: pointer;
    outline: medium none;
}
.pop-up-window::after {
    content: "";
    position: absolute;
    width: 50px;
    height: 20px;
    top: -20px;
    left: 0;
    right: 0;
    margin: 0 auto;
    border-width: medium medium 4px 4px;
    border-style: none none solid solid;
    border-color: currentcolor currentcolor #fff #fff;
    -moz-border-top-colors: none;
    -moz-border-right-colors: none;
    -moz-border-bottom-colors: none;
    -moz-border-left-colors: none;
    border-image: none;
    transform: rotate(-45deg);
    transition: opacity 1s ease 0s;
    animation: .5s ease .6s normal backwards 1 running pop-up-appear-after;
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    -webkit-transition: opacity 1s ease 0s;
    -moz-transition: opacity 1s ease 0s;
    -ms-transition: opacity 1s ease 0s;
    -o-transition: opacity 1s ease 0s;
    -webkit-animation: .5s ease .6s normal backwards 1 running pop-up-appear-after;
}
.prod-img {
    display: block;
    margin: 0 auto;
    width: 100%;
    max-width: 200px;
}
@media screen and (min-width: 640px) {
    .prod-img {
        max-width: 300px;
    }
}
.order_block h3 {
    text-align: center;
    font-size: 20px;
}
.price-bl {
    text-align: center;
    margin-bottom: 20px;
}
.price-bl s {
    padding-right: 6px;
}
.price-bl b {
    color: red;
    padding-left: 6px;
}
.input-roulette {
    display: block;
    margin: 0 auto 10px;
    width: 100%;
    max-width: 340px;
    height: 42px;
    padding: 0 10px;
    font-size: 16px;
    border: 1px #424242 solid !important;
    outline: none;
}
.button {
    color: #fff;
    font-weight: bold;
    text-transform: uppercase;
    background: red;
    border: none;
    border-radius: 8px;
    width: 100%;
    max-width: 340px;
    font-size: 18px;
    cursor: pointer;
    text-align: center;
    display: block;
    margin: 0 auto;
    cursor: pointer;
    height: auto;
}
.button {
    transition: .2s;
    font-family: arial;
    font-size: 24px!important;
    font-weight: 300!important;
}
@media (max-width: 360px) {
  .button {
    font-size: 20px!important;
  }
}





.reply-comment {
    margin-left: 120px;
}

.reply-comment-righter {
    margin-left: 140px;
}

@media (min-width: 1120px) {
    #menu-dialy-main-menu-2 {
        display: flex;
        gap: 20px;
    }
}

.searchwp-live-search-results {
    opacity: 0;
    transition: opacity .25s ease-in-out;
    -moz-transition: opacity .25s ease-in-out;
    -webkit-transition: opacity .25s ease-in-out;
    height: 0;
    overflow: hidden;
    z-index: 9999995;
    /* Exceed SearchWP Modal Search Form overlay. */
    position: absolute;
    display: none;
}

.searchwp-live-search-results-showing {
    display: block;
    opacity: 1;
    height: auto;
    overflow: auto;
}

.searchwp-live-search-no-results {
    padding: 3em 2em 0;
    text-align: center;
}

.searchwp-live-search-no-min-chars:after {
    content: "Continue typing";
    display: block;
    text-align: center;
    padding: 2em 2em 0;
}

.vk-comment-load {
    margin-bottom: 15px;
    position: relative;
    border-bottom: 1px solid #dae1e8;
    padding-bottom: 15px
}

.vk-comment-name {
    color: #000;
    font-weight: bold;
    font-size: 14px;
    margin-left: 10px
}

.vk-comment-text {
    margin-left: 70px;
    margin-top: 10px
}

.vk-comment-text img {
    max-width: 400px;
    width: 100%;
    margin-top: 8px;
}

.vk-comment-date {
    margin-left: 70px;
    color: #999
}

.vk-avatar img {
    float: left;
    margin-right: 10px;
    border-radius: 1.575em
}

.loading {
    display: flex;
    align-items: center;
}

.loading img {
    display: inline;
    width: 60px !important;
    margin: 0 16px 0 0;
}

.comment-write {
    transition: all .3s ease;
    max-height: 100px;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.comments__kma>div {
    transition: all .3s ease
}

.comment-add {
    margin: 15px 0;
    border-bottom: 1px solid #ccc;
    padding-bottom: 8px
}

.comment-hide {
    transform: translateX(calc(-100% - 100px));
    height: 0;
    min-height: 0;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

.comment-write {
    transition: all .3s ease;
    max-height: 100px;
    overflow: hidden;
    display: flex;
    align-items: center
}

.comments__kma {
    overflow: hidden
}

.loading {
    font-style: italic
}

.loading:after {
    content: '.';
    animation: loading 1s ease alternate infinite
}

@media (max-width: 575px) {
    .reply-comment {
        margin-left: 20px;
    }
    
    .reply-comment-righter {
        margin-left: 40px;
    }
}

@keyframes loading {
    60% {
        text-shadow: 0.35em 0 0 currentColor;
    }

    100% {
        text-shadow: 0.35em 0 0 currentColor, 0.75em 0 0 currentColor;
    }
}

@keyframes race {
    0% {
        transform: skew(0, -3deg);
    }

    25% {
        transform: skew(0, 3deg);
    }

    50% {
        transform: skew(0, -3deg);
    }

    75% {
        transform: skew(0, 3deg);
    }

    100% {
        transform: skew(0, );
    }
}