/* Made by Dr Ali — OBIC hotels / flights travel desk + shared study-china .ht-strip
   Navy/blue only (OBIC vars). No green theme. */
:root {
  --ht-navy: var(--navy, #0b1f3a);
  --ht-navy-2: var(--navy-2, #122a4a);
  --ht-blue: var(--blue, #1a6dff);
  --ht-blue-deep: var(--blue-deep, #0b4fd6);
  --ht-soft: var(--blue-soft, #e8f1ff);
  --ht-ink: var(--ink, #0f172a);
  --ht-muted: var(--muted, #64748b);
  --ht-line: var(--line, #d8e0ec);
}

.page-hotels,
.page-transport {
  --ht-page: #f4f7fb;
  --ht-max: 1120px;
  background: var(--ht-page);
  overflow-x: clip;
}

.page-hotels .footer,
.page-transport .footer {
  margin-top: 0;
}

.ht-tabs-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 720px) {
  .ht-tabs-4 {
    grid-template-columns: 1fr 1fr;
  }

  .ht-tabs-4 .ht-tab {
    border-radius: 12px;
    font-size: 0.86rem;
    min-height: 42px;
    padding: 0.45rem 0.5rem;
  }

  .ht-tabs-4 .ht-tab span {
    white-space: nowrap;
  }
}

/* ——— Hero: copy fully above booking card ——— */
.ht-hero {
  position: relative;
  display: block;
  overflow: hidden;
  background: linear-gradient(145deg, #0b1f3a 0%, #163a6b 48%, #1a6dff 120%);
  color: #fff;
}

.ht-hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.ht-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.42;
}

.ht-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(11, 31, 58, 0.4) 0%, rgba(11, 31, 58, 0.78) 100%),
    radial-gradient(ellipse at 18% 12%, rgba(26, 109, 255, 0.32), transparent 55%);
  pointer-events: none;
}

.ht-hero-copy {
  position: relative;
  z-index: 2;
  width: min(100% - 2.5rem, var(--ht-max));
  margin: 0 auto;
  padding: 3.75rem 0 2.75rem;
}

.ht-hero h1 {
  margin: 0 0 0.65rem;
  font-size: clamp(1.7rem, 3.2vw, 2.55rem);
  line-height: 1.18;
  font-weight: 800;
  max-width: none;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.ht-hero-sub {
  margin: 0;
  max-width: 54ch;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.02rem;
  line-height: 1.5;
  text-wrap: pretty;
}

/* ——— Shell / layout ——— */
.ht-shell {
  width: min(100% - 2.5rem, var(--ht-max));
  margin: 0 auto;
  padding: 0 0 3rem;
}

.ht-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 1.15rem;
  align-items: start;
  margin-top: 0.35rem;
}

.ht-stage {
  min-width: 0;
  position: relative;
  z-index: 3;
}

.ht-panel {
  background: #fff;
  border: 1px solid var(--ht-line);
  border-radius: 18px;
  box-shadow: 0 14px 40px rgba(11, 31, 58, 0.1);
  overflow: hidden;
}

.ht-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.35rem;
  padding: 0.75rem 0.85rem 0;
  background: linear-gradient(180deg, #f3f7ff, #fff 70%);
  border-bottom: 1px solid var(--ht-line);
}

.ht-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 46px;
  padding: 0.55rem 0.85rem;
  border-radius: 12px 12px 0 0;
  font-weight: 700;
  color: var(--ht-muted);
  border: 1px solid transparent;
  border-bottom: 0;
  background: transparent;
  cursor: pointer;
  transition: color 0.2s, background 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.ht-tab:hover {
  color: var(--ht-navy);
  background: rgba(26, 109, 255, 0.1);
}

.ht-tab:focus-visible {
  outline: 2px solid var(--ht-blue);
  outline-offset: 2px;
  color: var(--ht-navy);
  background: var(--ht-soft);
}

.ht-tab.is-on {
  color: var(--ht-navy);
  background: #fff;
  border-color: var(--ht-line);
  box-shadow: 0 -1px 0 #fff;
  position: relative;
}

.ht-tab.is-on:hover {
  background: #fff;
  color: var(--ht-blue-deep);
}

.ht-tab.is-on::after {
  content: "";
  position: absolute;
  left: 18%;
  right: 18%;
  bottom: -1px;
  height: 3px;
  border-radius: 3px 3px 0 0;
  background: var(--ht-blue);
}

.ht-tab svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: 0 0 auto;
}

.ht-body {
  padding: 1.15rem 1.2rem 1.4rem;
}

.ht-note {
  margin: 0 0 1rem;
  padding: 0.75rem 0.9rem;
  border-radius: 12px;
  background: var(--ht-soft);
  color: var(--ht-navy);
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.45;
  border: 1px solid rgba(26, 109, 255, 0.18);
}

.ht-grid {
  display: grid;
  gap: 0.75rem;
}

.ht-grid-hotel {
  grid-template-columns: 1.4fr 1fr 1fr;
}

.ht-grid-flight {
  grid-template-columns: 1fr 1fr;
}

.ht-grid-guests {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 0.75rem;
}

.ht-grid-extra {
  grid-template-columns: 1fr;
  margin-top: 0.85rem;
}

.ht-span-2 {
  grid-column: 1 / -1;
}

.ht-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-width: 0;
}

.ht-field > span {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ht-muted);
}

.ht-field input,
.ht-field select,
.ht-field textarea {
  min-height: 46px;
  border: 1px solid var(--ht-line);
  border-radius: 12px;
  padding: 0.55rem 0.8rem;
  font: inherit;
  color: var(--ht-ink);
  background: #fff;
  width: 100%;
  box-sizing: border-box;
}

.ht-field textarea {
  min-height: 72px;
  resize: vertical;
  line-height: 1.4;
}

.ht-field input:hover,
.ht-field select:hover,
.ht-field textarea:hover {
  border-color: #b6c3d6;
}

.ht-field input:focus,
.ht-field select:focus,
.ht-field textarea:focus,
.ht-field input:focus-visible,
.ht-field select:focus-visible,
.ht-field textarea:focus-visible {
  outline: 2px solid rgba(26, 109, 255, 0.28);
  border-color: var(--ht-blue);
}

/* Locale-aware date shell: native picker + formatted label */
.ht-date-shell {
  position: relative;
  display: grid;
  min-height: 46px;
  border: 1px solid var(--ht-line);
  border-radius: 12px;
  background: #fff;
}

.ht-date-shell:focus-within {
  outline: 2px solid rgba(26, 109, 255, 0.28);
  border-color: var(--ht-blue);
}

.ht-field .ht-date-shell input[type="date"] {
  position: relative;
  z-index: 2;
  min-height: 46px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: transparent;
  caret-color: transparent;
  box-shadow: none;
}

.ht-date-shell input[type="date"]:focus {
  outline: none;
  border-color: transparent;
}

.ht-date-shell input[type="date"]::-webkit-calendar-picker-indicator {
  opacity: 1;
  cursor: pointer;
  position: absolute;
  inset-inline-end: 0.65rem;
  inset-block: 0;
  width: 1.25rem;
  margin: auto;
}

.ht-date-shell input[type="date"]::-webkit-datetime-edit,
.ht-date-shell input[type="date"]::-webkit-datetime-edit-fields-wrapper,
.ht-date-shell input[type="date"]::-webkit-datetime-edit-text,
.ht-date-shell input[type="date"]::-webkit-datetime-edit-month-field,
.ht-date-shell input[type="date"]::-webkit-datetime-edit-day-field,
.ht-date-shell input[type="date"]::-webkit-datetime-edit-year-field {
  color: transparent;
}

.ht-date-display {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  padding: 0 2.4rem 0 0.8rem;
  border-radius: 12px;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ht-ink);
  pointer-events: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ht-date-display.is-empty {
  color: var(--ht-muted);
  font-weight: 500;
}

html[dir="rtl"] .ht-date-display {
  padding: 0 0.8rem 0 2.4rem;
}

.ht-trip-toggle {
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.3rem;
  margin: 0 0 0.9rem;
  padding: 0.28rem;
  border-radius: 999px;
  background: #eef3f9;
  width: min(100%, 280px);
}

.ht-trip-btn {
  min-height: 40px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--ht-muted);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: color 0.15s, background 0.15s, box-shadow 0.15s;
}

.ht-trip-btn:hover {
  color: var(--ht-navy);
  background: rgba(255, 255, 255, 0.72);
}

.ht-trip-btn:focus-visible {
  outline: 2px solid var(--ht-blue);
  outline-offset: 2px;
  color: var(--ht-navy);
  background: #fff;
}

.ht-trip-btn.is-on {
  background: #fff;
  color: var(--ht-navy);
  box-shadow: 0 1px 4px rgba(11, 31, 58, 0.1);
}

.ht-trip-btn.is-on:hover {
  color: var(--ht-blue-deep);
}

.ht-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0.35rem 0 0;
}

