@import url("https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,500;9..144,700&family=Work+Sans:wght@300;400;500;600;700&display=swap");

:root {
  --tomato: #d44b2f;
  --tomato-dark: #a53322;
  --basil: #2e7a4a;
  --olive: #1c4a33;
  --crust: #f2e3cc;
  --cream: #fbf5ed;
  --charcoal: #2a1f1a;
  --ink: #3a2b24;
  --gold: #f2c27c;
  --accent: #ff8a3d;
  --shadow: rgba(37, 24, 18, 0.18);
  --shadow-soft: rgba(37, 24, 18, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Work Sans", "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 1px 1px, rgba(212, 75, 47, 0.08) 1px, transparent 0),
    radial-gradient(circle at 8px 8px, rgba(46, 122, 74, 0.08) 1px, transparent 0),
    linear-gradient(180deg, #fff7ef 0%, #f8efe2 40%, #f3e6d3 100%);
  background-size: 16px 16px, 22px 22px, 100% 100%;
  min-height: 100vh;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1120px, 90vw);
  margin: 0 auto;
}

.section {
  padding: 80px 0;
}

.section-tight {
  padding: 40px 0;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 999px;
  background: rgba(46, 122, 74, 0.14);
  color: var(--olive);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(135deg, var(--tomato), var(--tomato-dark));
  color: #fff;
  box-shadow: 0 12px 24px var(--shadow-soft);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 30px rgba(212, 75, 47, 0.25);
}

.btn-outline {
  border-color: rgba(58, 43, 36, 0.3);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.6);
}

.btn-outline:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 20px var(--shadow-soft);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  backdrop-filter: blur(12px);
  background: rgba(251, 245, 237, 0.9);
  border-bottom: 1px solid rgba(46, 122, 74, 0.1);
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  gap: 16px;
  position: relative;
}

.brand {
  display: flex;
  flex-direction: column;
  font-family: "Fraunces", serif;
  color: var(--charcoal);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.brand span {
  font-size: 0.8rem;
  color: var(--tomato);
  font-family: "Work Sans", sans-serif;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0.1em;
}

.nav-toggle {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}

.nav-toggle-label {
  display: none;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(212, 75, 47, 0.12);
  color: var(--tomato-dark);
  font-weight: 600;
  cursor: pointer;
}

.nav-links {
  display: flex;
  gap: 24px;
  font-weight: 600;
  color: var(--ink);
}

.nav-links a {
  position: relative;
  padding-bottom: 4px;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--tomato);
  transition: width 0.2s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px;
  align-items: center;
  padding: 40px;
  border-radius: 32px;
  background: linear-gradient(130deg, rgba(255, 255, 255, 0.95), rgba(255, 247, 235, 0.85));
  box-shadow: 0 30px 80px rgba(37, 24, 18, 0.12);
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(242, 194, 124, 0.2), transparent 55%);
  pointer-events: none;
}

.hero h1 {
  font-family: "Fraunces", serif;
  font-size: clamp(2.6rem, 2.1rem + 2vw, 4rem);
  margin: 0 0 16px;
  color: var(--charcoal);
}

