.wlq-generator { max-width: 520px; margin: 1.5em auto; font-family: inherit; }
.wlq-generator label { display: block; margin: 0 0 1em; font-weight: 600; }
.wlq-generator input[type="tel"],
.wlq-generator textarea,
.wlq-generator .wlq-link { width: 100%; box-sizing: border-box; padding: .6em .7em; margin-top: .3em; border: 1px solid #c3c4c7; border-radius: 6px; font: inherit; font-weight: 400; }
.wlq-btn { display: inline-block; padding: .65em 1.1em; border: 0; border-radius: 6px; background: #128c7e; color: #fff; font: inherit; font-weight: 600; cursor: pointer; text-decoration: none; }
.wlq-btn:hover { background: #0e6f64; color: #fff; }
.wlq-btn:disabled { opacity: .6; cursor: wait; }
.wlq-error { color: #b32d2e; margin: .8em 0 0; }
.wlq-copyrow { display: flex; gap: .5em; align-items: center; }
.wlq-copyrow .wlq-link { margin-top: 0; }
.wlq-qr { max-width: 260px; margin: 1em auto; }
.wlq-qr svg { width: 100%; height: auto; display: block; }
.wlq-actions { display: flex; gap: .5em; flex-wrap: wrap; justify-content: center; }
.wlq-note { font-size: .9em; color: #50575e; }

/* El atributo hidden debe ganarle a display de los botones */
.wlq-generator [hidden] { display: none !important; }
/* Que el tema no pise el color ni el subrayado de los botones-enlace */
.wlq-generator a.wlq-btn,
.wlq-generator a.wlq-btn:visited,
.wlq-generator a.wlq-btn:hover { color: #fff; text-decoration: none; }
.wlq-generator .wlq-buy { margin-top: .8em; }

/* Panel del cliente */
.wlq-generator.wlq-panel { max-width: 760px; }
.wlq-card { border: 1px solid #dcdcde; border-radius: 8px; padding: 1em 1.1em; margin: 0 0 1em; }
.wlq-cardhead { display: flex; flex-wrap: wrap; gap: .6em; align-items: center; justify-content: space-between; }
.wlq-short { font-weight: 700; word-break: break-all; }
.wlq-badge { font-size: .8em; padding: .2em .7em; border-radius: 999px; background: #f0f0f1; color: #3c434a; }
.wlq-badge.wlq-ok { background: #d7f0e8; color: #0b5a4c; }
.wlq-badge.wlq-bad { background: #fbe3e3; color: #8a1f1f; }
.wlq-meta { margin: .4em 0; word-break: break-word; }
.wlq-btn-sm { padding: .4em .8em; font-size: .9em; margin: 0 .4em .4em 0; }
.wlq-editform label { margin-top: .6em; }
.wlq-statsbar { margin: .6em 0; }
.wlq-chart { width: 100%; height: auto; display: block; }
.wlq-total { font-weight: 600; }

/* Ajustes visuales (0.5.1) */
.wlq-copyrow .wlq-btn { white-space: nowrap; flex: 0 0 auto; }
.wlq-result { margin-top: 1.6em; }

/* v0.5.1: el botón Copiar no se parte y hay aire entre el formulario y el resultado */
.wlq-copyrow .wlq-btn { white-space: nowrap; flex-shrink: 0; }
.wlq-result { margin-top: 1.6em; }
.wlq-aliasrow { display: flex; align-items: center; margin-top: .3em; border: 1px solid #c3c4c7; border-radius: 6px; overflow: hidden; }
.wlq-prefix { padding: .6em .6em .6em .7em; background: #f6f7f7; color: #50575e; font-weight: 400; white-space: nowrap; }
.wlq-aliasrow input { border: 0 !important; margin: 0 !important; border-radius: 0 !important; flex: 1; min-width: 0; }
.wlq-aliashint { display: block; margin-top: .3em; font-weight: 400; color: #50575e; }

/* ===== v0.6.0: panel "Mis enlaces" y página de planes ===== */
.wlq-generator.wlq-panel,
.wlq-generator.wlq-pricing { --wlq-brand: #128c7e; --wlq-brand-dark: #0b5a4c; --wlq-soft: #e6f4f1; --wlq-line: #e2e4e7; --wlq-muted: #5b6770; --wlq-radius: 14px; }
.wlq-generator.wlq-panel { max-width: 920px; margin-left: 0; margin-right: 0; }

/* Cabecera con el plan */
.wlq-hero { background: linear-gradient(135deg, #0b3f39 0%, #128c7e 100%); color: #fff; border-radius: var(--wlq-radius); padding: 1.3em 1.4em; margin: 0 0 1.2em; }
.wlq-herotop { display: flex; flex-wrap: wrap; gap: .8em; align-items: center; justify-content: space-between; }
.wlq-hero-eyebrow { font-size: .8em; letter-spacing: .08em; text-transform: uppercase; opacity: .8; }
.wlq-hero .wlq-hero-plan { margin: .1em 0 0; color: #fff; font-size: 1.7em; line-height: 1.15; }
.wlq-generator a.wlq-btn.wlq-btn-light,
.wlq-generator a.wlq-btn.wlq-btn-light:visited { background: #fff; color: var(--wlq-brand-dark); }
.wlq-generator a.wlq-btn.wlq-btn-light:hover { background: var(--wlq-soft); color: var(--wlq-brand-dark); }
.wlq-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: .8em; margin-top: 1.1em; }
.wlq-tile { background: rgba(255,255,255,.13); border-radius: 12px; padding: .8em .95em; display: flex; flex-direction: column; gap: .2em; }
.wlq-tile-label { font-size: .8em; opacity: .85; }
.wlq-tile-value { font-size: 1.5em; line-height: 1.1; color: #fff; }
.wlq-tile-sub { font-size: .8em; opacity: .8; }
.wlq-bar { height: 6px; border-radius: 999px; background: rgba(255,255,255,.25); overflow: hidden; margin-top: .4em; }
.wlq-bar span { display: block; height: 100%; background: #fff; border-radius: 999px; }

/* Pastillas */
.wlq-pills { display: flex; flex-wrap: wrap; gap: .4em; margin: .45em 0 0; }
.wlq-pill { display: inline-block; font-size: .78em; font-weight: 600; padding: .25em .7em; border-radius: 999px; background: #eef0f2; color: #3c434a; white-space: nowrap; }
.wlq-pill-ok { background: #d7f0e8; color: #0b5a4c; }
.wlq-pill-bad { background: #fbe3e3; color: #8a1f1f; }
.wlq-pill-warn { background: #fdf1d6; color: #7a5200; }
.wlq-pill-brand { background: var(--wlq-soft); color: var(--wlq-brand-dark); }
.wlq-pill-off { background: rgba(255,255,255,.18); color: rgba(255,255,255,.75); text-decoration: line-through; }
.wlq-tile .wlq-pill-ok { background: #fff; color: var(--wlq-brand-dark); }

/* Mejoras */
.wlq-upsell { background: var(--wlq-soft); border: 1px solid #bfe3db; border-radius: var(--wlq-radius); padding: .9em 1.1em; margin: 0 0 1.2em; color: #0b3f39; }
.wlq-upsell-row { display: flex; flex-wrap: wrap; gap: .5em; margin-top: .6em; }

/* Fichas de enlaces */
.wlq-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(380px, 100%), 1fr)); gap: 1em; }
.wlq-generator .wlq-card { margin: 0; border: 1px solid var(--wlq-line); border-radius: var(--wlq-radius); padding: 1em; background: #fff; box-shadow: 0 1px 2px rgba(16,24,40,.05); }
.wlq-cardtop { display: flex; gap: .9em; align-items: flex-start; }
.wlq-thumb { flex: 0 0 76px; width: 76px; padding: 5px; border: 1px solid var(--wlq-line); border-radius: 10px; background: #fff; }
.wlq-thumb svg { width: 100%; height: auto; display: block; }
.wlq-cardinfo { min-width: 0; flex: 1; }
.wlq-cardinfo .wlq-short { font-size: 1.05em; text-decoration: none; color: var(--wlq-brand-dark); }
.wlq-cardinfo .wlq-meta { margin: .5em 0 0; color: var(--wlq-muted); font-size: .92em; }
.wlq-cardactions { display: flex; flex-wrap: wrap; gap: .4em; margin-top: .9em; padding-top: .8em; border-top: 1px solid var(--wlq-line); }
.wlq-cardactions .wlq-btn-sm { margin: 0; }
.wlq-generator .wlq-btn.wlq-btn-ghost { background: #fff; color: var(--wlq-brand-dark); border: 1px solid var(--wlq-line); }
.wlq-generator .wlq-btn.wlq-btn-ghost:hover { background: var(--wlq-soft); border-color: #bfe3db; color: var(--wlq-brand-dark); }
.wlq-cardbody:not(:empty) { margin-top: .8em; }

/* Estado vacío */
.wlq-empty { text-align: center; border: 2px dashed var(--wlq-line); border-radius: var(--wlq-radius); padding: 2em 1em; }
.wlq-empty .wlq-note { margin: .4em 0 1em; }

/* Página de planes */
.wlq-generator.wlq-pricing { max-width: 980px; }
.wlq-pricegrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1em; align-items: stretch; }
.wlq-pricecard { position: relative; display: flex; flex-direction: column; border: 1px solid var(--wlq-line); border-radius: var(--wlq-radius); padding: 1.4em 1.2em 1.2em; background: #fff; box-shadow: 0 1px 2px rgba(16,24,40,.05); }
.wlq-pricecard.wlq-featured { border: 2px solid var(--wlq-brand); box-shadow: 0 6px 22px rgba(18,140,126,.18); }
.wlq-pricecard .wlq-pill { position: absolute; top: -.8em; left: 1.2em; }
.wlq-pricecard h3 { margin: 0; font-size: 1.15em; }
.wlq-price { margin: .3em 0 0; font-size: 2em; font-weight: 700; line-height: 1.1; }
.wlq-price-note { margin: 0 0 .8em; color: var(--wlq-muted); font-size: .88em; }
.wlq-pricecard ul { list-style: none; margin: 0 0 1.2em; padding: 0; flex: 1; }
.wlq-pricecard li { position: relative; padding: .3em 0 .3em 1.5em; font-size: .95em; }
.wlq-pricecard li::before { content: "✓"; position: absolute; left: 0; color: var(--wlq-brand); font-weight: 700; }
.wlq-pricecard .wlq-btn { text-align: center; }
.wlq-center { text-align: center; margin-top: 1.4em; }

@media (max-width: 480px) {
  .wlq-cards { grid-template-columns: 1fr; }
  .wlq-hero .wlq-hero-plan { font-size: 1.4em; }
}

.wlq-pricing .wlq-logo { margin: 0 0 1.4em; }
.wlq-pricing .wlq-logo img { height: auto; max-width: 190px; }
.wlq-hero-logo { height: 26px; width: auto; display: block; margin: 0 0 .7em; }

/* v0.6.2: precios de las fichas más chicos (en pesos los montos son largos) y sin subrayado del tema */
.wlq-pricecard { min-width: 0; }
.wlq-pricecard .wlq-price { font-size: 1.3em; line-height: 1.2; margin: .4em 0 0; overflow-wrap: anywhere; }
.wlq-pricecard .wlq-price .woocommerce-Price-amount { white-space: nowrap; }
.wlq-pricecard .wlq-price del { display: block; font-size: .62em; font-weight: 500; opacity: .6; text-decoration: line-through; }
.wlq-pricecard .wlq-price ins { text-decoration: none; background: none; font-weight: 700; }
.wlq-pricecard .wlq-price-note { margin: .1em 0 .9em; }

.wlq-check{display:flex;gap:.6em;align-items:flex-start;font-size:.9em;line-height:1.35;margin:.4em 0 .9em}
.wlq-check input{margin-top:.25em;flex:0 0 auto}

.wlq-tools{display:flex;flex-wrap:wrap;gap:.6em;align-items:center;margin:0 0 1em}
.wlq-tools .wlq-clientsel{padding:.45em .7em;border:1px solid #d8dee9;border-radius:10px;max-width:100%}
.wlq-tools .wlq-ghost{font-size:.9em;text-decoration:none}

.wlq-fine{margin:.6em 0 0;font-size:.75em;line-height:1.4;color:var(--wlq-muted,#5b6770)}
.wlq-fine strong{color:inherit}

.wlq-fine{font-size:.82em}
.wlq-fine p{margin:.35em 0 0}
.wlq-fine .wlq-fine-title{display:block;color:#14181f}

.wlq-convert{background:#fff8e6;border:1px solid #f1d58a;border-radius:12px;padding:.8em 1em;font-size:.9em;line-height:1.45}
.wlq-convert p{margin:.45em 0}
