/**
 * Mart-io — commande rapide (order-opc) : récap + confirmation client.
 * Surcouche Apple-like après order-opc.css natif Qlo.
 */

body.qmp-martio-ui.order-opc .columns-container,
body.qmp-martio-ui.order .columns-container {
  background-color: var(--mp-color-surface-muted, #f5f5f7);
}

/* Cartes accordéon + colonne récap */
body.qmp-martio-ui.order-opc #oprder-opc-accordion .card,
body.qmp-martio-ui.order-opc .cart_total_detail_block,
body.qmp-martio-ui.order-opc .cart_voucher_detail_block,
body.qmp-martio-ui.order .cart_total_detail_block,
body.qmp-martio-ui.order .cart_voucher_detail_block {
  background: #fff;
  border: 1px solid var(--mp-color-border, #e5e5ea);
  border-radius: var(--mp-radius-card, 12px);
  box-shadow: var(--mp-shadow-card, 0 2px 16px rgba(0, 0, 0, 0.06));
}

body.qmp-martio-ui.order-opc #oprder-opc-accordion .card {
  padding: 0;
  margin-bottom: 16px;
  overflow: hidden;
}

body.qmp-martio-ui.order-opc .cart_total_detail_block,
body.qmp-martio-ui.order-opc .cart_voucher_detail_block,
body.qmp-martio-ui.order .cart_total_detail_block,
body.qmp-martio-ui.order .cart_voucher_detail_block {
  padding: 18px 20px;
}

body.qmp-martio-ui.order-opc #oprder-opc-accordion .card-header {
  background: transparent;
  border-bottom: 1px solid var(--mp-color-border, #e5e5ea);
  padding: 14px 20px;
}

body.qmp-martio-ui.order-opc #oprder-opc-accordion .card-body {
  padding: 20px;
  margin-top: 0;
}

body.qmp-martio-ui.order-opc #oprder-opc-accordion .accordion-header {
  font-size: 16px;
  font-weight: 600;
  color: var(--mp-color-text, #1d1d1f);
}

/* Champs — surcharger #order-opc (spécificité id Qlo) */
body.qmp-martio-ui.order-opc #order-opc input.form-control,
body.qmp-martio-ui.order-opc #order-opc select.form-control,
body.qmp-martio-ui.order-opc #order-opc textarea.form-control,
body.qmp-martio-ui.order-opc #order-opc select {
  height: 48px;
  min-height: 48px;
  border-radius: 10px !important;
  border: 1px solid var(--mp-color-border, #d2d2d7) !important;
  box-shadow: none !important;
  font-size: 15px;
  color: var(--mp-color-text, #1d1d1f);
  background-color: #fff;
}

body.qmp-martio-ui.order-opc #order-opc textarea.form-control {
  min-height: 96px;
  height: auto;
}

/* Boutons coupon / petits CTA */
body.qmp-martio-ui.order-opc #order-opc .opc-btn-primary,
body.qmp-martio-ui.order-opc #order-opc .opc-button-small.opc-btn-primary {
  background-color: #007aff !important;
  border: 1px solid #007aff !important;
  border-radius: 10px !important;
  color: #fff !important;
  padding: 10px 20px !important;
  font-weight: 600;
  box-shadow: none !important;
  text-transform: none;
}

body.qmp-martio-ui.order-opc #order-opc .opc-btn-primary:hover,
body.qmp-martio-ui.order-opc #order-opc .opc-button-small.opc-btn-primary:hover {
  background-color: #0066d6 !important;
  border-color: #0066d6 !important;
}

body.qmp-martio-ui.order-opc #order-opc .opc-btn-default {
  border-radius: 10px !important;
  border-color: #007aff !important;
  color: #007aff !important;
}

/* Écraser ombres / coins Qlo sur CTA principaux */
body.qmp-martio-ui.order-opc #order-opc .button-medium {
  box-shadow: none !important;
  border-radius: 10px !important;
  background-color: transparent !important;
  padding: 0 !important;
  text-transform: none !important;
}

body.qmp-martio-ui.order-opc #order-opc .button-medium > span {
  text-transform: none !important;
}

/* Bandeau dates / occupation */
body.qmp-martio-ui.order-opc .order-detail-content .room_duration_block {
  background-color: #f0f7ff;
  border: 1px solid #d6e8ff;
  border-radius: 10px;
  padding: 12px 10px 8px;
}

body.qmp-martio-ui.order-opc .order-detail-content .cart_product_summary_line .room_duration_block {
  background-color: #f0f7ff;
}

