:root{
  --mal-bg:#f4f5f7;
  --mal-surface:#ffffff;
  --mal-card:#ffffff;
  --mal-card2:#f9fafb;
  --mal-muted:#6b7280;
  --mal-text:#1f2937;
  --mal-primary:#7B1F3A;
  --mal-primary-hover:#65182f;
  --mal-primary2:#9e3a5a;
  --mal-primary-light:#f3e8ec;
  --mal-success:#16a34a;
  --mal-warning:#d97706;
  --mal-danger:#dc2626;
  --mal-border:#e5e7eb;
  --mal-border-2:#d1d5db;
  --mal-shadow: 0 14px 40px rgba(15,23,42,.08);
  --mal-shadow-soft: 0 8px 24px rgba(15,23,42,.06);
  --mal-dash-vendor:#7B1F3A;
  --mal-dash-admin:#1e3a5f;
  --mal-dash-client:#7B1F3A;
  --mal-scrollbar-size: 8px;
  --mal-scrollbar-radius: 999px;
  --mal-scrollbar-track: #e8eaee;
  --mal-scrollbar-thumb: #c9a3b0;
  --mal-scrollbar-thumb-hover: #7B1F3A;
  --mal-scrollbar-track-dark: rgba(255,255,255,.07);
  --mal-scrollbar-thumb-dark: rgba(255,255,255,.26);
  --mal-scrollbar-thumb-dark-hover: rgba(255,255,255,.48);
}

