:root {
  color: #252a32;
  background: #fcfbf4;
  font-family: "Noto Sans", "Archivo", Arial, sans-serif;
  font-synthesis: none;
  --purple: #5b146f;
  --deep-purple: #37007e;
  --panel: #f5f4ec;
  --green: #0fb87c;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: #fcfbf4;
}

body {
  margin: 0;
  background: #fcfbf4;
  color: #252a32;
  font-family: "Archivo", Arial, sans-serif;
  font-size: 14px;
}

img {
  display: block;
  max-width: 100%;
}

button,
input,
select,
textarea {
  font: inherit;
}

p,
h1,
h2,
h3 {
  margin-top: 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.sale-bar {
  width: 100%;
  padding: 10px 10px 9px;
  background: #000;
  color: #fff;
  text-align: center;
}

.sale-bar__top {
  display: flex;
  align-items: center;
  width: min(100%, 1170px);
  min-height: 54px;
  margin: 0 auto;
}

.sale-bar__top img {
  width: 60px;
  height: auto;
  margin-left: max(0px, calc(20% - 60px));
  object-fit: contain;
}

.sale-bar__top p {
  flex: 1;
  margin: 0;
  padding: 5px 65px 0 5px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
}

.sale-bar__top span {
  color: #d7cbff;
}

.sale-bar__divider {
  height: 1px;
  margin: 9px 10px;
  background: #606060;
}

.reservation {
  margin: 0 15px;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  line-height: 18px;
}

.reservation strong {
  color: #beabfd;
}

.intro {
  width: min(100%, 1170px);
  margin: 0 auto 5px;
  padding: 0 10px;
  text-align: center;
}

.intro__logo {
  width: 220px;
  height: auto;
  margin: 10px auto 5px;
  object-fit: contain;
  filter: brightness(0) saturate(100%) invert(14%) sepia(75%) saturate(4650%) hue-rotate(274deg) brightness(75%);
}

.intro__spots {
  margin: 0 0 5px;
  padding: 10px 0;
  color: #a38eeb;
  font-size: 18px;
  line-height: 1.3;
}

.intro__guarantee {
  margin: 0;
  color: var(--deep-purple);
  font-size: 18px;
  line-height: 1.3;
}

.checkout-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: min(100%, 1170px);
  margin: 0 auto 10px;
  padding: 0 10px;
}

.checkout-layout__column {
  min-width: 0;
}

.panel {
  margin: 10px 5px;
  padding: 10px;
  border: 1px solid #f2f2f2;
  border-radius: 10px;
  background: var(--panel);
  text-align: left;
}

.panel--sticky {
  position: sticky;
  top: 0;
  border: 0;
  padding-top: 20px;
}

.step-title {
  margin: 0;
  padding: 10px 5px;
  color: #323232;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
}

.step-subtitle {
  margin: 0 0 10px;
  padding: 0 5px 5px;
  color: #323232;
  font-size: 14px;
}

.field {
  display: block;
  margin: 0 0 10px;
  color: #252a32;
  font-size: 14px;
}

.field > span {
  display: block;
  margin-bottom: 5px;
}

.field--no-label {
  margin-top: -5px;
}

.field input,
.field select,
.field textarea {
  display: block;
  width: 100%;
  min-height: 43px;
  padding: 11px 12px;
  border: 0;
  border-radius: 3px;
  outline: 1px solid transparent;
  background: #fff;
  color: #000;
  font-size: 14px;
  transition: outline-color 120ms ease;
}

.field textarea {
  min-height: 92px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline-color: #8d64b3;
}

.field [aria-invalid="true"] {
  outline-color: #c92020;
}

.products {
  min-width: 0;
  margin: 10px 0 0;
  padding: 10px;
  border: 0;
  border-radius: 10px;
  background: #fff;
}

.products__header {
  display: grid;
  grid-template-columns: 1fr 115px;
  padding: 0 4px 7px;
  color: var(--purple);
  font-size: 13px;
  font-weight: 700;
}

.products__header span:last-child {
  text-align: right;
}

.product {
  position: relative;
  display: grid;
  grid-template-columns: 24px 1fr 105px;
  align-items: center;
  gap: 8px;
  min-height: 92px;
  margin: 7px 0;
  padding: 23px 10px;
  border: 1px solid #dedede;
  border-radius: 6px;
  background: #fff;
  color: #252a32;
  cursor: pointer;
}

.product--tagged {
  padding-top: 30px;
  padding-bottom: 20px;
}

