/* ============================================================
   TOUR AGENCY — style.css
   Design tokens, reset, components, pages, RTL, responsive
   ============================================================ */

/* ========================
   1. DESIGN TOKENS / ROOT
   ======================== */
:root {
    --primary: #e8600a;
    --primary-dark: #c44f08;
    --primary-light: #fff0e6;
    --secondary: #1a3c5e;
    --secondary-dark: #122a44;
    --accent: #f5a623;
    --accent-dark: #d4891a;
    --success: #1e8f4e;
    --danger: #d63031;
    --text: #1a1a2e;
    --text-light: #666;
    --text-muted: #999;
    --bg: #fff;
    --bg-light: #f8f9fa;
    --bg-dark: #0f1e2e;
    --border: #e0e0e0;
    --radius: 12px;
    --radius-sm: 6px;
    --radius-lg: 20px;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.15);
    --shadow-strong: 0 12px 40px rgba(0, 0, 0, 0.2);
    --transition: all 0.25s ease;
    --header-h: 70px;
}

/* ========================
   2. RESET & BASE
   ======================== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

[dir="rtl"] body {
    font-family: 'Cairo', 'Inter', sans-serif;
}

a {
    text-decoration: none;
    color: inherit;
}

ul,
ol {
    list-style: none;
}

img {
    display: block;
    max-width: 100%;
}

button {
    font-family: inherit;
    cursor: pointer;
}

input,
select,
textarea {
    font-family: inherit;
}

/* ========================
   3. TYPOGRAPHY
   ======================== */
h1,
h2,
h3,
h4,
h5 {
    font-weight: 700;
    line-height: 1.3;
    color: var(--text);
}

h1 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
}

h2 {
    font-size: clamp(1.4rem, 2.5vw, 2rem);
}

h3 {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
}

h4 {
    font-size: 1.05rem;
}

p {
    margin-bottom: 1em;
}

p:last-child {
    margin-bottom: 0;
}

/* ========================
   4. CONTAINER & LAYOUT
   ======================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 72px 0;
}

.section-alt {
    background: var(--bg-light);
}

.section-title {
    font-size: clamp(1.5rem, 3vw, 2.1rem);
    font-weight: 800;
    color: var(--secondary);
    margin-bottom: 0.5rem;
}

.section-subtitle {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 2rem;
    gap: 1rem;
}

.section-header .section-title {
    margin-bottom: 0.25rem;
}

.view-all {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: var(--transition);
}

.view-all:hover {
    color: var(--primary-dark);
    gap: 8px;
}

/* ========================
   5. UTILITIES
   ======================== */

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.95rem;
    border: 2px solid transparent;
    transition: var(--transition);
    cursor: pointer;
    text-align: center;
    white-space: nowrap;
    line-height: 1.2;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(232, 96, 10, 0.35);
}

.btn-secondary {
    background: var(--secondary);
    color: #fff;
    border-color: var(--secondary);
}

.btn-secondary:hover {
    background: var(--secondary-dark);
    border-color: var(--secondary-dark);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: #fff;
}

.btn-outline-white {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.7);
}

.btn-outline-white:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: #fff;
}

.btn-whatsapp {
    background: #25D366;
    color: #fff;
    border-color: #25D366;
}

.btn-whatsapp:hover {
    background: #1da851;
    border-color: #1da851;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.35);
}

.btn-lg {
    padding: 15px 32px;
    font-size: 1.05rem;
    border-radius: var(--radius-sm);
}

.btn-sm {
    padding: 7px 14px;
    font-size: 0.82rem;
}

.btn-block {
    width: 100%;
}

/* Badges */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 10px;
    border-radius: 100px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.badge-primary {
    background: var(--primary-light);
    color: var(--primary);
}

.badge-secondary {
    background: rgba(26, 60, 94, 0.1);
    color: var(--secondary);
}

.badge-accent {
    background: rgba(245, 166, 35, 0.15);
    color: var(--accent-dark);
}

.badge-success {
    background: rgba(30, 143, 78, 0.1);
    color: var(--success);
}

.badge-danger {
    background: rgba(214, 48, 49, 0.1);
    color: var(--danger);
}

.badge-dark {
    background: rgba(0, 0, 0, 0.08);
    color: #555;
}

/* Stars */
.star-rating {
    display: inline-flex;
    gap: 2px;
    align-items: center;
    color: var(--accent);
    font-size: 0.85rem;
}

.star-rating .rating-value {
    color: var(--text);
    font-weight: 700;
    font-size: 0.9rem;
    margin-left: 4px;
}

.star-rating .rating-count {
    color: var(--text-muted);
    font-size: 0.8rem;
    font-weight: 400;
    margin-left: 2px;
}

/* Divider */
.divider {
    height: 1px;
    background: var(--border);
    margin: 1.5rem 0;
}

/* ========================
   6. HEADER
   ======================== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 900;
    height: var(--header-h);
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: saturate(160%) blur(10px);
    -webkit-backdrop-filter: saturate(160%) blur(10px);
    border-bottom: 1px solid rgba(16, 24, 40, 0.06);
    transition: box-shadow .25s ease, background .25s ease, border-color .25s ease;
}

.site-header.scrolled {
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 6px 24px rgba(16, 24, 40, .07);
    border-bottom-color: transparent;
}

.site-header .container,
.header-inner {
    height: 100%;
    display: flex;
    align-items: center;
    gap: 32px;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-left: auto;
    flex-shrink: 0;
}

/* Logo */
.logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    text-decoration: none;
    color: var(--text);
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text);
    line-height: 1;
    letter-spacing: -0.02em;
}

.logo-img {
    max-height: 40px;
    width: auto;
    display: block;
}

/* Main nav */
.main-nav {
    flex: 1;
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-links a {
    display: inline-block;
    padding: 8px 16px;
    color: var(--primary);
    font-size: 0.92rem;
    font-weight: 600;
    border-radius: 999px;
    text-decoration: none;
    background: rgba(232, 96, 10, 0.08);
    transition: color .18s ease, background .18s ease, box-shadow .18s ease;
}

.nav-links a:hover {
    color: #fff;
    background: var(--primary);
    box-shadow: 0 4px 14px rgba(232, 96, 10, .28);
}

.nav-links a.active {
    color: #fff;
    background: var(--primary);
}

/* Header actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

/* Language switcher */
.lang-switcher {
    display: inline-flex;
    gap: 2px;
    align-items: center;
    background: #f3f4f6;
    border-radius: 999px;
    padding: 3px;
}

.lang-switcher .lang-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    padding: 5px 10px;
    font-size: 0.74rem;
    font-weight: 700;
    color: var(--text-light);
    border-radius: 999px;
    text-decoration: none;
    transition: color .15s ease, background .15s ease;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.lang-switcher .lang-btn:hover {
    color: var(--text);
    background: rgba(16, 24, 40, 0.05);
}

.lang-switcher .lang-btn.active {
    color: #fff;
    background: var(--primary);
    box-shadow: 0 2px 8px rgba(232, 96, 10, .25);
}

/* Mobile hamburger */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text);
    font-size: 1.4rem;
    padding: 6px 10px;
    border-radius: 8px;
    transition: var(--transition);
    cursor: pointer;
    z-index: 1010;
    position: relative;
}

.mobile-menu-btn:hover {
    background: rgba(16, 24, 40, 0.06);
}

/* ========================
   7. MOBILE NAV DRAWER
   ======================== */
.mobile-nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 1040;
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}

.mobile-nav-overlay.active {
    display: block;
    animation: fadeIn 0.2s ease;
}

.mobile-nav-drawer {
    position: fixed;
    top: 0;
    right: -300px;
    width: 290px;
    height: 100vh;
    background: var(--secondary);
    z-index: 1050;
    transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.25);
    overflow-y: auto;
}

.mobile-nav-drawer.active {
    right: 0;
}

[dir="rtl"] .mobile-nav-drawer {
    right: auto;
    left: -300px;
    transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 4px 0 24px rgba(0, 0, 0, 0.25);
}

[dir="rtl"] .mobile-nav-drawer.active {
    left: 0;
    right: auto;
}

.mobile-nav-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    flex-shrink: 0;
}

.mobile-nav-close {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: var(--transition);
    line-height: 1;
}

.mobile-nav-close:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

.mobile-nav-links {
    flex: 1;
    padding: 10px 0;
}

.mobile-nav-links li a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 22px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.97rem;
    font-weight: 500;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    transition: var(--transition);
}

