/* =========================================================
   SHOP PREMIUM — Design System 2026
   Librairie & Marketplace Fournitures Scolaires
   ========================================================= */

/* ─── 1. CSS VARIABLES ─── */
:root {
  /* Couleurs principales */
  --primary:         #0B4F6C;
  --primary-light:   #1E7BA4;
  --primary-dark:    #083B52;
  --primary-50:      rgba(11,79,108,.05);
  --primary-100:     rgba(11,79,108,.1);
  --primary-200:     rgba(11,79,108,.2);

  /* Accent */
  --accent:          #FF6B35;
  --accent-hover:    #E85A24;
  --accent-light:    rgba(255,107,53,.1);

  /* Sémantiques */
  --success:         #059669;
  --success-light:   rgba(5,150,105,.1);
  --danger:          #DC2626;
  --danger-light:    rgba(220,38,38,.1);
  --warning:         #D97706;
  --warning-light:   rgba(217,119,6,.1);
  --info:            #0EA5E9;

  /* Grays */
  --dark:            #1A1A2E;
  --gray-900:        #111827;
  --gray-700:        #374151;
  --gray-600:        #4B5563;
  --gray-500:        #6B7280;
  --gray-400:        #9CA3AF;
  --gray-300:        #D1D5DB;
  --gray-200:        #E5E7EB;
  --gray-100:        #F3F4F6;
  --gray-50:         #F9FAFB;
  --white:           #FFFFFF;

  /* Typographie */
  --font-sans:       'Inter', 'Poppins', system-ui, -apple-system, sans-serif;
  --font-display:    'Poppins', var(--font-sans);

  --text-xs:         0.6875rem;   /* 11px */
  --text-sm:         0.8125rem;   /* 13px */
  --text-base:       0.9375rem;   /* 15px */
  --text-lg:         1.0625rem;   /* 17px */
  --text-xl:         1.1875rem;   /* 19px */
  --text-2xl:        1.375rem;    /* 22px */
  --text-3xl:        1.75rem;     /* 28px */
  --text-4xl:        2.25rem;     /* 36px */
  --text-5xl:        3rem;        /* 48px */

  /* Radius */
  --r-xs:   4px;
  --r-sm:   8px;
  --r-md:   12px;
  --r-lg:   16px;
  --r-xl:   24px;
  --r-full: 9999px;

  /* Ombres */
  --shadow-xs: 0 1px 2px rgba(0,0,0,.06);
  --shadow-sm: 0 2px 6px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.04);
  --shadow-md: 0 4px 16px rgba(0,0,0,.10), 0 2px 4px rgba(0,0,0,.04);
  --shadow-lg: 0 8px 32px rgba(0,0,0,.12), 0 4px 8px rgba(0,0,0,.04);
  --shadow-xl: 0 20px 60px rgba(0,0,0,.14), 0 8px 16px rgba(0,0,0,.06);
  --shadow-primary: 0 6px 20px rgba(11,79,108,.25);
  --shadow-accent:  0 6px 20px rgba(255,107,53,.30);

  /* Transitions */
  --ease:       cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out:   cubic-bezier(0, 0, 0.2, 1);
  --ease-in:    cubic-bezier(0.4, 0, 1, 1);
  --t-fast:     .15s var(--ease);
  --t-base:     .25s var(--ease);
  --t-slow:     .4s  var(--ease);

  /* Layout */
  --header-height:  74px;
  --topbar-h:       38px;
  --sidebar-w:      280px;

  /* Compatibilité avec l'ancien theme_couleur dynamique */
  --primary-color:  var(--primary);
}

/* ─── 2. RESET & BASE ─── */
*,*::before,*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; font-size: 15px; }

body {
  font-family: var(--font-sans);
  color: var(--gray-700);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; transition: color var(--t-base); }
a:hover { color: var(--primary); }
ul { list-style: none; margin: 0; padding: 0; }
h1,h2,h3,h4,h5,h6 { font-family: var(--font-display); color: var(--dark); line-height: 1.3; font-weight: 700; margin-bottom: .5rem; }

/* ─── 3. TYPOGRAPHIE ─── */
.sp-heading {
  font-size: var(--text-3xl);
  font-weight: 800;
  color: var(--dark);
}
.sp-heading span { color: var(--primary); }

.sp-subheading {
  font-size: var(--text-base);
  color: var(--gray-500);
  margin-top: .25rem;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary-50);
  color: var(--primary);
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  padding: 5px 14px;
  border-radius: var(--r-full);
  margin-bottom: .75rem;
}
.section-label::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--primary);
  border-radius: 50%;
}

/* ─── 4. TOPBAR ─── */
.sp-topbar {
  height: var(--topbar-h);
  background: var(--dark);
  display: flex;
  align-items: center;
  font-size: var(--text-xs);
  color: rgba(255,255,255,.75);
}
.sp-topbar a { color: rgba(255,255,255,.75); }
.sp-topbar a:hover { color: var(--white); }
.sp-topbar__contact { display: flex; gap: 20px; align-items: center; }
.sp-topbar__contact i { font-size: 12px; color: var(--accent); margin-right: 5px; }
.sp-topbar__right { display: flex; gap: 16px; align-items: center; justify-content: flex-end; }
.sp-topbar__right .dropdown-toggle { color: rgba(255,255,255,.75); cursor: pointer; }
.sp-topbar__right .dropdown-toggle:hover { color: var(--white); }
.sp-topbar__right .dropdown-menu {
  border: none;
  border-radius: var(--r-md);
  box-shadow: var(--shadow-lg);
  padding: 8px 0;
  min-width: 180px;
  top: calc(100% + 4px) !important;
}
.sp-topbar__right .dropdown-item {
  font-size: var(--text-sm);
  padding: 8px 16px;
  color: var(--gray-700);
  transition: all var(--t-fast);
}
.sp-topbar__right .dropdown-item:hover {
  background: var(--gray-50);
  color: var(--primary);
  padding-left: 20px;
}

/* ─── 5. HEADER ─── */
.sp-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--navbar-bg, var(--white));
  border-bottom: 1px solid var(--border-color, var(--gray-200));
  transition: box-shadow var(--t-base), transform var(--t-base);
}
.sp-header.scrolled {
  box-shadow: var(--shadow-md);
}
.sp-header.hide-up {
  transform: translateY(calc(-1 * var(--header-height)));
}
.sp-header__inner {
  height: var(--header-height);
  display: flex;
  align-items: center;
  gap: 24px;
}

/* Logo */
.sp-logo img { height: 46px; width: auto; object-fit: contain; }

/* Nav principale */
.sp-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  justify-content: center;
}
.sp-nav__item { position: relative; }
.sp-nav__link {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 14px;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--navbar-text, var(--gray-700));
  border-radius: var(--r-sm);
  transition: all var(--t-fast);
}
.sp-nav__link:hover,
.sp-nav__link.active {
  color: var(--primary);
  background: var(--primary-50);
}
.sp-nav__link i { font-size: 10px; transition: transform var(--t-fast); }
.sp-nav__item:hover .sp-nav__link i { transform: rotate(180deg); }

/* Mega menu */
.sp-mega-menu {
  position: fixed;
  top: var(--header-height, 72px);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  background: var(--navbar-bg, var(--white));
  border-radius: var(--card-radius, var(--r-lg));
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border-color, var(--gray-200));
  padding: 28px 32px;
  width: min(1100px, calc(100vw - 32px));
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--t-base), visibility var(--t-base), transform var(--t-base);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px 28px;
  z-index: 1100;
}
/* Pont invisible pour ne pas perdre le hover entre le lien et le menu */
.sp-mega-menu::before {
  content: '';
  position: absolute;
  top: -14px;
  left: 0;
  right: 0;
  height: 14px;
}
.sp-nav__item:hover .sp-mega-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.sp-mega-col__title {
  font-size: var(--text-xs);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--primary);
  padding: 6px 10px 8px;
  border-bottom: 2px solid var(--primary-100);
  margin-bottom: 8px;
}
.sp-mega-col a {
  display: block;
  font-size: var(--text-sm);
  color: var(--gray-600);
  padding: 6px 10px;
  border-radius: var(--r-xs);
  transition: all var(--t-fast);
}
.sp-mega-col a:hover {
  background: var(--primary-50);
  color: var(--primary);
  padding-left: 16px;
}

/* Actions header (search, cart) */
.sp-header__actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.sp-icon-btn {
  position: relative;
  width: 42px;
  height: 42px;
  border-radius: var(--r-sm);
  border: 1px solid var(--gray-200);
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--gray-700);
  font-size: 18px;
  transition: all var(--t-fast);
}
.sp-icon-btn:hover {
  background: var(--primary-50);
  border-color: var(--primary-200);
  color: var(--primary);
}
.sp-icon-btn .badge-count {
  position: absolute;
  top: -6px;
  right: -6px;
  width: 18px;
  height: 18px;
  background: var(--accent);
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  border-radius: var(--r-full);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--white);
}

/* Search overlay */
.sp-search-overlay {
  position: fixed;
  inset: 0;
  background: rgba(26,26,46,.7);
  z-index: 1100;
  opacity: 0;
  visibility: hidden;
  transition: all var(--t-base);
  backdrop-filter: blur(4px);
}
.sp-search-overlay.active {
  opacity: 1;
  visibility: visible;
}
.sp-search-box {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1101;
  background: var(--white);
  padding: 20px;
  box-shadow: var(--shadow-xl);
  transform: translateY(-100%);
  transition: transform var(--t-slow);
}
.sp-search-overlay.active .sp-search-box {
  transform: translateY(0);
}
.sp-search-box__inner {
  max-width: 680px;
  margin: 0 auto;
  display: flex;
  gap: 12px;
  align-items: center;
}
.sp-search-box input {
  flex: 1;
  height: 50px;
  border: 2px solid var(--gray-200);
  border-radius: var(--r-md);
  padding: 0 18px;
  font-size: var(--text-lg);
  font-family: var(--font-sans);
  transition: border-color var(--t-fast);
}
.sp-search-box input:focus {
  outline: none;
  border-color: var(--primary);
}
.sp-search-box__btn {
  height: 50px;
  padding: 0 24px;
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: var(--r-md);
  font-weight: 600;
  cursor: pointer;
  transition: background var(--t-fast);
}
.sp-search-box__btn:hover { background: var(--primary-dark); }

