/*
  SINGLE STAY TEMPLATE
  Tokyo Trip Guide - Custom WordPress Theme
  ---------------------------------------------------------
*/

/* ======================================================
   STAY HEADER
   ====================================================== */
.stay-header {
  padding-block: clamp(2rem, 4vw, 3rem);
}

.stay-tags {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.stay-stars {
  display: flex;
  align-items: center;
  gap: 3px;
  margin-bottom: 0.75rem;
}

.stay-headline {
  font-family: var(--serif);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin: 0.75rem 0;
  font-optical-sizing: auto;
}

.stay-meta-row {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3vw, 1.75rem);
  flex-wrap: wrap;
  padding-block: 1rem;
  border-top: 1px solid var(--p2);
  border-bottom: 1px solid var(--p2);
  margin-bottom: 1.5rem;
}

.stay-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  font-family: var(--serif);
}

.stay-rating-score {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ink);
}

.stay-rating-max {
  font-size: 0.9rem;
  color: var(--ink3);
}

.stay-rating-count {
  font-size: 0.8rem;
  color: var(--p3);
  margin-left: 4px;
}

.stay-price-badge {
  display: flex;
  align-items: baseline;
  gap: 4px;
  padding: 0.5rem 1rem;
  background: var(--rt);
  border: 1px solid var(--r);
  border-radius: var(--r1);
  font-family: var(--serif);
}

.stay-price-from {
  font-size: 0.75rem;
  color: var(--ink3);
}

.stay-price-value {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--r);
}

.stay-price-night {
  font-size: 0.75rem;
  color: var(--ink3);
}

.stay-address-meta,
.stay-phone-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--ink3);
  text-decoration: none;
  transition: color var(--t);
}

.stay-phone-meta:hover {
  color: var(--r);
}

.stay-booking-row {
  margin-top: 1.5rem;
}

.stay-booking-btns {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 0.75rem;
}

.stay-booking-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

/* ======================================================
   GALLERY
   ====================================================== */
.stay-gallery-section {
  background: var(--p);
  padding-block: 0;
  padding-bottom: clamp(48px, 7vw, 88px);
}

.stay-gallery {
  position: relative;
  width: 100%;
  background: var(--ink);
  border-radius: var(--r2);
  overflow: hidden;
}

/* Main/Hero Swiper */
.stay-swiper-main {
  width: 100%;
  aspect-ratio: 16/9;
  max-height: 600px;
}

.stay-swiper-main .swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ink);
}

.stay-swiper-main .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: var(--ink);
}

/* Thumbnail Swiper */
.stay-swiper-thumbs {
  width: 100%;
  height: auto;
  padding: 0;
  margin: 0;
  background: var(--ink);
}

.stay-swiper-thumbs .swiper-wrapper {
  display: flex;
  gap: 0;
}

.stay-swiper-thumbs .swiper-slide {
  width: 20%;
  height: auto;
  aspect-ratio: 16/9;
  cursor: pointer;
  opacity: 0.6;
  transition: opacity var(--t);
  border: 0;
  margin: 0;
  background: var(--ink2);
}

.stay-swiper-thumbs .swiper-slide:hover {
  opacity: 0.8;
}

.stay-swiper-thumbs .swiper-slide-thumb-active {
  opacity: 1;
}

.stay-swiper-thumbs .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Mobile: full-width with cover */
@media (max-width: 1024px) {
  .stay-gallery-section {
    padding-block: 0;
  }

  .stay-gallery {
    border-radius: 0;
  }

  .stay-swiper-main {
    aspect-ratio: 4/3;
  }

  .stay-swiper-thumbs .swiper-slide {
    aspect-ratio: 4/3;
  }
}

/* ======================================================
   BOOKING SECTION
   ====================================================== */
.stay-booking-section {
  background: var(--w);
  border-top: 1px solid var(--p2);
  border-bottom: 1px solid var(--p2);
}

