/* ============================================================
   PROPERTY DETAIL PAGE — components (used on .t-serene base)
   ============================================================ */
.p-top { padding-top: 110px; }
.p-breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-soft); margin-bottom: 18px; }
.p-breadcrumb a:hover { color: var(--brand); }
.p-breadcrumb svg { width: 13px; height: 13px; opacity: 0.6; }

.p-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 24px; }
.p-head h1 { font-family: var(--font-display); font-size: clamp(38px, 5vw, 64px); line-height: 1.0; font-weight: 600; }
.p-head .loc { display: inline-flex; align-items: center; gap: 8px; color: var(--text-soft); margin-top: 12px; font-size: 15px; }
.p-head .loc svg { width: 16px; height: 16px; color: var(--accent); }
.p-rating { text-align: right; }
.p-rating .score { font-family: var(--font-display); font-size: 40px; line-height: 1; color: var(--brand); }
.p-rating .stars svg { width: 15px; height: 15px; }
.p-rating .count { font-size: 12.5px; color: var(--text-soft); margin-top: 4px; }

/* gallery */
.p-gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 10px; height: clamp(360px, 46vw, 540px); border-radius: var(--r-lg); overflow: hidden; }
.p-gallery .ph { position: relative; cursor: pointer; transition: filter var(--dur-med); }
.p-gallery .ph:hover { filter: brightness(1.06); }
.p-gallery .ph:first-child { grid-row: span 2; }
.p-gallery .more { position: absolute; right: 14px; bottom: 14px; background: rgba(255,255,255,0.92); color: var(--green-900); padding: 9px 16px; border-radius: var(--r-pill); font-size: 13px; font-weight: 600; display: inline-flex; gap: 8px; align-items: center; }
.p-gallery .more svg { width: 15px; height: 15px; }

/* facts bar */
.p-facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--hairline); border: 1px solid var(--hairline); border-radius: var(--r-md); overflow: hidden; margin-top: 28px; }
.p-fact { background: var(--surface); padding: 20px 22px; display: flex; gap: 13px; align-items: center; }
.p-fact-ic { width: 40px; height: 40px; flex: none; border-radius: 50%; background: var(--green-50); display: grid; place-items: center; color: var(--brand); }
.p-fact-ic svg { width: 19px; height: 19px; }
.p-fact .k { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-soft); }
.p-fact .v { font-size: 15px; font-weight: 600; color: var(--text); margin-top: 1px; }

/* two-col body */
.p-body { display: grid; grid-template-columns: 1fr 360px; gap: clamp(32px, 5vw, 64px); align-items: start; margin-top: clamp(40px, 6vw, 72px); }
.p-section + .p-section { margin-top: clamp(40px, 5vw, 64px); }
.p-section h2 { font-family: var(--font-display); font-size: clamp(26px, 3vw, 38px); font-weight: 600; margin-bottom: 18px; }
.p-section p { color: var(--text-soft); font-size: 16px; max-width: 60ch; }
.p-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.p-tag { padding: 8px 15px; border-radius: var(--r-pill); border: 1px solid var(--hairline); font-size: 13px; color: var(--text); display: inline-flex; align-items: center; gap: 8px; }
.p-tag svg { width: 14px; height: 14px; color: var(--accent); }

/* room types */
.p-rooms { display: flex; flex-direction: column; gap: 18px; }
.p-room { display: grid; grid-template-columns: 220px 1fr auto; gap: 24px; background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--r-lg); overflow: hidden; transition: box-shadow var(--dur-med), transform var(--dur-med) var(--ease-out); }
.p-room:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.p-room .ph { min-height: 160px; }
.p-room-info { padding: 22px 0; }
.p-room-info h3 { font-size: 20px; font-weight: 700; margin-bottom: 6px; }
.p-room-info .feat { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 12px; font-size: 13.5px; color: var(--text-soft); }
.p-room-info .feat span { display: inline-flex; align-items: center; gap: 6px; }
.p-room-info .feat svg { width: 14px; height: 14px; color: var(--accent); }
.p-room-price { padding: 22px 24px; text-align: right; display: flex; flex-direction: column; align-items: flex-end; justify-content: center; gap: 10px; border-left: 1px solid var(--hairline); }
.p-room-price .amt { font-family: var(--font-display); font-size: 30px; color: var(--brand); line-height: 1; }
.p-room-price .amt small { font-family: var(--font-ui); font-size: 13px; color: var(--text-soft); font-weight: 500; }
.p-room-price .per { font-size: 11.5px; color: var(--text-soft); }

