/* ===================================================
   🧱 CARTES PRODUITS – VERSION STABLE DÉFINITIVE
   =================================================== */

/* ❌ INTERDICTION ABSOLUE */
.product-desc { display: none !important; }

/* CARTE */
.product-card-stable {
  background: #fff;
  border-radius: 14px;
  padding: 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,.04);

  display: block;
  overflow: hidden;
}

/* IMAGE */
.pc-image {
  height: 180px;
  overflow: hidden;
}

.pc-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* CONTENU */
.pc-body {
  margin-top: 8px;
}

/* 🔒 DESCRIPTION – BLOCAGE PHYSIQUE */
.pc-desc {
  font-size: 0.95rem;
  line-height: 1.4;
  color: #555;

  height: 2.8em;     /* ⛔ FIXE */
  overflow: hidden;  /* ⛔ COUPÉ */

  display: block;
  white-space: normal;
  word-break: break-word;
}

/* PRIX */
.pc-price {
  margin-top: 6px;
}

/* ACTIONS */
.pc-actions {
  display: flex;
  gap: 6px;
  margin-top: 8px;
}
/* ===============================
   📱 PAGE INSCRIPTION – FIX UI
   =============================== */


/* Zone logo */
.auth-logo-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 14px;
}

/* LOGO – TAILLE CONTRÔLÉE */
.auth-logo {
  max-width: 110px;
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* TITRE */
.auth-title {
  font-size: 22px;
  font-weight: 700;
  margin-top: 8px;
  margin-bottom: 6px;
  text-align: center;
}

/* SOUS-TITRE */
.auth-subtitle {
  font-size: 14px;
  color: #666;
  margin-bottom: 22px;
  text-align: center;
}

/* FORMULAIRE */
.auth-form {
  text-align: left;
}

/* Champs */
.form-group {
  position: relative;
  margin-bottom: 20px;
}

.form-group input {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid #ddd;
  font-size: 15px;
}

.form-group label {
  position: absolute;
  top: -8px;
  left: 12px;
  background: #fff;
  padding: 0 6px;
  font-size: 12px;
  color: #777;
}

/* Bouton */
.btn-auth {
  width: 100%;
  padding: 12px;
  border-radius: 12px;
  border: none;
  background: #0d6efd;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  margin-top: 10px;
}

/* Footer */
.auth-footer {
  margin-top: 18px;
  font-size: 14px;
}

.auth-footer a {
  color: #0d6efd;
  font-weight: 600;
  text-decoration: none;
}

/* 📱 Ajustements petits écrans */
@media (max-width: 480px) {
  .auth-card {
    padding: 24px 18px;
  }

  .auth-logo {
    max-width: 95px;
  }
}
/* ===============================
   📱 AUTH PLEIN ÉCRAN – ANDROID
   =============================== */

html, body {
  height: 100%;
  margin: 0;
  background: #ffffff !important;
}

/* Wrapper plein écran */
.auth-wrapper {
  min-height: 100vh;
  width: 100%;

  display: flex;
  align-items: center;
  justify-content: center;

  background: #d5f427 !important;
}

/* Carte devient pleine page */
.auth-card {
  width: 100%;
  max-width: 420px;

  min-height: 100vh;
  border-radius: 0;
  box-shadow: none;

  display: flex;
  flex-direction: column;
  justify-content: center;

  padding: 24px 20px;
}

/* Desktop seulement : carte centrée */
@media (min-width: 768px) {
  .auth-card {
    min-height: auto;
    border-radius: 16px;
    box-shadow: 0 15px 40px rgba(0,0,0,.12);
  }
}
/* ===============================
   📱 PAGE INSCRIPTION – PLEIN ÉCRAN
   =============================== */

html, body {
  height: 100%;
  margin: 0;
  background: #ffffff;
}

/* Wrapper plein écran */
.auth-wrapper {
  min-height: 100vh;
  width: 100%;

  display: flex;
  align-items: stretch;
  justify-content: stretch;

  background: #ffffff;
}

/* Carte = page entière sur mobile */
.auth-card {
  width: 100%;
  min-height: 100vh;

  background: #ffffff;
  border-radius: 0;
  box-shadow: none;

  padding: 24px 20px;

  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Logo */
.auth-logo {
  max-width: 110px;
  margin: 0 auto 12px;
}

/* Desktop uniquement */
@media (min-width: 768px) {
  .auth-wrapper {
    align-items: center;
    justify-content: center;
  }

  .auth-card {
    max-width: 420px;
    min-height: auto;

    border-radius: 16px;
    box-shadow: 0 15px 40px rgba(0,0,0,.12);
  }
}
body {
  padding-top: 88px; /* hauteur réelle du navbar */
}
.product-img {
  width: 100%;
  height: 220px;
  object-fit: contain;
  background: #f8f9fa;
}