body.qmp-martio-ui.order-opc .order-detail-content .room_duration_block_head {
  font-size: 11px;
  letter-spacing: 0.04em;
  color: #6e6e73;
}

body.qmp-martio-ui.order-opc .order-detail-content .room_duration_block_value {
  font-size: 15px;
  font-weight: 600;
  color: #1d1d1f;
}

/* Récap prix colonne droite */
body.qmp-martio-ui.order-opc .cart_total_detail_block .cart_final_total_block > .cart_total_values {
  font-size: 26px !important;
  font-weight: 700;
  color: #007aff !important;
}

body.qmp-martio-ui.order-opc .order-detail-content .cart_section_title {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #6e6e73;
}

body.qmp-martio-ui.order-opc .order-detail-content .product-name a {
  font-size: 20px;
  font-weight: 600;
  color: #1d1d1f !important;
}

/* ——— Paiement module (martio_especes, chèque, virement) ——— */
body.qmp-martio-ui.module-martio_especes-payment .columns-container,
body.qmp-martio-ui.module-cheque-payment .columns-container,
body.qmp-martio-ui.module-bankwire-payment .columns-container {
  background-color: var(--mp-color-surface-muted, #f5f5f7);
}

body.qmp-martio-ui.module-martio_especes-payment #left_column,
body.qmp-martio-ui.module-martio_especes-payment #right_column,
body.qmp-martio-ui.module-cheque-payment #left_column,
body.qmp-martio-ui.module-cheque-payment #right_column,
body.qmp-martio-ui.module-bankwire-payment #left_column,
body.qmp-martio-ui.module-bankwire-payment #right_column {
  display: none !important;
}

body.qmp-martio-ui.module-martio_especes-payment #columns > .row,
body.qmp-martio-ui.module-cheque-payment #columns > .row,
body.qmp-martio-ui.module-bankwire-payment #columns > .row {
  display: block;
}

body.qmp-martio-ui.module-martio_especes-payment #center_column,
body.qmp-martio-ui.module-cheque-payment #center_column,
body.qmp-martio-ui.module-bankwire-payment #center_column {
  width: 100% !important;
  max-width: 680px;
  margin: 0 auto;
  float: none !important;
  padding-top: 24px;
}

body.qmp-martio-ui.module-martio_especes-payment .page-heading,
body.qmp-martio-ui.module-cheque-payment .page-heading,
body.qmp-martio-ui.module-bankwire-payment .page-heading {
  font-size: 28px;
  font-weight: 700;
  color: #1d1d1f;
  border-bottom: none;
  margin-bottom: 20px;
  padding-bottom: 0;
}

body.qmp-martio-ui.module-martio_especes-payment .box,
body.qmp-martio-ui.module-cheque-payment .box,
body.qmp-martio-ui.module-bankwire-payment .box {
  background: #fff;
  border: 1px solid var(--mp-color-border, #e5e5ea);
  border-radius: var(--mp-radius-card, 12px);
  box-shadow: var(--mp-shadow-card, 0 2px 16px rgba(0, 0, 0, 0.06));
  padding: 24px;
  margin-bottom: 24px;
  font-size: 15px;
  line-height: 1.5;
  color: #1d1d1f;
}

body.qmp-martio-ui.module-martio_especes-payment .page-subheading,
body.qmp-martio-ui.module-cheque-payment .page-subheading,
body.qmp-martio-ui.module-bankwire-payment .page-subheading {
  font-size: 16px;
  font-weight: 600;
  text-transform: none;
  color: #1d1d1f;
  border-bottom: 1px solid #e5e5ea;
  padding-bottom: 12px;
  margin-bottom: 16px;
}

body.qmp-martio-ui.module-martio_especes-payment .martio-especes-payment-info {
  color: #6e6e73;
  margin-bottom: 16px;
}

body.qmp-martio-ui.module-martio_especes-payment .martio-especes-payment-info strong {
  font-weight: 700;
  color: #1d1d1f;
}

body.qmp-martio-ui.module-martio_especes-payment .box .price,
body.qmp-martio-ui.module-cheque-payment .box .price,
body.qmp-martio-ui.module-bankwire-payment .box .price {
  font-size: 22px;
  font-weight: 700;
  color: #007aff;
}

body.qmp-martio-ui.module-martio_especes-payment .confirm_order.button-medium,
body.qmp-martio-ui.module-cheque-payment .confirm_order.button-medium,
body.qmp-martio-ui.module-bankwire-payment .confirm_order.button-medium {
  width: 100%;
  margin-top: 8px;
  display: flex;
  border-radius: 10px !important;
  background: #007aff !important;
  background-image: none !important;
  border: 1px solid #007aff !important;
  padding: 0 !important;
  text-transform: none !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08) !important;
  filter: none !important;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}

