

/* ==================================================
   VARIANTE PRO – CHARGEMENT LAYOUT (ANTI-FLASH)
================================================== */

#header {
  position: sticky;
  top: 0;
  z-index: 9999;
}

.site-header {
  background: #fff;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

/* Masquer le contenu pendant le chargement */
body.loading main {
  opacity: 0;
}

/* État prêt */
body.ready #header {
  opacity: 1;
  transition: opacity 0.25s ease;
}

body.ready main {
  opacity: 1;
  transition: opacity 0.25s ease;
}


/* ==================================================
   BASE
================================================== */

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Georgia, serif;
  background: #f5f1eb;
  color: #3a2e25;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  cursor: pointer;
  font-family: inherit;
}

/* ==================================================
   NAVIGATION
================================================== */
/*
.main-nav {
  display: flex;
  justify-content: center;
  gap: 48px;
  padding: 18px 0;
  background: #f5f1eb;
  border-bottom: 1px solid #e0ddd8;
}

.main-nav a,
.main-nav .nav-link {
  position: relative;
  font-family: Georgia, serif;
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.8px;
  color: #3a2e25;
  padding-bottom: 6px;
}*/

/* Soulignement élégant */
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: #7b4f2c;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.25s ease;
}

.main-nav a:hover::after {
  transform: scaleX(1);
}


/* ==================================================
   SOUS-MENU (DESKTOP)
================================================== */

.nav-item {
  position: relative;
}

.has-submenu .nav-link::after {
  content: " ▾";
  font-size: 0.8rem;
}

.submenu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  padding: 12px 0;
  min-width: 200px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
  border-radius: 6px;
  display: none;
  z-index: 100;
}

.submenu a {
  display: block;
  padding: 10px 18px;
  font-size: 0.95rem;
}

.submenu a:hover {
  background: #f5f1eb;
}

.has-submenu:hover .submenu {
  display: block;
}


/* ==================================================
   HERO BANNER
================================================== */

.hero {
  position: relative;
  /*height: 420px;*/
  height: 630px;
  background-image: url("../images/hero-poterie.jpg");
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: rgba(34, 34, 34, 0.122);
}

.hero-overlay {
  position: absolute;
  top: 5%;              /* ← règle ici la hauteur */
  left: 50%;
  transform: translateX(-50%);

  text-align: center;
  color: #fff;
  max-width: 700px;
  padding: 20px;

  pointer-events: none;
}


.hero-overlay h2 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  margin-bottom: 10px;
  
}

.hero-overlay p {
  font-size: 1.1rem;
  margin-bottom: 20px;
  font-style: italic;
}

.hero-btn {
  display: inline-block;
  background: #7b4f2c;
  color: #fff;
  padding: 12px 24px;
  border-radius: 4px;
  font-weight: bold;
}


/* ==================================================
   PRODUITS – GRILLE
================================================== */

.products-section {
  padding-top: 40px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
  padding: 0 16px 40px;
}

