.single-hero {
    position: relative;
    min-height: 76vh;
    display: flex;
    align-items: center;
    color: #ffffff;
    overflow: hidden;
    background: #0f172a;
}

.single-hero-slides {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.single-hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1.15s ease;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.single-hero-slide.is-active {
    opacity: 1;
}

.single-hero-slide:first-child {
    background-image: linear-gradient(140deg, #0f172a 0%, #1d3557 52%, #2a9d8f 100%);
}

.single-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(120deg, rgba(2, 6, 23, 0.82) 10%, rgba(2, 6, 23, 0.62) 58%, rgba(2, 6, 23, 0.72) 100%);
}

.single-hero-content {
    position: relative;
    z-index: 2;
    opacity: 0;
    transform: translateY(28px);
}

.single-hero-content.is-visible {
    animation: singleHeroRise 1s ease forwards;
}


.amenityIcon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.5rem;
    height: 1.5rem;
    margin-right: 0.45rem;
    vertical-align: middle;
}

i.amenityIcon {
    font-size: 1.125rem;
    line-height: 1;
}

span.amenityIcon {
    width: 1.5rem;
    height: 1.5rem;
}

span.amenityIcon > img.amenityIcon {
    display: block;
    width: 1.5rem;
    height: 1.5rem;
}

.gallery-amenities-hub {
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.gallery-amenities-shell {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 1.15rem;
    box-shadow: 0 22px 45px -34px rgba(15, 23, 42, 0.45);
}

.gallery-category-nav-horizontal {
    gap: 0.5rem;
    justify-content: center;
}

.gallery-category-nav-horizontal .nav-link {
    border: 1px solid #d1d5db;
    border-radius: 0.65rem;
    color: #0f172a;
    background: #ffffff;
    font-weight: 700;
    text-align: center;
    padding: 0.8rem 2.4rem;
}

.gallery-category-nav-horizontal .nav-link.active {
    background: #0f172a;
    color: #ffffff;
    border-color: #0f172a;
}

.gallery-pane-card {
    border: 1px solid #e5e7eb;
    border-radius: 1rem;
    padding: 0.9rem;
    background: #ffffff;
}

.gallery-featured-link {
    display: block;
    border-radius: 0.9rem;
    overflow: hidden;
}

.gallery-featured-image {
    width: 100%;
    min-height: 640px;
    object-fit: cover;
    display: block;
}

.gallery-thumb-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 0.6rem;
}

.gallery-thumb-button {
    display: block;
    border: 2px solid transparent;
    border-radius: 0.75rem;
    overflow: hidden;
    padding: 0;
    background: #ffffff;
    line-height: 0;
}

.gallery-thumb-button.is-active {
    border-color: #0f172a;
}

.gallery-thumb-button:hover {
    border-color: #64748b;
}

.gallery-category-accordion .accordion-button {
    font-weight: 700;
}

.gallery-category-accordion .accordion-body {
    padding: 0.9rem;
}

.gallery-mobile .gallery-thumb-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.gallery-mobile .gallery-featured-image {
    height: 240px;
}

.gallery-mobile .gallery-thumb-image {
    height: 90px;
}

.gallery-mobile .gallery-pane-card {
    border: 0;
    border-radius: 0;
    padding: 0;
}

.gallery-thumb-link {
    display: block;
    border-radius: 0.75rem;
    overflow: hidden;
}

.gallery-thumb-image {
    width: 100%;
    height: 100px;
    object-fit: cover;
    display: block;
}

.amenities-wide-panel {
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.amenity-mosaic-grid {
    column-count: 1;
    column-gap: 0.9rem;
}

.amenity-group-card {
    border: 1px solid #e5e7eb;
    border-radius: 0.8rem;
    background: #ffffff;
    padding: 0.85rem;
    display: inline-block;
    width: 100%;
    margin: 0 0 0.9rem;
    break-inside: avoid;
    -webkit-column-break-inside: avoid;
}

.amenity-count {
    font-size: 0.8rem;
    background: #0f172a;
    color: #ffffff;
    border-radius: 999px;
    line-height: 1;
    padding: 0.25rem 0.5rem;
}

.amenity-chip-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.5rem;
}

