/* Aventecars 1.1.8 — responsive footer + intelligent vehicle search. Retain black/red/white identity. */
.site-footer,.site-footer *{box-sizing:border-box}
.site-footer .footer-main>*{min-width:0;max-width:100%}
.site-footer .footer-main p,.site-footer .footer-local,.site-footer .footer-main a{overflow-wrap:anywhere;word-break:normal}
.site-footer .av-footer-bottom{display:flex;align-items:flex-start;justify-content:space-between;flex-wrap:wrap;gap:15px 20px;width:min(calc(100% - 32px),var(--container,1240px));min-width:0}
.site-footer .av-footer-copyright{flex:0 1 auto;min-width:0;line-height:1.6}
.site-footer .av-footer-links{display:flex;flex:1 1 460px;flex-wrap:wrap;align-items:center;justify-content:flex-end;column-gap:8px;row-gap:7px;min-width:0;max-width:100%}
.site-footer .av-footer-links a{display:inline-flex;align-items:center;justify-content:center;white-space:normal;overflow-wrap:anywhere;word-break:normal;margin:0!important;max-width:100%;min-width:0;border-radius:8px;padding:8px 10px;font-size:11px;line-height:1.4;text-align:center;text-decoration:none}
.site-footer .av-footer-links a:hover,.site-footer .av-footer-links a:focus-visible{background:rgba(240,35,56,.12);color:#fff}
.av-catalogue-hero{background:#101318 linear-gradient(100deg,rgba(4,7,12,.90),rgba(4,7,12,.4)),url('/assets/images/catalogue-ambiance-v118.webp') center 44%/cover no-repeat!important;color:#fff;min-height:300px}
.av-catalogue-hero .container{position:relative;z-index:2}
.av-empty-visual{margin:0 auto 20px;max-width:510px;border-radius:15px;overflow:hidden;background:#12181f;position:relative}
.av-empty-visual img{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover}
.av-empty-visual figcaption{position:absolute;bottom:0;left:0;right:0;padding:12px 16px;background:linear-gradient(transparent,rgba(0,0,0,.82));color:#f5f6f8;font-size:12px}
.av-draft-visual-label{color:#dc344b!important;font-weight:700;display:block;margin-top:3px}
/* Rich make picker is progressive enhancement; native select/input remains the fallback. */
.av-smart-make,.av-search-input:has([data-brand-picker]){position:relative}
.av-brand-picker-shell{position:relative;width:100%;min-width:0}
.av-brand-select-hidden{position:absolute!important;opacity:0!important;pointer-events:none!important;width:1px!important;height:1px!important;overflow:hidden!important}
.av-brand-trigger{border:0;background:transparent;color:inherit;display:flex;align-items:center;gap:8px;width:100%;min-height:32px;padding:3px 6px;text-align:left;font:inherit;font-size:13px;cursor:pointer;border-radius:8px}
.av-brand-trigger span{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.av-brand-trigger:after{content:'⌄';color:#777}
.av-brand-logo{flex:none;width:28px;height:28px;object-fit:contain;border-radius:50%;background:#f0f1f4;padding:3px;border:1px solid #d9dbe0}
.av-brand-menu{display:none;position:absolute;z-index:120;top:calc(100% + 7px);left:0;width:max(235px,100%);max-width:min(360px,calc(100vw - 36px));background:#fff;border:1px solid #dfe1e7;box-shadow:0 24px 50px rgba(0,0,0,.25);border-radius:14px;overflow:hidden;color:#181c22}
.av-brand-menu.is-open{display:block}
.av-brand-menu-search{width:calc(100% - 22px)!important;display:block;margin:12px 11px 7px!important;height:42px!important;border:1px solid #ced3d9!important;background:#fff!important;color:#12161c!important;padding:8px 12px!important;border-radius:9px;font-size:16px!important}
.av-brand-menu-list{max-height:260px;overflow-y:auto;padding:4px 8px 9px;overscroll-behavior:contain}
.av-brand-option{width:100%;display:flex;align-items:center;gap:10px;border:0;background:#fff;color:#10151b;padding:8px 10px;border-radius:8px;text-align:left;font:600 13px system-ui,sans-serif;cursor:pointer}
.av-brand-option:hover,.av-brand-option:focus-visible,.av-brand-option[aria-selected="true"]{background:#f2f3f6;outline-color:#ff3349}
.av-brand-empty{font-size:12px;color:#777;padding:12px}
.av-brand-admin{position:relative}
.av-brand-admin-menu{top:calc(100% + 4px)}
.av-brand-admin-indicator{position:absolute;right:9px;top:50%;transform:translateY(-50%);width:28px;height:28px;pointer-events:none;object-fit:contain;border-radius:50%;background:#fff;padding:3px}
.av-search{grid-template-columns:repeat(4,minmax(0,1fr)) 160px;gap:6px}
.av-search-input [data-model-picker]{min-height:31px}
.av-catalogue-mobile-tools>*{min-width:0}
.av-filter-drawer .av-brand-trigger{background:#fff;color:#151922;padding:10px;min-height:48px;border-radius:9px}
.av-filter-drawer .av-brand-menu{bottom:calc(100% + 6px);top:auto;width:100%}
@media(max-width:1190px) and (min-width:768px){.av-search{grid-template-columns:repeat(4,minmax(0,1fr)) 120px!important}.av-search-input{padding-inline:8px}.site-footer .footer-main{gap:22px}}
@media(max-width:767px){
 html,body{max-width:100%}
 .site-footer{max-width:100%;overflow-x:clip}
 .site-footer .footer-main{width:calc(100% - 34px)!important;max-width:100%;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:22px 15px;padding:31px 0 20px}
 .site-footer .footer-brand{grid-column:1/-1}
 .site-footer .footer-brand img{max-width:min(225px,90%)!important}
 .site-footer .footer-main>div{min-width:0;overflow-wrap:anywhere}
 .site-footer .footer-main a{font-size:12px;line-height:1.55;padding-block:5px}
 .site-footer .footer-bottom.av-footer-bottom{width:calc(100% - 34px)!important;max-width:100%;display:flex;flex-direction:column;align-items:stretch;gap:14px;padding:16px 0 calc(24px + env(safe-area-inset-bottom,0px))}
 .site-footer .av-footer-copyright{width:100%;font-size:11px;text-align:center;line-height:1.6}
 .site-footer .av-footer-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));flex:none;width:100%;gap:8px;justify-content:stretch}
 .site-footer .av-footer-links a{min-width:0;max-width:100%;display:flex;min-height:43px;justify-content:center;align-items:center;padding:9px 7px;background:#14191f;border:1px solid #242b33;font-size:11px;line-height:1.35;overflow-wrap:anywhere}
 .site-footer .av-footer-links a:nth-last-child(-n+2){border-color:#3c242c;background:#1e1317}
 .av-home .av-search{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important}
 .av-home .av-search-input:nth-child(n){grid-column:auto!important;min-width:0!important}
 .av-home .av-search-submit{grid-column:1/-1!important;min-height:48px}
 .av-home .av-search-input{padding:8px!important}
 .av-home .av-search-input label{font-size:11px}
 .av-home .av-search-input select{max-width:100%;font-size:13px}
 .av-brand-menu{max-width:min(330px,calc(100vw - 38px))}
 .av-catalogue-hero{background-position:65% center!important;min-height:265px}
 .av-catalogue-hero h1{font-size:clamp(35px,9vw,55px)}
 .av-catalogue-hero p{max-width:320px}
 .empty-list{padding:20px 15px!important}
 .empty-list h3{font-size:20px!important}
 .av-empty-visual{max-width:100%}
 .av-app-catalogue .container{width:calc(100% - 32px)!important}
}
@media(max-width:370px){
 .site-footer .footer-main{grid-template-columns:1fr!important;gap:16px}
 .site-footer .footer-brand{grid-column:auto}
 .site-footer .av-footer-links{grid-template-columns:1fr}
 .av-home .av-search{grid-template-columns:1fr!important}
 .av-home .av-search-input:nth-child(n),.av-home .av-search-submit{grid-column:1!important}
 .av-brand-menu{max-width:calc(100vw - 45px)}
}
