html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
}

main {
  display: block;
}

h1 {
  font-size: 1.75em;
  margin: 0.67em 0;
}

hr {
  box-sizing: content-box;
  height: 0;
  overflow: visible;
}

pre {
  font-family: monospace, monospace;
  font-size: 1em;
}

a {
  background-color: transparent;
}

b {
  font-weight: bolder;
}

small {
  font-size: 80%;
  line-height: 1.1;
  display: block;
}

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;
}

progress {
  vertical-align: baseline;
}

[type='radio'] {
  box-sizing: border-box;
  padding: 0;
}

[type='search'] {
  appearance: textfield;
  -webkit-appearance: textfield;
  outline-offset: -2px;
}

[type='search']::-webkit-search-decoration {
  -webkit-appearance: none;
}

::-webkit-file-upload-button {
  -webkit-appearance: button;
  font: inherit;
}

html {
  font-size: 16px;
}

img {
  max-width: 100%;
}

*,
*:after,
*:before {
  box-sizing: border-box;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 18px;
  line-height: 1.4;
  color: #222;
}

.header__top {
  background-color: #3a4239;
  color: #fff;
}
.header__bottom {
  background-color: #dadada;
}
.header__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}
.header__logo {
  margin-right: auto;
}
.menu {
  display: flex;
  align-items: center;
  font-size: 0.8em;
}
.menu__item {
  color: inherit;
  text-decoration: none;
  padding: 0 4px;
  text-transform: uppercase;
}

@media screen and (min-width: 680px) {
  .menu__item {
    padding: 0 8px;
  }
}

.menu__item:hover span,
.menu__item:focus span {
  color: #aca918;
}

.menu__item--tag {
  background-color: #4e5b60;
  padding: 2px 3px;
  color: #fff;
}
.menu__item--main {
  position: relative;
}
.red {
  color: red;
}

svg {
  vertical-align: middle;
  line-height: 1;
}
.menu__item--main:not(:last-child) {
  border-right: 1px solid currentColor;
}
.menu__item--main:before {
  content: '';
  display: block;
  width: 100%;
  height: 2px;
  background-color: transparent;
  transition: all 400ms;
  position: absolute;
  bottom: -15px;
  left: 0;
}

.menu__item--main:hover:before {
  background-color: #75b852;
}
p,
h1,
h2,
h3,
h4,
ol,
ul {
  margin: 15px 0;
}
ol,
ul {
  padding-left: 25px;
}

.section {
  padding: 15px;
}

.container {
  max-width: 1070px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 15px;
  padding-right: 15px;
}

.tcenter {
  text-align: center;
}

.image {
  margin: 1rem 0;
  text-align: center;
}
.image-content {
  width: 500px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}
.image-content--small {
  width: 400px;
}
.image-product {
  width: 340px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}
.image-content img {
  display: block;
  width: 100%;
}
.image-caption {
  font-size: 14px;
  text-align: center;
  display: block;
  font-style: italic;
  background-color: #eee;
  padding: 0.5rem;
}

@media screen and (min-width: 768px) {
  .image-caption {
    font-size: 16px;
  }
}

.bg--yellow {
  background: #fff5bc;
}

.bg--gray {
  background: #eee;
}

.bg--blue {
  background: #8dcdf7;
}

.section > *:first-child {
  margin-top: 0;
}

.section > *:last-child {
  margin-bottom: 0;
}

.sidebar {
  width: 300px;
  flex-shrink: 0;
}
.order {
  box-shadow: 0px 0px 9px 0px rgb(0, 0, 0, 0.75);
  overflow: hidden;
  border-radius: 1rem;
}
.order {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.order__product {
  max-width: 200px;
  width: 100%;
  margin-right: 25px;
}

.footer__prod {
  max-width: 280px;
  width: 100%;
  display: block;
  margin: 0 auto 20px;
}

.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 5px rgba(0, 0, 0, 0.1);
  font-weight: bold;
  text-transform: uppercase;
}

.btn:hover,
.btn:focus {
  color: #fff;
  background: #89041a;
}

