/* Profile-only styling. */
.fp-profile {
    --fp-yellow: #ffbf00;
    --fp-nav-offset: 0px;
    max-width: 1180px;
    margin: 0 auto;
    padding: 20px 20px 140px;
    color: #161616;
}

    .fp-profile *, .fp-profile *::before, .fp-profile *::after {
        box-sizing: border-box;
    }

    .fp-profile [hidden] {
        display: none !important;
    }

    .fp-profile a {
        color: inherit;
        text-decoration: none;
    }

    .fp-profile button {
        font: inherit;
        cursor: pointer;
    }

    .fp-profile :focus-visible {
        outline: 3px solid #111;
        outline-offset: 4px;
    }

.fp-hero {
    position: relative;
    height: 430px;
    border-radius: 26px;
    overflow: hidden;
    background: #222;
    display: flex;
    justify-content: center;
    align-items: center;
}

.fp-cover-placeholder {
    font-size: 70px;
    color: #ffbf00;
}

.fp-cover {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fp-hero-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,#0007,transparent 45%,#0002);
    pointer-events: none;
}

.fp-hero-top {
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: white;
    font-size: 15px;
    font-weight: 700;
}

    .fp-hero-top a, .fp-hero-top button {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        border: 1px solid #ffffff50;
        background: #0003;
        color: white;
        border-radius: 50%;
    }

.fp-sheet {
    position: relative;
    margin: -55px 24px 0;
    border-radius: 30px 30px 18px 18px;
    background: white;
    box-shadow: 0 10px 40px #00000008;
}

.fp-heading {
    padding: 26px 28px 20px;
}

.fp-eyebrow {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.2px;
    color: #707070;
    margin: 0 0 8px;
}

.fp-heading h1 {
    margin: 0;
    font-size: 28px;
    font-weight: 800;
    line-height: 1.2;
    overflow-wrap: anywhere;
}

.fp-address {
    display: flex;
    gap: 8px;
    margin: 10px 0 0;
    color: #777;
    font-size: 12px;
    line-height: 1.6;
}

    .fp-address i {
        color: var(--fp-yellow);
        margin-top: 3px;
        flex-shrink: 0;
    }

.fp-tagline {
    font-size: 13px;
    margin: 8px 0 0;
    color: #444;
    overflow-wrap: anywhere;
}

.fp-tabs {
    display: flex;
    gap: 25px;
    padding: 0 28px;
    border-bottom: 1px solid #eee;
}

    .fp-tabs a {
        display: flex;
        gap: 8px;
        align-items: center;
        padding: 14px 2px;
        font-size: 13px;
        font-weight: 700;
        border-bottom: 3px solid transparent;
        color: #777;
    }

        .fp-tabs a.is-active {
            color: #111;
            border-color: var(--fp-yellow);
        }

    .fp-tabs span {
        font-size: 10px;
        background: #f3f3f3;
        border-radius: 99px;
        padding: 2px 7px;
    }

.fp-body {
    padding: 24px 28px;
}

.fp-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(65px,1fr));
    gap: 12px;
    max-width: 420px;
    margin: 0 0 24px;
}

    .fp-actions a, .fp-actions button {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 8px;
        min-height: 72px;
        border: 0;
        border-radius: 12px;
        background: #fff7df;
        color: #111;
        font-size: 11px;
    }

    .fp-actions i {
        font-size: 19px;
    }

    .fp-actions a:hover, .fp-actions button:hover {
        background: #ffecb0;
    }

.fp-overview-columns {
    display: grid;
    grid-template-columns: minmax(0,1.4fr) minmax(0,1fr);
    gap: 32px;
}

.fp-section {
    margin: 0 0 26px;
    min-width: 0;
}

    .fp-section h2, .fp-section-title h2 {
        font-size: 17px;
        font-weight: 800;
        margin: 0 0 10px;
    }

.fp-description, .fp-muted {
    font-size: 13px;
    line-height: 1.7;
    color: #666;
    margin: 0;
    overflow-wrap: anywhere;
}

.fp-description {
    white-space: pre-line;
}

    .fp-description.is-collapsed {
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 4;
        overflow: hidden;
    }

.fp-text-button {
    background: transparent;
    border: 0;
    border-bottom: 2px solid var(--fp-yellow);
    padding: 8px 0 3px;
    color: #111;
    font-weight: 700 !important;
    font-size: 12px !important;
}

