/* Property detail page — Casa Alborado-inspired layout */
.property-detail-page {
    background: #f8f9fb;
    --pd-accent: var(--secondary, #17539b);
}

.property-detail-page .yachts_wrap {
    background: transparent;
    box-shadow: none;
    border: none;
    overflow: visible;
    border-radius: 0;
}

.property-detail-page .yachts_content {
    padding: 0;
    overflow: visible;
    width: 100%;
    max-width: none;
}

.property-detail-page .yachts_content::before {
    display: none;
}

.property-detail-page .yachts_info_wrap {
    max-width: none;
    width: 100%;
}

.property-detail-page .pd-hero,
.property-detail-page .pd-section,
.property-detail-page .pd-mobile-booking {
    width: 100%;
    max-width: none;
    box-sizing: border-box;
}

.property-detail-page .pd-fullwidth-sections {
    margin-top: 0.5rem;
}

.property-detail-page .pd-section,
.property-detail-page .pd-fullwidth-sections > .col-12 {
    width: 100%;
    min-width: 0;
    max-width: 100%;
}

/* Gallery */
.pd-gallery {
    margin-bottom: 1.75rem;
    width: 100%;
    max-width: none;
}

.property-detail-page .yachts_wrap.yacht_details {
    width: 100%;
    max-width: none;
}

.pd-gallery .yachts_img {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

.pd-gallery .slider-for {
    position: relative;
}

.pd-gallery .slider-for .single-slider img.details-image {
    width: 100%;
    height: 460px;
    object-fit: cover;
    display: block;
    border-radius: 0;
}

.pd-gallery .slider-nav {
    padding: 0.65rem 0.75rem 0.85rem;
    background: #fff;
    margin: 0;
}

.pd-gallery .slider-nav .slick-list {
    margin: 0 -5px;
}

.pd-gallery .slider-nav .slick-slide {
    height: 96px;
    padding: 0 5px;
}

.pd-gallery .slider-nav .slick-slide > div {
    height: 100%;
}

.pd-gallery .slider-nav .slick-slide > div,
.pd-gallery .slider-nav .single-slider-sm {
    height: 96px;
    line-height: 0;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.2s, opacity 0.2s;
}

.pd-gallery .slider-nav .single-slider-sm {
    opacity: 0.72;
    display: block;
}

.pd-gallery .slider-nav .slick-current .single-slider-sm,
.pd-gallery .slider-nav .slick-slide:hover .single-slider-sm {
    opacity: 1;
    border-color: var(--pd-accent, var(--secondary, #17539b));
}

.property-detail-page .pd-gallery .yachts_wrap.yacht_details .single-slider.single-slider-sm img,
.pd-gallery .slider-nav .group-image {
    width: 100% !important;
    max-width: none !important;
    height: 100% !important;
    min-height: 100%;
    margin: 0 !important;
    padding: 0 !important;
    object-fit: cover;
    object-position: center;
    display: block;
    border-radius: 0;
    vertical-align: top;
}

.pd-gallery__view-all {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    z-index: 5;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #111827;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.pd-gallery__view-all:hover {
    background: #fff;
}

.pd-photo-disclosure {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: -0.75rem 0 1.5rem;
    padding: 14px 16px;
    border: 1px solid color-mix(in srgb, var(--secondary, #17539b) 26%, #fff);
    border-left: 4px solid var(--secondary, #17539b);
    border-radius: 12px;
    background: linear-gradient(
        110deg,
        color-mix(in srgb, var(--secondary, #17539b) 7%, #fff),
        #fff 72%
    );
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06);
}

.pd-photo-disclosure__icon {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    border-radius: 50%;
    color: #fff;
    background: var(--secondary, #17539b);
    font-size: 22px;
    box-shadow: 0 5px 12px rgba(15, 23, 42, 0.16);
}

.pd-photo-disclosure__copy {
    display: grid;
    gap: 2px;
    min-width: 0;
}

.pd-photo-disclosure__copy strong {
    color: var(--secondary, #17539b);
    font-family: "Playfair Display", Georgia, "Times New Roman", serif;
    font-size: 1rem;
}

.pd-photo-disclosure__copy > span {
    color: #4b5563;
    font-size: 0.9rem;
    font-style: italic;
    line-height: 1.45;
}

/* Main carousel arrows */
.property-detail-page .pd-gallery .slick-prev,
.property-detail-page .pd-gallery .slick-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.96) !important;
    border: 1px solid rgba(17, 24, 39, 0.12) !important;
    border-radius: 50%;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.14);
    z-index: 10;
    cursor: pointer;
    opacity: 1 !important;
    text-indent: -9999px;
    overflow: visible;
    font-size: 0;
    line-height: 0;
    transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.property-detail-page .pd-gallery .slick-prev:hover,
.property-detail-page .pd-gallery .slick-next:hover {
    background: #fff !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
    transform: translateY(-50%) scale(1.04);
}

.property-detail-page .pd-gallery .slick-prev {
    left: 16px;
    display: block !important;
}

.property-detail-page .pd-gallery .slick-next {
    right: 16px;
    display: block !important;
}

.property-detail-page .pd-gallery .slick-prev::before,
.property-detail-page .pd-gallery .slick-next::before {
    content: '';
    display: block;
    width: 11px;
    height: 11px;
    border: 0;
    border-top: 2.5px solid #111827;
    border-right: 2.5px solid #111827;
    position: absolute;
    top: 50%;
    left: 50%;
    opacity: 1;
    font-size: 0;
    text-indent: 0;
    overflow: visible;
    background: transparent;
}

.property-detail-page .pd-gallery .slick-prev::before {
    transform: translate(-35%, -50%) rotate(-135deg);
}

.property-detail-page .pd-gallery .slick-next::before {
    transform: translate(-65%, -50%) rotate(45deg);
}

/* Hero / title */
.pd-hero {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 1.5rem 1.75rem;
    margin-bottom: 1.5rem;
}

.pd-hero__title {
    font-size: 1.65rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #111827;
    margin: 0 0 1rem;
    line-height: 1.25;
}

.pd-hero__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    align-items: center;
}

.pd-hero__meta-item {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.925rem;
    color: #374151;
    font-weight: 500;
}

.pd-hero__meta-item i {
    color: var(--pd-accent, var(--secondary, #17539b));
    font-size: 1rem;
}

/* Sections */
.pd-section {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 1.5rem 1.75rem;
    margin-bottom: 1.5rem;
}

.pd-section__title {
    font-family: inherit;
    font-size: 1.45rem;
    font-weight: 700;
    color: #111827;
    margin: 0 0 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #f3f4f6;
    letter-spacing: -0.01em;
    line-height: 1.3;
}

.pd-section .title {
    font-family: inherit;
    font-size: 1.45rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 1rem;
}

.pd-section p,
.pd-section li,
.pd-section .yachts_content > p {
    font-family: inherit;
    font-size: 0.975rem;
    font-weight: 400;
    color: #4b5563;
    line-height: 1.7;
}

.pd-section strong,
.pd-section b {
    font-weight: 500;
    color: inherit;
}

.pd-section--description {
    margin-bottom: 1.25rem;
}

.pd-description {
    position: relative;
}

.pd-description__content {
    position: relative;
    font-family: inherit;
    font-size: 0.975rem;
    font-weight: 400;
    color: #4b5563;
    line-height: 1.7;
}

.pd-description__content p,
.pd-description__content li {
    font-family: inherit;
    font-size: 0.975rem;
    font-weight: 400;
    color: #4b5563;
    line-height: 1.7;
}

.pd-description__content p:last-child,
.pd-description__content ul:last-child {
    margin-bottom: 0;
}

.pd-description.is-collapsible:not(.is-expanded) .pd-description__content {
    max-height: 230px;
    overflow: hidden;
    transition: max-height 0.35s ease;
}

.pd-description.is-expanded .pd-description__content {
    max-height: 3000px;
}

.pd-description.is-collapsible:not(.is-expanded) .pd-description__content::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 3rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #fff 88%);
    pointer-events: none;
}

.pd-description__toggle {
    margin-top: 0.65rem;
    padding: 0;
    border: 0;
    background: none;
    color: var(--pd-accent, var(--secondary, #17539b));
    font-size: 0.92rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
}

.pd-description__toggle:hover {
    text-decoration: underline;
}

/* Accommodations grid */
.pd-accom-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1rem;
}

.pd-accom-card {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 1rem 1.1rem;
    min-height: 100%;
}

.pd-accom-card__icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #eef4fb;
    color: var(--pd-accent, var(--secondary, #17539b));
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.35rem;
}

.pd-accom-card__icon--success {
    background: #ecfdf3;
    color: #059669;
}

.pd-accom-card__icon--danger {
    background: #fef2f2;
    color: #dc2626;
}

.pd-accom-card__body {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    min-width: 0;
}

.pd-accom-card__label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #6b7280;
    font-weight: 600;
    line-height: 1.3;
}

.pd-accom-card__value {
    font-size: 1rem;
    font-weight: 700;
    color: #111827;
    line-height: 1.35;
    word-break: break-word;
}

.pd-accom-card__value--success {
    color: #059669;
}

.pd-accom-card__value--danger {
    color: #dc2626;
}

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

@media (max-width: 575px) {
    .pd-accom-grid {
        grid-template-columns: 1fr;
    }
}

/* Sleeping arrangements */
.pd-section--sleeping {
    padding: 1.15rem 1.25rem;
    margin-bottom: 1.25rem !important;
}

.pd-section--sleeping .pd-section__title {
    font-size: 1.15rem;
    margin-bottom: 0.85rem;
    padding-bottom: 0.55rem;
}

.pd-sleep-row {
    display: flex;
    gap: 0.65rem;
    overflow-x: auto;
    padding-bottom: 0.15rem;
    scrollbar-width: thin;
}

.pd-sleep-card {
    flex: 0 0 168px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 0.75rem 0.8rem;
    min-height: 96px;
}

.pd-sleep-card__top {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    margin-bottom: 0.45rem;
}

.pd-sleep-card__icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: #eef4fb;
    color: var(--pd-accent, var(--secondary, #17539b));
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 0.9rem;
}

.pd-sleep-card__meta {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    min-width: 0;
}

.pd-sleep-card__label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #374151;
    font-weight: 700;
    line-height: 1.2;
}

.pd-sleep-card__badge {
    display: inline-block;
    width: fit-content;
    font-size: 0.68rem;
    font-weight: 600;
    color: var(--pd-accent, var(--secondary, #17539b));
    background: #eef4fb;
    border-radius: 999px;
    padding: 0.15rem 0.45rem;
    line-height: 1.2;
}

.pd-sleep-card__detail {
    margin: 0;
    font-size: 0.78rem;
    color: #6b7280;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.pd-sleep-empty {
    margin: 0;
    font-size: 0.88rem;
    color: #6b7280;
}

@media (max-width: 575px) {
    .pd-sleep-card {
        flex-basis: 150px;
    }
}

/* Video */
.pd-section--video {
    padding: 1.25rem 1.5rem;
}

.pd-section--video .pd-section__title {
    margin-bottom: 0.85rem;
}

.pd-video-frame {
    position: relative;
    width: 100%;
    max-width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 14px;
    overflow: hidden;
    background: #111827;
}

.pd-video-frame iframe,
.pd-video-frame video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

/* Location */
.pd-section--location {
    padding: 1.5rem 1.75rem;
}

.pd-location-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: 1.75rem;
    align-items: start;
}

.pd-location-grid > :only-child {
    grid-column: 1 / -1;
}

.pd-location-grid #map {
    border-radius: 12px;
    border: 0;
    min-height: 360px !important;
    height: 360px !important;
}

.pd-location__title {
    margin: 0 0 0.75rem;
    font-family: inherit;
    color: #111827;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.3;
}

.pd-location__address {
    margin: 0 0 0.85rem;
    font-family: inherit;
    color: #4b5563;
    font-size: 0.975rem;
    font-weight: 400;
    line-height: 1.6;
}

.pd-directions {
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

/* Align "Directions" with the address line; paragraph starts with the map */
.pd-location-grid.has-address .pd-directions {
    padding-top: calc(1.25rem * 1.3 + 0.75rem);
}

.pd-directions__title {
    min-height: calc(0.975rem * 1.6);
    margin-bottom: 0.85rem;
}

.pd-directions-collapse {
    position: relative;
    flex: 1;
    min-height: 0;
}

.pd-directions__content {
    position: relative;
    color: #4b5563;
    font-size: 0.95rem;
    line-height: 1.75;
    white-space: normal;
}

.pd-directions-collapse.is-collapsible .pd-directions__content {
    max-height: var(--pd-directions-collapsed, 300px);
    overflow: hidden;
    transition: max-height 0.35s ease;
}

.pd-directions-collapse.is-collapsible.is-expanded .pd-directions__content {
    max-height: 3000px;
}

.pd-directions-collapse.is-collapsible:not(.is-expanded) .pd-directions__content::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 3.25rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #fff 88%);
    pointer-events: none;
}

.pd-directions__toggle {
    margin-top: 0.65rem;
    padding: 0;
    border: 0;
    background: none;
    color: var(--pd-accent, var(--secondary, #17539b));
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
}

.pd-directions__toggle:hover {
    text-decoration: underline;
}

.pd-directions__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    margin-top: 1.15rem;
    padding: 0.65rem 1.1rem;
    color: var(--pd-accent, var(--secondary, #17539b));
    background: #fff;
    border: 1px solid var(--pd-accent, var(--secondary, #17539b));
    border-radius: 8px;
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.15s ease, background 0.15s ease;
}

.pd-directions__button:hover {
    color: #fff;
    background: var(--pd-accent, var(--secondary, #17539b));
}

.pd-directions__button i {
    font-size: 1rem;
}

/* Policy */
.pd-section--policy {
    padding: 1.5rem 1.65rem;
}

.pd-policy-stack {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.pd-policy-panel--cancellation {
    background: linear-gradient(135deg, #fbf7ef 0%, #f8f3e8 100%);
    border-color: #eadfce;
}

.pd-policy-panel--cancellation[open] {
    border-color: #eadfce;
    box-shadow: none;
}

.pd-policy-hero__intro {
    margin: 0 0 0.85rem;
    font-family: inherit;
    color: #4b5563;
    font-size: 0.975rem;
    font-weight: 400;
    line-height: 1.7;
}

.pd-policy-hero__tiers {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.65rem;
}

.pd-policy-hero__tier {
    background: #fff;
    border: 1px solid #eadfce;
    border-radius: 10px;
    padding: 0.7rem 0.6rem;
    text-align: center;
}

.pd-policy-hero__tier-label {
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 400;
    color: #4b5563;
    line-height: 1.45;
    min-height: 2.2rem;
}

.pd-policy-hero__tier-headline {
    font-family: inherit;
    font-size: 0.975rem;
    font-weight: 600;
    color: #000;
    margin: 0.2rem 0;
}

.pd-policy-hero__tier-note {
    margin: 0;
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 400;
    color: #4b5563;
    line-height: 1.45;
}

.pd-policy-flexibility {
    margin-top: 0.85rem;
    padding: 0.9rem 1rem;
    border-radius: 12px;
    border: 1px solid #bfdbfe;
    background: linear-gradient(135deg, #eff6ff 0%, #f0f9ff 100%);
}

.pd-policy-flexibility__header {
    display: flex;
    gap: 0.7rem;
    align-items: flex-start;
    margin-bottom: 0.45rem;
}

.pd-policy-flexibility__icon {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #fff;
    color: #1d4ed8;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 0.9rem;
}

.pd-policy-flexibility__title {
    margin: 0;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 700;
    color: #000;
    line-height: 1.35;
}

.pd-policy-flexibility__subtitle {
    margin: 0.2rem 0 0;
    font-family: inherit;
    font-size: 0.92rem;
    font-weight: 400;
    color: #374151;
    line-height: 1.45;
}

.pd-policy-flexibility__content {
    font-family: inherit;
    font-size: 0.95rem;
    color: #111827;
    line-height: 1.65;
}

.pd-policy-flexibility__content p {
    margin: 0 0 0.55rem;
}

.pd-policy-flexibility__content p:last-child {
    margin-bottom: 0;
}

.pd-policy-flexibility__list {
    margin: 0;
    padding-left: 1.1rem;
    font-family: inherit;
    font-size: 0.95rem;
    color: #111827;
    line-height: 1.65;
}

.pd-policy-flexibility__list li + li {
    margin-top: 0.35rem;
}

.pd-policy-accordion {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.pd-policy-panel {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #fff;
    overflow: hidden;
}

.pd-policy-panel[open] {
    border-color: #c7d8ef;
    box-shadow: 0 4px 18px rgba(23, 83, 155, 0.06);
}

.pd-policy-panel__summary {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.9rem 1rem;
    cursor: pointer;
    list-style: none;
}

.pd-policy-panel__summary::-webkit-details-marker {
    display: none;
}

.pd-policy-panel__icon {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #eef4fb;
    color: var(--secondary, #17539b);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 0.85rem;
}

.pd-policy-panel__heading {
    flex: 1;
    min-width: 0;
}

.pd-policy-panel__title {
    display: block;
    font-family: inherit;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    text-transform: none;
    color: #000;
    line-height: 1.35;
}

.pd-policy-panel__subtitle {
    display: block;
    margin-top: 0.2rem;
    font-family: inherit;
    font-size: 0.92rem;
    font-weight: 400;
    color: #4b5563;
    line-height: 1.45;
    font-style: normal;
}

.pd-policy-panel__chevron {
    color: #9ca3af;
    font-size: 0.8rem;
    transition: transform 0.2s ease;
}

.pd-policy-panel[open] .pd-policy-panel__chevron {
    transform: rotate(180deg);
    color: var(--secondary, #17539b);
}

.pd-policy-panel__body {
    padding: 0 1rem 1rem 3.9rem;
    border-top: 1px solid #f1f5f9;
}

.pd-policy-panel__content {
    font-family: inherit;
    color: #4b5563;
    font-size: 0.975rem;
    font-weight: 400;
    line-height: 1.7;
}

.pd-policy-panel__content p {
    margin: 0 0 0.65rem;
    font-size: inherit;
    font-weight: inherit;
    color: inherit;
}

.pd-policy-panel__content p:last-child {
    margin-bottom: 0;
}

.pd-policy-panel__content ul,
.pd-policy-panel__content ol,
.pd-policy-panel__list {
    margin: 0 0 0.65rem;
    padding-left: 1.25rem !important;
    list-style: none !important;
    display: block !important;
    font-size: inherit;
    color: inherit;
}

.pd-policy-panel__content ul > li,
.pd-policy-panel__list > li {
    display: list-item !important;
    list-style-type: disc !important;
    list-style-position: outside !important;
    font-size: inherit;
    font-weight: 400;
    color: inherit;
}

.pd-policy-panel__content ol > li {
    display: list-item !important;
    list-style-type: decimal !important;
    list-style-position: outside !important;
}

.pd-policy-panel__content li + li,
.pd-policy-panel__list li + li {
    margin-top: 0.25rem;
}

.pd-policy-panel__content h4 {
    margin: 0.85rem 0 0.45rem;
    font-family: inherit;
    font-size: 1.05rem;
    font-weight: 700;
    color: #111827;
    text-transform: none;
    letter-spacing: -0.01em;
}

.pd-policy-panel__content h4:first-child {
    margin-top: 0;
}

.pd-policy-panel__content strong {
    font-weight: 500;
    color: inherit;
}

.pd-policy-panel__list {
    margin: 0;
    padding-left: 1.25rem !important;
    font-family: inherit;
    color: #4b5563;
    font-size: 0.975rem;
    font-weight: 400;
    line-height: 1.7;
    list-style: none !important;
    display: block !important;
}

.pd-policy-panel__list > li {
    display: list-item !important;
    list-style-type: disc !important;
    list-style-position: outside !important;
}

.pd-policy-panel__list li + li {
    margin-top: 0.35rem;
}

@media (max-width: 991px) {
    .pd-policy-hero__tiers {
        grid-template-columns: 1fr;
    }

    .pd-policy-hero__tier {
        text-align: left;
    }

    .pd-policy-hero__tier-label {
        min-height: 0;
    }

    .pd-policy-panel__body {
        padding-left: 1rem;
    }
}

/* Sidebar booking widget */
.pd-sidebar {
    position: sticky;
    top: 90px;
}

.pd-booking-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 1.25rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.07);
    margin-bottom: 1.25rem;
}

.pd-booking-card__title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #111827;
    margin: 0 0 1rem;
    text-align: center;
}

.pd-booking-card .widget_box {
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.pd-price-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--secondary, #c4a052) !important;
    border-radius: 10px;
    padding: 0.75rem 1rem !important;
    margin: 1rem 0 !important;
    color: #ffffff !important;
}

.pd-price-bar,
.pd-price-bar > span,
.pd-price-bar .pd-sale-price {
    color: #ffffff !important;
}

/* Crossed-out OLD list price only */
.pd-price-bar .pd-cut-price {
    color: #ffffff !important;
    text-decoration: line-through solid #ffffff !important;
    -webkit-text-decoration-color: #ffffff !important;
    text-decoration-color: #ffffff !important;
    opacity: 1 !important;
}

.pd-booking-fields {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    margin: 0.85rem 0 0.35rem;
}

.pd-booking-field {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    width: 100%;
    padding: 0.85rem 1rem;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #fff;
    text-align: left;
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.pd-booking-field:hover,
.pd-booking-field:focus-visible {
    border-color: #cbd5e1;
    box-shadow: 0 0 0 3px rgba(23, 83, 155, 0.08);
    outline: none;
}

.pd-booking-field__copy {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    min-width: 0;
}

.pd-booking-field__label {
    font-family: inherit;
    font-size: 0.8rem;
    font-weight: 700;
    color: #111827;
    line-height: 1.2;
}

.pd-booking-field__value {
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 400;
    color: #111827;
    line-height: 1.35;
}

.pd-booking-field__icon {
    color: #111827;
    font-size: 1.35rem;
    line-height: 1;
    flex-shrink: 0;
}

.pd-booking-field--guests {
    cursor: default;
}

.pd-booking-guests-select {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    border: 0;
}

.pd-booking-breakdown {
    margin-top: 0.35rem;
    padding: 0.95rem 1rem;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #fff;
}

.pd-booking-breakdown__row,
.pd-booking-breakdown__total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 400;
    color: #111827;
    line-height: 1.45;
}

.pd-booking-breakdown__row + .pd-booking-breakdown__row {
    margin-top: 0.55rem;
}

.pd-booking-breakdown__total {
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid #e5e7eb;
    font-weight: 700;
}

.pd-offer-images {
    margin-bottom: 1.25rem;
}

.pd-offer-images__trigger {
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    border-radius: 14px;
    overflow: visible;
    background: #fff;
    border: 1px solid #e5e7eb;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
    cursor: pointer;
    line-height: 0;
}

.pd-offer-images__img {
    display: block;
    width: 100%;
    height: auto;
    min-height: 220px;
    max-height: 460px;
    object-fit: cover;
    border-radius: 14px;
}

/* Sidebar custom offers card (matches special offers modal style) */
.pd-sidebar-offers {
    margin-bottom: 1.25rem;
    --pd-offer-serif: "Playfair Display", Georgia, "Times New Roman", serif;
    --pd-offer-sans: "Inter", Arial, sans-serif;
    font-family: "Inter", Arial, sans-serif;
}

.pd-sidebar-offers__card {
    border-radius: 18px;
    overflow: hidden;
    background: #fff;
    border: 1px solid #e8e4dc;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
}

.pd-sidebar-offers__media {
    position: relative;
    min-height: 280px;
    background: var(--secondary, #17539b);
}

.pd-sidebar-offers.is-single .pd-sidebar-offers__media {
    min-height: 300px;
}

.pd-sidebar-offers__slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.35s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pd-sidebar-offers__slide.is-active {
    opacity: 1;
    z-index: 1;
}

.pd-sidebar-offers__slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
}

.pd-sidebar-offers__placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.4);
    font-size: 3.5rem;
}

.pd-sidebar-offers__media::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(180deg, transparent 28%, rgba(0, 0, 0, .18) 58%, rgba(0, 0, 0, .62) 100%);
    pointer-events: none;
}

.pd-sidebar-offers__pill,
.pd-sidebar-offers__discount {
    position: absolute;
    z-index: 4;
    top: 14px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.82rem;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.14);
}

.pd-sidebar-offers__pill {
    left: 14px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 12px;
    color: var(--secondary, #17539b);
    font-family: var(--pd-offer-serif);
    background: linear-gradient(180deg, #f6dbad, var(--primary, #c9b290));
}

.pd-sidebar-offers__discount {
    right: 14px;
    padding: 7px 12px;
    color: #fff;
    background: var(--secondary, #17539b);
    font-family: var(--pd-offer-serif);
}

.pd-sidebar-offers__nav {
    position: absolute;
    z-index: 5;
    top: 42%;
    width: 38px;
    height: 38px;
    transform: translateY(-50%);
    border: 0;
    border-radius: 50%;
    background: #fff;
    color: var(--secondary, #17539b);
    box-shadow: 0 6px 14px rgba(4, 18, 39, 0.2);
    display: grid;
    place-items: center;
}

.pd-sidebar-offers__nav--prev { left: 10px; }
.pd-sidebar-offers__nav--next { right: 10px; }

.pd-sidebar-offers__overlay {
    position: absolute;
    z-index: 4;
    left: 0;
    right: 0;
    bottom: 0;
    min-height: 64px;
    padding: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.pd-sidebar-offers__title {
    margin: 0;
    color: #fff;
    font-family: var(--pd-offer-serif);
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.25;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
}

.pd-sidebar-offers__meta {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;
    color: #fff !important;
    font-family: var(--pd-offer-serif);
    font-size: 0.88rem;
    font-weight: 600;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.pd-sidebar-offers__meta,
.pd-sidebar-offers__meta i,
.pd-sidebar-offers__meta span,
.pd-sidebar-offers__meta #pdSidebarDates,
.pd-sidebar-offers__meta #pdSidebarMetaOff,
.pd-sidebar-offers__meta .pd-sidebar-offers__dot {
    color: #fff !important;
}

.pd-sidebar-offers__meta i {
    font-size: 0.95rem;
}

.pd-sidebar-offers__book {
    margin-top: 6px;
    min-width: 180px;
    min-height: 40px;
    padding: 0 18px;
    border: 0;
    border-radius: 999px;
    color: #fff;
    background: linear-gradient(180deg, #efc982, var(--primary, #c9b290));
    font-family: var(--pd-offer-serif);
    font-size: 0.95rem;
    font-weight: 700;
    box-shadow: 0 8px 16px rgba(150, 120, 70, 0.25);
}

.pd-sidebar-offers__book:hover {
    filter: brightness(1.04);
    color: #fff;
}

.pd-sidebar-offers__dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 12px 0 14px;
    background: #fff;
}

.pd-sidebar-offers__dots button {
    width: 9px;
    height: 9px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #d4d5d7;
}

.pd-sidebar-offers__dots button.is-active {
    background: var(--secondary, #17539b);
}

.pd-offers-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 1.15rem 1.25rem;
    margin-bottom: 1.25rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
}

.pd-offers-card__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--pd-accent, var(--secondary, #17539b));
    margin-bottom: 0.45rem;
}

.pd-offers-card__title {
    margin: 0 0 0.35rem;
    font-size: 1.1rem;
    font-weight: 700;
    color: #111827;
}

.pd-offers-card__text {
    margin: 0 0 0.9rem;
    font-size: 0.925rem;
    font-weight: 400;
    color: #4b5563;
    line-height: 1.55;
}

.pd-offers-card__btn {
    width: 100%;
}

.pd-booking-card .banner-search {
    background: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
}

.pd-booking-card .theme_btn,
.pd-booking-card .theme_btn_1 {
    border-radius: 10px !important;
    font-weight: 600 !important;
    letter-spacing: 0.02em;
    width: 100%;
    margin-top: 0.65rem;
}

/* Reviews */
.pd-reviews-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 1.35rem 1.4rem 1.15rem;
}

.pd-reviews-card .widget_box {
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
    padding: 0 !important;
}

.pd-reviews-card__title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #111827;
    margin: 0 0 1.1rem;
}

.pd-reviews-summary {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 1rem;
}

.pd-reviews-summary__score {
    font-size: 2.35rem;
    font-weight: 800;
    line-height: 1;
    color: #111827;
}

.pd-reviews-summary__meta {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.pd-reviews-summary__count {
    font-size: 0.82rem;
    color: #6b7280;
}

.pd-reviews-breakdown {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    margin-bottom: 1rem;
}

.pd-reviews-breakdown__row {
    display: grid;
    grid-template-columns: 44px 1fr 42px;
    align-items: center;
    gap: 0.55rem;
}

.pd-reviews-breakdown__label {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.88rem;
    color: #374151;
    font-weight: 600;
}

.pd-reviews-breakdown__label img {
    width: 22px;
    height: 22px;
    object-fit: contain;
}

.pd-reviews-breakdown__bar {
    height: 8px;
    background: #eef2f7;
    border-radius: 999px;
    overflow: hidden;
}

.pd-reviews-breakdown__fill {
    display: block;
    height: 100%;
    background: var(--pd-accent, var(--secondary, #17539b));
    border-radius: 999px;
    min-width: 0;
}

.pd-reviews-breakdown__pct {
    font-size: 0.78rem;
    color: #6b7280;
    text-align: right;
}

.pd-reviews-actions {
    margin-bottom: 1.1rem;
}

.pd-reviews-write-btn {
    display: block;
    width: 100%;
    text-align: center;
    padding: 0.55rem 1rem;
    border: 1px solid var(--pd-accent, var(--secondary, #17539b));
    border-radius: 10px;
    color: var(--pd-accent, var(--secondary, #17539b));
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    background: #fff;
    transition: background 0.15s ease, color 0.15s ease;
}

.pd-reviews-write-btn:hover {
    background: var(--pd-accent, var(--secondary, #17539b));
    color: #fff;
}

.pd-review-featured {
    border-top: 1px solid #f3f4f6;
    padding-top: 1rem;
}

.pd-reviews-carousel {
    position: relative;
    border-top: 1px solid #f3f4f6;
    padding-top: 1rem;
    margin-bottom: 0;
}

.pd-review-slide {
    padding: 0 2rem 0.35rem;
    min-height: 150px;
}

.pd-review-slide--single {
    border-top: 1px solid #f3f4f6;
    padding-top: 1rem;
    padding-left: 0;
    padding-right: 0;
}

.pd-reviews-carousel__control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 32px !important;
    height: 32px;
    opacity: 1 !important;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: background 0.15s ease, box-shadow 0.15s ease;
}

.pd-reviews-carousel .carousel-control-prev-icon,
.pd-reviews-carousel .carousel-control-next-icon {
    display: none;
}

.pd-reviews-carousel__control:hover {
    background: #f9fafb;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.pd-reviews-carousel .carousel-control-prev {
    left: 0;
}

.pd-reviews-carousel .carousel-control-next {
    right: 0;
}

.pd-reviews-carousel__arrow {
    display: block;
    width: 8px;
    height: 8px;
    border-top: 2px solid var(--pd-accent, var(--secondary, #17539b));
    border-right: 2px solid var(--pd-accent, var(--secondary, #17539b));
    position: absolute;
    top: 50%;
    left: 50%;
}

.pd-reviews-carousel__arrow--prev {
    transform: translate(-35%, -50%) rotate(-135deg);
}

.pd-reviews-carousel__arrow--next {
    transform: translate(-65%, -50%) rotate(45deg);
}

.pd-reviews-carousel__dots {
    display: flex;
    justify-content: center;
    gap: 0.35rem;
    margin-top: 0.65rem;
}

.pd-reviews-carousel__dot {
    width: 7px;
    height: 7px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: #d1d5db;
    cursor: pointer;
    transition: background 0.15s ease, transform 0.15s ease;
}

.pd-reviews-carousel__dot.is-active {
    background: var(--pd-accent, var(--secondary, #17539b));
    transform: scale(1.15);
}

.pd-reviews-carousel__dot:hover {
    background: #9ca3af;
}

.pd-review-featured__header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.55rem;
}

.pd-review-featured__name {
    font-size: 0.95rem;
    font-weight: 700;
    color: #111827;
    line-height: 1.2;
}

.pd-review-featured__date {
    font-size: 0.78rem;
    color: #6b7280;
    margin-top: 0.1rem;
}

.pd-review-featured__rating {
    margin-bottom: 0.55rem;
}

.pd-review-featured__comment {
    margin: 0;
    font-size: 0.88rem;
    line-height: 1.55;
    color: #4b5563;
}

.pd-reviews-empty {
    margin: 0;
    font-size: 0.88rem;
    color: #6b7280;
}

.pd-review-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    background: #e8edf3;
    flex-shrink: 0;
}

.pd-review-item {
    border-bottom: 1px solid #f3f4f6;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
}

.pd-review-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

/* Mobile booking block */
.pd-mobile-booking {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 1.25rem;
    margin-bottom: 1.5rem;
    width: 100%;
    box-sizing: border-box;
}

.pd-mobile-booking .banner-search {
    background: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
}

.pd-mobile-booking .theme_btn,
.pd-mobile-booking .theme_btn_1 {
    border-radius: 10px !important;
    font-weight: 600 !important;
    letter-spacing: 0.02em;
    width: 100%;
    margin-top: 0.65rem;
    display: block;
}

.pd-mobile-booking .theme_btn:first-of-type,
.pd-mobile-booking .theme_btn_1:first-of-type {
    margin-top: 0;
}

.pd-mobile-booking .pd-booking-card__title {
    text-align: center;
    margin-bottom: 1rem;
}

/* Offer carousels in sidebar */
.pd-booking-card .carousel {
    border-radius: 12px;
    overflow: hidden;
}

/* Error messages */
.pd-booking-card [id^="error-message"],
.pd-booking-card [id^="select-message"],
.pd-mobile-booking [id^="error-message"],
.pd-mobile-booking [id^="select-message"] {
    border-radius: 8px !important;
    font-size: 0.875rem;
}

@media (max-width: 991px) {
    .pd-sidebar {
        position: static;
    }

    .pd-location-grid {
        grid-template-columns: 1fr;
    }

    .pd-location-grid.has-address .pd-directions {
        padding-top: 0;
    }

    .pd-gallery .slider-for .single-slider img.details-image {
        height: 320px;
    }

    .pd-gallery .slider-nav .slick-slide,
    .pd-gallery .slider-nav .slick-slide > div,
    .pd-gallery .slider-nav .single-slider-sm {
        height: 80px;
    }
}

@media (max-width: 576px) {
    .pd-hero__title {
        font-size: 1.25rem;
    }

    .pd-hero__meta {
        gap: 0.75rem;
    }

    .pd-section {
        padding: 1.15rem;
    }
}

/* Amenities */
.pd-amenities {
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

.pd-amenities__layout {
    display: grid;
    grid-template-columns: minmax(0, 220px) minmax(0, 1fr);
    gap: 1.25rem;
    align-items: start;
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

.pd-amenities__nav-wrap {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    min-width: 0;
    max-width: 100%;
}

.pd-amenities__nav {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    min-width: 0;
    max-width: 100%;
}

.pd-amenities__nav-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    text-align: left;
    border: 1px solid transparent;
    border-radius: 10px;
    padding: 0.75rem 0.85rem;
    background: #f9fafb;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s;
}

.pd-amenities__nav-btn.is-active,
.pd-amenities__nav-btn:hover {
    background: #fff;
    border-color: var(--secondary, #17539b);
}

.pd-amenities__nav-btn.is-hidden-by-default {
    display: none;
}

.pd-amenities__nav-wrap.is-expanded .pd-amenities__nav-btn.is-hidden-by-default {
    display: flex;
}

.pd-amenities__nav-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: #eef4fb;
    color: var(--secondary, #17539b);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.pd-amenities__nav-btn.is-active .pd-amenities__nav-icon {
    background: var(--secondary, #17539b);
    color: #fff;
}

.pd-amenities__nav-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.pd-amenities__nav-text strong {
    font-size: 0.95rem;
    font-weight: 600;
    color: #111827;
    line-height: 1.25;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.pd-amenities__nav-text small {
    font-size: 0.8rem;
    font-weight: 400;
    color: #6b7280;
}

.pd-amenities__panels {
    min-width: 0;
    max-width: 100%;
}

.pd-amenities__panel {
    display: none;
}

.pd-amenities__panel.is-active {
    display: block;
}

.pd-amenities__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

.pd-amenity-card {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 0.85rem 1rem;
    background: #fff;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
}

.pd-amenity-card.is-hidden-by-default {
    display: none;
}

.pd-amenities__panel.is-expanded .pd-amenity-card.is-hidden-by-default {
    display: flex;
}

.pd-amenity-card__icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: #eef4fb;
    color: var(--secondary, #17539b);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.pd-amenity-card__body {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    min-width: 0;
    flex: 1 1 auto;
}

.pd-amenity-card__body strong {
    font-size: 0.95rem;
    font-weight: 500;
    color: #111827;
    line-height: 1.4;
    overflow-wrap: anywhere;
    word-break: break-word;
    white-space: normal;
}

.pd-amenity-card__body span {
    font-size: 0.9rem;
    font-weight: 400;
    color: #4b5563;
    line-height: 1.45;
    overflow-wrap: anywhere;
    word-break: break-word;
    white-space: normal;
}

.pd-amenities__toggle-wrap {
    text-align: center;
    margin-top: 0.85rem;
}

.pd-amenities__toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--secondary, #17539b);
    font-weight: 600;
    font-size: 0.88rem;
    cursor: pointer;
}

.pd-amenities__toggle:hover {
    text-decoration: underline;
}

.pd-amenities__toggle--nav {
    align-self: flex-start;
    margin-top: 0.15rem;
}

@media (max-width: 1199px) {
    .pd-amenities__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 991px) {
    .pd-amenities__layout {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .pd-amenities__nav {
        flex-direction: row;
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
        padding-bottom: 0.35rem;
    }

    .pd-amenities__nav-btn {
        flex: 0 0 auto;
        min-width: 148px;
        max-width: 220px;
    }
}

@media (max-width: 767px) {
    .pd-amenities__grid {
        grid-template-columns: 1fr;
    }

    .pd-amenity-card {
        padding: 0.75rem 0.85rem;
    }
}

@media (max-width: 575px) {
    .pd-amenities__nav-btn {
        min-width: 132px;
        padding: 0.65rem 0.75rem;
    }

    .pd-amenity-card__icon {
        width: 34px;
        height: 34px;
    }

    .pd-amenity-card__body strong {
        font-size: 0.82rem;
    }
}

/* Review submit modal */
.pd-review-modal {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(17, 24, 39, 0.18);
}

.pd-review-modal__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.35rem 1.5rem 1.15rem;
    background: var(--pd-accent, var(--secondary, #17539b));
    border-bottom: none;
}

.pd-review-modal__header-main {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    min-width: 0;
}

.pd-review-modal__header-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
    font-size: 1.45rem;
    flex-shrink: 0;
}

.pd-review-modal__title {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.3;
}

.pd-review-modal__subtitle {
    margin: 0.2rem 0 0;
    font-size: 0.84rem;
    color: rgba(255, 255, 255, 0.86);
    line-height: 1.4;
}

.pd-review-modal__header .btn-close {
    filter: brightness(0) invert(1);
    opacity: 0.9;
    margin-top: 0.15rem;
}

.pd-review-modal__body {
    padding: 1.35rem 1.5rem 1.5rem;
    background: #f8f9fb;
}

.pd-review-field__label {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-bottom: 0.45rem;
    font-size: 0.86rem;
    font-weight: 600;
    color: #374151;
}

.pd-review-field__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 8px;
    background: rgba(23, 83, 155, 0.1);
    color: var(--pd-accent, var(--secondary, #17539b));
    font-size: 0.95rem;
    flex-shrink: 0;
}

.pd-review-field__input,
.pd-review-field__textarea {
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 0.7rem 0.85rem;
    font-size: 0.92rem;
    color: #111827;
    background: #fff;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.pd-review-field__input:focus,
.pd-review-field__textarea:focus {
    border-color: var(--pd-accent, var(--secondary, #17539b));
    box-shadow: 0 0 0 3px rgba(23, 83, 155, 0.12);
    outline: none;
}

.pd-review-field--private .pd-review-field__icon {
    background: rgba(201, 178, 144, 0.2);
    color: #8a7348;
}

.pd-review-upload {
    position: relative;
}

.pd-review-upload__input {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.pd-review-upload__box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.85rem;
    padding: 0.9rem 1rem;
    border: 1px dashed #cbd5e1;
    border-radius: 12px;
    background: #fff;
    transition: border-color 0.15s ease, background 0.15s ease;
}

.pd-review-upload__box:hover {
    border-color: var(--pd-accent, var(--secondary, #17539b));
    background: rgba(23, 83, 155, 0.03);
}

.pd-review-upload__trigger {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    min-width: 0;
    flex: 1;
    padding: 0;
    border: 0;
    background: transparent;
    text-align: left;
    cursor: pointer;
}

.pd-review-upload__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    flex-shrink: 0;
    padding: 0.45rem 0.9rem;
    border: 1px solid var(--pd-accent, var(--secondary, #17539b));
    border-radius: 8px;
    background: #fff;
    color: var(--pd-accent, var(--secondary, #17539b));
    font-size: 0.8rem;
    font-weight: 600;
    line-height: 1.2;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.pd-review-upload__btn i {
    font-size: 0.95rem;
    line-height: 1;
}

.pd-review-upload__btn:hover,
.pd-review-upload__btn:focus-visible {
    background: var(--pd-accent, var(--secondary, #17539b));
    color: #fff;
    outline: none;
}

.pd-review-upload__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(23, 83, 155, 0.1);
    color: var(--pd-accent, var(--secondary, #17539b));
    font-size: 1.25rem;
    flex-shrink: 0;
}

.pd-review-upload__text {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    min-width: 0;
}

.pd-review-upload__text strong {
    font-size: 0.9rem;
    color: #111827;
    font-weight: 600;
}

.pd-review-upload__text small {
    font-size: 0.78rem;
    color: #6b7280;
}

.pd-review-upload__filename {
    display: block;
    margin-top: 0.45rem;
    font-size: 0.8rem;
    color: var(--pd-accent, var(--secondary, #17539b));
    font-weight: 500;
}

.pd-review-rating-card {
    margin-top: 1rem;
    padding: 1rem 1rem 0.85rem;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #fff;
}

.pd-review-chili-picker {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.65rem;
}

.pd-review-chili-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    min-width: 58px;
    padding: 0.45rem 0.35rem;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #f9fafb;
    cursor: pointer;
    transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}

.pd-review-chili-option:hover {
    border-color: #cbd5e1;
    background: #fff;
}

.pd-review-chili-option.is-selected {
    border-color: var(--pd-accent, var(--secondary, #17539b));
    background: rgba(23, 83, 155, 0.06);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(23, 83, 155, 0.12);
}

.pd-review-chili-option .chili-icon {
    height: 40px;
    width: auto;
    opacity: 0.45;
    transition: opacity 0.15s ease, transform 0.15s ease;
}

.pd-review-chili-option.is-selected .chili-icon {
    opacity: 1;
    transform: scale(1.08);
}

.pd-review-chili-option__num {
    font-size: 0.75rem;
    font-weight: 600;
    color: #6b7280;
}

.pd-review-chili-option.is-selected .pd-review-chili-option__num {
    color: var(--pd-accent, var(--secondary, #17539b));
}

.pd-review-modal__actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.75rem;
    margin-top: 1.35rem;
    padding-top: 1.15rem;
    border-top: 1px solid #e5e7eb;
}

.pd-review-modal__cancel {
    padding: 0.65rem 1.1rem;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    background: #fff;
    color: #4b5563;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease;
}

.pd-review-modal__cancel:hover {
    background: #f3f4f6;
    border-color: #9ca3af;
}

.pd-review-modal__submit.theme_btn {
    width: auto;
    min-width: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.7rem 1.35rem;
    font-size: 0.92rem;
    border-radius: 10px;
    flex-shrink: 0;
    white-space: nowrap;
    color: #fff;
}

.pd-review-modal__submit.theme_btn span {
    position: relative;
    margin-left: 0.4rem;
    min-width: 1rem;
    height: 1rem;
    display: inline-flex;
    align-items: center;
    vertical-align: middle;
}

.pd-review-modal__submit.theme_btn span i {
    font-size: 1rem;
    color: #fff;
}

.pd-review-modal__submit.theme_btn:hover {
    color: var(--primary, #c9b290);
}

.pd-review-modal__submit.theme_btn:hover span i {
    color: var(--primary, #c9b290);
}

.pd-review-modal__submit.theme_btn #pdReviewSubmitLoader {
    margin-left: 0.4rem;
    font-size: 1.1rem;
    color: #fff;
    vertical-align: middle;
}

.pd-review-modal__submit.theme_btn.is-loading span {
    display: none;
}

.pd-review-modal__submit.theme_btn.is-loading:hover {
    color: #fff;
}

.pd-review-modal__submit.theme_btn.is-loading:hover #pdReviewSubmitLoader {
    color: #fff;
}

.pd-review-modal__submit.theme_btn:disabled {
    opacity: 0.85;
    cursor: wait;
}

@media (max-width: 575px) {
    .pd-review-modal__header,
    .pd-review-modal__body {
        padding-left: 1.1rem;
        padding-right: 1.1rem;
    }

    .pd-review-modal__actions {
        flex-direction: column-reverse;
        align-items: stretch;
    }

    .pd-review-modal__cancel {
        width: 100%;
    }

    .pd-review-modal__submit.theme_btn {
        width: 100%;
    }

    .pd-review-upload__box {
        flex-direction: column;
        align-items: stretch;
    }

    .pd-review-upload__btn {
        width: 100%;
        justify-content: center;
    }

    .pd-review-chili-option {
        min-width: 52px;
    }
}