.input {
  background: #fff;
  font-family: inherit;
  font-size: 16px;
  padding: 12px;
  border: 1px solid #ccc;
  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__ava img {
  width: 50px;
  height: 50px;
  object-fit: cover;
}
.comment__name {
  font-weight: 700;
  margin-bottom: 0.5rem;
  font-size: 1.1em;
}
.comment__text,
.comment__date {
  margin-left: calc(50px + 1rem);
}
.comment__text {
  margin-top: 5px;
  margin-bottom: 15px;
}
.comment__date {
  color: gray;
}
.footer {
  text-align: center;
  padding-top: 20px;
  padding-bottom: 20px;
}
.footer .tcenter {
  margin-bottom: 0;
}
.comment__img {
  width: 250px;
  display: block;
  margin-top: 15px;
}
.adult {
  position: relative;
  cursor: pointer;
  display: block;
}

.adult:before {
  content: '';
  display: block;
  width: 100%;
  height: 100%;
  background-image: url(../images/18_plus.png);
  background-position: center;
  background-size: 100px;
  background-color: #fff;
  background-repeat: no-repeat;
  box-shadow: 0 0 10px #000;
  position: absolute;
  left: 0;
  top: 0;
  background-repeat: no-repeat;
}

.adult--open:before {
  display: none;
}
.search {
  max-width: 110px;
  text-decoration: none;
  color: gray;
  font-size: 0.8rem;
  margin-left: auto;
  cursor: text;
}

@media screen and (min-width: 1024px) {
  .search {
    max-width: 155px;
  }
}

td {
  border: 1px solid #000;
  padding: 5px;
}
table {
  border-collapse: collapse;
  margin-left: auto;
  margin-right: auto;
}
.header__social {
  margin-left: auto;
}
.header__date {
  margin-right: auto;
}
.mt0 {
  margin-top: 0;
}
.quiz-item:not(.active) {
  display: none;
}
.quiz-answer {
  margin-top: 15px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.quiz-answer input {
  margin-right: 10px;
}
.quiz-answer label {
  cursor: pointer;
}

.news__item {
  display: flex;
  align-items: flex-start;
  color: inherit;
  text-decoration: none;
  font-size: 16px;
}

.burger {
  max-width: 18px;
  padding-top: 3px;
  margin-left: 5px;
}

@media screen and (min-width: 640px) {
  .burger {
    display: none;
  }
}

.news__item picture {
  flex-shrink: 0;
}
.news__item:not(:last-child) {
  margin-bottom: 10px;
}

.news__item a {
  text-decoration: none;
  color: #222;
}

.news__item a:hover,
.news__item a:focus {
  text-decoration: underline;
}
.news__img {
  width: 50px;
  margin-right: 10px;
  flex-shrink: 0;
}
.banner__list {
  border: 2px solid red;
  padding: 35px 15px 15px;
}
.banner__item {
  color: inherit;
  text-align: center;
  font-weight: 700;
  text-decoration: none;
  display: block;
}

.banner__item:hover,
.banner__item:focus {
  text-decoration: underline;
}

.banner__item:not(:last-child) {
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 1px solid grey;
}
.banner-title {
  max-width: 250px;
  color: red;
  text-align: center;
  background-color: #fff;
  transform: translateY(50%);
  margin: 0 auto;
}
.header__tag {
  margin-right: auto;
}
ol ul {
  margin-top: 5px;
  margin-bottom: 0;
}
li:not(:last-child) {
  margin-bottom: 10px;
}
li li:not(:last-child) {
  margin-bottom: 5px;
}
.answer {
  margin-left: 60px;
}
@media screen and (max-width: 1023px) {
  .sidebar {
    display: none;
  }
}
@media screen and (max-width: 991px) {
  .header__menu--top {
    display: none;
  }

  .menu__item--main:nth-child(1) {
    display: none;
  }
  .menu__item:not(.menu__item--main):nth-child(4) {
    display: none;
  }
}
@media screen and (max-width: 767px) {
  .menu__item--main:nth-child(2) {
    display: none;
  }
  body {
    font-size: 16px;
    line-height: 1.3;
  }
  h1 {
    font-size: 24px;
  }
  h2 {
    font-size: 20px;
  }
  h3 {
    font-size: 20px;
  }
  .image-content {
    width: 400px;
  }
  .comment__img {
    width: 250px;
  }
  .order {
    flex-direction: column;
  }
  .menu__item:not(.menu__item--main):nth-child(4) {
    display: none;
  }
  .order__product {
    max-width: 180px;
    margin-right: 0;
  }
}

@media screen and (max-width: 479px) {
  .footer__prod,
  .image-product {
    max-width: 160px;
  }
}

@media screen and (min-width: 480px) and (max-width: 639px) {
  .footer__prod,
  .image-product {
    max-width: 170px;
  }
}

@media screen and (min-width: 640px) {
  .footer__prod,
  .image-product {
    max-width: 340px;
  }
}

@media screen and (min-width: 768px) {
  h2 {
    font-size: 20px;
  }
}
@media screen and (max-width: 639px) {
  .search {
    display: none;
  }
  .menu__item--main:nth-child(3) {
    display: none;
  }
  .header__bottom {
    display: none;
  }
  .header__logo {
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 10px;
  }
  .header__menu {
    width: 100%;
    justify-content: center;
  }
  h1 {
    margin-top: 0;
  }
}

@media screen and (max-width: 479px) {
  html {
    font-size: 14px;
  }
  h1 {
    font-size: 21px;
    margin-top: 0;
  }
  h2 {
    font-size: 18px;
  }
  h3 {
    font-size: 18px;
  }
  .image-content {
    width: 100%;
    max-width: 330px;
  }
  .comment__img {
    width: 220px;
  }

  .adult:before {
    background-size: 50px;
  }
  .comment__date {
    display: block;
  }
  .menu__item--main:nth-child(4) {
    display: none;
  }
}

@media screen and (max-width: 375px) {
  .menu__item--main:nth-child(5) {
    display: none;
  }
}

.door__container {
  display: flex;
  justify-content: space-evenly;
}

.door_box {
  perspective: 500px;
  position: relative;
}

.door_box,
.door {
  width: 165px;
  height: 346px;
  box-shadow:
    inset -1px -1px 0 1px #191919,
    inset 1px 1px 0 1px #191919;
}

.door,
.hi {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}

.door {
  background-image: url('../images/door1.png');
  background-repeat: no-repeat;
  transform: rotateY(0deg);
  display: inline-block;
  transition: all 0.75s ease;
  transform-origin: 0% 0%;
  cursor: pointer;
  background-size: contain;
}

#door__2 {
  background-image: url('../images/door2.png');
}

#door__3 {
  background-image: url('../images/door3.png');
}

