/* Épat & Moi — commande et appli au niveau premium MAW (lot EPAT2, 25/11/2026 ; EPAT3 : fiches à vignette, une seule rangée de filtres).
   Servie sur epatmoi.com/commander/ par le Worker maw-epat-stripe-url (lien ajouté dans <head>), fichier sur maw-vitrine.
   Affichage seulement : aucune règle ne change le parcours (commande, créneaux, paiement, compte). */
:root{--emx-out:cubic-bezier(.23,1,.32,1);--emx-ink:#24251f;--emx-cream:#f6f2e9;--emx-copper:#b64a28;--emx-sand:#eee8dc}

/* En-tête : logo et nom, comme sur le site. */
.top .brand{display:inline-flex;align-items:center;gap:9px;font-weight:800;font-size:19px;letter-spacing:-.6px;color:var(--emx-ink)}
.top .brand img{display:block;width:26px;height:32px;object-fit:contain}
.top .brand:not(:has(img))::before{content:"";width:26px;height:32px;flex:none;background:url("/assets/premium-v1/logo.jpg") center/contain no-repeat}
.top{box-shadow:0 1px 0 rgba(36,37,31,.04),0 10px 26px -22px rgba(36,37,31,.4)}

/* Accueil de la carte : photo du camion lisible, ouverture « pose » une fois. */
.hero.compact-hero{border-radius:18px;background:#1c1b17}
.hero.compact-hero img{opacity:1}
.hero.compact-hero .t{padding:22px 18px 18px;background:linear-gradient(180deg,rgba(20,18,14,0) 0%,rgba(20,18,14,.55) 45%,rgba(20,18,14,.88) 100%)}
.hero.compact-hero h1{font-size:27px;font-weight:750;letter-spacing:-.9px;line-height:1.08;text-wrap:balance;text-shadow:0 1px 14px rgba(0,0,0,.35)}
.hero.compact-hero p{color:#eee6d8;font-size:12.5px;text-wrap:pretty}
@keyframes emx-pose{from{transform:scale(1.08)}to{transform:none}}
@media (prefers-reduced-motion:no-preference){.hero.compact-hero img{animation:emx-pose 1.4s var(--emx-out) both}}

/* Catégories : la couleur de l'appli reste celle choisie par le pro (--acc, réglée par l'appli). */
.chip{transition:background .2s ease,color .2s ease,transform .14s var(--emx-out)}
.chip:active,.quick-filters button:active{transform:scale(.96)}

/* Fiches produits (EPAT3) : texte à gauche, vignette carrée à droite recadrée serré sur le produit,
   « + » d'ajout posé sur la vignette ; sans photo, fiche compacte. */
.menu-product .item{transition:transform .16s var(--emx-out),border-color .2s ease,box-shadow .2s ease}
.menu-product .item .item-arrow{display:none}
.menu-product .item.img{display:grid!important;grid-template-columns:minmax(0,1fr) 112px;column-gap:14px;align-items:start;padding:16px!important;min-height:144px;overflow:visible}
.menu-product .item.img>img{grid-column:2;grid-row:1;width:112px!important;height:112px!important;aspect-ratio:1;border-radius:14px!important;object-fit:cover;background:var(--emx-sand);
 transform:translateY(12%) scale(1.45);clip-path:inset(7.2% 15.5% 23.8% 15.5% round 9.7px)}
/* Recadrage serré : on garde le centre haut de la photo (le produit), on écarte le décor et le texte incrusté du bas. */
.menu-product .item.img>span:not(.item-arrow){grid-column:1;grid-row:1;padding:2px 0 0!important;min-width:0}
.menu-product .item.no-img{display:block!important;min-height:0;padding:16px 18px!important}
.menu-product .item .n{font-size:17px;letter-spacing:-.4px;line-height:1.2}
.menu-product .item.no-img .n{padding-right:44px}
.menu-product .item .d{font-size:12.5px;line-height:1.5;color:#68665d;margin-top:5px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.menu-product .price-options{font-size:11.5px;gap:5px;margin-top:10px}
.menu-product .item.no-img .price-options{padding-right:46px}
.menu-product .price-options>span{background:var(--emx-sand);border-radius:999px;padding:5px 10px}
.menu-product .item::after{content:"";position:absolute;right:14px;bottom:14px;width:34px;height:34px;border-radius:50%;background:var(--acc,var(--emx-copper)) no-repeat center/16px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E");box-shadow:0 0 0 3px #fffcf7,0 6px 14px -6px rgba(0,0,0,.45)}
.menu-product .item.img::after{top:104px;bottom:auto;right:8px}
.menu-product .item.off::after{display:none}
.menu-product .item:active{transform:scale(.985)}
@media (hover:none){.item:hover{transform:none!important}}
@media (min-width:701px){.menu-product .item.img{grid-template-columns:minmax(0,1fr) 128px;min-height:160px}.menu-product .item.img>img{width:128px!important;height:128px!important}.menu-product .item.img::after{top:120px}}
.favourite{width:34px!important;height:34px!important;right:10px!important;top:10px!important;border-radius:50%;font-size:0!important;background:rgba(246,242,233,.92);box-shadow:0 2px 10px rgba(0,0,0,.12);display:grid;place-items:center;transition:transform .14s var(--emx-out)}
.favourite::before{content:"";width:18px;height:18px;background:var(--emx-ink);-webkit-mask:var(--emx-heart) center/contain no-repeat;mask:var(--emx-heart) center/contain no-repeat}
.favourite.on::before,.favourite[aria-pressed="true"]::before{background:var(--acc,var(--emx-copper));-webkit-mask-image:var(--emx-heart-on);mask-image:var(--emx-heart-on)}
.favourite:active{transform:scale(.9)}
:root{--emx-heart:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linejoin='round'%3E%3Cpath d='M12 20s-7.5-4.6-7.5-10.2A4.3 4.3 0 0 1 12 7.3a4.3 4.3 0 0 1 7.5 2.5C19.5 15.4 12 20 12 20z'/%3E%3C/svg%3E");
 --emx-heart-on:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23000'%3E%3Cpath d='M12 20s-7.5-4.6-7.5-10.2A4.3 4.3 0 0 1 12 7.3a4.3 4.3 0 0 1 7.5 2.5C19.5 15.4 12 20 12 20z'/%3E%3C/svg%3E")}

/* Boutons et choix : réponse au doigt, transitions courtes. */
.btn{transition:transform .14s var(--emx-out),background .2s ease,opacity .2s ease}
.btn:active:not(:disabled){transform:scale(.97)}
.seg button,.slots button,.days button{transition:background .18s ease,color .18s ease,transform .14s var(--emx-out)}
.seg button:active,.slots button:active,.days button:active{transform:scale(.96)}
.card{border-radius:16px}

/* Barre du bas : flou, repère de l'onglet ouvert, pression. */
.nav{-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);background:rgba(246,242,233,.9)!important;box-shadow:0 -10px 30px -24px rgba(36,37,31,.5)}
.nav button svg{transition:transform .14s var(--emx-out)}
.nav button:active svg{transform:scale(.88)}
.nav button.on::before{content:"";position:absolute;top:6px;left:50%;width:18px;height:3px;margin-left:-9px;border-radius:3px;background:var(--acc,var(--emx-copper))}

/* Pictogrammes dessinés à la place des émojis (script). */
.emx-i{display:inline-block;width:1.15em;height:1.15em;vertical-align:-.2em;margin-right:.32em;background:currentColor;-webkit-mask:var(--i) center/contain no-repeat;mask:var(--i) center/contain no-repeat}
.seg .emx-i{width:1.25em;height:1.25em}

/* Changement d'onglet (après le premier affichage) et apparition des fiches sous l'écran (script). */
@keyframes emx-page{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion:no-preference){.emx-ready .page:not(.hide){animation:emx-page .28s var(--emx-out) both}}
.emx-rv{opacity:0;transform:translateY(16px)}
.emx-rv.emx-in{opacity:1;transform:none;transition:opacity .4s ease,transform .55s var(--emx-out);transition-delay:var(--emx-d,0ms)}
@media (prefers-reduced-motion:reduce){.emx-rv{transform:none}.emx-rv.emx-in{transition:opacity .3s ease}}

/* Une seule rangée de filtres (EPAT3, script) : catégories, favoris, doubles et fidélité dans la barre collante. */
.emx-row{display:flex!important;flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;-webkit-overflow-scrolling:touch}
.emx-row::-webkit-scrollbar{display:none}
.emx-row>#chips{display:contents!important}
.emx-row>#chips>.chip{order:2;flex:none}
.emx-row>#chips>.chip[data-cat="all"]{order:0}
.emx-row>.emx-qf{order:1;flex:none;white-space:nowrap}
.emx-row>.emx-qf[data-go]{order:3}
.emx-row>.emx-qf.on{background:var(--acc,var(--emx-copper));color:#fff}
.emx-row .emx-qf .emx-i{width:1.05em;height:1.05em;vertical-align:-.15em}
.emx-has-row .quick-filters{display:none!important}
.menu-product:has(>.item.img) .favourite{top:22px!important;right:22px!important;width:30px!important;height:30px!important}
.menu-product:has(>.item.img) .favourite::before{width:16px;height:16px}
.emx-i.emx-i-after{margin:0 0 0 .1em;width:.95em;height:.95em}

/* EPAT3 (suite) : fiche produit, proposition « Menu », installation de l'appli. */
/* Photo de la fiche : même recadrage serré que la vignette (le produit, sans décor ni texte incrusté). */
.sheet{overflow-x:hidden}
.sheet .sheet-photo:not(.sheet-illustration){display:block;width:100%;height:auto!important;aspect-ratio:16/10;object-fit:cover;border-radius:0;background:var(--emx-sand);
 transform:translateY(6%) scale(1.6);clip-path:inset(12.5% 18.75% 25% 18.75% round 7px);margin:0 0 14px}
@media (max-height:500px){.sheet .sheet-photo{display:none}}
/* Proposition « Menu » : carte claire, pictogrammes dans une pastille, bouton à la couleur de l'appli. */
.sheet .upsell{display:flex;flex-wrap:nowrap;align-items:center;gap:10px;margin-top:14px;padding:12px 12px 12px 14px;border:1px solid rgba(182,74,40,.18)!important;border-radius:14px;background:#fbf1e8!important;color:var(--emx-ink);font-size:13px;line-height:1.45}
.sheet .upsell>.emx-i{flex:none;width:30px;height:30px;margin:0;border-radius:50%;background:transparent;position:relative;-webkit-mask:none;mask:none}
.sheet .upsell>.emx-i::before{content:"";position:absolute;inset:0;border-radius:50%;background:#f3dccb}
.sheet .upsell>.emx-i::after{content:"";position:absolute;inset:6px;background:var(--emx-copper);-webkit-mask:var(--i) center/contain no-repeat;mask:var(--i) center/contain no-repeat}
.sheet .upsell>.emx-i+.emx-i{margin-left:-14px;box-shadow:none}
.sheet .upsell>.emx-i+.emx-i::before{box-shadow:0 0 0 2px #fbf1e8}
.sheet .upsell>span:not(.emx-i){flex:1;min-width:0}
.sheet .upsell b{color:inherit}
.sheet .upsell button{flex:none;margin-left:auto;min-height:40px;padding:0 16px;border-radius:999px;background:var(--acc,var(--emx-copper));color:#fff;font-weight:800;transition:transform .14s var(--emx-out)}
.sheet .upsell button:active{transform:scale(.96)}
/* Installer l'appli (onglet Infos) : carte avec l'icône, flèche dessinée. */
.em-install{border:1px solid var(--line,#ddd8cb)!important;background:#fffcf7!important;padding:0!important;overflow:hidden}
.em-install summary{list-style:none;display:flex;align-items:center;gap:12px;padding:14px 16px;font-weight:800}
.em-install summary::-webkit-details-marker{display:none}
.em-install summary::before{content:"";width:40px;height:40px;flex:none;border-radius:10px;background:url("/__maw/x/epatmoi/icone-180.png") center/cover}
.em-install summary::after{content:"";width:16px;height:16px;flex:none;margin-left:auto;background:currentColor;opacity:.55;transition:transform .2s var(--emx-out);
 -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") center/contain no-repeat;
 mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") center/contain no-repeat}
.em-install[open] summary::after{transform:rotate(180deg)}
.em-install p{margin:0;padding:0 16px 14px;font-size:13.5px;line-height:1.6;color:#55544b}
@media (display-mode:standalone){.em-install{display:none}}
/* États vides (panier, suivi) : pictogramme dessiné dans une pastille, texte centré, respiration. */
#cartEmpty,#trackingEmpty{padding:30px 22px 24px!important;text-align:center}
#cartEmpty::before,#trackingEmpty::before{content:"";display:block;width:64px;height:64px;margin:0 auto 16px;border-radius:50%;background:var(--emx-sand) no-repeat center/30px}
#cartEmpty::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b64a28' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 8h14l-1.2 11.2a2 2 0 0 1-2 1.8H8.2a2 2 0 0 1-2-1.8z'/%3E%3Cpath d='M9 8V6.5a3 3 0 0 1 6 0V8'/%3E%3C/svg%3E")}
#trackingEmpty::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b64a28' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 11.5h18M4.5 11.5a7.5 6 0 0 1 15 0'/%3E%3Cpath d='M4 14.5h16M5 17.5h14a1.5 1.5 0 0 1-1.5 1.5h-11A1.5 1.5 0 0 1 5 17.5z'/%3E%3C/svg%3E")}
#cartEmpty{font-size:15px;font-weight:700;color:var(--emx-ink)!important}
#cartEmpty .btn{display:block;margin:16px auto 0!important;width:auto;min-width:180px;padding-left:24px;padding-right:24px}
#trackingEmpty h3{font-size:18px;letter-spacing:-.3px;text-wrap:balance}
#trackingEmpty .btn{margin:6px auto 0}

/* EPAT6 (01/12/2026) : l'appli au niveau du site. Même police de titre (Anton, servie par epatmoi.com),
   même couleur d'action (cuivre du bouton « Commander » du site), ouverture sur le burger, lecture ≥ 13 px. */
@font-face{font-family:"EM Anton";src:url("/__maw/x/epatmoi/anton.woff2") format("woff2");font-display:swap}
html{--acc:#b64a28!important}
.hero.compact-hero{min-height:300px;display:flex;align-items:flex-end;isolation:isolate}
.hero.compact-hero img{content:url("/__maw/x/epatmoi/burger-800.webp");position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 42%;z-index:-1}
.hero.compact-hero .t{position:relative;width:100%;padding:70px 20px 20px}
.hero.compact-hero h1{font-family:"EM Anton",Impact,sans-serif;font-weight:400;text-transform:uppercase;font-size:clamp(34px,10vw,46px);line-height:1.14;letter-spacing:.2px;text-shadow:0 2px 18px rgba(0,0,0,.35)}
.hero.compact-hero p{font-size:13.5px;margin-top:8px}
main h2,.page h2{font-family:"EM Anton",Impact,sans-serif;font-weight:400;text-transform:uppercase;letter-spacing:.3px;line-height:1.04}
.catalogue-tools>label[for="menuSearch"]{font-family:"EM Anton",Impact,sans-serif;font-weight:400;text-transform:uppercase;letter-spacing:.3px;font-size:24px}
.menu-product .item .n{font-size:18px;font-weight:800}
.menu-product .item .d{font-size:14px;color:#57574d}
.menu-product .price-options{font-size:13px}
.menu-product .price-options b,.menu-product .price-options strong{color:var(--emx-ink)}
