.checkout-page__wrap {
  max-width: 1416px;
  margin: 0 auto;
  padding: 0 0 60px;
}

.checkout-page__heading {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  margin-bottom: 24px;
  max-width: calc(100% - 481px);
}

.checkout-page__title {
  font-family: var(--second-family);
  font-weight: 700;
  font-size: 32px;
  line-height: 131%;
  color: var(--novoe-vremea-black);
  margin: 0;
}

.checkout-page__back {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 12px;
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 14px;
  line-height: 171%;
  text-decoration: underline;
  -webkit-text-decoration-skip-ink: none;
          text-decoration-skip-ink: none;
  color: var(--novoe-vremea-gray-2);
  -webkit-transition: color 0.2s;
  transition: color 0.2s;
}
.checkout-page__back:hover {
  color: var(--novoe-vremea-primary-1);
}

.checkout-layout {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 40px;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
}
.checkout-layout .line_sep {
  min-height: 688px;
}

.checkout-form {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  min-width: 0;
}

.checkout-section {
  padding: 20px 0 40px;
}
.checkout-section:first-of-type {
  border-top: 1px solid var(--novoe-vremea-gray-1);
}

.checkout-section__title {
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 24px;
  line-height: 150%;
  color: var(--novoe-vremea-black);
  margin: 0 0 24px;
}

.checkout-row {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 30px;
  margin-bottom: 20px;
}
.checkout-row:last-child {
  margin-bottom: 0;
}

.checkout-field {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  min-width: 0;
  position: relative;
}

.city-dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  z-index: 20;
  background: #fff;
  border: 1px solid var(--novoe-vremea-gray-1);
  border-radius: 5px;
  max-height: 220px;
  overflow-y: auto;
}
.city-dropdown:empty {
  display: none;
}

.city-dropdown__item {
  padding: 10px 16px;
  font-family: var(--font-family);
  font-size: 14px;
  color: var(--novoe-vremea-black);
  cursor: pointer;
  -webkit-transition: background 0.15s, color 0.15s;
  transition: background 0.15s, color 0.15s;
}
.city-dropdown__item:hover, .city-dropdown__item.is-focused {
  color: var(--novoe-vremea-primary-1);
  background: #fdf0f6;
}

.city-dropdown__empty {
  padding: 10px 16px;
  font-family: var(--font-family);
  font-size: 14px;
  color: var(--novoe-vremea-gray-2);
}

.checkout-input {
  width: 100%;
  height: 60px;
  border: 1px solid var(--novoe-vremea-gray-1);
  border-radius: 5px;
  padding: 0 16px;
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 14px;
  line-height: 171%;
  color: var(--novoe-vremea-black);
  background: #fff;
  outline: none;
  -webkit-transition: border-color 0.2s;
  transition: border-color 0.2s;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}
.checkout-input::-webkit-input-placeholder {
  color: var(--novoe-vremea-gray-2);
}
.checkout-input::-moz-placeholder {
  color: var(--novoe-vremea-gray-2);
}
.checkout-input:-ms-input-placeholder {
  color: var(--novoe-vremea-gray-2);
}
.checkout-input::-ms-input-placeholder {
  color: var(--novoe-vremea-gray-2);
}
.checkout-input::placeholder {
  color: var(--novoe-vremea-gray-2);
}
.checkout-input:focus {
  border-color: var(--novoe-vremea-primary-1);
}
.checkout-input.is-error {
  border-color: #e53935;
}

.checkout-field__error {
  display: none;
  font-family: var(--font-family);
  font-size: 12px;
  color: #e53935;
  margin-top: 4px;
}
.checkout-field__error.is-visible {
  display: block;
}

.checkout-select {
  width: 100%;
  height: 56px;
  border: 1px solid var(--novoe-vremea-gray-1);
  border-radius: 4px;
  padding: 0 36px 0 16px;
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 16px;
  line-height: 150%;
  color: var(--novoe-vremea-black);
  background: #fff url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%231D222F' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E") right 16px center no-repeat;
  -webkit-appearance: none;
  -moz-appearance: none;
       appearance: none;
  outline: none;
  cursor: pointer;
  -webkit-transition: border-color 0.2s;
  transition: border-color 0.2s;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}
.checkout-select:focus {
  border-color: var(--novoe-vremea-black);
}
.checkout-select.filled {
  font-weight: 600;
}

.delivery-types {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 30px;
  margin-bottom: 24px;
}

