/* custom-checkout styles start */
/* custom-checkout.php: Custom Checkout Shortcode */
.wtco {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 564px;
  gap: 76px;
  align-items: start;
}
.wtco__left {
  display: flex;
  flex-direction: column;
  gap: 52px;
}
.wtco__section {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.wtco__title {
  margin: 0;
  font-family: var(--wt-font);
  color: var(--wt-color-text);
  font-size: clamp(34px, 2.8vw, 56px);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 0.96;
}

.wtco__buyer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 30px;
}
.wtco__buyer-grid .wt-lf__row:nth-child(3) {
  grid-column: 1 / -1;
}
.wtco .wt-lf__row {
  margin-bottom: 0;
}
.wtco .wt-lf__label {
  opacity: 1;
  display: inline-block;
  margin-bottom: 18px;
  color: var(--wt-color-text-78);
  font-size: 15px;
  line-height: 1.2;
}
.wtco .wt-lf__input {
  border-radius: 0;
  padding: 0 0 18px;
  outline: none;
  width: 100%;
  background: transparent;
  color: var(--wt-color-text);
  font-size: 18px;
  line-height: 1.2;
}
.wtco .wt-lf__input::placeholder {
  color: var(--wt-color-text-50);
  opacity: 1;
}

.wtco__search {
  position: relative;
  display: block;
}
.wtco__search .wt-lf__input {
  padding-right: 40px;
}
.wtco__search-ico {
  position: absolute;
  right: 8px;
  bottom: 16px;
  color: var(--wt-color-text);
  opacity: 0.68;
  pointer-events: none;
  line-height: 1;
}

.wtco__options {
  display: grid;
  gap: 22px;
}
.wtco__options--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.wtco__option {
  display: block;
}
.wtco__option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.wtco__option-box {
  height: 100%;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(45, 42, 45, 0.28);
  border-radius: 22px !important;
  padding: 18px 22px 20px;
  min-height: 182px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  cursor: pointer;
  background: var(--wt-bg-base);
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}
.wtco__option-head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.wtco__option-title {
  margin-right: auto;
  font-size: 18px;
  line-height: 1.18;
  color: var(--wt-color-text);
}
.wtco__option-price {
  font-weight: 400;
  font-size: 17px;
  line-height: 1.2;
  color: var(--wt-color-text);
}
.wtco__option-text {
  margin-top: auto;
  max-width: 92%;
  color: var(--wt-color-text-72);
  font-size: 15px;
  line-height: 1.28;
}
.wtco__option-dot {
  width: 22px;
  height: 22px;
  border-radius: var(--wt-radius-round);
  border: 1px solid rgba(45, 42, 45, 0.26);
  background: var(--wt-color-text-16);
  display: inline-block;
  flex: 0 0 22px;
  transition:
    border-color 0.2s ease,
    background-color 0.2s ease;
}
.wtco__option:hover .wtco__option-box {
  border-color: var(--wt-color-accent-soft-45);
  box-shadow: 0 10px 28px var(--wt-color-text-06);
}
.wtco__option input:checked + .wtco__option-box {
  border-color: var(--wt-color-accent);
  box-shadow: inset 0 0 0 1px var(--wt-color-accent-soft-35);
}
.wtco__option input:checked + .wtco__option-box .wtco__option-dot {
  border-color: var(--wt-color-accent);
  background: rgba(187, 133, 140, 0.22);
  position: relative;
}
.wtco__option input:checked + .wtco__option-box .wtco__option-dot::after {
  content: "";
  position: absolute;
  inset: 5px;
  border-radius: var(--wt-radius-round);
  background: var(--wt-color-accent);
}

.wtco__option--pay .wtco__option-box {
  min-height: 100px;
  justify-content: center;
}
.wtco__parts-badge {
  background: var(--wt-color-text);
  color: var(--wt-white);
  padding: 9px 12px 8px;
  margin-left: auto;
  text-transform: uppercase;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.01em;
  font-size: 12px;
  border-radius: 6px !important;
}

