body{
    /* font-family: "Montserrat", sans-serif; */
    font-family: "Archivo", sans-serif;
    font-optical-sizing: auto;
     font-style: normal;
    font-variation-settings:
        "wdth"112.5;
}

span{
    font-family: "Archivo", sans-serif !important;
     font-variation-settings:
        "wdth"112.5 !important;
}

/* p{
      font-family: "Montserrat", sans-serif !important;

} */
:root{
    --niebieski: #02217C;
    --czerwony: #02217C !important;
 }

/* ===== Header Mobile ===== */
.header-main {
    background: #fff;
  }
  
  .header-main .site-logo img {
    max-height: 40px;
  }
  
  /* Akcje w headerze */
  .header-actions {
    display: flex;
    align-items: center;
    margin-left: auto; /* logo z lewej, akcje z prawej */
  }
  
  .header-actions .mobile-burger {
    font-size: 1.5rem;
    border: none;
    background: transparent;
  }
  
  /* ===== Mobile Offcanvas Menu ===== */
  .offcanvas {
    width: 280px;
  }
  
  .offcanvas .offcanvas-body {
    padding: 2rem 1.5rem;
  }
  
  .offcanvas .mobile-nav-list li {
    margin-bottom: 1rem;
  }
  
  .offcanvas .mobile-nav-list a {
    display: block;
    font-size: 1.125rem;
    font-weight: 500;
    color: #fff;
    text-decoration: none;
    transition: color 0.2s ease-in-out;
  }
  
  .offcanvas .mobile-nav-list a:hover {
    color: #0d6efd; /* primary bootstrap */
  }
  
  .offcanvas .social-media a {
    font-size: 1.25rem;
    color: #fff;
    transition: color 0.2s ease-in-out;
  }
  
  .offcanvas .social-media a:hover {
    color: #0d6efd;
  }
  
  .offcanvas .logmobile {
    max-width: 100%;
     margin-left: 50px !important;
}
  .site-logo img {
    max-height: 40px;
    width: auto;
    object-fit: contain;

  }

  div#search-results {
    max-height: 350px;
    overflow: scroll;
}
  .menu-item a {
    color: black !important;
    text-decoration: none !important;
     font-weight: 500 !important;
    font-size: 14px;
}

.fs-12 {
    font-size: 12px !important;
}

.bg-niebieski {
    background-color: var(--niebieski) !important;
}

.menu-item {
    display: flex;
    align-items: center;
    margin-left: 10px;
}

/* Animowany underline w menu */
.navbar-nav > li > a  {
    position: relative;
    display: inline-block;
    color: var(--niebieski); /* dopasuj do tła */
    text-decoration: none;
     transition: color .3s ease;
  }
  
  .navbar-nav > li > a::after {
    content: "";
    position: absolute;
    bottom: 0; 
    left: 0;
    height: 2px; /* grubość linii */
    width: 0;
    background-color: #0d6efd; /* kolor linii (Bootstrap primary) */
    transition: width .3s ease;
  }
  
  .navbar-nav > li > a:hover {
    color: #0d6efd; /* zmiana koloru tekstu */
  }
  
  .navbar-nav > li > a:hover::after,
  .navbar-nav > li.current-menu-item > a.nav-link::after {
    width: 100%;
  } 

.niebieski{
color: var(--niebieski);
}


















/* SKLEP */

.woocommerce main#primary {
  width: 75%;
}

.woocommerce aside#secondary{
  width: 25%;
  padding-right: 1.5rem !important;
}



h2.woocommerce-loop-product__title {
  text-decoration: none !important;
  color: black !important;
  font-size: 15px;
  margin-top: 20px;

}

a.woocommerce-LoopProduct-link.woocommerce-loop-product__link {
  color: black;
  text-decoration: none !important;
}

ul.products li.product .button {
  display: block;
  background: var(--niebieski);
  color: white;
  width: auto;
  text-align: center;
  font-size: 12px;
}

ul.products li.product .button {
  display: block;
  background: var(--niebieski);
  color: white;
  width: auto;
  text-align: center;
  font-size: 12px;
  padding: 5px 10px;
  border-radius: 20px;
  text-decoration: none;
  margin-top: 10px;
}
header.woocommerce-products-header {
  display: none;
}

ul.products li.product img {
  display: block;
  height: 230px;
  width: 70%;
  margin-left: 15%;
  margin-top: 5%;
  object-fit: contain;
  margin-bottom: 50px;
}
li.product {
  border: 1px solid #d4d4d4;
  border-radius: 30px;
  padding: 10px;
}

nav.woocommerce-breadcrumb {
  display: none;
}
p.woocommerce-result-count {
  display: none;
}
ul.products li.product img {
  display: block;
  height: 200px;
  width: 80%;
  margin-left: 10%;
  margin-top: 5%;
  object-fit: contain;
}

ul.products {
  margin: 0;
  padding: 0;
  margin-top: 30px;
}





/* Styl dla listy kategorii WooCommerce */
.wc-block-product-categories {
  background: #ffffff;
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.wc-block-product-categories-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.wc-block-product-categories-list-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0.3rem 0;
  padding: 0.6rem 0.8rem;
  border-radius: 8px;
  transition: background 0.2s ease;
}

.wc-block-product-categories-list-item a {
  text-decoration: none;
  color: #222;
  font-weight: 500;
  font-size: 0.95rem;
}

.wc-block-product-categories-list-item:hover {
  background: #f3f8ff;
}

.wc-block-product-categories-list-item:hover a {
  color: #0056b3; /* ciemniejszy niebieski przy hoverze */
}

/* Licznik produktów */
.wc-block-product-categories-list-item-count {
  font-size: 0.8rem;
  color: #666;
  background: #f0f0f0;
  border-radius: 10px;
  padding: 0.2rem 0.6rem;
  min-width: 26px;
  text-align: center;
}

/* Opcjonalnie: aktywna kategoria */
.wc-block-product-categories-list-item.is-active,
.wc-block-product-categories-list-item.current-cat {
  background: #0056b3;
}

.wc-block-product-categories-list-item.is-active a,
.wc-block-product-categories-list-item.current-cat a,
.wc-block-product-categories-list-item.is-active .wc-block-product-categories-list-item-count,
.wc-block-product-categories-list-item.current-cat .wc-block-product-categories-list-item-count {
  color: #fff;
  background: rgba(255,255,255,0.2);
}



@media screen and (max-width:911px) {

  .custom-icon {
    width: 50px;
    height: 40px;
    text-decoration: none !important;
    margin-right: 10px;
}


.woocommerce main#primary {
  width: 100%;
}


aside.shopsidebar {
  position: fixed;
  width: 100vw !important;
  top: 0%;
  left: 0%;
  height: 100vh !important;
  padding: 1.5rem;
  background: white;
  z-index: 1000;

}

button#kategoriebutton {
  position: fixed !important;
  bottom: 0%;
  left: auto;
  z-index: 100;
  right: auto;
  text-align: center;
}
  
.produkt-sklep form.cart {
  display: flex;
  flex-direction: column;
  width: 100%;
  text-align: center;
  align-items: flex-start;
  justify-content: end;
}



.woocommerce-variation-add-to-cart.variations_button.woocommerce-variation-add-to-cart-disabled {
  display: flex;
}
form.variations_form.cart {
  flex-direction: column;
}


}