/* Checkout 2.1 layout: one summary card, equal carrier cards, pay column. */

body#checkout #hl-opc-cart-block .hl-opc-cart-top {
  display: flex !important;
  flex-direction: column !important;
  gap: 0 !important;
  align-items: stretch !important;
  grid-template-columns: none !important;
}

body#checkout #hl-opc-cart-block {
  background: #fff;
  border: 1px solid #E1E4E6;
  border-radius: 12px;
  box-shadow: none;
  overflow: hidden;
}

body#checkout #hl-opc-cart-block .hl-opc-cart-main,
body#checkout #hl-opc-cart-block #hl-opc-aside-end,
body#checkout #hl-opc-cart-block .hl-opc-island {
  width: 100% !important;
  max-width: none !important;
  height: auto !important;
  border: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}

body#checkout #hl-opc-cart-main {
  background: #fff !important;
}

body#checkout #hl-opc-cart-block #hl-opc-aside-end {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 340px);
  column-gap: 40px;
  row-gap: 4px;
  align-items: center;
  position: relative;
  background: #f7f6f3 !important;
  border-top: 1px solid #E1E4E6 !important;
  padding: 22px 28px 18px !important;
}

body#checkout #hl-opc-cart-block #hl-opc-aside-end::before {
  content: "";
  position: absolute;
  top: 22px;
  bottom: 18px;
  right: 368px;
  width: 1px;
  background: #e4ddd2;
}

body#checkout #hl-opc-cart-block #hl-opc-aside-end > .hl-opc-aside-head {
  display: contents !important;
}

body#checkout #hl-opc-cart-block .hl-opc-cart-heading--aside {
  display: none !important;
}

body#checkout #hl-opc-cart-block #hl-opc-products-count {
  grid-column: 2;
  grid-row: 1;
  justify-self: end;
  margin: 0 0 6px;
  color: #8a8178;
  font: 600 12px/1 Mulish, system-ui, sans-serif;
  letter-spacing: .01em;
}

body#checkout #hl-opc-cart-block #hl-aside-eta {
  grid-column: 1;
  grid-row: 1 / span 3;
  align-self: center;
  margin: 0 !important;
  padding-right: 12px;
}

body#checkout #hl-opc-cart-block #hl-aside-eta-note {
  display: block;
  max-width: 460px;
}

body#checkout #hl-opc-cart-block .hl-aside-eta__label {
  display: block;
  margin: 0 0 4px;
  color: #8a8178;
  font: 600 11px/1.2 Mulish, system-ui, sans-serif;
  letter-spacing: .08em;
  text-transform: uppercase;
}

body#checkout #hl-opc-cart-block .hl-aside-eta__value {
  display: block;
  color: #0b2b3b;
  font: 600 22px/1.2 Mulish, system-ui, sans-serif;
}

body#checkout #hl-opc-cart-block #hl-opc-inline-totals {
  grid-column: 2;
  grid-row: 2;
  width: 100%;
  margin: 0 !important;
}

body#checkout #hl-opc-cart-block #hl-opc-promo {
  grid-column: 2;
  grid-row: 3;
  width: 100%;
  margin: 4px 0 0 !important;
  justify-self: stretch;
}

body#checkout #hl-opc-cart-block .hl-inline-totals__row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 3px 0;
  color: #5c656b;
  font: 500 14px/1.4 Mulish, system-ui, sans-serif;
}

body#checkout #hl-opc-cart-block .hl-inline-totals__row--total {
  margin-top: 6px;
  padding-top: 8px;
  border-top: 1px solid #e4ddd2;
  color: #0b2b3b;
  font-size: 16px;
  font-weight: 700;
}

@media (min-width: 1100px) {
  body#checkout .hl-cart-line:not(.hl-cart-line--service),
  body#checkout .hl-opc-cart-block .product-line:not(.hl-cart-line--service) {
    grid-template-columns: 80px minmax(0, 1fr) 128px 7rem 2rem !important;
  }
}

body#checkout .hl-cart-line:not(.hl-cart-line--service) .hl-cart-line__image,
body#checkout .hl-cart-line:not(.hl-cart-line--service) .hl-cart-line__image img,
body#checkout .hl-opc-cart-block .product-line:not(.hl-cart-line--service) .product-line__image,
body#checkout .hl-opc-cart-block .product-line:not(.hl-cart-line--service) .product-line__image img,
body#checkout .hl-cart-line__img,
body#checkout .hl-opc-cart-block .product-line__img {
  width: 80px !important;
  height: 80px !important;
  max-width: 80px !important;
  max-height: 80px !important;
  object-fit: contain !important;
}

body#checkout .hl-cart-line .product-line__title,
body#checkout .hl-cart-line__title a {
  font-family: Mulish, system-ui, sans-serif;
  font-size: 14px !important;
  font-weight: 600 !important;
  line-height: 1.4 !important;
  color: #0b2b3b !important;
  -webkit-line-clamp: 3 !important;
}

body#checkout .hl-cart-line__price,
body#checkout .hl-opc-inline-totals {
  font-variant-numeric: tabular-nums;
}

body#checkout .miu-eta-jump {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 44px;
  margin-top: 12px;
  padding: 10px 14px;
  border: 1px solid #e4dfd6;
  border-radius: 10px;
  background: #fffdfb;
  color: #0b2b3b;
  font: 600 13.5px/1.35 Mulish, system-ui, sans-serif;
  text-align: left;
  cursor: pointer;
}

body#checkout .miu-eta-jump[hidden] {
  display: none !important;
}

body#checkout .miu-eta-jump:hover {
  background: #f7f4ef;
  border-color: #d4cdc2;
}

body#checkout .miu-eta-jump:hover .miu-eta-jump__arrow {
  color: #3f8b99;
}

body#checkout .miu-eta-jump:focus-visible {
  outline: 2px solid #5da2b0;
  outline-offset: 2px;
}

body#checkout .miu-eta-jump__icon,
body#checkout .miu-eta-jump__arrow {
  flex: none;
  color: #5da2b0;
}

body#checkout .miu-eta-jump__text {
  flex: 1 1 auto;
  min-width: 0;
}

body#checkout .hl-aside-eta__scope {
  display: block;
  margin-top: 4px;
  font: 600 12px/1.3 Mulish, system-ui, sans-serif;
  color: #647681;
}

body#checkout .hl-aside-eta__scope[hidden] {
  display: none !important;
}

body#checkout .hl-extra-ship.is-brought .hl-extra-ship__details,
body#checkout .hl-extra-ship.is-brought .hl-extra-ship__done {
  box-shadow: 0 0 0 2px #5da2b0;
}

body#checkout .hl-extra-ship__summary {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  height: auto;
}

body#checkout .hl-extra-ship__mark {
  width: auto !important;
  height: auto !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #0b2b3b !important;
}

body#checkout .hl-extra-ship__mark svg {
  display: block;
  width: 18px;
  height: 18px;
}

