*,*::after,*::before {
  box-sizing: border-box;
}

:root {
  --primary-color: #ffc439;
  --secondary-color: #f8f9fa;
  --accent-color: #ff6b6b;
  --text-color: #333;
  --light-text: #777;
  --border-color: #eee;
  --shadow-light: 0 2px 5px rgba(0,0,0,0.1);
  --shadow-medium: 0 5px 15px rgba(0,0,0,0.1);
  --transition: all 0.3s ease;
}

body{
    margin: 0;
    padding: 0;
    font-family: 'Montserrat', sans-serif;
    background-color: #fff;
}



.topbar {
    overflow: hidden;
    background-color: var(--primary-color);
    height: 30px;
    text-align: center;
    padding: 3px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
  }

    .marquee {
        position: absolute;
        white-space: nowrap;
        will-change: transform;
        animation: scroll-left 10s linear infinite;
    }

    @keyframes scroll-left {
        0% {
            transform: translateX(100%);
        }
        100% {
            transform: translateX(-100%);
        }
    }
.centerbar {
  position: relative;
  margin-top: 23px;
  height: 650px;
  text-align: center;
  overflow: hidden;
}

/* conteneur des images de fond */
.centerbar .backgrounds {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: -1; /* pour rester derrière le contenu */
}

.centerbar .backgrounds .slide-bg {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.centerbar .backgrounds .slide-bg.active {
  opacity: 1;
}

/* Overlay (fond sombre derrière le menu) */
.mobile-menu-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.5);
  opacity: 0; visibility: hidden;
  transition: opacity 0.3s ease;
  z-index: 900;
}
.mobile-menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Container du menu (drawer) */
.mobile-menu-container {
  position: fixed;
  top: 0;
  left: -280px; /* caché à gauche */
  width: 260px;
  height: 100%;
  background: #fff;
  box-shadow: 2px 0 8px rgba(0,0,0,0.2);
  transition: left 0.3s ease-in-out;
  z-index: 1000;
  display: flex;
  flex-direction: column;
}

.mobile-menu-container.active {
  left: 0; /* quand il est ouvert */
}

/* Header du menu */
.mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px;
  border-bottom: 1px solid #eee;
  background: var(--primary-color);
  color: #000;
}

.mobile-menu-header h3 {
  margin: 0;
  font-size: 18px;
}

/* Bouton fermer */
.close-menu {
  background: none;
  border: none;
  font-size: 26px;
  color: white;
  cursor: pointer;
}

/* Liens du menu */
.mobile-menu-content {
  display: flex;
  flex-direction: column;
  padding: 15px;
}

.mobile-menu-content .nav-link2 {
  text-decoration: none;
  color: #2C3E50;
  font-size: 16px;
  font-weight: 500;
  padding: 12px 0;
  border-bottom: 1px solid #eee;
  transition: color 0.2s ease;
}

.mobile-menu-content .nav-link2:hover {
  color: #27ae60; /* vert sur hover */
}


.mobile-search-container {
  position: fixed;
  top: 0; left: 0; right: 0;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,.2);
  transform: translateY(-100%);             /* cachée en haut */
  transition: transform .3s ease;
  z-index: 1001;
}
.mobile-search-container.active {
  transform: translateY(0);                 /* visible */
}

.mobile-search-form {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px;
}
.mobile-search-input {
  flex: 1; padding: 10px; border: none; outline: none; font-size: 16px;
}
.mobile-search-submit, .close-search {
  background: none; border: none; font-size: 20px; cursor: pointer;
}

/* Respect de l’accessibilité */
@media (prefers-reduced-motion: reduce) {
  .mobile-menu-overlay,
  .mobile-menu-container,
  .mobile-search-container { transition: none !important; }
}
.progress-bars {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}

.bar {
  width: 100px;
  height: 5px;
  background-color: rgba(255, 255, 255, 0.3);
  overflow: hidden;
  border-radius: 5px;
  position: relative;
}

.bar::after {
  content: '';
  position: absolute;
  height: 100%;
  width: 0%;
  background-color: white;
  animation: fillBar 6s linear infinite;
}

.bar1::after {
  animation-delay: 0s;
}

.bar2::after {
  animation-delay: 6s;
}

@keyframes fillBar {
  0% { width: 0%; }
  100% { width: 100%; }
}





.flex-center{
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* background-color: #fff; */
    padding: 20px 10px;
    flex-wrap: wrap;
}
.centerbar .logo a{
    width: 100px;
    height: 100px;
}

.centerbar .logo a img{
    width: 80px;
    height: 80px;
}

.centerbar .menu a {
    margin: 0 5px;
}


.centerbar .menu i{
    color: #f4f4f4;
    font-size: 23px;
    
}

.flex-center .cart a{
    margin: 0 5px;
}
.flex-center .cart i{
    color: #f4f4f4;
    font-size: 23px;
}

