/* Eleshop — layout global, header glass, utilitaires marketplace */

:root {
  --eleshop-primary: #1c486f;
  --eleshop-primary-mid: #2a5a85;
  --eleshop-accent: #ef8121;
  --eleshop-accent-soft: #ff9a4d;
  --eleshop-surface: #f8fafc;
  --eleshop-text: #0f172a;
  --radius-xl: 1.25rem;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  color: var(--eleshop-text);
  background: var(--eleshop-surface);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.glass-header {
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
}

.ecom-header-glass {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(22px) saturate(185%);
  -webkit-backdrop-filter: blur(22px) saturate(185%);
  transition:
    box-shadow 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    background 0.4s ease,
    border-color 0.35s ease;
}

.ecom-header-glass--scrolled {
  background: rgba(255, 255, 255, 0.94);
  box-shadow:
    0 12px 40px -18px rgba(28, 72, 111, 0.22),
    0 1px 0 rgba(255, 255, 255, 0.9) inset;
  border-bottom-color: rgba(226, 232, 240, 0.95) !important;
}

/* Bandeau supérieur */
.ecom-topbar {
  background: linear-gradient(135deg, #0a1628 0%, #1c486f 45%, #153a5c 100%);
}

.ecom-topbar-bg {
  background: linear-gradient(
    110deg,
    transparent 0%,
    rgba(239, 129, 33, 0.08) 40%,
    transparent 70%
  );
  animation: ecom-topbar-shine 14s ease-in-out infinite;
}

@keyframes ecom-topbar-shine {
  0%,
  100% {
    opacity: 0.85;
    transform: translateX(0);
  }
  50% {
    opacity: 1;
    transform: translateX(2%);
  }
}

.ecom-topbar-link {
  color: rgba(255, 255, 255, 0.88);
  transition: color 0.2s ease, transform 0.2s ease;
}

.ecom-topbar-link:hover {
  color: #fff;
  transform: translateY(-1px);
}

/* Header shell (sticky) */
.ecom-header-shell {
  top: 0;
}

.ecom-logo-link {
  transition: filter 0.25s ease;
}

.ecom-logo-link:hover {
  filter: drop-shadow(0 6px 14px rgba(28, 72, 111, 0.15));
}

/* Barre de recherche desktop */
.ecom-search-bar {
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
  border: 1px solid rgba(148, 163, 184, 0.45);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85), 0 4px 20px -8px rgba(28, 72, 111, 0.12);
}

.ecom-search-bar:focus-within {
  background: #fff;
  border-color: rgba(28, 72, 111, 0.35);
  box-shadow: 0 0 0 3px rgba(28, 72, 111, 0.1), 0 12px 32px -12px rgba(28, 72, 111, 0.2);
}

.ecom-search-submit {
  background: linear-gradient(145deg, #1c486f 0%, #234f78 55%, #1c486f 100%);
}

.ecom-icon-btn {
  padding: 0.65rem;
  border-radius: 0.875rem;
  color: #334155;
  transition: background 0.2s ease, transform 0.15s ease, color 0.2s;
}

.ecom-icon-btn:hover {
  background: #f1f5f9;
  color: #1c486f;
}

.ecom-icon-btn:active {
  transform: scale(0.96);
}

.ecom-header-ghost-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.5rem 0.75rem;
  border-radius: 0.75rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #64748b;
  transition: color 0.2s, background 0.2s;
}

.ecom-header-ghost-link:hover {
  color: #1c486f;
  background: rgba(28, 72, 111, 0.06);
}

.ecom-header-cta-app {
  background: linear-gradient(135deg, #ff9a4d 0%, #ef8121 50%, #e67312 100%);
  box-shadow: 0 8px 24px -6px rgba(239, 129, 33, 0.55);
}

.ecom-header-cta-app:hover {
  filter: brightness(1.05);
}

/* Îlot navigation desktop */
.ecom-nav-island {
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.97) 0%, rgba(241, 245, 249, 0.94) 100%);
  border: 1px solid rgba(226, 232, 240, 0.95);
  box-shadow:
    0 4px 24px -12px rgba(28, 72, 111, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 0 0 1px rgba(28, 72, 111, 0.04);
}

/* Liens nav desktop */
.ecom-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.55rem 0.95rem;
  border-radius: 0.75rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #475569;
  letter-spacing: -0.01em;
  position: relative;
  transition: color 0.22s ease, background 0.22s ease, transform 0.2s ease;
}

