.business-profile {
    min-height: 600px;
    padding-bottom: 64px;
    background: #fff;
}

.business-cover {
    position: relative;
    display: flex;
    min-height: 295px;
    align-items: flex-end;
    overflow: hidden;
    background: linear-gradient(125deg, #123b66, #315f80 58%, #7892a2);
    color: #fff;
}

.business-cover__image {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.business-cover__image::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(9, 28, 47, .84), rgba(9, 28, 47, .18));
    content: "";
}

.business-cover__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.business-cover__content {
    position: relative;
    z-index: 1;
    padding-top: 38px;
    padding-bottom: 35px;
}

.business-cover__crumb {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 28px;
    color: rgba(255, 255, 255, .78);
    font-size: 12px;
}

.business-cover__crumb a { color: #fff; }

.business-cover__category {
    display: inline-flex;
    margin-bottom: 8px;
    padding: 5px 10px;
    border: 1px solid rgba(255, 255, 255, .35);
    border-radius: 20px;
    background: rgba(0, 0, 0, .18);
    font-size: 11px;
    font-weight: 700;
}

.business-cover h1 {
    max-width: 820px;
    margin: 0;
    color: #fff;
    font-size: clamp(30px, 5vw, 46px);
    font-weight: 800;
    letter-spacing: -.035em;
    text-shadow: 0 2px 14px rgba(0, 0, 0, .25);
}

.business-cover__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 17px;
    margin-top: 12px;
    color: rgba(255, 255, 255, .9);
    font-size: 13px;
}

.business-cover__meta > span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.business-rating > i,
.profile-review-summary > i { color: #ffbd4a; }
.business-rating span { color: rgba(255, 255, 255, .76); }

.business-profile__layout {
    display: grid;
    grid-template-columns: minmax(0, 1.75fr) minmax(270px, .85fr);
    align-items: start;
    gap: 30px;
    padding-top: 34px;
}

.business-profile__main { min-width: 0; }

.profile-section {
    padding: 0 0 27px;
    margin-bottom: 27px;
    border-bottom: 1px solid #e7edf2;
}

.profile-section > h2,
.profile-section__heading h2 {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 0 0 16px;
    color: #18334b;
    font-size: 19px;
    font-weight: 800;
}

.profile-section > h2 > .bi,
.profile-section__heading h2 > .bi {
    color: #e66d72;
    font-size: 17px;
}

.profile-gallery__hero {
    height: 315px;
    overflow: hidden;
    border-radius: 10px;
    background: #eef3f7;
}

.profile-gallery__hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-gallery__thumbs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 9px 1px 3px;
}

.profile-gallery__thumb {
    flex: 0 0 68px;
    width: 68px;
    height: 58px;
    overflow: hidden;
    padding: 0;
    border: 2px solid transparent;
    border-radius: 6px;
    background: #eef3f7;
    cursor: pointer;
}

