/* ================================================================
   Thalia's Traiteur — Editorial / Premium redesign layer
   Loaded AFTER style.css to override the template look.
   Theme-aware (uses the semantic tokens). Moving away from the
   template toward a magazine-like, minimal, upscale identity.
   ================================================================ */

/* ---------- Foundation ---------- */
.container {
  max-width: 1180px;
}
section {
  padding: 112px 0;
}

/* Section eyebrow label — uppercase, tracked (replaces the cursive) */
.slbl {
  font-family: "Poppins", sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  color: var(--primary);
  display: inline-block;
  margin-bottom: 14px;
}

/* Section titles — big editorial serif */
.stitle {
  font-family: "Playfair Display", serif;
  font-weight: 800;
  font-size: clamp(2.1rem, 4.6vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -0.5px;
  color: var(--heading);
}
.stitle span {
  color: var(--primary);
  font-style: italic;
}

/* Thin refined rule instead of the gradient bar */
.sline {
  width: 44px;
  height: 2px;
  background: var(--primary);
  border-radius: 0;
  margin-top: 18px;
  margin-bottom: 18px;
}
.sline.lft {
  margin-left: 0;
}

.sdesc {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.9;
}

/* ---------- Editorial buttons ---------- */
.btn-red,
.btn-ed--solid {
  background: var(--primary);
  color: #fff;
  border: 1px solid var(--primary);
  border-radius: 6px;
  padding: 15px 30px;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.2px;
  box-shadow: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: transform 0.25s, background 0.25s;
}
.btn-red:hover,
.btn-ed--solid:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
  color: #fff;
  box-shadow: none;
}
.btn-ed--ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 6px;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--heading);
  border-bottom: 2px solid var(--heading);
  border-radius: 0;
  transition: gap 0.25s, color 0.25s, border-color 0.25s;
}
.btn-ed--ghost:hover {
  gap: 14px;
  color: var(--primary);
  border-color: var(--primary);
}

/* ---------- Navbar (refined) ---------- */
#nav {
  box-shadow: none;
  border-bottom: 1px solid var(--border);
}
.navbar-nav .nav-link {
  font-size: 0.82rem !important;
  letter-spacing: 0.4px;
  color: var(--text) !important;
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--primary) !important;
}
.nav-cta {
  background: var(--primary);
  border-radius: 6px;
  box-shadow: none;
  letter-spacing: 0.2px;
}
.nav-cta:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: none;
}
#navSearchBtn {
  color: var(--text-muted);
}

/* ---------- HERO (editorial) ---------- */
#hero {
  background: var(--bg);
  min-height: auto;
  padding: 0;
  overflow: hidden;
}
#hero .hs {
  display: none;
}
#hero .hbgtxt {
  font-size: 24vw;
  color: var(--heading);
  opacity: 0.035;
  top: 42%;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 64px;
  min-height: calc(100vh - 132px);
  padding: 40px 0 60px;
  position: relative;
  z-index: 2;
}
.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 26px;
}
.hero-eyebrow::before {
  content: "";
  width: 42px;
  height: 1px;
  background: var(--primary);
}
.hero-title {
  font-family: "Playfair Display", serif;
  font-weight: 800;
  font-size: clamp(3rem, 7vw, 5.6rem);
  line-height: 0.98;
  letter-spacing: -1.5px;
  color: var(--heading);
  margin-bottom: 26px;
}
.hero-title em {
  font-style: italic;
  color: var(--primary);
}
.hero-sub {
  font-size: 1.08rem;
  line-height: 1.85;
  color: var(--text-muted);
  max-width: 30em;
  margin-bottom: 36px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 26px;
  margin-bottom: 54px;
}
.hero-meta {
  display: flex;
  gap: 44px;
  flex-wrap: wrap;
}
.hero-meta > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.hero-meta b {
  font-family: "Playfair Display", serif;
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--heading);
  line-height: 1;
}
.hero-meta span {
  font-size: 0.72rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* Hero media — big framed portrait with caption */
.hero-media {
  position: relative;
}
.hero-media img {
  width: 100%;
  height: 560px;
  object-fit: cover;
  border-radius: 10px;
  display: block;
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 16px -16px -16px 16px;
  border: 1px solid var(--primary);
  border-radius: 10px;
  z-index: -1;
}
.hero-media-cap {
  position: absolute;
  left: 22px;
  bottom: 22px;
  background: var(--surface);
  color: var(--heading);
  border: 1px solid var(--border);
  padding: 12px 18px;
  border-radius: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}
.hero-media-cap i {
  color: var(--primary);
  margin-right: 7px;
}

@media (max-width: 991.98px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
    min-height: auto;
    padding: 50px 0 60px;
  }
  .hero-media img {
    height: 380px;
  }
  section {
    padding: 78px 0;
  }
}

/* ================================================================
   EDITORIAL — full site component restyle
   ================================================================ */

/* ---------- Section header rhythm ---------- */
.text-center .sline { margin-left: auto; margin-right: auto; }
section .stitle { margin-bottom: 6px; }

/* ---------- Marquee -> refined ticker ---------- */
.mqsec {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}
.mqitem {
  color: var(--text-muted);
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
}
.mqitem i { color: var(--primary); font-size: 0.4rem; vertical-align: middle; }

/* ---------- Shared card language: flat + bordered ---------- */
.mcard, .svccard, .blcard, .tescard, .catcard, .fcard, .hbadge, .chcard {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: none !important;
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.mcard:hover, .svccard:hover, .blcard:hover, .catcard:hover {
  transform: translateY(-6px);
  border-color: var(--primary);
}

/* Menu featured cards */
.mtit, .svctit, .bltit a, .chnm, .fcnum, .catnm {
  font-family: "Playfair Display", serif !important;
  font-weight: 700 !important;
  color: var(--heading) !important;
}
.mcat, .bltag, .chrole {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.66rem !important;
  font-weight: 600;
  color: var(--primary) !important;
}
.mprice { font-family: "Playfair Display", serif; font-weight: 800; color: var(--heading); }
.mprice small { color: var(--text-faint); }
.mbdg, .mbdg.hot, .mbdg.new {
  background: var(--heading);
  color: var(--bg);
  border-radius: 4px;
  font-size: 0.6rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 700;
  padding: 5px 10px;
}
.madd {
  background: var(--primary);
  border-radius: 6px;
  box-shadow: none;
}
.madd:hover { background: var(--primary-dark); }

/* Filter pills */
.filtbtn {
  border-radius: 40px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-muted);
  font-size: 0.76rem;
  letter-spacing: 0.6px;
  padding: 9px 20px;
  text-transform: uppercase;
  font-weight: 600;
}
.filtbtn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

/* Category cards */
.catcard { padding-bottom: 8px; }
.catnm { font-size: 0.95rem !important; }
.catct { text-transform: uppercase; letter-spacing: 1.5px; font-size: 0.62rem; }

/* ---------- La Carte (full menu list) ---------- */
.fmhead {
  font-family: "Playfair Display", serif;
  text-transform: none;
  letter-spacing: -0.3px;
}
.fmhead::after { background: var(--border); height: 1px; }
.fmname { font-family: "Playfair Display", serif; font-size: 1.05rem; font-weight: 600; }
.fmprice { font-family: "Playfair Display", serif; font-weight: 800; }

