:root {
  --st-blue: #E53935;
  --st-blue-deep: #C62828;
  --st-blue-soft: #FFEBEE;
  --st-accent: #FF5252;
  --st-red: #E53935;
  --st-red-deep: #C62828;
  --st-red-bright: #FF5252;
  --st-red-grad: linear-gradient(135deg, #FF5252 0%, #E53935 48%, #C62828 100%);
  --st-red-grad-hover: linear-gradient(135deg, #FF6B6B 0%, #EF5350 50%, #D32F2F 100%);
  --st-ink: #1A1A2E;
  --st-muted: #6B7280;
  --st-bg: #F5F6F8;
  --st-card: #FFFFFF;
  --st-radius: 18px;
  --st-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  --st-font: "Manrope", sans-serif;
  --st-display: "Sora", sans-serif;
  --bottom-nav-h: 68px;
  --fe-sidebar-w: 240px;
  --fe-red: #E53935;
  --fe-red-dark: #C62828;
  --fe-red-soft: #FFEBEE;
}

* { box-sizing: border-box; }

html {
  background: var(--st-bg);
}

body {
  margin: 0;
  font-family: var(--st-font);
  color: var(--st-ink);
  background: var(--st-bg);
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #C9A227, var(--st-blue-deep));
  color: #fff;
  font-family: var(--st-display);
  font-weight: 800;
  letter-spacing: 0.02em;
}

.brand-mark-lg {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  font-size: 1.5rem;
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--st-ink);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-text strong {
  font-family: var(--st-display);
  font-size: 1rem;
}

.brand-text small {
  opacity: 0.8;
  font-size: 0.72rem;
}

.btn-primary {
  background: var(--st-red-grad) !important;
  border: none !important;
  color: #fff !important;
  border-radius: 12px;
  font-weight: 700;
  box-shadow: 0 8px 20px rgba(229, 57, 53, 0.25);
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
  background: var(--st-red-grad-hover) !important;
  color: #fff !important;
  border: none !important;
}

.btn-outline-primary {
  color: var(--st-red) !important;
  border-color: var(--st-red) !important;
  background: transparent !important;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
  background: rgba(201, 162, 39, 0.08) !important;
  color: var(--st-red-deep) !important;
  border-color: var(--st-red-deep) !important;
}

.btn-accent {
  background: #fff;
  color: var(--st-red);
  border: none;
  border-radius: 12px;
  font-weight: 700;
}

.btn-outline-light,
.btn-outline-primary,
.btn-outline-danger {
  border-radius: 12px;
  font-weight: 600;
}

/* Fallback si Bootstrap CDN indisponible (émulateur / offline) */
.d-none { display: none !important; }
@media (min-width: 768px) {
  .d-md-inline-flex { display: inline-flex !important; }
}

.shop-topbar .btn-outline-light {
  color: var(--st-ink);
  border-color: #DDE3EA;
  background: #fff;
}

.shop-topbar .topbar-actions {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-shrink: 0;
}

.shop-topbar .brand-lockup {
  min-width: 0;
  flex: 0 0 auto;
}

.topbar-cluster {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex: 1 1 auto;
  min-width: 0;
}

.topbar-search {
  display: none;
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
  max-width: 560px;
}

@media (min-width: 768px) {
  .shop-topbar .brand-lockup-center {
    flex-direction: row;
    text-align: left;
    gap: 0.55rem;
  }
  .topbar-search {
    display: block !important;
  }
}

@media (max-width: 767.98px) {
  .topbar-cluster {
    justify-content: center;
  }
  .topbar-search {
    display: none !important;
  }
}

.topbar-search i.bi-search {
  position: absolute;
  left: 0.85rem;
  top: 21px;
  transform: translateY(-50%);
  color: var(--fe-red);
  pointer-events: none;
  z-index: 1;
}

.topbar-search input[type="search"] {
  width: 100%;
  height: 42px;
  border: 1px solid #E0E4EA;
  border-radius: 12px;
  background: #F8F9FB;
  color: #111;
  padding: 0 6.2rem 0 2.35rem;
  font-size: 0.9rem;
}

.topbar-search input[type="search"]:focus {
  outline: none;
  border-color: var(--fe-red);
  box-shadow: 0 0 0 3px rgba(229, 57, 53, 0.15);
  background: #fff;
}

.topbar-search button[type="submit"] {
  position: absolute;
  right: 5px;
  top: 5px;
  height: 32px;
  border: 0;
  border-radius: 9px;
  padding: 0 0.85rem;
  background: var(--st-red-grad);
  color: #fff;
  font-weight: 700;
  font-size: 0.78rem;
}

.topbar-search-panel {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 6px);
  background: #fff;
  color: #111;
  border-radius: 14px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(201, 162, 39, 0.25);
  overflow: hidden;
  z-index: 120;
}

.topbar-search-item {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.55rem 0.8rem;
  text-decoration: none;
  color: inherit;
}

.topbar-search-item:hover,
.topbar-search-item.is-on {
  background: #F7F4EC;
}

.topbar-search-item img {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: 8px;
  background: #eee;
  flex-shrink: 0;
}

.topbar-search-item strong {
  display: block;
  font-size: 0.88rem;
}

.topbar-search-item small {
  color: #666;
  font-size: 0.75rem;
}

.topbar-search-item .price {
  margin-left: auto;
  font-weight: 700;
  color: #C9A227;
  white-space: nowrap;
}

.topbar-search-empty,
.topbar-search-more {
  display: block;
  padding: 0.7rem 0.9rem;
  font-size: 0.85rem;
  color: #555;
}

.topbar-search-more {
  text-decoration: none;
  font-weight: 600;
  color: #0A0A0A;
  border-top: 1px solid #eee;
}

.shop-topbar .brand-text strong,
.shop-topbar .brand-text small {
  white-space: nowrap;
}

@media (max-width: 767.98px) {
  .shop-topbar .btn-products-desktop,
  .shop-topbar .btn-account-desktop {
    display: none !important;
  }
  .shop-topbar .btn-login-mobile {
    padding-inline: 0.55rem;
    font-size: 0.8rem;
  }
}

.hero-actions .btn-primary {
  background: var(--st-red-grad) !important;
  border: none !important;
  color: #fff !important;
}

.hero-actions .btn-outline-light {
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.75) !important;
  background: rgba(255, 255, 255, 0.08) !important;
}

.hero-actions .btn-link {
  color: #fff !important;
  text-decoration: underline;
  text-underline-offset: 3px;
  opacity: 0.95;
}

/* Shop */
.shop-body {
  min-height: 100vh;
  padding-bottom: 0;
  background: var(--st-bg);
  display: flex;
  flex-direction: column;
}

.shop-topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  color: var(--st-ink);
  padding: 0.75rem 0;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
  border-bottom: 1px solid #E8ECF0;
}

.fe-topbar-light .btn-outline-light {
  color: var(--st-ink);
  border-color: #DDE3EA;
  background: #fff;
}

.fe-topbar-light .btn-outline-light:hover {
  background: var(--fe-red-soft);
  border-color: var(--fe-red);
  color: var(--fe-red-dark);
}

@media (min-width: 992px) {
  .fe-shop .shop-topbar {
    display: none;
  }
}

.shop-main {
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
  flex: 1 0 auto;
}

.hero-panel {
  position: relative;
  min-height: 72vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: #0A0A0A;
  color: #fff;
  padding: 2rem 1.25rem 2.5rem;
}

.hero-banner-slider {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-banner-track {
  position: absolute;
  inset: 0;
}

.hero-banner-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 1.1s ease, transform 7s ease;
}

.hero-banner-slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(3, 8, 18, 0.72) 0%, rgba(5, 20, 42, 0.78) 40%, rgba(5, 18, 38, 0.94) 100%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 640px;
  width: 100%;
}

.hero-banner-dots {
  display: flex;
  gap: 0.45rem;
  margin-top: 1rem;
}

.hero-banner-dots button {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: 0;
  padding: 0;
  background: rgba(255, 255, 255, 0.35);
  transition: width 0.25s ease, background 0.25s ease;
}

.hero-banner-dots button.is-active {
  width: 22px;
  background: #fff;
}

.hero-title {
  font-family: var(--st-display);
  font-size: clamp(2rem, 8vw, 3.4rem);
  font-weight: 800;
  margin: 0 0 0.55rem;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35);
}

.hero-slogan {
  max-width: 28rem;
  opacity: 0.92;
  margin: 0 0 1.25rem;
  font-size: 0.98rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.92);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  align-items: center;
}

.hero-actions-stack {
  flex-direction: column;
  align-items: stretch;
  max-width: 400px;
  width: 100%;
  gap: 0.7rem;
}

.hero-welcome {
  font-size: 0.95rem;
  font-weight: 600;
  margin: 0 0 0.35rem;
  opacity: 0.9;
  letter-spacing: 0.02em;
}

.hero-logo-round {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  margin: 0 0 0.85rem;
  border: 2px solid rgba(255, 255, 255, 0.55);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
  background: #000;
}

.btn-hero-primary,
.btn-hero-secondary,
.btn-hero-ghost {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.65rem;
  font-size: 1.02rem !important;
  min-height: 52px;
}

.btn-hero-primary i,
.btn-hero-secondary i,
.btn-hero-ghost i {
  font-size: 1.15rem;
  line-height: 1;
}

.btn-hero-primary {
  background: var(--st-red-grad) !important;
  border: none !important;
  color: #0A0A0A !important;
  border-radius: 16px !important;
  font-weight: 800 !important;
  padding: 0.95rem 1.1rem !important;
  box-shadow: 0 12px 26px rgba(212, 160, 23, 0.4);
}

.btn-hero-primary:hover {
  background: var(--st-red-grad-hover) !important;
  color: #111111 !important;
}

.btn-hero-secondary {
  background: #fff !important;
  border: none !important;
  color: #102033 !important;
  border-radius: 16px !important;
  font-weight: 700 !important;
  padding: 0.95rem 1.1rem !important;
}

.btn-hero-ghost {
  background: #fff !important;
  border: none !important;
  color: #0A0A0A !important;
  border-radius: 16px !important;
  font-weight: 800 !important;
  padding: 0.95rem 1.1rem !important;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.btn-hero-ghost:hover {
  background: #F5F7F4 !important;
  color: #111111 !important;
}

.brand-lockup-center {
  flex-direction: column;
  text-align: center;
  gap: 0.25rem;
}

.topbar-logo {
  width: auto;
  max-width: min(220px, 52vw);
  height: 32px;
  border-radius: 0;
  object-fit: contain;
  background: transparent;
  padding: 0;
}

.home-hero-contact {
  margin: 0.75rem 0 0;
  font-size: 0.82rem;
}

.home-hero-contact a {
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.home-hero-contact a:hover {
  color: #fff;
  text-decoration: underline;
}

.home-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.home-pwa-strip[hidden] {
  display: none !important;
}

.btn-pwa-install {
  background: var(--st-red-grad) !important;
  color: #0A0A0A !important;
  border: none !important;
  border-radius: 14px !important;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  box-shadow: 0 8px 20px rgba(212, 160, 23, 0.35);
}

.hero-pwa-hint {
  margin: 0.5rem 0 0;
  font-size: 0.75rem;
  opacity: 0.85;
  text-align: center;
}

.hero-app-download {
  margin: 1rem 0 0.15rem;
  max-width: 400px;
}

.google-play-badge-link {
  display: inline-block;
  line-height: 0;
  transition: transform 0.2s ease, filter 0.2s ease;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.35));
}

.google-play-badge-link:hover {
  transform: translateY(-2px) scale(1.03);
}

.google-play-badge {
  height: 52px;
  width: auto;
  max-width: 170px;
  display: block;
}

.hero-apk-fallback {
  margin-top: 0.45rem;
  font-size: 0.82rem;
  font-weight: 600;
  text-align: center;
}

.hero-apk-fallback a {
  color: rgba(255, 255, 255, 0.95);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.hero-apk-fallback a:hover {
  color: #fff;
}

/* Sections sous le hero (mobile-first) */
.home-cats-section {
  background: #fff;
  padding: 1.15rem 0 0.85rem;
  border-bottom: 1px solid #E6DDB8;
}

.home-cats-inner {
  padding: 0 0 0.25rem;
}

.home-cats-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0 1.15rem;
  margin-bottom: 0.85rem;
}

.home-cats-head h2 {
  font-family: var(--st-display);
  font-size: 1.1rem;
  margin: 0;
  font-weight: 800;
  color: var(--st-ink);
  letter-spacing: -0.01em;
}