.ecom-nav-link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0.2rem;
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, #1c486f, #ef8121);
  transform: translateX(-50%);
  transition: width 0.32s cubic-bezier(0.34, 1.2, 0.64, 1);
}

.ecom-nav-link:hover {
  color: #1c486f;
  background: rgba(28, 72, 111, 0.07);
  transform: translateY(-1px);
}

.ecom-nav-link:hover::after {
  width: 72%;
}

.ecom-nav-link .ecom-nav-icon {
  opacity: 0.78;
  transition: opacity 0.2s, color 0.2s, transform 0.2s;
}

.ecom-nav-link:hover .ecom-nav-icon {
  opacity: 1;
  color: #1c486f;
  transform: scale(1.05);
}

.ecom-nav-link:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px #fff, 0 0 0 4px rgba(28, 72, 111, 0.45);
}

.ecom-nav-link.ecom-nav-link--active {
  color: #1c486f;
  background: rgba(28, 72, 111, 0.1);
  box-shadow: 0 1px 0 rgba(239, 129, 33, 0.35);
}

.ecom-nav-link.ecom-nav-link--active::after {
  width: 72%;
}

.ecom-nav-link.ecom-nav-link--active .ecom-nav-icon {
  opacity: 1;
  color: #1c486f;
}

/* Feuille recherche mobile — slide + fade */
.ecom-search-sheet {
  background: linear-gradient(165deg, #1c486f 0%, #0f2844 55%, #0a1628 100%);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.32s ease,
    visibility 0.32s linear;
}

.ecom-search-sheet.ecom-search-sheet--active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.ecom-search-sheet-head {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.35s ease 0.05s, transform 0.4s cubic-bezier(0.22, 1, 0.36, 1) 0.05s;
}

.ecom-search-sheet--active .ecom-search-sheet-head {
  opacity: 1;
  transform: translateY(0);
}

.ecom-search-sheet-body {
  transform: translateY(100%);
  transition: transform 0.42s cubic-bezier(0.22, 1, 0.36, 1);
}

.ecom-search-sheet--active .ecom-search-sheet-body {
  transform: translateY(0);
}

.ecom-search-input-mobile {
  border: 2px solid #e2e8f0;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.ecom-search-input-mobile:focus {
  border-color: #1c486f;
  box-shadow: 0 0 0 3px rgba(28, 72, 111, 0.12);
}

/* Placeholder recherche — rotation verticale de phrases */
.ecom-hint-anchor.ecom-show-hint-overlay .ecom-search-input--typed-hint {
  color: transparent !important;
  caret-color: transparent !important;
}

.ecom-search-input-wrap {
  position: relative;
}

.ecom-search-hint-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
  line-height: 1.35;
}

.ecom-search-hint-overlay--header {
  padding-left: 0.75rem;
  padding-right: 0.25rem;
  font-size: 15px;
  color: #94a3b8;
}

.ecom-search-input-wrap .ecom-search-input--typed-hint {
  position: relative;
  z-index: 2;
}

.ecom-search-hint-overlay--mobile {
  padding-left: 1rem;
  padding-right: 1rem;
  font-size: 1rem;
  color: #64748b;
}

/* Viewport = fenêtre d’une seule ligne (pas sous [data-ecom-text-rotator] → overflow manquait avant) */
.ecom-search-hint-overlay .ecom-search-rotator-viewport {
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 0;
  flex: 1 1 auto;
  overflow: hidden !important;
  height: 1.35em;
  line-height: 1.35em;
}