.stay-booking-container {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 1.75rem 2rem;
  background: linear-gradient(135deg, rgba(240, 192, 64, 0.08) 0%, rgba(240, 187, 104, 0.05) 100%);
  border-radius: var(--r2);
  border: 1px solid rgba(240, 192, 64, 0.2);
  margin-bottom: 1.5rem;
}

.stay-price-display {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex: 1;
}

.stay-price-display__prefix {
  font-family: var(--cond);
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--ink3);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.stay-price-display__value {
  font-family: var(--serif);
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--r);
  line-height: 1;
  letter-spacing: -0.02em;
}

.stay-price-display__suffix {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.stay-price-display__label {
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.2;
}

.stay-price-display__sublabel {
  font-size: 0.8rem;
  color: var(--ink3);
  line-height: 1.3;
}

.stay-value-money {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  background: var(--w);
  border-radius: var(--r1);
  border: 1px solid var(--p2);
  font-size: 0.9rem;
  white-space: nowrap;
}

.stay-value-money svg {
  color: var(--r);
  flex-shrink: 0;
}

.stay-value-money__label {
  font-weight: 600;
  color: var(--ink);
}

.stay-value-money__value {
  font-weight: 700;
  color: var(--r);
}

.stay-booking-lead {
  font-size: 1rem;
  color: var(--ink);
  margin-bottom: 1rem;
  line-height: 1.5;
}

.stay-booking-btns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
}

.stay-booking-btn {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: var(--w);
  border: 2px solid var(--p2);
  border-radius: var(--r2);
  text-decoration: none;
  transition: all 0.25s var(--ease);
  position: relative;
  overflow: hidden;
}

.stay-booking-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s ease;
}

.stay-booking-btn:hover::before {
  left: 100%;
}

.stay-booking-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.stay-booking-btn--branded {
  background: var(--brand-color);
  border-color: var(--brand-color);
  color: var(--w);
}

.stay-booking-btn--branded:hover {
  background: var(--brand-color-hover);
  border-color: var(--brand-color-hover);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.stay-booking-btn--branded .stay-booking-btn__icon {
  background: rgba(255, 255, 255, 0.2);
}

.stay-booking-btn--branded .stay-booking-btn__label {
  color: rgba(255, 255, 255, 0.9);
}

.stay-booking-btn--branded .stay-booking-btn__platform {
  color: var(--w);
}

.stay-booking-btn--branded .stay-booking-btn__arrow {
  color: var(--w);
}

.stay-booking-btn--primary {
  background: linear-gradient(135deg, var(--r) 0%, var(--rd) 100%);
  border-color: var(--rd);
  color: var(--w);
}

.stay-booking-btn--primary:hover {
  box-shadow: 0 8px 24px rgba(255, 69, 0, 0.35);
  border-color: var(--r);
}

.stay-booking-btn--primary .stay-booking-btn__icon,
.stay-booking-btn--primary .stay-booking-btn__arrow {
  color: var(--w);
}

.stay-booking-btn--primary .stay-booking-btn__label {
  color: rgba(255, 255, 255, 0.95);
}

.stay-booking-btn--primary .stay-booking-btn__platform {
  color: var(--w);
}

.stay-booking-btn--secondary {
  background: var(--w);
  border-color: var(--p3);
}

.stay-booking-btn--secondary:hover {
  border-color: var(--r);
  background: var(--p);
}

.stay-booking-btn--secondary .stay-booking-btn__icon {
  color: var(--r);
}

.stay-booking-btn--secondary .stay-booking-btn__arrow {
  color: var(--ink3);
}

.stay-booking-btn--secondary:hover .stay-booking-btn__arrow {
  color: var(--r);
}

.stay-booking-btn__icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: var(--r1);
  transition: all 0.25s var(--ease);
}

.stay-booking-btn__icon img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  display: block;
  filter: brightness(0) invert(1);
}

.stay-booking-btn--no-filter .stay-booking-btn__icon img {
  filter: none;
}

.stay-booking-btn--secondary .stay-booking-btn__icon {
  background: var(--p);
}

.stay-booking-btn--secondary .stay-booking-btn__icon img {
  filter: none;
}

