/* ============================================================
   TOURS FILTER PAGE + BOOKING POPUP — assets/css/tours-filter.css
   FULL VERSION v10
   CHANGE v10: "Filter" label moved OUTSIDE sidebar into filter bar (left side)
   ============================================================ */

.tours-page {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}
.tours-page.tours-page--shortcode{
    min-height: 100vh;
}
/* ════════════════════════════════════
   FILTER BAR — Filter label (left) + Sort (right)
════════════════════════════════════ */
.tours-filter-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    gap: 12px;
	transition: all 0.3s ease;
}

/* .tours-filter-bar.active {
      position: fixed;
    top: 82px;
    z-index: 1;
    width: 100%;
    background: #fff;
    height: 70px;
} */

/* "Filter" label — NOW VISIBLE on desktop, left side */
.tours-filter-bar .filter-bar__label {
    display: block;
    font-size: 22px;
    font-weight: 700;
    color: #1e1e1e;
    letter-spacing: 0.2px;
    line-height: 1;
}

/* Right side of filter bar — groups sort + mobile button */
.filter-bar__right {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: auto;
}

/* Mobile filter toggle — hidden on desktop */
.btn-mobile-filter {
    display: none;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 80px;
    border: 1.5px solid #22c55e;
    background: #fff;
    color: #22c55e;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.2s, color 0.2s;
}

.btn-mobile-filter:hover {
    background: #22c55e;
    color: #fff;
}

.btn-mobile-filter svg {
    width: 18px;
    height: 18px;
}

.sort-select {
/*     width: auto; */
    padding: 12px 20px;
    border-radius: 80px;
    border: none;
    background: rgba(30, 30, 30, 0.08);
    backdrop-filter: blur(23.5px);
    color: rgba(30, 30, 30, 0.7);
    cursor: pointer;
    font-family: "Helvetica regular", Sans-serif;
    letter-spacing: 0.32px;
	line-height:105%;
    font-size: 16px;
    appearance: none;
    background-image: url("/wp-content/uploads/2023/12/arrow-down.svg");
    background-repeat: no-repeat;
    background-position: right 20px center;
    outline: none;
	padding-right: 40px;
}

.sort-select option {
    background: #ffffff;
    color: #1e1e1e;
    font-size: 16px;
}

/* Mobile overlay behind sidebar */
.sidebar-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 1199;
}

.sidebar-overlay.is-visible {
    display: block;
}

/* ════════════════════════════════════
   SIDEBAR — "Filter" heading hidden on desktop
   (it's now shown in the filter bar above)
════════════════════════════════════ */
.tours-sidebar {
    width: 300px;
    flex-shrink: 0;
    background-color: #F2F2F7;
    border-radius: 10px;
    padding: 24px 16px;
    position: sticky;
    top: 10%;
}

/* Hide the "Filter" heading text on desktop — shown in filter bar instead */
.sidebar-filter-heading {
	display: none !important;
}
.sidebar-filter-heading .sidebar-heading-text {
    display: none;
}

.sidebar-filter-heading {
    font-size: 22px;
    font-weight: 700;
    color: #1e1e1e;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 2px solid #CDCDCD;
    letter-spacing: 0.2px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    min-height: 0;
}

/* Close button — mobile only */
.sidebar-close-btn {
    display: none;
    background: none;
    border: none;
    font-size: 22px;
    cursor: pointer;
    color: #555;
    line-height: 1;
    padding: 0;
    margin-left: auto;
}

.filter-section {
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid #CDCDCD;
}

.filter-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.filter-section .filter-section__title,
.collapsible-section .filter-section__title {
    font-size: 18px !important;
    font-family: "Arial regular", Sans-serif;
    color: #1e1e1e;
    margin: 0 0 16px;
}

.filter-section__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    user-select: none;
    margin-bottom: 16px;
}

.filter-section__header .filter-section__title {
    margin-bottom: 0;
}

.filter-section__header .chevron {
    font-size: 0.72rem;
    color: #1e1e1e;
    transition: transform 0.3s ease;
}

.filter-section__header.is-collapsed .chevron {
    transform: rotate(-90deg);
}

.filter-collapsible {
    overflow: hidden;
    max-height: 600px;
    opacity: 1;
    transition: max-height 0.3s ease, opacity 0.25s ease;
}

.filter-collapsible.is-closed {
    max-height: 0 !important;
    opacity: 0;
}

/* ── States ── */
.filter-section--states {
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid #CDCDCD;
}