.mobile-nav-links li a:hover,
.mobile-nav-links li a.active {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

.mobile-nav-links li a.active {
    color: var(--accent);
    border-left: 3px solid var(--accent);
}

[dir="rtl"] .mobile-nav-links li a.active {
    border-left: none;
    border-right: 3px solid var(--accent);
}

.mobile-nav-footer {
    padding: 16px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    flex-shrink: 0;
}

.mobile-nav-langs {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.mobile-nav-langs a {
    padding: 5px 11px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
    text-transform: uppercase;
}

.mobile-nav-langs a:hover,
.mobile-nav-langs a.active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

/* ========================
   8. HERO SECTION  (split: copy + collage)
   ======================== */
.hero {
    position: relative;
    background: linear-gradient(135deg, #faf7f3 0%, #f3ece2 100%);
    overflow: visible;
    z-index: 1;
}

.hero-search-form {
    z-index: 5;
}

.hero-search-dropdown {
    z-index: 600;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    gap: 64px;
    align-items: center;
    padding: 80px 0 90px;
}

.hero-text {
    max-width: 540px;
}

.hero-title {
    font-size: clamp(2.2rem, 4.4vw, 3.4rem);
    font-weight: 900;
    color: var(--text);
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 1.25rem;
}

.hero-desc {
    font-size: 1.05rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 2rem;
    max-width: 460px;
}

/* Pill search form */
.hero-search-form {
    background: #fff;
    border-radius: 60px;
    padding: 6px 6px 6px 24px;
    width: 100%;
    max-width: 480px;
    box-shadow: 0 10px 32px rgba(16, 24, 40, .08), 0 2px 6px rgba(16, 24, 40, .04);
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
}

.hero-search-row {
    position: relative;
    flex: 1;
    min-width: 0;
}

.hero-search-input {
    width: 100%;
    padding: 14px 4px;
    border: none;
    font-size: 0.98rem;
    color: var(--text);
    background: transparent;
    outline: none;
}

.hero-search-input::placeholder {
    color: var(--text-muted);
}

/* Search button inside the pill */
.hero-search-btn-pill {
    flex-shrink: 0;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 13px 28px;
    font-size: .97rem;
    font-weight: 700;
    cursor: pointer;
    transition: background .2s, transform .15s;
    white-space: nowrap;
}

.hero-search-btn-pill:hover {
    background: var(--primary-dark);
}

.hero-search-btn-pill:active {
    transform: scale(.97);
}

/* Dropdown (anchored to the input row) */
.hero-search-dropdown {
    display: none;
    position: absolute;
    left: -24px;
    right: -6px;
    top: calc(100% + 14px);
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, .15);
    overflow: hidden;
    z-index: 500;
}

.hero-search-dropdown.open {
    display: block;
}

.hero-dd-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 11px 16px;
    text-decoration: none;
    color: #111;
    border-bottom: 1px solid #f2f2f2;
    transition: background .12s;
}

.hero-dd-item:last-child {
    border-bottom: none;
}

.hero-dd-item:hover {
    background: #f7f8fa;
}

.hero-dd-img {
    flex-shrink: 0;
    width: 48px;
    height: 36px;
    border-radius: 6px;
    overflow: hidden;
    background: #eee;
}

.hero-dd-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-dd-img-ph {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #bbb;
    font-size: 1rem;
}

.hero-dd-info {
    flex: 1;
    min-width: 0;
}

.hero-dd-name {
    display: block;
    font-size: .92rem;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hero-dd-city {
    display: block;
    font-size: .75rem;
    color: #888;
    margin-top: 2px;
}

.hero-dd-city i {
    color: var(--primary);
    margin-right: 3px;
    font-size: .7rem;
}

.hero-dd-price {
    font-size: .82rem;
    font-weight: 700;
    color: var(--primary);
    white-space: nowrap;
    flex-shrink: 0;
}

.hero-dd-empty {
    padding: 18px 16px;
    text-align: center;
    color: #999;
    font-size: .9rem;
}

/* ── Tours listing page search ────────────────────────────────── */
.tours-search-inner {
    position: relative;
}

.tours-search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #aaa;
    font-size: .9rem;
    pointer-events: none;
}

.tours-search-input {
    width: 100%;
    padding: 12px 42px;
    border: 1.5px solid #dde0e6;
    border-radius: 10px;
    font-size: 1rem;
    background: #fff;
    color: #222;
    outline: none;
    box-sizing: border-box;
    transition: border-color .18s, box-shadow .18s;
}

.tours-search-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(232, 96, 10, .1);
}

.tours-search-input::placeholder {
    color: #bbb;
}

.tours-search-clear {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #aaa;
    font-size: 1.2rem;
    text-decoration: none;
    line-height: 1;
    cursor: pointer;
}

.tours-search-clear:hover {
    color: #555;
}

.hero-stats {
    display: flex;
    gap: 48px;
    margin-top: 36px;
    flex-wrap: wrap;
}

.hero-stat-item {
    display: flex;
    flex-direction: column;
}

.hero-stat-num {
    font-size: 1.55rem;
    font-weight: 800;
    color: var(--text);
    line-height: 1;
    letter-spacing: -0.01em;
}

.hero-stat-label {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-top: 6px;
    font-weight: 500;
}

/* ── Hero Collage ─────────────────────────────────────────────── */
.hero-collage {
    display: grid;
    grid-template-columns: 1.45fr 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 14px;
    width: 100%;
    aspect-ratio: 1.25 / 1;
    max-height: 520px;
}

.hero-collage-cell {
    overflow: hidden;
    border-radius: 16px;
    background: #e8e8e8;
}

.hero-collage-cell:first-child {
    grid-row: 1 / span 2;
}

.hero-collage-cell img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .5s ease;
}

.hero-collage-cell:hover img {
    transform: scale(1.04);
}

/* Responsive */
@media (max-width: 980px) {
    .hero .container {
        padding-left: 24px;
        padding-right: 24px;
    }

    .hero-inner {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 56px 0 96px;
    }

    .hero-text {
        max-width: 100%;
    }

    .hero-desc {
        max-width: 100%;
    }

    .hero-collage {
        aspect-ratio: 1.6 / 1;
        max-height: 380px;
    }
}

@media (max-width: 560px) {
    .hero .container {
        padding-left: 20px;
        padding-right: 20px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-stats {
        gap: 28px;
    }

    .hero-stat-num {
        font-size: 1.35rem;
    }

    .hero-search-form {
        padding: 5px 5px 5px 18px;
    }

    .hero-search-btn-pill {
        padding: 11px 20px;
        font-size: .9rem;
    }

    .hero-collage {
        gap: 8px;
        aspect-ratio: 1.4 / 1;
    }

    .hero-collage-cell {
        border-radius: 12px;
    }
}

/* RTL — keep collage on the visual right when text is RTL */
[dir="rtl"] .hero-search-form {
    padding: 6px 24px 6px 6px;
}

[dir="rtl"] .hero-search-dropdown {
    left: -6px;
    right: -24px;
}

/* ========================
   9. TOUR CARDS
   ======================== */
.tour-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}

.tour-card {
    background: var(--bg);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.28s ease, box-shadow 0.28s ease;
    cursor: pointer;
}

.tour-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
    border-color: transparent;
}

.tour-card-img-wrap {
    position: relative;
    height: 220px;
    overflow: hidden;
    flex-shrink: 0;
}

.tour-card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.tour-card:hover .tour-card-img-wrap img {
    transform: scale(1.06);
}

.tour-card-badges {
    position: absolute;
    top: 12px;
    left: 12px;
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

[dir="rtl"] .tour-card-badges {
    left: auto;
    right: 12px;
}

.tour-card-wishlist {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 34px;
    height: 34px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 0.95rem;
    transition: var(--transition);
    backdrop-filter: blur(4px);
}

.tour-card-wishlist:hover {
    color: var(--danger);
    background: #fff;
    transform: scale(1.1);
}

[dir="rtl"] .tour-card-wishlist {
    right: auto;
    left: 12px;
}

.tour-card-body {
    padding: 18px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.tour-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.tour-card-location {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.8rem;
    color: var(--text-light);
}

.tour-card-location i {
    color: var(--primary);
    font-size: 0.7rem;
}

.tour-card-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0;
}

.tour-card-desc {
    font-size: 0.85rem;
    color: var(--text-light);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0;
}

.tour-card-specs {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.tour-spec-item {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.8rem;
    color: var(--text-light);
}

.tour-spec-item i {
    color: var(--primary);
    width: 14px;
    text-align: center;
}

.tour-card-footer {
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.tour-price-block {}

.tour-price-label {
    font-size: 0.72rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.tour-price {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.1;
}

.tour-price-period {
    font-size: 0.75rem;
    color: var(--text-light);
    font-weight: 400;
}

/* ========================
   10. CATEGORY CARDS
   ======================== */
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
}

.category-card {
    position: relative;
    height: 200px;
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    display: flex;
    align-items: flex-end;
}

.category-card-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.category-card:hover .category-card-img {
    transform: scale(1.1);
}

.category-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top,
            rgba(10, 20, 35, 0.85) 0%,
            rgba(10, 20, 35, 0.3) 60%,
            transparent 100%);
    transition: opacity 0.3s ease;
}

.category-card:hover .category-card-overlay {
    opacity: 0.95;
}

.category-card-body {
    position: relative;
    z-index: 2;
    padding: 20px 18px;
    color: #fff;
    width: 100%;
}

.category-card-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 4px;
    line-height: 1.3;
}

.category-card-count {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.72);
    display: flex;
    align-items: center;
    gap: 5px;
}

/* ========================
   11. HOW IT WORKS
   ======================== */
.how-it-works {
    padding: 72px 0;
    background: var(--bg-light);
}

.hiw-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 3rem;
    position: relative;
}

.hiw-grid::before {
    content: '';
    position: absolute;
    top: 38px;
    left: calc(16.66% + 20px);
    right: calc(16.66% + 20px);
    height: 2px;
    background: repeating-linear-gradient(to right,
            var(--primary) 0,
            var(--primary) 8px,
            transparent 8px,
            transparent 16px);
    opacity: 0.35;
}

[dir="rtl"] .hiw-grid::before {
    left: calc(16.66% + 20px);
    right: calc(16.66% + 20px);
}

