/* ===========================
   TRIPS PAGE
=========================== */
.trips-page {
  padding: 120px 24px 60px;
  background: #f9fafb;
  min-height: 100vh;
}

.trips-page .container {
  max-width: 1280px;
  margin: 0 auto;
}


.trips-hero {
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-top: 95px;
    overflow: hidden;
}

.trips-hero__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    z-index: 0;
    border-radius:var(--radius);
}

.trips-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(10, 20, 40, 0.55) 0%,
        rgba(10, 20, 40, 0.40) 100%
    );
    z-index: 1;
    border-radius:var(--radius);
}

.trips-hero__search {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 1100px;
    padding: 0 24px;
    transform: translateY(-10%);
}

.trips-hero__search .search-box {
     transform: none;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);

}

/* ===========================
   SORT BAR
=========================== */
.sort-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  padding: 20px 0 0;
}

.sort-bar__label {
  font-size: 14px;
  font-weight: 500;
  color: #6b7280;
}

/* Sort Dropdown */
.sort-dropdown-wrap {
    position: relative;
}

.sort-dropdown-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border: 1.5px solid #e5e7eb;
    border-radius: 25px;
    background: #ffffff;
    font-size: 13px;
    font-weight: 600;
    color: #1a1a2e;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.sort-dropdown-btn:hover,
.sort-dropdown-btn.open {
    border-color: #00AEEF;
    color: #00AEEF;
}

.sort-dropdown-btn svg {
    transition: transform 0.3s ease;
}

.sort-dropdown-btn.open svg {
    transform: rotate(180deg);
}

.sort-dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    background: #ffffff;
    border: 1.5px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.10);
    min-width: 180px;
    z-index: 200;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: all 0.25s ease;
}

.sort-dropdown-menu.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

body.rtl .sort-dropdown-menu {
    left: auto;
    right: 0;
}

.sort-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 11px 16px;
    font-size: 13px;
    font-weight: 500;
    color: #1a1a2e;
    background: transparent;
    border: none;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.3s ease;
    text-align: left;
}

body.rtl .sort-option {
    text-align: right;
}

.sort-option:hover {
    background: #f9fafb;
    color: #00AEEF;
}

.sort-option.active {
    color: #00AEEF;
    font-weight: 700;
    background: #f0f9ff;
}

.sort-option svg {
    color: #00AEEF;
    flex-shrink: 0;
}

/* ===========================
   TRIPS GRID
=========================== */
.trips-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

/* ===========================
   TRIP CARD
=========================== */
.trip-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  transition: all 0.3s ease;
  cursor: pointer;
  text-decoration: none;
  display: block;
  color: inherit;
}

.trip-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.12);
}

.trip-card__img-wrap {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.trip-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.trip-card:hover .trip-card__img {
  transform: scale(1.05);
}

.trip-card__badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: #00AEEF;
  color: white;
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
}

body.rtl .trip-card__badge {
  right: auto;
  left: 14px;
}

.trip-card__body {
  padding: 20px;
}

.trip-card__title {
  font-size: 17px;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 12px;
}

.trip-card__meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
}

.trip-card__meta-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: #6b7280;
}

.trip-card__meta-item svg {
  width: 14px;
  height: 14px;
  color: #00AEEF;
}

.trip-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}

.trip-card__features {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid #f3f4f6;
}

.trip-feature {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #4b5563;
}

.trip-feature svg {
  width: 14px;
  height: 14px;
  color: #00AEEF;
  flex-shrink: 0;
}

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

.trip-card__slots {
  font-size: 12px;
  color: #6b7280;
}

.trip-card__slots span {
  color: #00AEEF;
  font-weight: 600;
}

.trip-tag {
  background: #e0f2fe;
  color: #0284c7;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  border: 1px solid #bae6fd;
}

/* ===========================
   PAGINATION
=========================== */
.pagination-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 40px;
}

.page-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid #e5e7eb;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  color: #1a1a2e;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.page-btn:hover,
.page-btn.active {
  background: #00AEEF;
  border-color: #00AEEF;
  color: white;
}

.page-btn svg {
  width: 16px;
  height: 16px;
}

