/* ============================================================
   WELLSHOP GABON — E-Commerce Premium Design System
   Couleur: Vert Gabon #009e60 | Typographie: Clash Display + Plus Jakarta Sans
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

@font-face {
  font-family: 'ClashDisplay';
  src: url('https://api.fontshare.com/v2/css?f[]=clash-display@600,700,500&display=swap');
}

/* ── CSS Variables ── */
:root {
  --green:       #009e60;
  --green-dark:  #007a4a;
  --green-light: #00c878;
  --green-glow:  rgba(0,158,96,.18);
  --black:       #0a0f0d;
  --gray-900:    #111816;
  --gray-800:    #1c2420;
  --gray-700:    #2d3a35;
  --gray-500:    #5c7269;
  --gray-300:    #a8bcb4;
  --gray-100:    #eef5f1;
  --gray-50:     #f5faf7;
  --white:       #ffffff;
  --gold:        #e8b84b;
  --red:         #e53935;
  --radius-sm:   8px;
  --radius-md:   14px;
  --radius-lg:   20px;
  --radius-xl:   28px;
  --shadow-sm:   0 1px 4px rgba(0,0,0,.06),0 2px 8px rgba(0,0,0,.04);
  --shadow-md:   0 4px 16px rgba(0,0,0,.10),0 1px 4px rgba(0,0,0,.06);
  --shadow-lg:   0 12px 40px rgba(0,0,0,.14),0 4px 12px rgba(0,0,0,.08);
  --shadow-green:0 8px 32px rgba(0,158,96,.25);
  --font-display:'Plus Jakarta Sans',system-ui,sans-serif;
  --font-body:   'Plus Jakarta Sans',system-ui,sans-serif;
  --nav-h:       64px;
  --bottom-bar-h:68px;
  --transition:  .22s cubic-bezier(.4,0,.2,1);
}

/* ── Reset ── */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{
  font-family:var(--font-body);
  background:var(--white);
  color:var(--gray-900);
  font-size:15px;
  line-height:1.6;
  min-height:100vh;
  -webkit-font-smoothing:antialiased;
}
a{text-decoration:none;color:inherit}
img{max-width:100%;display:block}
button{font-family:inherit;cursor:pointer;border:none;background:none}
input,select,textarea{font-family:inherit}
ul,ol{list-style:none}

/* ============================================================
   SPLASH SCREEN
   ============================================================ */
.splash-screen {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--black);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* Slider container */
.splash-slides {
  position: absolute;
  inset: 0;
  display: flex;
  width: 300%;
  transition: transform .9s cubic-bezier(.77,0,.175,1);
}
.splash-slide {
  width: 33.333%;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}
.splash-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(.45) saturate(1.2);
  transform: scale(1.08);
  transition: transform 6s ease;
}
.splash-slide.active img { transform: scale(1); }

/* Green gradient overlay */
.splash-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(0,158,96,.15) 0%,
    rgba(10,15,13,.5) 40%,
    rgba(10,15,13,.95) 100%
  );
}

/* Content over slides */
.splash-content {
  position: relative;
  z-index: 10;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 56px 32px 48px;
}

.splash-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.splash-logo-icon {
  width: 44px;
  height: 44px;
  background: var(--green);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}
.splash-logo-text {
  font-size: 22px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -.3px;
}
.splash-logo-text span { color: var(--green-light); }

.splash-text-area {
  padding-bottom: 8px;
}
.splash-slide-text {
  display: none;
  animation: fadeSlideUp .7s ease;
}
.splash-slide-text.active { display: block; }

@keyframes fadeSlideUp {
  from { opacity:0; transform:translateY(24px); }
  to   { opacity:1; transform:translateY(0); }
}

.splash-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(0,158,96,.25);
  border: 1px solid rgba(0,200,120,.3);
  border-radius: 100px;
  padding: 5px 14px;
  color: var(--green-light);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.splash-tag::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--green-light);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%,100%{opacity:1;transform:scale(1)}
  50%{opacity:.5;transform:scale(1.4)}
}

.splash-headline {
  font-size: clamp(32px, 9vw, 52px);
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  letter-spacing: -1px;
  margin-bottom: 14px;
}
.splash-headline em {
  font-style: normal;
  color: var(--green-light);
}
.splash-desc {
  font-size: 15px;
  color: rgba(255,255,255,.7);
  line-height: 1.65;
  max-width: 320px;
}

/* Dots */
.splash-dots {
  display: flex;
  gap: 6px;
  margin-bottom: 28px;
}
.splash-dot {
  height: 4px;
  border-radius: 2px;
  background: rgba(255,255,255,.25);
  transition: width .4s ease, background .4s ease;
  width: 20px;
  cursor: pointer;
}
.splash-dot.active {
  width: 40px;
  background: var(--green);
}

/* CTA Buttons */
.splash-ctas {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.splash-btn-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--green);
  color: var(--white);
  font-weight: 700;
  font-size: 16px;
  padding: 16px 24px;
  border-radius: var(--radius-lg);
  transition: var(--transition);
  box-shadow: var(--shadow-green);
}
.splash-btn-primary:active { transform: scale(.97); }
.splash-btn-secondary {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  color: var(--white);
  font-weight: 600;
  font-size: 15px;
  padding: 15px 24px;
  border-radius: var(--radius-lg);
  backdrop-filter: blur(8px);
  transition: var(--transition);
}

/* ============================================================
   TOP NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(20px) saturate(1.8);
  -webkit-backdrop-filter: blur(20px) saturate(1.8);
  border-bottom: 1px solid rgba(0,158,96,.08);
  z-index: 1000;
  transition: box-shadow var(--transition);
}
.navbar.scrolled {
  box-shadow: 0 4px 24px rgba(0,0,0,.08);
}
.navbar-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 20px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 24px;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-shrink: 0;
}
.brand-icon {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  box-shadow: 0 4px 12px rgba(0,158,96,.3);
}
.brand-name {
  font-size: 18px;
  font-weight: 800;
  color: var(--gray-900);
  letter-spacing: -.4px;
}
.brand-name span { color: var(--green); }

/* Desktop nav links */
.navbar-links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
}
.navbar-links a {
  padding: 7px 14px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-700);
  transition: var(--transition);
  white-space: nowrap;
}
.navbar-links a:hover,
.navbar-links a.active {
  background: var(--gray-100);
  color: var(--green);
}

/* Search bar */
.navbar-search {
  flex: 1;
  max-width: 320px;
  position: relative;
}
.navbar-search input {
  width: 100%;
  padding: 9px 14px 9px 40px;
  background: var(--gray-100);
  border: 1.5px solid transparent;
  border-radius: 100px;
  font-size: 13.5px;
  color: var(--gray-900);
  outline: none;
  transition: var(--transition);
}
.navbar-search input:focus {
  background: var(--white);
  border-color: var(--green);
  box-shadow: 0 0 0 4px var(--green-glow);
}
.navbar-search .search-icon {
  position: absolute;
  left: 13px; top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
  color: var(--gray-300);
  pointer-events: none;
}