.tours-sidebar .state-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}

.tours-sidebar .state-tabs .state-tab {
    font-size: 16px;
    outline: none;
    padding: 8px 16px;
    background-color: #fff;
    color: rgba(20, 20, 20, 0.6);
    border: 1px solid #fff;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.18s;
    white-space: nowrap;
    border-radius: 70px;
}

.tours-sidebar .state-tabs .state-tab:hover,
.tours-sidebar .state-tabs .state-tab.active {
    background-color: #20C210;
    color: #FEFEFE;
    border: 1px solid #20C210;
}

/* ── Tour Categories ── */
.cat-checkbox-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cat-check-item {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 16px;
    color: #1e1e1e;
    user-select: none;
}

.cat-check-item input[type="checkbox"] {
    display: none;
}

.check-circle {
    width: 16px;
    height: 16px;
    border-radius: 4px;
    border: 1px solid rgba(135, 135, 135, 0.9);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, border-color 0.2s;
    position: relative;

}

.cat-check-item input[type="checkbox"]:checked~.check-circle {
    background: #22c55e;
    border: 1px solid #22c55e;
}

.cat-check-item input[type="checkbox"]:checked~.check-circle::after {
    content: '';
    width: 5px;
    height: 9px;
    border: 2px solid #fff;
    border-top: none;
    border-left: none;
    transform: rotate(45deg) translate(-1px, -1px);
    position: absolute;
}

/* ── Duration ── */
.duration-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.duration-item {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-family: "Helvetica regular", Sans-serif;
    color: rgba(30, 30, 30, 0.6);
    letter-spacing: 0.32px;
    user-select: none;
}

.duration-item input[type="checkbox"] {
    display: none;
}

.check-box {
    width: 16px;
    height: 16px;
    border-radius: 4px;
    border: 1px solid rgba(135, 135, 135, 0.9);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, border-color 0.2s;
    position: relative;
}

.duration-item input[type="checkbox"]:checked~.check-box {
    background: #22c55e;
    border-color: #22c55e;
}

.duration-item input[type="checkbox"]:checked~.check-box::after {
    content: '✓';
    color: #fff;
    font-size: 10px;
    line-height: 1;
    position: absolute;
}

.duration-label {
    flex: 1;
}

.duration-count {
    margin-left: auto;
    font-family: "Helvetica regular", Sans-serif;
    color: rgba(30, 30, 30, 0.6);
    letter-spacing: 0.32px;
    min-width: 20px;
    text-align: center;
}

/* Apply button — mobile only, shown via responsive CSS */
.btn-apply-filter {
    display: none;
    width: 100%;
    background: #22c55e;
    color: #fff;
    border: none;
    border-radius: 40px;
    padding: 14px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 24px;
    font-family: inherit;
    transition: background 0.2s;
    letter-spacing: 0.3px;
}

.btn-apply-filter:hover {
    background: #16a34a;
}
.duration-item.is-disabled {
    opacity: 0.4;
    /* pointer-events: none; */
    cursor: not-allowed;
}

/* Allow clicking disabled items to give visual feedback
   (they won't actually check since input is disabled) */
.duration-item.is-disabled label,
.duration-item.is-disabled .check-box {
    cursor: not-allowed;
}

/* ── Price Slider ── */
.dual-range-wrap {
    position: relative;
    height: 22px;
    display: flex;
    align-items: center;
    --track-left: 0%;
    --track-right: 0%;
}

.price-slider {
    position: absolute;
    width: 100%;
    height: 16px;
    background: transparent;
    outline: none;
    pointer-events: none;
    -webkit-appearance: none;
    appearance: none;
}

.dual-range-wrap::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    height: 16px;
    background: #e5e7eb;
    border-radius: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 0;
}

.dual-range-wrap::after {
    content: "";
    position: absolute;
    left: var(--track-left);
    right: var(--track-right);
    height: 16px;
    background: #22c55e;
    border-radius: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
}

.price-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #ffffff;
    cursor: pointer;
    pointer-events: all;
    position: relative;
    z-index: 3;
}

.price-slider::-moz-range-thumb {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #ffffff;
    cursor: pointer;
    pointer-events: all;
}

.price-slider::-webkit-slider-runnable-track {
    height: 16px;
    background: transparent;
}

.price-slider::-moz-range-track {
    height: 16px;
    background: transparent;
}

.price-slider--min,
.price-slider--max {
    z-index: 2;
}

