/*
 * Plain hotel detail (citytrip / stedentrip and any product type without a
 * roundtrip / flydrive JSON body).
 *
 * The PDP shell (gallery, lightbox, breadcrumb, header, tabs, sidebar,
 * mobile CTA, responsive) intentionally mirrors hotel_flydrive.css and
 * hotel_roundtrip.css. The shared base is duplicated here on purpose for
 * Phase 6 — the three hotel CSS files get consolidated in the Phase 16
 * cleanup pass alongside the toggle removal.
 *
 * Plain-hotel-specific blocks live at the bottom (`pdp-location`, `pdp-meta-pill--ta`).
 */

:root {
  --pdp-container-width: 1440px;
}

/* ── GALLERY HERO ─────────────────────────────────────── */
.pdp-gallery-hero {
  position: relative;
  background: #f6efe4;
  padding: 28px 32px 54px;
  overflow: hidden;
}
.pdp-gallery-hero::after {
  content: '';
  position: absolute;
  left: -5%;
  right: -5%;
  bottom: -48px;
  height: 96px;
  background: var(--bg);
  border-radius: 50% 50% 0 0 / 62% 62% 0 0;
}
.pdp-gallery {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  gap: 16px;
  max-width: var(--pdp-container-width);
  height: clamp(420px, 34vw, 560px);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.pdp-gallery-main {
  height: 100%;
  min-height: 0;
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  background: var(--bg-secondary);
}
.pdp-gallery-main img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.4s;
}
.pdp-gallery-main:hover img { transform: scale(1.03); }
.pdp-gallery-side-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 16px;
  height: 100%;
  min-height: 0;
}
.pdp-gallery-side {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  min-height: 0;
  background: var(--bg-secondary);
}
.pdp-gallery-side img,
.pdp-gallery-main img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.4s;
  display: block;
}
.pdp-gallery-side:hover img { transform: scale(1.04); }
.pdp-gallery-more {
  position: absolute;
  inset: 0;
  z-index: 2;
  border: none;
  background: rgba(13, 28, 23, 0.48);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-primary); cursor: pointer;
  font-family: var(--font-body);
}
.pdp-gallery-more span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 14px 22px;
  border-radius: 999px;
  background: rgba(255,255,255,0.94);
  box-shadow: 0 10px 28px rgba(0,0,0,0.18);
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
}
.pdp-gallery-badge {
  position: absolute; top: 20px; left: 20px;
  background: rgba(255,255,255,0.92); color: var(--text-primary);
  font-size: 13px; font-weight: 600; padding: 8px 14px; border-radius: 999px;
  box-shadow: 0 8px 22px rgba(0,0,0,0.12);
  z-index: 2;
}


/* ── PAGE LAYOUT ──────────────────────────────────────── */
.pdp-wrap {
  max-width: var(--pdp-container-width); margin: 0 auto;
  padding: 0 32px 80px;
}
.pdp-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 32px;
  align-items: flex-start;
  margin-top: 32px;
}
.pdp-main { min-width: 0; }


/* ── BREADCRUMB ───────────────────────────────────────── */
.pdp-breadcrumb {
  display: flex; align-items: center; gap: 6px;
  padding: 16px 0 0; font-size: 13px; color: var(--text-muted); flex-wrap: wrap;
}
.pdp-breadcrumb a { color: var(--text-muted); text-decoration: none; }
.pdp-breadcrumb a:hover { color: var(--text-secondary); }
.pdp-breadcrumb .sep { color: var(--border-strong); }
.pdp-breadcrumb .current { color: var(--text-secondary); }