/* Suggestions de recherche */
#sp-search-results {
  max-width: 680px;
  margin: 8px auto 0;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.sp-suggest-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  color: var(--gray-900);
  text-decoration: none;
  border-bottom: 1px solid var(--gray-100);
  transition: background var(--t-fast);
}
.sp-suggest-item:last-child { border-bottom: none; }
.sp-suggest-item:hover { background: var(--gray-50); color: var(--primary); text-decoration: none; }
.sp-suggest-item img {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border-radius: var(--r-sm);
  flex-shrink: 0;
}
.sp-suggest-item__placeholder {
  width: 44px;
  height: 44px;
  background: var(--gray-100);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-400);
  font-size: 18px;
  flex-shrink: 0;
}
.sp-suggest-item div { flex: 1; min-width: 0; }
.sp-suggest-item strong { display: block; font-size: var(--text-sm); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sp-suggest-item span  { font-size: var(--text-xs); color: var(--primary); font-weight: 600; }
.sp-suggest-no-results {
  padding: 16px;
  text-align: center;
  color: var(--gray-500);
  font-size: var(--text-sm);
}

.sp-search-close {
  position: absolute;
  right: 20px;
  top: 20px;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--gray-500);
}

/* Mini-cart drawer */
.sp-cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 380px;
  height: 100%;
  background: var(--white);
  box-shadow: var(--shadow-xl);
  z-index: 1200;
  transform: translateX(100%);
  transition: transform var(--t-slow);
  display: flex;
  flex-direction: column;
}
.sp-cart-drawer.open { transform: translateX(0); }
.sp-cart-drawer__overlay {
  position: fixed;
  inset: 0;
  background: rgba(26,26,46,.5);
  z-index: 1199;
  opacity: 0;
  visibility: hidden;
  transition: all var(--t-base);
  backdrop-filter: blur(2px);
}
.sp-cart-drawer__overlay.open { opacity: 1; visibility: visible; }
.sp-cart-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--gray-200);
}
.sp-cart-drawer__head h4 { margin: 0; font-size: var(--text-lg); }
.sp-cart-drawer__head .count {
  background: var(--primary);
  color: var(--white);
  border-radius: var(--r-full);
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  margin-left: 6px;
}
.sp-cart-drawer__close {
  background: var(--gray-100);
  border: none;
  border-radius: var(--r-sm);
  width: 32px;
  height: 32px;
  cursor: pointer;
  font-size: 16px;
  transition: all var(--t-fast);
}
.sp-cart-drawer__close:hover { background: var(--danger-light); color: var(--danger); }
.sp-cart-drawer__body { flex: 1; overflow-y: auto; padding: 16px; }
.sp-cart-item {
  display: flex;
  gap: 12px;
  padding: 12px;
  border-radius: var(--r-md);
  transition: background var(--t-fast);
  margin-bottom: 4px;
}
.sp-cart-item:hover { background: var(--gray-50); }
.sp-cart-item__img {
  width: 64px;
  height: 64px;
  border-radius: var(--r-sm);
  object-fit: cover;
  border: 1px solid var(--gray-200);
  flex-shrink: 0;
}
.sp-cart-item__info { flex: 1; min-width: 0; }
.sp-cart-item__name {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--gray-900);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sp-cart-item__qty { font-size: var(--text-xs); color: var(--gray-500); }
.sp-cart-item__price { font-size: var(--text-sm); font-weight: 700; color: var(--primary); }
.sp-cart-item__remove {
  background: none;
  border: none;
  font-size: 16px;
  color: var(--gray-400);
  cursor: pointer;
  padding: 0 4px;
  transition: color var(--t-fast);
}
.sp-cart-item__remove:hover { color: var(--danger); }
.sp-cart-drawer__foot {
  padding: 16px 24px;
  border-top: 1px solid var(--gray-200);
}
.sp-cart-total {
  display: flex;
  justify-content: space-between;
  font-size: var(--text-lg);
  font-weight: 700;
  margin-bottom: 16px;
}
.sp-cart-total span:last-child { color: var(--primary); }
.sp-cart-drawer__empty {
  text-align: center;
  padding: 40px 20px;
  color: var(--gray-500);
}
.sp-cart-drawer__empty i { font-size: 48px; color: var(--gray-300); margin-bottom: 12px; }

/* Mobile hamburger — animé */
.sp-hamburger {
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  width: 40px;
  height: 40px;
  min-width: 40px;
  cursor: pointer;
  padding: 0;
  border-radius: var(--r-md);
  background: var(--gray-50);
  border: 1.5px solid var(--gray-200);
  transition: background var(--t-fast), border-color var(--t-fast), box-shadow var(--t-fast);
}
.sp-hamburger:hover {
  background: var(--primary-100);
  border-color: var(--primary-200);
  box-shadow: 0 2px 8px rgba(11,79,108,.12);
}
.sp-hamburger span {
  display: block;
  height: 2px;
  width: 18px;
  background: var(--dark);
  border-radius: 2px;
  transition: transform var(--t-base), opacity var(--t-fast), width var(--t-base);
  transform-origin: center;
}
/* Animation → X quand nav ouverte */
.sp-hamburger.active { background: var(--primary-100); border-color: var(--primary-200); }
.sp-hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.sp-hamburger.active span:nth-child(2) { opacity: 0; width: 0; }
.sp-hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav drawer */
.sp-mobile-nav {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 300px;
  background: var(--white);
  z-index: 1200;
  transform: translateX(-100%);
  transition: transform var(--t-slow);
  overflow-y: auto;
  box-shadow: var(--shadow-xl);
}
.sp-mobile-nav.open { transform: translateX(0); }
.sp-mobile-nav__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
  border-bottom: 1px solid var(--gray-200);
}
.sp-mobile-nav__body { padding: 12px; }
.sp-mobile-nav a {
  display: block;
  padding: 10px 12px;
  border-radius: var(--r-sm);
  color: var(--gray-700);
  font-weight: 500;
  font-size: var(--text-base);
  transition: all var(--t-fast);
}
.sp-mobile-nav a:hover { background: var(--primary-50); color: var(--primary); }
.sp-mobile-nav .sub-title {
  font-size: var(--text-xs);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gray-400);
  padding: 16px 12px 4px;
}
.sp-mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(26,26,46,.5);
  z-index: 1199;
  opacity: 0;
  visibility: hidden;
  transition: all var(--t-base);
}
.sp-mobile-overlay.open { opacity: 1; visibility: visible; }

/* ─── 6. HERO SLIDER ─── */
.sp-hero {
  position: relative;
  overflow: hidden;
}
.sp-hero .carousel-item {
  height: 88vh;
  min-height: 500px;
  max-height: 780px;
  position: relative;
  display: flex;
  align-items: center;
}
.sp-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 8s ease;
}
.sp-hero .carousel-item.active .sp-hero__bg {
  transform: scale(1.05);
}
.sp-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(11,79,108,.85) 0%, rgba(26,26,46,.5) 60%, rgba(0,0,0,.2) 100%);
}
.sp-hero__gradient-1 {
  background: linear-gradient(135deg, #0B4F6C 0%, #1E7BA4 40%, #0d3b52 100%);
}
.sp-hero__gradient-2 {
  background: linear-gradient(135deg, #1A1A2E 0%, #16213E 40%, #0F3460 100%);
}
.sp-hero__gradient-3 {
  background: linear-gradient(135deg, #083B52 0%, #0B4F6C 50%, #1E7BA4 100%);
}
.sp-hero__content {
  position: relative;
  z-index: 2;
  color: var(--white);
  padding: 0 0 40px;
}
.sp-hero__tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.25);
  color: var(--white);
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 5px 14px;
  border-radius: var(--r-full);
  backdrop-filter: blur(8px);
  margin-bottom: 20px;
  animation: fadeSlideUp .6s both;
}
.sp-hero__title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 16px;
  animation: fadeSlideUp .7s .1s both;
}
.sp-hero__title .accent { color: var(--accent); }
.sp-hero__desc {
  font-size: var(--text-lg);
  color: rgba(255,255,255,.85);
  max-width: 500px;
  margin-bottom: 32px;
  animation: fadeSlideUp .8s .2s both;
}
.sp-hero__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  animation: fadeSlideUp .9s .3s both;
}

/* Slider controls */
.sp-hero .carousel-indicators {
  bottom: 24px;
}
.sp-hero .carousel-indicators [data-bs-target] {
  width: 8px;
  height: 8px;
  border-radius: var(--r-full);
  background: rgba(255,255,255,.5);
  border: none;
  margin: 0 4px;
  transition: all var(--t-base);
}
.sp-hero .carousel-indicators .active {
  width: 28px;
  background: var(--white);
}
.sp-hero__nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: var(--r-full);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 18px;
  cursor: pointer;
  transition: all var(--t-base);
  z-index: 3;
}
.sp-hero__nav-btn:hover {
  background: rgba(255,255,255,.3);
  border-color: rgba(255,255,255,.5);
}
.sp-hero__nav-btn.prev { left: 24px; }
.sp-hero__nav-btn.next { right: 24px; }

/* Hero accent text */
.sp-hero__accent { color: var(--accent); }

/* Hero container height helper */
.sp-hero__container { position:relative; z-index:2; padding-top:60px; padding-bottom:60px; }

/* Hero overlay variant (gradient slides — légèrement transparent pour laisser le dégradé visible) */
.sp-hero__overlay--gradient {
  background: linear-gradient(120deg, rgba(0,0,0,.25) 0%, rgba(0,0,0,.05) 60%, transparent 100%);
}

/* ─── Hero décors flottants ─── */
.sp-hero__deco {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}
.sp-hero__deco-circle {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
}
.sp-hero__deco-circle--1 { width:320px; height:320px; top:-80px; right:5%; animation:floatDeco 7s ease-in-out infinite; }
.sp-hero__deco-circle--2 { width:200px; height:200px; bottom:-40px; right:20%; animation:floatDeco 9s ease-in-out infinite reverse; }
.sp-hero__deco-circle--3 { width:120px; height:120px; top:30%; right:35%; animation:floatDeco 11s ease-in-out infinite; }
.sp-hero__deco-icon {
  position: absolute;
  color: rgba(255,255,255,.08);
  font-size: 80px;
  animation: floatDeco 8s ease-in-out infinite;
}
.sp-hero__deco-icon--1 { top:10%; right:8%; font-size:120px; animation-delay:0s; }
.sp-hero__deco-icon--2 { bottom:15%; right:25%; font-size:64px; animation-delay:-3s; }
.sp-hero__deco-icon--3 { top:55%; right:12%; font-size:48px; animation-delay:-6s; }
@keyframes floatDeco {
  0%,100% { transform: translateY(0) rotate(0deg); }
  50%      { transform: translateY(-16px) rotate(6deg); }
}

