/*
 * Decarbo + Apollo — UX úprava termínu dopravy
 * Zasahuje pouze do textové informace uvnitř .payment-info.
 */

.payment-info .apollo-delivery-meta {
  display: flex !important;
  flex-direction: column !important;
  gap: 2px !important;
  margin-top: 7px !important;
  max-width: 100% !important;
  font-size: 12.5px !important;
  line-height: 1.35 !important;
  font-weight: 400 !important;
  text-transform: none !important;
  white-space: normal !important;
}

.payment-info .apollo-delivery-line {
  display: flex !important;
  align-items: baseline !important;
  flex-wrap: wrap !important;
  gap: 5px !important;
  color: #697080 !important;
}

.payment-info .apollo-meta-label {
  color: #697080 !important;
  font-weight: 400 !important;
}

.payment-info .apollo-meta-label::after {
  content: ":" !important;
}

.payment-info .apollo-delivery-line strong {
  color: #010830 !important;
  font-weight: 700 !important;
}

.payment-info .apollo-free-shipping {
  display: flex !important;
  align-items: center !important;
  gap: 4px !important;
  color: #4a7a43 !important;
  font-size: 11.5px !important;
  font-weight: 600 !important;
}

.payment-info .apollo-free-check {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 14px !important;
  height: 14px !important;
  border-radius: 50% !important;
  background: #edf7ea !important;
  color: #3f7937 !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  flex: 0 0 14px !important;
}

.payment-info .apollo-shipping-note {
  display: block !important;
  margin-top: 1px !important;
  color: #8a909d !important;
  font-size: 11px !important;
  line-height: 1.3 !important;
  font-weight: 400 !important;
}

.payment-info .sublabel {
  margin-top: 3px !important;
}

/* Na vybraném řádku zachovat kontrast bez dalšího zvýrazňování. */
.radio-wrapper:has(input[name="shippingId"]:checked)
.payment-info .apollo-delivery-line strong {
  color: #010830 !important;
}

@media (max-width: 767px) {
  .payment-info .apollo-delivery-meta {
    gap: 2px !important;
    margin-top: 6px !important;
    font-size: 12px !important;
  }

  .payment-info .apollo-free-shipping {
    font-size: 11px !important;
  }

  .payment-info .apollo-shipping-note {
    font-size: 10.5px !important;
  }
}


/* Vybraná výdejní doprava bez zvoleného odběrného místa */
.radio-wrapper.apollo-branch-required .sublabel a,
.radio-wrapper.apollo-branch-required .sublabel button,
.payment-shipping-item.apollo-branch-required .sublabel a,
.payment-shipping-item.apollo-branch-required .sublabel button {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  width: fit-content !important;
  margin-top: 4px !important;
  padding: 6px 10px !important;
  border: 1px solid #d93025 !important;
  border-radius: 6px !important;
  background: #d93025 !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  box-shadow: 0 0 0 2px rgba(217, 48, 37, 0.12) !important;
  transition: background-color .15s ease, border-color .15s ease, box-shadow .15s ease !important;
}

.radio-wrapper.apollo-branch-required .sublabel a:hover,
.radio-wrapper.apollo-branch-required .sublabel button:hover,
.payment-shipping-item.apollo-branch-required .sublabel a:hover,
.payment-shipping-item.apollo-branch-required .sublabel button:hover {
  background: #c5221f !important;
  border-color: #c5221f !important;
  color: #ffffff !important;
}

.radio-wrapper.apollo-branch-required .sublabel a::before,
.radio-wrapper.apollo-branch-required .sublabel button::before,
.payment-shipping-item.apollo-branch-required .sublabel a::before,
.payment-shipping-item.apollo-branch-required .sublabel button::before {
  content: "!" !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 16px !important;
  height: 16px !important;
  flex: 0 0 16px !important;
  border-radius: 50% !important;
  background: rgba(255,255,255,.2) !important;
  color: #ffffff !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
}

.radio-wrapper.apollo-branch-required,
.payment-shipping-item.apollo-branch-required {
  border-color: #e5a7a2 !important;
}

@media (max-width: 767px) {
  .radio-wrapper.apollo-branch-required .sublabel a,
  .radio-wrapper.apollo-branch-required .sublabel button,
  .payment-shipping-item.apollo-branch-required .sublabel a,
  .payment-shipping-item.apollo-branch-required .sublabel button {
    padding: 6px 9px !important;
    font-size: 12px !important;
  }
}