.product-card {
  background: #fff;
  padding: 15px;
  border-radius: 6px;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.product-card h2 {
  font-size: 1.1rem;
  margin: 10px 0 6px;

  /* ✅ réserve 2 lignes */
  line-height: 1.25;
  min-height: calc(1.25em * 2);

  /* ✅ coupe après 2 lignes */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-card p {
  margin: 5px 0;
}

/*.product-card button {
  background: #7b4f2c;
  color: #fff;
  border: none;
  padding: 10px 14px;
  border-radius: 4px;
}*/
.product-card button {
  font-family: inherit;
}


/* ==================================================
   IMAGE / VIDÉO PRODUIT
================================================== */


/* ==================================================
   PAGE PRODUIT
================================================== */





.product-info {
  flex: 1;
}

.product-price {
  font-size: 1.4rem;
  font-weight: bold;
  margin: 15px 0;
}

.product-description {
  margin: 8px 0 12px;
  line-height: 1.6;
  opacity: 0.9;
}


/* ==================================================
   PAGE INTRO – CATÉGORIES
================================================== */

.home-categories {
  max-width: 1200px;
  margin: auto;
  padding: 40px 20px 60px;
  position: relative;
  z-index: 2;
}

.intro {
  text-align: center;
  margin-bottom: 50px;
}

.intro h2 {
  font-size: 2.6rem;
}

.intro p {
  font-size: 1.1rem;
  font-style: italic;
  color: #5a4a3f;
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.category-card {
  position: relative;
  display: block;
  height: 320px;
  overflow: hidden;
  border-radius: 10px;
}

.category-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease, filter 0.4s ease;
}

.category-card span {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: bold;
  color: #fff;
  background: rgba(0,0,0,0.35);
  transition: background 0.4s ease;
}

@media (hover: hover) {
  .category-card:hover img {
    transform: scale(1.05);
    filter: brightness(0.9);
  }
  .category-card:hover span {
    background: rgba(0,0,0,0.5);
  }
}


/* ==================================================
   BOUTON RETOUR GLOBAL
================================================== */

/* .back-btn {
  background: none;
  border: none;
  color: #7b4f2c;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  position: absolute;
  top: 100%;
  left: 20px;
  margin-top: 10px;
  z-index: 40;
}*/
.back-btn {
  position: static;
}

.back-btn:hover {
  text-decoration: underline;
}


/* ==================================================
   MOBILE
================================================== */

@media (max-width: 960px) {

  .logo {
    font-size: 1.2rem;
  }

  .hero {
    height: 300px;
    margin-bottom: 40px;
    z-index: 1;
    
  }

  .hero-overlay h2 {
    font-size: 1.6rem;
  }

  .product-detail {
    flex-direction: column;
  }

  .categories-grid {
    grid-template-columns: 1fr;
  }

  .category-card {
    height: 240px;
  }

  .category-card span {
    font-size: 1.6rem;
  }

  .back-btn {
    left: 16px;
    font-size: 0.95rem;
  }
}

/* =========================
   BOUTONS – STYLE PREMIUM
========================= */

.add-to-cart-btn {
  width: 100%;
  margin-top: 10px;

  background: rgba(0,0,0,0.92);
  color: #fff;

  border: 1px solid rgba(0,0,0,0.92);
  padding: 12px 14px;
  border-radius: 999px;

  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.2px;

  transition: transform 0.15s ease, opacity 0.15s ease;
}

.add-to-cart-btn:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

.add-to-cart-btn:active {
  transform: translateY(0px);
}

.add-to-cart-btn:disabled {
  
  opacity: 0.35;
  cursor: not-allowed;
  transform: none;
}

/* Bouton retour stock */
.add-to-cart-btn.is-out {
  background-color: #777 !important;
  border-color: #777 !important;
  color: #fff !important;

  opacity: 1;
  cursor: pointer;
}

.add-to-cart-btn.is-out:hover {
  background-color: #666 !important;
  border-color: #666 !important;
}

/* =========================
   PANIER – CONTRÔLES PRODUIT
========================= */

.cart-controls {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

/* Bouton initial */
/*.add-to-cart-btn {
  width: 100%;
  background: #7b4f2c;
  color: #fff;
  border: none;
  padding: 10px 14px;
  border-radius: 4px;
  font-size: 0.95rem;
  font-weight: 600;
}*/

/* Quantité + / - */
.quantity-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

.quantity-controls button {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: #7b4f2c;
  color: #fff;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 1.1rem;
  font-weight: bold;
  line-height: 1;
}


.quantity-controls span {
  min-width: 20px;
  text-align: center;
  font-weight: 600;
}

/* Badge ajouté */
.added-badge {
  font-size: 0.8rem;
  color: #2f7a3e;
  font-weight: 600;
}

/* =========================
   CART PAGE – PRO LOOK
========================= */

.cart-page {
  padding: 24px 0;
}

.cart-title h1 {
  margin: 0;
  font-size: 2rem;
}

.cart-subtitle {
  margin-top: 6px;
  opacity: 0.8;
}

.cart-empty {
  margin-top: 20px;
  padding: 24px;
  border: 1px solid #ddd;
  border-radius: 14px;
}

.cart-layout {
  margin-top: 20px;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 20px;
}

@media (max-width: 900px) {
  .cart-layout {
    grid-template-columns: 1fr;
  }
}

.cart-items {
  list-style: none;
  padding: 0;
  margin: 0;
  border: 1px solid #ddd;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
}

.cart-item {
  display: flex;
  gap: 14px;
  padding: 14px;
  border-bottom: 1px solid #eee;
}

.cart-item:last-child {
  border-bottom: none;
}

.cart-item img {
  width: 86px;
  height: 86px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid #eee;
}

.cart-item-info {
  flex: 1;
}

.cart-item-title {
  margin: 0;
  font-size: 1rem;
}

.cart-item-price {
  margin-top: 4px;
  opacity: 0.85;
}

.cart-item-actions {
  margin-top: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.qty-controls {
  display: inline-flex;
  align-items: center;
  border: 1px solid #ddd;
  border-radius: 12px;
  overflow: hidden;
}

.qty-controls button {
  width: 36px;
  height: 34px;
  border: none;
  background: #f4f4f4;
  cursor: pointer;
  font-size: 1.1rem;
}

.qty-controls span {
  width: 40px;
  text-align: center;
  font-weight: 600;
}

.remove-btn {
  border: none;
  background: transparent;
  cursor: pointer;
  opacity: 0.75;
  text-decoration: underline;
}

.cart-summary-card {
  border: 1px solid #ddd;
  border-radius: 14px;
  padding: 16px;
  background: #fff;
  position: sticky;
  top: 16px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  margin-top: 12px;
}

.summary-row.total {
  font-size: 1.1rem;
}

.summary-sep {
  margin: 14px 0;
  border: none;
  border-top: 1px solid #eee;
}

.cart-note {
  margin-top: 12px;
  font-size: 0.9rem;
  opacity: 0.75;
}

/* Buttons (si tu n'en as pas déjà) */
.btn {
  width: 100%;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid transparent;
  cursor: pointer;
  font-weight: 600;
  margin-top: 10px;
}

.btn-primary {
  background: #111;
  color: #fff;
}

.btn-secondary {
  background: #fff;
  border: 1px solid #ddd;
  color: #111;
  display: inline-block;
  text-decoration: none;
  text-align: center;
}

.btn-ghost {
  background: transparent;
  border: 1px solid #ddd;
}
/* =========================
   BADGES STOCK
========================= */

.stock-line {
  margin: 6px 0 0;
}

.stock-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;

  padding: 4px 10px;
  border-radius: 999px;

  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1;

  background: rgba(0, 128, 0, 0.10);
  color: #0f6a2a;
}

/* Petit point à gauche */
.stock-badge::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.9;
}

/* Rupture */
.stock-badge.out {
  /*background: rgba(255, 0, 0, 0.08);*/
  background: #f1f1f1;
  color: #777;/*color: #b00020;*/
}

.stock-badge.low {
  background: rgba(255, 0, 0, 0.08);/*#fff3e0;*/
  color: #b00020;/*#b45309;/
  /*border: 1px solid #fbbf24;

  padding: 4px 8px;
  border-radius: 4px;

  font-size: 13px;
  font-weight: 500;*/
}


/* En stock (vert) */
.stock-badge.in {
  background: rgba(0, 160, 80, 0.12);
  color: #1b7a3a;
}

/* Optionnel : bouton disabled plus clair */
.add-to-cart-btn:disabled,
.quantity-controls button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

/* =========================
   HEADER PRO (TOPBAR)
========================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  border-bottom: 1px solid rgba(0,0,0,0.08);
  box-shadow: 0 6px 20px rgba(0,0,0,0.06);
}

/*.topbar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
}*/
.topbar {
  display: flex;
  align-items: center;
  
  padding: 12px 20px;
}

.topbar-left,
.topbar-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.topbar-center {
  display: flex;
  justify-content: center;
  flex: 1;
}



/*.topbar-left,
.topbar-center,
.topbar-right {
  display: flex;
  align-items: center;
}

.topbar-left {
  gap: 10px;
  justify-content: center;
  min-width: 0;
}

.topbar-center {
  justify-content: center;
}

.topbar-right {
  gap: 8px;
  justify-content: center;
}*/

.topbar-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.topbar-center {
  display: flex;
  justify-content: center;
}

.topbar-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.brand {
  text-decoration: none;
  color: inherit;
}

.brand-logo {
  font-weight: 700;
  letter-spacing: 0.5px;
  font-size: 1.05rem;
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.breadcrumb a {
  color: rgba(0,0,0,0.7);
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.breadcrumb .sep {
  opacity: 0.35;
}

#breadcrumb-current {
  font-weight: 600;
  color: rgba(0,0,0,0.85);
}

/* Boutons */
.icon-btn,
.back-btn {
  border: 1px solid rgba(0,0,0,0.10);
  background: #fff;
  border-radius: 999px;
  padding: 8px 10px;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  display: inline-flex;
  align-items: center;
  position: static;
  gap: 6px;
}

.icon-btn:hover,
.back-btn:hover {
  background: rgba(0,0,0,0.04);
}

/* Badge panier */
.cart-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 6px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  background: rgba(0,0,0,0.10);
}

/* Nav */
.main-nav {
  display: none;
  padding: 10px 14px;
  border-top: 1px solid rgba(0,0,0,0.08);
}

.main-nav.open {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.main-nav a {
  text-decoration: none;
  color: rgba(0,0,0,0.85);
  font-weight: 600;
}

.brand-logo-img {
  height: 125px;     /* ajuste ici : 28 / 32 / 40 */
  width: auto;
  max-width: 140px; /* évite qu’un logo très large déborde */
  object-fit: contain;
  display: block;
}



/* =========================
   MENU TOPBAR (GAUCHE)
========================= */

.top-links {
  display: flex;
  align-items: center;
  gap: 14px;
}

.top-links a,
.nav-dd-btn {
  font-weight: 600;
  font-size: 0.95rem;
  color: rgba(0,0,0,0.85);
  text-decoration: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px 6px;
  border-radius: 10px;
}

.top-links a:hover,
.nav-dd-btn:hover {
  background: rgba(0,0,0,0.04);
}

.nav-dd {
  position: relative;
}

.nav-dd-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 180px;

  background: #fff;
  border: 1px solid rgba(0,0,0,0.10);
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.10);

  padding: 8px;
  display: none;
}

.nav-dd-menu a {
  display: block;
  padding: 10px 10px;
  border-radius: 10px;
  font-weight: 600;
}

.nav-dd-menu a:hover {
  background: rgba(0,0,0,0.04);
}

/* ouverture au hover (desktop) */
/* désactive l'ouverture hover */
.nav-dd:hover .nav-dd-menu {
  display: none;
}

/* ouverture au clic */
.nav-dd.open .nav-dd-menu {
  display: block;
}

.icon {
  width: 18px;
  height: 18px;
  display: block;
}

.contact-form {
  display: grid;
  gap: 12px;
  max-width: 520px;
  margin-top: 16px;
}

.contact-form label {
  display: grid;
  gap: 6px;
  font-weight: 600;
}

.contact-form input,
.contact-form textarea {
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,0.15);
  font-size: 1rem;
}

