:root {
    --pfh-bg: #f8f5ef;
    --pfh-card: #ffffff;
    --pfh-text: #2f2f2f;
    --pfh-muted: #77716a;
    --pfh-line: #e7dfd3;
    --pfh-accent: #b88b4a;
    --pfh-accent-dark: #8f6934;
    --pfh-soft: #fbf8f2;
    --pfh-radius: 22px;
    --pfh-shadow: 0 18px 45px rgba(31, 26, 19, .08);
}

.pfh-wrap,
.pfh-wrap * {
    box-sizing: border-box;
    font-weight: 400;
}

.pfh-wrap {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    color: var(--pfh-text);
    font-family: inherit;
}

.pfh-rtl {
    direction: rtl;
}

.pfh-ltr {
    direction: ltr;
}

.pfh-primary-btn,
.pfh-secondary-btn,
.pfh-card-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 12px;
    min-height: 42px;
    padding: 10px 18px;
    text-decoration: none !important;
    cursor: pointer;
    transition: .2s ease;
    line-height: 1.2;
    font-size: 14px;
}

.pfh-primary-btn {
    background: var(--pfh-accent);
    color: #fff !important;
}

.pfh-primary-btn:hover {
    background: var(--pfh-accent-dark);
}

.pfh-primary-btn:disabled {
    opacity: .6;
    cursor: not-allowed;
}

.pfh-secondary-btn {
    background: #fff;
    color: var(--pfh-text);
    border: 1px solid var(--pfh-line);
}

.pfh-stars {
    display: inline-flex;
    gap: 2px;
    color: #d8cab5;
    font-size: 15px;
}

.pfh-stars .is-active {
    color: var(--pfh-accent);
}

/* Single */
.pfh-single-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(300px, .7fr);
    gap: 24px;
    align-items: stretch;
    margin: 32px 0;
}

.pfh-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 150px;
    gap: 10px;
    min-height: 310px;
}

.pfh-gallery-item {
    margin: 0;
    border-radius: 18px;
    overflow: hidden;
    background: var(--pfh-soft);
}

.pfh-gallery-item.is-main {
    grid-column: span 2;
    grid-row: span 2;
}