.hero p {
  font-size: 1.05rem;
  line-height: 1.7;
  margin: 0 0 24px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.hero-media {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(37, 24, 18, 0.2);
}

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

.grid {
  display: grid;
  gap: 24px;
}

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

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

.card {
  background: rgba(255, 255, 255, 0.85);
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 18px 40px var(--shadow-soft);
  border: 1px solid rgba(212, 75, 47, 0.08);
  position: relative;
}

.card.has-watermark {
  overflow: hidden;
}

.card.has-watermark > *:not(.order-watermark) {
  position: relative;
  z-index: 1;
}

.card.has-watermark .order-watermark {
  position: absolute;
  inset: -20% -30%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  z-index: 0;
}

.card.payment-paid {
  background: linear-gradient(135deg, rgba(46, 122, 74, 0.18), rgba(46, 122, 74, 0.04)), rgba(255, 255, 255, 0.88);
  border-color: rgba(46, 122, 74, 0.45);
}

.card.payment-unpaid,
.card.payment-partial {
  background: linear-gradient(135deg, rgba(212, 75, 47, 0.18), rgba(212, 75, 47, 0.04)), rgba(255, 255, 255, 0.88);
  border-color: rgba(212, 75, 47, 0.45);
}

.order-watermark {
  transform: rotate(-18deg) scale(var(--wm-scale, 1));
  transform-origin: center;
  font-family: "Fraunces", serif;
  font-size: clamp(2.8rem, 1.6rem + 5.5vw, 6.8rem);
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  opacity: var(--wm-opacity, 0.6);
  pointer-events: none;
  white-space: nowrap;
  line-height: 1;
  text-shadow: 0 14px 28px rgba(37, 24, 18, 0.25);
}

.order-watermark-prepa {
  color: #d08b25;
}

.order-watermark-attente {
  color: #9b6b4b;
}

.order-watermark-prete {
  color: #1e6a3c;
}

.order-watermark-route {
  color: #1d4ed8;
}

.order-watermark-delivered {
  color: #1b7a4d;
}

.order-watermark-failed {
  color: #9b1c1c;
}

.order-watermark-done {
  color: #0e4728;
}

.order-watermark-cancelled {
  color: #6b7280;
}

.legend-swatch {
  display: inline-block;
  width: 14px;
  height: 14px;
  border-radius: 4px;
  margin-right: 10px;
  vertical-align: middle;
  border: 1px solid rgba(37, 24, 18, 0.15);
}

.legend-paid {
  background: linear-gradient(135deg, rgba(46, 122, 74, 0.7), rgba(46, 122, 74, 0.25));
  border-color: rgba(46, 122, 74, 0.6);
}

.legend-unpaid {
  background: linear-gradient(135deg, rgba(212, 75, 47, 0.7), rgba(212, 75, 47, 0.25));
  border-color: rgba(212, 75, 47, 0.6);
}

.legend-cancelled {
  background: linear-gradient(135deg, rgba(107, 114, 128, 0.7), rgba(107, 114, 128, 0.25));
  border-color: rgba(107, 114, 128, 0.6);
}

.reason-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.reason-chip {
  border: 1px solid rgba(58, 43, 36, 0.18);
  background: rgba(255, 247, 235, 0.8);
  border-radius: 999px;
  padding: 6px 12px;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  white-space: nowrap;
}

.reason-chip:focus-visible {
  outline: 2px solid rgba(212, 75, 47, 0.35);
  outline-offset: 3px;
}

.legend-prepa {
  background: #d08b25;
}

.legend-attente {
  background: #9b6b4b;
}

.legend-prete {
  background: #1e6a3c;
}

.legend-route {
  background: #1d4ed8;
}

.legend-delivered {
  background: #1b7a4d;
}

.legend-failed {
  background: #9b1c1c;
}

.legend-done {
  background: #0e4728;
}

.card h3 {
  font-family: "Fraunces", serif;
  margin: 0 0 12px;
  color: var(--charcoal);
}

.card p {
  margin: 0;
  line-height: 1.6;
}

.menu-preview {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.menu-preview img {
  border-radius: 16px;
  box-shadow: 0 12px 30px var(--shadow-soft);
}

.highlight {
  background: linear-gradient(130deg, rgba(212, 75, 47, 0.12), rgba(46, 122, 74, 0.12));
  border-radius: 24px;
  padding: 32px;
}

.info-list {
  display: grid;
  gap: 12px;
  font-weight: 500;
}

.info-list span {
  display: block;
  color: rgba(58, 43, 36, 0.7);
  font-size: 0.95rem;
}

.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
  align-items: start;
}

.section-title {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
}

.section-title h2 {
  font-family: "Fraunces", serif;
  font-size: clamp(1.8rem, 1.5rem + 1vw, 2.6rem);
  margin: 0;
  color: var(--charcoal);
}

.section-title p {
  margin: 0;
  color: rgba(58, 43, 36, 0.7);
}

.onboarding-card {
  margin: 18px 0 24px;
  padding: 18px;
}

.onboarding-card summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-weight: 700;
  color: var(--tomato-dark);
}

.onboarding-card summary::-webkit-details-marker {
  display: none;
}

.onboarding-card summary::after {
  content: "+";
  font-size: 1.1rem;
}

.onboarding-card[open] summary::after {
  content: "-";
}

.onboarding-card ol {
  margin: 14px 0 0;
  padding-left: 20px;
  display: grid;
  gap: 8px;
  color: rgba(58, 43, 36, 0.7);
}

.site-footer {
  padding: 50px 0;
  background: rgba(46, 122, 74, 0.1);
  border-top: 1px solid rgba(46, 122, 74, 0.15);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}

.footer-grid h4 {
  margin: 0 0 12px;
  font-family: "Fraunces", serif;
  color: var(--charcoal);
}

.footer-grid p,
.footer-grid a {
  color: rgba(58, 43, 36, 0.8);
  line-height: 1.6;
}

.reveal {
  animation: rise 0.7s ease both;
}

.reveal.delay-1 {
  animation-delay: 0.08s;
}

.reveal.delay-2 {
  animation-delay: 0.16s;
}

.reveal.delay-3 {
  animation-delay: 0.24s;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 980px) {
  .grid-3,
  .menu-preview,
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 780px) {
  .nav-links {
    display: none;
    flex-direction: column;
    padding: 16px;
    background: rgba(251, 245, 237, 0.98);
    border-radius: 18px;
    box-shadow: 0 16px 32px var(--shadow-soft);
    position: absolute;
    top: 68px;
    right: 5vw;
    left: 5vw;
  }

  .nav-toggle:checked ~ .nav-links {
    display: flex;
  }

  .nav-toggle-label {
    display: inline-flex;
  }

  .nav-actions {
    display: none;
  }

  .grid-3,
  .grid-2,
  .menu-preview,
  .split,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Menu page */
.menu-hero {
  padding: 32px;
  border-radius: 28px;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.95), rgba(243, 230, 211, 0.9));
  box-shadow: 0 24px 50px var(--shadow-soft);
}

