/* BASE STYLES */

/* FLEXBOX */

.flex {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -js-display: flex;
}

.inline-flex {
  -js-display: inline-flex;
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
}

.flex-column {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -js-display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
}

.inline-flex-column {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -js-display: inline-flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
}

.flex-checkout {
  display: flex;
}

.flex-m-center {
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

.flex-s-center {
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.flex-m-sa {
  -ms-flex-pack: distribute;
  justify-content: space-around;
}

.flex-m-sb {
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}

.flex-m-start {
  -webkit-box-pack: start;
  -ms-flex-pack: start;
  justify-content: flex-start;
}

.flex-m-end {
  -webkit-box-pack: end;
  -ms-flex-pack: end;
  justify-content: flex-end;
}

.flex-s-sa {
  -webkit-box-align: space-around;
  -ms-flex-align: space-around;
  align-items: space-around;
}

.flex-s-sb {
  -webkit-box-align: space-between;
  -ms-flex-align: space-between;
  align-items: space-between;
}

.flex-s-start {
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: flex-start;
}

.flex-s-end {
  -webkit-box-align: end;
  -ms-flex-align: end;
  align-items: flex-end;
}

.flex-wrap {
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}

.flex-grow {
  -webkit-box-flex: 1;
  -ms-flex-positive: 1;
  flex-grow: 1;
}

.flex-noshrink {
  -ms-flex-negative: 0;
  flex-shrink: 0;
}

.flex-shrink {
  -ms-flex-negative: 1;
  flex-shrink: 1;
}

.flex-center {
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

.flex-spacer {
  flex-grow: 1;
}

/* FIN FLEXBOX */

* {
  box-sizing: border-box;
}

#footer_px {
  width: 100% !important;
  max-width: 100% !important;
}

.EndError {
  visibility: hidden;
  display: none;
}

.neo_checkout_flotante {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999999;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  box-sizing: border-box;
  background-color: #FFFFFF;
  box-shadow: 0 -3px 8px rgba(0, 0, 0, 0.10);
  border-top: 1px solid #E5E7EB;
  height: 52px;
  flex-wrap: nowrap;
}

.neo_mplogocont {
  display: flex;
  width: 100%;
  justify-content: space-between;
  align-items: center;
}

.neo_mplogo {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 10px;
}

.neo_mplogo span {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-family: "Helvetica Neue", "Helvetica", "Arial", sans-serif;
  color: #ccc;
  margin-right: 10px;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(1.3);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

.px-fixed-spinner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100vw;
  bottom: 0;
  height: 100vh;
  background: rgba(255, 255, 255, 0.9);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: 0.3s ease-out;
  animation: fadeIn 0.5s ease-out forwards 1;
  z-index: 99;
}

.px-fixed-spinner-msg span {
  font-size: 12px;
  font-style: italic;
  opacity: 0.3;
}

.px-fixed-spinner-msg {
  padding: 20px;
  font-size: 17px;
  line-height: 2;
  text-align: center;
}

.px-fixed-spinner.off {
  display: none;
  pointer-events: none;
  opacity: 0;
}

.neo_checkout_flot_total {
  width: auto;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  padding: 0;
  background-color: transparent;
  box-sizing: border-box;
  justify-content: center;
  position: relative;
  flex: 0 1 auto;
  min-width: 0;
  white-space: normal;
  cursor: pointer;
}

.float_total_content {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.float_tap {
  position: relative;
  width: 32px;
  height: 32px;
  min-width: 32px;
  border-radius: 50%;
  background: #E5E7EB;
  display: flex !important;
  align-items: center;
  justify-content: center;
  color: #374151;
  cursor: pointer;
}

.neo_checkout_flotante #button.boton,
.neo_checkout_flotante #button {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin: 0 !important;
  border-radius: 8px !important;
  letter-spacing: 0;
  font-size: 15px !important;
  font-weight: 700;
  height: 40px;
  padding: 0 16px;
  color: white !important;
  white-space: nowrap;
}

.float_total_header {
  display: flex !important;
  flex-direction: row !important;
  align-items: baseline;
  gap: 6px;
  flex-wrap: nowrap;
}

#float_partial_badge {
  font-size: 9px !important;
  padding: 2px 6px !important;
  margin: 0 !important;
  line-height: 1;
  position: relative;
  top: -1px;
}

.float_total_title {
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 1px;
  font-weight: 500;
  color: #9CA3AF;
  margin: 0;
  line-height: 1.2;
}

#float_total {
  font-size: 15px;
  font-weight: 700;
  transition: 0.3s ease-out;
  line-height: 1.2;
  color: #1F2937;
  white-space: nowrap;
}

.neo_checkout_flotante #button.boton span,
.neo_checkout_flotante #button span {
  white-space: nowrap;
  line-height: 1.1;
}

.just_changed {
  color: red;
}

.TR_min.policy p {
  font-weight: 300;
}

.TR_min.policy {
  padding: 5px;
  box-sizing: border-box;
  margin: 5px auto;
  font-size: 12px;
  text-align: justify;
  font-weight: 600;
}

.hotel_profile {
  display: flex;
  flex-direction: column;
  width: 100% !important;
  box-sizing: border-box;
  border: none !important;
  padding: 0 !important;
  box-shadow: 0 0px 100px rgba(0, 0, 0, 0.07), 0 1px 5px rgba(0, 0, 0, 0.2);
  border-radius: 3px;
  background-color: white;
  margin-bottom: 1em;
}

.FotoTh img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.checkout .hotel_profile .FotoTh {
  width: 100%;
  margin-bottom: 0;
  margin-right: 0;
  height: 250px;
  overflow: hidden;
  position: relative;
}

.checkout .hotel_profile .FotoTh img {
  width: 100%;
  height: 100%;
  margin: 0;
  transform: translate(0, -50%);
  top: 50%;
  position: absolute;
}

.hotel_profile .DatosTh {
  width: 100%;
  float: none;
  padding: 15px;
  box-sizing: border-box;
}

.hotel_profile .DatosTh .TituloVentana {
  font-size: 14px !important;
  font-style: normal;
  margin-bottom: 13px !important;
  border-bottom: 1px solid #ccc;
  padding-bottom: 10px;
  line-height: 1 !important;
}

.hotel_profile .DatosTh .TR_datos_min .texto {
  color: #555 !important;
}

.hotel_profile .DatosTh .TR_datos_min {
  margin: 0 0 10px 0 !important;
}

