/* Baobab Journeys - Theme-Reconciled Design System
   Inherits theme tokens (--bbj-c3, --bbj-c1, --bbj-c5, --bbj-c7, --bbj-c6) with safe fallbacks */

:root,
body,
.bbj-single-tour-container,
.bbj-taxonomy-page-v2 {
    /* Brand Colors - sourced from theme (bbj-atelier), fallbacks for admin/embeds */
    --bbj-primary: var(--bbj-c1, #DA9C59);
    --bbj-primary-hover: var(--bbj-c4, #001C24);

    --bbj-secondary: var(--bbj-c1, #DA9C59);
    --bbj-secondary-hover: var(--bbj-c4, #001C24);
    --bbj-secondary-light: var(--bbj-c2, #B98230);

    --bbj-accent: var(--bbj-c2, #B98230);
    --bbj-accent-hover: var(--bbj-c1, #DA9C59);

    --bbj-dark: var(--bbj-c3, #003240);
    --bbj-text-main: var(--bbj-c3, #003240);
    --bbj-text-muted: var(--bbj-c5, #5C7A82);

    --bbj-bg-light: var(--bbj-c6, #EAF2F4);
    --bbj-bg-white: var(--bbj-c8, #FFFFFF);
    --bbj-border-color: var(--bbj-c7, #D5E3E7);
    --bbj-glass-bg: rgba(244, 247, 251, 0.92);

    /* Mappings for legacy classes */
    --bbj-primary-light: var(--bbj-c2, #B98230);
    --bbj-primary-dark: var(--bbj-c4, #001C24);

    /* System */
    --bbj-success: #5a9a4a;
    --bbj-danger: var(--bbj-c1, #DA9C59);
    --bbj-warning: var(--bbj-c2, #B98230);

    /* Title/Heading Color */
    --bbj-title-color: var(--bbj-c3, #003240);

    /* UI Properties */
    --bbj-radius-sm: 10px;
    --bbj-radius-md: 16px;
    --bbj-radius-lg: 26px;
    --bbj-radius-xl: 38px;
    --bbj-radius-full: 999px;

    /* Smooth Shadows (cooler-toned to match theme palette) */
    --bbj-shadow-sm: 0 2px 4px rgba(10, 24, 48, 0.05);
    --bbj-shadow-md: 0 12px 24px rgba(10, 24, 48, 0.08);
    --bbj-shadow-lg: 0 24px 48px rgba(10, 24, 48, 0.12);
    --bbj-shadow-hover: 0 32px 64px rgba(10, 24, 48, 0.16);
    --bbj-shadow-xl: 0 36px 72px rgba(10, 24, 48, 0.20);

    --bbj-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

    /* Typography - matches theme (Sorts Mill Goudy for headings, Outfit for body, Kumbh Sans for small-caps labels) */
    --bbj-font-heading: 'Jost', Georgia, 'Times New Roman', serif;
    --bbj-font-body: 'Jost', system-ui, -apple-system, sans-serif;
    --bbj-font-label: 'Jost', 'Jost', system-ui, sans-serif;

    /* Grid Defaults */
    --bbj-grid-columns: 3;
    --bbj-grid-gap: 32px;
}

/* Global Reset & Base */
.bbj-container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 24px;
    font-family: var(--bbj-font-body);
    color: #003240;
    line-height: 1.6;
}

.bbj-container * {
    box-sizing: border-box;
}

/* Grids */
.bbj-grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(calc((100% / var(--bbj-grid-columns)) - var(--bbj-grid-gap)), 1fr));
    gap: var(--bbj-grid-gap);
}

.bbj-grid-2,
.bbj-tours-grid.bbj-grid-2,
.bbj-operators-grid.bbj-grid-2,
.bbj-taxonomy-grid.bbj-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--bbj-grid-gap);
}

@media (max-width: 768px) {
    .bbj-grid-2,
    .bbj-tours-grid.bbj-grid-2,
    .bbj-operators-grid.bbj-grid-2,
    .bbj-taxonomy-grid.bbj-grid-2 {
        grid-template-columns: 1fr;
    }
}

/* Typography Overrides */
h1,
h2,
h3,
h4,
.bbj-font-heading {
    font-family: var(--bbj-font-heading);
    color: #003240;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

/* Modern Buttons */
.bbj-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: var(--bbj-radius-md);
    font-weight: 600;
    text-decoration: none !important;
    transition: var(--bbj-transition);
    border: none;
    cursor: pointer;
    font-size: 15px;
    gap: 10px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.bbj-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(-100%);
    transition: var(--bbj-transition);
    z-index: -1;
}

.bbj-button:hover::before {
    transform: translateX(0);
}

.bbj-button:hover {
    transform: translateY(-3px);
    text-decoration: none !important;
}

.bbj-button-primary {
    background: #DA9C59 !important;
    color: white !important;
    text-decoration: none !important;
}

.bbj-button-primary:hover {
    background: #d96c1a !important;
    box-shadow: var(--bbj-shadow-md);
    text-decoration: none !important;
}

.bbj-button-outline {
    background: transparent;
    border: 2px solid #DA9C59;
    color: #DA9C59;
}

.bbj-button-outline:hover {
    background: #DA9C59;
    color: white;
}

.bbj-button-block {
    display: inline-flex;
    width: auto;
    min-width: 240px;
    margin: 0 auto;
}

/* --- Premium Tour Card (2026 Modern) --- */
.bbj-tour-card {
    background: #ffffff;
    border-radius: var(--bbj-radius-lg);
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 1px solid #D5E3E7;
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
}

.bbj-tour-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(70, 63, 57, 0.1), 0 1px 3px rgba(0, 0, 0, 0.04);
    border-color: #e8a49e;
}

.bbj-featured-ribbon {
    position: absolute;
    top: 16px;
    left: 16px;
    background: #DA9C59 !important;
    color: white !important;
    padding: 5px 14px;
    transform: none;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 10;
    border-radius: var(--bbj-radius-sm);
    right: auto;
}

.bbj-tour-image {
    position: relative;
    height: 260px;
    overflow: hidden;
    background: #f0eeeb;
}

.bbj-tour-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.bbj-tour-card:hover .bbj-tour-image img {
    transform: scale(1.04);
}

/* Card Overlays */
.bbj-tour-badges {
    position: absolute;
    top: 16px;
    left: 16px;
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    z-index: 2;
}

.bbj-badge {
    background: rgba(255, 255, 255, 0.92);
    color: #DA9C59;
    padding: 5px 12px;
    border-radius: var(--bbj-radius-full);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.02em;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.bbj-gallery-badge {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(70, 63, 57, 0.85);
    color: white;
    padding: 5px 10px;
    border-radius: var(--bbj-radius-full);
    font-size: 11px;
    display: flex;
    align-items: center;
    gap: 5px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

/* Card Content */
.bbj-tour-content {
    padding: 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Operator Branding */
.bbj-tour-operator-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.bbj-brand-logo {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    background: white;
}

.bbj-brand-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.bbj-brand-name {
    font-size: 12px;
    font-weight: 600;
    color: #5C7A82;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Card Title */
.bbj-tour-title {
    font-size: 20px;
    line-height: 1.4;
    margin-bottom: 12px;
    color: #003240;
    font-weight: 700;
}

/* Title & Stats */
.bbj-tour-header {
    margin: 0 0 16px;
    font-size: 16px;
    line-height: 1.3;
}

.bbj-tour-title a {
    color: #003240;
    text-decoration: none !important;
    transition: var(--bbj-transition);
}

.bbj-tour-title a:hover {
    color: #DA9C59;
}

.bbj-tour-meta {
    display: flex;
    justify-content: flex-start;
    gap: 20px;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px dashed #D5E3E7;
}

.bbj-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #5C7A82;
    font-weight: 500;
}

.bbj-meta-item .dashicons {
    color: #DA9C59;
    font-size: 18px;
    width: 18px;
    height: 18px;
}

/* Card Footer */
.bbj-tour-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.bbj-tour-price {
    display: flex;
    flex-direction: column;
}

.bbj-tour-price .amount-prefix {
    font-size: 11px;
    text-transform: uppercase;
    color: #5C7A82;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 2px;
}

.bbj-tour-price .amount {
    font-size: 20px;
    font-weight: 800;
    color: #DA9C59;
    font-family: var(--bbj-font-heading);
}

/* --- Operator Card --- */
.bbj-operator-card {
    background: #ffffff;
    padding: 40px 32px;
    border-radius: var(--bbj-radius-lg);
    border: 1px solid #D5E3E7;
    text-align: center;
    transition: var(--bbj-transition);
    position: relative;
}

.bbj-operator-card:hover {
    box-shadow: 0 16px 32px rgba(70, 63, 57, 0.08);
    border-color: #e8a49e;
    transform: translateY(-4px);
}

.bbj-operator-logo {
    width: 110px;
    height: 110px;
    margin: 0 auto 24px;
    background: white;
    border-radius: 50%;
    padding: 8px;
    box-shadow: var(--bbj-shadow-md);
    border: 1px solid #D5E3E7;
}

.bbj-operator-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
}

.bbj-badge-verified {
    background: #DA9C59;
    color: white;
    padding: 4px 12px;
    font-size: 10px;
    font-weight: 700;
    border-radius: var(--bbj-radius-sm);
    text-transform: uppercase;
}

/* --- Single Tour Page --- */
.bbj-single-tour-container {
    background: #EAF2F4;
    padding: 60px 0;
}

.bbj-tour-header {
    margin-bottom: 40px;
}

.bbj-single-tour-container .bbj-tour-header .bbj-tour-title,
.bbj-single-tour-container > .bbj-tour-content > .bbj-tour-title,
.bbj-single-tour-container > .bbj-tour-title {
    font-family: var(--bbj-font-heading);
    font-size: clamp(34px, 5vw, 56px);
    margin-bottom: 20px;
    letter-spacing: -0.02em;
    line-height: 1.1;
    font-weight: 400;
    color: #003240;
}

/* Section subheadings on the single tour page (Itinerary, Highlights, etc.) */
.bbj-single-tour-container .bbj-section-title,
.bbj-single-tour-container h2,
.bbj-single-tour-container .bbj-tour-section h2 {
    font-family: var(--bbj-font-heading);
    font-size: clamp(26px, 3vw, 34px);
    line-height: 1.2;
    letter-spacing: -0.01em;
    font-weight: 400;
    color: #003240;
}

.bbj-single-tour-container h3,
.bbj-single-tour-container .bbj-itinerary-day-title {
    font-family: var(--bbj-font-heading);
    font-size: clamp(20px, 2vw, 24px);
    line-height: 1.25;
    font-weight: 400;
    color: #003240;
}

/* Body copy bump on single tour page */
.bbj-single-tour-container,
.bbj-single-tour-container p,
.bbj-single-tour-container .bbj-tour-description,
.bbj-single-tour-container li {
    font-family: var(--bbj-font-body);
    font-size: 17px;
    line-height: 1.7;
    color: #003240;
}

/* Overview / description vertical rhythm
   Theme + Elementor zero out p/h/ul margins, so we re-establish breathing
   room within the tour-description block specifically. */
.bbj-single-tour-container .bbj-tour-description > p,
.bbj-single-tour-container .bbj-tour-description > ul,
.bbj-single-tour-container .bbj-tour-description > ol,
.bbj-single-tour-container .bbj-tour-description > blockquote {
    margin: 0 0 1.1em 0;
}

.bbj-single-tour-container .bbj-tour-description > h2,
.bbj-single-tour-container .bbj-tour-description > h3,
.bbj-single-tour-container .bbj-tour-description > h4 {
    margin: 1.8em 0 0.6em 0;
}

.bbj-single-tour-container .bbj-tour-description > h2:first-child,
.bbj-single-tour-container .bbj-tour-description > h3:first-child,
.bbj-single-tour-container .bbj-tour-description > h4:first-child,
.bbj-single-tour-container .bbj-tour-description > p:first-child {
    margin-top: 0;
}

.bbj-single-tour-container .bbj-tour-description ul,
.bbj-single-tour-container .bbj-tour-description ol {
    padding-left: 1.4em;
    list-style: disc;
}

.bbj-single-tour-container .bbj-tour-description ol {
    list-style: decimal;
}

.bbj-single-tour-container .bbj-tour-description li {
    margin: 0.35em 0;
}

.bbj-single-tour-container .bbj-tour-description li::marker {
    color: #DA9C59;
}

/* Stacks of bold sub-headings separated only by <br> get spaced out so they
   read like distinct lines rather than a wall of bold text */
.bbj-single-tour-container .bbj-tour-description p > br {
    display: block;
    content: "";
    margin-top: 0.4em;
}

.bbj-single-tour-container .bbj-tour-description p b,
.bbj-single-tour-container .bbj-tour-description p strong {
    display: inline-block;
}

/* Related tour cards inside single tour - keep card-sized titles */
.bbj-single-tour-container .bbj-related-tours .bbj-tour-title,
.bbj-single-tour-container .bbj-tour-card .bbj-tour-title {
    font-size: 22px;
    line-height: 1.25;
    letter-spacing: 0;
    margin-bottom: 10px;
    font-weight: 700;
}

.bbj-tour-header-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
}

.bbj-meta-pill {
    background: #ffffff;
    padding: 10px 20px;
    border-radius: var(--bbj-radius-full);
    font-size: 13px;
    font-weight: 600;
    color: #DA9C59;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid #D5E3E7;
    transition: var(--bbj-transition);
}

.bbj-meta-pill .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
    color: #DA9C59;
}

a.bbj-meta-pill,
a.bbj-meta-pill-link {
    text-decoration: none !important;
    color: #DA9C59;
}

a.bbj-meta-pill:hover,
a.bbj-meta-pill-link:hover {
    border-color: #DA9C59;
    color: #B98230;
    box-shadow: var(--bbj-shadow-sm);
}

.bbj-price-pill {
    background: #DA9C59 !important;
    color: white !important;
    border-color: #DA9C59 !important;
    font-weight: 700;
}

.bbj-tour-layout {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 40px;
    align-items: start;
}

/* Gallery Refinement */
.bbj-tour-gallery-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 8px;
    margin-bottom: 40px;
    border-radius: var(--bbj-radius-xl);
    overflow: hidden;
    max-height: 420px;
}

.bbj-gallery-main {
    aspect-ratio: 4 / 3;
    max-height: 420px;
    overflow: hidden;
}

.bbj-gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.6s ease;
}

.bbj-gallery-main:hover img {
    transform: scale(1.02);
}

.bbj-gallery-thumbs {
    display: grid;
    grid-template-rows: repeat(2, 1fr);
    gap: 8px;
    max-height: 420px;
}

.bbj-gallery-thumb {
    position: relative;
    overflow: hidden;
    border-radius: 0;
    min-height: 0;
}

.bbj-gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.6s ease;
}

.bbj-gallery-thumb:hover img {
    transform: scale(1.04);
}

/* Sticky Booking Card */
.bbj-book-card {
    background: #ffffff;
    padding: 32px;
    border-radius: var(--bbj-radius-lg);
    box-shadow: var(--bbj-shadow-lg);
    border: 1px solid #D5E3E7;
    position: sticky;
    top: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.bbj-price-amount {
    display: block;
    font-size: 36px;
    font-weight: 800;
    color: #DA9C59;
    margin: 8px 0 24px;
    font-family: var(--bbj-font-heading);
}

/* Timeline/Itinerary */
.bbj-itinerary-timeline {
    position: relative;
    padding-left: 40px;
    margin-top: 15px;
    padding: 10px 15px;
    border-radius: var(--bbj-radius-md);
    font-size: 0.95rem;
}

.bbj-message.bbj-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.bbj-message.bbj-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}


.bbj-message.bbj-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.bbj-message.bbj-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.bbj-itinerary-timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #D5E3E7;
}

.bbj-timeline-item {
    position: relative;
    margin-bottom: 48px;
}

.bbj-timeline-marker {
    position: absolute;
    left: -40px;
    width: 32px;
    height: 32px;
    background: #DA9C59;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    z-index: 2;
    border: 4px solid #EAF2F4;
    box-shadow: 0 0 0 1px #D5E3E7;
}

.bbj-timeline-content {
    background: #ffffff;
    padding: 32px;
    border-radius: var(--bbj-radius-md);
    border: 1px solid #D5E3E7;
    box-shadow: var(--bbj-shadow-sm);
}

/* Filters Sidebar Styling */
.bbj-sidebar-filters {
    background: #ffffff;
    border-radius: var(--bbj-radius-lg);
    border: 1px solid #D5E3E7;
    overflow: hidden;
    box-shadow: var(--bbj-shadow-sm);
}

.bbj-filters-header {
    background: #fcfaf7;
    padding: 24px;
    border-bottom: 1px solid #D5E3E7;
}

.bbj-filter-section {
    border-bottom: 1px solid #D5E3E7;
}

.bbj-filter-title {
    padding: 20px 24px;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 700;
    margin: 0;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
}

.bbj-filter-content {
    padding: 0 24px 24px;
}

/* =========================================
   Taxonomy Pages & Grids (Premium Redesign)
   ========================================= */

/* Hero Section */
.bbj-taxonomy-page-v2 .bbj-operator-hero {
    height: 60vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    position: relative;
    color: #fff;
    text-align: center;
}

.bbj-taxonomy-page-v2 .bbj-hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.center-breadcrumbs {
    justify-content: center;
    margin-bottom: 20px;
}

.center-breadcrumbs,
.center-breadcrumbs a {
    color: rgba(255, 255, 255, 0.8) !important;
}

.bbj-taxonomy-page-v2 .bbj-hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -1px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.bbj-taxonomy-page-v2 .bbj-hero-desc {
    font-size: 1.15rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Centered Stats in Hero */
.bbj-hero-stats-integrated.centered-stats {
    display: inline-flex;
    justify-content: center;
    gap: 40px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 15px 30px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.bbj-hero-stats-integrated.centered-stats .bbj-hero-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.bbj-hero-stats-integrated.centered-stats .bbj-stat-val {
    font-size: 1.5rem;
    color: #fff;
}

.bbj-hero-stats-integrated.centered-stats .bbj-stat-lbl {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Main Content Area */
.bbj-taxonomy-main {
    padding: 60px 0;
    background: #EAF2F4;
}

.bbj-taxonomy-main .bbj-section-header {
    margin-bottom: 40px;
    text-align: center;
}

.bbj-subtitle {
    font-size: 1.1rem;
    color: #5C7A82;
    margin-top: 10px;
}

/* Taxonomy Grid System */
.bbj-taxonomy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

.bbj-taxonomy-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    height: 380px;
    display: block;
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s ease;
}

.bbj-taxonomy-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.bbj-taxonomy-image {
    width: 100%;
    height: 100%;
}

.bbj-taxonomy-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.bbj-taxonomy-card:hover .bbj-taxonomy-image img {
    transform: scale(1.1);
}

/* Card Overlay */
.bbj-taxonomy-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85), transparent);
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 60%;
}

.bbj-taxonomy-overlay h3 {
    color: #fff;
    margin: 0 0 10px;
    font-size: 1.75rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.bbj-taxonomy-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    opacity: 0.9;
}

.bbj-taxonomy-meta .bbj-count {
    font-size: 0.95rem;
    font-weight: 500;
}

.bbj-taxonomy-meta .bbj-arrow {
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.bbj-taxonomy-card:hover .bbj-taxonomy-meta .bbj-arrow {
    background: #fff;
    color: #DA9C59;
}

/* Responsive */
@media (max-width: 768px) {
    .bbj-taxonomy-page-v2 .bbj-hero-title {
        font-size: 2.5rem;
    }

    .bbj-hero-stats-integrated.centered-stats {
        width: 100%;
        gap: 20px;
        padding: 15px;
    }

    .bbj-taxonomy-grid {
        grid-template-columns: 1fr;
    }
}

.bbj-taxonomy-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--bbj-shadow-xl);
}

.bbj-taxonomy-image {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.bbj-taxonomy-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.2, 1, 0.4, 1);
}

.bbj-taxonomy-card:hover .bbj-taxonomy-image img {
    transform: scale(1.1);
}

.bbj-taxonomy-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 24px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0));
    color: white;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 100%;
}

.bbj-taxonomy-overlay h3 {
    color: white;
    font-size: 20px;
    margin: 0 0 4px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.bbj-taxonomy-overlay .bbj-count {
    font-size: 13px;
    opacity: 0.9;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Sidebar Layout Logic */
.bbj-tours-page-wrapper.with-sidebar,
.bbj-operators-page-wrapper.with-sidebar {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
    align-items: start;
}

/* ===== Safari-companies directory: full-width band, no filter sidebar ===== */
.bbj-directory-band {
    max-width: 1240px;
    margin: 0 auto 48px;
    padding-inline: 24px;
}
.bbj-operators-page-wrapper.with-sidebar {
    display: block;
}
.bbj-operators-page-wrapper .bbj-sidebar-area {
    display: none;
}
.bbj-operators-page-wrapper .bbj-main-content {
    width: 100%;
    min-width: 0;
    max-width: 1040px;
    margin-inline: auto;
}
.bbj-inline-featured {
    margin: 34px 0;
}
.bbj-inline-featured img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 14px;
}

.bbj-sidebar-area {
    width: 100%;
}

.bbj-sticky-sidebar {
    position: sticky;
    top: 30px;
    max-height: calc(100vh - 60px);
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.bbj-sticky-sidebar > .bbj-sidebar-filters {
    display: flex;
    flex-direction: column;
    min-height: 0;
    flex: 1 1 auto;
    overflow: hidden;
}

.bbj-sticky-sidebar > .bbj-sidebar-filters > .bbj-filters-header {
    flex: 0 0 auto;
}

.bbj-sticky-sidebar #bbj-filters-form {
    display: flex;
    flex-direction: column;
    min-height: 0;
    flex: 1 1 auto;
}

.bbj-sticky-sidebar #bbj-filters-form > .bbj-filter-section,
.bbj-sticky-sidebar #bbj-filters-form > input[type="hidden"] {
    flex: 0 0 auto;
}

.bbj-sticky-sidebar #bbj-filters-form .bbj-filters-footer {
    flex: 0 0 auto;
    margin-top: auto;
}

/* Scroll all filter sections (everything between header and footer)
   inside the form, so the Apply button stays pinned at the bottom. */
.bbj-sticky-sidebar #bbj-filters-form {
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-gutter: stable;
    scrollbar-width: thin;
    scrollbar-color: #cfd6e0 transparent;
}