.navbar-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.btn-icon {
  position: relative;
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-700);
  transition: var(--transition);
  background: transparent;
}
.btn-icon:hover { background: var(--gray-100); color: var(--green); }
.btn-icon .material-icons-round { font-size: 22px; }

.badge {
  position: absolute;
  top: 4px; right: 4px;
  min-width: 17px; height: 17px;
  background: var(--red);
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  border-radius: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  border: 2px solid var(--white);
}

/* User menu */
.user-menu { position: relative; }
.user-avatar-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px 5px 5px;
  border-radius: 100px;
  background: var(--gray-100);
  border: 1.5px solid transparent;
  transition: var(--transition);
}
.user-avatar-btn:hover {
  border-color: var(--green);
  background: var(--white);
}
.user-avatar-btn img,
.avatar-initials {
  width: 28px; height: 28px;
  border-radius: 50%;
  object-fit: cover;
}
.avatar-initials {
  background: var(--green);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.user-name-short {
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-900);
  max-width: 80px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.user-avatar-btn .material-icons-round {
  font-size: 18px;
  color: var(--gray-500);
}

.user-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 220px;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 6px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px) scale(.97);
  transition: var(--transition);
  transform-origin: top right;
}
.user-dropdown.open {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0) scale(1);
}
.user-dropdown a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--gray-700);
  transition: var(--transition);
}
.user-dropdown a:hover { background: var(--gray-50); color: var(--green); }
.user-dropdown a .material-icons-round { font-size: 18px; color: var(--gray-300); }
.dropdown-divider { height: 1px; background: var(--gray-100); margin: 4px 0; }
.logout-link { color: var(--red) !important; }
.logout-link:hover { background: #fef2f2 !important; }
.logout-link .material-icons-round { color: var(--red) !important; }

/* Hamburger (mobile) */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border-radius: var(--radius-sm);
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--gray-900);
  border-radius: 2px;
  transition: var(--transition);
}

/* Mobile Nav Drawer */
.mobile-nav {
  position: fixed;
  top: 0; left: -100%;
  width: 280px;
  height: 100%;
  background: var(--white);
  z-index: 1100;
  padding: 24px 20px;
  overflow-y: auto;
  transition: left .35s cubic-bezier(.4,0,.2,1);
  box-shadow: var(--shadow-lg);
}
.mobile-nav.open { left: 0; }
.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.4);
  z-index: 1099;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}
.mobile-nav-overlay.open { opacity: 1; pointer-events: all; }
.mobile-nav-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 28px;
}
.mobile-nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  font-size: 15px;
  font-weight: 600;
  color: var(--gray-700);
  transition: var(--transition);
  margin-bottom: 4px;
}
.mobile-nav a:hover,
.mobile-nav a.active {
  background: var(--gray-50);
  color: var(--green);
}
.mobile-nav a .material-icons-round { font-size: 20px; color: var(--gray-300); }

/* ============================================================
   BOTTOM BAR (mobile e-commerce)
   ============================================================ */
.bottom-bar {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  height: var(--bottom-bar-h);
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(20px) saturate(1.8);
  -webkit-backdrop-filter: blur(20px) saturate(1.8);
  border-top: 1px solid rgba(0,158,96,.1);
  z-index: 900;
  padding: 0 8px;
  padding-bottom: env(safe-area-inset-bottom, 0);
  box-shadow: 0 -8px 32px rgba(0,0,0,.08);
}
.bottom-bar-inner {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  height: 68px;
  align-items: center;
}
.bottom-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 8px 4px;
  border-radius: var(--radius-md);
  color: var(--gray-300);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .02em;
  position: relative;
  transition: var(--transition);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.bottom-tab .material-icons-round { font-size: 22px; transition: var(--transition); }
.bottom-tab.active {
  color: var(--green);
}
.bottom-tab.active .material-icons-round {
  transform: translateY(-2px);
}
.bottom-tab-dot {
  position: absolute;
  top: 6px;
  right: calc(50% - 16px);
  width: 7px; height: 7px;
  background: var(--red);
  border-radius: 50%;
  border: 2px solid var(--white);
}

/* Center FAB button in bottom bar */
.bottom-tab-fab {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: var(--gray-300);
  font-size: 10px;
  font-weight: 600;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.bottom-tab-fab .fab-circle {
  width: 50px; height: 50px;
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-green);
  margin-top: -18px;
  transition: var(--transition);
}
.bottom-tab-fab .fab-circle .material-icons-round {
  font-size: 24px;
  color: var(--white);
}
.bottom-tab-fab:active .fab-circle { transform: scale(.93); }

/* ============================================================
   LAYOUT & SPACING
   ============================================================ */
.main-content {
  padding-top: var(--nav-h);
  min-height: 100vh;
}
.container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 20px;
}
.section { padding: 60px 0; }
.section-sm { padding: 36px 0; }

/* Page header (inside app) */
.page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.page-header h1 {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -.4px;
  color: var(--gray-900);
}
.page-header p { font-size: 14px; color: var(--gray-500); margin-top: 2px; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-weight: 600;
  font-size: 14px;
  padding: 10px 20px;
  border-radius: var(--radius-md);
  transition: var(--transition);
  cursor: pointer;
  border: none;
  white-space: nowrap;
  letter-spacing: -.1px;
}
.btn .material-icons-round { font-size: 17px; }
.btn-primary {
  background: var(--green);
  color: var(--white);
  box-shadow: 0 2px 10px rgba(0,158,96,.25);
}
.btn-primary:hover {
  background: var(--green-dark);
  box-shadow: var(--shadow-green);
  transform: translateY(-1px);
}
.btn-primary:active { transform: scale(.97); }

.btn-ghost {
  background: transparent;
  color: var(--gray-700);
  border: 1.5px solid var(--gray-100);
}
.btn-ghost:hover { background: var(--gray-50); border-color: var(--gray-300); }

.btn-dark {
  background: var(--gray-900);
  color: var(--white);
}
.btn-dark:hover { background: var(--gray-800); }

.btn-sm { padding: 7px 14px; font-size: 13px; border-radius: var(--radius-sm); }
.btn-lg { padding: 14px 28px; font-size: 15.5px; border-radius: var(--radius-lg); }
.btn-danger { background: #fef2f2; color: var(--red); border: 1.5px solid #fecaca; }
.btn-danger:hover { background: #fee2e2; }

/* ============================================================
   HERO — HOMEPAGE
   ============================================================ */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--gray-900);
  min-height: 92vh;
  display: flex;
  align-items: center;
}

