/*
 * Native PHP responsive fixes
 *
 * This file is intentionally loaded after the Laravel styles.  It only fixes
 * layout collisions introduced while porting the Blade views to plain PHP;
 * colours, typography and component styling continue to come from Laravel.
 */

/* Flex and grid children must be allowed to shrink inside the page width. */
.main-header .header-inner,
.main-header .main-nav,
.rez-create-page .rez-container,
.rez-create-page .rez-layout,
.rez-create-page .rez-main,
.rez-create-page .rez-sidebar,
.rez-create-page .form-row,
.rez-create-page .form-group {
    min-width: 0;
}

.rez-create-page input,
.rez-create-page select,
.rez-create-page textarea {
    max-width: 100%;
}

/* Data-dependent public states that were styled only inside Blade templates. */
.results-section > .container > .empty-state {
    padding: 64px 24px;
    text-align: center;
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: 24px;
}

.results-section > .container > .empty-state > i {
    display: inline-flex;
    width: 72px;
    height: 72px;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
    color: var(--primary);
    background: rgba(107, 78, 158, 0.09);
    border-radius: 50%;
    font-size: 30px;
}

.results-section > .container > .empty-state h2 {
    margin-bottom: 8px;
    color: var(--gray-900);
    font-size: 24px;
}

.results-section > .container > .empty-state p {
    margin-bottom: 24px;
    color: var(--gray-500);
}

.results-section .center-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.gallery-grid-airbnb .gallery-placeholder {
    display: flex;
    width: 100%;
    height: 100%;
    min-height: 300px;
    align-items: center;
    justify-content: center;
    color: var(--gray-300);
    background: var(--gray-100);
    font-size: 48px;
}

.listing-page .price-per {
    color: var(--gray-600);
    font-size: 16px;
}

.cnt-card .card-icon.phone {
    background: linear-gradient(135deg, #3b82f6 0%, #60a5fa 100%);
}

.cnt-card .card-icon.email {
    background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
}

.story-signature .sig-text {
    color: #6B4E9E;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* Keep the original desktop header on one line at laptop widths. */
@media (min-width: 769px) and (max-width: 1180px) {
    .main-header .container {
        padding-inline: 18px;
    }

    .main-header .header-inner {
        gap: 14px;
    }

    .main-header .logo,
    .main-header .header-cta {
        flex: 0 0 auto;
    }

    .main-header .logo-img {
        height: 108px;
    }

    .main-header .nav-list {
        gap: clamp(10px, 1.45vw, 18px);
    }

    .main-header .nav-list a {
        font-size: 13px;
        white-space: nowrap;
    }

    .main-header .header-cta {
        gap: 7px;
    }

    .main-header .header-cta .btn {
        height: 38px;
        padding-inline: 10px;
        font-size: 12px;
        white-space: nowrap;
    }
}

/* Preserve both header actions on narrow tablets without letting them collide. */
@media (min-width: 769px) and (max-width: 900px) {
    .main-header .header-cta .btn-outline-light {
        width: 38px;
        flex: 0 0 38px;
        padding-inline: 0;
        font-size: 0;
    }

    .main-header .header-cta .btn-outline-light i {
        margin: 0;
        font-size: 13px;
    }
}

/* The Laravel parity rule was more specific than the original 1100px rule. */
@media (max-width: 1100px) {
    .rez-create-page .rez-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 28px;
    }

    .rez-create-page .rez-main,
    .rez-create-page .rez-sidebar,
    .rez-create-page .form-card,
    .rez-create-page .summary-card {
        width: 100%;
        min-width: 0;
    }

    .rez-create-page .rez-sidebar {
        position: static;
    }
}

@media (max-width: 768px) {
    .rez-create-page .rez-title {
        font-size: clamp(28px, 7.7vw, 30px);
        line-height: 1.2;
        letter-spacing: -0.02em;
    }

    .search-box .search-btn {
        width: 100% !important;
        margin: 10px 0 0 !important;
    }

    .rez-create-page .summary-meta {
        flex-wrap: wrap;
    }

    .rez-create-page .extras-grid {
        grid-template-columns: minmax(0, 1fr);
        min-width: 0;
    }

    .rez-create-page .extra-item,
    .rez-create-page .extra-content,
    .rez-create-page .extra-info {
        min-width: 0;
    }

    .rez-create-page .extra-desc {
        overflow-wrap: anywhere;
    }

    .rez-create-page .form-row,
    .rez-create-page .form-row.three-cols {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* Homepage reservation band: compact, image-led and aligned with the site's
   restrained lavender visual language. */
.bungalov-card,
.bungalov-card:hover {
    box-shadow: none !important;
    transform: none !important;
}

.bungalov-card {
    transition: border-color 0.2s ease;
}

.bungalov-card .bungalov-image img,
.bungalov-card:hover .bungalov-image img {
    transform: none !important;
    transition: none;
}

.bungalov-card .bungalov-footer .btn,
.bungalov-card .bungalov-footer .btn:hover {
    box-shadow: none !important;
    transform: none !important;
}

/* Homepage: show the complete four-bungalow collection in one desktop row. */
#bungalovlar .bungalovs-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    max-width: none;
}

#bungalovlar .bungalov-card {
    border: 2px solid var(--primary);
    border-radius: 18px;
}

#bungalovlar .bungalov-content {
    padding: 20px;
}

#bungalovlar .bungalov-name {
    margin-bottom: 9px;
    font-size: 20px;
}

#bungalovlar .bungalov-desc {
    min-height: 60px;
    margin-bottom: 14px;
    font-size: 13px;
    line-height: 1.55;
}

#bungalovlar .bungalov-meta {
    flex-wrap: wrap;
    gap: 7px 11px;
    margin-bottom: 13px;
    padding: 11px 0;
}

#bungalovlar .bungalov-meta span {
    gap: 4px;
    font-size: 11px;
}

#bungalovlar .bungalov-features {
    gap: 6px;
    margin-bottom: 16px;
}

#bungalovlar .feature-tag {
    width: 31px;
    height: 31px;
    border-radius: 8px;
    font-size: 12px;
}

#bungalovlar .bungalov-footer {
    gap: 8px;
}

#bungalovlar .price-value {
    font-size: 21px;
}

#bungalovlar .bungalov-footer .btn {
    padding: 10px 13px;
    font-size: 12px;
    white-space: nowrap;
}

@media (max-width: 900px) and (min-width: 769px) {
    #bungalovlar .bungalovs-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        max-width: 760px;
    }
}

@media (max-width: 768px) {
    #bungalovlar .bungalovs-grid {
        grid-template-columns: minmax(0, 1fr) !important;
    }

    #bungalovlar .bungalov-desc {
        min-height: 0;
    }
}

.hero .hero-cta .btn,
.hero .hero-cta .btn:hover {
    box-shadow: none !important;
    transform: none !important;
}