.cart-icon {
    position: relative;
    display: inline-block;
}

.badge {
    position: absolute;
    top: -8px;
    right: -10px;
    background-color: #fff;
    color: black;
    font-size: 12px;
    padding: 2px 6px;
    border-radius: 50%;
    
}
.hero-simple {
  width: 100%;
  height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  position: relative;
  text-align: center;
}

.hero-content {
  color: white;
  background: rgba(0, 0, 0, 0.25); /* légère ombre pour le contraste */
  padding: 20px;
  border-radius: 8px;
  max-width: 90%;
}

.hero-content h1 {
  font-size: 12px;
  font-weight: 500;
  margin-bottom: 20px;
  letter-spacing: 1px;
}

.hero-btn {
  display: inline-block;
  background: white;
  color: black;
  padding: 12px 25px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.hero-btn:hover {
  background: black;
  color: white;
}
.story-slider {
    overflow-x: auto;
    white-space: nowrap;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 15px 0;
    background: #fff;
    scrollbar-width: none;
  }
  

  .story-slider::-webkit-scrollbar {
    display: none;
  }

  .story-track {
    display: flex;
    gap: 20px;
    padding: 10px;
    justify-content: space-evenly;
  }
  
  .story-item {
    flex: 0 0 auto;
    scroll-snap-align: start;
    border-radius: 50%;
    padding: 10px;
    background: #f9f9f9;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: transform 0.3s;
  }
  
  .story-item:hover {
    transform: scale(1.05);
  }
  
  .story-item img {
    height: 80px;
    width: auto;
    object-fit: contain;
    filter: grayscale(100%);
    transition: filter 0.3s;
    border-radius: 50%;
  }
  
  .story-item img:hover {
    filter: grayscale(0%);
  }

  /* Container global */
.container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    padding: 30px;
    max-width: 1200px;
    margin: auto;
    /* background-color: #fff; */
}

.container2{
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Bloc produit */
.product {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.08);
}

/* Image produit */
.product img {
    max-width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
}

/* Titre */
.product h2 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #333;
}

/* Description */
.product p {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 10px;
}

/* Prix */
.product .price {
    display: block;
    font-weight: bold;
    font-size: 1.1rem;
    color: #27ae60;
    
}

/* Bouton */
.btn {
    padding: 10px 20px;
    background: #27ae60;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    transition: background 0.3s ease;
}

.btn:hover {
    background: #219653;
}
.descriptif {
  text-align: center;
  position: relative;
}

/* --- IMAGE PAR DÉFAUT (mobile) --- */
.image-wrapper img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  display: block;
}

/* --- TEXTE PAR DÉFAUT (mobile) --- */
.descriptif-content {
  padding: 20px;
}

.descriptif .intro {
  color: #C59E73;
  text-transform: uppercase;
  font-size: 1rem;
  font-weight: 600;
}

.descriptif h2 {
  color: #C59E73;
  font-weight: 500;
  text-transform: uppercase;
}

.descriptif p {
  line-height: 1.9;
  color: #332C2B;
}

.descriptif a {
  text-decoration: none;
  background-color: black;
  color: #FFF;
  padding: 15px 25px;
  display: inline-block;
  font-weight: bold;
}

