/* ==============================
   RESET DE BASE
============================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color:transparent;
  color: #333;
}
/* ==============================
   HEADER TRANSPARENT & FIXÉ
============================== */
.header {
  position: fixed; /* fixé en haut et superposé */
  left: 0;
  width: 100%;
  background: transparent; /* aucune couleur */
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 5%;
  z-index: 3; /* reste au-dessus du hero */
  box-shadow: none;
}
.product-card-link,
.icons {
  display: flex;
  align-items: center;
  gap: 18px;
}

/* TEXTE HEADER (logo + liens) */
.navbar,
.header .logo,
.header .navbar a {
  color: #111;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ICÔNES HEADER */
.product-card-link,
.icons i {
  color: #111;
  font-weight: normal;
  letter-spacing: normal;
  text-transform: none;
}

/* ============================= */
/* FONT AWESOME – FIX DEFINITIF */
/* ============================= */
.fa-solid {
  font-family: "Font Awesome 6 Free" !important;
  font-weight: 900 !important;
}

.fa-brands {
  font-family: "Font Awesome 6 Brands" !important;
}
.fa-regular {
  font-family: "Font Awesome 6 Free" !important;
  font-weight: 400 !important; /* outline */
}

.fa-solid {
  font-family: "Font Awesome 6 Free" !important;
  font-weight: 900 !important; /* plein */
}
.icon-contour {
  font-size: 18px;
  color: white;             /* couleur intérieure */
  -webkit-text-stroke: 1px #111; /* contour noir */
  text-stroke: 1px #111;         /* contour noir */
}
.product-card-link,
.icons {
  display: flex;
  gap: 16px; /* espace entre les icônes */
  align-items: center; /* centre verticalement */
}
.product-card-link,
.icons a,
.icons button {
  display: flex;
  align-items: center;
  justify-content: center;
}




.header.scrolled {
  background: #fff;
  backdrop-filter: blur(10px);
  transition: background 0.3s ease;
}

/* ==============================
   HERO SLIDER
============================== */

.hero-slider {
  position: relative;
  width: 100%;
  height: 100vh; /* pleine hauteur écran */
  overflow: hidden;
  top: -50px; /* si header fixed */
}

/* ==============================
   SLIDES
============================== */

.hero-slider .slide {
  position: absolute;
  top: 0;
  left: 100%;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: left 0.6s ease-in-out, opacity 0.6s ease-in-out;
}

.hero-slider .slide.active {
  left: 0;
  opacity: 1;
  z-index: 1;
}

/* ==============================
   IMAGES RESPONSIVE
============================== */

.hero-slider picture {
  width: 100%;
  height: 100%;
  display: block;
}

.hero-slider img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* remplit sans déformer */
  display: block;
}

/* ==============================
   CONTENU HERO (TEXTE)
============================== */

.hero-slider .hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  padding: 20px 40px;
  border-radius: 10px;
  text-align: center;
  z-index: 2;
}

