:root{
  --yellow:#F7FF14;--black:#000;--footer:#1c1c1c;--text:#1a1a1a;--muted:#6b6b6b;
  --grey-bg:#F7F7F7;--outer:#F2F2F2;--line:#E3E3E3;--white:#fff;--active:#5AA5C9;
  --font:'Saira','Segoe UI',Arial,sans-serif;--box:1277px;--hh:56px;
  box-sizing:border-box;padding-top:env(safe-area-inset-top,0px);padding-bottom:env(safe-area-inset-bottom,0px);color-scheme:light;
}
@media (prefers-color-scheme: dark){:root:not([data-theme="light"]){--text:#1a1a1a;--white:#fff;--grey-bg:#F7F7F7;}}
:root[data-theme="dark"]{--text:#1a1a1a;--white:#fff;--grey-bg:#F7F7F7;}
html{scroll-padding-top:calc(var(--hh) + env(safe-area-inset-top,0px));}
*,*::before,*::after{box-sizing:border-box;}
body{margin:0;font-family:var(--font);color:var(--text);background:var(--outer);-webkit-font-smoothing:antialiased;}
a{color:inherit;text-decoration:none;}
img,svg{max-width:100%;}
button,input,select,textarea{font-family:inherit;}

/* ===== Boxed page frame (like ac-kosec.si on wide screens) ===== */
.frame{max-width:var(--box);margin:0 auto;background:var(--white);box-shadow:0 0 24px rgba(0,0,0,.08);min-height:100vh;padding-bottom:58px;position:relative;}

/* ===== Header ===== */
.header{position:sticky;top:env(safe-area-inset-top,0px);z-index:60;background:var(--white);height:var(--hh);}
.header-inner{height:100%;padding:0 53px;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;}
.h-left{display:flex;align-items:center;gap:22px;min-width:0;}
.burger{width:32px;height:32px;border:0;background:none;cursor:pointer;display:flex;flex-direction:column;justify-content:center;gap:5px;padding:0 6px;}
.burger span{display:block;height:1.5px;background:#666;transition:transform .2s,opacity .2s;}
body.menu-open .burger span:nth-child(1){transform:translateY(6.5px) rotate(45deg);}
body.menu-open .burger span:nth-child(2){opacity:0;}
body.menu-open .burger span:nth-child(3){transform:translateY(-6.5px) rotate(-45deg);}
.dealer{font-size:10.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.dealer b{font-weight:700;color:#000;margin-right:6px;}
.dealer span{color:#777;font-weight:600;}
.logo{display:flex;align-items:center;justify-content:center;}
.logo-mark{font-weight:600;letter-spacing:.3em;font-size:13px;border:1.5px solid #000;border-radius:40px;padding:4px 10px 4px 14px;}
.h-right{display:flex;justify-content:flex-end;align-items:center;gap:30px;font-size:10.5px;}
.h-item{display:flex;align-items:center;gap:9px;white-space:nowrap;}
.h-item svg{width:17px;height:17px;stroke:#222;fill:none;stroke-width:1.3;flex:0 0 auto;}
@media (max-width:1000px){.dealer span{display:none;}.h-item .t{display:none;}.h-right{gap:16px;}.header-inner{padding:0 20px;}}
@media (max-width:560px){.dealer{display:none;}}

/* ===== Expanding side menu ===== */
.menu-backdrop{position:fixed;inset:0;background:transparent;opacity:0;pointer-events:none;transition:opacity .25s;z-index:55;}
body.menu-open .menu-backdrop{opacity:1;pointer-events:auto;}
.side-menu{position:fixed;top:calc(var(--hh) + env(safe-area-inset-top,0px));left:max(0px,calc((100vw - var(--box))/2));z-index:58;background:var(--white);display:flex;transform:translateX(-110%);visibility:hidden;transition:transform .3s ease,visibility 0s linear .3s;box-shadow:6px 6px 18px rgba(0,0,0,.06);max-height:calc(100% - var(--hh) - 58px);overflow:auto;}
body.menu-open .side-menu{transform:none;visibility:visible;transition:transform .3s ease;}
.m-col{width:266px;padding:14px 53px 26px;}
.m-col.sub{width:213px;padding:14px 20px 26px 0;display:none;}
.side-menu.expanded .m-col.sub{display:block;}
.m-col a,.m-col button.m-item{display:flex;width:100%;justify-content:space-between;align-items:center;font-size:12px;font-weight:400;color:#333;padding:17px 0;border:0;border-bottom:1px solid #444;background:none;cursor:pointer;text-align:left;}
.m-col a:hover,.m-col button.m-item:hover{color:var(--active);}
.m-col button.m-item.active{color:var(--active);}
.m-col svg{width:9px;height:9px;stroke:#222;fill:none;stroke-width:1.8;flex:0 0 auto;}
.m-col.sub a{border-bottom:0;padding:13px 0 13px;font-size:11.5px;color:#111;}
.m-col.sub .m-back{display:none;}
@media (max-width:760px){
  .side-menu{left:0;width:100%;}
  .m-col{width:100%;padding:10px 28px 24px;}
  .side-menu.expanded .m-col.main{display:none;}
  .m-col.sub{width:100%;padding:10px 28px 24px;}
  .m-col.sub .m-back{display:flex;justify-content:flex-start;gap:10px;font-weight:600;border-bottom:1px solid #444;}
}

/* ===== Common page parts ===== */
.page{background:var(--grey-bg);min-height:60vh;}
.page.white{background:var(--white);}
.page-title{text-align:center;font-size:clamp(26px,3.4vw,34px);font-weight:300;margin:0;padding:48px 20px 46px;}
.page-hero{position:relative;height:clamp(260px,43vw,548px);overflow:hidden;background:#dfe6ec;}
.page-hero .scene{position:absolute;inset:0;width:100%;height:100%;}
.page-hero .ph-title{position:absolute;left:53px;top:22px;color:#fff;font-size:clamp(26px,3.2vw,36px);font-weight:500;text-shadow:0 1px 8px rgba(0,0,0,.25);}
.inner{max-width:852px;margin:0 auto;padding:0 20px;}
.wide{max-width:1026px;margin:0 auto;padding:0 20px;}
.crumbs{font-size:10.5px;color:#888;padding:14px 53px 0;}
.crumbs a:hover{text-decoration:underline;}
.pill{display:inline-flex;align-items:center;justify-content:center;border-radius:40px;font-size:11px;font-weight:600;padding:8px 16px;border:1px solid #000;cursor:pointer;background:var(--white);color:#000;letter-spacing:.02em;}
.pill.black{background:#000;color:#fff;}
.pill.block{display:flex;width:100%;}
.pill:hover{box-shadow:0 0 0 1px #000 inset;}
.pill.black:hover{background:#333;}
.link-btn{display:inline-block;font-size:11px;font-weight:600;letter-spacing:.14em;text-transform:uppercase;border-bottom:1px solid #000;padding-bottom:1px;}
.link-btn:hover{border-bottom-width:2px;}
.lead{font-size:13px;line-height:1.75;color:#444;font-weight:300;}

/* ===== Card grid (section pages) ===== */
.cgrid{display:grid;grid-template-columns:repeat(3,251px);gap:22px;justify-content:center;padding:0 20px 64px;}
.ccard{background:var(--white);border:1px solid #eee;border-radius:8px;padding:11px 10px 16px;display:flex;flex-direction:column;}
.ccard .cimg{aspect-ratio:230/177;border-radius:2px;overflow:hidden;position:relative;}
.ccard .cimg svg{position:absolute;inset:0;width:100%;height:100%;}
.ccard h3{font-size:19px;font-weight:300;line-height:1.55;margin:16px 0 12px;flex:1;}
.ccard .pill{align-self:flex-start;}
@media (max-width:860px){.cgrid{grid-template-columns:repeat(2,minmax(0,251px));}}
@media (max-width:560px){.cgrid{grid-template-columns:minmax(0,340px);}}

/* ===== Showroom ===== */
.filters{display:flex;justify-content:center;padding:6px 16px 0;}
.filters .fwrap{display:flex;flex-wrap:wrap;gap:4px;background:#EFEFEF;border-radius:14px;padding:3px;}
.filters button{border:0;background:none;border-radius:12px;padding:4px 14px;font-size:11px;cursor:pointer;color:#222;}
.filters button.on{background:var(--white);color:#2a7ab0;}
.mgrid{display:grid;grid-template-columns:repeat(4,218px);gap:20px;justify-content:center;padding:34px 20px 70px;}
.mcard{background:var(--white);border-radius:12px;padding:28px 16px 16px;display:flex;flex-direction:column;align-items:stretch;text-align:center;position:relative;}
.mcard .mimg{height:120px;display:flex;align-items:center;justify-content:center;}
.mcard .mimg svg{width:176px;height:68px;}
.mcard h3{font-size:19px;font-weight:300;margin:14px 0 30px;}
.mcard .pill{margin-top:8px;}
.ebadge{position:absolute;left:14px;top:14px;width:34px;height:34px;border-radius:50%;background:#000;color:#fff;font-weight:700;font-size:20px;display:flex;align-items:center;justify-content:center;font-style:italic;}
@media (max-width:1000px){.mgrid{grid-template-columns:repeat(3,minmax(0,218px));}}
@media (max-width:760px){.mgrid{grid-template-columns:repeat(2,minmax(0,218px));gap:12px;}}
@media (max-width:340px){.mgrid{grid-template-columns:minmax(0,300px);}}
@media (max-width:760px){.mcard{padding:18px 10px 12px;}.mcard h3{font-size:16px;margin:10px 0 18px;}.mcard .pill{font-size:10px;padding:7px 8px;}}

/* ===== Model detail ===== */
.icard{max-width:852px;margin:-1px auto 0;background:var(--white);border-radius:12px;display:grid;grid-template-columns:repeat(3,1fr);gap:10px;padding:36px 20px 34px;position:relative;top:-24px;}
.icard .it{text-align:center;padding:0 10px;}
.icard svg{width:96px;height:96px;stroke:#000;fill:none;stroke-width:3.5;}
.icard h4{font-size:17px;font-weight:400;margin:14px 0 10px;}
.icard p{font-size:11.5px;color:var(--muted);line-height:1.7;margin:0;font-weight:300;}
@media (max-width:700px){.icard{grid-template-columns:1fr;gap:26px;top:0;margin-top:16px;}}
.feat{max-width:852px;margin:10px auto 0;padding:0 20px 20px;}
.feat .ft{background:var(--white);border-radius:12px;display:grid;grid-template-columns:1fr 1fr;overflow:hidden;margin-bottom:16px;}
.feat .ft .fimg{position:relative;min-height:220px;}
.feat .ft .fimg svg{position:absolute;inset:0;width:100%;height:100%;}
.feat .ft .ftx{padding:28px 26px;}
.feat .ft .ftx small{font-size:10.5px;color:#888;letter-spacing:.1em;}
.feat .ft .ftx h4{font-size:19px;font-weight:400;margin:8px 0 12px;}
.feat .ft .ftx p{font-size:12px;line-height:1.75;color:#555;font-weight:300;margin:0;}
.feat .ft:nth-child(even) .fimg{order:2;}
@media (max-width:700px){.feat .ft{grid-template-columns:1fr;}.feat .ft:nth-child(even) .fimg{order:0;}}
.cta-row{display:flex;flex-wrap:wrap;gap:12px;justify-content:center;padding:14px 20px 70px;}
.cta-row .pill{min-width:190px;padding:11px 20px;}

/* ===== Article ===== */
.article{max-width:852px;margin:0 auto;padding:0 20px 70px;}
.article .abox{background:var(--white);border-radius:12px;padding:34px 40px 38px;}
.article h2{font-size:20px;font-weight:400;margin:26px 0 10px;}
.article h2:first-child{margin-top:0;}
.article p,.article li{font-size:13px;line-height:1.8;color:#444;font-weight:300;}
.article ul{padding-left:18px;}
.article table{width:100%;border-collapse:collapse;font-size:12.5px;margin:10px 0;}
.article td,.article th{border-bottom:1px solid #eee;padding:9px 6px;text-align:left;}
.article th{font-weight:600;}
.article .actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:26px;}
.note{font-size:11px;color:#888;margin-top:18px;}
@media (max-width:560px){.article .abox{padding:24px 20px;}}

/* ===== Forms ===== */
.fcard{max-width:810px;margin:0 auto;background:var(--white);border-radius:12px;padding:14px 16px 22px;}
.frow{margin-bottom:12px;}
.frow label{display:block;font-size:10.5px;margin:8px 0 6px;}
.frow label .req{color:#000;margin-left:3px;}
.frow input,.frow select,.frow textarea{width:100%;height:31px;border:1px solid #ccc;border-radius:4px;padding:0 10px;font-size:12px;background:var(--white);color:#111;}
.frow textarea{height:80px;padding:8px 10px;resize:vertical;}
.frow input[type=date]{width:150px;}
.frow input:focus,.frow select:focus,.frow textarea:focus{outline:none;border-color:#000;}
.fgrid2{display:grid;grid-template-columns:1fr 1fr;gap:0 14px;}
@media (max-width:560px){.fgrid2{grid-template-columns:1fr;}}
.fnote{font-size:10.5px;line-height:1.7;color:#222;margin:14px 0 4px;}
.fnote a{text-decoration:underline;}
.fsend{margin-top:14px;padding:10px 34px;}
.fok{display:none;background:#f1f9e8;border:1px solid #cfe6b5;border-radius:8px;padding:14px;font-size:12px;margin-top:14px;line-height:1.6;}
.fok.show{display:block;}
.form-wrap{padding:0 20px 70px;}

/* ===== Home ===== */
.slider{position:relative;overflow:hidden;background:#dfe6ec;}
.slides{display:flex;transition:transform .6s ease;}
.slide{flex:0 0 100%;position:relative;height:clamp(300px,38.4vw,490px);overflow:hidden;display:block;}
.slide .bg{position:absolute;inset:0;width:100%;height:100%;}
.slide .car{position:absolute;right:6%;bottom:9%;width:56%;max-width:640px;}
.slide .content{position:absolute;left:3%;top:7%;right:3%;color:#fff;}
.s-kicker{font-size:clamp(16px,2.4vw,26px);font-weight:400;line-height:1;}
.s-title{font-size:clamp(28px,5.4vw,64px);font-weight:600;line-height:1.02;margin:2px 0 14px;letter-spacing:.01em;text-transform:uppercase;}
.slash{color:var(--yellow);font-style:italic;font-weight:700;}
.s-list{list-style:none;margin:0;padding:0;font-size:clamp(13px,2vw,23px);line-height:1.6;text-transform:uppercase;}
.s-list li::before{content:"/";color:var(--yellow);font-weight:700;font-style:italic;margin-right:8px;}
.s-box{position:absolute;right:3%;top:12%;background:var(--yellow);color:#000;text-align:center;padding:10px 16px;font-weight:600;line-height:1.05;}
.s-box small{display:block;font-size:clamp(11px,1.6vw,20px);}
.s-box strong{display:block;font-size:clamp(16px,3vw,36px);}
.s-badge{position:absolute;left:3%;bottom:6%;display:flex;align-items:center;gap:4px;color:#000;}
.s-badge .n{font-size:clamp(30px,5vw,58px);font-weight:700;font-style:italic;line-height:.9;}
.s-badge .w{font-size:clamp(13px,2.2vw,26px);line-height:.95;text-transform:uppercase;}
.s-badge .w b{display:block;font-weight:700;}
.s-cta{display:inline-block;margin-top:14px;background:#000;color:#fff;font-size:11px;letter-spacing:.12em;font-weight:600;padding:11px 20px;text-transform:uppercase;}
.arrow{position:absolute;top:50%;transform:translateY(-50%);width:32px;height:32px;border-radius:50%;background:#fff;border:0;cursor:pointer;display:flex;align-items:center;justify-content:center;box-shadow:0 1px 4px rgba(0,0,0,.2);z-index:5;}
.arrow svg{width:12px;height:12px;stroke:#333;fill:none;stroke-width:1.5;}
.arrow.prev{left:16px;}.arrow.next{right:16px;}
.dots{position:absolute;left:50%;bottom:18px;transform:translateX(-50%);background:rgba(90,90,90,.8);border-radius:14px;padding:9px 12px;display:flex;gap:6px;z-index:5;}
.dots button{width:26px;height:2px;border:0;padding:0;background:rgba(255,255,255,.45);cursor:pointer;}
.dots button.active{background:#fff;}
.welcome{text-align:center;padding:66px 20px 64px;background:var(--white);}
.welcome h4{font-size:19px;font-weight:400;margin:0 0 26px;text-transform:uppercase;}
.welcome p{font-size:12.5px;color:var(--muted);font-weight:300;margin:0;}
.grey{background:var(--grey-bg);padding:64px 0 32px;}
.zz{max-width:1026px;margin:0 auto;border-radius:16px;overflow:hidden;background:var(--white);}
.zz-row{display:grid;grid-template-columns:2fr 1fr;min-height:292px;}
.zz-row.rev{grid-template-columns:1fr 2fr;}
.zz-row.rev .zz-img{order:2;}
.zz-img{position:relative;overflow:hidden;min-height:240px;}
.zz-img svg{position:absolute;inset:0;width:100%;height:100%;}
.zz-text{padding:26px 26px 30px;display:flex;flex-direction:column;}
.zz-text h3{font-size:18px;font-weight:400;margin:0 0 20px;}
.zz-text p{font-size:11.5px;line-height:1.7;color:var(--muted);font-weight:300;margin:0;flex:1;}
.zz-text .link-btn{align-self:flex-start;margin:28px 20px 0;}
@media (max-width:760px){.zz-row,.zz-row.rev{grid-template-columns:1fr;}.zz-row.rev .zz-img{order:0;}.grey{padding:32px 16px 24px;}}

/* ===== Location block ===== */
.loc{background:var(--grey-bg);padding:0 0 64px;}
.loc.pt{padding-top:10px;}
.loc-inner{max-width:1068px;margin:0 auto;padding:0 20px;display:grid;grid-template-columns:260px 1fr;gap:52px;align-items:start;}
.loc h2{font-size:16px;font-weight:700;letter-spacing:.02em;margin:0 0 14px;}
.loc-line{display:flex;align-items:center;gap:18px;font-size:11.5px;padding:8px 0;}
.loc-line svg{width:20px;height:20px;stroke:#333;fill:none;stroke-width:1.2;flex:0 0 auto;}
.loc h3{font-size:18px;font-weight:400;margin:22px 0 8px;}
.hours{width:100%;border-collapse:collapse;font-size:10.5px;}
.hours td{padding:5px 6px;vertical-align:top;}
.hours td:first-child{font-weight:600;}
.hours td:last-child{text-align:right;font-size:11.5px;}
.acc{background:var(--white);border-radius:10px;margin-top:8px;overflow:hidden;}
.acc button{width:100%;display:flex;align-items:center;gap:14px;border:0;background:none;cursor:pointer;padding:16px 14px;font-size:12px;font-weight:600;color:#111;text-align:left;}
.acc button .ic{width:24px;height:24px;stroke:#333;fill:none;stroke-width:1.1;flex:0 0 auto;}
.acc button .chev{width:10px;height:10px;margin-left:auto;stroke:#333;fill:none;stroke-width:1.6;transition:transform .2s;}
.acc.open button .chev{transform:rotate(180deg);}
.acc-body{display:none;padding:0 16px 14px;font-size:10.5px;}
.acc.open .acc-body{display:block;}
.acc-body .ph{display:flex;align-items:center;gap:14px;padding:4px 0 10px;}
.acc-body .ph svg{width:13px;height:13px;fill:#111;}
.acc-body table{width:100%;border-collapse:collapse;}
.acc-body td{padding:4px 0;}
.acc-body td:first-child{font-weight:600;}
.acc-body td:last-child{text-align:right;}
.acc-body tr.closed td:last-child{color:#999;}
.map{position:relative;background:#e5e3df;height:440px;overflow:hidden;}
.map .map-art{position:absolute;inset:0;width:100%;height:100%;display:block;}
.map iframe{position:absolute;inset:0;width:100%;height:100%;border:0;display:block;z-index:1;}
.map-open{position:absolute;left:12px;bottom:12px;z-index:2;background:#fff;font-size:11px;font-weight:600;padding:8px 12px;box-shadow:0 1px 4px rgba(0,0,0,.2);}
.map-note{background:var(--white);font-size:10px;line-height:1.6;padding:10px;}
.map-note a{font-weight:700;}
@media (max-width:820px){.loc-inner{grid-template-columns:1fr;gap:28px;}.map{height:320px;}}

/* ===== Sitemap ===== */
.smap ul{list-style:none;padding-left:0;margin:0;}
.smap > ul > li{padding:10px 0;border-bottom:1px solid #eee;}
.smap > ul > li > a{font-weight:600;font-size:13px;}
.smap ul ul{padding:6px 0 0 18px;}
.smap ul ul li{padding:3px 0;font-size:12.5px;font-weight:300;}
.smap a:hover{text-decoration:underline;}

/* ===== Empty / info state ===== */
.empty{max-width:640px;margin:0 auto;background:var(--white);border-radius:12px;padding:40px 30px;text-align:center;}
.empty svg{width:70px;height:70px;stroke:#000;fill:none;stroke-width:2.5;}
.empty h3{font-size:20px;font-weight:400;margin:14px 0 10px;}
.empty p{font-size:12.5px;line-height:1.75;color:#555;font-weight:300;margin:0 0 20px;}
.empty .btns{display:flex;gap:10px;justify-content:center;flex-wrap:wrap;}

/* ===== Footer ===== */
footer{background:var(--footer);color:#fff;padding:18px 0 22px;}
.f-inner{max-width:1068px;margin:0 auto;padding:0 20px;}
.f-rule{border-top:1px solid #555;margin-bottom:10px;}
.f-links{display:flex;flex-wrap:wrap;align-items:center;font-size:10px;font-weight:700;text-transform:uppercase;line-height:1;}
.f-links a,.f-links button{padding:12px 0;background:none;border:0;color:#fff;font:inherit;cursor:pointer;text-transform:uppercase;}
.f-links a:hover,.f-links button:hover{text-decoration:underline;}
.f-links .sep{margin:0 8px;font-weight:400;}
.f-copy{font-size:10px;color:#9a9a9a;margin-top:10px;}

/* ===== Sticky bottom bar (boxed) ===== */
.bottom-bar{position:fixed;left:50%;transform:translateX(-50%);width:min(100%,var(--box));bottom:0;z-index:50;background:var(--yellow);padding-bottom:env(safe-area-inset-bottom,0px);}
.bb-inner{display:grid;grid-template-columns:repeat(5,1fr);height:58px;}
.bottom-bar a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;font-size:9.5px;color:#222;}
.bottom-bar svg{width:24px;height:24px;stroke:#222;fill:none;stroke-width:1.1;}
.bottom-bar a:hover{background:rgba(0,0,0,.05);}
@media (max-width:480px){.bottom-bar a{font-size:8.5px;text-align:center;line-height:1.1;}}
.to-top{position:fixed;right:max(20px,calc((100vw - var(--box))/2 + 20px));bottom:calc(78px + env(safe-area-inset-bottom,0px));width:42px;height:42px;border-radius:50%;background:#fff;border:1px solid #eee;box-shadow:0 1px 6px rgba(0,0,0,.12);display:none;align-items:center;justify-content:center;cursor:pointer;z-index:49;}
.to-top.show{display:flex;}
.to-top svg{width:14px;height:14px;stroke:#333;fill:none;stroke-width:1.4;}

/* ===== Cookie bar ===== */
.cookie{position:fixed;left:50%;transform:translateX(-50%);bottom:calc(66px + env(safe-area-inset-bottom,0px));width:min(94%,760px);background:#fff;border-radius:10px;box-shadow:0 4px 24px rgba(0,0,0,.18);padding:16px 18px;z-index:70;display:none;font-size:11.5px;line-height:1.6;}
.cookie.show{display:block;}
.cookie .cb{display:flex;gap:10px;justify-content:flex-end;margin-top:10px;flex-wrap:wrap;}

/* ===== CMS additions ===== */
.page-hero .photo,.cimg .photo,.zz-img .photo,.simg .photo,.gmain .photo,.fimg .photo{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block;}
.slide .bg.photo{object-fit:cover;}
.slide .shade{position:absolute;inset:0;background:linear-gradient(90deg,rgba(0,0,0,.5),rgba(0,0,0,.05) 65%);}
.slide .content.dark-text{color:#111;}
.mimg img.cthumb{max-width:100%;max-height:120px;object-fit:contain;}
.mprice{font-size:12px;color:#555;margin:-22px 0 18px;}
.logo-img{height:38px;width:auto;display:block;}
.hp{position:absolute!important;left:-9999px!important;width:1px;height:1px;overflow:hidden;}
.fok.err{background:#fdecec;border-color:#f3c2c2;}
.fsend:disabled{opacity:.6;cursor:wait;}
.rich img{max-width:100%;height:auto;border-radius:8px;}
.rich a{text-decoration:underline;}
.rich h3{font-size:16px;font-weight:600;margin:20px 0 8px;}
.rich blockquote{margin:16px 0;padding:6px 16px;border-left:4px solid var(--yellow);color:#444;}
/* stock & used cars */
.sbar{max-width:1026px;margin:-22px auto 18px;padding:0 20px;display:flex;justify-content:space-between;align-items:center;gap:12px;font-size:12px;color:#555;flex-wrap:wrap;}
.sbar select{height:30px;border:1px solid #ccc;border-radius:4px;padding:0 8px;font-size:12px;margin-left:6px;background:#fff;}
.sgrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;max-width:1026px;margin:0 auto;padding:0 20px 70px;}
.scard{background:var(--white);border-radius:12px;overflow:hidden;display:flex;flex-direction:column;}
.simg{position:relative;display:block;aspect-ratio:4/3;background:#eef0f2;overflow:hidden;}
.simg svg.scene{position:absolute;inset:0;width:100%;height:100%;}
.sold{position:absolute;left:12px;top:12px;background:#000;color:var(--yellow);font-size:11px;font-weight:700;letter-spacing:.1em;padding:5px 10px;border-radius:4px;z-index:2;}
.sbody{padding:14px 16px 16px;display:flex;flex-direction:column;gap:4px;flex:1;}
.sbody h3{font-size:18px;font-weight:400;margin:0;}
.sver{font-size:12px;color:#666;}
.smeta{font-size:11.5px;color:#666;margin-top:4px;}
.sprice{font-size:20px;font-weight:600;margin:10px 0 12px;flex:1;display:flex;align-items:flex-end;}
@media (max-width:900px){.sgrid{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media (max-width:560px){.sgrid{grid-template-columns:1fr;}}
.vd{max-width:1026px;margin:0 auto;padding:18px 20px 24px;display:grid;grid-template-columns:1.5fr 1fr;gap:26px;align-items:start;}
.gmain{position:relative;aspect-ratio:4/3;border-radius:12px;overflow:hidden;background:#eef0f2;}
.gmain svg.scene{position:absolute;inset:0;width:100%;height:100%;}
.gthumbs{display:flex;gap:8px;margin-top:10px;overflow-x:auto;padding-bottom:4px;}
.gthumb{flex:0 0 86px;height:64px;border:2px solid transparent;border-radius:6px;overflow:hidden;padding:0;cursor:pointer;background:#ddd;}
.gthumb.on{border-color:#000;}
.gthumb img{width:100%;height:100%;object-fit:cover;display:block;}
.vinfo{background:var(--white);border-radius:12px;padding:24px;}
.vinfo h1{font-size:26px;font-weight:400;margin:0 0 4px;}
.vprice{font-size:28px;font-weight:600;margin:16px 0 2px;}
.vnote{font-size:11.5px;color:#666;}
.vspec{width:100%;border-collapse:collapse;font-size:12.5px;margin:16px 0 18px;}
.vspec td{padding:8px 0;border-bottom:1px solid #eee;}
.vspec td:last-child{text-align:right;font-weight:600;}
.vbtns{display:flex;flex-direction:column;gap:8px;}
.vbtns .pill{padding:11px 16px;}
.crumbs{padding:18px 53px 0;}
@media (max-width:820px){.vd{grid-template-columns:1fr;}.crumbs{padding:14px 20px 0;}}

/* ready-made banners (slide option "samo slika") */
.slides{align-items:flex-start;}
.slide.plain{height:auto;}
.slide.plain .bg.photo{position:static;display:block;width:100%;height:auto;}
.slider.photos{background:var(--grey-bg);}
.slider.photos .dots{position:static;transform:none;margin:12px auto;width:max-content;}
.slider.photos .arrow{top:calc(50% - 26px);}

/* model pages: own photos, dark title, gallery, lightbox */
.page-hero.dark .ph-title{color:#111;text-shadow:none;}
.mimg img.cthumb{max-height:130px;}
.feat .ft.hasimg .fimg{min-height:0;aspect-ratio:16/9;}
.feat .ft.hasimg{align-items:center;}
.gal-wrap{max-width:852px;margin:6px auto 0;padding:0 20px 10px;}
.gal-h{font-size:22px;font-weight:300;text-align:center;margin:18px 0 18px;}
.gal{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;}
.gal-it{border:0;padding:0;cursor:zoom-in;border-radius:10px;overflow:hidden;aspect-ratio:16/9;background:#e9ebed;}
.gal-it img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .3s;}
.gal-it:hover img{transform:scale(1.04);}
@media (max-width:560px){.gal{grid-template-columns:repeat(2,1fr);}}
.lb{position:fixed;inset:0;z-index:200;background:rgba(0,0,0,.92);display:flex;align-items:center;justify-content:center;}
.lb img{max-width:92vw;max-height:84vh;object-fit:contain;border-radius:4px;}
.lb button{position:absolute;background:rgba(255,255,255,.12);color:#fff;border:0;cursor:pointer;width:46px;height:46px;border-radius:50%;font-size:30px;line-height:1;display:flex;align-items:center;justify-content:center;}
.lb button:hover{background:rgba(255,255,255,.25);}
.lb-x{top:16px;right:16px;}
.lb-p{left:16px;top:50%;transform:translateY(-50%);}
.lb-n{right:16px;top:50%;transform:translateY(-50%);}
.lb-c{position:absolute;bottom:18px;left:0;right:0;text-align:center;color:#ddd;font-size:13px;}

/* model hero photo: whole image in its own proportions, info card below it (badges in the photo stay visible) */
.page-hero.photo-hero{height:auto;}
.page-hero.photo-hero .scene.photo{position:static;display:block;width:100%;height:auto;}
.page-hero.photo-hero + .page .icard{top:0;margin-top:22px;}