/* ─── Hero search bar ─── */
.sp-hero__search {
  display: flex;
  align-items: center;
  background: rgba(255,255,255,.95);
  border-radius: var(--r-full);
  overflow: hidden;
  max-width: 560px;
  box-shadow: 0 8px 32px rgba(0,0,0,.2);
  margin-bottom: 16px;
  animation: fadeSlideUp .85s .25s both;
  border: 2px solid rgba(255,255,255,.3);
}
.sp-hero__search input[type="text"] {
  flex: 1;
  border: none;
  outline: none;
  padding: 14px 20px;
  font-size: var(--text-base);
  background: transparent;
  color: var(--dark);
  min-width: 0;
}
.sp-hero__search input::placeholder { color: var(--gray-400); }
.sp-hero__search-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 22px;
  height: 52px;
  background: var(--accent);
  color: var(--white);
  border: none;
  font-size: var(--text-sm);
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: background var(--t-fast);
  flex-shrink: 0;
}
.sp-hero__search-btn:hover { background: var(--accent-hover); }
.sp-hero__search-btn i { font-size: 16px; }

/* Hints rapides */
.sp-hero__hints {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 24px;
  animation: fadeSlideUp .9s .3s both;
}
.sp-hero__hints-label { color: rgba(255,255,255,.7); font-size: var(--text-xs); }
.sp-search-hint {
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.25);
  color: rgba(255,255,255,.9);
  font-size: var(--text-xs);
  padding: 4px 12px;
  border-radius: var(--r-full);
  cursor: pointer;
  transition: background var(--t-fast), border-color var(--t-fast);
  backdrop-filter: blur(4px);
}
.sp-search-hint:hover { background: rgba(255,255,255,.3); border-color: rgba(255,255,255,.5); }

/* ─── Hero stats cards (colonne droite) ─── */
.sp-hero__stats {
  display: flex;
  flex-direction: column;
  gap: 16px;
  animation: fadeSlideUp .9s .4s both;
}
.sp-hero__stat-card {
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  backdrop-filter: blur(12px);
  border-radius: var(--r-lg);
  padding: 18px 24px;
  text-align: center;
  min-width: 120px;
  transition: background var(--t-base), transform var(--t-base);
}
.sp-hero__stat-card:hover { background: rgba(255,255,255,.2); transform: translateY(-2px); }
.sp-hero__stat-num {
  display: block;
  font-size: 2rem;
  font-weight: 900;
  color: var(--white);
  line-height: 1;
  font-family: var(--font-display);
}
.sp-hero__stat-num sup { font-size: 1rem; vertical-align: super; color: var(--accent); }
.sp-hero__stat-lbl {
  display: block;
  font-size: var(--text-xs);
  color: rgba(255,255,255,.7);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 4px;
}

/* Trust bar améliorée */
.sp-trust-item div { display: flex; flex-direction: column; }
.sp-trust-item div strong { color: var(--white); font-size: var(--text-sm); }
.sp-trust-item div span { color: rgba(255,255,255,.6); font-size: var(--text-xs); }

/* Trust bar sous hero */
.sp-trust-bar {
  background: var(--dark);
  color: rgba(255,255,255,.85);
  padding: 14px 0;
}
.sp-trust-bar__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}
.sp-trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: var(--text-sm);
  font-weight: 500;
}
.sp-trust-item i { font-size: 22px; color: var(--accent); }
.sp-trust-item strong { color: var(--white); }

/* ─── 7. SEARCH HERO ─── */
.sp-search-hero {
  background: var(--white);
  padding: 32px 0;
  border-bottom: 1px solid var(--gray-200);
}
.sp-search-hero__form {
  display: flex;
  border: 2px solid var(--gray-200);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: var(--white);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
  max-width: 800px;
  margin: 0 auto;
}
.sp-search-hero__form:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px var(--primary-100), var(--shadow-md);
}
.sp-search-hero__cat {
  border: none;
  border-right: 1px solid var(--gray-200);
  background: var(--gray-50);
  padding: 0 16px;
  font-size: var(--text-sm);
  color: var(--gray-600);
  font-family: var(--font-sans);
  cursor: pointer;
  min-width: 160px;
  height: 56px;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236B7280' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: calc(100% - 12px) center;
  padding-right: 32px;
}
.sp-search-hero__input {
  flex: 1;
  border: none;
  padding: 0 20px;
  font-size: var(--text-base);
  font-family: var(--font-sans);
  height: 56px;
  background: transparent;
}
.sp-search-hero__input:focus { outline: none; }
.sp-search-hero__input::placeholder { color: var(--gray-400); }
.sp-search-hero__btn {
  background: var(--primary);
  border: none;
  padding: 0 28px;
  color: var(--white);
  font-size: var(--text-base);
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: background var(--t-fast);
  height: 56px;
  white-space: nowrap;
}
.sp-search-hero__btn:hover { background: var(--primary-dark); }
.sp-search-hero__suggestions {
  max-width: 800px;
  margin: 8px auto 0;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}
.sp-search-hero__suggestions span {
  font-size: var(--text-xs);
  color: var(--gray-500);
  margin-right: 4px;
}
.sp-search-hint {
  font-size: var(--text-xs);
  color: var(--gray-600);
  background: var(--gray-100);
  border-radius: var(--r-full);
  padding: 3px 10px;
  cursor: pointer;
  transition: all var(--t-fast);
}
.sp-search-hint:hover { background: var(--primary-50); color: var(--primary); }

/* ─── 8. SECTIONS LAYOUT ─── */
.sp-section {
  padding: 64px 0;
}
.sp-section--sm { padding: 40px 0; }
.sp-section--lg { padding: 96px 0; }
.sp-section--gray { background: var(--gray-50); }
.sp-section--dark {
  background: var(--dark);
  color: var(--white);
}
.sp-section--primary {
  background: var(--primary);
  color: var(--white);
}
.sp-section__head {
  text-align: center;
  margin-bottom: 48px;
}
.sp-section__head--left { text-align: left; }
.sp-section__head .sp-heading { margin-bottom: 8px; }
.sp-divider {
  width: 60px;
  height: 4px;
  background: var(--primary);
  border-radius: var(--r-full);
  margin: 12px auto 0;
}
.sp-section__head--left .sp-divider { margin-left: 0; }

/* ─── 9. CATEGORY CARDS ─── */
.sp-cat-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
.sp-cat-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-lg);
  padding: 24px 16px;
  text-align: center;
  cursor: pointer;
  transition: all var(--t-base);
  position: relative;
  overflow: hidden;
}
.sp-cat-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--primary);
  opacity: 0;
  transition: opacity var(--t-base);
  z-index: 0;
}
.sp-cat-card:hover {
  border-color: var(--primary);
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.sp-cat-card:hover::before { opacity: 1; }
.sp-cat-card:hover .sp-cat-icon,
.sp-cat-card:hover .sp-cat-name { color: var(--white) !important; position: relative; z-index: 1; }
.sp-cat-card:hover .sp-cat-icon-wrap { background: rgba(255,255,255,.15); }
.sp-cat-icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: var(--r-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  transition: all var(--t-base);
  position: relative;
  z-index: 1;
}
.sp-cat-icon {
  font-size: 28px;
  transition: all var(--t-base);
  position: relative;
  z-index: 1;
}
.sp-cat-name {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--gray-700);
  transition: color var(--t-base);
  position: relative;
  z-index: 1;
  white-space: normal;
  overflow: visible;
  line-height: 1.3;
  word-break: break-word;
}
.sp-cat-count {
  font-size: var(--text-xs);
  color: var(--gray-400);
  margin-top: 2px;
  position: relative;
  z-index: 1;
  transition: color var(--t-base);
}
.sp-cat-card:hover .sp-cat-count { color: rgba(255,255,255,.75); }

/* ─── 10. PRODUCT CARDS ─── */
.sp-products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.sp-products-grid--3 { grid-template-columns: repeat(3, 1fr); }
.sp-products-grid--5 { grid-template-columns: repeat(5, 1fr); }
.sp-products-grid--6 { grid-template-columns: repeat(6, 1fr); }

/* ─── 10. PRODUCT CARD ─── */
.sp-card {
  background: var(--card-bg, var(--white));
  border: 1px solid var(--border-color, var(--gray-200));
  border-radius: var(--card-radius, var(--r-lg));
  overflow: hidden;
  transition: border-color var(--t-base), box-shadow var(--t-base);
  position: relative;
  display: flex;
  flex-direction: column;
}
.sp-card:hover {
  border-color: var(--primary-200, #90cdf4);
  box-shadow: 0 8px 30px rgba(11,79,108,.13);
}

/* Image */
.sp-card__img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--gray-100);
}
.sp-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
  display: block;
}
.sp-card:hover .sp-card__img { transform: scale(1.07); }

/* Placeholder no-image */
.sp-card__img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--gray-100);
  color: var(--gray-300);
}
.sp-card__img-placeholder i { font-size: 36px; }
.sp-card__img-placeholder span { font-size: var(--text-xs); color: var(--gray-400); }

/* Badges (top-left) */
.sp-card__badges {
  position: absolute;
  top: 10px;
  left: 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  z-index: 3;
  pointer-events: none;
}

/* Floating action buttons (top-right) */
.sp-card__actions {
  position: absolute;
  top: 10px;
  right: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  z-index: 3;
}
.sp-card__action-btn {
  width: 34px;
  height: 34px;
  border-radius: var(--r-full);
  background: var(--white);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  color: var(--gray-500);
  box-shadow: 0 2px 8px rgba(0,0,0,.12);
  transition: all var(--t-fast);
  opacity: 0;
  transform: translateX(10px);
  text-decoration: none;
}
.sp-card:hover .sp-card__action-btn {
  opacity: 1;
  transform: translateX(0);
}
.sp-card__action-btn:nth-child(2) { transition-delay: .05s; }
.sp-card__action-btn:nth-child(3) { transition-delay: .10s; }
.sp-card__action-btn:hover { color: var(--white); background: var(--primary); transform: translateX(0) scale(1.1); }
.sp-card__action-btn.sp-wishlist-btn.active { color: var(--danger); opacity: 1; transform: translateX(0); background: #fee2e2; }
.sp-card__action-btn.sp-wishlist-btn.active:hover { background: var(--danger); color: var(--white); }

/* Quick view center overlay */
.sp-card__quick-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--t-base);
  z-index: 2;
  pointer-events: none;
}
.sp-card:hover .sp-card__quick-overlay {
  opacity: 1;
  pointer-events: auto;
}
.sp-card__quick-btn {
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(4px);
  border: none;
  border-radius: var(--r-full);
  padding: 10px 20px;
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 16px rgba(0,0,0,.15);
  transition: all var(--t-fast);
  transform: translateY(6px);
  transition: transform var(--t-base), box-shadow var(--t-fast);
}
.sp-card:hover .sp-card__quick-btn { transform: translateY(0); }
.sp-card__quick-btn:hover { background: var(--primary); color: var(--white); box-shadow: 0 6px 20px rgba(11,79,108,.3); }