body.qmp-martio-ui.module-martio_especes-payment .confirm_order.button-medium:hover,
body.qmp-martio-ui.module-cheque-payment .confirm_order.button-medium:hover,
body.qmp-martio-ui.module-bankwire-payment .confirm_order.button-medium:hover {
  background: #0066d6 !important;
  border-color: #0066d6 !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(0, 122, 255, 0.32) !important;
}

body.qmp-martio-ui.module-martio_especes-payment .confirm_order.button-medium:active,
body.qmp-martio-ui.module-cheque-payment .confirm_order.button-medium:active,
body.qmp-martio-ui.module-bankwire-payment .confirm_order.button-medium:active {
  transform: translateY(0);
  box-shadow: 0 1px 3px rgba(0, 122, 255, 0.2) !important;
}

body.qmp-martio-ui.module-martio_especes-payment .confirm_order.button-medium > span,
body.qmp-martio-ui.module-cheque-payment .confirm_order.button-medium > span,
body.qmp-martio-ui.module-bankwire-payment .confirm_order.button-medium > span {
  text-transform: none !important;
  color: #fff !important;
  background: transparent !important;
  background-image: none !important;
}

body.qmp-martio-ui.module-martio_especes-payment .confirm_order.button-medium:hover > span,
body.qmp-martio-ui.module-cheque-payment .confirm_order.button-medium:hover > span,
body.qmp-martio-ui.module-bankwire-payment .confirm_order.button-medium:hover > span {
  color: #fff !important;
  background: transparent !important;
}

body.qmp-martio-ui.module-cheque-payment #cart_navigation,
body.qmp-martio-ui.module-bankwire-payment #cart_navigation {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: stretch;
  margin-top: 8px;
}

body.qmp-martio-ui.module-cheque-payment #cart_navigation .button-exclusive,
body.qmp-martio-ui.module-bankwire-payment #cart_navigation .button-exclusive {
  flex: 1 1 auto;
  border-radius: 10px !important;
  border: 1px solid #d2d2d7 !important;
  background: #f5f5f7 !important;
  box-shadow: none !important;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  color: #1d1d1f !important;
}

body.qmp-martio-ui.module-cheque-payment #cart_navigation .confirm_order,
body.qmp-martio-ui.module-bankwire-payment #cart_navigation .confirm_order {
  flex: 1 1 auto;
  width: auto;
  margin-top: 0;
}

/* ——— Confirmation commande ——— */
body.qmp-martio-ui.order-confirmation .columns-container {
  background-color: var(--mp-color-surface-muted, #f5f5f7);
  padding-bottom: 48px;
  overflow-x: hidden;
  overflow-x: clip;
}

body.qmp-martio-ui.order-confirmation #columns {
  max-width: 100%;
  overflow-x: hidden;
  overflow-x: clip;
}

body.qmp-martio-ui.order-confirmation #columns > .row {
  display: block;
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 16px;
  box-sizing: border-box;
}

body.qmp-martio-ui.order-confirmation #center_column {
  width: 100% !important;
  max-width: 100% !important;
  float: none !important;
  padding-top: 24px;
  padding-left: 0 !important;
  padding-right: 0 !important;
  box-sizing: border-box;
  overflow-x: clip;
}

body.qmp-martio-ui.order-confirmation .order-confirmation-column {
  display: flex;
  flex-direction: column;
  gap: 20px;
  font-size: 15px;
  line-height: 1.5;
  color: #1d1d1f;
  max-width: 100%;
  min-width: 0;
  overflow-x: clip;
}

/* Bootstrap rows : pas de marges négatives (débordement mobile) */
body.qmp-martio-ui.order-confirmation .row {
  margin-left: 0 !important;
  margin-right: 0 !important;
  max-width: 100%;
}

body.qmp-martio-ui.order-confirmation [class*="col-"] {
  box-sizing: border-box;
  max-width: 100%;
  min-width: 0;
}

body.qmp-martio-ui.order-confirmation .page-heading {
  font-size: 28px;
  font-weight: 700;
  color: #1d1d1f;
  border: none;
  margin-bottom: 8px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  text-align: center;
  gap: 8px 12px;
}

