

.mpx-head {
    padding: 110px 24px 20px;
    border-bottom: 1px solid rgba(0, 0, 0, .08);
}

.mpx-head-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.mpx-home {
    font-size: 14px;
    color: var(--muted);
    text-decoration: none;
}

.mpx-home:hover {
    color: #111;
}

.mpx-switch {
    display: flex;
    background: rgba(255, 255, 255, .55);
    border-radius: 999px;
    padding: 4px;
    gap: 4px;
}

.mpx-switch a {
    padding: 10px 22px;
    border-radius: 999px;
    text-decoration: none;
    color: #111;
    font-size: 14px;
    font-weight: 600;
    transition: background .15s;
}

.mpx-switch a:hover {
    background: rgba(0, 0, 0, .06);
}

.mpx-switch a.active {
    background: #111;
    color: var(--cream);
}

.mpx-actions {
    margin-left: auto;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.mpx-cta {
    text-decoration: none;
    color: #111;
    font-size: 14px;
    font-weight: 600;
    padding: 10px 18px;
    border: 1px solid #111;
    border-radius: 999px;
    background: transparent;
}

.mpx-cta.solid {
    background: #111;
    color: var(--cream);
}

.mpx-cta:hover {
    opacity: .85;
}

@media (max-width: 720px) {
    .mpx-head {
        padding-top: 90px;
    }

    .mpx-head-inner {
        flex-direction: column;
        align-items: stretch;
    }

    .mpx-switch {
        justify-content: center;
    }

    .mpx-actions {
        margin-left: 0;
        justify-content: center;
    }
}

.bs-page .cream,
.svc-page .cream {
    background: transparent;
}

body.bs-page {
    background: var(--cream, #d8d8d2);
}

body.svc-page {
    background: var(--cream, #d8d8d2);
}

body.svc-page .cream {
    background: transparent;
}

.svc-page .mpx-head {
    background: var(--cream, #d8d8d2);
    border-bottom: 1px solid #c7c7c1;
}

.bs-browse,
.svc-head,
.svc-categories,
.svc-list,
.bs-detail,
.bs-form-page,
.bs-dashboard,
.bs-boost,
.bs-seller-profile,
.svc-business,
.svc-dash,
.svc-form-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 32px 24px;
}

.bs-toolbar {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 24px;
}

.bs-search {
    display: flex;
    flex: 1 1 320px;
    gap: 8px;
}

.bs-search input[type=search] {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid #bbb;
    border-radius: 999px;
    font-family: inherit;
    font-size: 15px;
    background: rgba(255, 255, 255, .7);
}

.bs-search button,
.bs-filters select {
    padding: 12px 18px;
    border: 1px solid #111;
    border-radius: 999px;
    background: #111;
    color: var(--cream);
    font-family: inherit;
    font-size: 14px;
    cursor: pointer;
}

.bs-filters {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.bs-filters select {
    background: rgba(255, 255, 255, .7);
    color: #111;
}

.bs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

@media (max-width: 980px) {
    .bs-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 720px) {
    .bs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 460px) {
    .bs-grid {
        grid-template-columns: 1fr;
    }
}

.bs-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .08);
    display: flex;
    flex-direction: column;
    transition: transform .15s, box-shadow .15s;
}

.bs-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, .12);
}

.bs-card.is-boosted {
    border: 2px solid #e6b93f;
}

.bs-card-photo {
    display: block;
    aspect-ratio: 4 / 3;   
    
    min-height: 120px;
    background: #e5e5df;
    position: relative;
    overflow: hidden;
}

.bs-card-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.bs-card-noimg {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    letter-spacing: .2em;
    color: #999;
    font-size: 22px;
}

.bs-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    z-index: 2;
}

.bs-badge.boost {
    background: #e6b93f;
    color: #3a2c00;
}

.bs-badge.status.reserved {
    background: #f0f0e8;
    color: #6b6b60;
}

.bs-badge.status.sold {
    background: #b23;
    color: #fff;
}

.bs-card.is-sold .bs-card-photo img,
.bs-card.is-sold .bs-card-noimg {
    filter: grayscale(.85) opacity(.55);
}

.bs-card.is-sold .bs-card-photo {
    pointer-events: auto; 
}

@media (hover: hover) {
    .bs-card.is-sold:hover {
        transform: none;
        box-shadow: none;
    }
}

.bs-card-body {
    padding: 12px 14px 14px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.bs-card-title {
    color: #111;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
}

.bs-card-title:hover {
    text-decoration: underline;
}

.bs-card-price {
    font-size: 17px;
    font-weight: 700;
}

.bs-card-meta {
    color: var(--muted);
    font-size: 12px;
    
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 0 6px;
    min-width: 0;
}

.bs-card-meta .bs-card-cat {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.bs-card-meta .bs-card-cat + .bs-condition::before {
    content: "·";
    margin-right: 6px;
    color: #b9b9b0;
}

.bs-card-seller {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 6px;
    color: #111;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
}

.bs-card-seller:hover {
    text-decoration: underline;
}

.bs-avatar,
.bs-review img,
.bs-profile-avatar {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    
    aspect-ratio: 1 / 1;
    max-width: none;
    display: block;
}

.bs-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #ece8de;
}

.bs-avatar img {
    width: 100%;
    height: 100%;
    aspect-ratio: 1 / 1;
    max-width: none;
    object-fit: cover;
    display: block;
}

.bs-card-seller {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.bs-empty {
    text-align: center;
    padding: 60px 20px;
}

.bs-empty h2 {
    margin-bottom: 8px;
}

.bs-empty .light-button {
    display: inline-block;
    margin-top: 16px;
}

.bs-pagination {
    margin-top: 28px;
    text-align: center;
}

.bs-pagination .pagination {
    display: flex;
    gap: 6px;
    justify-content: center;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
}

.bs-pagination .page-link {
    padding: 8px 14px;
    border: 1px solid #bbb;
    border-radius: 8px;
    color: #111;
    text-decoration: none;
    background: #fff;
    display: inline-block;
}

.bs-pagination .active .page-link {
    background: #111;
    color: var(--cream);
    border-color: #111;
}

.bs-pagination .disabled .page-link {
    opacity: .4;
}

.bs-detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 36px;
}

@media (max-width: 860px) {
    .bs-detail-grid {
        grid-template-columns: 1fr;
    }
}

.bs-detail-main {
    aspect-ratio: 1;
    border-radius: 14px;
    overflow: hidden;
    background: #e5e5df;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bs-detail-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bs-detail-main.noimg {
    font-weight: 800;
    letter-spacing: .2em;
    color: #999;
    font-size: 28px;
}

.bs-detail-thumbs {
    display: flex;
    gap: 8px;
    margin-top: 10px;
    flex-wrap: wrap;
}

.bs-thumb {
    width: 64px;
    height: 64px;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid transparent;
    padding: 0;
    cursor: pointer;
    background: none;
}

.bs-thumb.active {
    border-color: #111;
}

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

.bs-detail-info h1 {
    font-size: 26px;
    margin-bottom: 8px;
}

.bs-detail-price {
    font-size: 24px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.bs-detail-meta {
    list-style: none;
    padding: 0;
    margin: 14px 0;
    color: var(--muted);
    font-size: 14px;
    display: grid;
    gap: 4px;
}

.bs-detail-desc h3,
.bs-review-box h3 {
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--muted);
}

.bs-detail-desc p {
    white-space: pre-line;
}

.bs-detail-seller {
    margin: 18px 0;
}

.bs-seller-card {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #111;
    background: rgba(255, 255, 255, .6);
    border-radius: 12px;
    padding: 12px 14px;
    width: fit-content;
    max-width: 100%;
    min-width: 0;
}

.bs-seller-card > span,
.bs-seller-card > div {
    min-width: 0;
}

.bs-seller-card strong {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.bs-seller-card img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    aspect-ratio: 1 / 1;
    max-width: none;
    display: block;
}

.bs-seller-card small {
    color: var(--muted);
    display: block;
}

.bs-contact-box {
    background: rgba(255, 255, 255, .6);
    border-radius: 12px;
    padding: 12px 14px;
    margin-top: 10px;
    font-size: 14px;
}

.bs-owner-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin: 16px 0;
}

.bs-owner-actions form {
    margin: 0;
}

.bs-review-box {
    background: rgba(255, 255, 255, .6);
    border-radius: 12px;
    padding: 16px;
    margin-top: 16px;
}

.bs-review-box label {
    display: block;
    font-size: 14px;
    margin-bottom: 8px;
}

.bs-review-box textarea,
.bs-review-box select {
    width: 100%;
    padding: 10px;
    border: 1px solid #bbb;
    border-radius: 8px;
    font-family: inherit;
    margin: 4px 0 10px;
}

.bs-detail-more {
    margin-top: 48px;
}

.bs-detail-more h2 {
    margin-bottom: 16px;
}

.bs-form {
    display: grid;
    gap: 14px;
    max-width: 640px;
}

.bs-form label {
    display: grid;
    gap: 4px;
    font-size: 14px;
    font-weight: 600;
}

.bs-form label small {
    font-weight: 400;
    color: var(--muted);
}

.bs-form input,
.bs-form textarea,
.bs-form select {
    padding: 11px 12px;
    border: 1px solid #bbb;
    border-radius: 8px;
    font-family: inherit;
    font-size: 15px;
}

.bs-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

@media (max-width: 560px) {
    .bs-form-row {
        grid-template-columns: 1fr;
    }
}

.bs-check {
    display: flex !important;
    flex-direction: row;
    align-items: center;
    gap: 8px;
}

