/*
 * Patty Bakker — WooCommerce productcategorieën
 * Laad na pb-shop.css, uitsluitend op productcategorie-archieven.
 */

/* ========================================================================== 
   Pagina-opbouw
   ========================================================================== */

.pb-main.pb-product-category {
  width: 100%;
  max-width: none;
  overflow: hidden;
  background: var(--paper, #fffaf5);
}

.pb-product-category .pb-pc-hero-section,
.pb-product-category .pb-pc-products-section {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding-left: var(--pb-edge, clamp(24px, 5vw, 80px)) !important;
  padding-right: var(--pb-edge, clamp(24px, 5vw, 80px)) !important;
}

.pb-product-category .pb-pc-hero-section {
  padding-top: clamp(36px, 5vw, 64px) !important;
  padding-bottom: clamp(30px, 4vw, 48px) !important;
}

.pb-product-category .pb-pc-products-section {
  padding-top: 0 !important;
  padding-bottom: clamp(70px, 8vw, 110px) !important;
}

.pb-product-category .pb-pc-hero-section > *,
.pb-product-category .pb-pc-products-section > * {
  width: min(1240px, 100%);
  max-width: 1240px;
  margin-right: auto;
  margin-left: auto;
}

/* ========================================================================== 
   Filters
   ========================================================================== */

.pb-product-category .pb-cat-filter {
  width: min(1240px, 100%);
  max-width: 1240px;
  margin: 0 auto;
}

.pb-product-category .filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 28px;
  padding: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.pb-product-category .filter-row::-webkit-scrollbar {
  display: none;
}

.pb-product-category .filter-pill {
  flex: 0 0 auto;
  min-height: 38px;
  height: auto;
  padding: 0 15px;
  border: 1px solid var(--line, #dfcfc1);
  border-radius: 999px;
  background: #efe6de;
  color: var(--brown, #75543f);
  font-size: 12px;
  font-weight: 850;
}

.pb-product-category .filter-pill:hover {
  border-color: var(--accent, #cf7b53);
  color: var(--accent, #cf7b53);
}

.pb-product-category .filter-pill.active,
.pb-product-category .filter-pill.active:hover {
  border-color: var(--brown, #75543f);
  background: var(--brown, #75543f);
  color: #ffffff;
}

/* ========================================================================== 
   Producttegels
   ========================================================================== */

.pb-product-category .product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  width: 100%;
  padding: 0;
}

.pb-product-category .product-grid .product {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 326px;
  margin: 0;
  padding: 12px;
  overflow: hidden;
  border: 1px solid #eee2d8;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: var(--shadow2, 0 8px 18px rgba(77, 51, 34, 0.10));
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.pb-product-category .product-grid .product:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 32px rgba(77, 51, 34, 0.14);
}

.pb-product-category .product-grid .product::after {
  display: none;
}

.pb-product-category .product-grid .product > img {
  display: block;
  width: 100%;
  height: 200px;
  margin: 0 0 11px;
  padding: 0;
  border-radius: 10px;
  background: #f5f0eb;
  object-fit: contain;
}

.pb-product-category .product-grid .product h3 {
  min-height: 0;
  margin: 0 2px 10px;
  color: var(--brown, #75543f);
  font-family: Fraunces, Georgia, serif;
  font-size: 15.5px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.pb-product-category .product-grid .product .rating {
  display: none !important;
}

.pb-product-category .product-grid .product .price {
  position: static;
  display: flex;
  align-items: center;
  min-height: 40px;
  width: auto;
  max-width: none;
  margin: auto 0 0;
  padding: 0 50px 0 2px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--brown, #75543f);
  font-family: Fraunces, Georgia, serif;
  font-size: 19px;
  font-weight: 600;
  line-height: 1.2;
  box-shadow: none;
}

.pb-product-category .product-grid .product .buy {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  width: 40px;
  height: 40px;
  min-width: 40px;
  min-height: 40px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: var(--accent, #cf7b53);
  color: #ffffff;
  font-size: 0;
  line-height: 1;
  box-shadow: 0 6px 14px rgba(111, 72, 49, 0.22);
}

.pb-product-category .product-grid .product .buy:hover {
  background: #b96a47;
}

.pb-product-category .product-grid .product .buy svg {
  width: 19px;
  height: 19px;
  stroke-width: 1.7;
}

.pb-product-category .product-grid .product .pb-fav-card {
  position: absolute;
  top: 22px;
  right: 22px;
  z-index: 6;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #ffffff;
  color: #29211c;
  box-shadow: 0 4px 12px rgba(77, 51, 34, 0.13);
}

.pb-product-category .product-grid .added_to_cart {
  display: none !important;
}

/* ========================================================================== 
   Responsive
   ========================================================================== */

@media (max-width: 1120px) {
  .pb-product-category .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .pb-product-category .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .pb-product-category .pb-pc-hero-section {
    padding-top: 24px !important;
    padding-bottom: 26px !important;
  }

  .pb-product-category .filter-row {
    flex-wrap: nowrap;
    margin-right: calc(var(--pb-edge, 24px) * -1);
    padding-right: var(--pb-edge, 24px);
  }

  .pb-product-category .product-grid {
    grid-template-columns: 1fr;
  }

  .pb-product-category .product-grid .product > img {
    height: 230px;
  }
}