.price-labels {
    font-family: "Helvetica regular", Sans-serif;
    color: #878787;
    letter-spacing: 0.32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 16px;
}

/* ════════════════════════════════════
   CONTENT
════════════════════════════════════ */
.tours-content {
    flex: 1;
    min-width: 0;
}

.city-tabs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

.city-tab {
    padding: 8px 16px !important;
    border-radius: 70px !important;
    font-size: 16px !important;
    cursor: pointer;
    border: 1px solid #BEBEBE !important;
    background: transparent !important;
    color: #BEBEBE !important;
}

.city-tab.active {
	border: 1px solid #20C210 !important;
    background: #20C210 !important;
    color: #fff !important;
}

.city-tab:hover {
    border: 1px solid #20C210 !important;
    background: #20C210 !important;
    color: #fff !important;
}

/* ════════════════════════════════════
   TOUR CARD
════════════════════════════════════ */
.tour-cards-wrap {
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: relative;
    min-height: 120px;
}

.tour-card {
    border-radius: 20px;
    padding: 14px;
    background-color: #F5F5F5;
    display: flex;
    gap: 40px;
	width:100%;
    overflow: hidden;
}

.tour-card__img-wrap {
    position: relative;
    width: 300px;
    height: 250px;
    flex-shrink: 0;
}

.tour-card__img-wrap img {
    width: 100%;
    height: 100% !important;
    object-fit: cover;
    object-position: center;
    display: block;
    border-radius: 16px !important;
}

.tour-card__day-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: #FEFEFE;
    border-radius: 80px;
    padding: 10px 24px;
    font-size: 14px;
    font-weight: 400;
    color: #141414;
}

.tour-card__body {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.tour-card__title {
    color: #1e1e1e;
    margin-bottom: 16px;
}

.tour-card__title a {
    color: inherit;
    text-decoration: none;
}

.tour-card__title a:hover {
    color: #22c55e;
}

.tour-card__features {
    list-style: none;
    padding: 0;
    margin: 0 0 16px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 12px;
}

.tour-card__feature {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;

    overflow: hidden;
    font-size: 14px;
    color: #505050;
}

.tour-card__feature {
    position: relative;
    padding-left: 30px; /* space for icon */
}

.tour-card__feature img {
    display: none; /* hide original img */
}

.tour-card__feature::before {
    content: "";
    position: absolute;
    left: 2px;
    width: 20px;
    height: 20px;
    background-image: url('/wp-content/uploads/2026/03/done_shaped_icon.svg');
    background-size: contain;
    background-repeat: no-repeat;
}

/* .tour-card__feature {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    color: #505050;
}

.tour-card__feature svg {
    width: 20px;
    height: 20px;
    color: #22c55e;
    flex-shrink: 0;
    margin-top: 1px;
} */

.tour-card__price-row {
    display: flex;
    gap: 8px;
    align-items: flex-end;
}

.tour-card__price-label {
    font-family: "Helvetica regular", Sans-serif;
    font-size: 18px;
    color: #505050;
}

.tour-card__price-amount {
    color: #0F71DD;
}

.tour-card__price-per {
    font-family: "Helvetica regular", Sans-serif;
    font-size: 18px;
    color: #505050;
}

.tours-price-na {
    font-size: 0.9rem;
    color: #888;
    font-style: italic;
}

.tour-card__actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    justify-content: center;
}

a.btn-details {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 70px;
    background-color: #20C210;
    color: #fff;
    font-size: 14px !important;
    border: 1px solid #20C210;
    cursor: pointer;
    text-align: center;
    transition: background-color 0.2s;
    text-decoration: none;
}
.tour-card__actions a {
    height: fit-content;
}
 
.btn-book {
    height: fit-content;
}
.btn-details:hover {
    background-color: transparent;
    color: #20C210;
}

.btn-book {
    display: inline-block;	
    background-color: transparent !important;
    color: #22c55e !important;
    font-size: 14px !important;
    border: 1px solid #22c55e !important;
    cursor: pointer;
    text-align: center;
    transition: background 0.2s, color 0.2s;
    font-family: inherit;
    padding: 12px 24px;
    border-radius: 70px;
}

/* ════════════════════════════════════
   AJAX SPINNER
════════════════════════════════════ */
/* Main container */
.tour-cards-wrap {
    position: relative;
    min-height: 200px; 
    display: flex;
    align-items: center;
    justify-content: center;
}

