/**
Theme Name: Astra Child
Author: Brainstorm Force
Author URI: http://wpastra.com/about/
Description: Astra is the fastest, fully customizable & beautiful theme suitable for blogs, personal portfolios and business websites. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with schema.org code integrated so search engines will love your site. Astra offers plenty of sidebar options and widget areas giving you a full control for customizations. Furthermore, we have included special features and templates so feel free to choose any of your favorite page builder plugin to create pages flexibly. Some of the other features: # WooCommerce Ready # Responsive # Compatible with major plugins # Translation Ready # Extendible with premium addons # Regularly updated # Designed, Developed, Maintained & Supported by Brainstorm Force. Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and beautiful theme!
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: astra-child
Template: astra
*/

/* ── Home Page Search Bar ─────────────────────────────────────── */
.rp-search-wrap {
    font-family: 'Comfortaa', cursive;
    max-width: 1200px;
    margin: 0 auto;
    background: #fff;
    border-radius: 10px;
    padding: 20px;
}
.rp-search-toggle {
    display: none;
    width: 100%;
    background: #ed2e38 !important;
    color: #fff !important;
    padding: 14px 20px !important;
    border: none !important;
    border-radius: 8px !important;
    font-family: 'Comfortaa', cursive !important;
    font-weight: 600 !important;
    font-size: 16px !important;
    cursor: pointer;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}
.rp-search-toggle i.mdi {
    font-size: 20px;
}
.rp-toggle-icon {
    transition: transform 0.3s ease;
}
.rp-search-toggle.is-open .rp-toggle-icon {
    transform: rotate(180deg);
}
.rp-search-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    align-items: end;
}
.rp-search-wrap .rp-search-label {
    display: block;
    font-weight: 600 !important;
    font-size: 13px !important;
    color: #414141 !important;
    margin-bottom: 8px !important;
    font-family: 'Comfortaa', cursive !important;
    text-transform: none !important;
    letter-spacing: normal !important;
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
}
.rp-search-wrap .rp-search-label i {
    color: #ed2e38 !important;
    font-size: 16px !important;
}
.rp-search-wrap select.rp-search-select {
    width: 100% !important;
    padding: 14px 16px !important;
    border: 2px solid #c4c4c4 !important;
    border-radius: 8px !important;
    font-family: 'Comfortaa', cursive !important;
    font-size: 14px !important;
    color: #414141 !important;
    background: #fff !important;
    background-image: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    cursor: pointer;
    min-height: 56px !important;
    height: auto !important;
    line-height: normal !important;
    box-shadow: none !important;
    outline: none !important;
}
.rp-search-wrap select.rp-search-select:focus {
    border-color: #ed2e38 !important;
    outline: none !important;
    box-shadow: none !important;
}
.rp-search-wrap select.rp-search-select:disabled {
    background: #f5f5f5 !important;
    cursor: not-allowed;
    color: #9e9e9e !important;
    opacity: 1 !important;
}
.rp-search-wrap .rp-search-btn {
    width: 100% !important;
    background: #ed2e38 !important;
    color: #fff !important;
    padding: 14px 20px !important;
    border: none !important;
    border-radius: 8px !important;
    font-family: 'Comfortaa', cursive !important;
    font-weight: 600 !important;
    font-size: 16px !important;
    cursor: pointer;
    min-height: 56px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px;
    transition: background 0.2s;
    text-shadow: none !important;
    box-shadow: none !important;
    letter-spacing: normal !important;
    text-transform: none !important;
}
.rp-search-wrap .rp-search-btn i {
    font-size: 18px !important;
}
.rp-search-wrap .rp-search-btn:hover {
    background: #d32730 !important;
    color: #fff !important;
}

/* Sticky state */
.rp-search-wrap.is-sticky {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: #fff !important;
    padding: 12px 20px !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.15);
    animation: rpStickySlideIn 0.2s ease;
}
.admin-bar .rp-search-wrap.is-sticky {
    top: 32px;
}
@keyframes rpStickySlideIn {
    from { transform: translateY(-100%); opacity: 0; }
    to   { transform: translateY(0);    opacity: 1; }
}
.rp-search-spacer {
    display: none;
}
.rp-search-spacer.is-active {
    display: block;
}
@media (max-width: 782px) {
    .admin-bar .rp-search-wrap.is-sticky { top: 46px; }
}
@media (max-width: 768px) {
    .rp-search-toggle { display: flex !important; }
    .rp-search-grid { grid-template-columns: 1fr !important; }
    .rp-search-form.rp-collapsed { display: none !important; }
    .rp-search-wrap.is-sticky { padding: 8px 12px !important; }
}