.door:hover {
  transform: rotateY(-30deg);
}

.door.open {
  transform: rotateY(-85deg);
}

.door__head {
  font-size: 18px;
  margin: 18px 0;
  text-align: center;
}

.door__sales {
  position: relative;
  font-size: 45px !important;
  font-weight: 700 !important;
  color: red !important;
  border-radius: 30px !important;
  padding: 30px 5px !important;
  box-shadow: 0 1px 2px 2px #7f7878;
  margin: 0 !important;
}

.door__title {
  color: #fff !important;
  font-weight: 700;
  text-transform: uppercase;
  text-align: center;
  font-size: 20px !important;
  margin-bottom: 25px;
  background-color: #3a4752;
  padding: 10px 0 !important;
  border-radius: 0.5em;
}

@media (max-width: 1040px) {
  .door_box,
  .door {
    width: 95px;
    height: 200px;
  }

  .door__sales {
    font-size: 23px !important;
  }
}

@media (max-width: 840px) {
  .door__sales {
    font-size: 20px !important;
    font-weight: 700 !important;
    color: red !important;
    border-radius: 30px !important;
    padding: 30px 5px;
  }

  .door {
    background-size: contain;
  }

  #door__2 {
    background-size: contain;
  }

  #door__3 {
    background-size: contain;
  }
}

@media (max-width: 360px) {
  .door_box + .door_box {
    margin-left: 15px;
  }

  .door__sales {
    font-size: 19px !important;
    font-weight: 700 !important;
    color: red !important;
    border-radius: 30px !important;
    padding: 30px 5px;
  }
}

input[value='Получить бесплатно'] {
  text-transform: uppercase;
  padding: 10px 15px;
  margin: 15px 0;
  outline: none;
  border: none;
  margin-top: 5px;
  border-radius: 5px;
  box-shadow: 0 4px 3px #242120;
  background: red;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.3s;
}

input[value='Получить бесплатно']:hover {
  background: #b00 !important;
  transition: background 0.3s;
}

input[value='Получить бесплатно']:active {
  transform: translateY(2px);
  box-shadow: none !important;
}

.spin-result-wrapper {
  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, 0.6);
  text-align: center;
}

