.bp {
    --bp-ink: #0b1b33;
    --bp-text: #3d4a5c;
    --bp-muted: #6b7686;
    --bp-line: #e6e9ef;
    --bp-soft: #f5f6f9;
    --bp-accent: #5166f7;
    --bp-accent-hover: #3f53e0;
    --bp-star: #f2a516;
    --bp-open: #12804a;
    --bp-closed: #c0352b;
    --bp-radius: 12px;
    padding: 24px 0 64px;
    color: var(--bp-text);
    background: #fff;
}

.bp h1,
.bp h2 {
    color: var(--bp-ink);
}

/* Header */
.bp-head--cover .bp-head-main {
    align-items: start;
    margin-top: 16px;
    padding: 0 24px;
}

.bp-cover {
    display: block;
    height: 260px;
    border-radius: 16px;
    overflow: hidden;
    background: var(--bp-soft);
}

.bp-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bp-head-main {
    position: relative;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 24px;
}

.bp-logo {
    width: 104px;
    height: 104px;
    border-radius: 20px;
    border: 1px solid var(--bp-line);
    background: #fff;
    object-fit: cover;
}

.bp-head--cover .bp-logo {
    margin-top: -64px;
    border: 4px solid #fff;
    box-shadow: 0 0 0 1px var(--bp-line);
}

.bp-head--cover .bp-actions {
    padding-top: 2px;
}

.bp-head-info {
    min-width: 0;
    padding-bottom: 2px;
}

.bp-title {
    margin: 0 0 8px;
    font-size: 30px;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: -0.01em;
    overflow-wrap: break-word;
}

.bp-title-note {
    font-size: 15px;
    font-weight: 500;
    color: var(--bp-muted);
}

.bp-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 16px;
    font-size: 14px;
}

.bp-meta-rating {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0;
    border: 0;
    background: none;
    color: var(--bp-ink);
    font-size: 14px;
}

.bp-meta-rating i {
    color: var(--bp-star);
}

.bp-meta-rating span {
    color: var(--bp-muted);
    text-decoration: underline;
    text-decoration-color: var(--bp-line);
    text-underline-offset: 3px;
}

.bp-meta-rating:hover span {
    color: var(--bp-ink);
    text-decoration-color: currentColor;
}

.bp-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--bp-muted);
}

a.bp-meta-item:hover {
    color: var(--bp-ink);
}

.bp-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
}

.bp-status::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: currentColor;
}

.bp-status--open {
    color: var(--bp-open);
}

.bp-status--closed {
    color: var(--bp-closed);
}


.bp-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
}

.bp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 44px;
    padding: 0 18px;
    border-radius: 10px;
    border: 1px solid transparent;
    font-size: 15px;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
    transition: background-color .15s, border-color .15s, color .15s;
}

.bp-btn--secondary {
    background: #fff;
    border-color: var(--bp-line);
    color: var(--bp-ink);
}

.bp-btn--secondary:hover {
    border-color: var(--bp-ink);
    color: var(--bp-ink);
}

.bp-socials {
    display: flex;
    gap: 4px;
    margin-left: 4px;
}

.bp-socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 44px;
    color: var(--bp-muted);
    font-size: 17px;
    border-radius: 10px;
}

.bp-socials a:hover {
    color: var(--bp-ink);
    background: var(--bp-soft);
}

.bp-socials--card {
    display: none;
}

/* Section tabs */
.bp-tabs {
    position: sticky;
    top: 0;
    z-index: 20;
    margin-top: 28px;
    background: #fff;
    border-bottom: 1px solid var(--bp-line);
}

.bp-tabs-inner {
    display: flex;
    gap: 28px;
    overflow-x: auto;
    scrollbar-width: none;
}

.bp-tabs-inner::-webkit-scrollbar {
    display: none;
}

.bp-tabs a {
    flex-shrink: 0;
    padding: 16px 0 14px;
    border-bottom: 2px solid transparent;
    color: var(--bp-muted);
    font-size: 15px;
    font-weight: 500;
}

.bp-tabs a:hover {
    color: var(--bp-ink);
}

