.roamease-tours-grid.style-list .tour-card.card-style-minimal .tour-image { border-bottom: 0; }
/* ========================================
   ROAMEASE ENHANCED BREADCRUMB NAVIGATION
   ======================================== */

/* Enhanced Breadcrumb Container */
.roamease-enhanced-breadcrumbs {
    margin: 0 0 clamp(24px, 4vw, 32px) 0;
    padding: 0;
    background: transparent;
}

/* Breadcrumb List */
.breadcrumb-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0;
    font-size: clamp(0.85rem, 1vw, 0.95rem);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* Individual Breadcrumb Items */
.breadcrumb-item {
    display: flex;
    align-items: center;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Breadcrumb Links - Clean Button-like Appearance */
.breadcrumb-link {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    color: #64748b;
    text-decoration: none;
    border-radius: 8px;
    background: rgba(148, 163, 184, 0.08);
    border: 1px solid rgba(148, 163, 184, 0.12);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    font-weight: 500;
    line-height: 1.4;
}

/* Breadcrumb Link Hover Effects - Smooth Morph Animation */
.breadcrumb-link:hover {
    color: #1e293b;
    background: rgba(59, 130, 246, 0.1);
    border-color: rgba(59, 130, 246, 0.2);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
    text-decoration: none;
}

/* Morph Background Effect */
.breadcrumb-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.08), transparent);
    transition: left 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
}

.breadcrumb-link:hover::before {
    left: 100%;
}

/* Active/Current Item Styling */
.breadcrumb-item.current {
    pointer-events: none;
}

.breadcrumb-item.current .breadcrumb-text {
    color: #1e293b;
    font-weight: 600;
    padding: 8px 16px;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 8px;
    border: 1px solid rgba(148, 163, 184, 0.2);
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Breadcrumb Text Container */
.breadcrumb-text {
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

/* Separators - Modern Chevron Style */
.breadcrumb-separator {
    color: #94a3b8;
    font-size: 0.9em;
    margin: 0 12px;
    transition: all 0.3s ease;
    font-weight: 400;
    opacity: 0.7;
}

/* Hover effect on parent item affects separator */
.breadcrumb-item:hover + .breadcrumb-item .breadcrumb-separator {
    color: #3b82f6;
    transform: translateX(2px);
}

/* Context-Based Color Themes */
.roamease-enhanced-breadcrumbs.countries-context .breadcrumb-link:hover {
    background: rgba(16, 185, 129, 0.1);
    border-color: rgba(16, 185, 129, 0.2);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.15);
}

.roamease-enhanced-breadcrumbs.destinations-context .breadcrumb-link:hover {
    background: rgba(245, 158, 11, 0.1);
    border-color: rgba(245, 158, 11, 0.2);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.15);
}

.roamease-enhanced-breadcrumbs.tours-context .breadcrumb-link:hover {
    background: rgba(139, 69, 19, 0.1);
    border-color: rgba(139, 69, 19, 0.2);
    box-shadow: 0 4px 12px rgba(139, 69, 19, 0.15);
}

/* Mobile Responsive Design */
@media (max-width: 768px) {
    .roamease-enhanced-breadcrumbs {
        margin-bottom: 20px;
    }
    
    .breadcrumb-list {
        font-size: 0.8rem;
        gap: 2px;
    }
    
    .breadcrumb-link {
        padding: 6px 12px;
        border-radius: 6px;
    }
    
    .breadcrumb-item.current .breadcrumb-text {
        padding: 6px 12px;
        border-radius: 6px;
    }
    
    .breadcrumb-separator {
        margin: 0 8px;
        font-size: 0.8em;
    }
}

@media (max-width: 480px) {
    .breadcrumb-list {
        font-size: 0.75rem;
    }
    
    .breadcrumb-link {
        padding: 5px 10px;
        border-radius: 5px;
    }
    
    .breadcrumb-item.current .breadcrumb-text {
        padding: 5px 10px;
        border-radius: 5px;
    }
    
    .breadcrumb-separator {
        margin: 0 6px;
    }
    
    /* Stack breadcrumbs on very small screens if needed */
    .breadcrumb-list {
        flex-wrap: wrap;
        row-gap: 6px;
    }
}

/* Accessibility Improvements */
.breadcrumb-link:focus {
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

.breadcrumb-link:focus:not(:focus-visible) {
    outline: none;
    box-shadow: none;
}

/* Print Styles */
@media print {
    .roamease-enhanced-breadcrumbs {
        margin-bottom: 16px;
    }
    
    .breadcrumb-link {
        background: none;
        border: none;
        color: #000;
        padding: 4px 8px;
    }
    
    .breadcrumb-separator::after {
        content: " > ";
    }
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    .breadcrumb-link {
        border-width: 2px;
    }
    
    .breadcrumb-link:hover {
        border-width: 2px;
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    .breadcrumb-link,
    .breadcrumb-separator,
    .breadcrumb-text {
        transition: none;
    }
    
    .breadcrumb-link::before {
        transition: none;
    }
    
    .breadcrumb-link:hover {
        transform: none;
    }
}

/* JavaScript Enhanced Animations */
.roamease-enhanced-breadcrumbs.animate-in {
    animation: breadcrumbSlideIn 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes breadcrumbSlideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.breadcrumb-fade-in {
    opacity: 0;
    animation: fadeInUp 0.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Ripple Effect for Links */
.breadcrumb-ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(59, 130, 246, 0.3);
    pointer-events: none;
    transform: scale(0);
    animation: ripple 0.6s linear;
    width: 20px;
    height: 20px;
    margin-left: -10px;
    margin-top: -10px;
}

@keyframes ripple {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* Icon Enhancements */
.country-flag,
.destination-icon,
.tour-icon {
    display: inline-block;
    margin-right: 6px;
    animation: iconBounce 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes iconBounce {
    0%, 20%, 60%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-4px);
    }
    80% {
        transform: translateY(-2px);
    }
}

/* Context-Specific Styling */
.roamease-enhanced-breadcrumbs.context-countries .breadcrumb-link:hover {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(5, 150, 105, 0.1) 100%);
    border-color: rgba(16, 185, 129, 0.3);
}

.roamease-enhanced-breadcrumbs.context-destinations .breadcrumb-link:hover {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1) 0%, rgba(217, 119, 6, 0.1) 100%);
    border-color: rgba(245, 158, 11, 0.3);
}

.roamease-enhanced-breadcrumbs.context-tour .breadcrumb-link:hover {
    background: linear-gradient(135deg, rgba(139, 69, 19, 0.1) 0%, rgba(120, 53, 15, 0.1) 100%);
    border-color: rgba(139, 69, 19, 0.3);
}

.roamease-enhanced-breadcrumbs.context-taxonomy .breadcrumb-link:hover {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(79, 70, 229, 0.1) 100%);
    border-color: rgba(99, 102, 241, 0.3);
}

/* ========================================
   END ENHANCED BREADCRUMB NAVIGATION
   ======================================== */

