.cabin-type-container {
  background: var(--white);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3.75vw;
  padding: 6.25vw 0.2vw;
}

.cabin-type-box {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 1.5625vw;
  gap: 1.5625vw;

  width: 40.625vw;
  height: 31.4375vw;

  background: #FFFFFF;
  /* Light/shadow-sm */
  box-shadow: 0px 0.47vw 0.47vw -0.47vw rgba(0, 0, 0, 0.16), 0px 0px 0.0781vw rgba(0, 0, 0, 0.4);
  border-radius: 0.625vw;

  /* Inside auto layout */
  flex: none;
  order: 0;
  flex-grow: 0;
}

.cabin-type-box .bold-16 span {
  margin-left: 1.25vw;
}

.cabin-type-content {
  display: flex;
  justify-content: space-between;
}

.cabin-type-slider {
  width: 15.625vw;
}

.cabin-type-text {
  width: 19.6875vw;
  height: 16.5625vw;
  align-self: center;
}

.cabin-type-content .black-button {
  padding: 0.3125vw 0.9375vw;
}

#regular-price,
#double-price {
  margin-left: 0px;
}

.cabin-type-text .black-button:disabled {
  background: #646464;
  cursor: no-drop;
}

.cbres {
  width: 100%;
  height: 4vw;
  padding-top: 0px;
}

@media (max-width: 768px) {
  .cabin-type-container {
    grid-template-columns: repeat(1, 1fr);
    padding: 5vw 3vw;
  }

  .cabin-type-box {
    transform-origin: top left;
    transform: scale(2.3);
    height: 31vw;
    margin-bottom: 39vw;
  }

  .cabin-type-text .black-button {
    width: 100%;
    padding: 0.4vw 1vw;
  }

  .cbres img {
    width: 1.8vw;
    margin-right: 0.3vw;
  }
}

@media (min-width: 1400px) {
  .cabin-type-container {
    transform: scale(0.8);
    transform-origin: top center;
    padding-top: 3vw;
    margin-bottom: -7vw;
  }
}

/* Nuevo CSS */
/* Room Card Styles */
.room-card {
  font-family: "Poppins Regular";
  background: #FFFFFF;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.3s ease;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto auto 1fr;
  gap: 0;
}

.room-header-top {
  grid-column: 1 / -1;
  padding: 1.5rem;
  /* border-bottom: 1px solid #f0f0f0; */
}