.ecom-search-hint-overlay .ecom-text-rotator-track {
  display: flex;
  flex-direction: column;
  will-change: transform;
}

.ecom-search-hint-overlay .ecom-text-rotator-line {
  flex: 0 0 1.35em;
  height: 1.35em;
  line-height: 1.35em;
  min-height: 1.35em;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

/* Rotateur vertical réutilisable (titres, slogans) */
[data-ecom-text-rotator] .ecom-text-rotator-viewport {
  display: inline-block;
  overflow: hidden;
  vertical-align: text-bottom;
  max-width: min(100%, 96vw);
}

[data-ecom-text-rotator] .ecom-text-rotator-track {
  display: flex;
  flex-direction: column;
  will-change: transform;
}

[data-ecom-text-rotator] .ecom-text-rotator-line {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  white-space: nowrap;
}

/* Machine à écrire (sections marketing) */
[data-ecom-typewriter] {
  display: inline-flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.15rem;
  min-height: 1.2em;
}

.ecom-typewriter-display {
  display: inline;
}

.ecom-typewriter-cursor {
  display: inline-block;
  margin-left: 1px;
  font-weight: 300;
  color: currentColor;
  opacity: 0.65;
  animation: ecomTypewriterBlink 0.95s step-end infinite;
}

@keyframes ecomTypewriterBlink {
  0%,
  100% {
    opacity: 0.65;
  }
  50% {
    opacity: 0.15;
  }
}

.ecom-search-sheet .ecom-search-submit {
  background: linear-gradient(135deg, #ff9a4d 0%, #ef8121 100%);
  border: none;
  cursor: pointer;
}

.ecom-search-sheet .ecom-search-submit:hover {
  filter: brightness(1.06);
}

/* Drawer mobile — backdrop + glissement */
.ecom-drawer-backdrop {
  background: rgba(15, 23, 42, 0.42);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.32s ease,
    visibility 0.32s linear;
}

.ecom-drawer-backdrop.ecom-drawer-backdrop--active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.ecom-drawer {
  background: linear-gradient(180deg, #0f2844 0%, #0c1f35 40%, #081422 100%);
  border-left: 1px solid rgba(255, 255, 255, 0.06);
  border-top-left-radius: 1.25rem;
  border-bottom-left-radius: 1.25rem;
  overflow: hidden;
  transform: translateX(100%);
  pointer-events: none;
  transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.ecom-drawer.ecom-drawer--active {
  transform: translateX(0);
  pointer-events: auto;
}

.ecom-drawer-head {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(90deg, rgba(239, 129, 33, 0.12) 0%, transparent 55%);
}

.ecom-mobile-nav-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.8rem 0.85rem;
  border-radius: 0.875rem;
  font-weight: 600;
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.92);
  border: 1px solid transparent;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

.ecom-mobile-nav-link .ecom-mnav-ic {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.65rem;
  background: rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
}

.ecom-mobile-nav-link .ecom-mnav-ic .material-icons {
  font-size: 1.25rem;
  color: #ff9a4d;
}

.ecom-mobile-nav-link .ecom-mnav-ic--soft {
  background: rgba(255, 255, 255, 0.06);
}

.ecom-mobile-nav-link .ecom-mnav-ic--soft .material-icons {
  color: rgba(255, 255, 255, 0.75);
}

.ecom-mobile-nav-link--main:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.1);
}

.ecom-mobile-nav-link--sub {
  padding: 0.65rem 0.85rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.72);
}

.ecom-mobile-nav-link--sub:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.ecom-mobile-nav-link.ecom-nav-link--active {
  background: rgba(239, 129, 33, 0.15);
  border-color: rgba(239, 129, 33, 0.35);
  color: #fff;
}

.ecom-mobile-nav-link.ecom-nav-link--active .ecom-mnav-ic {
  background: rgba(239, 129, 33, 0.25);
}

.ecom-mobile-nav-link.ecom-nav-link--active .ecom-mnav-ic .material-icons {
  color: #ffecd4;
}