.checkout-field--street {
  margin-bottom: 16px;
}

.delivery-type {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
  gap: 10px;
  padding: 16px;
  border: 1px solid var(--novoe-vremea-background);
  border-radius: 5px;
  cursor: pointer;
  background: #fff;
  -webkit-transition: border-color 0.2s, background 0.2s;
  transition: border-color 0.2s, background 0.2s;
}
.delivery-type .delivery-type__check {
  display: none;
  -ms-flex-negative: 0;
      flex-shrink: 0;
  margin-top: 1px;
}
.delivery-type .delivery-type__radio {
  display: block;
  -ms-flex-negative: 0;
      flex-shrink: 0;
  margin-top: 1px;
}
.delivery-type.active {
  background: var(--novoe-vremea-background);
  border: 1px solid var(--novoe-vremea-background);
}
.delivery-type.active .delivery-type__check {
  display: block;
}
.delivery-type.active .delivery-type__radio {
  display: none;
}
.delivery-type.active .delivery-type__name {
  color: var(--novoe-vremea-primary-1);
}

.delivery-type__name {
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 18px;
  line-height: 144%;
  color: var(--novoe-vremea-black);
  margin-bottom: 4px;
  -webkit-transition: color 0.2s;
  transition: color 0.2s;
}

.delivery-type__desc {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 14px;
  line-height: 171%;
  color: var(--novoe-vremea-black);
}

.delivery-notice {
  border-left: 3px solid var(--novoe-vremea-primary-1);
  padding: 0 24px;
  margin-bottom: 24px;
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 14px;
  line-height: 171%;
  color: var(--novoe-vremea-black);
}
.delivery-notice p {
  margin: 0;
}

.courier-services {
  margin-bottom: 28px;
}

.courier-services__title {
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 18px;
  line-height: 144%;
  color: var(--novoe-vremea-black);
  margin: 0 0 8px;
}

.courier-option {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 10px;
  padding: 7px 0;
  cursor: pointer;
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 16px;
  line-height: 150%;
  color: var(--novoe-vremea-black);
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
}
.courier-option .courier-option__check {
  display: none;
  -ms-flex-negative: 0;
      flex-shrink: 0;
}
.courier-option .courier-option__radio {
  display: block;
  -ms-flex-negative: 0;
      flex-shrink: 0;
}
.courier-option.active {
  font-weight: 600;
}
.courier-option.active .courier-option__check {
  display: block;
}
.courier-option.active .courier-option__radio {
  display: none;
}

.delivery-address {
  border-top: 1px solid var(--novoe-vremea-gray-1);
  padding-top: 30px;
}

.delivery-address__title {
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 18px;
  line-height: 156%;
  color: var(--novoe-vremea-black);
  margin: 0 0 18px;
}

.delivery-address__row--zip {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 30px;
  -webkit-box-align: stretch;
      -ms-flex-align: stretch;
          align-items: stretch;
  margin-bottom: 18px;
}

.delivery-address__row--inline {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 30px;
}

.checkout-field--zip {
  -webkit-box-flex: 0;
      -ms-flex: 0 0 20%;
          flex: 0 0 20%;
}

.checkout-field--street {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
}

.delivery-address__map-btn {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  width: 210px;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 6px;
  padding: 25px 21px;
  border: 1px solid var(--novoe-vremea-gray-1);
  border-radius: 4px;
  background: #fff;
  cursor: pointer;
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 16px;
  line-height: 150%;
  color: var(--novoe-vremea-black);
  white-space: nowrap;
  text-align: left;
  -webkit-transition: border-color 0.2s;
  transition: border-color 0.2s;
  background: var(--novoe-vremea-background);
  margin-bottom: 18px;
}
.delivery-address__map-btn:hover {
  border-color: var(--novoe-vremea-primary-1);
}

.checkout-checkbox {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 10px;
  cursor: pointer;
  margin-top: 16px;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
}
.checkout-checkbox input[type=checkbox] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.checkout-checkbox input[type=checkbox]:checked ~ .checkout-checkbox__box {
  border-color: var(--novoe-vremea-black);
}
.checkout-checkbox input[type=checkbox]:checked ~ .checkout-checkbox__box svg {
  opacity: 1;
}

.checkout-checkbox__box {
  -ms-flex-negative: 0;
      flex-shrink: 0;
  width: 20px;
  height: 20px;
  border: 2px solid var(--novoe-vremea-black);
  border-radius: 4px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-transition: background 0.2s, border-color 0.2s;
  transition: background 0.2s, border-color 0.2s;
  background: #fff;
}
.checkout-checkbox__box svg {
  opacity: 0;
  -webkit-transition: opacity 0.15s;
  transition: opacity 0.15s;
}