.hiw-card {
    background: var(--bg);
    border-radius: var(--radius);
    padding: 32px 24px;
    text-align: center;
    border: 1px solid var(--border);
    transition: var(--transition);
    position: relative;
}

.hiw-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-hover);
    transform: translateY(-4px);
}

.hiw-number {
    width: 56px;
    height: 56px;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 900;
    margin: 0 auto 18px;
    position: relative;
    z-index: 1;
}

.hiw-number::before {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 2px solid rgba(232, 96, 10, 0.25);
}

.hiw-icon {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 14px;
}

.hiw-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 10px;
}

.hiw-desc {
    font-size: 0.88rem;
    color: var(--text-light);
    line-height: 1.65;
    margin: 0;
}

/* ========================
   12. WHY CHOOSE US
   ======================== */
.why-us-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 3rem;
}

.why-card {
    background: var(--bg);
    border-radius: var(--radius);
    padding: 28px 20px;
    text-align: center;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.why-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow);
    transform: translateY(-4px);
}

.why-card-icon {
    width: 64px;
    height: 64px;
    background: var(--primary-light);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary);
    margin: 0 auto 16px;
}

.why-card-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 8px;
}

.why-card-desc {
    font-size: 0.85rem;
    color: var(--text-light);
    line-height: 1.65;
    margin: 0;
}

/* ========================
   13. FAQ ACCORDION
   ======================== */
.faq-section {
    padding: 72px 0;
}

.faq-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 2.5rem;
}

.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--bg);
    transition: border-color 0.2s;
}

.faq-item:has(.faq-question[aria-expanded="true"]) {
    border-color: var(--primary);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 18px 20px;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-size: 0.97rem;
    font-weight: 600;
    color: var(--text);
    transition: background 0.15s, color 0.15s;
    font-family: inherit;
}

[dir="rtl"] .faq-question {
    text-align: right;
}

.faq-question:hover {
    background: var(--bg-light);
}

.faq-question[aria-expanded="true"] {
    color: var(--primary);
}

.faq-icon {
    flex-shrink: 0;
    font-size: 0.82rem;
    color: var(--primary);
    transition: transform 0.3s ease;
}

.faq-question[aria-expanded="true"] .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
    padding: 0 20px;
}

.faq-answer.open {
    max-height: 400px;
    padding: 0 20px 18px;
}

.faq-answer p {
    font-size: 0.92rem;
    color: var(--text-light);
    line-height: 1.75;
    margin: 0;
    border-top: 1px solid var(--border);
    padding-top: 14px;
}

/* ========================
   14. BLOG CARDS
   ======================== */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 28px;
}

.blog-card {
    background: var(--bg);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: transparent;
}

.blog-card-img-wrap {
    height: 200px;
    overflow: hidden;
    flex-shrink: 0;
}

.blog-card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.blog-card:hover .blog-card-img-wrap img {
    transform: scale(1.06);
}

.blog-card-body {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.blog-card-date {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    color: var(--text-muted);
}

.blog-card-date i {
    color: var(--primary);
    font-size: 0.72rem;
}

.blog-card-category {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.blog-card-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0;
    transition: color 0.2s;
}

.blog-card:hover .blog-card-title {
    color: var(--primary);
}

.blog-card-excerpt {
    font-size: 0.85rem;
    color: var(--text-light);
    line-height: 1.65;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0;
}

.blog-card-read-more {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    transition: gap 0.2s;
}

.blog-card-read-more:hover {
    gap: 10px;
}

/* ========================
   BLOG DETAIL PAGE
   ======================== */
.blog-detail-wrap {
    padding-top: 40px;
    padding-bottom: 80px;
    max-width: 1100px;
}

.blog-back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    margin-bottom: 28px;
    font-size: 0.95rem;
}

.blog-back-link:hover {
    text-decoration: underline;
}

.blog-detail-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 48px;
    align-items: start;
}

.blog-detail-main {}

.blog-detail-title {
    font-size: 2.2rem;
    font-weight: 900;
    line-height: 1.25;
    margin-bottom: 14px;
    color: var(--text);
}

.blog-detail-meta {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 28px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--border);
}

.blog-detail-img {
    width: 100%;
    height: auto;
    max-height: 460px;
    object-fit: cover;
    border-radius: var(--radius);
    margin-bottom: 36px;
    box-shadow: var(--shadow);
    display: block;
}

.article-body {
    font-size: 1.05rem;
    line-height: 1.85;
    color: #333;
}

.article-body h2 {
    font-size: 1.5rem;
    font-weight: 800;
    margin: 36px 0 14px;
    color: var(--text);
}

.article-body h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 28px 0 10px;
    color: var(--secondary);
}

.article-body p {
    margin-bottom: 18px;
}

.article-body ul,
.article-body ol {
    padding-left: 24px;
    margin-bottom: 18px;
}

.article-body li {
    margin-bottom: 6px;
}

.article-body a {
    color: var(--primary);
}

.article-body strong {
    font-weight: 700;
}

.blog-detail-cta {
    margin-top: 60px;
    padding: 36px;
    background: var(--bg-light);
    border-radius: var(--radius);
    text-align: center;
    border: 1px solid var(--border);
}

.blog-detail-cta h3 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.blog-detail-cta p {
    color: var(--text-light);
    margin-bottom: 20px;
}

/* Sidebar */
.blog-detail-sidebar {
    position: sticky;
    top: calc(var(--header-h) + 20px);
}

.sidebar-box {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}

.sidebar-box-title {
    font-size: 1rem;
    font-weight: 800;
    color: var(--secondary);
    padding: 16px 18px;
    border-bottom: 3px solid var(--primary);
    margin: 0;
}

.sidebar-tour-card {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 12px 14px;
    border-bottom: 1px solid var(--border);
    text-decoration: none;
    transition: background 0.2s;
}

.sidebar-tour-card:last-child {
    border-bottom: none;
}

.sidebar-tour-card:hover {
    background: var(--bg-light);
}

.sidebar-tour-img {
    width: 68px;
    height: 52px;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
    background: var(--secondary);
}

.sidebar-tour-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.sidebar-tour-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.6rem;
    font-weight: 700;
    text-align: center;
    padding: 4px;
    line-height: 1.2;
}

.sidebar-tour-info {
    flex: 1;
    min-width: 0;
}

.sidebar-tour-name {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text);
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.sidebar-tour-card:hover .sidebar-tour-name {
    color: var(--primary);
}

.sidebar-tour-sub {
    font-size: 0.72rem;
    color: var(--text-muted);
    margin-top: 2px;
}

.sidebar-tour-price {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--primary);
    margin-top: 3px;
}

@media (max-width: 768px) {
    .blog-detail-layout {
        grid-template-columns: 1fr;
    }

    .blog-detail-sidebar {
        position: static;
    }

    .blog-detail-title {
        font-size: 1.6rem;
    }
}

/* ========================
   15. TOUR DETAIL PAGE
   ======================== */
.detail-page {
    padding: 40px 0 80px;
}

/* Breadcrumb */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 28px;
    flex-wrap: wrap;
}

.breadcrumb a {
    color: var(--primary);
    transition: color 0.2s;
}

.breadcrumb a:hover {
    color: var(--primary-dark);
}

.breadcrumb-sep {
    color: var(--border);
    font-size: 0.7rem;
}

[dir="rtl"] .breadcrumb-sep {
    transform: scaleX(-1);
}

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: 60% 40%;
    grid-template-rows: 1fr 1fr;
    gap: 8px;
    height: 460px;
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 36px;
}

.gallery-main {
    grid-row: 1 / 3;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

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

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

.gallery-thumb {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

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

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

.gallery-thumb-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
    opacity: 0;
    transition: opacity 0.25s;
}

.gallery-thumb:last-child .gallery-thumb-overlay {
    opacity: 1;
    background: rgba(0, 0, 0, 0.5);
}

.gallery-expand-btn {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: var(--radius-sm);
    padding: 7px 12px;
    font-size: 0.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
    backdrop-filter: blur(4px);
}

.gallery-expand-btn:hover {
    background: rgba(0, 0, 0, 0.75);
}

[dir="rtl"] .gallery-expand-btn {
    right: auto;
    left: 12px;
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.93);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.lightbox.open {
    display: flex;
    animation: fadeIn 0.2s ease;
}

.lightbox-img-wrap {
    position: relative;
    max-width: 90vw;
    max-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-img-wrap img {
    max-width: 90vw;
    max-height: 80vh;
    object-fit: contain;
    border-radius: var(--radius-sm);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
    position: fixed;
    top: 20px;
    right: 24px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 1.4rem;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    z-index: 1;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

[dir="rtl"] .lightbox-close {
    right: auto;
    left: 24px;
}

.lightbox-prev,
.lightbox-next {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition);
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(255, 255, 255, 0.22);
}

.lightbox-prev {
    left: 24px;
}

.lightbox-next {
    right: 24px;
}

[dir="rtl"] .lightbox-prev {
    left: auto;
    right: 24px;
}

[dir="rtl"] .lightbox-next {
    right: auto;
    left: 24px;
}

.lightbox-counter {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.85rem;
}

.lightbox-thumbs {
    display: flex;
    gap: 8px;
    margin-top: 16px;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 90vw;
}

.lightbox-thumbs img {
    width: 64px;
    height: 48px;
    object-fit: cover;
    border-radius: 4px;
    cursor: pointer;
    opacity: 0.55;
    border: 2px solid transparent;
    transition: var(--transition);
}

.lightbox-thumbs img.active,
.lightbox-thumbs img:hover {
    opacity: 1;
    border-color: var(--primary);
}

/* Tour header info */
.tour-header-info {
    margin-bottom: 28px;
}

.tour-badges-row {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}

.tour-detail-title {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 900;
    color: var(--secondary);
    margin-bottom: 10px;
    line-height: 1.25;
}

.tour-detail-desc {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.72;
    margin-bottom: 18px;
}

.tour-detail-meta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    align-items: center;
}

/* 2-column detail layout */
.detail-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 40px;
    align-items: start;
}

