/* ukrywa przyciski w #slider next prev jesli nie najechalo sie na slider */

#slider .elementor-swiper-button-prev,
#slider .elementor-swiper-button-next {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease, visibility 0.3s ease;
}

#slider:hover .elementor-swiper-button-prev,
#slider:hover .elementor-swiper-button-next {
  opacity: 1;
  visibility: visible;
}


/* PAGINACJA SLIDER MOBILE UKRYWAMY */

@media (max-width: 767px) {
  #slider .swiper-pagination {
    display: none !important;
  }
}

/* ANIMACJA FAST LINKS */


@keyframes bounceInUp {
  0% {
    opacity: 0;
    transform: translateY(100%);
  }
  60% {
    opacity: 1;
    transform: translateY(-10px);
  }
  80% {
    transform: translateY(5px);
  }
  100% {
    transform: translateY(0);
  }
}

.fastlinks {
  animation: bounceInUp 1s ease forwards;
}


/*OPTYMALIZACJA ANIMACJI CARD*/

.card img,
.card .title,
.card .poznaj_model,
.card .podpis {
  will-change: transform, opacity;
}


@media (hover: none) and (pointer: coarse) {
a,
img {
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0.1); /* efekt tapnięcia na iOS/Safari */
  transition: opacity 0.2s ease;
}
	
	html {
overflow-x: hidden;
}
	
body {
	 overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}


a:active,
img:active {
  opacity: 0.6; /* wizualna reakcja na klik */
}

a:hover,
img:hover {
  opacity: 0.8;
}
}


a {
	color:#000;
}

option {
    min-height: 40px;
    padding: 10px;
    font-size: 16px;
	color:#000!important;
}


/* FILTRY NA MOBILE SA UKRYTE I POJAWIAJA SIE PO KLIKNIECIU POKAZ FILTRY */

.mobile-filter-toggle {
    display: none;
}

@media(max-width: 768px) {
    #filtry {
        display: none;
    }
    .mobile-filter-toggle {
        display: block;
        width: 100%;
        text-align: center;
        padding: 15px;
        background: #000;
        color: #fff;
        text-decoration: none;
        font-weight: bold;
    }
}


/* ANIMACJA W SUBMENU PO HOVERZE */

.item_menu .elementor-heading-title {
  display: inline-block; 
  transition: transform 0.3s ease;
}

.item_menu:hover .elementor-heading-title {
  transform: translateX(10px);
}

.item_menu img {
  transition: transform 0.3s ease;
}

.item_menu:hover img {
  transform: translateX(-10px);
}



/* UKRYWANIE PUSTEGO OMNIBUSA W DOSTEPNE */
.omnibus:empty {
  display: none;
}


/* TU POPRAWIAM LI UL W WYPOSAZENIU */

.wyposazenie-list {
    list-style-type: disc; /* Typ punktorów */
    padding-left: 20px;
}

/* TU POPRAWIAM PAGINACJE, POZYCJE */

.swiper-pagination {
	text-align:right;
	padding:15px;
}

/* TUTAJ SKRACAMY TEKST W DOSTEPNE OD REKI JESLI MA WIECEJ NIZ 4 LINIJKI CHODZI O TE DODATKOWE INFORMACJE RESZTA JEST W JS */

.dodatkowe_info {
    overflow: hidden;
    max-height: 6em;
    line-height: 1.5em;
    position: relative;
    transition: max-height 0.3s ease-in-out;
    -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 70%, rgba(0, 0, 0, 0));
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 70%, rgba(0, 0, 0, 0));
}

/* Po rozwinięciu gradient znika */
.dodatkowe_info.expanded {
    max-height: none;
    -webkit-mask-image: none;
    mask-image: none;
}

.dodatkowe_info.expanded {
    max-height: none;
}

.toggle-button {
    display: inline-flex;
    align-items: center;
    background: none;
    border: none;
		text-transform:uppercase;
		font-weight:700;
    color: #040506;
    font-size: 14px;
    cursor: pointer;
    margin-top: 10px;
}

