.acm-credit-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(12, 27, 49, .36);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.acm-credit-modal {
  box-sizing: border-box;
  width: 100%;
  max-width: 420px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 24px;
  border-radius: 16px;
  background: #fff;
  color: #172033;
  box-shadow: 0 16px 50px rgba(0, 0, 0, .20);
}

.acm-credit-modal h2 {
  margin: 0 0 12px;
  font-size: 1.25rem;
  line-height: 1.35;
}

.acm-credit-modal p {
  line-height: 1.5;
}

.acm-credit-values {
  margin: 20px 0;
  padding: 16px;
  border-radius: 10px;
  background: #f4f6f9;
}

.acm-credit-values div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0;
}

.acm-credit-values dt {
  color: #475569;
}

.acm-credit-values dd {
  margin: 0;
  font-weight: 700;
}

.acm-credit-excess dd {
  color: #b42318;
}

.acm-credit-close {
  width: 100%;
  min-height: 44px;
  border: 0;
  border-radius: 8px;
  background: #175ea8;
  color: white;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.acm-credit-close:focus-visible {
  outline: 3px solid #f59e0b;
  outline-offset: 3px;
}


/* ACM-CREDITO-25 CORPORATIVO */
.acm-credit-overlay {
  background:var(--acm-overlay-backdrop,rgba(8,28,52,.20));
  backdrop-filter:blur(var(--acm-overlay-blur,3px));
  -webkit-backdrop-filter:blur(var(--acm-overlay-blur,3px));
}
.acm-credit-modal {
  width:min(390px,calc(100vw - 32px));
  max-width:100%;
  padding:28px;
  border:0;
  border-radius:20px;
  text-align:center;
  background:#fff;
  box-shadow:0 20px 65px rgba(0,35,70,.25);
}
.acm-credit-modal h2 {
  color:#07549d;
  margin:10px 0 16px;
  font-size:23px;
  line-height:1.25;
}
.acm-credit-modal > p {
  color:#526477;
  font-size:14px;
  line-height:1.5;
}
.acm-credit-values {
  text-align:left;
  background:#f4f7fb;
  border:1px solid #e1eaf3;
  border-radius:12px;
  padding:14px;
}
.acm-credit-values dt {
  color:#526477;
  font-size:13px;
}
.acm-credit-values dd {
  color:#23384e;
  font-size:14px;
  font-weight:700;
}
.acm-credit-values .acm-credit-excess {
  border-top:1px solid #dce5ee;
  padding-top:12px;
}
.acm-credit-values .acm-credit-excess dd {
  color:#b42318;
}
.acm-credit-close {
  margin-top:12px;
  min-height:44px;
  padding:13px 20px;
  border:0;
  border-radius:10px;
  background:#07549d;
  color:#fff;
  font-weight:700;
  cursor:pointer;
}
.acm-credit-close:hover {
  background:#06457f;
}
@media(max-width:520px) {
  .acm-credit-modal {padding:22px 18px}
  .acm-credit-modal h2 {font-size:21px}
}


/* ACM-CREDITO-27 HEADER GRADIENT */
.acm-credit-modal{
  position:relative;
  overflow:hidden;
  padding-top:104px;
}

.acm-credit-modal::before{
  content:"";
  position:absolute;
  inset:0 0 auto 0;
  height:92px;
  background:linear-gradient(135deg,#0a4f97 0%,#0b67c2 55%,#1d7ad6 100%);
}

.acm-credit-modal h2{
  position:relative;
  margin:0 0 16px;
  padding-top:0;
  color:#07549d;
  z-index:1;
}

.acm-credit-modal h2::before{
  content:"warning";
  display:grid;
  place-items:center;
  width:58px;
  height:58px;
  margin:-74px auto 14px;
  border-radius:18px;
  background:rgba(255,255,255,.18);
  border:1px solid rgba(255,255,255,.28);
  color:#fff;
  font-family:"Material Symbols Rounded";
  font-size:34px;
  font-weight:normal;
  line-height:1;
  box-shadow:0 10px 24px rgba(0,35,70,.18);
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}

.acm-credit-modal > p:first-of-type{
  margin-top:0;
}

@media(max-width:520px){
  .acm-credit-modal{
    padding-top:94px;
  }

  .acm-credit-modal::before{
    height:84px;
  }

  .acm-credit-modal h2::before{
    width:54px;
    height:54px;
    margin:-68px auto 12px;
    font-size:31px;
  }
}


/* ACM-CREDITO-29 HEADER INLINE */
.acm-credit-modal{
  padding:0 !important;
  overflow:hidden;
  border-radius:20px;
  text-align:initial;
}

.acm-credit-modal::before{
  display:none !important;
  content:none !important;
}

.acm-credit-header{
  display:flex;
  align-items:center;
  gap:14px;
  padding:20px 22px;
  background:linear-gradient(135deg,#0a4f97 0%,#0b67c2 55%,#1d7ad6 100%);
}

.acm-credit-header-icon{
  flex:0 0 auto;
  width:52px;
  height:52px;
  display:grid;
  place-items:center;
  border-radius:16px;
  background:rgba(255,255,255,.16);
  border:1px solid rgba(255,255,255,.26);
  box-shadow:0 10px 24px rgba(0,35,70,.16);
}

.acm-credit-header-icon .material-symbols-rounded{
  color:#fff;
  font-size:31px;
  line-height:1;
}

.acm-credit-modal h2,
.acm-credit-header h2{
  margin:0 !important;
  padding:0 !important;
  color:#fff !important;
  font-size:19px !important;
  line-height:1.25 !important;
  text-align:left !important;
  flex:1 1 auto;
}

.acm-credit-modal h2::before{
  display:none !important;
  content:none !important;
}

.acm-credit-body{
  padding:24px 26px 26px;
  text-align:center;
}

.acm-credit-modal > p,
.acm-credit-body > p{
  color:#526477;
  font-size:14px;
  line-height:1.5;
}

.acm-credit-values{
  margin:18px 0 18px;
}

.acm-credit-close{
  width:100%;
}

@media(max-width:520px){
  .acm-credit-header{
    gap:12px;
    padding:18px 18px;
  }

  .acm-credit-header-icon{
    width:48px;
    height:48px;
    border-radius:14px;
  }

  .acm-credit-header-icon .material-symbols-rounded{
    font-size:29px;
  }

  .acm-credit-modal h2,
  .acm-credit-header h2{
    font-size:18px !important;
  }

  .acm-credit-body{
    padding:20px 18px 22px;
  }
}
/* ACM-CREDITO-30 */
.acm-credito-trigger{display:flex;align-items:center;gap:8px;border:1px solid #dce8f5;border-radius:10px;padding:7px 11px;background:#edf5fc;color:#07549d;cursor:pointer;font:inherit}
.acm-credito-trigger-copy{display:grid;text-align:left;gap:2px}
.acm-credito-trigger-copy small{font-size:10px}
.acm-credito-trigger-copy strong{font-size:13px;white-space:nowrap}
.acm-credito-detalle{border:0;border-radius:20px;padding:0;width:min(410px,calc(100% - 32px));max-width:100%;max-height:90vh;overflow:auto;box-shadow:0 20px 65px rgba(0,35,70,.25)}
.acm-credito-detalle::backdrop{background:rgba(8,28,52,.25);backdrop-filter:blur(3px)}
.acm-credito-detalle-header{display:flex;align-items:center;gap:12px;padding:21px 22px;color:#fff;background:linear-gradient(135deg,#0a4f97,#1d7ad6)}
.acm-credito-detalle-header h2{margin:0;font-size:19px;color:#fff}
.acm-credito-detalle-body{padding:24px;text-align:center;color:#23384e}
.acm-credito-disponible{font-size:28px;font-weight:700;color:#07549d}
.acm-credito-detalle dl{margin:20px 0;background:#f4f7fb;border:1px solid #e1eaf3;border-radius:12px;padding:14px}
.acm-credito-detalle dl div{display:flex;justify-content:space-between;gap:10px;margin:12px 0;font-size:13px;text-align:left}
.acm-credito-detalle dd{margin:0;font-weight:700;text-align:right}
.acm-credito-nota{color:#526477;font-size:12px}
#acmCreditoCerrar{width:100%;min-height:44px;border:0;border-radius:10px;background:#07549d;color:#fff;font-weight:700;cursor:pointer}
@media(max-width:520px){.acm-credito-trigger{padding:6px}.acm-credito-trigger-copy strong{font-size:11px}}
/* ACM-CREDITO-32 */
.acm-credito-uso{
  margin:20px 0;
  text-align:left;
}
.acm-credito-uso h3{
  font-size:14px;
  color:#07549d;
  margin:0 0 12px;
  font-weight:700;
}
.acm-credito-barra{
  display:flex;
  width:100%;
  height:17px;
  border-radius:9px;
  overflow:hidden;
  background:#e6edf3;
}
.acm-credito-barra span{
  display:block;
  flex:none;
  height:100%;
}
.acm-credito-deuda{background:#174f91}
.acm-credito-carrito{background:#e8a23a}
.acm-credito-libre{background:#37a66a}
.acm-credito-leyenda{
  display:grid;
  gap:11px;
  margin-top:15px;
}
.acm-credito-leyenda>div{
  display:grid;
  grid-template-columns:11px minmax(0,1fr) auto;
  align-items:center;
  gap:8px;
  font-size:12px;
}
.acm-credito-leyenda strong{
  font-size:12px;
  white-space:nowrap;
  text-align:right;
}
.acm-credito-punto{
  display:block;
  width:10px;
  height:10px;
  border-radius:3px;
}
.acm-credito-punto.deuda{background:#174f91}
.acm-credito-punto.carrito{background:#e8a23a}
.acm-credito-punto.libre{background:#37a66a}
.acm-credito-exceso{
  color:#b42318;
  font-size:12px;
  line-height:1.5;
}
@media(max-width:380px){
  .acm-credito-leyenda>div{
    grid-template-columns:10px minmax(0,1fr);
  }
  .acm-credito-leyenda strong{
    grid-column:2;
    text-align:left;
  }
}

/* ACM-CREDITO-37 */
.acm-credito-sync{
  margin:15px 0;
  display:grid;
  gap:9px;
}
.acm-credito-sync p{
  font-size:12px;
  color:#526477;
  margin:0;
  line-height:1.45;
}
#acmCreditoActualizar{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:8px;
  min-height:44px;
  width:100%;
  border:1px solid #07549d;
  border-radius:10px;
  background:#fff;
  color:#07549d;
  font:inherit;
  font-weight:700;
  cursor:pointer;
}
#acmCreditoActualizar .material-symbols-rounded{font-size:20px}
#acmCreditoActualizar:disabled{opacity:.6;cursor:wait}
.acm-credito-exceso[hidden]{display:none!important}

/* ACM-CREDITO-59: alerta de pedido bloqueado */
.cart-alert.acm-cart-review-alert {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin: 16px 0 22px;
  padding: 19px 21px;
  border: 1px solid #e8a23a;
  border-left: 5px solid #d28a19;
  border-radius: 12px;
  background: #fff8e9;
  color: #654b22;
  box-shadow: 0 3px 12px rgba(91, 65, 20, .06);
}

.acm-cart-review-alert .acm-cart-review-icon {
  flex: none;
  font-size: 27px;
  line-height: 1.2;
  color: #b97412;
}

.acm-cart-review-alert .acm-cart-review-content {
  min-width: 0;
}

.acm-cart-review-alert .acm-cart-review-content strong {
  display: block;
  margin: 0 0 5px;
  color: #704610;
  font-size: 16px;
  font-weight: 750;
  line-height: 1.35;
}

.acm-cart-review-alert .acm-cart-review-content p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: #654b22;
}

@media (max-width: 600px) {
  .cart-alert.acm-cart-review-alert {
    padding: 15px;
    gap: 11px;
  }

  .acm-cart-review-alert .acm-cart-review-icon {
    font-size: 24px;
  }
}
