/*
 * Retail checkout conversion pass.
 * Loaded after the vendor checkout styles; every rule is scoped to the order page.
 */

html.is-order-page .s-order-page,
html.is-order-page .s-order-page *,
html.is-order-page .s-order-page *::before,
html.is-order-page .s-order-page *::after {
  box-sizing: border-box;
}

html.is-order-page .s-order-page {
  display: block !important;
  width: min(1120px, calc(100% - 48px)) !important;
  max-width: 1120px !important;
  margin: 0 auto;
  padding: 28px 0 60px !important;
}

html.is-order-page .k-order-intro h1 {
  margin: 0;
  color: #1f2933;
  font-size: 32px;
  line-height: 1.14;
  letter-spacing: -0.02em;
}

html.is-order-page .k-order-intro p {
  max-width: 720px;
  margin: 7px 0 0;
  color: #66717f;
  font-size: 15px;
  line-height: 1.5;
}

html.is-order-page .k-order-layout > .s-order-column {
  display: block !important;
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
}

html.is-order-page .is-checkout-mode .k-order-layout > .s-order-column:first-child {
  position: sticky;
  top: 16px;
}

html.is-order-page .s-order-page .s-order-section > .s-section-header {
  min-height: 32px;
  margin: 0 0 10px !important;
}

html.is-order-page .s-order-page .s-order-section > .s-section-header > .s-header {
  color: #1f2933 !important;
  font-size: 19px !important;
  font-weight: 800 !important;
  line-height: 1.25 !important;
}

html.is-order-page .s-order-page .s-order-section > .s-section-header .s-delete-button {
  margin: 0;
  color: #7b8490;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
}

html.is-order-page .s-order-page .s-order-section > .s-section-body {
  padding: 22px !important;
  border: 1px solid #e2e6ea !important;
  border-radius: 14px !important;
  background: #fff !important;
  box-shadow: 0 12px 34px rgb(31 41 51 / 6%) !important;
}

/* Cart summary */

html.is-order-page .wa-order-form-wrapper,
html.is-order-page .wa-order-cart-wrapper {
  font-size: 15px !important;
}

html.is-order-page .wa-order-cart-wrapper .wa-cart-body .wa-product {
  padding: 0 0 20px !important;
}

html.is-order-page .wa-order-cart-wrapper .wa-product-body {
  display: grid !important;
  grid-template-columns: 82px minmax(0, 1fr) auto;
  grid-template-rows: auto auto;
  grid-template-areas:
    "image details price"
    "image quantity price";
  gap: 10px 14px;
  align-items: start;
}

html.is-order-page .wa-order-cart-wrapper .wa-column-image {
  grid-area: image;
  width: 82px !important;
  padding: 0 !important;
}

html.is-order-page .wa-order-cart-wrapper .wa-column-image img {
  display: block;
  width: 82px !important;
  height: 104px !important;
  border-radius: 10px !important;
  object-fit: contain;
  background: #f7f8fa;
}

html.is-order-page .wa-order-cart-wrapper .wa-column-details {
  grid-area: details;
  width: auto !important;
  padding: 0 !important;
}

html.is-order-page .wa-order-cart-wrapper .wa-column-details .wa-details {
  display: block !important;
}

html.is-order-page .wa-order-cart-wrapper .wa-column-details .wa-name {
  display: block !important;
  margin: 0 0 8px !important;
  color: #1f2933 !important;
  font-size: 15px !important;
  font-weight: 750 !important;
  line-height: 1.35;
  text-decoration: none;
}

html.is-order-page .wa-order-cart-wrapper .wa-column-details .wa-actions {
  display: block;
}

html.is-order-page .wa-order-cart-wrapper .wa-column-details .wa-action {
  color: #7b8490 !important;
  font-size: 12px !important;
  font-weight: 500 !important;
}

html.is-order-page .wa-order-cart-wrapper .wa-column-details .wa-action .wa-icon {
  display: none !important;
}

html.is-order-page .wa-order-cart-wrapper .wa-column-quantity {
  grid-area: quantity;
  width: auto !important;
}

html.is-order-page .wa-order-cart-wrapper .wa-quantity-cart-section {
  margin: 0 !important;
  padding: 0 !important;
}

html.is-order-page .wa-order-cart-wrapper .wa-quantity-cart-section > .wa-section-body {
  display: flex;
  align-items: center;
  gap: 4px;
}

html.is-order-page .wa-order-cart-wrapper .wa-quantity-cart-section .wa-button,
html.is-order-page .wa-order-cart-wrapper .wa-quantity-cart-section button {
  display: grid !important;
  width: 32px !important;
  min-width: 32px !important;
  height: 32px !important;
  min-height: 32px !important;
  place-items: center;
  padding: 0 !important;
  border: 1px solid #d7dce1 !important;
  border-radius: 8px !important;
  color: #303943 !important;
  background: #fff !important;
}

