:root {
    --font-main: 'Jost', sans-serif;
    --color-black: #000000; /* Changez #1a1a1a par #000000 pour un noir pur */
    --border-thin: 1px solid #e5e5e5;
}

body {
    margin: 0;
    font-family: var(--font-main);
    color: var(--color-black);
    font-weight: 200; /* Tout le texte du site sera très fin */
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}
/* --- HEADER & FOOTER --- */
header {
  display: flex; justify-content: space-between; align-items: center; padding: 5px 10px;
  position: sticky; top: 0; background: transparent; z-index: 100;
}
.logo {
    font-family: var(--font-main);
    font-weight: 100; /* Le logo sera encore plus fin que le reste */
    font-size: 70px;
    text-transform: uppercase;
    letter-spacing: 5px;
    color: var(--color-black);
}
.icon-btn { background: none; border: none; cursor: pointer; padding: 0; }

footer { padding: 10px 20px; border-top: var(--border-thin); text-align: center; font-size: 11px; text-transform: uppercase; letter-spacing: 1px; color: #000; }

/* --- LAYOUTS --- */
.container { max-width: 1100px; margin: 0 auto; padding: 40px 20px; }
.banniere-img { width: 100%; height: auto; display: block; }
.section-title { text-align: center; font-size: 16px; text-transform: uppercase; letter-spacing: 4px; margin: 40px 0; font-weight: 400; }

/* --- GRILLE PRODUITS --- */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 30px; }
.product-card { cursor: pointer; }
.product-img-wrap { aspect-ratio: 1/1; background: #f9f9f9; overflow: hidden; margin-bottom: 15px; }
.product-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.product-card:hover .product-img { transform: scale(1.03); }
.product-details { display: flex; justify-content: space-between; font-size: 13px; }
.product-name { text-transform: uppercase; margin-bottom: 5px; }
.product-price { font-weight: 400; }

/* --- DETAIL PRODUIT (Page dédiée) --- */
.detail-container { display: flex; gap: 50px; margin-top: 20px; }
.detail-left { width: 55%; position: relative; }
.detail-right { width: 45%; padding-top: 20px; }

/* Images Desktop */
.main-img { width: 100%; height: auto; object-fit: cover; background: #f5f5f5; }
.gallery-thumbs { display: flex; gap: 10px; margin-top: 10px; overflow-x: auto; }
.thumb { width: 70px; height: 70px; object-fit: cover; opacity: 0.6; cursor: pointer; }
.thumb:hover, .thumb.active { opacity: 1; border: 1px solid #000000; }

/* Slider Mobile (Caché sur Desktop) */
.mobile-slider-wrapper { display: none; overflow: hidden; position: relative; aspect-ratio: 1/1; }
.slider-track { display: flex; transition: transform 0.3s ease; height: 100%; }
.slide-img { min-width: 100%; height: 100%; object-fit: cover; }
.slider-nav { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,0.8); width: 30px; height: 30px; display: flex; align-items: center; justify-content: center; border-radius: 50%; border: 1px solid #eee; z-index: 10; }
.prev-btn { left: 10px; } .next-btn { right: 10px; }

/* Infos Produit */
.detail-cat { font-size: 10px; text-transform: uppercase; letter-spacing: 2px; color: #999; margin-bottom: 10px; }
.detail-title { font-size: 26px; font-weight: 300; text-transform: uppercase; margin: 0 0 15px 0; }
.detail-price { font-size: 20px; font-weight: 400; margin-bottom: 30px; }
.detail-desc { font-size: 14px; color: #666; line-height: 1.8; margin-bottom: 40px; }

/* --- BOUTONS & FORMULAIRES --- */
.btn-pill { display: block; width: 100%; padding: 15px; border: 1px solid #000000; background: none; color: #000000; text-transform: uppercase; text-align: center; letter-spacing: 2px; font-size: 11px; cursor: pointer; transition: 0.3s; margin-top: 20px; }
.btn-pill:hover { background: #000000; color: #fff; }

select, input, textarea { width: 100%; padding: 12px; border: var(--border-thin); margin-bottom: 15px; font-family: inherit; }

/* --- DRAWERS (Menu & Panier) --- */
.overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.3); opacity: 0; pointer-events: none; transition: 0.3s; z-index: 500; backdrop-filter: blur(2px); }
.overlay.active { opacity: 1; pointer-events: all; }

.drawer { position: fixed; top: 0; height: 93%; background: #fff; z-index: 1000; transition: transform 0.4s ease; padding: 40px; display: flex; flex-direction: column; width: 320px; box-shadow: 0 0 20px rgba(0,0,0,0.1); }
.drawer-left { left: 0; transform: translateX(-100%); }
.drawer-right { right: 0; transform: translateX(100%); }
.drawer.open { transform: translateX(0); }

.close-drawer { position: absolute; top: 20px; right: 20px; font-size: 24px; background: none; border: none; cursor: pointer; }

/* Menu List */
.nav-list { list-style: none; padding: 0; margin-top: 40px; }
.nav-item { padding: 16px 0; border-bottom: 1px solid #f9f9f9; font-size: 13px; text-transform: uppercase; letter-spacing: 1px; cursor: pointer; display: flex; justify-content: space-between; }
.sub-menu { display: none; padding-left: 15px; margin-top: 10px; }
.sub-menu.show { display: block; }
.sub-link { display: block; padding: 5px 0; color: #777; font-size: 12px; }

/* Panier */
.cart-items { flex-grow: 1; overflow-y: auto; margin: 20px 0; }
.cart-item { display: flex; gap: 15px; margin-bottom: 20px; font-size: 12px; }
.cart-item img { width: 60px; height: 80px; object-fit: cover; }
.cart-item button {
  width: 24px;
  height: 24px;
  border: 1px solid #000000;
  background: none;
  cursor: pointer;
  font-size: 14px;
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
  .detail-container { flex-direction: column; }
  .detail-left, .detail-right { width: 100%; }
  
  /* Cacher galerie desktop, afficher slider mobile */
  .main-img, .gallery-thumbs { display: none; }
  .mobile-slider-wrapper { display: block; }
  
  .drawer { width: 55%; }
}
.nav-item {padding: 12px 0; font-size: 16px;}
.color-picker {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.color-option {
    width: 24px;
    height: 24px;
    border: 2px solid transparent;
    border-radius: 4px;
    cursor: pointer;
    transition: 0.2s;
}

.color-option.selected {
    border-color: #f41717;
    transform: scale(1.1);
}
.color-option:hover {
    transform: scale(1.15);
}
.social-bubbles {
  display: flex;
  gap: 12px;
}

.bubble {
  width: 45px;
  height: 45px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000000;
  text-decoration: none;
}

.bubble i {
  font-size: 22px;
}
.social-bubbles {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  z-index: 999;
}

.bubble {
  background: none;        /* PAS de fond */
  border: none;            /* PAS de contour */
  color: #000000;             /* logo noir */
  font-size: 26px;         /* taille du logo */
  text-decoration: none;
  line-height: 1;
}

.bubble:hover {
  opacity: 0.1;            /* effet léger */
}
