/* Layout */

/* * {
  outline: 1px red solid !important;
} */

.pd-container {
  display: flex;
  gap: 20px;
  padding: 20px;
  background-color: #f8fafc;
}

.pd-left {
  width: 70%;
}

.pd-right {
  width: 30%;
}

/* Image */
.pd-main-image {
  position: relative;
}

.pd-main-image img {
  width: 100%;
  border-radius: 12px;
}

/* Badges */
.pd-badge {
  position: absolute;
  top: 10px;
  padding: 5px 10px;
  border-radius: 6px;
  color: white;
}

.pd-featured {
  background: #ff6b2c;
  color: white;
  padding: 5px 10px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  left: 10px;
}

.pd-verified {
  background: #16a34a;
  color: white;
  padding: 5px 10px;
  border-radius: 6px;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 5px;
  right: 10px;
}

/* Header */
.pd-header {
  display: flex;
  justify-content: space-between;
  margin-top: 15px;
}

.pd-price {
  color: #14b8a6;
  font-size: 22px;
}

/* Features */
.pd-features {
  display: flex;
  gap: 15px;
  margin: 20px 0;
}

/* Specs */
.pd-specs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}

/* Section */
.pd-section {
  margin-top: 30px;
}

.pd-section-title {
  margin-bottom: 10px;
}

