/* =========================================
   TOUR PAGE — tour.css
   Мега-привлекательный дизайн страницы тура
   ========================================= */

/* ---- GALLERY ---- */
.t-gallery {
  display: grid;
  grid-template-columns: 1.8fr 1fr;
  grid-template-rows: 420px;
  gap: 4px;
  margin-top: 70px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}
.t-gallery__main {
  grid-row: 1;
  position: relative;
  overflow: hidden;
  background: #1A2B3C;
}
.t-gallery__side {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 4px;
}
.t-gallery__thumb {
  position: relative;
  overflow: hidden;
  background: #1e3347;
}
.t-gallery__main img,
.t-gallery__thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
  display: block;
}
.t-gallery__main:hover img,
.t-gallery__thumb:hover img { transform: scale(1.04); }

.t-gallery__placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #1e3347, #2a4a6b);
  color: rgba(255,255,255,.2);
  font-size: 3rem;
}

.t-gallery__all {
  position: absolute;
  bottom: 18px; right: 18px;
  background: rgba(255,255,255,.95);
  color: #1A2B3C;
  border: none;
  border-radius: 10px;
  padding: 9px 18px;
  font-size: .82rem;
  font-weight: 700;
  cursor: pointer;
  display: flex; align-items: center; gap: 7px;
  transition: all .2s;
  box-shadow: 0 4px 16px rgba(0,0,0,.2);
  z-index: 10;
}
.t-gallery__all:hover { background: #fff; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,.25); }

/* ---- BREADCRUMB ---- */
.t-breadcrumb {
  background: #F5F7FA;
  border-bottom: 1px solid #eee;
  padding: 10px 0;
  font-size: .8rem;
  color: #9CA3AF;
}
.t-breadcrumb .container { display: flex; align-items: center; gap: 6px; }
.t-breadcrumb a { color: #22C55E; text-decoration: none; font-weight: 500; }
.t-breadcrumb a:hover { text-decoration: underline; }
.t-breadcrumb i { font-size: .65rem; color: #ccc; }

/* ---- MAIN LAYOUT ---- */
.t-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 48px;
  padding: 36px 0 72px;
  align-items: start;
}

/* ---- CONTENT HEAD ---- */
.t-content__head {
  padding-bottom: 24px;
  border-bottom: 2px solid #F5F7FA;
  margin-bottom: 24px;
}
.t-content__cat {
  display: inline-flex; align-items: center; gap: 7px;
  background: linear-gradient(135deg, rgba(34,197,94,.12), rgba(34,197,94,.06));
  color: #16A34A;
  font-size: .72rem; font-weight: 800;
  letter-spacing: .12em; text-transform: uppercase;
  padding: 6px 16px; border-radius: 20px;
  margin-bottom: 14px;
  border: 1px solid rgba(34,197,94,.2);
}
.t-content__title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: #1A2B3C;
  line-height: 1.15;
  margin-bottom: 18px;
  font-weight: 700;
}
.t-content__meta {
  display: flex; gap: 20px; flex-wrap: wrap;
}
.t-meta-item {
  display: flex; align-items: center; gap: 7px;
  font-size: .87rem; color: #4a5568;
  font-weight: 500;
}
.t-meta-item i { color: #22C55E; font-size: 1rem; }

/* ---- QUICK BOOK STRIP ---- */
.t-book-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: linear-gradient(135deg, #1A2B3C, #243548);
  border-radius: 14px;
  padding: 18px 24px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}
.t-book-strip__price {
  display: flex; align-items: baseline; gap: 4px;
}
.t-book-strip__from { font-size: .8rem; color: rgba(255,255,255,.5); }
.t-book-strip__num {
  font-family: 'Playfair Display', serif;
  font-size: 2rem; font-weight: 700;
  color: #F97316;
  line-height: 1;
}
.t-book-strip__per { font-size: .8rem; color: rgba(255,255,255,.5); }
.t-book-strip__btns { display: flex; gap: 10px; flex-wrap: wrap; }

/* ---- SECTIONS ---- */
.t-section {
  margin-bottom: 36px;
  padding-bottom: 36px;
  border-bottom: 1px solid #F5F7FA;
}
.t-section:last-of-type { border-bottom: none; }
.t-section__title {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem; color: #1A2B3C;
  margin-bottom: 18px;
  display: flex; align-items: center; gap: 10px;
}
.t-section__title i { color: #F97316; font-size: 1.1rem; }
.t-section__body p {
  font-size: .97rem; color: #5a6472;
  line-height: 1.85; margin-bottom: 12px;
}

/* Info section */
.t-section--info {
  background: linear-gradient(135deg, #fffbf5, #fff8f0);
  border-radius: 14px;
  padding: 24px;
  border: 1px solid rgba(249,115,22,.15);
  border-bottom: 1px solid rgba(249,115,22,.15) !important;
  margin-bottom: 28px;
}
.t-section--info .t-section__title { color: #F97316; }
.t-section--info p {
  font-size: .9rem; color: #6B5B47;
  line-height: 1.7; margin-bottom: 8px;
  display: flex; align-items: flex-start; gap: 8px;
}
.t-section--info p i { flex-shrink: 0; margin-top: 2px; }

/* ---- PROGRAMME ---- */
.t-programme { display: flex; flex-direction: column; }
.t-prog-step {
  display: flex; gap: 18px;
  padding-bottom: 22px;
  position: relative;
}
.t-prog-step::after {
  content: '';
  position: absolute;
  left: 16px; top: 36px; bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, #22C55E, rgba(34,197,94,.1));
}
.t-prog-step:last-child::after { display: none; }
.t-prog-num {
  width: 34px; height: 34px; flex-shrink: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, #22C55E, #16A34A);
  color: #fff;
  font-size: .78rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 10px rgba(34,197,94,.3);
  z-index: 1;
}
.t-prog-step:nth-child(even) .t-prog-num {
  background: linear-gradient(135deg, #F97316, #e06210);
  box-shadow: 0 4px 10px rgba(249,115,22,.3);
}
.t-prog-text { padding-top: 4px; }
.t-prog-text strong {
  display: block;
  font-size: .95rem; color: #1A2B3C;
  font-weight: 700; margin-bottom: 3px;
}
.t-prog-text span { font-size: .85rem; color: #6C757D; line-height: 1.5; }

/* ---- INCLUDED ---- */
.t-included {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.t-inc-item {
  display: flex; align-items: center; gap: 10px;
  font-size: .88rem; color: #374151;
  padding: 10px 14px;
  background: #F9FAFB;
  border-radius: 10px;
  border: 1px solid #f0f0f0;
  font-weight: 500;
}
.t-inc-item i { font-size: 1rem; flex-shrink: 0; }
.t-inc-item--yes i { color: #22C55E; }
.t-inc-item--no { color: #9CA3AF; background: #fafafa; }
.t-inc-item--no i { color: #D1D5DB; }

/* ---- WHY US ---- */
.t-why {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 8px;
}
.t-why__item {
  display: flex; align-items: center; gap: 14px;
  background: linear-gradient(135deg, #f8fffe, #f0faf4);
  border: 1px solid rgba(34,197,94,.15);
  border-radius: 12px;
  padding: 14px 16px;
}
.t-why__item i {
  font-size: 1.5rem; color: #22C55E;
  flex-shrink: 0;
}
.t-why__item:nth-child(even) i { color: #F97316; }
.t-why__item:nth-child(even) {
  background: linear-gradient(135deg, #fffaf5, #fff5ec);
  border-color: rgba(249,115,22,.15);
}
.t-why__item strong { display: block; font-size: .88rem; color: #1A2B3C; font-weight: 700; }
.t-why__item span { font-size: .78rem; color: #6C757D; }

/* ---- BOOKING CARD ---- */
.t-sidebar { position: sticky; top: 88px; }

.t-booking {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 12px 48px rgba(26,43,60,.14);
  overflow: hidden;
  margin-bottom: 16px;
}

.t-booking__head {
  background: linear-gradient(135deg, #1A2B3C 0%, #243548 100%);
  padding: 28px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.t-booking__head::before {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 140px; height: 140px;
  background: rgba(249,115,22,.12);
  border-radius: 50%;
}
.t-booking__label {
  font-size: .75rem;
  color: rgba(255,255,255,.55);
  text-transform: uppercase;
  letter-spacing: .12em;
  margin-bottom: 6px;
}
.t-booking__price {
  font-family: 'Playfair Display', serif;
  font-size: 3rem; font-weight: 700;
  color: #F97316;
  line-height: 1;
  position: relative;
}
.t-booking__price::before {
  content: '$';
  font-size: 1.5rem;
  vertical-align: super;
  margin-right: 2px;
}
.t-booking__sub {
  font-size: .75rem;
  color: rgba(255,255,255,.4);
  margin-top: 8px;
}

.t-booking__body { padding: 24px; }
.t-booking__tour-name {
  font-size: .82rem;
  color: #22C55E;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 18px;
  text-align: center;
}

/* Form */
.t-form { display: flex; flex-direction: column; gap: 12px; }
.t-form__group { display: flex; flex-direction: column; gap: 5px; }
.t-form__group label { font-size: .72rem; font-weight: 700; color: #6C757D; text-transform: uppercase; letter-spacing: .06em; }
.t-form__group input, .t-form__group select {
  padding: 11px 14px;
  border: 1.5px solid #E5E7EB;
  border-radius: 10px;
  font-size: .9rem;
  font-family: 'Inter', sans-serif;
  color: #1A2B3C;
  background: #FAFAFA;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.t-form__group input:focus, .t-form__group select:focus {
  border-color: #22C55E;
  box-shadow: 0 0 0 3px rgba(34,197,94,.1);
  background: #fff;
}
.t-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

.t-booking__submit {
  width: 100%;
  padding: 15px;
  background: linear-gradient(135deg, #22C55E, #16A34A);
  color: #fff;
  border: none;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 700;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  transition: all .25s;
  margin-top: 4px;
  box-shadow: 0 6px 20px rgba(34,197,94,.3);
}
.t-booking__submit:hover {
  background: linear-gradient(135deg, #16A34A, #0e8a3e);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(34,197,94,.4);
}

.t-booking__divider {
  text-align: center; font-size: .75rem; color: #9CA3AF;
  margin: 16px 0; position: relative;
}
.t-booking__divider::before,
.t-booking__divider::after {
  content: ''; position: absolute; top: 50%;
  width: 35%; height: 1px; background: #E5E7EB;
}
.t-booking__divider::before { left: 0; }
.t-booking__divider::after { right: 0; }

.t-booking__messengers {
  display: grid; grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
}
.t-msg-btn {
  display: flex; flex-direction: column;
  align-items: center; gap: 5px;
  padding: 12px 8px;
  border-radius: 12px;
  text-decoration: none;
  font-size: .72rem; font-weight: 700;
  transition: all .2s;
  border: 1.5px solid transparent;
}
.t-msg-btn i, .t-msg-btn svg { font-size: 1.4rem; }
.t-msg-btn--wa { background: rgba(37,211,102,.08); color: #16a34a; border-color: rgba(37,211,102,.2); }
.t-msg-btn--wa:hover { background: #25D366; color: #fff; transform: translateY(-2px); }
.t-msg-btn--tg { background: rgba(34,158,217,.08); color: #1787ba; border-color: rgba(34,158,217,.2); }
.t-msg-btn--tg:hover { background: #229ED9; color: #fff; transform: translateY(-2px); }
.t-msg-btn--vb { background: rgba(115,96,242,.08); color: #5b4bd4; border-color: rgba(115,96,242,.2); }
.t-msg-btn--vb:hover { background: #7360F2; color: #fff; transform: translateY(-2px); }

.t-booking__trust {
  display: flex; justify-content: space-around;
  padding: 14px;
  background: #F9FAFB;
  border-top: 1px solid #F0F0F0;
  margin-top: 16px;
  font-size: .71rem; color: #6C757D;
}
.t-booking__trust span { display: flex; align-items: center; gap: 4px; font-weight: 600; }
.t-booking__trust i { color: #22C55E; }

/* Contact box */
.t-contact-box {
  background: linear-gradient(135deg, #F97316, #e06210);
  border-radius: 14px;
  padding: 20px;
  text-align: center;
  color: #fff;
}
.t-contact-box__title { font-size: .82rem; opacity: .85; margin-bottom: 6px; }
.t-contact-box__phone {
  display: block;
  font-size: 1.2rem; font-weight: 700;
  color: #fff; text-decoration: none;
  margin-bottom: 4px;
  letter-spacing: .02em;
}
.t-contact-box__sub { font-size: .72rem; opacity: .7; }

/* ---- OTHER TOURS ---- */
.t-other {
  background: #F5F7FA;
  padding: 56px 0 72px;
}
.t-other__title {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem; color: #1A2B3C;
  margin-bottom: 32px;
}
.t-other__title span { color: #22C55E; font-style: italic; }
.t-other__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.t-other-card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  display: block;
  transition: all .3s;
  border: 1.5px solid #f0f0f0;
}
.t-other-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 36px rgba(26,43,60,.12);
  border-color: #22C55E;
}
.t-other-card__img {
  height: 150px;
  background: linear-gradient(135deg,#e0f4e8,#d4eade);
  overflow: hidden; position: relative;
}
.t-other-card__img img { width:100%; height:100%; object-fit:cover; transition: transform .4s; }
.t-other-card:hover .t-other-card__img img { transform: scale(1.06); }
.t-other-card__body { padding: 14px 16px; }
.t-other-card__title { font-weight: 700; font-size: .9rem; color: #1A2B3C; margin-bottom: 5px; }
.t-other-card__price {
  font-size: .82rem; color: #F97316;
  font-weight: 700;
  display: flex; align-items: center; gap: 4px;
}

/* ---- LIGHTBOX ---- */
.lightbox {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,.94); z-index: 1000;
  align-items: center; justify-content: center;
}
.lightbox.active { display: flex; }
.lightbox__img { max-width: 90vw; max-height: 88vh; border-radius: 8px; box-shadow: 0 0 60px rgba(0,0,0,.5); }
.lightbox__close {
  position: absolute; top: 20px; right: 24px;
  background: rgba(255,255,255,.12); border: none;
  color: #fff; font-size: 1.2rem;
  width: 46px; height: 46px; border-radius: 50%;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background .2s;
}
.lightbox__close:hover { background: rgba(255,255,255,.25); }
.lightbox__prev, .lightbox__next {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,.12); border: none;
  color: #fff; font-size: 1.3rem;
  width: 52px; height: 52px; border-radius: 50%;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: all .2s;
}
.lightbox__prev:hover, .lightbox__next:hover { background: rgba(249,115,22,.7); transform: translateY(-50%) scale(1.05); }
.lightbox__prev { left: 24px; }
.lightbox__next { right: 24px; }

/* ---- MOBILE ---- */
@media (max-width: 900px) {
  .t-gallery { grid-template-columns: 1fr; grid-template-rows: 300px; }
  .t-gallery__side { display: none; }
  .t-layout { grid-template-columns: 1fr; gap: 28px; }
  .t-sidebar { position: static; }
  .t-other__grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .t-included { grid-template-columns: 1fr; }
  .t-why { grid-template-columns: 1fr; }
  .t-book-strip { flex-direction: column; align-items: flex-start; gap: 12px; }
}
@media (max-width: 600px) {
  .t-gallery { grid-template-rows: 240px; margin-top: 62px; }
  .t-booking__price { font-size: 2.4rem; }
  .t-form__row { grid-template-columns: 1fr; }
  .t-other__grid { grid-template-columns: 1fr 1fr; }
  .t-other-card__img { height: 110px; }
}

/* ---- Messenger choice buttons ---- */
.t-messenger-choice {
  display: flex; gap: 8px;
}
.t-mc-btn {
  flex: 1;
  display: flex; align-items: center; justify-content: center; gap: 6px;
  padding: 9px 6px;
  border: 1.5px solid #E5E7EB;
  border-radius: 10px;
  cursor: pointer;
  font-size: .78rem; font-weight: 600;
  color: #4a5568;
  transition: all .2s;
  user-select: none;
}
.t-mc-btn input { display: none; }
.t-mc-btn:hover { border-color: #22C55E; color: #22C55E; }
.t-mc-btn:has(input:checked) {
  border-color: #22C55E;
  background: rgba(34,197,94,.08);
  color: #16A34A;
}
.t-mc-btn i, .t-mc-btn svg { font-size: 1rem; }
.t-mc-btn:has(input[value="tg"]:checked) { border-color: #229ED9; background: rgba(34,158,217,.08); color: #1787ba; }
.t-mc-btn:has(input[value="vb"]:checked) { border-color: #7360F2; background: rgba(115,96,242,.08); color: #5b4bd4; }

@media (max-width: 480px) {
  .t-mc-btn { font-size: .72rem; padding: 8px 4px; }
}

/* Fix nationality select styling */
.t-select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2322C55E' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 32px !important;
  cursor: pointer;
}
.t-select:focus { border-color: #22C55E !important; }

/* ============================================
   TOUR PAGE — MOBILE ADAPTIVE
   ============================================ */
@media (max-width: 768px) {

  /* Gallery */
  .t-gallery {
    grid-template-columns: 1fr !important;
    grid-template-rows: 260px !important;
    margin-top: 62px;
  }
  .t-gallery__side { display: none !important; }
  .t-gallery__all { font-size: .75rem; padding: 7px 12px; }

  /* Breadcrumb */
  .t-breadcrumb { font-size: .72rem; }
  .t-breadcrumb .container { flex-wrap: wrap; gap: 2px; }

  /* Layout — single column */
  .t-layout {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
    padding: 20px 0 40px !important;
  }
  .t-sidebar { order: -1; } /* booking card above content on mobile */

  /* Title */
  .t-content__title { font-size: 1.6rem !important; }

  /* Meta */
  .t-content__meta { gap: 10px; flex-wrap: wrap; }
  .t-meta-item { font-size: .8rem; }

  /* Quick book strip */
  .t-book-strip {
    flex-direction: column !important;
    gap: 12px !important;
    padding: 16px !important;
    border-radius: 12px;
  }
  .t-book-strip__num { font-size: 1.5rem !important; }
  .t-book-strip__btns { width: 100%; }
  .t-book-strip__btns .btn { flex: 1; padding: 10px 8px; font-size: .82rem; }

  /* Sections */
  .t-section { margin-bottom: 24px; padding-bottom: 24px; }
  .t-section__title { font-size: 1.1rem; }

  /* Programme */
  .t-prog-text strong { font-size: .88rem; }
  .t-prog-text span { font-size: .8rem; }

  /* Included */
  .t-included { grid-template-columns: 1fr !important; gap: 8px; }
  .t-inc-item { padding: 9px 12px; font-size: .84rem; }

  /* Why us */
  .t-why { grid-template-columns: 1fr 1fr !important; gap: 10px; }
  .t-why__item { padding: 12px; }
  .t-why__item i { font-size: 1.2rem; }
  .t-why__item strong { font-size: .82rem; }
  .t-why__item span { font-size: .72rem; }

  /* Booking card */
  .t-booking__price { font-size: 2rem !important; }
  .t-booking__head { padding: 20px; }
  .t-booking__body { padding: 16px; }
  .t-form__row { grid-template-columns: 1fr !important; }
  .t-messenger-choice { gap: 6px; }
  .t-mc-btn { font-size: .72rem; padding: 8px 4px; }
  .t-booking__messengers { grid-template-columns: 1fr 1fr 1fr; gap: 6px; }
  .t-msg-btn { padding: 10px 4px; font-size: .7rem; }
  .t-msg-btn i, .t-msg-btn svg { font-size: 1.1rem; }
  .t-booking__trust { font-size: .67rem; gap: 8px; flex-wrap: wrap; justify-content: center; }

  /* Contact box */
  .t-contact-box { padding: 16px; text-align: center; }
  .t-contact-box__phone { font-size: 1.1rem; }

  /* Other tours */
  .t-other { padding: 36px 0 48px; }
  .t-other__title { font-size: 1.3rem; margin-bottom: 20px; }
  .t-other__grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 12px !important;
  }
  .t-other-card__img { height: 110px; }
  .t-other-card__body { padding: 10px 12px; }
  .t-other-card__title { font-size: .82rem; }
  .t-other-card__price { font-size: .75rem; }

  /* Info section */
  .t-section--info { padding: 18px; }
  .t-section--info p { font-size: .84rem; }
}

@media (max-width: 400px) {
  .t-gallery { grid-template-rows: 220px !important; }
  .t-why { grid-template-columns: 1fr !important; }
  .t-other__grid { grid-template-columns: 1fr !important; }
  .t-content__title { font-size: 1.4rem !important; }
}

/* ============================================
   MOBILE FIX — text overflow, container
   ============================================ */
@media (max-width: 768px) {
  /* Prevent any text overflow */
  .t-content,
  .t-section__body,
  .t-section__body p,
  .t-section--info p,
  .t-prog-text,
  .t-inc-item,
  .t-why__item {
    overflow-wrap: break-word;
    word-break: break-word;
    max-width: 100%;
  }

  /* Container padding on mobile */
  .container {
    padding: 0 16px !important;
  }

  /* Gallery full width */
  .t-gallery {
    margin-left: 0 !important;
    margin-right: 0 !important;
    border-radius: 0 !important;
  }

  /* Booking card full width */
  .t-booking {
    border-radius: 12px;
  }

  /* Book strip stacks nicely */
  .t-book-strip {
    margin-bottom: 24px;
  }

  /* Why us grid - 2 cols */
  .t-why {
    grid-template-columns: 1fr 1fr !important;
  }

  /* Section titles don't overflow */
  .t-content__title,
  .t-section__title,
  .t-other__title {
    overflow-wrap: break-word;
    hyphens: auto;
  }

  /* Programme steps compact */
  .t-prog-step {
    padding-bottom: 16px;
  }

  /* Hide second gallery image on mobile */
  .t-gallery__side {
    display: none !important;
  }

  /* Sidebar comes first on mobile */
  .t-sidebar {
    order: -1 !important;
  }

  /* Form inputs full width */
  .t-form__group input,
  .t-form__group select {
    font-size: 16px !important; /* prevents iOS zoom */
  }

  /* Messenger buttons equal size */
  .t-booking__messengers {
    grid-template-columns: repeat(3, 1fr) !important;
  }

  /* Trust badges wrap */
  .t-booking__trust {
    padding: 12px 8px;
    gap: 6px;
  }

  /* Other tours 2 columns */
  .t-other__grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  /* Lightbox arrows on mobile */
  .lightbox__prev { left: 8px; }
  .lightbox__next { right: 8px; }
  .lightbox__img {
    max-width: 95vw;
    max-height: 80vh;
  }
}

@media (max-width: 400px) {
  .t-why { grid-template-columns: 1fr !important; }
  .t-other__grid { grid-template-columns: 1fr 1fr !important; }
  .t-booking__messengers { grid-template-columns: repeat(3,1fr) !important; }
  .t-content__title { font-size: 1.3rem !important; }
  .t-book-strip__num { font-size: 1.3rem !important; }
  .t-mc-btn span { display: none; } /* hide text, show only icons */
}

/* Fix nationality select — not cut off */
.t-select {
  appearance: none;
  -webkit-appearance: none;
  width: 100% !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2322C55E' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  padding-right: 30px !important;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Fix form row on all screens */
.t-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.t-form__row .t-form__group {
  min-width: 0; /* prevents overflow */
}
.t-form__row .t-form__group input,
.t-form__row .t-form__group select {
  width: 100% !important;
  min-width: 0;
  box-sizing: border-box;
}

@media (max-width: 480px) {
  .t-form__row {
    grid-template-columns: 1fr !important;
  }
}