.reviews {
    text-align: center;
    padding: 40px 20px;
    background-color: #fff;
    
  }
  
  .reviews h2 {
    font-size: 24px;
    color: #C59E73;
    margin-bottom: 5px;
  }
  
  .global-rating {
    font-size: 18px;
    color: #333;
    margin-bottom: 30px;
  }
  
  .review-carousel {
    position: relative;
    overflow: hidden;
    max-width: 1200px;
    margin: auto;
  }
  
  .review-track {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 10px;
  }
  
  .review-track::-webkit-scrollbar {
    display: none;
  }
  
  .review-card {
    flex: 0 0 300px;
    background: #fdfdfd;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    padding: 20px;
    text-align: left;
  }
  
  .review-card .stars {
    color: gold;
    font-size: 18px;
    margin-bottom: 10px;
  }
  
  .review-card p {
    font-size: 14px;
    color: #555;
    margin-bottom: 10px;
  }
  
  .review-card .author {
    font-weight: bold;
    font-size: 14px;
    color: #333;
    margin-bottom: 10px;
  }
  
  .review-card img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    display: block;
    margin-top: 10px;
  }
  
  .arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.1);
    border: none;
    font-size: 24px;
    padding: 10px;
    cursor: pointer;
    z-index: 2;
  }
  
  .arrow.left {
    left: 0;
  }
  
  .arrow.right {
    right: 0;
  }
  
  .VENTES{
    text-align: center;
    color: #C59E73;
    font-weight: 500;
  }
  
  .presentation {
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .imgProduct {
    position: relative;
    width: 100%;
  }
  
  .info-bubble {
    position: absolute;
    background-color: white;
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    display: none;
    width: 300px;
    z-index: 10;
    font-size: 14px;
  }
  
  .info-bubble h4 {
    margin-top: 0;
  }
  
  .info-bubble .price {
    color: #c5aa7b;
    font-size: 16px;
    font-weight: bold;
  }
  
  .info-bubble .old-price {
    text-decoration: line-through;
    color: #aaa;
    margin-left: 10px;
  }
  
  .info-bubble .btn {
    display: block;
    width: 100%;
    padding: 10px;
    background: black;
    color: white;
    text-align: center;
    text-decoration: none;
    border-radius: 6px;
    margin-top: 10px;
  }
  
  .product-image {
    width: 100%;
    height: 250px;
    display: block;
  }
  
  .point {
    position: absolute;
    width: 20px;
    height: 20px;
    background: #fff;
    border: 3px solid #007BFF;
    border-radius: 50%;
    animation: pulse 1.5s infinite;
    cursor: pointer;
  }
  
  @keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(0,123,255,0.7); }
    70% { box-shadow: 0 0 0 15px rgba(0,123,255,0); }
    100% { box-shadow: 0 0 0 0 rgba(0,123,255,0); }
  }
  
  .bottom-sheet {
    position: fixed;
    bottom: -100%;
    left: 0;
    width: 100%;
    background: white;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    padding: 20px;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.2);
    transition: bottom 0.3s ease-in-out;
    z-index: 999;
  }
  
  .bottom-sheet.active {
    bottom: 0;
  }
  
  .sheet-content {
    text-align: center;
  }
  
  .sheet-image {
    width: 80px;
    height: auto;
    margin-bottom: 10px;
  }
  
  .close-btn {
    float: right;
    font-size: 24px;
    cursor: pointer;
  }
  
  .price {
    color: #e67e22;
    font-weight: bold;
  }
  
  .old-price {
    text-decoration: line-through;
    color: #aaa;
  }
  
  .kg-price {
    font-size: 13px;
    color: #666;
  }
  
  .btn {
    display: inline-block;
    padding: 12px;
    background: black;
    color: white;
    text-decoration: none;
    margin-top: 15px;
    border-radius: 5px;
  }
  
  .quote-section {
    background-color: #2e2e2e;
    color: #c5aa7b;
    padding: 60px 20px;
    text-align: center;
    font-family: 'Source Sans Pro', sans-serif;
    margin-top: 50px;
  }
  
  .quote-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 900px;
    margin: auto;
    position: relative;
  }
  
  .quote-icon {
    font-size: 80px;
    color: rgba(197, 158, 115, 0.15);
    position: absolute;
    left: 0;
    top: -20px;
  }
  
  .quote-text {
    padding-left: 50px;
  }
  
  .quote-line {
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 20px;
  }
  
  .quote-author {
    font-size: 1rem;
    font-style: italic;
  }