/* Amenities */
.pd-amenities {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

/* Floor */
.pd-floor-img {
  width: 100%;
  border-radius: 10px;
}

/* Map */
.pd-map {
  height: 200px;
  background: #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Sidebar */
.pd-card {
  background: white;
  padding: 20px;
  border-radius: 10px;
  margin-bottom: 20px;
}

/* Buttons */
.pd-btn {
  width: 100%;
  padding: 10px;
  margin-top: 10px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

.pd-btn-primary {
  background: #14b8a6;
  color: white;
}
/* ACTION BUTTONS CONTAINER */
.pd-actions {
  position: absolute;
  bottom: 15px;
  right: 15px;
  display: flex;
  gap: 10px;
}

/* COMMON BUTTON STYLE */
.pd-action-btn {
  background: #fff;
  border: none;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 16px;
  cursor: pointer;
  transition: 0.3s;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* ICON DEFAULT */
.pd-action-btn i {
  color: #333;
  transition: 0.3s;
}

/* HOVER EFFECT */
.pd-action-btn:not(.pd-like):hover {
  background: #f0f4f8;
}

.pd-action-btn:not(.pd-like):hover i {
  color: #000000;
}
/* ❤️ HEART ACTIVE STATE */
.pd-like.active {
  background: #ff3b3b;
}

.pd-like.active i {
  color: #fff;
}
/* EMI */
.pd-emi-box {
  background: linear-gradient(to right, #14b8a6, orange);
  color: white;
  padding: 15px;
  border-radius: 10px;
  text-align: center;
}

/* Safety */
.pd-safety {
  background: #e6fffa;
}
/* GALLERY */
.pd-gallery {
  margin-bottom: 20px;
  padding-bottom: 12px;
  border: 1px solid #0000001c;
  border-radius: 14px;
}

.pd-main-image {
  position: relative;
  border-radius: 12px 12px 0 0;
  overflow: hidden;
}

.pd-main-image img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 12px 12px 0 0;
}

/* ARROWS */
.pd-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: white;
  border: none;
  padding: 9px 15px;
  border-radius: 50%;
  cursor: pointer;
}

.pd-arrow.left {
  left: 10px;
}
.pd-arrow.right {
  right: 10px;
}

/* COUNT */
.pd-count {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: rgba(0, 0, 0, 0.6);
  color: white;
  padding: 5px 10px;
  border-radius: 20px;
}

/* THUMBNAILS */
.pd-thumbnails {
  display: flex;
  gap: 10px;
  margin-top: 35px;
  background-color: #f0f0f56e;
  justify-content: center;
}

.pd-thumbnails img {
  width: 161px;
  height: 90px;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  opacity: 0.6;
  border: 2px solid transparent;
}

.pd-thumbnails img.active {
  opacity: 1;
  border-color: #14b8a6;
}

/* BACK BAR */
.pd-back {
  margin-bottom: 12px;
  padding: 17px 20px;
  border-bottom: 1px solid #00000021;
  box-shadow: 1px 1px 20px 1px #0000000d;
}

/* LINK STYLE */
.pd-back a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #14b8a6;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: 0.3s;
}

/* HOVER EFFECT */
.pd-back a:hover {
  text-decoration: underline;
  text-decoration-thickness: 1.5px; /* increase thickness */
  text-decoration-color: #14b8a6;
}
.fa-angle-left {
  color: #14b8a6;
}
/* ICON */
.pd-back i {
  font-size: 14px;
}

@media (max-width: 968px) {
  .pd-container {
    flex-direction: column;
    padding: 5px 12px;
  }
  .pd-left,
  .pd-right {
    width: 100%;
  }
  .pd-thumbnails img {
    scale: 0.8;
    opacity: 1;
  }
  .pd-thumbnails {
    scale: 0.8;
  }
}
@media (max-width: 720px) {
  .pd-thumbnails img {
    scale: 0.9;
  }
  .pd-thumbnails {
    scale: 0.6;
    gap: 2px;
    margin-top: 10px;
  }
  .pd-thumbnails img.active {
    box-shadow: 7px -6px 3px 0px black;
  }
  #pd-map {
    height: 250px;
  }
}
@media (max-width: 568px) {
  .pd-thumbnails img {
    scale: 0.8;
  }
  .pd-thumbnails {
    scale: 0.42;
    margin-top: 0px;

    margin-bottom: -16px;
  }
}
@media (max-width: 380px) {
  .pd-thumbnails img {
    scale: 0.8;
  }
  .pd-thumbnails {
    scale: 0.38;
    margin-top: 0px;

    margin-bottom: -16px;
  }
}
@media (max-width: 336px) {
  .pd-thumbnails img {
    scale: 0.8;
  }
  .pd-thumbnails {
    scale: 0.3;
    margin-top: 0px;

    margin-bottom: -16px;
  }
}
/* ............................................................................... */
/* RIGHT SECTION */

.pd-right {
  position: sticky;
  top: 20px; /* distance from top */
  height: fit-content;
}
/* CARD */
.pd-card {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  width: 430px;
  height: 578px;
}

/* CENTER ALIGN */
.pd-agent-card {
  text-align: center;
  height: max-content;
  box-shadow: none;
  border: 1px solid #e5e7eb;
  width: 100%;
}

/* AVATAR */
.pd-avatar {
  width: 70px;
  height: 70px;
  margin: 0 auto 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, #14b8a6, #f97316);
  color: #fff;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* NAME */
.pd-agent-name {
  font-size: 18px;
  margin: 2px 0;
  font-weight: 100;
  margin-top: 20px;
}

/* VERIFIED BADGE */
.pd-verified-badge {
  display: inline-block;
  background: #e6f7ef;
  color: #16a34a;
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 13px;
  margin: 8px 0;
}

/* INFO */
.pd-agent-info {
  color: #666;
  font-size: 14px;
  margin: 10px 0;
}

/* BUTTON BASE */
.pd-btn {
  width: 100%;
  padding: 12px;
  margin-top: 10px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  font-size: 14px;
  transition: 0.3s;
}

/* CALL BUTTON */
.pd-call-btn {
  background: #14b8a6;
  color: #fff;
  margin-top: 40px;
}

/* OUTLINE BUTTON */
.pd-outline-btn {
  background: #f3f4f6;
  border: 1px solid #ddd;
}

.pd-outline-btn:hover {
  background: #ff6b3d;
  color: #fff;
}

/* LIGHT BUTTON */
.pd-light-btn {
  background: #f3f4f6;
  margin-bottom: 28px;
}

/* HOVER */
.pd-btn:hover {
  opacity: 0.9;
}

/* DIVIDER */
.pd-divider {
  margin: 20px 0;
  border: none;
  border-top: 1px solid #eee;
}

/* SUBSCRIBE */
.pd-subscribe h4 {
  font-size: 15px;
  margin-bottom: 15px;
  text-align: left;
  margin-top: 25px;
}

/* INPUT BASE STYLE (IMPORTANT) */
.pd-subscribe input {
  width: 100%;
  padding: 12px;
  border: 1px solid #d1d5db1a; /* required for border-color to work */
  border-radius: 8px;
  font-size: 14px;
  transition: 0.3s;
  outline: none;
}

/* FOCUS EFFECT */
.pd-subscribe input:focus {
  border-color: #1aa89e;
  box-shadow: 0 0 0 3px rgba(45, 195, 185, 0.4);
}

/* SUBSCRIBE BUTTON */
.pd-subscribe-btn {
  background: #f3f4f6;
  border: 1px solid #ddd;
}

.pd-subscribe-btn:hover {
  background: #ff6b3d;
  color: #fff;
  border: 1px solid #ddd;
}

/* /////////////////////////////////////////////////////////////////////////// */
/* CARD */
.pd-details-card {
  background: #fff;
  border-radius: 14px;
  padding: 30px 20px;
  border: 1px solid #0000001c;
}

/* HEADER */
.pd-details-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
}

.pd-title {
  font-size: 36px;
  margin-bottom: 11px;
  font-weight: unset;
}

.pd-location {
  color: #6b7280;
  font-size: 17px;
  margin-bottom: 11px;
}

.pd-meta {
  font-size: 13px;
  color: #7a828f;
  margin-bottom: 27px;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
}

/* PRICE */
.pd-price-box {
  font-size: 36px;
  font-weight: unset;
  color: #14b8a6;
  text-align: right;
  white-space: nowrap;
}

@media (max-width: 400px) {
  .pd-title {
    font-size: 28px;
  }
  .pd-price-box {
    font-size: 30px;
  }
}

.pd-price-box span {
  display: block;
  font-size: 15px;
  color: #6b7280;
}

/* FEATURES ROW */
.pd-features-row {
  display: flex;
  justify-content: space-between;
  text-align: center;
  padding: 10px 0;
}

.pd-feature {
  flex: 1;
}

/* ICON */
.pd-icon {
  width: 60px;
  height: 60px;
  background: #e6f7f5;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 8px;
  color: #14b8a6;
  font-size: 18px;
}

/* FEATURE TEXT */
.pd-feature h4 {
  margin: 3px 10px;
  font-size: 20px;
  font-weight: 100;
}

.pd-feature p {
  font-size: 13px;
  color: #6b7280;
}

/* SPEC GRID */
.pd-spec-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin-top: 10px;
}

