/* Compact detail views shared by markets, shopping districts and merchants. */
.merchant-map-frame{min-width:0;display:flex;flex-direction:column;gap:5px}
:is(.store-detail,.market-detail) .merchant-map-frame>.merchant-map-search{display:inline-flex;align-items:center;justify-content:flex-end;align-self:flex-end;gap:5px;min-height:32px;margin:0;padding:3px 0;border:0;border-radius:0;background:none;box-shadow:none;font-size:12px;font-weight:550;line-height:1.4;color:#c2460a}
.merchant-map-frame>.merchant-map-search svg{width:14px;height:14px;flex:none}
.market-store-inline-goods,.nearby-label-short,.nearby-more{display:none}
.nearby-result-copy{min-width:0;color:var(--heading,#25333b)}
.nearby-items .nearby-map-arrow{margin-left:4px}
.nearby-close svg{transform:rotate(180deg)}

@media(max-width:760px){
 :is(.store-detail,.market-detail){overflow-wrap:anywhere}
 :is(.store-detail,.market-detail) .breadcrumb{padding-top:14px;margin-bottom:13px;line-height:1.5}
 :is(.store-detail,.market-detail) .merchant-hero{grid-template-columns:minmax(0,1fr);gap:12px;padding:13px;margin-bottom:18px;border-radius:12px}
 :is(.store-detail,.market-detail) .detail-banner{padding:0;min-width:0}
 :is(.store-detail,.market-detail) .merchant-category{font-size:12px;margin-bottom:7px;padding:3px 7px}
 :is(.store-detail,.market-detail) .merchant-hero h1{font-size:28px;line-height:1.25;letter-spacing:-.045em;word-break:keep-all;overflow-wrap:anywhere}
 :is(.store-detail,.market-detail) .merchant-subtitle{font-size:14px;margin-top:7px;line-height:1.5}
 .market-detail .merchant-hero .market-specialties{font-size:13px;margin-top:6px}
 .store-detail .merchant-intro{font-size:12px;margin-top:4px}
 :is(.store-detail,.market-detail) .merchant-hero .payment-info{margin-top:12px}
 :is(.store-detail,.market-detail) .merchant-address-row{margin-top:12px;gap:6px;align-items:center}
 :is(.store-detail,.market-detail) .merchant-address-row .detail-address{font-size:14px;line-height:1.5}
 :is(.store-detail,.market-detail) .address-copy{font-size:12px;min-height:40px;padding:4px}
 :is(.store-detail,.market-detail) .merchant-hero .detail-actions{margin-top:10px;gap:6px}
 :is(.store-detail,.market-detail) .merchant-hero .detail-actions>a,:is(.store-detail,.market-detail) .merchant-hero .detail-actions>button{min-height:44px;font-size:13px;padding:8px 6px;gap:6px}
 :is(.store-detail,.market-detail) .merchant-hero .payment-method,:is(.store-detail,.market-detail) .merchant-hero .payment-method+.payment-method{font-size:12px;min-height:38px;padding:7px 4px}
 :is(.store-detail,.market-detail) .merchant-market-address{margin-top:12px;font-size:13px}
 .market-detail .market-location-caption{font-size:11px;margin-top:2px}
 .market-detail .market-metrics{gap:6px;margin-top:10px}
 .market-detail .market-metrics>div{min-height:58px;padding:6px 3px;gap:3px}
 .market-detail .market-metrics svg{display:none}
 .market-detail .market-metrics>div>span{font-size:11px;line-height:1.3}
 .market-detail .market-metrics strong{font-size:22px;line-height:1.15}
 .market-detail .market-day-summary{margin-top:9px}
 .market-detail .market-day-next{margin-top:5px;font-size:11px;gap:4px 6px}
 .market-detail .market-day-panel{margin:16px 0 20px;padding:0 11px}
 .market-detail .market-day-panel>summary{min-height:46px;gap:7px}
 .market-detail .market-day-panel>summary h2{font-size:16px}
 .market-detail .day-panel-toggle{font-size:11px}
 :is(.store-detail,.market-detail) .merchant-map-slot,:is(.store-detail,.market-detail) .merchant-map-slot .embedded-map-body,:is(.store-detail,.market-detail) .merchant-map-slot .embedded-map-canvas{min-height:210px;height:210px}
 :is(.store-detail,.market-detail) .merchant-map-slot .embedded-map-panel{min-height:0}
 :is(.store-detail,.market-detail) .merchant-map-empty{min-height:210px;height:210px}
 :is(.store-detail,.market-detail) .merchant-map-context{padding:8px 10px;font-size:11px}
 :is(.store-detail,.market-detail) .merchant-map-frame>.merchant-map-search{min-height:32px;font-size:12px}

 /* Three unmistakable controls; bus results stay open on arrival. */
 :is(.store-detail,.market-detail) .merchant-nearby{margin-bottom:20px}
 :is(.store-detail,.market-detail) .merchant-nearby>h2{font-size:20px;margin-bottom:10px}
 :is(.store-detail,.market-detail) .nearby-bar{grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}
 :is(.store-detail,.market-detail) .nearby-bar button{min-height:46px;padding:7px 4px;gap:5px;flex-direction:row;justify-content:center;border-radius:8px;text-align:center;font-size:13px}
 :is(.store-detail,.market-detail) .nearby-label{display:block;flex:0 1 auto;min-height:0;text-align:center;white-space:nowrap;font-size:13px;font-weight:700;line-height:1.3}
 :is(.store-detail,.market-detail) .nearby-label small,:is(.store-detail,.market-detail) .nearby-toggle,.nearby-label-wide{display:none}
 .nearby-label-short{display:inline}
 :is(.store-detail,.market-detail) .nearby-bar .category-icon{width:24px;height:26px;background:none;border-radius:0}
 :is(.store-detail,.market-detail) .nearby-bar .category-icon svg{width:23px;height:23px}
 :is(.store-detail,.market-detail) #nearby-results{padding:11px;margin-top:9px;border-radius:9px}
 .nearby-result-head{gap:7px;align-items:flex-start}
 .nearby-result-head h3{font-size:16px;line-height:1.4}
 .nearby-result-head p{font-size:11px;line-height:1.5;margin-top:3px}
 .nearby-close{display:grid;place-items:center;flex:none;min-width:40px;min-height:40px;margin:-5px -5px 0 0}
 :is(.store-detail,.market-detail) .nearby-items{grid-template-columns:minmax(0,1fr);gap:0;margin:10px 0 0;border:1px solid #e5e4df;border-radius:8px;overflow:hidden}
 .nearby-items li{border:0;border-bottom:1px solid #eceae5;border-radius:0}
 .nearby-items li:last-child{border-bottom:0}
 .nearby-items a{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:60px;padding:9px 10px}
 .nearby-items strong{font-size:15px;line-height:1.4}
 .nearby-items p{font-size:12px;line-height:1.4;margin:2px 0 0;overflow-wrap:anywhere}
 .nearby-items .nearby-distance{display:flex;align-items:center;gap:5px;flex:none;font-size:14px;font-weight:650;white-space:nowrap}
 .nearby-items .nearby-distance-prefix,.nearby-items .nearby-map-label{display:none}
 .nearby-items .nearby-map-arrow{font-size:18px;color:#4c575c;margin:0}
 #nearby-results:not([data-nearby-expanded=true]) .nearby-items li:nth-child(n+4){display:none}
 #nearby-results:not([data-nearby-expanded=true]) .nearby-items li:nth-child(3){border-bottom:0}
 .nearby-more{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;min-height:44px;margin-top:8px;padding:8px;border:1px solid #daddd8;border-radius:7px;background:#fff;font-size:13px;font-weight:550}
 .nearby-more svg{width:15px;height:15px}
 .nearby-more[aria-expanded=true] svg{transform:rotate(180deg)}

 /* Market guides and merchant cards use available width instead of blank height. */
 .market-detail .market-guide{padding:13px;gap:10px;margin-bottom:20px}
 .market-detail .market-guide>h2{font-size:17px}
 .market-detail .market-guide-groups{grid-template-columns:minmax(0,1fr);gap:9px;padding-top:9px}
 .market-detail .market-guide-group{display:grid;grid-template-columns:98px minmax(0,1fr);gap:8px;align-items:baseline}
 .market-detail .market-guide-group h3,.market-detail .market-guide-group p{font-size:12px;line-height:1.6;margin:0}
 .market-detail .market-guide-extra>div{display:grid;grid-template-columns:98px minmax(0,1fr);gap:8px}
 .market-detail .market-guide-extra h3,.market-detail .market-guide-extra .visit-lines{font-size:12px;line-height:1.6}
 .market-detail .market-search-heading{gap:8px;margin-bottom:10px}
 .market-detail .market-search-heading h2{font-size:20px;line-height:1.4}
 .market-detail .market-search-heading>span{font-size:11px}
 .market-detail .search-box .search-input-wrap{padding:0 10px;min-height:44px}
 .market-detail .search-box input[type=search]{font-size:14px;padding:10px 0}
 .market-detail .search-box .search-input-wrap>svg{display:none}
 .market-detail .search-box .btn-primary{min-height:44px;min-width:62px;font-size:14px;padding:8px 14px}
 .market-detail .filters{gap:4px 11px;margin-top:7px;font-size:12px;align-items:center}
 .market-detail .filters .check{min-height:34px;gap:5px;white-space:nowrap}
 .market-detail .filters .filter-label-suffix{display:none}
 .market-detail .filters .reset{font-size:11px;min-height:34px;margin-left:auto}
 .market-detail .market-result-count{font-size:11px;margin:5px 0 9px}
 .market-detail .market-store-grid{grid-template-columns:minmax(0,1fr);gap:7px}
 .market-detail .market-store-card>a{grid-template-columns:minmax(0,1fr) 60px;gap:9px;padding:10px 12px;min-height:88px}
 .market-detail .market-store-title{display:block;line-height:1.6}
 .market-detail .market-store-title h3{display:inline;min-height:0;font-size:16px;line-height:1.5;word-break:keep-all;overflow:visible;-webkit-line-clamp:unset}
 .market-detail .market-store-inline-goods{display:inline;font-size:12px;color:#677078;line-height:1.6;font-weight:400;overflow-wrap:anywhere}
 .market-detail .market-store-inline-goods:before{content:' · ';white-space:pre;color:#8a908f}
 .market-detail .market-store-category{width:60px;padding-top:8px}
 .market-detail .market-store-category-art{width:56px;height:56px}
 .market-detail .market-store-category-label{display:none}
 .market-detail .market-store-card .payment-line{margin-top:7px;gap:4px}
 .market-detail .market-store-card .payment-method,.market-detail .market-store-card .payment-method+.payment-method{font-size:11px;min-height:23px;padding:2px 4px;gap:3px}
 .market-detail .market-store-card .card-save{width:32px;height:32px;top:0;right:0}
 :is(.store-detail,.market-detail) .related-grid{grid-template-columns:minmax(0,1fr);gap:7px}
 :is(.store-detail,.market-detail) .related-heading{flex-wrap:wrap;align-items:center}
 :is(.store-detail,.market-detail) .related-heading>.text-link{max-width:none;min-height:34px;margin-left:auto;padding:4px 0;white-space:nowrap;font-size:12px;border:0;background:none;box-shadow:none}
 :is(.store-detail,.market-detail) .related-store{padding:11px 12px;min-height:64px}
 :is(.store-detail,.market-detail) .related-store-copy h3{display:inline;font-size:15px;line-height:1.5}
 :is(.store-detail,.market-detail) .related-goods{display:inline;font-size:12px;line-height:1.5}
 :is(.store-detail,.market-detail) .related-goods:before{content:' · '}

 /* Common city/date information belongs above the eight price cards. */
 :is(.store-detail,.market-detail) [data-price-compact]{margin:22px 0;padding:0}
 :is(.store-detail,.market-detail) [data-price-compact] .section-head{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px;align-items:start;margin-bottom:5px}
 :is(.store-detail,.market-detail) [data-price-compact] .home-price-intro{display:contents}
 :is(.store-detail,.market-detail) [data-price-compact] .home-price-heading-line{display:contents}
 :is(.store-detail,.market-detail) [data-price-compact] #price-heading{grid-column:1;grid-row:1;font-size:20px;gap:6px;line-height:1.4;align-self:center}
 :is(.store-detail,.market-detail) [data-price-compact] .utility-heading-art{width:28px}
 :is(.store-detail,.market-detail) [data-price-compact] .price-section-actions{grid-column:2;grid-row:1;width:auto;align-self:center;margin:0}
 :is(.store-detail,.market-detail) [data-price-compact] .price-more-link{padding:6px 0;min-height:40px;font-size:11px;gap:2px;border:0;background:none;box-shadow:none;white-space:nowrap}
 :is(.store-detail,.market-detail) [data-price-compact] .live-price-status{grid-column:1/-1;grid-row:2;font-size:11px;line-height:1.6;margin:0}
 :is(.store-detail,.market-detail) [data-price-compact] .place-price-context{font-size:11px;line-height:1.6;margin:0 0 10px}
 :is(.store-detail,.market-detail) [data-price-compact] .live-price-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 :is(.store-detail,.market-detail) [data-price-compact] .home-price-card{padding:10px;border-radius:10px}
 :is(.store-detail,.market-detail) [data-price-compact] .home-price-top{position:relative;grid-template-columns:minmax(0,1fr) 34px;grid-template-rows:minmax(25px,auto) minmax(18px,auto) 34px auto;column-gap:3px}
 :is(.store-detail,.market-detail) [data-price-compact] .home-price-name{align-content:start;align-items:baseline;gap:2px 5px}
 :is(.store-detail,.market-detail) [data-price-compact] .home-price-name h3{font-size:15px;line-height:1.35}
 :is(.store-detail,.market-detail) [data-price-compact] .home-price-name>span{font-size:10px}
 :is(.store-detail,.market-detail) [data-price-compact] .home-price-art{grid-column:2;grid-row:1/3;align-self:start;width:34px}
 :is(.store-detail,.market-detail) [data-price-compact] .home-price-art--fallback svg{width:23px;height:23px}
 :is(.store-detail,.market-detail) [data-price-compact] .home-price-spec{grid-column:1;font-size:10px;line-height:1.5}
 :is(.store-detail,.market-detail) [data-price-compact] .home-price-value{grid-column:1/-1;font-size:27px;line-height:1.2}
 :is(.store-detail,.market-detail) [data-price-compact] .home-price-value>span{font-size:11px}
 :is(.store-detail,.market-detail) [data-price-compact] .home-price-date{font-size:10px;margin-top:3px}
 :is(.store-detail,.market-detail) [data-price-compact] .home-price-date--shared{display:none}
 :is(.store-detail,.market-detail) [data-price-compact] .home-price-comparison{grid-template-rows:none;grid-auto-rows:minmax(20px,auto);gap:3px;margin-top:7px;padding-top:7px;font-size:11px}
 :is(.store-detail,.market-detail) [data-price-compact] .price-compare-label{font-size:10px;padding:0}
 :is(.store-detail,.market-detail) [data-price-compact] .home-price-compare-row{gap:3px}
 :is(.store-detail,.market-detail) [data-price-compact] .home-price-compare-row>b{font-size:11px}

 /* Nearby attractions remain expanded, with square images and actions on the right. */
 :is(.store-detail,.market-detail) .market-tourism{margin:24px 0 20px}
 :is(.store-detail,.market-detail) .tourism-heading{flex-wrap:wrap;gap:5px 10px;margin-bottom:10px}
 :is(.store-detail,.market-detail) .tourism-heading>div{flex:1;min-width:220px}
 :is(.store-detail,.market-detail) .tourism-heading h2{font-size:20px;line-height:1.4;word-break:keep-all}
 :is(.store-detail,.market-detail) .tourism-heading p{font-size:11px;line-height:1.5}
 :is(.store-detail,.market-detail) .tourism-heading>.action-link{min-height:34px;margin-left:auto;padding:4px 0;font-size:12px;background:none;border:0;box-shadow:none;gap:3px}
 :is(.store-detail,.market-detail) .tourism-grid{grid-template-columns:minmax(0,1fr);gap:8px}
 :is(.store-detail,.market-detail) .tourism-card{display:grid;grid-template-columns:64px minmax(0,1fr);gap:9px;align-items:center;padding:9px;border-radius:9px}
 :is(.store-detail,.market-detail) .tourism-card .tourism-photo{height:64px;min-height:0;width:64px;aspect-ratio:1;border-radius:7px;align-self:center}
 :is(.store-detail,.market-detail) .tourism-placeholder svg{width:32px;height:32px}
 :is(.store-detail,.market-detail) .tourism-card .tourism-card-content{display:grid;grid-template-columns:minmax(0,1fr) 78px;align-items:center;gap:7px;min-width:0;padding:0}
 :is(.store-detail,.market-detail) .tourism-card-meta{font-size:10px;line-height:1.4;gap:2px 6px;flex-wrap:wrap}
 :is(.store-detail,.market-detail) .tourism-card-meta>span:last-child{white-space:normal;overflow:visible}
 :is(.store-detail,.market-detail) .tourism-card h3{font-size:15px;line-height:1.4;margin:3px 0;word-break:keep-all;overflow-wrap:anywhere}
 :is(.store-detail,.market-detail) .tourism-card .tourism-overview{font-size:11px;line-height:1.5;min-height:0;margin:3px 0 0;-webkit-line-clamp:2}
 :is(.store-detail,.market-detail) .tourism-card .tourism-actions{display:flex;flex-direction:column;flex-wrap:nowrap;align-self:center;gap:5px;padding:0;border:0}
 :is(.store-detail,.market-detail) .tourism-card .tourism-actions .action-link{width:78px;min-height:40px;justify-content:center;padding:5px 3px;gap:3px;font-size:11px;border-radius:7px}
 :is(.store-detail,.market-detail) .tourism-card .tourism-actions svg{width:14px;height:14px;flex:none}
}

@media(max-width:359px){
 :is(.store-detail,.market-detail) .merchant-hero{padding:11px}
 :is(.store-detail,.market-detail) .merchant-hero h1{font-size:26px}
 :is(.store-detail,.market-detail) .nearby-label{font-size:12px}
 :is(.store-detail,.market-detail) .nearby-bar .category-icon{width:20px}
 :is(.store-detail,.market-detail) .nearby-bar .category-icon svg{width:20px}
 .market-detail .market-store-card>a{grid-template-columns:minmax(0,1fr) 50px;padding:10px;gap:7px}
 .market-detail .market-store-category{width:50px}.market-detail .market-store-category-art{width:48px;height:48px}
 .market-detail .market-store-card .payment-method,.market-detail .market-store-card .payment-method+.payment-method{font-size:10px}
 :is(.store-detail,.market-detail) [data-price-compact] #price-heading{font-size:18px}
 :is(.store-detail,.market-detail) [data-price-compact] .utility-heading-art{width:22px}
 :is(.store-detail,.market-detail) [data-price-compact] .home-price-value{font-size:24px}
 :is(.store-detail,.market-detail) [data-price-compact] .home-price-name h3{font-size:14px}
 :is(.store-detail,.market-detail) .tourism-card{grid-template-columns:52px minmax(0,1fr);gap:7px;padding:8px}
 :is(.store-detail,.market-detail) .tourism-card .tourism-photo{width:52px;height:52px}
 :is(.store-detail,.market-detail) .tourism-card .tourism-card-content{grid-template-columns:minmax(0,1fr) 72px;gap:6px}
 :is(.store-detail,.market-detail) .tourism-card .tourism-actions .action-link{width:72px}
}