.hero-bg-slides {
  position: absolute;
  inset: 0;
  display: flex;
  width: 200%;
}
.hero-bg-slide {
  width: 50%;
  flex-shrink: 0;
  opacity: 0;
  position: absolute;
  inset: 0;
  transition: opacity 1.2s ease;
}
.hero-bg-slide.active { opacity: 1; }
.hero-bg-slide img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(.38) saturate(1.3);
  transform: scale(1.06);
  transition: transform 8s ease;
}
.hero-bg-slide.active img { transform: scale(1); }
.hero-bg-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg,
    rgba(0,158,96,.2) 0%,
    rgba(10,15,13,.6) 45%,
    rgba(10,15,13,.85) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 5;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(0,158,96,.2);
  border: 1px solid rgba(0,200,120,.3);
  border-radius: 100px;
  color: var(--green-light);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.hero-eyebrow::before {
  content:'';
  width:6px;height:6px;
  background:var(--green-light);
  border-radius:50%;
  animation: pulse 2s infinite;
}
.hero-title {
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 800;
  color: var(--white);
  line-height: 1.05;
  letter-spacing: -2px;
  margin-bottom: 20px;
  max-width: 700px;
}
.hero-title em {
  font-style: normal;
  color: var(--green-light);
  position: relative;
}
.hero-desc {
  font-size: 16.5px;
  color: rgba(255,255,255,.7);
  max-width: 480px;
  margin-bottom: 36px;
  line-height: 1.7;
}
.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}
.hero-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--green);
  color: var(--white);
  font-weight: 700;
  font-size: 15.5px;
  padding: 15px 28px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-green);
  transition: var(--transition);
}
.hero-btn-primary:hover { background: var(--green-light); transform: translateY(-2px); }
.hero-btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.1);
  border: 1.5px solid rgba(255,255,255,.25);
  color: var(--white);
  font-weight: 600;
  font-size: 15px;
  padding: 14px 26px;
  border-radius: var(--radius-lg);
  backdrop-filter: blur(8px);
  transition: var(--transition);
}
.hero-btn-outline:hover { background: rgba(255,255,255,.18); }

/* Hero stats bar */
.hero-stats {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}
.hero-stat strong {
  display: block;
  font-size: 26px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -.5px;
}
.hero-stat span {
  font-size: 12.5px;
  color: rgba(255,255,255,.55);
  font-weight: 500;
}

/* Slide indicators */
.hero-indicators {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}
.hero-dot {
  height: 4px;
  border-radius: 2px;
  background: rgba(255,255,255,.3);
  transition: all .4s ease;
  width: 24px;
  cursor: pointer;
}
.hero-dot.active { width: 48px; background: var(--green); }

/* Scroll indicator */
.scroll-hint {
  position: absolute;
  bottom: 32px;
  right: 32px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,.4);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  z-index: 10;
}
.scroll-hint::after {
  content:'';
  width:1px; height:40px;
  background: rgba(255,255,255,.2);
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine { 0%,100%{opacity:.3}50%{opacity:1} }

/* ============================================================
   CATEGORIES GRID
   ============================================================ */
.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 28px;
  gap: 16px;
}
.section-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 6px;
}
.section-title {
  font-size: clamp(22px,3.5vw,32px);
  font-weight: 800;
  letter-spacing: -.6px;
  color: var(--gray-900);
  line-height: 1.15;
}
.section-title em { font-style:normal; color:var(--green); }

.cats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.cat-card {
  background: var(--white);
  border: 1.5px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 20px 16px 18px;
  text-align: center;
  transition: var(--transition);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.cat-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--green-glow), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}
.cat-card:hover {
  border-color: var(--green);
  transform: translateY(-3px);
  box-shadow: var(--shadow-green);
}
.cat-card:hover::before { opacity: 1; }
.cat-icon {
  width: 52px; height: 52px;
  border-radius: var(--radius-md);
  background: var(--gray-50);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  font-size: 24px;
  transition: var(--transition);
}
.cat-card:hover .cat-icon {
  background: var(--green);
  transform: scale(1.08);
}
.cat-card:hover .cat-icon .material-icons-round { color: var(--white); }
.cat-icon .material-icons-round { font-size: 26px; color: var(--green); }
.cat-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 3px;
}
.cat-count {
  font-size: 11.5px;
  color: var(--gray-500);
}

/* ============================================================
   PRODUCTS GRID
   ============================================================ */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 16px;
}
.product-card {
  background: var(--white);
  border: 1.5px solid var(--gray-100);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  cursor: pointer;
}
.product-card:hover {
  border-color: rgba(0,158,96,.25);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.product-image {
  position: relative;
  aspect-ratio: 4/3;
  background: var(--gray-50);
  overflow: hidden;
}
.product-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.product-card:hover .product-image img { transform: scale(1.06); }

.product-badge {
  position: absolute;
  top: 10px; left: 10px;
  background: var(--green);
  color: var(--white);
  font-size: 10.5px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 100px;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.product-badge.badge-gold { background: var(--gold); color: var(--gray-900); }
.product-badge.badge-red  { background: var(--red); }

.product-wishlist {
  position: absolute;
  top: 10px; right: 10px;
  width: 32px; height: 32px;
  background: rgba(255,255,255,.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  opacity: 0;
  transform: translateY(-4px);
  transition: var(--transition);
}
.product-card:hover .product-wishlist { opacity: 1; transform: translateY(0); }
.product-wishlist .material-icons-round { font-size: 16px; color: var(--gray-500); }

.product-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,.5));
  padding: 24px 12px 12px;
  display: flex;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}
.product-card:hover .product-overlay { opacity: 1; }

.product-info {
  padding: 14px 14px 16px;
}
.product-category {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--green);
  margin-bottom: 4px;
}
.product-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 4px;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-seller {
  font-size: 12px;
  color: var(--gray-500);
  margin-bottom: 10px;
}
.product-price {
  font-size: 15.5px;
  font-weight: 800;
  color: var(--gray-900);
  letter-spacing: -.3px;
}
.product-price .currency {
  font-size: 11px;
  font-weight: 600;
  color: var(--gray-500);
  margin-left: 2px;
}
.product-rating {
  display: flex;
  align-items: center;
  gap: 3px;
  font-size: 11.5px;
  color: var(--gold);
  margin-bottom: 4px;
}

/* ============================================================
   PROMO BANNER
   ============================================================ */
.promo-banner {
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: linear-gradient(120deg, var(--gray-900) 0%, #0d2b1e 100%);
  padding: 48px 52px;
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 32px;
}
.promo-banner::before {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(0,158,96,.25), transparent 70%);
  border-radius: 50%;
}
.promo-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(0,158,96,.2);
  border: 1px solid rgba(0,200,120,.3);
  padding: 4px 12px;
  border-radius: 100px;
  color: var(--green-light);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 12px;
}
.promo-title {
  font-size: clamp(24px,3vw,36px);
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  letter-spacing: -.8px;
  margin-bottom: 10px;
}
.promo-title em { font-style:normal; color:var(--green-light); }
.promo-desc { font-size: 14px; color: rgba(255,255,255,.6); margin-bottom: 24px; }

/* ============================================================
   SPECIALISTS SECTION
   ============================================================ */