/* Card body */
.sp-card__body {
  padding: 14px 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.sp-card__cat {
  font-size: 10px;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: .8px;
  margin-bottom: 4px;
  opacity: .8;
}
.sp-card__name {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--gray-900);
  line-height: 1.4;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}
.sp-card__name a { color: inherit; text-decoration: none; }
.sp-card__name a:hover { color: var(--primary); }
.sp-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 8px;
  padding-top: 10px;
  border-top: 1px solid var(--gray-100);
}
.sp-card__price {
  font-size: var(--text-base);
  font-weight: 800;
  color: var(--primary);
  white-space: nowrap;
}
.sp-card__price .old-price {
  font-size: var(--text-xs);
  font-weight: 400;
  color: var(--gray-400);
  text-decoration: line-through;
  margin-right: 4px;
}
.sp-card__add-btn {
  width: 34px;
  height: 34px;
  border-radius: var(--r-full);
  background: var(--primary);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 16px;
  flex-shrink: 0;
  transition: all var(--t-fast);
  box-shadow: 0 2px 8px rgba(11,79,108,.2);
}
.sp-card__add-btn:hover { background: var(--accent); transform: scale(1.12); box-shadow: 0 4px 12px rgba(255,107,53,.35); }
.sp-card__add-btn:disabled { background: var(--gray-200); color: var(--gray-400); cursor: not-allowed; transform: none; box-shadow: none; }
.sp-card__stock {
  font-size: 11px;
  color: var(--gray-400);
}
.sp-card__stock.out { color: var(--danger); font-weight: 600; }

/* List view card */
.sp-products-list { grid-template-columns: 1fr !important; gap: 12px; }
.sp-products-list .sp-card { flex-direction: row; }
.sp-products-list .sp-card__img-wrap {
  width: 180px;
  flex-shrink: 0;
  aspect-ratio: unset;
  height: 160px;
  border-radius: var(--r-lg) 0 0 var(--r-lg);
}
.sp-products-list .sp-card__quick-overlay { display: none; }
.sp-products-list .sp-card__body { padding: 16px 20px; }
.sp-products-list .sp-card__name { -webkit-line-clamp: 1; font-size: var(--text-base); }
.sp-products-list .sp-card__desc {
  font-size: var(--text-sm);
  color: var(--gray-500);
  margin: 4px 0 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.sp-products-list .sp-card__footer { justify-content: flex-start; gap: 12px; }
.sp-products-list .sp-card__add-btn { width: auto; border-radius: var(--r-md); padding: 0 16px; font-size: var(--text-sm); }

/* ─── QUICK VIEW MODAL ─── */
.sp-qv-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  align-items: center;
  justify-content: center;
}
.sp-qv-modal.open { display: flex; }
.sp-qv-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(3px);
  cursor: pointer;
}
.sp-qv-dialog {
  position: relative;
  background: var(--white);
  border-radius: var(--r-xl);
  width: min(860px, 94vw);
  max-height: 90vh;
  overflow-y: auto;
  z-index: 1;
  animation: qvIn .25s ease;
}
@keyframes qvIn {
  from { opacity: 0; transform: scale(.96) translateY(12px); }
  to   { opacity: 1; transform: none; }
}
.sp-qv-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: var(--r-full);
  background: var(--gray-100);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--gray-600);
  z-index: 2;
  transition: all var(--t-fast);
}
.sp-qv-close:hover { background: var(--danger); color: var(--white); }
.sp-qv-img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--r-xl) var(--r-xl) 0 0; }
.sp-qv-body { padding: 24px; }
.sp-qv-cat { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--primary); margin-bottom: 6px; }
.sp-qv-name { font-size: var(--text-xl); font-weight: 800; color: var(--dark); margin-bottom: 10px; line-height: 1.3; }
.sp-qv-price { font-size: var(--text-2xl); font-weight: 900; color: var(--primary); margin-bottom: 16px; }
.sp-qv-desc { font-size: var(--text-sm); color: var(--gray-600); line-height: 1.7; margin-bottom: 20px; }
.sp-qv-stock { font-size: var(--text-sm); padding: 6px 12px; border-radius: var(--r-md); display: inline-block; margin-bottom: 20px; }
.sp-qv-stock.ok { background: #dcfce7; color: #15803d; }
.sp-qv-stock.low { background: #fff7ed; color: #c2410c; }
.sp-qv-stock.out { background: #fee2e2; color: var(--danger); }

/* ─── PARTNERS without logo ─── */
.sp-partner-item__name {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--primary);
  letter-spacing: .5px;
  text-align: center;
}
/* Auto-scroll marquee for partners */
.sp-partners-marquee {
  overflow: hidden;
  position: relative;
}
.sp-partners-marquee::before,
.sp-partners-marquee::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}
.sp-partners-marquee::before { left: 0; background: linear-gradient(to right, var(--white), transparent); }
.sp-partners-marquee::after  { right: 0; background: linear-gradient(to left, var(--white), transparent); }
.sp-partners-inner {
  display: flex;
  gap: 24px;
  align-items: center;
  animation: marquee 22s linear infinite;
  width: max-content;
}
.sp-partners-marquee:hover .sp-partners-inner { animation-play-state: paused; }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ─── 11. BADGES ─── */
.sp-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 9px;
  border-radius: var(--r-full);
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .3px;
  white-space: nowrap;
}
.sp-badge--new     { background: var(--primary); color: var(--white); }
.sp-badge--sale    { background: var(--danger); color: var(--white); }
.sp-badge--hot     { background: var(--accent); color: var(--white); }
.sp-badge--best    { background: var(--success); color: var(--white); }
.sp-badge--out     { background: var(--gray-200); color: var(--gray-600); }
.sp-badge--promo   { background: var(--warning); color: var(--white); }

/* ─── 12. BUTTONS ─── */
.sp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 24px;
  border-radius: var(--btn-radius, var(--r-md));
  font-size: var(--text-sm);
  font-weight: 700;
  font-family: var(--font-sans);
  cursor: pointer;
  transition: all var(--t-fast);
  border: 2px solid transparent;
  white-space: nowrap;
  text-decoration: none;
  line-height: 1;
}
.sp-btn:focus { outline: none; }
.sp-btn--primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: var(--shadow-primary);
}
.sp-btn--primary:hover {
  background: var(--primary-dark);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(11,79,108,.35);
}
.sp-btn--accent {
  background: var(--accent);
  color: var(--white);
  box-shadow: var(--shadow-accent);
}
.sp-btn--accent:hover {
  background: var(--accent-hover);
  color: var(--white);
  transform: translateY(-1px);
}
.sp-btn--outline {
  background: transparent;
  border-color: var(--gray-300);
  color: var(--gray-700);
}
.sp-btn--outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-50);
}
.sp-btn--outline-white {
  background: transparent;
  border-color: rgba(255,255,255,.5);
  color: var(--white);
}
.sp-btn--outline-white:hover {
  background: rgba(255,255,255,.15);
  border-color: var(--white);
  color: var(--white);
}
.sp-btn--ghost {
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.2);
  color: var(--white);
  backdrop-filter: blur(4px);
}
.sp-btn--ghost:hover { background: rgba(255,255,255,.22); color: var(--white); }
.sp-btn--sm { padding: 7px 16px; font-size: var(--text-xs); }
.sp-btn--lg { padding: 14px 32px; font-size: var(--text-base); border-radius: var(--r-lg); }
.sp-btn--xl { padding: 16px 40px; font-size: var(--text-lg); border-radius: var(--r-lg); }
.sp-btn--icon {
  width: 38px;
  height: 38px;
  padding: 0;
  border-radius: var(--r-sm);
  font-size: 16px;
}
.sp-btn[disabled], .sp-btn.disabled {
  opacity: .5;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}
.sp-btn--full { width: 100%; }

/* Add to cart button */
.sp-btn--cart {
  background: var(--dark);
  color: var(--white);
  width: 100%;
  padding: 9px;
  font-size: var(--text-xs);
}
.sp-btn--cart:hover { background: var(--primary); color: var(--white); }

/* ─── 13. BREADCRUMB ─── */
.sp-breadcrumb {
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-200);
  padding: 14px 0;
}
.sp-breadcrumb__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.sp-breadcrumb__title { font-size: var(--text-xl); font-weight: 800; color: var(--dark); margin: 0; }
.sp-breadcrumb__nav {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: var(--text-sm);
}
.sp-breadcrumb__nav a { color: var(--gray-500); }
.sp-breadcrumb__nav a:hover { color: var(--primary); }
.sp-breadcrumb__sep {
  color: var(--gray-400);
  font-size: 10px;
  margin: 0 2px;
}
.sp-breadcrumb__nav .active { color: var(--primary); font-weight: 600; }

/* ─── 14. SIDEBAR ─── */
.sp-sidebar {
  position: sticky;
  top: calc(var(--header-height) + 20px);
  max-height: calc(100vh - var(--header-height) - 40px);
  overflow-y: auto;
  scrollbar-width: thin;
}
.sp-sidebar-block {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-lg);
  padding: 20px;
  margin-bottom: 16px;
}
.sp-sidebar-block__title {
  font-size: var(--text-sm);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .8px;
  color: var(--gray-500);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--gray-100);
}
.sp-filter-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 0;
  color: var(--gray-600);
  font-size: var(--text-sm);
  border-bottom: 1px solid var(--gray-100);
  transition: color var(--t-fast);
}
.sp-filter-list a:last-child { border-bottom: none; }
.sp-filter-list a:hover { color: var(--primary); }
.sp-filter-list a.active { color: var(--primary); font-weight: 700; }
.sp-filter-count {
  background: var(--gray-100);
  color: var(--gray-500);
  border-radius: var(--r-full);
  padding: 1px 7px;
  font-size: 11px;
}
.sp-filter-list a.active .sp-filter-count {
  background: var(--primary-100);
  color: var(--primary);
}

/* Price range */
.sp-price-range { padding: 4px 0; }
.sp-price-range__display {
  display: flex;
  justify-content: space-between;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 12px;
}
.sp-price-range input[type="range"] {
  width: 100%;
  height: 4px;
  background: var(--gray-200);
  border-radius: var(--r-full);
  appearance: none;
  cursor: pointer;
}
.sp-price-range input[type="range"]::-webkit-slider-thumb {
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: var(--r-full);
  background: var(--primary);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  border: 3px solid var(--white);
}

