/*
 Theme Name:   Muse Switzerland Child
 Theme URI:    https://muse-switzerland.ch
 Description:  Thème enfant Divi pour Muse Switzerland — Marketplace de mode premium suisse
 Author:       Muse Switzerland
 Author URI:   https://muse-switzerland.ch
 Template:     Divi
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Text Domain:  muse-switzerland-child
*/
/* MUSE - header compact (2026-11-29) */
@media (min-width: 981px) {
  .et_pb_row_0_tb_header { display: flex !important; align-items: center !important; padding-top: 18px !important; padding-bottom: 18px !important; }
  .et_pb_row_0_tb_header .et_pb_column { padding-top: 0 !important; margin-bottom: 0 !important; }
  .et_pb_row_0_tb_header .et_pb_module { margin-top: 0 !important; margin-bottom: 0 !important; padding-top: 0 !important; }
  .et_pb_text_0_tb_header br { display: none; }
  .et_pb_text_0_tb_header a { display: inline-block; padding-bottom: 6px; }
  .et_pb_text_0_tb_header a span { display: block; }
}


/* MUSE - accueil : espacement homogene (ordre : hero, citation, nouveautes, categories, engagements, vendre) (2026-11-30) */
@media (min-width: 981px) {
  body.home .et_pb_section_2,
  body.home .et_pb_section_5,
  body.home .et_pb_section_6 { padding-top: 12px !important; padding-bottom: 12px !important; margin-top: 0 !important; margin-bottom: 0 !important; }
  body.home .et_pb_section_3 { padding-top: 12px !important; margin-top: 0 !important; }
  body.home .et_pb_section_4 { padding-bottom: 12px !important; }
  .muse-cats-grid { grid-template-columns: repeat(6, minmax(0, 1fr)) !important; gap: 14px !important; }
}

/* MUSE - police : Jost limitee a 300 / 400 / 500, sans gras (2026-11-30) */
[style*="font-weight:600"], [style*="font-weight: 600"],
[style*="font-weight:700"], [style*="font-weight: 700"],
.muse-cat-info h3, .muse-cat-overlay a { font-weight: 500 !important; }

/* MUSE - bande de 4 photos sous la bande noire : hauteur reduite (2026-11-30) */
@media (min-width: 981px) {
  .et_pb_code_2_tb_header img { height: 140px !important; }
  .et_pb_code_2_tb_header img + * , .et_pb_code_2_tb_header div[style*="overflow"] { max-height: 140px; }
}
/* photo du sac : cadrage sur le sac */
@media (min-width: 981px) { .et_pb_code_2_tb_header img[src*="irene-kredenets"] { object-position: center 75% !important; } }

/* MUSE - bande de 4 photos sous la bande noire : masquee (2026-11-30) */
.et_pb_row_1_tb_header { display: none !important; }

/* L essentiel : meme largeur que le contenu (2026-11-30) */
.muse-ess-grid { width: 80%; margin: 0 auto; }
@media (max-width: 768px) { .muse-ess-grid { width: 92%; } }
/* masquee aussi sur mobile */
header .et_pb_row.et_pb_row_1_tb_header, header .muse-mosaique { display: none !important; }