.promobanner_container {
  display: inline-flex;
  flex-wrap: wrap;
  width: 100%;
}

.neo_promobanner {
  width: calc(50% - 10px);
  padding: 10px 15px;
  box-sizing: border-box;
  background-color: #fff;
  border-radius: 0 5px 5px 0;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
  display: flex;
  font-size: 14px;
  border-left: 4px solid #00b300;
  margin-bottom: 10px;
  margin-right: 10px;
  flex-grow: 1;
  line-height: 1.2;
}

.neo_promobanner:last-child {
  margin-right: 0;
}

.neo_promobanner > i {
  display: flex;
  justify-content: center;
  align-items: center;
  line-height: 1;
  margin-right: 15px;
  font-size: 25px;
}

.neo_promobanner .texto {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 2;
}

.neo_promobanner .texto p {
  display: inline;
  margin-right: 5px;
  margin-left: 5px;
}

.ckeckout_cart input,
.ckeckout_cart textarea,
.ckeckout_cart select {
  padding: 10px 15px !important;
  border-radius: 0px !important;
  background-color: #fafafa !important;
  box-sizing: border-box !important;
  text-align: left !important;
}

.checkout .checkout_tr .Titulo {
  padding: 10px 0;
}

.TR.PaymentFormDiv {
  align-items: center;
  padding: 12px 15px;
  width: 100%;
  box-sizing: border-box;
}

.checkout .ckeckout_cart {
  display: flex;
  margin-top: 10px;
  float: none;
  align-items: stretch;
}

/* .checkout .ckeckout_cart>div {
    box-shadow: 0 0px 100px rgba(0, 0, 0, .07), 0 1px 4px rgba(0, 0, 0, .2);
    flex-grow: 1;
    margin-right: 15px;
    margin-left: 0;
    border: none;
    padding: 15px;
    box-sizing: border-box;
    height: auto;
} */

.checkout .ckeckout_cart > div:last-child {
  margin-right: 0;
  margin-left: 0;
}

.checkout {
  overflow: initial !important;
  max-width: 1180px;
  width: 100%;
  display: flex;
  flex-direction: column;
}

.checkout .item_pago {
  box-sizing: content-box;
}

.neo_creditcard_type_cont {
  display: flex;
  align-items: center;
  height: 50px;
  padding-top: 25px;
}

.neo_creditcard_type_cont.cct_oculto {
  display: none;
}

.neo_creditcard_type_cont #creditcardtypeimage {
  margin-right: 15px;
}

.neo_creditcard_type_cont #creditcardtypename {
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #999;
  font-weight: 600;
}

.checkout .PaymentFormContent#PaymentMeans_CreditCard {
  padding: 5px 0;
}

.checkout #PaymentMeans_CreditCard,
#content #checkout_content #PaymentMeans_CreditCard {
  background: #f5f5f5;
  padding: 20px 10px 0px;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  width: 100%;
  border-radius: 5px;
  margin: 0 0 10px;
  font-weight: 700;
}

.checkout .Formulario_imput_txt,
.checkout select {
  border: 1px solid #ccc !important;
  padding: 6px !important;
  width: 100% !important;
  border-radius: 3px !important;
  font-size: 14px !important;
  padding: 10px !important;
  margin-top: 3px !important;
  font-weight: bold;
}

.checkout .Formulario_imput_txt::-webkit-input-placeholder {
  /* Edge */
  font-weight: normal !important;
}

.checkout .Formulario_imput_txt:-ms-input-placeholder {
  /* Internet Explorer 10-11 */
  font-weight: normal !important;
}

.checkout .Formulario_imput_txt::placeholder {
  font-weight: normal !important;
}

/* Evitar que el SDK de Mercado Pago oculte el input de número de documento (solo el input, no el label) */
.checkout .checkout_personalid_number input[data-checkout="docNumber"] {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  position: static !important;
  width: 100% !important;
  height: auto !important;
  min-height: 2.5em !important;
}

.checkout .checkout_personalid_type {
  clear: left;
}

.checkout .ckeckout_cart > .TD_Pedido {
  box-shadow: none;
  border: none;
  padding: 0 !important;
  background: transparent !important;
}

.checkout #content .TD_Pedido,
#content #checkout_content .TD_Pedido {
  padding: 0;
}

.hotel_pedido {
  width: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: 0 0px 100px rgba(0, 0, 0, 0.07), 0 1px 4px rgba(0, 0, 0, 0.2);
  flex-grow: 1;
  margin-right: 15px;
  margin-left: 0;
  border: none;
  padding: 15px;
  box-sizing: border-box;
  height: auto;
  background: white;
}

.hotel_policy {
  width: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: 0 0px 100px rgba(0, 0, 0, 0.07), 0 1px 4px rgba(0, 0, 0, 0.2);
  flex-grow: 1;
  margin-top: 10px;
  border: none;
  padding: 15px;
  box-sizing: border-box;
  height: auto;
  background: white;
}

.checkout .ckeckout_cart .checkout_datos {
  background: white;
}

.neo_card_final_amount {
  padding: 20px 20px 10px;
  text-align: center;
  box-sizing: border-box;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 12px;
  font-family: "Open Sans", sans-serif;
  color: #000;

  text-align: left;
  line-height: 1.5;
  padding: 5px 10px;
}

.neo_card_final_amount .neo_final_amount_number {
  font-size: 18px;
  color: #000;
  font-weight: 600;
  letter-spacing: normal;
}

.neo_card_final_amount .lighttext {
  opacity: 0.4;
  font-size: 11px;
}

.gracias_content_inner {
  display: flex;
  flex-direction: column;
  padding: 60px 10px 10px;
  box-sizing: border-box;
  width: 100%;
}

.ui-dialog {
  position: fixed !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%);
  border: none;
  background: white;
  box-shadow: 0 0px 100px rgba(0, 0, 0, 0.07), 0 1px 4px rgba(0, 0, 0, 0.2);
  border-radius: 5px;
  overflow: hidden;
}

.ui-dialog > div {
  border: none;
  padding: 20px;
  box-sizing: border-box;
}

.ui-dialog .ui-dialog-titlebar {
  display: flex;
  width: 100%;
  justify-content: space-between;
  align-items: center;
  background-color: #eee;
}

.ui-dialog .ui-dialog-titlebar::before,
.ui-dialog .ui-dialog-titlebar::after {
  display: none;
}

.ui-dialog-titlebar-close {
  display: none;
}