html,body{min-height:100%;}
body{
  min-height: 100vh;
  font-family: "Inter", ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Apple Color Emoji","Segoe UI Emoji";
  background:
    radial-gradient(900px 500px at 10% 0%, rgba(123,31,58,.06), transparent 55%),
    linear-gradient(180deg, #fafafa 0%, var(--mal-bg) 140px),
    var(--mal-bg);
  color: var(--mal-text);
}

.mal-link, a{
  color: var(--mal-primary);
  text-decoration-color: rgba(123,31,58,.35);
}
a:hover{
  color: var(--mal-primary-hover);
}

.text-muted-mal{color: var(--mal-muted)!important;}

/* Anciens styles inline (thème sombre) */
[style*="234,240,255"]:not(a):not(button),
[style*="238,242,255"]:not(a):not(button){
  color: var(--mal-muted) !important;
}
a[style*="234,240,255"],
a[style*="238,242,255"]{
  color: var(--mal-primary) !important;
}
[style*="109,94,252"]{
  background: var(--mal-primary-light) !important;
  color: var(--mal-primary) !important;
  border-color: var(--mal-border) !important;
}

.mal-navbar{
  position: sticky;
  top: 0;
  z-index: 1040;
  backdrop-filter: blur(0);
  background: transparent;
  border-bottom: 1px solid transparent;
  box-shadow: none;
  transition: background .25s ease, border-color .25s ease, backdrop-filter .25s ease, box-shadow .25s ease;
}
.mal-navbar.is-scrolled,
.mal-navbar:has(.navbar-collapse.show){
  backdrop-filter: blur(12px);
  background: rgba(255,255,255,.97);
  border-bottom-color: rgba(229,231,235,.85);
}
.mal-navbar .mal-cart-trigger{
  background: #fff;
  color: var(--mal-text);
  border: 1px solid var(--mal-border);
  box-shadow: 0 2px 10px rgba(15,23,42,.06);
}
.mal-navbar .mal-cart-trigger:hover{
  background: #fff;
  color: var(--mal-primary);
  border-color: var(--mal-border-2);
  box-shadow: 0 4px 14px rgba(15,23,42,.1);
}
.mal-nav-auth-link{
  color: #374151;
  font-weight: 500;
  text-decoration: none;
  padding: 0.35rem 0.5rem;
  white-space: nowrap;
}
.mal-nav-auth-link:hover{
  color: var(--mal-primary);
}
.mal-nav-signup-btn{
  border-radius: 999px;
  padding-inline: 1rem;
  font-weight: 600;
  white-space: nowrap;
}
.mal-navbar > .mal-navbar-fluid{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  width: 100%;
}
.mal-navbar .navbar-collapse,
.mal-navbar .container,
.mal-navbar-fluid{
  overflow: visible;
}
.mal-navbar-fluid{
  max-width: min(1680px, 100%);
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(0.85rem, 2.5vw, 2.5rem);
  padding-right: clamp(0.85rem, 2.5vw, 2.5rem);
}
.mal-navbar-brand{
  display: inline-flex;
  align-items: center;
  min-width: 0;
  flex: 1 1 auto;
  max-width: calc(100% - 9.5rem);
  margin-right: 0.35rem;
  padding-top: 0.2rem;
  padding-bottom: 0.2rem;
}
@media (min-width: 992px){
  .mal-navbar-brand{
    flex: 0 1 auto;
    max-width: none;
    margin-right: 1rem;
  }
}
.mal-navbar-tools{
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
  margin-left: auto;
}
.mal-navbar-toggler{
  border: 1px solid var(--mal-border);
  padding: 0.3rem 0.5rem;
  border-radius: 10px;
  color: var(--mal-text);
  flex-shrink: 0;
}
.mal-navbar-toggler:focus{
  box-shadow: 0 0 0 3px rgba(123,31,58,.12);
}
.mal-navbar-toggler .navbar-toggler-icon{
  width: 1.15rem;
  height: 1.15rem;
}
.mal-navbar-collapse{
  flex-basis: 100%;
  flex-grow: 1;
}
@media (min-width: 992px){
  .mal-navbar-collapse{
    display: flex !important;
    flex-basis: auto;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
  }
}
.mal-nav-quick-actions{
  flex-shrink: 0;
}
.mal-nav-quick-actions--mobile .mal-cart-trigger,
.mal-nav-quick-actions--mobile .mal-wishlist-nav-link,
.mal-nav-quick-actions--mobile .mal-notif-trigger{
  width: 2.35rem;
  height: 2.35rem;
  font-size: 1rem;
}

.navbar .nav-link{
  color: #374151 !important;
  font-weight: 500;
}
.navbar .nav-link:hover,
.navbar .nav-link.fw-semibold{
  color: var(--mal-primary) !important;
}
.mal-nav-link--active{
  color: var(--mal-primary) !important;
  font-weight: 600 !important;
  position: relative;
}
.mal-nav-link--active::after{
  content: '';
  position: absolute;
  left: 0.5rem;
  right: 0.5rem;
  bottom: 0.15rem;
  height: 2px;
  background: var(--mal-primary);
  border-radius: 2px;
}
@media (min-width: 992px){
  .mal-navbar-center{
    gap: 0.25rem;
    flex: 1 1 auto;
    justify-content: center;
    margin-left: auto !important;
    margin-right: auto !important;
  }
}
.mal-navbar .navbar-brand{
  color: var(--mal-text) !important;
}
.mal-brand-logo{
  display: block;
  height: 84px;
  width: auto;
  max-width: min(320px, 62vw);
  object-fit: contain;
  border: none;
  outline: none;
  box-shadow: none;
  background: transparent;
}
.mal-brand-logo--dash{
  height: 40px;
  max-width: 180px;
}
.mal-brand-logo--footer{
  height: 68px;
  max-width: 220px;
}
.mal-footer-brand-link{
  text-decoration: none;
}
.mal-navbar-brand{
  padding-top: 0;
  padding-bottom: 0;
}
.mal-navbar-tools{
  flex-shrink: 0;
}
.mal-navbar-end{
  width: 100%;
}
@media (min-width: 992px){
  .mal-navbar-end{
    width: auto;
    margin-left: auto;
  }
}

.container.mal-container{
  max-width: min(1400px, 100%);
  width: 100%;
  padding-left: clamp(0.85rem, 2.5vw, 1.5rem);
  padding-right: clamp(0.85rem, 2.5vw, 1.5rem);
}
.mal-pill{
  display:inline-flex; align-items:center; gap:.5rem;
  padding:.35rem .6rem; border-radius:999px;
  background: var(--mal-primary-light);
  border: 1px solid rgba(123,31,58,.12);
  color: var(--mal-primary);
  font-size: .85rem;
  font-weight: 500;
}

.mal-card{
  background: var(--mal-card);
  border: 1px solid var(--mal-border);
  border-radius: 18px;
  box-shadow: var(--mal-shadow-soft);
}

.mal-card .card-body{padding: 1.1rem;}
.mal-card.hover:hover{
  transform: translateY(-2px);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
  border-color: var(--mal-border-2);
  box-shadow: var(--mal-shadow);
}
.mal-card.hover{
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.btn-malp{
  --bs-btn-bg: var(--mal-primary);
  --bs-btn-border-color: var(--mal-primary);
  --bs-btn-hover-bg: var(--mal-primary-hover);
  --bs-btn-hover-border-color: var(--mal-primary-hover);
  --bs-btn-color:#fff;
  --bs-btn-hover-color:#fff;
  box-shadow: 0 8px 20px rgba(123,31,58,.22);
}
.btn-ghost{
  --bs-btn-bg: transparent;
  --bs-btn-border-color: var(--mal-primary);
  --bs-btn-color: var(--mal-primary);
  --bs-btn-hover-bg: var(--mal-primary-light);
  --bs-btn-hover-border-color: var(--mal-primary-hover);
  --bs-btn-hover-color: var(--mal-primary-hover);
}
.dash-sidebar .btn-ghost{
  --bs-btn-border-color: rgba(255,255,255,.35);
  --bs-btn-color: #fff;
  --bs-btn-hover-bg: rgba(255,255,255,.12);
  --bs-btn-hover-border-color: rgba(255,255,255,.5);
  --bs-btn-hover-color: #fff;
}
.btn, .btn-malp, .btn-ghost{
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease, border-color .15s ease;
}
.btn:active{
  transform: translateY(1px);
}

.form-control, .form-select, select{
  background-color: #fff;
  border:1px solid var(--mal-border-2);
  color: var(--mal-text);
  color-scheme: light;
}
.form-control:focus, .form-select:focus, select:focus{
  border-color: var(--mal-primary);
  box-shadow: 0 0 0 .22rem rgba(123,31,58,.15);
  background-color: #fff;
  color: var(--mal-text);
}
.form-select option,
.form-select optgroup,
select option,
select optgroup{
  background-color: #fff;
  color: var(--mal-text);
}
.form-select option:checked,
select option:checked{
  background-color: var(--mal-primary);
  color: #ffffff;
}
.form-select option:disabled,
select option:disabled{
  color: var(--mal-muted);
}
.form-control::placeholder{color: #9ca3af;}
.form-label{color: #374151; font-weight: 500;}
.alert{border-radius: 14px;}

.mal-hero{
  padding: 56px 0 26px 0;
}
.mal-hero h1{
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.02;
}
.mal-hero .lead{color: var(--mal-muted);}

/* Accueil — bannière hero (maquette) */
.mal-home-hero{
  background: #F9F7F2;
  padding: 3rem 0 3.5rem;
  border-bottom: 1px solid rgba(99,16,16,.06);
}
@media (min-width: 992px){
  .mal-home-hero{
    padding: 4rem 0 4.5rem;
  }
}
.mal-home-hero-kicker{
  margin: 0 0 0.75rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mal-primary);
}
.mal-home-hero-title{
  margin: 0 0 1.25rem;
  font-size: clamp(2rem, 4.5vw, 3.15rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: #111827;
}
.mal-home-hero-accent{
  color: #631010;
}
.mal-home-hero-lead{
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
  font-weight: 500;
  color: #374151;
}
.mal-home-hero-sub{
  margin: 0 0 2rem;
  font-size: 1.05rem;
  color: #4b5563;
}
.mal-home-hero-actions{
  margin-top: 0.25rem;
}
.mal-home-hero-btn{
  padding: 0.75rem 1.65rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  --bs-btn-bg: #631010;
  --bs-btn-border-color: #631010;
  --bs-btn-hover-bg: #4f0c0c;
  --bs-btn-hover-border-color: #4f0c0c;
  box-shadow: 0 10px 28px rgba(99,16,16,.22);
}
.mal-home-hero-btn-outline{
  padding: 0.75rem 1.65rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  color: #1f2937;
  background: #fff;
  border: 1px solid #d1d5db;
  text-decoration: none;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.mal-home-hero-btn-outline:hover{
  color: #631010;
  background: #fff;
  border-color: #9ca3af;
}
.mal-home-hero-visual{
  position: relative;
  max-width: 520px;
  margin-inline: auto;
  aspect-ratio: 1 / 1;
  border-radius: 58% 42% 52% 48% / 52% 48% 54% 46%;
  overflow: hidden;
  box-shadow: 0 24px 50px rgba(15,23,42,.12);
}
.mal-home-hero-visual img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  display: block;
}
.mal-section-first{
  margin-top: 2rem;
}

/* Accueil — Nos métiers */
.mal-home-metiers{
  position: relative;
  background: #fdfaf7;
  padding: 2.25rem 0 3rem;
  overflow: hidden;
}
.mal-home-metiers-curve{
  position: absolute;
  top: 0;
  right: 0;
  width: min(42vw, 280px);
  height: 72px;
  background: #F9F7F2;
  border-bottom-left-radius: 100% 80%;
  pointer-events: none;
}
.mal-home-metiers-title{
  margin: 0 0 1.5rem;
  font-size: clamp(1.65rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #111827;
}
.mal-home-metiers-grid{
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
}
@media (max-width: 1199.98px){
  .mal-home-metiers-grid{
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 767.98px){
  .mal-home-metiers-grid{
    display: flex;
    gap: 0.85rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 0.35rem;
    -webkit-overflow-scrolling: touch;
  }
  .mal-metier-card{
    flex: 0 0 min(72vw, 200px);
    scroll-snap-align: start;
  }
}
.mal-metier-card{
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  text-decoration: none;
  background: #fff;
  border: 1px solid rgba(15,23,42,.06);
  border-radius: 14px;
  padding: 1.35rem 1rem 1.25rem;
  box-shadow: 0 4px 18px rgba(15,23,42,.05);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  color: inherit;
}
.mal-metier-card:hover{
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(15,23,42,.1);
  border-color: rgba(99,16,16,.12);
  color: inherit;
}
.mal-metier-card.is-active{
  border-color: #631010;
  box-shadow: 0 0 0 3px rgba(99,16,16,.12);
}
.mal-home-metiers--boutique{
  padding-top: 2.5rem;
  background: #faf9f7;
}
.mal-home-metiers--boutique .mal-home-metiers-curve{
  display: none;
}
.mal-home-metiers--boutique .mal-home-metiers-title{
  font-size: clamp(1.25rem, 4vw, 2rem);
  margin-bottom: 0;
  color: #111827;
  line-height: 1.2;
}
.mal-metier-card--pill{
  background: #faf5f6;
  border: none;
  border-radius: 16px;
  padding: 1.35rem 0.85rem 1.15rem;
  box-shadow: none;
  min-height: 118px;
  justify-content: center;
}
.mal-metier-card--pill:hover{
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(123,31,58,.08);
  background: #fff;
  color: inherit;
}
.mal-metier-card--pill.is-active{
  background: #fff;
  box-shadow: 0 0 0 2px var(--mal-primary);
  border: none;
}
.mal-metier-card-icon-wrap{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: auto;
  margin-bottom: 0.7rem;
  color: var(--mal-primary);
  font-size: 1.85rem;
  line-height: 1;
}
.mal-metier-card-icon-wrap i{
  display: block;
  font-size: 1.85rem;
  line-height: 1;
  font-style: normal;
}
.mal-metier-card-icon-wrap i:before{
  color: var(--mal-primary);
}
.mal-metier-card--pill .mal-metier-card-title{
  color: var(--mal-primary);
  font-size: 0.92rem;
  font-weight: 600;
  margin-bottom: 0;
}
.mal-metier-card--pill .mal-metier-card-desc{
  display: none;
}
.mal-home-metiers-grid--pill{
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (min-width: 576px){
  .mal-home-metiers-grid--pill{
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (min-width: 768px){
  .mal-home-metiers-grid--pill{
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
@media (min-width: 992px){
  .mal-home-metiers-grid--pill{
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}
@media (min-width: 1200px){
  .mal-home-metiers-grid--pill{
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}
.mal-home-metiers-grid--pill-compact{
  gap: 0.65rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
@media (min-width: 480px){
  .mal-home-metiers-grid--pill-compact{
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
@media (min-width: 768px){
  .mal-home-metiers-grid--pill-compact{
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}
@media (min-width: 992px){
  .mal-home-metiers-grid--pill-compact{
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}
@media (min-width: 1200px){
  .mal-home-metiers-grid--pill-compact{
    grid-template-columns: repeat(8, minmax(0, 1fr));
  }
}
.mal-home-metiers--boutique .mal-metier-card--pill{
  min-height: 92px;
  padding: 0.85rem 0.45rem 0.75rem;
  border-radius: 14px;
}
.mal-home-metiers--boutique .mal-metier-card-icon-wrap{
  margin-bottom: 0.45rem;
  font-size: 1.45rem;
}
.mal-home-metiers--boutique .mal-metier-card-icon-wrap i{
  font-size: 1.45rem;
}
.mal-home-metiers--boutique .mal-metier-card--pill .mal-metier-card-title{
  font-size: 0.8rem;
  line-height: 1.25;
}
@media (max-width: 767.98px){
  .mal-home-metiers-grid--pill-compact{
    display: grid;
    overflow-x: visible;
    scroll-snap-type: none;
    padding-bottom: 0;
  }
  .mal-home-metiers-grid--pill-compact .mal-metier-card{
    flex: none;
    width: auto;
    scroll-snap-align: unset;
  }
}
.mal-metier-card-icon{
  display: block;
  width: 56px;
  height: 56px;
  margin-bottom: 0.85rem;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}
.mal-metier-card-icon--steak{
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cellipse cx='32' cy='36' rx='26' ry='18' fill='%23dc2626'/%3E%3Cpath d='M18 28c8-10 20-10 28 0' fill='%23fca5a5'/%3E%3Ccircle cx='22' cy='32' r='3' fill='%23fff' opacity='.35'/%3E%3Cpath d='M44 22v14' stroke='%23f5f5f4' stroke-width='4' stroke-linecap='round'/%3E%3C/svg%3E");
}
.mal-metier-card-icon--fish{
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cellipse cx='30' cy='32' rx='22' ry='12' fill='%232563eb'/%3E%3Cpath d='M52 32l10-8v16z' fill='%231d4ed8'/%3E%3Ccircle cx='22' cy='30' r='2.5' fill='%23fff'/%3E%3Cpath d='M14 28c4 4 8 6 12 6' stroke='%2393c5fd' stroke-width='2' fill='none'/%3E%3C/svg%3E");
}
.mal-metier-card-icon--cloche{
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cpath d='M12 38h40l-4-14H16z' fill='%2392400e'/%3E%3Crect x='28' y='38' width='8' height='8' rx='1' fill='%2378350f'/%3E%3Cpath d='M20 24c6-8 18-8 24 0' fill='%23d97706'/%3E%3Ccircle cx='32' cy='20' r='3' fill='%23fbbf24'/%3E%3C/svg%3E");
}
.mal-metier-card-icon--sausage{
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cpath d='M14 40c10-16 26-16 36 0' fill='none' stroke='%2392400e' stroke-width='10' stroke-linecap='round'/%3E%3Cpath d='M14 40c10-16 26-16 36 0' fill='none' stroke='%23d97706' stroke-width='6' stroke-linecap='round'/%3E%3Ccircle cx='20' cy='36' r='2' fill='%23fff' opacity='.5'/%3E%3Ccircle cx='32' cy='30' r='2' fill='%23fff' opacity='.5'/%3E%3C/svg%3E");
}
.mal-metier-card-icon--cheese{
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cpath d='M12 48L32 14l20 34z' fill='%23facc15'/%3E%3Ccircle cx='26' cy='38' r='4' fill='%23fde68a'/%3E%3Ccircle cx='38' cy='34' r='3' fill='%23fde68a'/%3E%3Ccircle cx='34' cy='42' r='2.5' fill='%23fde68a'/%3E%3C/svg%3E");
}
.mal-metier-card-icon--bread{
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cellipse cx='32' cy='34' rx='22' ry='14' fill='%23d97706'/%3E%3Cpath d='M16 30c6-6 26-6 32 0' fill='%23fbbf24'/%3E%3C/svg%3E");
}
.mal-metier-card-icon--flower{
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Ccircle cx='32' cy='32' r='8' fill='%23fbbf24'/%3E%3Ccircle cx='32' cy='18' r='7' fill='%23ec4899'/%3E%3Ccircle cx='44' cy='26' r='7' fill='%23ec4899'/%3E%3Ccircle cx='44' cy='38' r='7' fill='%23ec4899'/%3E%3Ccircle cx='32' cy='46' r='7' fill='%23ec4899'/%3E%3Ccircle cx='20' cy='38' r='7' fill='%23ec4899'/%3E%3Ccircle cx='20' cy='26' r='7' fill='%23ec4899'/%3E%3C/svg%3E");
}
.mal-metier-card-icon--produce{
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Ccircle cx='28' cy='36' r='14' fill='%2322c55e'/%3E%3Ccircle cx='40' cy='28' r='10' fill='%23ef4444'/%3E%3Cpath d='M28 22c0-6 4-10 8-10' stroke='%2316a34a' stroke-width='3' fill='none'/%3E%3C/svg%3E");
}
.mal-metier-card-icon--shop{
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cpath d='M10 26l6-12h32l6 12v28H10z' fill='%237B1F3A'/%3E%3Crect x='16' y='34' width='32' height='20' fill='%23fff' opacity='.25'/%3E%3C/svg%3E");
}
.mal-metier-card-icon--epicerie{
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Crect x='18' y='22' width='28' height='32' rx='4' fill='%2392400e'/%3E%3Cpath d='M18 30h28' stroke='%23d97706' stroke-width='3'/%3E%3Ccircle cx='28' cy='40' r='4' fill='%23fbbf24'/%3E%3Ccircle cx='38' cy='38' r='3' fill='%2386efac'/%3E%3C/svg%3E");
}
.mal-metier-card-icon--wine{
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cpath d='M26 12h12l-2 18c0 8-4 14-10 16-6-2-10-8-10-16z' fill='%237B1F3A'/%3E%3Cpath d='M22 46h20v6H22z' fill='%2392400e'/%3E%3Cellipse cx='32' cy='28' rx='6' ry='4' fill='%23fca5a5' opacity='.5'/%3E%3C/svg%3E");
}
.mal-metier-card-title{
  display: block;
  font-size: 1rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 0.35rem;
  line-height: 1.25;
}
.mal-metier-card-desc{
  display: block;
  font-size: 0.78rem;
  line-height: 1.4;
  color: #6b7280;
}

.mal-home-stats{
  background: #631010;
  color: #fff;
  padding: 1.35rem 0;
}
.mal-home-stats-grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 1.5rem;
}
@media (min-width: 768px){
  .mal-home-stats-grid{
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
.mal-home-stat{
  text-align: center;
}
.mal-home-stat-value{
  display: block;
  font-size: clamp(1.65rem, 3vw, 2.15rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.mal-home-stat-label{
  display: block;
  margin-top: 0.25rem;
  font-size: 0.82rem;
  color: rgba(255,255,255,.82);
  line-height: 1.35;
}
.mal-home-section-head{
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  margin-bottom: 1.25rem;
}
@media (max-width: 575.98px){
  .mal-home-section-head{
    flex-direction: column;
    align-items: stretch;
  }
  .mal-home-section-link{
    margin-top: 0;
    align-self: flex-start;
  }
}
.mal-home-section-lead{
  margin: 0;
  font-size: clamp(0.88rem, 2.5vw, 0.95rem);
  color: #6b7280;
  max-width: 42rem;
}
.mal-home-section-link{
  flex-shrink: 0;
  margin-top: 0.35rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--mal-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.mal-home-section-link:hover{
  color: var(--mal-primary-hover);
}
.mal-home-how{
  background: #fff;
  padding: 2.75rem 0 3rem;
}
.mal-home-featured{
  background: #fff;
  padding: 2.5rem 0;
}
.mal-home-values{
  background: #fdfaf7;
  padding: 2.75rem 0 3rem;
}
.mal-home-categories{
  background: #fff;
  padding: 2.75rem 0 3rem;
}
.mal-home-categories-grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}
@media (min-width: 768px){
  .mal-home-categories-grid{
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (min-width: 1200px){
  .mal-home-categories-grid{
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}
.mal-home-category-card{
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  text-decoration: none;
  color: inherit;
  background: #fdfaf7;
  border: 1px solid rgba(15,23,42,.06);
  border-radius: 14px;
  padding: 1.15rem 0.75rem 1rem;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.mal-home-category-card:hover{
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(15,23,42,.08);
  border-color: rgba(99,16,16,.12);
  color: inherit;
}
.mal-home-category-card .mal-metier-card-icon{
  width: 48px;
  height: 48px;
  margin-bottom: 0.65rem;
}
.mal-home-category-card-title{
  display: block;
  font-size: 0.92rem;
  font-weight: 700;
  color: #111827;
  line-height: 1.25;
  margin-bottom: 0.25rem;
}
.mal-home-category-card-count{
  display: block;
  font-size: 0.75rem;
  color: #631010;
  font-weight: 600;
}
.mal-home-vendor-cta{
  padding: 0 0 2.75rem;
}
.mal-home-vendor-cta-card{
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: center;
  padding: 2rem 1.75rem;
  border-radius: 18px;
  background: linear-gradient(135deg, #f9f7f2 0%, #fdfaf7 55%, #fff 100%);
  border: 1px solid rgba(99,16,16,.1);
  box-shadow: 0 12px 32px rgba(15,23,42,.06);
}
@media (min-width: 992px){
  .mal-home-vendor-cta-card{
    grid-template-columns: 1fr auto;
    padding: 2.25rem 2.5rem;
  }
}
.mal-home-vendor-cta-kicker{
  margin: 0 0 0.5rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #631010;
}
.mal-home-vendor-cta-title{
  margin: 0 0 0.65rem;
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 800;
  color: #111827;
}
.mal-home-vendor-cta-text{
  margin: 0 0 1rem;
  color: #4b5563;
  max-width: 38rem;
  line-height: 1.55;
}
.mal-home-vendor-cta-list{
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}
.mal-home-vendor-cta-list li{
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.92rem;
  color: #374151;
}
.mal-home-vendor-cta-list .bi{
  color: #631010;
  margin-top: 0.15rem;
  flex-shrink: 0;
}
.mal-home-vendor-cta-actions{
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.mal-home-faq{
  background: #fdfaf7;
  padding: 2.75rem 0 3rem;
}
.mal-home-faq-list{
  display: grid;
  gap: 0.65rem;
  max-width: 760px;
}
.mal-home-faq-item{
  background: #fff;
  border: 1px solid var(--mal-border);
  border-radius: 12px;
  padding: 0.85rem 1rem;
  box-shadow: 0 4px 16px rgba(15,23,42,.04);
}
.mal-home-faq-question{
  cursor: pointer;
  font-weight: 700;
  color: #111827;
  list-style: none;
}
.mal-home-faq-question::-webkit-details-marker{
  display: none;
}
.mal-home-faq-question::after{
  content: '+';
  float: right;
  font-weight: 400;
  color: #631010;
}
.mal-home-faq-item[open] .mal-home-faq-question::after{
  content: '−';
}
.mal-home-faq-answer{
  margin-top: 0.65rem;
  padding-top: 0.65rem;
  border-top: 1px solid var(--mal-border);
  color: var(--mal-muted);
  font-size: 0.92rem;
  line-height: 1.55;
}
.mal-home-final-cta{
  padding-top: 0;
}
.mal-home-cta-outline-light{
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.45);
  color: #fff;
}
.mal-home-cta-outline-light:hover{
  background: rgba(255,255,255,.2);
  border-color: #fff;
  color: #fff;
}

/* Accueil — hero maquette (header + bannière) */
.mal-home{
  background: #faf9f7;
}
.mal-home-top{
  padding: 1rem 0 0.5rem;
}
@media (min-width: 992px){
  .mal-home-top{
    padding: 1.25rem 0 0.75rem;
  }
}
.mal-home-hero-shell{
  position: relative;
  overflow: hidden;
  min-height: min(78vh, 640px);
  padding: clamp(2.5rem, 6vw, 4.5rem) clamp(1rem, 4vw, 2.5rem) clamp(2rem, 5vw, 3.5rem);
  border-radius: 28px;
  background: #f9f7f5;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 18px 48px rgba(15,23,42,.06);
}
.mal-home-hero-bg{
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(249,247,245,.88) 0%, rgba(249,247,245,.94) 100%),
    url('../images/home-hero-boucher.jpg') center center / cover no-repeat;
  pointer-events: none;
}
.mal-home-hero-content{
  position: relative;
  z-index: 2;
  width: min(100%, 760px);
  margin: 0 auto;
  text-align: center;
  padding-inline: clamp(0.25rem, 2vw, 0.5rem);
}
.mal-home-hero-badge{
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  margin: 0 0 1.25rem;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  background: #fff;
  color: var(--mal-primary);
  font-size: 0.82rem;
  font-weight: 600;
  box-shadow: 0 2px 10px rgba(15,23,42,.05);
}
.mal-home-hero-shell-title{
  margin: 0 0 1rem;
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 5.2vw, 3.35rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--mal-primary);
}
.mal-home-hero-shell-lead{
  margin: 0 auto 1.75rem;
  max-width: 34rem;
  font-size: clamp(0.95rem, 2.2vw, 1.05rem);
  line-height: 1.65;
  color: #6b7280;
}
.mal-home-hero-search-pill{
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
  align-items: center;
  gap: 0;
  width: min(100%, 720px);
  margin: 0 auto;
  padding: 0.35rem;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 10px 36px rgba(15,23,42,.08);
  overflow: hidden;
}
.mal-home-hero-search-pill-field{
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-width: 0;
  margin: 0;
  padding: 0.7rem 1rem;
  border-right: 1px solid var(--mal-border);
}
.mal-home-hero-search-pill-field:last-of-type{
  border-right: 0;
}
.mal-home-hero-search-pill-field .bi{
  color: var(--mal-primary);
  flex-shrink: 0;
  font-size: 1rem;
}
.mal-home-hero-search-pill-field input{
  flex: 1;
  min-width: 0;
  width: 100%;
  border: 0;
  background: transparent;
  font-size: 16px;
  outline: none;
  color: var(--mal-text);
}
.mal-home-hero-search-pill-field input::placeholder{
  color: #9ca3af;
}
.mal-home-hero-search-pill-btn{
  align-self: stretch;
  margin: 0.15rem;
  padding: 0.78rem 1.25rem;
  border-radius: 999px;
  font-weight: 600;
  white-space: nowrap;
}
@media (max-width: 991.98px){
  .mal-home-hero-search-pill{
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    border-radius: 20px;
    padding: 0.5rem;
  }
  .mal-home-hero-search-pill-field{
    padding: 0.65rem 0.75rem;
  }
  .mal-home-hero-search-pill-field:first-of-type{
    border-right: 1px solid var(--mal-border);
    border-bottom: 0;
  }
  .mal-home-hero-search-pill-field:last-of-type{
    border-right: 0;
    border-bottom: 0;
  }
  .mal-home-hero-search-pill-btn{
    grid-column: 1 / -1;
    width: calc(100% - 0.3rem);
    margin: 0.35rem 0.15rem 0.15rem;
    justify-self: center;
  }
}
@media (max-width: 575.98px){
  .mal-home-hero-search-pill{
    grid-template-columns: minmax(0, 1fr);
    padding: 0.65rem;
  }
  .mal-home-hero-search-pill-field{
    border-right: 0 !important;
    border-bottom: 1px solid var(--mal-border);
    padding: 0.65rem 0.5rem;
  }
  .mal-home-hero-search-pill-field:last-of-type{
    border-bottom: 0;
  }
  .mal-home-hero-search-pill-btn{
    width: 100%;
    margin: 0.5rem 0 0;
  }
}
.mal-home-hero-float{
  position: absolute;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(15,23,42,.14);
}
.mal-home-hero-float img{
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.mal-home-hero-float--meat{
  top: 4%;
  right: 2%;
  width: min(225px, 26vw);
  aspect-ratio: 4 / 3;
  border-radius: 18px;
  transform: rotate(8deg);
}
.mal-home-hero-float--bread{
  bottom: 10%;
  left: -4%;
  top: 70%;
  width: min(240px, 22vw);
  aspect-ratio: 1 / 1;
  border-radius: 50% 50% 0 50%;
  transform: rotate(-4deg);
}
.mal-home-hero-float--bread img{
  object-position: center 45%;
}
@media (max-width: 767.98px){
  .mal-home-hero-shell{
    min-height: auto;
    border-radius: 22px;
    padding-top: 2rem;
    padding-bottom: 1.75rem;
  }
  .mal-home-hero-float{
    display: none;
  }
}

/* Accueil — hero + recherche intégrée (legacy) */
.mal-page-hero--home{
  padding: 1.75rem 0 2rem;
}
@media (min-width: 768px){
  .mal-page-hero--home{
    padding: 2.5rem 0 2.5rem;
  }
}
@media (min-width: 992px){
  .mal-page-hero--home{
    padding: 2.75rem 0 2.5rem;
  }
}
.mal-page-hero--home .mal-page-hero-title{
  font-size: clamp(1.45rem, 5vw, 2.5rem);
}
.mal-page-hero--home .mal-page-hero-lead{
  font-size: clamp(0.95rem, 2.5vw, 1.05rem);
  margin-bottom: 1.25rem;
}
.mal-page-hero-visual--home{
  border-radius: 16px;
  box-shadow: 0 24px 50px rgba(123,31,58,.12);
  max-height: min(52vw, 320px);
}
@media (min-width: 992px){
  .mal-page-hero-visual--home{
    border-radius: 20px;
    max-height: none;
  }
}
.mal-home-hero-search{
  margin-bottom: 1rem;
  padding: 0.9rem;
  background: #fff;
  border: 1px solid var(--mal-border);
  border-radius: 16px;
  box-shadow: var(--mal-shadow-soft);
}
@media (min-width: 768px){
  .mal-home-hero-search{
    padding: 1.1rem;
    margin-bottom: 1.25rem;
  }
}
.mal-home-hero-search-grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem;
}
@media (min-width: 576px){
  .mal-home-hero-search-grid{
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
  }
  .mal-home-hero-search-btn{
    grid-column: 1 / -1;
  }
}
@media (min-width: 992px){
  .mal-home-hero-search-grid{
    grid-template-columns: 1fr 1fr auto;
    align-items: end;
  }
  .mal-home-hero-search-btn{
    grid-column: auto;
  }
}
.mal-home-hero-search-field{
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin: 0;
  min-width: 0;
}
.mal-home-hero-search-label{
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--mal-muted);
  letter-spacing: 0.02em;
}
.mal-home-hero-search-input-wrap{
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.6rem 0.85rem;
  background: #f9fafb;
  border: 1px solid var(--mal-border);
  border-radius: 12px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.mal-home-hero-search-input-wrap:focus-within{
  border-color: var(--mal-primary);
  box-shadow: 0 0 0 3px rgba(123,31,58,.1);
  background: #fff;
}
.mal-home-hero-search-input-wrap .bi{
  color: var(--mal-primary);
  flex-shrink: 0;
}
.mal-home-hero-search-input-wrap input{
  flex: 1;
  min-width: 0;
  width: 100%;
  border: 0;
  background: transparent;
  font-size: 16px;
  outline: none;
}
@media (min-width: 768px){
  .mal-home-hero-search-input-wrap input{
    font-size: 0.95rem;
  }
}
.mal-home-hero-search-btn{
  border-radius: 12px;
  padding: 0.72rem 1.25rem;
  font-weight: 600;
  white-space: nowrap;
  width: 100%;
}
@media (min-width: 992px){
  .mal-home-hero-search-btn{
    width: auto;
  }
}
.mal-home-hero-actions{
  margin-top: 0.25rem;
}
.mal-home-hero-actions .mal-home-hero-btn{
  text-align: center;
  white-space: normal;
  line-height: 1.35;
}
.mal-home-metiers--home{
  padding: 1.75rem 0 2rem;
  overflow: visible;
}
.mal-home-metiers--home .mal-container{
  position: relative;
  z-index: 1;
}
.mal-home-metiers--home .mal-home-metiers-curve{
  display: none;
}
@media (min-width: 768px){
  .mal-home-metiers--home{
    padding-top: 2rem;
  }
}
.mal-home-metiers--home .mal-home-metiers-title{
  font-size: clamp(1.25rem, 4vw, 2rem);
  margin-bottom: 0;
  color: #111827;
  line-height: 1.2;
}
.mal-home-metiers-sub{
  font-size: 0.95rem;
  color: #6b7280;
  max-width: 36rem;
  line-height: 1.5;
}
.mal-category-carousel-intro{
  min-width: 0;
}
.mal-category-carousel-all--pill{
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--mal-primary);
  border-radius: 999px;
  padding: 0.45rem 1rem;
  text-decoration: none;
}
.mal-category-carousel-all--pill:hover{
  text-decoration: none;
  background: var(--mal-primary-light);
  color: var(--mal-primary);
}
.mal-category-carousel-head{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  margin-bottom: 1.25rem;
  position: relative;
  z-index: 2;
}
.mal-category-carousel-all{
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--mal-primary);
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
}
.mal-category-carousel-all:hover{
  text-decoration: underline;
  color: var(--mal-primary);
}
@media (max-width: 479.98px){
  .mal-category-carousel-head{
    flex-direction: column;
    align-items: flex-start;
  }
}
.mal-category-carousel{
  position: relative;
  padding-inline: 0.15rem;
}
.mal-category-carousel-viewport{
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 0.25rem 2.85rem 0.65rem;
}
.mal-category-carousel-viewport::-webkit-scrollbar{
  display: none;
}
.mal-category-carousel-viewport:focus{
  outline: none;
}
.mal-category-carousel-viewport:focus-visible{
  box-shadow: 0 0 0 3px rgba(123,31,58,.2);
  border-radius: 14px;
}
.mal-category-carousel-track{
  display: flex;
  gap: 1rem;
}
.mal-category-carousel-card{
  flex: 0 0 calc((100% - 1rem) / 2);
  min-width: 0;
  scroll-snap-align: start;
}
@media (min-width: 576px){
  .mal-category-carousel-card{
    flex-basis: calc((100% - 2rem) / 3);
  }
}
@media (min-width: 992px){
  .mal-category-carousel-card{
    flex-basis: calc((100% - 4rem) / 5);
  }
}
.mal-home-metiers--home .mal-category-carousel-card{
  flex-basis: calc((100% - 1rem) / 2);
}
@media (min-width: 576px){
  .mal-home-metiers--home .mal-category-carousel-card{
    flex-basis: calc((100% - 2rem) / 3);
  }
}
@media (min-width: 768px){
  .mal-home-metiers--home .mal-category-carousel-card{
    flex-basis: calc((100% - 3rem) / 4);
  }
}
@media (min-width: 992px){
  .mal-home-metiers--home .mal-category-carousel-card{
    flex-basis: calc((100% - 5rem) / 6);
  }
}
.mal-category-carousel-card .mal-metier-card-desc{
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: #4b5563;
}
.mal-category-carousel-card .mal-metier-card-title{
  color: #0f172a;
}
.mal-category-carousel-btn{
  position: absolute;
  top: 50%;
  z-index: 4;
  transform: translateY(-50%);
  width: 2.35rem;
  height: 2.35rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--mal-border);
  border-radius: 50%;
  background: #fff;
  color: #111827;
  box-shadow: 0 6px 20px rgba(15,23,42,.12);
  transition: opacity .18s ease, transform .18s ease, background-color .18s ease;
}
.mal-category-carousel-btn:hover:not(:disabled){
  background: var(--mal-primary-light);
  color: var(--mal-primary);
}
.mal-category-carousel-btn:disabled{
  opacity: 0;
  pointer-events: none;
}
.mal-category-carousel-btn--prev{
  left: 0;
}
.mal-category-carousel-btn--next{
  right: 0;
}
.mal-category-carousel::before,
.mal-category-carousel::after{
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 2.85rem;
  z-index: 3;
  pointer-events: none;
  transition: opacity .18s ease;
}
.mal-category-carousel::before{
  left: 0;
  background: linear-gradient(90deg, #fdfaf7 40%, rgba(253,250,247,0));
}
.mal-category-carousel::after{
  right: 0;
  background: linear-gradient(270deg, #fdfaf7 40%, rgba(253,250,247,0));
}
.mal-category-carousel.is-at-start::before,
.mal-category-carousel.is-at-end::after{
  opacity: 0;
}
.mal-home-metiers-grid--home{
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}
@media (min-width: 576px){
  .mal-home-metiers-grid--home{
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
  }
}
@media (max-width: 767.98px){
  .mal-home-metiers-grid--home{
    display: flex;
    gap: 0.75rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 0.35rem;
    margin-inline: calc(-1 * clamp(0.85rem, 2.5vw, 1.5rem));
    padding-inline: clamp(0.85rem, 2.5vw, 1.5rem);
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .mal-home-metiers-grid--home::-webkit-scrollbar{
    display: none;
  }
  .mal-home-metiers-grid--home .mal-metier-card{
    flex: 0 0 min(70vw, 168px);
    scroll-snap-align: start;
    padding: 1.1rem 0.75rem 1rem;
  }
  .mal-home-metiers-grid--home .mal-metier-card-icon{
    width: 48px;
    height: 48px;
    margin-bottom: 0.65rem;
  }
  .mal-home-metiers-grid--home .mal-metier-card-title{
    font-size: 0.88rem;
  }
  .mal-home-metiers-grid--home .mal-metier-card-desc{
    font-size: 0.72rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
}

/* Accueil — producteurs & saison */
.mal-home-producers{
  background: #fff;
  padding: 2rem 0 2.5rem;
}
@media (min-width: 768px){
  .mal-home-producers{
    padding: 2.5rem 0 2.75rem;
  }
}
.mal-home-producers-grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 576px){
  .mal-home-producers-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
  }
}
@media (min-width: 992px){
  .mal-home-producers-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1200px){
  .mal-home-producers-grid{
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
.mal-producer-portrait{
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
  background: #fff;
  border: 1px solid rgba(15,23,42,.07);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 22px rgba(15,23,42,.06);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.mal-producer-portrait:hover{
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(15,23,42,.1);
  border-color: rgba(123,31,58,.15);
  color: inherit;
}
.mal-producer-portrait-media{
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--mal-primary-light);
  overflow: hidden;
}
.mal-producer-portrait-media img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.mal-producer-portrait-ph{
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: var(--mal-primary);
  opacity: .45;
}
.mal-producer-portrait-body{
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1rem 1rem 1.1rem;
}
.mal-producer-portrait-metier{
  margin: 0 0 0.25rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--mal-primary);
}
.mal-producer-portrait-name{
  margin: 0 0 0.2rem;
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.2;
  color: #111827;
}
.mal-producer-portrait-city{
  margin: 0 0 0.5rem;
  font-size: 0.82rem;
  color: #6b7280;
}
.mal-producer-portrait-story{
  margin: 0 0 0.65rem;
  font-size: 0.82rem;
  line-height: 1.45;
  color: #4b5563;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}
.mal-producer-portrait-rating{
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: #92400e;
  margin-bottom: 0.5rem;
}
.mal-producer-portrait-rating .bi{
  color: #f59e0b;
}
.mal-producer-portrait-cta{
  margin-top: auto;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--mal-primary);
}
.mal-producer-portrait-cta .bi{
  font-size: 0.8rem;
  transition: transform .15s ease;
}
.mal-producer-portrait:hover .mal-producer-portrait-cta .bi{
  transform: translateX(3px);
}

/* Accueil — produit du jour & produits proches */
.mal-home-daily,
.mal-home-seasonal{
  background: #fdfaf7;
  padding: 2rem 0 2.5rem;
}
@media (min-width: 768px){
  .mal-home-daily,
  .mal-home-seasonal{
    padding: 2.5rem 0 3rem;
  }
}
.mal-home-daily-grid,
.mal-home-seasonal-grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}
@media (min-width: 576px){
  .mal-home-daily-grid,
  .mal-home-seasonal-grid{
    gap: 0.85rem;
  }
}
@media (min-width: 768px){
  .mal-home-daily-grid,
  .mal-home-seasonal-grid{
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
  }
}
@media (min-width: 992px){
  .mal-home-daily-grid,
  .mal-home-seasonal-grid{
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 575.98px){
  .mal-home-daily-grid,
  .mal-home-seasonal-grid{
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 0.75rem;
    padding-bottom: 0.35rem;
    margin-inline: calc(-1 * clamp(0.85rem, 2.5vw, 1.5rem));
    padding-inline: clamp(0.85rem, 2.5vw, 1.5rem);
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .mal-home-daily-grid::-webkit-scrollbar,
  .mal-home-seasonal-grid::-webkit-scrollbar{
    display: none;
  }
}
.mal-home-daily-grid .mal-product-rail-card,
.mal-home-seasonal-grid .mal-product-rail-card{
  flex: unset;
  min-width: 0;
}
@media (max-width: 575.98px){
  .mal-home-daily-grid .mal-product-rail-card,
  .mal-home-seasonal-grid .mal-product-rail-card{
    flex: 0 0 min(9.5rem, 44vw);
    scroll-snap-align: start;
  }
}

.mal-product-spotlight{
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(123, 31, 58, 0.1);
  box-shadow: 0 12px 40px rgba(20, 24, 40, 0.08);
}
.mal-product-spotlight-link{
  display: grid;
  grid-template-columns: 1fr;
  color: inherit;
  text-decoration: none;
}
@media (min-width: 768px){
  .mal-product-spotlight-link{
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    min-height: 280px;
  }
}
.mal-product-spotlight-media{
  position: relative;
  min-height: 220px;
  background: var(--mal-primary-light);
}
.mal-product-spotlight-media img,
.mal-product-spotlight-ph{
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: rgba(123, 31, 58, 0.35);
}
.mal-product-spotlight-badge{
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 1;
  background: var(--mal-primary);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
}
.mal-product-spotlight-body{
  padding: 1.25rem 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.5rem;
}
@media (min-width: 768px){
  .mal-product-spotlight-body{
    padding: 1.75rem 2rem;
  }
}
.mal-product-spotlight-kicker{
  margin: 0;
  font-size: 0.82rem;
  color: var(--mal-primary);
  font-weight: 600;
}
.mal-product-spotlight-title{
  margin: 0;
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  font-weight: 800;
  line-height: 1.2;
}
.mal-product-spotlight-meta{
  margin: 0;
  font-size: 0.9rem;
  color: var(--mal-muted);
}
.mal-product-spotlight-price{
  margin-top: 0.25rem;
}
.mal-product-spotlight-cta{
  margin-top: 0.5rem;
  font-weight: 600;
  color: var(--mal-primary);
}
.mal-product-rail-card-distance{
  color: var(--mal-muted);
  font-weight: 400;
}

/* Accueil — bandeau vendeur */
.mal-home-vendor-banner-inner{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.25rem;
  padding: 1.25rem 1.25rem;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--mal-primary-light) 0%, #fff 100%);
  border: 1px solid rgba(123,31,58,.12);
}
@media (min-width: 768px){
  .mal-home-vendor-banner-inner{
    padding: 1.5rem 1.75rem;
    gap: 1.25rem;
  }
}
.mal-home-vendor-banner-kicker{
  margin: 0 0 0.35rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--mal-primary);
}

/* Accueil — responsive global */
.mal-home .mal-section-heading{
  font-size: clamp(1.2rem, 4vw, 1.75rem);
}
.mal-home .mal-about-section{
  padding: 2rem 0;
}
@media (min-width: 768px){
  .mal-home .mal-about-section{
    padding: 2.5rem 0;
  }
}
@media (max-width: 575.98px){
  .mal-producer-portrait-body{
    padding: 0.85rem;
  }
  .mal-producer-portrait-name{
    font-size: 1rem;
  }
}

/* Accueil — Commerçants près de moi */
.mal-home-nearby{
  background: #fdfaf7;
  padding: 2.5rem 0 3.5rem;
}
.mal-home-nearby-head{
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.5rem;
}
.mal-home-nearby-title{
  margin: 0 0 0.35rem;
  font-size: clamp(1.65rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #111827;
}
.mal-home-nearby-sub{
  margin: 0;
  font-size: 0.95rem;
  color: #6b7280;
}
.mal-home-nearby-all{
  flex-shrink: 0;
  margin-top: 0.35rem;
  font-size: 1rem;
  font-weight: 600;
  color: #631010;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.mal-home-nearby-all:hover{
  color: #4f0c0c;
}
.mal-radius-picker{
  flex: 1 1 220px;
  max-width: 340px;
  min-width: 200px;
}
.mal-radius-slider{
  width: 100%;
}
.mal-radius-slider-head{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.35rem;
}
.mal-radius-label{
  margin: 0;
  font-size: 0.85rem;
  font-weight: 600;
  color: #374151;
  white-space: nowrap;
}
.mal-radius-value{
  font-size: 0.88rem;
  font-weight: 700;
  color: #631010;
  white-space: nowrap;
}
.mal-radius-range{
  width: 100%;
  height: 0.45rem;
  margin: 0;
  accent-color: #631010;
  cursor: pointer;
}
.mal-radius-range::-webkit-slider-thumb{
  -webkit-appearance: none;
  width: 1.1rem;
  height: 1.1rem;
  border-radius: 999px;
  background: #631010;
  border: 2px solid #fff;
  box-shadow: 0 2px 8px rgba(99,16,16,.35);
}
.mal-radius-range::-moz-range-thumb{
  width: 1.1rem;
  height: 1.1rem;
  border-radius: 999px;
  background: #631010;
  border: 2px solid #fff;
  box-shadow: 0 2px 8px rgba(99,16,16,.35);
}
.mal-radius-ticks{
  display: flex;
  justify-content: space-between;
  margin-top: 0.25rem;
  font-size: 0.72rem;
  color: var(--mal-muted);
}
.mal-radius-picker--block{
  max-width: 520px;
  flex-basis: 100%;
}
@media (max-width: 575.98px){
  .mal-radius-picker{
    max-width: 100%;
    flex-basis: 100%;
  }
}
.mal-home-nearby-status{
  min-height: 1.5rem;
  margin-bottom: 1rem;
  font-size: 0.88rem;
  color: #6b7280;
}
.mal-home-nearby-status:empty,
.mal-home-nearby-status[hidden]{
  display: none;
}
.mal-home-nearby-status a{
  color: #631010;
  font-weight: 500;
}
.mal-home-nearby-grid.mal-boutique-artisans-grid{
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 1.25rem;
}
@media (min-width: 768px){
  .mal-home-nearby-grid.mal-boutique-artisans-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1200px){
  .mal-home-nearby-grid.mal-boutique-artisans-grid{
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
.mal-boutique-card--skeleton{
  min-height: 300px;
  border-radius: 14px;
  background: linear-gradient(110deg, #ececec 8%, #f5f5f5 18%, #ececec 33%);
  background-size: 200% 100%;
  animation: mal-nearby-shimmer 1.2s linear infinite;
  box-shadow: none;
  pointer-events: none;
  border: 1px solid var(--mal-border);
}
.mal-nearby-card{
  display: block;
  text-decoration: none;
  color: inherit;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 6px 22px rgba(15,23,42,.08);
  transition: transform .2s ease, box-shadow .2s ease;
}
.mal-nearby-card:hover{
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(15,23,42,.14);
  color: inherit;
}
.mal-nearby-card-media{
  position: relative;
  aspect-ratio: 4 / 3;
  background: #e5e7eb;
}
.mal-nearby-card-media img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.mal-nearby-card-ph{
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: #9ca3af;
  background: linear-gradient(145deg, #f3f4f6, #e5e7eb);
}
.mal-nearby-card-distance{
  position: absolute;
  left: 0.65rem;
  bottom: 0.65rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  color: #fff;
  background: rgba(17,24,39,.72);
  backdrop-filter: blur(4px);
}
.mal-nearby-card-distance--featured{
  background: rgba(99,16,16,.88);
}
.mal-nearby-card--skeleton{
  aspect-ratio: 4 / 3;
  border-radius: 14px;
  background: linear-gradient(110deg, #ececec 8%, #f5f5f5 18%, #ececec 33%);
  background-size: 200% 100%;
  animation: mal-nearby-shimmer 1.2s linear infinite;
  box-shadow: none;
  pointer-events: none;
}
@keyframes mal-nearby-shimmer{
  to{ background-position-x: -200%; }
}

.mal-section{
  margin-top: 22px;
  margin-bottom: 22px;
}
.mal-section-title{
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  gap: 12px;
  margin-bottom: 10px;
}
.mal-section-title h2{
  margin:0;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.mal-grid{
  display:grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}
.mal-grid > *{grid-column: span 12;}
@media (min-width: 768px){
  .mal-grid .span-7{grid-column: span 7;}
  .mal-grid .span-5{grid-column: span 5;}
  .mal-grid .span-4{grid-column: span 4;}
  .mal-grid .span-6{grid-column: span 6;}
}

.mal-badge{
  border:1px solid var(--mal-border);
  background: var(--mal-card2);
  padding:.25rem .55rem;
  border-radius: 999px;
  font-size: .78rem;
  color: var(--mal-text);
}
.mal-badge.success{background: rgba(34,197,94,.12); border-color: rgba(34,197,94,.25);}
.mal-badge.warning{background: rgba(245,158,11,.12); border-color: rgba(245,158,11,.25);}
.mal-badge.danger{background: rgba(239,68,68,.12); border-color: rgba(239,68,68,.25);}
.mal-badge.info{background: rgba(59,130,246,.12); border-color: rgba(59,130,246,.25);}

.mal-settings-nav .nav-link{
  display: inline-flex;
  align-items: center;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
}
.mal-settings-nav-link--locked:not(.active){
  opacity: 0.82;
}

/* Scrollbars personnalisées */
html,
body,
.mal-scrollbar,
.dash-main,
.mal-notif-dropdown-body,
.mal-cart-dropdown-body,
.table-responsive{
  scrollbar-width: thin;
  scrollbar-color: var(--mal-scrollbar-thumb) var(--mal-scrollbar-track);
}
html::-webkit-scrollbar,
body::-webkit-scrollbar,
.mal-scrollbar::-webkit-scrollbar,
.dash-main::-webkit-scrollbar,
.mal-notif-dropdown-body::-webkit-scrollbar,
.mal-cart-dropdown-body::-webkit-scrollbar,
.table-responsive::-webkit-scrollbar{
  width: var(--mal-scrollbar-size);
  height: var(--mal-scrollbar-size);
}
html::-webkit-scrollbar-track,
body::-webkit-scrollbar-track,
.mal-scrollbar::-webkit-scrollbar-track,
.dash-main::-webkit-scrollbar-track,
.mal-notif-dropdown-body::-webkit-scrollbar-track,
.mal-cart-dropdown-body::-webkit-scrollbar-track,
.table-responsive::-webkit-scrollbar-track{
  background: var(--mal-scrollbar-track);
  border-radius: var(--mal-scrollbar-radius);
}
html::-webkit-scrollbar-thumb,
body::-webkit-scrollbar-thumb,
.mal-scrollbar::-webkit-scrollbar-thumb,
.dash-main::-webkit-scrollbar-thumb,
.mal-notif-dropdown-body::-webkit-scrollbar-thumb,
.mal-cart-dropdown-body::-webkit-scrollbar-thumb,
.table-responsive::-webkit-scrollbar-thumb{
  background: var(--mal-scrollbar-thumb);
  border-radius: var(--mal-scrollbar-radius);
  border: 2px solid var(--mal-scrollbar-track);
}
html::-webkit-scrollbar-thumb:hover,
body::-webkit-scrollbar-thumb:hover,
.mal-scrollbar::-webkit-scrollbar-thumb:hover,
.dash-main::-webkit-scrollbar-thumb:hover,
.mal-notif-dropdown-body::-webkit-scrollbar-thumb:hover,
.mal-cart-dropdown-body::-webkit-scrollbar-thumb:hover,
.table-responsive::-webkit-scrollbar-thumb:hover{
  background: var(--mal-scrollbar-thumb-hover);
}
.dash-nav,
.dash-offcanvas .offcanvas-body{
  scrollbar-width: thin;
  scrollbar-color: var(--mal-scrollbar-thumb-dark) var(--mal-scrollbar-track-dark);
}
.dash-nav::-webkit-scrollbar,
.dash-offcanvas .offcanvas-body::-webkit-scrollbar{
  width: 6px;
}
.dash-nav::-webkit-scrollbar-track,
.dash-offcanvas .offcanvas-body::-webkit-scrollbar-track{
  background: var(--mal-scrollbar-track-dark);
  border-radius: var(--mal-scrollbar-radius);
}
.dash-nav::-webkit-scrollbar-thumb,
.dash-offcanvas .offcanvas-body::-webkit-scrollbar-thumb{
  background: var(--mal-scrollbar-thumb-dark);
  border-radius: var(--mal-scrollbar-radius);
  border: 2px solid transparent;
  background-clip: padding-box;
}
.dash-nav::-webkit-scrollbar-thumb:hover,
.dash-offcanvas .offcanvas-body::-webkit-scrollbar-thumb:hover{
  background: var(--mal-scrollbar-thumb-dark-hover);
  border: 2px solid transparent;
  background-clip: padding-box;
}

/* Dashboard layout */
.dash{
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  min-height: 100vh;
}
.dash-sidebar{
  width: 280px;
  flex: 0 0 280px;
  display: none;
  flex-direction: column;
  background: var(--mal-dash-vendor);
  border-right: none;
  padding: 18px 14px;
  position: sticky;
  top: 0;
  align-self: flex-start;
  height: 100vh;
  max-height: 100vh;
  overflow: visible;
  z-index: 30;
  color: rgba(255,255,255,.92);
  box-shadow: 4px 0 24px rgba(15,23,42,.08);
}
.dash-nav{
  flex: 1 1 auto;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-right: 4px;
  -webkit-overflow-scrolling: touch;
}
.dash-sidebar-head{
  flex: 0 0 auto;
  overflow: visible;
  padding-top: 2px;
}
.dash-sidebar--admin{
  background: var(--mal-dash-admin);
}
.dash-sidebar--client{
  background: var(--mal-dash-client);
}
.dash-sidebar .small,
.dash-sidebar .dash-notif-wrap a{
  color: rgba(255,255,255,.78) !important;
}
.dash-sidebar .dash-notif-wrap a:hover{
  color: #fff !important;
}
.dash-notif-wrap{
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.35rem;
  flex-shrink: 0;
}
.dash-sidebar .mal-notif-dropdown{
  left: 0;
  right: auto;
  transform-origin: top left;
}
.dash-sidebar .mal-notif-widget:hover .mal-notif-dropdown,
.dash-sidebar .mal-notif-widget:focus-within .mal-notif-dropdown,
.dash-sidebar .mal-notif-dropdown.is-open{
  z-index: 1060;
}
.dash-brand{
  font-weight: 800;
  letter-spacing: -0.02em;
  text-decoration:none;
  color: #fff;
  display:flex;
  align-items:center;
  gap:.6rem;
  padding: 8px 10px;
  border-radius: 12px;
  flex-shrink: 0;
}
.dash-nav a{
  display:flex;
  align-items:center;
  gap:.6rem;
  padding: 10px 12px;
  border-radius: 12px;
  color: rgba(255,255,255,.88);
  text-decoration:none;
  border: 1px solid transparent;
  font-weight: 500;
}
.dash-nav a:hover{
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.1);
  color: #fff;
}
.dash-nav a.active{
  background: rgba(255,255,255,.18);
  border-color: rgba(255,255,255,.22);
  color: #fff;
}
.dash-main{
  flex: 1 1 0%;
  min-width: 0;
  padding: 22px;
  background: var(--mal-bg);
}
.dash-main > .dash-mobile-bar{
  display: none;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0.85rem;
  margin: -22px -22px 1rem;
  background: #fff;
  border-bottom: 1px solid var(--mal-border);
  position: sticky;
  top: 0;
  z-index: 25;
}
.dash-mobile-title{
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--mal-text);
}
.dash-sidebar-footer,
.dash-offcanvas-footer{
  border-top: 1px solid rgba(255,255,255,.18);
  flex-shrink: 0;
  margin-top: auto;
  padding-top: 1rem;
}
.dash-offcanvas{
  width: min(88vw, 320px);
  border-right: none;
}
.dash-offcanvas--vendor,
.dash-offcanvas--admin,
.dash-offcanvas--client{
  background: var(--mal-dash-vendor);
  color: rgba(255,255,255,.92);
}
.dash-offcanvas--admin{
  background: var(--mal-dash-admin);
}
.dash-offcanvas--client{
  background: var(--mal-dash-client);
}
.dash-offcanvas .offcanvas-header{
  border-bottom: 1px solid rgba(255,255,255,.12);
  color: inherit;
}
.dash-offcanvas .offcanvas-title,
.dash-offcanvas .btn-close{
  color: inherit;
}
.dash-offcanvas .btn-close{
  filter: invert(1);
  opacity: 0.85;
}
.dash-offcanvas .dash-nav a{
  color: rgba(255,255,255,.88);
}
.dash-offcanvas .dash-nav a:hover,
.dash-offcanvas .dash-nav a.active{
  background: rgba(255,255,255,.12);
  color: #fff;
}
.dash-offcanvas .btn-ghost{
  --bs-btn-border-color: rgba(255,255,255,.35);
  --bs-btn-color: #fff;
  --bs-btn-hover-bg: rgba(255,255,255,.12);
  --bs-btn-hover-border-color: rgba(255,255,255,.5);
  --bs-btn-hover-color: #fff;
}
@media (min-width: 992px){
  .dash-sidebar.d-lg-block{
    display: flex !important;
    flex-direction: column;
  }
}
@media (max-width: 991.98px){
  .dash{
    flex-direction: column;
    min-height: 100vh;
  }
  .dash-main{
    flex: 1 1 auto;
    padding: 14px;
  }
  .dash-main > .dash-mobile-bar{
    display: flex;
    margin: -14px -14px 1rem;
  }
  .dash-main > .d-flex.flex-wrap.justify-content-between.align-items-end{
    scroll-margin-top: 3.5rem;
  }
}

.table{
  --bs-table-bg: #fff;
  --bs-table-color: var(--mal-text);
  --bs-table-border-color: var(--mal-border);
}
.table thead th{
  color: var(--mal-muted);
  border-bottom: 1px solid var(--mal-border);
  font-weight: 600;
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .03em;
}

.table tbody tr:hover{
  background: var(--mal-primary-light);
}

.pagination{
  --bs-pagination-bg: #fff;
  --bs-pagination-border-color: var(--mal-border);
  --bs-pagination-color: var(--mal-text);
  --bs-pagination-hover-bg: var(--mal-primary-light);
  --bs-pagination-hover-color: var(--mal-primary);
  --bs-pagination-active-bg: var(--mal-primary);
  --bs-pagination-active-border-color: var(--mal-primary);
}
.page-link{
  background: #fff !important;
  color: var(--mal-text) !important;
  border-color: var(--mal-border) !important;
}
.page-link:hover{
  background: var(--mal-primary-light) !important;
  border-color: var(--mal-border-2) !important;
  color: var(--mal-primary) !important;
}
.page-item.active .page-link{
  background: var(--mal-primary) !important;
  border-color: var(--mal-primary) !important;
  color: #fff !important;
}

.mal-footer{
  border-top: 1px solid var(--mal-border);
  background: #fff;
  padding: 2.5rem 0 0;
  color: var(--mal-muted);
}
.mal-footer-inner{
  padding-bottom: 1.5rem;
}
.mal-footer-brand{
  color: var(--mal-text);
  font-size: 1.05rem;
}
.mal-footer-tagline{
  font-size: 0.9rem;
  color: var(--mal-muted);
}
.mal-footer-contact a{
  color: var(--mal-primary);
  text-decoration: none;
}
.mal-footer-contact a:hover{
  text-decoration: underline;
}
.mal-footer-heading{
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--mal-text);
  margin-bottom: 0.75rem;
}
.mal-footer-links{
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.9rem;
}
.mal-footer-links a{
  color: var(--mal-muted);
  text-decoration: none;
}
.mal-footer-links a:hover{
  color: var(--mal-primary);
}
.mal-footer-bottom{
  margin-top: 2rem;
  padding: 1rem 0 1.25rem;
  border-top: 1px solid var(--mal-border);
  font-size: 0.82rem;
  color: var(--mal-muted);
  text-align: center;
}
.mal-footer-bottom a{
  color: var(--mal-primary);
  text-decoration: none;
}
.mal-footer-bottom a:hover{
  text-decoration: underline;
}
.mal-footer-bottom-sep{
  opacity: 0.5;
}
.mal-cookie-banner{
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1080;
  padding: 1rem 0;
  background: rgba(12, 18, 32, 0.97);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #eaf0ff;
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.25);
}
.mal-cookie-banner[hidden]{
  display: none !important;
}
.mal-cookie-banner-inner{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.mal-cookie-banner-title{
  font-weight: 700;
  margin-bottom: 0.35rem;
}
.mal-cookie-banner-desc{
  font-size: 0.9rem;
  color: rgba(234, 240, 255, 0.82);
  max-width: 52rem;
}
.mal-cookie-banner-desc a{
  color: #9ec5ff;
}
.mal-cookie-banner-actions{
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}
.mal-cookie-pref{
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.mal-cookie-pref:last-child{
  border-bottom: 0;
}
.mal-legal-sidebar-title{
  font-weight: 700;
  margin-bottom: 0.85rem;
  color: var(--mal-text);
}
.mal-legal-nav-list{
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.mal-legal-nav-link{
  display: block;
  padding: 0.45rem 0.65rem;
  border-radius: 8px;
  color: var(--mal-muted);
  text-decoration: none;
  font-size: 0.9rem;
}
.mal-legal-nav-link:hover{
  background: var(--mal-primary-light);
  color: var(--mal-primary);
}
.mal-legal-nav-link--active{
  background: var(--mal-primary-light);
  color: var(--mal-primary);
  font-weight: 600;
}
.mal-legal-content{
  font-size: 0.95rem;
  line-height: 1.65;
  color: #374151;
}
.mal-legal-section{
  margin-bottom: 1.75rem;
}
.mal-legal-section:last-child{
  margin-bottom: 0;
}
.mal-legal-section-title{
  font-size: 1rem;
  font-weight: 700;
  color: var(--mal-text);
  margin-bottom: 0.65rem;
}
.mal-legal-list{
  padding-left: 1.2rem;
  margin-bottom: 0;
}
.mal-legal-list li{
  margin-bottom: 0.35rem;
}

/* Pages À propos & Contact */
.mal-page-hero{
  padding: 2.5rem 0 2rem;
  background: linear-gradient(180deg, #fdfaf7 0%, #f4f5f7 100%);
}
.mal-page-hero--contact{
  padding-bottom: 1.5rem;
}
.mal-page-hero-kicker{
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--mal-primary);
  margin-bottom: 0.65rem;
}
.mal-page-hero-title{
  margin: 0 0 1rem;
  font-size: clamp(1.85rem, 3.5vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #111827;
  line-height: 1.15;
}
.mal-page-hero-lead{
  font-size: 1.05rem;
  color: var(--mal-muted);
  max-width: 38rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}
.mal-page-hero-visual{
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(15,23,42,.12);
  aspect-ratio: 4 / 3;
}
.mal-page-hero-visual img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.mal-section-heading{
  margin: 0 0 1.25rem;
  font-size: clamp(1.4rem, 2.5vw, 1.75rem);
  font-weight: 800;
  color: #111827;
}
.mal-about-section{
  padding: 2.5rem 0;
}
.mal-about-section--cream{
  background: #fdfaf7;
}
.mal-about-step-card{
  background: #fff;
  border: 1px solid var(--mal-border);
  border-radius: 14px;
  padding: 1.35rem 1.25rem;
  box-shadow: 0 6px 22px rgba(15,23,42,.05);
}
.mal-about-step-num{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: var(--mal-primary-light);
  color: var(--mal-primary);
  font-weight: 800;
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}
.mal-about-step-title{
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.45rem;
  color: #111827;
}
.mal-about-step-text{
  color: var(--mal-muted);
  font-size: 0.92rem;
  line-height: 1.55;
}
.mal-about-value-card{
  background: #fff;
  border: 1px solid var(--mal-border);
  border-radius: 14px;
  padding: 1.25rem;
  box-shadow: 0 6px 22px rgba(15,23,42,.04);
}
.mal-about-value-icon{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 12px;
  background: var(--mal-primary-light);
  color: var(--mal-primary);
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
}
.mal-about-value-title{
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
  color: #111827;
}
.mal-about-value-text{
  color: var(--mal-muted);
  font-size: 0.9rem;
  line-height: 1.55;
}
.mal-home-metiers-grid--about{
  grid-template-columns: repeat(5, minmax(0, 1fr));
}
@media (max-width: 991.98px){
  .mal-home-metiers-grid--about{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 575.98px){
  .mal-home-metiers-grid--about{
    grid-template-columns: 1fr;
  }
}
.mal-about-cta{
  padding: 0 0 3rem;
}
.mal-about-cta-card{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem 1.75rem;
  border-radius: 16px;
  background: linear-gradient(135deg, #631010 0%, #7B1F3A 100%);
  color: #fff;
  box-shadow: 0 14px 36px rgba(99,16,16,.25);
}
.mal-about-cta-card .text-muted-mal{
  color: rgba(255,255,255,.82) !important;
}
.mal-about-cta-card .btn-malp{
  --bs-btn-bg: #fff;
  --bs-btn-border-color: #fff;
  --bs-btn-color: #631010;
  --bs-btn-hover-bg: #f9fafb;
  --bs-btn-hover-border-color: #f9fafb;
  --bs-btn-hover-color: #631010;
}
.mal-contact-main{
  margin-top: -0.5rem;
  margin-bottom: 3rem;
}
.mal-contact-info-label{
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--mal-text);
  margin-bottom: 0.25rem;
}
.mal-contact-info-label + a{
  color: var(--mal-primary);
  text-decoration: none;
  font-weight: 500;
}
.mal-contact-info-label + a:hover{
  text-decoration: underline;
}

/* Page catégories */
.mal-page-hero--categories{
  padding-bottom: 1.25rem;
}
.mal-categories-page{
  padding: 0 0 3rem;
}
.mal-categories-summary{
  margin-bottom: 1.25rem;
  font-size: 0.95rem;
}
.mal-categories-grid{
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 1rem;
}
@media (min-width: 576px){
  .mal-categories-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 992px){
  .mal-categories-grid{
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
.mal-category-card{
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  text-decoration: none;
  color: inherit;
  background: #fff;
  border: 1px solid var(--mal-border);
  border-radius: 16px;
  padding: 1.35rem 1.25rem;
  box-shadow: 0 6px 22px rgba(15,23,42,.05);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  height: 100%;
}
.mal-category-card:hover{
  transform: translateY(-3px);
  border-color: #d1d5db;
  box-shadow: 0 14px 32px rgba(15,23,42,.1);
  color: inherit;
}
.mal-category-card-icon-wrap{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin-bottom: 0.85rem;
  border-radius: 14px;
  background: #faf5f6;
  color: var(--mal-primary);
  font-size: 1.75rem;
  line-height: 1;
}
.mal-category-card-icon-wrap i{
  display: block;
  font-size: 1.75rem;
  line-height: 1;
  font-style: normal;
}
.mal-category-card-icon-wrap i:before{
  color: var(--mal-primary);
}
.mal-category-card-title{
  font-size: 1.05rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 0.35rem;
}
.mal-category-card-desc{
  font-size: 0.88rem;
  color: var(--mal-muted);
  line-height: 1.45;
  margin-bottom: 0.75rem;
  flex: 1;
  width: 100%;
}
.mal-category-card-count{
  display: inline-block;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--mal-primary);
  background: var(--mal-primary-light);
}
.mal-category-card-count--muted{
  color: var(--mal-muted);
  background: #f3f4f6;
  font-weight: 600;
}
.mal-categories-cta{
  margin-top: 2rem;
}

.mal-footer .fw-semibold{
  color: var(--mal-text);
}

/* Scroll reveal animations */
[data-animate]{
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .55s ease, transform .55s ease;
}
[data-animate].is-in{
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce){
  *{scroll-behavior:auto !important;}
  [data-animate], .mal-card.hover, .btn{transition:none !important;}
}

/* Vendor product form — style proche référence boucherie */
.mal-unit-segment{
  display:flex;
  gap:0;
  background: var(--mal-card2);
  border:1px solid var(--mal-border);
  border-radius:12px;
  padding:4px;
}
.mal-unit-segment label{
  flex:1;
  margin:0;
  cursor:pointer;
}
.mal-unit-segment input{
  position:absolute;
  opacity:0;
  width:0;
  height:0;
}
.mal-unit-segment span{
  display:block;
  text-align:center;
  padding:10px 8px;
  border-radius:10px;
  font-size:.85rem;
  font-weight:600;
  color: var(--mal-muted);
  transition: background .15s, color .15s;
}
.mal-unit-segment input:checked + span{
  background: var(--mal-primary);
  color:#fff;
  box-shadow: 0 2px 8px rgba(123,31,58,.2);
}
.mal-vendor-preview{
  background: var(--mal-card2);
  border:1px dashed var(--mal-border-2);
  border-radius:14px;
  padding:14px;
}
.mal-vendor-preview .preview-title{
  font-size:.72rem;
  text-transform:uppercase;
  letter-spacing:.06em;
  color: var(--mal-muted);
  margin-bottom:8px;
}
.mal-vendor-preview .preview-reco{
  font-size:.82rem;
  color: var(--mal-text);
  margin-bottom:10px;
}
.mal-vendor-preview .preview-equiv{
  display:flex;
  align-items:center;
  gap:16px;
  font-size:.85rem;
}
.mal-vendor-preview .preview-equiv strong{
  color: var(--mal-text);
}
.mal-price-hint{
  font-size:.8rem;
  color: var(--mal-muted);
}
.mal-product-reco .reco-line{
  font-size:.9rem;
  letter-spacing:.02em;
  color: var(--mal-text);
}
.mal-product-equiv{
  padding:12px 14px;
  border-radius:12px;
  background: var(--mal-card2);
  border:1px solid var(--mal-border);
}
.mal-qty-stepper .form-select,
.mal-qty-stepper .form-control{
  max-width:none;
}

/* Cartes produit page boutique */
.mal-product-shop-card{
  background: #fff;
  color: #1a1f2e;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,.08);
  box-shadow: 0 8px 24px rgba(0,0,0,.12);
  display: flex;
  flex-direction: column;
}
.mal-product-shop-card-media{
  display: block;
  aspect-ratio: 4 / 3;
  background: #f3f4f6;
  overflow: hidden;
}
.mal-product-shop-card-media img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.mal-product-shop-card-media-ph{
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9ca3af;
  font-size: 2rem;
}
.mal-product-shop-card-body{
  padding: 0.85rem 1rem 1rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.mal-product-shop-card-price{
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.2rem 0.35rem;
  line-height: 1.1;
}
.mal-product-shop-card-price-value{
  font-size: 1.65rem;
  font-weight: 800;
  color: #111827;
}
.mal-product-shop-card-price-unit{
  font-size: 0.95rem;
  color: #6b7280;
  font-weight: 600;
}
.mal-price-indicative{
  flex-basis: 100%;
  font-size: 0.78rem;
  color: #9ca3af;
  font-weight: 500;
  margin-top: 0.1rem;
}
.mal-product-badges{
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  max-width: calc(100% - 3rem);
}
.mal-product-badge{
  display: inline-block;
  padding: 0.2rem 0.45rem;
  border-radius: 6px;
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.mal-product-badge--promo{ background: #dc2626; color: #fff; }
.mal-product-badge--danger{ background: #374151; color: #fff; }
.mal-product-badge--info{ background: #2563eb; color: #fff; }
.mal-product-badge--homemade{ background: #7c3aed; color: #fff; }
.mal-product-badge--local{ background: #059669; color: #fff; }
.mal-product-badge--best{ background: #d97706; color: #fff; }
.mal-product-badge--featured{ background: var(--mal-primary); color: #fff; }
.mal-product-price-old{
  font-size: 0.85rem;
  color: #9ca3af;
  text-decoration: line-through;
  margin-right: 0.35rem;
}
.mal-product-shop-card--unavailable{
  opacity: 0.78;
}
.mal-product-shop-card--unavailable .mal-product-shop-card-media img{
  filter: grayscale(0.85);
}
.mal-home-intentions-grid,
.mal-home-intentions .mal-home-intentions-grid{
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 0.75rem;
}
.mal-intention-card{
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.35rem;
  padding: 1rem 0.75rem;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.1);
  background: rgba(255,255,255,.03);
  color: inherit;
  text-decoration: none;
  transition: transform 0.15s ease, border-color 0.15s ease;
}
.mal-intention-card:hover{
  transform: translateY(-2px);
  border-color: rgba(123,31,58,.45);
  color: inherit;
}
.mal-intention-card.is-active{
  border-color: var(--mal-primary);
  background: rgba(123,31,58,.12);
}
.mal-intention-card-icon{
  font-size: 1.5rem;
  color: var(--mal-primary);
}
.mal-intention-card-title{
  font-weight: 700;
  font-size: 0.9rem;
}
.mal-intention-card-count{
  font-size: 0.72rem;
  color: rgba(234,240,255,.55);
}
.mal-product-rail-scroll{
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  scroll-snap-type: x mandatory;
}
.mal-product-rail-card{
  flex: 0 0 200px;
  scroll-snap-align: start;
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,.08);
  background: #fff;
  overflow: hidden;
}
.mal-product-rail-card-link{
  display: block;
  color: inherit;
  text-decoration: none;
}
.mal-product-rail-card-media{
  position: relative;
  aspect-ratio: 1;
  background: #f3f4f6;
  overflow: hidden;
}
.mal-product-rail-card-media img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.mal-product-rail-card-body{
  padding: 0.75rem;
}
.mal-product-rail-card-title{
  font-size: 0.9rem;
  font-weight: 700;
  margin: 0.35rem 0 0;
  line-height: 1.25;
  color: #111827;
}
.mal-product-rail-card-vendor{
  font-size: 0.72rem;
  color: #6b7280;
  margin: 0.25rem 0 0;
}
.mal-product-rail-grid{
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
}
.mal-product-rail-grid .mal-product-rail-card{
  flex: unset;
}
.mal-home-map-teaser-card{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.1);
  background: linear-gradient(135deg, rgba(123,31,58,.15), rgba(255,255,255,.03));
}
.mal-vendor-map{
  height: 420px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.1);
  z-index: 1;
}
.mal-boutique-card-story{
  margin: 0 0 0.45rem;
  font-size: 0.78rem;
  line-height: 1.35;
  color: rgba(234,240,255,.65);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.mal-product-shop-card-divider{
  margin: 0.65rem 0;
  border-color: rgba(0,0,0,.1);
  opacity: 1;
}
.mal-product-shop-card-title{
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 0.75rem;
  line-height: 1.3;
}
.mal-product-shop-card-title a{
  color: #111827;
  text-decoration: none;
}
.mal-product-shop-card-title a:hover{
  color: var(--mal-primary);
}
.mal-product-shop-card-form{
  margin-top: auto;
}
.mal-qty-stepper--card{
  display: flex;
  align-items: stretch;
  gap: 0;
  margin-bottom: 0.35rem;
}
.mal-qty-stepper-btn{
  width: 2.5rem;
  flex-shrink: 0;
  border: 1px solid #d1d5db;
  background: #f3f4f6;
  color: #374151;
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1;
  padding: 0;
}
.mal-qty-stepper-btn:first-child{
  border-radius: 6px 0 0 6px;
}
.mal-qty-stepper-btn:last-child{
  border-radius: 0 6px 6px 0;
}
.mal-qty-stepper-btn:hover:not(:disabled){
  background: #e5e7eb;
}
.mal-qty-stepper-btn:disabled{
  opacity: 0.45;
}
.mal-qty-stepper--card .mal-qty-stepper-input{
  border-radius: 0;
  border-left: none;
  border-right: none;
  border-color: #d1d5db;
  background: #fff;
  color: #111827;
  font-weight: 700;
  min-height: 2.5rem;
  -moz-appearance: textfield;
}
.mal-qty-stepper--card .mal-qty-stepper-input::-webkit-outer-spin-button,
.mal-qty-stepper--card .mal-qty-stepper-input::-webkit-inner-spin-button{
  -webkit-appearance: none;
  margin: 0;
}
.mal-product-unit-bar{
  text-align: center;
  font-size: 0.8rem;
  color: #6b7280;
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  padding: 0.4rem 0.5rem;
  margin-bottom: 0.65rem;
}
.mal-product-shop-card-add{
  font-weight: 700;
  padding: 0.55rem 0.75rem;
}

/* Formulaire ajout produit vendeur */
.mal-product-section{
  border:1px solid var(--mal-border);
  border-radius:14px;
  padding:1.25rem;
  margin-bottom:1rem;
  background: #fff;
}
.mal-product-section h2{
  font-size:1rem;
  margin:0 0 1rem;
  font-weight:600;
}
.mal-product-section .section-num{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:1.5rem;
  height:1.5rem;
  border-radius:8px;
  background: rgba(123,31,58,.2);
  font-size:.75rem;
  margin-right:.5rem;
}
.mal-img-thumb{
  display:inline-block;
  margin:0 .5rem .5rem 0;
  vertical-align:top;
}
.mal-img-thumb img{
  width:88px;
  height:88px;
  object-fit:cover;
  border-radius:10px;
  border:1px solid var(--mal-border);
}
.mal-form-sticky-actions{
  position:sticky;
  bottom:0;
  z-index:20;
  padding:1rem 0;
  margin-top:1rem;
  background: linear-gradient(180deg, transparent, var(--mal-bg) 25%);
}
.req::after{ content:" *"; color:#f87171; }

.dash-main .nav-pills .nav-link{
  color: var(--mal-muted);
  background: #fff;
  border: 1px solid var(--mal-border);
}
.dash-main .nav-pills .nav-link:hover{
  color: var(--mal-primary);
  background: var(--mal-primary-light);
}
.mal-shop-avatar{
  width: 56px;
  height: 56px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--mal-border);
  background: var(--mal-card2);
}
.mal-shop-avatar img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.mal-shop-avatar-placeholder{
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--mal-muted);
  font-size: 1.35rem;
}

/* Cartes boutique portrait — taille intermédiaire */
.mal-shop-card-grid{
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(158px, 180px));
  gap: 0.9rem;
  justify-content: start;
}
.mal-shop-card-portrait{
  overflow: hidden;
  font-size: 0.925rem;
}
.mal-shop-card-portrait .card-body{
  padding: 0.85rem 0.9rem 0.95rem;
}
.mal-shop-card-portrait .fw-semibold{
  font-size: 0.95rem;
  line-height: 1.3;
}
.mal-shop-card-cover{
  aspect-ratio: 4 / 5;
  max-height: 126px;
  width: 100%;
  padding: 0.5rem 0.5rem 0;
  box-sizing: border-box;
  background: transparent;
  border-bottom: none;
  overflow: hidden;
}
.mal-shop-card-cover img,
.mal-shop-card-cover-placeholder{
  width: 100%;
  height: 100%;
  border-radius: 10px;
  border: 1px solid var(--mal-border);
  background: var(--mal-card2);
  box-sizing: border-box;
}
.mal-shop-card-cover img{
  object-fit: cover;
  display: block;
}
.mal-shop-card-cover-placeholder{
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--mal-muted);
  font-size: 2rem;
}
.mal-shop-card-desc{
  font-size: 0.82rem;
  line-height: 1.4;
  min-height: 2.7em;
}
.mal-shop-card-portrait .mt-3{
  margin-top: 0.65rem !important;
}
.mal-shop-card-portrait .mt-2{
  margin-top: 0.45rem !important;
}

.mal-flash-toast{
  position: fixed;
  top: 5rem;
  left: 50%;
  z-index: 9999;
  width: min(420px, calc(100vw - 1.5rem));
  margin: 0;
  padding: 0;
  pointer-events: none;
  transform: translateX(-50%);
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.mal-flash-toast .alert{
  pointer-events: auto;
  box-shadow: 0 12px 40px rgba(0,0,0,.35);
}
.mal-flash-toast.is-hiding{
  opacity: 0;
  transform: translateX(-50%) translateY(-10px);
}

/* Panier header — dropdown type marketplace */
@keyframes mal-cart-wiggle{
  0%, 100%{ transform: rotate(0deg) scale(1); }
  20%{ transform: rotate(-6deg) scale(1.05); }
  40%{ transform: rotate(6deg) scale(1.05); }
  60%{ transform: rotate(-4deg) scale(1.03); }
  80%{ transform: rotate(4deg) scale(1.03); }
}
.btn-outline-mal{
  color: var(--mal-primary);
  border: 1px solid var(--mal-primary);
  background: transparent;
}
.btn-outline-mal:hover{
  color: #fff;
  background: var(--mal-primary);
  border-color: var(--mal-primary);
}
.mal-cart-widget{
  position: relative;
  z-index: 1;
}
.mal-cart-widget:has(.mal-cart-dropdown.is-open),
.mal-cart-widget:focus-within{
  z-index: 1056;
}
/* Pont invisible pour garder le survol entre l’icône et le panneau */
.mal-cart-widget::before{
  content: '';
  position: absolute;
  top: 100%;
  right: 0;
  width: 100%;
  min-width: 280px;
  height: 14px;
}
@media (hover: hover) and (pointer: fine){
  .mal-cart-widget:hover{
    z-index: 1056;
  }
  .mal-cart-widget:hover .mal-cart-dropdown,
  .mal-cart-widget:focus-within .mal-cart-dropdown{
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
  }
  .mal-cart-widget.mal-cart-force-closed .mal-cart-dropdown,
  .mal-cart-widget.mal-cart-force-closed:hover .mal-cart-dropdown{
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px) scale(0.98);
  }
  .mal-cart-widget:hover .mal-cart-trigger,
  .mal-cart-widget:focus-within .mal-cart-trigger{
    animation: mal-cart-wiggle 0.45s ease-in-out;
  }
}
.mal-cart-trigger{
  position: relative;
  width: 2.75rem;
  height: 2.75rem;
  border: none;
  border-radius: 999px;
  background: var(--mal-primary);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: 0 4px 14px rgba(123,31,58,.35);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.mal-cart-trigger:hover{
  animation: mal-cart-wiggle 0.45s ease-in-out;
  box-shadow: 0 6px 18px rgba(123,31,58,.5);
}
.mal-cart-trigger-badge{
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 1.15rem;
  height: 1.15rem;
  padding: 0 0.25rem;
  font-size: 0.68rem;
  font-weight: 800;
  border-radius: 999px;
  background: #111827;
  color: #fff;
  border: 2px solid var(--mal-bg, #0b0f19);
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.mal-cart-trigger-badge[hidden]{
  display: none;
}

/* Wishlist / favoris */
.mal-wishlist-nav-link{
  position: relative;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 999px;
  background: var(--mal-primary);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(123,31,58,.35);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.mal-wishlist-nav-link:hover{
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(123,31,58,.5);
}
.mal-wishlist-nav-badge{
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 1.15rem;
  height: 1.15rem;
  padding: 0 0.25rem;
  font-size: 0.68rem;
  font-weight: 800;
  border-radius: 999px;
  background: #111827;
  color: #fff;
  border: 2px solid var(--mal-bg, #0b0f19);
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.mal-wishlist-nav-badge[hidden]{
  display: none;
}
.mal-product-shop-card-media-wrap{
  position: relative;
}
.mal-wishlist-btn{
  border: none;
  background: rgba(255,255,255,.92);
  color: var(--mal-primary);
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(0,0,0,.15);
  transition: transform 0.15s ease, color 0.15s ease, background 0.15s ease;
}
.mal-wishlist-btn:hover{
  transform: scale(1.06);
  color: #9a2447;
}
.mal-wishlist-btn.is-active{
  background: var(--mal-primary);
  color: #fff;
}
.mal-wishlist-btn--card{
  position: absolute;
  top: 0.55rem;
  right: 0.55rem;
  z-index: 2;
}
.mal-wishlist-btn--detail{
  width: 2.5rem;
  height: 2.5rem;
  font-size: 1.1rem;
}
.mal-product-shop-card--unavailable{
  opacity: 0.72;
}
.mal-product-shop-card--unavailable .mal-product-shop-card-media img,
.mal-product-shop-card--unavailable .mal-product-shop-card-media-ph{
  filter: grayscale(0.9);
}
.mal-product-shop-card--unavailable .mal-product-shop-card-price-value,
.mal-product-shop-card--unavailable .mal-product-shop-card-title{
  color: #9ca3af;
}
.mal-product-shop-card-media--disabled{
  cursor: default;
  pointer-events: none;
}
.mal-wishlist-unavailable-badge{
  position: absolute;
  left: 0.55rem;
  right: 3rem;
  bottom: 0.55rem;
  z-index: 2;
  padding: 0.35rem 0.55rem;
  border-radius: 8px;
  background: rgba(17,24,39,.82);
  color: #fbbf24;
  font-size: 0.72rem;
  font-weight: 700;
  text-align: center;
  line-height: 1.2;
}

.mal-cart-dropdown{
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: min(380px, calc(100vw - 1.5rem));
  max-height: min(520px, calc(100vh - 5rem));
  z-index: 1055;
  display: flex;
  flex-direction: column;
  background: #f8f9fc;
  color: #1a1f2e;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,.08);
  box-shadow: 0 16px 48px rgba(0,0,0,.22);
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px) scale(0.98);
  transform-origin: top right;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}
.mal-cart-dropdown.is-open{
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}
.mal-cart-dropdown-header{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid rgba(0,0,0,.08);
  background: #fff;
}
/* Panneau hover panier (header) — fond clair, indépendant du thème sombre global */
.mal-cart-widget .mal-cart-dropdown,
.mal-cart-widget .mal-cart-dropdown .mal-cart-dropdown-header,
.mal-cart-widget .mal-cart-dropdown .mal-cart-dropdown-body,
.mal-cart-widget .mal-cart-dropdown .mal-cart-dropdown-footer{
  color: #1a1f2e;
}
.mal-cart-widget .mal-cart-dropdown a{
  color: var(--mal-primary);
}
.mal-cart-widget .mal-cart-dropdown a:hover,
.mal-cart-widget .mal-cart-dropdown a:focus-visible{
  color: #65182f !important;
}
.mal-cart-widget .mal-cart-dropdown .text-muted-mal{
  color: #6b7280 !important;
}
.mal-cart-widget .mal-cart-dropdown .btn-outline-mal{
  color: var(--mal-primary) !important;
  border-color: var(--mal-primary) !important;
  background: transparent !important;
}
.mal-cart-widget .mal-cart-dropdown .btn-outline-mal:hover,
.mal-cart-widget .mal-cart-dropdown .btn-outline-mal:focus-visible{
  color: #fff !important;
  background: var(--mal-primary) !important;
  border-color: var(--mal-primary) !important;
}
.mal-cart-widget .mal-cart-dropdown .btn-malp,
.mal-cart-widget .mal-cart-dropdown .btn-malp:hover,
.mal-cart-widget .mal-cart-dropdown .btn-malp:focus-visible{
  color: #fff !important;
}
.mal-cart-widget .mal-cart-dropdown .btn-ghost{
  --bs-btn-color: #6b7280;
  --bs-btn-border-color: rgba(0,0,0,.12);
  --bs-btn-hover-bg: rgba(0,0,0,.06);
  --bs-btn-hover-border-color: rgba(0,0,0,.2);
  --bs-btn-hover-color: #111827;
}
.mal-cart-dropdown-title{
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #111827;
}
.mal-cart-widget .mal-cart-dropdown .mal-cart-account-link,
.mal-cart-widget .mal-cart-dropdown .mal-cart-account-link:visited{
  color: #65182f !important;
  text-decoration: none;
  font-weight: 600;
}
.mal-cart-widget .mal-cart-dropdown .mal-cart-account-link:hover,
.mal-cart-widget .mal-cart-dropdown .mal-cart-account-link:focus-visible,
.mal-cart-widget .mal-cart-dropdown .mal-cart-account-link:active{
  color: #65182f !important;
  text-decoration: underline;
}
.mal-cart-close{
  color: #6b7280 !important;
  padding: 0 0.35rem !important;
  line-height: 1;
  font-size: 1.25rem;
}
.mal-cart-widget .mal-cart-dropdown .mal-cart-close:hover,
.mal-cart-widget .mal-cart-dropdown .mal-cart-close:focus-visible{
  color: #111827 !important;
  background: rgba(0,0,0,.06) !important;
}
.mal-cart-dropdown-body{
  flex: 1;
  overflow-y: auto;
  padding: 0.75rem 1rem;
  background: linear-gradient(180deg, #fff 0%, #f3f4f8 100%);
}
.mal-cart-dropdown-footer{
  padding: 0.85rem 1rem 1rem;
  border-top: 1px solid rgba(0,0,0,.08);
  background: #fff;
}
.mal-cart-list-item{
  display: flex;
  gap: 0.65rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid rgba(0,0,0,.06);
}
.mal-cart-list-item:last-child{
  border-bottom: none;
}
.mal-cart-item-thumb{
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 8px;
  overflow: hidden;
  background: #e5e7eb;
  border: 1px solid rgba(0,0,0,.06);
}
.mal-cart-item-thumb img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.mal-cart-item-thumb-ph{
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9ca3af;
  font-size: 1.25rem;
}
.mal-cart-item-info{
  flex: 1;
  min-width: 0;
  font-size: 0.82rem;
}
.mal-cart-item-name{
  font-weight: 600;
  color: var(--mal-primary);
  line-height: 1.3;
}
.mal-cart-item-price{
  font-weight: 800;
  font-size: 1rem;
  color: var(--mal-primary);
  margin-top: 0.15rem;
}
.mal-cart-total-row{
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.35rem;
  margin-bottom: 0.75rem;
  font-size: 0.85rem;
  color: #374151;
}
.mal-cart-total-price{
  font-size: 1.35rem;
  color: var(--mal-primary);
}
.mal-cart-backdrop{
  position: fixed;
  inset: 0;
  z-index: 1050;
  background: rgba(0,0,0,.25);
}
.mal-cart-backdrop[hidden]{
  display: none;
}
@media (max-width: 575.98px){
  .mal-cart-dropdown{
    position: fixed;
    top: auto;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100%;
    max-height: 85vh;
    border-radius: 16px 16px 0 0;
    transform: translateY(100%);
    transform-origin: bottom center;
  }
  .mal-cart-dropdown.is-open{
    transform: translateY(0);
  }
}

/* Notifications header */
.mal-notif-widget{
  position: relative;
  z-index: 1;
}
.mal-notif-widget:has(.mal-notif-dropdown.is-open),
.mal-notif-widget:focus-within{
  z-index: 1056;
}
@media (hover: hover) and (pointer: fine){
  .mal-notif-widget:hover{
    z-index: 1056;
  }
  .mal-notif-widget:hover .mal-notif-dropdown,
  .mal-notif-widget:focus-within .mal-notif-dropdown{
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
  }
}
/* Header blanc : bouton notifications visible (même style que le panier) */
.mal-navbar .mal-notif-trigger{
  position: relative;
  width: 2.75rem;
  height: 2.75rem;
  border: none;
  border-radius: 999px;
  background-color: #7B1F3A;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  box-shadow: 0 4px 14px rgba(123,31,58,.35);
  transition: box-shadow 0.15s ease;
}
.mal-navbar .mal-notif-trigger .bi{
  color: #fff;
}
.mal-navbar .mal-notif-trigger:hover,
.mal-navbar .mal-notif-trigger:focus-visible{
  background-color: #65182f;
  color: #fff;
  box-shadow: 0 6px 18px rgba(123,31,58,.5);
}
.mal-notif-trigger{
  position: relative;
  width: 2.75rem;
  height: 2.75rem;
  border: none;
  border-radius: 999px;
  background-color: #7B1F3A;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  box-shadow: 0 4px 14px rgba(123,31,58,.35);
}
.mal-notif-trigger-badge{
  position: absolute;
  top: -4px;
  right: -4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.2rem;
  height: 1.2rem;
  padding: 0 0.2rem;
  box-sizing: border-box;
  font-size: 0.65rem;
  font-weight: 800;
  line-height: 1;
  border-radius: 999px;
  background: #ef4444;
  color: #fff;
  border: 2px solid #fff;
}
/* Sidebar dashboard (fond sombre) */
.dash-sidebar .mal-notif-trigger{
  background: rgba(255,255,255,.08);
  color: #fff;
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: none;
}
.dash-sidebar .mal-notif-trigger:hover{
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.22);
}
.dash-sidebar .mal-notif-trigger-badge{
  top: 0;
  right: 0;
  border-color: var(--mal-dash-vendor);
}
.mal-notif-trigger-badge[hidden]{
  display: none;
}
.mal-notif-dropdown{
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: min(360px, calc(100vw - 1.5rem));
  max-height: min(480px, calc(100vh - 5rem));
  z-index: 1055;
  display: flex;
  flex-direction: column;
  background: #f8f9fc;
  color: #1a1f2e;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,.08);
  box-shadow: 0 16px 48px rgba(0,0,0,.22);
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px) scale(0.98);
  transform-origin: top right;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}
.mal-notif-dropdown.is-open{
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}
.mal-notif-widget .mal-notif-dropdown,
.mal-notif-widget .mal-notif-dropdown a:not(.btn){
  color: #1a1f2e;
}
.mal-notif-widget .mal-notif-dropdown a:not(.btn):hover{
  color: #65182f !important;
}
.mal-notif-widget .mal-notif-dropdown .text-muted-mal{
  color: #6b7280 !important;
}
.mal-notif-dropdown-header{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid rgba(0,0,0,.08);
  background: #fff;
}
.mal-notif-dropdown-title{
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #111827;
}
.mal-notif-mark-all{
  color: var(--mal-primary) !important;
  text-decoration: none;
  font-weight: 600;
}
.mal-notif-mark-all:hover{
  text-decoration: underline;
}
.mal-notif-dropdown-body{
  flex: 1;
  overflow-y: auto;
  padding: 0.35rem 0;
  background: #fff;
}
.mal-notif-dropdown-footer{
  padding: 0.75rem 1rem 1rem;
  border-top: 1px solid rgba(0,0,0,.08);
  background: #fff;
}
.mal-notif-list,
.mal-notif-page-list{
  margin: 0;
  padding: 0;
}
.mal-notif-item-link,
.mal-notif-page-link{
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.75rem 1rem;
  text-decoration: none;
  color: inherit;
  border-bottom: 1px solid rgba(0,0,0,.06);
  transition: background 0.12s ease;
}
.mal-notif-item-link:hover,
.mal-notif-page-link:hover{
  background: rgba(123,31,58,.06);
}
.mal-notif-item:last-child .mal-notif-item-link{
  border-bottom: none;
}
.mal-notif-item.is-unread .mal-notif-item-title,
.mal-notif-page-item.is-unread .fw-semibold{
  color: #65182f;
}
.mal-notif-item-icon{
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: rgba(123,31,58,.12);
  color: var(--mal-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
}
.mal-notif-item-content{
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.mal-notif-item-title{
  font-weight: 700;
  font-size: 0.82rem;
  line-height: 1.3;
  color: #111827;
}
.mal-notif-item-body{
  font-size: 0.76rem;
  color: #6b7280;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.mal-notif-item-time{
  font-size: 0.68rem;
  color: #9ca3af;
}
.mal-notif-page-item{
  border-bottom: 1px solid var(--mal-border);
}
.mal-notif-page-item:last-child{
  border-bottom: none;
}
.mal-notif-page-link{
  border-bottom: none;
  color: var(--mal-text);
}
.mal-notif-page-link:hover{
  background: var(--mal-primary-light);
}
.mal-notif-dot{
  flex-shrink: 0;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 999px;
  background: var(--mal-primary);
  margin-top: 0.35rem;
}
.mal-notif-backdrop{
  position: fixed;
  inset: 0;
  z-index: 1050;
  background: rgba(0,0,0,.25);
}
@media (max-width: 575.98px){
  .mal-notif-dropdown{
    position: fixed;
    top: auto;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100%;
    max-height: 85vh;
    border-radius: 16px 16px 0 0;
    transform: translateY(100%);
    transform-origin: bottom center;
  }
  .mal-notif-dropdown.is-open{
    transform: translateY(0);
  }
}

/* Toasts notifications temps réel */
.mal-notif-toasts{
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 1080;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-width: min(360px, calc(100vw - 2rem));
  pointer-events: none;
}
.mal-notif-toast{
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.75rem 0.85rem;
  background: #fff;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,.12);
  pointer-events: auto;
  cursor: pointer;
  animation: malNotifToastIn .25s ease;
}
.mal-notif-toast.is-leaving{
  animation: malNotifToastOut .2s ease forwards;
}
@keyframes malNotifToastIn{
  from{ opacity:0; transform: translateX(12px); }
  to{ opacity:1; transform: translateX(0); }
}
@keyframes malNotifToastOut{
  from{ opacity:1; transform: translateX(0); }
  to{ opacity:0; transform: translateX(12px); }
}
.mal-notif-toast-icon{
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: rgba(5,150,105,.12);
  color: #059669;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.mal-notif-toast-title{
  font-weight: 600;
  font-size: 0.875rem;
  line-height: 1.3;
}
.mal-notif-toast-text{
  font-size: 0.8125rem;
  color: #6b7280;
  margin-top: 0.15rem;
  line-height: 1.35;
}
.mal-notif-toast-close{
  border: 0;
  background: transparent;
  color: #9ca3af;
  font-size: 1.1rem;
  line-height: 1;
  padding: 0;
  margin-left: auto;
  cursor: pointer;
}
.mal-notif-toast-close:hover{
  color: #374151;
}

/* Avis certifiés */
.mal-review-stars{
  display: inline-flex;
  gap: 0.1rem;
  color: #f59e0b;
  font-size: 0.95rem;
  line-height: 1;
}
.mal-review-certified{
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: #059669;
  margin-left: 0.5rem;
}
.mal-review-list{
  display: grid;
  gap: 1rem;
}
.mal-review-card{
  padding: 1rem 0;
  border-bottom: 1px solid rgba(0,0,0,.08);
}
.mal-review-card:last-child{
  border-bottom: 0;
  padding-bottom: 0;
}
.mal-review-card-head{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.65rem;
}
.mal-review-comment{
  font-size: 0.9375rem;
  line-height: 1.55;
}
.mal-review-photos{
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
}
.mal-review-photo{
  display: block;
  width: 72px;
  height: 72px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,.08);
}
.mal-review-photo img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.mal-review-reply{
  margin-top: 0.85rem;
  padding: 0.75rem 0.9rem;
  border-radius: 10px;
  background: rgba(5,150,105,.06);
  border-left: 3px solid #059669;
}
.mal-review-rating-input{
  display: flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
  gap: 0.15rem;
}
.mal-review-rating-input input{
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}
.mal-review-rating-star{
  cursor: pointer;
  color: #d1d5db;
  font-size: 1.5rem;
  line-height: 1;
  margin: 0;
}
.mal-review-rating-star:hover,
.mal-review-rating-star:hover ~ .mal-review-rating-star,
.mal-review-rating-input input:checked ~ .mal-review-rating-star{
  color: #f59e0b;
}

/* Panier groupé par boutique */
.mal-cart-vendor-group{
  padding-bottom: 0.75rem;
  margin-bottom: 0.75rem;
  border-bottom: 1px solid rgba(0,0,0,.08);
}
.mal-cart-vendor-group:last-child{
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}
.mal-cart-vendor-name{
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--mal-primary);
  margin-bottom: 0.5rem;
}
.mal-cart-vendor-subtotal{
  margin-top: 0.35rem;
  padding-top: 0.35rem;
}
.mal-panier-vendor .border-bottom{
  border-color: var(--mal-border) !important;
}

/* Checkout multi-boutiques */
.mal-checkout-steps{
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.75rem;
  align-items: center;
}
.mal-checkout-step{
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  font-size: 0.78rem;
  background: #fff;
  border: 1px solid var(--mal-border);
  color: var(--mal-muted);
}
.mal-checkout-step.is-active{
  border-color: var(--mal-primary);
  background: var(--mal-primary-light);
  color: var(--mal-primary);
  font-weight: 600;
}
.mal-checkout-step.is-done{
  border-color: rgba(22,163,74,.35);
  color: var(--mal-success);
  background: rgba(22,163,74,.08);
}
.mal-checkout-step-num{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 800;
  background: var(--mal-card2);
}
.mal-checkout-step.is-active .mal-checkout-step-num{
  background: var(--mal-primary);
  color: #fff;
}
.mal-checkout-step.is-done .mal-checkout-step-num{
  background: rgba(34,197,94,.25);
  color: #86efac;
}
.mal-checkout-vendor-block{
  padding: 0.65rem 0.75rem;
  border-radius: 10px;
  background: #fff;
  border: 1px solid var(--mal-border);
}

/* Checkout — sélection créneau (jour + horaire) */
.mal-checkout-progress{
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
}
.mal-checkout-progress li{
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1 1 0;
  min-width: 5.5rem;
  text-align: center;
  font-size: 0.72rem;
  color: var(--mal-muted);
  padding: 0 0.25rem;
  line-height: 1.25;
}
.mal-checkout-progress li:not(:last-child)::after{
  content: "";
  position: absolute;
  top: 1rem;
  left: calc(50% + 1rem);
  width: calc(100% - 2rem);
  height: 2px;
  background: var(--mal-border);
  z-index: 0;
  pointer-events: none;
}
.mal-checkout-progress-label{
  position: relative;
  z-index: 1;
  margin-top: 0.35rem;
  padding: 0 0.15rem;
  max-width: 7.5rem;
}
.mal-checkout-progress li.is-done:not(:last-child)::after,
.mal-checkout-progress li.is-active:not(:last-child)::after{
  background: var(--mal-primary);
}
.mal-checkout-progress-num{
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  border: 2px solid var(--mal-border);
  background: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--mal-muted);
  margin-bottom: 0;
}
.mal-checkout-progress li.is-done .mal-checkout-progress-num{
  border-color: var(--mal-primary);
  color: var(--mal-primary);
  background: var(--mal-primary-light);
}
.mal-checkout-progress li.is-done .mal-checkout-progress-num::after{
  content: "✓";
  font-size: 0.9rem;
}
.mal-checkout-progress li.is-done .mal-checkout-progress-num span{
  display: none;
}
.mal-checkout-progress li.is-active{
  color: var(--mal-text);
  font-weight: 700;
}
.mal-checkout-progress li.is-active .mal-checkout-progress-num{
  border-color: var(--mal-primary);
  background: var(--mal-primary);
  color: #fff;
}

.mal-slot-vendor-summary{
  padding: 0.85rem 1rem;
  border: 1px solid var(--mal-border);
  border-radius: 12px;
  background: #fff;
  margin-bottom: 1.25rem;
  font-size: 0.92rem;
}
.mal-slot-vendor-summary a{
  font-size: 0.85rem;
  font-weight: 600;
}
.mal-slot-picker-hint{
  font-size: 0.9rem;
  color: var(--mal-muted);
  margin-bottom: 1rem;
}
.mal-slot-date-picker{
  display: flex;
  align-items: stretch;
  gap: 0.35rem;
  margin-bottom: 1.25rem;
}
.mal-slot-date-nav{
  flex: 0 0 2.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: var(--mal-primary);
  font-size: 1.75rem;
  line-height: 1;
  padding: 0;
  cursor: pointer;
}
.mal-slot-date-nav:hover:not(:disabled){
  background: var(--mal-primary-light);
}
.mal-slot-date-nav:disabled{
  opacity: 0.35;
  cursor: not-allowed;
}
.mal-slot-date-viewport{
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  padding-bottom: 0.35rem;
}
.mal-slot-date-track{
  display: flex;
  gap: 0.5rem;
  width: 100%;
}
.mal-slot-date-btn{
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  padding: 0.65rem 0.35rem 0.85rem;
  border: none;
  border-radius: 8px;
  background: #3d3d3d;
  color: #fff;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .15s ease;
}
.mal-slot-date-btn[hidden]{
  display: none !important;
}
.mal-slot-date-btn:hover{
  background: #525252;
}
.mal-slot-date-btn.is-active{
  background: #6b6b6b;
}
.mal-slot-date-btn.is-active::after{
  content: "";
  position: absolute;
  left: 50%;
  bottom: -8px;
  transform: translateX(-50%);
  border: 7px solid transparent;
  border-top-color: var(--mal-primary);
}
.mal-slot-time-group{
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}
.mal-slot-time-choice{
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0;
  padding: 0.7rem 1rem;
  border-radius: 8px;
  background: #3d3d3d;
  color: #fff;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background .15s ease, border-color .15s ease;
}
.mal-slot-time-choice:hover{
  background: #525252;
}
.mal-slot-time-choice:has(input:checked){
  border-color: var(--mal-primary);
  background: #4a4a4a;
  box-shadow: 0 0 0 1px rgba(123,31,58,.25);
}
.mal-slot-time-choice input{
  width: 1rem;
  height: 1rem;
  margin: 0;
  accent-color: var(--mal-primary);
  flex-shrink: 0;
}
.mal-slot-time-choice.is-full{
  opacity: 0.55;
  cursor: not-allowed;
  background: #2a2a2a;
}
.mal-slot-time-choice.is-full:hover{
  background: #2a2a2a;
}
.mal-slot-date-btn.is-closed{
  opacity: 0.4;
  text-decoration: line-through;
  cursor: not-allowed;
}
.mal-fulfillment-mode{
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1rem;
  border: 1px solid var(--mal-border);
  border-radius: 10px;
  cursor: pointer;
  margin: 0;
  background: rgba(255,255,255,.04);
  transition: border-color .15s ease, background .15s ease;
}
.mal-fulfillment-mode:has(input:checked){
  border-color: var(--mal-primary);
  background: rgba(123,31,58,.12);
}
.mal-fulfillment-mode input{
  margin: 0;
  accent-color: var(--mal-primary);
}
.mal-delivery-zone-info{
  padding: 0.85rem 1rem;
  border-radius: 10px;
  border: 1px solid rgba(123,31,58,.35);
  background: rgba(123,31,58,.08);
}
.mal-delivery-zone-info-title{
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 0.55rem;
  color: var(--mal-primary);
}
.mal-delivery-zone-info-list li{
  font-size: 0.88rem;
  line-height: 1.45;
  margin-bottom: 0.35rem;
  color: var(--mal-text);
}
.mal-delivery-zone-info-list li .bi{
  color: var(--mal-primary);
}
.mal-delivery-zone-info-list li:last-child{
  margin-bottom: 0;
}
.mal-delivery-zone-info-label{
  color: var(--mal-muted);
}
.mal-delivery-zone-info-value{
  font-weight: 600;
  color: var(--mal-text);
}
.mal-delivery-zone-info--compact{
  padding: 0.65rem 0.85rem;
}
.mal-delivery-zone-info--compact .mal-delivery-zone-info-title{
  font-size: 0.75rem;
  margin-bottom: 0.4rem;
}
.mal-delivery-zone-info--compact .mal-delivery-zone-info-list li{
  font-size: 0.82rem;
}
.mal-slot-picker-foot{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0.5rem;
}
.mal-slot-picker-info{
  flex: 1 1 14rem;
  font-size: 0.82rem;
  color: var(--mal-muted);
  margin: 0;
}
.mal-slot-validation-hint{
  font-size: 0.85rem;
  color: var(--mal-danger);
  margin-bottom: 0.75rem;
}
@media (max-width: 575.98px){
  .mal-checkout-progress li{
    min-width: 4.5rem;
    font-size: 0.65rem;
  }
  .mal-slot-time-choice{
    flex: 1 1 100%;
  }
}
.mal-payment-choice{
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--mal-border);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  margin: 0;
}
.mal-payment-choice:has(input:checked){
  border-color: var(--mal-primary);
  box-shadow: 0 0 0 1px rgba(99, 16, 16, 0.15);
}
.mal-payment-choice input{
  margin-top: 0.2rem;
  flex-shrink: 0;
}
.mal-payment-choice strong{
  display: block;
  color: #1a1a1a;
}

.dash-main .nav-pills .nav-link.active{
  color: #fff;
  background: var(--mal-primary);
  border-color: transparent;
}

/* Page Boutique */
.mal-boutique-hero{
  position: relative;
  min-height: 320px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
@media (min-width: 768px){
  .mal-boutique-hero{ min-height: 380px; }
}
.mal-boutique-hero-bg{
  position: absolute;
  inset: 0;
}
.mal-boutique-hero-bg::after{
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(15,23,42,.78) 0%, rgba(15,23,42,.45) 55%, rgba(15,23,42,.25) 100%);
}
.mal-boutique-hero-bg img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.mal-boutique-hero-inner{
  position: relative;
  z-index: 1;
  padding: 3rem 0;
  color: #fff;
  max-width: 640px;
}
.mal-boutique-hero-title{
  margin: 0 0 0.75rem;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.mal-boutique-hero-lead{
  margin: 0 0 1.5rem;
  font-size: 1.05rem;
  color: rgba(255,255,255,.9);
  line-height: 1.5;
}
.mal-boutique-hero-search .form-control{
  border: none;
  box-shadow: 0 4px 20px rgba(0,0,0,.12);
}
.mal-boutique-categories{
  background: #fdfaf7;
  padding: 2.5rem 0;
}
.mal-boutique-section-title{
  margin: 0 0 1.5rem;
  font-size: clamp(1.5rem, 3vw, 1.85rem);
  font-weight: 800;
  color: #111827;
  letter-spacing: -0.02em;
}
.mal-boutique-categories-row{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem 1.5rem;
}
.mal-boutique-cat{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: #374151;
  min-width: 88px;
  transition: transform .15s ease, color .15s ease;
}
.mal-boutique-cat:hover{
  color: #631010;
  transform: translateY(-2px);
}
.mal-boutique-cat.is-active .mal-boutique-cat-icon{
  border-color: #631010;
  box-shadow: 0 0 0 3px rgba(99,16,16,.12);
}
.mal-boutique-cat-icon{
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 999px;
  border: 1px solid #e5e7eb;
  background: #fff;
}
.mal-boutique-cat-icon.mal-metier-card-icon{
  width: 44px;
  height: 44px;
  margin: 0;
  border: none;
  background-color: transparent;
}
.mal-boutique-cat-label{
  font-size: 0.82rem;
  font-weight: 600;
  text-align: center;
  line-height: 1.25;
}
.mal-show-all-vendors.is-active{
  background: rgba(99, 16, 16, 0.12);
  border-color: #631010;
  color: #631010;
}
.mal-boutique-reset{
  color: #631010;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-size: 0.9rem;
}
.mal-boutique-reset:hover{
  color: #4f0c0c;
}
.mal-boutique-artisans{
  background: #fff;
  padding: 2.5rem 0 3.5rem;
}
.mal-boutique-artisans-head{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}
.mal-boutique-artisans-status{
  font-size: 0.9rem;
  color: var(--mal-muted);
  min-height: 1.5rem;
  margin-bottom: 1rem;
}
.mal-boutique-artisans-status:empty,
.mal-boutique-artisans-status[hidden]{
  display: none;
}
.mal-boutique-artisans-grid{
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 1.25rem;
}
@media (min-width: 768px){
  .mal-boutique-artisans-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 992px){
  .mal-boutique-artisans-grid{
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.mal-boutique-card{
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  background: #fff;
  border: 1px solid var(--mal-border);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 6px 22px rgba(15,23,42,.06);
  transition: transform .18s ease, box-shadow .18s ease;
  height: 100%;
}
.mal-boutique-card:hover{
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(15,23,42,.12);
  color: inherit;
}
.mal-boutique-card-media{
  position: relative;
  aspect-ratio: 16 / 10;
  background: #f3f4f6;
  overflow: hidden;
}
.mal-boutique-card-media img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.mal-boutique-card-ph{
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: #9ca3af;
}
.mal-boutique-card-featured{
  position: absolute;
  top: 0.65rem;
  left: 0.65rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  color: #fff;
  background: rgba(99,16,16,.92);
}
.mal-boutique-card-body{
  padding: 1rem 1.1rem 1.15rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.mal-boutique-card-title{
  margin: 0 0 0.2rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: #111827;
  line-height: 1.3;
}
.mal-boutique-card-category{
  margin: 0 0 0.5rem;
  font-size: 0.88rem;
  color: var(--mal-muted);
}
.mal-boutique-card-meta{
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.25rem 0.5rem;
  margin-bottom: 0.45rem;
  font-size: 0.88rem;
}
.mal-boutique-card-rating{
  color: #631010;
  font-weight: 700;
}
.mal-boutique-card-rating .bi-star-fill{
  font-size: 0.8rem;
}
.mal-boutique-card-rating-muted{
  color: var(--mal-muted);
  font-size: 0.82rem;
}
.mal-boutique-card-reviews{
  color: var(--mal-muted);
  font-weight: 500;
}
.mal-boutique-card-service{
  margin: 0;
  margin-top: auto;
  font-size: 0.82rem;
  color: #6b7280;
}
.mal-boutique-pagination{
  margin-top: 2rem;
}

/* Filtres catalogue boutique vendeur */
.mal-shop-filters{
  background: #fff;
  border: 1px solid var(--mal-border);
  border-radius: 14px;
  padding: 1.15rem 1.1rem;
  box-shadow: 0 6px 22px rgba(15,23,42,.05);
  position: sticky;
  top: 1rem;
}
.mal-shop-filters-block{
  margin: 0;
  padding: 0 0 1rem;
  border: 0;
  border-bottom: 1px solid #ececec;
}
.mal-shop-filters-block:last-of-type{
  border-bottom: 0;
  padding-bottom: 0;
}
.mal-shop-filters-title{
  display: block;
  width: 100%;
  margin: 0 0 0.65rem;
  padding: 0;
  font-size: 0.95rem;
  font-weight: 700;
  color: #111827;
  float: none;
}
.mal-shop-filters-list{
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.mal-shop-filters-check{
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0;
  cursor: pointer;
  font-size: 0.9rem;
  color: #374151;
  user-select: none;
}
.mal-shop-filters-check input[type="checkbox"]{
  width: 1rem;
  height: 1rem;
  margin: 0;
  accent-color: var(--mal-primary, #7B1F3A);
  flex-shrink: 0;
}
.mal-shop-filters-check.is-checked span,
.mal-shop-filters-check:has(input:checked) span{
  color: var(--mal-primary, #7B1F3A);
  font-weight: 600;
}
.mal-shop-filters-actions{
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #ececec;
}
.mal-shop-filters-count{
  color: var(--mal-primary, #7B1F3A);
  font-weight: 600;
}

/* Vendeur — carte de visite boutique (85×55 mm) */
.mal-vendor-card-preview-wrap{
  display: flex;
  justify-content: center;
  padding: 1rem 0;
}
.mal-vendor-shop-card{
  width: 100%;
  max-width: 520px;
  aspect-ratio: 85 / 55;
  background: linear-gradient(90deg, var(--mal-card-bg, #f9f7f2) 0%, #fff 100%);
  border: 2px solid color-mix(in srgb, var(--mal-card-primary, #631010) 12%, transparent);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 14px 36px rgba(15,23,42,.12);
  color: var(--mal-card-text, #111827);
  display: flex;
  flex-direction: column;
}
.mal-vendor-shop-card-header{
  background: var(--mal-card-primary, #631010);
  color: #fff;
  padding: 0.45rem 0.85rem;
  flex-shrink: 0;
}
.mal-vendor-shop-card-brand{
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}
.mal-vendor-shop-card-main{
  flex: 1;
  display: flex;
  gap: 0.65rem;
  padding: 0.65rem 0.75rem 0.55rem;
  min-height: 0;
}
.mal-vendor-shop-card-left{
  flex: 0 0 38%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
}
.mal-vendor-shop-card-right{
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
  text-align: left;
}
.mal-vendor-shop-card-logo{
  width: 40px;
  height: 40px;
  border-radius: 999px;
  object-fit: cover;
  border: 1px solid rgba(99,16,16,.15);
}
.mal-vendor-shop-card-name{
  margin: 0;
  font-size: clamp(0.85rem, 2.2vw, 1rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--mal-card-text, #111827);
}
.mal-vendor-shop-card-city{
  margin: 0.15rem 0 0;
  font-size: 0.68rem;
  color: var(--mal-card-muted, #6b7280);
}
.mal-vendor-shop-card-custom{
  margin: 0.2rem 0 0;
  font-size: 0.65rem;
  line-height: 1.3;
  color: var(--mal-card-text, #111827);
}
.mal-vendor-shop-card-tagline{
  margin: 0.35rem 0 0.2rem;
  font-size: 0.62rem;
  font-weight: 600;
  color: var(--mal-card-primary, #631010);
}
.mal-vendor-shop-card-qr{
  width: 100%;
  padding: 0.35rem;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 14px rgba(15,23,42,.08);
}
.mal-vendor-shop-card-url{
  margin: 0;
  font-size: 0.52rem;
  line-height: 1.35;
  word-break: break-all;
  color: var(--mal-card-muted, #6b7280);
  font-family: ui-monospace, Consolas, monospace;
}
.mal-vendor-shop-card-footer{
  margin: 0.25rem 0 0;
  font-size: 0.58rem;
  font-weight: 600;
  color: var(--mal-card-accent, #4f0c0c);
}
.mal-vendor-card-design .form-control-color{
  min-height: 2.5rem;
  padding: 0.2rem;
}

/* Responsive global */
html{
  overflow-x: clip;
}
body{
  overflow-x: clip;
}
img,
video,
svg{
  max-width: 100%;
  height: auto;
}
@media (max-width: 991.98px){
  .mal-navbar .navbar-collapse{
    padding-top: 0.65rem;
    margin-top: 0.35rem;
    border-top: 1px solid var(--mal-border);
  }
  .mal-navbar-center{
    width: 100%;
    margin: 0 0 0.65rem !important;
  }
  .mal-navbar-center .nav-item{
    width: 100%;
  }
  .mal-navbar-center .nav-link{
    padding: 0.7rem 0.85rem;
    border-radius: 10px;
    width: 100%;
  }
  .mal-nav-link--active::after{
    display: none;
  }
  .mal-nav-link--active{
    background: var(--mal-primary-light);
  }
  .mal-navbar-end{
    width: 100%;
    flex-direction: column;
    align-items: stretch !important;
    justify-content: flex-start !important;
    gap: 0.5rem !important;
    padding-top: 0.65rem;
    border-top: 1px solid var(--mal-border);
  }
  .mal-navbar-end .btn-sm{
    width: 100%;
    flex: none;
    justify-content: center;
    padding-top: 0.55rem;
    padding-bottom: 0.55rem;
  }
  .mal-navbar-end .mal-nav-auth-link{
    display: block;
    width: 100%;
    text-align: center;
    padding: 0.55rem;
  }
  .mal-navbar-end .mal-nav-signup-btn{
    width: 100%;
  }
  .mal-pill--nav{
    width: 100%;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}
@media (max-width: 575.98px){
  .mal-navbar-brand{
    max-width: calc(100% - 8.75rem);
  }
  .mal-nav-signup-btn{
    padding-inline: 0.75rem;
    font-size: 0.82rem;
  }
  .mal-nav-quick-actions--mobile{
    gap: 0.2rem !important;
  }
  .mal-nav-quick-actions--mobile .mal-cart-trigger,
  .mal-nav-quick-actions--mobile .mal-wishlist-nav-link,
  .mal-nav-quick-actions--mobile .mal-notif-trigger{
    width: 2.15rem;
    height: 2.15rem;
    font-size: 0.92rem;
  }
  .mal-navbar-toggler{
    padding: 0.25rem 0.4rem;
  }
}
@media (max-width: 380px){
  .mal-brand-logo{
    height: 62px;
    max-width: min(240px, 58vw);
  }
  .mal-navbar-brand{
    max-width: calc(100% - 7.75rem);
  }
}

@media (max-width: 991.98px){
  main .d-flex.justify-content-between.align-items-end,
  main .d-flex.flex-wrap.justify-content-between.align-items-end{
    gap: 0.75rem;
  }
  main .d-flex.justify-content-between.align-items-end > .btn,
  main .d-flex.flex-wrap.justify-content-between.align-items-end > .btn{
    width: 100%;
  }
  .mal-checkout-progress li{
    min-width: 4.25rem;
    font-size: 0.62rem;
  }
  .mal-checkout-progress-num{
    width: 1.75rem;
    height: 1.75rem;
    font-size: 0.78rem;
  }
  .mal-checkout-progress li:not(:last-child)::after{
    top: 0.875rem;
    left: calc(50% + 0.875rem);
    width: calc(100% - 1.75rem);
  }
  .mal-slot-date-btn{
    font-size: 0.72rem;
    padding: 0.55rem 0.2rem 0.75rem;
  }
  .mal-slot-picker-foot{
    flex-direction: column;
    align-items: stretch;
  }
  .mal-slot-picker-foot .btn-malp{
    width: 100%;
  }
  .mal-footer-inner .row > [class*="col-"]{
    margin-bottom: 0.25rem;
  }
  .table{
    font-size: 0.88rem;
  }
  .mal-card .card-body{
    padding: 0.9rem;
  }
}
@media (max-width: 575.98px){
  .mal-product-shop-card-form .mal-qty-stepper--card{
    width: 100%;
  }
  .mal-shop-filters{
    position: static !important;
  }
  .mal-page-hero{
    padding: 2rem 0 1.25rem;
  }
  .mal-page-hero-title{
    font-size: clamp(1.45rem, 6vw, 2rem);
  }
  .mal-slot-time-choice{
    flex: 1 1 100%;
  }
  .mal-slot-date-nav{
    flex-basis: 1.75rem;
  }
  .mal-checkout-steps{
    flex-direction: column;
    align-items: stretch;
  }
  .mal-checkout-step{
    width: 100%;
    justify-content: flex-start;
  }
}

@media print{
  body{ background: #fff !important; color:#111827 !important; }
  .dash-sidebar, .mal-navbar, .mal-footer, .btn, .pagination, form { display:none !important; }
  .dash-main{ padding: 0 !important; }
  .mal-card{ box-shadow:none !important; border: 1px solid #e5e7eb !important; background:#fff !important; }
  .table{ color:#111827 !important; }
  .text-muted-mal{ color:#4b5563 !important; }
}

/* ——— Programme fidélité ——— */
.mal-loyalty-card{
  border: 1px solid var(--mal-border);
  overflow: hidden;
}
.mal-loyalty-card--points{ border-top: 3px solid #f59e0b; }
.mal-loyalty-card--wallet{ border-top: 3px solid #10b981; }
.mal-loyalty-card--rewards{ border-top: 3px solid #6366f1; }
.mal-loyalty-card-label{
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--mal-muted);
  margin-bottom: .35rem;
}
.mal-loyalty-card-value{
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1.1;
}
.mal-loyalty-progress .progress{
  height: 8px;
  background: rgba(255,255,255,.08);
  border-radius: 999px;
}
.mal-loyalty-progress .progress-bar{
  background: linear-gradient(90deg, #f59e0b, #fbbf24);
  border-radius: 999px;
}
.mal-loyalty-coupon{
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .75rem;
  padding: .75rem 1rem;
  border: 1px dashed var(--mal-border);
  border-radius: .75rem;
  background: rgba(255,255,255,.02);
}
#mal-loyalty-panel .form-control,
#mal-loyalty-panel .btn{
  font-size: .875rem;
}

/* ——— Fidélité vendeur ——— */
.mal-vendor-loyalty-intro{
  border: 1px solid var(--mal-border);
  background: linear-gradient(135deg, rgba(99,102,241,.08), rgba(245,158,11,.06));
}
.mal-vendor-loyalty-step{
  display: flex;
  gap: .75rem;
  align-items: flex-start;
}
.mal-vendor-loyalty-step-num{
  flex-shrink: 0;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  background: var(--mal-primary);
  color: #fff;
  font-size: .85rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.mal-vendor-loyalty-preview{
  padding: .75rem 1rem;
  border-radius: .5rem;
  background: rgba(255,255,255,.04);
  border: 1px dashed var(--mal-border);
  color: var(--mal-muted);
}
.dash-main .nav-pills .nav-link{
  color: var(--mal-muted);
  border: 1px solid var(--mal-border);
}
.dash-main .nav-pills .nav-link.active{
  background: var(--mal-primary);
  border-color: var(--mal-primary);
  color: #fff;
}

/* Abonnements vendeurs */
.mal-plan-badge{
  display: inline-block;
  padding: .2rem .55rem;
  border-radius: 999px;
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.mal-plan-badge--free{ background: rgba(255,255,255,.1); color: var(--mal-muted); }
.mal-plan-badge--premium{ background: linear-gradient(135deg,#6b4ce6,#3d7cf5); color: #fff; }
.mal-plan-badge--pro{ background: linear-gradient(135deg,#0ea5e9,#2563eb); color: #fff; }
.mal-plan-badge--elite{ background: linear-gradient(135deg,#f59e0b,#ef4444); color: #fff; }
.mal-plan-card{ border: 1px solid var(--mal-border); transition: border-color .2s; }
.mal-plan-card--current{ border-color: var(--mal-primary); box-shadow: 0 0 0 1px rgba(61,124,245,.35); }
.mal-plan-price{ font-size: 1.35rem; font-weight: 700; }
.mal-upgrade-gate .mal-upgrade-gate-icon{ font-size: 2rem; color: var(--mal-primary); opacity: .85; }
.mal-upgrade-hint{ border: 1px dashed var(--mal-border); background: rgba(61,124,245,.06); }
.mal-haccp-promo{
  border: 1px solid rgba(34, 139, 84, .28);
  background: linear-gradient(135deg, rgba(34, 139, 84, .08), rgba(61, 124, 245, .06));
}
.mal-haccp-promo-icon{
  width: 2.5rem;
  height: 2.5rem;
  border-radius: .65rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: rgba(34, 139, 84, .15);
  color: #1f7a4d;
  font-size: 1.25rem;
}
.mal-boutique-card-media .mal-plan-badge{ position: absolute; top: .5rem; left: .5rem; z-index: 2; }
.mal-shop-promo{
  padding: .5rem .75rem;
  border-radius: .5rem;
  background: rgba(61,124,245,.15);
  border: 1px solid rgba(61,124,245,.35);
  font-size: .9rem;
}

/* Page boutique vendeur — en-tête sections */
.mal-shop-page{
  background: var(--mal-bg);
}
.mal-shop-page-top{
  background: #fff;
}
.mal-shop-welcome-wrap{
  padding: 1.35rem 0 0.85rem;
}
.mal-shop-back-link{
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: #9ca3af;
  text-decoration: none;
  margin-bottom: 0.5rem;
}
.mal-shop-back-link:hover{
  color: var(--mal-primary);
}
.mal-shop-welcome{
  margin: 0;
  font-size: 1rem;
  font-weight: 400;
  color: #1f2937;
  line-height: 1.4;
}
.mal-shop-welcome strong{
  font-weight: 700;
  color: #111827;
}

/* Hero — image pleine largeur, texte à gauche, thème boutique */
.mal-shop-hero{
  margin: 0;
  min-height: 220px;
  align-items: stretch;
  justify-content: flex-start;
}
@media (min-width: 768px){
  .mal-shop-hero{ min-height: 280px; }
}
@media (min-width: 992px){
  .mal-shop-hero{ min-height: 320px; }
}
.mal-shop-hero > .container{
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  width: 100%;
}
.mal-shop-hero .mal-boutique-hero-bg img{
  object-position: left center;
}
.mal-shop-hero .mal-boutique-hero-bg::after{
  background: linear-gradient(
    100deg,
    rgba(15, 23, 42, 0.78) 0%,
    rgba(123, 31, 58, 0.48) 34%,
    rgba(123, 31, 58, 0.14) 54%,
    transparent 74%
  );
}
.mal-shop-hero-inner{
  padding: 0 0 1.75rem !important;
  max-width: min(560px, 100%);
  margin: 0;
  text-align: left;
}
@media (min-width: 768px){
  .mal-shop-hero-inner{ padding-bottom: 2.25rem !important; }
}
.mal-shop-hero .mal-boutique-hero-title{
  margin: 0;
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  font-weight: 800;
  line-height: 1.2;
  text-align: left;
  text-shadow: 0 2px 16px rgba(15, 23, 42, 0.45);
}

/* Barre livraison */
.mal-shop-info-bar{
  background: #fff;
  border-bottom: 1px solid #ececec;
  padding: 1rem 0;
}
.mal-shop-info-bar-inner{
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}
.mal-shop-info-icon{
  flex-shrink: 0;
  line-height: 1;
  padding-top: 0.15rem;
  color: var(--mal-primary);
  font-size: 1.4rem;
}
.mal-shop-info-text{
  flex: 1;
  min-width: 0;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: #374151;
}
.mal-shop-info-text p + p{
  margin-top: 0.1rem;
}
.mal-shop-info-text strong{
  color: var(--mal-primary);
  font-weight: 700;
}
.mal-shop-info-rating{
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.4rem 0.6rem;
  margin-top: 0.35rem !important;
  color: #6b7280 !important;
  font-size: 0.875rem !important;
}
.mal-shop-info-rating .mal-review-stars{
  color: #f59e0b;
  font-size: 0.85rem;
}

.mal-shop-open-badge{
  display: inline-block;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  background: #f3f4f6;
  color: #4b5563;
}
.mal-shop-open-badge.is-open,
.mal-shop-open-badge--open,
.mal-shop-open-badge--closing_soon{
  background: var(--mal-primary-light);
  color: var(--mal-primary);
}
.mal-shop-open-badge--lunch,
.mal-shop-open-badge--closed,
.mal-shop-open-badge--before_open,
.mal-shop-open-badge--busy{
  background: #fef3c7;
  color: #92400e;
}

.mal-shop-hours{
  margin-top: 1.25rem;
  padding-top: 1.15rem;
  border-top: 1px solid #ececec;
}
.mal-shop-tab-panel[data-shop-panel="horaires"] .mal-shop-hours{
  margin-top: 1rem;
  padding-top: 0;
  border-top: 0;
}
.mal-shop-hours-intro{
  margin-bottom: 0.25rem;
}
.mal-shop-hours-extra{
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #f3f4f6;
  font-size: 0.9rem;
  color: #374151;
}
.mal-shop-hours-extra strong{
  color: var(--mal-primary);
}
.mal-shop-hours--compact{
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}
.mal-shop-hours-title{
  margin: 0 0 0.75rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: #111827;
}
.mal-shop-hours-table{
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.mal-shop-hours-table th,
.mal-shop-hours-table td{
  padding: 0.45rem 0;
  vertical-align: top;
  border-bottom: 1px solid #f3f4f6;
}
.mal-shop-hours-table th{
  width: 38%;
  font-weight: 600;
  color: #374151;
  padding-right: 0.75rem;
}
.mal-shop-hours-table td{
  color: #111827;
  font-weight: 500;
}
.mal-shop-hours-row.is-today th,
.mal-shop-hours-row.is-today td{
  color: var(--mal-primary);
}
.mal-shop-hours-row.is-closed td{
  color: #9ca3af;
}
.mal-shop-hours-today{
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--mal-primary);
}
.mal-shop-admin-row .mal-shop-hours-table th{
  width: 42%;
}

/* Onglets */
.mal-shop-tabs-section{
  background: #fff;
}
.mal-shop-tabs-header{
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 0.5rem;
  min-height: 44px;
  position: relative;
  isolation: isolate;
}
.mal-shop-tabs-header::before{
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  top: 0;
  bottom: 0;
  background: var(--mal-bg);
  z-index: -1;
}
.mal-shop-tabs,
.mal-shop-tabs-actions{
  position: relative;
  z-index: 1;
}
.mal-shop-tabs{
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  min-width: 0;
  flex: 1;
}
.mal-shop-tab{
  appearance: none;
  border: 0;
  background: #e5e7eb;
  color: #374151;
  font-weight: 600;
  font-size: 0.875rem;
  padding: 0.75rem 1.1rem;
  cursor: pointer;
  transition: background .15s ease, color .15s ease;
  line-height: 1.3;
}
.mal-shop-tab:hover{
  background: #eceef1;
  color: var(--mal-primary);
}
.mal-shop-tab.is-active{
  background: #fff;
  color: #111827;
  box-shadow: inset 0 -2px 0 var(--mal-primary);
}
.mal-shop-tabs-actions{
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0 0.15rem 0 0.5rem;
  flex-shrink: 0;
}
.mal-shop-icon-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: opacity .15s ease, transform .15s ease;
}
.mal-shop-icon-btn--heart,
.mal-shop-icon-btn--chat{
  width: 2.65rem;
  height: 2.65rem;
  border-radius: 999px;
  border: 0;
  background: var(--mal-primary);
  color: #fff;
  font-size: 1.1rem;
  box-shadow: 0 4px 14px rgba(123, 31, 58, 0.35);
}
.mal-shop-icon-btn--heart:hover,
.mal-shop-icon-btn--chat:hover{
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(123, 31, 58, 0.5);
}

/* Panneaux */
.mal-shop-tab-panels{
  background: #fff;
  border: 0;
  margin-bottom: 0;
}
.mal-shop-tab-panel{
  display: none;
}
.mal-shop-tab-panel.is-active{
  display: block;
}
.mal-shop-tab-panel-inner{
  padding: 1.35rem 0 1.75rem;
}
@media (min-width: 768px){
  .mal-shop-tab-panel-inner{ padding: 1.5rem 0 2rem; }
}
.mal-shop-panel-lead,
.mal-shop-empty{
  font-size: 0.875rem;
  color: var(--mal-muted);
  margin-bottom: 1rem;
}
.mal-shop-loyalty-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0.85rem;
  margin-bottom: 1rem;
}
.mal-shop-loyalty-stat{
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.9rem 1rem;
  border-radius: 14px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
}
.mal-shop-loyalty-stat-icon{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 10px;
  background: #ecfeff;
  color: #0f766e;
  flex-shrink: 0;
}
.mal-shop-loyalty-stat-label{
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #64748b;
}
.mal-shop-loyalty-stat-value{
  font-size: 1.1rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.25;
}
.mal-shop-loyalty-stat-hint{
  font-size: 0.8rem;
  color: #475569;
  margin-top: 0.15rem;
}
.mal-shop-loyalty-example{
  padding: 0.9rem 1rem;
  border-radius: 14px;
  background: #fffbeb;
  border: 1px solid #fde68a;
  color: #78350f;
  font-size: 0.9rem;
  line-height: 1.55;
  margin-bottom: 1rem;
}
.mal-shop-loyalty-wallet{
  padding: 1rem 1.1rem;
  border-radius: 14px;
  background: linear-gradient(135deg, #ecfdf5, #f0fdfa);
  border: 1px solid #6ee7b7;
}
.mal-shop-loyalty-wallet-title{
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #047857;
}
.mal-shop-loyalty-wallet-balance{
  font-size: 1.75rem;
  font-weight: 800;
  color: #065f46;
  line-height: 1.2;
  margin: 0.25rem 0 0.5rem;
}
.mal-shop-loyalty-login{
  font-size: 0.9rem;
  color: #475569;
}
.mal-shop-loyalty-login a{
  font-weight: 700;
  color: var(--mal-primary);
}
.mal-shop-desc-text{
  font-size: 0.975rem;
  line-height: 1.75;
  color: #374151;
  max-width: 68ch;
}
.mal-shop-desc-text.is-collapsed{
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.mal-shop-desc-more{
  appearance: none;
  border: 0;
  background: none;
  padding: 0;
  margin-top: 0.65rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--mal-primary);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.mal-shop-desc-more:hover{
  color: var(--mal-primary-hover);
}

.mal-branding-ambiance-preview{
  align-items: flex-start;
}

.mal-branding-ambiance-thumb{
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 1px solid rgba(15, 23, 42, 0.08);
}

.mal-branding-ambiance-item{
  position: relative;
  width: 88px;
  height: 88px;
  flex: 0 0 88px;
  overflow: hidden;
  border-radius: 0.375rem;
}

.mal-branding-ambiance-remove-form{
  position: absolute;
  top: 4px;
  right: 4px;
  margin: 0;
  z-index: 2;
}

.mal-branding-ambiance-remove{
  width: 1.65rem;
  height: 1.65rem;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  line-height: 1;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.18);
}

.mal-shop-ambiance-grid{
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 0.75rem;
  margin-top: 1.25rem;
}
.mal-shop-ambiance-item{
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: #f8fafc;
  aspect-ratio: 4 / 3;
}
.mal-shop-ambiance-item img{
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Badge artisan */
.mal-shop-direct-artisan{
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.25rem;
  padding: 0.45rem 0.75rem 0.45rem 0.5rem;
  border-radius: 6px;
  background: var(--mal-primary-light);
  border: 1px solid rgba(123, 31, 58, 0.12);
}
.mal-shop-direct-artisan-icon{
  color: var(--mal-primary);
  font-size: 1.1rem;
}
.mal-shop-direct-artisan-label{
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--mal-primary);
}
.mal-shop-direct-artisan-metier{
  font-size: 0.875rem;
  color: #374151;
}
.mal-shop-direct-artisan-metier::before{
  content: '·';
  margin-right: 0.4rem;
  color: #9ca3af;
}

/* Admin + avis dans onglets */
.mal-shop-admin-list{
  display: grid;
  gap: 0;
  border: 1px solid var(--mal-border);
  border-radius: 12px;
  overflow: hidden;
}
.mal-shop-admin-row{
  display: grid;
  grid-template-columns: minmax(130px, 200px) 1fr;
  gap: 0.75rem 1.25rem;
  font-size: 0.9375rem;
  padding: 0.9rem 1rem;
  background: #fff;
  border-bottom: 1px solid var(--mal-border);
}
.mal-shop-admin-row:last-child{
  border-bottom: 0;
}
.mal-shop-admin-row:nth-child(even){
  background: #fafbfc;
}
.mal-shop-admin-row dt{
  margin: 0;
  font-weight: 600;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #9ca3af;
}
.mal-shop-admin-row dd{
  margin: 0;
  color: #111827;
  line-height: 1.5;
}
.mal-review-list--shop .mal-review-card{
  padding: 1.1rem 0;
}
.mal-review-list--shop .mal-review-card:first-child{
  padding-top: 0;
}

/* Catalogue sous l'en-tête */
.mal-shop-page > .container{
  padding-top: 2rem !important;
  padding-bottom: 2.5rem !important;
}
.mal-shop-page .mal-shop-filters{
  box-shadow: var(--mal-shadow-soft);
}
.mal-shop-page .col-12.col-lg-9 > .d-flex h2{
  font-weight: 800;
  letter-spacing: -0.02em;
}

@media (max-width: 767.98px){
  .mal-shop-info-bar-inner{
    gap: 0.65rem;
  }
  .mal-shop-tabs-header{
    flex-wrap: wrap;
  }
  .mal-shop-tabs-actions{
    margin-left: auto;
  }
}
@media (max-width: 575.98px){
  .mal-shop-tabs{
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    width: 100%;
  }
  .mal-shop-tabs::-webkit-scrollbar{
    display: none;
  }
  .mal-shop-tab{
    white-space: nowrap;
    flex: 0 0 auto;
    font-size: 0.8125rem;
    padding: 0.65rem 0.85rem;
  }
  .mal-shop-tabs-header{
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
  }
  .mal-shop-admin-row{
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }
}

/* Vendor dashboard analytics */
.mal-kpi-card .h4,
.mal-kpi-card .h5{
  font-weight: 700;
  letter-spacing: -.02em;
}
.mal-kpi-card-icon{
  color: var(--mal-primary);
  opacity: .75;
  font-size: 1.1rem;
}
.mal-kpi-card--compact .card-body{
  min-height: 0;
}
.mal-vendor-dashboard .mal-dash-table thead th{
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--mal-muted);
  border-bottom-color: var(--mal-border);
}
.mal-vendor-dashboard .mal-dash-category-list li:last-child{
  border-bottom: 0 !important;
}

/* Assistant IA fiche produit */
.mal-product-ai-panel{
  padding: 1rem 1.1rem;
  border-radius: .75rem;
  border: 1px dashed rgba(123, 31, 58, .35);
  background: rgba(123, 31, 58, .05);
}
.mal-product-ai-keyword{
  display: inline-block;
  margin: 0 .35rem .35rem 0;
  padding: .2rem .55rem;
  border-radius: 999px;
  font-size: .75rem;
  background: rgba(61, 124, 245, .12);
  border: 1px solid rgba(61, 124, 245, .25);
  color: var(--mal-text, #1f2937);
}
.mal-product-ai-translate .btn{
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

/* Carte interactive */
.mal-map-page{ padding-bottom: 0; }
.mal-map-toolbar{
  background: var(--mal-surface, #fff);
  border-bottom: 1px solid var(--mal-border);
  position: sticky;
  top: 0;
  z-index: 500;
}
.mal-map-layout{
  display: flex;
  min-height: calc(100vh - 180px);
}
.mal-map-sidebar{
  width: 360px;
  max-width: 100%;
  flex-shrink: 0;
  border-right: 1px solid var(--mal-border);
  background: var(--mal-surface, #fff);
  display: flex;
  flex-direction: column;
  max-height: calc(100vh - 140px);
}
.mal-map-vendor-list{
  overflow-y: auto;
  flex: 1;
}
.mal-map-canvas-wrap{
  flex: 1;
  position: relative;
  min-height: 420px;
}
.mal-vendor-map--advanced{
  height: calc(100vh - 140px);
  min-height: 420px;
  width: 100%;
  border-radius: 0;
}
.mal-map-chip{
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .25rem .55rem;
  border-radius: 999px;
  border: 1px solid var(--mal-border);
  font-size: .75rem;
  cursor: pointer;
  user-select: none;
}
.mal-map-chip:has(input:checked){
  border-color: var(--mal-primary);
  background: rgba(123, 31, 58, .08);
}
.mal-map-list-card{
  display: block;
  width: 100%;
  text-align: left;
  padding: .85rem 1rem;
  border: 0;
  border-bottom: 1px solid var(--mal-border);
  background: transparent;
  cursor: pointer;
}
.mal-map-list-card:hover{ background: rgba(123, 31, 58, .04); }
.mal-map-badge{
  display: inline-block;
  font-size: .65rem;
  padding: .1rem .4rem;
  border-radius: 999px;
  background: rgba(61, 124, 245, .12);
  margin-right: .25rem;
}
.mal-map-marker{
  background: transparent;
  border: 0;
}
.mal-map-marker span{
  display: block;
  width: 18px;
  height: 18px;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  border: 2px solid #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,.25);
  margin: 6px 0 0 5px;
}
.mal-map-marker--open span{ background: #059669; }
.mal-map-marker--soon span{ background: #d97706; }
.mal-map-marker--closed span{ background: #6b7280; }
.mal-map-detail{
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  z-index: 800;
  width: min(340px, calc(100% - 2rem));
  background: var(--mal-surface, #fff);
  border: 1px solid var(--mal-border);
  border-radius: .75rem;
  padding: 1rem;
  box-shadow: 0 8px 30px rgba(0,0,0,.12);
}
.mal-map-detail-close{
  position: absolute;
  top: .35rem;
  right: .5rem;
  border: 0;
  background: transparent;
  font-size: 1.25rem;
  line-height: 1;
  opacity: .6;
}
.mal-map-detail-logo{
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: .5rem;
  margin-bottom: .5rem;
}
@media (max-width: 991.98px){
  .mal-map-layout{ flex-direction: column-reverse; }
  .mal-map-sidebar{
    width: 100%;
    max-height: 45vh;
    border-right: 0;
    border-top: 1px solid var(--mal-border);
  }
  .mal-vendor-map--advanced{ height: 50vh; min-height: 280px; }
}

/* Pages SEO local */
.mal-seo-local{ background: var(--mal-bg); padding-bottom: 2.5rem; }
.mal-seo-hero .mal-boutique-hero-inner{
  max-width: 720px;
}
.mal-seo-breadcrumb a{
  color: rgba(255,255,255,.82);
  text-decoration: none;
}
.mal-seo-breadcrumb a:hover{ color: #fff; }
.mal-seo-breadcrumb span[aria-current="page"]{ color: rgba(255,255,255,.95); }
.mal-seo-breadcrumb > span.mx-1{ color: rgba(255,255,255,.55); }
.mal-seo-hero-stat{
  margin: 0 0 1.25rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: rgba(255,255,255,.88);
}
.mal-seo-hero-search{ max-width: 100%; }
.mal-seo-custom-band{
  padding: 1.25rem 0 0;
}
.mal-seo-custom-text{
  padding: 1rem 1.25rem;
  font-size: .95rem;
  line-height: 1.6;
  color: #374151;
  background: #fff;
  border: 1px solid var(--mal-border);
  border-radius: 14px;
}
.mal-seo-section{ padding: 2.5rem 0 0; }
.mal-seo-vendors{
  margin-top: 2.5rem;
}
.mal-seo-empty{
  text-align: center;
  padding: 2.5rem 1.5rem;
  background: #fff;
  border: 1px solid var(--mal-border);
  border-radius: 16px;
  box-shadow: 0 6px 22px rgba(15,23,42,.05);
}
.mal-seo-empty-icon{
  width: 4rem;
  height: 4rem;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--mal-primary-light);
  color: var(--mal-primary);
  font-size: 1.75rem;
}
.mal-seo-empty-title{
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: .5rem;
}
.mal-seo-empty-text{
  color: var(--mal-muted);
  max-width: 42ch;
  margin: 0 auto 1.25rem;
  line-height: 1.6;
}
.mal-seo-products{
  background: #fff;
  border-top: 1px solid var(--mal-border);
  border-bottom: 1px solid var(--mal-border);
  padding: 2.5rem 0;
  margin-top: 2.5rem;
}
.mal-seo-reviews-grid{
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 1rem;
}
@media (min-width: 768px){
  .mal-seo-reviews-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.mal-seo-review-card{
  background: #fff;
  border: 1px solid var(--mal-border);
  border-radius: 14px;
  padding: 1.25rem;
  height: 100%;
}
.mal-seo-review-head{
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: .75rem;
  margin-bottom: .75rem;
}
.mal-seo-review-text{
  font-size: .92rem;
  line-height: 1.55;
  margin-bottom: .5rem;
  color: #374151;
}
.mal-seo-review-author{
  font-size: .82rem;
  color: var(--mal-muted);
}
.mal-seo-faq{
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--mal-border);
  box-shadow: 0 4px 18px rgba(15,23,42,.04);
}
.mal-seo-faq .accordion-item{
  border-color: var(--mal-border);
}
.mal-seo-faq .accordion-button{
  font-weight: 600;
  font-size: .95rem;
  padding: 1rem 1.25rem;
}
.mal-seo-faq .accordion-button:not(.collapsed){
  background: var(--mal-primary-light);
  color: var(--mal-primary);
  box-shadow: none;
}
.mal-seo-faq .accordion-body{
  font-size: .92rem;
  line-height: 1.6;
  color: #374151;
}
.mal-seo-links-band{
  background: #fdfaf7;
  border-top: 1px solid var(--mal-border);
  padding: 2.5rem 0 3rem;
  margin-top: 2.5rem;
}
.mal-seo-links-grid{
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 1rem;
}
@media (min-width: 768px){
  .mal-seo-links-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 992px){
  .mal-seo-links-grid{
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.mal-seo-links-card{
  background: #fff;
  border: 1px solid var(--mal-border);
  border-radius: 14px;
  padding: 1.25rem;
  height: 100%;
}
.mal-seo-links-card-title{
  font-size: .95rem;
  font-weight: 700;
  margin-bottom: .75rem;
  color: #111827;
}
.mal-seo-link-list{
  margin: 0;
  padding: 0;
  list-style: none;
}
.mal-seo-link-list li{ margin-bottom: .4rem; }
.mal-seo-link-list a{
  font-weight: 500;
  font-size: .9rem;
  text-decoration: none;
  color: var(--mal-primary);
}
.mal-seo-link-list a:hover{ text-decoration: underline; }
.mal-seo-score-badge{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 4rem;
  padding: .35rem .75rem;
  border-radius: 999px;
  background: var(--mal-primary);
  color: #fff;
  font-weight: 700;
}
.mal-seo-local-map{
  height: 360px;
  border-radius: 14px;
  border: 1px solid var(--mal-border);
  overflow: hidden;
  background: #eef2f7;
  box-shadow: 0 6px 22px rgba(15,23,42,.06);
  position: relative;
  z-index: 0;
}
.mal-seo-local-map.leaflet-container{
  width: 100%;
}
@media (min-width: 768px){
  .mal-seo-local-map{ height: 420px; }
}

/* Vendeur — horaires avec pause déjeuner */
.mal-hours-table-wrap{
  margin: 0 -0.25rem;
}
.mal-hours-table th{
  font-size: 0.78rem;
  white-space: nowrap;
}
.mal-hours-table .form-control-sm{
  min-width: 6.5rem;
}
.mal-hours-row--closed td{
  opacity: 0.55;
}
@media (max-width: 991.98px){
  .mal-hours-table thead{
    display: none;
  }
  .mal-hours-table tr{
    display: block;
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--mal-border);
  }
  .mal-hours-table td{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.35rem 0;
    border: 0;
  }
  .mal-hours-table td::before{
    content: attr(data-label);
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--mal-muted);
    flex-shrink: 0;
  }
  .mal-hours-day{
    font-weight: 700;
    font-size: 0.95rem;
    color: #111827;
    padding-bottom: 0.5rem !important;
  }
  .mal-hours-day::before{
    display: none;
  }
  .mal-hours-table .form-control-sm{
    width: auto;
    flex: 1;
    max-width: 9rem;
  }
}