.amenity-chip {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.55rem 0.65rem;
    border-radius: 0.65rem;
    background: #f8fafc;
    font-size: 1rem;
    font-weight: 600;
    color: #0f172a;
}

@keyframes singleHeroRise {
    from {
        opacity: 0;
        transform: translateY(28px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.single-hero-kicker {
    display: inline-block;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.35);
    font-weight: 700;
    letter-spacing: 0.02em;
}

.single-hero-description {
    max-width: 52ch;
}

.single-hero .btn-outline-light {
    border-width: 2px;
}

.single-details-tabs {
    position: relative;
    z-index: 3;
}

.single-main-tabs {
    border-bottom: 0;
    gap: 0;
    margin-bottom: 0;
}

.single-main-tabs .nav-link {
    color: #0f172a;
    font-weight: 700;
    font-size: 1.2rem;
    line-height: 1.2;
    border: 1px solid #bfc7d1;
    border-bottom: 0;
    border-radius: 0;
    background: #e8edf3;
    padding: 1rem 4rem;
}

.single-main-tabs .nav-item + .nav-item .nav-link {
    margin-left: -1px;
}

.single-main-tabs .nav-link.active {
    background: #ffffff;
    color: #0f172a;
    border-color: #bfc7d1;
}

.single-main-tab-content {
    background: #ffffff;
    border: 1px solid #bfc7d1;
    border-radius: 0;
    padding: 1.5rem 1rem 1rem;
}

.single-hero-stat-card {
    background: rgba(9, 15, 32, 0.52);
    border-color: rgba(255, 255, 255, 0.25);
}

.single-hero-stat-title {
    color: rgba(255, 255, 255, 0.92);
}

.single-snapshot-property-name {
    color: #0f172a;
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 1.35;
}

.guest-stepper {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) 48px;
    gap: 0.6rem;
    align-items: center;
}

.guest-stepper-btn {
    border: 1px solid #cbd5e1;
    background: #f8fafc;
    color: #0f172a;
    border-radius: 999px;
    width: 48px;
    height: 48px;
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1;
}

.guest-stepper-btn:hover {
    background: #e2e8f0;
}

.guest-stepper-input {
    text-align: center;
    font-weight: 700;
    font-size: 1.05rem;
}

.guest-stepper-input::-webkit-outer-spin-button,
.guest-stepper-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.guest-stepper-input[type='number'] {
    appearance: textfield;
    -moz-appearance: textfield;
}

.availability-checker-message {
    margin-bottom: 0;
}

.contact-inquiry-message {
    margin-bottom: 1rem;
}

.contact-honeypot-trap {
    position: absolute !important;
    left: -10000px !important;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.flatpickr-day.flatpickr-disabled,
.flatpickr-day.flatpickr-disabled:hover {
    color: darksalmon;
}

@media (max-width: 991.98px) {
    .single-details-tabs {
        padding-top: 1rem;
    }

    .single-hero {
        min-height: 68vh;
        padding-top: 0.75rem;
        padding-bottom: 0.75rem;
    }

    .gallery-featured-image {
        height: 250px;
    }

    .gallery-thumb-image {
        height: 108px;
    }
}

@media (min-width: 992px) {
    .single-details-tabs {
        margin-top: -55px;
        padding-top: 0;
    }

    .amenity-mosaic-grid {
        column-count: 2;
    }
}

@media (min-width: 1400px) {
    .amenity-mosaic-grid {
        column-count: 3;
    }
}

@media (max-width: 575.98px) {
    .single-hero {
        min-height: 62vh;
    }

    .gallery-pane-card {
        padding: 0.7rem;
    }

    .gallery-featured-image {
        height: 220px;
    }

    .gallery-mobile .gallery-thumb-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
