.property-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.property-card { overflow: hidden; background: #fff; height: 613px; }
.property-image { position: relative; cursor: pointer; height: 100%; }
.property-image img { width: 100%; display: block; height: 100%; object-fit: cover; }

.property-image a.property-link-overlay {
    position: absolute;
    background: #EFEFEF;
    width: 100%;
    height: 60px;
    color: #000 !important;
    display: flex;
    justify-content: space-between;
}
.property-image .sep {
    padding: 15px;
    display: flex;
    gap: 10px;
    align-items: center;
    width: 280px;
    line-height: 20px;
}
.badge {
    position: absolute;
    right: 0;
    top: 60px;
    height: 42px;
    width: 158px;
    background: #747F6F;
    text-align: right;
    padding: 0 20px;
    line-height: 16px;
    font-size: 15px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    color: #fff;
}
.property-overlay1 {
    position: absolute; top: 0; 
    padding: 40px 15px;
    color: #fff; background: linear-gradient(to top, #747F6F00, transparent);
    display: flex;
    gap: 10px;
    width: 280px;
    line-height: 20px;
    align-items: center;
    
}
.property-overlay2 {
    position: absolute; bottom: -1px; width: 100%; padding: 25px 0 25px 15px;
    color: #fff !important; 
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: space-between;
    font-size: 38px;
    line-height: 100%;
    font-weight: 500;
    font-family: "Cormorant";

    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    mask-image: linear-gradient(
        to bottom,
        rgba(0,0,0,0) 0%,
        rgba(0,0,0,0.9) 10%,
        rgba(0,0,0,0.9) 100%
    );
    -webkit-mask-image: linear-gradient(
        to bottom,
        rgba(0,0,0,0) 0%,
        rgba(0,0,0,0.9) 10%,
        rgba(0,0,0,0.9) 100%
    );
    background: rgba(255,255,255,0.08);
}
.property-footer {
    display: flex; justify-content: space-between; align-items: center;
    background: #5c6654; color: #fff; padding: 12px;
}

.property-link {
    background: #000; color: #fff; padding: 5px 12px;
    text-decoration: none; font-size: 20px;
}
.property-filter .two {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}
.property-filter .two input, .property-filter .two select, .property-filter .two button {
    width: 50%;
    padding: 13px 10px;
    font-size: 14px;
    font-weight: 400;
    font-family: inherit;
    border-radius: 0;
    border-color: #B1B1B1;
}
.property-filter .two select {
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    background: url("data:image/svg+xml;utf8,<svg fill='black' height='20' viewBox='0 0 24 24' width='20' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>") no-repeat right 10px center !important;
    padding-right: 35px !important;
}
.property-filter .two button{
    cursor: pointer;
    color: #fff;
    background: #747F6F;
    border: none;
    font-size: 15px;
    font-weight: 500;
    text-align: left;
    padding: 13px 10px;
}
/* --- LIGHTBOX STYLING --- */
.lightbox {
    display: none; position: fixed; z-index: 99999;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.8);
    justify-content: center; align-items: center;
}

.lightbox-content {
    width: 90%; max-width: 1000px;
    background: #fff; position: relative;
    box-shadow: 0 10px 50px rgba(0,0,0,0.5);
}

.lightbox-header {
    background: #7d8674; /* Matching the olive tone in your image */
    color: #fff; padding: 15px 25px;
    display: flex; justify-content: space-between; align-items: center;
    font-size: 14px; letter-spacing: 1px; text-transform: uppercase;
}

.lightbox-main {
    position: relative; display: flex; justify-content: center;
    background: #eee; min-height: 300px;
}

.lightbox-img {
    width: 100%;
    height: 710px;
    display: block;
    object-fit: cover;
}
.header-left{
    display: flex; align-items: center; gap: 20px;
}
.lightbox-nav {
    position: absolute; top: 50%; transform: translateY(-50%);
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; z-index: 10; border-radius: 2px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}
.lightbox-nav.left { left: -60px; }
.lightbox-nav.right { right: -60px; }

.lightbox-close { cursor: pointer; font-size: 28px; margin-left: 20px; }

.lightbox-footer { text-align: center; padding: 25px; background: #fff; }
.lightbox-btn {
    display: inline-block; border: 1px solid #333; padding: 12px 35px;
    color: #333; text-decoration: none; font-size: 13px; font-weight: 600;
}
/* Responsive */
@media (max-width: 1800px) {
   .lightbox-img {
        height: 640px;
    }
}
@media (max-width: 1200px) {
   .lightbox-img {
        height: 600px;
    }
}
@media (max-width: 1024px) {
    .property-grid {  grid-template-columns: repeat(2, 1fr); }
    .lightbox-nav { width: 35px; height: 35px; }
    .lightbox-nav.left { left: 5px; }
    .lightbox-nav.right { right: 5px; }
    .lightbox-img {
        height: 560px;
    }
}

@media (max-width: 768px) {
    .property-grid { grid-template-columns: 1fr; }
    .lightbox-nav { width: 35px; height: 35px; }
    .lightbox-nav.left { left: 5px; }
    .lightbox-nav.right { right: 5px; }
    .lightbox-img {
        height: 500px;
    }
}

/* Skeleton Card */
#property-results .property-card.skeleton-card {
    height: 613px;
    background: #f3f3f3 !important;
    position: relative;
    overflow: hidden;
}

#property-results .property-card.skeleton-card * {
    display:none !important;
}

#property-results .property-card.skeleton-card::after {
    content: "";
    position: absolute;
    top: 0;
    left: -150%;
    width: 150%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255,255,255,0.6),
        transparent
    );
    animation: skeleton-shimmer 1.5s infinite;
}

@keyframes skeleton-shimmer {
    0% { left:-150%; }
    100% { left:150%; }
}