/* ===========================
   EMPTY STATE
=========================== */
.empty-state {
  text-align: center;
  padding: 80px 24px;
  grid-column: 1 / -1;
}

.empty-state svg {
  width: 80px;
  height: 80px;
  color: #d1d5db;
  margin: 0 auto 20px;
}

.empty-state h3 {
  font-size: 20px;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 8px;
}

.empty-state p {
  font-size: 14px;
  color: #6b7280;
}

/* ===========================
   TRIP SHOW PAGE
=========================== */
.trip-show {
  padding-top: 68px;
  background: #fff;
}

.trip-gallery {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  grid-template-rows: 440px;
  gap: 6px;
  padding: 16px 24px;
  max-width: 1280px;
  margin: 0 auto;
}

.gallery-main {
  border-radius: 16px 0 0 16px;
  overflow: hidden;
  height: 100%;
  position: relative;
  cursor: pointer;
}

.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-main__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: white;
  font-size: 15px;
  font-weight: 700;
  opacity: 0;
  transition: all 0.3s ease;
  border-radius: 16px 0 0 16px;
}

.gallery-main__overlay svg {
  width: 22px;
  height: 22px;
}

.gallery-main:hover .gallery-main__overlay {
  background: rgba(0,0,0,0.35);
  opacity: 1;
}

.gallery-right {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 6px;
  height: 100%;
}

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

.gallery-thumb:nth-child(1) { border-radius: 0 16px 0 0; }
.gallery-thumb:nth-child(2) { border-radius: 0; }
.gallery-thumb:nth-child(3) { border-radius: 0; }
.gallery-thumb:nth-child(4) { border-radius: 0 0 16px 0; }

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

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

.gallery-thumb--more::after {
  content: attr(data-count);
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 18px;
  font-weight: 700;
}

/* ===========================
   TRIP STATS BAR
=========================== */
.trip-stats-bar {
  border-bottom: 1px solid #e5e7eb;
  background: #fff;
}

.trip-stats-bar__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.trip-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  font-size: 12px;
  color: #6b7280;
  text-align: center;
}

.trip-stat svg {
  width: 20px;
  height: 20px;
  color: #00AEEF;
  margin-bottom: 2px;
}

.trip-stat strong {
  font-size: 14px;
  font-weight: 700;
  color: #1a1a2e;
  display: block;
}

.stars {
  color: #f59e0b;
  font-size: 14px;
}

/* ===========================
   TRIP CONTENT
=========================== */
.trip-content {
  max-width: 1280px;
  margin: 0 auto;
  padding: 32px 24px 80px;
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 48px;
  align-items: start;
}

.trip-main h1 {
  font-size: 30px;
  font-weight: 800;
  color: #1a1a2e;
  margin-bottom: 10px;
  line-height: 1.2;
}

.trip-meta-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.trip-meta-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: #6b7280;
}

.trip-meta-item svg {
  width: 14px;
  height: 14px;
  color: #00AEEF;
}

.trip-destinations-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.trip-description {
  font-size: 14px;
  color: #4b5563;
  line-height: 1.9;
  margin-bottom: 36px;
}

/* ===========================
   TRIP SECTIONS
=========================== */
.trip-section {
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid #f3f4f6;
}

.trip-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.trip-section__title {
  font-size: 22px;
  font-weight: 800;
  color: #1a1a2e;
  margin-bottom: 4px;
}

.trip-section__sub {
  font-size: 13px;
  color: #9ca3af;
  margin-bottom: 24px;
}

/* ===========================
   ITINERARY
=========================== */
.itinerary-list {
  display: flex;
  flex-direction: column;
}

.itinerary-item {
  display: flex;
  gap: 16px;
  margin-bottom: 8px;
}

.itinerary-item__line {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
  width: 36px;
}

.itinerary-item__dot {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #00AEEF;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
  z-index: 1;
  box-shadow: 0 0 0 4px #e0f2fe;
}

.itinerary-item__connector {
  width: 2px;
  flex: 1;
  min-height: 16px;
  background: #bae6fd;
  margin: 4px 0;
}

