/**
 * MR.FOOD — Design system & compléments
 */

/* ——— Tokens page d'accueil ——— */
body.index-page {
  --header-bg: rgba(255, 252, 247, 0.92);
  --panel-bg: #fffcf7;
  --section-gap: 1px;
  padding-bottom: 0;
  overflow-x: hidden;
  background-color: var(--background-color);
}

body.index-page .text-muted {
  color: var(--muted-color) !important;
}

@media (prefers-reduced-motion: reduce) {
  body.index-page *,
  body.index-page *::before,
  body.index-page *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ——— En-tête léger ——— */
body.index-page .header {
  background: var(--header-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--border-subtle);
  padding: 12px 0;
}

body.index-page.scrolled .header,
body.index-page .header.scrolled {
  box-shadow: 0 4px 20px rgba(20, 18, 16, 0.08);
}

body.index-page .header .logo .sitename {
  color: var(--heading-color);
}

body.index-page .navmenu a {
  color: var(--nav-color);
}

body.index-page .navmenu a:hover,
body.index-page .navmenu a.active {
  color: var(--accent-dark);
}

body.index-page .mobile-nav-toggle {
  color: var(--heading-color);
}

@media (max-width: 1199px) {
  body.index-page .navmenu ul {
    background: var(--panel-bg);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    box-shadow: 0 12px 32px rgba(20, 18, 16, 0.12);
  }
}

/* ——— Sections : espacement & séparateurs ——— */
body.index-page main > .section-panel {
  padding: 32px 0 36px;
  background: var(--panel-bg);
  border-top: 1px solid var(--border-subtle);
}

body.index-page .section-heading {
  font-family: var(--heading-font);
  font-size: clamp(2rem, 4.5vw, 2.5rem);
  color: var(--heading-color);
  text-align: center;
  margin: 0 0 20px;
  line-height: 1.1;
}

body.index-page .section-panel-body {
  padding-top: 0;
}

body.index-page #gallery.section-panel .container:first-child {
  padding-bottom: 0;
}

body.index-page #gallery .container.pt-0 {
  padding-top: 0;
}

/* ——— Layout global ——— */
body.index-page.has-cart-bar {
  padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px));
}

.index-page .site-footer {
  margin-bottom: 0;
  padding-bottom: calc(28px + env(safe-area-inset-bottom, 0px));
}

.index-page .site-footer .copyright {
  padding-bottom: 0;
}

/* Boutons flottants empilés (réseaux + retour haut) */
.float-actions-stack {
  --float-stack-edge: 15px;
  --float-stack-base: 15px;
  position: fixed;
  right: var(--float-stack-edge);
  bottom: calc(var(--float-stack-base) + env(safe-area-inset-bottom, 0px));
  z-index: 9998;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  pointer-events: none;
}

.float-actions-stack > * {
  pointer-events: auto;
}

body.has-cart-bar .float-actions-stack {
  --float-stack-base: calc(64px + 12px);
}

.float-actions-stack .float-social-hub,
.float-actions-stack .scroll-top {
  position: relative;
  right: auto;
  bottom: auto;
}

.float-actions-stack .scroll-top {
  width: 48px;
  height: 48px;
  margin: 0;
  flex-shrink: 0;
}

.float-actions-stack .scroll-top.active {
  bottom: auto;
}

.float-actions-stack .scroll-top i {
  color: var(--heading-color);
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 100000;
  padding: 10px 16px;
  background: var(--accent-color);
  color: var(--heading-color);
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
}

.skip-link:focus {
  top: 12px;
}

.header .logo img {
  max-height: 42px;
  width: auto;
  object-fit: contain;
}

.header .logo .sitename {
  font-size: 26px;
  font-weight: 700;
  margin: 0;
  padding: 0;
  line-height: 1;
  font-family: var(--heading-font);
  color: var(--heading-color);
}

/* ——— Hero : image de fond ——— */
.intro-hero {
  position: relative;
  min-height: min(52vh, 420px);
  padding: 88px 0 40px;
  display: flex;
  align-items: flex-end;
  background-color: #e8e3d8;
  overflow: hidden;
}

.intro-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

.intro-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(20, 18, 16, 0.15) 0%,
    rgba(20, 18, 16, 0.45) 45%,
    rgba(20, 18, 16, 0.82) 92%,
    rgba(20, 18, 16, 0.92) 100%
  );
  pointer-events: none;
}