/* ── PRODUCT HEADER ───────────────────────────────────── */
.pdp-header { margin-bottom: 24px; }
.pdp-title {
  font-family: var(--font-serif); font-size: 34px; font-weight: 400;
  color: var(--text-primary); line-height: 1.2; letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.pdp-title em { font-style: italic; }
.pdp-title-row {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 16px; margin-bottom: 12px;
}
.pdp-title-row .pdp-title { margin-bottom: 0; }
.pdp-fav {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 14px;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: var(--bg-card);
  color: var(--text-secondary);
  font-family: var(--font-body);
  font-size: 13px; font-weight: 500;
  cursor: pointer;
  transition: all 0.15s;
  white-space: nowrap;
  flex-shrink: 0;
}
.pdp-fav:hover { border-color: #e0306b; color: #e0306b; }
.pdp-fav[aria-pressed="true"] { border-color: #e0306b; background: #fdeef2; color: #e0306b; }
.pdp-fav[aria-pressed="true"] svg { fill: #e0306b; stroke: #e0306b; }
.pdp-meta {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
}
.pdp-meta-pill {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; color: var(--text-secondary);
}
.pdp-meta-pill--ta {
  background: var(--purple-pale); color: var(--purple);
  padding: 5px 12px; border-radius: var(--radius-sm);
}
.pdp-ta-badge {
  font-weight: 600; letter-spacing: 0.02em;
}
.pdp-ta-score {
  font-family: var(--font-serif); font-size: 15px; font-weight: 400;
  color: var(--purple); font-variant-numeric: tabular-nums;
}
.pdp-ta-count { color: var(--purple-light); font-size: 12px; }


/* ── TABS ─────────────────────────────────────────────── */
.pdp-tabs {
  display: flex; gap: 0; border-bottom: 2px solid var(--border);
  margin-bottom: 32px; position: sticky; top: 62px; background: var(--bg);
  z-index: 100; padding-top: 4px;
  overflow-x: auto;
  scrollbar-width: none; -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
}
.pdp-tabs::-webkit-scrollbar { display: none; }
.pdp-tab {
  padding: 12px 20px; font-size: 14px; font-weight: 500;
  color: var(--text-secondary); cursor: pointer; border: none;
  background: none; font-family: var(--font-body);
  border-bottom: 2px solid transparent; margin-bottom: -2px;
  transition: color 0.12s, border-color 0.12s;
  white-space: nowrap; flex-shrink: 0;
}
.pdp-tab.active { color: var(--purple); border-bottom-color: var(--purple); }
.pdp-tab:hover:not(.active) { color: var(--text-primary); }


/* ── TAB SECTIONS ─────────────────────────────────────── */
.pdp-section { margin-bottom: 40px; scroll-margin-top: 130px; }
.pdp-section-title {
  font-family: var(--font-serif); font-size: 22px; font-weight: 400;
  color: var(--text-primary); margin-bottom: 16px; line-height: 1.3;
}
.pdp-section-title em { font-style: italic; }


/* ── USP STRIP ────────────────────────────────────────── */
.pdp-usps {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 12px; margin-bottom: 40px;
}
.pdp-usp {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 18px 16px;
  display: flex; align-items: flex-start; gap: 12px;
}
.pdp-usp-icon {
  width: 40px; height: 40px; flex-shrink: 0;
  background: var(--purple-pale); border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--purple);
}
.pdp-usp-title { font-size: 13px; font-weight: 500; color: var(--text-primary); margin-bottom: 3px; }


/* ── DESCRIPTION ──────────────────────────────────────── */
.pdp-desc {
  font-size: 15px; color: var(--text-secondary); line-height: 1.8;
  margin-bottom: 24px;
}
.pdp-desc p { margin-bottom: 14px; }
.pdp-desc p:last-child { margin-bottom: 0; }


/* ── STAY (feature card) ──────────────────────────────── */
.feature-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  display: grid; grid-template-columns: 220px 1fr;
  box-shadow: 0 8px 26px rgba(26,26,24,0.04);
}
.feature-card-img { background: var(--bg-secondary); min-height: 200px; }
.feature-card-img img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.feature-card-body { padding: 22px 24px; }
.feature-kicker {
  font-size: 10px; text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--purple-light); font-weight: 600; margin-bottom: 6px;
}
.feature-title {
  font-family: var(--font-serif); font-size: 22px; font-weight: 400;
  color: var(--text-primary); margin-bottom: 6px; line-height: 1.25;
}
.feature-stars { margin-bottom: 12px; color: var(--orange); font-size: 13px; letter-spacing: 1px; }
.feature-text {
  font-size: 14px; color: var(--text-secondary); line-height: 1.75;
}
.feature-text p { margin-bottom: 12px; }
.feature-text p:last-child { margin-bottom: 0; }
.feature-text ul { padding-left: 18px; margin-bottom: 12px; }
.feature-text li { margin-bottom: 6px; }


/* ── FACILITIES ───────────────────────────────────────── */
.facility-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 10px 18px;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 22px 24px;
}
.facility-item {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 14px; color: var(--text-secondary); line-height: 1.5;
}
.facility-item svg { color: var(--green-booking); flex-shrink: 0; margin-top: 2px; }
.facility-val { color: var(--text-muted); font-size: 13px; }


