.ce-open-wrap{ margin-top:10px; }
.ce-open-btn{
  display:block; width:300px;
  background:#2c93d3; color:#fff; font-weight:700; font-size:1.05rem;
  border:0; border-radius:4px; padding:.85rem 1rem; cursor:pointer; text-align:center;
}
.ce-open-btn:hover{ filter:brightness(.95); }

.ce-modal[hidden]{ display:none !important; }
.ce-modal.is-open{ display:block; }
.ce-modal .ce-modal__overlay{
  position:fixed; inset:0; background:rgba(0,0,0,.55); z-index:100000;
}
.ce-modal .ce-modal__dialog{
  position:fixed; top:50%; left:50%; transform:translate(-50%,-50%);
  width:min(820px,92vw); max-height:86vh; overflow:auto;
  background:#fff; border-radius:12px; box-shadow:0 20px 60px rgba(0,0,0,.35);
  padding:18px 18px 22px; z-index:100001;
}
.ce-modal__title{ margin:0 0 8px; }
.ce-modal__close{
  position:absolute; top:10px; right:12px;
  width:38px; height:38px; line-height:34px; text-align:center;
  font-size:28px; font-weight:700; color:#111;
  background:#f1f5f9; border:1px solid #e5e7eb; border-radius:8px; cursor:pointer;
}
body.ce-noscroll{ overflow:hidden; }

/* Reuso del contenido */
#cuotas-envio-box{ border:1px solid #eee; border-radius:10px; padding:12px; background:#fff; }
.cuotas-envio-box .ce-row{ display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.cuotas-envio-box .ce-block{ border-top:1px solid #f0f0f0; padding-top:8px; }
.ce-list{ margin:0; padding-left:18px; }
.ce-muted{ color:#666; margin:6px 0; }
.ce-warn{ color:#b00020; }
.ce-hint{ color:#777; display:inline-block; margin-top:6px; }
.ce-envio-form label{ display:block; margin-bottom:4px; }
.ce-input-row{ display:flex; gap:8px; }
.ce-input-row input{ flex:1; padding:.5rem; border:1px solid #ddd; border-radius:6px; }
.ce-input-row button{ padding:.5rem .8rem; border-radius:6px; border:1px solid #ddd; background:#f6f6f6; cursor:pointer; }
.ce-cuotas-n{ min-width:70px; display:inline-block; }
#ce-envio-result .ce-cost{ font-size:.9em; font-weight:600; }

@media (max-width:782px){
  .cuotas-envio-box .ce-row{ grid-template-columns:1fr; }
}
/* Hace que herede el estilo WooCommerce (.button.alt) y ocupe el ancho como los otros */
.ce-open-btn--match{
  padding: 11px 0px;
  width:300px;
  font-weight:700;          /* mismo peso que los demás */
  text-align:center;
}
/* Link verde subrayado, tamaño grande pero liviano visualmente */
.ce-open-btn--link{
  display:inline-block;
  color:#1a7f37;
  font-weight:800;
  font-size:1.15rem;        /* ajustá 1.10–1.25 a gusto */
  text-decoration:underline;
  text-underline-offset:3px;
  line-height:1.2;
}
.ce-open-btn--link:hover,
.ce-open-btn--link:focus{
  color:#166c2f;
  text-decoration-thickness:2px;
}
/* Separación con los otros botones */
.ce-open-wrap{ margin-bottom:4px; }