/* WF Christmas Category header */
.wfxc {
  --wfxc-red: #7d1426;
  --wfxc-red-dark: #5e0e1c;
  text-align: center;
  margin: 6px 0 34px;
  padding-bottom: 26px;
  border-bottom: 1px solid #e6e1da;
}
.wfxc__title {
  font-family: 'Lora', Georgia, serif;
  font-weight: 700;
  color: var(--wfxc-red);
  font-size: clamp(26px, 3.4vw, 42px);
  line-height: 1.15;
  margin: 8px 0 12px;
  letter-spacing: -0.3px;
}
.wfxc__intro {
  max-width: 760px;
  margin: 0 auto;
  font-size: 16px;
  line-height: 1.55;
  color: #3b3b3b;
}
.wfxc__rule {
  display: block;
  width: 64px;
  height: 2px;
  margin: 18px auto 22px;
  background: var(--wfxc-red);
  border-radius: 2px;
}
.wfxc__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.wfxc a.wfxc__tile {
  display: flex;
  flex-direction: column;
  border-radius: 7px;
  overflow: hidden;
  background: var(--wfxc-red);
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .12);
  transition: transform .2s ease, box-shadow .2s ease;
}
.wfxc a.wfxc__tile:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, .18);
}
.wfxc__img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  margin: 0;
}
.wfxc__label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 8px 11px;
  font-family: 'Lora', Georgia, serif;
  font-weight: 600;
  font-size: clamp(15px, 1.5vw, 20px);
  color: #fff;
  line-height: 1.2;
}
.wfxc a.wfxc__tile:hover .wfxc__label { background: var(--wfxc-red-dark); }
.wfxc__chev { font-size: 1.35em; line-height: 1; margin-top: -2px; }

@media (max-width: 900px) {
  .wfxc__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .wfxc__grid { gap: 10px; }
  .wfxc__intro { font-size: 14px; }
}

/* the theme's small category thumbnail + old title block are replaced by this header */
.woocommerce-products-header .wf-category-intro { display: none; }