/* amenities grid */
.p-amen { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.p-amen-item { display: flex; gap: 12px; align-items: flex-start; padding: 16px; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--hairline); }
.p-amen-item svg { width: 20px; height: 20px; color: var(--brand); flex: none; margin-top: 2px; }
.p-amen-item strong { display: block; font-size: 14.5px; font-weight: 600; }
.p-amen-item span { font-size: 12.5px; color: var(--text-soft); }

/* sticky booking card */
.p-book { position: sticky; top: 96px; background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--r-lg); box-shadow: var(--shadow-md); padding: 24px; }
.p-book .from { font-size: 13px; color: var(--text-soft); }
.p-book .from b { font-family: var(--font-display); font-size: 30px; color: var(--brand); font-weight: 600; }
.p-book .disc { display: inline-flex; align-items: center; gap: 8px; background: var(--green-50); color: var(--green-700); font-size: 12.5px; font-weight: 600; padding: 7px 12px; border-radius: var(--r-pill); margin: 14px 0 18px; }
.p-book .disc svg { width: 14px; height: 14px; }
.p-bk-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 10px; }
.p-bk-cell { border: 1px solid var(--hairline); border-radius: var(--r-sm); padding: 10px 13px; cursor: pointer; transition: border-color var(--dur-fast); }
.p-bk-cell:hover { border-color: var(--brand); }
.p-bk-cell .k { font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); font-weight: 700; }
.p-bk-cell .v { font-size: 14px; font-weight: 500; margin-top: 2px; }
.p-bk-cell.full { grid-column: span 2; }
.p-book .btn { width: 100%; margin-top: 6px; }
.p-book .note { font-size: 11.5px; color: var(--text-soft); text-align: center; margin-top: 12px; }

/* map */
.p-map { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--hairline); height: 340px; position: relative; }
.p-map .ph { position: absolute; inset: 0; }
.p-map .pin { position: absolute; left: 50%; top: 46%; transform: translate(-50%,-100%); z-index: 2; width: 44px; height: 44px; border-radius: 50% 50% 50% 0; background: var(--action); transform-origin: bottom; rotate: -45deg; display: grid; place-items: center; box-shadow: var(--shadow-md); }
.p-map .pin svg { rotate: 45deg; width: 20px; height: 20px; color: #fff; }
.p-nearby { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; margin-top: 22px; }
.p-nearby li { display: flex; justify-content: space-between; font-size: 14px; padding: 9px 0; border-bottom: 1px solid var(--hairline); }
.p-nearby li span:last-child { color: var(--text-soft); }

/* event space section */
.p-es { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 4vw, 56px); margin-top: 22px; align-items: center; }
.p-es + .p-es { margin-top: clamp(40px, 5vw, 64px); }
.p-es:nth-child(even) .p-es-media { order: 2; }
.p-es-media { position: relative; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4/3; }
.p-es-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.7s var(--ease-out); }
.p-es:hover .p-es-media img { transform: scale(1.05); }
.p-es-media .pill { position: absolute; top: 16px; left: 16px; background: rgba(255,255,255,0.92); color: var(--green-900); font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 7px 14px; border-radius: var(--r-pill); z-index: 1; }
.p-es-body .tag { font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); display: block; margin-bottom: 4px; }
.p-es-body h3 { font-family: var(--font-display); font-weight: 600; font-size: clamp(32px, 3.6vw, 50px); line-height: 1.02; margin: 10px 0 14px; }
.p-es-specs { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 20px 0 22px; }
.p-es-spec { display: flex; gap: 10px; align-items: center; padding: 12px 14px; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--hairline); }
.p-es-spec-v { font-size: 14px; font-weight: 600; }
@media (max-width: 700px) { .p-es { grid-template-columns: 1fr; } .p-es:nth-child(even) .p-es-media { order: 0; } }