.btn-primary {
  padding: 12px 14px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-weight: 700;
  background: rgba(0,0,0,0.9);
  color: white;
}

.btn-primary:hover {
  opacity: 0.92;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 24px;
  align-items: start;
  margin-top: 16px;
}

.contact-infos {
  border: 1px solid rgba(0,0,0,0.10);
  border-radius: 16px;
  padding: 16px;
  background: rgba(0,0,0,0.02);
}

/* Mobile */
@media (max-width: 960px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }
}

/* =========================
   A PROPOS PREMIUM
========================= */

.about-hero-premium {
  display: flex;
  align-items: center;
  justify-content: center;  /* Centrage horizontal global */
  gap: 60px;                /* Espace entre image et texte */

  max-width: 1200px;
  margin: 0 auto;           /* Centre le bloc dans la page */
  padding: 40px 20px;
}

.about-hero-media {
  border-radius: 22px;
  border: 1px solid rgba(0,0,0,0.10);
  background: rgba(0,0,0,0.02);

  display: block;
  overflow: hidden;

  /* Taille du cadre */
  flex: 0 0 45%;
  width: 100%;
  max-width: 400px;
  height: 600px;
}


.about-hero-media img {
  width: 100%;
  height: 100%;

  object-fit: contain;   /* IMPORTANT */
  background: #F5F1EB;
}


.about-hero-text h1 {
  margin: 0 0 8px;
  flex: 1; 
}

.about-lead {
  margin: 0 0 14px;
  line-height: 1.6;
  opacity: 0.9;
  max-width: 520px;
}

.about-hero-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 14px 0 18px;
}