.page-carte .menu-quick {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.page-carte .menu-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(58, 43, 36, 0.2);
  background: rgba(255, 255, 255, 0.75);
  font-weight: 600;
  color: var(--ink);
}

.page-carte .menu-tip {
  margin: 12px 0 0;
  font-weight: 600;
  color: rgba(58, 43, 36, 0.7);
}

.menu-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.filter-bar {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 24px;
}

.filter-bar input,
.filter-bar select {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(58, 43, 36, 0.2);
  background: #fff;
  font-size: 1rem;
  font-family: inherit;
}

.filter-bar input[readonly] {
  background: rgba(255, 255, 255, 0.6);
  color: rgba(58, 43, 36, 0.75);
  border-style: dashed;
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.pizza-card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 18px 40px var(--shadow-soft);
  border: 1px solid rgba(212, 75, 47, 0.1);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.page-commande .pizza-card {
  animation: rise 0.5s ease both;
}

.page-commande .pizza-card:nth-child(1) { animation-delay: 0.02s; }
.page-commande .pizza-card:nth-child(2) { animation-delay: 0.04s; }
.page-commande .pizza-card:nth-child(3) { animation-delay: 0.06s; }
.page-commande .pizza-card:nth-child(4) { animation-delay: 0.08s; }
.page-commande .pizza-card:nth-child(5) { animation-delay: 0.1s; }
.page-commande .pizza-card:nth-child(6) { animation-delay: 0.12s; }

.pizza-card h3 {
  margin: 0;
  font-family: "Fraunces", serif;
  color: var(--charcoal);
}

.pizza-meta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: var(--olive);
  font-weight: 600;
}

.pizza-ingredients {
  margin: 0;
  line-height: 1.5;
  color: rgba(58, 43, 36, 0.75);
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.price-btn {
  border: 1px solid rgba(212, 75, 47, 0.2);
  background: rgba(255, 247, 235, 0.7);
  border-radius: 12px;
  padding: 10px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--ink);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.page-carte .price-btn {
  min-height: 44px;
}

.page-commande .price-btn {
  min-height: 44px;
}

.page-commande .price-btn:active {
  transform: translateY(1px) scale(0.98);
  box-shadow: 0 6px 12px var(--shadow-soft);
}

.price-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px var(--shadow-soft);
}

.cart {
  position: sticky;
  top: 120px;
  align-self: start;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 22px;
  padding: 24px;
  box-shadow: 0 18px 40px var(--shadow-soft);
  border: 1px solid rgba(46, 122, 74, 0.12);
}

.cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.cart h3 {
  margin: 0;
  font-family: "Fraunces", serif;
}

.cart-close {
  display: none;
}

.cart-items {
  display: grid;
  gap: 12px;
  margin: 16px 0;
}

.cart-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.95rem;
}

.cart-item-main {
  display: grid;
  gap: 6px;
}

.cart-item-side {
  display: grid;
  gap: 8px;
  justify-items: end;
}

.cart-meta {
  font-size: 0.85rem;
  color: rgba(58, 43, 36, 0.7);
}

.cart-line-price {
  font-weight: 700;
}

.cart-qty {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(46, 122, 74, 0.08);
  border-radius: 999px;
  padding: 4px 8px;
}

.btn-compact {
  padding: 6px 10px;
  font-size: 0.85rem;
}

.qty-btn {
  border: none;
  background: transparent;
  font-weight: 700;
  cursor: pointer;
  color: var(--olive);
}

.cart-total {
  display: flex;
  justify-content: space-between;
  font-weight: 700;
  margin-top: 12px;
}

