/* Modern Moorish theme — custom classes from the redesign mockups */

.theme-moorish { font-family: "Inter", sans-serif; }

.material-symbols-outlined {
    font-family: 'Material Symbols Outlined';
    font-weight: normal;
    font-style: normal;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    display: inline-block;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

.luxury-shadow { box-shadow: 0 10px 40px -12px rgba(45, 55, 72, 0.12); }
.hero-gradient { background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.65) 100%); }

.theme-moorish ::-webkit-scrollbar { width: 8px; }
.theme-moorish ::-webkit-scrollbar-track { background: #f1f4f6; }
.theme-moorish ::-webkit-scrollbar-thumb { background: #C05621; border-radius: 4px; }

/* Playfair for all headings inside the Moorish theme */
.theme-moorish h1, .theme-moorish h2, .theme-moorish h3,
.theme-moorish .font-display-lg, .theme-moorish .font-headline-lg, .theme-moorish .font-headline-md {
    font-family: "Playfair Display", serif;
}

/* Utility line-clamp for card descriptions */
.line-clamp-2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.line-clamp-3 { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* Keep inherited BC widgets usable inside the Moorish shell */
.theme-moorish .bravo_wrap_success, .theme-moorish .parent_text { font-family: "Inter", sans-serif; }

/* ===== Recolor BC's blue primary buttons/links to Terracotta brown ===== */
.theme-moorish .btn-primary,
.theme-moorish .btn-search,
.theme-moorish .btn-info,
.theme-moorish button.btn-primary,
.theme-moorish .bravo-booking-form .btn-primary,
.theme-moorish .btn.btn-primary {
    background-color: #9f3e07 !important;
    border-color: #9f3e07 !important;
    color: #ffffff !important;
}
.theme-moorish .btn-primary:hover,
.theme-moorish .btn-search:hover,
.theme-moorish .btn-info:hover,
.theme-moorish .btn.btn-primary:hover {
    background-color: #C05621 !important;
    border-color: #C05621 !important;
}
.theme-moorish .btn-outline-primary {
    color: #9f3e07 !important;
    border-color: #9f3e07 !important;
}
.theme-moorish .btn-outline-primary:hover {
    background-color: #9f3e07 !important;
    color: #fff !important;
}
/* Links, active states, price text, pagination */
.theme-moorish a { color: inherit; }
.theme-moorish .text-primary,
.theme-moorish .g-price .text-price,
.theme-moorish .price .text-price { color: #9f3e07 !important; }
.theme-moorish .page-item.active .page-link,
.theme-moorish .pagination .active a,
.theme-moorish .pagination .active span {
    background-color: #9f3e07 !important;
    border-color: #9f3e07 !important;
    color: #fff !important;
}
.theme-moorish .pagination a, .theme-moorish .page-link { color: #9f3e07; }
/* Booking widget submit / "Book Now" */
.theme-moorish .btn-large,
.theme-moorish .submit-group .btn,
.theme-moorish .bc-button-book-mobile {
    background-color: #9f3e07 !important;
    border-color: #9f3e07 !important;
    color: #fff !important;
}
.theme-moorish .btn-large:hover, .theme-moorish .submit-group .btn:hover { background-color: #C05621 !important; }

/* ===== Replace BC's blue (#5191fa) accents with the theme's terracotta/gold ===== */
/* Blue BACKGROUNDS -> terracotta (buttons, submits, progress, selected dates, score badge) */
.theme-moorish .btn.btn-primary,
.theme-moorish .bc-reviews .review-form .btn,
.theme-moorish .bc_wrap .bc_form .g-button-submit button,
.theme-moorish .frontend-page .modal.login .modal-content .modal-body .form-submit,
.theme-moorish .modal.login .form-submit,
.theme-moorish .bc-reviews .review-box .review-sumary .item .progress .percent,
.theme-moorish .item-loop-list .service-review-pc .head .score,
.theme-moorish .bc-box-category-tour .owl-dot.active,
.theme-moorish .map-loading .st-loader,
.theme-moorish .daterangepicker td.active,
.theme-moorish .daterangepicker td.active:hover,
.theme-moorish .daterangepicker .drp-calendar .calendar-table tbody tr td.start-date,
.theme-moorish .daterangepicker .drp-calendar .calendar-table tbody tr td.end-date,
.theme-moorish .daterangepicker .table-condensed .td-date.start-date,
.theme-moorish .daterangepicker .table-condensed .td-date.end-date,
.theme-moorish .daterangepicker .table-condensed .td-date.in-range {
    background-color: #9f3e07 !important;
    border-color: #9f3e07 !important;
    color: #fff !important;
}
.theme-moorish .btn.btn-primary:hover,
.theme-moorish .bc-reviews .review-form .btn:hover,
.theme-moorish .bc_wrap .bc_form .g-button-submit button:hover,
.theme-moorish .modal.login .form-submit:hover { background-color: #C05621 !important; }

/* Sale / featured tags -> sandy gold (matches the mockups) */
.theme-moorish .item-loop .sale_info,
.theme-moorish .item-loop-list .sale_info,
.theme-moorish .item-tour .featured,
.theme-moorish .item-hotel .featured {
    background-color: #D69E2E !important;
    color: #2D3748 !important;
    border-color: #D69E2E !important;
}

/* Blue TEXT colors -> terracotta (pagination, review score, form accents, arrows) */
.theme-moorish .bc-pagination ul li a.current,
.theme-moorish .bc-pagination ul li span.current,
.theme-moorish .bc-pagination ul li.active a,
.theme-moorish .bc-pagination ul li.active span,
.theme-moorish .bc-reviews .review-box .review-box-score .review-score,
.theme-moorish .bc_single_book .nav-enquiry .enquiry-item.active span,
.theme-moorish .hotel_rooms_form .nav-enquiry .enquiry-item.active span,
.theme-moorish .bc_wrap .bc_form .field-icon,
.theme-moorish .bc_wrap .bc_form .form-content .render,
.theme-moorish .bc_wrap .page-template-content .bc-call-to-action.style_2 .context .btn-more,
.theme-moorish .bc_wrap .page-template-content .bc-client-feedback .owl-nav .owl-next,
.theme-moorish .bc_wrap .page-template-content .bc-client-feedback .owl-nav .owl-prev,
.theme-moorish .item-loop .service-review .rate,
.theme-moorish .item-loop-list .service-review .rate {
    color: #9f3e07 !important;
}
.theme-moorish .bc-pagination ul li.active a,
.theme-moorish .bc-pagination ul li.active span { border-color: #9f3e07 !important; }

/* Search-page banner bar (navy #1a2b48 when no image) -> warm theme gradient.
   An inline background-image (when a banner is configured) overrides the gradient. */
.theme-moorish .bc_banner {
    background-color: #9f3e07 !important;
    background-image: linear-gradient(135deg, #9f3e07 0%, #2D3748 100%);
}
.theme-moorish .bc_banner h1, .theme-moorish .bc_banner .title { color: #fff !important; }