.intro-hero .container {
  position: relative;
  z-index: 2;
}

.intro-hero-content {
  max-width: 36rem;
  padding-bottom: 8px;
}

.intro-hero .intro-title {
  font-family: var(--heading-font);
  font-size: clamp(2.2rem, 5.5vw, 3.25rem);
  line-height: 1.05;
  color: #fff;
  margin-bottom: 10px;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.45);
}

.intro-hero .intro-lead {
  font-size: clamp(0.95rem, 2vw, 1.05rem);
  line-height: 1.55;
  color: rgba(255, 252, 247, 0.92);
  margin: 0;
  max-width: 32rem;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.4);
}

body.index-page #menu.section-panel {
  margin-top: 0;
  border-top: none;
  padding-top: 28px;
}

body.index-page .menu-breadcrumb {
  font-size: 0.9rem;
  text-align: center;
}

body.index-page .btn-back-cat {
  color: var(--muted-color);
  font-size: 0.9rem;
}

.menu-carousel-wrap {
  position: relative;
}

.menu-cats-swiper,
.menu-items-swiper {
  padding: 0 36px 40px;
  overflow: hidden;
}

.menu-cats-swiper .swiper-slide,
.menu-items-swiper .swiper-slide {
  width: min(200px, 48vw);
}

@media (min-width: 480px) {
  .menu-cats-swiper .swiper-slide,
  .menu-items-swiper .swiper-slide {
    width: min(245px, 46vw);
  }
}

@media (min-width: 768px) {
  .menu-cats-swiper .swiper-slide,
  .menu-items-swiper .swiper-slide {
    width: min(270px, 33vw);
  }
}

@media (min-width: 992px) {
  .menu-cats-swiper .swiper-slide,
  .menu-items-swiper .swiper-slide {
    width: calc((100% - 60px) / 4);
    max-width: 310px;
  }
}

.menu-carousel-wrap .swiper-slide {
  height: auto;
  display: flex;
}

.menu-carousel-wrap .swiper-slide .menu-cat-card,
.menu-carousel-wrap .swiper-slide .menu-item-order {
  width: 100%;
}

.menu-carousel-wrap .swiper-pagination {
  bottom: 4px;
}

.menu-carousel-wrap .swiper-pagination-bullet {
  background: color-mix(in srgb, var(--heading-color), transparent 70%);
  opacity: 1;
}

.menu-carousel-wrap .swiper-pagination-bullet-active {
  background: var(--accent-color);
}

/* Galerie : cadre plus doux */
body.index-page .gallery .swiper-slide-active {
  border-width: 3px;
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(20, 18, 16, 0.12);
}

body.index-page #menu-back-categories {
  color: var(--heading-color);
  font-weight: 600;
}

body.index-page #menu-breadcrumb .btn-link {
  color: var(--accent-dark);
}

.menu-carousel-wrap .swiper-button-prev,
.menu-carousel-wrap .swiper-button-next {
  color: var(--accent-color);
  --swiper-navigation-size: 26px;
}

.menu-carousel-wrap .swiper-button-disabled {
  opacity: 0.2;
}

/* ——— Menu : carrousel catégories / plats ——— */
.menu-cat-card {
  display: block;
  background: var(--surface-color);
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
  padding: 20px 18px 24px;
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  color: var(--heading-color);
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(20, 18, 16, 0.06);
}

.menu-cat-card:hover,
.menu-cat-card:focus-visible {
  border-color: color-mix(in srgb, var(--accent-color), transparent 40%);
  box-shadow: 0 14px 32px rgba(20, 18, 16, 0.12);
  transform: translateY(-3px);
  color: var(--heading-color);
}

.menu-cat-card h4 {
  font-family: var(--heading-font);
  font-size: 1.4rem;
}

.taco-size-btn {
  border-radius: 14px;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.taco-size-btn:hover,
.taco-size-btn:focus-visible {
  border-color: var(--accent-color);
  background: color-mix(in srgb, var(--accent-color), transparent 92%);
}

#taco-slots-accordion .accordion-button {
  font-weight: 600;
}

.menu-item-taco {
  position: relative;
}

.menu-taco-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  background: var(--accent-color);
  color: #1a1612;
  font-weight: 700;
  font-size: 1.1rem;
  padding: 4px 10px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.taco-slot-card {
  box-shadow: 0 4px 14px rgba(20, 18, 16, 0.06);
}

.taco-slot-title {
  font-weight: 700;
  color: var(--heading-color);
}