/* ── INCLUDED / OPTIONAL / EXCLUDED ───────────────────── */
.inc-exc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.inc-exc-block {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 20px 22px;
}
.inc-exc-block h4 {
  font-size: 14px; font-weight: 500; color: var(--text-primary);
  margin-bottom: 14px; display: flex; align-items: center; gap: 8px;
}
.inc-exc-list { display: flex; flex-direction: column; gap: 9px; }
.inc-exc-item {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 14px; color: var(--text-secondary); line-height: 1.5;
}
.inc-exc-item-plain { display: block; }
.inc-icon-yes { color: var(--green-booking); flex-shrink: 0; margin-top: 2px; }
.inc-icon-no  { color: var(--text-muted);    flex-shrink: 0; margin-top: 2px; }
.inc-exc-item i { display: none; } /* original .tpl includes <i> icons inline; hide them in favour of our SVG */


/* ── LOCATION ─────────────────────────────────────────── */
.pdp-location {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 22px 24px;
  display: flex; flex-direction: column; gap: 16px;
}
.pdp-location-address {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 14px; color: var(--text-secondary); line-height: 1.55;
}
.pdp-location-address svg { color: var(--purple-light); flex-shrink: 0; margin-top: 2px; }
.pdp-location-usps {
  font-size: 14px; color: var(--text-secondary); line-height: 1.7;
  border-top: 1px solid var(--border); padding-top: 14px;
}
.pdp-location-usps ul { padding-left: 18px; }
.pdp-location-map {
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
}
.pdp-location-map iframe {
  display: block; width: 100%; height: 360px; border: 0;
}


