/* ===================================== */
/* MODAL - DETAILS                      */
/* ===================================== */
/* Detalles de modal movidos a 07-details-modal.css */

@keyframes slideUp {
  from {
    transform: translateY(50px);
    opacity: 0;
  }

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

/* ===================================== */
/* GALLERY CAROUSEL                     */
/* ===================================== */
.gallery-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(14, 20, 31, 0.82);
  padding: 30px;
}

.gallery-modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-content {
  width: min(1100px, 96vw);
  background: #ffffff;
  border-radius: 6px;
  padding: 24px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
  position: relative;
  animation: slideUp 0.25s ease;
}

.gallery-close {
  position: absolute;
  top: 10px;
  right: 12px;
  border: none;
  background: none;
  font-size: 32px;
  color: #7a7f88;
  cursor: pointer;
  line-height: 1;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-close:hover {
  color: #1f2a3b;
}

.gallery-stage {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  background: #ece8df;
}

.gallery-track {
  display: flex;
  transition: transform 0.5s ease;
  will-change: transform;
}

.gallery-slide {
  min-width: 100%;
  width: 100%;
  height: 620px;
  flex: 0 0 100%;
}

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

.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: #1f2a3b;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
}

.gallery-nav:hover {
  background: #ffffff;
}

.gallery-prev {
  left: 14px;
}

.gallery-next {
  right: 14px;
}

.gallery-footer {
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.gallery-counter {
  font-family: 'Poppins', sans-serif;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #1f2a3b;
  font-weight: 600;
}

.gallery-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.gallery-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: #c9c2b4;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.gallery-dot.active {
  background: #b8963a;
  transform: scale(1.15);
}

/* ===================================== */
/* PRICE SUMMARY MODAL                  */
/* ===================================== */
.price-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(14, 20, 31, 0.75);
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.price-modal.active {
  display: flex;
}

.price-modal-content {
  background: #ffffff;
  border-radius: 6px;
  width: min(520px, 96vw);
  padding: 40px 44px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.28);
  position: relative;
  animation: slideUp 0.25s ease;
}

.price-modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  border: none;
  background: none;
  font-size: 28px;
  color: #aaa;
  cursor: pointer;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.price-modal-close:hover {
  color: #1f2a3b;
}

.price-modal-title {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  color: #2c3140;
  font-weight: 700;
  margin-bottom: 6px;
}

.price-modal-subtitle {
  font-family: 'Poppins', sans-serif;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #888;
  font-weight: 600;
  margin-bottom: 28px;
}

.price-modal-promo {
  font-family: 'Poppins', sans-serif;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 800;
  color: #1f2a3b;
  border-bottom: 3px solid #B8963A;
  display: inline-block;
  padding-bottom: 3px;
  margin-bottom: 22px;
}

/* DESGLOSE DE TARIFAS EXACTAS */
.price-rates-breakdown {
  padding: 0;
  margin-bottom: 0;
  background: transparent;
  border: none;
}

.price-breakdown-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 10px 0;
  border-bottom: 1px solid #ede8df;
  font-family: 'Lora', serif;
  font-size: 14px;
  color: #444;
}

.price-breakdown-item:not(:last-child) {
  border-bottom: 1px solid #ede8df;
  margin-bottom: 0;
  padding-bottom: 0;
}

.price-breakdown-item:last-child {
  border-bottom: none;
}

.price-breakdown-item.price-breakdown-single {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.price-breakdown-label {
  flex: 1;
  color: #444;
  font-weight: normal;
}

.price-breakdown-label small {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #aaa;
  margin-top: 2px;
}

.price-breakdown-value {
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #1f2a3b;
  text-align: right;
  white-space: nowrap;
  margin-left: 12px;
}

.price-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 10px 0;
  border-bottom: 1px solid #ede8df;
  font-family: 'Lora', serif;
  font-size: 14px;
  color: #444;
}

