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

.product-container {
  margin: 10px 0;
  transition: all 0.3s ease;
}

.product-tile {
  color: inherit;
  text-decoration: none;
  width: 100%;
  display: flex;
  align-items: stretch;
  position: relative;
  border-top: 2px #8e8e8e solid;
  border-bottom: 2px #8e8e8e solid;
  cursor: pointer;
  transition: all 0.3s;
}

.product-tile:hover {
  border-color: #008cff;
}

.accordion {
  background-color: #f0f0f0;
  padding: 10px;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition:
    max-height 0.5s ease,
    opacity 0.5s ease;
  border-bottom: 2px #8e8e8e solid;
}

.product-container.active .accordion {
  opacity: 1;
}

.product-details {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  margin: 10px;
  max-width: 450px;
  justify-content: center;
}

.product-details h2 {
  margin-top: 0;
}

.product-details p {
  margin: 0;
}

.product-details .add-to-cart-button {
  margin-top: auto;
}

.product-tile img {
  width: 200px;
  height: 100%;
  align-self: center;
}

@media only screen and (max-width: 650px) {
  .product-tile img {
    width: 160px;
    height: 100%;
  }

  .navbar a {
    font-size: 15px !important;
  }
}

@media only screen and (max-width: 950px) {
  .navbar a {
    font-size: 18px !important;
  }
}

.description {
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: pre-line;
  font-weight: 600;
}

.price {
  position: absolute;
  bottom: 0;
  right: 10px;
  margin: 8px;
  font-size: 20px;
  font-weight: 600;
  color: #272727;
  font-family: Arial, Helvetica, sans-serif;
}

.add-to-cart-button {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 12px 16px;
  background-color: #000;
  color: #fff;
  font-size: 15px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.hidden {
  display: none;
}

@media (min-height: 1030px) and (min-width: 1030px) {
  .footer {
    width: 100%;
  }
}

.footer {
  background: #000;
  padding: 30px 0;
  font-family: Play, sans-serif;
  text-align: center;
  bottom: 0;
  margin-top: 50px;
}

.footer .row {
  width: 100%;
  margin: 10px 0;
  padding: 10px 0;
  color: #c5c5c5;
  font-size: 0.8em;
}

.footer .row a {
  text-decoration: none;
  color: #c5c5c5;
  transition: 0.5s;
  transition: 0.1s all ease-in;
}

.footer .row ul {
  width: 100%;
  padding: 0;
}

.footer .row ul li {
  display: inline-block;
  margin: 0 10px;
  text-align: center;
  font-size: 1.3em;
}

@media (max-width: 880px) {
  .product-information {
    margin: 40px;
  }

  .footer {
    position: relative;
  }

  .cart-icon .fa-shopping-cart {
    font-size: 20px;
    right: -5px;
  }

  .cart-count {
    width: 8px;
    height: 8px;
    top: -10px;
  }
}

@media (max-width: 720px) {
  .footer {
    text-align: left;
    padding: 5%;
    bottom: initial;
  }

  .footer .row ul li {
    display: block;
    margin: 10px 0;
    text-align: left;
  }

  .footer .row a:first-child i {
    margin: 0;
    margin-right: 10px;
  }
}

.blur-background-cookie {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9998;
  pointer-events: none;
  opacity: 1;
  transition: opacity 0.3s;
}

.blur-background-cookie.show {
  pointer-events: auto;
  backdrop-filter: blur(2px);
  opacity: 1;
}

#cookie-notification {
  position: fixed;
  bottom: 20px;
  background-color: #fff;
  padding: 20px;
  border-radius: 4px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  z-index: 99999;
  opacity: 1;
  transition: opacity 0.5s;
  width: calc(100% - 20px);
  margin: 0 auto;
  display: none;
}

#cookie-notification p {
  margin: 0;
}

#cookie-notification button {
  margin-top: 10px;
  border-radius: 0;
  border: 0;
  font-size: 16px;
  padding: 5px;
  transition: background-color 0.2s ease;
}