.ht-purpose-chips {
  margin-bottom: 0.15rem;
}

.ht-chip {
  min-height: 40px;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  border: 1px solid var(--ht-line);
  background: #f8fafc;
  color: var(--ht-navy);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s, box-shadow 0.15s;
}

.ht-chip:hover {
  background: var(--ht-soft);
  border-color: rgba(26, 109, 255, 0.45);
  color: var(--ht-blue-deep);
  box-shadow: 0 1px 0 rgba(26, 109, 255, 0.12);
}

.ht-chip:focus-visible {
  outline: 2px solid var(--ht-blue);
  outline-offset: 2px;
  background: var(--ht-soft);
  border-color: var(--ht-blue);
  color: var(--ht-navy);
}

.ht-chip.is-on {
  background: var(--ht-soft);
  border-color: rgba(26, 109, 255, 0.55);
  color: var(--ht-blue-deep);
  box-shadow: inset 0 0 0 1px rgba(26, 109, 255, 0.12);
}

.ht-kicker {
  margin: 0.95rem 0 0.35rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ht-blue);
}

.ht-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
  margin-top: 1.15rem;
}

.ht-actions .btn {
  min-height: 46px;
  padding-inline: 0.85rem;
  border-radius: 12px;
  font-weight: 700;
  text-align: center;
  width: 100%;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.ht-actions .btn-primary:hover,
.ht-actions .btn-primary:focus-visible {
  background: var(--ht-blue-deep);
  color: #fff;
  box-shadow: 0 8px 18px rgba(11, 79, 214, 0.28);
}

.ht-actions .btn-primary:focus-visible {
  outline: 2px solid var(--ht-navy);
  outline-offset: 2px;
}

.ht-actions .btn-ghost {
  border: 1px solid var(--ht-line);
  background: #fff;
  color: var(--ht-navy);
  text-decoration: none;
}

.ht-actions .btn-ghost:hover,
.ht-actions .btn-ghost:focus-visible {
  border-color: rgba(26, 109, 255, 0.45);
  background: var(--ht-soft);
  color: var(--ht-navy);
}

.ht-actions .btn-ghost:focus-visible {
  outline: 2px solid var(--ht-blue);
  outline-offset: 2px;
}

.ht-secondary {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.85rem;
}

.ht-secondary a {
  font-size: 0.9rem;
  font-weight: 650;
  color: var(--ht-blue);
  text-decoration: underline;
  text-underline-offset: 3px;
  border-radius: 4px;
  transition: color 0.15s;
}

.ht-secondary a:hover,
.ht-secondary a:focus-visible {
  color: var(--ht-blue-deep);
}

.ht-secondary a:focus-visible {
  outline: 2px solid var(--ht-blue);
  outline-offset: 3px;
}

.ht-flight-panel[hidden],
.ht-hotel-panel[hidden],
.ht-ads-hotel[hidden],
.ht-ads-flight[hidden],
#ht-return-field[hidden] {
  display: none !important;
}