#taco-modal-body .form-check-inline .form-check-label {
  font-weight: 500;
}

.menu-cat-img-wrap {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  border-radius: 14px;
  overflow: hidden;
  background: #e8e3d8;
}

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

.menu-cat-card h4 {
  font-size: 1.4rem;
}

/* Plats dans une catégorie */
.menu .menu-item.menu-item-order {
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-align: center;
  background: var(--surface-color);
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
  padding: 12px 12px 16px !important;
  box-shadow: 0 8px 24px rgba(20, 18, 16, 0.06);
}

.menu .menu-item.menu-item-order:hover,
.menu .menu-item.menu-item-order:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(20, 18, 16, 0.1);
}

.menu .menu-item.menu-item-order .menu-img {
  border-radius: 12px;
}

.menu .menu-item .btn-add-item {
  display: inline-block;
  margin-top: 8px;
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 600;
  border: none;
  border-radius: 50px;
  background: var(--accent-color);
  color: var(--contrast-color);
  cursor: pointer;
}

.menu .menu-item .btn-add-item:hover {
  background: color-mix(in srgb, var(--accent-color), #000 10%);
}

.option-group {
  background: #fafafa;
  border-radius: 10px;
  padding: 12px 14px;
  margin-bottom: 12px;
}

.option-group-title {
  margin-bottom: 0.25rem;
  font-weight: 700;
}

/* Modal plat */
.item-modal-img {
  width: 100%;
  max-height: 200px;
  object-fit: cover;
  border-radius: 12px;
}

.item-gallery a {
  flex: 0 0 auto;
}

.option-group {
  border-bottom: 1px solid #eee;
  padding-bottom: 12px;
  margin-bottom: 12px;
}

.option-group h6 {
  font-weight: 700;
  margin-bottom: 8px;
  font-family: var(--default-font);
}

.qty-control {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.qty-control button {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  border: 1px solid #ccc;
  background: #fff;
  font-size: 1.1rem;
  line-height: 1;
}

#item-live-price {
  color: var(--heading-color);
}

/* Panier flottant */
.cart-float {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1035;
  background: #0a0a0a;
  color: #fff;
  padding: 12px 0 calc(12px + env(safe-area-inset-bottom, 0px));
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.25);
}

.cart-float .btn-getstarted {
  font-size: 14px;
  padding: 10px 18px;
}

.btn-getstarted .cart-badge {
  display: inline-block;
  min-width: 20px;
  padding: 2px 6px;
  margin-left: 6px;
  font-size: 11px;
  border-radius: 10px;
  background: #0a0a0a;
  color: var(--accent-color);
}

.checkout-summary {
  background: color-mix(in srgb, var(--accent-color), transparent 88%);
}

.checkout-choice-btn {
  display: block;
  background: var(--surface-color);
  border: 2px solid #eee;
  border-radius: 14px;
  padding: 20px 16px;
  text-align: center;
  color: var(--heading-color);
  transition: all 0.2s ease;
  cursor: pointer;
}

.checkout-choice-btn:hover,
.checkout-choice-btn:focus {
  border-color: var(--accent-color);
  background: color-mix(in srgb, var(--accent-color), transparent 90%);
  color: var(--heading-color);
}

.checkout-choice-btn i {
  color: var(--accent-color);
}

.delivery-info-box {
  background: #fff;
  border-left: 4px solid var(--accent-color);
  padding: 10px 14px;
  font-size: 14px;
  border-radius: 4px;
}

.modal-mr .modal-header,
body.index-page #checkoutModal .modal-header {
  background: var(--heading-color);
  color: #fffcf7;
}

body.index-page #checkoutModal .modal-header .modal-title,
body.index-page #checkoutModal .modal-header .btn-close {
  color: #fffcf7;
}

.modal-mr .modal-header .btn-close {
  filter: invert(1);
}

/* Hub réseaux sociaux — menu circulaire */
.float-social-hub {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
}

.float-social-toggle {
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 50%;
  background: var(--heading-color);
  color: var(--accent-color);
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.28);
  cursor: pointer;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.25s ease;
  position: relative;
  z-index: 2;
}

.float-social-toggle:hover {
  background: color-mix(in srgb, var(--heading-color), var(--accent-color) 25%);
  color: var(--accent-color);
}

.float-social-hub.is-open .float-social-toggle {
  transform: rotate(90deg);
  background: var(--accent-color);
  color: var(--heading-color);
}