/* Carousel y contenido lado a lado en desktop */
.room-body {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

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

.room-card:hover {
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

/* Room Header Top */
.room-header-top {
  grid-column: 1 / -1;
  padding: 1.5rem;
  /* border-bottom: 1px solid #f0f0f0; */
}

.room-header-top .room-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1a1a1a;
  margin: 0;
  letter-spacing: -0.02em;
}

.room-header-top .room-subtitle {
  font-size: 0.85rem;
  color: #999;
  font-weight: 400;
  margin: 0.5rem 0 0 0;
}

/* Carousel y contenido lado a lado en desktop */
.room-body {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

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

  .room-header-top {
    padding: 1.25rem;
  }

  .room-header-top .room-title {
    font-size: 1.15rem;
  }
}

@media (max-width: 480px) {
  .room-header-top {
    padding: 1rem;
  }

  .room-header-top .room-title {
    font-size: 1rem;
  }

  .room-header-top .room-subtitle {
    font-size: 0.8rem;
    margin-top: 0.35rem;
  }
}

.room-card:hover {
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

/* Carousel Container */
.carousel-container {
  position: relative;
  background: #000;
  aspect-ratio: 1 / 1;
  overflow: visible;
  /* CAMBIADO: permite que las flechas sobresalgan */
  border: 8px solid white;
  margin: 1rem;
  border-radius: 0.5rem;
}

/* Desktop - imagen al lado del contenido */
@media (min-width: 1025px) {
  .carousel-container {
    aspect-ratio: auto;
    /* height: 100%; */
    min-height: 350px;
  }
}

/* Tablet landscape - ajusta a lado */
@media (min-width: 769px) and (max-width: 1024px) and (orientation: landscape) {
  .carousel-container {
    aspect-ratio: auto;
    height: 100%;
  }
}

/* Tablet portrait - vuelve arriba */
@media (min-width: 481px) and (max-width: 768px) {
  .carousel-container {
    aspect-ratio: 4 / 3;
    grid-column: 1 / -1;
  }
}

/* Mobile - vuelve arriba */
@media (max-width: 480px) {
  .carousel-container {
    aspect-ratio: 1 / 1;
    grid-column: 1 / -1;
  }
}

.carousel-wrapper {
  display: flex;
  height: 100%;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  /* AÑADIDO: mantiene las imágenes dentro del wrapper */
  border-radius: calc(0.5rem - 8px);
  /* AÑADIDO: respeta el border-radius */
}

.carousel-slide {
  min-width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Carousel Controls */
.carousel-nav {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 10;
}

.carousel-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  padding: 0;
}

.carousel-dot.active {
  background-color: white;
  width: 1.5rem;
  border-radius: 2px;
}

.carousel-dot:hover {
  background-color: rgba(255, 255, 255, 0.7);
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: white;
  border: none;
  color: #ffffff;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 10;
  font-size: 1.5rem;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
  background: #000000;
  border: 6px solid #ffffff;
}

.carousel-arrow:hover {
  background-color: #f8f8f8;
  color: #000000;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  transform: translateY(-50%) scale(1.05);
}

.carousel-arrow:active {
  transform: translateY(-50%) scale(0.95);
}

.carousel-arrow.prev {
  left: 0;
  transform: translateY(-50%) translateX(-50%);
}

.carousel-arrow.prev:hover {
  transform: translateY(-50%) translateX(-50%) scale(1.05);
}

.carousel-arrow.prev:active {
  transform: translateY(-50%) translateX(-50%) scale(0.95);
}

.carousel-arrow.next {
  right: 0;
  transform: translateY(-50%) translateX(50%);
}

.carousel-arrow.next:hover {
  transform: translateY(-50%) translateX(50%) scale(1.05);
}

.carousel-arrow.next:active {
  transform: translateY(-50%) translateX(50%) scale(0.95);
}

.room-content {
  padding: 1.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  overflow-y: auto;
  max-height: 500px;
}

@media (min-width: 1025px) {
  .room-content {
    max-height: none;
    overflow-y: visible;
  }
}

@media (max-width: 768px) {
  .room-content {
    max-height: none;
    overflow-y: visible;
    grid-template-columns: 1fr;
    padding: 1.25rem;
  }
}

@media (max-width: 480px) {
  .room-content {
    padding: 1rem;
  }
}

/* Amenities Section */
.amenities-left {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.amenities-right {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.room-amenity-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: #666;
}

.room-amenity-item .amenity-icon {
  width: 1.25rem;
  height: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.room-amenity-item .amenity-icon img {
  width: 100%;
  height: 100%;
}

/* Featured Amenities Header */
.featured-header {
  grid-column: 1 / -1;
  margin-top: 0.5rem;
}

.featured-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 0.75rem;
}

.featured-amenities {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding-top: 0.5rem;
  border-top: 1px solid #f0f0f0;
}

.featured-amenity {
  font-size: 0.85rem;
  color: #666;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.featured-amenity::before {
  content: '✓';
  color: #6b8c5a;
  font-weight: 700;
  font-size: 0.95rem;
}

/* Button Container */
.button-container {
  grid-column: 1 / -1;
  margin-top: 0.75rem;
}

.btn-reserve {
  width: 100%;
  padding: 0.85rem 1.5rem;
  background-color: #6F6B4D;
  color: white;
  border: none;
  border-radius: 0.5rem;
  font-family: 'Redtone', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s ease;
  letter-spacing: -0.01em;
  width: 50%;
}

.btn-reserve:hover {
  background-color: #6F6B4D;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(107, 140, 90, 0.2);
}

.btn-reserve:active {
  transform: translateY(0);
}

/* Old CSS */
.room-title {
  font-size: 22px;
  font-weight: 600;
  color: #1d1d1d;
  margin-top: 0;
  margin-bottom: 1.5vw;
  padding-bottom: 2vw;
  border-bottom: 1px solid #e0d8c8;
}

.room-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

/* Slider */
.room-slider {
  position: relative;
  width: 80%;
  opacity: 1;
  transition: opacity 0.4s ease-in-out;
}

.room-content .review-slider {
  width: 90%;
  margin-top: 0.625vw;
  height: 21.125vw;
}

.room-content .h-sliderB {
  height: 22.125vw;
  padding: 0 0.9375vw;
}

.room-content #sliderBLeft {
  left: 0px;
}

.room-content #sliderBRight {
  right: 0px;
}

.room-content #sliderBLeft,
.room-content #sliderBRight {
  top: 9.21875vw;
  width: 1.875vw;
}

