 body { 
	font-family: 'Montserrat', sans-serif;
	padding: 0px;
	color: rgb(11,58,111);
	background-color: #e9ecef;
 }
   
    select { margin-right: 10px; padding: 5px; }
    .no-results { color: red; }
	
	
	/* MAIN */	
	
DIV.main-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 3px;
  box-sizing: border-box;
  position: relative;
}
	
		
	/* Lang */
	
#lang-selector {
    position: static;
    top: auto;
    right: auto;
	justify-content: right;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 5px;
	flex-wrap: wrap;
}
#lang-selector .filter-reset-button {
    padding: 5px 10px;
    font-size: 12px;
}

#lang-selector .lang-link {
    margin-left: 10px;
    text-decoration: none;
    color: #000;
    font-weight: bold;
}

@media (max-width: 500px) {
    #lang-selector {
        position: static;
        top: auto;
        right: auto;
        text-align: center;
        margin-bottom: 10px;
    }

    .ETI-toplogocontainer {
        text-align: center;
    }
}

#quiz-question-box .quiz-step {
    display: none;
}





/* =======================================
    Nowe Style dla pól wyboru (Selects)
    ======================================= */

.dimensions-container {
    display: flex;
    flex-wrap: wrap; /* Zezwala na zawijanie wierszy */
    justify-content: center; /* Wyśrodkowanie elementów w kontenerze */
    gap: 15px; /* Odstęp między elementami */
    padding: 0 15px; /* Dodatkowy padding, aby kontener nie przylegał do krawędzi */
    margin: 10px auto 20px auto; /* Margines na dole i wyśrodkowanie kontenera */
    max-width: 900px; /* Ograniczenie szerokości dla lepszej czytelności */
}

.dimensions-container > div {
    /* Ustawienie, aby każdy element zajmował około 1/3 szerokości */
    flex-basis: calc(33,3% - 15px); /* 1/3 szerokości minus przestrzeń na gap */
    max-width: calc(33,3% - 15px);
    box-sizing: border-box;
    !min-width: 180px; /* Minimalna szerokość dla czytelności na desktopie */
}

/* W widoku mobilnym wracamy do układu kolumnowego, aby było czytelnie */
@media (max-width: 768px) {
    .dimensions-container {
        flex-direction: column;
        gap: 10px;
        padding: 0 10px;
    }

    .dimensions-container > div {
        flex-basis: 100%;
        max-width: 100%;
        min-width: auto;
    }
}


/* =======================================
    Przyciski Akcji (Gradient)
    ======================================= */

.slide-action-button {
    display: block;
    width: 100%;
    padding: 12px 12px;
    margin: 12px 0 0 0;
    text-decoration: none;
    color: white;
    font-weight: 400;
    border-radius: 8px;
    text-align: center;
    box-sizing: border-box;
    cursor: pointer;
    border: none;
    font-size: 14px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(to right, rgb(203, 0, 123) 50%, rgb(11, 58, 111) 50%);
    background-size: 200% 100%;
    background-position: right;
    transition: background-position 0.4s ease-in-out;
}

.slide-action-button:hover {
    background-position: left; /* Przesunięcie na różowy po najechaniu */
}

/* Wyróżnienie wybranej opcji quizu */
.quiz-option-btn.selected {
    background-position: left;
    box-shadow: 0 0 10px rgb(203, 0, 123, 0.7);
}



/* Przycisk powrotu na górze */
.button-container {
    text-align: right;
    margin-bottom: 20px;
}
.animated-button {
    display: inline-block;
    padding: 8px 15px;
    text-decoration: none;
    color: white;
    background-color: rgb(11, 58, 111);
    border-radius: 5px;
    transition: background-color 0.3s;
    font-size: 14px;
}
.animated-button:hover {
    background-color: rgb(203, 0, 123);
}

/* =======================================
    Sekcja Wyszukiwarki / Kreatora
    ======================================= */