.stay-booking-btn:hover .stay-booking-btn__icon {
  transform: scale(1.1);
}

.stay-booking-btn__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  text-align: left;
}

.stay-booking-btn__label {
  font-family: var(--cond);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink3);
  line-height: 1;
}

.stay-booking-btn__platform {
  font-family: var(--sans);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.2;
}

.stay-booking-btn__arrow {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s var(--ease);
}

.stay-booking-btn:hover .stay-booking-btn__arrow {
  transform: translateX(4px);
}

@media (max-width: 768px) {
  .stay-booking-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
    padding: 1.5rem;
  }

  .stay-price-display {
    width: 100%;
  }

  .stay-value-money {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .stay-booking-btns {
    grid-template-columns: 1fr;
  }

  .stay-booking-btn {
    padding: 1rem 1.25rem;
  }

  .stay-booking-btn__icon {
    width: 40px;
    height: 40px;
  }

  .stay-booking-btn__platform {
    font-size: 1.05rem;
  }
}

@media (max-width: 480px) {
  .stay-price-display {
    flex-wrap: wrap;
    gap: 0.75rem;
  }

  .stay-price-display__value {
    width: 100%;
  }
}

/* ======================================================
   MAIN LAYOUT
   ====================================================== */
.stay-body {
  background: var(--w);
}

.stay-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: start;
}

@media (max-width: 1024px) {
  .stay-layout {
    grid-template-columns: 1fr;
  }
}

/* ======================================================
   MAIN CONTENT
   ====================================================== */
.stay-main {
  min-width: 0;
}

.stay-section {
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.stay-section:last-child {
  margin-bottom: 0;
}

.stay-prose {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--ink);
}

.stay-prose p {
  margin-bottom: 1.25rem;
  max-width: 68ch;
}

.stay-prose h2,
.stay-prose h3 {
  font-family: var(--serif);
  font-weight: 700;
  color: var(--ink);
  margin-top: 2rem;
  margin-bottom: 1rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.stay-prose h2 {
  font-size: 1.75rem;
}

.stay-prose h3 {
  font-size: 1.4rem;
}

.stay-prose h4 {
    font-family: var(--serif);
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    font-weight: 700;
    color: var(--ink);
    letter-spacing: -0.02em;
    margin: 1.75rem 0 0.5rem;
    line-height: 1.25;
}

.stay-prose h5 {
    font-family: var(--sans);
    font-size: clamp(0.9rem, 1.1vw, 1.0rem);
    font-weight: 700;
    color: var(--ink);
    letter-spacing: 0;
    margin: 1.5rem 0 0.4rem;
    line-height: 1.3;
}

.stay-prose h6 {
    font-family: var(--cond);
    font-size: clamp(0.75rem, 0.85vw, 0.82rem);
    font-weight: 800;
    color: var(--r);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin: 1.25rem 0 0.35rem;
    line-height: 1.3;
}

.stay-prose ul,
.stay-prose ol {
  margin-bottom: 1.25rem;
  padding-left: 2.5rem;
  list-style: disc;
}

.stay-prose ol {
  list-style: decimal;
}

.stay-prose li {
  margin-bottom: 0.5rem;
  line-height: 1.65;
}

.stay-prose a {
  color: var(--r);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
  transition: color var(--t);
}

.stay-prose a:hover {
  color: var(--rd);
}

/* WordPress Image Captions */
.stay-prose .wp-caption,
.stay-prose figure {
  max-width: 100% !important;
  width: auto !important;
  height: auto !important;
  margin: 1.5rem 0;
}

.stay-prose .wp-caption img,
.stay-prose figure img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--r1);
}

.stay-prose .wp-caption-text,
.stay-prose figcaption {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: normal;
  text-transform: none;
  line-height: 1.5;
  color: var(--ink3);
  margin-top: 0.5rem;
  padding: 0;
  text-align: center;
}

/* ======================================================
   TABLES INSIDE PROSE (post content)
   ====================================================== */
.stay-prose table {
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  background: var(--p);
  border-radius: var(--r2);
  overflow: hidden;
  /* clips border-radius on child cells */
}