.bs-form-photos {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.bs-form-photo {
    position: relative;
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
}

.bs-form-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bs-form-photo form {
    position: absolute;
    inset: 0;
}

.bs-form-photo button {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 0;
    background: rgba(0, 0, 0, .65);
    color: #fff;
    cursor: pointer;
    font-size: 12px;
}

.light-button {
    display: inline-block;
    text-decoration: none;
    cursor: pointer;
}

button.light-button {
    border: 1px solid #111;
    background: transparent;
    border-radius: 999px;
    padding: 10px 18px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    color: #111;
}

.light-button.danger {
    border-color: #b23;
    color: #b23;
}

.light-button.accent {
    background: #e6b93f;
    border-color: #e6b93f;
    color: #3a2c00;
}

.bs-dash-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.bs-dash-head h1 {
    font-size: 26px;
}

.bs-dash-nav {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.bs-dash-list,
.svc-manage-list {
    display: grid;
    gap: 12px;
}

.bs-dash-row {
    display: flex;
    align-items: center;
    gap: 16px;
    background: #fff;
    border-radius: 12px;
    padding: 12px 16px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .07);
    flex-wrap: wrap;
}

.bs-dash-row.is-boosted {
    border-left: 4px solid #e6b93f;
}

.bs-dash-thumb {
    width: 64px;
    height: 64px;
    border-radius: 10px;
    overflow: hidden;
    background: #e5e5df;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bs-dash-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bs-dash-thumb span {
    font-size: 12px;
    font-weight: 700;
    color: #999;
}

.bs-dash-info {
    flex: 1;
    min-width: 200px;
}

.bs-dash-info a {
    color: #111;
    text-decoration: none;
}

.bs-dash-info small {
    color: var(--muted);
    display: block;
    margin-top: 2px;
}

.bs-boost-note {
    color: #8a6d1a;
}

.bs-dash-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
}

.bs-dash-actions form {
    margin: 0;
}

.bs-boost-notice {
    background: #fff6dd;
    border: 1px solid #e6b93f;
    border-radius: 12px;
    padding: 14px 18px;
    margin: 18px 0 24px;
    font-size: 14px;
    max-width: 640px;
}

.bs-boost-packages {
    display: grid;
    gap: 12px;
    max-width: 640px;
}

.bs-boost-pkg {
    display: flex;
    gap: 12px;
    align-items: center;
    background: #fff;
    border: 1px solid #bbb;
    border-radius: 12px;
    padding: 14px 16px;
    cursor: pointer;
}

.bs-boost-pkg:has(input:checked) {
    border-color: #111;
    box-shadow: 0 0 0 2px #111;
}

.bs-boost-pkg small {
    display: block;
    color: var(--muted);
}

.bs-boost-packages button {
    margin-top: 8px;
    justify-self: start;
}

.bs-profile-card {
    display: flex;
    align-items: center;
    gap: 20px;
    background: rgba(255, 255, 255, .6);
    border-radius: 14px;
    padding: 20px 24px;
    margin-bottom: 32px;
    flex-wrap: wrap;
    min-width: 0;
}

.bs-profile-info {
    min-width: 0;
    flex: 1 1 220px;
}

.bs-profile-info h1 {
    overflow-wrap: anywhere;
}

.bs-profile-avatar {
    width: 72px;
    height: 72px;
    aspect-ratio: 1 / 1;
    max-width: none;
    object-fit: cover;
    flex: 0 0 auto;
    background: #ece8de;
}

.bs-profile-info h1 {
    font-size: 24px;
}

.bs-profile-meta {
    color: var(--muted);
    font-size: 14px;
}

.bs-profile-bio {
    max-width: 560px;
    overflow-wrap: anywhere;
}

@media (max-width: 640px) {
    .bs-profile-card {
        gap: 14px;
        padding: 16px 16px;
        align-items: flex-start;
    }

    .bs-profile-avatar {
        width: 56px;
        height: 56px;
    }

    .bs-profile-info {
        flex: 1 1 calc(100% - 70px);
    }

    .bs-profile-info h1 {
        font-size: 20px;
        line-height: 1.2;
    }

    .bs-profile-meta {
        font-size: 13px;
    }

    .bs-profile-card .light-button {
        width: 100%;
        text-align: center;
    }

    
    .bs-seller-card {
        width: 100%;
    }

    .bs-seller-card strong {
        font-size: 14px;
    }
}

.bs-seller-profile h2 {
    margin: 28px 0 14px;
}

.bs-reviews {
    display: grid;
    gap: 10px;
    max-width: 640px;
}

.bs-review {
    display: flex;
    gap: 12px;
    background: #fff;
    border-radius: 12px;
    padding: 14px;
}

.bs-review img {
    width: 36px;
    height: 36px;
}

.bs-review small {
    color: var(--muted);
    display: block;
}

.bs-review p {
    margin: 4px 0 0;
}

.svc-head h1 {
    font-size: 30px;
    margin-bottom: 6px;
}

.svc-head p {
    color: var(--muted);
}

.svc-categories {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

@media (max-width: 900px) {
    .svc-categories {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 520px) {
    .svc-categories {
        grid-template-columns: 1fr;
    }
}

.svc-cat {
    background: #fff;
    border-radius: 12px;
    padding: 18px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .07);
}

.svc-cat h3 {
    margin-bottom: 10px;
    font-size: 17px;
}

.svc-cat-tags {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.svc-cat-tags span {
    background: var(--cream);
    border-radius: 999px;
    padding: 4px 12px;
    font-size: 12px;
    color: #333;
}

.svc-apply-banner {
    max-width: 1200px;
    margin: 0 auto;
    background: #fff;
    border-radius: 12px;
    padding: 14px 18px;
    font-size: 14px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .07);
}

.svc-apply-banner.pending {
    border-left: 4px solid #e6b93f;
}

.svc-apply-banner.rejected {
    border-left: 4px solid #b23;
}

.svc-flash {
    max-width: 1200px;
    margin: 12px auto 0;
    background: #e8f5e9;
    color: #1b5e20;
    border-radius: 10px;
    padding: 12px 18px;
    font-size: 14px;
}

.svc-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 16px;
}

@media (max-width: 900px) {
    .svc-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 520px) {
    .svc-grid {
        grid-template-columns: 1fr;
    }
}

.svc-list h2,
.svc-business h2 {
    margin: 20px 0 10px;
}

.svc-biz-hero {
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .08);
}

.svc-biz-hero>img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.svc-biz-id {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
}

.svc-biz-id small {
    color: var(--muted);
}

.svc-biz-logo {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    object-fit: cover;
}

.svc-biz-desc {
    margin: 16px 0;
    max-width: 720px;
}

.svc-biz-contact {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    color: var(--muted);
    font-size: 14px;
    margin-bottom: 12px;
}

.svc-services {
    display: grid;
    gap: 14px;
    margin-top: 14px;
}

.svc-service {
    display: flex;
    gap: 16px;
    background: #fff;
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .07);
}

@media (max-width: 640px) {
    .svc-service {
        flex-direction: column;
    }
}

.svc-service>img {
    width: 120px;
    height: 120px;
    border-radius: 10px;
    object-fit: cover;
    flex-shrink: 0;
}

.svc-service-body {
    flex: 1;
}

.svc-service-body h3 {
    font-size: 18px;
}

.svc-service-body p {
    color: #333;
    font-size: 14px;
}

.svc-service-price {
    font-size: 16px;
    font-weight: 700;
    margin: 6px 0 10px;
}

.svc-service-price small {
    font-weight: 400;
    color: var(--muted);
}

.svc-enquiry summary {
    list-style: none;
    width: fit-content;
    cursor: pointer;
}

.svc-enquiry summary::-webkit-details-marker {
    display: none;
}

.svc-enquiry form {
    display: grid;
    gap: 8px;
    margin-top: 12px;
    max-width: 480px;
}

.svc-enquiry input,
.svc-enquiry textarea {
    padding: 10px;
    border: 1px solid #bbb;
    border-radius: 8px;
    font-family: inherit;
}

.svc-enquiry-list {
    display: grid;
    gap: 12px;
    margin-top: 16px;
}

.svc-enquiry-row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    background: #fff;
    border-radius: 12px;
    padding: 14px 18px;
    flex-wrap: wrap;
}

.svc-enquiry-row small {
    color: var(--muted);
}

.svc-enquiry-row select {
    padding: 8px 10px;
    border-radius: 8px;
    border: 1px solid #bbb;
    font-family: inherit;
}

.svc-edit form {
    display: grid;
    gap: 8px;
    margin-top: 10px;
    max-width: 480px;
}

.svc-edit input,
.svc-edit textarea {
    padding: 9px 10px;
    border: 1px solid #bbb;
    border-radius: 8px;
    font-family: inherit;
}

.svc-dash h2 {
    margin: 24px 0 12px;
}.svc-cat.coming-soon { opacity: .55; } .svc-soon { background:#e6b93f; color:#3a2c00; padding:2px 8px; border-radius:999px; font-size:10px; text-transform:uppercase; letter-spacing:.05em; vertical-align:middle; } .svc-cat-note { color: var(--muted); margin-top:8px; display:block; }

.bs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
@media (max-width: 980px) {
    .bs-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
    .bs-grid { grid-template-columns: 1fr; }
}

.bsx-stage {
    max-width: 1360px;
    margin: 0 auto;
    padding: 24px;
    position: relative;
}
.bsx-stage.revealed {
    perspective: none;
}
.bsx-flip {
    position: relative;
    transform-style: preserve-3d;
    transition: transform .9s cubic-bezier(.34, 1.1, .4, 1);
    perspective: 1600px;
}
.bsx-stage.revealed .bsx-flip {
    transform: none;
    transform-style: flat;
    perspective: none;
}
.bsx-flip.flipped {
    transform: rotateY(180deg);
}
.bsx-face {
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    
}
.bsx-back {
    position: absolute;
    inset: 0;
    transform: rotateY(180deg);
    overflow: hidden;
}

.bsx-stage.revealed .bsx-back {
    position: static;
    transform: none;
    overflow: visible;
}
.bsx-stage.revealed .bsx-front {
    display: none;
}

.bsx-cat-grid {
    display: grid;
    
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}
@media (max-width: 720px) {
    .bsx-cat-grid { grid-template-columns: 1fr; gap: 18px; }
}
.bsx-cat {
    display: block;
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,.08);
    text-decoration: none;
    color: #111;
    transition: transform .18s, box-shadow .18s;
}
.bsx-cat:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 22px rgba(0,0,0,.13);
}

.bsx-cat-photo {
    width: 100%;
    height: clamp(220px, 22vw, 300px);
    aspect-ratio: auto;
    background: #edece5;
    position: relative;
    overflow: hidden;
    display: block;
}