.ui-button {
  display: flex;
  align-items: center;
  text-transform: uppercase;
  letter-spacing: 1px;
  line-height: 1;
  padding: 7px 9px;
  color: #777 !important;
  border: none !important;
  background: #ddd !important;
  cursor: pointer;
}

.ui-dialog-title {
  font-size: 21px;
  font-weight: 300;
}

.ui-dialog-buttonpane {
  display: flex;
  justify-content: flex-end;
}

.ui-dialog .ui-dialog-content > div {
  padding: 0 !important;
}

.ui-dialog .ui-dialog-content {
  line-height: 1.5;
}

.checkout .medio_pago {
  float: left;
  width: 100%;
  transition: border-color 0.1s ease, background-color 0.1s ease;
  cursor: pointer;
  margin: 0;
  margin-bottom: 10px !important;
  border: 2px solid #E5E7EB;
  border-radius: 10px;
  background-color: #FFFFFF;
}

.medio_pago_sin_important {
  float: left;
  width: 100%;
  transition: border-color 0.1s ease, background-color 0.1s ease;
  cursor: pointer;
  margin: 0;
  margin-bottom: 20px !important;
  border: 2px solid #E5E7EB;
  border-radius: 10px;
  background-color: #FFFFFF;
}

.checkout .medio_pago.selected {
  background-color: #EFF6FF;
  border: 2px solid #3B82F6;
}

.medio_pago_sin_important.selected{
  background-color: #EFF6FF;
  border: 2px solid #3B82F6;
}

.checkout .medio_pago .item_pago {
  display: none;
}

.medio_pago_sin_important .item_pago {
  display: none;
}

.checkout .medio_pago:hover:not(.selected) {
  background-color: #F9FAFB;
  border: 2px solid #D1D5DB;
}

.medio_pago_sin_important:hover:not(.selected) {
  background-color: #F9FAFB;
  border: 2px solid #D1D5DB;
}

.checkout .medio_pago * {
  cursor: pointer;
}

.medio_pago_sin_important * {
  cursor: pointer;
}

.checkout .texto_pago {
  padding: 0 !important;
}

/* ========== ESTILOS DE MEDIOS DE PAGO MODERNOS ========== */

/* Contenedor del ícono de pago con colores */
.checkout .icono_pago {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: 8px;
  margin-right: 12px;
}

.checkout .icono_pago img {
  width: 24px;
  height: 24px;
}

/* Variantes de color para íconos */
.checkout .icono_pago.icon-blue {
  background-color: #EFF6FF;
}
.checkout .icono_pago.icon-blue img {
  filter: invert(38%) sepia(67%) saturate(2244%) hue-rotate(208deg) brightness(95%) contrast(90%);
}

.checkout .icono_pago.icon-green {
  background-color: #ECFDF5;
}
.checkout .icono_pago.icon-green img {
  filter: invert(48%) sepia(38%) saturate(1217%) hue-rotate(103deg) brightness(91%) contrast(87%);
}

.checkout .icono_pago.icon-orange {
  background-color: #FFF7ED;
}
.checkout .icono_pago.icon-orange img {
  filter: invert(54%) sepia(61%) saturate(1352%) hue-rotate(358deg) brightness(97%) contrast(96%);
}

.checkout .icono_pago.icon-gray {
  background-color: #F3F4F6;
}
.checkout .icono_pago.icon-gray img {
  filter: invert(46%) sepia(6%) saturate(467%) hue-rotate(182deg) brightness(94%) contrast(90%);
}

.checkout .icono_pago.icon-gold {
  background-color: #FEF3C7;
}
.checkout .icono_pago.icon-gold img {
  filter: invert(28%) sepia(95%) saturate(1000%) hue-rotate(25deg) brightness(95%) contrast(90%);
}

/* Contenedor de información del pago */
.checkout .payment_info {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}

.checkout .payment_name_row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.checkout .payment_name {
  font-weight: 600;
  font-size: 15px;
  color: #1F2937;
}

.checkout .payment_description {
  font-size: 13px;
  color: #6B7280;
  margin-top: 6px;
}

/* Badges de descuento/recargo/porcentaje */
.checkout .payment_badge {
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  white-space: nowrap;
}

.checkout .payment_badge.badge-discount {
  background-color: #DCFCE7;
  color: #166534;
}

.checkout .payment_badge.badge-charge {
  background-color: #FEF3C7;
  color: #92400E;
}

.checkout .payment_badge.badge-partial {
  background-color: #FFEDD5;
  color: #C2410C;
}

/* Estilo anterior de discount_info (deprecated pero mantenido por compatibilidad) */
.checkout .discount_info{
  background-color: #EDFCF2;
  color: #2A7948;
  border-radius: 2px;
  padding-block: 0px;
  padding-inline: 8px;  
}

/* ========== SECCIÓN DE CUOTAS ========== */
.installments-section {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #E5E7EB;
  margin-bottom: 0;
  padding-bottom: 0;
}

.installments-section:last-child {
  margin-bottom: 0;
}

/* Eliminar margen inferior del formulario de checkout */
#formCheckoutSubmit {
  margin-bottom: 0;
}

#formCheckoutSubmit > div:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
}

/* Alinear la sección de checkout con la política de cancelación */
.checkout .CheckoutFormDiv,
.checkout .TD_Checkout {
  margin-bottom: 0;
  padding-bottom: 0;
}

/* Quitar margen del último elemento de medios de pago */
.checkout .info-message-container:last-child,
.checkout #PaymentMeans_CreditCard_neo:last-child,
.checkout .installments-section:last-child {
  margin-bottom: 0 !important;
}

.installments-section-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  color: #374151;
  margin-bottom: 15px;
}

.installments-section-title i {
  font-size: 20px;
  color: #6B7280;
}

.installments-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Opción de cuota individual */
.installment-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border: 2px solid #E5E7EB;
  border-radius: 10px;
  background-color: #FFFFFF;
  cursor: pointer;
  transition: background-color 0.1s ease, border-color 0.1s ease;
}

.installment-option:hover:not(.selected) {
  background-color: #F9FAFB;
  border-color: #D1D5DB;
}

.installment-option.selected {
  background-color: #FAF5FF;
  border-color: #A855F7;
}

.installment-option.selected .installment-option-name {
  color: oklch(.381 .176 304.987);
}

.installment-option.selected .installment-option-subtitle {
  color: #9333EA;
}

.installment-option.selected .installment-option-amount {
  color: oklch(.381 .176 304.987);
}

