/* ===========================================================
   Syrine Tours — site styles (built on design-tokens.css)
   =========================================================== */

* { box-sizing: border-box; }

body {
    margin: 0;
    font-family: var(--font-rubik);
    color: var(--text-color);
    background: #fff;
}

a { text-decoration: none; color: inherit; transition: color .25s; }
a:hover { color: var(--primary-color1); }
img { max-width: 100%; height: auto; }
h1, h2, h3, h4, h5 { font-family: var(--font-rubik); color: var(--title-color); margin: 0 0 .5em; }
ul { margin: 0; padding: 0; list-style: none; }

.container-st { max-width: 1290px; margin: 0 auto; padding: 0 16px; }

/* ---------- Buttons ---------- */
.btn-st {
    position: relative; overflow: hidden; z-index: 1;
    display: inline-flex; align-items: center; gap: 8px;
    border: none; cursor: pointer;
    border-radius: var(--btn-radius);
    background: var(--primary-color1); color: #fff;
    font-weight: 600; font-size: 15px; letter-spacing: .4px;
    padding: 13px 28px; line-height: 1; transition: .4s;
    text-transform: capitalize;
}
.btn-st::after {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background: var(--primary-color2);
    transform: skewX(45deg) scale(0, 1); transform-origin: left; transition: transform .45s;
}
.btn-st:hover { color: #fff; }
.btn-st:hover::after { transform: skewX(45deg) scale(1, 1); }
.btn-st-sm { padding: 9px 16px; font-size: 13px; }
.btn-st.btn-amber { background: var(--primary-color2); }
.btn-st.btn-amber::after { background: var(--primary-color1); }
.btn-outline-st {
    background: transparent; border: 1px solid var(--primary-color1); color: var(--primary-color1);
}
.btn-outline-st:hover { background: var(--primary-color1); color: #fff; }
[dir="rtl"] .btn-st::after { transform-origin: right; }

/* ---------- Section title ---------- */
.section-eyebrow { font-family: var(--font-satisfy); color: var(--primary-color1); font-size: 22px; display: block; margin-bottom: 8px; }
.section-heading { font-size: 40px; font-weight: 600; line-height: 1.15; }
.section-pad { padding: 80px 0; }
@media (max-width: 991px){ .section-heading { font-size: 30px; } .section-pad { padding: 56px 0; } }

/* ---------- Top bar ---------- */
.topbar { background: var(--title-color); color: #cfcfcf; font-size: 13px; }
.topbar a { color: #cfcfcf; }
.topbar a:hover { color: var(--primary-color2); }
.topbar .container-st { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 42px; flex-wrap: wrap; }
.topbar .tb-group { display: flex; align-items: center; gap: 18px; }
.lang-switch { display: flex; align-items: center; gap: 8px; }
.lang-switch a { display: inline-flex; align-items: center; gap: 5px; padding: 2px 6px; border-radius: 4px; }
.lang-switch a.active { background: rgba(255,255,255,.12); color: #fff; }
.lang-switch img { width: 20px; height: 14px; object-fit: cover; border-radius: 2px; }
.tb-social a { margin: 0 4px; }

/* ---------- Header ---------- */
.site-header { background: #fff; box-shadow: var(--shadow-xs); position: sticky; top: 0; z-index: 1000; }
.site-header .container-st { display: flex; align-items: center; justify-content: space-between; min-height: 78px; gap: 20px; }
.site-logo img { max-height: 46px; }
.main-nav { display: flex; gap: 30px; }
.main-nav a { font-weight: 500; color: var(--title-color); font-size: 16px; }
.main-nav a:hover, .main-nav a.active { color: var(--primary-color1); }
.header-cta { display: flex; align-items: center; gap: 16px; }
.header-phone { display: flex; align-items: center; gap: 8px; font-weight: 600; color: var(--title-color); }
.nav-toggle { display: none; background: none; border: none; font-size: 26px; color: var(--title-color); cursor: pointer; }
@media (max-width: 991px){
    .main-nav { position: absolute; top: 100%; inset-inline: 0; background: #fff; flex-direction: column; padding: 16px 24px; gap: 14px; box-shadow: var(--shadow-sm); display: none; }
    .main-nav.open { display: flex; }
    .nav-toggle { display: block; }
    .header-phone { display: none; }
}

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 600px; display: flex; align-items: center; color: #fff; background-size: cover; background-position: center; }
.hero::before { content:""; position:absolute; inset:0; background: linear-gradient(90deg, rgba(16,12,8,.65), rgba(16,12,8,.25)); }
.hero-inner { position: relative; z-index: 2; max-width: 640px; padding: 60px 0; }
.hero-stars { color: var(--primary-color2); margin-bottom: 14px; font-size: 18px; letter-spacing: 3px; }
.hero h1 { color: #fff; font-size: 56px; font-weight: 700; line-height: 1.1; margin-bottom: 18px; }
.hero p { font-size: 18px; color: #f0f0f0; margin-bottom: 28px; }
@media (max-width: 991px){ .hero h1 { font-size: 36px; } .hero { min-height: 460px; } }

/* ---------- Search widget ---------- */
.search-widget { background: #fff; border-radius: 12px; box-shadow: var(--shadow-card); margin-top: -55px; position: relative; z-index: 5; padding: 10px; }
.search-tabs { display: flex; gap: 6px; margin-bottom: 6px; }
.search-tabs button { border: none; background: transparent; font-weight: 600; padding: 12px 22px; border-radius: 8px; cursor: pointer; color: var(--title-color); }
.search-tabs button.active { background: var(--primary-color1); color: #fff; }
.search-fields { display: flex; flex-wrap: wrap; align-items: end; gap: 14px; padding: 16px; }
.search-field { flex: 1 1 160px; display: flex; flex-direction: column; gap: 6px; }
.search-field label { font-size: 13px; font-weight: 600; color: var(--title-color); }
.search-field select, .search-field input { border: 1px solid #e3e3e3; border-radius: 8px; padding: 11px 12px; font-size: 14px; color: var(--text-color); background: #fafafa; }

/* ---------- Cards ---------- */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 26px; }
.tour-card { background: #fff; border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .3s, box-shadow .3s; display: flex; flex-direction: column; }
.tour-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-card); }
.tour-card .thumb { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.tour-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.tour-card:hover .thumb img { transform: scale(1.06); }
.tour-card .dest-tag { position: absolute; inset-inline-start: 12px; bottom: 12px; background: rgba(16,12,8,.7); color: #fff; padding: 5px 12px; border-radius: 30px; font-size: 12px; display: inline-flex; gap: 5px; align-items: center; }
.tour-card .body { padding: 18px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.tour-card .title { font-size: 19px; font-weight: 600; color: var(--title-color); }
.tour-card .meta { font-size: 13px; color: var(--text-color); display: flex; gap: 14px; flex-wrap: wrap; }
.tour-card .price-row { margin-top: auto; display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; padding-top: 12px; border-top: 1px solid #f0f0f0; }
.tour-card .price small { display: block; font-size: 11px; color: #aaa; text-transform: uppercase; }
.tour-card .price .amount { font-size: 20px; font-weight: 700; color: var(--primary-color1); }
.rating { color: var(--primary-color2); font-size: 13px; }

/* ---------- Tabs (featured) ---------- */
.pill-tabs { display: flex; gap: 10px; justify-content: center; margin-bottom: 36px; }
.pill-tabs button { border: 1px solid #e2e2e2; background: #fff; padding: 10px 24px; border-radius: 40px; cursor: pointer; font-weight: 600; color: var(--title-color); }
.pill-tabs button.active { background: var(--primary-color1); color: #fff; border-color: var(--primary-color1); }

/* ---------- Feature tiles ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px,1fr)); gap: 22px; }
.feature-tile { background: #fff; border: 1px solid #f0f0f0; border-radius: 12px; padding: 28px 20px; text-align: center; transition: .3s; }
.feature-tile:hover { box-shadow: var(--shadow-card); border-color: transparent; }
.feature-tile .icon { width: 64px; height: 64px; margin: 0 auto 16px; display: flex; align-items: center; justify-content: center; background: var(--bg-green-soft); border-radius: 50%; }
.feature-tile .icon img { width: 32px; height: 32px; }
.feature-tile h4 { font-size: 17px; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.about-img img { border-radius: 16px; }
.counter-badge { display: inline-flex; flex-direction: column; background: var(--primary-color1); color:#fff; border-radius: 12px; padding: 16px 22px; margin-top: 18px; }
.counter-badge .num { font-size: 30px; font-weight: 700; }
@media (max-width: 991px){ .about-grid { grid-template-columns: 1fr; } }

/* ---------- Deals ---------- */
.deals-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.deal-card { position: relative; border-radius: 14px; overflow: hidden; min-height: 260px; display: flex; align-items: flex-end; color: #fff; background-size: cover; background-position: center; }
.deal-card::before { content:""; position:absolute; inset:0; background: linear-gradient(0deg, rgba(16,12,8,.75), rgba(16,12,8,.05)); }
.deal-card .deal-body { position: relative; z-index: 2; padding: 22px; }
.deal-card .badge-st { background: var(--primary-color2); color: var(--title-color); padding: 4px 12px; border-radius: 30px; font-size: 12px; font-weight: 700; display:inline-block; margin-bottom: 8px; }
.deal-card h3 { color: #fff; font-size: 24px; }
@media (max-width: 767px){ .deals-grid { grid-template-columns: 1fr; } }

/* ---------- Testimonials ---------- */
.testi-card { background: #fff; border-radius: 14px; box-shadow: var(--shadow-sm); padding: 26px; }
.testi-head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.testi-head img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.testi-initials { width: 56px; height: 56px; border-radius: 50%; flex: none; display: inline-flex; align-items: center; justify-content: center; background: var(--bg-green-soft); color: var(--primary-color1); font-weight: 700; font-size: 18px; }
a.source-tag { text-decoration: none; }
a.source-tag:hover { background: var(--primary-color1); color: #fff; }
.testi-name { font-weight: 700; color: var(--title-color); }
.testi-loc { font-size: 13px; color: var(--text-color); }
.source-tag { font-size: 11px; padding: 2px 8px; border-radius: 20px; background: var(--bg-green-soft); color: var(--primary-color1); }

/* ---------- Newsletter band ---------- */
.newsletter { background: var(--primary-color1); color: #fff; border-radius: 16px; padding: 44px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.newsletter h2 { color: #fff; font-size: 30px; }
.newsletter form { display: flex; gap: 10px; flex: 1 1 380px; max-width: 520px; }
.newsletter input { flex: 1; border: none; border-radius: 8px; padding: 14px 16px; }
.newsletter .btn-st { background: var(--title-color); }
.newsletter .btn-st::after { background: var(--primary-color2); }

/* ---------- Transport carousel ---------- */
.transport-row { display: grid; grid-template-columns: repeat(auto-fill,minmax(300px,1fr)); gap: 24px; }
.transport-card .modes { display: flex; gap: 12px; color: var(--primary-color1); font-size: 15px; }

/* ---------- Breadcrumb banner ---------- */
.page-banner { background: var(--title-color); color: #fff; padding: 60px 0; background-size: cover; background-position: center; position: relative; }
.page-banner::before { content:""; position:absolute; inset:0; background: rgba(16,12,8,.6); }
.page-banner .container-st { position: relative; z-index: 2; }
.page-banner h1 { color: #fff; font-size: 40px; margin-bottom: 6px; }
.page-banner .crumbs { color: #e8e8e8; font-size: 14px; }
.page-banner .crumbs a { color: var(--primary-color2); }

/* ---------- Listing layout ---------- */
.listing { display: grid; grid-template-columns: 300px 1fr; gap: 34px; }
@media (max-width: 991px){ .listing { grid-template-columns: 1fr; } }
.filter-card { background: #fff; border: 1px solid #eee; border-radius: 12px; padding: 22px; margin-bottom: 22px; }
.filter-card h4 { font-size: 17px; margin-bottom: 14px; }
.filter-card label { display: block; font-size: 14px; margin-bottom: 8px; color: var(--text-color); }
.filter-card select, .filter-card input { width: 100%; border: 1px solid #e3e3e3; border-radius: 8px; padding: 10px 12px; font-size: 14px; margin-bottom: 12px; background:#fafafa; }
.facet-list a { display: flex; justify-content: space-between; padding: 6px 0; font-size: 15px; }
.facet-list a.active { color: var(--primary-color1); font-weight: 600; }
.facet-list .count { color: #aaa; font-size: 13px; }
.listing-toolbar { display:flex; justify-content: space-between; align-items:center; margin-bottom: 22px; gap: 12px; flex-wrap: wrap; }
.empty-state { text-align:center; padding: 60px 0; color: var(--text-color); }

/* ---------- Pagination ---------- */
.pager { display:flex; gap: 8px; justify-content:center; margin-top: 36px; }
.pager a, .pager span { display:inline-flex; align-items:center; justify-content:center; min-width:42px; height:42px; border-radius:8px; border:1px solid #e3e3e3; font-weight:600; }
.pager a:hover { border-color: var(--primary-color1); color: var(--primary-color1); }
.pager .current { background: var(--primary-color1); color:#fff; border-color: var(--primary-color1); }
.pager .disabled { opacity:.4; pointer-events:none; }

/* ---------- Tour detail ---------- */
.detail-grid { display:grid; grid-template-columns: 1fr 380px; gap: 38px; align-items:start; }
@media (max-width: 991px){ .detail-grid { grid-template-columns: 1fr; } }
.detail-hero img { width:100%; border-radius:14px; aspect-ratio: 16/9; object-fit:cover; }
.gallery-thumbs { display:grid; grid-template-columns: repeat(auto-fill,minmax(110px,1fr)); gap:10px; margin-top:12px; }
.gallery-thumbs img { width:100%; aspect-ratio:4/3; object-fit:cover; border-radius:8px; cursor:pointer; }
.detail-meta { display:flex; flex-wrap:wrap; gap: 22px; margin: 20px 0; padding: 18px 0; border-block: 1px solid #eee; }
.detail-meta .mi { display:flex; flex-direction:column; gap:2px; }
.detail-meta .mi small { color:#aaa; font-size:12px; text-transform:uppercase; }
.detail-meta .mi b { color: var(--title-color); font-size:16px; }
.detail-section { margin: 34px 0; }
.detail-section h2 { font-size:26px; margin-bottom:16px; }
.incl-list li, .excl-list li { padding: 7px 0; display:flex; gap:10px; align-items:flex-start; }
.incl-list i { color: var(--primary-color1); }
.excl-list i { color: #d9534f; }
.itinerary .acc-item { border:1px solid #eee; border-radius:10px; margin-bottom:12px; overflow:hidden; }
.itinerary .acc-head { width:100%; text-align:start; background:#fafafa; border:none; padding:16px 18px; font-weight:600; color:var(--title-color); cursor:pointer; display:flex; gap:12px; align-items:center; }
.itinerary .acc-head .day { background:var(--primary-color1); color:#fff; border-radius:50%; width:34px; height:34px; display:inline-flex; align-items:center; justify-content:center; font-size:13px; flex:none; }
.itinerary .acc-body { padding: 16px 18px; }
.map-embed iframe { width:100%; height:340px; border:0; border-radius:12px; }

/* ---------- Package detail: flight line, itinerary timeline, hotels ---------- */
.pkg-flight { display:flex; gap:8px; align-items:center; color:var(--title-color); font-size:14px; background:var(--bg-green-pale); border:1px solid var(--primary-color2); border-radius:10px; padding:12px 16px; margin:18px 0 0; }
.pkg-flight i { color:var(--primary-color1); }

.itinerary-timeline .timeline { list-style:none; margin:0; padding:0; position:relative; }
.itinerary-timeline .timeline::before { content:""; position:absolute; inset-block:8px; inset-inline-start:16px; width:2px; background:var(--primary-color2); }
.tl-item { position:relative; display:flex; gap:18px; padding-inline-start:0; padding-bottom:22px; }
.tl-item:last-child { padding-bottom:0; }
.tl-day { flex:none; width:34px; height:34px; border-radius:50%; background:var(--primary-color1); color:#fff; display:inline-flex; align-items:center; justify-content:center; font-size:14px; font-weight:700; position:relative; z-index:1; box-shadow:0 0 0 4px #fff; }
.tl-content { padding-top:4px; }
.tl-content h3 { font-size:17px; margin:0 0 4px; color:var(--title-color); }
.tl-content p { margin:0; color:var(--text-color); font-size:14.5px; line-height:1.6; }

.hotels-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(220px,1fr)); gap:14px; }
.hotel-card { border:1px solid #eee; border-radius:12px; padding:16px; background:#fff; }
.hotel-card .hc-stars { color:#f5a623; font-size:13px; margin-bottom:6px; }
.hotel-card .hc-name { font-weight:600; color:var(--title-color); }
.hotel-card .hc-name a { color:var(--title-color); }
.hotel-card .hc-name a:hover { color:var(--primary-color1); }
.hotel-card .hc-city { color:#888; font-size:13px; margin-top:4px; }
[dir="rtl"] .itinerary-timeline .timeline::before { inset-inline-start:auto; inset-inline-end:16px; }

/* ---------- Booking panel ---------- */
.booking-panel { background:#fff; border:1px solid #eee; border-radius:14px; box-shadow: var(--shadow-card); padding: 24px; position: sticky; top: 96px; }
.booking-panel h3 { font-size:20px; margin-bottom:16px; }
.booking-panel .sess { display:flex; gap:10px; align-items:center; border:1px solid #e8e8e8; border-radius:8px; padding:10px 12px; margin-bottom:10px; cursor:pointer; font-size:14px; }
.booking-panel .sess.sel { border-color: var(--primary-color1); background: var(--bg-green-pale); }
.qty-row { display:flex; justify-content:space-between; align-items:center; padding:10px 0; border-bottom:1px solid #f1f1f1; }
.qty-ctrl { display:flex; align-items:center; gap:10px; }
.qty-ctrl button { width:30px; height:30px; border-radius:6px; border:1px solid #ddd; background:#fff; cursor:pointer; font-size:16px; line-height:1; }
.extras label { display:flex; justify-content:space-between; align-items:center; gap:10px; padding:8px 0; font-size:14px; }
.total-row { display:flex; justify-content:space-between; align-items:center; margin:16px 0; font-size:20px; font-weight:700; color:var(--title-color); }
.total-row .amount { color: var(--primary-color1); }

/* ---------- Destination facts ---------- */
.facts-grid { display:grid; grid-template-columns: repeat(auto-fit,minmax(160px,1fr)); gap:16px; margin:24px 0; }
.fact { background:var(--bg-green-pale); border-radius:10px; padding:18px; }
.fact small { display:block; color:var(--text-color); font-size:13px; }
.fact b { font-size:18px; color:var(--title-color); }

/* ---------- Room types ---------- */
.room-table { width:100%; border-collapse:collapse; margin-top:12px; }
.room-table th, .room-table td { padding:14px; border-bottom:1px solid #eee; text-align:start; font-size:15px; }
.room-table th { background:var(--bg-green-pale); color:var(--title-color); font-weight:600; }
.amenity-list { display:flex; flex-wrap:wrap; gap:10px; margin:14px 0; }
.amenity-list span { background:var(--bg-green-soft); color:var(--primary-color1); padding:6px 14px; border-radius:30px; font-size:13px; }
.stars-lg { color:var(--primary-color2); font-size:20px; }

/* ---------- Pricing tiers ---------- */
.tier-list { display:flex; flex-direction:column; gap:10px; }
.tier-list .tier { display:flex; justify-content:space-between; padding:12px 16px; border:1px solid #eee; border-radius:8px; }
.tier-list .tier b { color:var(--primary-color1); }
.mode-badges { display:flex; gap:14px; font-size:22px; color:var(--primary-color1); margin:10px 0; }

/* ---------- Blog ---------- */
.blog-layout { display:grid; grid-template-columns: 1fr 320px; gap:38px; }
@media (max-width:991px){ .blog-layout { grid-template-columns:1fr; } }
.blog-card { background:#fff; border-radius:12px; overflow:hidden; box-shadow:var(--shadow-sm); display:flex; flex-direction:column; }
.blog-card .thumb { aspect-ratio:16/10; overflow:hidden; }
.blog-card .thumb img { width:100%; height:100%; object-fit:cover; transition:transform .5s; }
.blog-card:hover .thumb img { transform:scale(1.05); }
.blog-card .body { padding:20px; }
.blog-card .cat { color:var(--primary-color1); font-size:13px; font-weight:600; }
.blog-card h3 { font-size:20px; margin:8px 0; }
.blog-card .date { font-size:13px; color:#aaa; }
.blog-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(300px,1fr)); gap:26px; }
.widget { background:#fff; border:1px solid #eee; border-radius:12px; padding:22px; margin-bottom:22px; }
.widget h4 { font-size:18px; margin-bottom:14px; }
.widget .recent { display:flex; gap:12px; margin-bottom:14px; }
.widget .recent img { width:64px; height:64px; border-radius:8px; object-fit:cover; flex:none; }
.widget .recent .t { font-size:14px; font-weight:600; }
.post-body { font-size:16px; line-height:1.8; }
.post-body img { border-radius:12px; margin:18px 0; }
.tag-list { display:flex; flex-wrap:wrap; gap:8px; margin:20px 0; }
.tag-list a { background:var(--bg-grey); padding:6px 14px; border-radius:30px; font-size:13px; }
.comment { display:flex; gap:14px; padding:18px 0; border-bottom:1px solid #eee; }
.comment .ava { width:50px; height:50px; border-radius:50%; background:var(--bg-green-soft); display:flex; align-items:center; justify-content:center; color:var(--primary-color1); font-weight:700; flex:none; }

/* ---------- Contact ---------- */
.contact-grid { display:grid; grid-template-columns:1fr 1fr; gap:40px; }
@media (max-width:991px){ .contact-grid { grid-template-columns:1fr; } }
.contact-info .ci { display:flex; gap:14px; align-items:flex-start; margin-bottom:22px; }
.contact-info .ci i { font-size:22px; color:var(--primary-color1); }
.form-grid { display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.form-grid .full { grid-column:1 / -1; }
.form-control-st { width:100%; border:1px solid #e3e3e3; border-radius:8px; padding:13px 14px; font-size:15px; background:#fafafa; }
.hp { position:absolute; left:-9999px; }
.alert-ok { background:var(--bg-green-soft); color:var(--primary-color1); border-radius:8px; padding:14px 16px; margin-bottom:16px; }
.alert-err { background:#fdecea; color:#c0392b; border-radius:8px; padding:14px 16px; margin-bottom:16px; }
.enquiry-wrap { max-width:680px; margin:0 auto; }
.enquiry-lead { color:var(--text-color); font-size:16px; margin-bottom:22px; }

/* ---------- Flights ---------- */
.flights-cta { text-align:center; padding:70px 0; }
.flights-cta i { font-size:60px; color:var(--primary-color1); }

/* ---------- Static prose ---------- */
.prose { max-width:880px; }
.prose h2 { font-size:24px; margin:28px 0 12px; }
.prose p { margin-bottom:14px; }

/* ---------- Auth ---------- */
.auth-wrap { max-width:480px; margin:0 auto; }
.auth-card { background:#fff; border:1px solid #eee; border-radius:14px; box-shadow:var(--shadow-card); padding:34px; }
.auth-card h1 { font-size:26px; margin-bottom:6px; }
.auth-card .sub { color:var(--text-color); margin-bottom:22px; }
.auth-card label { display:block; font-weight:600; font-size:14px; margin:14px 0 6px; }
.auth-card .field { margin-bottom:4px; }
.auth-card .val { color:#d9534f; font-size:13px; }
.auth-sep { text-align:center; margin:20px 0; color:#aaa; position:relative; }
.auth-sep::before { content:""; position:absolute; top:50%; left:0; right:0; height:1px; background:#eee; z-index:0; }
.auth-sep span { background:#fff; padding:0 12px; position:relative; z-index:1; }
.auth-links { display:flex; justify-content:space-between; margin-top:16px; font-size:14px; }
.dev-link { background:#fff8e6; border:1px solid var(--gold-4); border-radius:8px; padding:12px; font-size:13px; word-break:break-all; margin-top:14px; }

/* ---------- Account dashboard ---------- */
.acct-layout { display:grid; grid-template-columns:260px 1fr; gap:30px; }
@media (max-width:991px){ .acct-layout { grid-template-columns:1fr; } }
.acct-nav { background:#fff; border:1px solid #eee; border-radius:12px; padding:14px; height:fit-content; }
.acct-nav a { display:flex; gap:10px; align-items:center; padding:12px 14px; border-radius:8px; font-weight:500; color:var(--title-color); }
.acct-nav a.active, .acct-nav a:hover { background:var(--bg-green-pale); color:var(--primary-color1); }
.acct-panel { background:#fff; border:1px solid #eee; border-radius:12px; padding:26px; }

/* ---------- Account chrome menu ---------- */
.acct-menu { position:relative; }
.acct-menu .dropdown-menu { min-width:200px; }

/* ---------- RTL (Arabic) ---------- */
[dir="rtl"] body { text-align: right; }
[dir="rtl"] .hero::before { background: linear-gradient(270deg, rgba(16,12,8,.65), rgba(16,12,8,.25)); }
[dir="rtl"] .tour-card .dest-tag { inset-inline-start: 12px; }
[dir="rtl"] .lang-switch img { margin-inline-start: 4px; }
[dir="rtl"] .search-field, [dir="rtl"] .auth-card, [dir="rtl"] .form-control-st { text-align: right; }
[dir="rtl"] .testi-head .source-tag { margin-inline-start: 0; margin-inline-end: auto; }
[dir="rtl"] .acc-head { text-align: right; }
[dir="rtl"] .admin-shell { direction: rtl; }
[dir="rtl"] .admin-nav a .badge { margin-inline-start: auto; }

/* ---------- a11y ---------- */
.btn-st:focus-visible, .btn-admin:focus-visible, a:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible, button:focus-visible {
    outline: 3px solid rgba(99,171,69,.5); outline-offset: 2px;
}
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--title-color); color: #b9b9b9; padding-top: 70px; margin-top: 10px; }
.site-footer h4 { color: #fff; font-size: 18px; margin-bottom: 20px; }
.site-footer a { color: #b9b9b9; }
.site-footer a:hover { color: var(--primary-color2); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 34px; }
.footer-cols li { margin-bottom: 10px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 50px; padding: 20px 0; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 14px; }
@media (max-width: 991px){ .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 575px){ .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Reusable image gallery / lightbox (item 1) ---------- */
.ig-noscroll { overflow: hidden; }
.ig-thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 10px; margin-top: 12px; }
.ig-thumb { position: relative; padding: 0; border: 0; background: none; cursor: pointer; border-radius: 8px; overflow: hidden; aspect-ratio: 4/3; }
.ig-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .25s ease; }
.ig-thumb:hover img { transform: scale(1.06); }
.ig-thumb.ig-more img { filter: brightness(.5); }
.ig-more-badge { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 22px; font-weight: 700; }

.ig-overlay { position: fixed; inset: 0; z-index: 2000; background: rgba(8, 8, 10, .92); display: grid;
    grid-template-rows: 1fr auto auto; align-items: center; justify-items: center; outline: none; padding: 16px; }
.ig-stage { grid-row: 1; display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; overflow: hidden; }
.ig-stage img { max-width: 92vw; max-height: 72vh; object-fit: contain; border-radius: 8px; box-shadow: 0 10px 40px rgba(0,0,0,.5); cursor: default; }
.ig-counter { grid-row: 2; color: #eaeaea; font-size: 14px; margin: 10px 0; }
.ig-close { position: absolute; top: 14px; inset-inline-end: 16px; width: 44px; height: 44px; border-radius: 50%;
    border: 0; background: rgba(255,255,255,.12); color: #fff; font-size: 18px; cursor: pointer; }
.ig-close:hover { background: rgba(255,255,255,.25); }
.ig-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%;
    border: 0; background: rgba(255,255,255,.14); color: #fff; font-size: 22px; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.ig-nav:hover { background: rgba(255,255,255,.3); }
.ig-prev { inset-inline-start: 16px; }
.ig-next { inset-inline-end: 16px; }
.ig-strip { grid-row: 3; display: flex; gap: 8px; overflow-x: auto; max-width: 96vw; padding: 6px 2px; scrollbar-width: thin; }
.ig-strip img { width: 72px; height: 54px; object-fit: cover; border-radius: 6px; cursor: pointer; opacity: .5; flex: none; transition: opacity .2s ease; }
.ig-strip img.active, .ig-strip img:hover { opacity: 1; outline: 2px solid var(--primary-color1); }
/* RTL: arrows already use logical inset; flip the chevron glyphs so they point the right way. */
[dir="rtl"] .ig-prev .bi, [dir="rtl"] .ig-next .bi { transform: scaleX(-1); }
@media (max-width: 600px) {
    .ig-stage img { max-height: 64vh; }
    .ig-nav { width: 40px; height: 40px; font-size: 18px; }
}

/* ---------- Package detail: dates, hotel offers, booking (items 2-3) ---------- */
html { scroll-behavior: smooth; }
.pkg h2 { font-size: 22px; margin-bottom: 14px; }
.pkg-dates { display: flex; flex-wrap: wrap; gap: 10px; }
.pkg-date { display: flex; flex-direction: column; gap: 2px; text-align: start; border: 1px solid #e3e3e3; background: #fff; border-radius: 10px; padding: 12px 16px; cursor: pointer; min-width: 165px; transition: border-color .2s, box-shadow .2s; }
.pkg-date:hover { border-color: var(--primary-color2); }
.pkg-date.sel { border-color: var(--primary-color1); background: var(--bg-green-pale); box-shadow: 0 0 0 1px var(--primary-color1) inset; }
.pkg-date .rng { font-weight: 700; color: var(--title-color); font-size: 14px; }
.pkg-date .frm { font-size: 12px; color: #888; }
.pkg-date .frm b { color: var(--primary-color1); font-size: 14px; }
.pkg-date .seats { font-size: 11px; color: #aaa; }
.pkg-ondemand { color: var(--text-color); }

.pkg-offers { display: flex; flex-direction: column; gap: 12px; }
.pkg-offer { display: flex; justify-content: space-between; gap: 16px; border: 1px solid #e8e8e8; border-radius: 12px; padding: 16px 18px; cursor: pointer; transition: border-color .2s, box-shadow .2s; }
.pkg-offer:hover { border-color: var(--primary-color2); }
.pkg-offer.sel { border-color: var(--primary-color1); box-shadow: 0 0 0 1px var(--primary-color1) inset; }
.pkg-offer .po-name { font-weight: 700; color: var(--title-color); font-size: 17px; }
.pkg-offer .po-stars { color: #f5a623; margin-inline-start: 8px; font-size: 13px; }
.pkg-offer .po-hotels { color: #777; font-size: 13px; margin: 4px 0; }
.pkg-offer .po-meta { display: flex; align-items: center; gap: 14px; margin-top: 8px; flex-wrap: wrap; }
.pkg-offer .po-range { font-size: 13px; color: var(--text-color); }
.pkg-offer .po-airline { height: 26px; width: auto; }
.pkg-offer .po-airline-txt { font-size: 12px; font-weight: 700; color: var(--primary-color1); }
.pkg-offer .po-side { display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; gap: 10px; flex: none; }
.pkg-offer .po-price { text-align: end; line-height: 1.1; }
.pkg-offer .po-price small { display: block; font-size: 11px; color: #aaa; }
.pkg-offer .po-price b { font-size: 22px; color: var(--primary-color1); }
.pkg-offer .po-pp { font-size: 11px; color: #999; }

.pkg-book { margin-top: 22px; border-top: 1px solid #eee; padding-top: 16px; max-width: 460px; }
.pkg-book .qty-row.disabled { opacity: .55; }
.pkg-book .child-hint { display: block; font-size: 11px; color: #d9534f; font-style: normal; }
.pkg-fineprint { font-size: 12px; color: #888; margin: 10px 0; }
.pkg-fineprint li { padding: 2px 0; }

.pkg-summary .ps-price { line-height: 1.1; margin-bottom: 12px; }
.pkg-summary .ps-price small { display: block; font-size: 11px; color: #aaa; text-transform: uppercase; }
.pkg-summary .ps-price b { font-size: 30px; color: var(--primary-color1); }
.pkg-summary .ps-price span { font-size: 12px; color: #999; }
.pkg-summary .ps-airline { margin-bottom: 12px; }
.pkg-summary .ps-airline img { height: 30px; }
.pkg-summary .ps-fact { font-size: 13px; color: var(--text-color); margin-bottom: 16px; display: flex; gap: 8px; align-items: center; }
@media (max-width: 600px) {
    .pkg-offer { flex-direction: column; }
    .pkg-offer .po-side { flex-direction: row; align-items: center; }
}