.specialists-scroll {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 4px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.specialists-scroll::-webkit-scrollbar { display: none; }
.specialist-card {
  min-width: 180px;
  background: var(--white);
  border: 1.5px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 20px 14px;
  text-align: center;
  scroll-snap-align: start;
  flex-shrink: 0;
  transition: var(--transition);
  cursor: pointer;
}
.specialist-card:hover {
  border-color: var(--green);
  transform: translateY(-3px);
  box-shadow: var(--shadow-green);
}
.specialist-avatar {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--gray-50);
  margin: 0 auto 10px;
  overflow: hidden;
  border: 2.5px solid var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
}
.specialist-avatar .material-icons-round { font-size: 32px; color: var(--green); }
.specialist-name { font-size: 13px; font-weight: 700; color: var(--gray-900); margin-bottom: 2px; }
.specialist-type { font-size: 11.5px; color: var(--gray-500); margin-bottom: 10px; }
.specialist-available {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 600;
  color: var(--green);
  background: rgba(0,158,96,.1);
  padding: 3px 9px;
  border-radius: 100px;
}
.specialist-available::before {
  content:'';
  width:5px; height:5px;
  background: var(--green);
  border-radius: 50%;
}

/* ============================================================
   SUBSCRIPTION SECTION
   ============================================================ */
.pricing-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 680px;
}
.pricing-card {
  background: var(--white);
  border: 1.5px solid var(--gray-100);
  border-radius: var(--radius-xl);
  padding: 28px 24px;
  position: relative;
  transition: var(--transition);
}
.pricing-card.featured {
  border-color: var(--green);
  background: linear-gradient(160deg, #f0fdf8, var(--white));
  box-shadow: var(--shadow-green);
}
.pricing-card .price-badge {
  position: absolute;
  top: -10px; right: 20px;
  background: var(--green);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 100px;
}
.pricing-amount {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -.8px;
  color: var(--gray-900);
  margin-bottom: 4px;
}
.pricing-amount sup { font-size: 14px; font-weight: 600; vertical-align: top; margin-top: 8px; }
.pricing-period { font-size: 12px; color: var(--gray-500); margin-bottom: 20px; }
.pricing-feature {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--gray-700);
  margin-bottom: 8px;
}
.pricing-feature .material-icons-round {
  font-size: 16px;
  color: var(--green);
  flex-shrink: 0;
}

/* ============================================================
   FORMS
   ============================================================ */
.form-group {
  margin-bottom: 18px;
}
.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 6px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px 14px;
  background: var(--gray-50);
  border: 1.5px solid var(--gray-100);
  border-radius: var(--radius-md);
  font-size: 14px;
  color: var(--gray-900);
  outline: none;
  transition: var(--transition);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  background: var(--white);
  border-color: var(--green);
  box-shadow: 0 0 0 4px var(--green-glow);
}
.form-group textarea { resize: vertical; min-height: 100px; }
.form-hint { font-size: 12px; color: var(--gray-500); margin-top: 4px; }

/* ============================================================
   ALERTS & STATUS
   ============================================================ */