.cart-sheet-backdrop {
  display: none;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.cart-sheet-backdrop.is-visible {
  display: block;
  position: fixed;
  inset: 0;
  background: rgba(15, 12, 10, 0.45);
  opacity: 1;
  z-index: 50;
}

.cart-open {
  overflow: hidden;
}

.order-floating-link {
  background: transparent;
  border: none;
  padding: 0;
  font-weight: 600;
  color: var(--olive);
  font-size: 0.85rem;
  cursor: pointer;
}

.order-floating-bar {
  display: none;
}

.page-commande .order-floating-bar {
  animation: floatUp 0.45s ease both;
}

.order-floating-bar .btn[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
  box-shadow: none;
}

@keyframes floatUp {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.order-floating-badge {
  display: none;
  opacity: 0;
  background: rgba(46, 122, 74, 0.12);
  color: var(--olive);
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 0.8rem;
  font-weight: 700;
  transform: translateY(6px);
  pointer-events: none;
  white-space: nowrap;
}

.order-floating-badge.is-visible {
  display: inline-flex;
  animation: orderBadgePulse 1.6s ease;
}

@keyframes orderBadgePulse {
  0% {
    opacity: 0;
    transform: translateY(8px) scale(0.96);
  }
  20% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  80% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  100% {
    opacity: 0;
    transform: translateY(-4px) scale(0.98);
  }
}

.sheet-open {
  overflow: hidden;
}

.ingredients-sheet {
  display: none;
  position: fixed;
  inset: 0;
  align-items: flex-end;
  justify-content: center;
  z-index: 60;
}

.ingredients-sheet.is-open {
  display: flex;
}

.ingredients-sheet__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 12, 10, 0.45);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.ingredients-sheet__panel {
  position: relative;
  width: min(100%, 560px);
  margin: 0 12px 12px;
  background: #fff;
  border-radius: 18px;
  border: 1px solid rgba(46, 122, 74, 0.18);
  box-shadow: 0 -18px 40px rgba(58, 43, 36, 0.2);
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 12px;
  padding: 16px;
  max-height: 85vh;
  overflow: hidden;
  opacity: 0;
  transform: translateY(16px);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.ingredients-sheet.is-open .ingredients-sheet__backdrop {
  opacity: 1;
}

.ingredients-sheet.is-open .ingredients-sheet__panel {
  opacity: 1;
  transform: translateY(0);
}

.ingredients-sheet__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.ingredients-sheet__header .cell-muted {
  display: block;
}

.ingredients-sheet__body {
  display: grid;
  gap: 16px;
  overflow: auto;
  min-height: 0;
  padding-right: 6px;
}

.ingredients-section strong {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
}

.ingredients-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 10px;
}

.ingredients-grid {
  gap: 10px;
}

.ingredient-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 247, 235, 0.85);
  border: 1px solid rgba(212, 75, 47, 0.15);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 0.9rem;
}

.ingredient-toggle input {
  appearance: none;
  width: 38px;
  height: 22px;
  background: rgba(58, 43, 36, 0.2);
  border-radius: 999px;
  position: relative;
  margin: 0;
  flex-shrink: 0;
  transition: background 0.2s ease;
}

.ingredient-toggle input::after {
  content: '';
  position: absolute;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  top: 2px;
  left: 2px;
  transition: transform 0.2s ease;
  box-shadow: 0 4px 8px rgba(58, 43, 36, 0.2);
}

.ingredient-toggle input:checked {
  background: var(--olive);
}

.ingredient-toggle input:checked::after {
  transform: translateX(16px);
}

.ingredients-sheet__footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.confirmation-hero {
  text-align: center;
  display: grid;
  gap: 12px;
  margin-bottom: 28px;
}

.confirmation-hero h2 {
  margin: 0;
  font-family: "Fraunces", serif;
}

.confirmation-id {
  font-size: 1.05rem;
  color: rgba(58, 43, 36, 0.8);
}

.confirmation-grid {
  display: grid;
  gap: 20px;
  margin-bottom: 24px;
}

.order-lines {
  display: grid;
  gap: 14px;
}

.order-line {
  padding: 12px;
  border-radius: 14px;
  background: rgba(255, 247, 235, 0.65);
  border: 1px solid rgba(212, 75, 47, 0.12);
}

.order-line-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
}

.order-line-price {
  font-weight: 700;
  white-space: nowrap;
}

.order-line-meta {
  margin-top: 8px;
  font-size: 0.85rem;
  color: rgba(58, 43, 36, 0.7);
}

.total-lines {
  display: grid;
  gap: 10px;
}

.total-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.total-main {
  font-size: 1.05rem;
  font-weight: 700;
}

.confirmation-actions {
  justify-content: center;
}

.menu-section {
  margin-top: 60px;
}

.menu-section h3 {
  font-family: "Fraunces", serif;
  color: var(--charcoal);
  margin-bottom: 12px;
}

.menu-accordion {
  margin-top: 18px;
  padding: 14px 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(212, 75, 47, 0.1);
  box-shadow: 0 16px 32px var(--shadow-soft);
}

.menu-accordion summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-family: "Fraunces", serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--charcoal);
}

.menu-accordion summary::-webkit-details-marker {
  display: none;
}

.menu-accordion summary::after {
  content: "+";
  font-size: 1.1rem;
  color: var(--tomato-dark);
}

.menu-accordion summary:focus-visible {
  outline: 2px solid rgba(212, 75, 47, 0.35);
  outline-offset: 4px;
  border-radius: 12px;
}

.menu-accordion[open] summary::after {
  content: "-";
}

.menu-accordion[open] summary {
  margin-bottom: 12px;
}

.menu-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  background: rgba(212, 75, 47, 0.14);
  color: var(--tomato-dark);
  font-size: 0.85rem;
  font-weight: 700;
}

.menu-list {
  display: grid;
  gap: 12px;
}

.menu-item {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(212, 75, 47, 0.08);
}

.menu-item span {
  color: rgba(58, 43, 36, 0.7);
}

.page-carte .mobile-cart-bar {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 16px;
  z-index: 400;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(212, 75, 47, 0.14);
  box-shadow: 0 18px 40px var(--shadow-soft);
}