.fp-section-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

    .fp-section-title h2 {
        margin: 0;
    }

    .fp-section-title > span {
        font-size: 11px;
        color: #777;
    }

.fp-gallery {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    grid-auto-rows: 100px;
    gap: 7px;
}

.fp-gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f1f1f1;
    color: #777 !important;
    font-size: 25px;
}

    .fp-gallery-item:first-child {
        grid-column: span 2;
        grid-row: span 2;
    }

    .fp-gallery-item:nth-child(6n) {
        grid-column: span 2;
    }

    .fp-gallery-item:only-child {
        grid-column: 1 / -1;
    }

    .fp-gallery-item img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.fp-directions-card {
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid #f0e4bc;
    padding: 18px 14px;
    border-radius: 14px;
    background: #fff9e9;
    margin-bottom: 20px;
}

.fp-pin {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--fp-yellow);
    font-size: 20px;
}

.fp-directions-card strong {
    display: block;
    font-size: 12px;
}

.fp-directions-card small {
    display: block;
    margin-top: 5px;
    font-size: 10px;
    color: #666;
}

.fp-directions-card > i {
    margin-left: auto;
    font-size: 12px;
}

.fp-location-address h3, .fp-hours-title {
    font-size: 13px;
    font-weight: 700;
    margin: 0 0 8px;
}

.fp-location-address p {
    font-size: 12px;
    color: #777;
    line-height: 1.6;
    margin: 0 0 20px;
}

.fp-hours-note {
    color: #888;
    font-size: 10px;
    line-height: 1.5;
    margin: 0 0 10px;
}

.fp-hours {
    margin: 0 0 12px;
}

    .fp-hours > div {
        display: flex;
        justify-content: space-between;
        gap: 10px;
        padding: 9px 7px;
        border-bottom: 1px solid #f3f3f3;
        font-size: 11px;
    }

    .fp-hours dt {
        font-weight: 500;
    }

        .fp-hours dt span {
            display: inline-block;
            margin-left: 4px;
            font-size: 9px;
            color: #666;
        }

    .fp-hours dd {
        color: #666;
        margin: 0;
        text-align: right;
    }

    .fp-hours .is-today {
        background: #fff8e0;
        border-radius: 7px;
    }

.fp-services-note {
    margin-bottom: 18px;
}

.fp-service-list {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 15px;
}

.fp-service-card {
    display: flex;
    gap: 14px;
    padding: 14px;
    border: 1px solid #eee;
    border-radius: 16px;
    box-shadow: 0 5px 18px #00000005;
    min-width: 0;
}

.fp-service-image {
    position: relative;
    width: 80px;
    height: 95px;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f3f3f3;
    color: #888;
}

    .fp-service-image img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
        inset: 0;
    }

.fp-service-content {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
}

    .fp-service-content h3 {
        font-size: 14px;
        line-height: 1.4;
        font-weight: 800;
        margin: 0 0 5px;
        overflow-wrap: anywhere;
    }

.fp-service-duration {
    font-size: 11px;
    color: #777;
    margin: 0 0 7px;
}

.fp-service-description {
    font-size: 11px;
    color: #777;
    line-height: 1.5;
    margin: 0 0 10px;
    overflow-wrap: anywhere;
}

.fp-service-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: auto;
}

    .fp-service-bottom strong {
        font-size: 13px;
    }

.fp-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border: 0;
    border-radius: 11px;
    background: var(--fp-yellow);
    color: #111;
    min-height: 44px;
    padding: 10px 16px;
    font-weight: 800;
    font-size: 12px;
    box-shadow: 0 4px 12px #00000009;
}

    .fp-button:hover {
        background: #efb300;
    }