.pd-spec-grid span {
  display: block;
  font-size: 14px;
  color: #6b7280;
  margin-bottom: 7px;
}

.pd-spec-grid b {
  font-size: 14px;
}

/* AVAILABLE GREEN */
.pd-available {
  color: #16a34a;
}

/* ABOUT */
.pd-about h2 {
  font-size: 26px;
  margin-bottom: 22px;
  margin-top: 45px;
}

.pd-about p {
  font-size: 16px;
  color: #8d8e90;
  line-height: 1.6;
}

/* DIVIDER */
.pd-details-card hr {
  border: none;
  border-top: 1px solid #000000b5;
  margin: 18px 0;
}
/* //////////////////////////////////////////////////////////////////////////////// */
/* SECTION */
.pd-Amentities-section {
  background: #fff;
  padding: 24px;
  border-radius: 12px;
  margin-top: 25px;
  border: 1px solid #0000001c;
  padding-top: 30px;
}

.pd-section-title {
  font-size: 23px;
  margin-bottom: 47px;
  font-weight: 100;
}

/* GRID */
.pd-amenities {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

/* CARD */
.pd-amenity-card {
  background: #f8fafc;
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  transition: 0.3s;
}

/* HOVER */
.pd-amenity-card:hover {
  background-color: #f1f5f9;
}

/* ICON CIRCLE */
.pd-amenity-icon {
  width: 50px;
  height: 50px;
  background: #e6f7f5;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px;
  color: #14b8a6;
  font-size: 18px;
}

/* TITLE */
.pd-amenity-card h4 {
  font-size: 15px;
  margin-bottom: 6px;
  font-weight: 600;
  margin-top: 10px;
}

/* SUBTEXT */
.pd-amenity-card p {
  font-size: 13px;
  color: #6b7280;
}

/* //////////////////////////////////////////////////////////////////////////// */
/* SECTION CARD */
.pd-features-specs {
  background: #fff;
  padding: 30px 25px;
  border-radius: 12px;
  border: 1px solid #0000001c;
  margin-top: 20px;
}

/* TITLE */
.pd-section-title {
  font-size: 23px;
  font-weight: 100;
  margin-bottom: 61px;
}

/* GRID (2 COLUMNS) */
.pd-specs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

/* LIST RESET */
.pd-spec-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* LIST ITEM */
.pd-spec-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 30px;
  font-size: 15px;
  color: #333;
}