.page-carte .mobile-cart-info {
  display: grid;
  gap: 4px;
  font-weight: 600;
}

.page-carte .mobile-cart-total {
  font-size: 1rem;
  color: var(--charcoal);
}

.page-carte .mobile-cart-actions {
  display: flex;
  gap: 8px;
}

.page-carte .mobile-cart-bar .btn {
  padding: 10px 14px;
  font-size: 0.9rem;
}

@media (max-width: 980px) {
  .menu-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .filter-bar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 780px) {
  .menu-grid,
  .filter-bar {
    grid-template-columns: 1fr;
  }

  .cart {
    position: static;
  }

  .page-commande .cart {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 12px;
    top: auto;
    max-height: calc(100vh - 140px);
    overflow: auto;
    display: none;
    z-index: 60;
    opacity: 0;
    transform: translateY(18px);
    transition: transform 0.25s ease, opacity 0.25s ease;
  }

  .page-commande .cart.is-open {
    display: block;
    opacity: 1;
    transform: translateY(0);
  }

  .page-commande .cart-header {
    position: sticky;
    top: 0;
    padding-bottom: 10px;
    background: #fff;
    z-index: 2;
  }

  .page-commande .cart-close {
    display: inline-flex;
  }

  .page-commande main {
    padding-bottom: 130px;
  }

  .order-floating-bar {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.96);
    border-top: 1px solid rgba(46, 122, 74, 0.18);
    box-shadow: 0 -14px 24px rgba(58, 43, 36, 0.1);
    z-index: 30;
  }

  .order-floating-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }

  .order-floating-total {
    display: grid;
    gap: 4px;
    font-weight: 600;
  }

  .order-floating-total span {
    font-size: 0.85rem;
    color: rgba(58, 43, 36, 0.7);
  }

  .order-floating-bar .btn {
    padding: 12px 18px;
    border-radius: 999px;
    white-space: nowrap;
  }

  .page-carte main {
    padding-bottom: 120px;
  }

  .page-carte .menu-quick {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .page-carte .price-grid {
    grid-template-columns: 1fr;
  }

  .page-carte .whatsapp-float {
    bottom: 90px;
  }
}

@media (min-width: 900px) {
  .page-carte .menu-quick {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .page-carte .mobile-cart-bar {
    display: none !important;
  }

  .confirmation-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Access + contact */
.map-frame {
  width: 100%;
  min-height: 280px;
  border: none;
  border-radius: 18px;
  box-shadow: 0 16px 32px var(--shadow-soft);
}

/* Admin */
.admin-panel {
  max-width: 720px;
  margin: 0 auto;
  display: grid;
  gap: 20px;
}

.form-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.form-grid input,
.form-grid select,
.form-grid textarea {
  width: 100%;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid rgba(58, 43, 36, 0.2);
  font-family: inherit;
}

.form-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.table-wrap {
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 980px;
}

.admin-table th,
.admin-table td {
  padding: 12px 14px;
  border-bottom: 1px solid rgba(58, 43, 36, 0.12);
  text-align: left;
  vertical-align: top;
}

.admin-table th {
  font-family: "Fraunces", serif;
  font-weight: 700;
  color: var(--charcoal);
}

.admin-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.55);
}

.table-row-link {
  cursor: pointer;
}

.cell-stack {
  display: grid;
  gap: 4px;
}

.cell-muted {
  color: rgba(58, 43, 36, 0.65);
  font-size: 0.9rem;
}

.sort-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.sort-indicator {
  font-size: 0.75rem;
  color: rgba(58, 43, 36, 0.6);
}

.pagination {
  align-items: center;
}

.page-info {
  font-weight: 600;
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 20px 0 24px;
}

.tab-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid rgba(58, 43, 36, 0.2);
  background: rgba(255, 255, 255, 0.75);
  font-weight: 700;
  color: var(--ink);
}

.tab-button.is-active {
  background: linear-gradient(135deg, var(--tomato), var(--tomato-dark));
  color: #fff;
  border-color: transparent;
}

.tab-panel {
  display: none;
}

.tab-panel.is-active {
  display: block;
}

.account-summary {
  display: grid;
  gap: 18px;
  margin: 24px 0;
}

.account-header {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
}

