/**
 * BIDULES.MG — Design System Moderne (Inspiré de la maquette de référence)
 * Palette Bleu Bidules · Surfaces Épurées · Mobile-First App-Shell
 * Typographies: Plus Jakarta Sans & Inter
 */

:root {
  /* ── 1. Tokens de Couleurs Primaires (Identité Officielle depuis logo.png) ── */
  --bidule-primary: #0E4327;          /* Vert Émeraude Forêt Profond (Logo panier / B) */
  --bidule-primary-hover: #145A34;    /* Émeraude riche au survol */
  --bidule-primary-dark: #072E1A;     /* Forêt botanique profond */
  --bidule-primary-deep: #072E1A;
  --bidule-primary-light: #F0FDF4;    /* Surface menthe fraîche */
  --bidule-primary-border: #BBF7D0;   /* Bordure menthe claire */
  --bidule-primary-glow: rgba(14, 67, 39, 0.22);

  /* ── 2. Couleurs Sémantiques & Accents (Feuille Verte & Rouge Madagascar) ── */
  --bidule-leaf: #6BAA3A;             /* Vert Feuille Flora (Pétale droite du logo) */
  --bidule-leaf-hover: #5A922F;
  --bidule-leaf-light: #F4FBEB;
  --bidule-leaf-border: #D9F2B4;

  --bidule-accent-red: #C62828;       /* Rouge Madagascar (Pétale gauche du logo) */
  --bidule-accent-red-hover: #A81F1F;
  --bidule-accent-red-light: #FEF2F2;
  --bidule-accent-green: #6BAA3A;
  --bidule-accent-green-light: #F0FDF4;
  --bidule-accent-amber: #F59E0B;
  --bidule-accent-amber-light: #FFFBEB;

  /* ── 3. Surfaces & Textes ── */
  --bidule-bg: #F6F9F6;
  --bidule-surface: #ffffff;
  --bidule-surface-subtle: #F0FDF4;
  --bidule-border: #E2EAE3;
  --bidule-border-light: #F0FDF4;
  
  --bidule-text-main: #0D1F17;
  --bidule-text-muted: #52665A;
  --bidule-text-light: #889C8F;

  /* ── 4. Typographie & Ombres ── */
  --font-sans: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-display: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --bidule-shadow-xs: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --bidule-shadow-sm: 0 1px 3px 0 rgba(13, 31, 23, 0.08), 0 1px 2px -1px rgba(13, 31, 23, 0.04);
  --bidule-shadow-md: 0 4px 6px -1px rgba(13, 31, 23, 0.07), 0 2px 4px -2px rgba(13, 31, 23, 0.05);
  --bidule-shadow-lg: 0 10px 15px -3px rgba(13, 31, 23, 0.08), 0 4px 6px -4px rgba(13, 31, 23, 0.03);
  --bidule-shadow-hover: 0 14px 28px -4px rgba(14, 67, 39, 0.16), 0 6px 10px -4px rgba(13, 31, 23, 0.05);

  --bidule-r-sm: 8px;
  --bidule-r-md: 12px;
  --bidule-r-lg: 16px;
  --bidule-r-xl: 20px;
  --bidule-r-full: 9999px;

  /* Remplacement des tokens hérités */
  --primary: var(--bidule-primary);
  --primary-container: var(--bidule-primary-light);
  --on-primary: #ffffff;
  --on-primary-container: var(--bidule-primary-dark);
  --surface: var(--bidule-surface);
  --background: var(--bidule-bg);
  --border-subtle: var(--bidule-border);
}

/* ── Reset & Structure Globale ── */
html {
  box-sizing: border-box;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  background-color: var(--bidule-bg) !important;
  color: var(--bidule-text-main) !important;
  font-family: var(--font-sans) !important;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 74px; /* Espace réservé pour la barre de navigation mobile fixe */
  overflow-x: hidden;
}

@media (min-width: 992px) {
  body {
    padding-bottom: 0;
  }
}

h1, h2, h3, h4, .font-head, .site-logo-text, .section-header__title {
  font-family: var(--font-display) !important;
  font-weight: 700;
  color: var(--bidule-text-main);
  letter-spacing: -0.02em;
}

.material-symbols-outlined {
  font-family: 'Material Symbols Outlined' !important;
  font-weight: normal;
  font-style: normal;
  font-size: 24px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-feature-settings: 'liga';
  -webkit-font-smoothing: antialiased;
}

/* ══════════════════════════════════════════════════════════════════
   1. HEADER & NAVIGATION PUBLIQUE
   ══════════════════════════════════════════════════════════════════ */
.site-header {
  background: #ffffff !important;
  border-bottom: 1px solid var(--bidule-border) !important;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04) !important;
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-header__inner {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

/* Logo Bidule */
.site-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  flex-shrink: 0;
}
.site-logo-img {
  height: 38px;
  width: auto;
  object-fit: contain;
}
.site-logo-text {
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--bidule-primary-dark) !important;
  display: flex;
  align-items: baseline;
}
.site-logo-suffix {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--bidule-primary) !important;
  margin-left: 2px;
}

/* Barre de recherche Omnisearch */
.omni-search-bar {
  flex: 1;
  max-width: 640px;
  margin: 0 auto;
}
.omni-search-form {
  display: flex;
  align-items: center;
  background: var(--bidule-bg);
  border: 1.5px solid var(--bidule-border);
  border-radius: var(--bidule-r-full);
  padding: 0.35rem 0.6rem 0.35rem 1rem;
  transition: all 0.2s ease;
}
.omni-search-form:focus-within {
  border-color: var(--bidule-primary);
  background: #ffffff;
  box-shadow: 0 0 0 3px var(--bidule-primary-glow);
}
.omni-search-icon {
  color: var(--bidule-text-muted);
  font-size: 20px;
  margin-right: 0.5rem;
}
.omni-search-form input {
  flex: 1;
  border: none;
  background: transparent;
  font-size: 0.92rem;
  color: var(--bidule-text-main);
  outline: none;
}
.omni-search-form input::placeholder {
  color: var(--bidule-text-muted);
  font-size: 0.88rem;
}
.omni-search-btn {
  background: var(--bidule-primary);
  color: #ffffff;
  border: none;
  border-radius: var(--bidule-r-full);
  padding: 0.45rem 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  cursor: pointer;
  transition: background 0.2s ease;
}
.omni-search-btn:hover {
  background: var(--bidule-primary-hover);
}

/* Boutons d'actions Header */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}
.header-action-btn {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 0.85rem;
  border-radius: var(--bidule-r-full);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--bidule-text-main);
  background: transparent;
  border: 1px solid transparent;
  transition: all 0.15s ease;
}
.header-action-btn:hover {
  background: var(--bidule-surface-subtle);
  color: var(--bidule-primary);
}
.header-action-btn--primary {
  background: var(--bidule-primary) !important;
  color: #ffffff !important;
  padding: 0.55rem 1.15rem;
  box-shadow: 0 2px 4px rgba(14, 67, 39, 0.2);
}
.header-action-btn--primary:hover {
  background: var(--bidule-primary-hover) !important;
  box-shadow: 0 4px 8px rgba(14, 67, 39, 0.3);
}

/* Bouton Panier avec pastille rouge */
.header-cart-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: var(--bidule-r-full);
  background: var(--bidule-bg);
  border: 1px solid var(--bidule-border);
  color: var(--bidule-text-main);
  cursor: pointer;
  transition: all 0.2s ease;
}
.header-cart-btn:hover {
  background: var(--bidule-primary-light);
  border-color: var(--bidule-primary-border);
  color: var(--bidule-primary);
}
.cart-badge-red {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--bidule-accent-red);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 700;
  min-width: 19px;
  height: 19px;
  border-radius: var(--bidule-r-full);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #ffffff;
  box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}

/* ══════════════════════════════════════════════════════════════════
   2. HERO SECTION & SIDEBAR RAYONS (DESKTOP)
   ══════════════════════════════════════════════════════════════════ */
.hero-commerce-wrap {
  max-width: 1360px;
  margin: 1.25rem auto 1.5rem;
  padding: 0 1.25rem;
}
.hero-commerce-grid {
  display: grid;
  grid-template-columns: 270px 1fr;
  gap: 1.5rem;
  align-items: stretch;
}

