.restaurant-discovery-card{position:relative;min-width:0;margin-bottom:18px;padding:10px;border:1px solid var(--border);border-radius:20px;background:var(--surface);box-shadow:0 5px 18px #1024470a}
.restaurant-discovery-card>.restaurant-preview-track{padding-bottom:0;border-radius:14px}
.restaurant-discovery-card .restaurant-card{display:grid;grid-template-columns:52px minmax(0,1fr);align-items:center;border:0;border-radius:0;background:transparent;box-shadow:none;padding:8px 2px;color:var(--text)}
.restaurant-discovery-card>.restaurant-card{padding-bottom:12px;margin-bottom:7px;border-bottom:1px solid var(--border)}
.restaurant-discovery-card .restaurant-cover{width:46px;height:46px;min-height:0;border-radius:12px;overflow:hidden;background:var(--surface-muted)}
.restaurant-discovery-card .restaurant-cover :is(i,.restaurant-rank-badge){display:none}
.restaurant-discovery-card .restaurant-card-copy{padding:0 58px 0 10px;gap:3px;position:relative}
.restaurant-discovery-card .restaurant-card-copy::after{content:'›';position:absolute;right:38px;top:12px;font-size:26px;color:var(--muted)}
.restaurant-discovery-card .restaurant-card-copy b{font-size:15px}.restaurant-discovery-card .restaurant-card-copy small{font-size:11px}.restaurant-discovery-card .restaurant-card-copy em{font-size:11px;margin:0}
.restaurant-card-copy .restaurant-delivery-estimate,.customer-search-restaurant__copy .restaurant-delivery-estimate{display:inline-flex;width:fit-content;align-items:center;border-radius:999px;background:#edf4ff;color:#1747a9;font-size:11px;font-weight:800;line-height:1.25;padding:4px 7px}
.restaurant-detail-hero .restaurant-delivery-estimate{display:inline-flex;margin:4px 0 6px;border-radius:999px;background:#fffffff0;color:#1747a9;font-size:12px;font-weight:800;padding:5px 9px}
.checkout-estimated-row strong{color:#1747a9}.checkout-estimated-row[hidden]{display:none!important}
html[data-theme="dark"] .restaurant-card-copy .restaurant-delivery-estimate,html[data-theme="dark"] .customer-search-restaurant__copy .restaurant-delivery-estimate{background:#172b55;color:#d9e8ff}
.restaurant-favorite-card-button,.restaurant-favorites-filter{align-items:center;border:1px solid #c8d8fb;border-radius:50%;color:#265bd8;display:grid;justify-content:center;position:relative;transition:background .18s ease,border-color .18s ease,color .18s ease,transform .18s ease}.restaurant-favorite-card-button svg,.restaurant-favorites-filter svg{fill:none;height:19px;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:2;width:19px}.restaurant-favorite-card-button{background:#f8fbff;height:34px;position:absolute;right:14px;top:15px;width:34px;z-index:2}.restaurant-favorite-card-button:hover,.restaurant-favorite-card-button:focus-visible,.restaurant-favorites-filter:hover,.restaurant-favorites-filter:focus-visible{background:#fff0f4;border-color:#f7a8ba;color:#df3f66;outline:0;transform:translateY(-1px)}.restaurant-favorite-card-button.is-favorite,.restaurant-favorites-filter.is-active{background:linear-gradient(135deg,#ff6b62,#e9366e);border-color:#e9366e;color:#fff;box-shadow:0 7px 15px #e9366e36}.restaurant-favorite-card-button.is-favorite svg,.restaurant-favorites-filter.is-active svg{fill:currentColor}.restaurant-favorite-card-button[aria-busy="true"]{opacity:.62;pointer-events:none}.restaurant-favorites-filter{background:#f7fbff;height:38px;width:38px}.restaurant-favorites-filter.hidden{display:none}.restaurant-favorites-count{align-items:center;background:#ef3e62;border:2px solid #fff;border-radius:999px;color:#fff;display:grid;font-size:9px;font-style:normal;font-weight:900;height:17px;justify-content:center;line-height:1;min-width:17px;padding:0 3px;position:absolute;right:-5px;top:-5px}.restaurant-favorites-count.hidden{display:none}.restaurant-favorites-empty>span{color:#df3f66;font-size:42px}.restaurant-favorites-empty button{background:linear-gradient(135deg,#2868ee,#5737dc);border:0;border-radius:12px;color:#fff;font-weight:800;margin-top:5px;padding:10px 14px}
.restaurant-preview-track{display:flex;gap:9px;overflow-x:auto;scroll-snap-type:x proximity;overscroll-behavior-inline:contain;scrollbar-width:none;padding:3px 0 5px}.restaurant-preview-track::-webkit-scrollbar{display:none}
.restaurant-preview-dish{position:relative;flex:0 0 76%;min-width:0;scroll-snap-align:start;border-radius:14px;overflow:hidden;background:var(--surface)}
.restaurant-preview-dish>button:first-child{display:block;border:0;padding:0;width:100%;text-align:left;cursor:pointer;background:var(--surface);color:var(--text)}
.restaurant-preview-dish img{width:100%;height:132px;object-fit:cover;display:block}.restaurant-preview-dish span{position:absolute;left:7px;right:40px;top:7px;display:flex;gap:5px;align-items:center;width:fit-content;max-width:calc(100% - 47px);padding:5px 7px;border-radius:8px;background:var(--surface);color:var(--text);font-size:11px}.restaurant-preview-dish span b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.restaurant-preview-dish span strong{white-space:nowrap}
.dish-quick-add{position:absolute;right:7px;top:7px;border:0;border-radius:50%;background:var(--surface);color:var(--primary);width:30px;height:30px;font-size:23px;cursor:pointer}
html[data-customer-view="restaurant"] .restaurant-sponsored{margin-bottom:12px}html[data-customer-view="restaurant"] .restaurant-ad{height:130px;border-radius:14px}html[data-customer-view="restaurant"] .restaurant-ad-copy{left:14px;bottom:12px;right:25px}html[data-customer-view="restaurant"] .restaurant-ad-copy b{font-size:19px}html[data-customer-view="restaurant"] .restaurant-ad-copy span{font-size:11px}html[data-customer-view="restaurant"] .restaurant-ad-track{scrollbar-width:none}html[data-customer-view="restaurant"] .restaurant-ad-track::-webkit-scrollbar{display:none}
#restaurant-dish-dialog{border:1px solid var(--border);border-radius:22px;background:var(--surface);color:var(--text);padding:0;width:min(520px,calc(100% - 24px));max-height:90dvh;overflow-y:auto}#restaurant-dish-dialog::backdrop{background:#0009}.dish-close{position:absolute;right:12px;top:12px;z-index:2;border:0;border-radius:50%;width:34px;height:34px;font-size:25px;background:var(--surface);color:var(--text)}.dish-hero{width:100%;height:210px;object-fit:cover}.dish-dialog-copy{padding:18px}.dish-dialog-copy h2{margin:0 0 9px;font-size:23px}.dish-dialog-copy p{color:var(--muted);line-height:1.5}.dish-dialog-actions{position:sticky;bottom:0;display:flex;gap:6px;padding:12px;background:var(--surface);border-top:1px solid var(--border)}.dish-dialog-actions button{border:0;border-radius:10px;background:var(--surface-muted);color:var(--text);min-width:34px;min-height:42px}.dish-dialog-actions input{width:44px;text-align:center;border:1px solid var(--border);border-radius:8px;background:var(--surface);color:var(--text)}.dish-dialog-actions [data-dish-submit]{flex:1;background:var(--primary);color:#fff;font-weight:800}
@media(min-width:700px){.restaurant-preview-dish{flex-basis:32%}.restaurant-preview-dish img{height:170px}}
.dish-suggestions{padding:0 18px 14px}.dish-suggestions h3{font-size:14px}.dish-suggestions .restaurant-preview-dish{flex-basis:45%;border:1px solid var(--border);border-radius:12px}.dish-suggestions .restaurant-preview-dish>b,.dish-suggestions .restaurant-preview-dish>small{display:block;padding:5px 8px;font-size:12px}.dish-suggestions .restaurant-preview-dish img{height:95px}
html[data-customer-view="restaurant"] .page{padding-bottom:82px}
.restaurant-menu-section .restaurant-menu-grid{display:grid;grid-template-columns:1fr;overflow:visible;gap:0}.restaurant-menu-section .restaurant-menu-item{display:grid;grid-template-columns:minmax(0,1fr) 95px;border:0;border-bottom:1px solid var(--border);border-radius:0;box-shadow:none;background:transparent;cursor:pointer;min-height:100px;padding:10px 0}.restaurant-menu-section .restaurant-menu-item>img{grid-column:2;grid-row:1;width:95px;height:85px;border-radius:12px;object-fit:cover}.restaurant-menu-section .restaurant-menu-item>div{grid-column:1;grid-row:1;padding:0 12px 0 0}.restaurant-menu-section .restaurant-menu-item h3{font-size:15px}.restaurant-menu-section .restaurant-menu-item .add-cart-button{width:auto;padding:6px 10px;font-size:11px}.restaurant-menu-section .restaurant-menu-item .dish-description{min-height:0}.restaurant-menu-section .restaurant-menu-swipe-hint{display:none}
html[data-theme="dark"] .restaurant-discovery-card .restaurant-card{background:transparent;box-shadow:none}
html[data-theme="dark"] .restaurant-favorite-card-button,html[data-theme="dark"] .restaurant-favorites-filter{background:#182a4a;border-color:#395b96;color:#b9ccff}html[data-theme="dark"] .restaurant-favorite-card-button.is-favorite,html[data-theme="dark"] .restaurant-favorites-filter.is-active{background:linear-gradient(135deg,#ff6b62,#e9366e);border-color:#e9366e;color:#fff}@media(max-width:600px){.restaurant-favorites-filter{height:34px;width:34px}.restaurant-favorites-filter svg{height:18px;width:18px}.restaurant-favorite-card-button{right:12px;top:14px}}@media(prefers-reduced-motion:reduce){.restaurant-favorite-card-button,.restaurant-favorites-filter{transition:none}}

/* Keep the header favorite total readable and clear of the profile button. */
.restaurant-favorites-filter{overflow:visible}
.restaurant-favorites-filter .restaurant-favorites-count{background:#172b57;border:2px solid #fff;box-shadow:0 2px 6px #172b573d;color:#fff;font-family:Arial,sans-serif;font-size:11px;font-weight:800;height:20px;min-width:20px;padding:0 4px;right:-2px;top:-7px;z-index:3}
.restaurant-discovery-card .restaurant-card{position:relative;display:block;padding:3px 0 8px}
.restaurant-discovery-card .restaurant-card-copy{display:grid;min-width:0;padding:0;gap:3px;text-align:left}
.restaurant-discovery-card .restaurant-card-copy>b{font-size:14px;line-height:1.4;padding:0 38px 4px 0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.restaurant-discovery-card .restaurant-card-copy>small,.restaurant-discovery-card .restaurant-card-copy>em{margin-left:58px;max-width:calc(100% - 58px);font-size:10px;line-height:1.4;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.restaurant-discovery-card .restaurant-card-copy::after{display:none}
.restaurant-discovery-card .restaurant-cover{position:absolute;left:0;top:37px;width:48px;height:48px;min-height:0}
.restaurant-discovery-card .restaurant-preview-dish img{height:112px}