.product-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 20px;
  }
  
  .carousel-track1 {
    display: flex;
    transition: transform 0.3s ease;
  }
  
  .product-card {
    flex: 0 0 100%;
    max-width: 100%;
    box-sizing: border-box;
    text-align: center;
    padding: 10px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
  
  .image-container {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
  }
  
  .image-container img {
    width: 100%;
    height: 100%;
    display: block;
    border-radius: 10px;
  }
  
  .zoom-icon {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: white;
    color: #000;
    padding: 6px ;
    font-size: 18px;
    transition: opacity 0.3s;
    cursor: pointer;
  }
  
  /* .image-container:hover .zoom-icon {
    opacity: 1;
  } */
  
  h3 {
    font-size: 1.1rem;
    margin: 15px 0 10px;
    color: #a8844b;
  }
  
  .price-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
  }
  
  .current-price {
    color: #e67e22;
    font-weight: bold;
    font-size: 1.2rem;
  }
  
  .old-price {
    text-decoration: line-through;
    color: #aaa;
  }
  
  .badge-row {
    margin-top: auto;
    display: flex;
    justify-content: center;
    padding-top: 10px;
  }
  
  .badge2 {
    background-color: #c5aa7b;
    color: white;
    font-size: 0.75rem;
    padding: 4px 10px;
    border-radius: 4px;
    font-weight: bold;
  }
  
  .nav-row {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 15px;
    gap: 15px;
  }
  
  .nav {
    background: transparent;
    border: none;
    font-size: 2rem;
    color: #555;
    cursor: pointer;
  }
  
  .dots {
    display: flex;
    gap: 6px;
  }
  
  .dot {
    width: 8px;
    height: 8px;
    background: #ccc;
    border-radius: 50%;
    display: inline-block;
  }
  
  .dot.active {
    background: #000;
  }
  
  .product-detail {
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding: 30px;
  }
  
  .product-images {
    flex: 1;
  }
  
  .product-info {
    flex: 1;
  }
  
  .main-image {
    width: 100%;
    max-width: 500px;
    display: block;
    margin: auto;
    height: 400px;
  }
  
  .thumbnails {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 15px;
  }
  
  .thumbnails img {
    width: 70px;
    height: auto;
    cursor: pointer;
    border: 1px solid #ccc;
  }
  
  .price {
    font-size: 1.2rem;
    margin: 10px 0;
  }
  
  .price .current {
    color: #e67e22;
    font-weight: bold;
  }
  
  .price .old {
    text-decoration: line-through;
    margin-left: 10px;
    color: #999;
  }
  
  .quantity {
    display: flex;
    gap: 10px;
    align-items: center;
    margin: 15px 0;
  }
  
  .quantity button {
    width: 30px;
    height: 30px;
  }
  
  .add-cart {
    width: 100%;
    background: #ffc439;
    padding: 15px;
    border: none;
    cursor: pointer;
    font-weight: bold;
    margin-bottom: 10px;
  }
  
  .paypal {
    width: 100%;
    background: #ffc439;
    padding: 15px;
    border: none;
    font-weight: bold;
    cursor: pointer;
    margin-bottom: 10px;
  }
  
  .more-payments {
    display: inline-block;
    margin-top: 10px;
    font-size: 14px;
    text-decoration: underline;
    color: #333;
  }

  .product-detail{
    display: none;
  }


  .edito-section {
    padding: 40px 20px;
    background: #fff;
    text-align: center;
    font-family: 'Source Sans Pro', sans-serif;
  }
  
  .edito-title {
    color: #c5aa7b;
    text-transform: uppercase;
    font-size: 0.9rem;
    margin-bottom: 30px;
    letter-spacing: 1px;
  }
  
  .edito-carousel {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }
  
  .edito-track {
    display: flex;
    gap: 20px;
    padding: 10px;
    scroll-snap-align: start;
  }
  
  .edito-card {
    flex: 0 0 220px;
    background: #fff;
    scroll-snap-align: start;
    text-align: left;
    transition: all 0.3s ease;
  }
  
  .edito-card img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 5px;
    transition: all 0.3s ease;
  }
  
  .edito-card h3 {
    font-size: 1.5rem;
    color: #a8844b;
    margin-top: 10px;
    line-height: 1.4;
    font-weight: 400;
    text-transform: uppercase;
  }
  
  /* Optional scrollbar hiding */
  .edito-carousel::-webkit-scrollbar {
    display: none;
  }
  

  .paiement-section {
    max-width: 250px;
    margin: 20px auto;
  }

  .paiement-section hr{
    opacity: 0.5;
    color: #2E2E2E;
  }
  
  label {
    display: block;
    margin-bottom: 5px;
    font-size: 15px;
  }
  
  .quantite-control {
    display: flex;
    align-items: center;
    border: 1px solid #ccc;
    width: 120px;
    justify-content: space-around;
    padding: 5px;
    margin-bottom: 15px;
  }
  
  .quantite-control button {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    width: 30px;
  }
  
  .quantite-valeur {
    font-size: 16px;
    width: 20px;
    text-align: center;
  }
  
  .btn-ajouter {
    
    background-color: #ffc439;
    color: #111;
    border: none;
    padding: 10px;
    width: 100%;
    font-weight: bold;
    cursor: pointer;
    margin-bottom: 10px;
  }
  
  .btn-paypal {
    background-color: #ffc439;
    color: #111;
    border: none;
    padding: 10px;
    width: 100%;
    font-weight: bold;
    font-size: 15px;
    cursor: pointer;
  }
  
  .paypal-logo {
    font-weight: bold;
    margin-left: 5px;
  }
  
  .plus-moyens {
    display: block;
    margin-top: 10px;
    text-align: center;
    font-size: 14px;
    color: #000;
    text-decoration: underline;
    cursor: pointer;
  }
  

 
  

  .carousel-section {
    text-align: center;
    overflow: hidden;
    max-width: 100%;
    margin: 40px auto;
    padding: 0 10px;
  }
  
  .carousel-track {
    display: flex;
    overflow-x: scroll;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    scrollbar-width: none; /* Firefox */
  }
  .carousel-track::-webkit-scrollbar {
    display: none;
  }
  
  .carousel-slide {
    flex: 0 0 100%;
    scroll-snap-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 170px;
  }
  
  .carousel-slide i {
    font-size: 32px;
    color: #2b2b2b;
    margin-bottom: 10px;
  }
  
  .carousel-subtitle {
    font-size: 12px;
    color: #c99e6d;
    font-weight: bold;
    letter-spacing: 1px;
    margin: 0;
    text-transform: uppercase;
  }
  
  .carousel-title {
    font-size: 16px;
    font-weight: normal;
    margin-top: 5px;
    color: #2b2b2b;
  }
  
  .carousel-dots {
    margin-top: 15px;
  }
  
  .carousel-dots .dot2 {
    display: inline-block;
    width: 8px;
    height: 8px;
    margin: 0 4px;
    background-color: #d3d3d3;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s;
  }
  
  .carousel-dots .dot2.active2 {
    background-color: #2b2b2b;
  }
  
  .menu input{
    display: none;
  }

 
  
  /* Effet au scroll */
  .flex-center.scrolled {
    background-color: white;
    
    position: fixed;
    top: 25px;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    border-bottom: 1px solid #e0e0e0;
  }

 

  .flex-center.scrolled i,
