

/* Structure des colonnes - c'est ici qu'on contrôle les espaces */
.products-container {
    display: flex;
    gap: 60px; /* Espace ENTRE les 2 produits sur desktop */
    flex-wrap: wrap;
    padding: 0 60px !important; /* Padding gauche/droite sur PC */
    margin: 0 !important;
}

.product-column {
    flex: 1;
    min-width: 300px;
    padding: 0 40px !important;
}

@media (max-width: 768px) {
    .products-container {
        gap: 20px; /* Espace vertical réduit entre les produits sur mobile */
        padding: 0 !important; /* Pas de padding sur mobile */
    }
    
    .product-column {
        flex: 100%;
        padding: 0 20px !important; /* Marges gauche/droite sur mobile */
    }
}

/* =========================================================
   Mise en page plus compacte (nov. 2026)
   Tout le site est en "rem" : réduire la taille de base
   réduit proportionnellement textes ET espacements.
   ========================================================= */
html { font-size: 14px; }

/* Titres un peu moins imposants (ordinateur) */
@media (min-width: 992px) {
  .display-1 { font-size: 4rem; }
  .display-2 { font-size: 3.2rem; }
  .display-5 { font-size: 1.6rem; }
  .display-7 { font-size: 1.25rem; }
  .display-4 { font-size: 1.1rem; }
}

/* =========================================================
   Menu supérieur : fin, pleine largeur (inspiration Perrotin)
   ========================================================= */
section.menu1 .navbar,
section.menu1 .navbar .container {
  box-shadow: none !important;
  border-radius: 0 !important;
}
section.menu1 .navbar { height: auto !important; min-height: 0 !important; }
section.menu1 .navbar .container {
  width: 100% !important;
  max-width: 100% !important;
  height: 60px !important;
  margin: 0 !important;
  padding: 0 2.5rem !important;
  background: rgba(255, 255, 255, 0.75) !important;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}
section.menu1 .navbar-brand { padding: 0 !important; }
section.menu1 .navbar .navbar-logo img { height: 1.9rem !important; }

/* Liens : petites capitales espacées */
section.menu1 .navbar-nav .nav-item .nav-link {
  font-size: 0.8rem !important;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1.4;
  border-radius: 0 !important;
  background: none !important;
}
section.menu1 .navbar-nav .nav-item .nav-link .mbr-iconfont { display: none; } /* icône Shopify devant "Shop" */
section.menu1 .icons-menu { padding-top: 0 !important; padding-bottom: 0 !important; margin-bottom: 0 !important; }
section.menu1 .icons-menu .mbr-iconfont { font-size: 20px !important; padding: 0.35rem !important; }

@media (min-width: 992px) {
  section.menu1 .navbar-collapse { justify-content: space-between !important; }
  section.menu1 .navbar-nav { margin: 0 auto !important; padding-left: 0 !important; gap: 2.4rem; flex-wrap: nowrap !important; }
  section.menu1 .navbar-nav .nav-item .nav-link { padding: 4px 0 !important; border-bottom: 1px solid transparent; }
  section.menu1 .navbar-nav .nav-item .nav-link:hover,
  section.menu1 .navbar-nav .nav-item .nav-link[aria-current="page"] { border-bottom-color: currentColor; }
  section.menu1 .icons-menu { padding-right: 0 !important; }
}
/* Grand écran : menu centré sur la page */
@media (min-width: 1280px) {
  section.menu1 .navbar-collapse { position: static !important; }
  section.menu1 .navbar-nav { position: absolute; left: 50%; transform: translateX(-50%); }
  section.menu1 .icons-menu { margin-left: auto; }
}
/* Mobile / tablette : barre pleine largeur, panneau déroulant collé dessous */
@media (max-width: 991px) {
  section.menu1 .navbar .container { padding: 0 1.25rem !important; height: 56px !important; }
  section.menu1 .navbar-collapse {
    top: 100% !important;
    border-radius: 0 !important;
    background: rgba(255, 255, 255, 0.97) !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  }
  section.menu1 .navbar-nav .nav-item .nav-link { padding: 12px 0 !important; }
  section.menu1 .navbar-nav .nav-item .nav-link[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; }
}

/* Titres plus compacts sur mobile / tablette */
@media (max-width: 991px) {
  .display-1 { font-size: 2.6rem; line-height: 1.1; }
  .display-2 { font-size: 2.2rem; line-height: 1.15; }
  .display-5 { font-size: 1.3rem; line-height: 1.4; }
  .display-7 { font-size: 1.15rem; line-height: 1.35; }
  .display-4 { font-size: 1rem; line-height: 1.45; }
}

/* =========================================================
   "Selected Projects" (Art Agency, Murals) :
   petites vignettes carrées, côte à côte, sur 1 ou 2 lignes
   aussi sur téléphone
   ========================================================= */