#cookie-notification button:hover {
  cursor: pointer;
  background-color: #dbdbdb;
}

#cookie-notification a {
  text-decoration: none;
  color: #000;
  font-size: 17px;
  font-weight: 700;
  transition: color 0.2s ease;
}

#cookie-notification a:hover {
  cursor: pointer;
  color: #1ba0a0;
}

.image-container-cookie {
  position: absolute;
  right: 35px;
  top: 0;
  bottom: 0;
  width: 150px;
}

@media screen and (max-width: 1420px) {
  .image-container-cookie {
    position: relative;
    margin-right: 0;
  }
}

.corner-image {
  max-width: 150px;
  max-height: 150px;
}

.blur-background {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9998;
  backdrop-filter: blur(2px);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s;
}

.blur-background.show {
  pointer-events: auto;
  opacity: 1;
}

.blur-background-cart {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9998;
  pointer-events: none;
  opacity: 1;
  transition: opacity 0.3s;
}

.blur-background-cookie {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.13) !important;
  z-index: 9998;
  pointer-events: none;
  opacity: 1;
  transition: opacity 0.3s;
}

.custom-toggle {
  margin-left: 15px;
  margin-right: 15px;
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.custom-toggle .left-container {
  display: flex;
  align-items: center;
}

.custom-toggle .left-container h4 {
  margin-right: 10px;
}

.custom-toggle .right-container {
  display: flex;
  align-items: center;
  margin-left: auto;
}

.custom-toggle input[type="checkbox"] {
  display: none;
}

.custom-toggle .slider {
  position: relative;
  width: 40px;
  height: 20px;
  background-color: #eaeaea;
  border-radius: 10px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  margin: 0 10px;
}

.custom-toggle .slider-handle {
  position: absolute;
  top: 50%;
  left: 2px;
  transform: translate(0, -50%);
  width: 16px;
  height: 16px;
  background-color: #fff;
  border-radius: 50%;
  transition: left 0.3s ease;
}

.custom-toggle input[type="checkbox"]:checked + .slider .slider-handle {
  left: calc(100% - 18px);
}

.custom-toggle input[type="checkbox"]:checked + .slider {
  background-color: #000;
}

.custom-toggle input[type="checkbox"]:checked + .slider .slider-handle {
  background-color: #4a4a4a;
}

.custom-toggle .right-label {
  margin-left: 0;
}

.custom-toggle .info-icon {
  margin-left: 10px;
  color: #999;
  cursor: pointer;
  position: relative;
}

.custom-toggle .info-tooltip {
  position: absolute;
  top: 5px;
  left: 60%;
  transform: translateX(-50%);
  width: 300px;
  padding: 8px;
  background-color: #f8f8f8;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 14px;
  line-height: 1.4;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 999;
}

.custom-toggle .info-icon:hover + .info-tooltip {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transition-delay: 0.3s;
}

.cookie-overlay {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  max-width: 600px;
  height: auto;
  background-color: #fff;
  opacity: 1;
  display: none;
  transition: opacity 0.3s;
  z-index: 999999;
  overflow: hidden;
  padding: 5px;
}

.cookie-overlay h2 {
  font-size: 30px;
  margin: 10px;
  position: relative;
}

.cookie-overlay h2 i {
  position: absolute;
  top: 0;
  right: 0;
  cursor: pointer;
  color: #000;
}

.cookie-icon:hover + .cookie-overlay,
.cookie-overlay:hover {
  opacity: 1;
  visibility: visible;
}

.container {
  width: 100%;
  min-height: 800px;
}

.blur-background-cart {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.13);
  z-index: 9998;
  pointer-events: none;
  opacity: 1;
  transition: opacity 0.3s;
  display: none;
}

.blur-background-cart.show {
  pointer-events: auto;
  backdrop-filter: blur(2px);
  opacity: 1;
}

.cart-overlay {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 450px;
  max-width: 90%;
  height: 570px;
  background-color: #fff;
  opacity: 0;
  visibility: hidden;
  z-index: 9999;
  padding: 5px;
}