.product:has(input:checked) {
  border: 2px solid var(--purple);
  padding-right: 9px;
  padding-left: 9px;
  background: #fcf8ff;
}

.product input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.product__check {
  width: 19px;
  height: 19px;
  border: 2px solid #a5a5a5;
  border-radius: 50%;
  background: #fff;
}

.product input:checked ~ .product__check {
  border: 5px solid var(--purple);
}

.product__tag {
  position: absolute;
  top: -11px;
  left: 10px;
  padding: 4px 12px;
  border-radius: 12px;
  background: var(--purple);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
}

.product__name {
  font-size: 14px;
  line-height: 1.3;
}

.product__name em {
  display: inline-block;
  margin-right: 3px;
  padding: 2px 5px;
  border-radius: 3px;
  background: #ff0000;
  color: #fff;
  font-size: 10px;
  font-style: normal;
  font-weight: 700;
}

.product__price {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  text-align: right;
}

.product__price s {
  color: #bbb;
  font-size: 17px;
  font-weight: 700;
}

.product__price strong {
  color: #3d1466;
  font-size: 18px;
}

.product__price small {
  color: #008a00;
  font-size: 12px;
  font-weight: 700;
}

.order-bump {
  display: block;
  margin: 15px 0 0;
  padding: 10px;
  border: 2px dotted #9000ff;
  border-radius: 6px;
  background: #fdf4ff;
  color: #444;
  cursor: pointer;
}

.order-bump--large {
  margin-bottom: 10px;
}

.order-bump:has(input:checked) {
  background: #f4e2fa;
}

.order-bump__headline {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: #303030;
  font-family: "Montserrat", sans-serif;
  font-size: 17px;
  line-height: 1.25;
}

.order-bump__headline input {
  flex: 0 0 auto;
  width: 17px;
  height: 17px;
  margin: 2px 0 0;
  accent-color: #9000ff;
}

.order-bump__content {
  display: block;
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.45;
}

.order-bump__content b {
  color: #f00;
}

.order-bump__content--media {
  display: grid;
  grid-template-columns: 71px 1fr;
  gap: 12px;
}

.order-bump__content--media img {
  width: 71px;
  height: 71px;
  object-fit: cover;
}

.order-bump__content .green {
  color: #257e00;
}

.order-bump__content small {
  font-size: 13px;
}

.payment-heading p {
  margin: -4px 5px 0;
  font-size: 14px;
}

.payment-box {
  margin: 10px 0;
  overflow: hidden;
  border: 1px solid #ddd;
  border-radius: 6px;
  background: #fff;
}

.payment-methods {
  min-height: 82px;
}

.payment-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 82px;
  color: #606060;
}

.spinner {
  width: 24px;
  height: 24px;
  border: 3px solid #dedede;
  border-top-color: var(--purple);
  border-radius: 50%;
  animation: spin 0.65s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.payment-choice {
  border-bottom: 1px solid #e7e7e7;
}

.payment-choice:last-child {
  border-bottom: 0;
}

.payment-choice__label {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  padding: 12px 14px;
  cursor: pointer;
}

.payment-choice__label input {
  width: 17px;
  height: 17px;
  accent-color: var(--purple);
}

.payment-choice__label strong {
  flex: 1;
}

.payment-choice__icon {
  color: var(--purple);
  font-size: 18px;
}

.payment-choice__details {
  display: none;
  padding: 0 14px 14px 41px;
}

.payment-choice:has(input:checked) .payment-choice__details {
  display: block;
}

.payment-choice__details select {
  width: 100%;
  min-height: 42px;
  padding: 9px 10px;
  border: 1px solid #d4d4d4;
  border-radius: 4px;
  background: #fff;
}

.payment-note {
  margin: 0;
  padding: 9px 12px;
  border-top: 1px solid #eee;
  background: #fafafa;
  color: #696969;
  font-size: 11px;
  text-align: center;
}

.order-summary {
  margin-top: 10px;
  border-top: 1px solid #afafaf56;
  border-bottom: 1px solid #afafaf56;
  border-radius: 10px;
}

.summary-lines {
  padding: 0 10px;
}

.summary-line,
.summary-total {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 9px 0;
  color: #535353;
  font-size: 13px;
}

.summary-line + .summary-line {
  border-top: 1px solid #eee;
}

.summary-line span:first-child {
  max-width: 75%;
}

.summary-total {
  margin: 0 10px;
  border-top: 1px solid #d5d5d5;
  font-size: 16px;
}

.checkout-message {
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 5px;
  font-size: 13px;
  line-height: 1.4;
}

.checkout-message--error {
  border: 1px solid #e3a5a5;
  background: #fff1f1;
  color: #8a1717;
}

.checkout-message--success {
  border: 1px solid #8bceb6;
  background: #edfdf6;
  color: #0c6b4a;
}

.order-button {
  display: block;
  width: 100%;
  margin-top: 10px;
  padding: 17px 8px;
  border: 0;
  border-radius: 3px;
  background: var(--green);
  color: #f6f9fe;
  font-size: 16px;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
}

.order-button:hover {
  background: #0da86f;
}

.order-button:disabled {
  cursor: wait;
  opacity: 0.65;
}

.secure-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin-top: 10px;
  padding: 10px;
  color: #4a4a4a;
  text-align: left;
}