.float-social-orbit {
  position: absolute;
  right: 24px;
  bottom: 24px;
  width: 0;
  height: 0;
  pointer-events: none;
}

.float-social-hub.is-open .float-social-orbit {
  pointer-events: auto;
}

.float-social-orbit-item {
  position: absolute;
  left: 0;
  top: 0;
  width: 44px;
  height: 44px;
  margin: -22px 0 0 -22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 20px;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.22);
  opacity: 0;
  transform: translate(0, 0) scale(0.3);
  transition:
    transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
    opacity 0.25s ease;
  transition-delay: calc(var(--i, 0) * 0.05s);
}

.float-social-hub:not(.is-open) .float-social-orbit-item {
  transition-delay: 0s;
}

.float-social-hub.is-open .float-social-orbit-item {
  opacity: 1;
  transform: translate(var(--tx), var(--ty)) scale(1);
}

.float-social-orbit-item:hover {
  transform: translate(var(--tx), var(--ty)) scale(1.12) !important;
  color: #fff;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
}

.footer-social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.1rem;
  transition: transform 0.2s ease;
}

.footer-social-icon:hover {
  transform: scale(1.1);
  color: #fff;
}

/* ——— Tablette ——— */
@media (max-width: 991px) {
  .index-page .section {
    padding: 48px 0;
  }

  .index-page .section-title {
    padding-bottom: 40px;
  }

  .intro-hero {
    min-height: min(46vh, 360px);
    padding: 76px 0 28px;
  }

  body.index-page main > .section-panel {
    padding: 24px 0 28px;
  }

  .menu-cats-swiper,
  .menu-items-swiper {
    padding-left: 8px;
    padding-right: 8px;
  }

  .menu-carousel-wrap .swiper-button-prev,
  .menu-carousel-wrap .swiper-button-next {
    display: none;
  }

  .checkout-choice-btn {
    padding: 16px 12px;
  }
}

/* ——— Mobile ——— */
@media (max-width: 576px) {
  .header .logo .sitename {
    font-size: 20px;
  }

  .header .logo img {
    max-height: 36px;
  }

  .btn-getstarted {
    font-size: 13px;
    padding: 8px 14px;
  }

  .float-actions-stack {
    --float-stack-edge: 12px;
    --float-stack-base: 16px;
  }

  body.has-cart-bar .float-actions-stack {
    --float-stack-base: calc(60px + 12px);
  }

  .float-social-hub,
  .float-actions-stack .scroll-top {
    width: 44px;
    height: 44px;
  }

  .float-social-toggle {
    width: 44px;
    height: 44px;
    font-size: 20px;
  }

  .float-social-orbit-item {
    width: 40px;
    height: 40px;
    margin: -20px 0 0 -20px;
    font-size: 18px;
  }

  .cart-float .container {
    flex-wrap: wrap;
    gap: 8px !important;
  }

  .cart-float .btn-getstarted {
    font-size: 12px;
    padding: 8px 12px;
    width: 100%;
  }

  .cart-float #btn-view-cart-float {
    font-size: 14px;
  }

  .menu-cat-card {
    padding: 18px 12px;
  }

  .menu-cat-card h4 {
    font-size: 1.25rem;
  }

  .index-page .site-footer {
    padding-top: 32px;
  }

  .index-page .site-footer .row {
    text-align: center;
  }

  .index-page .site-footer .d-flex {
    justify-content: center;
  }

  .footer-social-links {
    justify-content: center;
  }

  #order-confirmation .alert {
    font-size: 0.95rem;
  }
}

/* Touch targets */
.menu-cat-card,
.checkout-choice-btn,
.btn-getstarted,
.float-social-toggle {
  min-height: 44px;
}

button:focus-visible,
a:focus-visible,
.menu-item-order:focus-visible {
  outline: 2px solid var(--accent-color);
  outline-offset: 2px;
}

/* ——— Suivi commande ——— */
.track-timeline .track-step {
  display: flex;
  gap: 14px;
  padding-bottom: 20px;
  position: relative;
}

.track-timeline .track-step:last-child {
  padding-bottom: 0;
}

.track-timeline .track-step:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 9px;
  top: 22px;
  bottom: 0;
  width: 2px;
  background: #ddd;
}

.track-timeline .track-step.done:not(:last-child)::before {
  background: var(--accent-color);
}

.track-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid #ccc;
  background: #fff;
  flex-shrink: 0;
  margin-top: 2px;
}