.installment-option.selected .installment-option-label {
  color: #9333EA;
}

.installment-option-left {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.installment-option-title {
  display: flex;
  align-items: center;
  gap: 8px;
}

.installment-option-name {
  font-weight: 600;
  font-size: 15px;
  color: #1F2937;
}

.installment-option-badge {
  font-size: 10px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.installment-option-badge.badge-no-interest {
  background-color: #DCFCE7;
  color: #166534;
}

.installment-option-badge.badge-interest {
  background-color: #FEF3C7;
  color: #92400E;
}

.installment-option-subtitle {
  font-size: 12px;
  color: #6B7280;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Ícono de información con tooltip negro */
.installment-option-subtitle .cft-info-icon {
  display: inline-flex;
  align-items: center;
  position: relative;
  cursor: help;
  color: #9CA3AF;
}

.installment-option-subtitle .cft-info-icon i {
  font-size: 14px;
}

.installment-option-subtitle .cft-info-icon:hover::after {
  content: attr(data-cft);
  position: absolute;
  bottom: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  background-color: #1F2937;
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 600;
  padding: 6px 10px;
  border-radius: 6px;
  white-space: nowrap;
  z-index: 100;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.installment-option-subtitle .cft-info-icon:hover::before {
  content: '';
  position: absolute;
  bottom: calc(100% + 2px);
  left: 50%;
  transform: translateX(-50%);
  border: 4px solid transparent;
  border-top-color: #1F2937;
  z-index: 100;
}

/* Fila de CFT debajo de la opción seleccionada */
.installment-cft-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background-color: #FAF5FF;
  border: 2px solid #A855F7;
  border-top: 1px solid #E9D5FF;
  border-radius: 0 0 10px 10px;
  margin-top: -10px; /* Compensar el gap del contenedor */
}

.installment-cft-row .cft-label {
  font-size: 13px;
  color: #9333EA;
}

.installment-cft-row .cft-value {
  font-size: 13px;
  font-weight: 600;
  color: #9333EA;
}

/* Ajustar borde de la opción seleccionada cuando tiene fila CFT */
.installment-option.selected.has-cft-row {
  border-radius: 10px 10px 0 0 !important;
  border-bottom: none !important;
  margin-bottom: 0;
}

/* Fila de CFT aparece inmediatamente */
.installment-cft-row {
  animation: none;
}

.installment-option-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
}

.installment-option-amount {
  font-weight: 700;
  font-size: 16px;
  color: #1F2937;
}

.installment-option-label {
  font-size: 12px;
  color: #9CA3AF;
}

/* Banner promocional de cuotas sin interés */
.installments-promo-banner {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 15px;
  margin-bottom: 0;
  padding: 12px 16px;
  background: linear-gradient(135deg, #EFF6FF 0%, #DBEAFE 100%);
  border-radius: 10px;
  border: 1px solid #BFDBFE;
}

.installments-promo-banner i {
  font-size: 20px;
  color: #2563EB;
}

.installments-promo-banner span {
  font-size: 13px;
  color: #1E40AF;
  font-weight: 500;
}

/* ========== FIN SECCIÓN DE CUOTAS ========== */

.payment_type_cont{
  margin-bottom: 10px;
}

.payment_type_title{
  clear: both;
  float: none;
  margin-bottom: 10px;
  font-size: 14px;
}

.payment_type_subtitle{
color: #42474e;
font-size: 12px;
}

.checkout .TD_Pedido .TR_min {
  line-height: 1.5;
  font-size: 14px;
}

.checkout .TD_Pedido .policy {
  color: #666;
  font-size: 10px;
  line-height: 1.5;
  text-align: justify;
}

.tr_title {
  font-size: 13px;
  color: #333;
  margin-bottom: 5px;
  font-weight: bold;
  text-transform: capitalize;
  border-bottom: 1px solid;
  padding-bottom: 5px;
}

.TR_min_minititle {
  text-transform: uppercase;
  font-size: 11px;
  font-weight: bold;
  letter-spacing: 1px;
  border-bottom: 1px dotted;
  margin-bottom: 3px;
  color: #bbb;
}

.TR_min_minititle.dark {
  color: #000;
}

.TR_min.precio_unit {
  border-bottom: 1px dotted;
  font-weight: bold !important;
  margin: 5px auto;
}

.main_title_top {
  font-size: 3em;
  margin: 1em;
}

/* RESPONSIVE CHECKOUT */

.main_logo_top {
  max-height: 170px;
  width: auto;
  margin-bottom: 10px;
}

.FotoTh img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.checkout_tr,
.TD_Gracias {
  display: flex;
  flex-direction: column;
  width: 100% !important;
  box-sizing: border-box;
  border: none !important;
  box-shadow: 0 0px 100px rgba(0, 0, 0, 0.07), 0 1px 5px rgba(0, 0, 0, 0.2);
  border-radius: 3px;
  background-color: white;
  margin-bottom: 1em;
  padding: 1em 1em;
}

.checkout_tr .TituloVentana,
.TD_Gracias .TituloVentana {
  font-weight: bold;
  font-size: 1rem;
  margin-bottom: 1em;
  line-height: 1.5;
}

.grid_gracias_checkout {
  display: grid !important;
  grid-template-columns: minmax(350px, 2fr) minmax(200px, 1fr);
  gap: 20px;
}

@media only screen and (max-width: 576px) {
  .checkout .TD_Pedido {
    max-width: 100%;
  }

  iframe + iframe#onetap_google_intermediate_iframe,
  div + iframe#onetap_google_intermediate_iframe,
  script + iframe#onetap_google_intermediate_iframe,
  * + iframe#onetap_google_intermediate_iframe {
    bottom: 51px !important;
  }

  .grid_gracias_checkout {
    display: grid !important;
    grid-template-columns: 100%;
    gap: 20px;
  }

  .ckeckout_cart {
    flex-wrap: wrap;
  }
  .TD_Gracias {
    margin-top: 1em;
    width: 100% !important;
  }

  /* Ajuste de separación del texto de ayuda del teléfono en mobile */
  .checkout .checkout_phone {
    margin-bottom: 8px !important;
  }
  .checkout .telefono_imput {
    font-size: 12px;
    line-height: 1.2;
    padding-top: 0;
    padding-bottom: 0;
  }

  /* Estilos 576px para sección de cuotas */
  .installment-option {
    padding: 10px 12px;
  }

  .installment-option-name {
    font-size: 13px;
  }

  .installment-option-amount {
    font-size: 13px;
  }

  .installment-option-subtitle {
    font-size: 9px;
    padding: 1px 4px;
  }

  .installments-promo-banner {
    flex-direction: column;
    text-align: center;
    gap: 6px;
    padding: 10px 12px;
  }
}

@media (max-width: 1180px) {
  /* Asegura que los contenedores de cada campo no limiten el ancho */
  .checkout .checkout_formfield,
  .checkout .checkout_address,
  .checkout .checkout_phone,
  .checkout .checkout_promocode,
  .checkout .Formulario_txt,
  .checkout .Formulario_txt2 {
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .icono_pago{
    display: flex;
    justify-content: center;
    align-items: center;
  }

  /* Estilos mobile para nuevos elementos de medios de pago */
  .checkout .icono_pago {
    width: 36px;
    height: 36px;
    min-width: 36px;
    margin-right: 10px;
  }

  .checkout .payment_name {
    font-size: 14px;
  }

  .checkout .payment_description {
    font-size: 12px;
  }

  .checkout .payment_badge {
    font-size: 10px;
    padding: 2px 6px;
  }

  /* Estilos mobile para sección de cuotas */
  .installments-section {
    margin-top: 15px;
    padding-top: 15px;
  }

  .installments-section-title {
    font-size: 14px;
    margin-bottom: 12px;
  }

  .installments-section-title i {
    font-size: 18px;
  }

  .installment-option {
    padding: 12px 14px;
  }

  .installment-option-name {
    font-size: 14px;
  }

  .installment-option-badge {
    font-size: 9px;
    padding: 2px 6px;
  }

  .installment-option-subtitle {
    font-size: 11px;
  }

  .installment-option-amount {
    font-size: 14px;
  }

  .installment-option-label {
    font-size: 11px;
  }

  .installments-promo-banner {
    padding: 10px 14px;
    margin-top: 12px;
  }

  .installments-promo-banner i {
    font-size: 18px;
  }

  .installments-promo-banner span {
    font-size: 12px;
  }

  .neo_mplogo span {
    display: none;
  }

  .TR_min.precio_unit {
    border-bottom: 1px dashed #ccc;
    padding-bottom: 5px;
    font-weight: 600;
  }

  .neo_card_final_amount {
    text-align: center;
    width: 100%;
    line-height: 1.6;
  }

  .checkout .ckeckout_cart > div {
    box-shadow: none;
    margin-right: 0;
    background-color: transparent;
  }

  .checkout .ckeckout_cart .checkout_datos {
    background: transparent;
  }

  .neo_creditcard_type_cont {
    display: flex;
    align-items: center;
    height: auto;
    padding: 10px 0 20px;
    box-sizing: border-box;
  }

  .neo_promobanner {
    margin-right: 0;
    margin-bottom: 7px;
    width: 100%;
  }

  .wraper_footerpx {
    display: flex;
    flex-direction: column;
    width: 100% !important;
    align-items: center;
    text-align: center;
  }

  .wraper_footerpx > * {
    width: 100% !important;
    margin: 10px auto;
    text-align: center;
    box-sizing: border-box;
  }

  .wraper_footerpx .sello_rd {
    display: flex;
    justify-content: center;
  }

  .checkout {
    width: 100%;
    padding: 0 !important;
    box-sizing: border-box;
    min-width: 0;
  }

  #mobile_checkout_container {
    margin: 0 auto 20px !important;
  }

  #mobile_checkout_container .medio_pago .texto_pago {
    font-size: 14px;
    padding-top: 0;
  }

  #mobile_checkout_container .medio_pago_sin_important .texto_pago {
    font-size: 14px;
    padding-top: 0;
  }

  .checkout .ckeckout_cart {
    display: flex;
    flex-direction: column;
    flex-flow: column-reverse;
    width: 100% !important;
    box-sizing: border-box;
    padding: 0px !important;
  }

  .checkout .ckeckout_cart > * {
    width: 100% !important;
    box-sizing: border-box;
    margin: 0 auto 20px;
    padding: 0 !important;
    border: none;
  }

  .checkout .PaymentFormContent {
    padding: 10px 0px 10px;
    margin: 10px auto !important;

    width: 100%;
    border: none;
    box-sizing: border-box;
  }

  .checkout .footer_ssl .texto {
    width: 100%;
  }

  .footer_ssl .full.left {
    display: flex;
  }

  .checkout #content {
    padding: 0;
    min-width: 0;
  }

  #checkout_content .Formulario_txt {
    width: 100%;
    box-sizing: border-box;
    padding: 0px;
    margin: 0px auto;
  }

  .checkout .TD_Banner {
    padding: 6px;
    box-sizing: border-box;
    width: 100%;
    margin-bottom: 5px;
  }

  #checkout_content .checkout_tr {
    width: 100%;
    box-sizing: border-box;
    margin: 5px auto;
    padding: 10px;
  }

  #checkout_content {
    margin-top: 55px;
    padding: 10px !important;
    box-sizing: border-box;
    margin-bottom: 10px;
  }

  .EndError {
    display: none;
  }

  .Formulario_imput_txt_chico {
    width: 100%;
  }

  .checkout .titulo_datos {
    border-bottom: 1px solid #ccc;
    padding: 5px;
    margin-top: 5px;
  }

  #checkout_content .TR_line {
    border-top: none;
  }

  #mobile_checkout_container .Formulario_txt .titulo_imput,
  #mobile_checkout_container .Formulario_txt2 .titulo_imput,
  .checkout .titulo_imput {
    float: none;
    width: 100%;
    margin-bottom: 8px;
    margin-top: 5px;
    font-size: 14px !important;
  }

  /* Normalizar tamaño de fuente para todos los labels, incluyendo spans */
  .checkout .titulo_imput,
  .checkout .titulo_imput span {
    font-size: 14px !important;
    font-weight: bold;
  }

  .checkout .footer_ssl {
    margin: 5px auto 0;
  }

  #mobile_checkout_container .medio_pago {
    margin-bottom: 0;
    /* padding: 10px 15px; */
    padding: 0;
  }

  #mobile_checkout_container .medio_pago_sin_important {
    margin-bottom: 0;
    /* padding: 10px 15px; */
    padding: 0;
  }

  .checkout #PaymentMeans_CreditCard,
  #content #checkout_content #PaymentMeans_CreditCard {
    padding: 5px;
  }

  /* Mayor respiración para la sección de tarjeta en mobile (versión _neo) */
  #PaymentMeans_CreditCard_neo,
  .PaymentFormContent_neo {
    padding: 15px 15px 10px !important;
    overflow: visible !important;
  }

  /* Estilos para el iframe de Remus en mobile - Fix para V7 */
  #RemusContainer,
  #RemusContainer > div,
  .neo_input_generico_container {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  #cardCaptureIframeRemus {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Reducir padding en V7 para dar más espacio al iframe */
  .TD_Datos #PaymentMeans_CreditCard_neo {
    padding: 10px 5px !important;
  }

  /* Fix botón flotante en V7 - hacer que se vea como V8 (50/50) */
  .TD_Datos .neo_checkout_flotante {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .TD_Datos .neo_checkout_flot_total {
    flex: 1 1 50% !important;
    max-width: 50% !important;
  }

  .TD_Datos .neo_checkout_flotante #button,
  .TD_Datos .neo_checkout_flotante #button.boton {
    flex: 0 0 auto !important;
    width: auto !important;
    max-width: 50% !important;
    padding: 10px 15px !important;
  }

  #PaymentMeans_CreditCard_neo .Formulario_txt,
  #PaymentMeans_CreditCard_neo .Formulario_txt2,
  #PaymentMeans_CreditCard_neo .checkout_formfield {
    margin-bottom: 12px !important;
  }

  #mobile_checkout_container .medio_pago .item_pago {
    width: auto;
    padding: 0 !important;
  }

  #mobile_checkout_container .medio_pago_sin_important .item_pago {
    width: auto;
    padding: 0;
  }

  .checkout .Formulario_txt2 {
    margin: 0 0 5px;
  }

  .checkout .TD_Datos,
  .checkout .TD_Pedido {
    background: transparent;
  }

  .checkout_pugs .ListItemPug {
    flex-direction: column;
    height: auto;
    margin: 0 auto 10px;
    width: 100%;
  }

  .checkout_pugs .ListItemPug .ListItem_Table {
    margin: 0;
    padding: 10px;
  }

  .checkout_pugs .ListItemPug .ListItem_FotoGrande {
    width: 100%;
    height: 100px;
  }

  .checkout_pugs .ListItemPug .ListItem_FotoGrande .ListItem_FotoGalery_item_big {
    width: 100%;
  }

  .checkout_pugs .ListItem_TD_01 .TextLine:first-child b {
    font-size: 18px;
    line-height: 1.5;
  }

  .checkout_pugs .ListItem_TR {
    display: flex;
    flex-direction: column;
    padding-top: 10px;
  }

  .checkout_pugs .ListItem_TD_02 {
    width: 100%;
    box-sizing: border-box;
    padding: 0;
    margin: 0;
  }

  .checkout_pugs .boton {
    margin: 0;
  }

  .gracias_content_inner .hotel_pedido .TR_min {
    display: flex;
    justify-content: space-between;
    margin: 2px 0 8px;
    flex-wrap: wrap;
  }
}



