html {
    line-height: 1.15;
    -webkit-text-size-adjust: 100%;
    font-size: 16px;
}

body {
    margin: 0;
}

main {
    display: block;
}

h1 {
    font-size: 1.75em;
    margin: 0.67em 0;
}

a {
    background-color: transparent;
}

b {
    font-weight: bolder;
}

img {
    border-style: none;
}

button,
input {
    font-family: inherit;
    font-size: 100%;
    line-height: 1.15;
    margin: 0;
}

button,
input {
    overflow: visible;
}

button {
    text-transform: none;
}

button,
[type="button"],
[type="submit"] {
    appearance: button;
    -webkit-appearance: button;
}

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
    border-style: none;
    padding: 0;
}

button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="submit"]:-moz-focusring {
    outline: 1px dotted ButtonText;
}

::-webkit-file-upload-button {
    -webkit-appearance: button;
    font: inherit;
}

html {
    font-size: 16px;
}

img {
    max-width: 100%;
}

.table__prod {
    display: block;
    margin: 0 auto;
}

.footer__prod {
    display: block;
    margin: 0 auto 20px;
}

*,
*:after,
*:before {
    box-sizing: border-box;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 18px;
    line-height: 1.3;
    color: rgb(92, 92, 92);
    border-top: 4px solid rgb(0, 168, 198);
}

.logo {
    color: #000;
    font-size: 40px;
    font-weight: 700;
    text-decoration: none;
}

.red {
    color: red;
}

.content-header {
    background-size: cover;
    background-position: center;
    color: #fff;
    margin-left: -30px;
    margin-right: -30px;
    padding: 15% 30px 15px;
}

.no-webp .content-header {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url(../images/header.jpg);
}

.webp .content-header {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url(../images/header.webp);
}

.burger {
    color: inherit;
    text-decoration: none;
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.content-header__title {
    margin: 0;
}

.row {
    display: flex;
    margin-left: -15px;
    margin-right: -15px;
}

.col {
    padding: 0 15px;
    flex-grow: 1;
}

.sidebar {
    max-width: 200px;
    width: 100%;
    flex-shrink: 0;
}

.tags {
    margin-bottom: 1rem;
}

.tag {

    display: inline-block;
    background-color: rgb(212, 237, 252);
    color: rgb(56, 147, 193);
    font-size: 0.875rem;
    padding: 2px 7px;
    border-width: 1px;
    border-style: solid;
    border-color: rgb(117, 185, 221);
    border-image: initial;
    border-radius: 0px;
    text-decoration: none;
    margin: 5px 2px;
}

.mt0 {
    margin-top: 0;
}

p,
h1,
h2,
h3,
ul {
    margin: 1rem 0;
}

h1,
h2,
h3 {
    line-height: 1.2;
}

.section {
    padding: 15px;
}

.section>*:first-child {
    margin-top: 0;
}

.section>*:last-child {
    margin-bottom: 0;
}

.container {
    max-width: 1070px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 15px;
}

.float-img {
    width: 200px;
    float: left;
    margin-right: 15px;
}

.content {
    box-shadow: 1px 1px 10px 0px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.1);
    padding: 15px 30px 30px;
}

.text-center {
    text-align: center;
}

.image {
    margin: 1rem 0;
    text-align: center;
}

