.cd-page-header {
  height: 100vh;
}

.project-detail-breadcrumb,
.project-list-breadcrumb {
    margin-bottom: 30px;
    font-size: 16px;
    color: var(--primary-color);
}

.project-detail-breadcrumb a,
.project-list-breadcrumb a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.project-detail-breadcrumb a:hover,
.project-list-breadcrumb a:hover {
    color: var(--secondary-color);
}

.project-detail-section {
    min-height: 60vh;
}

.project-detail-content {
    background: #DFDCD0;
    border-radius: 30px;
    padding: 40px;
}

.project-detail-title {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 20px;
    line-height: 1.4;
}

.project-detail-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(21, 62, 53, 0.2);
}

.project-detail-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--primary-color);
}

.project-detail-meta i {
    font-size: 16px;
}

.project-detail-body {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 40px;
    white-space: pre-wrap;
    word-wrap: break-word;
}

.project-detail-footer {
    text-align: left;
}

@media (max-width: 768px) {
    .project-detail-content {
        padding: 20px;
    }

    .project-detail-title {
        font-size: 24px;
    }

    .project-detail-meta {
        flex-direction: column;
        gap: 10px;
    }
}

.cd-page-header-content > p {
  color:  #fff;
}

.cd-map-container-wrap {
  align-self: stretch;
  max-height: 400px;
}
.cd-map-container {
  margin-top: 30px;
  height: 100%;
  width: 100%;
}
.cd-map-container iframe  {
  width: 100%;
  height: 100%;
}

.carousel-control-next-icon, .carousel-control-prev-icon {
  width: 4rem;
  height: 4rem;
}

.carousel-control-next-icon, .carousel-control-next-icon {
  width: 4rem;
  height: 4rem;
}

.carousel-control-next, .carousel-control-prev {
  opacity: 1;
}

.carousel-control-next, .carousel-control-next {
  opacity: 1;
}

.project-detail-carousel {
  aspect-ratio: 16 / 9;
  border: 4px solid var(--primary-color);
  border-radius: 12px;
  overflow: hidden;
}

.project-detail-carousel .carousel-inner {
  height: 100%;
}

.project-detail-carousel .carousel-item {
  height: 100%;
}

.project-detail-carousel .carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cd-project-facilities > .container > h2 {
  text-align: center;
}

.cd-page-header-mb {
  display: none;
}

@media only screen and (max-width: 992px) {
  .cd-project-facilities > .container > h2 {
    font-size: 40px;
  }

  .apartment-info-item {
    margin-bottom: 0 !important;
  }

  .cd-page-header-content > h1 {
    font-size: 45px;
  }

  .cd-page-header-content > h2 {
    font-size: 40px;
  }
}

@media only screen and (max-width: 550px)  {
  .cd-page-header-pc {
    display: none;
  }
  .cd-page-header-mb {
    margin-top: 107.08px;
    position: relative;
    display: block;
  }

  .cd-page-header-mb > img {
    height: 350px;
    object-fit: cover;
    width: 100%;
    object-position: center;
  }

  .cd-page-header-mb > .container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  } 

  .cd-page-header-content > p {
    padding-left: 6px !important;
    padding-right: 6px !important;
  }
}

.house-types-section {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(21, 62, 53, 0.2);
}

.house-types-title {
    font-size: 24px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 30px;
}

.house-types-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.house-type-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: row;
}

.house-type-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.house-type-image {
    width: 45%;
    min-height: 280px;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.house-type-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.house-type-image-placeholder {
    color: #ccc;
    font-size: 48px;
}

.house-type-content {
    width: 55%;
    padding: 25px;
    display: flex;
    flex-direction: column;
}

.house-type-header {
    margin-bottom: 12px;
}

.house-type-name {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.house-type-info {
    display: flex;
    gap: 12px;
    font-size: 13px;
    color: #666;
}

.house-type-rooms {
    font-weight: 500;
}

.house-type-area {
    color: var(--secondary-color);
    font-weight: 600;
}

.house-type-description {
    font-size: 13px;
    color: #888;
    line-height: 1.5;
    margin-bottom: 12px;
    flex-grow: 1;
}

.house-type-price {
    font-size: 16px;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.house-type-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin-bottom: 15px;
}

.stat-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 10px;
    border-radius: 6px;
    font-size: 12px;
}

.stat-item.coming-soon {
    background: #fff3cd;
    color: #856404;
}

.stat-item.pre-sale {
    background: #e3f2fd;
    color: #0d47a1;
}

.stat-item.in-stock {
    background: #d4edda;
    color: #155724;
}

.stat-item.sold-out {
    background: #f8d7da;
    color: #721c24;
}

.stat-label {
    font-weight: 500;
}

.stat-value {
    font-weight: 600;
}

.house-type-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 12px;
    border-top: 1px dashed #eee;
    font-size: 13px;
    color: #666;
}

.house-type-total strong {
    color: var(--primary-color);
    font-size: 15px;
}

@media (max-width: 768px) {
    .house-types-grid {
        grid-template-columns: 1fr;
    }

    .house-type-card {
        flex-direction: column;
    }

    .house-type-image {
        width: 100%;
        min-height: 200px;
    }

    .house-type-content {
        width: 100%;
        padding: 20px;
    }

    .house-type-stats {
        grid-template-columns: 1fr;
    }

    .house-types-title {
        font-size: 20px;
    }
}

