:root {
    --bt-orange: #f25e18;
    --bt-black: #101010;
    --bt-gray: #666;
    --bt-light: #f5f5f7;
    --bt-border: #e8e8ec;
    --bt-shadow: 0 22px 60px rgba(0, 0, 0, 0.10);
    --bt-soft-shadow: 0 12px 34px rgba(0, 0, 0, 0.07);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background:
        radial-gradient(circle at top left, rgba(242, 94, 24, 0.11), transparent 34%),
        #f5f5f7;
    color: #111;
    font-family: Arial, sans-serif;
}

a {
    color: inherit;
}

.bt-business-page {
    width: min(1120px, calc(100% - 24px));
    margin: 0 auto 40px;
}

.bt-business-hero {
    min-height: 280px;
    border-radius: 0 0 34px 34px;
    overflow: hidden;
    position: relative;
    background:
        linear-gradient(135deg, rgba(0,0,0,0.82), rgba(0,0,0,0.42)),
        url('/images/banners/default/default-1.jpg') center/cover;
}

.bt-business-hero.has-cover {
    background:
        linear-gradient(135deg, rgba(0,0,0,0.72), rgba(0,0,0,0.28)),
        var(--cover-image) center/cover;
}

.bt-business-hero-inner {
    min-height: 280px;
    padding: 22px;
    display: flex;
    align-items: flex-end;
}

.bt-business-topbar {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 16px;
    height: 60px;
    border-radius: 22px;
    background: rgba(255,255,255,0.92);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 14px;
    backdrop-filter: blur(18px);
}

.bt-business-topbar img {
    height: 25px;
}

.bt-business-top-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.bt-business-top-actions .bt-lang-switch,
.bt-business-top-actions .language-switcher {
    position: relative;
}


.bt-business-back {
    width: 42px;
    height: 42px;
    border-radius: 999px;
    background: #111;
    color: #fff;
    display: grid;
    place-items: center;
    text-decoration: none;
}

.bt-business-main-card {
    margin-top: -44px;
    position: relative;
    z-index: 3;
    background: #fff;
    border-radius: 34px;
    padding: 26px;
    box-shadow: var(--bt-shadow);
}

.bt-business-head {
    display: grid;
    grid-template-columns: 116px 1fr auto;
    gap: 20px;
    align-items: center;
}

.bt-business-logo {
    width: 116px;
    height: 116px;
    border-radius: 28px;
    overflow: hidden;
    background: #fff3ed;
    color: var(--bt-orange);
    display: grid;
    place-items: center;
    font-size: 42px;
    font-weight: 900;
    border: 5px solid #fff;
    box-shadow: var(--bt-soft-shadow);
}

.bt-business-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.bt-business-logo-button {
    appearance: none;
    -webkit-appearance: none;
    padding: 0;
    cursor: pointer;
    text-align: inherit;
}

.bt-business-logo-button:focus-visible {
    outline: 3px solid rgba(255, 104, 31, .35);
    outline-offset: 3px;
}

.bt-business-title h1 {
    margin: 0;
    font-size: clamp(34px, 5vw, 56px);
    letter-spacing: -1.8px;
    line-height: 0.96;
}

.bt-business-title-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.bt-business-title-row .bt-business-quick-actions {
    flex-shrink: 0;
}

.bt-business-title p {
    margin: 10px 0 0;
    color: var(--bt-gray);
    font-size: 17px;
    line-height: 1.35;
}

.bt-business-badges {
    margin-top: 14px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.bt-badge {
    min-height: 32px;
    border-radius: 999px;
    padding: 0 11px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 13px;
    font-weight: 850;
    background: #f5f5f7;
    color: #333;
}

.bt-badge.is-premium {
    background: #111;
    color: #fff;
}

.bt-badge.is-verified {
    background: #e9f9ef;
    color: #168044;
}

.bt-badge.is-featured {
    background: #fff3ed;
    color: var(--bt-orange);
}

.bt-business-stats {
    text-align: right;
    color: var(--bt-gray);
    font-size: 14px;
}

.bt-business-stats strong {
    display: block;
    color: #111;
    font-size: 24px;
    letter-spacing: -0.5px;
}

.bt-business-actions {
    margin-top: 22px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(138px, 1fr));
    gap: 10px;
}

.bt-action {
    min-height: 54px;
    border-radius: 18px;
    border: 1px solid var(--bt-border);
    background: #fff;
    color: #111;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    font-weight: 850;
    cursor: pointer;
    font-size: 15px;
}

.bt-action.is-primary {
    background: var(--bt-orange);
    color: #fff;
    border-color: var(--bt-orange);
}

.bt-action.is-dark {
    background: #111;
    color: #fff;
    border-color: #111;
}

.bt-business-layout {
    margin-top: 18px;
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 18px;
    align-items: start;
}

