/*
Theme Name: Divi Child Theme
Theme URI: http://yourwebsite.com
Description: Child Theme For Divi
Author: Your Name
Author URI: http://yourwebsite.com
Version: 1.0.0
Template: Divi
*/

/* Uklad strony głównej produktu */

/* Uklad kategorii produktu */
.custom-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.custom-product-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.custom-product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.custom-product-thumbnail img {
    width: 100%;
    height: auto;
    display: block;
}

.custom-product-info {
    padding: 15px;
    text-align: center;
}

.custom-product-title {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin: 10px 0;
}

.custom-product-title a {
    text-decoration: none;
    color: #333;
}

.custom-product-title a:hover {
    color: #0073aa;
}

.custom-product-price {
    font-size: 16px;
    color: #28a745;
    margin: 10px 0;
}

.custom-product-description {
    font-size: 14px;
    color: #555;
    margin: 10px 0;
    line-height: 1.5;
}

.custom-product-button {
    display: inline-block;
    background: #0073aa;
    color: #fff;
    text-decoration: none;
    padding: 10px 15px;
    border-radius: 5px;
    font-size: 14px;
    margin-top: 10px;
    transition: background 0.3s ease;
}

.custom-product-button:hover {
    background: #005c88;
}

/* Uklad produktu */


/* Wygląd filtrów */

.wpc-filters-main-wrap .wpc-filters-labels li.wpc-term-item label{
  border:none !important;
}

.wpc-filter-title{
  text-align: left;
  font: normal normal bold 12px/26px Poppins;
  letter-spacing: 0px;
  color: #147257;
  text-transform: uppercase;
  opacity: 1;
}

.wpc-filters-widget-select{
  background: #FFFFFF 0% 0% no-repeat padding-box;
  border: 1px solid #147257;
  border-radius: 8px;
  opacity: 1;
  padding: 8px;
  text-align: left;
  font: normal normal normal 16px/26px Poppins, sans-serif;
  letter-spacing: 0px;
  color: #464646;
}

.wpc-filters-widget-select option {
  text-align: left;
  font: normal normal normal 16px/26px Poppins, sans-serif;
  letter-spacing: 0px;
  color: #464646;
  background-color: #ffffff;
  padding: 8px;
}

body .wpc-filters-main-wrap input.wpc-label-input+label:hover span.wpc-filter-label-wrapper{
  background-color: #147257;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

body .wpc-filters-main-wrap input.wpc-label-input:checked+label span.wpc-filter-label-wrapper {
  background-color: #147257;
}

body .wpc-filters-main-wrap input.wpc-label-input:checked+label span.wpc-filter-label-wrapper a {
  color: #fff !important;
}

.wpc-filters-main-wrap .wpc-filters-labels li.wpc-term-item label a{
  color: #147257 !important;
  padding: 5px 10px;
  margin-right: 0px;
}

.wpc-filters-main-wrap .wpc-filters-labels li.wpc-term-item label a:hover{
  color: #fff !important;
}

.wpc-filters-range-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-top: 10px;
  margin-bottom: 10px;
}

.wpc-filters-range-min,
.wpc-filters-range-max {
  width: 80px;
  height: 40px;
  padding: 0 10px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 500;
  color: #333;
  text-align: center;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.wpc-filters-range-slider-wrapper input[type="range"] {
  -webkit-appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 5px;
  background: #00a368;
  outline: none;
  opacity: 0.9;
  transition: opacity 0.3s;
}

.wpc-filters-range-slider-wrapper input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid #00a368;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
}

.wpc-filters-range-slider-wrapper input[type="range"]::-webkit-slider-thumb:hover {
  background: #00c77f;
  transform: scale(1.1);
}

.wpc-filters-range-min:hover,
.wpc-filters-range-max:hover {
  border-color: #00a368;
  box-shadow: 0 0 5px rgba(0, 163, 104, 0.5);
}

.wpc-filters-range-min::after,
.wpc-filters-range-max::after {
  content: " zł";
  margin-left: 8px;
  font-size: 14px;
  color: #666;
}

.wpc-filter-label-wrapper {
    display: inline-flex !important;
    justify-content: center;
    align-items: center;
    border: 2px solid #00A64B !important;
    border-radius: 50px !important;
    font-size: 14px;
    font-weight: bold;
    background-color: transparent;
    cursor: pointer !important;
    transition: all 0.3sease;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    padding: 0px !important;
}