.main-header .header-cta .btn,
.main-header .header-cta .btn:hover {
    box-shadow: none !important;
    transform: none !important;
}

.cta-section {
    display: flex;
    min-height: 470px;
    align-items: center;
    padding: 88px 0;
    background: #15111a;
    box-shadow:
        inset 0 1px rgba(255, 255, 255, 0.06),
        inset 0 -2px rgba(107, 78, 158, 0.7);
}

.cta-section > .container {
    width: 100%;
}

.cta-bg img {
    object-position: center 56%;
    transform: scale(1.01);
    filter: saturate(0.88) contrast(1.03);
}

.cta-overlay {
    background:
        linear-gradient(90deg, rgba(15, 10, 20, 0.9) 0%, rgba(20, 13, 27, 0.77) 38%, rgba(17, 11, 22, 0.3) 70%, rgba(10, 7, 13, 0.2) 100%),
        linear-gradient(180deg, rgba(8, 6, 10, 0.12), rgba(8, 6, 10, 0.4));
}

.cta-content {
    max-width: 610px;
    margin: 0;
    text-align: left;
    text-shadow: none;
}

.cta-label {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 26px;
    padding: 9px 19px;
    border: 1px solid rgba(214, 199, 240, 0.28);
    background: rgba(75, 53, 105, 0.52);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
    color: #f4effc;
}

.cta-label::before {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--secondary);
    box-shadow: 0 0 0 4px rgba(232, 184, 109, 0.12);
    content: "";
}

.cta-content h2 {
    max-width: 590px;
    margin: 0 0 18px;
    font-size: clamp(38px, 4.5vw, 54px);
    line-height: 1.08;
    letter-spacing: -0.04em;
    text-wrap: normal;
}

.cta-content p {
    max-width: 520px;
    margin: 0 0 28px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 16px;
    line-height: 1.65;
    text-wrap: pretty;
}

.cta-buttons {
    justify-content: flex-start;
    gap: 10px;
}

.cta-buttons .btn-cta-primary,
.cta-buttons .btn-cta-whatsapp {
    min-height: 50px;
    justify-content: center;
    gap: 9px;
    padding: 11px 24px;
    border: 0;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 650;
    letter-spacing: -0.01em;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.cta-buttons .btn-cta-primary {
    background: #7656a2;
    color: #fff;
}

.cta-buttons .btn-cta-whatsapp {
    background: #20bd61;
    color: #fff;
    backdrop-filter: none;
}

.cta-buttons .btn-cta-primary i,
.cta-buttons .btn-cta-whatsapp i {
    display: inline-flex;
    width: auto;
    height: auto;
    align-items: center;
    justify-content: center;
    border-radius: 0;
    background: transparent;
    font-size: 15px;
}

.cta-buttons .btn-cta-primary i {
    background: transparent;
    color: #fff;
}

.cta-buttons .btn-cta-whatsapp i {
    background: transparent;
    color: #fff;
}

.cta-buttons .btn-cta-primary:hover {
    background: #8464ad;
    color: #fff;
}

.cta-buttons .btn-cta-whatsapp:hover {
    background: #25c969;
}

.cta-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 22px;
    margin-top: 25px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 12px;
    font-weight: 500;
}

.cta-highlights span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.cta-highlights i {
    color: #c4acd9;
    font-size: 11px;
}

.cta-buttons a:focus-visible {
    outline: 3px solid rgba(255, 255, 255, 0.82);
    outline-offset: 4px;
}

@media (max-width: 768px) {
    .cta-section {
        min-height: auto;
        padding: 72px 0;
    }

    .cta-section .container {
        padding-inline: 20px;
    }

    .cta-content h2 {
        margin-bottom: 17px;
        font-size: clamp(30px, 9vw, 40px);
        line-height: 1.16;
    }

    .cta-content {
        max-width: 540px;
    }

    .cta-content p {
        margin-bottom: 30px;
        font-size: 15px;
        line-height: 1.65;
    }

    .cta-buttons {
        max-width: 380px !important;
        margin: 0 !important;
    }

    .cta-buttons .btn-cta-primary,
    .cta-buttons .btn-cta-whatsapp {
        width: 100%;
        min-height: 55px;
        padding: 12px 24px 12px 16px;
    }

    .cta-highlights {
        max-width: 360px;
        gap: 9px 16px;
        margin-top: 22px;
    }
}

@media (max-width: 420px) {
    .cta-section {
        padding: 66px 0;
    }

    .cta-label {
        margin-bottom: 21px;
        padding: 8px 15px;
        font-size: 10px;
        letter-spacing: 1.6px;
    }
}

/* Keep the CTA actions crisp: no inherited text glow or outer button shadow. */
.cta-buttons .btn-cta-primary,
.cta-buttons .btn-cta-whatsapp,
.cta-buttons .btn-cta-primary:hover,
.cta-buttons .btn-cta-whatsapp:hover {
    box-shadow: none;
    filter: none;
    text-shadow: none;
    transform: none;
}

/* Site footer — a distinct, calm closing surface that uses the same lavender
   palette as the header, buttons and page accents. */
.site-footer {
    position: relative;
    overflow: hidden;
    border-top: 0;
    background: #fff;
    color: var(--gray-600);
}

.site-footer::before {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, #5a3e8a, #9b7ac4 50%, #5a3e8a);
    content: "";
}

.site-footer .footer-main {
    padding: 58px 0 44px;
}

.site-footer .footer-top {
    display: grid;
    grid-template-columns: 250px minmax(0, 1fr);
    gap: clamp(34px, 4vw, 48px);
    align-items: center;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--gray-200);
}

.site-footer .footer-brand {
    min-width: 0;
}

.site-footer .footer-logo-link {
    position: relative;
    display: inline-block;
    width: 170px;
    height: 50px;
    overflow: hidden;
    margin-bottom: 18px;
}

.site-footer .footer-logo-img {
    position: absolute;
    top: 50%;
    left: -26px;
    width: 205px;
    max-width: none;
    height: auto;
    filter: none;
    opacity: 1;
    transform: translateY(-50%);
}

.site-footer .footer-slogan {
    margin: 0 0 11px;
    color: var(--gray-900);
    font-size: 23px;
    font-weight: 650;
    line-height: 1.3;
    letter-spacing: -0.025em;
}

.site-footer .footer-desc {
    max-width: 390px;
    margin: 0;
    color: var(--gray-500);
    font-size: 13px;
    line-height: 1.75;
}

.site-footer .footer-contact-block {
    min-width: 0;
    padding-left: 24px;
}

.site-footer .footer-contact-title {
    position: relative;
    margin: 0 0 14px;
    padding-bottom: 10px;
    color: var(--gray-900);
    font-size: 14px;
    font-weight: 600;
}