@media (max-width: 991px) {
  .hero-commerce-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

/* Sidebar "Toutes les catégories" */
.category-sidebar {
  background: #ffffff;
  border: 1px solid var(--bidule-border);
  border-radius: var(--bidule-r-lg);
  box-shadow: var(--bidule-shadow-sm);
  padding: 1rem;
  display: flex;
  flex-direction: column;
}
.category-sidebar__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--bidule-border-light);
  margin-bottom: 0.5rem;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--bidule-text-main);
  text-decoration: none;
}
.category-sidebar__header:hover {
  color: var(--bidule-primary);
}
.category-sidebar__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.category-sidebar__item a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.55rem 0.65rem;
  border-radius: var(--bidule-r-sm);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--bidule-text-main);
  transition: all 0.15s ease;
}
.category-sidebar__item a:hover {
  background: var(--bidule-primary-light);
  color: var(--bidule-primary);
  transform: translateX(3px);
}
.category-sidebar__item .cat-icon {
  font-size: 19px;
  color: var(--bidule-text-muted);
}
.category-sidebar__item a:hover .cat-icon {
  color: var(--bidule-primary);
}

/* Grande Carte Hero Bleue */
.hero-card-banner {
  background: linear-gradient(135deg, #072E1A 0%, #0E4327 55%, #165B36 100%);
  border-radius: var(--bidule-r-xl);
  color: #ffffff;
  padding: 2.5rem 3rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 16px 32px -8px rgba(7, 46, 26, 0.35);
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 380px;
}

.hero-card-content {
  max-width: 520px;
  z-index: 2;
}
.hero-card-headline {
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1.18;
  color: #ffffff;
  margin-bottom: 0.85rem;
}
.hero-card-sub {
  font-size: 1.05rem;
  color: #dbeafe;
  line-height: 1.5;
  margin-bottom: 1.75rem;
}
.hero-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #ffffff;
  color: var(--bidule-primary-dark);
  font-size: 0.95rem;
  font-weight: 700;
  padding: 0.8rem 1.75rem;
  border-radius: var(--bidule-r-full);
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: all 0.2s ease;
}
.hero-card-cta:hover {
  background: #f8fafc;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

/* Mascotte Soa dans le Hero */
.hero-mascot-container {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  position: relative;
  z-index: 2;
  margin-right: 1.5rem;
}
.hero-mascot-img {
  max-height: 330px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 15px 20px rgba(0, 0, 0, 0.25));
  transition: transform 0.3s ease;
}
.hero-mascot-img:hover {
  transform: scale(1.03);
}

/* Pastilles de réassurance dans le Hero */
.hero-trust-badges {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  z-index: 2;
}
.hero-trust-pill {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 0.5rem 0.9rem;
  border-radius: var(--bidule-r-full);
  font-size: 0.82rem;
  font-weight: 600;
  color: #ffffff;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .hero-card-banner {
    padding: 1.75rem 1.25rem;
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
  }
  .hero-card-headline {
    font-size: 1.65rem;
  }
  .hero-mascot-img {
    max-height: 220px;
  }
  .hero-trust-badges {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }
}

/* ══════════════════════════════════════════════════════════════════
   3. BARRE DE RÉASSURANCE COMMERCIALE (4 BLOCS BLANCS)
   ══════════════════════════════════════════════════════════════════ */
.trust-bar-section {
  max-width: 1360px;
  margin: 0 auto 2.5rem;
  padding: 0 1.25rem;
}
.trust-bar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
@media (max-width: 991px) {
  .trust-bar-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 575px) {
  .trust-bar-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
}
.trust-bar-card {
  background: #ffffff;
  border: 1px solid var(--bidule-border);
  border-radius: var(--bidule-r-md);
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: var(--bidule-shadow-xs);
  transition: all 0.2s ease;
}
.trust-bar-card:hover {
  box-shadow: var(--bidule-shadow-sm);
  border-color: var(--bidule-primary-border);
  transform: translateY(-2px);
}
.trust-bar-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: var(--bidule-r-full);
  background: var(--bidule-primary-light);
  color: var(--bidule-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.trust-bar-title {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--bidule-text-main);
  margin-bottom: 2px;
}
.trust-bar-sub {
  font-size: 0.78rem;
  color: var(--bidule-text-muted);
}

/* ══════════════════════════════════════════════════════════════════
   4. NOS MEILLEURES VENTES (CARTES PRODUITS PROPRES)
   ══════════════════════════════════════════════════════════════════ */
.products-rail-section {
  max-width: 1360px;
  margin: 0 auto 3rem;
  padding: 0 1.25rem;
}
.section-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}
.section-main-title {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--bidule-text-main);
}
.section-see-all {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--bidule-primary);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  transition: gap 0.2s ease;
}
.section-see-all:hover {
  gap: 0.55rem;
  color: var(--bidule-primary-hover);
}

.product-cards-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
}
@media (max-width: 1199px) {
  .product-cards-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
@media (max-width: 991px) {
  .product-cards-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 640px) {
  .product-cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.85rem;
  }
}

/* Carte Produit Blanche Premium */
.clean-product-card {
  background: #ffffff;
  border: 1px solid var(--bidule-border);
  border-radius: var(--bidule-r-md);
  padding: 0.85rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.2s ease;
  box-shadow: var(--bidule-shadow-xs);
  text-decoration: none;
  color: inherit;
}
.clean-product-card:hover {
  border-color: var(--bidule-primary-border);
  box-shadow: var(--bidule-shadow-hover);
  transform: translateY(-3px);
}
.card-media-wrap {
  width: 100%;
  aspect-ratio: 1;
  background: var(--bidule-bg);
  border-radius: var(--bidule-r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 0.85rem;
  position: relative;
}
.card-media-img {
  width: 85%;
  height: 85%;
  object-fit: contain;
  transition: transform 0.25s ease;
}
.clean-product-card:hover .card-media-img {
  transform: scale(1.05);
}
.card-product-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--bidule-text-main);
  line-height: 1.35;
  margin-bottom: 0.45rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.7em;
}
.card-product-rating {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.78rem;
  color: var(--bidule-text-muted);
  margin-bottom: 0.65rem;
}
.star-icon {
  color: var(--bidule-accent-amber);
  font-size: 16px;
}
.card-product-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 0.5rem;
}
.card-price-amount {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--bidule-text-main);
}
.card-price-original {
  font-size: 0.78rem;
  color: var(--bidule-text-light);
  text-decoration: line-through;
  display: block;
}
.card-quick-cart-btn {
  width: 36px;
  height: 36px;
  border-radius: var(--bidule-r-full);
  background: var(--bidule-primary-light);
  border: 1px solid var(--bidule-primary-border);
  color: var(--bidule-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s ease;
}
.card-quick-cart-btn:hover {
  background: var(--bidule-primary);
  color: #ffffff;
  transform: scale(1.08);
}

/* ══════════════════════════════════════════════════════════════════
   5. BANNIÈRES PROMOTIONNELLES DUO (SPLIT BANNERS)
   ══════════════════════════════════════════════════════════════════ */
.promo-split-section {
  max-width: 1360px;
  margin: 0 auto 3rem;
  padding: 0 1.25rem;
}
.promo-split-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
@media (max-width: 768px) {
  .promo-split-grid {
    grid-template-columns: 1fr;
  }
}
.promo-split-card {
  border-radius: var(--bidule-r-xl);
  padding: 2rem 2.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  overflow: hidden;
  position: relative;
  box-shadow: var(--bidule-shadow-sm);
  transition: all 0.25s ease;
}
.promo-split-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--bidule-shadow-md);
}

.promo-split-card--fashion {
  background: linear-gradient(135deg, #F0FDF4 0%, #DCFCE7 100%);
}
.promo-split-card--home {
  background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
}

.promo-card-tag {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.4rem;
}
.promo-split-card--fashion .promo-card-tag { color: var(--bidule-primary-dark); }
.promo-split-card--home .promo-card-tag { color: #065f46; }

.promo-card-title {
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--bidule-text-main);
  line-height: 1.2;
  margin-bottom: 0.5rem;
}
.promo-card-sub {
  font-size: 0.88rem;
  color: var(--bidule-text-muted);
  margin-bottom: 1.25rem;
}
.promo-card-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.65rem 1.35rem;
  border-radius: var(--bidule-r-full);
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
}
.promo-split-card--fashion .promo-card-btn {
  background: var(--bidule-primary);
  color: #ffffff;
}
.promo-split-card--fashion .promo-card-btn:hover {
  background: var(--bidule-primary-hover);
}
.promo-split-card--home .promo-card-btn {
  background: #047857;
  color: #ffffff;
}
.promo-split-card--home .promo-card-btn:hover {
  background: #065f46;
}

.promo-card-img-wrap {
  width: 170px;
  height: 170px;
  flex-shrink: 0;
  border-radius: var(--bidule-r-md);
  overflow: hidden;
  box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}
.promo-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ══════════════════════════════════════════════════════════════════
   6. CATÉGORIES POPULAIRES (GRILLE MODERNE)
   ══════════════════════════════════════════════════════════════════ */