#alreadyBooked > *,
.alreadyBookedActions > * {
  margin: 1em;
  font-size: 15px;
  text-decoration: none;
  line-height: 1.5;
}

.alreadyBookedActions {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.alreadyBookedActions a {
  font-size: 14px !important;
}

[type="checkbox"]:not(:checked),
[type="checkbox"]:checked {
  position: relative !important;
  opacity: 1 !important;
  pointer-events: initial !important;
}

/* iphone X */
@media only screen and (min-width: 375px) and (max-height: 812px) and (-webkit-device-pixel-ratio: 3) {
  .neo_checkout_flot_total,
  .neo_checkout_flotante #button.boton {
    padding: 7px 10px 30px !important;
  }

  .neo_checkout_flotante {
    height: 75px;
  }
}

/* iphone XR */
@media only screen and (min-width: 414px) and (max-height: 896px) and (-webkit-device-pixel-ratio: 2) {
  .neo_checkout_flot_total,
  .neo_checkout_flotante #button.boton {
    padding: 7px 10px 30px !important;
  }

  .neo_checkout_flotante {
    height: 75px;
  }
}

/* iphone XS */
@media only screen and (min-width: 375px) and (max-height: 812px) and (-webkit-device-pixel-ratio: 3) {
  .neo_checkout_flot_total,
  .neo_checkout_flotante #button.boton {
    padding: 7px 10px 30px !important;
  }

  .neo_checkout_flotante {
    height: 75px;
  }
}