.bsx-cat-photo .bs-card-noimg {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f4f3ee;
    background-image: repeating-linear-gradient(
        -45deg,
        #f6f5f0,
        #f6f5f0 10px,
        #f1f0ea 10px,
        #f1f0ea 20px
    );
    color: #b9b8ae;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .22em;
    text-indent: .22em;
    
    width: 100%;
    height: 100%;
    max-height: none;
}

.bsx-cat-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform .35s ease;
}
.bsx-cat:hover .bsx-cat-photo img {
    transform: scale(1.04);
}

.bsx-cat-count {
    position: absolute;
    left: 10px;
    bottom: 10px;
    z-index: 1;
    padding: 4px 9px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .92);
    color: #111;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: .04em;
    backdrop-filter: blur(4px);
}

.bsx-cat-body {
    padding: 16px 20px 18px;
    display: flex;
    flex-direction: column;
    min-width: 0;
    
    min-height: 168px;
}.bsx-cat-body h3 {
    font-size: 24px;
    margin-bottom: 4px;
}
.bsx-cat-body small {
    color: var(--muted);
}

.bsx-cat-items {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    margin-top: 13px;
    
    min-height: 62px;
}

.bsx-cat-items .bsx-cat-tile {
    display: block;
    flex: 0 0 62px;
    width: 62px;
    height: 62px;
    overflow: hidden;
    border-radius: 8px;
    border: 1px solid #e4e3dc;
    background: #e5e5df;
}
.bsx-cat-items .bsx-cat-tile img {
    width: 100%;
    height: 100% !important;
    max-height: none !important;
    min-height: 0;
    object-fit: cover;
    object-position: center;
    display: block;
    border: 0;
    border-radius: 0;
}
.bsx-cat-items .bsx-cat-more {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    width: 62px;
    height: 62px;
    border-radius: 8px;
    background: #f1f0ea;
    border: 1px solid #e4e3dc;
    color: #77776f;
    font-size: 12px;
    font-weight: 700;
}
.bsx-flip-hint {
    text-align: center;
    margin-top: 26px;
}

.bsx-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,.08);
    text-decoration: none;
    color: #111;
    margin-bottom: 26px;
    transition: box-shadow .18s;
}
.bsx-hero:hover {
    box-shadow: 0 8px 22px rgba(0,0,0,.13);
}
.bsx-hero-photo {
    aspect-ratio: 16 / 9;
    background: #e5e5df;
    position: relative;
    overflow: hidden;
}
.bsx-hero-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.bsx-hero-body {
    padding: 30px 28px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    border-left: 1px solid rgba(0,0,0,.06);
}
.bsx-hero-kicker {
    text-transform: uppercase;
    letter-spacing: .12em;
    font-size: 11px;
    color: var(--muted);
    font-weight: 700;
}
.bsx-hero-body h2 {
    font-size: 28px;
    line-height: 1.2;
}
.bsx-hero-price {
    font-size: 24px;
    font-weight: 700;
}
.bsx-hero-body > small {
    color: var(--muted);
}
@media (max-width: 760px) {
    .bsx-hero { grid-template-columns: 1fr; }
    .bsx-hero-body { border-left: 0; border-top: 1px solid rgba(0,0,0,.06); padding: 20px; }
    .bsx-hero-body h2 { font-size: 22px; }
}

.bs-back-link {
    display: inline-block;
    margin-bottom: 14px;
    color: var(--muted);
    text-decoration: none;
    font-size: 14px;
}
.bs-back-link:hover {
    color: #111;
}
.bs-contact-note {
    margin: 6px 0 10px;
}
.bs-contact-box .light-button {
    margin-right: 8px;
    margin-bottom: 8px;
}

.flipbox {
    perspective: 1400px;
}

.flipbox-inner {
    position: relative;
    transform-style: preserve-3d;
    
    transition: transform .9s cubic-bezier(.34, 1.1, .4, 1);
    transition-delay: var(--flip-delay, 0ms);
    width: 100%;
    height: 100%;
}

.flipbox.flipped .flipbox-inner {
    transform: rotateY(calc(180deg * var(--flip-dir, 1)));
}

.flipbox-face {
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.flipbox-back {
    position: absolute;
    inset: 0;
    transform: rotateY(180deg);
}

.flipbox-hero {
    min-height: 690px; 
}
.flipbox-hero .flipbox-face.flipbox-front { height: 100%; } 
.flipbox-hero .flipbox-back .market-photo { height: 690px; }

.market-photo > span {
    bottom: 200px; 
}
.market-photo > h1 {
    bottom: 105px; 
    line-height: 1;
    margin: 0;
}
.market-photo .market-photo-tagline {
    position: absolute;
    left: 40px;
    bottom: 55px; 
    color: rgba(255, 255, 255, .85);
    font-size: 17px;
    letter-spacing: .5px;
    z-index: 2;
    margin: 0;
    max-width: 70%;
}
@media (max-width: 768px) {
    .market-photo > span { bottom: 145px; }
    .market-photo > h1 { bottom: 82px; font-size: 52px; }
    .market-photo .market-photo-tagline { bottom: 42px; font-size: 15px; }
}

.market-side .flipbox-back > div,
.market-extra .flipbox-back > div {
    min-height: 345px;
    padding: 35px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}
.market-side .flipbox-back > div { min-height: 345px; }

@media (max-width: 768px) {
    .flipbox-hero { min-height: 580px; }
    .flipbox-hero .flipbox-back .market-photo { height: 580px; }
    .market-side .flipbox-back > div,
    .market-extra .flipbox-back > div { min-height: 260px; }
}

.bsx-photo {
    background: #111;
}
.bsx-photo img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .85;
}
.bsx-photo > span.bsx-photo-tag {
    position: absolute;
    top: 30px;
    left: 30px;
    z-index: 2;
    font-size: 11px;
    letter-spacing: 2px;
    color: #ddd;
}
.bsx-photo .bsx-photo-title {
    position: absolute;
    left: 30px;
    right: 30px;
    bottom: 110px;
    z-index: 2;
    font-size: 54px;
    line-height: .9;
    letter-spacing: -3px;
    font-weight: 400;
    color: #fff;
}
.bsx-photo .bsx-photo-price {
    position: absolute;
    left: 30px;
    bottom: 60px;
    z-index: 2;
    font-size: 24px;
    font-weight: 700;
    color: #fff;
}
.bsx-photo .market-photo-btn,
.bsx-photo a.market-photo-btn {
    position: absolute;
    left: 30px;
    bottom: 30px;
    z-index: 3;
}
.bsx-hero-link {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
    text-decoration: none;
}

.bsx-box-link {
    color: #111;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.bsx-box-link:hover {
    opacity: .7;
}

.bsx-hub-grid-wrap {
    background: var(--cream);
    padding: 0 5.5% 100px;
}
.bsx-hub-grid-wrap .bs-toolbar {
    padding-top: 30px;
    max-width: none;
    margin: 0 0 26px;
}
.bsx-hub-grid-wrap .bs-toolbar .bs-search {
    flex: 1 1 320px;
    max-width: 480px;
}
.bsx-hub-grid-wrap .bs-grid {
    max-width: none;
}

.bsx-hub-grid-wrap .bs-grid.is-scrollable {
    max-height: 900px;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-color: #c9c9c0 transparent;
    padding: 4px 10px 18px 4px;
}
.bsx-hub-grid-wrap .bs-grid.is-scrollable::-webkit-scrollbar {
    width: 8px;
}
.bsx-hub-grid-wrap .bs-grid.is-scrollable::-webkit-scrollbar-thumb {
    background: #c9c9c0;
    border-radius: 999px;
}
.bsx-hub-grid-wrap .bs-grid.is-scrollable::-webkit-scrollbar-track {
    background: transparent;
}

.bsx-hub-grid-wrap .bs-grid.is-scrollable ~ .bs-pagination {
    display: none;
}
.bsx-hub-grid-wrap.revealed {
    animation: bsx-fade-in .5s ease both;
}
@keyframes bsx-fade-in {
    from { opacity: 0; transform: translateY(14px); }
    to { opacity: 1; transform: none; }
}

@media (max-width: 768px) {
    .bsx-hub-grid-wrap { padding: 0 15px 80px; }
    .bsx-photo .bsx-photo-title { font-size: 40px; }
}

.bs-form-page {
    display: grid;
    gap: 26px;
}

.bsf-head h1 {
    font-size: 40px;
    line-height: 1;
    letter-spacing: -2px;
    color: #deba1c;
}
.bsf-head p {
    margin-top: 8px;
    color: #6f6f66;
    font-size: 16px;
}

.bs-form fieldset.bsf-card {
    border: 1px solid #d9d9d2;
    border-radius: 14px;
    background: #fff;
    padding: 26px 28px 28px;
    margin: 0;
    display: grid;
    gap: 18px;
}
.bs-form fieldset.bsf-card legend {
    padding: 0 10px;
    margin-left: -10px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: #8a8a80;
}

.bs-form .bsf-field {
    display: grid;
    gap: 7px;
}
.bs-form .bsf-label {
    font-size: 13px;
    font-weight: 600;
    color: #3c3c36;
    letter-spacing: .01em;
}
.bs-form .bsf-label em {
    color: #c0392b;
    font-style: normal;
    margin-left: 2px;
}
.bs-form .bsf-hint {
    font-size: 12.5px;
    color: #8f8f85;
    font-weight: 400;
}

.bs-form input,
.bs-form textarea,
.bs-form select {
    padding: 13px 14px;
    border: 1px solid #cfcfc7;
    border-radius: 10px;
    font-family: inherit;
    font-size: 15px;
    color: #1c1c17;
    background: #fbfbf8;
    transition: border-color .15s, box-shadow .15s, background .15s;
}
.bs-form input::placeholder,
.bs-form textarea::placeholder {
    color: #a5a59b;
}
.bs-form input:focus,
.bs-form textarea:focus,
.bs-form select:focus {
    outline: none;
    background: #fff;
    border-color: #111;
    box-shadow: 0 0 0 3px rgba(230, 185, 63, .28); 
}
.bs-form textarea {
    resize: vertical;
    line-height: 1.55;
}

.bs-form .bsf-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}
@media (max-width: 600px) {
    .bs-form .bsf-row { grid-template-columns: 1fr; }
    .bs-form fieldset.bsf-card { padding: 20px 18px 22px; }
    .bsf-head h1 { font-size: 32px; letter-spacing: -1px; }
}