.popular-cats-section {
  max-width: 1360px;
  margin: 0 auto 3rem;
  padding: 0 1.25rem;
}
.popular-cats-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 1rem;
}
@media (max-width: 1199px) {
  .popular-cats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
@media (max-width: 640px) {
  .popular-cats-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.popular-cat-box {
  background: #ffffff;
  border: 1px solid var(--bidule-border);
  border-radius: var(--bidule-r-md);
  padding: 1.25rem 0.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.65rem;
  text-decoration: none;
  box-shadow: var(--bidule-shadow-xs);
  transition: all 0.2s ease;
}
.popular-cat-box:hover {
  border-color: var(--bidule-primary-border);
  box-shadow: var(--bidule-shadow-sm);
  transform: translateY(-2px);
}
.popular-cat-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: var(--bidule-r-full);
  background: var(--bidule-primary-light);
  color: var(--bidule-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
}
.popular-cat-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--bidule-text-main);
  line-height: 1.25;
}

/* ══════════════════════════════════════════════════════════════════
   7. POURQUOI CHOISIR BIDULE ? (4 PILIERS DE CONFIANCE)
   ══════════════════════════════════════════════════════════════════ */
.why-bidule-section {
  max-width: 1360px;
  margin: 0 auto 4rem;
  padding: 0 1.25rem;
}
.why-bidule-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
@media (max-width: 991px) {
  .why-bidule-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 575px) {
  .why-bidule-grid {
    grid-template-columns: 1fr;
  }
}
.why-bidule-card {
  background: #ffffff;
  border: 1px solid var(--bidule-border);
  border-radius: var(--bidule-r-md);
  padding: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  box-shadow: var(--bidule-shadow-xs);
}
.why-bidule-icon-wrap {
  width: 40px;
  height: 40px;
  border-radius: var(--bidule-r-full);
  background: var(--bidule-primary-light);
  color: var(--bidule-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 20px;
}
.why-bidule-text {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--bidule-text-main);
  line-height: 1.3;
}

/* ══════════════════════════════════════════════════════════════════
   8. FOOTER MODERNE ÉPURÉ
   ══════════════════════════════════════════════════════════════════ */
.site-footer {
  background: #ffffff !important;
  border-top: 1px solid var(--bidule-border) !important;
  padding: 3.5rem 0 1.5rem !important;
  color: var(--bidule-text-muted) !important;
}
.site-footer a {
  color: var(--bidule-text-muted) !important;
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.15s ease;
}
.site-footer a:hover {
  color: var(--bidule-primary) !important;
}
.footer-container {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 1.25rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1.2fr 1.2fr 2fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}
@media (max-width: 991px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 575px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}
.footer-col-title {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--bidule-text-main);
  margin-bottom: 1.15rem;
}
.footer-links-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

/* Newsletter Input */
.footer-newsletter-form {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.75rem;
  margin-bottom: 1rem;
}
.footer-newsletter-input {
  flex: 1;
  padding: 0.65rem 1rem;
  border: 1px solid var(--bidule-border);
  border-radius: var(--bidule-r-full);
  font-size: 0.85rem;
  outline: none;
  background: var(--bidule-bg);
}
.footer-newsletter-input:focus {
  border-color: var(--bidule-primary);
  background: #ffffff;
}
.footer-newsletter-btn {
  background: var(--bidule-primary);
  color: #ffffff;
  border: none;
  padding: 0.65rem 1.25rem;
  border-radius: var(--bidule-r-full);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease;
}
.footer-newsletter-btn:hover {
  background: var(--bidule-primary-hover);
}

.footer-social-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.footer-social-btn {
  width: 34px;
  height: 34px;
  border-radius: var(--bidule-r-full);
  background: var(--bidule-surface-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bidule-text-muted) !important;
  font-size: 16px;
  transition: all 0.2s ease;
}
.footer-social-btn:hover {
  background: var(--bidule-primary-light);
  color: var(--bidule-primary) !important;
}

.footer-bottom-bar {
  border-top: 1px solid var(--bidule-border-light);
  padding-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--bidule-text-muted);
}
.footer-bottom-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

/* ══════════════════════════════════════════════════════════════════
   9. MOBILE FIRST APP-SHELL (BARRE DE NAVIGATION DU BAS FIXE)
   ══════════════════════════════════════════════════════════════════ */
.mobile-app-nav-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: calc(64px + env(safe-area-inset-bottom, 0px));
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--bidule-border);
  box-shadow: 0 -4px 16px rgba(0, 37, 18, 0.06);
  z-index: 1000;
  padding: 0 0.5rem env(safe-area-inset-bottom, 0px);
}

@media (max-width: 991px) {
  .mobile-app-nav-bar {
    display: flex;
    align-items: center;
    justify-content: space-around;
  }
}

.mobile-nav-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  text-decoration: none;
  color: var(--bidule-text-muted);
  flex: 1;
  height: 100%;
  position: relative;
  transition: color 0.15s ease;
}
.mobile-nav-tab .nav-icon {
  font-size: 24px;
}
.mobile-nav-tab .nav-label {
  font-size: 0.7rem;
  font-weight: 500;
}
.mobile-nav-tab.active {
  color: var(--bidule-primary) !important;
}
.mobile-nav-tab.active .nav-icon {
  font-variation-settings: 'FILL' 1;
}
.mobile-nav-tab.active .nav-label {
  font-weight: 700;
}

.mobile-nav-tab .tab-badge-red {
  position: absolute;
  top: 6px;
  right: calc(50% - 18px);
  background: var(--bidule-accent-red);
  color: #ffffff;
  font-size: 0.65rem;
  font-weight: 700;
  min-width: 16px;
  height: 16px;
  border-radius: var(--bidule-r-full);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid #ffffff;
}

/* ══════════════════════════════════════════════════════════════════
   10. TIROIR LATÉRAL MOBILE (SLIDE-OUT DRAWER)
   ══════════════════════════════════════════════════════════════════ */
.mobile-drawer-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 310px;
  background: #ffffff;
  z-index: 2000;
  box-shadow: 4px 0 24px rgba(0, 0, 0, 0.15);
  transform: translateX(-100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}
.mobile-drawer-wrapper.open {
  transform: translateX(0);
}
.mobile-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(2px);
  z-index: 1999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.mobile-drawer-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.drawer-header-brand {
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--bidule-border-light);
}
.drawer-user-card {
  padding: 1.25rem 1.5rem;
  background: var(--bidule-primary-light);
  display: flex;
  align-items: center;
  gap: 0.85rem;
}
.drawer-user-avatar {
  width: 48px;
  height: 48px;
  border-radius: var(--bidule-r-full);
  object-fit: cover;
  border: 2px solid #ffffff;
  box-shadow: var(--bidule-shadow-xs);
}
.drawer-user-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--bidule-primary-dark);
}
.drawer-user-email {
  font-size: 0.78rem;
  color: var(--bidule-text-muted);
}
.drawer-menu-list {
  list-style: none;
  padding: 1rem 0;
  margin: 0;
  flex: 1;
  overflow-y: auto;
}
.drawer-menu-item a {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.75rem 1.5rem;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--bidule-text-main);
  transition: all 0.15s ease;
}
.drawer-menu-item a:hover {
  background: var(--bidule-surface-subtle);
  color: var(--bidule-primary);
}
.drawer-menu-item a .drawer-icon {
  font-size: 20px;
  color: var(--bidule-text-muted);
}
.drawer-menu-item a:hover .drawer-icon {
  color: var(--bidule-primary);
}
.drawer-footer-logout {
  padding: 1rem 1.5rem 1.5rem;
  border-top: 1px solid var(--bidule-border-light);
}

/* ══════════════════════════════════════════════════════════════════
   13. MODERN TOAST NOTIFICATIONS SYSTEM
   ══════════════════════════════════════════════════════════════════ */
#bidule-toast-container {
  position: fixed;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  pointer-events: none;
  max-width: 420px;
  width: calc(100% - 2rem);
}

@media (min-width: 768px) {
  #bidule-toast-container {
    top: 1.5rem;
    right: 1.5rem;
  }
}

@media (max-width: 767px) {
  #bidule-toast-container {
    top: 1rem;
    left: 50%;
    transform: translateX(-50%);
  }
}

.bidule-toast {
  pointer-events: auto;
  background: #0F172A;
  color: #FFFFFF;
  padding: 0.85rem 1.15rem;
  border-radius: 14px;
  box-shadow: 0 12px 28px -4px rgba(0, 0, 0, 0.35), 0 4px 10px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  font-size: 0.875rem;
  font-weight: 500;
  animation: toastSlideIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  transition: all 0.25s ease;
  border-left: 4px solid var(--bidule-primary);
}

.bidule-toast.toast-success {
  border-left-color: #10B981;
}

.bidule-toast.toast-error {
  border-left-color: #EF4444;
}

.bidule-toast.toast-info {
  border-left-color: #0E4327;
}

.bidule-toast-content {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex: 1;
}