.checkout-checkbox__label {
  font-family: var(--font-family);
  font-size: 14px;
  line-height: 150%;
  color: var(--novoe-vremea-black);
}

.pickup-btn {
  height: 60px;
  padding: 0 20px;
  border-radius: 50px;
  backdrop-filter: blur(8px);
  background: var(--novoe-vremea-primary-1);
  border: none;
  cursor: pointer;
  font-family: var(--second-family);
  font-weight: 400;
  font-size: 14px;
  line-height: 171%;
  color: #fff;
  width: 400px;
  -webkit-transition: opacity 0.2s;
  transition: opacity 0.2s;
  display: block;
}
.pickup-btn:hover {
  opacity: 0.88;
}
@media all and (max-width: 767px) {
  .pickup-btn {
    width: 100%;
  }
}

.payment-methods {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1fr 30px 1fr;
  grid-template-columns: 1fr 1fr;
  margin-bottom: 20px;
  gap: 20px 30px;
}

.payment-method {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 10px;
  padding: 18px 16px;
  border-radius: 5px;
  cursor: pointer;
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 16px;
  line-height: 150%;
  color: var(--novoe-vremea-black);
  -webkit-transition: background 0.2s;
  transition: background 0.2s;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
  border: 1px solid var(--novoe-vremea-background);
}
.payment-method .payment-method__check {
  display: none;
  -ms-flex-negative: 0;
      flex-shrink: 0;
}
.payment-method .payment-method__radio {
  display: block;
  -ms-flex-negative: 0;
      flex-shrink: 0;
}
.payment-method.active {
  background: var(--novoe-vremea-background);
  border: 1px solid var(--novoe-vremea-background);
}
.payment-method.active .payment-method__check {
  display: block;
}
.payment-method.active .payment-method__radio {
  display: none;
}

.payment-note {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 12px;
  line-height: 150%;
  color: var(--novoe-vremea-gray-2);
  margin: 0 0 20px;
}

.checkout-textarea {
  width: 100%;
  min-height: 200px;
  border: 1px solid var(--novoe-vremea-gray-1);
  border-radius: 5px;
  padding: 16px;
  font-family: var(--font-family);
  font-size: 14px;
  line-height: 150%;
  color: var(--novoe-vremea-black);
  outline: none;
  resize: vertical;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  -webkit-transition: border-color 0.2s;
  transition: border-color 0.2s;
}
.checkout-textarea::-webkit-input-placeholder {
  color: var(--novoe-vremea-gray-2);
}
.checkout-textarea::-moz-placeholder {
  color: var(--novoe-vremea-gray-2);
}
.checkout-textarea:-ms-input-placeholder {
  color: var(--novoe-vremea-gray-2);
}
.checkout-textarea::-ms-input-placeholder {
  color: var(--novoe-vremea-gray-2);
}
.checkout-textarea::placeholder {
  color: var(--novoe-vremea-gray-2);
}
.checkout-textarea:focus {
  border-color: var(--novoe-vremea-black);
}

.checkout-sidebar {
  -webkit-box-flex: 0;
      -ms-flex: 0 0 400px;
          flex: 0 0 400px;
  width: 400px;
  position: sticky;
  top: 20px;
}

.checkout-sidebar__head {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  margin-bottom: 12px;
}

.checkout-sidebar__title {
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 24px;
  line-height: 150%;
  color: var(--novoe-vremea-black);
  margin: 0;
}

.checkout-sidebar__edit {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 14px;
  line-height: 171%;
  text-decoration: underline;
  -webkit-text-decoration-skip-ink: none;
          text-decoration-skip-ink: none;
  color: var(--novoe-vremea-gray-2);
}
.checkout-sidebar__edit:hover {
  text-decoration: none;
}

