/* ============================================================
   SITE V2 — étape 1 : typographie
   Polices et couleurs de texte de l'accueil sur le reste du site.
   Chargée par _partials/site-v2.tpl (jamais sur le tunnel de commande).
   Sélecteurs de spécificité égale à ceux du thème : chargée en dernier,
   cette feuille l'emporte sans !important, et les règles .home-v2 de
   l'accueil (plus spécifiques) restent prioritaires.
   ============================================================ */

/* ---------- Polices auto-hébergées (déjà utilisées par l'accueil) ---------- */

@font-face {
  font-family: "Karla";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("../../fonts/karla-latin-var.woff2") format("woff2");
}

@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("../../fonts/fraunces-latin-var.woff2") format("woff2");
}

/* ---------- Police du thème (BwSeidoRound) redirigée ----------
   Le thème et ses modules déclarent leurs 4 graisses à une quarantaine d'endroits.
   Redéfinir ces noms de police (la dernière déclaration l'emporte) bascule tout
   le site d'un coup ; retirer cette feuille rend la police d'origine.
   Regular / Medium : texte courant → Karla ; Bold : titres → Fraunces ;
   Black : boutons → Karla (graisse réglée plus bas). */

/* Deux déclarations par nom : graisse 400 exacte (mêmes descripteurs que le thème, donc la
   dernière déclarée, la nôtre, l'emporte) et plage 401-900 pour le gras (police variable). */

@font-face {
  font-family: "Conv_BwSeidoRoundDEMO-Regular";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../../fonts/karla-latin-var.woff2") format("woff2");
}

@font-face {
  font-family: "Conv_BwSeidoRoundDEMO-Regular";
  font-style: normal;
  font-weight: 401 900;
  font-display: swap;
  src: url("../../fonts/karla-latin-var.woff2") format("woff2");
}

@font-face {
  font-family: "Conv_BwSeidoRoundDEMO-Medium";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../../fonts/karla-latin-var.woff2") format("woff2");
}

@font-face {
  font-family: "Conv_BwSeidoRoundDEMO-Medium";
  font-style: normal;
  font-weight: 401 900;
  font-display: swap;
  src: url("../../fonts/karla-latin-var.woff2") format("woff2");
}

@font-face {
  font-family: "Conv_BwSeidoRoundDEMO-Bold";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../../fonts/fraunces-latin-var.woff2") format("woff2");
}

@font-face {
  font-family: "Conv_BwSeidoRoundDEMO-Bold";
  font-style: normal;
  font-weight: 401 900;
  font-display: swap;
  src: url("../../fonts/fraunces-latin-var.woff2") format("woff2");
}

@font-face {
  font-family: "Conv_BwSeidoRoundDEMO-Black";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../../fonts/karla-latin-var.woff2") format("woff2");
}

@font-face {
  font-family: "Conv_BwSeidoRoundDEMO-Black";
  font-style: normal;
  font-weight: 401 900;
  font-display: swap;
  src: url("../../fonts/karla-latin-var.woff2") format("woff2");
}

/* ---------- Texte courant (thème : #666 gris neutre) ---------- */

/* :not(:where(.home-v2 *)) : jamais dans l'accueil, qui remet ses titres et paragraphes en
   « inherit » avec la même spécificité (home-v2.css) ; :where() garde la spécificité du thème. */
body { color: #6B5B4E; }
p:not(:where(.home-v2 *)) { color: #6B5B4E; }
/* Sauf dans les alertes (erreurs de paiement, de formulaire…) : le paragraphe garde la couleur de l'alerte */
.alert p { color: inherit; }

/* ---------- Titres (thème : police du texte en gras, noir) ----------
   Vrais titres seulement : PrestaShop pose aussi .h5 / .h6 sur des éléments qui n'en
   sont pas (bloc prix de la fiche produit, « Filtrer par », récapitulatif du panier). */

h1:not(:where(.home-v2 *)), h2:not(:where(.home-v2 *)), h3:not(:where(.home-v2 *)),
h4:not(:where(.home-v2 *)), h5:not(:where(.home-v2 *)), h6:not(:where(.home-v2 *)) {
  font-family: "Fraunces", Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: #332720;
}

/* Nom du produit (thème : graisse forte, noir) : comme les titres de l'accueil */
.product-detail-name {
  font-weight: 500;
  color: #332720;
}

/* Gros titres du thème en graisse Black : titres, donc Fraunces */
.title-block-5,
.block_newsletter #block-newsletter-label {
  font-family: "Fraunces", Georgia, "Times New Roman", serif;
  font-weight: 500;
}

/* ---------- Prix et onglets : en graisse Bold dans le thème, restent en sans-serif ---------- */

.thumbnail-container .product-price-and-shipping .price,
.thumbnail-container .product-price-and-shipping.has_discount .price,
.has-discount .current-price-value,
.product-tabs.tabs .nav-tabs .nav-link {
  font-family: "Karla", "Helvetica Neue", Arial, sans-serif;
  font-weight: 700;
}

.product-discount .regular-price {
  font-family: "Karla", "Helvetica Neue", Arial, sans-serif;
}

/* ---------- Boutons en graisse Black : Karla grasse ---------- */

.btn-outline,
.search-widget form button[type=submit],
.block_newsletter form button[type=submit],
.product-actions .product-add-to-cart .add .add-to-cart,
.leo-plist-style-default .thumbnail-container .product-meta .button-container .leo-bt-cart {
  font-weight: 700;
}