.detail-main {
    min-width: 0;
    /* prevent grid cell from expanding beyond its column allocation */
}

/* ── Tour detail tabs ─────────────────────────────────────────── */
.tour-tabs {
    display: flex;
    gap: 4px;
    border-bottom: 1px solid #e6e8eb;
    margin-bottom: 28px;
    overflow-x: auto;
    scrollbar-width: none;
}

.tour-tabs::-webkit-scrollbar {
    display: none;
}

.tour-tab {
    flex-shrink: 0;
    background: none;
    border: none;
    padding: 12px 18px;
    margin-bottom: -1px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
    cursor: pointer;
    position: relative;
    transition: color .18s ease;
    border-bottom: 2.5px solid transparent;
}

.tour-tab:hover {
    color: var(--primary);
}

.tour-tab.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

.tour-pane {
    display: none;
    margin-bottom: 40px;
    animation: tourPaneIn .25s ease;
}

.tour-pane.active {
    display: block;
}

.tour-map-wrap {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 14px;
    overflow: hidden;
    background: #eef0f3;
    box-shadow: 0 4px 18px rgba(16, 24, 40, .06);
}

.tour-map-wrap iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

@keyframes tourPaneIn {
    from {
        opacity: 0;
        transform: translateY(4px);
    }

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

.detail-sidebar {
    position: sticky;
    top: calc(var(--header-h) + 20px);
}

/* Section headings with orange left border */
.detail-section {
    margin-bottom: 40px;
}

.detail-section-title {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--secondary);
    padding-left: 14px;
    border-left: 4px solid var(--primary);
    margin-bottom: 20px;
    line-height: 1.3;
}

[dir="rtl"] .detail-section-title {
    padding-left: 0;
    padding-right: 14px;
    border-left: none;
    border-right: 4px solid var(--primary);
}

/* Booking Widget */
.booking-widget {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.booking-widget-header {
    background: var(--secondary);
    color: #fff;
    padding: 18px 20px;
}

.booking-widget-price-label {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.65);
    text-transform: uppercase;
    letter-spacing: 0.4px;
    margin-bottom: 4px;
}

.booking-widget-price {
    font-size: 1.9rem;
    font-weight: 900;
    color: var(--accent);
    line-height: 1;
}

.booking-widget-price-sub {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 3px;
}

.booking-widget-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.bw-form-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.bw-form-label {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.bw-date-input {
    width: 100%;
    padding: 10px 12px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    color: var(--text);
    transition: border-color 0.2s;
    background: var(--bg);
}

.bw-date-input:focus {
    outline: none;
    border-color: var(--primary);
}

/* Participant counter */
.participant-counter {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.counter-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.counter-label {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text);
    flex: 1;
}

.counter-label small {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 400;
}

.counter-controls {
    display: flex;
    align-items: center;
    gap: 0;
    border: 1.5px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
}

.counter-btn {
    width: 34px;
    height: 34px;
    background: var(--bg-light);
    border: none;
    color: var(--primary);
    font-size: 1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.15s;
    flex-shrink: 0;
}

.counter-btn:hover {
    background: var(--primary-light);
}

.counter-btn:disabled {
    color: var(--text-muted);
    cursor: default;
}

.counter-value {
    width: 42px;
    text-align: center;
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
    border-left: 1.5px solid var(--border);
    border-right: 1.5px solid var(--border);
    padding: 6px 0;
}

.bw-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.bw-total-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text);
}

.bw-total-price {
    font-size: 1.4rem;
    font-weight: 900;
    color: var(--primary);
}

.booking-widget-footer {
    padding: 14px 20px 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Itinerary timeline */
.itinerary-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
}

.itinerary-list::before {
    content: '';
    position: absolute;
    left: 19px;
    top: 24px;
    bottom: 24px;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary), rgba(232, 96, 10, 0.15));
}

[dir="rtl"] .itinerary-list::before {
    left: auto;
    right: 19px;
}

/* Lift number circles above the timeline line */
.itinerary-list li > span:first-child {
    position: relative;
    z-index: 1;
    box-shadow: 0 0 0 4px #fff;
}

.itinerary-item {
    display: flex;
    gap: 20px;
    padding: 0 0 28px;
}

.itinerary-item:last-child {
    padding-bottom: 0;
}

.itinerary-dot {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 800;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
    box-shadow: 0 0 0 4px var(--primary-light);
}

.itinerary-content {
    flex: 1;
    padding-top: 8px;
}

.itinerary-day {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.itinerary-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 6px;
}

.itinerary-desc {
    font-size: 0.88rem;
    color: var(--text-light);
    line-height: 1.65;
    margin: 0;
}

/* Options grid */
.options-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.option-group {
    background: var(--bg-light);
    border-radius: var(--radius);
    padding: 18px;
    border: 1px solid var(--border);
}

.option-group-title {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.option-group-title i {
    color: var(--primary);
}

.option-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.85rem;
}

.option-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.option-name {
    color: var(--text);
    font-weight: 500;
}

.option-price {
    font-weight: 700;
    color: var(--primary);
}

/* Included / Not included */
.included-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.included-col {}

.included-col-title {
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.included-col.yes .included-col-title {
    color: var(--success);
}

.included-col.no .included-col-title {
    color: var(--danger);
}

.included-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.included-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.88rem;
    color: var(--text);
    line-height: 1.5;
}

.included-item i {
    margin-top: 2px;
    flex-shrink: 0;
    font-size: 0.85rem;
}

.included-col.yes .included-item i {
    color: var(--success);
}

.included-col.no .included-item i {
    color: var(--danger);
}

/* Know Before You Go */
.kbyg-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.kbyg-item {
    display: flex;
    gap: 14px;
    padding: 16px;
    background: var(--bg-light);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    align-items: flex-start;
}

.kbyg-icon {
    width: 36px;
    height: 36px;
    background: var(--primary-light);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 0.9rem;
    flex-shrink: 0;
}

.kbyg-content {}

.kbyg-label {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.3px;
    margin-bottom: 3px;
}

.kbyg-value {
    font-size: 0.9rem;
    color: var(--text);
    font-weight: 500;
    margin: 0;
}

/* Reviews */
.reviews-summary {
    display: flex;
    gap: 32px;
    align-items: center;
    margin-bottom: 28px;
    padding: 24px;
    background: var(--bg-light);
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.review-score {
    text-align: center;
    flex-shrink: 0;
}

.review-score-num {
    font-size: 3rem;
    font-weight: 900;
    color: var(--primary);
    line-height: 1;
}

.review-score-stars {
    color: var(--accent);
    font-size: 1.1rem;
    margin: 4px 0;
}

.review-score-total {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.review-bars {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.review-bar-row {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.82rem;
}

.review-bar-label {
    width: 40px;
    text-align: right;
    color: var(--text-light);
    flex-shrink: 0;
}

[dir="rtl"] .review-bar-label {
    text-align: left;
}

.review-bar-track {
    flex: 1;
    height: 6px;
    background: var(--border);
    border-radius: 3px;
    overflow: hidden;
}

.review-bar-fill {
    height: 100%;
    background: var(--accent);
    border-radius: 3px;
}

.review-bar-count {
    width: 28px;
    color: var(--text-muted);
    flex-shrink: 0;
}

.review-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.review-card {
    padding: 20px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--bg);
}

.review-card-header {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 12px;
}

.review-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 700;
    flex-shrink: 0;
}

.review-meta {
    flex: 1;
}

.review-author {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text);
}

.review-date-country {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-top: 2px;
}

.review-stars {
    color: var(--accent);
    font-size: 0.85rem;
}

.review-text {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.7;
    margin: 0;
}

/* ========================
   16. FOOTER
   ======================== */
.site-footer {
    background: var(--bg-dark);
    color: rgba(255, 255, 255, 0.75);
    padding: 64px 0 0;
    margin-top: 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 48px;
}

.footer-col {}

.footer-brand-desc {
    font-size: 0.88rem;
    line-height: 1.75;
    margin: 14px 0 20px;
    color: rgba(255, 255, 255, 0.55);
}

.footer-social {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.footer-social a {
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-social a:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.footer-col-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 18px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 28px;
    height: 2px;
    background: var(--primary);
    border-radius: 1px;
}

[dir="rtl"] .footer-col-title::after {
    left: auto;
    right: 0;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.6);
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 6px;
}

.footer-links a:hover {
    color: var(--accent);
    padding-left: 4px;
}

[dir="rtl"] .footer-links a:hover {
    padding-left: 0;
    padding-right: 4px;
}

.footer-contact-item {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin-bottom: 12px;
    font-size: 0.88rem;
}

.footer-contact-item i {
    color: var(--primary);
    width: 16px;
    flex-shrink: 0;
    margin-top: 2px;
}

.footer-contact-item a {
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.2s;
}

.footer-contact-item a:hover {
    color: var(--accent);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 20px 0;
}

