/* Give the category bar a deliberate edge and breathing room. */
html body #cfHome#cfHome#cfHome#cfHome#cfHome #cfhCategories{box-sizing:border-box!important;padding:18px 12px!important;margin-top:0!important;margin-bottom:0!important;border:1px solid var(--pp-line,#d8e4de)!important;border-radius:18px!important;background:var(--pp-card,#fff)!important;overflow:hidden!important}
html body #cfHome#cfHome#cfHome#cfHome#cfHome #cfhCategories>a{position:relative!important;padding:2px 6px!important;box-sizing:border-box!important}
@media(min-width:1041px){html body #cfHome#cfHome#cfHome#cfHome#cfHome #cfhCategories>a+a::before{content:"";position:absolute;left:0;top:17px;width:1px;height:30px;background:var(--pp-line,#d8e4de);opacity:.6}}
/* One enclosing nearby card, instead of a square title block around another card. */
html body #cfHome#cfHome#cfHome#cfHome#cfHome #caNearbyRecommendations{box-sizing:border-box!important;padding:22px!important;margin-top:34px!important;margin-bottom:26px!important;background:var(--pp-card,#fff)!important;border:1px solid var(--pp-line,#d8e4de)!important;border-radius:18px!important;overflow:hidden!important}
html body #cfHome#cfHome#cfHome#cfHome#cfHome #caNearbyRecommendations .cfh-section-head{background:transparent!important;border:0!important;margin:0 0 12px!important;padding:0!important}
html body #cfHome#cfHome#cfHome#cfHome#cfHome #caNearbyRecommendations .mh-nearby-prompt{box-sizing:border-box!important;background:transparent!important;border:0!important;border-radius:0!important;padding:26px 14px!important;margin:0!important;box-shadow:none!important}
html body #cfHome#cfHome#cfHome#cfHome#cfHome .cfh-sidebar{background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important;gap:20px!important}
html body #cfHome#cfHome#cfHome#cfHome#cfHome .cfh-sidebar>.cfh-panel{box-sizing:border-box!important;background:var(--pp-card,#fff)!important;border:1px solid var(--pp-line,#d8e4de)!important;border-radius:18px!important;padding:24px!important;overflow:hidden!important}
/* Footer sits on the page surface; its top rule is the boundary. */
html body #primaryContent#primaryContent#primaryContent>.front-footer.front-footer{box-sizing:border-box!important;background:transparent!important;background-image:none!important;border:0!important;border-top:1px solid var(--pp-line,#d8e4de)!important;border-radius:0!important;margin-top:48px!important;padding:30px 4px 28px!important;box-shadow:none!important;overflow:visible!important}
html body #primaryContent#primaryContent#primaryContent>.front-footer.front-footer::before,html body #primaryContent#primaryContent#primaryContent>.front-footer.front-footer::after{display:none!important}

@media(max-width:1040px){html body #cfHome#cfHome#cfHome#cfHome#cfHome #cfhCategories{padding:16px 10px!important;margin-top:16px!important;margin-bottom:24px!important}html body #cfHome#cfHome#cfHome#cfHome#cfHome #caNearbyRecommendations{padding:18px!important;margin-top:26px!important}html body #primaryContent#primaryContent#primaryContent>.front-footer.front-footer{margin-top:32px!important;padding:24px 0 88px!important}}

@media(min-width:1041px){html body #cfHome#cfHome#cfHome#cfHome#cfHome #cfhCategories{display:grid!important;grid-template-columns:repeat(15,minmax(0,1fr))!important;gap:0!important}html body #cfHome#cfHome#cfHome#cfHome#cfHome #cfhCategories>a{width:auto!important;min-width:0!important;max-width:none!important;flex:none!important;margin:0!important;padding:2px 3px!important}}

html body #primaryContent#primaryContent#primaryContent>.front-footer.front-footer #siteSectionLinks{display:flex!important;flex-wrap:wrap!important;gap:10px 18px!important;align-items:center!important;white-space:normal!important}
html body #primaryContent#primaryContent#primaryContent>.front-footer.front-footer #siteSectionLinks a{display:inline-flex!important;align-items:center!important;min-height:30px!important;white-space:nowrap!important;word-break:keep-all!important;padding:0!important;margin:0!important;font-size:13px!important}
@media(max-width:1040px){html body #cfHome#cfHome#cfHome#cfHome#cfHome #cfhCategories>a{padding:2px 0!important;white-space:nowrap!important;font-size:11px!important}html body #primaryContent#primaryContent#primaryContent>.front-footer.front-footer #siteSectionLinks{gap:8px 16px!important}}

/* Align the search and account panels without duplicating section margins. */
@media(min-width:1041px){
 html body.site-design.front-body #cfHome.hp-ready>.cfh-hero:not([hidden]){height:100%!important;align-self:stretch!important;display:flex!important;flex-direction:column!important;justify-content:space-between!important}
 html body.site-design.front-body #cfHome.hp-ready>#cfhAccount.cfh-panel:not([hidden]){display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px 8px!important;align-content:start!important}
 html body #cfHome #cfhAccount>*{grid-column:1/-1}
 html body #cfHome #cfhAccount>p,html body #cfHome #cfhAccount>.cfh-primary{margin:0!important}
 html body #cfHome #cfhAccount [data-safety-manage],html body #cfHome #cfhAccount [data-safety-reports]{grid-column:auto!important;display:flex!important;width:100%!important;min-height:38px!important;align-items:center!important;justify-content:center!important;padding:6px!important;margin:0!important;font-size:12px!important;line-height:1.4!important}
}

/* Keep the complete mobile brand inside the available header space. */
@media(max-width:1040px){
html body.site-design.front-body #fixedBrandHeader .logo{width:max-content!important;max-width:calc(100% - 100px)!important;min-width:0!important;gap:8px!important;height:auto!important}
html body.site-design.front-body #fixedBrandHeader .logo-icon{width:30px!important;height:30px!important;flex:0 0 30px!important}
html body.site-design.front-body #fixedBrandHeader .logo-text{width:auto!important;max-width:none!important;flex:0 1 auto!important;overflow:visible!important;text-overflow:clip!important;white-space:normal!important;font-size:18px!important;line-height:1.25!important;text-align:left!important}
}
/* Nearby cards share consistent image proportions and text baselines. */
html body.site-design.front-body #cfHome.hp-ready #caNearbyRecommendations .ca-nearby-grid{gap:12px!important;align-items:stretch!important}
html body.site-design.front-body #cfHome.hp-ready #caNearbyRecommendations .ca-nearby-grid>a{padding:8px!important;border-radius:10px!important;gap:8px!important;min-width:0!important}
html body.site-design.front-body #cfHome.hp-ready #caNearbyRecommendations .ca-nearby-grid img{display:block!important;width:100%!important;height:auto!important;aspect-ratio:3/2!important;object-fit:cover!important;border-radius:7px!important}
html body.site-design.front-body #cfHome.hp-ready #caNearbyRecommendations .ca-nearby-grid b{font-size:14px!important;line-height:1.45!important;min-height:2.9em!important;display:-webkit-box!important;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden!important;overflow-wrap:anywhere}
html body.site-design.front-body #cfHome.hp-ready #caNearbyRecommendations .ca-nearby-grid a>span:not(.mh-place-placeholder){margin-top:auto!important;font-size:12px!important;line-height:1.5!important}
@media(min-width:1041px){html body.site-design.front-body #cfHome.hp-ready #caNearbyRecommendations .ca-nearby-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important}}
/* Longer translated category names need room to wrap. */
@media(min-width:1041px){
html:is([lang^="en"],[lang^="ms"]) body #cfHome#cfHome#cfHome#cfHome#cfHome #cfhCategories{grid-template-columns:repeat(8,minmax(0,1fr))!important;gap:14px 6px!important}
html:is([lang^="en"],[lang^="ms"]) body #cfHome#cfHome#cfHome#cfHome#cfHome #cfhCategories>a{white-space:normal!important;min-height:76px!important;line-height:1.35!important;word-break:normal!important;overflow-wrap:normal!important}
html:is([lang^="en"],[lang^="ms"]) body #cfHome#cfHome#cfHome#cfHome#cfHome #cfhCategories>a::before{display:none!important}
}
