/* =====================================================================
   PREMIUM REDESIGN — ImobiliareVJ / WpResidence (tema PARINTE)
   Modificari MAJORE de aspect: tipografie, hero, carduri, search,
   header sticky, footer, animatii.
   NU se schimba: functionalitati, culorile de brand (main_color etc.)
   Trucuri pt culori: shadow/overlay in rgba(0,0,0,x) sau rgba(255,255,255,x),
   filter (brightness/saturate), niciodata hex nou peste elemente de brand.
   ===================================================================== */


/* =========================================================================
   0. FONT PREMIUM — UN SINGUR FONT (nu mai amestecam serif+sans, arata inconsistent)
   Incarcat separat in PHP (vezi css_js_include.php) - aici doar aplicarea.
   ========================================================================= */
body,
input,
textarea,
select,
button,
h1, h2, h3, h4, h5, h6,
.property-unit-information-wrapper h4,
.elementor-heading-title,
.wpresidence_page_title {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
}

h1, h2, h3, h4, h5, h6,
.property-unit-information-wrapper h4,
.elementor-heading-title,
.wpresidence_page_title {
    font-weight: 700 !important;
    letter-spacing: -0.01em;
    line-height: 1.2;
}


/* =========================================================================
   1. BAZA
   ========================================================================= */
html { scroll-behavior: smooth; }

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

::selection { background: rgba(0, 0, 0, .12); }

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: rgba(0, 0, 0, .04); }
::-webkit-scrollbar-thumb { background: rgba(0, 0, 0, .2); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: rgba(0, 0, 0, .32); }

.container, .container-fluid { }

/* eyebrow label reutilizabil - text mic, uppercase, spatiat - "premium" hallmark */
.premium-eyebrow {
    display: inline-block;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
    opacity: .55;
    margin-bottom: 10px;
}


/* =========================================================================
   2. HEADER / STICKY
   ========================================================================= */
.website-wrapper .main_wrapper {
    transition: box-shadow .35s ease, padding .35s ease, backdrop-filter .35s ease;
}

.customnav #access ul.menu > li > a {
    font-weight: 700;
    letter-spacing: .03em;
    text-transform: uppercase;
    font-size: 13px;
    transition: all .2s ease;
}

.customnav .header_phone,
.customnav .submit_action {
    transition: transform .25s ease, filter .25s ease;
}
.customnav .header_phone:hover,
.customnav .submit_action:hover {
    transform: translateY(-2px);
    filter: brightness(1.1);
}

/* clasa adaugata prin JS cand utilizatorul da scroll -> header "shrink + glass"
   Pus pe .header_wrapper si .mobile_header direct (nu pe parintele comun
   .master_header) - .mobile_header e SI el position:fixed pe mobil, iar un
   backdrop-filter pe parintele lui i-ar rupe la fel fix-ul, ca inainte. */
body.wpz-scrolled .header_wrapper,
body.wpz-scrolled .mobile_header {
    box-shadow: 0 8px 30px rgba(0, 0, 0, .12);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

body.wpz-scrolled .header_wrapper .logo_wrapper img,
body.wpz-scrolled .header_wrapper img.logo,
body.wpz-scrolled .mobile_header .logo_wrapper img,
body.wpz-scrolled .mobile_header img.logo {
    transition: all .3s ease;
    max-height: 42px;
    width: auto;
}

/* topbar-ul (email/telefon) dispare la scroll, ca sa ramana sticky doar
   logo + meniu, nu si el */
body.wpz-scrolled .top_bar_wrapper {
    display: none !important;
}


/* =========================================================================
   3. HERO — sectiunea reala e elementor-element-7a470a6f
   Fundalul + gradientul albastru (#053A63 -> #01111B) sunt deja setate din
   Elementor si arata bine - NU le atingem. Doar rafinam textul de deasupra.
   ========================================================================= */
.elementor-element-7a470a6f .elementor-heading-title,
.elementor-element-2bde6d45 h4 span,
.pv-hero-title h4 span {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
    font-size: clamp(28px, 4.2vw, 42px) !important;
    font-weight: 800 !important;
    letter-spacing: -0.01em;
    text-shadow: 0 4px 24px rgba(0, 0, 0, .35);
}

.elementor-element-2bde6d45 p,
.pv-hero-title p {
    opacity: .92;
}

/* best-effort generic, pentru cazul in care alte pagini folosesc Slider Revolution */
.rev_slider_wrapper::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(0,0,0,.2) 0%, rgba(0,0,0,.05) 40%, rgba(0,0,0,.3) 100%);
    z-index: 1;
}


/* =========================================================================
   4. SEARCH BAR — widget-ul real este elementor-element-140f7643
   (clasele lui reale: .search_wr_elementor, .tab-content, .adv_search_tab_item,
   .dropdown.form-control, .wpresidence_button). Pozitia de suprapunere peste
   hero e deja facuta corect de Elementor (top + margin negativ) - nu umblam
   la pozitionare, doar la profunzime vizuala (radius, shadow, hover).
   ========================================================================= */
.elementor-element-140f7643 .search_wr_elementor,
.elementor-element-140f7643 .tab-content {
    border-radius: 20px !important;
}

.elementor-element-140f7643 .tab-content {
    box-shadow:
        0 4px 16px rgba(7, 152, 255, .12),
        0 30px 60px -12px rgba(1, 17, 27, .35) !important;
}

