@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600;700&display=swap');
body, html {
  /* font-family removed, global font applies */
}
/* Banner overlay and text styles */
.pd-banner-overlay {
  position: relative;
  width: 100%;
  height: 180px;
}
.pd-banner-img-dark {
  filter: brightness(0.5);
}
.pd-banner-texts {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 2;
}
.pd-banner-title {
  color: #fff;
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: 1px;
  margin-bottom: 8px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.25);
}
.pd-banner-subtitle {
  color: #fff;
  font-size: 1.1rem;
  font-weight: 500;
  text-shadow: 0 2px 8px rgba(0,0,0,0.18);
}
/* Product Details Page Styles */
.pd-banner-section {
  width: 100%;
  height: 180px;
  overflow: hidden;
  background: #eaf3fb;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pd-banner-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}
.pd-hero-section {
  width: 100%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 16px 0 0 0;
}
.pd-hero-img {
  width: 100%;
  max-width: 900px;
  height: 340px;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 4px 32px 0 rgba(59,130,246,0.10);
}
.pd-details-section {
  display: flex;
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 0;
}
.pd-details-main {
  flex: 2;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
  padding: 32px 24px;
}
.pd-labels {
  display: flex;
  gap: 12px;
  margin-bottom: 8px;
}
.pd-label {
  background: #3B82F6;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 8px;
  padding: 4px 14px;
  display: inline-block;
}
.pd-label.urgent {
  background: #f43f5e;
}
.pd-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 8px 0 4px 0;
}
.pd-location {
  color: #64748b;
  font-size: 1rem;
  margin-bottom: 8px;
}
.pd-price {
  color: #2563eb;
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.pd-price-unit {
  color: #64748b;
  font-size: 1rem;
  font-weight: 400;
}
.pd-features {
  display: flex;
  gap: 18px;
  font-size: 1rem;
  color: #334155;
  margin-bottom: 10px;
}
.pd-actions {
  display: flex;
  gap: 12px;
  margin-bottom: 10px;
}
.pd-review-btn, .pd-wishlist-btn {
  background: #3B82F6;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 6px 18px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}
.pd-review-btn:hover, .pd-wishlist-btn:hover {
  background: #2563eb;
}
.pd-meta {
  color: #64748b;
  font-size: 0.98rem;
  margin-bottom: 16px;
}
.pd-details-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 24px;
  margin-bottom: 18px;
  color: #334155;
  font-size: 1rem;
}
.pd-description {
  margin-bottom: 18px;
}
.pd-accordion {
  width: 100%;
  background: #eaf3fb;
  color: #334155;
  border: none;
  border-radius: 8px;
  padding: 10px 16px;
  font-size: 1.1rem;
  font-weight: 600;
  text-align: left;
  margin-bottom: 4px;
  cursor: pointer;
  transition: background 0.2s;
}
.pd-accordion:hover {
  background: #dbeafe;
}
.pd-panel {
  background: #fff;
  border-radius: 8px;
  padding: 14px 16px;
  margin-bottom: 8px;
  color: #334155;
  font-size: 1rem;
}
.pd-map {
  margin-bottom: 18px;
}
.pd-sidebar {
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
  display: block;
  min-width: unset;
  max-width: unset;
  height: auto;
.pd-agent-card, .pd-contact-form {
  background: #f1f5f9;
  border-radius: 16px;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
  padding: 24px 18px;
  margin-bottom: 18px;
}
.pd-contact-form {
  margin-bottom: 0;
}
}
.pd-agent-card {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}
.pd-agent-avatar {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  object-fit: cover;
  background: #eaf3fb;
}
.pd-agent-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.pd-agent-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: #222;
}
.pd-agent-email a {
  color: #3B82F6;
  font-size: 0.98rem;
  text-decoration: none;
}
.pd-contact-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pd-contact-form input,
.pd-contact-form textarea {
  width: 100%;
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid #dbeafe;
  font-size: 1rem;
  background: #fff;
  color: #222;
}
.pd-contact-form textarea {
  min-height: 60px;
  resize: vertical;
}
.pd-captcha {
  margin: 8px 0;
}
.pd-send-btn {
  background: #3B82F6;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 10px 0;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
}
.pd-send-btn:hover {
  background: #2563eb;
}
@media (max-width: 900px) {
  .pd-details-section {
    flex-direction: column;
    gap: 18px;
    padding: 18px 0;
  }
  .pd-sidebar {
    max-width: 100%;
    min-width: 0;
    padding: 18px 8px;
  }
}
@media (max-width: 600px) {
  .pd-banner-section {
    height: 130px;
    min-height: 130px;
  }
  .pd-banner-overlay {
    height: 130px;
    min-height: 130px;
  }
  .pd-banner-img {
    height: 130px;
    min-height: 130px;
  }
  .pd-hero-img {
    height: 120px;
    border-radius: 8px;
  }
  .pd-details-main {
    padding: 12px 4px;
  }
  .pd-sidebar {
    padding: 10px 2px;
  }
}

.pd-hero-carousel {
  position: relative;
  max-width: 100%;
  overflow: hidden;
}
.pd-hero-slide {
  text-align: center;
}
.pd-hero-img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: 12px;
}
.pd-hero-prev, .pd-hero-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(34,64,142,0.18);
  border: none;
  color: #2563eb;
  font-size: 2rem;
  padding: 0 12px;
  cursor: pointer;
  border-radius: 50%;
  z-index: 2;
}
.pd-hero-prev { left: 12px; }
.pd-hero-next { right: 12px; }

.pd-hero-section {
  width: 100%;
  max-width: 1100px; /* or match your .pd-details-section max-width */
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  margin-top: 25px;
}

.pd-hero-carousel, .pd-hero-img {
  width: 100%;
  max-width: 100%;
  min-width: 0;
}