/*!
 * Auto Pascu 99 – Design
 * Everything is scoped to body.apd-on (+ one class per module), so switching the
 * plugin or a module off removes every rule below.
 */

/* ---------- tokens ---------- */
body.apd-on{
  --apd-blue:#0068ff;--apd-blue-600:#0054d1;--apd-blue-50:#eef4ff;--apd-blue-100:#dbe8ff;
  --apd-red:#f40f0f;--apd-red-600:#d30a0a;--apd-red-50:#fff1f1;
  --apd-ink:#111827;--apd-ink-2:#374151;--apd-muted:#64748b;--apd-line:#e4e8ef;--apd-bg:#f5f7fb;
  --apd-green:#128c3f;--apd-green-600:#0f7534;
  --apd-r:14px;--apd-r-lg:20px;
  --apd-shadow-sm:0 1px 2px rgba(16,24,40,.05);
  --apd-shadow:0 1px 2px rgba(16,24,40,.04),0 10px 28px rgba(16,24,40,.07);
  --apd-shadow-lg:0 2px 4px rgba(16,24,40,.04),0 18px 44px rgba(16,24,40,.12);
  --apd-font-h:"Lexend Deca","Inter",system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;
  --apd-font:"Inter",system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;
  --apd-wrap:1180px;--apd-gutter:20px;
  --apd-sec-y:clamp(56px,7vw,88px);
}