/* ——— Ads column ——— */
.ht-ads {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  min-width: 0;
}

.ht-ads-hotel,
.ht-ads-flight {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.ht-ad {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: var(--ht-navy);
  color: #fff;
  box-shadow: 0 12px 28px rgba(8, 24, 48, 0.22);
  min-height: 168px;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.ht-ad:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(8, 24, 48, 0.3);
}

.ht-ad:focus-within {
  outline: 2px solid var(--ht-blue);
  outline-offset: 2px;
}

.ht-ad-tall {
  min-height: 320px;
}

.ht-ad-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ht-ad-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 24, 48, 0.42) 0%, rgba(8, 24, 48, 0.18) 38%, rgba(8, 24, 48, 0.78) 100%);
  pointer-events: none;
}

.ht-ad-body {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 0.95rem 0.95rem 1rem;
  min-height: inherit;
  box-sizing: border-box;
}

.ht-ad-tall .ht-ad-body {
  justify-content: flex-end;
  min-height: 320px;
}

.ht-ad-label {
  display: inline-flex;
  width: fit-content;
  margin: 0;
  padding: 0.18rem 0.45rem;
  border-radius: 999px;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.94);
  background: rgba(8, 24, 48, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(8px);
}

.ht-ad h2,
.ht-ad h3 {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

.ht-ad p {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.88);
}

