/* Provider listing wizard — mirrors app flow */

.hom8-pf {
    background: #ffffff;
    border-radius: 0;
    padding: 8px 16px 100px;
    box-sizing: border-box;
    min-height: 50vh;
    color: #222222;
}

@media (min-width: 768px) {
    .hom8-pf {
        background: var(--hom8-bg, #f7f7f7);
        border-radius: var(--hom8-radius, 16px);
        padding: 12px 24px 40px;
    }
}

.hom8-pf__title {
    font-size: clamp(1.6rem, 4vw, 2rem);
    font-weight: 700;
    margin: 0 0 8px;
    line-height: 1.2;
}

.hom8-pf__subtitle {
    margin: 0 0 20px;
    color: var(--hom8-muted, #717171);
    font-size: 15px;
    line-height: 1.5;
}

.hom8-pf__progress {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 6px;
    margin-bottom: 24px;
}

.hom8-pf__photo-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 14px;
}

.hom8-pf__photo-tile {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: #f3f3f3;
    aspect-ratio: 1 / 1;
}

.hom8-pf__photo-tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: none;
}

.hom8-pf__photo-tile.is-oversize {
    opacity: 0.55;
}

.hom8-pf__photo-remove,
button.hom8-pf__photo-remove,
.hom8-pf__flow-overlay button.hom8-pf__photo-remove,
.hom8-pf__flow-overlay button.hom8-pf__photo-remove:hover,
.hom8-pf__flow-overlay button.hom8-pf__photo-remove:focus {
    position: absolute !important;
    top: 8px !important;
    right: 8px !important;
    z-index: 5 !important;
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    min-height: 36px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: rgba(0, 0, 0, 0.72) !important;
    color: #ffffff !important;
    font-size: 14px !important;
    line-height: 1 !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.hom8-pf__photo-remove .bi {
    color: #ffffff !important;
    font-size: 14px !important;
    line-height: 1 !important;
    pointer-events: none;
}

.hom8-pf__photo-meta {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 6px 8px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.55));
    color: #fff;
    font-size: 11px;
    font-weight: 600;
}

.hom8-pf__photo-actions {
    display: grid;
    gap: 10px;
}

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

.hom8-pf__add-photo-card {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    margin: 0;
    padding: 16px 18px;
    border: 1px solid #cfcfcf;
    border-radius: 14px;
    background: #fff;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    color: inherit;
    box-sizing: border-box;
}

.hom8-pf__add-photo-card:hover,
.hom8-pf__add-photo-card:focus-within {
    border-color: #222;
}

.hom8-pf__add-photo-card[hidden] {
    display: none !important;
}