.bt-card {
    background: #fff;
    border: 1px solid var(--bt-border);
    border-radius: 28px;
    padding: 22px;
    box-shadow: var(--bt-soft-shadow);
}

.bt-card + .bt-card {
    margin-top: 18px;
}

.bt-card h2 {
    margin: 0 0 14px;
    font-size: 21px;
    letter-spacing: -0.25px;
    font-weight: 850;
}

.bt-card h2 i {
    color: var(--bt-orange);
    margin-right: 7px;
}

.bt-description {
    color: #333;
    line-height: 1.65;
    margin: 0;
}

.bt-contact-list {
    display: grid;
    gap: 10px;
}

.bt-contact-item {
    min-height: 54px;
    border: 1px solid var(--bt-border);
    border-radius: 18px;
    padding: 12px;
    display: grid;
    grid-template-columns: 38px 1fr;
    gap: 10px;
    align-items: center;
    text-decoration: none;
}

.bt-contact-item i {
    width: 38px;
    height: 38px;
    border-radius: 14px;
    background: #fff3ed;
    color: var(--bt-orange);
    display: grid;
    place-items: center;
}

.bt-contact-item strong {
    display: block;
    font-size: 13px;
}

.bt-contact-item span {
    display: block;
    color: var(--bt-gray);
    font-size: 14px;
    margin-top: 2px;
    word-break: break-word;
}

.bt-message-box {
    background:
        radial-gradient(circle at top right, rgba(242,94,24,0.13), transparent 34%),
        #fff;
    border: 1px solid rgba(242,94,24,0.20);
}

.bt-reviews-collapsible {
    border: 1px solid rgba(242,94,24,0.18);
    background: #fffaf7;
    border-radius: 24px;
    overflow: hidden;
}

.bt-reviews-collapsible summary {
    min-height: 62px;
    padding: 0 16px;
    list-style: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-weight: 900;
}

.bt-reviews-collapsible summary::-webkit-details-marker {
    display: none;
}

.bt-reviews-summary-left {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.bt-reviews-summary-left i {
    color: var(--bt-orange);
}

.bt-reviews-summary-count {
    min-width: 28px;
    height: 28px;
    border-radius: 999px;
    background: #111;
    color: #fff;
    display: inline-grid;
    place-items: center;
    padding: 0 8px;
    font-size: 12px;
}

.bt-reviews-inside {
    padding: 0 16px 16px;
}

.bt-photo-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0,0,0,0.92);
    display: none;
    flex-direction: column;
}

.bt-photo-modal.is-open {
    display: flex;
}

.bt-photo-modal-head {
    min-height: 62px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #fff;
}

.bt-photo-modal-user {
    display: flex;
    align-items: center;
    gap: 10px;
}

.bt-photo-modal-avatar {
    width: 38px;
    height: 38px;
    border-radius: 999px;
    background: var(--bt-orange);
    color: #fff;
    display: grid;
    place-items: center;
    font-weight: 900;
}

.bt-photo-modal-user strong {
    display: block;
    font-size: 14px;
}

.bt-photo-modal-user span {
    display: block;
    color: rgba(255,255,255,0.65);
    font-size: 12px;
    margin-top: 2px;
}

.bt-photo-modal-close {
    width: 42px;
    height: 42px;
    border-radius: 999px;
    border: 0;
    background: rgba(255,255,255,0.14);
    color: #fff;
    cursor: pointer;
    font-size: 18px;
}

.bt-photo-modal-body {
    flex: 1;
    min-height: 0;
    display: grid;
    place-items: center;
    overflow: auto;
    touch-action: pinch-zoom;
}

.bt-photo-modal-body img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.bt-message-box p {
    color: var(--bt-gray);
    line-height: 1.5;
    margin: 0 0 14px;
}

.bt-message-form {
    display: grid;
    gap: 10px;
}

.bt-message-form textarea,
.bt-review-form textarea {
    width: 100%;
    min-height: 104px;
    border: 1px solid var(--bt-border);
    border-radius: 18px;
    padding: 14px;
    resize: vertical;
    font: inherit;
    outline: none;
}

.bt-message-form textarea:focus,
.bt-review-form textarea:focus {
    border-color: rgba(242,94,24,0.65);
    box-shadow: 0 0 0 4px rgba(242,94,24,0.12);
}

.bt-submit {
    min-height: 52px;
    border: 0;
    border-radius: 999px;
    background: #111;
    color: #fff;
    font-weight: 900;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    text-decoration: none;
    padding: 0 18px;
}

.bt-business-layout > div,
.bt-business-layout aside,
.bt-card {
    min-width: 0;
}

.bt-gallery-strip {
    width: 100%;
    max-width: 100%;
    display: flex;
    gap: 10px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 2px 2px 8px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
}

.bt-gallery-strip::-webkit-scrollbar {
    display: none;
}