.stay-prose thead tr {
  border-bottom: 2px solid var(--p2);
}

.stay-prose th {
  padding: 0.75rem 1.1rem;
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--ink);
  text-align: left;
  letter-spacing: 0.01em;
  background: var(--p);
}

.stay-prose td {
  padding: 0.7rem 1.1rem;
  color: var(--ink3);
  vertical-align: top;
  border-bottom: 1px solid var(--p2);
}

/* First column — label / key */
.stay-prose td:first-child,
.stay-prose th:first-child {
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
  width: 1%;
  /* shrink to content */
  padding-right: 2rem;
}

/* Last row — no bottom border */
.stay-prose tr:last-child td {
  border-bottom: none;
}

/* Links inside table cells */
.stay-prose td a {
  color: var(--r);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
  word-break: break-all;
}

.stay-prose td a:hover {
  color: var(--rd);
}

/* Responsive — allow horizontal scroll on very small screens */
@media (max-width: 480px) {
  .stay-prose table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

/* ======================================================
   READ MORE / COLLAPSIBLE
   ====================================================== */
.stay-expandable[hidden] {
  display: none;
}

.stay-read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 1.25rem;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--cond);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--r);
  transition: gap var(--t), color var(--t);
}

.pulse-soft {
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}

.stay-read-more:hover {
  color: var(--rd);
  gap: 9px;
}

.stay-read-more__icon {
  flex-shrink: 0;
  transition: transform 0.25s var(--ease);
}

.stay-read-more[aria-expanded="true"] .stay-read-more__icon {
  transform: rotate(180deg);
}

/* ======================================================
   AMENITIES GRID
   ====================================================== */
.amenities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-top: 1.25rem;
}

@media (max-width: 768px) {
  .amenities-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .amenities-grid {
    grid-template-columns: 1fr;
  }
}

.amenity-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0.75rem 1rem;
  background: var(--p);
  border-radius: var(--r1);
  border: 1px solid var(--p2);
  font-size: 0.9rem;
  color: var(--ink);
  transition: all var(--t);
}

.amenity-item:hover {
  background: var(--w);
  border-color: var(--p3);
}

.amenity-item img {
  flex-shrink: 0;
  opacity: 0.8;
}

.amenity-item--hidden {
  display: none;
}

.amenities-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 1.25rem;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--cond);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--r);
  transition: gap var(--t), color var(--t);
}

.amenities-toggle:hover {
  color: var(--rd);
  gap: 9px;
}

.amenities-toggle__icon {
  flex-shrink: 0;
  transition: transform 0.25s var(--ease);
}

.amenities-toggle.is-expanded .amenities-toggle__icon {
  transform: rotate(180deg);
}

/* ======================================================
   PRICING GRID
   ====================================================== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 1.25rem;
}

@media (max-width: 640px) {
  .pricing-grid {
    grid-template-columns: 1fr;
  }
}

.pricing-card {
  padding: 1.25rem;
  background: var(--p);
  border: 1px solid var(--p2);
  border-radius: var(--r2);
}

.pricing-card--seasons {
  background: rgba(159, 191, 137, 0.1);
  border-color: #9fbf89;
}

.pricing-card--pricing {
  background: rgba(255, 69, 0, 0.08);
  border-color: rgba(255, 69, 0, 0.3);
}

.pricing-card-title {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--p2);
}

.pricing-card-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--p2);
}

.pricing-card-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.pricing-card-row:first-child {
  padding-top: 0;
}

.pricing-card-label {
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink3);
}

.pricing-card-value {
  font-family: var(--serif);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink);
}

.pricing-card-value--price {
  font-size: 1.2rem;
  color: var(--r);
}

/* ======================================================
   TIPS LIST
   ====================================================== */
.tips-list {
  list-style: none;
  padding: 0;
  margin-top: 1.25rem;
}

.tips-list li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 1rem;
  line-height: 1.65;
  color: var(--ink);
}

.tips-list li:before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  width: 1.5rem;
  height: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--rt);
  color: var(--r);
  border-radius: 50%;
  font-weight: 700;
  font-size: 0.9rem;
}

