/* ═══════════════════════════════════════════════════════ */
/* TOURS ALL PAGE — Hero + Toolbar + Pagination           */
/* ═══════════════════════════════════════════════════════ */

/* ─── Page Hero ─── */
.page-hero {
    position: relative;
    min-height: 340px;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: #fff;
    padding: 70px 0 50px;
}

.page-hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.page-hero__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(.45);
    transform: scale(1.05);
    animation: kenBurns 20s ease-in-out infinite alternate;
}

.page-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        120deg,
        rgba(13,27,42,.92) 0%,
        rgba(13,27,42,.72) 50%,
        rgba(224,122,63,.35) 100%
    );
    z-index: 1;
}

.page-hero__inner {
    position: relative;
    z-index: 2;
    max-width: 780px;
}

.page-hero__breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: rgba(255,255,255,.75);
    margin-bottom: 18px;
    flex-wrap: wrap;
}

.page-hero__breadcrumb a {
    color: rgba(255,255,255,.9);
    text-decoration: none;
    transition: color .25s;
}

.page-hero__breadcrumb a:hover { color: #FFD166; }
.page-hero__breadcrumb i { font-size: 9px; opacity: .55; }
.page-hero__breadcrumb span { color: #FFD166; font-weight: 600; }

.page-hero__title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(28px, 4.5vw, 46px);
    font-weight: 700;
    line-height: 1.15;
    margin: 0 0 12px;
    letter-spacing: -.02em;
    text-shadow: 0 4px 20px rgba(0,0,0,.4);
}

.page-hero__sub {
    font-size: 15.5px;
    line-height: 1.6;
    color: rgba(255,255,255,.9);
    margin: 0 0 22px;
    max-width: 620px;
}

.page-hero__trust {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(255,255,255,.15);
}

.page-hero__trust span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12.5px;
    color: rgba(255,255,255,.85);
    font-weight: 500;
}

.page-hero__trust i {
    color: #FFD166;
    font-size: 11px;
}

/* ─── Toolbar ─── */
.tours-toolbar {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin: 0 0 16px;
    padding: 12px;
    background: #fff;
    border: 1px solid rgba(0,0,0,.06);
    border-radius: 14px;
    box-shadow: 0 4px 14px rgba(26,35,50,.05);
}

.tours-toolbar__search {
    position: relative;
    flex: 1;
    min-width: 240px;
    display: flex;
    align-items: center;
    background: #FAF6F0;
    border: 1.5px solid rgba(0,0,0,.06);
    border-radius: 10px;
    padding: 0 12px;
    transition: border-color .25s, box-shadow .25s;
}

.tours-toolbar__search:focus-within {
    border-color: #E07A3F;
    box-shadow: 0 0 0 3px rgba(224,122,63,.12);
    background: #fff;
}

.tours-toolbar__search > i {
    color: #E07A3F;
    font-size: 13px;
    flex-shrink: 0;
}

.tours-toolbar__search input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    padding: 10px 10px;
    font-family: 'Inter', sans-serif;
    font-size: 13.5px;
    color: #1A2332;
}

.tours-toolbar__search input::placeholder {
    color: #9CA3AF;
}

.tours-toolbar__clear {
    background: rgba(0,0,0,.06);
    border: none;
    color: #6B7280;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    transition: all .2s;
    flex-shrink: 0;
}

.tours-toolbar__clear:hover {
    background: #E07A3F;
    color: #fff;
}

.tours-toolbar__sort {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #FAF6F0;
    border: 1.5px solid rgba(0,0,0,.06);
    border-radius: 10px;
    padding: 0 12px;
    transition: border-color .25s;
}

.tours-toolbar__sort:focus-within {
    border-color: #E07A3F;
    background: #fff;
}

.tours-toolbar__sort > i {
    color: #E07A3F;
    font-size: 12px;
    flex-shrink: 0;
}

.tours-toolbar__sort select {
    border: none;
    outline: none;
    background: transparent;
    padding: 10px 4px;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #1A2332;
    cursor: pointer;
    min-width: 160px;
}

/* ─── Results Info ─── */
.tours-info {
    text-align: center;
    font-size: 12.5px;
    color: #6B7280;
    margin: 0 0 16px;
    font-weight: 500;
}

.tours-info span:first-child {
    color: #E07A3F;
    font-weight: 800;
    font-size: 14px;
}

/* ═══════════════════════════════════════════════════════ */
/* PAGINATION                                             */
/* ═══════════════════════════════════════════════════════ */

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