.pop-up-window {
  position: absolute;
  max-width: 400px;
  width: 85%;
  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: 0.7s ease 0s normal none 1 running pop-up-appear;
  right: auto;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.close-popup {
  position: absolute;
  width: 30px;
  height: 30px;
  background-image: url('../images/cross.svg');
  background-size: 100%;
  top: -40px;
  border-radius: 50%;
  -webkit-box-shadow: 0 0 10px #fff;
  box-shadow: 0 0 10px #fff;
  right: -40px;
  cursor: pointer;
}

.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;
  cursor: pointer;
  outline: medium;
  display: inline-block;
}
.pop-up-button:hover {
  opacity: 0.8;
}

.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: 0.5s ease 0.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: 0.5s ease 0.6s normal backwards 1 running pop-up-appear-after;
}

#order {
  display: none;
}

@keyframes pop-up-appear {
  0% {
    transform: translate(-50%, -2000px);
  }

  30% {
    transform: translate(-50%, 100px);
  }

  100% {
    transform: translate(-50%, -50%);
  }
}

@keyframes pop-up-appear-before {
  0% {
    transform: scale(0);
  }

  100% {
    transform: scale(1);
  }
}

@keyframes pop-up-appear-after {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

.pop-up-button:hover {
  color: #fff !important;
  text-decoration: none !important;
}

@media all and (max-width: 520px) {
  .close-popup {
    right: 0 !important;
  }
}

@media (max-width: 500px) {
  .door_box,
  .door {
    width: 85px;
    height: 180px;
  }
}

:root {
  --carts-gap: 20px;
  --carts-border-color: rgb(228, 228, 228);
  --carts-border-color-hover: rgb(219, 14, 24);
}

/*Bug*/
.rd-order-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  overflow-x: hidden;
  max-width: 1000px;
  width: 100%;
  margin: 0 auto;
}

.rd-order-container .rd-order {
  display: none;
  position: absolute;
  transform: translateX(100%);
  opacity: 0;
}

.rd-carts {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  width: 100%;
}

.rd-carts__item {
  display: flex;
  gap: var(--carts-gap);
  flex: 1 1 calc((100% - 28px) / 3);
  border: 1px solid var(--carts-border-color);
  border-radius: 30px;
  cursor: pointer;
  padding: var(--carts-gap);
  transition: all 0.2s;
  overflow: hidden;
  max-width: 300px;
}

.rd-carts__item:hover {
  border-color: var(--carts-border-color-hover);
}

.rd-carts__item.active {
  border-color: var(--carts-border-color-hover);
  cursor: pointer;
}

.rd-carts__item.disabled {
  pointer-events: none;
}

.rd-carts__cart {
  display: block;
  flex-shrink: 0;
  width: 100%;
  aspect-ratio: 250 / 230;
  background: url('../images/cart.png') no-repeat center center / contain;
  transition:
    all 0.2s,
    transform 1s;
  transform: translateX(calc(-100% - var(--carts-gap)));
}

.rd-carts__cart--sale {
  background: url('../images/cart-sale.png') no-repeat center center / contain;
}

.rd-carts__item:not(.active):hover .rd-carts__cart {
  background: url('../images/cart-active.png') no-repeat center center /
    contain;
}

.rd-carts__item.active .rd-carts__cart {
  transform: translateX(0);
}

@media (max-width: 639px) {
  .rd-carts__item {
    flex: 1 1 calc((100% - 14px) / 2);
    max-width: 190px;
  }

  .rd-order-container {
    max-width: 600px;
  }
}

@media (max-width: 479px) {
  :root {
    --carts-gap: 10px;
  }

  .rd-carts__item {
    border-radius: 10px;
    max-width: 167px;
  }
}

/*Animations*/
.slide-out-left {
  -webkit-animation: slide-out-left 0.5s cubic-bezier(0.55, 0.085, 0.68, 0.53)
    both;
  animation: slide-out-left 0.5s cubic-bezier(0.55, 0.085, 0.68, 0.53) both;
}

@-webkit-keyframes slide-out-left {
  0% {
    -webkit-transform: translateX(0) skewX(0deg);
    transform: translateX(0) skewX(0deg);
    opacity: 1;
  }
  100% {
    -webkit-transform: translateX(-100%) skewX(20deg);
    transform: translateX(-100%) skewX(20deg);
    opacity: 0;
  }
}