.bp-tabs a.is-active {
    border-bottom-color: var(--bp-ink);
    color: var(--bp-ink);
}

/* Body */
.bp-body {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 48px;
    align-items: start;
}

.bp-section {
    padding: 36px 0;
    border-bottom: 1px solid var(--bp-line);
    scroll-margin-top: 64px;
}

.bp-section:last-child {
    border-bottom: 0;
}

.bp-h2 {
    margin: 0 0 20px;
    font-size: 21px;
    font-weight: 700;
    line-height: 1.3;
}

.bp-h2 span {
    margin-left: 6px;
    color: var(--bp-muted);
    font-weight: 500;
}

/* Services */
.bp-services {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.bp-service {
    display: flex;
    flex-direction: column;
    color: var(--bp-text);
}

.bp-service-img {
    display: block;
    aspect-ratio: 4 / 3;
    border-radius: var(--bp-radius);
    overflow: hidden;
    background: var(--bp-soft);
}

.bp-service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s;
}

.bp-service:hover .bp-service-img img {
    transform: scale(1.03);
}

.bp-service-body {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-top: 12px;
}

.bp-service-cat {
    color: var(--bp-muted);
    font-size: 13px;
}

.bp-service-title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: var(--bp-ink);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
}

.bp-service:hover .bp-service-title {
    color: var(--bp-accent);
}

.bp-service-rating {
    font-size: 13px;
    color: var(--bp-muted);
}

.bp-service-rating i {
    color: var(--bp-star);
}

.bp-service-rating strong {
    color: var(--bp-ink);
}

/* About */
.bp-about[data-collapsed="true"] {
    max-height: 320px;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(#000 70%, transparent);
    mask-image: linear-gradient(#000 70%, transparent);
}

.bp-about-text {
    font-size: 16px;
    line-height: 1.7;
    color: var(--bp-text);
}

.bp-about-text > :last-child {
    margin-bottom: 0;
}

.bp-link {
    margin-top: 12px;
    padding: 0;
    border: 0;
    background: none;
    color: var(--bp-ink);
    font-size: 15px;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.bp-link:hover {
    color: var(--bp-accent);
}

/* Gallery */
.bp-gallery {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
}

.bp-gallery--mosaic {
    grid-template-rows: repeat(2, 1fr);
}

.bp-gallery--mosaic .bp-photo:first-child {
    grid-column: span 2;
    grid-row: span 2;
}

.bp-photo {
    position: relative;
    display: block;
    aspect-ratio: 1;
    border-radius: 8px;
    overflow: hidden;
    background: var(--bp-soft);
}

.bp-gallery--mosaic .bp-photo:first-child {
    aspect-ratio: auto;
}

.bp-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity .2s;
}

.bp-photo:hover img {
    opacity: .9;
}

.bp-photo-more {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(11, 27, 51, .55);
    color: #fff;
    font-size: 22px;
    font-weight: 600;
}

.bp-photo-more--mobile {
    display: none;
}

/* Reviews */
.bp-reviews {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 40px;
}

.bp-score-value {
    color: var(--bp-ink);
    font-size: 48px;
    font-weight: 700;
    line-height: 1;
}

.bp-stars {
    --percent: calc(var(--rating) / 5 * 100%);
    display: inline-block;
    margin: 10px 0 4px;
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 16px;
    letter-spacing: 3px;
    line-height: 1;
}

.bp-stars::before {
    content: "\f005\f005\f005\f005\f005";
    background: linear-gradient(90deg, var(--bp-star) var(--percent), #dde1e8 var(--percent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.bp-stars--sm {
    margin: 0 0 0 auto;
    font-size: 12px;
    letter-spacing: 2px;
}

.bp-score-count {
    color: var(--bp-muted);
    font-size: 14px;
}

.bp-bars {
    margin: 20px 0 0;
    padding: 0;
    list-style: none;
}

.bp-bars li {
    display: grid;
    grid-template-columns: 12px 1fr 28px;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
    color: var(--bp-muted);
    font-size: 13px;
}

.bp-bars li span:last-child {
    text-align: right;
}

.bp-bar {
    height: 6px;
    border-radius: 3px;
    background: var(--bp-soft);
    overflow: hidden;
}

.bp-bar span {
    display: block;
    height: 100%;
    background: var(--bp-star);
}

.bp-review {
    padding: 0 0 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--bp-line);
}

.bp-review-head {
    display: flex;
    align-items: center;
    gap: 12px;
}

.bp-review-head img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.bp-review-name {
    color: var(--bp-ink);
    font-size: 15px;
    font-weight: 600;
}

.bp-review-date {
    color: var(--bp-muted);
    font-size: 13px;
}

.bp-review-service {
    margin-top: 12px;
    color: var(--bp-muted);
    font-size: 13px;
}

.bp-review-text {
    margin-top: 6px;
    font-size: 15px;
    line-height: 1.6;
}

.bp-review-text p {
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: var(--bp-text);
}

.bp-review-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
}

.bp-review-actions .bp-link {
    margin-top: 0;
}

.bp-empty {
    padding: 28px;
    border: 1px dashed var(--bp-line);
    border-radius: var(--bp-radius);
    text-align: center;
}

.bp-empty p {
    margin-bottom: 16px;
    color: var(--bp-muted);
}

/* Contacts */
.bp-aside {
    position: sticky;
    top: 76px;
    padding-top: 36px;
    scroll-margin-top: 64px;
}

.bp-aside.is-static {
    position: static;
}

.bp-card {
    padding: 20px;
    border: 1px solid var(--bp-line);
    border-radius: 16px;
    background: #fff;
}

.bp-card-title {
    margin: 0 0 4px;
    font-size: 17px;
    font-weight: 700;
}

.bp-branch {
    padding: 14px 0;
    border-bottom: 1px solid var(--bp-line);
}

.bp-branch-address {
    display: flex;
    gap: 10px;
    width: 100%;
    margin-bottom: 8px;
    padding: 0;
    border: 0;
    background: none;
    color: var(--bp-ink);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.45;
    text-align: left;
}

.bp-branch-address i {
    margin-top: 3px;
    color: var(--bp-muted);
}

.bp-branch-address:hover span {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.bp-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 36px;
}

.bp-row a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--bp-ink);
    font-size: 15px;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