.elementor-element-140f7643 .adv_search_tab_item {
    transition: transform .2s ease, box-shadow .2s ease;
}
.elementor-element-140f7643 .adv_search_tab_item:hover {
    transform: translateY(-2px);
}

.elementor-element-140f7643 .dropdown.form-control {
    transition: border-color .2s ease, box-shadow .2s ease;
    border-radius: 10px !important;
}
.elementor-element-140f7643 .dropdown.form-control:hover {
    border-color: #0073e1 !important;
}

.elementor-element-140f7643 .wpresidence_button {
    border-radius: 10px !important;
    transition: transform .2s ease, box-shadow .2s ease !important;
    box-shadow: 0 10px 22px rgba(0, 115, 225, .35);
}
.elementor-element-140f7643 .wpresidence_button:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(0, 115, 225, .4);
}


/* =========================================================================
   5. CARDURI PROPRIETATI — redesign complet
   ========================================================================= */
.property_listing {
    border-radius: 22px !important;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, .07);
    transition: transform .4s cubic-bezier(.2,.8,.2,1), box-shadow .4s ease;
    background: #fff;
}

.property_listing:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px -12px rgba(0, 0, 0, .22);
}

.listing-unit-img-wrapper {
    overflow: hidden;
    border-radius: 22px 22px 0 0;
}
.listing-unit-img-wrapper img {
    transition: transform .6s cubic-bezier(.2,.8,.2,1);
}
.property_listing:hover .listing-unit-img-wrapper img {
    transform: scale(1.08);
}

/* pretul, statusul (DE VANZARE) si ribbonul "Exclusivitate" isi pastreaza
   pozitia/fundalul default din tema (deja arata bine) - adaugam DOAR
   profunzime (shadow), fara sa umblam la position/display/padding,
   ca sa nu stricam clipping-ul/forma lor originala. */
.listing_unit_price_wrapper {
    box-shadow: 0 6px 18px rgba(0, 0, 0, .25) !important;
    font-weight: 800 !important;
}

.action_tag_wrapper {
    box-shadow: 0 4px 12px rgba(0, 0, 0, .18);
    font-weight: 700 !important;
}

/* "Exclusivitate" - repozitionat explicit sus-stanga peste imagine, ca sa
   fie simetric cu "DE VANZARE" din dreapta. Inainte statea "pe langa" din
   cauza pozitionarii ambigue din tema (position:absolute fara top explicit) */
.property_listing {
    position: relative !important;
}
.tag-wrapper {
    position: absolute !important;
    top: 13px !important;
    left: 0 !important;
    right: auto !important;
    bottom: auto !important;
    padding: 0 !important;
    z-index: 15 !important;
    pointer-events: none;
}
.tag-wrapper .featured_div {
    position: static !important;
    float: left;
    margin-left: 9px !important;
    padding: 6px 14px !important;
    max-width: none !important;
    background-color: #0b1f3a !important;
    color: #fff !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    text-transform: uppercase;
    letter-spacing: .04em;
    border-radius: 6px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .25);
    pointer-events: auto;
}

.home .property-unit-information-wrapper {
    padding: 22px 20px 10px !important;
}

.property-unit-information-wrapper h4 {
    font-size: 19px;
    letter-spacing: -0.01em;
    margin-bottom: 8px;
}
.property-unit-information-wrapper h4 a {
    transition: opacity .2s ease;
}
.property-unit-information-wrapper h4 a:hover { opacity: .68; }

.property_address_type1_wrapper {
    color: #64748b;
    font-size: 13px;
}
.property_address_type1_wrapper i.fa-map-marker-alt {
    color: #94a3b8;
    margin-right: 4px;
}

.property_categories_type1_wrapper {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    opacity: .5;
    margin-bottom: 4px;
}

/* detalii (camere/etaj/mp) — rand minimalist, cu separatoare subtiri, fara "bule" */
.property_listing_details {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    min-height: 0;
    padding-top: 12px !important;
    padding-bottom: 0 !important;
    padding-right: 0 !important;
    margin-top: 6px !important;
    margin-bottom: 0 !important;
    margin-right: 0 !important;
    border-top: 1px solid rgba(0, 0, 0, .07);
}

.property_listing_details span.inforoom,
.property_listing_details span.infobath,
.property_listing_details span.infosize {
    background: none;
    border-radius: 0;
    padding: 0 10px 0 0;
    margin-right: 10px;
    font-size: 13px;
    font-weight: 700;
    color: #334155;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    border-right: 1px solid rgba(0, 0, 0, .1);
}
.property_listing_details span.inforoom:last-of-type,
.property_listing_details span.infobath:last-of-type,
.property_listing_details span.infosize:last-of-type {
    border-right: none;
    padding-right: 0;
    margin-right: 0;
}
/* iconita trecuta INAINTEA textului "Camere:"/"Etaj:" folosind flex order
   (textul e text simplu, nu span, dar tot devine "flex item" automat
   intr-un container flex, deci order functioneaza pe iconita) */
.property_listing_details svg {
    display: inline-block;
    order: -1;
    opacity: .55;
    width: 14px;
    height: 14px;
    vertical-align: middle;
}

