.material-symbols-outlined {
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
  display: inline-block;
  vertical-align: middle;
}

body {
  background-color: #f8f9fa;
  color: #191c1d;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}

::selection {
  background-color: #0040e0;
  color: white;
}

a:focus-visible, button:focus-visible {
  outline: 2px solid #0040e0;
  outline-offset: 3px;
}

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #f3f4f5; }
::-webkit-scrollbar-thumb { background: #2e3132; border-radius: 9999px; }

.glass-card {
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: transform 0.4s cubic-bezier(0.2, 0, 0.2, 1);
}
.glass-card:hover { transform: translateY(-8px); }

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}
.reveal-on-scroll.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal-up {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}
.reveal-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in {
  animation: fadeIn 1.2s ease-out forwards;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

#huzz-loader {
  position: fixed; inset: 0; background: #2e3132;
  z-index: 99999; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 32px;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
#huzz-loader.hidden { opacity: 0; visibility: hidden; }
#huzz-loader-bar { width: 120px; height: 2px; background: #444; overflow: hidden; border-radius: 9999px; }
#huzz-loader-bar::after {
  content: ''; display: block; height: 100%; width: 40%; background: #0040e0;
  animation: loaderSlide 1s ease-in-out infinite alternate; border-radius: 9999px;
}
@keyframes loaderSlide {
  from { transform: translateX(-100%); }
  to { transform: translateX(300%); }
}

.mobile-menu {
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.mobile-menu.open { transform: translateX(0); }

.nav-active {
  background: rgba(225, 227, 228, 0.2);
  border-radius: 9999px;
}

.filter-pill {
  transition: all 0.3s ease;
  border-radius: 9999px;
}
.filter-pill.active {
  background: #2e3132;
  color: #fff;
}
.filter-pill:not(.active):hover {
  background: rgba(0, 64, 224, 0.08);
  color: #0040e0;
}

.cart-badge {
  display: none;
  position: absolute;
  top: -4px;
  right: -4px;
  background: #0040e0;
  color: white;
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: 9px;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
}

.huzz-logo-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border-radius: 8px;
  padding: 5px 10px;
  line-height: 0;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
}

.huzz-logo {
  height: 1.65rem;
  width: auto;
  max-width: 82px;
  object-fit: contain;
  display: block;
  background: transparent !important;
}
@media (min-width: 768px) {
  .huzz-logo { height: 1.85rem; max-width: 96px; }
  .huzz-logo-wrap { padding: 6px 12px; border-radius: 10px; }
}

.huzz-logo-wrap--loader {
  padding: 12px 20px;
  border-radius: 12px;
}
.huzz-logo-wrap--loader .huzz-logo {
  height: 2.5rem;
  max-width: 140px;
}

/* Hero accueil */
.hero-home {
  min-height: 100svh;
  min-height: 100vh;
}
.hero-home__bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 56% 40%;
}
@media (max-width: 767px) {
  .hero-home__bg {
    object-position: 82% 32%;
  }
  .hero-home {
    align-items: flex-end;
  }
  .hero-home__overlay {
    background:
      linear-gradient(to top, rgba(0,0,0,0.88) 0%, rgba(0,0,0,0.45) 38%, rgba(0,0,0,0.08) 58%, transparent 72%),
      linear-gradient(to right, rgba(0,0,0,0.35) 0%, transparent 45%);
  }
}
@media (min-width: 768px) {
  .hero-home__overlay {
    background:
      linear-gradient(105deg, rgba(0,0,0,0.82) 0%, rgba(0,0,0,0.55) 42%, rgba(0,0,0,0.12) 68%, transparent 100%),
      linear-gradient(to top, rgba(0,0,0,0.65) 0%, transparent 45%),
      linear-gradient(to bottom, rgba(0,0,0,0.35) 0%, transparent 28%);
  }
}
.hero-home__overlay {
  /* mobile default above; desktop in media query */
  background:
    linear-gradient(to top, rgba(0,0,0,0.88) 0%, rgba(0,0,0,0.45) 38%, rgba(0,0,0,0.08) 58%, transparent 72%),
    linear-gradient(to right, rgba(0,0,0,0.35) 0%, transparent 45%);
}
.hero-home__title {
  color: #fff;
  text-shadow: 0 2px 24px rgba(0,0,0,0.45), 0 1px 3px rgba(0,0,0,0.6);
}
.hero-home__text {
  color: rgba(255,255,255,0.92);
  text-shadow: 0 1px 12px rgba(0,0,0,0.5);
}
.hero-made-in-line {
  display: inline-flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.4em;
  color: #b8c3ff;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.45), 0 1px 3px rgba(0, 0, 0, 0.6);
}
.hero-benin-sketch {
  height: 1.05em;
  width: auto;
  max-height: 52px;
  object-fit: contain;
  vertical-align: baseline;
  margin-bottom: -0.06em;
  /* Teinte sketch noir → même lavande que MADE IN */
  filter: invert(87%) sepia(14%) saturate(720%) hue-rotate(195deg) brightness(108%) contrast(98%)
    drop-shadow(0 2px 12px rgba(0, 0, 0, 0.35));
}

.btn-secondary-visible {
  border: 2px solid rgba(25, 28, 29, 0.85);
  background: rgba(255, 255, 255, 0.95);
  color: #191c1d;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
@media (max-width: 767px) {
  .huzz-nav-pill { max-width: calc(100% - 32px) !important; }
}