.bt-gallery-photo {
    width: 122px;
    height: 92px;
    border: 0;
    padding: 0;
    border-radius: 18px;
    overflow: hidden;
    background: #eee;
    flex: 0 0 122px;
    cursor: pointer;
    position: relative;
    scroll-snap-align: start;
}

.bt-gallery-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.bt-gallery-photo.is-business::after {
    content: attr(data-gallery-badge);
    position: absolute;
    left: 7px;
    bottom: 7px;
    background: rgba(0,0,0,0.72);
    color: #fff;
    border-radius: 999px;
    padding: 4px 7px;
    font-size: 10px;
    font-weight: 850;
}

.bt-gallery-photo.is-customer::after {
    content: attr(data-gallery-badge);
    position: absolute;
    left: 7px;
    bottom: 7px;
    background: rgba(242,94,24,0.92);
    color: #fff;
    border-radius: 999px;
    padding: 4px 7px;
    font-size: 10px;
    font-weight: 850;
}

.bt-gallery-more-button {
    width: 122px;
    height: 92px;
    border: 1px dashed rgba(242,94,24,0.45);
    border-radius: 18px;
    background: #fffaf7;
    color: var(--bt-orange);
    flex: 0 0 122px;
    cursor: pointer;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 5px;
    font-weight: 900;
    scroll-snap-align: start;
}

.bt-gallery-more-button i {
    font-size: 20px;
}

.bt-gallery-more-button small {
    color: #555;
    font-size: 11px;
    font-weight: 800;
}
.bt-rating-summary {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 16px;
    align-items: center;
    margin-bottom: 16px;
}

.bt-rating-number {
    width: 96px;
    height: 96px;
    border-radius: 28px;
    background: #111;
    color: #fff;
    display: grid;
    place-items: center;
    text-align: center;
}

.bt-rating-number strong {
    font-size: 33px;
    line-height: 1;
}

.bt-rating-number span {
    font-size: 12px;
    color: #ddd;
}

.bt-review-cta {
    border: 1px solid rgba(242,94,24,0.20);
    background: #fffaf7;
    border-radius: 24px;
    padding: 16px;
    margin-bottom: 18px;
}

.bt-review-cta summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 900;
    color: #111;
}

.bt-review-cta summary::-webkit-details-marker {
    display: none;
}

.bt-stars-input {
    margin: 14px 0;
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 6px;
}

.bt-stars-input input {
    display: none;
}

.bt-stars-input label {
    font-size: 28px;
    cursor: pointer;
    color: #ddd;
}

.bt-stars-input input:checked ~ label,
.bt-stars-input label:hover,
.bt-stars-input label:hover ~ label {
    color: #f5a623;
}

.bt-review-form {
    margin-top: 14px;
    display: grid;
    gap: 12px;
}

.bt-review-card {
    border: 1px solid var(--bt-border);
    border-radius: 22px;
    padding: 16px;
}

.bt-review-card + .bt-review-card {
    margin-top: 12px;
}

.bt-review-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
}

.bt-review-head strong {
    display: block;
}

.bt-stars {
    color: #f5a623;
    white-space: nowrap;
}

.bt-review-card p {
    line-height: 1.55;
    color: #333;
}

.bt-business-reply {
    margin-top: 12px;
    border-radius: 18px;
    background: #f5f5f7;
    padding: 13px;
}

.bt-business-reply strong {
    display: block;
    margin-bottom: 5px;
}

.bt-customer-photo-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.bt-customer-photo-grid img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 18px;
}

.bt-social-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.bt-social-link {
    min-height: 42px;
    border: 1px solid var(--bt-border);
    border-radius: 999px;
    padding: 0 13px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    font-weight: 850;
}

.bt-social-link i {
    color: var(--bt-orange);
}

.bt-empty {
    color: var(--bt-gray);
    line-height: 1.5;
}

.bt-success {
    margin-top: 18px;
    border-radius: 18px;
    padding: 13px;
    background: #e9f9ef;
    color: #168044;
    font-weight: 800;
}

.bt-free-warning {
    margin-top: 12px;
    background: #fffaf7;
    border: 1px solid rgba(242,94,24,0.20);
    color: #555;
    border-radius: 18px;
    padding: 12px;
    font-size: 13px;
    line-height: 1.45;
}


.bt-temp-modal {
    position: fixed;
    inset: 0;
    z-index: 9998;
    background: rgba(0,0,0,0.55);
    display: none;
    align-items: flex-end;
    justify-content: center;
    padding: 14px;
}

.bt-temp-modal.is-open {
    display: flex;
}

.bt-temp-modal-card {
    width: min(460px, 100%);
    background: #fff;
    border-radius: 28px;
    padding: 22px;
    box-shadow: var(--bt-shadow);
}

.bt-temp-modal-icon {
    width: 54px;
    height: 54px;
    border-radius: 20px;
    background: #fff3ed;
    color: var(--bt-orange);
    display: grid;
    place-items: center;
    font-size: 22px;
    margin-bottom: 14px;
}

