/* Main element styling - ensures it doesn't break layout */
main.site-main,
#main.site-main {
  width: 100%;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* 🧲 Σταθεροποίηση και στοίχιση του wrapper των προϊόντων */
.product-listing-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px clamp(20px, 4vw, 40px); /* Responsive padding: min 20px, preferred 4vw, max 40px */
  box-sizing: border-box;
}

/* 🧩 Grid προϊόντων */
ul.products {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 24px;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 0;
  list-style: none;
  box-sizing: border-box;
}

/* 📱 Responsive behavior */
@media (max-width: 768px) {
  ul.products {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
  }
  ul.products .product {
    width: calc(50% - 8px); /* 2 ανά σειρά με κενό */
    max-width: calc(50% - 8px);
    box-sizing: border-box;
  }
}
@media (max-width: 520px) {
  ul.products {
    grid-template-columns: 1fr;
  }
}

/* 🎴 Κάθε κάρτα προϊόντος */
ul.products li.product {
  background: #fff;
  padding: 15px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

ul.products li.product:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}

/* 🏷️ Τίτλος προϊόντος */
ul.products li.product .woocommerce-loop-product__title {
  font-family: 'Arial', sans-serif;
  font-size: 16px;
  font-weight: 400;
  margin-top: 10px;
  margin-bottom: 5px;
  color: #000;
  text-align: center;
}

/* 💶 Τιμή προϊόντος */
ul.products li.product .price {
  color: #0f1111;
  font-weight: bold;
  font-size: 20px;
  text-align: center;
  display: block;
}


.pns-category-heading {
  max-width: 1200px;
  margin: 0 auto 30px auto;
  padding: 0 20px;
  text-align: left; /* ή center αν προτιμάς */
}

.pns-category-heading h1 {
  font-size: 28px;
  font-weight: 700;
  color: #000;
  margin: 0;
}

@media (max-width: 768px) {
  .pns-category-heading h1 {
    font-size: 22px;
    text-align: center;
  }
}

.pns-breadcrumb {
  font-size: 14px;
  color: #666;
  margin-top: 10px;
}

.pns-breadcrumb a {
  color: #4F7EFF;
  text-decoration: none;
}

.pns-breadcrumb a:hover {
  text-decoration: underline;
}

.pns-breadcrumb span {
  color: #000;
  font-weight: 500;
}