.secure-row__lock {
  font-size: 23px;
}

.secure-row span:last-child {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.secure-row small {
  color: #777;
  font-size: 11px;
}

.money-back {
  display: grid;
  grid-template-columns: 80px 1fr;
  align-items: center;
  gap: 10px;
  margin: 20px 0;
}

.money-back img {
  width: 80px;
}

.money-back p {
  margin: 0;
  color: #040404;
  font-size: 14px;
  line-height: 1.3;
  letter-spacing: 0.5px;
}

.statement-note {
  margin: 10px 0 0;
  padding: 5px;
  color: #252a32;
  font-size: 14px;
  line-height: 1;
  text-align: center;
}

.social-proof-image {
  margin: 10px 5px 30px;
  text-align: center;
}

.social-proof-image h2 {
  margin: 0 5px 10px;
  padding: 5px 0;
  color: #000;
  font-size: 20px;
  line-height: 1.3;
}

.social-proof-image img {
  width: 100%;
  height: auto;
}

.reviews-heading {
  min-height: 160px;
  padding: 50px 10px 20px;
  background: url("./assets/checkout/1730361886-image-backgorund.png") center top / 100% auto no-repeat;
  text-align: center;
}

.reviews-heading h2 {
  margin: 0;
  color: var(--purple);
  font-size: 32px;
}

.reviews {
  width: min(100%, 1170px);
  margin: 0 auto;
  padding: 0 10px 30px;
}

.reviews__score {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin: 20px 0 10px;
  font-size: 18px;
}

.reviews__score img {
  width: 100px;
}

.reviews__score p {
  margin: 0;
}

.reviews__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: 18px;
}

.review-card {
  overflow: hidden;
  margin-bottom: 18px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 2px 12px rgba(43, 24, 48, 0.12);
}

.review-card__cover {
  width: 100%;
  aspect-ratio: 1.75 / 1;
  object-fit: cover;
}

.review-card__body {
  padding: 15px;
  color: #303030;
  line-height: 1.45;
}

.review-card h3 {
  margin: 0 0 10px;
  font-size: 17px;
  line-height: 1.25;
}

.review-card p {
  margin-bottom: 12px;
}

.review-card__author {
  display: grid;
  grid-template-columns: 54px 1fr;
  align-items: center;
  gap: 10px;
  margin: 12px 0;
}

.review-card__author img {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  object-fit: cover;
}

.review-card__author span {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.review-card__author b {
  color: #eb6300;
  font-size: 13px;
}

.review-card__body > small {
  color: #767676;
}

@media (max-width: 700px) {
  .sale-bar__top img {
    margin-left: 0;
  }

  .sale-bar__top p {
    padding-right: 5px;
    font-size: 17px;
  }

  .intro__spots {
    font-size: 15px;
  }

  .intro__guarantee {
    font-size: 14px;
  }

  .checkout-layout {
    grid-template-columns: 1fr;
  }

  .panel--sticky {
    position: static;
  }

  .step-title {
    font-size: 16px;
  }

  .products {
    padding: 8px;
  }

  .product {
    grid-template-columns: 20px 1fr 87px;
    gap: 6px;
    padding-right: 7px;
    padding-left: 7px;
  }

  .product__name {
    font-size: 12px;
  }

  .product__price s,
  .product__price strong {
    font-size: 15px;
  }

  .order-summary {
    display: none;
  }

  .social-proof-image h2 {
    font-size: 18px;
  }

  .reviews-heading {
    min-height: 110px;
    padding-top: 30px;
  }

  .reviews-heading h2 {
    font-size: 25px;
  }

  .reviews__grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
