/*zdjęcie BLOG*/
#blog-item img.blog_image {
	float: left;
	margin: 0 12px 4px 0;
	max-width: 47%;
	display: inline-block;

	@media (min-width: 979px) {
		margin: 20px 15px 10px 0;
	}
}

/*czcionka menu*/

.nav-link {
text-transform: none !important;
}


/*SLIDER*/
/* Stylizacja głównego kontenera */
.slider-link {
    display: block;
    text-decoration: none;
    width: 100%;
}

.slider-wrapper {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.slider-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: auto;
}

/* Ukrywanie niepotrzebnej wersji banera */
.desktop-slider {
    display: block !important;
    width: 100%;
    max-width: 1200px;
    height: auto;
}

.mobile-slider {
    display: none !important;
    width: 100%;
    max-width: 360px;
    height: auto;
}

/* Ukrywanie niepotrzebnej wersji tekstu */
.desktop-text {
    display: block;
}

.mobile-text {
    display: none;
}

/* Stylizacja tekstu na banerze */
.slider-text {
    position: absolute;
    top: 60%;
    left: 5%;
    transform: translateY(-50%);
    text-align: left;
    color: #fff;
    font-family: Lato, sans-serif;
    width: 90%;
    z-index: 10;
}

.line1, .line2, .line3 {
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}

.line1 {
    font-size: 24px;
}

.line2 {
    font-size: 55px;
    font-weight: bold;
    margin-top: 5px;
}

.line3 {
    font-size: 26px;
    margin-top: 0px;
}

/* Stylizacja przycisku */
.slider__button {
    position: absolute;
    bottom: 10%;
    left: 5%;
    background-color: #ee1b2e;
    color: #ffffff !important; /* Wymuszenie białego koloru tekstu */
    padding: 12px 24px;
    font-size: 18px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s, color 0.3s, border 0.3s;
    z-index: 20;
    display: inline-block;
    border: 2px solid transparent;
}

.slider__button:hover {
    background-color: #ffffff;
    color: #ee1b2e !important;
    border: 2px solid #ee1b2e;
}

/* Wersja mobilna */
@media screen and (max-width: 768px) {
    .desktop-slider {
        display: none !important;
    }
    .mobile-slider {
        display: block !important;
        width: 100%;
        max-width: 100%;
    }
    .slider-container {
        display: flex;
        justify-content: center;
        align-items: center;
        position: relative;
    }
    .desktop-text {
        display: none !important;
    }
    .mobile-text {
        display: block !important;
        text-align: center;
        font-size: 14px;
        position: absolute;
        top: 72%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 90%;
    }
    .line1 {
        font-size: 18px;
    }
    .line2 {
        font-size: 30px;
        margin-top: 0px;
    }
    .line3 {
        font-size: 20px;
        margin-bottom: 20px;
    }
    .slider__button {
        font-size: 14px;
        padding: 10px 20px;
        position: absolute;
        bottom: 5%;
        left: 50%;
        transform: translateX(-50%);
    }
}

/*MENU 4 KAFELKI*/
/* Stylowanie nagłówka */
h2 {
    text-align: left;
    font-size: 24px;
    margin-bottom: 20px;
}

/* Kontener na grafiki – zajmuje całą szerokość strony */
.product-grid {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 15px; /* Odstęp między obrazkami */
    width: 100%;
    max-width: 1200px;
    margin: 0 auto; /* Centrowanie */
    text-align: center;
}

/* Stylowanie obrazków – równa szerokość */
.product-grid a {
    flex: 1; /* Równe szerokości dla wszystkich obrazków */
    text-decoration: none; /* Usunięcie podkreślenia linków */
    color: inherit;
}

.product-grid img {
    width: 100%; /* Obrazki rozciągają się na całą szerokość dostępnej przestrzeni */
    height: auto; /* Zachowanie proporcji */
    display: block; /* Usunięcie białych marginesów */
    transition: filter 0.3s ease-in-out, border 0.3s ease-in-out;
}

.product-grid a:hover img {
    filter: brightness(60%);
    border: 1px solid red;
}

/* Stylowanie tytułów */
.grafic-title {
    display: block;
    font-size: 16px;
    text-transform: uppercase;
    margin-top: 10px;
    color: #333333;
}

/* Stylowanie dla urządzeń mobilnych */
@media (max-width: 600px) {
    .product-grid {
        flex-wrap: wrap;
        justify-content: center;
    }
    .product-grid a {
        flex: 1 1 100%; /* Jeden obrazek w rzędzie na mniejszych ekranach */
    }
}



/*KAFELKI 3 KOLUMNY*/
/* Ustawienie siatki dla obrazków */
.custom-image-stack {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    justify-content: center;
    align-items: start;
}

/* Kontener dla każdego obrazu */
.custom-image-container {
    position: relative;
    width: 100%;
    max-width: 380px;
    transition: filter 0.3s ease, border 0.3s ease;
}

.custom-image-container img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Efekt hover dla obrazków */
.custom-image-container:hover {
    filter: brightness(70%);
    border: 1px solid red;
}

/* Nakładka z tekstem */
.custom-text-overlay {
    position: absolute;
    bottom: 10px;
    left: 10px;
    color: white;
    font-weight: bold;
    text-transform: uppercase;
}

