/* Local fixes for native dialog sizing and grid min-content overflow. */
#productDialog{position:fixed;inset:0;margin:auto;width:min(860px,calc(100% - 32px));max-width:calc(100% - 32px);height:fit-content;max-height:calc(100dvh - 32px);padding:0;overflow:auto;overscroll-behavior:contain}
#productDetail,.detail-grid,.detail-grid>div,.detail-info,.food-facts dd{min-width:0}
#productDialog .detail-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
#productDialog .detail-main-img{display:block;max-width:100%;height:auto}
#productDialog .detail-thumbs{max-width:100%}
#productDialog :is(h2,.package,.detail-description,.food-facts dd){overflow-wrap:anywhere}
.ride-food{width:100%;text-align:left;padding:10px;border:1px solid #e2ecd8;border-radius:16px;background:#fbfff5;min-width:0}
.ride-food>span{min-width:0;flex:1}.ride-food strong{overflow-wrap:anywhere}.ride-food img{flex-shrink:0}
.ride-food em,.ride-card-food>span{display:block;font-size:11px;font-style:normal;color:#bb792e;margin-top:7px}
.ride-card-food,.ride-card-seats{display:block;text-align:left;width:100%;padding:0;min-height:44px}
.ride-card-food strong{white-space:normal;overflow-wrap:anywhere}
.active-ride .active-ride-food{display:block;padding:0;border:0;background:none;box-shadow:none;text-align:left;min-height:44px}
.active-ride>div{min-width:0}.active-ride-food h3{overflow-wrap:anywhere}
.departure-hint{font-size:12px;line-height:1.8;color:#6c8758;margin:18px 0 10px}.departure-hint:empty{display:none}
.depart-ride{display:block;width:100%;min-height:48px;border:1px solid #ef8a28;border-radius:14px;padding:12px;background:linear-gradient(120deg,#ffb14f,#fa8629);color:#fff;font-weight:700;box-shadow:0 4px 0 #df791f;font-size:14px}
.depart-ride:disabled{background:#e6ecde;border-color:#dce6d3;color:#92a184;box-shadow:none;cursor:not-allowed}
.ride-food:disabled{cursor:default}.ride-actions button:disabled{opacity:.5;cursor:wait}
@media(max-width:600px){#productDialog{inset:0;margin:auto;width:100%;max-width:100%;height:100dvh;max-height:100dvh;border-radius:0;padding-bottom:max(16px,env(safe-area-inset-bottom))}#productDialog .detail-grid{grid-template-columns:minmax(0,1fr)}#productDialog .detail-main-img{max-height:44dvh}.ride-food{padding:9px}.ride-food img{width:64px;height:64px}.ride-food strong{font-size:14px}}