.site-footer .footer-contact-title::after {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 24px;
    height: 2px;
    border-radius: 2px;
    background: #8f6ab7;
    content: "";
}

.site-footer .footer-contact-grid {
    display: grid;
    min-width: 0;
    grid-template-columns: minmax(190px, 0.9fr) minmax(255px, 1.2fr) minmax(215px, 1fr);
    gap: 14px;
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
}

.site-footer .footer-contact-item {
    display: flex;
    min-width: 0;
    min-height: 44px;
    align-items: center;
    gap: 13px;
    margin: 0;
    padding: 3px 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: inherit;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.site-footer a.footer-contact-item {
    transition: background-color 0.2s ease;
}

.site-footer a.footer-contact-item:hover {
    border-color: transparent;
    background: transparent;
}

.site-footer .footer-contact-phone {
    grid-column: auto;
    border-color: transparent;
    background: transparent;
}

.site-footer .footer-contact-item:nth-child(2) {
    border-right: 0;
}

.site-footer a.footer-contact-phone:hover {
    border-color: transparent;
    background: transparent;
}

.site-footer .footer-contact-icon {
    display: inline-flex;
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    align-items: center;
    justify-content: center;
    margin: 0;
    border-radius: 50%;
    background: #f3eef7;
    color: var(--primary);
    font-size: 14px;
}

.site-footer .footer-contact-copy {
    display: block;
    min-width: 0;
    margin: 0;
}

.site-footer .footer-contact-copy small {
    display: block;
    margin: 0 0 3px;
    color: var(--primary);
    font-size: 9px;
    font-weight: 650;
    letter-spacing: 0.1em;
    line-height: 1.3;
    text-transform: uppercase;
}

.site-footer .footer-contact-copy strong,
.site-footer .footer-contact-copy > span {
    display: block;
    margin: 0;
    color: var(--gray-700);
    font-size: 13px;
    font-weight: 500;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

.site-footer .footer-contact-copy strong {
    color: var(--gray-900);
    font-size: 17px;
    font-weight: 700;
}

.site-footer .footer-contact-phone strong,
.site-footer .footer-contact-item:last-child .footer-contact-copy > span {
    white-space: nowrap;
}

.site-footer .footer-contact-item:last-child .footer-contact-copy > span {
    font-size: 12px;
}

.site-footer .footer-contact-phone .footer-contact-icon {
    background: #f2edf6;
    color: var(--primary);
}

.site-footer .footer-contact-phone .footer-contact-copy small {
    color: var(--primary);
}

.site-footer .footer-contact-phone .footer-contact-copy strong {
    color: var(--primary);
    font-weight: 500;
}

.site-footer .footer-links-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: clamp(20px, 3vw, 44px);
    padding-top: 38px;
}

.site-footer .footer-links-col,
.site-footer .footer-trust-col {
    min-width: 0;
}

.site-footer .footer-links-col h4,
.site-footer .footer-trust-col h4 {
    position: relative;
    margin: 0 0 19px;
    padding-bottom: 11px;
    color: var(--gray-900);
    font-size: 14px;
    font-weight: 600;
}

.site-footer .footer-links-col h4::after,
.site-footer .footer-trust-col h4::after {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 24px;
    height: 2px;
    border-radius: 2px;
    background: #8f6ab7;
    content: "";
}

.site-footer .footer-links-col ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 0;
    padding: 0;
}

.site-footer .footer-links-col ul li {
    margin: 0;
}

.site-footer .footer-links-col ul li a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    padding: 0;
    color: var(--gray-500);
    font-size: 12px;
    line-height: 1.5;
}

.site-footer .footer-links-col ul li a:hover {
    padding: 0;
    color: var(--primary);
    transform: none;
}

.site-footer .footer-links-col ul li a.view-all {
    color: #b99bd7;
    font-weight: 600;
}

.site-footer .footer-trust-col {
    display: block;
}

