/* =============================================================
   RRT Tour Product Page — v1.3
   Design: Rural Roots Tours design system
   ============================================================= */

:root {
  --rrt-bodega: #2F3D2A;
  --rrt-bodega-dark: #1C1A17;
  --rrt-sol: #C79A2E;
  --rrt-sol-light: #D6AD4A;
  --rrt-terracota: #C4562F;
  --rrt-olivo: #3F5138;
  --rrt-arena: #FBF7F0;
  --rrt-arena-warm: #F0E7D8;
  --rrt-carbon: #1C1A17;
  --rrt-ink: #1C1A17;
  --rrt-muted: #6B6459;
  --rrt-card: #FFFFFF;
  --rrt-white: #ffffff;
  --rrt-border: rgba(47, 61, 42, 0.14);
  --rrt-border-light: rgba(47, 61, 42, 0.07);
  --rrt-shadow-sm: 0 1px 4px rgba(47, 61, 42, 0.08), 0 1px 2px rgba(47, 61, 42, 0.04);
  --rrt-shadow-md: 0 4px 12px rgba(47, 61, 42, 0.10), 0 2px 4px rgba(47, 61, 42, 0.06);
  --rrt-shadow-lg: 0 8px 24px rgba(47, 61, 42, 0.12), 0 4px 8px rgba(47, 61, 42, 0.06);
  --rrt-shadow-xl: 0 16px 48px rgba(47, 61, 42, 0.14), 0 6px 12px rgba(47, 61, 42, 0.06);
  --rrt-radius-xs: 4px;
  --rrt-radius-sm: 8px;
  --rrt-radius-md: 12px;
  --rrt-radius-lg: 20px;
  --rrt-radius-full: 9999px;
}

/* ── Page background ──
   The default WooCommerce product layout is never rendered for tours (the plugin loads its own
   template via template_include), so no display:none hiding is needed here. */
