/* GLOBAL STYLES
-------------------------------------------------- */
/* Padding below the footer and lighter body text */

body {
  padding-top: 3rem;
  padding-bottom: 3rem;
  color: rgb(var(--bs-tertiary-color-rgb));
}

/* Zmieniamy obramowanie i cień na pomarańczowy, gdy pole jest zaznaczone */
.form-control:focus {
  border-color: rgba(233, 125, 1, 1) !important; /* Pomarańczowy kolor obramowania */
  box-shadow: 0 0 0 0.10rem rgba(255, 136, 0, 0.5) !important; /* Pomarańczowy cień */
  outline: none !important; /* Usuwa domyślny outline */
}

.form-select {
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
  border-bottom-right-radius: 8px;
  border-bottom-left-radius: 8px;
}

.product-description {
  overflow-y: auto;
}

.form-control:hover {
  border-color: rgba(233, 125, 1, 0.8) !important; /* Pomarańczowy kolor obramowania */
  box-shadow: 0 0 0 0.10rem rgba(255, 136, 0, 0.5) !important; /* Pomarańczowy cień */
  outline: none !important; /* Usuwa domyślny outline */
}

.alert {
  z-index: 1050; /* Upewnij się, że z-index jest wyższy niż inne elementy */
  position: relative; /* Musisz ustawić pozycjonowanie, aby z-index zadziałał */
}

/* Pomarańczowy kolor obramowania przy fokusie */
.form-select:focus {
  border-color: rgba(233, 125, 1, 1) !important; /* Pomarańczowy kolor obramowania */
  box-shadow: 0 0 0 0.10rem rgba(255, 136, 0, 0.5) !important; /* Pomarańczowy cień */
  
  outline: none !important; /* Usuwa domyślny outline */
}

/* Pomarańczowy kolor obramowania przy najeżdżaniu */
.form-select:hover {
  border-color: rgba(233, 125, 1, 1) !important; /* Pomarańczowe obramowanie */
  box-shadow: 0 0 0 0.10rem rgba(255, 136, 0, 0.5) !important; /* Pomarańczowy cień */
  
  outline: none !important; /* Usuwa domyślny outline */
}

/* Zmiana koloru zaznaczonego tekstu w całej stronie */
::selection {
  background-color: rgba(233, 125, 1, 0.8) !important; /* Pomarańczowe tło */
  color: white; /* Kolor tekstu */
}

/* Dla Firefoxa */
::-moz-selection {
  background-color: rgba(233, 125, 1, 0.8) !important; /* Pomarańczowe tło */
  color: white; /* Kolor tekstu */
}


.bd-placeholder-img {
  font-size: 1.125rem;
  text-anchor: middle;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}

@media (min-width: 768px) {
  .bd-placeholder-img-lg {
    font-size: 3.5rem;
  }
}

.b-example-divider {
  width: 100%;
  height: 3rem;
  background-color: rgba(0, 0, 0, .1);
  border: solid rgba(0, 0, 0, .15);
  border-width: 1px 0;
  box-shadow: inset 0 .5em 1.5em rgba(0, 0, 0, .1), inset 0 .125em .5em rgba(0, 0, 0, .15);
}

.b-example-vr {
  flex-shrink: 0;
  width: 1.5rem;
  height: 100vh;
}

.bi {
  vertical-align: -.125em;
  fill: currentColor;
}

.nav-scroller {
  position: relative;
  z-index: 2;
  height: 2.75rem;
  overflow-y: hidden;
}

.nav-scroller .nav {
  display: flex;
  flex-wrap: nowrap;
  padding-bottom: 1rem;
  margin-top: -1px;
  overflow-x: auto;
  text-align: center;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
}

.btn-bd-primary {
  --bd-violet-bg: #712cf9;
  --bd-violet-rgb: 112.520718, 44.062154, 249.437846;

  --bs-btn-font-weight: 600;
  --bs-btn-color: var(--bs-white);
  --bs-btn-bg: var(--bd-violet-bg);
  --bs-btn-border-color: var(--bd-violet-bg);
  --bs-btn-hover-color: var(--bs-white);
  --bs-btn-hover-bg: #6528e0;
  --bs-btn-hover-border-color: #6528e0;
  --bs-btn-focus-shadow-rgb: var(--bd-violet-rgb);
  --bs-btn-active-color: var(--bs-btn-hover-color);
  --bs-btn-active-bg: #5a23c8;
  --bs-btn-active-border-color: #5a23c8;
}

.bd-mode-toggle {
  z-index: 1500;
}

.bd-mode-toggle .dropdown-menu .active .bi {
  display: block !important;
}


/* CUSTOMIZE THE CAROUSEL
-------------------------------------------------- */

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}

.categories {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.categories h2 {
  margin-bottom: 24px;
  font-size: 24px;
}

.circle-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px; /* Odstęp między kółkami */
}

.circle-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none; /* Upewnia się, że podkreślenie nie pojawia się podczas najechania */
  color: inherit; /* Dziedziczy kolor tekstu z rodzica, aby nie zmieniać koloru */

}

.circle {
  width: 100px;
  height: 100px;
  background-color: var(--bs-secondary-color);
  border-radius: 50%; /* Zaokrąglenie rogów, aby uzyskać kółko */
  display: flex;
  justify-content: center;
  align-items: center;
  color: white; /* Kolor ikony i tekstu */
  transition: transform 0.3s ease;
  margin-bottom: 10px;
}