.site-footer .social-minimal {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.site-footer .social-btn {
    display: inline-flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    margin: 0;
    border: 1px solid var(--gray-200);
    border-radius: 11px;
    background: #fff;
    color: var(--primary);
    font-size: 15px;
    box-shadow: none;
}

.site-footer .social-btn:hover {
    border-color: var(--primary);
    background: var(--primary);
    color: #fff;
    transform: translateY(-2px);
}

.site-footer .footer-bottom {
    margin: 0;
    padding: 18px 0;
    border-top: 1px solid var(--gray-200);
    background: var(--gray-50);
}

.site-footer .bottom-content {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.site-footer .copyright p,
.site-footer .footer-signature a {
    margin: 0;
    color: var(--gray-500);
    font-size: 12px;
}

.site-footer .footer-signature a:hover {
    color: var(--primary);
}

@media (max-width: 1000px) {
    .site-footer .footer-top {
        grid-template-columns: 220px minmax(0, 1fr);
        gap: 32px;
    }

    .site-footer .footer-contact-block {
        padding-left: 12px;
    }

    .site-footer .footer-links-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .site-footer {
        padding-bottom: 0 !important;
    }

    .site-footer .footer-main {
        padding: 48px 0 38px !important;
    }

    .site-footer .footer-top {
        grid-template-columns: minmax(0, 1fr);
        gap: 28px;
        padding-bottom: 34px;
    }

    .site-footer .footer-brand {
        text-align: center;
    }

    .site-footer .footer-desc {
        max-width: 520px !important;
        margin: 0 auto !important;
        color: var(--gray-500);
    }

    .site-footer .footer-contact-grid {
        grid-template-columns: minmax(0, 1fr);
        width: min(100%, 620px);
        margin-inline: auto;
    }

    .site-footer .footer-contact-block {
        width: min(100%, 620px);
        margin-inline: auto;
        padding-left: 0;
    }

    .site-footer .footer-contact-item {
        justify-content: flex-start !important;
    }

    .site-footer .footer-links-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 34px 28px;
        padding-top: 34px;
    }

    .site-footer .footer-links-col,
    .site-footer .footer-trust-col {
        text-align: left !important;
    }

    .site-footer .footer-links-col h4::after,
    .site-footer .footer-trust-col h4::after {
        left: 0 !important;
        transform: none !important;
    }

    .site-footer .footer-links-col ul li {
        margin: 0 !important;
    }

    .site-footer .footer-links-col ul li a {
        min-height: 34px;
        justify-content: flex-start !important;
        padding-block: 5px;
        color: var(--gray-500);
        font-size: 13px !important;
    }

    .site-footer .social-minimal {
        justify-content: flex-start !important;
    }

    .site-footer .footer-bottom {
        padding: 18px 0 !important;
    }

    .site-footer .bottom-content {
        flex-direction: column !important;
        gap: 8px !important;
        text-align: center !important;
    }
}

@media (max-width: 560px) {
    .site-footer .footer-contact-grid,
    .site-footer .footer-links-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .site-footer .footer-contact-phone {
        grid-column: auto;
    }

    .site-footer .footer-contact-item {
        min-height: 48px;
        border: 0 !important;
        border-bottom: 0 !important;
    }

    .site-footer .footer-contact-item:last-child {
        border-bottom: 0 !important;
    }

    .site-footer .footer-contact-phone,
    .site-footer .footer-contact-phone:last-child {
        border-color: transparent !important;
    }

    .site-footer .footer-links-col,
    .site-footer .footer-trust-col {
        text-align: center !important;
    }

    .site-footer .footer-links-col h4::after,
    .site-footer .footer-trust-col h4::after {
        left: 50% !important;
        transform: translateX(-50%) !important;
    }

    .site-footer .footer-links-col ul li a,
    .site-footer .social-minimal {
        justify-content: center !important;
    }
}

/* Bungalow detail pages: the Laravel look, completed for native PHP. */
.bungalow-detail-page {
    color: var(--gray-800);
}

.bungalow-detail-page .listing-header {
    padding: 22px 0 26px;
    border-bottom: 1px solid #ebe5f2;
    background: linear-gradient(115deg, #faf7fd 0%, #fff 70%);
}

.bungalow-detail-page .detail-back-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 17px;
    color: #7052a0;
    font-size: 12px;
    font-weight: 600;
}

.bungalow-detail-page .detail-back-link:hover {
    color: var(--primary);
    transform: none;
}

.bungalow-detail-page .detail-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 9px;
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(107, 78, 158, 0.09);
    color: var(--primary);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.bungalow-detail-page .detail-eyebrow i {
    font-size: 9px;
}

.bungalow-detail-page .detail-heading-copy {
    max-width: 720px;
}

.bungalow-detail-page .listing-header h1 {
    color: var(--gray-900);
    font-size: clamp(27px, 3vw, 36px);
    font-weight: 700;
    letter-spacing: -0.7px;
}

.bungalow-detail-page .detail-header-summary {
    max-width: 670px;
    margin: 8px 0 0;
    color: var(--gray-500);
    font-size: 13px;
    line-height: 1.65;
}

.bungalow-detail-page .listing-actions {
    align-items: center;
    gap: 10px;
    padding-bottom: 2px;
}

.bungalow-detail-page .action-btn {
    min-height: 44px;
    padding: 10px 17px;
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    background: #fff;
    color: var(--gray-700);
    font-size: 13px;
    font-weight: 600;
    box-shadow: none;
}

.bungalow-detail-page .action-btn:hover {
    border-color: var(--primary);
    background: #fff;
    color: var(--primary);
    transform: none;
}

.bungalow-detail-page .action-btn-primary {
    border-color: var(--primary);
    background: var(--primary);
    color: #fff;
}

.bungalow-detail-page .action-btn-primary:hover {
    background: var(--primary);
    color: #fff;
}

.bungalow-detail-page .detail-share-status {
    min-height: 0;
    margin: 0;
    color: var(--primary);
    font-size: 12px;
    text-align: right;
}

.bungalow-detail-page .listing-gallery {
    padding: 18px 0 8px;
}

.bungalow-detail-page .gallery-grid-airbnb {
    width: 100%;
    /* Portrait originals must not expand the grid beyond its fixed preview height. */
    grid-template-rows: minmax(0, 1fr);
    height: 460px;
    max-height: 460px;
    border-radius: 18px;
    background: var(--gray-100);
}

.bungalow-detail-page .gallery-grid-airbnb::after {
    position: absolute;
    z-index: 2;
    inset: 0;
    background: linear-gradient(180deg, rgba(10, 12, 18, 0.46) 0%, rgba(10, 12, 18, 0.03) 35%, rgba(10, 12, 18, 0.08) 54%, rgba(10, 12, 18, 0.8) 100%);
    content: "";
    pointer-events: none;
}

.bungalow-detail-page .detail-gallery-top {
    position: absolute;
    z-index: 4;
    top: 22px;
    right: 22px;
    left: 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    pointer-events: none;
}

.bungalow-detail-page .detail-gallery-back {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    gap: 8px;
    padding: 9px 14px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 11px;
    background: rgba(20, 18, 24, 0.42);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    pointer-events: auto;
}

.bungalow-detail-page .detail-gallery-back:hover {
    border-color: rgba(255, 255, 255, 0.75);
    background: rgba(20, 18, 24, 0.52);
    color: #fff;
    transform: none;
}

.bungalow-detail-page .detail-gallery-top .listing-actions {
    padding: 0;
    pointer-events: auto;
}

.bungalow-detail-page .detail-gallery-top .action-btn {
    border-color: rgba(255, 255, 255, 0.7);
    background: rgba(255, 255, 255, 0.94);
    color: var(--gray-800);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.bungalow-detail-page .detail-gallery-top .action-btn:hover {
    border-color: #fff;
    background: #fff;
    color: var(--primary);
}

.bungalow-detail-page .detail-gallery-top .action-btn-primary,
.bungalow-detail-page .detail-gallery-top .action-btn-primary:hover {
    border-color: var(--primary);
    background: var(--primary);
    color: #fff;
}

.bungalow-detail-page .detail-gallery-caption {
    position: absolute;
    z-index: 3;
    right: 24px;
    bottom: 24px;
    left: 24px;
    max-width: 68%;
    color: #fff;
    pointer-events: none;
}

.bungalow-detail-page .detail-gallery-caption .detail-eyebrow {
    margin-bottom: 10px;
    background: rgba(255, 255, 255, 0.16);
    color: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);
}

.bungalow-detail-page .detail-gallery-caption h1 {
    margin: 0;
    color: #fff;
    font-size: clamp(34px, 4.2vw, 50px);
    font-weight: 750;
    letter-spacing: -1.1px;
    line-height: 1.08;
}

.bungalow-detail-page .detail-gallery-caption .detail-header-summary {
    max-width: 650px;
    margin-top: 9px;
    color: rgba(255, 255, 255, 0.86);
    font-size: 13px;
}

.bungalow-detail-page .detail-gallery-caption .detail-share-status {
    color: #fff;
    text-align: left;
}

.bungalow-detail-page .promo-ribbon {
    z-index: 4;
    top: 78px;
}

.bungalow-detail-page .gallery-grid-airbnb.single-photo {
    display: block;
    height: min(52vw, 540px);
    max-height: 540px;
}

.bungalow-detail-page .gallery-grid-airbnb.single-photo .gallery-main {
    width: 100%;
    height: 100%;
}

.bungalow-detail-page .gallery-main,
.bungalow-detail-page .gallery-thumb {
    display: block;
    background: var(--gray-100);
}

.bungalow-detail-page .gallery-main,
.bungalow-detail-page .gallery-thumb,
.bungalow-detail-page .gallery-side {
    min-width: 0;
    min-height: 0;
}

.bungalow-detail-page .gallery-main img,
.bungalow-detail-page .gallery-thumb img,
.bungalow-detail-page .gallery-main:hover img,
.bungalow-detail-page .gallery-thumb:hover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 1;
    transform: none;
}

