/* Ozado CMS · Cotizaciones (sitio público): carrito «Mi lista», confirmación, botón «Agregar» y
   botón flotante de asesores. Usa solo las variables de /tema/variables.css (tokens del tema LIMI).
   Las clases .quote-*, .cart-empty, .confirmation-*, .wa-* reproducen la maqueta pública. */

/* ───────── Layout mínimo propio (hasta que el módulo Tema lo integre) ───────── */
.cot-pagina { margin: 0; background: var(--color-surface, #fff); color: var(--color-text, #172c3e); font: 400 var(--font-size-body, .9375rem)/var(--line-height-body, 1.6) var(--font-body, "Segoe UI", Arial, sans-serif); }
.cot-pagina *, .cot-pagina *::before, .cot-pagina *::after { box-sizing: border-box; }
.cot-pagina a { color: inherit; text-decoration: none; }
.cot-pagina h1, .cot-pagina h2, .cot-pagina h3 { font-family: var(--font-heading, inherit); font-weight: var(--font-weight-heading, 700); color: var(--color-text, #172c3e); }
.cot-wrap { width: min(var(--public-width, 1280px), 100% - 2 * var(--page-gutter, 1.5rem)); margin-inline: auto; }
.cot-topbar { background: var(--color-surface, #fff); color: var(--color-text, #172c3e); border-bottom: 1px solid var(--color-line, #dde2e4); }
.cot-topbar .cot-wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 68px; }
.cot-brand img { display: block; height: 40px; width: auto; }
.cot-brand strong { font-size: 1.1rem; letter-spacing: .04em; }
.cot-nav { display: flex; align-items: center; gap: 22px; font-weight: 600; font-size: var(--font-size-small, .8125rem); }
.cot-nav a { color: var(--color-primary, #102f50); opacity: .9; }
.cot-nav a:hover { opacity: 1; }
.cot-main { padding: clamp(24px, 4vw, 48px) 0 var(--space-section, 72px); min-height: 60vh; }
.cot-footer { padding: 24px 0; border-top: 1px solid var(--color-line, #dde2e4); color: var(--color-muted, #64717c); font-size: var(--font-size-small, .8125rem); }
.cot-footer .contenido-enriquecido p { margin: 0 0 .4em; } .cot-footer .contenido-enriquecido > :last-child { margin-bottom: 0; }
.cot-flash { display: flex; gap: 10px; margin: 0 0 20px; padding: 12px 16px; border-radius: var(--radius-card, 10px); border: 1px solid var(--color-line, #dde2e4); background: var(--color-surface-soft, #f4f6f8); font-size: 14px; }
.cot-flash.is-ok { background: var(--color-green-soft, #e9f6ef); border-color: #c7e8d6; color: var(--color-success, #1e6b4b); }
.cot-flash.is-warn { background: var(--color-accent-soft, #fff6d6); border-color: #f3e1ae; color: var(--color-warning, #906300); }
.cot-flash.is-danger { background: #fdecea; border-color: #f5c9c4; color: var(--color-danger, #b42318); }

/* Enlace «Mi lista» con contador (cabecera) */
.cot-enlace-lista { position: relative; display: inline-flex; align-items: center; gap: 8px; }
.cot-enlace-lista svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.cot-enlace-lista small { display: block; font-weight: 400; font-size: 10px; color: var(--color-muted, #64717c); }
.cot-contador { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--color-accent, #ffc400); color: var(--color-on-accent, #102f50); font-size: 11px; font-weight: 700; }

/* ───────── Botón «Agregar a mi lista» (componente) ───────── */
.cot-add { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.cot-add svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.cot-add-btn.is-ok { background: var(--color-success, #1e6b4b) !important; border-color: var(--color-success, #1e6b4b) !important; color: #fff !important; }
.ui-button, .button { display: inline-flex; justify-content: center; align-items: center; gap: 8px; padding: 10px 15px; min-height: 41px; border: 1px solid var(--color-line, #dde2e4); border-radius: var(--radius-small, 8px); background: var(--color-surface, #fff); color: var(--color-text, #172c3e); font: 600 12px/1.4 var(--font-body, inherit); cursor: pointer; text-align: center; }
.ui-button svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ui-button:hover { background: var(--color-border-soft, #eef1f5); }
.ui-button.primary { background: var(--color-primary, #102f50); color: var(--color-on-primary, #fff); border-color: var(--color-primary, #102f50); }
.ui-button.primary:hover { background: var(--color-primary-deep, #0b2239); }
.ui-button.whatsapp-link { background: #25d366; border-color: #25d366; color: #fff; }
.ui-button[disabled] { opacity: .6; cursor: progress; }
.text-link { color: var(--color-primary, #102f50); font-weight: 600; font-size: 14px; }
.text-link:hover { text-decoration: underline; }
.ui-eyebrow { margin: 0 0 6px; font-size: var(--font-size-eyebrow, .6875rem); font-weight: 700; letter-spacing: .14em; color: var(--color-muted, #64717c); text-transform: uppercase; }

/* Toast ligero del sitio */
.cot-toasts { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 1200; display: flex; flex-direction: column; gap: 8px; pointer-events: none; }
.cot-toast { padding: 10px 16px; border-radius: 999px; background: var(--color-primary, #102f50); color: #fff; font-size: 14px; box-shadow: var(--shadow-dialog, 0 12px 40px rgb(0 0 0 / .2)); animation: cot-rise .2s ease; }
.cot-toast.is-warn { background: var(--color-warning, #906300); }
@keyframes cot-rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ───────── Cabecera de página y pasos ───────── */
.cot-pagehead { margin-bottom: 28px; }
.cot-pagehead h1 { margin: 0 0 8px; font-size: clamp(26px, 3vw, 36px); letter-spacing: -.02em; }
.cot-lead { margin: 0 0 18px; max-width: 62ch; color: var(--color-muted, #64717c); font-size: var(--font-size-lead, 1.0625rem); }
.quote-progress { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0; padding: 0; list-style: none; font-size: 14px; color: var(--color-muted, #64717c); }
.quote-progress li { display: flex; align-items: center; gap: 8px; }
.quote-progress li + li::before { content: ''; width: 28px; height: 1px; background: var(--color-line, #dde2e4); }
.quote-progress span { display: grid; place-items: center; width: 26px; height: 26px; font-size: 12px; font-weight: 700; border: 1px solid var(--color-line, #dde2e4); border-radius: 50%; }
.quote-progress [aria-current="step"] { color: var(--color-primary, #102f50); font-weight: 600; }
.quote-progress [aria-current="step"] span { color: var(--color-on-primary, #fff); background: var(--color-primary, #102f50); border-color: var(--color-primary, #102f50); }
.quote-progress .is-done span { color: var(--color-primary, #102f50); background: var(--color-primary-soft, #e8eef5); border-color: var(--color-primary-soft, #e8eef5); }

/* ───────── Lista de cotización ───────── */
.quote-layout { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 40px; align-items: start; }
.quote-items-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--color-line, #dde2e4); }
.quote-items-head h2 { margin: 0; font-size: 20px; }
.quote-items-head h2 span { font-weight: 400; color: var(--color-muted, #64717c); }
.quote-lines { margin: 0; padding: 0; list-style: none; }
.quote-line { display: grid; grid-template-columns: 88px minmax(0, 1fr) auto auto; gap: 20px; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--color-line, #dde2e4); }
.quote-line.is-saving { opacity: .6; }
.quote-line-image { display: block; width: 88px; height: 88px; padding: 8px; border: 1px solid var(--color-border-soft, #eef1f5); border-radius: 8px; }
.quote-line-image img { width: 100%; height: 100%; object-fit: contain; }
.cot-noimg { display: block; width: 100%; height: 100%; border-radius: 6px; background: var(--color-surface-soft, #f4f6f8); }
.cot-noimg.sm { width: 48px; height: 48px; flex: none; }
.quote-line-info > a { font-size: 15px; font-weight: 600; line-height: 1.4; color: var(--color-text, #172c3e); }
.quote-line-info > a:hover { color: var(--color-primary, #102f50); }
.quote-line-info p { margin: 4px 0 0; font-size: 13px; color: var(--color-muted, #64717c); }
.variant-tag { display: inline-block; margin-top: 8px; padding: 3px 10px; font-size: 12px; font-weight: 600; color: var(--color-primary, #102f50); background: var(--color-primary-soft, #e8eef5); border-radius: 999px; }
.qty-stepper { display: inline-flex; align-items: stretch; height: 48px; overflow: hidden; background: var(--color-surface, #fff); border: 1px solid var(--color-line, #dde2e4); border-radius: 8px; }
.quote-line-qty .qty-stepper { height: 42px; }
.qty-stepper button { display: grid; place-items: center; width: 40px; min-height: 0; padding: 0; color: var(--color-primary, #102f50); background: var(--color-surface-soft, #f4f6f8); border: 0; border-radius: 0; cursor: pointer; }
.qty-stepper button:hover { background: var(--color-primary-soft, #e8eef5); }
.qty-stepper svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.qty-stepper input { width: 56px; min-height: 0; padding: 0; text-align: center; font: 600 15px var(--font-body, inherit); color: var(--color-text, #172c3e); background: transparent; border: 0; border-radius: 0; -moz-appearance: textfield; appearance: textfield; }
.qty-stepper input::-webkit-inner-spin-button, .qty-stepper input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.quote-line-remove { display: inline-flex; align-items: center; gap: 6px; padding: 8px; font: 400 13px var(--font-body, inherit); color: var(--color-muted, #64717c); background: none; border: 0; border-radius: 6px; cursor: pointer; }
.quote-line-remove:hover { color: var(--color-danger, #b42318); background: var(--color-surface-soft, #f4f6f8); }
.quote-line-remove .i { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.quote-hint { display: flex; align-items: center; gap: 10px; margin: 20px 0 0; font-size: 14px; color: var(--color-muted, #64717c); }
.quote-hint .i { width: 18px; height: 18px; flex: none; fill: none; stroke: var(--color-primary, #102f50); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.cot-units { margin: 8px 0 0; font-size: 13px; color: var(--color-muted, #64717c); }

/* Formulario */
.quote-form-card { position: sticky; top: 16px; padding: 28px; background: var(--color-surface, #fff); border: 1px solid var(--color-line, #dde2e4); border-radius: var(--radius-large, 18px); box-shadow: var(--shadow-soft, 0 8px 24px rgb(16 47 80 / .06)); }
.public-form h2 { margin: 0 0 6px; font-size: 20px; }
.form-intro { margin: 0 0 20px; font-size: 14px; color: var(--color-muted, #64717c); }
.req { color: var(--color-danger, #b42318); }
.form-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.pf-field { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; color: var(--color-text, #172c3e); }
.pf-field.half { grid-column: auto; }
.pf-field small { margin-left: 4px; font-size: var(--font-size-xs, .75rem); font-weight: 400; color: var(--color-muted, #64717c); }
.pf-field input, .pf-field textarea, .pf-field select { width: 100%; min-height: 46px; padding: 11px 14px; font: 400 15px/1.5 var(--font-body, inherit); color: var(--color-text, #172c3e); background: var(--color-surface, #fff); border: 1px solid var(--color-line, #dde2e4); border-radius: 8px; }
.pf-field textarea { resize: vertical; }
.pf-field input:focus, .pf-field textarea:focus, .pf-field select:focus { outline: none; border-color: var(--color-primary, #102f50); box-shadow: 0 0 0 3px var(--color-primary-soft, #e8eef5); }
.pf-field.has-error input, .pf-field.has-error textarea, .pf-field.has-error select { border-color: var(--color-danger, #b42318); }
.pf-error { margin: 0 !important; color: var(--color-danger, #b42318) !important; font-weight: 500 !important; }
.pf-help { margin: 0 !important; }
.public-form button[type="submit"] { width: 100%; min-height: 50px; margin-top: 22px; font-size: 15px; }
.pf-legal { margin: 12px 0 0; font-size: 12px; color: var(--color-muted, #64717c); }
.cart-empty { padding: 64px 24px; margin-bottom: 24px; text-align: center; background: var(--color-surface-soft, #f4f6f8); border-radius: var(--radius-large, 18px); }
.cart-empty > .i { width: 48px; height: 48px; margin-bottom: 14px; fill: none; stroke: var(--color-primary, #102f50); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.cart-empty h2 { margin: 0 0 8px; font-size: 24px; }
.cart-empty > p { max-width: 460px; margin: 0 auto 24px; font-size: 15px; color: var(--color-muted, #64717c); }

/* ───────── Confirmación ───────── */
.confirmation-wrap { display: flex; flex-direction: column; align-items: center; gap: 20px; max-width: 760px; margin: 12px auto 0; }
.confirmation-card { width: 100%; padding: 48px 48px 40px; text-align: center; border: 1px solid var(--color-line, #dde2e4); border-radius: var(--radius-large, 18px); box-shadow: var(--shadow-soft, 0 8px 24px rgb(16 47 80 / .06)); }
.confirmation-icon { display: inline-grid; place-items: center; width: 72px; height: 72px; margin-bottom: 20px; color: var(--color-success, #1e6b4b); background: var(--color-green-soft, #e9f6ef); border-radius: 50%; }
.confirmation-icon .i { width: 36px; height: 36px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.confirmation-card h1 { margin: 0 0 12px; font-size: clamp(26px, 3vw, 34px); letter-spacing: -.02em; }
.confirmation-card > p { max-width: 520px; margin: 0 auto 28px; font-size: 15px; line-height: 1.6; color: var(--color-muted, #64717c); }
.request-number { display: inline-flex; flex-direction: column; gap: 4px; padding: 18px 32px; background: var(--color-surface-soft, #f4f6f8); border: 1px dashed var(--color-line, #dde2e4); border-radius: var(--radius-card, 10px); }
.request-number span { font-size: var(--font-size-eyebrow, .6875rem); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--color-muted, #64717c); }
.request-number strong { font: 700 26px/1.2 Consolas, "Courier New", monospace; letter-spacing: .04em; color: var(--color-primary, #102f50); }
.request-number small { font-size: var(--font-size-xs, .75rem); color: var(--color-muted, #64717c); }
.request-summary { margin: 32px 0 0; overflow: hidden; text-align: left; border: 1px solid var(--color-line, #dde2e4); border-radius: var(--radius-card, 10px); }
.request-summary h2 { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 6px 12px; margin: 0; padding: 14px 18px; font-size: 15px; background: var(--color-surface-soft, #f4f6f8); }
.request-summary h2 span { font-weight: 400; color: var(--color-muted, #64717c); }
.request-summary ul { margin: 0; padding: 0; list-style: none; }
.request-summary li { display: flex; align-items: center; gap: 14px; padding: 12px 18px; border-top: 1px solid var(--color-line, #dde2e4); font-size: 14px; }
.request-summary li img { width: 48px; height: 48px; object-fit: contain; border: 1px solid var(--color-border-soft, #eef1f5); border-radius: 6px; flex: none; }
.request-summary li span { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.request-summary li small { color: var(--color-muted, #64717c); }
.request-summary li b { white-space: nowrap; }
.cot-wa-cta { margin: 28px 0 0; padding: 18px 20px; border-radius: var(--radius-card, 10px); background: #e8f8ee; }
.cot-wa-cta p { margin: 0 0 12px; font-size: 14px; }
.next-steps { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px 28px; margin: 32px 0 0; padding: 0; list-style: none; font-size: 14px; color: var(--color-muted, #64717c); }
.next-steps li { display: flex; align-items: center; gap: 8px; }
.next-steps span { display: grid; place-items: center; width: 24px; height: 24px; font-size: 12px; font-weight: 700; color: var(--color-primary, #102f50); background: var(--color-primary-soft, #e8eef5); border-radius: 50%; }
.confirmation-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* ───────── Botón flotante de asesores (WhatsApp) ───────── */
.wa-widget { position: fixed; right: 20px; bottom: 20px; z-index: 1100; font-family: var(--font-body, inherit); }
.wa-widget svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.wa-fab { display: flex; align-items: center; gap: 10px; padding: 6px 6px 6px 18px; border: 0; border-radius: 999px; background: #fff; color: var(--color-text, #172c3e); box-shadow: 0 10px 30px rgb(16 47 80 / .22); cursor: pointer; font: inherit; font-weight: 600; transition: transform .18s ease, box-shadow .18s ease; }
.wa-fab:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgb(16 47 80 / .28); }
.wa-fab-icon { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: #25d366; color: #fff; }
.wa-fab-icon svg { width: 26px; height: 26px; }
.wa-widget.is-open .wa-fab-label { display: none; }
.wa-panel { position: absolute; right: 0; bottom: 72px; width: min(360px, calc(100vw - 32px)); background: #fff; border-radius: 18px; box-shadow: 0 24px 70px rgb(16 47 80 / .28); overflow: hidden; animation: wa-rise .18s ease; }
@keyframes wa-rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.wa-panel-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 18px 18px 14px; background: var(--color-primary, #102f50); color: #fff; }
.wa-panel-head strong { display: block; font-size: 1.05rem; }
.wa-panel-head span { display: block; font-size: .85rem; opacity: .8; margin-top: 2px; }
.wa-close { width: 32px; height: 32px; border: 0; border-radius: 50%; background: rgb(255 255 255 / .12); color: #fff; display: grid; place-items: center; cursor: pointer; flex: none; }
.wa-close svg { width: 16px; height: 16px; }
.wa-horario { display: flex; align-items: center; gap: 8px; padding: 10px 18px; font-size: .78rem; color: var(--color-muted, #64717c); background: var(--color-paper, #f5f5f1); flex-wrap: wrap; }
.wa-horario svg { width: 14px; height: 14px; }
.wa-lista { list-style: none; margin: 0; padding: 6px; max-height: min(52vh, 420px); overflow: auto; }
.wa-asesor { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; color: var(--color-text, #172c3e); text-decoration: none; }
.wa-asesor:hover, .wa-asesor:focus-visible { background: var(--color-paper, #f5f5f1); text-decoration: none; outline: none; }
.wa-asesor:focus-visible { box-shadow: inset 0 0 0 2px var(--color-accent, #ffc400); }
.wa-avatar { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--color-primary-soft, #e8eef5); color: var(--color-primary, #102f50); font-weight: 700; font-size: .85rem; flex: none; }
.wa-asesor-text { flex: 1; min-width: 0; }
.wa-asesor-text strong { display: block; font-size: .92rem; }
.wa-asesor-text span { display: block; font-size: .78rem; color: var(--color-muted, #64717c); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wa-asesor-go { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: #e8f8ee; color: #1a8f4e; flex: none; }
.wa-asesor-go svg { width: 18px; height: 18px; }
.wa-nota { margin: 0; padding: 10px 18px 14px; font-size: .72rem; color: var(--color-muted, #64717c); border-top: 1px solid var(--color-line, #dde2e4); }

/* ───────── Responsive ───────── */
@media (max-width: 980px) {
  .quote-layout { grid-template-columns: 1fr; gap: 28px; }
  .quote-form-card { position: static; }
}
@media (max-width: 640px) {
  .cot-topbar .cot-wrap { min-height: 60px; }
  .cot-nav a:not(.cot-enlace-lista) { display: none; }
  .quote-line { grid-template-columns: 64px minmax(0, 1fr); grid-template-areas: "img info" "qty remove"; gap: 12px 14px; padding: 16px 0; }
  .quote-line-image { grid-area: img; width: 64px; height: 64px; padding: 6px; }
  .quote-line-info { grid-area: info; }
  .quote-line-qty { grid-area: qty; }
  .quote-line > form:last-child { grid-area: remove; justify-self: end; }
  .quote-form-card { padding: 20px; border-radius: var(--radius-card, 12px); }
  .form-fields { grid-template-columns: 1fr; }
  .pf-field.half { grid-column: 1 / -1; }
  .confirmation-card { padding: 32px 20px 28px; }
  .quote-progress { font-size: 13px; }
  .quote-progress li + li::before { width: 14px; }
  .wa-widget { right: 12px; bottom: 12px; }
  .wa-fab-label { display: none; }
  .wa-fab { padding: 6px; }
}

/* ═════════ Paridad OZ Cotizador 3.8.11 (docs/qa/PARIDAD_COTIZADOR.md) ═════════
   Aspecto 100 % del tema único (tokens de Apariencia: --color-*, --radius-*, --shadow-*, --fx-*).
   Estructura tomada del diseño «default» del plugin: cajón lateral, botón flotante con globo,
   selector de asesores modal, tarjeta con WhatsApp / imagen al pasar el ratón y cotizador rápido. */

/* Botón flotante de la lista (FAB del sidecart) */
.cot-fab-lista { position: fixed; bottom: 20px; z-index: 1090; width: 56px; height: 56px; min-height: 0; padding: 0; display: grid; place-items: center; border: 0; border-radius: 50%; background: var(--color-primary, #102f50); color: var(--color-on-primary, #fff); box-shadow: var(--shadow-dialog, 0 10px 30px rgb(16 47 80 / .25)); cursor: pointer; transition: transform var(--transition, .18s ease), box-shadow var(--transition, .18s ease); }
.cot-fab-lista.is-derecha { right: 20px; } .cot-fab-lista.is-izquierda { left: 20px; }
.cot-fab-lista svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.cot-fab-lista .cot-contador { position: absolute; top: -4px; right: -4px; min-width: 22px; height: 22px; padding: 0 6px; display: grid; place-items: center; border-radius: 999px; background: var(--color-accent, #ffc400); color: var(--color-on-accent, #102f50); font: 700 12px/1 var(--font-body, inherit); border: 2px solid var(--color-surface, #fff); }
.cot-fab-lista.is-vacia .cot-contador { display: none; }
.cot-fab-lista:hover { transform: translateY(var(--fx-lift, -2px)); }
.cot-fab-lista:focus-visible { outline: 3px solid var(--color-accent, #ffc400); outline-offset: 3px; }
.cot-fab-lista.is-latido { animation: cot-latido .82s ease; }
@keyframes cot-latido { 0%, 100% { transform: scale(1); } 30% { transform: scale(1.14); } 60% { transform: scale(.96); } }
/* Apilado con el botón de asesores del mismo lado: WhatsApp arriba, lista abajo (fab stack del plugin) */
html.cot-fab-apilado .wa-widget { bottom: 88px; }
.wa-widget.is-izquierda { right: auto; left: 22px; }
.wa-widget.is-izquierda .wa-panel { right: auto; left: 0; }
.wa-widget.is-izquierda .wa-fab { flex-direction: row-reverse; padding: 6px 18px 6px 6px; }
@media (min-width: 783px) { .cot-oculto-escritorio { display: none !important; } }
@media (max-width: 782px) { .cot-oculto-movil { display: none !important; } .cot-fab-lista { bottom: 14px; width: 52px; height: 52px; } .cot-fab-lista.is-derecha { right: 14px; } .cot-fab-lista.is-izquierda { left: 14px; } html.cot-fab-apilado .wa-widget { bottom: 76px; } .wa-widget.is-izquierda { left: 14px; } }

/* Carrito lateral (sidecart) */
html.cot-l-abierto, html.cot-am-abierto { overflow: hidden; }
.cot-lateral { position: fixed; inset: 0; z-index: 1200; pointer-events: none; font-family: var(--font-body, inherit); }
.cot-lateral[hidden] { display: none; }
.cot-l-fondo { position: absolute; inset: 0; background: rgb(15 23 42 / .5); opacity: 0; transition: opacity .22s ease; pointer-events: auto; }
.cot-lateral.is-abierto .cot-l-fondo { opacity: 1; }
.cot-l-panel { position: absolute; top: 0; bottom: 0; width: min(var(--cot-l-ancho, 420px), 92vw); display: flex; flex-direction: column; background: var(--color-surface, #fff); color: var(--color-text, #172c3e); box-shadow: var(--shadow-dialog, 0 24px 100px rgb(0 0 0 / .22)); pointer-events: auto; transition: transform .26s var(--fx-ease, cubic-bezier(.16, 1, .3, 1)); outline: none; }
.cot-lateral.is-derecha .cot-l-panel { right: 0; transform: translateX(100%); }
.cot-lateral.is-izquierda .cot-l-panel { left: 0; transform: translateX(-100%); }
.cot-lateral.is-abierto .cot-l-panel { transform: none; }
@media (max-width: 782px) { .cot-l-panel { width: min(var(--cot-l-ancho-movil, 340px), 92vw); } }
@media (prefers-reduced-motion: reduce) { .cot-l-panel, .cot-l-fondo { transition: none; } .cot-fab-lista.is-latido { animation: none; } }
.cot-l-cab { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px; border-bottom: 1px solid var(--color-line, #dde2e4); }
.cot-l-cab h2 { margin: 0; font: var(--font-weight-heading, 700) 1.05rem/1.3 var(--font-heading, inherit); }
.cot-l-x { width: 36px; height: 36px; min-height: 0; padding: 0; display: grid; place-items: center; border: 0; border-radius: 50%; background: var(--color-surface-soft, #f4f6f8); color: var(--color-text, #172c3e); cursor: pointer; }
.cot-l-x svg, .cot-l-quitar svg, .cot-l-vacio svg, .cot-l-principal svg, .cot-l-wa svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.cot-l-aviso { margin: 10px 18px 0; padding: 8px 12px; border-radius: var(--radius-small, 6px); background: var(--color-accent-soft, #fff6d6); font-size: .85rem; }
.cot-l-cuerpo { flex: 1; overflow: auto; padding: 8px 18px; }
.cot-l-cuerpo.is-cargando { opacity: .55; }
.cot-l-items { list-style: none; margin: 0; padding: 0; }
.cot-l-item { display: grid; grid-template-columns: 64px 1fr; gap: 10px 12px; padding: 12px 0; border-bottom: 1px solid var(--color-line, #dde2e4); }
.cot-l-img { width: 64px; height: 64px; border-radius: var(--radius-small, 6px); overflow: hidden; background: var(--color-surface-soft, #f4f6f8); display: block; }
.cot-l-img img { width: 100%; height: 100%; object-fit: contain; }
.cot-l-info { min-width: 0; }
.cot-l-info a { color: inherit; font-weight: 600; font-size: .9rem; line-height: 1.35; text-decoration: none; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cot-l-info small { display: block; margin-top: 2px; font-size: .78rem; color: var(--color-muted, #64717c); }
.cot-l-info .cot-l-precio { color: var(--color-text, #172c3e); font-weight: 700; }
.cot-l-acc { grid-column: 2; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.cot-l-acc .qty-stepper { height: 38px; }
.cot-l-acc .qty-stepper button { width: 34px; }
.cot-l-acc .qty-stepper input { width: 52px; font-size: 14px; }
.cot-l-quitar { width: 38px; height: 38px; min-height: 0; padding: 0; display: grid; place-items: center; border: 1px solid var(--color-line, #dde2e4); border-radius: var(--radius-small, 6px); background: transparent; color: var(--color-danger, #b42318); cursor: pointer; }
.cot-l-vacio { display: grid; justify-items: center; gap: 10px; padding: 48px 8px; text-align: center; color: var(--color-muted, #64717c); }
.cot-l-vacio svg { width: 40px; height: 40px; }
.cot-l-pie { display: grid; gap: 10px; padding: 14px 18px 18px; border-top: 1px solid var(--color-line, #dde2e4); background: var(--color-surface, #fff); }
.cot-l-resumen { margin: 0; font-size: .85rem; color: var(--color-muted, #64717c); }
.cot-l-resumen strong { color: var(--color-text, #172c3e); }
.cot-l-principal { display: inline-flex; justify-content: center; align-items: center; gap: 8px; width: 100%; }
.cot-l-sec { display: flex; gap: 8px; }
.cot-l-sec > * { flex: 1; display: inline-flex; justify-content: center; align-items: center; gap: 6px; }
.cot-l-wa { background: #25d366; border-color: #25d366; color: #fff; }

/* Selector de asesores (modal de OZ Cotizador: estilo «lista» y «tarjetas») */
.cot-asesores-modal { position: fixed; inset: 0; z-index: 1300; display: grid; place-items: center; padding: 16px; font-family: var(--font-body, inherit); }
.cot-am-fondo { position: absolute; inset: 0; background: rgb(15 23 42 / .55); }
.cot-am-caja { position: relative; width: min(440px, 100%); max-height: calc(100vh - 32px); overflow: auto; background: var(--color-surface, #fff); color: var(--color-text, #172c3e); border-radius: var(--radius-large, 18px); box-shadow: var(--shadow-dialog, 0 24px 100px rgb(0 0 0 / .22)); outline: none; }
@media (prefers-reduced-motion: no-preference) { .cot-asesores-modal.is-abierto .cot-am-caja { animation: wa-rise .2s ease; } }
.cot-am-cab { display: flex; align-items: center; gap: 12px; padding: 18px 18px 14px; background: var(--color-primary, #102f50); color: var(--color-on-primary, #fff); }
.cot-am-cab > div { flex: 1; min-width: 0; }
.cot-am-cab h2 { margin: 0; font: var(--font-weight-heading, 700) 1.05rem/1.3 var(--font-heading, inherit); color: inherit; }
.cot-am-cab p { margin: 2px 0 0; font-size: .85rem; opacity: .85; }
.cot-am-insignia { width: 40px; height: 40px; flex: none; display: grid; place-items: center; border-radius: 50%; background: #25d366; color: #fff; }
.cot-am-logo { max-width: 110px; max-height: 40px; object-fit: contain; background: #fff; border-radius: var(--radius-small, 6px); padding: 4px 6px; }
.cot-am-x { width: 34px; height: 34px; min-height: 0; padding: 0; flex: none; display: grid; place-items: center; border: 0; border-radius: 50%; background: rgb(255 255 255 / .14); color: inherit; cursor: pointer; }
.cot-asesores-modal svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.cot-am-lista { list-style: none; margin: 0; padding: 8px; display: grid; gap: 4px; }
.cot-am-asesor { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: var(--radius-card, 12px); color: inherit; text-decoration: none; }
.cot-am-asesor:hover, .cot-am-asesor:focus-visible { background: var(--color-paper, #f5f5f1); outline: none; text-decoration: none; }
.cot-am-asesor:focus-visible { box-shadow: inset 0 0 0 2px var(--color-accent, #ffc400); }
.cot-am-avatar { width: 42px; height: 42px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--color-primary-soft, #e8eef5); color: var(--color-primary, #102f50); font-weight: 700; font-size: .85rem; }
.cot-am-texto { flex: 1; min-width: 0; }
.cot-am-texto strong { display: block; font-size: .95rem; }
.cot-am-texto small { display: block; font-size: .78rem; color: var(--color-muted, #64717c); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cot-am-ir { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; background: #e8f8ee; color: #137a41; font-weight: 600; font-size: .82rem; flex: none; }
.cot-am-nota { margin: 0; padding: 10px 18px 16px; font-size: .74rem; color: var(--color-muted, #64717c); border-top: 1px solid var(--color-line, #dde2e4); }
/* «Tarjetas» (estilo-2 del plugin): logo de la empresa y cada asesor en su tarjeta con el botón a todo el ancho */
.cot-asesores-modal.is-tarjetas .cot-am-cab { background: var(--color-surface, #fff); color: var(--color-text, #172c3e); border-bottom: 1px solid var(--color-line, #dde2e4); }
.cot-asesores-modal.is-tarjetas .cot-am-x { background: var(--color-surface-soft, #f4f6f8); }
.cot-asesores-modal.is-tarjetas .cot-am-lista { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; padding: 14px; }
.cot-asesores-modal.is-tarjetas .cot-am-asesor { flex-direction: column; text-align: center; border: 1px solid var(--color-line, #dde2e4); padding: 16px 12px; }
.cot-asesores-modal.is-tarjetas .cot-am-texto small { white-space: normal; }
.cot-asesores-modal.is-tarjetas .cot-am-ir { width: 100%; justify-content: center; background: #25d366; color: #fff; }
.cot-asesores-modal.is-tarjetas .cot-am-caja { width: min(560px, 100%); }

/* Tarjeta de producto: WhatsApp, WhatsApp principal, imagen al pasar el ratón, líneas del título */
.public-view .product-actions .cot-wa-tarjeta { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 42px; padding: 7px 12px; font-size: 13px; font-weight: 600; border-radius: var(--radius-small, 6px); background: #e9fbef; border: 1px solid #b6e3c9; color: #166534; text-decoration: none; }
.public-view .product-actions .cot-wa-tarjeta:hover { background: #25d366; border-color: #25d366; color: #fff; }
.public-view .product-actions .cot-wa-principal { background: #25d366; border-color: #25d366; color: #fff; }
.public-view .product-actions .cot-wa-principal:hover { background: #1fb457; border-color: #1fb457; }
.public-view .product-card .product-actions { flex-wrap: wrap; }
.public-view .product-card .product-actions .cot-add { flex: 1 1 auto; }
.product-image .cot-img-hover { position: absolute; inset: 0; width: 100%; height: 100%; padding: inherit; object-fit: contain; background: var(--color-surface, #fff); opacity: 0; transition: opacity var(--fx-hover-dur, .22s) ease; }
@media (hover: hover) { .product-card.cot-con-hover:hover .product-image .cot-img-hover, .product-card.cot-con-hover:has(:focus-visible) .product-image .cot-img-hover { opacity: 1; } }
.public-view .product-card.cot-lineas-1 .product-body h3 { -webkit-line-clamp: 1; min-height: 1.45em; }
.public-view .product-card.cot-lineas-3 .product-body h3 { -webkit-line-clamp: 3; min-height: calc(1.45em * 3); }
.public-view .product-card.cot-lineas-4 .product-body h3 { -webkit-line-clamp: 4; min-height: calc(1.45em * 4); }

/* Cotizador rápido ([oz_quoter]) */
.cot-rapido { display: grid; gap: 16px; padding-bottom: 24px; }
.cot-r-filtros { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.cot-r-buscar { flex: 1 1 280px; display: flex; align-items: center; gap: 8px; padding: 0 12px; height: var(--control-height, 48px); border: 1px solid var(--color-line, #dde2e4); border-radius: var(--radius-small, 6px); background: var(--color-surface, #fff); }
.cot-r-buscar svg { width: 18px; height: 18px; fill: none; stroke: var(--color-muted, #64717c); stroke-width: 2; stroke-linecap: round; flex: none; }
.cot-r-buscar input { flex: 1; min-width: 0; border: 0; height: 100%; background: transparent; padding: 0; outline: none; }
.cot-r-cat select { height: var(--control-height, 48px); min-width: 220px; max-width: 100%; }
.cot-r-total { margin: 0; color: var(--color-muted, #64717c); font-size: .9rem; }
.cot-r-tabla { border: 1px solid var(--color-line, #dde2e4); border-radius: var(--radius-card, 12px); overflow: hidden; background: var(--color-surface, #fff); }
.cot-r-fila { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px 16px; border-top: 1px solid var(--color-line, #dde2e4); }
.cot-r-cab { border-top: 0; background: var(--color-surface-soft, #f4f6f8); font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--color-muted, #64717c); }
.cot-r-prod { display: flex; gap: 12px; align-items: center; min-width: 0; }
.cot-r-img { width: 56px; height: 56px; flex: none; border-radius: var(--radius-small, 6px); overflow: hidden; background: var(--color-surface-soft, #f4f6f8); }
.cot-r-img img { width: 100%; height: 100%; object-fit: contain; }
.cot-r-nombre { color: inherit; font-weight: 600; text-decoration: none; display: block; overflow-wrap: anywhere; }
.cot-r-prod small { display: block; color: var(--color-muted, #64717c); font-size: .8rem; }
.cot-r-ya { display: inline-block; margin-top: 4px; padding: 2px 8px; border-radius: 999px; background: var(--color-primary-soft, #e8eef5); color: var(--color-primary, #102f50); font-size: .72rem; font-weight: 700; }
.cot-r-accion { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: flex-end; }
.cot-r-accion .qty-stepper { height: 42px; }
.cot-r-var select { height: 42px; max-width: 220px; }
.cot-r-agregar { display: inline-flex; align-items: center; gap: 6px; min-height: 42px; }
.cot-r-agregar svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.cot-r-barra { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 14px; border: 1px solid var(--color-line, #dde2e4); border-radius: var(--radius-card, 12px); background: var(--color-surface, #fff); box-shadow: var(--shadow-soft, 0 8px 24px rgb(16 47 80 / .08)); }
@media (max-width: 760px) {
  .cot-r-fila { grid-template-columns: 1fr; }
  .cot-r-cab { display: none; }
  .cot-r-accion { justify-content: flex-start; }
  .cot-r-var, .cot-r-var select { width: 100%; max-width: none; }
  .cot-r-cat, .cot-r-cat select { width: 100%; min-width: 0; }
}
@media (max-width: 480px) { .cot-asesores-modal.is-lista .cot-am-ir span { display: none; } .cot-asesores-modal.is-lista .cot-am-ir { padding: 9px; } .cot-asesores-modal.is-tarjetas .cot-am-lista { grid-template-columns: 1fr 1fr; } }
