/* =====================================================================
   Celltek tienda · COMPONENTES
   Botones, chips, insignias, tarjeta de producto, baldosa de categoría,
   rieles, filtros, paginación, campos, diálogos, aviso flotante, precio.
   ===================================================================== */

/* ---- Botones ---- */
.btn {
  --h: 50px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: var(--h); padding: 0 22px;
  border-radius: var(--r-btn); border: 1px solid transparent; font-weight: 700; font-size: calc(15px * var(--k-btn)); white-space: nowrap; cursor: pointer; text-align: center;
  transition: transform .45s var(--ease), background .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease), box-shadow .3s;
}
.btn .ic-svg { width: 18px; height: 18px; }
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--accent); color: var(--on-accent); box-shadow: 0 10px 24px -14px var(--accent); }
.btn-primary:hover { background: var(--accent-2); }
.btn-ghost { background: var(--surf); border-color: var(--line2); color: var(--text); }
.btn-ghost:hover { border-color: var(--text); }
.btn-soft { background: var(--accent-soft); color: var(--accent-2); }
.btn-soft:hover { background: var(--accent); color: var(--on-accent); }
.btn-wa { background: #25d366; color: #fff; }
.btn-wa:hover { background: #1fbf5a; }
.btn-sm { --h: 40px; font-size: calc(13.5px * var(--k-btn)); padding: 0 16px; gap: 8px; }
.btn-sm .ic-svg { width: 16px; height: 16px; }
.btn-lg { --h: 56px; font-size: calc(16px * var(--k-btn)); padding: 0 28px; }
.btn-block { width: 100%; }
.btn[disabled], .btn.espera { opacity: .6; pointer-events: none; }
.btn.espera .ic-svg { animation: girar 1s linear infinite; }
@keyframes girar { to { transform: rotate(360deg); } }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--accent-2); white-space: nowrap; }
.link-arrow .ic-svg { width: 16px; height: 16px; transition: transform .4s var(--ease); }
.link-arrow:hover .ic-svg { transform: translateX(3px); }

/* ---- Chips ---- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line2); background: var(--surf); color: var(--muted); font-size: 13.5px; font-weight: 600; transition: border-color .25s, color .25s, background .25s; }
.chip:hover { border-color: var(--text); color: var(--text); }
.chip[aria-current], .chip.on { background: var(--text); color: var(--bg); border-color: var(--text); }
.chip small { color: inherit; opacity: .6; font-weight: 500; }
.chip .ic-svg { width: 14px; height: 14px; }

/* ---- Insignias ---- */
.bdg { display: inline-flex; align-items: center; gap: 5px; height: 24px; padding: 0 9px; border-radius: 999px; font-size: 11.5px; font-weight: 800; letter-spacing: .02em; line-height: 1; }
.bdg.oferta { background: var(--oferta); color: var(--on-oferta); }
.bdg.nuevo { background: var(--accent); color: var(--on-accent); }
.bdg.agotado { background: var(--text); color: var(--bg); border: 1px solid var(--text); }
.bdg.top { background: var(--warn-soft); color: var(--warn); }
.bdg .ic-svg { width: 12px; height: 12px; }

/* ---- Disponibilidad ---- */
.disp { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 600; color: var(--muted); }
.disp::before { content: ""; width: 8px; height: 8px; border-radius: 999px; background: var(--dim); flex: none; }
.disp.stock::before, .disp.servicio::before { background: var(--ok); }
.disp.stock, .disp.servicio { color: var(--ok); }
.disp.pocas::before { background: var(--warn); } .disp.pocas { color: var(--warn); }
.disp.pedido::before { background: var(--accent-2); } .disp.pedido { color: var(--accent-2); }
.disp.agotado::before { background: var(--dim); }