.product-list {
  width: 100%;
  max-height: 50vh;
  margin: auto 0 15px !important;
  box-sizing: border-box;
  background-color: #f2f2f2;
  overflow-y: auto;
  padding: 10px;
  display: none;
}

.cart-overlay h2 {
  font-size: 25px;
  margin: 10px;
  position: relative;
}

.hamburger {
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  z-index: 1000;
  transition: transform 0.3s;
}

.hamburger:hover {
  transform: scale(1.1);
}

.line {
  width: 45px;
  height: 3px;
  background-color: #000;
  margin: 4px 0;
  transition:
    transform 0.3s,
    opacity 0.3s,
    background-color 0.3s;
}

.hamburger.active .line:nth-child(1) {
  transform: rotate(-45deg) translate(-10px, 10px);
}

.hamburger.active .line:nth-child(2) {
  z-index: -1;
  opacity: 0;
}

.hamburger.active .line:nth-child(3) {
  transform: rotate(45deg) translate(-15px, -15px);
}

.cart-icon:hover + .cart-overlay,
.cart-overlay:hover {
  opacity: 1;
  visibility: visible;
}

.product {
  margin: 10px;
  align-items: center;
  background-color: #e2e2e2;
  padding: 5px;
  display: flex;
  cursor: pointer;
}

.product-empty {
  margin: 10px;
  align-items: center;
  background-color: #e2e2e2;
  padding: 5px;
  display: flex;
  cursor: pointer;
}

.product-empty-name {
  font-weight: 700;
  padding-left: 5px;
  font-size: 25px;
}

.product img {
  width: auto;
  max-height: 128px;
  margin-right: 10px;
}

.product-empty img {
  width: 128px;
  height: auto;
  object-fit: contain;
  margin-right: 10px;
}

.cart-product-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  flex-grow: 1;
}

.product-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  flex-grow: 1;
}

.product-name {
  font-weight: 700;
}

.product:hover {
  color: #007bff;
}

.product-price {
  color: #4b4b4b;
}

.blurred {
  filter: blur(5px);
}

.blur-background.show,
.cart-overlay.show {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  display: block;
}

.go-to-cart-button {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  border: none;
  background-color: rgb(0, 0, 0);
  color: white;
  padding: 12px 24px;
  font-size: 16px;
  cursor: pointer;
  margin-top: 5px;
  border-radius: 5px;
  transition:
    background-color 0.3s ease,
    transform 0.2s ease;
}

.go-to-cart-button.page {
  background-color: rgb(61, 61, 61);
  color: white;
}

.go-to-cart-button:focus {
  outline: none;
}

.go-to-cart-button:hover {
  background-color: rgb(0, 151, 233);
  transform: translateY(-2px);
}

.go-to-cart-button:active {
  background-color: rgb(0, 123, 194);
  transform: translateY(0);
}

.blur-background.show + :not(#cookie-notification) {
  filter: blur(5px);
}

.navbar {
  background-color: #000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
  padding: 0 20px;
  z-index: 999;
}

.navbar a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 26px;
  margin-right: 0;
}

.navbar .home-link {
  margin-right: auto;
  margin-left: 20px;
}

a .navbar-logo {
  margin-top: 8px;
  height: 120px;
}

.navbar i {
  margin-right: 5px;
  color: #fff;
  font-size: 18px;
}

.cart-icon {
  display: flex;
  align-items: center;
  position: relative;
}

.cart-icon .fa-shopping-cart {
  font-size: 25px;
}

.cart-count {
  background-color: #353535;
  color: #fff;
  border-radius: 50%;
  padding: 5px;
  font-size: 18px;
  font-family:
    "Trebuchet MS", "Lucida Sans Unicode", "Lucida Grande", "Lucida Sans",
    Arial, sans-serif;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-weight: 800;
  position: absolute;
  top: -16px;
  right: -16px;
}

.cart-icon:hover {
  cursor: pointer;
}

::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: #888;
}

::selection {
  color: #00e1ff;
  background-color: #fff;
}

a:hover {
  color: grey;
  text-decoration: underline;
}