.track-step.done .track-dot {
  border-color: var(--accent-color);
  background: var(--accent-color);
}

.track-step.active .track-dot {
  border-color: var(--accent-color);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent-color), transparent 70%);
}

.track-step.done .track-dot::after {
  content: '✓';
  display: block;
  text-align: center;
  font-size: 11px;
  line-height: 16px;
  color: var(--heading-color);
  font-weight: bold;
}

.btn-mr {
  background: var(--accent-color);
  color: var(--heading-color);
  font-weight: 600;
  border: none;
}

/* Bandeau cookies RGPD */
.cookie-consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 11000;
  background: #0a0a0a;
  color: #f5f5f5;
  padding: 14px 16px calc(14px + env(safe-area-inset-bottom, 0px));
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.35);
}

body.has-cart-bar .cookie-consent-banner {
  bottom: calc(64px + env(safe-area-inset-bottom, 0px));
}

.cookie-consent-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}

.cookie-consent-text {
  flex: 1 1 280px;
}

.cookie-consent-text a {
  color: var(--accent-color);
}

.cookie-consent-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.footer-legal-links a {
  color: color-mix(in srgb, var(--default-color), #fff 40%);
  text-decoration: none;
  margin: 0 4px;
}

.footer-legal-links a:hover {
  color: var(--accent-color);
}

.legal-content h2 {
  font-size: 1.1rem;
  margin-top: 1.25rem;
  margin-bottom: 0.5rem;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content-wrap {
  max-width: 800px;
}

@media (max-width: 576px) {
  .cookie-consent-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-consent-actions .btn {
    flex: 1 1 auto;
  }
}


/* ═══════════════════════════════════════════════════════════════════════════
   ANNOUNCEMENT BAR
   ═══════════════════════════════════════════════════════════════════════════ */
.announcement-bar {
  background: #000;
  color: #fff;
  text-align: center;
  padding: 9px 16px;
  font-size: 0.82rem;
  font-weight: 500;
  line-height: 1.4;
  width: 100%;
  z-index: 1100;
  position: relative;
}

.announcement-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px 14px;
  max-width: 900px;
  margin: 0 auto;
}

.announcement-item {
  white-space: nowrap;
}

.announcement-sub {
  opacity: 0.75;
  font-size: 0.78em;
}

.announcement-sep {
  opacity: 0.35;
  display: none;
}

@media (min-width: 600px) {
  .announcement-sep { display: inline; }
  .announcement-bar { font-size: 0.87rem; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   WELCOME SECTION
   ═══════════════════════════════════════════════════════════════════════════ */
.welcome-section {
  padding: 22px 0 18px;
  background: var(--surface-color, #fff);
  border-bottom: 1px solid var(--border-subtle, rgba(0,0,0,.08));
}

.welcome-inner {
  display: flex;
  align-items: center;
  gap: 18px;
  background: linear-gradient(135deg,
    color-mix(in srgb, var(--accent-color, #f5c518) 12%, transparent),
    color-mix(in srgb, var(--accent-color, #f5c518) 4%, transparent)
  );
  border: 1px solid color-mix(in srgb, var(--accent-color, #f5c518) 30%, transparent);
  border-radius: 16px;
  padding: 18px 22px;
}

.welcome-icon {
  font-size: 2.8rem;
  flex-shrink: 0;
  line-height: 1;
}

.welcome-title {
  font-size: clamp(1.35rem, 3.5vw, 1.9rem);
  margin-bottom: 6px;
  color: var(--heading-color, #141210);
  font-family: var(--heading-font, inherit);
}

.welcome-title strong {
  color: var(--accent-dark, #c9a012);
}

.welcome-body {
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  color: var(--muted-color, #5c5348);
  margin: 0;
  line-height: 1.6;
}

@media (max-width: 480px) {
  .welcome-inner { gap: 12px; padding: 14px 16px; }
  .welcome-icon { font-size: 2rem; }
  .welcome-title { font-size: 1.2rem; }
  .welcome-body { font-size: 0.92rem; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   MOBILE CATEGORY LAYOUT — vertical list on mobile, carousel on desktop
   ═══════════════════════════════════════════════════════════════════════════ */

/* On mobile: turn the swiper into a plain vertical list */
@media (max-width: 767px) {
  /* Categories: stack vertically */
  #menu-step-categories .menu-cats-swiper {
    overflow: visible !important;
    padding: 0 !important;
  }
  #menu-step-categories .menu-cats-swiper .swiper-wrapper {
    display: flex !important;
    flex-direction: column !important;
    transform: none !important;
    gap: 18px;
    width: 100% !important;
  }
  #menu-step-categories .menu-cats-swiper .swiper-slide {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
  }
  #menu-step-categories .menu-cats-swiper .swiper-button-prev,
  #menu-step-categories .menu-cats-swiper .swiper-button-next,
  #menu-step-categories .menu-cats-swiper .swiper-pagination {
    display: none !important;
  }
  #menu-step-categories .menu-cats-swiper .swiper-slide .menu-cat-card {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 16px !important;
    border-radius: 20px !important;
    padding: 20px 20px 24px !important;
    text-align: center !important;
    min-height: 220px;
  }
  #menu-step-categories .menu-cats-swiper .swiper-slide .menu-cat-card .menu-cat-img-wrap {
    width: 100% !important;
    height: 160px !important;
    border-radius: 14px !important;
    flex-shrink: 0;
  }
  #menu-step-categories .menu-cats-swiper .swiper-slide .menu-cat-card h4 {
    margin: 0 !important;
    font-size: 1.55rem;
    font-weight: 700;
  }

  /* Items: 2-column grid on mobile */
  #menu-step-items .menu-items-swiper {
    overflow: visible !important;
    padding: 0 !important;
  }
  #menu-step-items .menu-items-swiper .swiper-wrapper {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 10px !important;
    transform: none !important;
    width: 100% !important;
  }
  #menu-step-items .menu-items-swiper .swiper-slide {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
  }
  #menu-step-items .menu-items-swiper .swiper-button-prev,
  #menu-step-items .menu-items-swiper .swiper-button-next,
  #menu-step-items .menu-items-swiper .swiper-pagination {
    display: none !important;
  }
  /* Item cards on mobile — slightly bigger */
  #menu-step-items .menu-item-order .menu-img {
    height: 130px;
    object-fit: cover;
    width: 100%;
    border-radius: 12px 12px 0 0;
  }
  #menu-step-items .menu-item-order h4 {
    font-size: 0.95rem;
    margin: 8px 10px 3px;
    line-height: 1.3;
  }
  #menu-step-items .menu-item-order .ingredients {
    font-size: 0.78rem;
    margin: 0 10px 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  #menu-step-items .menu-item-order .price {
    font-size: 0.95rem;
    margin: 0 10px 4px;
    font-weight: 700;
  }
  #menu-step-items .menu-item-order .btn-add-item {
    font-size: 0.78rem;
    margin: 0 10px 10px;
    display: block;
  }
}