/* ---- Precio ---- */
.precio { font-family: var(--font-display); font-weight: 800; font-size: var(--fs-precio); letter-spacing: -.02em; line-height: 1; font-variant-numeric: tabular-nums; color: var(--text); }
.precio-antes { font-size: .78em; color: var(--dim); text-decoration: line-through; font-weight: 500; margin-left: 6px; }
.precio-row { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 8px; }
.precio-row .bdg { align-self: center; }
.precio-nota { font-size: 12px; color: var(--dim); }

/* ---- Tarjeta de producto ---- */
.card-p { position: relative; display: flex; flex-direction: column; background: var(--surf); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; box-shadow: var(--inset-hi); transition: transform .6s var(--ease), border-color .4s, box-shadow .5s; min-width: 0; }
.card-p .ph { position: relative; aspect-ratio: 1 / 1; background: var(--tile); display: grid; place-items: center; overflow: hidden; border-bottom: 1px solid var(--line); }
.card-p .ph img { width: 100%; height: 100%; object-fit: contain; padding: 10%; transition: transform .9s var(--ease); }
.card-p .ph .ph-ico { width: 34%; height: 34%; color: #c3cad3; }
.card-p .ph a { position: absolute; inset: 0; }
.card-p .bdgs { position: absolute; left: 10px; top: 10px; display: flex; flex-direction: column; gap: 5px; z-index: 2; pointer-events: none; }
.card-p .body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card-p .cat { font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); font-weight: 700; }
.card-p h3 { font-size: var(--fs-h3); font-weight: 600; letter-spacing: -.01em; line-height: 1.25; min-height: calc(1.25em * 2); font-family: var(--font); }
.card-p h3 a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.card-p .foot { margin-top: auto; display: flex; align-items: end; justify-content: space-between; gap: 8px; padding-top: 6px; }
.card-p .add { position: relative; z-index: 2; width: 42px; height: 42px; border-radius: 999px; border: 0; background: var(--accent); color: var(--on-accent); display: grid; place-items: center; flex: none; transition: background .3s, transform .4s var(--ease); box-shadow: 0 8px 18px -10px var(--accent); }
.card-p .add .ic-svg { width: 20px; height: 20px; }
.card-p .add:hover { background: var(--accent-2); }
.card-p .add:active { transform: scale(.92); }
.card-p .add.ok { background: var(--ok); }
.card-p .add.no { background: var(--bg2); color: var(--muted); box-shadow: none; }
.card-p .add.no:hover { background: var(--bg2); }
/* Modo catálogo: se ve con su precio, se consulta por WhatsApp (sin stock ni carrito) */
.card-p a.add.wa { background: #25d366; color: #fff; box-shadow: 0 8px 18px -10px #25d366; text-decoration: none; }
.card-p a.add.wa:hover { background: #1fbf5a; }
.card-p .acciones { display: flex; align-items: center; gap: 8px; position: relative; z-index: 2; }
.card-p .acciones .add.wa { width: 36px; height: 36px; }
.card-p .acciones .add.wa .ic-svg { width: 18px; height: 18px; }
.disp.consulta { color: var(--muted); }
.disp.consulta::before { content: none; }
.disp.consulta .ic-svg { width: 15px; height: 15px; color: #1fa855; flex: none; }
/* agotada: la foto se ve normal; solo lo dice la etiqueta «Agotado» */
@media (hover: hover) and (pointer: fine) {
  .card-p:hover { transform: translateY(-4px); border-color: var(--line2); box-shadow: var(--shadow-sm), var(--inset-hi); }
  .card-p:hover .ph img { transform: scale(1.05); }
}
/* tarjeta compacta (rieles del inicio) */
.grid-p { display: grid; grid-template-columns: repeat(auto-fill, minmax(215px, 1fr)); gap: 14px; }
@media (max-width: 560px) { .grid-p { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } .card-p .body { padding: 10px 11px 12px; } .card-p .add { width: 38px; height: 38px; } .card-p h3 { font-size: 14px; } }

/* ---- Riel horizontal (portada) ---- */
.rail-wrap { position: relative; }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: clamp(200px, 22vw, 260px); gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 4px 12px; margin: -4px -4px 0; scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }
.rail-nav { position: absolute; top: 34%; z-index: 3; width: 44px; height: 44px; border-radius: 999px; border: 1px solid var(--line2); background: var(--surf); color: var(--text); display: grid; place-items: center; box-shadow: var(--shadow-sm); transition: opacity .3s, transform .4s var(--ease); }
.rail-nav.prev { left: -14px; } .rail-nav.next { right: -14px; }
.rail-nav[disabled] { opacity: 0; pointer-events: none; }
.rail-nav:hover { transform: scale(1.06); }
.rail-nav .ic-svg { width: 20px; height: 20px; }
@media (max-width: 860px) { .rail-nav { display: none; } .rail { grid-auto-columns: min(46vw, 230px); margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); } }

/* ---- Baldosa de categoría ---- */
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.tile-c { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 200px; padding: 22px; border-radius: var(--r); background: var(--surf); border: 1px solid var(--line); overflow: hidden; box-shadow: var(--inset-hi); transition: transform .6s var(--ease), border-color .4s; }
.tile-c .t-ico { position: absolute; right: 18px; top: 18px; width: 56px; height: 56px; border-radius: 16px; background: var(--accent-soft); color: var(--accent-2); display: grid; place-items: center; transition: transform .6s var(--ease); }
.tile-c .t-ico .ic-svg { width: 28px; height: 28px; }
.tile-c img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; transition: transform 1.2s var(--ease); }
.tile-c.img::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(to top, rgba(8, 10, 14, .82) 0%, rgba(8, 10, 14, .3) 55%, rgba(8, 10, 14, 0) 100%); }
.tile-c.img { color: #fff; }
.tile-c.img .t-ico { display: none; }
.tile-c h3, .tile-c .t-n, .tile-c .t-subs { position: relative; z-index: 2; }
.tile-c h3 { font-size: calc(clamp(1.15rem, 1.7vw, 1.4rem) * var(--k-h3)); letter-spacing: -.015em; }
.tile-c .t-n { font-size: 13px; color: var(--muted); margin-top: 4px; }
.tile-c.img .t-n { color: rgba(255, 255, 255, .78); }
.tile-c .t-subs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.tile-c .t-subs span { font-size: 12px; font-weight: 600; padding: 5px 10px; border-radius: 999px; background: var(--bg2); color: var(--muted); }
.tile-c.img .t-subs span { background: rgba(255, 255, 255, .16); color: #fff; }
.tile-c > a.cover { position: absolute; inset: 0; z-index: 3; }
@media (hover: hover) and (pointer: fine) {
  .tile-c:hover { transform: translateY(-4px); border-color: var(--line2); }
  .tile-c:hover .t-ico { transform: rotate(-6deg) scale(1.06); }
  .tile-c:hover img { transform: scale(1.06); }
}
@media (max-width: 860px) { .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } .tile-c { min-height: 160px; padding: 16px; } }
@media (max-width: 460px) { .tile-c .t-subs { display: none; } .tile-c .t-ico { width: 44px; height: 44px; right: 12px; top: 12px; } .tile-c .t-ico .ic-svg { width: 22px; height: 22px; } }

/* ---- Franja de confianza ---- */
.trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.trust .tr { display: flex; gap: 14px; align-items: flex-start; padding: 18px 18px; border-radius: var(--r); background: var(--surf); border: 1px solid var(--line); box-shadow: var(--inset-hi); }
.trust .tr .ic { width: 44px; height: 44px; border-radius: 13px; background: var(--accent-soft); color: var(--accent-2); display: grid; place-items: center; flex: none; }
.trust .tr .ic .ic-svg { width: 22px; height: 22px; }
.trust .tr b { display: block; font-weight: 700; font-size: 15px; }
.trust .tr span { display: block; font-size: 13.5px; color: var(--muted); line-height: 1.4; margin-top: 2px; }
@media (max-width: 960px) { .trust { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .trust { grid-template-columns: 1fr; gap: 8px; } .trust .tr { padding: 14px; } }

/* ---- Tarjetas de servicio ---- */
.svcs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.svc { padding: 24px; border-radius: var(--r); background: var(--surf); border: 1px solid var(--line); box-shadow: var(--inset-hi); display: flex; flex-direction: column; gap: 10px; transition: transform .6s var(--ease), border-color .4s; }
.svc .ico { width: 48px; height: 48px; border-radius: 14px; background: var(--accent-soft); color: var(--accent-2); display: grid; place-items: center; margin-bottom: 8px; }
.svc .ico .ic-svg { width: 24px; height: 24px; }
.svc h3 { font-size: var(--fs-h3); }
.svc p { color: var(--muted); font-size: calc(14.5px * var(--k-body, 1)); line-height: 1.5; }
@media (hover: hover) and (pointer: fine) { .svc:hover { transform: translateY(-4px); border-color: var(--line2); } }
@media (max-width: 960px) { .svcs { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .svcs { grid-template-columns: 1fr; } }

/* ---- Filtros y barra de herramientas del listado ---- */
.listado { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 32px; align-items: start; }
.filtros { position: sticky; top: calc(var(--nav-h) + var(--cats-h) + 16px); display: grid; gap: 18px; }
.f-grupo { border-top: 1px solid var(--line); padding-top: 14px; }
.f-grupo:first-child { border-top: 0; padding-top: 0; }
.f-grupo h4 { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); font-weight: 700; margin-bottom: 10px; }
.f-grupo ul { list-style: none; display: grid; gap: 2px; }
.f-grupo li a { display: flex; justify-content: space-between; gap: 10px; padding: 7px 10px; border-radius: var(--r-in); font-size: 14.5px; color: var(--muted); }
.f-grupo li a:hover { background: var(--accent-soft); color: var(--text); }
.f-grupo li a[aria-current] { background: var(--text); color: var(--bg); font-weight: 600; }
.f-grupo li a small { opacity: .6; }
.f-check { display: flex; align-items: center; gap: 10px; font-size: 14.5px; padding: 6px 2px; cursor: pointer; }
.f-check input { width: 18px; height: 18px; accent-color: var(--accent); margin: 0; }
.f-rango { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 8px; }
.f-rango input { width: 100%; height: 40px; padding: 0 10px; border-radius: var(--r-input); border: 1px solid var(--line2); background: var(--surf); font-size: 14px; }
.f-rango span { color: var(--dim); font-size: 13px; }
.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.toolbar .cnt { color: var(--muted); font-size: 14px; }
.toolbar .cnt b { color: var(--text); }
.toolbar .tb-r { display: flex; align-items: center; gap: 8px; }
.sel { position: relative; display: inline-flex; align-items: center; height: 40px; border-radius: var(--r-btn); border: 1px solid var(--line2); background: var(--surf); padding: 0 36px 0 14px; font-size: 14px; font-weight: 600; }
.sel select { appearance: none; position: absolute; inset: 0; width: 100%; opacity: 0; cursor: pointer; }
.sel .ic-svg { position: absolute; right: 12px; width: 14px; height: 14px; color: var(--dim); pointer-events: none; }
.f-btn { display: none; }
.f-activos { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.f-activos .chip .ic-svg { color: var(--dim); }
@media (max-width: 960px) {
  .listado { grid-template-columns: 1fr; gap: 0; }
  .filtros { display: none; }
  .f-btn { display: inline-flex; }
}
/* hoja de filtros móvil (dialog) */
.sheet { border: 0; padding: 0; background: transparent; max-width: none; max-height: none; width: 100%; height: 100%; }
.sheet::backdrop { background: rgba(6, 9, 14, .45); backdrop-filter: blur(3px); }
.sheet .sh-card { position: fixed; left: 0; right: 0; bottom: 0; background: var(--bg); color: var(--text); border-radius: var(--r) var(--r) 0 0; max-height: 86dvh; display: flex; flex-direction: column; box-shadow: var(--shadow); animation: sube .4s var(--ease); }
@keyframes sube { from { transform: translateY(40px); opacity: 0; } }
.sheet .sh-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.sheet .sh-head b { font-family: var(--font-display); font-size: 18px; }
.sheet .sh-body { overflow: auto; padding: 14px 18px; display: grid; gap: 16px; }
.sheet .sh-foot { padding: 12px 18px calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); display: flex; gap: 10px; }
.sheet .sh-foot .btn { flex: 1; }

/* ---- Paginación ---- */
.pag { display: flex; justify-content: center; align-items: center; gap: 6px; margin-top: 32px; flex-wrap: wrap; }
.pag a, .pag span { min-width: 42px; height: 42px; padding: 0 10px; border-radius: var(--r-btn); border: 1px solid var(--line2); background: var(--surf); display: inline-grid; place-items: center; font-weight: 600; font-size: 14px; }
.pag a:hover { border-color: var(--text); }
.pag [aria-current] { background: var(--text); color: var(--bg); border-color: var(--text); }
.pag .gap { border: 0; background: transparent; color: var(--dim); min-width: 24px; }
.pag .ic-svg { width: 16px; height: 16px; }

/* ---- Vacío ---- */
.vacio { text-align: center; padding: 60px 20px; display: grid; gap: 12px; justify-items: center; color: var(--muted); border: 1px dashed var(--line2); border-radius: var(--r); }
.vacio .ic-svg { width: 48px; height: 48px; color: var(--dim); }
.vacio b { color: var(--text); font-size: 20px; font-family: var(--font-display); }
.vacio p { max-width: 44ch; }
.vacio .acts { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: 6px; }
.vacio .btn .ic-svg { width: 20px; height: 20px; color: inherit; }

/* ---- Campos ---- */
.field { display: grid; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 13.5px; font-weight: 700; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; height: 50px; padding: 0 16px; border-radius: var(--r-input); border: 1px solid var(--line2); background: var(--surf); color: var(--text); font-size: 15px; transition: border-color .3s, box-shadow .3s; }
.field textarea { height: auto; min-height: 110px; padding: 14px 16px; resize: vertical; }
.field select { appearance: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256' fill='%238a95a1'><path d='M213.66,101.66l-80,80a8,8,0,0,1-11.32,0l-80-80A8,8,0,0,1,53.66,90.34L128,164.69l74.34-74.35a8,8,0,0,1,11.32,11.32Z'/></svg>"); background-repeat: no-repeat; background-size: 16px; background-position: right 16px center; padding-right: 44px; }
.field input::placeholder, .field textarea::placeholder { color: var(--dim); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent-2); box-shadow: 0 0 0 3px var(--accent-ring); }
.field .hint { font-size: 12.5px; color: var(--dim); }
.field.err input, .field.err select, .field.err textarea { border-color: var(--bad); }
.field .err-msg { font-size: 12.5px; color: var(--bad); font-weight: 600; display: none; }
.field.err .err-msg { display: block; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }
.opt { display: flex; gap: 14px; align-items: flex-start; padding: 16px; border: 1px solid var(--line2); border-radius: var(--r); background: var(--surf); cursor: pointer; transition: border-color .3s, box-shadow .3s; }
.opt:has(input:checked) { border-color: var(--accent-2); box-shadow: 0 0 0 3px var(--accent-ring); }
.opt input { margin: 4px 0 0; width: 18px; height: 18px; accent-color: var(--accent); flex: none; }
.opt b { display: block; font-weight: 700; }
.opt span { display: block; color: var(--muted); font-size: 14px; margin-top: 2px; }
.opt .opt-p { margin-left: auto; font-family: var(--font-display); font-weight: 700; white-space: nowrap; }

/* ---- Cantidad ---- */
.qty { display: inline-flex; align-items: center; height: 46px; border-radius: var(--r-btn); border: 1px solid var(--line2); background: var(--surf); overflow: hidden; }
.qty button { width: 44px; height: 100%; border: 0; background: transparent; display: grid; place-items: center; color: var(--muted); transition: background .25s, color .25s; }
.qty button:hover { background: var(--accent-soft); color: var(--text); }
.qty button .ic-svg { width: 16px; height: 16px; }
.qty input { width: 48px; height: 100%; border: 0; background: transparent; text-align: center; font-weight: 700; font-size: 16px; -moz-appearance: textfield; }
.qty input::-webkit-inner-spin-button, .qty input::-webkit-outer-spin-button { appearance: none; margin: 0; }
.qty.sm { height: 36px; } .qty.sm button { width: 34px; } .qty.sm input { width: 38px; font-size: 14px; }

/* ---- Diálogo genérico (nunca confirm()) ---- */
.dlg { border: 0; padding: 0; background: transparent; max-width: none; }
.dlg::backdrop { background: rgba(6, 9, 14, .5); backdrop-filter: blur(4px); }
.dlg .dlg-card { width: min(440px, calc(100vw - 32px)); background: var(--surf); color: var(--text); border-radius: var(--r); box-shadow: var(--shadow); padding: 26px; display: grid; gap: 12px; animation: aparece .35s var(--ease); }
@keyframes aparece { from { transform: translateY(10px) scale(.98); opacity: 0; } }
.dlg h3 { font-family: var(--font-display); font-size: 20px; }
.dlg p { color: var(--muted); }
.dlg .dlg-acts { display: flex; gap: 10px; justify-content: flex-end; margin-top: 8px; flex-wrap: wrap; }
.dlg .btn { --h: 44px; }
.dlg.danger .btn-primary { background: var(--bad); }

/* ---- Aviso flotante ---- */
.toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 20px); z-index: 90; background: var(--text); color: var(--bg); padding: 13px 18px; border-radius: 14px; font-size: 14.5px; font-weight: 600; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), transform .4s var(--ease), visibility .4s; display: flex; align-items: center; gap: 10px; max-width: calc(100vw - 32px); }
.toast.show { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.toast .ic-svg { width: 18px; height: 18px; color: var(--ok); }
.toast a { color: inherit; text-decoration: underline; text-underline-offset: 3px; margin-left: 6px; }
body.con-barra .toast { bottom: 92px; }

/* ---- Alertas en línea ---- */
.nota { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: var(--r-in); background: var(--accent-soft); color: var(--text); font-size: 14.5px; line-height: 1.5; }
.nota .ic-svg { width: 20px; height: 20px; flex: none; color: var(--accent-2); margin-top: 2px; }
.nota.ok { background: var(--ok-soft); } .nota.ok .ic-svg { color: var(--ok); }
.nota.warn { background: var(--warn-soft); } .nota.warn .ic-svg { color: var(--warn); }
.nota.bad { background: var(--bad-soft); } .nota.bad .ic-svg { color: var(--bad); }

/* ---- Lista con checks ---- */
.checks { list-style: none; display: grid; gap: 10px; }
.checks li { display: flex; gap: 10px; color: var(--muted); line-height: 1.45; font-size: 14.5px; }
.checks li .ic-svg { width: 18px; height: 18px; flex: none; color: var(--ok); margin-top: 2px; }

/* ---- Acordeón de ayuda ---- */
.faq { display: grid; gap: 8px; }
.faq details { border: 1px solid var(--line); border-radius: var(--r); background: var(--surf); overflow: hidden; }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 20px; font-weight: 700; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic-svg { width: 18px; height: 18px; color: var(--dim); transition: transform .3s var(--ease); flex: none; }
.faq details[open] summary .ic-svg { transform: rotate(45deg); }
.faq .faq-r { padding: 0 20px 18px; color: var(--muted); line-height: 1.6; }
