/* ====== WR Woo Brands – styles ====== */

/* Brand header layout */
.wr-brand-header {
  display: grid;
  gap: 20px;
  margin-bottom: 32px;
  text-align: center; /* mobile domyślnie wyśrodkowany */
}

.wr-brand-left {
  display: grid;
  gap: 12px;
  justify-items: center;
}

.wr-brand-logo {
  max-width: 220px;
  height: auto;
  display: block;
}

.wr-brand-desc {
  font-size: 0.95rem;
  line-height: 1.55;
  color: #333;
}

.wr-brand-right .wr-brand-title {
  font-size: 1.8rem;
  margin: 0;
}

/* >= 980px: logo + opis po lewej, tytuł po prawej obok obrazka */
@media (min-width: 980px) {
  .wr-brand-header {
    grid-template-columns: 1fr 1fr;
    align-items: center;
    text-align: left;
  }
  .wr-brand-left {
    justify-items: start;
  }
  .wr-brand-right {
    display: flex;
    align-items: center;
    justify-content: flex-start;
  }
  .wr-brand-right .wr-brand-title {
    font-size: 2.2rem;
  }
}

/* Category section */
.wr-cat-section {
  margin-top: 36px;
}

.wr-cat-header {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: center;
}

.wr-cat-thumb {
  width: 100px;
  height: auto;
  border-radius: 6px;
  object-fit: cover;
}

.wr-cat-crumbs a {
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.wr-cat-crumbs a:hover {
  border-bottom-color: currentColor;
}

/* Products grid */
.wr-products-grid {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

@media (min-width: 640px) {
  .wr-products-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 980px) {
  .wr-products-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.wr-product {
  background: #fff;
  border: 1px solid #e9e9e9;
  border-radius: 10px;
  padding: 12px;
  transition: box-shadow .2s ease, transform .2s ease;
  text-align: center;
}

.wr-product:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0,0,0,.06);
}

.wr-product-link {
  text-decoration: none;
  color: inherit;
  display: grid;
  gap: 10px;
}

.wr-product-thumb {
  width: 100%;
  height: auto;
  border-radius: 6px;
}

.wr-product-title {
  font-size: 1rem;
  line-height: 1.35;
  margin: 0;
}

/* „Więcej produktów” button */
.wr-cat-more-wrap {
  margin-top: 16px;
  display: flex;
  justify-content: center;
}

.wr-btn-more {
  display: inline-block;
  padding: 10px 16px;
  border-radius: 999px;
  background: #111;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  transition: opacity .2s ease, transform .1s ease;
}

.wr-btn-more:hover {
  opacity: .9;
}

.wr-btn-more:active {
  transform: translateY(1px);
}