.etiomek-section {
    display: flex;
    flex-direction: column;
    max-width: 1000px;
    margin: 20px auto;
    padding: 0 15px;
    box-sizing: border-box;
}

.etiomek-character-container {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 20px;
}

.etiomek-image {
    max-height: 350px;
    width: auto;
    display: block;
}

/* =======================================
    Dymek Mowy (Speech Bubble)
    ======================================= */

.speech-bubble {
    position: relative;
    width: 100%;
    background: #ffffff;
    border: 2px solid rgb(11, 58, 111);
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    align-self: flex-start;
    display: flex;
    flex-direction: column;
}

/* Strzałka dymka (Desktop) */
.speech-bubble::before {
    content: '';
    position: absolute;
    top: 40px;
    right: -14px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 14px 0 14px 14px;
    border-color: transparent transparent transparent rgb(11, 58, 111);
}

.speech-bubble::after {
    content: '';
    position: absolute;
    top: 40px;
    right: -10px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 12px 0 12px 12px;
    border-color: transparent transparent transparent #ffffff;
}

/* =======================================
    Pytania i Treść Quizu
    ======================================= */

/* Ukrycie wszystkich kroków quizu na starcie, JS pokaże 'intro' */
#quiz-question-box .quiz-step {
    display: none;
}

/* Kontener dla całej sekcji pytań - musi być relative dla pozycjonowania strzałek */
#quiz-question-box {
    padding-top: 25px; /* Miejsce na strzałki na desktopie */
    position: relative;
}

/* Stylizacja tekstu w dymku (pytanie) */
#quiz-question-box p {
	font-weight: normal;
	color: black;
    margin: 20px 0 5px 0; 
    text-align: center;
}

#quiz-question-box .welcomeend-text {
    font-weight: normal;
	margin: 20px 0 5px 0; 
    font-size: 16px;
	text-align: left;
	color: black
}

@media (max-width: 768px) {
#quiz-question-box .welcomeend-text {
    
	margin: 35px 0 5px 0; 
    font-size: 13px;
	text-align: left;
	}
}


/* Kontener Opcji Quizu */
.options-container {
    display: flex; 
    gap: 15px; 
    justify-content: center; 
    margin-top: 1px;
    width: 100%;
    flex-wrap: wrap;
}

.quiz-option-btn {
    flex-basis: 17%; 
	max-width: 17%;
    flex-grow: 0;
}

/* Style dla Select (pytania 2b, 3, 4) */
#quiz-question-box select {
    width: 100%;
    padding: 8px;
    margin-bottom: 5px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    font-size: 12px;
    color: rgb(11, 58, 111);
    background-color: #fff;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23000000%22%20d%3D%22M287%20197.3l-137-137c-4.1-4.1-10.7-4.1-14.8%200l-137%20137c-4.1%204.1-4.1%2010.7%200%2014.8%204.1%204.1%2010.7%204.1%2014.8%200l129.6-129.6L272.2%20212.1c4.1%204.1%2010.7%204.1%2014.8%200%204.1-4.1%204.1-10.7%200-14.8z%22%2F%3E%3C%2Fsvg%3E');
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 10px;
    padding-right: 30px;
}
#quiz-question-box label {
    display: block;
	font-size: 13px;
    color: rgb(11, 58, 111);
    margin-bottom: 5px;
}

/* =======================================
    Nawigacja Pytaniami (Strzałki)
    ======================================= */

.quiz-step-nav {
    position: absolute;
    top: 5px;
    left: 50%;
    transform: translateX(-50%);
    right: auto;
    display: flex;
    gap: 10px;
    z-index: 15;
    width: auto;
}

