/* Componentes reutilizables. Esquinas rectas en todo. */

/* Enlace "Saltar al contenido" */
.skip {
  position: absolute;
  left: 8px;
  top: -60px;
  background: var(--ink);
  color: var(--paper);
  padding: 10px 14px;
  z-index: 80;
}

.skip:focus { top: 8px; }

/* Botones */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border: 0;
  border-radius: 0;
  background: var(--red-bg);
  color: var(--on-red);
  font: 600 16px/1 var(--body);
  text-decoration: none;
  cursor: pointer;
  transition: background .2s;
}

.btn:hover { background: var(--red-hover); }

.btn.sm {
  min-height: 40px;
  padding: 0 16px;
  font-size: 15px;
}

.btn svg { flex: none; }

/* Botón flotante de WhatsApp */
.wa-float {
  position: fixed;
  right: max(16px, env(safe-area-inset-right, 0px));
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  z-index: 55;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 20px;
  background: var(--wa);
  color: #fff;
  text-decoration: none;
  font: 600 15px/1 var(--body);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .28);
}

.wa-float:hover { background: var(--wa-hover); }

@media (max-width: 560px) {
  .wa-float {
    width: 52px;
    padding: 0;
    justify-content: center;
  }

  .wa-float span { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .btn { transition: none; }
}
