/* Trak »Odaberite svoje vozilo« in kartica na strani izdelka (cae-carbar.php) – oblika kot izbirnik na prvi strani */
.cae-cb-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.cae-cb .cae-cb-iz { margin: 0 !important; padding: 0 !important; background: none !important; border: 0 !important; box-shadow: none !important; }

/* izbire: ena bela škatla s tremi polji (kot .cae-hero-iz na prvi strani) */
.cae-cb .cae-cb-iz .cae-cb-f { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin: 0; padding: 0; background: #fff; border: 2px solid #141413; border-radius: 14px; overflow: hidden; box-shadow: none; }
.cae-cb .cae-cb-iz .cae-cb-f label { display: block; margin: 0 !important; padding: 0; border-right: 1px solid #e4e4e7; }
.cae-cb .cae-cb-iz .cae-cb-f label:last-of-type { border-right: 0; }
.cae-cb .cae-cb-iz .cae-cb-f select { display: block; width: 100%; height: 58px; min-height: 0; margin: 0; padding: 0 16px; border: 0 !important; border-radius: 0 !important; box-shadow: none !important; background-color: #fff; background-position: calc(100% - 10px) 50% !important; background-repeat: no-repeat !important; font-size: 16px; font-weight: 500; line-height: normal; color: #141413; cursor: pointer; }
.cae-cb .cae-cb-iz .cae-cb-f select:disabled { color: #a1a1aa; opacity: .7; cursor: default; }
.cae-cb .cae-cb-iz .cae-cb-f select:focus-visible { outline: 3px solid #c8261a; outline-offset: -3px; }

/* glava: bel avto + »Odaberite svoje vozilo / Marka · model · godina« (kot gumb na prvi strani) */
.cae-cb-t { display: flex; align-items: center; gap: 12px; width: 100%; margin: 0; padding: 0; border: 0; border-radius: 0; background: none; color: #fff; font-family: inherit; font-size: 16px; font-weight: 700; line-height: 1.2; text-align: left; cursor: pointer; }
.cae-cb-t:hover, .cae-cb-t:focus { background: none; color: #fff; }
.cae-cb-car { flex: none; color: #fff; }
.cae-cb-tt { flex: 1 1 auto; min-width: 0; }
.cae-cb-tt b { display: block; font-weight: 700; }
.cae-cb-tt small { display: block; margin-top: 2px; font-size: 12.5px; font-weight: 400; opacity: .7; }
.cae-cb-chev { flex: none; transition: transform .2s; }
.cae-cb.is-open .cae-cb-chev { transform: rotate(90deg); }

.cae-cb-go { flex: none; height: 62px; padding: 0 24px; border: 0; border-radius: 14px; background: #ee3333; color: #fff; font-family: inherit; font-size: 16px; font-weight: 700; white-space: nowrap; cursor: pointer; }
.cae-cb-go:hover, .cae-cb-go:focus { background: #c8261a; color: #fff; }

/* okno z deli */
.cae-cb-pan { display: none; background: #fff; color: #141413; }
.cae-cb.is-show .cae-cb-pan { display: block; }
.cae-cb-xt { position: sticky; top: 0; z-index: 2; display: flex; justify-content: flex-end; padding: 12px 0 4px; background: #fff; }
.cae-cb-xb { margin-top: 12px; padding: 16px 0 4px; border-top: 1px solid #e4e4e7; text-align: center; }
.cae-cb-x { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 16px; border: 1.5px solid #141413; border-radius: 14px; background: #fff; color: #141413; font-family: inherit; font-size: 14px; font-weight: 700; line-height: 1; cursor: pointer; }
.cae-cb-x:hover, .cae-cb-x:focus { background: #141413; color: #fff; }
.cae-cb .cae-iz__out { margin: 0; }

/* trak pod menijem – namizje: temen trak, besedilo levo, izbire in gumb desno */
.cae-cb--bar { position: relative; z-index: 30; background: #141413; color: #fff; }
/* odprto okno: nad karticami kategorije (.cae-loop-attributes ima z-index 999), a pod glavo (#masthead 99) */
.cae-cb--bar.is-show { z-index: 98; }
body:has(.cae-cb--bar.is-show) .cae-loop-attributes { z-index: auto !important; }
.cae-cb--bar .cae-cb-in { max-width: 1240px; margin: 0 auto; padding: 14px 20px; display: flex; align-items: center; gap: 24px; }
.cae-cb--bar .cae-cb-t { flex: 0 0 auto; width: auto; cursor: default; }
.cae-cb--bar .cae-cb-tt b { font-size: 19px; }
.cae-cb--bar .cae-cb-chev, .cae-cb--bar .cae-cb-m { display: none; }
.cae-cb--bar .cae-cb-iz { flex: 1; min-width: 0; display: flex; align-items: center; gap: 12px; }
.cae-cb--bar .cae-cb-iz .cae-cb-f { flex: 1; min-width: 0; }
.cae-cb--bar .cae-cb-pan { position: absolute; left: 0; right: 0; top: 100%; box-shadow: 0 24px 40px rgba(0,0,0,.18); border-bottom: 1px solid #e4e4e7; }
.cae-cb--bar .cae-cb-pan-in { max-width: 1240px; margin: 0 auto; padding: 0 20px 24px; }
.cae-cb--bar .cae-cb-iz > .cae-cb-pan { flex: none; }

/* telefon: kot prva stran – temen gumb na svetli podlagi, izbire pod njim */
@media (max-width: 921px) {
	.cae-cb--bar { background: #f4f4f5; color: #141413; border-bottom: 1px solid #e4e4e7; }
	.cae-cb--bar .cae-cb-in { display: block; padding: 12px 16px; }
	.cae-cb--bar .cae-cb-t { width: 100%; padding: 14px 16px; border-radius: 14px; background: #1f1f22; cursor: pointer; }
	.cae-cb--bar .cae-cb-t:hover, .cae-cb--bar .cae-cb-t:focus { background: #1f1f22; }
	.cae-cb--bar .cae-cb-tt b { font-size: 16px; }
	.cae-cb--bar .cae-cb-chev, .cae-cb--bar .cae-cb-m { display: block; }
	.cae-cb--bar .cae-cb-d { display: none; }
	.cae-cb--bar .cae-cb-iz { display: none; margin-top: 10px !important; }
	.cae-cb--bar.is-open .cae-cb-iz { display: block; }
	.cae-cb--bar .cae-cb-go { display: none; }
	.cae-cb--bar .cae-cb-pan { position: static; box-shadow: none; border: 0; margin: 12px -16px -12px; }
	.cae-cb--bar .cae-cb-pan-in { padding: 0 16px 16px; }
	.cae-cb .cae-cb-iz .cae-cb-f { grid-template-columns: 1fr; }
	.cae-cb .cae-cb-iz .cae-cb-f label { border-right: 0; border-bottom: 1px solid #e4e4e7; }
	.cae-cb .cae-cb-iz .cae-cb-f label:last-of-type { border-bottom: 0; }
	.cae-cb .cae-cb-iz .cae-cb-f select { height: 52px; }
	.cae-cb-xb .cae-cb-x { width: 100%; height: 46px; font-size: 15px; }
}

/* kartica na strani izdelka: enak temen gumb, izbire pod njim */
.cae-cb--pdp { margin: 14px 0 18px; }
.cae-cb--pdp .cae-cb-t { padding: 14px 16px; border-radius: 14px; background: #1f1f22; }
.cae-cb--pdp .cae-cb-t:hover, .cae-cb--pdp .cae-cb-t:focus { background: #1f1f22; }
.cae-cb--pdp .cae-cb-iz { display: none; margin-top: 10px !important; }
.cae-cb--pdp.is-open .cae-cb-iz { display: block; }
.cae-cb--pdp .cae-cb-iz .cae-cb-f { grid-template-columns: 1fr; }
.cae-cb--pdp .cae-cb-iz .cae-cb-f label { border-right: 0; border-bottom: 1px solid #e4e4e7; }
.cae-cb--pdp .cae-cb-iz .cae-cb-f label:last-of-type { border-bottom: 0; }
.cae-cb--pdp .cae-cb-iz .cae-cb-f select { height: 52px; }
.cae-cb--pdp .cae-cb-pan { margin-top: 4px; }
.cae-mpdp div.product .summary .cae-cb--pdp { order: 8 !important; }
body.cae-mp2 div.product .summary .cae-cb--pdp { order: 4 !important; margin: 14px 0 0; }
@media print { .cae-cb { display: none !important; } }