.bbj-sticky-sidebar #bbj-filters-form::-webkit-scrollbar {
    width: 8px;
}

.bbj-sticky-sidebar #bbj-filters-form::-webkit-scrollbar-track {
    background: transparent;
}

.bbj-sticky-sidebar #bbj-filters-form::-webkit-scrollbar-thumb {
    background: #cfd6e0;
    border-radius: 4px;
    border: 2px solid #fff;
    background-clip: padding-box;
}

.bbj-sticky-sidebar #bbj-filters-form .bbj-filters-footer {
    position: sticky;
    bottom: 0;
    background: #f9f9f9;
    z-index: 2;
}

/* Keep count badges from sitting under the scrollbar, and ensure
   the first section's title isn't crowded against the dark header. */
.bbj-sticky-sidebar #bbj-filters-form > .bbj-filter-section:first-of-type > .bbj-filter-title {
    border-top: 0;
}

.bbj-sticky-sidebar .bbj-filter-list .count {
    margin-left: auto;
    flex-shrink: 0;
}

.bbj-sticky-sidebar .bbj-filter-list .label-text {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-width: 0;
}

.bbj-main-content {
    width: 100%;
    min-width: 0;
    /* Prevents grid blowout */
}

/* Premium Filter Styling (Enhanced) */
.bbj-sidebar-filters {
    background: #ffffff;
    border-radius: var(--bbj-radius-lg);
    border: 1px solid #D5E3E7;
    overflow: hidden;
    box-shadow: var(--bbj-shadow-md);
    /* Increased shadow */
}

.bbj-filters-header {
    background: #EAF2F4;
    /* Softer header bg */
    padding: 24px;
    border-bottom: 1px solid #D5E3E7;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.bbj-filters-header h3 {
    font-size: 18px;
    margin: 0;
    color: #003240;
}

.bbj-reset-link {
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: rgba(255, 255, 255, 0.9);
    font-size: 11px;
    cursor: pointer;
    text-decoration: none;
    transition: var(--bbj-transition);
    padding: 4px 12px;
    border-radius: var(--bbj-radius-sm);
    font-weight: 600;
}

.bbj-reset-link:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.6);
}

.bbj-filter-group {
    padding: 24px;
    border-bottom: 1px solid #D5E3E7;
}

.bbj-filter-group:last-child {
    border-bottom: none;
}

.bbj-filter-title {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
    margin: 0 0 16px;
    color: #DA9C59;
}

.bbj-form-control {
    width: 100%;
    padding: 12px;
    border: 1px solid #D5E3E7;
    border-radius: var(--bbj-radius-sm);
    font-family: var(--bbj-font-body);
    font-size: 14px;
    transition: var(--bbj-transition);
}

.bbj-form-control:focus {
    border-color: #DA9C59;
    outline: none;
    box-shadow: 0 0 0 3px rgba(70, 63, 57, 0.1);
}

/* Checkbox/Radio Styling */
.bbj-checkbox-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.bbj-checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #003240;
    cursor: pointer;
    transition: var(--bbj-transition);
}

.bbj-checkbox-label:hover {
    color: #DA9C59;
}

.bbj-checkbox-label input {
    accent-color: #DA9C59;
    width: 16px;
    height: 16px;
}

.bbj-stars .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
    color: #f0ad4e;
}

.bbj-price-inputs {
    display: flex;
    align-items: center;
    gap: 10px;
}

.bbj-price-separator {
    color: #5C7A82;
    font-weight: 600;
}

.bbj-checkbox {
    padding: 10px 0;
    transition: var(--bbj-transition);
}

.bbj-checkbox:hover {
    padding-left: 8px;
    color: #DA9C59;
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
    .bbj-tours-page-wrapper.with-sidebar {
        grid-template-columns: 1fr;
    }

    .bbj-sidebar-area {
        margin-bottom: 32px;
    }

    .bbj-tour-layout {
        grid-template-columns: 1fr;
    }

    .bbj-book-card {
        position: static;
        margin-top: 40px;
    }
}

@media (max-width: 768px) {
    .bbj-tour-title {
        font-size: 32px;
    }

    .bbj-gallery-grid {
        grid-template-columns: 1fr;
    }

    .bbj-gallery-main {
        aspect-ratio: 16 / 10;
        max-height: 280px;
    }

    .bbj-tour-gallery-grid {
        max-height: none;
    }

    .bbj-gallery-thumbs {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: none;
    }
}

/* --- Operator Profile V2 --- */
.bbj-operator-profile-v2 {
    background: #EAF2F4;
}

.bbj-operator-hero {
    position: relative;
    padding: 100px 0 160px;
    background-size: cover;
    background-position: center;
    color: white;
    overflow: hidden;
}

.bbj-hero-grid {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 60px;
    align-items: center;
}

.bbj-hero-logo {
    width: 160px;
    height: 160px;
    background: white;
    border-radius: 50%;
    padding: 15px;
    margin-bottom: 32px;
    border: 8px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    overflow: hidden;
    transition: var(--bbj-transition);
}

.bbj-hero-logo:hover {
    transform: scale(1.05) rotate(5deg);
    border-color: rgba(255, 255, 255, 0.3);
}

.bbj-hero-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.bbj-breadcrumbs {
    font-size: 13px;
    margin-bottom: 24px;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.bbj-breadcrumbs a {
    color: white;
    text-decoration: none;
    transition: var(--bbj-transition);
}

.bbj-breadcrumbs a:hover {
    opacity: 1;
    text-decoration: underline;
}

.bbj-hero-title {
    font-size: 64px;
    line-height: 1.1;
    margin: 0 0 40px;
    letter-spacing: -0.04em;
    font-weight: 800;
    color: #ffffff !important;

}

.bbj-hero-meta-integrated {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.bbj-hero-badges {
    display: flex;
    gap: 12px;
}

.bbj-hero-stats-integrated {
    display: flex;
    gap: 48px;
    padding: 24px 32px;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: var(--bbj-radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: fit-content;
}

.bbj-hero-stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
    background: rgba(255, 255, 255, 0.1);
    padding: 10px 15px;
    border-radius: var(--bbj-radius-sm);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    min-width: 100px;
}

.bbj-stat-val {
    font-size: 24px;
    font-weight: 800;
    font-family: var(--bbj-font-heading);
    color: white;
    /* Fixed black text issue, was gold */
}

.bbj-stat-lbl {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.9;
    font-weight: 700;
    color: white;
    /* Ensure white text */
}

.bbj-hero-stars {
    color: #ffd700;
}

/* Enquiry Card */
.bbj-hero-side {
    position: relative;
    z-index: 10;
}

.bbj-enquiry-card {
    background: white;
    padding: 48px;
    border-radius: var(--bbj-radius-xl);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.25);
    color: #003240;
    text-align: center;
    border: 1px solid #D5E3E7;
}

.bbj-enquiry-card h3 {
    font-size: 28px;
    margin-bottom: 16px;
    color: #DA9C59;
}

.bbj-enquiry-card p {
    font-size: 15px;
    color: #5C7A82;
    margin-bottom: 32px;
}

.bbj-button-modern {
    background: #DA9C59 !important;
    color: white !important;
    padding: 20px 32px;
    font-size: 16px;
    font-weight: 800;
    width: 100%;
    border-radius: var(--bbj-radius-lg);
    box-shadow: 0 10px 20px rgba(236, 123, 35, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: var(--bbj-transition);
    text-decoration: none !important;
}

.bbj-button-modern:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(236, 123, 35, 0.5);
    background: #a83327;
}

.bbj-button-modern .dashicons {
    font-size: 24px;
    width: 24px;
    height: 24px;
}

/* Profile Tabs */
.bbj-profile-tabs-wrapper {
    background: #ffffff;
    border-bottom: 1px solid #D5E3E7;
    /* position: sticky; - Disabled per user request */
    /* top: 0; */
    /* z-index: 99; */
}

.bbj-profile-tabs {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 40px;
}

.bbj-profile-tabs li {
    padding: 24px 0;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    color: #5C7A82;
    position: relative;
    transition: var(--bbj-transition);
}

.bbj-profile-tabs li:hover {
    color: #DA9C59;
}

.bbj-profile-tabs li.active {
    color: #DA9C59;
}

.bbj-profile-tabs li.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: #DA9C59;
    /* Standardized Teal -> Secondary */
}

/* Tab Content */
.bbj-tab-content-wrapper {
    padding: 60px 0 100px;
}

.bbj-tab-content {
    display: none;
}

.bbj-tab-content.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.bbj-section-header {
    margin-bottom: 40px;
}

.bbj-section-header h3 {
    font-size: 32px;
    letter-spacing: -0.02em;
}

/* Responsive */
@media (max-width: 992px) {
    .bbj-hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .bbj-hero-side {
        order: -1;
        /* Move enquiry card up on tablets */
    }

    .bbj-hero-title {
        font-size: 48px;
    }

    .bbj-hero-stats-integrated {
        flex-wrap: wrap;
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .bbj-operator-hero {
        padding: 60px 0 80px;
        text-align: center;
    }

    .bbj-hero-logo {
        margin: 0 auto 24px;
        width: 120px;
        height: 120px;
    }

    .bbj-hero-badges,
    .bbj-hero-stats-integrated {
        justify-content: center;
        margin: 0 auto;
    }

    .bbj-hero-title {
        font-size: 36px;
    }

    .bbj-profile-tabs {
        overflow-x: auto;
        gap: 24px;
    }

    .bbj-profile-tabs li {
        white-space: nowrap;
    }
}

/* Bottom Inquiry Section */
.bbj-bottom-inquiry-section {
    padding: 100px 0;
    background: #EAF2F4;
    border-top: 1px solid #D5E3E7;
}

.bbj-bottom-inquiry-card {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    background: white;
    padding: 80px 60px;
    border-radius: var(--bbj-radius-xl);
    box-shadow: var(--bbj-shadow-lg);
    border: 1px solid #D5E3E7;
}

.bbj-bottom-inquiry-card h2 {
    font-size: 48px;
    margin-bottom: 24px;
    color: #DA9C59;
}

.bbj-bottom-inquiry-card p {
    font-size: 18px;
    color: #5C7A82;
    margin-bottom: 40px;
}

.bbj-button-large {
    padding: 24px 60px;
    font-size: 18px;
}

.text-center {
    text-align: center;
}

/* Tour Footer CTA */
.bbj-tour-footer-cta {
    margin-top: 80px;
    padding-top: 60px;
    border-top: 1px solid #D5E3E7;
}

.bbj-premium-cta-card {
    display: flex;
    align-items: center;
    gap: 32px;
    background: #EAF2F4 !important;
    padding: 40px 48px;
    border-radius: var(--bbj-radius-xl);
    border: 2px solid #D5E3E7;
    text-align: left;
    position: relative;
    overflow: hidden;
    margin-bottom: 40px;
    transition: border-color 0.3s ease;
}

.bbj-premium-cta-card:hover {
    border-color: #DA9C59;
}

.bbj-premium-cta-card::before {
    display: none;
}

.bbj-cta-visual {
    width: 64px;
    height: 64px;
    background: #DA9C59;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.bbj-cta-visual .dashicons {
    font-size: 28px;
    width: 28px;
    height: 28px;
    color: #ffffff;
}

.bbj-cta-content {
    flex-grow: 1;
}

.bbj-cta-content h3 {
    font-size: 22px !important;
    font-weight: 700 !important;
    margin: 0 0 6px 0 !important;
    color: #003240 !important;
    font-family: var(--bbj-font-heading);
}

.bbj-cta-content p {
    font-size: 15px;
    color: #5C7A82;
    margin: 0;
    max-width: 460px;
    line-height: 1.5;
    opacity: 1;
}

.bbj-cta-action {
    flex-shrink: 0;
}

.bbj-cta-action .bbj-button-modern {
    background: #DA9C59 !important;
    color: #ffffff !important;
    padding: 14px 28px;
    font-size: 15px;
    font-weight: 700;
    width: auto;
    white-space: nowrap;
    border-radius: var(--bbj-radius-md);
    box-shadow: 0 4px 16px rgba(236, 123, 35, 0.3);
}

.bbj-cta-action .bbj-button-modern:hover {
    background: #d96c1a !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(236, 123, 35, 0.4);
}

.bbj-cta-action .bbj-button-modern .dashicons {
    font-size: 18px;
    width: 18px;
    height: 18px;
}

@media (max-width: 992px) {
    .bbj-premium-cta-card {
        flex-direction: column;
        text-align: center;
        padding: 32px;
        gap: 20px;
    }

    .bbj-cta-content p {
        margin: 0 auto;
    }

    .bbj-cta-action .bbj-button-modern {
        width: 100%;
    }
}

/* Tour Includes / Excludes */
.bbj-includes-excludes-section {
    margin-top: 40px;
}

.bbj-ie-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.bbj-ie-box {
    padding: 28px 32px;
    border-radius: var(--bbj-radius-md);
    border: 1px solid #D5E3E7;
}

.bbj-includes-box,
.bbj-excludes-box {
    background: #EAF2F4;
}

.bbj-ie-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0 0 18px 0;
    color: #003240;
}

.bbj-ie-title .dashicons {
    font-size: 22px;
    width: 22px;
    height: 22px;
}