.profile-gallery__thumb.is-active { border-color: #e66d72; }

.profile-gallery__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-features {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.profile-feature {
    display: grid;
    min-height: 88px;
    justify-items: center;
    align-content: center;
    gap: 8px;
    padding: 12px;
    border-radius: 9px;
    background: #f7f9fb;
    text-align: center;
}

.profile-feature > span {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border: 1px solid #d6e3ed;
    border-radius: 9px;
    color: #3677a9;
    font-size: 17px;
}

.profile-feature strong {
    color: #506276;
    font-size: 11px;
    font-weight: 700;
}

.profile-description {
    margin: 0;
    color: #596c7d;
    font-size: 14px;
    line-height: 1.85;
    white-space: pre-line;
    overflow-wrap: anywhere;
}

.profile-products {
    display: grid;
    gap: 10px;
}

.profile-product {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 13px;
    padding: 11px;
    border: 1px solid #e7edf2;
    border-radius: 9px;
}

.profile-product__image {
    display: grid;
    flex: 0 0 66px;
    width: 66px;
    height: 66px;
    place-items: center;
    border-radius: 7px;
    background: #f2f5f8;
    color: #91a0af;
    object-fit: cover;
    font-size: 19px;
}

.profile-product__body { min-width: 0; }

.profile-product__body h3 {
    margin: 0;
    color: #19354e;
    font-size: 14px;
    font-weight: 800;
}

.profile-product__body p {
    display: -webkit-box;
    overflow: hidden;
    margin: 4px 0;
    color: #687a8b;
    font-size: 12px;
    line-height: 1.5;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.profile-product__body strong {
    color: #1f608d;
    font-size: 12px;
}

.profile-video-link,
.profile-map {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    border: 1px solid #e7edf2;
    border-radius: 9px;
    color: #315a78;
}

.profile-video-link > .bi:first-child {
    color: #e45f63;
    font-size: 27px;
}

.profile-video-link > span { flex: 1; font-weight: 700; }
.profile-video-link:hover,
.profile-map:hover { border-color: #cbdbe7; background: #f8fafc; color: #1c4b70; }

.profile-map {
    min-height: 100px;
    background: linear-gradient(135deg, #e9f5f4, #f2f6f8);
}

.profile-map__pin {
    display: grid;
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 50%;
    background: #fff;
    color: #df6868;
    font-size: 20px;
    box-shadow: 0 3px 12px rgba(19, 54, 78, .1);
}

.profile-map > span:nth-child(2) { display: grid; flex: 1; gap: 4px; }
.profile-map strong { color: #294960; font-size: 13px; }
.profile-map small { color: #6b7d8b; font-size: 11px; line-height: 1.5; }
.profile-map .button { white-space: nowrap; }

.profile-section__heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.profile-section__heading h2 { margin-bottom: 5px; }
.profile-section__heading p { margin: 0; color: #738394; font-size: 12px; }
.profile-review-summary { color: #e99a32; font-weight: 800; }

.profile-review-list { display: grid; gap: 18px; }

.profile-review {
    display: flex;
    gap: 12px;
}

.profile-review__avatar {
    display: grid;
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    place-items: center;
    border-radius: 50%;
    background: #edf3f8;
    color: #52728b;
}

.profile-review__content { min-width: 0; flex: 1; }

.profile-review__heading {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.profile-review__heading strong { color: #29445b; font-size: 12px; }
.profile-review__heading time { color: #91a0ad; font-size: 10px; }
.profile-review__stars { display: flex; gap: 2px; margin-top: 4px; color: #e7a33c; font-size: 11px; }

.profile-review__content p {
    margin: 6px 0 0;
    color: #5f7181;
    font-size: 12px;
    line-height: 1.65;
    white-space: pre-line;
    overflow-wrap: anywhere;
}

.business-profile__aside {
    position: sticky;
    top: 18px;
    display: grid;
    gap: 14px;
}

.profile-card {
    padding: 21px;
    border: 1px solid #e7edf2;
    border-radius: 11px;
    background: #f7f9fb;
}

.profile-card__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #718395;
    font-size: 11px;
    font-weight: 700;
}

.profile-contact-card h2 {
    margin: 9px 0 4px;
    color: #19354e;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.35;
}

.profile-contact-card__category {
    margin: 0 0 16px;
    color: #718394;
    font-size: 11px;
}

.profile-contact-list {
    display: grid;
    gap: 13px;
}

.profile-contact-list > a,
.profile-contact-list > div {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 10px;
    color: inherit;
}

.profile-contact-list > a:hover strong { color: #24658d; }

.profile-contact-icon {
    display: grid;
    flex: 0 0 32px;
    width: 32px;
    height: 32px;
    place-items: center;
    border-radius: 50%;
    background: #eaf1f7;
    color: #46789d;
}

.profile-contact-list > a > span:last-child,
.profile-contact-list > div > span:last-child {
    display: grid;
    min-width: 0;
    gap: 3px;
}

.profile-contact-list small {
    color: #8a99a6;
    font-size: 10px;
}

.profile-contact-list strong {
    overflow-wrap: anywhere;
    color: #43596c;
    font-size: 11px;
    font-weight: 700;
}

.profile-contact-action {
    display: flex;
    min-height: 40px;
    justify-content: center;
    gap: 8px;
    margin-top: 17px;
    border-radius: 22px;
}

.profile-hours-card p {
    margin: 9px 0 0;
    color: #6f8090;
    font-size: 11px;
    line-height: 1.7;
}

.business-profile-empty {
    display: grid;
    justify-items: center;
    margin-top: 54px;
    padding: 48px 20px;
    border: 1px solid #e7edf2;
    border-radius: 14px;
    background: #fff;
    text-align: center;
}

.business-profile-empty__icon {
    display: grid;
    width: 58px;
    height: 58px;
    place-items: center;
    border-radius: 50%;
    background: #edf4fb;
    color: #28577d;
    font-size: 24px;
}

.business-profile-empty h1 {
    margin: 16px 0 6px;
    color: #18334b;
    font-size: 25px;
    font-weight: 800;
}

.business-profile-empty p {
    margin: 0 0 18px;
    color: #718394;
    font-size: 14px;
}

@media (max-width: 850px) {
    .business-profile__layout { grid-template-columns: minmax(0, 1fr) 270px; gap: 18px; }
    .profile-gallery__hero { height: 260px; }
}

@media (max-width: 680px) {
    .business-profile { padding-bottom: 42px; }
    .business-cover { min-height: 245px; }
    .business-cover__content { padding-top: 26px; padding-bottom: 25px; }
    .business-cover__crumb { margin-bottom: 20px; }
    .business-profile__layout { grid-template-columns: 1fr; padding-top: 22px; }
    .business-profile__aside { position: static; grid-row: 1; }
    .business-profile__layout--main-first .business-profile__aside { grid-row: auto; }
    .profile-card { padding: 18px; }
    .profile-gallery__hero { height: 240px; }
    .profile-section > h2,
    .profile-section__heading h2 { font-size: 17px; }
    .profile-features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 420px) {
    .profile-gallery__hero { height: 205px; }
    .profile-map { flex-wrap: wrap; }
    .profile-map .button { margin-left: 54px; }
}
