/* La Zone Gourmande - menu de commande */
.lzg-menu { padding: 5rem 0; font-family: 'Inter', -apple-system, sans-serif; color: #2D1B34; }
.lzg-menu-inner { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }

.lzg-menu-title { font-family: 'Nunito', sans-serif; font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 800; line-height: 1.2; text-align: center; color: #2D1B34; margin: 0 0 .5rem; }
.lzg-menu-sub { max-width: 500px; margin: 0 auto 2.5rem; text-align: center; color: #5C3D6E; font-size: 1rem; line-height: 1.6; }
.lzg-closed { max-width: 640px; margin: 0 auto 2rem; padding: .85rem 1.2rem; text-align: center; border-radius: 14px; background: #FCE4EC; color: #C2185B; font-size: .9rem; font-weight: 600; }
.lzg-empty { text-align: center; color: #5C3D6E; padding: 3rem 1rem; }

/* enfant */
.lzg-child-box { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; max-width: 700px; margin: 0 auto 2rem; }
.lzg-field { display: flex; flex-direction: column; gap: .3rem; flex: 1 1 240px; }
.lzg-field-sm { flex: 0 1 150px; }
.lzg-field span { font-size: .68rem; text-transform: uppercase; letter-spacing: 1.2px; font-weight: 700; color: #5C3D6E; }
.lzg-field input, .lzg-field select { width: 100%; box-sizing: border-box; padding: .7rem .9rem; border: 1.5px solid rgba(233,30,99,.12); border-radius: 12px; background: #FFF; font-size: .95rem; font-family: inherit; color: #2D1B34; transition: border-color .2s, box-shadow .2s; }
.lzg-field input:focus, .lzg-field select:focus { outline: none; border-color: #E91E63; box-shadow: 0 0 0 3px rgba(233,30,99,.08); }

/* onglets de semaine */
.lzg-tabs { display: flex; justify-content: center; gap: .5rem; flex-wrap: wrap; margin-bottom: 2rem; }
.lzg-tab { display: flex; flex-direction: column; align-items: center; gap: .15rem; line-height: 1.25; background: #FFF; border: 1.5px solid rgba(233,30,99,.1); border-radius: 50px; padding: .6rem 1.4rem; font-family: inherit; font-weight: 600; font-size: .88rem; color: #5C3D6E; cursor: pointer; box-shadow: 0 2px 8px rgba(120,50,80,.06); transition: all .25s cubic-bezier(.25,.46,.45,.94); }
.lzg-tab:hover { background: #E91E63; border-color: #E91E63; color: #FFF; box-shadow: 0 4px 24px rgba(233,30,99,.12); transform: translateY(-2px); }
.lzg-tab .tab-sub { font-size: .7rem; font-weight: 500; color: #8B6F9E; transition: color .25s; }
.lzg-tab:hover .tab-sub { color: rgba(255,255,255,.8); }
.lzg-tab.is-active { background: #E91E63; color: #FFF; border-color: #E91E63; box-shadow: 0 4px 24px rgba(233,30,99,.12); }
.lzg-tab.is-active .tab-sub { color: rgba(255,255,255,.8); }

/* grille des jours */
.lzg-week { display: none; }
.lzg-week.is-active { display: block; }
.lzg-day-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }

.lzg-day-card { background: #FFF; border-radius: 20px; overflow: hidden; box-shadow: 0 2px 8px rgba(120,50,80,.06); transition: transform .3s cubic-bezier(.25,.46,.45,.94), box-shadow .3s cubic-bezier(.25,.46,.45,.94); }
.lzg-day-card:hover { transform: translateY(-4px); box-shadow: 0 4px 20px rgba(120,50,80,.08); }

.lzg-day-header { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: .9rem 1.2rem; color: #FFF; }
.day-tue .lzg-day-header { background: linear-gradient(135deg, #E91E63, #EC407A); }
.day-wed .lzg-day-header { background: linear-gradient(135deg, #4CAF50, #66BB6A); }
.day-thu .lzg-day-header { background: linear-gradient(135deg, #AB47BC, #CE93D8); }
.day-mon .lzg-day-header { background: linear-gradient(135deg, #FB8C00, #FFA726); }
.day-fri .lzg-day-header { background: linear-gradient(135deg, #0288D1, #29B6F6); }
.lzg-day-name { font-family: 'Nunito', sans-serif; font-weight: 700; font-size: 1.05rem; line-height: 1.3; }
.lzg-day-date { font-size: .8rem; font-weight: 600; line-height: 1.3; opacity: .85; }

.lzg-day-body { padding: 1.1rem; }

/* etiquettes de categorie */
.lzg-cat { display: flex; align-items: center; gap: .35rem; font-family: 'Nunito', sans-serif; font-size: .68rem; text-transform: uppercase; letter-spacing: 1.2px; font-weight: 700; line-height: 1; margin: 0 0 .45rem; }
.lzg-cat::before { content: ''; display: inline-block; flex: 0 0 12px; width: 12px; height: 12px; background-repeat: no-repeat; background-position: center; background-size: contain; }
.lzg-cat-soupe { color: #E65100; }
.lzg-cat-repas { color: #E91E63; }
.lzg-cat-dessert { color: #7B1FA2; }
.lzg-cat-breuvage { color: #0277BD; }
.lzg-cat-soupe::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23E65100' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 8h1a4 4 0 0 1 0 8h-1'/%3E%3Cpath d='M2 8h16v9a4 4 0 0 1-4 4H6a4 4 0 0 1-4-4V8z'/%3E%3C/svg%3E"); }
.lzg-cat-repas::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23E91E63' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M2 12h20'/%3E%3C/svg%3E"); }
.lzg-cat-dessert::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%237B1FA2' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 2L2 7l10 5 10-5-10-5z'/%3E%3Cpath d='M2 17l10 5 10-5'/%3E%3Cpath d='M2 12l10 5 10-5'/%3E%3C/svg%3E"); }
.lzg-cat-breuvage::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%230277BD' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17 8h1a4 4 0 1 1 0 8h-1'/%3E%3Cpath d='M3 8h14v9a4 4 0 0 1-4 4H7a4 4 0 0 1-4-4V8z'/%3E%3C/svg%3E"); }

/* choix en pastille */
.menu-choice-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.menu-pill { cursor: pointer; }
.menu-pill input { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.menu-pill span { display: inline-flex; align-items: center; justify-content: center; padding: 12px 20px; min-height: 48px; border-radius: 50px; font-size: 14.4px; font-weight: 600; background-color: rgb(255, 250, 245); border: 1.5px solid rgba(233, 30, 99, 0.15); color: rgb(92, 61, 110); transition: all 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94); box-sizing: border-box; }
.menu-pill span:hover { border-color: rgb(76, 175, 80); background-color: rgb(232, 245, 233); transform: matrix(1, 0, 0, 1, 0, -1); }
.menu-pill input:checked + span { background-color: rgb(76, 175, 80); color: rgb(255, 255, 255); border-color: rgb(76, 175, 80); box-shadow: rgba(76, 175, 80, 0.2) 0px 4px 15px 0px; }
.menu-pill input:focus-visible + span { box-shadow: rgba(76, 175, 80, 0.4) 0px 0px 0px 3px; }

/* choix de repas */
.menu-choice-stack { display: flex; flex-direction: column; gap: 9.6px; margin-bottom: 32px; }
.menu-choice-card { cursor: pointer; }
.menu-choice-card > input[type=radio] { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.menu-choice-inner { padding: 16px; border-radius: 12px; background-color: rgb(255, 250, 245); border: 1.5px solid rgba(233, 30, 99, 0.06); display: flex; flex-direction: column; gap: 4px; transition: all 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94); }
.menu-choice-inner strong { font-size: 16px; font-weight: 600; color: rgb(45, 27, 52); }
.menu-choice-inner small { font-size: 12.8px; color: rgb(92, 61, 110); }
.menu-choice-card:hover .menu-choice-inner { border-color: rgba(233,30,99,.2); box-shadow: 0 2px 8px rgba(120,50,80,.06); }
.menu-choice-card > input[type=radio]:checked + .menu-choice-inner { border-color: #E91E63; border-left: 3px solid #E91E63; background: rgba(233,30,99,.05); box-shadow: 0 2px 12px rgba(233,30,99,.08); }

.menu-choice-card.validation-error .menu-choice-inner { border-color: rgb(229, 57, 53); background-color: rgb(255, 235, 238); animation: shake 0.4s cubic-bezier(0.36, 0.07, 0.19, 0.97) 0s 1 normal both running; }

@keyframes shake {
  10%, 90% { transform: translate3d(-1px, 0, 0); }
  20%, 80% { transform: translate3d(2px, 0, 0); }
  30%, 50%, 70% { transform: translate3d(-4px, 0, 0); }
  40%, 60% { transform: translate3d(4px, 0, 0); }
}

.validation-error-msg { color: rgb(229, 57, 53); font-size: 13.6px; font-weight: 700; margin-top: 12px; gap: 6.4px; align-items: center; display: flex; }
.validation-error-msg::before { content: ''; width: 18px; height: 18px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E53935' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cline x1='12' y1='8' x2='12' y2='12'/%3E%3Cline x1='12' y1='16' x2='12.01' y2='16'/%3E%3C/svg%3E"); background-size: cover; display: inline-block; }

.menu-opt-check { display: none; align-items: center; padding: 12px 16px; margin-top: 12px; min-height: 48px; background-color: rgb(255, 255, 255); border: 1.5px solid rgba(233, 30, 99, 0.15); border-radius: 12px; font-size: 14.4px; font-weight: 500; color: rgb(92, 61, 110); gap: 12px; transition: all 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94); box-sizing: border-box; cursor: pointer; }
.menu-choice-card > input[type=radio]:checked ~ .menu-choice-inner .menu-opt-check { display: inline-flex; }
.menu-opt-check:hover { background-color: rgb(255, 250, 245); border-color: rgb(233, 30, 99); transform: matrix(1, 0, 0, 1, 0, -1); box-shadow: rgba(233, 30, 99, 0.1) 0px 2px 8px 0px; }
.menu-opt-check::before { content: ''; width: 24px; height: 24px; border: 2px solid rgb(233, 30, 99); border-radius: 6px; background-color: rgba(0, 0, 0, 0); background-size: 14px; background-position: center; background-repeat: no-repeat; display: inline-block; flex-shrink: 0; box-sizing: border-box; }
.menu-opt-check:has(input[type=radio])::before { border-radius: 50%; }
.menu-opt-check:has(input[type=checkbox]:checked)::before { background-color: rgb(233, 30, 99); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E"); }
.menu-opt-check:has(input[type=radio]:checked)::before { background-color: rgb(233, 30, 99); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white' stroke='none'%3E%3Ccircle cx='12' cy='12' r='6'/%3E%3C/svg%3E"); }
.menu-opt-check:has(input:checked) { background-color: rgb(255, 250, 245); border-color: rgb(233, 30, 99); color: rgb(45, 27, 52); }
.menu-opt-check:has(input:focus-visible) { box-shadow: rgba(233, 30, 99, 0.2) 0px 0px 0px 3px; }
.menu-opt-check input { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.lzg-day-body > *:last-child { margin-bottom: 0; }
.lzg-form.is-locked { opacity: .55; pointer-events: none; }

@media (max-width: 1024px) {
  .lzg-day-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .lzg-menu { padding: 3rem 0; }
  .lzg-tabs { gap: .35rem; }
  .lzg-tab { padding: .5rem 1rem; font-size: .82rem; }
}

.lzg-pdf-link { text-align:center; margin:-1.5rem 0 2rem; }
.lzg-pdf-link a { display:inline-flex; align-items:center; gap:.4rem; color:#E91E63; font-weight:600; font-size:.88rem; text-decoration:none; border-bottom:1.5px solid rgba(233,30,99,.25); padding-bottom:2px; }
.lzg-pdf-link a:hover { border-color:#E91E63; }

.submit-btn { width: 100%; padding: 16px; background-color: rgb(233, 30, 99); color: rgb(255, 255, 255); border-radius: 50px; font-weight: 700; font-size: 16px; box-shadow: rgba(233, 30, 99, 0.2) 0px 4px 15px 0px; border: none; cursor: pointer; transition: all 0.25s ease; }
