/* Property detail premium styles for property.php */
.property-premium-section .property-premium-grid {
  margin-top: 6px;
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
}

.property-premium-section .property-media-card,
.property-premium-section .property-detail-card {
  height: 100%;
  border-radius: 16px;
  border: 1px solid rgba(88, 88, 91, 0.2);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.97), rgba(247, 247, 248, 0.9));
  box-shadow: 0 16px 34px rgba(26, 28, 34, 0.11);
}

.property-premium-section .property-media-card {
  padding: 12px;
}

.property-premium-section #photo_container {
  margin: 0;
}

.property-premium-section #main_photo {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 14px 28px rgba(22, 24, 30, 0.14);
  background: #d6d8de;
}

.property-premium-section #main_photo img {
  width: 100%;
  height: auto;
  display: block;
}

.property-premium-section #thumbnail {
  margin-top: 12px;
  margin-bottom: 0;
}

.property-premium-section #thumbnail li a {
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid transparent;
  display: block;
  box-shadow: 0 8px 18px rgba(15, 18, 24, 0.14);
}

.property-premium-section #thumbnail li.current a {
  border-color: rgba(227, 27, 45, 0.55);
}

.property-premium-section .property-detail-card {
  padding: clamp(18px, 2.8vw, 26px);
}

.property-premium-section .detalle-prop .direccion {
  margin-top: 0;
  color: #2f3137;
  font-size: clamp(1.16em, 2.6vw, 1.44em) !important;
  line-height: 1.34;
}

.property-premium-section .detalle-prop .direccion .glyphicon {
  color: #e31b2d;
  margin-right: 5px;
}

.property-premium-section .detalle-prop .precio {
  margin: 12px 0;
  display: inline-flex;
  align-items: center;
  font-size: 1.08em !important;
  color: #e31b2d;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 700;
  background: rgba(227, 27, 45, 0.08);
  border: 1px solid rgba(227, 27, 45, 0.23);
  border-radius: 999px;
  padding: 6px 11px;
}

.property-premium-section .detalle-prop .titulo_descripcion_propiedad {
  margin: 12px 0 8px;
  color: #2f3034;
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0.01em;
}

.property-premium-section .detalle-prop .descripcion_propiedad {
  color: #4d515a;
  line-height: 1.62;
  margin-bottom: 14px;
}

.property-premium-section .detalle-prop .link_destacado {
  width: 100%;
  text-align: center;
  border-radius: 10px;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.35;
  white-space: normal;
  word-break: break-word;
  background: linear-gradient(135deg, #e31b2d 0%, #bf1222 100%);
  border: 1px solid rgba(161, 14, 29, 0.9);
  box-shadow: 0 10px 20px rgba(191, 18, 34, 0.25);
}

.property-premium-section .detalle-prop .link_destacado:hover,
.property-premium-section .detalle-prop .link_destacado:focus {
  background: linear-gradient(135deg, #ef2339 0%, #ca1628 100%);
  box-shadow: 0 14px 24px rgba(191, 18, 34, 0.3);
}

.property-premium-section .property-back-link {
  margin: 14px 0 0;
}

.property-premium-section .property-back-link a {
  color: #2f3137;
  font-weight: 600;
}

.property-premium-section .property-back-link a:hover,
.property-premium-section .property-back-link a:focus {
  color: #b51225;
}

.property-premium-section .property-map-frame {
  margin-top: 12px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(88, 88, 91, 0.24);
  box-shadow: 0 16px 32px rgba(24, 25, 29, 0.12);
}

.property-premium-section .property-map-frame iframe {
  display: block;
}

.property-premium-section .property-related-head {
  margin-top: 26px;
}

.property-premium-section .property-related-head .destacadas {
  margin: 0;
}

@media (max-width: 991px) {
  .property-premium-section .property-media-card {
    margin-bottom: 14px;
  }

  .property-premium-section .listing-premium-metric {
    min-width: 0;
  }
}

@media (max-width: 640px) {
  .property-premium-section .property-media-card,
  .property-premium-section .property-detail-card,
  .property-premium-section .property-map-frame {
    border-radius: 14px;
  }

  .property-premium-section .property-media-card {
    padding: 10px;
  }

  .property-premium-section .property-detail-card {
    padding: 16px 14px;
  }
}
