.iztm-card{display:flex;align-items:center;gap:13px;width:max-content;min-height:78px;padding:13px 17px;border-radius:12px;border:1px solid #dce4ee;background:linear-gradient(135deg,#fff,#f5f8fd);color:#14243c;box-shadow:0 3px 14px rgba(18,40,70,.05);cursor:pointer;transition:border-color .2s,box-shadow .2s,transform .2s}
.iztm-card:hover,.iztm-card:focus{border-color:#425ed7;box-shadow:0 8px 24px rgba(38,71,145,.14);transform:translateY(-1px);outline:none}
.iztm-card-symbol{display:grid;place-items:center;width:38px;height:38px;border-radius:10px;background:#ebefff;color:#405bd9;font-size:28px;font-weight:800;line-height:1;font-style:italic;letter-spacing:-.06em;text-transform:lowercase;font-family:Arial,Helvetica,sans-serif}.iztm-card strong{display:block;text-transform:lowercase;font-size:23px;letter-spacing:-.7px;line-height:1.2}.iztm-card small{display:block;font-size:11px;font-weight:500;color:#60728c}.iztm-card-arrow{margin-left:auto;color:#4962d3;font-size:28px}
.iztm-checkout{max-width:620px;margin:16px auto 30px;background:#fff;border:1px solid #e2e8f1;border-radius:18px;padding:30px;box-shadow:0 12px 45px rgba(22,43,75,.08);color:#172b4d;box-sizing:border-box}.iztm-heading{display:flex;align-items:center;gap:15px}.iztm-lock{display:grid;place-items:center;width:49px;height:49px;background:#eaf0ff;border-radius:13px;color:#3c56c8;font-size:30px}.iztm-heading h3{margin:0 0 3px!important;color:#172b4d!important;font-weight:700!important;font-size:23px!important}.iztm-heading p{margin:0;color:#63768c;font-size:14px}.iztm-amount{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-top:23px;padding:19px 21px;border-radius:12px;background:#f3f6fd}.iztm-amount span{font-size:14px;color:#63718b}.iztm-amount strong{font-size:22px;color:#233d83;white-space:nowrap}.iztm-separator{border-bottom:1px solid #e8edf4;margin:25px 0}.iztm-payment-area{min-height:190px;display:flex;justify-content:center}.iztm-payment-area .kr-embedded{width:100%;max-width:480px}.iztm-loading{padding:10px;text-align:center;color:#61738e}.iztm-footnote{text-align:center;font-size:12px!important;line-height:1.7;color:#60738c;margin-top:22px!important}.iztm-error{margin:12px 0;padding:16px 18px;background:#fff2f1;border:1px solid #f0c8c5;color:#aa3030;border-radius:9px}.iztm-error[hidden],.iztm-loading[hidden]{display:none!important}.iztm-result{padding:90px 20px;min-height:55vh;background:#f8fafd}.iztm-result-card{max-width:550px;margin:auto;padding:42px 30px;text-align:center;border-radius:18px;background:#fff;box-shadow:0 12px 45px rgba(22,43,75,.08)}.iztm-result-mark{font-size:42px;color:#435ed4}.iztm-result-card h1{font-size:30px}.iztm-result-card p{color:#68778d;line-height:1.7}.iztm-result-card a{display:inline-block;margin-top:16px;background:#3d59cf;color:white!important;border-radius:9px;padding:12px 24px;text-decoration:none}
@media(max-width:600px){.iztm-checkout{padding:21px 15px;border-radius:14px}.iztm-heading h3{font-size:20px!important}.iztm-amount{padding:14px}.iztm-amount strong{font-size:18px}}
/* v1.0.4: formulario integrado, recargo visible debajo del método */
.tourmaster-payment-gateway .iztm-method{max-width:260px;text-align:center}
.iztm-service-fee{font-size:12px;line-height:1.5;margin:9px 4px 0;color:#53647b;text-align:center}
.iztm-breakdown{background:#f4f7fc;border-radius:12px;padding:15px 18px;margin-top:20px}
.iztm-breakdown>div:not(.iztm-amount){display:flex;justify-content:space-between;gap:16px;line-height:1.7;margin:4px 0;color:#61718a;font-size:14px}
.iztm-breakdown>div:not(.iztm-amount) strong{color:#243957;white-space:nowrap}
.iztm-breakdown .iztm-amount{border-top:1px solid #dfe6f0;margin:10px 0 0;padding:15px 0 0;background:transparent;border-radius:0}
@media(max-width:600px){.iztm-breakdown{padding:12px}.iztm-breakdown>div:not(.iztm-amount){font-size:12px}}

/* v1.0.6: card field arrangement matching reference; v1.0.4 container and fee preserved */
.iztm-checkout{max-width:760px}
.iztm-payment-area{display:block;min-height:350px}
.iztm-payment-area .kr-embedded.iztm-card-form{box-sizing:border-box;width:100%!important;max-width:none!important;margin:0 auto!important;padding:0!important;background:#fff!important;border:0!important;box-shadow:none!important;color:#0b1640!important;font-family:Arial,Helvetica,sans-serif}
.iztm-card-form-title{font-family:inherit!important;font-size:22px!important;font-weight:750!important;letter-spacing:-.5px;color:#08143d!important;margin:0 0 24px!important;line-height:1.3!important}
.iztm-card-field{margin:0 0 23px;min-width:0}
.iztm-card-field>label{display:block!important;color:#0d1d47!important;font-size:15px!important;font-weight:500!important;line-height:1.4!important;margin:0 0 8px!important}
.iztm-field-pair{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:20px;align-items:start}
.iztm-card-form .kr-pan,.iztm-card-form .kr-expiry,.iztm-card-form .kr-security-code,.iztm-card-form .kr-card-holder-name{box-sizing:border-box;width:100%!important;max-width:100%!important;min-height:54px!important;background:#fff!important;border:1px solid #d5d9e2!important;border-radius:11px!important;box-shadow:none!important;overflow:hidden}
.iztm-card-form .kr-pan:focus-within,.iztm-card-form .kr-expiry:focus-within,.iztm-card-form .kr-security-code:focus-within,.iztm-card-form .kr-card-holder-name:focus-within{border-color:#5369de!important;box-shadow:0 0 0 3px rgba(83,105,222,.12)!important}
.iztm-card-form .kr-pan input,.iztm-card-form .kr-expiry input,.iztm-card-form .kr-security-code input,.iztm-card-form .kr-card-holder-name input{font-family:Arial,Helvetica,sans-serif!important;font-size:17px!important;color:#10183e!important}
.iztm-card-form .kr-payment-button{display:block!important;width:100%!important;max-width:none!important;min-height:54px!important;margin:12px auto 0!important;border-radius:9px!important;background:#24c8c5!important;border:0!important;color:#fff!important;font-size:16px!important;font-weight:700!important;box-shadow:none!important;cursor:pointer}
.iztm-card-form .kr-payment-button:hover{background:#1eb9b6!important}
.iztm-card-form .kr-form-error{margin-top:12px}
@media(max-width:600px){.iztm-field-pair{gap:12px}.iztm-card-field>label{font-size:13px!important}.iztm-card-form-title{font-size:20px!important}.iztm-card-form .kr-pan,.iztm-card-form .kr-expiry,.iztm-card-form .kr-security-code,.iztm-card-form .kr-card-holder-name{min-height:48px!important}}
@media(max-width:360px){.iztm-field-pair{grid-template-columns:1fr;gap:0}}

/* v1.0.7: reference-inspired uniform input sizing and card brand artwork */
.iztm-card-form-title{font-weight:750!important;margin-bottom:25px!important}
.iztm-card-form{--iztm-input-height:56px;--iztm-input-radius:12px;--iztm-input-border:#d8dce5}
.iztm-card-form .iztm-card-field{margin-bottom:10px!important;width:100%!important;min-width:0!important}
.iztm-card-form .iztm-card-field>label{display:block!important;margin:0 0 9px!important;color:#111d3c!important;font-size:15px!important;font-weight:500!important}
.iztm-card-form .iztm-field-pair{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:20px!important;width:100%!important;align-items:start!important}
.iztm-card-form .iztm-field-pair>.iztm-card-field{min-width:0!important;max-width:none!important}
.iztm-card-form :is(.kr-pan,.kr-expiry,.kr-security-code,.kr-card-holder-name){display:block!important;box-sizing:border-box!important;width:100%!important;max-width:none!important;min-width:0!important;height:var(--iztm-input-height)!important;min-height:var(--iztm-input-height)!important;border:1px solid var(--iztm-input-border)!important;border-radius:var(--iztm-input-radius)!important;background:#fff!important;box-shadow:0 1px 2px rgba(20,31,59,.02)!important;overflow:hidden!important;transition:box-shadow .2s,border-color .2s!important}
.iztm-card-form :is(.kr-pan,.kr-expiry,.kr-security-code,.kr-card-holder-name):focus-within{border-color:#6079df!important;box-shadow:0 0 0 3px rgba(96,121,223,.14)!important}
.iztm-card-form .kr-field-wrapper{box-sizing:border-box!important;max-width:100%!important}
.iztm-card-form .iztm-card-brands{display:flex;align-items:center;flex-wrap:wrap;gap:5px;margin-top:0;min-height:24px}
.iztm-card-form .iztm-card-brands img{display:block;object-fit:contain;width:38px;height:24px;padding:2px;box-sizing:border-box;border:1px solid #e0e4ec;border-radius:4px;background:#fff}
.iztm-card-form .kr-payment-button{min-height:55px!important;border-radius:10px!important}
@media(max-width:600px){.iztm-card-form{--iztm-input-height:52px}.iztm-card-form .iztm-field-pair{gap:12px!important}.iztm-card-form .iztm-card-brands img{width:34px;height:22px}}
@media(max-width:360px){.iztm-card-form .iztm-field-pair{grid-template-columns:1fr!important;gap:0!important}}

/* v1.0.8: single immediate payment — hide optional installment/deferral selectors.
   Scope to the Izipay card form only; Krypton retains its internal defaults. */
.iztm-checkout .iztm-card-form .kr-installment-number,
.iztm-checkout .iztm-card-form .kr-installment-delay,
.iztm-checkout .iztm-card-form .kr-installment-number-wrapper,
.iztm-checkout .iztm-card-form .kr-installment-delay-wrapper,
.iztm-checkout .iztm-card-form .kr-first-installment-delay {
  display:none!important;
}


/* v1.0.10 — ajuste visual delicado de v1.0.8: tamaño y alineación vertical */
.iztm-checkout .iztm-payment-area .kr-embedded.iztm-card-form {
    max-width: 600px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}
.iztm-checkout .iztm-card-form {
    --iztm-input-height: 46px;
}
.iztm-checkout .iztm-card-form :is(.kr-pan,.kr-expiry,.kr-security-code,.kr-card-holder-name) {
    height: 46px !important;
    min-height: 46px !important;
    max-height: 46px !important;
    border-radius: 11px !important;
    position: relative;
    vertical-align: middle;
}
/* Evita cambiar el DOM, los iframe seguros y los estilos internos de Krypton. */
.iztm-checkout .iztm-card-form :is(.kr-pan,.kr-expiry,.kr-security-code,.kr-card-holder-name) > .kr-field-wrapper {
    height: 100% !important;
    min-height: 0 !important;
    position: relative;
    box-sizing: border-box !important;
    padding-left: 8px !important; /* separación real del contenido, también para iframes de Krypton */
}
.iztm-checkout .iztm-card-form :is(.kr-pan,.kr-expiry,.kr-security-code,.kr-card-holder-name) input:not([type=hidden]) {
    box-sizing: border-box !important;
    height: 44px !important;
    min-height: 0 !important;
    max-height: 44px !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    line-height: normal !important;
    font-size: 15px !important;
    vertical-align: middle !important;
}
/* Mantiene los iconos en su posición original; centra solo los que Izipay posiciona en absoluto. */
.iztm-checkout .iztm-card-form :is(.kr-pan,.kr-expiry,.kr-security-code,.kr-card-holder-name) > .kr-field-wrapper > :is(.kr-field-icon,.kr-field-icon-container) {
    top: 50% !important;
    transform: translateY(-50%) !important;
}
.iztm-checkout .iztm-card-form .iztm-field-pair {
    gap: 16px !important;
}
.iztm-checkout .iztm-card-form .iztm-card-field {
    margin-bottom: 10px !important;
}
.iztm-checkout .iztm-card-form .iztm-card-field > label {
    margin-bottom: 7px !important;
}
@media(max-width:600px) {
    .iztm-checkout .iztm-payment-area .kr-embedded.iztm-card-form {
        max-width: 100% !important;
    }
    .iztm-checkout .iztm-card-form .iztm-field-pair {gap: 12px !important;}
}


/* v1.0.11 — centrar verticalmente texto e iconos en las casillas */
.iztm-checkout .iztm-card-form{
  --iztm-field-height: 46px;
}
.iztm-checkout .iztm-card-form :is(.kr-pan,.kr-expiry,.kr-security-code,.kr-card-holder-name){
  height:var(--iztm-field-height)!important;
  min-height:var(--iztm-field-height)!important;
  max-height:var(--iztm-field-height)!important;
}
.iztm-checkout .iztm-card-form :is(.kr-pan,.kr-expiry,.kr-security-code,.kr-card-holder-name) > .kr-field-wrapper,
.iztm-checkout .iztm-card-form :is(.kr-pan,.kr-expiry,.kr-security-code,.kr-card-holder-name) .kr-field-wrapper,
.iztm-checkout .iztm-card-form :is(.kr-pan,.kr-expiry,.kr-security-code,.kr-card-holder-name) .kr-input-wrapper,
.iztm-checkout .iztm-card-form :is(.kr-pan,.kr-expiry,.kr-security-code,.kr-card-holder-name) .kr-field-element{
  height:100%!important;
  min-height:0!important;
  max-height:none!important;
  display:flex!important;
  align-items:center!important;
  box-sizing:border-box!important;
}
.iztm-checkout .iztm-card-form :is(.kr-pan,.kr-expiry,.kr-security-code,.kr-card-holder-name) input:not([type=hidden]),
.iztm-checkout .iztm-card-form :is(.kr-pan,.kr-expiry,.kr-security-code,.kr-card-holder-name) .kr-field-element input,
.iztm-checkout .iztm-card-form :is(.kr-pan,.kr-expiry,.kr-security-code,.kr-card-holder-name) input.kr-field-element,
.iztm-checkout .iztm-card-form :is(.kr-pan,.kr-expiry,.kr-security-code,.kr-card-holder-name) .kr-input{
  box-sizing:border-box!important;
  height:100%!important;
  min-height:0!important;
  max-height:none!important;
  line-height:var(--iztm-field-height)!important;
  margin:0!important;
  padding-top:0!important;
  padding-bottom:0!important;
  padding-left:12px!important;
  padding-right:42px!important;
  display:block!important;
  font-size:15px!important;
  vertical-align:middle!important;
}
.iztm-checkout .iztm-card-form :is(.kr-pan,.kr-expiry,.kr-security-code,.kr-card-holder-name) textarea{
  padding-top:12px!important;
  padding-bottom:12px!important;
}
.iztm-checkout .iztm-card-form :is(.kr-pan,.kr-expiry,.kr-security-code,.kr-card-holder-name) > .kr-field-wrapper > :is(.kr-field-icon,.kr-field-icon-container,.kr-help,.kr-icon),
.iztm-checkout .iztm-card-form :is(.kr-pan,.kr-expiry,.kr-security-code,.kr-card-holder-name) :is(.kr-field-icon,.kr-field-icon-container,.kr-help,.kr-icon){
  top:50%!important;
  bottom:auto!important;
  transform:translateY(-50%)!important;
  margin-top:0!important;
}
@media(max-width:600px){
  .iztm-checkout .iztm-card-form{--iztm-field-height:44px;}
  .iztm-checkout .iztm-card-form :is(.kr-pan,.kr-expiry,.kr-security-code,.kr-card-holder-name) input:not([type=hidden]),
  .iztm-checkout .iztm-card-form :is(.kr-pan,.kr-expiry,.kr-security-code,.kr-card-holder-name) .kr-field-element input,
  .iztm-checkout .iztm-card-form :is(.kr-pan,.kr-expiry,.kr-security-code,.kr-card-holder-name) input.kr-field-element,
  .iztm-checkout .iztm-card-form :is(.kr-pan,.kr-expiry,.kr-security-code,.kr-card-holder-name) .kr-input{
    font-size:14px!important;
    padding-left:12px!important;
    padding-right:38px!important;
  }
}


/* v1.0.13: mismo focus en todos los campos, sin alterar valores ni iframes de Izipay */
.iztm-checkout .iztm-card-form :is(.kr-pan,.kr-expiry,.kr-security-code,.kr-card-holder-name){
  transition:border-color .18s ease,box-shadow .18s ease!important;
}
.iztm-checkout .iztm-card-form :is(.kr-pan,.kr-expiry,.kr-security-code,.kr-card-holder-name):is(:focus-within,.kr-focus,.kr-focused,.kr-field-focused,.kr-active),
.iztm-checkout .iztm-card-form .iztm-card-field:focus-within > :is(.kr-pan,.kr-expiry,.kr-security-code,.kr-card-holder-name){
  border-color:#6079df!important;
  box-shadow:0 0 0 3px rgba(96,121,223,.14)!important;
  outline:none!important;
}

/* v1.0.20: brand-inspired miniature mark at left; arrow removed. */
.tourmaster-payment-gateway .iztm-method .iztm-card {
  justify-content: flex-start;
  gap: 13px;
}
.tourmaster-payment-gateway .iztm-method .iztm-card-symbol {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: #fff0f0;
  box-sizing: border-box;
}
.tourmaster-payment-gateway .iztm-method .iztm-card-symbol img {
  display: block;
  width: 32px;
  height: 32px;
  max-width: 32px;
  max-height: 32px;
  object-fit: contain;
}
.tourmaster-payment-gateway .iztm-method .iztm-card-text {
  display: block;
  flex: 1 1 auto;
  min-width: 0;
  text-align: center;
}
.tourmaster-payment-gateway .iztm-method .iztm-card-arrow { display: none !important; }

/* v1.0.21: same Izipay emblem beside the embedded checkout heading */
.iztm-checkout .iztm-heading{display:flex;align-items:center;gap:15px}
.iztm-checkout .iztm-heading-logo{display:flex;align-items:center;justify-content:center;flex:0 0 49px;width:49px;height:49px;border-radius:13px;background:#fff0f0}
.iztm-checkout .iztm-heading-logo img{display:block;width:32px;height:32px;object-fit:contain}
.iztm-checkout .iztm-heading-copy{flex:1;min-width:0}
@media(max-width:600px){.iztm-checkout .iztm-heading-logo{width:44px;height:44px;flex-basis:44px}.iztm-checkout .iztm-heading-logo img{width:29px;height:29px}}

/* v1.0.24: fee directly below and aligned to the Izipay method card. */
.tourmaster-payment-gateway .tourmaster-online-payment-method.iztm-method {
  display: inline-flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  width: max-content !important;
  max-width: min(200px, 100%) !important;
}
.tourmaster-payment-gateway .iztm-method .iztm-card {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}
.tourmaster-payment-gateway .iztm-method .iztm-service-fee {
  display: block;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  margin: 4px 0 0 !important;
  padding: 0 !important;
  color: #53647b;
  text-align: center !important;
  font-size: 12px;
  line-height: 1.45;
}

/* v1.0.27: imagen personalizada, sin texto ni icono predeterminado. */
.tourmaster-payment-gateway .iztm-method .iztm-card.iztm-image-only {
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:100%!important;
  max-width:100%!important;
  height:auto!important;
  min-height:0!important;
  padding:0!important;
  overflow:hidden;
  background:transparent!important;
}
.tourmaster-payment-gateway .iztm-method .iztm-card.iztm-image-only .iztm-custom-image {
  display:block!important;
  width:100%!important;
  max-width:100%!important;
  height:auto!important;
  object-fit:contain!important;
  margin:0 auto!important;
  border:0!important;
}


/* v1.0.28: una fila centrada de medios de pago; salto automático al faltar espacio. */
.tourmaster-payment-gateway:has(> .iztm-method) {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    align-items: flex-start !important;
    align-content: center !important;
    justify-content: center !important;
    column-gap: 24px !important;
    row-gap: 22px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    text-align: center !important;
}
/* Anula flotantes y márgenes del tema que hacían que el último método quedara solo a la izquierda. */
.tourmaster-payment-gateway:has(> .iztm-method) > .tourmaster-online-payment-method {
    float: none !important;
    clear: none !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    align-items: center !important;
    flex: 0 1 210px !important;
    width: min(210px, 100%) !important;
    max-width: min(210px, 100%) !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    vertical-align: top !important;
    text-align: center !important;
}
.tourmaster-payment-gateway:has(> .iztm-method) > .tourmaster-online-payment-method > img {
    display: block !important;
    max-width: 100% !important;
    height: auto;
    margin-left: auto !important;
    margin-right: auto !important;
}
.tourmaster-payment-gateway:has(> .iztm-method) > .tourmaster-online-payment-method > :is(.tourmaster-payment-method-fee,.tourmaster-payment-service-fee,.iztm-service-fee),
.tourmaster-payment-gateway:has(> .iztm-method) > .tourmaster-online-payment-method > .tourmaster-payment-gateway-service-fee {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    text-align: center !important;
}
.tourmaster-payment-gateway:has(> .iztm-method) > .tourmaster-online-payment-method.iztm-method {
    display: flex !important;
    flex: 0 1 200px !important;
    align-items: center !important;
    width: min(200px, 100%) !important;
    max-width: min(200px, 100%) !important;
    margin: 0 !important;
}
.tourmaster-payment-gateway:has(> .iztm-method) > .iztm-method .iztm-card {
    margin: 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
}
.tourmaster-payment-gateway:has(> .iztm-method) > .iztm-method .iztm-service-fee {
    margin: 7px 0 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    text-align: center !important;
}
@media (max-width: 480px) {
    .tourmaster-payment-gateway:has(> .iztm-method) {
        column-gap: 14px !important;
        row-gap: 24px !important;
    }
}


/* v1.0.29: configurable Izipay button styling; leaves other methods unchanged. */
.tourmaster-payment-gateway .tourmaster-online-payment-method.iztm-method,
.tourmaster-payment-gateway:has(> .iztm-method) > .tourmaster-online-payment-method.iztm-method {
  flex:0 1 var(--iztm-button-width,200px)!important;
  width:min(var(--iztm-button-width,200px),100%)!important;
  max-width:min(var(--iztm-button-width,200px),100%)!important;
}
.tourmaster-payment-gateway .iztm-method .iztm-card,
.tourmaster-payment-gateway .iztm-method .iztm-card.iztm-image-only {
  border:var(--iztm-border-width,1px) solid var(--iztm-border-color,#dce4ee)!important;
  border-radius:var(--iztm-radius,12px)!important;
  box-sizing:border-box!important;
}
.tourmaster-payment-gateway .iztm-method .iztm-card:hover,
.tourmaster-payment-gateway .iztm-method .iztm-card:focus-visible,
.tourmaster-payment-gateway .iztm-method .iztm-card.iztm-image-only:hover,
.tourmaster-payment-gateway .iztm-method .iztm-card.iztm-image-only:focus-visible {
  border-color:var(--iztm-hover-color,#425ed7)!important;
  box-shadow:0 6px 24px rgba(38,71,145,.14)!important;
}
.tourmaster-payment-gateway .iztm-method .iztm-service-fee,
.tourmaster-payment-gateway:has(> .iztm-method) > .iztm-method .iztm-service-fee {
  margin-top:var(--iztm-fee-gap,7px)!important;
}

/* v1.0.31: editable fallback button identity, only when no full button image */
.tourmaster-payment-gateway .iztm-method .iztm-card:not(.iztm-image-only){background:var(--iztm-button-bg,#fff)!important}
.tourmaster-payment-gateway .iztm-method .iztm-card:not(.iztm-image-only) .iztm-card-text strong{color:var(--iztm-title-color,#172b4d)!important;overflow-wrap:anywhere}
.tourmaster-payment-gateway .iztm-method .iztm-card:not(.iztm-image-only) .iztm-card-text small{color:var(--iztm-subtitle-color,#60728c)!important;overflow-wrap:anywhere}
.tourmaster-payment-gateway .iztm-method .iztm-card-logo-image{display:block!important;width:32px!important;height:32px!important;max-width:32px!important;max-height:32px!important;object-fit:contain!important}

/* v1.0.33: configurable customer-facing fee message appearance */
.tourmaster-payment-gateway .iztm-method .iztm-service-fee{color:var(--iztm-fee-color,#53647b)!important;font-size:var(--iztm-fee-font-size,12px)!important}

/* v1.0.35: configurable shadow, lift animation and logo tile background. */
.tourmaster-payment-gateway .iztm-method .iztm-card-symbol {
  background:var(--iztm-logo-bg,#fff0f0)!important;
  border-radius:var(--iztm-logo-radius,12px)!important;
}
.tourmaster-payment-gateway .iztm-method .iztm-card,
.tourmaster-payment-gateway .iztm-method .iztm-card.iztm-image-only {
  box-shadow:0 3px var(--iztm-shadow-blur,14px) color-mix(in srgb,var(--iztm-shadow-color,#122846) var(--iztm-shadow-opacity,5%),transparent)!important;
  transform:translateY(0)!important;
  transition:transform var(--iztm-motion,200ms) ease,border-color var(--iztm-motion,200ms) ease,box-shadow var(--iztm-motion,200ms) ease!important;
}
.tourmaster-payment-gateway .iztm-method .iztm-card:is(:hover,:focus-visible),
.tourmaster-payment-gateway .iztm-method .iztm-card.iztm-image-only:is(:hover,:focus-visible) {
  transform:translateY(calc(-1 * var(--iztm-hover-lift,1px)))!important;
  box-shadow:0 8px var(--iztm-hover-shadow-blur,24px) color-mix(in srgb,var(--iztm-shadow-color,#122846) var(--iztm-hover-shadow-opacity,14%),transparent)!important;
}
@media(prefers-reduced-motion:reduce){
  .tourmaster-payment-gateway .iztm-method .iztm-card {transition:none!important;transform:none!important}
  .tourmaster-payment-gateway .iztm-method .iztm-card:is(:hover,:focus-visible){transform:none!important}
}

/* v1.0.37: configurable space around full button image. */
.tourmaster-payment-gateway .iztm-method .iztm-card.iztm-image-only {
  padding:var(--iztm-image-padding,8px)!important;
  box-sizing:border-box!important;
}
.tourmaster-payment-gateway .iztm-method .iztm-card.iztm-image-only .iztm-custom-image {
  width:100%!important;max-width:100%!important;height:auto!important;display:block!important;
}

/* v1.0.70: exhibir imágenes originales proporcionadas sin padding ni marco duplicado. */
.iztm-card-form .iztm-card-brands{display:flex;flex-wrap:wrap;align-items:center;gap:5px;min-height:32px;}
.iztm-card-form .iztm-card-brands img{display:block!important;width:48px!important;height:32px!important;max-width:100%!important;box-sizing:border-box!important;padding:0!important;border:0!important;border-radius:4px!important;background:transparent!important;object-fit:contain!important;flex:none!important;}
@media(max-width:600px){.iztm-card-form .iztm-card-brands img{width:48px!important;height:32px!important;}}

/* v1.0.72: restored v1.0.67 card logo sizes while preserving user assets. */
.iztm-checkout .iztm-card-form .iztm-card-brands img {
  width:38px!important;
  height:24px!important;
  min-width:38px!important;
  min-height:24px!important;
  max-width:38px!important;
  max-height:24px!important;
  object-fit:contain!important;
  padding:0!important;
  border:0!important;
  box-sizing:border-box!important;
  flex:0 0 38px!important;
}
@media(max-width:600px){
  .iztm-checkout .iztm-card-form .iztm-card-brands img {
    width:34px!important;
    height:22px!important;
    min-width:34px!important;
    min-height:22px!important;
    max-width:34px!important;
    max-height:22px!important;
    flex:0 0 34px!important;
  }
}


/* Logos de las tarjetas bajo Card number: marco ajustado a cada imagen. */
.iztm-checkout .iztm-card-form .iztm-card-brands {
  display:flex!important;
  align-items:center!important;
  flex-wrap:wrap!important;
  gap:4px!important;
  margin-top:-6px!important;
  margin-bottom:20px!important;
  min-height:24px!important;
}
.iztm-checkout .iztm-card-form .iztm-card-brands .iztm-card-brand-cell {
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:max-content!important;
  height:auto!important;
  min-width:0!important;
  min-height:0!important;
  flex:0 0 auto!important;
  overflow:hidden!important;
  box-sizing:border-box!important;
  border:1px solid #9ca3af36!important;
  background:transparent!important;
  border-radius:4px!important;
  padding:0!important;
  margin:0!important;
  line-height:0!important;
}
.iztm-checkout .iztm-card-form .iztm-card-brands .iztm-card-brand-cell img {
  display:block!important;
  width:auto!important;
  height:20px!important;
  min-width:0!important;
  min-height:0!important;
  max-width:none!important;
  max-height:20px!important;
  flex:none!important;
  padding:0!important;
  margin:0!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  background:transparent!important;
  object-fit:contain!important;
  transform:none!important;
}
@media(max-width:600px) {
  .iztm-checkout .iztm-card-form .iztm-card-brands .iztm-card-brand-cell img {
    height:18px!important;
    max-height:18px!important;
  }
}

/* v1.0.77: logos originales opcionales debajo del boton Izipay. */
.tourmaster-payment-gateway .iztm-method .iztm-method-brands,
.iztm-admin .iztm-preview-method-brands .iztm-method-brands {
  display:flex;flex-wrap:wrap;align-items:center;justify-content:center;
  gap:3px;width:100%;box-sizing:border-box;margin:7px 0 0;padding:0;
}
.tourmaster-payment-gateway .iztm-method .iztm-method-brand,
.iztm-admin .iztm-preview-method-brands .iztm-method-brand {
  display:flex;align-items:center;justify-content:center;flex:0 0 28px;
  width:28px;height:20px;overflow:hidden;
}
.tourmaster-payment-gateway .iztm-method .iztm-method-brand img,
.iztm-admin .iztm-preview-method-brands .iztm-method-brand img {
  display:block;width:28px;height:20px;max-width:none;max-height:none;
  padding:0;border:0;box-shadow:none;background:transparent;object-fit:contain;
}
.tourmaster-payment-gateway .iztm-method .iztm-brand-visa img,
.iztm-admin .iztm-preview-method-brands .iztm-brand-visa img{transform:scale(1.62)}
.tourmaster-payment-gateway .iztm-method .iztm-brand-mastercard img,
.iztm-admin .iztm-preview-method-brands .iztm-brand-mastercard img{transform:scale(1.02)}
.tourmaster-payment-gateway .iztm-method .iztm-brand-amex img,
.iztm-admin .iztm-preview-method-brands .iztm-brand-amex img{transform:scale(.78)}
.tourmaster-payment-gateway .iztm-method .iztm-brand-discover img,
.iztm-admin .iztm-preview-method-brands .iztm-brand-discover img{transform:scale(.83)}
.tourmaster-payment-gateway .iztm-method .iztm-brand-jcb img,
.iztm-admin .iztm-preview-method-brands .iztm-brand-jcb img{transform:scale(1.02)}
.tourmaster-payment-gateway .iztm-method .iztm-brand-diners img,
.iztm-admin .iztm-preview-method-brands .iztm-brand-diners img{transform:scale(1.03)}


/* Mantener los iconos cerca de Card number. */
.iztm-card-form .iztm-card-field:first-child .kr-pan{margin-bottom:6px!important}


/* v1.0.103 — payment processing state for the embedded Izipay card button.
   Krypton retains full control of the actual payment submission. */
.iztm-checkout .iztm-payment-processing[hidden]{display:none!important}
.iztm-checkout .iztm-payment-processing{display:flex;align-items:center;justify-content:center;gap:11px;max-width:600px;box-sizing:border-box;margin:12px auto 0;padding:12px 15px;border:1px solid #cdebe9;border-radius:10px;background:#f0fbfa;color:#174c50;text-align:left}
.iztm-checkout .iztm-processing-lock{display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;flex:0 0 30px;border-radius:50%;background:#d9f4f1;font-size:15px}
.iztm-checkout .iztm-processing-copy{display:flex;flex-direction:column;gap:3px;min-width:0}
.iztm-checkout .iztm-processing-copy strong{display:block;font-size:13px;line-height:1.4;font-weight:700;color:#174c50}
.iztm-checkout .iztm-processing-copy small{display:block;font-size:12px;line-height:1.45;color:#526f73}
.iztm-checkout.iztm-processing .kr-payment-button{position:relative!important;pointer-events:none!important;cursor:progress!important;color:transparent!important;font-size:0!important}
.iztm-checkout.iztm-processing .kr-payment-button::before{content:""!important;display:block!important;position:absolute!important;left:calc(50% - 100px)!important;top:50%!important;width:16px!important;height:16px!important;margin-top:-9px!important;border:2px solid rgba(255,255,255,.35)!important;border-top-color:#fff!important;border-radius:50%!important;box-sizing:border-box!important;animation:iztm-pay-spin .75s linear infinite!important}
.iztm-checkout.iztm-processing .kr-payment-button::after{content:"PROCESSING PAYMENT..."!important;display:block!important;position:absolute!important;inset:0!important;display:flex!important;align-items:center!important;justify-content:center!important;padding-left:22px!important;box-sizing:border-box!important;color:#fff!important;font-size:14px!important;font-weight:700!important;letter-spacing:.035em!important;line-height:1.2!important;pointer-events:none!important}
@keyframes iztm-pay-spin{to{transform:rotate(360deg)}}
@media(max-width:480px){.iztm-checkout.iztm-processing .kr-payment-button::before{left:calc(50% - 93px)!important}.iztm-checkout.iztm-processing .kr-payment-button::after{font-size:12px!important}.iztm-checkout .iztm-payment-processing{padding:11px 12px}}
@media(prefers-reduced-motion:reduce){.iztm-checkout.iztm-processing .kr-payment-button::before{animation-duration:1.5s!important}}

/* v1.0.104 — Complete appears checked only after verified Izipay payment.
   The class is added on the server solely when the booking is confirmed. */
body.iztm-payment-confirmed #tourmaster-payment-step-wrap .tourmaster-payment-step-item[data-step="4"].tourmaster-current .tourmaster-payment-step-item-icon {
    background: #2acb68 !important;
    color: #ffffff !important;
}
body.iztm-payment-confirmed #tourmaster-payment-step-wrap .tourmaster-payment-step-item[data-step="4"].tourmaster-current .tourmaster-payment-step-item-icon i.fa-check {
    display: block !important;
}
body.iztm-payment-confirmed #tourmaster-payment-step-wrap .tourmaster-payment-step-item[data-step="4"].tourmaster-current .tourmaster-payment-step-item-icon .tourmaster-text {
    display: none !important;
}


/* v1.0.105 — refined, compact card fields. Krypton controls remain intact. */
.iztm-checkout .iztm-card-form :is(.kr-pan,.kr-expiry,.kr-security-code,.kr-card-holder-name) :is(.kr-field-icon,.kr-field-icon-container,.kr-help,.kr-icon){
  color:#778396!important;
  opacity:.88;
  font-size:18px!important;
}
.iztm-checkout .iztm-card-form :is(.kr-pan,.kr-expiry,.kr-security-code,.kr-card-holder-name) :is(.kr-field-icon,.kr-field-icon-container,.kr-help,.kr-icon) :is(svg,img){
  max-width:21px;max-height:21px;object-fit:contain;
}