section.features16 .row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 0.75rem 2rem;
  margin-left: 0;
  margin-right: 0;
}
section.features16 .row > .item {
  flex: 0 0 auto !important;
  width: 9rem !important;
  max-width: 9rem !important;
  padding: 0 !important;
}
section.features16 .item-wrapper { margin-bottom: 0 !important; justify-content: center; }
section.features16 .image-wrapper {
  width: 5rem !important;
  height: 5rem !important;
  border-radius: 0 !important;
  margin-bottom: 0.6rem !important;
}
section.features16 .card-title { font-size: 0.9rem !important; line-height: 1.3; }
@media (max-width: 575px) {
  section.features16 .row { gap: 0.75rem 0.75rem; }
  section.features16 .row > .item { width: 6.6rem !important; max-width: 6.6rem !important; }
  section.features16 .image-wrapper { width: 4.3rem !important; height: 4.3rem !important; }
  section.features16 .card-title { font-size: 0.78rem !important; }
}

/* Icône caddie devant "Shop" dans le menu */
section.menu1 .navbar-nav .nav-link .nav-cart {
  display: inline-block;
  vertical-align: -2px;
  margin-right: 0.4em;
}

/* =========================================================
   Accueil : bandeaux d'images (diaporamas) moins hauts,
   plus d'images visibles d'un coup
   ========================================================= */
section.slider4 .embla__slide {
  min-width: 320px !important;
  max-width: 320px !important;
  margin-left: 0.4rem !important;
  margin-right: 0.4rem !important;
}
section.slider4 img,
section.slider4 .item-img { height: 320px !important; }
@media (max-width: 767px) {
  section.slider4 .embla__slide { min-width: 62% !important; max-width: 62% !important; }
  section.slider4 img,
  section.slider4 .item-img { height: 240px !important; }
}

/* Accueil : bandeau vidéo "Video Content Creation" à la hauteur des bandeaux photos */
#header18-1o {
  padding-top: 2rem !important;
  padding-bottom: 2rem !important;
  min-height: 320px;
  align-items: center !important;
}
#header18-1o .mbr-section-title { margin-bottom: 0.75rem !important; }
@media (max-width: 767px) {
  #header18-1o { min-height: 240px; }
}

/* Boutique : produits plus petits, toujours centrés (1 ou 2 par ligne).
   Pour agrandir/réduire : changer 360px (2 endroits). */
@media (min-width: 769px) {
  .products-container {
    justify-content: center !important;
    gap: 48px !important;
    padding: 0 20px !important;
  }
  .products-container .product-column {
    flex: 0 0 360px !important;
    max-width: 360px !important;
    min-width: 0 !important;
    padding: 0 !important;
  }
}

/* =========================================================
   Galeries photos (toutes les pages, y compris Private) :
   vignettes plus petites, plus de photos par ligne
   ordinateur 6 / tablette 4 / téléphone 3 (2 sur petit téléphone)
   ========================================================= */
.mbr-gallery .mbr-masonry { margin-left: -4px; margin-right: -4px; }
.mbr-gallery .mbr-masonry > .item {
  width: 16.6667% !important;
  max-width: 16.6667% !important;
  flex: 0 0 auto !important;
  padding: 0 4px !important;
  margin-bottom: 8px !important;
}
@media (max-width: 991px) {
  .mbr-gallery .mbr-masonry > .item { width: 25% !important; max-width: 25% !important; }
}
@media (max-width: 767px) {
  .mbr-gallery .mbr-masonry > .item { width: 33.3333% !important; max-width: 33.3333% !important; }
}
@media (max-width: 420px) {
  .mbr-gallery .mbr-masonry > .item { width: 50% !important; max-width: 50% !important; }
}

/* Titres de pages (et grands titres de l'accueil) en majuscules espacées,
   comme les liens du menu. Le texte reste en casse normale dans le code (référencement). */
