.ownfreight-simulator {
  clear: both;
  margin: 16px 0;
  padding-top: 14px;
  border-top: 1px solid #e5e5e5;
}

.ownfreight-breakdown {
  margin: 16px 0;
  padding: 18px;
  border: 1px solid #e5dff0;
  border-radius: 8px;
  background: #fff;
  color: #2d2740;
}

.ownfreight-breakdown__title {
  margin: 0 0 12px;
  color: #6654a3;
  font-size: 17px;
  font-weight: 700;
}

.ownfreight-breakdown__line,
.ownfreight-breakdown__total {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid #eeeaf5;
}

.ownfreight-breakdown__line small {
  display: block;
  margin-top: 3px;
  color: #716a7e;
}

.ownfreight-breakdown__total {
  border-bottom: 0;
  font-size: 15px;
}

.ownfreight-breakdown__coupon {
  margin: 6px 0 0;
  color: #357a38;
  font-size: 13px;
}

.ownfreight-simulator__form {
  text-align: left;
}

.ownfreight-simulator__label {
  display: block;
  max-width: 360px;
  margin-bottom: 8px;
  color: #222;
  font-size: 14px;
  font-weight: 600;
  text-align: left;
}

.ownfreight-simulator__row {
  display: flex;
  max-width: 360px;
  gap: 8px;
}

.ownfreight-simulator__input {
  min-width: 0;
  flex: 1 1 auto;
  height: 40px;
  padding: 0 12px;
  border: 1px solid #d8d8d8;
  border-radius: 3px;
  color: #222;
  font-size: 14px;
}

.ownfreight-simulator__button {
  flex: 0 0 auto;
  min-width: 96px;
  height: 40px;
  padding: 0 14px;
  border: 0;
  border-radius: 3px;
  background: #04980c;
  color: #fff;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
}

.ownfreight-simulator__button:disabled {
  cursor: wait;
  opacity: .7;
}

.ownfreight-simulator__message {
  min-height: 20px;
  margin-top: 8px;
  color: #666;
  font-size: 13px;
}

.ownfreight-simulator__message.is-error {
  color: #b00020;
}

.ownfreight-simulator__message.is-loading,
.ownfreight-simulator__message.is-muted {
  color: #666;
}

.ownfreight-simulator__results {
  max-width: 460px;
  margin-top: 8px;
}

.ownfreight-simulator__option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 0;
  border-top: 1px solid #eee;
}

.ownfreight-simulator__service {
  min-width: 0;
  color: #222;
  font-size: 13px;
  line-height: 1.35;
}

.ownfreight-simulator__service span {
  display: block;
  margin-top: 2px;
  color: #666;
}

.ownfreight-simulator__meta {
  display: flex;
  flex: 0 0 auto;
  align-items: flex-end;
  flex-direction: column;
  gap: 2px;
  text-align: right;
}

.ownfreight-simulator__price {
  color: #04980c;
  font-size: 14px;
  font-weight: 700;
}

.ownfreight-simulator__time {
  color: #666;
  font-size: 12px;
}

.ownfreight-simulator__details {
  padding: 8px 0;
  border-top: 1px solid #eee;
  color: #666;
  font-size: 12px;
  line-height: 1.45;
}

@media (max-width: 480px) {
  .ownfreight-simulator__row {
    max-width: none;
  }

  .ownfreight-simulator__option {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .ownfreight-simulator__meta {
    align-items: flex-start;
    text-align: left;
  }
}

/* Keep the checkout carrier compact and readable at every viewport width. */
body#checkout section.checkout-step .delivery-options .delivery-option {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  width: 100%;
  min-height: 0;
  margin: 0 0 14px;
  padding: 16px 18px;
  overflow: hidden;
  border: 1px solid rgba(102, 84, 163, .16);
  border-radius: 8px;
  background: #fff;
}

body#checkout section.checkout-step .delivery-options .delivery-option > .col-sm-1 {
  display: flex;
  float: none;
  align-items: center;
  justify-content: center;
  width: auto;
  max-width: none;
  padding: 0;
}

body#checkout section.checkout-step .delivery-options .delivery-option .custom-radio {
  float: none !important;
  margin: 0;
}

body#checkout section.checkout-step .delivery-options .delivery-option > label.delivery-option-2 {
  display: block;
  float: none;
  width: 100%;
  max-width: none;
  min-width: 0;
  padding: 0;
}

body#checkout section.checkout-step .delivery-options .delivery-option > label.delivery-option-2 > .row {
  display: grid;
  grid-template-columns: minmax(150px, 1fr) minmax(190px, 1.5fr) auto;
  align-items: center;
  gap: 16px;
  width: 100%;
  margin: 0;
}

body#checkout section.checkout-step .delivery-options .delivery-option > label.delivery-option-2 > .row > [class*="col-"] {
  float: none;
  width: auto;
  max-width: none;
  min-width: 0;
  padding: 0;
}

body#checkout section.checkout-step .delivery-options .delivery-option .carrier {
  width: 100%;
  margin: 0;
}

body#checkout section.checkout-step .delivery-options .delivery-option label .carrier:not(.carrier-hasLogo) > .col-xs-12 {
  padding-left: 0;
}

body#checkout section.checkout-step .delivery-options .carrier-name,
body#checkout section.checkout-step .delivery-options .carrier-price {
  color: #2b2927;
  font-family: var(--ym-font-family, inherit);
  font-weight: 600;
}

body#checkout section.checkout-step .delivery-options .carrier-delay {
  color: #6f6979;
  line-height: 1.45;
}

body#checkout section.checkout-step .delivery-options .carrier-price {
  white-space: nowrap;
  text-align: right;
}

@media (max-width: 767px) {
  body#checkout section.checkout-step .delivery-options .delivery-option {
