@import url("https://fonts.googleapis.com/css2?family=Changa:wght@400;600&family=Playfair+Display+SC:wght@400;700&display=swap");

* { box-sizing: border-box; }

html, body {
  margin: 0;
  min-height: 100%;
}

body {
  background: #22231f;
  color: #e0dfdb;
  font-family: "Changa", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.45;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.5rem;
}

main {
  width: 100%;
  max-width: 85rem;
}

h1 {
  font-family: "Playfair Display SC", Georgia, serif;
  font-weight: 700;
  color: #ffffff;
  font-size: 2.2rem;
  letter-spacing: 0.1em;
  margin: 0 0 1.25rem;
}

/* Outer Grid: 4 columns side-by-side on desktop */
.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  align-items: stretch;
}

/* Individual Category Box */
.category-card {
  background: #2a2b26;
  border: 1px solid #3a3b34;
  border-radius: 6px;
  padding: 1rem 0.9rem;
  text-align: left;
  display: flex;
  flex-direction: column;
}

h2 {
  font-family: "Changa", Arial, sans-serif;
  font-weight: 600;
  color: #9e9342;
  font-size: 1.75rem;
  letter-spacing: 0.08em;
  margin: 0 0 0.65rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid #9e9342;
  text-align: center;
}

/* Inner Grid: Compact vertical stack with no bullets */
.product-items {
  display: grid;
  gap: 0.35rem;
}

p {
  margin: 0;
  font-size: 0.92rem;
  padding: 0.25rem 0.45rem;
  background: #22231f;
  border-radius: 4px;
}

.spacer { margin-top: 1.5rem; }

.button {
  display: inline-block;
  margin: 0.5rem 0 0.5rem;
  padding: 0.65rem 1.75rem;
  line-height: 1;
  color: #e0dfdb;
  background: transparent;
  border: 2px solid #fc0272;
  text-decoration: none;
  font-family: "Playfair Display SC", Georgia, serif;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  transition: background 0.2s ease, color 0.2s ease;
}

.button:hover,
.button:focus {
  background: #fc0272;
  color: #22231f;
}

/* Homepage larger scale */
main.home {
  max-width: 48rem;
}

main.home h1 {
  font-size: 3.1rem;
  margin-bottom: 2rem;
}

main.home .button {
  font-size: 1.35rem;
  padding: 0.9rem 2.4rem;
  margin: 0.5rem 0 2.25rem;
}

main.home p {
  background: transparent;
  font-size: 1.3rem;
  line-height: 1.8;
  padding: 0.15rem 0;
}

main.home .spacer {
  margin-top: 2rem;
  color: #9e9342;
  font-weight: 600;
}

/* Tablet: 2x2 grid */
@media (max-width: 1024px) {
  .category-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile: 1 column */
@media (max-width: 600px) {
  .category-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  h1 { font-size: 1.6rem; }
  body { font-size: 0.95rem; }
}