body.dm-marketplace { padding-bottom: calc(94px + env(safe-area-inset-bottom, 0px)); }
body.dm-marketplace .head-inner { justify-content: center; padding: 12px; min-height: 94px; }
body.dm-marketplace .head-inner .logo { flex: 0 0 auto; justify-content: center; }
body.dm-marketplace .head-inner .logo img { height: 70px; width: auto; }
body.dm-marketplace .head-inner .wordmark { display: none; }
.marketplace-dock {
  position: fixed; z-index: 100; left: 50%; transform: translateX(-50%);
  bottom: calc(10px + env(safe-area-inset-bottom, 0px));
  width: min(540px, calc(100% - 20px)); box-sizing: border-box;
  display: flex; gap: 3px; padding: 7px; border-radius: 22px;
  background: #fff; border: 1px solid #e4e7ec; box-shadow: 0 5px 24px #10182826;
}
:is(body.dm-marketplace,body.dm-online-customer,body.dm-comanda-status) .marketplace-dock .dock-button {
  display: flex; flex: 1 1 0; min-width: 0; height: 54px; width: auto;
  flex-direction: column; justify-content: center; align-items: center; gap: 4px;
  padding: 3px; border: 0; border-radius: 15px; box-shadow: none;
  background: transparent; color: #667085; text-decoration: none; font: inherit; font-size: var(--dm-text-12); cursor: pointer;
}
.marketplace-dock .dock-button svg { width: 22px; height: 22px; }
:is(body.dm-marketplace,body.dm-online-customer,body.dm-comanda-status) .marketplace-dock :is(#searchBtn, #dmMenuBtn) { width: auto; height: 54px; }
:is(body.dm-marketplace,body.dm-online-customer,body.dm-comanda-status) .marketplace-dock .dock-button.active,
:is(body.dm-marketplace,body.dm-online-customer,body.dm-comanda-status) .marketplace-dock .dock-button[aria-expanded="true"] { background: #fff0d4; color: #a85800; }
.dock-label { line-height: 1.15; font-size: var(--dm-text-12); }
.marketplace-dock #locatePillText { display: none; }
body.dm-marketplace #searchPanel {
  position: fixed; z-index: 101; bottom: calc(94px + env(safe-area-inset-bottom, 0px));
  left: 50%; transform: translateX(-50%); width: min(540px, calc(100% - 20px));
  margin: 0; background: white; border: 1px solid #e4e7ec; border-radius: 18px; box-shadow: 0 5px 24px #10182826;
}
body.dm-marketplace #searchPanel .search-inline { padding: 12px; }
body.dm-marketplace footer.join-cta { padding: 16px 14px; margin-top: 24px; }
body.dm-marketplace footer.join-cta::before,
body.dm-marketplace footer.join-cta .driver-mode-link { display: none; }
body.dm-marketplace footer.join-cta > p { margin-bottom: 8px; }
body.dm-marketplace .footer-bottom { margin: 0; padding: 0; gap: 8px; font-size: var(--dm-text-12); }
body.dm-marketplace .info-btn {
  position: absolute; z-index: 6; right: 12px; bottom: 58px; width: 34px; height: 34px;
  border-radius: 50%; border: 1px solid #e4e7ec; background: #fff; color: #667085;
  font: inherit; font-size: var(--dm-text-20); font-weight: 700; cursor: pointer;
}
body.dm-marketplace .r-card .cta { padding-right: 43px; }
body.dm-marketplace .r-card .desc { padding-right: 40px; }
.client-dialog {
  width: min(520px, calc(100% - 24px)); max-height: 85dvh; box-sizing: border-box;
  margin: auto; padding: 0; border: 1px solid #e4e7ec; border-radius: 22px;
  background: #fff; color: #18202f; box-shadow: 0 15px 50px #10182840;
}
.client-dialog::backdrop { background: #10182880; }
.client-dialog-head { position: sticky; top: 0; display: flex; align-items: center; gap: 12px; padding: 16px 18px; background: white; border-bottom: 1px solid #e4e7ec; z-index: 1; }
.client-dialog-head h2 { margin: 0; flex: 1; font-size: var(--dm-text-20); }
.client-dialog-close { width: 36px; height: 36px; border: 1px solid #e4e7ec; background: white; border-radius: 12px; font-size: var(--dm-text-20); cursor: pointer; }
.client-dialog-body { padding: 18px; overflow-wrap: anywhere; }
.client-dialog-body label { display: block; margin: 14px 0 5px; font-size: var(--dm-text-14); font-weight: 700; }
.client-dialog-body input { width: 100%; box-sizing: border-box; border: 1px solid #d0d5dd; border-radius: 10px; padding: 12px; font: inherit; font-size: var(--dm-text-16); }
.client-dialog-body button.primary, .client-dialog-body a.primary { display: inline-flex; justify-content: center; padding: 12px 16px; border: 0; border-radius: 12px; background: #ffaf31; color: #18202f; font: inherit; font-weight: 750; cursor: pointer; text-decoration: none; margin-top: 14px; }
.client-dialog-body .muted { color: #667085; font-size: var(--dm-text-14); line-height: 1.5; }
.client-dialog-body .order-history-item { padding: 14px 0; border-bottom: 1px solid #e4e7ec; }
.client-dialog-body .order-history-item h3 { margin: 0 0 8px; font-size: var(--dm-text-16); }
.client-dialog-body .order-history-item a { color: #a85800; display: inline-block; margin-top: 9px; }
.client-dialog-body .profile-message { font-size: var(--dm-text-14); line-height: 1.5; }
body.dm-marketplace :is(.ios-install-banner,.android-install-banner) { bottom: calc(94px + env(safe-area-inset-bottom, 0px)); }

body.dm-marketplace .head-inner { position: relative; }
body.dm-marketplace .head-inner #dmMenuBtn { position: absolute; left: 0; top: 20px; width: 44px; height: 48px; border-radius: 0 24px 24px 0; background: #18202f; color: white; border: 0; display: grid; place-items: center; }
body.dm-marketplace .head-inner #dmMenuBtn svg { width: 23px; height: 23px; }
.btpay-badge { display: inline-flex; align-items: center; gap: 5px; color: #fff; font-size: var(--dm-text-16); font-weight: 800; white-space: nowrap; }
.btpay-badge img { height: 24px !important; }
body.dm-marketplace footer.join-cta .footer-payment-badges { gap: 12px; margin: 10px 0; }
body.dm-marketplace footer.join-cta > .footer-badges { margin: 10px 0; }
body.dm-marketplace .dm-side-menu-footer .footer-payment-badges { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
body.dm-marketplace .dm-side-menu-footer .footer-payment-badges > img { height: 20px; max-width: 85px; object-fit: contain; }
body.dm-marketplace .dm-side-menu-footer .btpay-badge { font-size: var(--dm-text-14); }
body.dm-online-customer { padding-bottom: calc(360px + env(safe-area-inset-bottom, 0px)); }
body.dm-online-customer #summaryBar { bottom: calc(84px + env(safe-area-inset-bottom, 0px)); padding-bottom: 12px; border-radius: 18px 18px 0 0; }
body.dm-online-customer .checkout-jump { bottom: max(calc(100px + env(safe-area-inset-bottom, 0px)),var(--checkout-jump-bottom,100px)); }
body.dm-online-customer .product-menu-tools #alacarteSearchInput:not([hidden]) { position: static; transform: none; width: 100%; box-sizing: border-box; margin: 8px 0 0; padding: 12px; background: #fff; border: 1px solid #d0d5dd; border-radius: 12px; box-shadow: none; }

.marketplace-dock .dock-button { transition: background-color .2s ease,color .2s ease,transform .18s ease; }
.marketplace-dock .dock-button svg { transition: transform .2s ease; }
.marketplace-dock .dock-button:active { transform: scale(.93); }
.marketplace-dock .dock-button.active svg { transform: translateY(-2px); animation: dock-select .28s ease; }
@keyframes dock-select { from { transform: translateY(0) scale(.85); } to { transform: translateY(-2px) scale(1); } }
@media (prefers-reduced-motion: reduce) { .marketplace-dock .dock-button,.marketplace-dock .dock-button svg { transition: none; animation: none !important; } }

body.dm-marketplace { padding-bottom: 0; min-height: 100dvh; display: flex; flex-direction: column; }
body.dm-marketplace > main { flex: 1; }
body.dm-marketplace footer.join-cta { border-radius: 50% 50% 0 0 / 22px 22px 0 0; padding-top: 30px; padding-bottom: calc(108px + env(safe-area-inset-bottom,0px)); margin-bottom: 0; }
body.dm-marketplace .marketplace-category-bar { display: flex; align-items: center; width: 100%; gap: 8px; }
body.dm-marketplace .marketplace-category-bar #dmMenuBtn { position: static; flex: 0 0 38px; width: 38px; height: 38px; border-radius: 0 22px 22px 0; border: 0; background: #18202f; color: #fff; display: grid; place-items: center; }
body.dm-marketplace .marketplace-category-bar #dmMenuBtn svg { width: 21px; height: 21px; }
body.dm-marketplace header.site-head .marketplace-category-bar .cats { flex: 1; width: auto; min-width: 0; padding: 8px 12px 8px 0; align-items: center; }
body.dm-marketplace .marketplace-category-bar :is(#dmMenuBtn,.cat-chip) { height: 38px; min-height: 38px; box-sizing: border-box; }
body.dm-marketplace .marketplace-category-bar .cat-chip { display: inline-flex; align-items: center; justify-content: center; padding-top: 0; padding-bottom: 0; line-height: 1.2; }
body.dm-marketplace .btpay-logo { position: relative; display: inline-block; overflow: hidden; width: 40px; height: 40px; border-radius: 7px; flex-shrink: 0; }
body.dm-marketplace .btpay-logo img { position: absolute; width: 50px !important; max-width: none !important; height: 50px !important; top: -5px; left: -5px; opacity: 1 !important; }

body.dm-online-customer { background: #fff; --product-menu-top: 0px; }
body.dm-online-customer .product-search-toggle { display: none; }
body.dm-online-customer :is(.product-menu-tools,#zileiCatChips) { top: 0; background: #fff; }
body.dm-online-customer :is(.product-menu-tools,#zileiCatChips)::before { content: ''; position: absolute; left: 50%; transform: translateX(-50%); bottom: 100%; width: 100vw; height: max(24px,env(safe-area-inset-top,0px)); background: #fff; pointer-events: none; }
body.dm-online-customer #summaryBar { border-radius: 18px; }
.mono-location-pin { display: inline-block; width: 20px; height: 20px; flex-shrink: 0; vertical-align: middle; color: #667085; }
.map-pin-title { display: flex; align-items: center; gap: 7px; }
/* Shared customer presentation: marketplace, online orders and tracking. */
body:is(.dm-marketplace,.dm-online-customer,.dm-comanda-status) { font-family: 'Manrope','Segoe UI',system-ui,sans-serif; }
body.dm-comanda-status .brand-header { min-height: 112px; padding: 12px 0 20px; background: #f4f5f8; }
body.dm-comanda-status .brand-header .official-logo-mark { width: 106px; height: 70px; }
body.dm-comanda-status .brand-header .official-logo-mark img { width: 106px; }
body.dm-comanda-status .brand-header .dm-menu-btn { left: 0; top: auto; bottom: 8px; width: 38px; height: 38px; border: 0; border-radius: 0 20px 20px 0; color: white; background: #18202f; }
body.dm-comanda-status .brand-header .dm-menu-btn svg { width: 21px; height: 21px; }
body.dm-comanda-status .card { border-radius: 20px; box-shadow: 0 4px 14px #1018280b; }
body.dm-online-customer #findMyOrderLink { display: none !important; }
body.dm-online-customer .restaurant-header { gap: 10px; margin-bottom: 8px; padding-bottom: 12px; border-bottom: 0; }
body.dm-online-customer .online-brand-logo { display: block; flex: 0 0 106px; }
body.dm-online-customer .online-brand-logo img { width: 106px; height: 70px; object-fit: contain; display: block; }
body.dm-online-customer .restaurant-header > div:last-child { flex: 1; }
body.dm-online-customer .online-client-controls { position: sticky; top: 0; z-index: 35; background: #fff; padding-bottom: 10px; margin-bottom: 18px; isolation: isolate; }
body.dm-online-customer .online-client-controls :is(.product-menu-tools,.online-daily-tools) { position: static; margin-bottom: 10px; border-bottom: 0; }
body.dm-online-customer .online-client-controls #menuTypeTabs { margin-bottom: 0 !important; }
body.dm-online-customer .online-client-controls::before { content: ''; position: absolute; left: 50%; transform: translateX(-50%); bottom: 100%; width: 100vw; height: max(24px,env(safe-area-inset-top,0px)); background: #fff; pointer-events: none; }
body.dm-online-customer .online-client-controls .product-menu-tools[hidden] { display: none; }
@media(max-width:360px) { body.dm-online-customer .online-brand-logo { flex-basis: 88px; } body.dm-online-customer .online-brand-logo img { width: 88px; height: 59px; } body.dm-online-customer .restaurant-header .r-name { font-size: var(--dm-text-16); } }
body.dm-comanda-status { padding-bottom: calc(100px + env(safe-area-inset-bottom,0px)); }
body.dm-comanda-status .brand-header { min-height: 84px; padding-top: 12px; }
.dm-comanda-status .official-logo-mark { display: block; position: relative; width: 120px; height: 60px; overflow: hidden; }
.dm-comanda-status .official-logo-mark img { position: absolute; top: 0; left: 0; width: 120px; height: auto; max-width: none; }
.dm-comanda-status .dm-side-menu-head .official-logo-mark { width: 88px; height: 44px; }
.dm-comanda-status .dm-side-menu-head .official-logo-mark img { width: 88px; }
body.dm-online-customer .online-daily-tools { position: sticky; top: 0; z-index: 35; display: flex; align-items: center; gap: 8px; padding: 8px 0; background: #fff; }
body.dm-online-customer .online-daily-tools[hidden] { display: none; }
body.dm-online-customer .online-daily-tools #zileiCatChips { position: static; flex: 1; min-width: 0; padding: 2px 0; margin: 0; }
body.dm-online-customer :is(.product-menu-tools-row,.online-daily-tools) .dm-menu-btn { flex: 0 0 38px; width: 38px; height: 38px; min-height: 38px; padding: 0; display: grid; place-items: center; border: 0; border-radius: 0 20px 20px 0; background: #18202f; color: white; }
body.dm-online-customer :is(.product-menu-tools-row,.online-daily-tools) .category-chip { height: 38px; box-sizing: border-box; display: inline-flex; align-items: center; padding-top: 0; padding-bottom: 0; }
body.dm-online-customer .online-daily-tools::before { content: ''; position: absolute; left: 50%; transform: translateX(-50%); bottom: 100%; width: 100vw; height: max(24px,env(safe-area-inset-top,0px)); background: #fff; pointer-events: none; }
body.dm-comanda-status .brand-header { min-height: 112px; }
body:is(.dm-marketplace,.dm-online-customer,.dm-comanda-status) { overflow-x: clip; }
body.dm-online-customer :is(#alacarteSection,#zileiSection) :is(.shelf-title,.section-title) { scroll-margin-top: calc(var(--online-client-controls-height,110px) + 12px); }
/* Keep content stable on touch devices; animate controls rather than entire cards. */
body.dm-marketplace .r-card,body.dm-online-customer :is(.pcard,.item-card),body.dm-comanda-status .card { animation: none !important; }
body.dm-marketplace header.site-head { background: #f4f6f8; backdrop-filter: none; -webkit-backdrop-filter: none; }
body.dm-marketplace .cat-badge { background: #fff; backdrop-filter: none; -webkit-backdrop-filter: none; }
body.dm-marketplace header.site-head #searchPanel { position: static; transform: none; width: 100%; margin: 0; border: 0; border-radius: 0 0 18px 18px; background: #f4f6f8; box-shadow: none; }
body.dm-marketplace header.site-head #searchPanel .search-inline { max-width: 720px; margin: auto; padding: 8px 12px 12px; }
body.dm-online-customer { background: #f4f6f8; padding: 0 12px; padding-bottom: calc(360px + env(safe-area-inset-bottom,0px)); }
body.dm-online-customer #orderForm { padding: 0 !important; border: 0 !important; background: transparent !important; box-shadow: none !important; border-radius: 0; }
body.dm-online-customer .restaurant-header { background: #f4f6f8; min-height: 100px; margin: 0; padding: 12px 0; }
body.dm-online-customer .restaurant-header .r-icon { display: none; }
body.dm-online-customer .restaurant-header > div:last-child { flex: 1; padding: 10px; border: 1px solid #e4e7ec; border-radius: 14px; background: #fff; }
body.dm-online-customer .online-client-controls { background: #f4f6f8; padding: 0 0 8px; margin-bottom: 12px; }
body.dm-online-customer .online-client-controls #menuTypeTabs { margin: 0 0 8px !important; }
body.dm-online-customer .online-client-controls :is(.product-menu-tools,.online-daily-tools) { background: #f4f6f8; padding: 4px 0; margin: 0; }
body.dm-online-customer .online-client-controls::before { background: #f4f6f8; }
body.dm-online-customer .online-client-controls :is(.product-menu-tools,.online-daily-tools,#zileiCatChips)::before { display: none; }
body.dm-online-customer :is(.customer-section-card,#felul1Section,#felul2Section,#felul3Section,.menu-section-card) { padding: 14px 12px; margin: 0 0 14px; border: 1px solid #e4e7ec; border-radius: 20px; background: #fff; box-shadow: 0 4px 14px #1018280b; }
body.dm-online-customer :is(#felul1Section,#felul2Section,#felul3Section):empty { display: none; }
body.dm-online-customer :is(.menu-section-card,#felul1Section,#felul2Section,#felul3Section) .shelf-title { margin-top: 0; }
@media(hover:none),(pointer:coarse) { body.dm-marketplace .r-card:hover,body.dm-marketplace .r-card:hover .cover img,body.dm-online-customer :is(.pcard,.item-card):hover { transform: none !important; } body.dm-marketplace .r-card .cover img { transition: none; } }
body.dm-online-customer { width: 100%; max-width: none; margin: 0; padding-left: 0; padding-right: 0; }
body:is(.dm-marketplace,.dm-online-customer,.dm-comanda-status) .customer-site-head { position: sticky; top: 0; z-index: 40; margin: 0 0 14px; width: 100%; max-width: none; background: #f4f6f8; border-bottom: 1px solid #e4e7ec; border-radius: 0; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
body.dm-online-customer .customer-brand-row { min-height: 94px; padding: 12px; display: flex; align-items: center; justify-content: center; }
body.dm-online-customer .online-client-controls { position: static; margin: 0; }
body.dm-online-customer .online-client-controls::before { display: none; }
body.dm-online-customer .online-client-controls #menuTypeTabs { max-width: 440px; margin: 0 auto 8px !important; }
body.dm-online-customer .online-client-controls :is(.product-menu-tools,.online-daily-tools) { padding: 8px 0; }
body.dm-online-customer .online-client-controls .category-chip-row { padding-right: 12px; }
body.dm-online-customer .product-menu-tools #alacarteSearchInput:not([hidden]) { width: calc(100% - 24px); max-width: 696px; margin: 8px auto 0; display: block; }
body.dm-online-customer #orderForm { width: calc(100% - 24px); max-width: 1100px; margin: 0 auto; }
body.dm-online-customer .customer-restaurant-card { min-height: 0; margin: 0 0 14px; padding: 0; background: transparent; }
body.dm-online-customer .customer-restaurant-card > div:last-child { padding: 14px; text-align: center; box-shadow: 0 4px 14px #1018280b; border-radius: 20px; }
body.dm-comanda-status .brand-header.customer-site-head { min-height: 148px; padding: 12px 0 56px; }
body.dm-comanda-status .brand-header.customer-site-head .dm-menu-btn { bottom: 8px; }
body.dm-comanda-status .brand-header.customer-site-head .official-logo-mark { width: 106px; height: 70px; }
@media(min-width:720px) { body.dm-online-customer .online-client-controls .category-chip-row { justify-content: center; } body.dm-online-customer :is(.product-menu-tools-row,.online-daily-tools) { gap: 8px; } }
body.dm-online-customer > .customer-site-head { padding: 0; }
body.dm-online-customer .customer-brand-row .online-brand-logo img { width: 106px; height: 70px; }
body.dm-online-customer :is(#alacarteSection,#zileiSection) :is(.shelf-title,.section-title),body.dm-online-customer #checkoutDetails { scroll-margin-top: calc(var(--customer-header-height,210px) + 12px); }
body.dm-online-customer .online-client-controls #zileiCatChips { background: transparent; }
body:is(.dm-marketplace,.dm-online-customer,.dm-comanda-status) { background: #f4f6f8; --bg: #f4f6f8; --card: #fff; --ink: #18202f; --muted: #6b7280; --border: #e4e7ec; --accent: #feaf31; --amber: #feaf31; --green: #2e9b69; }
body.dm-online-customer .customer-brand-row { gap: 16px; }
body.dm-online-customer .customer-brand-row .customer-restaurant-card { margin: 0; max-width: calc(100% - 122px); }
body.dm-online-customer .customer-brand-row .customer-restaurant-card > div:last-child { padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; text-align: left; }
body.dm-online-customer .customer-brand-row { min-height: 60px; padding: 10px 12px; gap: 12px; }
body.dm-online-customer .customer-brand-row .online-brand-logo { flex: 0 0 55px; }
body.dm-online-customer .customer-brand-row .online-brand-logo img { width: 55px; height: 36px; }
body.dm-online-customer .online-client-controls > #alacarteSearchInput:not([hidden]) { display: block; width: calc(100% - 24px); max-width: 696px; margin: 8px auto; padding: 12px; font-size: var(--dm-text-16); }
body.dm-online-customer :is(.pcard,.menu-section-card,#felul1Section,#felul2Section,#felul3Section,.product-search-empty)[hidden] { display: none !important; }
.restaurant-loading { grid-column: 1 / -1; min-height: 40vh; padding: 48px 16px; text-align: center; color: #6b7280; font-size: var(--dm-text-14); }
body:is(.dm-marketplace,.dm-online-customer,.dm-comanda-status) .customer-site-head { min-height: 148px; box-sizing: border-box; }
body.dm-marketplace .customer-site-head .head-inner { height: 93px; min-height: 93px; box-sizing: border-box; }
body.dm-marketplace .customer-site-head .marketplace-category-bar { height: 54px; }
body.dm-online-customer .customer-site-head .customer-brand-row { height: 60px; min-height: 60px; box-sizing: border-box; }
body.dm-online-customer .customer-site-head.single-menu-header .customer-brand-row { height: 96px; min-height: 96px; }
body.dm-online-customer .online-client-controls { padding: 0; }
body.dm-online-customer .online-client-controls #menuTypeTabs { height: 36px; min-height: 36px; margin: 0 auto !important; padding: 3px; box-sizing: border-box; }
body.dm-online-customer .online-client-controls #menuTypeTabs .choice-btn { min-height: 28px; height: 28px; padding: 3px 10px; }
body.dm-online-customer .online-client-controls :is(.product-menu-tools,.online-daily-tools) { height: 51px; min-height: 51px; padding: 4.5px 0; box-sizing: border-box; }
body:is(.dm-marketplace,.dm-online-customer,.dm-comanda-status) .customer-site-head { border: 0; border-bottom: 1px solid #e4e7ec; }

/* Menu mode belongs to the scrolling content, below the shared header. */
body.dm-online-customer .customer-site-head .customer-brand-row { height: 96px; min-height: 96px; }
body.dm-online-customer #orderForm > #menuTypeTabs.customer-menu-selector { position: static; max-width: 440px; width: 100%; height: 42px; min-height: 42px; margin: 0 auto 18px !important; padding: 3px; box-sizing: border-box; }
body.dm-online-customer #orderForm > #menuTypeTabs.customer-menu-selector .choice-btn { min-height: 34px; height: 34px; padding: 5px 10px; }

/* Match the marketplace logo while keeping restaurant identity alongside it. */
body.dm-online-customer .customer-brand-row .online-brand-logo { flex: 0 0 106px; }
body.dm-online-customer .customer-brand-row .online-brand-logo img { width: 106px; height: 70px; }
body.dm-online-customer .customer-brand-row .customer-restaurant-card { min-width: 0; max-width: calc(100% - 118px); flex: 0 1 auto; }
body.dm-online-customer .customer-brand-row .customer-restaurant-card > div:last-child { min-width: 0; overflow-wrap: anywhere; }

body.dm-online-customer #menuTypeTabs .choice-btn:disabled { opacity: .45; cursor: not-allowed; }
.profile-location { margin-top: 10px; }
.profile-location-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.client-dialog-body button.profile-location-button { padding: 10px 12px; min-height: 44px; border: 1px solid #d0d5dd; border-radius: 12px; background: #fff; color: #18202f; font: inherit; font-size: var(--dm-text-14); font-weight: 700; cursor: pointer; }
.client-dialog-body .profile-location-status { margin: 8px 0; }
.client-dialog-body button.profile-location-clear { border: 0; background: transparent; padding: 4px 0; color: #667085; font: inherit; font-size: var(--dm-text-12); text-decoration: underline; cursor: pointer; }
.profile-map-panel[hidden],.profile-location-clear[hidden] { display: none !important; }
.profile-map { width: 100%; height: 300px; border: 1px solid #e4e7ec; border-radius: 12px; overflow: hidden; }
.profile-location button:disabled { opacity: .5; cursor: wait; }
.profile-map-panel { margin-top: 10px; }
.profile-map-panel .profile-location-actions { align-items: end; }
.profile-map-panel .primary { margin-top: 10px; }
@media(max-width:420px) { .profile-map { height: 260px; } .profile-location-actions > button { flex: 1 1 auto; } }

/* Both menu modes use the same header surface behind their category chips. */
body.dm-online-customer .customer-site-head .online-client-controls :is(.product-menu-tools,.product-menu-tools-row,.online-daily-tools,#alacarteCatChips,#zileiCatChips) {
  background: #f4f6f8;
}
.client-dialog-body .account-delete-trigger { display: block; margin-top: 14px; padding: 8px 0; border: 0; background: transparent; color: #a22a2a; font: inherit; font-size: var(--dm-text-14); font-weight: 700; text-decoration: underline; cursor: pointer; }
.client-dialog-body .account-delete-confirm[hidden] { display: none; }
.client-dialog-body .account-delete-confirm { margin-top: 12px; padding: 14px; border: 1px solid #eab9b9; border-radius: 12px; background: #fff7f7; font-size: var(--dm-text-14); line-height: 1.5; }
.account-delete-confirm p { margin: 0 0 12px; }
.account-delete-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.account-delete-actions button { padding: 10px 12px; border: 1px solid #d0d5dd; border-radius: 10px; background: #fff; color: #18202f; font: inherit; font-weight: 700; cursor: pointer; }
.account-delete-actions .account-delete-final { border-color: #a22a2a; background: #a22a2a; color: #fff; }
.account-delete-actions button:disabled { opacity: .55; cursor: wait; }

/* 2026 client app visual refresh */
body.dm-marketplace {
  --market-navy:#111b35; --market-orange:#f05a22; --market-gold:#ffad18;
  background:
    radial-gradient(circle at 4% 4%,rgba(151,178,72,.24),transparent 18rem),
    radial-gradient(circle at 94% 7%,rgba(255,176,87,.23),transparent 20rem),
    #f8f9fb;
  color:var(--market-navy);
}
body.dm-marketplace::before {
  content:""; position:fixed; inset:0; pointer-events:none; z-index:-1;
  background:linear-gradient(135deg,rgba(255,255,255,.42),rgba(248,249,251,.78));
}
body.dm-marketplace header.site-head.customer-site-head {
  position:relative; min-height:0; margin:0; background:transparent; border:0;
}
body.dm-marketplace .head-inner {
  width:min(820px,100%); max-width:none; height:154px; min-height:154px; padding:18px 24px 8px;
  box-sizing:border-box; justify-content:center;
}
body.dm-marketplace .head-inner .logo img { height:112px; max-width:250px; object-fit:contain; }
body.dm-marketplace .head-inner #dmMenuBtn,
body.dm-marketplace .marketplace-notice-btn {
  position:absolute; top:42px; width:58px; height:58px; display:grid; place-items:center;
  border:1px solid rgba(255,255,255,.78); border-radius:20px; color:var(--market-navy);
  background:rgba(255,255,255,.82); box-shadow:0 12px 28px rgba(17,27,53,.12);
  backdrop-filter:blur(14px); -webkit-backdrop-filter:blur(14px); cursor:pointer;
}
body.dm-marketplace .head-inner #dmMenuBtn { left:24px; }
body.dm-marketplace .marketplace-notice-btn { right:24px; }
body.dm-marketplace .head-inner #dmMenuBtn svg,
body.dm-marketplace .marketplace-notice-btn svg { width:27px; height:27px; }
.marketplace-notice-dot {
  position:absolute; top:12px; right:12px; width:9px; height:9px; border-radius:50%;
  background:var(--market-orange); border:2px solid #fff;
}
body.dm-marketplace header.site-head #searchPanel {
  display:block !important; position:static; width:min(820px,calc(100% - 32px)); margin:0 auto;
  background:transparent; border:0; border-radius:0; box-shadow:none;
}
body.dm-marketplace header.site-head #searchPanel .search-inline {
  max-width:none; display:flex; align-items:stretch; gap:12px; padding:8px 0 14px;
}
body.dm-marketplace .search-modal-field {
  flex:1; min-width:0; border-radius:26px; overflow:hidden;
  background:rgba(255,255,255,.91); box-shadow:0 12px 32px rgba(17,27,53,.08);
}
body.dm-marketplace .search-modal-field input {
  min-height:64px; border:1px solid rgba(214,219,229,.85); border-radius:26px;
  background:transparent; padding-left:58px; font-size:var(--dm-text-18); color:var(--market-navy);
}
body.dm-marketplace .search-modal-field .ic { left:22px; color:#53617b; }
body.dm-marketplace .search-modal-field .ic svg { width:25px; height:25px; }
body.dm-marketplace .marketplace-filter-btn {
  flex:0 0 64px; width:64px; height:64px; border:1px solid rgba(214,219,229,.85);
  border-radius:24px; background:rgba(255,255,255,.91); color:var(--market-navy);
  box-shadow:0 12px 32px rgba(17,27,53,.08); display:grid; place-items:center; cursor:pointer;
}
body.dm-marketplace .marketplace-filter-btn svg { width:27px; height:27px; }
body.dm-marketplace .marketplace-category-bar {
  width:min(840px,100%); height:auto !important; margin:0 auto; padding:0 0 20px; gap:0;
}
body.dm-marketplace header.site-head .marketplace-category-bar .cats {
  width:100%; max-width:none; padding:0 10px; gap:10px; flex-wrap:nowrap; overflow-x:auto;
  scrollbar-width:none; scroll-padding:10px;
}
body.dm-marketplace .marketplace-category-bar .cats::-webkit-scrollbar { display:none; }
body.dm-marketplace .marketplace-category-bar .cat-chip {
  flex:0 0 auto; height:58px; min-height:58px; padding:0 22px; gap:9px;
  border:1px solid rgba(226,228,235,.92); border-radius:23px; background:rgba(255,255,255,.9);
  color:var(--market-navy); font-size:var(--dm-text-16); font-weight:800; box-shadow:0 8px 24px rgba(17,27,53,.06);
}
body.dm-marketplace .marketplace-category-bar .cat-chip.active {
  color:#fff; border:2px solid var(--market-orange);
  background:linear-gradient(100deg,var(--market-orange),var(--market-navy) 82%);
  box-shadow:0 10px 26px rgba(240,90,34,.2);
}
body.dm-marketplace > main { width:min(820px,calc(100% - 32px)); max-width:none; padding:8px 0 60px; }
body.dm-marketplace .grid { display:grid; grid-template-columns:1fr; gap:22px; }
body.dm-marketplace .r-card {
  width:100%; height:310px; overflow:hidden; border:1px solid rgba(232,234,240,.96); border-radius:30px;
  background:rgba(255,255,255,.95); box-shadow:0 18px 44px rgba(17,27,53,.08); display:block;
}
body.dm-marketplace .r-card-link { height:100%; display:flex; flex-direction:row; }
body.dm-marketplace .r-card .cover {
  flex:0 0 47%; width:47%; height:100%; min-height:0; border-radius:29px 0 0 29px;
  background:#e8ebf0;
}
body.dm-marketplace .r-card .cover img { width:100%; height:100%; object-fit:cover; }
body.dm-marketplace .r-card .cat-badge {
  top:18px; left:18px; max-width:calc(100% - 36px); padding:9px 14px;
  border-radius:18px; font-size:var(--dm-text-14); background:rgba(255,255,255,.94);
}
body.dm-marketplace .r-card .availability-badge {
  position:absolute; left:18px; bottom:18px; z-index:4; display:inline-flex; align-items:center; gap:8px;
  padding:9px 14px; border-radius:18px; background:rgba(14,28,46,.87); color:#fff;
  font-size:var(--dm-text-14); font-weight:800; box-shadow:0 6px 18px rgba(0,0,0,.18);
}
body.dm-marketplace .r-card .availability-badge i { width:11px; height:11px; border-radius:50%; background:#55dd55; }
body.dm-marketplace .r-card .availability-badge.closed i { background:#cbd3e2; }
body.dm-marketplace .r-card .body {
  min-width:0; padding:26px 76px 22px 28px; gap:8px; box-sizing:border-box;
}
body.dm-marketplace .r-card .name { font-size:var(--dm-text-28); line-height:1.08; font-weight:900; letter-spacing:-.035em; }
body.dm-marketplace .rating-summary { display:flex; align-items:center; gap:6px; color:var(--market-gold); font-size:var(--dm-text-18); font-weight:900; }
body.dm-marketplace .rating-summary em { color:#7c879e; font-style:normal; font-weight:600; }
body.dm-marketplace .r-card .city { gap:8px; font-size:var(--dm-text-16); color:#637089; font-weight:600; }
body.dm-marketplace .r-card .city :is(.location-icon,.time-icon) { width:19px; height:19px; flex:0 0 19px; }
body.dm-marketplace .r-card .desc {
  flex:0 1 auto; min-height:22px; margin:2px 0 0; padding:0; font-size:var(--dm-text-16); color:#637089;
  -webkit-line-clamp:2;
}
body.dm-marketplace .card-footer-row { margin-top:auto; display:flex; align-items:center; gap:8px; min-height:58px; }
body.dm-marketplace .preview-strip { min-width:0; display:flex; gap:7px; overflow:hidden; }
body.dm-marketplace .preview-strip img {
  width:62px; height:50px; flex:0 0 62px; object-fit:cover; border-radius:13px; border:1px solid #e3e6ec;
}
body.dm-marketplace .r-card .cta {
  flex:0 0 54px; width:54px; height:54px; min-height:54px; margin:0 0 0 auto; padding:0;
  display:grid; place-items:center; border-radius:17px; background:#fff0df; color:#d64a13;
}
body.dm-marketplace .r-card .cta svg { width:28px; height:28px; }
body.dm-marketplace .favorite-btn,
body.dm-marketplace .info-btn {
  right:18px; width:48px; height:48px; border:1px solid #e5e8ee; background:#fff;
  color:var(--market-navy); box-shadow:0 5px 18px rgba(17,27,53,.07); font-size:var(--dm-text-28);
}
body.dm-marketplace .favorite-btn { top:18px; bottom:auto; }
body.dm-marketplace .info-btn { top:78px; bottom:auto; display:grid; place-items:center; }
body.dm-marketplace .info-btn svg { width:25px; height:25px; }
body.dm-marketplace .r-card.is-closed .cover img { filter:saturate(.72) brightness(.76); }
body.dm-marketplace .r-card .promo-ribbon { z-index:5; }
body.dm-marketplace footer.join-cta { background:#111b35; border-radius:34px 34px 0 0; }

/* Reviews */
.restaurant-reviews { margin-top:20px; padding-top:16px; border-top:1px solid #e7e9ef; }
.restaurant-reviews h3,.review-editor h3 { margin:0 0 12px; }
.review-overview { display:flex; align-items:baseline; gap:10px; margin-bottom:14px; }
.review-overview strong { color:#ef9d00; font-size:var(--dm-text-24); }
.review-overview span { color:#6b7280; font-size:var(--dm-text-14); }
.public-review { padding:13px 0; border-top:1px solid #eceef2; }
.public-review > div { display:flex; align-items:center; justify-content:space-between; gap:10px; }
.public-review p { margin:7px 0 0; font-size:var(--dm-text-14); line-height:1.5; color:#4d596f; }
.review-stars-display { display:inline-flex; gap:1px; }
.review-stars-display i { color:#d7dce4; font-style:normal; }
.review-stars-display i.filled { color:#ffad18; }
.review-editor { margin-top:18px; padding:16px; border-radius:18px; background:#f7f8fa; }
.review-star-input { display:flex; gap:4px; margin:4px 0 12px; }
.review-star-input button { padding:0; border:0; background:transparent; color:#cfd5df; font-size:var(--dm-text-32); cursor:pointer; }
.review-star-input button.selected { color:#ffad18; }
.review-editor label { margin:8px 0 6px; }
.review-editor textarea { width:100%; box-sizing:border-box; resize:vertical; border:1px solid #d8dde6; border-radius:12px; padding:11px; font:inherit; }
.review-actions { display:flex; align-items:center; gap:10px; }
.client-dialog-body button.review-delete { margin-top:14px; border:0; background:transparent; color:#a22a2a; text-decoration:underline; cursor:pointer; }
.restaurant-details p { margin:7px 0; }

/* Bottom app dock */
body.dm-marketplace .marketplace-dock {
  width:min(820px,calc(100% - 32px)); bottom:calc(12px + env(safe-area-inset-bottom,0px));
  padding:9px; border:1px solid rgba(230,232,238,.95); border-radius:30px;
  box-shadow:0 16px 45px rgba(17,27,53,.16);
}
body.dm-marketplace .marketplace-dock .dock-button { height:66px; border-radius:22px; font-size:var(--dm-text-12); color:#56627a; }
body.dm-marketplace .marketplace-dock .dock-button svg { width:28px; height:28px; }
body.dm-marketplace .marketplace-dock .dock-label { font-size:var(--dm-text-12); }
body.dm-marketplace .marketplace-dock .dock-button.active,
body.dm-marketplace .marketplace-dock .dock-button[aria-expanded="true"] {
  color:var(--market-orange); background:linear-gradient(135deg,#fff1dd,#ffe3c5);
}

@media(max-width:600px) {
  body.dm-marketplace .head-inner { height:125px; min-height:125px; padding:12px 16px 4px; }
  body.dm-marketplace .head-inner .logo img { height:90px; max-width:190px; }
  body.dm-marketplace .head-inner #dmMenuBtn,
  body.dm-marketplace .marketplace-notice-btn { top:34px; width:48px; height:48px; border-radius:18px; }
  body.dm-marketplace .head-inner #dmMenuBtn { left:16px; }
  body.dm-marketplace .marketplace-notice-btn { right:16px; }
  body.dm-marketplace header.site-head #searchPanel { width:calc(100% - 24px); }
  body.dm-marketplace .search-modal-field input { min-height:56px; font-size:var(--dm-text-16); padding-left:50px; }
  body.dm-marketplace .marketplace-filter-btn { flex-basis:56px; width:56px; height:56px; border-radius:20px; }
  body.dm-marketplace .marketplace-category-bar { padding-bottom:16px; }
  body.dm-marketplace header.site-head .marketplace-category-bar .cats { padding:0 12px; gap:8px; }
  body.dm-marketplace .marketplace-category-bar .cat-chip { height:50px; min-height:50px; padding:0 16px; border-radius:20px; font-size:var(--dm-text-14); }
  body.dm-marketplace > main { width:calc(100% - 20px); padding-top:4px; }
  body.dm-marketplace .grid { gap:14px; }
  body.dm-marketplace .r-card { height:224px; border-radius:24px; }
  body.dm-marketplace .r-card .cover { flex-basis:47%; width:47%; border-radius:23px 0 0 23px; }
  body.dm-marketplace .r-card .cat-badge { top:12px; left:10px; max-width:calc(100% - 20px); padding:7px 9px; font-size:var(--dm-text-12); }
  body.dm-marketplace .r-card .availability-badge { left:10px; bottom:10px; padding:7px 9px; font-size:var(--dm-text-12); }
  body.dm-marketplace .r-card .availability-badge i { width:8px; height:8px; }
  body.dm-marketplace .r-card .body { padding:18px 48px 13px 15px; gap:5px; }
  body.dm-marketplace .r-card .name { font-size:var(--dm-text-20); }
  body.dm-marketplace .rating-summary { font-size:var(--dm-text-14); gap:4px; }
  body.dm-marketplace .r-card .city { font-size:var(--dm-text-12); gap:5px; }
  body.dm-marketplace .r-card .city :is(.location-icon,.time-icon) { width:14px; height:14px; flex-basis:14px; }
  body.dm-marketplace .r-card .desc { min-height:17px; font-size:var(--dm-text-12); -webkit-line-clamp:1; }
  body.dm-marketplace .favorite-btn,
  body.dm-marketplace .info-btn { right:10px; width:34px; height:34px; font-size:var(--dm-text-20); }
  body.dm-marketplace .favorite-btn { top:10px; }
  body.dm-marketplace .info-btn { top:50px; }
  body.dm-marketplace .info-btn svg { width:20px; height:20px; }
  body.dm-marketplace .card-footer-row { min-height:39px; gap:4px; }
  body.dm-marketplace .preview-strip { gap:4px; }
  body.dm-marketplace .preview-strip img { width:39px; height:34px; flex-basis:39px; border-radius:8px; }
  body.dm-marketplace .r-card .cta { flex-basis:37px; width:37px; height:37px; min-height:37px; border-radius:12px; }
  body.dm-marketplace .r-card .cta svg { width:21px; height:21px; }
  body.dm-marketplace .marketplace-dock { width:calc(100% - 20px); border-radius:25px; }
  body.dm-marketplace .marketplace-dock .dock-button { height:58px; border-radius:18px; }
  body.dm-marketplace .marketplace-dock .dock-button svg { width:24px; height:24px; }
  body.dm-marketplace .marketplace-dock .dock-label { font-size:var(--dm-text-12); }
}
@media(max-width:370px) {
  body.dm-marketplace .r-card { height:210px; }
  body.dm-marketplace .r-card .body { padding-left:12px; }
  body.dm-marketplace .r-card .name { font-size:var(--dm-text-18); }
  body.dm-marketplace .preview-strip img:nth-child(3) { display:none; }
}


/* Compact pass shared by Marketplace, Online order and Order tracking */
.client-dialog .client-dialog-close {
  border:0 !important; background:transparent !important; box-shadow:none !important;
  color:#111b35 !important; border-radius:0 !important; width:30px; height:30px; padding:0;
}
body.dm-marketplace .marketplace-filter-panel[hidden] { display:none !important; }
body.dm-marketplace .marketplace-filter-panel {
  width:min(788px,calc(100% - 32px)); margin:0 auto 14px; padding:13px 15px;
  display:flex; align-items:center; gap:12px; flex-wrap:wrap; border:1px solid rgba(224,227,234,.95);
  border-radius:18px; background:rgba(255,255,255,.96); box-shadow:0 10px 28px rgba(17,27,53,.08);
}
body.dm-marketplace .marketplace-filter-panel label { margin:0; color:#344158; font-size:var(--dm-text-14); font-weight:750; }
body.dm-marketplace .filter-open-row { display:flex; align-items:center; gap:7px; }
body.dm-marketplace .filter-open-row input { width:17px; height:17px; accent-color:#f05a22; }
body.dm-marketplace .filter-sort-row { display:flex; align-items:center; gap:7px; margin-left:auto; }
body.dm-marketplace .filter-sort-row select {
  min-height:36px; padding:6px 30px 6px 10px; border:1px solid #dce0e8; border-radius:10px;
  background:#fff; color:#111b35; font:inherit; font-size:var(--dm-text-14);
}
body.dm-marketplace #marketplaceClearFilters {
  min-height:36px; padding:6px 11px; border:0; border-radius:10px; background:#fff0df;
  color:#c44513; font:inherit; font-size:var(--dm-text-12); font-weight:800; cursor:pointer;
}
body.dm-marketplace .head-inner { height:132px; min-height:132px; }
body.dm-marketplace .head-inner .logo img { height:94px; max-width:220px; }
body.dm-marketplace .head-inner #dmMenuBtn,
body.dm-marketplace .marketplace-notice-btn { top:38px; width:50px; height:50px; border-radius:18px; }
body.dm-marketplace .head-inner #dmMenuBtn svg,
body.dm-marketplace .marketplace-notice-btn svg { width:24px; height:24px; }
body.dm-marketplace .search-modal-field input { min-height:56px; font-size:var(--dm-text-16); }
body.dm-marketplace .marketplace-filter-btn { flex-basis:56px; width:56px; height:56px; border-radius:20px; }
body.dm-marketplace .marketplace-category-bar .cat-chip { height:50px; min-height:50px; padding:0 18px; font-size:var(--dm-text-14); border-radius:20px; }
body.dm-marketplace .r-card { height:268px; border-radius:26px; }
body.dm-marketplace .r-card .cover { border-radius:25px 0 0 25px; }
body.dm-marketplace .r-card .body { padding:22px 66px 18px 23px; gap:6px; }
body.dm-marketplace .r-card .name { font-size:var(--dm-text-24); }
body.dm-marketplace .rating-summary { font-size:var(--dm-text-16); }
body.dm-marketplace .r-card .city,body.dm-marketplace .r-card .desc { font-size:var(--dm-text-14); }
body.dm-marketplace .favorite-btn,body.dm-marketplace .info-btn { width:41px; height:41px; right:14px; }
body.dm-marketplace .favorite-btn { top:14px; }
body.dm-marketplace .info-btn { top:63px; }
body.dm-marketplace .preview-strip img { width:54px; height:44px; flex-basis:54px; }
body.dm-marketplace .r-card .cta { flex-basis:46px; width:46px; height:46px; min-height:46px; }
body.dm-marketplace .marketplace-dock { padding:7px; }
body.dm-marketplace .marketplace-dock .dock-button { height:58px; }

/* Shared soft application background */
body.dm-online-customer,body.dm-comanda-status {
  background:
    radial-gradient(circle at 3% 2%,rgba(151,178,72,.16),transparent 17rem),
    radial-gradient(circle at 97% 4%,rgba(255,176,87,.18),transparent 19rem),
    #f7f8fa;
  color:#111b35;
}
body.dm-online-customer .customer-site-head,
body.dm-comanda-status .brand-header.customer-site-head {
  background:rgba(250,251,252,.9); border:0; box-shadow:0 8px 26px rgba(17,27,53,.05);
  backdrop-filter:blur(14px); -webkit-backdrop-filter:blur(14px);
}

/* Online order */
body.dm-online-customer .customer-site-head { min-height:78px; margin-bottom:12px; }
body.dm-online-customer .customer-site-head .customer-brand-row {
  height:78px; min-height:78px; padding:9px 16px; gap:12px;
}
body.dm-online-customer .customer-brand-row .online-brand-logo { flex-basis:82px; }
body.dm-online-customer .customer-brand-row .online-brand-logo img { width:82px; height:54px; }
body.dm-online-customer .customer-brand-row .customer-restaurant-card { max-width:calc(100% - 94px); }
body.dm-online-customer .customer-brand-row .customer-restaurant-card .r-name { font-size:var(--dm-text-18); color:#111b35; }
body.dm-online-customer .customer-brand-row .customer-restaurant-card .r-sub { font-size:var(--dm-text-12); }
body.dm-online-customer #orderForm { width:min(960px,calc(100% - 20px)); }
body.dm-online-customer #orderForm > #menuTypeTabs.customer-menu-selector {
  max-width:410px; height:40px; min-height:40px; margin-bottom:14px !important; border-radius:18px;
  background:#fff; box-shadow:0 6px 18px rgba(17,27,53,.06);
}
body.dm-online-customer #orderForm > #menuTypeTabs.customer-menu-selector .choice-btn { height:34px; min-height:34px; border-radius:15px; font-size:var(--dm-text-12); }
body.dm-online-customer .online-client-controls :is(.product-menu-tools,.online-daily-tools) {
  min-height:45px; height:45px; padding:3px 0;
}
body.dm-online-customer :is(.product-menu-tools-row,.online-daily-tools) .dm-menu-btn,
body.dm-online-customer :is(.product-menu-tools-row,.online-daily-tools) .category-chip {
  height:34px; min-height:34px;
}
body.dm-online-customer :is(.customer-section-card,#felul1Section,#felul2Section,#felul3Section,.menu-section-card) {
  padding:13px 12px; margin-bottom:12px; border-radius:20px; border:1px solid #e7e9ef;
  box-shadow:0 9px 25px rgba(17,27,53,.055);
}
body.dm-online-customer .shelf-title { margin-top:12px; font-size:var(--dm-text-14); }
body.dm-online-customer :is(.pcard,.item-card) { border-radius:16px; border-color:#e5e8ee; box-shadow:0 5px 16px rgba(17,27,53,.045); }
body.dm-online-customer :is(.pcard,.item-card) .iphoto { aspect-ratio:1.4/1; }
body.dm-online-customer .choice-btn { border-radius:14px; font-size:var(--dm-text-12); min-height:38px; }
body.dm-online-customer :is(input,select,textarea).search-box,
body.dm-online-customer .field-group :is(input,select,textarea) { border-radius:12px; border-color:#dce1e9; }
body.dm-online-customer #summaryBar {
  border:1px solid #e6e8ee; border-radius:22px; box-shadow:0 -10px 35px rgba(17,27,53,.1);
}
body.dm-online-customer .submit-btn { border-radius:16px; min-height:48px; }
body.dm-online-customer .marketplace-dock { width:min(620px,calc(100% - 20px)); }

/* Order tracking */
body.dm-comanda-status .brand-header.customer-site-head {
  min-height:88px; height:88px; padding:8px 16px; margin-bottom:8px;
}
body.dm-comanda-status .brand-header.customer-site-head .official-logo-mark { width:92px; height:60px; }
body.dm-comanda-status .brand-header.customer-site-head .official-logo-mark img { width:92px; }
body.dm-comanda-status .brand-header.customer-site-head .dm-menu-btn {
  left:16px; bottom:20px; width:46px; height:46px; border-radius:17px;
  background:rgba(255,255,255,.94); color:#111b35; border:1px solid #e4e7ed;
  box-shadow:0 8px 22px rgba(17,27,53,.09);
}
body.dm-comanda-status .wrap { max-width:560px; padding:10px 12px 110px; }
body.dm-comanda-status .card {
  border:1px solid #e7e9ef; border-radius:21px; padding:15px; margin-bottom:12px;
  box-shadow:0 9px 25px rgba(17,27,53,.055);
}
body.dm-comanda-status #orderInfoCard { padding:12px 15px; }
body.dm-comanda-status #trackingMap { border-radius:16px; }
body.dm-comanda-status .push-btn { border-radius:14px; min-height:45px; }
body.dm-comanda-status .marketplace-dock { width:min(560px,calc(100% - 20px)); }

@media(max-width:600px) {
  body.dm-marketplace .head-inner { height:108px; min-height:108px; }
  body.dm-marketplace .head-inner .logo img { height:76px; max-width:168px; }
  body.dm-marketplace .head-inner #dmMenuBtn,
  body.dm-marketplace .marketplace-notice-btn { top:30px; width:42px; height:42px; border-radius:15px; }
  body.dm-marketplace .head-inner #dmMenuBtn { left:12px; }
  body.dm-marketplace .marketplace-notice-btn { right:12px; }
  body.dm-marketplace .marketplace-notice-dot { top:8px; right:8px; width:7px; height:7px; }
  body.dm-marketplace .search-modal-field input { min-height:50px; font-size:var(--dm-text-14); padding-left:46px; }
  body.dm-marketplace .marketplace-filter-btn { flex-basis:50px; width:50px; height:50px; border-radius:17px; }
  body.dm-marketplace .marketplace-filter-btn svg { width:23px; height:23px; }
  body.dm-marketplace .marketplace-category-bar .cat-chip { height:44px; min-height:44px; padding:0 14px; font-size:var(--dm-text-12); border-radius:17px; }
  body.dm-marketplace .marketplace-category-bar { padding-bottom:12px; }
  body.dm-marketplace .marketplace-filter-panel { width:calc(100% - 24px); margin-bottom:10px; gap:9px; padding:11px; }
  body.dm-marketplace .filter-sort-row { margin-left:0; }
  body.dm-marketplace .r-card { height:196px; border-radius:21px; }
  body.dm-marketplace .r-card .cover { border-radius:20px 0 0 20px; }
  body.dm-marketplace .r-card .cat-badge { top:9px; left:8px; padding:5px 7px; font-size:var(--dm-text-12); }
  body.dm-marketplace .r-card .availability-badge { left:8px; bottom:8px; padding:5px 7px; font-size:var(--dm-text-12); }
  body.dm-marketplace .r-card .body { padding:14px 42px 10px 12px; gap:3px; }
  body.dm-marketplace .r-card .name { font-size:var(--dm-text-18); }
  body.dm-marketplace .rating-summary { font-size:var(--dm-text-12); }
  body.dm-marketplace .r-card .city,body.dm-marketplace .r-card .desc { font-size:var(--dm-text-12); }
  body.dm-marketplace .r-card .city :is(.location-icon,.time-icon) { width:12px; height:12px; flex-basis:12px; }
  body.dm-marketplace .favorite-btn,body.dm-marketplace .info-btn { right:8px; width:29px; height:29px; font-size:var(--dm-text-18); }
  body.dm-marketplace .favorite-btn { top:8px; }
  body.dm-marketplace .info-btn { top:42px; }
  body.dm-marketplace .info-btn svg { width:17px; height:17px; }
  body.dm-marketplace .card-footer-row { min-height:33px; }
  body.dm-marketplace .preview-strip img { width:34px; height:29px; flex-basis:34px; border-radius:7px; }
  body.dm-marketplace .r-card .cta { flex-basis:32px; width:32px; height:32px; min-height:32px; border-radius:10px; }
  body.dm-marketplace .r-card .cta svg { width:18px; height:18px; }
  body.dm-marketplace .marketplace-dock .dock-button { height:52px; }
  body.dm-marketplace .marketplace-dock .dock-button svg { width:22px; height:22px; }
  body.dm-online-customer .customer-site-head { min-height:70px; }
  body.dm-online-customer .customer-site-head .customer-brand-row { height:70px; min-height:70px; }
  body.dm-online-customer .customer-brand-row .online-brand-logo { flex-basis:72px; }
  body.dm-online-customer .customer-brand-row .online-brand-logo img { width:72px; height:47px; }
  body.dm-online-customer .customer-brand-row .customer-restaurant-card { max-width:calc(100% - 82px); }
  body.dm-online-customer .customer-brand-row .customer-restaurant-card .r-name { font-size:var(--dm-text-16); }
  body.dm-online-customer :is(.customer-section-card,#felul1Section,#felul2Section,#felul3Section,.menu-section-card) { border-radius:18px; }
  body.dm-online-customer .marketplace-dock .dock-button,
  body.dm-comanda-status .marketplace-dock .dock-button { height:52px; }
  body.dm-comanda-status .brand-header.customer-site-head { min-height:78px; height:78px; }
  body.dm-comanda-status .brand-header.customer-site-head .official-logo-mark { width:82px; height:54px; }
  body.dm-comanda-status .brand-header.customer-site-head .official-logo-mark img { width:82px; }
  body.dm-comanda-status .brand-header.customer-site-head .dm-menu-btn { bottom:17px; width:42px; height:42px; }
}


/* Android search and filter alignment fixes */
body.dm-marketplace .search-modal-field {
  box-sizing:border-box; border:1.5px solid #dce1e9; border-radius:999px; overflow:hidden;
  background:#fff; box-shadow:0 10px 26px rgba(17,27,53,.07);
}
body.dm-marketplace .search-modal-field:focus-within {
  border-color:#feaf31; box-shadow:0 0 0 2px rgba(254,175,49,.15),0 10px 26px rgba(17,27,53,.07);
}
body.dm-marketplace .search-modal-field input {
  width:100%; border:0 !important; border-radius:999px !important; outline:0 !important;
  box-shadow:none !important; background:transparent !important; -webkit-appearance:none; appearance:none;
}
body.dm-marketplace .search-modal-field input::-webkit-search-cancel-button,
body.dm-marketplace .search-modal-field input::-webkit-search-decoration,
body.dm-marketplace .search-modal-field input::-ms-clear {
  -webkit-appearance:none; appearance:none; display:none; width:0; height:0;
}
body.dm-marketplace .search-modal-clear {
  right:8px; width:34px; height:34px; border-radius:50%; background:#eef1f5;
  color:#657187; font-size:var(--dm-text-16);
}
body.dm-marketplace .marketplace-filter-panel {
  display:grid; grid-template-columns:auto auto; grid-template-rows:auto auto;
  align-items:center; justify-content:center; justify-items:center; column-gap:22px; row-gap:10px;
}
body.dm-marketplace .marketplace-filter-panel[hidden] { display:none !important; }
body.dm-marketplace .filter-open-row { grid-column:1; grid-row:1; justify-self:end; }
body.dm-marketplace .filter-sort-row { grid-column:2; grid-row:1; justify-self:start; margin:0; }
body.dm-marketplace #marketplaceClearFilters { grid-column:1 / -1; grid-row:2; justify-self:center; }
@media(max-width:430px) {
  body.dm-marketplace .marketplace-filter-panel { grid-template-columns:auto auto; column-gap:12px; width:calc(100% - 24px); }
  body.dm-marketplace .marketplace-filter-panel label { font-size:var(--dm-text-12); white-space:nowrap; }
  body.dm-marketplace .filter-sort-row { gap:5px; }
  body.dm-marketplace .filter-sort-row select { min-height:34px; max-width:126px; padding:5px 24px 5px 8px; font-size:var(--dm-text-12); }
  body.dm-marketplace #marketplaceClearFilters { min-height:33px; font-size:var(--dm-text-12); }
}


/* Final alignment grid */
body.dm-marketplace header.site-head #searchPanel,
body.dm-marketplace .marketplace-filter-panel,
body.dm-marketplace > main { width:min(820px,calc(100% - 32px)); box-sizing:border-box; }
body.dm-marketplace .marketplace-category-bar { width:min(840px,100%); box-sizing:border-box; }
body.dm-marketplace .marketplace-category-bar .cats { scroll-padding-inline:10px; }
body.dm-marketplace .marketplace-filter-panel > * { align-self:center; }
body.dm-online-customer #orderForm,
body.dm-online-customer .customer-site-head .customer-brand-row,
body.dm-online-customer .online-client-controls > * { box-sizing:border-box; }
body.dm-online-customer #orderForm { width:min(960px,calc(100% - 24px)); }
body.dm-online-customer .customer-section-card,
body.dm-online-customer :is(#felul1Section,#felul2Section,#felul3Section,.menu-section-card) { margin-left:auto; margin-right:auto; }
body.dm-comanda-status .wrap { width:min(560px,100%); margin-left:auto; margin-right:auto; }
@media(max-width:600px) {
  body.dm-marketplace header.site-head #searchPanel,
  body.dm-marketplace .marketplace-filter-panel,
  body.dm-marketplace > main { width:calc(100% - 24px); }
  body.dm-marketplace .marketplace-category-bar .cats { padding-left:12px; padding-right:12px; scroll-padding-inline:12px; }
  body.dm-online-customer #orderForm { width:calc(100% - 24px); }
}

/* 2026-10-05: keep the desktop brand above search and mobile filters inside their card. */
@media (min-width:601px) {
  body.dm-marketplace header.site-head.customer-site-head .head-inner {
    height:126px; min-height:126px;
  }
}
@media (max-width:600px) {
  body.dm-marketplace .marketplace-filter-panel {
    grid-template-columns:minmax(0,1fr) auto;
    grid-template-rows:auto auto;
    justify-content:center;
    justify-items:stretch;
    column-gap:8px;
    row-gap:9px;
    padding:12px;
    max-width:calc(100% - 24px);
    overflow:visible;
  }
  body.dm-marketplace .filter-open-row {
    grid-column:1 / -1; grid-row:1; justify-self:center;
    min-width:0; max-width:100%; white-space:normal;
  }
  body.dm-marketplace .marketplace-filter-panel .filter-open-row span {
    white-space:normal;
  }
  body.dm-marketplace .filter-sort-row {
    grid-column:1; grid-row:2; justify-self:end;
    min-width:0; max-width:100%; margin:0;
  }
  body.dm-marketplace .filter-sort-row select {
    min-width:0; width:min(29vw,118px); max-width:118px;
    box-sizing:border-box;
  }
  body.dm-marketplace #marketplaceClearFilters {
    grid-column:2; grid-row:2; justify-self:start;
    min-width:0; white-space:nowrap;
  }
}
@media (max-width:360px) {
  body.dm-marketplace .marketplace-filter-panel { column-gap:6px; padding:10px 8px; }
  body.dm-marketplace .filter-sort-row select { width:91px; }
  body.dm-marketplace #marketplaceClearFilters { padding:5px 7px; font-size:var(--dm-text-12); }
}
/* Neutral keyboard focus for every customer-facing close X. */
body:is(.dm-marketplace,.dm-online-customer,.dm-comanda-status) :is(
  .client-dialog-close,.locate-modal-close,.search-modal-clear,.dm-side-menu-close,
  .apk-modal-close,.ios-install-banner .close-btn,.android-install-banner .close-btn,
  #repeatOrderCloseBtn,.food-info-close
):focus-visible {
  outline:2px solid #64748b !important;
  outline-offset:2px !important;
  box-shadow:none !important;
}
body:is(.dm-marketplace,.dm-online-customer,.dm-comanda-status) .client-dialog .client-dialog-close {
  border-radius:8px !important;
}

/* PDF stays inside the order page, with an always visible exit. */
body.dm-online-customer .food-info-dialog {
  position:fixed; inset:0; width:100vw; max-width:none; height:100dvh; max-height:none;
  margin:0; padding:0; border:0; border-radius:0; background:#f7f8fa; color:#111b35;
  box-sizing:border-box;
}
body.dm-online-customer .food-info-dialog::backdrop { background:rgba(17,27,53,.55); }
body.dm-online-customer .food-info-toolbar {
  height:62px; padding:0 max(12px,env(safe-area-inset-right)) 0 max(12px,env(safe-area-inset-left));
  display:flex; align-items:center; gap:10px; box-sizing:border-box;
  background:#fff; border-bottom:1px solid #e4e7ec;
}
body.dm-online-customer .food-info-toolbar span {
  flex:1; min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap;
  text-align:center; font-size:var(--dm-text-14); font-weight:800;
}
body.dm-online-customer .food-info-back,
body.dm-online-customer .food-info-close {
  flex:none; border:1px solid #dce1e9; background:#fff; color:#111b35;
  border-radius:10px; min-height:40px; padding:6px 10px;
  font:inherit; font-size:var(--dm-text-14); font-weight:750; cursor:pointer;
}
body.dm-online-customer .food-info-close { width:40px; padding:0; font-size:var(--dm-text-18); }
body.dm-online-customer .food-info-dialog iframe {
  display:block; width:100%; height:calc(100dvh - 111px); border:0; background:#fff;
}
body.dm-online-customer .food-info-fallback {
  height:49px; margin:0; padding:12px; box-sizing:border-box;
  text-align:center; font-size:var(--dm-text-12); color:#5e6a80; background:#fff;
}
body.dm-online-customer .food-info-fallback a { color:#b94817; }
@media(max-width:430px) {
  body.dm-online-customer .food-info-toolbar { height:56px; }
  body.dm-online-customer .food-info-toolbar span { font-size:var(--dm-text-12); }
  body.dm-online-customer .food-info-back { font-size:var(--dm-text-12); padding:5px 7px; }
  body.dm-online-customer .food-info-dialog iframe { height:calc(100dvh - 105px); }
}

/* Compact two-row mobile filters, following the supplied layout. */
@media (max-width:600px) {
  body.dm-marketplace .marketplace-filter-panel {
    grid-template-columns:minmax(0,1fr) auto;
    justify-content:center;
    justify-items:stretch;
    column-gap:8px;
  }
  body.dm-marketplace .filter-open-row { grid-column:1 / -1; justify-self:center; }
  body.dm-marketplace .filter-sort-row {
    grid-column:1; grid-row:2; justify-self:end;
    gap:6px; min-width:0;
  }
  body.dm-marketplace .filter-sort-label {
    position:static; width:auto; height:auto; margin:0; padding:0;
    overflow:visible; clip:auto; white-space:nowrap;
    font-size:var(--dm-text-12);
  }
  body.dm-marketplace .filter-sort-row select {
    width:clamp(115px,35vw,142px); max-width:none; min-width:0;
    min-height:38px; box-sizing:border-box;
    padding:6px 21px 6px 8px; font-size:var(--dm-text-12);
    border-color:#dce1e9; background:#fff;
  }
  body.dm-marketplace #marketplaceClearFilters {
    grid-column:2; grid-row:2; justify-self:start; padding:6px 9px;
  }
  body.dm-marketplace .filter-sort-row select:focus-visible {
    outline:2px solid #64748b !important;
    outline-offset:2px !important;
    box-shadow:none !important;
  }
}
@media (max-width:360px) {
  body.dm-marketplace .marketplace-filter-panel { column-gap:6px; padding:10px 8px; }
  body.dm-marketplace .filter-sort-row { gap:4px; }
  body.dm-marketplace .filter-sort-row select { width:115px; font-size:var(--dm-text-12); padding-right:18px; }
  body.dm-marketplace #marketplaceClearFilters { font-size:var(--dm-text-12); padding:5px 7px; }
}
body.dm-comanda-status .tracking-return {
  display:block; width:min(560px,calc(100% - 24px)); box-sizing:border-box;
  margin:0 auto 12px; padding:10px 14px; border:1px solid #dce1e9;
  border-radius:12px; background:#fff; color:#111b35;
  text-decoration:none; font-size:var(--dm-text-14); font-weight:750;
}
body.dm-comanda-status .tracking-return:focus-visible {
  outline:2px solid #64748b; outline-offset:2px;
}

/* Prevent the original header controls from flashing beside the logo before
   marketplace-client.js moves them into the bottom navigation. */
body.dm-marketplace .head-inner > :is(#locatePill,#searchBtn) {
  display:none !important;
}
body.dm-marketplace:not([data-marketplace-ready="true"]) .head-inner::after {
  content:"";
  position:absolute;
  top:50%;
  left:calc(50% + 72px);
  width:16px;
  height:16px;
  margin-top:-8px;
  box-sizing:border-box;
  border:2px solid rgba(17,27,53,.18);
  border-top-color:#f05a22;
  border-radius:50%;
  animation:dm-marketplace-loading-spin .75s linear infinite;
}
@keyframes dm-marketplace-loading-spin { to { transform:rotate(360deg); } }
@media(max-width:600px) {
  body.dm-marketplace:not([data-marketplace-ready="true"]) .head-inner::after {
    left:calc(50% + 62px);
    width:14px;
    height:14px;
    margin-top:-7px;
  }
}
@media(prefers-reduced-motion:reduce) {
  body.dm-marketplace:not([data-marketplace-ready="true"]) .head-inner::after {
    animation-duration:1.5s;
  }
}
/* Responsive customer dialogs */
.client-dialog{width:min(560px,calc(100% - 40px));max-height:calc(100dvh - 48px);border:1px solid #eee5da;border-radius:26px;background:linear-gradient(140deg,#fff,#fffcf8);color:#101b38;box-shadow:0 22px 80px #121b3840}
.client-dialog::backdrop{background:#15203370;backdrop-filter:blur(4px)}
.client-dialog-head{padding:22px 24px 16px;background:#fffdf9;border-color:#eee7df}
.client-dialog-head h2{font-size:25px;letter-spacing:-.6px}
body:is(.dm-marketplace,.dm-online-customer,.dm-comanda-status) .client-dialog .client-dialog-close{width:44px;height:44px;min-width:44px;border-radius:50%;border:1px solid #eee7df;background:#fff;box-shadow:0 3px 12px #14213b0b;color:#14213b}
.client-dialog-body{padding:20px 24px 24px}
.client-dialog-body :is(button.primary,a.primary){min-height:46px;box-sizing:border-box;border-radius:16px;background:linear-gradient(110deg,#ff9d21,#ff5b09);color:white;box-shadow:0 5px 14px #ff79101a;gap:12px}
.client-dialog-body :is(button,a,input,textarea):focus-visible{outline:3px solid #b34b00;outline-offset:3px}
.google-signin{width:100%;text-align:center;align-items:center}
.google-symbol{display:grid;place-items:center;border-radius:50%;background:white;color:#4285f4;font-weight:900;font-size:23px;width:32px;height:32px}
.client-dialog-body .order-history-item{padding:18px;margin:12px 0;border:1px solid #ece7df;border-radius:20px;background:white;box-shadow:0 3px 10px #16213a08}
.order-history-item>div{font-size:14px;color:#69768d}
.client-dialog-body .order-history-item a{display:flex;justify-content:center;align-items:center;min-height:46px;width:100%;border-radius:16px;background:linear-gradient(110deg,#ff9d21,#ff5b09);color:white;text-decoration:none;font-weight:750}
.orders-section-heading{display:flex;align-items:center;gap:10px;font-size:17px;margin:4px 0 14px}
.orders-section-heading:before{content:"↗";display:grid;place-items:center;color:#ff8e00;font-size:24px;width:28px}
.orders-history-heading:before{content:"◷"}
.orders-empty{text-align:center;padding:14px 10px;display:grid;gap:12px}
.orders-empty>span{font-size:55px}
.orders-empty>strong{font-size:16px}
.client-dialog[data-view=orders]>.client-dialog-body>.muted{text-align:center}
.profile-subtitle{margin:0 0 20px;color:#758097;font-size:14px}
.profile-identity{display:flex;gap:18px;align-items:center;padding-bottom:22px;margin-bottom:14px;border-bottom:1px solid #eee7df}
.profile-avatar{display:grid;place-items:center;width:78px;height:78px;flex:none;background:#fff0df;border-radius:50%;color:#365479}
.profile-avatar svg{width:43px;height:43px}
.profile-identity>div{display:grid;gap:5px;min-width:0}
.profile-identity strong{font-size:19px}
.profile-identity span{font-size:14px;color:#758097}
.profile-identity small{justify-self:start;margin-top:4px;border-radius:20px;background:#e8f6eb;color:#15824e;padding:7px 11px;font-weight:700;font-size:12px}
.profile-section-title{font-size:15px;margin:0 0 16px}
#customerProfileForm{display:grid;grid-template-columns:125px minmax(0,1fr);gap:12px 10px;align-items:center}
#customerProfileForm>label{margin:0;font-size:13px}
#customerProfileForm>input:not([type=hidden]){min-height:42px;padding:9px 12px;font-size:14px;border-color:#dde1e8;background:#fffdfa}
#customerProfileForm>input[readonly]{background:#f3f4f6;color:#7b8598}
#customerProfileForm>.profile-section-title,#customerProfileForm>.profile-address-label,#profileAddress,#customerProfileForm>.profile-location,#customerProfileForm>button,#customerProfileForm>.profile-message{grid-column:1 / -1}
#customerProfileForm>.profile-address-label{margin-top:8px;padding-top:18px;border-top:1px solid #eee7df;font-size:15px}
.profile-address-label small{display:block;color:#758097;font-weight:400;font-size:13px;margin-top:5px}
.profile-location{margin-top:0}
.profile-location-actions{gap:10px}
.client-dialog-body button.profile-location-button{flex:1;min-width:0;font-size:12px;padding:9px}
#customerProfileForm>button.primary{margin-top:0}
.client-dialog-body #customerLogout{width:100%;background:#ffeddc;color:#ef5707;box-shadow:none}
.client-dialog-body .account-delete-trigger{margin:12px auto 0;color:#d92d20;text-align:center}
.client-dialog[data-view=restaurant]{width:min(650px,calc(100% - 40px))}
.restaurant-gallery{margin:0 -24px 18px;position:relative}
.restaurant-gallery>img{width:100%;height:205px;object-fit:cover;display:block}
.restaurant-gallery-thumbs{display:flex;gap:6px;justify-content:flex-end;padding:8px 20px;overflow:auto}
.restaurant-gallery-thumbs button{border:2px solid transparent;background:white;border-radius:12px;padding:2px;flex:none;min-height:44px}
.restaurant-gallery-thumbs button[aria-pressed=true]{border-color:#ff9d21}
.restaurant-gallery-thumbs img{display:block;width:56px;height:44px;object-fit:cover;border-radius:8px}
.restaurant-details{display:flow-root}
.restaurant-details>p{font-size:14px;color:#687992;margin:10px 0}
.restaurant-details>p:first-of-type{font-size:16px;color:#53698b}
.review-overview{float:right;display:grid;gap:8px;min-width:135px;margin:0 0 12px 18px;padding:18px;background:#fff3e3;border:1px solid #ffead1;border-radius:20px}
.review-overview strong{font-size:30px;color:#152441}
.review-overview span{font-size:12px;color:#65748c}
.restaurant-reviews>h3,.review-editor>h3{font-size:18px;margin:18px 0 12px}
.public-review{margin:12px 0;padding:18px;border:1px solid #ffead1;border-radius:18px;background:#fff7ed}
.public-review>div{display:flex;align-items:center;gap:16px;flex-wrap:wrap}
.public-review>p{margin:10px 0 0;color:#506381;font-size:14px}
.review-editor{border-radius:20px;background:#f7f5f3;padding:18px;margin-top:20px}
.review-editor>h3{margin-top:0}
.review-editor textarea{box-sizing:border-box;width:100%;border-radius:12px;border:1px solid #d0d5dd;padding:12px;font:inherit}
@media(max-width:600px){
.client-dialog,.client-dialog[data-view=restaurant]{width:100%;max-width:100%;max-height:calc(100dvh - max(20px,env(safe-area-inset-top)));margin:auto 0 0;border-radius:24px 24px 0 0;border-bottom:0;padding-bottom:env(safe-area-inset-bottom)}
.client-dialog:before{content:"";display:block;width:42px;height:5px;border-radius:10px;background:#c6c6c6;margin:11px auto 3px}
.client-dialog-head{padding:14px 20px 12px}
.client-dialog-head h2{font-size:23px}
.client-dialog-body{padding:16px 20px 24px}
.restaurant-gallery{margin:0 0 16px}
.restaurant-gallery>img{height:160px;border-radius:16px}
.restaurant-gallery-thumbs{padding:6px 0}
.review-overview{float:none;display:flex;align-items:center;margin:0 0 14px;padding:10px 14px;min-width:0;border-radius:14px}
.review-overview strong{font-size:26px}
.profile-avatar{width:66px;height:66px}
.profile-identity{gap:14px}
#customerProfileForm{grid-template-columns:102px minmax(0,1fr);gap:10px 8px}
.profile-identity strong{font-size:17px}
.profile-identity span{font-size:12px}
#customerProfileForm>input:not([type=hidden]){font-size:16px;min-width:0}
.client-dialog-body button.profile-location-button{font-size:11px;padding:8px 6px}
}
@media(prefers-reduced-motion:reduce){.client-dialog *{scroll-behavior:auto!important}}


body:is(.dm-marketplace,.dm-online-customer,.dm-comanda-status) .client-dialog .client-dialog-close{border-radius:50%!important;background:#fff!important;border:1px solid #eee7df!important;box-shadow:0 3px 12px #14213b0b!important;font-size:24px!important}
.client-dialog.has-gallery[data-view=restaurant] .client-dialog-head{position:absolute;top:10px;right:10px;left:auto;padding:0;border:0;background:transparent;z-index:2}
.client-dialog.has-gallery[data-view=restaurant] .client-dialog-head h2{position:absolute;width:1px;height:1px;clip-path:inset(50%);overflow:hidden;white-space:nowrap}
.client-dialog.has-gallery[data-view=restaurant] .client-dialog-body{padding-top:0}
.restaurant-dialog-name{font-size:28px;letter-spacing:-.6px;margin:0 0 6px}
.restaurant-gallery-arrow{position:absolute;top:78px;min-width:44px;min-height:44px;display:grid;place-items:center;border:1px solid #eee;border-radius:50%;background:#fff;color:#14213b;font-size:28px;box-shadow:0 4px 15px #1113;cursor:pointer}
.restaurant-gallery-arrow.previous{left:16px}.restaurant-gallery-arrow.next{right:16px}
@media(max-width:600px){.client-dialog.has-gallery[data-view=restaurant] .client-dialog-head{top:23px;right:12px}.client-dialog.has-gallery[data-view=restaurant] .client-dialog-body{padding-top:12px}.restaurant-dialog-name{font-size:24px}.restaurant-gallery-arrow{top:60px}}


.review-overview strong::first-letter{color:#ff9b0a}

.order-history-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;flex-wrap:wrap}.order-history-heading h3{flex:1;min-width:120px}.order-history-status{background:#fff0d9;color:#c66a00;border-radius:20px;padding:6px 10px;font-size:12px;font-weight:700}.order-history-total{color:#718099;font-size:14px}.restaurant-legal{font-size:13px;color:#718099;margin:12px 0}.restaurant-legal summary{cursor:pointer;min-height:32px}.restaurant-legal p{margin:8px 0}
