.btbnb-detail-page {
    width: min(1320px, calc(100vw - 36px));
    margin: 32px auto 80px;
}

.btbnb-detail-hero {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 24px;
    margin-bottom: 24px;
}

.btbnb-detail-kicker {
    margin: 0 0 8px;
    color: #e0841c;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-size: 12px;
}

.btbnb-detail-hero h1 {
    margin: 0;
    color: #111;
    font-size: clamp(34px, 5vw, 62px);
    line-height: .95;
    letter-spacing: -2px;
}

.btbnb-detail-location {
    margin: 12px 0 0;
    color: #606060;
    font-weight: 850;
}

.btbnb-reserve-top-btn,
.btbnb-reserve-btn,
.btbnb-pay-btn {
    min-height: 54px;
    border: 0;
    border-radius: 999px;
    padding: 0 22px;
    background: #e0841c;
    color: #111;
    font-weight: 1000;
    cursor: pointer;
    box-shadow: 0 14px 26px rgba(224,132,28,.22);
}

.btbnb-outline-btn {
    min-height: 46px;
    border-radius: 999px;
    padding: 0 18px;
    border: 1px solid rgba(224,132,28,.35);
    background: #fff;
    color: #111;
    font-weight: 950;
    cursor: pointer;
}

.btbnb-gallery {
    display: grid;
    grid-template-columns: 1.35fr .65fr;
    gap: 14px;
    margin-bottom: 28px;
}

.btbnb-gallery-main,
.btbnb-gallery-empty,
.btbnb-gallery-thumb {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    background:
        radial-gradient(circle at 75% 18%, rgba(224,132,28,.24), transparent 32%),
        linear-gradient(135deg, #171717, #2b2b2b);
    min-height: 450px;
    border: 0;
    padding: 0;
}

.btbnb-gallery-main img,
.btbnb-gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    position: absolute;
    inset: 0;
}

.btbnb-gallery-main span,
.btbnb-gallery-thumb span {
    position: absolute;
    left: 18px;
    bottom: 18px;
    background: rgba(0,0,0,.72);
    color: #fff;
    border-radius: 999px;
    padding: 8px 12px;
    font-weight: 900;
    z-index: 2;
}

.btbnb-gallery-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.btbnb-gallery-thumb {
    min-height: 218px;
    cursor: pointer;
}

.btbnb-gallery-empty {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.btbnb-gallery-empty img {
    width: 54px;
    height: 54px;
}

.btbnb-detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 28px;
    align-items: start;
}

.btbnb-detail-main {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.btbnb-card,
.btbnb-booking-sticky {
    background: #fff;
    border: 1px solid rgba(0,0,0,.08);
    border-radius: 28px;
    box-shadow: 0 18px 45px rgba(0,0,0,.07);
    padding: 26px;
}

.btbnb-card h2 {
    margin: 0 0 14px;
    color: #111;
    font-size: 28px;
    letter-spacing: -.7px;
}

.btbnb-description {
    color: #4f4f4f;
    font-weight: 700;
    line-height: 1.58;
}

.btbnb-muted {
    color: #666;
    font-weight: 750;
    line-height: 1.45;
}

.btbnb-info-grid,
.btbnb-check-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-top: 18px;
}

.btbnb-check-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.btbnb-info-grid div,
.btbnb-check-grid div {
    padding: 16px;
    border-radius: 18px;
    background: #faf7f1;
    border: 1px solid rgba(224,132,28,.14);
}

.btbnb-info-grid strong,
.btbnb-check-grid strong {
    display: block;
    color: #111;
    font-weight: 950;
    margin-bottom: 5px;
}

.btbnb-info-grid span,
.btbnb-check-grid span {
    color: #5b5b5b;
    font-weight: 800;
}

.btbnb-tags,
.btbnb-amenities {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.btbnb-tags span,
.btbnb-amenities div {
    padding: 10px 13px;
    border-radius: 999px;
    background: #111;
    color: #fff;
    font-weight: 900;
}

.btbnb-amenities div {
    background: #f4efe6;
    color: #3b3127;
}

.btbnb-rules {
    margin-top: 18px;
}

.btbnb-rules h3 {
    margin: 18px 0 6px;
    color: #111;
}

.btbnb-section-row {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: flex-start;
}

.btbnb-mini-calendar,
.btbnb-modal-calendar {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 18px;
}

.btbnb-month {
    border: 1px solid rgba(0,0,0,.08);
    border-radius: 22px;
    overflow: hidden;
    background: #fffaf2;
}

.btbnb-month h3 {
    margin: 0;
    padding: 14px;
    background: #111;
    color: #fff;
    font-size: 15px;
}

.btbnb-weekdays,
.btbnb-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
}

