/* =========================
   HIDE GOOGLE TRANSLATE UI
========================= */

/* felső sáv */
.goog-te-banner-frame {
  display: none !important;
}

/* body eltolás megszüntetése */
body {
  top: 0 !important;
}

/* jobb alsó buborék */
.goog-te-gadget,
.goog-te-gadget-simple,
.goog-te-menu-value,
.goog-te-balloon-frame {
  display: none !important;
}

/* iframe-ek */
iframe.goog-te-banner-frame {
  display: none !important;
}

.dpi-single {
  max-width: 100%;
  overflow-x: hidden;
}

.dpi-single-wrapper {
  max-width: 1200px;
  margin: 40px auto;
  padding: 10px;
  font-family: Inter, sans-serif;
}

.dpi-single-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 30px;
}

.dpi-single-pricebox {
  text-align: right;
}

.dpi-single-price {
  font-size: 32px;
  font-weight: 700;
}

.dpi-single-meta div {
  color: #777;
}

.dpi-single-gallery {
  width: 100%;
  height: 420px;
  margin-bottom: 40px;
}
.dpi-single-gallery img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 12px;
}

.dpi-section {
  margin-top: 40px;
}

.dpi-details-grid,
.dpi-payment-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.dpi-floorplan-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.dpi-floorplan-item img {
  width: 100%;
  border-radius: 8px;
}

/* ===== PROPERTY GALLERY ===== */

.dpi-gallery {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* MAIN IMAGE */
.dpi-gallery-main {
  width: 100%;
  height: 300px;
  border-radius: 14px;
  overflow: hidden;
  background: #f5f5f5;
  touch-action: pan-y;
}

.dpi-gallery-main img {
  width: 100%;
  height: 100% !important;
  object-fit: cover;
}

/* THUMB STRIP */
.dpi-gallery-thumbs {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 6px;
}

.dpi-gallery-thumbs::-webkit-scrollbar {
  height: 6px;
}

.dpi-gallery-thumbs::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 6px;
}

/* SINGLE THUMB */
.dpi-gallery-thumb {
  flex: 0 0 auto;
  width: 110px;
  height: 72px;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  opacity: 0.6;
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}

.dpi-gallery-thumb img {
  width: 100%;
  height: 100% !important;
  object-fit: cover;
}

.dpi-gallery-thumb.active {
  opacity: 1;
  outline: 2px solid #475569;
}

.dpi-gallery-thumb:hover {
  opacity: 1;
  transform: translateY(-2px);
}

.dpi-toolbar {
  display: flex;
  gap: 16px;
  margin-bottom: 30px;
}

#dpi-search {
  flex: 1;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  font-size: 15px;
}

#dpi-currency,
#dpi-limit {
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  font-size: 14px;
  cursor: pointer;
}

.dpi-price-inline {
  display: flex;
  align-items: center;
  gap: 12px;
}

.dpi-currency-inline {
  border: none;
  background: transparent;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  color: #475569;
}

.dpi-currency-inline:focus {
  outline: none;
}

/* =========================
   DESCRIPTION + MAP LAYOUT
========================= */

.dpi-desc-map {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 32px;
  align-items: start;
}

.dpi-desc {
  font-size: 14px;
  line-height: 1.7;
}

.dpi-map-wrap {
  width: 100%;
  height: 100%;
}

.dpi-map {
  width: 100%;
  height: 320px;
  border: 0;
  border-radius: 12px;
}

/* =========================
   MOBILE
========================= */
@media (max-width: 768px) {
  .dpi-desc-map {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .dpi-map {
    height: 260px;
  }
}

/* MOBILE */
@media (max-width: 768px) {
  .dpi-price-inline {
    flex-wrap: wrap;
    gap: 8px;
  }

  .dpi-currency-inline {
    font-size: 13px;
  }
}

/* MOBILE */
@media (max-width: 768px) {
  .dpi-gallery-main {
    height: 260px;
  }

  .dpi-gallery-thumb {
    width: 88px;
    height: 58px;
  }
}
/* =========================
   AMENITIES – INLINE / TAG STYLE
========================= */

/* =========================
   AMENITIES – MAX 3 / ROW
========================= */

.dpi-amenities {
  list-style: none;
  padding: 0;
  margin: 12px 0 0;

  display: grid;
  grid-template-columns: repeat(3, max-content);
  gap: 10px 14px;
}

/* egy amenities "chip" */
.dpi-amenities li {
  display: inline-flex;
  align-items: center;

  padding: 6px 12px;
  border-radius: 999px;

  background: #f1f5f9;
  color: #334155;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
}

/* piktogram */
.dpi-amenities li::before {
  content: "✓";
  color: #10b981;
  font-weight: bold;
  margin-right: 6px;
  background: #f1f5f9 !important;
  margin-right: 10px !important;
}

@media (max-width: 768px) {
  .dpi-amenities li {
    font-size: 14px;
    padding: 8px 14px;
  }
}

/* =========================
   HERO LAYOUT (TOP SECTION)
========================= */

.dpi-hero {
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  gap: 32px;
  align-items: stretch;
  margin-bottom: 40px;
}

@media (max-width: 900px) {
  .dpi-hero {
    grid-template-columns: 1fr;
  }
}

/* =========================
   RIGHT INFO CARD
========================= */

.dpi-hero-right {
  background: #ffffff;
  border-radius: 18px;
  padding: 28px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.06);

  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

@media (max-width: 768px) {
  .dpi-gallery {
    width: 100%;
  }

  .dpi-gallery-main {
    width: 100%;
    height: 260px;
  }

  .dpi-gallery-thumbs {
    max-width: 100%;
    overflow-x: auto;
  }

  .dpi-gallery-thumb {
    flex: 0 0 auto;
  }
}

.dpi-price-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.dpi-price-starting {
  font-size: 12px;
  color: #64748b; /* szürkés */
  font-weight: 500;
}