main {
  width: 1500px;
  max-width: 100%;
  height: auto;
  font-size: 22px;
  background-color: #fff;
  color: #000;
  border-radius: 10px;
  padding: 25px;
  padding-top: 80px;
  white-space: pre-line;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

@media (max-width: 800px) {
  .cart-icon {
    display: flex;
    align-items: center;
    position: absolute;
    top: 20px;
    right: 20px;
  }

  .cart-icon .fa-shopping-cart {
    font-size: 40px;
  }

  .cart-count {
    background-color: #353535;
    color: #fff;
    border-radius: 50%;
    padding: 5px;
    font-size: 18px;
    font-family:
      "Trebuchet MS", "Lucida Sans Unicode", "Lucida Grande", "Lucida Sans",
      Arial, sans-serif;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-weight: 800;
    position: absolute;
    top: 0;
    right: -16px;
  }

  .cart-icon .fa-shopping-cart {
    font-size: 32px;
    position: relative;
  }

  .search-container i {
    font-size: 20px !important;
  }

  .search-container {
    margin: 0 !important;
  }

  #searchInput {
    font-size: 16px !important;
    padding: 16px 10px !important;
  }

  .navbar a {
    font-size: 18px;
    margin-right: 0;
    margin-top: 5px;
    margin-bottom: 15px;
    text-align: center;
  }

  .navbar button {
    font-size: 16x;
    padding: 8px;
  }

  .navbar img {
    left: 20px;
  }

  .navbar {
    flex-direction: column;
    height: auto;
    padding: 10px 20px;
    position: relative;
  }

  .navbar i {
    color: #fff;
    font-size: 30px;
  }

  .navbar .home-link {
    margin: 0;
    margin-bottom: 15px;
  }
}

.navigate {
  overflow: hidden;
}

.navigate a {
  float: left;
  display: block;
  color: #000;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 20px;
}

.navigate a:hover {
  background-color: #d1d1d1;
  color: #000;
}

.navigate a.active {
  background-color: #000;
  color: #fff;
}

.search-container i {
  position: absolute;
  transform: translateY(-50%);
  color: #888;
}

::placeholder {
  color: #fff;
}

#searchInput {
  background-color: #313131;
  color: #fff;
  border: none;
  outline: 0;
  width: 50%;
  padding: 10px !important;
  font-size: 18px !important;
  border-radius: 22px;
  box-sizing: border-box;
}

#categorySelect {
  background-color: #313131;
  color: #fff;
  border: none;
  padding: 10px;
  font-size: 18px;
  outline: 0;
  border-radius: 22px;
  width: auto;
  box-sizing: border-box;
}

#categorySelect option {
  background-color: #313131;
  color: #fff;
}

@media screen and (max-width: 768px) {
  .search-container {
    flex-direction: column;
    align-items: stretch;
  }

  #categorySelect,
  #searchInput {
    width: 100%;
  }
}

@media screen and (max-width: 500px) {
  .navigate a,
  .navigate input[type="text"] {
    display: block;
    width: 100%;
    margin: 5px;
    padding: 14px;
  }

  .navigate input[type="text"] {
    border: 1px solid #ccc;
  }

  p.description {
    width: 100% !important;
  }
}

.search-container {
  position: relative;
  display: inline-block;
}

.search-container i {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 10px;
  color: #888;
}

#searchInput {
  box-sizing: border-box;
  background-color: #313131;
  color: #fff;
  border: none;
  padding: 24px 14px;
  font-size: 22px;
  outline: 0;
  margin-left: auto;
  margin-right: auto;
}

.blur-background-contact {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 999;
  display: none;
}

.blur-background-contact.show + :not(#contact-overlay) {
  backdrop-filter: blur(0);
  display: block;
  z-index: 99999999;
}

.blur-background-contact.show {
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(5px);
  display: block;
}

.contact-overlay {
  padding: 15px;
  max-width: 350px;
  height: 500px;
  position: fixed;
  background-color: rgba(255, 255, 255, 0.9);
  z-index: 1;
  display: none;
  margin: auto;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 600;
}