.flex-center.scrolled a {
  color: black !important;
}

.flex-center.scrolled .badge{
  background-color: black !important;
  color: white !important;
}

.category-nav{
  display: none;
}
.newsletter-section {
  position: relative;
  background-image: url('../images/newsletters.jpg'); /* <-- remplace par ton image */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
}

.newsletter-content {
  background-color: white;
  padding: 25px 30px;
  max-width: 400px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  text-align: left;
}

.newsletter-content .intro {
  text-transform: uppercase;
  font-size: 13px;
  color: #a39177;
  margin-bottom: 10px;
  letter-spacing: 1px;
}

.newsletter-content h2 {
  font-size: 26px;
  color: #a39177;
  margin-bottom: 15px;
}

.newsletter-content p {
  font-size: 16px;
  color: #333;
  line-height: 1.6;
  margin-bottom: 25px;
}

.newsletter-content form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.newsletter-content input[type="email"] {
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 15px;
  width: 100%;
}

.newsletter-content button {
  padding: 12px;
  background-color: #000;
  color: #fff;
  border: none;
  font-weight: bold;
  cursor: pointer;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

.newsletter-content button:hover {
  background-color: #333;
}

.hidden {
  display: none;
}

.payment-methods {
  margin-top: 15px;
}

.payment-methods img {
  margin: 0 5px;
  height: 30px;
}



/* Bouton de fermeture */
.close-btn {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 26px;
  cursor: pointer;
  color: #000;
  z-index: 10;
}

/* Flèches de navigation */
.nav-btn2 {
  font-size: 40px;
  color: #666;
  cursor: pointer;
  padding: 20px;
  user-select: none;
  z-index: 10;
}

.nav-btn2.left2 {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}

.nav-btn2.right2 {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
}

.side-cart {
  position: fixed;
  top: 0;
  right: -400px;
  width: 350px;
  height: 100%;
  background: white;
  box-shadow: -2px 0 10px rgba(0,0,0,0.1);
  transition: right 0.3s ease;
  z-index: 9999;
  display: flex;
  flex-direction: column;
}



/* Contenu du panier scrollable */
.side-cart .side-cart-content{
  flex: 1; /* occupe tout l’espace dispo */
  overflow-y: auto; /* active le scroll vertical */
  padding: 15px;
}

/* Optionnel : style de la scrollbar */
.side-cart .side-cart-content::-webkit-scrollbar {
  width: 8px;
}
.side-cart .side-cart-content::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 4px;
}
.side-cart .side-cart-content::-webkit-scrollbar-thumb:hover {
  background: #999;
}


.side-cart.active {
  right: 0;
  width: 80%;

}

.side-cart-header {
  padding: 20px;
  border-bottom: 1px solid #eee;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.side-cart-content {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
}

.side-cart-footer {
  padding: 20px;
  border-top: 1px solid #eee;
  background-color: #f8f8f8;
}

.close-cart {
  font-size: 24px;
  cursor: pointer;
}

.checkout-btn {
  width: 100%;
  padding: 12px;
  background: var(--primary-color);
  color: white;
  border: none;
  border-radius: 5px;
}

.checkout-btn:hover{
  cursor: pointer;
}