.bbj-ie-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.bbj-ie-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 8px 0;
    font-size: 0.95rem;
    line-height: 1.5;
    color: #003240;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.bbj-ie-list li:last-child {
    border-bottom: none;
}

.bbj-ie-list li .dashicons {
    flex-shrink: 0;
    font-size: 16px;
    width: 16px;
    height: 16px;
    margin-top: 3px;
}

.bbj-includes-list li .dashicons,
.bbj-excludes-list li .dashicons {
    color: #5C7A82;
}

/* Tour Additional Notes */
.bbj-tour-notes-section {
    margin-top: 24px;
}

.bbj-notes-box {
    padding: 28px 32px;
    background: #EAF2F4;
    border: 1px solid #D5E3E7;
    border-radius: var(--bbj-radius-md);
}

.bbj-notes-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0 0 14px 0;
    color: #003240;
}

.bbj-notes-title .dashicons {
    font-size: 22px;
    width: 22px;
    height: 22px;
}

.bbj-notes-content {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #003240;
}

.bbj-notes-content p:last-child {
    margin-bottom: 0;
}

/* Tour Form: Includes/Excludes Section */
.bbj-includes-excludes-section .bbj-form-group {
    margin-top: 24px;
}

.bbj-includes-excludes-section .bbj-form-group:first-child {
    margin-top: 32px;
    padding-top: 32px;
    border-top: 2px solid #D5E3E7;
}

.bbj-includes-excludes-section label .dashicons {
    font-size: 18px;
    width: 18px;
    height: 18px;
    vertical-align: text-bottom;
}

@media (max-width: 768px) {
    .bbj-ie-grid {
        grid-template-columns: 1fr;
    }

    .bbj-ie-box,
    .bbj-notes-box {
        padding: 20px;
    }
}

/* Tour Disclaimer */
.bbj-tour-disclaimer {
    display: flex;
    gap: 20px;
    margin-top: 40px;
    padding: 28px 32px;
    background: #EAF2F4;
    border: 1px solid #D5E3E7;
    border-left: 4px solid #DA9C59;
    border-radius: var(--bbj-radius-md);
}

.bbj-disclaimer-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(236, 123, 35, 0.12);
    border-radius: 50%;
}

.bbj-disclaimer-icon .dashicons {
    font-size: 20px;
    width: 20px;
    height: 20px;
    color: #DA9C59;
}

.bbj-disclaimer-content h4 {
    font-size: 15px;
    font-weight: 700;
    color: #003240;
    margin: 0 0 12px 0;
    font-family: var(--bbj-font-heading);
}

.bbj-disclaimer-content ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.bbj-disclaimer-content ul li {
    position: relative;
    padding-left: 20px;
    font-size: 13.5px;
    line-height: 1.7;
    color: #5C7A82;
    margin-bottom: 6px;
}

.bbj-disclaimer-content ul li:last-child {
    margin-bottom: 0;
}

.bbj-disclaimer-content ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 9px;
    width: 6px;
    height: 6px;
    background: #DA9C59;
    border-radius: 50%;
}

@media (max-width: 768px) {
    .bbj-tour-disclaimer {
        flex-direction: column;
        gap: 12px;
        padding: 20px 24px;
    }
}

/* Booking Sidebar Branded */
.bbj-book-operator {
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid #D5E3E7;
}

.bbj-book-operator .bbj-op-prefix {
    font-size: 13px;
    color: #5C7A82;
    font-style: italic;
    margin-right: 4px;
}

.bbj-book-operator .bbj-op-name {
    font-weight: 700;
    font-size: 16px;
    color: #003240;
    text-decoration: none !important;
    transition: var(--bbj-transition);
}

.bbj-book-operator .bbj-op-name:hover {
    color: #DA9C59;
    text-decoration: none !important;
}

.bbj-op-rating-mini {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 4px;
}

.bbj-op-rating-mini .dashicons {
    color: #B98230;
    font-size: 14px;
    width: 14px;
    height: 14px;
}

.bbj-op-rating-mini .rating-val {
    font-weight: 700;
    font-size: 14px;
}

.bbj-op-rating-mini .review-count {
    color: #5C7A82;
    font-size: 13px;
}

/* CTA Inquiry Button (Booking Card) */
.bbj-book-card .bbj-request-quote {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 100% !important;
    padding: 16px 32px !important;
    background: #DA9C59 !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: var(--bbj-radius-md) !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    font-family: var(--bbj-font-heading);
    letter-spacing: 0.3px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 16px rgba(236, 123, 35, 0.35);
    text-decoration: none !important;
    margin-top: 8px;
}

.bbj-book-card .bbj-request-quote:hover {
    background: #d96c1a !important;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(236, 123, 35, 0.45);
    text-decoration: none !important;
}

.bbj-book-card .bbj-request-quote:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(236, 123, 35, 0.3);
}

.bbj-book-note {
    font-size: 13px;
    color: #5C7A82;
    margin-top: 12px;
    margin-bottom: 0;
    font-style: italic;
}

/* ==========================================================================
   Add Tour Form Redesign (Wizard Style)
   ========================================================================== */
.bbj-tour-form-wizard {
    max-width: 900px;
    margin: 40px auto;
    padding: 0 20px;
}

/* 1. Progress Stepper */
.bbj-wizard-stepper {
    display: flex;
    justify-content: space-between;
    margin-bottom: 50px;
    position: relative;
    padding: 0 40px;
}

.bbj-wizard-stepper::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 80px;
    right: 80px;
    height: 2px;
    background: #D5E3E7;
    z-index: 1;
}

/* -----------------------------------------------------------------------------
 * PREMIUM WIZARD & FORM STYLES
 * -------------------------------------------------------------------------- */

/* 1. Progress Stepper */
.bbj-wizard-stepper {
    display: flex;
    justify-content: space-between;
    margin-bottom: 50px;
    position: relative;
    padding: 0 20px;
}

.bbj-wizard-stepper::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 40px;
    right: 40px;
    height: 2px;
    background: #e0e0e0;
    z-index: 1;
}

.bbj-stepper-item {
    position: relative;
    z-index: 2;
    text-align: center;
    cursor: default;
    flex: 1;
}

.bbj-step-number {
    width: 44px;
    height: 44px;
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    font-weight: 700;
    color: #5C7A82;
    font-family: var(--bbj-font-heading);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.bbj-step-label {
    font-size: 13px;
    font-weight: 700;
    color: #5C7A82;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

/* Stepper States */
.bbj-stepper-item.active .bbj-step-number {
    background: #DA9C59;
    border-color: #DA9C59;
    color: white;
    box-shadow: 0 0 0 5px rgba(196, 60, 46, 0.15);
    /* Brand Red Glow */
    transform: scale(1.1);
}

.bbj-stepper-item.active .bbj-step-label {
    color: #DA9C59;
}

.bbj-stepper-item.completed .bbj-step-number {
    background: #DA9C59;
    border-color: #DA9C59;
    color: white;
}

.bbj-stepper-item.completed .bbj-step-label {
    color: #DA9C59;
}

/* 2. Step Cards (Wizard Body) */
.bbj-wizard-steps {
    position: relative;
}

.bbj-step {
    display: none;
    background: white;
    border-radius: var(--bbj-radius-xl);
    box-shadow: var(--bbj-shadow-md);
    border: 1px solid rgba(0, 0, 0, 0.03);
    padding: 50px;
    animation: atoSlideUp 0.4s ease-out;
}

.bbj-step.active {
    display: block;
}

@keyframes atoSlideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.bbj-step-header {
    margin-bottom: 40px;
    padding-bottom: 25px;
    border-bottom: 1px solid #D5E3E7;
    text-align: center;
}

.bbj-step-header h3 {
    margin: 0 0 10px 0;
    font-size: 28px;
    color: #DA9C59;
}

.bbj-step-header p {
    margin: 0;
    color: #5C7A82;
    font-size: 16px;
}

/* 3. Modern Form Controls */
.bbj-form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 30px;
}

.bbj-form-grid.three-col {
    grid-template-columns: repeat(3, 1fr);
}

.bbj-form-group.full-width {
    grid-column: span 2;
}

.bbj-form-group label {
    display: block;
    font-weight: 700;
    margin-bottom: 10px;
    color: #DA9C59;
    font-size: 14px;
    letter-spacing: 0.3px;
}

.bbj-form-group input[type="text"],
.bbj-form-group input[type="number"],
.bbj-form-group input[type="email"],
.bbj-form-group input[type="url"],
.bbj-form-group select,
.bbj-form-group textarea {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid #f0f0f0;
    border-radius: var(--bbj-radius-md);
    font-size: 15px;
    transition: all 0.3s ease;
    background: #fdfdfd;
    color: #003240;
    font-family: var(--bbj-font-body);
}

.bbj-form-group input:focus,
.bbj-form-group select:focus,
.bbj-form-group textarea:focus {
    outline: none;
    border-color: #DA9C59;
    background: white;
    box-shadow: 0 4px 12px rgba(196, 60, 46, 0.08);
    /* Red shadow */
}

/* 4. Itinerary Builder (Premium Repeater) */
.bbj-modern-repeater {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

.bbj-itinerary-day {
    display: flex;
    gap: 30px;
    background: white;
    border-radius: var(--bbj-radius-lg);
    padding: 30px;
    border: 1px solid #D5E3E7;
    position: relative;
    transition: all 0.3s ease;
    box-shadow: var(--bbj-shadow-sm);
}

.bbj-itinerary-day:hover {
    border-color: #B98230;
    transform: translateX(5px);
    box-shadow: var(--bbj-shadow-md);
}

.bbj-day-side {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    padding-top: 5px;
}

.bbj-day-badge {
    background: #DA9C59;
    color: white;
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    min-width: 90px;
    text-align: center;
}

.bbj-remove-day {
    background: transparent;
    color: #cbd5e1;
    border: 2px solid #e2e8f0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.2s;
}

.bbj-remove-day:hover {
    background: #ffeeee;
    color: #DA9C59;
    border-color: #ffeeee;
}

.bbj-day-content {
    flex-grow: 1;
    display: grid;
    gap: 20px;
}

.bbj-repeater-actions {
    text-align: center;
    padding-top: 10px;
}

/* Responsive */
@media (max-width: 768px) {

    .bbj-form-grid,
    .bbj-form-grid.three-col {
        grid-template-columns: 1fr;
    }

    .bbj-form-group.full-width {
        grid-column: span 1;
    }

    .bbj-wizard-stepper::before {
        display: none;
    }

    .bbj-stepper-item {
        flex: 0 0 100%;
        margin-bottom: 10px;
        display: none;
    }

    .bbj-stepper-item.active {
        display: block;
    }

    .bbj-itinerary-day {
        flex-direction: column;
    }

    .bbj-day-side {
        flex-direction: row;
        justify-content: space-between;
        width: 100%;
        border-bottom: 1px solid #eee;
        padding-bottom: 15px;
    }
}


/* 5. Media Section */
.bbj-image-upload-hero {
    background: #f8faf9;
    padding: 30px;
    border-radius: var(--bbj-radius-xl);
    border: 2px dashed #D5E3E7;
    text-align: center;
}

.bbj-large-preview {
    width: 100%;
    height: 200px;
    background: #eee;
    border-radius: var(--bbj-radius-lg);
    margin-bottom: 20px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bbj-large-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bbj-upload-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: #5C7A82;
}

.bbj-upload-placeholder .dashicons {
    font-size: 48px;
    height: 48px;
    width: 48px;
}

.bbj-modern-gallery-upload {
    background: white;
    border: 1px solid #D5E3E7;
    border-radius: var(--bbj-radius-lg);
    padding: 20px;
}

.bbj-gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-bottom: 20px;
}

.bbj-gallery-item {
    position: relative;
    aspect-ratio: 1;
    border-radius: var(--bbj-radius-md);
    overflow: hidden;
    border: 1px solid #D5E3E7;
}

.bbj-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bbj-remove-image {
    position: absolute;
    top: 5px;
    right: 5px;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.2s;
}

.bbj-remove-image:hover {
    background: #DA9C59;
}

/* 6. Footer & Actions */
.bbj-step-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #D5E3E7;
}

.bbj-step-footer:only-child {
    justify-content: flex-end;
}

/* Error States */
.bbj-error {
    border-color: #DA9C59 !important;
    background: #fffafa !important;
}

/* Responsive */
@media (max-width: 768px) {

    .bbj-form-grid,
    .bbj-form-grid.three-col {
        grid-template-columns: 1fr;
    }

    .bbj-form-group.full-width {
        grid-column: span 1;
    }

    .bbj-wizard-stepper {
        padding: 0;
    }

    .bbj-step-label {
        display: none;
    }

    .bbj-wizard-stepper::before {
        left: 40px;
        right: 40px;
    }

    .bbj-itinerary-day {
        flex-direction: column;
        gap: 15px;
    }

    .bbj-day-side {
        flex-direction: row;
        justify-content: space-between;
        width: 100%;
    }

    .bbj-gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* =========================================
   7. Premium Dashboard Polish (Glassmorphism)
   ========================================= */

.bbj-dashboard {
    background: #EAF2F4;
    border-radius: var(--bbj-radius-xl);
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.05);
}

.bbj-dashboard-header {
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
}

.bbj-dashboard-header h1 {
    font-size: 32px;
    color: #DA9C59;
    margin-bottom: 10px;
}

/* Glassy Stats Cards */
.bbj-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 32px;
}

.bbj-stat-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: var(--bbj-radius-lg);
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.bbj-stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
    border-color: #e8a49e;
}

.bbj-stat-value {
    font-size: 36px;
    font-weight: 800;
    color: #DA9C59;
    font-family: var(--bbj-font-heading);
    line-height: 1;
}

.bbj-stat-label {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #5C7A82;
    font-weight: 600;
}

.bbj-stat-card .bbj-stat-value small {
    font-size: 14px;
    font-weight: 500;
    color: #5C7A82;
}

.bbj-stat-card .bbj-stat-value .dashicons {
    font-size: 28px;
    width: 28px;
    height: 28px;
}

.bbj-stat-verified .bbj-stat-value .dashicons {
    color: #5a9a4a;
}

.bbj-stat-unverified .bbj-stat-value .dashicons {
    color: #e6a817;
}

/* Profile Completeness Bar */
.bbj-profile-completeness {
    background: white;
    border: 1px solid #D5E3E7;
    border-radius: var(--bbj-radius-lg);
    padding: 20px 24px;
    margin-top: 24px;
    box-shadow: var(--bbj-shadow-sm);
}

.bbj-completeness-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    font-size: 14px;
}

.bbj-completeness-header .dashicons {
    color: #DA9C59;
}

.bbj-completeness-pct {
    margin-left: auto;
    font-weight: 700;
    color: #DA9C59;
    font-size: 16px;
}

.bbj-progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(0, 0, 0, 0.06);
    border-radius: 10px;
    overflow: hidden;
}

.bbj-progress-fill {
    height: 100%;
    background: #DA9C59;
    border-radius: 10px;
    transition: width 0.6s ease;
}

.bbj-completeness-tips {
    margin-top: 12px;
    font-size: 13px;
    color: #5C7A82;
}

.bbj-completeness-tips p {
    margin: 0 0 6px;
}

.bbj-completeness-tips ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.bbj-completeness-tips li {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 3px 0;
}

.bbj-completeness-tips li .dashicons {
    font-size: 14px;
    width: 14px;
    height: 14px;
    color: #DA9C59;
}

/* Tab Count Badge */
.bbj-tab-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    background: #DA9C59;
    color: white;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 700;
    padding: 0 6px;
    margin-left: 6px;
}

/* Reviews Dashboard */
.bbj-reviews-summary-bar {
    display: flex;
    align-items: center;
    background: white;
    border: 1px solid #D5E3E7;
    border-radius: var(--bbj-radius-lg);
    padding: 24px;
    margin-bottom: 24px;
}

.bbj-review-avg {
    display: flex;
    align-items: center;
    gap: 16px;
}

.bbj-avg-number {
    font-size: 48px;
    font-weight: 800;
    color: #DA9C59;
    font-family: var(--bbj-font-heading);
    line-height: 1;
}

.bbj-avg-detail {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.bbj-review-total {
    font-size: 13px;
    color: #5C7A82;
}

.bbj-reviews-list-dashboard {
    display: grid;
    gap: 16px;
}

.bbj-review-item-dash {
    background: white;
    border: 1px solid #D5E3E7;
    border-radius: var(--bbj-radius-md);
    padding: 20px;
    transition: border-color 0.2s;
}

.bbj-review-item-dash:hover {
    border-color: #DA9C59;
}

.bbj-review-item-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}

.bbj-reviewer-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.bbj-reviewer-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #DA9C59;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    flex-shrink: 0;
}

.bbj-review-tour-ref {
    display: block;
    font-size: 12px;
    color: #5C7A82;
    margin-top: 2px;
}

.bbj-review-item-meta {
    text-align: right;
}

.bbj-review-date {
    font-size: 12px;
    color: #5C7A82;
    display: block;
    margin-top: 2px;
}

.bbj-stars-small .dashicons {
    font-size: 14px;
    width: 14px;
    height: 14px;
}

.bbj-review-item-body {
    font-size: 14px;
    line-height: 1.6;
    color: #555;
}

.bbj-reviews-more-note {
    text-align: center;
    font-size: 13px;
    color: #5C7A82;
    margin-top: 16px;
}

/* Modern Segemented Tabs */
.bbj-dashboard-tabs {
    margin-top: 40px;
}

.bbj-tabs-nav {
    display: inline-flex;
    background: rgba(0, 0, 0, 0.05);
    padding: 6px;
    border-radius: 50px;
    /* Pill shape */
    list-style: none;
    margin: 0 0 32px 0;
    position: relative;
}

.bbj-tabs-nav li {
    padding: 10px 32px;
    border-radius: 40px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    color: #5C7A82;
    transition: all 0.3s ease;
}

.bbj-tabs-nav li:hover {
    color: #DA9C59;
}