body#checkout .hl-extra-ship__head {
  display: flex;
  align-items: center;
  gap: 10px;
}

body#checkout .hl-extra-ship__title {
  display: block;
  flex: 1 1 auto;
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.35;
  color: #0b2b3b;
}

body#checkout .hl-extra-ship__lead {
  display: block;
  margin: 10px 0 0 28px;
  font-size: 13.5px;
  font-weight: 400;
  line-height: 1.55;
  color: #243844;
}

body#checkout .hl-extra-ship__when {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 12px 0 0 28px;
  padding-top: 10px;
  border-top: 1px solid #efe8dc;
  font-size: 13.5px;
  font-weight: 400;
  line-height: 1.45;
  color: #1a3340;
}

body#checkout .hl-extra-ship__when strong {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #0b2b3b;
}

body#checkout .hl-extra-ship__clock {
  flex: none;
  margin-top: 2px;
  color: #5da2b0;
}

body#checkout .hl-extra-ship__toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  padding-top: 0;
  color: #0b2b3b;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
  white-space: nowrap;
}

body#checkout .hl-extra-ship__chevron {
  color: #5da2b0;
  transition: transform 160ms ease;
}

body#checkout .hl-extra-ship__details[open] .hl-extra-ship__chevron {
  transform: rotate(180deg);
}

body#checkout .hl-extra-ship__close-row {
  display: flex;
  justify-content: flex-end;
  margin: 14px 0 2px;
}

body#checkout .hl-extra-ship__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 8px 16px;
  border: 1px solid #d4cdc2;
  border-radius: 10px;
  background: #fff;
  color: #0b2b3b;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
}

body#checkout .hl-extra-ship__close:hover {
  background: #f7f4ef;
  border-color: #c9c1b6;
}

@media (max-width: 640px) {
  body#checkout .hl-extra-ship__close-row {
    justify-content: stretch;
  }

  body#checkout .hl-extra-ship__close {
    width: 100%;
  }
}

body#checkout .hl-extra-ship__summary:focus-visible {
  outline: 2px solid #5da2b0;
  outline-offset: 3px;
  border-radius: 8px;
}

body#checkout .hl-extra-ship__choices {
  margin-top: 2px;
}

@media (max-width: 640px) {
  body#checkout .hl-extra-ship__head {
    flex-wrap: wrap;
  }

  body#checkout .hl-extra-ship__toggle {
    flex: 1 0 100%;
    margin-left: 28px;
    margin-top: 8px;
  }

  body#checkout .hl-extra-ship__lead,
  body#checkout .hl-extra-ship__when {
    margin-left: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  body#checkout .hl-extra-ship__chevron {
    transition: none;
  }
}

@media (min-width: 1100px) {
  body#checkout .hl-opc-steps {
    align-items: stretch !important;
    background: #fff;
    border: 1px solid #E1E4E6;
    border-radius: 12px;
    box-shadow: none;
    padding: 0;
    overflow: visible;
  }

  body#checkout #checkout-personal-information-step,
  body#checkout #checkout-delivery-step,
  body#checkout #checkout-payment-step {
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    margin: 0 !important;
  }

  body#checkout .hl-opc-steps {
    display: grid !important;
    grid-template-columns: minmax(0, 1.15fr) minmax(340px, 0.9fr) !important;
    grid-template-rows: auto !important;
    column-gap: 0 !important;
    align-items: stretch !important;
  }

  body#checkout #hl-opc-left {
    grid-column: 1 !important;
    grid-row: 1 !important;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: relative;
    z-index: 2;
  }

  body#checkout #hl-opc-left > #checkout-personal-information-step,
  body#checkout #hl-opc-left > #checkout-delivery-step {
    width: 100% !important;
    max-width: none !important;
    align-self: stretch !important;
  }

  body#checkout #checkout-payment-step {
    grid-column: 2 !important;
    grid-row: 1 !important;
    align-self: stretch !important;
    display: flex !important;
    flex-direction: column !important;
    height: auto !important;
    min-height: 100%;
    border-left: 1px solid #E1E4E6 !important;
    border-top: 0 !important;
    border-radius: 0 !important;
    margin-left: 0 !important;
  }

  body#checkout #checkout-payment-step .step__content {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
  }

  body#checkout #checkout-payment-step .hl-final-checkout {
    margin-top: auto !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 12px;
    width: 100% !important;
    max-width: none !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    padding: 16px 0 0 !important;
    grid-template-columns: none !important;
  }

  body#checkout #checkout-payment-step .hl-final-checkout__pay,
  body#checkout #checkout-payment-step .buttons-wrapper,
  body#checkout #checkout-payment-step .js-payment-confirmation {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    max-width: none !important;
    grid-template-columns: none !important;
  }

  body#checkout #checkout-payment-step .payment-option__input,
  body#checkout #checkout-payment-step .payment-option .form-check-input {
    width: 1rem !important;
    min-width: 1rem !important;
    max-width: 1rem !important;
    height: 1rem !important;
    flex: none !important;
  }

  body#checkout #checkout-payment-step .payment-option__label {
    width: auto !important;
    max-width: none !important;
    min-height: 48px !important;
    align-items: center !important;
  }

  body#checkout #checkout-payment-step .hl-final-checkout,
  body#checkout #checkout-payment-step #payment-confirmation,
  body#checkout #checkout-payment-step #payment-confirmation-wrap {
    width: 100% !important;
    max-width: none !important;
    grid-column: 1 / -1 !important;
  }

  body#checkout #checkout-payment-step #payment-confirmation button,
  body#checkout #checkout-payment-step .hl-pay-cta {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    min-height: 50px !important;
    border-radius: 10px !important;
    background: #0b2b3b !important;
  }
}

body#checkout .delivery-options__list {
  grid-template-columns: repeat(var(--miu-carrier-cols, 3), minmax(0, 1fr)) !important;
  grid-template-rows: 112px auto;
  align-items: start !important;
  row-gap: 12px !important;
}

body#checkout .delivery-option__item.miu-courier-folded,
body#checkout .delivery-option__item.miu-courier-folded > .delivery-option__label,
body#checkout .delivery-option__item.miu-courier-folded > .delivery-option__extra {
  display: none !important;
}

body#checkout .delivery-option__extra {
  margin: 0 !important;
}

body#checkout #hl-courier-address {
  margin: 12px 0 0 !important;
}

body#checkout .delivery-option__extra {
  grid-row: 2 !important;
  grid-column: 1 / -1 !important;
  min-height: 0;
  padding: 0 !important;
}

body#checkout .delivery-option__extra:empty {
  display: none !important;
  margin: 0 !important;
}

