/* Property Grid Styles */
.eps-property-grid {
    display: grid;
    gap: 20px;
}

.eps-grid-columns-2 {
    grid-template-columns: repeat(2, 1fr);
}

.eps-grid-columns-3 {
    grid-template-columns: repeat(3, 1fr);
}

.eps-grid-columns-4 {
    grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 1024px) {
    .eps-grid-columns-3,
    .eps-grid-columns-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .eps-property-grid {
        grid-template-columns: 1fr !important;
    }
}

/* Property Card Styles */
.eps-property-card {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.eps-property-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.eps-property-image {
    position: relative;
    overflow: hidden;
}

.eps-property-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.eps-property-card:hover .eps-property-image img {
    transform: scale(1.05);
}

.eps-property-type {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

/* Property Status Badge (SOLD/LEASED) */
.eps-property-status {
    position: absolute;
    top: 15px;
    left: 15px;
    color: #fff;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    z-index: 10;
}

.eps-status-sold {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
}

.eps-status-leased {
    background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
}

.eps-status-under-offer {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
}

.eps-property-content {
    padding: 20px;
}

.eps-property-price {
    font-size: 24px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 5px;
}

.eps-property-bond {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
}

.eps-property-available {
    font-size: 13px;
    color: #666;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #e5e5e5;
}

.eps-property-agents {
    font-size: 13px;
    color: #666;
    margin-top: 8px;
}

.eps-property-agents .eps-agent {
    margin-bottom: 3px;
}

.eps-image-count {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.eps-image-count .dashicons {
    width: 16px;
    height: 16px;
    font-size: 16px;
}

.eps-property-title {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 10px;
    color: #1a1a1a;
    line-height: 1.4;
}

.eps-property-address {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #666;
    font-size: 14px;
    margin-bottom: 15px;
}

.eps-property-address .dashicons {
    width: 16px;
    height: 16px;
    font-size: 16px;
}

.eps-property-features {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    padding: 15px 0;
    border-top: 1px solid #e5e5e5;
}

.eps-feature {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
    color: #555;
}

.eps-feature .dashicons {
    width: 18px;
    height: 18px;
    font-size: 18px;
}

.eps-property-excerpt {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin-top: 10px;
}

/* Property List Styles */
.eps-property-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.eps-property-list-item {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.eps-property-list-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.eps-list-item-with-image {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 20px;
}

.eps-list-item-with-image.image-right {
    grid-template-columns: 1fr 300px;
}

.eps-list-item-with-image.image-right .eps-list-image {
    order: 2;
}

.eps-list-item-with-image.image-right .eps-list-content {
    order: 1;
}

.eps-list-image {
    position: relative;
}

.eps-list-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.eps-list-content {
    padding: 20px;
}

.eps-property-description {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin-top: 15px;
}

@media (max-width: 768px) {
    .eps-list-item-with-image {
        grid-template-columns: 1fr !important;
    }
    
    .eps-list-image {
        height: 200px;
    }
}

/* Carousel Styles */
.eps-property-carousel-wrapper {
    position: relative;
}

.eps-property-carousel .slick-slide {
    padding: 0 10px;
}

.eps-property-carousel .slick-arrow {
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    z-index: 10;
}

.eps-property-carousel .slick-arrow:hover {
    background: rgba(0, 0, 0, 0.8);
}

.eps-property-carousel .slick-arrow:before {
    font-size: 20px;
}

.eps-property-carousel .slick-prev {
    left: -20px;
}

.eps-property-carousel .slick-next {
    right: -20px;
}

.eps-property-carousel .slick-dots {
    bottom: -40px;
}

.eps-property-carousel .slick-dots li button:before {
    font-size: 12px;
}

.eps-carousel-slide {
    outline: none;
}

/* Property Gallery Styles */
.eps-property-gallery {
    display: grid;
    gap: 15px;
    margin-bottom: 30px;
}

.eps-property-gallery.eps-gallery-columns-2 {
    grid-template-columns: repeat(2, 1fr);
}

.eps-property-gallery.eps-gallery-columns-3 {
    grid-template-columns: repeat(3, 1fr);
}

.eps-property-gallery.eps-gallery-columns-4 {
    grid-template-columns: repeat(4, 1fr);
}

.eps-gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
}

.eps-gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.eps-gallery-item:hover img {
    transform: scale(1.05);
}

.eps-floorplan-section {
    grid-column: 1 / -1;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px solid #e5e5e5;
}

.eps-floorplan-section h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #1a1a1a;
}

.eps-floorplan-item {
    max-width: 600px;
}

.eps-floorplan-item img {
    width: 100%;
    height: auto;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
}

@media (max-width: 768px) {
    .eps-property-gallery {
        grid-template-columns: 1fr !important;
    }
    
    .eps-gallery-item img {
        height: 200px;
    }
}