/* Merchant detail: one visual hierarchy, original brand tokens and native dialogs. */
#merchantModal.md-refresh{--md-bg:var(--ct-bg,#f1f7f3);--md-card:var(--ct-card,#fff);--md-text:var(--ct-text,#153d32);--md-line:var(--ct-line,#d5e3dc);--md-soft:var(--ct-soft,#eaf3ed);--md-green:var(--ct-primary,#24664f);background:var(--md-bg)!important;color:var(--md-text)!important}
html[data-theme=dark] #merchantModal.md-refresh{--md-bg:#081e17;--md-card:#103228;--md-text:#e6f3eb;--md-line:#315347;--md-soft:#193e30;--md-green:#74dabb}
html body.site-design #merchantModal.md-refresh .detail-page-wrap{max-width:1260px!important;width:100%!important;margin:auto!important;padding:24px 28px 96px!important}
html body.site-design #merchantModal.md-refresh .merchant-detail{display:grid!important;grid-template-columns:minmax(0,1fr) 310px!important;gap:28px!important;overflow:visible!important;padding:0!important;background:none!important;border:0!important;box-shadow:none!important;border-radius:0!important}
html body.site-design #merchantModal.md-refresh .md-header{grid-column:1/-1!important;padding:0!important;min-width:0!important;background:none!important}
#merchantModal.md-refresh #detailName{font-size:clamp(25px,3vw,38px)!important;line-height:1.25!important;margin:8px 0 14px!important;overflow-wrap:anywhere}
#merchantModal.md-refresh .md-metrics{display:flex;flex-wrap:wrap;align-items:center;gap:10px 18px;font-size:14px;margin:8px 0 16px;color:var(--md-text)}
#merchantModal.md-refresh .md-score{font-size:18px;font-weight:800}
#merchantModal.md-refresh .detail-utility-bar{display:flex!important;flex-wrap:wrap!important;gap:10px!important;margin:16px 0 0!important}
#merchantModal.md-refresh .detail-utility-bar button{width:auto!important;min-height:42px!important;padding:9px 14px!important;flex:0 0 auto!important}
html body.site-design #merchantModal.md-refresh .detail-media-column{grid-column:1/-1!important;display:block!important;min-width:0!important;padding:0!important;width:100%!important}
html body.site-design #merchantModal.md-refresh #detailPhotos{display:grid!important;grid-template-columns:2fr 1fr 1fr!important;grid-template-rows:180px 180px!important;gap:8px!important;overflow:hidden!important;border-radius:18px!important;margin:0!important;width:100%!important;max-height:none!important;background:var(--md-soft)}
#merchantModal.md-refresh #detailPhotos[hidden]{display:none!important}
html body.site-design #merchantModal.md-refresh #detailPhotos img{display:block!important;width:100%!important;height:100%!important;max-height:none!important;min-height:0!important;object-fit:contain!important;background:var(--md-soft)!important;border-radius:0!important;cursor:zoom-in;min-width:0!important}
#merchantModal.md-refresh #detailPhotos img:first-child{grid-row:1/3;grid-column:1}
#merchantModal.md-refresh #detailPhotos img:nth-child(n+6){display:none!important}
#merchantModal.md-refresh #detailPhotos:has(img:only-child){grid-template-columns:1fr!important;grid-template-rows:360px!important}
#merchantModal.md-refresh #detailPhotos:has(img:only-child) img{grid-row:1!important}
#merchantModal.md-refresh #detailPhotos:has(img:nth-child(2):last-child){grid-template-columns:1fr 1fr!important}
#merchantModal.md-refresh #detailPhotos:has(img:nth-child(2):last-child) img:nth-child(2){grid-row:1/3}
#merchantModal.md-refresh .md-gallery-tools{display:flex;justify-content:flex-end;gap:10px;margin-top:10px}
#merchantModal.md-refresh .md-section-nav{grid-column:1/-1;position:sticky;top:0;z-index:15;display:flex;gap:24px;overflow:auto;padding:14px 0;border-bottom:1px solid var(--md-line);background:var(--md-bg)}
#merchantModal.md-refresh .md-section-nav button{background:none!important;border:0!important;border-radius:0!important;box-shadow:none!important;white-space:nowrap;padding:8px 2px!important;min-height:42px!important;color:var(--md-text)!important;font-weight:750}
#merchantModal.md-refresh .md-content{grid-column:1;min-width:0}
#merchantModal.md-refresh .md-content>section,#merchantModal.md-refresh .md-content>#commerceStoreCard{margin:0 0 30px!important;padding:0 0 28px!important;border:0!important;border-bottom:1px solid var(--md-line)!important;border-radius:0!important;background:none!important;box-shadow:none!important;scroll-margin-top:80px}
#merchantModal.md-refresh .md-content h3,#merchantModal.md-refresh .md-aside h3{font-size:21px!important;margin:0 0 18px!important}
#merchantModal.md-refresh .md-aside{grid-column:2;grid-row:4;align-self:start;background:var(--md-card);border:1px solid var(--md-line);border-radius:16px;padding:22px;min-width:0;scroll-margin-top:80px}
#merchantModal.md-refresh .detail-facts{display:block!important;margin:0!important;border:0!important}
#merchantModal.md-refresh .detail-fact{padding:10px 0!important;border:0!important;border-radius:0!important;background:none!important;display:block!important;overflow-wrap:anywhere}
#merchantModal.md-refresh .detail-fact-rating,#merchantModal.md-refresh .detail-fact-favorites,#merchantModal.md-refresh .detail-fact-hours{display:none!important}
#merchantModal.md-refresh .detail-fact dt{font-size:12px!important;opacity:.7;margin-bottom:5px}
#merchantModal.md-refresh .detail-contact-row{display:grid!important;gap:10px!important;margin:18px 0 0!important;width:100%!important}
#merchantModal.md-refresh #detailContacts{display:flex!important;flex-wrap:wrap!important;gap:8px!important}
#merchantModal.md-refresh #detailContacts button,#merchantModal.md-refresh #detailMap{min-height:44px!important;width:auto!important;flex:1 1 100px;padding:10px!important}
#merchantModal.md-refresh .md-info-button{display:flex;justify-content:space-between;align-items:center;width:100%;min-height:46px;padding:12px 0!important;border:0!important;border-bottom:1px solid var(--md-line)!important;background:none!important;color:var(--md-text)!important;border-radius:0!important;gap:10px;text-align:left}
#merchantModal.md-refresh .md-address{font-size:14px;line-height:1.65;margin:16px 0;overflow-wrap:anywhere}
#merchantModal.md-refresh .md-address:empty{display:none}
#merchantModal.md-refresh .md-review-summary{display:flex;gap:22px;align-items:center;padding:20px;background:var(--md-soft);border-radius:14px;margin-bottom:18px}
#merchantModal.md-refresh .md-review-average{font-size:36px;font-weight:800;line-height:1.2}
#merchantModal.md-refresh .md-bars{flex:1;display:grid;gap:5px;font-size:12px}
#merchantModal.md-refresh .md-bar{display:grid;grid-template-columns:24px 1fr 28px;gap:8px;align-items:center}
#merchantModal.md-refresh .md-bar meter{width:100%;height:12px;accent-color:var(--md-green)}
#merchantModal.md-refresh .md-review-tools{display:flex;flex-wrap:wrap;gap:10px;align-items:center;justify-content:space-between;margin-bottom:18px}
#merchantModal.md-refresh .comment-form{margin:18px 0 26px!important;padding:20px!important;border:1px solid var(--md-line)!important;border-radius:14px!important;background:var(--md-card)!important}
#merchantModal.md-refresh [hidden]{display:none!important}
#merchantModal.md-refresh .comment-item{padding:20px 0!important;border:0!important;border-bottom:1px solid var(--md-line)!important;background:none!important;border-radius:0!important}
#merchantModal.md-refresh .comment-item p{white-space:pre-wrap;overflow-wrap:anywhere}
#merchantModal.md-refresh .md-recommend{grid-column:1/-1;border-top:1px solid var(--md-line);padding-top:26px}
#merchantModal.md-refresh .md-recommend-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
#merchantModal.md-refresh .md-recommend-card{display:block;border:1px solid var(--md-line);border-radius:14px;overflow:hidden;background:var(--md-card);color:inherit;text-decoration:none}
#merchantModal.md-refresh .md-recommend-card img{width:100%;height:160px;object-fit:contain;background:var(--md-soft)}
#merchantModal.md-refresh .md-recommend-card div{padding:16px;font-weight:700}
#merchantModal.md-refresh .md-dock{display:none}
.md-dialog{width:min(560px,calc(100vw - 32px));max-height:85dvh;overflow:auto;border:1px solid var(--ct-line,#46735f);border-radius:18px;padding:24px;background:var(--ct-card,#fff);color:var(--ct-text,#153d32);box-shadow:0 24px 90px #0005}
html[data-theme=dark] .md-dialog{background:#103228;color:#e6f3eb;border-color:#315347}
.md-dialog::backdrop{background:#0009;backdrop-filter:blur(3px)}
.md-dialog header{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:20px}
.md-dialog h2{margin:0;font-size:22px}.md-dialog button{min-height:44px;min-width:44px;cursor:pointer}.md-dialog header button{border:0;background:none;color:inherit;font-size:24px}.md-dialog label{display:grid;gap:8px;margin:16px 0}.md-dialog input,.md-dialog select,.md-dialog textarea{width:100%;box-sizing:border-box;padding:12px;font:inherit;background:transparent;color:inherit;border:1px solid #789b8a;border-radius:9px}.md-dialog textarea{min-height:120px}.md-hours{white-space:pre-line;line-height:1.9;overflow-wrap:anywhere}.md-dialog footer{display:flex;gap:10px;justify-content:flex-end;margin-top:22px}.md-photo-dialog{width:96vw;height:94dvh;max-width:1500px;max-height:96dvh;padding:12px;background:#081e17;color:white}.md-photo-dialog header{margin-bottom:10px}.md-photo-stage{height:calc(100% - 110px);overflow:auto;display:flex;align-items:center;justify-content:center}.md-photo-stage img{display:block;object-fit:contain;max-width:100%;max-height:100%;width:auto;height:auto}.md-photo-controls{display:flex;justify-content:center;gap:12px}.md-photo-controls button{padding:8px 18px}.md-dialog a{color:inherit}.md-filter-note{font-size:13px;opacity:.75}
@media(max-width:760px){
 html body.site-design #merchantModal.md-refresh .detail-page-wrap{padding:16px 15px 100px!important}
 html body.site-design #merchantModal.md-refresh .merchant-detail{display:flex!important;flex-direction:column!important;gap:22px!important}
 #merchantModal.md-refresh .md-header{order:0}#merchantModal.md-refresh .detail-media-column{order:1}#merchantModal.md-refresh .md-section-nav{order:2;gap:22px;margin:0 -15px;padding:10px 15px;top:0}#merchantModal.md-refresh .md-aside{order:3;width:100%;padding:18px}#merchantModal.md-refresh .md-content{order:4;width:100%}#merchantModal.md-refresh .md-recommend{order:5}
 html body.site-design #merchantModal.md-refresh #detailPhotos{display:flex!important;height:280px!important;overflow-x:auto!important;scroll-snap-type:x mandatory!important;gap:8px!important}
 html body.site-design #merchantModal.md-refresh #detailPhotos img{width:100%!important;flex:0 0 100%;height:280px!important;scroll-snap-align:start;display:block!important}
 #merchantModal.md-refresh .detail-utility-bar{gap:8px!important}#merchantModal.md-refresh .detail-utility-bar button{font-size:12px!important;padding:8px 10px!important;min-height:42px!important}
 #merchantModal.md-refresh .md-dock{position:fixed;bottom:0;left:0;right:0;z-index:90;display:flex;gap:10px;padding:12px 15px calc(12px + env(safe-area-inset-bottom));background:var(--md-card);border-top:1px solid var(--md-line)}
 #merchantModal.md-refresh .md-dock button{flex:1;min-height:46px;padding:10px 8px!important;font-size:13px!important}
 #merchantModal.md-refresh .md-recommend-grid{grid-template-columns:1fr}
 .md-photo-dialog{width:100vw;height:100dvh;max-height:100dvh;max-width:100vw;border-radius:0}.md-dialog:not(.md-photo-dialog){margin:auto 0 0;width:100%;max-height:85dvh;border-radius:18px 18px 0 0;bottom:0;box-sizing:border-box}
}
/* Search-engine landing pages retain server-rendered content and working links. */
body.md-ssr main{max-width:1200px;margin:auto;padding:24px!important}body.md-ssr main>h1{font-size:clamp(26px,3vw,38px)}body.md-ssr .cover{width:100%;height:380px;object-fit:contain;background:#eaf3ed;cursor:zoom-in;border-radius:16px}body.md-ssr .menus img{cursor:zoom-in;object-fit:contain}body.md-ssr article.panel{border:0!important;box-shadow:none!important;padding:0!important;background:none!important}body.md-ssr .md-ssr-nav{display:flex;flex-wrap:wrap;gap:18px;position:sticky;top:0;background:var(--ct-bg,#f2f7f3);padding:14px 0;border-bottom:1px solid var(--ct-line,#bcd4c6);z-index:5}body.md-ssr .seo-store-actions{display:flex;gap:12px;flex-wrap:wrap;margin:22px 0}body.md-ssr .panel{border-radius:14px!important;margin-bottom:22px!important}body.md-ssr .md-ssr-metrics{margin:18px 0;font-weight:750}body.md-ssr .seo-menu-grid{gap:16px}body.md-ssr .seo-menu-item{padding:16px!important;border:1px solid var(--ct-line,#c8dccf)!important;border-radius:12px;background:var(--ct-card,#fff)}body.md-ssr .md-ssr-nav a{color:inherit;text-decoration:none;min-height:38px;display:flex;align-items:center}body.md-ssr .md-ssr-nav a:focus-visible{outline:2px solid currentColor}body.md-ssr h2{scroll-margin-top:80px}@media(max-width:760px){body.md-ssr main{padding:18px 15px!important}body.md-ssr .cover{height:260px}body.md-ssr .seo-store-actions a{flex:1 1 140px;min-height:44px}}