.btbnb-weekdays span {
    text-align: center;
    padding: 8px 0;
    font-size: 11px;
    color: #6b6258;
    font-weight: 900;
}

.btbnb-day {
    min-height: 38px;
    border: 0;
    background: #fff;
    border-top: 1px solid rgba(0,0,0,.05);
    border-left: 1px solid rgba(0,0,0,.05);
    color: #111;
    font-weight: 900;
}

.btbnb-day.blank {
    background: #f4f0e9;
}

.btbnb-day.available {
    background: #e8f7e8;
    cursor: pointer;
}

.btbnb-day.busy {
    background: #ffe2e2;
    color: #8a1111;
    cursor: not-allowed;
}

.btbnb-day.off {
    background: #e9e9e9;
    color: #888;
    cursor: not-allowed;
}

.btbnb-day.selected,
.btbnb-day.in-range {
    background: #e0841c !important;
    color: #111 !important;
}

.btbnb-calendar-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 14px;
    color: #555;
    font-weight: 850;
}

.btbnb-calendar-legend span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.btbnb-calendar-legend i {
    width: 14px;
    height: 14px;
    border-radius: 4px;
    display: inline-block;
}

.btbnb-calendar-legend .ok { background: #bdebbd; }
.btbnb-calendar-legend .busy { background: #ffb5b5; }
.btbnb-calendar-legend .off { background: #d6d6d6; }
.btbnb-calendar-legend .sel { background: #e0841c; }

.btbnb-map {
    width: 100%;
    height: 360px;
    border-radius: 22px;
    background: #171717;
    overflow: hidden;
    margin-top: 16px;
}

.btbnb-map-link {
    display: inline-flex;
    margin-top: 12px;
    color: #111;
    font-weight: 950;
}

.btbnb-booking-panel {
    position: sticky;
    top: 90px;
}

.btbnb-booking-sticky p {
    margin: 0;
    color: #666;
    font-weight: 850;
}

.btbnb-booking-sticky strong {
    display: block;
    font-size: 34px;
    color: #111;
    margin: 4px 0;
}

.btbnb-booking-sticky span {
    display: block;
    color: #606060;
    font-weight: 800;
    margin-bottom: 18px;
}

.btbnb-booking-sticky small {
    display: block;
    color: #777;
    font-weight: 750;
    line-height: 1.4;
    margin-top: 14px;
}

.btbnb-reserve-btn {
    width: 100%;
}

.btbnb-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
}

.btbnb-modal.is-open {
    display: block;
}

.btbnb-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.62);
    backdrop-filter: blur(5px);
}

.btbnb-modal-card {
    position: relative;
    width: min(1180px, calc(100vw - 28px));
    max-height: calc(100vh - 36px);
    overflow: auto;
    margin: 18px auto;
    background: #fff;
    border-radius: 30px;
    box-shadow: 0 30px 90px rgba(0,0,0,.30);
    padding: 28px;
}

.btbnb-modal-close {
    position: absolute;
    right: 18px;
    top: 16px;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 999px;
    background: #111;
    color: #fff;
    font-size: 28px;
    cursor: pointer;
}

.btbnb-modal-head {
    display: flex;
    justify-content: space-between;
    gap: 22px;
    padding-right: 48px;
}

.btbnb-modal-head h2 {
    margin: 0;
    font-size: 34px;
    color: #111;
}

.btbnb-modal-head p {
    margin: 8px 0 0;
    color: #666;
    font-weight: 750;
}

.btbnb-modal-price {
    min-width: 180px;
    padding: 16px;
    border-radius: 20px;
    background: #fff7eb;
    border: 1px solid rgba(224,132,28,.22);
}

.btbnb-modal-price span {
    display: block;
    color: #666;
    font-weight: 900;
}

.btbnb-modal-price strong {
    font-size: 26px;
    color: #111;
}

.btbnb-reservation-summary {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 18px;
}

.btbnb-reservation-summary div,
.btbnb-reservation-summary label {
    padding: 16px;
    border-radius: 18px;
    background: #faf7f1;
    border: 1px solid rgba(224,132,28,.14);
}

.btbnb-reservation-summary strong {
    display: block;
    color: #111;
    margin-bottom: 6px;
}

.btbnb-reservation-summary input {
    width: 100%;
    min-height: 42px;
    border-radius: 12px;
    border: 1px solid rgba(0,0,0,.12);
    padding: 0 10px;
    font-weight: 900;
}

.btbnb-modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 18px;
}

