/**
 * PropFetch Custom Styles
 */

/* ========================================
   Pre-Footer CTA Bar
   ======================================== */
.propfetch-cta-bar {
    background: linear-gradient(135deg, #1a3a5c 0%, #2c5f8d 100%);
    padding: 60px 20px;
    text-align: center;
    color: #ffffff;
}

.propfetch-cta-inner {
    max-width: 800px;
    margin: 0 auto;
}

.propfetch-cta-title {
    font-size: 2rem;
    margin: 0 0 10px;
    color: #ffffff;
    font-weight: 700;
}

.propfetch-cta-text {
    font-size: 1.1rem;
    margin: 0 0 25px;
    opacity: 0.9;
}

.propfetch-cta-button {
    display: inline-block;
    background: #ff7a45;
    color: #ffffff;
    padding: 14px 36px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.2s ease, transform 0.2s ease;
}

.propfetch-cta-button:hover,
.propfetch-cta-button:focus {
    background: #e8633a;
    color: #ffffff;
    transform: translateY(-1px);
}

@media (max-width: 600px) {
    .propfetch-cta-title { font-size: 1.5rem; }
    .propfetch-cta-text  { font-size: 1rem; }
    .propfetch-cta-bar   { padding: 40px 15px; }
}

/* ========================================
   Indian Number Format — Price Display
   ======================================== */

/*
 * Fix price_area layout in the property title area.
 *
 * WPResidence main.css sets:
 *   .wpresidence_property_page_title_area .price_area {
 *       width: 100%; max-width: 100%; text-align: unset; float: unset;
 *   }
 * This gives the price a full-width flex row below the title.
 * We right-align the text so the price sits on the right edge,
 * matching the visual style of the generic .price_area { text-align: right }.
 */
.wpresidence_property_page_title_area .price_area.propfetch-formatted {
    text-align: right !important;
    white-space: nowrap;
}

/* Hide the empty secondary price wrapper injected by WPResidence */
.price_area.propfetch-formatted .second_price_area {
    display: none;
}

.propfetch-price-full {
    font-size: 0.7em;
    opacity: 0.7;
    font-weight: normal;
    margin-left: 4px;
    white-space: nowrap;
}

.propfetch-price-suffix {
    font-size: 0.85em;
    opacity: 0.85;
    font-weight: normal;
    margin-left: 0;
    display: block;
}

@media (max-width: 600px) {
    .propfetch-price-full {
        display: block;
        margin-left: 0;
        margin-top: 2px;
        font-size: 0.75em;
    }
    .wpresidence_property_page_title_area .price_area.propfetch-formatted {
        text-align: left !important;
    }
}

.property_listing .propfetch-price-full,
.listing-unit-img-wrapper .propfetch-price-full {
    display: none;
}

.price_label.propfetch-formatted {
    line-height: 1.4;
}