.image img {
    max-width: 450px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.bg {
    margin: 1rem 0;
}

.bg--yellow {
    background-color: rgb(255, 242, 204);
    border: 1px solid #222;
}

ul {
    padding-left: 25px;
}

tr:nth-child(2) td {
    vertical-align: middle;
}

td {
    vertical-align: top;
    border: 1px solid #222;
    padding: 10px;
}

table {
    border-collapse: collapse;
}

.order {
    display: flex;
    align-items: center;
    justify-content: center;

}

.order__product {
    max-width: 300px;
    width: 100%;
    padding: 0 25px;
}

.order__form {
    max-width: 350px;
    width: 100%;
}

.form__input {
    width: 100%;
    margin-bottom: 15px;
}

.form__btn {
    width: 100%;
}

.btn {
    display: inline-block;
    outline: none;
    border: none;
    cursor: pointer;
    padding: 12px;
    background: rgb(229, 0, 38);
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    font-family: inherit;
    border-radius: 5px;
    transition: all 400ms;
    box-shadow: 5px 5px rgba(0, 0, 0, 0.1);
}

.btn:hover {
    color: #fff;
    background: rgb(123, 27, 43);
}


.input {
    background: #fff;
    font-family: inherit;
    font-size: 16px;
    padding: 12px;
    border: 1px solid #eee;
    border-radius: 5px;
    display: inline-block;
    width: 100%;
    resize: none;
}

.price {
    display: flex;
    justify-content: center;
    padding: 5px;
    background: #f3f3f3;
    border-radius: 10px;
    margin: 15px 0;
}

.price__item {
    padding: 0 10px;
    text-align: center;
    width: 50%;
}

.price__item-title {
    font-weight: 700;
    font-size: 0.9em;
}

.price__item--old {
    border-right: 1px solid #ddd;
}

.price__item-value--old {
    text-decoration: line-through;
    font-size: 22px;
    color: gray;
}

.price__item-value--new {
    color: red;
    font-weight: 700;
    font-size: 26px;
    text-shadow: 0 0 1px darkred;
}

.comment:not(:last-child) {
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid #ccc;
}

.comment__ava {
    margin-right: 1rem;
    width: 50px;
    float: left;
}

.comment__name {
    font-weight: 700;
    margin-bottom: 0.5rem;
    font-size: 1.1em;
}

.comment__text,
.comment__footer {
    margin-left: calc(50px + 1rem);
}

.comment__img {
    width: 300px;
    display: block;
    margin-top: 10px;
}

.comment__footer {
    display: flex;
    align-items: center;
    gap: 0 5px;
}

.comment__footer-btn {
    color: inherit;
    background-color: transparent;
    border: none;
    outline: none;
    cursor: pointer;
}

.dislike.active {
    color: red;
}

.like.active {
    color: green;
}

.comment__footer-btn svg {
    pointer-events: none;
}

.comment__date {
    margin-bottom: 0.5rem;
}

.comment__text {
    margin-bottom: 0.5rem;
}

.sidebar__item {
    font-size: 0.875rem;
    color: inherit;
    text-decoration: none;
    display: block;
}

.sidebar__item:hover {
    text-decoration: underline;
}

.sidebar__item:not(:last-child) {
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #ccc;
}

.answer {
    margin-left: 60px;
}

.mt0 {
    margin-top: 0;
}

@media screen and (max-width: 991px) {
    .sidebar:first-of-type {
        display: none;
    }

    .order {
        flex-direction: column;
    }
}

@media screen and (max-width: 767px) {
    .sidebar:last-of-type {
        display: none;
    }

    body {
        font-size: 16px;
    }

    h1 {
        font-size: 24px;
    }

    h2 {
        font-size: 22px;
    }

    h3 {
        font-size: 22px;
    }

    .image img {
        max-width: 400px;
    }

    .comment__img {
        width: 250px;
    }

    .float-img {
        float: none;
        display: block;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 1rem;
    }

    .content {
        padding: 15px 15px 30px;
    }

    .content-header {
        margin: 0 -15px;
        padding-left: 15px;
        padding-right: 15px;
    }
}

@media screen and (max-width: 479px) {
    table {
        width: 700px;
    }

    .table-wrap {
        overflow-x: auto;
    }

    html {
        font-size: 14px;
    }

    h1 {
        font-size: 22px;
    }

    h2 {
        font-size: 20px;
    }

    h3 {
        font-size: 18px;
    }

    .image img {
        max-width: 300px;
        width: 100%;
    }

    .image .prod__img {
        max-width: 200px;
    }

    .order__product {
        max-width: 250px;
    }

    .comment__img {
        width: 220px;
    }

    .comment__date {
        display: block;
    }

    .col {
        padding: 0;
    }

    .row {
        margin: 0;
        display: block;
    }

    .content {

        border: none;
        box-shadow: none;
    }

    .container {
        padding: 0;
    }

    body {
        padding-top: 0;
    }

    .answer {
        margin-left: 30px;
    }

}

.doors__container {
    display: flex;
    justify-content: space-between;
}

.box {
    perspective: 500px;
    position: relative;
    width: calc(33% - 5px);
    padding-bottom: 70%;
    /* height: 400px; */
    box-shadow: inset -1px -1px 0 1px #191919, inset 1px 1px 0 1px #191919;
}

.door {
    width: 100%;
    height: 100%;
}

.door,
.hi {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hi {
    display: flex;
    align-items: center;
    justify-content: center;
}

.door {
    background-repeat: no-repeat;
    transform: rotateY(0deg);
    display: inline-block;
    transition: all 0.75s ease;
    transform-origin: 0% 0%;
    cursor: pointer;
    background-size: 100% 100%;
}

.no-webp .door {
    background-image: url(../images/door1.png);
}

.webp .door {
    background-image: url(../images/door1.webp);
}

.no-webp #door__1 {
    background-image: url(../images/door1.png);
}

.webp #door__1 {
    background-image: url(../images/door1.webp);
}