h1, .display-1 {
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
/* Titres en majuscules : taille réduite */
h1.display-1, .display-1 { font-size: 2.6rem !important; line-height: 1.15 !important; letter-spacing: 0.12em; }
@media (max-width: 991px) {
  h1.display-1, .display-1 { font-size: 1.8rem !important; letter-spacing: 0.1em; }
}

/* =========================================================
   Boutique : sections de collection (nov. 2026)
   « Chant d'Éole Collaboration » puis « Still Available ».
   Grille limitée à 2 produits par ligne sur ordi, 1 sur mobile.
   ========================================================= */
.shop-collection { padding: 3rem 0 1.5rem; background: #fff; text-align: center; }
.shop-section-title {
  font-family: 'Raleway', sans-serif;
  font-weight: 600;
  font-size: 1.8rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin: 0 0 1rem;
  color: #232323;
}
.shop-section-text {
  font-family: 'Raleway', sans-serif;
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.6;
}
.products-container.shop-grid {
  max-width: 820px;
  margin: 0 auto 3rem !important;
}
@media (max-width: 767px) {
  .shop-collection { padding: 2rem 0 1rem; }
  .shop-section-title { font-size: 1.4rem; }
}

/* =========================================================
   Sous-menu fixe sous la barre de menu (shop.html)
   Même style que l'index des pages privées (copie de Private/assets/css/private.css)
   ========================================================= */
.artist-index {
  position: fixed;
  top: 60px; left: 0; right: 0;
  z-index: 1020;
  background: rgba(255, 255, 255, 0.85);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}
.artist-index-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.4rem;
  padding: 0.55rem 2.5rem;
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.artist-index-inner::-webkit-scrollbar { display: none; }
.artist-index a, .artist-index .ai-group {
  font-family: 'Raleway', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1.4;
  flex: 0 0 auto;
}
.artist-index .ai-group { color: rgba(0, 0, 0, 0.4); font-weight: 600; }
.artist-index .ai-group:not(:first-child) { margin-left: 1.2rem; }
.artist-index a {
  color: #000 !important;
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding: 2px 0;
}
.artist-index a:hover, .artist-index a.is-active { border-bottom-color: currentColor; }
/* Laisse la place à la barre au-dessus du premier bloc */
.artist-index + section { margin-top: 2.6rem; }
@media (max-width: 1100px) {
  .artist-index-inner { justify-content: flex-start; }
}
@media (max-width: 991px) {
  .artist-index { top: 56px; }
  .artist-index-inner { padding: 0.55rem 1.25rem; gap: 1.1rem; }
}

/* Boutique : « Still Available » sur une seule ligne (4 produits) sur grand écran,
   2 par ligne sur tablette, 1 sur téléphone */
@media (min-width: 769px) {
  .products-container.shop-grid-4 { max-width: 1400px; gap: 32px !important; }
  .products-container.shop-grid-4 .product-column {
    flex: 0 0 calc((100% - 96px) / 4) !important;
    max-width: calc((100% - 96px) / 4) !important;
  }
}
@media (min-width: 769px) and (max-width: 1199px) {
  .products-container.shop-grid-4 .product-column {
    flex: 0 0 calc((100% - 32px) / 2) !important;
    max-width: 360px !important;
  }
}

/* Boutique : nouveautés (Sozyone × Chant d'Éole) en plus grand, toujours 2 sur la même ligne (ordi/tablette).
   Pour agrandir/réduire : changer 540px. */
@media (min-width: 769px) {
  .products-container.shop-grid-2 { max-width: none; gap: 64px !important; }
  .products-container.shop-grid-2 .product-column {
    flex: 0 1 calc((100% - 64px) / 2) !important;
    max-width: 540px !important;
  }
}

/* Art Agency : fonds alternés (Big City Life sombre, Psoman clair, El Malo sombre, Los Colores clair).
   El Malo a un titre en H2 : le passer en clair sur fond sombre. */
.cid-uZvMhVm2Wo H2 { color: #ebeeef; }

/* Boutique : bandeau du haut « Sozyone × Chant d'Éole » : titre + signature Sozyone en blanc,
   à droite de l'écran (les vêtements sont à gauche sur l'image). Sur téléphone : centré, en bas.
   Assombrissement : opacity de .mbr-overlay dans shop.html (0.4). */
.cid-vcKY1UGcML.shop-hero { background-image: url("../images/shop-header-sozyone-chant-d-eole-2560x1600.webp"); }
.shop-hero-inner {
  position: relative; z-index: 2;
  width: 100%;
  display: flex;
  justify-content: flex-end;
  padding-right: 6vw;
}
.shop-hero-link, .shop-hero-link:hover {
  width: 30vw;
  display: flex; flex-direction: column; align-items: center;
  color: #fff !important; text-decoration: none;
}
.shop-hero-title {
  font-family: 'Raleway', sans-serif;
  font-weight: 500;
  font-size: 1.3rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 1.4rem;
  white-space: nowrap;
}
.shop-hero-logo { width: 170px; height: auto; display: block; }
@media (max-width: 767px) {
  .shop-hero { align-items: flex-end !important; }
  .shop-hero-inner { justify-content: center; padding: 0 0 12vh; }
  .shop-hero-link, .shop-hero-link:hover { width: auto; }
  .shop-hero-title { font-size: 1rem; letter-spacing: 0.12em; margin-bottom: 1rem; }
  .shop-hero-logo { width: 120px; }
}

/* Sous-menu fixe (shop + pages privées) : masqué quand le menu téléphone est ouvert,
   sinon il passe par-dessus la liste des pages. */
body.navbar-dropdown-open .artist-index,
body:has(#navbarSupportedContent.show) .artist-index,
body:has(#navbarSupportedContent.collapsing) .artist-index { display: none; }

/* Téléphone : pas de grosses flèches gauche/droite sur les carrousels de l'accueil
   (on fait défiler au doigt) ni de bouton « retour en haut ». */
@media (max-width: 767px) {
  .embla__button { display: none !important; }
  #scrollToTop, .scrollToTop { display: none !important; }
}
