/* Hungr'eat v7.0.85 — isolated product sheet; restaurant remains mounted. */
.hg-product-sheet-open{overflow:hidden!important}
.fl-app .hg-product-sheet-layer{position:fixed;inset:0;z-index:120;display:flex;flex-direction:column;justify-content:flex-end;pointer-events:auto}
.fl-app .hg-product-sheet-backdrop{position:absolute;inset:0;background:rgba(24,20,17,.43);opacity:0;transition:opacity .25s}
.fl-app .hg-product-sheet-layer.is-open .hg-product-sheet-backdrop{opacity:1}
.fl-app .hg-product-sheet{position:relative;z-index:1;width:min(720px,100%);height:min(92dvh,100%);margin:0 auto;background:#fff;border-radius:22px 22px 0 0;overflow-y:auto;overscroll-behavior-y:contain;-webkit-overflow-scrolling:touch;transform:translateY(100%);transition:transform .3s cubic-bezier(.2,.8,.2,1);box-shadow:0 -8px 36px #19110b24}
.fl-app .hg-product-sheet-layer.is-open .hg-product-sheet{transform:translateY(0)}
.fl-app .hg-product-sheet .hg-product-sheet-layout{max-width:none!important;padding:0!important;margin:0!important;background:#fff!important}
.fl-app .hg-product-sheet .fl-product-detail-grid{display:flex!important;flex-direction:column!important;grid-template-columns:none!important;gap:0!important;margin:0!important;padding:0!important}
.fl-app .hg-product-sheet .fl-product-visual-column,.fl-app .hg-product-sheet .fl-product-visual{width:100%!important;margin:0!important;padding:0!important;position:static!important}
.fl-app .hg-product-sheet .fl-product-photo{height:clamp(180px,40vw,290px)!important;overflow:hidden!important;border-radius:0!important;position:relative!important}
.fl-app .hg-product-sheet .fl-product-hero-image{width:100%!important;height:100%!important;object-fit:cover!important;display:block}
.fl-app .hg-product-close{position:absolute;top:16px;left:16px;z-index:3;width:42px;height:42px;border-radius:50%;border:1px solid #ffffff75;background:#ffffffc9;backdrop-filter:blur(6px);display:grid;place-items:center;color:#28231e;cursor:pointer}
.fl-app .hg-product-close svg{width:23px;height:23px}
.fl-app .hg-product-sheet .fl-product-config{width:100%!important;max-width:none!important;margin:0!important;padding:18px 18px 0!important;background:#fff!important;border:0!important;border-radius:0!important;box-shadow:none!important}
.fl-app .hg-product-sheet .fl-product-intro h1{font-size:clamp(23px,4vw,31px)!important;margin:0 0 8px!important}
.fl-app .hg-product-sheet .hg-product-priceline{font-size:20px;font-weight:800;color:#e85d10;margin:0 0 10px}
.fl-app .hg-product-sheet .fl-product-description{color:#6f6860;margin:0 0 14px!important}
.fl-app .hg-product-sheet .fl-product-orderbar{position:sticky!important;bottom:0;z-index:5;display:flex!important;gap:10px;align-items:center;justify-content:space-between;background:#fff!important;padding:11px 0 calc(12px + env(safe-area-inset-bottom))!important;border-top:1px solid #eee7e2;box-shadow:0 -8px 18px #ffffffee;margin-top:20px}
.fl-app .hg-product-sheet .fl-product-order-total{flex:0 0 auto}
.fl-app .hg-product-sheet .fl-product-order-control{flex:1;min-width:0}
.fl-app .hg-product-sheet .fl-product-order-control button{border-radius:30px!important;min-height:48px;width:100%;font-size:14px!important;padding:8px 12px!important}
.fl-app .hg-product-sheet .fl-product-selection-status{font-size:11px!important;margin:4px 0 0!important}
.fl-app .hg-upsell-suggestions{margin:23px 0 10px}
.fl-app .hg-upsell-category{margin-bottom:20px}
.fl-app .hg-upsell-category h2{font-size:19px!important;margin:0 0 12px!important}
.fl-app .hg-upsell-row{display:flex;gap:12px;overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:9px;-webkit-overflow-scrolling:touch}
.fl-app .hg-upsell-card{flex:0 0 136px;scroll-snap-align:start;border:1px solid #eee8e3;border-radius:12px;padding:9px;display:flex;flex-direction:column;gap:6px;min-width:0;position:relative}
.fl-app .hg-upsell-card img,.fl-app .hg-upsell-empty-image{height:94px;width:100%;object-fit:cover;border-radius:8px;background:#f7f2ed}
.fl-app .hg-upsell-empty-image{display:grid;place-items:center;font-size:11px;color:#81786d;text-align:center}
.fl-app .hg-upsell-card strong{font-size:13px;line-height:1.25;overflow-wrap:anywhere}
.fl-app .hg-upsell-card span{font-size:13px;font-weight:750;color:#e85d10}
.fl-app .hg-upsell-card button{align-self:flex-end;border:0;border-radius:50%;width:34px;height:34px;background:#f56812;color:white;font-size:23px;display:grid;place-items:center;cursor:pointer}
.fl-app .hg-upsell-card button.is-added{background:#218248}
.fl-app .hg-upsell-checkbox{margin:12px 0;padding:13px;background:#fff7f0;border-radius:10px}
@media(max-width:420px){.fl-app .hg-product-sheet{height:min(95dvh,100%);border-radius:17px 17px 0 0}.fl-app .hg-product-sheet .fl-product-config{padding:15px 13px 0!important}.fl-app .hg-product-sheet .fl-product-orderbar{gap:7px}.fl-app .hg-product-sheet .fl-product-order-total strong{font-size:15px!important}.fl-app .hg-product-sheet .fl-product-order-control button{font-size:12px!important}}
@media(prefers-reduced-motion:reduce){.fl-app .hg-product-sheet,.fl-app .hg-product-sheet-backdrop{transition:none}}

/* Keep both the button caption and the live total visible on narrow phones. */
.fl-app .hg-product-sheet .fl-product-orderbar{display:block!important;width:100%!important}
.fl-app .hg-product-sheet .fl-product-order-control{display:block!important;width:100%!important;min-width:0!important}
.fl-app .hg-product-sheet #fl-product-order-button{width:100%!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:8px!important;text-align:left!important;padding:12px 17px!important;white-space:normal!important}
.fl-app .hg-product-sheet #fl-product-current-total{color:#fff!important;font-size:15px!important;font-variant-numeric:tabular-nums;white-space:nowrap!important}
.fl-app .hg-product-sheet .fl-product-extra-choices,.fl-app .hg-product-sheet .fl-product-extra-option{width:100%!important;max-width:100%!important;min-width:0!important}
.fl-app .hg-product-sheet .fl-product-extra-option{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:8px!important;flex-wrap:wrap!important}
.fl-app .hg-product-sheet .fl-product-extra-info{flex:1 1 105px!important;min-width:0!important}
.fl-app .hg-product-sheet .fl-extra-stepper{flex:0 0 auto!important;margin-left:auto!important;gap:3px!important}
.fl-app .hg-product-sheet .fl-extra-stepper .fl-extra-step{min-width:32px!important;width:32px!important;height:36px!important}
.fl-app .hg-product-sheet .fl-product-extra-choices *{box-sizing:border-box}
/* Override the legacy product grid's intrinsic column widths on mobile. */
.fl-app .hg-product-sheet .fl-product-config{display:block!important;min-width:0!important;overflow-x:clip!important}
.fl-app .hg-product-sheet .fl-product-options,.fl-app .hg-product-sheet .fl-product-notes,.fl-app .hg-product-sheet .fl-product-intro,.fl-app .hg-product-sheet .fl-product-extra-group{width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important}
.fl-app .hg-product-sheet .fl-product-extra-content,.fl-app .hg-product-sheet .fl-product-extra-choices{min-width:0!important;max-width:100%!important}
.fl-app .hg-product-sheet .fl-product-orderbar{width:100%!important;max-width:100%!important;box-sizing:border-box!important;left:auto!important;right:auto!important;margin-left:0!important;margin-right:0!important}

/* v7.0.87 — Product sheet fills the phone viewport, image entirely visible in a square. */
@media(max-width:767px){
  .fl-app .hg-product-sheet-layer{inset:0!important;height:100dvh!important;max-height:100dvh!important}
  .fl-app .hg-product-sheet{
    height:100dvh!important;max-height:100dvh!important;min-height:100dvh!important;
    width:100%!important;max-width:none!important;
    border-radius:0!important;margin:0!important;
    overflow-y:auto!important;overflow-x:hidden!important;
  }
  .fl-app .hg-product-sheet .fl-product-photo{
    width:100%!important;height:auto!important;aspect-ratio:1 / 1;
    max-height:none!important;overflow:hidden!important;
    display:flex!important;align-items:center!important;justify-content:center!important;
    background:#fff!important;
  }
  .fl-app .hg-product-sheet .fl-product-hero-image{
    display:block!important;width:100%!important;height:100%!important;
    object-fit:contain!important;object-position:center!important;
  }
}
/* Desktop: keep the photograph square and uncropped too, with a sensible maximum size. */
@media(min-width:768px){
  .fl-app .hg-product-sheet .fl-product-photo{
    width:min(100%,440px)!important;height:auto!important;aspect-ratio:1 / 1;
    max-height:none!important;margin-inline:auto!important;
    display:flex!important;align-items:center!important;justify-content:center!important;
    background:#fff!important;
  }
  .fl-app .hg-product-sheet .fl-product-hero-image{
    width:100%!important;height:100%!important;object-fit:contain!important;object-position:center!important;
  }
}

/* v7.0.89 — quantité des produits suggérés, mêmes contrôles − 0 + que les extras. */
.fl-app .hg-upsell-card .hg-upsell-stepper{display:flex;align-items:center;justify-content:space-between;align-self:stretch;gap:5px;margin-top:auto;min-height:35px}
.fl-app .hg-upsell-card .hg-upsell-stepper button{display:grid;place-items:center;flex:0 0 32px;width:32px;height:32px;padding:0!important;border:1px solid #f0d5be!important;border-radius:9px!important;background:#fff3ea!important;color:#df5b06!important;font-size:21px!important;font-weight:700;line-height:1;box-shadow:none!important;cursor:pointer}
.fl-app .hg-upsell-card .hg-upsell-stepper button:disabled{opacity:.36;cursor:default}
.fl-app .hg-upsell-card .hg-upsell-stepper button:focus-visible{outline:2px solid #f60;outline-offset:2px}
.fl-app .hg-upsell-card .hg-upsell-quantity{flex:1;min-width:18px;text-align:center;font-size:16px;font-weight:750;font-variant-numeric:tabular-nums;color:#26221e}
