/* Eatopia – Restaurant-Menüseite im Marktplatz-Design (rm-*) */

/* --- neutralise the legacy full-height app shell from styles.css */
html.rm-html,html.rm-html body.rm-body{height:auto;min-height:100%}
html.rm-html body.rm-body{overflow:visible;padding-top:0;margin:0;background:var(--mp-bg);color:var(--mp-ink);font-family:var(--mp-font);font-size:15px;line-height:1.4;-webkit-font-smoothing:antialiased}
html.rm-html body.rm-body.site-sheet-open{overflow:hidden}
.rm-body [hidden]{display:none!important}
.rm-body button{font-family:inherit}
.rm-sr-only{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

/* --- header */
.rm-header{z-index:60}
.rm-header .mp-header-inner{gap:16px}
.rm-back{display:inline-flex;align-items:center;gap:6px;height:38px;padding:0 12px;border-radius:999px;color:var(--mp-muted);text-decoration:none;font-weight:700;font-size:14px}
.rm-back:hover{background:#F1F1F3;color:var(--mp-ink)}
.rm-back .material-symbols-rounded{font-size:19px}
.rm-header-actions{margin-left:auto;display:flex;align-items:center;gap:6px}
.rm-header-link{display:inline-flex;align-items:center;gap:6px;height:42px;padding:0 12px;border:0;border-radius:999px;background:none;color:var(--mp-ink);font-weight:700;font-size:14px;cursor:pointer}
.rm-header-link:hover{background:#F1F1F3}
.rm-header-link .material-symbols-rounded{font-size:20px}

/* --- page + hero */
.rm-page{max-width:1280px;margin:0 auto;padding:20px 24px 80px}
.rm-hero{display:grid;grid-template-columns:minmax(260px,380px) minmax(0,1fr);gap:24px;align-items:stretch;padding:16px;background:var(--mp-surface);border-radius:var(--mp-radius);margin-bottom:16px}
.rm-hero-media{position:relative;min-height:190px;border-radius:12px;overflow:hidden;background:#EDEDEF}
.rm-hero-media>img:first-child{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.rm-hero-media.is-empty{display:grid;place-items:center;color:#A1A1AA}
.rm-hero-media.is-empty .material-symbols-rounded{font-size:64px}
.rm-hero-logo{position:absolute;left:12px;bottom:12px;width:64px;height:64px;border-radius:12px;object-fit:cover;background:#fff;box-shadow:0 6px 18px rgba(0,0,0,.25)}
.rm-hero-info{min-width:0;display:flex;flex-direction:column;gap:10px;padding:4px 0}
.rm-crumbs{display:flex;align-items:center;gap:2px;font-size:13px;color:var(--mp-muted)}
.rm-crumbs a{color:inherit;text-decoration:none;font-weight:600}
.rm-crumbs a:hover{color:var(--mp-ink);text-decoration:underline}
.rm-crumbs .material-symbols-rounded{font-size:18px}
.rm-title{margin:0;font-size:clamp(24px,3vw,32px);font-weight:900;letter-spacing:-.03em;line-height:1.1}
.rm-title span{font-weight:600;color:var(--mp-muted)}
.rm-hero-line{display:flex;flex-wrap:wrap;align-items:center;gap:10px;font-size:14px;color:var(--mp-muted)}
.rm-facts{list-style:none;margin:4px 0 0;padding:0;display:flex;flex-wrap:wrap;gap:8px}
.rm-facts li{display:flex;align-items:center;gap:9px;padding:8px 14px 8px 8px;border:1px solid var(--mp-line);border-radius:12px}
.rm-facts li>span:last-child{display:flex;flex-direction:column;line-height:1.15}
.rm-facts strong{font-size:14px}
.rm-facts small{font-size:12px;color:var(--mp-muted)}
.rm-facts .mp-delivery,.rm-fact-icon{width:30px;height:30px;border-radius:8px}
.rm-fact-icon{display:grid;place-items:center;background:#EDEDEF;color:#52525B}
.rm-facts .material-symbols-rounded{font-size:18px}
.rm-hero-promos{display:flex;flex-wrap:wrap;gap:6px;margin-top:2px}
.rm-promo{display:inline-flex;align-items:center;gap:6px;padding:4px 10px 4px 5px;border-radius:7px;background:var(--p-bg);color:var(--p-fg);font-size:13px;font-weight:700}
.rm-promo .material-symbols-rounded{width:19px;height:19px;border-radius:50%;background:var(--p-fg);color:var(--p-bg);font-size:13px;display:grid;place-items:center;font-variation-settings:'FILL' 1,'wght' 700,'opsz' 20}

/* status + last order (legacy components, re-spaced) */
.rm-body .rm-status{margin:0 0 16px;border-radius:12px}
.rm-body .rm-last-order{margin:0 0 16px}

/* --- layout */
.rm-layout{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:24px;align-items:start}
.rm-main{min-width:0}

/* --- sticky tab bar */
.rm-tabs{position:sticky;top:68px;z-index:30;display:flex;align-items:center;gap:12px;padding:8px 8px 0 12px;margin-bottom:8px;background:var(--mp-surface);border-radius:0 0 12px 12px;box-shadow:0 1px 0 var(--mp-line)}
.rm-tabs::before{content:"";position:absolute;left:0;right:0;top:-20px;height:20px;background:var(--mp-bg)}
.rm-menu-search{flex:0 0 220px;display:flex;align-items:center;gap:6px;height:38px;margin-bottom:8px;padding:0 10px;border-radius:999px;background:#F1F1F3;border:1px solid transparent}
.rm-menu-search:focus-within{background:#fff;border-color:var(--mp-ink)}
.rm-menu-search .material-symbols-rounded{font-size:19px;color:var(--mp-muted)}
.rm-menu-search input{flex:1;min-width:0;border:0;outline:0;background:transparent;font:inherit;font-size:14px;color:var(--mp-ink)}
.rm-menu-search input::-webkit-search-cancel-button{display:none}
.rm-search-clear{border:0;background:none;padding:0;display:grid;place-items:center;cursor:pointer;color:var(--mp-muted)}
.rm-search-clear .material-symbols-rounded{font-size:18px}
.rm-tabs-rail{position:relative;flex:1;min-width:0;display:flex;align-items:stretch}
.rm-tabs-track{flex:1;min-width:0;display:flex;gap:4px;overflow-x:auto;scrollbar-width:none}
.rm-tabs-track::-webkit-scrollbar{display:none}
.rm-tab{flex:0 0 auto;display:inline-flex;align-items:center;gap:4px;height:46px;padding:0 12px;border:0;border-bottom:3px solid transparent;background:none;color:var(--mp-muted);font-size:14px;font-weight:600;white-space:nowrap;cursor:pointer;transition:color .12s,border-color .12s}
.rm-tab small{font-size:13px;font-weight:500}
.rm-tab:hover{color:var(--mp-ink)}
.rm-tab.active{color:var(--mp-ink);border-bottom-color:var(--mp-ink);font-weight:800}
.rm-tabs-arrow{position:absolute;top:6px;z-index:2;width:32px;height:32px;border-radius:50%;border:1px solid var(--mp-line);background:#fff;display:grid;place-items:center;cursor:pointer;box-shadow:0 2px 10px rgba(0,0,0,.12)}
.rm-tabs-arrow.prev{left:0}
.rm-tabs-arrow.next{right:0}
.rm-tabs-arrow .material-symbols-rounded{font-size:22px}

/* --- product sections */
.rm-section{padding-top:14px}
.rm-section-title{margin:0 0 12px;font-size:22px;font-weight:800;letter-spacing:-.02em}
.rm-section-title small{font-size:16px;font-weight:600;color:var(--mp-muted)}
.rm-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.rm-product{position:relative;background:var(--mp-surface);border-radius:12px;box-shadow:0 0 0 1px var(--mp-line);transition:box-shadow .15s}
.rm-product:hover{box-shadow:0 0 0 1px #C9C9CF,0 8px 20px rgba(24,24,27,.07)}
.rm-product.in-cart{box-shadow:0 0 0 2px var(--mp-ink)}
.rm-product-main{width:100%;display:grid;grid-template-columns:minmax(0,1fr) 128px;gap:14px;align-items:start;padding:14px;border:0;background:none;text-align:left;color:inherit;cursor:pointer;border-radius:12px;min-height:132px}
.rm-product-info{min-width:0;display:flex;flex-direction:column;gap:4px;padding-right:18px}
.rm-product-name{font-size:15px;font-weight:800;line-height:1.3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.rm-product-price{font-size:15px;font-weight:600}
.rm-product-price small{font-size:12px;font-weight:500;color:var(--mp-muted)}
.rm-product-desc{margin-top:4px;font-size:13px;line-height:1.4;color:var(--mp-muted);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.rm-product .product-status-badge{align-self:flex-start;margin-top:4px;padding:2px 8px;border-radius:999px;background:#FFF1E6;color:#C2410C;font-size:11px;font-weight:800}
.rm-product-media{position:relative;width:128px;height:104px;border-radius:9px;overflow:visible}
.rm-product-media .product-image{width:100%;height:100%;object-fit:cover;border-radius:9px;display:block;background:#F4F4F5}
.rm-product-media .product-image-default{object-fit:contain;padding:14px;background:#18181B}
.rm-product-add{position:absolute;right:-6px;bottom:-6px;width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:#fff;color:var(--mp-ink);box-shadow:0 2px 8px rgba(0,0,0,.22);font-weight:800;font-size:14px;transition:transform .12s}
.rm-product-add .material-symbols-rounded{font-size:22px}
.rm-product-add.has-qty{background:var(--mp-ink);color:#fff}
.rm-product-main:hover .rm-product-add{transform:scale(1.08)}
.rm-product-fav{position:absolute;top:8px;right:150px;width:28px;height:28px;border:0;border-radius:50%;background:transparent;color:#A1A1AA;display:grid;place-items:center;cursor:pointer;opacity:0;transition:opacity .12s}
.rm-product:hover .rm-product-fav,.rm-product-fav.active,.rm-product-fav:focus-visible{opacity:1}
.rm-product-fav.active{color:#E11D48}
.rm-product-fav .material-symbols-rounded{font-size:19px}
.rm-product-fav.active .material-symbols-rounded{font-variation-settings:'FILL' 1}
.rm-empty{display:flex;flex-direction:column;align-items:center;gap:6px;padding:56px 20px;margin-top:14px;background:var(--mp-surface);border-radius:12px;text-align:center;color:var(--mp-muted)}
.rm-empty>.material-symbols-rounded{font-size:46px;color:#A1A1AA}
.rm-empty strong{color:var(--mp-ink);font-size:17px}
.rm-legal{display:flex;gap:18px;padding:32px 2px 0;font-size:13px}
.rm-legal a{color:var(--mp-muted);text-decoration:none}
.rm-legal a:hover{color:var(--mp-ink)}

/* --- cart */
.rm-cart{position:sticky;top:84px}
.rm-cart-inner{display:flex;flex-direction:column;max-height:calc(100vh - 100px);background:var(--mp-surface);border-radius:var(--mp-radius);box-shadow:0 0 0 1px var(--mp-line);overflow:hidden}
.rm-cart-head{display:flex;align-items:center;gap:8px;padding:14px 16px 10px}
.rm-cart-head strong{font-size:18px;font-weight:800}
.rm-cart-count{min-width:22px;height:22px;padding:0 7px;border-radius:999px;background:var(--mp-ink);color:#fff;font-size:12px;font-weight:800;display:inline-grid;place-items:center}
.rm-icon-btn{width:34px;height:34px;border:0;border-radius:50%;background:#F1F1F3;display:grid;place-items:center;cursor:pointer;color:var(--mp-ink)}
.rm-icon-btn .material-symbols-rounded{font-size:19px}
#clearCartButton{margin-left:auto}
.rm-cart-close{display:none}
.rm-mode{display:grid;grid-template-columns:repeat(auto-fit,minmax(0,1fr));gap:4px;margin:0 16px 12px;padding:4px;border-radius:12px;background:#F1F1F3}
.rm-mode button{display:flex;flex-direction:column;align-items:center;gap:1px;padding:8px 6px;border:0;border-radius:9px;background:transparent;color:var(--mp-muted);cursor:pointer}
.rm-mode button strong{font-size:14px;font-weight:800}
.rm-mode button small{font-size:11.5px}
.rm-mode button.active{background:#fff;color:var(--mp-ink);box-shadow:0 1px 4px rgba(0,0,0,.12)}
.rm-min{margin:0 16px 10px;padding:10px 12px;border-radius:10px;background:#FFF7ED}
.rm-min-row{display:flex;justify-content:space-between;gap:8px;font-size:12.5px;font-weight:700;color:#9A3412}
.rm-min-bar{height:5px;margin-top:7px;border-radius:999px;background:#FED7AA;overflow:hidden}
.rm-min-bar span{display:block;height:100%;width:0;background:var(--mp-brand);border-radius:inherit;transition:width .25s}
.rm-min.complete{background:#ECFDF5}
.rm-min.complete .rm-min-row{color:#047857}
.rm-min.complete .rm-min-bar{background:#A7F3D0}
.rm-min.complete .rm-min-bar span{background:#059669}
.rm-cart-label{padding:4px 16px 6px;font-size:13px;font-weight:800;color:var(--mp-muted)}
.rm-cart-body{flex:1 1 auto;min-height:80px;overflow-y:auto;padding:0 16px;overscroll-behavior:contain;scrollbar-width:thin}
.rm-cart-empty{display:flex;flex-direction:column;align-items:center;gap:4px;padding:26px 8px 30px;text-align:center;color:var(--mp-muted);font-size:13px}
.rm-cart-empty .material-symbols-rounded{font-size:40px;color:#D4D4D8}
.rm-cart-empty strong{color:var(--mp-ink);font-size:15px}
.rm-line{display:grid;grid-template-columns:48px minmax(0,1fr);gap:10px;padding:12px 0;border-top:1px solid var(--mp-line);cursor:pointer}
.rm-line:first-child{border-top:0}
.rm-line:hover .rm-line-name{text-decoration:underline}
.rm-line-thumb{width:48px;height:48px;border-radius:8px;overflow:hidden;background:#F4F4F5}
.rm-line-thumb img{width:100%;height:100%;object-fit:cover}
.rm-line-thumb img.is-default{object-fit:contain;padding:8px;background:#18181B}
.rm-line-info{min-width:0}
.rm-line-name{font-size:14px;font-weight:800;line-height:1.3}
.rm-line-details{list-style:none;margin:4px 0 0;padding:0;display:flex;flex-direction:column;gap:2px;font-size:12px;color:var(--mp-muted)}
.rm-line-note{display:flex;align-items:center;gap:4px;margin-top:4px;font-size:12px;color:#92400E}
.rm-line-note .material-symbols-rounded{font-size:15px}
.rm-line-foot{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:8px}
.rm-line-price{font-size:14px}
.rm-qty{display:inline-flex;align-items:center;gap:2px;padding:2px;border:1px solid var(--mp-line);border-radius:999px}
.rm-qty button{width:28px;height:28px;border:0;border-radius:50%;background:none;display:grid;place-items:center;cursor:pointer;color:var(--mp-ink)}
.rm-qty button:hover{background:#F1F1F3}
.rm-qty .material-symbols-rounded{font-size:18px}
.rm-qty span{min-width:18px;text-align:center;font-size:14px;font-weight:800}
.rm-cart-bottom{padding:12px 16px 16px;border-top:1px solid var(--mp-line);display:flex;flex-direction:column;gap:5px}
.rm-sum{display:flex;justify-content:space-between;font-size:13px;color:var(--mp-muted)}
.rm-sum strong{color:var(--mp-ink);font-weight:600}
.rm-total{display:flex;justify-content:space-between;align-items:baseline;margin-top:4px;font-size:16px;font-weight:800}
.rm-total small{font-size:11px;font-weight:500;color:var(--mp-muted)}
.rm-total strong{font-size:18px}
.rm-checkout{margin-top:10px;height:50px;border:0;border-radius:12px;background:var(--mp-brand);color:var(--mp-brand-ink);display:flex;align-items:center;justify-content:center;gap:8px;font-size:15px;font-weight:900;letter-spacing:.01em;cursor:pointer;transition:filter .12s}
.rm-checkout:hover:not(:disabled){filter:brightness(.95)}
.rm-checkout:disabled{background:#E4E4E7;color:#A1A1AA;cursor:not-allowed}
.rm-checkout.loading{opacity:.7;pointer-events:none}
.rm-checkout .material-symbols-rounded{order:2;font-size:20px}

.rm-mobile-cart{display:none}
.rm-cart-scrim{display:none}

/* --- responsive */
@media (max-width:1080px){
  .rm-layout{grid-template-columns:minmax(0,1fr)}
  .rm-cart{position:fixed;inset:auto 0 0 0;top:auto;z-index:120;transform:translateY(105%);transition:transform .28s ease}
  .rm-cart.open{transform:none}
  .rm-cart-inner{max-height:86vh;border-radius:18px 18px 0 0;box-shadow:0 -12px 40px rgba(0,0,0,.2)}
  .rm-cart-close{display:grid}
  #clearCartButton{margin-left:auto}
  #clearCartButton.hidden+.rm-cart-close{margin-left:auto}
  .rm-cart-scrim{position:fixed;inset:0;z-index:110;background:rgba(24,24,27,.45);opacity:0;pointer-events:none;transition:opacity .2s;display:block}
  body:has(.rm-cart.open) .rm-cart-scrim{opacity:1;pointer-events:auto}
  body:has(.rm-cart.open){overflow:hidden!important}
  .rm-mobile-cart{position:fixed;left:16px;right:16px;bottom:max(14px,env(safe-area-inset-bottom));z-index:100;display:flex;align-items:center;gap:10px;height:54px;padding:0 18px;border:0;border-radius:14px;background:var(--mp-ink);color:#fff;font-size:14px;font-weight:700;box-shadow:0 10px 30px rgba(0,0,0,.3);cursor:pointer}
  .rm-mobile-cart strong{margin-left:auto;font-weight:900}
  .rm-mobile-cart.cart-empty{display:none}
  .rm-mobile-cart.cart-pop{animation:rmPop .45s ease}
  .rm-page{padding-bottom:110px}
}
@keyframes rmPop{40%{transform:scale(1.04)}}
@media (max-width:720px){
  .rm-header .mp-header-inner{height:60px;padding:0 12px;gap:8px;flex-wrap:nowrap}
  .rm-back span:last-child,.rm-header-link span:last-child,.rm-header .mp-account span:last-child{display:none}
  .rm-back,.rm-header-link{padding:0 9px}
  .rm-header .mp-brand-name{display:none}
  .rm-page{padding:0 0 110px}
  .rm-hero{grid-template-columns:1fr;gap:12px;padding:0 0 16px;border-radius:0}
  .rm-hero-media{min-height:170px;border-radius:0}
  .rm-hero-info{padding:0 16px}
  .rm-facts li{padding:6px 10px 6px 6px}
  .rm-body .rm-status,.rm-body .rm-last-order{margin:0 12px 12px}
  .rm-tabs{top:60px;flex-direction:column;align-items:stretch;gap:8px;padding:10px 12px 0;border-radius:0}
  .rm-tabs::before{display:none}
  .rm-menu-search{flex:0 0 auto;margin:0}
  .rm-tabs-arrow{display:none}
  .rm-products{padding:0 12px}
  .rm-grid{grid-template-columns:minmax(0,1fr);gap:10px}
  .rm-product-main{grid-template-columns:minmax(0,1fr) 104px;min-height:116px;padding:12px}
  .rm-product-media{width:104px;height:88px}
  .rm-product-fav{right:126px;opacity:1}
  .rm-section-title{font-size:19px}
  .rm-legal{padding:24px 12px 0}
}
@media (prefers-reduced-motion:reduce){
  .rm-cart,.rm-cart-scrim,.rm-product,.rm-product-add{transition:none}
}

/* --- fixes against legacy styles.css */
.rm-body a{color:inherit}
.rm-body #mobileCartCount{all:unset;font-size:14px;font-weight:700}
.rm-body #mobileCartCount::before,.rm-body #mobileCartCount::after{content:none!important;display:none!important}
.rm-mobile-cart #mobileCartCount{padding:3px 9px;border-radius:999px;background:rgba(255,255,255,.16)}
.rm-body .rm-product-media .product-image-default,.rm-line-thumb img.is-default{background:#F4F4F5;padding:14px;object-fit:contain}
.rm-line-thumb img.is-default{padding:8px}
.rm-body .rm-status{display:flex;align-items:center;gap:12px;padding:12px 16px;background:var(--mp-surface);box-shadow:0 0 0 1px var(--mp-line);border:0;min-height:0}
.rm-body .rm-status strong{font-size:14px}
.rm-body .rm-status small{font-size:12.5px}
.rm-mobile-cart #mobileCartCount,.rm-mobile-cart strong{white-space:nowrap}

/* Marketplace V2 restaurant detail – mobile style inspired by the marketplace */
.rm-mobile-hero-actions{display:none}
.rm-marketplace-details{max-width:1380px;margin:0 auto 14px;padding:0 20px;display:grid;gap:10px}
.rm-offer-rail{display:flex;gap:10px;overflow:auto;padding:2px 1px 4px;scrollbar-width:none}.rm-offer-rail::-webkit-scrollbar{display:none}
.rm-offer-ticket{flex:0 0 auto;display:flex;align-items:center;gap:8px;min-height:52px;padding:9px 14px;border:1px solid #eee;border-radius:13px;background:#fff;box-shadow:0 1px 5px rgba(0,0,0,.05);color:#161616}.rm-offer-ticket>.material-symbols-rounded{background:#e60012;color:#fff;border-radius:9px;padding:8px;font-size:20px}.rm-offer-ticket strong{font-size:14px}.rm-offer-ticket small{font-size:11px;color:#777}.rm-offer-ticket.is-visual>.material-symbols-rounded{background:#111}
.rm-payment-strip{display:flex;gap:10px;overflow:auto;scrollbar-width:none}.rm-payment-strip::-webkit-scrollbar{display:none}.rm-payment-strip>span{display:flex;align-items:center;gap:7px;flex:0 0 auto;padding:10px 13px;background:#f7f7f8;border-radius:10px;font-size:13px}.rm-payment-strip .material-symbols-rounded{font-size:20px}.rm-payment-strip small{color:#168f55;font-weight:800}.rm-payment-strip .rm-free-delivery{background:#ecfdf5;color:#166534}
.rm-bottom-nav{display:none}
.rm-hero-round{border:0;text-decoration:none;width:42px;height:42px;border-radius:50%;display:grid;place-items:center;background:rgba(255,255,255,.94);color:#18181b;box-shadow:0 3px 12px rgba(0,0,0,.18);cursor:pointer}.rm-hero-round.is-on{color:#e11d48}.rm-hero-round .material-symbols-rounded{font-size:25px}
.rm-promo.is-offer{font-weight:900}
@media(max-width:720px){
  .rm-header{display:none!important}
  .rm-page{padding-top:0!important;padding-bottom:148px!important}
  .rm-hero{margin:0!important;padding:0 0 10px!important;box-shadow:none!important}
  .rm-hero-media{height:285px;min-height:285px!important;position:relative}
  .rm-hero-media>img:not(.rm-hero-logo){width:100%;height:100%;object-fit:cover}
  .rm-hero-logo{left:15px!important;bottom:14px!important;width:64px!important;height:64px!important;border-radius:16px!important;border:3px solid #fff!important;box-shadow:0 5px 18px rgba(0,0,0,.18)}
  .rm-mobile-hero-actions{position:absolute;z-index:4;left:14px;right:14px;top:max(14px,env(safe-area-inset-top));display:flex;align-items:center;gap:9px}.rm-mobile-hero-actions .rm-hero-round:nth-child(2){margin-left:auto}.rm-mobile-hero-actions>a+.rm-hero-round:nth-child(2){margin-left:auto}
  .rm-hero-info{padding:4px 16px 2px!important}
  .rm-crumbs{display:none!important}.rm-title{font-size:25px!important;line-height:1.12;margin:7px 0 7px!important}.rm-title span{font-size:inherit!important}
  .rm-hero-line{gap:8px!important}.rm-rating{font-size:14px!important}.rm-cuisines{font-size:13px!important;color:#666}
  .rm-facts{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:0!important;margin:14px 0 0!important;border-top:1px solid #eee;border-bottom:1px solid #eee;padding:9px 0!important}
  .rm-facts li{border-radius:0!important;background:transparent!important;box-shadow:none!important;justify-content:center!important;text-align:center!important;padding:4px 6px!important;border-right:1px solid #e5e5e5}.rm-facts li:last-child{border-right:0}.rm-facts li>span:first-child{display:none!important}.rm-facts strong{font-size:13px!important}.rm-facts small{font-size:10px!important}
  .rm-hero-promos{display:none!important}
  .rm-marketplace-details{padding:0 14px;margin:0 auto 8px;gap:9px}.rm-offer-rail{margin-right:-14px;padding-right:14px}.rm-offer-ticket{max-width:290px;white-space:nowrap}.rm-payment-strip{margin-right:-14px;padding-right:14px}.rm-payment-strip>span{font-size:12px}
  .rm-body .rm-status,.rm-body .rm-last-order{margin-inline:14px!important}
  .rm-tabs{top:0!important;padding-top:10px!important;z-index:40!important}.rm-tabs-track{scroll-padding-left:12px}
  .rm-bottom-nav{position:fixed;z-index:96;left:0;right:0;bottom:0;height:72px;padding:7px 8px max(6px,env(safe-area-inset-bottom));display:grid;grid-template-columns:repeat(5,1fr);background:#fff;border-top:1px solid #e5e5e5;box-shadow:0 -6px 18px rgba(0,0,0,.05)}
  .rm-bottom-nav a,.rm-bottom-nav button{appearance:none;border:0;background:transparent;color:#a1a1aa;text-decoration:none;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;font:inherit;cursor:pointer}.rm-bottom-nav a:first-child{color:#111}.rm-bottom-nav .material-symbols-rounded{font-size:25px}.rm-bottom-nav small{font-size:10px;font-weight:700}
  .rm-mobile-cart{bottom:calc(82px + env(safe-area-inset-bottom))!important;z-index:99!important}
  .rm-cart{z-index:130!important}.rm-cart-scrim{z-index:125!important}
}
@media(max-width:440px){.rm-hero-media{height:245px;min-height:245px!important}.rm-facts{grid-template-columns:repeat(3,minmax(0,1fr))}.rm-facts li:nth-child(n+4){display:none!important}}


/* Restaurant/menu typography polish – Manrope */
.rm-title{font-weight:800;letter-spacing:-.035em}
.rm-title span{font-weight:500}
.rm-section-title{font-weight:800;letter-spacing:-.025em}
.rm-product-name,.rm-line-name{font-weight:700;letter-spacing:-.012em}
.rm-product-price,.rm-line-price{font-weight:600}

/* 2026-10-06 – popular products, touch/hover motion and faster paint */
@view-transition{navigation:auto}
.rm-section{content-visibility:auto;contain-intrinsic-size:1px 360px}
.rm-product,.rm-popular-product{transform:translateZ(0);backface-visibility:hidden;transition:transform .2s cubic-bezier(.2,.8,.2,1),box-shadow .2s ease}
.rm-product-media .product-image,.rm-popular-media .product-image{transition:transform .28s cubic-bezier(.2,.8,.2,1);transform:translateZ(0)}
@media (hover:hover){
  .rm-product:hover{transform:translateY(-2px);box-shadow:0 0 0 1px #C9C9CF,0 10px 24px rgba(24,24,27,.09)}
  .rm-product:hover .rm-product-media .product-image{transform:scale(1.06)}
  .rm-popular-product:hover{transform:translateY(-4px);box-shadow:0 10px 28px rgba(24,24,27,.13)}
  .rm-popular-product:hover .rm-popular-media .product-image{transform:scale(1.065)}
}
.rm-product.is-touch-hover,.rm-popular-product.is-touch-hover{transform:translateY(-3px) scale(1.01);box-shadow:0 10px 25px rgba(24,24,27,.12)}
.rm-product.is-touch-hover .rm-product-media .product-image,.rm-popular-product.is-touch-hover .rm-popular-media .product-image{transform:scale(1.06)}
.rm-product:active,.rm-popular-product:active{transform:scale(.988)}

.rm-popular-section{padding-top:8px;margin-bottom:8px}
.rm-popular-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px}
.rm-popular-head .rm-section-title{display:flex;align-items:center;gap:6px;margin:0}
.rm-popular-head .rm-section-title .material-symbols-rounded{color:#ff6b00;font-variation-settings:'FILL' 1;font-size:23px}
.rm-popular-head>small{color:var(--mp-muted);font-size:12px;font-weight:700}
.rm-popular-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.rm-popular-product{position:relative;background:#fff;border:1px solid var(--mp-line);border-radius:14px;overflow:hidden}
.rm-popular-main{display:flex;flex-direction:column;width:100%;height:100%;padding:0;border:0;background:transparent;text-align:left;cursor:pointer;color:inherit}
.rm-popular-media{position:relative;display:block;width:100%;aspect-ratio:1.18/1;overflow:hidden;background:#f4f4f5}
.rm-popular-media .product-image{width:100%;height:100%;object-fit:cover;display:block;background:#f4f4f5}
.rm-popular-media .product-image-default{object-fit:contain;padding:18px}
.rm-popular-media .rm-product-add{right:8px;bottom:8px}
.rm-popular-copy{display:flex;flex-direction:column;gap:4px;min-width:0;padding:10px 11px 12px}
.rm-popular-copy>strong{font-size:15px;line-height:1.2;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.rm-popular-price{font-size:14px;font-weight:700}
.rm-popular-price small{font-size:11px;color:var(--mp-muted);font-weight:600}
.rm-popular-copy>small{font-size:11.5px;line-height:1.3;color:var(--mp-muted);display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}

@media (max-width:900px){.rm-popular-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (max-width:720px){
  .rm-popular-section{padding-top:8px}
  .rm-popular-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
  .rm-popular-product{border-radius:11px}
  .rm-popular-copy{padding:8px 9px 9px}
  .rm-popular-copy>strong{font-size:13px}
  .rm-popular-price{font-size:12.5px}
  .rm-popular-copy>small{font-size:10px;-webkit-line-clamp:1}
}
@media (prefers-reduced-motion:reduce){
  .rm-product,.rm-popular-product,.rm-product-media .product-image,.rm-popular-media .product-image{transition:none!important;transform:none!important}
}

/* Micro-interactions: buttons stay fast while feeling tactile. */
.rm-header-link,.rm-hero-round,.rm-tab,.rm-product-main,.rm-popular-main,.rm-mobile-cart,.rm-cart-checkout,.rm-mode button,.rm-icon-btn{transition:transform .15s ease,background-color .15s ease,box-shadow .15s ease,color .15s ease}
.rm-header-link:active,.rm-hero-round:active,.rm-tab:active,.rm-product-main:active,.rm-popular-main:active,.rm-mobile-cart:active,.rm-cart-checkout:active,.rm-mode button:active,.rm-icon-btn:active{transform:scale(.97)}
.site-sheet-backdrop{transition:opacity .2s ease}

/* 2026-10-06 UI polish: long restaurant offers stay inside their tickets */
.rm-offer-ticket{min-width:0;max-width:min(360px,86vw);white-space:normal;align-items:flex-start}
.rm-offer-ticket strong{min-width:0;line-height:1.25;overflow-wrap:anywhere;word-break:normal}
.rm-offer-ticket small{flex:none;align-self:center;white-space:nowrap}
@media(max-width:720px){
  .rm-offer-ticket{max-width:82vw!important;white-space:normal!important;padding:9px 11px!important}
  .rm-offer-ticket>.material-symbols-rounded{flex:none}
  .rm-offer-ticket strong{display:block;max-width:100%;font-size:13px!important}
}


/* 2026-10-06 real fix: selected/in-cart products are green and never clipped */
.rm-product.in-cart,.rm-popular-product.in-cart{
  box-shadow:inset 0 0 0 2px #16a34a,0 5px 16px rgba(22,163,74,.09)!important;
  background:#f0fdf4!important;
}
.rm-product-add.has-qty{background:#16a34a!important;color:#fff!important;box-shadow:0 3px 10px rgba(22,163,74,.28)!important}
.rm-product.in-cart .rm-product-main,.rm-popular-product.in-cart .rm-popular-main{border-radius:inherit}

/* Offer/discount tickets stay inside the restaurant detail viewport. */
.rm-marketplace-details{min-width:0;overflow:hidden}
.rm-offer-rail{width:100%;max-width:100%;min-width:0;overflow-x:auto;overflow-y:hidden;padding:3px 2px 6px!important;margin-left:0!important;margin-right:0!important;scroll-padding-inline:2px}
.rm-offer-ticket{flex:0 0 auto!important;width:auto;max-width:min(340px,82vw)!important;min-width:0!important;white-space:normal!important;overflow:hidden!important;align-items:center!important}
.rm-offer-ticket strong{min-width:0!important;max-width:100%;display:-webkit-box!important;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden!important;overflow-wrap:anywhere;line-height:1.25}
.rm-offer-ticket small{flex:0 0 auto;white-space:nowrap}
.rm-hero-promos{min-width:0;max-width:100%;overflow:hidden}
.rm-promo{min-width:0;max-width:100%;white-space:normal;align-items:flex-start}
.rm-promo>span:last-child{min-width:0;overflow-wrap:anywhere;line-height:1.25}
@media(max-width:720px){
  .rm-marketplace-details{padding-inline:14px!important}
  .rm-offer-rail{margin-inline:0!important;padding-inline:0 2px!important}
  .rm-offer-ticket{max-width:calc(100vw - 42px)!important;padding:8px 10px!important;min-height:48px!important}
  .rm-offer-ticket strong{font-size:12.5px!important;-webkit-line-clamp:2}
}

/* Tap/focus should not draw the browser's black clipped outline. */
.rm-product-main:focus,.rm-popular-main:focus{outline:none!important}
.rm-product-main:focus-visible,.rm-popular-main:focus-visible{outline:none!important;box-shadow:inset 0 0 0 2px #16a34a!important;border-radius:inherit}

/* 2026-10-06 – canonical cart state: only the real category product card reflects cart selections. */
.rm-product.in-cart .rm-product-main{border-radius:12px 12px 0 0!important}
.rm-product>.product-cart-lines{
  border-top:1px solid #bbf7d0!important;
  background:#f7fff9!important;
  padding:8px 10px 10px!important;
  border-radius:0 0 12px 12px!important;
}
.rm-product>.product-cart-lines .product-cart-lines-title{
  display:flex!important;
  margin:0 2px 6px!important;
  color:#15803d!important;
  font-size:10px!important;
  font-weight:800!important;
  letter-spacing:.02em!important;
  text-transform:none!important;
}
.rm-product>.product-cart-lines .product-cart-line{
  position:relative!important;
  min-height:48px!important;
  margin-top:6px!important;
  padding:9px 48px 9px 11px!important;
  border:1px solid #d1fae5!important;
  border-radius:10px!important;
  background:#fff!important;
  box-shadow:none!important;
  cursor:pointer!important;
}
.rm-product>.product-cart-lines .product-cart-line:hover{
  border-color:#86efac!important;
  background:#f0fdf4!important;
  box-shadow:0 3px 10px rgba(22,163,74,.08)!important;
}
.rm-product>.product-cart-lines .product-cart-line:active{background:#dcfce7!important;transform:scale(.99)!important}
.rm-product>.product-cart-lines .product-cart-line-copy strong{
  color:#374151!important;
  font-size:12px!important;
  line-height:1.3!important;
  font-weight:650!important;
  display:-webkit-box!important;
  -webkit-line-clamp:2!important;
  -webkit-box-orient:vertical!important;
  overflow:hidden!important;
}
.rm-product>.product-cart-lines .product-cart-line-copy small{
  display:block!important;
  margin-top:2px!important;
  color:#6b7280!important;
  font-size:9.5px!important;
  font-weight:600!important;
}
.rm-product>.product-cart-lines .product-cart-line-qty{
  position:absolute!important;
  right:10px!important;
  top:50%!important;
  transform:translateY(-50%)!important;
  min-width:28px!important;
  width:auto!important;
  height:28px!important;
  padding:0 7px!important;
  border-radius:999px!important;
  background:#16a34a!important;
  color:#fff!important;
  font-size:12px!important;
  font-weight:850!important;
}
/* Popular cards stay neutral even when the same product is already in the cart. */
.rm-popular-product{background:var(--mp-surface)!important;box-shadow:0 0 0 1px var(--mp-line)!important}
.rm-popular-product .rm-product-add{background:#fff!important;color:var(--mp-ink)!important}

@media(max-width:720px){
  .rm-product>.product-cart-lines{padding:7px 8px 8px!important}
  .rm-product>.product-cart-lines .product-cart-lines-title{margin-bottom:5px!important;font-size:9.5px!important}
  .rm-product>.product-cart-lines .product-cart-line{min-height:44px!important;padding:8px 44px 8px 10px!important;border-radius:9px!important}
  .rm-product>.product-cart-lines .product-cart-line-copy strong{font-size:11.5px!important;-webkit-line-clamp:2!important}
  .rm-product>.product-cart-lines .product-cart-line-copy small{font-size:9px!important}
  .rm-product>.product-cart-lines .product-cart-line-qty{right:9px!important;height:26px!important;min-width:26px!important;font-size:11.5px!important}
}

/* 2026-10-06 – Castello-style mobile restaurant menu layout
   Reference: pill category tabs, clean one-column product rows, selected variants nested below the product. */
@media (max-width:720px){
  /* Category tabs: horizontal rounded pills, active tab dark like the reference. */
  .rm-tabs{
    gap:8px!important;
    padding:9px 12px 8px!important;
    margin-bottom:0!important;
    background:#fff!important;
    box-shadow:0 1px 0 #ececef!important;
  }
  .rm-tabs-rail{margin-inline:-2px}
  .rm-tabs-track{
    gap:10px!important;
    padding:1px 2px 3px!important;
    scroll-padding-inline:8px!important;
  }
  .rm-tab{
    height:44px!important;
    padding:0 18px!important;
    border:0!important;
    border-radius:999px!important;
    background:transparent!important;
    color:#303036!important;
    font-size:16px!important;
    font-weight:800!important;
    letter-spacing:-.01em!important;
    box-shadow:none!important;
  }
  .rm-tab small{display:none!important}
  .rm-tab.active{
    background:#222225!important;
    color:#fff!important;
    border:0!important;
    box-shadow:0 2px 7px rgba(0,0,0,.12)!important;
  }
  .rm-tab:active{transform:scale(.98)!important}

  /* Product area: clean single-column menu like the Castello layout. */
  .rm-products{padding:0 18px!important;background:#fff!important}
  .rm-section{padding-top:16px!important}
  .rm-section-title{
    margin:0 0 4px!important;
    padding:0 2px 4px!important;
    font-size:21px!important;
    line-height:1.2!important;
    font-weight:900!important;
    letter-spacing:-.025em!important;
  }
  .rm-grid{display:block!important}
  .rm-product{
    margin:0!important;
    padding:0!important;
    border:0!important;
    border-bottom:1px solid #e8e8eb!important;
    border-radius:0!important;
    background:#fff!important;
    box-shadow:none!important;
    overflow:visible!important;
    transform:none!important;
  }
  .rm-product:hover,.rm-product.is-touch-hover,.rm-product.in-cart{
    background:#fff!important;
    box-shadow:none!important;
    transform:none!important;
  }
  .rm-product-main{
    grid-template-columns:minmax(0,1fr) 118px!important;
    gap:15px!important;
    min-height:150px!important;
    padding:18px 5px 17px 3px!important;
    border-radius:0!important;
    align-items:center!important;
  }
  .rm-product-info{
    gap:4px!important;
    padding-right:0!important;
    justify-content:center!important;
  }
  .rm-product-name{
    order:1!important;
    font-size:17px!important;
    line-height:1.24!important;
    font-weight:850!important;
    white-space:normal!important;
    overflow:visible!important;
    text-overflow:clip!important;
    display:-webkit-box!important;
    -webkit-box-orient:vertical!important;
    -webkit-line-clamp:2!important;
  }
  .rm-product-desc{
    order:2!important;
    margin-top:1px!important;
    color:#737378!important;
    font-size:14px!important;
    line-height:1.32!important;
    -webkit-line-clamp:2!important;
  }
  .rm-product-price{
    order:3!important;
    margin-top:3px!important;
    font-size:17px!important;
    line-height:1.2!important;
    font-weight:850!important;
    color:#2f2f33!important;
  }
  .rm-product .product-status-badge{order:4!important}
  .rm-product-media{
    width:118px!important;
    height:112px!important;
    border-radius:15px!important;
  }
  .rm-product-media .product-image{
    border-radius:15px!important;
    box-shadow:0 1px 5px rgba(0,0,0,.08)!important;
  }
  .rm-product-main:hover .rm-product-media .product-image,
  .rm-product.is-touch-hover .rm-product-media .product-image{transform:scale(1.045)!important}
  .rm-product-add{
    right:7px!important;
    bottom:-10px!important;
    width:43px!important;
    height:43px!important;
    border:1px solid #e1e1e4!important;
    background:#fff!important;
    color:#2d2d30!important;
    box-shadow:0 3px 10px rgba(0,0,0,.17)!important;
    font-size:15px!important;
  }
  .rm-product-add .material-symbols-rounded{font-size:28px!important;font-weight:700!important}
  .rm-product-add.has-qty{
    background:#16a34a!important;
    border-color:#16a34a!important;
    color:#fff!important;
  }
  .rm-product-fav{display:none!important}

  /* Variants already in the basket: nested cards under the exact product row. */
  .rm-product.in-cart .rm-product-main{border-radius:0!important}
  .rm-product>.product-cart-lines{
    margin:-2px 0 14px!important;
    padding:0 2px!important;
    border:0!important;
    border-radius:0!important;
    background:transparent!important;
  }
  .rm-product>.product-cart-lines .product-cart-lines-title{display:none!important}
  .rm-product>.product-cart-lines .product-cart-line{
    display:flex!important;
    align-items:center!important;
    min-height:60px!important;
    margin:9px 0 0!important;
    padding:12px 58px 12px 14px!important;
    border:0!important;
    border-radius:16px!important;
    background:#f5f2ed!important;
    box-shadow:none!important;
  }
  .rm-product>.product-cart-lines .product-cart-line:first-of-type{margin-top:0!important}
  .rm-product>.product-cart-lines .product-cart-line:hover,
  .rm-product>.product-cart-lines .product-cart-line:active{
    background:#eeeae3!important;
    box-shadow:none!important;
    transform:none!important;
  }
  .rm-product>.product-cart-lines .product-cart-line-copy strong{
    display:block!important;
    color:#505055!important;
    font-size:14px!important;
    line-height:1.32!important;
    font-weight:700!important;
    -webkit-line-clamp:2!important;
  }
  .rm-product>.product-cart-lines .product-cart-line-copy small{display:none!important}
  .rm-product>.product-cart-lines .product-cart-line-qty{
    right:13px!important;
    height:34px!important;
    min-width:44px!important;
    padding:0 10px!important;
    border-radius:999px!important;
    background:#16a34a!important;
    color:#fff!important;
    font-size:14px!important;
    font-weight:900!important;
    box-shadow:0 2px 7px rgba(22,163,74,.2)!important;
  }

  /* Popular remains the special 2-column category requested earlier. */
  .rm-popular-section{
    margin-bottom:10px!important;
    padding-top:15px!important;
    border-bottom:1px solid #e8e8eb!important;
    padding-bottom:18px!important;
  }
  .rm-popular-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
}


/* 2026-10-06 – exact Castello v97/v99/v104-inspired menu density
   Normal menu rows: ~5 visible on a phone; Popular stays 2 columns. */
@media (max-width:820px){
  /* Castello white horizontal category rail with black selected pill. */
  .rm-tabs{
    gap:0!important;
    padding:7px 10px 7px!important;
    margin:0!important;
    background:#fff!important;
    box-shadow:0 1px 0 #EDEDED!important;
  }
  .rm-tabs-rail{margin:0!important}
  .rm-tabs-track{
    gap:9px!important;
    padding:1px 0 2px!important;
    scroll-padding-inline:4px!important;
  }
  .rm-tab{
    height:42px!important;
    min-height:42px!important;
    padding:0 17px!important;
    border:0!important;
    border-radius:999px!important;
    background:#fff!important;
    color:#454545!important;
    font-size:15.5px!important;
    line-height:1!important;
    font-weight:800!important;
    box-shadow:none!important;
  }
  .rm-tab.active{
    background:#222!important;
    color:#fff!important;
    border:0!important;
    box-shadow:none!important;
  }

  /* Pure-white list, compact like Castello v97 but slightly denser (~5 rows). */
  .rm-products{padding:0 14px!important;background:#fff!important}
  .rm-section{padding-top:8px!important}
  .rm-section-title{
    margin:7px 0 3px!important;
    padding:0 0 3px!important;
    font-size:18px!important;
    line-height:1.15!important;
    font-weight:900!important;
    color:#171717!important;
  }
  .rm-grid{display:block!important}
  .rm-product{
    width:100%!important;
    margin:0!important;
    padding:0!important;
    border:0!important;
    border-bottom:1px solid #ECECEC!important;
    border-radius:0!important;
    background:#fff!important;
    box-shadow:none!important;
    overflow:visible!important;
    transform:none!important;
  }
  .rm-product:hover,.rm-product.is-touch-hover,.rm-product:active{
    background:#fff!important;
    box-shadow:none!important;
    transform:none!important;
  }
  .rm-product-main{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) 84px!important;
    gap:11px!important;
    align-items:center!important;
    min-height:103px!important;
    padding:8px 7px 8px 0!important;
    border-radius:0!important;
    background:#fff!important;
  }
  .rm-product-info{
    min-height:84px!important;
    gap:2px!important;
    padding-right:0!important;
    display:flex!important;
    flex-direction:column!important;
    justify-content:center!important;
  }
  .rm-product-name{
    order:1!important;
    font-size:14.3px!important;
    line-height:1.18!important;
    font-weight:900!important;
    letter-spacing:-.012em!important;
    white-space:normal!important;
    display:-webkit-box!important;
    -webkit-box-orient:vertical!important;
    -webkit-line-clamp:2!important;
    overflow:hidden!important;
  }
  .rm-product-desc{
    order:2!important;
    margin-top:2px!important;
    font-size:10.8px!important;
    line-height:1.22!important;
    color:#757575!important;
    display:-webkit-box!important;
    -webkit-box-orient:vertical!important;
    -webkit-line-clamp:2!important;
    overflow:hidden!important;
  }
  .rm-product-price{
    order:3!important;
    margin-top:4px!important;
    font-size:15.4px!important;
    line-height:1.08!important;
    font-weight:900!important;
    color:#333!important;
  }
  .rm-product-price small{font-size:8.5px!important;font-weight:800!important}
  .rm-product .product-status-badge{order:4!important;margin-top:2px!important}

  .rm-product-media{
    position:relative!important;
    width:84px!important;
    height:84px!important;
    min-width:84px!important;
    overflow:visible!important;
    border-radius:13px!important;
    padding:1px!important;
    background:#E9E3DB!important;
  }
  .rm-product-media .product-image{
    width:100%!important;
    height:100%!important;
    min-height:0!important;
    display:block!important;
    object-fit:cover!important;
    border-radius:12px!important;
    background:#fff!important;
    box-shadow:none!important;
  }
  .rm-product-media .product-image-default{
    object-fit:contain!important;
    padding:9px!important;
    background:#fff!important;
    opacity:1!important;
  }
  .rm-product-main:hover .rm-product-media .product-image,
  .rm-product.is-touch-hover .rm-product-media .product-image{
    transform:scale(1.035)!important;
  }
  .rm-product-add,
  .rm-product-add.has-qty{
    right:4px!important;
    bottom:4px!important;
    width:34px!important;
    height:34px!important;
    border-radius:50%!important;
    border:1px solid #E7E1DA!important;
    background:#fff!important;
    color:#353535!important;
    box-shadow:0 4px 10px rgba(0,0,0,.14)!important;
    display:grid!important;
    place-items:center!important;
    transform:none!important;
    font-size:0!important;
  }
  .rm-product-add .material-symbols-rounded{
    font-size:24px!important;
    line-height:1!important;
    font-weight:400!important;
    color:#3A3A3A!important;
  }
  .rm-product-fav{display:none!important}

  /* Castello v104 compact selected-variant cards. */
  .rm-product>.product-cart-lines{
    margin:0!important;
    padding:0 7px 8px 0!important;
    border:0!important;
    border-radius:0!important;
    background:#fff!important;
  }
  .rm-product>.product-cart-lines .product-cart-lines-title{display:none!important}
  .rm-product>.product-cart-lines .product-cart-line{
    position:relative!important;
    display:flex!important;
    align-items:center!important;
    min-height:48px!important;
    margin:5px 0 0!important;
    padding:8px 43px 8px 11px!important;
    border:0!important;
    border-radius:12px!important;
    background:#F6F3EE!important;
    box-shadow:none!important;
    transform:none!important;
  }
  .rm-product>.product-cart-lines .product-cart-line:hover,
  .rm-product>.product-cart-lines .product-cart-line:active{
    background:#EFEAE3!important;
    box-shadow:none!important;
    transform:none!important;
  }
  .rm-product>.product-cart-lines .product-cart-line-copy{gap:0!important;min-width:0!important}
  .rm-product>.product-cart-lines .product-cart-line-copy strong{
    display:-webkit-box!important;
    -webkit-box-orient:vertical!important;
    -webkit-line-clamp:2!important;
    overflow:hidden!important;
    color:#4B4B4B!important;
    font-size:12px!important;
    line-height:1.28!important;
    font-weight:500!important;
  }
  .rm-product>.product-cart-lines .product-cart-line-copy small{display:none!important}
  .rm-product>.product-cart-lines .product-cart-line-qty{
    position:absolute!important;
    right:10px!important;
    top:50%!important;
    transform:translateY(-50%)!important;
    width:auto!important;
    min-width:30px!important;
    height:26px!important;
    padding:0 8px!important;
    border-radius:999px!important;
    background:#222!important;
    color:#fff!important;
    box-shadow:none!important;
    display:grid!important;
    place-items:center!important;
    font-size:12.5px!important;
    line-height:1!important;
    font-weight:900!important;
  }

  /* Popular remains the requested 2-column category and does not inherit list-row rules. */
  .rm-popular-section{padding-top:10px!important;padding-bottom:13px!important;margin-bottom:5px!important}
  .rm-popular-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important}

  /* Castello orange floating cart button with black item-count bubble. */
  .rm-mobile-cart{
    left:20px!important;
    right:20px!important;
    bottom:calc(82px + env(safe-area-inset-bottom))!important;
    height:58px!important;
    padding:0 16px!important;
    gap:9px!important;
    border-radius:999px!important;
    background:var(--mp-brand,#FF7A00)!important;
    color:#fff!important;
    box-shadow:0 12px 30px rgba(255,122,0,.26)!important;
    font-size:14px!important;
    font-weight:800!important;
  }
  .rm-mobile-cart-icon{font-size:25px!important}
  .rm-body #mobileCartCount.rm-mobile-cart-count,
  .rm-mobile-cart-count{
    all:unset!important;
    flex:0 0 auto!important;
    min-width:34px!important;
    height:34px!important;
    padding:0 6px!important;
    border-radius:999px!important;
    background:#222!important;
    color:#fff!important;
    display:grid!important;
    place-items:center!important;
    font-size:15px!important;
    line-height:1!important;
    font-weight:900!important;
    font-variant-numeric:tabular-nums!important;
  }
  .rm-mobile-cart-label{
    margin:0!important;
    flex:1!important;
    text-align:center!important;
    font-size:17px!important;
    line-height:1!important;
    font-weight:900!important;
    white-space:nowrap!important;
  }
  .rm-mobile-cart-total{
    margin:0!important;
    flex:0 0 auto!important;
    font-size:15px!important;
    line-height:1!important;
    font-weight:900!important;
    white-space:nowrap!important;
    font-variant-numeric:tabular-nums!important;
  }
}

@media (max-width:390px){
  .rm-product-main{grid-template-columns:minmax(0,1fr) 78px!important;min-height:99px!important;gap:9px!important}
  .rm-product-media{width:78px!important;height:78px!important;min-width:78px!important}
  .rm-product-name{font-size:13.8px!important}
  .rm-product-desc{font-size:10.4px!important}
  .rm-product-price{font-size:15px!important}
  .rm-mobile-cart{left:14px!important;right:14px!important;padding-inline:13px!important}
  .rm-mobile-cart-label{font-size:16px!important}
  .rm-mobile-cart-total{font-size:14px!important}
}

/* Paket 2: Allergene + Menü-Zeiten */
.rm-allergens{display:flex;flex-wrap:wrap;gap:3px;margin-top:5px}
.rm-allergen{display:inline-grid;place-items:center;width:22px;height:22px;border-radius:7px;background:#f4f4f5;font-size:13px;line-height:1}
.popup-allergens{display:grid;gap:6px;margin-top:10px}
.popup-allergens strong{font-size:12px;letter-spacing:.04em;text-transform:uppercase;color:#71717a}
.popup-allergens>div{display:flex;flex-wrap:wrap;gap:6px}
.popup-allergen{display:inline-flex;align-items:center;gap:5px;padding:4px 9px;border-radius:999px;background:#f4f4f5;font-size:12.5px;font-weight:600}
.rm-section-hours{display:inline-flex;align-items:center;gap:4px;margin-left:8px;padding:3px 9px;border-radius:999px;background:#fff7ed;color:#9a3412;font-size:12px;font-weight:700;vertical-align:middle}
.rm-section-hours .material-symbols-rounded{font-size:14px}
/* Paket 5 – Überraschungstüte */
.rm-surprise{order:5;display:flex;flex-direction:column;gap:3px;margin-top:6px;padding:7px 9px;border-radius:10px;background:#ECFDF5;color:#065F46;font-size:12px;font-weight:700;line-height:1.3;align-self:stretch}
.rm-surprise-row{display:flex;flex-wrap:wrap;align-items:center;gap:4px}
.rm-surprise .material-symbols-rounded{font-size:15px}
.rm-surprise s{opacity:.75;font-weight:600}
.rm-surprise-left{background:#065F46;color:#fff;border-radius:999px;padding:1px 7px;font-size:11px}
.rm-qty button:disabled,.rm-qty button.is-capped{color:#D1D5DB;cursor:not-allowed;background:none}
/* Gratis-Produkt im Warenkorb: nur Text, kein Mengenregler */
.rm-line-free{cursor:default;background:#F0FDF4;border-radius:14px}
.rm-line-free-icon{display:grid;place-items:center;background:#DCFCE7;color:#15803D}
.rm-line-free-icon .material-symbols-rounded{font-size:26px}
.rm-free-label{color:#15803D;font-weight:900}
.rm-line-free .rm-line-price{color:#15803D;font-size:12.5px}
.rm-free-remove{width:30px;height:30px;border:0;border-radius:50%;background:#fff;display:grid;place-items:center;cursor:pointer;color:#6B7280;box-shadow:0 0 0 1px #E5E7EB}
.rm-free-remove .material-symbols-rounded{font-size:18px}
/* Restaurant-Rabatt */
.rm-disc-old{color:#9CA3AF;font-weight:600;margin-right:2px}
.rm-disc-price{color:#DC2626;font-weight:900}
.rm-disc-pill{display:inline-block;padding:1px 7px;border-radius:999px;background:#DC2626;color:#fff;font-size:11.5px;font-weight:900;vertical-align:middle;letter-spacing:.01em}
.rm-disc-banner{display:flex;align-items:center;gap:8px;margin:10px 0 4px;padding:10px 12px;border-radius:14px;background:#FEF2F2;color:#991B1B;font-weight:800;font-size:13.5px}
.rm-disc-banner .material-symbols-rounded{color:#DC2626}
/* Rabatt-Etiketten (seitlich wischbar) + Popup */
.rm-disc-rail{display:flex;gap:8px;overflow-x:auto;scroll-snap-type:x proximity;padding:10px 2px 6px;margin:0 -2px;scrollbar-width:none;-webkit-overflow-scrolling:touch}
.rm-disc-rail::-webkit-scrollbar{display:none}
.rm-disc-chip{flex:none;scroll-snap-align:start;display:flex;align-items:center;gap:8px;max-width:82vw;padding:8px 6px 8px 10px;border:1.5px solid #FECACA;border-radius:14px;background:#FEF2F2;color:#7F1D1D;font:inherit;cursor:pointer;text-align:left}
.rm-disc-chip:active{transform:scale(.98)}
.rm-disc-chip-icon{color:#DC2626;font-size:20px}
.rm-disc-chip-copy{display:flex;flex-direction:column;min-width:0}
.rm-disc-chip-copy strong{font-size:13.5px;font-weight:900;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.rm-disc-chip-copy small{font-size:11.5px;color:#B91C1C;font-weight:700}
.rm-disc-chip-go{flex:none;width:30px;height:30px;border-radius:50%;background:#DC2626;color:#fff;display:grid;place-items:center;font-size:20px}
body.rm-disc-lock{overflow:hidden}
.rm-disc-popup{position:fixed;inset:0;z-index:9500;display:flex;align-items:flex-end;justify-content:center;background:rgba(17,24,39,0);transition:background .2s}
.rm-disc-popup.open{background:rgba(17,24,39,.5)}
.rm-disc-popup-card{width:100%;max-width:520px;max-height:82vh;display:flex;flex-direction:column;background:#fff;border-radius:22px 22px 0 0;transform:translateY(100%);transition:transform .25s cubic-bezier(.2,.8,.2,1);padding-bottom:env(safe-area-inset-bottom)}
.rm-disc-popup.open .rm-disc-popup-card{transform:none}
@media(min-width:720px){.rm-disc-popup{align-items:center}.rm-disc-popup-card{border-radius:22px}}
.rm-disc-popup-head{display:flex;align-items:center;gap:10px;padding:16px 14px 10px;border-bottom:1px solid #F3F4F6}
.rm-disc-popup-head>div{flex:1;min-width:0;display:flex;flex-direction:column}
.rm-disc-popup-head strong{font-size:17px;font-weight:900}
.rm-disc-popup-head small{color:#6B7280;font-weight:700}
.rm-disc-popup-badge{width:38px;height:38px;border-radius:12px;background:#DC2626;color:#fff;display:grid;place-items:center}
.rm-disc-popup-close{width:36px;height:36px;border-radius:50%;border:0;background:#F3F4F6;display:grid;place-items:center;cursor:pointer}
.rm-disc-popup-list{overflow:auto;padding:8px 10px 14px;display:flex;flex-direction:column;gap:6px}
.rm-disc-popup-item{display:flex;align-items:center;gap:12px;padding:8px;border:0;border-radius:14px;background:#fff;text-align:left;font:inherit;cursor:pointer}
.rm-disc-popup-item:hover{background:#F9FAFB}
.rm-disc-popup-item .product-image{width:64px;height:64px;border-radius:12px;object-fit:cover;flex:none}
.rm-disc-popup-copy{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.rm-disc-popup-copy strong{font-weight:800}
.rm-disc-popup-copy small{color:#6B7280;font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.rm-disc-popup-add{width:34px;height:34px;border-radius:50%;background:#111827;color:#fff;display:grid;place-items:center;flex:none}
.rm-offer-ticket.is-discount{display:inline-flex;align-items:center;gap:8px;border:1.5px solid #FECACA;background:#FEF2F2;color:#7F1D1D;font:inherit;cursor:pointer;padding-right:5px}
.rm-offer-ticket.is-discount>.material-symbols-rounded:first-child{color:#DC2626}
.rm-offer-ticket.is-discount strong{white-space:nowrap}
.rm-offer-ticket.is-discount .rm-disc-chip-go{width:26px;height:26px;font-size:18px}
.rm-disc-popup-thumb{width:64px;height:64px;flex:none;border-radius:12px;overflow:hidden;background:#F3F4F6;display:block}
.rm-disc-popup-thumb img{width:100%!important;height:100%!important;object-fit:cover;display:block;max-width:none!important}