.footer-bottom .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.footer-bottom-text {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.4);
}

/* ========================
   17. MODALS
   ======================== */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    z-index: 9000;
    overflow-y: auto;
    padding: 20px;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.modal-overlay.open {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    animation: fadeIn 0.2s ease;
}

.modal-dialog {
    background: var(--bg);
    border-radius: var(--radius);
    box-shadow: var(--shadow-strong);
    width: 100%;
    max-width: 540px;
    margin: 40px auto;
    position: relative;
    animation: modalSlideIn 0.25s ease;
    overflow: hidden;
}

.modal-header {
    padding: 24px 28px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.modal-title {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--secondary);
    line-height: 1.3;
    margin: 0;
}

.modal-close {
    width: 36px;
    height: 36px;
    background: var(--bg-light);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 1rem;
    cursor: pointer;
    flex-shrink: 0;
    transition: var(--transition);
}

.modal-close:hover {
    background: var(--border);
    color: var(--text);
}

.modal-body {
    padding: 20px 28px 28px;
}

/* Booking modal form elements */
.modal-form-group {
    margin-bottom: 16px;
}

.modal-form-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 6px;
}

.modal-form-input {
    width: 100%;
    padding: 10px 14px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    color: var(--text);
    background: var(--bg);
    transition: border-color 0.2s;
    font-family: inherit;
}

.modal-form-input:focus {
    outline: none;
    border-color: var(--primary);
}

.modal-tour-preview {
    display: flex;
    gap: 14px;
    align-items: center;
    background: var(--bg-light);
    border-radius: var(--radius-sm);
    padding: 14px;
    margin-bottom: 20px;
    border: 1px solid var(--border);
}

.modal-tour-preview img {
    width: 80px;
    height: 56px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    flex-shrink: 0;
}

.modal-tour-preview .preview-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 3px;
}

.modal-tour-preview .preview-price {
    font-size: 0.88rem;
    color: var(--primary);
    font-weight: 600;
}

.modal-total-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
    margin-bottom: 16px;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.modal-total-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text);
}

.modal-total-price {
    font-size: 1.3rem;
    font-weight: 900;
    color: var(--primary);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-18px);
    }

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

/* ========================
   18. STICKY BOOK BAR (mobile)
   ======================== */
.sticky-book-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--bg);
    border-top: 1px solid var(--border);
    padding: 12px 16px;
    z-index: 800;
    gap: 14px;
    align-items: center;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
}

.sticky-book-bar .sticky-price {
    flex: 1;
}

.sticky-book-bar .sticky-price-num {
    font-size: 1.2rem;
    font-weight: 900;
    color: var(--primary);
    line-height: 1;
}

.sticky-book-bar .sticky-price-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 2px;
}

/* ========================
   19. MISC COMPONENTS
   ======================== */

/* Breadcrumb already above */

/* Toast notification */
.toast {
    position: fixed;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--success);
    color: #fff;
    padding: 14px 28px;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    z-index: 99999;
    box-shadow: var(--shadow-hover);
    max-width: 90vw;
    text-align: center;
    animation: fadeIn 0.25s ease;
}

/* Empty state */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-muted);
}

.empty-state-icon {
    font-size: 3rem;
    color: var(--border);
    margin-bottom: 16px;
}

/* Loading spinner */
.spinner {
    width: 36px;
    height: 36px;
    border: 3px solid var(--border);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.75s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ========================
   20. RTL OVERRIDES
   ======================== */
[dir="rtl"] .section-header {
    flex-direction: row-reverse;
}

[dir="rtl"] .hero-bg::after {
    background: linear-gradient(to left,
            rgba(15, 30, 46, 0.82) 0%,
            rgba(15, 30, 46, 0.55) 50%,
            rgba(15, 30, 46, 0.3) 100%);
}

[dir="rtl"] .hero-content {
    margin-left: auto;
    margin-right: 0;
    text-align: right;
}

[dir="rtl"] .hero-cta {
    justify-content: flex-start;
}

[dir="rtl"] .main-nav {
    margin-right: 0;
}

[dir="rtl"] .detail-layout {
    grid-template-columns: 320px 1fr;
}

[dir="rtl"] .detail-sidebar {
    order: -1;
}

[dir="rtl"] .hiw-grid::before {
    left: auto;
    right: calc(16.66% + 20px);
}

[dir="rtl"] .site-logo {
    flex-direction: row-reverse;
}

[dir="rtl"] .footer-links a {
    flex-direction: row-reverse;
}

[dir="rtl"] .footer-grid {
    direction: rtl;
}

[dir="rtl"] .footer-bottom .container {
    flex-direction: row-reverse;
}

[dir="rtl"] .tour-card-meta {
    flex-direction: row-reverse;
}

[dir="rtl"] .review-card-header {
    flex-direction: row-reverse;
}

[dir="rtl"] .itinerary-item {
    flex-direction: row-reverse;
    text-align: right;
}

[dir="rtl"] .included-item {
    flex-direction: row-reverse;
    text-align: right;
}

[dir="rtl"] .kbyg-item {
    flex-direction: row-reverse;
    text-align: right;
}

[dir="rtl"] .hiw-card {
    text-align: right;
}

[dir="rtl"] .why-card {
    text-align: right;
}

/* ========================
   21. RESPONSIVE
   ======================== */

/* --- 1200px --- */
@media (max-width: 1200px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }

    .why-us-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* --- 1024px --- */
@media (max-width: 1024px) {
    .detail-layout {
        grid-template-columns: 1fr 290px;
        gap: 28px;
    }

    [dir="rtl"] .detail-layout {
        grid-template-columns: 290px 1fr;
    }

    .gallery-grid {
        height: 380px;
    }
}

/* --- 768px --- */
@media (max-width: 768px) {
    :root {
        --header-h: 62px;
    }

    .section {
        padding: 52px 0;
    }

    /* Header */
    .main-nav,
    .header-actions {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
        align-items: center;
    }

    .site-header .container {
        justify-content: space-between;
    }

    .lang-switcher {
        display: none;
    }

    /* Hero */
    .hero {
        min-height: 440px;
    }

    .hero-content {
        padding: 60px 0;
    }

    .hero-stats {
        gap: 20px;
    }

    .hero-stat-num {
        font-size: 1.4rem;
    }

    /* Tour grid */
    .tour-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .tour-card-img-wrap {
        height: 180px;
    }

    /* Category grid */
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .category-card {
        height: 160px;
    }

    /* How it works */
    .hiw-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .hiw-grid::before {
        display: none;
    }

    /* Why us */
    .why-us-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* FAQ */
    .faq-columns {
        grid-template-columns: 1fr;
    }

    /* Detail page */
    .detail-layout {
        grid-template-columns: 1fr;
    }

    [dir="rtl"] .detail-layout {
        grid-template-columns: 1fr;
    }

    [dir="rtl"] .detail-sidebar {
        order: 0;
    }

    .detail-sidebar {
        position: static;
    }

    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 200px 120px;
        height: auto;
    }

    .gallery-main {
        grid-column: 1 / 3;
        grid-row: 1 / 2;
    }

    /* Booking widget on mobile */
    .sticky-book-bar {
        display: flex;
    }

    .booking-widget {
        display: none;
    }

    /* Included grid */
    .included-grid {
        grid-template-columns: 1fr;
    }

    .options-grid {
        grid-template-columns: 1fr;
    }

    .kbyg-grid {
        grid-template-columns: 1fr;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }

    .site-footer {
        padding-top: 48px;
    }

    /* Blog grid */
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Reviews */
    .reviews-summary {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }

    [dir="rtl"] .review-bar-label {
        text-align: center;
    }
}

/* --- 480px --- */
@media (max-width: 480px) {
    .container {
        padding: 10px 14px;
    }

    .hero-title {
        font-size: 1.7rem;
    }

    .hero-cta {
        flex-direction: column;
    }

    .hero-cta .btn {
        width: 100%;
        justify-content: center;
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: 16px;
    }

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

    .category-grid {
        grid-template-columns: 1fr 1fr;
    }

    /* Horizontal scroll on mobile */
    .hiw-grid,
    .why-us-grid,
    .blog-grid {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        gap: 14px;
        padding-bottom: 10px;
        margin-left: -14px;
        margin-right: -14px;
        padding-left: 14px;
        padding-right: 14px;
    }

    .hiw-grid::-webkit-scrollbar,
    .why-us-grid::-webkit-scrollbar,
    .blog-grid::-webkit-scrollbar {
        display: none;
    }

    .hiw-grid::before {
        display: none;
    }

    .hiw-card {
        min-width: 240px;
        flex-shrink: 0;
    }

    .why-card {
        min-width: 200px;
        flex-shrink: 0;
    }

    .blog-card {
        min-width: 260px;
        flex-shrink: 0;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        grid-template-rows: 200px 90px 90px;
        height: auto;
    }

    .gallery-main {
        grid-column: 1;
        grid-row: 1;
    }

    .modal-dialog {
        margin: 10px;
    }

    .modal-body {
        padding: 16px 18px 22px;
    }

    .modal-header {
        padding: 18px 18px 0;
    }

    .detail-section-title {
        font-size: 1.05rem;
    }

    .tour-detail-title {
        font-size: 1.5rem;
    }

    .hiw-card {
        padding: 24px 18px;
    }

    .why-card {
        padding: 22px 16px;
    }

    .section-title {
        font-size: 1.3rem;
    }

    .section-subtitle {
        font-size: 0.9rem;
    }

    .sc-card {
        min-width: 260px;
        max-width: 260px;
    }

    .slider-arrow {
        display: none;
    }

    .cat-slider {
        padding: 8px 4px 16px;
    }
}

