/*
===============================================
🔤 TYPOGRAPHY-PUBLIC.CSS — Vetrineshop
Manopola unica pesi titoli (pubblico)
- Default: escluso Magazine
- Test: ?typo=all => include anche Magazine
===============================================
*/

/* ------------------------------------------------------
   DEFAULT (pubblico) — ESCLUDE magazine
------------------------------------------------------ */
body.vs-public:not(.magazine) h1{ font-weight: var(--vs-fw-h1) !important; }
body.vs-public:not(.magazine) h2{ font-weight: var(--vs-fw-h2) !important; }
body.vs-public:not(.magazine) h3:not(.vs-footer__title){
  font-weight: var(--vs-fw-h3) !important;
}
body.vs-public:not(.magazine) :is(
  .vs-page-title,
  .page-title,
  .archive-title,
  .titolo-vetrina,
  .titolo-negozio,
  .titolo-archivio-marchi,
  .titolo-sezione,
  .block-title,
  .home-card__title,
  .home-mag-featured__title,
  .home-mag-card__title,
  .brand-card__title
){
  font-weight: var(--vs-fw-title) !important;
}

body.vs-public:not(.magazine) :is(.btn-cta,.macro-pill.is-active){
  font-weight: var(--vs-fw-strong) !important;
}

/* ------------------------------------------------------
   TEST MODE: ?typo=all — INCLUDE anche magazine
   (vince su tutto: utile per provare “stile magazine” ovunque)
------------------------------------------------------ */
body.vs-public.vs-typo-all h1{ font-weight: var(--vs-fw-h1) !important; }
body.vs-public.vs-typo-all h2{ font-weight: var(--vs-fw-h2) !important; }
body.vs-public.vs-typo-all h3{ font-weight: var(--vs-fw-h3) !important; }

body.vs-public.vs-typo-all :is(
  .mag-title,
  .mag-content h2,
  .mag-content h3,
  .mag-related-title,
  .mag-card-title a,
  .mag-archive-title,
  .mag-archive-header h1
){
  font-weight: var(--vs-fw-h1) !important;
}

/* (opzionale) anche i titoli card/section ovunque */
body.vs-public.vs-typo-all :is(
  .vs-page-title,
  .page-title,
  .archive-title,
  .titolo-vetrina,
  .titolo-negozio,
  .titolo-archivio-marchi,
  .titolo-sezione,
  .block-title,
  .home-card__title,
  .home-mag-featured__title,
  .home-mag-card__title
){
  font-weight: var(--vs-fw-title) !important;
}

.vs-hl{
  padding: 0 2px;
  border-radius: 3px;
}