.bt-temp-modal-card h3 {
    margin: 0;
    font-size: 24px;
    letter-spacing: -0.6px;
}

.bt-temp-modal-card p {
    margin: 10px 0 18px;
    color: var(--bt-gray);
    line-height: 1.5;
}

.bt-temp-modal-card button {
    width: 100%;
    min-height: 50px;
    border: 0;
    border-radius: 999px;
    background: #111;
    color: #fff;
    font-weight: 900;
    cursor: pointer;
}

@media (max-width: 860px) {
    .bt-business-page {
        width: 100%;
        margin-bottom: 0;
    }

    .bt-business-hero {
        border-radius: 0 0 28px 28px;
    }

    .bt-business-main-card {
        margin: -34px 8px 0;
        border-radius: 30px;
        padding: 20px;
    }

    .bt-business-head {
        grid-template-columns: 86px 1fr;
    }

    .bt-business-logo {
        width: 86px;
        height: 86px;
        border-radius: 24px;
        font-size: 32px;
    }

    .bt-business-stats {
        grid-column: 1 / -1;
        text-align: left;
    }

    .bt-business-actions {
        grid-template-columns: 1fr 1fr;
    }

    .bt-business-layout {
        grid-template-columns: 1fr;
        padding: 0 8px 18px;
    }

    .bt-gallery-grid {
        grid-template-columns: 1fr 1fr;
    }

    .bt-customer-photo-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* Business profile gallery modal slider v4 */
.bt-photo-modal-body {
    position: relative;
    padding: 0 62px 34px;
}

.bt-photo-modal-body img {
    user-select: none;
    -webkit-user-select: none;
}

.bt-photo-modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
    display: grid;
    place-items: center;
    cursor: pointer;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 2;
}

.bt-photo-modal-nav:disabled {
    opacity: 0.32;
    cursor: default;
}

.bt-photo-modal-prev {
    left: 14px;
}

.bt-photo-modal-next {
    right: 14px;
}