/* ── Property Cards Grid ─────────────────────────────────────────────────── */
.rp-props-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    font-family: 'Comfortaa', cursive;
}
.rp-prop-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: box-shadow 0.3s;
}
.rp-prop-card:hover {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.16);
}
.rp-prop-imgwrap {
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid #e0e0e0;
    height: 220px;
    background: #f5f5f5;
}
.rp-prop-img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s;
    border: 2px solid #d0d0d0;
    box-sizing: border-box;
}
.rp-prop-imglink {
    display: block;
    text-decoration: none;
}
.rp-prop-card:hover .rp-prop-img {
    transform: scale(1.05);
}
.rp-prop-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #ed2e38;
    color: #fff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    font-family: 'Comfortaa', cursive;
}
.rp-prop-price {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: #fff;
    color: #414141;
    padding: 4px 12px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    font-family: 'Comfortaa', cursive;
}
.rp-prop-body {
    padding: 20px;
}
.rp-prop-title {
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #414141 !important;
    margin: 0 0 8px !important;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-family: 'Comfortaa', cursive !important;
}
.rp-prop-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s;
}
.rp-prop-title a:hover {
    color: #ed2e38;
    text-decoration: underline;
}
.rp-prop-loc {
    font-size: 13px;
    color: #9e9e9e;
    margin: 0 0 12px;
    font-family: 'Comfortaa', cursive;
}
.rp-prop-meta {
    display: flex;
    gap: 16px;
    font-size: 13px;
    color: #757575;
    border-top: 1px solid #f0f0f0;
    padding-top: 12px;
    margin-bottom: 14px;
    font-family: 'Comfortaa', cursive;
    flex-wrap: wrap;
}
.rp-prop-meta span {
    color: #757575;
    display: flex;
    align-items: center;
    gap: 4px;
}
.rp-prop-meta span i {
    font-size: 16px;
    color: #757575;
}
.rp-prop-btn {
    display: block !important;
    width: 100% !important;
    background: #f5f5f5 !important;
    color: #414141 !important;
    padding: 11px !important;
    text-align: center !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    font-size: 14px !important;
    border: 2px solid transparent !important;
    transition: border-color 0.2s, color 0.2s !important;
    box-sizing: border-box;
    font-family: 'Comfortaa', cursive !important;
    box-shadow: none !important;
    text-shadow: none !important;
    letter-spacing: normal !important;
    text-transform: none !important;
}
.rp-prop-btn:hover {
    border-color: #ed2e38 !important;
    color: #ed2e38 !important;
    background: #f5f5f5 !important;
}
.rp-prop-empty {
    font-family: 'Comfortaa', cursive;
    color: #9e9e9e;
    text-align: center;
    padding: 24px;
}
@media (max-width: 900px) {
    .rp-props-grid { grid-template-columns: 1fr; }
}
@media (min-width: 901px) and (max-width: 1100px) {
    .rp-props-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ── Header Language Selector ─────────────────────────────────── */
.header-language-selector {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-left: auto;
    padding: 0 15px;
}
.header-language-selector .language-flags-container {
    padding: 5px;
    gap: 8px;
}
.header-language-selector .language-flag-btn {
    font-size: 24px;
}
.language-dropdown {
    position: relative;
    display: inline-block;
}
.language-dropdown-toggle {
    background: #fff !important;
    border: 1px solid #e0e0e0 !important;
    border-radius: 6px !important;
    font-size: 28px;
    cursor: pointer;
    padding: 5px 10px !important;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: transform 0.2s ease, background 0.2s ease;
}
.language-dropdown-toggle:hover {
    transform: scale(1.1);
    background: #f5f5f5 !important;
}
.language-dropdown-arrow {
    font-size: 14px;
    color: #666;
}
.language-dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    padding: 8px 0;
    min-width: 180px;
    display: none;
    z-index: 9999;
    margin-top: 5px;
}
.language-dropdown-menu.show {
    display: block;
}
.language-dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    text-decoration: none !important;
    color: #414141 !important;
    font-size: 14px;
    font-family: "Comfortaa", cursive;
    transition: background 0.2s ease;
}
.language-dropdown-item:hover {
    background: #f5f5f5;
}
.language-dropdown-flag {
    font-size: 24px;
    line-height: 1;
}
@media (max-width: 768px) {
    .header-language-selector {
        justify-content: center;
        padding: 10px 0;
    }
}