/* Carvix 8.2 – bilregister, SEO-sider og markedstall */
.cvx81-vehicle-picker{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:0 0 18px;padding:18px;border:1px solid #d9e6df;border-radius:16px;background:#f7fbf9}
.cvx81-vehicle-picker label{display:grid;gap:7px;font-weight:800}
.cvx81-vehicle-picker select{width:100%;height:49px;padding:0 13px;border:1px solid #cbd9d2;border-radius:11px;background:#fff}
.cvx81-filter-card{margin-bottom:12px}
.cvx81-filter-open{width:100%;display:flex;align-items:center;justify-content:space-between;padding:14px 17px;border:1px solid #d9e6df;border-radius:14px;background:#fff;text-align:left;cursor:pointer}
.cvx81-filter-open small,.cvx81-filter-open strong{display:block}
.cvx81-filter-open small{color:#65766f;font-size:12px}
.cvx81-filter-open strong{margin-top:3px;font-size:17px}
.cvx81-filter-open>b{color:#08734a}
.cvx81-filter-overlay{position:fixed;inset:0;z-index:9600;background:rgba(2,12,8,.58);opacity:0;transition:.2s}
.cvx81-filter-overlay.visible{opacity:1}
.cvx81-filter-drawer{position:fixed;left:0;top:0;bottom:0;z-index:9700;width:min(500px,96vw);display:flex;flex-direction:column;background:#fff;transform:translateX(-103%);transition:transform .22s ease;box-shadow:20px 0 60px rgba(0,0,0,.25)}
.cvx81-filter-drawer.open{transform:translateX(0)}
.cvx81-filter-head{display:flex;justify-content:space-between;align-items:center;padding:22px;border-bottom:1px solid #d9e6df}
.cvx81-filter-head h2{margin:.2rem 0 0}
.cvx81-filter-head button{width:42px;height:42px;border:0;border-radius:50%;background:#edf4f0;font-size:28px;cursor:pointer}
.cvx81-filter-search{padding:14px 18px}
.cvx81-filter-search input{width:100%;height:47px;padding:0 14px;border:1px solid #d9e6df;border-radius:11px}
.cvx81-filter-list{flex:1;overflow:auto;padding:0 18px 18px}
.cvx81-brand-item{border-bottom:1px solid #e5ede9}
.cvx81-brand-item summary{display:flex;justify-content:space-between;align-items:center;padding:14px 2px;cursor:pointer;font-weight:850}
.cvx81-brand-item summary b{color:#65766f;font-size:13px}
.cvx81-model-list{display:grid;gap:2px;padding:0 0 12px 14px}
.cvx81-model-list a,.cvx81-model-list button{display:flex;justify-content:space-between;align-items:center;min-height:38px;padding:8px 10px;border:0;border-radius:8px;background:transparent;text-decoration:none;text-align:left;cursor:pointer}
.cvx81-model-list a:hover,.cvx81-model-list button:hover{background:#edf8f2;color:#08734a}
.cvx81-filter-footer{display:flex;gap:10px;padding:16px 18px;border-top:1px solid #d9e6df}
.cvx81-filter-footer>*{flex:1}
body.cvx81-filter-opened{overflow:hidden}

.cvx82-directory-hero{display:grid;grid-template-columns:1.2fr .8fr;gap:30px;padding:42px;border-radius:27px;background:linear-gradient(130deg,#071f18,#0d4735);color:#fff}
.cvx82-directory-hero .cvx6-kicker{color:#29d884}
.cvx82-directory-hero h1{margin:.2rem 0;font-size:clamp(40px,6vw,68px);letter-spacing:-.04em}
.cvx82-directory-hero p{max-width:700px;color:#cfe0d8;font-size:18px}
.cvx82-directory-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;align-self:center}
.cvx82-directory-stats div{padding:18px;border:1px solid rgba(255,255,255,.16);border-radius:15px;background:rgba(255,255,255,.08);text-align:center}
.cvx82-directory-stats strong,.cvx82-directory-stats span{display:block}
.cvx82-directory-stats strong{font-size:28px}
.cvx82-directory-stats span{margin-top:4px;color:#cfe0d8;font-size:12px}
.cvx82-directory-search{grid-column:1/-1}
.cvx82-directory-search input{width:min(100%,650px);height:52px;padding:0 16px;border:0;border-radius:13px;font:inherit}

.cvx82-popular-brands{margin:38px 0}
.cvx82-popular-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:10px}
.cvx82-popular-grid a{display:grid;grid-template-columns:auto 1fr;gap:3px 10px;align-items:center;padding:13px;border:1px solid #d9e6df;border-radius:13px;background:#fff;text-decoration:none}
.cvx82-popular-grid a>span{grid-row:1/3;display:grid;place-items:center;width:37px;height:37px;border-radius:10px;background:#e7f8ef;color:#08734a;font-weight:950}
.cvx82-popular-grid strong,.cvx82-popular-grid small{display:block}
.cvx82-popular-grid small{color:#65766f}

.cvx82-alphabet{display:flex;flex-wrap:wrap;gap:6px;margin:25px 0 12px}
.cvx82-alphabet button{min-width:38px;height:38px;border:1px solid #d9e6df;border-radius:9px;background:#fff;font-weight:850;cursor:pointer}
.cvx82-alphabet button.active{background:#071f18;color:#fff;border-color:#071f18}
.cvx82-country-filter{display:flex;flex-wrap:wrap;gap:7px;margin-bottom:19px}
.cvx82-country-filter button{padding:8px 11px;border:1px solid #d9e6df;border-radius:999px;background:#fff;cursor:pointer}
.cvx82-country-filter button.active{background:#e7f8ef;color:#08734a;border-color:#8bddb5}
.cvx82-country-filter span{color:#65766f}

.cvx82-brand-directory{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
.cvx82-brand-row{display:grid;grid-template-columns:auto 1fr auto auto;align-items:center;gap:12px;padding:14px;border:1px solid #d9e6df;border-radius:14px;background:#fff;text-decoration:none;transition:.16s}
.cvx82-brand-row:hover{border-color:#29d884;transform:translateY(-1px);box-shadow:0 8px 24px rgba(7,31,24,.07)}
.cvx82-brand-letter{display:grid;place-items:center;width:40px;height:40px;border-radius:11px;background:#e7f8ef;color:#08734a;font-weight:950}
.cvx82-brand-copy strong,.cvx82-brand-copy small,.cvx82-brand-count strong,.cvx82-brand-count small{display:block}
.cvx82-brand-copy small,.cvx82-brand-count small{color:#65766f;font-size:12px}
.cvx82-brand-count{text-align:right}
.cvx82-brand-row>i{font-style:normal;font-size:24px}
.cvx82-no-results{padding:50px;border:1px dashed #bfcec7;border-radius:18px;background:#fff;text-align:center}

.cvx82-brand-hero{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:24px;padding:34px;border-radius:25px;background:linear-gradient(125deg,#071f18,#0d4735);color:#fff}
.cvx82-brand-hero .cvx6-kicker{color:#29d884}
.cvx82-brand-heading h1{margin:.15rem 0;font-size:clamp(36px,5vw,58px);letter-spacing:-.04em}
.cvx82-brand-heading p{margin:0;color:#cfe0d8}
.cvx82-brand-monogram{display:grid;place-items:center;width:92px;height:92px;border-radius:23px;background:#29d884;color:#05291a;font-size:42px;font-weight:950}

.cvx82-market-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin:18px 0 38px}
.cvx82-market-stats div{padding:17px;border:1px solid #d9e6df;border-radius:14px;background:#fff}
.cvx82-market-stats small,.cvx82-market-stats strong{display:block}
.cvx82-market-stats small{color:#65766f}
.cvx82-market-stats strong{margin-top:5px;font-size:20px}

.cvx82-model-browser{margin:36px 0}
.cvx82-model-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:9px}
.cvx82-model-grid a{display:grid;grid-template-columns:1fr auto;gap:4px;padding:14px;border:1px solid #d9e6df;border-radius:12px;background:#fff;text-decoration:none}
.cvx82-model-grid span{grid-column:1;color:#65766f;font-size:12px}
.cvx82-model-grid i{grid-row:1/3;grid-column:2;align-self:center;font-style:normal;font-size:22px}
.cvx82-model-grid a:hover{border-color:#29d884;background:#f5fbf8}

.cvx82-generation-row{display:flex;align-items:center;flex-wrap:wrap;gap:7px;margin:22px 0}
.cvx82-generation-row strong{margin-right:5px}
.cvx82-generation-row span{padding:7px 10px;border-radius:999px;background:#e8f4ee;color:#315348;font-size:13px}
.cvx82-seo-copy{margin-top:45px;padding:28px;border-radius:19px;background:#eaf4ef}
.cvx82-seo-copy h2{margin-top:0}
.cvx82-seo-copy p{max-width:900px;margin-bottom:0;color:#53665d;line-height:1.7}

@media(max-width:1100px){
  .cvx82-popular-grid{grid-template-columns:repeat(4,1fr)}
  .cvx82-brand-directory{grid-template-columns:repeat(2,1fr)}
  .cvx82-model-grid{grid-template-columns:repeat(3,1fr)}
}
@media(max-width:760px){
  .cvx81-vehicle-picker{grid-template-columns:1fr}
  .cvx82-directory-hero{grid-template-columns:1fr;padding:29px 22px}
  .cvx82-directory-stats{grid-template-columns:repeat(3,1fr)}
  .cvx82-popular-grid{grid-template-columns:repeat(2,1fr)}
  .cvx82-brand-directory{grid-template-columns:1fr}
  .cvx82-brand-hero{grid-template-columns:auto 1fr;padding:25px}
  .cvx82-brand-hero .cvx6-btn{grid-column:1/-1}
  .cvx82-market-stats{grid-template-columns:repeat(2,1fr)}
  .cvx82-model-grid{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:480px){
  .cvx82-directory-stats{grid-template-columns:1fr}
  .cvx82-popular-grid,.cvx82-model-grid{grid-template-columns:1fr}
  .cvx82-brand-monogram{width:68px;height:68px;font-size:30px}
  .cvx82-brand-count{display:none}
}


/* Carvix 8.3 – avansert søk og sortering */
.cvx83-extra-filters{
  grid-column:1/-1;
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:12px;
  align-items:end;
  padding-top:4px
}
.cvx83-check{
  display:flex;
  align-items:center;
  gap:9px;
  min-height:49px;
  padding:10px 12px;
  border:1px solid #d9e6df;
  border-radius:11px;
  background:#f7fbf9;
  font-size:14px;
  font-weight:750;
  cursor:pointer
}
.cvx83-check input{width:18px;height:18px;accent-color:#08734a}
.cvx83-sort-wrap{margin-left:auto}
.cvx83-sort-wrap form{display:flex;align-items:center;gap:9px}
.cvx83-sort-wrap label{color:#65766f;font-size:13px;font-weight:800}
.cvx83-sort-wrap select{
  min-width:190px;
  height:45px;
  padding:0 12px;
  border:1px solid #d9e6df;
  border-radius:11px;
  background:#fff;
  font-weight:750
}
.cvx83-active-filters{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:7px;
  margin:-5px 0 18px
}
.cvx83-active-filters>strong{
  margin-right:4px;
  color:#53665d;
  font-size:13px
}
.cvx83-active-filters a{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:7px 10px;
  border:1px solid #b9ddca;
  border-radius:999px;
  background:#e9f8f0;
  color:#08734a;
  text-decoration:none;
  font-size:13px;
  font-weight:800
}
.cvx83-active-filters a span{font-size:17px;line-height:1}
.cvx83-active-filters a.clear{
  border-color:#d9e6df;
  background:#fff;
  color:#53665d
}
.cvx6-badge.dealer{background:#fff;color:#10201a}
.cvx6-results-head{align-items:flex-end}
@media(max-width:1000px){
  .cvx83-extra-filters{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:760px){
  .cvx83-extra-filters{grid-template-columns:1fr}
  .cvx83-sort-wrap{width:100%;margin-left:0}
  .cvx83-sort-wrap form{justify-content:space-between}
  .cvx83-sort-wrap select{flex:1;min-width:0}
}


/* Carvix 8.3.2 – databasekontroll */
.database-health-badge{
  display:inline-flex;
  align-items:center;
  padding:8px 11px;
  border-radius:999px;
  font-size:12px;
  font-weight:850
}
.database-health-badge.ok{background:#dff7eb;color:#096b46}
.database-health-badge.bad{background:#ffe2e2;color:#9b2020}
.database-health-summary{
  display:flex;
  align-items:flex-start;
  gap:13px;
  padding:17px;
  border:1px solid #d9e6df;
  border-radius:14px;
  background:#f7fbf9
}
.database-health-summary.bad{border-color:#efb5b5;background:#fff5f5}
.database-health-summary strong,.database-health-summary small{display:block}
.database-health-summary small{margin-top:4px;color:#65766f}
.missing-columns{margin:17px 0}
.missing-columns>strong{display:block;margin-bottom:8px}
.missing-columns>div{display:flex;flex-wrap:wrap;gap:7px}
.missing-columns code{
  padding:6px 9px;
  border:1px solid #ead0d0;
  border-radius:8px;
  background:#fff3f3;
  color:#8d2424
}


/* Carvix 8.4 – generasjonsvelger */
.cvx81-vehicle-picker label[data-generation-wrap]:not([hidden]){
  animation:cvx84GenerationIn .18s ease-out
}
.cvx81-vehicle-picker label[data-generation-wrap] small{
  color:#65766f;
  font-weight:600
}
@keyframes cvx84GenerationIn{
  from{opacity:0;transform:translateY(4px)}
  to{opacity:1;transform:translateY(0)}
}


/* Carvix 8.5 – eksempelannonser */
.cvx6-badge.demo{
  background:#fff;
  color:#7a5310;
  border:1px solid #e5bf68
}
.cvx85-demo-notice{
  display:flex;
  align-items:center;
  gap:12px;
  margin-bottom:18px;
  padding:15px 17px;
  border:1px solid #e8c46f;
  border-radius:14px;
  background:#fff8e7;
  color:#64450d
}
.cvx85-demo-notice strong,.cvx85-demo-notice span{display:block}
.cvx85-demo-notice span{color:#7b642f}
.cvx85-demo-corner{
  position:absolute;
  top:10px;
  left:10px;
  z-index:2;
  padding:6px 9px;
  border-radius:999px;
  background:#fff8e7;
  color:#6c4a0b;
  font-size:11px;
  font-weight:900;
  text-transform:uppercase
}
.cvx6-listing-media{position:relative}
.cvx85-demo-overview{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px
}
.cvx85-demo-number{
  display:grid;
  place-items:center;
  width:92px;
  height:92px;
  flex:0 0 92px;
  border-radius:24px;
  background:#e7f8ef;
  color:#08734a;
  font-size:38px;
  font-weight:950
}
.cvx85-demo-list{display:grid;gap:9px;padding-left:20px}
@media(max-width:640px){
  .cvx85-demo-notice{align-items:flex-start;flex-direction:column}
  .cvx85-demo-overview{align-items:flex-start}
}


/* Carvix 8.6 – ekte bilbilder og lisenskreditering */
.cvx6-listing-media img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center
}
.cvx86-credits-hero{
  padding:34px;
  border-radius:24px;
  background:linear-gradient(125deg,#071f18,#0d4735);
  color:#fff
}
.cvx86-credits-hero .cvx6-kicker{color:#29d884}
.cvx86-credits-hero h1{margin:.25rem 0;font-size:clamp(34px,5vw,58px)}
.cvx86-credits-hero p{max-width:850px;color:#cfe0d8;line-height:1.7}
.cvx86-credit-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:14px;
  margin:28px 0
}
.cvx86-credit-grid h2{margin-top:0}
.cvx86-credit-grid dl{display:grid;gap:8px}
.cvx86-credit-grid dl div{display:grid;grid-template-columns:90px 1fr;gap:8px}
.cvx86-credit-grid dt{color:#65766f;font-weight:700}
.cvx86-credit-grid dd{margin:0}
@media(max-width:900px){.cvx86-credit-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:600px){.cvx86-credit-grid{grid-template-columns:1fr}}


/* Carvix 8.6.1 – kontrollert feilside for annonsedetaljer */
.cvx861-listing-error{
  max-width:780px;
  margin:70px auto;
  padding:42px;
  border:1px solid #d9e6df;
  border-radius:24px;
  background:#fff;
  box-shadow:0 18px 45px rgba(7,31,24,.08);
  text-align:center
}
.cvx861-listing-error h1{
  margin:.3rem 0 .8rem;
  font-size:clamp(34px,5vw,55px)
}
.cvx861-listing-error p{
  max-width:600px;
  margin:0 auto;
  color:#65766f;
  line-height:1.7
}
.cvx861-error-actions{
  display:flex;
  justify-content:center;
  flex-wrap:wrap;
  gap:10px;
  margin:25px 0
}
.cvx861-listing-error small{color:#7a8b83}


/* Carvix 8.6.2 – annonsevisning */
.cvx85-demo-notice{
  box-shadow:0 8px 24px rgba(100,69,13,.08)
}
.cvx6-listing-gallery img{
  background:#eef4f1
}