/* ========================
   CATEGORY SLIDERS
   ======================== */
.cat-slider-section {
    padding: 48px 0 20px;
    background: var(--bg);
}

.cat-slider-section:nth-child(even) {
    background: var(--bg-light);
}

.cat-slider-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 8px;
}

.cat-slider-header h2 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text);
}

.cat-slider-viewall {
    color: var(--primary);
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}

.cat-slider-viewall:hover {
    text-decoration: underline;
}

.cat-slider-wrap {
    position: relative;
}

.cat-slider {
    display: flex;
    gap: 18px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 8px 2px 20px;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.cat-slider::-webkit-scrollbar {
    display: none;
}

/* Arrow buttons */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--border);
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text);
    transition: var(--transition);
}

.slider-arrow:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.slider-prev {
    left: -20px;
}

.slider-next {
    right: -20px;
}

/* Slider Card */
.sc-card {
    min-width: 290px;
    max-width: 290px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
}

.sc-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-3px);
}

.sc-img-wrap {
    display: block;
    position: relative;
    height: 190px;
    overflow: hidden;
    text-decoration: none;
}

.sc-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.sc-card:hover .sc-img {
    transform: scale(1.04);
}

.sc-img-placeholder {
    width: 100%;
    height: 100%;
    background: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.sc-img-placeholder span {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
    text-align: center;
    line-height: 1.3;
}

.sc-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--primary);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.sc-body {
    padding: 14px 16px 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 6px;
}

.sc-name {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
    text-decoration: none;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.sc-name:hover {
    color: var(--primary);
}

.sc-sub {
    font-size: 0.78rem;
    color: var(--text-muted);
}

.sc-duration {
    font-size: 0.82rem;
    color: var(--text-light);
}

.sc-features {
    list-style: none;
    margin-top: 4px;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.sc-features li {
    font-size: 0.8rem;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 6px;
}

.sc-features li .fa-check {
    color: var(--success);
    font-size: 0.7rem;
}

.sc-footer {
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.sc-price {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.sc-price-label {
    font-size: 0.72rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.sc-price strong {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--text);
}

.sc-reviews {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.sc-btn {
    background: var(--primary);
    color: #fff;
    font-size: 0.82rem;
    font-weight: 700;
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    white-space: nowrap;
    transition: var(--transition);
}

.sc-btn:hover {
    background: var(--primary-dark);
    color: #fff;
}

[dir="rtl"] .slider-prev {
    left: auto;
    right: -20px;
}

[dir="rtl"] .slider-next {
    right: auto;
    left: -20px;
}

/* ===================================================================
   CATEGORY LISTING PAGE
=================================================================== */
.cat-hero {
    background: #f7f8fa;
    border-bottom: 1px solid #eee;
    padding: 32px 0 24px;
}

.cat-breadcrumb {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: .85rem;
    color: #888;
    margin-bottom: 12px;
}

.cat-breadcrumb a {
    color: var(--primary);
    text-decoration: none;
}

.cat-breadcrumb a:hover {
    text-decoration: underline;
}

.cat-hero-title {
    font-size: 2rem;
    font-weight: 900;
    color: #111;
    margin: 0 0 8px;
}

.cat-hero-desc {
    font-size: 1rem;
    color: #555;
    margin: 0 0 8px;
}

.cat-count {
    font-size: .88rem;
    color: #888;
    margin: 0;
}

/* Mobile filter bar */
.cat-mobile-bar {
    background: #fff;
    border-bottom: 1px solid #eee;
    padding: 10px 0;
    display: none;
}

.cat-mobile-bar .container {
    display: flex;
    gap: 10px;
    align-items: center;
}

.cat-filter-btn {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 8px 16px;
    border: 1.5px solid #ddd;
    border-radius: 8px;
    background: #fff;
    font-size: .9rem;
    font-weight: 600;
    cursor: pointer;
    color: #333;
    white-space: nowrap;
}

.cat-filter-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.cat-sort-select {
    flex: 1;
    padding: 8px 12px;
    border: 1.5px solid #ddd;
    border-radius: 8px;
    font-size: .9rem;
    background: #fff;
    color: #333;
}

@media (max-width: 900px) {
    .cat-mobile-bar {
        display: block;
    }
}

/* Layout */
.cat-layout {
    display: flex;
    gap: 28px;
    padding: 32px 0 60px;
    align-items: flex-start;
}

/* Sidebar */
.cat-sidebar {
    width: 240px;
    flex-shrink: 0;
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    padding: 20px;
    position: sticky;
    top: 88px;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
}

/* legacy box wrapper (no longer in HTML but kept for safety) */
.cat-filter-box {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    padding: 20px;
    position: sticky;
    top: 88px;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
}

.cat-filter-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 1px solid #eee;
}

.cat-filter-header h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #111;
    margin: 0;
}

.cat-clear-btn {
    font-size: .78rem;
    color: var(--primary);
    background: none;
    border: none;
    cursor: pointer;
    font-weight: 600;
}

.cat-clear-btn:hover {
    text-decoration: underline;
}

/* New sidebar elements */
.cat-sb-title {
    font-size: 1rem;
    font-weight: 700;
    color: #111;
    margin: 0 0 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #eee;
}

.cat-sb-group {
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid #f0f0f0;
}

.cat-sb-group:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.cat-sb-group-title {
    font-size: .8rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: .05em;
    margin-bottom: 10px;
}

/* Legacy */
.cat-filter-group {
    margin-bottom: 18px;
    padding-bottom: 18px;
    border-bottom: 1px solid #f0f0f0;
}

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

.cat-filter-label {
    font-size: .8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: #555;
    margin-bottom: 10px;
}

.cat-check {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: .9rem;
    color: #333;
    cursor: pointer;
    padding: 4px 0;
    line-height: 1.3;
}

.cat-check input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--primary);
    cursor: pointer;
    flex-shrink: 0;
}

.cat-sort-sel {
    width: 100%;
    padding: 8px 10px;
    border: 1.5px solid #ddd;
    border-radius: 8px;
    font-size: .88rem;
    background: #fff;
    color: #333;
    outline: none;
}

/* Search bar */
.cat-search-wrap {
    position: relative;
    margin-bottom: 18px;
}

.cat-search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #aaa;
    font-size: .9rem;
    pointer-events: none;
}

.cat-search-input {
    width: 100%;
    padding: 11px 14px 11px 38px;
    border: 1.5px solid #dde0e6;
    border-radius: 10px;
    font-size: .95rem;
    background: #fff;
    color: #222;
    outline: none;
    transition: border-color .18s, box-shadow .18s;
    box-sizing: border-box;
}

.cat-search-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(232, 96, 10, .1);
}

.cat-search-input::placeholder {
    color: #bbb;
}

/* List header */
.cat-list-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
    flex-wrap: wrap;
}

.cat-list-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: #111;
    margin: 0;
    line-height: 1.3;
}

.cat-list-count {
    font-size: .88rem;
    font-weight: 400;
    color: #888;
    margin-left: 6px;
}

.cat-sort-sel-desk {
    padding: 7px 12px;
    border: 1.5px solid #ddd;
    border-radius: 8px;
    font-size: .88rem;
    background: #fff;
    color: #333;
    outline: none;
    cursor: pointer;
}

@media (max-width: 900px) {
    .cat-sort-sel-desk {
        display: none;
    }
}

/* Sidebar mobile overlay */
.sidebar-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .45);
    z-index: 800;
}

.sidebar-overlay.active {
    display: block;
}

@media (max-width: 900px) {
    .cat-sidebar {
        position: fixed;
        top: 0;
        left: -280px;
        width: 270px;
        height: 100vh;
        z-index: 900;
        background: #fff;
        overflow-y: auto;
        transition: left .28s ease;
        padding: 16px;
        border-radius: 0;
    }

    .cat-sidebar.open {
        left: 0;
    }

    .cat-filter-box {
        border: none;
        padding: 0;
        position: static;
        max-height: none;
        border-radius: 0;
    }

    .cat-layout {
        padding-top: 16px;
    }

    .cat-list {
        padding: 0 14px;
    }

    .cat-card {
        margin-bottom: 4px;
    }
}

.cat-sidebar-close {
    display: none;
    position: absolute;
    top: 14px;
    right: 16px;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #888;
}

@media (max-width: 900px) {
    .cat-sidebar-close {
        display: block;
    }
}

/* Tour list */
.cat-list {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 18px;
    min-width: 0;
}

/* Horizontal card */
.cat-card {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 14px;
    overflow: hidden;
    display: flex;
    flex-direction: row;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .06);
    transition: box-shadow .2s, transform .2s;
}

.cat-card:hover {
    box-shadow: 0 6px 24px rgba(0, 0, 0, .11);
    transform: translateY(-2px);
}

.cat-card-img {
    position: relative;
    flex: 0 0 260px;
    overflow: hidden;
    display: block;
    text-decoration: none;
}

.cat-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .3s;
}

.cat-card:hover .cat-card-img img {
    transform: scale(1.04);
}

