/* The panel starts with the branch list; directions exist only in a detail. */
.fiat-home .fh-branch-panel [hidden]{display:none!important}
.fiat-home .fh-branch-list-view>h2{font-size:24px;line-height:1.2;margin:0 0 24px;color:#fff}
.fiat-home .fh-branch-list-view .fh-branch-cards{display:flex;flex-direction:column;gap:12px;max-height:480px!important;overflow-y:auto;padding:0 6px 0 0;scrollbar-width:thin}
.fiat-home .fh-branch-list-view .fh-branch-card{display:flex!important;align-items:center;gap:14px;width:100%;padding:16px;background:transparent;border:1px solid #ffffff80;border-radius:12px;color:#fff;text-align:left;cursor:pointer}
.fiat-home .fh-branch-list-view .fh-branch-card:hover{background:#ffffff12;border-color:white}
.fiat-home .fh-branch-list-view .fh-branch-pin{display:grid;width:40px;height:40px;place-items:center;background:white;border-radius:50%;flex-shrink:0}
.fiat-home .fh-branch-list-view .fh-branch-copy{display:flex;flex:1;min-width:0;gap:6px;font-size:14px;line-height:1.45}
.fiat-home .fh-branch-list-view .fh-branch-copy>strong{font-size:20px;line-height:1.2;margin:0}
.fiat-home .fh-branch-next{flex-shrink:0;filter:brightness(0) invert(1)}
.fiat-home .fh-branch-back{display:grid;place-items:center;width:44px;height:44px;border:1px solid white;border-radius:50%;background:transparent;padding:0;margin:0 0 24px;cursor:pointer}
.fiat-home .fh-branch-back .fh-icon{filter:brightness(0) invert(1)}
.fiat-home .fh-branch-detail-label{color:var(--fh-red);font-size:14px;font-weight:700;text-transform:uppercase;margin:0 0 20px}
.fiat-home .fh-branch-detail h3{font-size:clamp(28px,2.1vw,40px);line-height:1.15;color:white;margin:0 0 28px}
.fiat-home .fh-branch-detail .fh-branch-row{display:flex;align-items:flex-start;gap:18px;padding:20px 0;border-bottom:1px solid #ffffff80}
.fiat-home .fh-branch-detail .fh-branch-row:first-child{padding-top:0}
.fiat-home .fh-branch-detail .fh-branch-row:last-child{border-bottom:1px solid #ffffff80}
.fiat-home .fh-branch-detail .fh-branch-detail-icon{display:grid!important;place-items:center;width:44px;height:44px;border-radius:50%;background:white;flex-shrink:0;color:var(--fh-red);font-size:24px}
.fiat-home .fh-branch-detail .fh-branch-row>div{flex:1;min-width:0}
.fiat-home .fh-branch-detail h4{font-family:inherit;font-weight:700;font-size:16px;line-height:1.4;text-transform:uppercase;color:#bbb7bd;margin:0 0 6px}
.fiat-home .fh-branch-detail p,.fiat-home .fh-branch-hours{font-size:16px;line-height:1.5;margin:0;white-space:pre-line;overflow-wrap:anywhere}
.fiat-home .fh-branch-detail a:not(.fh-button){color:white;text-decoration:none}
.fiat-home .fh-branch-detail a:not(.fh-button):hover{text-decoration:underline}
.fiat-home .fh-branch-detail .fh-directions{margin-top:24px;min-height:56px;width:100%}
.fiat-home .fh-branch-panel :focus-visible{outline:2px solid white;outline-offset:3px}
@media(max-width:767px){
 .fiat-home .fh-branch-panel{padding:24px 20px}
 .fiat-home .fh-branch-list-view .fh-branch-cards{max-height:560px!important}
 .fiat-home .fh-branch-list-view .fh-branch-copy>strong{font-size:22px}
 .fiat-home .fh-branch-list-view .fh-branch-copy{font-size:15px}
 .fiat-home .fh-branch-detail-label{display:none}
 .fiat-home .fh-branch-detail h3{font-size:28px;margin-bottom:28px}
 .fiat-home .fh-branch-detail h4{font-size:16px;color:white}
 .fiat-home .fh-branch-detail .fh-branch-row{gap:16px;padding:20px 0}
 .fiat-home .fh-branch-detail .fh-branch-row:first-child{padding-top:0}
 .fiat-home .fh-branch-detail .fh-branch-detail-icon{width:44px;height:44px}
 .fiat-home .fh-branch-detail .fh-directions{min-height:60px;margin-top:28px}
}