.about-highlights {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.highlight {
  border: 1px solid rgba(0,0,0,0.10);
  border-radius: 16px;
  padding: 12px 14px;
  background: rgba(0,0,0,0.02);
}

@media (max-width: 900px) {
  .about-hero-premium {
    flex-direction: column;
    text-align: center;
  }

  .about-hero-media {
    width: 100%;
    max-width: 100%;
    height: 300px;
  }

  .about-hero-text {
    max-width: 100%;
  }
}

.highlight-title {
  display: block;
  font-weight: 800;
  margin-bottom: 4px;
}

.highlight-text {
  display: block;
  opacity: 0.85;
  line-height: 1.4;
}

.about-section {
  margin-top: 26px;
}

.section-title {
  margin: 0 0 14px;
  font-size: 1.2rem;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.info-card {
  border: 1px solid rgba(0,0,0,0.10);
  border-radius: 18px;
  padding: 16px;
  background: rgba(0,0,0,0.02);
}

.info-card h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
}

.info-card p {
  margin: 0;
  opacity: 0.9;
  line-height: 1.5;
}

.about-split {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 18px;
  align-items: start;
}

.check-list {
  margin: 0 0 14px;
  padding-left: 18px;
  line-height: 1.7;
}

.note-card {
  border: 1px solid rgba(0,0,0,0.10);
  border-radius: 18px;
  padding: 16px;
  background: rgba(0,0,0,0.02);
}

.note-card h3 {
  margin: 0 0 8px;
}

.muted {
  opacity: 0.85;
  line-height: 1.5;
}

.faq {
  display: grid;
  gap: 10px;
}

.faq-item {
  border: 1px solid rgba(0,0,0,0.10);
  border-radius: 16px;
  padding: 12px 14px;
  background: rgba(0,0,0,0.02);
}

.faq-item summary {
  cursor: pointer;
  font-weight: 800;
}

.faq-item p {
  margin: 10px 0 0;
  opacity: 0.9;
  line-height: 1.5;
}

/* Responsive */
@media (max-width: 980px) {
  .cards-grid {
    grid-template-columns: 1fr;
  }

  .about-split {
    grid-template-columns: 1fr;
  }

  .about-hero-premium {
    grid-template-columns: 1fr;
  }


}

/* =========================
   BANDEAU INFO CAROUSEL
========================= */

.announcement-bar {
  width: 100%;
  display: grid;
  grid-template-columns: 40px 1fr 40px;
  align-items: center;

  padding: 8px 10px;
  background: rgba(0,0,0,0.92);
  color: #fff;
}

.ann-text {
  margin: 0;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.3;
}

.ann-text a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.ann-btn {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.25);
  background: transparent;
  color: #fff;
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
}

.ann-btn:hover {
  background: rgba(255,255,255,0.10);
}

.cart-btn {
  position: relative;
}

.cart-btn .cart-badge {
  position: absolute;
  top: -6px;
  right: -6px;

  min-width: 18px;
  height: 18px;
  padding: 0 6px;

  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 800;

  /*background: rgba(0,0,0,0.85);*/
  color: #fff;

  display: inline-flex;
  align-items: center;
  justify-content: center;
}

html, body {
  overflow: visible !important;
  overflow-x: hidden !important; /* ok pour éviter scroll horizontal */
  overflow-y: auto !important;   /* scroll normal */
}

.subbar {
  padding: 8px 14px;
  border-top: 1px solid rgba(0,0,0,0.08);
  background: #fff;
}

.subbar-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;

  border: 1px solid rgba(0,0,0,0.10);
  background: #fff;
  border-radius: 999px;
  padding: 8px 12px;

  font-weight: 600;
  cursor: pointer;
}

.subbar-back:hover {
  background: rgba(0,0,0,0.04);
}

/* =========================
   SKELETON FICHE PRODUIT
========================= */

.product-skeleton {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  max-width: 1000px;
  margin: 60px auto;
  padding: 0 20px;
}

.sk-media {
  height: 420px;
  border-radius: 18px;
  background: rgba(0,0,0,0.06);
  position: relative;
  overflow: hidden;
}

.sk-lines {
  display: grid;
  gap: 12px;
  align-content: start;
}

.sk-line {
  height: 14px;
  border-radius: 999px;
  background: rgba(0,0,0,0.06);
  position: relative;
  overflow: hidden;
}

.sk-line.w30 { width: 30%; }
.sk-line.w50 { width: 50%; }
.sk-line.w60 { width: 60%; }
.sk-line.w80 { width: 80%; }
.sk-line.w90 { width: 90%; }

/* animation shimmer */
.sk-media::after,
.sk-line::after {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-100%);
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255,255,255,0.35),
    transparent
  );
  animation: shimmer 1.2s infinite;
}

@keyframes shimmer {
  100% { transform: translateX(100%); }
}

@media (max-width: 900px) {
  .product-skeleton {
    grid-template-columns: 1fr;
  }
  .sk-media {
    height: 280px;
  }
}

/* =========================
   FICHE PRODUIT – MINIMAL PREMIUM
========================= */

.product-detail {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 34px;
  max-width: 1100px;
  margin: 34px auto 60px;
  padding: 0 18px;
}

.product-media {
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.10);
  background: rgba(0,0,0,0.02);
}

.product-media img,
.product-media video {
  width: 100%;
  height: 520px;
  object-fit: cover;
  display: block;
}

@media (max-width: 900px) {
  .product-media img,
  .product-media video {
    /*height: 340px;*/
    height: auto;
    min-height: 0  
  }
}

.product-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.product-info h2 {
  margin: 0;
  font-size: 1.6rem;
  letter-spacing: 0.2px;
}

.product-description {
  margin: 0;
  opacity: 0.85;
  line-height: 1.6;
  max-width: 52ch;
}

.product-price {
  margin: 4px 0 0;
  font-size: 1.5rem;
  font-weight: 800;
}

.product-meta-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.product-actions {
  margin-top: 10px;
  border: 1px solid rgba(0,0,0,0.10);
  border-radius: 18px;
  padding: 14px;
  background: rgba(255,255,255,0.65);
}

.product-actions .cart-controls {
  margin-top: 0;
}

.product-actions .added-badge {
  margin-top: 6px;
  display: inline-block;
}

/* CTA minimal */
/*.add-to-cart-btn {
  border-radius: 999px;
  padding: 12px 14px;
}*/

/* Info rassurance */
.reassurance {
  display: grid;
  gap: 10px;
  margin-top: 12px;
  opacity: 0.9;
  font-size: 0.95rem;
}