/* ---------- About ---------- */
.aexp {
  border-radius: 8px;
  box-shadow: none;
  background: var(--primary);
}
.anum { font-family: "Playfair Display", serif; }
.amain img, .asm img { border-radius: 10px; }
.fti h6 { font-family: "Playfair Display", serif; font-weight: 700; color: var(--heading); }
.fti p { color: var(--text-muted); }
.ftico { border-radius: 8px !important; box-shadow: none !important; }

/* ---------- Services -> numbered editorial ---------- */
#services .row { counter-reset: svc; }
.svccard {
  text-align: left;
  padding: 34px 28px;
  position: relative;
}
.svccard::before {
  counter-increment: svc;
  content: "0" counter(svc);
  font-family: "Playfair Display", serif;
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--border);
  position: absolute;
  top: 22px;
  right: 26px;
  line-height: 1;
}
.svcico {
  width: 54px; height: 54px;
  border-radius: 8px;
  margin: 0 0 22px;
  font-size: 1.2rem;
  box-shadow: none !important;
  background: var(--surface-2) !important;
  color: var(--primary) !important;
  border: 1px solid var(--border);
}
.svcico.g { color: var(--secondary) !important; }
.svctit { font-size: 1.16rem; margin-bottom: 10px; }
.svctxt { color: var(--text-muted); }

/* ---------- Gallery ---------- */
.gitem { border-radius: 10px; }
.gitem img { transition: transform 0.6s ease; }
.gitem:hover img { transform: scale(1.06); }
.gover span {
  font-family: "Poppins", sans-serif;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 0.82rem;
  font-weight: 600;
}

/* ---------- Timeline / story ---------- */
.tlyear {
  font-family: "Playfair Display", serif;
  font-weight: 800;
  color: var(--primary);
  font-size: 1.5rem;
}
.tli h5 { font-family: "Playfair Display", serif; color: var(--heading); }
.tli p { color: var(--text-muted); }
.tldot { background: var(--primary); box-shadow: 0 0 0 5px var(--surface), 0 0 0 6px var(--border); }

/* ---------- Testimonials -> big pull quotes ---------- */
.tescard {
  padding: 40px 38px;
  border-radius: 12px;
}
.tesq { color: var(--primary); font-family: "Playfair Display", serif; }
.testxt {
  font-family: "Playfair Display", serif;
  font-style: italic;
  font-size: 1.22rem;
  line-height: 1.6;
  color: var(--heading);
}
.tess i { color: var(--primary); }
.tesnm { font-family: "Playfair Display", serif; font-weight: 700; color: var(--heading); }
.tesrl { text-transform: uppercase; letter-spacing: 1.5px; font-size: 0.66rem; color: var(--text-muted); }

/* ---------- Forms (devis / contact) ---------- */
.flbl {
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--text-muted);
}
.fctrl {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text);
}
.fctrl:focus { border-color: var(--primary); box-shadow: none; outline: none; }

/* ---------- Blog ---------- */
.bldatebdg { border-radius: 8px; background: var(--primary); }
.bltit a { font-size: 1.15rem; line-height: 1.35; }
.blmore { color: var(--primary); font-weight: 600; text-transform: uppercase; letter-spacing: 1px; font-size: 0.72rem; }
.blmeta { color: var(--text-muted); }

/* ---------- Newsletter ---------- */
.nlinput { border-radius: 6px; }
.nlbtn { border-radius: 6px; }

/* ---------- Footer ---------- */
footer { border-top: 1px solid var(--border); }
.fnm { font-family: "Playfair Display", serif; font-weight: 800; }
.ftit { text-transform: uppercase; letter-spacing: 2px; font-size: 0.72rem; font-weight: 600; color: var(--heading); }
.flinks a:hover { color: var(--primary); }

/* ---------- Special offer & hours keep dark; refine type ---------- */
.sptitle, .hrscard h5 { font-family: "Playfair Display", serif; }
.cdnum { font-family: "Playfair Display", serif; font-weight: 800; }
.sptag { text-transform: uppercase; letter-spacing: 2px; font-weight: 600; }

/* ================================================================
   NAVBAR — compact & premium (the "barre des menus")
   ================================================================ */
/* slimmer top bar */
#topbar {
  padding: 7px 0;
  font-size: 0.76rem;
  background: var(--heading);
}
#topbar span { color: var(--text-faint); }
#topbar .top-contact span i { color: var(--primary); }
.ttag {
  text-transform: uppercase;
  letter-spacing: 1.2px;
  font-size: 0.62rem;
}

/* shorter navbar + refined links */
#nav { padding: 0; }
.navbar-nav .nav-link {
  padding: 20px 16px !important;
  font-size: 0.76rem !important;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.4px;
}
.navbar-nav .nav-link::after { height: 2px; }
/* smaller logo => shorter header */
.blogo-img { height: 42px; }
#nav.scrolled .blogo-img { height: 38px; }
@media (max-width: 575.98px) { .blogo-img { height: 38px; } }
/* refined CTA */
.nav-cta {
  padding: 9px 18px !important;
  font-size: 0.68rem !important;
  text-transform: uppercase;
  letter-spacing: 1.2px;
}
#navSearchBtn { font-size: 0.9rem; padding: 6px 10px; }

/* ================================================================
   CART — button, badge, slide-in drawer
   ================================================================ */