body#checkout .delivery-option__extra .delivery-option__extra-content,
body#checkout .delivery-option__extra .hl-itella-extra-wrap,
body#checkout .delivery-option__extra #itella-extra,
body#checkout .delivery-option__extra #itella-ps17-extra,
body#checkout .delivery-option__extra .presta_extra_content,
body#checkout .delivery-option__extra .presta_extra_content > div,
body#checkout .delivery-option__extra .itella-shipping-container,
body#checkout .delivery-option__extra .itella-select,
body#checkout .delivery-option__extra .itella-select .dropdown,
body#checkout .delivery-option__extra .select-omnivalt,
body#checkout .delivery-option__extra .omniva-tmjs-container,
body#checkout .delivery-option__extra .tmjs-container,
body#checkout .delivery-option__extra .tmjs-dropdown,
body#checkout .delivery-option__extra .tmjs-dropdown-trigger {
  margin: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  width: 100% !important;
  min-height: 0 !important;
}

body#checkout .delivery-option__label {
  grid-row: 1 !important;
  align-self: start !important;
  box-sizing: border-box !important;
  height: 112px !important;
  min-height: 112px !important;
  max-height: 112px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  padding: 10px 8px !important;
}

body#checkout .delivery-option__label.miu-ship-dressed > :not(.miu-ship-face) {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
}

body#checkout .delivery-option__label.miu-ship-dressed .delivery-option__carrier,
body#checkout .delivery-option__label.miu-ship-dressed .delivery-option__carrier-logo {
  display: none !important;
}

body#checkout .miu-ship-face {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 100%;
}

body#checkout .miu-ship-face__logo {
  height: 26px;
  width: auto;
  max-width: 96px;
  object-fit: contain;
  filter: none;
}

body#checkout .miu-ship-face__truck {
  width: 42px;
  height: 28px;
  display: block;
}

body#checkout .miu-ship-face__cap {
  font-family: Mulish, system-ui, sans-serif;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  color: #0b2b3b;
}

body#checkout .miu-ship-face__price {
  font-family: Mulish, system-ui, sans-serif;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
  color: #52626a;
  font-variant-numeric: tabular-nums;
}

body#checkout .delivery-option__extra {
  grid-row: 2 !important;
  grid-column: 1 / -1 !important;
  min-height: 0;
  padding: 0 !important;
}

body#checkout .delivery-option__extra .tmjs-dropdown-trigger,
body#checkout .delivery-option__extra .itella-select .dropdown,
body#checkout .delivery-option__extra .tmjs-selected-terminal {
  justify-content: center !important;
  text-align: center !important;
}

body#checkout .tmjs-selected-terminal svg,
body#checkout .tmjs-selected-terminal img,
body#checkout .omniva-pm-selected .tmjs-selected-terminal::before,
body#checkout .omniva-pm-selected .tmjs-dropdown-trigger::before {
  display: none !important;
  content: none !important;
  width: 0 !important;
  height: 0 !important;
}

body#checkout .omniva-pm-selected .tmjs-selected-terminal,
body#checkout .tmjs-container.omniva-tmjs.tmjs-dropdown-mode.omniva-pm-selected .tmjs-selected-terminal {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  grid-template-columns: none !important;
  width: 100% !important;
}

body#checkout .omniva-pm-selected .tmjs-selected-terminal > *,
body#checkout .tmjs-selected-primary,
body#checkout .tmjs-selected-secondary {
  grid-column: auto !important;
  max-width: 100% !important;
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: unset !important;
  text-align: center !important;
}

body#checkout .delivery-option__extra .tmjs-dropdown-trigger.miu-has-terminal,
body#checkout .delivery-option__extra .itella-select .dropdown.miu-has-terminal {
  height: auto !important;
  min-height: 48px !important;
  max-height: none !important;
  justify-content: center !important;
  text-align: center !important;
  line-height: 1.35 !important;
  white-space: normal !important;
  padding: 10px 40px !important;
}

body#checkout .delivery-option__extra .tmjs-dropdown-trigger.miu-has-terminal::before,
body#checkout .delivery-option__extra .itella-select .dropdown.miu-has-terminal::before {
  display: none !important;
}

body#checkout .tmjs-selected-terminal.miu-has-terminal {
  height: auto !important;
  line-height: 1.35 !important;
  white-space: normal !important;
  text-align: center !important;
  overflow: visible !important;
}

body#checkout #hl-checkout-optins {
  margin: 0 0 8px !important;
}

body#checkout #hl-checkout-optins .form-check {
  margin: 0 !important;
  min-height: 0;
}

body#checkout #hl-checkout-optins .form-check-label {
  font-size: 13px !important;
  line-height: 1.35 !important;
  font-weight: 400 !important;
  color: #6a7378 !important;
}

body#checkout .hl-opc-steps {
  column-gap: 0 !important;
  row-gap: 0 !important;
}

@media (max-width: 1099.98px) {
  body#checkout .hl-opc-steps {
    display: flex !important;
    flex-direction: column !important;
    background: #fff;
    border: 1px solid #E1E4E6;
    border-radius: 12px;
    box-shadow: none;
    padding: 0;
    overflow: visible;
  }

  body#checkout #checkout-payment-step {
    align-self: stretch !important;
    border-left: 0 !important;
    border-top: 1px solid #E1E4E6 !important;
    border-radius: 0 !important;
    margin-left: 0 !important;
  }

  body#checkout #hl-opc-left {
    display: contents;
  }

  body#checkout #hl-opc-aside-end {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch;
  }

  body#checkout #hl-opc-cart-block #hl-opc-aside-end::before {
    display: none;
  }

  body#checkout #hl-opc-inline-totals,
  body#checkout #hl-opc-promo,
  body#checkout #hl-aside-eta {
    width: 100%;
  }

  body#checkout .hl-cart-line:not(.hl-cart-line--service) .hl-cart-line__image,
  body#checkout .hl-cart-line:not(.hl-cart-line--service) .hl-cart-line__image img,
  body#checkout .hl-opc-cart-block .product-line:not(.hl-cart-line--service) .product-line__image img {
    width: 64px !important;
    height: 64px !important;
    max-width: 64px !important;
    max-height: 64px !important;
  }

  body#checkout .delivery-options__list {
    grid-template-columns: 1fr !important;
  }

  body#checkout .delivery-option__label {
    height: 84px !important;
    min-height: 84px !important;
    max-height: none !important;
  }

  body#checkout #checkout-payment-step .hl-final-checkout {
    margin-top: 16px !important;
  }
}

/* Checkout 2.2 — order summary card */
body#checkout #hl-opc-cart-block {
  border: 1px solid #E1E4E6 !important;
  border-radius: 12px !important;
  background: #fff !important;
  box-shadow: none !important;
  margin-bottom: 20px !important;
}

body#checkout .hl-opc-cart-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 26px 12px;
}

body#checkout .hl-opc-cart-heading {
  margin: 0 !important;
  font-family: Mulish, system-ui, sans-serif !important;
  font-size: 17px !important;
  font-weight: 700 !important;
  line-height: 1.35 !important;
  color: #0b2b3b !important;
}

