/* ===================================================================
   CATALOG UI — buy_medicine polish (scoped overrides)
   v1.0 — Jun 2026
   =================================================================== */

body.catalog-page {
  background: linear-gradient(160deg, hsl(160, 40%, 92%) 0%, hsl(160, 40%, 92%) 40%, hsl(35, 18%, 90%) 100%);
}

/* Hero alignment with commerce funnel */
body.catalog-page .hero-pharmacy {
  background: linear-gradient(135deg, #006e53, #008c69, #523db8) !important;
}

body.catalog-page .hero-pharmacy .hero-title {
  letter-spacing: -0.02em;
}

body.catalog-page .hero-stats-bar {
  border-radius: 100px;
  background: hsla(35, 12%, 80%, 0.14);
  border: 1px solid hsla(35, 14%, 82%, 0.22);
}

/* Product cards — cleaner commerce look */
body.catalog-page .product-card {
  border-radius: 18px !important;
  border: 1px solid hsl(160, 40%, 92%) !important;
  box-shadow: 0 4px 18px rgba(0, 140, 105, 0.07) !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease !important;
}

@media (hover: hover) {
  body.catalog-page .product-card:hover {
    transform: translateY(-4px) !important;
    border-color: rgba(0, 140, 105, 0.35) !important;
    box-shadow: 0 12px 28px rgba(0, 140, 105, 0.14) !important;
  }
}

body.catalog-page .product-card .product-price,
body.catalog-page .product-card .price-tag {
  color: #008c69 !important;
  font-weight: 800 !important;
}

body.catalog-page .categories-section .category-tile.active {
  border-color: #008c69 !important;
  box-shadow: 0 0 0 3px rgba(0, 140, 105, 0.12) !important;
}

body.catalog-page .search-btn {
  background: linear-gradient(135deg, #008c69, #523db8) !important;
  border: none !important;
}

/* Sticky filter bar on mobile */
@media (max-width: 991px) {
  body.catalog-page .catalog-toolbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 10px 0;
    margin-bottom: 12px;
    border-bottom: 1px solid hsl(35, 15%, 88%);
  }
}