/* FindYogaRetreats: retreat detail page (loads after styles.css) */

.site-header.always-solid { position: sticky; top: 0; background: rgba(255, 253, 249, .96); color: var(--ink); backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--line); animation: none; }
.always-solid .nav-pill:hover { background: var(--sand); }
.always-solid .nav-host { border-color: var(--line); }

.r-top { padding: 22px 0 0; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: 13.5px; color: var(--ink-3); }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.crumbs span[aria-hidden] { opacity: .6; }

.r-title-row { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin: 16px 0 22px; flex-wrap: wrap; }
.r-title-row h1 { font-size: clamp(30px, 3.6vw, 46px); font-weight: 500; max-width: 820px; }
.r-sub { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 12px; font-size: 15px; color: var(--ink-2); align-items: center; }
.r-sub .rating { font-size: 15px; }
.r-sub a { text-decoration: underline; text-underline-offset: 3px; }
.r-sub .verified { display: inline-flex; align-items: center; gap: 6px; color: var(--forest-2); font-weight: 600; }
.r-sub .verified .icon { width: 17px; height: 17px; }
.r-actions { display: flex; gap: 8px; }
.r-actions button { display: inline-flex; align-items: center; gap: 7px; background: var(--paper); border: 1.5px solid var(--line); border-radius: 999px; padding: 9px 15px; font-size: 14px; font-weight: 600; }
.r-actions button:hover { border-color: var(--ink-3); }
.r-actions button .icon { width: 17px; height: 17px; }
.r-actions button[aria-pressed="true"] { color: var(--terra); border-color: var(--terra); }
.r-actions button[aria-pressed="true"] .icon { fill: var(--terra); }