.btbnb-pay-btn:disabled {
    opacity: .45;
    cursor: not-allowed;
}

.btbnb-modal-help {
    margin: 12px 0 0;
    color: #666;
    font-weight: 800;
}

@media (max-width: 1000px) {
    .btbnb-gallery,
    .btbnb-detail-layout {
        grid-template-columns: 1fr;
    }

    .btbnb-booking-panel {
        position: static;
    }

    .btbnb-info-grid,
    .btbnb-check-grid,
    .btbnb-mini-calendar,
    .btbnb-modal-calendar,
    .btbnb-reservation-summary {
        grid-template-columns: 1fr;
    }

    .btbnb-detail-hero,
    .btbnb-modal-head {
        flex-direction: column;
        align-items: stretch;
    }
}

/* BikeTripBNB - faixa com todas as fotos da hospedagem */
.btbnb-all-photos-strip {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
    margin-top: 0;
}

.btbnb-all-photo {
    position: relative;
    height: 150px;
    border: 0;
    padding: 0;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    background:
        radial-gradient(circle at 75% 18%, rgba(224,132,28,.24), transparent 32%),
        linear-gradient(135deg, #171717, #2b2b2b);
}

.btbnb-all-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.btbnb-all-photo span {
    position: absolute;
    left: 10px;
    bottom: 10px;
    padding: 7px 10px;
    border-radius: 999px;
    background: rgba(0,0,0,.72);
    color: #fff;
    font-size: 12px;
    font-weight: 950;
}

@media (max-width: 1000px) {
    .btbnb-all-photos-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .btbnb-all-photo {
        height: 130px;
    }
}

/* BikeTripBNB - galeria fixa com 5 slots, mesmo sem foto */
.btbnb-gallery-fixed-slots .is-placeholder {
    background:
        radial-gradient(circle at 75% 18%, rgba(224,132,28,.24), transparent 32%),
        linear-gradient(135deg, #171717, #2b2b2b) !important;
}

.btbnb-photo-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #fff;
    text-align: center;
    padding: 18px;
    background:
        radial-gradient(circle at 75% 18%, rgba(224,132,28,.24), transparent 32%),
        linear-gradient(135deg, #171717, #2b2b2b);
}

.btbnb-photo-placeholder img {
    width: 45px !important;
    height: 45px !important;
    max-width: 45px !important;
    max-height: 45px !important;
    object-fit: contain;
    display: block;
}

.btbnb-photo-placeholder strong {
    display: block;
    color: #fff;
    font-size: 16px;
    font-weight: 950;
}

.btbnb-photo-placeholder span {
    display: block;
    color: rgba(255,255,255,.72);
    font-size: 12px;
    font-weight: 800;
}

.btbnb-photo-placeholder.mini {
    gap: 7px;
    padding: 12px;
}

.btbnb-photo-placeholder.mini strong {
    font-size: 13px;
}

.btbnb-photo-placeholder.mini img {
    width: 45px !important;
    height: 45px !important;
}

/* ==========================================================
   BikeTripBNB - correção real do detalhe da hospedagem
   ========================================================== */

body.btbnb-modal-open {
    overflow: hidden;
}

.btbnb-detail-hero button,
.btbnb-detail-hero a,
.btbnb-booking-panel button,
.btbnb-booking-panel a {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

.btbnb-photo-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background:
        radial-gradient(
            circle at 70% 20%,
            rgba(224,132,28,.24),
            transparent 34%
        ),
        #111;
    color: #fff;
    text-align: center;
    padding: 18px;
}

.btbnb-photo-placeholder img {
    position: static !important;
    width: 52px !important;
    height: 52px !important;
    object-fit: contain !important;
}

.btbnb-photo-placeholder strong {
    font-size: 16px;
    color: #fff;
}

.btbnb-photo-placeholder span {
    position: static !important;
    padding: 0 !important;
    background: transparent !important;
    color: rgba(255,255,255,.72) !important;
    font-size: 12px;
}

.btbnb-map-fallback {
    min-height: 360px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 28px;
    text-align: center;
    color: #fff;
    font-weight: 900;
    text-decoration: none;
}

.btbnb-reviews-card {
    overflow: hidden;
}

.btbnb-review-summary {
    min-width: 150px;
    text-align: right;
}

.btbnb-review-summary strong {
    display: block;
    font-size: 36px;
    line-height: 1;
    color: #111;
}

.btbnb-review-summary-stars,
.btbnb-review-stars {
    color: #e0841c;
    letter-spacing: 2px;
    font-size: 20px;
    font-weight: 1000;
}

.btbnb-review-summary small {
    display: block;
    margin-top: 5px;
    color: #666;
    font-weight: 800;
}

.btbnb-review-form-wrap {
    margin-top: 22px;
    padding: 20px;
    border-radius: 22px;
    background: #faf7f1;
    border: 1px solid rgba(224,132,28,.18);
}

.btbnb-star-picker {
    border: 0;
    padding: 0;
    margin: 0 0 16px;
}

.btbnb-star-picker legend {
    margin-bottom: 8px;
    color: #111;
    font-weight: 950;
}

.btbnb-star-buttons {
    display: flex;
    gap: 4px;
}

.btbnb-star-buttons button {
    border: 0;
    padding: 2px;
    background: transparent;
    color: #c9c3bb;
    font-size: 34px;
    line-height: 1;
    cursor: pointer;
}

.btbnb-star-buttons button.active {
    color: #e0841c;
}

.btbnb-review-comment-label {
    display: block;
}

.btbnb-review-comment-label strong {
    display: block;
    margin-bottom: 8px;
    color: #111;
}

.btbnb-review-comment-label textarea {
    width: 100%;
    resize: vertical;
    border: 1px solid rgba(0,0,0,.14);
    border-radius: 16px;
    padding: 14px;
    background: #fff;
    color: #111;
    font: inherit;
}

.btbnb-review-form-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 14px;
}

#btbnbReviewMessage {
    color: #555;
    font-weight: 850;
}