.bp-row a i,
.bp-hours summary > i:first-child {
    width: 14px;
    color: var(--bp-muted);
    font-size: 13px;
    text-align: center;
}

.bp-row a:hover {
    color: var(--bp-accent);
}

.bp-icon-btn {
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 8px;
    background: none;
    color: var(--bp-muted);
}

.bp-icon-btn:hover {
    background: var(--bp-soft);
    color: var(--bp-ink);
}

.bp-chat {
    display: flex;
    gap: 8px;
    margin: 8px 0 4px;
}

.bp-chat-btn {
    display: inline-flex;
    flex: 1;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 38px;
    border: 1px solid var(--bp-line);
    border-radius: 10px;
    color: var(--bp-ink);
    font-size: 14px;
    font-weight: 600;
}

.bp-chat-btn:hover {
    border-color: var(--bp-ink);
    color: var(--bp-ink);
}

.bp-hours {
    margin-top: 8px;
}

.bp-hours summary {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 36px;
    cursor: pointer;
    list-style: none;
    font-size: 14px;
}

.bp-hours summary::-webkit-details-marker {
    display: none;
}

.bp-hours-today {
    flex: 1;
    color: var(--bp-text);
}

.bp-hours-chevron {
    color: var(--bp-muted);
    font-size: 11px;
    transition: transform .2s;
}

.bp-hours[open] .bp-hours-chevron {
    transform: rotate(180deg);
}

.bp-hours ul {
    margin: 4px 0 0 24px;
    padding: 0;
    list-style: none;
}

.bp-hours li {
    display: flex;
    justify-content: space-between;
    padding: 4px 0;
    font-size: 14px;
    font-variant-numeric: tabular-nums;
}

.bp-hours li.is-today {
    color: var(--bp-ink);
    font-weight: 600;
}

