/* Filial səhifəsi (/office/{id}) */
.sc-office-hero { text-align: left; }
.sc-office-hero .sc-container { display: grid; justify-items: start; gap: 8px; }
.sc-office-hero h1 { margin: 0; }
.sc-office-hero__back { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 700; color: rgba(255, 255, 255, .92); }
.sc-office-hero__back:hover { color: #fff; text-decoration: underline; }
.sc-office-hero__back svg { width: 16px; height: 16px; }
.sc-office-hero__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; font-size: 14px; font-weight: 600; }
.sc-office-hero__meta > span:first-child { display: inline-flex; align-items: center; gap: 6px; }
.sc-office-hero__meta svg { width: 16px; height: 16px; }
.sc-office-status { display: inline-flex; align-items: center; gap: 7px; padding: 4px 12px; border-radius: 999px; background: rgba(0, 0, 0, .18); font-size: 13px; font-weight: 700; }
.sc-office-status i { width: 8px; height: 8px; border-radius: 50%; background: #FFB4B3; }
.sc-office-status.is-open { background: rgba(255, 255, 255, .95); color: var(--sc-success); }
.sc-office-status.is-open i { background: var(--sc-success); box-shadow: 0 0 0 3px var(--sc-success-bg); }

.sc-office { display: grid; gap: 16px; padding-top: 24px; padding-bottom: 48px; }
.sc-office__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.sc-office__box { padding: 20px 22px; border: 1px solid var(--sc-line); border-radius: 22px; background: var(--sc-surface); box-shadow: var(--sc-shadow-card); }
.sc-office__box h2 { margin: 0 0 12px; font-size: 12.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--sc-text-muted); }
.sc-office__rows { margin: 0; }
.sc-office__rows > div { display: grid; grid-template-columns: 40px minmax(0, 1fr); column-gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--sc-line); }
.sc-office__rows > div:last-child { border-bottom: 0; }
.sc-office__ico { grid-row: span 2; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--sc-icon-chip-bg); color: var(--sc-accent); }
.sc-office__ico svg { width: 18px; height: 18px; }
.sc-office__rows dt { font-size: 12px; font-weight: 700; color: var(--sc-text-muted); }
.sc-office__rows dd { margin: 0; font-size: 15.5px; font-weight: 700; overflow-wrap: anywhere; }
.sc-office__rows dd a { color: inherit; }
.sc-office__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.sc-office__actions .sc-btn svg { width: 16px; height: 16px; }

.sc-office__week { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.sc-office__week td { padding: 8px 10px; border-bottom: 1px solid var(--sc-line); }
.sc-office__week tr:last-child td { border-bottom: 0; }
.sc-office__week td:last-child { text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; }
.sc-office__week tr.is-today td { background: var(--sc-icon-chip-bg); color: var(--sc-accent); font-weight: 800; }
.sc-office__week tr.is-today td:first-child { border-radius: 10px 0 0 10px; }
.sc-office__week tr.is-today td:last-child { border-radius: 0 10px 10px 0; }
.sc-office__week .is-closed { color: var(--sc-text-muted); font-weight: 500; }

.sc-office__photos { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.sc-office__photos img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 16px; background: var(--sc-bg); }
.sc-office__map { display: block; width: 100%; height: 320px; border: 0; border-radius: 14px; }
.sc-office__qr { display: flex; align-items: center; gap: 16px; margin-top: 16px; }
.sc-office__qr-code { flex: none; padding: 8px; border: 1px solid var(--sc-line); border-radius: 12px; background: #fff; line-height: 0; }
.sc-office__qr-code svg { width: 110px; height: 110px; }
.sc-office__qr p { margin: 0; font-size: 14px; color: var(--sc-text-muted); }

@media (max-width: 800px) {
    .sc-office__grid { grid-template-columns: minmax(0, 1fr); }
    .sc-office__box { padding: 18px 16px; }
}
