/**
 * Alas Petulu - Single Accommodation & Activity Detail Styles
 * Consistent with Luxury Villa Brand Guideline
 */

/* ==========================================================================
   1. SINGLE HERO HEADER
   ========================================================================== */
.ap-single-hero {
  position: relative;
  min-height: 520px;
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 9.5rem 0 4.5rem 0;
  color: #ffffff;
  box-sizing: border-box;
}

.ap-single-hero .ap-container {
  width: 100%;
}

.ap-single-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.5) 0%, rgba(18, 28, 21, 0.85) 100%);
  z-index: 1;
}

.ap-single-hero-content {
  position: relative;
  z-index: 2;
  max-width: 960px;
}

.ap-single-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--ap-accent-light);
  margin-bottom: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.ap-single-breadcrumbs a {
  color: #ffffff;
  opacity: 0.8;
}

.ap-single-breadcrumbs a:hover {
  opacity: 1;
  color: var(--ap-accent-light);
}

.ap-single-title {
  font-size: clamp(2.5rem, 4.5vw, 3.75rem);
  font-family: var(--ap-font-serif);
  line-height: 1.15;
  margin-bottom: 1rem;
}

/* ==========================================================================
   2. QUICK SPECS RIBBON (ACCOMMODATION)
   ========================================================================== */
.ap-specs-ribbon-wrapper {
  background-color: #ffffff;
  border-bottom: 1px solid var(--ap-border-subtle);
  box-shadow: var(--ap-shadow-card);
  position: relative;
  z-index: 5;
}

.ap-specs-ribbon {
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 1.75rem 0;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.ap-ribbon-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.ap-ribbon-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--ap-bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ap-primary);
  flex-shrink: 0;
}

.ap-ribbon-icon svg {
  width: 22px;
  height: 22px;
}

.ap-ribbon-meta span {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ap-text-muted);
}

.ap-ribbon-meta strong {
  font-size: 1rem;
  color: var(--ap-text-dark);
  font-weight: 600;
}

/* ==========================================================================
   3. MAIN CONTENT & SIDEBAR LAYOUT
   ========================================================================== */
.ap-single-main-section {
  padding: 5rem 0 6rem 0;
}

.ap-single-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 4rem;
  align-items: start;
}

.ap-single-body {
  font-family: var(--ap-font-sans);
  font-size: 1.15rem;
  line-height: 1.9;
  color: #333333;
}

.ap-single-body h2 {
  font-family: var(--ap-font-serif);
  font-size: 2.125rem;
  color: var(--ap-primary);
  margin-top: 2.5rem;
  margin-bottom: 1.25rem;
}

.ap-single-body p {
  font-family: var(--ap-font-sans);
  font-size: 1.125rem;
  line-height: 1.85;
  margin-bottom: 1.75rem;
}

/* Amenities Checklist */
.ap-in-room-amenities {
  margin: 3rem 0;
  padding: 2.5rem;
  background-color: #ffffff;
  border-radius: var(--ap-radius-sm);
  border: 1px solid var(--ap-border-subtle);
  box-shadow: var(--ap-shadow-card);
}

.ap-in-room-amenities h3 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: var(--ap-primary);
}

.ap-in-room-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.ap-in-room-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ap-text-dark);
}

.ap-in-room-item svg {
  width: 18px;
  height: 18px;
  color: var(--ap-accent);
  flex-shrink: 0;
}

/* Sticky Booking Box */
.ap-sticky-booking-card {
  background-color: #ffffff;
  border-radius: var(--ap-radius-sm);
  border: 1px solid var(--ap-border-subtle);
  box-shadow: var(--ap-shadow-floating);
  padding: 2.5rem 2rem;
  position: sticky;
  top: 6rem;
}

.ap-booking-price-tag {
  border-bottom: 1px solid var(--ap-border-subtle);
  padding-bottom: 1.5rem;
  margin-bottom: 1.75rem;
}

.ap-price-sub {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ap-text-muted);
}

.ap-price-val {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  margin-top: 0.25rem;
}

.ap-price-val strong {
  font-size: 2.25rem;
  font-family: var(--ap-font-serif);
  color: var(--ap-primary);
}

.ap-price-val span {
  font-size: 0.9rem;
  color: var(--ap-text-muted);
}

.ap-booking-features-list {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: var(--ap-text-dark);
}

.ap-booking-features-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.ap-booking-features-list li svg {
  width: 16px;
  height: 16px;
  color: var(--ap-accent);
}