.itinerary-item:last-child .itinerary-item__connector {
  display: none;
}

.itinerary-item__body {
  flex: 1;
  background: #fff;
  border: 1.5px solid #e5e7eb;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 4px;
}

.itinerary-item__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  cursor: pointer;
  transition: background 0.2s ease;
  user-select: none;
}

.itinerary-item__header:hover {
  background: #f9fafb;
}

.itinerary-item__left {
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex: 1;
}

.itinerary-item__badges {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 2px;
}

.itinerary-badge {
  padding: 2px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
}

.itinerary-badge--days {
  background: #f0f9ff;
  color: #0284c7;
  border: 1px solid #bae6fd;
}

.itinerary-badge--country {
  background: #f3f4f6;
  color: #6b7280;
}

.itinerary-item__title {
  font-size: 15px;
  font-weight: 700;
  color: #1a1a2e;
}

.itinerary-item__subtitle {
  font-size: 12px;
  color: #9ca3af;
}

.itinerary-item__toggle {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1.5px solid #e5e7eb;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  flex-shrink: 0;
  margin-left: 12px;
}

.itinerary-item__toggle svg {
  width: 14px;
  height: 14px;
  color: #6b7280;
  transition: transform 0.3s ease;
}

.itinerary-item__toggle.open {
  border-color: #00AEEF;
  background: #f0f9ff;
}

.itinerary-item__toggle.open svg {
  transform: rotate(180deg);
  color: #00AEEF;
}

.itinerary-item__desc {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 18px;
}

.itinerary-item__desc.open {
  max-height: 800px;
  padding: 0 18px 18px;
}

.itinerary-item__desc-text {
  font-size: 13px;
  color: #4b5563;
  line-height: 1.8;
  padding-top: 12px;
  border-top: 1px solid #f3f4f6;
}