.account-title {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.account-header h3 {
  margin: 0 0 8px;
  font-family: "Fraunces", serif;
}

.account-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.summary-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.summary-grid.has-notifications {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.stat-card {
  display: grid;
  gap: 8px;
}

.stat-value {
  font-family: "Fraunces", serif;
  font-size: 1.8rem;
  color: var(--charcoal);
}

.push-mini .stat-value {
  font-size: 1.2rem;
}

.push-mini .btn {
  width: fit-content;
}

.refresh-info {
  font-weight: 600;
  color: rgba(58, 43, 36, 0.65);
  display: inline-flex;
  gap: 6px;
  align-items: center;
  font-size: 0.85rem;
}

.refresh-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2e7a4a;
  box-shadow: 0 0 0 6px rgba(46, 122, 74, 0.12);
  animation: pulse 1.8s ease-in-out infinite;
}

@keyframes pulse {
  0% { transform: scale(0.9); opacity: 0.7; }
  50% { transform: scale(1.1); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.7; }
}

.progress {
  height: 8px;
  background: rgba(58, 43, 36, 0.15);
  border-radius: 999px;
  overflow: hidden;
}

.progress span {
  display: block;
  height: 100%;
  background: linear-gradient(135deg, var(--tomato), var(--tomato-dark));
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(46, 122, 74, 0.12);
  color: var(--olive);
  font-weight: 700;
  font-size: 0.8rem;
  width: fit-content;
}

.loyalty-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.loyalty-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
  margin-bottom: 8px;
}

.order-card {
  display: grid;
  gap: 14px;
}

.order-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
}

.order-total {
  text-align: right;
  min-width: 140px;
  font-weight: 700;
}

.order-details summary {
  list-style: none;
  cursor: pointer;
  font-weight: 700;
  color: var(--tomato-dark);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.order-details summary::-webkit-details-marker {
  display: none;
}

.order-details summary::after {
  content: "+";
  font-size: 1.1rem;
}

.order-details summary.btn {
  color: var(--ink);
  font-weight: 600;
}

.order-details summary.btn::after {
  content: "";
}

.order-details[open] summary::after {
  content: "-";
}

.order-card.is-collapsed {
  --wm-scale: 0.75;
  --wm-opacity: 0.45;
}

.order-card.is-expanded {
  --wm-scale: 1;
  --wm-opacity: 0.6;
}

.push-controls {
  display: grid;
  gap: 10px;
}

.push-controls [data-push-status] {
  font-weight: 600;
  color: var(--olive);
}

.push-ios-note {
  display: none;
}

.push-ios-note.is-visible {
  display: block;
}

.field {
  display: grid;
  gap: 6px;
  font-weight: 600;
  color: rgba(58, 43, 36, 0.75);
  font-size: 0.9rem;
}

.field input,
.field select,
.field textarea {
  width: 100%;
}

.field-checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
}

@media (max-width: 980px) {
  .summary-grid,
  .loyalty-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 780px) {
  .order-card.is-collapsed {
    --wm-scale: 1;
    --wm-opacity: 0.55;
  }

  .order-card.is-collapsed .order-watermark.order-watermark-attente,
  .order-card.is-collapsed .order-watermark.order-watermark-prepa {
    --wm-scale: 0.75;
    --wm-opacity: 0.45;
  }
}

/* Catalog admin */
.bo-catalog .section {
  padding: 48px 0;
}

.bo-catalog .catalog-hero {
  display: grid;
  gap: 16px;
  padding: 20px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 40px var(--shadow-soft);
  border: 1px solid rgba(212, 75, 47, 0.1);
}

.bo-catalog .catalog-hero h2 {
  margin: 0;
  font-family: "Fraunces", serif;
  color: var(--charcoal);
}

.bo-catalog .catalog-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.bo-catalog .catalog-quick {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 18px 0 10px;
}

.bo-catalog .catalog-tip {
  margin: 0 0 20px;
  color: rgba(58, 43, 36, 0.7);
  font-weight: 600;
}

.bo-catalog .chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(58, 43, 36, 0.2);
  background: rgba(255, 255, 255, 0.75);
  font-weight: 600;
}

.bo-catalog .section-accordion {
  padding: 18px 18px 6px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(212, 75, 47, 0.08);
  box-shadow: 0 16px 36px var(--shadow-soft);
  margin-bottom: 18px;
}

.bo-catalog .section-body {
  display: grid;
  gap: 16px;
}

.bo-catalog .grid-2 {
  grid-template-columns: 1fr;
}

.bo-catalog .form-grid {
  grid-template-columns: 1fr;
}

.bo-catalog .form-row {
  flex-direction: column;
  align-items: stretch;
}

.bo-catalog .btn {
  width: 100%;
}

.bo-catalog .btn-small {
  padding: 10px 16px;
  font-size: 0.95rem;
  width: auto;
}

.bo-catalog .form-row.form-row-inline {
  flex-direction: row;
}

.bo-catalog .form-row.form-row-inline .btn {
  flex: 1 1 140px;
}

.bo-catalog .field {
  display: grid;
  gap: 6px;
  font-weight: 600;
  color: rgba(58, 43, 36, 0.75);
  font-size: 0.9rem;
}

.bo-catalog .field input,
.bo-catalog .field select,
.bo-catalog .field textarea {
  width: 100%;
  font-size: 1rem;
}

.bo-catalog .price-grid-admin {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr;
}

.bo-catalog .price-item {
  display: grid;
  gap: 6px;
  padding: 12px;
  border-radius: 14px;
  border: 1px solid rgba(58, 43, 36, 0.12);
  background: rgba(255, 255, 255, 0.85);
}