#btbnbReviewMessage.success {
    color: #287124;
}

#btbnbReviewMessage.error {
    color: #9a1616;
}

.btbnb-reviews-list {
    display: grid;
    gap: 14px;
    margin-top: 22px;
}

.btbnb-review-item {
    padding: 18px;
    border: 1px solid rgba(0,0,0,.08);
    border-radius: 20px;
    background: #fff;
}

.btbnb-review-item-head {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: flex-start;
}

.btbnb-review-item-head strong,
.btbnb-review-item-head span {
    display: block;
}

.btbnb-review-item-head strong {
    color: #111;
    font-size: 16px;
}

.btbnb-review-item-head span {
    margin-top: 3px;
    color: #777;
    font-size: 12px;
    font-weight: 750;
}

.btbnb-review-item p {
    margin: 13px 0 0;
    color: #4d4d4d;
    line-height: 1.55;
    font-weight: 650;
    white-space: pre-wrap;
}

.btbnb-review-empty,
.btbnb-review-loading {
    padding: 24px;
    border-radius: 18px;
    text-align: center;
    background: #f6f2eb;
    color: #666;
    font-weight: 850;
}

.btbnb-review-empty.error {
    background: #ffeaea;
    color: #8a1111;
}

.btbnb-review-login {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
}

.btbnb-review-login p {
    margin: 0;
    color: #555;
    font-weight: 800;
}

.btbnb-review-login a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 17px;
    border-radius: 999px;
    background: #111;
    color: #fff;
    text-decoration: none;
    font-weight: 950;
}

@media (max-width: 850px) {
    .btbnb-review-summary {
        text-align: left;
    }

    .btbnb-review-form-actions,
    .btbnb-review-login,
    .btbnb-review-item-head {
        align-items: stretch;
        flex-direction: column;
    }
}