body.qmp-martio-ui.order-confirmation .page-heading .bold {
  color: #007aff;
  font-weight: 700;
}

/* Carte statut voyageur (demande reçue / hôtel confirmera) */
body.qmp-martio-ui.order-confirmation .qmp-booking-status-card {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  background: #fff;
  border: 1px solid #d7ebff;
  border-radius: 16px;
  box-shadow: 0 8px 28px rgba(0, 122, 255, 0.08);
  padding: 22px 24px;
  background-image: linear-gradient(135deg, #f5faff 0%, #ffffff 55%);
}

@media (min-width: 992px) {
  body.qmp-martio-ui.order-confirmation .order-confirmation-column {
    max-width: 920px;
    margin-left: auto;
    margin-right: auto;
  }

  body.qmp-martio-ui.order-confirmation .qmp-booking-status-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 32px 40px;
    gap: 16px;
  }

  body.qmp-martio-ui.order-confirmation .qmp-booking-status-card__body {
    padding-top: 0;
    max-width: 560px;
  }

  body.qmp-martio-ui.order-confirmation .qmp-booking-status-card__title {
    font-size: 20px;
  }

  body.qmp-martio-ui.order-confirmation .qmp-booking-status-help {
    text-align: center;
  }

  body.qmp-martio-ui.order-confirmation .qmp-payment-return-card .card-body {
    text-align: center;
  }

  body.qmp-martio-ui.order-confirmation .martio-order-confirm-meta {
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
  }

  body.qmp-martio-ui.order-confirmation .martio-order-confirm-meta-wrap__title {
    text-align: center;
  }

  body.qmp-martio-ui.order-confirmation .martio-order-confirm-meta__note,
  body.qmp-martio-ui.order-confirmation .martio-order-confirm-note {
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }
}

body.qmp-martio-ui.order-confirmation .qmp-booking-status-card__icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #34c759;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 16px rgba(52, 199, 89, 0.35);
}

body.qmp-martio-ui.order-confirmation .qmp-booking-status-card__body {
  min-width: 0;
  flex: 1;
  padding-top: 2px;
}

body.qmp-martio-ui.order-confirmation .qmp-booking-status-card__eyebrow {
  margin: 0 0 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #007aff;
}

body.qmp-martio-ui.order-confirmation .qmp-booking-status-card__title {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.35;
  color: #1d1d1f;
}

body.qmp-martio-ui.order-confirmation .qmp-booking-status-card__hint {
  margin: 8px 0 0;
  font-size: 14px;
  line-height: 1.5;
  color: #6e6e73;
}

body.qmp-martio-ui.order-confirmation .qmp-booking-status-card--cancelled {
  border-color: #e5e5ea;
  background-image: linear-gradient(135deg, #fafafa 0%, #ffffff 55%);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

body.qmp-martio-ui.order-confirmation .qmp-booking-status-card__icon--muted {
  background: #8e8e93;
  box-shadow: none;
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
}

body.qmp-martio-ui.order-confirmation .qmp-booking-status-card--cancelled .qmp-booking-status-card__eyebrow {
  color: #8e8e93;
}

body.qmp-martio-ui.order-confirmation .qmp-booking-status-help {
  margin: 0;
  padding: 16px 20px;
  background: #fff;
  border: 1px solid #e5e5ea;
  border-radius: 12px;
  color: #6e6e73;
  font-size: 14px;
  line-height: 1.55;
}

body.qmp-martio-ui.order-confirmation .qmp-booking-status-help a {
  color: #007aff;
  font-weight: 600;
}

body.qmp-martio-ui.order-confirmation .qmp-payment-return-card {
  background: #fff;
  border: 1px solid #e5e5ea;
  border-radius: 12px;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
  padding: 0;
  overflow: hidden;
  margin: 0;
}

body.qmp-martio-ui.order-confirmation .qmp-payment-return-card .card-body {
  padding: 22px 24px;
}

body.qmp-martio-ui.order-confirmation .martio-order-confirm-meta-wrap__title {
  margin: 0 0 14px;
  font-size: 15px;
  font-weight: 600;
  color: #1d1d1f;
}

body.qmp-martio-ui.order-confirmation .martio-order-confirm-meta {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 24px;
}

body.qmp-martio-ui.order-confirmation .martio-order-confirm-meta__item {
  margin: 0;
  min-width: 0;
}

body.qmp-martio-ui.order-confirmation .martio-order-confirm-meta__item dt {
  margin: 0 0 4px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #6e6e73;
}

body.qmp-martio-ui.order-confirmation .martio-order-confirm-meta__item dd {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: #1d1d1f;
}

body.qmp-martio-ui.order-confirmation .martio-order-confirm-meta__amount {
  font-size: 20px !important;
  color: #007aff !important;
}

body.qmp-martio-ui.order-confirmation .martio-order-confirm-meta__note {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #e5e5ea;
  color: #6e6e73;
  font-size: 15px;
  line-height: 1.55;
}

body.qmp-martio-ui.order-confirmation .martio-order-confirm-meta__note strong {
  font-weight: 700;
  color: #1d1d1f;
}

body.qmp-martio-ui.order-confirmation .martio-order-confirm-note {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
}

body.qmp-martio-ui.order-confirmation .martio-order-confirm-note--muted {
  color: #6e6e73;
}

body.qmp-martio-ui.order-confirmation .martio-order-confirm-note--warn {
  color: #9a3412;
}

body.qmp-martio-ui.order-confirmation #order-detail-content > .row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 0;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

body.qmp-martio-ui.order-confirmation #order-detail-content .order-product-summary,
body.qmp-martio-ui.order-confirmation #order-detail-content > .row > .col-md-4 {
  float: none !important;
  width: 100% !important;
  padding: 0;
}

@media (min-width: 992px) {
  body.qmp-martio-ui.order-confirmation #order-detail-content .order-product-summary {
    flex: 1 1 560px;
    width: auto !important;
    max-width: calc(100% - 340px);
  }

  body.qmp-martio-ui.order-confirmation #order-detail-content > .row > .col-md-4 {
    flex: 0 0 300px;
    width: 300px !important;
  }
}