/* When loading */
.tour-cards-wrap.is-loading {
    pointer-events: none;
    opacity: 0.6;
}

/* Loader */
.tours-loader {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    color: #888;
    font-size: 0.9rem;
    text-align: center;
}

/* Spinner */
.tours-spinner {
    width: 44px;
    height: 44px;
    border: 4px solid #e5e7eb;
    border-top-color: #22c55e;
    border-radius: 50%;
    animation: tours-spin 0.75s linear infinite;
}

/* Spinner animation */
@keyframes tours-spin {
    to {
        transform: rotate(360deg);
    }
}

/* No results */
.tours-no-results {
    text-align: center;
    color: #505050;
    background: #fff;
    border-radius: 14px;
}

/* ════════════════════════════════════
   PAGINATION
════════════════════════════════════ */
.tours-pagination:not(:empty) {
 	display: block;
    margin-top: 40px;
    min-height: 0;
}

.tours-pagination-inner {
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
    margin: 0;
    flex-wrap: wrap;
}

.page-btn {
	padding: 10px 16px !important;
    border-radius: 20px !important;
    border: 1px solid #D9D9D9 !important;
    background-color: transparent !important;
    cursor: pointer;
    font-size: 14px !important;
    color: #121212 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
    font-family: inherit;
}

.page-btn.active {
    background-color: #20C210 !important;
    border-color: #20C210 !important;
    color: #fff !important;
}

.page-btn:hover:not(.active):not(:disabled) {
    border-color: #22c55e;
    color: #22c55e;
}

.page-btn--dots {
    cursor: default;
    border-color: transparent;
    background: transparent;
    color: #888;
    font-size: 1rem;
    letter-spacing: 2px;
}

.page-btn--prev,
.page-btn--next {
    font-size: 1.1rem;
    color: #555;
    font-weight: 400;
}
body.popup-open {
    overflow: hidden;
}

/* ════════════════════════════════════
   BOOKING POPUP
════════════════════════════════════ */
.booking-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 9998;
}

.booking-popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.96);
    width: 100%;
    max-width: 440px;
    max-height: 90vh;
    overflow-y: auto;
    background: #FEFEFE;
    border-radius: 10px;
    padding: 30px;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.2s ease, transform 0.2s ease;
    box-shadow: 0 5px 15px 0 rgba(0, 0, 0, 0.07) !important;
}