.quiz-nav-btn {
    background: rgb(11, 58, 111);
    color: white;
    border: 2px solid rgb(11, 58, 111);
    border-radius: 50%;
    padding: 0;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s, opacity 0.3s;
    line-height: 1;
    height: 30px;
    width: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.quiz-nav-btn:hover {
    background: rgb(203, 0, 123);
    border-color: rgb(203, 0, 123);
}

.quiz-nav-btn:disabled {
    background: #cccccc;
    border-color: #cccccc;
    color: #999999;
    cursor: not-allowed;
    box-shadow: none;
}



/* =======================================
    Sekcja Wyników (Results)
    ======================================= */

#results {
    /* Ustawienia dla kontenera wyników */
    min-height: 100px;
}


/* =======================================
    Stylizacja dla widoku mobilnego (max-width: 768px)
    ======================================= */

@media (max-width: 768px) {
    .etiomek-content-wrapper {
        display: flex;
        justify-content: center;
        width: 100%;
    }

    .etiomek-character-container {
        flex-direction: column;
        align-items: center;
        gap: 15px;
        text-align: left;
        width: 100%;
    }

    /* KLUCZOWA ZMIANA DLA ROZWIĄZANIA PROBLEMU: */
    #quiz-question-box {
        padding-top: 5px; /* Minimalny padding-top, aby margines tekstu kontrolował odstęp */
    }

    #quiz-question-box p {
        /* Zwiększony margines GÓRNY, aby odepchnąć tekst od strzałek */
        margin: 40px 0 5px 0; 
        font-size: 13px;
    }
    
    .quiz-step-nav {
        /* Strzałki pozostają na górze */
        top: 5px;
        bottom: auto;
        right: auto;
        left: 50%;
        transform: translateX(-50%);
        margin-top: 0;
        gap: 20px;
    }

    .speech-bubble {
        order: 1; /* Dymek nad postacią */
        height: auto;
        width: 90%;
        align-self: center;
        padding: 20px; /* Mniejszy padding na mobile */
    }

   .speech-bubble::before,
    .speech-bubble::after {
        /* Resetowanie pozycji bocznej */
        right: auto;
        top: auto;
        /* Wymuszenie przezroczystości (ukrycie) na wszelki wypadek, jeśli chcemy użyć tylko styli mobilnych */
        /* Można ustawić na 0px, aby nie pokazywała się w złym miejscu: */
        border-width: 0 !important; 
    }

    /* Strzałka dymka - na dół, na środek (Mobile) */
    .speech-bubble::before {
        content: ''; /* Musi być zadeklarowane, jeśli resetujemy obie */
        left: 50%;
        transform: translateX(-50%);
        top: auto;
        bottom: -14px;
        /* Zmienione, aby nadpisać reset border-width */
        border-width: 14px 14px 0 14px !important; /* WAŻNE: Wymuszenie wyświetlenia */
        border-color: rgb(11, 58, 111) transparent transparent transparent !important;
    }

    .speech-bubble::after {
        content: ''; /* Musi być zadeklarowane, jeśli resetujemy obie */
        left: 50%;
        transform: translateX(-50%);
        /* Zmienione, aby nadpisać reset border-width */
        border-width: 12px 12px 0 12px !important; /* WAŻNE: Wymuszenie wyświetlenia */
        bottom: -10px;
        right: auto;
        border-color: #ffffff transparent transparent transparent !important;
    }

    .etiomek-image {
        order: 2; /* Postać pod dymkiem */
        max-height: 250px;
        width: auto;
        margin-bottom: 20px;
    }

    /* Opcje quizu na mobile */
    .options-container {
        gap: 10px;
        justify-content: center;
    }

    .quiz-option-btn {
        flex-basis: 48%;
        max-width: 48%;
        font-size: 14px;
        padding: 10px 10px;
    }
    
    .slide-action-button {
        font-size: 13px;
        padding: 7px 10px;
        white-space: normal;
    }
}






/* Style dla kontenera przycisku powrót */

.button-container {
	padding-top: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
}

/* Stylizacja przycisków i animacji */
.animated-button {
    display: block;
    width: 100%;
    padding: 12px 25px;
    text-decoration: none;
    color: white;
    font-weight: 700;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    text-align: center;
    box-sizing: border-box;
    background: linear-gradient(to right, rgb(11, 58, 111) 50%, rgb(203, 0, 123) 50%);
    background-size: 200% 100%;
    background-position: left;
    transition: background-position 0.4s ease-in-out;
}