.reassurance-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.reassurance-icon {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  opacity: 0.75;
}

/* Accordéons minimal */
.product-accordion {
  align-items: flex-start;
  margin-top: 14px;
  border-top: 1px solid rgba(0,0,0,0.08);
}

.product-accordion details {
  border-bottom: 1px solid rgba(0,0,0,0.08);
  padding: 12px 0;
}

.product-accordion summary {
  cursor: pointer;
  font-weight: 800;
  list-style: none;
}

.product-accordion summary::-webkit-details-marker {
  display: none;
}

.product-accordion summary::after {
  content: "+";
  float: right;
  opacity: 0.6;
  font-weight: 900;
}

.product-accordion details[open] summary::after {
  content: "–";
}

.product-accordion p {
  margin: 10px 0 0;
  opacity: 0.85;
  line-height: 1.6;
}

/* Mobile */
@media (max-width: 900px) {
  .product-detail {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}






.quantity-controls button {
  background: rgba(0,0,0,0.92);
  color: #fff;
  border-radius: 999px;
}

.quantity-controls button:disabled {
  opacity: 0.35;
}


/* =========================
   MICRO ANIMATION "AJOUTÉ ✓"
========================= */

@keyframes popSuccess {
  0%   { transform: scale(0.98); opacity: 0.7; }
  60%  { transform: scale(1.03); opacity: 1; }
  100% { transform: scale(1); }
}

.added-badge.flash {
  animation: popSuccess 0.35s ease;
}

.add-to-cart-btn.flash {
  animation: popSuccess 0.35s ease;
}
/* =========================
   TOOLBAR TRI PRODUITS
========================= */

.products-toolbar {
  max-width: 1200px;
  margin: 18px auto 12px;
  padding: 0 16px;

  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.products-toolbar-right {
  align-self: flex-start;
}

.page-title {
  margin: 0;
  font-size: 1.6rem;
  letter-spacing: 0.2px;
}

.sort-label {
  display: flex;
  align-items: center;
  gap: 10px;

  font-weight: 700;
  font-size: 0.95rem;
  opacity: 0.9;
}

.sort-select {
  border: 1px solid rgba(0,0,0,0.14);
  background: #fff;
  border-radius: 999px;

  padding: 10px 40px 10px 14px; /* 👈 + d’espace à droite */
  font-weight: 700;
  cursor: pointer;
  outline: none;

  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;

  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24'%3E%3Cpath d='M7 10l5 5 5-5' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center; /* 👈 flèche décalée à gauche */
  background-size: 18px;
}


.sort-select:hover {
  background: rgba(0,0,0,0.03);
}

@media (max-width: 700px) {
  .products-toolbar {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* =========================
   HERO RESPONSIVE (MOBILE)
========================= */

@media (max-width: 768px) {
  .hero {
    height: 280px;
    padding: 18px;
    align-items: flex-end;
  }

  .hero-overlay {
    text-align: left;
    max-width: 100%;
    padding: 0;
  }

  .hero-overlay h2 {
    font-size: 1.5rem;
    line-height: 1.2;
    margin: 0 0 8px;
  }

  .hero-overlay p {
    font-size: 0.95rem;
    margin: 0 0 14px;
    opacity: 0.95;
  }

  .hero-btn {
    padding: 10px 14px;
    border-radius: 999px;
    font-size: 0.95rem;
    font-weight: 700;
  }
}

/* =========================
   HEADER / TOPBAR RESPONSIVE (MOBILE)
========================= */

@media (max-width: 980px) {
  .topbar {
    padding: 10px 12px;
    min-height: 108px;
  }

  .topbar-left {
    justify-content: flex-start;
    gap: 6px;
  }

  .topbar-center {
    justify-content: center;
    min-width: 0;
  }

  .topbar-right {
    /*justify-content: flex-end;*/
    display: flex;
    align-items: center;
    gap: 6px;
  }

  /* Logo plus petit */
  .brand-logo-img {
    height: 96px;
    max-width: 320px;
  }

  /* Boutons icônes plus compacts */
  .icon-btn {
    padding: 8px 9px;
  }

  .icon {
    width: 18px;
    height: 18px;
  }

 /* Cache seulement le menu desktop */
.desktop-menu {
  display: none;
}

/* Affiche le menu mobile */
.mobile-menu {
  display: flex;
  gap: 14px;
  align-items: center;
}

  /* Si tu as un bouton burger menu */
  .menu-btn {
    display: inline-flex;
  }
}

/* Burger caché sur desktop */
#menuBtn {
  display: none !important;
}

/* Burger visible uniquement sur mobile */
@media (max-width: 820px) {
  #menuBtn {
    display: inline-flex !important;
  }
}

/* =========================
   LOGO CENTRÉ SUR MOBILE
========================= */



/* =========================
   IMAGE 2 AU HOVER (FIABLE)
========================= */

.media-wrapper {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
  border-radius: 14px;
}

/*.media-wrapper .media-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.25s ease;
}*/
.media-wrapper .media-img {
  width: 100%;
  height: 100%;

  display: block;
  object-fit: cover;

  transition:
    opacity 0.4s ease,
    transform 0.4s ease;

  will-change: opacity, transform;
}

/* Image 2 cachée */
.media-wrapper .media-img-2 {
  position: absolute;
  top: 0;
  left: 0;

  opacity: 0;
  transform: scale(1.03);
}
/*.media-wrapper .media-img-2 {
  position: absolute;
  top: 0;
  left: 0;

  width: 100%;
  height: 100%;

  object-fit: cover;

  opacity: 0;
}*/


/* Hover seulement si image_2 existe */
.product-card:has(.media-img-2):hover .media-img-1 {
  opacity: 0;
}

.product-card:has(.media-img-2):hover .media-img-2 {
  opacity: 1;
}


@media (hover: hover) and (pointer: fine) {
  .product-card.has-img2:hover .media-wrapper .media-img-2,
  .product-card.has-img2 .product-link:hover .media-wrapper .media-img-2 {
    opacity: 1;
  }

  .product-card.has-img2:hover .media-wrapper .media-img-1,
  .product-card.has-img2 .product-link:hover .media-wrapper .media-img-1 {
    opacity: 0;
  }
}

.video-cover {
  position: relative;
  width: 100%;
  height: 520px;
  border-radius: 18px;
  overflow: hidden;
  cursor: pointer;
}

.video-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.play-btn {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 72px;
  height: 72px;
  border-radius: 999px;

  border: 1px solid rgba(0,0,0,0.15);
  background: rgba(255,255,255,0.75);
  backdrop-filter: blur(6px);

  font-size: 22px;
  font-weight: 800;
  color: #111;

  display: grid;
  place-items: center;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease;
}

.play-btn:hover {
  transform: scale(1.04);
  background: rgba(255,255,255,0.9);
}

@media (max-width: 820px) {
  .video-cover {
    height: 340px;
  }
}

.back-to-image-btn {
  position: absolute;
  left: 14px;
  bottom: 14px;

  padding: 10px 12px;
  border-radius: 999px;

  border: 1px solid rgba(0,0,0,0.15);
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(6px);

  font-weight: 700;
  font-size: 0.9rem;
  color: #111;

  cursor: pointer;
}

.back-to-image-btn:hover {
  background: rgba(255,255,255,0.95);
}


.variant-swatches {
  display: flex;
  gap: 10px;
  margin-top: 8px;
  /*width: 36px;
  height: 36px;

  border-radius: 50%;

  border: 2px solid transparent;

  cursor: pointer;

  transition: all 0.2s ease;

  position: relative;*/
}

.variant-swatch {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
}

/* Hover */
.variant-swatch:hover {
  transform: scale(1.1);
}

.variant-swatch.active {
  border-color: #111;
}

/* Sélection */
.variant-swatch.is-active {
  border-color: #222;
  transform: scale(1.15);
}

.variant-dropdown {
  margin-top: 12px;
}

#variant-dropdown {
  width: 100%;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,0.15);
  background: #fff;
  font-weight: 600;
}