.bo-catalog .price-label {
  font-weight: 600;
  color: rgba(58, 43, 36, 0.8);
}

.bo-catalog .quick-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 10px;
  border-radius: 16px;
  border: 1px dashed rgba(58, 43, 36, 0.2);
  background: rgba(255, 255, 255, 0.8);
  max-height: 200px;
  overflow: auto;
}

.bo-catalog .quick-chip {
  border: 1px solid rgba(58, 43, 36, 0.18);
  background: rgba(255, 247, 235, 0.8);
  border-radius: 999px;
  padding: 8px 14px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  white-space: nowrap;
}

.bo-catalog .quick-chip.is-active {
  background: linear-gradient(135deg, var(--tomato), var(--tomato-dark));
  color: #fff;
  border-color: transparent;
}

.bo-catalog .quick-chip:focus-visible {
  outline: 2px solid rgba(212, 75, 47, 0.35);
  outline-offset: 3px;
}

.bo-catalog .choice-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr;
}

.bo-catalog .choice-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: 14px;
  border: 1px solid rgba(58, 43, 36, 0.12);
  background: rgba(255, 255, 255, 0.85);
  font-weight: 600;
}

.bo-catalog .choice-item input {
  width: 18px;
  height: 18px;
}

.bo-catalog .extra-list {
  display: grid;
  gap: 12px;
}

.bo-catalog .extra-item {
  display: grid;
  gap: 6px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(58, 43, 36, 0.12);
  background: rgba(255, 255, 255, 0.85);
}

.bo-catalog .extra-item-main {
  display: grid;
  gap: 4px;
  font-weight: 600;
}

.bo-catalog .extra-size {
  color: rgba(58, 43, 36, 0.7);
  font-weight: 500;
}

.bo-catalog .extra-price {
  font-weight: 700;
  color: var(--charcoal);
}

@media (min-width: 900px) {
  .bo-catalog .catalog-hero {
    grid-template-columns: 1fr auto;
    align-items: center;
  }

  .bo-catalog .catalog-quick {
    grid-template-columns: repeat(8, minmax(0, 1fr));
  }

  .bo-catalog .btn {
    width: auto;
  }

  .bo-catalog .form-row {
    flex-direction: row;
  }

  .bo-catalog .form-row.form-row-inline {
    justify-content: flex-start;
  }
}

.bo-livreur .section {
  padding: 48px 0;
}

.bo-livreur .section-tight {
  padding: 28px 0;
}

.bo-livreur .card {
  padding: 18px;
}

.bo-livreur .card h3 {
  font-size: 1.1rem;
}

.bo-livreur .info-list {
  gap: 8px;
}

.bo-livreur .info-list span {
  font-size: 0.92rem;
}

@media (max-width: 720px) {
  .bo-livreur .form-row {
    flex-direction: column;
    align-items: stretch;
  }

  .bo-livreur .btn {
    width: 100%;
    justify-content: center;
  }

  .bo-livreur .form-grid {
    grid-template-columns: 1fr;
  }

  .bo-livreur .card {
    padding: 16px;
  }

  .bo-livreur .section-title h2 {
    font-size: 1.5rem;
  }

.bo-livreur .section-title h3 {
  font-size: 1.15rem;
}
}

.bo-pizzaiolo .section {
  padding: 56px 0;
}

.bo-pizzaiolo .section-tight {
  padding: 26px 0;
}

.bo-pizzaiolo .grid-2 {
  gap: 28px;
}

.bo-pizzaiolo .card {
  padding: 18px;
}

.bo-pizzaiolo .card h3 {
  font-size: 1.1rem;
}

.bo-pizzaiolo .info-list {
  gap: 8px;
}

.bo-pizzaiolo .info-list span {
  font-size: 0.95rem;
}

.bo-pizzaiolo .legend-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 16px;
}

.bo-pizzaiolo .pizzaiolo-tabs {
  display: none;
  gap: 12px;
  margin: 24px 0 16px;
  flex-wrap: wrap;
}

.bo-pizzaiolo .tab-button {
  flex: 1 1 220px;
  border: 1px solid rgba(58, 43, 36, 0.2);
  background: rgba(255, 255, 255, 0.75);
  border-radius: 999px;
  padding: 10px 18px;
  font-weight: 700;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.bo-pizzaiolo .tab-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 20px var(--shadow-soft);
}

.bo-pizzaiolo .tab-button.is-active {
  background: linear-gradient(135deg, var(--tomato), var(--tomato-dark));
  color: #fff;
  border-color: transparent;
}

.bo-pizzaiolo .tab-button.is-active .tab-count {
  background: rgba(255, 255, 255, 0.25);
  color: #fff;
}

.bo-pizzaiolo .tab-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  background: rgba(46, 122, 74, 0.15);
  color: var(--olive);
  font-size: 0.85rem;
  font-weight: 700;
}

.bo-pizzaiolo .section-accordion,
.bo-livreur .section-accordion,
.bo-serveur .section-accordion,
.bo-catalog .section-accordion {
  display: grid;
  gap: 16px;
}