.cat-card-img-placeholder,
.cat-card-img-ph {
    width: 100%;
    height: 100%;
    min-height: 200px;
    background: linear-gradient(135deg, #eef0f3, #dde0e6);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: .85rem;
    font-weight: 600;
    text-align: center;
    padding: 12px;
}

.cat-card-badges {
    position: absolute;
    top: 12px;
    left: 12px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.cat-card-badge {
    background: var(--primary);
    color: #fff;
    font-size: .7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
    padding: 3px 9px;
    border-radius: 20px;
    white-space: nowrap;
}

.cat-card-body {
    flex: 1;
    display: flex;
    flex-direction: row;
    min-width: 0;
}

.cat-card-main,
.cat-card-info {
    flex: 1;
    padding: 18px 20px;
    min-width: 0;
}

.cat-card-name {
    display: block;
    font-size: 1.1rem;
    font-weight: 700;
    color: #111;
    text-decoration: none;
    margin-bottom: 4px;
    line-height: 1.35;
}

.cat-card-name:hover {
    color: var(--primary);
}

.cat-card-group {
    font-size: .83rem;
    color: #888;
    margin-bottom: 8px;
}

.cat-card-subtitle {
    font-size: .83rem;
    color: #888;
    margin-bottom: 8px;
}

.cat-card-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    font-size: .85rem;
    color: #555;
    margin-bottom: 10px;
}

.cat-card-specs i {
    color: var(--primary);
    margin-right: 3px;
}

.cat-spec {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: .82rem;
    color: #555;
    background: #f5f6f8;
    border-radius: 20px;
    padding: 3px 10px;
}

.cat-spec i {
    color: var(--primary);
}

.cat-card-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 10px;
}

.cat-card-desc {
    font-size: .88rem;
    color: #555;
    line-height: 1.55;
    margin: 0 0 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.cat-card-inc {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.cat-card-inc li {
    font-size: .82rem;
    color: #444;
    display: flex;
    align-items: flex-start;
    gap: 6px;
}

.cat-card-inc .fa-check {
    color: #1a9e5a;
    font-size: .75rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.cat-card-booking {
    flex: 0 0 170px;
    padding: 18px 16px;
    border-left: 1px solid #f0f0f0;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: space-between;
    gap: 10px;
}

.cat-scarcity {
    font-size: .72rem;
    font-weight: 700;
    color: #e05a00;
    background: #fff4ed;
    border-radius: 20px;
    padding: 3px 10px;
    white-space: nowrap;
    align-self: flex-end;
}

.cat-card-price-block {
    text-align: right;
}

.cat-card-from {
    display: block;
    font-size: .75rem;
    color: #888;
    margin-bottom: 2px;
}

.cat-card-price {
    font-size: 1.1rem;
    font-weight: 900;
    color: #111;
    line-height: 1.2;
}

.cat-card-price em {
    font-style: normal;
    font-size: .9rem;
    font-weight: 700;
}

.cat-card-per {
    display: block;
    font-size: .73rem;
    color: #888;
    margin-top: 2px;
    text-align: right;
}

.cat-card-btn,
.cat-book-btn {
    display: inline-block;
    background: var(--primary);
    color: #fff;
    padding: 9px 18px;
    border-radius: 8px;
    font-size: .88rem;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    transition: background .15s;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
}

.cat-card-btn:hover,
.cat-book-btn:hover {
    background: var(--primary-dark, #c94d00);
    color: #fff;
}

/* No results */
.cat-no-results,
.cat-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 60px 20px;
    color: #aaa;
    font-size: 1rem;
    gap: 12px;
    text-align: center;
}

.cat-no-results i,
.cat-empty i {
    font-size: 2.5rem;
}

.cat-no-results button {
    margin-top: 8px;
    padding: 9px 20px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: .9rem;
    font-weight: 600;
}

/* Responsive card */
@media (max-width: 768px) {
    .cat-card {
        flex-direction: column;
    }

    .cat-card-img {
        flex: 0 0 auto;
        height: 200px;
    }

    .cat-card-body {
        flex-direction: column;
    }

    .cat-card-info {
        padding: 14px 16px;
    }

    .cat-card-booking {
        flex: 0 0 auto;
        border-left: none;
        border-top: 1px solid #f0f0f0;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        padding: 12px 16px;
        width: auto;
    }

    .cat-book-btn,
    .cat-card-btn {
        width: auto;
        padding: 8px 18px;
    }

    .cat-scarcity {
        display: none;
    }
}

@media (max-width: 900px) {
    .cat-sidebar {
        position: fixed;
        top: 0;
        left: -280px;
        width: 270px;
        height: 100vh;
        z-index: 900;
        background: #fff;
        overflow-y: auto;
        transition: left .28s ease;
        padding: 16px;
        border-radius: 0;
        border: none;
    }

    .cat-sidebar.open {
        left: 0;
    }

    .cat-filter-box {
        border: none;
        padding: 0;
        position: static;
        max-height: none;
        border-radius: 0;
    }

    .cat-layout {
        padding-top: 16px;
    }

    .cat-list {
        width: 100%;
    }
}

/* ── Tour Gallery (images + video) ───────────────────────────── */
/* ── Tour Gallery — Tourradar style ──────────────────────────── */
.tour-gallery {
    display: grid;
    grid-template-columns: 253px 1fr;
    gap: 8px;
    margin-bottom: 32px;
    height: 438px;
}

/* Left panel — video or hero image */
.tg-main {
    position: relative;
    overflow: hidden;
    background: #111;
    cursor: pointer;
    border-radius: 14px;
}

.tg-main-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .35s;
}

.tg-main:hover .tg-main-img {
    transform: scale(1.04);
}

.tg-video-iframe,
.tg-video-native {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
    display: block;
    object-fit: cover;
}

.tg-video-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(0, 0, 0, .6);
    color: #fff;
    font-size: .8rem;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 6px;
    pointer-events: none;
    backdrop-filter: blur(4px);
}

/* Right panel — 2×2 grid */
.tg-thumbs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 8px;
    overflow: hidden;
}

.tg-thumb {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    background: #dde0e5;
    border-radius: 10px;
}

.tg-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .35s;
}

.tg-thumb:hover img {
    transform: scale(1.07);
}

/* "Show all" overlay — bottom-right of last thumb */
.tg-thumb-more {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .48);
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    font-size: .85rem;
    font-weight: 700;
    transition: background .2s;
}

.tg-thumb-more:hover {
    background: rgba(0, 0, 0, .62);
}

.tg-thumb-more i {
    font-size: 1.3rem;
}

/* Gallery scroll wrapper */
.tour-gallery-wrap {
    width: 100%;
    max-width: 100%;
}

@media (max-width: 860px) {
    .tour-gallery-wrap {
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        /* Prevent wrapper itself from overflowing the page */
        max-width: 100%;
        display: block;
    }

    .tour-gallery-wrap::-webkit-scrollbar {
        display: none;
    }

    .tour-gallery {
        grid-template-columns: 253px 340px;
        height: 438px;
        /* Explicit total width — gallery scrolls inside wrapper */
        min-width: 601px;
    }
}

/* ── Tour Gallery Lightbox ───────────────────────────────────── */
.tg-lb {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9000;
    align-items: center;
    justify-content: center;
}

.tg-lb.open {
    display: flex;
}

.tg-lb-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .85);
}

.tg-lb-box {
    position: relative;
    z-index: 1;
    background: #fff;
    border-radius: 16px;
    width: min(92vw, 860px);
    max-height: 92vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.tg-lb-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px 12px;
    border-bottom: 1px solid var(--border);
}

.tg-lb-title {
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: calc(100% - 40px);
}

.tg-lb-close {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.3rem;
    color: var(--text-light);
    padding: 4px 8px;
    line-height: 1;
    border-radius: 8px;
    transition: var(--transition);
}

.tg-lb-close:hover {
    background: var(--bg-light);
    color: var(--text);
}

.tg-lb-main {
    position: relative;
    flex: 1;
    min-height: 0;
    display: flex;
    align-items: center;
    background: #111;
}

.tg-lb-img-wrap {
    flex: 1;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tg-lb-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
}

.tg-lb-prev,
.tg-lb-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, .15);
    border: none;
    color: #fff;
    cursor: pointer;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s;
    z-index: 2;
}

.tg-lb-prev:hover,
.tg-lb-next:hover {
    background: rgba(255, 255, 255, .35);
}

.tg-lb-prev {
    left: 12px;
}

.tg-lb-next {
    right: 12px;
}

.tg-lb-counter {
    text-align: center;
    padding: 6px 0 4px;
    font-size: .82rem;
    color: var(--text-light);
}

.tg-lb-thumbs {
    display: flex;
    gap: 6px;
    padding: 8px 16px 14px;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: thin;
}

.tg-lb-tn {
    flex-shrink: 0;
    width: 70px;
    height: 52px;
    object-fit: cover;
    border-radius: 6px;
    cursor: pointer;
    opacity: .65;
    transition: opacity .2s, outline .2s;
    outline: 2px solid transparent;
}

.tg-lb-tn.active,
.tg-lb-tn:hover {
    opacity: 1;
    outline: 2px solid var(--primary);
}

/* ── Tour Action Box (PDF / Share / Contact) ──────────────────── */
.tour-action-box {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 14px;
    padding: 6px 0;
    margin-top: 14px;
}

.tour-action-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 18px;
    color: var(--primary);
    font-size: .92rem;
    font-weight: 600;
    text-decoration: none;
    border: none;
    background: none;
    width: 100%;
    cursor: pointer;
    border-bottom: 1px solid #f2f2f2;
    transition: background .12s;
    text-align: left;
    box-sizing: border-box;
}