.animated-button:hover {
    background-position: right;
}



	/* nagłówek H1, H2, H3 */
	
	h1 {
  font-size: 30px;
  text-align: center;
  font-weight: bold;
}
	h2 {
  font-size: 20px;
}
	h4 {
  font-size: 20px;
  text-align: center;
}

	h5 {
  font-size: 20px;
  text-align: center;
  margin-bottom: 0px;
}

	h6 {
  font-weight: normal;
  font-size: 15px;
  text-align: center;
  margin-top: 10px;
  margin-bottom: 15px;
}

@media (max-width: 500px) {
	h1 {
    font-size: 20px;
  }
	h2 {
    font-size: 15px;
  }
	h4 {
    font-size: 15px;
  }
	h5 {
    font-size: 15px;
  }
  	h6 {
    font-size: 10px;
  }
}
	
	
	/* Top */

IMG.ETI-top-logo {
	padding-top: 5px;
	height: 45px;
	margin: 0;
	}

@media only screen and (min-width: 1010px) {
IMG.ETI-top-logo {
	height: 60px;
	}
}





DIV.ETI-first-product-title-line {
	width: 90%;
	height: 1px;
	margin: 10px auto 0 auto;
	background: rgb(203,0,123);
}


@media only screen and (min-width: 601px) {
  .filter-grid {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
    align-items: flex-start;
  }
  .filter-column {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 10px 12px;
    flex: 1 1 0;
    min-width: 240px;
    align-items: center;
  }
  .filter-column label {
    text-align: right;
    font-size: 12px;
    padding-right: 6px;
  }
  .filter-column select {
    width: 100%;
    padding: 8px;
    font-size: 14px;
    box-sizing: border-box;
  }
}


@media (max-width: 600px) {
  .filter-grid {
	display: flex; 
    flex-direction: column;
    gap: 5px;
  }
  .filter-column {
    display: flex;
    flex-direction: column;
    gap: 5px;
  }
  .filter-column label {
    text-align: left;
    padding-right: 0;
  }

  
}
  

  
  /* przycisk wyczyść */
  
.filter-reset-container {
  display: flex;
  justify-content: center;
  margin: 10px 0 20px 0;
  perspective: 800px; /* Perspektywa dla efektu 3D */
}

.filter-reset-button {
  background-color: rgb(11, 58, 111);
  color: white;
  border: none;
  padding: 8px 15px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 14px;
  font-weight: bold;
  transition: all 0.3s ease-in-out;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
  transform: scale(1);
}

.filter-reset-button:hover {
  background-color: rgb(203, 0, 123);
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.3);
  transform: scale(1.05);
}



  
  /* wyświetlanie wyników */

.record-card {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  padding: 15px;
  margin-bottom: 20px;
}

.record-title {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 15px;
}

.record-content {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}


.record-image {
  width: 20%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.record-image img {
  max-width: 100%;
  border-radius: 4px;
}

@media (max-width: 500px) {
  .record-content {
    flex-direction: column;
    gap: 10px;
  }
  .record-image {
	width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  
  .record-image img {
    max-width: 100%;
    height: auto;
  }
}

.alert-center {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 15px 30px;
  border-radius: 5px;
  z-index: 1000;
  font-family: sans-serif;
  text-align: center;
  transition: opacity 0.5s ease-in-out;
  opacity: 0;
}

.alert-center.show {
  opacity: 1;
}


.btn-dwg {
  background-color: rgb(11, 58, 111);
  color: white;
  padding: 5px 10px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  font-size: 14px;
  transition: all 0.3s ease-in-out;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2); /* Początkowy cień */
  transform: scale(1);
}

.btn-dwg:hover {
  background-color: rgb(203, 0, 123);
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.3); /* Głebszy cień po najechaniu */
  transform: scale(1.05); /* Wysunięcie w dwóch płaszczyznach */
}