/* MUSE - noir et blanc + touches rouges sur l'accueil (2026-11-30) */
body.home .muse-cats-grid img,
body.home .et_pb_section_6 img { filter: grayscale(100%); }
body.home .et_pb_section_3 p:first-of-type { color: #C41E3A !important; }

/* MUSE - header mobile : menu + recherche | logo centre | langue + compte + panier (2026-11-30) */
@media (max-width: 980px) {
  .et_pb_row_0_tb_header { display: grid !important; grid-template-columns: 1fr auto 1fr; align-items: center; width: 92% !important; padding: 12px 0 !important; }
  .et_pb_row_0_tb_header > .et_pb_column { width: auto !important; margin: 0 !important; padding: 0 !important; float: none !important; }
  .et_pb_row_0_tb_header .et_pb_module { margin: 0 !important; padding: 0 !important; }
  .et_pb_column_2_tb_header { display: block !important; }
  #header-femme, #header-homme { display: none !important; }
  #muse-header-left { display: flex !important; align-items: center; gap: 14px; }
  .et_pb_column_2_tb_header .et_pb_code_inner > div { display: flex !important; justify-content: flex-end; align-items: center; gap: 12px; }
  .et_pb_column_2_tb_header .et_pb_code_inner > div > a:nth-of-type(2) { display: none !important; }
  #muse-lang { font-size: 10px !important; }
  .et_pb_text_0_tb_header { text-align: center; }
  .et_pb_text_0_tb_header br { display: none; }
  .et_pb_text_0_tb_header a { display: inline-block; }
  .et_pb_text_0_tb_header a span { display: block; }
  .et_pb_text_0_tb_header a span:first-child { font-size: 34px !important; }
}
/* header mobile : priorite renforcee face aux regles generales du theme */
@media (max-width: 980px) {
  header .et_pb_row.et_pb_row_0_tb_header { display: grid !important; }
  header .et_pb_row_0_tb_header > .et_pb_column.et_pb_column_2_tb_header { display: block !important; }
}
/* rendu stable du noir et blanc */
body.home .muse-cats-grid img, body.home .et_pb_section_6 img, .muse-ess-item img { will-change: filter; transform: translateZ(0); }

/* MUSE - equilibre noir et blanc / couleur (2026-11-30) */
body.home .et_pb_section_6 img { filter: none !important; }
@media (min-width: 981px) {
  body.home .muse-cats-grid img { transition: filter .5s ease; }
  body.home .muse-cats-grid .muse-cat-item:hover img { filter: grayscale(0) !important; }
}
@media (max-width: 980px) {
  body.home .muse-cats-grid img { filter: none !important; }
  header #muse-lang { display: flex !important; align-items: center; gap: 3px; }
}
/* header mobile : langue plus compacte pour ne pas toucher le logo */
@media (max-width: 980px) {
  header #muse-lang, header #muse-lang a, header #muse-lang span { font-size: 9px !important; letter-spacing: 0.04em !important; }
  header #muse-lang { gap: 2px !important; margin-left: 10px; }
  .et_pb_column_2_tb_header .et_pb_code_inner > div { gap: 10px !important; }
  .et_pb_column_2_tb_header svg { width: 18px !important; height: 18px !important; }
  #muse-header-left { gap: 10px !important; }
  .et_pb_text_0_tb_header a span:first-child { font-size: 30px !important; letter-spacing: 0.08em !important; }
}

/* MUSE - lisibilite : aucun texte sous 11 px (sauf sous-titre du logo a 10 px) (2026-11-30) */
[style*="font-size:7px"], [style*="font-size: 7px"],
[style*="font-size:8px"], [style*="font-size: 8px"],
[style*="font-size:9px"], [style*="font-size: 9px"],
[style*="font-size:10px"], [style*="font-size: 10px"],
.muse-cat-info h3, .muse-cat-overlay a, .muse-ess-item p { font-size: 11px !important; }
#muse-logo-sub { font-size: 10px !important; }

/* MUSE - zones tactiles mobile >= 40 px (2026-11-30) */
@media (max-width: 980px) {
  #muse-header-left > a, #muse-header-left > button,
  .et_pb_column_2_tb_header .et_pb_code_inner > div > a { min-width: 40px; min-height: 40px; display: inline-flex !important; align-items: center; justify-content: center; }
  .et_pb_column_2_tb_header .et_pb_code_inner > div > a:nth-of-type(2) { display: none !important; }
  .et_pb_column_2_tb_header .et_pb_code_inner > div, #muse-header-left { gap: 0 !important; }
  header #muse-lang a { padding: 12px 2px; }
  header #muse-lang, header #muse-lang a, header #muse-lang span { font-size: 10px !important; }
}
/* pied de page : textes a 11 px minimum */
.muse-footer h4, .muse-footer-social-soon, .muse-footer-newsletter-form button,
.muse-footer-copy, .muse-footer-copy span, .muse-footer-legal a,
.muse-footer-bottom span, .muse-footer-bottom a { font-size: 11px !important; }
.muse-footer-tagline { font-size: 10px !important; }
/* bouton Decouvrir la collection sur une seule ligne */
a[href="/collection-muse/"] { width: auto !important; white-space: nowrap; padding-left: 28px !important; padding-right: 28px !important; }
/* Qui sommes-nous : titre Notre histoire plus sobre */
body.page-id-21 h1 { font-size: 32px !important; line-height: 1.15 !important; }
@media (max-width: 767px) { body.page-id-21 h1 { font-size: 26px !important; } }
/* Qui sommes-nous : gris des paragraphes plus fonce (ancien #6B6B68) */
.qs-intro, .qs-value-desc, .qs-cta-p { color: #3A3A38 !important; }
/* Accueil : bloc Notre histoire */
.muse-hist { width: 80%; margin: 0 auto 48px; display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.muse-hist-img img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; filter: grayscale(100%); }
.muse-hist-label { color: #C41E3A !important; font-size: 11px !important; letter-spacing: .2em; text-transform: uppercase; margin: 0 0 12px !important; padding: 0 !important; }
.muse-hist-title { font-family: "Cormorant Garamond", Georgia, serif; font-weight: 400 !important; font-size: 30px !important; line-height: 1.15 !important; color: #111 !important; margin: 0 0 16px !important; padding: 0 !important; }
.muse-hist-p { font-size: 15px !important; line-height: 1.8 !important; color: #3A3A38 !important; margin: 0 0 22px !important; padding: 0 !important; }
.muse-hist-link { font-size: 11px !important; letter-spacing: .15em; text-transform: uppercase; color: #111 !important; text-decoration: none; border-bottom: 1px solid #C41E3A; padding-bottom: 4px; }
@media (max-width: 767px) { .muse-hist { width: 92%; grid-template-columns: 1fr; gap: 24px; } .muse-hist-title { font-size: 24px !important; } }
/* Bloc Notre histoire : photo humaine effet fade + texte plus clair */
.muse-hist-img img { aspect-ratio: 1/1 !important; object-position: center 25%; filter: grayscale(100%) contrast(.82) brightness(1.08) !important; }
.muse-hist-p { color: #6B6B68 !important; font-weight: 300 !important; }
/* Logo ROSEMARK : rouge tres fin, sous-titre noir */
#muse-logo-text { color: #C41E3A !important; font-weight: 300 !important; font-size: 34px !important; letter-spacing: .16em !important; }
#muse-logo-sub { color: #111 !important; letter-spacing: .42em !important; }
@media (max-width: 980px) { header #muse-logo-text, #muse-logo-text { font-size: 19px !important; letter-spacing: .1em !important; } #muse-logo-sub { font-size: 8px !important; letter-spacing: .25em !important; } }
/* Mobile : masquer Femme/Homme (ecrase le inline-flex des zones tactiles) + sous-titre logo sur une ligne */
@media (max-width: 980px) { header a#header-femme, header a#header-homme, header #header-femme, header #header-homme { display: none !important; } header #muse-logo-sub { font-size: 8px !important; letter-spacing: .12em !important; white-space: nowrap !important; } }