/* ── BOOKING SIDEBAR ──────────────────────────────────── */
.pdp-sidebar { position: sticky; top: 80px; }
.booking-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}
.booking-card-header {
  background: var(--bg-card); color: var(--text-primary);
  padding: 12px 18px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px;
}
.booking-price-from {
  font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text-muted); font-weight: 500;
}
.booking-price-val {
  font-family: var(--font-serif); font-size: 22px; font-weight: 400;
  line-height: 1; color: var(--text-primary);
  display: inline-flex; align-items: baseline; gap: 6px;
}
.booking-price-pp {
  font-family: var(--font-body);
  font-size: 12px; font-weight: 400; color: var(--text-muted);
}
.booking-inclusions {
  background: #ede9f6;
  padding: 11px 18px;
  display: grid; grid-template-columns: 1fr 1fr;
  row-gap: 7px; column-gap: 10px;
}
.booking-inclusion {
  display: flex; align-items: center; gap: 7px;
  font-size: 13px; color: var(--text-primary);
}
.booking-inclusion svg {
  width: 15px; height: 15px; flex-shrink: 0;
  border-radius: 50%;
  border: 1.3px solid var(--purple);
  padding: 1.5px;
  color: var(--purple);
  box-sizing: border-box;
}
.booking-actions {
  border-top: 1px solid var(--border);
  padding: 12px 18px 16px;
  display: flex; flex-direction: column; gap: 8px;
}
.booking-btn {
  width: 100%; padding: 11px;
  border-radius: 8px; font-size: 14px; font-weight: 500;
  font-family: var(--font-body); cursor: pointer;
  text-align: center; text-decoration: none;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
  border: 1.5px solid var(--purple);
  display: inline-block;
}
.booking-btn-outline {
  background: var(--bg-card); color: var(--purple);
}
.booking-btn-outline:hover { background: #f7f4fd; }
.booking-btn-primary {
  background: var(--purple); color: #fff;
}
.booking-btn-primary:hover { background: #6a3fc7; border-color: #6a3fc7; }


/* ── HELP CTA (sidebar) ──────────────────────────────── */
.pdp-help-cta {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 16px;
  margin-top: 16px;
}
.pdp-help-cta__header {
  display: flex; align-items: center; gap: 12px; margin-bottom: 12px;
}
.pdp-employee-cta__photo {
  width: 56px; height: 56px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--bg-secondary);
}
.pdp-employee-cta__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pdp-employee-cta__eyebrow {
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--purple-light); font-weight: 500;
}
.pdp-employee-cta__title {
  font-size: 13px; color: var(--text-primary); font-weight: 500;
  line-height: 1.35;
}
.pdp-help-cta__actions {
  display: flex; flex-direction: column; gap: 8px;
}
.pdp-help-btn {
  display: flex; align-items: center; justify-content: center; gap: 7px;
  padding: 10px 16px; border-radius: 8px;
  font-size: 13px; font-weight: 500; text-decoration: none;
  transition: opacity 0.15s;
}
.pdp-help-btn:hover { opacity: 0.85; }
.pdp-help-btn--cal { background: var(--purple); color: #fff; }
.pdp-help-btn--wa  { background: #25d366; color: #fff; }


/* ── LIGHTBOX ─────────────────────────────────────────── */
.pdp-gallery-main, .pdp-gallery-side { cursor: zoom-in; }
.pdp-gallery-side:has(.pdp-gallery-more) { cursor: pointer; }

.pdp-lightbox {
  position: fixed; inset: 0;
  background: rgba(12, 12, 14, 0.96);
  z-index: 2000;
  display: flex; flex-direction: column;
  color: #fff;
  overflow: hidden;
}
.pdp-lightbox[hidden] { display: none; }
.pdp-lightbox__close,
.pdp-lightbox__nav {
  position: absolute;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  width: 44px; height: 44px;
  border-radius: 999px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; z-index: 3;
  transition: background 0.15s;
  padding: 0;
}
.pdp-lightbox__close:hover,
.pdp-lightbox__nav:hover { background: rgba(255, 255, 255, 0.2); }
.pdp-lightbox__close { top: 18px; right: 18px; }
.pdp-lightbox__nav { top: 50%; transform: translateY(-50%); }
.pdp-lightbox__nav--prev { left: 18px; }
.pdp-lightbox__nav--next { right: 18px; }
.pdp-lightbox__counter {
  position: absolute; top: 24px; left: 50%; transform: translateX(-50%);
  font-size: 14px; letter-spacing: 0.04em; color: rgba(255,255,255,0.85);
  z-index: 3;
  font-variant-numeric: tabular-nums;
}
.pdp-lightbox__viewport {
  flex: 1; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  padding: 70px 70px 50px;
  touch-action: pan-y pinch-zoom;
}
.pdp-lightbox__track {
  display: flex;
  width: 100%; height: 100%;
  transition: transform 0.32s cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: transform;
}
.pdp-lightbox__slide {
  flex: 0 0 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  margin: 0; padding: 0 8px;
  gap: 14px;
}
.pdp-lightbox__slide img {
  max-width: 100%; max-height: 100%;
  object-fit: contain;
  border-radius: 8px;
  background: rgba(255,255,255,0.04);
  box-shadow: 0 6px 36px rgba(0,0,0,0.4);
}
.pdp-lightbox__slide figcaption {
  font-size: 13px; color: rgba(255,255,255,0.7);
  text-align: center;
}
body.has-lightbox-open { overflow: hidden; }


/* ── MOBILE BOOKING FAB + backdrop ─────────────────────── */
.pdp-mobile-cta {
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 1000;
  background: var(--bg-card, #fff);
  border-top: 1px solid var(--border);
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px));
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.08);
}
.pdp-mobile-cta__price { display: flex; flex-direction: column; line-height: 1.15; }
.pdp-mobile-cta__from { font-size: 11px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.06em; }
.pdp-mobile-cta__amount { font-family: var(--font-serif); font-size: 22px; color: var(--text-primary); }
.pdp-mobile-cta__btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--purple); color: #fff; border: none;
  font-family: var(--font-body); font-weight: 600; font-size: 15px;
  padding: 12px 20px; border-radius: 999px; cursor: pointer;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(61, 31, 140, 0.35);
}
.pdp-sheet-backdrop {
  position: fixed; inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 1000;
  opacity: 0; pointer-events: none;
  transition: opacity 0.2s;
}
.pdp-sheet-backdrop.is-visible { opacity: 1; pointer-events: auto; }
body:has(.mobile-menu.open) .pdp-mobile-cta { display: none !important; }


