/* ═══════════════════════════════════════════════
   OTA-STYLE PRODUCT PAGES — G K Travel
   Shared by family-study-tour.html and
   singapore-bintan-family.html.
   ═══════════════════════════════════════════════ */

.ota-page {
  background: var(--ivory);
  color: var(--ink);
  padding-bottom: 80px;
}

.ota-wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ─── Breadcrumb ─── */
.ota-crumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 110px 0 18px;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.ota-crumb a {
  color: var(--muted);
  text-decoration: none;
}

.ota-crumb a:hover {
  color: var(--gold);
}

.ota-crumb span {
  color: rgba(109, 103, 97, 0.45);
}

/* ─── Header ─── */
.ota-header {
  padding: 8px 0 28px;
  border-bottom: 1px solid var(--hairline);
}

.ota-title-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
}

.ota-kicker {
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
  font-weight: 600;
}

.ota-header h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  line-height: 1.15;
  color: var(--navy);
  max-width: 860px;
}

.ota-subtitle {
  margin-top: 14px;
  max-width: 820px;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.75;
}

.ota-rating {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 8px;
}

.ota-rating strong {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 400;
  color: var(--navy);
  line-height: 1;
}

.ota-rating span {
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.5;
}

.ota-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.ota-tags span {
  display: inline-block;
  padding: 6px 10px;
  border: 1px solid var(--hairline);
  background: rgba(255, 255, 255, 0.55);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  color: var(--navy);
}

/* ─── Cover + booking ─── */
.ota-cover-grid {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: 24px;
  padding: 28px 0 0;
}

.ota-gallery {
  min-width: 0;
}

.ota-main-img {
  margin: 0;
  position: relative;
  overflow: hidden;
  background: var(--cream);
  aspect-ratio: 4 / 3;
}

.ota-main-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ota-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 10px;
}

.ota-thumbs img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  cursor: pointer;
  border: 1px solid transparent;
  transition: border-color 0.25s ease, opacity 0.25s ease;
}

.ota-thumbs img:hover {
  border-color: var(--gold);
  opacity: 0.9;
}

.ota-booking {
  background: #fff;
  border: 1px solid var(--hairline);
  padding: 28px;
  align-self: start;
  position: sticky;
  top: 92px;
}

.ota-price-label {
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}

.ota-price {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--navy);
  line-height: 1;
}

.ota-price small {
  font-size: 1.2rem;
  font-weight: 400;
}

.ota-price span {
  font-family: var(--font-body);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-left: 6px;
}

.ota-price-note {
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.65;
  margin-top: 10px;
}

.ota-booking-list {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--hairline);
}

.ota-booking-list .ota-check li {
  font-size: 0.82rem;
  padding: 6px 0 6px 20px;
}

.ota-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: 20px;
  padding: 14px 18px;
  background: var(--red);
  color: #fff;
  text-decoration: none;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  font-weight: 600;
  transition: background 0.3s ease;
}

.ota-cta:hover {
  background: var(--navy);
  color: #fff;
}

.ota-booking-note {
  text-align: center;
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-top: 10px;
}

/* ─── Sections ─── */
.ota-section {
  padding: 56px 0;
  border-bottom: 1px solid var(--hairline);
}

.ota-section:last-of-type {
  border-bottom: 0;
}

.ota-eyebrow {
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 10px;
}

.ota-section h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.5rem, 2.8vw, 2.2rem);
  line-height: 1.2;
  color: var(--navy);
  margin-bottom: 20px;
}

.ota-section p {
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.8;
  margin-bottom: 14px;
}

.ota-section p strong {
  color: var(--ink);
}

.ota-lead {
  font-size: 1.08rem !important;
  color: var(--ink) !important;
  line-height: 1.75 !important;
}

/* ─── Highlights ─── */
.ota-highlight-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 10px;
}

.ota-highlight {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 18px;
  background: #fff;
  border: 1px solid var(--hairline);
  padding: 14px;
}

.ota-highlight img {
  width: 100%;
  height: 100%;
  min-height: 170px;
  object-fit: cover;
  display: block;
}

.ota-highlight span {
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
}

.ota-highlight h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.2rem;
  color: var(--navy);
  margin: 6px 0 8px;
  line-height: 1.3;
}

.ota-highlight p {
  font-size: 0.82rem !important;
  line-height: 1.65 !important;
  margin: 0 !important;
}