.ap-card-btn-stack {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.ap-card-btn-stack .ap-btn {
  width: 100%;
}

.ap-concierge-note {
  margin-top: 1.5rem;
  font-size: 0.8rem;
  color: var(--ap-text-muted);
  text-align: center;
  line-height: 1.5;
}

/* ==========================================================================
   4. VILLA HIGHLIGHTS & AMENITIES SUITE (STANDALONE SECTION)
   ========================================================================== */
.ap-villa-highlights-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin: 2.5rem 0 0 0;
  padding: 1.75rem 2rem;
  background: var(--ap-bg-light);
  border-radius: var(--ap-radius-sm);
  border: 1px solid var(--ap-border-subtle);
}

.ap-highlight-pill {
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  padding-right: 1.25rem;
  border-right: 1px solid rgba(197, 160, 89, 0.25);
}

.ap-highlight-pill:last-child {
  border-right: none;
  padding-right: 0;
}

.ap-highlight-text strong {
  display: block;
  font-size: 1.05rem;
  color: var(--ap-text-dark);
  font-family: var(--ap-font-serif);
  line-height: 1.25;
  margin-bottom: 0.35rem;
}

.ap-highlight-text span {
  display: block;
  font-size: 0.75rem;
  color: var(--ap-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 500;
  line-height: 1.35;
}

/* Standalone Amenities Section (Dark Forest Theme: #142217 with White Text & Borders) */
.ap-single-amenities-section {
  padding: 5.5rem 0 6rem 0;
  background-color: #142217;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

.ap-amenities-suite-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3.5rem auto;
}

.ap-amenities-suite-header .ap-section-subtitle {
  display: inline-block;
  font-size: 0.825rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--ap-accent-light, #d4b476);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.ap-amenities-suite-header .ap-section-title {
  font-size: 2.25rem;
  font-family: var(--ap-font-serif);
  color: #ffffff;
  margin-bottom: 0.85rem;
  line-height: 1.25;
}

.ap-amenities-suite-header .ap-section-desc {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.05rem;
  line-height: 1.7;
  margin: 0;
}

.ap-amenities-categories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.ap-amenity-cat-card {
  background: transparent !important;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 0 !important;
  padding: 2rem 1.75rem;
  box-shadow: none !important;
  transition: var(--ap-transition);
  display: flex;
  flex-direction: column;
}

.ap-amenity-cat-card:hover {
  border-color: #ffffff;
  background: transparent !important;
  transform: translateY(-3px);
  box-shadow: none !important;
}

.ap-amenity-cat-head {
  margin-bottom: 1.25rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.ap-amenity-cat-head h4 {
  font-size: 1.15rem;
  font-family: var(--ap-font-serif);
  font-weight: 600;
  color: #ffffff;
  margin: 0;
  letter-spacing: 0.01em;
  line-height: 1.35;
}

.ap-amenity-cat-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.ap-amenity-cat-list li {
  position: relative;
  padding-left: 1.25rem;
  font-size: 0.925rem;
  line-height: 1.5;
  color: #ffffff;
}

.ap-amenity-cat-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: -1px;
  color: #ffffff;
  font-size: 1.15rem;
  line-height: 1.4;
}

/* ==========================================================================
   5. SINGLE VILLA GALLERY MULTI-CARD SLIDER & LIGHTBOX
   ========================================================================== */
.ap-single-gallery-section {
  padding: 5.5rem 0 6rem 0;
  background-color: var(--ap-bg-light);
  border-top: 1px solid var(--ap-border-subtle);
  overflow: hidden;
}

.ap-single-gallery-section .ap-section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.ap-gallery-slider-wrapper {
  position: relative;
  width: 100%;
  max-width: 100vw;
}

.ap-gallery-slider-viewport {
  width: 100%;
  overflow: hidden;
  padding: 1.5rem 0 2rem 0;
  cursor: grab;
}

.ap-gallery-slider-viewport:active {
  cursor: grabbing;
}

:root {
  --ap-gallery-gap: 1.5rem;
}

.ap-gallery-slider-track {
  display: flex;
  width: max-content;
  gap: var(--ap-gallery-gap);
  align-items: center;
  transition: transform 0.55s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}

.ap-gallery-slide-card {
  --slide-w: calc((var(--ap-viewport-w, 100vw) - 4 * var(--ap-gallery-gap)) / 4);
  flex: 0 0 var(--slide-w);
  width: var(--slide-w);
  background: #ffffff;
  border: 1px solid var(--ap-border-subtle);
  border-radius: var(--ap-radius-sm);
  overflow: hidden;
  box-shadow: none;
  transition: transform 0.45s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.45s ease, border-color 0.45s ease;
  display: flex;
  flex-direction: column;
  user-select: none;
}

.ap-gallery-slide-card:hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.ap-gallery-slide-card.is-active {
  flex: 0 0 var(--slide-w);
  width: var(--slide-w);
  border-color: #d8d4c9;
  box-shadow: 0 4px 16px rgba(18, 28, 21, 0.06);
  transform: scale(1.02);
  z-index: 5;
}

.ap-slide-image-box {
  position: relative;
  width: 100%;
  height: 250px;
  overflow: hidden;
  background-color: var(--ap-primary-dark);
}

.ap-gallery-slide-card.is-active .ap-slide-image-box {
  height: 310px;
}

.ap-slide-image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.ap-gallery-slide-card:hover .ap-slide-image-box img {
  transform: scale(1.04);
}

.ap-slide-zoom-btn {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(18, 28, 21, 0.65);
  backdrop-filter: blur(6px);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.85);
  transition: var(--ap-transition);
  cursor: pointer;
  z-index: 2;
}