.ht-ad-cta {
  margin-top: 0.35rem;
  align-self: flex-start;
  min-height: 40px;
  padding: 0.45rem 0.9rem;
  border: 0;
  border-radius: 10px;
  background: #fff;
  color: var(--ht-navy);
  font: inherit;
  font-size: 0.86rem;
  font-weight: 750;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, box-shadow 0.15s;
}

.ht-ad-cta:hover,
.ht-ad-cta:focus-visible {
  background: var(--ht-soft);
  color: var(--ht-blue-deep);
  box-shadow: 0 4px 12px rgba(11, 31, 58, 0.18);
}

.ht-ad-cta:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

/* ——— Lower cards ——— */
.ht-lower {
  margin-top: 1.25rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  align-items: stretch;
}

.ht-lower-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--ht-line);
  border-radius: 16px;
  padding: 1.25rem 1.3rem;
  min-height: 100%;
  box-sizing: border-box;
}

.ht-lower-card h2 {
  margin: 0 0 0.45rem;
  font-size: 1.15rem;
  color: var(--ht-navy);
  line-height: 1.25;
}

.ht-lower-card > p {
  margin: 0 0 0.85rem;
  color: var(--ht-muted);
  font-size: 0.94rem;
  line-height: 1.45;
}

.ht-lower-card ul {
  margin: 0 0 1rem;
  padding-inline-start: 1.1rem;
  color: var(--ht-ink);
  font-size: 0.92rem;
}

.ht-lower-card li + li {
  margin-top: 0.35rem;
}

.ht-lower-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: auto;
}

.ht-lower-actions .btn {
  min-height: 44px;
  border-radius: 12px;
  font-weight: 700;
  cursor: pointer;
}

.ht-lower-actions .btn-primary:hover,
.ht-lower-actions .btn-primary:focus-visible {
  background: var(--ht-blue-deep);
  color: #fff;
}