/* butonul "Vezi detalii" scos de tot - da probleme de aliniere cand sunt multe detalii */
.property_listing_details .unit_details_x { display: none; }

.property_agent_wrapper {
    font-size: 12px;
    font-weight: 700;
    opacity: .8;
}
.property_agent_image {
    border-radius: 50%;
    box-shadow: 0 0 0 3px #fff, 0 4px 12px rgba(0, 0, 0, .18);
}

.icon-fav, .share_list, .compare-action {
    border-radius: 50%;
    background-color: rgba(255, 255, 255, .9);
    box-shadow: 0 4px 10px rgba(0, 0, 0, .15);
    transition: all .25s ease;
}
.icon-fav:hover, .share_list:hover, .compare-action:hover {
    transform: translateY(-3px) scale(1.08);
    box-shadow: 0 8px 18px rgba(0, 0, 0, .22);
}


/* =========================================================================
   6. BUTOANE — forma pill, uppercase, animatie "shine sweep"
   ========================================================================= */
.wpresidence_button,
.submit_listing,
.schedule_meeting,
.developer_contact_button,
.agency_contact_but,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.elementor-button {
    border-radius: 999px !important;
    font-weight: 700 !important;
    letter-spacing: .04em !important;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .16);
    transition: transform .25s ease, box-shadow .25s ease, filter .25s ease !important;
}

.wpresidence_button:hover,
.submit_listing:hover,
.schedule_meeting:hover,
.developer_contact_button:hover,
.agency_contact_but:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.elementor-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 34px rgba(0, 0, 0, .24);
    filter: brightness(1.07);
}


/* =========================================================================
   7. FORMULARE GENERALE
   ========================================================================= */
input[type="text"], input[type="email"], input[type="tel"],
input[type="number"], input[type="password"], textarea, select,
.elementor-field-textual {
    border-radius: 12px !important;
    transition: all .25s ease;
}
input[type="text"]:focus, input[type="email"]:focus, input[type="tel"]:focus,
input[type="number"]:focus, input[type="password"]:focus, textarea:focus,
select:focus, .elementor-field-textual:focus {
    box-shadow: 0 0 0 3px rgba(0, 0, 0, .08);
}


/* =========================================================================
   8. TESTIMONIALE — carduri mari cu ghilimele decorative
   ========================================================================= */
.elementor-testimonial-wrapper {
    position: relative;
    border-radius: 20px !important;
    box-shadow: 0 15px 45px rgba(0, 0, 0, .08);
    padding: 36px 30px !important;
    transition: transform .35s ease, box-shadow .35s ease;
}
.elementor-testimonial-wrapper:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 55px rgba(0, 0, 0, .14);
}
.elementor-testimonial-wrapper::before {
    content: "\201C";
    position: absolute;
    top: 10px;
    left: 24px;
    font-family: Georgia, serif;
    font-size: 90px;
    line-height: 1;
    opacity: .07;
    font-weight: 800;
}
.elementor-testimonial-content {
    font-style: italic;
    font-size: 16px;
    line-height: 1.7;
}


/* =========================================================================
   9. ICON BOXES ("De ce noi") — cerc icon elevat + hover lift
   ========================================================================= */
.elementor-icon-box-wrapper {
    transition: transform .35s ease;
}
.elementor-icon-box-wrapper:hover { transform: translateY(-6px); }

.elementor-icon-box-wrapper .elementor-icon {
    border-radius: 50% !important;
    box-shadow: 0 12px 28px rgba(0, 0, 0, .14);
    transition: transform .35s ease, box-shadow .35s ease;
}
.elementor-icon-box-wrapper:hover .elementor-icon {
    transform: scale(1.12) rotate(-4deg);
    box-shadow: 0 18px 36px rgba(0, 0, 0, .2);
}


/* =========================================================================
   10. CONTOARE ORASE (Elementor Counter) — cifre mari, stil "stat block"
   ========================================================================= */
.elementor-counter {
    text-align: center;
    padding: 20px 10px;
    border-radius: 16px;
    transition: transform .3s ease, box-shadow .3s ease;
}
.elementor-counter:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 34px rgba(0, 0, 0, .08);
}
.elementor-counter-number-wrapper {
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    font-size: 44px !important;
    font-weight: 700 !important;
}
.elementor-counter-title {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
    opacity: .55;
}


/* =========================================================================
   11. FOOTER — "imbogatit" (aceeasi culoare, doar mai adanca + spatiere mare)
   ========================================================================= */
#footer, .footer_widget_area {
    padding-top: 70px !important;
    padding-bottom: 30px !important;
    position: relative;
}
/* adancim usor fundalul existent - nu adaugam o culoare noua, doar o versiune mai "rich" a ei */
#footer {
    filter: brightness(.94) saturate(1.05);
}

#footer h4, #footer .widgettitle, #footer h5 {
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    font-weight: 700 !important;
    letter-spacing: .01em;
    margin-bottom: 22px;
    position: relative;
    padding-bottom: 14px;
}
#footer h4::after, #footer .widgettitle::after, #footer h5::after {
    content: "";
    position: absolute;
    left: 0; bottom: 0;
    width: 36px;
    height: 2px;
    background: currentColor;
    opacity: .5;
}

#footer a { transition: all .2s ease; }
#footer a:hover { opacity: .7; padding-left: 3px; }