.ap-gallery-slide-card:hover .ap-slide-zoom-btn {
  opacity: 1;
  transform: scale(1);
}

.ap-slide-zoom-btn:hover {
  background: var(--ap-accent);
  color: #ffffff;
}

.ap-slide-zoom-btn svg {
  width: 16px;
  height: 16px;
}

.ap-slide-content {
  padding: 1.5rem 1.5rem;
  text-align: center;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 85px;
  transition: all 0.3s ease;
}

.ap-gallery-slide-card.is-active .ap-slide-content {
  padding: 2rem 2.25rem;
  min-height: 180px;
}

.ap-slide-title {
  font-family: var(--ap-font-sans);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ap-text-dark);
  margin: 0;
  line-height: 1.4;
  text-align: center;
}

.ap-gallery-slide-card.is-active .ap-slide-title {
  font-size: 1.05rem;
  letter-spacing: 0.12em;
}

.ap-slide-divider {
  display: none;
  width: 48px;
  height: 1px;
  background-color: var(--ap-border-subtle);
  margin: 1.15rem auto;
}

.ap-gallery-slide-card.is-active .ap-slide-divider {
  display: block;
}

.ap-slide-desc {
  display: none;
  font-family: var(--ap-font-sans);
  font-size: 0.935rem;
  line-height: 1.7;
  color: var(--ap-text-muted);
  margin: 0;
  text-align: center;
}

.ap-gallery-slide-card.is-active .ap-slide-desc {
  display: block;
}

/* Slider Navigation Bar */
.ap-gallery-nav-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.25rem;
  margin-top: 2rem;
}

.ap-gallery-nav-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--ap-primary);
  padding: 0.6rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: var(--ap-transition);
  border-radius: 50%;
}

.ap-gallery-nav-btn:hover {
  color: var(--ap-accent);
  transform: scale(1.15);
}

.ap-gallery-counter {
  font-family: var(--ap-font-sans);
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  color: var(--ap-text-dark);
  min-width: 65px;
  text-align: center;
}