.home-see-all {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  flex-shrink: 0;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  background: rgba(11, 58, 110, 0.08);
  color: var(--st-blue) !important;
  text-decoration: none !important;
  font-weight: 700;
  font-size: 0.82rem;
  line-height: 1;
  border: 1px solid rgba(11, 58, 110, 0.12);
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.home-see-all i {
  font-size: 0.85rem;
  line-height: 1;
}

.home-see-all:hover,
.home-see-all:focus-visible {
  background: var(--st-blue);
  color: #fff !important;
  border-color: var(--st-blue);
}

.home-cats-track {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.85rem;
  overflow-x: auto;
  padding: 0.15rem 1.15rem 0.65rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.home-cats-track::-webkit-scrollbar { display: none; }

.home-cats-track.is-auto-scroll {
  overflow-x: auto;
  overflow-y: hidden;
  display: block;
  padding-left: 0;
  padding-right: 0;
  scroll-snap-type: none;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  cursor: grab;
  touch-action: pan-x;
}

.home-cats-track.is-auto-scroll.is-dragging {
  cursor: grabbing;
  user-select: none;
}

.home-cats-marquee-inner {
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-start;
  gap: 0.85rem;
  width: max-content;
  padding: 0.15rem 1.15rem 0.65rem;
}

@media (prefers-reduced-motion: reduce) {
  .home-cats-track.is-auto-scroll {
    scroll-snap-type: x proximity;
  }
}

.home-cats-inner:has(.is-auto-scroll) {
  position: relative;
}

.home-cats-inner:has(.is-auto-scroll)::before,
.home-cats-inner:has(.is-auto-scroll)::after {
  content: '';
  position: absolute;
  top: 2.5rem;
  bottom: 0.5rem;
  width: 1.25rem;
  z-index: 2;
  pointer-events: none;
}

.home-cats-inner:has(.is-auto-scroll)::before {
  left: 0;
  background: linear-gradient(to right, #fff 15%, transparent);
}

.home-cats-inner:has(.is-auto-scroll)::after {
  right: 0;
  background: linear-gradient(to left, #fff 15%, transparent);
}

.home-cat-item {
  flex: 0 0 auto;
  width: 82px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  text-decoration: none !important;
  color: var(--st-ink) !important;
  scroll-snap-align: start;
}

.home-cat-item:hover .home-cat-circle,
.home-cat-item:focus-visible .home-cat-circle {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(201, 162, 39, 0.28);
}

.home-cat-item:hover .home-cat-name,
.home-cat-item:focus-visible .home-cat-name {
  color: var(--st-blue);
}

.home-cat-circle {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 1.35rem;
  background: var(--st-red-grad);
  border: 2px solid rgba(201, 162, 39, 0.15);
  box-shadow: 0 8px 16px rgba(201, 162, 39, 0.2);
  overflow: hidden;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.home-cat-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-cat-name {
  font-size: 0.72rem;
  font-weight: 700;
  text-align: center;
  line-height: 1.2;
  max-width: 82px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: #334155;
  transition: color 0.15s ease;
}

.home-benefits-section {
  padding: 1rem 1.15rem 1.4rem;
  background: var(--st-bg);
}

.home-benefits-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
}

.home-benefit-card {
  background: #fff;
  border-radius: 14px;
  padding: 0.85rem 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  box-shadow: var(--st-shadow);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--st-ink);
  line-height: 1.25;
}

.home-benefit-card i {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  color: #fff;
  background: var(--st-red-grad);
  font-size: 1rem;
}

.shop-topbar-home {
  background: #0A0A0A;
  backdrop-filter: none;
}

.page-home .hero-panel-mock {
  min-height: auto;
}

@media (min-width: 768px) {
  .home-benefits-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .hero-logo-round {
    width: 72px;
    height: 72px;
  }
}

.brand-lockup-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #fff;
  flex: 1;
  position: relative;
}

.brand-logo-sm {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  object-fit: cover;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);
  display: none;
}

@media (min-width: 420px) {
  .brand-logo-sm { display: block; }
}


.brand-wordmark {
  font-family: var(--st-display);
  font-size: 1rem;
  letter-spacing: 0.02em;
}

.brand-s { color: #fff; }
.brand-t { color: #C9A227; }


.brand-lockup-center small {
  font-size: 0.68rem;
  opacity: 0.85;
}

.topbar-icon-btn {
  width: 38px;
  height: 38px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px !important;
}

.topbar-menu-btn {
  width: 46px;
  height: 46px;
}

.topbar-menu-btn i {
  font-size: 1.7rem;
  line-height: 1;
}

.offcanvas {
  position: fixed !important;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 1045;
  width: min(86vw, 320px);
  max-width: 320px;
  background: #fff;
  box-shadow: 8px 0 30px rgba(7, 42, 80, 0.2);
  transform: translateX(-105%);
  transition: transform 0.25s ease;
  visibility: hidden;
  display: flex !important;
  flex-direction: column;
  padding: 0;
}

.offcanvas.show {
  transform: translateX(0);
  visibility: visible;
}

.offcanvas-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1040;
  background: rgba(7, 42, 80, 0.45);
}

.offcanvas-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.1rem;
  border-bottom: 1px solid #E5EBF2;
}

.offcanvas-body {
  padding: 0.5rem 0.75rem 1.25rem;
  overflow: auto;
  flex: 1 1 auto;
}

.btn-close {
  width: 2rem;
  height: 2rem;
  border: 0;
  background: transparent;
  font-size: 1.4rem;
  line-height: 1;
  opacity: 0.7;
}
.btn-close::before { content: "×"; }


.page-home .hero-panel-mock {
  min-height: auto;
}

.page-home .shop-main {
  max-width: none;
  padding-bottom: calc(var(--bottom-nav-h) + env(safe-area-inset-bottom, 0px) + 0.5rem);
}

@media (min-width: 768px) {
  .page-home .shop-main {
    padding-bottom: 1.5rem;
  }
}

.menu-logo {
  width: auto;
  max-width: 200px;
  height: 32px;
  border-radius: 0;
  object-fit: contain;
  background: transparent;
}

.menu-body {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 0.25rem;
  padding-top: 0.55rem !important;
}

.menu-divider {
  height: 1px;
  margin: 0.55rem 0.35rem;
  background: #F3EFE4;
}

.menu-link {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 0.9rem;
  width: 100% !important;
  max-width: 100%;
  margin: 0 !important;
  padding: 0.85rem 0.9rem !important;
  color: var(--st-ink) !important;
  text-decoration: none !important;
  font-weight: 700;
  font-size: 0.98rem;
  line-height: 1.2;
  border: 0 !important;
  border-radius: 14px;
  background: transparent;
  white-space: nowrap;
  box-sizing: border-box;
}

.menu-link i {
  flex: 0 0 auto;
  width: 1.5rem;
  font-size: 1.2rem;
  color: var(--st-red);
  text-align: center;
}

.menu-link span {
  flex: 1 1 auto;
  min-width: 0;
}

.menu-link:hover,
.menu-link:focus {
  background: rgba(201, 162, 39, 0.06);
  color: var(--st-red-deep) !important;
  text-decoration: none !important;
}

.menu-link.active {
  background: rgba(201, 162, 39, 0.1);
  color: var(--st-red) !important;
}

.menu-link.active i {
  color: var(--st-red-deep);
}

/* Catégories rondes défilantes (accueil) */
.hero-cats {
  margin: 0.15rem 0 1.05rem;
  max-width: 420px;
}

.hero-cats-track {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.85rem;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 0.2rem 0.15rem 0.55rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.hero-cats-track::-webkit-scrollbar {
  display: none;
}

.hero-cat-item {
  flex: 0 0 auto;
  width: 76px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  text-decoration: none !important;
  color: #fff !important;
  scroll-snap-align: start;
}

.hero-cat-circle {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, rgba(240, 213, 106, 0.95) 0%, rgba(201, 162, 39, 0.92) 55%, rgba(140, 107, 18, 0.95) 100%);
  border: 2px solid rgba(255, 255, 255, 0.55);
  box-shadow: 0 8px 18px rgba(140, 107, 18, 0.35);
  overflow: hidden;
  font-size: 1.35rem;
  color: #fff;
}

.hero-cat-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-cat-name {
  font-size: 0.68rem;
  font-weight: 700;
  text-align: center;
  line-height: 1.15;
  max-width: 76px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.45);
}

.hero-cat-item:active .hero-cat-circle {
  transform: scale(0.96);
}

.help-page {
  max-width: 720px;
  margin: 0 auto;
}

.help-hero {
  text-align: center;
  margin-bottom: 1.1rem;
}

.help-icon-wrap {
  width: 72px;
  height: 72px;
  margin: 0 auto 0.85rem;
  border-radius: 22px;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 2rem;
  background: var(--st-red-grad);
  box-shadow: 0 12px 28px rgba(201, 162, 39, 0.28);
}

.help-card {
  background: #fff;
  border-radius: 18px;
  padding: 1rem 1.1rem;
  margin-bottom: 0.85rem;
  box-shadow: var(--st-shadow);
}

.help-card-title {
  font-size: 1rem;
  font-weight: 800;
  margin: 0 0 0.65rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.help-card-title i {
  color: var(--st-red);
}

.help-steps,
.help-list {
  padding-left: 1.1rem;
  color: var(--st-muted);
  line-height: 1.55;
}

.help-contact {
  display: grid;
  gap: 0.65rem;
}

.help-contact-item {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--st-ink);
  text-decoration: none;
  font-weight: 600;
}

.help-contact-item i {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--st-red-grad);
}

.bottom-nav a.active {
  color: var(--st-red);
}

.price-online {
  color: var(--st-red) !important;
  font-weight: 700;
}


@media (max-width: 480px) {
  .hero-title {
    font-size: clamp(1.85rem, 9vw, 2.4rem);
  }
  .btn-hero-primary,
  .btn-hero-secondary,
  .btn-hero-ghost {
    min-height: 50px;
    font-size: 0.98rem !important;
  }
}


.section-block {
  padding: 1.25rem;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.9rem;
}

.section-head h2 {
  font-family: var(--st-display);
  font-size: 1.15rem;
  margin: 0;
}

.section-head a {
  color: var(--st-blue);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
}

.promo-banner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  background: linear-gradient(120deg, #0A0A0A, #1A1508);
  color: #fff;
  border-radius: var(--st-radius);
  padding: 1.1rem 1.2rem;
  box-shadow: var(--st-shadow);
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

@media (min-width: 768px) {
  .category-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .shop-body { padding-bottom: 0; }
}

.category-tile {
  background: var(--st-card);
  border-radius: 16px;
  padding: 1rem;
  text-decoration: none;
  color: var(--st-ink);
  box-shadow: var(--st-shadow);
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  min-height: 110px;
  transition: transform 0.2s ease;
}

.category-tile:hover { transform: translateY(-2px); color: var(--st-ink); }
.category-tile i { font-size: 1.4rem; color: var(--st-blue); }
.category-tile span { font-weight: 700; font-size: 0.92rem; }

/* Page /categories */
.cats-page-icon {
  background: linear-gradient(145deg, #C9A227, var(--st-blue-deep));
}
.cats-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}
@media (min-width: 560px) {
  .cats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 992px) {
  .cats-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.cats-card {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  text-decoration: none;
  color: var(--st-ink);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(247, 250, 252, 0.98)),
    radial-gradient(circle at 100% 0%, rgba(201, 162, 39, 0.06), transparent 45%);
  border: 1px solid rgba(11, 58, 110, 0.08);
  border-radius: 18px;
  padding: 0.95rem 1rem;
  box-shadow: var(--st-shadow);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
  min-height: 96px;
}
.cats-card:hover,
.cats-card:focus-visible {
  transform: translateY(-2px);
  color: var(--st-ink);
  border-color: rgba(11, 58, 110, 0.2);
  box-shadow: 0 10px 28px rgba(11, 58, 110, 0.12);
}
.cats-card:active { transform: scale(0.99); }
.cats-card-visual {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--st-red-grad);
  box-shadow: 0 6px 16px rgba(201, 162, 39, 0.22);
}
.cats-card-visual.has-image {
  background: #F3EFE4;
  box-shadow: none;
  border: 1px solid #E2E8F0;
}
.cats-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cats-card-icon {
  color: #fff;
  font-size: 1.45rem;
  line-height: 1;
}
.cats-card-body {
  min-width: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.cats-card-name {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.25;
}
.cats-card-desc {
  margin: 0;
  font-size: 0.82rem;
  color: var(--st-muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.cats-card-meta {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.25rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--st-blue);
}
.cats-card-arrow {
  margin-left: auto;
  opacity: 0.7;
}

.benefits-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

@media (min-width: 768px) {
  .benefits-grid { grid-template-columns: repeat(4, 1fr); }
}

.benefit-item {
  background: var(--st-card);
  border-radius: 16px;
  padding: 1rem;
  box-shadow: var(--st-shadow);
}

.benefit-item i {
  color: var(--st-blue);
  font-size: 1.25rem;
}

.benefit-item p {
  margin: 0.35rem 0 0;
  color: var(--st-muted);
  font-size: 0.9rem;
}

.empty-state {
  background: var(--st-card);
  border-radius: var(--st-radius);
  padding: 1.5rem;
  text-align: center;
  color: var(--st-muted);
  box-shadow: var(--st-shadow);
}

.bottom-nav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  height: var(--bottom-nav-h);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-top: 1px solid #E2E8F0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  z-index: 200;
  padding-bottom: env(safe-area-inset-bottom);
}

.bottom-nav a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
  text-decoration: none;
  color: var(--st-muted);
  font-size: 0.68rem;
  font-weight: 600;
}

