/* === MENU MOBILE + HEADER STICKY BCD JEUX (isolé) === */

/* ===== POLICES ===== */
#bcd-mobile-wrapper {
  font-family: 'Poppins', sans-serif;
  background: #fff;
}

@media (max-width: 768px) {
  #bcd-mobile-wrapper {
    padding-top: 60px; /* uniquement sur mobile */
  }
}

/* ===== HEADER MOBILE STICKY ===== */
#bcd-mobile-wrapper .bcd-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1500;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 14px;
  border-bottom: 1px solid #eee;
  height: 60px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
}

#bcd-mobile-wrapper .bcd-header-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

#bcd-mobile-wrapper .bcd-logo { height: 36px; }

#bcd-mobile-wrapper .burger-btn {
  background: none;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: #333;
  padding: 0;
}

#bcd-mobile-wrapper .bcd-header-right {
  display: flex;
  align-items: center;
  gap: 18px;
}

#bcd-mobile-wrapper .bcd-header-right a {
  color: #333;
  font-size: 1.4rem;
  text-decoration: none;
  position: relative;
}

#bcd-mobile-wrapper .bcd-header-right a:hover {
  color: #ff6633;
}

#bcd-mobile-wrapper .cart-bubble {
  position: absolute;
  top: -6px;
  right: -8px;
  background: #ff4d30;
  color: white;
  font-size: 0.7rem;
  font-weight: 600;
  border-radius: 50%;
  padding: 2px 6px;
  line-height: 1;
  min-width: 15px;
  text-align: center;
}

/* ===== MENU OVERLAY ===== */
#bcd-mobile-wrapper .mobile-menu-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: #fff;
  overflow-y: auto;
  z-index: 3000;
  transform: translateY(-100%);
  transition: transform 0.3s ease-in-out;
}

#bcd-mobile-wrapper .mobile-menu-overlay.active {
  transform: translateY(0);
  z-index: 3000;
}

#bcd-mobile-wrapper .menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  border-bottom: 1px solid #eee;
}

#bcd-mobile-wrapper .menu-header h1 {
  font-size: 1.2rem;
  color: #ff6633;
  font-weight: 600;
  margin: 0;
}

#bcd-mobile-wrapper .close-btn {
  background: none;
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
}

/* ===== ONGLET STYLE ===== */
#bcd-mobile-wrapper .tab-nav {
  display: flex;
  justify-content: space-around;
  border-bottom: 1px solid #eee;
}

#bcd-mobile-wrapper .tab-btn {
  flex: 1;
  padding: 12px 0;
  text-align: center;
  font-weight: 500;
  color: #333;
  cursor: pointer;
  transition: color 0.2s;
}

#bcd-mobile-wrapper .tab-btn.active {
  color: #ff6633;
  border-bottom: 2px solid #ff6633;
}

/* ===== SECTIONS ===== */
#bcd-mobile-wrapper h2 {
  font-size: 1rem;
  font-weight: 600;
  color: #333;
  margin: 20px 16px 8px;
}

/* Cartes pastel */
#bcd-mobile-wrapper .pastel-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  margin: 6px 12px;
  border-radius: 10px;
  color: #222;
  text-decoration: none;
  font-weight: 500;
  transition: background 0.2s ease;
}

#bcd-mobile-wrapper .pastel-link:hover { opacity: 0.9; }
#bcd-mobile-wrapper .pastel-blue { background: #d6f4f4; }
#bcd-mobile-wrapper .pastel-pink { background: #ffd8d3; }
#bcd-mobile-wrapper .pastel-green { background: #d9f5d7; }
#bcd-mobile-wrapper .pastel-yellow { background: #fff3d1; }

/* Âge */
#bcd-mobile-wrapper .age-grid {
  display: flex;
  justify-content: space-around;
  align-items: flex-start;
  gap: 10px;
  margin: 0 10px 25px;
  text-align: center;
  flex-wrap: nowrap;
  overflow-x: auto;
}

#bcd-mobile-wrapper .age-item {
  flex: 1;
  max-width: 100px;
  cursor: pointer;
}

#bcd-mobile-wrapper .age-item img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

#bcd-mobile-wrapper .age-item p {
  font-size: 0.9rem;
  color: #222;
  margin: 0;
  font-weight: 500;
}

/* Catégories */
#bcd-mobile-wrapper .category-list { list-style: none; margin: 0; padding: 0; }

#bcd-mobile-wrapper .category-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  background: #f8f8f8;
  border-radius: 10px;
  margin: 6px 12px;
}

#bcd-mobile-wrapper .category-item img {
  width: 55px;
  height: 55px;
  object-fit: cover;
  border-radius: 8px;
  margin-right: 12px;
}

#bcd-mobile-wrapper .category-title {
  flex: 1;
  font-size: 0.95rem;
  font-weight: 500;
  color: #222;
}

#bcd-mobile-wrapper .arrow {
  font-size: 1rem;
  color: #999;
}

#bcd-mobile-wrapper .simple-link {
  display: block;
  padding: 10px 16px;
  color: #333;
  text-decoration: none;
}

#bcd-mobile-wrapper .simple-link:hover {
  background: #f7f7f7;
}

/* Masquer contenu non actif */
#bcd-mobile-wrapper .tab-content {
  display: none;
}

#bcd-mobile-wrapper .tab-content.active {
  display: block;
}

/* ===== Bannière Blog ===== */
#bcd-mobile-wrapper .blog-banner {
  display: block;
  text-decoration: none;
  margin: 20px 12px;
  border-radius: 12px;
  overflow: hidden;
  background: #f8f8f8;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

#bcd-mobile-wrapper .blog-banner:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

#bcd-mobile-wrapper .blog-banner-content {
  display: flex;
  align-items: center;
}

#bcd-mobile-wrapper .blog-banner-content img {
  width: 90px;
  height: 90px;
  object-fit: cover;
  border-radius: 0 12px 12px 0;
  flex-shrink: 0;
}

#bcd-mobile-wrapper .blog-banner-text {
  padding: 10px 14px;
  color: #333;
}

#bcd-mobile-wrapper .blog-banner-text .subtitle {
  font-size: 0.8rem;
  color: #ff6633;
  margin: 0;
  font-weight: 600;
}

#bcd-mobile-wrapper .blog-banner-text h3 {
  margin: 4px 0 6px;
  font-size: 0.95rem;
  font-weight: 600;
  color: #222;
}

#bcd-mobile-wrapper .blog-banner-text .cta {
  font-size: 0.85rem;
  color: #555;
}
