.property-card-banner {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
    border-radius: 8px 8px 0 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.image-components {
    position: relative;
}

.property-card-image-link {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

.property-card-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform 0.3s ease;
}

/* Hover effect for image zoom */
.property-card-image-link:hover .property-card-image {
    transform: scale(1.05);
}

/* For lazyloading functionality */
.photos-lazyload-background {
    opacity: 0;
    transition: opacity 0.5s;
}

.photos-lazyload-background.loaded {
    opacity: 1;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .property-card-banner {
        height: 180px;
    }
}

@media (max-width: 480px) {
    .property-card-banner {
        height: 150px;
    }
}

.property-card {
    max-width: 340px;
    min-width: 340px;
    cursor: pointer;
}

/* If you want to add back the banner labels in the future */
.property-card-banner-label {
    padding: 5px 10px;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    font-size: 12px;
    font-weight: bold;
    border-radius: 4px;
    z-index: 2;
}

/* Different colored labels for different types */
.property-card-new-banner {
    background-color: #28a745;
}

.property-card-featured-banner {
    background-color: #ffc107;
    color: #212529;
}

.property-card-special-offer-banner {
    background-color: #dc3545;
}

.property-card-late-availability-banner {
    background-color: #17a2b8;
}

.property-card-low-occupancy-banner {
    background-color: #6610f2;
}

/* Additional discount banner styles for SuperControl V2 discount types */
.property-card-multiweeks-banner {
    background-color: #28a745;
}

.property-card-late-discount-banner {
    background-color: #fd7e14;
}

.property-card-seasonal-discount-banner {
    background-color: #20c997;
}

.property-card-days-discount-banner {
    background-color: #6f42c1;
}

.property-card-early-discount-banner {
    background-color: #007bff;
}

.property-card-discount-notes-banner {
    background-color: #6c757d;
}

.property-card-date-special-banner {
    background-color: #e83e8c;
}

.property-card-discount-banner {
    background-color: #dc3545;
}

.property-card-discount-banner-container {
    position: absolute;
    z-index: 3;
    top: 0;
}

/* Amenity Banner Styles */
.property-card-amenity-banner-container {
    position: relative;
    z-index: 3;
}

.property-card-amenity-banner {
    background-color: #17a2b8;
    /* Default teal color */
    position: absolute;
    top: 10px;
    left: 10px;
    /* Position on left side to differentiate from discount banners */
    padding: 5px 10px;
    color: white;
    font-size: 12px;
    font-weight: bold;
    border-radius: 4px;
    z-index: 2;
}

.property-card-favourite {
    color: red;
    border-radius: 2em;
    position: absolute;
    top: 1em;
    right: 1em;
    background: #ffffff69;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px;
    cursor: pointer;
}

.property-card-favourite:hover {
    background: #ffffffbe;
}

.property-card-amenities {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
}

.property-card-amenity-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0;
    font-size: 14px;
}

.property-card-amenity-item .amenity-icon {
    display: flex;
    align-items: center;
    width: 16px;
    height: 16px;
}

.property-card-amenity-item .amenity-icon svg {
    width: 16px;
    height: 16px;
}

.property-card-amenity-item .amenity-label {
    color: #333;
    font-weight: 500;
}

.property-card-amenity-item .amenity-description {
    color: #666;
    font-size: 12px;
    font-style: italic;
}

.property-card-price {
    font-size: 1.5em;
    margin-block: 1em;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.property-card-price-amount-container {
    display: flex;
    gap: 0.2em;
}

.property-card-price-nights {
    font-weight: 200;
}

.property-card-price-guests {
    display: flex;
    align-items: center;
}

/* Property Card Photos & Slider */
.photos-card-photos-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    background-color: #f0f0f0;
}

/* Aspect Ratios */
.photos-aspect-16-9 {
    padding-top: 56.25%;
    /* 16:9 */
}

.photos-aspect-4-3 {
    padding-top: 75%;
    /* 4:3 */
}

/* Images */
.photos-card-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Slider */
.photos-card-slider,
.photos-card-slider-track {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.photos-card-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    z-index: 0;
}

.photos-card-slide.active {
    opacity: 1;
    z-index: 1;
}

/* Slider Arrows */
.photos-slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.8);
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
    opacity: 0;
    transition: opacity 0.2s, background-color 0.2s;
    font-size: 18px;
    line-height: 1;
    color: #333;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.photos-card-photos-container:hover .photos-slider-arrow {
    opacity: 1;
}

.photos-slider-arrow:hover {
    background: #fff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.photos-slider-arrow.prev {
    left: 10px;
}

.photos-slider-arrow.next {
    right: 10px;
}

/* Short Description */
.property-card-short-description {
    margin: 0.75em 0;
    color: #666;
}

.property-card-short-description p {
    margin: 0;
    font-size: 0.9em;
    line-height: 1.4;
}

/* BBG (Beds, Bathrooms, Guests) Component */
.property-card-bbg {
    display: inline;
    font-size: 14px;
    color: #333;
    margin: 8px 0;
}

.property-card-bbg-item {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.property-card-bbg-item:not(:last-child)::after {
    content: '•';
    margin: 0 8px;
    color: #666;
}

.property-card-bbg-icon {
    display: inline-flex;
    align-items: center;
    color: #333;
}

.property-card-bbg-text {
    font-size: 14px;
    color: #333;
    font-weight: 400;
}

/* Responsive adjustments for BBG */
@media (max-width: 480px) {
    .property-card-bbg {
        font-size: 13px;
    }

    .property-card-bbg-item:not(:last-child)::after {
        margin: 0 6px;
    }

    .property-card-bbg-text {
        font-size: 13px;
    }
}

/* Sub-Caption Component */
.property-card-sub-caption {
    margin: 8px 0;
}

.property-card-sub-caption p {
    font-size: 14px;
    color: #666;
    font-weight: 300;
    font-style: italic;
    margin: 0;
    line-height: 1.4;
}

/* Responsive adjustments for Sub-Caption */
@media (max-width: 480px) {
    .property-card-sub-caption p {
        font-size: 13px;
    }
}

/* Capacity Notes Component */
.property-card-capacity-notes {
    margin: 8px 0;
}

.property-card-capacity-notes p {
    font-size: 14px;
    color: #555;
    font-weight: 400;
    margin: 0;
    line-height: 1.5;
}

/* Responsive adjustments for Capacity Notes */
@media (max-width: 480px) {
    .property-card-capacity-notes p {
        font-size: 13px;
    }
}

/* Action Button Component */
.property-card-action-button {
    margin: 16px 0;
    display: flex;
    justify-content: right;
}

.property-card-button {
    display: inline-block;
    padding: 12px 24px;
    background-color: #007bff;
    color: #ffffff;
    text-decoration: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    transition: background-color 0.3s ease, transform 0.2s ease;
    cursor: pointer;
}

.property-card-button:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
    color: #ffffff;
    text-decoration: none;
}

.property-card-button:active {
    transform: translateY(0);
}

/* Responsive adjustments for Action Button */
@media (max-width: 480px) {
    .property-card-button {
        font-size: 14px;
        padding: 10px 20px;
    }
}

/* Sale Price Styling */
.property-card-price-amount-sale {
    display: flex;
    align-items: center;
    gap: 0.5em;
}

.property-card-price-original {
    text-decoration: line-through;
    opacity: 0.6;
    font-size: 0.85em;
    color: #666;
}

.property-card-price-sale {
    color: #e74c3c;
    font-weight: bold;
}

.property-card-price-per-night {
    font-size: 0.75em;
    color: #666;
    font-weight: 300;
    margin-top: 0.25em;
}