/* ─── 15. SHOP TOOLBAR ─── */
.sp-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-lg);
  margin-bottom: 20px;
}
.sp-toolbar__left { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.sp-toolbar__right { display: flex; align-items: center; gap: 10px; }
.sp-toolbar__count {
  font-size: var(--text-sm);
  color: var(--gray-500);
}
.sp-toolbar__count strong { color: var(--primary); }
.sp-toolbar__sort {
  height: 36px;
  padding: 0 12px;
  border: 1px solid var(--gray-200);
  border-radius: var(--r-sm);
  font-size: var(--text-sm);
  font-family: var(--font-sans);
  color: var(--gray-700);
  cursor: pointer;
  background: var(--white);
}
.sp-view-btn {
  width: 36px;
  height: 36px;
  border: 1px solid var(--gray-200);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--gray-400);
  font-size: 16px;
  transition: all var(--t-fast);
  background: var(--white);
}
.sp-view-btn:hover, .sp-view-btn.active {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-50);
}

/* ─── 16. PRODUCT DETAIL ─── */
.sp-product-gallery { position: sticky; top: calc(var(--header-height) + 16px); }
.sp-product-gallery__main {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--gray-100);
  aspect-ratio: 1;
  margin-bottom: 12px;
  cursor: zoom-in;
}
.sp-product-gallery__main img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform var(--t-slow);
}
.sp-product-gallery__main:hover img { transform: scale(1.06); }
.sp-product-gallery__placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  height: 100%;
  min-height: 320px;
  background: var(--gray-50);
  color: var(--gray-400);
  font-size: var(--text-sm);
}
.sp-product-gallery__placeholder i { font-size: 64px; color: var(--gray-300); }
.sp-product-gallery__thumbs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
}
.sp-thumb {
  aspect-ratio: 1;
  border-radius: var(--r-sm);
  overflow: hidden;
  border: 2px solid var(--gray-200);
  cursor: pointer;
  transition: all var(--t-fast);
  background: var(--gray-100);
}
.sp-thumb img { width: 100%; height: 100%; object-fit: cover; }
.sp-thumb.active, .sp-thumb:hover { border-color: var(--primary); }

.sp-product-info__name {
  font-size: var(--text-3xl);
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 12px;
}
.sp-product-info__price {
  font-size: var(--text-4xl);
  font-weight: 900;
  color: var(--primary);
  margin: 16px 0;
}
.sp-product-info__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0;
}
.sp-product-info__meta .sp-badge {
  font-size: var(--text-xs);
  padding: 4px 12px;
  border-radius: var(--r-full);
}
.sp-product-desc {
  font-size: var(--text-base);
  color: var(--gray-600);
  line-height: 1.7;
  margin: 16px 0;
}
.sp-qty-control {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1px solid var(--gray-200);
  border-radius: var(--r-md);
  overflow: hidden;
  width: fit-content;
}
.sp-qty-btn {
  width: 40px;
  height: 48px;
  border: none;
  background: var(--gray-100);
  cursor: pointer;
  font-size: 18px;
  font-weight: 300;
  color: var(--gray-700);
  transition: all var(--t-fast);
  display: flex;
  align-items: center;
  justify-content: center;
}
.sp-qty-btn:hover { background: var(--primary); color: var(--white); }
.sp-qty-input {
  width: 60px;
  height: 48px;
  border: none;
  border-left: 1px solid var(--gray-200);
  border-right: 1px solid var(--gray-200);
  text-align: center;
  font-size: var(--text-lg);
  font-weight: 700;
  font-family: var(--font-sans);
  color: var(--dark);
  background: var(--white);
}
.sp-qty-input:focus { outline: none; }
.sp-product-actions {
  display: flex;
  gap: 10px;
  margin: 20px 0;
  flex-wrap: wrap;
}
.sp-product-actions .sp-btn { flex: 1; min-width: 160px; height: 52px; font-size: var(--text-base); }

.sp-product-trust {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--gray-100);
}
.sp-trust-card {
  background: var(--gray-50);
  border-radius: var(--r-md);
  padding: 12px;
  text-align: center;
}
.sp-trust-card i { font-size: 22px; color: var(--primary); margin-bottom: 6px; }
.sp-trust-card p { font-size: var(--text-xs); color: var(--gray-600); margin: 0; line-height: 1.4; }
.sp-trust-card strong { display: block; font-size: var(--text-xs); color: var(--dark); font-weight: 700; }

/* Tabs */
.sp-tabs {
  border-bottom: 2px solid var(--gray-200);
  display: flex;
  gap: 4px;
  margin-bottom: 0;
}
.sp-tab-btn {
  padding: 12px 20px;
  border: none;
  background: none;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--gray-500);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: all var(--t-fast);
  font-family: var(--font-sans);
}
.sp-tab-btn:hover { color: var(--primary); }
.sp-tab-btn.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}
.sp-tab-panel { display: none; padding: 24px 0; }
.sp-tab-panel.active { display: block; }

/* ─── 17. CART ─── */
.sp-cart-table {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-xl);
  overflow: hidden;
}
.sp-cart-table table { border: none; }
.sp-cart-table thead th {
  background: var(--gray-50);
  padding: 14px 20px;
  font-size: var(--text-xs);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .8px;
  color: var(--gray-500);
  border-bottom: 1px solid var(--gray-200);
  border-top: none;
}
.sp-cart-table tbody td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--gray-100);
  vertical-align: middle;
  border-top: none;
}
.sp-cart-table tbody tr:last-child td { border-bottom: none; }
.sp-cart-product { display: flex; align-items: center; gap: 14px; }
.sp-cart-product__img {
  width: 72px;
  height: 72px;
  border-radius: var(--r-md);
  object-fit: cover;
  border: 1px solid var(--gray-200);
  flex-shrink: 0;
}
.sp-cart-product__name {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--dark);
}
.sp-cart-product__cat { font-size: var(--text-xs); color: var(--gray-400); }
.sp-cart-summary {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-xl);
  overflow: hidden;
  position: sticky;
  top: calc(var(--header-height) + 20px);
}
.sp-cart-summary__head {
  padding: 20px;
  border-bottom: 1px solid var(--gray-200);
  background: var(--gray-50);
}
.sp-cart-summary__head h5 { margin: 0; font-size: var(--text-base); font-weight: 800; }
.sp-cart-summary__body { padding: 20px; }
.sp-cart-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  font-size: var(--text-sm);
  border-bottom: 1px solid var(--gray-100);
}
.sp-cart-summary-row:last-child { border-bottom: none; }
.sp-cart-summary-row.total {
  font-size: var(--text-lg);
  font-weight: 800;
  color: var(--dark);
  padding: 14px 0;
}
.sp-cart-summary-row.total span:last-child { color: var(--primary); }
.sp-cart-empty {
  text-align: center;
  padding: 60px 20px;
}
.sp-cart-empty i { font-size: 64px; color: var(--gray-300); margin-bottom: 16px; }
.sp-cart-empty h4 { color: var(--dark); margin-bottom: 8px; }
.sp-cart-empty p { color: var(--gray-500); margin-bottom: 24px; }

/* ─── 18. CHECKOUT ─── */
.sp-stepper {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-xl);
  padding: 20px 32px;
  margin-bottom: 32px;
}
.sp-stepper__inner {
  display: flex;
  align-items: center;
  width: 100%;
  gap: 0;
}
.sp-step {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  font-size: var(--text-sm);
}
.sp-step__num {
  width: 32px;
  height: 32px;
  border-radius: var(--r-full);
  background: var(--gray-200);
  color: var(--gray-500);
  font-size: 13px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--t-base);
}
.sp-step.active .sp-step__num { background: var(--primary); color: var(--white); }
.sp-step.done .sp-step__num { background: var(--success); color: var(--white); }
.sp-step__label { font-weight: 600; color: var(--gray-400); transition: color var(--t-base); }
.sp-step.active .sp-step__label, .sp-step.done .sp-step__label { color: var(--dark); }
.sp-step__line {
  flex: 1;
  height: 2px;
  background: var(--gray-200);
  border-radius: var(--r-full);
  margin: 0 8px;
  transition: background var(--t-base);
}
.sp-step__line.done { background: var(--success); }

.sp-checkout-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-xl);
  overflow: hidden;
  margin-bottom: 20px;
}
.sp-checkout-card__head {
  background: var(--gray-50);
  padding: 16px 24px;
  border-bottom: 1px solid var(--gray-200);
  display: flex;
  align-items: center;
  gap: 10px;
}
.sp-checkout-card__head h5 { margin: 0; font-size: var(--text-base); font-weight: 800; }
.sp-checkout-card__head i { color: var(--primary); font-size: 18px; }
.sp-checkout-card__body { padding: 24px; }

/* ─── 19. ACCOUNT DASHBOARD ─── */
.sp-account-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 24px;
  align-items: start;
}
.sp-account-menu {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-xl);
  overflow: hidden;
  position: sticky;
  top: calc(var(--header-height) + 20px);
}
.sp-account-menu__head {
  background: var(--primary);
  padding: 24px 20px;
  color: var(--white);
  text-align: center;
}
.sp-account-avatar {
  width: 56px;
  height: 56px;
  background: rgba(255,255,255,.2);
  border-radius: var(--r-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin: 0 auto 10px;
}
.sp-account-name { font-weight: 700; font-size: var(--text-base); margin-bottom: 2px; }
.sp-account-phone { font-size: var(--text-xs); opacity: .75; }
.sp-account-menu__nav { padding: 12px; }
.sp-account-nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: var(--r-md);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--gray-600);
  cursor: pointer;
  transition: all var(--t-fast);
  border: none;
  background: none;
  width: 100%;
  text-align: left;
  font-family: var(--font-sans);
}
.sp-account-nav-item i { font-size: 16px; width: 20px; text-align: center; }
.sp-account-nav-item:hover {
  background: var(--primary-50);
  color: var(--primary);
}
.sp-account-nav-item.active {
  background: var(--primary);
  color: var(--white);
}
.sp-account-nav-item--danger:hover { background: var(--danger-light); color: var(--danger); }
.sp-account-panel { display: none; }
.sp-account-panel.active { display: block; }
.sp-stat-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}
.sp-stat-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-lg);
  padding: 20px;
  text-align: center;
}
.sp-stat-card i { font-size: 28px; color: var(--primary); margin-bottom: 8px; }
.sp-stat-card .value { font-size: var(--text-2xl); font-weight: 900; color: var(--dark); }
.sp-stat-card .label { font-size: var(--text-xs); color: var(--gray-500); }