/* iphone XS Max */
@media only screen and (min-width: 414px) and (max-height: 896px) and (-webkit-device-pixel-ratio: 3) {
  .neo_checkout_flot_total,
  .neo_checkout_flotante #button.boton {
    padding: 7px 10px 30px !important;
  }

  .neo_checkout_flotante {
    height: 75px;
  }
}

@media print {
  .noprint {
    display: none !important;
  }
}

/* Normalizar tamaño de fuente para todos los labels en desktop */
.checkout .titulo_imput,
.checkout .titulo_imput span {
    font-size: 13px !important;
    font-weight: bold;
}

/* Checkout Section Styles */
.checkout-section {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin-bottom: 20px;
    overflow: hidden;
    border: 1px solid #e0e0e0;
    transition: box-shadow 0.3s ease;
}

.checkout-section.payment-section {
    margin-bottom: 0;
}

.checkout-section:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.section-header {
    /* Background color will be set inline using $Json_Pos->ThemeColor */
    color: white;
    padding: 15px 20px;
    margin: -20px -20px 12px;
    font-size: 18px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-header i {
    font-size: 20px;
}

.section-content {
    padding: 0;
}

.section-content > *:last-child {
    margin-bottom: 0 !important;
}

/* Eliminamos box-shadow de elementos internos para evitar duplicación */
.checkout-section .neo_true_wc,
.checkout-section .Formulario_txt,
.checkout-section .Formulario_txt2 {
    box-shadow: none !important;
    border: none !important;
    background: transparent !important;
    margin-bottom: 15px;
}

@media (max-width: 768px) {
    .section-header {
        font-size: 16px;
        padding: 12px 15px;
        margin: -15px -15px 10px;
    }
    
    .section-content {
        padding: 0;
    }
    
    .checkout-section {
        margin-bottom: 15px;
        border-radius: 8px;
        padding: 15px;
    }
    
    /* Salto de línea para spans en mobile */
    .checkout .titulo_imput span {
      display: block;
      margin-left: 0 !important;
      margin-top: 2px;
      font-size: 13px;
    }
}

.info-message-container {
    margin-bottom: 0;
}

.info-message-container:last-child {
    margin-bottom: 0;
}

.info-message {
    background: #e7f3ff;
    border: 1px solid #b3d9ff;
    border-radius: 6px;
    padding: 12px 15px;
    display: flex;
    margin-bottom: 0;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    line-height: 1.4;
    color: #0066cc;
}

.info-message i {
    font-size: 16px;
    color: #0066cc;
    margin-top: 1px;
    flex-shrink: 0;
}

.info-message span {
    flex: 1;
}

@media (max-width: 768px) {
    .info-message {
        padding: 10px 12px;
        font-size: 11px;
    }
    
    .info-message i {
        font-size: 14px;
    }
}

/* Normalización de campos en mobile (altura y apariencia consistente, especialmente en iOS) */
@media (max-width: 1180px) {
  /* Inputs y textareas: misma base visual */
  .checkout input[type="text"],
  .checkout input[type="email"],
  .checkout input[type="tel"],
  .checkout input[type="number"],
  .checkout input[type="password"],
  .checkout input[type="search"],
  .checkout textarea,
  .checkout select {
    width: 100% !important;
    box-sizing: border-box !important;
    font-size: 14px !important; /* evita zoom en iOS */
    line-height: 1.2 !important;
    min-height: 44px !important; /* altura táctil uniforme */
    font-weight: normal ;
  }

  /* Textarea conserva altura flexible pero con mínimo táctil */
  .checkout textarea {
    padding-top: 10px !important;
    padding-bottom: 10px !important;
    resize: vertical;
  }

  /* Select: desactivar UI nativa y agregar flecha consistente */
  .checkout select {
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    background-color: #fafafa !important;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="10" height="6" viewBox="0 0 10 6" fill="none"><path d="M1 1l4 4 4-4" stroke="%23666" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/></svg>');
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 10px 6px;
    padding-right: 36px !important; /* espacio para la flecha */
    border-radius: 3px !important;
  }

  /* Safari iOS: elimina inner shadow/estilos de controles */
  .checkout input,
  .checkout textarea,
  .checkout select {
    background-clip: padding-box;
  }
}

/* Ajustes específicos para input[type=date] en Safari/iOS */
@media (max-width: 1180px) {
  .checkout input[type="date"] {
    -webkit-appearance: none !important;
    appearance: none !important;
    width: 100% !important;
    height: 44px !important;
    min-height: 44px !important;
    font-size: 14px !important;
    line-height: 1.2 !important;
    padding: 10px 36px 10px 12px !important;
    background-color: #fafafa !important;
    position: relative;
  }

  .checkout input[type="date"]::-webkit-date-and-time-value {
    text-align: left;
    height: 24px;
  }

  .checkout input[type="date"]::-webkit-calendar-picker-indicator {
    position: absolute;
    right: 12px;
    width: 18px;
    height: 18px;
    opacity: 0.6;
  }
}

/* Forzar ancho completo para campos específicos que quedaban más chicos */
@media (max-width: 1180px) {
  #Birthdate,
  #ZipCode {
    width: 100% !important;
  }
}

