.petbnb-results {
    width: 100vw;
    max-width: none;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding: 0;
}

.petbnb-results__top-bar {
    width: 100%;
    max-width: none;
    position: relative;
    z-index: 11;
    padding: 1rem 2rem;
    border-bottom: 1px solid #e5e7eb;
    background: #ffffff;
}

.petbnb-results__top-bar-form {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 0.75rem;
    align-items: end;
}

.petbnb-results__top-chip {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    min-width: 0;
}

.petbnb-results__top-chip label {
    font-size: 12px;
    line-height: 1.2;
    font-weight: 600;
    color: #4b5563;
}

.petbnb-results__top-chip input,
.petbnb-results__top-chip select {
    width: 100%;
    height: 28px;
    min-height: 28px;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    padding: 0.2rem 0.6rem;
    font-size: 14px;
    line-height: 1;
    background: #fff;
    color: #111827;
}

.petbnb-results__top-chip input:focus,
.petbnb-results__top-chip select:focus {
    border-color: #f59e0b;
    outline: 0;
    box-shadow: 0 0 0 2px rgba(245, 158, 11, 0.22);
}

.petbnb-results__top-chip.is-hidden {
    display: none;
}

.petbnb-results__location-wrap {
    position: relative;
}

.petbnb-results__dates-wrap {
    position: relative;
}

.petbnb-results__dates-fallback {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
}

.petbnb-results__top-chip--price {
    position: relative;
}

.petbnb-results__price-fallback {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
}

.petbnb-results__price-trigger {
    display: none;
    width: 100%;
    height: 28px;
    min-height: 28px;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    padding: 0.2rem 0.6rem;
    font-size: 14px;
    line-height: 1;
    background: #fff;
    color: #111827;
    text-align: left;
    cursor: pointer;
}

.petbnb-results__price-trigger:focus {
    border-color: #f59e0b;
    outline: 0;
    box-shadow: 0 0 0 2px rgba(245, 158, 11, 0.22);
}

.petbnb-results__price-popover {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    width: min(320px, 88vw);
    padding: 0.65rem;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 14px 26px rgba(0, 0, 0, 0.14);
    z-index: 40;
    display: none;
}

.petbnb-results__top-chip--price.is-price-slider-ready .petbnb-results__price-fallback {
    display: none;
}

.petbnb-results__top-chip--price.is-price-slider-ready .petbnb-results__price-trigger {
    display: block;
}

.petbnb-results__price-popover.is-open {
    display: block !important;
}

.petbnb-results__price-slider {
    display: grid;
    grid-template-columns: auto minmax(150px, 1fr) auto;
    grid-template-rows: auto auto;
    column-gap: 0.5rem;
    row-gap: 0.45rem;
    align-items: center;
}

.petbnb-results__price-values {
    display: contents;
}

.petbnb-results__price-values span {
    font-size: 12px;
    line-height: 1.2;
    color: #4b5563;
    white-space: nowrap;
}

.petbnb-results__price-values span:first-child {
    grid-row: 1;
    grid-column: 1;
}

.petbnb-results__price-values span:last-child {
    grid-row: 1;
    grid-column: 3;
    text-align: right;
}

.petbnb-results__price-ranges {
    --petbnb-price-range-start: 0%;
    --petbnb-price-range-end: 100%;
    grid-row: 1;
    grid-column: 2;
    position: relative;
    width: 100%;
    height: 18px;
}

.petbnb-results__price-ranges::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 4px;
    transform: translateY(-50%);
    border-radius: 999px;
    background: #fde68a;
}

.petbnb-results__price-ranges::after {
    content: '';
    position: absolute;
    top: 50%;
    left: var(--petbnb-price-range-start);
    width: calc(var(--petbnb-price-range-end) - var(--petbnb-price-range-start));
    height: 4px;
    transform: translateY(-50%);
    border-radius: 999px;
    background: #f59e0b;
}

.petbnb-results__price-ranges input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    position: absolute;
    left: 0;
    top: 50%;
    width: 100%;
    height: 18px;
    min-height: 0;
    border: 0;
    padding: 0;
    margin: 0;
    transform: translateY(-50%);
    background: transparent;
    outline: none;
    box-shadow: none;
    pointer-events: none;
}

.petbnb-results__price-ranges input[data-top-filter-price-range-min] {
    z-index: 2;
}

.petbnb-results__price-ranges input[data-top-filter-price-range-max] {
    z-index: 3;
}

.petbnb-results__price-ranges input[type="range"]::-webkit-slider-runnable-track {
    height: 4px;
    background: transparent;
    border: 0;
}