/* Lightbox Modal */
.ap-lightbox {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.ap-lightbox.is-open {
  display: flex;
  opacity: 1;
}

.ap-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(14, 24, 16, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.ap-lightbox-content {
  position: relative;
  z-index: 2;
  max-width: 90vw;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.ap-lightbox-image {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: var(--ap-radius-sm);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.ap-lightbox-caption {
  color: #ffffff;
  margin-top: 1rem;
  text-align: center;
  font-family: var(--ap-font-serif);
  font-size: 1.15rem;
  letter-spacing: 0.04em;
}

.ap-lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 2rem;
  background: none;
  border: none;
  color: #ffffff;
  font-size: 2.5rem;
  cursor: pointer;
  z-index: 3;
  line-height: 1;
  opacity: 0.8;
  transition: var(--ap-transition);
}

.ap-lightbox-close:hover {
  opacity: 1;
  color: var(--ap-accent);
}

.ap-lightbox-prev,
.ap-lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 3;
  transition: var(--ap-transition);
}

.ap-lightbox-prev { left: 2rem; }
.ap-lightbox-next { right: 2rem; }

.ap-lightbox-prev:hover,
.ap-lightbox-next:hover {
  background: var(--ap-accent);
  border-color: var(--ap-accent);
  color: #ffffff;
}

.ap-lightbox-prev svg,
.ap-lightbox-next svg {
  width: 24px;
  height: 24px;
}

/* ==========================================================================
   6. RELATED ACCOMMODATIONS & ROOM CARDS (FIXES GIANT SVG BUG)
   ========================================================================== */
.ap-related-section {
  padding: 6rem 0;
  background-color: #ffffff;
  border-top: 1px solid var(--ap-border-subtle);
  overflow: hidden;
}

.ap-related-section .ap-section-header {
  margin-bottom: 3.5rem;
}

.ap-rooms-header-center {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 3rem auto;
}

.ap-rooms-header-center .ap-section-title {
  margin-bottom: 0.75rem;
}

.ap-rooms-header-split {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2.5rem;
  text-align: left;
}

.ap-rooms-header-left {
  max-width: 720px;
}

/* Slider Outer Container with Flanking Arrows */
.ap-slider-outer-container {
  position: relative;
  width: 100%;
}

.ap-slider-outer-container .ap-slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 25;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(20, 34, 23, 0.85);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--ap-transition);
  backdrop-filter: blur(8px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.ap-slider-outer-container .ap-slider-arrow.ap-prev {
  left: -26px;
}

.ap-slider-outer-container .ap-slider-arrow.ap-next {
  right: -26px;
}

.ap-slider-outer-container .ap-slider-arrow:hover {
  background: var(--ap-accent);
  color: #ffffff;
  border-color: var(--ap-accent);
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 8px 25px rgba(197, 160, 89, 0.45);
}

.ap-slider-arrow svg {
  width: 22px;
  height: 22px;
}

@media (max-width: 1100px) {
  .ap-slider-outer-container .ap-slider-arrow.ap-prev {
    left: 12px;
  }
  .ap-slider-outer-container .ap-slider-arrow.ap-next {
    right: 12px;
  }
}

/* Slider Track & Wrapper */
.ap-slider-wrapper.ap-has-slider {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 0.5rem 0.25rem 1.5rem 0.25rem;
}

.ap-slider-wrapper.ap-has-slider::-webkit-scrollbar {
  display: none;
}

.ap-rooms-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.ap-rooms-grid.ap-slider-track {
  display: flex !important;
  flex-wrap: nowrap !important;
  gap: 2rem;
}

.ap-slider-track .ap-room-card {
  flex: 0 0 calc(33.333% - 1.35rem);
  min-width: 360px;
  max-width: 520px;
  scroll-snap-align: start;
}

.ap-room-card {
  position: relative;
  height: 540px;
  border-radius: 0 !important;
  overflow: hidden;
  box-shadow: none !important;
  transition: var(--ap-transition);
  background-color: transparent !important;
}

.ap-room-card-link {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
  color: inherit;
  text-decoration: none;
}

.ap-room-card:hover {
  transform: translateY(-6px);
  box-shadow: none !important;
}

.ap-room-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  border-radius: 0 !important;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.ap-room-card:hover .ap-room-bg {
  transform: scale(1.06);
}

.ap-room-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 30%, rgba(20, 34, 23, 0.85) 70%, rgba(14, 24, 16, 0.98) 100%);
  z-index: 1;
  border-radius: 0 !important;
}

.ap-room-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2.25rem 2rem;
  z-index: 2;
  color: #ffffff;
}

.ap-room-title {
  font-size: 1.975rem;
  font-family: var(--ap-font-serif);
  color: #ffffff;
  margin-bottom: 1.25rem;
  line-height: 1.2;
}

.ap-room-specs {
  display: grid;
  grid-template-columns: auto 1fr;
  row-gap: 0.65rem;
  column-gap: 1.5rem;
  font-size: 1rem;
  color: #ffffff !important;
}

.ap-spec-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.975rem;
  color: #ffffff !important;
}

.ap-spec-item span {
  color: #ffffff !important;
}

/* Room Spec SVG Icons: Pure White */
.ap-spec-item svg {
  width: 16px !important;
  height: 16px !important;
  max-width: 16px !important;
  max-height: 16px !important;
  min-width: 16px !important;
  min-height: 16px !important;
  color: #ffffff !important;
  stroke: #ffffff !important;
  fill: none !important;
  flex-shrink: 0;
}