/* ===========================
   INCLUDES / EXCLUDES
=========================== */
.includes-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.includes-col__label {
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.includes-col__label--green { color: #10b981; }
.includes-col__label--red   { color: #ef4444; }

.include-item {
  padding: 10px 0;
  border-bottom: 1px solid #f3f4f6;
}

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

.include-item__row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.include-item__icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.include-item__icon--green { background: #dcfce7; }
.include-item__icon--green svg { width: 12px; height: 12px; color: #10b981; }

.include-item__icon--red { background: #fee2e2; }
.include-item__icon--red svg { width: 12px; height: 12px; color: #ef4444; }

.include-item__title {
  font-size: 13px;
  font-weight: 600;
  color: #1a1a2e;
  line-height: 1.5;
}

.no-fees-badge {
  background: #f0fdf4;
  border: 1.5px solid #86efac;
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 12px;
  color: #166534;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
}

.no-fees-badge svg {
  width: 16px;
  height: 16px;
  color: #10b981;
  flex-shrink: 0;
}

/* ===========================
   POLICIES
=========================== */
.policies-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.policy-card {
  border: 1.5px solid #e5e7eb;
  border-radius: 16px;
  padding: 24px;
  position: relative;
  overflow: hidden;
}

.policy-card::before {
  content: '';
  position: absolute;
  top: -30px;
  right: -30px;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: #f9fafb;
  z-index: 0;
}

.policy-card__icon {
  width: 44px;
  height: 44px;
  background: #f0f9ff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  position: relative;
  z-index: 1;
}

.policy-card__icon svg {
  width: 22px;
  height: 22px;
  color: #00AEEF;
}

.policy-card__title {
  font-size: 16px;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 4px;
  position: relative;
  z-index: 1;
}

.policy-card__subtitle {
  font-size: 12px;
  color: #00AEEF;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.policy-items {
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  z-index: 1;
}

.policy-item {
  border-radius: 10px;
  padding: 10px 14px;
}

.policy-item--green {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
}

.policy-item--yellow {
  background: #fefce8;
  border: 1px solid #fde68a;
}

.policy-item--red {
  background: #fef2f2;
  border: 1px solid #fecaca;
}

.policy-item__title {
  font-size: 12px;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 3px;
}

.policy-item__desc {
  font-size: 11px;
  color: #6b7280;
  line-height: 1.6;
}

.policy-item--plain {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 0;
  font-size: 12px;
  color: #6b7280;
}

.policy-item--plain svg {
  width: 16px;
  height: 16px;
  color: #10b981;
  flex-shrink: 0;
}

/* ===========================
   BOOKING SIDEBAR
=========================== */
.booking-sidebar {
  position: sticky;
  top: 88px;
}

.booking-card {
  background: white;
  border: 2px solid #e5e7eb;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0,0,0,0.08);
}

.booking-card__header {
  background: linear-gradient(135deg, #0090C8, #00AEEF);
  padding: 20px 24px;
  color: white;
}

.booking-card__plane {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.85;
  margin-bottom: 8px;
}

.booking-card__price {
  font-size: 36px;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 4px;
}

.booking-card__price span {
  font-size: 14px;
  font-weight: 400;
  opacity: 0.8;
}

.booking-card__type {
  font-size: 11px;
  opacity: 0.7;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.booking-card__body {
  padding: 20px 24px;
}

.booking-card__section-label {
  font-size: 11px;
  font-weight: 700;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 14px;
}

.passenger-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid #f3f4f6;
}

.passenger-row:last-of-type { border-bottom: none; }

.passenger-info {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.passenger-label {
  font-size: 14px;
  font-weight: 600;
  color: #1a1a2e;
}

.passenger-sublabel {
  font-size: 11px;
  color: #9ca3af;
}

.passenger-price {
  font-size: 12px;
  color: #6b7280;
  margin-top: 2px;
}

.passenger-counter {
  display: flex;
  align-items: center;
  gap: 12px;
}

.counter-btn {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #00AEEF;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 18px;
  font-weight: 700;
  transition: all 0.2s ease;
  border: none;
  line-height: 1;
  padding: 0;
}

.counter-btn:hover {
  background: #0090C8;
  transform: scale(1.1);
}

.counter-btn:disabled {
  background: #e5e7eb;
  color: #9ca3af;
  cursor: not-allowed;
  transform: none;
}

.counter-value {
  font-size: 16px;
  font-weight: 700;
  color: #1a1a2e;
  min-width: 24px;
  text-align: center;
}

.slots-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fef3c7;
  color: #92400e;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 14px;
  border: 1px solid #fde68a;
}

.slots-badge svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.addons-section {
  padding: 16px 24px;
  border-top: 1px solid #e5e7eb;
}

.addons-title {
  font-size: 11px;
  font-weight: 700;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}

.addon-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid #f3f4f6;
}

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

.addon-item label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #4b5563;
  cursor: pointer;
}

.addon-item input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: #00AEEF;
}

.addon-price {
  font-size: 12px;
  font-weight: 600;
  color: #00AEEF;
}

.booking-total {
  background: #f9fafb;
  padding: 16px 24px;
  border-top: 1px solid #e5e7eb;
}

.booking-total__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.booking-total__label {
  font-size: 13px;
  color: #6b7280;
  font-weight: 500;
}

.booking-total__price {
  font-size: 22px;
  font-weight: 800;
  color: #1a1a2e;
}

.book-btn {
  display: block;
  width: 100%;
  background: #00AEEF;
  color: white;
  padding: 15px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
  font-family: inherit;
}

.book-btn:hover {
  background: #0090C8;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0,174,239,0.4);
}

.book-btn:disabled {
  background: #9ca3af;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.booking-security {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 12px;
}

.booking-security__item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: #6b7280;
}

.booking-security__item svg {
  width: 14px;
  height: 14px;
  color: #10b981;
  flex-shrink: 0;
}

/* ===========================
   MODAL
=========================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(4px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.modal {
  background: white;
  border-radius: 20px;
  width: 100%;
  max-width: 560px;
  max-height: 90vh;
  overflow-y: auto;
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.modal-overlay.open .modal {
  transform: translateY(0);
}

.modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid #e5e7eb;
  position: sticky;
  top: 0;
  background: white;
  z-index: 1;
}

.modal__title {
  font-size: 18px;
  font-weight: 700;
  color: #1a1a2e;
}

.modal__close {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1.5px solid #e5e7eb;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.modal__close:hover {
  background: #f9fafb;
  border-color: #9ca3af;
}

.modal__close svg {
  width: 16px;
  height: 16px;
  color: #6b7280;
}

.modal__body { padding: 24px; }

.modal-summary {
  background: #f0f9ff;
  border: 1.5px solid #bae6fd;
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 20px;
}

.modal-summary__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  padding: 4px 0;
  color: #6b7280;
}

.modal-summary__row strong {
  color: #1a1a2e;
  font-weight: 600;
}

.modal-summary__row:last-child strong {
  color: #00AEEF;
  font-size: 15px;
  font-weight: 700;
}

.modal-form-group { margin-bottom: 14px; }

.modal-form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #374151;
  margin-bottom: 6px;
}

.modal-form-group label span { color: #ef4444; }

.modal-input {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid #e5e7eb;
  border-radius: 10px;
  font-size: 14px;
  color: #1a1a2e;
  font-family: inherit;
  outline: none;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

.modal-input:focus {
  border-color: #00AEEF;
  box-shadow: 0 0 0 3px rgba(0,174,239,0.1);
}

.modal-input.error { border-color: #ef4444; }

.modal-submit {
  width: 100%;
  background: #00AEEF;
  color: white;
  padding: 14px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.3s ease;
  margin-top: 8px;
}

.modal-submit:hover { background: #0090C8; }
.modal-submit:disabled { background: #9ca3af; cursor: not-allowed; }

/* ===========================
   SUCCESS MODAL
=========================== */
.success-modal {
  text-align: center;
  padding: 40px 28px;
}

.success-modal h2 {
  font-size: 22px;
  font-weight: 800;
  color: #1a1a2e;
  margin-bottom: 6px;
}

.success-modal .trip-name {
  font-size: 16px;
  font-weight: 700;
  color: #00AEEF;
  margin-bottom: 24px;
}

.result-icon {
  width: 72px;
  height: 72px;
  min-width: 72px;
  min-height: 72px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  overflow: hidden;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.result-icon svg {
  width: 36px !important;
  height: 36px !important;
  min-width: 36px;
  min-height: 36px;
  max-width: 36px;
  max-height: 36px;
  flex-shrink: 0;
  display: block;
}

.result-icon--success {
  background: rgba(16, 185, 129, 0.12);
  border: 2px solid #10b981;
}

.result-icon--error {
  background: rgba(239, 68, 68, 0.12);
  border: 2px solid #ef4444;
}

.result-subtitle {
  font-size: 14px;
  margin: -8px 0 16px;
  text-align: center;
  min-height: 20px;
}

.success-details {
  background: #f9fafb;
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 24px;
  text-align: left;
}

.success-details p {
  font-size: 13px;
  color: #6b7280;
  padding: 6px 0;
  border-bottom: 1px solid #e5e7eb;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.success-details p:last-child { border-bottom: none; }

.success-details strong {
  color: #1a1a2e;
  font-weight: 600;
  text-align: right;
}

/* ===========================
   LOADING & SPINNER
=========================== */
.packages-loading {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px;
}

.spinner {
  width: 40px;
  height: 40px;
  border: 3px solid #e5e7eb;
  border-top-color: #00AEEF;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

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

/* ===========================
   ALERTS
=========================== */
.alert-success {
  background: #f0fdf4;
  border: 1.5px solid #86efac;
  color: #166534;
  padding: 14px 18px;
  border-radius: 8px;
  margin-bottom: 20px;
  font-size: 14px;
  font-weight: 500;
}

.alert-error {
  background: #fef2f2;
  border: 1.5px solid #fca5a5;
  color: #991b1b;
  padding: 14px 18px;
  border-radius: 8px;
  margin-bottom: 20px;
  font-size: 14px;
}

.input-error { border-color: #ef4444 !important; }

/* ===========================
   LIGHTBOX
=========================== */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.lightbox-overlay.open {
  opacity: 1;
  visibility: visible;
}

.lightbox {
  position: relative;
  width: 100%;
  max-width: 1000px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 70px;
}

.lightbox__close {
  position: fixed;
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  border: 1.5px solid rgba(255,255,255,0.3);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 10;
}

.lightbox__close:hover { background: rgba(255,255,255,0.25); }
.lightbox__close svg   { width: 20px; height: 20px; }

.lightbox__counter {
  position: fixed;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.7);
  font-size: 13px;
  font-weight: 600;
  background: rgba(0,0,0,0.4);
  padding: 6px 14px;
  border-radius: 20px;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.lightbox__nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  border: 1.5px solid rgba(255,255,255,0.25);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 10;
}

.lightbox__nav:hover {
  background: rgba(0,174,239,0.5);
  border-color: #00AEEF;
}

.lightbox__nav svg      { width: 22px; height: 22px; }
.lightbox__nav--prev    { left: 20px; }
.lightbox__nav--next    { right: 20px; }

.lightbox__nav:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.lightbox__nav:disabled:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.25);
}

.lightbox__img-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-height: 70vh;
}

.lightbox__img {
  max-width: 100%;
  max-height: 70vh;
  object-fit: contain;
  border-radius: 12px;
  transition: opacity 0.25s ease;
  display: block;
}

.lightbox__img.loading { opacity: 0; }

.lightbox__loader {
  position: absolute;
  width: 36px;
  height: 36px;
  border: 3px solid rgba(255,255,255,0.2);
  border-top-color: #00AEEF;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  display: none;
}

.lightbox__loader.visible { display: block; }

.lightbox__thumbs {
  display: flex;
  gap: 8px;
  margin-top: 16px;
  overflow-x: auto;
  max-width: 100%;
  padding: 4px 0 8px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.2) transparent;
}

.lightbox__thumbs::-webkit-scrollbar       { height: 4px; }
.lightbox__thumbs::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.2);
  border-radius: 4px;
}

.lightbox-thumb {
  width: 64px;
  height: 48px;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  opacity: 0.5;
  transition: all 0.2s ease;
  flex-shrink: 0;
  border: 2px solid transparent;
}

.lightbox-thumb:hover  { opacity: 0.8; }

.lightbox-thumb.active {
  opacity: 1;
  border-color: #00AEEF;
}

.lightbox-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ===========================
   RESPONSIVE
=========================== */
@media (max-width: 1024px) {
  .trips-grid         { grid-template-columns: repeat(2, 1fr); }
  .trip-content       { grid-template-columns: 1fr; }
  .booking-sidebar    { position: static; order: -1; }
  .includes-wrapper,
  .policies-grid      { grid-template-columns: 1fr; }
  .trip-gallery       { grid-template-rows: 300px; }
}

@media (max-width: 768px) {
  .trips-hero__search {
      transform: translateX(-1.6em);
      padding: 0 12px;
      margin-bottom: 16px;
  }

  body.rtl .trips-hero__search {
      transform: translateX(1.6em);
  }

  .trips-hero__search .search-box {
    flex-wrap: wrap;
    gap: 12px;
    border-radius: 12px;
    padding: 16px;
  }

  .trips-hero__search .search-field {
    border-right: none;
    border-bottom: 1px solid var(--border);
    min-width: calc(50% - 12px);
    padding: 8px 12px;
  }

  body.rtl .trips-hero__search .search-field {
    border-left: none;
    border-bottom: 1px solid var(--border);
  }

  .trips-page         { padding: 24px 16px 60px; }
  .trips-grid         { grid-template-columns: 1fr; }

  .trip-gallery {
    grid-template-columns: 1fr;
    grid-template-rows: 260px;
  }

  .gallery-right              { display: none; }
  .gallery-main               { border-radius: 12px; }
  .trip-stats-bar__inner      { gap: 16px; justify-content: center; }
  .trip-content               { padding: 20px 16px 60px; gap: 24px; }
  .trip-main h1               { font-size: 22px; }
  .booking-card__price        { font-size: 28px; }
  .lightbox                   { padding: 0 50px; }
  .lightbox__nav--prev        { left: 8px; }
  .lightbox__nav--next        { right: 8px; }
  .lightbox__nav              { width: 40px; height: 40px; }
}