body#checkout .hl-opc-cart-meta {
  flex: none;
  font-family: Mulish, system-ui, sans-serif;
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1.3;
  color: #647681;
}

body#checkout #hl-opc-cart-main {
  padding: 0 !important;
}

body#checkout #hl-opc-cart-main .cart-grid__products-details {
  padding: 0 0 2px;
}

body#checkout #hl-opc-cart-block .cart__list,
body#checkout #hl-opc-cart-block .js-cart-list,
body#checkout #hl-opc-cart-main .cart__list,
body#checkout #hl-opc-cart-main .js-cart-list {
  max-height: none !important;
  overflow: visible !important;
  overflow-y: visible !important;
}

@media (min-width: 1100px) {
  body#checkout #hl-opc-cart-main .hl-cart-line {
    display: grid !important;
    grid-template-columns: 88px minmax(0, 1fr) 112px 116px 36px !important;
    column-gap: 18px !important;
    align-items: center !important;
    padding: 14px 26px !important;
  }
}

body#checkout #hl-opc-cart-main .hl-cart-line {
  border-bottom: 1px solid #e9edeb;
  transition: background-color 160ms ease;
}

body#checkout #hl-opc-cart-main .cart-grid__products-details .hl-cart-line:last-child {
  border-bottom: 0;
}

@media (hover: hover) {
  body#checkout #hl-opc-cart-main .hl-cart-line:hover {
    background: #fcfbf9;
  }
}

body#checkout #hl-opc-cart-main .hl-cart-line:not(.hl-cart-line--service) .hl-cart-line__image {
  width: 88px !important;
  height: 88px !important;
  max-width: 88px !important;
  padding: 4px !important;
  border: 1px solid #f0f0ed !important;
  border-radius: 9px !important;
  background: #f8f7f4 !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

body#checkout #hl-opc-cart-main .hl-cart-line:not(.hl-cart-line--service) .hl-cart-line__image img {
  width: auto !important;
  height: auto !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
}

body#checkout #hl-opc-cart-main .hl-cart-line--service .hl-cart-line__brand {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  object-position: center !important;
}

body#checkout #hl-opc-cart-main .hl-cart-line--service .miu-ship-face__truck {
  width: 42px;
  height: 28px;
  display: block;
}

body#checkout #hl-opc-cart-main .product-line__title,
body#checkout #hl-opc-cart-main .hl-cart-line__title a {
  font-family: Mulish, system-ui, sans-serif !important;
  font-size: 17.5px !important;
  font-weight: 700 !important;
  line-height: 1.38 !important;
  letter-spacing: -0.25px;
  color: #0b2b3b !important;
  text-decoration: none !important;
  -webkit-line-clamp: unset !important;
  overflow: visible !important;
  transition: color 150ms ease;
}

body#checkout #hl-opc-cart-main .hl-cart-line__title a:hover {
  color: #397787 !important;
}

body#checkout #hl-opc-cart-main .hl-cart-line__unit {
  margin-top: 5px !important;
  font-family: Mulish, system-ui, sans-serif;
  font-size: 12.5px !important;
  font-weight: 500 !important;
  line-height: 1.4;
  color: #81919a !important;
}

body#checkout #hl-opc-cart-main .hl-cart-line__stock,
body#checkout .hl-aside-stock {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  column-gap: 14px;
  row-gap: 6px;
  margin: 8px 0 0 !important;
}

body#checkout #hl-opc-cart-main .hl-cart-line__stock-item,
body#checkout .hl-aside-stock .hl-cart-line__stock-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  font-family: Mulish, system-ui, sans-serif;
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0;
}

body#checkout #hl-opc-cart-main .hl-cart-line__stock-item i,
body#checkout .hl-aside-stock .hl-cart-line__stock-item i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex: none;
  box-shadow: none;
}

body#checkout #hl-opc-cart-main .hl-cart-line__stock-item--own,
body#checkout .hl-aside-stock .hl-cart-line__stock-item--own {
  background: transparent;
  color: #176b38;
}

body#checkout #hl-opc-cart-main .hl-cart-line__stock-item--own i,
body#checkout .hl-aside-stock .hl-cart-line__stock-item--own i {
  background: #1c9a4a;
}

body#checkout #hl-opc-cart-main .hl-cart-line__stock-item--away,
body#checkout .hl-aside-stock .hl-cart-line__stock-item--away {
  background: transparent;
  color: #8a5e08;
}

body#checkout #hl-opc-cart-main .hl-cart-line__stock-item--away i,
body#checkout .hl-aside-stock .hl-cart-line__stock-item--away i {
  background: #e2a20b;
}

body#checkout #hl-opc-cart-main .hl-cart-line__stock-line {
  display: block;
  min-width: 0;
  font-family: Mulish, system-ui, sans-serif;
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: 0;
  color: #3f4f57;
}

body#checkout #hl-opc-cart-main .hl-cart-line__qty .quantity-button__group {
  width: 112px;
  height: 40px;
  border: 1px solid #d8e1e4 !important;
  border-radius: 8px !important;
  background: #fff;
  overflow: hidden;
}

body#checkout #hl-opc-cart-main .hl-cart-line__price {
  font-family: Mulish, system-ui, sans-serif !important;
  font-size: 17px !important;
  font-weight: 700 !important;
  color: #0b2b3b !important;
  text-align: right !important;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

body#checkout #hl-opc-cart-main .hl-cart-remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: #8899a1;
}

body#checkout #hl-opc-cart-main .hl-cart-remove:hover {
  color: #b45454;
}

body#checkout #hl-opc-cart-main .hl-cart-remove__icon {
  width: 18px;
  height: 18px;
}

body#checkout #hl-opc-cart-block #hl-opc-aside-end {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(290px, 320px) !important;
  column-gap: 28px !important;
  align-items: start !important;
  background: #faf9f6 !important;
  padding: 22px 28px !important;
}

body#checkout .hl-aside-main {
  display: grid;
  grid-template-columns: minmax(170px, 0.75fr) minmax(250px, 1.25fr);
  column-gap: 22px;
  align-items: start;
  min-width: 0;
}

body#checkout #hl-opc-cart-block #hl-aside-eta,
body#checkout #hl-opc-cart-block #hl-opc-inline-totals,
body#checkout #hl-opc-cart-block #hl-opc-promo {
  grid-column: auto !important;
  grid-row: auto !important;
}

body#checkout .hl-aside-pay {
  border-left: 1px solid #e4e9e8;
  padding-left: 22px;
  min-width: 0;
}

body#checkout .hl-aside-kicker {
  display: block;
  margin: 0 0 8px;
  font: 700 11px/1.2 Mulish, system-ui, sans-serif;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: #647681;
}

body#checkout .hl-aside-stock {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

body#checkout .hl-aside-stock[hidden],
body#checkout .hl-aside-ready[hidden] {
  display: none !important;
}

body#checkout .hl-aside-ready__title {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin: 0;
  font-family: Mulish, system-ui, sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
  color: #0b2b3b;
}