.checkout-sidebar__products {
  margin-bottom: 30px;
  padding: 16px 14px 16px;
  background: var(--novoe-vremea-background);
}
.checkout-sidebar__products-inner {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 10px;
  padding-bottom: 10px;
  overflow-x: auto;
}
.checkout-sidebar__products-inner .product-card {
  -webkit-box-flex: 0;
      -ms-flex: 0 0 calc(34% - 7.5px);
          flex: 0 0 calc(34% - 7.5px);
}
.checkout-sidebar__products-inner .product-card .product-card__label--discount {
  border-radius: 64px;
  padding: 0px 11px;
  font-size: 11px;
}
.checkout-sidebar__products-inner .product-card .product-card__labels {
  top: 10px;
  left: 5px;
}
.checkout-sidebar__products-inner .product-card .product-card__wishlist {
  top: 5px;
  right: 6px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
}
.checkout-sidebar__products-inner .product-card .product-card__wishlist img {
  width: 16px;
  height: 16px;
}
.checkout-sidebar__products-inner .product-card .product-card__info {
  padding-top: 5px;
  gap: 7px;
}
.checkout-sidebar__products-inner .product-card .product-card__meta {
  -webkit-box-pack: start;
      -ms-flex-pack: start;
          justify-content: flex-start;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  gap: 10px;
}
.checkout-sidebar__products-inner .product-card .product-card__price-current {
  font-size: 14px;
}
.checkout-sidebar__products-inner .product-card a.product-card__name {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 14px;
  line-height: 150%;
  color: var(--novoe-vremea-black);
}
.checkout-sidebar__products-inner::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
.checkout-sidebar__products-inner::-webkit-scrollbar-track {
  background: var(--novoe-vremea-gray-1);
  border-radius: 30px;
}
.checkout-sidebar__products-inner::-webkit-scrollbar-thumb {
  background: var(--novoe-vremea-primary-1);
  border-radius: 30px;
}

.checkout-sidebar__sep {
  height: 1px;
  background: var(--novoe-vremea-gray-1);
  margin-bottom: 40px;
}

.checkout-product {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  min-width: 0;
}

.checkout-product__img-wrap {
  position: relative;
  margin-bottom: 8px;
}
.checkout-product__img-wrap img {
  width: 100%;
  aspect-ratio: 3/4;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
}

.checkout-product__badge {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 1;
  background: var(--novoe-vremea-primary-1);
  color: #fff;
  font-family: var(--font-family);
  font-size: 11px;
  line-height: 150%;
  padding: 2px 6px;
  border-radius: 20px;
}

.checkout-product__wish {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 1;
  background: none;
  border: none;
  cursor: pointer;
  padding: 2px;
  line-height: 0;
}

.checkout-product__name {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 13px;
  line-height: 140%;
  color: var(--novoe-vremea-black);
  margin-bottom: 5px;
}

.checkout-product__meta {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 4px;
  margin-bottom: 5px;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
}

.checkout-product__tag {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  height: 20px;
  padding: 0 6px;
  border: 1px solid var(--novoe-vremea-gray-1);
  border-radius: 3px;
  font-family: var(--font-family);
  font-size: 11px;
  line-height: 1;
  color: var(--novoe-vremea-black);
}

.checkout-product__meta-label {
  font-family: var(--font-family);
  font-size: 11px;
  color: var(--novoe-vremea-gray-2);
}

.checkout-product__color-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  display: inline-block;
  border: 1px solid rgba(0, 0, 0, 0.1);
  -ms-flex-negative: 0;
      flex-shrink: 0;
}

.checkout-product__prices {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 6px;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
}

.checkout-product__price {
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 13px;
  line-height: 150%;
  color: var(--novoe-vremea-black);
}

.checkout-product__price-old {
  font-family: var(--font-family);
  font-size: 12px;
  line-height: 150%;
  color: var(--novoe-vremea-gray-2);
  text-decoration: line-through;
}

.checkout-select-wrap {
  position: relative;
  width: 100%;
}

.checkout-select__control {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  width: 100%;
  height: 60px;
  border: 1px solid var(--novoe-vremea-gray-1);
  border-radius: 4px;
  padding: 0 36px 0 16px;
  font-family: var(--font-family);
  font-size: 16px;
  line-height: 150%;
  color: var(--novoe-vremea-black);
  background: #fff;
  cursor: pointer;
  -webkit-transition: border-color 0.2s;
  transition: border-color 0.2s;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  position: relative;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
}
.checkout-select__control::after {
  content: "";
  position: absolute;
  right: 16px;
  top: 50%;
  width: 12px;
  height: 8px;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
  background: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%231D222F' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center;
  -webkit-transition: -webkit-transform 0.2s;
  transition: -webkit-transform 0.2s;
  transition: transform 0.2s;
  transition: transform 0.2s, -webkit-transform 0.2s;
}
.checkout-select__control.open {
  border-color: var(--novoe-vremea-primary-1);
}
.checkout-select__control.open::after {
  -webkit-transform: translateY(-50%) rotate(180deg);
          transform: translateY(-50%) rotate(180deg);
}