.bidule-toast-icon {
  font-size: 1.35rem;
  flex-shrink: 0;
}

.bidule-toast-close {
  background: none;
  border: none;
  color: #94A3B8;
  cursor: pointer;
  padding: 0.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: color 0.15s;
}

.bidule-toast-close:hover {
  color: #FFFFFF;
}

@keyframes toastSlideIn {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes toastSlideOut {
  from {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  to {
    opacity: 0;
    transform: translateY(-16px) scale(0.95);
  }
}

/* ══════════════════════════════════════════════════════════════════
   14. HORIZONTAL CATEGORY PILLS (TOUCH SWIPE)
   ══════════════════════════════════════════════════════════════════ */
.category-pills-scroll {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 0.35rem 0.25rem 0.75rem;
  scrollbar-width: none;
}

.category-pills-scroll::-webkit-scrollbar {
  display: none;
}

.category-pill-item {
  scroll-snap-align: start;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  border-radius: 9999px;
  padding: 0.45rem 1rem;
  text-decoration: none;
  color: #334155;
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.category-pill-item:hover,
.category-pill-item.active {
  background: linear-gradient(135deg, #072E1A 0%, #0E4327 100%);
  border-color: #0E4327;
  color: #FFFFFF;
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(14, 67, 39, 0.25);
}

.category-pill-item.active .material-symbols-outlined,
.category-pill-item:hover .material-symbols-outlined {
  color: #FFFFFF !important;
}

/* ══════════════════════════════════════════════════════════════════
   15. MOBILE STICKY BUY BAR (CONVERSION BOOST)
   ══════════════════════════════════════════════════════════════════ */
.mobile-sticky-buy-bar {
  position: fixed;
  bottom: 58px; /* Above bottom navigation */
  left: 0;
  right: 0;
  z-index: 990;
  background: #FFFFFF;
  border-top: 1px solid #E2E8F0;
  box-shadow: 0 -6px 20px rgba(0, 0, 0, 0.08);
  padding: 0.65rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  transform: translateY(120%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-sticky-buy-bar.visible {
  transform: translateY(0);
}

/* ══════════════════════════════════════════════════════════════════
   16. RESPONSIVE CART ROW
   ══════════════════════════════════════════════════════════════════ */
@media (max-width: 640px) {
  .cart-item-row {
    flex-wrap: wrap !important;
    gap: 0.75rem !important;
  }
  .cart-item-row .cart-item-controls {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    padding-top: 0.5rem !important;
    border-top: 1px dashed #E2E8F0 !important;
  }
}

/* ══════════════════════════════════════════════════════════════════
   17. MICRO-ANIMATIONS & INTERACTIVITY
   ══════════════════════════════════════════════════════════════════ */
.heart-pop {
  animation: heartPop 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes heartPop {
  0% { transform: scale(1); }
  50% { transform: scale(1.4); }
  100% { transform: scale(1); }
}

.btn-quick-add {
  position: relative;
  overflow: hidden;
}

.btn-quick-add.loading {
  pointer-events: none;
  opacity: 0.75;
}

.btn-quick-add.success {
  background-color: #10B981 !important;
}

/* ══════════════════════════════════════════════════════════════════
   18. MOBILE-FIRST NAVIGATION BAR & ANNOUNCEMENT BAR
   ══════════════════════════════════════════════════════════════════ */
.bidule-header-wrapper {
  position: sticky;
  top: 0;
  z-index: 999;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.06);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.bidule-top-ticker {
  background: linear-gradient(90deg, #02150B 0%, #072E1A 50%, #02150B 100%);
  color: #E2E8F0;
  font-size: 0.76rem;
  padding: 0.35rem 1rem;
  border-bottom: 1px solid rgba(190, 243, 128, 0.12);
  line-height: 1.35;
}

.ticker-rotator-container {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  overflow: hidden;
  height: 22px;
  flex: 1;
  min-width: 0;
  position: relative;
}

.ticker-rotator-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  white-space: nowrap;
  font-size: 0.74rem;
  font-weight: 500;
  color: #E2E8F0;
  position: absolute;
  left: 0;
  right: 0;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.35s ease, transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.ticker-rotator-item.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  position: relative;
}

.beacon-pulse {
  display: inline-block;
  width: 7px;
  height: 7px;
  background-color: #10B981;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: beaconPulseAnim 2s infinite;
  vertical-align: middle;
  flex-shrink: 0;
}

@keyframes beaconPulseAnim {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 6px rgba(16, 185, 129, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

.mobile-vendor-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.45);
  color: #FBBF24 !important;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.22rem 0.55rem;
  border-radius: 9999px;
  text-decoration: none;
  flex-shrink: 0;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  -webkit-tap-highlight-color: transparent;
}

.mobile-vendor-pill:hover,
.mobile-vendor-pill:active {
  background: #F59E0B;
  color: #0F172A !important;
  transform: scale(0.95);
}

.mobile-ticker-help {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #94A3B8;
  text-decoration: none;
  padding: 0.15rem;
  border-radius: 6px;
  transition: color 0.2s;
  flex-shrink: 0;
}

.mobile-ticker-help:hover,
.mobile-ticker-help:active {
  color: #FFFFFF;
}

/* Primary Navbar Styles */
.brand-logo-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-logo-img {
  height: 32px;
  max-height: 32px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
  vertical-align: middle;
  display: block;
}

.brand-text-block {
  display: flex;
  align-items: baseline;
  gap: 0.1rem;
  line-height: 1;
}

.brand-title {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  color: #0F172A;
  letter-spacing: -0.03em;
}

.brand-dot-mg {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  color: #6BAA3A;
}

.brand-flag-badge {
  display: inline-flex;
  align-items: center;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.12rem 0.45rem;
  border-radius: 6px;
  background: #F0FDF4;
  color: #0E4327;
  border: 1px solid #BBF7D0;
  margin-left: 0.35rem;
}

.nav-icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #F8FAFC;
  border: 1.5px solid #E2E8F0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #0F172A;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  -webkit-tap-highlight-color: transparent;
  flex-shrink: 0;
}

.nav-icon-btn:active {
  transform: scale(0.92);
  background: #F0FDF4;
  border-color: #BBF7D0;
}

.nav-icon-btn.primary {
  background: #F0FDF4;
  border-color: #BBF7D0;
  color: #0E4327;
}

.mobile-cart-btn {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #F0FDF4;
  border: 1.5px solid #BBF7D0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  color: #0E4327;
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  -webkit-tap-highlight-color: transparent;
  flex-shrink: 0;
}

.mobile-cart-btn:active {
  transform: scale(0.92);
}

.mobile-avatar-ring {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  padding: 1.5px;
  background: linear-gradient(135deg, #0E4327 0%, #6BAA3A 100%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-decoration: none;
  flex-shrink: 0;
  transition: transform 0.2s;
  -webkit-tap-highlight-color: transparent;
}

.mobile-avatar-ring:active {
  transform: scale(0.92);
}

.mobile-avatar-ring img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  background: #ffffff;
}

/* Mobile Search Pill */
.mobile-search-pill {
  display: flex;
  align-items: center;
  background: #F1F5F9;
  border: 1.5px solid #E2E8F0;
  border-radius: 9999px;
  padding: 0.28rem 0.35rem 0.28rem 0.85rem;
  width: 100%;
  box-sizing: border-box;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  gap: 0.5rem;
}

.mobile-search-pill:focus-within {
  background: #FFFFFF;
  border-color: #0E4327;
  box-shadow: 0 4px 16px rgba(14, 67, 39, 0.16);
}

.mobile-search-input {
  border: none;
  background: transparent;
  outline: none;
  width: 100%;
  font-size: 0.875rem;
  color: #0F172A;
  font-weight: 500;
  font-family: inherit;
}

.mobile-search-btn {
  background: linear-gradient(135deg, #072E1A 0%, #0E4327 50%, #165B36 100%);
  color: #ffffff;
  border: none;
  padding: 0.42rem 0.95rem;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 0.78rem;
  cursor: pointer;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  transition: transform 0.15s, opacity 0.15s;
  -webkit-tap-highlight-color: transparent;
}

.mobile-search-btn:active {
  transform: scale(0.94);
  opacity: 0.9;
}

/* Desktop Search Form Elevation */
.header-search-form:focus-within {
  background: #FFFFFF !important;
  border-color: #0E4327 !important;
  box-shadow: 0 0 0 3px rgba(14, 67, 39, 0.12), 0 4px 14px rgba(0, 0, 0, 0.04) !important;
}

.header-search-submit-btn {
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.header-search-submit-btn:hover {
  box-shadow: 0 4px 12px rgba(14, 67, 39, 0.35) !important;
  transform: translateY(-1px);
}

.header-search-submit-btn:active {
  transform: scale(0.96) !important;
}

/* Mobile Category Swipe Strip with Kinetic Feel */
.category-strip-scroller-wrapper {
  position: relative;
  overflow: hidden;
}

.category-strip-scroller-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 28px;
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.96));
  pointer-events: none;
}

.mobile-header-categories {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  overflow-x: auto;
  padding: 0.3rem 0.85rem 0.6rem;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  border-bottom: 1px solid rgba(226, 232, 240, 0.7);
}

.mobile-header-categories::-webkit-scrollbar {
  display: none;
}

.mobile-category-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.32rem;
  padding: 0.35rem 0.8rem;
  border-radius: 9999px;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  font-size: 0.76rem;
  font-weight: 600;
  color: #334155;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  -webkit-tap-highlight-color: transparent;
}

.mobile-category-chip:active {
  transform: scale(0.94);
}

.mobile-category-chip.active {
  background: #EAF5ED;
  border-color: #6BAA3A;
  color: #0E4327;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(14, 67, 39, 0.12);
}

.mobile-category-chip .chip-icon {
  font-size: 0.95rem;
  vertical-align: middle;
}

/* Micro-viewport refinement (< 360px) */
@media (max-width: 360px) {
  .brand-title {
    font-size: 1.1rem;
  }
  .brand-dot-mg {
    font-size: 0.85rem;
  }
  .nav-icon-btn,
  .mobile-cart-btn {
    width: 36px;
    height: 36px;
    border-radius: 10px;
  }
  .mobile-avatar-ring {
    width: 34px;
    height: 34px;
  }
  .mobile-nav-hide-xs {
    display: none !important;
  }
}

/* ══════════════════════════════════════════════════════════════════
   18.2 OMNISEARCH AUTOCOMPLETE SUGGESTIONS & MEGA-MENU NAVIGATION
   ══════════════════════════════════════════════════════════════════ */
.omni-search-wrapper {
  position: relative;
  width: 100%;
}

.omni-suggestions-box {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid #E2E8F0;
  box-shadow: 0 16px 36px -4px rgba(15, 23, 42, 0.16), 0 4px 12px rgba(0, 0, 0, 0.04);
  max-height: 480px;
  overflow-y: auto;
  z-index: 1060;
  display: none;
  animation: omniSuggestFadeIn 0.18s cubic-bezier(0.16, 1, 0.3, 1);
}

.omni-suggestions-box.active {
  display: block;
}

@keyframes omniSuggestFadeIn {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

.omni-suggest-section-title {
  padding: 0.65rem 1rem 0.35rem;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #64748B;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.omni-suggest-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 1rem;
  text-decoration: none;
  color: #0F172A;
  transition: background 0.15s ease;
  border-bottom: 1px solid #F1F5F9;
  cursor: pointer;
}

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

.omni-suggest-item:hover,
.omni-suggest-item.is-selected {
  background: #F0FDF4;
}

.omni-suggest-cat-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #EAF5ED;
  color: #0E4327;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.omni-suggest-thumb {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  object-fit: cover;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  flex-shrink: 0;
}

.omni-suggest-info {
  flex: 1;
  min-width: 0;
}

.omni-suggest-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: #0F172A;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.omni-suggest-meta {
  font-size: 0.74rem;
  color: #64748B;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.omni-suggest-price {
  font-weight: 800;
  color: #0E4327;
}

.omni-suggest-footer {
  padding: 0.75rem 1rem;
  background: #F8FAFC;
  border-top: 1px solid #E2E8F0;
  text-align: center;
  border-radius: 0 0 16px 16px;
}

.omni-suggest-view-all {
  color: #0E4327;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.omni-suggest-view-all:hover {
  text-decoration: underline;
}

.omni-suggest-empty {
  padding: 1.5rem 1rem;
  text-align: center;
  color: #64748B;
  font-size: 0.85rem;
}

/* Mega-Menu Category Dropdown (Desktop) */
.nav-cat-megamenu-wrap {
  position: relative;
}

.nav-cat-megamenu-panel {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  width: 720px;
  max-width: 90vw;
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid #E2E8F0;
  box-shadow: 0 20px 48px -8px rgba(14, 67, 39, 0.18), 0 4px 16px rgba(0, 0, 0, 0.04);
  z-index: 1040;
  display: none;
  padding: 1.25rem;
  animation: megaMenuSlideDown 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-cat-megamenu-panel.active,
.nav-cat-megamenu-panel.show {
  display: block !important;
}

.nav-cat-megamenu-panel.hidden {
  display: none !important;
}

@keyframes megaMenuSlideDown {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

.nav-cat-megamenu-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
}

.nav-cat-megamenu-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0.85rem;
  border-radius: 10px;
  text-decoration: none;
  color: #0F172A;
  background: #FAFCFA;
  border: 1px solid transparent;
  transition: all 0.18s ease;
}

.nav-cat-megamenu-card:hover {
  background: #F0FDF4;
  border-color: #BBF7D0;
  transform: translateY(-1px);
}

.nav-cat-megamenu-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: #EAF5ED;
  color: #0E4327;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.nav-cat-megamenu-text {
  min-width: 0;
}

.nav-cat-megamenu-name {
  font-size: 0.82rem;
  font-weight: 700;
  color: #0F172A;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nav-cat-megamenu-count {
  font-size: 0.7rem;
  color: #64748B;
}

.nav-cat-megamenu-footer {
  margin-top: 1rem;
  padding-top: 0.85rem;
  border-top: 1px solid #E2E8F0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ══════════════════════════════════════════════════════════════════
   19. MOBILE-FIRST HERO BANNER & SOA MASCOT SYSTEM
   ══════════════════════════════════════════════════════════════════ */
.bidule-hero-banner {
  background: linear-gradient(135deg, #072E1A 0%, #0E4327 50%, #165B36 100%);
  border-radius: 20px;
  padding: 1.25rem 1rem;
  position: relative;
  overflow: hidden;
  color: #ffffff;
  box-shadow: 0 12px 32px -4px rgba(7, 46, 26, 0.32);
  margin-bottom: 1.5rem;
}

.hero-ambient-glow-1 {
  position: absolute;
  top: -40px;
  right: -40px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(107, 170, 58, 0.4) 0%, transparent 70%);
  pointer-events: none;
}

.hero-ambient-glow-2 {
  position: absolute;
  bottom: -40px;
  left: -40px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  position: relative;
  z-index: 2;
}

.hero-text-content {
  flex: 1 1 62%;
  min-width: 0;
}

.hero-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 0.2rem 0.55rem;
  border-radius: 9999px;
  font-size: 0.68rem;
  font-weight: 700;
  margin-bottom: 0.45rem;
  white-space: nowrap;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hero-badge-icon {
  font-size: 0.8rem;
}

.hero-title {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.22;
  margin: 0 0 0.45rem;
  color: #ffffff;
  letter-spacing: -0.02em;
}

.hero-subtitle {
  font-size: 0.78rem;
  line-height: 1.35;
  color: #E0F2FE;
  margin: 0 0 0.7rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hero-feature-chips {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
  margin-bottom: 0.75rem;
}

.hero-chip {
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 9999px;
  padding: 0.15rem 0.45rem;
  font-size: 0.65rem;
  font-weight: 600;
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  white-space: nowrap;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.hero-btn-primary {
  background: #ffffff;
  color: #0E4327 !important;
  font-weight: 700;
  font-size: 0.8rem;
  padding: 0.55rem 1rem;
  border-radius: 9999px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: transform 0.15s, box-shadow 0.15s;
  -webkit-tap-highlight-color: transparent;
  white-space: nowrap;
}

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

.hero-btn-secondary {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff !important;
  font-weight: 600;
  font-size: 0.8rem;
  padding: 0.55rem 0.95rem;
  border-radius: 9999px;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(4px);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  transition: background 0.15s;
  -webkit-tap-highlight-color: transparent;
  white-space: nowrap;
}

.hero-btn-secondary:active {
  background: rgba(255, 255, 255, 0.25);
}

.hero-mascot-wrapper {
  flex: 0 0 38%;
  max-width: 135px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  position: relative;
}

.hero-mascot-halo {
  position: absolute;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.25) 0%, transparent 70%);
  bottom: 0;
  pointer-events: none;
}

.hero-mascot-img {
  max-height: 180px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.25));
  display: block;
}

.hero-floating-promo-badge {
  position: absolute;
  top: -6px;
  right: -4px;
  background: rgba(15, 23, 42, 0.88);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 8px;
  padding: 0.2rem 0.45rem;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
  animation: floatBadgeAnim 3s ease-in-out infinite;
  z-index: 3;
}

.hero-floating-promo-badge .badge-emoji {
  font-size: 0.85rem;
}

.hero-floating-promo-badge .badge-title {
  font-size: 0.65rem;
  font-weight: 800;
  color: #FBBF24;
  line-height: 1.1;
}

.hero-floating-promo-badge .badge-sub {
  font-size: 0.58rem;
  color: #E2E8F0;
  line-height: 1;
}

@keyframes floatBadgeAnim {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
}

/* Tablet & Desktop Refinements (>= 768px) */
@media (min-width: 768px) {
  .bidule-hero-banner {
    padding: 2.75rem 2.5rem;
    border-radius: 24px;
    margin-bottom: 2.5rem;
  }
  .hero-inner-container {
    display: grid;
    grid-template-columns: 1.25fr 0.85fr;
    gap: 2.5rem;
    align-items: center;
  }
  .hero-badge-pill {
    padding: 0.35rem 0.85rem;
    font-size: 0.85rem;
    margin-bottom: 1rem;
  }
  .hero-title {
    font-size: clamp(2rem, 3.5vw, 2.75rem);
    line-height: 1.2;
    margin-bottom: 1rem;
  }
  .hero-subtitle {
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    display: block;
    max-width: 540px;
  }
  .hero-chip {
    padding: 0.25rem 0.65rem;
    font-size: 0.75rem;
  }
  .hero-btn-primary {
    padding: 0.85rem 1.75rem;
    font-size: 0.95rem;
  }
  .hero-btn-secondary {
    padding: 0.85rem 1.5rem;
    font-size: 0.95rem;
    display: inline-flex;
  }
  .hero-mascot-wrapper {
    flex: unset;
    max-width: none;
    min-height: 290px;
  }
  .hero-mascot-img {
    max-height: 290px;
  }
  .hero-mascot-halo {
    width: 220px;
    height: 220px;
  }
  .hero-floating-promo-badge {
    top: 10px;
    right: 20px;
    padding: 0.35rem 0.75rem;
    border-radius: 12px;
  }
  .hero-floating-promo-badge .badge-title {
    font-size: 0.78rem;
  }
  .hero-floating-promo-badge .badge-sub {
    font-size: 0.68rem;
  }
}

/* Micro-screen optimization (< 360px) */
@media (max-width: 360px) {
  .hero-title {
    font-size: 1.1rem;
  }
  .hero-mascot-wrapper {
    flex: 0 0 35%;
    max-width: 110px;
  }
  .hero-mascot-img {
    max-height: 155px;
  }
  .hero-btn-secondary {
    display: none;
  }
  .hero-floating-promo-badge {
    display: none;
  }
}

/* ══════════════════════════════════════════════════════════════════════
   OFFCANVAS CART DRAWER DESIGN SYSTEM
   ══════════════════════════════════════════════════════════════════════ */
.cart-offcanvas-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 1040;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.cart-offcanvas-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.cart-offcanvas-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 440px;
  max-width: 100vw;
  background: #ffffff;
  z-index: 1050;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: -8px 0 36px rgba(15, 23, 42, 0.22);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-sizing: border-box;
}
.cart-offcanvas-drawer.active {
  transform: translateX(0);
}