/* ======================================================
   NEARBY GRID (2 columns)
   ====================================================== */
.nearby-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 1.25rem;
}

@media (max-width: 768px) {
  .nearby-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

.nearby-column {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.nearby-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 1rem 0;
  border-bottom: 1px solid var(--p2);
}

.nearby-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.nearby-item:first-child {
  padding-top: 0;
}

.nearby-item svg {
  flex-shrink: 0;
  color: var(--r);
  margin-top: 2px;
}

.nearby-item-content {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.nearby-item-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.4;
}

.nearby-item-distance {
  font-size: 0.85rem;
  color: var(--ink3);
  white-space: nowrap;
  flex-shrink: 0;
}

/* ======================================================
   POLICIES LIST
   ====================================================== */
.policies-list {
  margin-top: 1.25rem;
}

.policy-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 1rem;
  margin-bottom: 0.75rem;
  background: var(--p);
  border-left: 3px solid var(--r);
  border-radius: var(--r1);
}

.policy-item svg {
  flex-shrink: 0;
  color: var(--r);
  margin-top: 2px;
}

.policy-item p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--ink);
}

/* ======================================================
   VERDICT CARD
   ====================================================== */
.verdict-card {
  background: var(--p);
  border-radius: var(--r2);
  padding: clamp(1.5rem, 3vw, 2rem);
  border: 1px solid var(--p2);
  margin-top: 1.25rem;
}

.verdict-rating {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--p2);
}

.verdict-rating-label {
  font-family: var(--cond);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--p3);
}

.verdict-rating-value {
  font-family: var(--serif);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--r);
}

.verdict-rating-max {
  font-size: 1.1rem;
  color: var(--ink3);
}

.verdict-notes {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--ink);
}

.verdict-notes p {
  margin-bottom: 1rem;
}

.verdict-notes p:last-child {
  margin-bottom: 0;
}

/* ======================================================
   DISCLAIMER
   ====================================================== */
.stay-disclaimer {
  margin-top: 3rem;
  padding: 1.25rem 1.5rem;
  background: linear-gradient(135deg, rgba(255, 69, 0, 0.04) 0%, rgba(255, 69, 0, 0.02) 100%);
  border-left: 4px solid var(--r);
  border-radius: var(--r1);
  position: relative;
}

.stay-disclaimer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border: 1px solid rgba(255, 69, 0, 0.15);
  border-radius: var(--r1);
  pointer-events: none;
}

.stay-disclaimer p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--ink);
  font-weight: 500;
  position: relative;
  padding-left: 1.75rem;
}

.stay-disclaimer p::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.25rem;
  width: 18px;
  height: 18px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23ff4500' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cline x1='12' y1='8' x2='12' y2='12'/%3E%3Cline x1='12' y1='16' x2='12.01' y2='16'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  flex-shrink: 0;
}

@media (max-width: 640px) {
  .stay-disclaimer {
    padding: 1rem 1.25rem;
  }

  .stay-disclaimer p {
    font-size: 0.85rem;
    padding-left: 1.5rem;
  }

  .stay-disclaimer p::before {
    width: 16px;
    height: 16px;
  }
}

/* ======================================================
   SIDEBAR
   ====================================================== */
.stay-sidebar {
  position: sticky;
  top: 80px;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

@media (max-width: 1024px) {
  .stay-sidebar {
    position: static;
  }
}

.sidebar-card {
  background: var(--p);
  border-radius: var(--r2);
  padding: 1.5rem;
  border: 1px solid var(--p2);
}

.sidebar-card-title {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--p2);
}

.sidebar-info-item {
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--p2);
}

.sidebar-info-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.sidebar-info-item:first-child {
  padding-top: 0;
}

.sidebar-info-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--cond);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--p3);
  margin-bottom: 0.4rem;
}

.sidebar-info-label svg {
  flex-shrink: 0;
}

.sidebar-info-value {
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--ink);
  font-weight: 600;
}

