.check-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem clamp(1.1rem, 3vw, 2rem);
}

.check-nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--ink);
  text-decoration: none;
}

.check-nav__mark {
  display: block;
  width: 1.85rem;
  height: 1.85rem;
}

.check-nav__name {
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: lowercase;
}

.check-nav__back {
  font-size: 0.82rem;
  font-weight: 400;
  color: rgba(20, 20, 20, 0.5);
  text-decoration: none;
}

.checkout {
  width: 100%;
  padding: 0.5rem clamp(1.1rem, 3vw, 2rem) clamp(3rem, 6vw, 4.5rem);
}

.checkout__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 0.75rem;
  align-items: start;
}

.checkout__panel {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border-radius: 1.15rem;
  background: #ecece8;
}

.checkout__panel--form {
  background: #141414;
  color: #f4f4f2;
}

.checkout__label {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: lowercase;
  color: rgba(20, 20, 20, 0.42);
}

.checkout__panel--form .checkout__block-label {
  color: rgba(244, 244, 242, 0.42);
}

.checkout__title {
  margin-top: -0.65rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.4vw, 2.75rem);
  font-weight: 400;
  font-style: italic;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.checkout__product {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 0 0.25rem;
}

.checkout__product-name {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 400;
  font-style: italic;
  letter-spacing: -0.03em;
}

.checkout__product-text {
  margin-top: 0.35rem;
  max-width: 16rem;
  font-size: 0.88rem;
  line-height: 1.5;
  color: rgba(20, 20, 20, 0.55);
}

.checkout__product-price {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-style: italic;
  letter-spacing: -0.03em;
}

.checkout__block {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.checkout__block-label {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: lowercase;
  color: rgba(20, 20, 20, 0.42);
}

.checkout__options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.checkout__chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 2.3rem;
  padding: 0 1.05rem;
  border: 1px solid rgba(20, 20, 20, 0.14);
  border-radius: 999px;
  background: transparent;
  color: rgba(20, 20, 20, 0.72);
  font: inherit;
  font-size: 0.78rem;
  cursor: pointer;
}

.checkout__chip.is-active {
  border-color: transparent;
  background: #141414;
  color: #f4f4f2;
}

.checkout__summary {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  padding-top: 0.35rem;
}

.checkout__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.9rem;
  color: rgba(20, 20, 20, 0.55);
}

.checkout__row--total {
  padding-top: 0.55rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-style: italic;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.checkout__fields {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.checkout__fields--split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
}

.checkout__field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.checkout__field-label {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: lowercase;
  color: rgba(244, 244, 242, 0.42);
}

.checkout__input {
  width: 100%;
  height: 2.75rem;
  padding: 0 0.95rem;
  border: 1px solid rgba(244, 244, 242, 0.12);
  border-radius: 0.75rem;
  background: rgba(244, 244, 242, 0.06);
  color: #f4f4f2;
  font: inherit;
  font-size: 0.9rem;
}

.checkout__input::placeholder {
  color: rgba(244, 244, 242, 0.28);
}

.checkout__pay {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
}

.checkout__pay-option {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.2rem;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(244, 244, 242, 0.12);
  border-radius: 0.85rem;
  background: transparent;
  color: #f4f4f2;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.checkout__pay-option.is-active {
  border-color: transparent;
  background: #f4f4f2;
  color: #141414;
}

.checkout__pay-name {
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.checkout__pay-note {
  font-size: 0.72rem;
  color: rgba(244, 244, 242, 0.4);
}

.checkout__pay-option.is-active .checkout__pay-note {
  color: rgba(20, 20, 20, 0.45);
}

.checkout__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 3rem;
  margin-top: 0.25rem;
  border: none;
  border-radius: 999px;
  background: #f4f4f2;
  color: #141414;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  cursor: pointer;
}

.checkout__fine {
  font-size: 0.78rem;
  line-height: 1.45;
  color: rgba(244, 244, 242, 0.38);
}

@media (max-width: 900px) {
  .checkout__grid {
    grid-template-columns: 1fr;
  }

  .checkout__panel,
  .checkout__panel--form {
    border-radius: 0.9rem;
  }

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