.cart-offcanvas-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  background: #ffffff;
  border-bottom: 1px solid #E2E8F0;
  flex-shrink: 0;
}

.cart-offcanvas-close-btn {
  background: #F1F5F9;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #475569;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, transform 0.15s;
}
.cart-offcanvas-close-btn:hover {
  background: #E2E8F0;
  color: #0F172A;
  transform: rotate(90deg);
}

.cart-offcanvas-body {
  padding: 1.25rem;
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.cart-drawer-checkout-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(14, 67, 39, 0.35);
}
.cart-drawer-checkout-btn:active {
  transform: translateY(0);
}

@media (max-width: 640px) {
  .cart-offcanvas-drawer {
    width: 100vw;
    border-radius: 20px 20px 0 0;
  }
}

/* ══════════════════════════════════════════════════════════════════════
   FLOATING OMNICHANNEL CONTACT & SOCIAL SHARE WIDGETS
   ══════════════════════════════════════════════════════════════════════ */
.omni-widget {
  position: fixed;
  left: 1.5rem;
  bottom: 2rem;
  z-index: 9995;
}
@media (max-width: 768px) {
  .omni-widget {
    left: 1rem;
    bottom: calc(72px + env(safe-area-inset-bottom));
  }
}

.omni-launcher {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, #072E1A 0%, #0E4327 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  box-shadow: 0 10px 26px rgba(14, 67, 39, 0.38);
  transition: transform 0.2s, box-shadow 0.2s;
  -webkit-tap-highlight-color: transparent;
}
.omni-launcher:hover {
  transform: scale(1.06);
  box-shadow: 0 14px 32px rgba(14, 67, 39, 0.48);
}
.omni-launcher:active {
  transform: scale(0.95);
}