/* ─── Why / lists ─── */
.ota-why {
  max-width: 860px;
}

.ota-check,
.ota-cross {
  list-style: none;
  padding: 0;
  margin: 0;
}

.ota-check li,
.ota-cross li {
  position: relative;
  padding: 8px 0 8px 26px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.65;
}

.ota-check li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 8px;
  color: var(--gold);
  font-weight: 700;
}

.ota-cross li::before {
  content: '×';
  position: absolute;
  left: 2px;
  top: 8px;
  color: #b04a3a;
  font-weight: 700;
  font-size: 1.05rem;
}

/* ─── Itinerary ─── */
.ota-itinerary {
  margin-top: 8px;
}

.ota-day {
  display: grid;
  grid-template-columns: 76px 1fr 240px;
  gap: 22px;
  padding: 26px 0;
  border-top: 1px solid var(--hairline);
  align-items: start;
}

.ota-day:last-child {
  border-bottom: 1px solid var(--hairline);
}

.ota-day-num {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ota-day-num span {
  font-size: 0.58rem;
  letter-spacing: 0.14em;
  color: var(--gold);
  font-weight: 600;
}

.ota-day-num strong {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 2rem;
  color: var(--navy);
  line-height: 1;
}

.ota-day-copy h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.28rem;
  color: var(--navy);
  margin-bottom: 6px;
  line-height: 1.3;
}

.ota-route {
  font-size: 0.72rem !important;
  letter-spacing: 0.04em;
  color: var(--gold) !important;
  font-weight: 600;
  margin-bottom: 8px !important;
}

.ota-day-copy p {
  font-size: 0.88rem !important;
  line-height: 1.7 !important;
  margin-bottom: 8px !important;
}

.ota-day-meta {
  font-size: 0.68rem !important;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted) !important;
  margin: 0 !important;
}

.ota-day-img {
  margin: 0;
  overflow: hidden;
  background: var(--cream);
  aspect-ratio: 4 / 3;
}

.ota-day-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ota-note {
  font-size: 0.74rem !important;
  color: var(--muted) !important;
  line-height: 1.7 !important;
  margin-top: 18px !important;
}

/* ─── Inclusions ─── */
.ota-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 8px;
}

.ota-include,
.ota-exclude {
  background: #fff;
  border: 1px solid var(--hairline);
  padding: 24px;
}

.ota-include h3,
.ota-exclude h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.15rem;
  color: var(--navy);
  margin-bottom: 10px;
}

.ota-price-note-box {
  margin-top: 22px;
  padding: 18px 22px;
  background: var(--cream);
  border-left: 3px solid var(--gold);
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.7;
}

.ota-price-note-box strong {
  color: var(--ink);
}

/* ─── FAQ ─── */
.ota-faq {
  max-width: 900px;
}

.ota-faq-item {
  border-top: 1px solid var(--hairline);
  padding: 18px 0;
}

.ota-faq-item:last-child {
  border-bottom: 1px solid var(--hairline);
}

.ota-faq-item summary {
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.08rem;
  color: var(--navy);
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.ota-faq-item summary::-webkit-details-marker {
  display: none;
}

.ota-faq-item summary::after {
  content: '+';
  color: var(--gold);
  font-family: var(--font-body);
  font-size: 1.1rem;
  line-height: 1;
}

.ota-faq-item[open] summary::after {
  content: '−';
}

.ota-faq-item p {
  margin-top: 10px !important;
  font-size: 0.9rem !important;
  line-height: 1.75 !important;
}

/* ─── Final CTA ─── */
.ota-final {
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}

.ota-final .ota-cta {
  max-width: 300px;
  margin: 24px auto 16px;
}

/* ─── Sticky bar ─── */
.ota-sticky {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 80;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 18px;
  background: rgba(10, 22, 40, 0.96);
  color: #fff;
  backdrop-filter: blur(10px);
}

.ota-sticky strong {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.4rem;
  color: var(--gold);
}

.ota-sticky span {
  font-size: 0.66rem;
  color: rgba(255, 255, 255, 0.65);
  margin-left: 4px;
}

.ota-sticky a {
  padding: 10px 18px;
  background: var(--gold);
  color: var(--navy);
  text-decoration: none;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
}

/* ─── Responsive ─── */
@media (max-width: 980px) {
  .ota-cover-grid {
    grid-template-columns: 1fr;
  }

  .ota-booking {
    position: static;
  }

  .ota-day {
    grid-template-columns: 64px 1fr;
  }

  .ota-day-img {
    grid-column: 2;
    margin-top: 8px;
  }

  .ota-highlight {
    grid-template-columns: 120px 1fr;
  }
}

@media (max-width: 768px) {
  .ota-wrap {
    padding: 0 18px;
  }

  .ota-crumb {
    padding-top: 88px;
  }

  .ota-title-row {
    flex-direction: column;
    gap: 14px;
  }

  .ota-rating {
    padding-top: 0;
  }

  .ota-highlight-grid,
  .ota-two-col {
    grid-template-columns: 1fr;
  }

  .ota-highlight {
    grid-template-columns: 100px 1fr;
    gap: 12px;
  }

  .ota-highlight img {
    min-height: 130px;
  }

  .ota-day {
    grid-template-columns: 48px 1fr;
    gap: 14px;
  }

  .ota-day-num strong {
    font-size: 1.5rem;
  }

  .ota-day-img {
    grid-column: 1 / -1;
    margin-top: 10px;
  }

  .ota-sticky {
    display: flex;
  }

  .ota-page {
    padding-bottom: 90px;
  }

  .ota-section {
    padding: 40px 0;
  }
}

/* ─── Three-column concern cards ─── */
.ota-three-col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 8px;
}