.checkout-select__dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  z-index: 10;
  background: #fff;
  border: 1px solid var(--novoe-vremea-gray-1);
  border-radius: 5px;
  overflow: hidden;
}

.checkout-select__option {
  padding: 8px 16px;
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 16px;
  line-height: 150%;
  color: var(--novoe-vremea-black);
  cursor: pointer;
  -webkit-transition: background 0.15s, color 0.15s;
  transition: background 0.15s, color 0.15s;
}
.checkout-select__option:hover, .checkout-select__option.active {
  color: var(--novoe-vremea-primary-1);
}

@media all and (max-width: 1300px) {
  .delivery-address__map-btn {
    padding: 9px 13px;
    font-family: var(--font-family);
    font-weight: 600;
    font-size: 14px;
    line-height: 143%;
    color: var(--novoe-vremea-black);
    margin: 0;
    -webkit-box-flex: 0;
        -ms-flex: 0 0 179px;
            flex: 0 0 179px;
  }
  .checkout-page__heading {
    max-width: 100%;
  }
}
@media all and (max-width: 1100px) {
  .checkout-sidebar {
    -webkit-box-flex: 0;
        -ms-flex: 0 0 320px;
            flex: 0 0 320px;
    width: 320px;
  }
}
@media all and (max-width: 1024px) {
  .checkout-layout {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    gap: 20px;
  }
  .checkout-layout .line_sep {
    display: none;
  }
  .checkout-sidebar {
    width: 100%;
    position: static;
  }
}
@media all and (max-width: 767px) {
  .checkout-page__heading {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: start;
        -ms-flex-align: start;
            align-items: flex-start;
    gap: 8px;
    margin-bottom: 16px;
  }
  .checkout-page__title {
    font-size: 24px;
  }
  .checkout-section {
    padding: 20px 0;
    border: none !important;
  }
  .checkout-section__title {
    font-size: 20px;
    margin-bottom: 15px;
  }
  .checkout-row {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    gap: 8px;
    margin-bottom: 8px;
  }
  .delivery-types {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    gap: 18px;
    margin-bottom: 18px;
  }
  .delivery-address {
    padding-top: 18px;
  }
  .courier-services {
    padding: 0 16px;
    margin-bottom: 18px;
  }
  .delivery-address__title {
    font-size: 16px;
  }
  .payment-methods {
    -ms-grid-columns: 1fr;
    grid-template-columns: 1fr;
    gap: 8px;
    margin-bottom: 8px;
  }
  .delivery-address__row--zip {
    gap: 8px;
    margin-bottom: 8px;
  }
  .delivery-address__row--inline {
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    gap: 8px;
  }
  .delivery-address__row--inline .checkout-field {
    -webkit-box-flex: 0;
        -ms-flex: 0 0 calc(50% - 4px);
            flex: 0 0 calc(50% - 4px);
  }
  .checkout-sidebar__products {
    gap: 8px;
  }
  .checkout-sidebar__products {
    display: none;
  }
  .checkout-page__wrap {
    padding-bottom: 20px;
  }
}
.order-success {
  max-width: 690px;
  margin: 0 auto;
  padding: 40px 0 80px;
  text-align: center;
}
.order-success__img {
  margin-bottom: 10px;
  text-align: center;
}
.order-success__img img {
  max-width: 100%;
  display: inline-block;
}
.order-success__title {
  font-family: var(--second-family);
  font-weight: 700;
  font-size: 32px;
  line-height: 131%;
  color: var(--novoe-vremea-black);
  margin: 0 0 18px;
}
.order-success__subtitle {
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 16px;
  line-height: 150%;
  text-align: center;
  color: var(--novoe-vremea-primary-1);
  margin: 0;
}
.order-success__text {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 16px;
  line-height: 150%;
  text-align: center;
  color: var(--novoe-vremea-black);
  margin: 0 0 30px;
}
.order-success__info {
  background: var(--novoe-vremea-background);
  padding: 32px 40px;
  margin-bottom: 10px;
  text-align: left;
}
.order-success__row {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
  gap: 16px;
  padding: 8px 0;
}
.order-success__row:first-child .order-success__label {
  font-weight: 600;
}
.order-success__label {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 18px;
  line-height: 144%;
  color: var(--novoe-vremea-black);
}
.order-success__value {
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 18px;
  line-height: 144%;
  color: var(--novoe-vremea-black);
}
.order-success__value--accent {
  color: var(--novoe-vremea-primary-1);
}
.order-success__note {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 12px;
  line-height: 150%;
  color: var(--novoe-vremea-gray-2);
  margin: 0 0 40px;
  text-align: left;
}
.order-success__btn {
  display: block;
  max-width: 400px;
  margin: 0 auto;
  padding: 18px;
  background: var(--novoe-vremea-primary-1);
  font-family: var(--second-family);
  font-weight: 400;
  font-size: 14px;
  line-height: 171%;
  color: #fff;
  text-align: center;
  border-radius: 100px;
  text-decoration: none;
  -webkit-transition: opacity 0.2s;
  transition: opacity 0.2s;
}
.order-success__btn:hover {
  opacity: 0.85;
}