/*.variant-select {
  width: 100%;
  max-width: 320px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,0.15);
  background: #fff;
  font-weight: 600;
}*/

/* Nom sélectionné */
.variant-selected {
  margin-top: 10px;
  font-size: 14px;
  color: #222;
  font-weight: 500;
}


/* =========================
   PRODUCT PAGE PREMIUM
========================= */

.product-premium {
  max-width: 1200px;
  margin: 60px auto;
  padding: 0 20px;

  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

/* MEDIA */

.product-premium-media {
  cursor: pointer;
  border-radius: 18px;
  width: 100%;
  max-width: 520px;     /* adapte si besoin */
  height: 520px;        /* 🔒 hauteur fixe */
  flex-shrink: 0;       /* ne se compresse pas */
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  background: #f6f6f6;
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.product-premium-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.product-premium-media video {
  width: 100%;
  height: auto;

  display: block;
  border-radius: 6px;

  object-fit: cover;
}


/* INFOS */

.product-premium-info {
  display: flex;
  flex-direction: column;
}

/* TITRE */

.product-title {
  font-size: 2rem;
  margin-bottom: 10px;
}

/* DESCRIPTION */

.product-short-desc {
  font-size: 1rem;
  opacity: 0.85;
  line-height: 1.6;
  margin-bottom: 20px;
}

/* META */

.product-meta {
  display: flex;
  align-items: center;
  gap: 20px;

  margin-bottom: 20px;
}

.product-price {
  font-size: 1.4rem;
  font-weight: 700;
}

.product-stock {
  font-size: 0.9rem;
  opacity: 0.8;
}

/* ACTIONS */

.product-actions {
  margin: 20px 0 30px;
}

/* ACCORDIONS */

.product-accordion {
  border-top: 1px solid rgba(0,0,0,0.1);
}

.product-accordion details {
  border-bottom: 1px solid rgba(0,0,0,0.1);
  padding: 14px 0;
}

.product-accordion summary {
  cursor: pointer;

  display: flex;
  justify-content: space-between;
  align-items: center;

  font-weight: 700;
  font-size: 0.95rem;
  list-style: none;
}

.product-accordion summary::-webkit-details-marker {
  display: none;
}

/*.product-accordion summary .icon {
  font-size: 1.2rem;
  transition: transform 0.25s ease;
}*/

/* Animation + / - */
/*
.product-accordion details[open] .icon {
  transform: rotate(45deg);
}*/

/* Texte */

.product-accordion p {
  margin: 12px 0 0;
  line-height: 1.6;
  opacity: 0.85;
  font-size: 0.95rem;
}

/* MOBILE */

@media (max-width: 900px) {
  .product-premium {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .product-title {
    font-size: 1.6rem;
  }
}

/* =========================
   RENDU MONDIAL RELAY
========================= */

.delivery-section {
  margin: 32px 0;
  padding: 20px;
  border: 1px solid #eee;
  border-radius: 12px;
}

.relay-box {
  margin-top: 12px;
}

.relay-selected {
  background: #f7f7f7;
  padding: 12px;
  border-radius: 8px;
  font-size: 14px;
}

/* Mondial Relay caché par défaut */
.delivery-section {
  display: none;
  margin-top: 16px;
}

/* Conteneur Mondial Relay */
#relaySection {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

/* Zone widget */
#Zone_Widget {
  width: 100% !important;
  max-width: 100% !important;

  min-width: 0 !important;

  overflow: hidden;
  box-sizing: border-box;

  border-radius: 12px;
  background: #fafafa;
  padding: 6px;
}

.shipping-method,
.delivery-section {
  min-width: 0;
}

.cart-layout {
  display: grid;
  grid-template-columns: 1fr 740px; /* ex */
  gap: 24px;
  align-items: start;
}

@media (max-width: 768px) {
  #Zone_Widget {
    max-height: 320px;
  }
}




/* ===============================
   FIX SCROLL MONDIAL RELAY
=============================== */

#Zone_Widget,
#Zone_Widget * {
  box-sizing: border-box;
}