.sidebar-info-item--highlight {
  display: flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, #f0c040 0%, #f0bb68 100%);
  color: var(--ink);
  padding: 1rem 1.25rem;
  border-radius: var(--r1);
  border: none;
  margin-bottom: 1rem;
}

.sidebar-info-item--highlight svg {
  flex-shrink: 0;
  color: var(--ink);
}

/* Sidebar Booking Buttons */
.sidebar-booking-btns {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sidebar-booking-btn {
  width: 100%;
  justify-content: center;
  font-size: 0.9rem;
  padding: 0.7rem 1rem;
}

/* Sidebar Map */
.sidebar-map {
  height: 200px;
  border-radius: var(--r1);
  overflow: hidden;
  margin-bottom: 0.75rem;
  z-index: 0;
  position: relative;
}

.sidebar-map iframe {
  display: block;
  width: 100%;
  height: 100%;
}

.sidebar-map-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  color: var(--r);
  text-decoration: none;
  font-weight: 600;
  transition: opacity var(--t);
}

.sidebar-map-link:hover {
  opacity: 0.75;
}

p.sidebar-address {
  margin-bottom: 1rem;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--ink);
}

/* Sidebar Tags */
.sidebar-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

/* Sidebar Policies */
.sidebar-policies-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.sidebar-policy-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--p2);
}

.sidebar-policy-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.sidebar-policy-item:first-child {
  padding-top: 0;
}

.sidebar-policy-item svg {
  flex-shrink: 0;
  color: var(--r);
  margin-top: 2px;
}

.sidebar-policy-item p {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--ink);
}

/* ======================================================
   RELATED ACCOMMODATIONS
   ====================================================== */
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 1.25rem;
}

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

.related-card {
  display: block;
  border-radius: var(--r2);
  overflow: hidden;
  background: var(--p);
  border: 1px solid var(--p2);
  transition: all var(--t);
}

.related-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--sh-sm);
  border-color: var(--p3);
}

.related-card-img {
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--p2);
}

.related-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--ease);
}

.related-card:hover .related-card-img img {
  transform: scale(1.04);
}

.related-card-body {
  padding: 1rem;
}

.related-card-cat {
  font-family: var(--cond);
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--r);
  margin-bottom: 0.4rem;
}

.related-card-title {
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.2;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ======================================================
   FAQ LIST (using main.js accordion)
   ====================================================== */
.faq-list {
  margin-top: 1.25rem;
  border-top: 1px solid var(--p2);
}

.faq-item {
  border-bottom: 1px solid var(--p2);
}

.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 0;
  text-align: left;
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
  transition: color var(--t);
  background: none;
  border: none;
}

.faq-trigger:hover {
  color: var(--r);
}

.faq-icon {
  flex-shrink: 0;
  transition: transform var(--t);
}

.faq-trigger[aria-expanded="true"] .faq-icon {
  transform: rotate(180deg);
}

.faq-panel {
  overflow: hidden;
  transition: all 0.3s var(--ease);
}

.faq-panel[hidden] {
  display: none;
}