.room-slider .slider-img {
  width: 100%;
  height: 280px;
  object-fit: cover;

}

/* Amenities */
.amenities-title {
  font-size: 1.4vw;
  font-weight: 600;
}

.room-subtext {
  font-size: 1.2vw;
  color: #676767;
  margin: 2vw 0;
}

.room-amenities {
  columns: 2;
  gap: 12px;
  margin-bottom: 20px;
  padding: 0;
  list-style: none;
}

.room-amenities .room-amenity {
  font-family: "Poppins Regular";
  display: flex;
  align-items: center;
  font-size: 14px;
  margin-bottom: 1.2vw;
  gap: 0.8vw;
}

/* Button */
.reserve-btn {
  font-family: "Poppins Regular";
  background: #6F6B4D;
  color: white;
  padding: 12px 22px;
  font-size: 1.2vw;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  transition: 0.2s;
  font-weight: 700;
}

.reserve-btn:hover {
  background: #49523e;
}

/* 📱 Responsive */
@media (max-width: 768px) {
  .room-content {
    grid-template-columns: 1fr;
  }

  .room-slider img {
    height: 220px;
  }
}

@media (max-width: 460px) {
  .room-card {
    padding: 16px;
  }

  .room-title {
    font-size: 18px;
  }

  .room-amenities {
    columns: 1;
  }
}

/* Loader styles */
.cabins-loader {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 400px;
  width: 100%;
}

.cabins-loader.hidden {
  display: none;
}

.loader-content {
  text-align: center;
  padding: 40px;
}

.loader-spinner {
  width: 50px;
  height: 50px;
  border: 4px solid #e0d8c8;
  border-top: 4px solid #6F6B4D;
  border-radius: 50%;
  margin: 0 auto 24px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.loader-text {
  font-family: "Poppins Regular";
  font-size: 18px;
  font-weight: 600;
  color: #1d1d1d;
  margin: 0 0 8px 0;
}

.loader-subtext {
  font-family: "Poppins Regular";
  font-size: 14px;
  color: #676767;
  margin: 0;
}

/* Error/Message state */
.cabins-message {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 40px;
  background: #fff;
  border: 1px solid #e0d8c8;
  border-radius: 12px;
}

.cabins-message p {
  font-family: "Poppins Regular";
  font-size: 16px;
  color: #676767;
  margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
  html {
    font-size: 15px;
  }

  .room-content {
    padding: 1.25rem;
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .amenities-left,
  .amenities-right {
    gap: 0.8rem;
  }

  .room-title {
    font-size: 1.15rem;
  }

  .carousel-arrow {
    width: 2.25rem;
    height: 2.25rem;
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  html {
    font-size: 14px;
  }

  .room-card {
    grid-template-columns: 1fr;
  }

  .room-content {
    padding: 1rem;
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }

  .room-title {
    font-size: 1rem;
    margin-bottom: 0.35rem;
  }

  .amenity-item {
    font-size: 0.8rem;
    gap: 0.5rem;
  }

  .amenity-icon {
    width: 1rem;
    height: 1rem;
  }

  .carousel-arrow {
    font-size: 1rem;
  }

  .carousel-nav {
    bottom: 0.75rem;
    gap: 0.4rem;
  }

  .carousel-dot {
    width: 0.4rem;
    height: 0.4rem;
  }

  .carousel-dot.active {
    width: 1.25rem;
  }

  .featured-amenity {
    font-size: 0.8rem;
    gap: 0.5rem;
  }

  .featured-amenities div {
    margin-top: 1rem;
  }

  .featured-amenities .bold-24 {
    font-size: 1.8rem;
  }

  .featured-amenities .regular-14 {
    font-size: 1rem;
  }

  .featured-amenities .regular-12 {
    font-size: 0.8rem;
  }

  .button-container .regular-12 {
    font-size: 0.8rem;
  }

  .btn-reserve {
    padding: 0.75rem 1rem;
    font-size: 0.85rem;
    width: 100%;
  }
}