.tt-cart-btn {
  position: relative;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text);
  font-size: 1rem;
  padding: 6px 10px;
  transition: color 0.2s;
}
.tt-cart-btn:hover { color: var(--primary); }
.tt-cart-count {
  position: absolute;
  top: -2px;
  right: -2px;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  border-radius: 9px;
  background: var(--primary);
  color: #fff;
  font-size: 0.62rem;
  font-weight: 700;
  display: none;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.tt-cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s;
  z-index: 3000;
}
.tt-cart-overlay.open { opacity: 1; visibility: visible; }
.tt-cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 400px;
  max-width: 90vw;
  height: 100%;
  background: var(--bg);
  border-left: 1px solid var(--border);
  z-index: 3001;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
}
.tt-cart-drawer.open { transform: translateX(0); }
.tt-cart-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 26px;
  border-bottom: 1px solid var(--border);
}
.tt-cart-head h4 {
  font-family: "Playfair Display", serif;
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--heading);
  margin: 0;
}
.tt-cart-close {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.1rem;
  cursor: pointer;
}
.tt-cart-close:hover { color: var(--primary); }
.tt-cart-body { flex: 1; overflow-y: auto; padding: 12px 26px; }
.tt-cart-empty {
  text-align: center;
  color: var(--text-muted);
  padding: 70px 10px;
}
.tt-cart-empty i { font-size: 2.4rem; color: var(--border); margin-bottom: 16px; }
.tt-cart-empty p { font-weight: 600; color: var(--text); margin: 0 0 4px; }
.tt-cart-empty span { font-size: 0.85rem; }
.tt-cart-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.tt-ci-main { flex: 1; min-width: 0; }
.tt-ci-name {
  font-family: "Playfair Display", serif;
  font-weight: 700;
  color: var(--heading);
  font-size: 0.98rem;
  line-height: 1.25;
}
.tt-ci-price { font-size: 0.76rem; color: var(--text-muted); margin-top: 2px; }
.tt-ci-qty {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--border);
  border-radius: 30px;
  padding: 4px 6px;
}
.tt-ci-qty button {
  width: 22px;
  height: 22px;
  border: none;
  background: var(--surface-2);
  color: var(--text);
  border-radius: 50%;
  cursor: pointer;
  font-size: 0.9rem;
  line-height: 1;
}
.tt-ci-qty button:hover { background: var(--primary); color: #fff; }
.tt-ci-qty span { min-width: 14px; text-align: center; font-weight: 600; font-size: 0.85rem; color: var(--text); }
.tt-ci-del { background: none; border: none; color: var(--text-faint); cursor: pointer; font-size: 0.85rem; }
.tt-ci-del:hover { color: #e5484d; }
.tt-cart-foot { padding: 20px 26px 26px; border-top: 1px solid var(--border); }
.tt-cart-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 6px;
}
.tt-cart-total span { color: var(--text-muted); font-size: 0.82rem; text-transform: uppercase; letter-spacing: 1px; }
.tt-cart-total b { font-family: "Playfair Display", serif; font-size: 1.5rem; color: var(--heading); }
.tt-cart-note { font-size: 0.72rem; color: var(--text-faint); margin: 0 0 16px; }
.tt-cart-checkout { display: flex; justify-content: center; width: 100%; }
.tt-cart-clear {
  display: block;
  width: 100%;
  margin-top: 10px;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 0.78rem;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.tt-cart-clear:hover { color: #e5484d; }

/* ================================================================
   SELECT2 — themed for ivoire / classic / dark
   ================================================================ */
.select2-container { width: 100% !important; }
.select2-container--default .select2-selection--multiple {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  min-height: 50px;
  padding: 4px 6px;
}
.select2-container--default.select2-container--focus .select2-selection--multiple {
  border-color: var(--primary);
}
.select2-container--default .select2-selection--multiple .select2-selection__choice {
  background: var(--primary);
  border: none;
  color: #fff;
  border-radius: 5px;
  padding: 4px 9px 4px 26px;
  margin: 4px 4px 0 0;
  font-size: 0.82rem;
  position: relative;
}
.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
  color: #fff;
  border: none;
  background: transparent;
  left: 6px;
  padding: 0;
  font-size: 1rem;
  opacity: 0.85;
}
.select2-container--default .select2-selection--multiple .select2-selection__choice__remove:hover {
  background: transparent;
  color: #fff;
  opacity: 1;
}
.select2-container--default .select2-search--inline .select2-search__field {
  color: var(--text);
  font-family: "Poppins", sans-serif;
}
.select2-container--default .select2-selection--multiple .select2-selection__placeholder {
  color: var(--text-faint);
}
.select2-dropdown {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}
.select2-container--default .select2-results__group {
  color: var(--primary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.68rem;
  padding: 10px 12px 4px;
}
.select2-container--default .select2-results__option {
  color: var(--text);
  font-size: 0.9rem;
  padding: 9px 14px;
}
.select2-container--default .select2-results__option--highlighted[aria-selected] {
  background: var(--primary);
  color: #fff;
}
.select2-container--default .select2-results__option[aria-selected="true"] {
  background: var(--surface-2);
  color: var(--text-muted);
}
.select2-search--dropdown .select2-search__field {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text);
  padding: 8px 10px;
}
.select2-results__options { max-height: 260px; }

/* ================================================================
   SUB-PAGES — shared components
   ================================================================ */
.pagehero {
  background: var(--cream);
  padding: 58px 0 40px;
  text-align: center;
  border-bottom: 1px solid var(--border);
}
.pagehero .crumb { font-size: 0.78rem; color: var(--text-muted); margin-bottom: 10px; letter-spacing: 0.5px; }
.pagehero .crumb a { color: var(--primary); font-weight: 600; }
.pagehero h1 {
  font-family: "Playfair Display", serif;
  font-weight: 800;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  color: var(--heading);
  line-height: 1.05;
}
.pagehero h1 span { color: var(--primary); font-style: italic; }
.pagehero p { color: var(--text-muted); max-width: 560px; margin: 14px auto 0; line-height: 1.8; }

/* Service detail rows */
.svcrow { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.svcrow + .svcrow { margin-top: 84px; }
.svcrow .svcrow-media img { width: 100%; height: 380px; object-fit: cover; border-radius: 12px; }
.svcrow.rev .svcrow-media { order: 2; }
.svcrow .eyebrow {
  font-size: 0.72rem; font-weight: 600; letter-spacing: 3px; text-transform: uppercase;
  color: var(--primary); display: block; margin-bottom: 12px;
}
.svcrow h2 { font-family: "Playfair Display", serif; font-weight: 800; font-size: 2rem; color: var(--heading); margin-bottom: 14px; }
.svcrow p { color: var(--text-muted); line-height: 1.85; margin-bottom: 18px; }
.svc-incl { list-style: none; padding: 0; margin: 0; }
.svc-incl li { position: relative; padding-left: 26px; margin-bottom: 10px; color: var(--text); }
.svc-incl li::before {
  content: "\f00c"; font-family: "Font Awesome 6 Free"; font-weight: 900;
  color: var(--primary); position: absolute; left: 0; top: 2px; font-size: 0.8rem;
}
@media (max-width: 860px) {
  .svcrow { grid-template-columns: 1fr; gap: 26px; }
  .svcrow.rev .svcrow-media { order: 0; }
  .svcrow + .svcrow { margin-top: 54px; }
}

/* Delivery strip */
.deliv { background: var(--surface-2); border-radius: 14px; padding: 42px; }
.deliv .row-d { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.deliv .d-item i { color: var(--primary); font-size: 1.4rem; margin-bottom: 10px; }
.deliv .d-item h5 { font-family: "Playfair Display", serif; color: var(--heading); margin-bottom: 6px; }
.deliv .d-item p { color: var(--text-muted); font-size: 0.9rem; margin: 0; }
@media (max-width: 700px) { .deliv .row-d { grid-template-columns: 1fr; } }

/* FAQ (native <details>) */
.faq { max-width: 820px; margin: 0 auto; }
.faq-group + .faq-group { margin-top: 44px; }
.faq-group h3 {
  font-family: "Playfair Display", serif; font-weight: 800; font-size: 1.4rem;
  color: var(--heading); margin-bottom: 18px;
}
details.faq-item {
  border: 1px solid var(--border); border-radius: 10px; padding: 0 20px; margin-bottom: 12px;
  background: var(--surface);
}
details.faq-item summary {
  list-style: none; cursor: pointer; padding: 18px 0; font-weight: 600; color: var(--heading);
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
details.faq-item summary::-webkit-details-marker { display: none; }
details.faq-item summary::after {
  content: "\2b"; color: var(--primary); font-weight: 700; font-size: 1.1rem; transition: transform 0.25s;
}
details.faq-item[open] summary::after { content: "\2212"; }
details.faq-item .faq-a { padding: 0 0 20px; color: var(--text-muted); line-height: 1.8; }

/* Cart summary (commander page) */
.cartsum { border: 1px solid var(--border); border-radius: 14px; padding: 26px; background: var(--surface); position: sticky; top: 90px; }
.cartsum h3 { font-family: "Playfair Display", serif; font-weight: 800; font-size: 1.3rem; color: var(--heading); margin-bottom: 16px; }
.cartsum-row { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--border); }
.cartsum-row .n { color: var(--text); font-size: 0.92rem; }
.cartsum-row .q { color: var(--text-muted); font-size: 0.82rem; }
.cartsum-row .p { color: var(--heading); font-weight: 700; white-space: nowrap; }
.cartsum-total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 16px; }
.cartsum-total span { text-transform: uppercase; letter-spacing: 1px; font-size: 0.78rem; color: var(--text-muted); }
.cartsum-total b { font-family: "Playfair Display", serif; font-size: 1.5rem; color: var(--heading); }
.cartsum-empty { color: var(--text-muted); font-size: 0.9rem; }
.cartsum a.editlink { color: var(--primary); font-weight: 600; font-size: 0.82rem; text-decoration: none; }

/* Legal prose */
.legal { max-width: 820px; margin: 0 auto; }
.legal h2 { font-family: "Playfair Display", serif; font-weight: 800; font-size: 1.5rem; color: var(--heading); margin: 34px 0 12px; }
.legal h2:first-child { margin-top: 0; }
.legal p, .legal li { color: var(--text-muted); line-height: 1.85; }
.legal ul { padding-left: 20px; }
.legal a { color: var(--primary); }
.legal .muted { font-size: 0.82rem; color: var(--text-faint); }

/* ================================================================
   ORDER PAGE — mode switch (livraison vs événement) + dish checklist
   ================================================================ */
.order-modes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 44px;
}
.order-mode {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  text-align: left;
  padding: 22px 24px;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  transition: border-color 0.25s, transform 0.25s, background 0.25s;
}
.order-mode:hover { transform: translateY(-3px); }
.order-mode i { font-size: 1.4rem; color: var(--text-muted); margin-bottom: 6px; }
.order-mode .om-t { font-family: "Playfair Display", serif; font-weight: 800; font-size: 1.15rem; color: var(--heading); }
.order-mode .om-s { font-size: 0.86rem; color: var(--text-muted); }
.order-mode.active {
  border-color: var(--primary);
  background: rgba(var(--primary-rgb), 0.05);
}
.order-mode.active i { color: var(--primary); }
@media (max-width: 700px) { .order-modes { grid-template-columns: 1fr; } }

/* Dish checklist (replaces Select2) */
.dishcheck {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 8px 6px;
  max-height: 320px;
  overflow-y: auto;
  background: var(--surface);
}
.dishcheck-empty { color: var(--text-muted); font-size: 0.9rem; padding: 16px; text-align: center; }
.dchk {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 12px;
  border-radius: 8px;
  transition: background 0.2s;
}
.dchk:hover { background: var(--surface-2); }
.dchk input { position: absolute; opacity: 0; width: 0; height: 0; }
.dchk .box {
  width: 22px; height: 22px; flex-shrink: 0;
  border: 2px solid var(--border);
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 0.72rem;
  transition: background 0.2s, border-color 0.2s;
}
.dchk input:checked + .box { background: var(--primary); border-color: var(--primary); }
.dchk .box i { opacity: 0; }
.dchk input:checked + .box i { opacity: 1; }
.dchk .lbl { flex: 1; color: var(--text); font-size: 0.94rem; transition: color 0.2s; }
.dchk .pr { color: var(--text-muted); font-size: 0.84rem; white-space: nowrap; }
.dchk.struck .lbl { text-decoration: line-through; color: var(--text-faint); }
.dchk.struck .pr { text-decoration: line-through; color: var(--text-faint); }
.dishcheck-hint { font-size: 0.78rem; color: var(--text-faint); margin-top: 8px; }

/* ================================================================
   ORDER TYPE — popup chooser, nav order buttons, placeholder
   ================================================================ */
.mpchooser { padding: 44px 36px; }
.mpchooser h4 { font-family: "Playfair Display", serif; font-weight: 800; font-size: 1.5rem; color: var(--heading); margin: 0 0 6px; }
.mpchooser > p { color: var(--text-muted); font-size: 0.92rem; margin: 0 0 22px; }
.mpchoose-btns { display: grid; gap: 14px; }
.mpchoose-btns button {
  display: flex; flex-direction: column; align-items: flex-start; gap: 3px; text-align: left;
  padding: 18px 20px; border: 1.5px solid var(--border); border-radius: 12px;
  background: var(--surface); color: var(--text); cursor: pointer; transition: border-color 0.2s, transform 0.2s;
}
.mpchoose-btns button:hover { border-color: var(--primary); transform: translateY(-2px); }
.mpchoose-btns i { color: var(--primary); font-size: 1.3rem; margin-bottom: 4px; }
.mpchoose-btns b { font-family: "Playfair Display", serif; font-weight: 800; font-size: 1.1rem; color: var(--heading); }
.mpchoose-btns small { color: var(--text-muted); font-size: 0.82rem; }

/* Nav order buttons (two) */
.nav-orders { display: flex; gap: 8px; align-items: center; }
.nav-ord {
  display: inline-flex; align-items: center; gap: 6px; padding: 9px 13px; border-radius: 6px;
  font-family: "Poppins", sans-serif; font-size: 0.66rem; font-weight: 600; letter-spacing: 1px;
  text-transform: uppercase; white-space: nowrap; transition: background 0.2s, color 0.2s, transform 0.2s;
}
.nav-ord--liv { background: var(--primary); color: #fff; border: 1px solid var(--primary); }
.nav-ord--liv:hover { background: var(--primary-dark); color: #fff; transform: translateY(-2px); }
.nav-ord--evt { background: transparent; color: var(--primary); border: 1px solid var(--primary); }
.nav-ord--evt:hover { background: var(--primary); color: #fff; transform: translateY(-2px); }
@media (max-width: 1200px) { .nav-ord small, .nav-ord .lbl-long { display: none; } }

/* Commander placeholder (before a type is chosen) */
.order-placeholder {
  text-align: center; padding: 54px 24px; color: var(--text-muted);
  border: 1px dashed var(--border); border-radius: 14px; background: var(--surface);
}
.order-placeholder i { font-size: 2rem; color: var(--primary); margin-bottom: 14px; display: block; }
.order-placeholder b { display: block; color: var(--heading); font-family: "Playfair Display", serif; font-size: 1.2rem; margin-bottom: 6px; }

/* Fix: popup two-column layout now lives inside .mpview (was direct children of .mpbox) */
#menuPop .mpview { display: flex; flex-wrap: wrap; width: 100%; }
#menuPop .mpchooser { width: 100%; }

/* ================================================================
   ORDER-TYPE toggle (in dish popup + cart drawer)
   ================================================================ */
.ordtoggle {
  display: inline-flex;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  background: var(--surface-2);
}
.ordtoggle button {
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-family: "Poppins", sans-serif;
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 8px 12px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: background 0.2s, color 0.2s;
}
.ordtoggle button + button { border-left: 1px solid var(--border); }
.ordtoggle button.active { background: var(--primary); color: #fff; }
/* popup: label + toggle row */
.mp-typebar { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 16px; flex-wrap: wrap; }
.mp-typebar .mp-typelbl { font-size: 0.66rem; text-transform: uppercase; letter-spacing: 1.5px; color: var(--text-muted); font-weight: 600; }
/* cart drawer: toggle bar */
.tt-cart-typebar { display: flex; align-items: center; gap: 10px; padding: 14px 26px 0; }
.tt-cart-typebar .lbl { font-size: 0.66rem; text-transform: uppercase; letter-spacing: 1px; color: var(--text-muted); font-weight: 600; }
.tt-cart-typebar .ordtoggle { flex: 1; }
.tt-cart-typebar .ordtoggle button { flex: 1; justify-content: center; }

/* Anchors used as buttons (no href) still need the pointer cursor */
.btn-ed--solid, .btn-ed--ghost, .tt-cart-checkout, [data-cart-checkout], [data-cart-toggle] { cursor: pointer; }

/* ================================================================
   POPUP CAROUSEL (dish accompaniment photos)
   ================================================================ */
#menuPop .mpimg { position: relative; padding: 0; }
.mpcar { position: relative; width: 100%; height: 100%; min-height: 400px; overflow: hidden; }
.mpcar-track { display: flex; height: 100%; transition: transform 0.5s ease; }
.mpcar-slide { min-width: 100%; height: 100%; }
.mpcar-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mpcar-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 38px; height: 38px; border-radius: 50%; border: none; cursor: pointer;
  background: rgba(255, 255, 255, 0.9); color: #1a1a1a; z-index: 2;
  display: flex; align-items: center; justify-content: center; font-size: 0.85rem;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2); transition: background 0.2s, transform 0.2s;
}
.mpcar-nav:hover { background: var(--primary); color: #fff; }
.mpcar-prev { left: 12px; }
.mpcar-next { right: 12px; }
.mpcar-dots { position: absolute; bottom: 14px; left: 0; right: 0; display: flex; justify-content: center; gap: 6px; z-index: 2; }
.mpcar-dot { width: 8px; height: 8px; border-radius: 50%; border: none; padding: 0; cursor: pointer; background: rgba(255, 255, 255, 0.6); transition: all 0.25s; }
.mpcar-dot.active { background: var(--primary); width: 22px; border-radius: 4px; }
@media (max-width: 640px) { .mpcar, .mpcar-slide { min-height: 240px; } }

/* Cart: "Continuer mes choix" link */
.tt-cart-continue {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; margin-bottom: 12px; padding: 12px;
  border: 1px solid var(--border); border-radius: 8px;
  color: var(--text); font-weight: 600; font-size: 0.84rem; cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}
.tt-cart-continue:hover { border-color: var(--primary); color: var(--primary); }

/* ================================================================
   HEADER — refined & modern
   ================================================================ */
/* Top bar — refined */
#topbar { padding-top: 9px; padding-bottom: 8px; }
#topbar .top-contact span { position: relative; padding-right: 18px; margin-right: 0; }
#topbar .top-contact span:not(:last-child)::after {
  content: ""; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  width: 1px; height: 12px; background: rgba(255, 255, 255, 0.16);
}
#topbar .tsoc a { border: 1px solid rgba(255, 255, 255, 0.12); }
#topbar .tsoc a:hover { transform: translateY(-2px); }
.ttag { box-shadow: 0 4px 14px rgba(var(--primary-rgb), 0.35); }

/* Navbar — glassy, refined */
#nav {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.35s, padding 0.35s, background 0.35s;
}
#nav.scrolled { box-shadow: 0 10px 34px rgba(0, 0, 0, 0.09); }
.navbar-brand { transition: transform 0.3s; }
.navbar-brand:hover { transform: scale(1.03); }
/* animated center-grow underline */
.navbar-nav .nav-link::after {
  height: 2px; background: var(--primary); border-radius: 2px;
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after { width: 60%; }
/* Order buttons — refined depth */
.nav-ord { box-shadow: 0 2px 0 rgba(0,0,0,0); }
.nav-ord--liv { box-shadow: 0 6px 18px rgba(var(--primary-rgb), 0.28); }
.nav-ord--liv:hover { box-shadow: 0 10px 24px rgba(var(--primary-rgb), 0.4); }
.nav-ord--evt:hover { box-shadow: 0 8px 20px rgba(var(--primary-rgb), 0.25); }
/* Cart button refined */
.tt-cart-btn { border-radius: 8px; }
.tt-cart-btn:hover { background: var(--surface-2); }
#navSearchBtn { border-radius: 8px; }
#navSearchBtn:hover { background: var(--surface-2); color: var(--primary); }

/* ================================================================
   HOW IT WORKS — order steps (replaces the blog section)
   ================================================================ */
.howsteps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; position: relative; }
.howsteps::before {
  content: ""; position: absolute; top: 74px; left: 13%; right: 13%; height: 2px;
  background: var(--border); z-index: 0;
}
.howstep { text-align: center; position: relative; }
.howstep .n { font-family: "Poppins", sans-serif; font-weight: 600; font-size: 0.68rem; letter-spacing: 2px; text-transform: uppercase; color: var(--primary); margin-bottom: 12px; }
.howstep .ic {
  position: relative; z-index: 1;
  width: 72px; height: 72px; border-radius: 50%; margin: 0 auto 20px;
  display: flex; align-items: center; justify-content: center; font-size: 1.5rem; color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  box-shadow: 0 10px 26px rgba(var(--primary-rgb), 0.32);
}
.howstep h5 { font-family: "Playfair Display", serif; font-weight: 800; color: var(--heading); font-size: 1.12rem; margin-bottom: 8px; }
.howstep p { color: var(--text-muted); font-size: 0.9rem; line-height: 1.7; margin: 0; }
@media (max-width: 860px) { .howsteps { grid-template-columns: 1fr 1fr; gap: 34px; } .howsteps::before { display: none; } }
@media (max-width: 520px) { .howsteps { grid-template-columns: 1fr; } }

/* ================================================================
   FIX: form card must stay in flow (template made .fcard absolute
   for the old hero floating cards, which no longer exist) — this
   was letting the form overlap the footer.
   ================================================================ */
.fcard { position: static !important; }

/* ================================================================
   Equal-height cards (menu, services, category, testimonials)
   ================================================================ */
.mwrap { display: flex; }
.mcard { height: 100%; display: flex; flex-direction: column; }
.mcard .mimg { aspect-ratio: 16 / 11; height: auto; flex-shrink: 0; overflow: hidden; }
.mcard .mimg img { width: 100%; height: 100%; object-fit: cover; }
.mcard .mbody { display: flex; flex-direction: column; flex: 1 1 auto; }
.mcard .mfoot { margin-top: auto; }

.svccard, .catcard { height: 100%; }

.tesSwiper .swiper-wrapper { align-items: stretch; }
.tesSwiper .swiper-slide { height: auto; }
.tescard { height: 100%; display: flex; flex-direction: column; }
.tescard .tesauth { margin-top: auto; }

/* ================================================================
   Commander page — informative guidance banner
   ================================================================ */
.order-info {
  display: flex;
  align-items: center;
  gap: 20px;
  background: rgba(var(--primary-rgb), 0.06);
  border: 1px solid rgba(var(--primary-rgb), 0.22);
  border-radius: 14px;
  padding: 22px 26px;
  margin-bottom: 34px;
}
.order-info > .oi-ic {
  width: 46px; height: 46px; border-radius: 12px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: var(--primary); color: #fff; font-size: 1.25rem;
}
.order-info .oi-txt { flex: 1; }
.order-info b {
  display: block; font-family: "Playfair Display", serif; font-weight: 800;
  color: var(--heading); font-size: 1.05rem; margin-bottom: 3px;
}
.order-info span { color: var(--text-muted); font-size: 0.92rem; line-height: 1.6; }
.order-info span a { color: var(--primary); font-weight: 600; }
.order-info .oi-cta { flex-shrink: 0; white-space: nowrap; }
@media (max-width: 760px) {
  .order-info { flex-direction: column; align-items: flex-start; gap: 14px; }
}

/* ================================================================
   Conversion — order confirmation + reassurance strip
   ================================================================ */
.order-done { text-align: center; padding: 34px 12px; }
.order-done i { font-size: 3.2rem; color: var(--secondary); margin-bottom: 16px; }
.order-done h3 { font-family: "Playfair Display", serif; font-weight: 800; color: var(--heading); font-size: 1.6rem; margin-bottom: 10px; }
.order-done p { color: var(--text-muted); max-width: 34em; margin: 0 auto 22px; line-height: 1.75; }
.order-done strong { color: var(--heading); }

.reassure {
  display: flex; flex-wrap: wrap; gap: 16px 34px; justify-content: center;
  margin-bottom: 34px; padding: 18px 20px;
  border: 1px solid var(--border); border-radius: 12px; background: var(--surface);
}
.reassure .r { display: flex; align-items: center; gap: 9px; color: var(--text-muted); font-size: 0.85rem; }
.reassure .r i { color: var(--secondary); font-size: 1rem; }
.reassure .r b { color: var(--heading); font-weight: 600; }

/* ---- Bloc confiance (réassurance métier) ---- */
#trust { padding: 64px 0; background: var(--cream); }
.trustgrid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 10px;
}
.trustcard {
  background: var(--surface); border: 1px solid var(--border); border-radius: 14px;
  padding: 26px 22px; text-align: center; transition: transform .18s ease, box-shadow .18s ease;
}
.trustcard:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(0,0,0,.08); }
.trustcard .tc-ic {
  width: 56px; height: 56px; margin: 0 auto 14px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: color-mix(in srgb, var(--primary) 14%, transparent); color: var(--primary); font-size: 1.4rem;
}
.trustcard h4 { font-size: 1.05rem; margin-bottom: 8px; color: var(--heading); }
.trustcard p { font-size: 0.9rem; color: var(--text-muted); margin: 0; line-height: 1.55; }
@media (max-width: 991px) { .trustgrid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .trustgrid { grid-template-columns: 1fr; } }

/* ---- Formules « à partir de » ---- */
#formules { padding: 84px 0; }
.formgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 12px; align-items: stretch; }
.formcard {
  display: flex; flex-direction: column; background: var(--surface);
  border: 1px solid var(--border); border-radius: 16px; padding: 30px 26px 26px;
  transition: transform .18s ease, box-shadow .18s ease; position: relative;
}
.formcard:hover { transform: translateY(-5px); box-shadow: 0 18px 40px rgba(0,0,0,.10); }
.formcard.is-featured { border-color: var(--primary); box-shadow: 0 12px 34px rgba(255,130,0,.14); }
.formcard .fc-tag {
  position: absolute; top: -12px; left: 26px; background: var(--primary); color: #fff;
  font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  padding: 5px 12px; border-radius: 20px;
}
.formcard .fc-ic { color: var(--primary); font-size: 1.6rem; margin-bottom: 14px; }
.formcard h3 { font-size: 1.25rem; margin-bottom: 6px; color: var(--heading); }
.formcard .fc-sub { font-size: .88rem; color: var(--text-muted); margin-bottom: 18px; }
.formcard .fc-price { font-size: .95rem; color: var(--heading); margin-bottom: 18px; }
.formcard .fc-price b { font-family: var(--serif, "Playfair Display", serif); font-size: 2rem; color: var(--primary); }
.formcard ul { list-style: none; padding: 0; margin: 0 0 22px; }
.formcard ul li { font-size: .9rem; color: var(--text-muted); padding: 7px 0 7px 26px; position: relative; border-bottom: 1px dashed var(--border); }
.formcard ul li:before { content: "\f00c"; font-family: "Font Awesome 6 Pro"; font-weight: 900; color: var(--secondary); position: absolute; left: 0; top: 7px; font-size: .82rem; }
.formcard .btn-red { margin-top: auto; }
.formnote { text-align: center; font-size: .82rem; color: var(--text-muted); margin-top: 22px; }
@media (max-width: 900px) { .formgrid { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; } }