.ht-lower-actions .btn-ghost {
  border: 1px solid var(--ht-line);
  background: #fff;
  color: var(--ht-navy);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding-inline: 1rem;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.ht-lower-actions .btn-ghost:hover,
.ht-lower-actions .btn-ghost:focus-visible {
  border-color: rgba(26, 109, 255, 0.45);
  background: var(--ht-soft);
  color: var(--ht-navy);
}

.ht-lower-actions .btn:focus-visible {
  outline: 2px solid var(--ht-blue);
  outline-offset: 2px;
}

.ht-steps {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.85rem;
  counter-reset: htstep;
}

.ht-steps li {
  display: grid;
  gap: 0.2rem;
  padding-inline-start: 2.1rem;
  position: relative;
  counter-increment: htstep;
}

.ht-steps li::before {
  content: counter(htstep);
  position: absolute;
  inset-inline-start: 0;
  top: 0;
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 999px;
  background: var(--ht-soft);
  color: var(--ht-blue);
  font-size: 0.78rem;
  font-weight: 800;
  display: grid;
  place-items: center;
}

.ht-steps strong {
  color: var(--ht-navy);
  font-size: 0.95rem;
}

.ht-steps span {
  color: var(--ht-muted);
  font-size: 0.88rem;
  line-height: 1.4;
}

.ht-why {
  margin-bottom: 0.35rem !important;
}

html[dir="rtl"] .ht-hero h1 {
  max-width: none;
}

/* Desktop mid / iPad landscape (~1024–1280) */
@media (max-width: 1280px) {
  .ht-layout {
    grid-template-columns: minmax(0, 1fr) 250px;
  }

  .ht-actions {
    grid-template-columns: 1fr 1fr;
  }

  .ht-actions .btn:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 1024px) {
  .ht-hero-copy,
  .ht-shell {
    width: min(100% - 2rem, var(--ht-max));
  }

  .ht-layout {
    gap: 1rem;
  }

  .ht-lower {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.85rem;
  }

  .ht-lower-card {
    padding: 1.1rem 1.05rem;
  }
}

/* Tablet / iPad portrait */
@media (max-width: 980px) {
  .ht-layout {
    grid-template-columns: 1fr;
  }

  .ht-ads-hotel,
  .ht-ads-flight {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .ht-ad-tall {
    grid-column: 1 / -1;
    min-height: 240px;
  }

  .ht-ad-tall .ht-ad-body {
    min-height: 240px;
  }

  .ht-lower {
    grid-template-columns: 1fr;
  }

  .ht-grid-hotel {
    grid-template-columns: 1fr 1fr;
  }

  .ht-grid-hotel .ht-span-2,
  .ht-grid-hotel .ht-field:first-child {
    grid-column: 1 / -1;
  }

  .ht-grid-guests {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .ht-hero-copy {
    padding: 2.75rem 0 1.75rem;
  }

  .ht-hero h1 {
    font-size: clamp(1.55rem, 4.2vw, 2.1rem);
  }

  .ht-hero-sub {
    font-size: 0.98rem;
    max-width: none;
  }

  .ht-hero-copy,
  .ht-shell {
    width: min(100% - 1.75rem, var(--ht-max));
  }

  .ht-actions {
    grid-template-columns: 1fr 1fr;
  }

  .ht-actions .btn:last-child {
    grid-column: 1 / -1;
  }

  .ht-chip {
    min-height: 44px;
  }
}

@media (max-width: 720px) {
  .ht-hero-copy {
    padding: 2.5rem 0 1.5rem;
  }

  .ht-shell {
    width: min(100% - 1.5rem, var(--ht-max));
    padding-bottom: 2.25rem;
  }

  .ht-grid-hotel,
  .ht-grid-flight,
  .ht-grid-guests {
    grid-template-columns: 1fr;
  }

  .ht-actions {
    grid-template-columns: 1fr;
  }

  .ht-actions .btn:last-child {
    grid-column: auto;
  }

  .ht-ads-hotel,
  .ht-ads-flight {
    grid-template-columns: 1fr;
  }

  .ht-ad,
  .ht-ad-tall,
  .ht-ad-tall .ht-ad-body {
    min-height: 200px;
  }

  .ht-trip-toggle {
    width: 100%;
  }

  .ht-body {
    padding: 1rem;
  }

  .ht-lower-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .ht-lower-actions .btn {
    width: 100%;
  }
}

/* Phone ~390 */
@media (max-width: 430px) {
  .ht-hero-copy {
    width: min(100% - 1.15rem, var(--ht-max));
    padding: 2rem 0 1.25rem;
  }

  .ht-shell {
    width: min(100% - 1.15rem, var(--ht-max));
    padding-bottom: 1.75rem;
  }

  .ht-panel {
    border-radius: 14px;
  }

  .ht-tabs {
    padding: 0.65rem 0.65rem 0;
    gap: 0.3rem;
  }

  .ht-tab {
    min-height: 44px;
    padding: 0.45rem 0.55rem;
    font-size: 0.9rem;
  }

  .ht-body {
    padding: 0.85rem;
  }

  .ht-note {
    font-size: 0.88rem;
    padding: 0.65rem 0.75rem;
  }

  .ht-field input,
  .ht-field select,
  .ht-field textarea,
  .ht-date-shell,
  .ht-field .ht-date-shell input[type="date"] {
    min-height: 46px;
    font-size: 16px;
  }

  .ht-chip {
    min-height: 44px;
    font-size: 0.84rem;
  }

  .ht-actions .btn {
    min-height: 48px;
  }

  .ht-ad:hover {
    transform: none;
  }
}

/* Compact strip reused on study-china hotel placement — do not break */
.ht-strip {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  width: 100%;
}

.ht-strip-tabs {
  display: inline-flex;
  align-self: stretch;
  gap: 0.3rem;
  padding: 0.25rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(8px);
}

.ht-strip-tab {
  flex: 1;
  min-height: 40px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.82);
  border: 0;
  background: transparent;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.ht-strip-tab:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
}

.ht-strip-tab:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
  color: #fff;
}

.ht-strip-tab.is-on {
  background: #fff;
  color: var(--ht-navy);
}

.ht-strip-tab.is-on:hover {
  background: var(--ht-soft);
  color: var(--ht-blue-deep);
}

.ht-strip-fields {
  display: grid;
  gap: 0.4rem;
}

.ht-strip-fields input {
  min-height: 40px;
  border: 0;
  border-radius: 10px;
  padding: 0.45rem 0.7rem;
  font: inherit;
  width: 100%;
}

.ht-strip-actions {
  display: grid;
  gap: 0.4rem;
}

.ht-strip-actions a,
.ht-strip-actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.88rem;
  padding: 0.4rem 0.7rem;
}