.bbj-tabs-nav li.active {
    background: white;
    color: #DA9C59;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Polished Tour List Item */
.bbj-tours-list {
    display: grid;
    gap: 20px;
}

.bbj-list-item {
    display: flex;
    background: white;
    border-radius: var(--bbj-radius-md);
    overflow: hidden;
    border: 1px solid #D5E3E7;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: var(--bbj-shadow-sm);
}

.bbj-list-item:hover {
    transform: translateX(5px);
    box-shadow: var(--bbj-shadow-md);
    border-color: #DA9C59;
}

.bbj-item-image {
    width: 160px;
    height: 120px;
    flex-shrink: 0;
}

.bbj-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bbj-item-content {
    flex-grow: 1;
    padding: 20px 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.bbj-item-content h3 {
    margin: 0 0 10px;
    font-size: 18px;
}

.bbj-item-meta {
    display: flex;
    gap: 20px;
    font-size: 13px;
    color: #5C7A82;
    align-items: center;
}

.bbj-status-badge {
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.bbj-status-badge.publish {
    background: #d1fae5;
    color: #065f46;
}

.bbj-status-badge.pending {
    background: #fef3c7;
    color: #92400e;
}

.bbj-item-actions {
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fcfcfc;
    border-left: 1px solid #D5E3E7;
}

.bbj-button-small {
    padding: 10px 20px;
    font-size: 13px;
    min-width: auto;
    border-radius: var(--bbj-radius-sm);
    text-decoration: none !important;
}

.bbj-button-danger {
    background: #fee2e2;
    color: #DA9C59;
}

.bbj-button-danger:hover {
    background: #fecaca;
    color: #DA9C59;
}

/* Empty State Polish */
.bbj-empty-state {
    text-align: center;
    padding: 60px;
    background: white;
    border-radius: var(--bbj-radius-lg);
    border: 2px dashed #D5E3E7;
}

/* -------------------------------------------------------------------------
   8. Premium Inquiry Modal
   ------------------------------------------------------------------------- */
.bbj-modal {
    display: none;
    position: fixed;
    z-index: 99999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(69, 62, 56, 0.6);
    /* Dark Brown tint */
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    animation: atoFadeIn 0.3s ease;
}

.bbj-modal-content {
    background: #ffffff;
    margin: 5% auto;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: 90%;
    max-width: 600px;
    border-radius: var(--bbj-radius-xl);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    position: relative;
    animation: atoSlideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
}

.bbj-modal-md {
    max-width: 650px;
}

.bbj-modal-xl {
    max-width: 1000px;
    width: 95%;
}

@media (max-width: 768px) {
    .bbj-modal-content {
        width: 95%;
        margin: 10% auto;
    }

    .bbj-form-grid,
    .bbj-form-grid.three-col {
        grid-template-columns: 1fr;
    }

    .bbj-wizard-stepper {
        padding: 0 10px;
    }

    .bbj-wizard-stepper::before {
        left: 20px;
        right: 20px;
    }
}

.bbj-close-modal {
    color: #5C7A82;
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: var(--bbj-transition);
    z-index: 10;
    line-height: 1;
}

.bbj-close-modal:hover {
    color: #DA9C59;
    transform: rotate(90deg);
}

.bbj-inquiry-header {
    background: #EAF2F4;
    padding: 30px 40px;
    border-bottom: 1px solid #D5E3E7;
    text-align: center;
}

.bbj-inquiry-header h3 {
    margin: 0 0 5px 0;
    color: #DA9C59;
    font-family: var(--bbj-font-heading);
    font-size: 24px;
    font-weight: 700;
}

.bbj-inquiry-subtitle {
    margin: 0;
    color: #5C7A82;
    font-size: 15px;
}

#bbj-inquiry-form {
    padding: 30px 40px;
}

.bbj-form-grid {
    display: grid;
    gap: 20px;
}

.bbj-form-group {
    margin-bottom: 20px;
}

.bbj-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #DA9C59;
}

.bbj-form-group input,
.bbj-form-group textarea,
.bbj-form-group select {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #D5E3E7;
    border-radius: var(--bbj-radius-sm);
    font-family: var(--bbj-font-body);
    font-size: 15px;
    color: #003240;
    background: #fff;
    transition: var(--bbj-transition);
}

.bbj-form-group input:focus,
.bbj-form-group textarea:focus {
    outline: none;
    border-color: #DA9C59;
    box-shadow: 0 0 0 4px rgba(196, 60, 46, 0.1);
    /* Primary color fade */
}

.bbj-form-note {
    font-size: 13px;
    color: #5C7A82;
    text-align: center;
    margin-top: 15px;
}

/* Photo Ownership Disclaimer */
.bbj-photo-disclaimer {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: #fff8e1;
    border: 1px solid #f0d060;
    border-left: 4px solid #e6a817;
    border-radius: var(--bbj-radius-md, 8px);
    padding: 16px 18px;
    margin: 15px 0 20px;
    font-size: 13px;
    line-height: 1.6;
}

.bbj-photo-disclaimer .bbj-disclaimer-icon {
    flex-shrink: 0;
    color: #b8860b;
    margin-top: 1px;
}

.bbj-photo-disclaimer .bbj-disclaimer-icon .dashicons {
    font-size: 22px;
    width: 22px;
    height: 22px;
}

.bbj-photo-disclaimer .bbj-disclaimer-text strong {
    display: block;
    font-size: 14px;
    color: #7a5a00;
    margin-bottom: 4px;
}

.bbj-photo-disclaimer .bbj-disclaimer-text p {
    margin: 0;
    color: #5d4e00;
}

/* Animations */
@keyframes atoFadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes atoSlideUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Success Message Styling */
.bbj-message-box.success {
    background-color: rgba(56, 102, 65, 0.1);
    color: #5a9a4a;
    border: 1px solid rgba(56, 102, 65, 0.2);
    text-align: center;
}

/* -------------------------------------------------------------------------
   9. Premium Reviews Section
   ------------------------------------------------------------------------- */
.bbj-reviews-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 30px;
}

.bbj-review-card {
    background: white;
    border-radius: var(--bbj-radius-lg);
    box-shadow: var(--bbj-shadow-sm);
    padding: 30px;
    border: 1px solid #D5E3E7;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.bbj-review-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--bbj-shadow-md);
    border-color: #e8a49e;
}

.bbj-review-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
    position: relative;
}

.bbj-review-avatar img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.bbj-review-meta {
    flex-grow: 1;
}

.bbj-reviewer-name {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    color: #003240;
}

.bbj-review-date {
    font-size: 12px;
    color: #5C7A82;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.bbj-review-rating-badge {
    background: #fffbf0;
    padding: 6px 12px;
    border-radius: 20px;
    border: 1px solid #fae69e;
}

.bbj-review-rating-badge .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
    color: #f59e0b;
}

.bbj-review-body {
    color: #003240;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.bbj-review-body p {
    margin: 0;
}

.bbj-review-footer {
    padding-top: 15px;
    border-top: 1px dashed #eee;
    font-size: 13px;
    color: #5a9a4a;
    font-weight: 600;
}

.bbj-verified-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

/* Empty State */
.bbj-no-reviews {
    text-align: center;
    padding: 60px;
    background: #f8fafc;
    border-radius: var(--bbj-radius-lg);
    border: 2px dashed #cbd5e1;
}

.bbj-no-reviews p {
    font-size: 18px;
    color: #5C7A82;
    margin-bottom: 20px;
}

/* Responsive */
@media (max-width: 768px) {
    .bbj-reviews-grid {
        grid-template-columns: 1fr;
    }
}

/* --- New Operator Filter Toolbar --- */
.bbj-operator-toolbar {
    background: #ffffff;
    padding: 20px;
    border-radius: var(--bbj-radius-lg);
    border: 1px solid #D5E3E7;
    box-shadow: var(--bbj-shadow-sm);
    margin-bottom: 40px;
}

.bbj-toolbar-form {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
}

.bbj-toolbar-search {
    flex: 2;
    min-width: 250px;
    position: relative;
}

.bbj-toolbar-search input {
    width: 100%;
    padding: 14px 14px 14px 45px;
    border-radius: var(--bbj-radius-full);
    border: 1px solid #e2e8f0;
    font-size: 15px;
    transition: var(--bbj-transition);
    background: #f8fafc;
}

.bbj-toolbar-search input:focus {
    background: white;
    border-color: #DA9C59;
    box-shadow: 0 0 0 3px rgba(236, 123, 35, 0.15);
    outline: none;
}

.bbj-toolbar-search .dashicons {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #5C7A82;
    font-size: 20px;
}

.bbj-toolbar-filters {
    display: flex;
    gap: 16px;
    flex: 3;
    flex-wrap: wrap;
}

.bbj-toolbar-select {
    flex: 1;
    min-width: 180px;
    position: relative;
}

.bbj-toolbar-select select {
    width: 100%;
    padding: 14px 14px 14px 40px;
    border-radius: var(--bbj-radius-full);
    border: 1px solid #e2e8f0;
    font-size: 14px;
    background-color: #f8fafc;
    appearance: none;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2364748b'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 20px;
}

.bbj-toolbar-select select:focus {
    border-color: #DA9C59;
    background-color: white;
    outline: none;
}

.bbj-select-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #5C7A82;
    z-index: 1;
}

/* --- Modern Operator Card --- */
.bbj-operator-card-modern {
    background: #ffffff;
    border-radius: var(--bbj-radius-lg);
    overflow: hidden;
    border: 1px solid #D5E3E7;
    box-shadow: var(--bbj-shadow-sm);
    transition: var(--bbj-transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.bbj-operator-card-modern:hover {
    transform: translateY(-8px);
    box-shadow: var(--bbj-shadow-lg);
    border-color: #e8a49e;
}

.bbj-card-cover {
    height: 160px;
    background-size: cover;
    background-position: center;
    position: relative;
    background-color: #f0f0f0;
}

.bbj-card-cover::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.4), transparent);
}