@keyframes slide-out-left {
  0% {
    -webkit-transform: translateX(0) skewX(0deg);
    transform: translateX(0) skewX(0deg);
    opacity: 1;
  }
  100% {
    -webkit-transform: translateX(-100%) skewX(20deg);
    transform: translateX(-100%) skewX(20deg);
    opacity: 0;
  }
}

.slide-in-right {
  -webkit-animation: slide-in-right 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94)
    both;
  animation: slide-in-right 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}

@-webkit-keyframes slide-in-right {
  0% {
    display: inline-block;
    position: static;
    -webkit-transform: translateX(100%) skewX(-20deg);
    transform: translateX(100%) skewX(-20deg);
    opacity: 0;
  }
  100% {
    display: inline-block;
    position: static;
    -webkit-transform: translateX(0) skewX(0deg);
    transform: translateX(0) skewX(0deg);
    opacity: 1;
  }
}

@keyframes slide-in-right {
  0% {
    display: inline-block;
    position: static;
    -webkit-transform: translateX(100%) skewX(-20deg);
    transform: translateX(100%) skewX(-20deg);
    opacity: 0;
  }
  100% {
    display: inline-block;
    position: static;
    -webkit-transform: translateX(0) skewX(0deg);
    transform: translateX(0) skewX(0deg);
    opacity: 1;
  }
}

:root {
  --primary: rgb(238 9 44);
  --primary-hover: rgb(147, 34, 21);
  --bg-color-light: rgb(51, 103, 164);
  --bg-color-dark: rgb(139 151 106);
}

.rd-promo {
  display: flex;
  justify-content: center;
  align-items: center;
  line-height: 1.3;
  gap: 20px 30px;
  color: white;
  border-radius: 16px;
  box-shadow: 0 3px 3px 0 rgba(0, 0, 0, 0.25);
  background: linear-gradient(
    180deg,
    var(--bg-color-light),
    var(--bg-color-dark) 100%
  );
  max-width: 1000px;
  width: 100%;
  padding: 40px 30px;
}

.rd-promo__product {
  flex-shrink: 0;
  width: 300px;
  max-width: 100%;
}

.rd-promo__pack {
  display: block;
  width: 100%;
}

.rd-promo__sale {
  font-size: 50px;
  font-weight: 700;
  line-height: 1;
  color: var(--primary);
  margin-bottom: 30px;
}

.rd-promo__title {
  font-size: 26px;
  font-weight: 300;
  text-transform: uppercase;
  margin-bottom: 30px;
}

.rd-promo__title span {
  color: var(--primary);
  white-space: nowrap;
}

.rd-promo__text {
  font-size: 16px;
  margin-bottom: 30px;
}

.rd-promo__button {
  display: inline-block;
  font-size: 20px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  color: black;
  background-color: var(--primary);
  border: none;
  border-radius: 100px;
  cursor: pointer;
  padding: 16px 40px;
  transition: 0.2s ease-in-out;
}

.rd-promo__button:hover {
  background-color: var(--primary-hover);
}

@media (max-width: 767px) {
  .rd-promo {
    flex-direction: column;
    text-align: center;
  }

  .rd-promo__product {
    width: 250px;
  }

  .rd-promo__sale {
    margin-bottom: 40px;
  }
}

@media (max-width: 479px) {
  .rd-promo {
    row-gap: 15px;
    padding: 30px 15px;
  }

  .rd-promo__product {
    width: 200px;
  }

  .rd-promo__sale {
    font-size: 40px;
    margin-bottom: 25px;
  }

  .rd-promo__title {
    font-size: 18px;
    margin-bottom: 20px;
  }

  .rd-promo__text {
    font-size: 14px;
    margin-bottom: 20px;
  }

  .rd-promo__button {
    font-size: 16px;
    padding-inline: 30px;
  }
}

/*Modal*/
.rd-modal {
  z-index: 999;
  position: fixed;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgba(0, 0, 0, 0.8);
  padding: 15px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s;
}

.rd-modal.open {
  opacity: 1;
  visibility: visible;
}

.rd-order {
  position: relative;
  border-radius: 10px;
  background: transparent;
  border: 2px solid var(--bg-color-dark);
  padding: 30px 15px 30px;
  max-width: 620px;
  width: 100%;
}

.rd-modal__close {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 30px;
  height: 30px;
  background: transparent;
  border: none;
  cursor: pointer;
}

.rd-modal__close::before,
.rd-modal__close::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 30px;
  height: 4px;
  background-color: white;
  transform-origin: center;
}

