/* Public branches listing */
.branches-page { max-width: 1240px; margin: 0 auto; padding: 35px 0 28px; }
.branches-intro { max-width: 760px; margin: 0 auto 34px; text-align: center; }
.branches-kicker { color:#b88a2b; font-size:10px; font-weight:800; letter-spacing:2.5px; }
.branches-intro h1 { margin:10px 0 12px; color:#102b4c; font:400 clamp(31px,4vw,45px)/1.2 Georgia,serif; }
.branches-intro h1 em { color:#bd922f; font-weight:400; }
.branches-intro p { margin:0; color:#637084; font-size:14px; line-height:1.8; }
.branches-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:22px; }
.branch-card { overflow:hidden; background:#fff; border:1px solid #e8e2d7; box-shadow:0 8px 22px rgba(16,43,76,.06); }
.branch-photo { height:190px; background:#f0eee8; }
.branch-photo img { display:block; width:100%; height:100%; object-fit:cover; }
.branch-photo-placeholder { display:flex; align-items:center; justify-content:center; color:#c49a45; font-size:55px; background:linear-gradient(135deg,#f5f1e7,#e9e4d8); }
.branch-card-body { padding:20px; }
.branch-type { display:inline-block; padding:5px 9px; color:#8e681b; background:#fbf4e4; border-radius:20px; font-size:10px; font-weight:800; text-transform:uppercase; letter-spacing:.5px; }
.branch-card h2 { margin:11px 0 13px; color:#102b4c; font:600 22px Georgia,serif; }
.branch-address { display:flex; align-items:flex-start; gap:10px; color:#5d6a7c; }
.branch-address i { margin-top:4px; color:#bd922f; }
.branch-address p { margin:0; font-size:13px; line-height:1.7; }
.branch-contact-line { display:flex; gap:9px; align-items:center; margin-top:10px; color:#53647a; font-size:13px; text-decoration:none; }
.branch-contact-line i { color:#bd922f; }
.branch-contact-line:hover { color:#a77b25; }
.branch-map { margin-top:17px; border-top:1px solid #eee8dc; padding-top:13px; }
.branch-map summary { cursor:pointer; color:#9b7427; font-size:12px; font-weight:800; list-style:none; }
.branch-map summary::-webkit-details-marker { display:none; }
.branch-map summary i { margin-right:7px; }
.branch-map-frame { height:220px; margin-top:12px; overflow:hidden; border:1px solid #e5e8ec; }
.branch-map-frame iframe { width:100%; height:100%; border:0; display:block; }
.branches-empty { padding:55px 20px; text-align:center; background:#fff; border:1px solid #e8e2d7; }
.branches-empty i { color:#c49a45; font-size:36px; }
.branches-empty h2 { color:#102b4c; font:400 25px Georgia,serif; }
.branches-empty p { color:#637084; font-size:13px; }
.branches-closing { display:flex; align-items:center; justify-content:center; gap:16px; margin:34px auto 4px; color:#a77b25; text-align:center; }
.branches-closing span { width:65px; height:1px; background:#d9c79f; }
.branches-closing p { margin:0; font:italic 15px Georgia,serif; }

/* Admin branches form and table */
.branch-admin-check { display:flex; align-items:center; gap:9px; min-height:42px; padding:8px 12px; border:1px solid #dce2ea; border-radius:5px; background:#f8f9fb; }
.branch-admin-check input { width:16px; height:16px; accent-color:#d9a928; }
.branch-admin-check label { margin:0; font-size:12px; }
.branch-admin-form-actions { display:flex; gap:9px; margin-top:18px; }
.branch-admin-save,.branch-admin-cancel { display:inline-flex; align-items:center; justify-content:center; gap:7px; min-height:37px; padding:9px 15px; border:1px solid transparent; border-radius:5px; font:700 12px Arial,sans-serif; text-decoration:none; cursor:pointer; }
.branch-admin-save { color:#102747; background:#d9a928; border-color:#c4961d; }
.branch-admin-cancel { color:#526174; background:#eef1f5; border-color:#dce2ea; }
.branch-admin-list { margin-top:22px; }
.branch-admin-list-head { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:16px; }
.branch-admin-list-head h3 { margin:0; }
.branch-admin-list-head span { padding:6px 10px; color:#102747; background:#fff5d9; border-radius:18px; font-size:11px; font-weight:700; }
.branch-admin-table-wrap { width:100%; overflow-x:auto; }
.branch-admin-table { width:100%; min-width:900px; border-collapse:collapse; color:#344256; font-size:12px; }
.branch-admin-table th { padding:11px; text-align:left; color:#102747; background:#f0f3f7; border-bottom:1px solid #dce2ea; white-space:nowrap; }
.branch-admin-table td { padding:10px 11px; border-bottom:1px solid #e8ecf1; vertical-align:middle; }
.branch-admin-thumb,.branch-admin-no-photo { display:inline-flex; width:58px; height:48px; align-items:center; justify-content:center; object-fit:cover; border:1px solid #e1e6ee; border-radius:5px; }
.branch-admin-no-photo { color:#b18a37; background:#f5f2e9; font-size:20px; }
.branch-admin-address { max-width:260px; line-height:1.5; }
.branch-admin-status { display:inline-block; padding:5px 9px; border-radius:18px; font-size:10px; font-weight:700; }
.branch-admin-status.active { color:#16713a; background:#e8f7ed; }
.branch-admin-status.hidden { color:#7b5a12; background:#fff4d8; }
.branch-admin-actions { display:flex!important; flex-direction:row!important; align-items:center; gap:7px; white-space:nowrap; }
.branch-admin-actions form { display:inline-flex!important; margin:0!important; padding:0!important; }
.branch-admin-actions a,.branch-admin-actions button { display:inline-flex!important; align-items:center; justify-content:center; gap:6px; min-width:68px; min-height:31px; padding:7px 9px; border:1px solid #dce2ea; border-radius:5px; background:#fff; color:#26364b; font:700 11px Arial,sans-serif; text-decoration:none; cursor:pointer; white-space:nowrap; }
.branch-admin-actions button { color:#b42318; border-color:#efc3c0; }
.branch-admin-actions a:hover { border-color:#d9a928; background:#fff9e9; }
.branch-admin-actions button:hover { background:#fff0ef; }

@media(max-width:1000px) { .branches-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:650px) {
 .branches-page { padding:25px 0 20px; }
 .branches-grid { grid-template-columns:1fr; gap:15px; }
 .branch-photo { height:210px; }
 .branches-closing { gap:8px; }
 .branches-closing span { width:25px; }
 .branches-closing p { font-size:13px; }
 .branch-admin-list-head { align-items:flex-start; flex-direction:column; }
}
