.cmav{--cmav-blue:var(--wd-primary-color,#007bc4);margin:0 0 24px;color:var(--wd-text-color,#767676)}
.cmav *{box-sizing:border-box}.cmav [hidden]{display:none!important}
.cmav-form{margin-top:18px;border:1px solid #e8e8e8;background:#f7f7f7;padding:20px 16px 18px}
.cmav-form h2{margin:0;font-size:18px;font-weight:600;color:#242424;line-height:1.3}.cmav-form>p{font-size:13px;margin:6px 0 16px}
.cmav-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 10px;align-items:start}
.cmav-field{min-width:0}.cmav-field:first-child,.cmav-field[data-field="modelis"]{grid-column:1/-1}
.cmav-steps{display:flex;flex-wrap:wrap;gap:8px 16px;padding:0!important;margin:0 0 18px!important;list-style:none;counter-reset:cmav-step;font-size:12px}
.cmav-steps li{display:flex;gap:7px;align-items:center;counter-increment:cmav-step}.cmav-steps li:before{content:counter(cmav-step);display:inline-flex;align-items:center;justify-content:center;width:20px;height:20px;border-radius:50%;background:var(--cmav-blue);color:white;font-size:11px}
.cmav-clear{color:var(--cmav-blue);font-size:12px;text-decoration:underline}
.cmav-field label{display:block;color:#242424;text-transform:uppercase;font-size:12px;font-weight:600;margin:0}
.cmav-skip{display:block;background:transparent!important;border:0!important;box-shadow:none!important;padding:4px 0!important;min-height:32px;color:var(--cmav-blue)!important;font-size:11px!important;text-transform:none!important;text-decoration:underline;white-space:normal;text-align:left}
.cmav-field select{display:block;width:100%;min-width:0;height:42px;border:2px solid #e5e5e5;border-radius:35px;background-color:#fff;padding:0 30px 0 12px;font-size:13px;color:#333;text-overflow:ellipsis}
.cmav-field small{display:block;margin-top:5px;font-size:11px;line-height:1.4;overflow-wrap:anywhere;min-height:1.4em}
.cmav-go{grid-column:1/-1;min-height:42px;background:var(--cmav-blue)!important;color:white!important;border:0;border-radius:35px;font-size:13px;font-weight:600;text-transform:uppercase;padding:10px}
.cmav .cmav-notice{border-top:1px solid #e3e3e3;padding-top:14px;margin:16px 0 0;font-size:12px}
.cmav :focus-visible{outline:2px solid #242424;outline-offset:3px}
@media(min-width:768px){.cmav-form{padding:26px 28px 24px;margin-top:22px}.cmav-form h2{font-size:20px}.cmav-fields{grid-template-columns:repeat(auto-fit,minmax(145px,1fr));gap:14px;align-items:start}.cmav-field:first-child,.cmav-field[data-field="modelis"],.cmav-go{grid-column:auto}.cmav-go{align-self:center}.cmav-field select{font-size:14px}}

/* Only archives with usable vehicle attributes use the full-width layout. */
body.cmav-has-filter #main-content > .wd-sidebar,
body.cmav-has-filter .wd-show-sidebar-btn,
body.cmav-has-filter .wd-toolbar-sidebar{display:none!important}
body.cmav-has-filter #main-content > .wd-content-area{grid-column:1/-1!important;--wd-col-lg:12!important}
.cmav-all-categories{display:inline-block;color:var(--cmav-blue);font-size:14px;text-decoration:underline;padding:6px 0}

/* Keep the existing ordering form alongside the category link above the filter. */
body.cmav-has-filter .shop-loop-head{display:block}
body.cmav-has-filter .shop-loop-head>.wd-shop-tools:last-child{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:0 16px;align-items:center;width:100%}
body.cmav-has-filter .shop-loop-head .cmav{display:contents}
body.cmav-has-filter .cmav-all-categories{grid-column:1;grid-row:1;justify-self:start;line-height:1.4}
body.cmav-has-filter .shop-loop-head .woocommerce-ordering{grid-column:2;grid-row:1;justify-self:end;margin:0;min-width:0;max-width:100%}
body.cmav-has-filter .cmav-form{grid-column:1/-1;grid-row:2;width:100%;min-width:0;margin-bottom:24px}
@media(max-width:767px){body.cmav-has-filter .cmav-all-categories{font-size:12px}body.cmav-has-filter .shop-loop-head>.wd-shop-tools:last-child{gap:0 10px}}

.cmav-dialog:not([open]){display:none}
.cmav-dialog[open]{display:flex;flex-direction:column;width:calc(100% - 16px);max-width:600px;height:92vh;height:92dvh;max-height:calc(100% - 16px);padding:0;margin:auto auto 8px;border:0;border-radius:16px 16px 0 0;background:#f7f7f7;color:#242424;box-shadow:0 8px 36px #0005;overflow:hidden}
.cmav-dialog::backdrop{background:rgb(0 0 0 / 55%)}
.cmav-dialog-header{display:flex;align-items:center;justify-content:space-between;padding:10px 16px;background:white;flex-shrink:0;border-bottom:1px solid #e3e3e3}
.cmav-close{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;padding:0!important;background:transparent!important;color:#242424!important;font-size:28px!important;border:0;box-shadow:none!important}
body.cmav-has-filter .cmav-dialog .cmav-form{flex:1;overflow:auto;overscroll-behavior:contain;margin:0;border:0;padding:18px 16px;min-height:0;width:100%}
body.cmav-has-filter .cmav-dialog .cmav-fields{grid-template-columns:minmax(0,1fr);gap:12px}
body.cmav-has-filter .cmav-dialog .cmav-field{grid-column:1/-1}
.cmav-dialog-actions{flex-shrink:0;padding:12px 16px;background:white;border-top:1px solid #e3e3e3}
.cmav-dialog-actions .cmav-go{width:100%;margin:0}
html.cmav-modal-open,html.cmav-modal-open body{overflow:hidden!important;overscroll-behavior:none}
@media(max-width:767px){body.cmav-has-filter .cmav-toggle{grid-column:1/-1;grid-row:2;justify-self:stretch;width:100%;min-height:44px;margin:10px 0 18px;padding:10px 16px;border:0;border-radius:24px;background:var(--wd-primary-color,#007bc4);color:white;font-size:14px;font-weight:600;overflow-wrap:anywhere}}