.hero-slider .hero-content h1 {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.hero-slider .hero-content p {
  font-size: 1.2rem;
  margin-bottom: 20px;
}

/* ==============================
   NAVIGATION
============================== */

.hero-slider .navigation {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  padding: 0 20px;
  z-index: 3;
}

.hero-slider .navigation span {
  background: rgba(0, 0, 0, 0.5);
  padding: 10px;
  border-radius: 50%;
  cursor: pointer;
  color: #fff;
  transition: background 0.3s ease;
}

.hero-slider .navigation span:hover {
  background: rgba(0, 0, 0, 0.8);
}


/* ==============================
   RESPONSIVE
============================== */
@media (max-width: 768px) {
  .menu-toggle {
    display: inline-block;
  }

  .header .navbar,
  .search-bar {
    display: none;
  }

  .mobile-search-icon {
    display: inline-block;
    font-size: 20px;
    color: #fff;
    cursor: pointer;
  }

}
/* ==============================
   SECTION CRÉE TON LOOK (Style SheGlam)
============================== */
.create-look {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: 100%;
  height: 80vh;
  overflow: hidden;
}
.section-title {
  text-align: center;
  font-size: 2rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 40px;
  color: #111;
}
.create-item {
  position: relative;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.create-item a {
  display: block;
  width: 100%;
  height: 100%;
}

.create-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.create-item:hover img {
  transform: scale(1.1);
}

/* Superposition au survol */
.create-item .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.create-item:hover .overlay {
  opacity: 1;
}

.overlay h3 {
  color: #fff;
  font-size: 1.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Effet de survol avec dégradé SheGlam */
.create-item:hover .overlay {
  background: linear-gradient(to top, rgba(0,0,0,0.6), rgba(0,0,0,0.1));
}

/* ==============================
   Responsive
============================== */
@media (max-width: 1024px) {
  .create-look {
    grid-template-columns: repeat(2, 1fr);
    height: auto;
  }

  .create-item {
    height: 50vh;
  }

  .overlay h3 {
    font-size: 1.5rem;
  }
}

@media (max-width: 600px) {
  .create-look {
    grid-template-columns: repeat(2, 1fr);
  }

  .create-item {
    height: 50vh;
  }

  .overlay h3 {
    font-size: 1.3rem;
  }
}
/* =========================
   WORTH THE HYPE – LAYOUT
========================= */
.worth-hype {
  display: flex;
  gap: 40px;
  padding: 40px 8%;
  background: #fff;
}

.hype-left {
  flex: 1;
  max-width: 45%;
}

.hype-left img {
  width: 100%;
  border-radius: 10px;
  object-fit: cover;
}

.hype-right {
  flex: 1;
  max-width: 55%;
}

.hype-right h2 {
  font-size: 1.8rem;
  font-weight: 600;
  letter-spacing: 0.8px;
  margin-bottom: 20px;
  text-transform: uppercase;
  color: rgb(207, 58, 82);
}

/* =========================
   GRID PRODUITS
========================= */
.hype-products {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.product-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* 🔥 PAS cover */
  transition: transform 0.3s ease;
}

/* =========================
   CARTE PRODUIT
========================= */
.product-image-wrapper {
  width: 100%;
  aspect-ratio: 1 / 1; /* carré élégant */
  overflow: hidden;
  border-radius: 10px 10px 0 0;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-card {
  background: #fff;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.1);
}

/* Image */
.product-image-wrapper {
  position: relative;
}

.product-card img {
  width: 100%;
  height: 165px;
  object-fit: cover;
  border-radius: 10px 10px 0 0;
}

/* Wishlist */
.add-to-wishlist {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #fff;
  color: rgb(207, 58, 82);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* =========================
   INFOS PRODUIT
========================= */
.product-info {
  padding: 10px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

/* Titre (2 lignes fixes) */
.product-info h3 {
  font-size: 0.85rem;
  font-weight: 500;
  line-height: 1.3;
  color: #111;

  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;

  min-height: calc(1.3em * 2);
  margin-bottom: 6px;
  text-align: center;
}

.product-info h3 a {
  color: inherit;
  text-decoration: none;
}

/* Prix */
.price {
  font-size: 0.85rem;
  color: #d63384;
  font-weight: 600;
  margin-bottom: 8px;
  text-align: center;
}

/* =========================
   QUANTITÉ + PANIER – COMPACT
========================= */
.add-to-cart-wrapper {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* Quantité full width */
.quantity-wrapper {
  width: 100%;
}

.quantity-wrapper input[type="number"] {
  width: 100%;
  height: 20px;
  padding: 0 6px;
  font-size: 0.8rem;
  text-align: center;

  border: 1px solid rgb(207, 58, 82);
  border-radius: 5px;
  background: #fff;
  outline: none;

  appearance: auto;
  -webkit-appearance: number-input;
  -moz-appearance: number-input;
}

/* Flèches visibles */
.quantity-wrapper input::-webkit-inner-spin-button,
.quantity-wrapper input::-webkit-outer-spin-button {
  opacity: 1;
  color: rgb(207, 58, 82);
}
.quantity-wrapper{
  opacity: 1;
  color: rgb(207, 58, 82);
}
/* Bouton panier */
.choose-shade-btn,
.add-to-cart {
  width: 100%;
  height: 30px;
  font-size: 0.75rem;
  border-radius: 5px;
  background: rgba(224, 138, 151, 0.31);
  color: rgb(207, 58, 82);
  border: none;
  cursor: pointer;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.choose-shade-btn,
.add-to-cart {
  height: 30px;
  font-size: 0.75rem;
}
/* Aligner le bouton "Choisir une teinte" en bas */
.choose-shade-btn {
  margin-top: auto;
  background: rgba(224, 138, 151, 0.31);
  color: rgb(207, 58, 82);
  display: flex;
  gap: 6px;
}
/* =========================
   RESPONSIVE
========================= */
@media (max-width: 992px) {
  .worth-hype {
    flex-direction: column;
  }

  .hype-left,
  .hype-right {
    max-width: 100%;
  }

  .hype-products {
    grid-template-columns: repeat(2, 1fr);
  }
}


/* =========================
   RESPONSIVE
========================= */
@media (max-width: 600px) {
  .worth-hype {
    flex-direction: column;
  }

  .hype-left,
  .hype-right {
    max-width: 100%;
  }

  .hype-products {
    grid-template-columns: repeat(2, 1fr);
  }
}
:root {
  --sheglam-pink: #d63384;
}

/* Wrapper image */
.hype-image-wrapper {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  border: 3px solid var(--sheglam-pink); /* contour rose */
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

/* Effet premium au hover */
.hype-image-wrapper:hover {
  transform: scale(1.02);
  box-shadow: 0 10px 25px rgba(214, 51, 132, 0.3);
}

/* Image */
.hype-image-wrapper img {
  width: 100%;
  display: block;
  border-radius: 12px;
}

/* Badge Best Seller */
.best-seller-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background: var(--sheglam-pink);
  color: #fff;
  padding: 6px 14px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  border-radius: 20px;
  letter-spacing: 1px;

  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.3s ease;
}

/* Apparition au hover */
.hype-image-wrapper:hover .best-seller-badge {
  opacity: 1;
  transform: translateY(0);
}

/* =====================
   MENU HAMBURGER MOBILE
===================== */

/* Hamburger visible seulement sur mobile */
.menu-toggle {
  display: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: #fff;
  z-index: 1002;
}

/* Navbar mobile */
.navbar {
  display: flex;
  gap: 20px;
}

.navbar.active {
  display: flex;
  position: fixed;
  top: 0;
  left: 0;
  width: 70%;
  max-width: 300px;
  height: 100%;
  background: #fff;
  padding: 50px 20px;
  flex-direction: column;
  gap: 25px;
  z-index: 1003; /* au-dessus de l'overlay */
  box-shadow: 2px 0 15px rgba(0,0,0,0.2);
  transform: translateX(-100%);
  animation: slideIn 0.3s forwards;
}

/* Animation menu slide */
@keyframes slideIn {
  to { transform: translateX(0); }
}

/* Overlay menu */
.menu-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.2); /* semi-transparent */
  z-index: 1001; /* sous le menu */
}

/* Affichage actif */
.menu-overlay.active {
  display: block;
}

/* Affichage hamburger sur mobile */
@media (max-width: 768px) {
  .menu-toggle {
    display: inline-block;
  }

  .navbar {
    display: none;
  }
}
