/* ===========================
   LOJA - PRESÉPIOS
   Loja_Presepios.css
   =========================== */

/* Header da página de categoria */
.category-page-header {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 1400px;
  margin: 0 auto;
  padding: 100px 40px 0;
}

.category-page-title {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 50px;
  color: var(--white);
  text-align: center;
  margin-bottom: 10px;
  flex: 1;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold);
  font-family: var(--font-body);
  font-size: 15px;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  border: 1.5px solid var(--gold);
  padding: 8px 18px;
  border-radius: 30px;
  transition: background 0.3s, color 0.3s, transform 0.2s;
}

.back-link:hover {
  background: var(--gold);
  color: var(--black);
}

.back-link:hover svg {
  fill: var(--black);
}

.back-link-spacer {
  width: 140px;
  flex-shrink: 0;
}

.back-link:active {
  transform: scale(0.96);
}

.back-link svg {
  width: 18px;
  height: 18px;
  fill: var(--gold);
  transition: fill 0.3s;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .category-page-header {
    padding: 16px 20px 0;
  }

  .category-page-title {
    font-size: 36px;
  }

  .back-link {
    margin-bottom: 10px;
  }

  /* Neutraliza o espacador que empurrava o título em telas estreitas */
  .back-link-spacer {
    display: none;
  }
}

@media (max-width: 480px) {
  .category-page-title {
    font-size: 28px;
  }
}