.rd-modal__close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.rd-modal__close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.rd-order__message {
  text-align: center;
  margin-bottom: 20px;
}

.rd-order__message.hidden {
  display: none;
}

.rd-order__wrapper {
  display: flex;
  align-items: center;
  gap: 18px;
  width: 100%;
}

.rd-order__content {
  flex-basis: 330px;
  flex-grow: 1;
}

.rd-order__sale {
  display: inline-block;
  font-size: 40px;
  line-height: 1;
  font-weight: 900;
  color: white;
  background: #ed1f01;
  clip-path: polygon(
    100% 100%,
    100% 100%,
    98.854% 98.62%,
    97.634% 97.311%,
    96.338% 96.091%,
    94.965% 94.978%,
    93.513% 93.988%,
    91.979% 93.138%,
    90.363% 92.448%,
    88.662% 91.933%,
    86.875% 91.611%,
    85% 91.5%,
    33.2% 91.5%,
    33.2% 91.5%,
    29.09% 90.883%,
    25.222% 89.034%,
    21.598% 85.96%,
    18.219% 81.663%,
    15.088% 76.15%,
    12.205% 69.425%,
    9.573% 61.492%,
    7.194% 52.358%,
    5.069% 42.025%,
    3.2% 30.5%,
    3.2% 30.5%,
    2.765% 27.351%,
    2.358% 24.208%,
    1.98% 21.077%,
    1.627% 17.964%,
    1.3% 14.875%,
    0.997% 11.816%,
    0.716% 8.793%,
    0.458% 5.812%,
    0.219% 2.879%,
    0% 0%,
    0% 0%,
    1.468% 2.135%,
    3.053% 4.145%,
    4.759% 6.006%,
    6.59% 7.694%,
    8.55% 9.188%,
    10.642% 10.462%,
    12.869% 11.493%,
    15.235% 12.259%,
    17.744% 12.736%,
    20.4% 12.9%,
    69.9% 12.9%,
    69.9% 12.9%,
    70.821% 13.217%,
    72.42% 13.971%,
    74.571% 15.318%,
    77.148% 17.414%,
    80.025% 20.413%,
    83.076% 24.47%,
    86.175% 29.743%,
    89.196% 36.385%,
    92.013% 44.552%,
    94.5% 54.4%,
    94.5% 54.4%,
    95.569% 59.735%,
    96.502% 64.931%,
    97.307% 69.976%,
    97.991% 74.858%,
    98.563% 79.563%,
    99.029% 84.078%,
    99.398% 88.393%,
    99.678% 92.493%,
    99.876% 96.366%,
    100% 100%
  );
  padding: 12px 12px;
  position: absolute;
  top: -10px;
  right: 0;
}

.rd-order__product {
  position: relative;
  flex-basis: 190px;
}

.rd-order__pack {
  display: block;
  width: 100%;
  max-width: 100%;
}

.rd-order .rd-price {
  margin-bottom: 22px;
}

/*Price*/
.rd-price {
  display: flex;
  justify-content: center;
  gap: 10px;
  width: 100%;
}

@media screen and (min-width: 480px) {
  .rd-price {
    gap: 20px;
  }
}

.rd-price__item {
  display: flex;
  justify-content: space-between;
  flex-direction: column;
}

.rd-price__line {
  display: block;
  flex-shrink: 0;
  width: 1px;
  background-color: var(--bg-color-dark);
}

.rd-price__title {
  font-size: 18px;
  font-weight: 400;
  margin: 0 0 10px !important;
  text-align: center !important;
}

@media screen and (min-width: 640px) {
  .rd-price__title {
    font-size: 20px;
  }
  .rd-price {
    gap: 30px;
  }
}

@media screen and (min-width: 640px) {
  .rd-price__title {
    font-size: 22px;
  }
}

.rd-price__title--old {
  font-weight: 300;
  color: #636a7b;
}

.rd-price__title--new {
  font-weight: 700;
  color: var(--bg-color-dark);
}

p.rd-price__value {
  font-size: 29px;
  font-weight: 400;
  margin: 0;
  color: red;
  text-align: center !important;
}

@media screen and (min-width: 640px) {
  p.rd-price__value {
    font-size: 35px;
  }
}

p.rd-price__new {
  font-weight: 700;
}

.rd-price__value--old {
  font-weight: 300;
  color: #636a7b !important;
}

.rd-price__value--old span:first-child {
  text-decoration-line: line-through;
}