html.is-order-page .wa-order-cart-wrapper .s-minus-button .wa-icon-wrapper,
html.is-order-page .wa-order-cart-wrapper .s-plus-button .wa-icon-wrapper {
  display: grid !important;
  place-items: center;
  font-size: 20px;
  line-height: 1;
}

html.is-order-page .wa-order-cart-wrapper .s-minus-button .wa-icon-wrapper::before {
  content: "−";
}

html.is-order-page .wa-order-cart-wrapper .s-plus-button .wa-icon-wrapper::before {
  content: "+";
}

html.is-order-page .wa-order-cart-wrapper .s-minus-button .wa-icon-wrapper > *,
html.is-order-page .wa-order-cart-wrapper .s-plus-button .wa-icon-wrapper > * {
  display: none !important;
}

html.is-order-page .wa-order-cart-wrapper .wa-quantity-cart-section button.is-locked {
  opacity: 0.38;
}

html.is-order-page .wa-order-cart-wrapper .wa-quantity-cart-section .wa-description,
html.is-order-page .wa-order-cart-wrapper .wa-quantity-cart-section .wa-unit,
html.is-order-page .wa-order-cart-wrapper .wa-quantity-cart-section > .wa-section-footer,
html.is-order-page .wa-order-cart-wrapper .wa-quantity-actions {
  display: none !important;
}

html.is-order-page .wa-order-cart-wrapper .wa-quantity-cart-section .wa-field-wrapper {
  width: 42px !important;
}

html.is-order-page .wa-order-cart-wrapper .wa-quantity-cart-section .wa-field {
  width: 42px !important;
  height: 32px !important;
  padding: 0 4px !important;
  border: 1px solid #d7dce1 !important;
  border-radius: 8px !important;
  text-align: center;
}

html.is-order-page .wa-order-cart-wrapper .wa-column-price {
  grid-area: price;
  width: auto !important;
  padding: 2px 0 0 !important;
}

html.is-order-page .wa-order-cart-wrapper .wa-column-price .wa-price-total {
  color: #1f2933 !important;
  font-size: 17px;
  font-weight: 800 !important;
}

html.is-order-page .wa-order-cart-wrapper .wa-cart-details {
  display: flex !important;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-top: 0 !important;
  padding-top: 18px !important;
  border-top: 1px solid #e6e9ec !important;
}

html.is-order-page .wa-order-cart-wrapper .wa-coupon-section {
  flex: 1 1 auto;
}