/* ─── 20. FORMS ─── */
.sp-form-group { margin-bottom: 20px; }
.sp-label {
  display: block;
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--gray-700);
  margin-bottom: 6px;
}
.sp-label .req { color: var(--danger); margin-left: 2px; }
.sp-input,
.sp-textarea,
.sp-select {
  width: 100%;
  border: 1.5px solid var(--border-color, var(--gray-200));
  border-radius: var(--input-radius, var(--r-md));
  padding: 10px 14px;
  font-size: var(--text-sm);
  font-family: var(--font-sans);
  color: var(--gray-900);
  background: var(--white);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
  height: 46px;
}
.sp-textarea { height: auto; min-height: 110px; resize: vertical; }
.sp-input:focus, .sp-textarea:focus, .sp-select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-100);
}
.sp-input::placeholder, .sp-textarea::placeholder { color: var(--gray-400); }
.sp-field-error { font-size: var(--text-xs); color: var(--danger); margin-top: 4px; }

/* ─── 21. TESTIMONIALS ─── */
.sp-testimonial-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-xl);
  padding: 28px;
  position: relative;
  transition: all var(--t-base);
}
.sp-testimonial-card:hover {
  border-color: var(--primary-200);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.sp-testimonial-card__quote {
  font-size: 3rem;
  color: var(--primary-200);
  line-height: 1;
  margin-bottom: 4px;
}
.sp-testimonial-card__text {
  font-size: var(--text-base);
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
}
.sp-testimonial-card__author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.sp-testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: var(--r-full);
  object-fit: cover;
  border: 2px solid var(--primary-200);
  background: var(--primary-50);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--primary);
  flex-shrink: 0;
  overflow: hidden;
}
.sp-testimonial-avatar img { width: 100%; height: 100%; object-fit: cover; }
.sp-testimonial-name { font-weight: 800; font-size: var(--text-sm); color: var(--dark); }
.sp-testimonial-role { font-size: var(--text-xs); color: var(--gray-400); }
.sp-stars { color: var(--warning); font-size: 13px; margin-bottom: 4px; }

/* ─── 22. NEWSLETTER ─── */
.sp-newsletter {
  background: var(--newsletter-bg, linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%));
  padding: 64px 0;
  position: relative;
  overflow: hidden;
}
.sp-newsletter::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Ccircle cx='30' cy='30' r='20'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.sp-newsletter__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 48px;
}
.sp-newsletter__text { flex: 1; }
.sp-newsletter h2 {
  font-size: var(--text-3xl);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 8px;
}
.sp-newsletter p { color: rgba(255,255,255,.8); margin-bottom: 0; }
.sp-newsletter-form {
  display: flex;
  gap: 10px;
  flex: 1;
  max-width: 480px;
}
.sp-newsletter-input {
  flex: 1;
  height: 54px;
  border: 2px solid rgba(255,255,255,.3);
  border-radius: var(--r-md);
  background: rgba(255,255,255,.15);
  color: var(--white);
  padding: 14px 22px;
  font-size: var(--text-base);
  font-family: var(--font-sans);
  backdrop-filter: blur(8px);
  transition: border-color var(--t-fast);
  min-width: 0;
}
.sp-newsletter-input::placeholder { color: rgba(255,255,255,.6); }
.sp-newsletter-input:focus {
  outline: none;
  border-color: rgba(255,255,255,.7);
}

/* ─── 23. PARTNERS ─── */
.sp-partners-track {
  display: flex;
  gap: 24px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}
.sp-partner-item {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-lg);
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--t-base);
  min-width: 120px;
  height: 72px;
}
.sp-partner-item:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.sp-partner-item img {
  max-height: 36px;
  max-width: 100px;
  object-fit: contain;
  filter: grayscale(80%);
  opacity: .7;
  transition: all var(--t-base);
}
.sp-partner-item:hover img { filter: grayscale(0%); opacity: 1; }

/* ─── 24. BANNER PROMO ─── */
.sp-banners-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.sp-banner {
  border-radius: var(--r-xl);
  overflow: hidden;
  position: relative;
  aspect-ratio: 16/7;
  display: flex;
  align-items: center;
  cursor: pointer;
}
.sp-banner__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform var(--t-slow);
}
.sp-banner:hover .sp-banner__bg { transform: scale(1.05); }
.sp-banner__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(11,79,108,.85) 0%, rgba(11,79,108,.3) 70%, transparent);
}
.sp-banner__content {
  position: relative;
  z-index: 1;
  padding: 24px 28px;
  color: var(--white);
}
.sp-banner__tag {
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--accent);
  margin-bottom: 6px;
}
.sp-banner__title {
  font-size: var(--text-2xl);
  font-weight: 900;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 12px;
}
.sp-banner__default-bg {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
}

/* ─── 25. FOOTER ─── */
.sp-footer {
  background: var(--footer-bg, var(--gray-900));
  color: var(--footer-text, rgba(255,255,255,.75));
}
.sp-footer__top { padding: 56px 0 40px; }
.sp-footer__cols {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr;
  gap: 40px;
}
.sp-footer-brand p {
  font-size: var(--text-sm);
  line-height: 1.7;
  margin: 16px 0;
}
.sp-footer-logo img { height: 40px; width: auto; }
.sp-footer-social {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.sp-social-btn {
  width: 36px;
  height: 36px;
  border-radius: var(--r-sm);
  background: rgba(255,255,255,.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  color: rgba(255,255,255,.75);
  transition: all var(--t-fast);
}
.sp-social-btn:hover {
  background: var(--primary-light);
  color: var(--white);
  transform: translateY(-2px);
}
.sp-footer-col h6 {
  font-size: var(--text-sm);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .8px;
  color: var(--white);
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid rgba(255,255,255,.1);
}
.sp-footer-links a {
  display: block;
  font-size: var(--text-sm);
  color: rgba(255,255,255,.6);
  padding: 5px 0;
  transition: all var(--t-fast);
}
.sp-footer-links a:hover {
  color: var(--white);
  padding-left: 6px;
}
.sp-footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 6px 0;
  font-size: var(--text-sm);
  color: rgba(255,255,255,.6);
}
.sp-footer-contact li i { color: var(--accent); font-size: 15px; margin-top: 2px; flex-shrink: 0; }
.sp-footer__bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 20px 0;
}
.sp-footer__bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: var(--text-xs);
  color: rgba(255,255,255,.4);
}
.sp-footer__bottom a { color: rgba(255,255,255,.4); }
.sp-footer__bottom a:hover { color: rgba(255,255,255,.7); }
.sp-payment-icons {
  display: flex;
  gap: 6px;
  align-items: center;
}
.sp-payment-icon {
  background: rgba(255,255,255,.12);
  border-radius: var(--r-xs);
  padding: 4px 8px;
  font-size: var(--text-xs);
  color: rgba(255,255,255,.7);
  font-weight: 700;
}

/* ─── 26. CONTACT ─── */
.sp-contact-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-xl);
  padding: 28px;
  text-align: center;
  transition: all var(--t-base);
}
.sp-contact-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.sp-contact-card__icon {
  width: 60px;
  height: 60px;
  border-radius: var(--r-full);
  background: var(--primary-50);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--primary);
  margin: 0 auto 16px;
  transition: all var(--t-base);
}
.sp-contact-card:hover .sp-contact-card__icon {
  background: var(--primary);
  color: var(--white);
}
.sp-contact-card h5 { font-size: var(--text-sm); font-weight: 800; margin-bottom: 6px; }
.sp-contact-card p { font-size: var(--text-sm); color: var(--gray-500); margin: 0; }

/* ─── 27. AUTH PAGES ─── */
.sp-auth-page {
  min-height: calc(100vh - var(--header-height) - 80px);
  display: flex;
  align-items: center;
  padding: 48px 0;
}
.sp-auth-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-xl);
  padding: 40px;
  box-shadow: var(--shadow-lg);
}
.sp-auth-side {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 60%, var(--primary-light) 100%);
  border-radius: var(--r-xl);
  padding: 40px;
  color: var(--white);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.sp-auth-side h3 { color: var(--white); font-size: var(--text-3xl); margin-bottom: 16px; }
.sp-auth-side p { color: rgba(255,255,255,.8); line-height: 1.7; }
.sp-auth-benefit {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.sp-auth-benefit:last-child { border-bottom: none; }
.sp-auth-benefit i {
  font-size: 20px;
  color: var(--accent);
  margin-top: 2px;
  flex-shrink: 0;
}
.sp-auth-benefit strong { display: block; color: var(--white); font-size: var(--text-sm); margin-bottom: 2px; }
.sp-auth-benefit span { font-size: var(--text-xs); color: rgba(255,255,255,.7); }

/* ─── 28. ERROR PAGES ─── */
.sp-error-page {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 0;
}
.sp-error-code {
  font-size: 8rem;
  font-weight: 900;
  color: var(--gray-200);
  line-height: 1;
  margin-bottom: 16px;
}
.sp-error-page h2 { font-size: var(--text-3xl); margin-bottom: 12px; }
.sp-error-page p { color: var(--gray-500); max-width: 480px; margin: 0 auto 32px; }

/* ─── 29. PAGINATION ─── */
.sp-pagination {
  display: flex;
  gap: 6px;
  align-items: center;
  justify-content: center;
  margin-top: 40px;
  flex-wrap: wrap;
}
.sp-page-btn {
  min-width: 40px;
  height: 40px;
  border-radius: var(--r-sm);
  border: 1px solid var(--gray-200);
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--gray-700);
  cursor: pointer;
  transition: all var(--t-fast);
  text-decoration: none;
  padding: 0 10px;
}
.sp-page-btn:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-50); }
.sp-page-btn.active { background: var(--primary); border-color: var(--primary); color: var(--white); }
.sp-page-btn.disabled { opacity: .4; cursor: not-allowed; }

/* ─── 30. ANIMATIONS ─── */
@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-20px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes pulse {
  0%,100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}
@keyframes shimmer {
  0% { background-position: -800px 0; }
  100% { background-position: 800px 0; }
}

.sp-animate-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .5s var(--ease-out), transform .5s var(--ease-out);
}
.sp-animate-up.visible { opacity: 1; transform: translateY(0); }

/* Skeleton loading */
.sp-skeleton {
  background: linear-gradient(90deg, var(--gray-100) 25%, var(--gray-200) 50%, var(--gray-100) 75%);
  background-size: 800px 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--r-sm);
}

/* Toast override */
.toast-top-right { top: calc(var(--header-height) + 10px) !important; }

/* ─── 31. UTILITIES ─── */
.sp-text-primary { color: var(--primary) !important; }
.sp-text-accent  { color: var(--accent) !important; }
.sp-text-success { color: var(--success) !important; }
.sp-text-danger  { color: var(--danger) !important; }
.sp-text-muted   { color: var(--gray-500) !important; }
.sp-bg-primary   { background: var(--primary) !important; }
.sp-bg-accent    { background: var(--accent) !important; }
.sp-bg-light     { background: var(--gray-50) !important; }
.sp-fw-bold      { font-weight: 700 !important; }
.sp-fw-black     { font-weight: 900 !important; }