@media (max-width: 767px) {
  .order-success {
    padding: 24px 0 60px;
  }
  .order-success__title {
    font-size: 23px;
  }
  .order-success__info {
    padding: 20px 16px;
  }
  .order-success__label {
    -webkit-box-flex: 0;
        -ms-flex: 0 0 130px;
            flex: 0 0 130px;
  }
}

/* ---- bx-soa: авторизация + товары в заказе (реальная разметка sale.order.ajax) ---- */

.bx-soa-section {
  padding: 20px 0 40px;
}

#bx-soa-basket {
  border-top: 1px solid var(--novoe-vremea-gray-1);
}

.bx-soa-section-title-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.bx-soa-section-title {
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 24px;
  line-height: 150%;
  color: var(--novoe-vremea-black);
  margin: 0;
}

.bx-soa-section-title-count {
  display: none;
}

.bx-soa-editstep {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 14px;
  line-height: 171%;
  text-decoration: underline;
  text-decoration-skip-ink: none;
  color: var(--novoe-vremea-gray-2);
}
.bx-soa-editstep:hover {
  text-decoration: none;
  color: var(--novoe-vremea-primary-1);
}

/* Товары в заказе */
.bx-soa-item-table {
  display: flex;
  flex-direction: column;
}

.bx-soa-item-tr {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 16px 0;
  border-bottom: 1px solid var(--novoe-vremea-gray-1);
}
.bx-soa-item-tr:last-child {
  border-bottom: none;
}

.bx-soa-item-block {
  display: flex;
  align-items: center;
  gap: 16px;
}

.bx-soa-item-imgcontainer {
  width: 72px;
  height: 72px;
  border-radius: 5px;
  background-size: cover;
  background-position: center;
  background-color: var(--novoe-vremea-background);
  flex-shrink: 0;
}

.bx-soa-item-title a {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 14px;
  line-height: 150%;
  color: var(--novoe-vremea-black);
  text-decoration: none;
}
.bx-soa-item-title a:hover {
  color: var(--novoe-vremea-primary-1);
}

.bx-soa-item-properties {
  text-align: right;
  min-width: 90px;
}

.bx-soa-item-td-title {
  font-family: var(--font-family);
  font-size: 12px;
  color: var(--novoe-vremea-gray-2);
  margin-bottom: 4px;
}

.bx-soa-item-td-text {
  font-family: var(--font-family);
  font-size: 14px;
  color: var(--novoe-vremea-black);
}
.bx-soa-item-td-text .bx-price {
  font-weight: 600;
}

/* "2. Способ доставки" — общий заголовок региона и доставки, повтор скрываем */
#bx-soa-delivery > .bx-soa-section-title-container,
#bx-soa-pickup > .bx-soa-section-title-container {
  display: none;
}

/* 1. Покупатель — поля-свойства заказа (bx-soa-customer-field) */
.bx-soa-customer {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 30px;
}

.bx-soa-customer-field {
  flex: 1 1 calc(50% - 15px);
  min-width: 240px;
}
.bx-soa-customer-field:has(textarea) {
  flex: 1 1 100%;
}

.bx-soa-custom-label,
.bx-soa-customer-label {
  display: block;
  font-family: var(--font-family);
  font-size: 14px;
  color: var(--novoe-vremea-gray-2);
  margin-bottom: 6px;
}

.bx-authform-starrequired {
  color: #e53935;
}