/* Arrière-plan flouté */
.modal2 {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(3px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999; /* bien au-dessus des autres éléments */
}

/* Contenu de la modale */
.modal-content2 {
  background-color: #fff;
  padding: 25px 30px;
  border-radius: 12px;
  width: 90%;
  max-width: 400px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  position: relative;
  animation: fadeIn 0.3s ease-in-out;
}

/* Animation d'apparition */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Titres */
.modal-content2 h2 {
  margin-bottom: 20px;
  font-size: 22px;
  color: #333;
  text-align: center;
}

/* Champs du formulaire */
.modal-content2 label {
  display: block;
  margin-top: 12px;
  font-weight: bold;
  color: #444;
}

.modal-content2 input[type="text"],
.modal-content2 input[type="tel"] {
  width: 100%;
  padding: 10px 12px;
  margin-top: 5px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 15px;
  box-sizing: border-box;
}

/* Bouton de validation */
.modal-content2 button[type="submit"] {
  margin-top: 20px;
  width: 100%;
  padding: 12px;
  background-color: #28a745;
  border: none;
  border-radius: 8px;
  color: white;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.modal-content2 button[type="submit"]:hover {
  background-color: #218838;
}

.modal-content2 .close-modal:hover{
  cursor: pointer;
}

.centerbar .menu a:last-child {
  display: none!important;
}
.nav-link {
 display: none;
}
.search-form{
  display: none;
}
.account-text{
  display: none;
}

.sur-le-fil-section {
  padding: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.sur-le-fil-section h2 {
  text-align: center;
  margin-bottom: 30px;
  font-size: 28px;
  color: #2c3e50;
}

/* Grille des médias */
.media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 10px;
  margin-bottom: 20px;
}

.media-item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  cursor: pointer;
  aspect-ratio: 1/1;
}

.media-item img,
.media-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.media-item:hover img,
.media-item:hover video {
  transform: scale(1.05);
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.media-item:hover .overlay {
  opacity: 1;
}

.overlay i {
  color: white;
  font-size: 24px;
}

/* Boîte modale */
.media-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  z-index: 1000;
  overflow: hidden;
}

.close-btn2 {
  position: absolute;
  top: 20px;
  right: 20px;
  color: white;
  font-size: 30px;
  cursor: pointer;
  z-index: 1001;
  background: rgba(0, 0, 0, 0.5);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-content {
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
  position: relative;
}

.nav-btn {
  display: none;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: white;
  font-size: 30px;
  cursor: pointer;
  z-index: 1001;
  background: rgba(0, 0, 0, 0.5);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
}

.left {
  left: 10px;
}

.right2 {
  right: 10px;
}

.modal-media {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 20px 20px;
  overflow: hidden;
}

.modal-media img,
.modal-media video {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 8px;
}

.modal-description {
  padding: 15px 20px 40px;
  background-color: #fff;
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
  max-height: 40vh;
  overflow-y: auto;
}

.media-caption {
  white-space: pre-line;
  font-size: 14px;
  line-height: 1.5;
}

/* Animation d'ouverture/fermeture */
@keyframes modalFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes modalSlideUp {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

.media-modal.active {
  display: block;
  animation: modalFadeIn 0.3s ease;
}

.modal-description {
  animation: modalSlideUp 0.3s ease;
}

   /* Styles pour la barre de recherche */
   .search-form {
    position: relative;
    display: flex;
    align-items: center;
    margin-left: 20px;
}

.search-input {
    padding: 8px 15px;
    width: 200px;
    font-size: 14px;
    transition: all 0.3s;
}

.search-input:focus {
    width: 250px;
    outline: none;
    border-color: #4a90e2;
}

.search-btn {
    position: absolute;
    right: 5px;
    background: none;
    border: none;
    cursor: pointer;
    color: #555;
}

.search-results {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
    max-height: 300px;
    overflow-y: auto;
    display: none;
}

.search-result-item {
    padding: 10px 15px;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: background 0.2s;
}

.search-result-item:hover {
    background: #f5f5f5;
}

.search-result-item img {
    width: 40px;
    height: 40px;
    object-fit: cover;
    margin-right: 15px;
    border-radius: 4px;
}

.search-result-item .product-info {
    flex: 1;
}

.search-result-item .product-name {
    font-weight: 500;
    margin-bottom: 3px;
}

.search-result-item .product-price {
    color: #e74c3c;
    font-weight: 600;
}

.no-results {
    padding: 15px;
    text-align: center;
    color: #777;
}

.search-loading {
    padding: 15px;
    text-align: center;
    color: #777;
}

/* Animation de chargement */
.loading-dots:after {
    content: '';
    animation: dots 1.5s infinite;
}

@keyframes dots {
    0%, 20% { content: '.'; }
    40% { content: '..'; }
    60%, 100% { content: '...'; }
}

.warning-message {
  background-color: #fff3cd;
  color: #856404;
  border: 1px solid #ffeeba;
  padding: 10px;
  margin: 15px 0;
  border-radius: 5px;
  font-size: 14px;
  
  line-height: 1.4;
}
  @media (min-width: 768px) {

    .media-grid {
      grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
      gap: 15px;
  }
  
  .nav-btn {
      display: flex;
  }
  
  .modal-content {
      flex-direction: row;
      align-items: center;
  }
  
  .modal-media {
      padding: 20px;
      flex: 2;
  }
  
  .modal-description {
      flex: 1;
      max-height: 100%;
      border-radius: 0;
      padding: 20px;
      overflow-y: auto;
  }
    .story-track{
      justify-content: center;
    }
    .story-item img {
      height: 150px;
    }
    .product-image{
        height: 623px;
    }
    .bottom-sheet {
      display: none;
    }

    .flex-center{
      padding-left: 50px;
      padding-right: 50px;
    }
  
    .centerbar .menu i{
      font-size: 25px;
  }
   
  .centerbar .menu{
    display: flex;
    align-items: center;
  }
  .flex-center .cart i{
      font-size: 25px;
}

.centerbar .logo a img{
  width: 100px;
  height: 100px;
}


.hero-simple {
  justify-content: flex-start;
  padding-left: 100px;
  height: 90vh;
}

.hero-content {
  text-align: left;
  background: none; /* sur grand écran on laisse juste le texte blanc */
  padding: 0;
}

.hero-content h1 {
  font-size: 3.5rem;
}

.hero-btn {
  font-size: 1rem;
  padding: 14px 30px;
}


.centerbar .menu a  , .flex-center .cart a{
  margin: 0 10px;
}
    .product-carousel {
        max-width: 600px;
        margin: auto;
      }
    
      .product-card {
        min-width: 100%;
        padding: 20px;
      }
    
      .image-container img {
        max-height: 300px;
        object-fit: cover;
      }
    
      .carousel-track1 {
        justify-content: center;
      }

      .product-detail {
        display: flex;
        flex-direction: row;
        align-items: flex-start;
      }
    
      .main-image {
        max-width: 100%;
      }
    
      .product-images,
      .product-info {
        flex: 1;
        padding: 10px;
      }

      .product-images {
        position: relative;
        width: 100%;
        max-width: 500px;
        overflow: hidden;
      }
      
      .main-image {
        width: 100%;
        display: block;
        transition: transform 0.5s ease, opacity 0.5s ease;
      }
      
      .main-image.slide-out {
        transform: translateX(-100%);
        opacity: 0;
      }
      
      .main-image.slide-in {
        transform: translateX(100%);
        opacity: 0;
      }
      
      .thumbnails {
        margin-top: 10px;
        display: flex;
        gap: 10px;
      }
      
      .thumbnails img {
        width: 60px;
        height: 60px;
        object-fit: cover;
        cursor: pointer;
        border: 2px solid transparent;
        transition: border-color 0.3s ease;
      }
      
      .thumbnails img:hover,
      .thumbnails img.active {
        border-color: #000;
      }
      
      .product-carousel{
        display: none;
      }

      .quote-container {
        flex-direction: row;
        align-items: center;
        justify-content: center;
        text-align: left;
      }
    
      .quote-icon {
        font-size: 120px;
        position: static;
        margin-right: 30px;
      }
    
      .quote-text {
        padding-left: 0;
      }
    
      .quote-line {
        font-size: 2rem;
      }
    
      .quote-author {
        font-size: 1.1rem;
      }
      .edito-track{
        justify-content: center;
        gap: 50px;
      }
      .edito-card{
        flex: 0 0 300px;
        max-width: 300px;
      }

      .edito-card:hover img {
        transform: scale(1.05);
      }

      .edito-card img {
        height: 200px;
        border-radius: 0px;
      }

      .paiement-section{
        display: none;
      }

      .carousel-track {
        overflow: visible;
        scroll-snap-type: none;
        scrollbar-width: none;
        justify-content: center;
        gap: 20px;
      }
    
      .carousel-slide {
        flex: 0 0 auto;
        width: 200px;
        scroll-snap-align: none;
      }
    
      .carousel-dots {
        display: none;
      }
    }

   
    .mobile-menu-icon, .mobile-search-icon { 
        display: none !important;
    }
  
    @media (max-width: 991px) {
      .mobile-menu-icon, .mobile-search-icon {
          display: inline-block !important;
      }
      
      /* Ajuster l'espacement du logo sur mobile */
      .menu a:nth-child(3) {
          font-size: 18px !important;
      }
      
      /* Cacher le formulaire de recherche desktop sur mobile */
      .search-form {
          display: none;
      }
  }
@media (min-width: 1000px) {
  .centerbar .menu a:last-child{
    margin-right: 0;
    margin-left: 0;
    display: inline-block;
    color: #FFF;
    text-decoration: none;
    font-size: 1.2rem;
    
  }

  .side-cart.active {
    right: 0;
    width: 350px;
  
  }

  .account-link{
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--text-color);
    text-decoration: none;
    transition: var(--transition);
}


.account-link:hover, .cart-link:hover {
    color: var(--primary-color);
}

.account-text {
  display: inline;
    font-size: 14px;
    color: white;
}
  .menu input{
    display: inline-block;
    background-color: transparent;
    outline: none;
    border: none;
    color: #FFF;
    font-size: 1.2rem;
  }

  .flex-center.scrolled .menu input{
    color: black;
  }
  
.flex-center.scrolled .account-text{
  color: #000;
}
  .flex-center.scrolled .menu input::placeholder {
    color: black;
  }
  .menu input::placeholder {
    color: white;
    opacity: 1;
    font-family: 'Source Sans Pro', sans-serif;
  }
  
  .menu input::-webkit-input-placeholder {
    color: white;
  }
  
  .menu input:-moz-placeholder {
    color: white;
    opacity: 1;
  }
  
  .menu input::-moz-placeholder {
    color: white;
    opacity: 1;
  }
  
  .menu input:-ms-input-placeholder {
    color: white;
  }

  .flex-center {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: transparent;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
  }


  .flex-center:hover {
    background-color: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  }

  .flex-center:hover .cart i{
    color: black;
  }

  .flex-center:hover .account-text{
    color: #000;
  }
  .flex-center:hover .badge{
    background-color: #000;
    color: #fff;
  }
  .flex-center:hover .menu a , .flex-center:hover .menu i{
    color: black !important;
  }
  
  .flex-center:hover .menu input{
    color: black;
  }
  .flex-center:hover .menu input::placeholder{
    color: black !important;
  }

  .descriptif {
    min-height: 500px;
    background-image: url('../images/gadget.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0 60px;
  }

  .image-wrapper {
    display: none; /* cacher l'image */
  }

  .descriptif-content {
    background-color: white;
    text-align: left;
    max-width: 400px;
    padding: 40px 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  }

  .product-image {
    height: 400px;
  }

  .newsletter-section {
    justify-content: start;
    padding: 60px 55px;
  }

  .newsletter-content {
    width: 100%;
    max-width: 45%;
    text-align: left;
  }

  .newsletter-content form {
    align-items: center;
  }

  .newsletter-content form {
    display: flex;
    flex-direction: row;
    gap: 15px;
  }
  
  .newsletter-content input[type="email"] {
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 15px;
    width: 100%;
  }
  
  .newsletter-content button {
    padding: 12px;
    background-color: #000;
    color: #fff;
    border: none;
    font-weight: bold;
    cursor: pointer;
    border-radius: 4px;
    transition: background-color 0.3s ease;
  }

  

 

  .centerbar .logo a img{
    display: none;
  }
  .centerbar .menu a:nth-child(1) {
    display: none!important;
  }
  .centerbar .menu a:nth-child(2) {
    display: none!important;
  }

  .centerbar .menu a:last-child {
    display: inline-block!important;
  }

  .nav-link {
    display: inline;
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    padding: 8px 9px;
    position: relative;
    transition: all 0.3s ease;;
  }

  .nav-link.active,
  .nav-link:hover {
      color: #ffc439;
  }
    
  .nav-link.active::after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 0;
      width: 100%;
      height: 2px;
      background-color: #ffc439;
  }

  .flex-center:hover .nav-link{
    color: #000;
  }

  .flex-center:hover .nav-link:hover{
    color: #ffc439
  }

  .flex-center.scrolled .nav-link:hover{
    color: #ffc439!important;
  }
  .flex-center{
    padding: 20px 10px;
    
}

.search-form {
  display: inline-flex;
  align-items: center;
}

.search-input {
  padding: 8px 15px;
  border: 1px solid var(--border-color);
  border-radius: 20px 20px 20px 20px;
  outline: none;
  width: 170px;
  transition: var(--transition);
}

.search-input:focus {
  border-color: var(--primary-color);
}

.search-btn {
  background: var(--primary-color);
  color: white;
  border: none;
  padding: 8px 15px;
  border-radius: 0 20px 20px 0;
  cursor: pointer;
  transition: var(--transition);
}

.search-btn:hover {
  background: #3a56d4;
}

.flex-center{
  padding-left: 30px;
  padding-right: 30px;
}
  
}   

@media (min-width:1200px) {
  
  .centerbar .menu a:first-child {
    display: none;
}

.flex-center:hover .category-nav a{
  color: black !important;
}

.flex-center:hover .category-nav{
  border-color: #2e2e2e17;
}

.flex-center.scrolled .category-nav{
  border-color:#2e2e2e17 ;
}
.category-nav {
    display: block;
    
    backdrop-filter: blur(3px);
    padding:  0;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
    width: 100%;
  }

  .category-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    gap: 30px;
  }

  .category-nav a {
    color: white;
    font-weight: 400;
    text-decoration: none;
    font-size: 1.1rem;
    letter-spacing: 1px;
    transition: color 0.3s ease;
    position: relative;
  }
  .category-nav ul {
    display: flex;
    justify-content: center;
    gap: 30px;
    padding: 10px 0;
    list-style: none;
  }
  
 
  
  .category-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -3px; 
    width: 0%;
    height: 1px;
    background-color: black; 
    transition: width 0.3s ease;
  }
  
  .category-nav a:hover::after {
    width: 100%;
  }
  
  
}
    
  