.bt-photo-modal-count {
    position: absolute;
    left: 50%;
    bottom: 14px;
    transform: translateX(-50%);
    min-height: 32px;
    border-radius: 999px;
    padding: 7px 12px;
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    font-size: 13px;
    font-weight: 850;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.bt-contact-item:not(a) {
    color: #111;
}

@media (max-width: 860px) {
    .bt-business-actions {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .bt-photo-modal-body {
        padding: 0 0 42px;
        touch-action: pan-y pinch-zoom;
    }

    .bt-photo-modal-nav {
        width: 40px;
        height: 40px;
        background: rgba(0, 0, 0, 0.30);
    }

    .bt-photo-modal-prev {
        left: 8px;
    }

    .bt-photo-modal-next {
        right: 8px;
    }
}


.bt-photo-modal-nav:disabled {
    opacity: 0.28;
    cursor: not-allowed;
}

.bt-gallery-more-button {
    text-decoration: none;
}

.bt-photo-page {
    width: min(1120px, calc(100% - 24px));
    margin: 0 auto 40px;
}

.bt-photo-page-head {
    margin: 18px 0;
    background: #fff;
    border: 1px solid var(--bt-border);
    border-radius: 30px;
    padding: 18px;
    box-shadow: var(--bt-soft-shadow);
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 14px;
}

.bt-photo-page-head h1 {
    margin: 0;
    font-size: clamp(28px, 4vw, 44px);
    letter-spacing: -1.2px;
    line-height: 1;
}

.bt-photo-page-head p {
    margin: 6px 0 0;
    color: var(--bt-gray);
}

.bt-photo-page-logo {
    width: 58px;
    height: 58px;
    border-radius: 20px;
    overflow: hidden;
    background: #fff3ed;
    color: var(--bt-orange);
    display: grid;
    place-items: center;
    font-weight: 900;
    font-size: 24px;
}

.bt-photo-page-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.bt-photo-page-back {
    width: 44px;
    height: 44px;
    border-radius: 999px;
    background: #111;
    color: #fff;
    text-decoration: none;
    display: grid;
    place-items: center;
}

.bt-full-gallery-card {
    background: #fff;
    border: 1px solid var(--bt-border);
    border-radius: 30px;
    padding: 18px;
    box-shadow: var(--bt-soft-shadow);
}

.bt-full-gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.bt-full-gallery-photo {
    width: 100%;
    aspect-ratio: 1;
    border: 0;
    padding: 0;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    background: #eee;
    cursor: pointer;
}

.bt-full-gallery-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.bt-full-gallery-photo > * {
    pointer-events: none;
}

.bt-full-gallery-photo::after {
    content: attr(data-gallery-badge);
    position: absolute;
    left: 8px;
    bottom: 8px;
    border-radius: 999px;
    padding: 5px 8px;
    font-size: 11px;
    font-weight: 850;
    color: #fff;
}

.bt-full-gallery-photo.is-business::after {
    background: rgba(0,0,0,0.72);
}

.bt-full-gallery-photo.is-customer::after {
    background: rgba(242,94,24,0.92);
}

.bt-gallery-load-wrap {
    margin-top: 18px;
    display: flex;
    justify-content: center;
}

.bt-gallery-load-button {
    min-height: 52px;
    border: 0;
    border-radius: 999px;
    background: #111;
    color: #fff;
    padding: 0 22px;
    font-weight: 900;
    cursor: pointer;
}

.bt-gallery-load-button:disabled {
    opacity: 0.65;
    cursor: wait;
}

@media (max-width: 860px) {
    .bt-photo-page {
        width: 100%;
        padding: 0 8px 18px;
        margin-bottom: 0;
    }

    .bt-photo-page-head {
        grid-template-columns: auto 1fr;
        border-radius: 26px;
        margin: 10px 0 12px;
    }

    .bt-photo-page-back {
        grid-column: 1 / -1;
        width: 100%;
        height: 46px;
    }

    .bt-full-gallery-card {
        border-radius: 26px;
        padding: 12px;
    }

    .bt-full-gallery-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 7px;
    }

    .bt-full-gallery-photo {
        border-radius: 15px;
    }
}


/* Universal app header integration for public business pages */
.bt-business-page.has-universal-header {
    margin-top: 0;
}

.bt-business-page.has-universal-header .bt-business-hero {
    border-radius: 34px;
}

.bt-photo-page.has-universal-header .bt-photo-page-head {
    grid-template-columns: auto 1fr;
}

@media (max-width: 860px) {
    .bt-business-page.has-universal-header {
        width: 100%;
    }

    .bt-business-page.has-universal-header .bt-business-hero {
        border-radius: 0 0 28px 28px;
    }

    .bt-photo-page.has-universal-header .bt-photo-page-head {
        grid-template-columns: auto 1fr;
    }
}

/* Public profile coupons */
.bt-profile-coupon-list {
    display: grid;
    gap: 12px;
}

.bt-profile-coupon-card {
    display: grid;
    grid-template-columns: 112px 1fr auto;
    gap: 14px;
    align-items: center;
    padding: 14px;
    border: 1px solid var(--bt-border);
    border-radius: 22px;
    background: linear-gradient(135deg, rgba(242,94,24,0.08), #fff 44%);
}

.bt-profile-coupon-deal {
    min-height: 84px;
    border-radius: 18px;
    background: var(--bt-orange);
    color: #fff;
    display: grid;
    place-items: center;
    text-align: center;
    padding: 10px;
    font-size: 18px;
    line-height: 1.05;
    font-weight: 950;
    letter-spacing: -0.3px;
}

.bt-profile-coupon-info strong {
    display: block;
    font-size: 17px;
    margin-bottom: 5px;
}

.bt-profile-coupon-info p {
    margin: 0 0 7px;
    color: #444;
    line-height: 1.45;
}

.bt-profile-coupon-info small {
    display: flex;
    gap: 7px;
    flex-wrap: wrap;
    color: #666;
    font-weight: 700;
}

.bt-profile-coupon-link {
    min-height: 44px;
    border-radius: 999px;
    background: #111;
    color: #fff;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 16px;
    font-weight: 900;
    white-space: nowrap;
}

@media (max-width: 720px) {
    .bt-profile-coupon-card {
        grid-template-columns: 1fr;
    }

    .bt-profile-coupon-deal {
        min-height: 58px;
    }

    .bt-profile-coupon-link {
        width: 100%;
    }
}


/* Public business skills */
.bt-profile-skills > p {
    margin: -4px 0 14px;
    color: #5f6675;
    font-weight: 760;
    line-height: 1.45;
}
.bt-profile-skill-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}
.bt-profile-skill-cloud span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    border: 1px solid rgba(242,94,24,.18);
    border-radius: 999px;
    background: #fff5ef;
    color: #11131d;
    padding: 9px 12px;
    font-weight: 920;
    font-size: 14px;
}
.bt-profile-skill-cloud span::before {
    content: "✓";
    color: #f25e18;
    font-weight: 1000;
}