body.qmp-martio-ui.order-confirmation #order-detail-content .card {
  background: #fff;
  border: 1px solid #e5e5ea;
  border-radius: 12px;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
  padding: 0;
  margin-bottom: 16px;
  overflow: hidden;
}

body.qmp-martio-ui.order-confirmation #order-detail-content .card:last-child {
  margin-bottom: 0;
}

body.qmp-martio-ui.order-confirmation #order-detail-content .card .card-header {
  background: transparent;
  border-bottom: 1px solid #e5e5ea;
  padding: 14px 20px;
  font-size: 15px;
  font-weight: 600;
  color: #1d1d1f;
  margin: 0;
}

body.qmp-martio-ui.order-confirmation #order-detail-content .order-product-summary .card .card-body {
  padding: 0;
}

body.qmp-martio-ui.order-confirmation .product-detail {
  padding: 20px;
}

body.qmp-martio-ui.order-confirmation .product-detail:not(:last-of-type) {
  border-bottom: 1px solid #e5e5ea;
}

body.qmp-martio-ui.order-confirmation .product-detail .product-name a {
  font-size: 16px;
  font-weight: 600;
  color: #1d1d1f !important;
}

body.qmp-martio-ui.order-confirmation .product-detail img {
  border-radius: 8px;
  max-width: 100%;
  height: auto;
}

body.qmp-martio-ui.order-confirmation .product-detail > .row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 12px;
}

body.qmp-martio-ui.order-confirmation .product-detail > .row > .col-xs-3,
body.qmp-martio-ui.order-confirmation .product-detail > .row > .col-sm-2 {
  flex: 0 0 72px;
  width: 72px !important;
  max-width: 72px;
  padding-left: 0 !important;
  padding-right: 0 !important;
  float: none !important;
}

body.qmp-martio-ui.order-confirmation .product-detail > .row > .col-xs-9,
body.qmp-martio-ui.order-confirmation .product-detail > .row > .col-sm-10 {
  flex: 1 1 0;
  width: auto !important;
  max-width: 100%;
  min-width: 0;
  padding-left: 0 !important;
  padding-right: 0 !important;
  float: none !important;
}

body.qmp-martio-ui.order-confirmation .product-detail dt {
  margin: 4px 0;
  font-size: 13px;
  font-weight: 500;
  color: #6e6e73;
}

body.qmp-martio-ui.order-confirmation .product-detail dd {
  margin: 4px 0;
  font-size: 16px;
  font-weight: 600;
  color: #1d1d1f;
}

body.qmp-martio-ui.order-confirmation .col-md-4 .card .card-body {
  padding: 16px 20px;
}

body.qmp-martio-ui.order-confirmation .col-md-4 .card .card-body > .row {
  margin: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
}