.bottom-nav a i { font-size: 1.2rem; }
.bottom-nav a strong { font-weight: 800; color: inherit; }
.bottom-nav a.active { color: var(--st-blue); }

.account-hero {
  display: flex;
  gap: 1rem;
  align-items: center;
  background: var(--st-card);
  border-radius: var(--st-radius);
  padding: 1.1rem;
  box-shadow: var(--st-shadow);
}

.account-avatar-wrap {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--st-red-grad);
  box-shadow: 0 4px 14px rgba(201, 162, 39, 0.25);
}

.account-avatar-wrap-sm {
  width: 64px;
  height: 64px;
}

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

.account-avatar-fallback {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  color: #fff;
  font-family: var(--st-display);
  font-weight: 800;
  font-size: 1.6rem;
}

.account-avatar-edit {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.nav-avatar {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.account-menu .list-group-item {
  border: none;
  border-radius: 12px !important;
  margin-bottom: 0.45rem;
  box-shadow: var(--st-shadow);
  padding: 0.95rem 1rem;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

@media (min-width: 768px) {
  .product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.product-card {
  background: var(--st-card);
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow: var(--st-shadow);
  display: flex;
  flex-direction: column;
}

.product-card-link {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-card-actions {
  padding: 0 0.8rem 0.8rem;
}

.product-card-media {
  aspect-ratio: 1;
  background: #F3EFE4;
  display: grid;
  place-items: center;
}

.product-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-card-body {
  padding: 0.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.product-card-body strong {
  font-size: 0.92rem;
  line-height: 1.25;
}

.product-prices {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  margin-top: 0.25rem;
}

.price-online {
  color: var(--st-blue);
  font-weight: 800;
  font-size: 0.88rem;
}

.price-store {
  color: var(--st-muted);
  font-size: 0.78rem;
}

.stock-pill {
  margin-top: 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  width: fit-content;
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
}

.stock-pill.in { background: #F6EDD4; color: #6B5310; }
.stock-pill.out { background: #F3EFE4; color: #6B6354; }

.cart-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 18px;
  height: 18px;
  border-radius: 999px;
  background: #C9A227;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}

.bottom-nav a { position: relative; }
.nav-cart-badge {
  top: 6px;
  right: calc(50% - 18px);
}

.filter-panel {
  background: #fff;
  border-radius: 16px;
  padding: 0.9rem;
  box-shadow: var(--st-shadow);
}

.pagination-wrap { display: flex; gap: 0.4rem; flex-wrap: wrap; }
.page-chip {
  min-width: 36px;
  height: 36px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  background: #fff;
  color: var(--st-ink);
  box-shadow: var(--st-shadow);
  font-weight: 700;
}
.page-chip.active { background: var(--st-blue); color: #fff; }

.product-detail {
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 900px) {
  .product-detail { grid-template-columns: 1.1fr 1fr; }
}
.product-main-image {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 1;
  box-shadow: var(--st-shadow);
  display: grid;
  place-items: center;
}
.product-main-image img { width: 100%; height: 100%; object-fit: cover; }
.product-thumbs { display: flex; gap: 0.5rem; margin-top: 0.6rem; overflow: auto; }
.thumb-btn {
  border: 2px solid transparent;
  padding: 0;
  width: 64px;
  height: 64px;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--st-shadow);
}
.thumb-btn.is-active { border-color: var(--st-blue); }
.thumb-btn img { width: 100%; height: 100%; object-fit: cover; }
.product-title {
  font-family: var(--st-display);
  font-size: 1.55rem;
  margin: 0.25rem 0 0.5rem;
}
.price-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  background: #fff;
  border-radius: 16px;
  padding: 1rem;
  box-shadow: var(--st-shadow);
  margin: 1rem 0;
}
.price-box .label { display: block; color: var(--st-muted); font-size: 0.8rem; }
.price-box .online { color: var(--st-blue); font-size: 1.2rem; }
.stock-status.in { color: #8C6B12; font-weight: 700; }
.stock-status.out { color: #C62828; font-weight: 700; }

/* Fiche produit (PDP) */
.pdp-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
  flex-wrap: wrap;
}
.pdp-crumb {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--st-blue);
  text-decoration: none;
  background: rgba(11, 58, 110, 0.08);
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
}
.pdp-main {
  position: relative;
  border: 1px solid rgba(11, 58, 110, 0.08);
  background:
    radial-gradient(circle at 20% 0%, rgba(201, 162, 39, 0.05), transparent 40%),
    #fff;
}
.pdp-logo-fallback {
  width: auto;
  max-width: min(220px, 70%);
  height: auto;
  max-height: 72px;
  object-fit: contain;
  opacity: 1;
}

.pdp-placeholder {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  background: #F8F9FB;
}

.fe-inner .pdp-page.section-block {
  padding: 0;
  max-width: none;
}

.pdp-page .product-detail {
  width: 100%;
}

.pdp-tabs {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  width: 100%;
  clear: both;
}

.pdp-similar {
  width: 100%;
  clear: both;
}

.pdp-similar .product-grid {
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
}

@media (min-width: 1200px) {
  .pdp-similar .product-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 1600px) {
  .pdp-similar .product-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

.pdp-pay-hint {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #EEF1F5;
}

.pdp-pay-hint .cart-pay-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}
.pdp-promo-badge {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: var(--st-red-grad);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
  border-radius: 999px;
  padding: 0.35rem 0.7rem;
  box-shadow: 0 6px 14px rgba(201, 162, 39, 0.28);
}
.pdp-thumbs {
  padding-bottom: 0.15rem;
}
.pdp-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.55rem;
}
.pdp-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: #475569;
  background: #F1F5F9;
  border-radius: 999px;
  padding: 0.3rem 0.65rem;
}
.pdp-title {
  font-size: clamp(1.35rem, 4vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 0.35rem;
  line-height: 1.2;
}
.pdp-model {
  margin: 0 0 0.5rem;
  color: var(--st-muted);
  font-size: 0.92rem;
}
.pdp-short {
  margin: 0 0 0.25rem;
  color: #475569;
  font-size: 0.95rem;
  line-height: 1.45;
}
.pdp-price-box {
  border: 1px solid rgba(11, 58, 110, 0.08);
  gap: 0;
  padding: 0;
  overflow: hidden;
}
.pdp-price-col {
  padding: 0.95rem 1rem;
}
.pdp-price-col + .pdp-price-col {
  border-left: 1px solid #E6DDB8;
  background: #F8FAFC;
}
.pdp-price-box .label {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-bottom: 0.25rem;
}
.pdp-price-box .online {
  display: block;
  font-size: 1.35rem;
  font-weight: 800;
}
.pdp-price-box .store {
  display: block;
  font-size: 1.15rem;
  color: #334155;
}
.pdp-stock {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0.25rem 0 1rem;
}
.pdp-buy {
  display: grid;
  gap: 0.75rem;
}
.pdp-qty {
  width: fit-content;
}
.pdp-actions {
  display: grid;
  gap: 0.55rem;
}
@media (min-width: 480px) {
  .pdp-actions {
    grid-template-columns: 1.2fr 1fr;
  }
}
.pdp-btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  border-radius: 14px !important;
  font-weight: 700 !important;
}
.pdp-panel {
  border: 1px solid rgba(11, 58, 110, 0.06);
}
.pdp-panel-title {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 1rem;
  font-weight: 800;
  margin: 0 0 0.65rem;
}
.pdp-panel-body {
  color: #334155;
  line-height: 1.55;
  font-size: 0.95rem;
}
.pdp-review + .pdp-review {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid #F1F5F9;
}
.pdp-review-head {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.25rem;
}
.pdp-stars {
  color: #D97706;
  letter-spacing: 0.05em;
}
@media (min-width: 900px) {
  .pdp-info {
    position: sticky;
    top: 0.75rem;
    align-self: start;
  }
}
.qty-box {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: #fff;
  border-radius: 12px;
  padding: 0.25rem;
  box-shadow: var(--st-shadow);
}
.qty-box input { width: 64px; border: none; box-shadow: none; }
.qty-box.compact input { width: 48px; padding: 0.25rem; }
.qty-btn {
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 10px;
  background: var(--st-blue-soft);
  color: var(--st-blue);
  font-weight: 800;
}
.panel-soft {
  background: #fff;
  border-radius: 16px;
  padding: 1rem;
  box-shadow: var(--st-shadow);
}
.product-card-placeholder.large { min-height: 280px; display: grid; place-items: center; }

/* —— Panier & Checkout —— */
.cart-page-head,
.checkout-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.cats-page .cart-page-head {
  align-items: center;
}

.cats-page .home-see-all {
  margin-left: auto;
}
.cart-page-title,
.checkout-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.cart-page-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--st-red-grad);
  font-size: 1.25rem;
}
.checkout-logo,
.cart-summary-logo {
  width: auto;
  max-width: 148px;
  height: 36px;
  border-radius: 0;
  object-fit: contain;
  object-position: left center;
  box-shadow: none;
  flex-shrink: 0;
}
.cart-continue-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--st-blue);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
}
.cart-empty-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 0.75rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #F1F5F9;
  color: var(--st-muted);
  font-size: 1.8rem;
}
.cart-layout,
.checkout-grid {
  display: grid;
  gap: 1rem;
}
@media (min-width: 900px) {
  .cart-layout,
  .checkout-grid {
    grid-template-columns: 1.4fr 0.9fr;
    align-items: start;
  }
}
.cart-item {
  display: flex;
  gap: 0.9rem;
  background: #fff;
  border-radius: 18px;
  padding: 0.95rem;
  box-shadow: var(--st-shadow);
  margin-bottom: 0.75rem;
  border: 1px solid rgba(11, 58, 110, 0.06);
}
.cart-item-media {
  width: 88px;
  height: 88px;
  border-radius: 14px;
  overflow: hidden;
  background: linear-gradient(145deg, #EEF3F8, #E2E8F0);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.cart-item-media img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-logo-fallback { object-fit: contain !important; padding: 0.85rem; }
.cart-item-body { flex: 1; min-width: 0; }
.cart-item-top {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  align-items: flex-start;
}
.cart-item-name {
  display: block;
  font-weight: 700;
  color: var(--st-ink);
  text-decoration: none;
  line-height: 1.25;
}
.cart-item-ref {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  color: var(--st-muted);
  margin-top: 0.15rem;
}
.btn-icon-trash {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 10px;
  background: rgba(201, 162, 39, 0.08);
  color: var(--st-red);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.cart-item-price { margin-top: 0.35rem; }
.cart-item-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 0.65rem;
}
.cart-summary {
  background: #fff;
  border-radius: 18px;
  padding: 1.1rem;
  box-shadow: var(--st-shadow);
  margin-top: 1rem;
}
.cart-summary-rich {
  margin-top: 0;
  border: 1px solid rgba(11, 58, 110, 0.08);
  position: sticky;
  top: 0.75rem;
}
.cart-summary-brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 1rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid #E6DDB8;
}
.cart-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  padding: 0.35rem 0;
  font-size: 0.95rem;
}
.cart-summary-row span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #475569;
}
.cart-summary-row.muted { color: var(--st-muted); font-size: 0.9rem; }
.cart-summary-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-top: 0.55rem;
  padding-top: 0.75rem;
  border-top: 1px dashed #D7E0EA;
  font-size: 1.05rem;
}
.cart-summary-total strong {
  font-size: 1.25rem;
  color: var(--st-blue);
}
.cart-pay-logos {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 0.9rem;
  padding: 0.65rem 0.75rem;
  background: #F7FAFC;
  border-radius: 12px;
}
.cart-pay-logos img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  border-radius: 10px;
  background: #fff;
  padding: 2px;
}
.cart-pay-cash {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: #8C6B12;
  background: rgba(15, 122, 60, 0.1);
  border-radius: 999px;
  padding: 0.35rem 0.65rem;
}

