@charset "UTF-8";
:root {
  --pd-primary: #545bc7;
  --pd-bg: #f9fbfd;
  --pd-card: var(--nav-card, #ffffff);
  --pd-text: #222;
  --pd-muted: #555;
  --pd-border: #ddd;
  --pd-radius-sm: 6px;
  --pd-radius-md: 10px;
}

html, body {
  width: 100%;
}

body.pd-page {
  font-family: Arial, sans-serif;
  background: var(--pd-bg);
  margin: 0;
  color: var(--pd-text);
  padding-top: 80px;
}
body.pd-page.modal-open {
  overflow: hidden;
}

.pd-wrapper {
  max-width: 1400px;
  margin: 0 auto;
  padding: 20px;
}

.pd-title {
  text-align: center;
  margin-bottom: 20px;
  font-size: 22px;
  font-weight: bold;
  color: var(--pd-text);
}

.pd-layout {
  display: grid;
  grid-template-columns: 260px 1fr 300px;
  gap: 25px;
  align-items: start;
}
@media (max-width: 1024px) {
  .pd-layout {
    grid-template-columns: 1fr;
  }
}

.pd-col-left {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.pd-owner-card {
  background: var(--pd-card);
  border: 1px solid var(--pd-border);
  border-radius: var(--pd-radius-md);
  padding: 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.pd-owner-card .pd-owner-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  width: 100%;
  text-align: left;
}
.pd-owner-card .pd-owner-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid #ccc;
  flex-shrink: 0;
}
.pd-owner-card .pd-owner-info h4 {
  margin: 0 0 4px;
  font-size: 15px;
  color: #333;
  display: flex;
  align-items: center;
  gap: 6px;
}
.pd-owner-card .pd-owner-info small {
  color: #777;
  font-size: 12px;
}

.pd-circle-btns {
  display: flex;
  gap: 18px;
  justify-content: center;
  margin-bottom: 18px;
  width: 100%;
}

.pd-circle-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}
.pd-circle-wrapper span {
  font-size: 11px;
  color: #444;
  line-height: 1.3;
}

.pd-circle-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid #bbb;
  background: var(--nav-card);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: pointer;
  color: #333;
  transition: background 0.2s, border-color 0.2s;
}
.pd-circle-btn:hover {
  background: #f1f1f1;
}
.pd-circle-btn.saved {
  color: var(--pd-primary);
  border-color: var(--pd-primary);
}

.pd-whatsapp-btn {
  width: 100%;
  background: #25D366;
  color: white;
  border: none;
  padding: 10px;
  border-radius: 20px;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  font-size: 14px;
  margin-top: 4px;
}
.pd-whatsapp-btn:hover {
  background: #1ebe57;
}