/* ── RESPONSIVE ───────────────────────────────────────── */
@media (max-width: 1024px) {
  .pdp-layout { grid-template-columns: 1fr; }
  .pdp-sidebar { position: static; }
  .pdp-gallery { grid-template-columns: 1fr; height: auto; }
  .pdp-gallery-main { min-height: 380px; }
  .inc-exc-grid { grid-template-columns: 1fr; }
  .pdp-usps { grid-template-columns: 1fr 1fr; }
  .facility-grid { grid-template-columns: 1fr 1fr; }
  .pdp-wrap { padding: 0 20px 60px; }
}
@media (max-width: 768px) {
  .pdp-gallery-hero { padding: 20px 20px 42px; }
  .pdp-gallery-main { min-height: 300px; }
  .pdp-gallery-side-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .pdp-gallery-side { min-height: 130px; border-radius: 12px; }
  .pdp-gallery-main { border-radius: 12px; }
  .pdp-gallery-more span { padding: 10px 14px; font-size: 13px; }
  .pdp-title { font-size: 26px; }
  .pdp-tab { padding: 12px 14px; font-size: 13px; }
  .pdp-usps { grid-template-columns: 1fr; }
  .facility-grid { grid-template-columns: 1fr; padding: 18px; }
  .feature-card { grid-template-columns: 1fr; }
  .feature-card-img { height: 200px; min-height: 0; }
  .pdp-location-map iframe { height: 280px; }

  /* ── MOBILE BOOKING SHEET ── */
  .pdp-mobile-cta { display: flex !important; }
  .pdp-sidebar {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    max-height: 88vh;
    z-index: 1001;
    background: var(--bg-card, #fff);
    border-radius: 18px 18px 0 0;
    box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.18);
    padding: 12px 16px 90px;
    overflow-y: auto;
    transform: translateY(100%);
    transition: transform 0.25s ease;
  }
  .pdp-sidebar.is-open { transform: translateY(0); }
  .pdp-sidebar::before {
    content: '';
    display: block;
    width: 40px; height: 4px;
    background: var(--border);
    border-radius: 999px;
    margin: 4px auto 12px;
  }
  body.has-sheet-open { overflow: hidden; }
}
@media (max-width: 768px) {
  .pdp-lightbox__viewport { padding: 70px 8px 50px; }
  .pdp-lightbox__nav { width: 38px; height: 38px; }
  .pdp-lightbox__nav--prev { left: 8px; }
  .pdp-lightbox__nav--next { right: 8px; }
  .pdp-lightbox__close { top: 12px; right: 12px; }
}
