*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ─── THEME VARIABLES — light (default) + dark overrides ─── */
:root {
  --bg:            #f4f4f4;
  --bg-body:       #ffffff;
  --bg-card:       #ffffff;
  --bg-soft:       #fafafa;
  --bg-elevated:   #f4f4f4;
  --bg-brand-soft: #fff8f0;
  --bg-brand-tint: #fff3e8;

  --text:          #333333;
  --text-strong:   #1a1a1a;
  --text-muted:    #666666;
  --text-dim:      #999999;

  --border:        #e8e8e8;
  --border-light:  #f0f0f0;
  --border-brand:  #ffe3c8;

  --shadow-sm:     rgba(0,0,0,0.06);
  --shadow-md:     rgba(0,0,0,0.10);
  --shadow-lg:     rgba(0,0,0,0.18);
  --overlay:       rgba(0,0,0,0.5);

  /* Brand orange stays constant across both themes */
  --brand:         #e87722;
  --brand-hover:   #cf6510;
}
:root[data-theme="dark"] {
  --bg:            #0e131c;
  --bg-body:       #131a26;
  --bg-card:       #1b2434;
  --bg-soft:       #171f2e;
  --bg-elevated:   #23304a;
  --bg-brand-soft: #2b2115;
  --bg-brand-tint: #3a2818;

  --text:          #e6ebf4;
  --text-strong:   #ffffff;
  --text-muted:    #a6b0c0;
  --text-dim:      #7c8798;

  --border:        #2b3547;
  --border-light:  #242e40;
  --border-brand:  #4a2f18;

  --shadow-sm:     rgba(0,0,0,0.4);
  --shadow-md:     rgba(0,0,0,0.55);
  --shadow-lg:     rgba(0,0,0,0.7);
  --overlay:       rgba(0,0,0,0.7);

  --brand:         #ff8c3d;
  --brand-hover:   #ffa15f;
}

body {
  font-family: 'Segoe UI', Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  transition: background 0.25s ease, color 0.25s ease;
}