#Zone_Widget {
  max-height: 420px;
  overflow: hidden !important;
}

/* Liste des relais */
#Zone_Widget .MR-List,
#Zone_Widget .MR-ListContainer,
#Zone_Widget .MR-ListContent {
  max-height: 380px !important;
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch;
}

/* Scrollbar plus visible (optionnel) */
#Zone_Widget ::-webkit-scrollbar {
  width: 8px;
}

#Zone_Widget ::-webkit-scrollbar-thumb {
  background: rgba(0,0,0,0.25);
  border-radius: 4px;
}

.choose-variant-btn {
  display: block;
  padding: 10px;
  text-align: center;
  border: 1px solid #333;
  text-decoration: none;
  font-weight: 500;
}

.choose-variant-btn:hover {
  background: #f5f5f5;
}


/* Wrapper */
.select-wrapper {
  position: relative;
  width: 100%;
}

/* Select premium */
.select-wrapper select {
  width: 100%;
  height: 44px;

  padding: 0 44px 0 14px;

  font-size: 15px;
  line-height: 44px;

  border: 1px solid #ddd;
  border-radius: 6px;

  background-color: #fff;

  /* SVG arrow */
  background-image: url("data:image/svg+xml;utf8,\<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'>\<path d='M1 1l5 5 5-5' stroke='%23555' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/>\</svg>");

  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 12px 8px;

  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;

  cursor: pointer;
}

/* Focus */
.select-wrapper select:focus {
  outline: none;
  border-color: #222;
}



#variant-selector {
  margin: 20px 0 28px;
}

/* Bouton replay */
.video-replay-btn {
  position: absolute;

  bottom: 16px;
  right: 16px;

  padding: 6px 12px;

  font-size: 13px;
  font-weight: 500;

  background: rgba(0, 0, 0, 0.7);
  color: #fff;

  border: none;
  border-radius: 999px;

  cursor: pointer;

  opacity: 0;
  pointer-events: none;

  transition: opacity 0.2s ease;
}

/* Visible */
.video-replay-btn.is-visible {
  opacity: 1;
  pointer-events: auto;
}

/* Hover */
.video-replay-btn:hover {
  background: rgba(0, 0, 0, 0.85);
}


/* Dots */
.media-dots {
  position: absolute;

  bottom: 12px;
  left: 50%;

  transform: translateX(-50%);

  display: flex;
  gap: 6px;
}

.media-dot {
  width: 7px;
  height: 7px;

  border-radius: 50%;

  background: rgba(255,255,255,0.6);
}

.media-dot.is-active {
  background: #fff;
}

/* Container avec ratio fixe */
.media-gallery-wrapper {
  position: relative;
  width: 100%;

  aspect-ratio: 1 / 1; /* 🔒 carré (change si besoin) */

  background: #f3f3f3; /* fallback */
  overflow: hidden;
  border-radius: 6px;
}

/* Media inside */
.media-gallery-wrapper img,
.media-gallery-wrapper video {
  position: absolute;

  top: 0;
  left: 0;

  width: 100%;
  height: 100%;

  object-fit: cover;

  display: block;
}

.product-accordion p {
  white-space: pre-line;
}

#cgv-text {
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
}



.loading-stock,
.loading-price {
  opacity: 0.5;
  font-style: italic;
}

/* OVERLAY */



/* OPEN STATE */

/* FIELD */

/* ===========================
   NOTIFY POPUP - FINAL STYLE
=========================== */

#notify-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;

  display: none;
  align-items: center;
  justify-content: center;

  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(2px);
}

#notify-modal.is-open {
  display: flex;
}

/* Box */

#notify-modal .notify-box {
  background: #fff;

  width: 92%;
  max-width: 420px;

  padding: 26px 24px 22px;

  border-radius: 14px;

  box-shadow: 0 12px 30px rgba(0,0,0,0.2);

  text-align: center;

  animation: notify-pop 0.25s ease;
}

/* Animation */

@keyframes notify-pop {
  from {
    opacity: 0;
    transform: translateY(15px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* Title */

#notify-modal h3 {
  margin: 0 0 8px;
  font-size: 1.3rem;
  font-weight: 600;
}

/* Text */

#notify-modal p {
  margin: 0 0 18px;
  font-size: 0.95rem;
  color: #555;
}

/* Input */

#notify-email {
  width: 100%;

  padding: 12px 14px;

  font-size: 1rem;

  border: 1px solid #ddd;
  border-radius: 8px;

  outline: none;

  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}

#notify-email::placeholder {
  color: #aaa;
}

#notify-email:focus {
  border-color: #000;
  box-shadow: 0 0 0 2px rgba(0,0,0,0.12);
}

/* Buttons wrapper */

.notify-actions {
  display: flex;
  gap: 12px;

  margin-top: 20px;
}

/* Buttons */

#notify-modal button {
  flex: 1;

  padding: 11px 14px;

  font-size: 0.95rem;
  font-weight: 500;

  border-radius: 8px;
  border: none;

  cursor: pointer;

  transition:
    background 0.15s,
    transform 0.1s,
    opacity 0.15s;
}

/* Cancel */

#notify-close {
  background: #f1f1f1;
  color: #555;
}

#notify-close:hover {
  background: #e2e2e2;
}

/* Send */

#notify-send {
  background: #000;
  color: #fff;
}

#notify-send:hover {
  background: #222;
}

#notify-send:active {
  transform: scale(0.96);
}

#notify-send:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Espacement vertical popup */

#notify-modal .notify-box > * {
  margin-bottom: 14px;
}

/* Pas de marge sous les boutons */