/* Public business menu/products */
.bt-profile-menu > p {
    margin: -4px 0 14px;
    color: #5f6675;
    font-weight: 760;
    line-height: 1.45;
}
.bt-profile-menu-grid {
    display: grid;
    gap: 12px;
}
.bt-profile-menu-item {
    display: grid;
    grid-template-columns: 78px 1fr auto;
    gap: 12px;
    align-items: center;
    padding: 10px;
    border: 1px solid var(--bt-border);
    border-radius: 22px;
    background: #fff;
}
.bt-profile-menu-photo {
    width: 78px;
    height: 78px;
    border-radius: 18px;
    overflow: hidden;
    background: #fff1ea;
    color: #f25e18;
    display: grid;
    place-items: center;
    font-size: 20px;
}
.bt-profile-menu-photo img { width: 100%; height: 100%; object-fit: cover; }
.bt-profile-menu-info strong { display: block; font-size: 16px; font-weight: 950; margin-bottom: 4px; }
.bt-profile-menu-info p { margin: 0; color: #4b5563; line-height: 1.4; font-size: 14px; }
.bt-profile-menu-price {
    border-radius: 999px;
    background: #11131d;
    color: #fff;
    padding: 8px 10px;
    font-weight: 950;
    white-space: nowrap;
}
@media (max-width: 640px) {
    .bt-profile-menu-item { grid-template-columns: 66px 1fr; align-items: start; }
    .bt-profile-menu-photo { width: 66px; height: 66px; border-radius: 16px; }
    .bt-profile-menu-price { grid-column: 2; justify-self: start; }
}

/* Patch 12: public menu preview + full menu page */
.bt-profile-menu-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 14px;
}
.bt-profile-menu-head h2 { margin-bottom: 6px; }
.bt-profile-menu-head p { margin: 0; color: #5f6675; font-weight: 760; line-height: 1.45; }
.bt-profile-menu-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 42px;
    padding: 0 14px;
    border-radius: 999px;
    background: #f25e18;
    color: #fff;
    text-decoration: none;
    font-weight: 950;
    white-space: nowrap;
}
.bt-profile-menu-more span {
    display: inline-grid;
    place-items: center;
    min-width: 24px;
    height: 24px;
    border-radius: 999px;
    background: rgba(255,255,255,.2);
}
.bt-profile-menu-info em {
    display: inline-flex;
    width: fit-content;
    margin-bottom: 5px;
    border-radius: 999px;
    background: #fff1ea;
    color: #f25e18;
    padding: 4px 8px;
    font-size: 12px;
    font-style: normal;
    font-weight: 950;
}
.bt-public-menu-page {
    width: min(1120px, calc(100% - 32px));
    margin: 96px auto 48px;
    display: grid;
    gap: 18px;
}
.bt-public-menu-hero {
    border: 1px solid var(--bt-border, #e8e8ed);
    border-radius: 34px;
    background: #fff;
    padding: clamp(24px, 5vw, 46px);
    box-shadow: 0 18px 48px rgba(15, 23, 42, .07);
}
.bt-public-menu-hero span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-radius: 999px;
    background: #fff1ea;
    color: #f25e18;
    padding: 8px 12px;
    font-weight: 950;
    margin-bottom: 12px;
}
.bt-public-menu-hero h1 {
    margin: 0;
    font-size: clamp(34px, 6vw, 72px);
    line-height: .95;
    letter-spacing: -.06em;
}
.bt-public-menu-hero p { margin: 12px 0 0; color: #5f6675; font-weight: 820; }
.bt-public-menu-category h2 {
    margin: 0 0 14px;
    font-size: clamp(24px, 3vw, 36px);
    letter-spacing: -.03em;
}
.bt-public-menu-list { display: grid; gap: 12px; }
.bt-public-menu-item {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
    border: 1px solid var(--bt-border, #e8e8ed);
    border-radius: 24px;
    padding: 12px;
    background: #fff;
}
.bt-public-menu-photo {
    width: 92px;
    height: 92px;
    border-radius: 20px;
    overflow: hidden;
    background: #fff1ea;
    color: #f25e18;
    display: grid;
    place-items: center;
    font-size: 22px;
}
.bt-public-menu-photo img { width: 100%; height: 100%; object-fit: cover; }
.bt-public-menu-copy strong { display: block; font-size: 19px; font-weight: 950; margin-bottom: 5px; }
.bt-public-menu-copy p { margin: 0; color: #4b5563; line-height: 1.45; }
.bt-public-menu-price {
    border-radius: 999px;
    background: #11131d;
    color: #fff;
    padding: 9px 12px;
    font-weight: 950;
    white-space: nowrap;
}
@media (max-width: 700px) {
    .bt-profile-menu-head { display: grid; }
    .bt-profile-menu-more { width: 100%; }
    .bt-public-menu-item { grid-template-columns: 76px 1fr; align-items: start; }
    .bt-public-menu-photo { width: 76px; height: 76px; border-radius: 17px; }
    .bt-public-menu-price { grid-column: 2; justify-self: start; }
}


/* Patch 17: cleaner quick actions beside business title */
.bt-sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.bt-business-logo-wrap {
    display: grid;
    gap: 10px;
    justify-items: center;
}

.bt-business-quick-actions {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.bt-profile-icon-action {
    width: 46px;
    height: 46px;
    border-radius: 999px;
    border: 1px solid rgba(15, 23, 42, .08);
    background: #fff;
    color: #151515;
    display: inline-grid;
    place-items: center;
    box-shadow: 0 12px 28px rgba(15, 23, 42, .08);
    cursor: pointer;
    transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease, color .16s ease;
}

.bt-profile-icon-action:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 34px rgba(15, 23, 42, .12);
}

.bt-profile-icon-action .fa-heart,
.bt-profile-icon-action .fa-share-nodes {
    font-size: 18px;
}

.bt-profile-icon-action.is-saved,
.bt-profile-icon-action[aria-pressed="true"] {
    color: var(--bt-orange);
    border-color: rgba(255, 104, 31, .24);
    background: #fff;
}

.bt-profile-icon-action:disabled {
    opacity: .65;
    cursor: wait;
}

@media (max-width: 860px) {
    .bt-business-title-row {
        align-items: center;
    }
}

@media (max-width: 760px) {
    .bt-business-head {
        grid-template-columns: 86px 1fr;
        align-items: start;
    }

    .bt-business-title-row {
        gap: 12px;
    }

    .bt-business-quick-actions {
        margin-top: 4px;
    }

    .bt-profile-icon-action {
        width: 42px;
        height: 42px;
    }
}

@media (max-width: 560px) {
    .bt-business-title-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .bt-business-quick-actions {
        align-self: flex-end;
        margin-top: -6px;
    }
}


/* Patch 22 — Clean avatar/logo CSS and keep gallery separate.
   Important:
   - Avatar button does NOT use data-photo-src.
   - Gallery buttons DO use data-photo-src.
   - Avatar viewer classes are bt-avatar-viewer*, gallery classes remain bt-photo-modal*. */

.bt-business-logo-wrap {
    display: block !important;
    width: auto !important;
    min-width: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Fallback initial when no logo/photo exists. */
.bt-business-logo:not(.bt-business-logo-button) {
    width: 116px !important;
    height: 116px !important;
    min-width: 116px !important;
    border-radius: 28px !important;
    overflow: hidden !important;
    background: #fff3ed !important;
    color: var(--bt-orange) !important;
    display: grid !important;
    place-items: center !important;
    font-size: 42px !important;
    font-weight: 900 !important;
    border: 5px solid #fff !important;
    box-shadow: var(--bt-soft-shadow) !important;
}

/* Real uploaded avatar/logo: no forced square crop, no weird white rectangle. */
.bt-business-logo-button {
    appearance: none !important;
    -webkit-appearance: none !important;
    display: inline-block !important;
    width: 116px !important;
    height: auto !important;
    min-width: 0 !important;
    min-height: 0 !important;
    max-width: 116px !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 28px !important;
    overflow: visible !important;
    background: transparent !important;
    box-shadow: none !important;
    line-height: 0 !important;
    cursor: pointer !important;
}

.bt-business-logo-button img {
    display: block !important;
    width: 116px !important;
    height: auto !important;
    min-height: 0 !important;
    max-width: 116px !important;
    max-height: 116px !important;
    object-fit: contain !important;
    object-position: center center !important;
    border-radius: 24px !important;
    border: 5px solid #fff !important;
    background: #fff !important;
    box-shadow: var(--bt-soft-shadow) !important;
    padding: 0 !important;
    margin: 0 !important;
    transform: none !important;
    filter: none !important;
    opacity: 1 !important;
    pointer-events: none !important;
}

.bt-business-logo-button:focus-visible {
    outline: 3px solid rgba(255, 104, 31, .34) !important;
    outline-offset: 4px !important;
}

/* Keep layout predictable on mobile. */
@media (max-width: 860px) {
    .bt-business-head {
        grid-template-columns: 86px 1fr !important;
    }

    .bt-business-logo:not(.bt-business-logo-button) {
        width: 86px !important;
        height: 86px !important;
        min-width: 86px !important;
        border-radius: 22px !important;
        font-size: 32px !important;
    }

    .bt-business-logo-button {
        width: 86px !important;
        max-width: 86px !important;
        border-radius: 22px !important;
    }

    .bt-business-logo-button img {
        width: 86px !important;
        max-width: 86px !important;
        max-height: 86px !important;
        border-radius: 18px !important;
    }
}

/* Avatar viewer: fully independent from the gallery modal. */
.bt-avatar-viewer-open {
    overflow: hidden !important;
}

.bt-avatar-viewer[hidden] {
    display: none !important;
}

.bt-avatar-viewer {
    position: fixed !important;
    inset: 0 !important;
    z-index: 2147483000 !important;
    display: grid !important;
    place-items: center !important;
    padding: 22px !important;
}

.bt-avatar-viewer__backdrop {
    position: absolute !important;
    inset: 0 !important;
    background: rgba(0, 0, 0, .84) !important;
    backdrop-filter: blur(10px) !important;
}

.bt-avatar-viewer__dialog {
    position: relative !important;
    z-index: 2 !important;
    width: min(720px, 92vw) !important;
    height: min(720px, 82vh) !important;
    display: grid !important;
    place-items: center !important;
}

.bt-avatar-viewer__image {
    max-width: 100% !important;
    max-height: 100% !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    background: #fff !important;
    border-radius: 28px !important;
    box-shadow: 0 28px 90px rgba(0, 0, 0, .45) !important;
}

.bt-avatar-viewer__close {
    position: fixed !important;
    top: max(18px, env(safe-area-inset-top)) !important;
    right: max(18px, env(safe-area-inset-right)) !important;
    z-index: 3 !important;
    width: 48px !important;
    height: 48px !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: #fff !important;
    color: #111 !important;
    display: grid !important;
    place-items: center !important;
    font-size: 26px !important;
    line-height: 1 !important;
    cursor: pointer !important;
    box-shadow: 0 18px 42px rgba(0,0,0,.24) !important;
}


/* Business claim request modal */
.bt-claim-action {
    background: #fff7f0 !important;
    color: #f15a18 !important;
    border: 1px solid rgba(241, 90, 24, .22) !important;
}

.bt-claim-action:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 40px rgba(241, 90, 24, .12);
}

.bt-notice,
.bt-error {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    border-radius: 18px;
    margin-bottom: 16px;
    font-weight: 800;
}

.bt-notice {
    background: #fff8e8;
    color: #8a5a00;
    border: 1px solid rgba(245, 158, 11, .22);
}

.bt-error {
    background: #fff0f0;
    color: #b42318;
    border: 1px solid rgba(220, 38, 38, .2);
}

.bt-claim-modal {
    position: fixed;
    inset: 0;
    z-index: 2147482800;
    display: none;
    place-items: center;
    padding: 22px;
}

.bt-claim-modal.is-open {
    display: grid;
}

.bt-claim-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(12, 12, 16, .72);
    backdrop-filter: blur(10px);
}

.bt-claim-modal-card {
    position: relative;
    z-index: 2;
    width: min(720px, 94vw);
    max-height: min(860px, 92vh);
    overflow: auto;
    background: #fff;
    border-radius: 34px;
    padding: 28px;
    box-shadow: 0 32px 100px rgba(0, 0, 0, .34);
}

.bt-claim-modal-close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: 999px;
    background: #f6f6f8;
    color: #111;
    display: grid;
    place-items: center;
    cursor: pointer;
    font-size: 20px;
}

.bt-claim-modal-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 999px;
    background: #fff2ea;
    color: #f15a18;
    font-weight: 900;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .04em;
    margin-bottom: 14px;
}