.bp-muted {
    color: var(--bp-muted);
}

.bp-notice {
    margin: 12px 0;
    padding: 12px 14px;
    border-radius: 10px;
    background: #fdf1f0;
    color: var(--bp-closed);
    font-size: 14px;
}

.bp-map {
    height: 200px;
    margin-top: 16px;
    border-radius: 10px;
    overflow: hidden;
    z-index: 0;
}

/* Tablet */
@media (max-width: 1199px) {
    .bp-body {
        grid-template-columns: minmax(0, 1fr) 320px;
        gap: 32px;
    }

    .bp-services {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .bp-head-main {
        grid-template-columns: auto 1fr;
    }

    .bp-actions {
        grid-column: 1 / -1;
        justify-content: flex-start;
    }

}

@media (max-width: 991px) {
    .bp-body {
        grid-template-columns: minmax(0, 1fr);
        gap: 0;
    }

    .bp-aside {
        position: static;
        padding: 36px 0 0;
        border-top: 1px solid var(--bp-line);
    }

    .bp-section:last-child {
        border-bottom: 0;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .bp {
        padding: 12px 0 96px;
    }

    .bp-cover {
        height: 168px;
        border-radius: 12px;
    }

    .bp-head--cover .bp-head-main {
        margin-top: 0;
        padding: 0;
        gap: 12px;
    }

    .bp-head--cover .bp-logo {
        margin: -38px 0 0 12px;
    }

    .bp-head-main {
        grid-template-columns: 1fr;
        align-items: start;
        gap: 14px;
    }

    .bp-logo {
        width: 76px;
        height: 76px;
        border-radius: 16px;
    }

    .bp-head--cover .bp-head-info,
    .bp-head--cover .bp-actions {
        padding: 0;
    }

    .bp-title {
        font-size: 23px;
    }

    .bp-actions {
        grid-column: auto;
    }

    .bp-actions .bp-btn {
        flex: 1 1 auto;
    }

    .bp-socials {
        flex-wrap: wrap;
        gap: 8px;
        width: 100%;
        margin: 4px 0 0;
    }

    .bp-socials a {
        width: 44px;
        border: 1px solid var(--bp-line);
        color: var(--bp-ink);
    }

    .bp-socials--desktop {
        display: none;
    }

    .bp-socials--card {
        display: flex;
        margin-top: 16px;
    }

    .bp-tabs {
        margin-top: 20px;
    }

    .bp-tabs-inner {
        gap: 22px;
    }

    .bp-section {
        padding: 28px 0;
    }

    .bp-h2 {
        font-size: 19px;
        margin-bottom: 16px;
    }

    .bp-services {
        display: flex;
        gap: 12px;
        margin: 0 -12px;
        padding: 0 12px 4px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-padding-inline: 12px;
        scrollbar-width: none;
    }

    .bp-services::-webkit-scrollbar {
        display: none;
    }

    .bp-services::after {
        content: "";
        flex: 0 0 1px;
    }

    .bp-service {
        flex: 0 0 72%;
        scroll-snap-align: start;
    }

    .bp-gallery,
    .bp-gallery--mosaic {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        grid-template-rows: none;
    }

    .bp-gallery--mosaic .bp-photo:first-child {
        grid-column: 1 / -1;
        grid-row: auto;
        aspect-ratio: 16 / 10;
    }

    .bp-gallery--mosaic .bp-photo:nth-child(5) {
        display: none;
    }

    .bp-photo-more--mobile {
        display: flex;
    }

    .bp-photo-more--desktop {
        display: none;
    }

    .bp-reviews {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .bp-card {
        padding: 16px;
    }
}

/* Mobile contact bar (shared widget, flattened on this page) */
.mobile-contact-trigger,
.mobile-contact-trigger:hover {
    background: var(--bp-accent, #5166f7);
    border-radius: 12px;
    box-shadow: 0 6px 16px rgba(11, 27, 51, .18);
    letter-spacing: 0;
}

.mobile-contact-trigger::before,
.mobile-contact-trigger::after {
    display: none;
}