/* ICON STYLE */
.pd-spec-list i {
  color: #22c55e; /* green */
  font-size: 18px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .pd-spec-grid {
    grid-template-columns: 1fr; /* single column on mobile */
  }
}

/* ///////////////////////////////////////////////////////////////////////////////////////////////////////////////// */

/* SECTION */
.pd-floor-section {
  background: #fff;
  padding: 25px;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  margin-top: 20px;
}

/* TITLE */
.pd-section-title {
  font-size: 24px;
  font-weight: 100;
  margin-bottom: 45px;
}

/* IMAGE BOX */
.pd-floor-img-box img {
  width: 100%;
  border-radius: 12px;
  display: block;
}

/* BUTTON CONTAINER */
.pd-floor-actions {
  display: flex;
  gap: 20px;
  margin-top: 20px;
}

/* BUTTON STYLE */
.pd-floor-btn {
  flex: 1;
  padding: 8px;
  border: 1px solid #e5e7eb;
  background: #f9fafb;
  border-radius: 8px;
  font-size: 14px;
  cursor: pointer;
  transition: 0.3s;
  margin-top: 20px;
}

/* ICON */
.pd-floor-btn i {
  margin-right: 8px;
}

/* 🔥 HOVER EFFECT (ORANGE) */
.pd-floor-btn:hover {
  background: #ff6b3d;
  color: #fff;
  border-color: #ff6b3d;
}

/* ---------------------------------------------------------------------------------------- */
/* SECTION */
.pd-location-section {
  background: #fff;
  padding: 30px 25px;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  margin-top: 20px;
}

/* TITLE */
.pd-section-title {
  font-size: 22px;
  margin-bottom: 55px;
}
@media (max-width: 768px) {
  .pd-specs-grid {
    display: unset;
  }
}

/* MAP */
#pd-map {
  height: 300px;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 50px;
  margin-top: 48px;
}
@media (max-width: 480px) {
  .pd-floor-btn {
    font-size: 12px;
  }
  #pd-map {
    height: 250px;
  }
}

/* LIST */
.pd-nearby-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* ITEM */
.pd-nearby-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f9fafb;
  padding: 15px;
  border-radius: 10px;
}

.pd-nearby-item:hover {
  background-color: #f1f5f9;
}

