:root {
  --bg-card: #1a1d2f;
  --primary: #682d8c;
}

.d-flex {
  display: flex;
}
.justify-content-between {
  justify-content: space-between;
}
.justify-content-around {
  justify-content: space-around;
}
.order__plan-py,
.order__detail-py {
  padding: 40px 0;
}
.product-block {
  position: relative;
  margin-top: 60px;
  box-sizing: border-box;
}
.products-wr {
  display: flex;
  gap: 1rem;
  transition: all 1s ease-in-out;
}
.size-products {
  transform: scale(0.7);
  transition: all 1s ease-in-out;
}
.product-col {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.product-label {
  display: block;
  text-align: center;
  padding: 16px;
  border: 5px solid var(--primary);
  border-radius: 10px;
  background-color: var(--bg-card);
}
.product-label h3 {
  font-weight: 400;
  font-size: 18px;
}
.product-label h3:first-child {
  font-family: GillSans;
  font-size: 22px;
}
.product-label h3:not(:first-child) {
  padding-top: 10px;
  color: gold;
}
.product-label span {
  font-family: GillSans;
  font-size: 12px;
}
.label-option {
  font-weight: 700;
}
.products {
  flex: 3;
  display: flex;
  gap: 1rem;
}
.product {
  flex: 1;
  display: block;
  flex-direction: column;
  text-align: center;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu,
    Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  border: 5px solid #10121e;
  border-radius: 10px;
  background-color: var(--bg-card);
  padding: 32px 0 0;
  -webkit-box-shadow: 0px 5px 20px 2px rgba(113, 105, 105, 0.13);
  -moz-box-shadow: 0px 5px 20px 2px rgba(113, 105, 105, 0.13);
  box-shadow: 0px 5px 20px 2px rgba(113, 105, 105, 0.13);
  cursor: pointer;
  transform: scale(1);
  transition: all 0.3s ease-in-out;
}
.product:focus {
  transform: scale(1.07);
  border-color: var(--primary);
  -webkit-box-shadow: 0px 5px 20px 15px rgba(104, 45, 140, 0.2);
  -moz-box-shadow: 0px 5px 20px 15px rgba(104, 45, 140, 0.2);
  box-shadow: 0px 5px 20px 15px rgba(104, 45, 140, 0.2);
  transition: all 0.3s ease-in-out;
}
.product:hover {
  border-color: var(--primary);
  transition: all 0.3s ease-in-out;
}
.product-title {
  font-size: 36px;
}
.product-description {
  text-transform: capitalize;
  font-size: 20px;
}
.product-img {
  flex: 1;
  max-width: 100%;
  height: 300px;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}
.product-img.product-img-1 {
  background-image: url(/images/ritual-pm-1-pk-with-glow-bg.png);
}
.product-img.product-img-3 {
  background-image: url(/images/ritual-pm-3-pk-with-glow-bg.png);
}
.product-img.product-img-6 {
  background-image: url(/images/ritual-pm-6-pk-with-glow-bg.png);
}
.product.product-main {
  position: relative;
}
.product-main-header {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%) translateY(calc(-100% - 5px));
  display: block;
  width: 80%;
  height: 36px;
  font-size: 18px;
  font-weight: 800;
  line-height: 36px;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  background-color: gold;
  color: #ae9043;
}
.selected-product-wr {
  display: flex;
}
.selected-product {
  position: relative;
  display: none;
  transform: scaleY(0);
  transform-origin: center;
  opacity: 0;
  transition: all 0.7s ease-in-out;
}
.selected-product.show {
  display: flex;
  transform: scaleY(1);
  opacity: 1;
  transition: all 0.7s ease-in-out;
}
.selected-product {
  flex: 3;
  display: flex;
  gap: 24px;
  margin-top: 50px;
}
.selected-product-img {
  border-color: var(--primary);
  width: 50%;
}
.selected-product-info {
  width: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.selected-product-info h1 {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu,
    Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  font-size: 42px;
  font-weight: 700;
  padding-bottom: 16px;
  margin-bottom: 16px;
  margin-right: 40%;
  border-bottom: 1px solid #fff;
}
.selected-product-info li {
  font-size: 16px;
}
.selected-product-info li span {
  color: aquamarine;
}
.selected-product-info li:not(:first-child) {
  padding-top: 12px;
}
.selected-product-info li:last-child {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu,
    Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: gold;
}
.selected-product-info li:last-child span {
  color: gold;
}
.selected-product-info a {
  margin-top: 24px;
}
.selected {
  transform: scale(1.05);
  transition: all 1s ease-in-out;
}
.quiz__next {
  display: none;
}
.selected-product-info li:last-child span.discount-wr,
.selected-product-info li:last-child span.discount-wr .discount {
  font-weight: 700;
  color: red;
}
.labels {
  flex: 1;
  padding-top: 20px;
  text-align: center;
}
.labels {
  max-width: 100%;
  max-height: 80px;
}
.back-to-select {
  position: absolute;
  z-index: 1;
  left: 0;
  bottom: 50px;
  display: inline-block;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}
.back-to-select img {
  width: 32px;
  transform: translateX(-3px) rotate(90deg);
}
@media screen and (max-width: 600px) {
  .products-wr,
  .products {
    flex-direction: column;
  }
  .product.product-main {
    margin-top: 40px;
  }
}
@media screen and (max-width: 1024px) {
  .product-col.empty {
    flex: 0;
  }
}
@media screen and (max-width: 425px) {
  .selected-product {
    padding: 16px;
    border: 1px dashed #ccc;
    border-radius: 10px;
    flex-direction: column;
  }
  .selected-product-img,
  .selected-product-info {
    width: 100%;
  }
  .selected-product-info {
    padding: 0 10px;
  }
  .labels {
    padding-top: 40px;
  }
  .size-products {
    transform: scale(1);
  }
  .selected-product-wr.hidden {
    display: none;
  }
  .back-to-select {
    width: 60px;
    height: 60px;
    left: -35px;
  }
}
.js-modal-ingr {
  color: #682d8c;
}