.pd-user-row {
  background: var(--pd-card);
  border: 1px solid var(--pd-border);
  border-radius: var(--pd-radius-md);
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.pd-user-row .pd-user-link {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 0;
  text-decoration: none;
  color: inherit;
}
.pd-user-row .pd-user-thumb {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #eee;
  flex-shrink: 0;
}
.pd-user-row .pd-user-info {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.pd-user-row .pd-user-info .pd-user-name {
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #222;
}
.pd-user-row .pd-user-info .pd-user-time {
  font-size: 11px;
  color: #888;
}
.pd-user-row .pd-badge {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.pd-user-row .pd-msg-btn {
  background: var(--nav-input-bg);
  color: var(--nav-text-primary);
  border: 1px solid #999;
  padding: 6px 12px;
  font-size: 12px;
  border-radius: 6px;
  cursor: pointer;
  white-space: nowrap;
}
.pd-user-row .pd-msg-btn:hover {
  background: #eaeaea;
}

.pd-col-center {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.pd-progress {
  position: relative;
  padding-top: 30px;
  margin-bottom: 10px;
}
.pd-progress .pd-progress-line {
  position: absolute;
  top: 14px;
  left: 0;
  right: 0;
  height: 4px;
  background: #e0e0e0;
}
.pd-progress .pd-progress-fill {
  position: absolute;
  top: 14px;
  left: 0;
  height: 4px;
  background: #28a745;
  transition: width 0.4s;
}
.pd-progress .pd-steps {
  display: flex;
  justify-content: space-between;
  position: relative;
  z-index: 2;
}
.pd-progress .pd-step {
  text-align: center;
  width: 33%;
}
.pd-progress .pd-step .pd-step-circle {
  width: 28px;
  height: 28px;
  background: #cfcfcf;
  border-radius: 50%;
  margin: 0 auto;
  position: relative;
}
.pd-progress .pd-step .pd-step-label {
  margin-top: 6px;
  font-size: 11px;
  font-weight: bold;
  color: #555;
}
.pd-progress .pd-step.done .pd-step-circle {
  background: #28a745;
}
.pd-progress .pd-step.done .pd-step-circle::after {
  content: "✓";
  color: white;
  font-weight: bold;
  position: absolute;
  top: 4px;
  left: 8px;
  font-size: 13px;
}

.pd-main-img-box {
  width: 100%;
  height: 400px;
  border-radius: var(--pd-radius-md);
  overflow: hidden;
  background: #eaeaea;
  border: 1px solid var(--pd-border);
  display: flex;
  align-items: center;
  justify-content: center;
}
@media (max-width: 768px) {
  .pd-main-img-box {
    height: 260px;
  }
}
.pd-main-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
  border-radius: var(--pd-radius-md);
}

.pd-thumbs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 4px;
}
.pd-thumbs::-webkit-scrollbar {
  display: none;
}
.pd-thumbs img {
  width: 65px;
  height: 65px;
  border-radius: 8px;
  object-fit: cover;
  cursor: pointer;
  opacity: 0.75;
  border: 2px solid transparent;
  transition: opacity 0.2s, border-color 0.2s;
}
.pd-thumbs img:hover {
  opacity: 1;
}
.pd-thumbs img.active {
  border-color: var(--pd-primary);
  opacity: 1;
}

.pd-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 10px;
}
@media (max-width: 768px) {
  .pd-info-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.pd-info-box {
  border: 1px solid var(--pd-border);
  border-radius: var(--pd-radius-sm);
  padding: 12px 10px;
  background: var(--pd-card);
  text-align: center;
}
.pd-info-box .pd-info-label {
  display: block;
  font-size: 11px;
  color: var(--pd-muted);
  margin-bottom: 5px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}
.pd-info-box h3 {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: #333;
}

.pd-section {
  background: var(--pd-card);
  border: 1px solid var(--pd-border);
  border-radius: var(--pd-radius-md);
  padding: 16px;
}
.pd-section h3 {
  font-size: 16px;
  margin: 0 0 12px;
  color: #333;
  padding-bottom: 8px;
  border-bottom: 1px solid #eee;
}
.pd-section p {
  margin: 0;
  line-height: 1.6;
  color: var(--pd-muted);
  font-size: 14px;
}

.pd-amenities {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.pd-amenities .pd-chip {
  padding: 6px 14px;
  background: #f0f4ff;
  border: 1px solid #d0d8ff;
  border-radius: 20px;
  font-size: 13px;
  color: #333;
}

.pd-nearby-row {
  display: flex;
  gap: 8px;
  flex-wrap: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
}
.pd-nearby-row::-webkit-scrollbar {
  display: none;
}

.pd-nearby-pill {
  padding: 5px 12px;
  background: #f0f0f0;
  border-radius: 20px;
  border: 1px solid var(--nav-border);
  white-space: nowrap;
  font-size: 13px;
  color: #444;
}

.pd-video video {
  width: 100%;
  max-width: 420px;
  border-radius: var(--pd-radius-sm);
  border: 1px solid var(--pd-border);
}

.pd-col-right {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.pd-price-box {
  background: var(--pd-card);
  border: 1px solid var(--pd-border);
  border-radius: var(--pd-radius-md);
  padding: 20px;
  text-align: center;
  font-size: 30px;
  font-weight: bold;
  color: var(--pd-primary);
}
.pd-price-box small {
  display: block;
  font-size: 13px;
  color: #777;
  font-weight: normal;
  margin-top: 4px;
}

.pd-right-card {
  background: var(--pd-card);
  border: 1px solid var(--pd-border);
  border-radius: var(--pd-radius-md);
  padding: 15px;
}
.pd-right-card h3 {
  font-size: 15px;
  margin: 0 0 12px;
  border-bottom: 1px solid #eee;
  padding-bottom: 8px;
  color: #333;
}

.pd-contact-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.pd-contact-btn {
  flex: 1;
  height: 44px;
  border-radius: 12px;
  border: none;
  font-size: 15px;
  font-weight: 600;
  background: var(--pd-primary);
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

[data-theme="dark"] .pd-contact-btn {
  background: #4c3eb6 !important;
}

.pd-contact-btn:hover {
  opacity: 0.9;
}

.pd-icon-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid #ccc;
  background: var(--nav-card);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: pointer;
  color: var(--pd-primary);
  position: relative;
}
.pd-icon-btn:hover {
  background: #f1f1f1;
}

.pd-share-wrap {
  position: relative;
}

.pd-share-box {
  display: none;
  flex-direction: column;
  position: absolute;
  bottom: 52px;
  left: 0;
  width: 210px;
  background: var(--nav-card);
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
  z-index: 999;
  overflow: hidden;
}
.pd-share-box .pd-share-item {
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 14px;
}
.pd-share-box .pd-share-item:hover {
  background: var(--nav-input-bg);
}

.pd-map-box {
  width: 100%;
  height: 180px;
  background: #eee;
  border-radius: var(--pd-radius-sm);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pd-map-box iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.pd-map-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  padding: 8px 14px;
  background: var(--pd-primary);
  color: #fff;
  border-radius: 8px;
  font-size: 13px;
  text-decoration: none;
  font-weight: 500;
}
.pd-map-link:hover {
  opacity: 0.88;
}

.pd-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}
.pd-modal.open {
  display: flex;
}
.pd-modal .pd-modal-img {
  max-width: 95%;
  max-height: 92vh;
  border-radius: 10px;
}
.pd-modal .pd-modal-close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: #fff;
  font-size: 38px;
  cursor: pointer;
}
.pd-modal .pd-modal-prev,
.pd-modal .pd-modal-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 48px;
  color: white;
  cursor: pointer;
  padding: 10px;
  user-select: none;
}
.pd-modal .pd-modal-prev {
  left: 20px;
}
.pd-modal .pd-modal-next {
  right: 20px;
}

@media (max-width: 768px) {
  footer.footer {
    display: none !important;
  }
}