/* ════════════════════════════════════════════════════════════
   BTN-GETSTARTED — fond noir / texte blanc (CTA global)
   ════════════════════════════════════════════════════════════ */
.btn-getstarted {
  background: #1a1612;
  color: #fff;
  border: none;
  cursor: pointer;
}
.btn-getstarted:hover,
.btn-getstarted:focus {
  background: #2d2925;
  color: #fff;
}

/* ════════════════════════════════════════════════════════════
   ORDER MODES SECTION — Livraison / À emporter
   ════════════════════════════════════════════════════════════ */
.order-modes-section {
  padding: 20px 0;
  background: var(--surface-color, #fff);
  border-bottom: 1px solid var(--border-subtle, rgba(0,0,0,.08));
}
.order-modes-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  max-width: 580px;
  margin: 0 auto;
}
.order-mode-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--surface-color, #fff);
  border: 1px solid var(--border-subtle, rgba(0,0,0,.08));
  border-radius: 16px;
  padding: 16px 18px;
  box-shadow: 0 4px 16px rgba(20, 18, 16, 0.05);
}
.order-mode-icon {
  font-size: 2.2rem;
  flex-shrink: 0;
  line-height: 1;
}
.order-mode-title {
  font-family: var(--heading-font, inherit);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 2px;
  color: var(--heading-color, #141210);
}
.order-mode-desc {
  font-size: 0.82rem;
  color: var(--muted-color, #5c5348);
  margin: 0;
}
@media (max-width: 480px) {
  .order-modes-grid {
    grid-template-columns: 1fr;
    max-width: 100%;
  }
  .order-mode-card { padding: 14px 16px; }
}

/* Boisson du menu — hidden until Menu is selected */
.option-group-menu-drink-hidden {
  display: none !important;
}