.petbnb-results__price-ranges input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 0;
    background: #d97706;
    margin-top: -5px;
    cursor: pointer;
    pointer-events: auto;
}

.petbnb-results__price-ranges input[type="range"]::-moz-range-track {
    height: 4px;
    background: transparent;
    border: 0;
}

.petbnb-results__price-ranges input[type="range"]::-moz-range-thumb {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 0;
    background: #d97706;
    cursor: pointer;
    pointer-events: auto;
}

.petbnb-results__price-actions {
    grid-row: 2;
    grid-column: 1 / -1;
    display: flex;
    justify-content: flex-end;
    gap: 0.45rem;
}

.petbnb-results__price-cancel,
.petbnb-results__price-apply {
    height: 26px;
    min-height: 26px;
    border-radius: 8px;
    padding: 0 0.6rem;
    font-size: 12px;
    line-height: 1;
    cursor: pointer;
}

.petbnb-results__price-cancel {
    border: 1px solid #d1d5db;
    background: #fff;
    color: #374151;
}

.petbnb-results__price-apply {
    border: 1px solid #d97706;
    background: #d97706;
    background-image: linear-gradient(135deg, #f59e0b 0%, #ea580c 100%);
    color: #fff;
}

.petbnb-results__top-chip--submit {
    justify-content: flex-end;
}

.petbnb-results__top-chip-empty-label {
    font-size: 12px;
    line-height: 1.2;
    font-weight: 600;
    visibility: hidden;
}

.petbnb-results__top-submit {
    width: 100%;
    height: 28px;
    min-height: 28px;
    border: 1px solid #d97706;
    border-radius: 10px;
    background: #f59e0b;
    color: #fff;
    font-size: 14px;
    line-height: 1;
    font-weight: 600;
    cursor: pointer;
}

.petbnb-results__top-submit:hover,
.petbnb-results__top-submit:focus {
    background: #ea580c;
    border-color: #c2410c;
}

.petbnb-results__location-wrap input[data-top-filter-location] {
    padding-right: 2rem;
}

.petbnb-results__dates-wrap input[data-top-filter-dates-display] {
    padding-right: 2rem;
    cursor: pointer;
}

.petbnb-results__location-clear {
    position: absolute;
    top: 50%;
    right: 8px;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    border: 0;
    border-radius: 999px;
    background: #f3f4f6;
    color: #4b5563;
    font-size: 18px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
}

.petbnb-results__location-clear:hover {
    background: #e5e7eb;
    color: #111827;
}

.petbnb-results__dates-clear {
    position: absolute;
    top: 50%;
    right: 8px;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    border: 0;
    border-radius: 999px;
    background: #f3f4f6;
    color: #4b5563;
    font-size: 18px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
}

.petbnb-results__dates-clear:hover {
    background: #e5e7eb;
    color: #111827;
}

.petbnb-results__location-clear.is-hidden {
    display: none;
}

.petbnb-results__dates-clear.is-hidden {
    display: none;
}

.petbnb-results__location-dropdown {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    max-height: 260px;
    overflow: auto;
    border-radius: 10px;
    border: 1px solid #d1d5db;
    background: #fff;
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.12);
    z-index: 30;
    display: none;
}

.petbnb-results__location-dropdown.is-open {
    display: block;
}

.petbnb-results__header-location-host {
    display: none;
}

@media (min-width: 1200px) {
    .petbnb-results__top-bar {
        position: fixed;
        top: var(--petbnb-fixed-header-height, 0px);
        left: 0;
        right: 0;
        z-index: 11;
    }

    .petbnb-results__content {
        margin-top: var(--petbnb-results-top-bar-height, 0px);
    }

    .petbnb-results__header-location-host {
        position: fixed;
        top: max(32px, calc(var(--petbnb-fixed-header-height, 57px) - 28.5px));
        left: 50%;
        transform: translate(-50%, -50%);
        width: min(420px, 30vw);
        margin: 0;
        z-index: 1202;
        display: none;
        pointer-events: none;
    }

    .petbnb-search-results-page.petbnb-has-fixed-header .petbnb-results__header-location-host.is-active {
        display: block;
    }

    .petbnb-results__header-location-host .petbnb-results__top-chip--location {
        margin: 0;
        gap: 0.25rem;
        pointer-events: auto;
    }

    .petbnb-results__header-location-host .petbnb-results__top-chip--location label {
        display: none;
    }

    .petbnb-results__header-location-host .petbnb-results__location-wrap {
        display: flex;
        align-items: center;
        width: 100%;
    }

    .petbnb-results__header-location-host input[data-top-filter-location] {
        height: 27px;
        min-height: 27px;
    }

    .petbnb-results__header-location-host .petbnb-results__location-dropdown {
        z-index: 1203;
    }

}