.hom8-pf__add-photo-card--camera .hom8-pf__add-loc-plus {
    font-size: 18px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.hom8-pf__add-photo-card--camera .hom8-pf__add-loc-plus .bi {
    font-size: 18px;
}

.hom8-pf__photo-count {
    margin-left: auto;
    font-size: 12px;
    font-weight: 600;
    color: var(--hom8-muted, #717171);
}

.hom8-pf__progress-seg {
    height: 4px;
    border-radius: 999px;
    background: #e0e0e0;
}

.hom8-pf__progress-seg.is-active,
.hom8-pf__progress-seg.is-done {
    background: var(--hom8-primary, #222);
}

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

.hom8-pf__step-title {
    margin: 0 0 6px;
    font-size: 1.35rem;
    font-weight: 700;
}

.hom8-pf__step-hint {
    margin: 0 0 16px;
    color: var(--hom8-muted, #717171);
    font-size: 14px;
}

.hom8-pf__cats {
    display: grid;
    gap: 12px;
}

@media (min-width: 640px) {
    .hom8-pf__cats {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 960px) {
    .hom8-pf__cats {
        grid-template-columns: repeat(3, 1fr);
    }
}

.hom8-pf__cat-card {
    display: flex;
    align-items: stretch;
    gap: 0;
    border: 1px solid var(--hom8-border, #ddd);
    border-radius: var(--hom8-radius, 16px);
    background: #fff;
    overflow: hidden;
    cursor: pointer;
    text-align: left;
    padding: 0;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.hom8-pf__cat-card.is-selected {
    border: 2px solid var(--hom8-primary, #222);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

.hom8-pf__cat-card-body {
    flex: 1;
    padding: 18px 16px;
}

.hom8-pf__cat-card-body strong {
    display: block;
    font-size: 17px;
    margin-bottom: 4px;
}

.hom8-pf__cat-card-body span {
    font-size: 13px;
    color: var(--hom8-muted, #717171);
    line-height: 1.4;
}

.hom8-pf__cat-card-art {
    width: 96px;
    min-height: 90px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
    background: #ebebeb;
}

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

.hom8-pf__cat-card-art--photography { background: linear-gradient(135deg, #434343, #000); }
.hom8-pf__cat-card-art--venue { background: linear-gradient(135deg, #11998e, #38ef7d); }
.hom8-pf__cat-card-art--chauffeur { background: linear-gradient(135deg, #2c3e50, #4ca1af); }

.hom8-pf__chip-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

@media (min-width: 640px) {
    .hom8-pf__chip-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.hom8-pf__chip {
    min-height: 48px;
    padding: 12px 18px;
    border-radius: 999px;
    border: 1px solid var(--hom8-border, #ddd);
    background: #fff;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
}

.hom8-pf__chip.is-selected {
    background: var(--hom8-primary, #222);
    color: #fff;
    border-color: var(--hom8-primary, #222);
}

.hom8-pf__fields {
    display: grid;
    gap: 14px;
}

.hom8-pf__locations {
    display: grid;
    gap: 10px;
    margin-bottom: 6px;
}

.hom8-pf__locations-title {
    margin: 0;
    font-size: 13px;
    font-weight: 600;
    color: var(--hom8-muted, #717171);
}

.hom8-pf__locations-list {
    display: grid;
    gap: 10px;
}

.hom8-pf__location-chip {
    appearance: none;
    border: 1px solid var(--hom8-border, #e5e5e5);
    background: #fff;
    border-radius: 16px;
    padding: 14px 16px;
    text-align: left;
    cursor: pointer;
    width: 100%;
    font: inherit;
}

.hom8-pf__location-chip strong {
    display: block;
    font-size: 15px;
    font-weight: 700;
    margin: 0 0 4px;
    color: #222222;
}

.hom8-pf__location-chip span {
    display: block;
    font-size: 13px;
    color: var(--hom8-muted, #717171);
}

.hom8-pf__location-chip.is-selected {
    border-color: #222222;
    border-width: 2px;
    padding: 13px 15px;
}

.hom8-pf__selected-loc {
    border: 1px solid #e5e5e5;
    border-radius: 16px;
    background: #fafafa;
    padding: 14px 16px;
}

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

.hom8-pf__selected-loc-label {
    margin: 0 0 6px;
    font-size: 12px;
    font-weight: 600;
    color: #717171;
}

.hom8-pf__selected-loc strong {
    display: block;
    font-size: 15px;
    font-weight: 700;
    color: #222222;
}

.hom8-pf__selected-loc span {
    display: block;
    margin-top: 2px;
    font-size: 13px;
    color: #717171;
}

.hom8-pf__province-fix {
    display: grid;
    gap: 6px;
    margin-top: 12px;
}

.hom8-pf__province-fix span {
    margin: 0;
    font-size: 12px;
    font-weight: 600;
    color: #717171;
}

.hom8-pf__province-fix select {
    width: 100%;
    appearance: none;
    border: 1px solid #cfcfcf;
    border-radius: 12px;
    padding: 12px 14px;
    font-size: 15px;
    background: #fff;
    color: #222;
}

.hom8-pf__add-loc-card {
    appearance: none;
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    margin: 0;
    padding: 16px;
    border: 1px dashed #cfcfcf;
    border-radius: 16px;
    background: #ffffff;
    color: #222222;
    font: inherit;
    font-size: 15px;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
}

.hom8-pf__add-loc-card:hover,
.hom8-pf__add-loc-card:focus {
    border-color: #222222;
    background: #fafafa;
    outline: none;
}

.hom8-pf__add-loc-plus {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #f0f0f0;
    color: #222222;
    font-size: 22px;
    line-height: 1;
    flex: 0 0 auto;
}

.hom8-pf__fields--location .hom8-pf__field--full {
    grid-column: 1 / -1;
}

.hom8-pf__loc-toolbar {
    display: none !important;
}

.hom8-pf__btn--sm {
    padding: 10px 16px;
    font-size: 14px;
    border-radius: 999px;
}

.hom8-pf__loc-overlay {
    position: fixed;
    inset: 0;
    z-index: 100001;
    display: flex;
    align-items: stretch;
    justify-content: flex-end;
    background: rgba(0, 0, 0, 0.45);
}

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

/* When add-location is open, stop the wizard panel underneath from stealing scroll */
body.hom8-pf-loc-open {
    overflow: hidden !important;
}

body.hom8-pf-loc-open .hom8-pf__flow-panel {
    overflow: hidden !important;
    touch-action: none;
}

body.hom8-pf-loc-open > .hom8-pf__loc-overlay,
body > .hom8-pf__loc-overlay.hom8-booking-overlay--addloc {
    position: fixed !important;
    inset: 0 !important;
    z-index: 100002 !important;
    width: 100% !important;
    height: 100% !important;
    max-height: 100dvh !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    overscroll-behavior: none;
}

.hom8-pf__place-search {
    position: relative;
    width: 100%;
}

.hom8-pf__place-suggestions {
    list-style: none;
    margin: 6px 0 0;
    padding: 0;
    border: 1px solid var(--hom8-border, #dddddd);
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    max-height: min(280px, 40vh);
    overflow-y: auto;
    z-index: 5;
}

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

.hom8-pf__place-suggestion {
    display: block;
    width: 100%;
    text-align: left;
    border: none;
    border-bottom: 1px solid #f0f0f0;
    background: #ffffff !important;
    color: #222222 !important;
    padding: 12px 14px;
    cursor: pointer;
    font: inherit;
}

.hom8-pf__place-suggestion:last-child {
    border-bottom: none;
}

.hom8-pf__place-suggestion strong {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #222222 !important;
}

.hom8-pf__place-suggestion span {
    display: block;
    margin-top: 2px;
    font-size: 12px;
    color: #717171 !important;
}

.hom8-pf__place-suggestion:hover,
.hom8-pf__place-suggestion:focus {
    background: #f7f7f7 !important;
    outline: none;
}

.hom8-pf__loc-panel {
    width: min(100%, 480px);
    height: 100%;
    overflow-y: auto;
    background: #fff;
    padding: 20px 18px 28px;
    box-shadow: -8px 0 32px rgba(0, 0, 0, 0.12);
}

.hom8-pf__loc-close {
    position: absolute;
    top: 16px;
    right: min(100%, 480px);
    margin-right: 12px;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 50%;
    background: #fff;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

@media (min-width: 640px) {
    .hom8-pf__fields {
        grid-template-columns: 1fr 1fr;
    }
}

.hom8-pf__field-top {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
}

.hom8-pf__char-count {
    font-size: 12px;
    font-weight: 600;
    color: #717171;
    flex-shrink: 0;
}

.hom8-pf__char-count.is-short {
    color: #9a6700;
}

.hom8-pf__char-count.is-ok {
    color: #1a7a4c;
}

.hom8-pf__field-hint {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    font-weight: 500;
    color: #717171;
}

.hom8-pf__field-hint.is-error {
    color: #cf222e;
}

.hom8-pf__field.is-invalid input,
.hom8-pf__field.is-invalid textarea {
    border-color: #cf222e !important;
}

.hom8-pf__step-error {
    margin: 0 0 14px;
    padding: 10px 12px;
    border-radius: 12px;
    background: #fff5f5;
    border: 1px solid #ffd7d7;
    color: #cf222e;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
}

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

.hom8-pf__field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    color: #222222;
}

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

.hom8-pf__pkg-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.hom8-pf__pkg-tab {
    padding: 10px 18px;
    border-radius: 999px;
    border: 1px solid var(--hom8-border, #ddd);
    background: #fff;
    font-weight: 600;
    cursor: pointer;
}

.hom8-pf__pkg-tab.is-active {
    background: var(--hom8-primary, #222);
    color: #fff;
}

.hom8-pf__pkg-editor {
    background: #fff;
    border: 1px solid var(--hom8-border, #ddd);
    border-radius: 14px;
    padding: 16px;
}

.hom8-pf__pkg-price {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    font-weight: 600;
}

.hom8-pf__pkg-price input {
    flex: 1;
    max-width: 160px;
    padding: 10px 12px;
    border: 1px solid var(--hom8-border, #ddd);
    border-radius: 8px;
}

.hom8-pf__pkg-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
    align-items: start;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
}

.hom8-pf__pkg-row:last-child {
    border-bottom: none;
}

.hom8-pf__pkg-row label {
    font-size: 14px;
    font-weight: 600;
}

.hom8-pf__pkg-row input[type="text"] {
    width: 100%;
    margin-top: 6px;
    padding: 8px 10px;
    border: 1px solid var(--hom8-border, #ddd);
    border-radius: 8px;
    font-size: 14px;
}

.hom8-pf__toggle {
    width: 44px;
    height: 26px;
    appearance: none;
    background: #ccc;
    border-radius: 999px;
    position: relative;
    cursor: pointer;
    flex-shrink: 0;
}

.hom8-pf__toggle::after {
    content: "";
    position: absolute;
    top: 3px;
    left: 3px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #fff;
    transition: transform 0.15s;
}

.hom8-pf__toggle:checked {
    background: var(--hom8-primary, #222);
}

.hom8-pf__toggle:checked::after {
    transform: translateX(18px);
}

.hom8-pf__extra {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 12px;
    padding: 14px 0;
    border-bottom: 1px solid #f0f0f0;
}

.hom8-pf__extra strong {
    display: block;
    font-size: 15px;
}

.hom8-pf__extra small {
    color: var(--hom8-muted, #717171);
    font-size: 13px;
}

.hom8-pf__extra input[type="text"] {
    width: 100%;
    margin-top: 8px;
    padding: 8px 10px;
    border: 1px solid var(--hom8-border, #ddd);
    border-radius: 8px;
}

.hom8-pf__review {
    background: #fff;
    border: 1px solid var(--hom8-border, #ddd);
    border-radius: 14px;
    padding: 16px;
    font-size: 14px;
    line-height: 1.6;
}

.hom8-pf__review dt {
    font-weight: 700;
    margin-top: 10px;
}

.hom8-pf__review dt:first-child {
    margin-top: 0;
}

.hom8-pf__review dd {
    margin: 4px 0 0;
    color: var(--hom8-muted, #717171);
}

.hom8-pf__app-cta {
    margin-top: 16px;
    padding: 14px 16px;
    background: #f5f5f5;
    border-radius: 12px;
    font-size: 14px;
    color: var(--hom8-muted, #717171);
}

.hom8-pf__footer {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px solid var(--hom8-border, #ddd);
}

.hom8-pf__footer-error {
    margin: 0;
    padding: 10px 12px;
    border-radius: 12px;
    background: #fff5f5;
    border: 1px solid #ffd7d7;
    color: #cf222e;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
}

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

.hom8-pf__footer-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    width: 100%;
}

.hom8-pf__btn {
    padding: var(--hom8-btn-py, 14px) var(--hom8-btn-px, 22px);
    border-radius: 999px !important;
    border: none;
    font-size: var(--hom8-btn-font, 16px);
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
}

.hom8-pf__btn--primary {
    background: var(--hom8-primary, #222);
    color: #fff !important;
    margin-left: auto;
}

.hom8-pf__btn--ghost {
    background: transparent;
    color: var(--hom8-primary, #222);
    text-decoration: underline;
    border-radius: 999px !important;
}

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

/* Provider dashboard — my listings (aligned with iOS ProviderDashboardView) */

.hom8-pf__gate {
    max-width: none;
    margin: 0;
    padding: 64px 24px 48px;
    text-align: center;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 42vh;
}

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

.hom8-pf__gate-icon {
    font-size: 48px;
    color: #cccccc;
    display: block;
    margin-bottom: 12px;
    line-height: 1;
}

.hom8-pf__gate h2 {
    margin: 0 0 8px;
    font-size: 1.25rem;
    font-weight: 700;
    color: #222222;
}

.hom8-pf__gate > p {
    margin: 0 0 20px;
    max-width: 28ch;
    color: #717171;
    font-size: 15px;
    line-height: 1.45;
}

.hom8-pf__gate-btn {
    appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 22px;
    border: none;
    border-radius: 999px;
    background: #222222 !important;
    color: #ffffff !important;
    font-weight: 600;
    font-size: 15px;
    font-family: inherit;
    text-decoration: none !important;
    cursor: pointer;
}

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

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

.hom8-pf__dash-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 4px 0 8px;
    padding: 0;
}

.hom8-pf__dash-title {
    margin: 0;
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.15;
    color: #222222;
}

.hom8-pf__dash-sub {
    display: none;
}

.hom8-pf__dash-add {
    appearance: none;
    flex: 0 0 auto;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: #222222;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    padding: 0;
}

.hom8-pf__dash-add:hover,
.hom8-pf__dash-add:focus {
    background: #111111;
    color: #ffffff;
}

.hom8-pf__dash-add .bi {
    font-size: 18px;
    line-height: 1;
}

.hom8-pf__dash-loading {
    margin: 24px 0;
    color: #717171;
    font-size: 14px;
    text-align: center;
}

.hom8-pf__dash-empty {
    text-align: center;
    padding: 64px 24px 40px;
    background: transparent;
    border: none;
    border-radius: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hom8-pf__dash-empty[hidden],
.hom8-pf__dash-loading[hidden] {
    display: none !important;
}

.hom8-pf__dash-empty-icon {
    font-size: 52px;
    color: #d0d0d0;
    margin-bottom: 12px;
    line-height: 1;
}

.hom8-pf__dash-empty h3 {
    margin: 0 0 8px;
    font-size: 1.2rem;
    font-weight: 700;
    color: #222222;
}

.hom8-pf__dash-empty p {
    margin: 0 0 20px;
    max-width: 30ch;
    color: #717171;
    font-size: 14px;
    line-height: 1.45;
}

.hom8-pf__dash-empty .hom8-pf__btn.hom8-pf__btn--primary,
.hom8-pf__dash-empty button.hom8-pf__btn--primary {
    margin-left: 0 !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-width: 160px;
    padding: 12px 22px !important;
    border: none !important;
    border-radius: 999px !important;
    background: #222222 !important;
    background-color: #222222 !important;
    color: #ffffff !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    box-shadow: none !important;
}

.hom8-pf__dash-sections {
    margin-top: 8px;
}

.hom8-pf__dash-section {
    margin: 0;
    border-bottom: 1px solid #ebebeb;
}

.hom8-pf__dash-section:last-child {
    border-bottom: none;
}

.hom8-pf__dash-accordion {
    appearance: none;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 22px 0 16px;
    border: none;
    background: transparent;
    cursor: pointer;
    text-align: left;
    font: inherit;
    color: inherit;
}

.hom8-pf__dash-section-title {
    margin: 0;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.2;
    color: #222222;
    text-transform: none;
}

.hom8-pf__dash-chevron {
    flex: 0 0 auto;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #ebebeb;
    color: #717171;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.hom8-pf__dash-grid {
    display: none;
    flex-direction: column;
    gap: 16px;
    padding: 0 0 20px;
}

.hom8-pf__dash-section.is-expanded .hom8-pf__dash-grid {
    display: flex;
}

.hom8-pf__listing-card {
    background: #ffffff;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.hom8-pf__listing-hit {
    appearance: none;
    display: flex;
    align-items: stretch;
    width: 100%;
    min-height: 160px;
    padding: 0;
    margin: 0;
    border: none;
    background: transparent;
    color: inherit;
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.hom8-pf__listing-media {
    position: relative;
    flex: 0 0 140px;
    width: 140px;
    min-height: 160px;
    aspect-ratio: auto;
    background: #ebebeb;
    overflow: hidden;
}

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

.hom8-pf__listing-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    min-height: 160px;
    font-size: 28px;
    color: #c4c4c4;
    opacity: 1;
}

.hom8-pf__listing-body {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 14px 14px 14px 14px;
}

.hom8-pf__listing-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
}

.hom8-pf__listing-reviews {
    font-size: 12px;
    color: #717171;
    line-height: 1.3;
}

.hom8-pf__listing-status {
    position: static;
    top: auto;
    left: auto;
    flex-shrink: 0;
    padding: 4px 8px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 600;
    background: #8e8e93;
    color: #fff;
    line-height: 1.2;
    white-space: nowrap;
}

.hom8-pf__listing-status--active {
    background: #33b86b;
}

.hom8-pf__listing-status--pendingReview {
    background: #e69e1a;
}

.hom8-pf__listing-status--rejected {
    background: #cf222e;
}

.hom8-pf__listing-status--draft {
    background: #8e8e93;
}

.hom8-pf__listing-body h4 {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.35;
    color: #222222;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hom8-pf__listing-types,
.hom8-pf__listing-loc {
    margin: 0;
    font-size: 12px;
    color: #717171;
    line-height: 1.35;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hom8-pf__listing-price {
    margin: auto 0 0;
    padding-top: 8px;
    font-size: 14px;
    font-weight: 700;
    color: #222222;
    text-align: right;
    line-height: 1.3;
}

.hom8-pf__listing-price span {
    font-weight: 500;
    color: #717171;
}

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

@media (min-width: 768px) {
    .hom8-pf__dash-title {
        font-size: clamp(1.5rem, 3.5vw, 1.85rem);
    }

    .hom8-pf__dash-add {
        width: auto;
        height: auto;
        border-radius: 999px;
        padding: 12px 18px;
        gap: 8px;
    }

    .hom8-pf__dash-add::after {
        content: 'Add listing';
        font-size: 14px;
        font-weight: 600;
    }

    .hom8-pf__dash-section.is-expanded .hom8-pf__dash-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}

@media (min-width: 960px) {
    .hom8-pf__dash-section.is-expanded .hom8-pf__dash-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .hom8-pf__listing-hit {
        flex-direction: column;
        min-height: 0;
    }

    .hom8-pf__listing-media {
        flex: none;
        width: 100%;
        min-height: 0;
        aspect-ratio: 16 / 10;
    }

    .hom8-pf__listing-placeholder {
        min-height: 0;
    }

    .hom8-pf__listing-price {
        text-align: left;
    }
}

.hom8-pf__cat-card.is-locked,
.hom8-pf__chip.is-locked,
.hom8-pf__chip.is-blocked {
    cursor: default;
    opacity: 0.72;
}

.hom8-pf__chip.is-blocked {
    background: #f6f7f7;
    color: #888;
    border-color: #ddd;
}

.hom8-pf__edit-hint {
    margin: 0 0 16px;
    padding: 10px 14px;
    font-size: 13px;
    color: var(--hom8-muted, #717171);
    line-height: 1.45;
    background: #f6f8fa;
    border-radius: 10px;
    border: 1px solid var(--hom8-border, #e5e5e5);
}

/* Full-screen add-service overlay on mobile */
.hom8-pf__flow-overlay[hidden] {
    display: none !important;
}

.hom8-pf__flow-close {
    display: none;
}

.hom8-pf [data-pf-flow][hidden] {
    display: none !important;
}

@media (max-width: 767px) {
    body.hom8-pf-flow-open .hom8-mobile-tabbar {
        visibility: hidden !important;
        pointer-events: none !important;
    }

    .hom8-pf__flow-overlay.is-open,
    .hom8-pf__flow-overlay:not([hidden]),
    body > .hom8-pf__flow-overlay.is-open,
    body > .hom8-pf__flow-overlay:not([hidden]) {
        position: fixed !important;
        inset: 0 !important;
        z-index: 100000 !important;
        display: flex !important;
        flex-direction: column !important;
        background: #ffffff !important;
        color: #222222 !important;
        overflow: hidden !important;
        /* Overlay is portaled with .hom8-pf for tokens — wipe dashboard padding so footer sits on the bottom edge */
        padding: 0 !important;
        margin: 0 !important;
        border-radius: 0 !important;
        min-height: 0 !important;
        width: 100% !important;
        max-width: none !important;
        box-sizing: border-box !important;
    }

    .hom8-pf__flow-overlay.is-open .hom8-pf__flow-close,
    .hom8-pf__flow-overlay:not([hidden]) .hom8-pf__flow-close {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        position: absolute;
        top: calc(10px + env(safe-area-inset-top, 0px));
        right: 12px;
        z-index: 3;
        width: 40px;
        height: 40px;
        padding: 0;
        border: 1px solid #e5e5e5 !important;
        border-radius: 50%;
        background: #ffffff !important;
        color: #222222 !important;
        font-size: 18px;
        line-height: 1;
        cursor: pointer;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    }

    .hom8-pf__flow-overlay.is-open .hom8-pf__flow-close .hom8-icon,
    .hom8-pf__flow-overlay:not([hidden]) .hom8-pf__flow-close .hom8-icon {
        color: #222222 !important;
        font-size: 18px !important;
    }

    .hom8-pf__flow-panel {
        flex: 1 1 auto;
        min-height: 0;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        padding: calc(52px + env(safe-area-inset-top, 0px)) 16px 16px;
        color: #222222 !important;
        background: transparent;
    }

    .hom8-pf__flow-overlay.is-open [data-pf-flow],
    .hom8-pf__flow-overlay:not([hidden]) [data-pf-flow] {
        display: block !important;
        color: #222222 !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    .hom8-pf__flow-overlay .hom8-pf__title,
    .hom8-pf__flow-overlay .hom8-pf__step-title,
    .hom8-pf__flow-overlay .hom8-pf__cat-card-body strong,
    .hom8-pf__flow-overlay .hom8-pf__cat-card-body span,
    .hom8-pf__flow-overlay .hom8-pf__step-hint,
    .hom8-pf__flow-overlay .hom8-pf__subtitle,
    .hom8-pf__flow-overlay .hom8-pf__field span,
    .hom8-pf__flow-overlay label {
        color: #222222 !important;
    }

    .hom8-pf__flow-overlay .hom8-pf__subtitle,
    .hom8-pf__flow-overlay .hom8-pf__step-hint,
    .hom8-pf__flow-overlay .hom8-pf__cat-card-body span {
        color: #717171 !important;
    }

    .hom8-pf__flow-overlay button.hom8-pf__cat-card,
    .hom8-pf__flow-overlay button.hom8-pf__chip {
        color: #222222 !important;
        background: #ffffff !important;
    }

    /* Footer pinned to bottom of overlay — not mid-screen with empty white below */
    .hom8-pf__flow-overlay.is-open > .hom8-pf__footer,
    .hom8-pf__flow-overlay:not([hidden]) > .hom8-pf__footer,
    body > .hom8-pf__flow-overlay.is-open > .hom8-pf__footer,
    body > .hom8-pf__flow-overlay:not([hidden]) > .hom8-pf__footer {
        position: relative !important;
        flex: 0 0 auto !important;
        margin: 0 !important;
        margin-top: auto !important;
        padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px)) !important;
        background: #ffffff !important;
        border-top: 1px solid #ebebeb;
        z-index: 2;
        width: 100%;
        box-sizing: border-box;
    }
}

@media (min-width: 768px) {
    .hom8-pf__flow-overlay.is-open,
    .hom8-pf__flow-overlay:not([hidden]) {
        display: block !important;
        position: static;
        background: transparent;
    }

    .hom8-pf__flow-panel {
        padding: 0;
    }

    .hom8-pf__flow-overlay.is-open [data-pf-flow],
    .hom8-pf__flow-overlay:not([hidden]) [data-pf-flow] {
        display: block !important;
    }
}
