/* ═══════════════════════════════════════════════════════════════════════════
   GLOBAL DETAIL PAGE LAYOUT — Standardized across Tour, Hotel, Car
   Brand: #038a52 (green primary), #f47c04 (orange accent)
   Style: Airbnb-inspired, clean, no gradients, minimal shadows
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Page Base ── */
.td-page { background: #fff; }
.td-page .bc_content { padding-top: 0; }

/* ── Breadcrumb Bar ── */
.td-breadcrumb-bar { padding: 16px 0 0; }
.td-breadcrumb { font-size: 13px; color: #717171; display: flex; align-items: center; gap: 0; }
.td-breadcrumb a { color: #222; text-decoration: none; font-weight: 500; }
.td-breadcrumb a:hover { text-decoration: underline; }
.td-breadcrumb .sep { margin: 0 8px; font-size: 9px; color: #b0b0b0; }

/* ── Photo Grid ── */
.td-photo-grid-wrap { padding: 16px 0 0; }
.td-photo-grid {
    display: grid; grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: 1fr 1fr; gap: 8px;
    height: 420px; border-radius: 16px; overflow: hidden; position: relative;
}
.td-photo-grid.td-pg-fewer { grid-template-columns: 1fr; grid-template-rows: 1fr; }
.td-pg-item { overflow: hidden; cursor: pointer; }
.td-pg-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.td-pg-item:hover img { transform: scale(1.03); }
.td-pg-main { grid-row: 1 / 3; }
.td-pg-mid { grid-row: 1 / 3; }
.td-pg-solo { grid-column: 1 / -1; grid-row: 1 / -1; }
.td-show-all-btn {
    position: absolute; bottom: 20px; left: 20px;
    background: #fff; border: 1px solid #222; border-radius: 8px;
    padding: 8px 16px; font-size: 14px; font-weight: 600; color: #222;
    cursor: pointer; display: flex; align-items: center; gap: 8px;
    transition: all .2s; z-index: 2;
}
.td-show-all-btn:hover { background: #f7f7f7; }
@media (max-width: 767px) {
    .td-photo-grid { height: 260px; grid-template-columns: 1fr; grid-template-rows: 1fr; }
    .td-pg-mid, .td-pg-tr, .td-pg-br { display: none; }
    .td-pg-main { grid-column: 1; grid-row: 1; }
}

/* ── Title Section ── */
.td-title-section { padding: 24px 0 20px; }
.td-title-row { display: flex; justify-content: space-between; align-items: flex-start; }
.td-title-left { flex: 1; }
.td-title-right { display: flex; gap: 10px; flex-shrink: 0; margin-left: 20px; }
.td-cat-badge {
    display: inline-block; font-size: 12px; font-weight: 600; color: #222;
    border: 1px solid #ddd; border-radius: 20px; padding: 4px 14px; margin-bottom: 10px;
}
.td-main-title { font-size: 28px; font-weight: 700; color: #222; margin: 0 0 10px; line-height: 1.3; }
.td-title-actions { display: inline-flex; gap: 8px; vertical-align: middle; margin-left: 10px; }
.td-title-actions .td-action-btn { font-size: 14px; vertical-align: middle; }
.td-title-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 15px; color: #222; }
.td-inline-rating { display: flex; align-items: center; gap: 4px; font-weight: 600; }
.td-inline-rating i { color: #222; font-size: 13px; }
.td-dot-sep { color: #717171; }
.td-inline-location { color: #717171; text-decoration: underline; }
.td-inline-location i { color: #717171; margin-right: 2px; }
.td-host-row { display: flex; align-items: center; gap: 14px; margin-top: 20px; padding-top: 20px; border-top: 1px solid #ebebeb; }
.td-host-avatar { width: 48px; height: 48px; border-radius: 50%; overflow: hidden; flex-shrink: 0; }
.td-host-avatar img { width: 100%; height: 100%; object-fit: cover; }
.td-host-avatar .initial {
    display: flex; align-items: center; justify-content: center;
    width: 100%; height: 100%; background: #222; color: #fff; font-size: 18px; font-weight: 700;
}
.td-host-text span { font-size: 13px; color: #717171; display: block; }
.td-host-text strong { font-size: 16px; color: #222; }
.td-action-btn {
    width: 36px; height: 36px; border-radius: 50%; border: 1px solid #ddd;
    background: #fff; display: flex; align-items: center; justify-content: center;
    cursor: pointer; font-size: 14px; color: #222; transition: all .2s;
}
.td-action-btn:hover { background: #f7f7f7; }
.td-action-btn.service-wishlist.active { color: #dc2626; border-color: #dc2626; }
.td-action-btn.service-wishlist.active i::before { content: "\f004"; font-weight: 900; }
@media (max-width: 767px) {
    .td-main-title { font-size: 22px; }
    .td-title-row { flex-direction: column; gap: 12px; }
    .td-title-right { margin-left: 0; }
}

/* ── Quick Info Strip ── */
.td-info-strip {
    display: flex; flex-wrap: wrap; gap: 28px; padding: 20px 0;
    margin-bottom: 32px;
}
.td-info-item { display: flex; align-items: center; gap: 10px; }
.td-info-icon {
    width: 38px; height: 38px; border-radius: 8px;
    display: flex; align-items: center; justify-content: center; font-size: 16px; flex-shrink: 0;
}
.td-info-label { font-size: 11px; text-transform: uppercase; letter-spacing: .4px; color: #717171; font-weight: 600; }
.td-info-value { font-size: 14px; font-weight: 600; color: #222; }
@media (max-width: 576px) {
    .td-info-strip { gap: 16px; }
    .td-info-item { flex: 0 0 calc(50% - 8px); }
}

/* ── Sections ── */
.td-section { margin-bottom: 36px; }
.td-section-title {
    font-size: 22px; font-weight: 700; color: #222; margin: 0 0 18px;
    padding-bottom: 0;
    display: flex; align-items: center; gap: 8px;
}
.td-section-title i { color: #038a52; font-size: 16px; }


/* ── Overview ── */
.td-overview { font-size: 16px; line-height: 1.8; color: #484848; }
.td-overview p { margin-bottom: 14px; }

/* ── Include/Exclude (Tour) ── */
.td-inc-exc { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.td-inc-head { font-size: 14px; font-weight: 700; margin: 0 0 10px; display: flex; align-items: center; gap: 6px; }
.td-inc-head.inc { color: #222; }
.td-inc-head.exc { color: #222; }
.td-inc-row { display: flex; align-items: flex-start; gap: 10px; padding: 8px 0; font-size: 15px; color: #484848; }
.td-inc-row i.inc { color: #222; margin-top: 3px; font-size: 14px; }
.td-inc-row i.exc { color: #717171; margin-top: 3px; font-size: 14px; }
@media (max-width: 576px) { .td-inc-exc { grid-template-columns: 1fr; } }

/* ── Itinerary (Time-based, Tour) ── */
.td-itin-list { }
.td-itin-item {
    display: grid; grid-template-columns: 200px 1fr; gap: 28px;
    padding: 24px 0; border-bottom: 1px solid #ebebeb;
}
.td-itin-item:last-child { border-bottom: none; }
.td-itin-label { font-size: 14px; font-weight: 600; color: #222; line-height: 1.6; padding-top: 2px; }
.td-itin-title { font-size: 16px; font-weight: 700; color: #222; margin: 0 0 8px; }
.td-itin-desc { font-size: 14px; color: #717171; line-height: 1.7; font-style: italic; }
.td-itin-desc p { margin-bottom: 6px; }
.td-itin-img { margin-top: 12px; border-radius: 12px; overflow: hidden; max-height: 200px; }
.td-itin-img img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 576px) {
    .td-itin-item { grid-template-columns: 1fr; gap: 8px; }
}

/* ── FAQ Accordion ── */
.td-faq-item { border-bottom: 1px solid #ebebeb; }
.td-faq-item:last-child { border-bottom: none; }
.td-faq-q {
    display: flex; justify-content: space-between; align-items: center;
    padding: 14px 0; cursor: pointer; font-size: 16px; font-weight: 600; color: #222;
}
.td-faq-q:hover { color: #222; }
.td-faq-q .arrow { transition: transform .3s; color: #717171; font-size: 12px; }
.td-faq-item.active .td-faq-q { color: #222; }
.td-faq-item.active .td-faq-q .arrow { transform: rotate(180deg); color: #222; }
.td-faq-a { padding: 0 0 14px; font-size: 15px; line-height: 1.7; color: #484848; display: none; }
.td-faq-item.active .td-faq-a { display: block; }

/* ── Attributes ── */
.td-attr-list { display: flex; flex-wrap: wrap; gap: 10px; }
.td-attr-tag {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 8px 14px; border: 1px solid #ebebeb; border-radius: 8px;
    font-size: 14px; color: #484848;
}
.td-attr-tag i { color: #222; }
.td-attr-tag img { width: 18px; height: 18px; object-fit: contain; }

/* ── Map (inline, within content column) ── */
.td-map { border-radius: 12px; overflow: hidden; height: 360px; border: 1px solid #ebebeb; }
.td-map #map_content { height: 100%; }

/* ══════════════════════════════════════════════════════════════════════════
   FULL-WIDTH MAP SECTION — Breaks out of 2-column layout
   ══════════════════════════════════════════════════════════════════════════ */
.td-map-fullwidth {
    padding: 48px 0 0;
    margin-top: 16px;
    border-top: 1px solid #ebebeb;
}
.td-map-fullwidth .td-section-title {
    margin-bottom: 6px;
}
.td-map-fullwidth .td-map-address {
    font-size: 14px;
    color: #64748b;
    margin-bottom: 16px;
}
.td-map-fullwidth .td-map-address i {
    color: #f47c04;
    margin-right: 4px;
}
.td-map-fullwidth .td-map-canvas {
    height: 450px;
    overflow: hidden;
}
.td-map-fullwidth .td-map-canvas #map_content {
    height: 100%;
    width: 100%;
}
@media (max-width: 767px) {
    .td-map-fullwidth .td-map-canvas { height: 300px; }
}

/* ── Related Items Carousel ── */
.td-related { padding: 40px 0; margin-top: 8px; }
.td-related-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.td-related-title { font-size: 22px; font-weight: 700; color: #222; margin: 0; }
.td-related-nav { display: flex; gap: 8px; }
.td-related-nav .td-nav-arrow {
    width: 40px; height: 40px; border-radius: 50%; border: 1px solid #ddd;
    background: #fff; display: flex; align-items: center; justify-content: center;
    cursor: pointer; font-size: 14px; color: #222; transition: all .2s; padding: 0;
}
.td-related-nav .td-nav-arrow:hover { background: #038a52; border-color: #038a52; color: #fff; }
.td-related-nav .td-nav-arrow:disabled,
.td-related-nav .td-nav-arrow.disabled { opacity: .35; cursor: default; pointer-events: none; }
.td-related-wrap { position: relative; overflow: hidden; }
.td-related-scroll {
    display: flex; gap: 20px; overflow-x: scroll; scroll-snap-type: x mandatory;
    padding-bottom: 0; -webkit-overflow-scrolling: touch; scroll-behavior: smooth;
    -ms-overflow-style: none; scrollbar-width: none;
}
.td-related-scroll::-webkit-scrollbar { height: 0 !important; display: none !important; }
.td-related-scroll > .td-related-item { flex: 0 0 280px; scroll-snap-align: start; }
.td-related-item .item-loop,
.td-related-item .tm-card {
    border-radius: 12px; overflow: hidden; border: 1px solid #ebebeb;
    height: 100%; transition: box-shadow .2s; background: #fff;
}
.td-related-item .item-loop:hover,
.td-related-item .tm-card:hover { box-shadow: 0 6px 20px rgba(0,0,0,.08); }
.td-related-item .item-loop .featured-image { height: 180px; overflow: hidden; }
.td-related-item .item-loop .featured-image img { width: 100%; height: 100%; object-fit: cover; }
.td-related-item .item-loop .item-title { font-size: 15px; font-weight: 600; }
.td-related-item .item-loop .item-title a { color: #222; text-decoration: none; }
.td-related-item .item-loop .item-title a:hover { color: #f47c04; }
/* tm-card inside related */
.td-related-item .tm-card__image { position: relative; height: 180px; overflow: hidden; }
.td-related-item .tm-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.td-related-item .tm-card:hover .tm-card__image img { transform: scale(1.05); }
.td-related-item .tm-card__image .no-image { height: 100%; display: flex; align-items: center; justify-content: center; background: #f5f5f5; color: #b0b0b0; font-size: 36px; }
.td-related-item .tm-card__badge { position: absolute; top: 10px; font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 4px; z-index: 1; }
.td-related-item .tm-card__badge--category { left: 10px; background: #fff; color: #222; box-shadow: 0 1px 4px rgba(0,0,0,.1); }
.td-related-item .tm-card__badge--discount { right: 10px; background: #ff385c; color: #fff; }
.td-related-item .tm-card__review-badge { position: absolute; bottom: 10px; left: 10px; background: rgba(0,0,0,.65); color: #fff; font-size: 12px; font-weight: 600; padding: 4px 8px; border-radius: 4px; display: flex; align-items: center; gap: 4px; }
.td-related-item .tm-card__review-badge i { color: #fbbf24; font-size: 11px; }
.td-related-item .tm-card__review-badge span { font-weight: 400; opacity: .85; }
.td-related-item .tm-card__body { padding: 14px; display: flex; flex-direction: column; }
.td-related-item .tm-card__title { font-size: 15px; font-weight: 600; margin: 0 0 6px; line-height: 1.3; }
.td-related-item .tm-card__title a { color: #222; text-decoration: none; }
.td-related-item .tm-card__title a:hover { color: #f47c04; }
.td-related-item .tm-card__location { font-size: 13px; color: #717171; display: flex; align-items: center; gap: 4px; margin-bottom: 8px; }
.td-related-item .tm-card__location i { color: #f47c04; font-size: 11px; }
.td-related-item .tm-card__divider { height: 1px; background: #ebebeb; margin: 4px 0 8px; }
.td-related-item .tm-card__specs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.td-related-item .tm-card__spec { font-size: 12px; color: #717171; display: flex; align-items: center; gap: 3px; }
.td-related-item .tm-card__spec i { font-size: 10px; color: #038a52; }
.td-related-item .tm-card__footer { display: flex; justify-content: space-between; align-items: center; padding-top: 8px; border-top: 1px solid #ebebeb; margin-top: auto; }
.td-related-item .tm-card__price { display: flex; flex-direction: column; }
.td-related-item .tm-card__price-original { font-size: 12px; color: #717171; text-decoration: line-through; }
.td-related-item .tm-card__price-amount { font-size: 16px; font-weight: 700; color: #222; }
.td-related-item .tm-card__price-unit { font-size: 11px; color: #717171; }
.td-related-item .tm-card__book-btn {
    font-size: 13px; font-weight: 600; padding: 6px 14px; border-radius: 6px;
    background: #038a52; color: #fff; text-decoration: none; transition: all .2s; white-space: nowrap;
}
.td-related-item .tm-card__book-btn:hover { background: #f47c04; color: #fff; }

/* ── Sidebar (Sticky) ── */
.td-sidebar { position: sticky; top: 90px; z-index: 10; }

/* ── Enquiry modal container fix ── */
.td-enquiry-modal-container .modal { z-index: 1060 !important; }
/* Backdrop is appended to <body>, not inside the container — target it globally */
.modal-backdrop { z-index: 1050 !important; }
#enquiry_form_modal { z-index: 1060 !important; }

/* ── Booking Form Card ── */
.td-page .bc_single_book_wrap { margin-bottom: 20px; }
.td-page .bc_single_book {
    border: 1px solid #e5e7eb; border-radius: 16px; overflow: visible;
    background: #fff; box-shadow: 0 4px 24px rgba(0,0,0,.08); position: relative;
}
.td-page .bc_single_book .form-head {
    padding: 24px 24px 18px; display: flex; flex-direction: column; gap: 12px;
    border-bottom: none; background: transparent;
}
.td-page .bc_single_book .form-head .form-head-top { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.td-page .bc_single_book .form-head .price-from-label { font-size: 13px; color: #64748b; font-weight: 400; }
.td-page .bc_single_book .form-head .price { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.td-page .bc_single_book .form-head .price .label,
.td-page .bc_single_book .form-head .price span.label { display: none; }
.td-page .bc_single_book .form-head .price .value { display: flex; align-items: baseline; gap: 6px; }
.td-page .bc_single_book .form-head .price .onsale { font-size: 15px; color: #94a3b8; text-decoration: line-through; }
.td-page .bc_single_book .form-head .price .text-lg,
.td-page .bc_single_book .form-head .price .text-price { font-size: 28px !important; font-weight: 800; color: #1e293b; line-height: 1; }
.td-page .bc_single_book .form-head .price-unit { font-size: 15px; font-weight: 400; color: #64748b; }
.td-page .bc_single_book .form-head-rating {
    display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600;
    color: #1e293b; background: #fefce8; padding: 6px 12px; border-radius: 8px; width: fit-content;
}
.td-page .bc_single_book .form-head-rating i { color: #f59e0b; font-size: 13px; }
.td-page .bc_single_book .form-head-rating .rating-score { font-weight: 700; }
.td-page .bc_single_book .form-head-rating .rating-count { color: #64748b; font-weight: 400; font-size: 13px; }
/* Tabs */
.td-page .bc_single_book .nav-enquiry {
    display: flex; border-bottom: 2px solid #f1f5f9; padding: 0; margin: 0 24px;
    background: transparent; gap: 0;
}
.td-page .bc_single_book .nav-enquiry .enquiry-item {
    flex: 1; text-align: center; padding: 14px 10px; font-size: 13px; font-weight: 600;
    cursor: pointer; border-bottom: 2px solid transparent; color: #94a3b8;
    text-transform: uppercase; letter-spacing: .5px; transition: all .2s; margin-bottom: -2px;
    display: flex; align-items: center; justify-content: center; gap: 6px;
}
.td-page .bc_single_book .nav-enquiry .enquiry-item i { font-size: 14px; }
.td-page .bc_single_book .nav-enquiry .enquiry-item:hover { color: #1e293b; background: #f8fafc; }
.td-page .bc_single_book .nav-enquiry .enquiry-item.active { color: #038a52; border-bottom-color: #038a52; background: transparent; }
/* Content */
.td-page .bc_single_book .form-content { padding: 20px 24px 12px; }
.td-page .bc_single_book .form-group { margin-bottom: 0; }
.td-page .bc_single_book .form-group > label,
.td-page .bc_single_book .check-in-wrapper > label,
.td-page .bc_single_book .guest-wrapper > .flex-grow-1 > label {
    font-size: 11px !important; color: #64748b !important;
    text-transform: uppercase; letter-spacing: .5px; margin-bottom: 4px; font-weight: 600 !important;
}
.td-page .bc_single_book .render { font-size: 14px; color: #1e293b; line-height: 1.4; }
.td-page .bc_single_book .check-in-render { font-size: 14px; color: #1e293b; margin-top: 2px; }
/* Date field */
.td-page .bc_single_book .form-date-field {
    border: 1.5px solid #e5e7eb; border-radius: 12px 12px 0 0; margin-bottom: 0; overflow: hidden;
    background: #fff; transition: border-color .2s, box-shadow .2s;
}
.td-page .bc_single_book .form-date-field:hover,
.td-page .bc_single_book .form-date-field:focus-within { border-color: #038a52; box-shadow: 0 0 0 3px rgba(3,138,82,.06); }
.td-page .bc_single_book .date-wrapper {
    padding: 12px 18px; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.td-page .bc_single_book .date-icon-wrap {
    width: 36px; height: 36px; border-radius: 10px; background: #f0fdf4; color: #038a52;
    display: flex; align-items: center; justify-content: center; font-size: 15px; flex-shrink: 0;
}
.td-page .bc_single_book .check-in-wrapper { flex: 1; }
.td-page .bc_single_book .date-wrapper .arrow { color: #94a3b8; font-size: 14px; transition: transform .2s; }
.td-page .bc_single_book .date-wrapper:hover .arrow { color: #1e293b; }
/* Guest selector */
.td-page .bc_single_book .form-guest-search {
    border: 1.5px solid #e5e7eb; border-top: none; border-radius: 0 0 12px 12px;
    padding: 6px 18px; margin-bottom: 20px; transition: border-color .2s, box-shadow .2s;
}
.td-page .bc_single_book .form-guest-search:hover,
.td-page .bc_single_book .form-guest-search:focus-within { border-color: #038a52; box-shadow: 0 0 0 3px rgba(3,138,82,.06); }
.td-page .bc_single_book .guest-wrapper { padding: 8px 0; }
.td-page .bc_single_book .guest-wrapper .render { margin-top: 2px; }
.td-page .bc_single_book .input-number-group { display: flex; align-items: center; gap: 8px; }
.td-page .bc_single_book .input-number-group i {
    font-size: 28px; cursor: pointer; color: #94a3b8; transition: all .15s;
    width: 34px; height: 34px; display: flex; align-items: center; justify-content: center;
    border-radius: 50%; border: 1px solid #e5e7eb; user-select: none;
}
.td-page .bc_single_book .input-number-group i:hover { color: #038a52; border-color: #038a52; }
.td-page .bc_single_book .input-number-group i:active { transform: scale(.92); }
.td-page .bc_single_book .input-number-group input,
.td-page .bc_single_book .input-number-group .input input {
    width: 40px; text-align: center; border: none; font-weight: 600; font-size: 16px;
    color: #1e293b; background: transparent; -moz-appearance: textfield;
}
.td-page .bc_single_book .input-number-group input::-webkit-outer-spin-button,
.td-page .bc_single_book .input-number-group input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.td-page .bc_single_book .input-number-group input:focus { outline: none; }
/* Extra prices */
.td-page .bc_single_book .form-section-group { padding: 0 24px 8px; }
.td-page .bc_single_book .form-section-group.form-group-padding { padding: 12px 24px 8px; border-top: 1px solid #f1f5f9; margin-top: 4px; }
.td-page .bc_single_book .form-section-title,
.td-page .bc_single_book h4.form-section-title {
    font-size: 12px !important; font-weight: 700; text-transform: uppercase; letter-spacing: .4px;
    color: #94a3b8; margin: 10px 0 8px; padding: 0;
}
.td-page .bc_single_book .extra-price-wrap { padding: 8px 0; font-size: 14px; color: #1e293b; }
.td-page .bc_single_book .extra-price-wrap label {
    text-transform: none !important; letter-spacing: 0 !important;
    font-size: 14px !important; font-weight: 400 !important; color: #1e293b !important; margin-bottom: 0;
}
.td-page .bc_single_book .extra-price-wrap .unit { font-weight: 500; color: #1e293b; font-size: 14px; }
.td-page .bc_single_book .extra-price-wrap input[type="checkbox"] {
    accent-color: #038a52; width: 16px; height: 16px; margin-right: 6px; vertical-align: middle; cursor: pointer;
}
.td-page .bc_single_book .extra-price-wrap .icofont-info-circle,
.td-page .bc_single_book .extra-price-wrap i[data-toggle="tooltip"] { font-size: 13px; color: #cbd5e1; margin-left: 3px; cursor: help; }
.td-page .bc_single_book .extra-price-wrap .icofont-info-circle:hover,
.td-page .bc_single_book .extra-price-wrap i[data-toggle="tooltip"]:hover { color: #64748b; }
/* Sale badge — hidden; price already shows discount */
.td-page .bc_single_book .tour-sale-box { display: none; }
/* Total */
.td-page .bc_single_book .form-section-total { padding: 18px 24px; border-top: 1px solid #f1f5f9; margin: 0; background: transparent; }
.td-page .bc_single_book .form-section-total li { display: flex; justify-content: space-between; align-items: center; padding: 7px 0; font-size: 15px; }
.td-page .bc_single_book .form-section-total li label {
    font-size: 15px !important; font-weight: 400 !important; color: #64748b !important;
    text-transform: none !important; letter-spacing: 0 !important; text-decoration: none;
}
.td-page .bc_single_book .form-section-total li:last-child label { font-weight: 600 !important; color: #1e293b !important; }
.td-page .bc_single_book .form-section-total .price { font-weight: 700; color: #1e293b; font-size: 15px; }
/* Reserve button */
.td-page .bc_single_book .form-book .submit-group { padding: 8px 24px 12px; }
.td-page .bc_single_book .submit-group .btn,
.td-page .bc_single_book .submit-group a.btn {
    width: 100%; border-radius: 12px; padding: 16px 18px; font-size: 16px; font-weight: 700;
    background: linear-gradient(135deg, #038a52 0%, #026f42 100%) !important;
    border-color: #038a52 !important; color: #fff !important;
    transition: all .25s; display: flex; align-items: center; justify-content: center; gap: 8px;
    text-decoration: none; text-transform: uppercase; letter-spacing: .8px;
    box-shadow: none;
}
.td-page .bc_single_book .submit-group .btn:hover,
.td-page .bc_single_book .submit-group a.btn:hover {
    background: linear-gradient(135deg, #f47c04 0%, #e06b00 100%) !important;
    border-color: #f47c04 !important; box-shadow: none;
    transform: translateY(-1px);
}
.td-page .bc_single_book .submit-group .btn:active,
.td-page .bc_single_book .submit-group a.btn:active { transform: translateY(0); }
.td-page .bc_single_book .submit-group .btn .fa-lock { font-size: 12px; opacity: .7; }
.td-page .bc_single_book .submit-group .btn.btn-success {
    background: linear-gradient(135deg, #038a52 0%, #026f42 100%) !important;
    border-color: #038a52 !important;
}
.td-page .bc_single_book .submit-group .btn.disabled,
.td-page .bc_single_book .submit-group a.btn.disabled {
    opacity: .5; cursor: not-allowed; transform: none !important; box-shadow: none !important;
}
.td-page .bc_single_book .submit-group .book-note-text {
    text-align: center; font-size: 13px; color: #94a3b8; margin: 10px 0 0; font-weight: 400;
}
.td-page .bc_single_book .submit-group .alert-text { font-size: 13px; border-radius: 8px; padding: 10px 14px; margin-top: 10px; }
.td-page .bc_single_book .submit-group .alert-text.danger { background: #fef2f2; color: #dc2626; border: 1px solid #fecaca; }
.td-page .bc_single_book .submit-group .alert-text.success { background: #f0fdf4; color: #16a34a; border: 1px solid #bbf7d0; }
/* Enquiry button */
.td-page .bc_single_book .form-send-enquiry { padding: 20px 24px 24px; }
.td-page .bc_single_book .form-send-enquiry .btn {
    width: 100%; border-radius: 12px; padding: 16px; font-size: 16px; font-weight: 700;
    background: transparent; border: 2px solid #038a52; color: #038a52;
    transition: all .25s; display: flex; align-items: center; justify-content: center; gap: 8px;
}
.td-page .bc_single_book .form-send-enquiry .btn:hover {
    background: #038a52; color: #fff; box-shadow: 0 4px 14px rgba(3,138,82,.2);
}
/* Trust Badges */
.td-page .bc_single_book .trust-badges {
    display: flex; justify-content: center; gap: 20px; padding: 16px 24px 22px;
    border-top: 1px solid #f1f5f9;
}
.td-page .bc_single_book .trust-badge-item {
    display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center;
}
.td-page .bc_single_book .trust-badge-item i {
    font-size: 18px; color: #038a52; width: 36px; height: 36px;
    display: flex; align-items: center; justify-content: center;
    background: #f0fdf4; border-radius: 50%;
}
.td-page .bc_single_book .trust-badge-item span {
    font-size: 11px; font-weight: 600; color: #64748b; letter-spacing: .2px; line-height: 1.3;
}
/* Fixed date */
.td-page .bc_single_book .form-date-field .d-flex.p-2 { padding: 0 !important; }
.td-page .bc_single_book .form-date-field .py-3 { padding: 16px 18px !important; }
.td-page .bc_single_book .form-date-field .font-weight-bold { font-size: 11px; text-transform: uppercase; letter-spacing: .5px; color: #64748b; margin-bottom: 4px; font-weight: 700; }
.td-page .bc_single_book .form-date-field .border-left { border-left: 1px solid #f1f5f9 !important; }
.td-page .bc_single_book .form-date-field .border-top { border-top: 1px solid #f1f5f9 !important; }
/* Dropdown */
.td-page .bc_single_book .custom-select {
    border: 1px solid #e5e7eb; border-radius: 10px; font-size: 14px; padding: 10px 14px;
    color: #1e293b; background-color: #fff; transition: border-color .2s;
}
.td-page .bc_single_book .custom-select:focus { border-color: #038a52; box-shadow: none; }
.td-page .bc_single_book .discount-by-people .unit,
.td-page .bc_single_book .extra-price-wrap .flex-shrink-0 .unit { white-space: nowrap; }
.td-page [v-cloak] { display: none !important; }

/* ── Vendor Widget ── */
.td-page .owner-info.widget-box {
    border: 1px solid #e5e7eb; border-radius: 16px; padding: 0; margin-bottom: 18px;
    overflow: hidden; background: #fff;
}
.td-page .owner-info .owner-info-header {
    padding: 12px 20px 10px; border-bottom: 1px solid #f1f5f9;
}
.td-page .owner-info .owner-info-badge {
    font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .6px;
    color: #64748b;
}
.td-page .owner-info .media { display: flex; align-items: center; gap: 14px; padding: 18px 20px 14px; }
.td-page .owner-info .avatar-cover {
    width: 52px; height: 52px; border-radius: 50%;
    background-size: cover; background-position: center; display: block; flex-shrink: 0;
    position: relative; border: 2px solid #e5e7eb;
}
.td-page .owner-info .avatar-verified-dot {
    position: absolute; bottom: -2px; right: -2px; width: 20px; height: 20px; border-radius: 50%;
    background: #038a52; color: #fff; display: flex; align-items: center; justify-content: center;
    font-size: 9px; border: 2px solid #fff;
}
.td-page .owner-info .media-heading { font-size: 15px; font-weight: 700; margin: 0 0 2px; }
.td-page .owner-info .media-heading a { color: #1e293b; text-decoration: none; }
.td-page .owner-info .media-heading a:hover { color: #038a52; }
.td-page .owner-info .media-body p {
    font-size: 12px; color: #94a3b8; margin: 0;
    display: flex; align-items: center; gap: 4px;
}
.td-page .owner-info .media-body p i { font-size: 11px; color: #cbd5e1; }
.td-page .owner-info .btn-message-host {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    width: calc(100% - 40px); margin: 0 20px 18px;
    padding: 10px 16px; border-radius: 10px; font-size: 13px; font-weight: 600;
    color: #1e293b; background: #f8fafc; border: 1.5px solid #e5e7eb;
    text-decoration: none; transition: all .2s;
}
.td-page .owner-info .btn-message-host:hover {
    background: #f0fdf4; border-color: #038a52; color: #038a52;
}
.td-page .owner-info .btn-message-host i { font-size: 15px; }
/* Legacy: hide old chat button style */
.td-page .owner-info .bc_start_chat { display: none; }

/* ── Open Hours ── */
.td-page .open-hour-item {
    display: flex; justify-content: space-between; padding: 6px 0;
    font-size: 13px; color: #475569;
}
.td-page .open-hour-item.current { font-weight: 700; color: #038a52; }

/* ── Reviews ── */
.td-page .bc-reviews { padding: 0; }
.td-page .bc-reviews > h3 { font-size: 22px; font-weight: 700; color: #222; margin-bottom: 24px; padding-bottom: 0; }
.td-page .bc-reviews .review-box { margin-bottom: 28px; padding: 24px; border: 1px solid #ebebeb; border-radius: 12px; background: #fafafa; }
.td-page .bc-reviews .review-box-score { text-align: left; }
.td-page .bc-reviews .review-score { font-size: 48px; font-weight: 800; color: #222; line-height: 1; }
.td-page .bc-reviews .review-score .per-total { font-size: 18px; font-weight: 400; color: #717171; }
.td-page .bc-reviews .review-score-text { font-size: 16px; font-weight: 600; color: #222; margin-top: 4px; }
.td-page .bc-reviews .review-score-base { font-size: 14px; color: #717171; margin-top: 2px; }
.td-page .bc-reviews .review-sumary .item { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.td-page .bc-reviews .review-sumary .label { font-size: 14px; font-weight: 500; color: #222; min-width: 80px; }
.td-page .bc-reviews .review-sumary .progress { flex: 1; height: 4px; border-radius: 2px; background: #ddd; }
.td-page .bc-reviews .review-sumary .percent { height: 100%; border-radius: 2px; background: #222; }
.td-page .bc-reviews .review-sumary .number { font-size: 14px; color: #717171; min-width: 20px; text-align: right; }
.td-page .bc-reviews .review-item { padding: 20px 0; border-bottom: 1px solid #ebebeb; }
.td-page .bc-reviews .review-item:last-child { border-bottom: none; }
.td-page .bc-reviews .review-item-head .media { display: flex; align-items: center; gap: 12px; }
.td-page .bc-reviews .review-item-head .avatar { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.td-page .bc-reviews .review-item-head .avatar-text {
    width: 44px; height: 44px; border-radius: 50%; background: #222; color: #fff;
    display: flex; align-items: center; justify-content: center; font-size: 16px; font-weight: 700;
}
.td-page .bc-reviews .review-item-head .media-heading { font-size: 16px; font-weight: 600; color: #222; margin: 0; }
.td-page .bc-reviews .review-item-head .date { font-size: 13px; color: #717171; }
.td-page .bc-reviews .review-item-body { margin-top: 12px; }
.td-page .bc-reviews .review-item-body .title { font-size: 16px; font-weight: 600; color: #222; margin: 0 0 6px; }
.td-page .bc-reviews .review-star { display: flex; gap: 2px; list-style: none; padding: 0; margin: 0 0 8px; }
.td-page .bc-reviews .review-star li i { color: #222; font-size: 12px; }
.td-page .bc-reviews .review-item-body .detail { font-size: 15px; color: #484848; line-height: 1.7; }
/* Review form */
.td-page .bc-reviews .review-form { margin-top: 32px; padding: 28px; border: 1px solid #ebebeb; border-radius: 12px; background: #fafafa; }
.td-page .bc-reviews .review-form .title-form { font-size: 20px; font-weight: 700; color: #222; margin-bottom: 20px; }
.td-page .bc-reviews .review-form h3 { font-size: 20px; border: none; padding: 0; margin-bottom: 16px; }
.td-page .bc-reviews .review-form .form-control {
    border: 1px solid #b0b0b0; border-radius: 8px; padding: 12px 16px; font-size: 15px;
    color: #222; background: #fff;
}
.td-page .bc-reviews .review-form .form-control:focus { border-color: #222; box-shadow: none; outline: none; }
.td-page .bc-reviews .review-form .form-control::placeholder { color: #b0b0b0; }
.td-page .bc-reviews .review-form textarea.form-control { min-height: 100px; }
.td-page .bc-reviews .review-items .item { margin-bottom: 12px; }
.td-page .bc-reviews .review-items .item label { font-size: 14px; font-weight: 500; color: #222; margin-bottom: 4px; display: block; }
.td-page .bc-reviews .review-items .rates { display: flex; gap: 4px; }
.td-page .bc-reviews .review-items .rates i { font-size: 22px; cursor: pointer; transition: color .15s; color: #ddd; }
.td-page .bc-reviews .review-items .rates i.fa-star { color: #222; }
.td-page .bc-reviews .review-items .rates i:hover { color: #222; }
.td-page .bc-reviews .review-form #submit,
.td-page .bc-reviews .review-form .btn {
    background: #038a52; border-color: #038a52; color: #fff;
    border-radius: 8px; padding: 12px 32px; font-size: 16px; font-weight: 600;
    transition: all .2s; margin-top: 16px;
}
.td-page .bc-reviews .review-form #submit:hover,
.td-page .bc-reviews .review-form .btn:hover { background: #f47c04; border-color: #f47c04; }
.td-page .bc-reviews .review-form .btn-primary,
.td-page .bc-reviews .review-form .btn-success { background: #038a52; border-color: #038a52; }
.td-page .bc-reviews .review-form .btn-primary:hover,
.td-page .bc-reviews .review-form .btn-success:hover { background: #f47c04; border-color: #f47c04; }
.td-page .bc-reviews .review-pag-wrapper { margin-top: 20px; text-align: center; }
.td-page .bc-reviews .review-pag-text { font-size: 14px; color: #717171; }
.td-page .bc-reviews .review-message { margin-top: 24px; padding: 20px; border: 1px solid #ebebeb; border-radius: 12px; font-size: 15px; color: #484848; text-align: center; }
.td-page .bc-reviews .review-message a { color: #222; font-weight: 600; text-decoration: underline; }
.td-page .bc-reviews .review_upload_item { width: 100%; height: 80px; border-radius: 8px; background-size: cover; background-position: center; cursor: pointer; }
.td-page .bc-reviews .review_upload_btn { border: 2px dashed #ddd; border-radius: 8px; padding: 16px; text-align: center; cursor: pointer; }
.td-page .bc-reviews .review_upload_btn:hover { border-color: #b0b0b0; }

/* ── Enquiry Modal ── */
.td-page .modal .modal-content {
    border-radius: 14px; border: none;
    box-shadow: 0 25px 80px rgba(0,0,0,.18); overflow: hidden;
}
.td-page .modal .modal-header {
    border-bottom: none; padding: 22px 28px 16px;
    background: linear-gradient(135deg, #f0fdf4 0%, #fafffe 60%, #fff 100%);
}
.td-page .modal .modal-title {
    font-size: 18px; font-weight: 700; color: #1e293b;
    display: flex; align-items: center; gap: 8px;
}
.td-page .modal .modal-title::before {
    content: '\f0e0'; font-family: 'Font Awesome 6 Free'; font-weight: 900;
    font-size: 14px; color: #038a52;
    width: 32px; height: 32px; display: inline-flex; align-items: center; justify-content: center;
    background: rgba(3,138,82,.08); border-radius: 8px;
}
.td-page .modal .modal-header .close {
    font-size: 20px; color: #9ca3af; opacity: 1;
    width: 32px; height: 32px; border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    transition: all .2s; padding: 0; margin: 0;
}
.td-page .modal .modal-header .close:hover { color: #1e293b; background: rgba(0,0,0,.04); }
.td-page .modal .modal-body { padding: 8px 28px 24px; }
.td-page .modal .modal-body .form-group { margin-bottom: 16px; }
.td-page .modal .form-control {
    border: 1.5px solid #e5e7eb; border-radius: 10px; padding: 12px 16px; font-size: 14px;
    color: #1e293b; transition: border-color .2s, box-shadow .2s;
    background: #fff;
}
.td-page .modal .form-control:focus {
    border-color: #038a52; box-shadow: 0 0 0 3px rgba(3,138,82,.08); outline: none;
    background: #fff;
}
.td-page .modal .form-control::placeholder { color: #94a3b8; }
.td-page .modal textarea.form-control { min-height: 90px; resize: vertical; }
/* intl-tel-input phone field */
.td-page .modal .iti { width: 100%; }
.td-page .modal .iti .form-control { padding-left: 52px !important; }
.td-page .modal .iti__flag-container {
    border-right: 1px solid #f1f5f9; border-radius: 10px 0 0 10px; overflow: hidden;
}
.td-page .modal .iti__selected-flag {
    padding: 0 8px 0 14px; border-radius: 10px 0 0 10px;
    transition: background .2s;
}
.td-page .modal .iti__selected-flag:hover { background: rgba(0,0,0,.02); }
.td-page .modal .iti__country-list {
    border-radius: 10px; border: 1px solid #e5e7eb;
    box-shadow: 0 8px 30px rgba(0,0,0,.12); max-height: 200px;
}
.td-page .modal .iti__country { padding: 8px 12px; font-size: 13px; }
.td-page .modal .iti__country:hover { background: #f0fdf4; }
.td-page .modal .iti__selected-dial-code { font-size: 13px; font-weight: 600; color: #374151; }
/* reCAPTCHA */
.td-page .modal .bc-recaptcha { margin-top: 6px; }
.td-page .modal .message_box { margin-top: 10px; }
.td-page .modal .message_box .alert { border-radius: 10px; font-size: 13px; padding: 10px 16px; }
/* Modal footer */
.td-page .modal .modal-footer {
    border-top: 1px solid #f1f5f9; padding: 16px 28px;
    gap: 10px; background: #fafbfc;
}
.td-page .modal .modal-footer .btn-secondary {
    border-radius: 10px; padding: 11px 22px; font-size: 13px; font-weight: 600;
    background: #fff; border: 1.5px solid #e5e7eb; color: #64748b;
    transition: all .2s;
}
.td-page .modal .modal-footer .btn-secondary:hover { background: #f8fafc; border-color: #cbd5e1; color: #475569; }
.td-page .modal .btn-primary,
.td-page .modal .btn-submit-enquiry {
    background: #038a52 !important; border-color: #038a52 !important;
    border-radius: 10px; font-weight: 700; color: #fff !important;
    padding: 11px 28px; font-size: 14px; text-transform: uppercase; letter-spacing: .3px;
    box-shadow: 0 4px 12px rgba(3,138,82,.2); transition: all .25s;
}
.td-page .modal .btn-primary:hover,
.td-page .modal .btn-submit-enquiry:hover {
    background: #f47c04 !important; border-color: #f47c04 !important;
    box-shadow: 0 4px 12px rgba(244,124,4,.25); transform: translateY(-1px);
}
.td-page .modal .btn-submit-enquiry .icon-loading { margin-left: 6px; }

/* ── Social Share & Wishlist ── */
.td-page .service-wishlist {
    cursor: pointer; transition: all .2s;
}
.td-page .service-wishlist:hover { color: #dc2626; }
.td-page .service-wishlist.active { color: #dc2626; }
.td-page .service-wishlist.active i::before { content: "\f004"; font-weight: 900; }

/* ── Mobile Book Bar ── */
.td-page .bc-more-book-mobile {
    z-index: 99; border-top: 1px solid #ebebeb;
    box-shadow: 0 -4px 20px rgba(0,0,0,.08); background: #fff;
}
.td-page .bc-more-book-mobile .container { display: flex; align-items: center; justify-content: space-between; padding: 10px 15px; }
.td-page .bc-more-book-mobile .left .g-price { display: flex; align-items: baseline; gap: 6px; }
.td-page .bc-more-book-mobile .left .prefix .fr_text { font-size: 11px; color: #717171; text-transform: uppercase; letter-spacing: .5px; }
.td-page .bc-more-book-mobile .left .price .onsale { font-size: 13px; color: #717171; text-decoration: line-through; }
.td-page .bc-more-book-mobile .left .price .text-price { font-size: 22px; font-weight: 800; color: #222; }
.td-page .bc-more-book-mobile .right .btn-primary,
.td-page .bc-more-book-mobile .right .btn {
    background: #038a52; border-color: #038a52; color: #fff;
    border-radius: 8px; font-weight: 600; font-size: 14px;
    padding: 10px 24px; transition: all .2s;
}
.td-page .bc-more-book-mobile .right .btn:hover { background: #f47c04; border-color: #f47c04; }

/* ── Global Overrides ── */
.td-page .form-control { border-radius: 10px; }
.td-page .form-control:focus { border-color: #038a52; box-shadow: none; }
.td-page .btn-primary { background: #038a52; border-color: #038a52; color: #fff; }
.td-page .btn-primary:hover { background: #f47c04; border-color: #f47c04; color: #fff; }

/* ── Availability Calendar & Daterangepicker ── */
.td-page .daterangepicker,
.td-page .bravo_single_book .daterangepicker { border-radius: 12px; border: 1px solid #ddd; box-shadow: 0 6px 20px rgba(0,0,0,.1); }
.td-page .daterangepicker .calendar { max-width: 50%; }
.td-page .daterangepicker .drp-calendar { padding: 12px; }
.td-page .daterangepicker .calendar-table th { font-size: 12px; font-weight: 600; color: #222; padding: 8px; }
.td-page .daterangepicker .calendar-table td { font-size: 14px; font-weight: 500; padding: 8px; border-radius: 50%; height: 36px; width: 36px; text-align: center; }
.td-page .daterangepicker td.active,
.td-page .daterangepicker td.active:hover { background: #222 !important; color: #fff !important; border-radius: 50%; }
.td-page .daterangepicker td.in-range { background: #f0f0f0 !important; color: #222; }
.td-page .daterangepicker td.start-date { border-radius: 50% !important; }
.td-page .daterangepicker td.end-date { border-radius: 50% !important; }
.td-page .daterangepicker .month { font-size: 15px; font-weight: 700; color: #222; }
.td-page .daterangepicker .prev, .td-page .daterangepicker .next { font-size: 14px; color: #222; }
.td-page .daterangepicker td.available:hover { background: #f0f0f0 !important; border-radius: 50%; }
.td-page .daterangepicker td.off { color: #ddd; }

/* ══════════════════════════════════════════════════════════════════════════
   CAR-SPECIFIC OVERRIDES (when using td-page class)
   ══════════════════════════════════════════════════════════════════════════ */

/* Car details card sections */
.td-page .listingSection__wrap {
    padding: 28px 0; margin-bottom: 0;
    border-bottom: 1px solid #ebebeb;
}
.td-page .listingSection__wrap:last-child { border-bottom: none; }
.td-page .listingSection__wrap h2 {
    font-size: 22px; font-weight: 700; color: #222; margin: 0 0 4px;
}
.td-page .listing-divider-sm { height: 1px; background: #ebebeb; margin: 16px 0; }
.td-page .listing-sub-text { font-size: 14px; color: #717171; }

/* Car title bar */
.td-page .listing-title-top {
    display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px;
}
.td-page .listing-badge {
    display: inline-block; font-size: 12px; font-weight: 600; color: #222;
    border: 1px solid #ddd; border-radius: 20px; padding: 4px 14px;
}
.td-page .listing-title-actions { display: flex; gap: 8px; }
.td-page .listing-action-btn {
    width: 36px; height: 36px; border-radius: 50%; border: 1px solid #ddd;
    background: #fff; display: flex; align-items: center; justify-content: center;
    cursor: pointer; font-size: 14px; color: #222; transition: all .2s;
}
.td-page .listing-action-btn:hover { background: #f7f7f7; }
.td-page .listing-action-btn--wishlist.active { color: #dc2626; border-color: #dc2626; }
.td-page .listing-title { font-size: 28px; font-weight: 700; color: #222; margin: 0 0 10px; line-height: 1.3; }
.td-page .listing-meta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.td-page .listing-meta-row--spread { justify-content: space-between; }
.td-page .listing-meta-item { display: inline-flex; align-items: center; gap: 4px; font-size: 14px; color: #717171; }
.td-page .listing-star-icon { color: #f59e0b; }

/* Car specs */
.td-page .listing-specs-row { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 16px; }
.td-page .listing-specs-row .spec-item { display: flex; align-items: center; gap: 6px; font-size: 14px; color: #484848; }
.td-page .listing-specs-row .spec-item i { color: #038a52; font-size: 14px; }
.td-page .listing-specs-row .spec-item-img { width: 18px; height: 18px; object-fit: contain; }

/* Car included items */
.td-page .listing-included-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.td-page .listing-included-item { display: flex; align-items: center; gap: 8px; font-size: 14px; color: #484848; }
.td-page .listing-included-item i { color: #038a52; }

/* Car checklist table */
.td-page .listing-checklist-table { border: 1px solid #ebebeb; border-radius: 12px; overflow: hidden; }
.td-page .checklist-table-row { display: flex; padding: 12px 16px; border-bottom: 1px solid #f1f5f9; }
.td-page .checklist-table-row:last-child { border-bottom: none; }
.td-page .checklist-table-label { flex: 0 0 40%; font-weight: 600; font-size: 14px; color: #222; }
.td-page .checklist-table-value { flex: 1; font-size: 14px; color: #484848; }

/* Car FAQ */
.td-page .listing-faq-item { border-bottom: 1px solid #ebebeb; }
.td-page .listing-faq-item:last-child { border-bottom: none; }
.td-page .listing-faq-header {
    display: flex; justify-content: space-between; align-items: center;
    padding: 14px 0; cursor: pointer; font-size: 16px; font-weight: 600; color: #222;
}
.td-page .listing-faq-header i { transition: transform .3s; color: #717171; font-size: 12px; }
.td-page .listing-faq-item.open .listing-faq-header i { transform: rotate(180deg); color: #222; }
.td-page .listing-faq-body { display: none; padding: 0 0 14px; font-size: 15px; line-height: 1.7; color: #484848; }
.td-page .listing-faq-item.open .listing-faq-body { display: block; }

/* Car pickup card (sidebar) */
.td-page .listing-pickup-card {
    border: 1px solid #e5e7eb; border-radius: 12px; padding: 20px; margin-bottom: 16px;
    background: #fff; box-shadow: 0 2px 12px rgba(0,0,0,.06);
}
.td-page .listing-pickup-card h3 { font-size: 16px; font-weight: 700; color: #222; margin: 0 0 16px; }
.td-page .pickup-timeline { position: relative; padding-left: 20px; }
.td-page .pickup-timeline::before {
    content: ''; position: absolute; left: 5px; top: 8px; bottom: 8px;
    width: 2px; background: #e5e7eb;
}
.td-page .pickup-timeline-item { position: relative; margin-bottom: 16px; }
.td-page .pickup-timeline-item:last-child { margin-bottom: 0; }
.td-page .pickup-timeline-dot {
    position: absolute; left: -20px; top: 4px; width: 12px; height: 12px;
    border-radius: 50%; background: #038a52; border: 2px solid #fff;
    box-shadow: 0 0 0 2px #038a52;
}
.td-page .pickup-timeline-label { font-size: 11px; text-transform: uppercase; letter-spacing: .5px; color: #717171; font-weight: 600; }
.td-page .pickup-timeline-address { font-size: 14px; color: #222; font-weight: 500; display: block; margin-top: 2px; }

/* Car description */
.td-page .listing-description { font-size: 16px; line-height: 1.8; color: #484848; }

/* Car availability calendar */
.td-page .listing-availability-calendar { margin-top: 12px; }
.td-page .avail-cal-wrap { display: flex; gap: 20px; }
.td-page .avail-cal-month { flex: 1; }
.td-page .avail-cal-month-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.td-page .avail-cal-month-title { font-size: 16px; font-weight: 700; color: #222; }
.td-page .avail-cal-arrow {
    width: 32px; height: 32px; border-radius: 50%; border: 1px solid #ddd;
    background: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center;
    font-size: 12px; color: #222; transition: all .2s;
}
.td-page .avail-cal-arrow:hover { background: #f7f7f7; }
.td-page .avail-cal-arrow.disabled { opacity: .3; cursor: default; }
.td-page .avail-cal-table { width: 100%; border-collapse: collapse; }
.td-page .avail-cal-table th { font-size: 12px; font-weight: 600; color: #717171; padding: 8px; text-align: center; }
.td-page .avail-cal-table td { padding: 6px; text-align: center; font-size: 14px; color: #222; }
.td-page .avail-cal-table td span { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; }
.td-page .avail-cal-table td:hover span { background: #f0f0f0; }
.td-page .avail-cal-table td.avail-today span { font-weight: 700; border: 2px solid #222; }
.td-page .avail-cal-table td.avail-past { color: #ddd; }
.td-page .avail-cal-table td.avail-past:hover span { background: transparent; }
@media (max-width: 576px) {
    .td-page .avail-cal-wrap { flex-direction: column; }
}

/* ══════════════════════════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════════════════════════ */

/* ── Mobile Book Bar: show on ≤991px ── */
@media (max-width: 991px) {
    .td-page .bc-more-book-mobile {
        display: flex !important;
        position: fixed;
        bottom: 0; left: 0; right: 0;
        z-index: 300;
        background: #fff;
        border-top: 1px solid #ebebeb;
        box-shadow: 0 -4px 20px rgba(0,0,0,.08);
        padding: 0;
    }
    .td-sidebar {
        position: relative !important;
        top: 0 !important;
        margin-top: 32px;
    }
    .td-map-fullwidth .td-map-canvas {
        height: 350px;
    }
    /* Pad bottom of page so fixed bar doesn't cover content */
    .td-page .bc_content { padding-bottom: 80px; }
}
@media (max-width: 767px) {
    .td-title-section { padding: 16px 0 12px; }
    .td-info-strip { padding: 16px 0; margin-bottom: 20px; }
    .td-section { margin-bottom: 24px; }
    .td-section-title { font-size: 18px; }
    .td-related { padding: 24px 0; }
    .td-map-fullwidth { padding: 32px 0 0; }

    /* Photo grid tablet intermediate */
    .td-photo-grid { height: 300px; }

    /* Title and actions stack */
    .td-main-title { font-size: 22px; }

    /* Info strip: 2 columns */
    .td-info-strip { gap: 16px; }
    .td-info-item { flex: 0 0 calc(50% - 8px); }

    /* Action buttons: minimum 44px touch target */
    .td-action-btn {
        width: 44px;
        height: 44px;
        font-size: 16px;
    }

    /* Related scroll items smaller for better peek */
    .td-related-scroll > .td-related-item {
        flex: 0 0 260px;
    }

    /* Booking form tighter padding */
    .td-page .bc_single_book .form-head { padding: 16px 16px 14px; }
    .td-page .bc_single_book .form-content { padding: 14px 16px 10px; }
    .td-page .bc_single_book .date-wrapper { padding: 10px 14px; }
    .td-page .bc_single_book .form-guest-search { padding: 6px 14px; }
    .td-page .bc_single_book .form-section-group { padding: 0 16px 8px; }
    .td-page .bc_single_book .form-section-group.form-group-padding { padding: 10px 16px 8px; }
    .td-page .bc_single_book .nav-enquiry { margin: 0 16px; }
    .td-page .bc_single_book .form-section-total { padding: 14px 16px; }
    .td-page .bc_single_book .form-book .submit-group { padding: 8px 16px 8px; }
    .td-page .bc_single_book .trust-badges { padding: 12px 16px 16px; gap: 12px; }
    .td-page .bc_single_book .trust-badge-item i { width: 30px; height: 30px; font-size: 14px; }
    .td-page .bc_single_book .trust-badge-item span { font-size: 10px; }
    .td-page .bc_single_book .form-head .price .text-lg,
    .td-page .bc_single_book .form-head .price .text-price { font-size: 24px !important; }
    .td-page .owner-info .btn-message-host { width: calc(100% - 32px); margin: 0 16px 14px; }

    /* Enquiry modal responsive */
    .td-page .modal .modal-dialog { margin: 10px; }
    .td-page .modal .modal-body { padding: 8px 16px 16px; }
    .td-page .modal .modal-header { padding: 16px; }
    .td-page .modal .modal-footer { padding: 12px 16px; }

    /* Reviews compact */
    .td-page .bc-reviews .review-box { padding: 16px; }
    .td-page .bc-reviews .review-score { font-size: 36px; }
    .td-page .bc-reviews .review-form { padding: 16px; }
}

/* ── Tablet detail layout (768-991px) ── */
@media (min-width: 768px) and (max-width: 991px) {
    .td-photo-grid { height: 340px; }
    .td-main-title { font-size: 24px; }
    .td-info-strip { gap: 20px; }
    .td-info-item { flex: 0 0 calc(50% - 10px); }
}

/* ── Small mobile fixes (≤576px) ── */
@media (max-width: 576px) {
    .td-related-scroll > .td-related-item {
        flex: 0 0 240px;
    }
    .td-map-fullwidth .td-map-canvas { height: 220px; }
    /* Daterangepicker mobile overflow */
    .td-page .daterangepicker {
        max-height: 90vh;
        overflow-y: auto;
    }
    .td-page .daterangepicker .calendar {
        max-width: 100%;
    }
    /* Info strip: full width per item on very small screens */
    .td-info-item { flex: 0 0 100%; }
    /* Photo grid even shorter */
    .td-photo-grid { height: 220px; }
    /* Review summary stack */
    .td-page .bc-reviews .review-box { flex-direction: column; }
}

/* ── Prevent content overflow ── */
.td-page .bc_content { overflow-x: hidden; max-width: 100%; }
.td-page, .td-page * { box-sizing: border-box; }
.td-overview { overflow-wrap: break-word; word-wrap: break-word; }
.td-overview img { max-width: 100%; height: auto; }
.td-overview table { max-width: 100%; overflow-x: auto; display: block; }
.td-overview iframe { max-width: 100%; }