/* ─── DARK-MODE surface overrides — flip common light surfaces to dark ─── */
:root[data-theme="dark"] .header,
:root[data-theme="dark"] .footer,
:root[data-theme="dark"] .feat-card,
:root[data-theme="dark"] .tour-list-card,
:root[data-theme="dark"] .tours-filter-bar,
:root[data-theme="dark"] .sidebar,
:root[data-theme="dark"] .calc-card,
:root[data-theme="dark"] .search-form-panel,
:root[data-theme="dark"] .search-full-panel,
:root[data-theme="dark"] .search-results-table-wrap,
:root[data-theme="dark"] .booking-card,
:root[data-theme="dark"] .contact-info-block,
:root[data-theme="dark"] .contact-form,
:root[data-theme="dark"] .rate-hotel-section,
:root[data-theme="dark"] .review-card,
:root[data-theme="dark"] .cms-content,
:root[data-theme="dark"] .country-info-tabs,
:root[data-theme="dark"] .ci-tab.active,
:root[data-theme="dark"] .visa-country-card,
:root[data-theme="dark"] .visa-detail,
:root[data-theme="dark"] .transfer-form,
:root[data-theme="dark"] .agency-benefit,
:root[data-theme="dark"] .country-card,
:root[data-theme="dark"] .agencies-body,
:root[data-theme="dark"] .agencies-empty,
:root[data-theme="dark"] .categories-inner .cat-item,
:root[data-theme="dark"] .cat-item,
:root[data-theme="dark"] .currency-widget,
:root[data-theme="dark"] .calendar-widget,
:root[data-theme="dark"] .inner-tours-widget,
:root[data-theme="dark"] .tours-widget,
:root[data-theme="dark"] .hdr-drop-menu,
:root[data-theme="dark"] .empty-state {
  background: var(--bg-card);
  border-color: var(--border);
  color: var(--text);
}
:root[data-theme="dark"] .header-inner .phone,
:root[data-theme="dark"] .nav-link,
:root[data-theme="dark"] .dropdown-menu a,
:root[data-theme="dark"] .feat-title,
:root[data-theme="dark"] .tlc-title,
:root[data-theme="dark"] .tour-title,
:root[data-theme="dark"] h1, :root[data-theme="dark"] h2, :root[data-theme="dark"] h3, :root[data-theme="dark"] h4, :root[data-theme="dark"] h5 {
  color: var(--text-strong);
}
:root[data-theme="dark"] p, :root[data-theme="dark"] li { color: var(--text); }
:root[data-theme="dark"] .feat-details, :root[data-theme="dark"] .tlc-meta, :root[data-theme="dark"] .tlc-desc,
:root[data-theme="dark"] .calc-head-lead, :root[data-theme="dark"] .calc-result-empty,
:root[data-theme="dark"] .calc-result-label, :root[data-theme="dark"] .calc-result-avg,
:root[data-theme="dark"] .tlc-side, :root[data-theme="dark"] .filter-range-hint, :root[data-theme="dark"] .tfb-range-hint,
:root[data-theme="dark"] .footer-tagline, :root[data-theme="dark"] .footer-links a,
:root[data-theme="dark"] .footer-contact li, :root[data-theme="dark"] .footer-bottom p { color: var(--text-muted); }
:root[data-theme="dark"] input[type="text"], :root[data-theme="dark"] input[type="tel"],
:root[data-theme="dark"] input[type="email"], :root[data-theme="dark"] input[type="number"],
:root[data-theme="dark"] input[type="date"], :root[data-theme="dark"] input[type="password"],
:root[data-theme="dark"] textarea, :root[data-theme="dark"] select,
:root[data-theme="dark"] .filter-input, :root[data-theme="dark"] .filter-select, :root[data-theme="dark"] .calc-input,
:root[data-theme="dark"] .tdp-input, :root[data-theme="dark"] .search-input, :root[data-theme="dark"] .search-select {
  background: var(--bg-elevated);
  border-color: var(--border);
  color: var(--text);
}
:root[data-theme="dark"] .tdp-pop {
  background: var(--bg-card);
  border-color: var(--border);
  color: var(--text);
}
:root[data-theme="dark"] .tdp-day { color: var(--text); }
:root[data-theme="dark"] .tdp-day.tdp-empty { background: transparent; }
:root[data-theme="dark"] .tfb-head { background: var(--bg-brand-soft); border-color: var(--border-brand); }
:root[data-theme="dark"] .sf-top-grid, :root[data-theme="dark"] .sf-mid-grid, :root[data-theme="dark"] .sf-bottom-row { background: var(--bg-brand-soft); }
:root[data-theme="dark"] .sf-check-block, :root[data-theme="dark"] .filter-check-list, :root[data-theme="dark"] .tfb-check-list { background: var(--bg-soft); border-color: var(--border); }
:root[data-theme="dark"] .cat-icon { background: var(--bg-brand-tint); }
:root[data-theme="dark"] .search-results-table th { background: var(--bg-soft); color: var(--text-dim); border-color: var(--border); }
:root[data-theme="dark"] .search-results-table td { border-color: var(--border-light); color: var(--text); }
:root[data-theme="dark"] .search-results-table tbody tr:hover { background: var(--bg-brand-soft); }
:root[data-theme="dark"] .footer { background: #06090f; border-top-color: var(--border); }
:root[data-theme="dark"] .booking-price-amount, :root[data-theme="dark"] .calc-result-range,
:root[data-theme="dark"] .feat-price, :root[data-theme="dark"] .cat-icon i { color: var(--brand); }
:root[data-theme="dark"] .ci-body, :root[data-theme="dark"] .visa-body { color: var(--text); }
:root[data-theme="dark"] .categories { background: var(--bg); }
:root[data-theme="dark"] .bottom-section, :root[data-theme="dark"] .center-column, :root[data-theme="dark"] .right-column { background: transparent; }
:root[data-theme="dark"] .inner-tour-card { background: var(--bg-card); border-color: var(--border); color: var(--text); }
:root[data-theme="dark"] .inner-tour-title { color: var(--text-strong); }

/* Dark mode — homepage carousel + inline section orange bars (tone them down so they don't
   scream against the dark surface) */
:root[data-theme="dark"] .tours-widget-header,
:root[data-theme="dark"] .inline-section-header,
:root[data-theme="dark"] .currency-header {
  background: linear-gradient(135deg, #7a3d10, #9c4d13);
  color: #ffe4cc;
  border-bottom: 1px solid var(--border);
}
:root[data-theme="dark"] .inline-section { background: var(--bg-card); border-color: var(--border); }
:root[data-theme="dark"] .inline-section--gray { background: var(--bg-soft); }
:root[data-theme="dark"] .inline-tours-grid .feat-card { border-color: var(--border); background: var(--bg-elevated); }
:root[data-theme="dark"] .currency-row { color: var(--text); border-color: var(--border-light); }
:root[data-theme="dark"] .currency-calendar { background: var(--bg-soft); color: var(--text); }
:root[data-theme="dark"] .cal-day { color: var(--text); }
:root[data-theme="dark"] .cal-days-header { color: var(--text-dim); }
:root[data-theme="dark"] .inner-tour-card:hover { background: var(--bg-brand-soft); }
:root[data-theme="dark"] .inner-tour-title { color: var(--text-strong); }

/* Dark mode — search bar (hero) fixes: white input pills against dark hero look wrong;
   flip inputs to dark-glass so they match the site's dark surface. Labels stay orange. */
:root[data-theme="dark"] .search-field { background: rgba(19,26,38,0.85); border-color: rgba(255,255,255,0.14); }
:root[data-theme="dark"] .search-field:hover { background: rgba(29,38,54,0.9); }
:root[data-theme="dark"] .search-select, :root[data-theme="dark"] .search-input { color: var(--text); background: transparent; }
:root[data-theme="dark"] .search-select option { background: var(--bg-card); color: var(--text); }

/* Dark mode — checkboxes / radios: accent + optional visible border on the box */
:root[data-theme="dark"] input[type="checkbox"], :root[data-theme="dark"] input[type="radio"] { accent-color: var(--brand); }

/* Dark mode — dropdown menus + option lists */
:root[data-theme="dark"] .hdr-drop-menu { background: var(--bg-card); border-color: var(--border); box-shadow: 0 8px 24px rgba(0,0,0,0.6); }
:root[data-theme="dark"] .hdr-drop-menu a { color: var(--text); }
:root[data-theme="dark"] .hdr-drop-menu a:hover, :root[data-theme="dark"] .hdr-drop-menu a.active { background: var(--bg-brand-soft); color: var(--brand); }
:root[data-theme="dark"] .hdr-drop-btn { background: var(--bg-elevated); border-color: var(--border); color: var(--text); }
:root[data-theme="dark"] .hdr-drop-btn:hover { background: var(--bg-brand-soft); border-color: var(--brand); color: var(--brand); }
:root[data-theme="dark"] .dropdown-menu { background: var(--bg-card); border-color: var(--border); box-shadow: 0 8px 24px rgba(0,0,0,0.6); }
:root[data-theme="dark"] .dropdown-menu a { color: var(--text); }
:root[data-theme="dark"] .dropdown-menu a:hover { background: var(--bg-brand-soft); color: var(--brand); }
:root[data-theme="dark"] .header-inner .phone { color: var(--text-muted); }
:root[data-theme="dark"] .nav-link:hover, :root[data-theme="dark"] .nav-link.active { color: var(--brand); }

/* Dark mode — booking sidebar + tour info blocks */
:root[data-theme="dark"] .trip-info-item { background: var(--bg-elevated); border-color: var(--border); }
:root[data-theme="dark"] .trip-item-label { color: var(--text-dim); }
:root[data-theme="dark"] .trip-item-value { color: var(--text); }
:root[data-theme="dark"] .highlight-item { color: var(--text); }
:root[data-theme="dark"] .included-list li { color: var(--text); }
:root[data-theme="dark"] .plan-day { border-color: var(--border); }
:root[data-theme="dark"] .plan-day-title { color: var(--text-strong); }
:root[data-theme="dark"] .plan-day-desc { color: var(--text-muted); }
:root[data-theme="dark"] .faq-question { background: var(--bg-elevated); color: var(--text); border-color: var(--border); }
:root[data-theme="dark"] .faq-answer { background: var(--bg-soft); color: var(--text); border-color: var(--border); }

/* Dark mode — hotel + tour meta line, page-hero pattern (page-hero itself stays branded) */
:root[data-theme="dark"] .tour-meta span, :root[data-theme="dark"] .tour-breadcrumb, :root[data-theme="dark"] .tour-breadcrumb a { color: var(--text-muted); }
:root[data-theme="dark"] .tour-breadcrumb a:hover { color: var(--brand); }
:root[data-theme="dark"] .tour-description { color: var(--text); }
:root[data-theme="dark"] .hotel-info-lead { color: var(--text-muted); }
:root[data-theme="dark"] .hotel-info-contacts li { color: var(--text); }
:root[data-theme="dark"] .hotel-room-item { background: var(--bg-brand-soft); border-color: var(--border-brand); }
:root[data-theme="dark"] .hotel-room-name { color: var(--text); }

/* Dark mode — form-field grouping, filter-check-item */
:root[data-theme="dark"] .filter-check-item { color: var(--text); }
:root[data-theme="dark"] .filter-check-item:hover, :root[data-theme="dark"] .sf-check-item:hover { background: var(--bg-brand-soft); }
:root[data-theme="dark"] .filter-check-item--standalone { background: transparent; }
:root[data-theme="dark"] .sf-check-item { color: var(--text); border-color: var(--border-light); }
:root[data-theme="dark"] .filter-label, :root[data-theme="dark"] .tfb-label, :root[data-theme="dark"] .sf-label, :root[data-theme="dark"] .calc-label { color: var(--brand); }
:root[data-theme="dark"] .filter-all-toggle, :root[data-theme="dark"] .sf-check-all { color: var(--text-dim); }
:root[data-theme="dark"] .sf-sub-head { color: var(--text-dim); border-color: var(--border-light); }
:root[data-theme="dark"] .tfb-toggle:hover { background: rgba(255,140,61,0.14); }

/* Dark mode — transfer form + agencies */
:root[data-theme="dark"] .transfer-radio-card, :root[data-theme="dark"] .transfer-car-card, :root[data-theme="dark"] .transfer-extra-card {
  background: var(--bg-elevated); border-color: var(--border); color: var(--text);
}
:root[data-theme="dark"] .transfer-radio-card:has(input:checked),
:root[data-theme="dark"] .transfer-car-card:has(input:checked) { background: var(--bg-brand-soft); border-color: var(--brand); }
:root[data-theme="dark"] .transfer-extra-card:has(input:checked) { background: rgba(22,163,74,0.12); border-color: #22c55e; }
:root[data-theme="dark"] .transfer-radio-chip { background: var(--bg-elevated); border-color: var(--border); color: var(--text); }
:root[data-theme="dark"] .transfer-radio-chip:has(input:checked) { background: var(--bg-brand-tint); border-color: var(--brand); color: var(--brand); }
:root[data-theme="dark"] .transfer-section-title { color: var(--brand); border-color: var(--border-brand); }
:root[data-theme="dark"] .transfer-sub-hint { color: var(--text-dim); }
:root[data-theme="dark"] .transfer-submit-row { background: var(--bg-brand-soft); border-color: var(--border-brand); }
:root[data-theme="dark"] .transfer-total-label { color: var(--text-dim); }

/* Dark mode — visa/country cards + tabs */
:root[data-theme="dark"] .visa-country-card { color: var(--text); }
:root[data-theme="dark"] .visa-country-card:hover, :root[data-theme="dark"] .visa-country-card.active { background: var(--bg-brand-soft); border-color: var(--brand); }
:root[data-theme="dark"] .ci-tabs { background: var(--bg-brand-soft); border-color: var(--border-brand); }
:root[data-theme="dark"] .ci-tab { color: var(--text-dim); }
:root[data-theme="dark"] .ci-tab:hover, :root[data-theme="dark"] .ci-tab.active { background: var(--bg-card); color: var(--brand); }
:root[data-theme="dark"] .country-info-tabs { border-color: var(--border-brand); }

/* Dark mode — homepage calc: keep the brand-tinted feel but on dark bg */
:root[data-theme="dark"] .calc-card { background: linear-gradient(135deg, var(--bg-card), var(--bg-brand-soft)); border-color: var(--border-brand); }
:root[data-theme="dark"] .calc-head { border-color: var(--border-brand); }
:root[data-theme="dark"] .calc-head-title { color: var(--text-strong); }
:root[data-theme="dark"] .calc-input { background: var(--bg-elevated); border-color: var(--border-brand); color: var(--text); }
:root[data-theme="dark"] .calc-result { border-color: var(--border-brand); }

/* Dark mode — Georgia page pillars + CTA */
:root[data-theme="dark"] .geo-pillar { background: var(--bg-card); border-color: var(--border); color: var(--text); }
:root[data-theme="dark"] .geo-pillar-count { background: var(--bg-brand-soft); color: var(--brand); }
:root[data-theme="dark"] .georgia-transfer-cta { background: linear-gradient(135deg, var(--bg-brand-soft), var(--bg-brand-tint)); border-color: var(--border-brand); }
:root[data-theme="dark"] .gtc-title { color: var(--text-strong); }
:root[data-theme="dark"] .gtc-lead { color: var(--text-muted); }

/* Dark mode — country page description block */
:root[data-theme="dark"] .country-desc, :root[data-theme="dark"] .country-desc p { color: var(--text); }
:root[data-theme="dark"] .country-name { color: var(--text-strong); }
:root[data-theme="dark"] .country-info { background: var(--bg-card); }

/* Dark mode — swiper hero controls stay light on hero image (default) */
:root[data-theme="dark"] .promo-card { background: rgba(0,0,0,0.6); }

/* Dark mode — form inputs (bform-group, contact form): the base .bform-group input rule is more
   specific than input[type="text"], so we need per-class overrides too. Make the border clearly
   visible on dark and give the field a subtle elevated background. */
:root[data-theme="dark"] .bform-group input,
:root[data-theme="dark"] .bform-group select,
:root[data-theme="dark"] .bform-group textarea,
:root[data-theme="dark"] .contact-form input,
:root[data-theme="dark"] .contact-form textarea,
:root[data-theme="dark"] .booking-form input,
:root[data-theme="dark"] .booking-form textarea,
:root[data-theme="dark"] .booking-form select {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  color: var(--text);
}
:root[data-theme="dark"] .bform-group input::placeholder,
:root[data-theme="dark"] .bform-group textarea::placeholder,
:root[data-theme="dark"] input::placeholder,
:root[data-theme="dark"] textarea::placeholder { color: var(--text-dim); opacity: 0.75; }
:root[data-theme="dark"] .bform-group label,
:root[data-theme="dark"] .contact-form h2,
:root[data-theme="dark"] .contact-info-block h2 { color: var(--text); }
:root[data-theme="dark"] .contact-list li { color: var(--text); }
:root[data-theme="dark"] .contact-list a { color: var(--brand); }

/* Dark mode — cards (border was too subtle to read against the dark background). Bump the
   border a touch and add a soft top-inner highlight for visible edge. */
:root[data-theme="dark"] .feat-card,
:root[data-theme="dark"] .tour-list-card,
:root[data-theme="dark"] .agency-benefit,
:root[data-theme="dark"] .country-card,
:root[data-theme="dark"] .visa-country-card,
:root[data-theme="dark"] .geo-pillar,
:root[data-theme="dark"] .trip-info-item,
:root[data-theme="dark"] .transfer-radio-card,
:root[data-theme="dark"] .transfer-car-card,
:root[data-theme="dark"] .transfer-extra-card,
:root[data-theme="dark"] .cat-item {
  border: 1px solid #384357;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.03), 0 2px 6px rgba(0,0,0,0.35);
}
:root[data-theme="dark"] .feat-card:hover,
:root[data-theme="dark"] .tour-list-card:hover,
:root[data-theme="dark"] .agency-benefit:hover,
:root[data-theme="dark"] .country-card:hover,
:root[data-theme="dark"] .visa-country-card:hover,
:root[data-theme="dark"] .geo-pillar:hover,
:root[data-theme="dark"] .cat-item:hover { border-color: var(--brand); box-shadow: inset 0 1px 0 rgba(255,255,255,0.05), 0 4px 14px rgba(232,119,34,0.28); }
:root[data-theme="dark"] .cat-item .cat-label { color: var(--text); }

/* Dark mode — buttons + reset link + rate/review form */
:root[data-theme="dark"] .filter-btn, :root[data-theme="dark"] .search-form-submit,
:root[data-theme="dark"] .btn-primary, :root[data-theme="dark"] .bform-submit { color: #fff; }
:root[data-theme="dark"] .filter-reset { color: var(--text-dim); }
:root[data-theme="dark"] .filter-reset:hover { color: var(--brand); }
:root[data-theme="dark"] .feat-btn, :root[data-theme="dark"] .tlc-cta { color: #fff; }
:root[data-theme="dark"] .rating-summary { background: var(--bg-elevated); border: 1px solid var(--border); }
:root[data-theme="dark"] .rating-summary h3 { color: var(--text); }
:root[data-theme="dark"] .crit-label, :root[data-theme="dark"] .crit-score { color: var(--text); }
:root[data-theme="dark"] .crit-bar { background: var(--bg-soft); }
:root[data-theme="dark"] .review-header strong { color: var(--text-strong); }
:root[data-theme="dark"] .review-date, :root[data-theme="dark"] .review-text { color: var(--text-muted); }

/* Dark mode — booking-success + alert */
:root[data-theme="dark"] .booking-success { background: rgba(22,163,74,0.15); color: #86efac; border: 1px solid rgba(22,163,74,0.35); }
:root[data-theme="dark"] .alert-success { background: rgba(22,163,74,0.15); color: #86efac; border: 1px solid rgba(22,163,74,0.35); }
:root[data-theme="dark"] .alert-danger { background: rgba(220,38,38,0.15); color: #fca5a5; border: 1px solid rgba(220,38,38,0.35); }
:root[data-theme="dark"] .empty-state { color: var(--text-muted); }

/* Dark mode — checkboxes with a visible custom mark (accent-color alone can look dim on some
   browsers/OS themes; add a subtle box background so the ✔ pops) */
:root[data-theme="dark"] input[type="checkbox"], :root[data-theme="dark"] input[type="radio"] {
  accent-color: var(--brand);
  background-color: var(--bg-soft);
  border-radius: 3px;
}

/* Dark mode — country/tabs body text + hero overrides on inner sections */
:root[data-theme="dark"] .ci-body { background: var(--bg-card); }
:root[data-theme="dark"] .ci-body p, :root[data-theme="dark"] .ci-body ul, :root[data-theme="dark"] .ci-body ol { color: var(--text); }

/* Dark mode — agencies extras */
:root[data-theme="dark"] .agencies-section { background: var(--bg); }
:root[data-theme="dark"] .agencies-body { background: var(--bg-card); border-color: var(--border); color: var(--text); }
:root[data-theme="dark"] .ab-title { color: var(--text-strong); }
:root[data-theme="dark"] .ab-lead { color: var(--text-muted); }
:root[data-theme="dark"] .agencies-empty { background: var(--bg-card); border-color: #384357; }
:root[data-theme="dark"] .agencies-empty h3 { color: var(--text-strong); }
:root[data-theme="dark"] .agencies-empty p { color: var(--text-muted); }
:root[data-theme="dark"] .agencies-contact-cta { background: linear-gradient(135deg, var(--bg-brand-soft), var(--bg-brand-tint)); border-color: var(--border-brand); }
:root[data-theme="dark"] .acc-text h3 { color: var(--text-strong); }
:root[data-theme="dark"] .acc-text p { color: var(--text-muted); }
:root[data-theme="dark"] .agencies-tours-head .section-heading { color: var(--text-strong); }

/* Dark mode — filter-btn / search-form-submit for consistent orange */
:root[data-theme="dark"] .search-form-submit { background: var(--brand); }
:root[data-theme="dark"] .search-form-submit:hover { background: var(--brand-hover); }

/* Dark mode — view toggle bar (grid/list icons), tour departure calendar, currency rows,
   and any lingering hardcoded whites the earlier pass missed */
:root[data-theme="dark"] .tfb-view-toggle { background: var(--bg-card); border-color: var(--border); }
:root[data-theme="dark"] .tfb-view-btn { color: var(--text-dim); }
:root[data-theme="dark"] .tfb-view-btn:hover { background: var(--bg-brand-soft); color: var(--brand); }
:root[data-theme="dark"] .tfb-view-btn.is-active { background: var(--brand); color: #fff; }

:root[data-theme="dark"] .tour-departure-calendar { background: var(--bg-card); border-color: var(--border-brand); box-shadow: 0 4px 16px rgba(0,0,0,0.4); }
:root[data-theme="dark"] .departure-calendar-section { background: var(--bg-brand-soft); border-left-color: var(--brand); }
:root[data-theme="dark"] .departure-cal-hint { background: var(--bg-brand-soft); border-color: var(--border-brand); color: var(--text-muted); }

/* Currency widget rows visible on dark */
:root[data-theme="dark"] .currency-row { color: var(--text); border-color: var(--border-light); }
:root[data-theme="dark"] .currency-row:hover { background: var(--bg-brand-soft); }
:root[data-theme="dark"] .cal-nav, :root[data-theme="dark"] .cal-month { color: var(--brand); }
:root[data-theme="dark"] .cal-day.sunday { color: #f87171; }
:root[data-theme="dark"] .cal-day--disabled { background: var(--bg-soft); color: var(--text-dim); }
:root[data-theme="dark"] .cal-day--disabled:hover { background: var(--bg-soft); color: var(--text-dim); }

/* Contact page: give the info block and form clearer edges + surface */
:root[data-theme="dark"] .contact-info-block, :root[data-theme="dark"] .contact-right .contact-form { background: var(--bg-card); border: 1px solid var(--border); border-radius: 10px; padding: 24px 26px; }
:root[data-theme="dark"] .contact-list li strong { color: var(--text-strong); }

/* Homepage tours-widget interior (Swiper padding) — ensure body doesn't show a light strip */
:root[data-theme="dark"] .tours-widget { border-color: var(--border); }
:root[data-theme="dark"] .tour-swiper-card, :root[data-theme="dark"] .tour-swiper-info { background: var(--bg-card); }
:root[data-theme="dark"] .tour-swiper-name { color: var(--text-strong); }
:root[data-theme="dark"] .tour-swiper-price { color: var(--brand); }

/* Search-page tab bar */
:root[data-theme="dark"] .search-tabs-bar { background: var(--bg-body); border-color: var(--border); }
:root[data-theme="dark"] .s-tab { color: var(--text-muted); }
:root[data-theme="dark"] .s-tab.active, :root[data-theme="dark"] .s-tab:hover { color: var(--brand); }

/* Sf-check-list visual: give the block a defined edge in dark mode */
:root[data-theme="dark"] .sf-check-head { border-color: var(--border); }
:root[data-theme="dark"] .sf-legend-item { color: var(--text-muted); }

/* Search results table label chips (BB/AI/HB/…) — text was #333, now readable */
:root[data-theme="dark"] .sr-tour-link { color: var(--text-strong); }
:root[data-theme="dark"] .sr-tour-link:hover { color: var(--brand); }

/* Dark mode — hardcoded light borders that leak as white/near-white lines against the dark
   background. Cover every remaining .tour-* / .hotel-* / .*-widget / section divider. */
:root[data-theme="dark"] .section-heading { color: var(--text-strong); border-bottom-color: var(--border); }
:root[data-theme="dark"] .section-heading::after { background: var(--brand); }
:root[data-theme="dark"] .tour-info-block { background: transparent; }
:root[data-theme="dark"] .tour-section { border-color: var(--border); }
:root[data-theme="dark"] .tour-map-wrap { border-color: var(--border); }
:root[data-theme="dark"] .booking-card { background: var(--bg-card); border-color: var(--border); }
:root[data-theme="dark"] .booking-price { border-color: var(--border); }
:root[data-theme="dark"] .booking-price-label { color: var(--text-dim); }
:root[data-theme="dark"] .booking-price-sub { color: var(--text-dim); }
:root[data-theme="dark"] .tour-includes { background: var(--bg-brand-soft); border-left-color: var(--brand); color: var(--text); }
:root[data-theme="dark"] .review-card { background: var(--bg-elevated); border-color: var(--border); color: var(--text); }

/* Currency + calendar + tours widget wrappers (borders were #e8e8e8) */
:root[data-theme="dark"] .currency-widget, :root[data-theme="dark"] .calendar-widget,
:root[data-theme="dark"] .tours-widget, :root[data-theme="dark"] .inline-section,
:root[data-theme="dark"] .inner-tours-widget, :root[data-theme="dark"] .featured-middle { border-color: var(--border); }
:root[data-theme="dark"] .tour-swiper-card, :root[data-theme="dark"] .inner-tour-card, :root[data-theme="dark"] .tours-grid .feat-card, :root[data-theme="dark"] .tours-grid--main .feat-card { border-color: var(--border); }
:root[data-theme="dark"] .featured-middle-grid .feat-card { border-right-color: var(--border); border-bottom-color: var(--border); }
:root[data-theme="dark"] .tours-grid { border-color: var(--border); background: transparent; }

/* Filter bar + list card outer borders (were #eee) */
:root[data-theme="dark"] .tours-filter-bar { border-color: var(--border); }
:root[data-theme="dark"] .tour-list-card { border-color: var(--border); background: var(--bg-card); }
:root[data-theme="dark"] .tour-list-card .tlc-side { border-left-color: var(--border); }
@media (max-width: 780px) {
  :root[data-theme="dark"] .tour-list-card .tlc-side { border-left: none; border-top-color: var(--border); }
}
:root[data-theme="dark"] .tlc-img { background: var(--bg-elevated); }

/* Rating summary + criteria bars (light-cream bg → dark) */
:root[data-theme="dark"] .rating-summary { background: var(--bg-elevated); border: 1px solid var(--border); }
:root[data-theme="dark"] .rating-summary h3, :root[data-theme="dark"] .rate-hotel-section h3 { color: var(--text-strong); }
:root[data-theme="dark"] .crit-bar { background: var(--bg-soft); }
:root[data-theme="dark"] .rate-hotel-section { background: var(--bg-card); border: 1px solid var(--border); border-radius: 10px; padding: 20px 24px; }

/* Hotel page — stars + address block */
:root[data-theme="dark"] .hotel-stars-inline { color: #fbbf24; }

/* Transfer form cards had #fafafa bg (near-white in dark) */
:root[data-theme="dark"] .transfer-radio-card, :root[data-theme="dark"] .transfer-car-card, :root[data-theme="dark"] .transfer-extra-card { background: var(--bg-elevated); }

/* PDF card */
:root[data-theme="dark"] .tour-pdf-item { background: var(--bg-brand-soft); border-color: var(--border-brand); color: var(--text); }

/* Calc card gradient — replace light-cream with dark cream gradient */
:root[data-theme="dark"] .calc-card { background: linear-gradient(135deg, var(--bg-card), var(--bg-brand-soft)); border-color: var(--border-brand); }

/* Sub-borders + horizontal separators inside tour-details */
:root[data-theme="dark"] .included-title--yes { color: #22c55e; }
:root[data-theme="dark"] .included-title--no { color: #ef4444; }
:root[data-theme="dark"] .included-list li { border-color: var(--border-light); }
:root[data-theme="dark"] .plan-day-body { border-color: var(--border); background: var(--bg-elevated); }
:root[data-theme="dark"] .faq-item { border-color: var(--border); }

/* Search page — sidebar / small filter check-item hover row */
:root[data-theme="dark"] .filter-check-item { border-color: var(--border-light); }
:root[data-theme="dark"] .filter-check-item:last-child { border-bottom: none; }
:root[data-theme="dark"] .sidebar { border-color: var(--border); }

/* Homepage tour swiper — the card interior body area */
:root[data-theme="dark"] .tour-swiper-info { background: var(--bg-card); }

/* Sub-headings inside cms-content etc. */
:root[data-theme="dark"] .cms-content h3, :root[data-theme="dark"] .cms-content h4 { color: var(--text-strong); }

/* ─── Dark-mode fixes (Phase 16) — the last white borders + calendar-allowed pills + search list ─── */

/* Homepage: `.categories` had a hardcoded `border-bottom: 1px solid #e8e8e8` — the single
   white/near-white horizontal line under the categories row on the homepage. Override. */
:root[data-theme="dark"] .categories { border-bottom-color: var(--border); }

/* Tour-departure calendar: `.cal-day--allowed` renders a light peach gradient (#fff3e8 → #ffe4cc)
   which reads as bright yellow-beige blocks against the dark card. Repaint as muted brand tint. */
:root[data-theme="dark"] .cal-day--allowed {
  background: linear-gradient(135deg, rgba(255,140,61,0.18), rgba(255,140,61,0.28));
  color: var(--brand);
  border-color: rgba(255,140,61,0.45);
  box-shadow: 0 1px 3px rgba(0,0,0,0.4);
}
:root[data-theme="dark"] .cal-day--allowed:hover {
  background: linear-gradient(135deg, rgba(255,140,61,0.28), rgba(255,140,61,0.42));
}
:root[data-theme="dark"] .cal-day--selected,
:root[data-theme="dark"] .cal-day--selected:hover {
  background: var(--brand) !important;
  color: #fff !important;
  border-color: var(--brand-hover) !important;
}
:root[data-theme="dark"] .cal-day.today { background: var(--brand); color: #fff; }
:root[data-theme="dark"] .cal-day:hover { background: rgba(255,140,61,0.14); color: var(--brand); }

/* Search page (`pages/search.php`) — the check-list interior and the search input inside each
   4-column block were left white; the bottom bar checkboxes had white pill backgrounds. */
:root[data-theme="dark"] .sf-check-list { background: var(--bg-card); }
:root[data-theme="dark"] .sf-check-list--tall { background: var(--bg-card); }
:root[data-theme="dark"] .sf-check-item { border-bottom-color: var(--border-light); }
:root[data-theme="dark"] .sf-check-item:last-child { border-bottom: none; }
:root[data-theme="dark"] .sf-check-search {
  background: var(--bg-elevated);
  border-color: var(--border);
  color: var(--text);
}
:root[data-theme="dark"] .sf-check-search::placeholder { color: var(--text-dim); }
:root[data-theme="dark"] .sf-check-title { color: var(--text-strong); }
:root[data-theme="dark"] .sf-show-only { color: var(--text-muted); }
:root[data-theme="dark"] .sf-bottom-checks .sf-check-item {
  background: var(--bg-elevated);
  border-color: var(--border);
  color: var(--text);
}
:root[data-theme="dark"] .sf-star-badge, :root[data-theme="dark"] .sf-stars-mini { color: #fbbf24; }
:root[data-theme="dark"] .filter-reset { color: var(--text-muted); }

/* Search results table: the row-state highlights (stop/instant/best/discount) use very light
   backgrounds — legible in light mode, but text underneath (#333) becomes unreadable and the
   rows scream against a dark UI. Repaint as translucent brand-tinted rows. */
:root[data-theme="dark"] .search-results-table tbody tr.sr-row--stop     { background: rgba(239,68,68,0.20); }
:root[data-theme="dark"] .search-results-table tbody tr.sr-row--instant  { background: rgba(34,197,94,0.16); }
:root[data-theme="dark"] .search-results-table tbody tr.sr-row--best     { background: rgba(251,191,36,0.14); }
:root[data-theme="dark"] .search-results-table tbody tr.sr-row--discount { background: rgba(255,140,61,0.16); }
:root[data-theme="dark"] .search-results-table tbody tr.sr-row--stop td,
:root[data-theme="dark"] .search-results-table tbody tr.sr-row--instant td,
:root[data-theme="dark"] .search-results-table tbody tr.sr-row--best td,
:root[data-theme="dark"] .search-results-table tbody tr.sr-row--discount td { color: var(--text); }

/* Search legend swatches (small color chips explaining the row colors) — soften them to match */
:root[data-theme="dark"] .sf-legend-sw--green    { background: rgba(34,197,94,0.35); }
:root[data-theme="dark"] .sf-legend-sw--red      { background: rgba(239,68,68,0.35); }
:root[data-theme="dark"] .sf-legend-sw--yellow   { background: rgba(251,191,36,0.35); }
:root[data-theme="dark"] .sf-legend-sw--discount { background: rgba(255,140,61,0.35); border-color: var(--brand); }

/* Currency-widget calendar section: the "calendar-widget" ate the light chip on the right */
:root[data-theme="dark"] .currency-widget + .calendar-widget,
:root[data-theme="dark"] .calendar-widget { border-color: var(--border); }

/* Theme toggle button */
.theme-toggle { background: none; border: 1px solid var(--border); color: var(--text); border-radius: 6px; padding: 6px 10px; cursor: pointer; display: inline-flex; align-items: center; gap: 4px; font-size: 16px; line-height: 1; transition: background 0.15s, border-color 0.15s, color 0.15s; }
.theme-toggle:hover { background: var(--bg-brand-tint); border-color: var(--brand); color: var(--brand); }
.theme-toggle .ph-sun  { display: none; }
.theme-toggle .ph-moon { display: inline; }
:root[data-theme="dark"] .theme-toggle .ph-sun  { display: inline; }
:root[data-theme="dark"] .theme-toggle .ph-moon { display: none; }

/* ─── HEADER ─── */
.header {
  background: var(--bg-body);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 200;
  height: 60px;
  transition: background 0.25s ease, border-color 0.25s ease;
}
.header-inner {
  max-width: 1260px;
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 0 16px;
}
.logo { font-size: 22px; font-weight: 700; white-space: nowrap; letter-spacing: -0.5px; text-decoration: none; display: inline-flex; align-items: center; height: 44px; }
.logo-orange { color: #e87722; }
.logo-gray   { color: #555; }
/* Real Orange Travel logo — light variant on light theme, dark variant on dark theme.
   SVGs from `assets/images/logo/`; heights match the header row. */
.logo-img { height: 38px; width: auto; display: block; }
.logo-img-dark  { display: none; }
:root[data-theme="dark"] .logo-img-light { display: none; }
:root[data-theme="dark"] .logo-img-dark  { display: block; }
.nav { display: flex; align-items: center; gap: 2px; flex: 1; flex-wrap: nowrap; }
.nav-link {
  text-decoration: none;
  color: #555;
  font-size: 13px;
  padding: 6px 9px;
  border-radius: 3px;
  white-space: nowrap;
  transition: color 0.2s;
}
.nav-link:hover { color: #e87722; }
.nav-link.active { color: #e87722; font-weight: 600; }
.nav-highlight { color: #e87722; font-weight: 700; }
.hot-nav { position: relative; }
.flame { font-size: 14px; }

/* Dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown > .nav-link { cursor: pointer; }
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 4px;
  min-width: 200px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  z-index: 300;
}
.nav-dropdown:hover .dropdown-menu { display: block; }
.dropdown-menu a {
  display: block;
  padding: 10px 16px;
  font-size: 13px;
  color: #444;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}
.dropdown-menu a:hover { background: #fff8f4; color: #e87722; }

.header-right {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}
.phone { font-size: 13px; color: #555; }

/* Header dropdowns (lang / currency) */
.hdr-dropdown { position: relative; }
.hdr-dropdown::after {
  content: "";
  position: absolute;
  top: 100%;
  right: 0;
  width: 100%;
  min-width: 150px;
  height: 10px;
  z-index: 499;
}
.hdr-drop-btn {
  background: #f5f5f5;
  color: #444;
  border: 1px solid #ddd;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
  transition: background 0.2s, border-color 0.2s;
  font-family: inherit;
}
.hdr-drop-btn:hover { background: #ffe9d9; border-color: #e87722; color: #e87722; }
.hdr-arrow { font-size: 9px; opacity: 0.6; }
.hdr-drop-menu {
  display: block;
  position: absolute;
  top: 100%;
  right: 0;
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 6px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  min-width: 130px;
  z-index: 500;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(4px);
  transition: opacity 0.16s, transform 0.16s, visibility 0s linear 0.16s;
}
.hdr-dropdown:hover .hdr-drop-menu,
.hdr-dropdown:focus-within .hdr-drop-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
  transition-delay: 0s;
}
.hdr-drop-menu a {
  display: block;
  padding: 9px 14px;
  font-size: 13px;
  color: #444;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
}
.hdr-drop-menu a:hover { background: #fff4ed; color: #e87722; }
.hdr-drop-menu a.active { background: #e87722; color: #fff; font-weight: 600; }

/* intl-tel-input phone field */
.iti { width: 100%; }
.iti__tel-input { width: 100%; }

/* ─── HERO ─── */
.hero {
  position: relative;
  height: 480px;
  overflow: hidden;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.08) 0%, rgba(0,0,0,0.38) 100%);
  z-index: 2;
  pointer-events: none;
}
.hero-slides { position: absolute; inset: 0; z-index: 1; }
.hero-slide {
  position: relative;
  width: 100%;
  height: 100%;
}
.hero-img { width: 100%; height: 480px; object-fit: cover; display: block; }

/* Swiper overrides for hero */
.hero-swiper { width: 100%; height: 100%; position: absolute; inset: 0; z-index: 1; }
.hero-swiper .swiper-wrapper { height: 100%; }
.hero-swiper .swiper-slide { height: 100%; overflow: hidden; }
.hero-swiper .swiper-button-prev,
.hero-swiper .swiper-button-next {
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,0.3);
  color: #fff;
  width: 40px; height: 40px;
  border-radius: 50%;
  z-index: 10;
}
.hero-swiper .swiper-button-prev::after,
.hero-swiper .swiper-button-next::after { font-size: 14px; font-weight: 900; }
.hero-swiper .swiper-button-prev:hover,
.hero-swiper .swiper-button-next:hover { background: rgba(232,119,34,0.75); }
.hero .hero-swiper .swiper-pagination { bottom: 128px; z-index: 10; }
.hero-swiper .swiper-pagination-bullet { background: rgba(255,255,255,0.5); opacity: 1; }
.hero-swiper .swiper-pagination-bullet-active { background: #e87722; transform: scale(1.3); }

.promo-card {
  position: absolute;
  top: 50%;
  right: 72px;
  transform: translateY(-50%);
  background: rgba(20,20,20,0.82);
  backdrop-filter: blur(6px);
  color: #fff;
  padding: 28px 32px;
  border-radius: 6px;
  z-index: 2;
  min-width: 260px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
  border-left: 4px solid #e87722;
  animation: slideIn 0.55s ease;
}
@keyframes slideIn {
  from { opacity: 0; transform: translateY(-44%) translateX(24px); }
  to   { opacity: 1; transform: translateY(-50%) translateX(0); }
}
.promo-tag { font-size: 10px; font-weight: 700; letter-spacing: 1.5px; color: #e87722; margin-bottom: 8px; text-transform: uppercase; }
.promo-title { font-size: 22px; font-weight: 700; margin-bottom: 8px; line-height: 1.2; }
.promo-sub { font-size: 14px; opacity: 0.85; margin-bottom: 18px; }
.promo-sub strong { color: #f4a84a; font-size: 16px; }
.promo-btn {
  display: inline-block;
  background: #e87722;
  color: #fff;
  text-decoration: none;
  padding: 8px 20px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 600;
  transition: background 0.2s, transform 0.15s;
}
.promo-btn:hover { background: #cf6510; transform: translateY(-1px); }

.slide-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,0.3);
  color: #fff;
  width: 40px; height: 40px;
  border-radius: 50%;
  font-size: 24px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
  line-height: 1;
}
.slide-arrow:hover { background: rgba(232,119,34,0.75); }
.slide-prev { left: 16px; }
.slide-next { right: 16px; }

.slide-dots {
  position: absolute;
  bottom: 76px; left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex; gap: 8px;
}
.slide-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.slide-dot.active { background: #e87722; transform: scale(1.3); }

/* ─── SEARCH BAR ─── */
.search-bar {
  position: absolute;
  bottom: 28px;
  left: 50%;
  width: calc(100% - 32px);
  max-width: 1260px;
  transform: translateX(-50%);
  background: rgba(18,22,25,0.78);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: stretch;
  gap: 8px;
  z-index: 6;
  padding: 12px;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 4px;
  box-shadow: 0 14px 36px rgba(0,0,0,0.28);
}
.search-field {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 52px;
  padding: 9px 14px 8px;
  min-width: 0;
  background: rgba(255,255,255,0.96);
  border: 1px solid rgba(255,255,255,0.24);
  border-radius: 3px;
  transition: background 0.15s, border-color 0.15s;
}
.search-field:hover { background: #fff8f4; border-color: rgba(232,119,34,0.45); }
.search-label { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.8px; color: #e87722; margin-bottom: 4px; }
.search-select, .search-input {
  border: none; background: transparent;
  font-size: 13px; color: #333;
  appearance: none; outline: none; cursor: pointer;
  padding: 0; font-family: inherit; width: 100%;
}
.search-btn {
  min-height: 52px;
  padding: 0 28px;
  background: #e87722; color: #fff; border: none;
  border-radius: 3px;
  font-size: 14px; font-weight: 700; cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s;
  display: flex; align-items: center; gap: 8px;
}
.search-btn:hover { background: #cf6510; }

/* ─── CATEGORIES ─── */
.categories { background: #fff; border-bottom: 1px solid #e8e8e8; padding: 24px 0 28px; }
.categories-inner { max-width: 1260px; margin: 0 auto; padding: 0 16px; }
.categories-inner .section-heading { margin-bottom: 16px; }
.categories-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.cat-item {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 16px;
  text-decoration: none; color: #444; font-size: 13px;
  border: 1px solid #eee; border-radius: 6px; background: #fafafa;
  transition: background 0.15s, color 0.15s, border-color 0.15s, box-shadow 0.15s;
}
.cat-item:hover { background: #fff8f4; color: #e87722; border-color: #f5c49a; box-shadow: 0 2px 8px rgba(232,119,34,0.1); }
.cat-icon { color: #e87722; min-width: 44px; height: 44px; text-align: center; display: inline-flex; align-items: center; justify-content: center; background: #fff3e8; border-radius: 10px; margin-right: 6px; flex-shrink: 0; transition: background 0.2s, transform 0.2s; }
.cat-icon i.ph, .cat-icon i.ph-duotone, .cat-icon i.ph-fill { font-size: 26px; line-height: 1; }
.cat-item:hover .cat-icon { background: #ffe4cc; transform: scale(1.08); }
.cat-label { flex: 1; }
.arrow { margin-left: auto; color: #e87722; font-size: 16px; font-weight: 700; }

/* ─── BOTTOM SECTION ─── */
.bottom-section {
  max-width: 1260px;
  margin: 28px auto 40px;
  display: grid;
  grid-template-columns: 220px 1fr 220px;
  gap: 16px;
  padding: 0 16px;
  align-items: start;
}
.bottom-section--2col {
  grid-template-columns: 1fr 260px;
}
.section-heading.white { color: #fff; }

/* Currency */
.currency-widget { background: #fff; border: 1px solid #e8e8e8; border-radius: 6px; overflow: hidden; }
.currency-header { background: #e87722; color: #fff; display: grid; grid-template-columns: 1fr 1fr 1fr; padding: 10px 14px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; }
.currency-row { display: grid; grid-template-columns: 1fr 1fr 1fr; padding: 10px 14px; font-size: 13px; border-bottom: 1px solid #f0f0f0; color: #444; transition: background 0.15s; }
.currency-row:hover { background: #fff8f4; }
.currency-calendar { display: flex; align-items: center; justify-content: space-between; padding: 10px 14px; background: #f9f9f9; }
.cal-month { font-size: 12px; color: #e87722; font-weight: 600; }
.cal-nav { background: none; border: none; color: #e87722; font-size: 18px; cursor: pointer; padding: 0 4px; line-height: 1; transition: opacity 0.2s; }
.cal-nav:hover { opacity: 0.7; }
.cal-grid { padding: 8px 10px 10px; }
.cal-days-header { display: grid; grid-template-columns: repeat(7, 1fr); text-align: center; font-size: 10px; font-weight: 700; color: #aaa; margin-bottom: 4px; text-transform: uppercase; }
.cal-days-body { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.cal-day { text-align: center; font-size: 11px; padding: 4px 2px; border-radius: 3px; color: #444; cursor: pointer; transition: background 0.15s, color 0.15s; }
.cal-day:hover { background: #fff8f4; color: #e87722; }
.cal-day.today { background: #e87722; color: #fff; font-weight: 700; border-radius: 50%; }
.cal-day.empty { cursor: default; }
.cal-day.sunday { color: #e44; }
.cal-day--disabled { color: #d5d5d5; cursor: not-allowed; pointer-events: none; opacity: 0.55; background: #f8f8f8; }
.cal-day--disabled:hover { background: #f8f8f8; color: #d5d5d5; }
.cal-day--allowed { background: linear-gradient(135deg, #fff3e8 0%, #ffe4cc 100%); color: #e87722; font-weight: 800; border: 1px solid #ffd7a6; cursor: pointer; box-shadow: 0 1px 3px rgba(232,119,34,0.15); }
.cal-day--allowed:hover { background: linear-gradient(135deg, #ffe4cc, #ffd7a6); transform: scale(1.05); }
.cal-day--selected, .cal-day--selected:hover { background: #e87722 !important; color: #fff !important; border-color: #cf6510 !important; transform: scale(1.08); box-shadow: 0 3px 8px rgba(232,119,34,0.35); }
.tour-departure-calendar { max-width: 420px; border: 2px solid #ffe3c8; border-radius: 12px; overflow: hidden; box-shadow: 0 4px 16px rgba(232,119,34,0.10); background: #fff; }
.departure-cal-hint { font-size: 13px; color: #666; padding: 10px 14px 14px; margin: 0; background: #fff8f0; border-top: 1px solid #ffe3c8; line-height: 1.5; }
.departure-cal-hint strong { color: #e87722; }
/* Make the whole calendar section stand out with an orange left border so visitors notice it */
.departure-calendar-section { background: #fffcf7; border-left: 4px solid #e87722; padding: 20px 24px !important; border-radius: 8px; margin: 24px 0; }
.departure-calendar-section .section-heading { color: #e87722; }

/* Center column */
.center-column { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.right-column  { display: flex; flex-direction: column; gap: 16px; }

/* Tours widget with Swiper */
.tours-widget { background: #fff; border: 1px solid #e8e8e8; border-radius: 6px; overflow: hidden; }
.tours-widget-header { background: #e87722; color: #fff; display: flex; align-items: center; justify-content: space-between; padding: 10px 16px; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; }
.tours-title { font-size: 13px; font-weight: 700; }

/* Swiper tours carousel */
.tours-swiper { padding: 12px 8px !important; }
.tour-swiper-slide { height: auto; padding: 0 5px; }
.tour-swiper-card { display: block; text-decoration: none; color: inherit; border-radius: 6px; overflow: hidden; border: 1px solid #eee; height: 100%; box-shadow: 0 1px 6px rgba(0,0,0,0.07); transition: box-shadow 0.2s, transform 0.2s; }
.tour-swiper-card:hover { box-shadow: 0 4px 14px rgba(232,119,34,0.18); transform: translateY(-2px); }
.tour-swiper-card:hover .tour-swiper-name { color: #e87722; }
.tour-swiper-card img { width: 100%; height: 130px; object-fit: cover; display: block; }
.tour-swiper-info { padding: 10px 12px 12px; }
.tour-swiper-name { font-size: 12px; font-weight: 600; color: #333; margin-bottom: 4px; line-height: 1.3; transition: color 0.2s; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tour-swiper-price { font-size: 12px; color: #e87722; font-weight: 700; }
.tour-swiper-price span { font-size: 10px; color: #999; font-weight: 400; }
.tours-swiper .swiper-button-prev,
.tours-swiper .swiper-button-next { background: #e87722; color: #fff; width: 28px; height: 28px; border-radius: 50%; top: 50%; }
.tours-swiper .swiper-button-prev::after,
.tours-swiper .swiper-button-next::after { font-size: 12px; font-weight: 900; }

/* Legacy tour-card kept for compatibility */
.tours-header { background: #e87722; color: #fff; display: flex; align-items: center; justify-content: space-between; padding: 10px 16px; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; }
.tours-nav { display: flex; gap: 4px; }
.tours-arrow { background: rgba(255,255,255,0.2); border: none; color: #fff; width: 26px; height: 26px; border-radius: 3px; font-size: 18px; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background 0.2s; line-height: 1; }
.tours-arrow:hover { background: rgba(255,255,255,0.35); }
.tour-card-title { font-size: 13px; font-weight: 600; color: #333; margin-bottom: 3px; }
.tour-card-price { font-size: 12px; color: #e87722; font-weight: 600; }

/* Featured middle */
.featured-middle { background: #fff; border: 1px solid #e8e8e8; border-radius: 6px; overflow: hidden; }
.featured-middle-header { background: #e87722; color: #fff; display: flex; align-items: center; justify-content: space-between; padding: 10px 16px; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; }
.see-all-link-sm { color: rgba(255,255,255,0.85); text-decoration: none; font-size: 12px; font-weight: 600; transition: color 0.2s; }
.see-all-link-sm:hover { color: #fff; }
.featured-middle-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; }
.featured-middle-grid .feat-card { border-radius: 0; box-shadow: none; border-right: 1px solid #eee; border-bottom: 1px solid #eee; }
.featured-middle-grid .feat-card:hover { transform: none; box-shadow: inset 0 0 0 2px #e87722; }
.featured-middle-grid .feat-img-wrap img { height: 140px; }
.featured-middle-grid .feat-body { padding: 10px 12px 12px; }
.featured-middle-grid .feat-title { font-size: 13px; }
.featured-middle-grid .feat-details { font-size: 11px; margin-bottom: 10px; }
.featured-middle-grid .feat-price { font-size: 14px; }
.featured-middle-grid .feat-btn { padding: 5px 12px; font-size: 11px; }

/* Calendar widget — separate from currency */
.calendar-widget { background: #fff; border: 1px solid #e8e8e8; border-radius: 6px; overflow: hidden; margin-top: 0; }

/* Inner tours (right column) */
.inner-tours-widget { background: #fff; border: 1px solid #e8e8e8; border-radius: 6px; overflow: hidden; }
.inner-tours-header { background: #e87722; color: #fff; padding: 10px 16px; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; display: flex; align-items: center; justify-content: space-between; }
.inner-see-all { color: #fff; text-decoration: none; font-size: 12px; font-weight: 600; opacity: 0.85; transition: opacity 0.2s; }
.inner-see-all:hover { opacity: 1; }
.inner-tours-list { display: flex; flex-direction: column; gap: 0; padding: 8px; }
.inner-tour-card { cursor: pointer; transition: background 0.15s, box-shadow 0.15s; display: flex; align-items: center; text-decoration: none; color: inherit; gap: 0; border-radius: 5px; overflow: hidden; border: 1px solid #eee; margin-bottom: 8px; background: #fff; box-shadow: 0 1px 4px rgba(0,0,0,0.05); }
.inner-tour-card:last-child { margin-bottom: 0; }
.inner-tour-card:hover { background: #fff8f4; box-shadow: 0 2px 8px rgba(232,119,34,0.12); }
.inner-tour-card img { width: 90px; min-width: 90px; height: 68px; object-fit: cover; display: block; }
.inner-tour-info { padding: 8px 12px; flex: 1; min-width: 0; }
.inner-tour-title { font-size: 12px; font-weight: 600; color: #333; margin-bottom: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.inner-tour-price { font-size: 13px; color: #e87722; font-weight: 700; }

/* Inline sections (left column) */
.inline-section { background: #fff; border: 1px solid #e8e8e8; border-radius: 6px; overflow: hidden; }
.inline-section--gray { background: #f8f8f8; }
.inline-section-header { background: #e87722; color: #fff; padding: 11px 16px; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; display: flex; align-items: center; justify-content: space-between; }
.inline-see-all { color: #fff; text-decoration: none; font-size: 12px; font-weight: 600; opacity: 0.85; transition: opacity 0.2s; }
.inline-see-all:hover { opacity: 1; }
.inline-tours-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; padding: 12px; }
.inline-tours-grid .feat-card { border-radius: 7px; box-shadow: 0 1px 6px rgba(0,0,0,0.08); border: 1px solid #eee; }
.inline-tours-grid .feat-card:hover { transform: translateY(-2px); box-shadow: 0 4px 14px rgba(232,119,34,0.15); }

/* ─── FEAT CARD ─── */
.feat-card { background: #fff; border-radius: 8px; overflow: hidden; box-shadow: 0 2px 12px rgba(0,0,0,0.1); transition: transform 0.2s, box-shadow 0.2s; }
.feat-card:hover { transform: translateY(-3px); box-shadow: 0 6px 20px rgba(0,0,0,0.15); }
.feat-img-wrap { position: relative; }
.feat-img-wrap img { width: 100%; height: 200px; object-fit: cover; display: block; }
.feat-badge { position: absolute; top: 10px; left: 10px; background: #e87722; color: #fff; font-size: 10px; font-weight: 700; letter-spacing: 1px; padding: 3px 8px; border-radius: 3px; text-transform: uppercase; }
.feat-badge--blue  { background: #2563eb; }
.feat-badge--green { background: #16a34a; }
.feat-badge--teal  { background: #0891b2; }
.feat-badge--discount { left: auto; right: 10px; background: #dc2626; }
.hotel-stars { background: #f59e0b; }
.feat-body { padding: 14px 16px 16px; }
.feat-dest { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: #e87722; margin-bottom: 4px; }
.feat-title { font-size: 15px; font-weight: 700; color: #1a1a1a; margin-bottom: 6px; line-height: 1.3; }
.feat-details { font-size: 12px; color: #888; margin-bottom: 14px; }
.feat-footer { display: flex; align-items: center; justify-content: space-between; }
.feat-price { font-size: 16px; font-weight: 700; color: #e87722; }
.feat-price-wrap { display: flex; flex-direction: column; line-height: 1.25; }
.feat-price-old { font-size: 12px; color: #999; text-decoration: line-through; }
.feat-btn { background: #e87722; color: #fff; text-decoration: none; padding: 6px 16px; border-radius: 4px; font-size: 12px; font-weight: 600; transition: background 0.2s; }
.feat-btn:hover { background: #cf6510; }

/* Hotel rating */
.hotel-rating-row { display: flex; align-items: center; gap: 6px; margin-bottom: 10px; font-size: 13px; }
.star { color: #f59e0b; font-size: 14px; }
.star.empty { color: #ddd; }
.rating-num { font-weight: 700; color: #333; }
.rating-count { color: #999; font-size: 12px; }

/* ─── TOURS SECTION ─── */
.tours-section { padding: 36px 0 48px; }
.tours-section--gray { background: #f4f4f4; }
.tours-section-inner { max-width: 1260px; margin: 0 auto; padding: 0 16px; }
/* Clean flex wrapper — no more full-width orange bar. The .section-heading below gives it its look. */
.section-header-row {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  margin-bottom: 16px;
}
.see-all-link { color: #e87722; text-decoration: none; font-size: 13px; font-weight: 700; transition: opacity 0.2s; white-space: nowrap; }
.see-all-link:hover { opacity: 0.75; }
.tours-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid #e8e8e8; border-top: none; background: #fff; }
.tours-grid--3 { grid-template-columns: repeat(3, 1fr); }
.tours-grid--main { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; border: none; background: transparent; padding: 4px 0; }
.tours-grid .feat-card { border-radius: 0; box-shadow: none; border-right: 1px solid #eee; border-bottom: 1px solid #eee; }
.tours-grid .feat-card:last-child { border-right: none; }
.tours-grid .feat-card:hover { transform: none; box-shadow: inset 0 0 0 2px #e87722; }
.tours-grid--main .feat-card { border-radius: 8px; box-shadow: 0 2px 10px rgba(0,0,0,0.09); border: 1px solid #eee; }
.tours-grid--main .feat-card:hover { transform: translateY(-2px); box-shadow: 0 4px 16px rgba(232,119,34,0.15); }

/* ─── PAGE HERO ─── */
.page-hero {
  background: #e87722;
  position: relative;
  min-height: 140px;
  display: flex;
  align-items: center;
}
.page-hero-inner { max-width: 1260px; margin: 0 auto; padding: 32px 16px; position: relative; z-index: 2; }
.page-hero-title { font-size: 32px; font-weight: 800; color: #fff; text-shadow: 0 2px 8px rgba(0,0,0,0.2); }
.white { color: #fff !important; }

/* ─── PAGE LAYOUT (sidebar + main) ─── */
.page-layout { max-width: 1260px; margin: 32px auto; display: grid; grid-template-columns: 260px 1fr; gap: 24px; padding: 0 16px; align-items: start; }

/* Sidebar */
.sidebar { background: #fff; border: 1px solid #e8e8e8; border-radius: 8px; padding: 20px; }
.filter-group { margin-bottom: 16px; }
.filter-label { display: block; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.8px; color: #e87722; margin-bottom: 6px; }
.filter-select, .filter-input {
  width: 100%; padding: 8px 10px;
  border: 1px solid #ddd; border-radius: 4px;
  font-size: 13px; color: #333;
  background: #fff; appearance: none;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s;
}
.filter-select:focus, .filter-input:focus { border-color: #e87722; }
.filter-btn { width: 100%; background: #e87722; color: #fff; border: none; padding: 10px; border-radius: 4px; font-size: 14px; font-weight: 700; cursor: pointer; transition: background 0.2s; }
.filter-btn:hover { background: #cf6510; }
.filter-reset { display: block; text-align: center; margin-top: 8px; color: #999; font-size: 13px; text-decoration: none; }
.filter-reset:hover { color: #e87722; }
.filter-tabs { display: flex; gap: 6px; }
.filter-tabs a { padding: 6px 14px; background: #f0f0f0; border-radius: 4px; text-decoration: none; font-size: 13px; color: #555; transition: background 0.2s; }
.filter-tabs a.active, .filter-tabs a:hover { background: #e87722; color: #fff; }

/* Full search page filters (Phase 2) */
.page-layout--search { grid-template-columns: 300px 1fr; }
.filter-range { display: flex; align-items: center; gap: 6px; }
.filter-range .filter-input { width: auto; flex: 1 1 0; min-width: 0; }
.filter-range-sep { color: #bbb; font-size: 12px; flex-shrink: 0; }
.filter-range--stacked { gap: 8px; }
.filter-range--stacked .filter-range-col { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.filter-range-hint { font-size: 10px; font-weight: 600; color: #b8b8b8; text-transform: uppercase; letter-spacing: 0.4px; }
.filter-check-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.filter-check-head .filter-label { margin-bottom: 0; }
.filter-all-toggle { display: flex; align-items: center; gap: 4px; font-size: 11px; color: #999; cursor: pointer; font-weight: 600; text-transform: none; letter-spacing: 0; }
.filter-check-list { max-height: 170px; overflow-y: auto; border: 1px solid #eee; border-radius: 4px; padding: 6px 10px; background: #fafafa; }
.filter-check-item { display: flex; align-items: center; gap: 7px; font-size: 13px; color: #444; padding: 4px 0; cursor: pointer; }
.filter-check-item input { flex-shrink: 0; }
.filter-check-item--standalone { border: none; padding: 0; background: none; }

/* ─── Dedicated Search page (gasa-style, orange brand) ─── */
.search-page-wrap { max-width: 1300px; margin: 20px auto 40px; padding: 0 16px; }

/* Tabs bar */
.search-tabs-bar { background: #fff; border-bottom: 1px solid #eee; }
.search-tabs-inner { max-width: 1300px; margin: 0 auto; padding: 0 16px; display: flex; gap: 4px; }
.s-tab { padding: 12px 18px; text-decoration: none; color: #666; font-size: 13px; font-weight: 700; border-bottom: 3px solid transparent; transition: color 0.15s, border-color 0.15s; }
.s-tab:hover { color: #e87722; }
.s-tab.active { color: #e87722; border-bottom-color: #e87722; }

/* Panels */
.search-full-panel { background: #fff; border: 1px solid #e8e8e8; border-radius: 8px; padding: 20px; box-shadow: 0 2px 12px rgba(0,0,0,0.05); }
.sf-label { display: block; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.6px; color: #e87722; margin-bottom: 5px; }

.sf-top-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; padding: 10px 12px; background: #fff8f0; border-radius: 6px; margin-bottom: 12px; }
@media (max-width: 900px) { .sf-top-grid { grid-template-columns: repeat(2, 1fr); } }

.sf-mid-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; padding: 10px 12px; background: #fff8f0; border-radius: 6px; margin-bottom: 12px; }
@media (max-width: 900px) { .sf-mid-grid { grid-template-columns: repeat(2, 1fr); } }
.sf-mid-block { display: flex; flex-direction: column; gap: 6px; }
.sf-mid-row { display: flex; align-items: center; gap: 8px; }
.sf-mid-label { flex: 0 0 90px; font-size: 11px; font-weight: 700; text-transform: uppercase; color: #999; letter-spacing: 0.4px; }
.sf-mid-row .filter-input { flex: 1 1 auto; padding: 6px 8px; font-size: 13px; }

.sf-keyword-row { padding: 10px 12px; margin-bottom: 12px; }
.sf-keyword-row .filter-input { width: 100%; }

.sf-checks-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 12px; }
@media (max-width: 900px) { .sf-checks-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .sf-checks-grid { grid-template-columns: 1fr; } }
.sf-check-block { background: #fafafa; border: 1px solid #eee; border-radius: 6px; padding: 8px; display: flex; flex-direction: column; }
.sf-check-head { display: flex; align-items: center; gap: 8px; padding: 4px 6px 8px; border-bottom: 1px solid #eee; margin-bottom: 6px; flex-wrap: wrap; }
.sf-check-title { font-size: 12px; font-weight: 700; color: #333; text-transform: uppercase; letter-spacing: 0.5px; }
.sf-check-all { margin-left: auto; font-size: 11px; color: #666; display: inline-flex; align-items: center; gap: 4px; cursor: pointer; }
.sf-check-search { flex: 1 1 100%; margin-top: 4px; padding: 5px 8px; border: 1px solid #ddd; border-radius: 4px; font-size: 12px; outline: none; }
.sf-check-search:focus { border-color: #e87722; }
.sf-show-only { display: block; font-size: 11px; color: #666; margin-bottom: 4px; padding: 0 6px; cursor: pointer; }
.sf-show-only input { margin-right: 4px; }
.sf-check-list { max-height: 170px; overflow-y: auto; padding: 0 4px; background: #fff; border-radius: 4px; }
.sf-check-list--tall { max-height: 220px; }
.sf-check-item { display: flex; align-items: center; gap: 6px; font-size: 12px; color: #333; padding: 4px 4px; cursor: pointer; border-bottom: 1px solid #f5f5f5; }
.sf-check-item:last-child { border-bottom: none; }
.sf-check-item:hover { background: #fff8f0; }
.sf-check-item input { flex-shrink: 0; }
.sf-star-badge { color: #f59e0b; }
.sf-stars-mini { color: #f59e0b; font-size: 10px; margin-left: 3px; }
.sf-sub-head { font-size: 10px; color: #999; text-transform: uppercase; letter-spacing: 0.5px; padding: 8px 4px 4px; border-top: 1px dashed #e8e8e8; margin-top: 6px; }

.sf-bottom-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px; background: #fff8f0; border-radius: 6px; flex-wrap: wrap; }
.sf-bottom-checks { display: flex; gap: 18px; flex-wrap: wrap; }
.sf-bottom-checks .sf-check-item { padding: 4px 8px; background: #fff; border: 1px solid #eee; border-radius: 4px; }
.sf-submit-cell { display: flex; align-items: center; gap: 12px; }
.search-form-submit { background: #e87722; color: #fff; border: none; padding: 10px 28px; border-radius: 6px; font-size: 14px; font-weight: 700; cursor: pointer; transition: background 0.2s; }
.search-form-submit:hover { background: #cf6510; }

/* Legend */
.sf-legend { display: flex; flex-wrap: wrap; gap: 22px; padding: 10px 4px; margin: 16px 0; font-size: 12px; color: #666; }
.sf-legend-item { display: inline-flex; align-items: center; gap: 6px; }
.sf-legend-sw { width: 18px; height: 12px; border-radius: 2px; display: inline-block; }
.sf-legend-sw--green    { background: #d4edda; }
.sf-legend-sw--red      { background: #fdd; }
.sf-legend-sw--yellow   { background: #fff3b0; }
.sf-legend-sw--discount { background: #ffe4cc; border: 1px solid #e87722; }

/* Results table */
.search-results-wrap { margin-top: 4px; }
.search-results-table-wrap { overflow-x: auto; background: #fff; border: 1px solid #e8e8e8; border-radius: 8px; box-shadow: 0 2px 12px rgba(0,0,0,0.05); }
.search-results-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.search-results-table th { text-align: left; padding: 10px 14px; background: #faf7f4; color: #999; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.6px; border-bottom: 1px solid #eee; white-space: nowrap; }
.search-results-table td { padding: 10px 14px; border-bottom: 1px solid #f0f0f0; color: #333; vertical-align: middle; }
.search-results-table tbody tr:hover        { background: #fff8f4; }
.search-results-table tbody tr.sr-row--stop { background: #fdd; }
.search-results-table tbody tr.sr-row--instant { background: #eaf7ec; }
.search-results-table tbody tr.sr-row--best { background: #fffbde; }
.search-results-table tbody tr.sr-row--discount { background: #ffe9d6; }
.sr-tour-link { color: #1a1a1a; font-weight: 600; text-decoration: none; }
.sr-tour-link:hover { color: #e87722; }
.sr-mini-badge { font-size: 10px; font-weight: 700; margin-left: 6px; }
.sr-mini-badge--discount { color: #dc2626; }
.sr-stars { color: #f59e0b; font-size: 11px; margin-left: 4px; }
.sr-thumb-cell { width: 76px; padding: 6px 10px; }
.sr-thumb { display: block; width: 64px; height: 46px; border-radius: 5px; overflow: hidden; border: 1px solid #eee; background: #fafafa; }
.sr-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sr-thumb-empty { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; color: #ccc; font-size: 14px; }

/* ─── Themed date picker (orange, replaces native blue mm/dd/yyyy) ─── */
.tdp-wrap { position: relative; display: block; width: 100%; }
.tdp-input { cursor: pointer; background-image: none !important; }
.tdp-input::-webkit-calendar-picker-indicator { display: none !important; }
/* Popup uses position:fixed so parent overflow / z-index never clips it (fixes homepage hero clipping) */
.tdp-pop { position: fixed; z-index: 9999; width: 248px; background: #fff; border: 1px solid #e0e0e0; border-radius: 10px; box-shadow: 0 12px 32px rgba(0,0,0,0.22); padding: 10px 12px; display: none; }
.tdp-pop.tdp-open { display: block; }
.tdp-head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 8px; margin-bottom: 6px; border-bottom: 1px solid #f2f2f2; }
.tdp-title { font-size: 12px; font-weight: 700; color: #e87722; letter-spacing: 0.3px; }
.tdp-nav { background: none; border: none; color: #e87722; font-size: 18px; line-height: 1; cursor: pointer; padding: 2px 8px; border-radius: 4px; transition: background 0.15s; }
.tdp-nav:hover { background: #fff3e8; }
.tdp-dow { display: grid; grid-template-columns: repeat(7, 1fr); text-align: center; font-size: 9px; font-weight: 700; color: #b8b8b8; margin-bottom: 3px; text-transform: uppercase; letter-spacing: 0.3px; }
.tdp-days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.tdp-day { text-align: center; font-size: 12px; padding: 6px 0; border-radius: 5px; color: #333; cursor: pointer; transition: background 0.15s, color 0.15s; user-select: none; }
.tdp-day:hover { background: #fff3e8; color: #e87722; }
.tdp-day.tdp-empty { cursor: default; }
.tdp-day.tdp-empty:hover { background: transparent; }
.tdp-day.tdp-today { background: #fff3e8; color: #e87722; font-weight: 700; }
.tdp-day.tdp-selected, .tdp-day.tdp-selected:hover { background: #e87722; color: #fff; font-weight: 700; }
.tdp-foot { display: flex; justify-content: space-between; padding-top: 6px; margin-top: 6px; border-top: 1px solid #f2f2f2; font-size: 11px; }
.tdp-action { color: #888; cursor: pointer; padding: 3px 6px; border-radius: 3px; transition: color 0.15s; }
.tdp-action:hover { color: #e87722; background: #fff8f0; }

/* ─── Hotel detail — Room categories + Contact/info sidebar ─── */
.hotel-rooms-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; margin-top: 12px; }
.hotel-room-item { display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: #fff8f0; border: 1px solid #ffe3c8; border-radius: 8px; }
.hotel-room-icon { font-size: 20px; }
.hotel-room-name { font-size: 14px; font-weight: 600; color: #333; }
.hotel-info-card { padding: 6px 4px 0; }
.hotel-info-lead { font-size: 13px; color: #555; line-height: 1.5; margin: 0 0 14px; }
.hotel-info-contacts { list-style: none; padding: 0; margin: 0 0 16px; display: flex; flex-direction: column; gap: 8px; }
.hotel-info-contacts li { font-size: 14px; color: #333; }
.hotel-info-contacts a { color: #e87722; text-decoration: none; font-weight: 600; }
.hotel-info-contacts a:hover { text-decoration: underline; }

/* ─── Country info tabs (Rules / Tips / Visa) ─── */
.country-info-tabs { background: #fff; border: 1px solid #ffe3c8; border-radius: 10px; overflow: hidden; }
.ci-tabs { display: flex; background: #fff8f0; border-bottom: 1px solid #ffe3c8; }
.ci-tab { flex: 1; padding: 14px 16px; background: none; border: none; font-size: 14px; font-weight: 700; color: #888; cursor: pointer; border-bottom: 3px solid transparent; transition: color 0.15s, border-color 0.15s, background 0.15s; }
.ci-tab:hover { color: #e87722; background: #fff; }
.ci-tab.active { color: #e87722; border-bottom-color: #e87722; background: #fff; }
.ci-body { display: none; padding: 20px 24px; font-size: 15px; line-height: 1.65; color: #333; }
.ci-body.active { display: block; }
.ci-body p, .ci-body ul, .ci-body ol { margin: 0 0 12px; }
.ci-body ul, .ci-body ol { padding-left: 20px; }

/* ─── Visa page ─── */
.visa-inner { padding-top: 24px; padding-bottom: 40px; }
.visa-lead { color: #666; font-size: 15px; margin: 0 0 22px; }
.visa-country-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 14px; }
.visa-country-card { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 18px 14px; background: #fff; border: 1px solid #eee; border-radius: 10px; text-decoration: none; color: #333; transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s; }
.visa-country-card:hover { transform: translateY(-3px); box-shadow: 0 6px 18px rgba(232,119,34,0.18); border-color: #e87722; }
.visa-country-card.active { border-color: #e87722; background: #fff8f0; }
.visa-country-card img { width: 72px; height: 48px; object-fit: cover; border-radius: 6px; }
.visa-country-flag { font-size: 40px; }
.visa-country-name { font-size: 14px; font-weight: 700; text-align: center; }
.visa-country-card--empty { opacity: 0.6; }
.visa-country-empty-note { font-size: 10px; color: #999; text-transform: uppercase; letter-spacing: 0.4px; }
.visa-detail { margin-top: 32px; background: #fff; border: 1px solid #ffe3c8; border-radius: 10px; padding: 24px 26px; }
.visa-detail-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.visa-detail-head .section-heading { margin: 0; }
.visa-back { color: #999; text-decoration: none; font-size: 13px; }
.visa-back:hover { color: #e87722; }
.visa-body { font-size: 15px; line-height: 1.7; color: #333; }
.visa-body p, .visa-body ul, .visa-body ol { margin: 0 0 12px; }
.visa-body ul, .visa-body ol { padding-left: 20px; }

/* ─── Transfer form (Task 11) ─── */
.transfer-inner { padding-top: 20px; padding-bottom: 40px; }
.transfer-lead { color: #555; font-size: 15px; margin: 0 0 24px; line-height: 1.6; }
.transfer-form { background: #fff; border: 1px solid #eee; border-radius: 12px; padding: 26px 28px; box-shadow: 0 2px 12px rgba(0,0,0,0.04); }
.transfer-section { margin-bottom: 26px; }
.transfer-section:last-of-type { margin-bottom: 12px; }
.transfer-section-title { font-size: 13px; font-weight: 700; color: #e87722; text-transform: uppercase; letter-spacing: 0.6px; margin: 0 0 12px; padding-bottom: 8px; border-bottom: 1px solid #ffe3c8; }
.transfer-sub-hint { font-size: 12px; color: #999; margin: -6px 0 12px; }
.transfer-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.bform-group--wide { grid-column: 1 / -1; }

.transfer-radio-row { display: flex; gap: 12px; flex-wrap: wrap; }
.transfer-radio-row--inline { gap: 8px; }
.transfer-radio-card { flex: 1 1 160px; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 14px 12px; background: #fafafa; border: 2px solid #eee; border-radius: 8px; cursor: pointer; text-align: center; transition: border-color 0.15s, background 0.15s; }
.transfer-radio-card input { display: none; }
.transfer-radio-card:has(input:checked) { border-color: #e87722; background: #fff8f0; }
.tr-radio-icon { font-size: 28px; }
.tr-radio-label { font-size: 13px; font-weight: 600; color: #333; }
.transfer-radio-chip { padding: 6px 12px; background: #fafafa; border: 1px solid #ddd; border-radius: 6px; font-size: 13px; cursor: pointer; }
.transfer-radio-chip input { display: none; }
.transfer-radio-chip:has(input:checked) { background: #fff3e8; border-color: #e87722; color: #e87722; font-weight: 600; }

.transfer-car-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.transfer-car-card { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 16px 12px; background: #fafafa; border: 2px solid #eee; border-radius: 10px; cursor: pointer; text-align: center; transition: border-color 0.15s, background 0.15s, transform 0.15s; }
.transfer-car-card input { display: none; }
.transfer-car-card:hover { transform: translateY(-2px); }
.transfer-car-card:has(input:checked) { border-color: #e87722; background: #fff8f0; }
.transfer-car-card--admin:has(input:checked) { border-style: dashed; }
.tr-car-icon { font-size: 32px; }
.tr-car-label { font-size: 13px; font-weight: 700; color: #333; }
.tr-car-price { font-size: 14px; font-weight: 700; color: #e87722; }

.transfer-extras-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px; }
.transfer-extra-card { display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: #fafafa; border: 2px solid #eee; border-radius: 8px; cursor: pointer; transition: border-color 0.15s, background 0.15s; }
.transfer-extra-card input { display: none; }
.transfer-extra-card:has(input:checked) { border-color: #16a34a; background: #f0fdf4; }
.tr-ext-icon { font-size: 22px; flex-shrink: 0; }
.tr-ext-label { flex: 1; font-size: 13px; font-weight: 600; color: #333; }
.tr-ext-price { font-size: 12px; font-weight: 700; color: #16a34a; }

.transfer-submit-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px; margin: 20px -28px -26px; background: #fff8f0; border-top: 1px solid #ffe3c8; border-radius: 0 0 12px 12px; flex-wrap: wrap; }
.transfer-total { display: flex; flex-direction: column; gap: 2px; }
.transfer-total-label { font-size: 12px; color: #999; text-transform: uppercase; letter-spacing: 0.6px; }
.transfer-total-value { font-size: 26px; font-weight: 800; color: #e87722; }
.transfer-submit-row .bform-submit { min-width: 200px; padding: 14px 24px; }

/* ─── Tour PDF documents (Task 6) ─── */
.tour-pdf-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 10px; margin-top: 8px; }
.tour-pdf-item { display: flex; align-items: center; gap: 12px; padding: 12px 16px; background: #fff8f0; border: 1px solid #ffe3c8; border-radius: 8px; text-decoration: none; color: #333; transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s; }
.tour-pdf-item:hover { transform: translateY(-2px); box-shadow: 0 4px 14px rgba(232,119,34,0.18); border-color: #e87722; }
.tour-pdf-icon { font-size: 26px; flex-shrink: 0; }
.tour-pdf-name { flex: 1; font-size: 14px; font-weight: 600; }
.tour-pdf-download { font-size: 11px; color: #e87722; font-weight: 700; text-transform: uppercase; letter-spacing: 0.6px; }

/* ─── Georgia page (Task 12) ─── */
.page-hero--georgia { min-height: 260px; }
.page-hero--georgia .hero-overlay { position: absolute; inset: 0; background: linear-gradient(120deg, rgba(0,0,0,0.55), rgba(0,0,0,0.25)); }
.page-hero--georgia .page-hero-inner { position: relative; z-index: 2; }
.georgia-pillars { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
.geo-pillar { display: flex; align-items: center; gap: 14px; padding: 18px 20px; background: #fff; border: 2px solid #eee; border-radius: 12px; text-decoration: none; color: #333; transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s; }
.geo-pillar:hover { transform: translateY(-3px); box-shadow: 0 8px 22px rgba(232,119,34,0.18); border-color: #e87722; }
.geo-pillar-icon { font-size: 34px; flex-shrink: 0; }
.geo-pillar-name { flex: 1; font-size: 15px; font-weight: 700; }
.geo-pillar-count { font-size: 14px; font-weight: 700; color: #e87722; background: #fff3e8; border-radius: 20px; padding: 4px 12px; min-width: 32px; text-align: center; }
.geo-pillar--accent { background: linear-gradient(135deg, #e87722, #cf6510); color: #fff; border-color: transparent; }
.geo-pillar--accent .geo-pillar-count { background: rgba(255,255,255,0.25); color: #fff; }
.geo-pillar--accent:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(232,119,34,0.35); }

.georgia-transfer-cta { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 26px 30px; background: linear-gradient(135deg, #fff8f0, #ffe3c8); border-radius: 14px; border: 1px solid #ffe3c8; flex-wrap: wrap; }
.gtc-body { display: flex; align-items: center; gap: 18px; flex: 1 1 340px; }
.gtc-icon { font-size: 48px; flex-shrink: 0; }
.gtc-text { flex: 1; }
.gtc-title { margin: 0 0 4px; font-size: 20px; color: #333; }
.gtc-lead { margin: 0; font-size: 14px; color: #666; line-height: 1.55; }
.gtc-btn { display: inline-block; padding: 14px 26px; background: #e87722; color: #fff; text-decoration: none; border-radius: 8px; font-weight: 700; font-size: 14px; transition: background 0.2s, transform 0.2s; white-space: nowrap; }
.gtc-btn:hover { background: #cf6510; transform: translateY(-2px); }

/* ─── Phosphor icon defaults ─── */
i.ph, i.ph-duotone, i.ph-fill, i.ph-bold, i.ph-thin, i.ph-light { display: inline-block; vertical-align: middle; line-height: 1; }
.ph-brand { color: #e87722; }
.ph-brand-dim { color: #ffb374; }
.ph-danger { color: #dc2626; }
.ph-success { color: #16a34a; }
.ph-warn    { color: #f59e0b; }

/* ─── Tours page — horizontal filter bar + Grid/List view toggle ─── */
.tours-page-wrap { max-width: 1300px; margin: 24px auto 40px; padding: 0 16px; }

.tours-filter-bar { background: #fff; border: 1px solid #eee; border-radius: 12px; box-shadow: 0 2px 12px rgba(0,0,0,0.04); margin-bottom: 20px; overflow: hidden; }
.tfb-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 18px; background: #fff8f0; border-bottom: 1px solid #ffe3c8; }
.tfb-toggle { display: inline-flex; align-items: center; gap: 10px; background: none; border: none; font-size: 15px; font-weight: 700; color: #e87722; cursor: pointer; padding: 4px 6px; border-radius: 6px; }
.tfb-toggle:hover { background: rgba(232,119,34,0.08); }
.tfb-toggle i { font-size: 22px; }
.tfb-toggle-arrow { display: inline-flex; margin-left: 4px; transition: transform 0.2s; }
.tours-filter-bar.is-collapsed .tfb-toggle-arrow { transform: rotate(-90deg); }
.tours-filter-bar.is-collapsed .tfb-form { display: none; }

.tfb-view-toggle { display: inline-flex; gap: 4px; background: #fff; border: 1px solid #ffe3c8; border-radius: 8px; padding: 3px; }
.tfb-view-btn { padding: 7px 12px; border-radius: 6px; color: #999; text-decoration: none; font-size: 18px; transition: background 0.15s, color 0.15s; line-height: 1; display: inline-flex; align-items: center; }
.tfb-view-btn:hover { color: #e87722; background: #fff8f0; }
.tfb-view-btn.is-active { background: #e87722; color: #fff; }

.tfb-form { padding: 18px 20px; }
.tfb-row { display: flex; gap: 14px; margin-bottom: 14px; flex-wrap: wrap; }
.tfb-row:last-child { margin-bottom: 0; }
.tfb-row--submit { align-items: center; justify-content: space-between; padding-top: 6px; border-top: 1px dashed #ffd7a6; }
.tfb-field { flex: 1 1 200px; min-width: 160px; display: flex; flex-direction: column; }
.tfb-field--grow { flex: 2 1 280px; }
.tfb-field--range { flex: 1 1 240px; }
.tfb-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.6px; color: #e87722; margin-bottom: 5px; }
.tfb-range-pair { display: flex; gap: 8px; }
.tfb-range-col { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.tfb-range-hint { font-size: 10px; font-weight: 600; color: #b8b8b8; text-transform: uppercase; letter-spacing: 0.4px; }
.tfb-check-list { max-height: 130px; }
.tfb-actions { display: flex; align-items: center; gap: 10px; }
.tfb-submit { width: auto; padding: 10px 24px; display: inline-flex; align-items: center; gap: 6px; }

/* Result count */
.tours-result-count { display: flex; align-items: center; gap: 8px; padding: 10px 14px; margin-bottom: 14px; color: #666; font-size: 13px; }
.tours-result-count i { font-size: 20px; }

/* Tour GRID view */
.tours-grid-view { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }

/* Tour LIST view (horizontal cards) */
.tours-list-view { display: flex; flex-direction: column; gap: 14px; }
.tour-list-card { display: flex; gap: 20px; padding: 18px; background: #fff; border: 1px solid #eee; border-radius: 12px; text-decoration: none; color: inherit; transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s; }
.tour-list-card:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(232,119,34,0.14); border-color: #ffd7a6; }
.tlc-img { position: relative; flex: 0 0 220px; height: 150px; border-radius: 8px; overflow: hidden; background: #fafafa; }
.tlc-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tlc-body { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.tlc-title { margin: 4px 0 4px; font-size: 18px; font-weight: 800; color: #1a1a1a; }
.tlc-meta { display: flex; flex-wrap: wrap; gap: 14px; color: #666; font-size: 13px; }
.tlc-meta span { display: inline-flex; align-items: center; gap: 4px; }
.tlc-desc { color: #888; font-size: 13px; line-height: 1.55; margin: 4px 0 0; }
.tlc-side { flex: 0 0 auto; display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; padding-left: 12px; border-left: 1px solid #f0f0f0; min-width: 130px; }
.tlc-price-block { display: flex; flex-direction: column; align-items: flex-end; }
.tlc-price-block .feat-price { font-size: 22px; font-weight: 800; }
.tlc-cta { display: inline-flex; align-items: center; gap: 6px; padding: 9px 18px; font-size: 13px; }

@media (max-width: 780px) {
  .tour-list-card { flex-direction: column; }
  .tlc-img { flex: none; width: 100%; height: 180px; }
  .tlc-side { align-items: stretch; padding-left: 0; padding-top: 12px; border-left: none; border-top: 1px solid #f0f0f0; flex-direction: row; justify-content: space-between; }
}

/* ─── Agencies page (custom, non-CMS) ─── */
.agencies-hero { background: linear-gradient(135deg, #e87722 0%, #cf6510 100%); color: #fff; padding: 56px 16px 48px; text-align: center; position: relative; overflow: hidden; }
.agencies-hero::before, .agencies-hero::after { content: ""; position: absolute; border-radius: 50%; background: rgba(255,255,255,0.08); }
.agencies-hero::before { width: 340px; height: 340px; top: -100px; left: -100px; }
.agencies-hero::after  { width: 260px; height: 260px; bottom: -80px; right: -70px; }
.agencies-hero-inner { position: relative; z-index: 1; max-width: 780px; margin: 0 auto; }
.agencies-hero-icon { font-size: 60px; margin-bottom: 12px; opacity: 0.95; }
.agencies-hero-title { font-size: 40px; font-weight: 800; margin: 0 0 12px; text-shadow: 0 2px 8px rgba(0,0,0,0.18); }
.agencies-hero-lead { font-size: 16px; line-height: 1.6; margin: 0 auto 26px; max-width: 640px; opacity: 0.96; }
.agencies-hero-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.agencies-btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px; border-radius: 8px; text-decoration: none; font-weight: 700; font-size: 14px; transition: transform 0.15s, background 0.2s, box-shadow 0.2s; }
.agencies-btn--primary { background: #fff; color: #e87722; box-shadow: 0 4px 14px rgba(0,0,0,0.14); }
.agencies-btn--primary:hover { transform: translateY(-2px); background: #fff8f0; }
.agencies-btn--outline { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,0.7); }
.agencies-btn--outline:hover { background: rgba(255,255,255,0.14); }

.agencies-section { padding: 40px 0; background: #fafafa; }
.agencies-inner { max-width: 1260px; margin: 0 auto; padding: 0 16px; }

/* 3-column layout on desktop — matches the 3 benefit cards; auto-drops to 2 then 1 on smaller viewports */
.agencies-benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 40px; }
@media (max-width: 900px) { .agencies-benefits { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .agencies-benefits { grid-template-columns: 1fr; } }
.agency-benefit { background: #fff; border: 1px solid #eee; border-radius: 12px; padding: 22px 20px; transition: transform 0.15s, box-shadow 0.15s; }
.agency-benefit:hover { transform: translateY(-3px); box-shadow: 0 8px 22px rgba(232,119,34,0.12); }
.ab-icon { font-size: 40px; margin-bottom: 10px; }
.ab-title { font-size: 16px; font-weight: 800; color: #333; margin: 0 0 6px; }
.ab-lead { font-size: 13px; line-height: 1.55; color: #666; margin: 0; }

.agencies-body { background: #fff; border: 1px solid #eee; border-radius: 12px; padding: 26px; margin-bottom: 32px; font-size: 15px; line-height: 1.7; color: #333; }

.agencies-tours-head { display: flex; align-items: center; gap: 14px; margin: 12px 0 18px; }
.agencies-tours-head .section-heading { margin: 0; }
.agencies-count-badge { background: #e87722; color: #fff; font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 20px; }

.agencies-empty { background: #fff; border: 2px dashed #ffd7a6; border-radius: 12px; padding: 44px 26px; text-align: center; }
.agencies-empty h3 { font-size: 20px; margin: 14px 0 8px; color: #333; }
.agencies-empty p { color: #666; max-width: 520px; margin: 0 auto 20px; line-height: 1.6; }
.agencies-empty .agencies-btn--primary { background: #e87722; color: #fff; }
.agencies-empty .agencies-btn--primary:hover { background: #cf6510; }

.agencies-contact-cta { display: flex; align-items: center; gap: 20px; padding: 26px 30px; margin-top: 40px; background: linear-gradient(135deg, #fff8f0, #ffe3c8); border: 1px solid #ffe3c8; border-radius: 14px; flex-wrap: wrap; }
.acc-icon { font-size: 48px; color: #e87722; flex-shrink: 0; }
.acc-text { flex: 1 1 260px; }
.acc-text h3 { margin: 0 0 4px; font-size: 19px; color: #333; }
.acc-text p { margin: 0; font-size: 14px; color: #666; line-height: 1.55; }
.agencies-contact-cta .agencies-btn { background: #e87722; color: #fff; }
.agencies-contact-cta .agencies-btn:hover { background: #cf6510; transform: translateY(-2px); }

@media (max-width: 640px) {
  .agencies-hero-title { font-size: 28px; }
  .agencies-hero-lead { font-size: 14px; }
  .agencies-hero { padding: 40px 16px 32px; }
}

/* ─── Homepage trip-cost calculator (Task 1) — compact layout ─── */
.calc-section { max-width: 1260px; margin: 24px auto 8px; padding: 0 16px; }
.calc-card { background: linear-gradient(135deg, #fff, #fff8f0); border: 1px solid #ffe3c8; border-radius: 12px; padding: 18px 22px; box-shadow: 0 3px 12px rgba(232,119,34,0.08); display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.calc-head { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; padding-right: 20px; border-right: 1px dashed #ffd7a6; }
.calc-head-icon { font-size: 34px; flex-shrink: 0; color: #e87722; }
.calc-head-title { margin: 0; font-size: 18px; color: #333; font-weight: 800; letter-spacing: 0.2px; white-space: nowrap; }
.calc-head-lead { display: none; /* hidden in compact mode — the label is enough */ }
.calc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; flex: 1 1 500px; margin: 0; }
.calc-field { display: flex; flex-direction: column; }
.calc-label { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; color: #e87722; margin-bottom: 3px; }
.calc-input { padding: 7px 10px; border: 1px solid #ffd7a6; border-radius: 6px; font-size: 13px; color: #333; background: #fff; outline: none; font-family: inherit; transition: border-color 0.15s, box-shadow 0.15s; width: 100%; box-sizing: border-box; }
.calc-input:focus { border-color: #e87722; box-shadow: 0 0 0 2px rgba(232,119,34,0.12); }
.calc-result { flex: 0 0 auto; padding-left: 20px; border-left: 1px dashed #ffd7a6; min-width: 220px; }
.calc-result-empty { color: #999; font-size: 12px; font-style: italic; text-align: center; padding: 4px 0; }
.calc-result-row { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-bottom: 4px; }
.calc-result-label { font-size: 10px; color: #999; text-transform: uppercase; letter-spacing: 0.5px; font-weight: 700; }
.calc-result-range { font-size: 18px; font-weight: 800; color: #e87722; }
.calc-result-avg { font-size: 13px; font-weight: 700; color: #666; }
.calc-cta { display: inline-flex; align-items: center; gap: 4px; margin-top: 6px; padding: 6px 14px; background: #e87722; color: #fff; text-decoration: none; border-radius: 5px; font-weight: 700; font-size: 12px; transition: background 0.2s, transform 0.15s; }
.calc-cta:hover { background: #cf6510; transform: translateY(-1px); }
@media (max-width: 980px) {
  .calc-head { padding-right: 0; border-right: none; padding-bottom: 12px; border-bottom: 1px dashed #ffd7a6; width: 100%; }
  .calc-result { padding-left: 0; border-left: none; padding-top: 12px; border-top: 1px dashed #ffd7a6; width: 100%; }
  .calc-grid { flex: 1 1 100%; }
}
@media (max-width: 600px) { .calc-grid { grid-template-columns: repeat(2, 1fr); } }

.page-main { }
.empty-state { text-align: center; padding: 60px; color: #888; font-size: 16px; }
.empty-state a { color: #e87722; }

/* ─── TOUR DETAIL ─── */
.tour-detail { max-width: 1260px; margin: 32px auto; padding: 0 16px; }
.tour-detail-inner { display: grid; grid-template-columns: 1fr 340px; gap: 32px; align-items: start; }
.tour-detail-left { }
.tour-gallery { margin-bottom: 24px; }
.tour-main-img { width: 100%; height: 400px; object-fit: cover; border-radius: 8px; display: block; }
.tour-thumbnails { display: flex; gap: 8px; margin-top: 8px; overflow-x: auto; }
.tour-thumb { width: 80px; height: 55px; object-fit: cover; border-radius: 4px; cursor: pointer; border: 2px solid transparent; transition: border-color 0.2s; }
.tour-thumb:hover { border-color: #e87722; }
.tour-info-block { background: #fff; border-radius: 8px; padding: 24px; }
.tour-breadcrumb { font-size: 12px; color: #999; margin-bottom: 16px; }
.tour-breadcrumb a { color: #e87722; text-decoration: none; }
.tour-title { font-size: 26px; font-weight: 800; color: #1a1a1a; margin-bottom: 12px; line-height: 1.2; }
.tour-meta { display: flex; gap: 20px; margin-bottom: 20px; font-size: 14px; color: #666; flex-wrap: wrap; }
.tour-description { font-size: 15px; color: #444; line-height: 1.7; margin-bottom: 20px; }
.tour-includes { background: #fff8f4; border-left: 3px solid #e87722; padding: 16px; border-radius: 4px; margin-bottom: 24px; }
.tour-includes h3 { font-size: 14px; font-weight: 700; color: #e87722; margin-bottom: 8px; }
.fb-comments-section { margin-top: 32px; }

/* Booking sidebar */
.tour-sidebar { }
.booking-card { background: #fff; border: 1px solid #e8e8e8; border-radius: 8px; padding: 24px; position: sticky; top: 80px; }
.booking-price { display: flex; flex-direction: column; margin-bottom: 20px; }
.booking-price-label { font-size: 12px; color: #999; text-transform: uppercase; letter-spacing: 0.8px; }
.booking-price-amount { font-size: 32px; font-weight: 800; color: #e87722; }
.booking-price-old { font-size: 16px; color: #999; text-decoration: line-through; margin-right: 8px; }
.booking-discount-badge { display: inline-block; background: #dc2626; color: #fff; font-size: 11px; font-weight: 700; padding: 2px 7px; border-radius: 3px; vertical-align: middle; }
.booking-form { }
.booking-success { background: #d1fae5; color: #065f46; padding: 14px 18px; border-radius: 6px; font-size: 14px; font-weight: 600; }
.bform-group { margin-bottom: 14px; }
.bform-group label { display: block; font-size: 12px; font-weight: 600; color: #555; margin-bottom: 5px; }
.bform-group input, .bform-group select, .bform-group textarea {
  width: 100%; padding: 9px 12px;
  border: 1px solid #ddd; border-radius: 4px;
  font-size: 14px; color: #333;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s;
}
.bform-group input:focus, .bform-group select:focus, .bform-group textarea:focus { border-color: #e87722; }
.bform-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.bform-submit {
  width: 100%; padding: 12px;
  background: #e87722; color: #fff; border: none;
  border-radius: 4px; font-size: 15px; font-weight: 700;
  cursor: pointer; transition: background 0.2s;
}
.bform-submit:hover { background: #cf6510; }

/* ─── RATING ─── */
.rating-summary { background: #fff8f4; border-radius: 8px; padding: 20px; margin-bottom: 20px; }
.rating-summary h3 { font-size: 15px; font-weight: 700; color: #333; margin-bottom: 14px; }
.rating-criteria { display: flex; flex-direction: column; gap: 10px; }
.rating-crit-row { display: flex; align-items: center; gap: 10px; }
.crit-label { font-size: 13px; color: #555; width: 120px; flex-shrink: 0; }
.crit-bar { flex: 1; height: 8px; background: #eee; border-radius: 4px; overflow: hidden; }
.crit-fill { height: 100%; background: #e87722; border-radius: 4px; transition: width 0.5s ease; }
.crit-score { font-size: 13px; font-weight: 700; color: #e87722; width: 28px; text-align: right; }

.star-rating { display: flex; gap: 4px; align-items: center; }
.star-pick { font-size: 24px; color: #ddd; cursor: pointer; transition: color 0.15s; }
.star-pick.active, .star-pick:hover { color: #f59e0b; }

.rate-crit { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.rate-crit label { width: 120px; font-size: 13px; color: #555; flex-shrink: 0; }

.reviews-section { margin-top: 24px; }
.reviews-section h3 { font-size: 16px; font-weight: 700; margin-bottom: 16px; }
.review-card { background: #fafafa; border: 1px solid #eee; border-radius: 6px; padding: 14px; margin-bottom: 12px; }
.review-header { display: flex; justify-content: space-between; margin-bottom: 6px; }
.review-date { font-size: 12px; color: #999; }
.review-stars { margin-bottom: 6px; }
.review-text { font-size: 14px; color: #555; line-height: 1.6; }

/* ─── TOUR GALLERY GRID ─── */
.tour-gallery-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 24px; border-radius: 10px; overflow: hidden; }
.tour-gallery-grid--single { grid-template-columns: 1fr; }
.tour-gallery-grid--single .tgallery-main { grid-row: auto; }
.tour-gallery-grid--single .tgallery-main img { height: 420px; }
.tgallery-main { display: block; grid-row: span 2; }
.tgallery-main img { width: 100%; height: 380px; object-fit: cover; display: block; }
.tgallery-thumbs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.tgallery-thumbs a { position: relative; display: block; overflow: hidden; }
.tgallery-thumbs a img { width: 100%; height: 185px; object-fit: cover; display: block; transition: transform 0.25s; }
.tgallery-thumbs a:hover img { transform: scale(1.04); }
.tgallery-more { position: absolute; inset: 0; background: rgba(0,0,0,0.45); color: #fff; font-size: 20px; font-weight: 700; display: flex; align-items: center; justify-content: center; pointer-events: none; }
.hotel-stars-inline { color: #f59e0b; font-size: 18px; letter-spacing: 1px; }

/* ─── TOUR DETAIL SECTION HEADINGS ─── */
.tour-section { margin-bottom: 32px; }
.section-heading { font-size: 22px; font-weight: 800; color: #1a1a1a; margin-bottom: 18px; padding-bottom: 10px; border-bottom: 2px solid #f0f0f0; position: relative; }
.section-heading::after { content: ''; position: absolute; left: 0; bottom: -2px; width: 48px; height: 2px; background: #e87722; border-radius: 2px; }
.booking-price-sub { font-size: 12px; color: #999; margin-top: 2px; }

/* ─── TRIP INFO ─── */
.trip-info-section { margin-bottom: 32px; }
.trip-info-section .section-heading { margin-bottom: 18px; }
.trip-info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.trip-info-item { display: flex; align-items: flex-start; gap: 12px; background: #fafafa; border: 1px solid #eee; border-radius: 8px; padding: 14px 16px; }
.trip-icon { font-size: 22px; flex-shrink: 0; margin-top: 2px; }
.trip-item-label { font-size: 11px; color: #999; text-transform: uppercase; letter-spacing: 0.6px; margin-bottom: 3px; font-weight: 600; }
.trip-item-value { font-size: 14px; font-weight: 700; color: #222; }

/* ─── HIGHLIGHTS ─── */
.highlights-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.highlight-item { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: #444; line-height: 1.5; }
.highlight-icon { color: #e87722; font-size: 16px; flex-shrink: 0; margin-top: 1px; }

/* ─── MAP ─── */
.tour-map-wrap { border-radius: 8px; overflow: hidden; border: 1px solid #eee; }
.tour-map-wrap iframe { width: 100%; height: 320px; border: none; display: block; }

/* ─── WHAT'S INCLUDED ─── */
.included-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.included-title { font-size: 13px; font-weight: 700; margin-bottom: 12px; padding: 6px 12px; border-radius: 4px; display: inline-block; }
.included-title--yes { background: #d1fae5; color: #065f46; }
.included-title--no  { background: #fee2e2; color: #991b1b; }
.included-list { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.included-list li { display: flex; align-items: flex-start; gap: 8px; font-size: 14px; color: #444; line-height: 1.5; }
.inc-check { color: #16a34a; font-weight: 700; flex-shrink: 0; }
.inc-cross { color: #dc2626; font-weight: 700; flex-shrink: 0; }

/* ─── TOUR PLAN ─── */
.tour-plan-list { display: flex; flex-direction: column; gap: 0; }
.plan-day { display: flex; gap: 0; position: relative; }
.plan-day:not(:last-child)::before { content: ''; position: absolute; left: 19px; top: 42px; bottom: 0; width: 2px; background: #e8e8e8; z-index: 0; }
.plan-day-marker { width: 40px; min-width: 40px; display: flex; flex-direction: column; align-items: center; padding-top: 2px; }
.plan-day-num { width: 38px; height: 38px; border-radius: 50%; background: #e87722; color: #fff; font-size: 12px; font-weight: 700; display: flex; align-items: center; justify-content: center; position: relative; z-index: 1; flex-shrink: 0; }
.plan-day-marker--first .plan-day-num { background: #e87722; }
.plan-day-marker--last .plan-day-num { background: #555; }
.plan-day-body { padding: 4px 0 24px 16px; flex: 1; }
.plan-day-title { font-size: 15px; font-weight: 700; color: #1a1a1a; margin-bottom: 5px; }
.plan-day-desc { font-size: 14px; color: #666; line-height: 1.6; }

/* ─── FAQ ─── */
.faq-list { display: flex; flex-direction: column; gap: 8px; }
.faq-item { border: 1px solid #eee; border-radius: 7px; overflow: hidden; background: #fff; }
.faq-question { width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; background: none; border: none; font-size: 15px; font-weight: 600; color: #222; cursor: pointer; text-align: left; gap: 12px; transition: background 0.15s; }
.faq-question:hover { background: #fff8f4; }
.faq-icon { font-size: 22px; font-weight: 400; color: #e87722; flex-shrink: 0; line-height: 1; }
.faq-answer { display: none; padding: 0 20px; }
.faq-answer--open { display: block; padding: 0 20px 16px; }
.faq-answer p { font-size: 14px; color: #555; line-height: 1.7; margin: 0; }

/* ─── COUNTRIES ─── */
.countries-section { padding: 40px 0; }
.countries-inner { max-width: 1260px; margin: 0 auto; padding: 0 16px; }
.agency-banner { margin: 24px 0; border-radius: 10px; overflow: hidden; }
.agency-banner img { width: 100%; height: auto; display: block; }
.countries-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.country-card { text-decoration: none; color: inherit; border-radius: 8px; overflow: hidden; box-shadow: 0 2px 12px rgba(0,0,0,0.1); transition: transform 0.2s, box-shadow 0.2s; display: block; }
.country-card:hover { transform: translateY(-3px); box-shadow: 0 6px 20px rgba(0,0,0,0.15); }
.country-img-wrap img { width: 100%; height: 200px; object-fit: cover; display: block; }
.country-info { background: #fff; padding: 16px; }
.country-name { font-size: 18px; font-weight: 700; color: #1a1a1a; margin-bottom: 6px; }
.country-link { font-size: 13px; color: #e87722; font-weight: 600; }
.country-desc { font-size: 15px; color: #555; line-height: 1.7; max-width: 800px; margin-bottom: 12px; }

/* ─── CONTACT ─── */
.contact-section { padding: 40px 0; }
.contact-inner { max-width: 1260px; margin: 0 auto; padding: 0 16px; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.contact-info-block h2 { font-size: 22px; font-weight: 700; margin-bottom: 20px; }
.contact-list { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.contact-list li { font-size: 15px; color: #555; }
.contact-form h2 { font-size: 22px; font-weight: 700; margin-bottom: 20px; }

/* ─── CMS CONTENT ─── */
.cms-content { font-size: 15px; color: #444; line-height: 1.8; }
.cms-content h2 { font-size: 22px; font-weight: 700; color: #222; margin: 24px 0 12px; }
.cms-content p { margin-bottom: 16px; }

/* ─── FOOTER ─── */
.footer { background: #111; color: #ccc; }
.footer-inner { max-width: 1260px; margin: 0 auto; padding: 0 16px; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 40px; padding: 48px 0 40px; border-bottom: 1px solid #2a2a2a; }
.footer-logo { font-size: 22px; font-weight: 700; margin-bottom: 12px; letter-spacing: -0.5px; }
.footer-logo-img { height: 40px; width: auto; display: block; }
.footer-tagline { font-size: 13px; color: #888; line-height: 1.65; margin-bottom: 20px; }
.footer-socials { display: flex; gap: 8px; }
.social-link { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; border: 1px solid #333; color: #888; text-decoration: none; transition: border-color 0.2s, color 0.2s, background 0.2s; }
.social-link:hover { border-color: #e87722; color: #e87722; background: rgba(232,119,34,0.08); }
.footer-col-title { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: #fff; margin-bottom: 16px; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.footer-links a { color: #888; text-decoration: none; font-size: 13px; transition: color 0.2s; }
.footer-links a:hover { color: #e87722; }
.footer-contact { list-style: none; display: flex; flex-direction: column; gap: 9px; font-size: 13px; color: #888; }
.footer-hours { color: #666; font-size: 12px; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; padding: 18px 0; font-size: 12px; color: #555; }

/* ─── RESPONSIVE ─── */
@media (max-width: 1100px) {
  .footer-top { grid-template-columns: 1fr 1fr 1fr; gap: 24px; }
  .footer-brand { grid-column: 1 / -1; }
  .tours-grid { grid-template-columns: repeat(2, 1fr); }
  .tours-grid--3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .search-bar { flex-wrap: wrap; }
  .search-field { flex: 1 1 calc(33.333% - 8px); }
  .search-btn { flex: 1 1 calc(33.333% - 8px); justify-content: center; }
  .categories-grid { grid-template-columns: repeat(2, 1fr); }
  .bottom-section { grid-template-columns: 1fr; }
  .bottom-section--2col { grid-template-columns: 1fr; }
  .featured-middle-grid { grid-template-columns: repeat(3, 1fr); }
  .page-layout { grid-template-columns: 1fr; }
  .tour-detail-inner { grid-template-columns: 1fr; }
  .contact-inner { grid-template-columns: 1fr; }
  .countries-grid { grid-template-columns: repeat(2, 1fr); }
  .tours-grid--3 { grid-template-columns: repeat(2, 1fr); }
  .trip-info-grid { grid-template-columns: repeat(2, 1fr); }
  .included-grid { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
  .featured-middle-grid { grid-template-columns: repeat(2, 1fr); }
  .tours-grid { grid-template-columns: 1fr 1fr; }
  .tours-grid--3 { grid-template-columns: 1fr 1fr; }
  .inline-tours-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .tour-gallery-grid { grid-template-columns: 1fr; }
  .tgallery-main { grid-row: auto; }
  .tgallery-main img { height: 240px; }
  .tgallery-thumbs { grid-template-columns: repeat(4, 1fr); }
  .tgallery-thumbs a img { height: 70px; }
  .trip-info-grid { grid-template-columns: 1fr 1fr; }
  .highlights-grid { grid-template-columns: 1fr; }
  .nav { display: none; }
  .hero { height: 560px; }
  .promo-card { top: 34%; right: 16px; left: 16px; min-width: unset; }
  .hero .hero-swiper .swiper-pagination { bottom: 300px; }
  .search-bar { bottom: 16px; width: calc(100% - 24px); padding: 10px; gap: 8px; }
  .search-field { flex: 1 1 calc(50% - 8px); width: auto; min-height: 50px; border: 1px solid rgba(255,255,255,0.24); }
  .search-btn { flex: 1 1 100%; width: 100%; justify-content: center; padding: 14px; }
  .categories-grid { grid-template-columns: 1fr 1fr; }
  .featured-middle-grid { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .slide-dots { bottom: 88px; }
  .tours-grid { grid-template-columns: 1fr; }
  .tours-grid--3 { grid-template-columns: 1fr; }
  .inline-tours-grid { grid-template-columns: 1fr; }
  .page-hero-title { font-size: 24px; }
}

.code-pre { background: #f4f4f4; padding: 16px; border-radius: 6px; font-size: 12px; overflow-x: auto; margin: 12px 0; }