.bungalow-detail-page .gallery-side-1 {
    grid-template-columns: 1fr;
    grid-template-rows: minmax(0, 1fr);
}

.bungalow-detail-page .gallery-side-2 {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(2, minmax(0, 1fr));
}

.bungalow-detail-page .gallery-side-3,
.bungalow-detail-page .gallery-side-4 {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, minmax(0, 1fr));
}

.bungalow-detail-page .gallery-side-3 .gallery-thumb:first-child {
    grid-row: span 2;
}

.bungalow-detail-page .show-all-btn,
.bungalow-detail-page .show-all-btn-mobile {
    border-color: rgba(17, 24, 39, 0.72);
    box-shadow: none;
}

.bungalow-detail-page .show-all-btn {
    z-index: 4;
    right: 24px;
    bottom: 24px;
    left: auto;
}

.bungalow-detail-page .gallery-hidden-links {
    display: none;
}

.bungalow-detail-page .show-all-btn:hover,
.bungalow-detail-page .show-all-btn-mobile:hover {
    background: #fff;
    color: var(--primary);
    transform: none;
}

.bungalow-detail-page .listing-content {
    padding: 46px 0 74px;
}

.bungalow-detail-page .content-layout {
    grid-template-columns: minmax(0, 1fr) 350px;
    gap: 54px;
}

.bungalow-detail-page .content-main {
    max-width: none;
    min-width: 0;
}

.bungalow-detail-page .quick-info-bar {
    display: grid;
    grid-template-columns: minmax(175px, 0.9fr) minmax(0, 1.7fr);
    align-items: center;
    gap: 20px;
    padding: 22px 24px;
    border: 1px solid #e9e2f1;
    border-radius: 16px;
    background: #fff;
}

.bungalow-detail-page .host-type {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
}

.bungalow-detail-page .host-type span:first-child {
    color: var(--gray-900);
    font-size: 20px;
    font-weight: 650;
    line-height: 1.35;
}

.bungalow-detail-page .location-sub {
    margin: 0;
    color: var(--primary) !important;
    font-size: 10px !important;
    font-weight: 700;
    letter-spacing: 0.7px;
    text-transform: uppercase;
}

.bungalow-detail-page .quick-specs {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    margin: 0;
}

.bungalow-detail-page .quick-specs span {
    display: flex;
    min-width: 0;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    min-height: 62px;
    padding: 6px 10px;
    border-left: 1px solid #ece6f2;
    border-radius: 0;
    background: transparent;
    color: var(--gray-600);
    font-size: 10px;
    line-height: 1.35;
    text-align: center;
}

.bungalow-detail-page .quick-specs i {
    display: inline-flex;
    width: 30px;
    height: 30px;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    background: #efe8f7;
    color: var(--primary);
    font-size: 12px;
}

.bungalow-detail-page .quick-info-bar + .section-divider {
    margin: 16px 0;
    border: 0;
}

.bungalow-detail-page .section-divider {
    margin: 30px 0;
    border-color: var(--gray-200);
}

.bungalow-detail-page .highlights-section {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    overflow: hidden;
    border: 1px solid var(--gray-200);
    border-radius: 16px;
    background: #fff;
}

.bungalow-detail-page .highlight-item {
    min-width: 0;
    gap: 11px;
    padding: 18px;
    border: 0;
    border-right: 1px solid var(--gray-200);
    border-radius: 0;
    background: transparent;
}

.bungalow-detail-page .highlight-item:last-child {
    border-right: 0;
}

.bungalow-detail-page .highlight-icon,
.bungalow-detail-page .amenity-icon,
.bungalow-detail-page .rule-icon {
    display: inline-flex;
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    background: #f3eef9;
    color: var(--primary);
    font-size: 14px;
}

.bungalow-detail-page .highlight-text strong {
    color: var(--gray-900);
    font-size: 12px;
    font-weight: 650;
}

.bungalow-detail-page .highlight-text span {
    margin-top: 3px;
    color: var(--gray-500);
    font-size: 10px;
    line-height: 1.5;
}

.bungalow-detail-page .description-section h2,
.bungalow-detail-page .amenities-section h2,
.bungalow-detail-page .rules-section h2,
.bungalow-detail-page .detail-extra-section h2 {
    margin: 0 0 20px;
    color: var(--gray-900);
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.3px;
}

.bungalow-detail-page .description-section .prose {
    color: var(--gray-600);
    font-size: 15px;
    line-height: 1.85;
}

.bungalow-detail-page .description-section .prose > :last-child {
    margin-bottom: 0;
}

.bungalow-detail-page .amenities-list,
.bungalow-detail-page .rules-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 11px;
}

.bungalow-detail-page .amenity-row,
.bungalow-detail-page .rule-row {
    min-height: 54px;
    gap: 11px;
    padding: 9px 11px;
    border: 1px solid var(--gray-200);
    border-radius: 11px;
    color: var(--gray-700);
    font-size: 13px;
}

.bungalow-detail-page .amenity-row > i,
.bungalow-detail-page .rule-row > i {
    display: none;
}

.bungalow-detail-page .amenities-section {
    padding: 0;
    border: 0;
    border-radius: 0;
    background: #fff;
}

.bungalow-detail-page .amenities-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 20px;
}

.bungalow-detail-page .amenities-eyebrow {
    display: block;
    margin-bottom: 4px;
    color: var(--primary);
    font-size: 9px;
    font-weight: 750;
    letter-spacing: 0.9px;
    text-transform: uppercase;
}

.bungalow-detail-page .amenities-heading h2 {
    margin: 0 0 5px;
}

.bungalow-detail-page .amenities-heading p {
    margin: 0;
    color: var(--gray-500);
    font-size: 11px;
    line-height: 1.55;
}

.bungalow-detail-page .amenities-count {
    flex: 0 0 auto;
    padding: 6px 10px;
    border-radius: 999px;
    background: #eee7f6;
    color: var(--primary);
    font-size: 10px;
    font-weight: 700;
}

.bungalow-detail-page .amenities-list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 9px;
}

.bungalow-detail-page .amenity-row {
    min-height: 82px;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    padding: 11px 8px;
    border: 1px solid #eee9f3;
    border-radius: 12px;
    background: #fff;
    color: var(--gray-700);
    font-size: 11px;
    font-weight: 550;
    line-height: 1.35;
    text-align: center;
}

.bungalow-detail-page .amenity-icon {
    width: 36px;
    height: 36px;
    flex-basis: 36px;
    border-radius: 10px;
    font-size: 14px;
}