.booking-popup.is-open {
    display: block;
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.booking-popup {
    overflow-y: auto;
    
    /* Hide scrollbar - Chrome, Safari */
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE & Edge */
}

.booking-popup::-webkit-scrollbar {
    display: none; /* Chrome, Safari */
}

.booking-popup__close {
    position: absolute;
    top: 20px;
    right: 20px;
    border: none;
    border-radius: 20px !important;
    padding: 4px 12px !important;
    font-size: 22px !important;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.booking-popup__close:hover {
    background-color: #e53935;
}

.booking-popup__product-title {
    margin: 0 0 12px;
	width: 80%;
}

.booking-popup__price-header {
    font-size: 14px;
    color: #505050;
    margin-bottom: 16px;
}

.popup-price-amount {
    font-size: 22px;
    color: #0F71DD;
    margin: 0 4px;
	font-weight: 700;
}

.popup-price-per {
    font-size: 14px;
    color: #505050;
}

.booking-field {
    margin-bottom: 16px;
    position: relative;
}

.booking-label {
    display: block;
    color: #878787;
    margin-bottom: 8px;
}

.booking-label .req {
    color: #878787;
}

.booking-field-error {
    display: none;
    font-size: 12px;
    color: #e53935;
    margin-top: 5px;
    padding: 4px 8px;
    background: #fff5f5;
    border-left: 3px solid #e53935;
    border-radius: 0 4px 4px 0;
}

.booking-field-error.is-visible {
    display: block;
}

.booking-input.has-error {
    border-color: #e53935 !important;
    background: #fff5f5;
}

.date-input-wrap {
    width: 100%;
    position: relative;
}

.booking-input {
    width: 100% !important;
    height: 52px;
    padding: 14px;
    padding-right: 40px; /* space for the icon */
    font-size: 14px;
    color: #141414;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #F6F6F6 !important;
    outline: none;
    box-sizing: border-box;
	-webkit-appearance: none;
  	appearance: none;
}

input[type="date"] {
  width: 100%;
  display: block;
  -webkit-appearance: none;
  appearance: none;
}

/* .booking-input[type="date"]::-webkit-calendar-picker-indicator {
    opacity: 0;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: auto;
    height: auto;
    cursor: pointer;
    z-index: 2;
} */

/* REPLACE with: */
.booking-input[type="date"]::-webkit-calendar-picker-indicator {
    opacity: 0;
    position: absolute;
    right: 0;
    top: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
    z-index: 1;
}

.date-icon {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
/* 	pointer-events: all; CHANGE: allow clicks on icon */
    pointer-events: none;
	cursor:pointer;
    font-size: 16px;
	z-index: 1;
}

.booking-field--row {
    display: flex;
    gap: 12px;
}

.booking-field__half {
    flex: 1;
}

.qty-input-wrap {
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #fafafa;
    transition: border-color 0.2s;
    position: relative;
    overflow: hidden;
}

.qty-input-wrap:focus-within {
    border-color: #22c55e;
}

.qty-input {
    flex: 1;
    border: none !important;
    border-radius: 0 !important;
    padding: 11px 14px !important;
    font-size: 14px;
    font-weight: 400;
    color: #333;
    background: transparent;
    outline: none;
    min-width: 0;
    box-sizing: border-box;
    cursor: pointer;
    -moz-appearance: textfield;
    appearance: textfield;
}

input[type="number"].qty-input::-webkit-outer-spin-button,
input[type="number"].qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.qty-input-wrap::after {
    content: "▾";
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
    color: #888;
    pointer-events: none;
    line-height: 1;
}

.qty-btn {
    display: none;
}

.adventure-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 4px;
}

.adventure-option-btn {
     padding: 12px 14px !important;
    border: 1px solid #BEBEBE !important;
    background-color: transparent !important;
    font-size: 14px !important;
    color: #BEBEBE !important;
    cursor: pointer;
    transition: all 0.18s;
    font-family: inherit;
}

.adventure-option-btn:hover {
    border-color: #22c55e;
    color: #16a34a;
    background: #f0fdf4;
}

.adventure-option-btn.active {
    border: 1px solid #20C210 !important;
    background-color: transparent !important;
    color: #20C210 !important;
}

.addon-price-info {
    display: flex;
    gap: 16px;
    margin-top: 8px;
    padding: 8px 12px;
    background: #f0faf0;
    border-radius: 6px;
    font-size: 0.82rem;
    color: #333;
    border: 1px solid #d4edda;
}

.addon-price-info strong {
    color: #2e7d32;
    font-weight: 700;
}

.booking-total-row {
    margin: 20px 0 0px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.btn-total-amount {
    width: 100%;
    background-color: #22c55e;
    color: #fff;
    border: 1px solid #20C210;
    border-radius: 40px;
    padding: 14px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    letter-spacing: 0.3px;
    font-family: inherit;
}

.btn-total-amount:hover {
    background-color: transparent;
    color: #20C210;
	border: 1px solid #20C210 !important;
}

.booking-total-amount {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f4fdf5;
    border: 1px solid #d4edda;
    border-radius: 8px;
    padding: 10px 14px;
}

.total-label {
    font-size: 14px;
    color: #555;
    font-weight: 500;
}

.total-value {
    font-size: 17px;
    color: #22c55e;
    font-weight: 700;
}

.btn-proceed-checkout {
    display: block;
    width: 100%;
    background-color: #20C210;
    color: #fff;
    text-align: center;
    border-radius: 8px;
    padding: 13px;
    font-size: 15px;
    font-weight: 600;
    margin-top: 20px;
    transition: background 0.2s;
    box-sizing: border-box;
    cursor: pointer;
    border: 1px solid #20C210 !important;
    font-family: inherit;
    text-decoration: none;
}

.btn-proceed-checkout:hover {
    background-color: transparent;
    color: #20C210;
	border: 1px solid #20C210 !important;
}

.booking-share {
    margin-top: 4px;
	display: none;
}

.booking-share__label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #555;
    margin-bottom: 10px;
}

.booking-share__icons {
    display: flex;
    gap: 10px;
}

.share-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    transition: opacity 0.2s;
}

.share-icon:hover {
    opacity: 0.85;
}

.share-icon svg {
    width: 18px;
    height: 18px;
}

.share-fb {
    background: #1877f2;
}

.share-mail {
    background: #ea4335;
}

.share-wa {
    background: #25d366;
}

.booking-popup::-webkit-scrollbar {
    width: 4px;
}