.fp-booking-bar {
    position: fixed;
    bottom: var(--fp-nav-offset);
    left: 50%;
    transform: translateX(-50%);
    width: min(1092px,calc(100% - 40px));
    padding: 14px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: white;
    box-shadow: 0 -5px 25px #0000000c;
    border: 1px solid #eee;
    border-radius: 16px 16px 0 0;
    z-index: 70;
}

    .fp-booking-bar > div {
        min-width: 0;
    }

    .fp-booking-bar strong {
        display: block;
        font-size: 14px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .fp-booking-bar span {
        display: block;
        font-size: 11px;
        color: #777;
        margin-top: 4px;
    }

    .fp-booking-bar .fp-button {
        min-width: 180px;
    }

.fp-share-status {
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
    bottom: calc(var(--fp-nav-offset) + 86px);
    z-index: 90;
    background: #171717;
    color: white;
    padding: 10px 16px;
    border-radius: 10px;
    font-size: 12px;
    max-width: 90%;
}

    .fp-share-status:empty {
        display: none;
    }

.fp-lightbox {
    width: min(950px,94vw);
    max-height: 92vh;
    max-height: 92dvh;
    border: 0;
    padding: 50px 16px 16px;
    background: #111;
    color: white;
    border-radius: 18px;
    margin: auto;
}

    .fp-lightbox::backdrop {
        background: #000c;
    }

    .fp-lightbox img {
        display: block;
        max-width: 100%;
        max-height: 70vh;
        margin: auto;
        object-fit: contain;
    }

    .fp-lightbox p {
        font-size: 12px;
        text-align: center;
        margin: 12px 0 0;
    }

.fp-lightbox-close {
    position: absolute;
    top: 5px;
    right: 8px;
    width: 44px;
    height: 44px;
    background: transparent;
    border: 0;
    color: white;
    font-size: 30px !important;
}

.fp-empty {
    text-align: center;
    padding: 30px;
    font-size: 13px;
    color: #777;
}

@media(max-width:800px) {
    .fp-overview-columns, .fp-service-list {
        grid-template-columns: minmax(0,1fr);
    }
}

@media(max-width:767px) {
    .fp-profile {
        --fp-nav-offset: calc(68px + env(safe-area-inset-bottom,0px));
        padding: 0 0 180px;
    }

    .fp-hero {
        height: 365px;
        height: clamp(280px,46svh,400px);
        border-radius: 0;
    }

    .fp-hero-top {
        top: 16px;
        left: 16px;
        right: 16px;
    }

    .fp-sheet {
        margin: -32px 0 0;
        border-radius: 30px 30px 0 0;
        box-shadow: none;
    }

    .fp-heading {
        padding: 22px 20px 16px;
    }

        .fp-heading h1 {
            font-size: 23px;
        }

    .fp-eyebrow {
        font-size: 9px;
    }

    .fp-tabs {
        padding: 0 20px;
        gap: 28px;
    }

    .fp-body {
        padding: 20px;
    }

    .fp-overview-columns {
        gap: 0;
    }

    .fp-actions {
        gap: 10px;
    }

    .fp-gallery {
        grid-auto-rows: 88px;
    }

    .fp-booking-bar {
        left: 0;
        transform: none;
        width: 100%;
        padding: 10px 18px;
        border-radius: 0;
    }

        .fp-booking-bar > div {
            display: none;
        }

        .fp-booking-bar .fp-button {
            width: 100%;
        }

    .fp-service-card {
        padding: 11px;
        gap: 11px;
    }

    .fp-service-image {
        width: 65px;
        height: 80px;
    }

    .fp-service-bottom .fp-button {
        font-size: 11px;
        padding: 9px 11px;
    }
}

/* Full-width cover and simplified profile, without the fixed booking bar. */
.fp-profile {
    max-width: none;
    width: 100%;
    padding: 0 0 40px;
}

    .fp-profile .fp-hero {
        width: 100%;
        height: clamp(340px, 36vw, 520px);
        border-radius: 0;
    }

        .fp-profile .fp-hero > .fp-cover {
            display: block;
            position: absolute;
            inset: 0;
            width: 100%;
            height: 100%;
            max-width: none;
            max-height: none;
            object-fit: cover;
            object-position: center;
        }

    .fp-profile .fp-sheet {
        width: calc(100% - 48px);
        max-width: 1092px;
        margin: -55px auto 0;
    }

    .fp-profile .fp-share-status {
        bottom: calc(var(--fp-nav-offset) + 16px);
    }

@media (max-width: 767px) {
    .fp-profile {
        padding-bottom: calc(85px + env(safe-area-inset-bottom, 0px));
    }

        .fp-profile .fp-hero {
            height: 365px;
            height: clamp(280px, 46svh, 400px);
        }

        .fp-profile .fp-sheet {
            width: 100%;
            margin-top: -32px;
        }
}