.alert {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 13px 16px;
  border-radius: var(--radius-md);
  font-size: 13.5px;
  margin-bottom: 16px;
  border: 1.5px solid;
}
.alert-success { background: #f0fdf4; border-color: #bbf7d0; color: #166534; }
.alert-error   { background: #fef2f2; border-color: #fecaca; color: #991b1b; }
.alert-warning { background: #fffbeb; border-color: #fde68a; color: #92400e; }
.alert-info    { background: #eff6ff; border-color: #bfdbfe; color: #1e40af; }

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 100px;
  letter-spacing: .03em;
  text-transform: capitalize;
}
.status-active   { background: #f0fdf4; color: #166534; }
.status-pending  { background: #fffbeb; color: #92400e; }
.status-rejected { background: #fef2f2; color: #991b1b; }

/* ============================================================
   TABLE
   ============================================================ */
.table-wrap { border-radius: var(--radius-lg); overflow: hidden; border: 1.5px solid var(--gray-100); }
table { width: 100%; border-collapse: collapse; }
thead tr { background: var(--gray-50); }
th {
  padding: 11px 16px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--gray-500);
  text-align: left;
  white-space: nowrap;
  border-bottom: 1.5px solid var(--gray-100);
}
td {
  padding: 13px 16px;
  font-size: 13.5px;
  color: var(--gray-700);
  border-bottom: 1px solid var(--gray-50);
  vertical-align: middle;
}
tr:last-child td { border-bottom: none; }
tbody tr:hover { background: var(--gray-50); }

/* ============================================================
   FLASH MESSAGES (toasts)
   ============================================================ */
.flash {
  position: fixed;
  top: calc(var(--nav-h) + 12px);
  right: 16px;
  max-width: 380px;
  padding: 13px 40px 13px 16px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-lg);
  z-index: 1200;
  animation: slideInToast .35s ease;
}
@keyframes slideInToast {
  from { opacity:0; transform:translateX(24px); }
  to   { opacity:1; transform:translateX(0); }
}
.flash-success { background: var(--white); border-left: 4px solid var(--green); }
.flash-error   { background: var(--white); border-left: 4px solid var(--red); }
.flash-success .material-icons-round { color: var(--green); font-size: 20px; }
.flash-error   .material-icons-round { color: var(--red);   font-size: 20px; }
.flash-close {
  position: absolute;
  right: 10px; top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
  color: var(--gray-300);
  cursor: pointer;
  background: none; border: none;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--gray-900);
  color: rgba(255,255,255,.7);
  padding: 56px 0 0;
  margin-top: 80px;
}
.footer-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-logo {
  font-size: 20px;
  font-weight: 800;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}
.footer-logo .brand-icon {
  width: 32px; height: 32px;
  font-size: 16px;
}
.footer-brand p {
  font-size: 13.5px;
  line-height: 1.7;
  color: rgba(255,255,255,.5);
  margin-bottom: 8px;
}
.footer-domain {
  font-size: 12px;
  font-weight: 600;
  color: var(--green) !important;
}
.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.footer-col h4 {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--white);
  margin-bottom: 14px;
}
.footer-col a {
  display: block;
  font-size: 13.5px;
  color: rgba(255,255,255,.5);
  margin-bottom: 8px;
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--green-light); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 20px 20px;
  max-width: 1320px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-bottom p { font-size: 12.5px; color: rgba(255,255,255,.35); }
.payment-logos { display: flex; gap: 8px; }
.pay-badge {
  display: inline-block;
  padding: 4px 10px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  color: rgba(255,255,255,.6);
}

/* ============================================================
   UTILS
   ============================================================ */
.text-sm    { font-size: 12.5px; }
.text-muted { color: var(--gray-500); }
.text-green { color: var(--green); }
.text-center{ text-align: center; }
.bg-white   { background: var(--white); }
.rounded-xl { border-radius: var(--radius-xl); }
.shadow-sm  { box-shadow: var(--shadow-sm); }
.border-card{ border: 1.5px solid var(--gray-100); }

/* Inner page container */
.inner-page {
  max-width: 1320px;
  margin: 0 auto;
  padding: 32px 20px;
  padding-bottom: calc(var(--bottom-bar-h) + 16px);
}

/* ============================================================
   NOTIFICATION PANEL
   ============================================================ */
.notif-panel {
  position: fixed;
  top: var(--nav-h); right: -380px;
  width: 360px;
  height: calc(100vh - var(--nav-h));
  background: var(--white);
  border-left: 1px solid var(--gray-100);
  z-index: 900;
  transition: right var(--transition);
  overflow-y: auto;
  box-shadow: -8px 0 32px rgba(0,0,0,.08);
}
.notif-panel.open { right: 0; }
.notif-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 18px;
  border-bottom: 1px solid var(--gray-100);
  position: sticky;
  top: 0;
  background: var(--white);
}
.notif-header h3 { font-size: 15px; font-weight: 700; }
.notif-item {
  display: flex;
  gap: 12px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--gray-50);
  transition: background var(--transition);
}
.notif-item:hover { background: var(--gray-50); }
.notif-item.unread { background: #f0fdf4; }
.notif-icon {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--green-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.notif-icon .material-icons-round { font-size: 17px; color: var(--green); }
.notif-title { font-size: 13px; font-weight: 600; margin-bottom: 2px; }
.notif-msg   { font-size: 12px; color: var(--gray-500); line-height: 1.5; }

/* ============================================================
   ADMIN LAYOUT
   ============================================================ */
.admin-layout { display: flex; min-height: 100vh; }
.admin-sidebar {
  width: 240px;
  flex-shrink: 0;
  background: var(--gray-900);
  padding: 0 12px 24px;
  position: fixed;
  top: var(--nav-h);
  left: 0;
  bottom: 0;
  overflow-y: auto;
}
.admin-sidebar .sidebar-section {
  padding: 20px 0 8px;
}
.sidebar-section-title {
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: rgba(255,255,255,.3);
  padding: 0 10px;
  margin-bottom: 6px;
}
.admin-sidebar a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  font-weight: 500;
  color: rgba(255,255,255,.6);
  transition: var(--transition);
  margin-bottom: 2px;
}
.admin-sidebar a:hover,
.admin-sidebar a.active {
  background: rgba(0,158,96,.2);
  color: var(--white);
}
.admin-sidebar a.active { color: var(--green-light); }
.admin-sidebar a .material-icons-round { font-size: 18px; }
.admin-main {
  flex: 1;
  margin-left: 240px;
  padding: 32px;
  background: var(--gray-50);
  min-height: calc(100vh - var(--nav-h));
}

/* ============================================================
   MOBILE RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .cats-grid { grid-template-columns: repeat(4, 1fr); }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-links { grid-template-columns: repeat(3, 1fr); }
  .admin-sidebar { width: 200px; }
  .admin-main { margin-left: 200px; padding: 24px; }
}

@media (max-width: 768px) {
  :root { --nav-h: 58px; }

  .navbar-links,
  .navbar-search { display: none; }
  .hamburger { display: flex; }
  .bottom-bar { display: block; }

  .main-content {
    padding-bottom: var(--bottom-bar-h);
  }

  .cats-grid { grid-template-columns: repeat(4, 1fr); gap: 10px; }
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .product-image { aspect-ratio: 1/1; }

  .hero-title { font-size: 36px; letter-spacing: -1px; }
  .hero-stats { gap: 20px; }
  .hero-stat strong { font-size: 22px; }
  .promo-banner { grid-template-columns: 1fr; padding: 32px 24px; }

  .pricing-cards { grid-template-columns: 1fr; max-width: 340px; }

  .section { padding: 40px 0; }
  .footer { margin-top: 40px; }
  .footer-links { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .notif-panel { width: 100%; right: -100%; }

  .admin-sidebar { display: none; }
  .admin-main { margin-left: 0; padding: 16px; }

  .page-header { gap: 12px; }
  .page-header h1 { font-size: 20px; }

  .inner-page { padding: 20px 14px; }
}

@media (max-width: 480px) {
  .cats-grid { grid-template-columns: repeat(4, 1fr); gap: 8px; }
  .cat-card { padding: 14px 8px 12px; }
  .cat-name { font-size: 11px; }
  .cat-count { display: none; }
  .hero-title { font-size: 30px; }
  .hero-desc { font-size: 14px; }
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .product-info { padding: 10px 10px 12px; }
  .product-title { font-size: 13px; }
  .product-price { font-size: 14px; }
}

/* ============================================================
   AUTH PAGES — Login / Register / Inscription Pro
   ============================================================ */
.auth-body {
  min-height: 100vh;
  background: linear-gradient(150deg, #f0fdf8 0%, #e6f4ef 50%, #f5faf7 100%);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}
.auth-body::before {
  content: '';
  position: fixed;
  top: -30%; right: -20%;
  width: 70vw; height: 70vw;
  max-width: 600px; max-height: 600px;
  background: radial-gradient(circle, rgba(0,158,96,.07) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

/* ── Auth top bar ── */
.auth-topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 56px;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(20px) saturate(1.8);
  -webkit-backdrop-filter: blur(20px) saturate(1.8);
  border-bottom: 1px solid rgba(0,158,96,.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  z-index: 200;
}
.auth-topbar-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 17px;
  font-weight: 800;
  color: var(--gray-900);
  letter-spacing: -.3px;
  text-decoration: none;
}
.auth-topbar-brand .brand-icon {
  width: 30px; height: 30px;
  font-size: 14px;
  border-radius: 8px;
}
.auth-topbar-brand span { color: var(--green); }
.auth-topbar-back {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-500);
  padding: 7px 14px;
  border-radius: 100px;
  border: 1.5px solid var(--gray-100);
  background: var(--white);
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
}
.auth-topbar-back:hover { color: var(--green); border-color: var(--green); }
.auth-topbar-back .material-icons-round { font-size: 16px; }

/* ── Auth flash (inside topbar area) ── */
.auth-flash {
  position: fixed;
  top: 68px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 32px);
  max-width: 440px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 40px 12px 14px;
  border-radius: var(--radius-md);
  font-size: 13.5px;
  font-weight: 500;
  z-index: 150;
  box-shadow: var(--shadow-md);
  border: 1.5px solid;
  animation: slideDownFade .35s ease;
}
@keyframes slideDownFade {
  from { opacity:0; transform:translateX(-50%) translateY(-8px); }
  to   { opacity:1; transform:translateX(-50%) translateY(0); }
}
.auth-flash-success {
  background: var(--white);
  border-color: #bbf7d0;
  color: #166534;
}
.auth-flash-error {
  background: var(--white);
  border-color: #fecaca;
  color: #991b1b;
}
.auth-flash .material-icons-round { font-size: 18px; flex-shrink: 0; }
.auth-flash-close {
  position: absolute;
  right: 10px; top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
  color: var(--gray-300);
  cursor: pointer;
  line-height: 1;
  background: none; border: none;
}

/* ── Auth wrapper (center content) ── */
.auth-wrapper {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 76px 16px 32px;
  position: relative;
  z-index: 10;
}

/* ── Auth card ── */
.auth-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: 0 20px 60px rgba(0,0,0,.08), 0 4px 16px rgba(0,0,0,.04);
  padding: 36px 32px 28px;
  width: 100%;
  max-width: 420px;
  position: relative;
  border: 1px solid rgba(0,158,96,.08);
}
.auth-card::before {
  content: '';
  position: absolute;
  top: 0; left: 40px; right: 40px;
  height: 3px;
  background: linear-gradient(90deg, var(--green), var(--green-light));
  border-radius: 0 0 3px 3px;
}

.auth-logo {
  text-align: center;
  margin-bottom: 20px;
}
.auth-logo a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 20px;
  font-weight: 800;
  color: var(--gray-900);
  letter-spacing: -.3px;
  text-decoration: none;
}
.auth-logo a span { color: var(--green); }