.bbj-cover-link {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.bbj-verified-tag {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(255, 255, 255, 0.95);
    color: #5a9a4a;
    padding: 6px 12px;
    border-radius: var(--bbj-radius-full);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 4px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.bbj-card-body {
    padding: 24px;
    padding-top: 0;
    position: relative;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.bbj-card-avatar {
    width: 80px;
    height: 80px;
    background: white;
    border-radius: 50%;
    border: 4px solid white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    margin-top: -40px;
    margin-bottom: 16px;
    position: relative;
    z-index: 2;
    overflow: hidden;
}

.bbj-card-avatar img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.bbj-avatar-placeholder {
    width: 100%;
    height: 100%;
    background: #DA9C59;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: 700;
    font-family: var(--bbj-font-heading);
}

.bbj-card-main {
    flex-grow: 1;
}

.bbj-card-title {
    margin: 0 0 8px;
    font-size: 18px;
    /* Reduced from 20px */
    line-height: 1.3;
}

.bbj-card-title a {
    color: #003240;
    text-decoration: none;
    transition: color 0.2s;
}

.bbj-card-title a:hover {
    color: #DA9C59;
}

.bbj-card-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.bbj-review-count {
    font-size: 13px;
    color: #5C7A82;
}

.bbj-card-location {
    font-size: 14px;
    color: #5C7A82;
    display: flex;
    gap: 6px;
    line-height: 1.4;
    margin-bottom: 20px;
}

.bbj-card-location .dashicons {
    color: #DA9C59;
    font-size: 18px;
    width: 18px;
    height: 18px;
}

.bbj-card-footer {
    padding-top: 16px;
    border-top: 1px solid #f1f5f9;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.bbj-card-stat {
    display: flex;
    flex-direction: column;
}

.bbj-card-stat .count {
    font-size: 18px;
    font-weight: 800;
    color: #DA9C59;
    line-height: 1;
}

.bbj-card-stat .label {
    font-size: 11px;
    text-transform: uppercase;
    color: #5C7A82;
    font-weight: 600;
}

.bbj-button-sm {
    padding: 8px 20px;
    font-size: 13px;
}

/* Responsive */
@media (max-width: 768px) {
    .bbj-operators-grid {
        grid-template-columns: 1fr;
    }

    .bbj-toolbar-form {
        flex-direction: column;
        align-items: stretch;
    }

    /* --- Tours & Operators Page Sidebar Layout --- */
    .bbj-tours-page-wrapper.with-sidebar,
    .bbj-operators-page-wrapper.with-sidebar {
        display: block;
        /* Stack sidebar and content vertically */
        gap: 30px;
        margin-bottom: 40px;
    }

    .bbj-sidebar-area {
        width: 100%;
    }

    .bbj-sticky-sidebar {
        position: sticky;
        top: 30px;
        transition: top 0.3s;
    }

    .bbj-main-content {
        min-width: 0;
        /* Prevent grid blowout */
    }

    /* Sidebar Filters Refinement */
    .bbj-sidebar-filters {
        background: #ffffff;
        border-radius: var(--bbj-radius-lg);
        border: 1px solid #D5E3E7;
        box-shadow: var(--bbj-shadow-sm);
        overflow: hidden;
    }

    .bbj-filters-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 20px 24px;
        border-bottom: 1px solid #D5E3E7;
        background: #fafafa;
    }

    .bbj-filters-header h3 {
        margin: 0;
        font-size: 16px;
        font-weight: 700;
    }

    .bbj-reset-link {
        background: none;
        border: 1px solid #D5E3E7;
        color: #DA9C59;
        font-size: 12px;
        cursor: pointer;
        padding: 4px 12px;
        font-weight: 600;
        border-radius: var(--bbj-radius-sm);
        text-decoration: none;
    }

    .bbj-reset-link:hover {
        background: #EAF2F4;
        border-color: #DA9C59;
        text-decoration: none;
    }

    /* Range Inputs */
    .bbj-range-inputs.dual {
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .bbj-range-inputs input {
        width: 100%;
        padding: 10px;
        border: 1px solid #e2e8f0;
        border-radius: var(--bbj-radius-sm);
        font-size: 14px;
        text-align: center;
    }

    .bbj-range-inputs .sep {
        color: #5C7A82;
    }

    /* Empty State */
    .bbj-no-results-box {
        text-align: center;
        padding: 80px 40px;
        background: #ffffff;
        border-radius: var(--bbj-radius-lg);
        border: 1px dashed #D5E3E7;
        margin-top: 20px;
    }

    .bbj-no-results-box .dashicons {
        font-size: 48px;
        width: 48px;
        height: 48px;
        color: #DA9C59;
        margin-bottom: 24px;
    }

    .bbj-no-results-box h3 {
        margin: 0 0 12px;
        font-size: 24px;
    }

    .bbj-no-results-box p {
        color: #5C7A82;
        margin-bottom: 32px;
    }

    /* Pagination */
    .bbj-pagination {
        margin-top: 60px;
        display: flex;
        justify-content: center;
    }

    .bbj-pagination ul,
    .bbj-pagination div {
        list-style: none;
        padding: 0;
        margin: 0;
        display: flex;
        gap: 8px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .bbj-pagination li {
        margin: 0;
    }

    .bbj-pagination a,
    .bbj-pagination span {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        /* Circle pagination */
        background: #ffffff;
        color: #003240;
        text-decoration: none;
        font-weight: 600;
        font-size: 14px;
        transition: var(--bbj-transition);
        border: 1px solid #D5E3E7;
        box-shadow: var(--bbj-shadow-sm);
    }

    .bbj-pagination a:hover,
    .bbj-pagination span.current {
        background: #DA9C59;
        color: white;
        border-color: #DA9C59;
        transform: translateY(-3px);
        box-shadow: var(--bbj-shadow-md);
    }

    .bbj-pagination .prev,
    .bbj-pagination .next {
        width: auto;
        padding: 0 20px;
        border-radius: 20px;
        /* Pill for prev/next */
    }

    /* Responsive Layout */
    @media (max-width: 1024px) {

        .bbj-tours-page-wrapper.with-sidebar,
        .bbj-operators-page-wrapper.with-sidebar {
            grid-template-columns: 1fr;
        }

        .bbj-sidebar-area {
            margin-bottom: 32px;
        }

        .bbj-sticky-sidebar {
            position: static;
        }

    }

    /* --- Comment Form Styling --- */
    #respond {
        background: #fff;
        padding: 20px;
        border-radius: var(--bbj-radius-lg);
    }

    .comment-reply-title {
        font-size: 20px;
        margin-bottom: 20px;
        display: block;
        color: #DA9C59;
    }

    .comment-notes,
    .logged-in-as {
        font-size: 13px;
        color: #5C7A82;
        margin-bottom: 20px;
    }

    .comment-form p {
        margin-bottom: 20px;
    }

    .comment-form label {
        display: block;
        font-size: 13px;
        font-weight: 600;
        margin-bottom: 6px;
        color: #003240;
        text-transform: uppercase;
    }

    .comment-form input[type="text"],
    .comment-form input[type="email"],
    .comment-form input[type="url"],
    .comment-form textarea,
    .comment-form select {
        width: 100%;
        padding: 12px 16px;
        border: 1px solid #D5E3E7;
        border-radius: var(--bbj-radius-sm);
        font-size: 15px;
        color: #003240;
        transition: all 0.2s;
        background: #fdfdfd;
    }

    .comment-form input:focus,
    .comment-form textarea:focus,
    .comment-form select:focus {
        outline: none;
        border-color: #DA9C59;
        box-shadow: 0 0 0 4px rgba(196, 60, 46, 0.1);
        background: #fff;
    }

    .comment-form-cookies-consent {
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .comment-form-cookies-consent input {
        width: auto;
    }

    .comment-form-cookies-consent label {
        margin: 0;
        text-transform: none;
        font-weight: 400;
    }

    .form-submit {
        margin-top: 30px;
    }
}

/* Pagination Styling */
.bbj-pagination {
    margin-top: 60px;
    display: flex;
    justify-content: center;
}

.bbj-pagination ul.page-numbers {
    display: flex;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.bbj-pagination .page-numbers li {
    margin: 0;
}

.bbj-pagination .page-numbers a,
.bbj-pagination .page-numbers span {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 44px;
    min-width: 44px;
    padding: 0 16px;
    background: white;
    border: 1px solid #D5E3E7;
    border-radius: var(--bbj-radius-sm);
    color: #003240;
    font-weight: 700;
    text-decoration: none;
    transition: var(--bbj-transition);
}

.bbj-pagination .page-numbers a:hover,
.bbj-pagination .page-numbers span.current {
    background: #DA9C59;
    color: white;
    border-color: #DA9C59;
}

/* --- Operators Grid (1-column for horizontal cards) --- */
.bbj-operators-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--bbj-grid-gap);
}

/* --- New Operator Horizontal Card --- */
.bbj-operator-card-horizontal {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border-radius: var(--bbj-radius-lg);
    border: 1px solid #D5E3E7;
    margin-bottom: 24px;
    /* Space between cards */
    overflow: hidden;
    transition: var(--bbj-transition);
    box-shadow: var(--bbj-shadow-sm);
}

.bbj-operator-card-horizontal:hover {
    transform: translateY(-5px);
    box-shadow: var(--bbj-shadow-lg);
    border-color: #e8a49e;
}

/* Premium Styling */
.bbj-operator-card-horizontal.bbj-card-premium {
    border-left: 4px solid #DA9C59;
    background: #fffdf9;
}

.bbj-card-top {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    padding: 24px;
}

/* 1. Image Section */
.bbj-card-image {
    width: 260px;
    min-width: 260px;
    height: 190px;
    background-size: cover;
    background-position: center;
    border-radius: var(--bbj-radius-md);
    position: relative;
    overflow: hidden;
}

.bbj-card-link-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 5;
}

.bbj-badge-verified-corner {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #DA9C59;
    color: white;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    z-index: 10;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    font-size: 14px;
}

/* Featured Operator Card */
.bbj-operator-card-horizontal.bbj-card-featured {
    border: 2px solid #DA9C59;
    box-shadow: 0 4px 20px rgba(212, 169, 90, 0.15);
}

.bbj-operator-card-horizontal.bbj-card-featured .bbj-card-image .bbj-featured-ribbon {
    top: 15px;
    right: -30px;
}

/* Featured Tour Card */
.bbj-tour-card.bbj-featured {
    border: 2px solid #DA9C59;
    box-shadow: 0 4px 20px rgba(212, 169, 90, 0.15);
}

/* Disabled button */
.bbj-button.bbj-button-disabled {
    background: #ccc;
    color: #777;
    cursor: not-allowed;
    pointer-events: none;
    padding: 10px 20px;
    border-radius: var(--bbj-radius-md);
    font-size: 14px;
    font-weight: 600;
}

/* 2. Details Section */
.bbj-card-details {
    flex: 1 1 200px;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.bbj-card-title {
    font-size: 18px;
    /* Reduced from 22px */
    margin: 0 0 4px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.bbj-card-title a {
    text-decoration: none;
    color: #003240;
    transition: color 0.2s;
}

.bbj-card-title a:hover {
    color: #DA9C59;
}

.bbj-badge-premium-star {
    color: #DA9C59;
    font-size: 18px;
}

.bbj-card-meta-row {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #003240;
}

.bbj-rating-row {
    margin-bottom: 8px;
}

.bbj-review-text {
    font-size: 13px;
    color: #5C7A82;
}

.bbj-meta-label {
    font-weight: 600;
    color: #5C7A82;
}

.bbj-meta-value {
    font-weight: 500;
}

.bbj-destinations-text {
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}


/* 3. Branding Section */
.bbj-card-branding {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    min-width: 180px;
    padding-left: 24px;
    border-left: 1px dashed #D5E3E7;
}

.bbj-operator-logo-wrapper {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 1px solid #D5E3E7;
    padding: 6px;
    background: white;
    box-shadow: var(--bbj-shadow-sm);
    flex-shrink: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bbj-card-branding .bbj-operator-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
    margin: 0;
    padding: 0;
    border: none;
    box-shadow: none;
    background: none;
}

/* 4. Tours Preview Section (Bottom) */
.bbj-card-tours-preview {
    background: #fcfbf9;
    border-top: 1px solid #D5E3E7;
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.bbj-preview-tours-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.bbj-preview-tours-list li {
    margin: 0;
    font-size: 13px;
    position: relative;
    padding-left: 14px;
}

.bbj-preview-tours-list li::before {
    content: "•";
    color: #DA9C59;
    position: absolute;
    left: 0;
    font-weight: bold;
}

.bbj-preview-tours-list a {
    text-decoration: none !important;
    color: #003240 !important;
    transition: color 0.2s;
}

.bbj-preview-tours-list a:hover {
    color: #DA9C59 !important;
    text-decoration: none !important;
}

.bbj-preview-tours-list .tour-meta {
    color: #5C7A82;
    font-size: 12px;
    margin-left: 4px;
}

.bbj-preview-footer {
    flex-shrink: 0;
    margin-left: 16px;
}

.bbj-view-all-link {
    font-size: 14px;
    font-weight: 700;
    color: #003240 !important;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    padding: 10px 20px;
    background: #B98230 !important;
    border: none;
    border-radius: var(--bbj-radius-md);
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(245, 187, 60, 0.3);
}

.bbj-view-all-link:hover {
    background: #e5a82c !important;
    color: #003240 !important;
    text-decoration: none !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(245, 187, 60, 0.4);
}

.bbj-view-all-link .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
    color: #003240 !important;
    transition: transform 0.2s ease;
}

.bbj-view-all-link:hover .dashicons {
    transform: translateX(3px);
    color: #ffffff !important;
}

/* --- Responsive Card --- */
@media (max-width: 768px) {
    .bbj-card-top {
        flex-direction: column;
        align-items: flex-start;
    }

    .bbj-card-image {
        width: 100%;
        height: 200px;
    }

    .bbj-card-branding {
        flex-direction: row;
        width: 100%;
        border-left: none;
        border-top: 1px dashed #D5E3E7;
        padding-top: 16px;
        padding-left: 0;
        justify-content: space-between;
    }

    .bbj-operator-logo-wrapper {
        width: 60px;
        height: 60px;
    }

    .bbj-card-tours-preview {
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
    }

    .bbj-preview-tours-list {
        flex-direction: column;
        gap: 8px;
    }

    .bbj-preview-tours-list li:nth-child(n+2) {
        display: none;
    }
}


/* --- Advanced Filters (Sidebar) CSS - Compact Design --- */

/* Compact Filter Container */
.bbj-sidebar-filters.bbj-filters-compact {
    font-size: 13px;
}

.bbj-sidebar-filters.bbj-filters-compact .bbj-filters-header {
    padding: 14px 16px;
    background: #003240 !important;
    border-bottom: none;
}

.bbj-sidebar-filters.bbj-filters-compact .bbj-filters-header h3 {
    font-size: 14px;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 6px;
}

.bbj-sidebar-filters.bbj-filters-compact .bbj-filters-header h3 .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
}

.bbj-sidebar-filters.bbj-filters-compact .bbj-reset-link {
    color: rgba(255, 255, 255, 0.9);
    font-size: 11px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    padding: 3px 10px;
    border-radius: var(--bbj-radius-sm);
    text-decoration: none;
}

.bbj-sidebar-filters.bbj-filters-compact .bbj-reset-link:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.6);
}

/* Compact Filter Sections */
.bbj-sidebar-filters.bbj-filters-compact .bbj-filter-section {
    border-bottom: 1px solid #D5E3E7;
}

.bbj-sidebar-filters.bbj-filters-compact .bbj-filter-section:last-of-type {
    border-bottom: none;
}

.bbj-sidebar-filters.bbj-filters-compact .bbj-filter-title {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #5C7A82;
    margin: 0;
    padding: 12px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.2s;
    background: #fafafa;
}

.bbj-sidebar-filters.bbj-filters-compact .bbj-filter-title:hover {
    background: #f5f5f5;
    color: #DA9C59;
}

.bbj-sidebar-filters.bbj-filters-compact .bbj-filter-title .dashicons {
    font-size: 14px;
    width: 14px;
    height: 14px;
    transition: transform 0.2s;
}

.bbj-sidebar-filters.bbj-filters-compact .bbj-filter-section.expanded .bbj-filter-title .dashicons {
    transform: rotate(180deg);
}

/* Compact Filter Content */
.bbj-sidebar-filters.bbj-filters-compact .bbj-filter-content {
    padding: 10px 16px 14px;
}

/* Compact Range Inputs */
.bbj-sidebar-filters.bbj-filters-compact .bbj-range-inputs.dual {
    display: flex;
    align-items: center;
    gap: 6px;
}

.bbj-sidebar-filters.bbj-filters-compact .bbj-range-inputs input {
    flex: 1 1 0;
    min-width: 0;
    width: 100%;
    padding: 8px 10px;
    font-size: 12px;
    border: 1px solid #D5E3E7;
    border-radius: 4px;
    text-align: center;
    transition: all 0.2s;
    box-sizing: border-box;
}

.bbj-sidebar-filters.bbj-filters-compact .bbj-range-inputs input:focus {
    border-color: #DA9C59;
    outline: none;
    box-shadow: 0 0 0 2px rgba(196, 60, 46, 0.1);
}

.bbj-sidebar-filters.bbj-filters-compact .bbj-range-inputs .sep {
    color: #5C7A82;
    font-size: 12px;
}

/* Compact Checkbox List */
.bbj-sidebar-filters.bbj-filters-compact .bbj-filter-list {
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 180px;
    overflow-y: auto;
}

.bbj-sidebar-filters.bbj-filters-compact .bbj-filter-list.default-show-5 {
    max-height: 145px;
}

.bbj-sidebar-filters.bbj-filters-compact .bbj-filter-list li {
    margin: 0;
}

.bbj-sidebar-filters.bbj-filters-compact .bbj-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 0;
    cursor: pointer;
    font-size: 12px;
    color: #003240;
    transition: all 0.15s;
}

.bbj-sidebar-filters.bbj-filters-compact .bbj-checkbox:hover {
    color: #DA9C59;
    padding-left: 4px;
}

.bbj-sidebar-filters.bbj-filters-compact .bbj-checkbox input[type="checkbox"] {
    width: 14px;
    height: 14px;
    accent-color: #DA9C59;
    margin: 0;
    flex-shrink: 0;
}

.bbj-sidebar-filters.bbj-filters-compact .bbj-checkbox .checkmark {
    display: none;
}

.bbj-sidebar-filters.bbj-filters-compact .bbj-checkbox .label-text {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.bbj-sidebar-filters.bbj-filters-compact .bbj-checkbox .count {
    font-size: 10px;
    color: #5C7A82;
    background: #f0f0f0;
    padding: 2px 6px;
    border-radius: 10px;
    flex-shrink: 0;
}

/* Show More Button */
.bbj-sidebar-filters.bbj-filters-compact .bbj-show-more {
    background: none;
    border: none;
    color: #DA9C59;
    font-size: 11px;
    font-weight: 600;
    padding: 6px 0;
    cursor: pointer;
    margin-top: 4px;
    transition: all 0.2s;
}

.bbj-sidebar-filters.bbj-filters-compact .bbj-show-more:hover {
    color: #B98230;
}

/* Compact Footer */
.bbj-sidebar-filters.bbj-filters-compact .bbj-filters-footer {
    padding: 14px 16px;
    background: #f9f9f9;
    border-top: 1px solid #D5E3E7;
}

.bbj-sidebar-filters.bbj-filters-compact .bbj-filters-footer .bbj-button {
    padding: 10px 16px;
    font-size: 12px;
    font-weight: 700;
}

/* Custom Scrollbar for Filter List */
.bbj-sidebar-filters.bbj-filters-compact .bbj-filter-list::-webkit-scrollbar {
    width: 4px;
}

.bbj-sidebar-filters.bbj-filters-compact .bbj-filter-list::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 2px;
}

.bbj-sidebar-filters.bbj-filters-compact .bbj-filter-list::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 2px;
}

.bbj-sidebar-filters.bbj-filters-compact .bbj-filter-list::-webkit-scrollbar-thumb:hover {
    background: #DA9C59;
}

/* Legacy Filter Styles (fallback) */
.bbj-sidebar-filters .bbj-filter-group {
    padding: 20px 24px;
    border-bottom: 1px solid #D5E3E7;
}

.bbj-sidebar-filters .bbj-filter-group:last-child {
    border-bottom: none;
}

.bbj-filter-title {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    color: #DA9C59;
    margin-top: 0;
    margin-bottom: 16px;
    letter-spacing: 0.05em;
}

.bbj-search-input-wrapper {
    position: relative;
}

.bbj-search-input-wrapper .dashicons {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #5C7A82;
}

.bbj-form-control {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #D5E3E7;
    border-radius: var(--bbj-radius-sm);
    font-size: 14px;
    font-family: inherit;
    color: #003240;
    background: #fdfdfd;
    transition: all 0.2s;
}

.bbj-search-input-wrapper .bbj-form-control {
    padding-left: 36px;
    /* Space for icon */
}

.bbj-form-control:focus {
    outline: none;
    border-color: #DA9C59;
    box-shadow: 0 0 0 3px rgba(196, 60, 46, 0.1);
    background: white;
}

/* Price Inputs */
.bbj-price-inputs {
    display: flex;
    align-items: center;
    gap: 8px;
}

.bbj-price-separator {
    color: #5C7A82;
    font-weight: bold;
}

.bbj-price-input {
    width: 100%;
    text-align: center;
}

/* Checkbox/Radio List */
.bbj-checkbox-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.bbj-checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    /* Reduced from 14px */
    color: #003240;
    cursor: pointer;
    transition: color 0.2s;
}

.bbj-checkbox-label:hover {
    color: #DA9C59;
}

.bbj-checkbox-label input[type="radio"],
.bbj-checkbox-label input[type="checkbox"] {
    accent-color: #DA9C59;
    /* Modern browsers */
    width: 16px;
    height: 16px;
    margin: 0;
}

.bbj-stars {
    color: #FBC02D;
    display: inline-flex;
    align-items: center;
}

.bbj-stars .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
}

/* Horizontal Star Rating Input */
.bbj-star-input {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 5px;
}

.bbj-star-input input {
    display: none;
}

.bbj-star-input label {
    cursor: pointer;
    font-size: 24px;
    color: #ddd;
    transition: color 0.2s;
    margin: 0;
    line-height: 1;
}

.bbj-star-input label .dashicons {
    font-size: 24px;
    width: 24px;
    height: 24px;
}

/* Hover and Checked States */
.bbj-star-input label:hover,
.bbj-star-input label:hover~label,
.bbj-star-input input:checked~label {
    color: #FBC02D;
}

/* Selected state specific (if needed) */
.bbj-star-input input:checked+label:hover,
.bbj-star-input input:checked~label:hover,
.bbj-star-input label:hover~input:checked~label,
.bbj-star-input input:checked~label:hover~label {
    color: #e0ac25;
}

/* Actions */
.bbj-filter-actions {
    padding: 24px;
    background: #f9f7f5;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

#bbj-reset-filters {
    color: #5C7A82;
    font-size: 13px;
    text-decoration: none;
    padding: 8px 16px;
    border: 1px solid #D5E3E7;
    border-radius: var(--bbj-radius-sm);
    background: #ffffff;
    transition: var(--bbj-transition);
    cursor: pointer;
}

#bbj-reset-filters:hover {
    color: #DA9C59;
    border-color: #DA9C59;
    background: #EAF2F4;
}

/* Tour Details Grid Overhaul */
.bbj-details-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px 35px;
    padding: 35px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.03);
    margin-top: 25px;
}

@media (min-width: 900px) {
    .bbj-details-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1200px) {
    .bbj-details-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.bbj-detail-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 5px;
    transition: transform 0.2s ease;
}

.bbj-detail-item:hover {
    transform: translateY(-2px);
}

.bbj-detail-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    background: #EAF2F4;
    /* Use light beige from palette */
    color: #B98230;
    /* Use Rust Red for icons */
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.03);
}

.bbj-detail-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 2px;
}

.bbj-detail-content label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: #5C7A82;
    font-weight: 700;
    margin-bottom: 6px;
    opacity: 0.8;
}

.bbj-detail-content span {
    font-size: 15px;
    color: #DA9C59;
    /* Dark Brown */
    font-weight: 700;
    line-height: 1.3;
}

/* Reviews Overhaul */
#bbj-review-form-wrapper {
    border: 1px solid #eee;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.bbj-reviews-header-actions .bbj-button span {
    margin-right: 5px;
}

.bbj-review-title {
    color: #DA9C59;
    font-family: var(--bbj-font-heading);
    margin: 0 0 8px;
    font-size: 16px;
    line-height: 1.4;
    font-weight: 700;
}

/* =========================================
   Mobile Filter Toggle & Sidebar Improvements
   ========================================= */

/* Mobile Filter Toggle Button */
.bbj-mobile-filter-toggle {
    display: none;
    width: auto;
    padding: 12px 24px;
    background: #ffffff !important;
    color: #DA9C59 !important;
    border: 2px solid #DA9C59 !important;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    margin-bottom: 20px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.bbj-mobile-filter-toggle:hover {
    background: #DA9C59 !important;
    color: #ffffff !important;
    border-color: #DA9C59 !important;
}

.bbj-mobile-filter-toggle .dashicons {
    font-size: 18px;
    width: 18px;
    height: 18px;
}