.ota-mini {
  background: #fff;
  border: 1px solid var(--hairline);
  padding: 22px;
}

.ota-mini h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.05rem;
  color: var(--navy);
  margin-bottom: 8px;
}

.ota-mini p {
  font-size: 0.84rem !important;
  line-height: 1.7 !important;
  margin: 0 !important;
}

/* ─── Brand stats ─── */
.ota-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: 20px 0 24px;
}

.ota-stat {
  background: #fff;
  border: 1px solid var(--hairline);
  padding: 20px 16px;
  text-align: center;
}

.ota-stat strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.8rem;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 6px;
}

.ota-stat span {
  font-size: 0.64rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.4;
}

@media (max-width: 768px) {
  .ota-three-col,
  .ota-stats {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 480px) {
  .ota-three-col,
  .ota-stats {
    grid-template-columns: 1fr;
  }
}

/* ─── PDF-style product gallery: each image once, uncropped ─── */
.ota-docs-hint {
  max-width: 760px;
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.7;
  margin: 0 0 24px;
}

.ota-doc-gallery {
  display: flex;
  flex-direction: column;
  gap: 28px;
  max-width: 900px;
  margin: 0 auto;
}

.ota-doc-item {
  margin: 0;
  background: #fff;
  border: 1px solid var(--hairline);
  padding: 12px;
}

.ota-doc-item img {
  width: 100%;
  height: auto;
  display: block;
  cursor: zoom-in;
}

.ota-doc-item figcaption {
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  color: var(--muted);
  text-align: center;
  padding-top: 10px;
}

.ota-lightbox {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(10, 22, 40, 0.95);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.ota-lightbox.is-open {
  display: flex;
}

.ota-lightbox img {
  max-width: 92vw;
  max-height: 92vh;
  width: auto;
  height: auto;
  object-fit: contain;
}

.ota-lightbox-close {
  position: absolute;
  top: 18px;
  right: 22px;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: transparent;
  color: #fff;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

/* Highlights and day cards no longer repeat the gallery images */
.ota-highlight {
  display: block;
  padding: 24px;
}

.ota-highlight img {
  display: none;
}

.ota-day {
  grid-template-columns: 76px 1fr;
}

.ota-day-img {
  display: none;
}

@media (max-width: 980px) {
  .ota-day {
    grid-template-columns: 64px 1fr;
  }
}

@media (max-width: 768px) {
  .ota-day {
    grid-template-columns: 48px 1fr;
  }
}

/* Long itinerary image */
.ota-long-img {
  margin: 0 auto;
  max-width: 900px;
  background: #fff;
  border: 1px solid var(--hairline);
  padding: 12px;
}

.ota-long-img img {
  width: 100%;
  height: auto;
  display: block;
  cursor: zoom-in;
}

.ota-long-img figcaption {
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  color: var(--muted);
  text-align: center;
  padding-top: 10px;
}

/* Booking-only layout after removing the hero cover image */
.ota-cover-grid--booking-only {
  grid-template-columns: 1fr;
  padding-top: 20px;
}

.ota-cover-grid--booking-only .ota-booking {
  position: static;
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
}