body#checkout .hl-aside-ready__icon {
  width: 18px;
  height: 18px;
  margin-top: 1px;
  flex: none;
  color: #57986a;
}

body#checkout .hl-aside-ready__note {
  margin: 5px 0 0 27px;
  font-family: Mulish, system-ui, sans-serif;
  font-size: 13px;
  font-weight: 450;
  line-height: 1.5;
  color: #647681;
}

@media (max-width: 599.98px) {
  body#checkout .hl-aside-ready__title {
    font-size: 14px;
  }

  body#checkout .hl-aside-ready__note {
    font-size: 12.5px;
  }
}

@media (max-width: 1099.98px) {
  body#checkout #hl-opc-cart-block #hl-opc-aside-end,
  body#checkout .hl-aside-main {
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
  }

  body#checkout .hl-aside-pay {
    border-left: 0;
    border-top: 1px solid #e4e9e8;
    padding-left: 0;
    padding-top: 14px;
    width: 100%;
  }
}

body#checkout #hl-opc-cart-block #hl-opc-aside-end::before {
  display: none !important;
}

body#checkout #hl-opc-cart-block #hl-aside-eta {
  grid-column: 1 !important;
  grid-row: 1 / span 3 !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  box-shadow: none !important;
}

body#checkout #hl-opc-cart-main .hl-cart-line__image {
  min-height: 88px !important;
  height: 88px !important;
  max-height: 88px !important;
}

body#checkout .hl-aside-eta__lead {
  display: flex;
  align-items: center;
  gap: 13px;
}

body#checkout .hl-aside-eta__icon {
  width: 24px;
  height: 24px;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: #397787;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
}

body#checkout .hl-aside-eta__icon svg {
  width: 24px;
  height: 24px;
  display: block;
}

body#checkout #hl-opc-cart-block .hl-aside-eta__label {
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 0.7px !important;
  text-transform: uppercase;
  color: #647681 !important;
}

body#checkout #hl-opc-cart-block .hl-aside-eta__value {
  display: block;
  margin-top: 2px;
  font-size: 22px !important;
  font-weight: 600 !important;
  letter-spacing: 0.2px;
  line-height: 1.3 !important;
  color: #0b2b3b !important;
}

body#checkout #hl-opc-cart-block .hl-aside-eta__note {
  display: block;
  max-width: 450px;
  margin-top: 6px;
  font-size: 13px;
  font-weight: 450;
  line-height: 1.5;
  color: #647681;
}

body#checkout #hl-opc-cart-block #hl-opc-inline-totals {
  grid-column: 2 !important;
  grid-row: 1 !important;
  border-left: 1px solid #e4e9e8;
  padding-left: 24px !important;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

body#checkout #hl-opc-cart-block #hl-opc-promo {
  grid-column: 2 !important;
  grid-row: 2 !important;
  padding-left: 24px;
  margin: 0 !important;
}

body#checkout #hl-opc-cart-block .hl-inline-totals__row {
  padding: 0 !important;
  margin: 0 0 10px !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  color: #647681 !important;
}

body#checkout #hl-opc-cart-block .hl-inline-totals__row > span:last-child {
  font-size: 14px;
  font-weight: 600;
  color: #0b2b3b;
  font-variant-numeric: tabular-nums;
}

body#checkout #hl-opc-cart-block .hl-inline-totals__free {
  color: #57986a !important;
  font-weight: 600;
}

body#checkout #hl-opc-cart-block .hl-inline-totals__row--total {
  margin: 13px 0 0 !important;
  padding-top: 13px !important;
  border-top: 1px solid #dce4e2 !important;
  color: #0b2b3b !important;
  font-size: 15px !important;
  font-weight: 700 !important;
}

body#checkout #hl-opc-cart-block .hl-inline-totals__sum {
  font-size: 22px !important;
  font-weight: 700 !important;
  letter-spacing: -0.2px;
  color: #0b2b3b !important;
}

body#checkout #hl-opc-cart-block .hl-promo__summary {
  color: #397787;
  font-size: 12.5px;
  font-weight: 500;
}

@media (min-width: 768px) and (max-width: 1099.98px) {
  body#checkout #hl-opc-cart-main .hl-cart-line {
    grid-template-columns: 80px minmax(0, 1fr) 108px 104px 36px !important;
    column-gap: 14px !important;
    padding: 12px 20px !important;
  }

  body#checkout #hl-opc-cart-main .hl-cart-line__image,
  body#checkout #hl-opc-cart-main .hl-cart-line__image img {
    width: 80px !important;
    height: 80px !important;
    max-width: 80px !important;
    max-height: 80px !important;
  }

  body#checkout #hl-opc-cart-main .product-line__title,
  body#checkout #hl-opc-cart-main .hl-cart-line__title a {
    font-size: 16px !important;
  }

  body#checkout #hl-opc-cart-main .hl-cart-line__price {
    font-size: 16px !important;
  }

  body#checkout #hl-opc-cart-block #hl-opc-aside-end {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 300px !important;
  }

  body#checkout .hl-opc-cart-head {
    padding: 18px 20px 10px;
  }
}