.ht-strip-primary {
  background: #fff;
  color: var(--ht-navy);
  transition: background 0.15s, color 0.15s;
}

.ht-strip-primary:hover,
.ht-strip-primary:focus-visible {
  background: var(--ht-soft);
  color: var(--ht-blue-deep);
}

.ht-strip-secondary {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
  transition: background 0.15s, border-color 0.15s;
}

.ht-strip-secondary:hover,
.ht-strip-secondary:focus-visible {
  background: rgba(255, 255, 255, 0.28);
  border-color: rgba(255, 255, 255, 0.55);
}

.ht-strip-actions a:focus-visible,
.ht-strip-actions button:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.ht-strip-help {
  color: #fff;
  font-size: 0.82rem;
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: 2px;
  text-align: center;
  border-radius: 4px;
}

.ht-strip-help:hover,
.ht-strip-help:focus-visible {
  color: var(--ht-soft);
}

.ht-strip-help:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

html[dir="rtl"] .ht-tab.is-on::after,
[dir="rtl"] .ht-tab.is-on::after {
  left: 18%;
  right: 18%;
}

@media (prefers-reduced-motion: reduce) {
  .ht-ad,
  .ht-actions .btn,
  .ht-chip,
  .ht-tab,
  .ht-ad-cta {
    transition: none;
  }

  .ht-ad:hover {
    transform: none;
  }
}

/* Live provider rates (hotels-live.js) — additive */
.ht-live-results { margin-top: 1rem; }
.ht-live-test { color: #b42318; font-weight: 700; }
.ht-live-list { display: grid; gap: 0.75rem; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.ht-live-card { border: 1px solid rgba(0, 0, 0, 0.12); border-radius: 12px; padding: 0.85rem 1rem; background: #fff; }
.ht-live-name { margin: 0 0 0.25rem; font-size: 1rem; }
.ht-live-stars { color: #b7791f; font-weight: 600; }
.ht-live-addr { margin: 0 0 0.35rem; opacity: 0.75; font-size: 0.88rem; }
.ht-live-price { margin: 0 0 0.6rem; font-weight: 700; }