.bungalow-detail-page .rules-heading {
    margin-bottom: 20px;
}

.bungalow-detail-page .rules-eyebrow {
    display: block;
    margin-bottom: 4px;
    color: var(--primary);
    font-size: 9px;
    font-weight: 750;
    letter-spacing: 0.9px;
    text-transform: uppercase;
}

.bungalow-detail-page .rules-heading h2 {
    margin: 0 0 5px;
}

.bungalow-detail-page .rules-heading p {
    margin: 0;
    color: var(--gray-500);
    font-size: 11px;
    line-height: 1.55;
}

.bungalow-detail-page .rules-list {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 9px;
}

.bungalow-detail-page .rules-list .rule-row {
    grid-column: span 2;
    min-height: 88px;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    padding: 12px 10px;
    border: 1px solid #eee9f3;
    border-radius: 12px;
    background: #fff;
    text-align: center;
}

.bungalow-detail-page .rules-list--five .rule-row:nth-child(4) {
    grid-column: 2 / span 2;
}

.bungalow-detail-page .rules-list--five .rule-row:nth-child(5) {
    grid-column: 4 / span 2;
}

.bungalow-detail-page .rules-list--four .rule-row {
    grid-column: span 3;
}

.bungalow-detail-page .rules-list .rule-icon {
    width: 36px;
    height: 36px;
    flex-basis: 36px;
    border-radius: 10px;
    font-size: 14px;
}

.bungalow-detail-page .rule-content {
    display: flex;
    min-width: 0;
    align-items: center;
    flex-direction: column;
    gap: 2px;
}

.bungalow-detail-page .rule-content small {
    color: var(--gray-500);
    font-size: 9px;
    font-weight: 650;
    letter-spacing: 0.25px;
    line-height: 1.3;
    text-transform: uppercase;
}

.bungalow-detail-page .rule-content strong {
    color: var(--gray-800);
    font-size: 11px;
    font-weight: 650;
    line-height: 1.35;
}

.bungalow-detail-page .booking-card {
    top: 96px;
    padding: 24px;
    border: 1px solid #ddd4e9;
    border-radius: 16px;
    box-shadow: none;
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.bungalow-detail-page .booking-card-title {
    margin-bottom: 16px;
    color: var(--gray-900);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: -0.25px;
}

.bungalow-detail-page .booking-header {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    margin-bottom: 18px;
    overflow: hidden;
    border: 1px solid #e6deed;
    border-radius: 11px;
    background: #fff;
}

.bungalow-detail-page .booking-price-option {
    display: flex;
    min-width: 0;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    padding: 12px 14px;
    line-height: 1.2;
    text-align: center;
}

.bungalow-detail-page .booking-price-option:first-child {
    border-right: 1px solid #e6deed;
}

.bungalow-detail-page .booking-price-option span {
    margin-bottom: 4px;
    color: var(--gray-500);
    font-size: 9px;
    font-weight: 600;
}

.bungalow-detail-page .booking-price-option strong {
    color: var(--gray-900);
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.45px;
}

.bungalow-detail-page .booking-price-option small {
    margin-top: 2px;
    color: var(--gray-400);
    font-size: 8.5px;
    font-weight: 400;
}

.bungalow-detail-page .booking-date-grid {
    border-color: #cfc6dc;
}

.bungalow-detail-page .booking-date-grid label + label,
.bungalow-detail-page .guest-field {
    border-color: #cfc6dc;
}

.bungalow-detail-page .booking-date-grid label,
.bungalow-detail-page .guest-field {
    background: #fff;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.25px;
}

.bungalow-detail-page .booking-date-grid input,
.bungalow-detail-page .guest-field select {
    min-width: 0;
    color: var(--gray-700);
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 0;
}

.bungalow-detail-page .booking-submit,
.bungalow-detail-page .detail-whatsapp-link {
    min-height: 48px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 10px;
    box-shadow: none;
    transform: none;
}

.bungalow-detail-page .booking-submit {
    display: flex;
    background: var(--primary);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: -0.1px;
}

.bungalow-detail-page .booking-submit:hover,
.bungalow-detail-page .detail-whatsapp-link:hover {
    box-shadow: none;
    transform: none;
}

.bungalow-detail-page .detail-whatsapp-link {
    display: flex;
    margin-top: 11px;
    padding: 12px;
    background: #16a34a;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: -0.05px;
}

.bungalow-detail-page .booking-note {
    margin: 13px 0 0;
    color: var(--gray-500);
    font-size: 11px;
    font-weight: 400;
}

.bungalow-detail-page .booking-assurance {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid var(--gray-200);
    color: var(--gray-500);
    font-size: 10px;
    font-weight: 400;
}

.bungalow-detail-page .booking-assurance i {
    color: #16a34a;
}

.bungalow-detail-page .detail-package-grid,
.bungalow-detail-page .detail-review-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.bungalow-detail-page .detail-package-grid article,
.bungalow-detail-page .detail-review-grid blockquote {
    margin: 0;
    padding: 18px;
    border: 1px solid var(--gray-200);
    border-radius: 13px;
    background: #fff;
}

.bungalow-detail-page .detail-package-grid article > span,
.bungalow-detail-page .rating-stars {
    color: var(--primary);
    font-size: 12px;
    font-weight: 700;
}

.bungalow-detail-page .detail-package-grid h3 {
    margin: 6px 0;
}

.bungalow-detail-page .detail-package-grid strong {
    display: block;
    color: var(--primary);
    font-size: 20px;
}

.bungalow-detail-page .detail-package-grid small {
    color: #16a34a;
}

.bungalow-detail-page .detail-review-grid footer {
    font-weight: 700;
}

.bungalow-detail-page .review-reply {
    margin-top: 12px;
    padding: 10px;
    border-radius: 9px;
    background: var(--gray-50);
    font-size: 12px;
}

.bungalow-detail-page .detail-faq-section .faq-list {
    display: grid;
    gap: 0;
    border-top: 1px solid #e9e3ef;
    border-bottom: 1px solid #e9e3ef;
}

.bungalow-detail-page .detail-faq-section details {
    margin: 0;
    border: 0;
    border-bottom: 1px solid #eee9f3;
    border-radius: 0;
    background: #fff;
}

.bungalow-detail-page .detail-faq-section details:last-child {
    border-bottom: 0;
}

.bungalow-detail-page .faq-heading {
    margin-bottom: 20px;
}

.bungalow-detail-page .faq-eyebrow {
    display: block;
    margin-bottom: 4px;
    color: var(--primary);
    font-size: 9px;
    font-weight: 750;
    letter-spacing: 0.9px;
    text-transform: uppercase;
}

.bungalow-detail-page .faq-heading h2 {
    margin: 0 0 5px;
}

.bungalow-detail-page .faq-heading p {
    margin: 0;
    color: var(--gray-500);
    font-size: 11px;
    line-height: 1.55;
}

.bungalow-detail-page .detail-faq-section summary {
    display: flex;
    min-height: 66px;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 13px 2px;
    color: var(--gray-900);
    font-size: 13.5px;
    font-weight: 700;
    letter-spacing: -0.1px;
    cursor: pointer;
    list-style: none;
}

.bungalow-detail-page .detail-faq-section summary::-webkit-details-marker {
    display: none;
}

.bungalow-detail-page .detail-faq-section summary::marker {
    content: "";
}

.bungalow-detail-page .faq-question-main {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 13px;
}

.bungalow-detail-page .faq-number {
    display: inline-flex;
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: #f3eef9;
    color: var(--primary);
    font-size: 10px;
    font-weight: 750;
}

.bungalow-detail-page .faq-toggle {
    display: inline-flex;
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
    align-items: center;
    justify-content: center;
    border: 1px solid #e4dbea;
    border-radius: 50%;
    color: var(--primary);
    font-size: 17px;
    line-height: 1;
}

.bungalow-detail-page .faq-toggle::before {
    content: "+";
}

.bungalow-detail-page .detail-faq-section details[open] .faq-toggle {
    border-color: var(--primary);
    background: var(--primary);
    color: #fff;
}

.bungalow-detail-page .detail-faq-section details[open] .faq-toggle::before {
    content: "−";
}

.bungalow-detail-page .detail-faq-section details[open] .faq-number {
    background: var(--primary);
    color: #fff;
}

.bungalow-detail-page .detail-faq-section details[open] summary {
    color: var(--gray-900);
}

.bungalow-detail-page .faq-answer {
    padding: 0 46px 18px;
}

.bungalow-detail-page .detail-faq-section details p {
    margin: 0;
    padding: 13px 15px;
    border: 0;
    border-radius: 10px;
    background: #faf8fc;
    color: #596171;
    font-size: 12.5px;
    font-weight: 450;
    letter-spacing: 0.02px;
    line-height: 1.75;
}

.bungalow-detail-page .detail-faq-section details p strong {
    color: var(--gray-900);
    font-weight: 750;
}

.bungalow-detail-page .related-stays {
    padding: 68px 0 74px;
    border-top: 1px solid var(--gray-200);
    background: #faf9fc;
}

.bungalow-detail-page .detail-related-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 30px;
    text-align: left;
}