.bx-soa-customer-input,
.soa-property-container textarea,
.bx-soa-customer-textarea {
  width: 100%;
  border: 1px solid var(--novoe-vremea-gray-1);
  border-radius: 5px;
  padding: 0 16px;
  font-family: var(--font-family);
  font-size: 14px;
  color: var(--novoe-vremea-black);
  background: #fff;
  outline: none;
  transition: border-color 0.2s;
  box-sizing: border-box;
}
.bx-soa-customer-input {
  height: 60px;
}
.soa-property-container textarea,
.bx-soa-customer-textarea {
  min-height: 90px;
  padding: 14px 16px;
  resize: vertical;
}
.bx-soa-customer-input:focus,
.soa-property-container textarea:focus,
.bx-soa-customer-textarea:focus {
  border-color: var(--novoe-vremea-primary-1);
}

/* Далее/Назад между шагами — своей вёрстки под это в макете нет,
   держим в том же визуальном языке, но менее акцентно чем "Оформить заказ" */
.bx-soa-more-btn {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 24px;
}
.bx-soa-more-btn .btn.btn-default {
  display: inline-block;
  padding: 14px 28px;
  border: 1px solid var(--novoe-vremea-gray-1);
  border-radius: 100px;
  background: #fff;
  font-family: var(--second-family);
  font-weight: 400;
  font-size: 14px;
  line-height: 1;
  color: var(--novoe-vremea-black);
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s;
}
.bx-soa-more-btn .btn.btn-default:hover {
  border-color: var(--novoe-vremea-primary-1);
  color: var(--novoe-vremea-black);
}
.bx-soa-more-btn .btn.btn-default.pull-right {
  background: var(--novoe-vremea-primary-1);
  border-color: var(--novoe-vremea-primary-1);
  color: #fff;
}
.bx-soa-more-btn .btn.btn-default.pull-right:hover {
  opacity: 0.85;
  color: #fff;
}

/* Оформить заказ в сайдбаре "Итого" (десктоп + мобильный дубль
   #bx-soa-total-mobile) — во всю ширину колонки. .btn-default нужен
   в селекторе, чтобы специфичность не проигрывала теме bx-blue
   (.bx-blue .btn.btn-default, 3 класса) */
.btn.btn-default.btn-order-save {
  display: block;
  width: 100%;
  padding: 18px;
  border: none;
  border-radius: 100px;
  background: var(--novoe-vremea-primary-1);
  font-family: var(--second-family);
  font-weight: 400;
  font-size: 14px;
  line-height: 1;
  color: #fff;
  text-align: center;
  cursor: pointer;
  transition: opacity 0.2s;
  box-sizing: border-box;
}
.btn.btn-default.btn-order-save:hover {
  opacity: 0.85;
  color: #fff;
}

/* Оформить заказ под "Товары в заказе" (#bx-soa-orderSave) — как кнопка
   "Далее", не на всю ширину блока */
#bx-soa-orderSave {
  display: flex;
  justify-content: flex-end;
}
#bx-soa-orderSave .btn.btn-default {
  display: inline-block;
  width: auto;
  padding: 14px 28px;
  border: none;
  border-radius: 100px;
  background: var(--novoe-vremea-primary-1);
  font-family: var(--second-family);
  font-weight: 400;
  font-size: 14px;
  line-height: 1;
  color: #fff;
  text-align: center;
  cursor: pointer;
  transition: opacity 0.2s;
  box-sizing: border-box;
}
#bx-soa-orderSave .btn.btn-default:hover {
  opacity: 0.85;
  color: #fff;
}

/* Сайдбар "Итого": в компоненте это JS-переключение position:fixed по scroll
   (main/style.css .bx-soa-cart-total-fixed, top:10px) — глючит при смене
   высоты секций аккордеоном (защёлкивается в fixed без скролла, наезжает
   на хедер). В макете это обычный CSS position:sticky — заменяем на него. */
#bx-soa-total .bx-soa-cart-total {
  position: sticky !important;
  top: 20px !important;
  left: auto !important;
  right: auto !important;
  width: auto !important;
}
.bx-soa-cart-total-ghost {
  display: none !important;
}

/* 2. Способ доставки / 3. Способ оплаты — общая разметка bx-soa-pp,
   одинаковая для delivery и paysystem: плитки слева + карточка описания справа */