#footer .social_icons a, #footer .footer_social a {
    border-radius: 50%;
    transition: all .25s ease;
}
#footer .social_icons a:hover, #footer .footer_social a:hover {
    transform: translateY(-4px) scale(1.08);
    filter: brightness(1.15);
}


/* =========================================================================
   12. SCROLL-REVEAL — progressive enhancement (fara JS, totul e vizibil normal)
   ========================================================================= */
html.wpz-anim-ready .wpz-reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1);
}
html.wpz-anim-ready .wpz-reveal.wpz-in {
    opacity: 1;
    transform: translateY(0);
}


/* =========================================================================
   13. RESPONSIVE / SAFETY
   ========================================================================= */
@media (hover: none) {
    .property_listing:hover,
    .elementor-testimonial-wrapper:hover,
    .elementor-icon-box-wrapper:hover,
    .elementor-counter:hover {
        transform: none;
    }
}

@media (max-width: 767px) {
    .elementor-section + .advanced_search_sidebar,
    .rev_slider_wrapper + .advanced_search_sidebar {
        margin-top: -30px;
    }
    .elementor-counter-number-wrapper { font-size: 32px !important; }
}





/* =========================================================================
   15. ALINIERE CU PREVIEW-UL — 4 elemente cerute explicit de client
   ========================================================================= */

/* a) eticheta mica deasupra titlului (adaugata prin CSS, fara sa atingem
      continutul din Elementor) */
.elementor-element-2bde6d45 h4::before,
.pv-hero-title h4::before {
    content: "IMOBILIARE HAȚEG";
    display: block;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .22em;
    color: #93c5fd;
    text-shadow: none;
    margin-bottom: 14px;
}

/* b) overlay mai inchis pe poza hero, pentru mai mult contrast */
.elementor-element-7a470a6f > .elementor-background-overlay {
    opacity: 0.85 !important;
}

/* c) caseta de search "glass" - semi-transparenta + blur, se vede poza prin ea */
.elementor-element-140f7643 .tab-content {
    background-color: rgba(255, 255, 255, .85) !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

/* d) toggle De vanzare / De inchiriat ca o singura pastila cu 2 segmente */
.elementor-element-140f7643 .nav-tabs {
    display: flex !important;
    align-items: center !important;
    justify-content: center;
    height: auto !important;
    min-height: 0 !important;
    background: rgba(255, 255, 255, .15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 999px !important;
    padding: 5px;
    gap: 4px;
    width: fit-content !important;
    margin: 0 auto !important;
}
.elementor-element-140f7643 .adv_search_tab_item {
    background-color: rgba(0, 115, 225, .55) !important;
    margin: 0 !important;
    border: none !important;
    border-radius: 999px !important;
    padding: 0 !important;
    height: auto !important;
    min-height: 0 !important;
    line-height: 1.2 !important;
    display: inline-flex !important;
    align-items: center !important;
    overflow: hidden;
}
.elementor-element-140f7643 .adv_search_tab_item a {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    padding: 8px 16px !important;
    line-height: 1.2 !important;
    height: auto !important;
    font-size: 12px !important;
    white-space: nowrap !important;
    cursor: pointer;
}
.elementor-element-140f7643 .adv_search_tab_item:not(.active) a {
    color: #fff !important;
}
.elementor-element-140f7643 .adv_search_tab_item.active {
    background-color: #fff !important;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .22);
}


/* =========================================================================
   16. PRET — redesign TOTAL: fara cutie rosie, text direct pe poza
   (gradientul de contrast .featured_gradient exista deja in tema,
   doar il adancim putin ca sa citim bine textul alb)
   ========================================================================= */
.property_listing .featured_gradient {
    opacity: 1 !important;
    background-image: linear-gradient(to top, rgba(0, 0, 0, .72), rgba(0, 0, 0, 0) 62%) !important;
}

.listing_unit_price_wrapper {
    background: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
    display: flex !important;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 8px;
}

.listing_unit_price_wrapper .current_price {
    font-size: 21px;
    font-weight: 800;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, .5);
    order: 2;
}

.listing_unit_price_wrapper .price_label_before {
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, .65) !important;
    text-decoration: line-through;
    order: 1;
}

.listing_unit_price_wrapper .price_label:not(.price_label_before) {
    font-size: 11px;
    font-weight: 600;
    color: rgba(255, 255, 255, .85) !important;
    flex-basis: 100%;
    order: 3;
}

/* iconita de favorite - mutata sus-dreapta, cerc alb, inima gri (nu alb pe alb) */
.property_listing.property_unit_type1 .icon-fav {
    top: 12px !important;
    right: 12px !important;
    bottom: auto !important;
    left: auto !important;
}
.property_listing.property_unit_type1 .icon-fav:before {
    color: #475569 !important;
}
.property_listing.property_unit_type1 .icon-fav-on:before {
    color: #ef4444 !important;
}


/* =========================================================================
   17. RANDUL DE DETALII (camere/etaj/mp) — cand e gol, nu mai lasa
   spatiul urat intre cele doua linii despartitoare, si acum ca iconitele
   si butonul "Vezi detalii" sunt scoase, un rand fara camere/etaj/mp
   nu mai are ce sa arate - il ascundem complet
   ========================================================================= */
