/* Single Property Page Styles */
@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@500;700;800&family=Inter:wght@400;500;600&display=swap");

.vente-single-wrapper {
  background-color: #09090b;
  color: #f5f5f7;
  font-family: "Inter", sans-serif;
  padding: 120px 0 40px 0; /* Clear transparent or fixed Elementor headers */
  min-height: 100vh;
}

.vente-single-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Swiper Slider Section */
.vente-single-slider-wrapper {
  margin-bottom: 40px;
  position: relative;
}

.vente-single-slider {
  width: 100%;
  height: 55vh;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.vente-single-slider .swiper-slide {
  background-size: cover;
  background-position: center;
  position: relative;
}

.vente-single-slider .swiper-slide::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0,0,0,0) 60%, rgba(0,0,0,0.4) 100%);
}

.vente-single-slider .swiper-button-prev,
.vente-single-slider .swiper-button-next {
  width: 50px;
  height: 50px;
  background: rgba(24, 24, 28, 0.8);
  border-radius: 50%;
  color: #a8862a !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  transition: all 0.3s ease;
  backdrop-filter: blur(8px);
}

.vente-single-slider .swiper-button-prev:hover,
.vente-single-slider .swiper-button-next:hover {
  background: #a8862a;
  color: #09090b !important;
  transform: scale(1.05);
}

.vente-single-slider .swiper-button-prev::after,
.vente-single-slider .swiper-button-next::after {
  font-size: 18px;
  font-weight: bold;
}

.vente-single-slider .swiper-pagination-bullet-active {
  background: #a8862a !important;
  width: 24px;
  border-radius: 4px;
  transition: all 0.3s ease;
}

/* Two-Column Grid */
.vente-single-grid {
  display: grid;
  grid-template-columns: 1.8fr 1.2fr;
  gap: 40px;
  align-items: start;
}

/* Left Column: Main Details */
.vente-single-main {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.vente-single-header h1 {
  font-family: "Montserrat", sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 10px 0;
  text-transform: uppercase;
  letter-spacing: -0.5px;
  line-height: 1.2;
}

/* Dynamic Specifications Grid */
.vente-single-specs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 15px;
}