.bsf-price-wrap {
    display: flex;
    align-items: stretch;
    border: 1px solid #cfcfc7;
    border-radius: 10px;
    background: #fbfbf8;
    overflow: hidden;
    transition: border-color .15s, box-shadow .15s;
}
.bsf-price-wrap:focus-within {
    border-color: #111;
    box-shadow: 0 0 0 3px rgba(230, 185, 63, .28);
    background: #fff;
}
.bsf-price-wrap b {
    display: flex;
    align-items: center;
    padding: 0 14px;
    background: #efefe9;
    color: #55554d;
    font-size: 14px;
    border-right: 1px solid #d9d9d2;
}
.bsf-price-wrap input {
    border: 0;
    background: transparent;
    box-shadow: none !important;
    flex: 1;
    min-width: 0;
}

.bs-form .bsf-upload {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 34px 20px;
    border: 2px dashed #c8c8c0;
    border-radius: 12px;
    background: #fafaf6;
    cursor: pointer;
    text-align: center;
    transition: border-color .15s, background .15s;
}
.bs-form .bsf-upload:hover,
.bs-form .bsf-upload.has-files {
    border-color: #111;
    background: #fff;
}
.bs-form .bsf-upload input[type=file] {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}
.bsf-upload-icon {
    font-size: 26px;
    line-height: 1;
    color: #55554d;
}
.bs-form .bsf-upload strong {
    color: #1c1c17;
    font-size: 15px;
}
.bs-form .bsf-upload small {
    color: #8f8f85;
    font-size: 12.5px;
}
.bsf-upload-count {
    color: #b8860b;
    font-size: 13px;
    font-style: normal;
    font-weight: 600;
}

.bsf-existing-photos {
    display: block;
    padding: 20px 18px 22px;
    margin: 18px 0;
}
.bsf-existing-photos .bsf-legend {
    display: block;
    font-size: 12px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #3c3c36;
    margin: 0 0 6px;
}
.bsf-existing-photos .bsf-hint {
    color: #6a6a64;
    font-size: 12px;
    margin: 0 0 12px;
}
.bs-form .bsf-photos {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.bs-form .bsf-photo {
    position: relative;
    width: 96px;
    height: 96px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #d9d9d2;
}
.bs-form .bsf-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.bs-form .bsf-photo form {
    position: absolute;
    inset: 0;
}
.bs-form .bsf-photo button {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 0;
    background: rgba(17, 17, 17, .72);
    color: #fff;
    cursor: pointer;
    font-size: 12px;
    transition: background .15s;
}
.bs-form .bsf-photo button:hover {
    background: #c0392b;
}

.bsf-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 18px;
}
.bsf-cancel {
    color: #6f6f66;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
}
.bsf-cancel:hover {
    color: #111;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.bsf-submit {
    padding: 14px 34px;
    border: 0;
    border-radius: 999px;
    background: #111;
    color: var(--cream);
    font-family: inherit;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: background .15s, transform .15s;
}
.bsf-submit:hover {
    background: #2b2b26;
    transform: translateY(-1px);
}

.bs-form {
    max-width: 760px;
    margin: 0 auto;
    width: 100%;
}

.bs-form:has(.bsf-layout) {
    max-width: 1080px;
}

.bs-form:has(.bsf-layout) .bsf-layout {
    
    grid-template-columns: minmax(0, 1fr) 320px;
    min-width: 0;
}

.bsf-main > .bsf-card {
    max-width: 100%;
}

@media (max-width: 900px) {
    .bs-form:has(.bsf-layout) .bsf-layout {
        grid-template-columns: minmax(0, 1fr);
    }
}

.bs-page h1,
.svc-page h1 {
    font-size: 64px;
    line-height: .9;
    letter-spacing: -3px;
    font-weight: 400;
    color: #111;
}
.bs-page h2,
.svc-page h2 {
    font-size: 40px;
    line-height: .95;
    letter-spacing: -2px;
    font-weight: 400;
    color: #111;
}
.bsf-head h1 {
    font-size: 64px !important;
    letter-spacing: -3px !important;
    font-weight: 400 !important;
}
.bsf-head p {
    color: #70706d;
    letter-spacing: .02em;
}
.bs-detail-info h1 {
    font-size: 44px !important;
    line-height: .95 !important;
    letter-spacing: -2px !important;
    font-weight: 400 !important;
}
.svc-head h1 { font-size: 64px; letter-spacing: -3px; font-weight: 400; }

.mpx-switch {
    background: transparent;
    border: 1px solid #c7c7c1;
    border-radius: 0;
    padding: 0;
}
.mpx-switch a {
    border-radius: 0;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 12px;
    padding: 12px 26px;
}
.mpx-switch a.active {
    background: #111;
    color: var(--cream);
}
.mpx-cta {
    border-radius: 0;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 600;
}
.mpx-cta.solid {
    background: #111;
    color: var(--cream);
}

.bs-grid .bs-card {
    border-radius: var(--buai-radius-lg, 22px);
    border: 1px solid #c7c7c1;
    
    box-shadow: 0 3px 10px rgba(38, 43, 34, .07), 0 10px 24px rgba(38, 43, 34, .05);
    background: var(--cream, #d8d8d2);
    transition: border-color .15s, box-shadow .2s, transform .2s;
}
.bs-grid .bs-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 16px rgba(38, 43, 34, .10), 0 16px 34px rgba(38, 43, 34, .08);
    border-color: #111;
}
.bs-grid .bs-card-photo {
    border-bottom: 1px solid #c7c7c1;
    border-radius: calc(var(--buai-radius-lg, 22px) - 1px) calc(var(--buai-radius-lg, 22px) - 1px) 0 0;
}
.bs-grid .bs-card-title {
    font-size: 16px;
    font-weight: 600;
    letter-spacing: -.01em;
}
.bs-grid .bs-card-price {
    font-size: 20px;
    font-weight: 400;
    letter-spacing: -.02em;
}
.bs-grid .bs-card-meta {
    letter-spacing: .05em;
    text-transform: uppercase;
    font-size: 10.5px;
    color: #77776f;
}
.bs-grid .bs-card-seller {
    letter-spacing: .03em;
    font-size: 12.5px;
    color: #55554d;
}
.bs-card-noimg {
    color: #b3b3ab;
}