.checkout-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.45rem;
  margin-bottom: 1rem;
}
.checkout-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  padding: 0.55rem 0.35rem;
  border-radius: 12px;
  background: #EEF2F6;
  color: #64748B;
  font-size: 0.72rem;
  font-weight: 700;
}
.checkout-step i { font-size: 1.1rem; }
.checkout-step.is-done {
  background: rgba(15, 122, 60, 0.1);
  color: #8C6B12;
}
.checkout-step.is-active {
  background: var(--st-blue-soft);
  color: var(--st-blue);
}
.checkout-panel-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 0.85rem;
}
.checkout-panel-num {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: var(--st-red-grad);
  color: #fff;
  font-size: 0.8rem;
}
.fulfill-card-rich {
  align-items: center;
}
.fulfill-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-size: 1.2rem;
  background: #fff;
  border: 1px solid #E2E8F0;
}
.fulfill-icon.pickup { color: var(--st-blue); }
.fulfill-icon.delivery { color: #C2410C; }
.fulfill-icon.cash { color: #0F7A3C; }
.fulfill-pay-logos {
  display: flex;
  gap: 0.25rem;
  flex-shrink: 0;
}
.fulfill-pay-logos img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  border-radius: 10px;
  background: #fff;
  border: 1px solid #E2E8F0;
  padding: 2px;
}
.checkout-mini-list {
  list-style: none;
  margin: 0 0 0.85rem;
  padding: 0;
  max-height: 220px;
  overflow: auto;
}
.checkout-mini-list li {
  display: grid;
  grid-template-columns: 40px 1fr auto;
  gap: 0.55rem;
  align-items: center;
  padding: 0.45rem 0;
  border-bottom: 1px solid #F1F5F9;
}
.checkout-mini-thumb {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  overflow: hidden;
  background: #EEF2F6;
}
.checkout-mini-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.checkout-mini-meta {
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.checkout-mini-meta strong {
  font-size: 0.85rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.checkout-mini-price { font-size: 0.85rem; }
.checkout-summary { margin-top: 0; }

.st-toast {
  position: fixed;
  left: 50%;
  bottom: calc(var(--bottom-nav-h) + 16px);
  transform: translateX(-50%) translateY(20px);
  background: #0B3A6E;
  color: #fff;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  opacity: 0;
  pointer-events: none;
  transition: 0.25s ease;
  z-index: 300;
  font-weight: 600;
  max-width: 90vw;
}
.st-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.st-toast.error { background: #C62828; }
@media (min-width: 768px) {
  .st-toast { bottom: 24px; }
}

.fulfill-options {
  display: grid;
  gap: 0.65rem;
}
.fulfill-card {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  background: #F7FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 14px;
  padding: 0.9rem;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}
.fulfill-card:has(input:checked) {
  border-color: var(--st-blue);
  background: var(--st-blue-soft);
  box-shadow: 0 0 0 3px rgba(11, 58, 110, 0.08);
}
.fulfill-card input {
  margin-top: 0.25rem;
  accent-color: var(--st-blue);
}
.fulfill-card-rich input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.fulfill-card-rich {
  position: relative;
}
.fulfill-card-rich:has(input:checked) .fulfill-icon,
.fulfill-card-rich:has(input:checked) .fulfill-pay-logos img {
  border-color: var(--st-blue);
}

.pay-mobile-methods {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}
.pay-mobile-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  text-align: center;
  background: #F7FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  padding: 0.85rem 0.5rem;
}
.pay-mobile-card img {
  width: 72px;
  height: 72px;
  object-fit: contain;
}
.help-pay-logos .pay-mobile-card img {
  width: 56px;
  height: 56px;
}
.pay-mobile-number {
  text-align: center;
  background: linear-gradient(180deg, #fff 0%, #F7FAFC 100%);
  border: 1px dashed #CBD5E1;
  border-radius: 14px;
  padding: 1rem;
}
.pay-mobile-phone {
  display: inline-block;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--st-blue);
  text-decoration: none;
}
.pay-mobile-steps {
  padding-left: 1.15rem;
  color: #475569;
  font-size: 0.95rem;
}
.pay-mobile-steps li + li { margin-top: 0.35rem; }

.order-card {
  display: block;
  background: #fff;
  border-radius: 16px;
  padding: 1rem;
  box-shadow: var(--st-shadow);
  margin-bottom: 0.75rem;
}
.orders-page-icon {
  background: linear-gradient(145deg, #C9A227, var(--st-blue-deep));
}
.order-card-rich {
  color: var(--st-ink);
  border: 1px solid rgba(11, 58, 110, 0.06);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.order-card-rich:active {
  transform: scale(0.99);
}
.order-card-top {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  align-items: flex-start;
}
.order-card-id {
  display: flex;
  gap: 0.65rem;
  align-items: center;
  min-width: 0;
}
.order-card-badge-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-size: 1.15rem;
}
.order-card-badge-icon.is-paid {
  background: rgba(15, 122, 60, 0.12);
  color: #8C6B12;
}
.order-card-badge-icon.is-wait {
  background: rgba(180, 120, 10, 0.12);
  color: #B45309;
}
.order-card-total {
  color: var(--st-blue);
  white-space: nowrap;
}
.order-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.75rem;
}
.order-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 0.55rem;
  border-radius: 999px;
  background: #F1F5F9;
  color: #475569;
}
.order-chip.ok {
  background: rgba(15, 122, 60, 0.12);
  color: #8C6B12;
}
.order-chip.warn {
  background: rgba(180, 120, 10, 0.12);
  color: #B45309;
}
.order-chip.pay-mode img {
  width: 16px;
  height: 16px;
  object-fit: contain;
  border-radius: 4px;
}
.order-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  margin-top: 0.75rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--st-blue);
}
.order-detail-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}
.order-alert {
  border-radius: 14px;
}
.order-line {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid #F1F5F9;
}
.order-pay-block {
  padding-top: 0.75rem;
  border-top: 1px dashed #D7E0EA;
}
.order-timeline {
  list-style: none;
  padding: 0;
  margin: 0;
}
.order-timeline li {
  display: flex;
  gap: 0.75rem;
  padding: 0.45rem 0;
  position: relative;
}
.order-timeline-dot {
  width: 10px;
  height: 10px;
  margin-top: 0.35rem;
  border-radius: 50%;
  background: var(--st-blue);
  flex-shrink: 0;
  box-shadow: 0 0 0 4px rgba(11, 58, 110, 0.12);
}

/* Auth */
.auth-body {
  min-height: 100vh;
  display: grid;
  place-items: center;
  position: relative;
  background:
    radial-gradient(circle at 12% 8%, rgba(229, 57, 53, 0.08), transparent 36%),
    radial-gradient(circle at 88% 92%, rgba(229, 57, 53, 0.06), transparent 34%),
    linear-gradient(160deg, #FFF5F5 0%, #F5F6F8 45%, #FFFFFF 100%);
  padding: 1.25rem;
}

.auth-wrap { width: 100%; max-width: 420px; }

.auth-card {
  background: #fff;
  border-radius: 24px;
  padding: 1.75rem 1.45rem 1.5rem;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.08);
  border: 1px solid #EEF1F5;
}

.auth-brand { margin-bottom: 1.15rem; }

.auth-logo {
  width: auto;
  max-width: min(280px, 88vw);
  height: auto;
  max-height: 72px;
  object-fit: contain;
  background: transparent;
  border-radius: 0;
  display: block;
  margin: 0 auto 0.85rem;
  box-shadow: none;
}

.auth-title {
  font-family: var(--st-display);
  font-size: 1.55rem;
  font-weight: 800;
  margin: 0;
  color: #0A0A0A;
  letter-spacing: -0.02em;
}

.auth-sub {
  color: #7A8796;
  margin: 0.3rem 0 0;
  font-size: 0.84rem;
  line-height: 1.35;
}

.auth-tagline {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0.55rem 0 0;
  color: var(--fe-red);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.auth-tagline span {
  display: inline-block;
  width: 22px;
  height: 2px;
  background: var(--fe-red);
}

/* Splash web (session) — login */
.web-splash {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  place-items: center;
  background:
    radial-gradient(circle at 50% 35%, rgba(229, 57, 53, 0.12), transparent 42%),
    #FFFFFF;
  color: var(--st-ink);
}

.web-splash.is-on { display: grid; }

.web-splash-inner {
  text-align: center;
  padding: 1.5rem;
  animation: splashIn 0.7s ease both;
}

.web-splash-logo {
  width: auto;
  max-width: min(320px, 82vw);
  height: auto;
  max-height: 76px;
  border-radius: 0;
  object-fit: contain;
  background: transparent;
  box-shadow: none;
  display: block;
  margin: 0 auto;
  animation: splashLogo 0.85s cubic-bezier(.2, 1.1, .3, 1) both;
}

.web-splash-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 1rem;
  font-size: 0.88rem;
  color: var(--st-muted);
  animation: splashFade 0.5s ease 0.45s both;
}

.web-splash-line {
  width: 24px;
  height: 2px;
  background: var(--fe-red);
  transform-origin: center;
  animation: splashLine 0.45s ease 0.55s both;
}

.web-splash-slogan {
  margin: 1.1rem 0 0;
  color: #CFD8E3;
  font-size: 0.98rem;
  animation: splashFade 0.5s ease 0.75s both;
}

.web-splash.is-out {
  animation: splashOut 0.4s ease forwards;
}

@keyframes splashIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}
@keyframes splashLogo {
  from { opacity: 0; transform: scale(0.88) translateY(8px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}
@keyframes splashFade {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}
@keyframes splashLine {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}
@keyframes splashOut {
  to { opacity: 0; visibility: hidden; }
}


.auth-alert,
.auth-card .alert-danger {
  background: #F8F1DC !important;
  border: none !important;
  color: #6B5310 !important;
  border-radius: 12px !important;
  font-size: 0.92rem;
}

.auth-form .form-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: #5B6B7C;
  margin-bottom: 0.4rem;
}

.auth-input {
  border-radius: 14px !important;
  border: 1.5px solid #D5DEE8 !important;
  background: #fff !important;
  padding: 0.85rem 1rem !important;
  font-size: 1rem !important;
}

.auth-input:focus {
  border-color: var(--fe-red) !important;
  box-shadow: 0 0 0 0.2rem rgba(229, 57, 53, 0.14) !important;
}

.auth-home-btn {
  position: fixed;
  top: max(0.85rem, env(safe-area-inset-top));
  left: max(0.85rem, env(safe-area-inset-left));
  z-index: 20;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #E8ECF0;
  color: var(--st-ink) !important;
  text-decoration: none !important;
  font-weight: 700;
  font-size: 0.88rem;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
}

.auth-home-btn:hover,
.auth-home-btn:focus-visible {
  background: var(--fe-red-soft);
  border-color: rgba(229, 57, 53, 0.25);
  color: var(--fe-red-dark) !important;
}

.btn-auth-home {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  background: #fff !important;
  border: 1.5px solid #D7E0EA !important;
  color: #0B3A6E !important;
  border-radius: 14px !important;
  font-weight: 700 !important;
  padding: 0.85rem 1rem !important;
}

.btn-auth-home:hover,
.btn-auth-home:focus-visible {
  background: #F7FAFC !important;
  border-color: #0B3A6E !important;
  color: #0B3A6E !important;
}

.btn-auth-primary {
  background: var(--st-red-grad) !important;
  border: none !important;
  color: #fff !important;
  border-radius: 14px !important;
  font-weight: 700 !important;
  padding: 0.9rem 1rem !important;
  margin-top: 0.35rem;
  box-shadow: 0 10px 22px rgba(201, 162, 39, 0.3);
}

.btn-auth-primary:hover,
.btn-auth-primary:focus {
  background: var(--st-red-grad-hover) !important;
  color: #fff !important;
}

.auth-meta {
  font-size: 0.92rem;
  color: #5B6B7C;
}

.auth-meta a {
  color: #0B3A6E;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.form-control {
  border-radius: 12px;
  border-color: #D7E0EA;
  padding: 0.75rem 0.9rem;
}

.form-control:focus {
  border-color: var(--st-blue);
  box-shadow: 0 0 0 0.2rem rgba(11, 58, 110, 0.15);
}

/* Page 403 — accès refusé */
.forbidden-body { padding: 1.5rem; }
.forbidden-wrap { width: 100%; max-width: 520px; }
.forbidden-card {
  background: #fff;
  border-radius: 24px;
  padding: 2rem 1.75rem 1.5rem;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  text-align: center;
}
.forbidden-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 1rem;
  border-radius: 20px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #FEE2E2, #FECACA);
  color: #B91C1C;
  font-size: 2rem;
}
.forbidden-code {
  font-family: 'Sora', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #94A3B8;
  margin-bottom: 0.25rem;
}
.forbidden-title {
  font-family: 'Sora', sans-serif;
  font-size: 1.65rem;
  font-weight: 700;
  color: #0F172A;
  margin-bottom: 0.5rem;
}
.forbidden-lead {
  color: #64748B;
  margin-bottom: 1.25rem;
  line-height: 1.5;
}
.forbidden-user {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  background: #F1F5F9;
  color: #334155;
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
}
.forbidden-role {
  display: inline-block;
  margin-left: 0.35rem;
  padding: 0.1rem 0.5rem;
  border-radius: 999px;
  background: var(--st-blue);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
}
.forbidden-detail {
  text-align: left;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  padding: 1rem 1.1rem;
  margin-bottom: 1.25rem;
  font-size: 0.92rem;
  color: #475569;
}
.forbidden-detail-head {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #0F172A;
  margin-bottom: 0.5rem;
  font-size: 1rem;
}
.forbidden-note {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  padding-top: 0.65rem;
  border-top: 1px solid #E2E8F0;
  color: #64748B;
  font-size: 0.88rem;
}
.forbidden-note .bi { flex-shrink: 0; margin-top: 0.1rem; color: var(--st-blue); }
.forbidden-allowed { margin-bottom: 1.25rem; text-align: left; }
.forbidden-allowed-title {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #64748B;
  margin-bottom: 0.65rem;
}
.forbidden-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.forbidden-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  background: #EFF6FF;
  color: var(--st-blue);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
}
.forbidden-link:hover { background: #DBEAFE; color: #072A50; }
.forbidden-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  align-items: center;
}
.forbidden-actions .btn { border-radius: 12px; font-weight: 600; }
.forbidden-back {
  color: #64748B;
  text-decoration: none;
  font-size: 0.9rem;
}
.forbidden-footer {
  margin-top: 1.25rem;
  margin-bottom: 0;
  font-size: 0.85rem;
  color: #94A3B8;
  line-height: 1.45;
}