/* Results toolbar: align with search and style as segmented toggle */
.roamease-inline-results .results-toolbar {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin: 8px 0 12px;
}
/* Faceted layout */
.roamease-faceted { display: grid; grid-template-columns: 280px 1fr; gap: 24px; margin: 18px 0; }
.roamease-faceted .facet-sidebar { background: #fff; border: 1px solid rgba(0,0,0,.08); border-radius: 12px; padding: 16px; position: sticky; top: 20px; align-self: start; }
.roamease-faceted .facet-title { margin: 0 0 12px; font-weight: 600; color: #374151; }
.roamease-faceted .facet-group { margin: 12px 0 16px; }
.roamease-faceted .facet-heading { font-weight: 600; color: #475569; margin-bottom: 8px; }
.roamease-faceted .facet-options label { display: block; margin: 6px 0; color: #334155; }
.roamease-faceted .facet-options input[type="checkbox"] { margin-right: 8px; }
.roamease-faceted .facet-country-select { width: 100%; padding: 8px 10px; border: 1px solid #e5e7eb; border-radius: 8px; }
.roamease-faceted .facet-empty { color: #6b7280; font-size: 0.95rem; padding: 6px 0; }
.roamease-faceted .facet-loading { color: #6b7280; font-size: 0.95rem; padding: 6px 0; }

/* Custom multiselect dropdown (basic mode) - Chip UI */
.re-ms-field { position: relative; }
.re-multiselect { position: relative; min-width: 200px; }
.re-multiselect .re-ms-control { width:100%; background:#fff; border:1px solid #e2e8f0; border-radius:10px; padding:8px 36px 8px 10px; cursor:pointer; min-height:40px; display:flex; align-items:center; gap:6px; flex-wrap:wrap; }
.re-multiselect .re-ms-control:focus { outline:2px solid rgba(var(--re-primary-rgb,37,99,235),.6); outline-offset:2px; box-shadow: 0 0 0 4px rgba(var(--re-primary-rgb,37,99,235),.08); }
.re-multiselect .re-ms-caret { position:absolute; right:10px; top:50%; transform:translateY(-50%); border-left:5px solid transparent; border-right:5px solid transparent; border-top:6px solid #475569; opacity:.7; }
.re-multiselect .re-ms-chips { display:flex; align-items:center; gap:6px; flex-wrap:wrap; }
.re-multiselect .re-ms-placeholder { color:#94a3b8; font-size:14px; }
.re-multiselect .re-ms-chip { display:inline-flex; align-items:center; gap:6px; background:#f1f5f9; color:#0f172a; border:1px solid #e2e8f0; border-radius:999px; padding:4px 8px; font-size:12px; line-height:1; }
.re-multiselect .re-ms-chip.more { background:transparent; border:none; color:#475569; }
.re-multiselect .re-ms-chip .re-ms-remove { border:none; background:transparent; color:#64748b; cursor:pointer; padding:0; line-height:1; font-size:14px; }
.re-multiselect .re-ms-chip .re-ms-remove:hover { color:#ef4444; }
.re-multiselect .re-ms-panel { position:absolute; top:calc(100% + 6px); left:0; z-index:50; background:#fff; border:1px solid #e2e8f0; border-radius:12px; box-shadow:0 16px 36px rgba(2,6,23,.12); padding:8px 10px 12px; width:280px; max-height:320px; overflow:auto; }
.re-multiselect .re-ms-search-wrapper { padding:2px 0 6px; position:sticky; top:0; background:#fff; }
.re-multiselect .re-ms-search { width:100%; border:1px solid #e2e8f0; border-radius:8px; padding:8px 10px; font-size:13px; }
.re-multiselect .re-ms-options { list-style:none; margin:8px 0 0; padding:0; }
.re-multiselect .re-ms-options [role="option"] { padding:8px 10px; border-radius:8px; cursor:pointer; color:#0f172a; }
.re-multiselect .re-ms-options [role="option"]:hover { background:#f8fafc; }
.re-multiselect .re-ms-options [role="option"][aria-selected="true"] { background: rgba(var(--re-primary-rgb,37,99,235),.08); border:1px solid rgba(var(--re-primary-rgb,37,99,235),.25); }
.re-multiselect .re-ms-actions { margin-top:8px; text-align:right; }
.re-multiselect .re-ms-actions .re-ms-clear { background:#f8fafc; border:1px solid #e2e8f0; border-radius:8px; padding:6px 10px; font-size:12px; cursor:pointer; color:#334155; }
.re-multiselect .re-ms-actions .re-ms-clear:hover { background:#e2e8f0; }
.roamease-faceted .facet-results { min-width: 0; }

/* Facet toolbar and controls */
.roamease-faceted .facet-toolbar { display:flex; align-items:center; justify-content:space-between; gap:10px; margin-bottom:10px; }
.roamease-faceted .facet-clear-all { color:#ef4444; text-decoration:none; font-size:13px; }
.roamease-faceted .facet-clear-all:hover { text-decoration:underline; }
.roamease-faceted .facet-drawer-toggle { display:none; margin-left:auto; background:#f8fafc; border:1px solid #e2e8f0; border-radius:8px; padding:6px 10px; font-size:13px; }

/* Collapsible groups */
.roamease-faceted .facet-group.collapsed .facet-options { display:none; }
.roamease-faceted .facet-group .facet-heading { cursor:pointer; }

/* Apply button row */
.roamease-faceted .facet-actions { margin-top:12px; }
.roamease-faceted .facet-actions .facet-apply { background:var(--re-btn-bg,#2563eb); border:1px solid var(--re-btn-bg,#2563eb); color:var(--re-btn-text,#fff); padding:8px 12px; border-radius:8px; }
.roamease-faceted .facet-actions .facet-apply:hover { background:var(--re-btn-hover-bg,#1d4ed8); border-color:var(--re-btn-hover-bg,#1d4ed8); }

/* Mobile drawer behaviour */
@media (max-width: 1024px) {
    .roamease-faceted { grid-template-columns: 1fr; }
    .roamease-faceted .facet-drawer-toggle { display:inline-block; }
    .roamease-faceted[data-mobile-drawer="1"] .facet-sidebar { position:fixed; top:0; left:0; height:100vh; width:min(85vw, 340px); transform:translateX(-100%); transition:transform .2s ease; z-index:1010; overflow:auto; box-shadow:0 10px 30px rgba(2,6,23,.3); }
    .roamease-faceted.drawer-open .facet-sidebar { transform:translateX(0); }
    .roamease-faceted.drawer-open::after { content:""; position:fixed; inset:0; background:rgba(0,0,0,.35); z-index:1000; }
    .roamease-faceted .facet-results { position:relative; z-index:0; }
}

@media (max-width: 1024px) {
    .roamease-faceted { grid-template-columns: 1fr; }
    .roamease-faceted .facet-sidebar { position: static; }
}

/* Results bar */
.results-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 8px 0 12px; padding: 8px 10px; background: #fff; border: 1px solid rgba(0,0,0,.06); border-radius: 10px; }
.results-bar.is-hidden { display: none; }
.results-bar .results-count { color: #374151; font-weight: 500; }
.results-bar .results-controls { display: inline-flex; align-items: center; gap: 10px; }
.results-bar .sort-label { color: #475569; font-weight: 500; }
.results-bar .results-sort { margin-left: 6px; padding: 6px 10px; border: 1px solid #e5e7eb; border-radius: 8px; }
.layout-toggle.is-hidden { display: none; }

/* Countries Grid cards */
/* Countries Grid - Standardized Responsive: 3-2-1 Pattern */
.roamease-countries-grid { 
    display: grid; 
    gap: 25px; 
    grid-template-columns: repeat(3, 1fr); /* Desktop: 3 columns */
}

/* Tablet: 2 columns */
@media (max-width: 768px) {
    .roamease-countries-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

/* Mobile: 1 column */
@media (max-width: 480px) {
    .roamease-countries-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}
.roamease-countries-grid .destination-card { background:#fff; border:1px solid rgba(0,0,0,.06); border-radius:12px; overflow:hidden; transition: box-shadow .2s ease, transform .2s ease; position:relative; }
.roamease-countries-grid .destination-card:hover { box-shadow: 0 16px 36px rgba(2,6,23,.12); transform: translateY(-2px); }
.roamease-countries-grid .destination-image, .roamease-countries-grid .destination-placeholder { display:block; width:100%; height:auto; }
.roamease-countries-grid .destination-placeholder { background: linear-gradient(135deg,#f1f5f9,#e2e8f0); aspect-ratio:16/9; }
.roamease-countries-grid .destination-info { display:flex; align-items:center; justify-content:space-between; padding:12px 14px; }
.roamease-countries-grid .destination-info .destination-text { display:flex; flex-direction:column; gap:4px; }
.roamease-countries-grid .destination-info h3 { margin:0; font-size:1.05rem; }
.roamease-countries-grid .destination-info h3 a { color:#0f172a; text-decoration:none; }
.roamease-countries-grid .destination-info .tour-count { color:#1d4ed8; font-weight:600; font-size:0.95rem; }
.roamease-countries-grid .destination-cta { flex:0 0 auto; width:40px; height:40px; border-radius:999px; background: rgba(var(--re-primary-rgb,37,99,235), .08); display:inline-flex; align-items:center; justify-content:center; transition: background .2s ease, transform .2s ease; border:1px solid rgba(var(--re-primary-rgb,37,99,235), .25); }
.roamease-countries-grid .destination-cta .arrow-icon { stroke: rgba(var(--re-primary-rgb,37,99,235), 1); transition: transform .2s ease; }
.roamease-countries-grid .destination-card:hover .destination-cta { background: rgba(var(--re-primary-rgb,37,99,235), .15); transform: translateX(2px); }
.roamease-countries-grid .destination-card:hover .destination-cta .arrow-icon { transform: translateX(1px); }
/* Results toggle buttons - refined */
.roamease-inline-results .layout-toggle { background:#f8fafc; border:1px solid #e5e7eb; border-radius:8px; overflow:hidden; }
.roamease-inline-results .layout-toggle .results-toggle { padding:6px 10px; border:none; background:transparent; color:#334155; cursor:pointer; }
.roamease-inline-results .layout-toggle .results-toggle[aria-pressed="true"] { background:#fff; color:#0f172a; box-shadow: inset 0 0 0 1px #e5e7eb; }
/* Faceted sidebar polish */
.roamease-faceted .facet-sidebar { box-shadow: 0 10px 24px rgba(2,6,23,.06); }
.roamease-faceted .facet-heading { font-size: 14px; letter-spacing: .2px; text-transform: none; }
.roamease-faceted .facet-options label { padding:6px 6px; border-radius:8px; }
.roamease-faceted .facet-options label:hover { background:#f8fafc; }

/* Popular badge */
.tour-card .badge-popular { position: absolute; top: 10px; right: 10px; background: #16a34a; color: #fff; font-weight: 600; font-size: 12px; padding: 6px 10px; border-radius: 999px; z-index: 2; box-shadow: 0 2px 8px rgba(0,0,0,.15); }

.roamease-inline-results .layout-toggle {
    display: inline-flex;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 1px 2px rgba(0,0,0,0.06);
}

.roamease-inline-results .layout-toggle .results-toggle {
    appearance: none;
    border: 0;
    background: transparent;
    padding: 8px 14px;
    font: inherit;
    color: #334155;
    cursor: pointer;
    transition: background .2s ease, color .2s ease;
}

.roamease-inline-results .layout-toggle .results-toggle + .results-toggle {
    border-left: 1px solid rgba(0,0,0,0.08);
}

.roamease-inline-results .layout-toggle .results-toggle[aria-pressed="true"] {
    background: #8B5E3C; /* match brand brown */
    color: #fff;
}

@media (max-width: 640px) {
    .roamease-inline-results .results-toolbar {
        justify-content: flex-start;
    }
}

/* Destinations taxonomy hero: ensure description is inside the orange box, centered, white, and wrapped */
.roamease-destination-archive .archive-header {
    /* keep existing gradient/background; just ensure comfortable padding */
    padding: clamp(28px, 5vw, 56px) clamp(16px, 3vw, 32px);
    border-radius: 18px;
    text-align: center;
    position: relative;
}

.roamease-destination-archive .archive-header .archive-title {
    color: var(--re-heading, #fff);
    margin: 0 0 8px 0;
    line-height: 1.2;
    text-shadow: 0 1px 2px rgba(0,0,0,.15);
}

.roamease-destination-archive .archive-header .archive-description {
    color: var(--re-subheading, #fff);
    max-width: min(900px, 92%);
    margin: 6px auto 0;
    font-size: clamp(0.95rem, 1.05vw, 1.05rem);
    line-height: 1.55;
    white-space: normal !important;
    word-break: break-word;
    overflow-wrap: anywhere;
    opacity: .95;
}

.roamease-destination-archive .archive-header .archive-description p {
    margin: .4em 0;
}

@media (max-width: 768px) {
    .roamease-destination-archive .archive-header {
        padding: 28px 16px;
    }
    .roamease-destination-archive .archive-header .archive-description {
        max-width: 96%;
        font-size: .95rem;
    }
}
/* RoamEase modal (booking & inquiry) */
.roamease-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    display: none; /* toggled to flex via .active */
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.roamease-modal.active { display: flex; }

.roamease-modal .modal-content {
    position: relative;
    background: var(--re-bg, #fff);
    width: 90%;
    max-width: 760px;
    max-height: 85vh;
    overflow: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    padding: 24px;
}

.roamease-modal .modal-close {
    position: absolute;
    top: 10px;
    right: 14px;
    font-size: 22px;
    cursor: pointer;
    color: var(--re-text, #666);
    background: none;
    border: none;
    z-index: 1000;
}

.roamease-modal .modal-close:hover {
    color: var(--re-text, #333);
}

.roamease-modal .modal-body {
    min-height: 100px;
}

.roamease-modal .modal-body .loading-content {
    text-align: center;
    color: var(--re-text, #555);
    padding: 20px;
}

/* Form styles for booking and inquiry forms */
.roamease-booking-form,
.roamease-inquiry-form {
    width: 100%;
    max-width: 100%;
}

.roamease-booking-form h3,
.roamease-inquiry-form h3 {
    margin-bottom: 20px;
    color: var(--re-heading, #333);
    font-size: 24px;
}

.roamease-booking-form h4 {
    margin: 20px 0 15px 0;
    color: var(--re-heading, #333);
    font-size: 18px;
    border-bottom: 2px solid var(--re-primary, #0073aa);
    padding-bottom: 5px;
}

.form-row {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.form-group {
    flex: 1;
    min-width: 0;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: var(--re-text, #333);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--re-border, #ddd);
    border-radius: 5px;
    font-size: 14px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--re-primary, #0073aa);
    outline: none;
    box-shadow: 0 0 0 2px rgba(var(--re-primary-rgb, 0, 115, 170), 0.2);
}

.booking-summary {
    background: var(--re-bg, #f9f9f9);
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
    border: 1px solid var(--re-border, #e0e0e0);
}

.price-breakdown {
    font-size: 14px;
}

.price-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    padding: 5px 0;
}

.calculation-breakdown {
    margin: 15px 0;
    padding: 10px 0;
    border-top: 1px solid var(--re-border, #e0e0e0);
}

.calc-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 13px;
    color: var(--re-text, #666);
}

.adult-calculation,
.child-calculation {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.price-total {
    display: flex;
    justify-content: space-between;
    font-weight: bold;
    border-top: 2px solid var(--re-primary, #0073aa);
    padding-top: 10px;
    margin-top: 15px;
    font-size: 16px;
    color: var(--re-text, #333);
}

.price-enquiry-notice {
    background: rgba(var(--re-warning-rgb, 255, 193, 7), 0.15);
    border: 1px solid rgba(var(--re-warning-rgb, 255, 193, 7), 0.35);
    border-radius: 5px;
    padding: 15px;
    color: var(--re-warning, #856404);
}

.price-enquiry-notice p {
    margin: 0;
    font-size: 14px;
}

.total-amount {
    color: var(--re-primary, #0073aa);
    font-weight: bold;
}

@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
        gap: 10px;
    }
    
    .roamease-modal .modal-content {
        width: 95%;
        margin: 10px;
        max-height: 90vh;
    }
    
    .booking-summary {
        padding: 15px;
    }
}

/* Notification utility (if not present) */
.roamease-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: var(--re-bg, #323232);
    color: var(--re-text, #fff);
    padding: 12px 16px;
    border-radius: 6px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.15);
    z-index: 10000;
    display: none;
}

.roamease-notification.show { display: block; }

.roamease-notification.success { background: var(--re-success, #2e7d32); }
.roamease-notification.error { background: var(--re-danger, #c62828); }
.roamease-notification.info { background: var(--re-accent, #1565c0); }

/* Shared Breadcrumbs (Destinations pages) */
.destination-breadcrumbs {
    padding: 14px 0;
    font-size: 14px;
    color: #495057;
    margin-bottom: 16px;
}

.destination-breadcrumbs .breadcrumb-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.destination-breadcrumbs .breadcrumb-item { 
    display: inline-flex; 
    align-items: center; 
    gap: 8px; 
}

.destination-breadcrumbs .breadcrumb-item:not(:last-child)::after {
    content: '›';
    color: rgba(var(--re-text-rgb, 72, 84, 96), 0.5);
    font-size: 16px;
}

.destination-breadcrumbs .breadcrumb-link {
    color: var(--re-accent, #ff7a18);
    text-decoration: none;
    font-weight: 500;
}

.destination-breadcrumbs .breadcrumb-link:hover {
    color: var(--re-primary, #e96b0b);
    text-decoration: underline;
}

.destination-breadcrumbs .current {
    color: var(--re-text, #2c3e50);
    font-weight: 600;
}

@media (max-width: 768px) {
    .destination-breadcrumbs { font-size: 13px; padding: 12px 0; }
    .destination-breadcrumbs .breadcrumb-list { gap: 6px; }
}

/* Unified pill style for all breadcrumb navs */
.re-breadcrumbs .breadcrumb-list {
    gap: 10px;
}

.re-breadcrumbs .breadcrumb-item {
    position: relative;
}

.re-breadcrumbs .breadcrumb-item .breadcrumb-link,
.re-breadcrumbs .breadcrumb-item.current {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 999px; /* pill */
    line-height: 1.2;
    background: var(--re-bg, #fff);
    border: 1px solid rgba(var(--re-accent-rgb, 255, 122, 24), 0.35); /* soft accent border */
    color: var(--re-accent, #ff7a18);
    font-weight: 600;
    box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}

.re-breadcrumbs .breadcrumb-item .breadcrumb-link:hover {
    background: rgba(var(--re-accent-rgb, 255, 122, 24), 0.07);
    border-color: rgba(var(--re-accent-rgb, 255, 122, 24), 0.5);
    color: var(--re-primary, #e96b0b);
}

/* Active/current appears pressed and filled */
.re-breadcrumbs .breadcrumb-item.current {
    background: var(--re-accent, #ff7a18);
    border-color: var(--re-accent, #ff9b10);
    color: #fff;
    box-shadow: 0 2px 8px rgba(var(--re-accent-rgb, 255, 122, 24), 0.25);
}

/* Remove inner white chip on current item within enhanced breadcrumbs */
.re-breadcrumbs .breadcrumb-item.current .breadcrumb-text {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
    color: #fff !important;
}

/* Adjust chevron when using pills */
.re-breadcrumbs .breadcrumb-item:not(:last-child)::after {
    /* Disable pseudo chevrons to avoid double arrows; we render separators in markup */
    content: none !important;
    color: rgba(var(--re-text-rgb, 72, 84, 96), 0.35);
    margin-left: 0;
}

@media (max-width: 768px) {
    .re-breadcrumbs .breadcrumb-list { gap: 8px; }
    .re-breadcrumbs .breadcrumb-item .breadcrumb-link,
    .re-breadcrumbs .breadcrumb-item.current { padding: 6px 10px; }
}
/**
 * RoamEase Pro Frontend Styles
 * 
 * @package RoamEase_Pro
 * @since 2.0.0
 */

/* Reset and Base Styles */
.roamease-tours-grid *,
.roamease-search-form *,
.roamease-booking-form *,
.roamease-inquiry-form * {
    box-sizing: border-box;
}

/* Tours Grid - Standardized Responsive: 3-2-1 Pattern */
.roamease-tours-grid {
    display: grid;
    gap: 30px;
    margin: 20px 0;
    grid-template-columns: repeat(3, 1fr); /* Desktop: 3 columns */
}

/* Tablet: 2 columns */
@media (max-width: 768px) {
    .roamease-tours-grid { 
        grid-template-columns: repeat(2, 1fr); 
        gap: 20px;
    }
}

/* Mobile: 1 column */
@media (max-width: 480px) {
    .roamease-tours-grid { 
        grid-template-columns: 1fr; 
        gap: 15px;
    }
}

/* Featured Tours Grid - Standardized Responsive: 3-2-1 Pattern */
.roamease-featured-tours {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Desktop: 3 columns */
    gap: 30px;
    margin: 20px 0;
}

/* Tablet: 2 columns */
@media (max-width: 768px) {
    .roamease-featured-tours {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

/* Mobile: 1 column */
@media (max-width: 480px) {
    .roamease-featured-tours {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

/* Global Responsive Override for All Grid Widgets - 3-2-1 Pattern */
/* This ensures consistent responsive behavior across all Elementor widgets */

/* Desktop: Force 3 columns maximum for better layout consistency */
.roamease-tours-grid,
.roamease-featured-tours,
.roamease-countries-grid,
.destinations-slider {
    grid-template-columns: repeat(3, 1fr) !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

/* Tablet: 2 columns with proper spacing */
@media (max-width: 768px) {
    .roamease-tours-grid,
    .roamease-featured-tours,
    .roamease-countries-grid,
    .destinations-slider {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px !important;
        padding: 0 10px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
}

/* Mobile: 1 column with proper margins */
@media (max-width: 480px) {
    .roamease-tours-grid,
    .roamease-featured-tours,
    .roamease-countries-grid,
    .destinations-slider {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
        padding: 0 8px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
}

/* Ensure cards don't overflow and fit properly */
.tour-card,
.destination-card {
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    min-width: 0 !important; /* Allows cards to shrink properly */
}

/* Prevent image overflow in cards */
.tour-card .tour-image,
.destination-card .destination-image {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

.tour-card .tour-image img,
.destination-card .destination-image img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    object-fit: cover !important;
}

/* Container-level responsive fixes */
@media (max-width: 768px) {
    .elementor-widget-container {
        padding: 0 5px !important;
    }
    
    /* Ensure parent containers don't cause overflow */
    .elementor-section,
    .elementor-container {
        max-width: 100% !important;
        overflow-x: hidden !important;
    }
}

@media (max-width: 480px) {
    .elementor-widget-container {
        padding: 0 3px !important;
    }
    
    /* Tighter spacing for mobile */
    .tour-card,
    .destination-card {
        margin: 0 !important;
        border-radius: 8px !important; /* Slightly smaller border radius for mobile */
    }
    
    /* Ensure content within cards doesn't overflow */
    .tour-card .tour-content,
    .destination-card .destination-info {
        padding: 12px !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
    }
}

.roamease-tours-grid.style-list {
    grid-template-columns: 1fr;
}

.roamease-tours-grid.style-list .tour-card { display: grid; grid-template-columns: 320px 1fr; gap: 24px; align-items: stretch; min-height: unset; overflow: hidden; border-radius: 16px; }
/* Make left image column match right column height */
.roamease-tours-grid.style-list .tour-image { width: 100%; /* let grid stretch determine height */ height: auto; min-height: 220px; overflow: hidden; align-self: stretch; display: flex; 
    /* round only the left side to blend with the card */
    border-top-left-radius: 16px; border-bottom-left-radius: 16px; border-top-right-radius: 0; border-bottom-right-radius: 0; }
.roamease-tours-grid.style-list .tour-image a { display: flex; flex: 1 1 auto; }
.roamease-tours-grid.style-list .tour-image img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.roamease-tours-grid.style-list .tour-card:hover .tour-image img { border-radius: 0; }
/* Ensure right column uses full height and keeps actions at the bottom */
.roamease-tours-grid.style-list .tour-content { padding: 0; display: flex; flex-direction: column; height: 100%; }
.roamease-tours-grid.style-list .tour-card.card-style-minimal .tour-content { padding: 16px 20px; }
/* In list view, remove the tall default min-height applied to generic cards */
.roamease-tours-grid.style-list .tour-card.tour-card { min-height: 0; }
@media (max-width: 900px) { 
    .roamease-tours-grid.style-list .tour-card { grid-template-columns: 1fr; }
    /* When stacked, use a sensible image height */
    .roamease-tours-grid.style-list .tour-image { height: 240px; border-top-right-radius: 16px; border-bottom-left-radius: 0; }
}

/* Masonry support (CSS columns fallback) */
.roamease-tours-grid.re-masonry {
    display: block;
    column-gap: 24px;
}
.roamease-tours-grid.re-masonry .tour-card {
    break-inside: avoid;
    margin: 0 0 24px;
}

/* Card style variants */
.tour-card.card-style-overlay .tour-image { position: relative; }
.tour-card.card-style-overlay { min-height: 0; }
.tour-card.card-style-overlay .overlay-scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0.05) 25%, rgba(0,0,0,0.65) 100%); }
/* Position overlay text block at the bottom inside the image */
.tour-card.card-style-overlay .overlay-content { position: absolute; left: 16px; right: 16px; bottom: 16px; top: auto; color: #fff; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.tour-card.card-style-overlay .overlay-content .tour-title { margin: 0; }
.tour-card.card-style-overlay .overlay-content .overlay-excerpt { color: #fff; opacity: 0.95; font-size: 14px; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; text-overflow: ellipsis; }
/* Hide pills (meta) in overlay variant; space is used for title+excerpt */
.tour-card.card-style-overlay .overlay-content .tour-meta { display: none; }
/* In Grid (non-list), reveal overlay text only on hover */
.roamease-tours-grid:not(.style-list) .tour-card.card-style-overlay .overlay-content { opacity: 0; transform: translateY(10px); transition: opacity .25s ease, transform .25s ease; pointer-events: none; }
.roamease-tours-grid:not(.style-list) .tour-card.card-style-overlay:hover .overlay-content { opacity: 1; transform: translateY(0); pointer-events: auto; }
.tour-card.card-style-overlay .overlay-content .tour-title a { color: #fff; text-shadow: 0 2px 10px rgba(0,0,0,0.6); }
.tour-card.card-style-overlay .overlay-content .tour-meta .duration,
.tour-card.card-style-overlay .overlay-content .tour-meta .difficulty { background: rgba(255,255,255,0.15); color: #fff; border-radius: 999px; padding: 6px 10px; margin-right: 8px; display: inline-block; }
.tour-card.card-style-overlay .tour-content { display: none; }
.roamease-tours-grid:not(.style-list) .tour-card.card-style-overlay .tour-content { display: none !important; }
.roamease-tours-grid.style-list .tour-card.card-style-overlay.list-mode .tour-content { display: flex; }
.roamease-tours-grid.style-list .tour-card.card-style-overlay.list-mode .overlay-content .tour-title { display: none; }
.tour-card.card-style-minimal { box-shadow: none; border: 1px solid #ececec; }
.tour-card.card-style-minimal .tour-image { border-bottom: 1px solid #ececec; }
.tour-card.card-style-minimal .tour-meta,
.tour-card.card-style-minimal .tour-destinations { display: none !important; }
.tour-card.card-style-minimal .tour-title { margin-bottom: 10px; }
/* Trim whitespace for Grid + Minimal (non-list) */
.roamease-tours-grid:not(.style-list) .tour-card.card-style-minimal { min-height: 0; }
.roamease-tours-grid:not(.style-list) .tour-card.card-style-minimal .tour-content { padding: 16px 20px; }
.roamease-tours-grid:not(.style-list) .tour-card.card-style-minimal .tour-excerpt { margin-bottom: 10px; }
.roamease-tours-grid:not(.style-list) .tour-card.card-style-minimal .tour-actions { margin-top: 12px; }
.tour-card.card-style-bordered { border: 2px solid rgba(0,0,0,0.06); }
.roamease-tours-grid:not(.style-list) .tour-card.card-style-bordered { min-height: 0; }
.roamease-tours-grid:not(.style-list) .tour-card.card-style-bordered .tour-content { padding: 16px 20px; }
.roamease-tours-grid:not(.style-list) .tour-card.card-style-bordered .tour-excerpt { margin-bottom: 10px; }
/* In grid + bordered, don't force button to stick to bottom; keeps card compact */
.roamease-tours-grid:not(.style-list) .tour-card.card-style-bordered .tour-actions { margin-top: 10px; }
.tour-card.card-style-badge .tour-title { display: flex; align-items: center; gap: 10px; }

/* Reference layout (matches requested design) */
.tour-card.card-style-reference { min-height: 0; }
.tour-card.card-style-reference .tour-image { position: relative; height: 260px; }
.tour-card.card-style-reference .ref-duration { position:absolute; top:10px; left:10px; background:#0f172a; color:#fff; font-weight:700; font-size:12px; padding:6px 10px; border-radius:6px; letter-spacing:.4px; text-transform:uppercase; z-index:2; }
.tour-card.card-style-reference .ref-locations { position:absolute; left:14px; right:14px; top:64px; background:#fff; border:1px solid rgba(0,0,0,.12); border-radius:6px; padding:8px 10px; display:flex; align-items:flex-start; gap:10px; z-index:2; }
.tour-card.card-style-reference .ref-locations .pin { color:#d97706; font-size:16px; line-height:1; margin-top:1px; }
.tour-card.card-style-reference .ref-locations .loc-lines { line-height:1.2; }
.tour-card.card-style-reference .ref-locations .l1 { font-weight:700; font-size:12px; color:#0f172a; text-transform:uppercase; }
.tour-card.card-style-reference .ref-locations .l2 { font-weight:600; font-size:12px; color:#334155; text-transform:uppercase; margin-top:2px; }
.tour-card.card-style-reference .tour-content { padding:16px 20px 18px; }
.tour-card.card-style-reference .tour-excerpt, 
.tour-card.card-style-reference .tour-destinations, 
.tour-card.card-style-reference .tour-meta { display:none !important; }
.tour-card.card-style-reference .ref-footer { margin-top:8px; display:flex; align-items:center; justify-content:space-between; gap:12px; }
.tour-card.card-style-reference .ref-footer .start-from .label { color:#475569; font-size:12px; font-weight:600; text-transform:none; }
.tour-card.card-style-reference .ref-footer .start-from .sub { color:#94a3b8; font-size:11px; font-weight:600; letter-spacing:.3px; }
.tour-card.card-style-reference .btn-book-now.ref-book { width:auto; padding:10px 16px; border-radius:10px; text-transform:none; letter-spacing:.2px; }
@media (max-width: 768px){
    .tour-card.card-style-reference .tour-image{ height: 240px; }
    .tour-card.card-style-reference .ref-locations{ top:56px; }
}

.tour-image { width: 100%; display: block; overflow: hidden; border-top-left-radius: 16px; border-top-right-radius: 16px; }
.tour-image img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Modern Reusable Tour Cards */
.tour-card {
    background: var(--re-bg, #fff);
    border-radius: 16px;
    overflow: visible;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    position: relative;
    border: 1px solid #f0f0f0;
    min-height: 420px;
    width: 100%;
    display: flex;
    flex-direction: column;
}

.tour-card:hover {

    /* Inline error state inside modal body */
    .roamease-modal .modal-body .modal-error {
        background: #fff3f3;
        border: 1px solid #f5c2c7;
        color: #842029;
        border-radius: 6px;
        padding: 16px;
    }
    .roamease-modal .modal-body .modal-error p {
        margin: 0 0 12px;
    }
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
    border-color: #e0e0e0;
}

.tour-image {
    position: relative;
    height: 240px;
    overflow: hidden;
    flex-shrink: 0;
}

.tour-image img {
    width: 100%;
    height: 100%;
    border-radius: 12px;
    border: none;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.tour-card:hover .tour-image img {
    transform: scale(1.05);
    border-radius: 12px;
}

.tour-overlay {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;
}

.btn-favorite {
    background: rgba(255,255,255,0.9);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-favorite:hover,
.btn-favorite.active {
    background: var(--re-danger, #e74c3c);
    color: white;
}

.tour-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.tour-card .tour-title,
h3.tour-title {
    margin: 0 0 12px 0;
    font-size: 25px !important;
    font-weight: bold !important;
    line-height: 1.2;
}

.tour-card .tour-title a,
h3.tour-title a {
    color: var(--re-link, var(--re-primary, #ca9e0d));
    font-size: inherit;
    font-weight: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.tour-title a:hover {
    color: var(--re-primary, #007cba);
    text-decoration: none;
}

.tour-meta {
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
    flex-wrap: wrap;
    align-items: center; /* vertically center pills and keep baselines tidy */
}

.tour-meta .duration,
.tour-meta .difficulty {
    background: #f8f9fa;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 500;
    color: #495057;
    display: inline-flex; /* match tour-type flex centering */
    align-items: center;
    justify-content: center;
    line-height: 1; /* unify heights with tour-type */
    vertical-align: middle;
}

/* New: Tour Type pill for grid/list cards */
.roamease-tours-grid .tour-meta .tour-type,
.roamease-featured-tours .tour-meta .tour-type,
.roamease-inline-results .tour-meta .tour-type {
    display: inline-flex; /* centers content vertically */
    align-items: center;
    justify-content: center; /* centers text horizontally within the pill */
    background: rgba(var(--re-primary-rgb, 26,115,232), 0.10);
    color: var(--re-primary, #1a73e8);
    border-radius: 999px;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    line-height: 1; /* prevent tall line box that looks off-center */
    text-align: center;
    vertical-align: middle; /* align with adjacent duration pill */
    white-space: nowrap;
}
.roamease-tours-grid .tour-meta .tour-type:hover { filter: brightness(0.95); text-decoration: none; }

/* Compact "+" pill shown when a tour has additional types */
.roamease-tours-grid .tour-meta .tour-type.tour-type-more,
.roamease-featured-tours .tour-meta .tour-type.tour-type-more,
.roamease-inline-results .tour-meta .tour-type.tour-type-more {
    width: 24px;
    height: 24px;
    padding: 0; /* override base padding to make it circular */
    border-radius: 999px;
    font-size: 16px;
    font-weight: 800;
    line-height: 1;
}

.tour-meta .difficulty-easy {
    background: rgba(var(--re-success-rgb, 40, 167, 69), 0.18);
    color: var(--re-success, #155724);
}

.tour-meta .difficulty-moderate {
    background: rgba(var(--re-warning-rgb, 255, 193, 7), 0.22);
    color: var(--re-warning, #856404);
}

.tour-meta .difficulty-challenging {
    background: rgba(var(--re-danger-rgb, 220, 53, 69), 0.18);
    color: var(--re-danger, #721c24);
}

.tour-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.tour-excerpt {
    color: #6c757d;
    line-height: 1.5;
    margin-bottom: 15px;
    font-size: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    height: 42px;
    flex-shrink: 0;
}

.tour-destinations {
    margin-bottom: 20px;
    flex-shrink: 0;
    padding: 5px 5px;
}
/* Hide destination chips on Classic card style per request */
.tour-card.card-style-classic .tour-destinations { display: none !important; }

.tour-destinations .destinations {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
}

.destination-tag {
    background: rgba(var(--re-accent-rgb, 21, 101, 192), 0.12);
    color: var(--re-accent, #1976d2);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-block;
}

.destination-tag:hover {
    background: var(--re-accent, #1976d2);
    color: white;
    text-decoration: none;
}

.tour-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

/* Responsive 3/2/1 grid utility */
.re-grid-321 { display:grid; grid-template-columns:repeat(3,1fr); gap: var(--re-grid-gap, 24px); }
@media (max-width: 1024px){ .re-grid-321 { grid-template-columns:repeat(2,1fr); } }
@media (max-width: 640px){ .re-grid-321 { grid-template-columns:repeat(1,1fr); } }

.tour-price {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(var(--re-accent-rgb, 255, 107, 53), 0.95);
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 14px;
    backdrop-filter: blur(10px);
}

.tour-price .price-enquiry {
    font-size: 12px;
}

.no-image {
    height: 240px;
    background: var(--re-bg, #f8f9fa);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    font-style: italic;
}

.tour-actions {
    margin-top: auto; /* default: stick actions to bottom in tall cards */
    padding: 15px 0 5px 0;
}
/* But in grid + minimal, do not force button to bottom to avoid big empty space */
.roamease-tours-grid:not(.style-list) .tour-card.card-style-minimal .tour-actions { margin-top: 8px; }

.btn-book-now {
    background: var(--re-accent, #ff6b35);
    color: white;
    padding: 14px 24px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    display: block;
    width: 100%;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
    cursor: pointer;
}

.btn-book-now:hover {
    background: var(--re-primary, #ff8c42);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(var(--re-accent-rgb, 255, 107, 53), 0.3);
    text-decoration: none;
    color: white;
}

.tour-price .price-label {
    font-size: 12px;
    color: var(--re-text, #666);
    display: block;
    margin-top: 2px;
}

.tour-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    padding: 8px 16px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-block;
    text-align: center;
    line-height: 1.4;
    white-space: nowrap;
}

.btn:focus {
    outline: 2px solid var(--re-primary, #0073aa);
    outline-offset: 2px;
}

.btn-primary {
    background: var(--re-primary, #0073aa);
    color: white;
}

.btn-primary:hover {
    background: var(--re-primary, #005a87);
    color: white;
}

.btn-secondary {
    background: var(--re-secondary, #6c757d);
    color: white;
}

.btn-secondary:hover {
    background: var(--re-secondary, #545b62);
    color: white;
}

.btn-outline {
    background: transparent;
    color: var(--re-primary, #0073aa);
    border: 1px solid var(--re-primary, #0073aa);
}

.btn-outline:hover {
    background: var(--re-primary, #0073aa);
    color: white;
}

.btn-large {
    padding: 12px 24px;
    font-size: 16px;
}

/* Search Form */
.roamease-search-form {
    background: rgba(var(--re-text-rgb, 60, 60, 60), 0.04);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
}

.roamease-search-form.style-horizontal {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    align-items: center;
}
.roamease-search-form.style-vertical .search-field {
    margin-bottom: 15px;
}

/* Tours Filter Form - Horizontal Layout */
.tours-filters .roamease-search-form {
    background: var(--re-bg, #fff);
    border: 1px solid #e1e1e1;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.search-fields {
    display: flex;
    gap: 15px;
    align-items: center;
    flex-wrap: wrap;
}

.search-fields input[type="text"],
.search-fields select {
    flex: 1;
    min-width: 180px;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    background: var(--re-bg, #fff);
    transition: all 0.3s ease;
}

.search-fields input[type="text"]:focus,
.search-fields select:focus {
    outline: none;
    border-color: var(--re-primary, #0073aa);
    box-shadow: 0 0 0 3px rgba(var(--re-primary-rgb, 0,115,170), 0.1);
}

.search-fields input[type="text"] {
    flex: 2;
    min-width: 250px;
}

.search-button {
    background: var(--re-primary, #0073aa);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.search-button:hover {
    background: var(--re-accent, #005a87);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(var(--re-primary-rgb, 0,115,170), 0.3);
}

.search-field {
    flex: 1;
    min-width: 150px;
}

.search-field input,
.search-field select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
}

.search-field input:focus,
.search-field select:focus {
    outline: none;
    border-color: var(--re-primary, #0073aa);
    box-shadow: 0 0 0 2px rgba(var(--re-primary-rgb,0,115,170),0.2);
}

/* Forms */
.roamease-booking-form,
.roamease-inquiry-form {
    background: var(--re-bg, #fff);
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #ddd;
}

.roamease-booking-form h3,
.roamease-inquiry-form h3 {
    margin: 0 0 20px 0;
    color: var(--re-heading, #333);
    font-size: 1.3em;
}

.form-row {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.form-group {
    flex: 1;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: var(--re-text, #333);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--re-primary, #0073aa);
    box-shadow: 0 0 0 2px rgba(var(--re-primary-rgb, 0,115,170),0.2);
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.booking-summary {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 5px;
    margin: 20px 0;
}

.price-breakdown {
    font-size: 14px;
}

.price-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
}

.price-total {
    display: flex;
    justify-content: space-between;
    font-weight: bold;
    font-size: 16px;
    padding-top: 10px;
    border-top: 1px solid #ddd;
    margin-top: 10px;
}

.btn-submit {
    width: 100%;
    padding: 12px;
    font-size: 16px;
    font-weight: 600;
}

/* Itinerary Styles */
.tour-itinerary {
    margin: 30px 0;
}

.itinerary-day {
    background: #fff;
    border: 1px solid #e1e1e1;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.itinerary-day:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border-color: var(--re-primary, #0073aa);
}

.day-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    background: rgba(var(--re-text-rgb, 60,60,60), 0.04);
    cursor: pointer;
    transition: background-color 0.3s ease;
    border-bottom: 1px solid #e1e1e1;
}

.day-header:hover {
    background: rgba(var(--re-text-rgb, 60,60,60), 0.08);
}

.day-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.day-number {
    background: var(--re-primary, #0073aa);
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 14px;
    white-space: nowrap;
}

.day-title {
    font-size: 1.2em;
    font-weight: 600;
    color: var(--re-heading, #333);
    margin: 0;
}

.toggle-icon {
    font-size: 18px;
    color: var(--re-text, #666);
    transition: transform 0.3s ease;
}

.itinerary-day.collapsed .toggle-icon {
    transform: rotate(-90deg);
}

.day-content {
    padding: 25px;
    display: block;
    transition: all 0.3s ease;
}

.itinerary-day.collapsed .day-content {
    display: none;
}

.day-description {
    margin-bottom: 20px;
    color: var(--re-text, #666);
    line-height: 1.6;
    font-size: 15px;
}

.day-accommodation {
    background: rgba(var(--re-primary-rgb, 0,115,170),0.05);
    padding: 15px;
    border-radius: 6px;
    border-left: 4px solid var(--re-primary, #0073aa);
    margin-top: 15px;
}

.day-accommodation strong {
    color: var(--re-primary, #0073aa);
    display: block;
    margin-bottom: 5px;
}

/* Responsive Itinerary */
@media (max-width: 768px) {
    .day-header {
        padding: 15px 20px;
    }
    
    .day-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .day-content {
        padding: 20px;
    }
    
    .day-number {
        font-size: 12px;
        padding: 6px 12px;
    }
    
    .day-title {
        font-size: 1.1em;
    }
}

/* Modals */
.roamease-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5); /* overlay remains neutral */
    animation: fadeIn 0.3s ease;
}

.roamease-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: var(--re-bg, #fff);
    border-radius: 8px;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: slideIn 0.3s ease;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    color: var(--re-text, #999);
    z-index: 1;
}

.modal-close:hover {
    color: var(--re-text, #333);
}

.modal-body {
    padding: 20px;
}

/* Notifications */
.roamease-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10001;
    padding: 15px 20px;
    border-radius: 5px;
    color: white;
    font-weight: 500;
    transform: translateX(400px);
    transition: transform 0.3s ease;
    max-width: 350px;
}

.roamease-notification.show {
    transform: translateX(0);
}

.roamease-notification.success {
    background: var(--re-success, #28a745);
}

.roamease-notification.error {
    background: var(--re-danger, #dc3545);
}

.roamease-notification.info {
    background: var(--re-accent, #17a2b8);
}

/* Loading States */
.loading {
    opacity: 0.6;
    pointer-events: none;
    position: relative;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid var(--re-primary, #0073aa);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* No Results */
.no-tours-found {
    text-align: center;
    padding: 60px 20px;
    background: #f8f9fa;
    border-radius: 12px;
    margin: 40px 0;
}

.no-results-icon {
    font-size: 4em;
    margin-bottom: 20px;
    opacity: 0.5;
}

.no-tours-found h3 {
    font-size: 1.8em;
    margin-bottom: 15px;
    color: var(--re-heading, #333);
}

.no-tours-found p {
    color: var(--re-text, #666);
    margin-bottom: 30px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

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


/* Responsive Design */
@media (max-width: 768px) {
    .roamease-tours-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .roamease-search-form.style-horizontal {
        flex-direction: column;
    }
    
    .search-field {
        width: 100%;
    }
    
    /* Mobile Filter Layout */
    .search-fields {
        flex-direction: column;
        gap: 12px;
    }
    
    
    .search-fields input[type="text"],
    .search-fields select {
        width: 100%;
        min-width: auto;
        flex: none;
    }
    
    .search-button {
        width: 100%;
        padding: 14px 25px;
    }
    
    .tours-filters .roamease-search-form {
        padding: 20px;
    }
    
    .form-row {
        flex-direction: column;
    }
    
    .tour-footer {
        flex-direction: column;
        align-items: stretch;
    }
    
    .tour-actions {
        justify-content: center;
    }
    
    .modal-content {
        width: 95%;
        margin: 10px;
    }
    
    .roamease-notification {
        right: 10px;
        left: 10px;
        max-width: none;
        transform: translateY(-100px);
    }
    
    .roamease-notification.show {
        transform: translateY(0);
    }
    
    .no-results-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .roamease-tours-grid.style-list .tour-card {
        flex-direction: column;
    }
    
    .roamease-tours-grid.style-list .tour-image {
        width: 100%;
        height: 200px;
    }
}

@media (max-width: 480px) {
    .tour-card {
        margin: 0 -10px;
        border-radius: 8px;
    }
    
    .tour-content {
        padding: 15px;
    }
    
    .tour-actions {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        text-align: center;
    }
    
    .modal-content {
        border-radius: 0;
        height: 100vh;
        max-height: none;
        width: 100%;
    }
}

/* Destination Archive Styles */
/* Destinations Grid - Standardized Responsive: 3-2-1 Pattern */
.destinations-slider {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Desktop: 3 columns */
    gap: 25px;
    padding: 24px 0 10px;
}

/* Tablet: 2 columns */
@media (max-width: 768px) {
    .destinations-slider {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

/* Mobile: 1 column */
@media (max-width: 480px) {
    .destinations-slider {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

.destination-card {
    background: var(--re-bg, #fff);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
    height: fit-content;
}

.destination-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.destination-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.destination-info {
    padding: 20px;
}

.destination-info h3 {
    margin: 0 0 8px 0;
    color: var(--re-heading, #2c3e50);
    font-size: 1.45em;
    font-weight: 800;
    transition: color 0.3s ease;
}

.destination-card:hover .destination-info h3 {
    color: var(--re-accent, #ff7a18);
}

.tour-count {
    color: var(--re-primary, #0073aa);
    font-weight: 600;
    margin: 0 0 10px 0;
}

.destination-description {
    color: var(--re-text, #666);
    line-height: 1.5;
    margin: 0;
}
.destinations-slider .destination-card .dest-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:6px}
.destinations-slider .destination-card .pill-count{display:inline-flex;align-items:center;gap:6px;background:rgba(var(--re-primary-rgb,37,99,235),.08);color:var(--re-primary,#2563eb);border:1px solid rgba(var(--re-primary-rgb,37,99,235),.25);padding:6px 10px;border-radius:999px;font-size:12px;font-weight:700;white-space:nowrap}
.destinations-slider .destination-card .clamp-2{-webkit-line-clamp:2;line-clamp:2;display:-webkit-box;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis;min-height:calc(1.5em * 2)}
.destinations-slider .destination-card .dest-actions{margin-top:12px}
.destinations-slider .destination-card .btn-view-destination{display:inline-flex;align-items:center;justify-content:center;background:var(--re-accent,#ff7a18);color:#fff;text-decoration:none;border:none;border-radius:10px;padding:10px 14px;font-weight:700;transition:transform .15s ease, box-shadow .15s ease}
.destinations-slider .destination-card .btn-view-destination:hover{transform:translateY(-1px);box-shadow:0 8px 20px rgba(var(--re-accent-rgb,255,122,24),.3);color:#fff}
@media (max-width:768px){.destinations-slider .destination-card .btn-view-destination{width:100%}}
.destination-image,
.destination-placeholder {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}
.destination-placeholder {
    background: var(--re-bg, #f8f9fa);
}

/* Destinations index page enhancements */
/* Match taxonomy style for tour-count: orange text with emoji marker */
.roamease-destinations-page .tour-count {
    font-size: 14px;
    color: var(--re-accent, #ff7a18);
    font-weight: 500;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.roamease-destinations-page .tour-count:before {
    content: "🗺️";
    font-size: 16px;
}

/* Page container and alignment */
.roamease-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.roamease-destinations-page h1 {
    text-align: center;
    margin: 10px 0 16px;
}

/* Destinations index hero header - reuse taxonomy style */
.roamease-destinations-page .archive-header {
        text-align: center;
        margin: 24px auto 28px;
        padding: 50px 20px;
    background: var(--re-accent, #ff7a18);
    color: var(--re-text, #fff);
        border-radius: 15px;
        position: relative;
        overflow: hidden;
        max-width: 1200px;
        --e-global-color-primary: #ffffff;
}

.roamease-destinations-page .archive-header::before { content: ''; position: absolute; inset: 0; background: rgba(0,0,0,0.1); z-index: 1; }
.roamease-destinations-page .archive-header > * { position: relative; z-index: 2; }
.roamease-destinations-page .archive-header .archive-title { font-size: 2.4em; font-weight: 700; margin: 0; color: var(--re-heading, #fff) !important; text-shadow: 0 2px 4px rgba(0,0,0,0.3); }

@media (min-width: 769px) {
    .roamease-destinations-page .archive-header { padding: 60px 20px; }
    .roamease-destinations-page .archive-header .archive-title { font-size: 3em; }
}

.roamease-destinations-page .roamease-search-form {
    max-width: 100%;
    margin: 0 auto 8px;
    background: var(--re-bg, #fff);
    border: 1px solid #e1e1e1;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    overflow: hidden; /* keep button inside rounded container */
}

/* Make filter fields align nicely and wrap */
.roamease-destinations-page .search-fields {
    justify-content: flex-start;
    column-gap: 16px;
    row-gap: 12px;
    align-items: center;
}

.roamease-destinations-page .search-field {
    margin: 0;
}

/* Inputs focus + button colors to match orange theme */
.roamease-destinations-page .search-fields input[type="text"],
.roamease-destinations-page .search-fields select {
    border: 1px solid #ddd;
    width: 100%;
    border-radius: 8px;
    height: 44px; /* uniform control height on desktop */
}
.roamease-destinations-page .search-fields input[type="text"]:focus,
.roamease-destinations-page .search-fields select:focus {
    outline: none;
    border-color: var(--re-accent, #ff7a18);
    box-shadow: 0 0 0 3px rgba(var(--re-accent-rgb, 255,122,24), 0.12);
}
.roamease-destinations-page .search-button {
    background: var(--re-accent, #ff7a18);
    color: #fff;
    border: none;
    border-radius: 8px;
    min-width: 120px;
    height: 44px; /* match input/select height */
    padding: 0 22px;
}
.roamease-destinations-page .search-button:hover {
    background: var(--re-primary, #e96b0b);
    box-shadow: 0 4px 12px rgba(var(--re-accent-rgb, 255,122,24), 0.28);
}

/* Checkbox row: align right, larger box, nicer label spacing */
.roamease-destinations-page .checkbox-field {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}
.roamease-destinations-page .checkbox-field label {
    display: inline-flex;
    align-items: center;
    gap: 12px; /* comfortable space between box and text */
    letter-spacing: 0.15px; /* subtle readability boost */
    word-spacing: 1px; /* slightly more open words */
    margin: 0;
}
.roamease-destinations-page .checkbox-field input[type="checkbox"] {
    transform: scale(1.3);
    transform-origin: left center;
    margin: 0; /* rely on gap */
    accent-color: var(--re-accent, #ff7a18); /* theme color */
}

/* Desktop: single-row, balanced widths, button pushed right */
@media (min-width: 769px) {
    .roamease-destinations-page .search-fields { flex-wrap: nowrap; }
    .roamease-destinations-page .search-field.text-field { flex: 1 1 auto; min-width: 300px; }
    .roamease-destinations-page .search-field.dest-select-field { flex: 0 0 220px; }
    .roamease-destinations-page .search-field.checkbox-field { flex: 0 0 200px; display: flex; align-items: center; justify-content: flex-end; padding-left: 8px; margin-left: auto; }
    .roamease-destinations-page .search-field.actions-field { flex: 0 0 auto; margin-left: 12px; }
}

@media (max-width: 768px) {
    .roamease-destinations-page .search-fields {
        align-items: stretch;
        justify-content: center;
        gap: 12px;
        width: 100%;
        flex-direction: column; /* stack vertically */
    }
    .roamease-destinations-page .search-field { width: 100%; flex: 0 0 auto; }
    .roamease-destinations-page .search-button { width: 100%; }
    /* Centered within container, full width of container */
    .roamease-destinations-page .roamease-search-form.style-horizontal {
        position: static !important;
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        margin-top: 0;
        margin-bottom: 8px;
        border-radius: 10px;
        padding: 16px;
        box-sizing: border-box;
    }
    /* Thicker, rounded inputs/selects for mobile */
    .roamease-destinations-page .search-fields input[type="text"],
    .roamease-destinations-page .search-fields select {
        border-width: 2px;
        border-color: #e1e1e1;
        border-radius: 12px;
        padding: 14px 14px;
        height: 48px; /* bigger touch target */
    }
    /* Checkbox: start from left, keep on one line */
    .roamease-destinations-page .checkbox-field { display: flex; align-items: center; justify-content: flex-start; width: 100%; }
    .roamease-destinations-page .checkbox-field label {
        display: inline-flex;
        width: auto; /* allow natural width */
        margin-left: 0; /* align to left */
        align-items: center;
        gap: 10px;
        white-space: nowrap; /* keep text on one line */
    }
    .roamease-destinations-page .checkbox-field input[type="checkbox"] {
        margin: 0;
    }
    /* Wide, easy-tap button */
    .roamease-destinations-page .search-button {
        min-height: 48px;
        font-size: 15px;
        font-weight: 700;
        width: 100%; /* ensure full width button */
    }
}

/* Desktop fine-tuning for spacing and alignment (already single-row above) */
@media (min-width: 769px) {
    .roamease-destinations-page .search-button { padding: 0 24px; }
    .roamease-destinations-page .roamease-search-form.style-horizontal { padding: 16px 18px; border-radius: 10px; }
    .roamease-destinations-page .search-fields { display: flex; }
    .roamease-destinations-page .checkbox-field label { display: flex; align-items: center; gap: 8px; margin: 0; white-space: nowrap; line-height: 1.3; }
    .roamease-destinations-page .checkbox-field input[type="checkbox"] { margin-right: 8px; }
}

/* Print Styles */
@media print {
    .roamease-modal,
    .roamease-notification,
    .btn,
    .tour-actions,
    .search-form {
        display: none !important;
    }
    
    .tour-card {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ddd;
    }
}

/* Booking Modal Styles */
.booking-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    overflow-y: auto;
}

.booking-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.booking-content {
    background: var(--re-bg, #fff);
    border-radius: 8px;
    max-width: 600px;
    width: 90%;
    padding: 30px;
    position: relative;
    animation: slideIn 0.3s ease;
}

.booking-close {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    color: var(--re-text, #999);
    z-index: 1;
}

.booking-close:hover {
    color: var(--re-text, #333);
}

.booking-header {
    margin-bottom: 20px;
}

.booking-header h3 {
    margin: 0;
    font-size: 1.5em;
    color: var(--re-heading, #333);
}

.booking-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.booking-form label {
    font-weight: 500;
    color: var(--re-text, #333);
}

.booking-form input,
.booking-form select {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.booking-form input:focus,
.booking-form select:focus {
    outline: none;
    border-color: var(--re-primary, #0073aa);
    box-shadow: 0 0 0 2px rgba(var(--re-primary-rgb,0,115,170),0.2);
}

.btn-book {
    background: var(--re-primary, #0073aa);
    color: white;
    padding: 12px 20px;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    width: 100%;
    text-align: center;
}

.btn-book:hover {
    background: var(--re-accent, #005a87);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(var(--re-primary-rgb,0,115,170),0.3);
}

/* Add these styles for form validation */
.form-group.has-error input,
.form-group.has-error textarea {
    border-color: #dc3545;
}

.error-message {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 4px;
    display: block;
}

.form-group {
    margin-bottom: 1rem;
    position: relative;
}

.form-actions {
    margin-top: 1.5rem;
}

/* Loading state styles */
.roamease-inquiry-form.loading {
    opacity: 0.7;
    pointer-events: none;
}

/* Success/Error notification styles */
.notification {
    padding: 10px 15px;
    border-radius: 4px;
    margin-bottom: 1rem;
    display: none;
}

.notification.success {
    background-color: rgba(var(--re-success-rgb, 40,167,69), 0.18);
    color: var(--re-success, #155724);
    border: 1px solid rgba(var(--re-success-rgb, 40,167,69), 0.35);
}

.notification.error {
    background-color: rgba(var(--re-danger-rgb, 220,53,69), 0.18);
    color: var(--re-danger, #721c24);
    border: 1px solid rgba(var(--re-danger-rgb, 220,53,69), 0.35);
}

/* --- Destinations taxonomy hero description: centered, white, contained --- */
.roamease-destination-archive .archive-header {
  /* keep your existing gradient/box; just ensure good padding/containment */
  padding: clamp(28px, 5vw, 56px) clamp(16px, 3vw, 32px);
  border-radius: 18px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.roamease-destination-archive .archive-header .archive-title {
    color: var(--re-heading, #fff);
  margin: 0;
  line-height: 1.2;
  text-shadow: 0 1px 2px rgba(0,0,0,.15);
}

.roamease-destination-archive .archive-header .archive-description {
  /* ensure it sits inside the box, wraps, and is readable */
  position: static !important;
    color: var(--re-subheading, #fff);
  max-width: min(900px, 92%);
  margin: 10px auto 0;
  font-size: clamp(0.95rem, 1.05vw, 1.05rem);
  line-height: 1.55;
  white-space: normal !important;
  word-break: break-word;
  overflow-wrap: anywhere;
  opacity: .95;
}

.roamease-destination-archive .archive-header .archive-description p {
  margin: .4em 0;
}

@media (max-width: 768px) {
  .roamease-destination-archive .archive-header {
    padding: 28px 16px;
  }
  .roamease-destination-archive .archive-header .archive-description {
    max-width: 96%;
    font-size: .95rem;
  }
}