.property_listing_details:not(:has(.inforoom)):not(:has(.infobath)):not(:has(.infosize)) {
    display: none !important;
}

/* zero spatiere intre rândul de detalii si rândul cu agentul, in toate cazurile.
   IMPORTANT: era position:absolute;bottom:5px in css-ul vostru - de-aia se
   suprapunea peste titlurile de 3 randuri (footer-ul ramanea fix jos in loc
   sa urmeze continutul). Il trecem pe flux normal. */
.property_location {
    position: relative !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
    padding-top: 0 !important;
    margin-top: 0 !important;
    border-top: none !important;
}


/* =========================================================================
   18. "Imobiliare Valea Jiului" (footer-ul cu agentul) mereu jos.
   DECIZIE: am renuntat complet la CSS Grid pentru homepage. Grid cerea ca
   toate cardurile sa fie in ACELASI container parinte, dar "load more"-ul
   temei baga cardurile noi intr-un container separat, nou-creat de JS -
   ceea ce rupea complet alinierea, oricate ajustari incercam.

   Revenim la comportamentul original al temei (float/col-md-4, neatins),
   si obtinem "agent mereu jos" DOAR cu flex pe fiecare card in parte
   (.property_listing), nu pe un parinte comun - functioneaza identic
   indiferent unde insereaza tema cardurile, pentru ca nu depinde de context.
   ========================================================================= */
.home .property_listing {
    display: flex !important;
    flex-direction: column !important;
    min-height: 480px;
}
.home .property-unit-information-wrapper {
    flex: 1 1 auto !important;
    display: flex !important;
    flex-direction: column !important;
}
.home .property_location {
    margin-top: auto !important;
}
/* "MAI MULTE PROPRIETATI" - centrat pe wrapper-ul lui real */
.home .listinglink-wrapper_sh_listings {
    text-align: center !important;
    width: 100% !important;
}


/* =========================================================================
   19. MOBIL — search widget-ul e pozitionat "absolute" de Elementor cu o
   valoare fixa de sus, care nu se adapteaza cand hero-ul are alta inaltime
   pe telefon -> se suprapune peste subtitlu. Il scoatem din absolute pe
   mobil, sa curga normal dupa text. Micsoram si butoanele toggle.
   ========================================================================= */
@media (max-width: 767px) {
    .elementor-element-140f7643,
    .elementor-element-140f7643 .elementor-widget-container {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        transform: none !important;
        margin: 20px 0 0 0 !important;
    }
    .elementor-element-140f7643 .adv_search_tab_item {
        padding: 0 !important;
    }
    .elementor-element-140f7643 .adv_search_tab_item a {
        padding: 7px 13px !important;
        font-size: 11px !important;
    }
    .elementor-element-2bde6d45 p,
    .pv-hero-title p {
        margin-bottom: 8px;
    }
}


/* =========================================================================
   20. Toggle-ul de search prea departe de subtitlu - widget-ul e pozitionat
   absolute de Elementor la o valoare fixa de sus, lasand gol mare. Il
   apropiem cu un margin negativ (functioneaza si pe elemente absolute,
   se aduna la offsetul calculat de top).
   ========================================================================= */
.elementor-element-140f7643 {
    margin-top: 0 !important;
}


/* =========================================================================
   21. Spatiere intre toggle (DE VANZARE/DE INCHIRIAT) si caseta cu
   Categorii/Oras - erau prea lipite.
   ========================================================================= */
.elementor-element-140f7643 .tab-content {
    margin-top: 24px !important;
}


/* =========================================================================
   22. Fix latime titlu/aliniere - .property-unit-information-wrapper e
   float:left FARA width in tema originala, deci se restrange la continut
   ("shrink-to-fit") in loc sa ocupe toata latimea cardului. De-aia titlul
   se rupea la jumatate si restul (detalii/agent) parea dezaliniat.
   Nescopat la un container anume, ca sa functioneze si la "load more".
   ========================================================================= */
.home .property-unit-information-wrapper {
    width: 100% !important;
    box-sizing: border-box;
}

/* "Exclusivitate" - acum EXACT aceleasi dimensiuni ca "DE VANZARE" (tema originala) */
.tag-wrapper .featured_div {
    padding: 0px 10px !important;
    line-height: 20px !important;
    font-size: 11px !important;
    border-radius: 3px !important;
    text-transform: none;
    letter-spacing: normal;
}


/* =========================================================================
   23. Aliniere explicita - titlu, locatie, detalii (camere/etaj/mp) si
   agent trebuie sa porneasca toate din acelasi loc, la stanga.
   ========================================================================= */
.home .property-unit-information-wrapper h4,
.home .property_address_type1_wrapper,
.home .property_listing_details,
.home .property_location {
    margin-left: 0 !important;
    padding-left: 0 !important;
}


/* =========================================================================
   24. Aliniere garantata intre "Exclusivitate" si "DE VANZARE" - le fortam
   pe amandoua la aceeasi valoare explicita de sus, ca sa nu mai depindem
   de calcule ambigue de "static position" din CSS.
   ========================================================================= */
.property_listing.property_unit_type1 .status-wrapper {
    top: 13px !important;
}
.property_listing.property_unit_type1 .action_tag_wrapper {
    top: 0 !important;
}