/* ================================================================
   Mobile fixes — prevent horizontal overflow
   ================================================================ */
@media (max-width: 700px) {
  #hero .hbgtxt { display: none; }          /* decorative watermark overflowed */
  .hero-title { letter-spacing: -1px; }
  .hero-meta { gap: 26px; }
}

/* Mobile: let hero grid items shrink & wrap (min-width:auto caused overflow) */
@media (max-width: 991.98px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-inner > * { min-width: 0; max-width: 100%; }
  .hero-sub { max-width: 100%; }
}
@media (max-width: 480px) {
  .hero-meta { gap: 16px 22px; }
  .hero-meta b { font-size: 1.55rem; }
  .hero-meta span { font-size: 0.64rem; letter-spacing: 1px; }
  .hero-actions { gap: 18px; }
}
@media (max-width: 991.98px) {
  .hero-media::after { inset: 12px; }   /* was -16px right/bottom -> overflowed on mobile */
}

/* ================================================================
   RESPONSIVE — mobile & tablet, meticulous
   ================================================================ */

/* ---- Navbar: cart always visible; menu collapses cleanly ---- */
.navbar-toggler i { color: var(--primary); font-size: 1.5rem; line-height: 1; }
.tt-cart-btn { font-size: 1.15rem; }

@media (max-width: 991.98px) {
  .nav-actions { gap: 6px; }
  #navmenu {
    width: 100%;
    flex-basis: 100%;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 14px;
    margin-top: 12px;
    padding: 8px 14px 16px;
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.14);
  }
  .navbar-nav { gap: 0; width: 100%; }
  .navbar-nav .nav-link {
    padding: 15px 6px !important;
    font-size: 0.95rem !important;
    letter-spacing: 0.3px;
    border-bottom: 1px solid var(--border);
    text-transform: none;
  }
  .navbar-nav .nav-item:last-child .nav-link { border-bottom: none; }
  .navbar-nav .nav-link::after { display: none; }
  .navbar-nav .nav-link.active { color: var(--primary) !important; }
  .nav-orders { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; width: 100%; }
  .nav-ord { justify-content: center; padding: 14px 10px; font-size: 0.72rem; }
  .nav-ord small { display: inline; }
}