.wtco__summary {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.wtco__line {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  color: var(--wt-color-text);
}
.wtco__line span:last-child {
  text-align: right;
  white-space: nowrap;
  font-weight: 400;
}
.wtco__line--divided {
  border-top: 1px solid rgba(187, 133, 140, 0.38);
  padding-top: 18px;
}
.wtco__meta {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-top: 4px;
}
.wtco__meta u {
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}
.wtco__total {
  margin-top: 10px;
  padding-top: 6px;
  align-items: flex-end;
}
.wtco__total span:first-child {
  font-size: 18px;
  line-height: 1.2;
}
.wtco__total span:last-child {
  font-size: clamp(40px, 3.3vw, 52px);
  line-height: 0.92;
  letter-spacing: -0.04em;
}

.wtco__promo {
  display: flex;
  position: relative;
  margin: 6px 0 2px;
}
.wtco__promo input {
  width: 100%;
  min-height: 64px;
  padding: 18px 62px 18px 30px;
  border: 1px solid rgba(187, 133, 140, 0.58);
  border-radius: var(--wt-radius-pill) !important;
  outline: none;
  background: var(--wt-bg-base);
  color: var(--wt-color-text);
  font-size: 18px;
  line-height: 1.2;
}
.wtco__promo input::placeholder {
  color: rgba(45, 42, 45, 0.38);
  opacity: 1;
}
.wtco__promo button {
  position: absolute;
  right: 28px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent !important;
  border: 0 !important;
  padding: 0;
  cursor: pointer;
  color: rgba(45, 42, 45, 0.48) !important;
  font-size: 30px;
  line-height: 1;
  box-shadow: none !important;
}

.wtco__submit {
  margin-top: 12px;
}
.wtco__submit button {
  width: 100%;
  min-height: 66px;
  border: 1px solid var(--wt-color-accent) !important;
  border-radius: var(--wt-radius-pill) !important;
  background: var(--wt-color-accent) !important;
  color: var(--wt-white) !important;
  padding: 18px 28px;
  font-size: 18px;
  font-weight: 400;
  letter-spacing: -0.01em;
  box-shadow: none !important;
  cursor: pointer;
  transition:
    background-color 0.3s ease,
    color 0.3s ease,
    border-color 0.3s ease;
}
.wtco__submit button:hover {
  background: transparent !important;
  border-color: var(--wt-color-accent) !important;
  color: var(--wt-color-accent) !important;
}

.wtco__legal {
  margin: 0;
  max-width: 470px;
  line-height: 1.32;
  color: var(--wt-color-text-58);
}
.wtco__legal a {
  color: inherit;
  text-decoration: underline !important;
  text-underline-offset: 3px;
}

.wtco__summary .wt-loyalty {
  display: inline-block;
  margin: 0;
  border: 1px solid var(--wt-color-accent-soft-20);
  border-radius: 22px !important;
  background: #faf7f2;
  padding: 24px 18px;
}
.wtco__summary .wt-loyalty__head {
  margin-bottom: 18px;
}
.wtco__summary .wt-loyalty__head strong {
  display: block;
  color: var(--wt-color-text);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.18;
}
.wtco__summary .wt-loyalty .wt-s {
  color: var(--wt-color-text-72);
}
.wtco__summary .wt-loyalty__form {
  gap: 12px;
}
.wtco__summary .wt-loyalty__form .wt-lf__input {
  min-height: 56px;
  padding: 0 18px;
  border: 0;
  border-bottom: 1px solid var(--wt-color-text-24);
  border-radius: 0;
  background: transparent;
}
.wtco__summary .wt-loyalty__form .wt-btn-text,
.wtco__summary .wt-loyalty__form button[type="submit"],
.wtco__summary .wt-loyalty__remove {
  min-height: 56px;
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 24px;
  border-radius: var(--wt-radius-pill) !important;
  border: 1px solid var(--wt-color-accent) !important;
  background: var(--wt-color-accent) !important;
  color: var(--wt-white) !important;
  box-shadow: none !important;
  font-family: var(--wt-font);
  font-size: 18px;
  font-weight: 300;
  letter-spacing: 0.05em;
  transition:
    background-color 0.3s ease,
    color 0.3s ease,
    border-color 0.3s ease;
}
.wtco__summary .wt-loyalty__msg {
  color: var(--wt-color-text-72);
}
.wtco__summary .wt-loyalty__form .wt-btn-text:hover,
.wtco__summary .wt-loyalty__form button[type="submit"]:hover,
.wtco__summary .wt-loyalty__remove:hover {
  background: transparent !important;
  color: var(--wt-color-accent) !important;
  border-color: var(--wt-color-accent) !important;
}

@media (max-width: 1024px) {
  .wtco {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .wtco__buyer-grid,
  .wtco__options--2 {
    grid-template-columns: 1fr;
  }

  .wtco__title {
    font-size: clamp(30px, 8vw, 42px);
  }

  .wtco__summary .wt-loyalty {
    padding: 20px 16px;
  }

  .wtco__total span:last-child {
    font-size: 24px;
  }
}

@media (max-width: 767px) {
  .wtco__left {
    gap: 28px;
  }

  .wtco__section {
    gap: 16px;
  }

  .wtco__summary {
    gap: 14px;
  }

  .wtco__option-box {
    min-height: 120px;
    padding: 16px 18px 18px;
  }

  .wtco__option--pay .wtco__option-box {
    min-height: 88px;
  }

  .wtco__total span:last-child {
    font-size: 22px;
  }

  .wtco__promo input {
    min-height: 56px;
    padding: 14px 54px 14px 20px;
  }

  .wtco__promo button {
    right: 22px;
    font-size: 24px;
  }

  .wtco__submit button {
    min-height: 58px;
    padding: 14px 18px;
  }
}

/* custom-checkout styles end */