.custom-text-overlay .line1 {
    font-size: 24px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.custom-text-overlay .line2 {
    font-size: 16px;
}

/* Kolumna z dwoma obrazkami */
.column-3 {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Stylizacja dla urządzeń mobilnych */
@media (max-width: 768px) {
    .custom-image-stack {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}

/*KONIEC KAFELKI 3 KOLUMNY*/



/*Czcionka termin wysyłki*/

.projector_status__info_label {
  color: #ee1b2e;       /* Niebieski - zmień na swój kolor */
  font-size: 1.5rem;     /* Rozmiar czcionki - np. 1.2rem */
  font-weight: bold;     /* Opcjonalnie pogrubienie */
  text-transform: uppercase; /* 👉 zmienia tekst na WIELKIE LITERY */
}

.projector_status__info_days {
  color: #ee1b2e;        /* Zielony - zmień jak chcesz */
  font-size: 1.5rem;     /* Można też dać px np. 14px */
  font-weight: bold;     /* Opcjonalnie pogrubienie */
  text-transform: uppercase; /* 👉 zmienia tekst na WIELKIE LITERY */
}

.projector_status__info_amount {
  display: block;           /* 👈 Zmusza span do nowej linii */
  margin-top: 0.3rem;       /* Opcjonalnie: odstęp od góry */
  font-size: 1.1rem;
}

.cop_time__label {
  display: block;           /* 👈 Jeśli chcesz, by był w osobnej linii */
  font-size: 1.5rem;          /* Zmienny rozmiar, np. 1rem = 16px */
  color: #ee1b2e;           /* Przyjemny ciemny szary */
  font-weight: 600;         /* Trochę grubszy font */
  text-transform: uppercase; /* Cały tekst wielkimi literami */
  margin-bottom: 0.3rem;    /* Mały odstęp na dole */
}
/* RAMKA POLECAMY – styl Praxer.pl */
.polecamy-box {
  border-left: 4px solid #ee1b23;
  background-color: #ebebeb;
  padding: 16px;
  margin: 25px 0;
  border-radius: 6px;
  font-size: 16px;
  line-height: 1.5;
}

.polecamy-box strong {
  color: #ee1b23;
}

.polecamy-box a {
  color: #000;
  text-decoration: underline;
  font-weight: 500;
  transition: color 0.2s ease;
}

.polecamy-box a:hover {
  color: #ee1b23;
  text-decoration: none;
}
/* Sekcja 4 produkty – kontener */
.products-section {
  padding: 30px 15px;
  border: 1px solid #ccc;
  border-radius: 8px;
}

/* Kafel produktu */
.product-figure {
  margin: 0; /* reset domyślnego marginesu figure */
}

.product-img {
  display: block;        /* aby margin auto wycentrował obraz */
  margin: 0 auto;
  max-height: 250px;
  width: 100%;
  height: auto;
  object-fit: contain;   /* mieści zdjęcie bez zniekształceń */
}

.product-caption {
  font-size: 11pt;
  margin-top: 8px;
  color: #555;
}
/* Separator sekcji – cienka szara linia */
.section-divider {
  border: 0;
  border-top: 1px solid #ddd;
  margin: 25px 0;
  width: 100%;
}
/* BLOK WSKAZÓWEK — tło, padding, zaokrąglenie */
.tips-box {
  width: 100%;
  background: #f3f4f6;
  border-radius: 12px;
  padding: 20px;
  box-sizing: border-box;
}

/* Nagłówek w bloku */
.tips-box h3 {
  margin: 0 0 12px 0;
  font-size: 18px;
  color: #222;
}

/* Lista punktowana */
.tips-box ul {
  margin: 0;
  padding-left: 18px;
  line-height: 1.6;
}

/* Akapit z odstępami */
.tips-box p {
  margin: 14px 0 8px 0;
  line-height: 1.6;
  color: #333;
}

/* Ostatni akapit bez dolnego marginesu */
.tips-box p:last-child {
  margin-bottom: 0;
}
/* === NEWSLETTER (osłoń ten blok klasą rodzica, np. .newsletter-box) === */
.newsletter-box {
  background:#ebebeb;
  padding:12px 0 14px;
  text-align:center;
}

/* Teksty: ciaśniej między wierszami i elementami */
.newsletter-box p {
  margin:0 0 8px 0;       /* mały odstęp nad formularzem */
  line-height:1.25;       /* ciaśniejsza interlinia */
  font-size:15px;
  color:#333;
}

/* Formularz: obok siebie na desktopie, pod sobą na mobile */
.newsletter-box form {
  display:flex;
  justify-content:center;
  align-items:center;
  gap:10px;               /* odstęp między polem i przyciskiem */
  max-width:560px;
  margin:0 auto;
}

/* Pole e-mail: twarda wysokość (nie rozciąga się jak textarea) */
.newsletter-box input[type="email"]{
  flex:1 1 360px;         /* szerokie pole na desktopie */
  min-width:220px;
  height:40px;
  min-height:40px;
  max-height:40px;
  padding:0 12px;
  border:1px solid #cfcfcf;
  border-radius:4px;
  font-size:16px;         /* 16px -> brak auto-zooma iOS */
  line-height:40px;       /* pionowe centrowanie tekstu */
  box-sizing:border-box;
  appearance:none;
  -webkit-appearance:none;
}

/* Przyciskiem zarządza Twój system (.btn --solid --medium) – tylko wyrównanie */
.newsletter-box .btn.--solid.--medium.questions__button{
  height:40px;
  padding:0 20px;         /* zgodne optycznie z inputem */
  border-radius:4px;
}

/* Mobile: układ pod sobą i 100% szerokości */
@media (max-width:600px){
  .newsletter-box form{
    flex-direction:column;
    align-items:stretch;
    gap:8px;
    max-width:100%;
  }
  .newsletter-box input[type="email"],
  .newsletter-box .btn.--solid.--medium.questions__button{
    width:100%;           /* węższy, czytelny układ mobilny */
  }
}