/* ---- Section rhythm on tablet / phone ---- */
@media (max-width: 991.98px) { section { padding: 74px 0; } }
@media (max-width: 600px) {
  section { padding: 52px 0; }
  .container { padding-left: 18px; padding-right: 18px; }
  .stitle { font-size: clamp(1.8rem, 7vw, 2.4rem); }
  .pagehero { padding: 40px 0 30px; }
}

/* ---- Top bar declutter on small screens ---- */
@media (max-width: 600px) {
  #topbar { font-size: 0.72rem; }
  #topbar .ttag { display: none; }
  #topbar .top-contact span:not(:first-child)::after { display: none; }
}
@media (max-width: 420px) {
  #topbar .top-contact span:nth-child(3) { display: none; } /* hide "Québec", keep phone+email */
}

/* ---- Reassurance strip: 2 columns on phone ---- */
@media (max-width: 620px) {
  .reassure { gap: 12px 16px; padding: 16px; }
  .reassure .r { flex: 1 1 44%; font-size: 0.8rem; }
}

/* ---- Order page: modes stack, guidance banner stacks ---- */
@media (max-width: 760px) {
  .order-modes { grid-template-columns: 1fr; }
}

/* ---- Cart drawer full-width feel on phone ---- */
@media (max-width: 440px) {
  .tt-cart-drawer { width: 100%; max-width: 100%; }
}

