/* FrogMenu v0.5.3 — palette-aware shared components and theme layout fixes. */
body[data-model]{background:var(--paper);color:var(--ink)}
body[data-model] .eyebrow{color:var(--fm-eyebrow)}
body[data-model] .price{color:var(--fm-price)}
body[data-model] .promo-price{color:var(--rust)}
body[data-model] .show-tag{background:var(--white);color:var(--fm-price)}
body[data-model] .show-card .favorite,body[data-model] .modal-close{background:var(--white);color:var(--ink);border:1px solid var(--line)}
body[data-model] .favorite.active{color:var(--rust);border-color:var(--rust)}
body[data-model] .nav-btn.active,body[data-model] .frog-order,body[data-model] .cart-launch,body[data-model] .footer-wa,body[data-model] .top-notice,body[data-model] .favorite-long{background:var(--olive);color:var(--fm-on-main)}
body[data-model] .utility-ico{background:var(--warm);color:var(--fm-price)}
body[data-model] .notice,body[data-model] .frog-tip{background:var(--warm);color:var(--ink);border-color:var(--line)}
body[data-model] .notice svg{color:var(--fm-eyebrow)}
body[data-model] .footer{background:var(--warm);color:var(--ink)}
body[data-model] .foot-grid h3,body[data-model] .qr-card strong{color:var(--ink)}
body[data-model] .qr-card{background:var(--white);border-color:var(--line)}
body[data-model] .foot-bottom{border-color:var(--line)}
body[data-model] .whatsapp-float{background:var(--white);color:var(--ink);border-color:var(--line)}
body[data-model] .wa-copy span,body[data-model] .show-card .promo-note,body[data-model] .product-desc,body[data-model] .cart-meta small{color:var(--fm-surface-muted)}
body[data-model] .search-field input::placeholder{color:var(--fm-surface-muted)}
body[data-model] .hero-slide{background:var(--fm-hero)}
body[data-model] .hero-slide:after{background:linear-gradient(90deg,var(--fm-hero) 0%,var(--fm-hero) 39%,color-mix(in srgb,var(--fm-hero) 90%,transparent) 45%,transparent 65%)}
body[data-model] .hero-content{background:transparent;color:#fff;}
body[data-model] .hero-content .eyebrow,body[data-model] .hero-content p{color:#fff5e9}
body[data-model] .hero-cta{background:var(--gold);color:var(--fm-on-accent)}
body[data-model] .hero-controls .arrow{color:#222;background:#fff}
body[data-model] .show-open{width:100%;display:block}
body[data-model] .show-img{width:100%;min-width:0;display:block}
body[data-model] .show-img img{width:100%;height:100%;max-width:none;object-fit:cover;display:block}
body[data-model=urban] .show-img{aspect-ratio:1.35;height:auto}
body[data-model=urban] .products:not(.add-ons) .product-photo{min-width:0;flex:none;align-self:stretch;aspect-ratio:1.35;height:auto}
body[data-model=urban] .products:not(.add-ons) .product-open{gap:10px;align-items:stretch}
body[data-model=urban] .products:not(.add-ons) .product-info{padding:0 4px 5px;justify-content:flex-start}
body[data-model=urban] .product .favorite{background:var(--white);color:var(--ink);border:1px solid var(--line)}
body[data-model=urban] .product .favorite.active{color:var(--rust)}
body[data-model=urban] .add-ons .product-open{flex-direction:row;align-items:center}
body[data-model=urban] .add-ons .product-photo{width:48px;min-width:48px;height:48px;aspect-ratio:1}
body[data-model=essential] .show-img{height:auto;aspect-ratio:1.6}
body[data-model=essential] .show-body{min-height:86px}
body[data-model=essential] .product-photo{flex:0 0 76px}
body[data-model=essential] .add-ons .product-photo{width:48px;min-width:48px;height:48px;flex-basis:48px}
body[data-model=urban] .favorite-panel .products:not(.add-ons){grid-template-columns:1fr}
body[data-model=urban] .favorite-panel .products:not(.add-ons) .product-open{flex-direction:row;align-items:center}
body[data-model=urban] .favorite-panel .products:not(.add-ons) .product-photo{width:92px;min-width:92px;aspect-ratio:1;align-self:center}
body[data-model=urban] .favorite-panel .products:not(.add-ons) .product-info{padding-right:20px}
body[data-model] .review-panel{padding:24px;max-height:none;overflow:visible}
.review-panel h2{margin:3px 40px 5px 0}.review-subtitle{font-size:13px;color:var(--fm-surface-muted);margin-bottom:18px}.review-section{background:var(--white);border:1px solid var(--line);border-radius:14px;margin:12px 0;padding:14px}.review-section h3{font-size:14px;margin-bottom:12px;color:var(--ink)}.review-item{display:grid;grid-template-columns:58px minmax(0,1fr) auto;align-items:center;gap:10px;padding:10px 0;border-bottom:1px solid var(--line)}.review-item:first-of-type{padding-top:0}.review-item:last-child{padding-bottom:0;border:0}.review-thumb{width:58px;height:58px;object-fit:cover;border-radius:9px;background:var(--warm)}.review-thumb-empty{display:grid;place-items:center;color:var(--fm-surface-muted)}.review-meta{min-width:0;overflow-wrap:anywhere}.review-meta strong{display:block;font-size:14px}.review-meta small{font-size:12px;color:var(--fm-surface-muted)}.review-line{font-weight:750;font-size:14px;color:var(--fm-price);white-space:nowrap}.review-totals{background:var(--warm)}.review-totals>div{display:flex;justify-content:space-between;gap:10px;margin:5px 0}.review-totals .review-grand{border-top:1px solid var(--line);padding-top:10px;margin-top:10px;font-size:20px;color:var(--ink);font-weight:750}.review-address{overflow-wrap:anywhere;font-size:13px}.review-address dt{font-size:11px;font-weight:700;color:var(--fm-surface-muted);margin-top:9px}.review-address dd{margin:2px 0 0;white-space:pre-wrap}.review-send{display:flex!important;justify-content:center;align-items:center;gap:8px;text-decoration:none;background:#128044!important;color:#fff!important;text-align:center}.review-help{font-size:11px;color:var(--fm-surface-muted);text-align:center;margin:8px 0 12px}.review-actions{display:grid;gap:6px}.review-actions .frog-order{margin:0}.review-panel .review-section{min-width:0}
@media(max-width:600px){body[data-model] .hero-slide:after{background:linear-gradient(90deg,color-mix(in srgb,var(--fm-hero) 96%,transparent),color-mix(in srgb,var(--fm-hero) 78%,transparent) 40%,transparent 100%)}body[data-model=urban] .products:not(.add-ons){grid-template-columns:repeat(2,minmax(0,1fr))}body[data-model=urban] .products:not(.add-ons) .product-info h3{font-size:13px}body[data-model=urban] .favorite-panel .products:not(.add-ons){grid-template-columns:1fr}body[data-model=urban] .add-ons .product-photo,body[data-model=essential] .add-ons .product-photo{width:42px;min-width:42px;height:42px;flex-basis:42px}body[data-model] .review-panel{padding:20px 14px}.review-section{padding:12px}.review-item{grid-template-columns:48px minmax(0,1fr) auto;gap:8px}.review-thumb{width:48px;height:48px}.review-meta strong,.review-line{font-size:13px}.review-meta small{font-size:11px}}

/* v0.5.4 — a single internal scroll area, clipped to the dialog radius. */
body[data-model] .fm-modal-shell{width:min(490px,100%);max-width:100%;max-height:min(90dvh,calc(100dvh - 40px));border-radius:23px;overflow:hidden;position:relative;background:var(--white);box-shadow:0 20px 90px #0004;padding-right:4px;animation:rise .24s ease;min-width:0}
body[data-model] .fm-modal-shell .modal{width:100%;max-height:min(90dvh,calc(100dvh - 40px));border-radius:0;box-shadow:none;animation:none;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:color-mix(in srgb,var(--fm-price) 64%,var(--white)) transparent;outline:none}
body[data-model] .fm-modal-shell .modal:focus-visible{outline:2px solid var(--gold);outline-offset:-3px}
body[data-model] .fm-modal-shell .modal::-webkit-scrollbar{width:6px;height:6px}body[data-model] .fm-modal-shell .modal::-webkit-scrollbar-track{background:transparent;margin:12px 0}body[data-model] .fm-modal-shell .modal::-webkit-scrollbar-thumb{background:color-mix(in srgb,var(--fm-price) 64%,var(--white));border-radius:10px}body[data-model] .fm-modal-shell .modal::-webkit-scrollbar-button{display:none}
body[data-model] .fm-modal-shell .order-panel{max-height:none;overflow:visible}
@media(max-width:600px){body[data-model] .fm-modal-shell{width:100%;max-height:92dvh;border-radius:22px 22px 0 0}body[data-model] .fm-modal-shell .modal{max-height:92dvh}}