/* Overlay */
.sp-overlay {
  position: fixed;
  inset: 0;
  background: rgba(26,26,46,.5);
  z-index: 900;
  opacity: 0;
  visibility: hidden;
  transition: all var(--t-base);
  backdrop-filter: blur(2px);
}
.sp-overlay.open { opacity: 1; visibility: visible; }

/* Scroll to top */
.sp-scroll-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 44px;
  height: 44px;
  background: var(--primary);
  color: var(--white);
  border-radius: var(--r-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: pointer;
  box-shadow: var(--shadow-primary);
  transition: all var(--t-base);
  z-index: 800;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
}
.sp-scroll-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.sp-scroll-top:hover { background: var(--accent); transform: translateY(-3px); }

/* Empty states */
.sp-empty {
  text-align: center;
  padding: 60px 20px;
}
.sp-empty i { font-size: 64px; color: var(--gray-300); margin-bottom: 16px; }
.sp-empty h4 { color: var(--dark); margin-bottom: 8px; }
.sp-empty p { color: var(--gray-500); margin-bottom: 24px; }

/* Tab switcher product */
.sp-product-tabs {
  border-bottom: 2px solid var(--gray-200);
  margin-bottom: 0;
  display: flex;
  gap: 0;
}
.sp-product-tab {
  padding: 14px 24px;
  border: none;
  background: none;
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--gray-500);
  cursor: pointer;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  transition: all var(--t-fast);
  font-family: var(--font-sans);
  white-space: nowrap;
}
.sp-product-tab.active { color: var(--primary); border-bottom-color: var(--primary); }
.sp-product-tab:hover { color: var(--primary); }
.sp-tab-pane { display: none; padding: 28px 0; }
.sp-tab-pane.active { display: block; }

/* Product detail specs table */
.sp-specs-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--text-sm);
}
.sp-specs-table tr:nth-child(even) td { background: var(--gray-50); }
.sp-specs-table td {
  padding: 10px 16px;
  border-bottom: 1px solid var(--gray-100);
}
.sp-specs-table td:first-child {
  font-weight: 700;
  color: var(--gray-700);
  width: 40%;
}
.sp-specs-table td:last-child { color: var(--gray-600); }

/* ─── 32. RESPONSIVE ─── */
@media (max-width: 1199.98px) {
  .sp-cat-grid { grid-template-columns: repeat(3, 1fr); }
  .sp-products-grid { grid-template-columns: repeat(3, 1fr); }
  .sp-footer__cols { grid-template-columns: 1.5fr 1fr 1fr 1fr; }
  .sp-footer-brand { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }
}

@media (max-width: 991.98px) {
  :root { --header-height: 64px; }
  .sp-nav { display: none; }
  .sp-hamburger { display: flex; }
  .sp-hero .carousel-item { height: 60vh; min-height: 420px; }
  .sp-hero__title { font-size: clamp(1.8rem, 5vw, 2.8rem); }
  .sp-cat-grid { grid-template-columns: repeat(3, 1fr); }
  .sp-products-grid { grid-template-columns: repeat(2, 1fr); }
  .sp-trust-bar__inner { gap: 24px; }
  .sp-account-layout { grid-template-columns: 1fr; }
  .sp-account-menu { position: static; }
  .sp-product-trust { grid-template-columns: repeat(2, 1fr); }
  .sp-footer__cols { grid-template-columns: 1fr 1fr; }
  .sp-products-list .sp-card { flex-direction: column; }
  .sp-products-list .sp-card__img-wrap { width: 100%; height: 200px; border-radius: var(--r-lg) var(--r-lg) 0 0; }
}

@media (max-width: 767.98px) {
  .sp-hero .carousel-item { height: auto; min-height: 480px; }
  .sp-hero__container { padding-top: 80px; padding-bottom: 40px; }
  .sp-hero__desc { font-size: var(--text-base); }
  .sp-hero__actions { gap: 8px; }
  .sp-hero__search { max-width: 100%; }
  .sp-hero__search-btn span { display: none; }
  .sp-hero__search-btn { padding: 0 16px; }
  .sp-hero__deco-circle--1 { width:200px; height:200px; top:-50px; right:-20px; }
  .sp-hero__deco-icon--1 { font-size:80px; right:2%; }
  .sp-hero__deco-icon--2, .sp-hero__deco-icon--3 { display: none; }
  .sp-search-hero__form { flex-direction: column; border-radius: var(--r-md); }
  .sp-search-hero__cat { border-right: none; border-bottom: 1px solid var(--gray-200); min-width: unset; }
  .sp-search-hero__btn { justify-content: center; padding: 14px; }
  .sp-cat-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .sp-cat-card { padding: 16px 10px; }
  .sp-cat-icon-wrap { width: 48px; height: 48px; }
  .sp-products-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .sp-trust-bar__inner { gap: 16px; flex-direction: column; }
  .sp-trust-item { font-size: var(--text-xs); }
  .sp-section { padding: 40px 0; }
  .sp-banners-grid { grid-template-columns: 1fr; }
  .sp-footer__cols { grid-template-columns: 1fr; }
  .sp-footer-brand { grid-column: unset; display: block; }
  .sp-stepper { padding: 12px 16px; }
  .sp-stat-cards { grid-template-columns: 1fr; }
  .sp-newsletter { padding: 40px 0; }
  .sp-newsletter__inner { flex-direction: column; gap: 24px; align-items: flex-start; }
  .sp-newsletter__text { width: 100%; }
  .sp-newsletter-form { flex-direction: column; width: 100%; max-width: 100%; }
  .sp-newsletter-input { width: 100%; }
  .sp-newsletter .sp-btn { width: 100%; justify-content: center; }
  .sp-newsletter h2 { font-size: var(--text-2xl); margin-bottom: 6px; }
  .sp-auth-side { display: none; }
  .sp-cart-table thead { display: none; }
  .sp-cart-table tbody td { display: flex; padding: 8px 12px; border-bottom: none; }
  .sp-cart-table tbody tr { border-bottom: 1px solid var(--gray-100); }
  .sp-product-trust { grid-template-columns: 1fr; }
  .sp-topbar__contact { display: none; }
  .sp-breadcrumb__title { font-size: var(--text-lg); }
  .sp-sp-product-gallery { position: static; }
  .sp-cart-drawer { width: 100%; }
}

@media (max-width: 479.98px) {
  .sp-cat-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .sp-products-grid { grid-template-columns: 1fr; }
  .sp-hero__nav-btn { display: none; }
  .sp-step__label { display: none; }
}

/* Forcer compatibilité Bootstrap 5 pour les grilles */
.sp-products-grid > * { min-width: 0; }
.sp-cat-grid > * { min-width: 0; }

/* ─── TESTIMONIALS GRID ─── */
.sp-testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.sp-testimonial-card__quote { display: none; }

@media (max-width: 991.98px) {
  .sp-testimonials-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 575.98px) {
  .sp-testimonials-grid { grid-template-columns: 1fr; }
}


/* ─── HERO CAROUSEL INDICATORS ─── */
.sp-hero .carousel-indicators button {
  width: 10px; height: 10px; border-radius: 50%; border: 2px solid rgba(255,255,255,.6);
  background: transparent; padding: 0; margin: 0 4px;
  transition: all var(--t-fast);
}
.sp-hero .carousel-indicators .active {
  background: var(--white); border-color: var(--white); transform: scale(1.3);
}

/* ─── SECTION HEAD FLEX HELPER ─── */
.sp-section__head.sp-section__head--flex {
  display: flex; align-items: flex-end; justify-content: space-between;
  text-align: left; margin-bottom: 36px;
}

/* ─── OWL CAROUSEL — PRODUCT SLIDER ─── */
.sp-product-slider { padding-bottom: 8px; }
.sp-slider-item { padding: 4px 6px; }
.sp-slider-item .sp-card { height: 100%; }

/* Owl nav custom */
.sp-product-slider .owl-nav button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: var(--r-full) !important;
  background: var(--white) !important;
  border: 1px solid var(--gray-200) !important;
  box-shadow: var(--shadow-md);
  color: var(--primary) !important;
  font-size: 20px !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  transition: all var(--t-fast);
  z-index: 5;
}
.sp-product-slider .owl-nav button:hover {
  background: var(--primary) !important;
  color: var(--white) !important;
  border-color: var(--primary) !important;
}
.sp-product-slider .owl-nav .owl-prev { left: -18px; }
.sp-product-slider .owl-nav .owl-next { right: -18px; }
.sp-product-slider .owl-dots { text-align: center; margin-top: 12px; }
.sp-product-slider .owl-dot span {
  width: 8px; height: 8px;
  border-radius: var(--r-full);
  background: var(--gray-300);
  display: block;
  margin: 0 3px;
  transition: all var(--t-fast);
}
.sp-product-slider .owl-dot.active span {
  background: var(--primary);
  width: 20px;
}
.sp-product-slider { position: relative; }

/* ─── WISHLIST HEART FULL ICON FALLBACK ─── */
.ti-heart-full::before { content: "♥"; font-style: normal; font-size: 14px; }

/* ─── GRID: masquer description, ne montrer qu'en liste ─── */
.sp-products-grid:not(.sp-products-list) .sp-card__desc { display: none !important; }
.sp-products-list .sp-card__desc {
  display: -webkit-box !important;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ─── LIST EXTRA INFO ─── */
.sp-card__list-extra { display: none; }
.sp-products-list .sp-card__list-extra {
  display: block;
  margin: 6px 0 10px;
}
.sp-card__list-desc {
  font-size: var(--text-sm);
  color: var(--gray-500);
  line-height: 1.5;
  margin: 0 0 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.sp-card__list-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  align-items: center;
}
.sp-meta-item {
  font-size: var(--text-xs);
  color: var(--gray-500);
  display: flex;
  align-items: center;
  gap: 4px;
}
.sp-meta-item i { font-size: 12px; }
.sp-meta-item strong { color: var(--text-primary); font-weight: 500; }

/* Lien "Voir le détail" — visible uniquement en liste */
.sp-card__detail-link { display: none; }
.sp-products-list .sp-card__detail-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: var(--text-sm);
  color: var(--primary);
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}
.sp-products-list .sp-card__detail-link:hover { text-decoration: underline; }
.sp-products-list .sp-card__detail-link i { font-size: 12px; }

/* ─── IMAGE BLOCK — aspect 1:1 plus net ─── */
.sp-card__img-wrap { aspect-ratio: 1 / 1; }
.sp-card__img-placeholder {
  min-height: unset;
  border-radius: 0;
  background: linear-gradient(135deg, var(--gray-50) 0%, var(--gray-100) 100%);
}
.sp-card__img-placeholder i { font-size: 42px; opacity: .4; }
.sp-card__img-placeholder span { font-size: 11px; letter-spacing: .5px; text-transform: uppercase; opacity: .6; }