.circle-item:hover .circle {
  transform: scale(1.1); /* Powiększa kółko o 10% */
}

.circle i {
  font-size: 50px; /* Rozmiar ikony */
}

.circle-item p {
  margin: 10px 0 0; /* Odstęp między kółkiem a napisem */
  width: 100px;
  font-size: 14px; /* Rozmiar tekstu */
}

.ring-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px; /* Odstęp między kółkami */
}

.ring-item {
  display: flex;
  justify-content: center; /* Wyśrodkowanie kółka */
  align-items: center; /* Wyśrodkowanie kółka */
  text-decoration: none; /* Upewnia się, że podkreślenie nie pojawia się podczas najechania */
  color: inherit; /* Dziedziczy kolor tekstu z rodzica, aby nie zmieniać koloru */
}

.ring {
  width: 30px; /* Zmniejszona szerokość kółka */
  height: 30px; /* Zmniejszona wysokość kółka */
  background-color: var(--bs-secondary-color); /* Domyślny kolor kółka */
  border-radius: 50%; /* Zaokrąglenie rogów, aby uzyskać kółko */
  display: flex;
  justify-content: center; /* Wyśrodkowanie ikony */
  align-items: center; /* Wyśrodkowanie ikony */
  color: white; /* Kolor ikony */
  transition: background-color 0.3s ease, transform 0.3s ease; /* Dodano przejście dla koloru */

  margin-left: 15px;
  margin-right: 15px;
}

.ring-item:hover .ring {
  border-color: black; /* Powiększa kółko o 10% */
  font-size: scale(1.05); /* Zmniejszony rozmiar ikony */
  box-shadow: 0 0 0 .10rem rgba(255, 255, 255, .25);
}

.ring i {
  font-size: 20px; /* Zmniejszony rozmiar ikony */
}

.products-list {
 margin-top: 20px;
}

.recent-products h2 {
    margin-bottom: 24px;
    text-align: center;
    font-size: 24px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.product-image {
  border-radius: 8px; 
  padding: 5px;
  text-align: center;
  margin-top:0.25rem;
  background-color: var(--bs-secondary-color); /* Kolor tła */
}


.product-card {
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  padding: 5px;
  text-align: center;
  background-color: var(--bs-secondary-color); /* Kolor tła */
}

.product-card img {
  width: 300px;
  height: 300px;
  object-fit: contain; /* Przytnij obraz do kontenera, zachowując proporcje */
  border-radius: 8px; /* Opcjonalnie, jeśli chcesz zaokrąglić rogi obrazów */
}

.product-card h3 {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 18px;
    margin: 10px 0;
}

a {
  color: var(--bs-secondary-color); /* Dziedziczy kolor tekstu z rodzica, aby nie zmieniać koloru */
  text-decoration: none; /* Usuwa podkreślenie z wszystkich linków */
}

.product-card:hover {
  transform: scale(1.05); /* Powiększa kółko o 10% */
}

.stars {
    font-size: 20px;
    color: #ffcc00; /* Kolor gwiazdek */
    margin: 5px 0 0;
}

.price {
    font-size: 15px;
    font-weight: bold;
    color: #333;
}

/* Carousel base class */
.carousel {
  /* margin-bottom: 4rem; */
}
/* Since positioning the image, we need to help out the caption */
.carousel-caption {
  bottom: 10rem;
  z-index: 10;
}

.product-item{
  background-size: cover; /* Dopasowanie tła do kontenera */
  background-position: center; /* Wycentrowanie tła */
  position: relative;
}

.product-item img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 100%;
  max-height: 100%;
  object-fit: contain; /* Dopasowanie obrazu bez rozciągania */
  z-index: 1; /* Umieszczenie obrazu nad gradientem */
}

/* Declare heights because of positioning of img element */
.carousel-item {
  height: 32rem;
  background-size: cover; /* Dopasowanie tła do kontenera */
  background-position: center; /* Wycentrowanie tła */
  position: relative;
}

.section-background {
  background-size: cover;
  background-position: center;
  position: relative;
  color: white; /* Kolor tekstu */
}

@media (max-width: 768px) {
  .section-background {
    height: auto; /* Automatyczna wysokość dla mniejszych ekranów */
  }
}

.carousel-item img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 100%;
  max-height: 100%;
  object-fit: contain; /* Dopasowanie obrazu bez rozciągania */
  z-index: 1; /* Umieszczenie obrazu nad gradientem */
}

/* MARKETING CONTENT
-------------------------------------------------- */

/* Center align the text within the three columns below the carousel */
.marketing .col-lg-4 {
  margin-bottom: 1.5rem;
  text-align: center;
}
/* rtl:begin:ignore */
.marketing .col-lg-4 p {
  margin-right: .75rem;
  margin-left: .75rem;
}
/* rtl:end:ignore */

/* Featurettes
------------------------- */

.featurette-divider {
  margin: 5rem 0; /* Space out the Bootstrap <hr> more */
}

/* Thin out the marketing headings */
/* rtl:begin:remove */
.featurette-heading {
  letter-spacing: -.05rem;
}

/* rtl:end:remove */

/* RESPONSIVE CSS
-------------------------------------------------- */

@media (min-width: 40em) {
  /* Bump up size of carousel content */
  .carousel-caption p {
    margin-bottom: 1.25rem;
    font-size: 1.25rem;
    line-height: 1.4;
  }

  .featurette-heading {
    font-size: 50px;
  }
}

@media (min-width: 62em) {
  .featurette-heading {
    margin-top: 7rem;
  }
}