@media (max-width: 900px) {
  .p-gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 1.4fr 1fr; }
  .p-gallery .ph:first-child { grid-column: span 2; grid-row: span 1; }
  .p-gallery .ph:nth-child(4), .p-gallery .ph:nth-child(5) { display: none; }
  .p-facts { grid-template-columns: 1fr 1fr; }
  .p-body { grid-template-columns: 1fr; }
  .p-book { position: static; }
  .p-amen { grid-template-columns: 1fr; }
  .p-room { grid-template-columns: 1fr; }
  .p-room-price { border-left: none; border-top: 1px solid var(--hairline); text-align: left; align-items: flex-start; flex-direction: row; justify-content: space-between; width: 100%; }
}

/* ── Qibla badge (booking aside, under the promo code) ── */
.qibla-badge { margin-top: 8px; }

/* ── KLIA transit timeline (Bell Suites) ── */
.transit-controls { display: flex; gap: 14px; flex-wrap: wrap; margin: 20px 0 22px; }
.transit-field { display: flex; flex-direction: column; gap: 6px; font-size: 11.5px; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; color: var(--text-soft); }
.transit-field select, .transit-field input { font: inherit; font-size: 15px; font-weight: 500; text-transform: none; letter-spacing: normal; color: var(--text); background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--r-md); padding: 10px 14px; outline: none; min-width: 180px; }
.transit-field select:focus, .transit-field input:focus { border-color: var(--accent); }
.transit-line { list-style: none; margin: 0; padding: 0; position: relative; }
.transit-line::before { content: ""; position: absolute; left: 7px; top: 12px; bottom: 12px; width: 2px; background: var(--hairline); }
.transit-line li { position: relative; display: flex; align-items: baseline; gap: 16px; padding: 10px 0 10px 32px; font-size: 15px; }
.transit-line li::before { content: ""; position: absolute; left: 0; top: 16px; width: 16px; height: 16px; border-radius: 50%; background: var(--surface); border: 2px solid var(--green-700, #1F6B43); }
.transit-line li b { font-variant-numeric: tabular-nums; font-size: 16px; min-width: 64px; }
.transit-line li b small { font-size: 10px; vertical-align: super; color: var(--accent); margin-left: 1px; }
.transit-line li.transit-bed::before { background: var(--green-700, #1F6B43); box-shadow: 0 0 0 4px var(--green-50, #EAF4EC); }
.transit-line li.transit-bed { font-weight: 600; }
.transit-note { font-size: 13px; color: var(--text-soft); margin-top: 16px; }

/* ── Direct booking widget (Exely-look, used when directBook=true) ── */
.pdb { display: flex; flex-direction: column; gap: 10px; padding-top: 4px; }
.pdb-field { position: relative; display: block; background: #fff; border: 1px solid #d9d9d9; border-radius: 4px; padding: 8px 12px 9px; cursor: pointer; transition: border-color 120ms; }
.pdb-field:hover, .pdb-field:focus-within { border-color: #1f9241; }
.pdb-label { display: block; font-size: 12.5px; color: #8a8a8a; line-height: 1.35; }
.pdb-date, .pdb-select { display: block; width: 100%; border: 0; background: transparent; font: inherit; font-size: 15px; color: #1a1a1a; padding: 0; outline: none; cursor: pointer; appearance: none; -webkit-appearance: none; }
.pdb-date::-webkit-calendar-picker-indicator { cursor: pointer; opacity: .9; filter: invert(40%) sepia(82%) saturate(420%) hue-rotate(90deg) brightness(0.95); }
.pdb-ic { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: #1f9241; pointer-events: none; }
.pdb-promo { width: 100%; border: 0; border-radius: 4px; background: #e9e9e9; color: #6b6b6b; font: inherit; font-size: 14px; padding: 13px 12px; cursor: pointer; text-align: center; transition: background 120ms; }
.pdb-promo:hover { background: #dfdfdf; }
.pdb-promo-input { width: 100%; border: 1px solid #d9d9d9; border-radius: 4px; padding: 12px; font: inherit; font-size: 14px; color: #1a1a1a; outline: none; }
.pdb-promo-input:focus { border-color: #1f9241; }
.pdb-find { width: 100%; border: 0; border-radius: 4px; background: #00913C; color: #fff; font: inherit; font-size: 14px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; padding: 14px 12px; cursor: pointer; transition: background 120ms; }
.pdb-find:hover { background: #007d34; }
