/* Warehouse 4.8.0 checkout polish for ChilangoeShop staging. */
body#checkout {
  --zen-border: #e6e9ed;
  --zen-ink: #17212b;
  --zen-muted: #566471;
  --zen-accent: #d65a24;
}

body#checkout #main > .page-title {
  color: var(--zen-ink);
  font-size: clamp(1.5rem, 2vw, 1.9rem);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 1.25rem;
}

body#checkout #checkout-personal-information-step,
body#checkout #checkout-addresses-step,
body#checkout #checkout-delivery-step,
body#checkout #checkout-payment-step {
  border: 1px solid var(--zen-border);
  border-radius: 14px;
  box-shadow: 0 5px 22px rgba(23, 33, 43, .045);
  margin-bottom: 12px;
  overflow: hidden;
  padding: 1.25rem;
  transition: border-color .2s ease, box-shadow .2s ease;
}

body#checkout section.checkout-step.-current {
  border-color: #edc2b0;
  box-shadow: 0 8px 28px rgba(23, 33, 43, .07);
}

body#checkout section.checkout-step .step-title {
  color: var(--zen-ink);
  font-size: clamp(1.13rem, 1.5vw, 1.36rem);
  font-weight: 700;
  line-height: 1.35;
}

body#checkout section.checkout-step .step-number {
  color: var(--zen-accent);
  margin-right: .35rem;
}

body#checkout section.checkout-step.-current .step-title {
  border-bottom-color: var(--zen-border);
  margin-bottom: 1.15rem;
  padding-bottom: 1rem;
}

body#checkout section.checkout-step .content {
  padding: 0 .25rem;
}

body#checkout section.checkout-step .form-control,
body#checkout section.checkout-step input.form-control,
body#checkout section.checkout-step select.form-control,
body#checkout section.checkout-step textarea.form-control {
  border-color: #d6dce2;
  border-radius: 9px;
  min-height: 44px;
}

body#checkout section.checkout-step input:not([type="checkbox"]):not([type="radio"]),
body#checkout section.checkout-step select,
body#checkout section.checkout-step textarea {
  border-radius: 9px;
}

body#checkout section.checkout-step .form-control:focus {
  border-color: var(--zen-accent);
  box-shadow: 0 0 0 3px rgba(214, 90, 36, .14);
}

body#checkout section.checkout-step .btn,
body#checkout .cart-grid-right .btn,
body#checkout .cart-grid-right .form-control {
  border-radius: 9px;
}

body#checkout section.checkout-step .address-item,
body#checkout section.checkout-step .payment-option {
  border-radius: 10px;
}

body#checkout .cart-grid-right .card,
body#checkout .cart-grid-right .cart-summary {
  border: 1px solid var(--zen-border);
  border-radius: 14px;
  box-shadow: 0 5px 22px rgba(23, 33, 43, .045);
  overflow: hidden;
}

body#checkout .cart-grid-right .card-block {
  padding: 1rem 1.1rem;
}

body#checkout .delivery-options .delivery-option {
  align-items: center;
  background: #fff;
  border: 1px solid var(--zen-border);
  border-radius: 12px;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 12px;
  margin: 0 0 12px;
  padding: 14px 16px;
  transition: border-color .2s ease, box-shadow .2s ease;
}

body#checkout .delivery-options .delivery-option:hover,
body#checkout .delivery-options .delivery-option:has(input:checked) {
  border-color: var(--zen-accent);
  box-shadow: 0 4px 16px rgba(214, 90, 36, .09);
}

body#checkout .delivery-option > .col-sm-1 {
  align-self: center;
  flex: 0 0 24px;
  max-width: 24px;
  padding: 0;
  width: 24px;
}

body#checkout .delivery-option > label.delivery-option-2 {
  flex: 1 1 0;
  max-width: none;
  min-width: 0;
  padding: 0;
  width: 0;
}

body#checkout .delivery-option > label.delivery-option-2 > .row {
  align-items: center;
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(220px, 1.45fr) minmax(140px, 1fr) auto;
  margin: 0;
}

body#checkout .delivery-option > label.delivery-option-2 > .row > div {
  flex: none;
  max-width: none;
  min-width: 0;
  padding: 0;
  width: auto;
}

body#checkout .delivery-option .carrier-hasLogo {
  align-items: center;
  display: flex;
  flex-wrap: nowrap;
  gap: 12px;
  margin: 0;
}

body#checkout .delivery-option .carrier-hasLogo > .col-xs-3 {
  flex: 0 0 106px;
  max-width: 106px;
  padding: 0;
}

body#checkout .delivery-option .carrier-hasLogo img {
  display: block;
  height: 44px;
  margin: 0;
  max-height: 44px;
  max-width: 106px;
  object-fit: contain;
  width: 106px;
}

body#checkout .delivery-option .carriere-name-container {
  flex: 1 1 auto;
  max-width: none;
  min-width: 0;
  padding: 0;
}

body#checkout .delivery-option .carrier-name {
  color: var(--zen-ink);
  display: block;
  font-size: .9rem;
  font-weight: 650;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

body#checkout .delivery-option .carrier-delay {
  color: var(--zen-muted);
  display: block;
  font-size: .82rem;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

body#checkout .delivery-option .carrier-price {
  color: var(--zen-ink);
  display: block;
  font-size: .95rem;
  font-weight: 700;
  white-space: nowrap;
}

body#checkout .delivery-option .custom-radio {
  margin: 0;
}

@media (max-width: 767px) {
  body#checkout #checkout-personal-information-step,
  body#checkout #checkout-addresses-step,
  body#checkout #checkout-delivery-step,
  body#checkout #checkout-payment-step {
    padding: 1rem;
  }

  body#checkout section.checkout-step.-current .step-title {
    margin-left: -1rem;
    margin-right: -1rem;
    padding-left: 1rem;
    padding-right: 1rem;
  }

  body#checkout section.checkout-step .content {
    padding: 0;
  }

  body#checkout .delivery-options .delivery-option {
    gap: 10px;
    padding: 12px;
  }

  body#checkout .delivery-option > label.delivery-option-2 > .row {
    gap: 7px 10px;
    grid-template-columns: minmax(0, 1fr) auto;
  }

  body#checkout .delivery-option > label.delivery-option-2 > .row > div:first-child {
    grid-column: 1 / -1;
  }

  body#checkout .delivery-option .carrier-hasLogo > .col-xs-3 {
    flex-basis: 84px;
    max-width: 84px;
  }

  body#checkout .delivery-option .carrier-hasLogo img {
    height: 36px;
    max-height: 36px;
    max-width: 84px;
    width: 84px;
  }

  body#checkout .delivery-option .carrier-name {
    font-size: .85rem;
  }
}
