/*
Theme Name:  Listify Child
Theme URI:   https://zonaro.ro
Description: Child theme Zonaro.ro - nu edita tema principala Listify
Author:      Zonaro
Template:    listify
Version:     1.0.0
Text Domain: listify-child
*/

/* ===== Migrat din Listify original — 2026-06-16 ===== */
/* Fix Select2 dropdowns - Add Listing (Pasul 2 brief) */
.gd-add-listing-page .select2-container,
body.page .select2-container {
    width: 100% !important;
    min-width: 200px !important;
}
.select2-container .select2-selection--single {
    width: 100% !important;
    height: auto !important;
    min-height: 42px !important;
}
.select2-container--default .select2-selection--single .select2-selection__rendered {
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: unset !important;
    line-height: 1.5 !important;
    padding: 10px 30px 10px 12px !important;
}
.select2-dropdown { min-width: 300px !important; }
.select2-results__option {
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 10px 12px !important;
    font-size: 14px !important;
}

/* ===== ZONARO Planuri (pagina 157) ===== */
.zonaro-planuri{max-width:1180px;margin:0 auto;padding:0 20px 64px;color:#1a2744;font-family:inherit}
.zonaro-planuri *{box-sizing:border-box}
.zp-hero{text-align:center;padding:46px 20px 38px}
.zp-hero h1{font-size:34px;font-weight:800;color:#1a2744;margin:0 0 12px;line-height:1.2}
.zp-hero p{font-size:17px;color:#5b6678;max-width:680px;margin:0 auto;line-height:1.6}
.zp-cards{display:grid;grid-template-columns:repeat(4,1fr);gap:22px;align-items:start}
.zp-card{background:#fff;border:1px solid #e7ecf3;border-radius:18px;padding:14px;display:flex;flex-direction:column;box-shadow:0 8px 24px rgba(15,23,42,.06);transition:transform .2s,box-shadow .2s}
.zp-card:hover{transform:translateY(-5px);box-shadow:0 18px 38px rgba(15,23,42,.13)}
.zp-card img{width:100%;height:auto;border-radius:12px;display:block}
.zp-card--featured{border:2px solid #F59E0B;box-shadow:0 18px 44px rgba(245,158,11,.24);transform:scale(1.015)}
.zp-card--featured:hover{transform:scale(1.015) translateY(-5px)}
.zp-btn{display:block;width:100%;text-align:center;margin-top:15px;padding:13px 18px;border-radius:11px;font-weight:700;font-size:15px;text-decoration:none;transition:all .18s;cursor:pointer;line-height:1.2}
.zp-btn-outline{background:#fff;color:#1a2744;border:2px solid #d7dee8}
.zp-btn-outline:hover{border-color:#1a2744;background:#1a2744;color:#fff}
.zp-btn-solid{background:#F59E0B;color:#fff;border:2px solid #F59E0B}
.zp-btn-solid:hover{background:#e08e09;border-color:#e08e09;color:#fff}
.zp-compare{margin-top:66px}
.zp-compare h2,.zp-faq h2{text-align:center;font-size:27px;font-weight:800;color:#1a2744;margin:0 0 26px}
.zp-table-wrap{overflow-x:auto;border-radius:14px;border:1px solid #e7ecf3;box-shadow:0 8px 24px rgba(15,23,42,.05)}
.zp-table{width:100%;border-collapse:collapse;min-width:660px;background:#fff}
.zp-table th,.zp-table td{padding:14px 16px;text-align:center;border-bottom:1px solid #eef2f7;font-size:14.5px}
.zp-table thead th{background:#1a2744;color:#fff;font-weight:700;font-size:15px}
.zp-table thead th.zp-pro{background:#F59E0B}
.zp-table thead th:first-child{text-align:left}
.zp-table tbody th{text-align:left;font-weight:600;color:#334155;background:#fafbfd;white-space:nowrap}
.zp-table td.zp-pro{background:#fff7ec;font-weight:600}
.zp-table .yes{color:#16a34a;font-weight:800;font-size:16px}
.zp-table .no{color:#cbd5e1;font-size:16px}
.zp-table tbody tr:last-child th,.zp-table tbody tr:last-child td{font-weight:800;color:#1a2744;font-size:15.5px}
.zp-badge{display:inline-block;padding:3px 11px;border-radius:20px;font-size:11.5px;font-weight:800;color:#fff;background:#1a2744;letter-spacing:.5px}
.zp-badge.plus{background:#3b82f6}.zp-badge.pro{background:#F59E0B}.zp-badge.elite{background:#1a2744}
.zp-faq{margin:66px auto 0;max-width:820px}
.zp-faq details{background:#fff;border:1px solid #e7ecf3;border-radius:12px;margin-bottom:12px;padding:0 22px;box-shadow:0 4px 14px rgba(15,23,42,.04)}
.zp-faq summary{list-style:none;cursor:pointer;padding:18px 0;font-weight:700;font-size:16px;color:#1a2744;display:flex;justify-content:space-between;align-items:center}
.zp-faq summary::-webkit-details-marker{display:none}
.zp-faq summary::after{content:"+";font-size:25px;color:#F59E0B;font-weight:700;margin-left:14px;line-height:1}
.zp-faq details[open] summary::after{content:"\2013"}
.zp-faq details>p{margin:0 0 18px;color:#5b6678;line-height:1.65;font-size:15px}
.zp-cta{margin-top:66px;background:linear-gradient(135deg,#1a2744,#0f1a30);border-radius:22px;padding:50px 30px;text-align:center}
.zp-cta h2{color:#fff;font-size:28px;font-weight:800;margin:0 0 24px}
.zp-cta .zp-btn{display:inline-block;width:auto;padding:15px 40px;font-size:16px}
@media(max-width:980px){.zp-cards{grid-template-columns:repeat(2,1fr)}.zp-card--featured{transform:none}}
@media(max-width:560px){.zp-cards{grid-template-columns:1fr}.zp-hero h1{font-size:26px}.zp-hero p{font-size:15px}.zp-compare h2,.zp-faq h2,.zp-cta h2{font-size:22px}}

/* ===== ZONARO Cont WooCommerce (Pasul 6) ===== */
.zacc-welcome{margin:0 0 22px}
.zacc-welcome h2{font-size:24px;font-weight:800;color:#1a2744;margin:0 0 6px}
.zacc-welcome p{color:#5b6678;margin:0}
.zacc-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-bottom:8px}
.zacc-card{background:#fff;border:1px solid #e7ecf3;border-radius:14px;padding:22px;box-shadow:0 6px 18px rgba(15,23,42,.05)}
.zacc-card .zacc-ic{font-size:26px;margin-bottom:8px;line-height:1}
.zacc-card h3{font-size:17px;font-weight:800;color:#1a2744;margin:0 0 6px}
.zacc-card p{color:#5b6678;font-size:14px;margin:0 0 14px;line-height:1.5}
.zacc-btn{display:inline-block;padding:10px 16px;border-radius:9px;font-weight:700;font-size:14px;text-decoration:none;transition:all .18s;margin:2px 4px 2px 0;line-height:1.2}
.zacc-btn-pri{background:#F59E0B;color:#fff;border:2px solid #F59E0B}
.zacc-btn-pri:hover{background:#e08e09;border-color:#e08e09;color:#fff}
.zacc-btn-gh{background:#fff;color:#1a2744;border:2px solid #d7dee8}
.zacc-btn-gh:hover{border-color:#1a2744;background:#1a2744;color:#fff}
.zacc-actions{display:flex;gap:10px;flex-wrap:wrap;margin:0}
.woocommerce-account .woocommerce-MyAccount-navigation ul{list-style:none;margin:0;padding:0}
.woocommerce-account .woocommerce-MyAccount-navigation li{margin:0 0 6px;border:0}
.woocommerce-account .woocommerce-MyAccount-navigation li a{display:block;padding:11px 16px;border-radius:9px;color:#334155;font-weight:600;text-decoration:none;transition:all .15s}
.woocommerce-account .woocommerce-MyAccount-navigation li a:hover{background:#f1f5fb;color:#1a2744}
.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a{background:#1a2744;color:#fff}
.woocommerce-account .woocommerce-MyAccount-content{background:transparent}
@media(max-width:780px){.zacc-grid{grid-template-columns:1fr}}

/* Nav orizontal My Account */
.zacc-nav{margin:0 0 26px;border-bottom:2px solid #eef2f7}
.zacc-nav ul{list-style:none;display:flex;flex-wrap:wrap;gap:4px;margin:0;padding:0}
.zacc-nav li{margin:0;border:0}
.zacc-nav li a{display:block;padding:12px 18px;color:#5b6678;font-weight:700;font-size:14.5px;text-decoration:none;border-bottom:3px solid transparent;transition:all .15s}
.zacc-nav li a:hover{color:#1a2744;background:transparent}
.zacc-nav li.active a{color:#1a2744;border-bottom-color:#F59E0B}
.woocommerce-account .zacc-welcome h2{color:#1a2744!important}
@media(max-width:680px){.zacc-nav{border-bottom:0}.zacc-nav ul{flex-direction:column}.zacc-nav li a{border-bottom:1px solid #eef2f7;border-left:3px solid transparent}.zacc-nav li.active a{border-left-color:#F59E0B;border-bottom-color:#eef2f7}}

/* ===== ZONARO aliniere globala pagini interne (Pasul 9, exclude Elementor + home) ===== */
body:not([class*="elementor-page"]).page:not(.home) .site-main,
body:not([class*="elementor-page"]).page:not(.home) .entry-content,
body.single-gd_place .gd-content-inner{max-width:1200px!important;margin-left:auto!important;margin-right:auto!important}
@media(min-width:769px){body:not([class*="elementor-page"]).page:not(.home) .site-main{padding-left:20px!important;padding-right:20px!important}}
@media(max-width:768px){body:not([class*="elementor-page"]).page:not(.home) .site-main{padding-left:16px!important;padding-right:16px!important}}

/* ===== ZONARO fixe UI (sesiune) ===== */
/* P1: ascunde meniul secundar (company) - backup la filtrul PHP */
.secondary.nav-menu,ul#menu-company,.site-header .secondary.nav-menu,.sub-header .nav-menu{display:none!important}
/* P2: header compact pe pagini interne (.page-cover = zona roz) */
.page:not(.home) .page-cover,body.woocommerce-account .page-cover,body.woocommerce-page .page-cover,body.single-gd_place .page-cover{min-height:0!important;padding-top:24px!important;padding-bottom:20px!important}
.page:not(.home) .page-cover .page-title,body.woocommerce-account .page-cover .page-title{min-height:0!important;padding:0!important;margin:0!important}
.page:not(.home) .page-cover h1,.page:not(.home) .page-cover .h1,.page:not(.home) .page-cover .entry-title{font-size:24px!important;margin:0!important;padding:0!important;line-height:1.25!important}
.woocommerce-account .entry-title,.woocommerce-orders .entry-title,.page:not(.home) .entry-title{font-size:22px!important;padding:10px 0 6px!important;margin:0!important}
.page:not(.home) .page-cover .breadcrumbs,.page:not(.home) .page-cover .crumbs{margin-top:6px!important;font-size:13px!important}
/* P4: Select2 fix FORTAT (global) */
.select2-container{width:100%!important;display:block!important;min-width:250px!important}
.select2-selection.select2-selection--single,.select2-selection.select2-selection--multiple{width:100%!important;min-height:42px!important;height:auto!important;display:flex!important;align-items:center!important;flex-wrap:wrap!important;padding-right:40px!important;position:relative!important}
.select2-container--default .select2-selection--single .select2-selection__rendered,.select2-selection__rendered{white-space:normal!important;overflow:visible!important;text-overflow:clip!important;width:calc(100% - 40px)!important;line-height:1.5!important}
.select2-container--default .select2-selection--single .select2-selection__arrow,.select2-selection__arrow{position:absolute!important;right:8px!important;top:50%!important;transform:translateY(-50%)!important;width:20px!important;height:20px!important}
.select2-dropdown{min-width:280px!important;z-index:99999!important}
.select2-results__option{padding:10px 14px!important;font-size:14px!important;white-space:normal!important;line-height:1.4!important}
/* P5: logo header */
.custom-logo-link img,.site-logo img,.navbar-brand img,.site-branding img,.site-branding .custom-logo{max-height:50px!important;width:auto!important;height:auto!important;object-fit:contain!important;display:inline-block!important}
@media(max-width:768px){.custom-logo-link img,.site-logo img,.site-branding img,.site-branding .custom-logo{max-height:40px!important}}

/* ===== ZONARO homepage plan images + select2 width robust ===== */
.zplan-img{padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important;display:block!important;border-radius:14px!important;overflow:hidden;transition:transform .2s,box-shadow .2s}
.zplan-img img{width:100%!important;height:auto!important;display:block!important;border-radius:14px!important}
.zplan-img:hover{transform:translateY(-4px);box-shadow:0 16px 36px rgba(15,23,42,.16)}
.zplan-img.zplan-feat{box-shadow:0 14px 34px rgba(245,158,11,.22);outline:2px solid #F59E0B;outline-offset:-2px}
body.page-id-4 #geodirectory-add-post .select2-container{width:100%!important;max-width:100%!important;display:block!important;box-sizing:border-box!important}

/* ===== ZONARO P1 fundal logo vechi + P2 scroll orizontal ===== */
/* P1: elimina fundalul cu logo-ul vechi (Custom Background 500x199.png) */
body.custom-background{background-image:none!important}
/* P2: fara scroll orizontal / dublu */
html,body{overflow-x:hidden!important;max-width:100%!important}
.site,.site-content,#content,#page,.site-inner{overflow-x:hidden!important}

/* ===== ZONARO P1 spatiu alb deasupra header + P2 zona roz homepage ===== */
/* P1: header-ul e position:sticky, deci body{padding-top:75px} (offset vechi de header fix) lasa spatiu alb gol sus. Eliminat. */
body{padding-top:0!important}
/* P2: zona roz (.page-cover = titlu+breadcrumb) ascunsa DOAR pe homepage; paginile interne raman neatinse */
.home .page-cover,.home .page_banner_section,.home .homepage-cover.page-cover,.home nav.breadcrumb,.home .breadcrumbs,.home .rank-math-breadcrumb,.home .woocommerce-breadcrumb{display:none!important}

/* ===== ZONARO footer: elimina coloane/widget-uri suplimentare (Categories etc.) + fara dublu scroll ===== */
.site-footer-widgets .footer-widget-column:not(.footer_left_content){display:none!important}
.site-footer-widgets .widget_categories,.site-footer-widgets .widget_recent_entries,.site-footer-widgets .widget_archive,.site-footer-widgets .widget_meta,.site-footer-widgets .widget_search,.site-footer-widgets .widget_recent_comments{display:none!important}
.site-footer-widgets aside[id^="categories-"]{display:none!important}
html,body{overflow-x:hidden!important;max-width:100%!important}

/* ===== ZONARO: header pagini interne compact (page-cover) v2 ===== */
/* zona titlu: gri deschis, compacta, fara gradient roz (sursa: .site-content .page-cover + :after) */
.page:not(.home) .page-cover{background:#f8f8f8!important;background-image:none!important;min-height:0!important;padding:22px 0 16px!important;margin:0!important}
.page:not(.home) .page-cover:after,.page:not(.home) .page-cover:before{display:none!important;background:none!important;content:none!important}
/* titlu cover ASCUNS pe pagini interne: fiecare pagina are deja propriul H1 de continut (my-account "Bun venit", planuri "Alege planul", contact "Contact", despre .jhero) -> evita titlu dublu + clipping sub header sticky. Breadcrumb-ul slim arata numele paginii. */
.page:not(.home) .page-cover .page-title,.page:not(.home) .page-cover h1.page-title,.page:not(.home) .page-cover .cover-wrapper{display:none!important}
/* breadcrumb compact (Listify foloseste .luminex_breadcrum) */
.page:not(.home) .page-cover .luminex_breadcrum,.page:not(.home) .luminex_breadcrum,.page:not(.home) .page-cover .breadcrumb,.page:not(.home) .page-cover .breadcrumbs,.page:not(.home) .page-cover .rank-math-breadcrumb{font-size:12px!important;color:#888!important;margin:0!important;padding:0!important;line-height:1.3!important}
.page:not(.home) .page-cover .luminex_breadcrum a{color:#888!important;text-shadow:none!important}
.page:not(.home) .page-cover .luminex_breadcrum a:hover{color:#E8722A!important}
/* continut mai aproape de header */
.page:not(.home) #primary{padding-top:12px!important;margin-top:0!important}
/* spatii mai mici intre sectiuni (exclus /planuri-preturi/ = page-id-157, lasata intacta) */
.page:not(.home):not(.page-id-157) .entry-content > *,.page:not(.home):not(.page-id-157) .woocommerce > *{margin-bottom:20px!important}
/* My Account: tab-uri vizibile imediat */
.woocommerce-account .woocommerce{padding-top:10px!important}
/* ZONARO cover v2 gap-trim: continut mai aproape de header (fara a atinge padding-ul interior al cardului) */
.page:not(.home) #primary{padding-top:6px!important;margin-top:0!important}
.page:not(.home) .content-area{margin-top:0!important}
.page:not(.home) #main{margin-top:0!important;padding-top:0!important}

/* ===== ZONARO: footer identic pe homepage =====
   Cauza: regula globala "body.home aside{display:none;width:0}" (din CSS-ul widget-ului de footer, menita sa ascunda sidebar-ul de pe home)
   prindea si <aside>-ul widget-ului de footer -> grila zf se prabusea la min-content doar pe homepage.
   Fix: restauram latimea widget-ului de footer cu specificitate mai mare (0,2,3 > 0,1,2). Sidebar-ul de home ramane ascuns (#secondary/.widget-area neatinse). */
html body.home .site-footer-widgets aside,
html body .site-footer-widgets aside,
html body .site-footer-widgets .footer-widget,
html body .site-footer-widgets .widget_custom_html,
html body .site-footer-widgets .textwidget,
html body .site-footer-widgets .zf{display:block!important;width:100%!important;max-width:100%!important;float:none!important;clear:both!important}
html body .site-footer-widgets .zf-grid{width:100%!important}
