/* ==========================================================================
   Lokalizacja — single page frontend
   ========================================================================== */

.bp-location-single { background: var(--bs-body-bg); }

/* HERO */
.bp-location-hero {
    position: relative;
    overflow: hidden;
    color: #fff;
    background: linear-gradient(135deg, #1a1f3a 0%, #2d3561 100%);
    min-height: 320px;
}
.bp-location-hero__cover {
    position: absolute; inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.4;
}
.bp-location-hero__overlay {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.7) 100%);
}
.bp-location-hero .container { color: #fff; }
.bp-location-hero__breadcrumb .breadcrumb { --bs-breadcrumb-divider-color: rgba(255,255,255,0.4); }
.bp-location-hero__breadcrumb .breadcrumb-item,
.bp-location-hero__breadcrumb .breadcrumb-item a {
    color: rgba(255,255,255,0.75); text-decoration: none;
}
.bp-location-hero__breadcrumb .breadcrumb-item a:hover { color: #fff; }
.bp-location-hero__breadcrumb .breadcrumb-item.active { color: #fff; }
.bp-location-hero__breadcrumb .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,0.4); }

.bp-location-hero__badge {
    display: inline-flex; align-items: center; gap: 0.5rem;
    padding: 0.4rem 0.9rem;
    border-radius: var(--bp-radius-pill);
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(8px);
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 0.85rem;
}
.bp-location-hero__title {
    font-size: clamp(1.75rem, 4vw, 2.85rem);
    font-weight: 800;
    line-height: 1.15;
    margin: 0 0 0.5rem;
}
.bp-location-hero__address {
    font-size: 1.05rem;
    opacity: 0.9;
    margin: 0 0 0.5rem;
}
.bp-location-hero__address i { margin-right: 0.35rem; }
.bp-location-hero__lead {
    font-size: 1rem;
    opacity: 0.85;
    max-width: 680px;
    margin: 0.5rem 0;
}
.bp-location-hero__quick-actions {
    display: flex; gap: 0.5rem; flex-wrap: wrap;
}
.bp-location-hero__quick-actions .btn-light {
    background: rgba(255,255,255,0.95);
    border: 0;
    color: #1a1f3a;
}
.bp-location-hero__quick-actions .btn-light:hover { background: #fff; }

/* CONTENT cards */
.bp-location-card {
    background: var(--bs-body-bg);
    border: 1px solid var(--bs-border-color);
    border-radius: var(--bp-radius-card);
    padding: 1.5rem;
}
.bp-location-card__title {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0 0 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.bp-location-card__title i { color: var(--bs-primary); }

/* Map */
.bp-location-map {
    width: 100%;
    height: 380px;
    border-radius: var(--bp-radius-badge);
    overflow: hidden;
    background: var(--bs-tertiary-bg);
}

/* Opening hours table */
.bp-location-hours {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.4rem;
}
.bp-location-hours li {
    display: flex;
    justify-content: space-between;
    padding: 0.55rem 0.85rem;
    border-radius: var(--bp-radius-badge);
    transition: background 0.15s;
}
.bp-location-hours li:hover { background: var(--bs-tertiary-bg); }
.bp-location-hours li.is-today {
    background: rgba(99,102,241,0.08);
    font-weight: 600;
}
.bp-location-hours__day {
    flex-shrink: 0;
    width: 80px;
    color: var(--bs-secondary-color);
}
.bp-location-hours li.is-today .bp-location-hours__day {
    color: var(--bs-primary);
}
.bp-location-hours__time { font-family: ui-monospace, SFMono-Regular, monospace; }

/* Form */
.bp-location-card--form {
    background: linear-gradient(135deg, rgba(99,102,241,0.04), transparent);
    border-color: rgba(99,102,241,0.2);
}
.bp-location-form__honeypot {
    position: absolute;
    left: -9999px;
    opacity: 0;
    pointer-events: none;
}
.bp-location-form__status {
    font-size: 0.85rem;
    min-height: 1.2rem;
}
.bp-location-form__status.is-success { color: var(--bs-success); }
.bp-location-form__status.is-error { color: var(--bs-danger); }
.bp-location-form button[type="submit"][disabled] {
    opacity: 0.6;
    pointer-events: none;
}

@media (max-width: 991.98px) {
    .bp-location-form-wrap.sticky-top { position: static !important; }
}