.toggle-button:hover {
    display: inline-flex;
    align-items: center;
    background: none;
    border: none;
		text-transform:uppercase;
		font-weight:700;
    color: #040506;
    font-size: 14px;
    cursor: pointer;
    margin-top: 10px;
}

.toggle-button:focus {
    display: inline-flex;
    align-items: center;
    background: none;
    border: none;
		text-transform:uppercase;
		font-weight:700;
    color: #040506;
    font-size: 14px;
    cursor: pointer;
    margin-top: 10px;
}

.toggle-button svg {
    margin-left: 5px;
    transition: transform 0.3s;
}

.toggle-button.expanded svg {
    transform: rotate(180deg);
}


/* TU JEST TEN KOD CO ROBIE MIN WIDTH DO DANYCH TECHNICZNYCH W DOSTEPNE OD REKI */

.dane_techniczne > div > div:first-child {
        min-width: 120px;
    }



/* OGRANICZAMY ROZSZERZANIE SIE SLIDERA DO 1800PX I ZMIENIAMY SPOSOB JEGO WYSWIETLANIA TAK ABY DODAL MARGINES DOOKOLA 15PX I BORDER R */



@media (min-width: 1922px) {
    #slider {
        width: 1922px;
        margin: 15px auto;
				background-color:#F8F8F8;
        border-radius: 15px;
        overflow: hidden;
    }
}


@media (min-width: 1922px) {
    #banner {
        width: 1922px;
        overflow: hidden;
				background-color:#F8F8F8;
			  margin: 0 auto;
    }
}

/* Wymuszenie podkreślenia dla aktywnego linku w nawigacji */
.e-n-menu-title.e-current a {
  text-decoration: underline !important;
}

/* tu underline dla tabow active 

.e-n-tab-title[aria-selected="true"] .e-n-tab-title-text {
    text-decoration: underline;
}*/


/* WYMUSZENIE HAND CURSOR W MENU */

.e-n-menu-title-text {
    cursor: pointer!important;
}

/* ANIMACJA KARTY AUTA W MENU GLOWNYM */
.card img {
  transition: transform 0.3s ease;
}

.card .title,
.card .poznaj_model,
.card .podpis {
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.card .poznaj_model {
  opacity: 0;
  transform: translateY(20px);
}

.card:hover img {
  transform: translateY(5px); 
}

.card:hover .title {
  transform: translateY(-5px); 
}

.card:hover .poznaj_model {
  opacity: 1;
  transform: translateY(-5px); 
}

.card:hover .podpis {
  opacity: 0; 
   display: none
}


/* TO SA TE SZYBKIE LINKI W PRAWYM DOLNYM ROGU */

.fastlinks {
    display: flex;
    padding: 5px;
    border: 1px solid #F1F1F1;
    border-radius: 5px;
    width: max-content;
    background: #fff;
    overflow: visible;
    position: fixed;
    bottom: 20px;
    left: 0;
    right: 0;
    margin: 0 auto;
    z-index: 9999999;
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
}

@media (max-width: 1024px) {
    .fastlinks {
        display: none;
    }
}


.fastlinks a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
		margin:10px;
    position: relative;
    border: 1px solid #f9f9f9;
    transition: background 0.2s ease;
}

.fastlinks a:hover img {
    transform: translateY(-3px);
}

.fastlinks a img {
    width: 24px;
    height: 24px;
    display: block;
}

.fastlinks a::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: calc(100% + 5px);
    left: 50%;
    transform: translateX(-50%) scale(0.95);
    background: #040506;
    color: #fff;
    padding: 6px 10px;
    border-radius: 3px;
    opacity: 0;
    pointer-events: none;
    transition: all 0.2s ease;
    white-space: nowrap;
    font-size: 14px;
}

.fastlinks a:hover::after {
    opacity: 1;
    transform: translateX(-50%) scale(1);
}

body {
	font-family: var(--e-global-typography-primary-font-family, "Kia"), -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif !important;
	font-weight: var(--e-global-typography-primary-font-weight, 400) !important;
}

:root {
	--kia-input-border-width: 1px;
}