.record-params {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px 20px;
  flex: 1;
}

.param {
  font-size: 14px;
  margin-bottom: 8px;
}

.param span {
  font-weight: bold;
}

/* RESPONSYWNOŚĆ PARAMETRÓW */
@media (max-width: 800px) {
  .record-params {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 500px) {
  .record-content {
    flex-direction: column;
  }
  .record-params {
    grid-template-columns: 1fr;
	gap: 5px;
  }
}

/* TABELA RESPONSYWNA */
 .material-table {
      margin-top: 25px;
      overflow-x: auto;
    }

    .material-table h4 {
      display: flex;
      align-items: center;
      gap: 10px;
      margin-bottom: 15px;
    }

    .material-table table {
      width: 100%;
      border-collapse: collapse;
      text-align: left;
    }

    .material-table th,
    .material-table td {
      padding: 12px;
      border-bottom: 1px solid #ddd;
    }

    .material-table th {
      background-color: #f7f7f7;
      font-weight: 700;
      color: #0b3a6f;
      text-transform: uppercase;
      font-size: 12px;
      white-space: nowrap;
    }

@media (max-width: 600px) {
  .material-table {
    overflow-x: auto;
  }
  .material-table th,
  .material-table td {
    font-size: 11px;
    padding: 8px;
    text-align: left;
  }
  .material-table th {
    white-space: normal; /* Pozwala na zawijanie tekstu nagłówka */
  }
  .material-table th:nth-child(1) {
    width: 25%;
  }
  .material-table th:nth-child(2) {
    width: 20%;
  }
  .material-table th:nth-child(3) {
    width: 10%;
  }
  .material-table th:nth-child(4) {
    width: 45%;
  }
  .material-table td {
    white-space: normal;
  }
  .material-table table {
    width: 100%;
    table-layout: fixed;
  }

  .material-table td::before {
    content: none;
  }

  /* Wstawianie podziałów linii w nagłówkach za pomocą CSS */
  .material-table th:nth-child(1) {
    /* Nagłówek "Numer katalogowy" */
    white-space: pre-line;
  }
  .material-table th:nth-child(1)::after {
    content: "\A";
  }
  .material-table th:nth-child(2) {
    /* Nagłówek "Symbol artykułu" */
    white-space: pre-line;
  }
  .material-table th:nth-child(2)::after {
    content: "\A";
  }
}

/* przycisk skopiuj do schowka */

.copy-bom-btn {
  background-color: rgb(11, 58, 111); /* Domyślny kolor tła */
  color: white;
  border: none;
  padding: 5px 10px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 12px;
  margin-left: 10px;
  transition: all 0.3s ease-in-out;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2); /* Początkowy cień 3D */
  transform: scale(1);
}

.copy-bom-btn:hover {
  background-color: rgb(203, 0, 123); /* Kolor po najechaniu myszką */
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.3); /* Głebszy cień po najechaniu */
  transform: scale(1.05); /* Wysunięcie w dwóch płaszczyznach */
}

/* info pod wyszukiwaniem */

.ETI-info {
  padding: 20px;
  color: rgb(11,58,111);
  font-size: 16px;
  line-height: 1.5;
  text-align: left;
}

/* Footer */

.bottomfooter {
	padding-top: 5px;
	padding-bottom: 5px;
	text-align: center;
	}
.bottom-footer-image{
	width:100%;
	text-align: center;
	}
	
DIV.footer-line {
	width: 80%;
	height: 1px;
	margin-top: 10px;
	margin-left: auto;
	margin-right: auto;
	background: rgb(203,0,123);
}

IMG.footer-slogan-image {
	width: 50%;
	padding-top: 10px;
	padding-bottom: 10px;
}

@media only screen and (min-width: 600px) {
IMG.footer-slogan-image {
	width: 30%;
	padding-top: 15px;
	}
}