/* Mobile Sidebar Styles */
@media (max-width: 768px) {

    /* Show mobile toggle button */
    .bbj-mobile-filter-toggle {
        display: flex;
    }

    /* Collapsible sidebar on mobile */
    .bbj-sidebar-area {
        margin-bottom: 24px;
    }

    .bbj-sidebar-filters {
        display: none;
        margin-top: 0;
    }

    .bbj-sidebar-filters.is-open {
        display: block;
        animation: slideDown 0.3s ease-out;
    }

    /* Mobile container padding */
    .bbj-container {
        padding: 0 16px;
    }

    /* Mobile hero adjustments */
    .bbj-operator-hero {
        padding: 40px 0 60px;
    }

    .bbj-hero-title {
        font-size: 28px !important;
        margin-bottom: 20px;
    }

    .bbj-hero-stats-integrated {
        gap: 16px;
        padding: 16px 20px;
        flex-wrap: wrap;
        width: 100%;
    }

    .bbj-hero-stat {
        min-width: auto;
        padding: 8px 12px;
    }

    .bbj-stat-val {
        font-size: 18px;
    }

    /* Enquiry card mobile */
    .bbj-enquiry-card {
        padding: 24px;
        margin: 0 16px;
    }

    .bbj-enquiry-card h3 {
        font-size: 20px;
    }

    /* Bottom inquiry section mobile */
    .bbj-bottom-inquiry-section {
        padding: 50px 0;
    }

    .bbj-bottom-inquiry-card {
        padding: 40px 24px;
    }

    .bbj-bottom-inquiry-card h2 {
        font-size: 28px;
    }

    /* Modal adjustments for mobile */
    .bbj-modal-content {
        margin: 20px !important;
        max-height: 90vh;
        overflow-y: auto;
    }

    /* Form adjustments */
    .bbj-form-grid {
        gap: 16px;
    }

    /* Section headers mobile */
    .bbj-section-header {
        flex-direction: column;
        gap: 16px;
        align-items: flex-start;
    }

    .bbj-section-header h3 {
        font-size: 22px;
    }

    /* Reviews grid mobile */
    .bbj-reviews-container {
        padding: 0;
    }

    .bbj-review-card {
        padding: 20px;
    }
}

/* Animation for filter dropdown */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Dashboard responsive */
@media (max-width: 768px) {
    .bbj-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .bbj-stat-value {
        font-size: 24px;
    }

    .bbj-tabs-nav {
        flex-wrap: wrap;
        border-radius: var(--bbj-radius-lg);
    }

    .bbj-tabs-nav li {
        padding: 8px 16px;
        font-size: 13px;
    }

    .bbj-review-item-header {
        flex-direction: column;
        gap: 8px;
    }

    .bbj-review-item-meta {
        text-align: left;
    }

    .bbj-review-avg {
        flex-direction: column;
        text-align: center;
    }
}

/* Extra small devices (phones, less than 480px) */
@media (max-width: 480px) {
    .bbj-hero-title {
        font-size: 24px !important;
    }

    .bbj-tour-card {
        margin: 0 8px;
    }

    .bbj-tour-title {
        font-size: 16px;
    }

    .bbj-card-details {
        padding: 16px;
    }

    .bbj-button {
        padding: 12px 16px;
        font-size: 13px;
    }

    .bbj-hero-stat {
        flex: 1;
        text-align: center;
    }
}

/* =========================================================
   Tour Card v2 - Editorial / Luxury (2026 redesign)
   Matches new design system: clean image, content-area
   destination + duration header row, serif title, star
   rating, operator with verified check + years,
   dashed divider, "View ->" text link footer.
   ========================================================= */

.bbj-tour-card.bbj-tour-card-v2 {
    background: #ffffff;
    border: 1px solid #D5E3E7;
    border-radius: 14px;
    box-shadow: 0 1px 3px rgba(20, 18, 16, 0.04);
    overflow: hidden;
    transition: transform 0.35s cubic-bezier(0.22, 0.61, 0.36, 1),
                box-shadow 0.35s cubic-bezier(0.22, 0.61, 0.36, 1),
                border-color 0.35s ease;
}

.bbj-tour-card.bbj-tour-card-v2:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 36px rgba(20, 18, 16, 0.08), 0 2px 6px rgba(20, 18, 16, 0.04);
    border-color: #D5E3E7;
}

/* Image: clean, no overlay badges */
.bbj-tour-card.bbj-tour-card-v2 .bbj-tour-image {
    height: 240px;
    background: #f4f1ec;
}

.bbj-tour-card.bbj-tour-card-v2 .bbj-tour-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.bbj-tour-card.bbj-tour-card-v2:hover .bbj-tour-image img {
    transform: scale(1.05);
}

/* Hide destination badge overlay - destination now lives in content header */
.bbj-tour-card.bbj-tour-card-v2 .bbj-tour-badges {
    display: none;
}

/* Gallery badge: keep but restyle subtly */
.bbj-tour-card.bbj-tour-card-v2 .bbj-gallery-badge {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(20, 18, 16, 0.78);
    color: #fff;
    padding: 5px 11px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.02em;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    line-height: 1;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.bbj-tour-card.bbj-tour-card-v2 .bbj-gallery-badge .bbj-gallery-icon {
    width: 13px;
    height: 13px;
    display: block;
    color: #fff;
}

.bbj-tour-card.bbj-tour-card-v2 .bbj-gallery-badge .bbj-gallery-count {
    display: inline-block;
}

/* Featured ribbon: keep, restyle to match */
.bbj-tour-card.bbj-tour-card-v2 .bbj-featured-ribbon {
    top: 14px;
    left: 14px;
    background: #DA9C59 !important;
    color: #fff !important;
    font-size: 10px;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 4px;
    letter-spacing: 1.2px;
}

/* Content area */
.bbj-tour-card.bbj-tour-card-v2 .bbj-tour-content {
    padding: 22px 24px 22px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

/* Header row: destination | duration */
.bbj-tour-card.bbj-tour-card-v2 .bbj-tour-meta-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0;
    padding: 0;
    border: none;
    gap: 12px;
}

.bbj-tour-card.bbj-tour-card-v2 .bbj-meta-destination,
.bbj-tour-card.bbj-tour-card-v2 .bbj-meta-duration {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #5C7A82;
    line-height: 1;
}

.bbj-tour-card.bbj-tour-card-v2 .bbj-meta-duration {
    color: #5C7A82;
}

/* Suppress the dashicons that the old meta rule may inject */
.bbj-tour-card.bbj-tour-card-v2 .bbj-tour-meta-header .dashicons {
    display: none;
}

/* Title */
.bbj-tour-card.bbj-tour-card-v2 .bbj-tour-title {
    font-family: var(--bbj-font-heading, Georgia, 'Times New Roman', serif);
    font-size: 22px;
    line-height: 1.25;
    font-weight: 700;
    color: #003240;
    margin: 0;
    padding: 0;
    border: none;
}

.bbj-tour-card.bbj-tour-card-v2 .bbj-tour-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.bbj-tour-card.bbj-tour-card-v2 .bbj-tour-title a:hover {
    color: #DA9C59;
}

/* Rating row */
.bbj-tour-card.bbj-tour-card-v2 .bbj-tour-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #003240;
}

.bbj-tour-card.bbj-tour-card-v2 .bbj-tour-rating .bbj-star-rating {
    display: inline-flex;
    align-items: center;
    gap: 1px;
}

.bbj-tour-card.bbj-tour-card-v2 .bbj-tour-rating .bbj-star-rating .dashicons {
    color: #F5A623;
    font-size: 16px;
    width: 16px;
    height: 16px;
}

.bbj-tour-card.bbj-tour-card-v2 .bbj-tour-rating .bbj-rating-value {
    font-weight: 700;
    color: #003240;
    margin-left: 4px;
}

.bbj-tour-card.bbj-tour-card-v2 .bbj-tour-rating .bbj-rating-reviews {
    color: #5C7A82;
    font-size: 13px;
    font-weight: 400;
}

/* Operator brand line - verified check + name + years */
.bbj-tour-card.bbj-tour-card-v2 .bbj-tour-operator-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 0;
}

.bbj-tour-card.bbj-tour-card-v2 .bbj-tour-operator-brand {
    align-items: center;
}

.bbj-tour-card.bbj-tour-card-v2 .bbj-brand-logo {
    position: relative;
    width: 52px;
    height: 36px;
    border-radius: 8px;
    background: #fff;
    border: 1px solid #D5E3E7;
    box-shadow: 0 1px 3px rgba(20, 18, 16, 0.06);
    overflow: visible;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bbj-tour-card.bbj-tour-card-v2 .bbj-brand-logo img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 0;
    padding: 4px;
    box-sizing: border-box;
}

/* Verified check badge tucked into the bottom-right corner of the logo chip */
.bbj-tour-card.bbj-tour-card-v2 .bbj-tour-operator-brand.is-verified .bbj-brand-logo::after {
    content: "";
    position: absolute;
    right: -3px;
    bottom: -3px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #DA9C59;
    border: 2px solid #fff;
    box-shadow: 0 1px 2px rgba(20, 18, 16, 0.15);
    z-index: 2;
}

.bbj-tour-card.bbj-tour-card-v2 .bbj-tour-operator-brand.is-verified .bbj-brand-logo::before {
    content: "";
    position: absolute;
    right: 0px;
    bottom: 2px;
    width: 5px;
    height: 2.5px;
    border-left: 1.5px solid #fff;
    border-bottom: 1.5px solid #fff;
    transform: rotate(-45deg);
    z-index: 3;
}

.bbj-tour-card.bbj-tour-card-v2 .bbj-brand-name {
    font-size: 13px;
    color: #003240;
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0;
    display: inline;
}

.bbj-tour-card.bbj-tour-card-v2 .bbj-brand-by {
    color: #003240;
}

.bbj-tour-card.bbj-tour-card-v2 .bbj-brand-operator {
    color: #003240;
    font-weight: 600;
    margin-left: 2px;
}

.bbj-tour-card.bbj-tour-card-v2 .bbj-brand-years {
    display: none;
}

/* Footer: dashed divider above, From price + View link */
.bbj-tour-card.bbj-tour-card-v2 .bbj-tour-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 18px;
    margin-top: 4px;
    border-top: 1px dashed #D5E3E7;
}

.bbj-tour-card.bbj-tour-card-v2 .bbj-tour-price {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.bbj-tour-card.bbj-tour-card-v2 .bbj-tour-price .amount-prefix {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-weight: 600;
    color: #5C7A82;
    margin: 0;
}

.bbj-tour-card.bbj-tour-card-v2 .bbj-tour-price .amount,
.bbj-tour-card.bbj-tour-card-v2 .bbj-tour-price {
    font-family: var(--bbj-font-heading, Georgia, 'Times New Roman', serif);
}

.bbj-tour-card.bbj-tour-card-v2 .bbj-tour-price .amount {
    font-size: 22px;
    font-weight: 700;
    color: #DA9C59;
    font-family: var(--bbj-font-heading, Georgia, 'Times New Roman', serif);
    line-height: 1.1;
}

/* "View ->" text link */
.bbj-tour-card.bbj-tour-card-v2 .bbj-tour-view-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--bbj-font-heading, Georgia, 'Times New Roman', serif);
    font-size: 17px;
    font-weight: 500;
    color: #003240;
    text-decoration: none;
    background: transparent;
    padding: 6px 0;
    border: none;
    border-radius: 0;
    transition: color 0.2s ease, gap 0.25s ease;
}

.bbj-tour-card.bbj-tour-card-v2 .bbj-tour-view-link:hover {
    color: #DA9C59;
    gap: 10px;
}

/* =========================================================
   Tour Card — homepage design (.at-tour) overrides
   When the plugin card uses .at-tour classes, defer all
   visual styling to the theme and only layer in the
   plugin-specific overlays (ribbon, gallery badge).
   ========================================================= */

/* Reset plugin card base styles — let .at-tour theme rules take over */
a.at-tour.bbj-tour-card {
    box-shadow: none;
    text-decoration: none;
    color: inherit;
    transition: background .5s cubic-bezier(.22,1,.36,1),
                transform .5s cubic-bezier(.22,1,.36,1),
                box-shadow .5s cubic-bezier(.22,1,.36,1);
}

/* Image container: relative for badge overlays, line-height:0
   removes the default inline-element baseline gap under the img */
a.at-tour.bbj-tour-card .at-tour-img {
    position: relative;
    line-height: 0;
}