.omni-pulse {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(107, 170, 58, 0.65);
  animation: omniPulseRing 2s cubic-bezier(0.24, 0, 0.38, 1) infinite;
  pointer-events: none;
}
@keyframes omniPulseRing {
  0% { transform: scale(0.9); opacity: 0.9; }
  100% { transform: scale(1.45); opacity: 0; }
}

.omni-badge-pulse {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.25);
  animation: pulseDot 1.8s infinite;
}
@keyframes pulseDot {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.5); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.omni-menu {
  position: absolute;
  left: 0;
  bottom: 66px;
  width: min(340px, calc(100vw - 2rem));
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid #E2EAE3;
  box-shadow: 0 20px 48px rgba(13, 31, 23, 0.22);
  overflow: hidden;
  animation: omniMenuIn 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 10000;
}
@keyframes omniMenuIn {
  from { opacity: 0; transform: translateY(12px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.omni-menu-header {
  background: #0F172A;
  color: #ffffff;
  padding: 0.9rem 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.omni-menu-body {
  padding: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  background: #ffffff;
}

.omni-item {
  width: 100%;
  padding: 0.7rem 0.85rem;
  border-radius: 12px;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: #0F172A;
  transition: all 0.2s ease;
  box-sizing: border-box;
}
.omni-item:hover {
  background: #F0FDF4;
  border-color: #BBF7D0;
  transform: translateX(3px);
}

.omni-icon-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.omni-item-text {
  flex: 1;
  min-width: 0;
}
.omni-item-text strong {
  display: block;
  font-size: 0.86rem;
  font-weight: 700;
  color: #0F172A;
  line-height: 1.25;
}
.omni-item-text small {
  display: block;
  font-size: 0.72rem;
  color: #64748B;
  margin-top: 0.15rem;
}

/* Floating Share Widget */
.mobile-share-widget {
  position: fixed;
  left: 1.5rem;
  bottom: calc(2rem + 62px);
  z-index: 9994;
}
@media (max-width: 768px) {
  .mobile-share-widget {
    left: 1rem;
    bottom: calc(134px + env(safe-area-inset-bottom));
  }
}

.mobile-share-trigger {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid #E2E8F0;
  background: #ffffff;
  color: #0F172A;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.12);
  transition: transform 0.2s, background 0.2s;
  -webkit-tap-highlight-color: transparent;
}
.mobile-share-trigger:hover {
  transform: scale(1.06);
  background: #F8FAFC;
}
.mobile-share-trigger:active {
  transform: scale(0.95);
}

.mobile-share-menu {
  position: absolute;
  left: 0;
  bottom: 56px;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  animation: omniMenuIn 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.share-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid #E2E8F0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.14);
  transition: transform 0.2s ease;
}
.share-btn:hover {
  transform: scale(1.1);
}
.share-native { background: #0F172A; color: #ffffff; border: none; }
.share-wa { background: #22C55E; color: #ffffff; border: none; }
.share-fb { background: #1877F2; color: #ffffff; border: none; }
.share-copy { background: #ffffff; color: #0F172A; }

@media (max-width: 768px) {
  .omni-widget {
    right: 0.9rem;
    bottom: calc(4.75rem + env(safe-area-inset-bottom, 0px));
  }
  .mobile-share-widget {
    left: 0.9rem;
    bottom: calc(4.75rem + env(safe-area-inset-bottom, 0px));
  }
}

/* ══════════════════════════════════════════════════════════════════════
   REFINED MOBILE-FIRST THIRD NAVIGATION BAR & CATEGORY STRIP
   ══════════════════════════════════════════════════════════════════════ */
.bidule-mobile-command-bar {
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid rgba(226, 232, 240, 0.85);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
  position: relative;
  z-index: 40;
}

.mobile-search-pill-wrapper {
  padding: 0.45rem 0.85rem 0.35rem;
}

.mobile-search-pill {
  display: flex;
  align-items: center;
  background: #F8FAFC;
  border: 1.5px solid #E2E8F0;
  border-radius: 9999px;
  padding: 0.25rem 0.35rem 0.25rem 0.85rem;
  width: 100%;
  box-sizing: border-box;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  gap: 0.5rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.02);
}
.mobile-search-pill:focus-within {
  background: #FFFFFF;
  border-color: #0E4327;
  box-shadow: 0 4px 16px rgba(14, 67, 39, 0.16);
}

.mobile-search-input {
  border: none;
  background: transparent;
  outline: none;
  width: 100%;
  font-size: 0.875rem;
  color: #0F172A;
  font-weight: 500;
  font-family: inherit;
}
.mobile-search-input::placeholder {
  color: #94A3B8;
  font-size: 0.82rem;
}

.mobile-search-btn {
  background: linear-gradient(135deg, #072E1A 0%, #0E4327 50%, #165B36 100%);
  color: #ffffff;
  border: none;
  padding: 0.45rem 1rem;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 0.78rem;
  cursor: pointer;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  transition: transform 0.15s, box-shadow 0.15s;
  -webkit-tap-highlight-color: transparent;
  box-shadow: 0 2px 6px rgba(14, 67, 39, 0.25);
}
.mobile-search-btn:active {
  transform: scale(0.94);
}

.category-strip-scroller-wrapper {
  position: relative;
  overflow: hidden;
}

.mobile-header-categories {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  overflow-x: auto;
  padding: 0.25rem 0.85rem 0.55rem;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
}
.mobile-header-categories::-webkit-scrollbar {
  display: none;
}

.mobile-category-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.38rem 0.85rem;
  border-radius: 9999px;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  font-size: 0.76rem;
  font-weight: 600;
  color: #334155;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  -webkit-tap-highlight-color: transparent;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
}
.mobile-category-chip:active {
  transform: scale(0.94);
}
.mobile-category-chip.active {
  background: linear-gradient(135deg, #072E1A 0%, #0E4327 100%);
  border-color: #0E4327;
  color: #ffffff !important;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(14, 67, 39, 0.32);
}
.mobile-category-chip.active .chip-icon {
  color: #ffffff !important;
}

.mobile-category-chip .chip-icon {
  font-size: 1.05rem;
  vertical-align: middle;
}

/* ── BIDULES MODERN PRODUCT CARD COMPONENT ────────────────────────── */
.bidule-product-card {
  background: #ffffff;
  border: 1px solid #E2EAE3;
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  height: 100%;
  box-shadow: 0 1px 3px rgba(13, 31, 23, 0.04), 0 4px 10px rgba(13, 31, 23, 0.02);
}

.bidule-product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 36px -6px rgba(14, 67, 39, 0.12), 0 6px 14px -3px rgba(14, 67, 39, 0.06);
  border-color: #86EFAC;
}

.product-card-media-wrap {
  position: relative;
  padding-top: 100%;
  background: radial-gradient(circle at center, #FFFFFF 0%, #F8FAFC 100%);
  overflow: hidden;
  border-radius: 17px 17px 0 0;
}

.product-card-media-link {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem;
}

.product-card-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.bidule-product-card:hover .product-card-img {
  transform: scale(1.06);
}

.product-card-badges {
  position: absolute;
  top: 10px;
  left: 10px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  z-index: 2;
  pointer-events: none;
}

.badge-discount {
  background: linear-gradient(135deg, #EF4444 0%, #DC2626 100%);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.22rem 0.55rem;
  border-radius: 9999px;
  box-shadow: 0 3px 8px rgba(220, 38, 38, 0.35);
  display: inline-flex;
  align-items: center;
  gap: 2px;
  letter-spacing: -0.01em;
}

.badge-discount .badge-ico {
  font-size: 0.85rem;
}

.badge-vita {
  background: rgba(255, 255, 255, 0.94);
  color: #0E4327;
  border: 1px solid #BBF7D0;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  border-radius: 9999px;
  backdrop-filter: blur(6px);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.badge-featured {
  background: #0E4327;
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  box-shadow: 0 2px 6px rgba(14, 67, 39, 0.25);
}

.badge-featured .badge-ico {
  font-size: 0.85rem;
  color: #FBBF24;
}

.badge-stockout {
  background: #475569;
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.18rem 0.5rem;
  border-radius: 9999px;
}

.badge-lowstock {
  background: #FFFBEB;
  color: #B45309;
  border: 1px solid #FCD34D;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.18rem 0.5rem;
  border-radius: 9999px;
}

.product-card-wishlist-form {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 3;
  margin: 0;
}

.btn-wishlist-circle {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(226, 234, 227, 0.85);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  color: #64748B;
}

.btn-wishlist-circle:hover {
  transform: scale(1.12);
  background: #ffffff;
  color: #EF4444;
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.18);
}

.btn-wishlist-circle.is-active,
.btn-wishlist-circle:active {
  transform: scale(0.92);
  color: #DC2626;
}

.btn-wishlist-circle .material-symbols-outlined {
  font-size: 1.25rem;
}

.product-card-content {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: space-between;
  gap: 0.75rem;
}

.product-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.75rem;
}

.product-card-cat {
  color: #64748B;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.72rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-card-origin {
  background: #F0FDF4;
  color: #0E4327;
  border: 1px solid #BBF7D0;
  padding: 0.12rem 0.45rem;
  border-radius: 9999px;
  font-size: 0.7rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  flex-shrink: 0;
}

.product-card-origin .meta-pin {
  font-size: 0.8rem;
  color: #10B981;
}

.product-card-vendor {
  background: #F8FAFC;
  color: #475569;
  border: 1px solid #E2E8F0;
  padding: 0.12rem 0.45rem;
  border-radius: 9999px;
  font-size: 0.7rem;
  font-weight: 600;
  max-width: 110px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-card-title {
  font-family: var(--font-display, 'Plus Jakarta Sans', sans-serif);
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.35;
  margin: 0;
  color: #0D1F17;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.45rem;
}

.product-card-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.15s ease;
}

.product-card-title a:hover {
  color: #0E4327;
}

.product-card-rating {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.78rem;
}

.stars-row {
  display: flex;
  color: #F59E0B;
}

.stars-row .star-icon {
  font-size: 0.95rem;
}

.rating-number {
  font-weight: 700;
  color: #0D1F17;
}

.rating-count {
  color: #889C8F;
}

.rating-new {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 0.75rem;
  color: #0E4327;
  font-weight: 600;
  background: #F0FDF4;
  padding: 0.1rem 0.45rem;
  border-radius: 6px;
}

.product-card-footer {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.product-card-price-wrap {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.price-current {
  font-family: var(--font-display, 'Plus Jakarta Sans', sans-serif);
  font-size: 1.18rem;
  font-weight: 800;
  color: #0E4327;
  letter-spacing: -0.02em;
}

.price-original {
  font-size: 0.82rem;
  color: #94A3B8;
  text-decoration: line-through;
  font-weight: 500;
}

.product-card-add-form {
  margin: 0;
}

.btn-card-add {
  width: 100%;
  min-height: 44px;
  background: linear-gradient(135deg, #072E1A 0%, #0E4327 100%);
  color: #ffffff;
  border: none;
  padding: 0.65rem 1rem;
  border-radius: 12px;
  font-family: var(--font-display, 'Plus Jakarta Sans', sans-serif);
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  box-shadow: 0 3px 8px rgba(14, 67, 39, 0.2);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  -webkit-tap-highlight-color: transparent;
}

.btn-card-add:hover:not(.is-disabled) {
  background: linear-gradient(135deg, #0E4327 0%, #155e38 100%);
  box-shadow: 0 6px 16px rgba(14, 67, 39, 0.3);
  transform: translateY(-1px);
}

.btn-card-add:active:not(.is-disabled) {
  transform: translateY(0) scale(0.98);
}

.btn-card-add.is-disabled {
  background: #E2E8F0;
  color: #94A3B8;
  box-shadow: none;
  cursor: not-allowed;
}

.btn-card-add .btn-ico {
  font-size: 1.15rem;
}

/* ── BIDULES STITCH-ALIGNED PAGINATION COMPONENT ──────────────────── */
.bidule-pagination {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  margin: 2.5rem 0 1.5rem;
  width: 100%;
}

@media (min-width: 768px) {
  .bidule-pagination {
    flex-direction: row;
    justify-content: space-between;
  }
}

.pagination-info {
  font-family: var(--font-body, 'Inter', sans-serif);
  font-size: 0.88rem;
  color: #52665A;
  text-align: center;
}

.pagination-highlight {
  font-weight: 700;
  color: #0D1F17;
}

.pagination-controls {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: #ffffff;
  padding: 0.35rem 0.5rem;
  border-radius: 9999px;
  border: 1px solid #E2EAE3;
  box-shadow: 0 2px 6px rgba(13, 31, 23, 0.04);
}

.pagination-nav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  min-height: 40px;
  padding: 0 0.9rem;
  border-radius: 9999px;
  font-family: var(--font-display, 'Plus Jakarta Sans', sans-serif);
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  background: #F8FAFC;
  color: #0D1F17;
  border: 1px solid #E2E8F0;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  -webkit-tap-highlight-color: transparent;
}

.pagination-nav-btn:hover:not(.is-disabled) {
  background: #F0FDF4;
  color: #0E4327;
  border-color: #BBF7D0;
  transform: translateY(-1px);
}

.pagination-nav-btn.is-disabled {
  opacity: 0.45;
  cursor: not-allowed;
  background: #F1F5F9;
  color: #94A3B8;
  border-color: #E2E8F0;
}

.pagination-nav-btn .material-symbols-outlined {
  font-size: 1.15rem;
}

.pagination-mobile-counter {
  display: none;
  font-family: var(--font-display, 'Plus Jakarta Sans', sans-serif);
  font-size: 0.85rem;
  font-weight: 700;
  color: #0E4327;
  padding: 0 0.5rem;
}

.pagination-numbers-wrap {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.pagination-num {
  min-width: 38px;
  height: 38px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display, 'Plus Jakarta Sans', sans-serif);
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  color: #0D1F17;
  background: transparent;
  border: 1px solid transparent;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.pagination-num:hover:not(.is-active) {
  background: #F0FDF4;
  color: #0E4327;
  border-color: #BBF7D0;
}

.pagination-num.is-active {
  background: linear-gradient(135deg, #072E1A 0%, #0E4327 100%);
  color: #ffffff;
  border-color: #0E4327;
  box-shadow: 0 4px 10px rgba(14, 67, 39, 0.3);
}

.pagination-ellipsis {
  color: #94A3B8;
  font-weight: 700;
  padding: 0 0.3rem;
  user-select: none;
}

@media (max-width: 640px) {
  .pagination-numbers-wrap {
    display: none;
  }
  .pagination-mobile-counter {
    display: inline-block;
  }
  .pagination-controls {
    width: 100%;
    justify-content: space-between;
  }
  .pagination-nav-btn {
    min-height: 44px;
    padding: 0 1rem;
  }
}

/* ── BIDULES BUTTON SYSTEM COMPATIBILITY HELPERS ──────────────────── */
.btn-bidule {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.6rem;
  min-height: 44px;
  border-radius: 9999px;
  font-family: var(--font-display, 'Plus Jakarta Sans', sans-serif);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
}
.btn-bidule-primary {
  background: linear-gradient(135deg, #072E1A 0%, #0E4327 50%, #165B36 100%);
  color: #ffffff !important;
  border: none;
  box-shadow: 0 4px 14px rgba(14, 67, 39, 0.28);
}
.btn-bidule-primary:hover {
  background: linear-gradient(135deg, #0E4327 0%, #145A34 100%);
  transform: translateY(-1.5px);
  box-shadow: 0 8px 20px rgba(14, 67, 39, 0.38);
}
.btn-bidule-primary:active {
  transform: scale(0.97);
}
.btn-bidule-outline {
  background: #ffffff;
  color: #0E4327 !important;
  border: 1.5px solid #0E4327;
}
.btn-bidule-outline:hover {
  background: #F0FDF4;
  border-color: #0E4327;
}

/* ══════════════════════════════════════════════════════════════════════
   GLOBAL TOP PROGRESS BAR SYSTEM (BIDULES.MG)
   ══════════════════════════════════════════════════════════════════════ */
#bidule-top-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, #BEF380 0%, #6BAA3A 50%, #0E4327 100%);
  box-shadow: 0 0 10px rgba(190, 243, 128, 0.8), 0 0 5px rgba(107, 170, 58, 0.6);
  z-index: 999999;
  opacity: 0;
  pointer-events: none;
  transition: width 0.22s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.28s ease;
  will-change: width, opacity;
}

#bidule-top-progress.active {
  opacity: 1;
}

#bidule-top-progress.done {
  opacity: 0;
  transition: width 0.15s ease, opacity 0.35s ease 0.1s;
}

#bidule-top-progress::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 70px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.85));
  box-shadow: 0 0 8px #BEF380;
  animation: bidule-progress-sheen 1.2s infinite ease-in-out;
}

@keyframes bidule-progress-sheen {
  0% { opacity: 0.3; }
  50% { opacity: 1; }
  100% { opacity: 0.3; }
}

/* ══════════════════════════════════════════════════════════════════════
   BRANDED HEAVY PAGE LOADING SCREEN
   ══════════════════════════════════════════════════════════════════════ */
.bidule-loading-overlay {
  position: fixed;
  inset: 0;
  background: rgba(14, 67, 39, 0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 999990;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.bidule-loading-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.bidule-loading-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 2rem 2.5rem;
  max-width: 420px;
  width: 100%;
  text-align: center;
  box-shadow: 0 20px 45px -10px rgba(7, 46, 26, 0.35);
  border: 1px solid rgba(190, 243, 128, 0.35);
  transform: scale(0.94);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.bidule-loading-overlay.active .bidule-loading-card {
  transform: scale(1);
}

.bidule-loading-spinner-wrap {
  position: relative;
  width: 64px;
  height: 64px;
  margin: 0 auto 1.25rem;
}

.bidule-loading-spinner-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 3.5px solid rgba(14, 67, 39, 0.12);
  border-top-color: #0E4327;
  border-right-color: #6BAA3A;
  animation: bidule-spin 0.9s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
}

.bidule-loading-spinner-pulse {
  position: absolute;
  inset: 12px;
  border-radius: 50%;
  background: radial-gradient(circle, #BEF380 0%, #0E4327 100%);
  opacity: 0.85;
  animation: bidule-pulse-subtle 1.8s ease-in-out infinite;
}

@keyframes bidule-spin {
  to { transform: rotate(360deg); }
}

@keyframes bidule-pulse-subtle {
  0%, 100% { transform: scale(0.9); opacity: 0.7; }
  50% { transform: scale(1.1); opacity: 1; }
}

.bidule-loading-title {
  font-family: var(--font-display, 'Plus Jakarta Sans', sans-serif);
  font-weight: 700;
  font-size: 1.15rem;
  color: #0E4327;
  margin-bottom: 0.4rem;
}

.bidule-loading-message {
  font-size: 0.88rem;
  color: #52665A;
  line-height: 1.45;
}

.bidule-loading-timeout-recovery {
  display: none;
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid #E2EAE3;
}

.bidule-loading-timeout-recovery.visible {
  display: block;
}

.bidule-loading-timeout-recovery p {
  font-size: 0.82rem;
  color: #C62828;
  margin-bottom: 0.75rem;
}

/* ══════════════════════════════════════════════════════════════════════
   MICRO-INTERACTIONS & MOTION SYSTEM
   ══════════════════════════════════════════════════════════════════════ */
.btn-press,
.btn-bidule,
.btn-realsize-trigger,
.product-card-cta,
.btn-nav {
  transition: transform 0.18s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.18s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.18s ease;
  will-change: transform;
}

.btn-press:active,
.btn-bidule:active,
.btn-realsize-trigger:active,
.btn-nav:active {
  transform: scale(0.965);
}

.bidule-product-card {
  transition: transform 0.24s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.24s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, box-shadow;
}

.bidule-product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px -6px rgba(14, 67, 39, 0.12);
}

.bidule-product-card .product-thumb-img,
.bidule-product-card img {
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.bidule-product-card:hover .product-thumb-img,
.bidule-product-card:hover img {
  transform: scale(1.035);
}

/* Heart pop animation for favorites and cart count updates */
@keyframes heart-pop-kf {
  0% { transform: scale(1); }
  40% { transform: scale(1.35); }
  75% { transform: scale(0.92); }
  100% { transform: scale(1); }
}

.heart-pop {
  animation: heart-pop-kf 0.38s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Accessible reduced motion override */
@media (prefers-reduced-motion: reduce) {
  #bidule-top-progress,
  #bidule-top-progress::after,
  .bidule-loading-overlay,
  .bidule-loading-card,
  .bidule-loading-spinner-ring,
  .bidule-loading-spinner-pulse,
  .btn-press,
  .btn-bidule,
  .btn-realsize-trigger,
  .btn-nav,
  .bidule-product-card,
  .bidule-product-card .product-thumb-img,
  .bidule-product-card img,
  .heart-pop {
    animation: none !important;
    transition-duration: 0.01ms !important;
    transform: none !important;
  }
}

/* ── BIDULES.MG — MOBILE-FIRST GLOBAL RESPONSIVE SAFETY ── */
@media (max-width: 767px) {
  /* Prevent fixed bottom navigation bar (#bidule-bottom-nav) from covering footer or actions */
  body {
    padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px)) !important;
  }
}

/* Prevent any horizontal layout overflow */
html, body {
  max-width: 100%;
  overflow-x: clip;
}

/* Fluid responsive media & image scaling */
img, video, canvas, svg {
  max-width: 100%;
  height: auto;
}