@media (max-width: 1099.98px) {
  body#checkout #hl-opc-cart-block .cart__list,
  body#checkout #hl-opc-cart-block .js-cart-list,
  body#checkout #hl-opc-cart-main .cart__list,
  body#checkout #hl-opc-cart-main .js-cart-list {
    max-height: none;
    overflow: visible;
    overflow-y: visible;
  }

  body#checkout #hl-opc-cart-main .hl-cart-line:not(.hl-cart-line--service) {
    display: grid !important;
    grid-template-columns: 64px minmax(0, 1fr) 40px !important;
    grid-template-areas:
      "img info remove"
      "qty qty price" !important;
    column-gap: 10px !important;
    row-gap: 8px !important;
    align-items: start !important;
    padding: 10px 16px !important;
    min-height: 0 !important;
    height: auto !important;
  }

  body#checkout #hl-opc-cart-main .hl-cart-line__image {
    grid-area: img;
    width: 64px !important;
    height: 64px !important;
    min-height: 64px !important;
    max-width: 64px !important;
    max-height: 64px !important;
    padding: 4px !important;
    border-radius: 8px !important;
    border: 1px solid #ecefea !important;
    background: #f8f7f4 !important;
  }

  body#checkout #hl-opc-cart-main .hl-cart-line__title {
    grid-area: info;
    display: block !important;
    min-width: 0;
  }

  body#checkout #hl-opc-cart-main .hl-cart-line__qty {
    grid-area: qty;
    justify-self: start;
    align-self: center;
    margin: 0 !important;
  }

  body#checkout #hl-opc-cart-main .hl-cart-line__price {
    grid-area: price;
    justify-self: end;
    align-self: center;
    font-size: 16.5px !important;
    white-space: nowrap;
  }

  body#checkout #hl-opc-cart-main .hl-cart-line__actions {
    grid-area: remove;
    align-self: start;
    justify-self: end;
  }

  body#checkout #hl-opc-cart-main .hl-cart-remove {
    width: 40px;
    height: 40px;
  }

  body#checkout #hl-opc-cart-main .hl-cart-line__qty .quantity-button__group {
    width: 108px;
    height: 36px;
    min-height: 36px;
  }

  body#checkout #hl-opc-cart-main .product-line__title,
  body#checkout #hl-opc-cart-main .hl-cart-line__title a {
    font-size: 14.5px !important;
    line-height: 1.35 !important;
    letter-spacing: -0.15px;
  }

  body#checkout #hl-opc-cart-main .hl-cart-line__unit {
    margin-top: 3px !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    color: #647681 !important;
  }

  body#checkout #hl-opc-cart-main .hl-cart-line__stock {
    margin-top: 5px !important;
    column-gap: 10px;
    row-gap: 4px;
  }

  body#checkout #hl-opc-cart-main .hl-cart-line--service {
    display: grid !important;
    grid-template-columns: 28px minmax(0, 1fr) auto 40px !important;
    grid-template-areas: "img info price remove" !important;
    column-gap: 10px !important;
    row-gap: 0 !important;
    align-items: center !important;
    padding: 10px 16px !important;
  }

  body#checkout #hl-opc-cart-main .hl-cart-line--service .hl-cart-line__image {
    width: 72px !important;
    height: 36px !important;
    max-width: 72px !important;
    min-height: 0 !important;
    max-height: 36px !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    overflow: hidden !important;
  }

  body#checkout #hl-opc-cart-main .hl-cart-line--service {
    grid-template-columns: 72px minmax(0, 1fr) auto 40px !important;
  }

  body#checkout #hl-opc-cart-main .hl-cart-line--service .hl-cart-line__qty {
    display: none;
  }

  body#checkout #hl-opc-cart-main .hl-cart-line--service .hl-cart-line__price {
    font-size: 15px !important;
  }

  body#checkout .hl-free-ship__bar,
  body#checkout #hl-free-ship-bar,
  body#checkout .hl-free-ship__fill {
    height: 6px !important;
    min-height: 6px !important;
  }
}

@media (max-width: 767.98px) {
  body#checkout #hl-opc-cart-block {
    margin-bottom: 15px !important;
  }

  body#checkout .hl-opc-cart-head {
    padding: 14px 16px 10px;
  }

  body#checkout .hl-opc-cart-heading {
    font-size: 15px !important;
  }

  body#checkout #hl-opc-cart-block #hl-opc-aside-end {
    display: flex !important;
    flex-direction: column !important;
    padding: 16px !important;
    gap: 14px !important;
  }

  body#checkout #hl-opc-cart-block #hl-opc-inline-totals,
  body#checkout #hl-opc-cart-block #hl-opc-promo {
    border-left: 0 !important;
    padding-left: 0 !important;
    width: 100% !important;
  }

  body#checkout #hl-opc-cart-block #hl-opc-inline-totals {
    border-top: 1px solid #e4e9e8;
    padding-top: 14px !important;
  }

  body#checkout #hl-opc-cart-block .hl-aside-eta__value {
    font-size: 19px !important;
  }

  body#checkout .hl-aside-eta__icon,
  body#checkout .hl-aside-eta__icon svg {
    width: 22px;
    height: 22px;
  }

  body#checkout #hl-opc-cart-block .hl-inline-totals__sum {
    font-size: 20px !important;
  }
}

@media (min-width: 480px) and (max-width: 767.98px) {
  body#checkout #hl-opc-cart-main .hl-cart-line:not(.hl-cart-line--service) {
    grid-template-columns: 72px minmax(0, 1fr) 40px !important;
  }

  body#checkout #hl-opc-cart-main .hl-cart-line__image {
    width: 72px !important;
    height: 72px !important;
    min-height: 72px !important;
    max-width: 72px !important;
    max-height: 72px !important;
  }

  body#checkout #hl-opc-cart-main .product-line__title,
  body#checkout #hl-opc-cart-main .hl-cart-line__title a {
    font-size: 15px !important;
    line-height: 1.4 !important;
  }

  body#checkout #hl-opc-cart-main .hl-cart-line__price {
    font-size: 17px !important;
  }
}

@media (max-width: 359.98px) {
  body#checkout #hl-opc-cart-main .hl-cart-line:not(.hl-cart-line--service) {
    grid-template-columns: 58px minmax(0, 1fr) 40px !important;
    padding-left: 14px !important;
    padding-right: 14px !important;
  }

  body#checkout #hl-opc-cart-main .hl-cart-line__image {
    width: 58px !important;
    height: 58px !important;
    min-height: 58px !important;
    max-width: 58px !important;
    max-height: 58px !important;
  }

  body#checkout #hl-opc-cart-main .product-line__title,
  body#checkout #hl-opc-cart-main .hl-cart-line__title a {
    font-size: 14px !important;
    line-height: 1.35 !important;
  }

  body#checkout #hl-opc-cart-main .hl-cart-line__price {
    font-size: 16px !important;
  }

  body#checkout #hl-opc-cart-main .hl-cart-line__qty .quantity-button__group {
    width: 104px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body#checkout #hl-opc-cart-main .hl-cart-line {
    transition: none;
  }
}

body#checkout #hl-opc-cart-main .hl-cart-line--service .hl-cart-line__qty {
  display: none !important;
}

@media (min-width: 1100px) {
  body#checkout #hl-opc-cart-main .hl-cart-line--service {
    display: grid !important;
    grid-template-columns: 72px minmax(0, 1fr) auto 40px !important;
    grid-template-areas: "img info price remove" !important;
    column-gap: 16px !important;
    align-items: center !important;
    padding: 14px 26px !important;
  }

  body#checkout #hl-opc-cart-main .hl-cart-line--service .hl-cart-line__image {
    grid-area: img;
    width: 72px !important;
    height: 32px !important;
    max-width: 72px !important;
    max-height: 32px !important;
  }

  body#checkout #hl-opc-cart-main .hl-cart-line--service .hl-cart-line__title {
    grid-area: info;
    min-width: 0 !important;
  }

  body#checkout #hl-opc-cart-main .hl-cart-line--service .hl-cart-line__price {
    grid-area: price;
  }

  body#checkout #hl-opc-cart-main .hl-cart-line--service .hl-cart-line__actions {
    grid-area: remove;
  }

  body#checkout #hl-opc-cart-main .hl-cart-line:not(.hl-cart-line--service) {
    grid-template-columns: 88px minmax(190px, 1.2fr) minmax(210px, 0.9fr) 112px 108px 36px !important;
    column-gap: 16px !important;
  }

  body#checkout #hl-opc-cart-main .hl-cart-line:not(.hl-cart-line--service) .hl-cart-line__title {
    display: contents !important;
  }

  body#checkout #hl-opc-cart-main .hl-cart-line:not(.hl-cart-line--service) .product-line__title {
    grid-column: 2;
    grid-row: 1;
    align-self: end;
  }

  body#checkout #hl-opc-cart-main .hl-cart-line:not(.hl-cart-line--service) .hl-cart-line__unit {
    grid-column: 2;
    grid-row: 2;
    align-self: start;
  }

  body#checkout #hl-opc-cart-main .hl-cart-line:not(.hl-cart-line--service) .hl-cart-line__stock {
    grid-column: 3;
    grid-row: 1 / span 2;
    align-self: center;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    width: 100%;
    max-width: 220px;
    margin: 0 !important;
    padding-right: 8px;
  }

  body#checkout #hl-opc-cart-main .hl-cart-line:not(.hl-cart-line--service) .hl-cart-line__qty {
    grid-column: 4;
    grid-row: 1 / span 2;
  }

  body#checkout #hl-opc-cart-main .hl-cart-line:not(.hl-cart-line--service) .hl-cart-line__price {
    grid-column: 5;
    grid-row: 1 / span 2;
  }

  body#checkout #hl-opc-cart-main .hl-cart-line:not(.hl-cart-line--service) .hl-cart-line__actions {
    grid-column: 6;
    grid-row: 1 / span 2;
  }

  body#checkout #hl-opc-cart-main .hl-cart-line:not(.hl-cart-line--service) .hl-cart-line__image {
    grid-row: 1 / span 2;
  }
}