.booking-popup::-webkit-scrollbar-thumb {
    background: #ddd;
    border-radius: 4px;
}

/* ════════════════════════════════════
   BOOKING POPUP — Number inputs
   (replaces qty-input-wrap / qty-btn)
   Add these rules to tours-filter.css
════════════════════════════════════ */

/* Wrapper — same visual as old qty-input-wrap */
.popup-num-wrap {
    position: relative;
    display: block;
}

/* The number input itself */
.popup-num-input {
    width: 100%;
	height: 49px;
    padding: 14px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #F6F6F6;
    font-size: 14px;
    color: #141414;
    font-family: inherit;
    outline: none;
    box-sizing: border-box;
    cursor: text;
    transition: border-color 0.2s;
    -moz-appearance: textfield;
    appearance: textfield;
}

/* Hide native spinners */
.popup-num-input::-webkit-outer-spin-button,
.popup-num-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.popup-num-input.has-error {
    border-color: #e53935 !important;
    background: #fff5f5 !important;
}

/* Dropdown-style chevron */
.popup-num-arrow {
    position: absolute;
    right: 13px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: #aaa;
    display: flex;
    align-items: center;
}

.popup-num-arrow svg {
    width: 12px;
    height: 8px;
}

/* Hide old qty buttons — safety rule */
.qty-btn { display: none !important; }

/* ══════════════════════════════════════════════════════════════
   Booking popup: Adults & Children dropdown + "More…" number input
══════════════════════════════════════════════════════════════ */

/* Dropdown styled to match existing popup inputs */
.popup-num-select {
    width: 100%;
	height: 49px;
    padding: 14px;  
	border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #F6F6F6;
    font-size: 14px;
    color: #141414;
    font-family: inherit;
    outline: none;
    box-sizing: border-box;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    transition: border-color 0.2s;
}

/* The existing .popup-num-arrow already floats over — just make sure
   it doesn't intercept pointer events so clicks reach the <select> */
.popup-num-wrap .popup-num-arrow {
    pointer-events: none;
}

/* "More…" number input + back-arrow wrapper */
.popup-num-more-wrap {
    display: flex;
    align-items: stretch;
    gap: 0;
}

.popup-num-more-wrap .popup-num-input {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border-right: none;
    flex: 1;
}

.popup-num-wrap {
    position: relative;
}

/* Back arrow button */
.popup-back-btn {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    padding: 0 !important;
    background-color: transparent !important;
    color: #141414 !important;
    border: none;
    width: auto;
    height: auto;
    font-size: 1.1rem;
    cursor: pointer;
    line-height: 1;
}

select.popup-num-select:focus,
.tbf-num-select:focus {
    border-color: #ddd;
}

input.popup-num-input:focus,
.popup-num-input:focus {
    border-color: #ddd;
}

/* Tour category: checked but no results with current secondary filters */
.cat-check-item.is-cat-checked-disabled {
    opacity: 0.45;
    cursor: pointer !important; /* still clickable to uncheck */
    pointer-events: none !important;
}
 
.cat-check-item.is-cat-checked-disabled .check-circle {
    background: #22c55e;
    border-color: #22c55e;
    opacity: 0.6;
}
 
.cat-check-item.is-cat-checked-disabled .check-circle::after {
    content: '';
    width: 5px;
    height: 9px;
    border: 2px solid #fff;
    border-top: none;
    border-left: none;
    transform: rotate(45deg) translate(-1px, -1px);
    position: absolute;
}
 
/* Duration item: checked but has 0 count in current scope */
.duration-item.is-checked-disabled {
    opacity: 0.45;
    /* pointer-events: none; */
    cursor: not-allowed;
}
 
.duration-item.is-checked-disabled .check-box {
    background: #22c55e;
    border-color: #22c55e;
    opacity: 0.6;
}
 
.duration-item.is-checked-disabled .check-box::after {
    content: '✓';
    color: #fff;
    font-size: 10px;
    line-height: 1;
    position: absolute;
}
 
.duration-item.is-checked-disabled .duration-count {
    color: rgba(30, 30, 30, 0.35);
}
 
/*-------------------*/

.tour-filter-section {
	scroll-margin-top: 100px;
}

.tours-content {
	position: relative;
}

.tours-loader-overlay {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	background: rgb(255 255 255 / 74%);
	z-index: 20;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.2s ease;
}

.tours-content.is-loading .tours-loader-overlay {
	opacity: 1;
	pointer-events: all;
}