/* ---- Popup: image on top, content below, comfortable on phone ---- */
@media (max-width: 767.98px) {
  #menuPop .mpview { flex-direction: column; }
  #menuPop .mpbox .mpimg, #menuPop .mpbody { width: 100% !important; }
  .mpcar, .mpcar-slide { min-height: 220px; }
  .mp-typebar { margin-bottom: 12px; }
}

/* ---- Hero tighter on phone ---- */
@media (max-width: 600px) {
  .hero-inner { padding: 24px 0 44px; gap: 30px; }
  .hero-title { font-size: clamp(2.6rem, 13vw, 3.4rem); }
  .hero-actions { gap: 16px 22px; margin-bottom: 34px; }
  .hero-media img { height: 300px; }
}

/* ---- Footer stacks with breathing room ---- */
@media (max-width: 600px) {
  footer .row { --bs-gutter-y: 30px; }
  .fbot .d-flex { flex-direction: column; gap: 10px; text-align: center; }
  .fbot div { justify-content: center; }
}

/* ---- Keep the theme toggle out of the way on phone ---- */
@media (max-width: 600px) { .theme-toggle { width: 40px; height: 40px; right: 12px; top: 12px; opacity: 0.9; } }

/* ================================================================
   REVISION PASS — hero mobile / topbar theme / justify / services / sticky
   ================================================================ */

