html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}

/* ===== Agregar AL FINAL de wwwroot/css/site.css ===== */
/* Botón flotante de WhatsApp */
.whatsapp-flotante {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 1000;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 18px;
    border-radius: 999px;
    background-color: #25d366;
    color: #ffffff;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

    .whatsapp-flotante:hover,
    .whatsapp-flotante:focus {
        background-color: #1ebe5b;
        color: #ffffff;
    }
/* Imágenes de productos y galería con el mismo tamaño */
.img-producto {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.img-producto-detalle {
    width: 100%;
    max-height: 420px;
    object-fit: contain;
}

.img-galeria {
    width: 100%;
    height: 240px;
    object-fit: cover;
    border-radius: 8px;
}

.img-miniatura {
    width: 64px;
    height: 64px;
    object-fit: cover;
}

.sin-imagen {
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f1f3f5;
    color: #868e96;
}

.estrellas {
    color: #f59f00;
    letter-spacing: 2px;
}
/* Campo trampa anti-robots: invisible para las personas */
.campo-trampa {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}
/* Respeta los saltos de línea de las descripciones y mensajes */
.texto-multilinea {
    white-space: pre-line;
}
