/* Centered, styled pagination for accommodations */
.accommodations-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin: 32px 0 0 0;
}
.accommodations-pagination .page-numbers,
.accommodations-pagination a,
.accommodations-pagination span {
    display: inline-block;
    min-width: 36px;
    padding: 7px 14px;
    margin: 0 2px;
    border-radius: 22px;
    background: #fff;
    color: #2b3a4a;
    border: 1px solid #e2e8f0;
    text-align: center;
    text-decoration: none;
    font-size: 16px;
    transition: background 0.18s, color 0.18s, border 0.18s;
    box-shadow: 0 2px 8px rgba(15,23,42,0.04);
    cursor: pointer;
}
.accommodations-pagination .page-numbers.current,
.accommodations-pagination .page-numbers.active {
    background: linear-gradient(90deg,#f8fafc,#e2e8f0);
    color: #1a365d;
    border-color: #b5c6e0;
    font-weight: 600;
    box-shadow: 0 4px 16px rgba(15,23,42,0.08);
}
.accommodations-pagination .page-numbers:hover:not(.current):not(.active),
.accommodations-pagination a:hover {
    background: #f1f5fa;
    color: #2b6cb0;
    border-color: #b5c6e0;
}
.accommodations-pagination .page-numbers.dots {
    background: none;
    border: none;
    color: #b5b5b5;
    cursor: default;
    box-shadow: none;
}
/* --- CTA Card Styles for Destinations Grid --- */
.destination-card.dest-style-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 400px;
    border-radius: 18px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.06);
    overflow: hidden;
}

/* Destinations Grid: make CTA match standard destination card sizing (360×520) */
.destinations-slider .destination-card.dest-style-cta {
    width: 360px;
    max-width: 360px;
    height: 520px;
    min-height: 520px;
}

@media (max-width: 768px) {
    .destinations-slider .destination-card.dest-style-cta {
        width: 100%;
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .destinations-slider .destination-card.dest-style-cta {
        height: auto;
        min-height: 420px;
    }
}
.destination-card.dest-style-cta .cta-inner {
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
    box-sizing: border-box;
    padding: 0 18px;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
}
.destination-card.dest-style-cta .cta-title {
    margin: 0;
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: .01em;
    text-align: center;
}
.destination-card.dest-style-cta .cta-desc {
    margin: 0;
    font-size: 0.98rem;
    opacity: 0.92;
    text-align: center;
}
.destination-card.dest-style-cta .cta-btn-main {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 22px;
    border-radius: 999px;
    background: var(--re-primary, #2C7BE5);
    color: #fff;
    font-weight: 600;
    font-size: 0.92rem;
    text-decoration: none;
    margin: 0;
    border: none;
    transition: background 0.18s, color 0.18s;
    box-shadow: 0 2px 8px rgba(44,123,229,0.08);
}
.destination-card.dest-style-cta .cta-btn-main:hover {
    background: #1d5bbf;
    color: #fff;
}
.destination-card.dest-style-cta .cta-whatsapp-block {
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}
.destination-card.dest-style-cta .cta-wh-title {
    font-size: 1.08rem;
    font-weight: 600;
    margin: 0;
    text-align: center;
}
.destination-card.dest-style-cta .cta-wh-desc {
    font-size: 0.98rem;
    margin: 0;
    opacity: 0.88;
    text-align: center;
}
.destination-card.dest-style-cta .cta-btn-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 999px;
    background: #25D366;
    color: #fff;
    font-weight: 700;
    font-size: 0.92rem;
    text-decoration: none;
    border: none;
    box-shadow: 0 2px 8px rgba(37,211,102,0.10);
    transition: background 0.18s, color 0.18s;
}
.destination-card.dest-style-cta .cta-btn-whatsapp:hover {
    background: #1ebe5d;
    color: #fff;
}
.destination-card.dest-style-cta .cta-btn-whatsapp .cta-whatsapp-icon {
    width: 28px;
    height: 28px;
    flex: 0 0 auto;
    /* Slightly larger than button text */
    font-size: 1.55em;
    line-height: 1;
    vertical-align: middle;
}
.destination-card.dest-style-cta .cta-btn-whatsapp .cta-whatsapp-label {
    font-weight: 700;
    letter-spacing: .01em;
}
/* Responsive tweaks for CTA card */
@media (max-width: 600px) {
    .destination-card.dest-style-cta .cta-inner {
        max-width: 98vw;
        padding: 0 8px;
    }
    .destination-card.dest-style-cta {
        min-height: 320px;
        border-radius: 12px;
    }
    .destination-card.dest-style-cta .cta-title {
        font-size: 1.15rem;
    }
    .destination-card.dest-style-cta .cta-btn-main,
    .destination-card.dest-style-cta .cta-btn-whatsapp {
        padding: 10px 16px;
        font-size: 0.98rem;
    }

    .destination-card.dest-style-cta .cta-btn-whatsapp .cta-whatsapp-icon {
        width: 30px;
        height: 30px;
    }
}
.roamease-tours-grid.style-list .tour-card.card-style-card_2 .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;
    }
}