body.qmp-martio-ui.order-confirmation .col-md-4 .card .card-body > .row label.title {
  margin: 0;
  font-size: 13px;
  font-weight: 500;
  color: #6e6e73;
  width: auto;
  float: none;
  padding: 0;
}

body.qmp-martio-ui.order-confirmation .col-md-4 .card .card-body > .row .value {
  text-align: right;
  font-weight: 600;
  padding: 0;
  width: auto;
  float: none;
}

body.qmp-martio-ui.order-confirmation .col-md-4 .card .card-body > br {
  display: none;
}

body.qmp-martio-ui.order-confirmation .prices-breakdown-table {
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

body.qmp-martio-ui.order-confirmation .table-summary {
  margin: 0;
  width: 100%;
  max-width: 100%;
  table-layout: fixed;
}

body.qmp-martio-ui.order-confirmation .table-summary td {
  padding: 10px 0 !important;
  border: none !important;
  font-size: 16px;
  vertical-align: top;
  word-wrap: break-word;
  overflow-wrap: anywhere;
}

body.qmp-martio-ui.order-confirmation .table-summary td:first-child {
  padding-right: 12px !important;
}

body.qmp-martio-ui.order-confirmation .table-summary tr.totalprice td {
  border-top: 1px solid #e5e5ea !important;
  padding-top: 14px !important;
  font-size: 16px;
}

body.qmp-martio-ui.order-confirmation .table-summary tr.totalprice .text-right span {
  font-size: 20px;
  font-weight: 700;
  color: #007aff;
}

body.qmp-martio-ui.order-confirmation .order-confirmation-column > p:not(.cart_navigation) {
  background: #fff;
  border: 1px solid #e5e5ea;
  border-radius: 12px;
  padding: 20px 24px;
  margin: 0;
  color: #1d1d1f;
  line-height: 1.6;
}

body.qmp-martio-ui.order-confirmation .cart_navigation {
  margin: 0;
  text-align: center;
}

body.qmp-martio-ui.order-confirmation .cart_navigation .btn,
body.qmp-martio-ui.order-confirmation .cart_navigation a.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 28px;
  border-radius: 10px !important;
  background: #007aff !important;
  border: 1px solid #007aff !important;
  color: #fff !important;
  font-weight: 600;
  font-size: 15px;
  box-shadow: none !important;
  text-transform: none !important;
}

body.qmp-martio-ui.order-confirmation .cart_navigation .btn:hover,
body.qmp-martio-ui.order-confirmation .cart_navigation a.btn:hover {
  background: #0066d6 !important;
  border-color: #0066d6 !important;
  color: #fff !important;
}

body.qmp-martio-ui.order-confirmation .order-confirmation-column > .card .alert-success {
  border-radius: 10px;
  border: 1px solid #b8e6c8;
  background: #f0fdf4;
  margin-bottom: 16px;
}

@media (max-width: 767px) {
  body.qmp-martio-ui.order-confirmation #columns > .row {
    padding-left: 12px;
    padding-right: 12px;
  }

  body.qmp-martio-ui.order-confirmation .page-heading {
    font-size: 22px;
    word-break: break-word;
  }

  body.qmp-martio-ui.order-confirmation .qmp-booking-status-card {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    padding: 18px;
  }

  body.qmp-martio-ui.order-confirmation .qmp-booking-status-card__title {
    font-size: 16px;
  }

  body.qmp-martio-ui.order-confirmation .qmp-payment-return-card .card-body {
    padding: 16px;
  }

  body.qmp-martio-ui.order-confirmation .product-detail {
    padding: 16px;
  }

  body.qmp-martio-ui.order-confirmation .qmp-booking-status-help {
    padding: 14px 16px;
  }

  body.qmp-martio-ui.order-confirmation .martio-order-confirm-meta {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  body.qmp-martio-ui.order-confirmation .col-md-4 .card .card-body > .row {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  body.qmp-martio-ui.order-confirmation .col-md-4 .card .card-body > .row .value {
    text-align: left;
    width: 100%;
  }

  body.qmp-martio-ui.order-confirmation .product-detail .row .col-xs-5,
  body.qmp-martio-ui.order-confirmation .product-detail .row .col-xs-7 {
    width: 50% !important;
    float: left;
    padding-left: 0 !important;
    padding-right: 4px !important;
  }

  body.qmp-martio-ui.order-confirmation .table-summary td.text-right {
    white-space: normal;
  }

  body.qmp-martio-ui.order-confirmation .cart_navigation .btn,
  body.qmp-martio-ui.order-confirmation .cart_navigation a.btn {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
}