/*light modal theme*/
.rd-modal--light .rd-order {
  background: white;
}

.rd-modal--light .rd-modal__close::before,
.rd-modal--light .rd-modal__close::after {
  background: var(--bg-color-dark);
}

.rd-modal--light .rd-order__message {
  color: var(--bg-color-dark);
}

.rd-modal--light .rd-form__button {
  color: white;
  background: rgb(237, 31, 1);
}

.rd-form__button:hover,
.rd-form__button:focus {
  background-color: #89041a;
}

.rd-modal--light .rd-price__title {
  color: var(--bg-color-dark);
}

.rd-modal--light .rd-price__value {
  color: var(--bg-color-dark);
}

.rd-modal--light .rd-price__title--old,
.rd-modal--light .rd-price__value--old {
  color: rgba(145, 145, 145, 0.5);
}

.rd-modal--light .rd-price__line {
  background: rgba(145, 145, 145, 0.5);
}

.rd-modal--light .rd-form__input {
  border: 1px solid var(--bg-color-dark);
}

/*Form*/
.rd-form {
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.rd-form__label,
.rd-form__input {
  width: 100%;
}

.rd-form__input {
  font-size: 18px;
  text-align: center;
  color: var(--bg-color-dark);
  border-radius: 100px;
  box-shadow: 0 5px 20px 0 rgba(50, 118, 71, 0.1);
  background: rgb(255, 255, 255);
  border: 1px solid var(--bg-color-dark);
  outline: none;
  padding: 15px 24px;
}

.rd-form__input::placeholder {
  color: var(--bg-color-dark);
}

.rd-form__button {
  display: block;
  width: 100%;
  font-size: 18px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  color: #fff;
  background-color: rgb(229, 0, 38);
  border: none;
  border-radius: 100px;
  outline: none;
  cursor: pointer;
  padding: 15px 24px;
  transition: all 0.35s ease-in-out;
  border: 1px solid var(--bg-color-dark);
  color: #fff;
  text-transform: uppercase;
}

@media screen and (min-width: 768px) {
  .rd-form__button {
    font-size: 20px;
  }
}

@media (max-width: 639px) {
  .rd-order {
    width: 100%;
    max-width: 450px;
  }

  .rd-order__wrapper {
    flex-direction: column;
    gap: 15px;
  }

  .rd-order__sale {
    font-size: 38px;
  }

  .rd-order__product {
    flex-basis: auto;
    width: 170px;
  }

  .rd-order__content {
    flex-basis: auto;
    width: 100%;
  }
}

@media screen and (max-width: 479px) {
  .rd-order__product {
    width: 160px;
  }
}

@media screen and (min-width: 768px) {
  .rd-order__sale {
    top: -20px;
  }
  .rd-price {
    gap: 30px;
  }
}

.blur-image {
  filter: blur(2px);
}

.mb-0 {
  margin-bottom: 0;
}
.mt-0 {
  margin-top: 0;
}

.link {
  text-decoration: none;
  color: #a2a045;
}

.link:hover,
.link:focus {
  text-decoration: underline;
}

@media screen and (min-width: 1024px) {
  .row {
    display: flex;
    gap: 20px;
  }
}

.btn:hover,
.btn:focus {
  text-decoration: none;
}

.cart-element {
  margin-top: 25px;
  margin-bottom: 25px;
}

@media screen and (min-width: 768px) {
  p,
  li {
    text-align: justify;
  }
  .quiz-item p {
    text-align: center;
  }
  h1 {
    line-height: 1.3;
  }
}

.form-date-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin-bottom: 15px;
}

.form-date-wrapper p {
  margin: 0;
}

.form-note {
  margin: 0;
  text-align: center;
  font-size: 14px;
}

@media screen and (min-width: 768px) {
  .form-note {
    font-size: 16px;
  }
}

.footer-wrapper-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin-bottom: 15px;
}

.footer-text {
  margin: 0;
  font-size: 16px;
}

.rom_contact {
  text-align: center;
}
.rom_contact a,
.rom_contact .rom_link {
  color: blue;
  text-decoration: none;
}

.rom_contact a:hover,
.rom_contact a:focus,
.rom_contact .rom_link:hover,
.rom_contact .rom_link:focus {
  text-decoration: underline;
}


.x_country_select {
    display: none !important;
}
#order-in-progress__popup span {color: #000 !important;}