.woocommerce-loop-category__title::before{
  display: none;
}
.woocommerce-loop-product__title::before{
  display: none;
}
.woocommerce-loop-product__title{
  text-align: center;
}
.woocommerce-loop-category__title{
  text-align: center;
}
.woocommerce-loop-category__title .count{
  display: none;
}
.wp-block-search__inside-wrapper {
    border: none;
    border-bottom: 1px solid #000;
    margin-top: 20px;
}
.wp-block-search__button.has-icon{
  background: none;
  border: none;
}
.wp-block-search__label{
  font-weight: 600;
  font-size: 18px;

}
.category-choose-title{
  font-size: 18px;
  font-weight: 600;
  margin-top: 30px;
}
.wc-blocks-filter-wrapper h3{
  font-size: 18px;
  font-weight: 600;
}
.wp-block-woocommerce-filter-wrapper{
  margin-top: 40px;
}
.wc-block-product-categories-list-item{
  list-style: none;
  margin-left: 0;
  line-height: 2.4;
}
.wc-block-product-categories-list-item ul{
  margin-left: 15px;
}
.wc-block-product-categories-list-item a{
  color: inherit;
}
.woocommerce-breadcrumb{
  margin-top: 40px !important;
  margin-bottom: 40px !important;
}
.woocommerce-breadcrumb span:last-child a{
  color: #E5202F;
}
.sidebar-col{
  background: #F5F5F5;
  padding-top: 40px;
  padding-right: 20px;
  padding-left: 20px;
  position: relative;
}


.shop-col{

padding-left: 20px; /* Opcjonalne, dla odstępu */
}
.wp-block-search__input{
  background: #F5F5F5;
}
.shop-row{
  justify-content: space-between;
}
.breadcrumb-last{
  color: #D04241;
}
.woocommerce .woocommerce-ordering{
  display: none;
}
.wc-block-product-categories-list-item.current-category {
  font-weight: 700;
}
.wc-block-product-categories-list-item.current-category .wc-block-product-categories-list {
    font-weight: normal; /* Wyłączenie pogrubienia dla podkategorii */
}
.afrfqbt.add_to_cart_button {
  display: none !important;
}
.pswp__zoom-wrap{
  width: inherit !important;
  height: inherit !important;
}
.mobile-sidebar-toggle {
    display: none;
    background: #E5202F;
    color: #fff;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    font-size: 18px;
    margin-bottom: 20px;
    /* position: fixed; */
    /* top: 10px;
    right: 10px;
    z-index: 1000; */
}
.close-sidebar {
    background: #f00;
    color: #fff;
    border: none;
    padding: 10px;
    cursor: pointer;
    position: absolute;
    top: 10px;
    right: 10px;
    display: none;
}
@media (max-width: 768px) {
    /* Ukrycie sidebaru */
    .woocommerce .sidebar {
        display: none;
        position: fixed;
        top: 0;
        right: -300px; /* Sidebar ukryty poza ekranem */
        width: 250px;
        height: 100%;
        background: #F5F5F5;
        padding: 20px;
        box-shadow: -2px 0 5px rgba(0, 0, 0, 0.3);
        z-index: 999;
        transition: right 0.3s ease-in-out;
    }
    .woocommerce .sidebar.active {
        display: block;
        left: 0;
    }
    .mobile-sidebar-toggle {
        display: block;
    }
    .sidebar-col {
    background: #FFF;
    padding-top: 0px;
    padding-right: 0px;
    position: relative;
}
.shop-col{
  padding-left: calc(var(--bs-gutter-x) * .5);
}
.woocommerce ul.products[class*=columns-] li.product, .woocommerce-page ul.products[class*=columns-] li.product {
    margin: 0 0 1.5em;
}
  }

  .woocommerce ul.products li.product a img{
    aspect-ratio: 1/1;
  }
  .woocommerce-info {
    border-top-color: #E5202F;
}
.woocommerce-info::before{
  color: #E5202F;
}
.woocommerce-error, .woocommerce-info, .woocommerce-message{
  background-color: #F5F5F5;
}
.woocommerce nav.woocommerce-pagination{
  margin-bottom: 50px;
}
.woocommerce nav.woocommerce-pagination ul li a{
  color: #E5202F;
}
.woocommerce nav.woocommerce-pagination ul li a:focus, .woocommerce nav.woocommerce-pagination ul li a:hover, .woocommerce nav.woocommerce-pagination ul li span.current{
  background: #E5202F;
  color: #FFF;
}
.woocommerce nav.woocommerce-pagination ul li {
    border-right: 1px solid #E5202F;
    width: 35px;
}
.woocommerce nav.woocommerce-pagination ul {
    border: 1px solid #E5202F;
}
.woocommerce nav.woocommerce-pagination ul li:last-child{
  border-right: none;
}

.wc-block-product-categories-list-item a:hover{
  color: #E5202F;
}
.woocommerce ul.products li.product a:hover h2{
  color: #E5202F;
}



.product-category {
    position: relative;
}

.product-category a {
    display: block;
    text-decoration: none;
    position: relative;
}

.product-category .image-wrapper {
    overflow: hidden;
    display: block;
    width: 100%; /* Zapewnia, że kontener dostosowuje się do szerokości rodzica */
    aspect-ratio: 1 / 1; /* Ustawia proporcje 1:1 (kwadrat), możesz dostosować */
}

.product-category .image-wrapper img {
    width: 100%;
    height: 100%; /* Wypełnia kontener */
    object-fit: cover; /* Zachowuje proporcje, wypełniając kontener */
    display: block;
    transition: transform 0.4s ease;
}

.product-category:hover .image-wrapper img {
    transform: scale(1.1); /* Subtelne powiększenie */
}

.product-category .woocommerce-loop-category__title {
    margin: 0;
}
.woocommerce ul.products li.product .woocommerce-loop-category__title, .woocommerce ul.products li.product .woocommerce-loop-product__title, .woocommerce ul.products li.product h3{
  padding: 1em 0;
}

.product {
    position: relative;
}

.product a.woocommerce-LoopProduct-link {
    display: block;
    text-decoration: none;
    position: relative;
}

.product .image-wrapper {
    overflow: hidden;
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1; /* Proporcje 1:1, pasujące do obrazu 450x450 */
}

.product .image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Zachowuje proporcje */
    display: block;
    transition: transform 0.4s ease;
}

.product:hover .image-wrapper img {
    transform: scale(1.1); /* Subtelne powiększenie */
}

.product .woocommerce-loop-product__title {
    margin: 0;
}
