:root {
  --font-main: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica,
    Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';

  --black: #000;
  --white: #fff;
  --accent: #e30613;
}
.page {
  font-family: var(--font-main);
}
.order {
  padding-inline: 5px;
}
.order__wrapper {
  display: flex;
  flex-direction: column;
  max-width: 500px;
  width: 100%;
  margin-inline: auto;
  margin-block: 20px;
  padding: 30px;
  border: 1px solid var(--black);
  border-radius: 20px;
}
.order__title {
  text-align: center;
  color: var(--accent);
  text-transform: uppercase;
  font-size: clamp(1.5rem, 1.318rem + 0.91vw, 2rem);
  font-weight: bold;
  margin-bottom: 10px;
}
.order__subtitle {
  text-align: center;
  text-transform: uppercase;
  font-size: clamp(1.125rem, 0.989rem + 0.68vw, 1.5rem);
  font-weight: 500;
  margin-bottom: 20px;
}
.order__subtitle span {
  color: var(--accent);
}
.order__product {
  position: relative;
  margin-bottom: 20px;
  max-width: 330px;
  width: 100%;
  margin-inline: auto;
}
.order__product-bage {
  position: absolute;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  max-width: 70px;
  height: 100%;
}
.order__product-image {
  /* position: relative; */
  max-width: 310px;
  width: 100%;
  margin-inline: auto;
}
.order__product-image::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  background-image: url(./../images/stars.svg);
  background-repeat: no-repeat;
  background-size: contain;
  width: 120px;
  height: 40px;
}
.order__product-image::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  background-image: url(./../images/arrow-down.svg);
  background-repeat: no-repeat;
  background-size: contain;
  width: 75px;
  height: 200px;
}
.order__price {
  position: relative;
  max-width: 330px;
  width: 100%;
  margin-inline: auto;
  background-image: linear-gradient(90deg, #bbbbbb, #ffffff, #bbbbbb);
  padding-block: 10px;
  margin-bottom: 20px;
}
.order__price-text {
  background-color: var(--accent);
  color: var(--white);
  font-size: clamp(1rem, 0.864rem + 0.68vw, 1.375rem);
  font-weight: bold;
  padding: 10px 120px 10px 10px;
}
.order__price-circle {
  position: absolute;
  top: -40px;
  right: 0;
  border-radius: 50%;
  background-image: linear-gradient(90deg, #bbbbbb, #ffffff, #bbbbbb);
  width: 120px;
  aspect-ratio: 1;
  color: var(--white);
  padding: 5px;
}
.order__price-circle-wrap {
  background-color: var(--accent);
  width: 100%;
  height: 100%;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.order__price-old {
  text-decoration: line-through;
  font-size: clamp(0.875rem, 0.739rem + 0.68vw, 1.25rem);
}
.order__price-new {
  font-weight: bold;
  font-size: clamp(1rem, 0.864rem + 0.68vw, 1.375rem);
}
.order__instruction {
  text-align: center;
  margin-bottom: 20px;
}
.order__instruction-marker {
  color: var(--accent);
  font-weight: bold;
}
.order__form {
  display: flex;
  flex-direction: column;
  row-gap: 15px;
}
.order__form-input {
  max-width: 330px;
  width: 100%;
  margin-inline: auto;
  border: 1px solid var(--black);
  border-radius: 6px;
  padding: 14px 12px;
}
.order__form-button {
  max-width: 330px;
  width: 100%;
  margin-inline: auto;
  border-radius: 6px;
  background-color: var(--accent);
  padding-block: 15px;
  margin-bottom: 20px;
  padding: 10px;
}
.order__form-button-text {
  display: flex;
  align-items: center;
  justify-content: center;
  column-gap: 5px;
  color: var(--white);
  font-size: clamp(0.875rem, 0.784rem + 0.45vw, 1.125rem);
  font-weight: bold;
  text-transform: uppercase;
}
.order__form-button-text::before {
  content: '';
  background-image: url(./../images/basket-icon.svg);
  background-repeat: no-repeat;
  background-size: contain;
  width: 20px;
  height: 20px;
}
.order__form-button-text::after {
  content: '';
  background-image: url(./../images/button-arrow-icon.svg);
  background-repeat: no-repeat;
  background-size: contain;
  width: 15px;
  height: 15px;
}
.order__trust {
  display: flex;
  flex-direction: column;
  background-color: #f8f8f8;
  border: 1px solid #dedede;
  border-radius: 6px;
  max-width: 330px;
  width: 100%;
  margin-inline: auto;
  font-size: clamp(0.875rem, 0.784rem + 0.45vw, 1.125rem);
}
.order__trust-row {
  display: flex;
  padding: 10px;
}
.order__trust-row p {
  text-align: center;
}
.order__trust-row-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  column-gap: 10px;
  border-top: 1px solid #dedede;
}
@media (max-width: 459px) {
  .order__wrapper {
    padding: 10px;
  }
}