/* (4) Use overflow: clip (not hidden) so position:sticky keeps working */
html, body { overflow-x: clip; }

/* (2) TOP BAR — theme-coherent (brand) + fixed responsive layout */
#topbar { background: var(--primary); color: #fff; }
[data-theme="dark"] #topbar { background: var(--primary); border-bottom: none; }
#topbar .top-contact span { color: rgba(255, 255, 255, 0.92); }
#topbar .top-contact span i { color: #fff; }
#topbar .top-contact span:not(:last-child)::after { background: rgba(255, 255, 255, 0.35); }
#topbar .tsoc a { background: rgba(255, 255, 255, 0.16); color: #fff; border: 1px solid rgba(255, 255, 255, 0.28); }
#topbar .tsoc a:hover { background: #fff; color: var(--primary); }
/* readable, on-brand pill on the orange bar (scoped so menu-card badges keep their orange) */
#topbar .ttag { background: #fff; color: var(--primary-dark); box-shadow: 0 2px 8px rgba(0, 0, 0, 0.14); font-weight: 700; }
#topbar .ttag i { color: var(--primary); }
@media (max-width: 991.98px) {
  #topbar .d-flex.justify-content-between { justify-content: center !important; row-gap: 6px; }
  #topbar .top-contact { justify-content: center; width: 100%; }
  #topbar .d-flex.align-items-center.gap-3 { justify-content: center; }
}

/* (1) HERO — image first & prominent on mobile/tablet + responsive sizing */
@media (max-width: 991.98px) {
  .hero-inner { display: flex; flex-direction: column; padding: 18px 0 46px; gap: 26px; }
  .hero-media { order: -1; width: 100%; }
  .hero-media img { height: 42vh; min-height: 240px; max-height: 420px; }
  .hero-media::after { inset: 10px; }
  .hero-copy { width: 100%; }
}
@media (max-width: 600px) {
  .hero-media img { height: 40vh; min-height: 220px; }
  .hero-title { font-size: clamp(2.4rem, 12vw, 3.2rem); }
  .hero-sub { font-size: 1rem; }
  .hero-meta b { font-size: 1.5rem; }
}

/* Responsive buttons & type across breakpoints (applies site-wide) */
@media (max-width: 600px) {
  .btn-ed--solid, .btn-red { padding: 14px 24px; font-size: 0.9rem; }
  .btn-ed--ghost { font-size: 0.9rem; }
  .slbl { font-size: 0.66rem; letter-spacing: 3px; }
  .pagehero h1 { font-size: clamp(1.9rem, 8vw, 2.6rem); }
  .svcrow h2, .faq-group h3, .tt-cart-head h4 { font-size: 1.35rem; }

  /* Anti-débordement : les libellés longs s'adaptent au lieu de dépasser */
  .btn-ed--solid, .btn-ed--ghost, .btn-red, .btnw, .nav-ord {
    white-space: normal; max-width: 100%; overflow-wrap: anywhere; text-align: center;
  }
  /* Hero : CTA empilés pleine largeur et centrés (jamais de dépassement) */
  .hero-actions { flex-direction: column; align-items: stretch; width: 100%; gap: 14px; }
  .hero-actions .btn-ed--solid, .hero-actions .btn-ed--ghost { width: 100%; justify-content: center; }
  .hero-actions .btn-ed--ghost { border-bottom: none; padding: 10px 6px; }
  /* Titres : coupe les mots trop longs plutôt que déborder */
  .hero-title, .stitle, .sptitle, .pagehero h1, .fnm { overflow-wrap: break-word; }
}
@media (max-width: 380px) {
  .hero-title { font-size: clamp(2.1rem, 12vw, 2.8rem); }
  .stitle { font-size: clamp(1.65rem, 8vw, 2.1rem); }
  .btn-ed--solid, .btn-red { padding: 13px 18px; }
}

/* (3) Justify body paragraphs (pro look); keep centered intros centered */
.hero-sub, .svcrow p, .fti p, .testxt, .legal p, .legal li, .faq-a,
.fdesc, .tli p, .order-info span, .sdesc:not(.mx-auto), .svctxt {
  text-align: justify;
  -webkit-hyphens: auto;
  hyphens: auto;
}

/* (3b) SERVICES — on mobile always image-first so rows don't clash */
@media (max-width: 860px) {
  .svcrow { grid-template-columns: 1fr; }
  .svcrow .svcrow-media { order: -1 !important; }
  .svcrow.rev .svcrow-media { order: -1 !important; }
}

/* (4) Sticky order recap on the commander page (desktop) */
@media (min-width: 992px) {
  #reservation .cartsum { position: sticky; top: 96px; }
}

/* ================================================================
   SweetAlert2 — themed to match (works in all 3 themes)
   ================================================================ */
