:root {
	--wd-text-font: "Lato", Arial, Helvetica, sans-serif;
	--wd-text-font-weight: 400;
	--wd-text-color: rgb(118,118,118);
	--wd-text-font-size: 16px;
	--wd-title-font: "Poppins", Arial, Helvetica, sans-serif;
	--wd-title-font-weight: 600;
	--wd-title-color: #242424;
	--wd-entities-title-font: "Poppins", Arial, Helvetica, sans-serif;
	--wd-entities-title-font-weight: 500;
	--wd-entities-title-color: #333333;
	--wd-entities-title-color-hover: rgb(51 51 51 / 65%);
	--wd-alternative-font: "Lato", Arial, Helvetica, sans-serif;
	--wd-widget-title-font: "Poppins", Arial, Helvetica, sans-serif;
	--wd-widget-title-font-weight: 600;
	--wd-widget-title-transform: uppercase;
	--wd-widget-title-color: #333;
	--wd-widget-title-font-size: 16px;
	--wd-header-el-font: "Lato", Arial, Helvetica, sans-serif;
	--wd-header-el-font-weight: 700;
	--wd-header-el-transform: uppercase;
	--wd-header-el-font-size: 13px;
	--wd-otl-style: dotted;
	--wd-otl-width: 2px;
	--wd-primary-color: rgb(34,146,163);
	--wd-alternative-color: #fbbc34;
	--btn-default-bgcolor: rgb(30,175,191);
	--btn-default-bgcolor-hover: #efefef;
	--btn-accented-bgcolor: rgb(55,161,191);
	--btn-accented-bgcolor-hover: rgb(0,0,0);
	--wd-form-brd-width: 2px;
	--notices-success-bg: #459647;
	--notices-success-color: #fff;
	--notices-warning-bg: #E0B252;
	--notices-warning-color: #fff;
	--wd-link-color: rgb(64,187,206);
	--wd-link-color-hover: #242424;
}
.wd-age-verify-wrap {
	--wd-popup-width: 500px;
}
.wd-popup.wd-promo-popup {
	background-color: #111111;
	background-image: url(https://cfmoto.ba/wp-content/uploads/2021/08/promo-popup.jpg);
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center center;
}
.wd-promo-popup-wrap {
	--wd-popup-width: 800px;
	--wd-popup-padding: 15px;
}
:is(.woodmart-woocommerce-layered-nav, .wd-product-category-filter) .wd-scroll-content {
	max-height: 223px;
}
.wd-page-title .wd-page-title-bg img {
	object-fit: cover;
	object-position: center center;
}
.wd-footer {
	background-color: rgb(0,0,0);
	background-image: none;
}
.mfp-wrap.wd-popup-quick-view-wrap {
	--wd-popup-width: 920px;
}
:root{
--wd-container-w: 1222px;
--wd-form-brd-radius: 0px;
--btn-default-color: #333;
--btn-default-color-hover: #333;
--btn-accented-color: #fff;
--btn-accented-color-hover: #fff;
--btn-default-brd-radius: 0px;
--btn-default-box-shadow: none;
--btn-default-box-shadow-hover: none;
--btn-default-box-shadow-active: none;
--btn-default-bottom: 0px;
--btn-accented-brd-radius: 0px;
--btn-accented-box-shadow: none;
--btn-accented-box-shadow-hover: none;
--btn-accented-box-shadow-active: none;
--btn-accented-bottom: 0px;
--wd-brd-radius: 0px;
}

@media (min-width: 1222px) {
section.elementor-section.wd-section-stretch > .elementor-container {
margin-left: auto;
margin-right: auto;
}
}


.wd-page-title {
background-color: #0a0a0a;
}

/* Samo CATEGORIES tab */
.mobile-tab-title.mobile-categories-title {
    background-color: #058c98 !important;
}

.mobile-tab-title.mobile-categories-title a,
.mobile-tab-title.mobile-categories-title .nav-link-text {
    color: #ffffff !important;
}

/* Aktivno stanje */
.mobile-tab-title.mobile-categories-title.wd-active {
    background-color: #058c98 !important;
}

.mobile-tab-title.mobile-categories-title.wd-active a,
.mobile-tab-title.mobile-categories-title.wd-active .nav-link-text {
    color: #ffffff !important;
}
/* TOP BAR BROJAC */
.tbcd-wrap{ background: transparent !important; padding: 0 !important; font-size: 20px !important; }
.tbcd-prefix, .tbcd-timer{ font-size: 1em !important; }

/* Ukloni zaobljene ivice sa event slika */
.cfm-events-grid .cfm-event-card,
.cfm-events-grid .cfm-event-card * {
    border-radius: 0 !important;
}
/* Siva pozadina vozila u test voznji */
@media (max-width: 520px) {
    .trb-vehicle-img {
        height: 150px !important;
    }
}

.trb-vehicle .trb-vehicle-img {
    height: 190px !important;
    aspect-ratio: auto !important;
}


.cfmoto-ss-root .swiper-pagination{
  left:50% !important;
  transform:translateX(-50%) !important;
}
/* BLOG NA POCETNOJ STRANI */

/* Podigni ceo levi blok malo gore (ako treba) */
@media (min-width: 992px) {
  .home-vesti-wrap .home-vesti-hero-left{
    transform: translateY(-100px) !important;
  }
	
/* FIX: uvek ista veličina vozila bez obzira na 1/2 reda naslova ili AKCIJA label */

.models.vgcc-scope .model .content{
  /* rezerviše prostor za naslov (1-2 reda) + meta liniju */
  min-height: 140px;
}

.models.vgcc-scope .model .image{
  /* zakucaj visinu zone za sliku */
  height: 280px;
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.models.vgcc-scope .model .image a{
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.models.vgcc-scope .model .image img{
  /* slika uvek maksimalna unutar iste visine */
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* Responsive finese (po želji) */
@media (max-width: 575px){
  .models.vgcc-scope .model .image{ height: 240px; }
  .models.vgcc-scope .model .content{ min-height: 120px; }
}
/* LABEL VOZILA */
	
/* AKCIJA badge – radi i desktop i mobilni */
.elementor-element.labelvozila .wd-text-block > p{
  display: inline-block !important;
  background-color: #e30613 !important;
  color: #fff !important;
  padding: 10px 22px !important;
  margin: 0 !important;
  line-height: 1.1 !important;
  font-weight: 800 !important;
  border-radius: 4px;
}

/* centriraj badge ali bez da se razvlači */
.elementor-element.labelvozila .wd-text-block{
  text-align: center !important;
  background: transparent !important;
}

/* ukloni background sa wrappera da ne smeta */
.elementor-element.labelvozila,
.elementor-element.labelvozila .elementor-widget-container{
  background: transparent !important;
}
	.elementor-element[data-id="73e44e6"] .wd-text-block > p{
  background-color:#e30613 !important;
}
	
	.akcija-badge{
  background:#e30613 !important;
  color:#fff !important;
  padding:10px 22px !important;
  display:inline-block !important;
  font-weight:800 !important;
  border-radius:4px;
  line-height:1.1 !important;
}
	
	/* TAB BOJA KOD SINGLE VOZILA */
/* ===== FORCE ACTIVE TAB COLOR (desktop + mobile) ===== */

/* 1) Najjači selektor (pobeđuje Elementor 0,8,0) */
.elementor .elementor-element.elementor-widget-n-tabs.tabaktivan:not(:has(>.elementor-widget-container)) > .e-n-tabs > .e-n-tabs-heading .e-n-tab-title[aria-selected="true"],
.elementor .elementor-element.elementor-widget-n-tabs.tabaktivan > .elementor-widget-container > .e-n-tabs > .e-n-tabs-heading .e-n-tab-title[aria-selected="true"]{
  background-color: #09a0b4 !important; /* <<< tvoja boja */
  background-image: none !important;
  color: #ffffff !important;
}

/* 2) Hover na desktopu */
.elementor .elementor-element.elementor-widget-n-tabs.tabaktivan:not(:has(>.elementor-widget-container)) > .e-n-tabs[data-touch-mode="true"] > .e-n-tabs-heading .e-n-tab-title[aria-selected="false"]:hover,
.elementor .elementor-element.elementor-widget-n-tabs.tabaktivan > .elementor-widget-container > .e-n-tabs[data-touch-mode="true"] > .e-n-tabs-heading .e-n-tab-title[aria-selected="false"]:hover{
  background-color: #000000 !important; /* hover boja */
  background-image: none !important;
  color: black !important;
}

/* 3) Fallback preko varijabli (ako Elementor to koristi) */
.elementor .elementor-element.elementor-widget-n-tabs.tabaktivan{
  --n-tabs-title-background-color: #09a0b4 !important; /* <<< tvoja boja */
  --n-tabs-title-color: #ffffff !important;
}
	/* ===== DEFAULT (NEAKTIVNI TAB) ===== */
.elementor-widget-n-tabs .e-n-tab-title{
  background-color: #e5e5e5 !important;  /* siva podloga */
  color: #000000 !important;            /* crna slova */
  background-image: none !important;
}

/* ===== HOVER NA NEAKTIVNOM ===== */
.elementor-widget-n-tabs .e-n-tab-title[aria-selected="false"]:hover{
  background-color: #d6d6d6 !important;  /* malo tamnija siva */
  color: #000000 !important;
}

/* ===== AKTIVNI TAB ===== */
.elementor-widget-n-tabs .e-n-tab-title[aria-selected="true"]{
  background-color: #343a40 !important;  /* STAVI SVOJU BOJU */
  color: #ffffff !important;            /* bela slova */
  background-image: none !important;
}
	

/* HOVER EFEKAT NA PRELDOGU VOZILA NA SINGEL STRANI VOZILA */

/* Hover – samo promena boje naslova */

.vgcc-showcase__card:hover h3.vgcc-showcase__card-title {
    color: #09a0b4 !important;
}
	
/* KONTAKT FORMA - ISKUSTVO KLIJENATA */
@media (max-width: 767px) {

  .anketa-klijenata {
    overflow-x: hidden;
  }

  .anketa-klijenata .table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .anketa-klijenata table {
    width: 100%;
    min-width: 620px;
    border-collapse: collapse;
  }

  .anketa-klijenata td,
  .anketa-klijenata th {
    padding: 12px 8px;
    vertical-align: middle;
    text-align: center;
  }

  .anketa-klijenata td:first-child {
    min-width: 150px;
    text-align: left;
    font-size: 16px;
    line-height: 1.4;
    word-break: break-word;
  }

  .anketa-klijenata .wpcf7-form-control-wrap {
    display: inline-block;
    width: auto;
  }

  .anketa-klijenata .wpcf7-radio {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .anketa-klijenata .wpcf7-list-item {
    margin: 0;
  }

  .anketa-klijenata .wpcf7-list-item label {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    margin: 0;
    white-space: nowrap;
  }

  .anketa-klijenata input[type="radio"] {
    margin: 0;
  }

  .anketa-klijenata .wpcf7-list-item-label {
    display: block;
    font-size: 14px;
    line-height: 1.2;
  }

  .anketa-klijenata label {
    display: block;
    line-height: 1.5;
  }

  .anketa-klijenata input[type="text"],
  .anketa-klijenata input[type="email"],
  .anketa-klijenata input[type="tel"],
  .anketa-klijenata textarea,
  .anketa-klijenata select {
    width: 100%;
    box-sizing: border-box;
  }
}
	
@media (max-width: 767px) {
  .anketa-klijenata .table-responsive::after {
    content: "Prevucite levo-desno za pregled ocena";
    display: block;
    font-size: 12px;
    margin-top: 8px;
    color: #777;
  }
}
	
/* BLOG strana - iste visine kartica  */
/* Ujednačavanje visine celog artikla */
.blog-design-mask .post-grid-item, 
.blog-post-loop {
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Osiguraj da donji deo (sadržaj) popuni preostali prostor */
.article-inner {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

/* Postavi fiksnu visinu za naslov ili min-height */
.entry-title {
    min-height: 54px; /* Prilagodi visinu spram broja redova (npr. 2 ili 3) */
    display: -webkit-box;
    -webkit-line-clamp: 2; /* Limitira tekst na 2 reda */
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Ujednačavanje visine slike */
.entry-header {
    height: 250px; /* Postavi visinu koja ti odgovara */
    overflow: hidden;
}

.entry-header img {
    height: 100%;
    width: 100%;
    object-fit: cover; /* Ovo sprečava razvlačenje slike */
}

/* TEST VOZNJA dugme u meniju */
.istaknuto-dugme > a .nav-link-text {
    background-color: #2292a3;
    color: white !important;
    padding: 5px 10px;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.istaknuto-dugme > a:hover .nav-link-text {
    background-color: #3394a3;
}
	
/* FORMA Test Day Sarajevo i Banja Luka 2026 */
/* Stilovi za CFMOTO Test Day Formu */
.cfmoto-test-day-form {
    max-width: 100%;
    margin: 0 auto;
    font-family: inherit;
}

/* Kreiranje fleksibilnih redova i kolona */
.cfmoto-test-day-form .cf7-row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -10px;
    margin-left: -10px;
    margin-bottom: 20px;
}

.cfmoto-test-day-form .cf7-col {
    position: relative;
    width: 100%;
    padding-right: 10px;
    padding-left: 10px;
    flex: 0 0 50%;
    max-width: 50%;
    box-sizing: border-box;
}

.cfmoto-test-day-form .cf7-col.full-width {
    flex: 0 0 100%;
    max-width: 100%;
}

/* Labeli i input polja */
.cfmoto-test-day-form label {
    display: block;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cfmoto-test-day-form input[type="text"],
.cfmoto-test-day-form input[type="email"],
.cfmoto-test-day-form input[type="tel"] {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    font-size: 15px;
    background-color: #f9f9f9;
    box-sizing: border-box;
    transition: all 0.3s ease;
}

/* Fokus efekat - CFMOTO plava */
.cfmoto-test-day-form input:focus {
    border-color: #00b4d8; 
    background-color: #fff;
    outline: none;
    box-shadow: 0 0 5px rgba(0, 180, 216, 0.2);
}

/* Submit dugme */
.cfmoto-test-day-form .cf7-submit-wrap {
    text-align: left;
    margin-top: 25px;
}

.cfmoto-test-day-form input[type="submit"] {
    background-color: #00b4d8; /* CFMOTO plava nijansa */
    color: #fff;
    font-weight: 700;
    font-size: 16px;
    padding: 15px 40px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: background-color 0.3s ease, transform 0.2s ease;
    width: 100%; /* Dugme je punom širinom na mobilnom po defaultu */
}

.cfmoto-test-day-form input[type="submit"]:hover {
    background-color: #0077b6; /* Tamnija plava na hover */
}

.cfmoto-test-day-form input[type="submit"]:active {
    transform: scale(0.98);
}

/* Prilagođavanje za greške i validaciju */
.cfmoto-test-day-form .wpcf7-not-valid-tip {
    font-size: 12px;
    margin-top: 5px;
}

/* RESPONSIVE: Mobilni uređaji (ekrani manji od 768px) */
@media (max-width: 767px) {
    .cfmoto-test-day-form .cf7-col {
        flex: 0 0 100%;
        max-width: 100%;
        margin-bottom: 15px;
    }
    
    .cfmoto-test-day-form .cf7-row {
        margin-bottom: 0;
    }
}

/* Desktop podešavanje za dugme (opciono - ako želiš da na desktopu ne bude preko celog ekrana) */
@media (min-width: 768px) {
    .cfmoto-test-day-form input[type="submit"] {
        width: auto;
        min-width: 250px;
    }
}