/* Responsive */
@media (max-width: 1024px) {
  .ap-single-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .ap-single-sidebar {
    max-width: 580px;
    width: 100%;
    margin: 0 auto;
  }

  .ap-sticky-booking-card {
    position: static;
    margin-top: 1rem;
  }

  .ap-villa-highlights-strip {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }

  .ap-highlight-pill {
    border-right: none;
    border-bottom: 1px solid rgba(197, 160, 89, 0.25);
    padding-bottom: 0.75rem;
    padding-right: 0;
  }

  .ap-highlight-pill:nth-last-child(-n+2) {
    border-bottom: none;
    padding-bottom: 0;
  }

  .ap-amenities-categories-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .ap-rooms-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .ap-single-hero {
    min-height: 420px;
    padding-top: 6.5rem;
    padding-bottom: 3.5rem;
  }

  .ap-single-hero-content .ap-single-title {
    font-size: 2.25rem;
  }

  .ap-specs-ribbon {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    padding: 1.5rem 0;
  }

  .ap-specs-ribbon .ap-ribbon-item:last-child {
    grid-column: span 2;
    justify-content: center;
  }

  .ap-single-main-section {
    padding: 3.5rem 0;
  }

  .ap-single-amenities-section {
    padding: 4rem 0;
  }

  .ap-amenities-suite-header {
    margin-bottom: 2.5rem;
  }

  .ap-amenities-suite-header .ap-section-title {
    font-size: 1.85rem;
  }

  .ap-amenities-suite-header .ap-section-desc {
    font-size: 0.95rem;
  }

  .ap-amenities-categories-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }

  .ap-amenity-cat-card {
    padding: 1.5rem 1.25rem;
  }

  .ap-amenity-cat-head h4 {
    font-size: 1.05rem;
  }

  .ap-amenity-cat-list li {
    font-size: 0.875rem;
  }

  /* Mobile Gallery Slider */
  .ap-gallery-slide-card,
  .ap-gallery-slide-card.is-active {
    --slide-w: 74vw;
    flex: 0 0 74vw;
    width: 74vw;
    transform: none;
  }

  .ap-slide-image-box {
    height: 200px;
  }

  .ap-gallery-slide-card.is-active .ap-slide-image-box {
    height: 235px;
  }

  .ap-gallery-slide-card.is-active .ap-slide-content {
    padding: 1.5rem 1.25rem;
  }

  /* Mobile Horizontal Slider for Room Cards */
  .ap-slider-wrapper.ap-mobile-slider,
  .ap-related-section .ap-slider-wrapper {
    overflow-x: auto !important;
    scroll-snap-type: x mandatory !important;
    scroll-behavior: smooth !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    padding: 0.5rem 0.25rem 1.5rem 0.25rem;
    margin: 0 -1.25rem;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .ap-related-section .ap-slider-wrapper::-webkit-scrollbar {
    display: none;
  }

  .ap-related-section .ap-rooms-grid {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 1.25rem !important;
    width: max-content;
  }

  .ap-related-section .ap-room-card {
    flex: 0 0 82vw !important;
    width: 82vw !important;
    min-width: 280px !important;
    max-width: 380px !important;
    height: 480px !important;
    scroll-snap-align: start !important;
  }

  .ap-lightbox-prev { left: 0.5rem; }
  .ap-lightbox-next { right: 0.5rem; }
}

@media (max-width: 540px) {
  .ap-single-hero-content .ap-single-title {
    font-size: 1.85rem;
  }

  .ap-villa-highlights-strip {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.85rem;
    padding: 1.25rem 1rem;
    margin-top: 1.75rem;
  }

  .ap-highlight-text strong {
    font-size: 0.95rem;
  }

  .ap-highlight-text span {
    font-size: 0.7rem;
  }

  .ap-sticky-booking-card {
    padding: 1.75rem 1.25rem;
  }

  .ap-price-val strong {
    font-size: 1.85rem;
  }

  .ap-amenities-categories-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .ap-amenity-cat-card {
    padding: 1.35rem 1.15rem;
  }

  .ap-gallery-slide-card,
  .ap-gallery-slide-card.is-active {
    --slide-w: 80vw;
    flex: 0 0 80vw;
    width: 80vw;
    transform: none;
  }
}

/* ==========================================================================
   10. CONTACT PAGE LAYOUT & INNER PAGE EDITORIAL
   ========================================================================== */
.ap-contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: start;
}

@media (max-width: 900px) {
  .ap-contact-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

.ap-page-intro-section {
  padding: 3.5rem 0 1rem;
  text-align: center;
}

.ap-page-body {
  font-size: 1.15rem;
  line-height: 1.85;
  color: #374151;
  padding: 3rem 0 5rem;
}

.ap-page-body h2,
.ap-page-body h3 {
  font-family: var(--ap-font-serif);
  color: var(--ap-primary);
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.ap-page-body p {
  margin-bottom: 1.5rem;
}