.swal2-popup { background: var(--surface); color: var(--text); border-radius: 16px; font-family: "Poppins", sans-serif; border: 1px solid var(--border); }
.swal2-title { color: var(--heading); font-family: "Playfair Display", serif; font-weight: 800; }
.swal2-html-container, .swal2-content { color: var(--text-muted); }
.swal2-actions .swal2-confirm.swal2-styled { background: var(--primary); border-radius: 8px; box-shadow: none; font-weight: 600; }
.swal2-actions .swal2-confirm.swal2-styled:hover { background: var(--primary-dark); }
.swal2-actions .swal2-cancel.swal2-styled { background: var(--surface-2); color: var(--text); border-radius: 8px; box-shadow: none; font-weight: 600; }
.swal2-timer-progress-bar { background: var(--primary); }
.swal2-icon.swal2-success [class^="swal2-success-line"] { background-color: var(--secondary); }
.swal2-icon.swal2-success .swal2-success-ring { border-color: rgba(var(--secondary-rgb), 0.3); }
.swal2-icon.swal2-error { border-color: #e5484d; color: #e5484d; }
.swal2-icon.swal2-warning { border-color: var(--primary); color: var(--primary); }
.swal2-toast { background: var(--surface) !important; border: 1px solid var(--border); }
.swal2-toast .swal2-title { font-family: "Poppins", sans-serif; font-size: 0.92rem; }

/* ============================================================
   Menu search field (point 6) + typeable qty stepper (point 7)
   ============================================================ */
.msearch-wrap{
  position:relative; max-width:440px; margin:0 auto 22px;
}
.msearch-wrap .msearch-ic{
  position:absolute; left:16px; top:50%; transform:translateY(-50%);
  color:var(--text-faint); font-size:.9rem; pointer-events:none;
}
.msearch{
  width:100%; height:48px; padding:0 42px 0 42px;
  border:1px solid var(--border); border-radius:999px;
  background:var(--surface); color:var(--text);
  font-family:inherit; font-size:.95rem; outline:none;
  transition:border-color .2s, box-shadow .2s;
}
.msearch::placeholder{ color:var(--text-faint); }
.msearch:focus{
  border-color:var(--primary);
  box-shadow:0 0 0 3px rgba(var(--primary-rgb), .16);
}
.msearch::-webkit-search-cancel-button{ -webkit-appearance:none; }
.msearch-clr{
  position:absolute; right:8px; top:50%; transform:translateY(-50%);
  width:32px; height:32px; border:0; border-radius:50%;
  background:var(--surface-2); color:var(--text-muted);
  cursor:pointer; display:flex; align-items:center; justify-content:center;
  font-size:.8rem; transition:background .15s, color .15s;
}
.msearch-clr:hover{ background:var(--primary); color:#fff; }
.mnoresult{
  text-align:center; color:var(--text-muted); font-size:1.02rem;
  padding:48px 16px; margin:0;
}
.mnoresult i{ color:var(--primary); margin-right:6px; }

/* Typeable qty input (replaces the old .mpqnum span) */
input.mpqnum{
  width:56px; text-align:center; font-weight:700; font-size:1.05rem;
  color:var(--heading); background:transparent;
  border:1px solid var(--border); border-radius:10px;
  padding:6px 4px; margin:0 2px; font-family:inherit;
  -moz-appearance:textfield;
}
input.mpqnum:focus{
  outline:none; border-color:var(--primary);
  box-shadow:0 0 0 3px rgba(var(--primary-rgb), .16);
}
input.mpqnum::-webkit-outer-spin-button,
input.mpqnum::-webkit-inner-spin-button{ -webkit-appearance:none; margin:0; }

/* ============================================================
   Revision pass 2 — hero button pair, live validation, cart qty input
   ============================================================ */

/* (4) Hero: keep the two CTAs on ONE row on mobile (equal pills) */
@media (max-width: 991.98px) {
  .hero-actions { flex-wrap: nowrap; gap: 12px; width: 100%; }
  .hero-actions .btn-ed--solid,
  .hero-actions .btn-ed--ghost {
    flex: 1 1 0; min-width: 0; justify-content: center; text-align: center;
    padding: 13px 12px; white-space: nowrap; font-size: .86rem;
  }
  .hero-actions .btn-ed--ghost {
    border: 1px solid var(--border); border-radius: 6px; color: var(--heading);
  }
  .hero-actions .btn-ed--ghost:hover { border-color: var(--primary); color: var(--primary); }
}
@media (max-width: 360px) {
  .hero-actions .btn-ed--solid,
  .hero-actions .btn-ed--ghost { font-size: .78rem; padding: 12px 6px; }
  .hero-actions .btn-ed--ghost i { display: none; }
}

/* (point 4) Live form validation — red outline + inline message under the field */
.tt-invalid,
.fctrl.tt-invalid {
  border-color: #e5484d !important;
  box-shadow: 0 0 0 3px rgba(229, 72, 77, .14) !important;
}
.tt-field-err {
  color: #e5484d;
  font-size: .8rem;
  margin: 6px 2px 0;
  display: flex;
  align-items: center;
  gap: 6px;
  line-height: 1.3;
  animation: ttErrIn .18s ease;
}
.tt-field-err i { font-size: .82rem; }
@keyframes ttErrIn { from { opacity: 0; transform: translateY(-3px); } to { opacity: 1; transform: none; } }

/* (point 1) Typeable qty input inside the cart drawer */
.tt-ci-qty .tt-ci-qtyv {
  width: 46px; text-align: center; font-weight: 700; font-size: .95rem;
  color: var(--heading); background: var(--surface);
  border: 1px solid var(--border); border-radius: 8px;
  padding: 5px 2px; font-family: inherit; -moz-appearance: textfield;
}
.tt-ci-qty .tt-ci-qtyv:focus {
  outline: none; border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(var(--primary-rgb), .16);
}
.tt-ci-qty .tt-ci-qtyv::-webkit-outer-spin-button,
.tt-ci-qty .tt-ci-qtyv::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* Phone links keep the surrounding color; "bientôt" socials dimmed */
a.tt-tel { color: inherit; text-decoration: none; }
a.tt-tel:hover { color: var(--primary); }
a.soc-soon { opacity: 0.55; cursor: default; }
a.soc-soon:hover { opacity: 0.8; }

/* Event mode: hide per-unit prices on menu cards (quote-based) */
[data-ordtype="evenement"] .mprice { display: none; }

/* ============================================================
   Revision — responsive type scale (#6) + top-bar breathing (#5)
   ============================================================ */
@media (max-width: 600px) {
  #topbar { padding-top: 11px; padding-bottom: 10px; }         /* not cramped against the top */
  .hero-sub, .sdesc, .pagehero p, .svcrow p, .fti p { font-size: 0.95rem; line-height: 1.75; }
  .navbar-nav .nav-link { font-size: 0.9rem !important; }
  .mtit { font-size: 1.02rem; }
  .mdesc { font-size: 0.86rem; }
}
@media (max-width: 400px) {
  .hero-title { font-size: clamp(2rem, 10.5vw, 2.6rem); }
  .stitle, .pagehero h1 { font-size: 1.6rem; }
  .hero-sub, .sdesc, .pagehero p { font-size: 0.92rem; }
  .container { padding-left: 15px; padding-right: 15px; }
  .btn-ed--solid, .btn-red, .btn-ed--ghost { font-size: 0.82rem; }
}

/* Theme switcher as a header icon (identical to the cart icon) */
.tt-theme-btn {
  background: none; border: none; cursor: pointer;
  color: var(--text); font-size: 1.15rem; padding: 6px 10px;
  line-height: 1; border-radius: 8px; transition: color 0.2s, background 0.2s;
}
.tt-theme-btn:hover { color: var(--primary); background: var(--surface-2); }

/* Remove rating stars on menu cards + dish popup */
.mstars, #mpStars { display: none !important; }

/* "Au panier" indicator on a dish already added */
.mcard.in-cart { border-color: var(--green) !important; }
.mcard.in-cart .madd {
  background: var(--green) !important; border-color: var(--green) !important; color: #fff !important;
}
.mcard.in-cart .mimg { position: relative; }
.mcard.in-cart .mimg::after {
  content: "\2713  Au panier";
  position: absolute; left: 12px; bottom: 12px; z-index: 3;
  background: var(--green); color: #fff;
  padding: 5px 11px; border-radius: 20px;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.2px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.22);
}

/* ---- Hero image slideshow (auto-rotating, crossfade) ---- */
.hero-media { height: 560px; }
.hero-media .hs-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
  opacity: 0;
  transition: opacity 1.2s ease;
  z-index: 0;
}
.hero-media .hs-slide.active { opacity: 1; z-index: 1; }
@media (max-width: 991.98px) {
  .hero-media { height: 42vh; min-height: 240px; max-height: 420px; }
}
@media (max-width: 600px) {
  .hero-media { height: 40vh; min-height: 220px; }
}