/* =========================================================================
   25. GASIT: cauza reala a dezalinierii Exclusivitate / DE VANZARE.
   .listing-unit-img-wrapper are margin:8px in tema (style.css:23354) pt
   acest tip de card. Asta face ca status-wrapper (pozitionat fata de
   imagine) sa fie de fapt cu 8px mai jos decat calculul nostru, in timp
   ce tag-wrapper (pozitionat fata de tot cardul) nu are acest offset.
   Eliminam marginea - unificam punctul de referinta.
   ========================================================================= */
.property_listing.property_unit_type1 .listing-unit-img-wrapper {
    margin: 0 !important;
}


/* =========================================================================
   26. Triunghiul vechi de "ribbon fold" de sub Exclusivitate (ramas de
   la designul original cu ribbon diagonal) - nu se potriveste cu noul
   badge dreptunghiular, il scoatem.
   ========================================================================= */
.property_listing.property_unit_type1 .featured_div:after {
    display: none !important;
}


/* =========================================================================
   28. Layout ORIZONTAL (lista) - .col-md-12.
   DECIZIE: dupa multe incercari, structura/pozitionarea (titlu/adresa/
   detalii/agent langa imagine) ramane 100% cea originala din tema -
   nu mai umblam deloc la float/margin/padding pentru asta. Pastram DOAR
   ce e strict necesar functional (stivuirea pe mobil) si beneficiem
   automat de fixurile vizuale globale de mai sus (pret pe poza, iconite,
   Exclusivitate/DE VANZARE) care nu tin de pozitionarea text/agent.
   ========================================================================= */
@media (max-width: 767px) {
    /* pe mobil, orizontalele arata oricum stivuite (imagine sus, text jos) -
       la fel ca verticalele. Aplicam EXACT aceeasi reteta care merge deja
       perfect acolo (flexbox coloana), in loc sa mai reparam pe bucati. */
    .col-md-12 .listing-unit-img-wrapper {
        width: 100% !important;
        max-width: 100% !important;
        float: none !important;
        margin-right: 0 !important;
    }
    .col-md-12.listing_wrapper .property_listing {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
    }
    .col-md-12 .property-unit-information-wrapper {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        padding: 22px 20px 10px !important;
        box-sizing: border-box !important;
    }
    .col-md-12 .property-unit-information-wrapper h4,
    .col-md-12 .property_address_type1_wrapper,
    .col-md-12 .property_listing_details {
        width: auto !important;
        float: none !important;
        margin-left: 0 !important;
        padding-left: 0 !important;
    }
    .col-md-12 .property_location {
        width: auto !important;
        float: none !important;
        margin-left: 0 !important;
        padding-left: 0 !important;
        margin-top: auto !important;
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
    }
    /* "DE VANZARE"/"DE INCHIRIAT" se rupea pe 2 randuri pe mobil */
    .action_tag_wrapper {
        white-space: nowrap !important;
        font-size: 11px !important;
        padding: 6px 10px !important;
    }
}

/* ULTIMA INCERCARE, desktop: banuiala e ca width:auto pe un element flex
   care se invaluie langa un float e ambiguu pentru browser (de-aia sarea
   la dreapta). Ii dam o latime EXACTA calculata + margin-left, nu auto. */
@media (min-width: 768px) {
    .col-md-12 .property_listing_details,
    .col-md-12 .property_location {
        width: calc(100% - 349px) !important;
        max-width: calc(100% - 349px) !important;
        margin-left: 349px !important;
        padding-left: 0 !important;
        float: none !important;
        box-sizing: border-box !important;
    }
}

/* =========================================================================
   27. PRET pagina proprietate individuala (.notice_area .price_area) —
   scos din rosu, pus intr-un container discret tip "card" (alb, umbra
   usoara, colturi usor rotunjite), cu tot pe UN SINGUR RAND: pret taiat,
   pret mare, apoi "Negociabil".
   ========================================================================= */
.notice_area .price_area {
    float: right !important;
    display: inline-flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 14px !important;
    text-align: left !important;
    background: #ffffff;
    border: 1px solid rgba(11, 31, 58, .10);
    border-radius: 14px;
    padding: 16px 22px !important;
    box-shadow: 0 10px 26px rgba(11, 31, 58, .08);
}

.notice_area .price_area .current_price {
    display: inline-block;
    color: #0b1f3a !important;
    font-weight: 800 !important;
    font-size: 28px !important;
    letter-spacing: -0.01em;
    line-height: 1;
    margin: 0 !important;
    white-space: nowrap;
}

.notice_area .price_area .price_label.price_label_before {
    display: inline-block !important;
    background: #0b1f3a !important;
    color: #ffffff !important;
    text-decoration: line-through !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    padding: 4px 10px !important;
    border-radius: 5px !important;
    margin: 0 !important;
    white-space: nowrap;
}

.notice_area .price_area .price_label:not(.price_label_before) {
    display: inline-block !important;
    background: rgba(0, 115, 225, .10) !important;
    color: #0073e1 !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    padding: 5px 12px !important;
    border-radius: 5px !important;
    margin: 0 !important;
    white-space: nowrap;
}

/* =========================================================================
   28. Eticheta rosie de pe featured/property_title_label vine din culoarea
   de brand setata in Customizer (generata dinamic de tema, nu e in style.css
   static), deci o suprascriem aici cu !important.
   ========================================================================= */
