/* -------------------------------
   Import Google Fonts
--------------------------------*/
@import url('https://fonts.googleapis.com/css2?family=Libre+Baskerville&family=Playfair+Display:wght@700&family=Cinzel:wght@400;700&display=swap');

/* -------------------------------
   Variables globales
--------------------------------*/
:root {
  --bs-body-font-family: 'Libre Baskerville', serif;
}

/* -------------------------------
   Polices personnalisées
--------------------------------*/
html, body {
  font-family: var(--bs-body-font-family);
  font-size: 1.1rem;
  line-height: 1.8;
  color: #222;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

* {
  font-family: var(--bs-body-font-family);
}

/* Titres */
h1 {
  font-family: 'Cinzel', serif;
  font-weight: 400;
  text-transform: none;
  letter-spacing: normal;
}

h2 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  text-transform: none;
  letter-spacing: normal;
}

h3, h4, h5, h6 {
  font-family: 'Libre Baskerville', serif;
  font-weight: 400;
  text-transform: none;
  letter-spacing: normal;
}

.special, .style-script {
  font-family: 'Playfair Display', cursive;
}

/* -------------------------------
   Masquer les breadcrumbs
--------------------------------*/
#paige-site-breadcrumbs,
.paige-site-breadcrumbs {
  display: none;
}

/* -------------------------------
   Layout général
--------------------------------*/
.container,
.container-fluid,
#paige-site-menu .container,
#paige-site-content,
#paige-page-content {
  margin: 0;
  padding: 0;
  width: 100vw;
  max-width: 100vw;
  box-sizing: border-box;
}

/* -------------------------------
   Menu responsive
--------------------------------*/
#menu-principal {
  width: 100vw;
  margin: 0 auto;
  position: relative;
  z-index: 200;
}

#menu-toggle {
  display: none;
}

#menu-hamburger {
  display: none;
  width: 44px;
  height: 44px;
  margin: 18px auto 0;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  z-index: 1001;
  background: none;
  border: none;
}

#menu-hamburger span {
  display: block;
  width: 32px;
  height: 4px;
  margin: 5px auto;
  background: #222;
  border-radius: 2px;
  transition: 0.3s;
}

#menu-principal ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* Desktop Menu */
@media (min-width: 900px) {
  #menu-hamburger,
  #menu-toggle {
    display: none;
  }
  #menu-principal ul {
    display: flex;
    justify-content: center;
    gap: 48px;
    background: #fff;
    margin: 22px 0 24px 0;
  }
  #menu-principal ul li a {
    font-size: 1.44rem;
    color: #222;
    text-decoration: none;
    font-family: 'Cinzel', serif;
    font-weight: 700;
    transition: color 0.2s;
  }
  #menu-principal ul li a:hover {
    color: #c19b4a;
  }
}

/* Mobile Menu */
@media (max-width: 900px) {
  #menu-hamburger {
    display: flex;
    margin: 10px auto;
  }
  #menu-principal ul {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #fff;
    z-index: 1000;
    flex-direction: column;
    justify-content: center;
    padding: 80px 0 32px;
    gap: 22px;
    min-height: 70vh;
  }
  #menu-principal ul li a {
    font-size: 1.44rem;
    color: #222;
    text-decoration: none;
    font-family: 'Cinzel', serif;
    font-weight: 700;
  }
  #menu-toggle:checked ~ ul {
    display: flex;
  }
}

/* -------------------------------
   Carrousel
--------------------------------*/
.carousel-title {
  font-size: 2.8rem;
  font-weight: 700;
  text-shadow: 1px 1px 10px #000;
}

@media (max-width: 900px) {
  .carousel-caption h2 {
    font-size: 1rem;
    line-height: 1.15;
  }
  .carousel-caption a.btn {
    font-size: 1rem;
    padding: 10px 22px;
  }
  .carousel-title {
    font-size: 1.2rem;
    line-height: 1.3;
  }
}

/* Réseaux sociaux sur mobile */
@media (max-width: 768px) {
  .reseaux-sociaux {
    top: 10px !important;
  }
}

/* -------------------------------
   Boutique - Layout
--------------------------------*/
.boutique-container {
  width: 100vw;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding-top: 48px;
  min-height: 70vh;
}

.boutique-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 56px 48px;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  justify-items: center;
}

.produit-card {
  max-width: 420px;
  width: 100%;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 3px 16px rgba(0,0,0,0.07);
  padding: 24px 18px 28px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.13s;
}

.produit-card:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: 0 8px 32px rgba(0,0,0,0.10);
}

.produit-card img {
  display: block;
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 14px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,.08);
  cursor: pointer;
  transition: transform 0.13s;
}

.produit-card img:hover {
  transform: scale(1.04);
}

.produit-infos {
  margin-top: 0;
}

.prix-produit {
  font-family: 'Playfair Display', serif;
  font-size: 1.7rem;
  font-weight: 600;
  margin-bottom: 13px;
  color: #222;
}

.snipcart-add-item {
  display: inline-block;
  background: #fff;
  color: #c19b4a;
  border: 2px solid #c19b4a;
  font-family: 'Cinzel', serif;
  font-weight: 700;
  font-size: 1.07rem;
  padding: 10px 28px;
  border-radius: 8px;
  margin-top: 2px;
  transition: background 0.18s, color 0.18s;
  cursor: pointer;
  letter-spacing: 0.08em;
}

.snipcart-add-item:hover {
  background: #c19b4a;
  color: #fff;
}

/* Responsive Boutique */
@media (max-width: 1100px) {
  .boutique-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .produit-card {
    max-width: 380px;
  }
}

@media (max-width: 700px) {
  .boutique-grid {
    grid-template-columns: 1fr;
  }
  .produit-card img {
    width: 100%;
    height: auto;
    object-fit: cover;
  }
}

/* -------------------------------
   Fiche produit
--------------------------------*/
.fiche-produit-wrapper {
  max-width: 1240px;
  margin: 0 auto;
  padding: 44px 0 54px;
}

.fiche-produit-container {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 64px;
  justify-content: center;
  width: 100%;
}

.fiche-produit-visuel {
  flex: 0 0 420px;
  max-width: 440px;
  width: 100%;
  text-align: center;
}

.fiche-produit-visuel img {
  width: 100%;
  max-width: 420px;
  border-radius: 12px;
  box-shadow: 0 3px 16px rgba(0,0,0,0.10);
}

.fiche-produit-infos {
  flex: 1 1 0;
  max-width: 560px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.fiche-produit-titre {
  font-family: 'Playfair Display', serif;
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 18px;
  margin-top: 0;
  color: #151515;
}

.fiche-produit-prix {
  font-family: 'Cinzel', serif;
  font-size: 1.37rem;
  color: #9b7e3a;
  font-weight: 700;
  margin-bottom: 18px;
}

.fiche-produit-desc-courte {
  font-size: 1.13rem;
  margin-bottom: 20px;
  color: #444;
}

.fiche-produit-btn {
  margin-bottom: 28px;
}

.fiche-produit-btn .snipcart-add-item {
  font-size: 1.15rem;
  padding: 12px 40px;
  border-radius: 9px;
}

.fiche-produit-details {
  margin-top: 54px;
  font-size: 1.09rem;
  line-height: 1.65;
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 900px) {
  .fiche-produit-container {
    flex-direction: column;
    gap: 30px;
    align-items: center;
  }
  .fiche-produit-visuel,
  .fiche-produit-infos {
    max-width: 100vw;
    width: 100%;
    text-align: center;
  }
  .fiche-produit-infos {
    align-items: center;
  }
}