.bt-claim-modal-card h2 {
    margin: 0 52px 8px 0;
    font-size: clamp(30px, 5vw, 48px);
    line-height: .96;
    letter-spacing: -.05em;
}

.bt-claim-modal-lead {
    margin: 0 0 18px;
    color: #5f6678;
    font-weight: 700;
    line-height: 1.5;
}

.bt-claim-rules {
    background: linear-gradient(135deg, #fff7f0, #fff);
    border: 1px solid rgba(241, 90, 24, .16);
    border-radius: 24px;
    padding: 18px;
    margin: 18px 0 20px;
}

.bt-claim-rules strong {
    display: block;
    margin-bottom: 10px;
    font-size: 16px;
}

.bt-claim-rules ul {
    margin: 0;
    padding-left: 22px;
    color: #414858;
    font-weight: 700;
    line-height: 1.5;
}

.bt-claim-rules li + li {
    margin-top: 8px;
}

.bt-claim-form {
    display: grid;
    gap: 14px;
}

.bt-claim-form label {
    display: grid;
    gap: 7px;
    font-weight: 900;
    color: #111827;
}

.bt-claim-form input,
.bt-claim-form textarea {
    width: 100%;
    border: 1px solid #e4e6ec;
    border-radius: 18px;
    padding: 14px 15px;
    font: inherit;
    font-weight: 700;
    color: #111827;
    background: #fafafa;
    outline: none;
}

.bt-claim-form input:focus,
.bt-claim-form textarea:focus {
    border-color: rgba(241, 90, 24, .55);
    box-shadow: 0 0 0 5px rgba(241, 90, 24, .12);
    background: #fff;
}

.bt-claim-submit {
    border: 0;
    border-radius: 999px;
    padding: 16px 20px;
    background: #ff5b16;
    color: #fff;
    font-weight: 950;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 18px 42px rgba(255, 91, 22, .28);
}

.bt-claim-fine-print {
    margin: 0;
    font-size: 13px;
    color: #6b7280;
    line-height: 1.45;
    font-weight: 700;
}

@media (max-width: 640px) {
    .bt-claim-modal {
        padding: 10px;
        align-items: end;
    }

    .bt-claim-modal-card {
        width: 100%;
        max-height: 92vh;
        border-radius: 30px 30px 22px 22px;
        padding: 24px 18px;
    }

    .bt-claim-modal-card h2 {
        margin-right: 48px;
    }
}