.property_title_label,
.featured_div {
    background-color: #0b1f3a !important;
}

.property_title_label.actioncat {
    background-color: #0073e1 !important;
}

/* =========================================================================
   29. Header pagina proprietate individuala (.notice_area): titlu, pret,
   adresa. Trecut pe CSS Grid (fara sa umblam la PHP) ca sa avem control
   exact pe pozitii: titlul si adresa stau in aceeasi coloana (deci adresa
   e mereu lipita de titlu, indiferent cat de inalt e cardul de pret),
   iar pretul sta separat, in dreapta, pe ambele randuri.
   Pe mobil, totul se stivuieste pe o singura coloana: etichete, titlu,
   pret, adresa, actiuni (share/favorite/print) — fara suprapuneri.
   ========================================================================= */
@media (min-width: 768px) {
    .notice_area {
        display: grid !important;
        grid-template-columns: 1fr auto !important;
        grid-template-areas:
            "labels  labels"
            "title   price"
            "address price"
            "social  social" !important;
        column-gap: 24px !important;
        align-items: start !important;
        float: none !important;
        margin-top: 0 !important;
        margin-bottom: 0 !important;
        padding-top: 45px !important;
        padding-bottom: 35px !important;
    }
    .notice_area .single_property_labels { grid-area: labels; margin-bottom: 14px !important; }
    .notice_area .entry-prop { grid-area: title; margin: 0 0 6px !important; float: none !important; }
    .notice_area .price_area { grid-area: price; }
    .notice_area .property_categs { grid-area: address; margin-top: 0 !important; float: none !important; }
    .notice_area .prop_social { grid-area: social; float: none !important; }
}

@media (max-width: 767px) {
    .breadcrumb_container { margin-bottom: 12px !important; }

    .notice_area {
        display: flex !important;
        flex-direction: column !important;
        margin-top: 0 !important;
        margin-bottom: 0 !important;
        padding-top: 18px !important;
        padding-bottom: 24px !important;
    }
    .notice_area .single_property_labels { order: 1; margin-bottom: 18px !important; }
    .notice_area .entry-prop { order: 2; float: none !important; margin: 0 0 14px !important; }
    .notice_area .price_area { order: 3; float: none !important; margin: 0 0 14px !important; align-self: flex-start; }
    .notice_area .property_categs { order: 4; float: none !important; margin-top: 0 !important; }
    .notice_area .prop_social { order: 5; float: none !important; margin-top: 16px !important; }
}

/* =========================================================================
   30. Hero parallax (#hero-parallax, Elementor) — 100% CSS, fara JS (mai
   robust, nu depinde de niciun script care s-ar putea sa nu porneasca la
   timp din cauza cache/minificare). Zoom lent continuu = animam direct
   background-size. Parallax la scroll = background-attachment: fixed
   (efectul clasic "fundal fix, continutul aluneca peste el").
   Daca vrei sa opresti parallax-ul la scroll (background-attachment:fixed
   poate da probleme pe unele telefoane), sterge doar linia cu
   background-attachment de mai jos - zoom-ul ramane neatins.
   ========================================================================= */
#hero-parallax {
    overflow: hidden !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    background-attachment: fixed !important;
    animation: heroKenBurns 16s ease-in-out infinite alternate;
}

@keyframes heroKenBurns {
    0%   { background-size: 115% auto; }
    100% { background-size: 132% auto; }
}

@media (max-width: 767px) {
    /* background-attachment:fixed e inconsistent pe mobil (iOS Safari) -
       pe telefon pastram doar zoom-ul, fara parallax la scroll */
    #hero-parallax {
        background-attachment: scroll !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    #hero-parallax {
        animation: none !important;
    }
    .hero-blob-a,
    .hero-blob-b {
        animation: none !important;
    }
}

/* --- pete de lumina, plutesc lent peste poza, bine vizibile ---
   Clase reale (nu pseudo-elemente), puse pe un widget HTML in Elementor:
   <div class="hero-blob-a"></div>
   <div class="hero-blob-b"></div>
   Le pui direct in interiorul sectiunii cu id="hero-parallax". */
#hero-parallax {
    position: relative !important;
}
.hero-blob-a,
.hero-blob-b {
    position: absolute !important;
    border-radius: 50%;
    filter: blur(50px);
    pointer-events: none;
    z-index: 0;
    opacity: .5;
}
.hero-blob-a {
    width: 50vw;
    height: 50vw;
    max-width: 680px;
    max-height: 680px;
    top: -14%;
    left: -12%;
    background: radial-gradient(circle, rgba(0,140,255,.95) 0%, rgba(0,140,255,0) 68%);
    animation: heroBlobA 9s ease-in-out infinite;
}
.hero-blob-b {
    width: 42vw;
    height: 42vw;
    max-width: 580px;
    max-height: 580px;
    bottom: -16%;
    right: -10%;
    background: radial-gradient(circle, rgba(255,140,0,.95) 0%, rgba(255,140,0,0) 68%);
    animation: heroBlobB 11s ease-in-out infinite;
}

@keyframes heroBlobA {
    0%   { transform: translateX(0); }
    50%  { transform: translateX(35vw); }
    100% { transform: translateX(0); }
}
@keyframes heroBlobB {
    0%   { transform: translateX(0); }
    50%  { transform: translateX(-32vw); }
    100% { transform: translateX(0); }
}