/* LEFT SIDE */
.pd-nearby-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* ICON */
.pd-icon {
  width: 40px;
  height: 40px;
  background: #d1f0ec;
  color: #14b8a6;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

/* TEXT */
.pd-nearby-item h4 {
  margin: 0;
  font-size: 15px;
}

.pd-nearby-item span {
  font-size: 12px;
  color: #6b7280;
}

/* DISTANCE */
.pd-distance {
  color: #14b8a6;
  font-size: 14px;
  font-weight: 500;
}

/* -------------------------------------------------------------------------------------------- */
/* CARD */
.pd-emi-card {
  padding: 26px 20px;
  height: max-content;
  box-shadow: none;
  border: 1px solid #e5e7eb;
}

/* TITLE */
.pd-card-title {
  font-size: 20px;
  margin-bottom: 48px;
  color: #222;
  font-weight: 100;
}

/* GROUP */
.pd-emi-group {
  margin-bottom: 20px;
}

.pd-emi-group label {
  display: block;
  font-size: 14px;
  margin-bottom: 8px;
  color: #333;
}

/* SLIDER */
.pd-emi-group input[type="range"] {
  width: 100%;
  appearance: none;
  height: 6px;
  background: #ddd;
  border-radius: 10px;
  outline: none;
}

/* THUMB */
.pd-emi-group input[type="range"]::-webkit-slider-thumb {
  appearance: none;
  width: 16px;
  height: 16px;
  background: #9b59b6;
  border-radius: 50%;
  cursor: pointer;
}

/* RESULT BOX */
.pd-emi-result {
  margin-top: 20px;
  padding: 20px;
  border-radius: 12px;
  background: linear-gradient(135deg, #14b8a6, #ff7a45);
  color: #fff;
}

.pd-emi-result p {
  margin: 0;
  font-size: 14px;
}

.pd-emi-result h2 {
  margin: 5px 0 0;
  font-size: 28px;
  font-weight: 100;
}

/* SUMMARY */
.pd-emi-summary {
  display: flex;
  gap: 15px;
  margin-top: 15px;
}

.pd-emi-summary div {
  flex: 1;
  background: #f3f4f6;
  padding: 15px;
  border-radius: 10px;
}

.pd-emi-summary p {
  font-size: 13px;
  color: #666;
}

.pd-emi-summary h4 {
  margin-top: 5px;
  font-size: 16px;
}

.fa-arrow-trend-up {
  color: #14b8a6;
  margin-right: 7px;
}
/* ------------------------------------------------------------------------------------------- */
/* SAFETY CARD */
.pd-safety-card {
  border: 1px solid #b2f5ea;
  background: #f0fdfa;
  padding: 20px;
  border-radius: 12px;
  margin-top: 20px;
  height: auto;
  padding-top: 25px;
}

/* TITLE */
.pd-safety-title {
  font-size: 18px;
  color: #000000;
  margin-bottom: 40px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 100;
}
.pd-safety-title .fa-shield {
  color: #14b8a6;
}

/* LIST */
.pd-safety-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.pd-safety-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  color: #8f9eae;
  font-size: 14px;
}

/* CHECK ICON */
.pd-safety-list i {
  color: #22c55e;
  font-size: 16px;
}

/* REPORT BUTTON */
.pd-report-btn {
  width: 100%;
  margin-top: 15px;
  padding: 8px 12px;
  border-radius: 6px;
  border: 1px solid #e5e7eb;
  background: #f8fafc;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: 0.3s;
  width: 430px;
}

/* 🔥 HOVER EFFECT */
.pd-report-btn:hover {
  background: #ff7a45;
  color: #fff;
  border-color: #ff7a45;
}

/* ------------------------------------------------------------------------------------------ */
.sim-property h1 {
  margin-left: 20px;
  font-weight: 100;
  margin-bottom: 20px;
  margin-top: 45px;
}

.property-grid {
  padding: 20px;
}

/* -------------------------------------------------------------------------------------------- */
/* OVERLAY */
.pd-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

/* SHOW */
.pd-modal.active {
  display: flex;
}

/* MODAL BOX */
.pd-modal-box {
  background: #fff;
  width: 420px;
  max-width: 95%;
  border-radius: 8px;
  padding: 25px;
  position: relative;
  animation: fadeIn 0.3s ease;
}

/* CLOSE BUTTON */
.pd-close-btn {
  position: absolute;
  top: 12px;
  right: 15px;
  border: none;
  background: none;
  font-size: 22px;
  cursor: pointer;
}

/* TEXT */
.pd-modal-box h2 {
  margin-bottom: 5px;
  font-size: 21px;
  font-weight: 400;
}

.pd-sub-text {
  color: #777;
  font-size: 13px;
  margin-bottom: 15px;
}

/* FORM */
.pd-modal-box form {
  display: flex;
  flex-direction: column;
}

.pd-modal-box label {
  font-size: 13px;
  margin: 10px 0 5px;
  font-weight: 500;
}

/* INPUTS */
.pd-modal-box input,
.pd-modal-box textarea,
.pd-modal-box select {
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 8px;
  outline: none;
  transition: 0.3s;
}

/* FOCUS EFFECT */
.pd-modal-box input:focus,
.pd-modal-box textarea:focus,
.pd-modal-box select:focus {
  border-color: #14b8a6;
  box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.2);
}

.pd-modal-box textarea {
  resize: vertical;
  margin-bottom: 17px;
}

/* CHECKBOX */
.pd-checkbox {
  margin-top: 10px;
  font-size: 13px;
}
.pd-checkbox-input {
  width: unset;
}
/* BUTTON */
.pd-submit-btn {
  margin-top: 15px;
  padding: 8px 12px;
  border: none;
  background: #14b8a6;
  color: white;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s;
}

.pd-submit-btn:hover {
  background: #19cdb8;
}

/* ANIMATION */
@keyframes fadeIn {
  from {
    transform: translateY(20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