.price-row:last-of-type {
  border-bottom: none;
}

.price-tax-block {
  border: 1px solid #e4ddd0;
  background: #faf7f1;
  padding: 8px 12px;
  margin-top: 10px;
}

.price-tax-block .price-row {
  padding: 6px 0;
  border-bottom: 1px solid #e8dfd1;
}

.price-tax-block .price-row:last-of-type {
  border-bottom: none;
}

.price-tax-total-row .price-row-label {
  font-family: 'Poppins', sans-serif;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  font-weight: 700;
  color: #1f2a3b;
}

.price-subrow {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: baseline;
  font-family: 'Lora', serif;
  font-size: 13px;
  color: #495369;
  line-height: 1.2;
  padding: 6px 0;
  border-top: 1px dashed #e8dfd1;
}

.price-subrow span:last-child {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  color: #1f2a3b;
  white-space: nowrap;
}

.price-row-label {
  flex: 1;
}

.price-row-label small {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #aaa;
  margin-top: 2px;
}

.price-row-value {
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #1f2a3b;
  text-align: right;
}

.price-row-value.strike {
  text-decoration: line-through;
  color: #aaa;
  font-weight: 400;
  font-size: 13px;
}

.price-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0 0;
  margin-top: 10px;
  border-top: 2px solid #1f2a3b;
}

.price-total-label {
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 700;
  color: #1f2a3b;
}

.price-total-value {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  font-weight: 700;
  color: #2c3140;
}

.price-modal-note {
  font-family: 'Lora', serif;
  font-size: 12px;
  color: #999;
  margin-top: 18px;
  line-height: 20px;
}

.price-modal-btn {
  width: 100%;
  padding: 15px;
  background: #d8be6f;
  color: #1e2430;
  font-family: 'Poppins', sans-serif;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 12px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  border-radius: 2px;
  margin-top: 24px;
}

.price-modal-btn:hover {
  background: #c9ad5a;
}



.swiper {
  width: 100%;
  height: 100%;

  .col-md-12 {
    padding: 0;
  }

  .swiper-pagination {
    padding-top: 50px;
  }
}

.swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;

  .col-md-12 .row {
    margin: 40px 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);

    .mid-card {
      min-height: 250px;
    }
  }
}

.swiper-pagination-bullet-active {
  background: #B8963A !important;
  opacity: 1;
}

.modal-amenities {
  margin-top: 20px;
}

.card-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    backdrop-filter: blur(4px);
    color: rgb(255, 255, 255);
    font-size: 11px;
    letter-spacing: 2px;
    font-weight: 600;
    text-transform: uppercase;
    background: rgba(184, 139, 74, 0.9);
    padding: 4px 14px;
    border-radius: 20px;
}

/* ===================================== */
/* MOBILE RESPONSIVE - PRICE MODAL      */
/* ===================================== */
@media (max-width: 600px) {
  .price-modal-content {
    padding: 30px 24px;
    width: min(520px, 92vw);
  }

  .price-modal-title {
    font-size: 20px;
    margin-bottom: 4px;
  }

  .price-modal-subtitle {
    font-size: 10px;
    margin-bottom: 20px;
  }

  .price-row {
    font-size: 12px;
    padding: 8px 0;
  }

  .price-row-label small {
    font-size: 9px;
    margin-top: 1px;
  }

  .price-row-value {
    font-size: 12px;
  }

  .price-total-row {
    padding: 14px 0 0;
    margin-top: 8px;
  }

  .price-total-label {
    font-size: 11px;
    letter-spacing: 1px;
  }

  .price-total-value {
    font-size: 22px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .price-modal-btn {
    padding: 12px;
    font-size: 11px;
    margin-top: 18px;
  }
}

.price-modal-btn.is-in-cart,
.price-modal-btn:disabled {
  background: #d7dce5;
  color: #5a6476;
  cursor: not-allowed;
}