.bs-badge {
    border-radius: 0;
    letter-spacing: .1em;
}
.bs-badge.boost { background: #e3b72f; }

.bs-toolbar { border-top: 1px solid #c7c7c1; padding-top: 26px; }
.bs-search input[type=search] {
    border-radius: 0;
    border: 1px solid #c7c7c1;
    background: transparent;
    font-size: 14px;
}
.bs-search input[type=search]:focus {
    outline: none;
    border-color: #111;
    background: rgba(255,255,255,.5);
}
.bs-search button,
.bs-filters select,
.bs-filters .light-button {
    border-radius: 0;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 11.5px;
    font-weight: 600;
}

.bsx-hero {
    border-radius: 0;
    border: 1px solid #c7c7c1;
    box-shadow: none;
    background: transparent;
}
.bsx-hero:hover { box-shadow: none; border-color: #111; }
.bsx-hero-body { border-left: 1px solid #c7c7c1; }
.bsx-hero-body h2 {
    font-weight: 400;
    letter-spacing: -2px;
    font-size: 40px;
}
.bsx-hero-price { font-weight: 400; letter-spacing: -.02em; }
.bsx-hero-kicker {
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #8a8a80;
}

.bsx-cat {
    border-radius: 0;
    border: 1px solid #c7c7c1;
    box-shadow: none;
    
    background: var(--cream, #d8d8d2);
}
.bsx-cat:hover {
    transform: none;
    box-shadow: none;
    border-color: #111;
}
.bsx-cat-body h3 {
    font-weight: 400;
    letter-spacing: -.5px;
    font-size: 18px;
}
.bsx-cat-body small {
    letter-spacing: .05em;
    text-transform: uppercase;
    font-size: 10.5px;
    color: #77776f;
}

.bs-detail-main,
.bs-thumb,
.bs-detail-thumbs .bs-thumb {
    border-radius: 0;
}
.bs-detail-main { border: 1px solid #c7c7c1; }
.bs-seller-card,
.bs-contact-box,
.bs-review-box {
    border-radius: 0;
    background: transparent;
    border: 1px solid #c7c7c1;
}
.bs-review { border-radius: 0; border: 1px solid #c7c7c1; background: transparent; }
.bs-detail-meta {
    border-top: 1px solid #c7c7c1;
    border-bottom: 1px solid #c7c7c1;
    padding: 14px 0;
    color: #55554d;
}
.bs-back-link {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 11.5px;
    font-weight: 600;
}
.bs-detail-price { letter-spacing: -.02em; font-weight: 400; font-size: 28px; }
.bs-detail-desc h3, .bs-review-box h3 {
    letter-spacing: .14em;
    text-transform: uppercase;
    font-size: 11px;
}

.bs-dash-row {
    border-radius: 0;
    border: 1px solid #c7c7c1;
    border-left: 4px solid transparent;
    box-shadow: none;
    background: transparent;
}
.bs-dash-row.is-boosted { border-left-color: #e3b72f; }
.bs-dash-head h1 { font-size: 56px; letter-spacing: -3px; font-weight: 400; }

.bs-page button.light-button,
.svc-page button.light-button,
.bs-page a.light-button,
.svc-page a.light-button,
.bsf-cancel,
.bsf-submit {
    border-radius: 0;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 11.5px;
    font-weight: 700;
    padding: 13px 26px;
}
.bs-page .light-button.accent,
.bsf-submit {
    background: #111;
    color: var(--cream);
    border-color: #111;
}
.bs-page .light-button.accent:hover { background: #e3b72f; border-color: #e3b72f; color: #111; }
.bsf-submit:hover { background: #e3b72f; color: #111; transform: none; }
button.light-button:hover { background: rgba(17,17,17,.06); }
.bs-page .light-button.danger { color: #b23; border-color: #b23; }

.bs-form fieldset.bsf-card {
    border-radius: 0;
    border: 1px solid #c7c7c1;
    background: transparent;
    box-shadow: none;
}
.bs-form fieldset.bsf-card legend {
    letter-spacing: 3px;
    color: #8a8a80;
}
.bs-form input,
.bs-form textarea,
.bs-form select {
    border-radius: 0;
    background: rgba(255,255,255,.45);
    border-color: #c7c7c1;
    color: #111;
}
.bs-form input:focus,
.bs-form textarea:focus,
.bs-form select:focus {
    background: #fff;
    border-color: #111;
    box-shadow: none;
}
.bsf-price-wrap {
    border-radius: 0;
    background: rgba(255,255,255,.45);
    border-color: #c7c7c1;
}
.bsf-price-wrap b {
    background: rgba(0,0,0,.05);
    color: #70706d;
    border-right-color: #c7c7c1;
}
.bs-form .bsf-upload {
    border-radius: 0;
    background: rgba(255,255,255,.35);
    border-color: #c7c7c1;
}
.bs-form .bsf-upload:hover,
.bs-form .bsf-upload.has-files {
    border-color: #111;
    background: #fff;
}
.bsf-upload-count { color: #a17d10; }
.bs-form .bsf-photo { border-radius: 0; }
.bs-form .bsf-label { color: #3c3c36; letter-spacing: .04em; }
.bsf-cancel { letter-spacing: 2px; text-transform: uppercase; }

.bs-pagination .page-link { border-radius: 0; }
.bs-page .bs-empty h2, .svc-page .bs-empty h2 {
    font-size: 44px;
    letter-spacing: -2px;
    font-weight: 400;
}
.bsx-photo .bsx-photo-title { font-weight: 400; }
.bsx-photo .bsx-photo-price { font-weight: 400; }

@media (max-width: 768px) {
    .bs-page h1, .svc-page h1, .bsf-head h1 { font-size: 40px; letter-spacing: -1.5px; }
    .bs-page h2, .svc-page h2 { font-size: 30px; letter-spacing: -1px; }
    .bs-detail-info h1 { font-size: 32px !important; }
    .bsx-hero-body h2 { font-size: 26px; }
    .bs-dash-head h1 { font-size: 34px; }
}

@media (max-width: 900px) {
    .market-page .site-nav {
        flex-wrap: wrap;
        row-gap: 10px;
        padding: 14px 16px;
        height: auto;
        min-height: 78px;
    }
    .market-page .market-links {
        gap: 12px 14px;
        font-size: 13px;
        flex-wrap: wrap;
    }
    .market-page .market-brand {
        padding: 10px 18px;
    }
    .market-page .account-menu {
        margin-left: 0;
    }
    .mpx-head {
        padding: 24px 16px 20px;
    }
}

@media (max-width: 560px) {
    .mpx-switch a { padding: 9px 16px; font-size: 12.5px; }
    .mpx-cta { padding: 9px 14px; font-size: 12.5px; }
    .mpx-head-inner { gap: 12px; }
}

@media (max-width: 720px) {
    .bsx-stage { padding: 16px 12px; }
    .bs-toolbar { row-gap: 10px; }
    .bs-search { flex: 1 1 100%; }
    .bs-search input[type="search"] { min-width: 0; width: 100%; }
    .bs-filters { flex: 1 1 100%; }
    .bs-filters select { flex: 1 1 45%; min-width: 0; }
}

@media (max-width: 640px) {
    .bs-dash-row {
        align-items: flex-start;
        padding: 12px;
    }
    .bs-dash-info {
        flex: 1 1 100%;
        order: 2;
        min-width: 0;
    }
    .bs-dash-thumb {
        order: 1;
    }
    .bs-dash-actions {
        order: 3;
        flex: 1 1 100%;
        padding-top: 4px;
        border-top: 1px dashed #c7c7c1;
        margin-top: 4px;
    }
    
    .bs-dash-info p,
    .bs-dash-info strong,
    .bs-dash-info small {
        overflow-wrap: anywhere;
        word-break: break-word;
    }
    
    .bs-dash-info form {
        flex-wrap: wrap;
    }
}

@media (max-width: 640px) {
    .bs-form input,
    .bs-form textarea,
    .bs-form select,
    .bs-review-box textarea,
    .bs-review-box select {
        width: 100%;
        min-width: 0;
    }
    .bs-thumb {
        width: 56px;
        height: 56px;
    }
    .bs-detail-grid { gap: 24px; }
    .bs-detail-more { margin-top: 36px; }
}

@media (max-width: 768px) {
    .bsx-photo .bsx-photo-title { font-size: 34px; letter-spacing: -1.5px; left: 22px; right: 22px; }
    .bsx-photo .bsx-photo-price { left: 22px; }
    .bsx-photo > span.bsx-photo-tag { left: 22px; }
}

@media (prefers-reduced-motion: reduce) {
    .bsx-flip,
    .flipbox-inner {
        transition: none !important;
    }
    .bsx-hub-grid-wrap.revealed {
        animation: none !important;
    }
}

.hub-svc-grid-wrap {
    max-width: none;
    margin: 0 auto;
    padding: 48px 5.5% 24px;
    
    background: var(--cream, #d8d8d2);
}

.hub-svc-grid-wrap .hub-grid-head {
    text-align: center;
    margin-bottom: 24px;
}

.hub-svc-grid-wrap .hub-grid-head h2 {
    font-size: clamp(28px, 3.4vw, 44px);
    margin: 0 0 8px;
}

.hub-svc-grid-wrap .hub-grid-head p {
    color: #6a6a66;
    margin: 0;
}

.hub-svc-grid-wrap .svc-grid-hub {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

@media (max-width: 1024px) {
    .hub-svc-grid-wrap .svc-grid-hub {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .hub-svc-grid-wrap {
        padding: 32px 18px 16px;
    }
    .hub-svc-grid-wrap .svc-grid-hub {
        grid-template-columns: 1fr;
    }
}

.hub-svc-grid-wrap > .hub-grid-head,
.hub-svc-grid-wrap > .bs-toolbar,
.hub-svc-grid-wrap > .svc-flash,
.hub-svc-grid-wrap > .svc-apply-banner,
.hub-svc-grid-wrap > .bs-empty,
.hub-svc-grid-wrap > .bs-pagination {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.market-page .bsx-hub-grid-wrap {
    padding-top: 24px;
}

.msg-page .msg-wrap {
    max-width: 760px;
}

.msg-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 24px 0;
}

.msg-row {
    display: flex;
    gap: 14px;
    align-items: center;
    padding: 14px 16px;
    border: 1px solid rgba(17, 17, 17, .12);
    background: rgba(255, 255, 255, .65);
    text-decoration: none;
    color: inherit;
    transition: border-color .15s ease;
}

.msg-row:hover {
    border-color: #111;
}

.msg-row-unread {
    border-left: 4px solid #e3b72f;
}

.msg-avatar {
    flex: 0 0 auto;
}

.msg-row-main {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}

.msg-row-top {
    display: flex;
    align-items: center;
    gap: 8px;
}

.msg-unread-badge {
    background: #e3b72f;
    color: #111;
    font-size: 12px;
    font-weight: 700;
    padding: 1px 8px;
    border-radius: 999px;
}

.msg-row-subject {
    font-size: 13px;
    color: #6a6a66;
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.msg-subj-img {
    width: 34px;
    height: 34px;
    object-fit: cover;
    flex: 0 0 auto;
}

.msg-row-preview {
    font-size: 14px;
    color: #444;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.msg-thread-subject {
    display: flex;
    gap: 12px;
    align-items: center;
    border: 1px solid rgba(17, 17, 17, .12);
    background: rgba(255, 255, 255, .65);
    padding: 10px 14px;
    margin: 16px 0;
}

.msg-thread-subject img {
    width: 52px;
    height: 52px;
    object-fit: cover;
}

.msg-thread-subject a {
    font-weight: 700;
    color: inherit;
}

.msg-thread-subject small {
    display: block;
    color: #6a6a66;
}

.msg-thread {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 18px 0;
}

.msg-bubble {
    max-width: 78%;
    padding: 10px 14px;
    border: 1px solid rgba(17, 17, 17, .12);
    background: rgba(255, 255, 255, .8);
}

.msg-bubble.msg-mine {
    align-self: flex-end;
    background: #111;
    color: #f5f5f2;
    border-color: #111;
}

.msg-bubble.msg-theirs {
    align-self: flex-start;
}

.msg-meta {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    font-size: 12px;
    margin-bottom: 4px;
    opacity: .85;
}

.msg-body {
    white-space: pre-wrap;
    word-break: break-word;
}

.msg-empty {
    text-align: center;
    color: #6a6a66;
    padding: 26px 0;
}

.msg-compose {
    display: flex;
    gap: 10px;
    align-items: flex-end;
    margin-bottom: 22px;
}

.msg-compose textarea {
    flex: 1;
    padding: 10px;
    border: 1px solid rgba(17, 17, 17, .25);
    background: rgba(255, 255, 255, .8);
    font: inherit;
    resize: vertical;
}

.msg-compose textarea:focus {
    outline: none;
    border-color: #111;
}

@media (max-width: 640px) {
    .msg-bubble {
        max-width: 92%;
    }
    .msg-compose {
        flex-direction: column;
        align-items: stretch;
    }
}

.bsx-cat-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 18px;
}

.bsx-chip {
    padding: 7px 16px;
    border: 1px solid rgba(17, 17, 17, .18);
    border-radius: 999px;
    background: rgba(255, 255, 255, .7);
    color: inherit;
    text-decoration: none;
    font-size: 14px;
    white-space: nowrap;
    transition: border-color .15s ease, background .15s ease;
}

.bsx-chip:hover {
    border-color: #111;
}

.bsx-chip.active {
    background: #111;
    border-color: #111;
    color: #f5f5f2;
    font-weight: 600;
}

@media (max-width: 640px) {
    .bsx-cat-chips {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 4px;
        -webkit-overflow-scrolling: touch;
    }
    .bsx-chip {
        flex: 0 0 auto;
    }
}

.bsx-hub-grid-wrap .bs-filters select[name="category"] {
    display: none;
}

.chat-launcher {
    position: fixed;
    right: 22px;
    bottom: 22px;
    bottom: calc(22px + env(safe-area-inset-bottom, 0px));
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: none;
    background: #111;
    color: #f5f5f2;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(0, 0, 0, .28);
    z-index: 900;
    transition: transform .15s ease, box-shadow .15s ease;
}

.chat-launcher:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 26px rgba(0, 0, 0, .32);
}

.chat-unread {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    border-radius: 999px;
    background: #e3b72f;
    color: #111;
    font-size: 12px;
    font-weight: 700;
    line-height: 20px;
    text-align: center;
}

.chat-panel {
    position: fixed;
    right: 22px;
    bottom: 88px;
    bottom: calc(88px + env(safe-area-inset-bottom, 0px));
    width: 340px;
    height: 480px;
    max-height: calc(100vh - 110px - env(safe-area-inset-bottom, 0px));
    background: #faf9f7;
    border: 1px solid rgba(17, 17, 17, .15);
    border-radius: 16px;
    box-shadow: 0 18px 50px rgba(0, 0, 0, .3);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    z-index: 901;
}

.chat-head {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 14px;
    background: #111;
    color: #f5f5f2;
}

.chat-head strong {
    flex: 1;
    font-size: 15px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.chat-back,
.chat-close {
    background: none;
    border: none;
    color: #f5f5f2;
    font-size: 16px;
    cursor: pointer;
    padding: 2px 6px;
}

.chat-back:hover,
.chat-close:hover {
    opacity: .75;
}

.chat-body {
    flex: 1;
    overflow-y: auto;
    padding: 10px;
}

.chat-empty,
.chat-loading,
.chat-error,
.chat-msg-empty {
    text-align: center;
    color: #6a6a66;
    padding: 26px 10px;
    font-size: 14px;
}

.chat-error {
    color: #b3261e;
}

.chat-empty-hint {
    font-size: 12px;
    color: #9a9a94;
}

.chat-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.chat-row {
    display: flex;
    gap: 10px;
    align-items: center;
    padding: 10px;
    border: 1px solid rgba(17, 17, 17, .1);
    border-radius: 12px;
    background: rgba(255, 255, 255, .7);
    cursor: pointer;
    text-align: left;
    width: 100%;
    font: inherit;
    color: inherit;
    transition: border-color .15s ease;
}

.chat-row:hover {
    border-color: #111;
}

.chat-row-unread {
    border-left: 4px solid #e3b72f;
}

.chat-row-avatar {
    flex: 0 0 34px;
    height: 34px;
    border-radius: 50%;
    background: #111;
    color: #f5f5f2;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
}

.chat-row-main {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.chat-row-top {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.chat-unread-badge {
    background: #e3b72f;
    color: #111;
    font-size: 11px;
    font-weight: 700;
    padding: 0 7px;
    border-radius: 999px;
}

.chat-row-subject {
    font-size: 12px;
    color: #6a6a66;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.chat-row-preview {
    font-size: 13px;
    color: #444;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.chat-thread {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.chat-bubble {
    max-width: 82%;
    padding: 8px 12px;
    border-radius: 14px;
    font-size: 14px;
}

.chat-bubble.chat-mine {
    align-self: flex-end;
    background: #111;
    color: #f5f5f2;
}

.chat-bubble.chat-theirs {
    align-self: flex-start;
    background: rgba(255, 255, 255, .85);
    border: 1px solid rgba(17, 17, 17, .1);
}

.chat-meta {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    font-size: 11px;
    opacity: .8;
    margin-bottom: 3px;
}

.chat-text {
    white-space: pre-wrap;
    word-break: break-word;
}

.chat-compose {
    display: flex;
    gap: 8px;
    padding: 10px;
    border-top: 1px solid rgba(17, 17, 17, .1);
    align-items: flex-end;
}

.chat-compose textarea {
    flex: 1;
    border: 1px solid rgba(17, 17, 17, .2);
    border-radius: 10px;
    padding: 8px 10px;
    font: inherit;
    resize: none;
    max-height: 90px;
    background: #fff;
}

.chat-compose textarea:focus {
    outline: none;
    border-color: #111;
}

.chat-compose button {
    border: none;
    background: #111;
    color: #f5f5f2;
    border-radius: 10px;
    width: 38px;
    height: 34px;
    cursor: pointer;
}

.chat-compose button:disabled {
    opacity: .5;
    cursor: default;
}

.chat-full-link {
    display: block;
    text-align: center;
    padding: 9px;
    font-size: 13px;
    color: #111;
    text-decoration: none;
    border-top: 1px solid rgba(17, 17, 17, .08);
}

.chat-full-link:hover {
    background: rgba(17, 17, 17, .04);
}

@media (max-width: 640px) {
    .chat-launcher {
        right: 14px;
        bottom: calc(14px + env(safe-area-inset-bottom, 0px));
        width: 50px;
        height: 50px;
    }

    .chat-panel {
        right: 8px;
        left: 8px;
        width: auto;
        bottom: calc(74px + env(safe-area-inset-bottom, 0px));
        height: calc(100vh - 190px);
        max-height: none;
        border-radius: 14px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .chat-launcher,
    .chat-launcher:hover {
        transition: none;
        transform: none;
    }
}

.chat-panel[hidden],
.chat-launcher[hidden],
.chat-unread[hidden],
.chat-back[hidden],
.chat-empty[hidden],
.chat-loading[hidden],
.chat-error[hidden],
.chat-thread[hidden],
.chat-compose[hidden],
.chat-full-link[hidden],
.chat-file-chips[hidden],
.dash-file-chips[hidden] {
    display: none !important;
}

.flipbox .flipbox-face { pointer-events: none; }
.flipbox .flipbox-front { pointer-events: auto; }
.flipbox .flipbox-back { pointer-events: auto; }
.flipbox.flipped .flipbox-front { pointer-events: none; }
.flipbox:not(.flipped) .flipbox-back { pointer-events: none; }

.flipbox:focus-visible {
    outline: 3px solid #111;
    outline-offset: 2px;
}

.market-side > .flipbox { padding: 0; }

.flip-cat-face { overflow: hidden; }

.flipbox-face.flipbox-front.flip-cat-face { position: relative; }
.flipbox-face.flipbox-back.flip-cat-face { position: absolute; }

.flip-face-media {
    position: absolute;
    inset: 0;
    pointer-events: none; 
}

.flip-cat-face-link,
a.market-photo {
    display: block;
    position: relative;
    width: 100%;
    height: 100%;
    color: inherit;
    text-decoration: none;
    cursor: pointer;
}

.flip-cat-face-link .flip-face-media img,
a.market-photo > img {
    transition: transform .45s ease;
}

@media (hover: hover) {
    .flip-cat-face-link:hover .flip-face-media img,
    a.market-photo:hover > img {
        transform: scale(1.04);
    }

    
    .flip-cat-face-link:hover .flip-face-shade,
    a.market-photo:hover::after {
        opacity: .92;
    }
}

.flip-face-shade,
a.market-photo::after {
    transition: opacity .3s ease;
}

.flip-cat-face-link:focus-visible,
a.market-photo:focus-visible {
    outline: 3px solid #111;
    outline-offset: -3px;
}

.market-photo-btn { display: none !important; }

.bsx-hero-link { cursor: pointer; }
.bsx-hero-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .45s ease;
}
@media (hover: hover) {
    .bsx-hero-link:hover img { transform: scale(1.04); }
}
.bsx-hero-link:focus-visible {
    outline: 3px solid #111;
    outline-offset: -3px;
}

.flip-face-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    
    object-position: 50% 32%;
    display: block;
}

.flip-face-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
        rgba(243, 243, 239, .58) 0%,
        rgba(243, 243, 239, .38) 55%,
        rgba(243, 243, 239, .72) 100%);
}

.flip-face-shade-dark {
    
    background: linear-gradient(180deg,
        rgba(17, 17, 17, .80) 0%,
        rgba(17, 17, 17, .35) 42%,
        rgba(17, 17, 17, .84) 100%);
}

.flip-face-body.has-media small,
.flip-face-body.has-media label,
.flip-face-body.has-media h2,
.flip-face-body.has-media p {
    text-shadow: 0 1px 3px rgba(0, 0, 0, .55);
}

.market-side .flipbox-front,
.market-side .flipbox-back,
.market-side .flip-cat-face-link {
    height: 100%;
}

.flip-face-body {
    position: relative;
    z-index: 1;
    
    min-height: 0;
    padding: 35px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    box-sizing: border-box;
}

.flip-face-body.has-media { color: #fff; }
.flip-face-body.has-media small { color: #e8e8e2; font-weight: 700; }
.flip-face-body.has-media label { color: #fff; font-weight: 700; letter-spacing: 2px; }
.flip-face-body.has-media h2 { color: #fff; }
.flip-face-body.has-media p { color: #e5e5df; }

.flip-cat-link {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.flip-cat-link:hover { opacity: .7; }

.market-side:not(.market-side-row) .flip-face-body {
    padding: 30px 32px;
}

.market-side:not(.market-side-row) .flip-face-body h2 {
    font-size: clamp(40px, 4.4vw, 64px);
    line-height: .95;
    letter-spacing: -2.5px;
}

.market-side:not(.market-side-row) .flip-face-body label,
.market-side:not(.market-side-row) .flip-face-body p {
    font-size: 18px;
    line-height: 1.35;
}

.market-side:not(.market-side-row) .flip-face-body small {
    font-size: 15px;
}

.market-side:not(.market-side-row) .flip-face-body label {
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.market-side.market-side-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    border-left: none;
    border-right: none;
    border-top: 1px solid #c7c7c1;
    padding: 0 5.5%;
}

.market-side.market-side-row > .flipbox {
    border-right: 1px solid #c7c7c1;
    border-bottom: 1px solid #c7c7c1;
}

.market-side.market-side-row > .flipbox:last-child { border-right: none; }

@media (max-width: 900px) {
    .market-side.market-side-row {
        grid-template-columns: 1fr;
        padding: 0 15px;
    }
    .market-side.market-side-row > .flipbox {
        border-left: 1px solid #c7c7c1;
        border-right: 1px solid #c7c7c1;
    }
    .flip-face-body {
        min-height: 260px;
        padding: 25px;
    }
}

.bs-card-photo,
.svc-card-photo,
.barber-card-photo,
.bs-dash-thumb {
    background: #e5e5df;
}

.svc-card {
    background: #fff;
    border: 1px solid var(--line, #c9c9c4);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.svc-card-photo {
    display: block;
    aspect-ratio: 4 / 3;
    position: relative;
    overflow: hidden;
}

.svc-card-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.svc-card .bs-card-body {
    padding: 14px 16px 16px;
}

.svc-card .bs-card-title {
    display: block;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: -.01em;
    color: #111;
}

.svc-card .bs-card-meta {
    font-size: 12px;
    letter-spacing: .03em;
    color: #77776f;
}

.barber-card-photo {
    min-height: 165px; 
}

.barber-card-photo img {
    width: 100%;
    height: 100%;
    min-height: 165px;
    object-fit: cover;
    object-position: center;
    display: block;
}

@media (max-width: 760px) {
    .barber-card { grid-template-columns: 1fr; }
    .barber-card-photo { min-height: 0; aspect-ratio: 4 / 3; }
    .barber-card-photo img { min-height: 0; height: 100%; }
}

.bs-dash-thumb {
    width: 72px;
    height: 54px; 
    border-radius: 8px;
    object-fit: cover;
    object-position: center;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    color: #777;
    flex-shrink: 0;
}

.bs-card-photo .bs-card-noimg,
.svc-card-photo .bs-card-noimg {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    letter-spacing: .2em;
    font-size: 22px;
    color: #999;
}

.img-preview-field { display: flex; flex-direction: column; gap: 8px; }

.img-preview {
    position: relative;
    border: 1px solid #d9d9d2;
    background: #ecece6;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.img-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;   
    object-position: center;
    display: block;
}

.img-preview-logo { width: 160px; height: 160px; }

.img-preview-cover { width: 100%; max-width: 480px; height: 150px; }

.img-preview-contain img { object-fit: contain; }

.img-preview-empty {
    color: #8a8a83;
    font-size: 12px;
    letter-spacing: .04em;
}
.img-preview-new {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.img-preview-tray {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 10px;
}
.img-preview-thumb {
    width: 84px;
    text-align: center;
}
.img-preview-thumb img {
    width: 84px;
    height: 84px;
    object-fit: cover;
    object-position: center;
    display: block;
    border: 1px solid #d9d9d2;
}
.img-preview-thumb small {
    display: block;
    color: #6a6a64;
    font-size: 10px;
    margin-top: 3px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@media (max-width: 640px) {
    .img-preview-cover { height: 110px; }
    .img-preview-logo { width: 120px; height: 120px; }
}

.biz-profile { padding: 0 0 48px; }

.biz-hero { border-bottom: 1px solid #c7c7c1; }
.biz-hero-cover {
    height: 220px;
    overflow: hidden;
    background: #e5e5df;
    display: flex;
    align-items: center;
    justify-content: center;
}
.biz-hero-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;      
    object-position: center;
    display: block;
}
.biz-hero-cover-fallback {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #d8d8d2, #e8e8e2);
    color: #b8b8b0;
    font-weight: 800;
    letter-spacing: .4em;
    font-size: 28px;
}

.biz-hero-id {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: flex-end;
    gap: 18px;
}
.biz-logo {
    width: 96px;
    height: 96px;
    margin-top: -48px;      
    border-radius: 16px;
    border: 3px solid #f3f3ef;
    background: #fff;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 24px;
    color: #999;
    flex-shrink: 0;
    box-shadow: 0 4px 14px rgba(9, 9, 9, .12);
}
.biz-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;    
    object-position: center;
    padding: 6px;
    background: #fff;
}
.biz-heading { padding: 12px 0 18px; }
.biz-heading h1 {
    margin: 0 0 8px;
    font-size: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.biz-verified { font-size: 11px; }
.biz-meta {
    margin: 0;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.biz-chip {
    background: #fff;
    border: 1px solid #c9c9c4;
    border-radius: 999px;
    padding: 4px 12px;
    font-size: 12px;
    color: #3c3c36;
}

.biz-grid {
    max-width: 1000px;
    margin: 24px auto 0;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 20px;
    align-items: start;
}
.biz-card {
    background: #fff;
    border: 1px solid #c9c9c4;
    border-radius: 14px;
    padding: 22px 24px;
    margin-bottom: 20px;
}
.biz-card h2 {
    margin: 0 0 12px;
    font-size: 13px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #70706d;
}
.biz-desc { margin: 0; line-height: 1.7; color: #33332f; white-space: pre-line; }

.biz-links { display: flex; flex-direction: column; gap: 8px; }
.biz-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 9px 14px;
    background: #f3f3ef;
    border: 1px solid #d9d9d2;
    border-radius: 10px;
    color: #111;
    text-decoration: none;
    font-size: 14px;
    transition: background .15s ease, border-color .15s ease;
    width: fit-content;
    min-width: 150px;
}
.biz-link:hover { background: #eaeae4; border-color: #b8b8b0; }
.biz-link-ico {
    width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #111;
    color: #f6c941;
    border-radius: 6px;
    font-weight: 800;
    font-size: 12px;
}

.biz-contact-line { margin: 0 0 6px; color: #33332f; }

.biz-card-services .svc-services { display: flex; flex-direction: column; gap: 16px; }

.biz-card-services .svc-service {
    display: block;
    padding: 0;
    overflow: hidden;
    background: #fff;
    border: 1px solid #e2e2db;
    border-radius: 16px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .04);
    transition: box-shadow .18s ease, border-color .18s ease, transform .18s ease;
}
.biz-card-services .svc-service:hover {
    border-color: #cfcfc6;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .08);
    transform: translateY(-1px);
}

.biz-svc-img {
    position: relative;
    width: 100%;
    
    height: 260px;
    border-radius: 0;
    overflow: hidden;
    background: linear-gradient(160deg, #f7f7f2 0%, #ecece4 100%);
    margin: 0;
    display: block;
    padding: 0;
}

.biz-svc-img::before {
    content: '';
    position: absolute;
    inset: 0;
    box-shadow: inset 0 -1px 0 rgba(17, 17, 17, .06);
    pointer-events: none;
    z-index: 2;
}
.biz-svc-img img {
    position: absolute;
    inset: 0;
    z-index: 1;
    
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    display: block;
    object-fit: cover;
    
    object-position: center top;
}
@media (max-width: 640px) {
    .biz-svc-img { height: 200px; }
}

@media (max-width: 640px) {
    .biz-svc-img { min-height: 170px; max-height: 320px; }
}

.biz-svc-img-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: #b5b5ab;
    font-weight: 800;
    font-size: 22px;
    letter-spacing: .18em;
}
.biz-svc-img-empty img {
    width: 64px;
    height: 64px;
    object-fit: contain;
    border-radius: 12px;
    background: #fff;
    padding: 6px;
    opacity: .9;
}

.biz-card-services .svc-service-body {
    padding: 16px 18px 14px;
}
.biz-card-services .svc-service-body h3 {
    margin: 0 0 6px;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -.01em;
    color: #111;
    
    scroll-margin-top: 90px;
    
    position: relative;
    z-index: 16;
    background: inherit;
}

.biz-card-services .svc-service-body { position: relative; z-index: 16; }
.biz-card-services .svc-service-desc {
    margin: 0 0 14px;
    color: #66665f;
    font-size: 13.5px;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.svc-service-foot {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    padding-top: 13px;
    border-top: 1px dashed #e4e4dc;
}
.svc-service-foot .svc-service-price {
    margin: 0;
    font-size: 19px;
    font-weight: 800;
    letter-spacing: -.02em;
    color: #111;
    line-height: 1.25;
}
.svc-service-foot .svc-service-price small {
    display: block;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: .09em;
    text-transform: uppercase;
    color: #a3a39a;
    margin-bottom: 1px;
}
.svc-service-foot .svc-service-price span {
    display: block;
    font-size: 11.5px;
    font-weight: 500;
    color: #8a8a81;
    letter-spacing: 0;
}
.svc-service-foot .svc-service-price em {
    font-style: normal;
    font-size: 14px;
    font-weight: 600;
    color: #8a8a81;
}

.svc-service-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: flex-end;
    
    max-width: 100%;
}
.svc-service-actions .light-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin: 0;
    padding: 10px 18px;
    min-height: 40px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    border-radius: 999px;
    white-space: nowrap;
    transition: transform .12s ease, box-shadow .15s ease, background .15s ease;
}
.svc-service-actions .light-button:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(0, 0, 0, .12); }
.svc-service-actions .light-button.accent { box-shadow: 0 3px 10px rgba(0, 0, 0, .16); }

.svc-service-actions .light-button:not(.accent) {
    background: #fff;
    border: 1.5px solid #111;
    color: #111;
    box-shadow: none;
}
.svc-service-actions .light-button:not(.accent):hover { background: #f6f6f1; }

.svc-ico { width: 15px; height: 15px; flex: 0 0 auto; }

.svc-service-actions .svc-enquiry { flex: 0 0 auto; }
.svc-service-actions .svc-enquiry[open] { flex-basis: 100%; }

.svc-service-actions .svc-enquiry:not([open]) > form { display: none; }
.svc-enquiry { flex: 0 0 auto; }
.svc-enquiry summary {
    list-style: none;
    width: fit-content;
    cursor: pointer;
}
.svc-enquiry summary::-webkit-details-marker { display: none; }
.svc-enquiry form {
    display: grid;
    gap: 9px;
    margin-top: 12px;
    padding: 16px;
    max-width: 100%;
    background: #f8f8f5;
    border: 1px solid #e6e6de;
    border-radius: 12px;
}

.svc-enquiry form .light-button {
    justify-self: start;
    padding: 11px 20px;
    font-size: 13px;
    font-weight: 600;
    border-radius: 999px;
}
.svc-enquiry input,
.svc-enquiry textarea {
    padding: 11px 12px;
    border: 1px solid #dcdcd4;
    border-radius: 9px;
    font-family: inherit;
    font-size: 13.5px;
    background: #fff;
    transition: border-color .15s ease, box-shadow .15s ease;
}
.svc-enquiry input:focus,
.svc-enquiry textarea:focus {
    outline: none;
    border-color: #111;
    box-shadow: 0 0 0 3px rgba(17, 17, 17, .08);
}
.svc-form-title {
    margin: 0 0 2px;
    font-size: 13.5px;
    font-weight: 700;
    color: #26241f;
}
.svc-empty-note { color: #777771; margin: 0 0 4px; }

@media (max-width: 520px) {
    .svc-service-foot { align-items: stretch; }
    .svc-service-actions { justify-content: flex-start; width: 100%; }
}
.biz-empty-note { color: #777771; margin: 0 0 4px; }

@media (max-width: 860px) {
    .biz-grid { grid-template-columns: 1fr; }
    .biz-hero-cover { height: 160px; }
    .biz-logo { width: 80px; height: 80px; margin-top: -40px; }
    .biz-heading h1 { font-size: 24px; }
}

.market-page,
.bs-page { background: var(--buai-page, #f6f5ef); color: var(--buai-text, #252923); }
.market-page .cream,
.bs-page .cream { background-color: var(--buai-page, #f6f5ef); }
.mpx-head { border-color: var(--buai-border, #e4e5dc); }
.mpx-switch { background: rgba(255,255,255,.8); box-shadow: inset 0 0 0 1px var(--buai-border, #e4e5dc); }
.mpx-switch a { transition: color .18s var(--buai-ease), background .18s var(--buai-ease), transform .18s var(--buai-ease); }
.mpx-switch a.active { background: var(--buai-brand-strong, #111310); color: #fff; }
.mpx-cta { border-color: var(--buai-border, #e4e5dc); border-radius: var(--buai-radius-sm, 10px); }
.mpx-cta.solid { background: var(--buai-brand-strong, #111310); color: #fff; border-color: var(--buai-brand-strong, #111310); }
.mpx-cta.solid:hover { background: linear-gradient(100deg, var(--buai-pastel-pink), var(--buai-pastel-peach) 35%, var(--buai-pastel-yellow) 55%, var(--buai-pastel-mint) 75%, var(--buai-pastel-sky)); color: #252923; border-color: #e7e0d6; opacity: 1; transform: translateY(-1px); }
.bs-card,
.svc-card,
.bsf-card,
.bsx-hero { border: 1px solid var(--buai-border, #e4e5dc); border-radius: var(--buai-radius-md, 16px); box-shadow: var(--buai-shadow-sm, 0 4px 16px rgba(38,43,34,.06)); }
.bs-card,
.svc-card { overflow: hidden; transition: transform .2s var(--buai-ease), box-shadow .2s var(--buai-ease); }
.bs-card:hover,
.svc-card:hover { transform: translateY(-3px); box-shadow: var(--buai-shadow-md, 0 12px 34px rgba(38,43,34,.10)); }

.bs-card,
.svc-card { border-radius: var(--buai-radius-lg, 22px); box-shadow: 0 2px 6px rgba(38,43,34,.05), var(--buai-shadow-sm, 0 4px 16px rgba(38,43,34,.06)); }

.bs-card-photo,
.svc-card-photo { border-radius: calc(var(--buai-radius-lg, 22px) - 1px) calc(var(--buai-radius-lg, 22px) - 1px) 0 0; }
@media (prefers-reduced-motion: reduce) {
    .bs-card:hover,
    .svc-card:hover { transform: none; }
}
.bs-card-photo,
.svc-card-photo,
.bsx-cat-photo { background: var(--buai-surface-soft, #f1f2eb); }
.bs-card-photo img,
.svc-card-photo img,
.bsx-cat-photo img { object-fit: cover; }
.bs-card-body { background: var(--buai-surface, #fffefa); }
.bs-card-title,
.svc-card .bs-card-title { color: var(--buai-text, #252923); }
.bs-card-price,
.bsx-hero-price { color: var(--buai-brand-strong, #111310); }
.svc-card .bs-card-meta,
.bs-card-meta,
.bs-card-seller { color: var(--buai-muted, #73776f); }
.bsx-cat { border-radius: var(--buai-radius-lg, 22px); overflow: hidden; box-shadow: var(--buai-shadow-sm, 0 4px 16px rgba(38,43,34,.06)); }
.bs-search input,
.bs-filters select,
.bs-form input:not([type="file"]),
.bs-form textarea,
.bs-form select { border-color: var(--buai-border, #e4e5dc); border-radius: var(--buai-radius-sm, 10px); }
.bs-form fieldset.bsf-card { background: var(--buai-surface, #fffefa); }
.bsf-submit,
.bs-toolbar button[type="submit"] { background: var(--buai-brand-strong, #111310); border-color: var(--buai-brand-strong, #111310); border-radius: var(--buai-radius-sm, 10px); transition: background .18s ease, color .18s ease, transform .18s ease; }
.bsf-submit:hover,
.bs-toolbar button[type="submit"]:hover { background: linear-gradient(100deg, var(--buai-pastel-pink), var(--buai-pastel-peach) 35%, var(--buai-pastel-yellow) 55%, var(--buai-pastel-mint) 75%, var(--buai-pastel-sky)); color: #252923; transform: translateY(-1px); }
.bsx-flip { transition-timing-function: var(--buai-ease, ease); }
.market-page :focus-visible,
.bs-page :focus-visible { outline: 3px solid rgba(83,108,74,.42); outline-offset: 3px; }
.chat-panel { border: 1px solid var(--buai-border, #e4e5dc); border-radius: var(--buai-radius-lg, 22px); box-shadow: var(--buai-shadow-md, 0 12px 34px rgba(38,43,34,.10)); overflow: hidden; }
.chat-head { background: var(--buai-brand-strong, #111310); }
.chat-compose textarea { border-radius: var(--buai-radius-sm, 10px); }
@media (prefers-reduced-motion: reduce) {
    .market-page *, .bs-page * { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

.bs-grid { grid-template-columns:repeat(4,minmax(0,1fr));gap:16px; }
.svc-grid { grid-template-columns:repeat(4,minmax(0,1fr));gap:16px; }
.bs-card,.svc-card { min-width:0;border:1px solid var(--buai-border);border-radius:18px;background:var(--buai-surface);box-shadow:var(--buai-shadow-sm); }
.bs-card-photo,.svc-card-photo { aspect-ratio:4/3; }
.bs-card-body { display:flex;flex:1;flex-direction:column;gap:8px;padding:15px 16px 16px; }
.bs-card-title,.svc-card .bs-card-title { display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-height:1.4; }
.bs-card-price { font-size:19px;font-weight:750;letter-spacing:-.02em; }
.bs-card-meta { display:flex;flex-wrap:wrap;gap:5px;font-size:11px;line-height:1.45; }
.bs-card-seller { display:flex;align-items:center;gap:7px;margin-top:auto;padding-top:4px;font-size:11px; }
.bs-card .bs-avatar { width:24px;height:24px;display:inline-grid;place-items:center;border-radius:50%;background:#edf2e9;color:#43563c;font-size:10px; }
.bs-card.is-boosted { border:1px solid #e8d4a4; }
.bs-badge { border-radius:999px;box-shadow:0 2px 8px rgba(35,38,32,.08); }
.svc-grid .bs-card-body { min-height:120px; }
.bs-detail-grid { align-items:start;gap:24px; }
.bs-detail-main { aspect-ratio:4/3;border:1px solid var(--buai-border);border-radius:22px;background:#f1f2eb;box-shadow:var(--buai-shadow-sm); }
.bs-detail-main img { object-fit:contain;padding:12px;background:#fffefa; }
.bs-thumb { border-radius:12px;border:2px solid transparent;background:#f1f2eb; }
.bs-thumb.active { border-color:#9bb391;box-shadow:0 0 0 3px rgba(217,200,240,.45); }
.bs-detail-info { padding:24px;border:1px solid var(--buai-border);border-radius:22px;background:var(--buai-surface);box-shadow:var(--buai-shadow-sm); }
.bs-detail-info h1 { font-size:clamp(25px,3vw,36px);line-height:1.12;letter-spacing:-.04em; }
.bs-detail-price { color:var(--buai-brand-strong);font-size:28px; }
.bs-detail-desc,.bs-detail-seller,.bs-review-box,.bs-contact-box { border-color:var(--buai-border);border-radius:16px; }
.bs-detail-more { margin-top:34px; }.bs-detail-more h2 { margin-bottom:16px; }
.biz-hero-cover { border-radius:0 0 22px 22px;background:#eef0e9; }
.biz-hero { border:0; }.biz-logo { border-color:var(--buai-page);border-radius:22px; }
.biz-chip { border-color:var(--buai-border);background:var(--buai-surface);border-radius:999px; }
.biz-card { border-color:var(--buai-border);border-radius:20px;background:var(--buai-surface);box-shadow:var(--buai-shadow-sm); }
.biz-card h2 { color:var(--buai-muted);letter-spacing:.12em; }
.svc-service { border:1px solid var(--buai-border);border-radius:16px;background:#fffefa;overflow:hidden; }
.svc-service .light-button,.svc-page .light-button { border-radius:10px;transition:background .18s ease,transform .18s ease; }
.svc-page .light-button:hover,.bs-page .light-button:hover { background:linear-gradient(100deg,var(--buai-pastel-pink),var(--buai-pastel-peach) 35%,var(--buai-pastel-yellow) 55%,var(--buai-pastel-mint) 75%,var(--buai-pastel-sky));color:#252923;transform:translateY(-1px); }
.bs-toolbar input:focus,.bs-toolbar select:focus,.bs-form input:focus,.bs-form textarea:focus,.bs-form select:focus { border-color:#a4b79c;box-shadow:0 0 0 3px rgba(217,200,240,.35);outline:0; }
@media (max-width:1000px) { .bs-grid,.svc-grid { grid-template-columns:repeat(3,minmax(0,1fr)); } }
@media (max-width:720px) { .bs-grid,.svc-grid { grid-template-columns:repeat(2,minmax(0,1fr));gap:12px; }.bs-detail-info { padding:18px; } }
@media (max-width:480px) { .bs-grid,.svc-grid { grid-template-columns:1fr; }.bs-card-photo,.svc-card-photo { aspect-ratio:16/10; } }
.bs-card-photo,.svc-card-photo,.bsx-cat-photo,.bsx-hero-photo,.market-photo,.bs-detail-main,.bs-thumb,.biz-hero-cover,.biz-logo { position:relative; }
.buai-image-fallback { position:absolute;inset:0;display:grid;place-items:center;background:linear-gradient(140deg,#eef0e9,#f5f1e9);color:#899080;font-size:12px;font-weight:750;letter-spacing:.18em; }
.bs-thumb .buai-image-fallback { font-size:9px; }