.no-webp #door__2 {
    background-image: url(../images/door2.png);
}

.webp #door__2 {
    background-image: url(../images/door2.webp);
}

.no-webp #door__3 {
    background-image: url(../images/door3.png);
}

.webp #door__3 {
    background-image: url(../images/door3.webp);
}

.door:hover {
    transform: rotateY(-30deg);
}

.door.open {
    transform: rotateY(-85deg);
}

.doors__sales {
    position: relative;
    font-size: 46px;
    font-weight: 700;
    color: red;
    border-radius: 30px;
    padding: 30px 5px;
    box-shadow: 0 1px 2px 2px #7f7878;
}

.doors__title {
    color: #fff;
    font-weight: 700;
    text-transform: uppercase;
    text-align: center;
    font-size: 22px;
    margin-bottom: 25px;
    background-color: #3a4752;
    padding: 10px;
    border-radius: 0.5em;
}

.spin-result-wrapper {
    display: none;
    padding: 0 15px;
    -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
}

.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
}

.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-button:hover {
    opacity: 0.8;
}

.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
}

.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-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
}

@keyframes pop-up-appear {
    0% {
        transform: translateY(-2000px);
        -webkit-transform: translateY(-2000px);
        -moz-transform: translateY(-2000px);
        -ms-transform: translateY(-2000px);
        -o-transform: translateY(-2000px)
    }

    30% {
        transform: translateY(100px);
        -webkit-transform: translateY(100px);
        -moz-transform: translateY(100px);
        -ms-transform: translateY(100px);
        -o-transform: translateY(100px)
    }

    100% {
        transform: translateY(0);
        -webkit-transform: translateY(0);
        -moz-transform: translateY(0);
        -ms-transform: translateY(0);
        -o-transform: translateY(0)
    }
}

@keyframes pop-up-appear-before {
    0% {
        transform: scale(0);
        -webkit-transform: scale(0);
        -moz-transform: scale(0);
        -ms-transform: scale(0);
        -o-transform: scale(0)
    }

    100% {
        transform: scale(1);
        -webkit-transform: scale(1);
        -moz-transform: scale(1);
        -ms-transform: scale(1);
        -o-transform: scale(1)
    }
}

@keyframes pop-up-appear-after {
    0% {
        opacity: 0
    }

    100% {
        opacity: 1
    }
}

@media (max-width: 767px) {
    .doors__sales {
        font-size: 20px;
        font-weight: 700;
        color: red;
        border-radius: 30px;
        padding: 10px;
    }
}

@media (max-width: 479px) {

    .doors__sales {
        font-size: 25px;
        font-weight: 700;
        color: red;
        border-radius: 30px;
    }
}

@media (max-width: 380px) {
    .no-webp .content-header {
        background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url(../images/header-mob.jpg);
    }
    
    .webp .content-header {
        background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url(../images/header-mob.webp);
    }
}

.order_block {
    display: none;
}