/* Footer */
.ecom-footer-root {
  background: #050a10;
  color: #94a3b8;
}

.ecom-footer-glow {
  background: linear-gradient(90deg, transparent, rgba(239, 129, 33, 0.65), rgba(28, 72, 111, 0.5), transparent);
  opacity: 0.95;
}

.ecom-footer-mesh {
  background: radial-gradient(ellipse 90% 60% at 50% -30%, rgba(28, 72, 111, 0.4), transparent),
    radial-gradient(ellipse 50% 40% at 100% 80%, rgba(239, 129, 33, 0.08), transparent);
}

.ecom-footer-heading {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.ecom-footer-heading::before {
  content: "";
  width: 2rem;
  height: 3px;
  border-radius: 9999px;
  background: linear-gradient(90deg, #ff9a4d, #ef8121);
  flex-shrink: 0;
}

.ecom-footer-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #94a3b8;
  transition: color 0.2s ease, transform 0.2s ease;
}

.ecom-footer-link:hover {
  color: #ff9a4d;
  transform: translateX(4px);
}

.ecom-footer-store-btn {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ecom-footer-store-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px -8px rgba(0, 0, 0, 0.35);
}

/* CTA stores — reflet discret */
.ecom-footer-cta::before {
  content: "";
  position: absolute;
  inset: -40% -20% auto 40%;
  height: 120%;
  background: linear-gradient(
    125deg,
    transparent 0%,
    rgba(239, 129, 33, 0.07) 35%,
    rgba(28, 72, 111, 0.12) 55%,
    transparent 70%
  );
  pointer-events: none;
  animation: ecom-footer-cta-shimmer 18s ease-in-out infinite;
}

@keyframes ecom-footer-cta-shimmer {
  0%,
  100% {
    transform: translateX(-8%) rotate(0deg);
    opacity: 0.6;
  }
  50% {
    transform: translateX(12%) rotate(2deg);
    opacity: 1;
  }
}

.ecom-footer-cta > * {
  position: relative;
  z-index: 1;
}

.ecom-footer-brand {
  font-weight: 800;
  background: linear-gradient(90deg, #ffecd4, #ff9a4d, #ef8121);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-left: 0.15rem;
}

.ecom-footer-bar {
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent 48%);
}

.ecom-mobile-nav-link--sub .material-icons {
  color: rgba(255, 255, 255, 0.55);
}

.nav-pill {
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  color: #475569;
  transition: background 0.2s, color 0.2s;
}

.nav-pill:hover {
  background: #f1f5f9;
  color: var(--eleshop-primary);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Cartes produit */
.product-card {
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: #fff;
  border: 1px solid #e2e8f0;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -20px rgba(28, 72, 111, 0.25);
}

/* Chips catégories header */
.cat-chip {
  font-size: 0.75rem;
  padding: 0.25rem 0.65rem;
  border-radius: 9999px;
  background: #f1f5f9;
  color: #475569;
  max-width: 140px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.2s;
}

.cat-chip:hover,
.cat-chip.is-active {
  background: #e0f2fe;
  color: var(--eleshop-primary);
  border-color: #bae6fd;
}

/* Boutiques */
.boutique-card {
  border-radius: var(--radius-xl);
  background: linear-gradient(145deg, #fff 0%, #f8fafc 100%);
  border: 1px solid #e2e8f0;
  transition: transform 0.2s, box-shadow 0.2s;
}

.boutique-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px -16px rgba(28, 72, 111, 0.2);
}

.boutique-card--rich {
  text-decoration: none;
  color: inherit;
  background: #fff;
}

.boutique-card-cover-wrap {
  position: relative;
  height: 4.25rem;
  overflow: hidden;
  background: linear-gradient(135deg, #1c486f 0%, #2a5a85 100%);
}

.boutique-card-cover-wrap--empty {
  background: linear-gradient(180deg, #f1f5f9 0%, #ffffff 100%);
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
}

.boutique-card-cover-empty-inner {
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background: linear-gradient(
    110deg,
    transparent 40%,
    rgba(255, 255, 255, 0.9) 50%,
    transparent 60%
  );
  background-size: 200% 100%;
  animation: boutique-cover-shimmer 2.2s ease-in-out infinite;
}

@keyframes boutique-cover-shimmer {
  0% {
    background-position: 100% 0;
  }
  100% {
    background-position: -100% 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .boutique-card-cover-empty-inner {
    animation: none;
    opacity: 0.2;
  }
}

.boutique-card-cover-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.boutique-card-cover-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(28, 72, 111, 0.2) 0%,
    rgba(28, 72, 111, 0.65) 100%
  );
  pointer-events: none;
}

.boutique-card-body--overlap {
  margin-top: -1.65rem;
  padding-top: 0;
  position: relative;
  z-index: 1;
}

.boutique-card-avatar-wrap {
  --boutique-avatar-hue: 210;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 1rem;
  overflow: hidden;
  flex-shrink: 0;
  border: 3px solid #fff;
  box-shadow: 0 6px 16px -4px rgba(28, 72, 111, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(
    145deg,
    hsl(var(--boutique-avatar-hue), 46%, 38%),
    hsl(calc(var(--boutique-avatar-hue) + 32), 52%, 28%)
  );
}

.boutique-card-avatar-wrap:has(.boutique-card-avatar-img) {
  background: #0f172a;
}

.boutique-card-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.boutique-card-avatar-letter {
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}

.boutique-card-avatar-wrap--plain {
  border-color: #e2e8f0;
  box-shadow: 0 2px 10px -2px rgba(28, 72, 111, 0.12);
}

@media (min-width: 768px) {
  .boutique-card-avatar-wrap {
    width: 4rem;
    height: 4rem;
    border-radius: 1.1rem;
  }

  .boutique-card-avatar-letter {
    font-size: 1.35rem;
  }
}

/* Suggestions recherche (aperçu annonces) */
.ecom-search-suggest {
  border-radius: 1.15rem;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(226, 232, 240, 0.95);
  box-shadow:
    0 24px 48px -12px rgba(15, 23, 42, 0.18),
    0 0 0 1px rgba(255, 255, 255, 0.8) inset;
  overflow: hidden;
  max-height: min(70vh, 520px);
  overflow-y: auto;
}

.ecom-search-suggest--mobile {
  max-height: min(52vh, 420px);
  border: 1px solid #e2e8f0;
  box-shadow: 0 8px 28px -8px rgba(28, 72, 111, 0.12);
}

.ecom-suggest-inner {
  padding: 0.35rem;
}

.ecom-suggest-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.65rem 0.65rem 0.65rem 0.5rem;
  border-radius: 0.85rem;
  text-decoration: none;
  color: inherit;
  transition: background 0.2s ease, transform 0.2s ease;
}

.ecom-suggest-item:hover {
  background: linear-gradient(90deg, rgba(28, 72, 111, 0.06), rgba(239, 129, 33, 0.04));
}

.ecom-suggest-item:active {
  transform: scale(0.99);
}

.ecom-suggest-thumb {
  flex-shrink: 0;
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 0.75rem;
  overflow: hidden;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
}

.ecom-suggest-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ecom-suggest-thumb-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #cbd5e1;
}

.ecom-suggest-thumb-fallback .material-icons {
  font-size: 1.75rem;
}

.ecom-suggest-body {
  flex: 1;
  min-width: 0;
  text-align: left;
}

.ecom-suggest-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.5rem;
}

.ecom-suggest-title {
  font-size: 0.875rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ecom-suggest-badge {
  flex-shrink: 0;
  font-size: 0.6rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.15rem 0.4rem;
  border-radius: 9999px;
  background: linear-gradient(135deg, #1c486f, #2a5a85);
  color: #fff;
}

.ecom-suggest-price {
  font-size: 0.9375rem;
  font-weight: 800;
  color: #1c486f;
  margin-top: 0.2rem;
}

.ecom-suggest-meta {
  font-size: 0.75rem;
  color: #64748b;
  margin-top: 0.25rem;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.15rem;
}

.ecom-suggest-ic {
  font-size: 0.95rem !important;
}

.ecom-suggest-dot {
  color: #cbd5e1;
}

.ecom-suggest-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.35rem;
}

.ecom-suggest-tag {
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.2rem 0.45rem;
  border-radius: 9999px;
  background: #f1f5f9;
  color: #475569;
}

.ecom-suggest-chevron {
  flex-shrink: 0;
  color: #cbd5e1;
  font-size: 1.35rem !important;
}

/* Skeleton */
@keyframes eshimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

.skeleton {
  background: linear-gradient(90deg, #e2e8f0 25%, #f1f5f9 50%, #e2e8f0 75%);
  background-size: 200% 100%;
  animation: eshimmer 1.4s ease-in-out infinite;
  border-radius: 0.5rem;
}

/* Pagination catalogue (produits + accueil) */
.ecom-pagination {
  margin-top: 2.5rem;
  padding: 1.25rem 1rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.ecom-pagination-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem 0.65rem;
  width: 100%;
  max-width: 36rem;
}

.ecom-pagination-pages {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.4rem 0.55rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(226, 232, 240, 0.95);
  box-shadow:
    0 10px 36px -20px rgba(28, 72, 111, 0.35),
    0 1px 0 rgba(255, 255, 255, 0.9) inset;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.ecom-pagination-btn,
.ecom-pagination-nav {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: transparent;
  color: #475569;
  font-weight: 600;
  font-size: 0.875rem;
  line-height: 1;
  min-width: 2.5rem;
  height: 2.5rem;
  padding: 0 0.5rem;
  border-radius: 9999px;
  transition:
    color 0.2s ease,
    background 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.2s ease;
}

.ecom-pagination-btn:hover:not(.ecom-pagination-btn--active):not(:disabled) {
  background: rgba(28, 72, 111, 0.08);
  color: #1c486f;
}

.ecom-pagination-btn:focus-visible,
.ecom-pagination-nav:focus-visible {
  outline: 2px solid #ef8121;
  outline-offset: 2px;
}

.ecom-pagination-btn--active {
  color: #fff;
  background: linear-gradient(135deg, #1c486f 0%, #2a5a85 55%, #1c486f 100%);
  box-shadow:
    0 8px 22px -10px rgba(28, 72, 111, 0.55),
    0 0 0 1px rgba(255, 255, 255, 0.2) inset;
  transform: scale(1.02);
}

.ecom-pagination-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.75rem;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(226, 232, 240, 0.95);
  color: #1c486f;
}

.ecom-pagination-nav:hover:not(:disabled) {
  background: rgba(239, 129, 33, 0.12);
  border-color: rgba(239, 129, 33, 0.35);
  color: #c45f0a;
}

.ecom-pagination-nav:disabled {
  opacity: 0.38;
  cursor: not-allowed;
}

.ecom-pagination-nav .material-icons {
  font-size: 1.35rem !important;
}

.ecom-pagination-ellipsis {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.75rem;
  color: #94a3b8;
  font-weight: 700;
  user-select: none;
}

.ecom-pagination-meta {
  margin: 0;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #64748b;
  letter-spacing: 0.02em;
}

@media (prefers-reduced-motion: reduce) {
  .skeleton {
    animation: none;
    background: #e8ecf0;
  }

  .ecom-topbar-bg {
    animation: none;
  }

  .ecom-drawer,
  .ecom-drawer-backdrop,
  .ecom-search-sheet,
  .ecom-search-sheet-head,
  .ecom-search-sheet-body {
    transition: none !important;
  }

  .ecom-nav-link:hover {
    transform: none;
  }

  .ecom-pagination-btn--active {
    transform: none;
  }

  .ecom-typewriter-cursor {
    animation: none;
    opacity: 0.45;
  }
}
