/* Wrapper */
.prop-section-wrapper {
    padding: 40px 0;
    overflow-x: hidden;
}

/* Slider Container */
.prop-slider-container {
    position: relative;
    padding: 10px 0 30px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Pill Header */
.prop-pill-header {
    position: relative;
    background-color: #ffffff;
    color: #002244;
    font-weight: bold;
    font-size: 1.5rem;
    padding: 12px 35px;
    border-radius: 20px;
    margin-bottom: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    white-space: nowrap;
    border: 1px solid #f0f0f0;
    z-index: 10;
    display: inline-block;
    max-width: 400px;
    width: 100%;
    text-align: center;
}

/* Property Card */
.prop-card {
    background: #ffffff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    border: none;
    transition: transform 0.3s ease;
    max-width: 400px;
    margin: 0 auto;
    width: 100%;
}

.prop-card:hover {
    transform: translateY(-5px);
}

/* Image Section */
.prop-img-box {
    position: relative;
    height: 300px;
    width: 100%;
    overflow: hidden;
    background: #e0e0e0;

    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
}

.skeleton-bg::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.4),
        transparent
    );
    transform: translateX(-100%);
    animation: shimmer 1.5s infinite;
    z-index: 1;
}

@keyframes shimmer {
    100% {
        transform: translateX(100%);
    }
}

.prop-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* opacity: 0; */
    transition: opacity 0.5s ease-in-out;
    position: relative;
    z-index: 2;
}

.prop-img-box img.loaded {
    opacity: 1;
}

/* Brand Logo */
/* .prop-brand-logo {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 5;
    background: rgba(255, 255, 255, 0.95);
    color: #002244;
    padding: 6px 12px;
    border-radius: 6px;
    font-weight: 800;
    font-size: 0.85rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 5px;
} */

/* Container Position */
.prop-brand-logo {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 50;
    /* Transparent Background (No box) */
    background: transparent;
    padding: 0;
    margin: 0;
    /* No Flexbox needed for just one image, but keeps it safe */
    display: block;
}

/* Image Styling */
.prop-brand-logo img {
    /* Set size */
    height: 45px !important;
    width: auto !important;
    /* Clean display settings */
    display: block !important;
    object-fit: contain !important;
    background: transparent !important;
    border: none !important;
    /* No Filters: Shows original logo colors */
    filter: none !important;
    /* Optional: Slight shadow to separate logo from property image */
    filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.3)) !important;
}

/* Price Badge */
.prop-price-badge {
    position: absolute;
    bottom: 1px;
    right: 0;
    background-color: rgba(0, 0, 0, 0.35);
    color: #fff;
    padding: 6px 10px;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 600;
    z-index: 5;

    width: 100%; /* FULL width only for overlay */

    display: flex;
    justify-content: flex-end;
    align-items: center;
}

/* STATIC VERSION — NOT FULL WIDTH */
.prop-price-badge.badge-static {
    position: static;
    width: auto; /* ⭐ FIX */
    display: inline-flex; /* ⭐ FIX */
    justify-content: flex-end;
    align-items: center;
    margin: 0;
}

/* Card Body */
.prop-card-body {
    padding: 15px;
    color: #333;
}

.prop-title-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 5px;
}

.prop-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #000;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 70%;
}

.prop-type {
    /* font-size: 0.85rem; */
    font-size: 1.1rem;
    font-weight: 700;
    color: #000;
}

.prop-details-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: #666;
    margin-bottom: 5px;
}

.prop-location {
    font-size: 0.8rem;
    color: #666;
    margin-bottom: 5px;
}

.prop-possession {
    font-size: 0.8rem;
    color: #555;
    font-weight: 500;
}

/* Footer Buttons */
/* Footer Container */
.prop-footer {
    padding: 0 15px 15px 15px;
    display: flex;
    gap: 8px;
}

/* Details Button (Anchor Tag) */
.btn-details {
    flex-grow: 1;
    background-color: #3b5998;
    color: white !important; /* Forces white text, overrides link blue */
    border: none;
    padding: 10px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: capitalize;
    transition: background-color 0.2s;

    /* FIX FOR <a> TAGS */
    text-decoration: none !important; /* Removes underline */
    text-align: center; /* Centers the text */
    display: flex; /* Ensures proper box sizing */
    align-items: center; /* Vertically centers text */
    justify-content: center; /* Horizontally centers text */
}

.btn-details:hover {
    background-color: #2d4373;
    color: #fff !important;
}

/* Heart Button */
.btn-fav {
    width: 42px;
    background-color: #3b5998;
    color: white;
    border: none;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: background-color 0.2s;
    cursor: pointer;
}

.btn-fav:hover {
    background-color: #2d4373;
}

.btn-fav {
    width: 42px;
    background-color: #3b5998;
    color: white;
    border: none;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: background-color 0.2s;
}

.btn-fav:hover {
    background-color: #2d4373;
}

/* --- UPDATED NAVIGATION ARROWS (Matches Image) --- */
.swiper-button-next-custom,
.swiper-button-prev-custom {
    position: absolute;
    top: 55%; /* Centered nicely */
    transform: translateY(-50%);
    width: 45px; /* Larger size */
    height: 45px;
    background: #fff;
    border-radius: 50%;
    color: #002244; /* Dark Navy Icon */
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15); /* Soft shadow like image */
    cursor: pointer;
    z-index: 20;
    font-size: 18px; /* Larger icon */
    transition: all 0.2s ease;
}

.swiper-button-next-custom:hover,
.swiper-button-prev-custom:hover {
    background-color: #f8f9fa;
    transform: translateY(-50%) scale(1.05); /* Slight pop effect */
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

/* Position them close to the card edges */
.swiper-button-prev-custom {
    left: 20px;
}
.swiper-button-next-custom {
    right: 20px;
}

.swiper-button-disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.prop-price-badge .call-for-rate-btn {
    background: transparent;
    border: none;
    color: #ffffff;
    padding: 0;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.6); /* Hint that it's clickable */
    transition: all 0.2s;
}

.prop-price-badge .call-for-rate-btn:hover {
    color: #3b5998; /* Light yellow on hover */
    border-bottom-color: #3b5998;
}

/* Style the phone number link AFTER it is revealed */
.prop-price-badge .revealed-phone {
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.prop-price-badge .revealed-phone:hover {
    color: #3b5998;
}

@media (max-width: 768px) {
    .prop-slider-container {
        padding: 10px 0;
    }
    .swiper-button-prev-custom {
        left: 5px;
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
    .swiper-button-next-custom {
        right: 5px;
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
}

/* Column wrapper */
.prop-section-col {
    display: flex; /* key fix */
    align-items: flex-start; /* prevents equal height stretch */
}

/* Inner wrapper follows content height */
.prop-section-inner {
    width: 100%;
}

/* Separator */
.prop-section-separator {
    width: 60%;
    margin: 10px auto 0;
    border-bottom: 3px dashed #002244;
    opacity: 0.8;
}

/* Mobile */
@media (max-width: 768px) {
    .prop-section-separator {
        width: 70%;
        border-bottom-width: 2px;
        margin-top: 10px;
    }
}

.prop-section-inner {
    padding-bottom: 10px;
}

.swiper {
    height: auto !important;
}
.swiper-slide {
    height: auto !important;
}