.bx-soa-pp {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: flex-start;
}
.bx-soa-pp-item-container {
  flex: 1 1 320px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.bx-soa-pp-desc-container {
  flex: 1 1 280px;
  min-height: 220px;
  padding: 20px;
  background: var(--novoe-vremea-background);
  border-radius: 5px;
}

/* Заскоуплено на item-container: класс .bx-soa-pp-company Bitrix переиспользует
   и для обёртки текста в панели описания справа — без скоупа она тоже
   ужималась в треть ширины и центрировалась как плитка */
.bx-soa-pp-item-container .bx-soa-pp-company {
  flex: 1 1 140px;
  max-width: calc(33.333% - 11px);
  border: 1px solid var(--novoe-vremea-gray-1);
  border-radius: 5px;
  padding: 16px;
  text-align: center;
  cursor: pointer;
  background: #fff;
  transition: border-color 0.2s, background 0.2s;
}
.bx-soa-pp-item-container .bx-soa-pp-company.bx-selected {
  background: var(--novoe-vremea-background);
  border-color: var(--novoe-vremea-primary-1);
}

.bx-soa-pp-company-graf-container {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.bx-soa-pp-company-checkbox {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  cursor: pointer;
  z-index: 1;
}
.bx-soa-pp-company-image {
  width: 48px;
  height: 48px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}
.bx-soa-pp-delivery-cost {
  position: static;
  background: none;
  padding: 0;
  border-radius: 0;
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 14px;
  line-height: normal;
  color: var(--novoe-vremea-primary-1);
}
.bx-soa-pp-company-smalltitle {
  margin-top: 8px;
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 15px;
  line-height: 130%;
  color: var(--novoe-vremea-black);
}

.bx-soa-pp-desc-container .bx-soa-pp-company-subTitle {
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 18px;
  color: var(--novoe-vremea-black);
  margin-bottom: 12px;
}
.bx-soa-pp-desc-container .bx-soa-pp-company-logo {
  display: none;
}
.bx-soa-pp-company-desc {
  font-family: var(--font-family);
  font-size: 14px;
  line-height: 150%;
  color: var(--novoe-vremea-black);
}
.bx-soa-pp-list {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
}
.bx-soa-pp-list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 4px 0;
  font-family: var(--font-family);
  font-size: 14px;
  white-space: nowrap;
}
.bx-soa-pp-list-termin {
  color: var(--novoe-vremea-gray-2);
}

.bx-soa-coupon {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--novoe-vremea-gray-1);
}
.bx-soa-coupon-label label {
  display: block;
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 14px;
  color: var(--novoe-vremea-black);
  margin-bottom: 8px;
}
.bx-soa-coupon-block {
  display: flex;
  gap: 12px;
  max-width: 400px;
}
.bx-soa-coupon-input {
  flex: 1;
}
.bx-soa-coupon-input input {
  width: 100%;
  height: 56px;
  border: 1px solid var(--novoe-vremea-gray-1);
  border-radius: 5px;
  padding: 0 16px;
  font-family: var(--font-family);
  font-size: 14px;
  color: var(--novoe-vremea-black);
  outline: none;
  transition: border-color 0.2s;
  box-sizing: border-box;
}
.bx-soa-coupon-input input:focus {
  border-color: var(--novoe-vremea-primary-1);
}

/* Предупреждение о невозможности рассчитать стоимость (например СДЭК без
   настроенных тарифов) — тот же паттерн, что .delivery-notice в макете:
   левая цветная полоса вместо дефолтной жёлтой bootstrap-плашки */
.alert-warning {
  background: var(--novoe-vremea-background);
  border: none;
  border-left: 3px solid var(--novoe-vremea-primary-1);
  border-radius: 0;
  color: var(--novoe-vremea-black);
  padding: 16px 24px;
}
.alert-warning strong {
  display: block;
  margin-bottom: 4px;
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 14px;
  color: var(--novoe-vremea-black);
}
.alert-warning small {
  display: block;
  font-family: var(--font-family);
  font-size: 13px;
  line-height: 150%;
  color: var(--novoe-vremea-gray-2);
}

.bx-soa-section.bx-step-warning {
  border: 1px solid var(--novoe-vremea-primary-1);
}

@media (max-width: 767px) {
  .bx-soa-pp-item-container .bx-soa-pp-company {
    max-width: calc(50% - 8px);
  }
}

@media (max-width: 767px) {
  .bx-soa-section-title {
    font-size: 20px;
  }
  .bx-soa-item-tr {
    flex-wrap: wrap;
    gap: 8px 16px;
  }
  .bx-soa-item-block {
    flex: 1 1 100%;
  }
  .bx-soa-item-properties {
    text-align: left;
    min-width: 0;
  }
}
}