.auth-title { text-align: center; margin-bottom: 26px; }
.auth-title h2 { font-size: 22px; font-weight: 800; letter-spacing: -.4px; color: var(--gray-900); margin-bottom: 4px; }
.auth-title p  { font-size: 13.5px; color: var(--gray-500); }

/* ── Input group with icon ── */
.input-group { position: relative; }
.input-group input,
.input-group select { padding-right: 42px; }
.input-group-icon {
  position: absolute;
  right: 12px; top: 50%;
  transform: translateY(-50%);
  color: var(--gray-300);
  cursor: pointer;
  display: flex;
  align-items: center;
  transition: color var(--transition);
}
.input-group-icon:hover { color: var(--green); }
.input-group-icon .material-icons-round { font-size: 18px; }

/* ── Form controls ── */
.form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 6px;
}
.required { color: var(--red); }
.form-control {
  width: 100%;
  padding: 11px 14px;
  background: var(--gray-50);
  border: 1.5px solid var(--gray-100);
  border-radius: var(--radius-md);
  font-size: 14px;
  color: var(--gray-900);
  font-family: var(--font-body);
  outline: none;
  transition: var(--transition);
  -webkit-appearance: none;
}
.form-control:focus {
  background: var(--white);
  border-color: var(--green);
  box-shadow: 0 0 0 4px var(--green-glow);
}
.w-full { width: 100%; }
.auth-footer {
  text-align: center;
  margin-top: 20px;
  font-size: 13.5px;
  color: var(--gray-500);
  line-height: 1.9;
}
.auth-footer a { color: var(--green); font-weight: 600; }
.auth-footer a:hover { text-decoration: underline; }

/* ── Divider ── */
.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 18px 0;
  color: var(--gray-300);
  font-size: 12px;
}
.auth-divider::before,
.auth-divider::after { content:''; flex:1; height:1px; background:var(--gray-100); }

/* ============================================================
   HAMBURGER BUTTON (standalone, no btn-icon conflict)
   ============================================================ */
.hamburger-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 38px; height: 38px;
  border-radius: var(--radius-sm);
  background: var(--gray-100);
  border: none;
  cursor: pointer;
  flex-shrink: 0;
  transition: background var(--transition);
  -webkit-tap-highlight-color: transparent;
}
.hamburger-btn:hover { background: var(--gray-200, #e5e7eb); }
.hamburger-btn span {
  display: block;
  width: 20px; height: 2px;
  background: var(--gray-900);
  border-radius: 2px;
  transition: var(--transition);
}

/* ============================================================
   RESPONSIVE — MOBILE & TABLET (toutes corrections)
   ============================================================ */

/* ── Tablet 768–1024px ── */
@media (max-width: 1024px) {
  .cats-grid          { grid-template-columns: repeat(4, 1fr); }
  .footer-inner       { grid-template-columns: 1fr; gap: 32px; }
  .footer-links       { grid-template-columns: repeat(3,1fr); }
  .admin-sidebar      { width: 200px; }
  .admin-main         { margin-left: 200px; padding: 24px; }
  .products-grid      { grid-template-columns: repeat(3, 1fr); }
}

/* ── Mobile < 768px ── */
@media (max-width: 768px) {
  :root {
    --nav-h: 58px;
  }

  /* ── Navbar ── */
  .navbar-links  { display: none; }
  .navbar-search { display: none; }
  .hamburger-btn { display: flex; }   /* show hamburger */

  /* ── Footer: MASQUER sur mobile, remplacé par bottom bar ── */
  .footer { display: none !important; }

  /* ── Bottom bar: afficher ── */
  .bottom-bar { display: block; }
  .main-content { padding-bottom: var(--bottom-bar-h); }

  /* ── Products: max 2 colonnes ── */
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .product-image { aspect-ratio: 1/1; }
  .product-info  { padding: 10px 10px 12px; }
  .product-title { font-size: 13px; }
  .product-price { font-size: 14px; }

  /* ── Categories: 4 icônes compactes ── */
  .cats-grid { grid-template-columns: repeat(4, 1fr); gap: 8px; }
  .cat-card  { padding: 14px 6px 12px; border-radius: var(--radius-md); }
  .cat-icon  { width: 42px; height: 42px; font-size: 20px !important; margin-bottom: 8px; }
  .cat-name  { font-size: 10.5px; }
  .cat-count { display: none; }

  /* ── How it works: colonne unique ── */
  .how-it-works-grid {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
    max-width: 100% !important;
  }

  /* ── Hero ── */
  .hero             { min-height: 100svh; min-height: 100vh; }
  .hero-title       { font-size: 34px; letter-spacing: -1px; }
  .hero-desc        { font-size: 14.5px; }
  .hero-actions     { flex-direction: column; }
  .hero-btn-primary,
  .hero-btn-outline { width: 100%; justify-content: center; padding: 14px 20px; }
  .hero-stats       { flex-wrap: wrap; gap: 16px; }
  .scroll-hint      { display: none; }

  /* ── Promo banner ── */
  .promo-banner { grid-template-columns: 1fr; padding: 28px 20px; }
  .promo-banner > div:last-child { display: none; }

  /* ── Section ── */
  .section    { padding: 36px 0; }
  .section-sm { padding: 24px 0; }
  .container  { padding: 0 14px; }

  /* ── Page header ── */
  .page-header    { flex-direction: column; align-items: flex-start; gap: 10px; }
  .page-header h1 { font-size: 20px; }

  /* ── Inner page ── */
  .inner-page { padding: 16px 12px; padding-bottom: calc(var(--bottom-bar-h) + 20px); }

  /* ── Flash: en bas sur mobile ── */
  .flash {
    top: auto;
    bottom: calc(var(--bottom-bar-h) + 10px);
    right: 12px;
    left: 12px;
    max-width: 100%;
    font-size: 13px;
    padding: 11px 38px 11px 12px;
    border-radius: var(--radius-md);
  }

  /* ── Tables ── */
  .table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  table       { min-width: 580px; }

  /* ── Pricing ── */
  .pricing-cards { grid-template-columns: 1fr; max-width: 100%; }

  /* ── Specialists ── */
  .specialist-card { min-width: 148px; }

  /* ── Notif panel ── */
  .notif-panel { width: 100%; right: -100%; }

  /* ── Admin ── */
  .admin-sidebar { display: none; }
  .admin-main    { margin-left: 0; padding: 14px; padding-bottom: calc(var(--bottom-bar-h) + 16px); }

  /* ── Auth on mobile ── */
  .auth-wrapper { padding: 74px 12px 24px; align-items: flex-start; }
  .auth-card    { padding: 28px 18px 22px; border-radius: var(--radius-lg); max-width: 100%; }
  .auth-back-label { display: none; } /* hide "Accueil" label, keep icon only */
  .auth-topbar-back { padding: 8px; border-radius: 50%; min-width: 36px; justify-content: center; }

  /* ── Auth flash on mobile: below topbar ── */
  .auth-flash { top: 66px; }
}

/* ── Small phones < 480px ── */
@media (max-width: 480px) {
  .cats-grid { gap: 6px; }
  .cat-icon  { width: 36px; height: 36px; font-size: 17px !important; }
  .cat-name  { font-size: 9.5px; }

  .section-title   { font-size: 22px; letter-spacing: -.5px; }
  .hero-title      { font-size: 28px; }
  .hero-eyebrow    { font-size: 10.5px; padding: 5px 12px; }

  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }

  .auth-card { padding: 24px 14px 18px; }
  .auth-title h2 { font-size: 19px; }
}

/* ── PWA / iPhone notch support ── */
@supports (padding: env(safe-area-inset-bottom)) {
  .bottom-bar {
    padding-bottom: env(safe-area-inset-bottom);
    height: calc(var(--bottom-bar-h) + env(safe-area-inset-bottom));
  }
  .main-content {
    padding-bottom: calc(var(--bottom-bar-h) + env(safe-area-inset-bottom));
  }
  @media (max-width: 768px) {
    .flash {
      bottom: calc(var(--bottom-bar-h) + env(safe-area-inset-bottom) + 10px);
    }
  }
}

/* ── Form row (2-col grid in auth, single col on mobile) ── */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
@media (max-width: 580px) {
  .form-row { grid-template-columns: 1fr; gap: 0; }
  /* Wide auth card for register */
  .auth-card[style*="max-width:600px"],
  .auth-card[style*="max-width: 600px"] { max-width: 100%; }
}

/* ── Policy checkbox ── */
.policy-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--gray-600, #4b5563);
  line-height: 1.5;
  cursor: pointer;
}
.policy-check input[type="checkbox"] {
  width: 17px; height: 17px;
  margin-top: 1px;
  accent-color: var(--green);
  cursor: pointer;
  flex-shrink: 0;
}