/* —— Accueil amélioré (web + PWA) —— */
.home-shell {
  background: var(--st-bg);
}

.home-hero {
  position: relative;
  min-height: 300px;
  overflow: hidden;
  border-radius: 0 0 28px 28px;
  margin-bottom: 0.85rem;
  box-shadow: 0 12px 32px rgba(13, 59, 20, 0.18);
  background: #0A0A0A;
}

.home-hero-slider {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.home-hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  opacity: 0;
  transition: opacity 0.7s ease;
  transform: scale(1.06);
  display: block;
}

a.home-hero-slide {
  transform: none;
}

a.home-hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.home-hero-slide.is-active {
  opacity: 1;
  transform: scale(1);
  transition: opacity 0.7s ease, transform 10s ease;
}

.home-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(to right, rgba(10, 10, 10, 0.82) 0%, rgba(10, 10, 10, 0.45) 38%, rgba(10, 10, 10, 0.08) 62%, transparent 100%),
    linear-gradient(to top, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.18) 38%, transparent 68%);
}

.home-hero-body {
  position: relative;
  z-index: 2;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  min-height: 300px;
  justify-content: flex-end;
}

.home-hero-panel {
  background: rgba(10, 10, 10, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 20px;
  padding: 1rem 1.05rem;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
  max-width: 100%;
}

.home-hero-brand {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}

.home-hero-text {
  min-width: 0;
  flex: 1;
}

.home-hero-logo {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  object-fit: contain;
  background: #fff;
  padding: 4px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
  flex-shrink: 0;
}

.home-hero-kicker {
  margin: 0;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #F5C842;
  font-weight: 800;
}

.home-hero-title {
  margin: 0.2rem 0 0;
  font-family: var(--st-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.12;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.45);
}

.home-hero-sub {
  margin: 0.35rem 0 0;
  font-size: 0.9rem;
  color: #fff;
  font-weight: 600;
  line-height: 1.4;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4);
}

.home-hero-actions {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-top: 0.85rem;
}

.home-hero-actions .btn-hero-primary,
.home-hero-actions .btn-hero-ghost {
  flex: 1 1 140px;
  min-height: 46px;
  font-size: 0.95rem !important;
}

.home-hero-dots {
  display: flex;
  gap: 0.35rem;
  justify-content: center;
  margin-top: 0.15rem;
}

.home-hero-dots button {
  width: 7px;
  height: 7px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.35);
  padding: 0;
  cursor: pointer;
}

.home-hero-dots button.is-active {
  width: 22px;
  background: var(--st-red);
}

.home-search-section {
  padding: 0 1rem 0.25rem;
}

.home-search-form {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  background: #fff;
  border: 1px solid rgba(201, 162, 39, 0.22);
  border-radius: 16px;
  padding: 0.55rem 0.65rem 0.55rem 0.85rem;
  box-shadow: var(--st-shadow);
}

.home-search-form > .bi-search {
  color: var(--st-blue);
  font-size: 1.05rem;
  flex-shrink: 0;
}

.home-search-btn {
  border: 0;
  border-radius: 12px;
  background: var(--st-red-grad);
  color: #0A0A0A;
  font-weight: 700;
  font-size: 0.82rem;
  padding: 0.55rem 0.85rem;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.home-search-btn > .bi-search {
  display: none;
}

.home-search-input {
  flex: 1;
  border: 0;
  background: transparent;
  font-size: 0.95rem;
  min-width: 0;
  padding: 0.35rem 0;
}

.home-search-input:focus {
  outline: none;
}

.home-section {
  padding: 0.85rem 1rem 0.25rem;
}

.home-promo-grid {
  margin-bottom: 0.5rem;
}

.home-section-last {
  padding-bottom: 1rem;
}

.home-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.home-section-head h2 {
  margin: 0;
  font-family: var(--st-display);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--st-ink);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.home-section-head h2 i {
  color: var(--st-blue);
}

.home-categories-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem;
}

.home-category-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: #fff;
  border: 1px solid rgba(201, 162, 39, 0.14);
  border-radius: 16px;
  padding: 0.75rem 0.85rem;
  text-decoration: none;
  color: var(--st-ink);
  box-shadow: var(--st-shadow);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.home-category-card:hover,
.home-category-card:focus-visible {
  transform: translateY(-1px);
  color: var(--st-ink);
  box-shadow: 0 10px 24px rgba(10, 10, 10, 0.1);
}

.home-category-visual {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  overflow: hidden;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #F6EDD4, #E6DDB8);
  color: var(--st-blue);
  font-size: 1.35rem;
}

.home-category-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-category-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.home-category-body strong {
  font-size: 0.95rem;
  line-height: 1.25;
}

.home-category-body small {
  color: var(--st-muted);
  font-size: 0.78rem;
  font-weight: 600;
}

.home-category-arrow {
  color: var(--st-muted);
  flex-shrink: 0;
}

.home-products-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.home-products-scroll {
  margin: 0 -1rem;
  padding: 0 1rem 0.15rem;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.home-products-scroll::-webkit-scrollbar {
  display: none;
}

.home-products-track {
  display: flex;
  gap: 0.75rem;
  width: max-content;
  min-width: 100%;
  padding-bottom: 0.15rem;
}

.home-products-track .product-card {
  width: 168px;
  flex: 0 0 168px;
}

.home-catalog-cta {
  margin-top: 1rem;
}

.home-trust-strip {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.55rem;
  padding: 0.75rem 1rem 1rem;
}

.home-trust-item {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  background: #fff;
  border-radius: 12px;
  padding: 0.65rem 0.75rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--st-ink);
  box-shadow: var(--st-shadow);
}

.home-trust-item i {
  color: var(--st-blue);
  font-size: 1rem;
}

.home-pwa-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin: 0 1rem 1rem;
  padding: 0.85rem 1rem;
  border-radius: 16px;
  background: linear-gradient(135deg, #C9A227, #0A0A0A);
  color: #fff;
  box-shadow: 0 10px 24px rgba(13, 59, 20, 0.25);
}

.home-pwa-copy {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
}

.home-pwa-copy i {
  font-size: 1.35rem;
  color: var(--st-red);
}

.home-pwa-copy strong {
  display: block;
  font-size: 0.92rem;
}

.home-pwa-copy small {
  display: block;
  opacity: 0.85;
  font-size: 0.75rem;
}

.product-card-compact .product-card-body {
  padding: 0.65rem;
}

.product-card-compact .product-name {
  font-size: 0.82rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-card-compact .product-card-actions {
  padding: 0 0.65rem 0.65rem;
}

.product-card-compact .product-card-actions .btn {
  font-size: 0.78rem;
  padding: 0.35rem 0.5rem;
}

.product-promo-badge {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  z-index: 2;
  background: var(--st-red-grad);
  color: #0A0A0A;
  font-size: 0.68rem;
  font-weight: 800;
  border-radius: 999px;
  padding: 0.2rem 0.5rem;
}

.product-card-media {
  position: relative;
}

.product-card-logo-fallback {
  width: auto;
  max-width: 80%;
  height: auto;
  max-height: 40px;
  object-fit: contain;
  opacity: 1;
}

.product-cat-label {
  color: var(--st-muted);
  font-size: 0.72rem;
  font-weight: 600;
}

.product-card .product-name {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.25;
}

.product-card:hover {
  transform: translateY(-2px);
  transition: transform 0.15s ease;
}

@media (min-width: 640px) {
  .home-categories-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-trust-strip {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 768px) {
  .home-hero {
    min-height: 460px;
    margin: 0 1.25rem 1.25rem;
    border-radius: 28px;
  }

  .home-hero-body {
    min-height: 460px;
    padding: 1.5rem 1.75rem;
    justify-content: center;
    align-items: flex-start;
  }

  .home-hero-panel {
    max-width: 440px;
    padding: 1.35rem 1.45rem;
  }

  .home-hero-overlay {
    background:
      linear-gradient(to right, rgba(10, 10, 10, 0.78) 0%, rgba(10, 10, 10, 0.32) 36%, transparent 58%),
      linear-gradient(to top, rgba(0, 0, 0, 0.4) 0%, transparent 48%);
  }

  .home-hero-title {
    font-size: 1.85rem;
  }

  .home-search-section {
    display: none !important;
  }

  .home-section {
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .home-categories-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .home-products-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
  }

  .home-products-scroll {
    margin: 0;
    padding: 0;
    overflow: visible;
  }

  .home-products-track {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    width: 100%;
    gap: 1rem;
  }

  .home-products-track .product-card {
    width: auto;
    flex: initial;
  }

  .home-trust-strip {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 1.25rem 1.25rem;
  }

  .home-pwa-strip {
    max-width: 720px;
    margin: 0 auto 1.25rem;
  }
}

@media (min-width: 992px) {
  .home-products-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (display-mode: standalone) {
  .home-hero {
    padding-top: env(safe-area-inset-top, 0px);
  }

  .home-search-section {
    position: sticky;
    top: 0;
    z-index: 50;
    background: var(--st-bg);
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
  }
}

/* —— Pied de page boutique —— */
.shop-footer {
  background: #fff;
  color: var(--st-ink);
  margin-top: auto;
  width: 100%;
  border-top: 1px solid #E8ECF0;
  padding: 1.75rem 1rem calc(var(--bottom-nav-h) + env(safe-area-inset-bottom, 0px) + 1.25rem);
}

@media (min-width: 768px) {
  .shop-footer {
    padding-bottom: 2rem;
  }
}

.fe-shop .shop-footer-inner {
  max-width: none;
  width: 100%;
  padding-left: 1.15rem;
  padding-right: 1.15rem;
  box-sizing: border-box;
}

@media (min-width: 992px) {
  .fe-shop .shop-footer-inner {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

.shop-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.shop-footer-brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #EEF1F5;
}

.shop-footer-logo {
  width: auto;
  max-width: 210px;
  height: 36px;
  border-radius: 0;
  background: transparent;
  padding: 0;
  object-fit: contain;
}

.brand-lockup-wordmark .brand-text {
  display: none;
}

.brand-lockup-wordmark.brand-lockup-center {
  flex-direction: row;
  text-align: left;
}

.shop-footer-brand > div {
  display: none;
}

.shop-footer-brand strong {
  display: block;
  font-family: var(--st-display);
  font-size: 1.05rem;
}

.shop-footer-brand small {
  display: block;
  opacity: 0.8;
  font-size: 0.75rem;
  line-height: 1.35;
  margin-top: 0.15rem;
}

.shop-footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

@media (min-width: 640px) {
  .shop-footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 960px) {
  .shop-footer-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.5rem 1.75rem;
    align-items: start;
  }
}

.shop-footer-col h3 {
  margin: 0 0 0.65rem;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--st-red);
  font-weight: 800;
}

.shop-footer-col a,
.shop-footer-address {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--st-muted);
  text-decoration: none;
  font-size: 0.88rem;
  line-height: 1.5;
  margin-bottom: 0.35rem;
}

.shop-footer-col a:hover {
  color: var(--fe-red);
}

.shop-footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding-top: 1rem;
  border-top: 1px solid #EEF1F5;
  font-size: 0.78rem;
  color: var(--st-muted);
}

@media (min-width: 768px) {
  .shop-footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.shop-footer-tag {
  color: var(--st-red);
  font-weight: 700;
}

/* Pages légales */
.legal-page-head {
  margin-bottom: 1rem;
}

.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--st-blue);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.88rem;
  margin-bottom: 0.65rem;
}

.legal-page h1 {
  font-family: var(--st-display);
  font-size: 1.45rem;
  margin: 0;
}

.legal-panel {
  background: #fff;
  border-radius: 18px;
  padding: 1.15rem 1.2rem;
  box-shadow: var(--st-shadow);
  line-height: 1.55;
  color: #334155;
}