/* ─── DROPDOWN topbar z-index ─── */
.sp-topbar { overflow: visible !important; position: relative; z-index: 1100; }
.sp-topbar__right .dropdown-menu { z-index: 1200; }
.sp-topbar__right .dropdown-toggle { color: rgba(255,255,255,.85) !important; }

/* ─── PAGINATION sp-* ─── */
.sp-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
  padding: 16px 0;
  border-top: 1px solid var(--gray-100);
}
.sp-pagination__info {
  font-size: var(--text-sm);
  color: var(--gray-500);
}
.sp-pagination__list {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 4px;
}
.sp-page-item { }
.sp-page-link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 10px;
  border-radius: var(--r-md);
  border: 1.5px solid var(--gray-200);
  background: var(--white);
  color: var(--gray-700);
  font-size: var(--text-sm);
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--t-fast);
}
.sp-page-item a.sp-page-link:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-50, #e0f2fe);
}
.sp-page-item.active .sp-page-link {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
  cursor: default;
  font-weight: 700;
}
.sp-page-item.disabled .sp-page-link {
  opacity: .4;
  cursor: not-allowed;
  pointer-events: none;
}
.sp-page-ellipsis .sp-page-link {
  border-color: transparent;
  background: transparent;
  cursor: default;
}
@media (max-width: 575.98px) {
  .sp-pagination { flex-direction: column; align-items: center; }
  .sp-pagination__info { font-size: var(--text-xs); }
  .sp-page-link { min-width: 34px; height: 34px; font-size: var(--text-xs); }
}

/* ─── CARD : supprimer overlay "Aperçu rapide" ─── */
.sp-card__quick-overlay { display: none !important; }

/* ─── TOPBAR USER DROPDOWN (custom, sans Bootstrap) ─── */
.sp-user-dd { position: relative; }
.sp-user-dd__trigger {
  display: flex;
  align-items: center;
  gap: 5px;
  background: none;
  border: none;
  color: rgba(255,255,255,.85);
  font-size: var(--text-xs);
  cursor: pointer;
  padding: 4px 8px;
  border-radius: var(--r-sm);
  transition: background var(--t-fast), color var(--t-fast);
}
.sp-user-dd__trigger:hover { background: rgba(255,255,255,.1); color: var(--white); }
.sp-user-dd__menu {
  display: none;
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  min-width: 200px;
  background: var(--white);
  border-radius: var(--r-md);
  box-shadow: 0 8px 30px rgba(0,0,0,.18);
  padding: 6px 0;
  z-index: 9999;
  border: 1px solid var(--gray-100);
}
.sp-user-dd__menu.open { display: block; }
.sp-user-dd__menu li { list-style: none; }
.sp-user-dd__menu a,
.sp-user-dd__menu button {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 10px 16px;
  font-size: var(--text-sm);
  color: var(--gray-700);
  background: none;
  border: none;
  text-decoration: none;
  cursor: pointer;
  transition: background var(--t-fast), color var(--t-fast), padding-left var(--t-fast);
}
.sp-user-dd__menu a:hover,
.sp-user-dd__menu button:hover { background: var(--gray-50); color: var(--primary); padding-left: 20px; }
.sp-user-dd__menu hr { margin: 4px 0; border-color: var(--gray-100); }
.sp-user-dd__menu .text-danger:hover { color: var(--danger) !important; }

/* ═══════════════════════════════════════════════
   HERO V2 — Redesign dynamique
   ═══════════════════════════════════════════════ */

/* ─── Gradient animé ─── */
@keyframes gradientShift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
.sp-hero__bg--animated {
  background: linear-gradient(-45deg,
    var(--hc1, #0B4F6C),
    var(--hc2, #1E7BA4),
    #0F3460,
    var(--hc3, #083B52),
    #1a6b9a);
  background-size: 400% 400%;
  animation: gradientShift 16s ease infinite;
}

/* ─── Mesh + Particles ─── */
.sp-hero__mesh {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 56px 56px;
}
.sp-hero__particle {
  position: absolute;
  left: var(--x, 50%);
  top:  var(--y, 50%);
  width:  var(--s, 3px);
  height: var(--s, 3px);
  border-radius: 50%;
  background: rgba(255,255,255,.4);
  animation: particleFly var(--dur, 7s) var(--delay, 0s) ease-in-out infinite;
}
@keyframes particleFly {
  0%, 100% { transform: translateY(0)    scale(1);   opacity: .35; }
  50%       { transform: translateY(-18px) scale(1.3); opacity: .75; }
}

/* Hauteur row full dans carousel-item */
.sp-hero__row { min-height: inherit; }

/* ─── Badge pulsant ─── */
.sp-hero__tag-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4ade80;
  flex-shrink: 0;
  animation: dotPulse 2.2s ease-in-out infinite;
}
@keyframes dotPulse {
  0%   { box-shadow: 0 0 0 0 rgba(74,222,128,.7); }
  70%  { box-shadow: 0 0 0 8px rgba(74,222,128,0); }
  100% { box-shadow: 0 0 0 0 rgba(74,222,128,0); }
}

/* ─── Typewriter cursor ─── */
.sp-hero__cursor {
  display: inline-block;
  color: var(--accent);
  animation: cursorBlink .8s step-end infinite;
  font-weight: 300;
  margin-left: 2px;
}
@keyframes cursorBlink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

/* ─── Search v2 ─── */
.sp-hero__search-wrap {
  position: relative;
  max-width: 560px;
  margin-bottom: 14px;
  animation: fadeSlideUp .85s .25s both;
}
.sp-hero__search-icon-left {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gray-400);
  font-size: 15px;
  pointer-events: none;
  z-index: 3;
}
.sp-hero__search--v2 {
  display: flex;
  align-items: center;
  background: rgba(255,255,255,.97);
  border-radius: var(--r-full);
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0,0,0,.28);
  border: 2px solid rgba(255,255,255,.35);
  transition: border-color .2s, box-shadow .2s;
}
.sp-hero__search--v2:focus-within {
  border-color: var(--accent);
  box-shadow: 0 12px 40px rgba(0,0,0,.32), 0 0 0 3px rgba(255,107,53,.18);
}
.sp-hero__search--v2 input[type="text"] {
  flex: 1;
  border: none;
  outline: none;
  padding: 15px 14px 15px 46px;
  font-size: var(--text-base);
  background: transparent;
  color: var(--dark);
  min-width: 0;
}
.sp-hero__search--v2 input::placeholder { color: var(--gray-400); }
.sp-hero__search-btn--v2 {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 24px;
  height: 52px;
  background: var(--accent);
  color: var(--white);
  border: none;
  font-size: var(--text-sm);
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: background var(--t-fast);
  flex-shrink: 0;
}
.sp-hero__search-btn--v2:hover { background: var(--accent-hover); }
.sp-hero__search-btn--v2 i { font-size: 14px; }

/* ─── CTA Ripple ─── */
.sp-hero__cta-primary { position: relative; overflow: hidden; }
.sp-btn__ripple {
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,.18);
  border-radius: inherit;
  transform: scale(0);
  opacity: 0;
  animation: rippleOut 2.8s ease-out infinite 2s;
}
@keyframes rippleOut {
  0%   { transform: scale(0); opacity: .5; }
  100% { transform: scale(2.2); opacity: 0; }
}

/* ─── Right visual container ─── */
.sp-hero__visual {
  position: relative;
  padding: 68px 0 76px 28px;
  animation: fadeSlideUp .9s .35s both;
}

/* Stat grid */
.sp-hero__stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.sp-hero__stat-card--v2 {
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: var(--r-xl);
  padding: 16px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  animation: fadeSlideUp .7s both;
  transition: background var(--t-base), transform var(--t-base);
}
.sp-hero__stat-card--v2:hover {
  background: rgba(255,255,255,.2);
  transform: translateY(-3px);
}
.sp-hero__stat-card--wide { grid-column: 1 / -1; }
.sp-hero__stat-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--r-md);
  background: rgba(255,255,255,.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 18px;
  color: var(--white);
}
.sp-hero__stat-body { display: flex; flex-direction: column; }
.sp-hero__stat-num--v2 {
  font-size: 1.65rem;
  font-weight: 900;
  color: var(--white);
  line-height: 1;
  font-family: var(--font-display);
  display: block;
}
.sp-hero__stat-lbl--v2 {
  font-size: 11px;
  color: rgba(255,255,255,.65);
  text-transform: uppercase;
  letter-spacing: .8px;
  margin-top: 4px;
  display: block;
}

/* ─── Floating notifications ─── */
.sp-hero__notif {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,.97);
  border-radius: 50px;
  padding: 10px 18px 10px 10px;
  box-shadow: 0 10px 36px rgba(0,0,0,.18);
  min-width: 210px;
  z-index: 4;
}
.sp-hero__notif--top {
  top: 0;
  right: 0;
  animation: notifSlideIn .7s .8s both;
}
.sp-hero__notif--bottom {
  bottom: 0;
  left: 0;
  animation: notifSlideIn .7s 1.1s both;
}
@keyframes notifSlideIn {
  from { opacity: 0; transform: translateX(24px) translateY(-8px); }
  to   { opacity: 1; transform: translateX(0) translateY(0); }
}
.sp-hero__notif-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  flex-shrink: 0;
}
.sp-hero__notif-icon--success { background: #dcfce7; color: #16a34a; }
.sp-hero__notif-icon--promo   { background: #fff7ed; font-size: 18px; }
.sp-hero__notif-body { display: flex; flex-direction: column; }
.sp-hero__notif-body strong { font-size: 12px; color: var(--dark); font-weight: 700; line-height: 1.3; }
.sp-hero__notif-body span   { font-size: 11px; color: var(--gray-500); margin-top: 1px; }
.sp-hero__notif-badge {
  display: inline-block;
  background: var(--accent);
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--r-full);
  margin-top: 2px;
}

/* ─── Wave divider ─── */
.sp-hero__wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  z-index: 5;
  line-height: 0;
  pointer-events: none;
}
.sp-hero__wave svg {
  display: block;
  width: 100%;
  height: 70px;
}

/* ─── Responsive hero v2 ─── */
@media (max-width: 991px) {
  .sp-hero__visual { display: none; }
  .sp-hero__search-wrap { max-width: 100%; }
}
@media (max-width: 575px) {
  .sp-hero__search--v2 input[type="text"] { padding-left: 42px; font-size: var(--text-sm); }
  .sp-hero__search-btn--v2 { padding: 0 16px; }
  .sp-hero__search-btn--v2 i { display: none; }
  .sp-hero__notif { min-width: 170px; }
}