/* ── Step badge (register multi-step indicator) ── */
.register-steps {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 24px;
}
.register-step {
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 2px solid var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: var(--gray-300);
  transition: var(--transition);
}
.register-step.active {
  background: var(--green);
  border-color: var(--green);
  color: var(--white);
}

/* ============================================================
   ADMIN — CORRECTIONS LAYOUT & MOBILE
   ============================================================ */

/* Compenser la navbar fixe */
.admin-layout {
  padding-top: var(--nav-h);
}

/* Sidebar mobile: glisse depuis la gauche */
@media (max-width: 768px) {
  .admin-sidebar {
    transform: translateX(-100%);
    transition: transform .28s ease;
    top: var(--nav-h);
    z-index: 500;
  }
  .admin-sidebar.open {
    transform: translateX(0);
  }
  .admin-main {
    margin-left: 0;
    padding: 20px 14px;
    padding-bottom: calc(var(--bottom-bar-h) + 20px);
  }
  .admin-layout {
    padding-top: var(--nav-h);
  }
}

/* Masquer bottom-bar admin sur desktop */
@media (min-width: 769px) {
  #admin-bottom-bar { display: none !important; }
}

/* Afficher hamburger dans navbar admin */
.navbar .hamburger-btn {
  display: none;
}
@media (max-width: 768px) {
  .navbar .hamburger-btn {
    display: flex;
  }
}

/* hide-xs: masquer texte btn sur très petit écran */
@media (max-width: 480px) {
  .hide-xs { display: none; }
}

/* Alert styles (utilisés dans layouts admin/main pour flash) */
.alert {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px 16px;
  border-radius: var(--radius-md);
  font-size: 13.5px;
  font-weight: 500;
  border: 1.5px solid;
}
.alert .material-icons-round { font-size: 18px; flex-shrink: 0; margin-top: 1px; }
.alert-success { background: #f0fdf4; border-color: #bbf7d0; color: #166534; }
.alert-error   { background: #fef2f2; border-color: #fecaca; color: #991b1b; }
.alert-warning { background: #fffbeb; border-color: #fde68a; color: #92400e; }
.alert-info    { background: #eff6ff; border-color: #bfdbfe; color: #1e40af; }

/* Table styles (utilisés dans admin/user/pro views) */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
}
table th {
  padding: 10px 14px;
  text-align: left;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--gray-500);
  background: var(--gray-50);
  border-bottom: 1.5px solid var(--gray-100);
  white-space: nowrap;
}
table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--gray-100);
  color: var(--gray-700);
  vertical-align: middle;
}
table tr:last-child td { border-bottom: none; }
table tr:hover td { background: rgba(0,158,96,.03); }
.text-sm  { font-size: 12px; }
.text-muted { color: var(--gray-500); }
.bg-white   { background: var(--white); }
.shadow-sm  { box-shadow: var(--shadow-sm); }
.border-card { border: 1.5px solid var(--gray-100); }
.rounded-xl  { border-radius: var(--radius-xl); }
.overflow-hidden { overflow: hidden; }

/* ============================================================
   WELLSHOP — CATALOGUE FIX : classes utilisables desktop + mobile
   Ajouter À LA FIN de main.css (remplace catalogue_mobile_ecommerce.css)
   ============================================================ */

/* ── section-header-mobile : fonctionne partout ── */
.section-header-mobile {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: .625rem;
}
.section-header-mobile h2 {
  font-size: .9rem;
  font-weight: 800;
  color: var(--gray-900);
}
.section-header-mobile a {
  font-size: .75rem;
  font-weight: 600;
  color: var(--green);
  white-space: nowrap;
}

/* ── filter-chips : scrollables partout, wrappent sur desktop ── */
.filter-chips {
  display: flex;
  gap: .375rem;
  flex-wrap: wrap;          /* desktop : wrap */
  padding: .25rem 0 .5rem;
  margin-bottom: .75rem;
}
.filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  border: 1.5px solid var(--gray-100);
  background: var(--white);
  color: var(--gray-700);
  cursor: pointer;
  flex-shrink: 0;
  transition: var(--transition);
  text-decoration: none;
}
.filter-chip:hover { border-color: var(--green); color: var(--green); }
.filter-chip.active {
  background: var(--green);
  border-color: var(--green);
  color: var(--white);
}

