#mtcheckoutdata-root.mtcd-checkout {
  margin-top: 2rem;
}

.mtcd-page-title,
.mtcd-checkout h3,
.mtcd-checkout h4 {
  font-family: 'Playfair Display', serif;
}

.mtcd-page-title {
  font-size: 2.4rem;
  margin-bottom: 1rem;
}

.mtcd-card {
  background: #fff;
  border: 1px solid #dbe4e0;
  border-radius: 18px;
  padding: 2rem;
  margin-bottom: 1.5rem;
}

.mtcd-summary-main {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
}

.mtcd-summary-title {
  font-size: 2.6rem;
  margin-bottom: 1rem;
}

.mtcd-summary-lines p {
  margin-bottom: .25rem;
}

.mtcd-summary-price {
  min-width: 220px;
  color: #0c645c;
  font-weight: 700;
  font-size: 3rem;
  line-height: 1;
  text-align: left;
}

.mtcd-summary-price small {
  display: block;
  font-size: 0.95rem;
  line-height: 1.1;
  margin-top: .3rem;
}

.mtcd-grid {
  display: grid;
  gap: 1rem;
}

.mtcd-grid-2 {
  grid-template-columns: 1fr 1fr;
}

.mtcd-span-2 {
  grid-column: 1 / -1;
}

.mtcd-input {
  width: 100%;
  min-height: 58px;
  background: #edf5f2;
  border: 1px solid #dbe4e0;
  border-radius: 12px;
  padding: 0 1rem;
  font-size: 1.05rem;
}

.mtcd-two-col {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(260px, 320px);
  gap: 1.5rem;
  align-items: start;
}

.mtcd-location-card {
  border: 1px solid #dbe4e0;
  border-radius: 12px;
  padding: 1rem 1.25rem;
}

.mtcd-location-title {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: .35rem;
}

.mtcd-link-btn {
  display: inline-block;
  margin-top: .75rem;
  color: #0c645c;
  border: 2px solid #0c645c;
  border-radius: 10px;
  padding: .45rem .9rem;
  text-decoration: none !important;
}

.mtcd-actions {
  margin-top: 1rem;
}

.mtcd-save-btn {
  width: 100%;
  min-height: 64px;
  border-radius: 14px !important;
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  background: #0c645c !important;
  border-color: #0c645c !important;
}

.mtcd-save-btn.is-loading {
  opacity: .75;
}

.mtcd-status {
  margin-top: .75rem;
  font-weight: 600;
  color: #0c645c;
}

.mtcd-status.is-error {
  color: #c0392b;
}

@media (max-width: 991.98px) {

  .mtcd-summary-main,
  .mtcd-two-col,
  .mtcd-grid-2 {
    grid-template-columns: 1fr;
    display: grid;
  }

  .mtcd-summary-price {
    min-width: 0;
  }
}

@media (max-width: 768px) {
  .mt-route-product-page {
    padding-top: 0px !important;
  }

  h1.mt-route-title {
    text-align: center;
  }

  .mt-route-features {
    display: flex;
    justify-content: center;
  }

  .mt-route-features {
    display: flex;
    justify-content: center;
  }

  .mt-route-point-title {
    margin-bottom: 10px !important;
  }

  .mt-route-point-title,
  .mt-route-point-city.js-mt-origin-city,
  .mt-route-point-city.js-mt-destination-city,
  .mt-route-point-time.js-mt-destination-time,
  .product-actions.js-product-actions p {
    text-align: center;
  }

  .mt-route-point-card {
    min-height: auto !important;
    padding: 20px;
  }

  .mt-route-point-city.js-mt-destination-city {
    margin-bottom: 0px;
  }

  .mt-route-sidebar {
    padding: 20px;
  }

  .mt-route-price-top {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0px;
  }

  .mt-route-passport-notice {
    text-align: center;
  }

  .mt-route-feature {
    gap: 5px !important;
  }

  .mt-route-point-actions {
    display: flex;
    flex-flow: column;
  }

  .mt-route-point-time.js-mt-origin-time {
    text-align: center;
  }

  .product-prices.js-product-prices {
    margin-top: 0px;
  }

  button#booking_button {
    font-size: 16px !important;
}

.product-price.h5 {
  margin-bottom: 0px !important;
}

.mt-route-price-inner {
  width: 100% !important;
}

h3.mtcd-summary-title.js-mtcd-route-name {
  font-size: 30px;
}

.mtcd-price-row {
  width: 90% !important;
  display: flex;
  justify-content: space-between;
}

.mtcd-summary-lines {
  display: flex;
  flex-flow: column;
  gap: 5px;
}

button#mtcd-save-and-continue {
  font-size: 20px;
  min-height: auto;
}

div#mtcheckoutdata-root {
  margin-top: 0px !important;
}

}

/* ── Aviso informativo: perros grandes (>18kg) ──
   Cajita ámbar visible solo cuando la combinación seleccionada es PERRO.
   El JS de front.js alterna su display:flex / display:none según el tipo. */
.mtcd-dog-warning {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 12px 0 0;
  padding: 10px 14px;
  background: #fff7e6;
  border: 1px solid #f0d68f;
  border-left: 4px solid #d68910;
  border-radius: 6px;
  font-size: 0.9em;
  line-height: 1.4;
  color: #6b5300;
}
.mtcd-dog-warning strong {
  color: #a05a00;
}