/*
Theme Name: AvtoMoto Pro Cista V19
Author: REBERNIK
Description: Cista samostojna WooCommerce tema. Ne spreminja izdelkov, narocil ali placil.
Version: 19.0.0
Requires PHP: 7.4
Text Domain: avtomoto-pro-cista
*/
:root{--navy:#0b3155;--red:#ed171e;--muted:#5b6876;--soft:#f4f7fa}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#fff;color:#172e46;font:15px/1.5 Arial,Helvetica,sans-serif}a{text-decoration:none;color:inherit}img{max-width:100%;height:auto}button,input,select,textarea{font:inherit}.wrap{max-width:1180px;margin:0 auto;padding:0 20px}
.site-header{background:#fff;position:relative;z-index:5}.header-main{min-height:88px;display:flex;align-items:center;gap:24px}.site-logo{display:block;flex:0 0 205px}.site-logo img{display:block;width:100%}.searchform{display:flex;flex:1;overflow:hidden;border:1px solid #ccd6e0;border-radius:6px}.searchform input[type=search]{flex:1;min-width:70px;border:0;padding:11px}.searchform button{border:0;background:var(--navy);color:white;padding:0 20px;cursor:pointer}.header-links{display:flex;gap:18px;white-space:nowrap;font-size:12px;text-align:center}.nav{background:var(--navy);color:white}.nav-inner{display:flex;overflow-x:auto}.nav a{white-space:nowrap;font-size:12px;font-weight:700;padding:12px 13px}.nav a:hover{background:#184d7b}
.hero{background:#f3f6f9;min-height:350px;overflow:hidden}.hero-layout{display:grid;grid-template-columns:1fr 1fr;min-height:350px;align-items:stretch}.hero-copy{padding:32px 26px 26px 0;align-self:center}.hero h1{font-size:clamp(29px,3vw,43px);line-height:1.13;color:var(--navy);margin:0 0 15px;font-weight:900}.hero h1 em{font-style:normal;color:var(--red)}.hero p{font-size:15px;max-width:450px;margin:0 0 17px}.hero-photo{min-height:350px;background:url('assets/hero.jpg') center center/cover no-repeat}.btn{display:inline-block;background:var(--red);color:#fff;border-radius:5px;padding:11px 17px;font-size:13px;font-weight:800;border:0;cursor:pointer}.btn:hover{background:#ca1018}.trust{display:flex;gap:7px;flex-wrap:wrap;margin-top:15px;font-size:11px;font-weight:700}.trust span{background:#fff;padding:6px 8px;border-radius:4px}
.section{padding:18px 0}.pixsel-main{position:relative;min-height:265px;overflow:hidden;border-radius:8px;background:#e8eef3 url('assets/pixsel.jpg') right center/cover no-repeat;padding:27px 28px}.pixsel-main:before{content:'';position:absolute;inset:0;background:linear-gradient(90deg,rgba(247,250,252,.98),rgba(247,250,252,.92) 27%,rgba(247,250,252,.03) 68%)}.pixsel-main>*{position:relative;z-index:1}.pixsel-logo{width:112px;max-height:60px;object-fit:contain;object-position:left}.pixsel-main h2{color:var(--navy);font-size:23px;margin:8px 0}.pixsel-main p{font-size:15px;max-width:260px;margin:0 0 14px}
.cards{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:9px}.card{border:1px solid #e3e8ee;border-radius:8px;overflow:hidden;box-shadow:0 3px 12px #172e460c}.card img{display:block;width:100%;height:108px;object-fit:cover}.card-body{padding:10px}.card h3{font-size:12px;line-height:1.3;color:var(--navy);margin:0 0 5px}.card p{font-size:11px;color:var(--muted);margin:0}.products{background:var(--soft);padding:18px;border-radius:9px}.products h2{margin:0 0 16px;color:var(--navy)}.product-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.product{background:white;border-radius:7px;padding:12px}.product img{display:block;width:100%;height:120px;object-fit:contain}.product h3{font-size:13px;line-height:1.4;min-height:38px;margin:8px 0}.price{color:var(--red);font-weight:700}.benefits{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;text-align:center;padding:24px 20px;font-weight:700;font-size:13px;color:var(--navy)}
.travel{position:relative;max-width:1140px;min-height:245px;margin:0 auto 0;overflow:hidden;border-radius:8px;background:#24394c url('assets/travel.jpg') center center/cover no-repeat;color:#fff;display:flex;align-items:center}.travel:before{content:'';position:absolute;inset:0;background:linear-gradient(90deg,rgba(8,29,46,.82),rgba(8,29,46,.25) 53%,transparent)}.travel .wrap{width:100%;position:relative;z-index:1}.travel h2{font-size:26px;margin:0 0 7px;max-width:550px}.travel p{font-size:16px;margin:0 0 14px;max-width:550px}.site-footer{background:#102b45;color:#dbe5ee;padding:40px 0}.footer-grid{display:grid;grid-template-columns:2fr repeat(3,1fr);gap:25px}.footer-grid h3{color:white;margin-top:0}.footer-grid a{display:block;margin:7px 0;font-size:14px}.footer-logo{max-width:230px;background:#fff;padding:8px;border-radius:5px}
.content{padding:35px 20px;min-height:350px}.content h1{color:var(--navy)}.ppf-detail-page{background:#f5f7fa;padding:35px 0 45px}.ppf-eyebrow{font-size:12px;font-weight:800;letter-spacing:.08em;color:var(--red)}.ppf-intro h1{font-size:clamp(28px,3vw,40px);color:var(--navy);margin:6px 0 10px}.request{padding:10px 0}.request h2{color:var(--navy)}.request-form{background:#fff;padding:25px;border-radius:9px;max-width:900px;box-shadow:0 5px 20px #12263b15}.fields{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}.request-form label{display:block;font-size:14px;font-weight:700}.request-form input,.request-form textarea,.request-form select{display:block;width:100%;margin-top:5px;padding:11px;border:1px solid #ccd6df;border-radius:5px}.request-form textarea{min-height:100px}.request-form .full{grid-column:span 2}.request-form small{color:var(--muted)}.notice{background:#e2f5e8;padding:12px;border-radius:5px}.woocommerce .button,.woocommerce button.button,.woocommerce a.button{background:var(--navy)!important;color:#fff!important}.woocommerce ul.products li.product .price{color:var(--red)}
@media(max-width:1000px){.cards{grid-template-columns:repeat(3,minmax(0,1fr))}.header-main{gap:12px}.site-logo{flex-basis:170px}.header-links{gap:8px}}
@media(max-width:700px){.wrap{padding:0 14px}.header-main{flex-wrap:wrap;padding:12px 0}.site-logo{flex-basis:165px}.header-links{margin-left:auto}.searchform{order:3;flex-basis:100%}.nav a{padding:11px}.hero-layout{grid-template-columns:1fr}.hero-copy{padding:24px 0}.hero h1{font-size:30px}.hero-photo{min-height:210px;order:-1}.pixsel-main{min-height:265px;background-position:60% center;padding:22px}.pixsel-main:before{background:linear-gradient(90deg,rgba(247,250,252,.97),rgba(247,250,252,.77) 52%,rgba(247,250,252,.05))}.cards{grid-template-columns:repeat(2,minmax(0,1fr))}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.benefits{grid-template-columns:repeat(2,1fr)}.travel{min-height:260px;border-radius:0}.footer-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.fields{grid-template-columns:1fr}.request-form .full{grid-column:auto}}

/* V02: PIXSEL gallery, accurate photo aspect ratios and compact footer */
.pixsel{display:grid;grid-template-columns:minmax(0,2.25fr) minmax(0,1fr);gap:12px;align-items:stretch}
.pixsel-main{min-height:240px;background-size:cover;background-position:center center}
.pixsel-side{display:grid;grid-template-rows:1fr 1fr;gap:10px;min-height:240px;min-width:0}
.pixsel-side img{width:100%;height:115px;object-fit:cover;display:block;border-radius:7px}
.pixsel-section{padding-top:15px;padding-bottom:12px}
.hero-photo{background-position:center center}
.travel{margin-bottom:0;min-height:205px;background-position:center center}
.site-footer{padding:25px 0 20px}
.footer-grid{gap:20px}
@media(max-width:700px){.pixsel{grid-template-columns:1fr}.pixsel-main{min-height:240px}.pixsel-side{grid-template-columns:1fr 1fr;grid-template-rows:1fr;min-height:0}.pixsel-side img{height:120px}.travel{min-height:215px}}

/* V03 – enotna svetlo siva podlaga, beli poudarjeni bloki, nizji spodnji rob. */
body{background:#eef2f6}
.site-header{background:#fff}
.hero{background:transparent;min-height:0;padding:12px 0 0;overflow:visible}
.hero-layout{background:#fff;min-height:290px;border-radius:9px;overflow:hidden;box-shadow:0 1px 3px #17324a0b}
.hero-copy{padding:22px 24px}
.hero-photo{min-height:290px}
.hero h1{font-size:clamp(28px,2.8vw,39px)}
.section{padding:12px 0}
.pixsel-section{padding-top:12px;padding-bottom:6px}
.pixsel-main{min-height:220px;background-color:#fff}
.pixsel-side{min-height:220px}
.pixsel-side img{height:105px}
.card{background:#fff}
.products{background:#e5ebf1;padding:14px}
.products h2{margin-bottom:10px;font-size:22px}
.benefits{background:#fff;border-radius:7px;margin-top:8px;margin-bottom:8px;padding:12px 20px}
.travel{min-height:175px;margin-bottom:0}
.travel h2{font-size:23px}
.travel p{font-size:14px;margin-bottom:9px}
.site-footer{padding:16px 0 12px}
.footer-grid{gap:16px;align-items:start}
.footer-grid h3{margin:0 0 6px;font-size:16px}
.footer-grid a{margin:4px 0;font-size:13px}
.footer-logo{max-width:185px}
@media(max-width:700px){
 .hero{padding-top:8px}
 .hero-layout{grid-template-columns:1fr;min-height:0}
 .hero-copy{padding:20px}
 .hero-photo{min-height:195px}
 .pixsel-main{min-height:235px}
 .pixsel-side{min-height:0}
 .pixsel-side img{height:115px}
 .benefits{margin:8px 14px;padding:12px}
 .travel{min-height:190px;border-radius:7px;margin:0 14px}
 .site-footer{padding:18px 0 12px}
}

/* V04 – WooCommerce katalog: levi meni in urejene kartice; zacetna stran ostane enaka. */
.shop-layout{display:grid;grid-template-columns:225px minmax(0,1fr);gap:22px;align-items:start;padding-top:26px;padding-bottom:26px}
.shop-sidebar{background:#fff;border:1px solid #e2e8ef;border-radius:11px;padding:18px;box-shadow:0 2px 8px #142e4810}
.shop-sidebar h2{font-size:17px;color:var(--navy);margin:0 0 12px}
.shop-sidebar h3{font-size:13px;margin:18px 0 8px;color:var(--navy)}
.shop-sidebar ul{list-style:none;padding:0;margin:0}.shop-sidebar li{border-bottom:1px solid #edf0f4}.shop-sidebar li:last-child{border:0}
.shop-sidebar li a{display:block;padding:9px 4px;font-size:13px;color:#193954}.shop-sidebar li a:hover,.shop-sidebar li.current-cat>a{color:var(--red);font-weight:700}
.shop-sidebar .shop-price{display:grid;grid-template-columns:1fr 1fr;gap:8px}.shop-sidebar input{min-width:0;width:100%;padding:8px;border:1px solid #d5dde5;border-radius:6px}
.shop-sidebar button{background:var(--navy);border:0;border-radius:6px;color:#fff;padding:9px 12px;margin-top:9px;cursor:pointer;font-weight:700}
.shop-results{min-width:0}.shop-results h1,.shop-results .woocommerce-products-header__title{font-size:27px;margin:0 0 14px;color:var(--navy)}
.shop-results .woocommerce-result-count{font-size:13px;margin:5px 0 16px}.shop-results .woocommerce-ordering select{border:1px solid #d6dee7;border-radius:6px;padding:8px;background:white}
.shop-results .woocommerce ul.products{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:0;clear:both}
.shop-results .woocommerce ul.products:before,.shop-results .woocommerce ul.products:after{display:none}
.shop-results .woocommerce ul.products li.product{float:none!important;width:auto!important;margin:0!important;background:#fff;border:1px solid #e4e9ef;border-radius:12px;overflow:hidden;padding:12px 12px 15px;box-shadow:0 3px 12px #122a4210;display:flex;flex-direction:column;min-width:0;transition:transform .18s,box-shadow .18s}
.shop-results .woocommerce ul.products li.product:hover{transform:translateY(-2px);box-shadow:0 7px 20px #122a421b}
.shop-results .woocommerce ul.products li.product a img{height:190px;width:100%;object-fit:contain;background:#fff;border-radius:9px;margin:0 0 10px}
.shop-results .woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:14px;line-height:1.4;min-height:58px;color:var(--navy);padding:0;margin:3px 0 7px}
.shop-results .woocommerce ul.products li.product .price{font-size:15px;font-weight:800;color:var(--red);margin:0 0 9px}
.shop-results .woocommerce ul.products li.product .button{display:inline-block;border-radius:6px!important;font-size:12px;padding:11px 12px!important;margin:7px 0 0!important;text-align:center}
.shop-results .woocommerce ul.products li.product .onsale{top:10px;right:10px;left:auto;margin:0;background:var(--red);font-size:11px;min-height:0;line-height:1.3;padding:7px 9px;border-radius:20px}
.shop-results .woocommerce nav.woocommerce-pagination{margin:25px 0}
.shop-sidebar-toggle{display:none}
@media(max-width:1000px){.shop-layout{grid-template-columns:190px minmax(0,1fr);gap:15px}.shop-results .woocommerce ul.products{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.shop-layout{display:block;padding-top:14px}.shop-sidebar-toggle{display:block;width:100%;text-align:left;border:1px solid #cdd9e4;background:#fff;border-radius:7px;padding:12px;margin-bottom:10px;font-weight:700;color:var(--navy)}.shop-sidebar{display:none;margin-bottom:14px}.shop-sidebar.is-open{display:block}.shop-results .woocommerce ul.products{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.shop-results .woocommerce ul.products li.product{padding:8px}.shop-results .woocommerce ul.products li.product a img{height:125px}.shop-results .woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:12px;min-height:66px}.shop-results .woocommerce ul.products li.product .button{font-size:11px;padding:9px 6px!important}.shop-results h1{font-size:23px}}

/* V05 – kartice izdelkov, brez primerjave. */
.shop-results .woocommerce ul.products{align-items:stretch;gap:17px!important}
.shop-results .woocommerce ul.products li.product{background:#fff!important;border:1px solid #e0e7ee!important;border-radius:14px!important;padding:13px!important;box-shadow:0 4px 15px rgba(12,41,70,.08)!important;display:flex!important;flex-direction:column!important;align-items:stretch!important;min-height:100%}
.shop-results .woocommerce ul.products li.product > a.woocommerce-LoopProduct-link{display:block;flex:1 0 auto;min-width:0}
.shop-results .woocommerce ul.products li.product a img{border-radius:10px!important;height:185px!important;object-fit:contain!important;margin-bottom:12px!important}
.shop-results .woocommerce ul.products li.product .woocommerce-loop-product__title{min-height:58px;line-height:1.4!important;margin:6px 0!important}
.shop-results .woocommerce ul.products li.product .price{margin:8px 0 13px!important}
.shop-results .woocommerce ul.products li.product .button{display:block!important;width:100%!important;max-width:none!important;margin:8px 0 0!important;padding:11px 8px!important;text-align:center!important;line-height:1.35!important;border-radius:7px!important}
.shop-results .woocommerce ul.products li.product .added_to_cart{display:block;text-align:center;padding:8px}
/* Primerjava se ne prikazuje v katalogu ali na strani izdelka. */
a.compare,button.compare,.compare.button,.compare-btn,.compare-button,.yith-woocompare-button,.yith-wcwl-compare,.woosc-btn,.wpc-compare-btn,.wpc-compare-button,.wpc-compare,.wpc-compare-product,.wpcp-compare-button,[data-compare-product-id],[class*="compare-product-button"]{display:none!important}
@media(max-width:700px){.shop-results .woocommerce ul.products{gap:10px!important}.shop-results .woocommerce ul.products li.product{padding:9px!important;border-radius:11px!important}.shop-results .woocommerce ul.products li.product a img{height:125px!important}.shop-results .woocommerce ul.products li.product .woocommerce-loop-product__title{min-height:65px}}

/* V06: sidebar on single product pages; uniform catalog cards; quick-view stays. */
.shop-layout-single .shop-results .woocommerce div.product{display:flow-root;width:100%;min-width:0;background:#fff;border:1px solid #e0e7ee;border-radius:14px;padding:22px;box-shadow:0 3px 14px rgba(12,41,70,.06)}
.shop-layout-single .shop-results .woocommerce div.product div.images{width:46%;margin-bottom:22px}
.shop-layout-single .shop-results .woocommerce div.product div.summary{width:50%;margin-bottom:22px}
.shop-layout-single .shop-results .woocommerce div.product .product_title{font-size:clamp(22px,2.1vw,30px);line-height:1.2;color:var(--navy)}
.shop-layout-single .shop-results .woocommerce div.product .woocommerce-product-gallery img{max-height:370px;object-fit:contain}
.shop-layout-single .shop-results .woocommerce div.product .woocommerce-tabs{clear:both}
.shop-layout-single .shop-results .woocommerce div.product .related{clear:both}
.shop-results .woocommerce ul.products li.product{height:100%;position:relative}
.shop-results .woocommerce ul.products li.product .woocommerce-loop-product__title{min-height:0!important}
.shop-results .woocommerce ul.products li.product > a.woocommerce-LoopProduct-link{flex:1 1 auto!important}
.shop-results .woocommerce ul.products li.product .button{margin-top:8px!important}
.shop-results .woocommerce ul.products li.product .button:last-child{margin-top:8px!important}
@media(max-width:700px){
 .shop-layout-single .shop-results .woocommerce div.product{padding:13px}
 .shop-layout-single .shop-results .woocommerce div.product div.images,
 .shop-layout-single .shop-results .woocommerce div.product div.summary{float:none;width:100%;margin-bottom:15px}
 .shop-layout-single .shop-results .woocommerce div.product .woocommerce-product-gallery img{max-height:280px}
}

/* V07 – katalog: manjse fotografije in gumbi, poravnane kartice. */
.shop-results .woocommerce ul.products{gap:12px!important;align-items:stretch!important}
.shop-results .woocommerce ul.products li.product{box-sizing:border-box!important;display:flex!important;flex-direction:column!important;height:100%!important;min-height:0!important;padding:12px!important;border-radius:12px!important;overflow:hidden!important;background:#fff!important}
.shop-results .woocommerce ul.products li.product > a.woocommerce-LoopProduct-link{display:flex!important;flex-direction:column!important;flex:1 1 auto!important;min-width:0!important}
.shop-results .woocommerce ul.products li.product a img{display:block!important;box-sizing:border-box!important;width:100%!important;height:145px!important;object-fit:contain!important;object-position:center!important;padding:9px!important;margin:0 0 8px!important;border-radius:10px!important;background:#fff!important}
.shop-results .woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:13px!important;line-height:1.35!important;min-height:53px!important;margin:5px 0 7px!important}
.shop-results .woocommerce ul.products li.product .price{font-size:13px!important;margin:0 0 10px!important}
.shop-results .woocommerce ul.products li.product .button,.shop-results .woocommerce ul.products li.product a.button{width:auto!important;max-width:100%!important;align-self:flex-start!important;display:inline-flex!important;justify-content:center!important;align-items:center!important;padding:7px 10px!important;margin:5px 0 0!important;font-size:11px!important;line-height:1.25!important;min-height:30px!important;border-radius:5px!important;white-space:normal!important}
.shop-results .woocommerce ul.products li.product > .button:first-of-type{margin-top:auto!important}
.shop-results .woocommerce ul.products li.product .onsale{z-index:2}
@media(max-width:700px){.shop-results .woocommerce ul.products{gap:9px!important}.shop-results .woocommerce ul.products li.product{padding:8px!important}.shop-results .woocommerce ul.products li.product a img{height:112px!important;padding:5px!important}.shop-results .woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:12px!important;min-height:60px!important}.shop-results .woocommerce ul.products li.product .button,.shop-results .woocommerce ul.products li.product a.button{font-size:10px!important;padding:6px 8px!important;min-height:28px!important}}


/* V08 – enotna višina kartic, poravnane cene in manjši gumbi. */
.shop-results .woocommerce ul.products{align-items:stretch!important;grid-auto-rows:1fr}
.shop-results .woocommerce ul.products li.product{height:100%!important;min-height:0!important;display:flex!important;flex-direction:column!important;padding:11px!important;border-radius:12px!important}
.shop-results .woocommerce ul.products li.product > a.woocommerce-LoopProduct-link{display:flex!important;flex-direction:column!important;flex:1 1 auto!important;min-height:0!important}
.shop-results .woocommerce ul.products li.product a img{height:142px!important;max-height:142px!important;width:100%!important;object-fit:contain!important;padding:8px!important;border-radius:10px!important}
.shop-results .woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:12px!important;line-height:1.35!important;min-height:49px!important;margin:6px 0!important;overflow-wrap:anywhere}
.shop-results .woocommerce ul.products li.product .price{margin-top:auto!important;margin-bottom:8px!important;font-size:12px!important;line-height:1.4!important}
.shop-results .woocommerce ul.products li.product .button,.shop-results .woocommerce ul.products li.product a.button{font-size:11px!important;line-height:1.25!important;padding:7px 10px!important;min-height:29px!important;border-radius:6px!important;margin:5px 0 0!important;align-self:flex-start!important;width:auto!important;max-width:100%!important;text-align:center!important}
.shop-results .woocommerce ul.products li.product > .button:first-of-type{margin-top:7px!important}
.shop-results .woocommerce ul.products li.product .onsale{top:8px!important;right:8px!important}
@media(max-width:700px){.shop-results .woocommerce ul.products li.product{padding:8px!important}.shop-results .woocommerce ul.products li.product a img{height:110px!important;max-height:110px!important;padding:4px!important}.shop-results .woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:11px!important;min-height:60px!important}.shop-results .woocommerce ul.products li.product .button,.shop-results .woocommerce ul.products li.product a.button{font-size:10px!important;padding:6px 7px!important;min-height:27px!important}}



/* V10: stabilna mreza WooCommerce. Pravila veljajo samo za katalog. */
.shop-layout:not(.shop-layout-single) .shop-results ul.products,
.shop-layout:not(.shop-layout-single) .shop-results .woocommerce ul.products {
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:16px!important;
  grid-auto-flow:row!important;
  align-items:stretch!important;
  clear:both!important;
  margin:0!important;
  padding:0!important;
  list-style:none!important;
}
.shop-layout:not(.shop-layout-single) .shop-results ul.products::before,
.shop-layout:not(.shop-layout-single) .shop-results ul.products::after {display:none!important;content:none!important}
.shop-layout:not(.shop-layout-single) .shop-results ul.products > li.product {
  float:none!important;clear:none!important;width:auto!important;max-width:none!important;
  margin:0!important;min-width:0!important;height:100%!important;
  display:flex!important;flex-direction:column!important;
  background:#fff!important;border:1px solid #e0e7ee!important;border-radius:12px!important;
  padding:10px!important;box-sizing:border-box!important;overflow:hidden!important;
}
.shop-layout:not(.shop-layout-single) .shop-results ul.products > li.product > a.woocommerce-LoopProduct-link {
  display:flex!important;flex-direction:column!important;flex:1 1 auto!important;min-width:0!important;
}
.shop-layout:not(.shop-layout-single) .shop-results ul.products > li.product a img {
  width:100%!important;height:136px!important;max-height:136px!important;
  object-fit:contain!important;object-position:center!important;border-radius:9px!important;
  padding:6px!important;box-sizing:border-box!important;margin:0 0 9px!important;
}
.shop-layout:not(.shop-layout-single) .shop-results ul.products > li.product .woocommerce-loop-product__title {
  font-size:12px!important;line-height:1.35!important;min-height:49px!important;
  padding:0!important;margin:4px 0 6px!important;
}
.shop-layout:not(.shop-layout-single) .shop-results ul.products > li.product .price {
  margin-top:auto!important;margin-bottom:8px!important;font-size:12px!important;
}
.shop-layout:not(.shop-layout-single) .shop-results ul.products > li.product .button {
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  align-self:flex-start!important;width:auto!important;max-width:100%!important;
  min-height:28px!important;padding:6px 9px!important;margin:5px 0 0!important;
  font-size:11px!important;line-height:1.2!important;border-radius:6px!important;
}
@media(max-width:1150px){
 .shop-layout:not(.shop-layout-single) .shop-results ul.products,
 .shop-layout:not(.shop-layout-single) .shop-results .woocommerce ul.products{grid-template-columns:repeat(3,minmax(0,1fr))!important}
}
@media(max-width:900px){
 .shop-layout:not(.shop-layout-single) .shop-results ul.products,
 .shop-layout:not(.shop-layout-single) .shop-results .woocommerce ul.products{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:520px){
 .shop-layout:not(.shop-layout-single) .shop-results ul.products,
 .shop-layout:not(.shop-layout-single) .shop-results .woocommerce ul.products{gap:9px!important}
 .shop-layout:not(.shop-layout-single) .shop-results ul.products > li.product{padding:8px!important}
 .shop-layout:not(.shop-layout-single) .shop-results ul.products > li.product a img{height:110px!important;max-height:110px!important}
}

/* V12 – PPF izbira vozila; ne posega v potrjen izgled domace strani. */
.ppf-selector-section{padding:16px 0 28px}
.ppf-selector-section .wrap{max-width:1100px}
.ppf-selector-section h2{margin:0 0 10px}
.ppf-selector-embed{background:#fff;border:1px solid #e2e9ef;border-radius:12px;padding:18px;margin-top:16px;min-width:0}
.ppf-selector-embed *{max-width:100%;box-sizing:border-box}
@media(max-width:700px){.ppf-selector-embed{padding:10px}}

/* V13: WordPress glavni meni ima enako postavitev kot prejsnje fiksne povezave. */
.nav-inner .avtomoto-top-menu{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:0;list-style:none;margin:0;padding:0;width:100%}
.nav-inner .avtomoto-top-menu li{list-style:none;margin:0;padding:0}
.nav-inner .avtomoto-top-menu li a{display:block;text-decoration:none}

/* V14: expandable nested WooCommerce product categories in the left shop sidebar. */
.shop-sidebar .shop-category-tree details{margin:0}
.shop-sidebar .shop-category-tree summary{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:9px 4px;cursor:pointer;font-size:13px;color:#193954;list-style:none;user-select:none}
.shop-sidebar .shop-category-tree summary::-webkit-details-marker{display:none}
.shop-sidebar .shop-category-tree summary:hover,.shop-sidebar .shop-category-tree summary:focus-visible{color:var(--red)}
.shop-sidebar .shop-category-tree .shop-cat-chevron{font-size:14px;flex:0 0 auto;transition:transform .15s ease}
.shop-sidebar .shop-category-tree details[open]>summary .shop-cat-chevron{transform:rotate(180deg)}
.shop-sidebar .shop-category-tree .shop-subcategories{margin:0 0 4px 10px;padding:0 0 0 9px;border-left:2px solid #e5edf4}
.shop-sidebar .shop-category-tree .shop-subcategories li{border-bottom:0}
.shop-sidebar .shop-category-tree .shop-subcategories a,.shop-sidebar .shop-category-tree .shop-subcategories summary{padding:7px 4px;font-size:12px}
.shop-sidebar .shop-category-tree li.current-cat>a,.shop-sidebar .shop-category-tree li.current-cat>details>summary{color:var(--red);font-weight:700}
.shop-sidebar .shop-category-tree summary:focus-visible{outline:2px solid var(--navy);outline-offset:2px}

/* V17 - vec kosov PPF */
.request-form .amp-ppf-parts{grid-column:1/-1;border:1px solid #dce5ed;border-radius:12px;padding:14px 16px;margin:0;min-width:0}
.request-form .amp-ppf-parts legend{font-weight:700;padding:0 6px}
.amp-ppf-parts-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px 14px}
.request-form .amp-ppf-part{display:flex;align-items:center;gap:8px;font-weight:400;cursor:pointer}
.request-form .amp-ppf-part input[type=checkbox]{width:17px;height:17px;flex:0 0 17px;margin:0;accent-color:#ed171e}
@media(max-width:720px){.amp-ppf-parts-grid{grid-template-columns:1fr 1fr}}
@media(max-width:420px){.amp-ppf-parts-grid{grid-template-columns:1fr}}
