@media(max-width:640px){html body.front-body #merchantModal{padding-left:6px!important;padding-right:6px!important}html body.front-body #merchantModal .merchant-detail{padding:12px!important}html body.front-body #merchantModal .merchant-comments{padding:14px 8px!important}html body.front-body #merchantModal #commentForm{width:100%!important;min-width:0}html body.front-body #merchantModal #commentNickname,html body.front-body #merchantModal #commentContent{width:100%!important;box-sizing:border-box}
html body.front-body #homeFeatured .home-featured-copy{grid-template-rows:36px minmax(58px,auto) minmax(36px,auto) 34px!important}
html body.front-body #homeFeatured .home-featured-badges .my-trust-badge,html body.front-body #merchants .merchant.directory-card .my-trust-badge{height:auto!important;min-height:26px!important;max-width:100%;padding:3px 5px!important;font-size:11px!important;line-height:16px!important;white-space:normal!important;align-items:center!important}
html body.front-body #homeFeatured .home-featured-badges .my-trust-label,html body.front-body #merchants .merchant.directory-card .my-trust-label{font-size:11px!important;line-height:16px!important;min-width:0;white-space:normal!important;overflow-wrap:anywhere}
html body.front-body #homeFeatured .home-featured-copy p{font-size:12px!important;line-height:18px!important}
html body.front-body #merchants .merchant.directory-card .merchant-card-meta{font-size:12px!important;line-height:18px!important}html body.front-body #merchants .merchant.directory-card .merchant-rating{font-size:12px!important}html body.front-body #merchants .merchant.directory-card .merchant-rating small{font-size:11px!important}html body.front-body #merchants .merchant.directory-card .merchant-card-area{font-size:11px!important;line-height:17px!important}html body.front-body #merchants .merchant.directory-card .merchant-tag:not(.my-trust-badge),html body.front-body #merchants .merchant.directory-card .merchant-open{font-size:11px!important;line-height:16px!important}}
html[data-theme=dark] body .my-trust-badge.my-trust-badge.my-trust-badge:not(.my-trust-visit){background:#2c5842!important;background:color-mix(in srgb,var(--badge-certified-bg,#baffdc) 30%,#143b2d 70%)!important;color:#effff5!important;border-color:color-mix(in srgb,var(--badge-certified-bg,#baffdc) 45%,#143b2d 55%)!important}
html[data-theme=dark] body .my-trust-badge.my-trust-badge.my-trust-badge.my-trust-visit{background:#665334!important;background:color-mix(in srgb,var(--badge-paid-bg,#ffec99) 30%,#3b2e1a 70%)!important;color:#fff5d8!important;border-color:color-mix(in srgb,var(--badge-paid-bg,#ffec99) 45%,#3b2e1a 55%)!important}
@media(prefers-color-scheme:dark){html:not([data-theme=light]) body .my-trust-badge.my-trust-badge.my-trust-badge:not(.my-trust-visit){background:#2c5842!important;background:color-mix(in srgb,var(--badge-certified-bg,#baffdc) 30%,#143b2d 70%)!important;color:#effff5!important;border-color:color-mix(in srgb,var(--badge-certified-bg,#baffdc) 45%,#143b2d 55%)!important}html:not([data-theme=light]) body .my-trust-badge.my-trust-badge.my-trust-badge.my-trust-visit{background:#665334!important;background:color-mix(in srgb,var(--badge-paid-bg,#ffec99) 30%,#3b2e1a 70%)!important;color:#fff5d8!important;border-color:color-mix(in srgb,var(--badge-paid-bg,#ffec99) 45%,#3b2e1a 55%)!important}}
html body.front-body #homeFeatured .my-trust-label,html body.front-body #merchants .my-trust-label{flex:1 1 auto!important;}@media(max-width:640px){html body.front-body:has(#commentForm:focus-within) .my-back-top{display:none!important;}}
/* Review fixes 20261015 */
html body.front-body{--refine-featured-ink:#866620;--refine-featured-ink:color-mix(in srgb,var(--my-gold,#d9a840) 50%,#332300 50%)}
html[data-theme=dark] body.front-body{--refine-featured-ink:var(--my-gold,#d9a840)}
@media(prefers-color-scheme:dark){html:not([data-theme=light]) body.front-body{--refine-featured-ink:var(--my-gold,#d9a840)}}
html body.front-body #homeFeatured .home-featured-copy p{color:var(--refine-featured-ink)!important}
html body.front-body #merchantModal .detail-back{position:static!important;top:auto!important;left:auto!important;right:auto!important;transform:none!important;margin:0 0 12px!important;display:inline-flex!important;align-items:center;justify-content:center}

/* Keep desktop contact actions together instead of stretching to match the description. */
@media(min-width:901px){
  .merchant-detail-page .merchant-detail .detail-media-column{align-self:start;justify-content:flex-start;gap:12px}
  .merchant-detail-page .merchant-detail .detail-media-column #detailPhotos{margin-bottom:0!important}
  .merchant-detail-page .merchant-detail .detail-media-column #detailContacts{margin:0!important}
  .merchant-detail-page .merchant-detail .detail-media-column #detailMap{margin:0!important;flex:0 0 auto}
}
/* Compact actions under the photo; the introduction spans both desktop columns. */
.detail-contact-row{display:contents}
@media(min-width:901px){
 .merchant-detail-page .merchant-detail .detail-media-column{gap:12px;align-self:start}
 .merchant-detail-page .merchant-detail .detail-media-column #detailPhotos{height:260px!important;min-height:0!important;margin:0!important}
 .merchant-detail-page .detail-contact-row{display:flex;align-items:stretch;gap:8px;width:100%}
 .merchant-detail-page .merchant-detail .detail-media-column #detailContacts{display:contents!important}
 .merchant-detail-page .merchant-detail .detail-contact-row button{flex:1 1 0;min-width:0!important;width:auto!important;height:42px!important;min-height:42px!important;margin:0!important;padding:6px 8px!important;border-radius:12px;font-size:13px!important;line-height:1.2!important;display:flex;align-items:center;justify-content:center;white-space:normal}
 .merchant-detail-page .merchant-detail .detail-contact-row button[hidden]{display:none!important}
 .merchant-detail-page .merchant-detail>#detailDescriptionWrap{grid-column:1/-1!important;grid-row:auto!important;width:auto!important;max-width:none!important;margin:0 28px 24px!important;padding:16px 18px!important;box-sizing:border-box}
}

@media(min-width:901px){.merchant-detail-page .merchant-detail>#detailDescriptionWrap{order:0!important}.merchant-detail-page .merchant-detail .detail-contact-row #detailMap{flex:1 1 0!important}}