/* Force block so no inline baseline gap pushes space below the image */
a.at-tour.bbj-tour-card .at-tour-img img {
    display: block;
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Tighter body: reduce top padding and item gap */
a.at-tour.bbj-tour-card .at-tour-body {
    padding: 1rem 1.2rem 0.75rem;
    gap: 0.3rem;
}

/* Featured ribbon */
a.at-tour.bbj-tour-card .bbj-featured-ribbon {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 2;
    background: #DA9C59;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 4px;
}

/* Title: smaller, clamped to 2 lines so all cards align uniformly */
a.at-tour.bbj-tour-card .at-tour-body h3 {
    font-size: 0.95rem;
    line-height: 1.3;
    min-height: 2.6em;       /* reserves space for exactly 2 lines */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Operator line: single line with ellipsis so it never wraps */
a.at-tour.bbj-tour-card .at-tour-op {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Pin rating + operator to the bottom of the body so they
   sit at the same vertical position across all cards */
a.at-tour.bbj-tour-card .at-tour-rate {
    margin-top: auto;
}
a.at-tour.bbj-tour-card .at-tour-body:not(:has(.at-tour-rate)) .at-tour-op {
    margin-top: auto;
}

/* Footer: tighter font sizes so price and View → fit on one line */
a.at-tour.bbj-tour-card .at-tour-foot {
    padding: 0.75rem 1.2rem 1rem;
}
a.at-tour.bbj-tour-card .at-tour-px {
    font-size: 1rem;
    line-height: 1.1;
}
a.at-tour.bbj-tour-card .at-tour-px small {
    font-size: 0.48rem;
    letter-spacing: .28em;
    margin-bottom: .2rem;
}
a.at-tour.bbj-tour-card .arr {
    font-size: 1rem;
    white-space: nowrap;
}

/* Gallery badge */
a.at-tour.bbj-tour-card .bbj-gallery-badge {
    position: absolute;
    bottom: 12px;
    right: 12px;
    z-index: 2;
    background: rgba(20, 18, 16, 0.72);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    line-height: 1;
}

.bbj-tour-card.bbj-tour-card-v2 .bbj-tour-view-link .bbj-tour-view-arrow {
    font-size: 18px;
    line-height: 1;
    transition: transform 0.25s ease;
}

.bbj-tour-card.bbj-tour-card-v2 .bbj-tour-view-link:hover .bbj-tour-view-arrow {
    transform: translateX(2px);
}

/* Featured variant: subtle accent only, no garish ring */
.bbj-tour-card.bbj-tour-card-v2.bbj-featured {
    border-color: #F2D9C5;
}

/* Responsive */
@media (max-width: 600px) {
    .bbj-tour-card.bbj-tour-card-v2 .bbj-tour-image {
        height: 200px;
    }
    .bbj-tour-card.bbj-tour-card-v2 .bbj-tour-content {
        padding: 18px 18px;
        gap: 12px;
    }
    .bbj-tour-card.bbj-tour-card-v2 .bbj-tour-title {
        font-size: 19px;
    }
    .bbj-tour-card.bbj-tour-card-v2 .bbj-tour-price .amount {
        font-size: 19px;
    }
    .bbj-tour-card.bbj-tour-card-v2 .bbj-tour-view-link {
        font-size: 15px;
    }
}

/* =========================================================
   Dashicons hardened glyph rendering
   Forces font-family + content with !important so cached/
   optimized pages cannot strip the icon glyph.
   ========================================================= */

.dashicons,
.dashicons-before {
    font-family: 'dashicons' !important;
    display: inline-block;
    line-height: 1;
    font-weight: 400;
    font-style: normal;
    text-decoration: inherit;
    text-transform: none;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    speak: never;
    width: 20px;
    height: 20px;
    font-size: 20px;
    vertical-align: middle;
    text-align: center;
}

.dashicons::before,
.dashicons-before::before {
    font-family: 'dashicons' !important;
    line-height: 1 !important;
    font-weight: 400 !important;
    font-style: normal !important;
    text-transform: none !important;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.dashicons.dashicons-clock::before              { content: "\f469" !important; }
.dashicons.dashicons-calendar-alt::before       { content: "\f508" !important; }
.dashicons.dashicons-calendar::before           { content: "\f145" !important; }
.dashicons.dashicons-location-alt::before       { content: "\f231" !important; }
.dashicons.dashicons-location::before           { content: "\f230" !important; }
.dashicons.dashicons-flag::before               { content: "\f227" !important; }
.dashicons.dashicons-businessperson::before     { content: "\f12e" !important; }
.dashicons.dashicons-admin-users::before        { content: "\f110" !important; }
.dashicons.dashicons-star-filled::before        { content: "\f155" !important; }
.dashicons.dashicons-star-half::before          { content: "\f459" !important; }
.dashicons.dashicons-star-empty::before         { content: "\f154" !important; }
.dashicons.dashicons-images-alt2::before        { content: "\f233" !important; }
.dashicons.dashicons-format-gallery::before     { content: "\f161" !important; }
.dashicons.dashicons-yes-alt::before            { content: "\f12a" !important; }
.dashicons.dashicons-yes::before                { content: "\f147" !important; }
.dashicons.dashicons-money-alt::before          { content: "\f18e" !important; }
.dashicons.dashicons-money::before              { content: "\f526" !important; }
.dashicons.dashicons-arrow-right-alt2::before   { content: "\f345" !important; }
.dashicons.dashicons-arrow-left-alt2::before    { content: "\f341" !important; }
.dashicons.dashicons-arrow-up-alt2::before      { content: "\f343" !important; }
.dashicons.dashicons-arrow-down-alt2::before    { content: "\f347" !important; }
.dashicons.dashicons-search::before             { content: "\f179" !important; }
.dashicons.dashicons-filter::before             { content: "\f536" !important; }
.dashicons.dashicons-email-alt::before          { content: "\f466" !important; }
.dashicons.dashicons-email::before              { content: "\f465" !important; }
.dashicons.dashicons-phone::before              { content: "\f525" !important; }
.dashicons.dashicons-admin-links::before        { content: "\f103" !important; }
.dashicons.dashicons-admin-site::before         { content: "\f319" !important; }
.dashicons.dashicons-info-outline::before       { content: "\f14c" !important; }
.dashicons.dashicons-info::before               { content: "\f348" !important; }
.dashicons.dashicons-warning::before            { content: "\f534" !important; }
.dashicons.dashicons-dismiss::before            { content: "\f153" !important; }
.dashicons.dashicons-plus-alt::before           { content: "\f502" !important; }
.dashicons.dashicons-plus::before               { content: "\f132" !important; }
.dashicons.dashicons-chart-bar::before          { content: "\f185" !important; }
.dashicons.dashicons-shield::before             { content: "\f332" !important; }
.dashicons.dashicons-share1::before             { content: "\f237" !important; }
.dashicons.dashicons-megaphone::before          { content: "\f488" !important; }
.dashicons.dashicons-camera::before             { content: "\f306" !important; }
.dashicons.dashicons-sos::before                { content: "\f468" !important; }
.dashicons.dashicons-portfolio::before          { content: "\f322" !important; }
.dashicons.dashicons-tickets-alt::before        { content: "\f524" !important; }
.dashicons.dashicons-tickets::before            { content: "\f486" !important; }
.dashicons.dashicons-cart::before               { content: "\f174" !important; }
.dashicons.dashicons-visibility::before         { content: "\f177" !important; }
.dashicons.dashicons-admin-customizer::before   { content: "\f540" !important; }
.dashicons.dashicons-admin-appearance::before   { content: "\f100" !important; }

/* ===== Nyerere overrides (transformed from Manyara base) ===== */
   THEME MATCH: Lake Manyara (.mny-card design language)
   Jost · red #DA9C59 · navy #1E4974 · ink #003240
   ============================================================ */
:root, body, .bbj-single-tour-container, .bbj-taxonomy-page-v2 {
    --bbj-font-heading: 'Jost', system-ui, -apple-system, sans-serif;
    --bbj-font-body: 'Jost', system-ui, -apple-system, sans-serif;
    --bbj-font-label: 'Jost', system-ui, sans-serif;
    --bbj-grid-gap: 28px;
    --mnyf: 'Jost', system-ui, -apple-system, sans-serif;
}
.bbj-container, .bbj-container *,
.bbj-operator-card-horizontal, .bbj-operator-card-horizontal *,
.at-tour, .at-tour *,
.bbj-single-tour-container, .bbj-single-tour-container *,
.bbj-operator-profile-v2, .bbj-operator-profile-v2 *,
.bbj-taxonomy-page-v2, .bbj-taxonomy-page-v2 *,
.bbj-sidebar-filters, .bbj-sidebar-filters * {
    font-family: 'Jost', system-ui, -apple-system, sans-serif !important;
    letter-spacing: normal;
}
.bbj-container { color: #003240; }
.bbj-container h1, .bbj-container h2, .bbj-container h3, .bbj-container h4,
.bbj-font-heading, .at-tour h3, .bbj-card-title, .bbj-hero-title, .bbj-tour-title {
    font-weight: 800 !important;
    color: #003240;
    letter-spacing: normal !important;
}

/* ---- Buttons: pill, Nunito 800 ---- */
.bbj-button, .bbj-button-primary, .bbj-button-outline, .bbj-button-small,
.bbj-button-modern, .bbj-button-block, .bbj-request-quote {
    border-radius: 999px !important;
    font-weight: 800 !important;
    text-transform: none !important;
    letter-spacing: normal !important;
    padding: 13px 27px !important;
    transition: transform .18s ease, background .18s ease, color .18s ease !important;
}
.bbj-button::before { display: none !important; }
.bbj-button-primary, .bbj-button-modern, .bbj-request-quote {
    background: #DA9C59 !important;
    color: #fff !important;
    border: 1.6px solid #DA9C59 !important;
    box-shadow: 0 10px 22px -12px rgba(218,156,89,.7) !important;
}
.bbj-button-primary:hover, .bbj-button-modern:hover, .bbj-request-quote:hover {
    background: #003240 !important;
    border-color: #003240 !important;
    color: #fff !important;
    transform: translateY(-2px) !important;
}
.bbj-button-outline {
    background: #fff !important;
    color: #1E4974 !important;
    border: 1.6px solid #E0E4E9 !important;
}
.bbj-button-outline:hover {
    background: #1E4974 !important;
    color: #fff !important;
    border-color: #1E4974 !important;
    transform: translateY(-2px) !important;
}
.bbj-button-small { padding: 9px 18px !important; font-size: 13px !important; }

/* ---- Eyebrow + section headers ---- */
.bbj-section-eyebrow {
    display: block;
    text-transform: uppercase;
    color: #DA9C59;
    font-weight: 900;
    font-size: 11.5px;
    letter-spacing: 1.85px;
    margin-bottom: 10px;
}
.bbj-section-header h3, .bbj-section-header h2 {
    font-size: 32px !important;
    font-weight: 800 !important;
    color: #003240 !important;
}

/* ---- Cards: the .mny-card look ---- */
.bbj-operator-card-horizontal,
.at-tour.bbj-tour-card, .at-tour {
    background: #fff !important;
    border: 1px solid #D5E3E7 !important;
    border-radius: 16px !important;
    box-shadow: 0 12px 34px -22px rgba(0,0,0,.4) !important;
    overflow: hidden !important;
    transition: transform .22s ease, box-shadow .22s ease !important;
}
.bbj-operator-card-horizontal:hover,
.at-tour:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 26px 46px -24px rgba(0,0,0,.45) !important;
    border-color: #D5E3E7 !important;
}
.at-tour-img img, .bbj-card-image { border-radius: 0 !important; }

/* Destination badge over the image */
.bbj-cat-badge {
    position: absolute;
    left: 14px; bottom: 14px;
    background: #DA9C59;
    color: #fff;
    text-transform: uppercase;
    font-weight: 800;
    font-size: 10.5px;
    letter-spacing: 1.2px;
    padding: 5px 11px;
    border-radius: 999px;
    z-index: 3;
    box-shadow: 0 6px 14px -6px rgba(0,0,0,.5);
}
.at-tour-img { position: relative; }

/* Card body typography */
.at-tour-body h3, .bbj-card-title { font-size: 20px !important; font-weight: 800 !important; color: #003240 !important; }
.at-tour-meta-row, .bbj-card-meta-row, .bbj-meta-value, .at-tour-op { color: #5C7A82 !important; font-weight: 600 !important; }
.bbj-meta-label { color: #8AA5AC !important; font-weight: 800 !important; text-transform: uppercase; letter-spacing: .6px; font-size: 10.5px !important; }

/* Foot "view" link -> red arrow style */
.at-tour-foot, .bbj-preview-footer { border-top: 1px solid #D5E3E7 !important; }
.at-tour-foot .arr, .bbj-view-all-link {
    color: #DA9C59 !important;
    font-weight: 800 !important;
    text-decoration: none !important;
}
.at-tour-px { color: #003240 !important; font-weight: 800 !important; }
.at-tour-px small { color: #8AA5AC !important; font-weight: 700 !important; }
.bbj-featured-ribbon, .at-tour .bbj-featured-ribbon {
    background: #003240 !important; color: #fff !important;
    text-transform: uppercase; letter-spacing: 1px; font-weight: 800 !important;
}

/* ---- Single tour / operator ---- */
.bbj-tour-title, .bbj-hero-title { letter-spacing: normal !important; }
.bbj-meta-pill {
    background: #EAF2F4 !important; color: #003240 !important;
    border: 1px solid #D5E3E7 !important; border-radius: 999px !important; font-weight: 700 !important;
}
.bbj-meta-pill.bbj-price-pill { background: #F6ECD9 !important; color: #DA9C59 !important; border-color: #F7CBD4 !important; }
.bbj-book-card, .bbj-enquiry-card {
    border: 1px solid #D5E3E7 !important; border-radius: 18px !important;
    box-shadow: 0 18px 40px -26px rgba(0,0,0,.4) !important;
}
.bbj-price-amount, .bbj-price-value { color: #DA9C59 !important; font-weight: 800 !important; }
.bbj-operator-hero { }
.bbj-hero-stat .bbj-stat-val { color: #DA9C59 !important; font-weight: 800 !important; }

/* ---- Filters sidebar ---- */
.bbj-sidebar-filters {
    border: 1px solid #D5E3E7 !important; border-radius: 16px !important;
    box-shadow: 0 12px 34px -24px rgba(0,0,0,.35) !important;
}
.bbj-filter-title { font-weight: 800 !important; color: #003240 !important; text-transform: uppercase; letter-spacing: .6px; font-size: 12px !important; }
.bbj-form-control, .bbj-form-control:focus { border-radius: 10px !important; }
.bbj-form-control:focus { border-color: #DA9C59 !important; box-shadow: 0 0 0 3px rgba(218,156,89,.12) !important; }

/* ============================================================
   THEME MATCH: Lake Manyara — SINGLE TOUR redesign
   ============================================================ */
.bbj-tour-hero {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    background-color: #003240;
    background-size: cover;
    background-position: center;
    color: #fff;
    padding: 118px 0 54px;
    margin-bottom: 42px;
}
.bbj-tour-hero .bbj-container { max-width: 1120px; }
.bbj-hero-crumbs { font-size: 13px; font-weight: 700; color: rgba(255,255,255,.8); margin-bottom: 18px; }
.bbj-hero-crumbs a { color: rgba(255,255,255,.8); text-decoration: none; }
.bbj-hero-crumbs a:hover { color: #fff; }
.bbj-hero-crumbs span { margin: 0 8px; opacity: .6; }
.bbj-hero-crumbs em { font-style: normal; color: #fff; }
.bbj-hero-eyebrow { color: #F8C68F !important; }
.bbj-tour-hero .bbj-tour-title {
    color: #fff !important;
    font-size: clamp(32px, 4.6vw, 54px) !important;
    line-height: 1.08 !important;
    font-weight: 800 !important;
    max-width: 900px;
    margin: 0 0 22px;
}
.bbj-tour-hero .bbj-tour-header-meta { display: flex; flex-wrap: wrap; gap: 12px; }
.bbj-hero-chip {
    display: inline-flex; align-items: center; gap: 7px;
    background: rgba(255,255,255,.14);
    border: 1px solid rgba(255,255,255,.28);
    color: #fff; text-decoration: none;
    padding: 9px 18px; border-radius: 999px;
    font-weight: 700; font-size: 14px; backdrop-filter: blur(4px);
}
.bbj-hero-chip .dashicons { font-size: 17px; width: 17px; height: 17px; }
.bbj-hero-chip-link:hover { background: rgba(255,255,255,.26); }
.bbj-hero-chip-price { background: #DA9C59; border-color: #DA9C59; font-weight: 800; }

/* Section titles inside single tour get an editorial treatment */
.bbj-single-tour-container .bbj-section-title,
.bbj-single-tour-container h2,
.bbj-single-tour-container .bbj-tour-section h2 {
    font-size: 27px !important; font-weight: 800 !important; color: #003240 !important;
    position: relative; padding-left: 16px;
}
.bbj-single-tour-container .bbj-section-title::before,
.bbj-single-tour-container .bbj-tour-section h2::before,
.bbj-itinerary-section .bbj-section-title::before {
    content: ""; position: absolute; left: 0; top: .18em; bottom: .18em; width: 5px; border-radius: 5px; background: #DA9C59;
}

/* Gallery */
.bbj-tour-gallery-grid img, .bbj-tour-featured-image img { border-radius: 14px !important; }
.bbj-tour-gallery-grid { gap: 14px !important; }

/* Tabs -> clean underline nav */
.bbj-tour-tabs .bbj-tabs-nav { border-bottom: 2px solid #D5E3E7 !important; gap: 6px !important; }
.bbj-tour-tabs .bbj-tabs-nav li {
    border: none !important; background: none !important; border-radius: 0 !important;
    padding: 12px 6px !important; margin-bottom: -2px !important;
    font-weight: 800 !important; color: #8AA5AC !important; border-bottom: 3px solid transparent !important;
}
.bbj-tour-tabs .bbj-tabs-nav li.active { color: #DA9C59 !important; border-bottom-color: #DA9C59 !important; }

/* Detail items -> hairline cards with red icon chips */
.bbj-details-grid { gap: 14px !important; }
.bbj-detail-item {
    background: #fff !important; border: 1px solid #D5E3E7 !important; border-radius: 14px !important;
    box-shadow: none !important; padding: 16px 18px !important;
}
.bbj-detail-icon, .bbj-detail-item .bbj-detail-icon {
    background: #F6ECD9 !important; color: #DA9C59 !important; border-radius: 12px !important;
}
.bbj-detail-content label { color: #8AA5AC !important; text-transform: uppercase; letter-spacing: .6px; font-weight: 800 !important; font-size: 10.5px !important; }
.bbj-detail-content span { color: #003240 !important; font-weight: 700 !important; }

/* Itinerary timeline */
.bbj-itinerary-timeline { border-left: 2px solid #D5E3E7 !important; }
.bbj-timeline-marker {
    background: #DA9C59 !important; color: #fff !important; font-weight: 800 !important;
    box-shadow: 0 0 0 5px #F6ECD9 !important;
}
.bbj-timeline-content {
    background: #fff !important; border: 1px solid #D5E3E7 !important; border-radius: 14px !important; box-shadow: none !important;
}
.bbj-timeline-title { font-weight: 800 !important; color: #003240 !important; }

/* Includes / excludes */
.bbj-ie-box, .bbj-notes-box {
    background: #fff !important; border: 1px solid #D5E3E7 !important; border-radius: 16px !important;
}
.bbj-includes-box .bbj-ie-title { color: #1E7A4B !important; }
.bbj-excludes-box .bbj-ie-title { color: #DA9C59 !important; }
.bbj-ie-list li .dashicons-yes { color: #1E7A4B !important; }
.bbj-ie-list li .dashicons-no-alt { color: #DA9C59 !important; }

/* Premium CTA + disclaimer */
.bbj-premium-cta-card {
    background: #003240 !important; color: #fff !important; border-radius: 20px !important; border: none !important;
}
.bbj-premium-cta-card h3 { color: #fff !important; }
.bbj-cta-visual .dashicons { color: #F8C68F !important; }
.bbj-tour-disclaimer { background: #EAF2F4 !important; border: 1px solid #D5E3E7 !important; border-radius: 16px !important; }

/* Sticky booking card */
.bbj-tour-sidebar { }
.bbj-book-card { position: sticky; top: 96px; border: 1px solid #D5E3E7 !important; border-radius: 18px !important; }
.bbj-price-label { color: #8AA5AC !important; text-transform: uppercase; letter-spacing: .6px; font-weight: 800 !important; font-size: 10.5px !important; }
.bbj-price-amount { color: #DA9C59 !important; font-weight: 800 !important; }
.bbj-book-note { color: #8AA5AC !important; }

/* Related tours heading */
.bbj-related-tours h3 { font-weight: 800 !important; color: #003240 !important; }

/* ============================================================
   THEME MATCH: Lake Manyara — CTA components (bespoke)
   ============================================================ */

/* ---- Tour sidebar: enquiry panel ---- */
.bbj-enquire-panel {
    position: sticky; top: 96px;
    background: #fff; border: 1px solid #D5E3E7; border-radius: 18px; overflow: hidden;
    box-shadow: 0 22px 48px -30px rgba(0,0,0,.5);
}
.bbj-enquire-top { background: #F6ECD9; padding: 22px 24px 20px; border-bottom: 1px solid #E7D3AC; }
.bbj-enquire-eyebrow { display:block; text-transform: uppercase; letter-spacing: 1.2px; font-size: 10.5px; font-weight: 800; color: #9A6B1E; margin-bottom: 4px; }
.bbj-enquire-price { display:block; font-size: 30px; font-weight: 800; color: #DA9C59; line-height: 1.05; }
.bbj-enquire-dur { display:block; margin-top: 4px; font-size: 13px; font-weight: 700; color: #5C7A82; }
.bbj-enquire-op { display:flex; align-items:center; gap: 12px; padding: 16px 24px; border-bottom: 1px solid #D5E3E7; }
.bbj-enquire-op-logo { max-height: 40px; max-width: 84px; object-fit: contain; }
.bbj-enquire-op-txt { display:flex; flex-direction: column; line-height: 1.2; }
.bbj-enquire-op .bbj-op-prefix { font-size: 11px; text-transform: uppercase; letter-spacing: .6px; font-weight: 800; color: #8AA5AC; }
.bbj-enquire-op .bbj-op-name { font-weight: 800; color: #003240; text-decoration: none; }
.bbj-enquire-op .bbj-op-name:hover { color: #DA9C59; }
.bbj-enquire-perks { list-style: none; margin: 0; padding: 16px 24px 6px; }
.bbj-enquire-perks li { display:flex; align-items:center; gap: 9px; font-size: 14px; font-weight: 600; color: #3B4149; margin-bottom: 10px; }
.bbj-enquire-perks .dashicons { color: #1E7A4B; font-size: 18px; width:18px; height:18px; }
.bbj-enquire-panel .bbj-button-block { margin: 6px 24px 12px; width: calc(100% - 48px); }
.bbj-enquire-note { padding: 0 24px 22px; margin: 0; font-size: 12.5px; color: #8AA5AC; text-align: center; }

/* ---- Below-tour CTA: navy panel ---- */
.bbj-premium-cta-card {
    display: flex; align-items: center; gap: 30px; flex-wrap: wrap;
    background: #003240 !important; color: #fff !important;
    border-radius: 20px !important; border: none !important; padding: 34px 38px !important;
    background-image: radial-gradient(120% 140% at 100% 0%, rgba(218,156,89,.28) 0%, rgba(218,156,89,0) 55%) !important;
}
.bbj-premium-cta-card .bbj-cta-content { flex: 1 1 320px; }
.bbj-cta-kicker { display:block; text-transform: uppercase; letter-spacing: 1.6px; font-size: 11px; font-weight: 900; color: #F8C68F; margin-bottom: 8px; }
.bbj-premium-cta-card h3 { color: #fff !important; font-size: 25px !important; margin: 0 0 8px; }
.bbj-premium-cta-card p { color: rgba(255,255,255,.82) !important; margin: 0; font-weight: 500; }
.bbj-premium-cta-card .bbj-cta-action { flex: 0 0 auto; }

/* ---- Operator hero: enquiry card ---- */
.bbj-operator-hero { padding: 108px 0 66px !important; }
.bbj-hero-grid { display: grid; grid-template-columns: 1fr 360px; gap: 40px; align-items: end; }
.bbj-enquiry-card {
    background: #fff !important; border-radius: 18px !important; padding: 26px 26px 24px !important;
    box-shadow: 0 30px 60px -30px rgba(0,0,0,.7) !important; color: #003240 !important; text-align: left !important;
}
.bbj-enquiry-kicker { display:block; text-transform: uppercase; letter-spacing: 1.4px; font-size: 10.5px; font-weight: 900; color: #DA9C59; margin-bottom: 8px; }
.bbj-enquiry-card h3 { color: #003240 !important; font-size: 21px !important; font-weight: 800 !important; margin: 0 0 8px !important; }
.bbj-enquiry-card p { color: #5C7A82 !important; font-size: 14px !important; font-weight: 500 !important; margin: 0 0 16px !important; }
.bbj-enquiry-card .bbj-button-block { width: 100%; }
.bbj-enquiry-note { margin: 12px 0 0 !important; font-size: 12px !important; color: #8AA5AC !important; text-align: center; }
@media (max-width: 900px){ .bbj-hero-grid { grid-template-columns: 1fr; } }

/* ---- Operator bottom CTA: navy band ---- */
.bbj-bottom-inquiry-section { background: #003240; padding: 68px 0; }
.bbj-bottom-inquiry-card {
    max-width: 720px; margin: 0 auto; text-align: center;
    background: none !important; box-shadow: none !important; border: none !important;
}
.bbj-bottom-inquiry-card .bbj-cta-kicker { color: #F8C68F; }
.bbj-bottom-inquiry-card h2 { color: #fff !important; font-size: 34px !important; font-weight: 800 !important; margin: 0 0 12px; }
.bbj-bottom-inquiry-card p { color: rgba(255,255,255,.82) !important; font-size: 16px; margin: 0 0 26px; }
.bbj-button-large { padding: 16px 34px !important; font-size: 16px !important; }

/* ============================================================
   THEME MATCH: Lake Manyara — OPERATOR HERO rebuild
   ============================================================ */
.bbj-operator-hero { padding: 116px 0 62px !important; }
.bbj-operator-hero .bbj-hero-main { max-width: 760px; }

/* Breadcrumb: neutralise theme flex/uppercase, keep it a clean single line */
.bbj-operator-hero .bbj-breadcrumbs {
    display: block !important; position: static !important;
    text-transform: none !important; letter-spacing: normal !important;
    font-size: 13px !important; font-weight: 700 !important;
    color: rgba(255,255,255,.72) !important; margin: 0 0 18px !important;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.bbj-operator-hero .bbj-breadcrumbs a,
.bbj-operator-hero .bbj-breadcrumbs span {
    display: inline !important; position: static !important; float: none !important;
    text-transform: none !important; letter-spacing: normal !important; font-size: 13px !important;
    color: rgba(255,255,255,.72) !important; text-decoration: none; vertical-align: baseline;
}
.bbj-operator-hero .bbj-breadcrumbs a:hover { color: #fff !important; }
.bbj-operator-hero .bbj-breadcrumbs span { color: #fff !important; }

.bbj-operator-hero .bbj-hero-logo img { max-height: 46px; width: auto; margin-bottom: 6px; filter: drop-shadow(0 6px 14px rgba(0,0,0,.4)); }
.bbj-operator-hero .bbj-hero-title {
    color: #fff !important; font-weight: 800 !important;
    font-size: clamp(36px, 5vw, 62px) !important; line-height: 1.03 !important; margin: 8px 0 20px !important;
}
.bbj-hero-eyebrow { color: #F8C68F !important; }

/* Chip row replaces the dark stat box */
.bbj-hero-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.bbj-operator-hero .bbj-hero-chip {
    display: inline-flex; align-items: center; gap: 7px;
    background: rgba(255,255,255,.13); border: 1px solid rgba(255,255,255,.26);
    color: #fff; padding: 9px 16px; border-radius: 999px;
    font-weight: 700; font-size: 13.5px; backdrop-filter: blur(4px);
}
.bbj-operator-hero .bbj-hero-chip .dashicons { font-size: 16px; width: 16px; height: 16px; }
.bbj-operator-hero .bbj-hero-chip-verified { background: rgba(46,148,90,.28); border-color: rgba(120,220,160,.5); }
.bbj-operator-hero .bbj-hero-chip-verified .dashicons { color: #8FF0BC; }
.bbj-operator-hero .bbj-hero-chip-premium { background: rgba(218,156,89,.26); border-color: rgba(255,140,158,.55); }
.bbj-operator-hero .bbj-hero-chip-premium .dashicons { color: #FFB3BE; }

/* Retire the old stock stat box if it ever renders */
.bbj-operator-hero .bbj-hero-stats-integrated,
.bbj-operator-hero .bbj-hero-stat { background: none !important; border: none !important; padding: 0 !important; }

/* ============================================================
   THEME MATCH: Lake Manyara — enquiry card RESHAPE (red-header)
   ============================================================ */
.bbj-enquiry-card {
    background: #fff !important;
    border-radius: 14px !important;
    padding: 0 !important;
    overflow: hidden;
    box-shadow: 0 34px 66px -30px rgba(0,0,0,.72) !important;
    text-align: left !important;
}
.bbj-enquiry-head {
    display: flex; align-items: center; gap: 9px;
    background: #DA9C59; color: #fff; padding: 14px 22px;
}
.bbj-enquiry-head > .dashicons { font-size: 18px; width: 18px; height: 18px; }
.bbj-enquiry-head-label { text-transform: uppercase; letter-spacing: 1.6px; font-weight: 900; font-size: 12px; }
.bbj-enquiry-head-open {
    margin-left: auto; display: inline-flex; align-items: center; gap: 6px;
    font-size: 10.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .5px;
    background: rgba(255,255,255,.18); padding: 4px 10px; border-radius: 999px;
}
.bbj-enquiry-head-open::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #7CF0AE; box-shadow: 0 0 0 3px rgba(124,240,174,.3); }
.bbj-enquiry-body { padding: 24px 26px; }
.bbj-enquiry-body h3 { color: #003240 !important; font-size: 21px !important; font-weight: 800 !important; margin: 0 0 8px !important; }
.bbj-enquiry-body p { color: #5C7A82 !important; font-size: 14px !important; font-weight: 500 !important; margin: 0 0 18px !important; }
.bbj-enquiry-body .bbj-button-block { width: 100%; }
.bbj-enquiry-note { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 14px 0 0 !important; font-size: 12px !important; color: #8AA5AC !important; text-align: center; }
.bbj-enquiry-note .dashicons { font-size: 14px; width: 14px; height: 14px; }

/* ============================================================
   THEME MATCH: Lake Manyara — OPERATOR HERO OVERHAUL
   Bottom-anchored title + overlapping horizontal action bar
   ============================================================ */
.bbj-operator-hero {
    padding: 0 !important;
    min-height: 62vh;
    display: flex;
}
.bbj-operator-hero .bbj-container {
    width: 100%;
    display: flex; flex-direction: column;
    padding-top: 120px; padding-bottom: 92px;   /* clear theme nav + leave room for the bar */
}
.bbj-operator-hero .bbj-breadcrumbs { margin: 0 0 0 !important; }
.bbj-hero-bottom { margin-top: auto; max-width: 860px; }
.bbj-hero-bottom .bbj-hero-eyebrow { margin-bottom: 12px; }
.bbj-operator-hero .bbj-hero-title { margin: 0 0 20px !important; }
.bbj-hero-bottom .bbj-hero-chips { margin-top: 4px; }

/* Overlapping operator action bar */
.bbj-opbar-wrap { position: relative; z-index: 6; margin-top: -56px; margin-bottom: 30px; }
.bbj-opbar {
    display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
    background: #fff; border: 1px solid #D5E3E7; border-radius: 16px;
    box-shadow: 0 32px 62px -34px rgba(0,0,0,.5);
    padding: 18px 24px;
}
.bbj-opbar-id { display: flex; align-items: center; gap: 16px; }
.bbj-opbar-logo {
    display: inline-flex; align-items: center; justify-content: center;
    width: 56px; height: 56px; border-radius: 14px; background: #EAF2F4; overflow: hidden; flex: 0 0 auto;
    border: 1px solid #D5E3E7;
}
.bbj-opbar-logo img { max-width: 46px; max-height: 46px; object-fit: contain; }
.bbj-opbar-logo--mono { background: #003240; color: #fff; font-weight: 800; font-size: 24px; border: none; }
.bbj-opbar-idtext { display: flex; flex-direction: column; line-height: 1.3; }
.bbj-opbar-idtext strong { font-size: 16px; font-weight: 800; color: #003240; }
.bbj-opbar-idtext span { font-size: 13px; font-weight: 600; color: #5C7A82; }
.bbj-opbar-cta { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.bbj-opbar-note { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 700; color: #8AA5AC; }
.bbj-opbar-note .dashicons { font-size: 15px; width: 15px; height: 15px; color: #DA9C59; }
.bbj-opbar-cta .bbj-button { white-space: nowrap; }
@media (max-width: 720px) {
    .bbj-opbar { flex-direction: column; align-items: stretch; }
    .bbj-opbar-cta { justify-content: space-between; }
    .bbj-opbar-cta .bbj-button { flex: 1 1 auto; text-align: center; }
}

/* ===== Nyerere signature tweaks ===== */
.bbj-container h1,.bbj-container h2,.bbj-container h3,.bbj-container h4,
.bbj-font-heading,.at-tour h3,.bbj-card-title,.bbj-hero-title,.bbj-tour-title { font-weight: 700 !important; }

/* Gold pill buttons, dark text (Nyerere) */
.bbj-button,.bbj-button-primary,.bbj-button-outline,.bbj-button-small,.bbj-button-modern,.bbj-button-block,.bbj-request-quote { font-weight: 600 !important; letter-spacing: .15px !important; }
.bbj-button-primary,.bbj-button-modern,.bbj-request-quote { background:#DA9C59 !important; color:#2A1C08 !important; border-color:#DA9C59 !important; box-shadow:0 10px 22px -12px rgba(218,156,89,.7) !important; }
.bbj-button-primary:hover,.bbj-button-modern:hover,.bbj-request-quote:hover { background:#003240 !important; border-color:#003240 !important; color:#fff !important; }
.bbj-button-outline { color:#003240 !important; border-color:#CBDCE0 !important; }
.bbj-button-outline:hover { background:#003240 !important; border-color:#003240 !important; color:#fff !important; }

/* Cursive gold eyebrow (Kaushan Script) — Nyerere signature */
.bbj-section-eyebrow { font-family:'Kaushan Script', cursive !important; text-transform:none !important; font-weight:400 !important; letter-spacing:normal !important; font-size:clamp(20px,2.3vw,27px) !important; color:#DA9C59 !important; }
.bbj-hero-eyebrow { color:#F8C68F !important; }

/* Card soft teal shadow, 18px */
.bbj-operator-card-horizontal,.at-tour.bbj-tour-card,.at-tour { box-shadow:0 16px 40px 0 rgba(0,28,36,.14) !important; border-radius:18px !important; border-color:#E3ECEE !important; }
.bbj-operator-card-horizontal:hover,.at-tour:hover { box-shadow:0 24px 50px -6px rgba(0,28,36,.22) !important; }

/* Gold bands need dark text */
.bbj-enquiry-head { color:#2A1C08 !important; }
.bbj-enquiry-head-open { background:rgba(0,50,64,.16) !important; color:#003240 !important; }
.bbj-enquiry-head-open::before { background:#003240 !important; box-shadow:0 0 0 3px rgba(0,50,64,.25) !important; }
.bbj-cat-badge { color:#2A1C08 !important; }
.bbj-meta-pill.bbj-price-pill { background:#F6ECD9 !important; color:#9A6B1E !important; border-color:#E7D3AC !important; }
.bbj-enquire-price { color:#9A6B1E !important; }
.bbj-detail-icon,.bbj-detail-item .bbj-detail-icon { background:#F6ECD9 !important; color:#9A6B1E !important; }
.bbj-timeline-marker { box-shadow:0 0 0 5px #F6ECD9 !important; }

/* Nyerere: centered operator hero (differs from Manyara left-aligned) */
.bbj-operator-hero .bbj-container { align-items: center; }
.bbj-operator-hero .bbj-breadcrumbs { text-align: center; }
.bbj-hero-bottom { text-align: center; }
.bbj-hero-chips { justify-content: center; }

/* ===== Nyerere: operator contact = inline centered hero CTA ===== */
.bbj-operator-hero .bbj-container { padding-bottom: 64px !important; }
.bbj-hero-cta { margin-top: 30px; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.bbj-hero-cta .bbj-button { font-size: 16px !important; padding: 15px 38px !important; }
.bbj-hero-cta-line { color: rgba(255,255,255,.85); font-size: 13.5px; font-weight: 600; letter-spacing: .3px; }

/* ===== Nyerere tour card: price-led, no footer ===== */
.bbj-card-priceled .at-tour-img { position:relative; height:220px; }
.bbj-card-priceled .at-tour-img img { width:100%; height:100%; object-fit:cover; }
.bbj-dur-pill { position:absolute; top:14px; left:14px; background:rgba(0,50,64,.88); color:#fff; padding:6px 13px; border-radius:999px; font-size:12px; font-weight:700; display:inline-flex; align-items:center; gap:5px; z-index:2; }
.bbj-dur-pill .dashicons { font-size:14px; width:14px; height:14px; }
.bbj-card-priceled .at-tour-body { padding:18px 20px 20px; }
.bbj-priceline { font-family:'Jost',sans-serif; font-size:23px; font-weight:700; color:#9A6B1E; margin-bottom:8px; }
.bbj-fromlabel { font-size:11px; font-weight:700; color:#8AA5AC; text-transform:uppercase; letter-spacing:1px; }
.bbj-dest-mini { display:block; font-size:11px; font-weight:800; text-transform:uppercase; letter-spacing:1.3px; color:#DA9C59; margin-bottom:3px; }
.bbj-card-priceled h3 { font-size:19px !important; margin:0 0 6px; line-height:1.25; }
.bbj-card-op { display:block; font-size:13px; color:#5C7A82; }
.bbj-cardlink { display:inline-block; margin-top:14px; color:#DA9C59; font-weight:700; }

/* ===== Nyerere operator card: vertical (image banner on top) ===== */
.bbj-card-top { flex-direction: column !important; }
.bbj-card-image { width: 100% !important; min-height: 210px !important; }
.bbj-card-details { width: 100% !important; }
.bbj-card-branding { width: 100% !important; display: flex !important; flex-direction: row !important; justify-content: space-between; align-items: center; border-top: 1px solid #E3ECEE; }

/* ===== Nyerere bottom CTA: boxed card on cream ===== */
.bbj-bottom-inquiry-section { background:#EAF2F4 !important; padding:60px 0 !important; }
.bbj-bottom-inquiry-card { background:#fff !important; border:1px solid #D5E3E7 !important; border-left:5px solid #DA9C59 !important; border-radius:14px !important; max-width:760px; margin:0 auto; padding:34px 40px !important; box-shadow:0 20px 44px -28px rgba(0,28,36,.4) !important; }
.bbj-bottom-inquiry-card h2 { color:#003240 !important; }
.bbj-bottom-inquiry-card p { color:#5C7A82 !important; }
.bbj-bottom-inquiry-card .bbj-cta-kicker { color:#9A6B1E !important; }

/* ===== Nyerere tour-page boxes ===== */
.bbj-enquire-top { background:#DA9C59 !important; border-bottom-color:#C88A3E !important; }
.bbj-enquire-eyebrow { color:#2A1C08 !important; }
.bbj-enquire-price { color:#2A1C08 !important; }
.bbj-premium-cta-card { background:#EAF2F4 !important; background-image:none !important; color:#003240 !important; border:1px solid #D5E3E7 !important; border-top:4px solid #DA9C59 !important; }
.bbj-premium-cta-card h3 { color:#003240 !important; }
.bbj-premium-cta-card p { color:#5C7A82 !important; }
.bbj-premium-cta-card .bbj-cta-kicker { color:#9A6B1E !important; }

/* Nyerere filter titles: gold underline */
.bbj-filter-title { border-bottom: 2px solid #DA9C59 !important; padding-bottom: 7px !important; display: inline-block; }

/* ===== Nyerere operator filter: open, gold dividers ===== */
.bbj-sidebar-filters:not(.bbj-filters-compact) { background: transparent !important; border: none !important; box-shadow: none !important; border-radius: 0 !important; padding: 4px 2px !important; }
.bbj-sidebar-filters:not(.bbj-filters-compact) .bbj-filter-group { border-bottom: 1px solid #E3D3B0; padding: 16px 0; }
.bbj-sidebar-filters:not(.bbj-filters-compact) .bbj-filter-actions { padding-top: 18px; }


/* ===== Operator card: monogram fallback when no logo is set ===== */
.bbj-card-branding .bbj-operator-logo--mono {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #003240;
    color: #fff;
    font-weight: 800;
    font-size: 34px;
    letter-spacing: .02em;
    line-height: 1;
    user-select: none;
}