@media (min-width: 1100px) {
body#checkout #hl-opc-cart-main .hl-cart-line--service .hl-cart-line__image {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  width: 88px !important;
  height: 48px !important;
  max-width: 88px !important;
  min-height: 0 !important;
  max-height: 48px !important;
  overflow: hidden !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}
}

body#checkout #hl-opc-cart-main .hl-cart-line--service .hl-cart-line__brand,
body#checkout #hl-opc-cart-main .hl-cart-line--service .hl-cart-line__image img {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  object-position: center !important;
}

body#checkout #hl-opc-cart-main .hl-cart-line--service .miu-ship-face__truck {
  width: 48px;
  height: 32px;
}

@media (max-width: 767.98px) {
  body#checkout #hl-opc-cart-main .hl-cart-line--service {
    grid-template-columns: 56px minmax(0, 1fr) auto 36px !important;
    column-gap: 8px !important;
  }

  body#checkout #hl-opc-cart-main .hl-cart-line--service .hl-cart-line__image {
    width: 56px !important;
    height: 28px !important;
    max-width: 56px !important;
    min-width: 0 !important;
    max-height: 28px !important;
    min-height: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
  }

  body#checkout #hl-opc-cart-main .hl-cart-line--service .hl-cart-line__title {
    min-width: 0 !important;
    overflow: hidden;
  }

  body#checkout #hl-opc-cart-main .hl-cart-line--service .product-line__title {
    display: block;
    overflow-wrap: anywhere;
  }
}

body#checkout #hl-opc-cart-main .hl-cart-line__service-note {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  font-weight: 450;
  line-height: 1.4;
  color: #647681;
}

body#checkout #hl-pay-eta-note {
  display: none !important;
}

body#checkout #hl-pay-eta {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 4px 0 0 !important;
  margin: 0 !important;
}

body#checkout .hl-pay-eta__parts {
  margin: 4px 0 0 !important;
  font-size: 13px !important;
  font-weight: 500;
  color: #647681 !important;
}

body#checkout .miu-ship-face__price small {
  display: block;
  margin-top: 1px;
  font-size: 10px;
  font-weight: 500;
  color: #647681;
}

body#checkout .miu-ship-face__price.is-free {
  color: #426f50;
}

body#checkout #js-delivery {
  container-type: inline-size;
  container-name: miu-delivery;
}

@container miu-delivery (max-width: 599px) {
  body#checkout #js-delivery .delivery-options,
  body#checkout #js-delivery .delivery-options__list {
    display: grid !important;
    grid-template-columns: repeat(var(--miu-carrier-cols, 3), minmax(0, 1fr)) !important;
    grid-template-rows: auto auto !important;
    align-items: stretch !important;
    row-gap: 12px !important;
    column-gap: 8px !important;
    width: 100% !important;
    min-width: 0 !important;
  }

  body#checkout #js-delivery .delivery-option__label,
  body#checkout #js-delivery .delivery-option__item:has(input:checked) .delivery-option__label,
  body#checkout #js-delivery .delivery-option:has(input:checked) .delivery-option__label,
  body#checkout #js-delivery .delivery-option__item:focus-within .delivery-option__label {
    grid-row: 1 !important;
    grid-column: auto !important;
    align-self: stretch !important;
    justify-self: stretch !important;
    width: 100% !important;
    min-width: 0 !important;
    height: 108px !important;
    min-height: 108px !important;
    max-height: 108px !important;
    aspect-ratio: auto !important;
    box-sizing: border-box !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    margin: 0 !important;
    padding: 8px !important;
    border: 1px solid #e1e7e8 !important;
    border-radius: 10px !important;
    background: #fff !important;
    box-shadow: none !important;
    outline: none !important;
    transform: none !important;
  }

  body#checkout #js-delivery .delivery-option__item:has(input:checked) .delivery-option__label {
    border-color: #5da2b0 !important;
    background: #f0f7f8 !important;
  }

  body#checkout #js-delivery .miu-ship-face {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    width: 100% !important;
    text-align: center !important;
  }

  body#checkout #js-delivery .miu-ship-face__logo,
  body#checkout #js-delivery .miu-ship-face__truck {
    width: 72px !important;
    height: 28px !important;
    max-width: 72px !important;
    max-height: 28px !important;
    object-fit: contain !important;
    object-position: center !important;
  }

  body#checkout #js-delivery .miu-ship-face__cap {
    display: none !important;
  }

  body#checkout #js-delivery .miu-ship-face__price {
    font-size: 12px !important;
    font-weight: 600 !important;
    color: #0b2b3b !important;
    text-align: center !important;
    white-space: nowrap !important;
  }

  body#checkout #js-delivery .delivery-option__extra,
  body#checkout #js-delivery .delivery-option__extra .hl-itella-extra-wrap,
  body#checkout #js-delivery .delivery-option__extra .itella-select,
  body#checkout #js-delivery .delivery-option__extra .itella-shipping-container,
  body#checkout #js-delivery .delivery-option__extra .omniva-tmjs-container,
  body#checkout #js-delivery .delivery-option__extra .tmjs-container,
  body#checkout #js-delivery .delivery-option__extra .tmjs-dropdown-trigger,
  body#checkout #js-delivery .delivery-option__extra .itella-select .dropdown,
  body#checkout #js-delivery .delivery-option__extra .tmjs-selected-terminal {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    overflow: visible !important;
    position: relative !important;
    margin: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }

  body#checkout #js-delivery .delivery-option__extra {
    grid-row: auto !important;
    grid-column: 1 / -1 !important;
    overflow: visible !important;
  }

  body#checkout #js-delivery .tmjs-dropdown-trigger::before,
  body#checkout #js-delivery .omniva-tmjs .tmjs-selected-terminal::before {
    display: none !important;
    content: none !important;
    width: 0 !important;
    height: 0 !important;
  }

  body#checkout #js-delivery .delivery-option__extra .tmjs-dropdown-trigger,
  body#checkout #js-delivery .delivery-option__extra .tmjs-selected-terminal,
  body#checkout #js-delivery .omniva-pm-selected .tmjs-selected-terminal {
    height: 48px !important;
    min-height: 48px !important;
    max-height: 48px !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    margin-top: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }

  body#checkout #js-delivery .delivery-option__extra .tmjs-dropdown-trigger {
    padding-left: 14px !important;
  }

  body#checkout #js-delivery .tmjs-dropdown-list,
  body#checkout #js-delivery .itella-select ul {
    width: 100% !important;
    max-width: 100% !important;
    left: 0 !important;
    right: 0 !important;
    box-sizing: border-box !important;
  }

  body#checkout #js-delivery .tmjs-dropdown-list li,
  body#checkout #js-delivery .itella-select li {
    min-height: 44px !important;
    white-space: normal !important;
  }

  body#checkout #hl-courier-address .form-control {
    width: 100% !important;
    max-width: 100% !important;
    min-height: 44px !important;
    font-size: 16px !important;
  }
}

