:root {
  --brand: #e0161d;
  --brand-dark: #b90f15;
  --brand-soft: rgba(224, 22, 29, 0.12);
  --ink: #1a1a1a;
  --ink-soft: #555;
  --line: #e6e6e6;
  --bg: #f6f7f9;
  --bg-alt: #eef0f4;
  --card: #ffffff;
  --shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 18px 50px rgba(0, 0, 0, 0.14);
  --radius: 14px;
  --radius-sm: 9px;
  --nav-h: 80px;
  --font: 'Poppins', 'Cairo', system-ui, -apple-system, Segoe UI, sans-serif;
}

html[data-mode='dark'] {
  --ink: #f2f2f2;
  --ink-soft: #b3b3b3;
  --line: #2a2a2e;
  --bg: #131316;
  --bg-alt: #1b1b1f;
  --card: #1e1e23;
  --shadow: 0 6px 24px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 18px 50px rgba(0, 0, 0, 0.6);
}

html[dir='rtl'] body { font-family: 'Cairo', 'Poppins', sans-serif; }

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  transition: background 0.25s ease, color 0.25s ease;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { margin: 0 0 0.4em; line-height: 1.2; font-weight: 700; }
p { margin: 0 0 0.6em; color: var(--ink-soft); }
button { font-family: inherit; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }

.icon { width: 20px; height: 20px; }
.icon--stroke { flex: none; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: var(--radius-sm);
  padding: 11px 20px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.btn--primary { background: var(--brand); color: #fff; }
.btn--primary:hover { background: var(--brand-dark); transform: translateY(-1px); box-shadow: 0 8px 20px rgba(224,22,29,0.35); }
.btn--ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn--ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn--sm { padding: 8px 14px; font-size: 0.85rem; }
.btn--lg { padding: 14px 30px; font-size: 1rem; }

.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #ffffff;
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}
html[data-mode='dark'] .navbar { background: var(--bg); }
.navbar__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  height: var(--nav-h);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
}
.navbar__left { display: flex; justify-content: flex-start; }
.navbar__brand { display: flex; align-items: center; }
.navbar__logo { height: 62px; width: auto; object-fit: contain; }
.navbar__nav { display: flex; gap: 22px; justify-content: center; }
.navbar__link {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink-soft);
  position: relative;
  padding: 6px 2px;
  white-space: nowrap;
}
.navbar__link:hover { color: var(--brand); }
.navbar__link.is-active { color: var(--brand); }
.navbar__link.is-active::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px; background: var(--brand); border-radius: 2px;
}
.navbar__right { display: flex; gap: 10px; justify-content: flex-end; align-items: center; }
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 14px;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--ink);
  cursor: pointer;
  transition: all 0.2s ease;
}
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }

.mode-switch { background: none; border: 0; padding: 0; cursor: pointer; }
.mode-switch__track {
  width: 58px; height: 30px; border-radius: 999px; display: block; position: relative;
  background: linear-gradient(135deg, #8ec5ff, #cfe6ff); transition: background 0.3s ease;
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.12);
}
html[data-mode='dark'] .mode-switch__track { background: linear-gradient(135deg, #1b2a4a, #0d1526); }
.mode-switch__knob {
  position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%;
  background: #fff; display: grid; place-items: center; color: #f59e0b;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.3s ease;
  box-shadow: 0 2px 6px rgba(0,0,0,0.25);
}
html[data-mode='dark'] .mode-switch__knob { transform: translateX(28px); background: #e8edff; color: #3b5bdb; }
html[dir='rtl'] .mode-switch__knob { left: auto; right: 3px; }
html[dir='rtl'][data-mode='dark'] .mode-switch__knob { transform: translateX(-28px); }
.mode-switch__knob svg { width: 15px; height: 15px; }
.mode-switch__moon { display: none; }
html[data-mode='dark'] .mode-switch__sun { display: none; }
html[data-mode='dark'] .mode-switch__moon { display: block; }
.navbar__burger { display: none; background: none; border: 0; flex-direction: column; gap: 5px; cursor: pointer; }
.navbar__burger span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; }

.hero { position: relative; overflow: hidden; background: var(--ink); color: #fff; }
.hero__bg {
  position: absolute; inset: 0;
  background:
    linear-gradient(135deg, rgba(0,0,0,0.72), rgba(0,0,0,0.45) 55%, rgba(224,22,29,0.55)),
    url('/img/hero.svg') center/cover no-repeat;
}
.hero__content { position: relative; padding: 110px 20px 130px; text-align: center; }
.hero__title { font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 800; color: #fff; }
.hero__subtitle { color: rgba(255,255,255,0.85); font-size: 1.1rem; max-width: 660px; margin: 0 auto 28px; }
.hero__search {
  display: flex; gap: 10px; max-width: 620px; margin: 0 auto;
  background: var(--card); padding: 10px; border-radius: 999px; box-shadow: var(--shadow-lg);
}
.hero__search input {
  flex: 1; border: 0; background: transparent; padding: 10px 18px; font-size: 1rem;
  color: var(--ink); outline: none;
}
.hero__search .btn { border-radius: 999px; padding: 12px 26px; }

.section { padding: 64px 0; }
.section--alt { background: var(--bg-alt); }
.section--why {
  background: linear-gradient(180deg, var(--bg-alt) 0%, #e3e7ee 100%);
  padding-top: 76px;
}
html[data-mode='dark'] .section--why { background: linear-gradient(180deg, var(--bg-alt) 0%, #16161a 100%); }
.section--why .why-card { background: var(--card); }
.section__head { text-align: center; margin-bottom: 40px; }
.section__head h2 { font-size: 2rem; font-weight: 800; position: relative; display: inline-block; }
.section__head h2::after {
  content: ''; display: block; width: 54px; height: 4px; border-radius: 4px;
  background: var(--brand); margin: 14px auto 0;
}
.section__head p { max-width: 620px; margin: 0 auto; }

.services-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.service-tile {
  position: relative; overflow: hidden;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 18px; text-align: center; transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}
.service-tile::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--brand); transform: scaleX(0); transform-origin: center; transition: transform 0.3s ease;
}
.service-tile:hover { transform: translateY(-8px); box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12); border-color: transparent; }
.service-tile:hover::before { transform: scaleX(1); }
.service-tile__icon {
  width: 62px; height: 62px; border-radius: 18px; display: grid; place-items: center;
  background: var(--brand-soft); color: var(--brand); margin-bottom: 6px;
  transition: transform 0.3s ease, background 0.3s ease;
}
.service-tile:hover .service-tile__icon { transform: scale(1.08) rotate(-4deg); background: var(--brand); color: #fff; }
.service-tile__icon .icon { width: 30px; height: 30px; }
.service-tile h3 { font-size: 1.05rem; margin: 0; }
.service-tile__count { font-size: 0.8rem; color: var(--ink-soft); }

.trips-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.trip-tile {
  position: relative; overflow: hidden; border-radius: var(--radius); padding: 38px 24px;
  background: var(--card); border: 1px solid var(--line); text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}
.trip-tile:hover { transform: translateY(-8px); box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12); border-color: transparent; }
.trip-tile__icon { width: 68px; height: 68px; border-radius: 50%; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); transition: transform 0.3s ease, background 0.3s ease; }
.trip-tile:hover .trip-tile__icon { transform: scale(1.08); background: var(--brand); color: #fff; }
.trip-tile__icon .icon { width: 32px; height: 32px; }
.trip-tile h3 { font-size: 1.15rem; }
.trip-tile__cta { color: var(--brand); font-weight: 600; font-size: 0.9rem; }

.cards-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 22px; }

.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column; transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}
.card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12); border-color: transparent; }
.card__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; display: block; background: var(--bg-alt); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.card:hover .card__media img { transform: scale(1.07); }
.card__media::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,0.18));
}
.card__placeholder { height: 100%; display: grid; place-items: center; background: linear-gradient(135deg, #1a1a1a, #333); color: #fff; font-weight: 800; letter-spacing: 3px; }
.card__placeholder--lg { aspect-ratio: 4 / 3; border-radius: var(--radius); }
.card__body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card__title { font-size: 1.05rem; margin: 0; }
.card__title a:hover { color: var(--brand); }
.card__bio { font-size: 0.88rem; margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card__footer { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 10px; }

.badge { position: absolute; top: 12px; padding: 5px 11px; border-radius: 999px; font-size: 0.72rem; font-weight: 700; color: #fff; }
.badge--featured { left: 12px; background: var(--brand); }
.badge--offer { right: 12px; background: #0f7b3f; }
html[dir='rtl'] .badge--featured { left: auto; right: 12px; }
html[dir='rtl'] .badge--offer { right: auto; left: 12px; }

.price { display: flex; flex-direction: column; line-height: 1.15; }
.price__now { font-weight: 800; font-size: 1.15rem; color: var(--ink); }
.price__now--lg { font-size: 2rem; }
.price__old { text-decoration: line-through; color: var(--ink-soft); font-size: 0.85rem; }
.price__label { font-size: 0.78rem; color: var(--ink-soft); }
.price__save { color: #0f7b3f; font-weight: 600; font-size: 0.85rem; }
.price__native { font-size: 0.76rem; color: var(--ink-soft); }

.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.why-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 26px; text-align: center; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.why-card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(0, 0, 0, 0.1); }
.why-card__icon {
  width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark)); color: #fff;
  margin: 0 auto 16px; box-shadow: 0 8px 20px rgba(224, 22, 29, 0.28);
}
.why-card__icon .icon { width: 30px; height: 30px; }
.why-card h3 { font-size: 1.1rem; }
.why-card p { font-size: 0.9rem; margin: 0; }

.page-head { padding: 34px 0 10px; background: var(--bg-alt); border-bottom: 1px solid var(--line); }
.page-head__title { font-size: 1.9rem; margin: 0; }
.breadcrumb { display: flex; gap: 8px; font-size: 0.85rem; color: var(--ink-soft); margin-bottom: 10px; flex-wrap: wrap; }
.breadcrumb a:hover { color: var(--brand); }

.filter-tabs { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 22px; }
.filter-tab {
  padding: 9px 18px; border-radius: 999px; border: 1px solid var(--line);
  font-weight: 600; font-size: 0.9rem; color: var(--ink-soft); background: var(--card);
}
.filter-tab:hover { border-color: var(--brand); color: var(--brand); }
.filter-tab.is-active { background: var(--brand); color: #fff; border-color: var(--brand); }

.hotel-menu {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 14px; margin-bottom: 24px; align-items: end;
}
.hotel-menu__field { display: flex; flex-direction: column; gap: 6px; }
.hotel-menu__label {
  font-size: 0.78rem; font-weight: 700; color: var(--ink-soft);
  text-transform: uppercase; letter-spacing: 0.5px;
}
.hotel-menu__field select {
  width: 100%; padding: 11px 34px 11px 14px; border-radius: var(--radius-sm);
  border: 1px solid var(--line); background: var(--card)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23555' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E")
    no-repeat right 12px center / 16px;
  color: var(--ink); font-family: inherit; font-size: 0.92rem; font-weight: 600;
  cursor: pointer; appearance: none; -webkit-appearance: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
html[dir='rtl'] .hotel-menu__field select { padding: 11px 14px 11px 34px; background-position: left 12px center; }
.hotel-menu__field select:hover { border-color: var(--brand); }
.hotel-menu__field select:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.hotel-menu__clear {
  align-self: end; justify-self: start; display: inline-flex; align-items: center; gap: 6px;
  padding: 11px 16px; border-radius: var(--radius-sm); border: 1px solid var(--brand);
  background: var(--brand-soft); color: var(--brand); font-weight: 700; font-size: 0.85rem;
}
.hotel-menu__clear:hover { background: var(--brand); color: #fff; }

.stars { color: #f5a623; font-size: 0.85rem; letter-spacing: 1px; line-height: 1; }
.stars--lg { font-size: 1.25rem; }

.card__tags { display: flex; gap: 6px; flex-wrap: wrap; }
.tag-mini {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 0.68rem; font-weight: 700; padding: 4px 9px; border-radius: 8px;
  background: var(--bg-alt); color: var(--ink-soft); line-height: 1.4;
  border: 1px solid transparent;
}
.tag-mini svg { width: 13px; height: 13px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.tag-mini--meal { background: rgba(217, 119, 6, 0.12); color: #b45309; }
.tag-mini--row { background: rgba(37, 99, 235, 0.1); color: #2563eb; }
.tag-mini--beach { background: rgba(13, 148, 136, 0.12); color: #0d9488; }
.tag-mini--aqua { background: rgba(124, 58, 237, 0.12); color: #7c3aed; }
html[data-mode='dark'] .tag-mini--meal { background: rgba(217, 119, 6, 0.2); color: #fbbf24; }
html[data-mode='dark'] .tag-mini--row { background: rgba(37, 99, 235, 0.22); color: #93c5fd; }
html[data-mode='dark'] .tag-mini--beach { background: rgba(13, 148, 136, 0.22); color: #5eead4; }
html[data-mode='dark'] .tag-mini--aqua { background: rgba(124, 58, 237, 0.22); color: #c4b5fd; }

.card__actions { display: flex; gap: 8px; margin-top: 14px; }
.card__actions .btn {
  flex: 1; padding: 10px 12px; font-size: 0.82rem; font-weight: 700;
  border-radius: 10px; white-space: nowrap; gap: 6px;
}
.card__actions .btn svg { flex: none; width: 15px; height: 15px; }
.card__actions .btn--primary { box-shadow: 0 4px 12px rgba(224, 22, 29, 0.22); }
.card__actions .btn--primary:hover { box-shadow: 0 6px 18px rgba(224, 22, 29, 0.34); }
.card__actions .btn--ghost { background: var(--bg-alt); border-color: transparent; color: var(--ink); }
.card__actions .btn--ghost:hover { background: var(--brand-soft); border-color: transparent; color: var(--brand); }
.detail__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.detail__specs {
  list-style: none; padding: 0; margin: 0 0 22px; display: flex; flex-direction: column; gap: 8px;
}
.detail__specs li { font-size: 0.92rem; color: var(--ink-soft); }
.detail__specs b { color: var(--ink); }


.listing-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  margin-bottom: 24px; flex-wrap: wrap;
}
.listing-bar__count { font-weight: 600; color: var(--ink-soft); }
.sort-form { display: flex; align-items: center; gap: 10px; }
.sort-form select {
  padding: 9px 34px 9px 14px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--card) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23555' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center / 16px;
  color: var(--ink); font-family: inherit; font-size: 0.9rem; font-weight: 600;
  cursor: pointer; appearance: none; -webkit-appearance: none;
}
html[dir='rtl'] .sort-form select { padding: 9px 14px 9px 34px; background-position: left 12px center; }
.sort-form select:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }

.empty {
  text-align: center; padding: 70px 20px; background: var(--card);
  border: 1px dashed var(--line); border-radius: var(--radius);
}

.detail { display: grid; grid-template-columns: 1.15fr 1fr; gap: 40px; align-items: start; }
.detail__media img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; object-fit: cover; }
.detail__title { font-size: 2rem; margin-bottom: 12px; }
.detail__bio { font-size: 1rem; margin-bottom: 22px; }
.detail__price { display: flex; flex-direction: column; gap: 4px; margin-bottom: 24px; }

.error-page { text-align: center; padding: 100px 0; }
.error-page h1 { font-size: 4rem; color: var(--brand); }

.modal { position: fixed; inset: 0; z-index: 200; display: none; }
#checkoutModal { z-index: 260; }
.modal.is-open { display: block; }
.modal__overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.55); backdrop-filter: blur(3px); animation: fade 0.2s ease; }
.modal__dialog {
  position: relative; max-width: 640px; width: calc(100% - 32px); margin: 6vh auto;
  background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow-lg);
  padding: 0; max-height: 88vh; overflow-y: auto; animation: pop 0.25s ease;
}
.modal__form { padding: 22px 26px 24px; }
.modal .modal__header { padding: 24px 26px 0; }
.modal__dialog--sm > .checkout__summary,
.modal__dialog--sm > .cart__customer,
.modal__dialog--sm > .modal__actions,
.modal__dialog--sm > .form-alert { margin-left: 26px; margin-right: 26px; }
.modal__dialog--sm > .checkout__summary { margin-top: 18px; }
.modal__dialog--sm > .modal__actions { margin-bottom: 24px; }
.modal__dialog--sm > .form-alert { margin-bottom: 22px; }
#bookingModal .modal__item { margin: 18px 26px 0; }
#bookingModal .modal__item + .modal__form { padding-top: 18px; }
.modal__close { position: absolute; top: 14px; right: 16px; border: 0; background: none; font-size: 1.8rem; line-height: 1; color: var(--ink-soft); cursor: pointer; }
html[dir='rtl'] .modal__close { right: auto; left: 16px; }
.modal__close:hover { color: var(--brand); }
.modal__banner { display: flex; align-items: center; gap: 14px; padding: 22px 26px; background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%); border-radius: var(--radius) var(--radius) 0 0; }
.modal__banner-icon { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; background: rgba(255,255,255,0.18); color: #fff; flex: none; }
.modal__banner-icon svg { width: 24px; height: 24px; }
.modal__banner-text h3 { margin: 0; font-size: 1.25rem; color: #fff; }
.modal__banner-text p { margin: 3px 0 0; font-size: 0.85rem; color: rgba(255,255,255,0.85); }
.modal__close { position: absolute; top: 16px; inset-inline-end: 18px; border: 0; background: rgba(255,255,255,0.2); width: 32px; height: 32px; border-radius: 50%; font-size: 1.4rem; line-height: 1; color: #fff; cursor: pointer; display: grid; place-items: center; transition: background 0.18s ease; }
.modal__close:hover { background: rgba(255,255,255,0.35); }
html[dir='rtl'] .modal__close { right: auto; left: 18px; }
.modal__header h3 { font-size: 1.4rem; }
.modal__header p { font-size: 0.9rem; margin-bottom: 20px; }
.modal__item {
  display: flex; align-items: center; gap: 13px;
  background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 12px 14px; margin-bottom: 20px;
}
.modal__item-media { width: 52px; height: 52px; border-radius: 11px; overflow: hidden; flex: none; }
.modal__item-media img { width: 100%; height: 100%; object-fit: cover; }
.modal__item-placeholder { width: 100%; height: 100%; display: grid; place-items: center; font-weight: 800; font-size: 1.2rem; color: #fff; background: linear-gradient(135deg, #1a1a1a, #333); }
.modal__item-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.modal__item-title { font-size: 1rem; font-weight: 800; color: var(--ink); }
.modal__item-meta { font-size: 0.8rem; color: var(--ink-soft); }
.modal__item-lock { color: var(--ink-soft); flex: none; }
.modal__item-lock svg { width: 18px; height: 18px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field--full { grid-column: 1 / -1; }
.form-field label { font-size: 0.85rem; font-weight: 600; color: var(--ink); }
.form-field input, .form-field select, .form-field textarea {
  padding: 11px 13px; border-radius: var(--radius-sm); border: 1px solid var(--line);
  background: var(--bg); color: var(--ink); font-family: inherit; font-size: 0.92rem;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft);
}
.form-field textarea { resize: vertical; min-height: 82px; }
.modal__actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 22px; }
.form-alert { margin-top: 14px; font-weight: 600; font-size: 0.9rem; display: none; }
.form-alert.is-error { display: block; color: var(--brand); }

@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes pop { from { opacity: 0; transform: translateY(14px) scale(0.98); } to { opacity: 1; transform: none; } }

.footer { background: var(--ink); color: rgba(255,255,255,0.8); margin-top: 0; }
html[data-mode='dark'] .footer { background: #0c0c0f; border-top: 1px solid var(--line); }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 30px; padding: 54px 20px 40px; }
.footer__logo { height: 72px; width: auto; object-fit: contain; background: #fff; padding: 8px; border-radius: 10px; margin-bottom: 14px; }
.footer__col h4 { color: #fff; font-size: 1rem; margin-bottom: 14px; }
.footer__col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 9px; }
.footer__col a { color: rgba(255,255,255,0.75); font-size: 0.9rem; }
.footer__col a:hover { color: var(--brand); }
.footer__brand p { color: rgba(255,255,255,0.7); font-size: 0.9rem; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,0.12); padding: 18px 0; font-size: 0.85rem; text-align: center; }

.toast {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(120%);
  background: #1a1a1a; color: #fff; padding: 13px 24px; border-radius: 999px;
  font-weight: 600; font-size: 0.9rem; box-shadow: var(--shadow-lg); z-index: 300;
  transition: transform 0.35s ease; opacity: 0; max-width: 90vw; text-align: center;
}
.toast[data-type='success'] { background: #0f7b3f; color: #fff; }
.toast[data-type='error'] { background: var(--brand); color: #fff; }
html[data-mode='dark'] .toast { background: #f2f2f2; color: #111; }
html[data-mode='dark'] .toast[data-type='success'] { background: #12b76a; color: #06210f; }
html[data-mode='dark'] .toast[data-type='error'] { background: #ff5a5f; color: #2a0507; }
.toast.is-visible { transform: translateX(-50%) translateY(0); opacity: 1; }

.cart-btn { position: relative; }
.cart-btn__count {
  position: absolute; top: -4px; inset-inline-end: -6px;
  min-width: 20px; height: 20px; padding: 1px 5px 0; border-radius: 999px;
  background: var(--brand); color: #fff; font-size: 0.7rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  line-height: 1; text-align: center; border: 2px solid var(--bg);
}
html[dir='rtl'] .cart-btn__count { font-family: 'Poppins', sans-serif; line-height: 1; padding-top: 2px; }
.cart { position: fixed; inset: 0; z-index: 250; display: none; }
.cart.is-open { display: block; }
.cart__overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.5); backdrop-filter: blur(3px); animation: fade 0.2s ease; }
.cart__panel {
  position: absolute; top: 0; inset-inline-end: 0; height: 100%; width: min(440px, 100%);
  background: var(--bg); display: flex; flex-direction: column; box-shadow: -20px 0 60px rgba(0,0,0,0.25);
  animation: slideIn 0.28s ease;
}
html[dir='rtl'] .cart__panel { animation: slideInRtl 0.28s ease; }
@keyframes slideIn { from { transform: translateX(100%); } to { transform: none; } }
@keyframes slideInRtl { from { transform: translateX(-100%); } to { transform: none; } }

.cart__head {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 10px;
  padding: 20px 22px; border-bottom: 1px solid var(--line); background: var(--card);
}
.cart__head h3 { margin: 0; font-size: 1.2rem; }
.cart__sub { margin: 2px 0 0; font-size: 0.82rem; color: var(--ink-soft); }
.cart__close { border: 0; background: none; font-size: 1.8rem; line-height: 1; color: var(--ink-soft); cursor: pointer; }
html[dir='rtl'] .cart__close { font-size: 1.8rem; }
.cart__close:hover { color: var(--brand); }

.cart__body { flex: 1; overflow-y: auto; padding: 16px 18px; display: flex; flex-direction: column; gap: 14px; }
.cart__empty { text-align: center; padding: 50px 20px; color: var(--ink-soft); }
.cart__empty svg { width: 54px; height: 54px; color: var(--line); margin-bottom: 12px; }
.cart__empty h4 { margin: 0 0 6px; color: var(--ink); }
.cart__empty p { font-size: 0.88rem; }

.cart__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.cart-item {
  display: flex; gap: 12px; background: var(--card); border: 1px solid var(--line);
  border-radius: 14px; padding: 12px; align-items: flex-start;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.cart-item:hover { border-color: var(--brand-soft); box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06); }
.cart-item__media { width: 54px; height: 54px; border-radius: 11px; overflow: hidden; flex: none; }
.cart-item__media img { width: 100%; height: 100%; object-fit: cover; }
.cart-item__placeholder {
  width: 100%; height: 100%; display: grid; place-items: center; font-weight: 800; color: #fff;
  background: linear-gradient(135deg, #1a1a1a, #333);
}
.cart-item__main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.cart-item__title { font-weight: 700; font-size: 0.92rem; color: var(--ink); }
.cart-item__service { font-size: 0.76rem; color: var(--brand); font-weight: 700; }
.cart-item__details { display: flex; flex-wrap: wrap; gap: 4px 10px; margin-top: 3px; }
.cart-item__kv { font-size: 0.74rem; color: var(--ink-soft); }
.cart-item__kv b { color: var(--ink); }
.cart-item__side { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; flex: none; }
.cart-item__price { font-weight: 800; font-size: 0.85rem; color: var(--ink); }
.cart-item__hidden { font-size: 0.68rem; font-weight: 700; color: var(--ink-soft); background: var(--bg-alt); padding: 3px 9px; border-radius: 999px; }
.cart-item__remove {
  border: 0; background: var(--bg-alt); color: var(--ink-soft); width: 24px; height: 24px;
  border-radius: 50%; cursor: pointer; font-size: 1rem; line-height: 1;
}
.cart-item__remove:hover { background: var(--brand); color: #fff; }



.modal__dialog--sm { max-width: 480px; }
.checkout__summary { background: var(--bg-alt); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; margin-bottom: 18px; }
.checkout__list { list-style: none; margin: 0 0 10px; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.checkout__name { font-weight: 700; color: var(--ink); flex: 1; }
.checkout__list li { display: flex; align-items: center; gap: 10px; font-size: 0.88rem; }
.checkout__svc { font-size: 0.74rem; color: var(--brand); font-weight: 700; }
.checkout__price { font-weight: 700; color: var(--ink); font-size: 0.85rem; }
.checkout__hidden { font-size: 0.68rem; font-weight: 700; color: var(--ink-soft); background: var(--card); padding: 3px 9px; border-radius: 999px; }
.checkout__total { display: flex; align-items: center; justify-content: space-between; border-top: 1px dashed var(--line); padding-top: 10px; font-weight: 700; color: var(--ink); }
.checkout__total strong { font-size: 1.15rem; }
#checkoutModal .cart__customer { margin-bottom: 4px; }
.cart__customer { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.cart__customer .form-field { margin: 0; }
.cart__customer input {
  padding: 11px 13px; border-radius: var(--radius-sm); border: 1px solid var(--line);
  background: var(--bg); color: var(--ink); font-family: inherit; font-size: 0.92rem;
}
.cart__customer input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.cart__foot { padding: 18px 22px; border-top: 1px solid var(--line); background: var(--card); }
.cart__total { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; font-size: 0.95rem; }
.cart__total strong { font-size: 1.3rem; color: var(--ink); }

@media (max-width: 520px) {
  .cart__customer { grid-template-columns: 1fr; }
}

@media (max-width: 980px) {
  .services-grid { grid-template-columns: repeat(3, 1fr); }
  .why-grid, .trips-grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .detail { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .navbar__inner { grid-template-columns: auto auto 1fr; }
  .navbar__burger { display: flex; }
  .navbar__nav {
    position: absolute; top: var(--nav-h); left: 0; right: 0;
    flex-direction: column; gap: 0; background: var(--bg);
    border-bottom: 1px solid var(--line); padding: 10px 0;
    transform: translateY(-140%); transition: transform 0.25s ease; z-index: -1;
  }
  .navbar__nav.is-open { transform: translateY(0); }
  .navbar__link { padding: 13px 20px; }
  .navbar__link.is-active::after { display: none; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .form-grid { grid-template-columns: 1fr; }
  .navbar__logo { height: 36px; }
  .hero__search { flex-direction: column; border-radius: var(--radius); }
  .hero__search .btn { border-radius: var(--radius-sm); }
}

html[dir='rtl'] .navbar__link,
html[dir='rtl'] .btn-ghost,
html[dir='rtl'] .btn,
html[dir='rtl'] .filter-tab { letter-spacing: 0; }
html[dir='rtl'] .card__bio,
html[dir='rtl'] .detail { text-align: right; }
html[dir='rtl'] .section__head { text-align: center; }
html[dir='rtl'] .card__title,
html[dir='rtl'] .card__footer { text-align: right; }
html[dir='rtl'] .listing-bar,
html[dir='rtl'] .sort-form { flex-direction: row-reverse; }
html[dir='rtl'] .modal__actions { flex-direction: row-reverse; }
html[dir='rtl'] .breadcrumb { flex-direction: row-reverse; justify-content: flex-end; }
html[dir='rtl'] .hero__search,
html[dir='rtl'] .form-grid,
html[dir='rtl'] .navbar__right,
html[dir='rtl'] .navbar__nav { direction: rtl; }
html[dir='rtl'] .detail__price { text-align: right; }
@media (max-width: 760px) {
  html[dir='rtl'] .listing-bar { flex-direction: column; }
}