/* ---------- shared atoms ---------- */
.apd-wrap{width:100%;max-width:var(--apd-wrap);margin:0 auto;padding:0 var(--apd-gutter);box-sizing:border-box}
@media (max-width:600px){body.apd-on{--apd-gutter:16px}}
.apd-sr{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.apd-ico{flex:0 0 auto;display:inline-block;vertical-align:middle}
.apd-c-blue{color:var(--apd-blue)}
.apd-c-red{color:var(--apd-red)}
.apd-block{width:100%;box-sizing:border-box}

.apd-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:46px;padding:10px 20px;border:1.5px solid transparent;border-radius:12px;font:600 15px/1.2 var(--apd-font);letter-spacing:0;text-decoration:none!important;cursor:pointer;transition:background-color .16s,border-color .16s,color .16s,transform .16s,box-shadow .16s;box-sizing:border-box;white-space:nowrap}
.apd-btn:hover{transform:translateY(-1px)}
.apd-btn:focus-visible,.apd-cbtn:focus-visible,.apd-header a:focus-visible,.apd-header button:focus-visible,.apd-footer a:focus-visible,.apd-gal button:focus-visible,.apd-mbar a:focus-visible,.apd-ccard:focus-visible{outline:3px solid rgba(0,104,255,.45);outline-offset:2px}
.apd-btn--lg{min-height:54px;padding:12px 26px;font-size:16px;border-radius:14px}
.apd-btn--block{display:flex;width:100%}
.apd-btn--red{background:var(--apd-red);color:#fff!important;box-shadow:0 8px 20px rgba(244,15,15,.22)}
.apd-btn--red:hover{background:var(--apd-red-600)}
.apd-btn--blue{background:var(--apd-blue);color:#fff!important;box-shadow:0 8px 20px rgba(0,104,255,.2)}
.apd-btn--blue:hover{background:var(--apd-blue-600)}
.apd-btn--outline{background:#fff;color:var(--apd-ink)!important;border-color:#cfd6e2}
.apd-btn--outline:hover{border-color:var(--apd-blue);color:var(--apd-blue)!important}
.apd-btn--white{background:#fff;color:var(--apd-ink)!important}
.apd-btn--white:hover{background:#f1f4f9}
.apd-btn--wa{background:var(--apd-green);color:#fff!important}
.apd-btn--wa:hover{background:var(--apd-green-600)}

.apd-eyebrow{display:inline-flex;align-items:center;gap:6px;padding:7px 12px;border-radius:999px;background:var(--apd-blue-50);color:var(--apd-blue-600);font:700 12.5px/1 var(--apd-font);letter-spacing:.04em;text-transform:uppercase}
.apd-h1{margin:14px 0 12px;color:var(--apd-ink);font:800 clamp(30px,4.2vw,46px)/1.08 var(--apd-font-h);letter-spacing:-.025em}
.apd-h2{margin:0 0 16px;color:var(--apd-ink);font:700 22px/1.2 var(--apd-font-h);letter-spacing:-.015em}
.apd-lead{margin:0 0 22px;color:var(--apd-ink-2);font:400 17px/1.6 var(--apd-font)}
.apd-sec{padding:44px 0}

/* ---------- global look (module: base) ---------- */
/* The theme reads its colours from these variables: dark/yellow becomes white/brand. */
body.apd-on.apd-m-base[class*="elementor-kit-"]{
  --e-global-color-lprimary1:#0068ff;
  --e-global-color-lprimary2:#b9c1ce;
  --e-global-color-lcolor1:#111827;
  --e-global-color-lcolor2:#475569;
  --e-global-color-lcolor3:#e4e8ef;
  --e-global-color-lcolor4:#eef4ff;
  --e-global-color-lcolor5:#ffffff;
  --e-global-color-lcolor5-op-1:rgba(255,255,255,.96);
  --e-global-color-lcolor5-op-2:rgba(17,24,39,.08);
  --e-global-color-lsectionbg:#f5f7fb;
  --e-global-lborder-radius:10px;
  --e-global-lborder-radius-large:16px;
  background:#fff;
  color:var(--apd-ink-2);
}
body.apd-on.apd-m-base{-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
body.apd-on.apd-m-base ::selection{background:var(--apd-blue);color:#fff}
/* WhatsApp chat button from Click to Chat stays as it is; only make sure it sits above page content. */

/* Theme buttons -> brand buttons (one shape everywhere: 12px radius, no diagonal shine). */
body.apd-m-base .listivo-button{height:auto!important;min-height:48px;padding:12px 22px!important;border:0!important;border-radius:12px!important;background:var(--apd-blue)!important;color:#fff!important;font:600 15px/1.2 var(--apd-font)!important;letter-spacing:0!important;text-transform:none!important;box-shadow:0 8px 20px rgba(0,104,255,.18);transition:background-color .16s,transform .16s,box-shadow .16s,color .16s}
body.apd-m-base .listivo-button::before,
body.apd-m-base .listivo-button::after{display:none!important}
body.apd-m-base .listivo-button span{gap:10px;color:inherit!important;font:inherit!important}
body.apd-m-base .listivo-button span svg,
body.apd-m-base .listivo-button i{margin:0!important;transform:none!important;transition:transform .16s}
body.apd-m-base .listivo-button span svg path,
body.apd-m-base .listivo-button span svg rect{fill:currentColor!important}
body.apd-m-base .listivo-button:hover{background:var(--apd-blue-600)!important;transform:translateY(-1px)}
body.apd-m-base .listivo-button:hover span svg{transform:translateX(3px)!important}
body.apd-m-base .listivo-button:focus-visible,
body.apd-m-base .listivo-simple-button:focus-visible{outline:3px solid rgba(0,104,255,.45);outline-offset:2px}
body.apd-m-base .listivo-button--primary-1{background:var(--apd-red)!important;box-shadow:0 8px 20px rgba(244,15,15,.2)}
body.apd-m-base .listivo-button--primary-1:hover{background:var(--apd-red-600)!important}
body.apd-m-base .listivo-button--white{background:#fff!important;color:var(--apd-ink)!important;box-shadow:inset 0 0 0 1.5px #cfd6e2}
body.apd-m-base .listivo-button--white:hover{color:var(--apd-blue)!important;box-shadow:inset 0 0 0 1.5px var(--apd-blue)}

body.apd-m-base .listivo-simple-button{border-radius:12px!important;font:600 15px/1.2 var(--apd-font)!important;letter-spacing:0!important;overflow:hidden;transition:background-color .16s,color .16s}
body.apd-m-base .listivo-simple-button::before{display:none!important}
body.apd-m-base .listivo-simple-button--background-primary-1{background:var(--apd-red)!important;color:#fff!important}
body.apd-m-base .listivo-simple-button--background-primary-1:hover{background:var(--apd-red-600)!important}
body.apd-m-base .listivo-simple-button--background-primary-2{background:var(--apd-blue)!important;color:#fff!important}
body.apd-m-base .listivo-simple-button--background-primary-2:hover{background:var(--apd-blue-600)!important}
body.apd-m-base .listivo-simple-button--background-color-3{background:var(--apd-ink)!important;color:#fff!important}
body.apd-m-base .listivo-simple-button__icon path{fill:currentColor!important}

/* Text widgets: the old kit used the "white" variable for body text on dark sections. */
body.apd-m-base .elementor-widget-text-editor{color:var(--apd-ink-2)!important}
body.apd-m-base .elementor-widget-text-editor :is(strong,b,h1,h2,h3,h4){color:var(--apd-ink)}
body.apd-m-base .elementor-widget-text-editor a:not([class]){color:var(--apd-blue);text-decoration:underline;text-underline-offset:2px}

/* Generic pages (privacy, cookies, ...): readable article look. */
body.apd-m-base.apd-pg-other .elementor-widget-heading .elementor-heading-title{color:var(--apd-ink)!important;font-family:var(--apd-font-h)!important;font-weight:800!important;letter-spacing:-.02em!important;line-height:1.15!important}
body.apd-m-base.apd-pg-other .elementor-widget-text-editor{max-width:820px;margin-left:auto!important;margin-right:auto!important;font:400 16px/1.7 var(--apd-font)!important;text-align:left!important}
body.apd-m-base.apd-pg-other .elementor-widget-text-editor :is(p,ul,ol){margin:0 0 14px}
@media (max-width:767px){body.apd-m-base.apd-pg-other .elementor-widget-text-editor{padding-left:6px;padding-right:6px}}
/* ---------- header ---------- */
.apd-skip{position:absolute;left:-9999px;top:8px;z-index:100000;padding:10px 14px;border-radius:8px;background:#111827;color:#fff!important;font:600 14px/1 var(--apd-font)}
.apd-skip:focus{left:8px}
#apd-main{display:block;height:0;outline:0}
.apd-header{position:sticky;top:-38px;z-index:9990;background:#fff;font-family:var(--apd-font);box-shadow:0 1px 0 var(--apd-line)}
.apd-header.is-stuck{box-shadow:0 1px 0 var(--apd-line),0 10px 30px rgba(16,24,40,.08)}
body.admin-bar .apd-header{top:-6px}
.apd-header a{text-decoration:none}

.apd-topbar{height:38px;background:#111827;color:#cbd5e1;font:500 13px/1 var(--apd-font)}
.apd-topbar__in{display:flex;align-items:center;justify-content:space-between;gap:16px;height:38px}
.apd-topbar__left,.apd-topbar__right{display:flex;align-items:center;gap:20px;min-width:0}
.apd-topbar__item{display:inline-flex;align-items:center;gap:6px;white-space:nowrap}
.apd-topbar__usp{color:#fff;font-weight:600}
.apd-topbar__usp::before{content:"";width:6px;height:6px;border-radius:50%;background:var(--apd-red);margin-right:2px}
.apd-topbar__tel{display:inline-flex;align-items:center;gap:6px;color:#fff!important;font-weight:600;white-space:nowrap}
.apd-topbar__tel:hover{color:#9cc3ff!important}

.apd-nav__in{display:flex;align-items:center;gap:24px;height:76px}
.apd-brand{display:inline-flex;align-items:center;gap:11px;flex:0 0 auto;color:var(--apd-ink)!important}
.apd-brand__logo{width:56px;height:56px;border-radius:50%;object-fit:cover;display:block;background:#fff;box-shadow:0 0 0 1px var(--apd-line),0 2px 6px rgba(16,24,40,.08)}
.apd-brand__txt{display:flex;flex-direction:column;gap:3px;line-height:1}
.apd-brand__name{white-space:nowrap;font:800 21px/1 var(--apd-font-h);letter-spacing:.01em;color:var(--apd-blue)}
.apd-brand__name b{margin-left:4px;color:var(--apd-red);font-weight:800}
.apd-brand__sub{font:500 11.5px/1 var(--apd-font);color:var(--apd-muted);letter-spacing:.01em;white-space:nowrap}

.apd-menu{display:flex;align-items:center;gap:4px;margin-left:auto}
.apd-menu__link{position:relative;padding:11px 14px;border-radius:10px;color:var(--apd-ink)!important;font:600 15px/1 var(--apd-font);white-space:nowrap;transition:background-color .15s,color .15s}
.apd-menu__link:hover{background:var(--apd-bg);color:var(--apd-blue)!important}
.apd-menu__link.is-active{color:var(--apd-blue)!important}
.apd-menu__link.is-active::after{content:"";position:absolute;left:14px;right:14px;bottom:3px;height:2px;border-radius:2px;background:var(--apd-blue)}

.apd-nav__cta{display:flex;align-items:center;gap:12px;flex:0 0 auto}
.apd-nav__call{display:inline-flex;align-items:center;gap:8px;min-height:46px;padding:0 14px;border-radius:12px;color:var(--apd-ink)!important;font:700 15px/1 var(--apd-font);white-space:nowrap}
.apd-nav__call .apd-ico{color:var(--apd-blue)}
.apd-nav__call:hover{background:var(--apd-bg)}
.apd-burger{display:none;align-items:center;justify-content:center;width:46px;height:46px;padding:0;border:1.5px solid var(--apd-line);border-radius:12px;background:#fff;color:var(--apd-ink);cursor:pointer}
.apd-burger .apd-ico:last-child{display:none}
.apd-burger[aria-expanded="true"] .apd-ico:first-child{display:none}
.apd-burger[aria-expanded="true"] .apd-ico:last-child{display:block}

.apd-mobile{border-top:1px solid var(--apd-line);background:#fff;max-height:calc(100vh - 64px);overflow:auto;padding:10px 0 20px;box-shadow:0 24px 40px rgba(16,24,40,.12)}
.apd-mobile[hidden]{display:none}
.apd-mobile__nav{display:flex;flex-direction:column}
.apd-mobile__link{padding:15px 4px;border-bottom:1px solid var(--apd-line);color:var(--apd-ink)!important;font:600 17px/1.2 var(--apd-font)}
.apd-mobile__link.is-active{color:var(--apd-blue)!important}
.apd-mobile__actions{display:grid;gap:10px;margin-top:18px}
.apd-mobile__meta{display:flex;align-items:center;gap:6px;margin:16px 0 0;color:var(--apd-muted);font:500 14px/1.3 var(--apd-font)}

@media (max-width:1100px){
  .apd-nav__in{gap:16px}
  .apd-menu{gap:2px}
  .apd-menu__link{padding:11px 10px}
  .apd-menu__link.is-active::after{left:10px;right:10px}
  .apd-nav__apply{padding-left:16px;padding-right:16px}
  .apd-nav__call span{display:none}
  .apd-nav__call{padding:0;width:46px;justify-content:center;border:1.5px solid var(--apd-line)}
  .apd-topbar__usp{display:none}
}
@media (max-width:900px){
  .apd-header{top:0}
  body.admin-bar .apd-header{top:0}
  .apd-topbar{display:none}
  .apd-menu,.apd-nav__apply{display:none}
  .apd-burger{display:inline-flex}
  .apd-nav__in{height:64px;gap:12px}
  .apd-nav__cta{margin-left:auto;gap:8px}
  .apd-brand__logo{width:46px;height:46px}
  .apd-brand__name{font-size:18px}
  .apd-brand__sub{font-size:10.5px}
}
@media (min-width:901px) and (max-width:1000px){.apd-brand__sub{display:none}}
@media (max-width:360px){.apd-brand__sub{display:none}}
/* No overflow lock on html/body while the menu is open: that turns off position:sticky,
   which sent the header (and the open menu) back to the top of the page, out of sight,
   with the page frozen. The panel scrolls on its own instead. */
.apd-mobile{overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
/* ---------- footer ---------- */
.apd-footer{margin-top:56px;background:#111827;color:#cbd5e1;font:400 15px/1.6 var(--apd-font)}
.apd-footer a{color:#e5e7eb;text-decoration:none;transition:color .15s}
.apd-footer a:hover{color:#fff;text-decoration:underline}
.apd-fcta{background:var(--apd-blue);color:#fff}
.apd-fcta__in{display:flex;align-items:center;justify-content:space-between;gap:24px;padding-top:30px;padding-bottom:30px;flex-wrap:wrap}
.apd-fcta__title{margin:0 0 4px;color:#fff;font:700 24px/1.2 var(--apd-font-h);letter-spacing:-.015em}
.apd-fcta__sub{margin:0;color:#e3edff;font-size:16px}
.apd-fcta__btns{display:flex;gap:12px;flex-wrap:wrap}
.apd-fcta .apd-btn:hover{text-decoration:none}
.apd-footer__main{padding:48px 0 36px}
.apd-footer__grid{display:grid;grid-template-columns:1.5fr 1.1fr 1fr .8fr;gap:40px}
.apd-footer .apd-brand__name{color:#fff}
.apd-footer .apd-brand__name b{color:#ff5a5a}
.apd-footer .apd-brand__sub{color:#94a3b8}
.apd-footer .apd-brand:hover{text-decoration:none}
.apd-footer__about{margin:16px 0 16px;max-width:360px;color:#aab4c3}
.apd-footer__social{display:inline-flex;align-items:center;gap:8px;font-weight:600}
.apd-footer__h{margin:6px 0 14px;color:#fff;font:700 15px/1.2 var(--apd-font-h);letter-spacing:.04em;text-transform:uppercase}
.apd-footer__list{list-style:none;margin:0;padding:0;display:grid;gap:10px}
.apd-footer__list li{margin:0;padding:0}
.apd-footer__list--icons li{display:flex;align-items:flex-start;gap:10px}
.apd-footer__list--icons .apd-ico{margin-top:4px;color:#7fb0ff}
.apd-footer__legal{border-top:1px solid rgba(255,255,255,.1);font-size:13.5px;color:#94a3b8}
.apd-footer__legal-in{display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap;padding-top:20px;padding-bottom:22px}
.apd-footer__copy p{margin:0}
.apd-footer__badges{display:flex;gap:12px;align-items:center;flex-wrap:wrap}
.apd-footer__badges img{display:block;height:38px;width:auto;border-radius:6px}
@media (max-width:980px){.apd-footer__grid{grid-template-columns:1fr 1fr;gap:32px}}
@media (max-width:600px){
  .apd-footer__grid{grid-template-columns:1fr 1fr;gap:28px 20px}
  .apd-footer__col--brand,.apd-footer__grid > .apd-footer__col:nth-child(2){grid-column:1/-1}
  .apd-footer__main{padding:40px 0 28px}
  .apd-footer__legal-in{padding-bottom:88px}
  .apd-footer__list{gap:4px}
  .apd-footer__list a{display:inline-block;padding:6px 0}
  .apd-footer__list--icons .apd-ico{margin-top:9px}
  .apd-footer__list--icons li > span{padding:6px 0}
  .apd-fcta__btns,.apd-fcta__btns .apd-btn{width:100%}
  .apd-fcta__title{font-size:21px}
  .apd-footer{margin-top:40px}
}
body.apd-m-home.apd-pg-home .apd-footer,body.apd-m-listings.apd-pg-listings .apd-footer{margin-top:0}
/* ---------- car cards (module: cards) ----------
   The base look targets the theme's own card class, so it applies on first paint
   everywhere a card is printed. The extra markup (.apd-card__*) is added server-side.
   Spacing scale inside a card: 4 / 8 / 12 / 14. */
body.apd-m-cards a.listivo-listing-card-v4{position:relative;display:flex!important;flex-direction:column;height:100%;min-width:0;margin:0!important;background:#fff!important;border:1px solid var(--apd-line)!important;border-radius:14px!important;overflow:hidden!important;box-shadow:var(--apd-shadow-sm)!important;text-decoration:none!important;color:var(--apd-ink)!important;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease!important;font-family:var(--apd-font);box-sizing:border-box}
body.apd-m-cards a.listivo-listing-card-v4:hover{transform:translateY(-2px);border-color:rgba(0,104,255,.45)!important;box-shadow:var(--apd-shadow-lg)!important}
body.apd-m-cards a.listivo-listing-card-v4:focus-visible{outline:3px solid rgba(0,104,255,.45);outline-offset:2px}

/* photo */
body.apd-m-cards .listivo-listing-card-v4__gallery{position:relative;flex:0 0 auto;width:100%;height:auto!important;min-height:0!important;max-height:none!important;aspect-ratio:4/3;margin:0!important;padding:0!important;overflow:hidden!important;border-radius:0!important;background:#e9edf3!important}
body.apd-m-cards .listivo-listing-card-v4__gallery lst-card-gallery{display:block;height:100%}
body.apd-m-cards .listivo-listing-card-v4__gallery > div,
body.apd-m-cards .listivo-listing-card-v4__gallery lst-card-gallery > div,
body.apd-m-cards .listivo-listing-card-v4__gallery .listivo-swiper-container,
body.apd-m-cards .listivo-listing-card-v4__gallery .listivo-swiper-wrapper,
body.apd-m-cards .listivo-listing-card-v4__gallery .listivo-swiper-slide{height:100%!important;min-height:0!important;margin-top:0!important;margin-bottom:0!important;padding:0!important}
body.apd-m-cards .listivo-listing-card-v4__gallery .listivo-swiper-container{overflow:hidden}
body.apd-m-cards .listivo-listing-card-v4__gallery .listivo-swiper-wrapper{display:flex}
body.apd-m-cards .listivo-listing-card-v4__gallery .listivo-swiper-slide{flex:0 0 100%;width:100%}
body.apd-m-cards .listivo-listing-card-v4__gallery img{display:block!important;width:100%!important;height:100%!important;max-height:none!important;object-fit:cover!important;object-position:center!important;margin:0!important;border-radius:0!important;transition:transform .5s ease}
body.apd-m-cards a.listivo-listing-card-v4:hover .listivo-listing-card-v4__gallery img{transform:scale(1.03)}

/* photo arrows: the theme's own controls (swiper navigation). They must stay ABOVE the theme's
   invisible hover holders (z-index 19), otherwise a click lands on the holder and nothing happens. */
body.apd-m-cards .listivo-listing-card-v4__prev,
body.apd-m-cards .listivo-listing-card-v4__next{position:absolute!important;top:50%!important;width:36px!important;height:36px!important;margin-top:-18px!important;border-radius:50%!important;background:rgba(255,255,255,.95)!important;border:0!important;filter:none!important;box-shadow:0 4px 14px rgba(16,24,40,.25)!important;display:flex!important;align-items:center;justify-content:center;opacity:0;transform:none!important;transition:opacity .18s ease,background-color .15s ease!important;z-index:20!important;cursor:pointer}
body.apd-m-cards .listivo-listing-card-v4__prev{left:10px!important}
body.apd-m-cards .listivo-listing-card-v4__next{right:10px!important}
body.apd-m-cards a.listivo-listing-card-v4:hover .listivo-listing-card-v4__prev--active,
body.apd-m-cards a.listivo-listing-card-v4:hover .listivo-listing-card-v4__next--active{opacity:1}
body.apd-m-cards .listivo-listing-card-v4__prev:not(.listivo-listing-card-v4__prev--active),
body.apd-m-cards .listivo-listing-card-v4__next:not(.listivo-listing-card-v4__next--active){pointer-events:none}
body.apd-m-cards .listivo-listing-card-v4__prev:hover,
body.apd-m-cards .listivo-listing-card-v4__next:hover{background:#fff!important}
body.apd-m-cards .listivo-listing-card-v4__prev svg,
body.apd-m-cards .listivo-listing-card-v4__next svg{width:12px;height:12px}
body.apd-m-cards .listivo-listing-card-v4__prev svg path,
body.apd-m-cards .listivo-listing-card-v4__next svg path{fill:#111827!important}
/* touch screens have no hover: keep the arrows hidden there (swipe works) */
@media (hover:none){
  body.apd-m-cards .listivo-listing-card-v4__prev,
  body.apd-m-cards .listivo-listing-card-v4__next{display:none!important}
}

/* photo dots (theme's dynamic bullets): only while hovering */
body.apd-m-cards .listivo-listing-card-v4__pagination{bottom:10px!important;z-index:5!important;opacity:0;transition:opacity .18s ease;pointer-events:none}
body.apd-m-cards a.listivo-listing-card-v4:hover .listivo-listing-card-v4__pagination{opacity:1}
body.apd-m-cards .listivo-listing-card-v4__pagination .listivo-swiper-pagination-bullet{background-color:rgba(255,255,255,.95)!important;box-shadow:0 1px 4px rgba(16,24,40,.35)}
body.apd-m-cards .listivo-listing-card-v4__pagination .listivo-swiper-pagination-bullet-active::before{background-color:var(--apd-blue)!important}

/* badges over the photo */
.apd-card__badges{position:absolute;top:10px;left:10px;right:10px;z-index:6;display:flex;align-items:flex-start;justify-content:space-between;gap:8px;pointer-events:none}
.apd-card__sale{display:inline-flex;align-items:center;height:24px;padding:0 9px;border-radius:7px;background:var(--apd-red);color:#fff;font:800 12.5px/1 var(--apd-font);letter-spacing:.01em;white-space:nowrap;box-shadow:0 4px 12px rgba(244,15,15,.3)}
.apd-card__count{display:inline-flex;align-items:center;gap:5px;height:24px;margin-left:auto;padding:0 8px;border-radius:7px;background:rgba(17,24,39,.7);color:#fff;font:600 12px/1 var(--apd-font);white-space:nowrap}

/* text part */
body.apd-m-cards .listivo-listing-card-v4__body{flex:1 1 auto;display:flex;flex-direction:column;margin:0!important;padding:0!important;background:#fff!important;min-height:0!important;border:0!important;border-radius:0!important}
body.apd-m-cards .listivo-listing-card-v4__inner{flex:1 1 auto;display:flex;flex-direction:column;margin:0!important;padding:0!important;background:#fff!important;border:0!important}
body.apd-m-cards .listivo-listing-card-v4__content{flex:1 1 auto;display:flex;flex-direction:column;gap:0;margin:0!important;padding:14px!important;background:#fff!important;min-height:0!important;border:0!important;container-type:inline-size;container-name:apdcard}
body.apd-m-cards .listivo-listing-card-v4__name{order:1;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;min-height:2.5em;margin:0 0 6px!important;padding:0!important;color:var(--apd-ink)!important;font:700 16px/1.25 var(--apd-font-h)!important;letter-spacing:-.01em!important;text-transform:none!important;transition:color .15s}
body.apd-m-cards a.listivo-listing-card-v4:hover .listivo-listing-card-v4__name{color:var(--apd-blue)!important}

/* year · km · fuel · gearbox. The dot sits in front of every item and the row is shifted
   left by one dot slot and clipped, so a dot never starts a wrapped line. */
.apd-card__specs{order:2;display:flex;flex-wrap:wrap;align-items:center;row-gap:2px;margin:0 0 12px -13px;clip-path:inset(0 0 0 13px);color:var(--apd-muted);font:500 13px/1.35 var(--apd-font)}
.apd-card__spec{display:inline-flex;align-items:center;white-space:nowrap}
.apd-card__spec::before{content:"";flex:0 0 auto;width:3px;height:3px;margin:0 5px;border-radius:50%;background:#aab4c3}

.apd-card__pricerow{order:3;display:flex;align-items:baseline;flex-wrap:wrap;gap:2px 8px;margin:auto 0 12px;padding:0}
body.apd-m-cards .listivo-listing-card-v4__value{order:0;width:auto!important;min-height:0!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:none!important;box-shadow:none!important;color:var(--apd-red)!important;font:800 23px/1.1 var(--apd-font-h)!important;letter-spacing:-.02em!important;white-space:nowrap}
body.apd-m-cards .listivo-listing-card-v4__value *{color:inherit!important;font:inherit!important}
.apd-card__old{order:1;color:#7b8696;font:600 14px/1 var(--apd-font);white-space:nowrap;text-decoration:line-through;text-decoration-thickness:1.5px}
/* cards without the extra markup (should not happen): keep the price at the bottom */
body.apd-m-cards a.listivo-listing-card-v4:not(.apd-card) .listivo-listing-card-v4__value{order:3;margin:auto 0 0!important;padding-top:10px!important}

/* buttons: "Detalii" takes its natural width, "Cumpără în rate" the rest, WhatsApp is a square */
.apd-card__actions{order:5;display:grid;grid-template-columns:auto minmax(0,1fr) 40px;gap:6px}
.apd-cbtn{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-width:0;height:40px;padding:0 11px;border-radius:10px;font:700 13.5px/1 var(--apd-font);letter-spacing:-.005em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;cursor:pointer;user-select:none;-webkit-user-select:none;transition:background-color .15s,color .15s,box-shadow .15s;box-sizing:border-box}
.apd-cbtn--ghost{background:#fff;color:var(--apd-ink);box-shadow:inset 0 0 0 1.5px #d5dbe5}
.apd-cbtn--ghost:hover{color:var(--apd-blue);box-shadow:inset 0 0 0 1.5px var(--apd-blue)}
.apd-cbtn--blue{background:var(--apd-blue);color:#fff}
.apd-cbtn--blue:hover{background:var(--apd-blue-600)}
.apd-cbtn--wa{padding:0;background:var(--apd-green);color:#fff}
.apd-cbtn--wa:hover{background:var(--apd-green-600)}
.apd-cbtn:active{transform:translateY(1px)}
@container apdcard (max-width:245px){
  .apd-card__actions{gap:5px;grid-template-columns:auto minmax(0,1fr) 38px}
  .apd-cbtn{height:38px;padding:0 8px;font-size:12.5px}
  .apd-card__specs{font-size:12.5px}
}
@container apdcard (max-width:205px){
  .apd-card__actions .apd-cbtn--ghost{display:none}
  .apd-card__actions{grid-template-columns:minmax(0,1fr) 38px}
}

/* theme parts replaced by the markup above */
body.apd-m-cards a.listivo-listing-card-v4.apd-card .listivo-listing-card-v4__attributes,
body.apd-m-cards a.listivo-listing-card-v4 .listivo-listing-card-v4__bottom{display:none!important}
/* fallback chips when a card has no extra markup */
body.apd-m-cards a.listivo-listing-card-v4:not(.apd-card) .listivo-listing-card-v4__attributes{order:2;display:flex;flex-wrap:wrap;gap:6px;margin:0 0 4px!important}
body.apd-m-cards a.listivo-listing-card-v4:not(.apd-card) .listivo-listing-card-v4__attribute{margin:0!important;padding:5px 9px!important;border:0!important;border-radius:7px!important;background:#f1f4f9!important;color:var(--apd-ink-2)!important;font:600 12.5px/1 var(--apd-font)!important}
/* leftovers of the earlier code snippet, in case it is still active for a moment */
body.apd-m-cards .ap99-card-extra{display:none!important}

/* grids that hold cards */
body.apd-m-cards .listivo-listing-grid{gap:20px!important}
@media (max-width:480px){
  body.apd-m-cards .listivo-listing-card-v4__name{font-size:17px!important;min-height:0}
  body.apd-m-cards .listivo-listing-card-v4__value{font-size:25px!important}
  .apd-card__old{font-size:15px}
  .apd-cbtn{height:46px;font-size:14.5px;padding:0 14px}
  .apd-card__actions{gap:8px;grid-template-columns:auto minmax(0,1fr) 46px}
  .apd-card__specs{font-size:13.5px}
}
@media (prefers-reduced-motion:reduce){
  body.apd-m-cards a.listivo-listing-card-v4,body.apd-m-cards .listivo-listing-card-v4__gallery img,.apd-btn,.apd-cbtn{transition:none!important}
  body.apd-m-cards a.listivo-listing-card-v4:hover{transform:none}
  body.apd-m-cards a.listivo-listing-card-v4:hover .listivo-listing-card-v4__gallery img{transform:none}
}
/* ---------- "list view" rows on the listings page (module: cards) ---------- */
body.apd-m-cards a.listivo-listing-card-row-v2{display:flex!important;background:#fff!important;border:1px solid var(--apd-line)!important;border-radius:16px!important;overflow:hidden!important;box-shadow:var(--apd-shadow-sm)!important;text-decoration:none!important;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease!important;font-family:var(--apd-font)}
body.apd-m-cards a.listivo-listing-card-row-v2:hover{transform:translateY(-2px);border-color:rgba(0,104,255,.55)!important;box-shadow:var(--apd-shadow-lg)!important}
body.apd-m-cards .listivo-listing-card-row-v2__gallery{position:relative;background:#e9edf3!important}
body.apd-m-cards .listivo-listing-card-row-v2__name{color:var(--apd-ink)!important;font:700 20px/1.25 var(--apd-font-h)!important;letter-spacing:-.01em!important}
body.apd-m-cards a.listivo-listing-card-row-v2:hover .listivo-listing-card-row-v2__name{color:var(--apd-blue)!important}
body.apd-m-cards .listivo-listing-card-row-v2__description{color:var(--apd-muted)!important;font:400 14.5px/1.55 var(--apd-font)!important}
body.apd-m-cards .listivo-listing-card-row-v2__category{background:var(--apd-blue-50)!important;color:var(--apd-blue-600)!important;border-radius:999px!important;font:600 12.5px/1 var(--apd-font)!important}
body.apd-m-cards .listivo-listing-card-row-v2__value{margin:0!important;padding:0!important;background:none!important;color:var(--apd-red)!important;font:800 26px/1 var(--apd-font-h)!important;letter-spacing:-.02em!important}
body.apd-m-cards a.apd-row .listivo-listing-card-row-v2__bottom{display:flex!important;align-items:center;flex-wrap:wrap;gap:12px 18px;border:0!important}
body.apd-m-cards a.apd-row .apd-card__pricerow{order:0;margin:0;flex:0 0 auto}
body.apd-m-cards a.apd-row .apd-card__specs{order:1;margin:0;flex:1 1 200px}
body.apd-m-cards a.apd-row .apd-card__actions{order:2;flex:0 0 auto;grid-template-columns:auto auto 42px;margin-left:auto}
body.apd-m-cards a.apd-row .apd-cbtn{padding:0 16px}
body.apd-m-cards a.apd-row .apd-cbtn--wa{padding:0}
body.apd-m-cards a.apd-row .apd-card__badges{z-index:21}
body.apd-m-cards a.apd-row .listivo-listing-card-row-v2__icons{display:none!important}
@media (max-width:767px){
  body.apd-m-cards a.listivo-listing-card-row-v2{flex-direction:column}
  body.apd-m-cards a.apd-row .apd-card__actions{width:100%;grid-template-columns:auto minmax(0,1fr) 46px;margin-left:0}
}
/* the same facts are shown in the specs line next to the price */
body.apd-m-cards a.apd-row.apd-card--data .listivo-listing-card-row-v2__categories{display:none!important}
/* ---------- listings page (module: listings) ---------- */
body.apd-m-listings.apd-pg-listings .elementor-widget-lst_search_v2,
body.apd-m-listings.apd-pg-listings .listivo-search-v2{background:transparent!important}
body.apd-m-listings.apd-pg-listings .elementor-top-section{background-color:transparent!important;background-image:none!important}
body.apd-m-listings.apd-pg-listings{background:var(--apd-bg)!important}

/* breadcrumbs band -> light strip */
body.apd-m-base .listivo-breadcrumbs-wrapper-v2,
body.apd-m-base .listivo-breadcrumbs-v2{background:transparent!important}
body.apd-m-base .listivo-breadcrumbs-v2,
body.apd-m-base .listivo-breadcrumbs-v2 a,
body.apd-m-base .listivo-breadcrumbs-v2 span,
body.apd-m-base .listivo-breadcrumbs-v2 div{color:var(--apd-muted)!important;font:500 13.5px/1.4 var(--apd-font)!important}
body.apd-m-base .listivo-breadcrumbs-v2 a:hover{color:var(--apd-blue)!important}
body.apd-m-base .listivo-breadcrumbs-v2 svg path{fill:#a3adbb!important}
body.apd-m-listings.apd-pg-listings .elementor-widget-lst_breadcrumbs_v2{padding:4px 0 0}

/* results toolbar */
body.apd-m-listings .listivo-search-results__results-number,
body.apd-m-listings .listivo-search-results__results-number-count,
body.apd-m-listings .listivo-search-results__results-number-label{color:var(--apd-ink)!important;font-family:var(--apd-font-h)!important;font-weight:800!important;letter-spacing:-.02em}
body.apd-m-listings .listivo-search-results__title{color:var(--apd-muted)!important;font:500 15px/1.3 var(--apd-font)!important}
body.apd-m-listings .listivo-search-results__sort-by-label{color:var(--apd-ink-2)!important;font:600 14.5px/1.2 var(--apd-font)!important}
body.apd-m-listings .listivo-search-results__row{align-items:center!important;margin-bottom:18px!important}

/* selects + inputs */
body.apd-m-listings .listivo-select-v2,
body.apd-m-listings .listivo-input-v2{min-height:48px!important;height:48px!important;border:1.5px solid var(--apd-line)!important;border-radius:12px!important;background:#fff!important;box-shadow:none!important;transition:border-color .15s,box-shadow .15s}
body.apd-m-listings .listivo-select-v2:hover,
body.apd-m-listings .listivo-input-v2:hover{border-color:#c3cbd8!important}
body.apd-m-listings .listivo-select-v2--open,
body.apd-m-listings .listivo-select-v2:focus-within,
body.apd-m-listings .listivo-input-v2:focus-within{border-color:var(--apd-blue)!important;box-shadow:0 0 0 3px rgba(0,104,255,.15)!important}
body.apd-m-listings .listivo-select-v2__placeholder,
body.apd-m-listings .listivo-select-v2 *,
body.apd-m-listings .listivo-input-v2 input{color:var(--apd-ink)!important;font:500 15px/1.2 var(--apd-font)!important}
body.apd-m-listings .listivo-input-v2 input{background:transparent!important;border:0!important;height:100%!important}
body.apd-m-listings .listivo-input-v2 input::placeholder{color:#8a94a3!important;opacity:1}
body.apd-m-listings .listivo-select-v2__arrow{background:transparent!important}
body.apd-m-listings .listivo-select-v2__arrow svg path{fill:var(--apd-ink-2)!important}
body.apd-m-listings .listivo-select-v2__dropdown{border:1px solid var(--apd-line)!important;border-radius:12px!important;background:#fff!important;box-shadow:var(--apd-shadow-lg)!important;overflow:hidden}
body.apd-m-listings .listivo-select-v2__option:hover,
body.apd-m-listings .listivo-select-v2__option--active{background:var(--apd-blue-50)!important;color:var(--apd-blue-600)!important}

body.apd-m-listings .listivo-view-selector{width:48px!important;height:48px!important;border:1.5px solid var(--apd-line)!important;border-radius:12px!important;background:#fff!important}
body.apd-m-listings .listivo-view-selector--active{border-color:var(--apd-blue)!important;background:var(--apd-blue-50)!important}
body.apd-m-listings .listivo-view-selector svg path{fill:var(--apd-ink-2)!important}
body.apd-m-listings .listivo-view-selector--active svg path{fill:var(--apd-blue)!important}

/* filter sidebar */
body.apd-m-listings .listivo-search-sidebar{border:1px solid var(--apd-line)!important;border-radius:18px!important;background:#fff!important;box-shadow:var(--apd-shadow-sm)!important}
body.apd-m-listings .listivo-search-panel__label{color:var(--apd-ink)!important;font:700 15.5px/1.2 var(--apd-font-h)!important}
body.apd-m-listings .listivo-search-panel__circle{width:8px!important;height:8px!important;background:var(--apd-blue)!important}
body.apd-m-listings .listivo-search-panel__item-label{color:var(--apd-ink-2)!important;font:500 14.5px/1.3 var(--apd-font)!important}
body.apd-m-listings .listivo-search-panel__item--active .listivo-search-panel__item-label{color:var(--apd-ink)!important;font-weight:600!important}
body.apd-m-listings .listivo-checkbox{width:18px!important;height:18px!important;border:1.5px solid #b9c1ce!important;border-radius:5px!important;background:#fff!important}
body.apd-m-listings .listivo-checkbox--checked,
body.apd-m-listings .listivo-search-panel__item--active .listivo-checkbox{border-color:var(--apd-blue)!important;background:var(--apd-blue)!important}
body.apd-m-listings .listivo-checkbox svg path{fill:#fff!important;stroke:#fff!important}

/* pagination */
body.apd-m-listings .listivo-pagination__info,
body.apd-m-listings .listivo-pagination__info span{color:var(--apd-muted)!important;font:500 14.5px/1.4 var(--apd-font)!important}
body.apd-m-listings .listivo-pagination__info span{margin:0!important;color:var(--apd-ink)!important;font-weight:600!important}
body.apd-m-listings .listivo-pagination__item{min-width:46px!important;height:46px!important;border:1.5px solid var(--apd-line)!important;border-radius:12px!important;background:#fff!important;color:var(--apd-ink)!important;font:600 15px/1 var(--apd-font)!important}
body.apd-m-listings .listivo-pagination__item:hover{border-color:var(--apd-blue)!important;color:var(--apd-blue)!important}
body.apd-m-listings .listivo-pagination__item--active{border-color:var(--apd-blue)!important;background:var(--apd-blue)!important;color:#fff!important}
body.apd-m-listings .listivo-pagination__item svg path{fill:currentColor!important}

@media (min-width:1025px){
  body.apd-m-listings.apd-m-cards.apd-pg-listings .listivo-listing-grid--cards{grid-template-columns:repeat(3,minmax(0,1fr))!important}
}

/* page heading row: "Anunțuri mașini" as the real title, the count as a quiet pill */
body.apd-m-listings.apd-pg-listings .listivo-search-v2__content{padding-top:12px!important;padding-bottom:72px!important}
body.apd-m-listings .listivo-search-results__row{flex-wrap:wrap!important;justify-content:space-between!important;gap:14px 20px}
body.apd-m-listings .listivo-search-results__row-left{flex:1 1 100%;display:flex!important;flex-wrap:wrap;align-items:center!important;gap:8px 12px;min-width:0}
body.apd-m-listings .listivo-search-results__row-left .listivo-search-results__title{order:-1;margin:0!important;color:var(--apd-ink)!important;font:800 clamp(24px,2.4vw,30px)/1.15 var(--apd-font-h)!important;letter-spacing:-.02em!important}
body.apd-m-listings .listivo-search-results__row-left .listivo-search-results__results-number{display:inline-flex!important;align-items:center;gap:4px;margin:0!important;padding:6px 11px;border-radius:999px;background:var(--apd-blue-50);font:700 13px/1.1 var(--apd-font)!important;letter-spacing:0!important}
body.apd-m-listings .listivo-search-results__row-left .listivo-search-results__results-number *{color:var(--apd-blue-600)!important;font:inherit!important;letter-spacing:0!important}
body.apd-m-listings .listivo-search-results__row-right{gap:10px}
body.apd-m-listings .listivo-search-results__sort-by{gap:10px;align-items:center}

/* filter card: roomier, sections divided by hairlines */
body.apd-m-listings .listivo-search-sidebar{padding:0!important;overflow:hidden}
body.apd-m-listings .listivo-search-sidebar > .listivo-search-form-field{margin:0!important}
body.apd-m-listings .listivo-search-sidebar > .listivo-search-form-field + .listivo-search-form-field{border-top:1px solid var(--apd-line)}
body.apd-m-listings .listivo-search-sidebar .listivo-search-panel,
body.apd-m-listings .listivo-search-sidebar .listivo-search-sidebar__children{padding-left:0!important;padding-right:0!important;margin:0!important;border:0!important}
body.apd-m-listings .listivo-search-sidebar .listivo-search-panel__top{margin:0!important;padding:22px 24px 0!important}
body.apd-m-listings .listivo-search-sidebar .listivo-search-panel__content{padding:14px 24px 22px!important}
body.apd-m-listings .listivo-search-panel__item{border-radius:8px;transition:background-color .12s}
body.apd-m-listings .listivo-search-panel__item:not(.listivo-search-panel__item--disabled):hover .listivo-search-panel__item-label{color:var(--apd-blue)!important}
body.apd-m-listings .listivo-search-panel__item:not(.listivo-search-panel__item--disabled):hover .listivo-checkbox{border-color:var(--apd-blue)!important}
body.apd-m-listings .listivo-search-panel__item--disabled .listivo-search-panel__item-label{color:#a3adbb!important}
body.apd-m-listings .listivo-search-panel__item-label span{color:var(--apd-muted)}
body.apd-m-listings .listivo-search-panel__more{color:var(--apd-blue)!important;font:600 14px/1.2 var(--apd-font)!important}
body.apd-m-listings .listivo-search-panel__more svg path{fill:var(--apd-blue)!important}
body.apd-m-listings .listivo-search-form-field .listivo-input-v2 + .listivo-input-v2,
body.apd-m-listings .listivo-search-panel__keyword{margin-bottom:10px}

/* skeleton while results reload (listings + home car list): neutral greys, no theme colours */
body.apd-m-listings .listivo-skeleton-listing-card-v4{background:#fff!important;border:1px solid var(--apd-line)!important;border-radius:14px!important;overflow:hidden;box-shadow:none!important}
body.apd-m-listings .listivo-skeleton-listing-card-v4 *{border-color:transparent!important;box-shadow:none!important;background-color:transparent!important}
body.apd-m-listings .listivo-skeleton-listing-card-v4 :is(:empty,[class*="__gallery"]){background-color:#eef1f6!important;border-radius:8px}
body.apd-m-listings .listivo-skeleton-listing-card-v4 [class*="__gallery"]{border-radius:0}
body.apd-m-listings .listivo-skeleton-listing-card-v4 [class*="__gallery"] img{opacity:0}

/* active filter chips */
body.apd-m-listings .listivo-search-results__filters{margin:0 0 18px!important}
body.apd-m-listings .listivo-search-results__filters > div{display:flex;flex-wrap:wrap;gap:8px}
body.apd-m-listings .listivo-search-filter{display:inline-flex!important;align-items:center;gap:8px;height:36px!important;margin:0!important;padding:0 8px 0 14px!important;border:1.5px solid var(--apd-blue-100)!important;border-radius:999px!important;background:var(--apd-blue-50)!important;color:var(--apd-blue-600)!important;font:600 14px/1 var(--apd-font)!important;cursor:pointer}
body.apd-m-listings .listivo-search-filter span{color:inherit!important;font:inherit!important}
body.apd-m-listings .listivo-search-filter__close{display:flex!important;align-items:center;justify-content:center;width:22px!important;height:22px!important;margin:0!important;border-radius:50%;background:#fff!important}
body.apd-m-listings .listivo-search-filter__close svg path{fill:var(--apd-blue-600)!important;stroke:var(--apd-blue-600)!important}
body.apd-m-listings .listivo-search-filter:hover{border-color:var(--apd-blue)!important}

/* phone: "more filters" button + slide-in panel */
body.apd-m-listings .listivo-search-v2__more-filters .listivo-simple-button{height:50px!important;gap:10px;background:#fff!important;color:var(--apd-ink)!important;border:1.5px solid #cfd6e2!important;box-shadow:var(--apd-shadow-sm)}
body.apd-m-listings .listivo-search-v2__more-filters .listivo-simple-button:hover{border-color:var(--apd-blue)!important;color:var(--apd-blue)!important}
body.apd-m-listings .listivo-search-v2__more-filters .listivo-simple-button__icon{margin-right:0!important;color:var(--apd-blue)}
@media (max-width:1023.98px){
  body.apd-m-listings.apd-pg-listings .listivo-search-v2__content{padding-top:8px!important;padding-bottom:48px!important}
  body.apd-m-listings.apd-pg-listings .listivo-search-v2__more-filters{margin-bottom:20px!important}
  body.apd-m-listings .listivo-search-results__row{flex-wrap:wrap;gap:14px}
}
/* off-canvas filter panel: the theme switches to it at 767px */
@media (max-width:767px){
  body.apd-m-listings .listivo-search-v2__sidebar .listivo-search-sidebar{min-height:100%;border:0!important;border-radius:0!important;box-shadow:0 0 40px rgba(16,24,40,.25)!important;padding-top:64px!important;padding-bottom:84px!important}
  body.apd-m-listings .listivo-search-sidebar-mobile-button{height:64px!important;display:flex!important;align-items:center;padding:0 16px!important;background:#fff!important;border-bottom:1px solid var(--apd-line)!important;box-sizing:border-box}
  body.apd-m-listings .listivo-search-sidebar-mobile-button::after{content:"Filtre";margin-left:14px;color:var(--apd-ink);font:800 19px/1 var(--apd-font-h)}
  body.apd-m-listings .listivo-search-sidebar-mobile-button__close{position:static!important;width:44px!important;height:44px!important;border:1.5px solid var(--apd-line)!important;border-radius:12px!important;background:#fff!important;box-shadow:var(--apd-shadow-sm)!important}
  body.apd-m-listings .listivo-search-sidebar-mobile-button__close svg path{fill:var(--apd-ink)!important}
}
/* ---------- single car page (module: single) ----------
   Spacing scale: 8 / 12 / 16 / 24 / 32 / 48. Cards: 1px line, radius 18, padding 24. */
body.apd-m-single.apd-pg-single{background:#fff}
body.apd-m-single.apd-pg-single .elementor-top-section{background-color:transparent!important;background-image:none!important}
/* breadcrumbs band: the column carries a dark background colour from Elementor */
body.apd-m-single.apd-pg-single .elementor-column:has(> .elementor-widget-wrap > .elementor-widget-lst_breadcrumbs_v2){border-bottom:1px solid var(--apd-line)}
/* breadcrumbs start on the same left edge as the logo and the content (the theme section is full width) */
body.apd-m-single.apd-pg-single .elementor-widget-wrap:has(> .elementor-widget-lst_breadcrumbs_v2){max-width:var(--apd-wrap);margin:0 auto;padding:0 var(--apd-gutter)!important;box-sizing:border-box;background:transparent!important}
/* theme "boxes" (white panels with 30px padding) around name / price / description */
body.apd-m-single.apd-pg-single .elementor-widget-lst_listing_name > .elementor-widget-container,
body.apd-m-single.apd-pg-single .elementor-widget-lst_listing_price > .elementor-widget-container,
body.apd-m-single.apd-pg-single .elementor-widget-lst_listing_description > .elementor-widget-container{padding:0!important;margin:0!important;background:transparent!important;border:0!important;box-shadow:none!important;border-radius:0!important}

/* ===== left column: title + price, gallery, (phone/tablet buttons), specs, description ===== */
body.apd-m-single.apd-pg-single .elementor-widget-wrap:has(> .apd-gal){align-content:flex-start;padding-top:32px!important}
body.apd-m-single.apd-pg-single .elementor-widget-lst_listing_gallery ~ .elementor-element{order:10}
body.apd-m-single.apd-pg-single .elementor-widget-lst_listing_gallery ~ .elementor-widget-spacer,
body.apd-m-single.apd-pg-single .elementor-widget-lst_listing_stats,
body.apd-m-single.apd-pg-single .elementor-widget-lst_listing_attributes_v3{display:none!important}
body.apd-m-single.apd-pg-single.apd-has-gallery .elementor-widget-lst_listing_gallery{display:none!important}
body.apd-m-single.apd-pg-single.apd-has-gallery .elementor-widget-wrap:has(> .apd-gal) > .elementor-widget-spacer{display:none!important}
body.apd-m-single.apd-pg-single.apd-has-specs .elementor-widget-lst_listing_attributes{display:none!important}

body.apd-m-single.apd-pg-single .elementor-widget-lst_listing_gallery ~ .elementor-widget-lst_listing_name{order:1;flex:1 1 300px;width:auto!important;min-width:0;max-width:100%;margin:0 0 20px!important;align-self:flex-end}
body.apd-m-single.apd-pg-single .elementor-widget-lst_listing_gallery ~ .elementor-widget-lst_listing_price{order:2;flex:0 0 auto;width:auto!important;max-width:100%;margin:0 0 20px auto!important;padding-left:24px;align-self:flex-end}
body.apd-m-single.apd-pg-single .apd-gal{order:3;flex:1 1 100%}
/* the theme's own phone/tablet button trio (hidden on desktop by Elementor) comes right after the photos */
body.apd-m-single.apd-pg-single .elementor-widget-lst_listing_gallery ~ .elementor-widget-button{order:4;flex:1 1 100%;width:100%!important;margin:0 0 10px!important}
body.apd-m-single.apd-pg-single .apd-specs{order:5;flex:1 1 100%}
body.apd-m-single.apd-pg-single .elementor-widget-lst_listing_gallery ~ .elementor-widget-lst_listing_description{order:6;flex:1 1 100%;width:100%!important}

/* title + price */
body.apd-m-single .listivo-listing-name{margin:0!important;padding:0!important;color:var(--apd-ink)!important;font:800 clamp(24px,2.6vw,32px)/1.15 var(--apd-font-h)!important;letter-spacing:-.025em!important;overflow-wrap:anywhere}
body.apd-m-single .listivo-listing-price{display:flex!important;align-items:baseline;justify-content:flex-end;flex-wrap:wrap;gap:6px 12px;margin:0!important;padding:0!important;background:none!important;color:var(--apd-red)!important;font:800 clamp(28px,3vw,36px)/1 var(--apd-font-h)!important;letter-spacing:-.025em!important;white-space:nowrap}
.apd-s-old{order:-1;color:#7b8696;font:600 18px/1 var(--apd-font);letter-spacing:0;text-decoration:line-through;text-decoration-thickness:2px}
.apd-s-save{flex:0 0 100%;text-align:right;color:var(--apd-green);font:700 13.5px/1.2 var(--apd-font);letter-spacing:0}
.apd-s-save::before{content:"";display:inline-block;width:6px;height:6px;margin:0 7px 2px 0;border-radius:50%;background:currentColor;vertical-align:middle}

/* ===== gallery ===== */
.apd-gal{margin:0 0 24px;min-width:0}
.apd-gal__stage{position:relative;aspect-ratio:4/3;border-radius:18px;overflow:hidden;background:#eef1f5}
.apd-gal__main{display:block;width:100%;height:100%;object-fit:contain;cursor:zoom-in}
.apd-gal__sale{position:absolute;top:16px;left:16px;display:inline-flex;align-items:center;height:32px;padding:0 12px;border-radius:9px;background:var(--apd-red);color:#fff;font:800 15px/1 var(--apd-font);box-shadow:0 8px 18px rgba(244,15,15,.3);pointer-events:none}
.apd-gal__nav{position:absolute;top:50%;width:46px;height:46px;margin-top:-23px;padding:0;border:0;border-radius:50%;background:rgba(255,255,255,.95);color:var(--apd-ink);display:flex;align-items:center;justify-content:center;cursor:pointer;box-shadow:0 6px 18px rgba(16,24,40,.25);transition:transform .15s,background-color .15s,color .15s}
.apd-gal__nav:hover{background:#fff;color:var(--apd-blue);transform:scale(1.06)}
.apd-gal__nav--prev{left:16px}
.apd-gal__nav--next{right:16px}
.apd-gal__counter{position:absolute;left:16px;bottom:16px;display:inline-flex;align-items:center;gap:.28em;height:34px;padding:0 12px;border-radius:9px;background:rgba(17,24,39,.72);color:#fff;font:600 13.5px/1 var(--apd-font);font-variant-numeric:tabular-nums;pointer-events:none}
.apd-gal__zoom{position:absolute;right:16px;bottom:16px;display:inline-flex;align-items:center;gap:7px;height:34px;padding:0 12px;border:0;border-radius:9px;background:rgba(17,24,39,.72);color:#fff;font:600 13.5px/1 var(--apd-font);cursor:pointer;transition:background-color .15s}
.apd-gal__zoom:hover{background:rgba(17,24,39,.92)}
.apd-gal__thumbs{display:flex;gap:10px;margin-top:12px;padding:3px;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x proximity;scrollbar-width:none;-webkit-overflow-scrolling:touch}
.apd-gal__thumbs::-webkit-scrollbar{display:none}
.apd-gal__thumb{flex:0 0 auto;width:calc((100% - 50px) / 6);min-width:84px;aspect-ratio:4/3;padding:0;border:0;border-radius:10px;overflow:hidden;background:#e9edf3;cursor:pointer;scroll-snap-align:start;opacity:.7;outline:2px solid transparent;outline-offset:1px;transition:opacity .15s,outline-color .15s}
.apd-gal__thumb img{display:block;width:100%;height:100%;object-fit:cover}
.apd-gal__thumb:hover{opacity:1}
.apd-gal__thumb.is-active{opacity:1;outline-color:var(--apd-blue)}

/* lightbox */
html.apd-noscroll{overflow:hidden}
.apd-lb{position:fixed;inset:0;z-index:999999;display:flex;align-items:center;justify-content:center;background:rgba(10,14,22,.94);touch-action:pan-y}
.apd-lb__img{max-width:calc(100vw - 32px);max-height:calc(100vh - 110px);border-radius:8px;object-fit:contain;user-select:none}
.apd-lb__close,.apd-lb__nav{position:absolute;border:0;border-radius:50%;background:rgba(255,255,255,.14);color:#fff;cursor:pointer;display:flex;align-items:center;justify-content:center;font-family:Arial,sans-serif;line-height:1;transition:background-color .15s}
.apd-lb__close:hover,.apd-lb__nav:hover{background:rgba(255,255,255,.28)}
.apd-lb__close:focus-visible,.apd-lb__nav:focus-visible{outline:3px solid rgba(255,255,255,.7);outline-offset:2px}
.apd-lb__close{top:16px;right:16px;width:46px;height:46px;font-size:30px}
.apd-lb__nav{top:50%;width:52px;height:52px;margin-top:-26px;font-size:36px;padding-bottom:5px}
.apd-lb__nav--prev{left:16px}
.apd-lb__nav--next{right:16px}
.apd-lb__cur{position:absolute;bottom:18px;left:50%;transform:translateX(-50%);color:#fff;font:600 15px/1 var(--apd-font)}

/* ===== technical data ===== */
.apd-specs{margin:0 0 24px;padding:24px;border:1px solid var(--apd-line);border-radius:18px;background:#fff;box-sizing:border-box}
.apd-specs .apd-h2{margin:0 0 20px}
.apd-specs__grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px 16px}
.apd-spec{display:flex;align-items:center;gap:12px;min-width:0}
.apd-spec__ico{flex:0 0 auto;display:flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:11px;background:var(--apd-blue-50);color:var(--apd-blue)}
.apd-spec__txt{display:flex;flex-direction:column;gap:3px;min-width:0}
.apd-spec__label{color:var(--apd-muted);font:500 12.5px/1.25 var(--apd-font)}
.apd-spec__val{color:var(--apd-ink);font:700 15px/1.25 var(--apd-font);overflow-wrap:anywhere}
.apd-offers{display:flex;flex-wrap:wrap;gap:8px;list-style:none;margin:20px 0 0;padding:20px 0 0;border-top:1px solid var(--apd-line)}
.apd-offers li{display:inline-flex;align-items:center;gap:6px;margin:0;padding:8px 12px;border-radius:999px;background:#eaf7ef;color:#0b6a2e;font:600 13.5px/1 var(--apd-font)}

/* ===== description: pasted equipment lists (ul > li > group + divs, sometimes a nested ul) ===== */
body.apd-m-single.apd-pg-single .elementor-widget-lst_listing_description .listivo-listing-section{margin:0 0 32px!important;padding:24px!important;border:1px solid var(--apd-line)!important;border-radius:18px!important;background:#fff!important;box-shadow:none!important}
body.apd-m-single .listivo-listing-section__label{margin:0 0 8px!important;padding:0!important;color:var(--apd-ink)!important;font:700 22px/1.2 var(--apd-font-h)!important;letter-spacing:-.015em!important}
body.apd-m-single .listivo-listing-section__label::before,body.apd-m-single .listivo-listing-section__label::after{display:none!important}
body.apd-m-single .listivo-listing-section__text{color:var(--apd-ink-2)!important;font:400 15px/1.6 var(--apd-font)!important;overflow-wrap:anywhere}
body.apd-m-single .listivo-listing-section__text p{margin:0 0 12px!important}
body.apd-m-single .listivo-listing-section__text ul{list-style:none!important;margin:0!important;padding:0!important;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 32px}
body.apd-m-single .listivo-listing-section__text li{min-width:0;margin:0!important;padding:14px 0!important;border-bottom:1px solid var(--apd-line);list-style:none!important}
body.apd-m-single .listivo-listing-section__text li::marker{content:""}
body.apd-m-single .listivo-listing-section__text li::before{display:none!important}
/* a group that holds a long nested list spans the full width; its nested list is a 2-column checklist */
body.apd-m-single .listivo-listing-section__text li:has(ul){grid-column:1 / -1}
body.apd-m-single .listivo-listing-section__text ul ul{margin:6px 0 0!important;gap:0 32px}
body.apd-m-single .listivo-listing-section__text li li{padding:3px 0!important;border:0}
body.apd-m-single .listivo-listing-section__text div:empty,
body.apd-m-single .listivo-listing-section__text [data-testid="car-equipment-icon"]{display:none!important}
body.apd-m-single .listivo-listing-section__text [data-testid="car-equipment-group"]{margin:0 0 4px;color:var(--apd-ink);font:700 15px/1.35 var(--apd-font)}
/* every equipment line gets a blue tick */
body.apd-m-single .listivo-listing-section__text [data-testid="car-equipment-description"] > div:not(:has(ul)),
body.apd-m-single .listivo-listing-section__text li li > div:not(:empty){position:relative;padding:2px 0 2px 24px;color:var(--apd-ink-2);font:400 14.5px/1.45 var(--apd-font)}
body.apd-m-single .listivo-listing-section__text [data-testid="car-equipment-description"] > div:not(:has(ul))::before,
body.apd-m-single .listivo-listing-section__text li li > div:not(:empty)::before{content:"";position:absolute;left:2px;top:7px;width:13px;height:13px;background:no-repeat center/13px 13px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230068ff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E")}
body.apd-m-single .listivo-listing-section__text [data-testid="car-equipment-description"] > div:has(ul){padding:0}

/* ===== sidebar: buttons first, then trust box, then dealer box ===== */
body.apd-m-single.apd-pg-single :has(> .apd-trust){display:flex!important;flex-direction:column!important;flex-wrap:nowrap!important;gap:16px}
body.apd-m-single.apd-pg-single :has(> .apd-trust) > *{margin-top:0!important;margin-bottom:0!important;width:100%!important}
body.apd-m-single.apd-pg-single .elementor-inner-column > .elementor-widget-wrap:has(.apd-trust){padding-top:32px!important}
body.apd-m-single.apd-pg-single .apd-trust ~ .e-con{order:-1;padding:0!important;background:transparent!important;border:0!important}
body.apd-m-single.apd-pg-single .apd-trust ~ .e-con > .e-con-inner{gap:10px!important;padding:0!important}
body.apd-m-single.apd-pg-single .apd-trust ~ .elementor-widget-lst_listing_user_v2{order:2}
body.apd-m-single.apd-pg-single .apd-trust ~ .elementor-widget-spacer,
body.apd-m-single.apd-pg-single .apd-trust ~ .e-con .elementor-widget-spacer{display:none!important}

/* the three Elementor buttons (sidebar on desktop, under the photos on phones/tablets) */
body.apd-m-single.apd-pg-single .elementor-widget-button{width:100%!important;margin:0!important}
body.apd-m-single.apd-pg-single .elementor-widget-button .elementor-button{display:flex!important;align-items:center;justify-content:center;gap:8px;width:100%!important;min-height:54px;padding:12px 18px!important;border:1.5px solid transparent!important;border-radius:14px!important;font:700 16px/1.2 var(--apd-font)!important;letter-spacing:0!important;text-transform:none!important;text-align:center;box-shadow:none!important;transition:background-color .15s,border-color .15s,color .15s,transform .15s!important;box-sizing:border-box}
body.apd-m-single.apd-pg-single .elementor-widget-button .elementor-button:hover{transform:translateY(-1px)}
body.apd-m-single.apd-pg-single .elementor-widget-button .elementor-button:focus-visible{outline:3px solid rgba(0,104,255,.45);outline-offset:2px}
body.apd-m-single.apd-pg-single .elementor-widget-button .elementor-button[href^="#"]{background:var(--apd-red)!important;color:#fff!important;box-shadow:0 10px 22px rgba(244,15,15,.22)!important}
body.apd-m-single.apd-pg-single .elementor-widget-button .elementor-button[href^="#"]:hover{background:var(--apd-red-600)!important}
body.apd-m-single.apd-pg-single .elementor-widget-button .elementor-button[href^="#"] .elementor-button-text{display:inline-block;text-transform:lowercase}
body.apd-m-single.apd-pg-single .elementor-widget-button .elementor-button[href^="#"] .elementor-button-text::first-letter{text-transform:uppercase}
body.apd-m-single.apd-pg-single .elementor-widget-button .elementor-button[href*="wa.me"],
body.apd-m-single.apd-pg-single .elementor-widget-button .elementor-button[href*="whatsapp"]{background:var(--apd-green)!important;color:#fff!important}
body.apd-m-single.apd-pg-single .elementor-widget-button .elementor-button[href*="wa.me"]:hover,
body.apd-m-single.apd-pg-single .elementor-widget-button .elementor-button[href*="whatsapp"]:hover{background:var(--apd-green-600)!important}
body.apd-m-single.apd-pg-single .elementor-widget-button .elementor-button[href^="tel:"]{background:#fff!important;border-color:#cfd6e2!important;color:var(--apd-ink)!important}
body.apd-m-single.apd-pg-single .elementor-widget-button .elementor-button[href^="tel:"]:hover{border-color:var(--apd-blue)!important;color:var(--apd-blue)!important}
body.apd-m-single.apd-pg-single .elementor-widget-button .elementor-button *{color:inherit!important;fill:currentColor!important}
body.apd-m-single.apd-pg-single .elementor-widget-button .elementor-button-content-wrapper{display:flex;align-items:center;justify-content:center;gap:8px}
body.apd-m-single.apd-pg-single .elementor-widget-button .elementor-button-icon{display:inline-flex;margin:0!important}
body.apd-m-single.apd-pg-single .elementor-widget-button .elementor-button-icon svg{width:18px;height:18px}

.apd-trust{padding:24px;border:1px solid var(--apd-line);border-radius:18px;background:var(--apd-bg);box-sizing:border-box}
.apd-trust__title{margin:0 0 16px;color:var(--apd-ink);font:700 17px/1.25 var(--apd-font-h);letter-spacing:-.01em}
.apd-trust__list{list-style:none;margin:0;padding:0;display:grid;gap:14px}
.apd-trust__list li{display:flex;align-items:center;gap:12px;margin:0;padding:0}
.apd-trust__ico{flex:0 0 auto;display:flex;align-items:center;justify-content:center;width:38px;height:38px;border-radius:11px;background:#fff;color:var(--apd-blue);box-shadow:0 0 0 1px var(--apd-line)}
.apd-trust__list strong{display:block;color:var(--apd-ink);font:700 14.5px/1.25 var(--apd-font)}
.apd-trust__list span span{display:block;margin-top:2px;color:var(--apd-muted);font:400 13.5px/1.35 var(--apd-font)}
.apd-trust__foot{display:flex;align-items:flex-start;gap:8px;margin:16px 0 0;padding-top:16px;border-top:1px solid var(--apd-line);color:var(--apd-ink-2);font:600 13px/1.45 var(--apd-font)}
.apd-trust__foot .apd-ico{margin-top:2px;color:var(--apd-red)}

/* dealer box */
body.apd-m-single .listivo-listing-user-v2{padding:20px!important;border:1px solid var(--apd-line)!important;border-radius:18px!important;background:#fff!important;box-shadow:none!important}
body.apd-m-single .listivo-listing-user-v2__content{padding:0!important;margin:0 0 16px!important;align-items:center!important;border:0!important}
body.apd-m-single .listivo-listing-user-v2__avatar,body.apd-m-single .listivo-listing-user-v2__avatar img{width:52px!important;height:52px!important;border-radius:12px!important;object-fit:contain;background:#fff}
body.apd-m-single .listivo-listing-user-v2__avatar{box-shadow:0 0 0 1px var(--apd-line);overflow:hidden}
body.apd-m-single .listivo-listing-user-v2__info{margin-left:14px!important}
body.apd-m-single .listivo-listing-user-v2__name{color:var(--apd-ink)!important;font:700 16px/1.25 var(--apd-font-h)!important;text-decoration:none!important}
body.apd-m-single .listivo-listing-user-v2__see-all{margin:4px 0 0!important;color:var(--apd-blue)!important;font:600 13.5px/1.3 var(--apd-font)!important;text-decoration:none!important;border:0!important}
body.apd-m-single .listivo-listing-user-v2__see-all:hover{text-decoration:underline!important}
body.apd-m-single .listivo-listing-user-v2__phone{margin:0!important;padding:0!important;border:0!important}
body.apd-m-single .listivo-listing-user-v2 .listivo-contact-button{min-height:0!important;height:auto!important;padding:12px 14px!important;border:1px solid var(--apd-line)!important;border-radius:12px!important;background:var(--apd-bg)!important;box-shadow:none!important;color:var(--apd-ink)!important;font:700 16px/1 var(--apd-font)!important;justify-content:flex-start!important}
body.apd-m-single .listivo-listing-user-v2 .listivo-contact-button:hover{border-color:var(--apd-blue)!important}
body.apd-m-single .listivo-listing-user-v2 .listivo-contact-button__icon{width:36px!important;height:36px!important;margin:0 12px 0 0!important;border-radius:10px!important;background:#fff!important;box-shadow:0 0 0 1px var(--apd-line)!important}
body.apd-m-single .listivo-listing-user-v2 .listivo-contact-button *{color:var(--apd-ink)!important}
body.apd-m-single .listivo-listing-user-v2 .listivo-contact-button svg path{fill:var(--apd-blue)!important}

/* ===== "Rate online" block: container (heading + form widget #rateonline) as one card section ===== */
body.apd-m-single.apd-pg-single .e-con:has(#rateonline){margin:16px 0 0!important;padding:56px 20px!important;background:var(--apd-bg)!important;border-top:1px solid var(--apd-line);border-bottom:1px solid var(--apd-line)}
body.apd-m-single.apd-pg-single .e-con:has(#rateonline) > .e-con-inner{width:100%!important;max-width:860px!important;margin:0 auto!important;padding:32px!important;gap:0!important;border:1px solid var(--apd-line);border-radius:22px;background:#fff;box-shadow:var(--apd-shadow);box-sizing:border-box}
body.apd-m-single.apd-pg-single .e-con:has(#rateonline) .elementor-widget-spacer{display:none!important}
body.apd-m-single.apd-pg-single .e-con:has(#rateonline) .elementor-widget-heading{width:100%!important;margin:0 0 20px!important}
body.apd-m-single.apd-pg-single .e-con:has(#rateonline) .elementor-heading-title{margin:0!important;color:var(--apd-ink)!important;font:800 clamp(22px,2.6vw,28px)/1.2 var(--apd-font-h)!important;letter-spacing:-.02em!important;text-align:left!important;text-transform:none!important}
body.apd-m-single.apd-pg-single .e-con:has(#rateonline) .elementor-heading-title{font-size:0!important;line-height:0!important}
body.apd-m-single.apd-pg-single .e-con:has(#rateonline) .elementor-heading-title::before{content:"Cere oferta de rate pentru această mașină";display:block;font:800 clamp(22px,2.6vw,28px)/1.2 var(--apd-font-h);letter-spacing:-.02em;color:var(--apd-ink)}
body.apd-m-single.apd-pg-single .e-con:has(#rateonline) .elementor-heading-title::after{content:"Rate fixe, avans 0, doar cu buletinul. Te sunăm noi cu oferta.";display:block;margin-top:8px;font:500 15.5px/1.45 var(--apd-font);letter-spacing:0;color:var(--apd-muted)}
body.apd-m-single.apd-pg-single #rateonline{width:100%!important;max-width:none!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;scroll-margin-top:120px}
body.apd-m-single.apd-pg-single #rateonline > .elementor-widget-container{margin:0!important;padding:0!important;background:transparent!important}

/* ===== related cars ===== */
body.apd-m-single.apd-pg-single .elementor-widget-lst_related_listings{padding:24px 0 8px!important}
body.apd-m-single .listivo-listing-carousel{margin:0!important}
body.apd-m-single .listivo-listing-carousel__content{margin:0 -6px!important;padding:6px 6px 10px!important;overflow:hidden}
body.apd-m-single .listivo-listing-carousel__top{align-items:center!important;gap:16px;margin-bottom:24px!important}
body.apd-m-single .listivo-listing-carousel__label{margin:0!important;color:var(--apd-ink)!important;font:800 clamp(22px,2.4vw,28px)/1.2 var(--apd-font-h)!important;letter-spacing:-.02em!important}
body.apd-m-single .listivo-listing-carousel__right{display:flex!important;align-items:center;gap:12px}
body.apd-m-single .listivo-listing-carousel__button a,body.apd-m-single .listivo-listing-carousel__button .listivo-simple-button{display:inline-flex!important;align-items:center;gap:8px;height:44px!important;min-height:0!important;padding:0 18px!important;border:1.5px solid #cfd6e2!important;border-radius:12px!important;background:#fff!important;background-image:none!important;box-shadow:none!important;color:var(--apd-ink)!important;font:600 14.5px/1 var(--apd-font)!important;text-transform:none!important;transition:border-color .15s,color .15s}
body.apd-m-single .listivo-listing-carousel__button a *,body.apd-m-single .listivo-listing-carousel__button .listivo-simple-button *{color:inherit!important;background:transparent!important;fill:currentColor!important}
body.apd-m-single .listivo-listing-carousel__button a::before,body.apd-m-single .listivo-listing-carousel__button a::after{display:none!important}
body.apd-m-single .listivo-listing-carousel__button a:hover{border-color:var(--apd-blue)!important;color:var(--apd-blue)!important}
body.apd-m-single .listivo-listing-carousel .listivo-box-arrows{display:flex;gap:8px}
body.apd-m-single .listivo-listing-carousel .listivo-box-arrow{width:44px!important;height:44px!important;border:1.5px solid #cfd6e2!important;border-radius:12px!important;background:#fff!important;box-shadow:none!important;cursor:pointer;transition:border-color .15s,background-color .15s}
body.apd-m-single .listivo-listing-carousel .listivo-box-arrow svg path{fill:var(--apd-ink)!important}
body.apd-m-single .listivo-listing-carousel .listivo-box-arrow:not(.listivo-box-arrow--disabled):hover{border-color:var(--apd-blue)!important;background:var(--apd-blue)!important}
body.apd-m-single .listivo-listing-carousel .listivo-box-arrow:not(.listivo-box-arrow--disabled):hover svg path{fill:#fff!important}
body.apd-m-single .listivo-listing-carousel .listivo-box-arrow--disabled{opacity:.45;cursor:default}
@media (max-width:767px){body.apd-m-single .listivo-listing-carousel__button{display:none!important}}
body.apd-m-single .elementor-widget-lst_related_listings h2,
body.apd-m-single .elementor-widget-lst_related_listings h3:not(.listivo-listing-card-v4__name){margin-top:0!important;color:var(--apd-ink)!important;font-family:var(--apd-font-h)!important;letter-spacing:-.02em!important}

/* ===== sticky contact bar (phones/tablets) ===== */
.apd-mbar{display:none}
@media (max-width:1024px){
  body.apd-has-mbar .apd-mbar{position:fixed;left:0;right:0;bottom:0;z-index:9980;display:grid;grid-template-columns:auto auto minmax(0,1fr);gap:8px;padding:10px 12px calc(10px + env(safe-area-inset-bottom));background:#fff;border-top:1px solid var(--apd-line);box-shadow:0 -10px 30px rgba(16,24,40,.1)}
  .apd-mbar__btn{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-width:0;min-height:48px;padding:0 14px;border-radius:12px;font:700 15px/1 var(--apd-font);text-decoration:none!important;white-space:nowrap;box-sizing:border-box}
  .apd-mbar__btn--call{background:#fff;border:1.5px solid #cfd6e2;color:var(--apd-ink)!important}
  .apd-mbar__btn--wa{background:var(--apd-green);color:#fff!important}
  .apd-mbar__btn--apply{background:var(--apd-red);color:#fff!important}
  .apd-mbar__btn--apply span{overflow:hidden;text-overflow:ellipsis}
  body.apd-has-mbar{padding-bottom:calc(70px + env(safe-area-inset-bottom))!important}
  /* keep the Click to Chat button clear of the bar */
  body.apd-has-mbar #ht-ctc-chat{bottom:calc(80px + env(safe-area-inset-bottom))!important}
  body.apd-has-mbar .apd-footer{margin-bottom:0}
  body.apd-has-mbar .grecaptcha-badge{bottom:calc(84px + env(safe-area-inset-bottom))!important}
}
@media (max-width:400px){
  .apd-mbar__btn--wa span,.apd-mbar__btn--call span{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
  .apd-mbar__btn--call,.apd-mbar__btn--wa{width:52px;padding:0}
}

@media (max-width:1024px){
  .apd-specs__grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  body.apd-m-single.apd-pg-single .elementor-widget-wrap:has(> .apd-gal){padding-top:24px!important}
  body.apd-m-single.apd-pg-single .elementor-widget-lst_listing_gallery ~ .elementor-widget-button:has(+ .elementor-widget-spacer + .elementor-widget-lst_listing_stats),
  body.apd-m-single.apd-pg-single .elementor-widget-lst_listing_gallery ~ .elementor-widget-button:has(+ .elementor-widget-spacer + .elementor-widget-lst_listing_name){margin-bottom:24px!important}
}
@media (max-width:767px){
  body.apd-m-single.apd-pg-single .elementor-widget-wrap:has(> .apd-gal){padding-top:16px!important}
  body.apd-m-single.apd-pg-single .elementor-widget-lst_listing_gallery ~ .elementor-widget-lst_listing_name{flex-basis:100%;margin-bottom:8px!important}
  body.apd-m-single.apd-pg-single .elementor-widget-lst_listing_gallery ~ .elementor-widget-lst_listing_price{flex-basis:100%;margin:0 0 16px!important;padding-left:0}
  body.apd-m-single .listivo-listing-name{font-size:24px!important}
  body.apd-m-single .listivo-listing-price{justify-content:flex-start;font-size:30px!important}
  .apd-s-old{font-size:17px}
  .apd-s-save{text-align:left}
  .apd-gal{margin-bottom:16px}
  .apd-gal__stage{border-radius:14px}
  .apd-gal__thumbs{gap:8px;margin-top:8px}
  .apd-gal__thumb{width:84px}
  .apd-gal__nav{width:40px;height:40px;margin-top:-20px}
  .apd-gal__nav--prev{left:10px}.apd-gal__nav--next{right:10px}
  .apd-gal__counter{left:10px;bottom:10px;height:30px}
  .apd-gal__zoom{right:10px;bottom:10px;height:30px;padding:0 9px}
  .apd-gal__zoom span{display:none}
  .apd-gal__sale{top:10px;left:10px;height:28px;font-size:14px}
  .apd-specs,body.apd-m-single.apd-pg-single .elementor-widget-lst_listing_description .listivo-listing-section{padding:18px!important}
  .apd-specs__grid{gap:16px 12px}
  body.apd-m-single .listivo-listing-section__text ul,
  body.apd-m-single .listivo-listing-section__text ul ul{grid-template-columns:1fr}
  .apd-trust{padding:18px}
  body.apd-m-single.apd-pg-single .e-con:has(#rateonline){padding:32px 12px!important}
  body.apd-m-single.apd-pg-single .e-con:has(#rateonline) > .e-con-inner{padding:20px 16px!important;border-radius:18px}
}
@media (prefers-reduced-motion:reduce){
  .apd-gal__nav,.apd-gal__thumb,body.apd-m-single.apd-pg-single .elementor-widget-button .elementor-button{transition:none!important}
}
/* the Click to Chat button must not float over the photo lightbox */
html.apd-noscroll #ht-ctc-chat{visibility:hidden!important}
/* ---------- forms (module: forms) – Forminator "Rate online" ----------
   Styling only: field names, IDs, validation and submission are untouched.
   Self-contained: works in any container from ~300px to ~800px wide (finance card,
   contact card, car page block). The form is a size container, so the choice pills
   adapt to the form's own width, not the viewport. */
body.apd-m-forms .forminator-ui.forminator-custom-form{
  --apd-f-line:#cfd6e2;--apd-f-line-h:#9aa6b8;--apd-f-ring:0 0 0 4px rgba(0,104,255,.16);
  container-type:inline-size;container-name:apdform;
  font-family:var(--apd-font)!important;margin:0!important;padding:0!important;background:none!important;border:0!important;box-shadow:none!important;
}
body.apd-m-forms .forminator-ui.forminator-custom-form *,
body.apd-m-forms .forminator-ui.forminator-custom-form *::before,
body.apd-m-forms .forminator-ui.forminator-custom-form *::after{box-sizing:border-box}
body.apd-m-forms .forminator-ui.forminator-custom-form .forminator-row{margin-bottom:18px!important}
body.apd-m-forms .forminator-ui.forminator-custom-form .forminator-row.forminator-hidden{margin-bottom:0!important}
body.apd-m-forms .forminator-ui.forminator-custom-form .forminator-row:has(.forminator-field-captcha){margin-bottom:0!important}
body.apd-m-forms .forminator-ui.forminator-custom-form .forminator-row-last{margin-top:24px!important;margin-bottom:0!important}
body.apd-m-forms .forminator-ui.forminator-custom-form .forminator-field{position:relative!important;margin:0!important;padding:0!important;border:0!important;background:none!important}

/* labels: always above the field (the material design floats them inside the input) */
body.apd-m-forms .forminator-ui.forminator-custom-form .forminator-label,
body.apd-m-forms .forminator-ui.forminator-custom-form .forminator-label.forminator-floating--input,
body.apd-m-forms .forminator-ui.forminator-custom-form .forminator-field.forminator-is_active .forminator-floating--input,
body.apd-m-forms .forminator-ui.forminator-custom-form .forminator-field.forminator-is_filled .forminator-floating--input{
  position:static!important;inset:auto!important;display:block!important;width:auto!important;height:auto!important;max-width:none!important;
  margin:0 0 8px!important;padding:0!important;transform:none!important;opacity:1!important;overflow:visible!important;white-space:normal!important;pointer-events:auto!important;
  color:var(--apd-ink)!important;font:600 14.5px/1.35 var(--apd-font)!important;letter-spacing:0!important;text-transform:none!important;background:none!important;
}
body.apd-m-forms .forminator-ui.forminator-custom-form .forminator-label::before,
body.apd-m-forms .forminator-ui.forminator-custom-form .forminator-label::after{display:none!important}
body.apd-m-forms .forminator-ui.forminator-custom-form .forminator-required{margin-left:2px;color:var(--apd-red)!important}

/* text inputs */
body.apd-m-forms .forminator-ui.forminator-custom-form .forminator-input--wrap{position:relative!important;margin:0!important;padding:0!important;border:0!important;background:none!important}
body.apd-m-forms .forminator-ui.forminator-custom-form .forminator-field:before,
body.apd-m-forms .forminator-ui.forminator-custom-form .forminator-field:after,
body.apd-m-forms .forminator-ui.forminator-custom-form .forminator-input--wrap:before,
body.apd-m-forms .forminator-ui.forminator-custom-form .forminator-input--wrap:after{display:none!important}
body.apd-m-forms .forminator-ui.forminator-custom-form .forminator-input,
body.apd-m-forms .forminator-ui.forminator-custom-form .forminator-textarea{
  display:block!important;width:100%!important;height:52px!important;min-height:52px!important;margin:0!important;padding:0 16px!important;
  border:1.5px solid var(--apd-f-line)!important;border-radius:12px!important;background:#fff!important;box-shadow:none!important;outline:0!important;
  color:var(--apd-ink)!important;font:500 16px/1.3 var(--apd-font)!important;letter-spacing:0!important;-webkit-appearance:none;appearance:none;
  transition:border-color .15s,box-shadow .15s!important;
}
body.apd-m-forms .forminator-ui.forminator-custom-form .forminator-textarea{height:auto!important;min-height:120px!important;padding:14px 16px!important;line-height:1.5!important;resize:vertical}
body.apd-m-forms .forminator-ui.forminator-custom-form .forminator-input::placeholder,
body.apd-m-forms .forminator-ui.forminator-custom-form .forminator-textarea::placeholder{color:#94a3b8!important;opacity:1}
body.apd-m-forms .forminator-ui.forminator-custom-form .forminator-input:hover,
body.apd-m-forms .forminator-ui.forminator-custom-form .forminator-textarea:hover{border-color:var(--apd-f-line-h)!important}
body.apd-m-forms .forminator-ui.forminator-custom-form .forminator-input:focus,
body.apd-m-forms .forminator-ui.forminator-custom-form .forminator-textarea:focus{border-color:var(--apd-blue)!important;box-shadow:var(--apd-f-ring)!important}
body.apd-m-forms .forminator-ui.forminator-custom-form .forminator-input:-webkit-autofill{-webkit-box-shadow:0 0 0 40px #f2f7ff inset!important;-webkit-text-fill-color:var(--apd-ink)!important}

/* international phone field (intl-tel-input wraps the input in .iti with a flag button on the left) */
body.apd-m-forms .forminator-ui.forminator-custom-form .iti{display:block!important;width:100%!important}
body.apd-m-forms .forminator-ui.forminator-custom-form .iti .forminator-input{padding-left:58px!important}
body.apd-m-forms .forminator-ui.forminator-custom-form .iti--separate-dial-code .forminator-input,
body.apd-m-forms .forminator-ui.forminator-custom-form .iti--show-selected-dial-code .forminator-input{padding-left:96px!important}
body.apd-m-forms .forminator-ui.forminator-custom-form .iti__flag-container,
body.apd-m-forms .forminator-ui.forminator-custom-form .iti__country-container{top:0!important;bottom:0!important;padding:1.5px!important;z-index:2}
body.apd-m-forms .forminator-ui.forminator-custom-form .iti__selected-flag,
body.apd-m-forms .forminator-ui.forminator-custom-form .iti__selected-country{height:100%!important;padding:0 8px 0 14px!important;border-radius:11px 0 0 11px!important;background:transparent!important}
body.apd-m-forms .forminator-ui.forminator-custom-form .iti__selected-flag:hover,
body.apd-m-forms .forminator-ui.forminator-custom-form .iti__selected-country:hover{background:#f3f6fa!important}
body.apd-m-forms .iti__country-list,
body.apd-m-forms .iti__dropdown-content{border:1px solid var(--apd-line)!important;border-radius:12px!important;box-shadow:var(--apd-shadow-lg)!important;font:500 14.5px/1.3 var(--apd-font)!important;color:var(--apd-ink)!important;z-index:30!important}

/* errors */
body.apd-m-forms .forminator-ui.forminator-custom-form .forminator-has_error .forminator-input,
body.apd-m-forms .forminator-ui.forminator-custom-form .forminator-has_error .forminator-textarea{border-color:var(--apd-red)!important;background:#fffafa!important}
body.apd-m-forms .forminator-ui.forminator-custom-form .forminator-has_error .forminator-input:focus{box-shadow:0 0 0 4px rgba(244,15,15,.14)!important}
body.apd-m-forms .forminator-ui.forminator-custom-form .forminator-error-message{
  position:static!important;display:flex!important;align-items:center;gap:6px;width:auto!important;margin:8px 0 0!important;padding:0!important;border:0!important;background:none!important;
  color:var(--apd-red-600)!important;font:600 13.5px/1.35 var(--apd-font)!important;letter-spacing:0!important;text-transform:none!important;
}
body.apd-m-forms .forminator-ui.forminator-custom-form .forminator-error-message::before{content:"!";flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;width:17px;height:17px;border-radius:50%;background:var(--apd-red);color:#fff;font:800 11px/1 var(--apd-font)}
body.apd-m-forms .forminator-ui.forminator-custom-form .forminator-error-message:empty{display:none!important}

/* the two choice groups: large pills in a grid (2 per row; 4 per row when the form is wide) */
body.apd-m-forms .forminator-ui.forminator-custom-form .forminator-field-checkbox .forminator-field,
body.apd-m-forms .forminator-ui.forminator-custom-form .forminator-field-radio .forminator-field{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
body.apd-m-forms .forminator-ui.forminator-custom-form .forminator-field-checkbox .forminator-field > :not(label),
body.apd-m-forms .forminator-ui.forminator-custom-form .forminator-field-radio .forminator-field > :not(label){grid-column:1 / -1}
body.apd-m-forms .forminator-ui.forminator-custom-form .forminator-field-checkbox .forminator-field > .forminator-label,
body.apd-m-forms .forminator-ui.forminator-custom-form .forminator-field-radio .forminator-field > .forminator-label{margin-bottom:-2px!important}
body.apd-m-forms .forminator-ui.forminator-custom-form .forminator-field-checkbox .forminator-error-message,
body.apd-m-forms .forminator-ui.forminator-custom-form .forminator-field-radio .forminator-error-message{margin-top:0!important}
@container apdform (min-width:740px){
  body.apd-m-forms .forminator-ui.forminator-custom-form .forminator-field-checkbox .forminator-field,
  body.apd-m-forms .forminator-ui.forminator-custom-form .forminator-field-radio .forminator-field{grid-template-columns:repeat(4,minmax(0,1fr))}
}
body.apd-m-forms .forminator-ui.forminator-custom-form .forminator-checkbox,
body.apd-m-forms .forminator-ui.forminator-custom-form .forminator-radio{
  position:relative!important;display:flex!important;align-items:center;gap:10px;width:auto!important;min-width:0;min-height:52px;margin:0!important;padding:10px 12px 10px 14px!important;
  border:1.5px solid var(--apd-f-line)!important;border-radius:12px!important;background:#fff!important;cursor:pointer;user-select:none;pointer-events:auto!important;
  transition:border-color .15s,background-color .15s,box-shadow .15s;
}
body.apd-m-forms .forminator-ui.forminator-custom-form .forminator-checkbox input,
body.apd-m-forms .forminator-ui.forminator-custom-form .forminator-radio input{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;margin:0!important;opacity:0!important;cursor:pointer;z-index:1;pointer-events:auto!important}
body.apd-m-forms .forminator-ui.forminator-custom-form .forminator-checkbox:hover,
body.apd-m-forms .forminator-ui.forminator-custom-form .forminator-radio:hover{border-color:var(--apd-blue)!important;background:#f8fbff!important}
body.apd-m-forms .forminator-ui.forminator-custom-form .forminator-checkbox:has(input:checked),
body.apd-m-forms .forminator-ui.forminator-custom-form .forminator-radio:has(input:checked){border-color:var(--apd-blue)!important;background:var(--apd-blue-50)!important;box-shadow:inset 0 0 0 1px var(--apd-blue)}
body.apd-m-forms .forminator-ui.forminator-custom-form .forminator-checkbox:has(input:focus-visible),
body.apd-m-forms .forminator-ui.forminator-custom-form .forminator-radio:has(input:focus-visible){box-shadow:var(--apd-f-ring)}
body.apd-m-forms .forminator-ui.forminator-custom-form .forminator-has_error .forminator-checkbox:not(:has(input:checked)),
body.apd-m-forms .forminator-ui.forminator-custom-form .forminator-has_error .forminator-radio:not(:has(input:checked)){border-color:#f5a3a3!important}
/* the material design sets pointer-events:none on the whole option; the whole pill is clickable again above */
/* the tick box (also the state indicator when :has() is not supported) */
body.apd-m-forms .forminator-ui.forminator-custom-form .forminator-checkbox-box,
body.apd-m-forms .forminator-ui.forminator-custom-form .forminator-radio-bullet{
  position:static!important;flex:0 0 auto;display:block!important;width:20px!important;height:20px!important;margin:0!important;padding:0!important;
  border:1.5px solid var(--apd-f-line-h)!important;border-radius:6px!important;background:#fff center/14px 14px no-repeat!important;box-shadow:none!important;
  transition:background-color .15s,border-color .15s;
}
body.apd-m-forms .forminator-ui.forminator-custom-form .forminator-radio-bullet{border-radius:50%!important}
body.apd-m-forms .forminator-ui.forminator-custom-form .forminator-checkbox-box::before,
body.apd-m-forms .forminator-ui.forminator-custom-form .forminator-checkbox-box::after,
body.apd-m-forms .forminator-ui.forminator-custom-form .forminator-radio-bullet::before,
body.apd-m-forms .forminator-ui.forminator-custom-form .forminator-radio-bullet::after{display:none!important}
body.apd-m-forms .forminator-ui.forminator-custom-form .forminator-checkbox input:checked + .forminator-checkbox-box{border-color:var(--apd-blue)!important;background-color:var(--apd-blue)!important;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E")!important}
body.apd-m-forms .forminator-ui.forminator-custom-form .forminator-radio input:checked + .forminator-radio-bullet{border:6px solid var(--apd-blue)!important}
body.apd-m-forms .forminator-ui.forminator-custom-form .forminator-checkbox input:focus-visible + .forminator-checkbox-box{outline:3px solid rgba(0,104,255,.35);outline-offset:2px}
body.apd-m-forms .forminator-ui.forminator-custom-form .forminator-checkbox-label,
body.apd-m-forms .forminator-ui.forminator-custom-form .forminator-radio-label{min-width:0;margin:0!important;padding:0!important;color:var(--apd-ink)!important;font:600 15px/1.25 var(--apd-font)!important;letter-spacing:0!important;white-space:normal}
body.apd-m-forms .forminator-ui.forminator-custom-form .forminator-checkbox:has(input:checked) .forminator-checkbox-label,
body.apd-m-forms .forminator-ui.forminator-custom-form .forminator-radio:has(input:checked) .forminator-radio-label{color:var(--apd-blue-600)!important}

/* submit */
body.apd-m-forms .forminator-ui.forminator-custom-form .forminator-row-last .forminator-col,
body.apd-m-forms .forminator-ui.forminator-custom-form .forminator-row-last .forminator-field{width:100%!important;max-width:none!important;flex:1 1 100%!important}
body.apd-m-forms .forminator-ui.forminator-custom-form .forminator-button-submit{
  position:relative;display:flex!important;align-items:center;justify-content:center;gap:10px;width:100%!important;min-height:56px!important;margin:0!important;padding:14px 22px!important;
  border:0!important;border-radius:14px!important;background:var(--apd-red)!important;box-shadow:0 10px 24px rgba(244,15,15,.24)!important;
  color:#fff!important;font:700 17px/1.2 var(--apd-font)!important;letter-spacing:0!important;text-transform:none!important;cursor:pointer;
  transition:background-color .15s,transform .15s,box-shadow .15s!important;
}
body.apd-m-forms .forminator-ui.forminator-custom-form .forminator-button-submit::after{content:"";flex:0 0 auto;width:18px;height:18px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center/contain no-repeat;transition:transform .15s}
body.apd-m-forms .forminator-ui.forminator-custom-form .forminator-button-submit:hover{background:var(--apd-red-600)!important;transform:translateY(-1px);box-shadow:0 14px 28px rgba(244,15,15,.28)!important}
body.apd-m-forms .forminator-ui.forminator-custom-form .forminator-button-submit:hover::after{transform:translateX(3px)}
body.apd-m-forms .forminator-ui.forminator-custom-form .forminator-button-submit:active{transform:translateY(0)}
body.apd-m-forms .forminator-ui.forminator-custom-form .forminator-button-submit:focus-visible{outline:3px solid rgba(0,104,255,.5)!important;outline-offset:3px}
body.apd-m-forms .forminator-ui.forminator-custom-form .forminator-button-submit span{color:inherit!important;font:inherit!important}
body.apd-m-forms .forminator-ui.forminator-custom-form .forminator-button-submit span[aria-hidden="true"]:empty{display:none}
body.apd-m-forms .forminator-ui.forminator-custom-form .forminator-button-submit[disabled]{opacity:.7;cursor:wait;transform:none}

/* response message (success / server error) */
body.apd-m-forms .forminator-ui.forminator-custom-form .forminator-response-message{border-radius:12px!important;font:600 15px/1.45 var(--apd-font)!important}
body.apd-m-forms .forminator-ui.forminator-custom-form .forminator-response-message[aria-hidden="true"],
body.apd-m-forms .forminator-ui.forminator-custom-form .forminator-response-message:empty{display:none!important;margin:0!important}
body.apd-m-forms .forminator-ui.forminator-custom-form .forminator-response-message.forminator-show{display:block!important;margin:0 0 18px!important;padding:14px 16px!important}
body.apd-m-forms .forminator-ui.forminator-custom-form .forminator-response-message.forminator-error.forminator-show{border:1px solid #fbcaca!important;background:var(--apd-red-50)!important;color:var(--apd-red-600)!important}
body.apd-m-forms .forminator-ui.forminator-custom-form .forminator-response-message.forminator-success.forminator-show{border:1px solid #bfe3cb!important;background:#effaf3!important;color:var(--apd-green-600)!important}
body.apd-m-forms .forminator-ui.forminator-custom-form .forminator-response-message p{margin:0!important;color:inherit!important;font:inherit!important}

/* reCAPTCHA (invisible): its container takes no room; the fixed badge is Google's own */
body.apd-m-forms .forminator-ui.forminator-custom-form .forminator-g-recaptcha{height:0;margin:0!important;overflow:visible}

/* narrow forms: groups with 3+ options (the budget ranges) become one option per row, so labels never break */
@container apdform (max-width:369px){
  body.apd-m-forms .forminator-ui.forminator-custom-form .forminator-field-checkbox .forminator-field:has(> label:nth-of-type(3)),
  body.apd-m-forms .forminator-ui.forminator-custom-form .forminator-field-radio .forminator-field:has(> label:nth-of-type(3)){grid-template-columns:minmax(0,1fr);gap:8px}
}
@container apdform (max-width:360px){
  body.apd-m-forms .forminator-ui.forminator-custom-form .forminator-checkbox,
  body.apd-m-forms .forminator-ui.forminator-custom-form .forminator-radio{gap:8px;padding:8px 10px!important}
  body.apd-m-forms .forminator-ui.forminator-custom-form .forminator-checkbox-label,
  body.apd-m-forms .forminator-ui.forminator-custom-form .forminator-radio-label{font-size:14px!important}
}
/* ---------- finance page (module: finance) ----------
   Elementor container > .e-con-inner holds: heading, intro text, form widget, [apd-fin-info + apd-fin-faq
   inserted right after the form widget = body.apd-fin-after], spacer, lst_button, spacer.
   Without :has() the page is one tidy column: heading, intro, form, info, button, FAQ. */
body.apd-m-finance.apd-pg-finance{background:var(--apd-bg)!important}
body.apd-m-finance.apd-pg-finance .elementor-top-section,
body.apd-m-finance.apd-pg-finance [data-elementor-type="wp-page"] .e-con{background-color:transparent!important;background-image:none!important}
body.apd-m-finance.apd-pg-finance [data-elementor-type="wp-page"] > .e-con{padding:48px 20px 72px!important;margin:0!important}
body.apd-m-finance.apd-pg-finance [data-elementor-type="wp-page"] > .e-con > .e-con-inner{max-width:calc(var(--apd-wrap) - 40px)!important;width:100%!important;margin:0 auto!important;padding:0!important;gap:0!important}
body.apd-m-finance.apd-pg-finance [data-elementor-type="wp-page"] .elementor-widget-spacer{display:none!important}
body.apd-m-finance.apd-pg-finance [data-elementor-type="wp-page"] .elementor-widget-heading{margin:0!important;padding:0!important}
body.apd-m-finance.apd-pg-finance [data-elementor-type="wp-page"] .e-con-inner > .elementor-widget{margin-left:0!important;margin-right:0!important}

/* headline + intro: charcoal on light, brand blue as the only accent */
body.apd-m-finance.apd-pg-finance [data-elementor-type="wp-page"] .elementor-widget-heading .elementor-heading-title,
body.apd-m-finance.apd-pg-finance [data-elementor-type="wp-page"] .elementor-widget-heading .elementor-heading-title *{margin:0!important;padding:0!important;color:var(--apd-ink)!important;font:800 clamp(30px,3.6vw,44px)/1.1 var(--apd-font-h)!important;letter-spacing:-.025em!important;text-align:left!important;background:none!important;-webkit-text-fill-color:currentColor}
body.apd-m-finance.apd-pg-finance [data-elementor-type="wp-page"] .elementor-widget-heading .elementor-heading-title span{color:var(--apd-blue)!important}
body.apd-m-finance.apd-pg-finance [data-elementor-type="wp-page"] .elementor-widget-text-editor:not(:has(form)){margin-top:18px!important;padding:0!important;max-width:620px}
body.apd-m-finance.apd-pg-finance [data-elementor-type="wp-page"] .elementor-widget-text-editor:not(:has(form)),
body.apd-m-finance.apd-pg-finance [data-elementor-type="wp-page"] .elementor-widget-text-editor:not(:has(form)) p,
body.apd-m-finance.apd-pg-finance [data-elementor-type="wp-page"] .elementor-widget-text-editor:not(:has(form)) span{color:var(--apd-ink-2)!important;font:400 18px/1.6 var(--apd-font)!important;text-align:left!important;background:none!important}
body.apd-m-finance.apd-pg-finance [data-elementor-type="wp-page"] .elementor-widget-text-editor p{margin:0!important}
/* the lone "↓" line under the intro (it pointed at a form that is now beside / right below it) */
body.apd-m-finance.apd-pg-finance [data-elementor-type="wp-page"] .elementor-widget-text-editor:not(:has(form)) p:last-child:not(:first-child){display:none!important}

/* the widget that holds the form becomes a white card */
body.apd-m-finance.apd-pg-finance [data-elementor-type="wp-page"] .elementor-widget-text-editor:has(form){margin-top:28px!important;padding:28px!important;border:1px solid var(--apd-line)!important;border-radius:22px!important;background:#fff!important;box-shadow:var(--apd-shadow-lg)!important}
body.apd-m-finance.apd-pg-finance [data-elementor-type="wp-page"] .elementor-widget-text-editor:has(form)::before{content:"Cerere de finanțare";display:block;margin:0 0 4px;color:var(--apd-ink);font:800 23px/1.2 var(--apd-font-h);letter-spacing:-.015em}
body.apd-m-finance.apd-pg-finance [data-elementor-type="wp-page"] .elementor-widget-text-editor:has(form) p:empty{display:none!important}
body.apd-m-finance.apd-pg-finance [data-elementor-type="wp-page"] .elementor-widget-text-editor:has(form) form::before{content:"Durează 2 minute. Apoi te sună un consultant.";display:block;margin:0 0 22px;padding:0 0 18px;border-bottom:1px solid var(--apd-line);color:var(--apd-muted);font:500 15px/1.45 var(--apd-font)}

/* old theme button -> quiet secondary link to the listings */
body.apd-m-finance.apd-pg-finance [data-elementor-type="wp-page"] .elementor-widget-lst_button{margin-top:28px!important;width:auto!important}
body.apd-m-finance.apd-pg-finance [data-elementor-type="wp-page"] .elementor-widget-lst_button .listivo-button-wrapper{display:block!important;text-align:left!important}
body.apd-m-finance.apd-pg-finance [data-elementor-type="wp-page"] .elementor-widget-lst_button .listivo-button{display:inline-flex!important;align-items:center;justify-content:center;width:auto!important;min-height:50px!important;height:auto!important;margin:0!important;padding:0 22px!important;border:1.5px solid #cfd6e2!important;border-radius:12px!important;background:#fff!important;box-shadow:none!important;color:var(--apd-ink)!important;text-decoration:none!important;transition:border-color .15s,color .15s,transform .15s}
body.apd-m-finance.apd-pg-finance [data-elementor-type="wp-page"] .elementor-widget-lst_button .listivo-button::before,
body.apd-m-finance.apd-pg-finance [data-elementor-type="wp-page"] .elementor-widget-lst_button .listivo-button::after{display:none!important}
body.apd-m-finance.apd-pg-finance [data-elementor-type="wp-page"] .elementor-widget-lst_button .listivo-button span{display:inline-flex!important;align-items:center;font-size:0!important;line-height:0!important;color:inherit!important}
body.apd-m-finance.apd-pg-finance [data-elementor-type="wp-page"] .elementor-widget-lst_button .listivo-button span svg{display:none!important}
body.apd-m-finance.apd-pg-finance [data-elementor-type="wp-page"] .elementor-widget-lst_button .listivo-button span::before{content:"Vezi mașinile din stoc";font:600 15.5px/1.2 var(--apd-font)}
body.apd-m-finance.apd-pg-finance [data-elementor-type="wp-page"] .elementor-widget-lst_button .listivo-button span::after{content:"";width:18px;height:18px;margin-left:10px;background:currentColor;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center/contain no-repeat}
body.apd-m-finance.apd-pg-finance [data-elementor-type="wp-page"] .elementor-widget-lst_button .listivo-button:hover{border-color:var(--apd-blue)!important;color:var(--apd-blue)!important;transform:translateY(-1px)}
body.apd-m-finance.apd-pg-finance [data-elementor-type="wp-page"] .elementor-widget-lst_button .listivo-button:focus-visible{outline:3px solid rgba(0,104,255,.45)!important;outline-offset:2px}

/* inserted info column */
.apd-fin-info{width:100%;margin-top:40px}
.apd-fin__benefits{list-style:none;margin:0 0 40px;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.apd-fin__benefits li{display:flex;align-items:center;gap:12px;min-height:64px;margin:0;padding:12px 14px;border:1px solid var(--apd-line);border-radius:14px;background:#fff;color:var(--apd-ink);font:700 15px/1.3 var(--apd-font)}
.apd-fin__ico{flex:0 0 auto;display:flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:11px;background:var(--apd-blue-50);color:var(--apd-blue)}
.apd-fin-info .apd-h2,.apd-fin-faq .apd-h2{margin:0 0 20px;font-size:24px}
.apd-steps{list-style:none;margin:0 0 32px;padding:0;display:grid;gap:0}
.apd-step{position:relative;display:flex;gap:16px;margin:0;padding:0 0 22px}
.apd-step:last-child{padding-bottom:0}
.apd-step:not(:last-child)::before{content:"";position:absolute;left:17px;top:40px;bottom:4px;width:2px;border-radius:2px;background:var(--apd-blue-100)}
.apd-step__n{flex:0 0 auto;display:flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:50%;background:var(--apd-blue);color:#fff;font:700 15px/1 var(--apd-font-h)}
.apd-step__txt{min-width:0;padding-top:6px}
.apd-step__txt strong{display:block;color:var(--apd-ink);font:700 16.5px/1.3 var(--apd-font)}
.apd-step__txt span{display:block;margin-top:4px;color:var(--apd-ink-2);font:400 15.5px/1.55 var(--apd-font)}
.apd-fin__call{display:flex;align-items:center;gap:18px;padding:18px 20px;border-radius:18px;background:#111827;color:#fff}
.apd-fin__call img{flex:0 0 auto;width:76px;height:76px;border-radius:50%;object-fit:cover;background:#fff;border:3px solid rgba(255,255,255,.18)}
.apd-fin__call-t{margin:0 0 4px;color:#cbd5e1;font:500 15px/1.35 var(--apd-font)}
.apd-fin__call-n{display:flex;flex-wrap:wrap;gap:0 22px;margin:0}
.apd-fin__call-n a{display:inline-flex;align-items:center;min-height:44px;color:#fff!important;font:700 22px/1.2 var(--apd-font-h);letter-spacing:-.01em;text-decoration:none!important;white-space:nowrap}
.apd-fin__call-n a:hover{color:#9cc3ff!important}
.apd-fin__call-n a:focus-visible{outline:3px solid rgba(156,195,255,.7);outline-offset:2px;border-radius:6px}
.apd-fin__award{display:flex;align-items:flex-start;gap:10px;margin:18px 0 0;color:var(--apd-ink-2);font:600 14px/1.5 var(--apd-font)}
.apd-fin__award .apd-ico{margin-top:1px;color:var(--apd-blue)}

/* FAQ (native details/summary, no JS) */
.apd-fin-faq{width:100%;margin-top:56px;padding-top:48px;border-top:1px solid var(--apd-line);order:1}
.apd-fin-faq__head p{margin:0;color:var(--apd-ink-2);font:400 16px/1.6 var(--apd-font)}
.apd-fin-faq__head a{color:var(--apd-blue)!important;font-weight:700;text-decoration:none!important;white-space:nowrap}
.apd-fin-faq__head a:hover{text-decoration:underline!important}
.apd-faq{display:grid;gap:10px;margin-top:24px}
.apd-faq__item{border:1px solid var(--apd-line);border-radius:14px;background:#fff;transition:border-color .15s,box-shadow .15s}
.apd-faq__item[open]{border-color:#cfd6e2;box-shadow:var(--apd-shadow-sm)}
.apd-faq__item summary{position:relative;display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:58px;padding:14px 18px 14px 20px;color:var(--apd-ink);font:700 16.5px/1.35 var(--apd-font);cursor:pointer;list-style:none;border-radius:14px}
.apd-faq__item summary::-webkit-details-marker{display:none}
.apd-faq__item summary:hover{color:var(--apd-blue)}
.apd-faq__item summary:focus-visible{outline:3px solid rgba(0,104,255,.45);outline-offset:2px}
.apd-faq__ico{position:relative;flex:0 0 auto;width:30px;height:30px;border-radius:50%;background:var(--apd-blue-50)}
.apd-faq__ico::before,.apd-faq__ico::after{content:"";position:absolute;left:50%;top:50%;width:12px;height:2px;margin:-1px 0 0 -6px;border-radius:2px;background:var(--apd-blue);transition:transform .2s}
.apd-faq__ico::after{transform:rotate(90deg)}
.apd-faq__item[open] .apd-faq__ico::after{transform:rotate(0)}
.apd-faq__item p{margin:0;padding:0 20px 18px;color:var(--apd-ink-2);font:400 15.5px/1.6 var(--apd-font);max-width:68ch}

/* fallback placement (info inserted before the form): keep the form first on small screens */
body.apd-has-fininfo:not(.apd-fin-after) .apd-fin-info,
body.apd-has-fininfo:not(.apd-fin-after) .apd-fin-info ~ .elementor-element{order:1}
body.apd-has-fininfo:not(.apd-fin-after) .apd-fin-faq{order:2}

/* desktop: two columns (left: headline, intro, info, link; right: form card), FAQ full width below.
   The 1fr row absorbs the extra height when the form is taller, so the left rows never drift apart. */
@media (min-width:1000px){
  body.apd-m-finance.apd-pg-finance.apd-has-fininfo :is(.e-con,.e-con-inner):has(> .apd-fin-info){display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,480px);grid-template-rows:auto auto auto auto 1fr auto;column-gap:72px!important;row-gap:0!important;align-items:start;align-content:start}
  body.apd-m-finance.apd-pg-finance.apd-has-fininfo :is(.e-con,.e-con-inner):has(> .apd-fin-info) > *{grid-column:1;width:auto!important;max-width:none!important;min-width:0}
  body.apd-m-finance.apd-pg-finance.apd-has-fininfo :is(.e-con,.e-con-inner):has(> .apd-fin-info) > .elementor-widget-text-editor:not(:has(form)){max-width:620px!important}
  body.apd-m-finance.apd-pg-finance.apd-has-fininfo :is(.e-con,.e-con-inner):has(> .apd-fin-info) > .elementor-widget-text-editor:has(form){grid-column:2;grid-row:1 / 6;margin-top:0!important}
  body.apd-m-finance.apd-pg-finance.apd-has-fininfo :is(.e-con,.e-con-inner):has(> .apd-fin-info) > .elementor-widget-lst_button{justify-self:start}
  body.apd-m-finance.apd-pg-finance.apd-has-fininfo :is(.e-con,.e-con-inner):has(> .apd-fin-info) > .apd-fin-faq{grid-column:1 / -1;grid-row:6;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,2fr);column-gap:72px;align-items:start}
  .apd-fin-faq .apd-faq{margin-top:0}
  .apd-fin-info{margin-top:44px}
}
/* sticky form only when the whole card fits on screen under the sticky header */
@media (min-width:1000px) and (min-height:1000px){
  body.apd-m-finance.apd-pg-finance.apd-has-fininfo :is(.e-con,.e-con-inner):has(> .apd-fin-info) > .elementor-widget-text-editor:has(form){position:sticky;top:134px}
}
@media (max-width:999px){
  body.apd-m-finance.apd-pg-finance [data-elementor-type="wp-page"] > .e-con{padding:32px 20px 56px!important}
  body.apd-m-finance.apd-pg-finance [data-elementor-type="wp-page"] .elementor-widget-text-editor:has(form){max-width:640px;width:100%!important}
}
@media (max-width:600px){
  body.apd-m-finance.apd-pg-finance [data-elementor-type="wp-page"] > .e-con{padding:24px 16px 48px!important}
  body.apd-m-finance.apd-pg-finance [data-elementor-type="wp-page"] .elementor-widget-heading .elementor-heading-title,
  body.apd-m-finance.apd-pg-finance [data-elementor-type="wp-page"] .elementor-widget-heading .elementor-heading-title *{font-size:clamp(27px,7.4vw,32px)!important}
  body.apd-m-finance.apd-pg-finance [data-elementor-type="wp-page"] .elementor-widget-text-editor:not(:has(form)),
  body.apd-m-finance.apd-pg-finance [data-elementor-type="wp-page"] .elementor-widget-text-editor:not(:has(form)) p{font-size:16.5px!important}
  body.apd-m-finance.apd-pg-finance [data-elementor-type="wp-page"] .elementor-widget-text-editor:has(form){margin-top:22px!important;padding:20px 16px!important;border-radius:18px!important}
  body.apd-m-finance.apd-pg-finance [data-elementor-type="wp-page"] .elementor-widget-text-editor:has(form)::before{font-size:21px}
  body.apd-m-finance.apd-pg-finance [data-elementor-type="wp-page"] .elementor-widget-lst_button .listivo-button{display:flex!important;width:100%!important}
  .apd-fin-info{margin-top:36px}
  .apd-fin__benefits{grid-template-columns:1fr;gap:8px;margin-bottom:36px}
  .apd-fin__benefits li{min-height:56px}
  .apd-fin__call{align-items:flex-start;gap:14px;padding:16px}
  .apd-fin__call img{width:60px;height:60px}
  .apd-fin__call-n a{font-size:20px}
  .apd-fin-faq{margin-top:44px;padding-top:36px}
  .apd-faq__item summary{padding:12px 14px 12px 16px;font-size:16px}
  .apd-faq__item p{padding:0 16px 16px}
}
/* ---------- contact page (module: contact) ----------
   Page 6251: [apd-contact-top inserted after the header] -> section 1 (old title band + breadcrumbs)
   -> section 2 (heading, inner section: left column heading/text [+ apd-contact-next] | right column form)
   -> section 3 (lst_services_v4 address strip). */
body.apd-m-contact.apd-pg-contact .elementor-top-section{background-color:transparent!important;background-image:none!important}
/* old title band and the old address strip (address, phones, email) are replaced by the block at the top */
body.apd-m-contact.apd-pg-contact.apd-has-contacttop [data-elementor-type="wp-page"] > .elementor-top-section:first-child,
body.apd-m-contact.apd-pg-contact.apd-has-contacttop [data-elementor-type="wp-page"] .elementor-widget-lst_services_v4{display:none!important}
body.apd-m-contact.apd-pg-contact.apd-has-contacttop [data-elementor-type="wp-page"] > .elementor-top-section:has(.elementor-widget-lst_services_v4):not(:has(form)){display:none!important}
body.apd-m-contact.apd-pg-contact [data-elementor-type="wp-page"] .elementor-widget-spacer{display:none!important}

/* ---- top block ---- */
/* the form band runs into the space above the footer, so the page bg is the band colour */
body.apd-m-contact.apd-pg-contact.apd-has-contacttop{background:var(--apd-bg)!important}
.apd-contact-top{padding:48px 0 64px;background:#fff}
.apd-contact-top__grid{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);gap:56px;align-items:center}
.apd-contact-top .apd-h1{margin:16px 0 14px}
.apd-contact-top .apd-lead{max-width:540px;margin-bottom:28px}
.apd-contact-top__img img{display:block;width:100%;height:auto;aspect-ratio:5/4;object-fit:cover;object-position:0% 50%;border-radius:22px;box-shadow:var(--apd-shadow-lg)}
.apd-ccards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.apd-ccard{display:grid;grid-template-columns:auto minmax(0,1fr);column-gap:14px;align-items:center;min-height:76px;padding:14px 16px;border:1px solid var(--apd-line);border-radius:18px;background:#fff;text-decoration:none!important;transition:border-color .15s,box-shadow .15s,transform .15s}
.apd-ccard:hover{border-color:var(--apd-blue);box-shadow:var(--apd-shadow);transform:translateY(-2px)}
.apd-ccard--mail{grid-column:1 / -1}
.apd-ccard__ico{grid-row:1 / span 2;display:flex;align-items:center;justify-content:center;width:46px;height:46px;border-radius:13px;background:var(--apd-blue-50);color:var(--apd-blue)}
.apd-ccard--wa .apd-ccard__ico{background:#eaf7ef;color:var(--apd-green)}
.apd-ccard__t{align-self:end;color:var(--apd-muted);font:500 13px/1.25 var(--apd-font)}
.apd-ccard__v{align-self:start;margin-top:2px;color:var(--apd-ink);font:700 16px/1.3 var(--apd-font);overflow-wrap:anywhere}

/* ---- form section: light band, heading aligned with the page container ---- */
body.apd-m-contact.apd-pg-contact [data-elementor-type="wp-page"] > .elementor-top-section:has(form){background:var(--apd-bg)!important;border-top:1px solid var(--apd-line)}
body.apd-m-contact.apd-pg-contact [data-elementor-type="wp-page"] > .elementor-top-section:has(form){padding:64px 20px 24px!important;margin:0!important}
body.apd-m-contact.apd-pg-contact [data-elementor-type="wp-page"] > .elementor-top-section:has(form) > .elementor-container{max-width:calc(var(--apd-wrap) - 40px)!important;margin:0 auto!important}
body.apd-m-contact.apd-pg-contact [data-elementor-type="wp-page"] > .elementor-top-section:has(form) .elementor-element-populated{padding:0!important;margin:0!important;border:0!important;border-radius:0!important;background:none!important;box-shadow:none!important}
body.apd-m-contact.apd-pg-contact [data-elementor-type="wp-page"] > .elementor-top-section:has(form) .elementor-column{background:none!important}

body.apd-m-contact.apd-pg-contact [data-elementor-type="wp-page"] .elementor-widget-heading{margin:0 0 36px!important;padding:0!important}
body.apd-m-contact.apd-pg-contact [data-elementor-type="wp-page"] .elementor-widget-heading .elementor-heading-title,
body.apd-m-contact.apd-pg-contact [data-elementor-type="wp-page"] .elementor-widget-heading .elementor-heading-title *{margin:0!important;padding:0!important;color:var(--apd-ink)!important;font:800 clamp(26px,3vw,36px)/1.15 var(--apd-font-h)!important;letter-spacing:-.025em!important;text-align:left!important;background:none!important}
body.apd-m-contact.apd-pg-contact [data-elementor-type="wp-page"] .elementor-widget-heading .elementor-heading-title span{color:var(--apd-blue)!important}

/* inner section: left column (text + next steps) | right column (form card) */
body.apd-m-contact.apd-pg-contact [data-elementor-type="wp-page"] .elementor-inner-section{margin:0!important;padding:0!important}
body.apd-m-contact.apd-pg-contact [data-elementor-type="wp-page"] .elementor-inner-section > .elementor-container{display:grid!important;grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:64px;align-items:start;max-width:none!important}
body.apd-m-contact.apd-pg-contact [data-elementor-type="wp-page"] .elementor-inner-section .elementor-inner-column{width:auto!important;max-width:none!important;min-width:0}
/* the left heading repeats the H1 of the top block ("Suntem aici să te ajutăm") */
body.apd-m-contact.apd-pg-contact.apd-has-contacttop [data-elementor-type="wp-page"] .elementor-inner-section .elementor-widget-lst_heading_v2{display:none!important}
body.apd-m-contact.apd-pg-contact [data-elementor-type="wp-page"] .listivo-heading-v2__small-text{color:var(--apd-blue-600)!important;font:700 13px/1.2 var(--apd-font)!important;letter-spacing:.04em!important;text-transform:uppercase!important;background:none!important}
body.apd-m-contact.apd-pg-contact [data-elementor-type="wp-page"] .listivo-heading-v2__text,
body.apd-m-contact.apd-pg-contact [data-elementor-type="wp-page"] .listivo-heading-v2 h2{color:var(--apd-ink)!important;font:800 clamp(24px,2.6vw,30px)/1.15 var(--apd-font-h)!important;letter-spacing:-.02em!important;text-align:left!important}
body.apd-m-contact.apd-pg-contact [data-elementor-type="wp-page"] .elementor-widget-text-editor:not(:has(form)){margin:0!important;padding:0!important}
body.apd-m-contact.apd-pg-contact [data-elementor-type="wp-page"] .elementor-widget-text-editor:not(:has(form)),
body.apd-m-contact.apd-pg-contact [data-elementor-type="wp-page"] .elementor-widget-text-editor:not(:has(form)) p{margin:0!important;color:var(--apd-ink-2)!important;font:400 17px/1.65 var(--apd-font)!important;text-align:left!important}

.apd-contact-next{margin-top:32px;padding-top:32px;border-top:1px solid var(--apd-line)}
.apd-contact-next__t{margin:0 0 22px!important;color:var(--apd-ink)!important;font:700 20px/1.25 var(--apd-font-h)!important;letter-spacing:-.015em!important}
.apd-contact-next .apd-steps{margin:0}

/* form card */
body.apd-m-contact.apd-pg-contact [data-elementor-type="wp-page"] .elementor-widget-text-editor:has(form){margin:0!important;padding:32px!important;border:1px solid var(--apd-line)!important;border-radius:22px!important;background:#fff!important;box-shadow:var(--apd-shadow-lg)!important}
body.apd-m-contact.apd-pg-contact [data-elementor-type="wp-page"] .elementor-widget-text-editor:has(form) p:empty{display:none!important}

@media (max-width:999px){
  body.apd-m-contact.apd-pg-contact [data-elementor-type="wp-page"] .elementor-inner-section > .elementor-container{grid-template-columns:minmax(0,1fr);gap:36px}
  /* phone/tablet: the form right under the heading, the explanation after it */
  body.apd-m-contact.apd-pg-contact [data-elementor-type="wp-page"] .elementor-inner-section .elementor-inner-column:has(form){order:-1}
  body.apd-m-contact.apd-pg-contact [data-elementor-type="wp-page"] .elementor-widget-text-editor:has(form){max-width:680px}
}
@media (max-width:900px){
  .apd-contact-top{padding:28px 0 48px}
  .apd-contact-top__grid{grid-template-columns:1fr;gap:32px}
}
@media (max-width:600px){
  .apd-contact-top{padding:24px 0 40px}
  .apd-contact-top .apd-wrap{padding:0 16px}
  .apd-ccards{grid-template-columns:1fr;gap:10px}
  .apd-ccard{min-height:68px}
  .apd-contact-top__img img{aspect-ratio:4/3;border-radius:18px}
  body.apd-m-contact.apd-pg-contact [data-elementor-type="wp-page"] > .elementor-top-section:has(form){padding:44px 16px 40px!important}
  body.apd-m-contact.apd-pg-contact [data-elementor-type="wp-page"] .elementor-widget-heading{margin-bottom:24px!important}
  body.apd-m-contact.apd-pg-contact [data-elementor-type="wp-page"] .elementor-widget-text-editor:has(form){padding:20px 16px!important;border-radius:18px!important}
}
/* ---------- home page (module: home) ---------- */
.apd-hero{padding:48px 0 40px;background:linear-gradient(180deg,#fff 0%,var(--apd-bg) 100%)}
.apd-hero__in{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);gap:56px;align-items:center}
.apd-hero__h1{margin:16px 0 16px;color:var(--apd-ink);font:800 clamp(34px,4.6vw,56px)/1.05 var(--apd-font-h);letter-spacing:-.03em}
.apd-hero__lead{margin:0 0 26px;max-width:560px;color:var(--apd-ink-2);font:400 18px/1.6 var(--apd-font)}
.apd-hero__btns{display:flex;flex-wrap:wrap;gap:12px;margin:0 0 34px}
.apd-stats{display:grid;grid-template-columns:repeat(4,auto);justify-content:start;gap:12px 34px}
.apd-stat{display:flex;flex-direction:column;gap:5px}
.apd-stat__n{color:var(--apd-ink);font:800 28px/1 var(--apd-font-h);letter-spacing:-.02em}
.apd-stat__l{color:var(--apd-muted);font:500 13.5px/1.2 var(--apd-font)}
.apd-hero__media{position:relative}
.apd-hero__img{display:block;width:100%;height:auto;aspect-ratio:9/8;object-fit:cover;border-radius:22px;box-shadow:var(--apd-shadow-lg)}
.apd-hero__award{position:absolute;left:-22px;bottom:26px;display:flex;align-items:center;gap:12px;max-width:290px;padding:12px 16px 12px 12px;border-radius:16px;background:#fff;box-shadow:var(--apd-shadow-lg);color:var(--apd-ink-2);font:500 12.5px/1.35 var(--apd-font)}
.apd-hero__award img{flex:0 0 auto;width:74px;height:auto;border-radius:8px}
.apd-hero__award strong{display:block;margin-bottom:2px;color:var(--apd-ink);font:800 16px/1.1 var(--apd-font-h)}

.apd-usps{padding:8px 0 44px;background:var(--apd-bg)}
.apd-usps__grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.apd-usp{display:flex;align-items:flex-start;gap:13px;padding:18px;border:1px solid var(--apd-line);border-radius:18px;background:#fff}
.apd-usp__ico{flex:0 0 auto;display:flex;align-items:center;justify-content:center;width:48px;height:48px;border-radius:14px;background:var(--apd-blue-50);color:var(--apd-blue)}
.apd-usp__txt strong{display:block;color:var(--apd-ink);font:700 16px/1.25 var(--apd-font-h);letter-spacing:-.01em}
.apd-usp__txt span{display:block;margin-top:4px;color:var(--apd-muted);font:400 14px/1.45 var(--apd-font)}

/* ---------- existing home sections, cleaned up ----------
   Scope: the home page document only. Sections are found by the widget they hold,
   so this keeps working if Elementor IDs change. */
/* empty theme section that only held the space under the old transparent header */
body.apd-m-home.apd-has-hero [data-elementor-type="wp-page"] > .elementor-top-section:not(:has(.elementor-widget)){display:none!important}
/* spacing comes from the sections, not from Elementor spacer widgets */
body.apd-m-home.apd-pg-home [data-elementor-type="wp-page"] .elementor-widget-spacer{display:none!important}
body.apd-m-home.apd-pg-home [data-elementor-type="wp-page"] > .elementor-top-section{padding:var(--apd-sec-y) 0!important;margin:0!important;background:#fff!important;background-image:none!important;border:0!important}
body.apd-m-home.apd-pg-home [data-elementor-type="wp-page"] > .elementor-top-section > .elementor-background-overlay{display:none!important}
body.apd-m-home.apd-pg-home [data-elementor-type="wp-page"] > .elementor-top-section:has(.elementor-widget-lst_services_v9),
body.apd-m-home.apd-pg-home [data-elementor-type="wp-page"] > .elementor-top-section:has(.elementor-widget-lst_listing_list_with_tabs_v2){background:var(--apd-bg)!important}
body.apd-m-home.apd-pg-home [data-elementor-type="wp-page"] > .elementor-top-section > .elementor-container{max-width:var(--apd-wrap)!important;padding:0 var(--apd-gutter)!important}
body.apd-m-home.apd-pg-home [data-elementor-type="wp-page"] .elementor-inner-section > .elementor-container{max-width:none!important;padding:0!important}
body.apd-m-home.apd-pg-home [data-elementor-type="wp-page"] .elementor-top-section .elementor-element-populated{padding:0!important;margin:0!important}
body.apd-m-home.apd-pg-home [data-elementor-type="wp-page"] .elementor-inner-section{padding:0!important;margin:0!important}

/* section headings: one style everywhere */
body.apd-m-home.apd-pg-home [data-elementor-type="wp-page"] .listivo-heading-v2__small-text{display:inline-flex!important;align-items:center;min-height:0!important;margin:0 0 14px!important;padding:7px 12px!important;border-radius:999px!important;background:var(--apd-blue-50)!important;color:var(--apd-blue-600)!important;font:700 12.5px/1.2 var(--apd-font)!important;letter-spacing:.04em!important;text-transform:uppercase!important;max-width:100%;box-sizing:border-box}
body.apd-m-home.apd-pg-home [data-elementor-type="wp-page"] .listivo-heading-v2__text{margin:0!important;color:var(--apd-ink)!important;font:800 clamp(28px,3.3vw,40px)/1.14 var(--apd-font-h)!important;letter-spacing:-.025em!important;max-width:820px}
body.apd-m-home.apd-pg-home [data-elementor-type="wp-page"] .listivo-heading-v2__text span{color:var(--apd-blue)!important}
body.apd-m-home.apd-pg-home [data-elementor-type="wp-page"] .elementor-widget-lst_heading_v2{margin-bottom:40px!important}
body.apd-m-home.apd-pg-home [data-elementor-type="wp-page"] .elementor-widget-lst_heading_v2 br{display:none}

/* "Cum funcționează?": four numbered step cards + two buttons */
body.apd-m-home.apd-pg-home .elementor-widget-wrap:has(> .e-con .elementor-widget-icon-box){display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;counter-reset:apdstep}
body.apd-m-home.apd-pg-home .elementor-widget-wrap:has(> .e-con .elementor-widget-icon-box) > .elementor-widget-lst_heading_v2{grid-column:1/-1;margin-bottom:24px!important}
body.apd-m-home.apd-pg-home .elementor-widget-wrap:has(> .e-con .elementor-widget-icon-box) > .e-con{counter-increment:apdstep;align-self:stretch!important;--width:auto;width:auto!important;max-width:none!important;margin:0!important;padding:22px 20px 24px!important;border:1px solid var(--apd-line)!important;border-radius:18px!important;background:#fff!important;box-shadow:var(--apd-shadow-sm);transition:box-shadow .2s,transform .2s}
body.apd-m-home.apd-pg-home .elementor-widget-wrap:has(> .e-con .elementor-widget-icon-box) > .e-con:hover{box-shadow:var(--apd-shadow);transform:translateY(-2px)}
body.apd-m-home.apd-pg-home .elementor-widget-wrap:has(> .e-con .elementor-widget-icon-box) > .e-con > .e-con-inner{max-width:none!important;padding:0!important;margin:0!important;width:100%!important}
body.apd-m-home.apd-pg-home .elementor-widget-icon-box{width:100%!important;margin:0!important}
body.apd-m-home.apd-pg-home .elementor-widget-icon-box .elementor-icon-box-wrapper{display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:16px;text-align:left!important}
body.apd-m-home.apd-pg-home .elementor-widget-icon-box .elementor-icon-box-icon{margin:0!important;display:flex!important}
body.apd-m-home.apd-pg-home .elementor-widget-icon-box .elementor-icon{display:flex!important;align-items:center;justify-content:center;width:52px;height:52px;border-radius:14px;background:var(--apd-blue-50)!important;color:var(--apd-blue)!important;fill:var(--apd-blue)!important;font-size:22px!important;border:0!important}
body.apd-m-home.apd-pg-home .elementor-widget-icon-box .elementor-icon i,
body.apd-m-home.apd-pg-home .elementor-widget-icon-box .elementor-icon svg{width:24px;height:24px;font-size:22px;color:var(--apd-blue)!important;fill:var(--apd-blue)!important}
body.apd-m-home.apd-pg-home .elementor-widget-icon-box .elementor-icon-box-content::before{content:"Pasul " counter(apdstep);display:block;margin-bottom:6px;color:var(--apd-blue);font:700 12px/1 var(--apd-font);letter-spacing:.06em;text-transform:uppercase}
body.apd-m-home.apd-pg-home .elementor-widget-icon-box .elementor-icon-box-title{margin:0!important;color:var(--apd-ink)!important;font:700 16.5px/1.35 var(--apd-font-h)!important;letter-spacing:-.01em!important}
body.apd-m-home.apd-pg-home .elementor-widget-icon-box .elementor-icon-box-title *{color:inherit!important;font:inherit!important}
body.apd-m-home.apd-pg-home .elementor-widget-wrap:has(> .e-con .elementor-widget-icon-box) > .elementor-widget-lst_button{grid-column:span 2;margin:20px 0 0!important}
body.apd-m-home.apd-pg-home .elementor-widget-wrap:has(> .e-con .elementor-widget-icon-box) > .elementor-widget-lst_button .listivo-button-wrapper{justify-content:flex-end!important}
body.apd-m-home.apd-pg-home .elementor-widget-wrap:has(> .e-con .elementor-widget-icon-box) > .elementor-widget-lst_button ~ .elementor-widget-lst_button .listivo-button-wrapper{justify-content:flex-start!important}
body.apd-m-home.apd-pg-home .elementor-widget-wrap:has(> .e-con .elementor-widget-icon-box) > .elementor-widget-lst_button ~ .elementor-widget-lst_button .listivo-button{background:#fff!important;color:var(--apd-ink)!important;box-shadow:inset 0 0 0 1.5px #cfd6e2!important}
body.apd-m-home.apd-pg-home .elementor-widget-wrap:has(> .e-con .elementor-widget-icon-box) > .elementor-widget-lst_button ~ .elementor-widget-lst_button .listivo-button:hover{color:var(--apd-blue)!important;box-shadow:inset 0 0 0 1.5px var(--apd-blue)!important}
body.apd-m-home.apd-pg-home [data-elementor-type="wp-page"] .listivo-button{min-height:52px;padding:14px 24px!important}

/* services tiles: white cards, blue round icons (the source icons are dark pictograms,
   inverted and screened onto the blue so they read as white; without this they showed
   as empty white circles on the old kit colours) */
body.apd-m-home.apd-pg-home .listivo-services-v9{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px!important}
body.apd-m-home.apd-pg-home .listivo-service-v9{max-width:none!important;align-items:flex-start!important;padding:26px 22px 24px!important;border:1px solid var(--apd-line);border-radius:18px!important;background:#fff!important;box-shadow:var(--apd-shadow-sm);transition:box-shadow .2s,transform .2s}
body.apd-m-home.apd-pg-home .listivo-service-v9:hover{box-shadow:var(--apd-shadow);transform:translateY(-2px)}
body.apd-m-home.apd-pg-home .listivo-service-v9__icon{width:56px!important;height:56px!important;border-radius:16px!important;background:var(--apd-blue)!important;isolation:isolate;overflow:hidden}
body.apd-m-home.apd-pg-home .listivo-service-v9__icon img{height:30px!important;width:auto!important;max-width:36px;object-fit:contain;filter:grayscale(1) invert(1) contrast(1.4);mix-blend-mode:screen}
body.apd-m-home.apd-pg-home .listivo-service-v9__label{margin-top:18px!important;color:var(--apd-ink)!important;font:700 18px/1.25 var(--apd-font-h)!important;letter-spacing:-.015em!important;text-align:left!important}
body.apd-m-home.apd-pg-home .listivo-service-v9__text{margin-top:6px!important;color:var(--apd-muted)!important;opacity:1!important;font:400 15px/1.5 var(--apd-font)!important;text-align:left!important}

/* "De ce noi?" */
body.apd-m-home.apd-pg-home .listivo-content-v8{align-items:center}
@media (min-width:1025px){body.apd-m-home.apd-pg-home .listivo-content-v8__image-wrapper{max-width:520px!important;margin-right:72px!important}}
body.apd-m-home.apd-pg-home .listivo-content-v8__image{max-width:520px!important}
body.apd-m-home.apd-pg-home .listivo-content-v8__image img{border-radius:22px;box-shadow:var(--apd-shadow-lg);aspect-ratio:4/3;object-fit:cover}
/* the red "sale sticker" starburst read as a discount shop: now a calm white badge card */
body.apd-m-home.apd-pg-home .listivo-award-box-v4{width:auto!important;height:auto!important;padding:16px 20px!important;border-radius:16px;background:#fff;box-shadow:var(--apd-shadow-lg)}
body.apd-m-home.apd-pg-home .listivo-award-box-v4__background{display:none!important}
body.apd-m-home.apd-pg-home .listivo-award-box-v4__content{position:static!important;display:flex;flex-direction:column;align-items:flex-start;transform:none!important;inset:auto!important}
body.apd-m-home.apd-pg-home .listivo-award-box-v4__main{color:var(--apd-blue)!important;font:800 28px/1 var(--apd-font-h)!important;letter-spacing:-.02em!important}
body.apd-m-home.apd-pg-home .listivo-award-box-v4__text{margin-top:6px;color:var(--apd-ink-2)!important;font:600 13.5px/1.25 var(--apd-font)!important;text-align:left;max-width:none;white-space:nowrap}
body.apd-m-home.apd-pg-home .listivo-content-v8__text{margin-top:18px!important;color:var(--apd-ink-2)!important;font:400 17px/1.65 var(--apd-font)!important}
body.apd-m-home.apd-pg-home .listivo-content-v8__features{margin-top:22px!important;gap:12px!important}
body.apd-m-home.apd-pg-home .listivo-content-v8__feature{min-height:28px;padding-left:40px!important;color:var(--apd-ink)!important;font:600 16px/1.35 var(--apd-font)!important;letter-spacing:0;text-transform:lowercase}
/* the theme text is typed in capitals: show it in sentence case */
body.apd-m-home.apd-pg-home .listivo-content-v8__feature{display:block!important;position:relative;padding-top:3px!important}
body.apd-m-home.apd-pg-home .listivo-content-v8__feature .listivo-content-v8__check{top:0!important}
body.apd-m-home.apd-pg-home .listivo-content-v8__feature::first-letter{text-transform:uppercase}
body.apd-m-home.apd-pg-home .listivo-content-v8__check{width:28px!important;height:28px!important;background:var(--apd-blue-50)!important}
body.apd-m-home.apd-pg-home .listivo-content-v8__check path{fill:var(--apd-blue)!important}
body.apd-m-home.apd-pg-home .listivo-content-v8__button{margin-top:28px!important}
body.apd-m-home.apd-pg-home .listivo-content-v8 .listivo-heading-v2__text{font-size:clamp(26px,2.8vw,36px)!important}

/* car list with tabs: section chrome only (cards are styled elsewhere) */
body.apd-m-home.apd-pg-home .listivo-listing-list-with-tabs-v2__head{display:flex!important;align-items:flex-end!important;justify-content:space-between!important;gap:20px 32px;flex-wrap:wrap;margin-bottom:32px!important}
body.apd-m-home.apd-pg-home .listivo-listing-list-with-tabs-v2__left{flex:1 1 280px;margin:0!important}
body.apd-m-home.apd-pg-home .listivo-listing-list-with-tabs-v2__right{height:auto!important;display:flex!important;align-items:center!important;gap:16px;flex-wrap:wrap;margin:0!important;max-width:100%}
body.apd-m-home.apd-pg-home .listivo-listing-list-with-tabs-v2__tabs{display:flex!important;gap:8px!important;flex-wrap:wrap;margin:0!important;padding:0!important}
body.apd-m-home.apd-pg-home .listivo-listing-list-with-tabs-v2 .listivo-tab-v2{height:42px!important;margin:0!important;padding:0 18px!important;border:1.5px solid var(--apd-line)!important;border-radius:999px!important;background:#fff!important;color:var(--apd-ink-2)!important;font:600 14.5px/1 var(--apd-font)!important;cursor:pointer;transition:border-color .15s,color .15s,background-color .15s}
body.apd-m-home.apd-pg-home .listivo-listing-list-with-tabs-v2 .listivo-tab-v2:hover{border-color:var(--apd-blue)!important;color:var(--apd-blue)!important}
body.apd-m-home.apd-pg-home .listivo-listing-list-with-tabs-v2 .listivo-tab-v2.listivo-tab-v2--active{border-color:var(--apd-blue)!important;background:var(--apd-blue)!important;color:#fff!important}
body.apd-m-home.apd-pg-home .listivo-listing-list-with-tabs-v2__button{margin:0!important}
body.apd-m-home.apd-pg-home .listivo-listing-list-with-tabs-v2__list{margin-top:0!important}
body.apd-m-home.apd-pg-home .listivo-listing-list-with-tabs-v2__button .listivo-button{min-height:42px!important;padding:10px 18px!important;background:#fff!important;color:var(--apd-ink)!important;box-shadow:inset 0 0 0 1.5px #cfd6e2!important;font-size:14.5px!important}
body.apd-m-home.apd-pg-home .listivo-listing-list-with-tabs-v2__button .listivo-button:hover{color:var(--apd-blue)!important;box-shadow:inset 0 0 0 1.5px var(--apd-blue)!important}

/* testimonials */
body.apd-m-home.apd-pg-home .listivo-testimonials-v2{align-items:flex-start}
body.apd-m-home.apd-pg-home .listivo-testimonials-v2__content{padding-top:0!important;max-width:300px!important}
body.apd-m-home.apd-pg-home .listivo-testimonials-v2__navigation{margin-top:28px!important}
body.apd-m-home.apd-pg-home .listivo-box-arrow{width:48px!important;height:48px!important;border:1.5px solid var(--apd-line);border-radius:12px!important;background:#fff!important;transition:border-color .15s,background-color .15s}
body.apd-m-home.apd-pg-home .listivo-box-arrow::before{display:none!important}
body.apd-m-home.apd-pg-home .listivo-box-arrow svg path{fill:var(--apd-ink)!important}
body.apd-m-home.apd-pg-home .listivo-box-arrow:not(.listivo-box-arrow--disabled):hover{border-color:var(--apd-blue);background:var(--apd-blue)!important}
body.apd-m-home.apd-pg-home .listivo-box-arrow:not(.listivo-box-arrow--disabled):hover svg path{fill:#fff!important}
body.apd-m-home.apd-pg-home .listivo-box-arrow--disabled{opacity:.4!important}
body.apd-m-home.apd-pg-home .listivo-box-arrow:last-child{margin-left:10px!important}
body.apd-m-home.apd-pg-home .listivo-testimonial-v2{border:1px solid var(--apd-line)!important;border-radius:18px!important;background:#fff!important;box-shadow:var(--apd-shadow-sm)}
body.apd-m-home.apd-pg-home .listivo-testimonial-v2:hover{box-shadow:var(--apd-shadow)!important;border-color:var(--apd-line)!important}
body.apd-m-home.apd-pg-home .listivo-testimonial-v2__content{padding:26px 26px 22px!important}
body.apd-m-home.apd-pg-home .listivo-testimonial-v2__heading{color:var(--apd-ink)!important;font:700 19px/1.25 var(--apd-font-h)!important;letter-spacing:-.015em!important}
body.apd-m-home.apd-pg-home .listivo-testimonial-v2__stars{margin-top:12px!important;gap:2px}
body.apd-m-home.apd-pg-home .listivo-testimonial-v2__star svg path{fill:var(--apd-red)!important}
body.apd-m-home.apd-pg-home .listivo-testimonial-v2__text{margin-top:14px!important;color:var(--apd-ink-2)!important;font:400 15px/1.65 var(--apd-font)!important}
body.apd-m-home.apd-pg-home .listivo-testimonial-v2__bottom{padding:16px 26px!important;border-top:1px solid var(--apd-line)!important}
body.apd-m-home.apd-pg-home .listivo-testimonial-v2__icon{border-color:var(--apd-line)!important;background:#fff!important}
body.apd-m-home.apd-pg-home .listivo-testimonial-v2__icon svg path{fill:var(--apd-blue)!important}
body.apd-m-home.apd-pg-home .listivo-testimonial-v2__avatar{background:var(--apd-blue-50)!important}
body.apd-m-home.apd-pg-home .listivo-testimonial-v2__avatar svg path{fill:var(--apd-blue)!important}
body.apd-m-home.apd-pg-home .listivo-testimonial-v2__name{color:var(--apd-ink)!important;font:700 15px/1.2 var(--apd-font-h)!important;letter-spacing:0!important}
body.apd-m-home.apd-pg-home .listivo-testimonial-v2__job-title{color:var(--apd-muted)!important;font:500 13.5px/1.3 var(--apd-font)!important}

@media (max-width:1024px){
  .apd-usps__grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .apd-hero__in{gap:36px}
  .apd-hero__award{left:12px;bottom:12px}
}
@media (max-width:820px){
  .apd-hero{padding:28px 0 28px}
  .apd-hero__in{grid-template-columns:1fr}
  .apd-hero__btns .apd-btn{flex:1 1 100%}
  .apd-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 20px}
  .apd-hero__img{aspect-ratio:4/3;border-radius:20px}
}
@media (max-width:820px){
  /* phones/tablets: the real lot photo comes right after the two buttons (still in the first screen),
     the numbers follow under it */
  .apd-hero__in{gap:0}
  .apd-hero__txt{display:contents}
  .apd-hero__txt > .apd-eyebrow{justify-self:start}
  .apd-hero__btns{margin-bottom:20px}
  .apd-hero__media{order:1;margin-bottom:22px}
  .apd-stats{order:2}
}
@media (max-width:560px){
  .apd-usps__grid{grid-template-columns:1fr}
  .apd-hero__lead{font-size:16.5px;margin-bottom:22px}
  .apd-hero__img{aspect-ratio:16/10;border-radius:16px}
  .apd-hero__award{left:10px;bottom:10px;max-width:calc(100% - 20px);gap:10px;padding:8px 12px 8px 8px;border-radius:12px;font-size:13px;line-height:1.3}
  .apd-hero__award img{width:46px;border-radius:6px}
  .apd-hero__award strong{font-size:14px}
}

/* existing home sections: tablet + phone */
@media (max-width:1024px){
  body.apd-m-home.apd-pg-home .elementor-widget-wrap:has(> .e-con .elementor-widget-icon-box),
  body.apd-m-home.apd-pg-home .listivo-services-v9{grid-template-columns:repeat(2,minmax(0,1fr))}
  body.apd-m-home.apd-pg-home .listivo-content-v8__image-wrapper{max-width:640px!important;margin:0 auto!important}
  body.apd-m-home.apd-pg-home .listivo-content-v8__image{max-width:640px!important}
  body.apd-m-home.apd-pg-home .listivo-content-v8__content{margin-top:56px!important;max-width:640px;margin-left:auto;margin-right:auto}
  body.apd-m-home.apd-pg-home .listivo-testimonials-v2__content{max-width:none!important;margin:0 0 8px!important;align-items:flex-start!important}
  body.apd-m-home.apd-pg-home .listivo-testimonials-v2__heading .listivo-heading-v2{align-items:flex-start!important}
  body.apd-m-home.apd-pg-home .listivo-testimonials-v2__heading .listivo-heading-v2__text{text-align:left!important}
  body.apd-m-home.apd-pg-home .elementor-widget-wrap:has(> .e-con .elementor-widget-icon-box) > .elementor-widget-lst_button{grid-column:span 1}
  body.apd-m-home.apd-pg-home .listivo-listing-list-with-tabs-v2__head{gap:16px;flex-direction:column!important;flex-wrap:nowrap!important;justify-content:flex-start!important;align-items:stretch!important}
  body.apd-m-home.apd-pg-home .listivo-listing-list-with-tabs-v2__left,body.apd-m-home.apd-pg-home .listivo-listing-list-with-tabs-v2__right{flex:0 0 auto!important;width:100%;height:auto!important}
  body.apd-m-home.apd-pg-home .listivo-listing-list-with-tabs-v2__left .listivo-heading-v2{align-items:flex-start!important}
  body.apd-m-home.apd-pg-home .listivo-listing-list-with-tabs-v2__left .listivo-heading-v2__text{text-align:left!important}
}
@media (min-width:561px) and (max-width:820px){.apd-hero__img{aspect-ratio:16/9}}
@media (max-width:767px){
  body.apd-m-home.apd-pg-home [data-elementor-type="wp-page"] .elementor-widget-lst_heading_v2{margin-bottom:28px!important}
  body.apd-m-home.apd-pg-home .elementor-widget-wrap:has(> .e-con .elementor-widget-icon-box),
  body.apd-m-home.apd-pg-home .listivo-services-v9{grid-template-columns:1fr;gap:12px!important}
  body.apd-m-home.apd-pg-home .elementor-widget-wrap:has(> .e-con .elementor-widget-icon-box) > .elementor-widget-lst_heading_v2{margin-bottom:16px!important}
  body.apd-m-home.apd-pg-home .elementor-widget-wrap:has(> .e-con .elementor-widget-icon-box) > .e-con{padding:16px!important}
  body.apd-m-home.apd-pg-home .elementor-widget-icon-box .elementor-icon-box-wrapper{flex-direction:row!important;align-items:center!important;gap:14px}
  body.apd-m-home.apd-pg-home .elementor-widget-icon-box .elementor-icon{width:48px;height:48px}
  body.apd-m-home.apd-pg-home .elementor-widget-icon-box .elementor-icon-box-content{flex:1;min-width:0}
  body.apd-m-home.apd-pg-home .elementor-widget-icon-box .elementor-icon-box-content::before{margin-bottom:4px}
  body.apd-m-home.apd-pg-home .elementor-widget-icon-box .elementor-icon-box-title{font-size:15.5px!important}
  body.apd-m-home.apd-pg-home .elementor-widget-wrap:has(> .e-con .elementor-widget-icon-box) > .elementor-widget-lst_button{grid-column:1/-1;margin:4px 0 0!important}
  body.apd-m-home.apd-pg-home .elementor-widget-wrap:has(> .e-con .elementor-widget-icon-box) > .elementor-widget-lst_button + .elementor-widget-lst_button{margin-top:0!important}
  body.apd-m-home.apd-pg-home .elementor-widget-wrap:has(> .e-con .elementor-widget-icon-box) > .elementor-widget-lst_button .listivo-button{width:100%}
  body.apd-m-home.apd-pg-home .listivo-service-v9{display:grid!important;grid-template-columns:52px minmax(0,1fr);column-gap:14px;padding:16px!important;align-items:center!important}
  body.apd-m-home.apd-pg-home .listivo-service-v9__icon{grid-row:span 2;width:52px!important;height:52px!important}
  body.apd-m-home.apd-pg-home .listivo-service-v9__label{margin-top:0!important;font-size:16.5px!important}
  body.apd-m-home.apd-pg-home .listivo-service-v9__text{margin-top:2px!important;font-size:14.5px!important}
  body.apd-m-home.apd-pg-home .listivo-content-v8__content{margin-top:48px!important}
  body.apd-m-home.apd-pg-home .listivo-content-v8__award{right:12px!important;bottom:-28px!important}
  body.apd-m-home.apd-pg-home .listivo-award-box-v4{padding:12px 16px!important}
  body.apd-m-home.apd-pg-home .listivo-award-box-v4__main{font-size:24px!important}
  body.apd-m-home.apd-pg-home .listivo-award-box-v4__text{font-size:13px!important}
  body.apd-m-home.apd-pg-home .listivo-content-v8__button .listivo-button{width:100%}
  body.apd-m-home.apd-pg-home .listivo-listing-list-with-tabs-v2__head{margin-bottom:22px!important}
  body.apd-m-home.apd-pg-home .listivo-listing-list-with-tabs-v2__right{width:100%;min-width:0}
  body.apd-m-home.apd-pg-home .listivo-listing-list-with-tabs-v2__tabs{flex-wrap:nowrap!important;overflow-x:auto;width:100%;min-width:0;scrollbar-width:none;-webkit-overflow-scrolling:touch;padding-bottom:2px}
  body.apd-m-home.apd-pg-home .listivo-listing-list-with-tabs-v2__tabs::-webkit-scrollbar{display:none}
  body.apd-m-home.apd-pg-home .listivo-listing-list-with-tabs-v2 .listivo-tab-v2{flex:0 0 auto;height:44px!important}
  body.apd-m-home.apd-pg-home .listivo-listing-list-with-tabs-v2__button,
  body.apd-m-home.apd-pg-home .listivo-listing-list-with-tabs-v2__button .listivo-button{width:100%}
  body.apd-m-home.apd-pg-home .listivo-listing-list-with-tabs-v2__button .listivo-button{min-height:48px!important}
  /* car list: swipeable row instead of eight full-height cards stacked */
  body.apd-m-home.apd-pg-home .listivo-listing-list-with-tabs-v2__list .listivo-listing-grid{display:grid!important;grid-template-columns:none!important;grid-auto-flow:column;grid-auto-columns:84%;gap:12px!important;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;scroll-padding:0 var(--apd-gutter);margin:0 calc(var(--apd-gutter) * -1)!important;padding:4px var(--apd-gutter) 14px!important;scrollbar-width:none}
  body.apd-m-home.apd-pg-home .listivo-listing-list-with-tabs-v2__list .listivo-listing-grid::-webkit-scrollbar{display:none}
  body.apd-m-home.apd-pg-home .listivo-listing-list-with-tabs-v2__list .listivo-listing-grid > *{scroll-snap-align:start;min-width:0}
  body.apd-m-home.apd-pg-home .listivo-testimonial-v2__content{padding:22px 20px 18px!important}
  body.apd-m-home.apd-pg-home .listivo-testimonial-v2__bottom{padding:14px 20px!important}
}
/* ---------- cross-page polish (final design pass) ---------- */

/* Footer: the Click to Chat button is fixed bottom-right; leave room under the legal row so the
   ANPC / SOL badges are never covered at the end of the page. */
.apd-footer__legal-in{padding-bottom:84px}

/* Generic pages (cookies, privacy, thank-you ...): same container and side edges as header/footer,
   readable line length for long legal text. */
body.apd-m-base.apd-pg-other [data-elementor-type="wp-page"] > .e-con,
body.apd-m-base.apd-pg-other [data-elementor-type="wp-page"] > .elementor-top-section{padding-left:var(--apd-gutter)!important;padding-right:var(--apd-gutter)!important}
body.apd-m-base.apd-pg-other [data-elementor-type="wp-page"] > .e-con > .e-con-inner,
body.apd-m-base.apd-pg-other [data-elementor-type="wp-page"] > .elementor-top-section > .elementor-container{max-width:calc(var(--apd-wrap) - 2 * var(--apd-gutter))!important;margin-left:auto!important;margin-right:auto!important}
body.apd-m-base.apd-pg-other .elementor-widget-text-editor{width:100%!important;max-width:760px!important;padding-left:0!important;padding-right:0!important}
body.apd-m-base.apd-pg-other .elementor-widget-text-editor :is(h2,h3,h4,p > strong:only-child){color:var(--apd-ink)}
body.apd-m-base.apd-pg-other .elementor-widget-text-editor :is(ul,ol){padding-left:22px}
body.apd-m-base.apd-pg-other .elementor-widget-text-editor li{margin:0 0 6px}
body.apd-m-base.apd-pg-other [data-elementor-type="wp-page"] .elementor-widget-heading{max-width:760px;margin-left:auto!important;margin-right:auto!important;background:none!important}
body.apd-m-base.apd-pg-other [data-elementor-type="wp-page"] .elementor-widget-heading .elementor-heading-title{font-size:clamp(28px,3.4vw,40px)!important;background:none!important}

/* Thank-you page (heading + text + button, no form): one tidy confirmation card.
   The old green band behind the heading is removed; the theme list typed in capitals
   becomes a quiet checklist. */
body.apd-m-base.apd-pg-other [data-elementor-type="wp-page"] .e-con-inner:has(> .elementor-widget-heading + .elementor-widget-text-editor + .elementor-widget-lst_button){max-width:720px!important;margin:48px auto 0!important;padding:44px 40px 40px!important;border:1px solid var(--apd-line);border-radius:22px;background:#fff;box-shadow:var(--apd-shadow);gap:0!important;box-sizing:border-box;text-align:center}
body.apd-m-base.apd-pg-other .e-con-inner:has(> .elementor-widget-heading + .elementor-widget-text-editor + .elementor-widget-lst_button) > .elementor-widget-spacer{display:none!important}
body.apd-m-base.apd-pg-other .e-con-inner:has(> .elementor-widget-heading + .elementor-widget-text-editor + .elementor-widget-lst_button) > .elementor-widget-heading{width:100%!important;margin:0 0 12px!important}
body.apd-m-base.apd-pg-other .e-con-inner:has(> .elementor-widget-heading + .elementor-widget-text-editor + .elementor-widget-lst_button) > .elementor-widget-heading::before{content:"";display:block;width:64px;height:64px;margin:0 auto 20px;border-radius:50%;background:#eaf7ef no-repeat center/30px 30px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23128c3f' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E")}
body.apd-m-base.apd-pg-other .e-con-inner:has(> .elementor-widget-heading + .elementor-widget-text-editor + .elementor-widget-lst_button) .elementor-heading-title{font-size:clamp(26px,3vw,34px)!important;text-align:center!important}
body.apd-m-base.apd-pg-other .e-con-inner:has(> .elementor-widget-heading + .elementor-widget-text-editor + .elementor-widget-lst_button) > .elementor-widget-text-editor{max-width:none!important;margin:0!important;text-align:center!important}
body.apd-m-base.apd-pg-other .e-con-inner:has(> .elementor-widget-heading + .elementor-widget-text-editor + .elementor-widget-lst_button) > .elementor-widget-text-editor :is(ol,ul){display:inline-grid;gap:8px;margin:6px 0 4px!important;padding:18px 22px!important;border-radius:16px;background:var(--apd-bg);list-style:none!important;text-align:left}
body.apd-m-base.apd-pg-other .e-con-inner:has(> .elementor-widget-heading + .elementor-widget-text-editor + .elementor-widget-lst_button) > .elementor-widget-text-editor li{position:relative;margin:0!important;padding-left:28px;list-style:none!important;color:var(--apd-ink);font:600 13.5px/1.4 var(--apd-font);letter-spacing:.03em}
body.apd-m-base.apd-pg-other .e-con-inner:has(> .elementor-widget-heading + .elementor-widget-text-editor + .elementor-widget-lst_button) > .elementor-widget-text-editor li::before{content:"";position:absolute;left:0;top:1px;width:18px;height:18px;border-radius:50%;background:var(--apd-blue-50) no-repeat center/11px 11px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230068ff' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E")}
body.apd-m-base.apd-pg-other .e-con-inner:has(> .elementor-widget-heading + .elementor-widget-text-editor + .elementor-widget-lst_button) > .elementor-widget-lst_button{width:100%!important;margin:24px 0 0!important}
body.apd-m-base.apd-pg-other .e-con-inner:has(> .elementor-widget-heading + .elementor-widget-text-editor + .elementor-widget-lst_button) .listivo-button-wrapper{justify-content:center!important}
@media (max-width:600px){
  body.apd-m-base.apd-pg-other [data-elementor-type="wp-page"] .e-con-inner:has(> .elementor-widget-heading + .elementor-widget-text-editor + .elementor-widget-lst_button){margin-top:24px!important;padding:32px 18px 24px!important;border-radius:18px}
  body.apd-m-base.apd-pg-other .e-con-inner:has(> .elementor-widget-heading + .elementor-widget-text-editor + .elementor-widget-lst_button) .listivo-button{width:100%}
}

/* Big headings: no single orphan word on the last line. */
.apd-h1,.apd-hero__h1,.apd-fcta__title,
body.apd-on .listivo-heading-v2__text,
body.apd-on [data-elementor-type="wp-page"] .elementor-heading-title{text-wrap:balance}

/* Minimum text size 13px for small labels; tap targets 44px on phones. */
.apd-eyebrow,
body.apd-m-home.apd-pg-home [data-elementor-type="wp-page"] .listivo-heading-v2__small-text{font-size:13px!important}
.apd-card__sale,.apd-card__count{font-size:13px}
@media (max-width:900px){.apd-brand__sub{font-size:11.5px}}
@media (max-width:600px){
  .apd-footer__social{min-height:44px}
  .apd-footer__badges a{display:block;padding:3px 0}
}

/* list-view rows: same radius and label size as the grid cards */
body.apd-m-cards a.listivo-listing-card-row-v2{border-radius:14px!important}
body.apd-m-cards .listivo-listing-card-row-v2__category{font-size:13px!important}
/* specs line: keep the shift that hides the leading dot, so it starts on the text edge */
body.apd-m-cards a.apd-row .apd-card__specs{margin-left:-13px}
@media (max-width:767px){
  /* phones: the full car name (two lines) instead of an ellipsis after one line */
  body.apd-m-cards .listivo-listing-card-row-v2__name{white-space:normal!important;display:-webkit-box!important;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;text-overflow:clip!important;font-size:19px!important}
}
