/* HOM8 app pages — home, favourites, messages, profile */

.hom8-home,
.hom8-fav,
.hom8-bk,
.hom8-msg,
.hom8-prof,
.hom8-pf {
    --hom8-bg: #f7f7f7;
    --hom8-card: #ffffff;
    --hom8-text: #222222;
    --hom8-muted: #717171;
    --hom8-border: #dddddd;
    --hom8-primary: #222222;
    --hom8-accent: #ff385c;
    --hom8-radius: 16px;
    --hom8-radius-sm: 12px;
    --hom8-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
    --hom8-control-radius: 12px;
    --hom8-btn-radius: 999px;
    --hom8-btn-py: 16px;
    --hom8-btn-px: 24px;
    --hom8-btn-font: 16px;
    --hom8-input-py: 14px;
    --hom8-input-px: 16px;
    --hom8-input-font: 16px;
    --hom8-label-font: 14px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: var(--hom8-text);
    max-width: none;
    margin: 0;
    padding: 0;
    width: 100%;
    box-sizing: border-box;
}

/* ── Shared HOM8 primary buttons (Save, Send a request, Continue, etc.) ── */
.hom8-auth__submit,
.hom8-mkt__btn.hom8-mkt__btn--primary,
.hom8-pf__btn.hom8-pf__btn--primary,
.hom8-addloc__primary.hom8-mkt__btn--primary,
.hom8-booking-tray__save.hom8-mkt__btn--primary {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    padding: var(--hom8-btn-py, 14px) var(--hom8-btn-px, 22px) !important;
    border: none !important;
    border-radius: var(--hom8-btn-radius, 999px) !important;
    background: var(--hom8-primary, #222222) !important;
    color: #ffffff !important;
    font-family: inherit;
    font-size: var(--hom8-btn-font, 16px) !important;
    font-weight: 600 !important;
    line-height: 1.2;
    cursor: pointer;
    text-decoration: none !important;
    -webkit-appearance: none;
    appearance: none;
}

.hom8-auth__submit,
.hom8-mkt__btn.hom8-mkt__btn--primary,
.hom8-addloc__primary.hom8-mkt__btn--primary,
.hom8-booking-tray__save.hom8-mkt__btn--primary,
.hom8-booking-tray .hom8-mkt__btn.hom8-mkt__btn--primary,
.hom8-booking-sheet__actions .hom8-mkt__btn.hom8-mkt__btn--primary,
.hom8-mkt__detail-actions .hom8-mkt__btn.hom8-mkt__btn--primary {
    width: 100%;
    margin-top: 8px;
}

.hom8-auth__submit:hover,
.hom8-auth__submit:focus,
.hom8-mkt__btn.hom8-mkt__btn--primary:hover,
.hom8-mkt__btn.hom8-mkt__btn--primary:focus,
.hom8-pf__btn.hom8-pf__btn--primary:hover,
.hom8-pf__btn.hom8-pf__btn--primary:focus,
.hom8-addloc__primary.hom8-mkt__btn--primary:hover,
.hom8-addloc__primary.hom8-mkt__btn--primary:focus,
.hom8-booking-tray__save.hom8-mkt__btn--primary:hover,
.hom8-booking-tray__save.hom8-mkt__btn--primary:focus {
    background: #111111 !important;
    color: #ffffff !important;
}

.hom8-auth__submit:disabled,
.hom8-mkt__btn.hom8-mkt__btn--primary:disabled,
.hom8-pf__btn.hom8-pf__btn--primary:disabled {
    opacity: 0.55;
    cursor: wait;
}

/* Provider wizard — theme often forces white text on all buttons */
button.hom8-pf__chip,
button.hom8-pf__chip:hover,
button.hom8-pf__chip:focus {
    color: #222222 !important;
    background: #ffffff !important;
    border: 1px solid var(--hom8-border, #dddddd) !important;
    border-radius: 999px !important;
}

button.hom8-pf__chip.is-selected,
button.hom8-pf__chip.is-selected:hover,
button.hom8-pf__chip.is-selected:focus {
    color: #ffffff !important;
    background: var(--hom8-primary, #222222) !important;
    border-color: var(--hom8-primary, #222222) !important;
    border-radius: 999px !important;
}

button.hom8-pf__chip.is-blocked,
button.hom8-pf__chip.is-blocked:hover,
button.hom8-pf__chip.is-blocked:focus {
    color: #888888 !important;
    background: #f6f7f7 !important;
    border-color: #dddddd !important;
}

button.hom8-pf__cat-card,
button.hom8-pf__cat-card:hover,
button.hom8-pf__cat-card:focus {
    color: #222222 !important;
    background: #ffffff !important;
}

button.hom8-pf__cat-card .hom8-pf__cat-card-body span {
    color: var(--hom8-muted, #717171) !important;
}

button.hom8-pf__btn.hom8-pf__btn--ghost,
button.hom8-pf__btn.hom8-pf__btn--ghost:hover,
button.hom8-pf__btn.hom8-pf__btn--ghost:focus {
    color: var(--hom8-primary, #222222) !important;
    background: transparent !important;
    text-decoration: underline;
}

button.hom8-pf__pkg-tab,
button.hom8-pf__pkg-tab:hover,
button.hom8-pf__pkg-tab:focus {
    color: #222222 !important;
    background: #ffffff !important;
}

button.hom8-pf__pkg-tab.is-active,
button.hom8-pf__pkg-tab.is-active:hover,
button.hom8-pf__pkg-tab.is-active:focus {
    color: #ffffff !important;
    background: var(--hom8-primary, #222222) !important;
}

button.hom8-pf__location-chip,
button.hom8-pf__location-chip:hover,
button.hom8-pf__location-chip:focus {
    color: #222222 !important;
    background: #ffffff !important;
}

button.hom8-pf__location-chip span {
    color: var(--hom8-muted, #717171) !important;
}

button.hom8-pf__listing-edit,
button.hom8-pf__listing-edit:hover,
button.hom8-pf__listing-edit:focus {
    color: var(--hom8-text, #222222) !important;
    background: #ffffff !important;
}

/* ── Shared HOM8 text fields ── */
.hom8-auth__field input,
.hom8-auth__field select,
.hom8-auth__field textarea,
.hom8-prof__form input,
.hom8-prof__form textarea,
.hom8-mkt__field input,
.hom8-mkt__field textarea,
.hom8-pf__field input,
.hom8-pf__field select,
.hom8-pf__field textarea,
.hom8-addloc__field input,
.hom8-addloc__field textarea,
.hom8-booking-tray__add .hom8-mkt__field input,
.hom8-booking-tray__add .hom8-mkt__field textarea {
    width: 100%;
    box-sizing: border-box;
    padding: var(--hom8-input-py) var(--hom8-input-px);
    border: 1px solid var(--hom8-border, #dddddd);
    border-radius: var(--hom8-control-radius);
    font-family: inherit;
    font-size: var(--hom8-input-font);
    font-weight: 400;
    color: var(--hom8-text, #222222);
    background: #ffffff;
}

.hom8-auth__field input:focus,
.hom8-auth__field select:focus,
.hom8-auth__field textarea:focus,
.hom8-prof__form input:focus,
.hom8-prof__form textarea:focus,
.hom8-mkt__field input:focus,
.hom8-mkt__field textarea:focus,
.hom8-pf__field input:focus,
.hom8-pf__field select:focus,
.hom8-pf__field textarea:focus,
.hom8-addloc__field input:focus,
.hom8-addloc__field textarea:focus,
.hom8-booking-tray__add .hom8-mkt__field input:focus,
.hom8-booking-tray__add .hom8-mkt__field textarea:focus {
    outline: none;
    border-color: var(--hom8-primary, #222222);
}

.hom8-prof__form input:disabled {
    background: #f7f7f7;
    color: var(--hom8-muted);
}

.hom8-mkt__field textarea,
.hom8-pf__field textarea,
.hom8-addloc__field textarea,
.hom8-auth__field textarea {
    resize: vertical;
    min-height: 96px;
}

.hom8-auth__field label,
.hom8-prof__form label,
.hom8-mkt__field,
.hom8-pf__field,
.hom8-addloc__field > span,
.hom8-booking-tray__add .hom8-mkt__field {
    font-size: var(--hom8-label-font);
    font-weight: 600;
    color: var(--hom8-text, #222222);
}

/* Default layout: fill the *container* (Elementor controls padding/width). */
.hom8-home,
.hom8-fav,
.hom8-bk,
.hom8-msg,
.hom8-prof {
    position: static;
    left: auto;
    right: auto;
    width: 100%;
    max-width: 100%;
    margin: 0;
    overflow-x: clip;
}

/* Optional: full-bleed breakout when explicitly enabled (desktop only). */
.hom8-home.hom8--fullbleed,
.hom8-fav.hom8--fullbleed,
.hom8-bk.hom8--fullbleed,
.hom8-msg.hom8--fullbleed,
.hom8-prof.hom8--fullbleed {
    position: relative;
    left: 50%;
    right: 50%;
    width: 100vw;
    max-width: 100vw;
    margin-left: -50vw;
    margin-right: -50vw;
    overflow-x: clip;
}

@media (max-width: 1023px) {
    .hom8-home.hom8--fullbleed,
    .hom8-fav.hom8--fullbleed,
    .hom8-bk.hom8--fullbleed,
    .hom8-msg.hom8--fullbleed,
    .hom8-prof.hom8--fullbleed {
        position: static;
        left: auto;
        right: auto;
        width: 100%;
        max-width: 100%;
        margin-left: 0;
        margin-right: 0;
    }
}

.hom8-home *,
.hom8-fav *,
.hom8-bk *,
.hom8-msg *,
.hom8-prof * {
    box-sizing: border-box;
}

/* Isolate from Astra/theme palette — HOM8 colors only */
.hom8-home,
.hom8-fav,
.hom8-bk,
.hom8-msg,
.hom8-prof,
.hom8-mkt,
.hom8-pf {
    --hom8-link: #222222;
    --hom8-link-hover: #111111;
    color: var(--hom8-text);
}

.hom8-home a,
.hom8-fav a,
.hom8-bk a,
.hom8-msg a,
.hom8-prof a,
.hom8-mkt a,
.hom8-pf a {
    color: var(--hom8-link);
    text-decoration: none;
}

.hom8-home a:hover,
.hom8-home a:focus,
.hom8-fav a:hover,
.hom8-fav a:focus,
.hom8-bk a:hover,
.hom8-bk a:focus,
.hom8-msg a:hover,
.hom8-msg a:focus,
.hom8-mkt a:hover,
.hom8-mkt a:focus,
.hom8-pf a:hover,
.hom8-pf a:focus {
    color: var(--hom8-link-hover);
}

.hom8-home .hom8-block__title,
.hom8-home .hom8-block__provider-name,
.hom8-home .hom8-block__rating,
.hom8-home .hom8-block__price strong,
.hom8-fav .hom8-block__title,
.hom8-fav .hom8-block__provider-name,
.hom8-fav .hom8-block__rating,
.hom8-fav .hom8-block__price strong,
.hom8-mkt .hom8-block__title,
.hom8-mkt .hom8-block__provider-name,
.hom8-mkt .hom8-block__rating,
.hom8-mkt .hom8-block__price strong,
.hom8-fiverr-toolbar__title,
.hom8-fiverr-chips__title {
    color: var(--hom8-text) !important;
}

.hom8-home .hom8-block__loc,
.hom8-home .hom8-block__rating span,
.hom8-home .hom8-block__rating--muted,
.hom8-fav .hom8-block__loc,
.hom8-fav .hom8-block__rating span,
.hom8-fav .hom8-block__rating--muted,
.hom8-mkt .hom8-block__loc,
.hom8-mkt .hom8-block__rating span,
.hom8-mkt .hom8-block__rating--muted,
.hom8-fiverr-count,
.hom8-fiverr-status {
    color: var(--hom8-muted) !important;
}

.hom8-home__market {
    color: var(--hom8-text) !important;
    border-color: var(--hom8-border) !important;
    background: #fff !important;
}

.hom8-home__market.is-active {
    color: #fff !important;
    background: var(--hom8-primary) !important;
    border-color: var(--hom8-primary) !important;
}

/* Elementor/Astra hardening: don't cap shortcode widgets on desktop */
.elementor-widget-shortcode .elementor-shortcode > .hom8-home,
.elementor-widget-shortcode .elementor-shortcode > .hom8-fav,
.elementor-widget-shortcode .elementor-shortcode > .hom8-bk,
.elementor-widget-shortcode .elementor-shortcode > .hom8-msg,
.elementor-widget-shortcode .elementor-shortcode > .hom8-prof {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: clip;
}

.elementor-widget-shortcode .elementor-shortcode {
    max-width: 100%;
    overflow-x: clip;
}

/* Let hero filter dropdowns extend outside Elementor containers */
.elementor-widget-shortcode:has(.hom8-home__hero--fresha),
.elementor-widget-shortcode .elementor-shortcode:has(.hom8-home__hero--fresha) {
    overflow: visible !important;
}

.hom8-home__hero-inner,
.hom8-home__hero-pills {
    overflow: visible;
}

/* ── Home banner carousel ── */
.hom8-home__banners {
    overflow: hidden;
    margin-bottom: 24px;
}

.hom8-home__track {
    display: flex;
    transition: transform 0.45s ease;
    will-change: transform;
}

.hom8-home__slide {
    flex: 0 0 100%;
    position: relative;
    height: 180px;
    border-radius: 25px;
    overflow: hidden;
    cursor: pointer;
}

.hom8-home__slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hom8-home__slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.2), transparent);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 16px;
    color: #fff;
}

.hom8-home__slide-overlay h3 {
    margin: 0 0 6px;
    font-size: 1.15rem;
    font-weight: 700;
}

.hom8-home__slide-overlay p {
    margin: 0;
    font-size: 14px;
    opacity: 0.95;
}

.hom8-home__dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 10px;
}

.hom8-home__dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    border: none;
    padding: 0;
    background: #d1d1d1;
    cursor: pointer;
}

.hom8-home__dot.is-active {
    background: var(--hom8-primary);
    width: 18px;
    border-radius: 999px;
}

.hom8-home__heading {
    font-size: 1.35rem;
    font-weight: 700;
    margin: 0 0 14px;
}

.hom8-home__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

@media (max-width: 480px) {
    .hom8-home__grid {
        gap: 10px;
    }
}

.hom8-home__cat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: inherit;
}

.hom8-home__cat-thumb {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    border-radius: 12px;
    overflow: hidden;
    background: #ebebeb;
}

.hom8-home__cat-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hom8-home__cat-tag {
    position: absolute;
    top: 6px;
    right: 6px;
    font-size: 8px;
    font-weight: 700;
    color: #fff;
    background: var(--hom8-accent);
    padding: 3px 6px;
    border-radius: 999px;
}

.hom8-home__cat-label {
    font-size: 11px;
    text-align: center;
    line-height: 1.3;
    white-space: pre-line;
}

.hom8-home__provider-cta {
    margin-top: 28px;
    text-align: center;
}

.hom8-home__provider-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 22px;
    border-radius: 999px;
    background: #000;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.22);
}

/* ── Fiverr-style chips + block grid ── */
.hom8-fiverr {
    max-width: none;
}

.hom8-home__markets {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
}

.hom8-home__market {
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid var(--hom8-border);
    background: #fff;
    color: inherit;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}

.hom8-home__market.is-active {
    background: var(--hom8-primary);
    color: #fff;
    border-color: var(--hom8-primary);
}

.hom8-fiverr-chips-section {
    margin-bottom: 22px;
}

.hom8-fiverr-chips__title {
    margin: 0 0 12px;
    font-size: 15px;
    font-weight: 700;
    color: var(--hom8-text);
    letter-spacing: -0.01em;
}

.hom8-chip-scroller {
    display: flex;
    align-items: center;
    gap: 10px;
}

.hom8-chip-track {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 2px 0 6px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.hom8-chip-track::-webkit-scrollbar {
    display: none;
}

/* Fiverr pill: label only (icons removed) */
.hom8-chip {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    border-radius: 999px;
    border: 1px solid #e2e2e2;
    background: #ffffff;
    cursor: pointer;
    white-space: nowrap;
    font-family: inherit;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.hom8-chip:hover {
    border-color: #c8c8c8;
}

.hom8-chip.is-active {
    border: 2px solid #222222;
    padding: 7px 15px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
}

.hom8-chip__icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    background: #f3f3f3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.hom8-chip__icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hom8-chip__icon--all {
    color: #555;
    background: #f0f0f0;
}

.hom8-chip__icon--all .hom8-icon {
    font-size: 16px;
    line-height: 1;
}

.hom8-chip__label {
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    color: #222222;
    letter-spacing: -0.01em;
}

.hom8-chip-navs {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.hom8-chip-nav {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid #e2e2e2;
    background: #fff;
    color: #222;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    transition: border-color 0.15s, background 0.15s;
}

.hom8-chip-nav .hom8-icon,
.hom8-fiverr-toolbar__filter .hom8-icon {
    font-size: 18px;
    line-height: 1;
    display: inline-block;
    pointer-events: none;
}

.hom8-chip-nav:hover {
    border-color: #c8c8c8;
    background: #fafafa;
}

.hom8-chip-nav:disabled {
    opacity: 0.35;
    cursor: default;
}

.hom8-fiverr-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 6px;
}

.hom8-fiverr-toolbar__title {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 700;
}

.hom8-fiverr-toolbar__filter {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid #e2e2e2;
    background: #fff;
    color: #222 !important;
    font-size: 16px;
    line-height: 1;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    appearance: none;
    -webkit-appearance: none;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    min-width: 0 !important;
    min-height: 0 !important;
    text-transform: none;
    letter-spacing: inherit;
}

.hom8-fiverr-toolbar__filter:hover {
    border-color: #c8c8c8;
    background: #fafafa;
    color: #222 !important;
}

.hom8-fiverr-count {
    margin: 0 0 14px;
    font-size: 14px;
    color: var(--hom8-muted);
}

.hom8-fiverr-status {
    min-height: 18px;
    font-size: 14px;
    color: var(--hom8-muted);
    margin-bottom: 10px;
}

.hom8-fiverr-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    row-gap: 20px;
    column-gap: 0;
}

@media (min-width: 640px) {
    .hom8-fiverr-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 22px;
    }
}

@media (min-width: 992px) {
    .hom8-fiverr-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        row-gap: 28px;
        column-gap: 28px;
    }
}

@media (min-width: 1200px) {
    .hom8-fiverr-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

/* Block cards (Fiverr-style) */
.hom8-block {
    display: flex;
    flex-direction: column;
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
    padding: 0;
}

.hom8-block__media {
    position: relative;
    width: 100%;
    /* Make cards feel less tall on wide screens */
    aspect-ratio: 16 / 10;
    border-radius: 12px;
    overflow: hidden;
    background: #ebebeb;
}

.hom8-block__media .hom8-mkt__carousel--block {
    position: absolute;
    inset: 0;
    height: 100%;
}

.hom8-block__fav {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.95);
    font-size: 15px;
    line-height: 1;
    cursor: pointer;
    z-index: 3;
    color: #222;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
    padding: 0;
    appearance: none;
    -webkit-appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 0 !important;
    min-height: 0 !important;
    text-decoration: none !important;
    transform: none !important;
}

.hom8-block__fav .hom8-icon {
    font-size: 18px;
    line-height: 1;
    display: inline-block;
    pointer-events: none;
}

.hom8-block__fav.is-active {
    color: var(--hom8-accent);
}

.hom8-block__body {
    padding: 12px 2px 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}

.hom8-block__provider {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    margin-bottom: 2px;
}

.hom8-block__provider .hom8-mkt__avatar {
    width: 32px;
    height: 32px;
    font-size: 14px;
}

.hom8-block__provider-name {
    font-size: 13px;
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--hom8-text) !important;
}

.hom8-block__badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-left: auto;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.2;
    color: #fff !important;
    background: #222 !important;
    padding: 4px 8px;
    border-radius: 999px;
    white-space: nowrap;
    flex-shrink: 0;
}

.hom8-block__badge .hom8-icon {
    font-size: 12px;
    line-height: 1;
    display: inline-block;
    flex-shrink: 0;
}

.hom8-block__title {
    margin: 0;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.4;
    color: var(--hom8-text);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hom8-block__loc {
    margin: 0;
    font-size: 12px;
    color: var(--hom8-muted) !important;
}

.hom8-block__loc + .hom8-block__rating {
    margin-top: 0;
}

.hom8-block__rating {
    font-size: 13px;
    color: var(--hom8-text) !important;
}

.hom8-block__rating strong {
    font-weight: 700;
}

.hom8-block__rating span {
    color: var(--hom8-muted);
    font-weight: 400;
}

.hom8-block__rating--muted {
    color: var(--hom8-muted);
    font-size: 12px;
}

.hom8-block__price {
    margin-top: auto;
    padding-top: 4px;
    font-size: 13px;
    color: var(--hom8-muted);
}

.hom8-block__price strong {
    color: var(--hom8-text);
    font-size: 15px;
    font-weight: 700;
}

.hom8-block:hover .hom8-block__media {
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
}

/* Skeleton / ghost loading for block cards */
@keyframes hom8-skel-shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Real DOM spinners — reliable on iOS Safari (pseudo-elements may not paint before navigation) */
@keyframes hom8-btn-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@-webkit-keyframes hom8-btn-spin {
    from { -webkit-transform: rotate(0deg); }
    to { -webkit-transform: rotate(360deg); }
}

.hom8-btn-spinner,
.hom8-tab-spinner,
.hom8-block-spinner {
    animation: hom8-btn-spin 0.65s linear infinite;
    -webkit-animation: hom8-btn-spin 0.65s linear infinite;
    animation-play-state: running;
    -webkit-animation-play-state: running;
    will-change: transform;
}

.hom8-btn-spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-top-color: #ffffff;
    border-radius: 50%;
    flex-shrink: 0;
}

.hom8-btn-spinner--dark {
    border-color: rgba(0, 0, 0, 0.12);
    border-top-color: #222222;
}

.hom8-tab-spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2.5px solid rgba(1, 198, 171, 0.2);
    border-top-color: #01c6ab;
    border-radius: 50%;
    z-index: 5;
}

.hom8-mkt__btn.is-loading,
.hom8-auth__submit.is-loading,
.hom8-msg__composer button.is-loading {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.hom8-skel {
    display: block;
    border-radius: 8px;
    background: linear-gradient(90deg, #ececec 0%, #f5f5f5 45%, #ececec 90%);
    background-size: 200% 100%;
    animation: hom8-skel-shimmer 1.35s ease-in-out infinite;
}

.hom8-block--skeleton {
    pointer-events: none;
    cursor: default;
}

.hom8-block--skeleton .hom8-block__media {
    background: #ebebeb;
}

.hom8-skel--media {
    width: 100%;
    height: 100%;
    border-radius: 12px;
    animation: hom8-skel-shimmer 1.35s ease-in-out infinite;
}

.hom8-skel-provider {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}

.hom8-skel--avatar {
    flex: 0 0 32px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
}

.hom8-skel--line {
    height: 12px;
}

.hom8-skel--title {
    height: 14px;
    margin-bottom: 2px;
}

.hom8-skel--price {
    height: 13px;
    margin-top: 4px;
}

.hom8-skel--w90 { width: 90%; }
.hom8-skel--w65 { width: 65%; }
.hom8-skel--w55 { width: 55%; }
.hom8-skel--w40 { width: 40%; }
.hom8-skel--w35 { width: 35%; }

.hom8-block--skeleton .hom8-block__body {
    gap: 6px;
}

@media (prefers-reduced-motion: reduce) {
    .hom8-skel,
    .hom8-skel--media {
        animation: none;
        background: #ececec;
    }
}

/* Lock page scroll when HOM8 overlays are open (iOS-safe) */
html.hom8-scroll-lock,
html.hom8-scroll-lock body {
    overflow: hidden !important;
    overflow-x: hidden !important;
    height: 100%;
    max-width: 100%;
    overscroll-behavior: none;
}

body.hom8-scroll-lock {
    position: fixed;
    width: 100%;
    left: 0;
    right: 0;
}

/* ── Favourites ── */
.hom8-fav {
    background: #ffffff;
    color: var(--hom8-text);
}

.hom8-fav__loading {
    padding: 0;
}

.hom8-fav__section--skeleton {
    pointer-events: none;
}

.hom8-fav__section-head--skeleton {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 16px 0;
    border: none;
    background: transparent;
    cursor: default;
}

.hom8-fav__section-head-skel {
    height: 18px;
    max-width: 160px;
}

.hom8-fav__empty {
    text-align: center;
    padding: 64px 24px;
}

.hom8-fav__empty-icon {
    font-size: 48px;
    margin-bottom: 12px;
    opacity: 0.35;
}

.hom8-fav__empty h2 {
    margin: 0 0 8px;
    font-size: 1.25rem;
    color: var(--hom8-text) !important;
}

.hom8-fav__empty p {
    margin: 0 0 20px;
    color: var(--hom8-muted);
}

.hom8-fav__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 22px;
    border-radius: 999px;
    background: var(--hom8-primary, #222222);
    color: #ffffff !important;
    font-weight: 600;
    text-decoration: none !important;
    border: none;
    box-shadow: none;
    font-size: 15px;
    line-height: 1.2;
}

.hom8-fav__cta:hover,
.hom8-fav__cta:focus,
.hom8-fav__cta:active {
    background: #111111;
    color: #ffffff !important;
    text-decoration: none !important;
}

.hom8-fav .hom8-fav__cta {
    color: #ffffff !important;
}

/* Hide theme page title when HOM8 favourites shortcode is on the page */
body:has([data-hom8-favourites]) .entry-header,
body:has([data-hom8-favourites]) .page-header,
body:has([data-hom8-favourites]) .ast-single-entry-banner,
body:has([data-hom8-favourites]) .elementor-page-title {
    display: none !important;
}

/* Hide theme page title on category pages (photography, venues, chauffeur) */
body:has([data-hom8-home].hom8-home--category-page) .entry-header,
body:has([data-hom8-home].hom8-home--category-page) .page-header,
body:has([data-hom8-home].hom8-home--category-page) .ast-single-entry-banner,
body:has([data-hom8-home].hom8-home--category-page) .elementor-page-title,
body:has([data-hom8-home].hom8-home--category-page) .ast-page-title,
body:has([data-hom8-home].hom8-home--category-page) .ast-archive-description {
    display: none !important;
}

body:has([data-hom8-home].hom8-home--category-page) #page .site-content,
body:has([data-hom8-home].hom8-home--category-page) .site-main,
body:has([data-hom8-home].hom8-home--category-page) #primary,
body:has([data-hom8-home].hom8-home--category-page) .ast-container,
body:has([data-hom8-home].hom8-home--category-page) .entry-content,
body:has([data-hom8-home].hom8-home--category-page) .elementor-widget-shortcode,
body:has([data-hom8-home].hom8-home--category-page) .elementor-widget-shortcode .elementor-widget-container {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* ── Bookings ── */
.hom8-bk,
.elementor-widget-shortcode .elementor-shortcode > .hom8-bk {
    background: transparent;
    color: var(--hom8-text, #222222);
    min-height: 50vh;
    padding: 0;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    box-sizing: border-box;
}

/* Same page-chrome cleanup as home / favourites / profile */
body:has([data-hom8-bookings]) .entry-header,
body:has([data-hom8-bookings]) .page-header,
body:has([data-hom8-bookings]) .ast-single-entry-banner,
body:has([data-hom8-bookings]) .elementor-page-title,
body:has([data-hom8-bookings]) .ast-page-title,
body:has([data-hom8-bookings]) .entry-title,
body:has([data-hom8-bookings]) h1.entry-title,
body:has([data-hom8-provider-flow]) .entry-header,
body:has([data-hom8-provider-flow]) .page-header,
body:has([data-hom8-provider-flow]) .ast-single-entry-banner,
body:has([data-hom8-provider-flow]) .elementor-page-title,
body:has([data-hom8-provider-flow]) .ast-page-title,
body:has([data-hom8-provider-flow]) .entry-title,
body:has([data-hom8-provider-flow]) h1.entry-title {
    display: none !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

body:has([data-hom8-bookings]) #secondary,
body:has([data-hom8-bookings]) .widget-area,
body:has([data-hom8-bookings]) .sidebar,
body:has([data-hom8-bookings]) aside.widget-area,
body:has([data-hom8-provider-flow]) #secondary,
body:has([data-hom8-provider-flow]) .widget-area,
body:has([data-hom8-provider-flow]) .sidebar,
body:has([data-hom8-provider-flow]) aside.widget-area {
    display: none !important;
}

/* Shared app-page shell: one horizontal gutter source (matches home) */
body:has([data-hom8-home]) .elementor-section.elementor-section-boxed > .elementor-container,
body:has([data-hom8-favourites]) .elementor-section.elementor-section-boxed > .elementor-container,
body:has([data-hom8-bookings]) .elementor-section.elementor-section-boxed > .elementor-container,
body:has([data-hom8-profile]) .elementor-section.elementor-section-boxed > .elementor-container,
body:has([data-hom8-provider-flow]) .elementor-section.elementor-section-boxed > .elementor-container,
body:has([data-hom8-home]) .elementor-column-wrap,
body:has([data-hom8-favourites]) .elementor-column-wrap,
body:has([data-hom8-bookings]) .elementor-column-wrap,
body:has([data-hom8-profile]) .elementor-column-wrap,
body:has([data-hom8-provider-flow]) .elementor-column-wrap,
body:has([data-hom8-home]) .elementor-widget-wrap,
body:has([data-hom8-favourites]) .elementor-widget-wrap,
body:has([data-hom8-bookings]) .elementor-widget-wrap,
body:has([data-hom8-profile]) .elementor-widget-wrap,
body:has([data-hom8-provider-flow]) .elementor-widget-wrap,
body:has([data-hom8-home]) .elementor-widget-shortcode,
body:has([data-hom8-favourites]) .elementor-widget-shortcode,
body:has([data-hom8-bookings]) .elementor-widget-shortcode,
body:has([data-hom8-profile]) .elementor-widget-shortcode,
body:has([data-hom8-provider-flow]) .elementor-widget-shortcode,
body:has([data-hom8-home]) .elementor-widget-shortcode .elementor-widget-container,
body:has([data-hom8-favourites]) .elementor-widget-shortcode .elementor-widget-container,
body:has([data-hom8-bookings]) .elementor-widget-shortcode .elementor-widget-container,
body:has([data-hom8-profile]) .elementor-widget-shortcode .elementor-widget-container,
body:has([data-hom8-provider-flow]) .elementor-widget-shortcode .elementor-widget-container,
body:has([data-hom8-home]) .elementor-shortcode,
body:has([data-hom8-favourites]) .elementor-shortcode,
body:has([data-hom8-bookings]) .elementor-shortcode,
body:has([data-hom8-profile]) .elementor-shortcode,
body:has([data-hom8-provider-flow]) .elementor-shortcode {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.hom8-bk__tabs {
    display: flex;
    gap: 8px;
    padding: 0 0 12px;
    margin: 0;
    background: transparent;
    border-bottom: none;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.hom8-bk__tab {
    flex: 1 1 0;
    min-width: 0;
    padding: 10px 12px;
    border: 1px solid var(--hom8-border, #dddddd) !important;
    border-radius: 999px;
    background: #ffffff !important;
    background-color: #ffffff !important;
    color: #222222 !important;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    box-shadow: none !important;
    outline: none !important;
    text-decoration: none !important;
}

.hom8-bk__tab:hover,
.hom8-bk__tab:focus {
    background: #f7f7f7 !important;
    background-color: #f7f7f7 !important;
    color: #222222 !important;
    border-color: #cfcfcf !important;
    box-shadow: none !important;
}

.hom8-bk__tab.is-active,
.hom8-bk__tab.is-active:hover,
.hom8-bk__tab.is-active:focus,
.hom8-bk__tab[aria-selected="true"],
.hom8-bk .hom8-bk__tab.is-active {
    background: #222222 !important;
    background-color: #222222 !important;
    color: #ffffff !important;
    border-color: #222222 !important;
    box-shadow: none !important;
}

.hom8-bk__body {
    padding: 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.hom8-bk__loading,
.hom8-bk__loading-skels {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.hom8-bk__loading {
    align-items: center;
    justify-content: center;
    min-height: 42vh;
    padding: 48px 24px;
    text-align: center;
    color: #717171;
    font-size: 15px;
    font-weight: 500;
}

.hom8-bk__loading-text {
    display: block;
    width: 100%;
    max-width: 28ch;
    margin: 0 auto;
}

.hom8-bk__card--skel {
    pointer-events: none;
    cursor: default;
    box-shadow: none;
}

.hom8-bk__chip-skel {
    flex: 0 0 64px;
    width: 64px;
    height: 22px;
    border-radius: 999px;
}

.hom8-bk__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
}

.hom8-bk__list > li {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.hom8-bk__card,
.hom8-bk button.hom8-bk__card {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100% !important;
    max-width: 100% !important;
    min-height: 0 !important;
    height: auto !important;
    box-sizing: border-box;
    text-align: left;
    border: 1px solid #e8e8e8 !important;
    border-radius: 14px;
    background: #ffffff !important;
    padding: 12px 12px 12px 14px !important;
    margin: 0 !important;
    box-shadow: none !important;
    cursor: pointer;
    font: inherit;
    color: inherit;
    line-height: 1.25;
    appearance: none;
    -webkit-appearance: none;
}

.hom8-bk__card-main {
    flex: 1 1 auto;
    min-width: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.hom8-bk__card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin: 0;
}

.hom8-bk__card-title {
    display: block;
    flex: 1 1 auto;
    min-width: 0;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.3;
    margin: 0;
    color: var(--hom8-text, #222222);
}

.hom8-bk__chip {
    display: inline-flex;
    align-items: center;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
    flex-shrink: 0;
    line-height: 1.4;
}

.hom8-bk__chip--pending { background: #1a7a4c; }
.hom8-bk__chip--assigned { background: #c27803; }
.hom8-bk__chip--progress { background: #4b5fd1; }
.hom8-bk__chip--done { background: #1a7a4c; }

.hom8-bk__card-meta,
.hom8-bk__card-provider,
.hom8-bk__card-loc {
    margin: 0;
    padding: 0;
    font-size: 13px;
    color: #717171;
    line-height: 1.35;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hom8-bk__card-price {
    font-weight: 700;
    font-size: 14px;
    color: var(--hom8-text, #222222);
    flex-shrink: 0;
    line-height: 1.3;
    white-space: nowrap;
}

.hom8-bk__card-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 4px;
}

.hom8-bk__card-ref {
    margin: 0;
    color: #999;
    font-size: 12px;
    line-height: 1.3;
}

.hom8-bk__card-chevron {
    flex-shrink: 0;
    align-self: center;
    color: #c7c7c7;
    font-size: 14px;
    line-height: 1;
    margin: 0;
}

.hom8-bk__card--skel {
    pointer-events: none;
}

.hom8-bk__empty {
    text-align: center;
    padding: 48px 24px;
}

.hom8-bk__empty-icon {
    font-size: 48px;
    color: #ccc;
    display: block;
    margin-bottom: 12px;
}

.hom8-bk__empty h2 {
    margin: 0 0 8px;
    font-size: 1.2rem;
}

.hom8-bk__empty p {
    margin: 0 0 20px;
    color: #717171;
}

.hom8-bk__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 22px;
    border-radius: 999px;
    background: #222;
    color: #fff !important;
    font-weight: 600;
    text-decoration: none !important;
    border: none;
    font-size: 15px;
    cursor: pointer;
}

.hom8-bk__error {
    padding: 24px;
    text-align: center;
    color: #717171;
}

.hom8-bk__detail {
    position: fixed;
    inset: 0;
    z-index: 100000;
    width: 100%;
    max-width: 100vw;
    overflow: hidden;
    overscroll-behavior: none;
    touch-action: none;
}

.hom8-bk__detail[hidden] {
    display: none !important;
}

.hom8-bk__detail-backdrop {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: rgba(0, 0, 0, 0.45);
    touch-action: none;
}

.hom8-bk__detail-panel {
    position: absolute;
    inset: auto 0 0 0;
    z-index: 1;
    width: 100%;
    max-width: 100%;
    max-height: 92dvh;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-y: contain;
    background: #fff;
    border-radius: 16px 16px 0 0;
    padding: 12px 20px calc(24px + env(safe-area-inset-bottom, 0px));
    box-sizing: border-box;
}

.hom8-bk__detail-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 40px;
    height: 40px;
    margin: 0;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: #f2f2f2;
    color: #222 !important;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    z-index: 5;
    appearance: none;
    -webkit-appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: none;
}

.hom8-bk__detail-close .bi {
    display: block;
    line-height: 1;
    font-size: 18px;
}

.hom8-bk .hom8-bk__detail-close:hover,
.hom8-bk .hom8-bk__detail-close:focus,
.hom8-bk .hom8-bk__detail-close:active {
    background: #e8e8e8 !important;
    color: #222 !important;
    border: none !important;
    box-shadow: none !important;
    outline: none;
}

.hom8-bk__detail-body {
    width: 100%;
    max-width: 100%;
    padding-top: 36px;
    box-sizing: border-box;
}

.hom8-bk__detail-body h3 {
    margin: 0 0 12px;
    padding-right: 48px;
    font-size: 1.15rem;
    line-height: 1.3;
}

.hom8-bk__detail-status {
    margin: 0 0 8px;
}

.hom8-bk__detail-grid {
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 10px 12px;
    margin: 16px 0 0;
    padding-bottom: 8px;
}

.hom8-bk__detail-grid dt {
    margin: 0;
    color: #717171;
    font-size: 13px;
}

.hom8-bk__detail-grid dd {
    margin: 0;
    font-size: 14px;
    word-break: break-word;
}

@media (min-width: 768px) {
    .hom8-bk__detail-panel {
        inset: 5vh auto auto 50%;
        transform: translateX(-50%);
        width: min(560px, 92vw);
        max-height: 90vh;
        border-radius: 16px;
        padding-bottom: 24px;
    }
}

body.hom8-bk-detail-open .hom8-mobile-tabbar {
    display: none !important;
}

body:has([data-hom8-messages]) .entry-header,
body:has([data-hom8-messages]) .page-header,
body:has([data-hom8-messages]) .ast-single-entry-banner,
body:has([data-hom8-messages]) .elementor-page-title,
body:has([data-hom8-messages]) .ast-page-title {
    display: none !important;
}

body:has([data-hom8-profile]) .entry-header,
body:has([data-hom8-profile]) .page-header,
body:has([data-hom8-profile]) .ast-single-entry-banner,
body:has([data-hom8-profile]) .elementor-page-title,
body:has([data-hom8-profile]) .ast-page-title,
body:has([data-hom8-profile]) .entry-title,
body:has([data-hom8-profile]) h1.entry-title,
body:has([data-hom8-profile]) .ast-archive-description,
body:has([data-hom8-profile]) .ast-breadcrumbs-wrapper {
    display: none !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

body:has([data-hom8-profile]) #page .site-content,
body:has([data-hom8-profile]) .site-main,
body:has([data-hom8-profile]) #primary,
body:has([data-hom8-profile]) .ast-container,
body:has([data-hom8-profile]) .entry-content,
body:has([data-hom8-profile]) .ast-article-single,
body:has([data-hom8-profile]) .elementor-widget-shortcode,
body:has([data-hom8-profile]) .elementor-widget-shortcode .elementor-widget-container {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.hom8-fav__section {
    border-bottom: 1px solid #eee;
}

.hom8-fav__section-head {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 26px 4px 18px;
    border: none;
    background: transparent !important;
    cursor: pointer;
    text-align: left;
    color: var(--hom8-text) !important;
    font: inherit;
    letter-spacing: inherit;
    text-transform: none;
    box-shadow: none;
    -webkit-appearance: none;
    appearance: none;
}

.hom8-fav__section-head:hover,
.hom8-fav__section-head:focus,
.hom8-fav__section-head:active {
    color: var(--hom8-text) !important;
    background: transparent !important;
    box-shadow: none !important;
}

.hom8-fav__section-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--hom8-text) !important;
}

.hom8-fav__section-chevron {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #f0f0f0;
    position: relative;
}

.hom8-fav__section-chevron::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 8px;
    height: 8px;
    border-right: 2px solid #888;
    border-bottom: 2px solid #888;
    transform: translate(-50%, -65%) rotate(45deg);
    transition: transform 0.2s;
}

.hom8-fav__section-head[aria-expanded="true"] .hom8-fav__section-chevron::after {
    transform: translate(-50%, -35%) rotate(-135deg);
}

.hom8-fav__section-body {
    display: grid;
    gap: 16px;
    padding-bottom: 20px;
}

/* ── Messages ── */
/* Lock page scroll — only inbox / chat panes scroll */
html.hom8-msg-page-lock,
html.hom8-msg-page-lock body {
    overflow: hidden !important;
    overflow-x: hidden !important;
    overscroll-behavior: none;
    height: 100%;
    max-width: 100%;
}

.hom8-msg.hom8-msg--viewport {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Viewport mode stays inside the page — no 100vw breakout */
.hom8-msg.hom8-msg--viewport.hom8--fullbleed {
    position: static;
    left: auto;
    right: auto;
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    overflow-x: hidden;
    padding: 0;
}

.hom8-msg.hom8-msg--viewport.hom8--fullbleed .hom8-msg__layout {
    border: none;
    border-radius: 0;
    box-shadow: none;
}

.hom8-msg.hom8-msg--viewport .hom8-msg__page-head {
    flex-shrink: 0;
    padding: 12px 16px 10px;
}

.hom8-msg.hom8-msg--viewport.hom8--fullbleed .hom8-msg__page-head {
    padding-left: 0;
    padding-right: 0;
}

.hom8-msg.hom8-msg--viewport .hom8-msg__layout {
    flex: 1 1 auto;
    min-height: 0;
    height: auto;
    max-height: none;
    border: none;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
}

.hom8-msg.hom8-msg--viewport .hom8-msg__inbox {
    max-height: 100%;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
}

.hom8-msg.hom8-msg--viewport .hom8-msg__panel {
    overflow: hidden;
    max-height: 100%;
}

.hom8-msg__page-head {
    padding: 8px 0 20px;
}

.hom8-msg__page-head h1 {
    margin: 0;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--hom8-text, #222222) !important;
}

.hom8-msg__layout {
    display: grid;
    grid-template-columns: minmax(280px, 340px) minmax(0, 1fr);
    gap: 0;
    min-height: min(72vh, 720px);
    min-width: 0;
    width: 100%;
    max-width: 100%;
    border: none;
    border-radius: 0;
    overflow: hidden;
    background: transparent;
    box-shadow: none;
}

.hom8-msg.hom8-msg--viewport .hom8-msg__inbox,
.hom8-msg.hom8-msg--viewport .hom8-msg__panel {
    background: #fff;
}

.hom8-msg__inbox {
    border-right: 1px solid var(--hom8-border, #eeeeee);
    overflow-y: auto;
    background: #fff;
    min-height: 0;
}

.hom8-msg__panel {
    display: flex;
    flex-direction: column;
    min-height: 0;
    background: #fafafa;
}

.hom8-msg__panel-placeholder {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 24px;
    color: var(--hom8-muted, #717171);
}

.hom8-msg__panel-placeholder h2 {
    margin: 0 0 8px;
    font-size: 1.1rem;
    color: var(--hom8-text, #222222) !important;
}

.hom8-msg__panel-placeholder p {
    margin: 0;
    max-width: 280px;
    line-height: 1.5;
    color: var(--hom8-muted, #717171) !important;
}

.hom8-msg__panel-placeholder-icon,
.hom8-msg__empty-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    line-height: 1;
    margin-bottom: 12px;
    color: var(--hom8-muted, #717171) !important;
    opacity: 0.45;
}

.hom8-msg__empty-icon {
    margin-bottom: 14px;
}

.hom8-msg__empty--inbox {
    padding: 48px 20px;
}

@media (max-width: 767px) {
    .hom8-msg__layout {
        grid-template-columns: 1fr;
        min-height: min(70vh, 640px);
    }

    .hom8-msg.hom8-msg--viewport .hom8-msg__layout {
        min-height: 0;
    }

    .hom8-msg__panel {
        display: none;
    }

    .hom8-msg--chat-open .hom8-msg__inbox {
        display: none;
    }

    .hom8-msg--chat-open .hom8-msg__panel {
        display: flex;
        flex: 1 1 auto;
        min-height: 0;
        height: 100%;
    }

    /* Open chat fills the screen — JS pins to visualViewport and corrects drift */
    html.hom8-msg-chat-open,
    body.hom8-msg-chat-open {
        padding-top: 0 !important;
        margin-top: 0 !important;
    }

    html.hom8-msg-chat-open > .hom8-msg.hom8-msg--viewport.hom8-msg--chat-open,
    body.hom8-msg-chat-open .hom8-msg.hom8-msg--viewport.hom8-msg--chat-open,
    .hom8-msg.hom8-msg--viewport.hom8-msg--chat-open {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: auto !important;
        z-index: 2147483000 !important;
        width: 100% !important;
        max-width: 100% !important;
        height: calc(100dvh - 68px - env(safe-area-inset-bottom, 0px)) !important;
        max-height: none !important;
        margin: 0 !important;
        padding: 0 !important;
        background: #ffffff !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        transform: none !important;
        filter: none !important;
        inset: auto !important;
    }

    .hom8-msg.hom8-msg--viewport.hom8-msg--chat-open .hom8-msg__layout,
    .hom8-msg.hom8-msg--viewport.hom8-msg--chat-open .hom8-msg__panel,
    .hom8-msg.hom8-msg--viewport.hom8-msg--chat-open .hom8-msg__chat {
        height: 100% !important;
        min-height: 0 !important;
        max-height: none !important;
        margin: 0 !important;
        padding: 0 !important;
        gap: 0 !important;
    }

    .hom8-msg--chat-open .hom8-msg__page-head {
        display: none !important;
    }

    .hom8-msg--chat-open .hom8-msg__chat-head {
        padding: 12px 16px !important;
        margin: 0 !important;
        border-top: none !important;
        flex-shrink: 0 !important;
        position: relative !important;
        z-index: 2 !important;
        background: #ffffff !important;
        overflow: visible !important;
        min-height: 56px;
        align-items: center !important;
    }

    .hom8-msg--chat-open .hom8-msg__chat-head h2 {
        overflow: visible !important;
        white-space: nowrap;
        text-overflow: ellipsis;
        max-width: 100%;
    }

    .hom8-msg--chat-open .hom8-msg__chat-avatar {
        flex-shrink: 0;
        overflow: hidden;
    }

    .hom8-msg--chat-open .hom8-msg__chat-log {
        position: relative;
        z-index: 1;
        min-height: 0 !important;
    }

    .hom8-msg--chat-open .hom8-msg__composer {
        flex-shrink: 0;
        margin: 0;
        padding: 10px 12px !important;
    }

    body.hom8-msg-chat-open.hom8-has-mobile-tabbar {
        padding-bottom: 0 !important;
    }

    body.hom8-msg-chat-open #masthead,
    body.hom8-msg-chat-open .site-header,
    body.hom8-msg-chat-open .main-header-bar,
    body.hom8-msg-chat-open .ast-primary-header-bar,
    body.hom8-msg-chat-open .ast-mobile-header-wrap,
    body.hom8-msg-chat-open .ast-above-header-wrap,
    body.hom8-msg-chat-open .ast-below-header-wrap,
    body.hom8-msg-chat-open .ast-header-break-point,
    body.hom8-msg-chat-open .ast-main-header-wrap,
    body.hom8-msg-chat-open .main-header-bar-wrap,
    body.hom8-msg-chat-open header.site-header,
    body.hom8-msg-chat-open .ast-sticky-active,
    body.hom8-msg-chat-open .ast-header-sticked {
        display: none !important;
        height: 0 !important;
        min-height: 0 !important;
        max-height: 0 !important;
        overflow: hidden !important;
        visibility: hidden !important;
        pointer-events: none !important;
        opacity: 0 !important;
    }

    body.hom8-msg-chat-open #wpadminbar {
        display: none !important;
    }

    body.hom8-msg-chat-open #page,
    body.hom8-msg-chat-open #content,
    body.hom8-msg-chat-open .site-content,
    body.hom8-msg-chat-open .ast-container {
        padding-top: 0 !important;
        margin-top: 0 !important;
    }
}

@media (min-width: 768px) {
    .hom8-msg__back {
        display: none;
    }
}

.hom8-msg__empty {
    text-align: center;
    padding: 72px 24px;
}

.hom8-msg__empty h2 {
    margin: 0 0 8px;
}

.hom8-msg__empty p {
    margin: 0;
    color: var(--hom8-muted);
    max-width: 320px;
    margin-inline: auto;
    line-height: 1.5;
}

.hom8-msg__signin {
    margin-top: 20px;
    display: inline-flex;
    padding: 12px 22px;
    border-radius: 999px;
    background: var(--hom8-primary);
    color: #ffffff !important;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    font: inherit;
    font-size: 15px;
}

.hom8-msg__signin:hover,
.hom8-msg__signin:focus {
    color: #ffffff !important;
    background: #111111;
}

.hom8-msg__loading,
.hom8-msg__error {
    padding: 24px;
    text-align: center;
    color: var(--hom8-muted);
}

/* Messages ghost / skeleton loaders */
.hom8-msg__list--skeleton {
    pointer-events: none;
}

.hom8-msg__thread-skel {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border-bottom: 1px solid #eee;
}

.hom8-msg__thread-skel-avatar {
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
}

.hom8-msg__thread-skel-body {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
    min-width: 0;
}

.hom8-msg__thread-skel-body .hom8-skel--line {
    height: 12px;
    border-radius: 6px;
}

.hom8-msg__thread-skel-body .hom8-skel--line:first-child {
    height: 14px;
}

.hom8-msg__chat-skeleton {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 16px 14px 8px;
    min-height: 100%;
    width: 100%;
    box-sizing: border-box;
    flex: 1 1 auto;
}

.hom8-msg__bubble-skel {
    height: 52px;
    border-radius: 18px;
    max-width: 72%;
    min-width: 42%;
    background: #e8e8e8;
}

.hom8-msg__bubble-skel.hom8-skel {
    background: linear-gradient(90deg, #ececec 0%, #f5f5f5 45%, #ececec 90%);
    background-size: 200% 100%;
    animation: hom8-skel-shimmer 1.35s ease-in-out infinite;
}

.hom8-msg__bubble-skel--short {
    height: 40px;
    max-width: 48%;
    min-width: 28%;
}

.hom8-msg__bubble-skel--them {
    align-self: flex-start;
    border-bottom-left-radius: 6px;
}

.hom8-msg__bubble-skel--me {
    align-self: flex-end;
    border-bottom-right-radius: 6px;
}

.hom8-msg__chat-empty-wrap {
    position: relative;
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 100%;
    width: 100%;
}

.hom8-msg__chat-skeleton--empty {
    opacity: 0.45;
    pointer-events: none;
    min-height: 0;
    flex: 1 1 auto;
}

.hom8-msg__chat-empty-wrap .hom8-msg__chat-empty {
    position: absolute;
    left: 50%;
    top: 42%;
    transform: translate(-50%, -50%);
    width: min(100% - 32px, 280px);
    margin: 0;
    padding: 14px 16px;
    border-radius: 14px;
    background: rgba(247, 247, 247, 0.94);
    box-shadow: 0 0 0 10px rgba(247, 247, 247, 0.7);
    z-index: 1;
}

@media (prefers-reduced-motion: reduce) {
    .hom8-msg__thread-skel .hom8-skel,
    .hom8-msg__bubble-skel.hom8-skel {
        animation: none;
        background: #ececec;
    }
}

.hom8-msg__error {
    color: #b42318;
}

.hom8-msg__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.hom8-msg__thread {
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
    padding: 14px 16px;
    border: none;
    border-bottom: 1px solid #eee;
    background: transparent;
    color: var(--hom8-text, #222222) !important;
    text-align: left;
    cursor: pointer;
    font: inherit;
}

.hom8-msg__thread:hover,
.hom8-msg__thread:focus {
    background: #f7f7f7;
    color: var(--hom8-text, #222222) !important;
}

.hom8-msg__thread.is-active {
    background: #f0f0f0;
}

.hom8-msg__thread-body strong {
    color: var(--hom8-text, #222222) !important;
}

.hom8-msg__thread-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #f0f0f0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    font-weight: 700;
    flex-shrink: 0;
}

.hom8-msg__thread-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hom8-msg__thread-body {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.hom8-msg__thread-body strong {
    font-size: 15px;
}

.hom8-msg__thread-body span {
    font-size: 14px;
    color: var(--hom8-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hom8-msg__thread-body time {
    font-size: 12px;
    color: #999;
}

.hom8-msg__chat {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
    height: 100%;
}

.hom8-msg__chat-head {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-bottom: 1px solid #eee;
    background: #fff;
    flex-shrink: 0;
}

.hom8-msg__chat-head-main {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.hom8-msg__chat-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f0f0f0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    font-weight: 700;
    flex-shrink: 0;
    color: var(--hom8-text, #222222) !important;
}

.hom8-msg__chat-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hom8-msg__chat-head h2 {
    margin: 0 0 2px;
    font-size: 1rem;
    color: var(--hom8-text, #222222) !important;
}

.hom8-msg__chat-head p {
    margin: 0;
    color: var(--hom8-muted, #717171) !important;
    font-size: 13px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hom8-msg__back {
    border: none;
    background: #f5f5f5;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    padding: 0;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    color: var(--hom8-text, #222222) !important;
    flex-shrink: 0;
}

.hom8-msg__chat-log {
    flex: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 16px;
    min-height: 0;
    background: #f7f7f7;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
}

.hom8-msg__chat-empty {
    color: var(--hom8-muted);
    text-align: center;
    margin: auto;
}

.hom8-msg__day {
    display: flex;
    justify-content: center;
    margin: 12px 0 8px;
    width: 100%;
}

.hom8-msg__day span {
    background: rgba(0, 0, 0, 0.06);
    border-radius: 999px;
    color: var(--hom8-muted);
    font-size: 12px;
    font-weight: 600;
    padding: 6px 12px;
}

.hom8-msg__bubble {
    max-width: 82%;
    padding: 10px 14px;
    border-radius: 18px;
    background: #ffffff;
    border: 1px solid #e8e8e8;
    align-self: flex-start;
    color: var(--hom8-text, #222222) !important;
}

.hom8-msg__bubble--me {
    background: #222222;
    border-color: #222222;
    color: #ffffff !important;
    align-self: flex-end;
}

.hom8-msg__bubble p {
    margin: 0 0 4px;
    font-size: 15px;
    line-height: 1.45;
    color: inherit !important;
}

.hom8-msg__bubble--me p {
    color: #ffffff !important;
}

.hom8-msg__bubble time {
    font-size: 11px;
    opacity: 0.7;
    color: inherit !important;
}

.hom8-msg__composer {
    display: flex;
    gap: 8px;
    padding: 12px 16px;
    border-top: 1px solid #eee;
    background: #fff;
    flex-shrink: 0;
}

.hom8-msg__composer input {
    flex: 1;
    border: 1px solid var(--hom8-border, #dddddd);
    border-radius: 999px;
    padding: 10px 16px;
    font-size: 15px;
    color: var(--hom8-text, #222222) !important;
    background: #fff;
}

.hom8-msg__composer button {
    border: none;
    border-radius: 999px;
    background: var(--hom8-primary, #222222);
    color: #ffffff !important;
    font-weight: 600;
    padding: 10px 18px;
    cursor: pointer;
    font: inherit;
    font-size: 15px;
}

.hom8-msg__composer button:hover,
.hom8-msg__composer button:focus {
    background: #111111;
    color: #ffffff !important;
}

.hom8-msg__composer button.is-loading {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    pointer-events: none;
    cursor: wait;
    opacity: 0.95;
}

.hom8-msg__composer button.is-loading::before {
    display: none !important;
    content: none !important;
}

@keyframes hom8-msg-btn-spin {
    to {
        transform: rotate(360deg);
    }
}

.hom8-msg .hom8-msg__thread,
.hom8-msg .hom8-msg__back,
.hom8-msg .hom8-msg__composer button {
    color: var(--hom8-text, #222222);
}

.hom8-msg .hom8-msg__composer button,
.hom8-msg .hom8-msg__signin {
    color: #ffffff !important;
}

/* ── Profile ── */
.hom8-prof__hub[hidden],
.hom8-prof__skel[hidden] {
    display: none !important;
}

.hom8-prof__page-head {
    padding: 8px 0 16px;
    margin: 0;
}

.hom8-prof__page-title,
.hom8-prof h1.hom8-prof__page-title {
    margin: 0;
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--hom8-text, #222222);
}

.hom8-prof__skel {
    padding: 0 0 24px;
}

.hom8-prof__skel-title {
    display: block;
    height: 28px;
    margin: 8px 0 16px;
    max-width: 120px;
}

.hom8-prof__skel-hero {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 0 0 20px;
}

.hom8-prof__skel-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    flex-shrink: 0;
}

.hom8-prof__skel-identity {
    flex: 1 1 auto;
    min-width: 0;
    display: grid;
    gap: 10px;
}

.hom8-prof__skel-chevron {
    width: 14px;
    height: 14px;
    border-radius: 4px;
    flex-shrink: 0;
    margin-left: auto;
}

.hom8-prof__skel-promo {
    height: 96px;
    border-radius: 16px;
    margin: 0 0 28px;
}

.hom8-prof__skel-menu {
    display: grid;
    gap: 0;
}

.hom8-prof__skel-section {
    height: 16px;
    margin: 14px 0 10px;
}

.hom8-prof__skel-row {
    height: 18px;
    margin: 0 0 22px;
}

.hom8-prof__hero {
    display: flex;
    align-items: center;
    gap: 16px;
    width: 100%;
    text-align: left;
    padding: 0 0 20px;
    margin: 0;
}

.hom8-prof__avatar-btn {
    display: inline-flex;
    padding: 0;
    margin: 0;
    border: none;
    border-radius: 50%;
    background: transparent;
    box-shadow: none;
    outline: none;
    font: inherit;
    color: inherit;
    flex-shrink: 0;
    cursor: default;
    -webkit-appearance: none;
    appearance: none;
    -webkit-tap-highlight-color: transparent;
}

.hom8-prof__avatar-btn.is-tappable {
    cursor: pointer;
}

.hom8-prof__avatar-btn:disabled {
    cursor: default;
    opacity: 1;
}

.hom8-prof__avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #f0f0f0;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--hom8-muted);
    margin: 0;
    flex-shrink: 0;
    overflow: hidden;
}

.hom8-prof__identity {
    min-width: 0;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
}

.hom8-prof__name {
    display: block;
    font-size: 1.35rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.25;
    color: var(--hom8-text, #222222);
}

.hom8-prof__email {
    display: block;
    margin: 0;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.35;
    color: #717171;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
}

.hom8-prof__email[hidden] {
    display: none !important;
}

.hom8-prof__promo {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 16px;
    margin: 0 0 28px;
    border: 1px solid #ebebeb;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.hom8-prof__promo-copy {
    min-width: 0;
}

.hom8-prof__promo-title {
    margin: 0 0 6px;
    font-size: 16px;
    font-weight: 700;
    color: var(--hom8-text, #222222);
}

.hom8-prof__promo-body {
    margin: 0 0 10px;
    font-size: 14px;
    line-height: 1.45;
    color: #717171;
}

.hom8-prof__promo-cta {
    font-size: 14px;
    font-weight: 600;
    color: var(--hom8-text, #222222);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.hom8-prof__promo-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: #f5f5f5;
    color: #222;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}

.hom8-prof__menu {
    margin-top: 0;
    padding-bottom: 32px;
}

.hom8-prof__section-title {
    margin: 8px 0 4px;
    padding: 0 2px;
    font-size: 16px;
    font-weight: 700;
    color: var(--hom8-text, #222222);
}

.hom8-prof__menu-item {
    display: flex;
    align-items: center;
    gap: 16px;
    width: 100%;
    padding: 18px 2px;
    border: none;
    background: transparent;
    text-align: left;
    font-size: 16px;
    color: var(--hom8-text, #222222);
    text-decoration: none;
    cursor: pointer;
    border-bottom: 1px solid #eee;
    box-sizing: border-box;
    box-shadow: none;
    outline: none;
    -webkit-tap-highlight-color: transparent;
}

.hom8-prof__menu-item:last-child {
    border-bottom: none;
}

.hom8-prof__hero:hover,
.hom8-prof__hero:active,
.hom8-prof__hero:focus,
.hom8-prof__hero:focus-visible,
.hom8-prof__avatar-btn:hover,
.hom8-prof__avatar-btn:active,
.hom8-prof__avatar-btn:focus,
.hom8-prof__avatar-btn:focus-visible,
.hom8-prof__menu-item:hover,
.hom8-prof__menu-item:active,
.hom8-prof__menu-item:focus,
.hom8-prof__menu-item:focus-visible,
.hom8-prof__panel-back:hover,
.hom8-prof__panel-back:active,
.hom8-prof__panel-back:focus,
.hom8-prof__panel-back:focus-visible,
.hom8-prof a.hom8-prof__promo-cta:hover,
.hom8-prof a.hom8-prof__promo-cta:active,
.hom8-prof a.hom8-prof__promo-cta:focus,
.hom8-prof a.hom8-prof__promo-cta:focus-visible {
    opacity: 1 !important;
    outline: none !important;
    box-shadow: none !important;
}

.hom8-prof__hero:hover,
.hom8-prof__hero:active,
.hom8-prof__hero:focus,
.hom8-prof__hero:focus-visible,
.hom8-prof__avatar-btn:hover,
.hom8-prof__avatar-btn:active,
.hom8-prof__avatar-btn:focus,
.hom8-prof__avatar-btn:focus-visible,
.hom8-prof__menu-item:hover,
.hom8-prof__menu-item:active,
.hom8-prof__menu-item:focus,
.hom8-prof__menu-item:focus-visible {
    background: transparent !important;
    color: var(--hom8-text, #222222) !important;
}

.hom8-prof__panel-back:hover,
.hom8-prof__panel-back:active,
.hom8-prof__panel-back:focus,
.hom8-prof__panel-back:focus-visible {
    background: #f5f5f5 !important;
    color: var(--hom8-text, #222222) !important;
}

.hom8-prof__menu-icon {
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    opacity: 0.9;
    font-size: 18px;
    color: #222;
    flex-shrink: 0;
}

.hom8-prof__menu-label {
    flex: 1 1 auto;
    min-width: 0;
}

.hom8-prof__menu-chevron {
    margin-left: auto;
    color: #c7c7c7;
    font-size: 14px;
}

.hom8-prof__menu-item--disabled {
    opacity: 0.45;
    cursor: default;
}

.hom8-prof__menu-item--action {
    margin-top: 20px;
    border-bottom: none;
    color: var(--hom8-text, #222222);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
    justify-content: flex-start;
    padding-left: 2px;
}

.hom8-prof__menu-item--action .hom8-prof__menu-icon,
.hom8-prof__menu-item--action .hom8-prof__menu-chevron {
    display: none;
}

.hom8-prof__panel {
    display: none;
}

.hom8-prof--l3-open .hom8-prof__panel {
    display: block;
    margin: 0;
    border: none;
    padding: 0;
    background: #ffffff;
}

.hom8-prof__panel[hidden] {
    display: none !important;
}

.hom8-prof__l3 {
    min-height: 60vh;
    padding: 0 0 32px;
    background: #ffffff;
}

.hom8-prof__panel-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
    padding: 14px 16px;
    border-bottom: 1px solid #eee;
    background: #fff;
    flex-shrink: 0;
    min-height: 56px;
    box-sizing: border-box;
}

.hom8-prof__panel-head-main {
    min-width: 0;
    flex: 1 1 auto;
}

.hom8-prof__panel-head h2 {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.3;
    color: var(--hom8-text, #222222);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hom8-prof__panel-back {
    border: none;
    background: #f5f5f5;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    padding: 0;
    font-size: 18px;
    font-weight: 600;
    line-height: 1;
    cursor: pointer;
    color: var(--hom8-text, #222222) !important;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    -webkit-tap-highlight-color: transparent;
    -webkit-appearance: none;
    appearance: none;
    box-shadow: none;
    outline: none;
}

.hom8-prof__l3 .hom8-prof__photo-row,
.hom8-prof__l3 .hom8-prof__form {
    padding-left: 16px;
    padding-right: 16px;
}

.hom8-prof__l3 .hom8-prof__photo-row {
    margin-top: 20px;
}

.hom8-prof__form {
    display: grid;
    gap: 16px;
}

.hom8-prof__form label {
    display: grid;
    gap: 6px;
    font-size: var(--hom8-label-font, 14px);
    font-weight: 600;
}

.hom8-prof__form input,
.hom8-prof__form textarea {
    font-weight: 400;
    border: 1px solid var(--hom8-border);
    border-radius: var(--hom8-control-radius, 12px);
    padding: var(--hom8-input-py, 14px) var(--hom8-input-px, 16px);
    font-size: var(--hom8-input-font, 16px);
    font-family: inherit;
}

.hom8-prof__form input:disabled {
    background: #f7f7f7;
    color: var(--hom8-muted);
}

.hom8-prof__error {
    color: #b42318;
    font-size: 14px;
    margin: 0;
}

.hom8-prof__success {
    color: #067647;
    font-size: 14px;
    margin: 0;
}

.hom8-prof__avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

/* Favorite heart on cards */
.hom8-mkt__fav {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.92);
    font-size: 16px;
    line-height: 1;
    cursor: pointer;
    z-index: 2;
    color: #222;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
    padding: 0;
    appearance: none;
    -webkit-appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 0 !important;
    min-height: 0 !important;
    text-decoration: none !important;
    transform: none !important;
}

.hom8-mkt__fav svg {
    width: 18px;
    height: 18px;
    display: block;
    pointer-events: none;
}

.hom8-mkt__fav.is-active {
    color: var(--hom8-accent);
}

.hom8-mkt__card-media {
    position: relative;
}

.hom8-mkt__filter-trigger {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--hom8-border);
    border-radius: 999px;
    background: var(--hom8-card);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    margin-bottom: 16px;
}

.hom8-mkt__filter-trigger small {
    font-weight: 400;
    color: var(--hom8-muted);
}

.hom8-mkt__filter-option {
    display: block;
    padding: 10px 0;
    font-size: 15px;
    cursor: pointer;
}

.hom8-mkt__filter-option input {
    margin-right: 8px;
}

.hom8-mkt__category-hero {
    width: 100%;
    height: 200px;
    border-radius: var(--hom8-radius);
    overflow: hidden;
    margin-bottom: 20px;
    position: relative;
}

.hom8-mkt__category-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hom8-mkt__category-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.55), transparent 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
    color: #fff;
}

.hom8-mkt__category-hero-overlay h2 {
    margin: 0 0 4px;
    font-size: 1.5rem;
}

.hom8-mkt__category-hero-overlay p {
    margin: 0;
    font-size: 14px;
    opacity: 0.9;
}

.hom8-mkt__back,
.hom8-home__back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 12px 16px 0;
    color: var(--hom8-text);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
}

.hom8-home__category-topbar {
    position: relative !important;
    display: block !important;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    height: 44px;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

.hom8-home__category-back,
.hom8-home__category-filter {
    position: absolute !important;
    top: 50% !important;
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    max-width: 40px !important;
    min-height: 40px !important;
    max-height: 40px !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 1px solid #e2e2e2 !important;
    border-radius: 50% !important;
    background: #ffffff !important;
    color: #222222 !important;
    box-shadow: none !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
    line-height: 0 !important;
    font-size: 0 !important;
    transform: translateY(-50%) !important;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    z-index: 2;
}

.hom8-home__category-back {
    left: 0 !important;
    right: auto !important;
}

.hom8-home__category-filter {
    right: 0 !important;
    left: auto !important;
}

.hom8-home__category-back:hover,
.hom8-home__category-back:focus,
.hom8-home__category-filter:hover,
.hom8-home__category-filter:focus {
    border-color: #c8c8c8 !important;
    background: #fafafa !important;
    color: #222222 !important;
    transform: translateY(-50%) !important;
}

.hom8-home__category-back .hom8-icon,
.hom8-home__category-filter .hom8-icon {
    font-size: 18px !important;
    line-height: 1 !important;
    width: 18px !important;
    height: 18px !important;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    color: #222222 !important;
    pointer-events: none;
    transform: none !important;
}

.hom8-home__category-back--spacer {
    visibility: hidden;
    pointer-events: none;
    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
}

.hom8-home__category-title,
.hom8-home h1.hom8-home__category-title {
    position: absolute !important;
    left: 56px !important;
    right: 56px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: auto !important;
    max-width: none !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    color: #222222 !important;
    font-size: 22px !important;
    font-weight: 800 !important;
    line-height: 1.1 !important;
    text-align: center !important;
    letter-spacing: -0.02em;
    white-space: nowrap !important;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: normal !important;
    overflow-wrap: normal !important;
    writing-mode: horizontal-tb !important;
    display: block !important;
    float: none !important;
    clear: none !important;
    z-index: 1;
}

.hom8-home--category-page .hom8-home__banners,
.hom8-home--category-page .hom8-home__hero {
    display: none !important;
}

.hom8-home--category-page {
    --hom8-cat-gutter: 12px;
}

.hom8-home--category-page .hom8-home__chips-section {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 8px var(--hom8-cat-gutter) 4px;
    box-sizing: border-box;
    background: #ffffff;
    border: none;
    box-shadow: none;
}

.hom8-home__chips-toolbar {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.hom8-home__chips-toolbar .hom8-home__chips-scroller {
    flex: 1;
    min-width: 0;
}

.hom8-home__chips-filter {
    position: static !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
    flex-shrink: 0;
}

.hom8-home__chips-filter:hover,
.hom8-home__chips-filter:focus {
    transform: none !important;
}

@media (min-width: 768px) {
    .hom8-home--category-page {
        --hom8-cat-gutter: 24px;
    }

    .hom8-home--category-page .hom8-home__category-topbar {
        display: none !important;
    }

    /* Desktop: chips stay horizontal (like mobile), above the card grid */
    .hom8-home--category-page .hom8-home__category-shell {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
        width: 100%;
        max-width: 1440px;
        margin: 0 auto;
        padding: 20px 0 32px;
        box-sizing: border-box;
    }

    .hom8-home--category-page .hom8-home__chips-section {
        width: 100%;
        max-width: none;
        margin: 0;
        padding: 0 var(--hom8-cat-gutter);
        position: static;
    }

    .hom8-home--category-page .hom8-home__chips-toolbar {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 12px;
        min-height: 0;
        padding: 0;
        box-sizing: border-box;
    }

    .hom8-home--category-page .hom8-home__chips-toolbar .hom8-home__chips-scroller {
        flex: 1;
        min-width: 0;
        width: auto;
    }

    .hom8-home--category-page .hom8-home__chips-toolbar .hom8-chip-track {
        flex: 0 1 auto;
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: center;
        justify-content: flex-start;
        overflow-x: auto;
        overflow-y: hidden;
        min-height: 0;
        max-height: none;
        gap: 10px;
        padding: 2px 0 6px;
        scroll-padding-inline: 0;
    }

    .hom8-home--category-page .hom8-home__chips-toolbar .hom8-chip {
        width: auto;
        flex: 0 0 auto;
        white-space: nowrap;
    }

    .hom8-home--category-page .hom8-home__chips-filter {
        display: inline-flex !important;
        position: static !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        transform: none !important;
        flex-shrink: 0;
        width: 40px !important;
        max-width: 40px !important;
    }

    .hom8-home--category-page .hom8-home__chips-filter:hover,
    .hom8-home--category-page .hom8-home__chips-filter:focus {
        transform: none !important;
    }

    .hom8-home--category-page .hom8-home__category-topbar-filter {
        display: none !important;
    }

    .hom8-home--category-page .hom8-home__category-main {
        width: 100%;
        min-width: 0;
        padding-top: 0;
    }

    /* Same left edge as chips — first chip aligns with first card */
    .hom8-home--category-page .hom8-home__filtered {
        padding: 0 var(--hom8-cat-gutter) 32px;
        max-width: none;
        margin: 0;
        box-sizing: border-box;
    }
}

.hom8-home--category-page .hom8-fiverr-chips-section {
    margin-bottom: 0;
}

.hom8-home--category-page .hom8-home__chips-scroller {
    width: 100%;
    max-width: 100%;
    display: block;
}

.hom8-home--category-page .hom8-home__chips-section .hom8-chip-track {
    width: 100%;
    max-width: 100%;
    padding: 2px 0 6px;
    scroll-padding-inline: 0;
    box-sizing: border-box;
}

.hom8-home--category-page .hom8-home__chips-section .hom8-chip-navs {
    display: none;
}

.hom8-mkt__filters-group {
    margin-bottom: 18px;
}

.hom8-mkt__filters-group > span {
    display: block;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--hom8-muted);
    margin-bottom: 8px;
}

.hom8-pf__gate,
.hom8-cleaner-gate {
    max-width: 520px;
    margin: 2rem auto;
    padding: 2rem;
    text-align: center;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
}

/* Provider gate matches bookings empty state (overrides card above) */
.hom8-pf .hom8-pf__gate {
    max-width: none;
    margin: 0;
    padding: 64px 24px 48px;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
}

.hom8-pf__gate-actions,
.hom8-cleaner-gate p {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    align-items: center;
}

.hom8-pf__gate-btn,
.hom8-cleaner-gate__btn {
    display: inline-block;
    padding: 12px 20px;
    border-radius: 999px;
    background: #222222;
    color: #fff !important;
    text-decoration: none !important;
    font-weight: 600;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: 15px;
}

.hom8-pf__gate-btn:hover,
.hom8-pf__gate-btn:focus,
.hom8-cleaner-gate__btn:hover,
.hom8-cleaner-gate__btn:focus {
    background: #111111;
    color: #fff !important;
}

.hom8-pf__gate-link,
.hom8-cleaner-gate__link {
    color: var(--hom8-accent, #111);
    font-weight: 600;
}

.hom8-cleaner-gate__hint {
    font-size: 13px;
    opacity: 0.7;
    margin-top: 1rem;
}

.hom8-prof__photo-row {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 0 0 20px;
    padding: 0 20px;
}

.hom8-prof__photo-preview {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    overflow: hidden;
    background: #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 700;
}

.hom8-prof__photo-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hom8-prof__photo-upload {
    font-weight: 600;
    cursor: pointer;
}

.hom8-prof__photo-hint {
    font-size: 13px;
    margin: 0;
}

/* ── Fiverr-style home sidebar + carousel ── */
.hom8-home__explore-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
}

.hom8-home__explore-title {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--hom8-text, #222) !important;
}

.hom8-home__explore-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.hom8-home .hom8-fiverr-status:empty {
    display: none;
    margin: 0;
    padding: 0;
}

/* Prevent theme/Astra from turning HOM8 home nav text/icons white on hover */
.hom8-home .hom8-home__sidebar-item:not(.is-active),
.hom8-home .hom8-chip-nav {
    color: #222222 !important;
}

.hom8-home .hom8-home__sidebar-item:not(.is-active):hover,
.hom8-home .hom8-home__sidebar-item:not(.is-active):focus,
.hom8-home .hom8-home__sidebar-item:not(.is-active):hover span,
.hom8-home .hom8-home__sidebar-item:not(.is-active):focus span,
.hom8-home .hom8-chip-nav:hover,
.hom8-home .hom8-chip-nav:focus {
    color: #222222 !important;
}

.hom8-home .hom8-home__show-all,
.hom8-home .hom8-home__show-all:hover,
.hom8-home .hom8-home__show-all:focus {
    color: var(--hom8-accent-teal, #01c6ab) !important;
}

.hom8-home .hom8-chip-nav .hom8-icon,
.hom8-home .hom8-chip-nav:hover .hom8-icon,
.hom8-home .hom8-chip-nav:focus .hom8-icon {
    color: #222222 !important;
}

/* Favorite heart: pink when saved (don't inherit Astra black button color) */
.hom8-block__fav.is-active,
.hom8-mkt__fav.is-active,
.hom8-block__fav.is-active .hom8-icon,
.hom8-mkt__fav.is-active .hom8-icon {
    color: var(--hom8-accent, #ff385c) !important;
}

.hom8-home .hom8-home__sidebar-item.is-active,
.hom8-home .hom8-home__sidebar-item.is-active span {
    color: #ffffff !important;
}

.hom8-home .hom8-home__sidebar-item.is-active:hover,
.hom8-home .hom8-home__sidebar-item.is-active:focus,
.hom8-home .hom8-home__sidebar-item.is-active:hover span,
.hom8-home .hom8-home__sidebar-item.is-active:focus span {
    color: #ffffff !important;
    background: #111111 !important;
    border-color: #111111 !important;
}

/* Hero filter pills — keep labels/options visible (theme often forces white on buttons) */
.hom8-home .hom8-home__pill,
.hom8-home .hom8-home__pill span,
.hom8-home .hom8-home__pill-option {
    color: #222222 !important;
}

.hom8-home .hom8-home__pill .hom8-icon {
    color: #666666 !important;
}

.hom8-home .hom8-home__pill-wrap.is-active .hom8-home__pill,
.hom8-home .hom8-home__pill-wrap.is-active .hom8-home__pill span {
    color: #ffffff !important;
}

.hom8-home .hom8-home__pill-wrap.is-active .hom8-home__pill .hom8-icon {
    color: #ffffff !important;
}

.hom8-home .hom8-home__pill-wrap:not(.is-active):not(.is-disabled) .hom8-home__pill:hover,
.hom8-home .hom8-home__pill-wrap:not(.is-active):not(.is-disabled) .hom8-home__pill:focus {
    border-color: #cfcfcf !important;
    background: #fafafa !important;
    color: #222222 !important;
}

.hom8-home .hom8-home__pill-wrap.is-active .hom8-home__pill:hover,
.hom8-home .hom8-home__pill-wrap.is-active .hom8-home__pill:focus,
.hom8-home .hom8-home__pill-wrap.is-open .hom8-home__pill:hover,
.hom8-home .hom8-home__pill-wrap.is-open .hom8-home__pill:focus {
    background: #222222 !important;
    border-color: #222222 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12) !important;
}

.hom8-home .hom8-home__pill-option:hover:not(.is-selected),
.hom8-home .hom8-home__pill-option:focus:not(.is-selected) {
    color: #222222 !important;
    background: #f5f5f5 !important;
    border: none !important;
    box-shadow: none !important;
}

.hom8-home .hom8-home__pill-option.is-selected,
.hom8-home .hom8-home__pill-option.is-selected:hover,
.hom8-home .hom8-home__pill-option.is-selected:focus {
    color: #222222 !important;
    background: #f0f0f0 !important;
    border: none !important;
    box-shadow: none !important;
}

.hom8-home .hom8-home__pill-option:not(.is-selected):not(:hover):not(:focus) {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

.hom8-home .hom8-home__pill-menu {
    background: #ffffff !important;
    color: #222222 !important;
}

/* Dark buttons must keep white label text */
.hom8-home .hom8-mkt__btn--primary,
.hom8-home .hom8-mkt__btn--primary:hover,
.hom8-home .hom8-mkt__btn--primary:focus,
.hom8-home .hom8-mkt__pkg-tab.is-active,
.hom8-home .hom8-mkt__pkg-tab.is-active:hover,
.hom8-mkt .hom8-mkt__btn--primary,
.hom8-mkt .hom8-mkt__btn--primary:hover,
.hom8-mkt .hom8-mkt__btn--primary:focus,
.hom8-mkt .hom8-mkt__pkg-tab.is-active,
.hom8-mkt .hom8-mkt__pkg-tab.is-active:hover,
.hom8-fiverr .hom8-mkt__btn--primary,
.hom8-fiverr .hom8-mkt__btn--primary:hover,
.hom8-fiverr .hom8-mkt__btn--primary:focus,
.hom8-fiverr .hom8-mkt__pkg-tab.is-active,
.hom8-fiverr .hom8-mkt__pkg-tab.is-active:hover,
.hom8-auth__submit,
.hom8-auth__submit:hover,
.hom8-auth__submit:focus {
    color: #ffffff !important;
}

.hom8-auth-modal__close,
.hom8-auth-modal__close:hover,
.hom8-auth-modal__close:focus,
.hom8-image-gallery__close,
.hom8-image-gallery__close:hover,
.hom8-image-gallery__close:focus,
.hom8-image-gallery__nav,
.hom8-image-gallery__nav:hover,
.hom8-image-gallery__nav:focus {
    color: inherit !important;
    border: none !important;
    padding: 0 !important;
    transform: none !important;
    box-shadow: none !important;
}

.hom8-home__layout {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
    min-width: 0;
    max-width: 100%;
}

/* Hero — Fresha-inspired banner with gradient, search pill, and stat */
.hom8-home__hero--fresha {
    position: relative;
    margin: 0 0 28px;
    padding: clamp(32px, 6vw, 56px) clamp(16px, 4vw, 24px) clamp(28px, 5vw, 44px);
    text-align: center;
    overflow: hidden;
    border-radius: 24px;
    border: 1px solid rgba(1, 198, 171, 0.08);
}

.hom8-home__hero-glow {
    position: absolute;
    inset: 0;
    pointer-events: none;
    border-radius: inherit;
    overflow: hidden;
    background:
        radial-gradient(ellipse 68% 52% at 88% 10%, rgba(1, 198, 171, 0.2) 0%, transparent 66%),
        radial-gradient(ellipse 58% 46% at 10% 12%, rgba(1, 59, 229, 0.14) 0%, transparent 64%),
        radial-gradient(ellipse 52% 40% at 50% 100%, rgba(1, 198, 171, 0.1) 0%, transparent 72%),
        radial-gradient(ellipse 42% 36% at 78% 82%, rgba(1, 59, 229, 0.07) 0%, transparent 70%),
        linear-gradient(180deg, #fafbfb 0%, #ffffff 78%);
    z-index: 0;
}

.hom8-home__hero-inner {
    position: relative;
    z-index: 1;
    max-width: 920px;
    margin: 0 auto;
}

.hom8-home__hero--fresha .hom8-home__hero-title {
    margin: 0 0 12px;
    font-family: "Playfair Display", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
    font-size: clamp(2rem, 6.5vw, 3.25rem);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -0.02em;
    color: #111111;
}

.hom8-home__hero--fresha .hom8-home__hero-sub {
    margin: 0 auto 28px;
    max-width: 52ch;
    font-size: clamp(0.95rem, 2.8vw, 1.05rem);
    line-height: 1.55;
    color: #5c5c5c;
}

.hom8-home__hero-pills {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px;
    max-width: 100%;
    margin: 0 auto 18px;
}

.hom8-home__pill-wrap {
    position: relative;
    flex: 0 1 auto;
}

.hom8-home__pill-wrap.is-disabled .hom8-home__pill {
    opacity: 0.55;
    cursor: not-allowed;
}

.hom8-home__pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 10px 16px;
    border: 1px solid #e2e2e2;
    border-radius: 999px;
    background: #ffffff;
    color: #222222 !important;
    font: inherit;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    cursor: pointer;
    white-space: nowrap;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.hom8-home__pill .hom8-icon {
    font-size: 12px;
    color: #666666;
    transition: transform 0.15s ease;
}

.hom8-home__pill-wrap:not(.is-disabled):not(.is-active):not(.is-open) .hom8-home__pill:hover,
.hom8-home__pill-wrap:not(.is-disabled):not(.is-active):not(.is-open) .hom8-home__pill:focus {
    border-color: #cfcfcf;
    background: #fafafa;
    outline: none;
}

.hom8-home__pill-wrap.is-active .hom8-home__pill,
.hom8-home__pill-wrap.is-active .hom8-home__pill:hover,
.hom8-home__pill-wrap.is-active .hom8-home__pill:focus,
.hom8-home__pill-wrap.is-open .hom8-home__pill:hover,
.hom8-home__pill-wrap.is-open .hom8-home__pill:focus {
    border-color: #222222;
    background: #222222;
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
    outline: none;
}

.hom8-home__pill-wrap.is-active .hom8-home__pill .hom8-icon {
    color: #ffffff;
}

.hom8-home__pill-wrap.is-open .hom8-home__pill .hom8-icon,
.hom8-home__pill-trigger[aria-expanded="true"] .hom8-icon {
    transform: rotate(180deg);
}

.hom8-home__pill-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    z-index: 50;
    min-width: min(280px, 88vw);
    max-width: min(320px, 92vw);
    max-height: min(360px, 70vh);
    overflow-x: hidden;
    overflow-y: auto;
    margin: 0;
    padding: 6px;
    border: 1px solid #ebebeb;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.12);
    text-align: left;
    -webkit-overflow-scrolling: touch;
}

.hom8-home__pill-menu.is-portaled {
    position: fixed;
    z-index: 99999;
    max-width: min(320px, calc(100vw - 24px));
}

@media (max-width: 767px) {
    .hom8-home__pill-menu.is-portaled.is-mobile-centered {
        left: 50%;
        right: auto;
        transform: translateX(-50%);
        width: min(320px, calc(100vw - 24px));
        min-width: min(320px, calc(100vw - 24px));
        max-width: min(320px, calc(100vw - 24px));
    }
}

.hom8-home__pill-option {
    display: block;
    width: 100%;
    padding: 10px 12px;
    border: none !important;
    border-radius: 10px;
    background: transparent;
    color: #222222 !important;
    font: inherit;
    font-size: 14px;
    font-weight: 500;
    text-align: left;
    cursor: pointer;
    box-shadow: none !important;
    outline: none;
}

.hom8-home__pill-option:hover:not(.is-selected),
.hom8-home__pill-option:focus:not(.is-selected) {
    background: #f5f5f5;
    border: none !important;
    box-shadow: none !important;
    outline: none;
}

.hom8-home__pill-option.is-selected,
.hom8-home__pill-option.is-selected:hover,
.hom8-home__pill-option.is-selected:focus {
    background: #f0f0f0;
    font-weight: 700;
    border: none !important;
    box-shadow: none !important;
    outline: none;
}

.hom8-home__pill-option:not(.is-selected):not(:hover):not(:focus) {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

.hom8-home__hero-stat {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    color: #222222;
    letter-spacing: -0.01em;
}

/* Legacy hero (non-Fresha) */
.hom8-home__hero:not(.hom8-home__hero--fresha) {
    padding: 4px 0 4px;
}

.hom8-home__hero:not(.hom8-home__hero--fresha) .hom8-home__hero-title {
    margin: 0 0 10px;
    font-size: clamp(1.85rem, 7vw, 2.75rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.035em;
    color: var(--hom8-text, #222222);
}

.hom8-home__hero:not(.hom8-home__hero--fresha) .hom8-home__hero-sub {
    margin: 0;
    max-width: 42ch;
    font-size: clamp(0.95rem, 3.6vw, 1.125rem);
    line-height: 1.5;
    color: var(--hom8-muted, #717171);
}

.hom8-home__cat-scroller {
    width: 100%;
    min-width: 0;
}

.hom8-home__cat-scroller.is-hidden {
    display: none;
}

.hom8-home__cat-scroller .hom8-chip-track {
    align-items: center;
}

.hom8-home__cat-navs {
    flex-shrink: 0;
}

.hom8-home__sidebar {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 8px;
    position: static;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    min-width: 0;
    margin: 0;
    padding: 2px 0 6px;
}

.hom8-home__sidebar::-webkit-scrollbar {
    display: none;
}

.hom8-home__sidebar-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: auto;
    padding: 10px 18px;
    border: 1px solid #e2e2e2;
    border-radius: 999px;
    background: #ffffff;
    color: inherit;
    text-decoration: none;
    font: inherit;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    white-space: nowrap;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.hom8-home__sidebar-item:hover {
    background: #f7f7f7;
    color: #222222 !important;
    border-color: #d8d8d8;
}

.hom8-home__sidebar-item.is-active {
    border-color: #222222;
    background: #222222;
    color: #ffffff !important;
}

.hom8-home__sidebar-item.is-active span {
    color: #ffffff !important;
}

.hom8-home__sidebar-item img,
.hom8-home__sidebar-icon {
    display: none !important;
}

.hom8-home__main {
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
}

.hom8-home__toolbar-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.hom8-home__show-all {
    font-size: 14px;
    font-weight: 600;
    margin-right: 0;
    white-space: nowrap;
    text-decoration: none !important;
    color: var(--hom8-accent-teal, #01c6ab) !important;
    flex-shrink: 0;
}

.hom8-home__show-all:hover,
.hom8-home__show-all:focus {
    text-decoration: underline !important;
    color: var(--hom8-accent-teal, #01c6ab) !important;
}

/* ── Home service sections (All services browse) ── */
.hom8-home__sections,
.hom8-home__filtered {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.hom8-home__sections {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.hom8-home__service-section {
    min-width: 0;
}

.hom8-home__section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}

.hom8-home__section-heading {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 8px 10px;
    min-width: 0;
}

.hom8-home__section-title {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--hom8-text, #222) !important;
}

.hom8-home__section-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.hom8-home__section-row {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 8px;
    overscroll-behavior-x: contain;
}

.hom8-home__section-row::-webkit-scrollbar {
    display: none;
}

.hom8-home__section-track {
    display: flex;
    gap: 22px;
    align-items: stretch;
}

.hom8-home__section-track .hom8-block {
    flex: 0 0 280px;
    width: 280px;
    max-width: 280px;
}

.hom8-home__show-all-card {
    flex: 0 0 200px;
    width: 200px;
    max-width: 200px;
    min-height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none !important;
    border-radius: 16px;
    border: 1px solid #e8e8e8;
    background: #fafafa;
    color: #222222 !important;
    transition: background 0.15s, border-color 0.15s, transform 0.15s;
}

.hom8-home__show-all-card:hover,
.hom8-home__show-all-card:focus {
    background: #f3f3f3;
    border-color: #d8d8d8;
    color: #222222 !important;
    text-decoration: none !important;
    transform: translateY(-2px);
}

.hom8-home__show-all-card-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px;
    text-align: center;
}

.hom8-home__show-all-card-label {
    font-size: 15px;
    font-weight: 700;
}

.hom8-home__show-all-card-arrow {
    font-size: 22px;
    line-height: 1;
    color: var(--hom8-accent-teal, #01c6ab);
}

.hom8-home__list--vertical {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.hom8-home__list--vertical .hom8-block {
    width: 100%;
    max-width: 100%;
}

/* Category pages (photography, venues, chauffeur) — card grid on desktop */
.hom8-home__list--grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.hom8-home__list--grid .hom8-block {
    width: 100%;
    max-width: 100%;
}

@media (min-width: 640px) {
    .hom8-home__list--grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 22px;
        row-gap: 24px;
    }
}

@media (min-width: 992px) {
    .hom8-home__list--grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        column-gap: 28px;
        row-gap: 28px;
    }
}

@media (min-width: 1200px) {
    .hom8-home__list--grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
}

.hom8-home--category-page .hom8-home__category-shell {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    gap: 0;
}

.hom8-home--category-page .hom8-home__category-main {
    min-width: 0;
    width: 100%;
}

.hom8-home--category-page .hom8-home__filtered {
    padding: 0 var(--hom8-cat-gutter) 24px;
    max-width: 1440px;
    margin: 0 auto;
    box-sizing: border-box;
}

.hom8-home__filtered .hom8-home__section-head--filtered {
    margin-bottom: 20px;
}

.hom8-home__section-row--empty {
    overflow: visible;
    padding-bottom: 0;
}

.hom8-home__section-empty {
    width: 100%;
    min-height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    border: 1px dashed #e0e0e0;
    background: #fafafa;
}

.hom8-home__section-empty-inner {
    text-align: center;
    padding: 24px 20px;
    max-width: 36ch;
}

.hom8-home__section-empty-title {
    margin: 0 0 6px;
    font-size: 14px;
    font-weight: 600;
    color: #444444;
}

.hom8-home__section-empty-hint {
    margin: 0;
    font-size: 13px;
    color: #888888;
}

.hom8-block__media .hom8-mkt__carousel--static {
    position: absolute;
    inset: 0;
    touch-action: auto;
}

.hom8-block__media .hom8-mkt__carousel--static img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    touch-action: auto;
    -webkit-user-drag: none;
    user-select: none;
    pointer-events: none;
}

.hom8-block--in-row .hom8-block__media {
    touch-action: auto;
}

.hom8-home__carousel {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 8px;
}

.hom8-home__carousel::-webkit-scrollbar {
    display: none;
}

.hom8-home__carousel-track {
    display: flex;
    gap: 22px;
    align-items: stretch;
}

.hom8-home__carousel-track .hom8-block {
    flex: 0 0 280px;
    width: 280px;
    max-width: 280px;
}

.hom8-home__carousel-track .hom8-mkt__empty {
    flex: 1 1 100%;
    min-width: 100%;
}

@media (max-width: 900px) {
    .hom8-home__layout {
        gap: 14px;
    }
}

/* ── Booking flow overlays ── */
.hom8-booking-overlay {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.hom8-booking-overlay--tray {
    justify-content: flex-end;
    align-items: stretch;
    padding: 0;
}

.hom8-booking-overlay--success {
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.hom8-booking-overlay--success .hom8-booking-overlay__backdrop {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: rgba(0, 0, 0, 0.45);
}

.hom8-booking-overlay--success .hom8-booking-success {
    position: relative;
    z-index: 1;
    width: min(100%, 360px);
    max-width: 360px;
    margin: 0 auto;
    align-self: center;
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.hom8-booking-overlay--tray .hom8-booking-overlay__backdrop {
    background: rgba(0, 0, 0, 0.35);
}

.hom8-booking-tray {
    position: relative;
    z-index: 1;
    width: min(100%, 420px);
    height: 100%;
    max-height: 100vh;
    display: flex;
    flex-direction: column;
    background: #fff;
    box-shadow: -8px 0 32px rgba(0, 0, 0, 0.12);
    padding: 0;
    border-radius: 0;
    overflow: hidden;
}

.hom8-booking-tray__head {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 18px 18px 12px;
    border-bottom: 1px solid #eee;
    flex-shrink: 0;
}

.hom8-booking-tray__head h3 {
    margin: 0;
    flex: 1;
    font-size: 1.05rem;
}

.hom8-booking-tray__body {
    flex: 1;
    overflow-y: auto;
    padding: 16px 18px;
    -webkit-overflow-scrolling: touch;
}

.hom8-booking-tray__foot {
    padding: 14px 18px calc(14px + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid #eee;
    flex-shrink: 0;
}

.hom8-booking-tray__foot .hom8-mkt__btn {
    width: 100%;
}

.hom8-booking-tray .hom8-mkt__btn--primary,
.hom8-booking-tray .hom8-mkt__btn--primary:hover,
.hom8-booking-tray .hom8-mkt__btn--primary:focus {
    background: #222222 !important;
    color: #ffffff !important;
    border: none !important;
}

.hom8-booking-tray__add-link {
    display: inline-block;
    margin-top: 16px;
    padding: 0;
    border: none;
    background: transparent !important;
    font-size: 14px;
    font-weight: 600;
    color: #222222 !important;
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
}

.hom8-booking-tray__add-link:hover,
.hom8-booking-tray__add-link:focus {
    color: #111111 !important;
    background: transparent !important;
}

.hom8-booking-tray__add .hom8-mkt__field input,
.hom8-booking-tray__add .hom8-mkt__field textarea {
    color: #222222 !important;
    background: #ffffff !important;
}

.hom8-booking-tray__add .hom8-mkt__field span {
    color: #717171 !important;
}

.hom8-booking-tray__save.hom8-mkt__btn--primary {
    margin-top: 8px;
}

.hom8-booking-tray__add .hom8-mkt__field {
    margin-bottom: 12px;
}

.hom8-booking-overlay--tray .hom8-booking__lead {
    margin: 0;
    padding: 12px 18px 0;
    flex-shrink: 0;
}

@media (max-width: 520px) {
    .hom8-booking-tray {
        width: 100%;
    }
}

.hom8-addloc-shell {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 0;
}

.hom8-addloc__body {
    flex: 1;
    overflow: auto;
    min-height: 0;
}

.hom8-addloc {
    padding: 4px 0 16px;
}

.hom8-addloc__title {
    margin: 0 0 8px;
    font-size: 1.05rem;
    font-weight: 600;
    color: #222222;
}

.hom8-addloc__lead {
    margin: 0 0 16px;
    font-size: 0.92rem;
    color: #717171;
    line-height: 1.45;
}

.hom8-addloc__primary,
.hom8-addloc__secondary {
    width: 100%;
    margin-bottom: 10px;
    border-radius: 999px !important;
}

.hom8-addloc__map {
    width: 100%;
    height: 220px;
    border-radius: 12px;
    overflow: hidden;
    background: #e8e8e8;
    margin-bottom: 12px;
}

.hom8-addloc__map--detail {
    height: 160px;
}

.hom8-addloc__map--pin {
    height: 280px;
}

.hom8-addloc__status {
    margin: 0 0 12px;
    font-size: 0.88rem;
    color: #717171;
}

.hom8-addloc__search {
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid #dddddd;
    border-radius: 12px;
    padding: 10px 12px;
    margin-bottom: 12px;
    background: #ffffff;
}

.hom8-addloc__search input {
    flex: 1;
    border: 0;
    outline: none;
    font-size: 1rem;
    color: #222222;
    background: transparent;
}

.hom8-addloc__predictions {
    list-style: none;
    margin: 0;
    padding: 0;
    border: 1px solid #eeeeee;
    border-radius: 12px;
    overflow: hidden;
}

.hom8-addloc__prediction {
    display: block;
    width: 100%;
    text-align: left;
    border: 0;
    border-bottom: 1px solid #f0f0f0;
    background: #ffffff;
    padding: 12px 14px;
    cursor: pointer;
}

.hom8-addloc__prediction:last-child {
    border-bottom: 0;
}

.hom8-addloc__prediction strong {
    display: block;
    color: #222222;
    font-size: 0.95rem;
}

.hom8-addloc__prediction span {
    display: block;
    margin-top: 2px;
    color: #717171;
    font-size: 0.85rem;
}

.hom8-addloc__prediction:hover,
.hom8-addloc__prediction:focus {
    background: #f7f7f7;
}

.hom8-addloc__loading,
.hom8-addloc__attrib {
    font-size: 0.8rem;
    color: #999999;
    margin: 8px 0 0;
}

.hom8-addloc__mapline {
    margin-bottom: 10px;
}

.hom8-addloc__mapline span {
    display: block;
    font-size: 0.78rem;
    color: #717171;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 4px;
}

.hom8-addloc__mapline p {
    margin: 0;
    font-size: 0.95rem;
    color: #222222;
}

.hom8-addloc__pin-btn {
    width: 100%;
    margin: 8px 0 16px;
}

.hom8-addloc__field {
    display: block;
    margin-bottom: 12px;
}

.hom8-addloc__field span {
    display: block;
    margin-bottom: 6px;
    font-size: 0.85rem;
    color: #717171;
}

.hom8-addloc__field input,
.hom8-addloc__field textarea {
    width: 100%;
    border: 1px solid #dddddd;
    border-radius: 10px;
    padding: 10px 12px;
    font-size: 1rem;
    color: #222222;
    background: #ffffff;
    box-sizing: border-box;
}

.hom8-addloc__field--invalid input,
.hom8-addloc__field--invalid textarea {
    border-color: #d93025;
}

.hom8-addloc__hint {
    margin: -6px 0 12px;
    font-size: 0.82rem;
    color: #999999;
    line-height: 1.4;
}

.hom8-addloc__optional {
    font-style: normal;
    font-weight: 400;
    color: #888888;
}

.hom8-addloc__kind {
    margin-bottom: 14px;
}

.hom8-addloc__kind > span {
    display: block;
    margin-bottom: 8px;
    font-size: 0.85rem;
    color: #717171;
}

.hom8-addloc__kind-row {
    display: flex;
    gap: 8px;
}

.hom8-addloc__kind-btn {
    flex: 1;
    border: 1px solid #dddddd;
    border-radius: 999px;
    padding: 10px 12px;
    background: #ffffff;
    color: #222222;
    font-size: 0.92rem;
    cursor: pointer;
}

.hom8-addloc__kind-btn.is-active {
    border-color: #222222;
    background: #222222;
    color: #ffffff;
}

.hom8-addloc__readonly {
    background: #f7f7f7;
    border-radius: 12px;
    padding: 12px 14px;
    margin-bottom: 14px;
}

.hom8-addloc__readonly-title {
    margin: 0 0 10px;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #717171;
}

.hom8-addloc__readonly-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 6px 0;
    font-size: 0.9rem;
}

.hom8-addloc__readonly-row span {
    color: #717171;
}

.hom8-addloc__readonly-row strong {
    color: #222222;
    text-align: right;
}

.hom8-booking-overlay__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
}

.hom8-booking-sheet,
.hom8-booking-success {
    position: relative;
    z-index: 1;
    width: min(100%, 480px);
    max-height: min(90vh, 720px);
    overflow: auto;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.18);
    padding: 20px;
}

.hom8-booking-sheet__head {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
}

.hom8-booking-sheet__head h3 {
    margin: 0;
    flex: 1;
    font-size: 1.1rem;
}

.hom8-booking-sheet__close,
.hom8-booking-sheet__back {
    border: 0;
    background: transparent;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    color: #222;
    padding: 4px 8px;
}

.hom8-booking-sheet__body h4 {
    margin: 0 0 12px;
    font-size: 1rem;
}

.hom8-booking-sheet__actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.hom8-booking-sheet__actions .hom8-mkt__btn {
    flex: 1 1 auto;
}

.hom8-booking__hint,
.hom8-booking__lead {
    color: var(--hom8-muted, #717171);
    font-size: 14px;
    line-height: 1.45;
}

.hom8-booking__loc-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.hom8-booking__loc-option {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    background: #fff;
    color: #222222 !important;
    text-align: left;
    cursor: pointer;
    font: inherit;
}

.hom8-booking__loc-option:hover,
.hom8-booking__loc-option:focus {
    color: #222222 !important;
    background: #f7f7f7;
}

.hom8-booking__loc-option strong {
    color: #222222 !important;
}

.hom8-booking__loc-option.is-active {
    border-color: #222;
    background: #f7f7f7;
    color: #222222 !important;
}

.hom8-booking__loc-option.is-active strong {
    color: #222222 !important;
}

.hom8-booking__loc-option span {
    font-size: 13px;
    color: #717171 !important;
}

.hom8-booking__extra {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 10px;
    align-items: start;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    cursor: pointer;
}

.hom8-booking__extra small {
    display: block;
    color: #717171;
}

.hom8-booking__summary {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.hom8-booking__summary-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    font-size: 14px;
}

.hom8-booking__summary-row span {
    color: #717171;
}

.hom8-booking__loc-summary {
    font-size: 14px;
    margin-top: 12px;
}

.hom8-booking__link {
    border: 0;
    background: none;
    color: #222;
    text-decoration: underline;
    cursor: pointer;
    font: inherit;
    padding: 0;
}

.hom8-booking-success {
    text-align: center;
    padding: 32px 24px;
    color: #222222 !important;
}

.hom8-booking-success h3 {
    margin: 0 0 10px;
    color: #222222 !important;
}

.hom8-booking-success p {
    margin: 0;
    color: #717171 !important;
    line-height: 1.5;
}

.hom8-booking-success__icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: #111;
    color: #fff !important;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: 700;
}

.hom8-booking-success__cta {
    width: 100%;
    margin-top: 20px;
    background: #ffffff !important;
    color: #222222 !important;
    border: 2px solid #222222 !important;
}

.hom8-booking-success__cta:hover,
.hom8-booking-success__cta:focus {
    background: #f7f7f7 !important;
    color: #222222 !important;
    border-color: #222222 !important;
}

.hom8-booking-overlay--success .hom8-booking-success,
.hom8-home .hom8-booking-overlay--success .hom8-booking-success,
.hom8-home .hom8-booking-overlay--success .hom8-booking-success h3,
.hom8-home .hom8-booking-overlay--success .hom8-booking-success p,
.hom8-home .hom8-booking-overlay--success .hom8-booking-success__cta,
.hom8-home .hom8-booking-overlay--success .hom8-booking-success__cta:hover,
.hom8-home .hom8-booking-overlay--success .hom8-booking-success__cta:focus {
    color: inherit;
}

.hom8-home .hom8-booking-overlay--success .hom8-booking-success,
.hom8-home .hom8-booking-overlay--success .hom8-booking-success h3 {
    color: #222222 !important;
}

.hom8-home .hom8-booking-overlay--success .hom8-booking-success p {
    color: #717171 !important;
}

.hom8-home .hom8-booking-overlay--success .hom8-booking-success__cta,
.hom8-home .hom8-booking-overlay--success .hom8-booking-success__cta:hover,
.hom8-home .hom8-booking-overlay--success .hom8-booking-success__cta:focus {
    color: #222222 !important;
    background: #ffffff !important;
    border-color: #222222 !important;
}

/* ── Header inbox icon (customer messages) ── */
.hom8-header-inbox {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 40px;
    height: 40px;
    margin-left: 6px;
    color: #222222 !important;
    text-decoration: none !important;
    flex-shrink: 0;
    vertical-align: middle;
    border-radius: 50%;
    transition: background 0.15s ease;
}

.hom8-header-inbox:hover,
.hom8-header-inbox:focus {
    color: #222222 !important;
    background: rgba(0, 0, 0, 0.06);
    text-decoration: none !important;
}

.hom8-header-inbox--inline {
    display: inline-flex !important;
}

.hom8-header-inbox--pending {
    display: none;
}

/* When mounted in the header right column (Astra builder) */
.hom8-header-inbox--far-right {
    margin-left: 8px;
    align-self: center;
}

.site-header-primary-section-right .hom8-header-inbox,
.ast-header-account-wrap .hom8-header-inbox {
    margin-left: 10px;
}

/* Fallback: push to far right of a single flex row */
.hom8-header-inbox--push-right {
    margin-left: auto !important;
    order: 99;
}

.main-header-bar .ast-flex.main-header-container .hom8-header-inbox--push-right,
#masthead .ast-flex .hom8-header-inbox--push-right {
    margin-left: auto !important;
}

.hom8-header-inbox--fixed {
    position: fixed;
    top: 14px;
    right: 14px;
    z-index: 99990;
    background: #ffffff;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
}

.hom8-header-inbox__icon {
    font-size: 22px;
    line-height: 1;
    color: #222222 !important;
}

.hom8-header-inbox__badge {
    position: absolute;
    top: 4px;
    right: 4px;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    border-radius: 999px;
    background: #ff385c;
    color: #ffffff !important;
    font-size: 10px;
    font-weight: 700;
    line-height: 16px;
    text-align: center;
    pointer-events: none;
}

.hom8-header-inbox.is-icon-loading.is-loading {
    pointer-events: none;
    cursor: wait;
}

.hom8-header-inbox.is-icon-loading.is-loading .hom8-header-inbox__icon,
.hom8-header-inbox.is-icon-loading.is-loading .hom8-header-inbox__badge {
    opacity: 0;
    visibility: hidden;
}

.hom8-header-inbox.is-icon-loading.is-loading::before {
    display: none !important;
    content: none !important;
}

.hom8-header-inbox.is-icon-loading.is-loading .hom8-btn-spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    margin: -9px 0 0 -9px;
    z-index: 3;
    animation: hom8-btn-spin 0.65s linear infinite !important;
    -webkit-animation: hom8-btn-spin 0.65s linear infinite !important;
}

@keyframes hom8-header-icon-spin {
    to {
        transform: rotate(360deg);
    }
}

/* Keep icon visible inside Astra / theme headers */
#masthead .hom8-header-inbox,
.site-header .hom8-header-inbox,
.ast-mobile-header-wrap .hom8-header-inbox {
    color: #222222 !important;
}

#masthead .hom8-header-inbox .hom8-header-inbox__icon,
.site-header .hom8-header-inbox .hom8-header-inbox__icon {
    color: #222222 !important;
}

/* ── Mobile optimizations (≤767px) ── */
@media (max-width: 767px) {
    body.hom8-has-mobile-tabbar {
        padding-bottom: calc(68px + env(safe-area-inset-bottom, 0px));
    }

    .hom8-mobile-tabbar {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 99990;
        display: flex;
        align-items: stretch;
        justify-content: space-around;
        gap: 0;
        padding: 8px 6px calc(8px + env(safe-area-inset-bottom, 0px));
        background: #ffffff;
        border-top: 1px solid #e8e8e8;
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.06);
    }

    .hom8-mobile-tabbar__item {
        flex: 1 1 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 4px;
        min-width: 0;
        padding: 4px 2px;
        text-decoration: none !important;
        color: #8a8a8a !important;
        -webkit-tap-highlight-color: transparent;
    }

    .hom8-mobile-tabbar__item:hover,
    .hom8-mobile-tabbar__item:focus {
        color: #555555 !important;
        text-decoration: none !important;
    }

    .hom8-mobile-tabbar__item.is-active,
    .hom8-mobile-tabbar__item.is-active:hover,
    .hom8-mobile-tabbar__item.is-active:focus {
        color: #01c6ab !important;
    }

    .hom8-mobile-tabbar__item.is-tab-loading {
        position: relative;
        cursor: wait;
        opacity: 1;
    }

    .hom8-mobile-tabbar__item.is-tab-loading .hom8-mobile-tabbar__icon {
        opacity: 0 !important;
        visibility: hidden !important;
    }

    .hom8-mobile-tabbar__item.is-tab-loading .hom8-mobile-tabbar__label {
        opacity: 1 !important;
        visibility: visible !important;
    }

    .hom8-mobile-tabbar__item.is-tab-loading .hom8-mobile-tabbar__badge {
        opacity: 0 !important;
        visibility: hidden !important;
    }

    .hom8-mobile-tabbar__item.is-tab-loading .hom8-tab-spinner {
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
        animation: hom8-btn-spin 0.65s linear infinite !important;
        -webkit-animation: hom8-btn-spin 0.65s linear infinite !important;
    }

    .hom8-mobile-tabbar__item.is-loading,
    .hom8-mobile-tabbar__item.is-icon-loading {
        position: relative;
        pointer-events: none;
        cursor: wait;
        opacity: 1;
    }

    .hom8-mobile-tabbar__item.is-loading > .hom8-mobile-tabbar__icon-wrap,
    .hom8-mobile-tabbar__item.is-icon-loading > .hom8-mobile-tabbar__icon-wrap {
        opacity: 1 !important;
        visibility: visible !important;
    }

    .hom8-mobile-tabbar__item.is-loading::before,
    .hom8-mobile-tabbar__item.is-icon-loading::before {
        display: none !important;
        content: none !important;
    }

    .hom8-mobile-tabbar__item.is-icon-loading .hom8-mobile-tabbar__icon,
    .hom8-mobile-tabbar__item.is-loading .hom8-mobile-tabbar__icon,
    .hom8-mobile-tabbar__item.is-icon-loading .hom8-mobile-tabbar__badge,
    .hom8-mobile-tabbar__item.is-loading .hom8-mobile-tabbar__badge {
        opacity: 0 !important;
        visibility: hidden !important;
    }

    .hom8-mobile-tabbar__item.is-icon-loading .hom8-mobile-tabbar__label,
    .hom8-mobile-tabbar__item.is-loading .hom8-mobile-tabbar__label {
        opacity: 1 !important;
        visibility: visible !important;
    }

    .hom8-mobile-tabbar__item .hom8-tab-spinner {
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
        animation: hom8-btn-spin 0.65s linear infinite !important;
        -webkit-animation: hom8-btn-spin 0.65s linear infinite !important;
    }

    .hom8-mobile-tabbar.is-navigating {
        pointer-events: none;
    }

    .hom8-mobile-tabbar.is-navigating .hom8-mobile-tabbar__item:not(.is-tab-loading) {
        opacity: 0.45;
    }

    @keyframes hom8-tabbar-spin {
        to {
            transform: rotate(360deg);
        }
    }

    .hom8-mobile-tabbar__icon-wrap {
        position: relative;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 28px;
        height: 28px;
    }

    .hom8-mobile-tabbar__icon {
        font-size: 20px;
        line-height: 1;
    }

    .hom8-mobile-tabbar__icon--img {
        width: 24px;
        height: 24px;
        object-fit: contain;
        display: block;
        flex-shrink: 0;
    }

    .hom8-mobile-tabbar__label {
        font-size: 10px;
        font-weight: 600;
        line-height: 1.1;
        letter-spacing: 0.01em;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 100%;
    }

    .hom8-mobile-tabbar__badge {
        position: absolute;
        top: -2px;
        right: -6px;
        min-width: 16px;
        height: 16px;
        padding: 0 4px;
        border-radius: 999px;
        background: #e53935;
        color: #ffffff;
        font-size: 10px;
        font-weight: 700;
        line-height: 16px;
        text-align: center;
    }

    /* Inbox is in the tab bar on mobile — hide floating header icon */
    .hom8-header-inbox {
        display: none !important;
    }

    /* Shared mobile shell — Home / Favourites / Bookings / Profile use the same gutter */
    .hom8-home,
    .hom8-fav,
    .hom8-bk,
    .hom8-prof {
        padding: 12px 12px 20px !important;
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        box-sizing: border-box !important;
    }

    .hom8-prof {
        padding-top: 0 !important;
    }

    .hom8-prof__page-head {
        padding: 4px 0 12px;
    }

    .hom8-prof__page-title,
    .hom8-prof h1.hom8-prof__page-title {
        font-size: 1.65rem;
    }

    .hom8-bk__tabs {
        padding: 0 0 12px !important;
        margin: 0 !important;
        width: 100% !important;
    }

    .hom8-bk__body,
    .hom8-bk__list,
    .hom8-bk__loading-skels {
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    .hom8-bk__list,
    .hom8-bk__loading-skels {
        gap: 10px;
    }

    .hom8-bk__card,
    .hom8-bk button.hom8-bk__card {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .hom8-home.hom8-home--category-page {
        /* Beat shared mobile shell `.hom8-home { padding: 12px !important }` */
        padding: 0 0 16px !important;
        margin-top: 0 !important;
    }

    .hom8-home--category-page .hom8-home__category-topbar {
        height: 44px;
        padding: 0;
        margin: 0 0 2px;
    }

    .hom8-home--category-page .hom8-home__category-back {
        left: 12px !important;
    }

    .hom8-home--category-page .hom8-home__category-filter,
    .hom8-home--category-page .hom8-home__category-topbar-filter {
        right: 12px !important;
        left: auto !important;
        display: inline-flex !important;
    }

    .hom8-home--category-page .hom8-home__layout {
        gap: 4px;
        margin-top: 0;
        padding-top: 0;
    }

    .hom8-home--category-page .hom8-home__category-shell {
        gap: 0;
        padding-top: 0;
        margin-top: 0;
    }

    .hom8-home--category-page .hom8-home__filtered {
        padding: 0 var(--hom8-cat-gutter) 16px;
        max-width: none;
        margin: 0;
    }

    body:has([data-hom8-home].hom8-home--category-page) .e-con-inner,
    body:has([data-hom8-home].hom8-home--category-page) .e-con.e-flex > .e-con-inner {
        padding-top: 0 !important;
        padding-bottom: 0 !important;
        margin-top: 0 !important;
    }

    body:has([data-hom8-home].hom8-home--category-page) .site-content,
    body:has([data-hom8-home].hom8-home--category-page) .entry-content,
    body:has([data-hom8-home].hom8-home--category-page) .ast-container,
    body:has([data-hom8-home].hom8-home--category-page) .ast-article-single,
    body:has([data-hom8-home].hom8-home--category-page) .elementor-section,
    body:has([data-hom8-home].hom8-home--category-page) .elementor-section > .elementor-container,
    body:has([data-hom8-home].hom8-home--category-page) .elementor-widget-wrap,
    body:has([data-hom8-home].hom8-home--category-page) .elementor-widget-shortcode,
    body:has([data-hom8-home].hom8-home--category-page) .elementor-widget-shortcode .elementor-widget-container,
    body:has([data-hom8-home].hom8-home--category-page) .elementor-shortcode {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }

    body:has([data-hom8-home].hom8-home--category-page) .elementor-top-section,
    body:has([data-hom8-home].hom8-home--category-page) .elementor-section.elementor-top-section {
        padding-top: 0 !important;
        padding-bottom: 0 !important;
        margin-top: 0 !important;
    }

    .hom8-home--category-page h1.hom8-home__category-title {
        font-size: 18px !important;
    }

    .hom8-home__banners {
        margin-left: 0;
        margin-right: 0;
        margin-bottom: 16px;
    }

    .hom8-home__slide {
        height: 150px;
        border-radius: 16px;
    }

    .hom8-home__slide-overlay h3 {
        font-size: 1rem;
    }

    .hom8-home__slide-overlay p {
        font-size: 13px;
    }

    .hom8-home__hero--fresha {
        margin: 0 0 20px;
        padding: 28px 16px 24px;
        border-radius: 16px !important;
        overflow: hidden;
        border: 1px solid rgba(1, 198, 171, 0.1);
    }

    .hom8-home__hero--fresha .hom8-home__hero-glow {
        border-radius: 16px !important;
    }

    .hom8-home__hero--fresha .hom8-home__hero-title {
        font-size: clamp(1.75rem, 8vw, 2.25rem);
        margin-bottom: 10px;
    }

    .hom8-home__hero--fresha .hom8-home__hero-sub {
        margin-bottom: 20px;
        max-width: none;
        font-size: 0.95rem;
        line-height: 1.45;
    }

    .hom8-home__hero-pills {
        flex-wrap: nowrap;
        justify-content: flex-start;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding: 2px 0 6px;
        margin-bottom: 14px;
    }

    .hom8-home__hero-pills::-webkit-scrollbar {
        display: none;
    }

    .hom8-home__pill-wrap {
        flex: 0 0 auto;
    }

    .hom8-home__hero-stat {
        font-size: 13px;
    }

    .hom8-home__layout {
        gap: 12px;
    }

    .hom8-home__hero:not(.hom8-home__hero--fresha) {
        padding: 0 0 2px;
    }

    .hom8-home__hero:not(.hom8-home__hero--fresha) .hom8-home__hero-title {
        font-size: clamp(1.65rem, 8vw, 2.1rem);
        margin-bottom: 8px;
    }

    .hom8-home__hero:not(.hom8-home__hero--fresha) .hom8-home__hero-sub {
        max-width: none;
        font-size: 0.95rem;
        line-height: 1.45;
    }

    .hom8-home__explore-head {
        flex-wrap: wrap;
        gap: 8px;
        margin-bottom: 12px;
    }

    .hom8-home__explore-title {
        font-size: clamp(1.05rem, 4.8vw, 1.35rem);
        flex: 1 1 100%;
        line-height: 1.25;
        overflow-wrap: anywhere;
        word-break: break-word;
    }

    .hom8-home__explore-actions {
        width: 100%;
        justify-content: flex-start;
        gap: 10px;
        flex-wrap: wrap;
    }

    .hom8-home__explore-actions .hom8-chip-nav {
        display: none;
    }

    .hom8-home__section-actions {
        display: none;
    }

    .hom8-home__section-head {
        justify-content: stretch;
    }

    .hom8-home__section-heading {
        flex: 1 1 100%;
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-wrap: nowrap;
        gap: 10px;
    }

    .hom8-home__section-title {
        flex: 1 1 auto;
        min-width: 0;
    }

    .hom8-home__show-all {
        flex: 0 0 auto;
        margin-left: auto;
        margin-right: 0;
    }

    .hom8-home__section-actions .hom8-chip-nav {
        display: none;
    }

    .hom8-home__section-track .hom8-block {
        flex: 0 0 min(78vw, 280px);
        width: min(78vw, 280px);
        max-width: min(78vw, 280px);
    }

    .hom8-home__show-all-card {
        flex: 0 0 min(52vw, 200px);
        width: min(52vw, 200px);
        max-width: min(52vw, 200px);
        min-height: 260px;
    }

    /* Filtered service: vertical feed with swipeable card carousels */
    .hom8-home__filtered {
        overflow: visible;
    }

    .hom8-home__main {
        overflow: visible;
    }

    .hom8-home__provider-cta {
        margin-top: 8px;
    }

    .hom8-home__provider-btn {
        display: flex;
        width: 100%;
        justify-content: center;
        box-sizing: border-box;
    }

    .hom8-home.hom8--fullbleed,
    .hom8-fav.hom8--fullbleed,
    .hom8-bk.hom8--fullbleed,
    .hom8-prof.hom8--fullbleed {
        width: 100%;
        max-width: 100%;
        margin-left: 0;
        margin-right: 0;
        left: auto;
        right: auto;
    }

    .hom8-prof__menu-item {
        min-height: 52px;
        padding: 16px 2px;
    }

    .hom8-prof__panel-back {
        width: 44px;
        height: 44px;
        min-width: 44px;
        min-height: 44px;
    }

    .hom8-prof__form input {
        font-size: 16px;
    }

    /* Profile personal-info L3 — match chat open: flush top, circular back, hide theme header */
    html.hom8-prof-l3-open,
    body.hom8-prof-l3-open {
        padding-top: 0 !important;
        margin-top: 0 !important;
    }

    .hom8-prof.hom8-prof--l3-open .hom8-prof__panel {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: auto !important;
        z-index: 2147483000 !important;
        width: 100% !important;
        max-width: 100% !important;
        height: calc(100dvh - 68px - env(safe-area-inset-bottom, 0px)) !important;
        margin: 0 !important;
        padding: 0 !important;
        background: #ffffff !important;
        overflow-x: hidden !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch;
        border-radius: 0 !important;
        box-shadow: none !important;
    }

    .hom8-prof.hom8-prof--l3-open .hom8-prof__panel-head {
        padding: 12px 16px !important;
        margin: 0 !important;
        position: sticky;
        top: 0;
        z-index: 2;
        background: #ffffff !important;
    }

    body.hom8-prof-l3-open #masthead,
    body.hom8-prof-l3-open .site-header,
    body.hom8-prof-l3-open .main-header-bar,
    body.hom8-prof-l3-open .ast-primary-header-bar,
    body.hom8-prof-l3-open .ast-mobile-header-wrap,
    body.hom8-prof-l3-open .ast-above-header-wrap,
    body.hom8-prof-l3-open .ast-below-header-wrap,
    body.hom8-prof-l3-open .ast-header-break-point,
    body.hom8-prof-l3-open .ast-main-header-wrap,
    body.hom8-prof-l3-open .main-header-bar-wrap,
    body.hom8-prof-l3-open header.site-header,
    body.hom8-prof-l3-open .ast-sticky-active,
    body.hom8-prof-l3-open .ast-header-sticked {
        display: none !important;
        height: 0 !important;
        min-height: 0 !important;
        max-height: 0 !important;
        overflow: hidden !important;
        visibility: hidden !important;
        pointer-events: none !important;
        opacity: 0 !important;
    }

    body.hom8-prof-l3-open #wpadminbar {
        display: none !important;
    }

    body.hom8-prof-l3-open #page,
    body.hom8-prof-l3-open #content,
    body.hom8-prof-l3-open .site-content,
    body.hom8-prof-l3-open .ast-container {
        padding-top: 0 !important;
        margin-top: 0 !important;
    }

    .hom8-home__sidebar {
        margin: 0;
    }

    .hom8-fiverr-chips-section .hom8-chip-navs {
        display: none;
    }

    .hom8-home--category-page .hom8-home__chips-section {
        position: -webkit-sticky;
        position: sticky;
        top: 0;
        z-index: 60;
        width: 100%;
        max-width: 100%;
        margin-left: 0;
        margin-right: 0;
        margin-top: 0;
        padding: 4px var(--hom8-cat-gutter) 2px;
        background: #ffffff;
        border: none;
        box-shadow: none;
    }

    .hom8-home--category-page .hom8-home__chips-toolbar {
        display: block;
    }

    .hom8-home--category-page .hom8-home__chips-filter {
        display: none !important;
    }

    .hom8-home--category-page .hom8-home__category-topbar-filter {
        display: inline-flex !important;
    }

    .hom8-home--category-page .hom8-home__chips-section .hom8-chip-track {
        width: 100%;
        max-width: 100%;
        padding: 2px 0 6px;
        scroll-padding-inline: 0;
    }

    .hom8-home__cat-navs {
        display: flex;
    }

    .hom8-home__cat-scroller .hom8-chip-nav {
        width: 40px;
        height: 40px;
    }

    .hom8-chip-nav:not(.hom8-home__category-back):not(.hom8-home__category-filter),
    .hom8-fiverr-toolbar__filter:not(.hom8-home__category-filter) {
        width: 44px;
        height: 44px;
    }

    .hom8-chip {
        min-height: 40px;
        padding: 10px 16px;
    }

    .hom8-fiverr-toolbar__title {
        font-size: 1.05rem;
    }

    .hom8-booking-overlay--tray {
        justify-content: stretch;
        align-items: stretch;
        padding: 0;
    }

    .hom8-booking-overlay--tray.hom8-booking-overlay--addloc,
    .hom8-booking-overlay--tray.hom8-booking-overlay--selectloc {
        align-items: stretch;
    }

    .hom8-booking-overlay--tray .hom8-booking-tray,
    .hom8-booking-tray.hom8-booking-tray--addloc,
    .hom8-booking-tray.hom8-booking-tray--selectloc,
    .hom8-pf__loc-panel.hom8-booking-tray--addloc {
        width: 100%;
        max-width: 100%;
        height: 100vh;
        height: 100dvh;
        max-height: 100dvh;
        min-height: 100dvh;
        border-radius: 0;
        box-shadow: none;
        display: flex;
        flex-direction: column;
        padding: 0;
        overflow: hidden;
    }

    .hom8-pf__loc-overlay.hom8-booking-overlay--addloc {
        justify-content: stretch;
        align-items: stretch;
    }

    .hom8-pf__loc-panel.hom8-booking-tray--addloc {
        width: 100%;
        max-width: 100%;
    }

    .hom8-booking-tray__head {
        padding: 16px 16px 12px;
        padding-top: calc(12px + env(safe-area-inset-top, 0px));
        flex-shrink: 0;
    }

    .hom8-booking-overlay--tray .hom8-booking__lead {
        padding: 0 16px 8px;
        margin: 0;
        flex-shrink: 0;
    }

    .hom8-booking-tray__body {
        flex: 1;
        min-height: 0;
        overflow-y: auto;
        padding: 8px 16px 0;
        -webkit-overflow-scrolling: touch;
    }

    .hom8-booking-tray__foot {
        padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
        margin-top: auto;
        flex-shrink: 0;
    }

    .hom8-booking-sheet__close,
    .hom8-booking-sheet__back {
        min-width: 44px;
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 0;
        margin: -6px;
    }

    .hom8-booking-tray__add-link {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
    }

    .hom8-booking__loc-option {
        min-height: 52px;
        padding: 14px 16px;
    }

    .hom8-booking__loc-option span,
    .hom8-booking__summary-row span,
    .hom8-addloc__readonly-row strong {
        word-break: break-word;
        overflow-wrap: anywhere;
    }

    .hom8-booking__summary-row {
        gap: 12px;
    }

    .hom8-booking__summary-row strong {
        text-align: right;
        max-width: 58%;
        word-break: break-word;
    }

    .hom8-addloc__map {
        height: min(42vh, 240px);
    }

    .hom8-addloc__map--detail {
        height: min(32vh, 180px);
    }

    .hom8-addloc__map--pin {
        height: min(48vh, 300px);
    }

    .hom8-addloc__body {
        flex: 1;
        min-height: 0;
        padding-bottom: 0;
    }

    .hom8-booking-tray--addloc .hom8-addloc-shell {
        flex: 1;
        min-height: 0;
        height: 100%;
    }

    .hom8-booking-tray--addloc .hom8-addloc__body {
        flex: 1 1 auto;
        min-height: 0;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior: contain;
        padding: 8px 16px 16px;
    }

    .hom8-booking-tray--addloc .hom8-addloc__foot {
        flex: 0 0 auto;
        padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
        margin-top: 0;
        background: #ffffff;
        border-top: 1px solid #ebebeb;
        z-index: 3;
    }

    .hom8-booking-tray--addloc .hom8-addloc__foot .hom8-addloc__primary {
        position: static;
        margin: 0;
        padding-top: 14px;
        padding-bottom: 14px;
        background: var(--hom8-primary, #222222) !important;
        color: #ffffff !important;
        width: 100%;
        border-radius: 999px !important;
    }

    /* Legacy sticky save (no longer used when foot is present) */
    .hom8-booking-tray--addloc .hom8-addloc--details .hom8-addloc__primary {
        position: static;
        margin-top: 12px;
        background: var(--hom8-primary, #222222) !important;
        color: #ffffff !important;
        padding-top: 14px;
        padding-bottom: 14px;
        border-radius: 999px !important;
    }

    .hom8-addloc__primary,
    .hom8-addloc__secondary,
    .hom8-addloc__pin-btn,
    .hom8-addloc__kind-btn,
    .hom8-pf__btn,
    .hom8-pf__chip,
    .hom8-mkt__btn {
        border-radius: 999px !important;
    }

    .hom8-addloc__prediction {
        min-height: 52px;
        padding: 14px 16px;
    }

    .hom8-addloc__search input,
    .hom8-addloc__field input,
    .hom8-addloc__field textarea {
        font-size: 16px;
    }

    .hom8-addloc__kind-btn {
        min-height: 44px;
    }

    .hom8-addloc__readonly-row {
        flex-wrap: wrap;
        gap: 4px;
    }

    .hom8-addloc__readonly-row strong {
        flex: 1 1 100%;
        text-align: left;
    }

    .hom8-msg.hom8-msg--viewport,
    .hom8-msg.hom8-msg--viewport.hom8--fullbleed {
        padding: 0;
    }

    .hom8-msg__layout {
        min-height: 0;
    }

    .hom8-msg__back {
        width: 44px;
        height: 44px;
    }

    .hom8-msg__thread {
        min-height: 64px;
        padding: 14px;
    }

    .hom8-msg__composer {
        padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px));
        gap: 10px;
    }

    .hom8-msg__composer input {
        font-size: 16px;
        min-height: 44px;
        padding: 12px 16px;
    }

    .hom8-msg__composer button {
        min-height: 44px;
        padding: 12px 20px;
        flex-shrink: 0;
    }

    .hom8-msg__bubble {
        max-width: 88%;
    }

    .hom8-booking-overlay {
        padding: 0;
    }

    .hom8-booking-overlay--success {
        align-items: center;
        justify-content: center;
        padding: 16px;
    }

    .hom8-booking-overlay--success .hom8-booking-success {
        width: min(calc(100% - 8px), 360px);
        max-width: 360px;
        max-height: none;
        border-radius: 16px;
        align-self: center;
        box-shadow: 0 20px 50px rgba(0, 0, 0, 0.22);
    }

    .hom8-booking-sheet {
        width: 100%;
        max-height: 92dvh;
        border-radius: 20px 20px 0 0;
        align-self: flex-end;
    }

    .hom8-booking-overlay:not(.hom8-booking-overlay--tray):not(.hom8-booking-overlay--success) {
        align-items: flex-end;
    }
}

@media (min-width: 768px) {
    .hom8-mobile-tabbar {
        display: none !important;
    }
}
