
.slider {
  position: relative;
  width: 100%; /* Dopasowanie do szerokości przeglądarki */
  overflow: hidden;
  height: 400px; /* Wysokość slidera */
}

.slider-wrapper {
  display: flex;
  transition: transform 0.5s ease-in-out;
  width: 100%; /* Dopasowanie szerokości do rodzica */
  height: 100%; /* Wysokość zgodna z kontenerem */
}

.slide {
  flex: 0 0 100%; /* Każdy slajd zajmuje 100% szerokości rodzica */
  background-size: cover;
  background-position: center;
  height: 100%; /* Wysokość zgodna z kontenerem */
}
@media (max-width: 768px) {
  .slider {
    height: 300px;
  }
}

@media (max-width: 480px) {
  .slider {
    height: 200px;
  }
}

/* Przyciski nawigacji */
.prev-slide,
.next-slide {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  cursor: pointer;
  padding: 10px 15px;
  font-size: 1.5rem;
  z-index: 10;
}

.prev-slide {
  left: 10px;
}

.next-slide {
  right: 10px;
}
.banner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: black;
  color: white;
  padding: 20px 0;
}

.banner-text h1 {
  font-size: 2.5rem;
}

.banner-text .highlight {
  color: red;
}

.banner-text .button {
  margin-top: 10px;
  padding: 10px 20px;
  background-color: red;
  color: white;
  text-decoration: none;
  border-radius: 5px;
}

.banner-image img {
  max-width: 100%;
  height: auto;
}

/* Sekcja promocji */
.promotions h2 {
  font-size: 1.8rem;
  color: red;
  margin-bottom: 10px;
}

.countdown {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.product-card {
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 10px;
  text-align: center;
  align-items: center;
  justify-content: center;
}

.product-card img {
  width: 240px;
  height: 240px;
  object-fit: contain;
  background-color: white;
  display: block;
  margin: 0 auto 10px;
}
.product-card .discount {
  color: red;
  font-weight: bold;
}

.carousel-control-next-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23ffffff' viewBox='0 0 8 8'%3E%3Cpath d='M2.75 0l-1.5 1.5 2.5 2.5-2.5 2.5 1.5 1.5 4-4-4-4z'/%3E%3C/svg%3E") !important;
    width: 20px;
    height: 20px;
}
.brand-img {
    filter: grayscale(100%);
    transition: filter 0.3s ease-in-out;
}


.brand-img:hover {
  filter: grayscale(0%); /* usunięcie efektu czarno-białego i pokazanie obrazka w kolorze */
}
.brand-text {
    white-space: nowrap;
    line-height: 25px;
    text-align: left;
    font-family: Ubuntu;
    font-style: normal;
    font-weight: normal;
    font-size: 19px;
    color: rgba(6,0,0,1);
}

body, html {
  overflow-x: hidden;
}

.product-carousel .product {
  width: 250px; /* lub auto */
  margin: 10px;
}