.vente-single-spec-card {
  background: #121214;
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 20px 15px;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.vente-single-spec-card:hover {
  transform: translateY(-5px);
  border-color: rgba(168, 134, 42, 0.4);
  box-shadow: 0 15px 30px rgba(168, 134, 42, 0.1);
}

.vente-single-spec-card .spec-icon {
  font-size: 24px;
  display: block;
  margin-bottom: 10px;
}

.vente-single-spec-card .spec-label {
  font-family: "Inter", sans-serif;
  font-size: 11px;
  text-transform: uppercase;
  color: #8e8e93;
  letter-spacing: 0.8px;
  font-weight: 600;
  display: block;
  margin-bottom: 4px;
}

.vente-single-spec-card .spec-value {
  font-family: "Montserrat", sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
}

/* Editorial Content Block */
.vente-single-description-box {
  background: #121214;
  padding: 35px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.vente-single-description-box h2 {
  font-family: "Montserrat", sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  margin: 0 0 20px 0;
  color: #ffffff;
  border-bottom: 2px solid rgba(168, 134, 42, 0.3);
  padding-bottom: 10px;
  display: inline-block;
}

.vente-single-content {
  font-size: 15px;
  color: #e5e5e7;
  line-height: 1.7;
}

.vente-single-content p {
  margin-bottom: 20px;
}

.vente-single-content p:last-child {
  margin-bottom: 0;
}

/* Right Column: Sidebar */
.vente-single-sidebar {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Price Box */
.vente-single-price-card {
  background: linear-gradient(135deg, #d4af37, #a8862a);
  color: #ffffff;
  padding: 24px;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 10px 25px rgba(168, 134, 42, 0.2);
}

.vente-single-price-card .price-label {
  font-family: "Montserrat", sans-serif;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
  display: block;
  margin-bottom: 5px;
  opacity: 0.9;
}

.vente-single-price-card .price-val {
  font-family: "Montserrat", sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.5px;
}

/* Inquiry Form Box */
.vente-single-inquiry-card {
  background: #121214;
  padding: 30px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.vente-single-inquiry-card h3 {
  font-family: "Montserrat", sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 20px 0;
  color: #ffffff;
}

/* Agency Card */
.vente-single-agency-card {
  background: #121214;
  padding: 24px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.vente-single-agency-card h4 {
  font-family: "Montserrat", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  margin: 0;
  color: #a8862a;
}

.agency-contact-row {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13.5px;
  color: #e5e5e7;
  font-weight: 500;
  text-decoration: none !important;
  transition: color 0.3s ease;
}

.agency-contact-row:hover {
  color: #a8862a;
}

.agency-contact-row .contact-icon {
  font-size: 16px;
}

/* Responsive Styles */
@media screen and (max-width: 992px) {
  .vente-single-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .vente-single-sidebar {
    position: static;
  }
}

@media screen and (max-width: 768px) {
  .vente-single-wrapper {
    padding-top: 90px; /* Clear fixed headers on mobile viewports */
  }

  .vente-single-slider {
    height: 40vh;
  }
  
  .vente-single-header h1 {
    font-size: 1.8rem;
  }
  
  .vente-single-description-box {
    padding: 24px;
  }
  
  .vente-single-inquiry-card {
    padding: 24px;
  }
}

/* ================================================================
   Form Placeholders & Inputs — White on Dark Background
   ================================================================ */

/* Placeholder text — white */
body.single-vente .wpforms-form input::placeholder,
body.single-vente .wpforms-form textarea::placeholder,
body.single-vente .wpforms-form select::placeholder {
  color: rgba(255, 255, 255, 0.5) !important;
  opacity: 1 !important;
}

/* Firefox */
body.single-vente .wpforms-form input::-moz-placeholder,
body.single-vente .wpforms-form textarea::-moz-placeholder {
  color: rgba(255, 255, 255, 0.5) !important;
  opacity: 1 !important;
}

/* IE / Edge */
body.single-vente .wpforms-form input:-ms-input-placeholder,
body.single-vente .wpforms-form textarea:-ms-input-placeholder {
  color: rgba(255, 255, 255, 0.5) !important;
}

/* Input & textarea text color */
body.single-vente .wpforms-form input[type="text"],
body.single-vente .wpforms-form input[type="email"],
body.single-vente .wpforms-form input[type="tel"],
body.single-vente .wpforms-form input[type="number"],
body.single-vente .wpforms-form input[type="url"],
body.single-vente .wpforms-form textarea,
body.single-vente .wpforms-form select {
  color: #ffffff !important;
  background-color: rgba(255, 255, 255, 0.06) !important;
  border-color: rgba(255, 255, 255, 0.15) !important;
}

/* Focus state */
body.single-vente .wpforms-form input[type="text"]:focus,
body.single-vente .wpforms-form input[type="email"]:focus,
body.single-vente .wpforms-form input[type="tel"]:focus,
body.single-vente .wpforms-form textarea:focus {
  border-color: #d4af37 !important;
  outline: none !important;
  box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.2) !important;
}

/* Labels */
body.single-vente .wpforms-form .wpforms-field-label {
  color: rgba(255, 255, 255, 0.7) !important;
}

/* Submit Button */
body.single-vente .wpforms-form button[type="submit"],
body.single-vente .wpforms-form .wpforms-submit {
  background-color: #d4af37 !important;
  color: #09090b !important;
  font-family: "Montserrat", sans-serif !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
  border: none !important;
  border-radius: 8px !important;
  padding: 15px 30px !important;
  transition: all 0.3s ease !important;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3) !important;
  width: 100% !important;
  cursor: pointer !important;
  margin-top: 10px !important;
}

body.single-vente .wpforms-form button[type="submit"]:hover,
body.single-vente .wpforms-form .wpforms-submit:hover {
  background-color: #a8862a !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 20px rgba(168, 134, 42, 0.4) !important;
}