div.error {
  text-align: left !important;
}

/* Estilos para campos con error - borde rojo */
.checkout .Formulario_imput_txt.error,
.checkout .Formulario_imput_txt_chico.error,
.checkout select.error,
.checkout input.error,
.checkout textarea.error {
  border: 1px solid #dc3545 !important;
}

/* Estilos para campos con error en estado focus */
.checkout .Formulario_imput_txt.error:focus,
.checkout .Formulario_imput_txt_chico.error:focus,
.checkout select.error:focus,
.checkout input.error:focus,
.checkout textarea.error:focus {
  border: 1px solid #dc3545 !important;
  outline: none !important;
}

/* Estilos específicos para el campo de términos y condiciones */
.acceptterms {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  border-radius: 8px;
}

.acceptterms label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 0;
  cursor: pointer;
  width: 100%;
  line-height: 1.5;
}

.acceptterms input[type="checkbox"] {
  margin: 0;
  flex-shrink: 0;
  margin-top: 3px;
  width: 18px;
  height: 18px;
  accent-color: #007bff;
}

.acceptterms span {
  flex: 1;
  line-height: 1.5;
  font-size: 14px;
  color: #000;
  word-wrap: break-word;
  hyphens: auto;
}

.acceptterms span a {
  color: #007bff;
  text-decoration: underline;
  font-weight: 500;
}

.acceptterms span a:hover {
  color: #0056b3;
  text-decoration: none;
}

/* Asegurar que el contenedor de términos mantenga su estructura */
.Terminos {
  position: relative;
  margin: 10px 0 20px !important;
}

.Terminos .acceptterms {
  margin-bottom: 0;
}

/* Responsive para móviles */
@media (max-width: 768px) {
  .acceptterms {
    padding: 12px;
    gap: 10px;
  }
  
  .acceptterms label {
    gap: 10px;
  }
  
  .acceptterms span {
    font-size: 13px;
  }
  
  .acceptterms + div.error {
    padding-left: 12px;
  }
}

/* Layout responsivo para Ciudad y Código postal */
@media (max-width: 768px) {
  .checkout .checkout_city,
  .checkout .checkout_address {
    flex: none !important;
    width: 100% !important;
  }
  
  .checkout .checkout_city + .checkout_address {
    margin-top: 15px;
  }
}

/* ========== ESTILOS DEL CARRITO MEJORADO ========== */

/* Contenedor principal del carrito */
.neo_cart_shoppingcart {
  max-height: none !important;
  height: auto !important;
}

.neo_shoppincart_totals {
  width: 100%;
  max-width: 100%;
  padding-bottom: 5px;
  box-sizing: border-box;
  overflow: visible;
  height: auto !important;
  min-height: auto !important;
  max-height: none !important;
}

.neo_sc_info {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: visible;
  height: auto !important;
  min-height: auto !important;
  max-height: none !important;
}

.neo_sc_info > * {
  max-width: 100%;
  box-sizing: border-box;
}

/* Asegurar que todos los elementos del carrito estén contenidos */
.neo_shoppincart_totals > *,
.neo_sc_info > * {
  max-width: 100%;
  box-sizing: border-box;
}