/* Accommodation archive filter pills */
.re-filter-pills{display:flex;flex-direction:column;gap:8px;padding:6px 0;margin:0}
.re-filter-pill{display:inline-flex;align-items:center;gap:10px;padding:8px 12px;border-radius:999px;background:#fff;border:1px solid var(--re-border, #e6e9ef);box-shadow:0 6px 18px rgba(15,23,42,0.03);cursor:pointer;user-select:none}
.re-filter-pill input{display:none}
.re-filter-pill span{font-size:14px;color:#111}
.re-filter-pill.active{background:linear-gradient(90deg,#f8fafc,#fff);border-color:#e2e8f0;box-shadow:0 10px 26px rgba(15,23,42,0.06)}
.re-filter-pill.active span{color:var(--re-accent,#2b6cb0);font-weight:600}

/* List style for checkbox lists (locations, country, type) */
.re-filter-list{display:flex;flex-direction:column;gap:8px;padding:6px 0;margin:0}
.re-filter-list-item{display:flex;align-items:center;gap:10px;cursor:pointer;padding:6px 0;color:#111}
.re-filter-list-item input{width:18px;height:18px;margin:0}
.re-filter-list-item.checked span{font-weight:600;color:var(--re-accent,#2b6cb0)}

@media (max-width:900px){
    .re-filter-pills{flex-direction:row;flex-wrap:wrap;gap:8px}
    .re-filter-pill{padding:7px 10px}
}

/* Amenities removed from archive filters; related styles removed */

/* Sidebar header larger */
.accommodations-sidebar h4{font-size:1.15rem;margin:0 0 8px 0;font-weight:700}

/* 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; }

/* 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);
}

/* intl-tel-input (country code selector) integration */
.roamease-booking-form .iti,
.roamease-inquiry-form .iti,
.roamease-contact-form .iti {
    width: 100%;
}

.roamease-booking-form .iti input,
.roamease-inquiry-form .iti input,
.roamease-contact-form .iti input {
    width: 100%;
}

/* Keep the country dropdown above modals and sticky UI */
.iti__country-list {
    z-index: 100000;
}

/* Inquiry form: make flag + dial code clean and inline (no background/border) */
body.roamease-single-tours-v2 .roamease-inquiry-form .iti,
.roamease-single-tour-v2 .roamease-inquiry-form .iti {
    --iti-dialcode-color: #000;
}

body.roamease-single-tours-v2 .roamease-inquiry-form .iti--separate-dial-code .iti__selected-country,
.roamease-single-tour-v2 .roamease-inquiry-form .iti--separate-dial-code .iti__selected-country {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    white-space: nowrap !important;
    gap: 8px;
    background: transparent !important;
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
}

/* Theme override: some themes style ALL buttons (e.g. pink border) and break ITI layout.
   Force the ITI country button to remain flex and use Elementor Primary for the border. */
body.roamease-single-tours-v2 .roamease-inquiry-form button.iti__selected-country,
.roamease-single-tour-v2 .roamease-inquiry-form button.iti__selected-country {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    white-space: nowrap !important;
    padding: 0 10px !important;
    background: transparent !important;
    border: 1px solid var(--e-global-color-primary, var(--re-primary, #2C7BE5)) !important;
    border-radius: 6px !important;
    box-shadow: none !important;
    color: var(--e-global-color-text, #000) !important;
}

body.roamease-single-tours-v2 .roamease-inquiry-form button.iti__selected-country:focus,
body.roamease-single-tours-v2 .roamease-inquiry-form button.iti__selected-country:focus-visible,
.roamease-single-tour-v2 .roamease-inquiry-form button.iti__selected-country:focus,
.roamease-single-tour-v2 .roamease-inquiry-form button.iti__selected-country:focus-visible {
    outline: none !important;
    box-shadow: 0 0 0 2px rgba(199, 147, 117, 0.18) !important; /* fallback if theme uses #C79375 */
    box-shadow: 0 0 0 2px color-mix(in srgb, var(--e-global-color-primary, var(--re-primary, #2C7BE5)) 22%, transparent) !important;
}

body.roamease-single-tours-v2 .roamease-inquiry-form .iti--separate-dial-code .iti__selected-country-primary,
.roamease-single-tour-v2 .roamease-inquiry-form .iti--separate-dial-code .iti__selected-country-primary {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    white-space: nowrap !important;
    gap: 8px;
}

body.roamease-single-tours-v2 .roamease-inquiry-form .iti--separate-dial-code .iti__selected-country:focus,
body.roamease-single-tours-v2 .roamease-inquiry-form .iti--separate-dial-code .iti__selected-country:hover,
.roamease-single-tour-v2 .roamease-inquiry-form .iti--separate-dial-code .iti__selected-country:focus,
.roamease-single-tour-v2 .roamease-inquiry-form .iti--separate-dial-code .iti__selected-country:hover {
    background: transparent !important;
    outline: none !important;
    box-shadow: none !important;
}

body.roamease-single-tours-v2 .roamease-inquiry-form .iti--separate-dial-code .iti__flag,
.roamease-single-tour-v2 .roamease-inquiry-form .iti--separate-dial-code .iti__flag {
    margin-right: 0 !important;
}

body.roamease-single-tours-v2 .roamease-inquiry-form .iti--separate-dial-code .iti__selected-dial-code,
.roamease-single-tour-v2 .roamease-inquiry-form .iti--separate-dial-code .iti__selected-dial-code {
    display: inline-block !important;
    white-space: nowrap !important;
    line-height: 1 !important;
    margin: 0 !important;
    color: #000 !important;
}

/* Remove any visible border/box around the country selector container itself */
body.roamease-single-tours-v2 .roamease-inquiry-form .iti__country-container,
.roamease-single-tour-v2 .roamease-inquiry-form .iti__country-container {
    border: 0 !important;
    box-shadow: none !important;
}

/* Inquiry modal: prevent theme styles from breaking the dropdown search layout */
.roamease-modal .iti__search-input-wrapper {
    position: relative !important;
    align-items: center !important;
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
}

/* Note: depending on ITI config, dropdown may be rendered in a fixed `.iti--container` under `body`.
   Apply the same overrides there for Single Tour v2 pages. */
.roamease-modal .iti__search-input,
body.roamease-single-tours-v2 .iti--container .iti__search-input,
body.roamease-single-tour-v2 .iti--container .iti__search-input {
    box-sizing: border-box !important;
    height: 36px !important;
    line-height: 36px !important;
    padding: 0 42px 0 34px !important;
    margin: 0 !important;
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
    background-image: none !important;
    text-indent: 0 !important;
    appearance: none !important;
    -webkit-appearance: none !important;
}

.roamease-modal .iti__search-input:focus,
.roamease-modal .iti__search-input:focus-visible,
body.roamease-single-tours-v2 .iti--container .iti__search-input:focus,
body.roamease-single-tours-v2 .iti--container .iti__search-input:focus-visible,
body.roamease-single-tour-v2 .iti--container .iti__search-input:focus,
body.roamease-single-tour-v2 .iti--container .iti__search-input:focus-visible {
    outline: none !important;
    box-shadow: none !important;
}

.roamease-modal .iti__search-icon,
body.roamease-single-tours-v2 .iti--container .iti__search-icon,
body.roamease-single-tour-v2 .iti--container .iti__search-icon {
    left: 8px !important;
    right: auto !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
}

.roamease-modal .iti__search-clear,
body.roamease-single-tours-v2 .iti--container .iti__search-clear,
body.roamease-single-tour-v2 .iti--container .iti__search-clear {
    right: 8px !important;
    left: auto !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 34px !important;
    height: 34px !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    border-color: transparent !important;
    background: transparent !important;
    box-shadow: none !important;
    outline: none !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Make the clear button feel “primary” when pressed/active (and keep it clean by default). */
.roamease-modal .iti__search-clear .iti__search-clear-bg,
body.roamease-single-tours-v2 .iti--container .iti__search-clear .iti__search-clear-bg,
body.roamease-single-tour-v2 .iti--container .iti__search-clear .iti__search-clear-bg {
    fill: transparent !important;
}

.roamease-modal .iti__search-clear .iti__search-clear-svg,
body.roamease-single-tours-v2 .iti--container .iti__search-clear .iti__search-clear-svg,
body.roamease-single-tour-v2 .iti--container .iti__search-clear .iti__search-clear-svg {
    width: 16px !important;
    height: 16px !important;
}

.roamease-modal .iti__search-clear .iti__search-clear-x,
body.roamease-single-tours-v2 .iti--container .iti__search-clear .iti__search-clear-x,
body.roamease-single-tour-v2 .iti--container .iti__search-clear .iti__search-clear-x {
    stroke: var(--e-global-color-secondary, var(--re-secondary, #6C757D)) !important;
}

.roamease-modal .iti__search-clear:hover .iti__search-clear-bg,
.roamease-modal .iti__search-clear:focus-visible .iti__search-clear-bg,
.roamease-modal .iti__search-clear:active .iti__search-clear-bg,
body.roamease-single-tours-v2 .iti--container .iti__search-clear:hover .iti__search-clear-bg,
body.roamease-single-tours-v2 .iti--container .iti__search-clear:focus-visible .iti__search-clear-bg,
body.roamease-single-tours-v2 .iti--container .iti__search-clear:active .iti__search-clear-bg,
body.roamease-single-tour-v2 .iti--container .iti__search-clear:hover .iti__search-clear-bg,
body.roamease-single-tour-v2 .iti--container .iti__search-clear:focus-visible .iti__search-clear-bg,
body.roamease-single-tour-v2 .iti--container .iti__search-clear:active .iti__search-clear-bg {
    fill: transparent !important;
}

.roamease-modal .iti__search-clear:hover .iti__search-clear-x,
.roamease-modal .iti__search-clear:focus-visible .iti__search-clear-x,
.roamease-modal .iti__search-clear:active .iti__search-clear-x,
body.roamease-single-tours-v2 .iti--container .iti__search-clear:hover .iti__search-clear-x,
body.roamease-single-tours-v2 .iti--container .iti__search-clear:focus-visible .iti__search-clear-x,
body.roamease-single-tours-v2 .iti--container .iti__search-clear:active .iti__search-clear-x,
body.roamease-single-tour-v2 .iti--container .iti__search-clear:hover .iti__search-clear-x,
body.roamease-single-tour-v2 .iti--container .iti__search-clear:focus-visible .iti__search-clear-x,
body.roamease-single-tour-v2 .iti--container .iti__search-clear:active .iti__search-clear-x {
    stroke: var(--e-global-color-primary, var(--re-primary, #2C7BE5)) !important;
}

/* ============================
   Inquiry country picker (flags + name)
   ============================ */

/* Keep the real <select> for submission, but hide it when the custom picker is present */
form.roamease-inquiry-form.re-country-picker-ready select.re-country-select {
    position: absolute !important;
    left: -99999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* Fallback: hide the select whenever a picker exists right before it */
form.roamease-inquiry-form .re-country-picker + select.re-country-select {
    position: absolute !important;
    left: -99999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

form.roamease-inquiry-form .re-country-picker {
    width: 100%;
}

form.roamease-inquiry-form .re-country-picker__button {
    width: 100% !important;
    min-height: 48px;
    border: 1px solid var(--e-global-color-primary, var(--re-primary, #2C7BE5)) !important;
    border-radius: 12px !important;
    background: transparent !important;
    color: var(--e-global-color-text, #111) !important;
    padding: 10px 12px !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    text-align: left !important;
    box-shadow: none !important;
    cursor: pointer;
}

form.roamease-inquiry-form .re-country-picker__button .iti__flag {
    flex: 0 0 auto;
}

form.roamease-inquiry-form .re-country-picker__label {
    flex: 1 1 auto;
    font-size: 14px;
    line-height: 1.2;
}

form.roamease-inquiry-form .re-country-picker__arrow {
    flex: 0 0 auto;
    width: 10px;
    height: 10px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    opacity: 0.65;
}

.re-country-picker__dropdown {
    background: #fff;
    border: 1px solid rgba(0,0,0,0.15);
    border-radius: 12px;
    box-shadow: 0 12px 28px rgba(0,0,0,0.15);
    overflow: hidden;
}

.re-country-picker__search {
    position: relative;
    padding: 10px 10px 8px;
    border-bottom: 1px solid rgba(0,0,0,0.08);
}

.re-country-picker__search-input {
    width: 100% !important;
    min-height: 40px;
    border: 1px solid rgba(0,0,0,0.12) !important;
    border-radius: 10px !important;
    padding: 8px 38px 8px 10px !important;
    outline: none !important;
    box-shadow: none !important;
    background: transparent !important;
}

.re-country-picker__search-clear {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    border: 0 !important;
    border-radius: 999px;
    background: transparent !important;
    box-shadow: none !important;
    outline: none !important;
    color: var(--e-global-color-secondary, var(--re-secondary, #6C757D)) !important;
    font-size: 22px;
    line-height: 1;
    padding: 0 !important;
    cursor: pointer;
}

.re-country-picker__search-clear:hover,
.re-country-picker__search-clear:focus {
    color: var(--e-global-color-primary, var(--re-primary, #2C7BE5)) !important;
}

.re-country-picker__list {
    max-height: 260px;
    overflow: auto;
    list-style: none;
    margin: 0;
    padding: 6px 0;
}

.re-country-picker__item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    cursor: pointer;
}

.re-country-picker__item:hover,
.re-country-picker__item:focus {
    background: rgba(0,0,0,0.05);
    outline: none;
}

.re-country-picker__name {
    font-size: 14px;
    color: #111;
}

.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: 24px;
    margin: 20px 0;
    grid-template-columns: repeat(3, 1fr); /* Desktop: 3 columns */
}

/* Country template only: responsive 4 / 3 / 2 / 1 grid (matches destinations grid) */
.roamease-pro-country-archive .roamease-tours-grid.re-grid-country-4321 {
    justify-items: center;
    justify-content: center;
    grid-template-columns: repeat(3, 360px) !important;
    gap: 20px !important;
    margin: 0 !important;
    padding: 24px 0 10px;
}

@media (min-width: 1620px) {
    .roamease-pro-country-archive .roamease-tours-grid.re-grid-country-4321 {
        grid-template-columns: repeat(4, 360px) !important;
    }
}

@media (max-width: 1219px) {
    .roamease-pro-country-archive .roamease-tours-grid.re-grid-country-4321 {
        grid-template-columns: repeat(2, 360px) !important;
        gap: 18px !important;
    }
}

@media (max-width: 819px) {
    .roamease-pro-country-archive .roamease-tours-grid.re-grid-country-4321 {
        grid-template-columns: 1fr !important;
        justify-items: stretch;
        gap: 16px !important;
        padding: 18px 0 6px;
    }
}

/* 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;
    }
    .roamease-tour-slider .country-card.country-style-overlay .card-overlay{ 
        bottom:18px; 
        width: calc(100% - 28px); 
    }
}

/* Countries Grid – Elementor-only Country Card variants (1, 2, 3) */

.roamease-countries-grid .country-card {
    position:relative;
    overflow:hidden;
}

.roamease-countries-grid .country-card .country-link {
    display:block;
    text-decoration:none;
    color:inherit;
}

.roamease-countries-grid .country-card .country-image,
.roamease-countries-grid .country-card .destination-placeholder {
    display:block;
    width:100%;
    object-fit:cover;
}

/* Country Card 1 – full 520px hero with overlay */
.roamease-countries-grid .country-card.re-country-card-1 {
    position:relative;
    width:360px;
    max-width:360px;
    height:520px;
    border-radius:8px;
    overflow:hidden;
    background-size:cover;
    background-position:center;
    background-repeat:no-repeat;
}

.roamease-countries-grid .country-card.re-country-card-1 .country-link {
    position:relative;
    display:block;
    height:100%;
    width:100%;
}

.roamease-countries-grid .country-card.re-country-card-1 .card-scrim {
    position:absolute;
    inset:0;
    background:linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.35) 55%, rgba(0,0,0,0.75) 100%);
    z-index:1;
}

.roamease-countries-grid .country-card.re-country-card-1 .card-overlay {
    position:absolute;
    inset:0;
    display:flex;
    flex-direction:column;
    justify-content:space-between;
    align-items:center;
    padding:34px 24px 28px;
    text-align:center;
    z-index:2;
}

.roamease-countries-grid .country-card.re-country-card-1 .country-title {
    margin:0;
    font-size:clamp(22px,2.6vw,30px);
    letter-spacing:.12em;
    text-transform:uppercase;
    color:#ffffff;
    font-weight:600;
}

.roamease-countries-grid .country-card.re-country-card-1 .country-desc {
    margin:0;
    font-size:13px;
    line-height:1.6;
    color:#ffffff;
    max-width:90%;
}

/* Shared split layout for Country Cards 2 & 3 – 300px image + white body */
.roamease-countries-grid .country-card.re-country-card-2,
.roamease-countries-grid .country-card.re-country-card-3 {
    background:#ffffff;
    border-radius:18px;
    box-shadow:0 18px 42px -20px rgba(15,23,42,0.45);
    border:1px solid rgba(15,23,42,0.08);
    display:flex;
    flex-direction:column;
    width:360px;
    max-width:360px;
    height:520px;
}

.roamease-countries-grid .country-card.re-country-card-2 .country-media,
.roamease-countries-grid .country-card.re-country-card-3 .country-media {
    position:relative;
    height:300px;
    overflow:hidden;
}

.roamease-countries-grid .country-card.re-country-card-2 .country-image,
.roamease-countries-grid .country-card.re-country-card-3 .country-image,
.roamease-countries-grid .country-card.re-country-card-2 .destination-placeholder,
.roamease-countries-grid .country-card.re-country-card-3 .destination-placeholder {
    height:100%;
}

.roamease-countries-grid .country-card .country-body {
    padding:18px 22px 22px;
    display:flex;
    flex-direction:column;
    align-items:center;
    text-align:center;
    gap:10px;
    flex:1;
}

.roamease-countries-grid .country-card.re-country-card-3 .country-body {
    height:200px;
}

/* Ensure country media images always cover for split card layouts (2 & 3) */
.roamease-countries-grid .country-card .country-media img,
.roamease-countries-grid .country-card .country-media .country-image {
    width:100% !important;
    height:100% !important;
    display:block !important;
    object-fit:cover !important;
}

/* Stronger override for index template wrapper (higher specificity) */
.roamease-countries-grid.re-grid-321 .country-card .country-media img,
.roamease-countries-grid.re-grid-321 .country-card .country-media .country-image {
    width:100% !important;
    height:100% !important;
    max-width:none !important;
    display:block !important;
    object-fit:cover !important;
    object-position:center center !important;
}

.roamease-countries-grid .country-card .country-title {
    margin:0;
    font-size:1.15rem;
    font-weight:700;
    letter-spacing:.08em;
    text-transform:uppercase;
}

.roamease-countries-grid .country-card .country-desc {
    margin:0;
    font-size:0.9rem;
    line-height:1.4;
    overflow:hidden;
    text-overflow:ellipsis;
    max-height:2.8em;
}

/* Pill styles */
.roamease-countries-grid .country-card .country-pill,
.roamease-countries-grid .country-card .country-meta-pill {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:6px 18px;
    border-radius:999px;
    font-size:12px;
    font-weight:600;
    letter-spacing:.06em;
    text-transform:uppercase;
}

/* Card 2 – destinations pill at top centre of image */
.roamease-countries-grid .country-card.re-country-card-2 .country-pill--destinations {
    position:absolute;
    top:18px;
    left:50%;
    transform:translateX(-50%);
    background:rgba(255,255,255,0.92);
    color:#111827;
    border:1px solid rgba(15,23,42,0.2);
}

/* Card 3 – tours pill on image, destinations pill above button */
.roamease-countries-grid .country-card.re-country-card-3 .country-pill--tours {
    position:absolute;
    top:18px;
    right:18px;
    background:rgba(255,255,255,0.92);
    color:#111827;
    border:1px solid rgba(15,23,42,0.2);
}

.roamease-countries-grid .country-card.re-country-card-3 .country-meta-pill {
    margin-top:4px;
    margin-bottom:4px;
    background:#ecfdf3;
    color:#166534;
    border:1px solid #22c55e;
}

/* Shared View Country button styling for Card 2 & 3 */
.roamease-countries-grid .country-card .re-country-btn {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:11px 30px;
    border-radius:999px;
    border:1px solid #111827;
    background:#111827;
    color:#ffffff;
    font-weight:600;
    text-decoration:none;
    margin-top:auto;
    margin-bottom:0;
    position:relative;
}

/* 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 {
    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 {
        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 {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
        padding: 0 8px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
}

/* Container-level responsive fixes */
/*
 * IMPORTANT:
 * Do not target global Elementor layout selectors (e.g. .elementor-section/.elementor-container)
 * from a plugin stylesheet. That can break Elementor Pro Theme Builder headers/footers.
 * Keep responsiveness scoped to RoamEase containers only.
 */
@media (max-width: 768px) {
    .roamease-archive-container,
    .roamease-single-tour,
    .roamease-single-destination,
    .roamease-modal,
    .roamease-booking-form,
    .roamease-inquiry-form {
        max-width: 100% !important;
        overflow-x: hidden !important;
    }
}

@media (max-width: 480px) {
    
    /* 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-card_2 .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 1 (Hero Overlay) --- */
.tour-card.card-style-card_1 { position: relative; overflow: hidden; border-radius: 12px; }
.tour-card.card-style-card_1 .tour-image { position: relative; height: 520px; }
.tour-card.card-style-card_1 .tour-image img { height: 100% !important; width: 100% !important; object-fit: cover !important; }
.tour-card.card-style-card_1 .overlay-scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0.05) 35%, rgba(0,0,0,0.55) 72%, rgba(0,0,0,0.88) 100%); pointer-events: none; }
/* Price pill: top-right corner with rounded border */
.tour-card.card-style-card_1 .tour-price { position: absolute; top: 20px; right: 20px; z-index: 10; background: rgba(0,0,0,0.55); backdrop-filter: blur(4px); border: 1px solid rgba(255,255,255,0.35); border-radius: 50px; padding: 10px 22px; color: #fff; font-size: 14px; font-weight: 600; letter-spacing: 0.3px; text-transform: none; }
.tour-card.card-style-card_1 .tour-price.is-enquiry { background: rgba(0,0,0,0.45); font-weight: 500; font-style: italic; }
/* Overlay content: title & excerpt at bottom center */
.tour-card.card-style-card_1 .overlay-content { position: absolute; left: 50%; bottom: 32px; transform: translateX(-50%); width: min(92%, 1040px); text-align: center; color: #fff; display: flex; flex-direction: column; align-items: center; gap: 10px; z-index: 5; }
.tour-card.card-style-card_1 .tour-title { margin: 0 0 10px; letter-spacing: 0.2px; font-size: clamp(24px, 3.1vw, 38px); line-height: 1.15; text-shadow: 0 2px 12px rgba(0,0,0,0.6); font-family: var(--e-global-typography-headings-font-family, var(--e-global-typography-primary-font-family, inherit)); font-weight: var(--e-global-typography-headings-font-weight, var(--e-global-typography-primary-font-weight, 700)); text-transform: uppercase; }
.tour-card.card-style-card_1 .tour-title a { color: #fff; text-decoration: none; }
.tour-card.card-style-card_1 .overlay-excerpt { margin: 0 auto; max-width: 920px; font-size: clamp(14px, 1.05vw, 16px); line-height: 1.7; opacity: 0.96; text-shadow: 0 2px 8px rgba(0,0,0,0.55); font-family: var(--e-global-typography-text-font-family, var(--e-global-typography-secondary-font-family, inherit)); font-weight: var(--e-global-typography-text-font-weight, var(--e-global-typography-secondary-font-weight, 400)); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; text-overflow: ellipsis; max-height: calc(2 * 1.7em); }
.tour-card.card-style-card_1 .tour-content { display: none !important; }
.roamease-tours-grid .tour-card.card-style-card_1:hover .tour-image img { filter: contrast(1.03) saturate(1.03); }
@media (max-width: 768px) {
    .tour-card.card-style-card_1 .overlay-content { bottom: 24px; width: calc(100% - 36px); }
    .tour-card.card-style-card_1 .tour-title { margin-bottom: 8px; }
    .tour-card.card-style-card_1 .tour-price { top: 16px; right: 16px; padding: 8px 18px; font-size: 13px; }
}
@media (max-width: 480px) {
    .tour-card.card-style-card_1 .overlay-content { bottom: 18px; width: calc(100% - 28px); }
    .tour-card.card-style-card_1 .tour-price { top: 12px; right: 12px; padding: 7px 14px; font-size: 12px; }
}

/* ========== Tour Card 2 (Minimal Centered) - Base Styles ========== */
/* Card 2: Floating image design with centered content */
.tour-card.card-style-card_2 {
    height: 520px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border: 1px solid #eaeaea;
    border-radius: 20px;
    overflow: hidden;
    background: #fff;
    padding: 12px 12px 0 12px;
}
.tour-card.card-style-card_2 .tour-image {
    height: 240px;
    min-height: 240px;
    max-height: 240px;
    border-radius: 14px;
    overflow: hidden;
    flex-shrink: 0;
    border-bottom: none;
}
.tour-card.card-style-card_2 .tour-image img {
    height: 100% !important;
    width: 100% !important;
    object-fit: cover !important;
    border-radius: 14px;
}
.tour-card.card-style-card_2 .tour-meta,
.tour-card.card-style-card_2 .tour-destinations,
.tour-card.card-style-card_2 .tour-actions,
.tour-card.card-style-card_2 .tour-content:not(.tour-content-card2) { display: none !important; }

/* Card 2: Centered content container */
.tour-card.card-style-card_2 .tour-content-card2 {
    padding: 20px 12px 24px 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    flex: 1;
    text-align: center;
}

/* Card 2: Duration with clock icon */
.tour-card.card-style-card_2 .tour-duration-centered {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: var(--e-global-color-accent, var(--re-primary, #d4a574));
    font-family: var(--e-global-typography-text-font-family, inherit);
    font-size: 14px;
    font-weight: 400;
    margin-bottom: 14px;
}
.tour-card.card-style-card_2 .tour-duration-centered svg {
    color: var(--e-global-color-accent, var(--re-primary, #d4a574));
    flex-shrink: 0;
    width: 15px;
    height: 15px;
}

/* Card 2: Centered title */
.tour-card.card-style-card_2 .tour-title-centered {
    font-family: var(--e-global-typography-primary-font-family, var(--e-global-typography-text-font-family, inherit));
    font-size: 22px;
    font-weight: 600;
    line-height: 1.35;
    color: var(--e-global-color-primary, #1a1a2e);
    margin: 0 0 14px 0;
    text-align: center;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.tour-card.card-style-card_2 .tour-title-centered a {
    color: inherit;
    text-decoration: none;
}
.tour-card.card-style-card_2 .tour-title-centered a:hover {
    color: var(--e-global-color-accent, var(--re-primary, #d4a574));
}

/* Card 2: Centered excerpt */
.tour-card.card-style-card_2 .tour-excerpt-centered {
    color: var(--e-global-color-text, #6c757d);
    font-family: var(--e-global-typography-text-font-family, inherit);
    font-size: 15px;
    font-weight: 400;
    line-height: 1.6;
    text-align: center;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: auto;
}

/* Card 2: Centered price (not absolute positioned) */
.tour-card.card-style-card_2 .tour-price-centered {
    position: static !important;
    top: auto !important;
    right: auto !important;
    background: transparent !important;
    border-radius: 0 !important;
    padding: 0 !important;
    text-align: center;
    margin-top: auto;
    padding-top: 16px !important;
}
.tour-card.card-style-card_2 .tour-price-centered .price {
    font-family: var(--e-global-typography-text-font-family, inherit);
    font-size: 16px;
    font-weight: 500;
    color: var(--e-global-color-text, #6c757d) !important;
}
.tour-card.card-style-card_2 .tour-price-centered.is-enquiry .price {
    font-style: italic;
    color: var(--e-global-color-text, #999) !important;
    opacity: 0.8;
}

/* Card 2: Hide any price overlay on image */
.tour-card.card-style-card_2 .tour-image .tour-price {
    display: none !important;
}

/* Card 2: Responsive */
@media (max-width: 768px) {
    .tour-card.card-style-card_2 {
        height: 480px;
        padding: 10px 10px 0 10px;
    }
    .tour-card.card-style-card_2 .tour-image {
        height: 220px;
        min-height: 220px;
        max-height: 220px;
    }
    .tour-card.card-style-card_2 .tour-content-card2 {
        padding: 16px 10px 20px 10px;
    }
    .tour-card.card-style-card_2 .tour-title-centered {
        font-size: 18px;
    }
}
@media (max-width: 480px) {
    .tour-card.card-style-card_2 {
        height: auto;
        min-height: 420px;
        padding: 10px 10px 0 10px;
    }
    .tour-card.card-style-card_2 .tour-image {
        height: 200px;
        min-height: 200px;
        max-height: 200px;
    }
    .tour-card.card-style-card_2 .tour-content-card2 {
        padding: 14px 10px 18px 10px;
    }
    .tour-card.card-style-card_2 .tour-title-centered {
        font-size: 16px;
    }
}

.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; }

/* --- Tour Card 2 (Minimal Centered) – Grid sizing preset --- */
.roamease-tours-grid.preset-card2 {
    grid-template-columns: repeat(auto-fit, minmax(320px, 360px));
    justify-content: center;
    gap: 24px;
}
@media (max-width: 768px) {
    .roamease-tours-grid.preset-card2 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
    .roamease-tours-grid.preset-card2 { grid-template-columns: 1fr; }
}

/* Ensure the new centered content renders for Card 2, hide old content block */
.roamease-tours-grid.preset-card2 .tour-card.card-style-card_2 .tour-content:not(.tour-content-card2) {
    display: none !important;
}
.roamease-tours-grid.preset-card2 .tour-card.card-style-card_2 .tour-content-card2 {
    display: flex !important;
}

/* Strip pill/background from inline price for Card 2 */
.roamease-tours-grid.preset-card2 .tour-price-inline { background: transparent !important; padding: 0 !important; }
.roamease-tours-grid.preset-card2 .tour-price-inline .price {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    color: var(--re-primary, #1d4ed8) !important; /* keep primary text color */
}
.roamease-tours-grid.preset-card2 .tour-price-inline.is-enquiry .price {
    color: var(--re-primary, #1d4ed8) !important; /* override global white for enquiry */
}

/* Reference layout (matches requested design) */
.tour-card.card-style-card_3 { min-height: 0; }
.tour-card.card-style-card_3 .tour-image { position: relative; height: 260px; }
.tour-card.card-style-card_3 .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-card_3 .tour-content { padding:16px 20px 18px; }
.tour-card.card-style-card_3 .tour-content { padding:16px 20px 18px; }
.tour-card.card-style-card_3 .tour-excerpt, 
.tour-card.card-style-card_3 .tour-destinations, 
.tour-card.card-style-card_3 .tour-meta { display:none !important; }
.tour-card.card-style-card_3 .ref-footer { margin-top:8px; display:flex; align-items:center; justify-content:space-between; gap:12px; }
.tour-card.card-style-card_3 .ref-footer .start-from .label { color:#475569; font-size:12px; font-weight:600; text-transform:none; }
.tour-card.card-style-card_3 .ref-footer .start-from .sub { color:#94a3b8; font-size:11px; font-weight:600; letter-spacing:.3px; }
.tour-card.card-style-card_3 .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-card_3 .tour-image{ height: 240px; }
    .tour-card.card-style-card_3 .ref-locations{ top:56px; }
}

/* Tours Grid: Preset Card 3 (Elementor widget) — match screenshot */
.roamease-tours-grid.preset-card3 {
    justify-items: center;
    align-items: stretch;
    gap: clamp(16px, 2.4vw, 28px);
}

.roamease-tours-grid.preset-card3 .tour-card {
    width: min(100%, 380px);
    max-width: 380px;
    min-height: 520px;
    height: auto;
}

.roamease-tours-grid.preset-card3 .tour-card.card-style-card_3 {
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(0,0,0,0.10);
    border: 1px solid rgba(0,0,0,0.08);
    transition: transform .24s ease, box-shadow .24s ease;
}

.roamease-tours-grid.preset-card3 .tour-card.card-style-card_3:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.14);
}

.roamease-tours-grid.preset-card3 .tour-card.card-style-card_3 .tour-image,
.roamease-tours-grid.preset-card3 .tour-card.card-style-card_3 .tour-image img {
    border-radius: 0 !important;
}

.roamease-tours-grid.preset-card3 .tour-card.card-style-card_3 .tour-image {
    height: clamp(210px, 31vw, 270px);
}

/* Price pill: top-right, PRIMARY background */

.roamease-tours-grid.preset-card3 .tour-card.card-style-card_3 .tour-price.tour-price-ref {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 6px 10px;
    border-radius: 999px;
    background: var(--e-global-color-primary, var(--re-primary, #1d4ed8)) !important;
    color: #fff !important;
    font-weight: 700;
    font-size: 12px;
    line-height: 1;
    letter-spacing: 0.01em;
    white-space: nowrap;
}

.roamease-tours-grid.preset-card3 .tour-card.card-style-card_3 .tour-price.tour-price-ref .price {
    color: #fff !important;
}

.roamease-tours-grid.preset-card3 .tour-card.card-style-card_3 .tour-content {
    text-align: center;
    align-items: center;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 20px 20px 24px !important;
}

.roamease-tours-grid.preset-card3 .tour-card.card-style-card_3 .tour-title {
    margin: 2px 0 0;
    width: 100%;
}

.roamease-tours-grid.preset-card3 .tour-card.card-style-card_3 .tour-title a {
    text-transform: uppercase;
    letter-spacing: 0.015em;
    /* Default: follow Elementor Global Headings; widget Style tab can override */
    font-family: var(--e-global-typography-headings-font-family, inherit);
    font-weight: var(--e-global-typography-headings-font-weight, 700);
    font-size: clamp(18px, 1.65vw, 28px);
    line-height: 1.2;
    color: var(--e-global-color-primary, var(--re-primary, #1d4ed8));
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.roamease-tours-grid.preset-card3 .tour-card.card-style-card_3 .tour-title a:hover {
    color: var(--e-global-color-secondary, var(--re-secondary, #0f172a));
}

.roamease-tours-grid.preset-card3 .tour-card.card-style-card_3 .tour-description {
    margin: 0;
    width: 100%;
    /* Default: follow Elementor Global Text; widget Style tab can override */
    color: var(--e-global-color-text, #6c757d);
    font-family: var(--e-global-typography-text-font-family, inherit);
    font-weight: var(--e-global-typography-text-font-weight, 400);
    font-size: clamp(14px, 1vw, 16px);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.roamease-tours-grid.preset-card3 .tour-card.card-style-card_3 .ref-footer {
    margin-top: auto;
    justify-content: center;
    width: 100%;
    padding-top: 10px;
}

/* Book Now pill: PRIMARY background, centered */
.roamease-tours-grid.preset-card3 .tour-card.card-style-card_3 .btn-book-now.ref-book {
    width: min(260px, 100%);
    min-height: 48px;
    border-radius: 999px;
    padding: 12px 20px;
    text-transform: uppercase;
    letter-spacing: 0.045em;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    background: var(--e-global-color-primary, var(--re-primary, #1d4ed8));
    color: #fff;
}

.roamease-tours-grid.preset-card3 .tour-card.card-style-card_3 .btn-book-now.ref-book:hover {
    background: var(--e-global-color-secondary, var(--re-secondary, #0f172a));
    color: #fff;
}

@media (max-width: 1024px) {
    .roamease-tours-grid.preset-card3 .tour-card {
        width: 100%;
        max-width: 100%;
        min-height: 500px;
    }
    .roamease-tours-grid.preset-card3 .tour-card.card-style-card_3 .tour-content {
        padding: 18px 18px 22px !important;
    }
}

@media (max-width: 768px) {
    .roamease-tours-grid.preset-card3 {
        gap: 16px;
    }
    .roamease-tours-grid.preset-card3 .tour-card {
        min-height: 0;
        height: auto;
    }
    .roamease-tours-grid.preset-card3 .tour-card.card-style-card_3 .tour-image {
        height: 220px;
    }
    .roamease-tours-grid.preset-card3 .tour-card.card-style-card_3 .tour-description {
        -webkit-line-clamp: 3;
    }
    .roamease-tours-grid.preset-card3 .tour-card.card-style-card_3 .tour-content {
        padding: 16px 16px 20px !important;
        gap: 8px;
    }
    .roamease-tours-grid.preset-card3 .tour-card.card-style-card_3 .btn-book-now.ref-book {
        width: min(230px, 100%);
        min-height: 46px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .roamease-tours-grid.preset-card3 {
        gap: 14px !important;
        padding-left: 6px !important;
        padding-right: 6px !important;
    }
    .roamease-tours-grid.preset-card3 .tour-card.card-style-card_3 .tour-image {
        height: 205px;
    }
    .roamease-tours-grid.preset-card3 .tour-card.card-style-card_3 .tour-content {
        padding: 14px 14px 18px !important;
    }
    .roamease-tours-grid.preset-card3 .tour-card.card-style-card_3 .tour-title a {
        font-size: clamp(17px, 5.3vw, 21px);
        line-height: 1.18;
    }
    .roamease-tours-grid.preset-card3 .tour-card.card-style-card_3 .tour-description {
        font-size: 15px;
        line-height: 1.55;
    }
    .roamease-tours-grid.preset-card3 .tour-card.card-style-card_3 .btn-book-now.ref-book {
        width: 100%;
        max-width: 230px;
    }
}

/* 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;
    width: 360px;
    max-width: 360px;
    min-height: 520px;
    display: flex;
    flex-direction: column;
}

/* Slightly narrow tour cards inside grids/slider while keeping 3/2/1 columns */
.roamease-tours-grid .tour-card,
.roamease-tour-slider .tour-card {
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
}

/* Ensure grid rows and cards stretch so all cards in a row have equal height
   - grid-auto-rows: 1fr makes each row use flexible equal height
   - cards fill their grid cell and use flex column so footer/actions stick to bottom */
.tours-grid {
    align-items: stretch;
    grid-auto-rows: 1fr;
}

.tours-grid > .tour-card,
.tours-grid .tour-card {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.tours-grid .tour-content {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
}

.tour-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
    border-color: #e0e0e0;
}

/* 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 {
    min-height: auto;
}

.tour-image {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
    flex-shrink: 0;
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
}

.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;
}

.roamease-tours-grid .tour-card .tour-title,
.roamease-archive-container h3.tour-title,
.roamease-single-tour h3.tour-title,
/* Ensure slider tour cards also use global heading typography */
.roamease-tour-slider .tour-card .tour-title,
.roamease-tour-slider h3.tour-title {
    margin: 0 0 12px 0;
    /* Typography from Elementor Global Headings (with safe fallbacks) */
    font-size: var(--e-global-typography-headings-font-size, 25px);
    font-weight: var(--e-global-typography-headings-font-weight, 700);
    line-height: var(--e-global-typography-headings-line-height, 1.2);
    font-family: var(--e-global-typography-headings-font-family, var(--e-global-typography-primary-font-family, inherit));
}

.roamease-tours-grid .tour-card .tour-title a,
.roamease-archive-container h3.tour-title a,
.roamease-single-tour h3.tour-title a {
    /* Title color from Elementor global primary/heading color */
    color: var(--e-global-color-primary, var(--re-link, var(--re-primary, #ca9e0d)));
    font-size: inherit;
    font-weight: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.roamease-tours-grid .tour-title a:hover,
.roamease-archive-container .tour-title a:hover,
.roamease-single-tour .tour-title a:hover,
.roamease-tour-slider .tour-title a:hover {
    /* Hover color should use secondary palette */
    color: var(--e-global-color-secondary, var(--re-secondary, #6c757d));
    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 */
}

/* Classic tour card layout: center meta/text to match sample design */
.tour-card.card-style-classic .tour-content {
    text-align: center;
    /* Make inner content column 90% of the card width */
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
}
.tour-card.card-style-classic .tour-meta {
    justify-content: center;
}
.tour-card.card-style-classic .tour-excerpt {
    text-align: center;
}

.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 + slider */
.roamease-tours-grid .tour-meta .tour-type,
.roamease-featured-tours .tour-meta .tour-type,
.roamease-inline-results .tour-meta .tour-type,
.roamease-tour-slider .tour-meta .tour-type {
    display: inline-flex; /* centers content vertically */
    align-items: center;
    justify-content: center; /* centers text horizontally within the pill */
    /* Use secondary brand color for tour type */
    background: rgba(var(--re-secondary-rgb, 108,117,125), 0.10);
    color: var(--e-global-color-secondary, var(--re-secondary, #6c757d));
    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,
.roamease-tour-slider .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,
/* Ensure slider tour card excerpts also use global text typography */
.roamease-tour-slider .tour-excerpt {
    /* Body text typography from Elementor Global Text */
    color: var(--e-global-color-text, #6c757d);
    line-height: var(--e-global-typography-text-line-height, 1.5);
    margin-bottom: 15px;
    font-size: var(--e-global-typography-text-font-size, 14px);
    font-family: var(--e-global-typography-text-font-family, var(--e-global-typography-secondary-font-family, inherit));
    font-weight: var(--e-global-typography-text-font-weight, 400);
    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); width:100%; max-width:100%; box-sizing:border-box; }
@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: var(--e-global-color-primary, var(--re-primary, #C79375)) !important;
    color: #fff !important;
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 14px;
    border: none !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    transition: background 0.2s, color 0.2s;
}

.tour-price .price-enquiry {
    color: #fff !important;
    font-size: 12px;
}
.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;
}
/* Inline price row inside tour body (non-overlay styles) */
.tour-price-inline {
    position: static;
    margin: 8px 0 4px;
    padding: 0;
    background: transparent;
    text-align: center;
}
.tour-price-inline .price {
    display: inline-block;
    font-weight: 600;
    font-size: 14px;
    /* Inline price text forced to primary color */
    color: var(--e-global-color-primary, var(--re-primary, #C79375)) !important;
}

.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-card_2 .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;
}

/* Enquiry for Price: keep same primary emphasis */
.tour-price.is-enquiry .price,
.tour-price .price,
.tour-price-inline.is-enquiry .price {
    color: #fff !important;
}

/* Hide primary button on classic cards to better match reference design */
.tour-card.card-style-classic .tour-actions {
    display: none;
}

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

/* Buttons (scoped to RoamEase containers to avoid overriding theme/Elementor styles) */
.roamease-archive-container .btn,
.roamease-single-tour .btn,
.roamease-booking-form .btn,
.roamease-inquiry-form .btn,
.roamease-modal .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;
}

.roamease-archive-container .btn:focus,
.roamease-single-tour .btn:focus,
.roamease-booking-form .btn:focus,
.roamease-inquiry-form .btn:focus,
.roamease-modal .btn:focus {
    outline: 2px solid var(--re-primary, #0073aa);
    outline-offset: 2px;
}

.roamease-archive-container .btn-primary,
.roamease-single-tour .btn-primary,
.roamease-booking-form .btn-primary,
.roamease-inquiry-form .btn-primary,
.roamease-modal .btn-primary {
    background: var(--e-global-color-primary, #C79375);
    color: var(--e-global-color-accent, #F4F0EC);
    transition: background 0.2s ease, color 0.2s ease;
}

.roamease-archive-container .btn-primary:hover,
.roamease-single-tour .btn-primary:hover,
.roamease-booking-form .btn-primary:hover,
.roamease-inquiry-form .btn-primary:hover,
.roamease-modal .btn-primary:hover {
    background: var(--e-global-color-secondary, #333333);
    color: var(--e-global-color-primary, #C79375);
}

.roamease-archive-container .btn-secondary,
.roamease-single-tour .btn-secondary,
.roamease-booking-form .btn-secondary,
.roamease-inquiry-form .btn-secondary,
.roamease-modal .btn-secondary {
    background: var(--re-secondary, #6c757d);
    color: white;
}

.roamease-archive-container .btn-secondary:hover,
.roamease-single-tour .btn-secondary:hover,
.roamease-booking-form .btn-secondary:hover,
.roamease-inquiry-form .btn-secondary:hover,
.roamease-modal .btn-secondary:hover {
    background: var(--re-secondary, #545b62);
    color: white;
}

.roamease-archive-container .btn-outline,
.roamease-single-tour .btn-outline,
.roamease-booking-form .btn-outline,
.roamease-inquiry-form .btn-outline,
.roamease-modal .btn-outline {
    background: transparent;
    color: var(--re-primary, #0073aa);
    border: 1px solid var(--re-primary, #0073aa);
}

.roamease-archive-container .btn-outline:hover,
.roamease-single-tour .btn-outline:hover,
.roamease-booking-form .btn-outline:hover,
.roamease-inquiry-form .btn-outline:hover,
.roamease-modal .btn-outline:hover {
    background: var(--re-primary, #0073aa);
    color: white;
}

.roamease-archive-container .btn-large,
.roamease-single-tour .btn-large,
.roamease-booking-form .btn-large,
.roamease-inquiry-form .btn-large,
.roamease-modal .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;
}

.roamease-modal .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;
}

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

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

.roamease-modal .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 (scoped) */
.roamease-modal .loading,
.roamease-single-tour .loading,
.roamease-archive-container .loading,
.roamease-booking-form .loading,
.roamease-inquiry-form .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;
    }
    /* On small screens, let cards use full column width */
    .roamease-tours-grid .tour-card,
    .roamease-tour-slider .tour-card {
        max-width: 100%;
    }
    
    .tour-content {
        padding: 15px;
    }
    
    .tour-actions {
        flex-direction: column;
    }
    
    /* Scoped to RoamEase elements to avoid Elementor conflicts */
    .roamease-tours-grid .btn,
    .roamease-tour-slider .btn,
    .roamease-booking-form .btn,
    .roamease-inquiry-form .btn {
        width: 100%;
        text-align: center;
    }
    
    .roamease-modal .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);
}

/* Destination Card 1: title hover should use Elementor primary color */
.destinations-slider .destination-card.dest-style-1:hover .destination-title,
.destination-card.dest-style-1:hover .destination-title {
    color: var(--e-global-color-primary, var(--re-primary, #2563eb));
}

.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%}}

/* Destinations hero overlay card (slider/grid on destinations index) */
.destinations-slider.re-grid-321 { justify-items: stretch; margin: 0 auto; max-width: 100%; overflow: hidden; box-sizing: border-box; }

/* Country template only: fixed 4 / 3 / 2 / 1 columns with 360px cards */
.roamease-pro-country-archive .destinations-slider.re-grid-country-4321 {
    justify-items: center;
    justify-content: center;
    display: grid;
    grid-template-columns: repeat(3, 360px);
    gap: 20px;
    padding: 24px 0 10px;
}

@media (min-width: 1620px) {
    .roamease-pro-country-archive .destinations-slider.re-grid-country-4321 {
        grid-template-columns: repeat(4, 360px);
    }
}

@media (max-width: 1219px) {
    .roamease-pro-country-archive .destinations-slider.re-grid-country-4321 {
        grid-template-columns: repeat(2, 360px);
        gap: 18px;
    }
}

@media (max-width: 819px) {
    .roamease-pro-country-archive .destinations-slider.re-grid-country-4321 {
        grid-template-columns: 1fr;
        justify-items: stretch;
        gap: 16px;
        padding: 18px 0 6px;
    }

    .roamease-pro-country-archive .destinations-slider.re-grid-country-4321 .destination-card {
        width: 100%;
        max-width: 100%;
    }
}
.destinations-slider .destination-card { position: relative; overflow: hidden; border-radius: 6px; background: #000; display: block; text-decoration: none; color: #fff; width:100%; max-width:100%; height:520px; box-sizing:border-box; }
.destinations-slider .destination-card .destination-image { display:block; width:100%; height:520px; object-fit:cover; }
.destinations-slider .destination-card .destination-placeholder { width:100%; height:520px; background:linear-gradient(135deg,#e5e7eb,#f3f4f6); }
.destinations-slider .destination-card .card-scrim { position:absolute; inset:0; background: linear-gradient(180deg, rgba(0,0,0,0.05) 10%, rgba(0,0,0,0.45) 55%, rgba(0,0,0,0.85) 100%); transition: opacity .25s ease; }
.destinations-slider .destination-card:hover .card-scrim { opacity:.95; }
.destinations-slider .destination-card .destination-info { position:absolute; inset:0; display:flex; flex-direction:column; align-items:center; justify-content:flex-end; padding:24px 20px 28px; text-align:center; }
.destinations-slider .destination-card .destination-title { margin:0; font-size:clamp(20px,2.4vw,28px); line-height:1.18; letter-spacing:0.08em; text-transform:uppercase; color:#ffffff; text-shadow:none; font-family:var(--e-global-typography-headings-font-family,var(--e-global-typography-primary-font-family,inherit)); font-weight:var(--e-global-typography-headings-font-weight,var(--e-global-typography-primary-font-weight,700)); }

/* Destination Card 1: centered title on hero image */
.destinations-slider .destination-card.dest-style-1 .destination-info {
    justify-content: center;
}

/* Destination Card 2: hero image with top pills, title + excerpt at bottom */
.destinations-slider .destination-card.dest-style-2 .destination-info {
    justify-content: flex-end;
}

.destinations-slider .destination-card .destination-meta-top {
    position:absolute;
    top:20px;
    left:20px;
    right:20px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    pointer-events:none;
}

.destinations-slider .destination-card .destination-meta-top .pill-outline,
.destinations-slider .destination-card .destination-pill-row .pill-outline {
    pointer-events:auto;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:6px 16px;
    border-radius:999px;
    border:1px solid rgba(255,255,255,.9);
    background:rgba(0,0,0,0.05);
    color:#ffffff;
    font-size:12px;
    font-weight:600;
    letter-spacing:0.06em;
    text-transform:uppercase;
}

.destinations-slider .destination-card.dest-style-2 .destination-info .destination-desc {
    margin-top:10px;
    font-size:13px;
    line-height:1.5;
    color:#f9fafb;
}

/* Destination Card 3: image on top, white body with pills, text and button */
.destinations-slider .destination-card.dest-style-3 {
    background:#ffffff;
    color:#111827;
    border-radius:12px;
    overflow:hidden;
    box-shadow:0 18px 40px rgba(15,23,42,0.18);
    display:flex;
    flex-direction:column;
    width:100%;
    max-width:100%;
    height:520px;
    box-sizing:border-box;
}

/* Destination Card 3: image block fixed to 300px height */
.destinations-slider .destination-card.dest-style-3 .destination-image,
.destinations-slider .destination-card.dest-style-3 .destination-placeholder {
    height:300px;
}

.destinations-slider .destination-card.dest-style-3 .destination-info {
    position:static;
    inset:auto;
    padding:22px 26px 24px;
    text-align:center;
}

.destinations-slider .destination-card.dest-style-3 .destination-title,
.destinations-slider .destination-card.dest-style-3 .destination-title a {
    color:#111827;
}

.destinations-slider .destination-card.dest-style-3 .destination-desc {
    margin-top:10px;
    font-size:14px;
    line-height:1.6;
    color:#4b5563;
}

.destinations-slider .destination-card .destination-pill-row {
    display:flex;
    align-items:center;
    justify-content:center;
    gap:10px;
    margin-bottom:14px;
}

.destinations-slider .destination-card.dest-style-3 .destination-pill-row .pill-outline {
    border-color:rgba(17,24,39,.9);
    background:#ffffff;
    color:#111827;
}

.destinations-slider .destination-card.dest-style-3 .dest-actions {
    margin-top:18px;
}

.destinations-slider .destination-card.dest-style-3 .btn-view-destination {
    min-width:210px;
    padding:11px 24px;
    border-radius:999px;
}

/* Description default state (Card 2 & 3) */
.destinations-slider .destination-card .destination-desc {
    display:block;
}

/* =============================================================
 * Tour Types Grid – Elementor-specific hero cards (1, 2, 3)
 * ========================================================== */

.roamease-tour-types-grid.re-grid-321 {
    justify-items: center;
}

.roamease-tour-types-grid .tour-type-card {
    position:relative;
    overflow:hidden;
    width:360px;
    max-width:360px;
    height:520px;
}

.roamease-tour-types-grid .tour-type-card .tour-type-link {
    display:block;
    text-decoration:none;
    color:inherit;
}

.roamease-tour-types-grid .tour-type-card .tour-type-image,
.roamease-tour-types-grid .tour-type-card .tour-type-placeholder {
    display:block;
    width:100%;
    object-fit:cover;
}

.roamease-tour-types-grid .tour-type-card .tour-type-placeholder {
    background: #eef2f6;
}

/* Tour Type Cards 1 & 2 – full 450px hero image with overlay */
.roamease-tour-types-grid .tour-type-card.tour-type-style-overlay {
    background:#000;
    color:#fff;
    border-radius:8px;
}

.roamease-tour-types-grid .tour-type-card.tour-type-style-overlay .tour-type-image,
.roamease-tour-types-grid .tour-type-card.tour-type-style-overlay .tour-type-placeholder {
    height:520px;
}

.roamease-tour-types-grid .tour-type-card.tour-type-style-overlay .card-scrim {
    position:absolute;
    inset:0;
    background:linear-gradient(180deg, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.45) 55%, rgba(0,0,0,0.9) 100%);
}

.roamease-tour-types-grid .tour-type-card.tour-type-style-overlay .card-overlay {
    position:absolute;
    inset:0;
    display:flex;
    flex-direction:column;
    padding:32px 28px 30px;
    text-align:center;
}

.roamease-tour-types-grid .tour-type-card.tour-type-style-overlay .tour-type-title {
    margin:0;
    font-size:clamp(22px,2.4vw,30px);
    letter-spacing:.14em;
    text-transform:uppercase;
    color:#ffffff;
}

.roamease-tour-types-grid .tour-type-card.tour-type-style-overlay .tour-type-desc {
    margin-top:12px;
    font-size:14px;
    line-height:1.6;
    color:#f9fafb;
}

.roamease-tour-types-grid .tour-type-card.tour-type-style-overlay .tour-type-overlay-main {
    display:flex;
    flex-direction:column;
    align-items:center;
}

.roamease-tour-types-grid .tour-type-card.tour-type-style-overlay.card-variant-1 .card-overlay {
    justify-content:space-between;
}

.roamease-tour-types-grid .tour-type-card.tour-type-style-overlay.card-variant-1 .tour-type-overlay-main {
    margin-top:40px;
}

.roamease-tour-types-grid .tour-type-card.tour-type-style-overlay.card-variant-1 .tour-type-overlay-bottom {
    display:flex;
    justify-content:center;
    margin-bottom:22px;
}

/* Tour Type Card 2 – tours pill top centre, title lower */
.roamease-tour-types-grid .tour-type-card.tour-type-style-overlay.card-variant-2 .card-overlay {
    justify-content:space-between;
}

.roamease-tour-types-grid .tour-type-card.tour-type-style-overlay.card-variant-2 .tour-type-overlay-top {
    display:flex;
    justify-content:center;
}

.roamease-tour-types-grid .tour-type-card.tour-type-style-overlay.card-variant-2 .tour-type-overlay-main {
    margin-bottom:32px;
}

.roamease-tour-types-grid .tour-type-card .pill-outline.tour-count-pill {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:6px 18px;
    border-radius:999px;
    border:1px solid rgba(255,255,255,0.9);
    background:rgba(0,0,0,0.06);
    color:#ffffff;
    font-size:13px;
    font-weight:600;
    letter-spacing:.08em;
    text-transform:uppercase;
}

/* Tour Type Card 3 – 250px image, tours pill top-right, white body + button */
.roamease-tour-types-grid .tour-type-card.tour-type-style-card3 {
    background:#ffffff;
    color:#111827;
    border-radius:12px;
    overflow:hidden;
    box-shadow:0 18px 40px rgba(15,23,42,0.18);
    display:flex;
    flex-direction:column;
    height:520px;
}

.roamease-tour-types-grid .tour-type-card.tour-type-style-card3 .tour-type-media {
    position:relative;
    height:300px;
    overflow:hidden;
}

.roamease-tour-types-grid .tour-type-card.tour-type-style-card3 .tour-type-image,
.roamease-tour-types-grid .tour-type-card.tour-type-style-card3 .tour-type-placeholder {
    height:100%;
}

.roamease-tour-types-grid .tour-type-card.tour-type-style-card3 .tour-count-pill {
    position:absolute;
    top:18px;
    right:18px;
}

.roamease-tour-types-grid .tour-type-card.tour-type-style-card3 .tour-type-body {
    padding:20px 24px 22px;
    display:flex;
    flex-direction:column;
    align-items:center;
    text-align:center;
    gap:10px;
    flex:1;
}

.roamease-tour-types-grid .tour-type-card.tour-type-style-card3 .tour-type-title {
    margin:0;
    font-size:1.4rem;
    font-weight:700;
    letter-spacing:.08em;
    text-transform:uppercase;
}

.roamease-tour-types-grid .tour-type-card.tour-type-style-card3 .tour-type-title a {
    color:#111827;
    text-decoration:none;
}

.roamease-tour-types-grid .tour-type-card.tour-type-style-card3 .tour-type-desc {
    margin:0;
    font-size:0.9rem;
    line-height:1.6;
}

.roamease-tour-types-grid .tour-type-card.tour-type-style-card3 .tour-type-actions {
    margin-top:auto;
}

.roamease-tour-types-grid .tour-type-card.tour-type-style-card3 .tour-type-btn {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-width:190px;
    padding:11px 30px;
    border-radius:999px;
    border:1px solid #111827;
    background:#111827;
    color:#ffffff;
    font-weight:600;
    text-decoration:none;
}

/* Destinations CTA tile (bottom-right style card) */
.roamease-destinations-page .destination-cta-card {
    position: relative;
    border-radius: 12px;
    background: #f5f3ef;
    color: #1f2933;
    padding: 26px 24px 24px;
    box-shadow: 0 10px 32px rgba(15,23,42,0.15);
    width: 360px;
    max-width: 360px;
    min-height: 520px; /* match visual height of image cards */
    display: flex;
    align-items: center;
}
.roamease-destinations-page .destination-cta-inner {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.roamease-destinations-page .destination-cta-title {
    margin: 0;
    font-size: clamp(18px, 2vw, 22px);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-family: var(--e-global-typography-headings-font-family,var(--e-global-typography-primary-font-family,inherit));
    font-weight: var(--e-global-typography-headings-font-weight,var(--e-global-typography-primary-font-weight,700));
    color: var(--e-global-color-primary,#111827);
}
.roamease-destinations-page .destination-cta-text {
    margin: 0;
    font-size: clamp(14px, 1.1vw, 15px);
    line-height: 1.6;
    opacity: 0.9;
    font-family: var(--e-global-typography-text-font-family,var(--e-global-typography-secondary-font-family,inherit));
    color: var(--e-global-color-text,#374151);
}
.roamease-destinations-page .destination-cta-secondary {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid rgba(15,23,42,0.08);
}
.roamease-destinations-page .destination-cta-wh-title {
    margin: 0 0 4px 0;
    font-size: clamp(14px, 1.4vw, 15px);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--e-global-color-text,#6b7280);
    font-family: var(--e-global-typography-headings-font-family,var(--e-global-typography-primary-font-family,inherit));
}
.roamease-destinations-page .destination-cta-wh-text {
    margin: 0;
    font-size: clamp(13px, 1.1vw, 14px);
    line-height: 1.6;
    color: var(--e-global-color-text,#4b5563);
}
.roamease-destinations-page .destination-cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 6px;
    padding: 10px 18px;
    border-radius: 999px;
    background: var(--e-global-color-primary,#111827);
    color: var(--e-global-color-on-primary,#ffffff);
    font-weight: 600;
    font-size: 13px;
    text-decoration: none;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.roamease-destinations-page .destination-cta-button:hover {
    background: var(--e-global-color-primary,#111827);
    filter: brightness(1.05);
    color: var(--e-global-color-on-primary,#ffffff);
}

.roamease-destinations-page .destination-cta-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 10px;
}
.roamease-destinations-page .destination-cta-button.whatsapp {
    width: 100%;
    justify-content: space-between;
    background: #25D366;
    color: #0b1f16;
    border: none;
}
.roamease-destinations-page .destination-cta-button.whatsapp:hover {
    background: #1ebe5d;
    color: #0b1f16;
}
.roamease-destinations-page .destination-cta-button.whatsapp .wa-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
}
.roamease-destinations-page .destination-cta-button.whatsapp .wa-label {
    flex: 1 1 auto;
    text-align: left;
}
.roamease-destinations-page .destination-cta-button.whatsapp .wa-status {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}
.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 - scoped to RoamEase forms */
.roamease-booking-form .notification,
.roamease-inquiry-form .notification,
.roamease-notification {
    padding: 10px 15px;
    border-radius: 4px;
    margin-bottom: 1rem;
    display: none;
}

.roamease-booking-form .notification.success,
.roamease-inquiry-form .notification.success,
.roamease-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);
}

.roamease-booking-form .notification.error,
.roamease-inquiry-form .notification.error,
.roamease-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;
  }
}

/* Pagination styling for widget lists (tours, destinations, countries) */
.re-widget-pagination {
        display: flex;
        gap: 8px;
        align-items: center;
        justify-content: center;
        margin-top: 20px;
        flex-wrap: wrap;
}
.re-widget-pagination .re-page {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 36px;
        height: 36px;
        padding: 0 10px;
        border-radius: 8px;
        background: #fff;
        border: 1px solid rgba(15,23,42,0.06);
        color: var(--re-text, #374151);
        text-decoration: none;
        font-weight: 600;
        box-shadow: 0 2px 6px rgba(2,6,23,0.04);
        transition: background .18s ease, transform .12s ease;
}
.re-widget-pagination .re-page:hover { transform: translateY(-2px); background: rgba(59,130,246,0.05); }
.re-widget-pagination .re-page.current {
        background: var(--re-primary, #2C7BE5);
        color: #fff;
        border-color: transparent;
}
.re-widget-pagination .re-page.prev,
.re-widget-pagination .re-page.next {
        min-width: auto;
        padding: 0 12px;
}
.re-widget-pagination .re-page.disabled {
        opacity: 0.45;
        pointer-events: none;
        transform: none;
}

@media (max-width: 640px) {
        .re-widget-pagination { gap: 6px; margin-top: 14px; }
        .re-widget-pagination .re-page { min-width: 32px; height: 32px; font-size: 14px; }
        .re-widget-pagination .re-page.prev,
        .re-widget-pagination .re-page.next { padding: 0 8px; }
}

/* =============================================================
 * Responsive Card Sizing – Allow cards to fill container on mobile
 * ========================================================== */

/* Tablet: cards become 100% width within grid */
@media (max-width: 768px) {
    .tour-card,
    .roamease-tour-types-grid .tour-type-card,
    .roamease-countries-grid .country-card,
    .roamease-countries-grid .country-card.re-country-card-1,
    .roamease-countries-grid .country-card.re-country-card-2,
    .roamease-countries-grid .country-card.re-country-card-3,
    .destinations-slider .destination-card,
    .destinations-slider .destination-card.dest-style-3,
    .roamease-destinations-page .destination-cta-card {
        width: 100%;
        max-width: 100%;
    }
}

/* Mobile: full width cards with slightly reduced height */
@media (max-width: 480px) {
    .tour-card,
    .roamease-tour-types-grid .tour-type-card,
    .roamease-countries-grid .country-card,
    .roamease-countries-grid .country-card.re-country-card-1,
    .roamease-countries-grid .country-card.re-country-card-2,
    .roamease-countries-grid .country-card.re-country-card-3,
    .destinations-slider .destination-card,
    .destinations-slider .destination-card.dest-style-3,
    .roamease-destinations-page .destination-cta-card {
        width: 100%;
        max-width: 100%;
        height: auto;
        min-height: 420px;
    }
    
    /* Reduce image heights proportionally on mobile */
    .tour-image,
    .roamease-tour-types-grid .tour-type-card.tour-type-style-overlay .tour-type-image,
    .roamease-tour-types-grid .tour-type-card.tour-type-style-overlay .tour-type-placeholder {
        height: 280px;
    }
    
    .roamease-tour-types-grid .tour-type-card.tour-type-style-card3 .tour-type-media,
    .roamease-countries-grid .country-card.re-country-card-2 .country-media,
    .roamease-countries-grid .country-card.re-country-card-3 .country-media,
    .destinations-slider .destination-card.dest-style-3 .destination-image,
    .destinations-slider .destination-card.dest-style-3 .destination-placeholder {
        height: 220px;
    }
}

/* Mobile image coverage fix for Destination Card 1 & 2 */
@media (max-width: 480px) {
    .destinations-slider .destination-card.dest-style-1,
    .destinations-slider .destination-card.dest-style-2,
    .destination-card.dest-style-1,
    .destination-card.dest-style-2 {
        height: 420px !important;
        min-height: 420px;
        position: relative;
    }

    .destinations-slider .destination-card.dest-style-1 .destination-image,
    .destinations-slider .destination-card.dest-style-2 .destination-image,
    .destination-card.dest-style-1 .destination-image,
    .destination-card.dest-style-2 .destination-image {
        width: 100% !important;
        height: 100% !important; /* match card height so image covers fully */
        object-fit: cover !important;
        display: block;
    }
}

/* Also enforce on tablet and when rendered outside .destinations-slider */
@media (max-width: 768px) {
    .destination-card.dest-style-1 .destination-image,
    .destination-card.dest-style-2 .destination-image {
        height: 520px !important;
    }
    .destination-card.dest-style-1 .destination-image,
    .destination-card.dest-style-2 .destination-image {
        width: 100% !important;
        object-fit: cover !important;
        display: block;
    }
}

/* Explicit fixed sizing: ensure Destination Card 1 & 2 are 360x520 and image fills */
@media (max-width: 768px) {
    .destination-card.dest-style-1,
    .destination-card.dest-style-2 {
        width: 100% !important;
        max-width: 100% !important;
        height: 520px !important;
        position: relative;
    }
    .destination-card.dest-style-1 .destination-image,
    .destination-card.dest-style-2 .destination-image {
        height: 100% !important; /* match card height */
        position: absolute;
        top: 0; left: 0; right: 0; bottom: 0;
        width: 100% !important;
        object-fit: cover !important;
    }
}

/* ============================================================
   TOURS GRID WIDGET - Fixed Card Dimensions (360px × 520px)
   ============================================================ */

/* Tours Grid - All cards fixed 520px height */
.elementor-widget-tours-grid .tours-grid .tour-card {
    height: 520px;
    min-height: 520px;
    max-height: 520px;
}

/* Card Style 1 (Hero Overlay) - 520px total height */
.elementor-widget-tours-grid .tour-card.card-style-card_1 {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    height: 520px;
}
.elementor-widget-tours-grid .tour-card.card-style-card_1 .tour-image {
    position: relative;
    height: 520px;
    border-radius: 12px;
}
.elementor-widget-tours-grid .tour-card.card-style-card_1 .tour-image img {
    height: 100% !important;
    width: 100% !important;
    object-fit: cover !important;
    border-radius: 12px;
}

/* Card Style 2 (Minimal Centered) - 520px total height, floating image design */
.elementor-widget-tours-grid .tour-card.card-style-card_2 {
    height: 520px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border: 1px solid #eaeaea;
    border-radius: 20px;
    overflow: hidden;
    background: #fff;
    padding: 12px 12px 0 12px;
}
.elementor-widget-tours-grid .tour-card.card-style-card_2 .tour-image {
    height: 240px;
    min-height: 240px;
    max-height: 240px;
    border-radius: 14px;
    overflow: hidden;
    flex-shrink: 0;
}
.elementor-widget-tours-grid .tour-card.card-style-card_2 .tour-image img {
    height: 100% !important;
    width: 100% !important;
    object-fit: cover !important;
    border-radius: 14px;
}

/* Card 2: Centered content layout */
.elementor-widget-tours-grid .tour-card.card-style-card_2 .tour-content-card2 {
    padding: 20px 12px 24px 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    flex: 1;
    text-align: center;
}

/* Card 2: Duration with clock icon - uses Elementor accent color */
.elementor-widget-tours-grid .tour-card.card-style-card_2 .tour-duration-centered {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: var(--e-global-color-accent, var(--re-primary, #d4a574));
    font-family: var(--e-global-typography-text-font-family, inherit);
    font-size: 14px;
    font-weight: 400;
    margin-bottom: 14px;
}
.elementor-widget-tours-grid .tour-card.card-style-card_2 .tour-duration-centered svg {
    color: var(--e-global-color-accent, var(--re-primary, #d4a574));
    flex-shrink: 0;
    width: 15px;
    height: 15px;
}

/* Card 2: Centered title - uses Elementor primary/heading color */
.elementor-widget-tours-grid .tour-card.card-style-card_2 .tour-title-centered {
    font-family: var(--e-global-typography-primary-font-family, var(--e-global-typography-text-font-family, inherit));
    font-size: 22px;
    font-weight: 600;
    line-height: 1.35;
    color: var(--e-global-color-primary, #1a1a2e);
    margin: 0 0 14px 0;
    text-align: center;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.elementor-widget-tours-grid .tour-card.card-style-card_2 .tour-title-centered a {
    color: inherit;
    text-decoration: none;
}
.elementor-widget-tours-grid .tour-card.card-style-card_2 .tour-title-centered a:hover {
    color: var(--e-global-color-accent, var(--re-primary, #d4a574));
}

/* Card 2: Centered excerpt - uses Elementor text color */
.elementor-widget-tours-grid .tour-card.card-style-card_2 .tour-excerpt-centered {
    color: var(--e-global-color-text, #6c757d);
    font-family: var(--e-global-typography-text-font-family, inherit);
    font-size: 15px;
    font-weight: 400;
    line-height: 1.6;
    text-align: center;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: auto;
}

/* Card 2: Centered price - uses Elementor text color */
.elementor-widget-tours-grid .tour-card.card-style-card_2 .tour-price-centered {
    position: static !important;
    top: auto !important;
    right: auto !important;
    background: transparent !important;
    border-radius: 0 !important;
    padding: 0 !important;
    text-align: center;
    margin-top: auto;
    padding-top: 16px !important;
}
.elementor-widget-tours-grid .tour-card.card-style-card_2 .tour-price-centered .price {
    font-family: var(--e-global-typography-text-font-family, inherit);
    font-size: 16px;
    font-weight: 500;
    color: var(--e-global-color-text, #6c757d) !important;
}
.elementor-widget-tours-grid .tour-card.card-style-card_2 .tour-price-centered.is-enquiry .price {
    font-style: italic;
    color: var(--e-global-color-text, #999) !important;
    opacity: 0.8;
}

/* Card 2: Hide any price overlay on image */
.elementor-widget-tours-grid .tour-card.card-style-card_2 .tour-image .tour-price {
    display: none !important;
}

/* General card_2 price override */
.tour-card.card-style-card_2 .tour-price-centered {
    position: static !important;
    top: auto !important;
    right: auto !important;
    background: transparent !important;
    border-radius: 0 !important;
    padding: 0 !important;
}
.tour-card.card-style-card_2 .tour-image .tour-price {
    display: none !important;
}

/* Card Style 3 (Reference/Modern) - 520px total height, 280px image + 240px content */
.elementor-widget-tours-grid .tour-card.card-style-card_3 {
    height: 520px;
    display: flex;
    flex-direction: column;
    border-radius: 12px;
    overflow: hidden;
}
.elementor-widget-tours-grid .tour-card.card-style-card_3 .tour-image {
    position: relative;
    height: 280px;
    min-height: 280px;
    max-height: 280px;
}
.elementor-widget-tours-grid .tour-card.card-style-card_3 .tour-image img {
    height: 100% !important;
    width: 100% !important;
    object-fit: cover !important;
}
.elementor-widget-tours-grid .tour-card.card-style-card_3 .tour-content {
    padding: 16px 20px 18px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.elementor-widget-tours-grid .tour-card.card-style-card_3 .tour-description {
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.elementor-widget-tours-grid .tour-card.card-style-card_3 .ref-footer {
    margin-top: auto;
}

/* Tours Grid - Responsive adjustments */
@media (max-width: 768px) {
    .elementor-widget-tours-grid .tours-grid .tour-card {
        height: 480px;
        min-height: 480px;
        max-height: 480px;
    }
    .elementor-widget-tours-grid .tour-card.card-style-card_1,
    .elementor-widget-tours-grid .tour-card.card-style-card_1 .tour-image {
        height: 480px;
    }
    .elementor-widget-tours-grid .tour-card.card-style-card_2 {
        height: 480px;
        padding: 10px 10px 0 10px;
    }
    .elementor-widget-tours-grid .tour-card.card-style-card_2 .tour-image {
        height: 220px;
        min-height: 220px;
        max-height: 220px;
    }
    .elementor-widget-tours-grid .tour-card.card-style-card_2 .tour-content-card2 {
        padding: 16px 10px 20px 10px;
    }
    .elementor-widget-tours-grid .tour-card.card-style-card_2 .tour-title-centered {
        font-size: 18px;
    }
    .elementor-widget-tours-grid .tour-card.card-style-card_3 {
        height: 480px;
    }
    .elementor-widget-tours-grid .tour-card.card-style-card_3 .tour-image {
        height: 240px;
        min-height: 240px;
        max-height: 240px;
    }
}

@media (max-width: 480px) {
    .elementor-widget-tours-grid .tours-grid .tour-card {
        height: auto;
        min-height: 420px;
        max-height: none;
    }
    .elementor-widget-tours-grid .tour-card.card-style-card_1,
    .elementor-widget-tours-grid .tour-card.card-style-card_1 .tour-image {
        height: 420px;
    }
    .elementor-widget-tours-grid .tour-card.card-style-card_2 {
        height: auto;
        min-height: 420px;
    }
    .elementor-widget-tours-grid .tour-card.card-style-card_2 .tour-content-card2 {
        height: auto;
        flex: 1;
        padding: 16px;
    }
    .elementor-widget-tours-grid .tour-card.card-style-card_2 .tour-title-centered {
        font-size: 16px;

    }
}

/* ============================================================
   WIDGET HEADER STYLES (Title & Description)
   Common styles for all RoamEase Elementor widgets
   ============================================================ */
.re-widget-header {
    margin-bottom: 32px;
    width: 100%;
}

.re-widget-title {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 12px 0;
    color: var(--e-global-color-primary, #083321);
    width: 100%;
}

.re-widget-description {
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
    color: #666666;
    width: 100%;
    max-width: 100%;
}

/* Enforce centered, full-width header content for RoamEase Elementor widgets */
.elementor [class*="elementor-widget-roamease-"] .re-widget-header {
    text-align: center !important;
}

.elementor [class*="elementor-widget-roamease-"] .re-widget-title,
.elementor [class*="elementor-widget-roamease-"] .re-widget-description,
.elementor [class*="elementor-widget-roamease-"] .re-widget-header [class*="overview"] {
    text-align: center;
    width: 100%;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}

/* Centered alignment inherits max-width centering */
.re-widget-header[style*="center"] .re-widget-description,
[style*="text-align: center"] .re-widget-description {
    margin-left: auto;
    margin-right: auto;
}

/* Right alignment pushes description to right */
.re-widget-header[style*="right"] .re-widget-description,
[style*="text-align: right"] .re-widget-description {
    margin-left: auto;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .re-widget-header {
        margin-bottom: 24px;
    }
    
    .re-widget-title {
        font-size: 26px;
    }
    
    .re-widget-description {
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .re-widget-title {
        font-size: 22px;
    }
    
    .re-widget-description {
        font-size: 14px;
    }
}

/* Legacy section title support */
.re-section-title {
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 24px 0;
    color: inherit;
}

    }
}

/* ============================================================
   WIDGET HEADER STYLES (Title & Description)
   Common styles for all RoamEase Elementor widgets
   ============================================================ */
.re-widget-header {
    margin-bottom: 32px;
}

.re-widget-title {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 12px 0;
    color: var(--e-global-color-primary, #083321);
}

.re-widget-description {
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
    color: #666666;
    max-width: 800px;
}

/* Centered alignment inherits max-width centering */
.re-widget-header[style*="center"] .re-widget-description,
[style*="text-align: center"] .re-widget-description {
    margin-left: auto;
    margin-right: auto;
}

/* Right alignment pushes description to right */
.re-widget-header[style*="right"] .re-widget-description,
[style*="text-align: right"] .re-widget-description {
    margin-left: auto;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .re-widget-header {
        margin-bottom: 24px;
    }
    
    .re-widget-title {
        font-size: 26px;
    }
    
    .re-widget-description {
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .re-widget-title {
        font-size: 22px;
    }
    
    .re-widget-description {
        font-size: 14px;
    }
}

/* Legacy section title support */
.re-section-title {
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 24px 0;
    color: inherit;
}