.faq-answer {
  padding-bottom: 1.25rem;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--ink3);
  animation: fadeIn 0.3s var(--ease);
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.faq-answer p {
  margin-bottom: 0.75rem;
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

.faq-answer ul,
.faq-answer ol {
  padding-left: 1.5rem;
  margin-bottom: 0.75rem;
}

.faq-answer ul { list-style: disc; }
.faq-answer ol { list-style: decimal; }

.faq-answer li {
  margin-bottom: 0.35rem;
  line-height: 1.65;
}

.faq-answer ul li::marker { color: var(--r); }
.faq-answer ol li::marker { color: var(--r); font-weight: 700; }

.faq-answer strong { font-weight: 700; color: var(--ink); }
.faq-answer em { font-style: italic; }

.faq-answer a {
  color: var(--r);
  text-decoration: underline;
  text-decoration-color: rgba(193, 40, 26, 0.35);
  text-underline-offset: 3px;
  transition: text-decoration-color var(--t);
}
.faq-answer a:hover { text-decoration-color: var(--r); }

.stay-prose hr {
  border: none;
  border-top: 1px solid var(--p2);
  margin: 2rem 0;
}

/* ═══════════════════════════════════════════════════════════════════════
   GALLERY LIGHTBOX TRIGGER BUTTON
   ═══════════════════════════════════════════════════════════════════════ */
.stay-swiper-main {
  position: relative;
}

.stay-gallery-lightbox-btn {
  position: absolute;
  bottom: 0.75rem;
  right: 0.75rem;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  padding: 0;
  background: rgba(10, 9, 8, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  color: #fff;
  cursor: zoom-in;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  transition: background 0.2s, border-color 0.2s, transform 0.15s;
}

.stay-gallery-lightbox-btn:hover {
  background: var(--r);
  border-color: var(--r);
  transform: scale(1.08);
}

/* ═══════════════════════════════════════════════════════════════════════
   GALLERY LIGHTBOX OVERLAY
   ═══════════════════════════════════════════════════════════════════════ */
.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-lightbox[hidden] {
  display: none;
}

.gallery-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 9, 8, 0.92);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  cursor: zoom-out;
}

.gallery-lightbox__stage {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  max-width: min(90vw, 1200px);
  max-height: 90vh;
  padding: 0 4rem;
}

.gallery-lightbox__img {
  display: block;
  max-width: 100%;
  max-height: calc(90vh - 3rem);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.6);
  animation: lb-fade-in 0.2s ease forwards;
}