/* Asegurar que elementos específicos del carrito no se salgan */
.neo_shoppincart_totals .cart-item-row,
.neo_shoppincart_totals .cart-total-row,
.neo_shoppincart_totals .cart-subtax-row,
.neo_shoppincart_totals .cart-installments-row,
.neo_shoppincart_totals .cart-cft-row,
.neo_shoppincart_totals .cart-financed-row,
.neo_shoppincart_totals .cart-payment-method-box,
.neo_shoppincart_totals .cart-redirect-message,
.neo_shoppincart_totals button,
.neo_shoppincart_totals .neo_cta {
  max-width: 100%;
  box-sizing: border-box;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

/* Título del resumen */
.neo_shoppincart_totals .cart-summary-title {
  font-size: 14px;
  font-weight: 500;
  color: #6B7280;
  margin-top: 8px;
  margin-bottom: 8px;
  padding-bottom: 0;
}

/* Estilos para mobile */
@media (max-width: 768px) {
  .neo_shoppincart_totals .cart-summary-title {
    font-size: 16px !important;
    font-weight: 600 !important;
    color: #1F2937 !important;
    margin-top: 12px !important;
    margin-bottom: 12px !important;
    padding-bottom: 8px !important;
    border-bottom: 1px solid #E5E7EB !important;
  }
}

/* Fila de item del carrito */
.cart-item-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #F3F4F6;
}

.cart-item-row:last-of-type {
  border-bottom: none;
}

/* Ícono del item */
.cart-item-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  min-width: 36px;
  border-radius: 8px;
  font-size: 18px;
}

.cart-item-icon img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

/* Colores de íconos */
.cart-icon-orange {
  background-color: #FFF7ED;
  color: #EA580C;
  border: 1px solid #FDBA74;
}

.cart-icon-yellow {
  background-color: #FEFCE8;
  color: #CA8A04;
  border: 1px solid #FDE047;
}

.cart-icon-green {
  background-color: #F0FDF4;
  color: #16A34A;
  border: 1px solid #86EFAC;
}

.cart-icon-gray {
  background-color: #F3F4F6;
  color: #6B7280;
  border: 1px solid #D1D5DB;
}

.cart-icon-blue {
  background-color: #EFF6FF;
  color: #2563EB;
  border: 1px solid #93C5FD;
}

.cart-icon-red {
  background-color: #FEF2F2;
  color: #DC2626;
  border: 1px solid #FCA5A5;
}

/* Información del item */
.cart-item-info {
  flex: 1;
  min-width: 0;
}

.cart-item-label {
  font-size: 14px;
  font-weight: 500;
  color: #374151;
  line-height: 1.3;
}

.cart-item-sublabel {
  font-size: 12px;
  color: #16A34A;
  font-weight: 700;
  margin-top: 2px;
}

/* Valor del item */
.cart-item-value {
  font-size: 14px;
  font-weight: 600;
  color: #1F2937;
  white-space: nowrap;
  text-align: right;
}

.cart-item-value.is-discount {
  color: #16A34A;
}

.cart-item-value.is-charge {
  color: #CA8A04;
}

.cart-item-label.is-discount-text {
  color: #16A34A;
}

.cart-item-sublabel.is-discount-text {
  color: #16A34A;
}

.cart-item-label.is-charge-text {
  color: #CA8A04;
}

.cart-item-sublabel.is-charge-text {
  color: #CA8A04;
}

/* Divider mejorado */
.cart-divider {
  margin: 12px 0 !important;
  border: none;
  border-top: 1px solid #E5E7EB;
}

/* Fila de Total principal */
.cart-total-row {
  padding: 16px 0 8px 0;
  margin-top: 8px;
  border-top: 2px solid #E5E7EB;
}

.cart-total-label {
  font-size: 16px;
  font-weight: 600;
  color: #1F2937;
}

.cart-total-value-container {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
}

.cart-total-value {
  font-size: 22px;
  font-weight: 700;
  color: #1F2937;
}

/* Preview de cuotas debajo del total */
.cart-installments-preview {
  font-size: 13px;
  color: #6B7280;
  text-align: right;
}

/* Fila de cuotas */
.cart-installments-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  width: 100%;
  box-sizing: border-box;
}

.cart-installments-label {
  font-size: 14px;
  color: #9333EA;
}

.cart-installments-value {
  font-size: 14px;
  font-weight: 600;
  color: #9333EA;
}

/* Fila de CFT */
.cart-cft-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4px 0;
  width: 100%;
  box-sizing: border-box;
}

.cart-cft-label {
  font-size: 13px;
  color: #6B7280;
}

.cart-cft-value {
  font-size: 13px;
  font-weight: 500;
  color: #6B7280;
}

/* Fila de Total Financiado */
.cart-financed-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0 4px 0;
  margin-top: 8px;
  border-top: 1px solid #E5E7EB;
  width: 100%;
  box-sizing: border-box;
  gap: 12px;
}

.cart-financed-label {
  font-size: 15px;
  font-weight: 600;
  color: #1F2937;
  flex-shrink: 0;
}

.cart-financed-value {
  font-size: 20px;
  font-weight: 700;
  color: #1F2937;
  text-align: right;
  word-break: break-word;
  flex-shrink: 1;
  min-width: 0;
}

@media (max-width: 768px) {
  .cart-financed-row {
    gap: 16px;
    padding: 14px 0;
  }
  
  .cart-financed-label {
    font-size: 14px;
  }
  
  .cart-financed-value {
    font-size: 18px;
    letter-spacing: 0.3px;
  }
}

/* Fila de precio sin impuestos nacionales */
.cart-subtax-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4px 0;
}

.cart-subtax-label {
  font-size: 12px;
  color: #6B7280;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.cart-subtax-value {
  font-size: 12px;
  color: #6B7280;
  white-space: nowrap;
  flex-shrink: 0;
}

/* Caja del método de pago */
.cart-payment-method-box {
  margin-top: 16px;
  padding: 14px 16px;
  background-color: #F9FAFB;
  border: 1px solid #E5E7EB;
  border-radius: 10px;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
}

.cart-payment-method-label {
  font-size: 12px;
  color: #6B7280;
  margin-bottom: 4px;
}

.cart-payment-method-name {
  font-size: 14px;
  font-weight: 600;
  color: #1F2937;
}

/* Mensaje de redirección */
.cart-redirect-message {
  margin-top: 10px;
  font-size: 12px;
  color: #6B7280;
  text-align: center;
  line-height: 1.4;
}

/* ========== FIN ESTILOS DEL CARRITO ========== */