    /**
Theme Name: Astra Child Global
Author: Jose Feria
Author URI: https://onez.com/
Description: José Féria real estate agency 
Version: 3000.8.8
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Template: astra
*/
    /* =========================================
   TABLE OF CONTENTS
   =========================================
   1. GLOBAL RESETS & CONTAINERS
   2. TYPOGRAPHY & HEADINGS
   3. LAYOUT - GRID SYSTEMS
   4. COMPONENTS - CARDS
   5. COMPONENTS - BUTTONS & LINKS
   6. HEADER & NAVIGATION
   7. HERO SECTION
   8. SECTIONS - HOMEPAGE
   9. TABLES - PROPERTY DATA
   10. PROPERTY GALLERY
   11. FOOTER
   12. SCROLL EFFECTS
   13. MOBILE NAVIGATION
   14. MOBILE OVERRIDES
========================================= */
    /* =========================================
   1. GLOBAL RESETS & CONTAINERS
========================================= */
    
    .ast-separate-container #primary,
    .ast-separate-container.ast-left-sidebar #primary,
    .ast-separate-container.ast-right-sidebar #primary {
        margin: 10px;
        padding: 0;
    }
    
    .ast-plain-container.ast-no-sidebar #primary {
        margin-top: 10px;
        margin-bottom: 60px;
    }
    
    .page-template-page-development .site-content .ast-container {
        display: block !important;
        width: 100%;
    }
    
    .site-content,
    .content-area,
    .ast-container {
        display: block !important;
        float: none !important;
    }
    
    .site-sidebar,
    .sidebar-main {
        display: none !important;
    }
    
    .ast-primary-header-bar {
        background-color: #ffffff;
    }
    /* =========================================
   2. TYPOGRAPHY & HEADINGS
========================================= */
    
    .are-home-h1 {
        font-size: 30px;
        font-weight: normal;
        line-height: 1.5em;
        text-align: center;
        margin-top: 30px;
    }
    
    .are-home-h2 {
        font-size: 30px;
        text-align: center;
        font-weight: bold;
        line-height: 1.5em;
        margin-top: 30px;
    }
    
    .are-footer-h2 {
        color: #fff;
        font-size: 44px;
        font-weight: bold;
        line-height: 1;
    }
    
    .are-footer-h3,
    .are-footer-h4 {
        color: #fff;
    }
    
    .are-footer-h4 {
        text-decoration: none;
        text-underline-offset: 4px;
        text-transform: uppercase;
        font-weight: bold;
    }
    
    #footer-bottom>div.are-footer h2,
    #footer-bottom>div.are-footer h3,
    #footer-bottom>div.are-footer h4 {
        color: #fff;
    }
    
    .tax-h2 {
        font-size: 30px;
        font-weight: bold;
        line-height: 1.5em;
        margin-top: 30px;
    }
    
    .tax-h2-div {
        border-bottom: 1px dotted #bd020a;
    }
    
    .span-round-numbers {
        border-radius: 50px;
        background: #144a68;
        color: #fff;
        padding: 0 10px;
    }
    
    .site-title {
        font-size: 26px;
        display: block;
    }
    /* =========================================
   3. LAYOUT - GRID SYSTEMS
========================================= */
    
    .lp-section {
        max-width: 1240px;
        margin: 0 auto 120px auto;
        padding: 0 16px;
    }
    
    .dark-blue {
        background: #144a68;
    }
    
    .lp-grid,
    .lp-grid-4 {
        display: grid;
        gap: 24px;
        width: 100%;
    }
    
    .lp-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
    
    .lp-grid-4 {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    }
    
    .lp-grid-4.lp-grid-8cards {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 24px;
        width: 100%;
        max-width: 1240px;
        margin: 0 auto;
        padding: 0 16px;
    }
    
    .lp-frame {
        background: #fff;
        border: 1px solid #ddd;
        border-radius: 8px;
        padding: 30px;
        text-align: left;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
        max-width: 1100px;
        margin: 40px auto;
    }
    
    .lp-frame h2,
    .lp-frame h3 {
        color: #144a68;
        margin-top: 0;
    }
    
    .button-container {
        display: flex;
        flex-wrap: wrap;
        width: 100%;
    }
    /* =========================================
   4. COMPONENTS - CARDS
========================================= */
    
    .lp-card {
        background: #144a68;
        width: 100%;
        border: 1px solid #efefef;
        padding: 20px;
        margin-bottom: 30px;
        text-align: center;
    }
    
    .lp-card a {
        display: inline-block;
        text-decoration: none;
        color: inherit;
    }
    
    .lp-card img {
        width: 100% !important;
        height: auto !important;
        display: block;
        aspect-ratio: 3 / 2;
        object-fit: cover;
        border-radius: 4px;
        margin-bottom: 12px;
    }
    
    .lp-card p {
        margin-top: 0.5em;
        font-size: 1rem;
        line-height: 1.4;
    }
    
    .lp-card h3 {
        margin: 12px 0 8px;
        font-size: 1.1rem;
    }
    
    .lp-card time {
        display: block;
        font-size: .9rem;
        opacity: .8;
    }
    
    .lp-card-link {
        display: block;
        height: 100%;
        width: 100%;
        color: inherit;
        text-decoration: none;
    }
    
    .lp-card-link:hover article {
        background: #0f3a52;
    }
    
    .lp-card p span:first-child {
        color: #f4d03f;
    }
    
    .lp-card p span:last-child {
        color: #fff;
    }
    
    .lp-card .highlight-price td {
        color: #bd020a;
        font-weight: bold;
    }
    
    .lp-grid .lp-card,
    .lp-grid-4 .lp-card {
        background: #fff;
        border: 1px solid #efefef;
        border-radius: 8px;
        text-align: center;
        padding: 10px;
        transition: transform 0.25s ease, box-shadow 0.25s ease;
        overflow: hidden;
    }
    
    .lp-grid .lp-card:hover,
    .lp-grid-4 .lp-card:hover {
        box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
        transform: translateY(-2px);
    }
    
    .lp-card h3,
    .lp-card p {
        color: #144a68;
        margin: 10px 0 0;
        font-size: 1.1rem;
        line-height: 1.3;
    }
    /* Property Type Cards (homepage) */
    
    .lp-card-property-type {
        background: #a2a2a2;
        border: 1px solid #efefef;
        border-radius: 8px;
        padding: 20px;
        text-align: center;
        transition: transform 0.25s ease, box-shadow 0.25s ease;
    }
    
    .lp-card-property-type:hover {
        box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
        transform: translateY(-2px);
    }
    
    .lp-card-property-type img {
        width: 100%;
        aspect-ratio: 3 / 2;
        object-fit: cover;
        border-radius: 6px;
        margin-bottom: 12px;
    }
    
    .lp-card-property-type p {
        color: #fff;
        font-size: 1.2rem;
        line-height: 1.3;
        margin: 0;
    }
    
    .lp-card-property-type p span:first-child {
        color: #f4d03f;
    }
    /* Listing Cards Override */
    
    .products-list .lp-card {
        background: #fff;
        border: 1px solid #ddd;
        border-radius: 8px;
        padding: 10px;
        text-align: left;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    }
    
    .products-list .lp-card a {
        display: block;
        text-decoration: none;
        color: inherit;
    }
    
    .products-list .lp-card img {
        width: 100%;
        aspect-ratio: 3 / 2;
        object-fit: cover;
        display: block;
    }
    
    .products-list .lp-card h3 {
        margin: 10px 0;
        font-size: 16px;
        color: #333;
        min-height: 59px;
    }
    
    .products-list .lp-card .highlight-price td {
        color: #bd020a;
        font-weight: 700;
    }
    
    .products-list .lp-card .table-intro {
        width: 100%;
        border: 0;
        font-size: 16px;
        line-height: 1.3;
    }
    
    .products-list .lp-card .table-intro td {
        padding: 6px 0;
    }
    /* =========================================
   5. COMPONENTS - BUTTONS & LINKS
========================================= */
    /* Phone Button */
    
    .lisbonproperty-phone {
        border: 2px solid #4c7288;
        padding: 10px 3px 10px 10px;
        font-size: 18px;
        margin-left: 15px;
        border-radius: 25px;
        background: #144a68;
        color: #fff;
    }
    
    .lisbonproperty-phone-number {
        background: #fff;
        border: 1px solid #144a68;
        border-radius: 25px;
        padding: 6px 28px;
        text-underline-offset: 2px;
        color: #144a68;
        font-weight: 500;
        letter-spacing: 1px;
    }
    /* WhatsApp Buttons */
    
    .are-home-whatsapp-subtitle,
    .are-home-whatsapp-subtitle-mobile {
        border: 1px solid #128C7E;
        font-size: 20px;
        display: flex;
        justify-content: center;
        align-items: center;
        background: #075E54;
        color: #fff;
        border-radius: 5px;
        box-shadow: 0 4px 10px rgba(255, 255, 255, 0.3), 0 2px 4px rgba(255, 255, 255, 0.2);
        width: fit-content;
    }
    
    .are-home-whatsapp-subtitle {
        text-align: center;
        margin: 20px auto 0;
        padding: 0 30px;
    }
    
    .are-home-whatsapp-subtitle-mobile {
        text-align: left;
        margin: 0;
        padding: 0 20px;
    }
    
    .are-home-whatsapp-subtitle:hover,
    .are-home-whatsapp-subtitle-mobile:hover {
        background: #128C7E;
        cursor: pointer;
    }
    
    .are-home-whatsapp-subtitle a,
    .are-home-whatsapp-subtitle-mobile a {
        color: #fff;
        text-decoration: none;
        display: flex;
        align-items: center;
        gap: 20px;
    }
    
    .are-home-whatsapp-subtitle a {
        line-height: 3em;
    }
    
    .are-home-whatsapp-subtitle-mobile a {
        line-height: 1em;
        padding: 15px 0;
    }
    /* Properties Button */
    
    .are-button-properties,
    .are-button-properties-mobile {
        border: 1px solid #e4cd90;
        display: flex;
        justify-content: center;
        align-items: center;
        background: #c8a95a;
        color: #fff;
        border-radius: 5px;
        box-shadow: 0 4px 10px rgba(255, 255, 255, 0.3), 0 2px 4px rgba(255, 255, 255, 0.2);
        width: fit-content;
    }
    
    .are-button-properties {
        font-size: 26px;
        margin: 50px 10px 0 auto;
        padding: 0 30px;
    }
    
    .are-button-properties-mobile {
        font-size: 20px;
        margin: 0;
        padding: 0 20px;
    }
    
    .are-button-properties:hover,
    .are-button-properties-mobile:hover {
        background: #b08b48;
        cursor: pointer;
    }
    
    .are-button-properties a,
    .are-button-properties-mobile a {
        color: #fff;
        text-decoration: none;
        display: flex;
        align-items: center;
        gap: 20px;
    }
    
    .are-button-properties a {
        line-height: 2em;
    }
    
    .are-button-properties-mobile a {
        line-height: 1em;
        padding: 15px 0;
    }
    /* Property Buttons */
    
    .property-button {
        flex: 1;
        background: #144a68;
        color: white;
        text-align: center;
        padding: 15px 15px 36px;
        border-radius: 5px;
        margin: 10px;
        cursor: pointer;
        font-size: 18px;
        transition: background 0.3s ease;
    }
    
    .property-button:hover {
        background: #1b77b8;
    }
    
    .property-button.active {
        background: #2ea3f2;
    }
    
    .property-button-city {
        font-size: 3em;
        color: #fecc00;
    }
    /* Property Type Buttons */
    
    .lp-property-type-list {
        margin: 20px 0px;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px;
        margin-top: 24px;
        list-style: none;
        padding: 0;
    }
    
    .lp-property-type-list li {
        margin: 0;
    }
    
    .lp-btn-type {
        display: inline-block;
        background: #144a68;
        color: #fff;
        padding: 10px 18px;
        border-radius: 6px;
        text-decoration: none;
        font-size: 1rem;
        line-height: 1.4;
        transition: background 0.25s ease, color 0.25s ease, transform 0.15s ease;
    }
    
    .lp-btn-type:hover,
    .lp-btn-type:focus {
        background: #f4d03f;
        color: #144a68;
        transform: translateY(-1px);
    }
    
    .lp-btn-type:active {
        transform: translateY(0);
    }
    /* Inline Links */
    
    .lp-inline-links {
        display: flex;
        justify-content: center;
        gap: 10px;
        padding: 10px;
    }
    
    .lp-inline-links a {
        text-decoration: none;
        color: inherit;
    }
    
    .lp-inline-links a:hover {
        text-decoration: underline;
    }
    
    .features-link {
        font-weight: normal;
        transition: color 0.3s ease;
        font-size: 16px;
        text-underline-offset: 3px;
    }
    
    .features-link:hover {
        color: #0056b3;
        text-decoration: underline;
    }
    /* =========================================
   6. HEADER & NAVIGATION
========================================= */
    /* Fix Header Positioning */
    
    @media (min-width: 921px) {
        .ast-theme-transparent-header #masthead {
            position: relative !important;
            left: auto !important;
            right: auto !important;
        }
    }
    
    @media (max-width: 921px) {
        .ast-theme-transparent-header #masthead {
            position: relative !important;
            left: auto !important;
            right: auto !important;
        }
    }
    /* Menu Colors - Classic Blue/Purple */
    
    .ast-builder-menu-1 .menu-item>.menu-link {
        color: #0000EE !important;
    }
    
    .ast-builder-menu-1 .menu-item.current-menu-item>.menu-link,
    .ast-builder-menu-1 .inline-on-mobile .menu-item.current-menu-item>.ast-menu-toggle,
    .ast-builder-menu-1 .current-menu-ancestor>.menu-link {
        color: #551A8B !important;
    }
    
    .ast-builder-menu-1 .menu-item>.menu-link:hover {
        color: #EE0000 !important;
    }
    /* Mobile Hamburger Menu */
    
    .ast-mobile-menu-trigger-minimal svg {
        fill: #000 !important;
    }
    
    .ast-mobile-menu-trigger-minimal .mobile-menu-toggle-icon::before {
        content: "MENU";
        font-size: 16px;
        font-weight: 600;
        color: #000;
        margin-right: 8px;
    }
    /* =========================================
   7. HERO SECTION
========================================= */
    
    .are-home-whatsapp-h2 {
        font-size: 40px;
        font-weight: bold;
        line-height: 1;
        margin-top: 0;
        color: #fff !important;
        text-align: center;
    }
    
    .hero-container {
        position: relative;
        width: 100%;
        height: 347px;
        overflow: hidden;
    }
    
    .hero-background {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        z-index: 1;
    }
    
    .hero-container::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.33);
        z-index: 2;
    }
    
    .hero-agent {
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        height: 100%;
        width: auto;
        object-fit: contain;
        z-index: 3;
    }
    
    .hero-text {
        position: absolute;
        top: 60%;
        left: 50%;
        transform: translate(-50%, -50%);
        text-align: center;
        z-index: 4;
        color: #fff;
    }
    /* =========================================
   8. SECTIONS - HOMEPAGE
========================================= */
    
    .section-intro-text {
        text-align: center;
    }
    /* Area Links Section */
    
    .lp-area-links {
        text-align: left;
    }
    
    .lp-area-groups {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 40px;
        margin-top: 30px;
    }
    
    .lp-area-group h3 {
        font-size: 1.3rem;
        margin-bottom: 10px;
        color: #144a68;
    }
    
    .lp-area-group ul {
        list-style: disc;
        padding-left: 1.5rem;
        margin: 0 0 1rem;
    }
    
    .lp-area-group li {
        margin-bottom: 0.3rem;
    }
    
    .lp-area-group a {
        color: #0000EE;
        text-decoration: underline;
    }
    
    .lp-area-group a:visited {
        color: #551A8B;
    }
    
    .lp-area-group a:hover,
    .lp-area-group a:focus {
        color: #FF0000;
        text-decoration: underline;
    }
    /* SVG Map */
    
    .a4 {
        position: relative;
    }
    
    .a4 img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: auto;
        z-index: -1;
    }
    
    .svg-overlay {
        position: relative;
        width: 100%;
        height: auto;
    }
    
    .area-hover {
        transition: fill 0.3s ease;
    }
    
    .area-hover:hover {
        fill: rgba(20, 74, 104, 0.25);
    }
    /* Developments Section */
    
    .lp-developments-section {
        margin-top: 40px;
    }
    
    .developments-list ul.nav {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
        padding: 0;
        margin: 20px 0;
        list-style: none;
    }
    
    .developments-list ul.nav li.son {
        flex: 1 1 auto;
        text-align: center;
    }
    
    .developments-list ul.nav li.son a {
        display: block;
        padding: 10px 15px;
        border-radius: 6px;
        background: #f8f8f8;
        color: #333;
        text-decoration: none;
        transition: all 0.3s ease;
    }
    
    .developments-list ul.nav li.son a:hover {
        background: #e2e2e2;
        color: #000;
    }
    
    .developments-list ul.nav li.son.active a {
        background: #2c3e50;
        color: #fff;
        font-weight: 600;
    }
    /* Category Extra Content */
    
    .lp-category-extra-content {
        margin-top: 40px;
        padding-top: 20px;
        border-top: 1px solid #ddd;
    }
    /* =========================================
   9. TABLES - PROPERTY DATA
========================================= */
    
    .lp-thumb-32 {
        position: relative;
        aspect-ratio: 3 / 2;
        overflow: hidden;
    }
    
    .lp-thumb-32 img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }
    
    .table {
        width: 100%;
        color: #2b739b;
        vertical-align: top;
        border-color: #dee2e6;
        border-collapse: collapse;
        border: 0 !important;
        padding-bottom: 40px;
        table-layout: fixed;
        font-size: 18px;
        line-height: 2.3em;
    }
    
    .table td,
    .table th {
        border-top: 0 !important;
        border-left: 0 !important;
        border-right: 0 !important;
        border-bottom: 0;
    }
    
    .table tbody tr:not(:last-child) td,
    .table tbody tr:not(:last-child) th {
        border-bottom: 1px solid #eee !important;
    }
    
    .table tr {
        border-bottom: 1px solid #eee;
    }
    
    .table td {
        text-align: left;
    }
    
    .table-intro {
        width: 100%;
        color: #2b739b;
        vertical-align: top;
        border-color: #dee2e6;
        border-collapse: collapse;
        border: 0 !important;
        padding-bottom: 40px;
        table-layout: fixed;
        font-size: 18px;
        line-height: 1.3em;
    }
    
    .table-intro td,
    .table-intro th {
        border-top: 0 !important;
        border-left: 0 !important;
        border-right: 0 !important;
        border-bottom: 0;
    }
    
    .table-intro tbody tr:not(:last-child) td,
    .table-intro tbody tr:not(:last-child) th {
        border-bottom: 1px solid #eee !important;
    }
    
    .table-intro tr {
        border-bottom: 1px solid #eee;
    }
    
    .table-intro td {
        text-align: left;
    }
    
    .table-striped>tbody>tr:nth-of-type(odd)>* {
        background: #fff;
        padding: 0.5rem 0.5rem;
    }
    
    .table-striped>tbody>tr:nth-of-type(even)>* {
        background: #fff;
        padding: 0.5rem 0.5rem;
    }
    
    .primeira {
        padding: 0 10px;
        border: 2px solid #eee;
        border-radius: 10px;
    }
    
    .completa {
        background: #fdfdfd;
        padding: 0 10px;
        border: 2px solid #eee;
        border-radius: 10px;
    }
    
    .entry-content table:not(.variations) {
        border: none;
        margin: 0 0 0px;
        text-align: left;
        width: 100%;
    }
    
    .tbody {
        border-color: inherit;
        border-style: solid;
        border-width: 0;
    }
    
    td.text-end {
        text-align: right;
    }
    
    div.text-end {
        text-align: right;
        font-weight: bold;
        font-size: 1.3em;
        color: #bd020a;
    }
    
    .latest-view {
        width: 100%;
        max-width: 300px;
        font-size: 13px;
        border-collapse: collapse;
    }
    
    .latest-view tr {
        height: auto;
        min-height: 18px;
    }
    
    .latest-view td,
    .latest-view th {
        padding: 0px 4px;
        border-bottom: 1px solid #ddd;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        max-width: 140px;
    }
    
    .latest-view th {
        background-color: #f9f9f9;
        text-align: left;
    }
    
    .price-cell {
        width: 100%;
        table-layout: fixed;
    }
    
    .home-price {
        width: 100%;
        text-align: right;
    }
    
    .home-price .price {
        color: #800808;
    }
    
    .start-price {
        display: inline-block;
        float: left;
        color: #800808;
        font-weight: bold;
    }
    
    .latest-price {
        display: inline-block;
        float: right;
        color: #bd020a;
        font-weight: bold;
        white-space: nowrap;
        text-align: right;
    }
    
    .asking_price {
        border-bottom: 1px dotted #800808;
    }
    
    #LatestViewedProperties {
        margin-bottom: 20px;
        text-align: center;
        border-bottom: 1px solid #d8d8d8;
        text-transform: uppercase;
    }
    
    .my-product-meta {
        width: 100%;
        color: #2b739b;
        font-size: 18px;
        line-height: 1.3em;
        border-collapse: collapse;
    }
    
    .my-product-meta span {
        display: flex;
        justify-content: space-between;
        border-bottom: 1px solid #eee;
        padding: 0.5rem 0;
    }
    
    .my-product-meta .meta-ref::before {
        content: "Reference: ";
        font-weight: normal;
    }
    
    .my-product-meta .meta-area::before {
        content: "Interior area: ";
        font-weight: normal;
    }
    /* Tax Tables */
    
    .tax-table {
        background: #fffdea;
        padding: 10px;
        width: 100%;
        color: #2b739b;
        vertical-align: top;
        border-color: #dee2e6;
        border-collapse: collapse;
        font-size: 18px;
        line-height: 2.3em;
    }
    
    .tax-table tr {
        border-bottom: 1px solid #e6e6e6;
    }
    
    .tax-info {
        text-align: center;
        margin-top: 20px;
    }
    
    .tax-table td {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .tax-table td:first-child {
        white-space: normal;
        word-wrap: break-word;
        flex: 2;
    }
    
    .tax-table td:last-child {
        flex: 1;
    }
    
    #usage_type {
        padding: 4px;
        font-size: 16px;
        border-radius: 20px;
        color: #069;
        border: 1px solid #efefef;
    }
    
    .scroll-offset {
        position: relative;
    }
    
    .scroll-offset::before {
        content: "";
        display: block;
        height: 20px;
        margin-top: -60px;
    }
    
    .tax-highlight {
        color: #bd020a;
    }
    /* =========================================
   10. PROPERTY GALLERY
========================================= */
    
    .home-gallery {
        margin: 30px 0;
        text-align: center;
    }
    
    .property-gallery-main {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .featured-link,
    .featured-image {
        width: 100%;
        max-width: 100%;
        border-radius: 8px;
    }
    
    .property-gallery-thumbs {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
        gap: 8px;
        margin-top: 18px;
        width: 100%;
        max-width: 100%;
        align-self: stretch;
    }
    
    .property-gallery-thumbs a {
        position: relative;
        overflow: hidden;
        border-radius: 6px;
        display: block;
        aspect-ratio: 3 / 2;
    }
    
    .property-gallery-thumbs img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.25s ease;
    }
    
    .property-gallery-thumbs a:hover img {
        transform: scale(1.05);
    }
    
    .gallery-thumb {
        width: 100px;
        height: 100px;
        object-fit: cover;
        border-radius: 4px;
        cursor: pointer;
    }
    
    .gallery-thumb:hover {
        transform: scale(1.03);
    }
    
    .pswp__button--arrow {
        width: 400px;
        height: 300px;
    }
    /* =========================================
   11. FOOTER
========================================= */
    
    .are-footer {
        background: #144a68;
        text-align: center;
        color: #fff;
    }
    
    .are-footer-ul {
        list-style: none !important;
    }
    
    .are-footer-whatsapp {
        text-align: center;
        color: #fff;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .are-footer-whatsapp a {
        display: flex;
        align-items: center;
        color: #fff;
    }
    
    .are-footer-whatsapp img {
        margin-right: 8px;
    }
    
    .are-footer-websites {
        font-size: 12px;
        width: 80%;
        display: block;
        margin: auto;
    }
    
    .footer-disclaimer {
        margin: 0px;
        background: #144a68;
        padding: 10px;
    }
    
    .footer-disclaimer a,
    .are-footer a,
    .scroll-text-wrapper a {
        color: #93bdff;
    }
    
    .et_pb_widget_area_left {
        padding-right: 6px;
    }
    /* =========================================
   12. SCROLL EFFECTS
========================================= */
    
    .scroll-text-wrapper {
        background: #144a68;
        width: 100%;
        overflow: hidden;
        position: relative;
        padding: 5px;
    }
    
    .scroll-text {
        display: inline-block;
        color: #fff;
        white-space: nowrap;
        animation: scroll 50s linear infinite;
    }
    
    @keyframes scroll {
        0% {
            transform: translateX(50%);
        }
        100% {
            transform: translateX(-100%);
        }
    }
    /* =========================================
   13. MOBILE NAVIGATION
========================================= */
    
    #mobile-link {
        display: block;
        background: #144a68;
        padding: 10px;
    }
    
    #mobile-link ul.nav {
        display: flex;
        justify-content: space-around;
        align-items: stretch;
        padding: 0;
        margin: 0 0 12px;
        list-style: none;
        gap: 10px;
    }
    
    #mobile-link li {
        flex: 1;
        text-align: center;
        padding: 10px 5px;
        width: 33%;
    }
    
    #mobile-link a {
        display: block;
        padding: 12px 8px;
        border-radius: 6px;
        background: #fff;
        color: #144a68;
        font-size: 18px;
        font-weight: 500;
        text-decoration: none;
        line-height: 1.3;
        transition: all 0.25s ease-in-out;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
        min-height: 60px;
        height: calc(2em * 2);
    }
    
    #mobile-link a:hover,
    #mobile-link a:focus {
        background: #0e4664;
        color: #fff !important;
        transform: translateY(-2px);
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    }
    
    #mobile-link li.main a {
        font-weight: 700;
        text-transform: uppercase;
        background: #075E54;
        color: #fff;
    }
    
    #mobile-link li.main a:hover {
        background: #128C7E;
    }
    
    #mobile-link li.son a {
        background: #f9f9f9;
        color: #144a68;
    }
    
    #mobile-link .active-condominiums a {
        background: #0e4664;
        color: #fff !important;
    }
    /* Variations */
    
    #mobile-link-condo li {
        padding: 10px 5px;
        width: 33%;
    }
    
    #mobile-link-condo a {
        font-size: 18px;
        color: #144a68;
        height: calc(1.3em * 2);
    }
    
    #mobile-link-2 li {
        padding: 10px 5px;
    }
    
    #mobile-link-2 a {
        font-size: 16px;
        color: #144a68;
        height: calc(1.3em * 2);
        width: 17vw;
    }
    
    #mobile-link-condo-2 {
        display: block !important;
    }
    
    #mobile-link-condo-2 ul.nav {
        text-align: center;
        display: flex;
        flex-direction: row;
        justify-content: space-around;
        align-items: center;
        padding: 0;
        margin: 0;
        list-style-type: none;
    }
    
    #mobile-link-condo-2 li {
        padding: 10px 5px;
        width: 50%;
    }
    
    #mobile-link-condo-2 a {
        padding: 5px;
        border-radius: 5px;
        color: #144a68;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        overflow: hidden;
        text-overflow: ellipsis;
        line-height: 1.5;
        height: calc(1.5em* 2);
        text-decoration: underline;
        text-underline-offset: 3px;
        text-align: center;
        font-size: 16px;
    }
    
    #mobile-link-condo-2 .main {
        text-transform: uppercase;
        font-weight: bold;
    }
    
    #mobile-link-condo-2 .main a {
        background: #f1f1f1;
    }
    
    #mobile-link-condo-2 .son {
        text-transform: none;
    }
    
    #mobile-link-condo-2 .son a {
        background: #f1f1f1;
    }
    
    #mobile-link-condo-4 li {
        padding: 10px 5px;
        width: 25%;
    }
    
    #mobile-link-condo-4 a {
        font-size: 16px;
        color: #144a68;
        padding: 35px 5px;
        height: calc(1.3em * 2);
    }
    /* Footer Nav (mobile-link-4) */
    
    #mobile-link-4 {
        display: block;
        margin-top: 20px;
    }
    
    #mobile-link-4 ul.nav {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        gap: 20px;
        padding: 20px;
        margin: 0;
        list-style: none;
        align-items: stretch;
    }
    
    #mobile-link-4 ul.nav li {
        display: flex;
    }
    
    #mobile-link-4 ul.nav li a {
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        min-height: 56px;
        width: 100%;
        line-height: 1.3;
        white-space: normal;
        padding: 10px 16px;
        border-radius: 4px;
        background: #c8a95a;
        color: #fff;
        font-size: 15px;
        font-weight: 500;
        text-decoration: underline;
        text-underline-offset: 3px;
        transition: all 0.25s ease-in-out;
    }
    
    #mobile-link-4 .son {
        text-transform: none;
        flex: 0 0 calc((100% - 60px)/4);
        max-width: calc((100% - 60px)/4);
        box-sizing: border-box;
    }
    
    #mobile-link-4 ul.nav li a:hover,
    #mobile-link-4 ul.nav li a:focus {
        background: #0e4664;
        color: #fff;
    }
    /* =========================================
   PRODUCT LISTINGS & PAGINATION
========================================= */
    
    .products-list {
        display: flex;
        flex-wrap: wrap;
        gap: 20px;
        width: 100%;
        justify-content: flex-start;
    }
    
    .product-item {
        flex: 0 0 calc(33.33% - 20px);
        background: #fff;
        border: 1px solid #ddd;
        border-radius: 8px;
        padding: 10px;
        text-align: center;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    }
    
    .product-item a {
        text-decoration: none;
    }
    
    .product-item img {
        max-width: 100%;
        height: auto;
        margin-bottom: 10px;
    }
    
    .product-item h3 {
        font-size: 16px;
        color: #333;
        min-height: 59px;
    }
    
    .products-list img {
        width: 100%;
        aspect-ratio: 3 / 2;
        object-fit: cover;
        display: block;
    }
    /* Pagination */
    
    .products-pagination {
        display: flex;
        justify-content: center;
        gap: 0.5rem;
        margin: 1.5rem 0;
        font-family: Arial, sans-serif;
        font-size: 15px;
    }
    
    .products-pagination a,
    .products-pagination span {
        display: inline-block;
        padding: 6px 12px;
        border: 1px solid #ddd;
        border-radius: 6px;
        text-decoration: none;
        color: #333;
        background-color: #f9f9f9;
        transition: all 0.2s ease-in-out;
    }
    
    .products-pagination a:hover {
        background-color: #0073aa;
        color: #fff;
        border-color: #0073aa;
    }
    
    .products-pagination .current {
        background-color: #0073aa;
        color: #fff;
        border-color: #0073aa;
        font-weight: bold;
        cursor: default;
    }
    
    .products-pagination .prev,
    .products-pagination .next {
        font-weight: bold;
    }
    
    .products-pagination .disabled {
        color: #aaa;
        border-color: #eee;
        background-color: #f5f5f5;
        cursor: not-allowed;
    }
    /* =========================================
   SINGLE HOME TEMPLATE
========================================= */
    
    .lp-single-home {
        background: #fff;
        padding: 20px;
        margin: 0 auto;
        border: 1px solid #eee;
        border-radius: 8px;
    }
    
    .lp-single-home #primary,
    .lp-single-home .site-main,
    .lp-single-home main#main {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
        margin: 0 auto !important;
    }
    
    .lp-single-home .ast-container,
    .lp-single-home .ast-row {
        max-width: 100% !important;
        padding: 0 !important;
    }
    
    .lp-single-home .entry-content {
        margin: 0 !important;
        padding: 0 !important;
    }
    
    .lp-single-home article {
        width: 100%;
        max-width: 1280px;
        margin: 0 auto;
        padding: 1.5rem;
    }
    
    .lp-single-home .home-header {
        margin-bottom: 1rem;
        border-bottom: 1px solid #e0e0e0;
        padding-bottom: 0.5rem;
    }
    
    .lp-single-home .home-header h1 {
        font-size: 2rem;
        margin-bottom: 0.3rem;
    }
    
    .lp-single-home .home-price .price {
        font-size: 1.5rem;
        font-weight: 600;
    }
    
    .lp-single-home .home-gallery,
    .lp-single-home .home-description,
    .lp-single-home .home-details,
    .lp-single-home .home-tax-section {
        margin-top: 2rem;
    }
    
    .lp-single-home .home-description {
        font-size: 1rem;
        line-height: 1.7;
    }
    
    .lp-single-home__image img {
        width: 100%;
        height: auto;
        border-radius: 8px;
        margin-bottom: 20px;
    }
    
    .lp-single-home__title {
        font-size: 2rem;
        font-weight: bold;
        color: #144a68;
        margin-bottom: 20px;
        text-align: center;
    }
    
    .lp-single-home__content {
        font-size: 1.1rem;
        line-height: 1.6;
        color: #333;
    }
    
    .lp-single-home__footer {
        margin-top: 30px;
        padding-top: 15px;
        border-top: 1px solid #ddd;
        font-size: 0.9rem;
        color: #666;
    }
    
    .home-header-top {
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .home-header-top .entry-title {
        margin: 0;
        font-size: 2rem;
        line-height: 1.2;
    }
    
    .home-header-top .home-price .price {
        color: #800808;
        font-size: 1.5rem;
        font-weight: 600;
        white-space: nowrap;
    }
    /* =========================================
   14. MOBILE OVERRIDES (≤850px)
========================================= */
    
    @media (max-width: 850px) {
        .products-pagination .page-numbers:nth-child(n+6):nth-last-child(n+4) {
            display: none;
        }
    }
    /* =========================================
   14.1 MOBILE OVERRIDES (≤768px)
========================================= */
    
    @media (max-width: 768px) {
        /* Layout Adjustments */
        .ast-separate-container #primary,
        .ast-separate-container.ast-left-sidebar #primary,
        .ast-separate-container.ast-right-sidebar #primary {
            margin: 10px 0 10px 0 !important;
            padding: 0 !important;
        }
        .lp-section {
            margin-bottom: 80px;
        }
        .lp-frame {
            padding: 20px;
            margin: 20px auto;
        }
        /* Typography */
        .are-home-h1 {
            font-size: 22px;
            text-transform: none;
        }
        .are-home-h2 {
            font-size: 26px;
        }
        .are-footer-h2 {
            font-size: 27px;
        }
        /* Phone & WhatsApp Buttons */
        .lisbonproperty-phone {
            padding: 10px 3px 10px 10px;
            font-size: 15px;
            margin-left: 0px;
            border-radius: 25px;
        }
        .lisbonproperty-phone-number {
            padding: 6px 28px;
        }
        .are-home-whatsapp-subtitle {
            margin: 20px auto 0;
            padding: 0 10px;
        }
        .are-home-whatsapp-subtitle a {
            line-height: 1em;
        }
        .are-home-whatsapp-h2 {
            font-size: 32px;
            line-height: 1.2;
            margin-bottom: 10px;
            text-align: left;
        }
        .are-home-whatsapp-subtitle {
            margin: 10px 0 0 0;
            font-size: 16px;
            text-align: left;
            justify-content: flex-start;
        }
        /* Hero Section */
        .hero-container {
            height: 280px;
        }
        .hero-agent {
            right: -10px;
            bottom: 0;
            top: auto;
            transform: none;
            height: auto;
            max-height: 90%;
        }
        .hero-text {
            top: auto;
            bottom: 0px;
            left: 5%;
            transform: none;
            text-align: left;
            width: 66%;
        }
        .are-home-p.phero {
            font-size: 14px;
            line-height: 1.4;
            text-align: left;
        }
        /* Tables */
        .table {
            font-size: 14px;
        }
        .table-intro {
            font-size: 14px;
        }
        /* Navigation */
        #mobile-link {
            display: flex;
            flex-wrap: wrap;
        }
        #mobile-link .nav {
            flex: 1 1 50%;
            margin: 0;
            padding: 0;
            list-style: none;
        }
        #mobile-link .nav li {
            margin-bottom: 10px;
            text-align: center;
        }
        #mobile-link .nav a {
            display: block;
            padding: 8px;
        }
        #mobile-link a {
            padding: 12px 8px;
            font-size: 15px;
        }
        #mobile-link-4 ul {
            display: flex;
            flex-wrap: nowrap;
            padding: 0;
            margin: 0;
            list-style: none;
            width: 100%;
        }
        #mobile-link-4 ul li {
            flex: 1 1 25%;
            max-width: 25%;
            text-align: center;
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        #mobile-link-4 ul li a {
            display: block;
            padding: 8px;
            font-size: 14px;
        }
        /* Buttons */
        .button-container {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            margin-bottom: 20px;
        }
        .button-container .property-button {
            flex: 1 1 calc(50% - 10px);
            text-align: center;
            box-sizing: border-box;
            font-size: 14px;
            margin: 0;
        }
        /* Product Grid */
        .product-item {
            flex: 1 1 calc(50% - 20px);
        }
        /* Grids */
        .lp-grid-4.lp-grid-8cards {
            grid-template-columns: repeat(2, 1fr);
        }
        .lp-area-groups {
            grid-template-columns: 1fr;
            gap: 24px;
        }
        .property-gallery-thumbs {
            grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
            gap: 6px;
        }
        .site-title {
            font-size: 20px;
        }
    }
    /* Tablet Range (768px - 980px) */
    
    @media (min-width: 768px) and (max-width: 980px) {
        .are-home-h1 {
            font-size: 22px;
            text-transform: none;
        }
    }
    /* Small Desktop Range */
    
    @media (max-width: 1024px) {
        .lp-section {
            margin-bottom: 80px;
        }
    }
    /* Extra Small Mobile (≤600px) */
    
    @media (max-width: 600px) {
        .are-home-h2 {
            font-size: 20px;
        }
        main#primary.site-main>h1 {
            font-size: 25px;
        }
        .lp-btn-type {
            display: inline-block;
            background: #144a68;
            color: #fff;
            padding: 6px 8px;
            border-radius: 6px;
            text-decoration: none;
            font-size: 14px;
            line-height: 1.4;
            transition: background 0.25s ease, color 0.25s ease, transform 0.15s ease;
        }
    }
    /* Extra Small Mobile (≤480px) */
    
    @media (max-width: 480px) {
        .product-item {
            flex: 1 1 100%;
        }
        .lp-section {
            margin-bottom: 60px;
        }
    }