@media (max-width: 599.98px) {
  body#checkout #js-delivery .delivery-options,
  body#checkout #js-delivery .delivery-options__list {
    grid-template-columns: repeat(var(--miu-carrier-cols, 3), minmax(0, 1fr)) !important;
    grid-template-rows: auto auto !important;
    align-items: stretch !important;
  }

  body#checkout #js-delivery .delivery-option__label,
  body#checkout #js-delivery .delivery-option__item:has(input:checked) .delivery-option__label,
  body#checkout #js-delivery .delivery-option:has(input:checked) .delivery-option__label {
    grid-row: 1 !important;
    grid-column: auto !important;
    align-self: stretch !important;
    width: 100% !important;
    height: 108px !important;
    min-height: 108px !important;
    max-height: 108px !important;
    aspect-ratio: auto !important;
    margin: 0 !important;
    border-width: 1px !important;
    box-shadow: none !important;
    outline: none !important;
    transform: none !important;
  }

  body#checkout #js-delivery .delivery-option__extra {
    grid-row: 2 !important;
    grid-column: 1 / -1 !important;
  }

  body#checkout #hl-courier-address .col-md-4,
  body#checkout #hl-courier-address .col-md-8 {
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }
}

body#checkout .delivery-options__list,
body#checkout .delivery-options__form {
  margin-bottom: 0 !important;
}

body#checkout .delivery-option__extra,
body#checkout #hl-courier-address,
body#checkout .delivery-option__extra .itella-shipping-container,
body#checkout .delivery-option__extra .hl-itella-extra-wrap,
body#checkout .delivery-option__extra .presta_extra_content,
body#checkout .delivery-option__extra .itella-select,
body#checkout .delivery-option__extra .itella-select .dropdown,
body#checkout .delivery-option__extra .itella-select .dropdown-inner,
body#checkout .delivery-option__extra .select-omnivalt,
body#checkout .delivery-option__extra .omniva-tmjs-container,
body#checkout .delivery-option__extra .tmjs-container,
body#checkout .delivery-option__extra .tmjs-dropdown,
body#checkout .delivery-option__extra .tmjs-dropdown-trigger {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
  left: 0 !important;
  right: auto !important;
}

body#checkout .delivery-option__extra:not(:has(.itella-select, .tmjs-container, .select-omnivalt)) {
  display: none !important;
  margin: 0 !important;
}

body#checkout .itella-select,
body#checkout .itella-select .dropdown-inner {
  overflow: visible !important;
}

body#checkout .delivery-option__extra-content,
body#checkout .js-carrier-extra-content {
  padding-left: 0 !important;
  padding-right: 0 !important;
}
  width: 100% !important;
  max-width: 100% !important;
  font-size: 16px !important;
  pointer-events: auto !important;
}

@keyframes hl-on-autofill {
  from { opacity: 0.99; }
  to { opacity: 1; }
}

body#checkout #hl-courier-address1:-webkit-autofill,
body#checkout #hl-courier-postcode:-webkit-autofill,
body#checkout #hl-courier-city:-webkit-autofill {
  animation-name: hl-on-autofill;
  animation-duration: 0.01s;
}

body#checkout #hl-opc-cart-main .hl-cart-line--service {
  display: grid !important;
  grid-template-columns: 84px minmax(0, 1fr) auto 36px !important;
  grid-template-areas: "img info price remove" !important;
  column-gap: 14px !important;
  align-items: center !important;
}

body#checkout #hl-opc-cart-main .hl-cart-line--service .hl-cart-line__image {
  grid-area: img !important;
  width: 84px !important;
  height: 24px !important;
  min-width: 0 !important;
  max-width: 84px !important;
  min-height: 0 !important;
  max-height: 24px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  overflow: hidden !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
}

body#checkout #hl-opc-cart-main .hl-cart-line--service .hl-cart-line__image img,
body#checkout #hl-opc-cart-main .hl-cart-line--service .hl-cart-line__brand {
  display: block !important;
  width: 84px !important;
  height: 24px !important;
  max-width: 84px !important;
  max-height: 24px !important;
  object-fit: contain !important;
  object-position: left center !important;
}

body#checkout #hl-opc-cart-main .hl-cart-line--service .hl-cart-line__title {
  grid-area: info !important;
  min-width: 0 !important;
  position: relative !important;
  z-index: 1 !important;
}

body#checkout #hl-opc-cart-main .hl-cart-line--service .hl-cart-line__price {
  grid-area: price !important;
}

body#checkout #hl-opc-cart-main .hl-cart-line--service .hl-cart-line__actions {
  grid-area: remove !important;
}

@media (max-width: 767.98px) {
  body#checkout #hl-opc-cart-main .hl-cart-line--service {
    grid-template-columns: 64px minmax(0, 1fr) auto 32px !important;
    column-gap: 10px !important;
    padding: 10px 14px !important;
  }

  body#checkout #hl-opc-cart-main .hl-cart-line--service .hl-cart-line__image,
  body#checkout #hl-opc-cart-main .hl-cart-line--service .hl-cart-line__image img,
  body#checkout #hl-opc-cart-main .hl-cart-line--service .hl-cart-line__brand {
    width: 64px !important;
    height: 20px !important;
    max-width: 64px !important;
    max-height: 20px !important;
  }

  body#checkout #hl-opc-cart-main .hl-cart-line--service .product-line__title {
    font-size: 14px !important;
    line-height: 1.3 !important;
  }
}
