/* Ayoka — commande en ligne. Charte : Gotham (repli Montserrat), palette Ayoka, frise wax. */
.ayk {
	--rouge: #D23920; --rouge-f: #b02e17; --orange: #E27F0C; --turquoise: #009492; --vert: #155442;
	--bordeaux: #601735; --nuit: #2b2b2b; --encre: #1d1d1b; --gris: #6b6b6b; --sable: #f5f2ee; --ligne: #e6e1da;
	--rayon: 14px; --or: #BCAF87; --or-clair: #DCD2B4;
	--police: "Gotham", "Gotham Book", "Montserrat", "Helvetica Neue", Arial, sans-serif;
	font-family: var(--police); color: var(--encre); line-height: 1.45; -webkit-font-smoothing: antialiased;
}
.ayk *, .ayk *::before, .ayk *::after { box-sizing: border-box; }
.ayk button { font-family: inherit; cursor: pointer; }
.ayk :focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }
.ayk img { max-width: 100%; }

.ayk-cadre { max-width: 980px; margin: 0 auto; background: #fff; }
.ayk.alignwide { max-width: 980px; margin-left: auto; margin-right: auto; width: 100%; }
.ayk-frise { height: 12px; background: url("../img/frise.svg") repeat-x center / auto 12px; }

/* Barre */
.ayk-barre { position: relative; z-index: 2; display: flex; align-items: center; gap: 12px; padding: 10px 16px; background: #fff; border-bottom: 1px solid var(--ligne); }
.ayk-logo { background: none; border: 0; padding: 0; display: block; line-height: 0; }
.ayk-logo img { width: 132px; height: auto; }
.ayk-resume { flex: 1; min-width: 0; display: flex; gap: 6px; justify-content: center; align-items: center; background: none; border: 0; font-size: 12px; }
.ayk-puce { padding: 5px 10px; border-radius: 20px; color: #fff; background: var(--turquoise); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 62vw; }
.ayk-puce.emporter { background: var(--bordeaux); }
.ayk-quand { color: var(--gris); white-space: nowrap; }
.ayk-sac { position: relative; margin-left: auto; background: var(--nuit); color: #fff; border: 0; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; }
.ayk-compteur { position: absolute; top: -2px; right: -2px; min-width: 22px; height: 22px; padding: 0 5px; border-radius: 11px; background: #fff; color: var(--nuit); font-size: 12px; font-weight: 700; line-height: 22px; text-align: center; border: 2px solid var(--nuit); }
.ayk-compteur.plein { background: var(--rouge); color: #fff; border-color: #fff; }

.ayk-contenu { padding: 20px 16px 40px; }
.ayk-h { font-size: 15px; font-weight: 600; text-transform: uppercase; letter-spacing: .28em; text-align: center; margin: 30px 0 16px; color: var(--nuit); }
.ayk-h::after { content: ""; display: block; width: 44px; height: 3px; margin: 10px auto 0; background: var(--rouge); border-radius: 2px; }

/* Tuiles */
.ayk-tuiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: 14px; }
@media (min-width: 720px) { .ayk-tuiles { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.ayk-tuile { aspect-ratio: 1.15; border: 0; border-radius: var(--rayon); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; color: #fff; padding: 12px; transition: transform .15s ease, box-shadow .15s ease; box-shadow: 0 6px 18px rgba(0,0,0,.08); }
.ayk-tuile:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0,0,0,.12); }
.ayk-tuile strong { font-size: clamp(15px, 4.4vw, 18px); letter-spacing: .01em; text-align: center; line-height: 1.2; white-space: nowrap; }
.ayk-tuile small { text-align: center; line-height: 1.25; }
@media (max-width: 480px) {
	.ayk-tuiles { gap: 10px; }
	.ayk-tuile { aspect-ratio: auto; min-height: 128px; padding: 10px 8px; gap: 4px; }
	.ayk-ico svg { width: 38px; height: 38px; }
	.ayk-logo img { width: 104px; }
	.ayk-quand { display: none; }
	.ayk-puce { font-size: 11px; padding: 4px 8px; max-width: 100%; }
	.ayk-barre { gap: 8px; padding: 8px 12px; }
}
.ayk-tuile small { font-size: 12px; opacity: .85; }
.ayk-ico svg { width: 46px; height: 46px; display: block; }

.ayk-etat { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 18px 0 0; font-weight: 600; }
.ayk-point { width: 12px; height: 12px; border-radius: 50%; background: #2ecc71; box-shadow: 0 0 0 4px rgba(46,204,113,.2); }
.ayk-etat.off .ayk-point { background: var(--rouge); box-shadow: 0 0 0 4px rgba(210,57,32,.18); }
.ayk-info { background: var(--sable); border-radius: 10px; padding: 10px 14px; font-size: 14px; color: var(--nuit); text-align: center; }

/* Catégories */
.ayk-cats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 720px) { .ayk-cats { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.ayk-cat { position: relative; aspect-ratio: 4 / 3; border: 0; padding: 0; border-radius: var(--rayon); overflow: hidden; background: var(--nuit); }
.ayk-cat img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.ayk-cat:hover img { transform: scale(1.05); }
.ayk-cat::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 35%, rgba(0,0,0,.62)); }
.ayk-cat span { position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 1; color: #fff; font-weight: 600; font-size: 15px; text-align: left; text-shadow: 0 1px 6px rgba(0,0,0,.4); }
.ayk-cat.sans-photo { background: var(--nuit) url("../img/frise.svg") repeat-x bottom / auto 10px; }
.ayk-cat.sans-photo img.ayk-o { width: 46%; height: auto; object-fit: contain; position: absolute; top: 14%; left: 27%; opacity: .95; }
.ayk-cat.sans-photo::after { background: linear-gradient(180deg, rgba(0,0,0,0) 50%, rgba(0,0,0,.4)); }

/* Onglets catégories */
.ayk-onglets { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 10px; scrollbar-width: none; position: sticky; top: var(--ayk-haut, 0px); background: #fff; z-index: 10; margin: 0 -16px; padding-left: 16px; padding-right: 16px; box-shadow: 0 6px 10px -10px rgba(0,0,0,.25); }
.ayk-onglets::-webkit-scrollbar { display: none; }
.ayk-onglets button { flex: 0 0 auto; border: 1.5px solid var(--ligne); background: #fff; color: var(--nuit); border-radius: 20px; padding: 7px 14px; font-size: 13px; font-weight: 600; }
.ayk-onglets button.actif { background: var(--nuit); border-color: var(--nuit); color: #fff; }

/* Plats */
.ayk-plats { display: grid; gap: 10px; }
@media (min-width: 720px) { .ayk-plats { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.ayk-plat { position: relative; display: flex; gap: 12px; align-items: flex-start; text-align: left; background: #fff; border: 1px solid var(--ligne); border-radius: var(--rayon); padding: 12px 14px; transition: border-color .15s, box-shadow .15s; }
.ayk-plat:hover { border-color: var(--rouge); box-shadow: 0 4px 14px rgba(0,0,0,.06); }
.ayk-plat img { width: 86px; height: 86px; object-fit: cover; border-radius: 10px; flex: 0 0 auto; }
.ayk-plat-txt { flex: 1; display: flex; flex-direction: column; gap: 2px; min-width: 0; padding-right: 8px; }
.ayk-plat-txt strong { font-size: 15px; font-weight: 600; }
.ayk-plat-txt em { font-style: normal; font-size: 12px; color: var(--gris); }
.ayk-plat-txt small { font-size: 12px; color: var(--gris); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ayk-plat-prix { font-weight: 700; white-space: nowrap; font-size: 15px; align-self: center; }
.ayk-plat-prix small { font-weight: 400; color: var(--gris); font-size: 11px; display: block; text-align: right; }
.ayk-plus { flex: 0 0 auto; align-self: center; width: 28px; height: 28px; border-radius: 50%; background: var(--rouge); color: #fff; font-weight: 700; display: grid; place-items: center; font-size: 18px; line-height: 1; box-shadow: 0 2px 6px rgba(0,0,0,.2); }
.ayk-pictos { display: flex; gap: 4px; margin-top: 4px; }
.ayk-tag { text-decoration: none; font-size: 10px; font-weight: 700; border-radius: 4px; padding: 1px 5px; border: 1px solid currentColor; }
.ayk-tag.t-v { color: var(--vert); } .ayk-tag.t-g { color: var(--orange); } .ayk-tag.t-a { color: var(--bordeaux); } .ayk-tag.t-piment { border: 0; padding: 0; font-size: 13px; }
.ayk-legende { font-size: 12px; color: var(--gris); text-align: center; margin-top: 20px; }

/* Modale */
.ayk-voile { position: fixed; inset: 0; z-index: 100000; background: rgba(20,20,20,.55); display: flex; align-items: center; justify-content: center; padding: 16px; animation: ayk-fondu .15s ease; }
html.ayk-bloque, body.ayk-bloque { overflow: hidden !important; overscroll-behavior: none; }
body.ayk-bloque { position: fixed; left: 0; right: 0; width: 100%; }
.ayk-voile { overscroll-behavior: contain; touch-action: pan-y; }
.ayk-modale-corps { overscroll-behavior: contain; -webkit-overflow-scrolling: touch; min-height: 0; }
@keyframes ayk-fondu { from { opacity: 0; } }
.ayk-modale { background: #fff; width: 100%; max-width: 520px; max-height: calc(100vh - 32px); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 24px 60px rgba(0,0,0,.3); animation: ayk-monte .2s ease; }
@keyframes ayk-monte { from { transform: translateY(16px); } }
.ayk-modale-tete { background: var(--rouge); color: #fff; display: flex; align-items: center; gap: 10px; padding: 16px 18px; }
.ayk-modale-tete h2 { margin: 0; font-size: 20px; font-weight: 700; color: #fff; flex: 1; line-height: 1.2; }
.ayk-cadenas { display: inline-flex; align-items: center; justify-content: center; background: rgba(255,255,255,.16); border: 0; color: #fff; width: 38px; height: 38px; border-radius: 50%; cursor: pointer; }
.ayk-cadenas.actif { background: #fff; color: var(--rouge); }
.ayk-cadenas-titre { display: inline-flex; }
.ayk-x { background: none; border: 0; color: #fff; font-size: 32px; line-height: 1; padding: 0 4px; }
.ayk-modale .ayk-frise { height: 8px; background-size: auto 8px; }
.ayk-modale-corps { padding: 18px; overflow-y: auto; display: flex; flex-direction: column; gap: 12px; }
@media (max-width: 600px) {
	.ayk-voile { align-items: flex-end; padding: 0; }
	.ayk-modale { max-width: none; border-radius: 16px 16px 0 0; max-height: 92vh; max-height: 92dvh; }
}
.ayk-tiroir { max-width: 560px; }

/* Formulaires */
.ayk-form { display: flex; flex-direction: column; gap: 12px; }
.ayk-champ { display: flex; flex-direction: column; gap: 4px; font-size: 12px; font-weight: 600; color: var(--gris); }
.ayk input[type=text], .ayk input[type=tel], .ayk input[type=email], .ayk input[type=password], .ayk input[type=number], .ayk select, .ayk textarea {
	width: 100%; min-width: 0; max-width: 100%; height: auto; margin: 0; letter-spacing: normal; text-transform: none; box-shadow: none; font: inherit; font-size: 16px; color: var(--encre); background: #f7f6f4; border: 1.5px solid var(--ligne); border-radius: 10px; padding: 12px 14px; appearance: none;
}
.ayk select { background-image: linear-gradient(45deg, transparent 50%, var(--gris) 50%), linear-gradient(135deg, var(--gris) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 36px; }
.ayk input:focus, .ayk select:focus, .ayk textarea:focus { border-color: var(--turquoise); background-color: #fff; outline: none; box-shadow: 0 0 0 3px rgba(0,148,146,.15); }
.ayk input:disabled { color: var(--gris); }
.ayk-ligne2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
.ayk-ligne2 > * { min-width: 0; }
.ayk-check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; }
.ayk-check input { width: 20px; height: 20px; accent-color: var(--rouge); margin-top: 1px; flex: 0 0 auto; }
.ayk-aide { font-size: 14px; color: var(--gris); margin: 0; }
.ayk-erreur { margin: 0; background: #fdecea; color: var(--rouge-f); border-radius: 8px; padding: 10px 12px; font-size: 14px; font-weight: 600; }
.ayk-btn { display: block; width: 100%; text-align: center; text-decoration: none; background: var(--rouge); color: #fff !important; border: 0; border-radius: 10px; padding: 15px 18px; font-size: 16px; font-weight: 700; letter-spacing: .02em; transition: background .15s; }
.ayk-btn:hover { background: var(--rouge-f); }
.ayk-btn:disabled { background: #d9d4cd; cursor: not-allowed; }
.ayk-onglets-adr { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--ligne); }
.ayk-onglets-adr button { background: none; border: 0; border-bottom: 3px solid transparent; padding: 10px; font-weight: 600; color: #c98b80; font-size: 15px; }
.ayk-onglets-adr button.actif { color: var(--rouge); border-bottom-color: var(--rouge); }
.ayk-bloc-livraison { display: flex; flex-direction: column; gap: 12px; }
.ayk-bascule { background: none; border: 0; color: var(--rouge); font-weight: 700; font-size: 16px; padding: 6px; border-top: 1px solid var(--ligne); padding-top: 14px; }
.ayk-bascule small { color: var(--gris); font-weight: 400; font-size: 12px; }
.ayk-points-mini { margin: 0; text-align: center; font-weight: 700; color: var(--bordeaux); }

/* Fiche plat */
.ayk-fiche-photo { width: calc(100% + 36px); margin: -18px -18px 0; max-width: none; aspect-ratio: 16 / 10; object-fit: cover; }
.ayk-en { margin: 0; color: var(--gris); font-size: 13px; }
.ayk-desc { margin: 0; font-size: 14px; }
.ayk-groupe { border: 0; padding: 0; margin: 0; }
.ayk-groupe legend { font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 8px; padding: 0; }
.ayk-options { display: flex; flex-direction: column; gap: 6px; }
.ayk-option { display: flex; align-items: center; gap: 10px; border: 1.5px solid var(--ligne); border-radius: 10px; padding: 10px 12px; font-size: 14px; cursor: pointer; }
.ayk-option:has(input:checked) { border-color: var(--rouge); background: #fdf3f1; }
.ayk-option input { accent-color: var(--rouge); width: 18px; height: 18px; margin: 0; flex: 0 0 auto; }
.ayk-qte { display: flex; align-items: center; justify-content: center; gap: 16px; }
.ayk-qte button { width: 42px; height: 42px; border-radius: 50%; border: 1.5px solid var(--ligne); background: #fff; font-size: 20px; color: var(--nuit); }
.ayk-qte-val, .ayk-qte span { min-width: 24px; text-align: center; font-weight: 700; font-size: 18px; }
.ayk-qte.petit { gap: 8px; }
.ayk-qte.petit button { width: 30px; height: 30px; font-size: 15px; }
.ayk-qte.petit span { font-size: 15px; }

/* Panier */
.ayk-lignes { list-style: none; margin: 0; padding: 0; }
.ayk-lignes li { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px dashed var(--ligne); }
.ayk-ligne-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.ayk-ligne-txt strong { font-size: 14px; font-weight: 600; }
.ayk-ligne-txt small { color: var(--gris); font-size: 12px; }
.ayk-ligne-prix { font-weight: 700; white-space: nowrap; font-size: 14px; }
.ayk-totaux { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; margin: 0; font-size: 14px; }
.ayk-totaux dd { margin: 0; text-align: right; }
.ayk-totaux .total { font-weight: 700; font-size: 18px; padding-top: 6px; border-top: 1px solid var(--ligne); }
.ayk-totaux .promo { color: var(--vert); font-weight: 600; }
.ayk-promo-ligne { display: flex; gap: 8px; }
.ayk-promo-ligne input { flex: 1; }
.ayk-btn-sec { border: 1.5px solid var(--nuit); background: #fff; color: var(--nuit); border-radius: 10px; padding: 0 16px; font-weight: 700; }
.ayk-btn-sec:disabled { opacity: .5; }
.ayk-promo.ok { display: flex; justify-content: space-between; align-items: center; background: #e9f4ef; color: var(--vert); border-radius: 10px; padding: 10px 12px; font-weight: 600; font-size: 14px; }
.ayk-lien-btn { background: none; border: 0; color: var(--rouge); font-weight: 700; text-decoration: underline; }
.ayk-promo .ayk-erreur { margin-top: 6px; }
.ayk-recompense { background: #f7eef1; border-radius: 10px; padding: 10px 12px; color: var(--bordeaux); font-weight: 600; }
.ayk-recap { display: flex; flex-direction: column; gap: 2px; text-align: left; background: var(--sable); border: 0; border-radius: 10px; padding: 10px 12px; font-size: 13px; position: relative; }
.ayk-lien { position: absolute; right: 12px; top: 10px; color: var(--rouge); font-weight: 700; }
.ayk-paiement .ayk-option.methode { font-weight: 600; }
.ayk-logo-pay { width: 36px; height: 36px; border-radius: 9px; flex: 0 0 auto; background: var(--sable) center / cover no-repeat; display: grid; place-items: center; }
.m-wave .ayk-logo-pay { background-image: url("../img/wave.png"); }
.m-orange_money .ayk-logo-pay { background-image: url("../img/orange-money.png"); box-shadow: inset 0 0 0 1px var(--ligne); }
.m-carte .ayk-logo-pay { background-image: url("../img/carte.svg"); }
.m-livraison .ayk-logo-pay { background: var(--vert); }
.m-livraison .ayk-logo-pay::before { content: "💵"; font-size: 19px; }
.ayk-piege { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.ayk-vide { text-align: center; color: var(--gris); }

/* Fidélité */
.ayk-o-grand { width: 96px; margin: 0 auto; display: block; }
.ayk-solde { text-align: center; margin: 0; font-size: 16px; }
.ayk-solde strong { font-size: 42px; color: var(--bordeaux); display: block; line-height: 1; }
.ayk-jauge { height: 10px; background: var(--sable); border-radius: 6px; overflow: hidden; }
.ayk-jauge span { display: block; height: 100%; background: linear-gradient(90deg, var(--rouge), var(--orange)); border-radius: 6px; }

/* Toast */
.ayk-toast { position: fixed; left: 50%; bottom: 110px; transform: translate(-50%, 40px); opacity: 0; background: var(--nuit); color: #fff; padding: 12px 18px; border-radius: 24px; font-size: 14px; z-index: 100001; transition: .25s ease; pointer-events: none; }
.ayk-toast.vu { transform: translate(-50%, 0); opacity: 1; }

/* Suivi */
.ayk-suivi { padding: 24px 18px 40px; max-width: 560px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.ayk-num { margin: 0; text-align: center; color: var(--gris); font-size: 13px; letter-spacing: .08em; }
.ayk-statut-titre { margin: 0; text-align: center; font-size: 26px; font-weight: 700; color: var(--nuit); }
.ayk-statut-titre.s-annulee { color: var(--rouge); }
.ayk-statut-titre.s-livree { color: var(--vert); }
.ayk-o-tourne { width: 74px; margin: 10px auto; display: block; animation: ayk-tourne 2.4s linear infinite; }
@keyframes ayk-tourne { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .ayk-o-tourne { animation: none; } .ayk * { transition: none !important; animation: none !important; } }
.ayk-etapes { list-style: none; margin: 10px 0; padding: 0; position: relative; }
.ayk-etapes li { position: relative; display: flex; align-items: center; gap: 14px; padding: 0 0 26px 0; color: #a8a29a; }
.ayk-etapes li:last-child { padding-bottom: 0; }
.ayk-etapes li::before { content: ""; position: absolute; left: 13px; top: 28px; bottom: 0; width: 3px; background: var(--ligne); }
.ayk-etapes li:last-child::before { display: none; }
.ayk-etapes li.fait::before { background: var(--turquoise); }
.ayk-puce-etape { width: 29px; height: 29px; border-radius: 50%; border: 3px solid var(--ligne); background: #fff; flex: 0 0 auto; position: relative; z-index: 1; }
.ayk-etapes li.fait { color: var(--encre); }
.ayk-etapes li.fait .ayk-puce-etape { background: var(--turquoise); border-color: var(--turquoise); }
.ayk-etapes li.fait .ayk-puce-etape::after { content: "✓"; color: #fff; font-size: 14px; font-weight: 700; position: absolute; inset: 0; display: grid; place-items: center; }
.ayk-etapes li.encours { color: var(--encre); }
.ayk-etapes li.encours strong { font-size: 18px; }
.ayk-etapes li.encours .ayk-puce-etape { border-color: var(--rouge); background: var(--rouge); box-shadow: 0 0 0 6px rgba(210,57,32,.15); animation: ayk-pouls 1.6s ease infinite; }
@keyframes ayk-pouls { 50% { box-shadow: 0 0 0 10px rgba(210,57,32,.05); } }
.ayk-etapes time { margin-left: auto; font-size: 13px; color: var(--gris); }
.ayk-recap-cmd { background: var(--sable); border-radius: 12px; padding: 12px 14px; }
.ayk-recap-cmd summary { font-weight: 700; cursor: pointer; }
.ayk-mes-cmd { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.ayk-mes-cmd a { display: flex; justify-content: space-between; padding: 14px; border: 1px solid var(--ligne); border-radius: 10px; color: var(--encre); text-decoration: none; }

/* Mode démonstration */
.ayk-demo { background: var(--orange); color: #fff; text-align: center; font-size: 13px; padding: 8px 12px; }
.ayk-demo a { color: #fff; font-weight: 700; margin-left: 6px; }
.ayk-suivi .ayk-demo { border-radius: 10px; }

.ayk-supp-nom { flex: 1; }
.ayk-supp-prix { font-weight: 700; color: var(--vert); white-space: nowrap; }
.ayk-info.ok { background: #e9f4ef; color: var(--vert); font-weight: 600; }

/* Code PIN */
.ayk input.ayk-pin { font-size: 24px; letter-spacing: .5em; text-indent: .5em; text-align: center; font-weight: 700; padding: 10px 6px; }
.ayk input.ayk-pin::placeholder { letter-spacing: .3em; color: #b9b3ab; }
.ayk-pin-intro p { margin: 0 0 8px; font-size: 14px; }
.ayk-pin-alerte { background: #fdecea; color: var(--rouge-f); border-radius: 10px; padding: 10px 12px; font-weight: 600; }
.ayk-pin-etat { display: flex; align-items: center; gap: 8px; background: #e9f4ef; color: var(--vert); border-radius: 10px; padding: 10px 12px; font-weight: 700; font-size: 14px; }
.ayk-btn-sec.large { width: 100%; padding: 13px; font-size: 14px; }
.ayk-lien-btn { align-self: flex-start; }

/* Lien de suivi */
.ayk-lien-suivi { background: #fff; border: 2px solid var(--turquoise); border-radius: 14px; padding: 14px 16px; display: flex; flex-direction: column; gap: 10px; }
.ayk-lien-suivi h3, .ayk-ticket-tete h3 { margin: 0; font-size: 16px; }
.ayk-lien-suivi input[readonly] { font-size: 13px !important; }
.ayk-lien-suivi .ayk-btn-sec { padding: 0 14px; display: inline-flex; align-items: center; text-decoration: none; }
.ayk-form-email { display: flex; flex-direction: column; gap: 8px; }

/* Ticket virtuel */
.ayk-bloc-ticket { display: flex; flex-direction: column; gap: 10px; }
.ayk-ticket-tete { display: flex; justify-content: space-between; align-items: center; }
.ayk-ticket-tete .ayk-btn-sec { padding: 9px 14px; }
.ayk-ticket { background: #fff; max-width: 360px; width: 100%; margin: 0 auto; padding: 22px 20px 26px; font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; font-size: 13px; color: #111; box-shadow: 0 8px 26px rgba(0,0,0,.12); position: relative;
	-webkit-mask: radial-gradient(circle 7px at 50% 100%, transparent 98%, #000) 0 0 / 20px 100% repeat-x; mask: radial-gradient(circle 7px at 50% 100%, transparent 98%, #000) 0 0 / 20px 100% repeat-x; }
.tk-logo { display: block; width: 150px; margin: 0 auto 6px; }
.tk-centre { text-align: center; margin: 3px 0; }
.tk-sep { border-top: 1.5px dashed #999; margin: 10px 0; }
.tk-num { text-align: center; margin: 4px 0; } .tk-num small { display: block; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: #666; } .tk-num strong { font-size: 24px; letter-spacing: .06em; }
.tk-mode { text-align: center; font-weight: 800; margin: 8px 0 2px; font-size: 14px; }
.tk-adr { font-size: 12px; color: #444; }
.tk-ligne { display: flex; justify-content: space-between; gap: 10px; margin: 6px 0; }
.tk-ligne strong { font-weight: 700; } .tk-ligne small { display: block; color: #555; font-size: 11px; }
.tk-ligne > span { white-space: nowrap; }
.tk-tot { display: flex; justify-content: space-between; margin: 3px 0; }
.tk-grand { font-size: 17px; font-weight: 800; margin-top: 8px; }
.tk-pay { font-weight: 700; margin-top: 8px; }
.tk-note { font-size: 12px; background: #f6f6f6; padding: 6px; }
.tk-petit { font-size: 11px; color: #666; }
.tk-demo { color: var(--orange); font-weight: 800; }
.ayk-qr { width: 130px; margin: 0 auto; } .ayk-qr svg { width: 100%; height: auto; display: block; }
@media print {
	body.ayk-impression-ticket * { visibility: hidden !important; }
	body.ayk-impression-ticket #ayk-ticket, body.ayk-impression-ticket #ayk-ticket * { visibility: visible !important; }
	body.ayk-impression-ticket #ayk-ticket { position: absolute; left: 0; top: 0; box-shadow: none; -webkit-mask: none; mask: none; }
}

.ayk-lien-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ayk-lien-actions .ayk-btn-sec { justify-content: center; padding: 11px 10px !important; font-size: 15px; font-weight: 700; font-family: inherit; }

/* Paiement mobile après commande */
.ayk-payer { background: #fff; border: 2px solid var(--ligne); border-radius: 14px; padding: 14px 16px; display: flex; flex-direction: column; gap: 10px; }
.ayk-payer.en-avant { border-color: var(--rouge); box-shadow: 0 0 0 5px rgba(210,57,32,.1); }
.ayk-payer h3 { margin: 0; font-size: 16px; }
.ayk-payer-boutons { display: flex; flex-direction: column; gap: 8px; }
.ayk-payer-btn { display: flex; align-items: center; gap: 12px; border: 1.5px solid var(--ligne); border-radius: 12px; background: #fff; padding: 10px 14px; font: inherit; font-size: 15px; text-align: left; }
.ayk-payer-btn img { border-radius: 9px; }
.ayk-payer-btn span { flex: 1; }
.ayk-payer-btn b { white-space: nowrap; }
.ayk-payer-btn.m-wave { border-color: #1dc3ff; } .ayk-payer-btn.m-orange_money { border-color: #ff7900; }
.ayk-payer-btn:hover { background: var(--sable); }
.ayk-payer-btn:disabled { opacity: .6; }

/* Titre de page du thème masqué (option) sur les pages de commande et de suivi */
body.ayk-sans-titre .page_title_wrapper, body.ayk-sans-titre .page_title_inner,
body.ayk-sans-titre .entry-header .entry-title, body.ayk-sans-titre h1.entry-title,
body.ayk-sans-titre .page-header .page-title, body.ayk-sans-titre .elementor-page-title, body.ayk-sans-titre .wp-block-post-title { display: none !important; }

/* Panier flottant (quand la barre du haut est sortie de l'écran) */
.ayk-flot { position: fixed; left: 50%; bottom: 18px; z-index: 9995; transform: translate(-50%, 140%); opacity: 0; pointer-events: none;
	display: inline-flex; align-items: center; gap: 10px; max-width: calc(100% - 32px); padding: 10px 18px 10px 12px; border: 0; border-radius: 40px;
	background: var(--rouge); color: #fff; font: 700 15px/1 var(--police); box-shadow: 0 10px 28px rgba(0,0,0,.28); transition: transform .25s ease, opacity .2s ease; cursor: pointer; }
.ayk-flot.vu { transform: translate(-50%, 0); opacity: 1; pointer-events: auto; }
.ayk-flot-ico { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.18); display: grid; place-items: center; }
.ayk-flot-ico svg { width: 24px; height: 24px; }
.ayk-flot-n { min-width: 24px; height: 24px; padding: 0 6px; border-radius: 12px; background: #fff; color: var(--rouge); font-size: 13px; line-height: 24px; text-align: center; }
.ayk-flot-t { white-space: nowrap; padding-left: 10px; border-left: 1px solid rgba(255,255,255,.35); }
.ayk-flot-t[hidden] { display: none; }
@media (max-width: 420px) { .ayk-flot-l { display: none; } }
@media print { .ayk-flot { display: none !important; } }
.ayk-sac svg { width: 26px; height: 26px; }

/* Mode catalogue / maintenance */
.ayk-annonce { background: var(--sable); border-radius: var(--rayon); padding: 18px; text-align: center; border-left: 4px solid var(--orange); }
.ayk-annonce p { margin: 0 0 12px; font-size: 15px; color: var(--nuit); }
.ayk-contact { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.ayk-contact .ayk-btn, .ayk-contact .ayk-btn-sec { width: auto; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; padding: 13px 20px; font-size: 15px; }
.ayk-plat.catalogue { cursor: pointer; }
.ayk-liste-info { list-style: none; margin: 12px 0; padding: 0; border-top: 1px solid var(--ligne); }
.ayk-liste-info li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--ligne); font-size: 14px; }
.ayk-prix-info { font-size: 20px; font-weight: 700; margin: 10px 0; }
.ayk-maint-corps { padding: 40px 20px 56px; text-align: center; max-width: 560px; margin: 0 auto; }
.ayk-maint-corps h2 { font-size: 22px; letter-spacing: .04em; margin: 16px 0 10px; color: var(--nuit); }
.ayk-maint-corps > p { color: var(--gris); font-size: 15px; margin: 0 0 20px; }
.ayk-maint-corps .ayk-lien { position: static; display: inline-block; margin-top: 18px; font-size: 14px; color: var(--rouge); }
.ayk-maint-corps .ayk-aide { margin-top: 16px; }
.ayk-equipe { background: #fdecc8; color: #6b4300; }
.ayk-equipe a { color: inherit; font-weight: 700; }

/* Page autonome (sans le thème) */
body.ayk-autonome { margin: 0; min-height: 100vh; background: var(--sable, #f5f2ee); background: #efebe6; font-family: "Gotham", "Montserrat", "Helvetica Neue", Arial, sans-serif; -webkit-text-size-adjust: 100%; }
.ayk-autonome #ayk-app { max-width: 980px; margin: 0 auto; }
.ayk-autonome .ayk-cadre { min-height: 100vh; box-shadow: 0 0 40px rgba(0,0,0,.06); }
.ayk-autonome .ayk-barre { position: sticky; top: 0; z-index: 30; padding-top: max(10px, env(safe-area-inset-top)); }
.ayk-autonome .ayk-contenu { padding-bottom: max(40px, env(safe-area-inset-bottom)); }
.ayk-retour { flex: 0 0 auto; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: var(--nuit); background: var(--sable); text-decoration: none; }
.ayk-retour svg { width: 20px; height: 20px; }
.ayk-retour:hover { background: var(--ligne); }
.ayk-pied { text-align: center; padding: 22px 16px 30px; font-size: 13px; color: var(--gris); border-top: 1px solid var(--ligne); }
.ayk-pied a { color: var(--nuit); font-weight: 600; }
@media (max-width: 480px) { .ayk-retour { width: 36px; height: 36px; } }

/* Photos d'accompagnements / suppléments */
.ayk-option.avec-photo { align-items: center; }
.ayk-opt-photo { width: 44px; height: 44px; border-radius: 8px; object-fit: cover; flex: 0 0 auto; }

/* Position GPS */
.ayk-geo-zone { display: flex; flex-direction: column; gap: 6px; }
.ayk-btn-geo { width: 100%; border: 1.5px dashed var(--turquoise); background: #eef8f7; color: var(--vert); border-radius: 10px; padding: 12px; font-weight: 700; font-size: 15px; font-family: inherit; }
.ayk-btn-geo:disabled { opacity: .7; }
.ayk-geo.ok { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; background: #e9f4ef; color: var(--vert); border-radius: 10px; padding: 10px 12px; font-weight: 700; font-size: 14px; }
.ayk-geo-zone .ayk-aide { margin: 0; font-size: 12px; }

/* Tuiles d'accueil : nuit Ayoka, or et frise wax (v1.5) */
.ayk-tuile { position: relative; overflow: hidden; background: #262626 radial-gradient(120% 90% at 50% 0%, #3a3a38 0%, #232323 70%); color: #fff; border: 1px solid rgba(188,175,135,.35); box-shadow: 0 8px 22px rgba(0,0,0,.14); padding-bottom: 20px; background-size: cover; background-position: center; }
.ayk-tuile::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 9px; background: url("../img/frise.svg") repeat-x center / auto 9px; }
.ayk-tuile::before { content: ""; position: absolute; inset: 7px; border: 1px solid rgba(188,175,135,.22); border-radius: calc(var(--rayon) - 5px); pointer-events: none; }
.ayk-tuile .ayk-ico { color: var(--or); }
.ayk-tuile .ayk-ico svg { width: 56px; height: 56px; }
.ayk-tuile strong { position: relative; text-transform: uppercase; letter-spacing: .14em; font-weight: 600; font-size: clamp(12.5px, 3.6vw, 15px); color: #fff; }
.ayk-tuile small { position: relative; color: var(--or-clair); opacity: 1; font-size: 12px; letter-spacing: .02em; }
.ayk-tuile:hover { border-color: var(--or); }
.ayk-tuile.livraison .ayk-ico { color: #fff; }
.ayk-tuile.livraison { background: var(--rouge) radial-gradient(120% 90% at 50% 0%, #e04a2f 0%, #b52e18 75%); border-color: transparent; }
.ayk-tuile.livraison::before { border-color: rgba(255,255,255,.25); }
.ayk-tuile.livraison small { color: #fde3dc; }
.ayk-tuile.avec-photo { background-size: cover !important; background-position: center !important; border-color: transparent; }
.ayk-tuile.avec-photo { box-shadow: inset 0 -90px 60px -20px rgba(0,0,0,.75), 0 8px 22px rgba(0,0,0,.14); }
.ayk-tuile.avec-photo > * { z-index: 1; }
.ayk-tuile.avec-photo .ayk-ico { display: none; }
.ayk-tuile.avec-photo { justify-content: flex-end; }
.ayk-tuile.avec-photo strong, .ayk-tuile.avec-photo small { text-shadow: 0 1px 8px rgba(0,0,0,.6); }
@media (max-width: 480px) { .ayk-tuile .ayk-ico svg { width: 46px; height: 46px; } }

/* Bande du haut : retour au site + appeler */
.ayk-bande-haut { display: flex; justify-content: space-between; align-items: center; gap: 10px; background: var(--nuit); color: #fff; padding: 7px 14px; font-size: 13px; padding-top: max(7px, env(safe-area-inset-top)); }
.ayk-bande-haut a { color: #fff; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; padding: 3px 0; }
.ayk-bh-retour { opacity: .9; }
.ayk-bh-retour:hover { opacity: 1; text-decoration: underline; }
.ayk-bh-ico { display: inline-grid; place-items: center; width: 18px; height: 18px; }
.ayk-bh-ico svg { width: 16px; height: 16px; }
.ayk-bh-appel { background: var(--rouge); border-radius: 20px; padding: 5px 12px !important; }
.ayk-bh-court { display: none; }
@media (max-width: 480px) { .ayk-bh-long { display: none; } .ayk-bh-court { display: inline; } }
.ayk-autonome .ayk-entete { position: sticky; top: 0; z-index: 30; }
.ayk-autonome .ayk-entete .ayk-barre { position: relative; padding-top: 10px; }
.ayk-retour-carte { background: none; border: 0; color: var(--rouge); font-weight: 700; font-size: 14px; padding: 12px 0 0; display: block; }
.ayk-onglets .ayk-onglet-retour { background: var(--sable); border-color: var(--sable); color: var(--rouge); }
.ayk-info.alerte { background: #fdecea; color: var(--rouge-f); font-weight: 600; }

/* Suivi : visuel d'étape et désabonnement */
.ayk-suivi-visuel { display: block; width: 100%; height: auto; border-radius: 14px; margin: 4px 0 14px; background: #1d1b19; box-shadow: 0 10px 30px rgba(0,0,0,.18); }
.ayk-desabo { background: var(--sable); border-radius: 12px; padding: 16px; margin-bottom: 14px; }
.ayk-desabo h3 { margin: 0 0 6px; font-size: 16px; }
.ayk-ok { color: #155442; font-weight: 700; margin: 0; }

/* Politique de confidentialité */
.ayk-conf-lien { text-align: center; font-size: 12px; margin-top: 8px; }
.ayk-conf-lien a, .ayk-pied-conf { color: var(--gris); text-decoration: underline; }
.ayk-pied-conf { margin-left: 14px; font-weight: 500 !important; }
.ayk-confidentialite { max-width: 820px; margin: 0 auto; font-size: 15.5px; line-height: 1.7; color: var(--nuit); }
.ayk-confidentialite h2 { font-size: 21px; margin: 32px 0 10px; letter-spacing: .02em; }
.ayk-confidentialite h3 { font-size: 16px; margin: 24px 0 6px; color: var(--rouge); }
.ayk-confidentialite ul { padding-left: 22px; }
.ayk-confidentialite li { margin: 4px 0; }
.ayk-confidentialite .ayk-conf-maj { color: var(--gris); font-size: 13px; }
.ayk-confidentialite .ayk-btn { display: inline-block; width: auto; padding: 12px 22px; text-decoration: none; margin-top: 10px; }
.ayk-oublier { display: block; margin: -4px 0 10px; font-size: 12px; color: var(--gris) !important; }

/* État et horaires de commande */
.ayk-etat-bloc { text-align: center; margin: 18px 0 6px; }
.ayk-etat-bloc .ayk-etat { margin-bottom: 2px; }
.ayk-etat-detail { margin: 0 0 6px; font-size: 13.5px; color: var(--gris); }
.ayk-horaires { display: inline-block; text-align: left; font-size: 13.5px; }
.ayk-horaires summary { cursor: pointer; color: var(--rouge); font-weight: 600; text-align: center; list-style: none; }
.ayk-horaires summary::-webkit-details-marker { display: none; }
.ayk-horaires summary::after { content: " ▾"; }
.ayk-horaires[open] summary::after { content: " ▴"; }
.ayk-horaires table { margin: 8px auto 0; border-collapse: collapse; }
.ayk-horaires th { text-align: left; font-weight: 600; padding: 4px 16px 4px 0; }
.ayk-horaires td { padding: 4px 0; color: var(--gris); }
.ayk-horaires tr.auj th, .ayk-horaires tr.auj td { color: var(--nuit); font-weight: 700; }
.ayk-payer-btn.m-carte { border-color: #1d1b19; }

/* v1.7.1 — l'attribut hidden l'emporte toujours (À emporter : pas d'adresse ni de GPS) */
.ayk [hidden], .ayk-voile [hidden], .ayk-modale [hidden], .ayk-autonome [hidden] { display: none !important; }
/* marge basse pour que les widgets flottants du site (traduction, chat) ne masquent pas « Valider » */
.ayk-modale .ayk-form { padding-bottom: 56px; }

/* v1.9.1 — Démo bien visible partout */
.ayk-demo { display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; background: repeating-linear-gradient(-45deg, #E27F0C 0 14px, #d67508 14px 28px); font-weight: 500; }
.ayk-demo-pastille { background: #fff; color: #b35f00; font-weight: 800; font-size: 11px; letter-spacing: .16em; padding: 3px 9px; border-radius: 999px; }
.tk-demo-haut { border: 2px dashed var(--orange); padding: 6px; margin: 0 0 10px; letter-spacing: .06em; }
.ayk-ticket.tk-est-demo { position: relative; overflow: hidden; }
.ayk-ticket.tk-est-demo::after { content: 'DÉMO'; position: absolute; top: 42%; left: 50%; transform: translate(-50%, -50%) rotate(-28deg); font-size: 84px; font-weight: 900; letter-spacing: .12em; color: rgba(226,127,12,.13); pointer-events: none; white-space: nowrap; }
@media print { .ayk-ticket.tk-est-demo::after { color: rgba(0,0,0,.12); } }