.rrt-tour-main {
  background: linear-gradient(180deg, var(--rrt-arena) 0, #fff 560px);
  display: block;
  width: 100%;
}

/* Classic-theme fallback wrapper. */
.rrt-bokun-tour-product.single-product div.product {
  background: linear-gradient(180deg, var(--rrt-arena) 0, #fff 560px);
}

.rrt-bokun-tour-product.single-product div.product .summary {
  background: rgba(255, 253, 248, 0.9);
  border: 1px solid var(--rrt-border);
  border-radius: var(--rrt-radius-lg);
  box-shadow: var(--rrt-shadow-lg);
  padding: clamp(18px, 3vw, 30px);
}

.rrt-bokun-tour-product.single-product div.product .product_title {
  color: var(--rrt-bodega);
  font-family: Fraunces, Georgia, serif;
  letter-spacing: 0;
  line-height: 1.05;
}

.rrt-bokun-tour-product.single-product div.product p.price,
.rrt-bokun-tour-product.single-product div.product span.price {
  color: var(--rrt-bodega);
  font-weight: 800;
}

/* ══════════════════════════════════════════════════════════════
   PRODUCT WRAPPER
   ══════════════════════════════════════════════════════════════ */
.rrt-gyg-product {
  color: var(--rrt-ink);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  margin: 0 auto;
  max-width: 1480px;
  padding: clamp(16px, 3vw, 32px) clamp(16px, 4vw, 48px) 64px;
  width: 100%;
}

/* Scoped border-box reset so horizontal padding never overflows the viewport
   (fixes mobile horizontal scroll when the theme's box-sizing is content-box). */
.rrt-gyg-product,
.rrt-gyg-product *,
.rrt-gyg-product *::before,
.rrt-gyg-product *::after {
  box-sizing: border-box;
}

/* Media can never push a grid track wider than the viewport. */
.rrt-gyg-product img,
.rrt-gyg-product iframe {
  max-width: 100%;
}

/* Allow grid/flex children to shrink below their content size. */
.rrt-gyg-main,
.rrt-gyg-layout > *,
.rrt-gyg-hero > * {
  min-width: 0;
}

.rrt-gyg-product h1,
.rrt-gyg-product h2,
.rrt-gyg-product h3 {
  color: var(--rrt-bodega);
  font-family: Fraunces, Georgia, serif;
  letter-spacing: 0;
  line-height: 1.08;
}

/* ══════════════════════════════════════════════════════════════
   HERO
   ══════════════════════════════════════════════════════════════ */
.rrt-gyg-hero {
  display: grid;
  gap: clamp(20px, 4vw, 44px);
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  margin-bottom: 24px;
}

.rrt-gyg-hero-copy {
  align-content: start;
  display: grid;
  gap: 14px;
  min-height: 420px;
  padding-top: 8px;
}

.rrt-gyg-hero-copy h1 {
  font-size: clamp(2.2rem, 4.5vw, 4rem);
  margin: 0;
}

.rrt-gyg-subtitle {
  color: var(--rrt-muted);
  font-size: 1.1rem;
  line-height: 1.5;
  margin: 0;
  max-width: 640px;
}

/* ── Eyebrow label ── */
.rrt-tour-eyebrow {
  color: var(--rrt-olivo);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin: 0;
  text-transform: uppercase;
}

/* ── Star rating row ── */
.rrt-rating-row {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
}

.rrt-stars {
  color: var(--rrt-sol);
  font-size: 1rem;
  letter-spacing: 1px;
  line-height: 1;
}

.rrt-rating-score {
  color: var(--rrt-carbon);
  font-size: 0.95rem;
  font-weight: 800;
}

.rrt-rating-reviews {
  color: var(--rrt-bodega);
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.rrt-rating-reviews:hover {
  color: var(--rrt-bodega-dark);
}

/* ── Free cancellation trust badge ── */
.rrt-trust-badge {
  align-items: center;
  background: rgba(63, 74, 47, 0.08);
  border: 1px solid rgba(63, 74, 47, 0.22);
  border-radius: var(--rrt-radius-sm);
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 8px 14px;
  width: fit-content;
}

.rrt-trust-icon {
  color: var(--rrt-olivo);
  font-size: 1rem;
  font-weight: 900;
  line-height: 1;
}

.rrt-trust-badge strong {
  color: var(--rrt-olivo);
  font-size: 0.85rem;
  font-weight: 800;
}

.rrt-trust-note {
  color: var(--rrt-muted);
  font-size: 0.78rem;
}

/* ── Trust micro-pills row ── */
.rrt-trust-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.rrt-trust-pill {
  background: var(--rrt-card);
  border: 1px solid var(--rrt-border);
  border-radius: var(--rrt-radius-sm);
  color: var(--rrt-olivo);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 7px 12px;
}

/* ── Info rows (icon + value) ── */
.rrt-info-rows {
  display: grid;
  gap: 6px;
}

.rrt-info-row {
  align-items: center;
  display: flex;
  gap: 10px;
}

.rrt-info-icon {
  flex-shrink: 0;
  font-size: 1.1rem;
  line-height: 1;
  width: 24px;
  text-align: center;
}

.rrt-info-value {
  color: var(--rrt-carbon);
  font-size: 0.9rem;
  font-weight: 700;
}

/* ── Legacy proof badges (kept for compatibility) ── */
.rrt-gyg-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.rrt-gyg-proof span {
  background: var(--rrt-white);
  border: 1px solid var(--rrt-border);
  border-radius: var(--rrt-radius-full);
  color: var(--rrt-bodega);
  font-size: 0.82rem;
  font-weight: 800;
  padding: 7px 12px;
}

/* ── Primary CTA ── */
.rrt-gyg-primary-cta,
.rrt-gyg-light-cta {
  align-items: center;
  background: var(--rrt-sol);
  border-radius: var(--rrt-radius-full);
  color: var(--rrt-bodega-dark);
  display: inline-flex;
  font-size: 0.95rem;
  font-weight: 900;
  gap: 8px;
  justify-content: center;
  min-height: 52px;
  padding: 14px 26px;
  text-decoration: none;
  transition: background 0.18s, box-shadow 0.18s, transform 0.12s;
  width: fit-content;
}

.rrt-gyg-primary-cta:hover,
.rrt-gyg-primary-cta:focus {
  background: var(--rrt-sol-light);
  box-shadow: 0 4px 18px rgba(242, 195, 60, 0.45);
  transform: translateY(-1px);
}

.rrt-gyg-primary-cta--wide {
  width: 100%;
}

.rrt-gyg-light-cta {
  background: #fff8ef;
  color: var(--rrt-bodega);
}

.rrt-gyg-light-cta:hover {
  background: var(--rrt-arena);
  box-shadow: none;
  transform: none;
}

/* ══════════════════════════════════════════════════════════════
   HERO GALLERY
   ══════════════════════════════════════════════════════════════ */
.rrt-gyg-gallery {
  display: grid;
  gap: 6px;
  grid-template-columns: 1.3fr 1fr;
  min-height: 420px;
}

/* Adaptive layouts by image count. */
.rrt-gyg-gallery--1 {
  grid-template-columns: 1fr;
  min-height: 0;
}

.rrt-gyg-gallery--2 {
  grid-template-columns: 1fr 1fr;
  min-height: 0;
}

.rrt-gyg-gallery--3 {
  grid-template-columns: 1.4fr 1fr;
}

/* --4 and --5 keep the default 2-column featured + grid. */

/* Gallery tiles are <button> elements — strip native button styling. */
.rrt-gallery-item {
  appearance: none;
  background: none;
  border: 0;
  border-radius: var(--rrt-radius-md);
  cursor: zoom-in;
  display: block;
  margin: 0;
  min-width: 0;
  overflow: hidden;
  padding: 0;
  position: relative;
  width: 100%;
}

.rrt-gallery-item:focus-visible {
  outline: 3px solid var(--rrt-sol);
  outline-offset: 2px;
}

.rrt-gyg-gallery--1 .rrt-gallery-item.is-featured {
  aspect-ratio: 16 / 10;
}

.rrt-gyg-gallery--2 .rrt-gallery-item.is-featured,
.rrt-gyg-gallery--2 .rrt-gallery-item {
  aspect-ratio: 4 / 3;
}

.rrt-gyg-gallery--3 .rrt-gallery-item.is-featured,
.rrt-gyg-gallery--4 .rrt-gallery-item.is-featured,
.rrt-gyg-gallery--5 .rrt-gallery-item.is-featured {
  grid-row: span 2;
}

.rrt-gyg-gallery img {
  display: block;
  height: 100%;
  object-fit: cover;
  transition: transform 0.28s;
  width: 100%;
}

/* Featured stays full-height; multi-image tiles use a 4:3 ratio. */
.rrt-gyg-gallery--1 .rrt-gallery-item img {
  aspect-ratio: 16 / 10;
}

.rrt-gallery-item:not(.is-featured) img,
.rrt-gyg-gallery--2 .rrt-gallery-item img {
  aspect-ratio: 4 / 3;
}

.rrt-gallery-item:hover img {
  transform: scale(1.03);
}

.rrt-gallery-counter {
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  background: rgba(31, 27, 29, 0.55);
  border-radius: var(--rrt-radius-full);
  bottom: 14px;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 12px;
  pointer-events: none;
  position: absolute;
  right: 14px;
}

/* "+N · View all photos" overlay on the last visible tile. */
.rrt-gallery-more {
  align-items: center;
  background: rgba(31, 27, 29, 0.55);
  color: #fff;
  display: flex;
  flex-direction: column;
  font-size: 1.6rem;
  font-weight: 800;
  gap: 2px;
  inset: 0;
  justify-content: center;
  pointer-events: none;
  position: absolute;
}

.rrt-gallery-more small {
  font-size: 0.78rem;
  font-weight: 700;
}

/* ══════════════════════════════════════════════════════════════
   STICKY NAV
   ══════════════════════════════════════════════════════════════ */
.rrt-gyg-nav {
  background: rgba(255, 253, 248, 0.96);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--rrt-border);
  border-radius: var(--rrt-radius-full);
  box-shadow: var(--rrt-shadow-sm);
  display: flex;
  gap: 2px;
  margin: 20px 0 32px;
  overflow-x: auto;
  padding: 5px;
  position: sticky;
  scrollbar-width: none;
  top: 16px;
  z-index: 10;
}

.rrt-gyg-nav::-webkit-scrollbar {
  display: none;
}

.rrt-gyg-nav a {
  border-radius: var(--rrt-radius-full);
  color: var(--rrt-bodega);
  flex: 0 0 auto;
  font-size: 0.82rem;
  font-weight: 800;
  padding: 8px 14px;
  text-decoration: none;
  transition: background 0.15s;
  white-space: nowrap;
}

.rrt-gyg-nav a:hover,
.rrt-gyg-nav a:focus {
  background: rgba(47, 61, 42, 0.09);
}

/* ══════════════════════════════════════════════════════════════
   LAYOUT: MAIN + SIDEBAR
   ══════════════════════════════════════════════════════════════ */
.rrt-gyg-layout {
  align-items: start;
  display: grid;
  gap: clamp(22px, 4vw, 48px);
  grid-template-columns: minmax(0, 1fr) minmax(320px, 380px);
}

.rrt-gyg-main {
  display: grid;
  gap: 22px;
}

/* ══════════════════════════════════════════════════════════════
   SECTIONS
   ══════════════════════════════════════════════════════════════ */
.rrt-gyg-section {
  background: var(--rrt-white);
  border: 1px solid rgba(47, 61, 42, 0.09);
  border-radius: var(--rrt-radius-lg);
  box-shadow: var(--rrt-shadow-sm);
  padding: clamp(22px, 4vw, 36px);
}

.rrt-gyg-section .rrt-tour-eyebrow {
  margin-bottom: 6px;
}

.rrt-gyg-section h2 {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  margin: 0 0 18px;
}

.rrt-gyg-section--split {
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 1fr);
}

.rrt-gyg-section--warm {
  background: var(--rrt-arena);
  border-color: rgba(47, 61, 42, 0.06);
}

.rrt-gyg-rich-text {
  color: var(--rrt-muted);
  display: grid;
  gap: 12px;
  line-height: 1.72;
}

.rrt-gyg-rich-text p {
  margin: 0;
}

/* ── Info stack ── */
.rrt-info-stack {
  display: grid;
  gap: 14px;
}

/* ══════════════════════════════════════════════════════════════
   HIGHLIGHT LIST
   ══════════════════════════════════════════════════════════════ */
.rrt-tour-highlight-list {
  background: var(--rrt-white);
  border: 1px solid var(--rrt-border);
  border-radius: var(--rrt-radius-md);
  display: grid;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

.rrt-tour-highlight-list li {
  align-items: flex-start;
  border-bottom: 1px solid var(--rrt-border-light);
  display: flex;
  gap: 10px;
  padding: 12px 16px;
}

.rrt-tour-highlight-list li:last-child {
  border-bottom: none;
}

.rrt-tour-highlight-list li .rrt-highlight-arrow,
.rrt-tour-highlight-list li::before {
  color: var(--rrt-bodega);
  content: "›";
  flex-shrink: 0;
  font-size: 1.2rem;
  font-weight: 900;
  line-height: 1.35;
  margin-right: 0;
}

.rrt-tour-highlight-list--large {
  align-self: start;
}

.rrt-tour-highlight-list--large li {
  font-size: 0.95rem;
  padding: 13px 18px;
}

/* ══════════════════════════════════════════════════════════════
   DETAIL GRID
   ══════════════════════════════════════════════════════════════ */
.rrt-tour-detail-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  margin: 6px 0 20px;
}

.rrt-tour-detail {
  background: var(--rrt-arena);
  border: 1px solid var(--rrt-border-light);
  border-radius: var(--rrt-radius-md);
  padding: 14px 16px;
  transition: box-shadow 0.15s;
}

.rrt-tour-detail:hover {
  box-shadow: var(--rrt-shadow-md);
}

.rrt-tour-detail span {
  color: var(--rrt-muted);
  display: block;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
  text-transform: uppercase;
}

.rrt-tour-detail strong {
  color: var(--rrt-bodega);
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
}

/* ══════════════════════════════════════════════════════════════
   INCLUSIONS
   ══════════════════════════════════════════════════════════════ */
.rrt-inclusion-columns {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  margin: 6px 0;
}

.rrt-inclusion-card {
  background: var(--rrt-white);
  border: 1px solid var(--rrt-border);
  border-radius: var(--rrt-radius-md);
  padding: 20px;
}

.rrt-inclusion-card h3 {
  font-size: 0.95rem;
  font-weight: 800;
  margin: 0 0 14px;
}

.rrt-tour-list {
  display: grid;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.rrt-tour-list li {
  align-items: flex-start;
  display: flex;
  font-size: 0.9rem;
  gap: 10px;
  line-height: 1.45;
}

.rrt-tour-list li::before {
  color: var(--rrt-olivo);
  content: "✓";
  flex-shrink: 0;
  font-size: 0.9rem;
  font-weight: 900;
  line-height: 1.45;
}

/* Not-included list override */
.rrt-inclusion-card--not .rrt-tour-list li::before {
  color: var(--rrt-muted);
  content: "✕";
}

/* ══════════════════════════════════════════════════════════════
   GUIDE CARD
   ══════════════════════════════════════════════════════════════ */
.rrt-guide-card {
  background: var(--rrt-arena);
  border: 1px solid var(--rrt-border);
  border-radius: var(--rrt-radius-md);
  display: grid;
  gap: 6px;
  padding: 22px;
}

.rrt-guide-card span {
  color: var(--rrt-olivo);
  display: block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.rrt-guide-card h3 {
  font-size: 1.2rem;
  margin: 2px 0 4px;
}

.rrt-guide-card p {
  color: var(--rrt-muted);
  font-size: 0.9rem;
  line-height: 1.65;
  margin: 0;
}

.rrt-guides-section {
  background: linear-gradient(135deg, rgba(47, 61, 42, 0.06), rgba(242, 195, 60, 0.10));
}

.rrt-guides-heading {
  margin-bottom: 18px;
}

.rrt-guides-heading h2 {
  margin: 0;
}

.rrt-guides-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.rrt-guides-section--single .rrt-guides-grid {
  grid-template-columns: minmax(0, 1fr);
}

.rrt-guide-profile {
  align-items: flex-start;
  background: var(--rrt-card);
  border: 1px solid var(--rrt-border);
  border-radius: var(--rrt-radius-md);
  box-shadow: var(--rrt-shadow-sm);
  display: grid;
  gap: 16px;
  grid-template-columns: 82px minmax(0, 1fr);
  padding: 18px;
}

.rrt-guide-avatar {
  align-items: center;
  background: var(--rrt-bodega);
  border: 3px solid rgba(242, 195, 60, 0.45);
  border-radius: 999px;
  color: #fff8ef;
  display: flex;
  font-family: Fraunces, Georgia, serif;
  font-size: 2rem;
  font-weight: 800;
  height: 82px;
  justify-content: center;
  overflow: hidden;
  text-transform: uppercase;
  width: 82px;
}

.rrt-guide-avatar img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.rrt-guide-profile-copy h3 {
  font-size: 1.2rem;
  margin: 0 0 6px;
}

.rrt-guide-profile-copy p {
  color: var(--rrt-muted);
  font-size: 0.92rem;
  line-height: 1.65;
  margin: 0;
}

/* ══════════════════════════════════════════════════════════════
   ROUTE LIST
   ══════════════════════════════════════════════════════════════ */
.rrt-route-list {
  border-left: 3px solid var(--rrt-sol);
  counter-reset: route-step;
  display: grid;
  gap: 0;
  list-style: none;
  margin: 10px 0 24px;
  padding: 0 0 0 24px;
}

.rrt-route-list li {
  align-items: flex-start;
  color: var(--rrt-ink);
  counter-increment: route-step;
  display: flex;
  font-size: 0.9rem;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--rrt-border-light);
}

.rrt-route-list li:last-child {
  border-bottom: none;
}

.rrt-route-list li::before {
  background: var(--rrt-bodega);
  border-radius: var(--rrt-radius-full);
  color: #fff8ef;
  content: counter(route-step);
  flex-shrink: 0;
  font-size: 0.72rem;
  font-weight: 900;
  height: 22px;
  line-height: 22px;
  margin-top: 1px;
  min-width: 22px;
  text-align: center;
}

/* ══════════════════════════════════════════════════════════════
   FAQ ACCORDION
   ══════════════════════════════════════════════════════════════ */
.rrt-tour-faqs {
  display: grid;
  gap: 8px;
  margin-top: 8px;
}

.rrt-tour-faqs details {
  background: var(--rrt-white);
  border: 1px solid var(--rrt-border);
  border-radius: var(--rrt-radius-md);
  overflow: hidden;
  transition: box-shadow 0.18s;
}

.rrt-tour-faqs details[open] {
  box-shadow: var(--rrt-shadow-md);
}

.rrt-tour-faqs summary {
  align-items: center;
  color: var(--rrt-bodega);
  cursor: pointer;
  display: flex;
  font-size: 0.95rem;
  font-weight: 800;
  justify-content: space-between;
  list-style: none;
  padding: 16px 20px;
  user-select: none;
}

.rrt-tour-faqs summary::-webkit-details-marker {
  display: none;
}

.rrt-tour-faqs summary::after {
  color: var(--rrt-bodega);
  content: "+";
  flex-shrink: 0;
  font-size: 1.3rem;
  font-weight: 400;
  line-height: 1;
  margin-left: 12px;
  transition: transform 0.2s;
}

.rrt-tour-faqs details[open] summary::after {
  content: "−";
}

.rrt-tour-faqs p {
  border-top: 1px solid var(--rrt-border-light);
  color: var(--rrt-muted);
  font-size: 0.9rem;
  line-height: 1.7;
  margin: 0;
  padding: 16px 20px;
}

/* ══════════════════════════════════════════════════════════════
   REVIEWS
   ══════════════════════════════════════════════════════════════ */
.rrt-review-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin-top: 8px;
}

.rrt-review-card {
  background: var(--rrt-card);
  border: 1px solid var(--rrt-border);
  border-radius: var(--rrt-radius-md);
  margin: 0;
  padding: 20px;
  transition: box-shadow 0.18s;
}

.rrt-review-card:hover {
  box-shadow: var(--rrt-shadow-md);
}

.rrt-review-card blockquote {
  color: var(--rrt-ink);
  font-family: Fraunces, Georgia, serif;
  font-size: 1.05rem;
  font-style: italic;
  line-height: 1.45;
  margin: 0 0 14px;
}

.rrt-review-card figcaption {
  color: var(--rrt-muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.rrt-review-card figcaption::before {
  content: "— ";
}

/* ══════════════════════════════════════════════════════════════
   BOOKING SIDEBAR
   ══════════════════════════════════════════════════════════════ */
.rrt-gyg-sidebar {
  position: sticky;
  top: 88px;
}

.rrt-sidebar-card {
  background: var(--rrt-bodega);
  border-radius: var(--rrt-radius-lg);
  box-shadow: var(--rrt-shadow-xl);
  color: #fff8ef;
  display: grid;
  gap: 16px;
  padding: 24px;
}

.rrt-sidebar-price-row {
  align-items: baseline;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.rrt-sidebar-from {
  color: rgba(255, 248, 239, 0.7);
  font-size: 0.82rem;
}

.rrt-sidebar-price {
  color: #fff8ef;
  font-family: Fraunces, Georgia, serif;
  font-size: 1.9rem;
  font-weight: 900;
  line-height: 1;
  margin: 0;
}

.rrt-sidebar-price .woocommerce-Price-currencySymbol,
.rrt-sidebar-price .amount {
  color: inherit;
}

.rrt-sidebar-per {
  color: rgba(255, 248, 239, 0.7);
  font-size: 0.82rem;
}

.rrt-sidebar-small {
  color: rgba(255, 248, 239, 0.78);
  font-size: 0.82rem;
  margin: 0;
}

.rrt-sidebar-help {
  color: rgba(255, 248, 239, 0.72);
  font-size: 0.74rem;
  margin: 0;
  text-align: center;
}

.rrt-sidebar-divider {
  background: rgba(255, 255, 255, 0.14);
  border: none;
  height: 1px;
  margin: 0;
}

.rrt-sidebar-link {
  color: rgba(255, 248, 239, 0.84);
  font-size: 0.82rem;
  font-weight: 700;
  text-align: center;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.rrt-sidebar-link:hover {
  color: #fff8ef;
}

.rrt-confidence-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.rrt-confidence-row span {
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--rrt-radius-full);
  color: #fff8ef;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 6px 10px;
}

/* ── Bokun embed inside sidebar ── */
.rrt-bokun-embed {
  background: var(--rrt-white);
  border-radius: var(--rrt-radius-md);
  color: var(--rrt-ink);
  margin: 4px 0;
  overflow: hidden;
  padding: 6px;
}

.rrt-bokun-embed iframe {
  border: 0;
  display: block;
  min-height: 520px;
  width: 100%;
}

.rrt-bokun-noscript {
  background: #fff8df;
  border: 1px solid rgba(47, 61, 42, 0.18);
  border-radius: var(--rrt-radius-sm);
  color: var(--rrt-ink);
  display: grid;
  gap: 4px;
  line-height: 1.45;
  margin-top: 8px;
  padding: 12px;
}

.rrt-bokun-noscript strong {
  color: var(--rrt-bodega);
}

/* ══════════════════════════════════════════════════════════════
   FINAL CTA BANNER
   ══════════════════════════════════════════════════════════════ */
.rrt-gyg-final-cta {
  align-items: center;
  background: var(--rrt-bodega);
  border-radius: var(--rrt-radius-lg);
  box-shadow: var(--rrt-shadow-lg);
  color: #fff8ef;
  display: grid;
  gap: 20px;
  grid-template-columns: minmax(0, 1fr) auto;
  padding: clamp(24px, 4vw, 40px);
}

.rrt-gyg-final-cta h2,
.rrt-gyg-final-cta .rrt-tour-eyebrow {
  color: #fff8ef;
  margin: 0;
}

.rrt-gyg-final-cta h2 {
  font-size: clamp(1.3rem, 2vw, 1.8rem);
  margin-top: 6px;
}

/* ══════════════════════════════════════════════════════════════
   LEGACY: old booking block (non-sidebar layout)
   ══════════════════════════════════════════════════════════════ */
.rrt-bokun-booking {
  background: var(--rrt-bodega);
  border-radius: var(--rrt-radius-lg);
  color: #fff8ef;
  margin: 24px 0;
  padding: clamp(20px, 3vw, 32px);
}

.rrt-bokun-booking h2 {
  color: #fff8ef;
  margin: 0 0 8px;
}

.rrt-bokun-booking p {
  color: rgba(255, 248, 239, 0.84);
  margin: 0;
}

.rrt-bokun-button,
.woocommerce .rrt-bokun-button.button.alt {
  background: var(--rrt-sol);
  border-radius: var(--rrt-radius-full);
  color: var(--rrt-bodega-dark);
  font-weight: 800;
  margin-top: 16px;
  padding: 13px 22px;
}

/* ══════════════════════════════════════════════════════════════
   MISC LEGACY
   ══════════════════════════════════════════════════════════════ */
.rrt-tour-intro {
  display: grid;
  gap: 12px;
  margin-bottom: 18px;
}

.rrt-tour-tagline {
  color: var(--rrt-muted);
  font-size: 1.05rem;
  line-height: 1.55;
  margin: 0;
}

.rrt-tour-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0;
}

.rrt-tour-badges span {
  background: var(--rrt-arena);
  border: 1px solid var(--rrt-border);
  border-radius: var(--rrt-radius-full);
  color: var(--rrt-bodega);
  font-size: 0.82rem;
  font-weight: 800;
  padding: 7px 12px;
}

.rrt-tour-details {
  clear: both;
  margin: 48px 0;
}

.rrt-tour-details h2,
.rrt-tour-details h3 {
  color: var(--rrt-bodega);
  font-family: Fraunces, Georgia, serif;
}

/* ══════════════════════════════════════════════════════════════
   MOBILE STICKY BOOKING BAR (hidden on desktop)
   ══════════════════════════════════════════════════════════════ */
.rrt-mobile-bookbar {
  display: none;
}

/* ══════════════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════════════ */
@media (max-width: 900px) {
  .rrt-gyg-hero,
  .rrt-gyg-layout {
    grid-template-columns: 1fr;
  }

  .rrt-gyg-hero-copy {
    min-height: auto;
  }

  .rrt-gyg-gallery {
    min-height: 260px;
    order: -1;
  }

  .rrt-gyg-sidebar {
    position: static;
  }

  /* Reveal the sticky bottom booking bar. */
  .rrt-mobile-bookbar {
    align-items: center;
    background: var(--rrt-white);
    border-top: 1px solid var(--rrt-border);
    bottom: 0;
    box-shadow: 0 -3px 16px rgba(31, 27, 29, 0.08);
    display: flex;
    gap: 12px;
    justify-content: space-between;
    left: 0;
    padding: 10px 16px;
    position: fixed;
    right: 0;
    z-index: 1000;
  }

  .rrt-mobile-bookbar-price {
    display: grid;
    gap: 1px;
    line-height: 1.2;
  }

  .rrt-mobile-bookbar-amount {
    color: var(--rrt-bodega);
    font-family: Fraunces, Georgia, serif;
    font-size: 1.25rem;
    font-weight: 900;
  }

  .rrt-mobile-bookbar-note {
    color: var(--rrt-olivo);
    font-size: 0.72rem;
    font-weight: 700;
  }

  .rrt-mobile-bookbar-cta {
    flex-shrink: 0;
    min-height: 46px;
    padding: 12px 22px;
  }

  /* Keep page content clear of the fixed bar. */
  .rrt-bokun-tour-product .rrt-gyg-product {
    padding-bottom: 84px;
  }
}

@media (max-width: 640px) {
  .rrt-gyg-section--split,
  .rrt-gyg-final-cta {
    grid-template-columns: 1fr;
  }

  .rrt-guide-profile {
    grid-template-columns: 64px minmax(0, 1fr);
    padding: 14px;
  }

  .rrt-guide-avatar {
    font-size: 1.5rem;
    height: 64px;
    width: 64px;
  }

  .rrt-gyg-gallery {
    grid-template-columns: 1fr 1fr;
    min-height: 0;
  }

  .rrt-gyg-gallery--1 {
    grid-template-columns: 1fr;
  }

  .rrt-gallery-item.is-featured {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  /* Featured no longer spans rows on mobile — give its image an explicit ratio. */
  .rrt-gallery-item.is-featured img {
    aspect-ratio: 16 / 10;
  }

  .rrt-gyg-nav {
    position: static;
  }

  .rrt-gyg-final-cta {
    text-align: center;
  }

  .rrt-gyg-final-cta .rrt-gyg-light-cta {
    width: 100%;
  }
}

/* ══════════════════════════════════════════════════════════════
   LIGHTBOX (built on demand by gallery.js)
   ══════════════════════════════════════════════════════════════ */
html.rrt-lightbox-lock {
  overflow: hidden;
}

.rrt-lightbox {
  align-items: center;
  background: rgba(20, 16, 18, 0.92);
  display: none;
  inset: 0;
  justify-content: center;
  padding: clamp(12px, 4vw, 48px);
  position: fixed;
  z-index: 99999;
}

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

.rrt-lightbox-stage {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
  max-height: 100%;
  max-width: 100%;
}

.rrt-lightbox-stage img {
  border-radius: var(--rrt-radius-md);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  display: block;
  max-height: 82vh;
  max-width: 100%;
  object-fit: contain;
}

.rrt-lightbox-counter {
  color: rgba(255, 255, 255, 0.85);
  font-family: Inter, system-ui, sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
}

.rrt-lightbox-close,
.rrt-lightbox-nav {
  align-items: center;
  background: rgba(255, 255, 255, 0.12);
  border: 0;
  border-radius: var(--rrt-radius-full);
  color: #fff;
  cursor: pointer;
  display: flex;
  justify-content: center;
  line-height: 1;
  transition: background 0.15s;
}

.rrt-lightbox-close:hover,
.rrt-lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.25);
}

.rrt-lightbox-close {
  font-size: 1.8rem;
  height: 44px;
  position: absolute;
  right: clamp(12px, 3vw, 28px);
  top: clamp(12px, 3vw, 28px);
  width: 44px;
}

.rrt-lightbox-nav {
  flex-shrink: 0;
  font-size: 2rem;
  height: 52px;
  width: 52px;
}

.rrt-lightbox-prev {
  left: clamp(8px, 2vw, 24px);
  position: absolute;
}

.rrt-lightbox-next {
  position: absolute;
  right: clamp(8px, 2vw, 24px);
}

@media (max-width: 640px) {
  .rrt-lightbox-nav {
    bottom: 24px;
    top: auto;
  }

  .rrt-lightbox-prev {
    left: 24px;
  }

  .rrt-lightbox-next {
    right: 24px;
  }
}

/* ══════════════════════════════════════════════════════════════
   REDUCED MOTION
   ══════════════════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  .rrt-gyg-product *,
  .rrt-lightbox * {
    transition: none !important;
  }

  .rrt-gallery-item:hover img {
    transform: none;
  }
}

/* =============================================================
   Rural Roots product-page hero
   ============================================================= */
.rrt-hero-v18 {
  display: block;
  margin-bottom: 24px;
}

.rrt-hero-header {
  display: grid;
  gap: 10px;
  margin-bottom: 20px;
}

.rrt-hero-header h1 {
  color: var(--rrt-bodega);
  font-size: clamp(2rem, 3.1vw, 3.4rem);
  line-height: 1.08;
  margin: 0;
  max-width: 1180px;
}

.rrt-hero-grid {
  align-items: start;
  display: grid;
  gap: clamp(20px, 3vw, 32px);
  grid-template-columns: minmax(0, 1fr) minmax(340px, 420px);
}

.rrt-hero-gallery {
  display: grid;
  gap: 20px;
  min-width: 0;
}

.rrt-hero-v18 .rrt-gyg-gallery {
  min-height: 500px;
}

.rrt-hero-v18 .rrt-gyg-gallery--1 {
  min-height: 0;
}

.rrt-top-rated {
  background: var(--rrt-bodega);
  border-radius: var(--rrt-radius-xs);
  color: #fff8ef;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1;
  padding: 7px 9px;
}

.rrt-rating-dot,
.rrt-provider {
  color: var(--rrt-muted);
  font-size: 0.9rem;
  font-weight: 600;
}

.rrt-hero-short-description {
  color: var(--rrt-ink);
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.45;
  margin: 0;
  max-width: 980px;
}

.rrt-key-details {
  border-top: 1px solid var(--rrt-border);
  display: grid;
  gap: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding-top: 18px;
}

.rrt-key-detail {
  align-items: flex-start;
  display: grid;
  gap: 12px;
  grid-template-columns: 44px minmax(0, 1fr);
  min-height: 64px;
  padding: 12px 18px 12px 0;
}

.rrt-key-icon {
  align-items: center;
  background: var(--rrt-arena);
  border-radius: var(--rrt-radius-full);
  color: var(--rrt-bodega);
  display: flex;
  height: 38px;
  justify-content: center;
  width: 38px;
}

.rrt-lucide {
  display: inline-block;
  flex-shrink: 0;
  height: 18px;
  width: 18px;
}

.rrt-key-icon .rrt-lucide {
  height: 19px;
  width: 19px;
}

.rrt-key-detail strong {
  color: var(--rrt-ink);
  display: block;
  font-size: 0.95rem;
  line-height: 1.25;
}

.rrt-key-detail p {
  color: var(--rrt-muted);
  font-size: 0.84rem;
  line-height: 1.4;
  margin: 3px 0 0;
}

.rrt-featured-reviews {
  border-top: 1px solid var(--rrt-border);
  display: grid;
  gap: 14px;
  padding-top: 20px;
}

.rrt-featured-reviews-header h2 {
  color: var(--rrt-ink);
  font-family: Inter, system-ui, sans-serif;
  font-size: 1.25rem;
  margin: 0;
}

.rrt-featured-review-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.rrt-featured-review-card {
  background: var(--rrt-card);
  border: 1px solid var(--rrt-border);
  border-radius: var(--rrt-radius-md);
  box-shadow: var(--rrt-shadow-sm);
  margin: 0;
  padding: 18px;
}

.rrt-featured-review-card blockquote,
.rrt-featured-review-card figcaption {
  margin: 0;
}

.rrt-featured-review-card blockquote {
  color: var(--rrt-ink);
  font-size: 0.92rem;
  line-height: 1.55;
}

.rrt-featured-review-card figcaption,
.rrt-review-card figcaption {
  display: grid;
  gap: 2px;
}

.rrt-featured-review-card figcaption span,
.rrt-review-card figcaption span {
  color: var(--rrt-muted);
  font-size: 0.78rem;
  font-weight: 500;
}

.rrt-gallery-mobile-more {
  display: none;
}

.rrt-hero-booking {
  position: sticky;
  top: 88px;
}

.rrt-hero-booking .rrt-sidebar-card {
  background: var(--rrt-white);
  border: 1px solid var(--rrt-border);
  border-radius: 18px;
  box-shadow: var(--rrt-shadow-md);
  color: var(--rrt-ink);
  gap: 22px;
  padding: 28px;
}

.rrt-hero-booking .rrt-sidebar-price-row {
  gap: 8px;
}

.rrt-hero-booking .rrt-sidebar-from,
.rrt-hero-booking .rrt-sidebar-per,
.rrt-hero-booking .rrt-sidebar-small {
  color: var(--rrt-muted);
}

.rrt-hero-booking .rrt-sidebar-price {
  color: var(--rrt-bodega);
}

.rrt-hero-booking .rrt-sidebar-divider {
  background: var(--rrt-border);
}

.rrt-hero-booking .rrt-sidebar-help {
  background: transparent;
  border: 0;
  color: var(--rrt-muted);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0;
}

.rrt-hero-booking .rrt-confidence-row {
  display: grid;
  gap: 10px;
}

.rrt-hero-booking .rrt-confidence-row span {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 0;
  color: var(--rrt-ink);
  display: inline-flex;
  font-size: 0.92rem;
  gap: 9px;
  padding: 0;
}

@media (max-width: 900px) {
  .rrt-hero-grid {
    display: contents;
  }

  .rrt-hero-gallery {
    order: 1;
  }

  .rrt-hero-header {
    order: 2;
  }

  .rrt-hero-booking {
    order: 3;
    position: static;
  }

  .rrt-hero-v18 {
    display: flex;
    flex-direction: column;
  }

  .rrt-hero-v18 .rrt-gyg-gallery {
    grid-template-columns: 1fr !important;
    min-height: 0;
  }

  .rrt-hero-v18 .rrt-gallery-item:not(.is-featured) {
    display: none;
  }

  .rrt-hero-v18 .rrt-gallery-item.is-featured {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .rrt-hero-v18 .rrt-gallery-item.is-featured img {
    aspect-ratio: 4 / 3;
  }

  .rrt-hero-v18 .rrt-gallery-more {
    display: none;
  }

  .rrt-gallery-mobile-more {
    align-items: center;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    background: rgba(255, 255, 255, 0.92);
    border-radius: var(--rrt-radius-full);
    bottom: 14px;
    color: var(--rrt-ink);
    display: inline-flex;
    font-size: 0.82rem;
    font-weight: 800;
    padding: 8px 13px;
    position: absolute;
    right: 14px;
  }

  .rrt-rating-dot,
  .rrt-provider {
    display: none;
  }

  .rrt-key-details,
  .rrt-featured-review-grid {
    grid-template-columns: 1fr;
  }

  .rrt-hero-booking .rrt-sidebar-card {
    padding: 22px;
  }
}

/* =============================================================
   v1.7 hero + booking refinements
   ============================================================= */
.rrt-gyg-hero {
  align-items: start;
  display: grid;
  gap: clamp(16px, 2.6vw, 28px);
  grid-template-columns: minmax(0, 1fr) minmax(340px, 420px);
  margin-bottom: 24px;
}

.rrt-gyg-hero-copy {
  grid-column: 1 / -1;
  min-height: 0;
  padding-top: 0;
}

.rrt-gyg-hero-copy h1 {
  font-size: clamp(2rem, 3.3vw, 3.6rem);
  max-width: 1180px;
}

.rrt-top-rated {
  background: var(--rrt-bodega);
  border-radius: var(--rrt-radius-xs);
  color: #fff8ef;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1;
  padding: 7px 9px;
}

.rrt-rating-dot,
.rrt-provider {
  color: var(--rrt-muted);
  font-size: 0.9rem;
  font-weight: 600;
}

.rrt-gyg-gallery {
  grid-column: 1;
  min-height: 560px;
}

.rrt-gyg-hero-sidebar {
  grid-column: 2;
  grid-row: 2;
  width: 100%;
}

.rrt-gyg-layout {
  grid-template-columns: minmax(0, 1fr);
}

.rrt-sidebar-card {
  background: var(--rrt-white);
  border: 1px solid var(--rrt-border);
  box-shadow: var(--rrt-shadow-lg);
  color: var(--rrt-ink);
}

.rrt-sidebar-from,
.rrt-sidebar-per,
.rrt-sidebar-small {
  color: var(--rrt-muted);
}

.rrt-sidebar-price {
  color: var(--rrt-bodega);
}

.rrt-sidebar-divider {
  background: var(--rrt-border);
}

.rrt-sidebar-help {
  background: var(--rrt-arena);
  border: 1px solid var(--rrt-border);
  border-radius: var(--rrt-radius-sm);
  color: var(--rrt-ink);
  font-weight: 700;
  padding: 9px 12px;
}

.rrt-confidence-row {
  display: grid;
  gap: 8px;
}

.rrt-confidence-row span {
  background: var(--rrt-card);
  border: 1px solid var(--rrt-border);
  color: var(--rrt-ink);
  font-size: 0.82rem;
  padding: 9px 11px;
}

.rrt-review-stars {
  color: var(--rrt-sol);
  font-size: 0.95rem;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

@media (max-width: 900px) {
  .rrt-gyg-hero {
    grid-template-columns: 1fr;
  }

  .rrt-gyg-hero-copy,
  .rrt-gyg-gallery,
  .rrt-gyg-hero-sidebar {
    grid-column: 1;
  }

  .rrt-gyg-gallery {
    grid-row: 1;
    min-height: 0;
    order: 0;
  }

  .rrt-gyg-hero-copy {
    grid-row: 2;
  }

  .rrt-gyg-hero-sidebar {
    grid-row: 3;
  }

  .rrt-rating-dot,
  .rrt-provider {
    display: none;
  }
}

/* =============================================================
   v1.8.1 layout correction: sticky booking column across the page
   ============================================================= */
.rrt-sticky-booking-layout {
  align-items: start;
  display: grid;
  gap: clamp(22px, 3vw, 40px);
  grid-template-columns: minmax(0, 1fr) minmax(360px, 400px);
  margin: 0 auto;
  max-width: 1480px;
  padding: 0 clamp(20px, 4vw, 64px);
  width: 100%;
}

.rrt-sticky-booking-layout .rrt-gyg-main {
  min-width: 0;
}

.rrt-sticky-booking-layout .rrt-hero-v18 {
  display: block;
  margin-bottom: 22px;
}

.rrt-sticky-booking-layout .rrt-hero-header {
  margin-bottom: 20px;
  max-width: 1040px;
}

.rrt-sticky-booking-layout .rrt-hero-header h1 {
  max-width: 1040px;
}

.rrt-sticky-booking-layout .rrt-hero-grid {
  display: block;
}

.rrt-sticky-booking-layout .rrt-hero-gallery {
  min-width: 0;
}

.rrt-sticky-booking-layout .rrt-hero-content-after-gallery {
  display: grid;
  gap: 18px;
  margin-top: 18px;
}

.rrt-sticky-booking-layout .rrt-gyg-gallery {
  display: grid;
  gap: 8px;
  grid-template-columns: minmax(0, 1.45fr) minmax(150px, 0.7fr) minmax(150px, 0.7fr);
  grid-template-rows: repeat(2, minmax(180px, 245px));
  min-height: 0;
}

.rrt-sticky-booking-layout .rrt-gyg-gallery--1 {
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: minmax(420px, min(58vw, 640px));
}

.rrt-sticky-booking-layout .rrt-gallery-item.is-featured {
  grid-column: 1;
  grid-row: 1 / 3;
}

.rrt-sticky-booking-layout .rrt-gyg-gallery--1 .rrt-gallery-item.is-featured {
  grid-column: 1;
  grid-row: 1;
}

.rrt-sticky-booking-layout .rrt-gallery-item img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.rrt-sticky-booking-layout .rrt-gyg-gallery--1 .rrt-gallery-item.is-featured,
.rrt-sticky-booking-layout .rrt-gyg-gallery--1 .rrt-gallery-item.is-featured img {
  min-height: 420px;
}

.rrt-sticky-booking-layout .rrt-hero-booking {
  align-self: start;
  grid-column: 2;
  grid-row: 1;
  margin-top: 108px;
  position: sticky;
  top: 88px;
  width: 100%;
  z-index: 3;
}

.rrt-sticky-booking-layout .rrt-hero-booking .rrt-sidebar-card {
  max-height: calc(100vh - 112px);
  overflow: auto;
  overscroll-behavior: contain;
}

.rrt-sticky-booking-layout .rrt-sidebar-help,
.rrt-sticky-booking-layout .rrt-confidence-row span {
  color: var(--rrt-ink);
}

.rrt-sticky-booking-layout .rrt-provider,
.rrt-sticky-booking-layout .rrt-rating-dot {
  display: none;
}

.rrt-review-card figcaption::before {
  content: none;
}

.rrt-featured-review-card figcaption strong,
.rrt-review-card figcaption strong {
  color: var(--rrt-ink);
  font-size: 0.9rem;
  font-weight: 800;
}

@media (max-width: 900px) {
  .rrt-sticky-booking-layout {
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: 0 14px;
  }

  .rrt-sticky-booking-layout .rrt-hero-v18 {
    display: flex;
    flex-direction: column;
  }

  .rrt-sticky-booking-layout .rrt-hero-grid {
    display: contents;
  }

  .rrt-sticky-booking-layout .rrt-hero-gallery {
    order: 1;
  }

  .rrt-sticky-booking-layout .rrt-hero-header {
    margin-bottom: 0;
    order: 2;
  }

  .rrt-sticky-booking-layout .rrt-hero-header .rrt-tour-eyebrow {
    display: none;
  }

  .rrt-sticky-booking-layout .rrt-hero-content-after-gallery {
    gap: 16px;
    margin-top: 0;
    order: 3;
  }

  .rrt-sticky-booking-layout .rrt-gyg-gallery {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .rrt-sticky-booking-layout .rrt-gallery-item:not(.is-featured) {
    display: none;
  }

  .rrt-sticky-booking-layout .rrt-gallery-item.is-featured {
    grid-column: 1;
    grid-row: auto;
  }

  .rrt-sticky-booking-layout .rrt-gallery-item.is-featured img {
    aspect-ratio: 4 / 3;
  }

  .rrt-sticky-booking-layout .rrt-hero-booking {
    margin-top: 0;
    position: static;
  }

  .rrt-sticky-booking-layout .rrt-hero-booking .rrt-sidebar-card {
    max-height: none;
    overflow: visible;
  }

  .rrt-mobile-bookbar {
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-top: 1px solid rgba(47, 61, 42, 0.14);
    box-shadow: 0 -10px 28px rgba(31, 27, 29, 0.14);
    padding: 12px 18px max(12px, env(safe-area-inset-bottom));
  }

  .rrt-mobile-bookbar-cta {
    border-radius: 999px;
    box-shadow: 0 9px 18px rgba(246, 197, 55, 0.34);
    min-height: 58px;
    padding-inline: 24px;
  }
}

.rrt-collapsible-text {
  position: relative;
}

.rrt-collapsible-text.is-collapsed {
  max-height: 260px;
  overflow: hidden;
}

.rrt-collapsible-text.is-collapsed::after {
  background: linear-gradient(rgba(255, 255, 255, 0), var(--rrt-white));
  bottom: 0;
  content: "";
  height: 84px;
  left: 0;
  pointer-events: none;
  position: absolute;
  right: 0;
}

.rrt-read-more {
  align-items: center;
  background: transparent;
  border: 0;
  color: var(--rrt-bodega);
  cursor: pointer;
  display: none;
  font-weight: 900;
  margin-top: 10px;
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.rrt-read-more.is-visible {
  display: inline-flex;
}

.rrt-review-empty {
  color: var(--rrt-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

/* =============================================================
   v1.8.3 mobile refinements
   ============================================================= */
@media (max-width: 900px) {
  .rrt-sticky-booking-layout .rrt-gyg-gallery {
    min-height: clamp(360px, 94vw, 520px);
  }

  .rrt-sticky-booking-layout .rrt-gallery-item.is-featured,
  .rrt-sticky-booking-layout .rrt-gallery-item.is-featured img {
    min-height: clamp(360px, 94vw, 520px);
  }

  .rrt-sticky-booking-layout .rrt-gallery-item.is-featured img {
    aspect-ratio: auto;
    object-fit: cover;
  }

  .rrt-mobile-bookbar {
    background: rgba(255, 255, 255, 0.98);
    border-top: 1px solid rgba(47, 61, 42, 0.12);
    box-shadow: 0 -4px 14px rgba(31, 27, 29, 0.08);
    gap: 10px;
    padding: 8px 14px max(8px, env(safe-area-inset-bottom));
  }

  .rrt-mobile-bookbar-amount {
    font-size: 1.05rem;
  }

  .rrt-mobile-bookbar-note {
    font-size: 0.68rem;
  }

  .rrt-mobile-bookbar-cta {
    border-radius: 999px;
    box-shadow: none;
    font-size: 0.9rem;
    min-height: 42px;
    padding: 9px 16px;
  }
}

.rrt-sticky-booking-layout .rrt-confidence-row span {
  align-items: center;
  display: inline-flex;
  gap: 9px;
}

.rrt-sticky-booking-layout .rrt-sidebar-small span,
.rrt-sticky-booking-layout .rrt-sidebar-help span {
  color: var(--rrt-muted);
}
