.odc-share-container{
    display: flex;
    justify-content: end;
    padding: 15px 0;
    border-bottom: 1px solid #e0e0e0;
}
.odc-share-container a{
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #111;
    text-decoration: none;
    border: rgba(0, 0, 0, 0.19) solid 1px;
    padding: 5px 12px;
    border-radius: 4px;
}

.odc-share-box{
    position: fixed;
    top: 0;
    left: 0;
    width:100vw;
    height: 100vh;
    z-index: 999;
    display:none;
    justify-content: center;
    align-items: center;
}

.odc-glass{
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* =========================
   GALLERY (FIXED HEIGHT SYNC)
========================= */
.odc-gallery-thumb-more {
    position: relative;
    display: block;
}

.odc-gallery-thumb-more img {
    filter: brightness(0.45);
}

.odc-gallery-more-badge {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.5rem;
    font-weight: 700;
    pointer-events: none;
}
.odc-left-section{
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.odc-gallery{
  display: flex;
  /* grid-template-columns: 2fr 1fr; */
  gap: 12px;
  align-items: stretch;
  /* height: 420px; ensures both sides match */
}

/* MAIN IMAGE */
.odc-gallery-main{
  height: 100%;
  overflow: hidden;
  border-radius: 5px;
}

.odc-gallery-main a,
.odc-gallery-main img{
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

/* SIDE IMAGES */
.odc-gallery-side{
  display: grid;
  grid-template-rows: repeat(3, 1fr);
  gap: 12px;
  height: 100%;
}

.odc-gallery-side a{
  display: block;
  width: 100%;
  height: 100%;
}

.odc-gallery-side img{
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 5px;
}

/* =========================
   PROPERTY LAYOUT
========================= */

.odc-property-single-page-gallery-section{
    display:flex;
    gap: 50px;
    position: relative;
}

.odc-property-agent-form{
  position: sticky;
  top:100px;
  width: 400px !important;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 1024px) {

  .odc-property-single-page-gallery-section {
    flex-direction: column-reverse;
    gap: 24px;
  }

  .odc-left-section{
    order: 2; 
  }

  .odc-property-agent-form{
    width: calc(100% - 30px) !important;
    position: fixed;
    bottom: 0;
    top: unset;
    left: unset;
    z-index: 1;
    padding: 0;
  }
  .odc-property-agent-form > div:nth-of-type(1) {
    display: none !important;
  }
}

/* =========================
   MOBILE GALLERY FIX
========================= */

@media (max-width: 768px) {

  .odc-property-single-page-gallery-section {
    flex-direction: column-reverse;
    gap: 20px;
  }

  .odc-gallery {
    grid-template-columns: 1fr;
    height: auto;    
    display: flex;
    flex-direction: column;
  }

  .odc-gallery-main {
    height: 260px;
  }

  .odc-gallery-side {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: unset;
    height: 100px;
  }

  .odc-gallery-side img {
    aspect-ratio: 1 / 1;
    height: 100px;
  }
}

@media (max-width: 480px) {

  .odc-gallery-main {
    height: 220px;
  }

  .odc-property-single-page-gallery-section {
    gap: 16px;
  }
}

/* =========================
   PROPERTY INFO GRID
========================= */

.prop-info h2 {
  font-size: 22px;
  font-weight: 500;
  margin: 0 0 1.5rem;
  color: #1a1a1a;
}

.prop-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid #e5e5e5;
}

.prop-cell {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 20px;
  border-bottom: 1px solid #e5e5e5;
  border-right: 1px solid #e5e5e5;
}

.prop-cell:nth-child(even) {
  border-right: none;
}

.prop-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #999;
}

.prop-value {
  font-size: 15px;
  font-weight: 500;
  color: #1a1a1a;
}

@media (max-width: 600px) {
  .prop-grid {
    grid-template-columns: 1fr;
  }
  .prop-cell {
    border-right: none;
  }
}

/* =========================
   GALLERY HOVER EFFECTS
========================= */

.odc-gallery-image {
    cursor: pointer;
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.odc-gallery-image:hover {
    transform: scale(1.04);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.odc-gallery a {
  position: relative;
  display: block;
}

.odc-gallery a::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.15);
  opacity: 0;
  transition: 0.3s;
  border-radius: inherit;
}

.odc-gallery a:hover::after {
  opacity: 1;
}

/* =========================
   INQUIRY MODAL
========================= */

.inquiry-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.inquiry-box {
    background: #fff;
    width: 420px;
    border-radius: 12px;
    padding: 20px;
    font-family: Arial, sans-serif;
}

.inquiry-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.inquiry-header h2 {
    font-size: 18px;
}

.close-btn {
    cursor: pointer;
    font-size: 22px;
}

.row {
    display: flex;
    gap: 10px;
}

.field {
    margin-bottom: 12px;
    width: 100%;
}

.field label {
    font-size: 12px;
    display: block;
    margin-bottom: 5px;
}

.field input,
.field textarea,
.field select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: #f5f5f5;
}

.phone-wrapper {
    display: flex;
    gap: 8px;
}

.checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    margin: 10px 0;
}

button {
    padding: 12px;
    background: #111;
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}

/* =========================
   AMENITIES
========================= */

.amenities-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
  list-style: none;
  padding: 0;
}

.amenities-list li {
  background: #f5f5f5;
  padding: 10px 12px;
  border-radius: 6px;
  font-size: 14px;
}
.agent-avatar {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    overflow: hidden;
    background: #ede8e3;
}

.agent-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
}