--- catalog.css ---

/* Category section spacing */
.category-section {
  margin-bottom: 1em;
}

/* Produce list container; flex for rows */
.produce-list {
  display: none;
  flex-direction: column;
  gap: 1em;
  margin-top: 0.5em;
  width: 100%;
}

/* Each produce row styled to stretch full width */
.produce-item {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  border: 1px solid #ccc;
  padding: 12px 16px;
  border-radius: 6px;
  background-color: #fafafa;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  cursor: pointer;
  position: relative;
  gap: 10px;
}

/* Always-visible label */
.produce-label {
  font-size: 3em;
  margin: 0;
  line-height: 1.4;
  word-break: break-word;
}

/* Toggle icon */
.toggle-icon {
  font-size: 2em;
  margin-left: auto;
  user-select: none;
}

/* Image thumbnails */
.produce-thumbnail {
  width: 400px;
  height: 400px;
  object-fit: cover;
  border-radius: 4px;
  align-self: start;
}

/* Enlarged image toggle */
.produce-image-large {
  display: none;
  width: 100%;
  max-width: 512px;
  height: auto;
  max-height: 512px;
  object-fit: contain;
  align-self: center;
  margin-top: 10px;
}

/* Description that toggles */
.produce-description {
  display: none;
  font-size: 2.3em;
  margin-top: 10px;
  width: 100%;
  color: #333;
  line-height: 1.5;
}

/* Category toggle button */
.category-button {
  font-size: 3em;
  background-color: #eef;
  border: none;
  padding: 0.8em 1em;
  cursor: pointer;
  border-radius: 6px;
  margin-bottom: 0.5em;
  transition: background-color 0.2s ease-in-out;
  width: 100%;
  text-align: left;
}

.category-button:hover {
  background-color: #dde;
}

@media (max-width: 480px) {
  .produce-label {
    font-size: 3em;
  }
  .produce-description {
    font-size: 2.5em;
  }
  .category-button {
    font-size: 3em;
    padding: 1em;
  }
}