/* garantam ca titlul, textul si search bar-ul raman deasupra petelor */
#hero-parallax > .elementor-container {
    position: relative;
    z-index: 1;
}
    }
}

/* =========================================================================
   31. Badge "Proprietăți noi" — pastila animata, in paleta noului design
   (gradient navy/albastru, iconita casa+cheie, glow + sheen continue).
   Foloseste-o oriunde cu: <div class="new-badge">...</div>
   ========================================================================= */
@keyframes badgeGlow {
    0%, 100% { box-shadow: 0 8px 20px rgba(0,115,225,.35), 0 0 0 0 rgba(0,115,225,.35); }
    50%      { box-shadow: 0 8px 20px rgba(0,115,225,.35), 0 0 0 6px rgba(0,115,225,0); }
}
@keyframes iconPop {
    0%, 100% { transform: rotate(0deg); }
    50%      { transform: rotate(-8deg); }
}
@keyframes sheenSweep {
    0%   { transform: translateX(-120%) rotate(12deg); }
    60%  { transform: translateX(220%) rotate(12deg); }
    100% { transform: translateX(220%) rotate(12deg); }
}

.new-badge {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #1e93ff 0%, #0073e1 100%);
    border-radius: 999px;
    padding: 8px 20px 8px 8px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    overflow: hidden;
    animation: badgeGlow 2.6s ease-in-out infinite;
}
.new-badge-icon {
    flex: 0 0 auto;
    width: 30px; height: 30px;
    border-radius: 50%;
    background: #ffffff;
    display: flex; align-items: center; justify-content: center;
    animation: iconPop 2.4s ease-in-out infinite;
}
.new-badge-text {
    color: #ffffff;
    font-weight: 800;
    font-size: 15px;
    letter-spacing: -0.01em;
    white-space: nowrap;
}
.new-badge-sheen {
    position: absolute;
    top: -60%; left: 0;
    width: 30%; height: 220%;
    background: linear-gradient(115deg, transparent 0%, rgba(255,255,255,.35) 50%, transparent 100%);
    animation: sheenSweep 3.4s ease-in-out infinite;
    pointer-events: none;
}

/* =========================================================================
   32. Linie punctata + pin animat — element de sine statator, folosibil
   oriunde prin shortcode-ul [vj_route_pin] (vezi functions.php).
   ========================================================================= */
.vjc-route {
    position: relative;
    width: 100%;
    max-width: 1160px;
    height: 40px;
    margin: 20px auto;
}

.vjc-route-line {
    position: absolute;
    top: 50%; left: 0; right: 0; height: 2px;
    transform: translateY(-50%);
    background-image: repeating-linear-gradient(90deg, rgba(11,31,58,.28) 0 10px, transparent 10px 22px);
}

.vjc-route-pin {
    position: absolute;
    top: 50%; left: 0%;
    animation: vjcTravelPct 16s linear infinite alternate,
               vjcPinBounce .6s ease-in-out infinite alternate;
    filter: drop-shadow(0 4px 8px rgba(11,31,58,.35));
}

@keyframes vjcTravelPct {
    from { left: 0%; }
    to   { left: 100%; }
}

@keyframes vjcPinBounce {
    0%, 100% { transform: translate(-50%, -50%) translateY(0); }
    50%      { transform: translate(-50%, -50%) translateY(-5px); }
}

@media (prefers-reduced-motion: reduce) {
    .vjc-route-pin { animation: none; }
}

/* =========================================================================
   33. Buton flotant "Sună-ne" — fix jos-dreapta, pe toate paginile.
   Ascuns la incarcarea paginii, apare dupa ce userul incepe sa deruleze
   (comportamentul e in premium-enhancements.js). Markup-ul e injectat in
   footer din functions.php (vj_call_fab_output, hook wp_footer).
   ========================================================================= */
@keyframes vjCallPing {
    0%   { transform: scale(1); opacity: .55; }
    100% { transform: scale(1.9); opacity: 0; }
}
@keyframes vjCallBob {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-4px); }
}

.vj-call-fab {
    position: fixed;
    right: 26px;
    bottom: 30px;
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none !important;
    cursor: pointer;
    opacity: 0;
    transform: translateY(14px);
    pointer-events: none;
    transition: opacity .25s ease, transform .25s ease;
    font-family: 'Plus Jakarta Sans', sans-serif;
}
.vj-call-fab.is-visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}
.vj-call-fab-label {
    background: #0b1f3a;
    color: #ffffff !important;
    font-weight: 700;
    font-size: 14px;
    padding: 10px 16px;
    border-radius: 999px;
    white-space: nowrap;
    box-shadow: 0 8px 18px rgba(11,31,58,.25);
}
.vj-call-fab-circle {
    position: relative;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1e93ff 0%, #0073e1 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 24px rgba(0,115,225,.4);
    animation: vjCallBob 2.6s ease-in-out infinite;
    flex: 0 0 auto;
}
.vj-call-fab-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: rgba(0,115,225,.55);
    animation: vjCallPing 2s ease-out infinite;
    z-index: -1;
}

@media (prefers-reduced-motion: reduce) {
    .vj-call-fab-circle,
    .vj-call-fab-ring {
        animation: none !important;
    }
}