/* ── flash-sale-banner : desktop + mobile ── */
.flash-sale-banner {
  background: linear-gradient(90deg, var(--green), #00c878);
  border-radius: var(--radius-md);
  padding: .625rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: .875rem;
  color: var(--white);
}
.flash-sale-banner .label {
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .05em;
  display: flex;
  align-items: center;
  gap: 6px;
}
.flash-sale-banner .label::before { content: '⚡'; font-size: 15px; }
.flash-sale-timer {
  font-size: 12px;
  font-weight: 700;
  background: rgba(0,0,0,.2);
  padding: 3px 9px;
  border-radius: 6px;
  letter-spacing: .03em;
  font-variant-numeric: tabular-nums;
}

/* ── cat-search-sticky : sticky sur mobile, normal sur desktop ── */
.cat-search-sticky {
  display: flex;
  gap: .5rem;
  align-items: center;
  margin-bottom: .875rem;
  position: relative;
}
.cat-search-sticky input {
  flex: 1;
  padding: 10px 14px 10px 40px;
  background: var(--gray-50);
  border: 1.5px solid transparent;
  border-radius: 100px;
  font-size: 14px;
  outline: none;
  transition: var(--transition);
  font-family: var(--font-body);
}
.cat-search-sticky input:focus {
  background: var(--white);
  border-color: var(--green);
  box-shadow: 0 0 0 4px var(--green-glow);
}
.cat-search-sticky .search-icon {
  position: absolute;
  left: 13px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
  color: var(--gray-300);
  pointer-events: none;
}

/* ── pro-quick-tags ── */
.pro-quick-tags { display:flex; flex-wrap:wrap; gap:.375rem; margin:.625rem 0; }
.pro-quick-tag  {
  display:inline-flex; align-items:center; gap:3px;
  font-size:11.5px; font-weight:600; padding:3px 10px;
  border-radius:100px; background:var(--gray-50); color:var(--gray-700);
  border:1px solid var(--gray-100);
}
.pro-quick-tag .material-icons-round { font-size:13px; color:var(--green); }

/* ── dispo-day-chips ── */
.dispo-day-chips { display:flex; gap:.375rem; flex-wrap:wrap; }
.dispo-day-chip  {
  min-width:72px; padding:.5rem .5rem .375rem;
  background:var(--gray-50); border-radius:var(--radius-sm);
  text-align:center; border:1px solid var(--gray-100);
}
.dispo-day-chip .jour  { font-size:.72rem; font-weight:800; color:var(--green); text-transform:uppercase; margin-bottom:2px; }
.dispo-day-chip .heure { font-size:.7rem; color:var(--gray-700); line-height:1.4; }

/* ── boutiques-mobile-scroll ── */
.boutiques-mobile-scroll { display:flex; gap:.625rem; flex-wrap:wrap; margin-bottom:.875rem; }
.boutique-mini-card {
  min-width:130px; background:var(--white); border:1.5px solid var(--gray-100);
  border-radius:var(--radius-md); overflow:hidden; text-decoration:none; color:inherit;
  transition:var(--transition);
}
.boutique-mini-card:hover { border-color:var(--green); transform:translateY(-2px); }
.boutique-mini-card .bmc-img { height:80px; background:var(--gray-50); display:flex; align-items:center; justify-content:center; font-size:2rem; overflow:hidden; }
.boutique-mini-card .bmc-img img { width:100%;height:100%;object-fit:cover; }
.boutique-mini-card .bmc-info { padding:.5rem .625rem .625rem; }
.boutique-mini-card .bmc-name { font-size:.75rem; font-weight:700; color:var(--gray-900); overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.boutique-mini-card .bmc-addr { font-size:.68rem; color:var(--gray-500); overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }

/* ── pro-sticky-cta : mobile seulement ── */
.pro-sticky-cta { display:none; }

/* ── pro-detail-mobile-hero/card : caché sur desktop ── */
.pro-detail-mobile-hero { display:none; }
.pro-detail-mobile-card { padding:0; }

/* ════════ MOBILE OVERRIDES < 768px ════════ */
@media (max-width: 768px) {

  /* Sticky search */
  .cat-search-sticky {
    position: sticky;
    top: var(--nav-h);
    z-index: 200;
    background: var(--white);
    padding: .625rem .875rem;
    margin: -.75rem -12px .75rem;
    border-bottom: 1px solid var(--gray-100);
    box-shadow: 0 2px 8px rgba(0,0,0,.06);
  }

  /* Chips : scroll horizontal sur mobile */
  .filter-chips { flex-wrap:nowrap; overflow-x:auto; scrollbar-width:none; -webkit-overflow-scrolling:touch; }
  .filter-chips::-webkit-scrollbar { display:none; }
  .filter-chip { font-size:12px; padding:5px 12px; }

  /* Products grid */
  .products-grid { grid-template-columns:repeat(2,1fr); gap:8px; }
  .product-image { aspect-ratio:1/1; }
  .product-info  { padding:7px 8px 10px; }
  .product-category { font-size:10px; }
  .product-title { font-size:12.5px; -webkit-line-clamp:2; }
  .product-seller { font-size:11px; }
  .product-price { font-size:13.5px; font-weight:800; color:var(--red); }
  .product-price .currency { font-size:10px; color:var(--red); opacity:.8; }
  .product-badge { font-size:9.5px; padding:2px 7px; }
  .product-overlay { display:none; }
  .product-wishlist { display:none; }

  /* Hero pro mobile */
  .pro-detail-mobile-hero {
    display: block;
    margin: 0 -12px;
    position: relative;
    height: 200px;
    background: linear-gradient(135deg,var(--green-glow),var(--gray-50));
    overflow: hidden;
  }
  .pro-detail-mobile-hero img { width:100%;height:100%;object-fit:cover; }
  .pro-detail-mobile-hero .hero-overlay {
    position:absolute;inset:0;
    background:linear-gradient(to bottom,transparent 30%,rgba(10,15,13,.7) 100%);
  }
  .pro-detail-mobile-card {
    margin: -40px 0 0;
    position: relative;
    z-index: 5;
    background: var(--white);
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    padding: 1.25rem 1rem 1rem;
  }
  .pro-detail-mobile-avatar {
    width:70px;height:70px;border-radius:50%;
    border:3px solid var(--white);background:var(--white);
    box-shadow:0 4px 16px rgba(0,0,0,.12);overflow:hidden;
    display:flex;align-items:center;justify-content:center;margin-bottom:.75rem;
  }

  /* CTA sticky bas */
  .pro-sticky-cta {
    display: flex;
    position: fixed;
    bottom: var(--bottom-bar-h);
    left:0;right:0;
    padding:.625rem .875rem;
    background:rgba(255,255,255,.96);
    backdrop-filter:blur(12px);
    border-top:1px solid var(--gray-100);
    z-index:300;
    gap:.5rem;
  }
  .pro-sticky-cta .btn { flex:1;justify-content:center; }

  /* dispo-day-chips : scroll sur mobile */
  .dispo-day-chips { flex-wrap:nowrap; overflow-x:auto; scrollbar-width:none; }
  .dispo-day-chips::-webkit-scrollbar { display:none; }

  /* boutiques : scroll horizontal */
  .boutiques-mobile-scroll { flex-wrap:nowrap; overflow-x:auto; scrollbar-width:none; -webkit-overflow-scrolling:touch; }
  .boutiques-mobile-scroll::-webkit-scrollbar { display:none; }
}