.bungalow-detail-page .detail-related-header .section-tag {
    margin: 0 0 8px;
}

.bungalow-detail-page .detail-related-header .section-title {
    margin: 0;
    font-size: 31px;
}

.bungalow-detail-page .detail-view-all {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--primary);
    font-size: 13px;
    font-weight: 650;
}

.bungalow-detail-page .detail-view-all:hover {
    color: var(--primary-dark);
    transform: none;
}

.bungalow-detail-page .related-stays .bungalovs-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.bungalow-detail-page .related-stays .bungalov-card {
    border: 1px solid #ddd4e9;
    border-radius: 16px;
}

.bungalow-detail-page .related-stays .bungalov-content {
    padding: 19px;
}

.bungalow-detail-page .related-stays .bungalov-desc {
    min-height: 44px;
    font-size: 12px;
}

.detail-sticky-bar {
    display: none;
}

@media (min-width: 769px) {
    .bungalow-detail-page .content-layout {
        align-items: stretch;
    }

    .bungalow-detail-page .content-sidebar {
        align-self: stretch;
    }

    .bungalow-detail-page .booking-card {
        position: sticky !important;
        top: 96px;
    }
}

@media (max-width: 920px) and (min-width: 769px) {
    .bungalow-detail-page .content-layout {
        grid-template-columns: minmax(0, 1fr) 310px;
        gap: 30px;
    }

    .bungalow-detail-page .highlights-section {
        grid-template-columns: 1fr;
    }

    .bungalow-detail-page .amenities-list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    body.has-sticky-bar {
        padding-bottom: calc(76px + env(safe-area-inset-bottom)) !important;
    }

    .bungalow-detail-page {
        padding-top: 42px !important;
    }

    .bungalow-detail-page .listing-header {
        padding: 15px 0 14px !important;
    }

    .bungalow-detail-page .detail-back-link {
        margin-bottom: 11px;
    }

    .bungalow-detail-page .listing-header-content {
        flex-direction: row;
        align-items: flex-end;
        gap: 10px;
    }

    .bungalow-detail-page .listing-header h1 {
        font-size: 24px !important;
    }

    .bungalow-detail-page .listing-actions {
        display: flex !important;
    }

    .bungalow-detail-page .listing-actions .action-btn-primary {
        display: none;
    }

    .bungalow-detail-page .listing-actions .action-btn {
        width: 42px;
        min-height: 42px;
        justify-content: center;
        padding: 0;
        border-radius: 50%;
    }

    .bungalow-detail-page .listing-actions .action-btn span {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0 0 0 0);
    }

    .bungalow-detail-page .listing-gallery {
        padding: 0 !important;
    }

    .bungalow-detail-page .listing-gallery .container {
        position: relative;
        width: calc(100% - 24px);
        margin-inline: 12px;
        padding: 0;
    }

    .bungalow-detail-page .gallery-grid-airbnb,
    .bungalow-detail-page .gallery-grid-airbnb.single-photo {
        display: block;
        width: 100%;
        height: 330px !important;
        max-height: 330px !important;
        border-radius: 16px !important;
    }

    .bungalow-detail-page .gallery-main {
        height: 330px !important;
    }

    .bungalow-detail-page .gallery-side {
        display: none !important;
    }

    .bungalow-detail-page .show-all-btn-mobile {
        position: absolute;
        z-index: 5;
        top: 65px;
        right: 14px;
        bottom: auto;
        width: auto;
        margin: 0;
        padding: 9px 12px;
        border-radius: 9px;
        background: rgba(255, 255, 255, 0.95);
        font-size: 11px;
    }

    .bungalow-detail-page .detail-gallery-top {
        top: 14px;
        right: 14px;
        left: 14px;
    }

    .bungalow-detail-page .detail-gallery-back {
        min-height: 40px;
        padding: 8px 11px;
        border-radius: 10px;
        font-size: 11px;
    }

    .bungalow-detail-page .detail-gallery-caption {
        right: 18px;
        bottom: 18px;
        left: 18px;
        max-width: calc(100% - 36px);
    }

    .bungalow-detail-page .detail-gallery-caption .detail-eyebrow {
        margin-bottom: 8px;
        padding: 4px 8px;
        font-size: 8px;
    }

    .bungalow-detail-page .detail-gallery-caption h1 {
        font-size: 29px;
        letter-spacing: -0.6px;
    }

    .bungalow-detail-page .detail-gallery-caption .detail-header-summary {
        display: -webkit-box;
        overflow: hidden;
        margin-top: 7px;
        font-size: 11px;
        line-height: 1.55;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
    }

    .bungalow-detail-page .promo-ribbon {
        top: 64px !important;
        left: 14px !important;
    }

    .bungalow-detail-page .listing-content {
        padding: 27px 0 50px;
    }

    .bungalow-detail-page .content-layout {
        display: block !important;
    }

    .bungalow-detail-page .content-sidebar {
        display: none;
    }

    .bungalow-detail-page .host-type span:first-child {
        font-size: 19px !important;
    }

    .bungalow-detail-page .location-sub {
        display: block;
        width: 100%;
        margin-top: 2px;
    }

    .bungalow-detail-page .quick-info-bar {
        grid-template-columns: 1fr;
        gap: 14px;
        padding: 18px;
    }

    .bungalow-detail-page .quick-specs {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0;
        padding-top: 12px;
        border-top: 1px solid #e9e2f1;
    }

    .bungalow-detail-page .quick-specs span {
        min-height: 48px;
        align-items: center;
        flex-direction: row;
        justify-content: flex-start;
        padding: 7px 9px;
        border-left: 0;
        text-align: left;
        font-size: 11px;
    }

    .bungalow-detail-page .quick-specs span:nth-child(odd) {
        border-right: 1px solid #e9e2f1;
    }

    .bungalow-detail-page .quick-specs span:nth-child(n + 3) {
        border-top: 1px solid #e9e2f1;
    }

    .bungalow-detail-page .highlights-section {
        grid-template-columns: 1fr;
        gap: 0;
        padding: 0 !important;
    }

    .bungalow-detail-page .highlight-item {
        padding: 14px !important;
        border-right: 0;
        border-bottom: 1px solid var(--gray-200);
    }

    .bungalow-detail-page .highlight-item:last-child {
        border-bottom: 0;
    }

    .bungalow-detail-page .description-section h2,
    .bungalow-detail-page .amenities-section h2,
    .bungalow-detail-page .rules-section h2,
    .bungalow-detail-page .detail-extra-section h2 {
        font-size: 19px !important;
    }

    .bungalow-detail-page .amenities-list,
    .bungalow-detail-page .rules-list {
        grid-template-columns: 1fr !important;
        gap: 8px !important;
    }

    .bungalow-detail-page .amenity-row,
    .bungalow-detail-page .rule-row {
        min-height: 50px;
        padding: 8px 10px !important;
        border-bottom: 1px solid var(--gray-200) !important;
    }

    .bungalow-detail-page .amenities-section {
        padding: 0;
        border-radius: 0;
    }

    .bungalow-detail-page .amenities-heading {
        margin-bottom: 16px;
    }

    .bungalow-detail-page .amenities-heading p {
        max-width: 230px;
        font-size: 10px;
    }

    .bungalow-detail-page .amenities-list {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 8px !important;
    }

    .bungalow-detail-page .amenities-section .amenity-row {
        min-height: 78px;
        align-items: center;
        flex-direction: column;
        justify-content: center;
        padding: 11px 7px !important;
        border: 1px solid #eee9f3 !important;
        font-size: 11px !important;
        text-align: center;
    }

    .bungalow-detail-page .rules-heading {
        margin-bottom: 16px;
    }

    .bungalow-detail-page .rules-heading p {
        font-size: 10px;
    }

    .bungalow-detail-page .rules-list {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 8px !important;
    }

    .bungalow-detail-page .rules-list .rule-row,
    .bungalow-detail-page .rules-list--five .rule-row:nth-child(n + 4),
    .bungalow-detail-page .rules-list--four .rule-row {
        grid-column: auto;
        min-height: 88px;
        align-items: center;
        flex-direction: column;
        justify-content: center;
        padding: 11px 7px !important;
        border: 1px solid #eee9f3 !important;
        text-align: center;
    }

    .bungalow-detail-page .rules-list--five .rule-row:last-child {
        grid-column: 1 / -1;
        width: calc((100% - 8px) / 2);
        justify-self: center;
    }

    .bungalow-detail-page .faq-heading {
        margin-bottom: 16px;
    }

    .bungalow-detail-page .faq-heading p {
        font-size: 10px;
    }

    .bungalow-detail-page .detail-faq-section summary {
        min-height: 62px;
        gap: 10px;
        padding: 12px 0;
        font-size: 12.5px;
        line-height: 1.45;
    }

    .bungalow-detail-page .faq-question-main {
        gap: 10px;
    }

    .bungalow-detail-page .faq-number {
        width: 30px;
        height: 30px;
        flex-basis: 30px;
        border-radius: 9px;
    }

    .bungalow-detail-page .faq-toggle {
        width: 28px;
        height: 28px;
        flex-basis: 28px;
    }

    .bungalow-detail-page .faq-answer {
        padding: 0 38px 16px;
    }

    .bungalow-detail-page .detail-faq-section details p {
        padding: 12px 13px;
        font-size: 11.5px;
        line-height: 1.7;
    }

    .bungalow-detail-page .detail-package-grid,
    .bungalow-detail-page .detail-review-grid {
        grid-template-columns: 1fr;
    }

    .bungalow-detail-page .related-stays {
        padding: 48px 0 54px;
    }

    .bungalow-detail-page .detail-related-header {
        align-items: flex-start;
        margin-bottom: 22px;
    }

    .bungalow-detail-page .detail-related-header .section-title {
        font-size: 25px;
    }

    .bungalow-detail-page .detail-view-all {
        padding-top: 24px;
        white-space: nowrap;
    }

    .bungalow-detail-page .related-stays .bungalovs-grid {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }

    .detail-sticky-bar {
        display: flex !important;
        min-height: 70px;
        padding: 10px 16px !important;
        padding-bottom: calc(10px + env(safe-area-inset-bottom)) !important;
        border-top: 1px solid #ddd4e9 !important;
        box-shadow: none !important;
    }

    .detail-sticky-bar .price-info {
        display: flex;
        flex-direction: column;
        gap: 1px;
    }

    .detail-sticky-bar .price-value {
        line-height: 1.15;
    }

    .detail-sticky-bar .btn,
    .detail-sticky-bar .btn:hover {
        min-height: 44px;
        padding: 11px 18px !important;
        border-radius: 10px !important;
        box-shadow: none !important;
        transform: none !important;
    }
}

@media (max-width: 420px) {
    .bungalow-detail-page .gallery-grid-airbnb,
    .bungalow-detail-page .gallery-grid-airbnb.single-photo,
    .bungalow-detail-page .gallery-main {
        height: 305px !important;
        max-height: 305px !important;
    }

    .bungalow-detail-page .detail-related-header {
        display: block;
    }

    .bungalow-detail-page .detail-view-all {
        margin-top: 10px;
        padding-top: 0;
    }
}