.pfh-gallery img,
.pfh-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.pfh-gallery-placeholder {
    grid-column: 1 / -1;
    min-height: 310px;
    border-radius: 18px;
    background: linear-gradient(135deg, #f5efe4, #fff);
}

.pfh-hero-card {
    background: var(--pfh-card);
    border: 1px solid var(--pfh-line);
    border-radius: var(--pfh-radius);
    padding: 28px;
    box-shadow: var(--pfh-shadow);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.pfh-hero-card h1 {
    margin: 14px 0 10px;
    font-size: clamp(28px, 3.5vw, 48px);
    line-height: 1.15;
    font-weight: 500;
}

.pfh-address,
.pfh-card-address {
    color: var(--pfh-muted);
    margin: 0;
}

.pfh-start-price {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--pfh-line);
    display: grid;
    gap: 6px;
}

.pfh-start-price span,
.pfh-card-price span,
.pfh-room-price span {
    color: var(--pfh-muted);
    font-size: 13px;
}

.pfh-start-price strong,
.pfh-card-price strong,
.pfh-room-price strong,
.pfh-booking-total {
    color: var(--pfh-accent-dark);
    font-size: 24px;
    font-weight: 500;
}

.pfh-single-layout {
    display: block;
    margin-bottom: 48px;
}

.pfh-single-main {
    display: grid;
    gap: 22px;
}

.pfh-panel {
    background: var(--pfh-card);
    border: 1px solid var(--pfh-line);
    border-radius: var(--pfh-radius);
    padding: 26px;
    box-shadow: 0 10px 32px rgba(31, 26, 19, .05);
}

.pfh-panel h2,
.pfh-section-head h2 {
    margin: 0 0 14px;
    font-size: 25px;
    line-height: 1.3;
    font-weight: 500;
}

.pfh-content {
    color: var(--pfh-text);
    line-height: 1.9;
}

.pfh-feature-grid,
.pfh-card-features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.pfh-feature-chip,
.pfh-card-features span {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 7px 12px;
    border-radius: 999px;
    background: var(--pfh-soft);
    border: 1px solid var(--pfh-line);
    color: var(--pfh-muted);
    font-size: 13px;
}

/* Booking */
.pfh-booking-panel {
    padding: 0;
    overflow: hidden;
}

.pfh-section-head {
    padding: 24px 26px;
    border-bottom: 1px solid var(--pfh-line);
    background: linear-gradient(135deg, #fff, var(--pfh-soft));
}

.pfh-section-head p {
    margin: 0;
    color: var(--pfh-muted);
}

.pfh-booking-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 0;
}

.pfh-booking-table {
    overflow: hidden;
}

.pfh-booking-head {
    display: grid;
    grid-template-columns: 1.2fr .55fr .9fr .75fr;
    background: #faf7f0;
    border-bottom: 1px solid var(--pfh-line);
    color: var(--pfh-muted);
    font-size: 13px;
}

.pfh-booking-head span {
    padding: 15px 18px;
    border-inline-end: 1px solid var(--pfh-line);
}

.pfh-booking-row {
    display: grid;
    grid-template-columns: 1.2fr .55fr .9fr .75fr;
    align-items: center;
    min-height: 136px;
    border-bottom: 1px solid var(--pfh-line);
    position: relative;
}

.pfh-booking-row > div:not(.pfh-room-options) {
    padding: 18px;
    height: 100%;
    display: flex;
    align-items: center;
    border-inline-end: 1px solid var(--pfh-line);
}

.pfh-room-info {
    flex-direction: column;
    align-items: flex-start !important;
    justify-content: center;
    gap: 6px;
}

.pfh-rtl .pfh-room-info {
    align-items: flex-end !important;
}

.pfh-room-info h3 {
    margin: 0;
    font-size: 18px;
    text-decoration: underline;
    text-underline-offset: 3px;
    font-weight: 500;
}

.pfh-room-info span,
.pfh-room-guests span,
.pfh-summary-item small,
.pfh-summary-empty {
    color: var(--pfh-muted);
    font-size: 13px;
}

.pfh-room-guests {
    justify-content: center;
    gap: 6px;
}

.pfh-guests-icon {
    width: 30px;
    height: 30px;
    border: 1px solid var(--pfh-line);
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px !important;
    background: #fff;
}

.pfh-room-price {
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    align-items: center;
}

.pfh-room-price del {
    color: #9f9385;
    font-size: 14px;
}

.pfh-room-count-wrap {
    justify-content: center;
    flex-direction: column;
}

.pfh-room-count,
.pfh-room-addon-grid select,
.pfh-date-form input,
.pfh-guest-form input,
.pfh-guest-form textarea,
.pfh-filter-form input,
.pfh-filter-form select {
    width: 100%;
    border: 1px solid #d9d1c5;
    border-radius: 10px;
    background: #fff;
    min-height: 42px;
    padding: 10px 12px;
    color: var(--pfh-text);
    outline: none;
}

.pfh-room-count:focus,
.pfh-room-addon-grid select:focus,
.pfh-date-form input:focus,
.pfh-guest-form input:focus,
.pfh-guest-form textarea:focus,
.pfh-filter-form input:focus,
.pfh-filter-form select:focus {
    border-color: var(--pfh-accent);
    box-shadow: 0 0 0 3px rgba(184, 139, 74, .12);
}

.pfh-room-options {
    grid-column: 1 / -1;
    padding: 0 18px 18px;
    display: grid;
    gap: 12px;
}

.pfh-selected-room {
    background: var(--pfh-soft);
    border: 1px solid var(--pfh-line);
    border-radius: 16px;
    padding: 14px;
}

.pfh-selected-room-title {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.pfh-selected-room-title strong {
    color: var(--pfh-accent-dark);
    font-weight: 500;
}

.pfh-room-addon-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.pfh-room-addon-grid label,
.pfh-filter-form label {
    display: grid;
    gap: 7px;
}

.pfh-room-addon-grid span,
.pfh-filter-form label span {
    font-size: 13px;
    color: var(--pfh-muted);
}

.pfh-booking-summary {
    border-inline-start: 1px solid var(--pfh-line);
    background: #fff;
    padding: 22px;
    position: sticky;
    top: 20px;
    align-self: start;
    min-height: 100%;
}

.pfh-booking-summary h3 {
    margin: 0 0 14px;
    font-size: 20px;
    font-weight: 500;
}

.pfh-summary-list {
    display: grid;
    gap: 10px;
    min-height: 48px;
}

.pfh-summary-item {
    border: 1px solid var(--pfh-line);
    border-radius: 14px;
    padding: 12px;
    display: grid;
    gap: 4px;
}

.pfh-summary-item strong {
    color: var(--pfh-accent-dark);
    font-weight: 500;
}

.pfh-summary-nights {
    color: var(--pfh-muted);
    font-size: 13px;
    padding: 4px 2px;
}

.pfh-summary-total {
    margin: 18px 0;
    padding-top: 16px;
    border-top: 1px solid var(--pfh-line);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.pfh-date-form,
.pfh-date-form,
.pfh-guest-form {
    display: grid;
    gap: 10px;
    margin-bottom: 14px;
}

.pfh-date-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.pfh-date-form label {
    display: grid;
    gap: 7px;
}

.pfh-date-form span {
    color: var(--pfh-muted);
    font-size: 13px;
}

.pfh-guest-form textarea {
    min-height: 82px;
    resize: vertical;
}

.pfh-booking-message {
    margin-top: 12px;
    font-size: 14px;
    line-height: 1.6;
}

.pfh-booking-message.is-success {
    color: #12824c;
}

.pfh-booking-message.is-error {
    color: #b42318;
}

/* Cards and archive */
.pfh-grid {
    display: grid;
    gap: 22px;
}

.pfh-columns-1 { grid-template-columns: 1fr; }
.pfh-columns-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pfh-columns-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pfh-columns-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.pfh-card {
    background: var(--pfh-card);
    border: 1px solid var(--pfh-line);
    border-radius: var(--pfh-radius);
    overflow: hidden;
    box-shadow: 0 12px 35px rgba(31, 26, 19, .06);
}

.pfh-card-image {
    display: block;
    height: 220px;
    background: var(--pfh-soft);
}

.pfh-card-body {
    padding: 18px;
    display: grid;
    gap: 10px;
}

.pfh-card-body h3 {
    margin: 0;
    font-size: 20px;
    line-height: 1.3;
    font-weight: 500;
}

.pfh-card-body h3 a {
    color: var(--pfh-text);
    text-decoration: none !important;
}

.pfh-card-footer {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    align-items: center;
    margin-top: 6px;
    padding-top: 14px;
    border-top: 1px solid var(--pfh-line);
}

.pfh-card-btn {
    background: var(--pfh-soft);
    border: 1px solid var(--pfh-line);
    color: var(--pfh-text) !important;
}

.pfh-card-btn:hover {
    background: var(--pfh-accent);
    color: #fff !important;
}

/* Filters */
.pfh-hotels-page {
    margin-top: 28px;
    margin-bottom: 42px;
}

.pfh-filter-form {
    background: #fff;
    border: 1px solid var(--pfh-line);
    border-radius: var(--pfh-radius);
    padding: 18px;
    box-shadow: var(--pfh-shadow);
    margin-bottom: 24px;
}

.pfh-filter-top,
.pfh-filter-bottom {
    display: grid;
    gap: 14px;
}

.pfh-filter-top {
    grid-template-columns: 1.25fr repeat(5, minmax(0, 1fr));
}

.pfh-filter-bottom {
    grid-template-columns: minmax(170px, .8fr) minmax(170px, .8fr) minmax(0, 1.4fr) auto;
    align-items: end;
    margin-top: 14px;
}

.pfh-filter-features {
    display: grid;
    gap: 8px;
}

.pfh-filter-features > span {
    color: var(--pfh-muted);
    font-size: 13px;
}

.pfh-filter-features > div {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.pfh-feature-check {
    display: inline-flex !important;
    align-items: center;
    gap: 7px;
    border: 1px solid var(--pfh-line);
    border-radius: 999px;
    padding: 8px 11px;
    background: var(--pfh-soft);
    cursor: pointer;
}

.pfh-feature-check input {
    width: auto;
    min-height: auto;
}

.pfh-filter-actions {
    display: flex;
    gap: 8px;
    align-items: end;
}

.pfh-results.is-loading {
    opacity: .55;
    pointer-events: none;
}

.pfh-empty {
    padding: 18px;
    border: 1px dashed var(--pfh-line);
    border-radius: 16px;
    color: var(--pfh-muted);
    background: var(--pfh-soft);
}

@media (max-width: 1024px) {
    .pfh-single-hero,
    .pfh-booking-layout {
        grid-template-columns: 1fr;
    }

    .pfh-booking-summary {
        position: relative;
        top: auto;
        border-inline-start: 0;
        border-top: 1px solid var(--pfh-line);
    }

    .pfh-filter-top,
    .pfh-filter-bottom {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .pfh-columns-3,
    .pfh-columns-4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .pfh-wrap {
        width: min(100% - 20px, 1180px);
    }

    .pfh-single-hero {
        margin: 16px 0;
        gap: 14px;
    }

    .pfh-gallery {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 120px;
        min-height: 250px;
    }

    .pfh-hero-card,
    .pfh-panel {
        padding: 18px;
        border-radius: 18px;
    }

    .pfh-booking-head {
        display: none;
    }

    .pfh-booking-row {
        grid-template-columns: 1fr;
        min-height: auto;
        padding: 16px;
    }

    .pfh-booking-row > div:not(.pfh-room-options) {
        border-inline-end: 0;
        padding: 8px 0;
        justify-content: space-between;
        height: auto;
    }

    .pfh-room-info,
    .pfh-rtl .pfh-room-info {
        align-items: flex-start !important;
    }

    .pfh-room-price,
    .pfh-room-guests,
    .pfh-room-count-wrap {
        align-items: stretch;
        justify-content: flex-start;
    }

    .pfh-room-options {
        padding: 10px 0 0;
    }

    .pfh-room-addon-grid,
    .pfh-date-form,
    .pfh-filter-top,
    .pfh-filter-bottom,
    .pfh-columns-2,
    .pfh-columns-3,
    .pfh-columns-4 {
        grid-template-columns: 1fr;
    }

    .pfh-card-footer,
    .pfh-filter-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .pfh-card-image {
        height: 200px;
    }
}

.pfh-date-periods {
    padding: 22px 26px;
    border-bottom: 1px solid var(--pfh-line);
    background: #fff;
}

.pfh-date-period-title {
    margin-bottom: 12px;
    color: var(--pfh-muted);
    font-size: 14px;
}

.pfh-date-period-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.pfh-date-period {
    border: 1px solid var(--pfh-line);
    background: var(--pfh-soft);
    border-radius: 16px;
    padding: 14px;
    display: grid;
    gap: 6px;
    text-align: inherit;
    cursor: pointer;
    color: var(--pfh-text);
    transition: .2s ease;
}

.pfh-date-period:hover,
.pfh-date-period.is-active {
    border-color: var(--pfh-accent);
    background: #fff;
    box-shadow: 0 8px 20px rgba(31, 26, 19, .08);
}

.pfh-date-period strong {
    font-size: 15px;
    font-weight: 500;
}

.pfh-date-period span,
.pfh-date-period small {
    color: var(--pfh-muted);
    font-size: 12px;
    line-height: 1.6;
}

.pfh-selected-period-time {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.pfh-selected-period-time span {
    display: inline-flex;
    padding: 7px 10px;
    border: 1px solid var(--pfh-line);
    border-radius: 999px;
    background: var(--pfh-soft);
    color: var(--pfh-muted);
    font-size: 12px;
}

@media (max-width: 960px) {
    .pfh-date-period-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .pfh-date-period-grid {
        grid-template-columns: 1fr;
    }
}

/* v1.1.2: proper hero slider, room attachments, RTL and custom dropdowns */
.pfh-hero-slider {
    display: block;
    position: relative;
    min-height: clamp(460px, 62vh, 660px);
    margin: 28px 0 32px;
    border-radius: 28px;
    overflow: hidden;
    background: var(--pfh-soft);
    border: 1px solid var(--pfh-line);
    box-shadow: var(--pfh-shadow);
}

.pfh-slider-media,
.pfh-slider-slide,
.pfh-slider-placeholder {
    position: absolute;
    inset: 0;
}

.pfh-slider-slide {
    margin: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity .45s ease, visibility .45s ease;
}

.pfh-slider-slide.is-active {
    opacity: 1;
    visibility: visible;
}

.pfh-slider-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.pfh-slider-media:after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(20, 16, 10, .56), rgba(20, 16, 10, .18), rgba(20, 16, 10, .48));
    pointer-events: none;
}

.pfh-rtl .pfh-slider-media:after {
    background: linear-gradient(270deg, rgba(20, 16, 10, .56), rgba(20, 16, 10, .18), rgba(20, 16, 10, .48));
}

.pfh-hero-slider .pfh-hero-card {
    position: relative;
    z-index: 3;
    width: min(430px, calc(100% - 44px));
    min-height: 380px;
    margin: 42px;
    background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(14px);
}

.pfh-ltr .pfh-hero-slider .pfh-hero-card {
    margin-right: auto;
}

.pfh-rtl .pfh-hero-slider .pfh-hero-card {
    margin-left: auto;
    text-align: right;
}

.pfh-hero-slider .pfh-hero-card h1 {
    overflow-wrap: anywhere;
}

.pfh-slider-arrow {
    position: absolute;
    z-index: 4;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.55);
    background: rgba(255,255,255,.82);
    color: var(--pfh-text);
    cursor: pointer;
    font-size: 26px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(0,0,0,.12);
}

.pfh-slider-prev { left: 18px; }
.pfh-slider-next { right: 18px; }

.pfh-slider-dots {
    position: absolute;
    z-index: 4;
    left: 50%;
    bottom: 18px;
    transform: translateX(-50%);
    display: inline-flex;
    gap: 8px;
    padding: 8px 10px;
    border-radius: 999px;
    background: rgba(255,255,255,.72);
    backdrop-filter: blur(8px);
}

.pfh-slider-dots button {
    width: 9px;
    height: 9px;
    border: 0;
    border-radius: 999px;
    background: rgba(47,47,47,.28);
    padding: 0;
    cursor: pointer;
}

.pfh-slider-dots button.is-active {
    width: 24px;
    background: var(--pfh-accent);
}

.pfh-room-attachment-groups {
    display: grid;
    gap: 14px;
}

.pfh-room-attachment-group {
    display: grid;
    gap: 10px;
    padding: 14px;
    border: 1px solid var(--pfh-line);
    border-radius: 18px;
    background: var(--pfh-soft);
}

.pfh-room-attachment-group h3 {
    margin: 0;
    font-size: 17px;
    font-weight: 500;
}

.pfh-room-inline-attachments {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 6px;
}

.pfh-room-inline-attachments small {
    display: inline-flex;
    padding: 4px 8px;
    border-radius: 999px;
    border: 1px solid var(--pfh-line);
    background: #fff;
    color: var(--pfh-muted);
    font-size: 11px;
}

.pfh-custom-select {
    position: relative;
    width: 100%;
}

.pfh-custom-select > select {
    position: absolute !important;
    opacity: 0 !important;
    pointer-events: none !important;
    inset: 0;
    width: 100%;
    height: 100%;
}

.pfh-custom-select-button {
    width: 100%;
    min-height: 44px;
    border: 1px solid #d9d1c5;
    border-radius: 12px;
    background: #fff;
    color: var(--pfh-text);
    padding: 10px 42px 10px 14px;
    text-align: inherit;
    cursor: pointer;
    position: relative;
    line-height: 1.4;
}

.pfh-rtl .pfh-custom-select-button {
    padding: 10px 14px 10px 42px;
}

.pfh-custom-select-button:after {
    content: "⌄";
    position: absolute;
    inset-inline-end: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--pfh-accent-dark);
    font-size: 16px;
}

.pfh-custom-select.is-open .pfh-custom-select-button {
    border-color: var(--pfh-accent);
    box-shadow: 0 0 0 3px rgba(184,139,74,.12);
}

.pfh-custom-select-menu {
    position: absolute;
    z-index: 50;
    inset-inline: 0;
    top: calc(100% + 7px);
    display: none;
    max-height: 230px;
    overflow: auto;
    padding: 8px;
    border: 1px solid var(--pfh-line);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 18px 45px rgba(31, 26, 19, .14);
}

.pfh-custom-select.is-open .pfh-custom-select-menu {
    display: grid;
    gap: 4px;
}

.pfh-custom-select-option {
    border: 0;
    background: transparent;
    color: var(--pfh-text);
    text-align: inherit;
    padding: 10px 11px;
    border-radius: 10px;
    cursor: pointer;
    line-height: 1.45;
}

.pfh-custom-select-option:hover,
.pfh-custom-select-option.is-active {
    background: var(--pfh-soft);
    color: var(--pfh-accent-dark);
}

.pfh-rtl .pfh-booking-engine,
.pfh-rtl .pfh-booking-table,
.pfh-rtl .pfh-booking-summary,
.pfh-rtl .pfh-date-periods {
    direction: rtl;
    text-align: right;
}

.pfh-rtl .pfh-booking-head,
.pfh-rtl .pfh-booking-row {
    direction: rtl;
}

.pfh-rtl .pfh-booking-summary {
    border-inline-start: 1px solid var(--pfh-line);
}

.pfh-room-info h3 {
    text-decoration: none;
}

@media (max-width: 1024px) {
    .pfh-hero-slider {
        min-height: 560px;
    }

    .pfh-hero-slider .pfh-hero-card {
        width: min(520px, calc(100% - 32px));
        min-height: auto;
        margin: 32px auto;
    }
}

@media (max-width: 720px) {
    .pfh-hero-slider {
        min-height: 520px;
        border-radius: 22px;
    }

    .pfh-hero-slider .pfh-hero-card {
        width: calc(100% - 24px);
        margin: 18px auto;
        padding: 20px;
    }

    .pfh-slider-arrow {
        width: 36px;
        height: 36px;
        top: auto;
        bottom: 18px;
        transform: none;
    }

    .pfh-slider-prev { left: 14px; }
    .pfh-slider-next { right: 14px; }

    .pfh-slider-dots {
        bottom: 22px;
    }
}


/* v1.1.3: hide theme title on hotel singles, cleaner header slider, fixed RTL arrows, simplified room attachments */
body.single-pf_hotel .entry-header,
body.single-pf_hotel .page-header,
body.single-pf_hotel .post-header,
body.single-pf_hotel .entry-title,
body.single-pf_hotel .page-title,
body.single-pf_hotel .post-title,
body.single-pf_hotel .wp-block-post-title,
body.single-pf_hotel .elementor-widget-theme-post-title {
    display: none !important;
}

body.single-pf_hotel .pfh-wrap {
    margin-top: 22px;
}

.pfh-hero-slider {
    isolation: isolate;
    min-height: clamp(520px, 64vh, 700px);
}

.pfh-hero-slider .pfh-hero-card {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    margin: 0;
    max-height: calc(100% - 84px);
    overflow: auto;
}

.pfh-ltr .pfh-hero-slider .pfh-hero-card {
    left: 46px;
    right: auto;
}

.pfh-rtl .pfh-hero-slider .pfh-hero-card {
    right: 46px;
    left: auto;
}

.pfh-hero-slider .pfh-hero-card h1 {
    font-size: clamp(28px, 3.1vw, 44px);
}

.pfh-slider-arrow {
    all: unset;
    position: absolute;
    z-index: 6;
    top: 50%;
    transform: translateY(-50%);
    width: 46px;
    height: 46px;
    border-radius: 999px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,.92) !important;
    color: var(--pfh-accent-dark) !important;
    border: 1px solid rgba(255,255,255,.78) !important;
    box-shadow: 0 14px 34px rgba(0,0,0,.16);
    font-size: 0 !important;
    line-height: 1 !important;
    transition: .2s ease;
}

.pfh-slider-arrow:before {
    font-size: 24px;
    font-family: Arial, sans-serif;
    line-height: 1;
}

.pfh-slider-arrow:hover {
    background: var(--pfh-accent) !important;
    color: #fff !important;
}

.pfh-slider-prev { left: 20px; right: auto; }
.pfh-slider-next { right: 20px; left: auto; }
.pfh-slider-prev:before { content: "‹"; }
.pfh-slider-next:before { content: "›"; }

.pfh-rtl .pfh-slider-prev { right: 20px; left: auto; }
.pfh-rtl .pfh-slider-next { left: 20px; right: auto; }
.pfh-rtl .pfh-slider-prev:before { content: "›"; }
.pfh-rtl .pfh-slider-next:before { content: "‹"; }

.pfh-room-attachments-panel .pfh-room-attachment-chips {
    padding: 16px;
    border: 1px solid var(--pfh-line);
    border-radius: 18px;
    background: var(--pfh-soft);
}

.pfh-room-attachment-groups,
.pfh-room-attachment-group h3 {
    display: none;
}

@media (max-width: 1024px) {
    .pfh-hero-slider .pfh-hero-card {
        position: relative;
        top: auto;
        transform: none;
        width: min(520px, calc(100% - 32px));
        max-height: none;
        margin: 32px auto;
    }

    .pfh-ltr .pfh-hero-slider .pfh-hero-card,
    .pfh-rtl .pfh-hero-slider .pfh-hero-card {
        left: auto;
        right: auto;
    }
}

@media (max-width: 720px) {
    .pfh-hero-slider {
        min-height: 540px;
    }

    .pfh-slider-prev { left: 14px; right: auto; }
    .pfh-slider-next { right: 14px; left: auto; }
    .pfh-rtl .pfh-slider-prev { right: 14px; left: auto; }
    .pfh-rtl .pfh-slider-next { left: 14px; right: auto; }
}


/* v1.1.4: website colors, title hiding, cleaner hero arrows, safe RTL/date hover, see more */
:root {
    --pfh-accent: #4B851A;
    --pfh-accent-dark: #17297E;
    --pfh-line: #dce4f3;
    --pfh-soft: #f8faf6;
    --pfh-shadow: 0 18px 45px rgba(23, 41, 126, .08);
}

/* Hide the theme/page title on single hotel pages so the custom hotel hero is the only header. */
body.single-pf_hotel .entry-header,
body.single-pf_hotel header.entry-header,
body.single-pf_hotel .page-header,
body.single-pf_hotel .elementor-widget-theme-post-title,
body.single-pf_hotel .wp-block-post-title,
body.single-pf_hotel h1.entry-title,
body.single-pf_hotel h1.page-title,
body.single-pf_hotel .post-title {
    display: none !important;
}

.pfh-primary-btn {
    background: #4B851A;
    color: #fff !important;
}

.pfh-primary-btn:hover,
.pfh-card-btn:hover {
    background: #17297E;
    color: #fff !important;
}

.pfh-secondary-btn,
.pfh-card-btn {
    color: #17297E !important;
    border-color: #dce4f3;
}

.pfh-hero-slider {
    min-height: clamp(520px, 66vh, 700px);
    margin-top: 0;
    border-color: rgba(23, 41, 126, .14);
}

.pfh-hero-slider .pfh-hero-card {
    border-color: rgba(23, 41, 126, .12);
    box-shadow: 0 24px 60px rgba(23, 41, 126, .14);
}

.pfh-hero-slider .pfh-hero-card h1 {
    color: #17297E;
}

.pfh-start-price strong,
.pfh-card-price strong,
.pfh-room-price strong,
.pfh-booking-total,
.pfh-summary-item strong {
    color: #17297E;
}

.pfh-stars {
    color: #4B851A;
}

.pfh-slider-arrow {
    width: 46px;
    height: 46px;
    background: #17297E;
    color: #fff;
    border: 1px solid rgba(255,255,255,.55);
    font-size: 0;
    transition: .2s ease;
}

.pfh-slider-arrow:hover {
    background: #4B851A;
    transform: translateY(-50%) scale(1.04);
}

.pfh-slider-arrow span::before {
    display: block;
    font-size: 30px;
    line-height: 1;
    font-family: Arial, sans-serif;
    font-weight: 400;
}

.pfh-ltr .pfh-slider-prev { left: 18px; right: auto; }
.pfh-ltr .pfh-slider-next { right: 18px; left: auto; }
.pfh-ltr .pfh-slider-prev span::before { content: "‹"; }
.pfh-ltr .pfh-slider-next span::before { content: "›"; }

.pfh-rtl .pfh-slider-prev { right: 18px; left: auto; }
.pfh-rtl .pfh-slider-next { left: 18px; right: auto; }
.pfh-rtl .pfh-slider-prev span::before { content: "›"; }
.pfh-rtl .pfh-slider-next span::before { content: "‹"; }

.pfh-slider-dots button.is-active {
    background: #4B851A;
}

/* Date period hover/active: keep the title visible and use the requested colors. */
.pfh-date-period {
    background: #fff;
    border-color: #dce4f3;
    color: #17297E !important;
}

.pfh-date-period strong,
.pfh-date-period span,
.pfh-date-period small {
    color: #17297E !important;
}

.pfh-date-period:hover,
.pfh-date-period.is-active {
    border-color: #17297E;
    background: #17297E;
    color: #fff !important;
    box-shadow: 0 12px 28px rgba(23, 41, 126, .16);
}

.pfh-date-period:hover strong,
.pfh-date-period:hover span,
.pfh-date-period:hover small,
.pfh-date-period.is-active strong,
.pfh-date-period.is-active span,
.pfh-date-period.is-active small {
    color: #fff !important;
}

.pfh-selected-period-time span {
    background: #fff;
    border-color: #dce4f3;
    color: #17297E;
}

.pfh-date-form input:focus,
.pfh-guest-form input:focus,
.pfh-guest-form textarea:focus,
.pfh-room-count:focus,
.pfh-room-addon-grid select:focus,
.pfh-filter-form input:focus,
.pfh-filter-form select:focus {
    border-color: #4B851A;
    box-shadow: 0 0 0 3px rgba(75, 133, 26, .12);
}

.pfh-custom-select-button {
    border-color: #dce4f3;
    background: #fff;
    color: #17297E;
}

.pfh-custom-select-button::after {
    color: #4B851A;
}

.pfh-custom-select.is-open .pfh-custom-select-button {
    border-color: #4B851A;
    box-shadow: 0 0 0 3px rgba(75, 133, 26, .12);
}

.pfh-custom-select-menu {
    border-color: #dce4f3;
    box-shadow: 0 18px 45px rgba(23, 41, 126, .16);
}

.pfh-custom-select-option:hover,
.pfh-custom-select-option.is-active {
    background: #f2f7ee;
    color: #17297E;
}

.pfh-room-inline-attachments.is-collapsed small:nth-of-type(n+4),
.pfh-feature-grid.is-collapsed .pfh-feature-chip:nth-of-type(n+4) {
    display: none;
}

.pfh-more-toggle {
    appearance: none;
    border: 0;
    background: transparent;
    color: #4B851A;
    padding: 3px 0;
    cursor: pointer;
    font-size: 13px;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.pfh-more-toggle:hover {
    color: #17297E;
}

@media (max-width: 720px) {
    .pfh-hero-slider {
        min-height: 540px;
    }

    .pfh-slider-arrow {
        width: 40px;
        height: 40px;
    }

    .pfh-slider-arrow:hover {
        transform: scale(1.04);
    }

    .pfh-ltr .pfh-slider-prev,
    .pfh-rtl .pfh-slider-prev {
        bottom: 18px;
    }

    .pfh-ltr .pfh-slider-next,
    .pfh-rtl .pfh-slider-next {
        bottom: 18px;
    }
}


.pfh-rtl .pfh-custom-select-menu,
.pfh-rtl .pfh-custom-select-option,
.pfh-rtl .pfh-room-count-wrap,
.pfh-rtl .pfh-room-addon-grid {
    direction: rtl;
    text-align: right;
}

.pfh-ltr .pfh-custom-select-menu,
.pfh-ltr .pfh-custom-select-option {
    direction: ltr;
    text-align: left;
}

.pfh-custom-select > select {
    appearance: none !important;
    -webkit-appearance: none !important;
}


/* v1.1.5: fatal fix companion CSS, stronger title hiding, cleaner hero/arrows and stable date hover */
body.single-pf_hotel .entry-header,
body.single-pf_hotel header.entry-header,
body.single-pf_hotel .page-header,
body.single-pf_hotel .elementor-widget-theme-post-title,
body.single-pf_hotel .wp-block-post-title,
body.single-pf_hotel h1.entry-title,
body.single-pf_hotel h1.page-title,
body.single-pf_hotel .post-title,
body.single-pf_hotel .type-pf_hotel > h1:first-child,
body.single-pf_hotel article.pf_hotel > h1:first-child,
body.single-pf_hotel .site-main > h1:first-child {
    display: none !important;
}

body.single-pf_hotel .pfh-wrap {
    margin-top: 0 !important;
}

.pfh-single-hero.pfh-hero-slider {
    min-height: 0 !important;
    height: auto !important;
    padding: clamp(28px, 4vw, 48px) !important;
    align-items: stretch !important;
    background: linear-gradient(135deg, rgba(23, 41, 126, .06), rgba(75, 133, 26, .08)) !important;
}

.pfh-hero-slider .pfh-slider-media {
    min-height: clamp(360px, 48vw, 560px) !important;
}

.pfh-slider-arrow {
    background: #fff !important;
    color: #17297E !important;
    border: 1px solid rgba(23, 41, 126, .18) !important;
    box-shadow: 0 14px 35px rgba(23, 41, 126, .18) !important;
}

.pfh-slider-arrow:hover {
    background: #4B851A !important;
    color: #fff !important;
    border-color: #4B851A !important;
}

.pfh-slider-prev { left: 18px !important; right: auto !important; }
.pfh-slider-next { right: 18px !important; left: auto !important; }
.pfh-slider-prev span::before { content: "‹" !important; }
.pfh-slider-next span::before { content: "›" !important; }

.pfh-date-period,
.pfh-date-period * {
    text-decoration: none !important;
}

.pfh-date-period strong,
.pfh-date-period .pfh-date-period-title {
    color: #17297E !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.pfh-date-period:hover,
.pfh-date-period.is-active {
    background: #17297E !important;
    border-color: #17297E !important;
}

.pfh-date-period:hover strong,
.pfh-date-period:hover span,
.pfh-date-period:hover small,
.pfh-date-period:hover .pfh-date-period-title,
.pfh-date-period.is-active strong,
.pfh-date-period.is-active span,
.pfh-date-period.is-active small,
.pfh-date-period.is-active .pfh-date-period-title {
    color: #fff !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.pfh-selected-period-time span {
    color: #17297E !important;
    background: #fff !important;
    border-color: rgba(23, 41, 126, .16) !important;
}

@media (max-width: 720px) {
    .pfh-single-hero.pfh-hero-slider {
        padding: 18px !important;
    }

    .pfh-hero-slider .pfh-slider-media {
        min-height: 300px !important;
    }

    .pfh-slider-prev { left: 12px !important; right: auto !important; }
    .pfh-slider-next { right: 12px !important; left: auto !important; }
}


/* v1.1.6: stronger single header cleanup, hero spacing, custom dropdown colors and wider booking area */
body.single-pf_hotel .entry-header,
body.single-pf_hotel header.entry-header,
body.single-pf_hotel .page-header,
body.single-pf_hotel .elementor-widget-theme-post-title,
body.single-pf_hotel .wp-block-post-title,
body.single-pf_hotel h1.entry-title,
body.single-pf_hotel h1.page-title,
body.single-pf_hotel .post-title,
body.single-pf_hotel .type-pf_hotel > h1:first-child,
body.single-pf_hotel article.pf_hotel > h1:first-child,
body.single-pf_hotel .site-main > h1:first-child,
body.single-pf_hotel h1:not(.pfh-hero-title) {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
}

body.single-pf_hotel .pfh-wrap h1.pfh-hero-title {
    display: block !important;
    visibility: visible !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 14px 0 10px !important;
    padding: 0 !important;
    overflow: visible !important;
}

body.single-pf_hotel .pfh-wrap {
    width: min(1280px, calc(100% - 36px)) !important;
    margin-top: clamp(76px, 7vw, 120px) !important;
}

.pfh-single-hero.pfh-hero-slider {
    position: relative !important;
    display: block !important;
    min-height: clamp(540px, 58vw, 720px) !important;
    height: auto !important;
    padding: 0 !important;
    margin: 0 auto 34px !important;
    overflow: hidden !important;
    border-radius: 32px !important;
    background: #17297E !important;
    border-color: rgba(23, 41, 126, .14) !important;
}

.pfh-hero-slider .pfh-slider-media {
    position: absolute !important;
    inset: 0 !important;
    z-index: 1 !important;
    height: 100% !important;
    min-height: 100% !important;
}

.pfh-hero-slider .pfh-slider-slide,
.pfh-hero-slider .pfh-slider-placeholder {
    position: absolute !important;
    inset: 0 !important;
}

.pfh-hero-slider .pfh-slider-media::after {
    background: linear-gradient(90deg, rgba(23, 41, 126, .70), rgba(23, 41, 126, .22), rgba(75, 133, 26, .34)) !important;
}

.pfh-rtl .pfh-hero-slider .pfh-slider-media::after {
    background: linear-gradient(270deg, rgba(23, 41, 126, .70), rgba(23, 41, 126, .22), rgba(75, 133, 26, .34)) !important;
}

.pfh-hero-slider .pfh-hero-card {
    position: relative !important;
    z-index: 3 !important;
    width: min(470px, calc(100% - 84px)) !important;
    min-height: 360px !important;
    margin: clamp(34px, 4.5vw, 58px) !important;
    padding: clamp(28px, 3.2vw, 44px) !important;
    background: rgba(255, 255, 255, .95) !important;
    border-color: rgba(23, 41, 126, .14) !important;
    box-shadow: 0 28px 75px rgba(23, 41, 126, .20) !important;
}

.pfh-ltr .pfh-hero-slider .pfh-hero-card {
    margin-right: auto !important;
    margin-left: clamp(34px, 4.5vw, 58px) !important;
}

.pfh-rtl .pfh-hero-slider .pfh-hero-card {
    margin-left: auto !important;
    margin-right: clamp(34px, 4.5vw, 58px) !important;
    text-align: right !important;
}

.pfh-hero-slider .pfh-hero-card h1.pfh-hero-title {
    color: #17297E !important;
    font-size: clamp(32px, 4.2vw, 56px) !important;
    line-height: 1.08 !important;
    overflow-wrap: anywhere !important;
}

.pfh-slider-arrow {
    width: 48px !important;
    height: 48px !important;
    background: #17297E !important;
    color: #fff !important;
    border: 1px solid rgba(255, 255, 255, .55) !important;
    box-shadow: 0 18px 40px rgba(23, 41, 126, .22) !important;
    font-size: 0 !important;
    z-index: 5 !important;
}

.pfh-slider-arrow:hover {
    background: #4B851A !important;
    color: #fff !important;
    border-color: #4B851A !important;
    transform: translateY(-50%) scale(1.05) !important;
}

.pfh-slider-arrow span::before {
    font-size: 34px !important;
    line-height: .8 !important;
    font-family: Arial, sans-serif !important;
    font-weight: 400 !important;
}

.pfh-ltr .pfh-slider-prev { left: 22px !important; right: auto !important; }
.pfh-ltr .pfh-slider-next { right: 22px !important; left: auto !important; }
.pfh-ltr .pfh-slider-prev span::before { content: "‹" !important; }
.pfh-ltr .pfh-slider-next span::before { content: "›" !important; }

.pfh-rtl .pfh-slider-prev { right: 22px !important; left: auto !important; }
.pfh-rtl .pfh-slider-next { left: 22px !important; right: auto !important; }
.pfh-rtl .pfh-slider-prev span::before { content: "›" !important; }
.pfh-rtl .pfh-slider-next span::before { content: "‹" !important; }

.pfh-slider-dots button.is-active {
    background: #4B851A !important;
}

.pfh-booking-layout {
    grid-template-columns: minmax(0, 1fr) minmax(380px, 430px) !important;
}

.pfh-booking-summary {
    padding: 26px !important;
}

.pfh-room-addon-grid {
    grid-template-columns: repeat(2, minmax(220px, 1fr)) !important;
}

.pfh-room-options {
    padding-inline: 22px !important;
}

.pfh-custom-select {
    min-width: 0 !important;
    isolation: isolate;
}

.pfh-custom-select-button {
    min-height: 48px !important;
    border-color: rgba(23, 41, 126, .18) !important;
    background: #fff !important;
    color: #17297E !important;
    transition: .18s ease !important;
}

.pfh-custom-select-button:hover {
    border-color: #4B851A !important;
    background: #f8faf6 !important;
    color: #17297E !important;
}

.pfh-custom-select.is-open .pfh-custom-select-button {
    background: #17297E !important;
    border-color: #17297E !important;
    color: #fff !important;
    box-shadow: 0 0 0 3px rgba(75, 133, 26, .14) !important;
}

.pfh-custom-select-button::after,
.pfh-custom-select-button:after {
    color: #4B851A !important;
}

.pfh-custom-select.is-open .pfh-custom-select-button::after,
.pfh-custom-select.is-open .pfh-custom-select-button:after {
    color: #fff !important;
}

.pfh-custom-select-menu {
    z-index: 9999 !important;
    border-color: rgba(23, 41, 126, .16) !important;
    background: #fff !important;
    box-shadow: 0 22px 55px rgba(23, 41, 126, .18) !important;
}

.pfh-custom-select-option {
    background: #fff !important;
    color: #17297E !important;
    border: 0 !important;
    box-shadow: none !important;
}

.pfh-custom-select-option:hover,
.pfh-custom-select-option:focus,
.pfh-custom-select-option.is-active {
    background: #17297E !important;
    color: #fff !important;
    outline: none !important;
}

.pfh-custom-select-option.is-active:hover {
    background: #4B851A !important;
    color: #fff !important;
}

.pfh-room-addon-grid select option:checked,
.pfh-filter-form select option:checked,
.pfh-room-count option:checked {
    background: #17297E !important;
    color: #fff !important;
}

@media (max-width: 1024px) {
    .pfh-booking-layout {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 720px) {
    body.single-pf_hotel .pfh-wrap {
        width: min(100% - 20px, 1280px) !important;
        margin-top: 72px !important;
    }

    .pfh-single-hero.pfh-hero-slider {
        min-height: 620px !important;
        border-radius: 24px !important;
    }

    .pfh-hero-slider .pfh-hero-card,
    .pfh-ltr .pfh-hero-slider .pfh-hero-card,
    .pfh-rtl .pfh-hero-slider .pfh-hero-card {
        width: calc(100% - 36px) !important;
        margin: 18px !important;
        min-height: auto !important;
    }

    .pfh-slider-arrow {
        width: 42px !important;
        height: 42px !important;
    }

    .pfh-ltr .pfh-slider-prev { left: 14px !important; right: auto !important; }
    .pfh-ltr .pfh-slider-next { right: 14px !important; left: auto !important; }
    .pfh-rtl .pfh-slider-prev { right: 14px !important; left: auto !important; }
    .pfh-rtl .pfh-slider-next { left: 14px !important; right: auto !important; }

    .pfh-room-addon-grid {
        grid-template-columns: 1fr !important;
    }

    .pfh-booking-summary {
        padding: 20px !important;
    }
}


/* v1.1.7: hero card lowered, cleaner arrows, safer custom dropdown layering */
body.single-pf_hotel .pfh-wrap {
    margin-top: clamp(28px, 3.4vw, 58px) !important;
}

.pfh-single-hero.pfh-hero-slider {
    min-height: clamp(520px, 55vw, 680px) !important;
    margin-top: 0 !important;
}

.pfh-hero-slider .pfh-hero-card,
.pfh-ltr .pfh-hero-slider .pfh-hero-card,
.pfh-rtl .pfh-hero-slider .pfh-hero-card {
    position: absolute !important;
    top: auto !important;
    bottom: clamp(28px, 4vw, 54px) !important;
    transform: none !important;
    width: min(390px, calc(100% - 86px)) !important;
    min-height: auto !important;
    max-height: calc(100% - 82px) !important;
    padding: clamp(20px, 2.4vw, 30px) !important;
    margin: 0 !important;
    overflow: visible !important;
}

.pfh-ltr .pfh-hero-slider .pfh-hero-card {
    left: clamp(42px, 6vw, 76px) !important;
    right: auto !important;
}

.pfh-rtl .pfh-hero-slider .pfh-hero-card {
    right: clamp(42px, 6vw, 76px) !important;
    left: auto !important;
}

.pfh-hero-slider .pfh-hero-card h1.pfh-hero-title,
body.single-pf_hotel .pfh-wrap h1.pfh-hero-title {
    font-size: clamp(24px, 3vw, 40px) !important;
    line-height: 1.16 !important;
    margin: 10px 0 8px !important;
}

.pfh-hero-slider .pfh-meta-line,
.pfh-hero-slider .pfh-start-price span,
.pfh-hero-slider .pfh-start-price strong {
    font-size: 14px !important;
}

.pfh-hero-slider .pfh-start-price strong {
    font-size: clamp(20px, 2.2vw, 28px) !important;
}

.pfh-slider-arrow::before,
.pfh-slider-arrow:before {
    content: none !important;
    display: none !important;
}

.pfh-slider-arrow span {
    width: 100% !important;
    height: 100% !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.pfh-slider-arrow span::before {
    display: block !important;
    font-family: Arial, sans-serif !important;
    font-size: 28px !important;
    line-height: 1 !important;
    font-weight: 400 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

.pfh-ltr .pfh-slider-prev span::before,
.pfh-rtl .pfh-slider-next span::before {
    content: "‹" !important;
}

.pfh-ltr .pfh-slider-next span::before,
.pfh-rtl .pfh-slider-prev span::before {
    content: "›" !important;
}

.pfh-booking-engine,
.pfh-booking-layout,
.pfh-booking-table,
.pfh-booking-row,
.pfh-room-count-wrap,
.pfh-room-options,
.pfh-selected-room,
.pfh-room-addon-grid,
.pfh-room-addon-grid label {
    overflow: visible !important;
}

.pfh-booking-row.is-select-open,
.pfh-selected-room.is-select-open,
.pfh-room-count-wrap.is-select-open,
.pfh-room-addon-grid label.is-select-open {
    position: relative !important;
    z-index: 99990 !important;
}

.pfh-custom-select {
    position: relative !important;
    z-index: 1 !important;
    isolation: auto !important;
}

.pfh-custom-select.is-open {
    z-index: 100000 !important;
}

.pfh-custom-select-menu {
    top: calc(100% + 8px) !important;
    bottom: auto !important;
    inset-inline-start: 0 !important;
    inset-inline-end: auto !important;
    width: max(100%, 190px) !important;
    min-width: 100% !important;
    max-height: 260px !important;
    overflow-y: auto !important;
    z-index: 100001 !important;
    padding: 7px !important;
    display: none !important;
}

.pfh-custom-select.is-open .pfh-custom-select-menu {
    display: grid !important;
}

.pfh-custom-select-option {
    min-height: 38px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 8px !important;
    white-space: nowrap !important;
}

.pfh-rtl .pfh-custom-select-option {
    justify-content: flex-end !important;
}

@media (max-width: 720px) {
    body.single-pf_hotel .pfh-wrap {
        margin-top: 26px !important;
        width: min(100% - 18px, 1280px) !important;
    }

    .pfh-single-hero.pfh-hero-slider {
        min-height: 560px !important;
    }

    .pfh-hero-slider .pfh-hero-card,
    .pfh-ltr .pfh-hero-slider .pfh-hero-card,
    .pfh-rtl .pfh-hero-slider .pfh-hero-card {
        width: calc(100% - 34px) !important;
        left: 17px !important;
        right: 17px !important;
        bottom: 70px !important;
        padding: 20px !important;
    }

    .pfh-hero-slider .pfh-hero-card h1.pfh-hero-title,
    body.single-pf_hotel .pfh-wrap h1.pfh-hero-title {
        font-size: clamp(24px, 8vw, 34px) !important;
    }

    .pfh-custom-select-menu {
        width: max(100%, 170px) !important;
    }
}


/* v1.1.8: final RTL single hero width, corrected slider arrows, safer dropdowns and working filter selects */
body.single-pf_hotel .pfh-wrap {
    width: min(1220px, calc(100% - 36px)) !important;
    margin-top: 0 !important;
    overflow: visible !important;
}

body.single-pf_hotel .pfh-single-hero.pfh-hero-slider {
    width: 100vw !important;
    max-width: 100vw !important;
    margin-inline-start: calc(50% - 50vw) !important;
    margin-inline-end: calc(50% - 50vw) !important;
    margin-top: -18px !important;
    margin-bottom: 34px !important;
    border-radius: 0 0 34px 34px !important;
    border-inline: 0 !important;
    min-height: clamp(520px, 52vw, 680px) !important;
}

body.single-pf_hotel .pfh-single-hero.pfh-hero-slider .pfh-slider-media,
body.single-pf_hotel .pfh-single-hero.pfh-hero-slider .pfh-slider-slide,
body.single-pf_hotel .pfh-single-hero.pfh-hero-slider .pfh-slider-slide img {
    width: 100% !important;
}

.pfh-hero-slider .pfh-hero-card,
.pfh-ltr .pfh-hero-slider .pfh-hero-card,
.pfh-rtl .pfh-hero-slider .pfh-hero-card {
    bottom: clamp(38px, 5vw, 76px) !important;
    width: min(390px, calc(100% - 96px)) !important;
}

.pfh-ltr .pfh-hero-slider .pfh-hero-card {
    left: max(46px, calc((100vw - 1220px) / 2 + 46px)) !important;
    right: auto !important;
}

.pfh-rtl .pfh-hero-slider .pfh-hero-card {
    right: max(46px, calc((100vw - 1220px) / 2 + 46px)) !important;
    left: auto !important;
}

.pfh-hero-slider .pfh-hero-card h1.pfh-hero-title,
body.single-pf_hotel .pfh-wrap h1.pfh-hero-title {
    font-size: clamp(23px, 2.7vw, 38px) !important;
    line-height: 1.18 !important;
}

.pfh-slider-arrow,
.pfh-ltr .pfh-slider-arrow,
.pfh-rtl .pfh-slider-arrow {
    all: unset !important;
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    z-index: 50 !important;
    width: 46px !important;
    height: 46px !important;
    border-radius: 999px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    background: #17297E !important;
    color: #fff !important;
    border: 1px solid rgba(255,255,255,.62) !important;
    box-shadow: 0 18px 40px rgba(23, 41, 126, .28) !important;
    transition: .18s ease !important;
}

.pfh-slider-arrow:hover {
    background: #4B851A !important;
    border-color: #4B851A !important;
    transform: translateY(-50%) scale(1.05) !important;
}

.pfh-slider-arrow::before,
.pfh-slider-arrow:before,
.pfh-slider-arrow::after,
.pfh-slider-arrow:after {
    content: none !important;
    display: none !important;
}

.pfh-slider-arrow span,
.pfh-slider-arrow span::before {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 100% !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

.pfh-slider-arrow span::before {
    font-family: Arial, sans-serif !important;
    font-size: 28px !important;
    line-height: 1 !important;
    color: currentColor !important;
    transform: translateY(-1px) !important;
}

.pfh-slider-prev,
.pfh-rtl .pfh-slider-prev,
.pfh-ltr .pfh-slider-prev {
    left: max(26px, calc((100vw - 1220px) / 2 + 18px)) !important;
    right: auto !important;
}

.pfh-slider-next,
.pfh-rtl .pfh-slider-next,
.pfh-ltr .pfh-slider-next {
    right: max(26px, calc((100vw - 1220px) / 2 + 18px)) !important;
    left: auto !important;
}

.pfh-slider-prev span::before,
.pfh-rtl .pfh-slider-prev span::before,
.pfh-ltr .pfh-slider-prev span::before {
    content: "‹" !important;
}

.pfh-slider-next span::before,
.pfh-rtl .pfh-slider-next span::before,
.pfh-ltr .pfh-slider-next span::before {
    content: "›" !important;
}

.pfh-booking-layout,
.pfh-booking-table,
.pfh-booking-row,
.pfh-room-count-wrap,
.pfh-room-options,
.pfh-selected-room,
.pfh-room-addon-grid,
.pfh-room-addon-grid label,
.pfh-filter-form,
.pfh-filter-top,
.pfh-filter-bottom,
.pfh-hotels-page {
    overflow: visible !important;
}

.pfh-custom-select.has-value .pfh-custom-select-button {
    border-color: #4B851A !important;
    box-shadow: 0 0 0 2px rgba(75, 133, 26, .10) !important;
}

.pfh-custom-select-menu {
    z-index: 999999 !important;
    width: max(100%, 210px) !important;
    min-width: 100% !important;
    max-height: 248px !important;
    overflow-y: auto !important;
}

.pfh-custom-select.is-open-up .pfh-custom-select-menu {
    top: auto !important;
    bottom: calc(100% + 8px) !important;
}

.pfh-booking-row:nth-last-child(-n+2) .pfh-room-count-wrap .pfh-custom-select-menu {
    top: auto !important;
    bottom: calc(100% + 8px) !important;
}

.pfh-filter-form .pfh-custom-select-button,
.pfh-filter-form input {
    min-height: 46px !important;
}

.pfh-filter-form .pfh-custom-select-option.is-active,
.pfh-filter-form .pfh-custom-select-option:hover {
    background: #17297E !important;
    color: #fff !important;
}

.pfh-filter-top {
    grid-template-columns: 1.25fr repeat(5, minmax(135px, 1fr)) !important;
}

.pfh-filter-bottom {
    grid-template-columns: minmax(160px, .85fr) minmax(160px, .85fr) minmax(180px, 1fr) auto !important;
}

@media (max-width: 1024px) {
    .pfh-filter-top,
    .pfh-filter-bottom {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 720px) {
    body.single-pf_hotel .pfh-wrap {
        width: min(100% - 18px, 1220px) !important;
    }

    body.single-pf_hotel .pfh-single-hero.pfh-hero-slider {
        margin-top: 0 !important;
        min-height: 560px !important;
        border-radius: 0 0 24px 24px !important;
    }

    .pfh-hero-slider .pfh-hero-card,
    .pfh-ltr .pfh-hero-slider .pfh-hero-card,
    .pfh-rtl .pfh-hero-slider .pfh-hero-card {
        width: calc(100% - 34px) !important;
        left: 17px !important;
        right: 17px !important;
        bottom: 72px !important;
    }

    .pfh-slider-prev,
    .pfh-rtl .pfh-slider-prev,
    .pfh-ltr .pfh-slider-prev {
        left: 16px !important;
        right: auto !important;
    }

    .pfh-slider-next,
    .pfh-rtl .pfh-slider-next,
    .pfh-ltr .pfh-slider-next {
        right: 16px !important;
        left: auto !important;
    }

    .pfh-filter-top,
    .pfh-filter-bottom {
        grid-template-columns: 1fr !important;
    }
}