@keyframes lb-fade-in {
  from {
    opacity: 0;
    transform: scale(0.97);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

.gallery-lightbox__counter {
  font-family: var(--cond);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.gallery-lightbox__close,
.gallery-lightbox__prev,
.gallery-lightbox__next {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, transform 0.15s;
}

.gallery-lightbox__close:hover,
.gallery-lightbox__prev:hover,
.gallery-lightbox__next:hover {
  background: var(--r);
  border-color: var(--r);
  transform: scale(1.08);
}

.gallery-lightbox__close {
  top: 1.25rem;
  right: 1.25rem;
}

.gallery-lightbox__prev {
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
}

.gallery-lightbox__next {
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
}

.gallery-lightbox__prev:hover,
.gallery-lightbox__next:hover {
  transform: translateY(-50%) scale(1.08);
}

@media (max-width: 640px) {
  .gallery-lightbox__stage {
    padding: 0 3rem;
  }

  .gallery-lightbox__prev {
    left: 0.25rem;
  }

  .gallery-lightbox__next {
    right: 0.25rem;
  }
}

/* ══════════════════════════════════════════════════
   SUMMARIZE WITH AI
   ══════════════════════════════════════════════════ */
.stay-main .share-with-ai {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  margin: 1rem 0 2.5rem 0;
  padding-bottom: 1.5rem;
  border-bottom: 3px solid var(--r);
  background: transparent !important;
  border-left: none !important;
  border-right: none !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  font-family: var(--sans);
}

.stay-main .share-with-ai .share-ai-text {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--p3);
  flex-shrink: 0;
  margin-right: 0 !important;
}

.stay-main .share-with-ai .share-ai-text span {
  color: var(--p3) !important;
  font-size: 0.72rem !important;
  font-weight: 700 !important;
}

.stay-main .share-with-ai .share-ai {
  display: inline-flex !important;
  background: transparent !important;
  border-radius: var(--rp) !important;
  overflow: hidden;
}

.stay-main .share-with-ai .share-ai a,
.stay-main .share-with-ai .summarize-with-ai-icon {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.4rem !important;
  padding: 5px 12px !important;
  border-radius: var(--rp) !important;
  font-size: 0.75rem !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  transition: opacity 0.2s, transform 0.15s !important;
  border: none !important;
  box-shadow: none !important;
  color: #fff !important;
}

.stay-main .share-with-ai .share-ai a:hover,
.stay-main .share-with-ai .summarize-with-ai-icon:hover {
  opacity: 0.85 !important;
  transform: translateY(-1px) !important;
  box-shadow: none !important;
}

.stay-main .share-with-ai .share-ai img {
  width: 16px !important;
  height: 16px !important;
  flex-shrink: 0 !important;
  margin: 0 !important;
  border-radius: 0 !important;
  display: inline-block !important;
}

.stay-main .share-with-ai .share-ai span {
  color: #fff !important;
  font-size: 0.75rem !important;
  font-weight: 600 !important;
}

/* ChatGPT - Override plugin black background */
.stay-main .share-with-ai .share-ai.chatgpt,
.stay-main .share-with-ai .share-ai.chatgpt a,
.stay-main .share-with-ai .share-ai.chatgpt .summarize-with-ai-icon,
.stay-main .share-with-ai .share-ai.chatgpt a:link,
.stay-main .share-with-ai .share-ai.chatgpt a:visited,
.stay-main .share-with-ai .share-ai.chatgpt a:hover,
.stay-main .share-with-ai .summarize-with-chatgpt,
.stay-main .share-with-ai .summarize-with-chatgpt:hover {
  background: #10a37f !important;
  background-color: #10a37f !important;
  color: #fff !important;
  border-color: #10a37f !important;
}

/* Grok - Override plugin black background */
.stay-main .share-with-ai .share-ai.grok,
.stay-main .share-with-ai .share-ai.grok a,
.stay-main .share-with-ai .share-ai.grok .summarize-with-ai-icon,
.stay-main .share-with-ai .share-ai.grok a:link,
.stay-main .share-with-ai .share-ai.grok a:visited,
.stay-main .share-with-ai .share-ai.grok a:hover,
.stay-main .share-with-ai .summarize-with-grok,
.stay-main .share-with-ai .summarize-with-grok:hover {
  background: var(--ink) !important;
  background-color: var(--ink) !important;
  color: #fff !important;
  border-color: var(--ink) !important;
}

/* Perplexity - Override plugin background */
.stay-main .share-with-ai .share-ai.perplexity,
.stay-main .share-with-ai .share-ai.perplexity a,
.stay-main .share-with-ai .share-ai.perplexity .summarize-with-ai-icon,
.stay-main .share-with-ai .share-ai.perplexity a:link,
.stay-main .share-with-ai .share-ai.perplexity a:visited,
.stay-main .share-with-ai .share-ai.perplexity a:hover,
.stay-main .share-with-ai .summarize-with-perplexity,
.stay-main .share-with-ai .summarize-with-perplexity:hover {
  background: #1fb8cd !important;
  background-color: #1fb8cd !important;
  color: #fff !important;
  border-color: #1fb8cd !important;
}

/* Claude - Override plugin background */
.stay-main .share-with-ai .share-ai.claude,
.stay-main .share-with-ai .share-ai.claude a,
.stay-main .share-with-ai .share-ai.claude .summarize-with-ai-icon,
.stay-main .share-with-ai .share-ai.claude a:link,
.stay-main .share-with-ai .share-ai.claude a:visited,
.stay-main .share-with-ai .share-ai.claude a:hover,
.stay-main .share-with-ai .summarize-with-claude,
.stay-main .share-with-ai .summarize-with-claude:hover {
  background: #cc785c !important;
  background-color: #cc785c !important;
  color: #fff !important;
  border-color: #cc785c !important;
}
/* Post-group subtitle under the hotel name (same voice as .attraction-subtitle). */
.stay-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--ink3);
  line-height: 1.5;
  margin: 0 0 1.25rem;
  max-width: 60ch;
}

/* Pre-init guard: thumbs rail shows 3/4/5-up before Swiper boots (main swiper
   uses the vendor default width:100%, which already matches slidesPerView 1). */
.stay-swiper-thumbs:not(.swiper-initialized) .swiper-slide {
  width: 33.3333%;
}

@media (min-width: 640px) {
  .stay-swiper-thumbs:not(.swiper-initialized) .swiper-slide {
    width: 25%;
  }
}

@media (min-width: 768px) {
  .stay-swiper-thumbs:not(.swiper-initialized) .swiper-slide {
    width: 20%;
  }
}