.petbnb-results__location-option {
    width: 100%;
    display: block;
    border: 0;
    border-bottom: 1px solid #f3f4f6;
    background: transparent;
    color: #111827;
    text-align: left;
    font-size: 14px;
    line-height: 1.35;
    padding: 0.55rem 0.7rem;
    cursor: pointer;
}

.petbnb-results__location-option:last-child {
    border-bottom: 0;
}

.petbnb-results__location-option:hover,
.petbnb-results__location-option.is-active {
    background: #fff7ed;
}

.petbnb-results__header h2 {
    margin-bottom: 2rem;
}

.petbnb-results__list {
    display: grid;
    gap: 1.5rem;
}

.petbnb-results__item {
    background: #fff;
    padding: 1rem 1.25rem;
    border: 1px solid #ddd;
    transition: background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.petbnb-results__item.is-hovered {
    background-color: #e6e6e6;
    border-color: #cfcfcf;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
}

.petbnb-results__item.is-active {
    background-color: #e6e6e6;
    border-color: #cfcfcf;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
}

.petbnb-map-marker--active {
    filter: drop-shadow(0 6px 12px rgba(217, 119, 6, 0.34));
}

.petbnb-map-price-marker-wrapper {
    background: transparent;
    border: 0;
}

.petbnb-map-price-marker {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 56px;
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.72);
    background: #d97706;
    background-image: linear-gradient(135deg, #f59e0b 0%, #ea580c 100%);
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
    box-shadow: 0 4px 10px rgba(154, 52, 18, 0.16);
    transform: translate(-50%, -100%);
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, filter 180ms ease;
}

.petbnb-map-marker--active .petbnb-map-price-marker {
    background-image: linear-gradient(135deg, #ec846d 0%, #e2550b 100%);
    border-color: rgba(76, 27, 13, 0.45);
    box-shadow: 0 10px 20px rgba(60, 20, 8, 0.48);
    transform: translate(-50%, -100%) scale(1.12);
    filter: brightness(1.04) saturate(1.08);
    animation: petbnb-map-marker-pulse 900ms ease-out 1;
}

.petbnb-results .leaflet-marker-icon {
    transition: transform 180ms ease, filter 180ms ease;
    transform-origin: center bottom;
}

.petbnb-results img.leaflet-marker-icon.petbnb-map-marker--active {
    transform: scale(1.12);
}

@keyframes petbnb-map-marker-pulse {
    0% {
        transform: translate(-50%, -100%) scale(1);
    }
    45% {
        transform: translate(-50%, -100%) scale(1.18);
    }
    100% {
        transform: translate(-50%, -100%) scale(1.12);
    }
}

.petbnb-results__item h3 {
    margin-top: 0;
}

.petbnb-results__item-main {
    display: grid;
    grid-template-columns: clamp(168px, 19vw, 194px) minmax(0, 1fr) auto;
    gap: 1rem;
    align-items: start;
}

.petbnb-results__item-image {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    border-radius: 10px;
    overflow: hidden;
    background: #f3f4f6;
}

.petbnb-results__item-image > a,
.petbnb-results__item-image > a > img {
    display: block;
    width: 100%;
    height: 100%;
}

.petbnb-results__item-image-link {
    cursor: zoom-in;
}

.petbnb-results__item-image > a > img {
    object-fit: cover;
}

.petbnb-results__item-gallery-link--hidden {
    display: none;
}

.petbnb-results__item-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6b7280;
    font-size: 13px;
}

.petbnb-results__item-content {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.petbnb-results__item-title {
    margin: 0;
    line-height: 1.25;
}

.petbnb-results__item-title a {
    color: #111827;
    text-decoration: none;
}

.petbnb-results__item-title a:hover {
    text-decoration: underline;
}

.petbnb-results__item-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem 0.6rem;
    align-items: center;
    font-size: 13px;
    line-height: 1.3;
    color: #374151;
}

.petbnb-results__item-trust-rating {
    color: #b45309;
    font-weight: 700;
}

.petbnb-results__item-trust-stars {
    position: relative;
    display: inline-block;
    line-height: 1;
    letter-spacing: 1px;
    font-size: 14px;
}

.petbnb-results__item-trust-stars-track {
    color: #d1d5db;
}

.petbnb-results__item-trust-stars-fill {
    position: absolute;
    top: 0;
    left: 0;
    overflow: hidden;
    white-space: nowrap;
    color: #f59e0b;
}

.petbnb-results__item-trust-new {
    color: #1d4ed8;
    font-weight: 600;
}

.petbnb-results__item-trust-reviews,
.petbnb-results__item-trust-completed {
    color: #4b5563;
}

.petbnb-results__item-excerpt {
    color: #374151;
    margin: 0;
    overflow: hidden;
}

.petbnb-results__item-excerpt p {
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.petbnb-results__item-button {
    align-self: flex-start;
    margin-top: 0.2rem;
}

.petbnb-results__item-price {
    display: inline-flex;
    align-items: baseline;
    justify-content: flex-end;
    margin: 0;
    font-weight: 700;
    color: #111827;
}

.petbnb-results__item-price strong {
    font-size: 13px;
    color: #6b7280;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.petbnb-results__item-price span {
    font-size: 24px;
    line-height: 1;
}

.petbnb-results__item-price-zone {
    min-width: 128px;
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.35rem;
}

.petbnb-results__item-price-label {
    font-size: 13px;
    line-height: 1.3;
    color: #4b5563;
}

.petbnb-results__item-meta {
    margin-top: 0.85rem;
    padding-top: 0.75rem;
    border-top: 1px solid #ececec;
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem 1rem;
    font-size: 14px;
    color: #374151;
}

.petbnb-results__item-services,
.petbnb-results__item-district {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.petbnb-results__item-meta strong {
    color: #111827;
}

.petbnb-results__empty {
    text-align: center;
    padding: 3rem;
    background: #f5f5f5;
}

.petbnb-results__content {
    display: block;
}

.petbnb-results__left {
    padding: 2rem;
    width: 60vw;
    max-width: 60vw;
}

.petbnb-results__right {
    position: fixed;
    top: calc(var(--petbnb-fixed-header-height, 0px) + var(--petbnb-results-top-bar-height, 0px));
    right: 0;
    width: 40vw;
    height: calc(100vh - var(--petbnb-fixed-header-height, 0px) - var(--petbnb-results-top-bar-height, 0px));
    z-index: 10;
    padding: 0;
    margin: 0;
}

.petbnb-results__map {
    width: 100%;
    height: 100%;
    min-height: 0;
    border: 0;
    border-radius: 0;
    margin: 0;
    border-radius: 4px;
    overflow: hidden;
    background: #f5f5f5;
}

.petbnb-search-results-page .petbnb-footer {
    position: static;
    bottom: auto;
    top: auto;
    width: 60vw;
    max-width: 60vw;
    left: 0;
    right: auto;
    box-sizing: border-box;
}

@media (max-width: 1024px) {
    .petbnb-results__top-bar {
        width: auto;
        max-width: none;
        padding: 0.9rem 1.25rem;
    }

    .petbnb-results__top-bar-form {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .petbnb-results__top-chip--location {
        grid-column: 1 / -1;
    }

    .petbnb-results__left {
        padding: 1.25rem;
        width: auto;
        max-width: none;
    }

    .petbnb-results__right {
        position: static;
        width: auto;
        height: 55vh;
    }

    .petbnb-search-results-page .petbnb-footer {
        width: 100%;
        max-width: none;
    }

    .petbnb-results__item-main {
        grid-template-columns: clamp(148px, 28vw, 176px) minmax(0, 1fr);
    }

    .petbnb-results__item-image {
        width: 100%;
        height: auto;
        aspect-ratio: 1 / 1;
    }

    .petbnb-results__item-price-zone {
        grid-column: 2;
        justify-self: start;
        align-items: flex-start;
        text-align: left;
    }

    .petbnb-results__item-price {
        justify-content: flex-start;
    }
}

@media (max-width: 640px) {
    .petbnb-results__top-bar {
        padding: 0.85rem 0.9rem;
    }

    .petbnb-results__top-bar-form {
        grid-template-columns: 1fr;
        gap: 0.65rem;
    }

    .petbnb-results__top-chip--location {
        grid-column: auto;
    }

    .petbnb-results__item {
        padding: 0.9rem;
    }

    .petbnb-results__item-main {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .petbnb-results__item-image {
        width: 100%;
        height: auto;
        aspect-ratio: 1 / 1;
    }

    .petbnb-results__item-price-zone {
        grid-column: auto;
        justify-self: start;
        align-items: flex-start;
        text-align: left;
    }

    .petbnb-results__item-meta {
        font-size: 13px;
        gap: 0.35rem 0.8rem;
    }

    .petbnb-results__item-services,
    .petbnb-results__item-district {
        white-space: normal;
    }
}