.tour-action-item:last-child {
    border-bottom: none;
}

.tour-action-item:hover {
    background: #f7f8fa;
}

.tour-action-item i {
    width: 20px;
    text-align: center;
    font-size: 1rem;
    flex-shrink: 0;
}

/* Category content block */
.cat-content-section {
    background: #f7f8fa;
    border-top: 1px solid #eee;
    padding: 32px 0 40px;
}

.cat-content-body {
    max-width: 820px;
    font-size: .97rem;
    color: #444;
    line-height: 1.75;
}

/* ===================================================================
   RELATED ITEMS SECTION
=================================================================== */
.related-section {
    background: #f7f8fa;
    padding: 48px 0 56px;
    margin-top: 0;
}

.related-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: #111;
    margin: 0 0 28px;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

@media (max-width: 1024px) {
    .related-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 560px) {
    .related-grid {
        grid-template-columns: 1fr;
    }
}

.related-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .07);
    transition: transform .2s, box-shadow .2s;
    display: flex;
    flex-direction: column;
}

.related-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, .12);
}

.related-card-img {
    position: relative;
    height: 170px;
    background: #e8e8e8;
    overflow: hidden;
}

.related-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .3s;
}

.related-card:hover .related-card-img img {
    transform: scale(1.05);
}

.related-card-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #bbb;
    font-size: 2.5rem;
    background: #eef0f3;
}

.related-card-dur {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(0, 0, 0, .55);
    color: #fff;
    font-size: .75rem;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 20px;
    backdrop-filter: blur(4px);
}

.related-card-body {
    padding: 14px 16px 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 6px;
}

.related-card-name {
    font-weight: 700;
    font-size: .95rem;
    color: #111;
    line-height: 1.35;
}

.related-card-desc {
    font-size: .82rem;
    color: #666;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.related-card-footer {
    margin-top: auto;
    padding-top: 10px;
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.related-card-label {
    font-size: .78rem;
    color: #888;
}

.related-card-price {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--primary);
}

/* ===================================================================
   BOOKING MODAL OVERLAY
=================================================================== */
.booking-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .55);
    backdrop-filter: blur(4px);
    z-index: 9000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 16px;
    overflow-y: auto;
}

.booking-modal-dialog {
    position: relative;
    background: #fff;
    border-radius: 16px;
    width: 100%;
    max-width: 480px;
    padding: 28px 24px 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .2);
    max-height: 90vh;
    overflow-y: auto;
}

.booking-modal-close {
    position: absolute;
    top: 14px;
    right: 16px;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #888;
    line-height: 1;
    padding: 4px 8px;
    border-radius: 6px;
    transition: color .15s, background .15s;
}

.booking-modal-close:hover {
    color: #222;
    background: #f0f0f0;
}

/* ===================================================================
   BOOKING CARD (Step 1 sidebar)
=================================================================== */
.bc-card {
    background: #fff;
    border-radius: 16px;
    border: 1px solid #e8e8e8;
    box-shadow: 0 4px 24px rgba(0, 0, 0, .09);
    padding: 24px;
}

.bc-group-type {
    font-size: 1.05rem;
    font-weight: 700;
    color: #111;
    margin-bottom: 6px;
}

.bc-price-row {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin-bottom: 4px;
}

.bc-price-label {
    font-size: .82rem;
    color: #888;
}

.bc-price-value {
    font-size: 2rem;
    font-weight: 900;
    color: #111;
    line-height: 1;
}

.bc-price-value em {
    font-style: normal;
    font-size: 1.15rem;
    font-weight: 700;
    margin-left: 2px;
}

.bc-divider {
    border: none;
    border-top: 1px solid #eee;
    margin: 16px 0;
}

.bc-participants-box {
    background: #f7f7f7;
    border-radius: 10px;
    padding: 14px 16px;
    margin-bottom: 14px;
}

.bc-box-title {
    font-size: .8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: #555;
    margin-bottom: 12px;
}

.bc-counter-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.bc-counter-label {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.bc-label-name {
    font-size: .93rem;
    font-weight: 600;
    color: #222;
}

.bc-label-age {
    font-weight: 400;
    color: #888;
    font-size: .8rem;
    margin-left: 3px;
}

.bc-counter-ctrl {
    display: flex;
    align-items: center;
    gap: 10px;
}

.bc-count {
    font-size: 1rem;
    font-weight: 700;
    min-width: 20px;
    text-align: center;
}

.bc-btn {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1.5px solid #ccc;
    background: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    transition: border-color .15s, background .15s;
}

.bc-btn:hover {
    border-color: var(--primary);
    background: var(--primary);
    color: #fff;
}

.bc-date-group {
    margin-bottom: 16px;
}

.bc-date-group .bc-box-title {
    margin-bottom: 8px;
}

.bc-date-input {
    width: 100%;
    padding: 10px 12px;
    border: 1.5px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    box-sizing: border-box;
    background: #fff;
    color: #222;
    outline: none;
    transition: border-color .2s;
}

.bc-date-input:focus {
    border-color: var(--primary);
}

.bc-whatsapp-btn {
    width: 100%;
    background: #e85d04;
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 13px 16px;
    font-size: .95rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    margin-bottom: 14px;
    transition: background .2s;
}

.bc-whatsapp-btn:hover {
    background: #c94d00;
}

.bc-whatsapp-btn i {
    font-size: 1.3rem;
    margin-bottom: 2px;
}

.bc-btn-main {
    font-size: 1rem;
    font-weight: 800;
}

.bc-btn-sub {
    font-size: .8rem;
    font-weight: 400;
    opacity: .9;
}

.bc-trust {
    text-align: center;
    font-size: .8rem;
    color: #666;
    line-height: 1.9;
}

/* ===================================================================
   BOOKING STEP 2 MODAL
=================================================================== */
.bk2-summary {
    background: #f7f7f7;
    border-radius: 10px;
    padding: 14px 16px;
    margin-bottom: 20px;
}

.bk2-summary-name {
    font-weight: 700;
    font-size: 1rem;
    color: #111;
    margin-bottom: 8px;
}

.bk2-summary-details {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 16px;
    font-size: .85rem;
    color: #555;
}

.bk2-summary-details i {
    color: var(--primary);
    margin-right: 4px;
}

.bk2-fields {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.bk2-field-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.bk2-label {
    font-size: .85rem;
    font-weight: 600;
    color: #333;
}

.bk2-req {
    color: #e53e3e;
}

.bk2-input {
    width: 100%;
    padding: 10px 13px;
    border: 1.5px solid #ddd;
    border-radius: 8px;
    font-size: .95rem;
    box-sizing: border-box;
    outline: none;
    transition: border-color .2s;
    font-family: inherit;
    color: #222;
}

.bk2-input:focus {
    border-color: var(--primary);
}

.bk2-textarea {
    resize: vertical;
    min-height: 70px;
}

.bk2-phone-wrap {
    display: flex;
    gap: 8px;
}

.bk2-country-code {
    padding: 10px 8px;
    border: 1.5px solid #ddd;
    border-radius: 8px;
    font-size: .85rem;
    outline: none;
    background: #fff;
    color: #222;
    flex: 0 0 auto;
    max-width: 140px;
}

.bk2-phone-num {
    flex: 1;
}

.bk2-error {
    background: #fff5f5;
    border: 1px solid #fed7d7;
    color: #c53030;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: .87rem;
    margin-top: 6px;
}

/* Step 2 — Send via row */
.bk2-send-label {
    font-size: .78rem;
    font-weight: 700;
    color: #888;
    text-transform: uppercase;
    letter-spacing: .06em;
    margin: 16px 0 10px;
    text-align: center;
}

.bk2-send-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.bk2-send-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 10px;
    border: none;
    border-radius: 10px;
    font-size: .95rem;
    font-weight: 700;
    cursor: pointer;
    transition: opacity .15s, transform .1s;
}

.bk2-send-btn:hover {
    opacity: .88;
    transform: translateY(-1px);
}

.bk2-send-btn:active {
    transform: translateY(0);
}

.bk2-send-btn i {
    font-size: 1.1rem;
}

.bk2-wa-btn {
    background: #25d366;
    color: #fff;
}

.bk2-email-btn {
    background: var(--primary);
    color: #fff;
}

/* ========================
   CONTACT PAGE
   ======================== */

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 48px;
    align-items: start;
}

.contact-form-col,
.contact-info-col {
    background: #fff;
    border-radius: 16px;
    padding: 36px 32px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, .07);
}

.contact-label {
    display: block;
    font-size: .88rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 6px;
}

.contact-input {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid #e0e0e0;
    border-radius: 10px;
    font-size: .95rem;
    font-family: inherit;
    color: #222;
    outline: none;
    transition: border-color .2s, box-shadow .2s;
    box-sizing: border-box;
    background: #fafafa;
}

.contact-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(232, 96, 10, .12);
    background: #fff;
}

textarea.contact-input {
    resize: vertical;
    min-height: 140px;
}

.contact-icon-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    font-size: 1rem;
}

@media (max-width: 820px) {
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .contact-form-col,
    .contact-info-col {
        padding: 24px 20px;
    }
}

@media (max-width: 480px) {
    .contact-form-col form>div:first-child {
        grid-template-columns: 1fr !important;
    }
}