html.is-order-page .k-coupon-toggle {
  padding: 0;
  border: 0;
  color: #087e9f;
  background: transparent;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

html.is-order-page .wa-coupon-section.k-coupon-collapsed .wa-inactive-state {
  display: none !important;
}

html.is-order-page .wa-coupon-section:not(.k-coupon-collapsed) .k-coupon-toggle {
  display: none;
}

html.is-order-page .wa-order-cart-wrapper .wa-coupon-section .wa-inactive-state {
  display: flex;
  gap: 7px;
}

html.is-order-page .wa-order-cart-wrapper .wa-coupon-section .wa-input {
  width: 120px;
  min-height: 38px !important;
  padding: 7px 9px !important;
}

html.is-order-page .wa-order-cart-wrapper .wa-coupon-section .wa-button {
  min-height: 38px;
  padding: 7px 10px !important;
  border-radius: 8px !important;
  font-size: 12px !important;
}

html.is-order-page .wa-order-cart-wrapper .wa-cart-details .wa-price-total {
  color: #1f2933 !important;
  font-size: 20px;
  font-weight: 800 !important;
  white-space: nowrap;
}

html.is-order-page .s-section-footer {
  display: none;
}

/* Checkout form */

html.is-order-page .wa-order-form-wrapper .wa-step-section + .wa-step-section {
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid #e6e9ec;
}

html.is-order-page .wa-order-form-wrapper .wa-section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

html.is-order-page .wa-order-form-wrapper .wa-section-header .wa-header {
  margin: 0;
  color: #1f2933 !important;
  font-size: 19px;
  font-weight: 800 !important;
}

html.is-order-page .wa-order-form-wrapper .wa-login-link {
  color: #087e9f !important;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

html.is-order-page .wa-order-form-wrapper .wa-fields-group {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 16px;
}

html.is-order-page .wa-order-form-wrapper .wa-fields-group::before,
html.is-order-page .wa-order-form-wrapper .wa-fields-group::after {
  display: none !important;
}

html.is-order-page .wa-order-form-wrapper .wa-field-wrapper {
  width: auto !important;
  margin: 0 !important;
}

html.is-order-page .wa-order-form-wrapper .wa-label {
  display: block;
  margin-bottom: 6px;
  color: #515c68 !important;
  font-size: 13px !important;
  font-weight: 650 !important;
}

html.is-order-page .wa-order-form-wrapper .wa-input,
html.is-order-page .wa-order-form-wrapper .wa-select,
html.is-order-page .wa-order-form-wrapper .wa-dropdown > .wa-dropdown-toggle {
  width: 100% !important;
  min-height: 46px !important;
  padding: 10px 12px !important;
  border-color: #cdd3d9 !important;
  border-radius: 9px !important;
  font-size: 15px !important;
}

html.is-order-page .wa-order-form-wrapper .wa-country-wrapper {
  display: none !important;
}

html.is-order-page .wa-order-form-wrapper .wa-agreement-wrapper {
  margin-top: 14px !important;
}

html.is-order-page .wa-order-form-wrapper .wa-checkbox-wrapper {
  gap: 10px;
}

html.is-order-page .wa-order-form-wrapper .wa-checkbox-wrapper .wa-text {
  color: #606b77 !important;
  font-size: 13px !important;
  line-height: 1.45 !important;
}

html.is-order-page .wa-order-form-wrapper .wa-checkbox-wrapper .wa-text a {
  color: #087e9f !important;
}

html.is-order-page .wa-order-form-wrapper .wa-required-text {
  margin: 0 0 14px !important;
  padding: 10px 12px;
  border-radius: 9px;
  color: #3f5963 !important;
  background: #eef9fb;
  font-size: 13px;
  line-height: 1.4;
}

html.is-order-page .wa-order-form-wrapper .wa-required-text .wa-required {
  font-size: 16px !important;
}

html.is-order-page .wa-order-form-wrapper .wa-step-confirm-section {
  margin-top: 22px !important;
  padding: 0 !important;
  border: 0 !important;
}

html.is-order-page .wa-order-form-wrapper .wa-step-confirm-section .wa-flex-wrapper {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 250px;
  gap: 22px;
  padding: 18px;
  border: 1px solid #dce3e7;
  border-radius: 12px;
  background: #f7fafb;
}

html.is-order-page .wa-order-form-wrapper .wa-total-section .wa-item {
  display: flex !important;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 7px !important;
}

html.is-order-page .wa-order-form-wrapper .wa-total-section .wa-item:last-child {
  margin: 12px 0 0 !important;
  padding-top: 12px;
  border-top: 1px solid #dce3e7;
}

html.is-order-page .wa-order-form-wrapper .wa-total-section .wa-name {
  color: #67727e !important;
  font-size: 13px;
}

html.is-order-page .wa-order-form-wrapper .wa-total-section .wa-item-total .wa-name {
  color: #1f2933 !important;
  font-weight: 750 !important;
}

html.is-order-page .wa-order-form-wrapper .wa-total-section .wa-item-total .wa-price {
  color: #1f2933 !important;
  font-size: 22px;
  font-weight: 850 !important;
}

html.is-order-page .wa-order-form-wrapper .wa-actions-section {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 12px;
}

html.is-order-page .wa-order-form-wrapper .wa-terms-section {
  margin: 0 !important;
}

html.is-order-page .wa-order-form-wrapper .wa-submit-button {
  width: 100%;
  min-height: 50px !important;
  padding: 10px 16px !important;
  border-radius: 10px !important;
  background: #d92791 !important;
  font-size: 15px !important;
  font-weight: 800 !important;
}

html.is-order-page .wa-order-form-wrapper .wa-submit-button:hover {
  background: #bd1d7c !important;
}

@media (max-width: 820px) {
  html.is-order-page .s-order-page {
    padding-top: 22px !important;
  }

  html.is-order-page .is-checkout-mode .k-order-layout > .s-order-column:first-child {
    position: static;
  }

  html.is-order-page .k-order-intro h1 {
    font-size: 27px;
  }

  html.is-order-page .s-order-page .s-order-section > .s-section-body {
    padding: 18px !important;
  }
}

@media (max-width: 560px) {
  html.is-order-page .s-order-page {
    width: min(100% - 24px, 520px) !important;
    padding: 18px 0 36px !important;
  }

  html.is-order-page .k-order-intro h1 {
    font-size: 25px;
  }

  html.is-order-page .k-order-intro p {
    font-size: 14px;
  }

  html.is-order-page .wa-order-cart-wrapper .wa-product-body {
    grid-template-columns: 68px minmax(0, 1fr) auto;
    gap: 8px 10px;
  }

  html.is-order-page .wa-order-cart-wrapper .wa-column-image {
    width: 68px !important;
  }

  html.is-order-page .wa-order-cart-wrapper .wa-column-image img {
    width: 68px !important;
    height: 86px !important;
  }

  html.is-order-page .wa-order-cart-wrapper .wa-column-details .wa-name {
    font-size: 14px !important;
  }

  html.is-order-page .wa-order-cart-wrapper .wa-column-price .wa-price-total {
    font-size: 15px;
  }

  html.is-order-page .wa-order-cart-wrapper .wa-cart-details {
    align-items: stretch;
    flex-direction: column-reverse;
    justify-content: flex-start;
    gap: 10px;
  }

  html.is-order-page .wa-order-form-wrapper .wa-section-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  html.is-order-page .wa-order-form-wrapper .wa-fields-group {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  html.is-order-page .wa-order-form-wrapper .wa-step-confirm-section .wa-flex-wrapper {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 15px;
  }

  html.is-order-page .wa-order-form-wrapper .wa-submit-button {
    min-height: 52px !important;
  }
}