.legal-panel h2 {
  font-size: 1rem;
  margin: 1rem 0 0.45rem;
  color: var(--st-ink);
}

.legal-panel ul {
  padding-left: 1.15rem;
  margin-bottom: 0.5rem;
}

.legal-dl {
  display: grid;
  gap: 0.65rem;
  margin: 0;
}

.legal-dl dt {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--st-muted);
  font-weight: 700;
}

.legal-dl dd {
  margin: 0.1rem 0 0;
  font-weight: 600;
  color: var(--st-ink);
}

.contact-cards {
  display: grid;
  gap: 0.75rem;
  margin: 1rem 0;
}

@media (min-width: 640px) {
  .contact-cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

.contact-card {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1rem;
  border-radius: 14px;
  background: var(--st-bg);
  text-decoration: none;
  color: var(--st-ink);
  border: 1px solid rgba(27, 94, 32, 0.1);
}

.contact-card i {
  color: var(--st-blue);
  font-size: 1.25rem;
}

.contact-card span {
  font-size: 0.78rem;
  color: var(--st-muted);
  font-weight: 600;
}

.contact-card strong {
  font-size: 0.92rem;
  line-height: 1.35;
}

.contact-card.is-static strong {
  font-weight: 700;
}

.share-actions { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-top: 0.25rem; }
.share-btn {
  width: 40px; height: 40px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center;
  color: #111; text-decoration: none; background: #C9A227; border: 1px solid #8C6B12;
}
.share-btn:hover { background: #F0D56A; color: #111; }
.share-btn i { font-size: 1.05rem; }
.shop-footer-col-social .shop-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.shop-socials a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0;
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #E8ECF0;
  color: var(--st-ink);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 650;
  line-height: 1.2;
}

.shop-socials a i {
  color: #25D366;
  font-size: 1rem;
}

.shop-socials a:hover {
  background: #F0FDF4;
  color: var(--st-ink);
  border-color: #25D366;
}
.pdp-share { margin-top: 1.1rem; padding-top: 1rem; border-top: 1px solid rgba(0,0,0,.08); }
.pay-setting-card { background: #F7F4EC; border: 1px solid #E6DDB8; border-radius: 14px; padding: 0.9rem; height: 100%; }
.stock-thumb, .stock-mini-thumb { display: inline-flex; width: 42px; height: 42px; border-radius: 10px; overflow: hidden; background: #111; }
.stock-thumb img, .stock-mini-thumb img { width: 100%; height: 100%; object-fit: cover; }
.stock-mini-list li { display: flex; align-items: center; gap: 0.6rem; }
.alert-danger,
.btn-danger,
.bg-danger,
.text-danger,
.text-bg-danger {
  --bs-danger: #C9A227;
  --bs-danger-rgb: 201, 162, 39;
}
.alert-danger {
  background: #F8F1DC !important;
  color: #6B5310 !important;
  border-color: #E6DDB8 !important;
}
.text-danger { color: #C9A227 !important; }
.btn-danger {
  background: var(--st-red-grad) !important;
  border: none !important;
  color: #111 !important;
}

.lv-prefs-compact {
  display: flex;
  align-items: center;
  gap: 2px;
}
.lv-pref-lang {
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  padding: 0.18rem 0.38rem;
  border-radius: 6px;
  text-decoration: none;
  opacity: 0.72;
  line-height: 1.2;
}
.lv-pref-lang:hover { opacity: 1; color: #fff; }
.lv-pref-lang.is-on {
  opacity: 1;
  background: #C9A227;
  color: #0A0A0A;
}
.lv-pref-form { margin: 0; }
.lv-currency-dd {
  position: relative;
  flex-shrink: 0;
}
.lv-currency-dd > summary {
  list-style: none;
}
.lv-currency-dd > summary::-webkit-details-marker,
.lv-currency-dd > summary::marker {
  display: none;
  content: "";
}
.lv-currency-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  height: 28px;
  max-height: 28px;
  padding: 0 0.45rem;
  border-radius: 8px;
  border: 1px solid rgba(201, 162, 39, 0.7);
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  cursor: pointer;
  line-height: 1;
  white-space: nowrap;
}
.lv-currency-btn::after {
  content: "";
  width: 0;
  height: 0;
  border-left: 3.5px solid transparent;
  border-right: 3.5px solid transparent;
  border-top: 4px solid #fff;
  margin-left: 2px;
}
.lv-currency-list {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  z-index: 400;
  min-width: 8.2rem;
  max-height: 220px;
  overflow-y: auto;
  overflow-x: hidden;
  background: #111;
  border: 1px solid #C9A227;
  border-radius: 12px;
  padding: 0.3rem;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.45);
}
.lv-currency-opt {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  padding: 0.4rem 0.55rem;
  border-radius: 8px;
  color: #F6EDD4;
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.2;
}
.lv-currency-opt span { opacity: 0.7; font-weight: 600; }
.lv-currency-opt:hover,
.lv-currency-opt.is-on {
  background: #C9A227;
  color: #0A0A0A;
}
.lv-menu-select {
  color: #111 !important;
  background: #fff !important;
  max-height: none;
  height: auto;
}
.lv-prefs-auth {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 6;
}
.lv-prefs-auth .lv-pref-lang { color: #F6EDD4; }
.lv-prefs-auth .lv-pref-lang.is-on {
  background: #C9A227;
  color: #0A0A0A;
}
.lv-prefs-auth .lv-currency-btn {
  color: #0A0A0A;
  background: #fff;
  border-color: #C9A227;
}
.lv-prefs-auth .lv-currency-btn::after { border-top-color: #0A0A0A; }
.lv-prefs-menu {
  margin-bottom: 1rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid rgba(10, 10, 10, 0.08);
}
.lv-pref-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #6B6354;
  display: block;
  margin-bottom: 0.28rem;
}
.lv-pref-stack,
.lv-pref-row { margin-bottom: 0.75rem; }
.lv-pref-langs { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.lv-prefs-menu .lv-pref-lang {
  color: #0A0A0A;
  border: 1px solid #ddd;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  font-size: 0.8rem;
  text-decoration: none;
  opacity: 1;
}
.lv-prefs-menu .lv-pref-lang.is-on {
  background: #C9A227;
  border-color: #C9A227;
  color: #0A0A0A;
}

.product-card { position: relative; }
.wish-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 3;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.92);
  color: #9A8F78;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
}
.wish-btn.is-on,
.wish-btn:hover { color: #C9A227; }

.m-hero,
.m-cats,
.m-trust {
  display: none;
}

/* —— Maquette smartphone or / noir —— */
@media (max-width: 767.98px) {
  .home-hero,
  .home-pwa-strip,
  .home-cats-web {
    display: none !important;
  }
  .home-shell {
    display: flex;
    flex-direction: column;
  }
  .home-search-section { order: 1; }
  .m-hero { order: 2; display: grid; }
  .m-cats { order: 3; display: grid; }
  .home-section-last { order: 4; }
  .m-trust { order: 5; display: grid; }
  .shop-body,
  .page-home .home-shell {
    background: #000 !important;
    color: #fff;
  }
  .shop-topbar,
  .shop-topbar-home {
    background: #000 !important;
    border-bottom-color: rgba(201, 162, 39, 0.25);
    padding: 0.65rem 0;
  }
  .shop-topbar .btn-outline-light {
    border-color: transparent;
    background: transparent;
  }
  .topbar-menu-btn {
    width: 48px;
    height: 48px;
  }
  .topbar-menu-btn i {
    font-size: 1.85rem;
  }
  .brand-text strong { color: #C9A227; letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.82rem; }
  .brand-text small { color: #C9A227; opacity: 0.85; font-size: 0.58rem; letter-spacing: 0.04em; text-transform: uppercase; }
  .shop-main { color: #fff; }
  .section-block { color: #fff; }
  .home-section-head h2,
  .m-section-title {
    color: #fff !important;
    font-size: 1.05rem;
  }
  .home-see-all { color: #C9A227 !important; }
  .home-search-section { padding: 0.35rem 1rem 0.85rem; }
  .home-search-form {
    background: #fff;
    border: 0;
    border-radius: 14px;
    padding: 0.28rem 0.28rem 0.28rem 0.9rem;
  }
  .home-search-input { color: #111; font-size: 0.92rem; }
  .home-search-form > .bi-search { display: none; }
  .home-search-btn {
    width: 42px;
    height: 42px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #C9A227 !important;
    border-radius: 10px;
    color: #fff !important;
  }
  .home-search-btn-label { display: none; }
  .home-search-btn > .bi-search {
    display: inline;
    font-size: 1.1rem;
    color: #fff;
  }
  .m-hero {
    margin: 0 1rem 1rem;
    padding: 1.05rem 1rem 1.1rem;
    border-radius: 18px;
    background:
      radial-gradient(circle at 85% 20%, rgba(201, 162, 39, 0.18), transparent 42%),
      linear-gradient(160deg, #1A1A1A 0%, #0E0E0E 100%);
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 0.5rem;
    align-items: center;
    min-height: 168px;
  }
  .m-hero-badge {
    display: inline-block;
    background: #C9A227;
    color: #fff;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: 999px;
    padding: 0.18rem 0.55rem;
    margin-bottom: 0.45rem;
  }
  .m-hero-title {
    margin: 0;
    color: #fff;
    font-family: var(--st-display);
    font-size: 1.28rem;
    line-height: 1.15;
    font-weight: 800;
  }
  .m-hero-gold {
    margin: 0.15rem 0 0.35rem;
    color: #C9A227;
    font-family: var(--st-display);
    font-size: 1.15rem;
    font-weight: 800;
  }
  .m-hero-sub {
    margin: 0 0 0.7rem;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.72rem;
    line-height: 1.35;
  }
  .m-hero-cta {
    background: #C9A227 !important;
    color: #fff !important;
    border: 0;
    border-radius: 10px;
    font-weight: 800;
    padding: 0.4rem 0.9rem;
    font-size: 0.82rem;
  }
  .m-hero-visual {
    display: grid;
    place-items: center;
  }
  .m-hero-visual img {
    width: 86px;
    height: 86px;
    object-fit: contain;
    background: #111;
    border-radius: 16px;
    padding: 8px;
    border: 1px solid rgba(201, 162, 39, 0.45);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.45);
  }
  .m-cats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.55rem;
    padding: 0 1rem 0.35rem;
  }
  .m-cat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    text-decoration: none;
    color: #fff;
    font-size: 0.68rem;
    font-weight: 700;
  }
  .m-cat-icon {
    width: 58px;
    height: 58px;
    border-radius: 16px;
    background: #1A1A1A;
    display: grid;
    place-items: center;
    color: #C9A227;
    font-size: 1.25rem;
  }
  .home-products-grid.home-promo-grid {
    display: flex !important;
    gap: 0.75rem;
    overflow-x: auto;
    padding: 0 1rem 0.4rem;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .home-products-grid.home-promo-grid::-webkit-scrollbar { display: none; }
  .home-products-grid.home-promo-grid .product-card {
    flex: 0 0 158px;
    scroll-snap-align: start;
    background: #fff;
    color: #111;
    border-radius: 16px;
  }
  .home-promo-grid .product-name {
    color: #111;
    font-size: 0.82rem;
    -webkit-line-clamp: 2;
  }
  .home-promo-grid .price-online { color: #C9A227 !important; font-size: 0.8rem; }
  .home-promo-grid .btn-add-cart {
    background: #0A0A0A !important;
    color: #fff !important;
    border-radius: 10px !important;
    font-size: 0.75rem !important;
  }
  .m-trust {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.4rem;
    padding: 0.85rem 0.75rem 1.25rem;
    text-align: center;
  }
  .m-trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
  }
  .m-trust-item i { color: #C9A227; font-size: 1.15rem; }
  .m-trust-item strong { font-size: 0.68rem; color: #fff; }
  .m-trust-item small { font-size: 0.62rem; color: rgba(255,255,255,0.65); }
  .bottom-nav {
    background: #000;
    border-top: 1px solid rgba(201, 162, 39, 0.22);
    color: #9A8F78;
  }
  .bottom-nav a { color: #9A8F78; }
  .bottom-nav a.active { color: #C9A227 !important; }
  .cart-badge {
    background: #C9A227;
    color: #0A0A0A;
  }
  .shop-footer {
    background: #000;
    margin-top: auto;
    padding-top: 0.7rem;
    padding-bottom: calc(var(--bottom-nav-h) + env(safe-area-inset-bottom, 0px) + 0.65rem);
  }
  .shop-footer-brand,
  .shop-footer-grid,
  .shop-footer-tag {
    display: none !important;
  }
  .shop-footer-bottom {
    border-top: 0;
    padding-top: 0;
    text-align: center;
    font-size: 0.72rem;
    opacity: 0.55;
  }
  .empty-state,
  .filter-panel,
  .panel-soft,
  .account-hero {
    background: #1A1A1A;
    color: #fff;
    box-shadow: none;
  }
  .section-block h1,
  .section-head h1 { color: #fff; }
  .text-muted { color: #9A8F78 !important; }
  .product-grid .product-card { background: #fff; color: #111; }
  .offcanvas { background: #111; color: #fff; }
  .offcanvas-title { color: #fff; }
  .menu-link { color: #fff !important; }
  .menu-link i { color: #C9A227; }
  .lv-prefs-menu { border-bottom-color: rgba(255,255,255,0.08); }
  .lv-pref-label { color: #9A8F78; }
  .lv-prefs-menu .lv-pref-lang { color: #fff; border-color: #333; }
  .btn-close { filter: invert(1); }
  .cart-item,
  .cart-summary,
  .checkout-panel,
  .help-card,
  .order-card,
  .panel-card {
    background: #1A1A1A !important;
    color: #fff;
    box-shadow: none;
  }
  .form-control,
  .form-select {
    background: #111;
    color: #fff;
    border-color: #333;
  }
}

@media (min-width: 768px) {
  .m-hero, .m-cats, .m-trust { display: none !important; }
}

/* =========================================================
   FoodExpress — Accueil marketplace (sidebar + hero + cats)
   ========================================================= */
.fe-page-home {
  --fe-red: #E53935;
  --fe-red-dark: #C62828;
  --fe-red-soft: #FFEBEE;
  --fe-sidebar-w: 240px;
  --st-red: #E53935;
  --st-red-deep: #C62828;
  --st-red-grad: linear-gradient(135deg, #FF5252 0%, #E53935 48%, #C62828 100%);
  --st-bg: #F5F6F8;
}

.fe-shop-shell {
  display: flex;
  min-height: calc(100vh - 60px);
  background: var(--st-bg);
}

.fe-shop-main-wrap {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  width: 100%;
}

.fe-page-home .shop-main {
  width: 100%;
  max-width: none;
  margin: 0;
}

.fe-page-home .shop-topbar.fe-topbar-home {
  background: #fff;
  color: var(--st-ink);
  border-bottom: 1px solid #E8ECF0;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
}

@media (min-width: 992px) {
  .fe-page-home .shop-topbar.fe-topbar-home {
    display: none;
  }
  .fe-shop-shell {
    min-height: 100vh;
  }
}

.fe-page-home .shop-topbar .brand-lockup { color: var(--st-ink); }
.fe-page-home .shop-topbar .btn-outline-light {
  color: var(--st-ink);
  border-color: #DDE3EA;
  background: #fff;
}

.fe-sidebar {
  display: none;
  width: var(--fe-sidebar-w);
  flex-shrink: 0;
  background: #fff;
  border-right: 1px solid #E8ECF0;
  padding: 1.25rem 0.85rem 1rem;
  flex-direction: column;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
}

@media (min-width: 992px) {
  .fe-sidebar { display: flex; }
  .fe-page-home .shop-main {
    max-width: none;
    padding: 0;
    width: 100%;
    margin: 0;
  }
  .fe-page-home .shop-footer-inner {
    max-width: none;
    width: 100%;
    padding-left: 2rem;
    padding-right: 2rem;
    box-sizing: border-box;
  }
}

.fe-sidebar-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
  padding: 0 0.5rem 1.25rem;
  border-bottom: 1px solid #EEF1F5;
  margin-bottom: 0.75rem;
}

.fe-sidebar-logo {
  width: 100%;
  max-width: 210px;
  height: auto;
  object-fit: contain;
  display: block;
}

.fe-sidebar-tagline {
  color: var(--st-muted);
  font-size: 0.72rem;
  line-height: 1.35;
  padding: 0 0.15rem;
}

.fe-sidebar-brand img {
  border-radius: 0;
  object-fit: contain;
  background: transparent;
}

.fe-sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  flex: 1;
}

.fe-sidebar-link {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.65rem 0.75rem;
  border-radius: 12px;
  text-decoration: none !important;
  color: #4B5563 !important;
  font-weight: 600;
  font-size: 0.9rem;
  transition: background 0.15s, color 0.15s;
}

.fe-sidebar-link i {
  font-size: 1.05rem;
  width: 1.25rem;
  text-align: center;
}

.fe-sidebar-link:hover,
.fe-sidebar-link:focus-visible {
  background: #F3F4F6;
  color: var(--st-ink) !important;
}

.fe-sidebar-link.is-active {
  background: var(--fe-red-soft);
  color: var(--fe-red) !important;
}

.fe-sidebar-cart {
  position: relative;
}

.fe-sidebar-cart-badge {
  margin-left: auto;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--fe-red);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.fe-sidebar-foot {
  padding: 0.85rem 0.5rem 0.25rem;
  border-top: 1px solid #EEF1F5;
  margin-top: auto;
}

.fe-sidebar-login {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  width: 100%;
  margin-top: 0.85rem;
  padding: 0.72rem 1rem;
  border-radius: 12px;
  background: var(--st-red-grad);
  color: #fff !important;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none !important;
  box-shadow: 0 6px 18px rgba(229, 57, 53, 0.28);
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

.fe-sidebar-login i {
  font-size: 1.05rem;
}

.fe-sidebar-login:hover,
.fe-sidebar-login:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(229, 57, 53, 0.34);
  color: #fff !important;
  filter: brightness(1.03);
}

.fe-sidebar-login.is-active {
  box-shadow: 0 6px 18px rgba(229, 57, 53, 0.28), inset 0 0 0 2px rgba(255, 255, 255, 0.35);
}

.fe-home {
  width: 100%;
  max-width: none;
  box-sizing: border-box;
  padding: 1rem 1.15rem 2rem;
}

@media (min-width: 992px) {
  .fe-home { padding: 1.35rem 2rem 2.5rem; }
}

@media (min-width: 1400px) {
  .fe-home { padding: 1.5rem 2.5rem 2.75rem; }
}

/* Hero carousel */
.fe-hero {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  min-height: 260px;
  background: #1a1a1a;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
  margin-bottom: 1.5rem;
}

.fe-hero-slider {
  position: relative;
  min-height: 260px;
}

.fe-hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.65s ease;
  display: grid;
  grid-template-columns: 1fr;
}

.fe-hero-slide.is-active {
  opacity: 1;
  pointer-events: auto;
  z-index: 1;
}

.fe-hero-slide-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
}

.fe-hero-slide-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0.45) 42%, rgba(0, 0, 0, 0.15) 68%, transparent 100%);
  z-index: 1;
}

.fe-hero-slide-inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  min-height: 260px;
  padding: 1.75rem 1.5rem;
}

.fe-hero-copy {
  max-width: 420px;
}

.fe-hero-title {
  margin: 0;
  font-family: var(--st-display);
  font-size: clamp(1.35rem, 3vw, 2rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
}

.fe-hero-sub {
  margin: 0.65rem 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.92rem;
  line-height: 1.45;
}

.fe-hero-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 1.1rem;
  padding: 0.7rem 1.35rem;
  border-radius: 12px;
  background: var(--fe-red) !important;
  border: 0 !important;
  color: #fff !important;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(229, 57, 53, 0.35);
}

.fe-hero-cta:hover {
  background: var(--fe-red-dark) !important;
  color: #fff !important;
}

.fe-hero-dots {
  position: absolute;
  bottom: 0.85rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 0.35rem;
}

.fe-hero-dots button {
  width: 8px;
  height: 8px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.45);
  padding: 0;
  cursor: pointer;
  transition: width 0.2s, background 0.2s;
}

.fe-hero-dots button.is-active {
  width: 24px;
  background: #fff;
}

@media (min-width: 768px) {
  .fe-hero,
  .fe-hero-slider,
  .fe-hero-slide.is-active,
  .fe-hero-slide-inner {
    min-height: 300px;
  }
}

/* Sections */
.fe-section {
  margin-bottom: 1.75rem;
}

.fe-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

.fe-section-head h2 {
  margin: 0;
  font-family: var(--st-display);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--st-ink);
}

.fe-see-all {
  color: var(--fe-red) !important;
  text-decoration: none !important;
  font-weight: 700;
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
}

.fe-see-all:hover { color: var(--fe-red-dark) !important; }

/* Category cards (mockup) */
.fe-cats-section {
  background: transparent;
}

.fe-cats-track {
  display: flex;
  gap: 0.85rem;
  overflow-x: auto;
  padding-bottom: 0.35rem;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.fe-cats-track::-webkit-scrollbar { display: none; }

.fe-cat-card {
  flex: 0 0 auto;
  width: 108px;
  text-decoration: none !important;
  color: var(--st-ink) !important;
  scroll-snap-align: start;
}

.fe-cat-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 108px;
  height: 108px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid #E8ECF0;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
  transition: transform 0.15s, box-shadow 0.15s;
}

.fe-cat-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fe-cat-visual i {
  font-size: 2rem;
  color: var(--fe-red);
}

.fe-cat-card:hover .fe-cat-visual {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(229, 57, 53, 0.12);
}

.fe-cat-label {
  display: block;
  margin-top: 0.45rem;
  text-align: center;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.2;
}

/* Restaurants grid */
.fe-rest-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0.85rem;
}

@media (min-width: 1200px) {
  .fe-rest-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

.fe-rest-card {
  display: flex;
  flex-direction: column;
  text-decoration: none !important;
  color: var(--st-ink) !important;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #E8ECF0;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
  transition: transform 0.15s, box-shadow 0.15s;
}

.fe-rest-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

.fe-rest-cover {
  position: relative;
  display: block;
  aspect-ratio: 16/10;
  background: #F3F4F6;
  overflow: hidden;
}

.fe-rest-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fe-rest-cover i {
  display: grid;
  place-items: center;
  height: 100%;
  font-size: 2rem;
  color: #9CA3AF;
}

.fe-rest-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: #22C55E;
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.2rem 0.45rem;
  border-radius: 999px;
}

.fe-rest-body {
  padding: 0.75rem 0.85rem 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.fe-rest-body strong { font-size: 0.92rem; }
.fe-rest-body small { color: var(--st-muted); font-size: 0.75rem; }
.fe-rest-rating { font-size: 0.78rem; color: #F59E0B; font-weight: 700; }
.fe-rest-rating i { margin-right: 0.15rem; }

/* Menu grid */
.fe-menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 0.85rem;
}

@media (min-width: 1200px) {
  .fe-menu-grid {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  }
}

@media (min-width: 1600px) {
  .fe-menu-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}

.fe-menu-grid .product-card {
  border-radius: 16px;
  border: 1px solid #E8ECF0;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}

.fe-empty-box {
  text-align: center;
  padding: 2rem 1rem;
  background: #fff;
  border-radius: 16px;
  border: 1px dashed #DDE3EA;
  color: var(--st-muted);
}

.fe-empty-box i {
  font-size: 2rem;
  color: var(--fe-red);
  display: block;
  margin-bottom: 0.5rem;
}

/* Override mobile: show new home hero */
.fe-shop .shop-main {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

.fe-page-inner .shop-main,
.fe-page-home .shop-main {
  width: 100%;
  max-width: none;
  margin: 0;
}

/* Pages intérieures */
.fe-inner {
  width: 100%;
  box-sizing: border-box;
  padding: 1.15rem 1.15rem 2rem;
}

@media (min-width: 992px) {
  .fe-inner {
    padding: 1.35rem 2rem 2.5rem;
  }
}

.fe-page-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  margin-bottom: 1.35rem;
}

.fe-page-title {
  margin: 0;
  font-family: var(--st-display);
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 700;
  color: var(--st-ink);
}

.fe-page-sub {
  margin: 0.35rem 0 0;
  color: var(--st-muted);
  font-size: 0.92rem;
}

.fe-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.fe-filter-bar .form-control {
  min-width: 140px;
  border-radius: 10px;
  border-color: #E0E4EA;
  height: 42px;
}

.fe-filter-bar .fe-btn {
  border-radius: 10px;
  font-weight: 700;
  padding: 0.45rem 1.1rem;
  white-space: nowrap;
}

.fe-rest-grid-page {
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}

@media (min-width: 1200px) {
  .fe-rest-grid-page {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 1600px) {
  .fe-rest-grid-page {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

.fe-rest-cover-logo {
  object-fit: contain !important;
  padding: 1.25rem;
  background: #F8F9FB;
}

.fe-empty-state {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--st-muted);
  background: #fff;
  border-radius: 16px;
  border: 1px dashed #E0E4EA;
}

.fe-empty-state i {
  font-size: 2.5rem;
  color: #D1D5DB;
  display: block;
  margin-bottom: 0.75rem;
}

.fe-page-inner .section-block {
  padding: 1.15rem 1.15rem 2rem;
  max-width: none;
}

@media (min-width: 992px) {
  .fe-page-inner .section-block {
    padding: 1.35rem 2rem 2.5rem;
  }
}

.fe-btn-danger,
.btn-danger.fe-btn {
  background: var(--st-red-grad) !important;
  border: none !important;
}

.fe-rest-detail-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #E8ECF0;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}

.fe-rest-cover-detail {
  display: block;
  aspect-ratio: 16 / 10;
  position: relative;
  background: #F3F4F6;
}

.fe-rest-cover-detail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.fe-rest-cover-detail i {
  display: grid;
  place-items: center;
  height: 100%;
  font-size: 2.5rem;
  color: #9CA3AF;
}

.fe-rest-meta li {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.35rem;
}

.fe-section-title {
  font-family: var(--st-display);
  font-weight: 700;
}

.fe-menu-item-card {
  display: flex;
  gap: 0.85rem;
  padding: 0.85rem;
  background: #fff;
  border-radius: 14px;
  border: 1px solid #E8ECF0;
  height: 100%;
}

.fe-menu-item-thumb {
  width: 72px;
  height: 72px;
  border-radius: 12px;
  overflow: hidden;
  background: #F3F4F6;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  color: #9CA3AF;
}

.fe-menu-item-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Override mobile: show new home hero */
@media (max-width: 767.98px) {
  .fe-page-home .fe-hero {
    display: block !important;
    border-radius: 16px;
    min-height: 220px;
  }
  .fe-page-home .fe-hero-slide.is-active,
  .fe-page-home .fe-hero-slide-inner {
    min-height: 220px;
  }
  .fe-home { padding: 0.75rem 0.85rem 1.5rem; }
  .fe-hero-slide-inner { padding: 1.25rem 1rem; }
  .fe-hero-title { font-size: 1.2rem; }
}

/* FoodExpress — annule l’ancien thème noir/or mobile */
@media (max-width: 767.98px) {
  .fe-shop.shop-body {
    background: var(--st-bg) !important;
    color: var(--st-ink);
    padding-bottom: calc(var(--bottom-nav-h) + env(safe-area-inset-bottom, 0px));
  }
  .fe-shop .shop-topbar,
  .fe-shop .shop-topbar-home {
    background: #fff !important;
    color: var(--st-ink);
    border-bottom: 1px solid #E8ECF0;
  }
  .fe-shop .shop-topbar .btn-outline-light {
    color: var(--st-ink);
    border-color: #DDE3EA;
    background: #fff;
  }
  .fe-shop .shop-main,
  .fe-shop .section-block {
    color: var(--st-ink);
    background: transparent;
  }
  .fe-shop .shop-footer {
    background: #fff !important;
    color: var(--st-ink);
    border-top: 1px solid #E8ECF0;
  }
  .fe-shop .shop-footer-bottom {
    color: var(--st-muted);
    opacity: 1;
  }
  .fe-shop .bottom-nav {
    background: #fff;
    border-top: 1px solid #E8ECF0;
    color: var(--st-muted);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.06);
  }
  .fe-shop .bottom-nav a { color: var(--st-muted); }
  .fe-shop .bottom-nav a.active { color: var(--fe-red) !important; }
  .fe-shop .cart-badge {
    background: var(--fe-red);
    color: #fff;
  }
}

/* ========== Maquette mobile FoodExpress (< 992px) ========== */
@media (max-width: 991.98px) {
  .fe-shop .shop-topbar {
    display: none !important;
  }

  .fe-shop .shop-footer-brand,
  .fe-shop .shop-footer-grid,
  .fe-shop .shop-footer-tag {
    display: none !important;
  }

  .fe-shop .shop-footer {
    background: transparent;
    border: 0;
    padding: 0.5rem 1rem 0.25rem;
    margin-top: 0;
  }

  .fe-shop .shop-footer-bottom {
    border: 0;
    text-align: center;
    font-size: 0.68rem;
    color: var(--st-muted);
    padding: 0;
  }

  .fe-shop .shop-body,
  .fe-shop .fe-shop-main-wrap {
    background: #F5F6F8;
  }

  .fe-mobile-header {
    background: #fff;
    padding: 0.65rem 1rem 0.5rem;
    border-bottom: 1px solid #EEF1F5;
    position: sticky;
    top: 0;
    z-index: 110;
  }

  .fe-mobile-header-top {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 0.5rem;
  }

  .fe-mobile-logo img {
    height: 28px;
    width: auto;
    max-width: 120px;
    object-fit: contain;
    display: block;
  }

  .fe-mobile-location {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    border: 0;
    background: transparent;
    color: var(--st-ink);
    font-size: 0.82rem;
    font-weight: 700;
    padding: 0.35rem 0.5rem;
    border-radius: 999px;
    max-width: 100%;
    overflow: hidden;
  }

  .fe-mobile-location span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .fe-mobile-location .bi-geo-alt-fill {
    color: var(--fe-red);
    flex-shrink: 0;
  }

  .fe-mobile-notif {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    color: var(--st-ink);
    text-decoration: none;
    background: #F3F4F6;
    flex-shrink: 0;
  }

  .fe-mobile-header-page {
    display: grid;
    grid-template-columns: 40px 1fr 40px;
    align-items: center;
    gap: 0.5rem;
  }

  .fe-mobile-back {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    color: var(--st-ink);
    text-decoration: none;
    background: #F3F4F6;
  }

  .fe-mobile-page-title {
    margin: 0;
    font-family: var(--st-display);
    font-size: 1.05rem;
    font-weight: 700;
    text-align: center;
  }

  .fe-mobile-search {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0.75rem 1rem 0;
    padding: 0 0.85rem;
    height: 46px;
    background: #fff;
    border-radius: 14px;
    border: 1px solid #E8ECF0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  }

  .fe-mobile-search i.bi-search {
    color: var(--st-muted);
    flex-shrink: 0;
  }

  .fe-mobile-search input {
    flex: 1;
    border: 0;
    background: transparent;
    font-size: 0.88rem;
    min-width: 0;
    outline: none;
  }

  .fe-mobile-search-filter {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    background: var(--fe-red-soft);
    color: var(--fe-red);
    text-decoration: none;
    flex-shrink: 0;
  }

  .fe-home {
    padding: 0 0 1.25rem;
  }

  .fe-home .fe-hero {
    margin: 0.75rem 1rem 0;
    border-radius: 18px;
    min-height: 170px;
  }

  .fe-home .fe-hero-slider,
  .fe-home .fe-hero-slide.is-active,
  .fe-home .fe-hero-slide-inner {
    min-height: 170px;
  }

  .fe-home .fe-hero-slide-shade {
    background: linear-gradient(90deg, rgba(229, 57, 53, 0.92) 0%, rgba(229, 57, 53, 0.75) 45%, rgba(229, 57, 53, 0.2) 100%);
  }

  .fe-home .fe-hero-title {
    font-size: 1.15rem;
    line-height: 1.25;
  }

  .fe-home .fe-hero-sub {
    display: none;
  }

  .fe-home .fe-hero-cta {
    padding: 0.45rem 0.85rem;
    font-size: 0.78rem;
    border-radius: 10px;
    background: #fff !important;
    color: var(--fe-red) !important;
    font-weight: 800;
  }

  .fe-home .fe-section {
    padding: 0 1rem;
    margin-top: 1.15rem;
  }

  .fe-home .fe-section-head h2 {
    font-size: 1rem;
  }

  .fe-home .fe-cat-visual {
    width: 72px;
    height: 72px;
    border-radius: 16px;
  }

  .fe-home .fe-cat-card {
    width: 72px;
  }

  .fe-home .fe-cat-label {
    font-size: 0.72rem;
  }

  .fe-rest-grid-home {
    display: none !important;
  }

  .fe-rest-track {
    display: flex;
    gap: 0.75rem;
    overflow-x: auto;
    padding-bottom: 0.35rem;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .fe-rest-track::-webkit-scrollbar { display: none; }

  .fe-rest-track .fe-rest-card {
    flex: 0 0 240px;
    scroll-snap-align: start;
  }

  .fe-menu-section {
    display: none !important;
  }

  .fe-mobile-promo {
    margin: 0 1rem 0.75rem;
    padding: 0.65rem 1rem;
    border-radius: 12px;
    background: var(--st-red-grad);
    color: #fff;
    font-weight: 700;
    font-size: 0.88rem;
    text-align: center;
  }

  .fe-mobile-rest-search {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0 1rem 0.85rem;
    padding: 0 0.85rem;
    height: 44px;
    background: #fff;
    border-radius: 12px;
    border: 1px solid #E8ECF0;
  }

  .fe-mobile-rest-search input {
    border: 0;
    background: transparent;
    box-shadow: none;
    font-size: 0.88rem;
    padding: 0;
  }

  .fe-mobile-rest-search i {
    color: var(--st-muted);
  }

  .fe-inner {
    padding: 0 0 1rem;
  }

  .fe-rest-grid-page {
    display: none !important;
  }

  .fe-rest-list-mobile {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    padding: 0 1rem;
  }

  .fe-rest-row {
    display: grid;
    grid-template-columns: 72px 1fr auto;
    gap: 0.75rem;
    align-items: center;
    padding: 0.75rem;
    background: #fff;
    border-radius: 14px;
    text-decoration: none !important;
    color: var(--st-ink) !important;
    border: 1px solid #EEF1F5;
  }

  .fe-rest-row-thumb {
    width: 72px;
    height: 72px;
    border-radius: 12px;
    overflow: hidden;
    background: #F3F4F6;
    display: grid;
    place-items: center;
  }

  .fe-rest-row-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .fe-rest-row-thumb .fe-rest-row-logo {
    object-fit: contain;
    padding: 0.5rem;
  }

  .fe-rest-row-body strong {
    display: block;
    font-size: 0.92rem;
    margin-bottom: 0.15rem;
  }

  .fe-rest-row-meta {
    display: block;
    font-size: 0.75rem;
    color: var(--st-muted);
  }

  .fe-rest-row-meta .bi-star-fill {
    color: #F59E0B;
  }

  .fe-rest-row-free {
    display: inline-block;
    margin-top: 0.25rem;
    font-size: 0.72rem;
    font-weight: 700;
    color: #16A34A;
  }

  .fe-rest-row-fee {
    display: inline-block;
    margin-top: 0.25rem;
    font-size: 0.72rem;
    color: var(--st-muted);
  }

  .fe-rest-row-chevron {
    color: #CBD5E1;
    font-size: 1rem;
  }

  .cart-page.section-block {
    padding: 0.75rem 1rem 0;
  }

  .cart-layout {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

  .cart-item {
    border-radius: 14px;
    border: 1px solid #EEF1F5;
    background: #fff;
    padding: 0.85rem;
  }

  .cart-item-ref {
    display: none;
  }

  .cart-summary-rich {
    position: sticky;
    bottom: calc(var(--bottom-nav-h) + env(safe-area-inset-bottom, 0px) + 0.5rem);
    background: #fff;
    border-radius: 18px 18px 0 0;
    border: 1px solid #EEF1F5;
    border-bottom: 0;
    padding: 1rem 1rem 0.75rem;
    box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.06);
    margin: 0 -1rem;
  }

  .fe-cart-address,
  .fe-cart-payment {
    background: #F8F9FB;
    border-radius: 12px;
    padding: 0.75rem 0.85rem;
    margin-bottom: 0.75rem;
  }

  .fe-cart-address {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
  }

  .fe-cart-address strong,
  .fe-cart-payment strong {
    display: block;
    font-size: 0.78rem;
    color: var(--st-muted);
    margin-bottom: 0.2rem;
  }

  .fe-cart-address p {
    margin: 0;
    font-size: 0.88rem;
    font-weight: 600;
  }

  .fe-cart-address a {
    color: var(--fe-red);
    font-size: 0.82rem;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
  }

  .fe-cart-payment span {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.88rem;
    font-weight: 600;
  }

  .cart-summary-total strong {
    color: var(--fe-red) !important;
    font-size: 1.35rem;
  }

  .fe-cart-checkout-btn {
    border-radius: 14px !important;
    font-weight: 800 !important;
    padding: 0.85rem !important;
    background: var(--st-red-grad) !important;
    border: none !important;
  }

  .fe-cart-secure {
    text-align: center;
    font-size: 0.75rem;
    color: var(--st-muted);
    margin: 0.5rem 0 0;
  }

  .fe-cart-secure i {
    color: var(--fe-red);
    margin-right: 0.25rem;
  }

  .fe-mobile-trust {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
    padding: 1rem 1rem 0.5rem;
    background: #fff;
    border-top: 1px solid #EEF1F5;
  }

  .fe-mobile-trust-item {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--st-muted);
  }

  .fe-mobile-trust-item i {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    display: grid;
    place-items: center;
    background: var(--fe-red-soft);
    color: var(--fe-red);
    flex-shrink: 0;
  }

  .bottom-nav a.active i {
    color: var(--fe-red);
  }
}

@media (min-width: 992px) {
  .fe-mobile-header,
  .fe-mobile-search,
  .fe-mobile-trust,
  .fe-rest-track,
  .fe-rest-list-mobile,
  .fe-mobile-promo,
  .fe-mobile-rest-search {
    display: none !important;
  }
}