.bo-pizzaiolo .section-accordion summary,
.bo-livreur .section-accordion summary,
.bo-serveur .section-accordion summary,
.bo-catalog .section-accordion summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-family: "Fraunces", serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--charcoal);
  padding: 4px 0;
}

.bo-pizzaiolo .section-label,
.bo-livreur .section-label,
.bo-serveur .section-label,
.bo-catalog .section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.bo-pizzaiolo .section-count,
.bo-livreur .section-count,
.bo-serveur .section-count,
.bo-catalog .section-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  background: rgba(212, 75, 47, 0.14);
  color: var(--tomato-dark);
  font-size: 0.85rem;
  font-weight: 700;
}

.bo-pizzaiolo .section-accordion summary::-webkit-details-marker,
.bo-livreur .section-accordion summary::-webkit-details-marker,
.bo-serveur .section-accordion summary::-webkit-details-marker,
.bo-catalog .section-accordion summary::-webkit-details-marker {
  display: none;
}

.bo-pizzaiolo .section-accordion summary::after,
.bo-livreur .section-accordion summary::after,
.bo-serveur .section-accordion summary::after,
.bo-catalog .section-accordion summary::after {
  content: "+";
  font-size: 1.1rem;
  color: var(--tomato-dark);
}

.bo-pizzaiolo .section-accordion[open] summary::after,
.bo-livreur .section-accordion[open] summary::after,
.bo-serveur .section-accordion[open] summary::after,
.bo-catalog .section-accordion[open] summary::after {
  content: "-";
}

.bo-pizzaiolo .section-accordion[open] summary,
.bo-livreur .section-accordion[open] summary,
.bo-serveur .section-accordion[open] summary,
.bo-catalog .section-accordion[open] summary {
  margin-bottom: 10px;
}

.bo-pizzaiolo .section-accordion summary:focus-visible,
.bo-livreur .section-accordion summary:focus-visible,
.bo-serveur .section-accordion summary:focus-visible,
.bo-catalog .section-accordion summary:focus-visible {
  outline: 2px solid rgba(212, 75, 47, 0.35);
  outline-offset: 4px;
  border-radius: 12px;
}

@media (max-width: 980px) {
  .bo-pizzaiolo .grid-2 {
    grid-template-columns: 1fr;
  }

  .bo-pizzaiolo .form-row {
    flex-direction: column;
    align-items: stretch;
  }

  .bo-pizzaiolo .btn {
    width: 100%;
    justify-content: center;
  }

  .bo-pizzaiolo .legend-list {
    grid-template-columns: 1fr;
  }

  .bo-pizzaiolo .section-title h2 {
    font-size: 1.55rem;
  }

  .bo-pizzaiolo .section-title h3 {
    font-size: 1.15rem;
  }
}

@media (max-width: 1366px) and (orientation: landscape) and (hover: none) and (pointer: coarse) {
  .bo-pizzaiolo .pizzaiolo-tabs {
    display: flex;
  }

  .bo-pizzaiolo .pizzaiolo-columns {
    display: block;
  }

  .bo-pizzaiolo .pizzaiolo-column {
    display: none;
  }

  .bo-pizzaiolo .pizzaiolo-columns[data-active-tab="emporter"] .pizzaiolo-column[data-tab="emporter"],
  .bo-pizzaiolo .pizzaiolo-columns[data-active-tab="livraison"] .pizzaiolo-column[data-tab="livraison"] {
    display: block;
  }
}

.notice {
  padding: 12px 16px;
  border-radius: 12px;
  background: rgba(46, 122, 74, 0.1);
  color: var(--olive);
  font-weight: 600;
}

/* Testimonials */
.testimonial-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 18px;
  padding: 22px;
  box-shadow: 0 18px 40px var(--shadow-soft);
  border: 1px solid rgba(212, 75, 47, 0.08);
}

.rating {
  letter-spacing: 2px;
  color: var(--tomato);
  font-weight: 700;
  margin-bottom: 10px;
}

.testimonial-name {
  display: block;
  margin-top: 12px;
  font-weight: 600;
  color: var(--charcoal);
}

/* Pizza du mois */
.pizza-month {
  display: grid;
  gap: 12px;
  padding: 24px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 20px 50px var(--shadow-soft);
  border: 1px solid rgba(212, 75, 47, 0.12);
}

.price-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(212, 75, 47, 0.12);
  color: var(--tomato-dark);
  font-weight: 600;
}

/* WhatsApp button */
.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 300;
  padding: 12px 18px;
  border-radius: 999px;
  background: #1fa855;
  color: #fff;
  font-weight: 600;
  box-shadow: 0 18px 36px rgba(31, 168, 85, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-float:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 40px rgba(31, 168, 85, 0.4);
}

@media (max-width: 980px) {
  .testimonial-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 780px) {
  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .whatsapp-float {
    right: 14px;
    bottom: 14px;
    padding: 10px 14px;
    font-size: 0.9rem;
  }
}
