:root {
  --st-blue: #0B3A6E;
  --st-blue-deep: #072A50;
  --st-blue-soft: #E8F1FB;
  --st-accent: #D3121F;
  --st-red: #D3121F;
  --st-red-deep: #8E0C16;
  --st-red-bright: #FF3B4A;
  --st-red-grad: linear-gradient(135deg, #FF3B4A 0%, #D3121F 48%, #8E0C16 100%);
  --st-red-grad-hover: linear-gradient(135deg, #FF5562 0%, #E01826 50%, #A10E19 100%);
  --st-ink: #102033;
  --st-muted: #5B6B7C;
  --st-bg: #F3F6FA;
  --st-card: #FFFFFF;
  --st-radius: 18px;
  --st-shadow: 0 10px 30px rgba(7, 42, 80, 0.08);
  --st-font: "Manrope", sans-serif;
  --st-display: "Sora", sans-serif;
  --bottom-nav-h: 68px;
}

* { box-sizing: border-box; }

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, #145EA8, 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: #fff;
}

.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 10px 22px rgba(211, 18, 31, 0.28);
}

.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(211, 18, 31, 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: #fff;
  border-color: rgba(255, 255, 255, 0.55);
  background: transparent;
}

.shop-topbar .topbar-actions {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-shrink: 0;
}

.shop-topbar .brand-lockup {
  min-width: 0;
  flex: 1;
}

.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: calc(var(--bottom-nav-h) + 12px);
  background:
    radial-gradient(circle at top right, rgba(20, 94, 168, 0.08), transparent 40%),
    linear-gradient(180deg, #EEF3F9 0%, var(--st-bg) 28%);
}

.shop-topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: linear-gradient(90deg, var(--st-blue-deep), var(--st-blue));
  color: #fff;
  padding: 0.85rem 0;
  box-shadow: 0 4px 18px rgba(7, 42, 80, 0.18);
}

.shop-main {
  max-width: 1100px;
  margin: 0 auto;
}

.hero-panel {
  position: relative;
  min-height: 72vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: #072A50;
  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: #fff !important;
  border-radius: 16px !important;
  font-weight: 700 !important;
  padding: 0.95rem 1.1rem !important;
  box-shadow: 0 12px 26px rgba(211, 18, 31, 0.35);
}

.btn-hero-primary:hover {
  background: var(--st-red-grad-hover) !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: rgba(255, 255, 255, 0.16) !important;
  border: 1.5px solid rgba(255, 255, 255, 0.75) !important;
  color: #fff !important;
  border-radius: 16px !important;
  font-weight: 700 !important;
  padding: 0.95rem 1.1rem !important;
  backdrop-filter: blur(8px);
}

.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 #E8EEF5;
}

.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(211, 18, 31, 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(211, 18, 31, 0.15);
  box-shadow: 0 8px 16px rgba(211, 18, 31, 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: rgba(5, 14, 28, 0.82);
  backdrop-filter: blur(10px);
}

.page-home .hero-panel-mock {
  min-height: calc(100svh - 64px);
  align-items: flex-end;
  padding-top: 1.25rem;
  padding-bottom: 1.5rem;
}

@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: #D3121F; }


.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;
}

.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 .bottom-nav-home-hidden {
  display: none !important;
}

.page-home .shop-main {
  max-width: none;
}

.menu-logo {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  object-fit: cover;
}

.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: #E8EEF5;
}

.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(211, 18, 31, 0.06);
  color: var(--st-red-deep) !important;
  text-decoration: none !important;
}

.menu-link.active {
  background: rgba(211, 18, 31, 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(255, 90, 100, 0.95) 0%, rgba(211, 18, 31, 0.92) 55%, rgba(142, 12, 22, 0.95) 100%);
  border: 2px solid rgba(255, 255, 255, 0.55);
  box-shadow: 0 8px 18px rgba(142, 12, 22, 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(211, 18, 31, 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, #145EA8, #0B3A6E);
  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: 1.5rem; }
}

.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, #145EA8, 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(211, 18, 31, 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(211, 18, 31, 0.22);
}
.cats-card-visual.has-image {
  background: #E8EEF5;
  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(211, 18, 31, 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: #E8EEF5;
  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: #E7F7EE; color: #0F7A3C; }
.stock-pill.out { background: #FDECEC; color: #C62828; }

.cart-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 18px;
  height: 18px;
  border-radius: 999px;
  background: #C62828;
  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: #0F7A3C; 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(211, 18, 31, 0.05), transparent 40%),
    #fff;
}
.pdp-logo-fallback {
  width: 96px;
  height: 96px;
  object-fit: contain;
  opacity: 0.85;
}
.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(211, 18, 31, 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 #E8EEF5;
  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-pay-hint {
  margin-top: 1rem;
  display: grid;
  gap: 0.4rem;
}
.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: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(11, 58, 110, 0.18);
}
.cart-summary-logo { width: 40px; height: 40px; }
.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(211, 18, 31, 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 #E8EEF5;
}
.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: #0F7A3C;
  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: #0F7A3C;
}
.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, #145EA8, 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: #0F7A3C;
}
.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: #0F7A3C;
}
.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;
  background:
    radial-gradient(circle at 15% 10%, rgba(229, 57, 53, 0.18), transparent 32%),
    radial-gradient(circle at 85% 90%, rgba(255,255,255,0.08), transparent 35%),
    linear-gradient(155deg, #05080F 0%, #0B3A6E 48%, #072A50 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 24px 60px rgba(0, 0, 0, 0.35);
}

.auth-brand { margin-bottom: 1.15rem; }

.auth-logo {
  width: 92px;
  height: 92px;
  object-fit: cover;
  border-radius: 22px;
  display: block;
  margin: 0 auto 0.85rem;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
}

.auth-title {
  font-family: var(--st-display);
  font-size: 1.55rem;
  font-weight: 800;
  margin: 0;
  color: #102033;
  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: #102033;
  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: #D3121F;
}

/* Splash web (session) */
.web-splash {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  place-items: center;
  background: #000;
  color: #fff;
}

.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: 132px;
  height: 132px;
  border-radius: 28px;
  object-fit: cover;
  box-shadow: 0 16px 40px rgba(211, 18, 31, 0.2);
  animation: splashLogo 0.8s cubic-bezier(.2,1.2,.4,1) both;
}

.web-splash-title {
  display: block;
  margin-top: 1rem;
  font-family: var(--st-display);
  letter-spacing: 0.12em;
  font-size: 1.2rem;
}

.web-splash-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 0.7rem;
  font-size: 0.85rem;
  opacity: 0.95;
  animation: splashFade 0.5s ease 0.45s both;
}

.web-splash-line {
  width: 24px;
  height: 2px;
  background: #D3121F;
  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.6); }
  to { opacity: 1; transform: scale(1); }
}
@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: #FDECEE !important;
  border: none !important;
  color: #7A2430 !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: #0B3A6E !important;
  box-shadow: 0 0 0 0.2rem rgba(11, 58, 110, 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: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #fff !important;
  text-decoration: none !important;
  font-weight: 700;
  font-size: 0.88rem;
  backdrop-filter: blur(8px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
}

.auth-home-btn:hover,
.auth-home-btn:focus-visible {
  background: rgba(255, 255, 255, 0.24);
  color: #fff !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(211, 18, 31, 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;
}