/* ─── Prev / Next ─── */
.tours-pagination__btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 16px;
    background: #fff;
    border: 1.5px solid rgba(0,0,0,.08);
    border-radius: 10px;
    color: #1A2332;
    font-family: 'Inter', sans-serif;
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: .01em;
    cursor: pointer;
    transition: all .25s cubic-bezier(.2,.9,.3,1);
}

.tours-pagination__btn i {
    font-size: 10px;
    color: #E07A3F;
    transition: transform .25s ease;
}

.tours-pagination__btn:hover:not(.disabled):not([disabled]) {
    border-color: #E07A3F;
    background: #FFF8F0;
    color: #E07A3F;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(224,122,63,.15);
}

.tours-pagination__btn:hover:not(.disabled):not([disabled]) i {
    transform: translateX(-2px);
}

.tours-pagination__btn:last-child:hover:not(.disabled):not([disabled]) i {
    transform: translateX(2px);
}

.tours-pagination__btn.disabled,
.tours-pagination__btn[disabled] {
    opacity: .35;
    cursor: not-allowed;
    pointer-events: none;
}

/* ─── Page Numbers ─── */
.tours-pagination__num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 8px;
    background: #fff;
    border: 1.5px solid rgba(0,0,0,.08);
    border-radius: 10px;
    color: #1A2332;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all .25s cubic-bezier(.2,.9,.3,1);
    user-select: none;
}

.tours-pagination__num:hover:not(.active) {
    border-color: rgba(224,122,63,.4);
    background: #FFF8F0;
    color: #E07A3F;
    transform: translateY(-2px);
}

.tours-pagination__num.active {
    background: linear-gradient(135deg, #1A2332 0%, #243044 100%);
    border-color: #1A2332;
    color: #fff;
    box-shadow: 0 6px 18px rgba(26,35,50,.25);
    cursor: default;
}

/* ─── Dots ─── */
.tours-pagination__dots {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 40px;
    color: #9CA3AF;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 700;
    user-select: none;
    letter-spacing: .05em;
}

/* ═══════════════════════════════════════════════════════ */
/* RESPONSIVE                                             */
/* ═══════════════════════════════════════════════════════ */

@media (max-width: 640px) {
    .page-hero {
        min-height: 300px;
        padding: 50px 0 40px;
    }
    .page-hero__title { font-size: 26px; }
    .page-hero__sub { font-size: 14px; }
    .page-hero__trust { gap: 10px 14px; }
    .page-hero__trust span { font-size: 11.5px; }

    .tours-toolbar {
        flex-direction: column;
        gap: 10px;
        padding: 10px;
    }
    .tours-toolbar__search,
    .tours-toolbar__sort {
        width: 100%;
        min-width: 0;
    }
    .tours-toolbar__sort select {
        width: 100%;
        min-width: 0;
        font-size: 12.5px;
    }

    /* ─── Pagination: compact on mobile ─── */
    .tours-pagination {
        gap: 4px;
        margin: 24px 0 12px;
    }

    .tours-pagination__label {
        display: none; /* فقط أيقونة على الهاتف */
    }

    .tours-pagination__btn {
        padding: 8px 12px;
        min-width: 40px;
        justify-content: center;
    }

    .tours-pagination__num {
        min-width: 36px;
        height: 36px;
        font-size: 12px;
        border-radius: 8px;
    }

    .tours-pagination__dots {
        min-width: 24px;
        height: 36px;
        font-size: 12px;
    }
}

@media (max-width: 380px) {
    .tours-pagination {
        gap: 3px;
    }
    .tours-pagination__num {
        min-width: 32px;
        height: 32px;
        font-size: 11.5px;
        padding: 0 6px;
    }
    .tours-pagination__dots {
        min-width: 20px;
        height: 32px;
    }
    .tours-pagination__btn {
        padding: 7px 10px;
        min-width: 34px;
    }
}

/* ─── RTL ─── */
[dir="rtl"] .tours-pagination__btn i {
    transform: scaleX(-1);
}

[dir="rtl"] .tours-pagination__btn:hover:not(.disabled):not([disabled]) i {
    transform: scaleX(-1) translateX(2px);
}

[dir="rtl"] .tours-pagination__btn:last-child:hover:not(.disabled):not([disabled]) i {
    transform: scaleX(-1) translateX(-2px);
}

/* ─── Reduced motion ─── */
@media (prefers-reduced-motion: reduce) {
    .page-hero__bg img { animation: none !important; }
    .tours-pagination__btn,
    .tours-pagination__num {
        transition: none !important;
    }
}