/* Category-specific spacing; shared product cards, cart and typography come from styles.css. */
.category-heading { padding-top: 24px; padding-bottom: 4px; }
.category-crumb { font-size: 14px; color: var(--muted); margin-bottom: 16px; }
.category-crumb a { color: var(--navy); font-weight: 800; }
.category-crumb a:hover { color: var(--pink); }
.category-intro { padding: 18px 0 8px; }
.category-intro.has-image { display: grid; grid-template-columns: minmax(0, 1fr) minmax(180px, 320px); gap: 30px; align-items: center; }
.category-intro h1 { font-size: clamp(30px, 4.5vw, 48px); line-height: 1.25; margin: 8px 0 14px; font-weight: 900; }
.category-intro p { max-width: 820px; margin: 0 0 14px; line-height: 1.9; color: var(--muted); font-size: 16px; }
.category-total { display: inline-flex; color: var(--pink); background: #fff1f6; border: 1px solid #f3dce4; border-radius: 999px; padding: 3px 13px; font-weight: 800; font-size: 13px; }
.category-hero-image { width: 100%; height: 220px; border-radius: 22px; object-fit: cover; }
.category-products-section { padding-top: 15px; }
.category-related { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 34px; }
.category-related > span { font-weight: 900; }
.category-related a { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 6px 17px; font-weight: 800; }
.category-related a:hover { color: var(--pink); border-color: var(--pink); }
.category-status { padding: 12px; border-radius: 14px; background: #fff6e8; color: var(--navy); }
.category-status[hidden] { display: none; }
/* Keep the floating button usable alongside the shared cart/order overlays. */
#categoryMain { min-height: 48vh; }
@media (max-width: 720px) {
  .category-heading { padding-top: 14px; }
  .category-intro.has-image { grid-template-columns: 1fr; gap: 18px; }
  .category-hero-image { height: 170px; }
  .category-intro p { font-size: 14px; }
  .category-products-section { padding-top: 12px; }
}
