/* Unified merchant card layout. */
html body.site-design #merchantModal.md-refresh.md-polished .detail-page-wrap{padding:16px 24px 90px!important;max-width:1240px!important}
html body.site-design #merchantModal.md-refresh.md-polished .merchant-detail{grid-template-columns:minmax(240px,360px) minmax(0,1fr)!important;gap:22px!important}
html body.site-design #merchantModal.md-refresh.md-polished .merchant-detail>.md-header{grid-row:1!important}
html body.site-design #merchantModal.md-refresh.md-polished .merchant-detail>.detail-media-column{grid-row:2!important;grid-column:1!important;align-self:start!important}
html body.site-design #merchantModal.md-refresh.md-polished .merchant-detail>.md-aside{grid-row:2!important;grid-column:2!important;align-self:start!important;padding:22px!important;border:0!important;background:var(--md-card)!important;border-radius:14px!important}
html body.site-design #merchantModal.md-refresh.md-polished .merchant-detail>.md-section-nav{grid-row:3!important;grid-column:1/-1!important;position:static!important;padding:0!important}
html body.site-design #merchantModal.md-refresh.md-polished .merchant-detail>.md-content{grid-row:4!important;grid-column:1/-1!important;width:100%!important}
html body.site-design #merchantModal.md-refresh.md-polished .merchant-detail>.md-recommend{grid-row:5!important;grid-column:1/-1!important}
html body.site-design #merchantModal.md-refresh.md-polished.md-no-photo .merchant-detail>.md-aside{grid-column:1/-1!important}
#merchantModal.md-polished .md-header #detailName{margin:0 0 10px!important;font-size:clamp(24px,3vw,32px)!important}
#merchantModal.md-polished .md-metrics{margin:0 0 6px!important;gap:8px 16px!important}
#merchantModal.md-polished .md-rating-source{display:block;font-size:12px;opacity:.7;margin:0 0 10px;line-height:1.5}
#merchantModal.md-polished #detailTrust{margin:10px 0!important;display:flex!important;flex-wrap:wrap;gap:8px}
#merchantModal.md-polished .detail-utility-bar{margin:10px 0 0!important}
#merchantModal.md-polished .md-aside h3{font-size:19px!important;margin-bottom:12px!important}
#merchantModal.md-polished .md-store-intro{margin:0 0 16px;line-height:1.75;overflow-wrap:anywhere;font-size:14px}
#merchantModal.md-polished .md-hours-brief{font-size:13px;line-height:1.6;margin:10px 0 4px;opacity:.8}
#merchantModal.md-polished .md-aside .detail-fact-rating,#merchantModal.md-polished .md-aside .detail-fact-favorites,#merchantModal.md-polished .md-aside .detail-fact-hours,#merchantModal.md-polished .md-aside .detail-fact-intro{display:none!important}
#merchantModal.md-polished #detailDescriptionWrap{display:none!important}
#merchantModal.md-polished .md-address{margin:10px 0!important;line-height:1.65}
html body.site-design #merchantModal.md-polished #detailPhotos{height:300px!important;grid-template-rows:146px 146px!important}
html body.site-design #merchantModal.md-polished #detailPhotos:has(img:only-child){height:auto!important;max-width:100%!important}
html body.site-design #merchantModal.md-polished #detailPhotos:has(img:only-child) img{width:auto!important;height:auto!important;max-width:100%!important;max-height:340px!important}
#merchantModal.md-polished .md-gallery-tools button{min-height:40px!important;padding:8px 12px!important}
#merchantModal.md-polished .md-content>section,#merchantModal.md-polished .md-content>#commerceStoreCard{margin-bottom:28px!important;padding-bottom:0!important}
#merchantModal.md-polished .merchant-comments{width:100%!important;max-width:none!important;box-sizing:border-box!important}
html body.site-design #merchantModal.md-polished .cf-menu-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:12px!important}
html body.site-design #merchantModal.md-polished .menu-category-title{grid-column:1/-1!important;margin:12px 0 2px!important;font-size:18px!important}
html body.site-design #merchantModal.md-polished .cf-menu-item{display:flex!important;align-items:stretch!important;gap:12px!important;min-width:0!important;padding:12px!important;border:1px solid var(--md-line)!important;border-radius:12px!important;background:var(--md-card)!important;min-height:116px!important;height:auto!important;box-sizing:border-box!important}
html body.site-design #merchantModal.md-polished .cf-menu-item>img{width:88px!important;height:92px!important;flex:0 0 88px!important;object-fit:contain!important;border-radius:8px!important;background:var(--md-soft)!important}
html body.site-design #merchantModal.md-polished .im-product-copy{min-width:0!important;flex:1!important;padding:0!important;display:flex!important;flex-direction:column!important;gap:5px!important}
html body.site-design #merchantModal.md-polished .im-product-copy h3{font-size:15px!important;line-height:1.45!important;margin:0!important;overflow-wrap:anywhere}
html body.site-design #merchantModal.md-polished .im-product-copy small{font-size:12px!important;line-height:1.5!important}
html body.site-design #merchantModal.md-polished .im-price-row{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:6px!important;margin-top:auto!important}
html body.site-design #merchantModal.md-polished .im-price-row strong{font-size:14px!important;white-space:nowrap}
html body.site-design #merchantModal.md-polished .im-stepper button{width:34px!important;min-width:34px!important;height:34px!important;min-height:34px!important;padding:0!important}
html body.site-design #merchantModal.md-polished:not(.md-menu-expanded) .md-menu-extra{display:none!important}
#merchantModal.md-polished .md-menu-toggle{display:block;min-height:44px;width:100%;padding:10px 18px;margin:16px 0 22px;border:1px solid var(--md-line);border-radius:10px;background:var(--md-card);color:var(--md-text);font:inherit;font-weight:700;cursor:pointer}
#merchantModal.md-polished .menu-category-nav{position:static!important;display:flex!important;flex-wrap:wrap!important;gap:8px!important;margin:12px 0 16px!important;padding:0!important;border:0!important;background:none!important}
#merchantModal.md-polished .menu-category-nav button{min-height:40px!important;padding:8px 12px!important;border-radius:10px!important}
#merchantModal.md-polished .md-review-summary{max-width:none!important;padding:20px!important}
#merchantModal.md-polished .comment-item{background:var(--md-card)!important;border-radius:12px!important}
body.detail-view-open #feedbackRewardBanner{display:none!important}
@media(min-width:761px){body.detail-view-open #merchantModal.md-polished{top:80px!important;height:calc(100dvh - 80px)!important}}
@media(max-width:1050px){html body.site-design #merchantModal.md-polished .cf-menu-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:760px){html body.site-design #merchantModal.md-polished .detail-page-wrap{padding:14px 15px 100px!important}html body.site-design #merchantModal.md-polished .merchant-detail{gap:18px!important}#merchantModal.md-polished .md-aside{order:2!important;box-sizing:border-box!important}#merchantModal.md-polished .md-section-nav{order:3!important}html body.site-design #merchantModal.md-polished .cf-menu-grid{grid-template-columns:1fr!important}html body.site-design #merchantModal.md-polished .cf-menu-item>img{width:82px!important;flex-basis:82px!important;height:88px!important}html body.site-design #merchantModal.md-polished #detailPhotos{height:260px!important}html body.site-design #merchantModal.md-polished #detailPhotos:has(img:only-child){height:auto!important}html body.site-design #merchantModal.md-polished #detailPhotos:has(img:only-child) img{height:auto!important;max-height:280px!important}#merchantModal.md-polished .md-review-summary{gap:14px!important;padding:15px!important}}
html body.site-design #merchantModal.md-polished .cf-menu-item>img{min-height:0!important;max-height:92px!important;align-self:center!important}
html body.site-design #merchantModal.md-polished .cf-menu-item .im-product-copy{min-height:0!important}
@media(max-width:760px){html body.site-design #merchantModal.md-polished .cf-menu-item>img{max-height:88px!important}}
html body.site-design #merchantModal.md-refresh.md-polished .merchant-detail>.detail-media-column{display:block!important;min-width:0!important;width:100%!important}
html body.site-design #merchantModal.md-refresh.md-polished .merchant-detail>.md-header{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;column-gap:24px!important;row-gap:10px!important;align-items:center!important}
html body.site-design #merchantModal.md-polished .md-header #detailName{grid-column:1!important;grid-row:1!important;margin:0!important;line-height:1.3!important}
html body.site-design #merchantModal.md-polished .md-header .md-metrics{grid-column:1!important;grid-row:2!important;margin:0!important}
html body.site-design #merchantModal.md-polished .md-header #detailTrust{grid-column:1/-1!important;grid-row:3!important;margin:2px 0 0!important}
html body.site-design #merchantModal.md-polished .md-header .detail-utility-bar{grid-column:2!important;grid-row:1/3!important;margin:0!important;align-self:center!important;justify-content:flex-end!important}
html body.site-design #merchantModal.md-polished .md-header .md-rating-source{display:none!important}
@media(max-width:760px){html body.site-design #merchantModal.md-polished .merchant-detail>.md-header{grid-template-columns:minmax(0,1fr)!important;gap:10px!important}html body.site-design #merchantModal.md-polished .md-header .detail-utility-bar{grid-column:1!important;grid-row:4!important;justify-content:flex-start!important}html body.site-design #merchantModal.md-polished .md-header #detailTrust{grid-column:1!important}}
