.branches-app,.branch-detail-app{width:min(760px,100%);padding:20px 14px 120px}.branches-head{margin-bottom:16px}.branches-nearest{margin-bottom:12px}.branch-card-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.branch-card{overflow:hidden;}.branch-card.is-nearest{border-color:#d99a43;box-shadow:0 0 0 3px #d99a4322,0 15px 35px #0004}.branch-card__image{position:relative;display:grid;height:175px;overflow:hidden;background:radial-gradient(circle,#3a2b18,#171a1d 70%);color:#d7a04c;text-decoration:none;place-items:center}.branch-card__image img{width:100%;height:100%;object-fit:cover}.branch-card__image>span{font-size:52px}.branch-card__image small{position:absolute;right:12px;bottom:12px;padding:6px 10px;border:1px solid #ffffff26;border-radius:99px;background:#111b;color:#fff;font-size:9px;backdrop-filter:blur(8px)}.branch-card__body{display:grid;gap:9px;padding:15px}.branch-card__body>a{text-decoration:none}.branch-card h2{margin:0;color:#f4f5f6}.branch-card p{display:-webkit-box;margin:0;overflow:hidden;color:#90969a;font-size:10px;line-height:1.9;-webkit-box-orient:vertical;-webkit-line-clamp:2}.branch-rating{display:flex;align-items:center;gap:7px;flex-wrap:wrap}.branch-rating>span{color:#dda650;font-size:12px;letter-spacing:1px}.branch-rating>strong{color:#f2f3f4;font-size:11px}.branch-rating>small{color:#777e83;font-size:8px}.branch-card footer{display:flex;align-items:center;justify-content:space-between;gap:8px;padding-top:9px;border-top:1px solid #ffffff0c}.branch-card footer a{color:#dda650;text-decoration:none;font-size:9px;font-weight:800}.branch-card footer b{color:#71c992;font-size:8px}.branch-hero{display:grid;grid-template-columns:190px minmax(0,1fr);align-items:center;gap:18px;overflow:hidden;padding:16px;border:1px solid #59452a;border-radius:25px;background:radial-gradient(circle at 90% 0,#4b3822 0,transparent 34%),linear-gradient(145deg,#26211a,#121518 70%)}.branch-hero__image{display:grid;height:150px;overflow:hidden;border:1px solid #5b472c;border-radius:18px;background:#171a1d;color:#d7a04c;font-size:50px;place-items:center}.branch-hero__image img{width:100%;height:100%;object-fit:cover}.branch-hero__content small{color:#a88654;font-size:9px}.branch-hero__content h2{margin:4px 0 12px}.branch-rating--large>span{font-size:16px}.branch-rating--large>strong{font-size:15px}.branch-info-panel,.branch-gallery,.branch-reviews{margin-top:14px;padding:17px;border:1px solid #303438;border-radius:20px;background:#15181a}.branch-info-panel h2,.branch-gallery h2,.branch-reviews h2,.branch-review-form h2{margin:0}.branch-description{margin-top:10px;color:#b9bdc0;font-size:var(--eb-type-body);line-height:1.75}.branch-description p{margin:0}.branch-facts{display:grid;gap:8px;margin-top:12px}.branch-facts>div{display:grid;grid-template-columns:90px minmax(0,1fr);gap:10px;padding:10px;border-radius:12px;background:#ffffff05}.branch-facts span{color:#797f84;font-size:8px}.branch-facts strong,.branch-facts a{color:#e8eaeb;text-decoration:none;font-size:10px}.branch-facts .branch-phone-action{display:inline-flex;align-items:center;justify-content:flex-start;gap:7px;width:max-content;max-width:100%;min-height:38px;padding:7px 11px;border:1px solid #704f22;border-radius:10px;background:linear-gradient(135deg,#302416,#211a12);color:#f2bd68;box-shadow:0 5px 14px #0002}.branch-phone-action svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.branch-phone-action strong{color:inherit;font-size:11px}.branch-phone-action small{padding-right:2px;color:#c9954b;font-size:8px;font-weight:700}.branch-map-actions{display:flex;gap:7px;flex-wrap:wrap;margin-top:12px}.branch-map-actions a{padding:8px 12px;border:1px solid #594322;border-radius:10px;background:#271f15;color:#e5b363;text-decoration:none;font-size:9px}.branch-gallery>header,.branch-reviews>header{display:flex;align-items:center;justify-content:space-between;gap:12px}.branch-gallery>header>span{color:#7c8387;font-size:8px}.branch-gallery>div{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:12px}.branch-gallery a{display:block;height:110px;overflow:hidden;border-radius:13px}.branch-gallery img{width:100%;height:100%;object-fit:cover}.branch-reviews>header p{margin:3px 0 0;color:#7c8387;font-size:8px}.branch-reviews>header>strong{display:grid;color:#e5ae58;font-size:24px;text-align:center}.branch-reviews>header>strong small{color:#777e82;font-size:7px}.branch-review-list{display:grid;gap:9px;margin-top:12px}.branch-review-list>article{padding:13px;border:1px solid #2c3034;border-radius:14px;background:#101315}.branch-review-list article>div{display:flex;align-items:center;justify-content:space-between;gap:10px}.branch-review-list article strong{font-size:10px}.branch-review-list article span{color:#dda650;font-size:11px;letter-spacing:1px}.branch-review-list article p{margin:9px 0;color:#c9ccce;font-size:10px;line-height:1.9}.branch-review-list article small{color:#70777b;font-size:8px}.branch-review-form form{display:grid;gap:12px}.branch-review-form fieldset{margin:0;padding:11px;border:1px solid #303438;border-radius:12px}.branch-review-form legend{padding:0 6px;color:#9aa0a4;font-size:9px}.branch-rating-input{display:flex;gap:6px;flex-wrap:wrap}.branch-rating-input input{position:absolute;opacity:0}.branch-rating-input span{display:block;padding:7px 10px;border:1px solid #3a3e42;border-radius:9px;color:#8a9094;font-size:9px;cursor:pointer}.branch-rating-input label:has(input:checked) span{border-color:#d59a43;background:#2a2115;color:#efbd6f}.branch-review-form textarea{width:100%;resize:vertical}.branch-review-form>a.feature-primary{display:grid;place-items:center}@media(max-width:620px){.branch-card-grid{grid-template-columns:1fr}.branch-card__image{height:190px}.branch-hero{grid-template-columns:115px minmax(0,1fr);gap:12px;padding:12px}.branch-hero__image{height:115px}.branch-gallery>div{grid-template-columns:repeat(2,minmax(0,1fr))}.branch-gallery a{height:100px}}

/* Branch-specific composition of the existing completed-inspection feedback handler. */
.branch-service-feedback{width:min(100% - 32px,528px);margin:20px auto 100px;padding:16px}
.branch-service-feedback>h2{margin:0;color:var(--eb-text)}
.branch-service-feedback>p{margin:4px 0 12px;color:var(--eb-muted);font-size:12px}
.branch-service-feedback__form{display:grid;gap:12px}
.branch-service-feedback__rating{border:0;margin:0;padding:0}
.branch-service-feedback__rating legend{margin-bottom:8px;font-size:12px;font-weight:700;color:var(--eb-text)}
.branch-service-feedback__rating label{display:inline-flex;align-items:center;gap:4px;min-height:40px;margin-left:8px;font-size:12px}
.branch-service-feedback__form .eb-btn{width:100%}

/* Branch location permission guidance: layout only, using shared card and CTA.
 * Removed the legacy inline dark palette from page-branches.php. */
.branches-location-help{display:grid;grid-template-columns:40px minmax(0,1fr);gap:12px;align-items:start;margin:0 0 16px;padding:16px;background:var(--eb-surface-soft)}
.branches-location-help[hidden]{display:none}
.branches-location-help__icon{display:grid;place-items:center;width:40px;height:40px;border-radius:12px;background:var(--eb-primary-soft);color:var(--eb-primary)}
.branches-location-help__copy strong{color:var(--eb-text)}
.branches-location-help__copy p{margin:4px 0 0;color:var(--eb-muted);line-height:1.75}
.branches-location-retry{grid-column:1/-1;width:100%}
.branches-location-help details{grid-column:1/-1;padding-top:8px;border-top:1px solid var(--eb-border);color:var(--eb-muted);line-height:1.75}
.branches-location-help summary{color:var(--eb-text);font-weight:700;cursor:pointer}
.branches-location-help ol{margin:8px 0;padding-right:20px}
.branches-location-help details p{margin:8px 0 0}