#notify-modal .notify-actions {
  margin-bottom: 0;
}


/* ===========================
   NOTICE PDF BUTTON
=========================== */

.product-notice {
  margin: 14px 0 18px;
}

/* Button */

.notice-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;

  padding: 8px 14px;

  font-size: 0.9rem;
  font-weight: 500;

  color: #222;
  background: #f6f6f6;

  border: 1px solid #ddd;
  border-radius: 999px;

  text-decoration: none;

  transition:
    background 0.2s,
    border-color 0.2s,
    transform 0.1s,
    box-shadow 0.1s;
}

/* Hover */

.notice-btn:hover {
  background: #fff;
  border-color: #bbb;

  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  transform: translateY(-1px);
}

/* Active */

.notice-btn:active {
  transform: translateY(0);
  box-shadow: none;
}

/* Icon */

.notice-icon {
  font-size: 1rem;
  line-height: 1;
}

/* Text */

.notice-text {
  white-space: nowrap;
}

/* Mobile */

@media (max-width: 480px) {
  .notice-btn {
    font-size: 0.85rem;
    padding: 7px 12px;
  }
}

/* ===========================
  TEXT PARAGRAPHE JUSTIFIE
=========================== */

.product-premium-info > p {
  text-align: justify;
  line-height: 1.3;

  hyphens: auto;
  word-spacing: 0.03em;
}

@media (max-width: 480px) {
  .product-premium-info > p {
    text-align: left;
  }
}

/* =========================
   FIX IMAGE MOBILE PREMIUM
========================= */

@media (max-width: 900px) {

  .product-premium-media {
    height: auto !important;
    max-width: 100%;
  }

  .product-premium-media img,
  .product-premium-media video {
    height: auto !important;
    width: 100%;
    object-fit: cover;
  }

}

/* =========================
   MOBILE NAV SIMPLIFIED
========================= */

/* Desktop visible by default */
.desktop-menu {
  display: flex;
  gap: 18px;
}

/* Mobile hidden by default */
.mobile-menu {
  display: none;
}

/* Mobile mode */
@media (max-width: 900px) {

  .desktop-menu {
    display: none;
  }

  .mobile-menu {
    display: flex;
    align-items: center;
    gap: 18px;
  }

  .mobile-infos {
    position: relative;
  }

  .mobile-infos-btn {
    background: none;
    border: none;
    font-size: 0.95rem;
    cursor: pointer;
  }

  .mobile-infos-dropdown {
    position: absolute;
    top: 100%;
    left: 0;

    display: none;
    flex-direction: column;

    background: #fff;
    padding: 8px 12px;

    box-shadow: 0 6px 18px rgba(0,0,0,0.12);
    border-radius: 8px;
    min-width: 140px;
  }

  .mobile-infos-dropdown a {
    padding: 6px 0;
    text-decoration: none;
    color: #000;
  }

  .mobile-infos.open .mobile-infos-dropdown {
    display: flex;
  }
}

.home-btn {
  display: none;
}

@media (max-width: 980px) {
  .home-btn {
    display: inline-flex;
  }
}

@media (max-width: 980px) {

  /* On garde mobile-menu à gauche */
  .mobile-menu {
    display: flex;
    gap: 10px;
    align-items: center;
  }

  /* On affiche Infos rond à droite */
  .topbar-right .mobile-infos {
    position: relative;
  }

  /* Dropdown */
  .mobile-infos-dropdown {
    display: none;
    position: absolute;
    right: 0;
    top: 110%;
    background: #fff;
    padding: 10px 14px;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
    flex-direction: column;
    min-width: 150px;
    z-index: 999;
  }

  .mobile-infos.open .mobile-infos-dropdown {
    display: flex;
  }

}

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 38px;
  height: 38px;

  border-radius: 50%;
  background: rgba(0, 0, 0, 0.0085);

  transition: background 0.2s ease, transform 0.1s ease;
}

.icon-btn:hover {
  background: rgba(0, 0, 0, 0.08);
}

.icon-btn:active {
  transform: scale(0.95);
}

/* ===== Par défaut (desktop) ===== */

.mobile-menu {
  display: none;
}

.mobile-infos {
  display: none;
}

/* ===== Mobile uniquement ===== */

@media (max-width: 980px) {

  .mobile-menu {
    display: flex;
  }

  .topbar-right .mobile-infos {
    display: block;
  }

}

/* ===== TOPBAR ===== */

.topbar {
  display: flex;
  align-items: center;
  padding: 12px 20px;
}

/* colonnes */

.topbar-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.topbar-center {
  flex: 1;
  display: flex;
  justify-content: center;
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* sécurité boutons */

.icon-btn {
  flex: 0 0 auto;
}

/* ===== FORCE FLEX HEADER (override final) ===== */

.topbar {
  display: flex !important;
  align-items: center !important;
  padding: 12px 20px !important;
   min-height: 125px;
}

.topbar-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.topbar-center {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.topbar-right {
  margin-left: auto;
  display: flex;
  align-items: left;
  gap: 8px;
  padding: 12px 150px; /* 20px à droite */
}

.cart-badge {
  position: absolute;
  top: -4px;
  right: -4px;

  background: #111;
  box-shadow: 0 0 0 2px #fff;     /* noir franc */
  color: #fff;           /* texte blanc */

  font-size: 0.65rem;
  font-weight: 600;

  min-width: 16px;
  height: 16px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;
  padding: 2px 4px;

  line-height: 1;
}

@media (max-width: 900px) {

  .cart-layout {
    display: block !important;
  }

  .cart-left,
  .cart-right {
    width: 100% !important;
    flex: none !important;
  }

}

@media (max-width: 980px) {

  .topbar-right {
    display: flex;
    align-items: center;
  }

  .topbar-right .mobile-infos {
    order: 1;
  }

  .topbar-right .cart-btn {
    order: 2;
  }

}