.contact-overlay a:link {
  color: #000;
  text-decoration: none;
  font-weight: 600;
  font-size: 18px;
}

.contact-overlay a:visited {
  color: #000;
  text-decoration: none;
}

.contact-overlay a:hover {
  text-decoration: underline;
}

.contact-overlay a:active {
  text-decoration: underline;
}

.copy-success {
  color: rgba(255, 255, 255, 0) !important;
}

.notification-container {
  width: 100%;
  height: auto;
  background-color: #00b7ff;
  opacity: 0;
  display: none;
  color: #fff;
  z-index: 50000000;
  transition: all 0.3s;
}

.notification-container p {
  padding: 5px;
  font-size: 19px;
}

.notification-container.active {
  display: block;
  opacity: 1;
}

#loader {
  position: fixed;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 1);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: all 0.3s;
}

#loader.act {
  opacity: 0;
}

.lds-spinner {
  color: official;
  display: inline-block;
  position: relative;
  width: 80px;
  height: 80px;
}

.lds-spinner div {
  transform-origin: 40px 40px;
  animation: lds-spinner 1.2s linear infinite;
}

.lds-spinner div:after {
  content: " ";
  display: block;
  position: absolute;
  top: 3px;
  left: 37px;
  width: 6px;
  height: 18px;
  border-radius: 20%;
  background: #000;
}

.lds-spinner div:nth-child(1) {
  transform: rotate(0);
  animation-delay: -1.1s;
}

.lds-spinner div:nth-child(2) {
  transform: rotate(30deg);
  animation-delay: -1s;
}

.lds-spinner div:nth-child(3) {
  transform: rotate(60deg);
  animation-delay: -0.9s;
}

.lds-spinner div:nth-child(4) {
  transform: rotate(90deg);
  animation-delay: -0.8s;
}

.lds-spinner div:nth-child(5) {
  transform: rotate(120deg);
  animation-delay: -0.7s;
}

.lds-spinner div:nth-child(6) {
  transform: rotate(150deg);
  animation-delay: -0.6s;
}

.lds-spinner div:nth-child(7) {
  transform: rotate(180deg);
  animation-delay: -0.5s;
}

.lds-spinner div:nth-child(8) {
  transform: rotate(210deg);
  animation-delay: -0.4s;
}

.lds-spinner div:nth-child(9) {
  transform: rotate(240deg);
  animation-delay: -0.3s;
}

.lds-spinner div:nth-child(10) {
  transform: rotate(270deg);
  animation-delay: -0.2s;
}

.lds-spinner div:nth-child(11) {
  transform: rotate(300deg);
  animation-delay: -0.1s;
}

.lds-spinner div:nth-child(12) {
  transform: rotate(330deg);
  animation-delay: 0s;
}

@keyframes lds-spinner {
  0% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}

.stock-info {
  font-size: 20px;
  color: #000;
}

/* Pusty koszyk: logo po lewej, tekst po prawej i pionowo pośrodku */
.product-empty {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 15px;

  min-height: 138px;
  height: auto;
  box-sizing: border-box;
}

.product-empty img {
  flex: 0 0 128px;

  width: 128px;
  height: 128px;

  margin: 0 !important;
  padding: 0 !important;

  object-fit: contain;
}

.product-empty .cart-product-info {
  display: flex;
  flex: 1 1 auto;
  align-self: stretch;

  min-width: 0;
  margin: 0;
  padding: 0;

  flex-direction: column;
  justify-content: center;
  align-items: flex-start;

  position: static;
  left: auto;
}

.product-empty-name {
  margin: 0 !important;
  padding: 0;

  font-size: 25px;
  font-weight: 700;
}

/* Telefon */
@media screen and (max-width: 550px) {
  .product-empty {
    min-height: 92px;
  }

  .product-empty img {
    flex-basis: 82px;
    width: 82px !important;
    height: 82px;
  }

  .product-empty-name {
    margin: 0 !important;
    font-size: 20px !important;
  }
}