/* Gallery */
.gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 230px 230px; gap: 10px; border-radius: 22px; overflow: hidden; position: relative; }
.gallery img { width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; transition: filter .2s; }
.gallery img:hover { filter: brightness(.92); }
.gallery .g-main { grid-row: span 2; }
.g-all { position: absolute; right: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: 8px; background: var(--paper); border: 0; border-radius: 999px; padding: 10px 16px; font-size: 14px; font-weight: 600; box-shadow: var(--shadow); }
.g-video { position: absolute; left: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: 8px; background: rgba(20, 30, 24, .7); color: #fff; border: 0; border-radius: 999px; padding: 10px 16px; font-size: 14px; font-weight: 600; backdrop-filter: blur(6px); }
.g-video .icon { width: 16px; height: 16px; fill: #fff; stroke: none; }

/* Layout */
.r-layout { display: grid; grid-template-columns: minmax(0, 1fr) 390px; gap: 64px; padding-top: 40px; padding-bottom: 80px; align-items: start; }
.r-main > section { padding: 40px 0; border-bottom: 1px solid var(--line); }
.r-main > section:first-child { padding-top: 0; }
.r-main > section, .book { scroll-margin-top: 140px; }
.r-main > section:last-child { border-bottom: 0; }
.r-main h2 { font-size: clamp(26px, 2.6vw, 32px); margin-bottom: 18px; }
.r-main p { color: var(--ink-2); margin: 0 0 14px; }
.r-main p:last-child { margin-bottom: 0; }

/* Section nav */
.r-tabs { position: sticky; top: 76px; z-index: 20; background: var(--sand); border-bottom: 1px solid var(--line); }
.r-tabs .wrap { display: flex; gap: 26px; overflow-x: auto; scrollbar-width: none; }
.r-tabs .wrap::-webkit-scrollbar { display: none; }
.r-tabs a { flex: none; padding: 15px 0 13px; font-size: 14.5px; font-weight: 600; color: var(--ink-3); border-bottom: 2.5px solid transparent; }
.r-tabs a:hover { color: var(--ink); }
.r-tabs a.active { color: var(--ink); border-color: var(--terra); }

/* At a glance */
.glance { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-bottom: 32px; }
.glance div { background: var(--paper); padding: 16px 18px; }
.glance small { display: block; font-size: 12.5px; color: var(--ink-3); font-weight: 500; }
.glance strong { display: block; font-size: 15.5px; margin-top: 2px; }
.intensity { display: flex; gap: 4px; margin-top: 7px; }
.intensity i { width: 18px; height: 6px; border-radius: 3px; background: var(--line); }
.intensity i.on { background: var(--terra); }

.host-line { display: flex; gap: 16px; align-items: center; background: var(--paper); border-radius: var(--radius); padding: 18px 20px; margin-top: 28px; box-shadow: var(--shadow); }
.host-av { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-family: var(--serif); font-size: 22px; background: var(--forest-2); flex: none; position: relative; }
.host-av .tick { position: absolute; right: -2px; bottom: -2px; width: 22px; height: 22px; border-radius: 50%; background: var(--terra); border: 2px solid var(--paper); display: grid; place-items: center; }
.host-av .tick .icon { width: 12px; height: 12px; stroke-width: 3; color: #fff; }
.host-line strong { display: block; }
.host-line small { color: var(--ink-3); font-size: 13.5px; }
.host-line .btn { margin-left: auto; padding: 10px 16px; font-size: 14px; }

/* Who it's for */
.fit { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.fit-col { border-radius: var(--radius); padding: 22px 24px; }
.fit-col.yes { background: var(--sage-soft); }
.fit-col.no { background: #f6e6dd; }
.fit-col h3 { font-size: 18px; margin-bottom: 12px; }
.fit-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; font-size: 15px; color: var(--ink-2); }
.fit-col li { display: flex; gap: 10px; align-items: flex-start; }
.fit-col li .icon { width: 18px; height: 18px; margin-top: 2px; stroke-width: 2.4; }
.fit-col.yes .icon { color: var(--forest-2); }
.fit-col.no .icon { color: #b6512d; }

/* Included */
.incl { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.incl h3 { font-size: 18px; margin-bottom: 12px; }
.incl ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: 15px; color: var(--ink-2); }
.incl li { display: flex; gap: 10px; }
.incl li .icon { width: 18px; height: 18px; margin-top: 2px; flex: none; stroke-width: 2.3; }
.incl .yes .icon { color: var(--forest-2); }
.incl .no .icon { color: var(--ink-3); }

/* Programme */
.sched { background: var(--paper); border-radius: var(--radius); padding: 20px 24px; margin-bottom: 22px; box-shadow: var(--shadow); }
.sched h3 { font-size: 17px; margin-bottom: 10px; }
.sched-row { display: grid; grid-template-columns: 70px 1fr; gap: 12px; padding: 7px 0; font-size: 14.5px; border-bottom: 1px dashed var(--line); }
.sched-row:last-child { border: 0; }
.sched-row b { color: var(--ink); font-variant-numeric: tabular-nums; }
.sched-row span { color: var(--ink-2); }
.days { display: grid; gap: 0; }
.day { border-left: 2px solid var(--line); padding: 0 0 22px 24px; position: relative; }
.day:last-child { padding-bottom: 0; }
.day::before { content: ""; position: absolute; left: -7px; top: 4px; width: 12px; height: 12px; border-radius: 50%; background: var(--sand); border: 2px solid var(--terra); }
.day small { font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--terra); }
.day h3 { font-size: 19px; margin: 3px 0 5px; }
.day p { font-size: 15px; margin: 0; }

/* Rooms */
.rooms { display: grid; gap: 16px; }
.room { display: grid; grid-template-columns: 220px 1fr auto; gap: 20px; background: var(--paper); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 2px solid transparent; transition: border-color .2s; }
.room.selected { border-color: var(--forest); }
.room img { width: 100%; height: 100%; min-height: 160px; object-fit: cover; }
.room-body { padding: 18px 0; }
.room-body h3 { font-size: 19px; margin-bottom: 6px; }
.room-body p { font-size: 14.5px; margin-bottom: 10px; }
.room-feats { display: flex; flex-wrap: wrap; gap: 6px; }
.room-feats span { font-size: 12.5px; background: var(--sand); color: var(--ink-2); padding: 4px 10px; border-radius: 999px; }
.room-price { padding: 18px 20px 18px 0; text-align: right; display: flex; flex-direction: column; justify-content: center; align-items: flex-end; gap: 4px; min-width: 150px; }
.room-price small { font-size: 12.5px; color: var(--ink-3); }
.room-price strong { font-size: 22px; }
.room-price .btn { margin-top: 8px; padding: 9px 16px; font-size: 14px; }
.room.selected .room-price .btn { background: var(--forest); color: #fff; }
.room-left { font-size: 12.5px; color: var(--terra-dark); font-weight: 600; }

/* Food */
.food { display: grid; grid-template-columns: 1fr 260px; gap: 28px; align-items: start; }
.food img { border-radius: var(--radius); aspect-ratio: 1; object-fit: cover; width: 100%; }
.diets { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.diets span { font-size: 13px; font-weight: 600; padding: 5px 11px; border-radius: 999px; background: var(--sage-soft); color: var(--forest); display: inline-flex; gap: 5px; align-items: center; }
.diets .icon { width: 14px; height: 14px; stroke-width: 2.6; }

/* Teachers */
.teachers { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.teacher { background: var(--paper); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.teacher-head { display: flex; gap: 14px; align-items: center; margin-bottom: 12px; }
.teacher-head .host-av { width: 52px; height: 52px; font-size: 20px; }
.teacher-head strong { display: block; }
.teacher-head small { color: var(--ink-3); font-size: 13.5px; }
.teacher p { font-size: 14.5px; }

/* Location */
.map { position: relative; border-radius: var(--radius); overflow: hidden; height: 300px; background: #dfe8d6; margin-bottom: 20px; }
.map svg { width: 100%; height: 100%; display: block; }
.map-pin { position: absolute; left: 52%; top: 46%; transform: translate(-50%, -100%); background: var(--terra); color: #fff; padding: 8px 12px; border-radius: 12px; font-size: 13px; font-weight: 700; box-shadow: var(--shadow); white-space: nowrap; }
.map-pin::after { content: ""; position: absolute; left: 50%; bottom: -6px; transform: translateX(-50%) rotate(45deg); width: 12px; height: 12px; background: var(--terra); }
.map-note { position: absolute; left: 14px; bottom: 14px; background: var(--paper); border-radius: 10px; padding: 7px 11px; font-size: 12.5px; color: var(--ink-2); }
.travel { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.travel div { background: var(--paper); border-radius: var(--radius-sm); padding: 16px; box-shadow: var(--shadow); }
.travel small { display: block; color: var(--ink-3); font-size: 12.5px; }
.travel strong { display: block; font-size: 15px; margin: 2px 0 4px; }
.travel p { font-size: 13.5px; margin: 0; }

/* Price & cancellation */
.pc-box { background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.pc-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 22px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.pc-head strong { font-size: 17px; }
.policy-pill { display: inline-flex; align-items: center; gap: 6px; background: var(--sage-soft); color: var(--forest); font-weight: 700; font-size: 13px; padding: 6px 12px; border-radius: 999px; }
.policy-pill .icon { width: 15px; height: 15px; stroke-width: 2.6; }
.pc-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.pc-table th { text-align: left; font-size: 12.5px; font-weight: 600; color: var(--ink-3); padding: 12px 22px 8px; }
.pc-table td { padding: 13px 22px; border-top: 1px solid var(--line); }
.pc-table td:last-child, .pc-table th:last-child { text-align: right; }
.pc-dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 10px; vertical-align: 0; }
.pc-foot { padding: 14px 22px; background: var(--sand); font-size: 13.5px; color: var(--ink-2); display: flex; gap: 10px; }
.pc-foot .icon { width: 18px; height: 18px; flex: none; color: var(--forest-2); }
.pay-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 22px; }
.pay-steps div { background: var(--paper); border-radius: var(--radius-sm); padding: 14px 16px; box-shadow: var(--shadow); }
.pay-steps small { display: block; font-size: 12.5px; color: var(--ink-3); }
.pay-steps strong { font-size: 20px; }
.pay-steps em { font-style: normal; display: block; font-size: 13px; color: var(--ink-2); }

/* Reviews */
.rv-summary { display: grid; grid-template-columns: 200px 1fr; gap: 32px; align-items: center; margin-bottom: 26px; }
.rv-big { text-align: center; background: var(--paper); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.rv-big b { font-family: var(--serif); font-size: 54px; font-weight: 500; line-height: 1; display: block; }
.rv-big .stars { justify-content: center; margin: 8px 0 4px; }
.rv-big small { color: var(--ink-3); font-size: 13px; }
.rv-bars { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 28px; }
.rv-bar { display: grid; grid-template-columns: minmax(0, 1fr) 80px 26px; gap: 10px; align-items: center; font-size: 14px; color: var(--ink-2); }
.rv-bar i { height: 6px; border-radius: 3px; background: var(--line); position: relative; overflow: hidden; }
.rv-bar i::after { content: ""; position: absolute; inset: 0; width: var(--v); background: var(--forest-2); border-radius: 3px; }
.rv-bar b { text-align: right; color: var(--ink); font-weight: 600; }
.rv-filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.rv-list { display: grid; gap: 16px; }
.rv { background: var(--paper); border-radius: var(--radius); padding: 22px 24px; box-shadow: var(--shadow); }
.rv[hidden] { display: none; }
.rv-top { display: flex; justify-content: space-between; gap: 12px; align-items: start; flex-wrap: wrap; }
.rv h3 { font-size: 18px; margin: 12px 0 8px; }
.rv p { font-size: 15px; }
.rv .tags { margin-top: 12px; }
.src { font-size: 12px; font-weight: 600; color: var(--ink-3); display: inline-flex; align-items: center; gap: 5px; }
.src .icon { width: 14px; height: 14px; color: var(--forest-2); stroke-width: 2.5; }
.host-reply { margin-top: 14px; padding: 12px 16px; border-left: 3px solid var(--sage); background: var(--sand); border-radius: 0 10px 10px 0; font-size: 14px; color: var(--ink-2); }
.host-reply b { color: var(--ink); }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 0; font-weight: 600; font-size: 16px; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 24px; font-weight: 300; color: var(--ink-3); transition: transform .2s; line-height: 1; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-bottom: 18px; margin: 0; font-size: 15px; }

/* Booking box */
.book { position: sticky; top: 140px; }
.book-card { background: var(--paper); border-radius: 22px; box-shadow: var(--shadow-lg); padding: 24px; }
.book-price { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.book-price strong { font-size: 30px; letter-spacing: -0.02em; }
.book-price span { color: var(--ink-3); font-size: 14px; }
.book-price .rating { font-size: 14px; }
.book-label { display: block; font-size: 12.5px; font-weight: 700; margin: 18px 0 8px; letter-spacing: .02em; }
.dates { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.date-opt { border: 1.5px solid var(--line); background: var(--paper); border-radius: 12px; padding: 9px 11px; text-align: left; }
.date-opt:hover { border-color: var(--ink-3); }
.date-opt[aria-pressed="true"] { border-color: var(--forest); background: var(--sage-soft); }
.date-opt b { display: block; font-size: 14px; }
.date-opt small { font-size: 12px; color: var(--ink-3); }
.date-opt small.low { color: var(--terra-dark); font-weight: 600; }
.date-opt:disabled { opacity: .45; cursor: not-allowed; text-decoration: line-through; }
.book select { width: 100%; border: 1.5px solid var(--line); border-radius: 12px; padding: 11px 12px; background: var(--paper); font-size: 15px; }
.guests { display: flex; align-items: center; justify-content: space-between; border: 1.5px solid var(--line); border-radius: 12px; padding: 6px 6px 6px 14px; }
.guests span { font-size: 15px; }
.stepper { display: flex; align-items: center; gap: 10px; }
.stepper button { width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid var(--line); background: var(--paper); font-size: 18px; line-height: 1; display: grid; place-items: center; }
.stepper button:disabled { opacity: .35; cursor: not-allowed; }
.stepper output { min-width: 16px; text-align: center; font-weight: 700; }
.breakdown { margin: 20px 0 16px; font-size: 14.5px; }
.breakdown div { display: flex; justify-content: space-between; padding: 6px 0; color: var(--ink-2); }
.breakdown .total { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 12px; color: var(--ink); font-weight: 700; font-size: 16px; }
.breakdown .today { color: var(--ink); font-weight: 700; }
.breakdown .today span:last-child { color: var(--terra-dark); font-size: 18px; }
.book .btn { width: 100%; padding: 15px; font-size: 16px; }
.book .btn + .btn { margin-top: 10px; }
.book-assure { margin-top: 16px; display: grid; gap: 8px; font-size: 13.5px; color: var(--ink-2); }
.book-assure div { display: flex; gap: 8px; align-items: flex-start; }
.book-assure .icon { width: 17px; height: 17px; color: var(--forest-2); stroke-width: 2.4; margin-top: 1px; }
.book-help { margin-top: 14px; text-align: center; font-size: 13.5px; color: var(--ink-3); }
.book-help a { text-decoration: underline; color: var(--ink-2); }

/* Mobile booking bar */
.mbar { display: none; }

/* Similar */
.similar { background: var(--sand-2); padding: 80px 0; }
.similar .cards { grid-template-columns: repeat(3, 1fr); }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 60; background: rgba(12, 16, 14, .94); display: none; align-items: center; justify-content: center; padding: 60px 70px; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 100%; max-height: 100%; border-radius: 12px; object-fit: contain; }
.lb-btn { position: absolute; background: rgba(255, 255, 255, .12); color: #fff; border: 0; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; }
.lb-btn:hover { background: rgba(255, 255, 255, .22); }
.lb-close { top: 18px; right: 18px; }
.lb-prev { left: 14px; top: 50%; transform: translateY(-50%) scaleX(-1); }
.lb-next { right: 14px; top: 50%; transform: translateY(-50%); }
.lb-count { position: absolute; top: 28px; left: 50%; transform: translateX(-50%); color: #fff; font-size: 14px; opacity: .8; }

@media (max-width: 1100px) {
  .r-layout { grid-template-columns: minmax(0, 1fr) 340px; gap: 40px; }
  .glance { grid-template-columns: repeat(2, 1fr); }
  .room { grid-template-columns: 180px 1fr; }
  .room-price { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; align-items: center; padding: 0 20px 18px; text-align: left; }
  .room-price .btn { margin: 0; }
  .rv-bars { grid-template-columns: 1fr; }
  .similar .cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .r-layout { grid-template-columns: 1fr; padding-bottom: 40px; }
  .book { position: static; }
  .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 260px 140px; }
  .gallery .g-main { grid-column: span 2; grid-row: auto; }
  .gallery img:nth-child(n+4) { display: none; }
  .r-tabs { top: 76px; }
  .mbar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: var(--paper); box-shadow: 0 -6px 24px rgba(29, 35, 32, .12); padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); align-items: center; justify-content: space-between; gap: 12px; }
  .mbar strong { font-size: 19px; display: block; }
  .mbar small { font-size: 12.5px; color: var(--ink-3); }
  .mbar .btn { padding: 12px 20px; }
  body.has-mbar { padding-bottom: 76px; }
}
@media (max-width: 760px) {
  .r-title-row { margin: 12px 0 16px; }
  .r-actions button span { display: none; }
  .r-actions button { padding: 9px 11px; }
  .gallery { margin: 0 -16px; border-radius: 0; grid-template-rows: 240px 120px; gap: 4px; }
  .g-video { left: 12px; bottom: auto; top: 186px; padding: 8px 13px; font-size: 13px; }
  .g-all { right: 12px; bottom: 12px; padding: 8px 13px; font-size: 13px; }
  .r-tabs { top: 76px; }
  .r-main > section { padding: 32px 0; }
  .glance div { padding: 13px 14px; }
  .host-line { flex-wrap: wrap; }
  .host-line .btn { margin-left: 0; width: 100%; }
  .fit, .incl, .teachers, .travel, .pay-steps, .food { grid-template-columns: 1fr; }
  .food img { aspect-ratio: 16 / 9; }
  .room { grid-template-columns: 1fr; }
  .room img { height: 180px; }
  .room-body { padding: 4px 18px 0; }
  .room-price { padding: 12px 18px 18px; }
  .rv-summary { grid-template-columns: 1fr; gap: 18px; }
  .rv-bar { grid-template-columns: 1fr 90px 28px; }
  .pc-table th, .pc-table td { padding-left: 14px; padding-right: 14px; }
  .pc-table { font-size: 14px; }
  .similar .cards { grid-template-columns: 1fr; }
  .lightbox { padding: 60px 8px; }
}
