/* ============================================================
   Реплек Фарм – styles.css
   Design System: Pharmaceutical Corporate
   ============================================================ */

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px !important;
}

body {
  font-family: 'Inter', sans-serif;
  background: hsl(210, 40%, 98%);
  color: hsl(220, 25%, 15%);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Inter', sans-serif;
  margin: 0 !important
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font: inherit;
  color: inherit;
}

input,
select {
  font: inherit;
}

.hidden {
  display: none !important;
}

.inner-scope .container {
  max-width: 1280px;
  margin: 0 auto;
  /* padding: 0 1rem; */
          padding: 0 64px;
}

/* ---------- Brand Colors (constants) ---------- */
:root {
  --clr-purple: #673191;
  --clr-cyan: #27C4F3;
  --clr-teal: #36ACA0;
  --clr-orange: #F05A27;
  --clr-yellow: #F8CE0A;
  --clr-red: #E53935;
  --clr-cta: #09C3F4;
  --clr-cta-hover: #08b0dc;
  --clr-bg: hsl(210, 40%, 98%);
  --clr-fg: hsl(220, 25%, 15%);
  --clr-muted: hsl(220, 10%, 45%);
  --clr-border: hsl(210, 20%, 90%);
  --clr-card: #fff;
  --clr-hero: hsl(200, 25%, 92%);
  --clr-footer: #1a1a2e;
  --radius: 0.75rem;
  --shadow-card: 0 4px 20px -4px hsla(175, 60%, 35%, 0.08);
  --shadow-card-hover: 0 12px 32px -8px hsla(175, 60%, 35%, 0.15);

  --primary-color: hsl(195, 95%, 50%);
  --foreground: hsl(220, 20%, 14%);
  --muted: hsl(220, 14%, 96%);
  --muted-foreground: hsl(220, 10%, 46%);
  --border: hsl(220, 13%, 91%);
  --card: #ffffff;
}

/* ---------- HEADER ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
}

.header-nav {
  background: #fff;
  border-bottom: 1px solid var(--clr-border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.header-logo img {
  height: 40px;
  width: auto;
  object-fit: contain;
}

.desktop-menu {
  display: none;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--clr-fg);
  transition: color 0.2s;
  display: flex;
  align-items: center;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-link:hover,
.nav-link:focus {
  color: var(--clr-cta);
}

.chevron-icon {
  transition: transform 0.2s;
}

/* Desktop Dropdown */
.nav-dropdown {
  position: relative;
}

.dropdown-panel {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  padding-top: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s;
  pointer-events: none;
}

.nav-dropdown:hover .dropdown-panel,
.nav-dropdown.open .dropdown-panel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.nav-dropdown:hover .chevron-icon {
  transform: rotate(180deg);
}

.dropdown-panel> :first-child {
  background: red;
}

/* overridden below */
.dropdown-panel {
  /* wrapper styles */
}

.dropdown-panel::before {
  content: none;
}

.dropdown-panel a {
  display: block;
}

.dropdown-panel {
  background: transparent;
}

.dropdown-panel a.dropdown-link {
  background: #fff;
  display: block;
  font-size: 0.875rem;
  color: var(--clr-fg);
  transition: color 0.2s, background 0.2s;
}

.dropdown-panel a.dropdown-link:first-child {
  border-radius: var(--radius) var(--radius) 0 0;
}

.dropdown-panel a.dropdown-link:last-child {
  border-radius: 0 0 var(--radius) var(--radius);
}

/* Fix: wrap dropdown links in a styled container */
.dropdown-panel {
  min-width: 200px;
}

.dropdown-link {
  padding: 0.5rem 1rem;
  border-left: 1px solid var(--clr-border);
  border-right: 1px solid var(--clr-border);
}

.dropdown-link:first-child {
  border-top: 1px solid var(--clr-border);
  border-radius: var(--radius) var(--radius) 0 0;
}

.dropdown-link:last-child {
  border-bottom: 1px solid var(--clr-border);
  border-radius: 0 0 var(--radius) var(--radius);
}

.dropdown-link:hover {
  color: var(--clr-cta);
  background: hsl(210, 20%, 96%);
}

/* Mobile */
.mobile-menu-btn {
  padding: 0.5rem;
  border-radius: 0.5rem;
  transition: background 0.2s;
}

.mobile-menu-btn:hover {
  background: hsl(210, 20%, 96%);
}

.mobile-menu {
  border-top: 1px solid var(--clr-border);
  background: #fff;
}

.mobile-menu-inner {
  padding: 1rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.625rem 0.75rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.2s, background 0.2s;
}

.mobile-nav-link:hover {
  color: var(--clr-cta);
  background: hsl(210, 20%, 96%);
}

.mobile-dropdown-panel {
  margin-left: 0.75rem;
  padding-left: 0.75rem;
  border-left: 2px solid hsl(210, 20%, 96%);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-top: 0.25rem;
}

.mobile-sub-link {
  padding: 0.5rem 0;
  font-size: 0.875rem;
  color: var(--clr-fg);
  transition: color 0.2s;
}

.mobile-sub-link:hover {
  color: var(--clr-cta);
}

@media (min-width: 1024px) {
  .desktop-menu {
    display: flex;
  }

  .mobile-menu-btn {
    display: none;
  }
}

/* ---------- HERO ---------- */
/* .hero {
  background: var(--clr-hero);
  border-bottom: 1px solid var(--clr-border);
}

.hero-inner {
  padding: 3rem 0;
  text-align: center;
  max-width: 48rem;
  margin: 0 auto;
}

.hero h1 {
  font-weight: 700;
  font-size: 2rem;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.125rem;
  color: var(--clr-fg);
}

@media (min-width: 768px) {
  .hero-inner {
    padding: 4rem 0;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero p {
    font-size: 1.25rem;
  }
} */

/* ═══ HERO ═══ */
.inner-scope .hero-section{
  position: relative;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(160deg, #fff 0%, #09C3F414 30%, #F5C51810 55%, #67319110 80%, #fff 100%);
  margin-top: 60px;
}

.inner-scope .hero-grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
  padding: 64px 0;
}

@media (min-width: 1024px) {
.inner-scope .hero-grid{
    grid-template-columns: 5fr 7fr;
    gap: 48px;
    padding: 96px 0;
  }
}

.inner-scope .hero-left{}

.inner-scope .breadcrumb{
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 32px;
  font-size: 11px;
  color: var(--muted-foreground);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  background-color: transparent !important;
  padding: 0;
}

.inner-scope .breadcrumb-sep{
  color: var(--border);
}

.inner-scope .breadcrumb-active{
  color: var(--primary-color);
}

.inner-scope .hero-section h1{
  font-size: 44px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin-bottom: 16px;
}

@media (min-width: 768px) {
.inner-scope .hero-section h1{
    font-size: 52px;
  }
 
}

.inner-scope .accent-line{
  width: 64px;
  height: 3px;
  background: var(--primary-color);
  margin-bottom: 24px;
}

.inner-scope .hero-desc{
  font-size: 17px;
  color: var(--muted-foreground);
  line-height: 1.6;
  margin-bottom: 40px;
  max-width: 420px;
}

.inner-scope .hero-buttons{
  display: flex;
  flex-direction: column;
  gap: 12px;
}

@media (min-width: 640px) {
.inner-scope .hero-buttons{
    flex-direction: row;
  }
}



.inner-scope .btn-outline{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 8px;
  border: 1px solid var(--border);
  color: var(--foreground);
  transition: background 0.2s;
}

.inner-scope .btn-outline:hover{
  background: var(--muted);
}

.inner-scope .hero-right{}

.inner-scope .hero-image-wrap{
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  aspect-ratio: 16/10;
}

@media (min-width: 1024px) {
.inner-scope .hero-image-wrap{
    aspect-ratio: 16/11;
  }
}

.inner-scope .hero-image-wrap img{
  width: 100%;
  height: 100%;
  /* object-fit: cover; */
  object-fit: contain;
}

.inner-scope .hero-image-overlay{
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(255, 255, 255, 0.1), transparent);
}

/* ═══ KPI Strip ═══ */
.inner-scope .kpi-strip{
  position: relative;
  z-index: 10;
  margin-top: -32px;
}

.inner-scope .kpi-grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 640px) {
.inner-scope .kpi-grid{
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
}

.inner-scope .kpi-card{
  position: relative;
  background: var(--card);
  border-radius: 8px;
  padding: 20px 24px;
  border: 1px solid var(--border);
  box-shadow: 0 4px 20px -4px hsl(220 15% 82% / 0.45);
}

.inner-scope .kpi-accent-line{
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  border-radius: 8px 8px 0 0;
}

.inner-scope .kpi-inner{
  display: flex;
  align-items: center;
  gap: 16px;
}

.inner-scope .kpi-icon{
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--muted-foreground);
}

.inner-scope .kpi-number{
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
}

.inner-scope .kpi-label{
  font-size: 13px;
  color: var(--muted-foreground);
  margin-top: 4px;
  font-weight: 500;
}

/* ---------- CATEGORY ENTRY ---------- */
.category-entry {
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--clr-border);
  background: linear-gradient(to bottom, var(--clr-bg), hsl(210, 20%, 96%, 0.2));
}

.section-header {
  text-align: center;
  margin-bottom: 2rem;
}

.section-header h2 {
  font-weight: 700;
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.section-header p {
  color: var(--clr-muted);
  max-width: 32rem;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .section-header h2 {
    font-size: 1.875rem;
  }
}

/* .category-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 640px) {
  .category-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .category-cards {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    
  }
} */

.category-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.category-cards .cat-card {
  width: 100%;
}

@media (min-width: 640px) {
  .category-cards .cat-card {
    width: calc(50% - 0.5rem);
  }
}

@media (min-width: 1024px) {
  .category-cards {
    justify-content: center;
    gap: 1.5rem;
  }

  .category-cards .cat-card {
    width: calc((100% - 3rem) / 3);
    max-width: 460px;
  }
}

.cat-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  border-radius: 1rem;
  border: 2px solid;
  background: var(--clr-card);
  transition: all 0.3s;
  cursor: pointer;
  text-align: left;
}

.cat-card:hover {
  box-shadow: 0 8px 24px -8px hsla(220, 25%, 15%, 0.1);
  transform: translateY(-2px);
}

.cat-card:focus {
  outline: none;
  box-shadow: 0 0 0 3px hsla(175, 60%, 35%, 0.2);
}

.cat-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.3s;
}

.cat-card:hover .cat-card-icon {
  transform: scale(1.1);
}

.cat-card-icon img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.cat-card-body {
  flex: 1;
  min-width: 0;
}

.cat-card-title {
  font-weight: 600;
  font-size: 1.125rem;
  line-height: 1.3;
  margin-bottom: 0.25rem;
}

.cat-card-title small {
  font-weight: 400;
  font-size: 0.875rem;
  color: var(--clr-muted);
  margin-left: 0.25rem;
}

.cat-card-desc {
  font-size: 0.875rem;
  color: var(--clr-muted);
  line-height: 1.5;
}

.cat-card-brands {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
  margin-top: 0.75rem;
}

.cat-card-brand {
  font-size: 0.75rem;
  padding: 0.125rem 0.5rem;
  border-radius: 9999px;
  background: hsla(220, 25%, 15%, 0.05);
  color: var(--clr-muted);
}

/* Category-specific borders & icon backgrounds */
.cat-card[data-color="purple"] {
  border-color: var(--clr-purple);
}

.cat-card[data-color="purple"] .cat-card-icon {
  background: var(--clr-purple);
}

.cat-card[data-color="cyan"] {
  border-color: var(--clr-cyan);
}

.cat-card[data-color="cyan"] .cat-card-icon {
  background: var(--clr-cyan);
}

.cat-card[data-color="teal"] {
  border-color: var(--clr-teal);
}

.cat-card[data-color="teal"] .cat-card-icon {
  background: var(--clr-teal);
}

.cat-card[data-color="orange"] {
  border-color: var(--clr-orange);
}

.cat-card[data-color="orange"] .cat-card-icon {
  background: var(--clr-orange);
}

.cat-card[data-color="yellow"] {
  border-color: var(--clr-yellow);
}

.cat-card[data-color="yellow"] .cat-card-icon {
  background: var(--clr-yellow);
}

/* ---------- CATEGORY FILTER BAR ---------- */
.category-filter-bar {
  position: sticky;
  top: 64px;
  z-index: 40;
  background: hsla(210, 40%, 98%, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--clr-border);
  padding: 1rem 0;
}

.filter-pills {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.filter-pills::-webkit-scrollbar {
  display: none;
}

@media (min-width: 768px) {
  .filter-pills {
    flex-wrap: wrap;
    justify-content: center;
    overflow: visible;
    padding-bottom: 0;
    padding-top: 20px;
  }
}

.filter-pill {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.625rem 1rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  white-space: nowrap;
  border: 1px solid var(--clr-border);
  background: var(--clr-card);
  color: hsla(220, 25%, 15%, 0.7);
  transition: all 0.3s;
  flex-shrink: 0;
  cursor: pointer;
}

.filter-pill:hover {
  color: var(--clr-fg);
  box-shadow: 0 2px 8px -2px hsla(220, 25%, 15%, 0.06);
}

.filter-pill:focus {
  outline: none;
  box-shadow: 0 0 0 3px hsla(175, 60%, 35%, 0.2);
}


.filter-pill.active {
  border-color: transparent;
  color: #fff;
  box-shadow: 0 4px 12px -4px hsla(0, 0%, 0%, 0.2);
}

.filter-pill .pill-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.filter-pill .pill-icon-wrap {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: hsl(210, 20%, 96%);
}

.filter-pill.active .pill-icon-wrap {
  background: rgba(255, 255, 255, 0.2);
}

.filter-pill .pill-icon-wrap img {
  width: 14px;
  height: 14px;
  object-fit: contain;
}

/* Active pill colors */
.filter-pill.active[data-pill-color="primary"] {
  background: hsl(175, 60%, 35%);
}

.filter-pill.active[data-pill-color="cyan"] {
  background: var(--clr-cyan);
}

.filter-pill.active[data-pill-color="red"] {
  background: var(--clr-red);
}

.filter-pill.active[data-pill-color="orange"] {
  background: var(--clr-orange);
}

.filter-pill.active[data-pill-color="yellow"] {
  background: var(--clr-yellow);
  color: var(--clr-fg);
}

.filter-pill.active[data-pill-color="purple"] {
  background: var(--clr-purple);
}

.filter-pill.active[data-pill-color="teal"] {
  background: var(--clr-teal);
}

/* Pill dot colors */
.pill-dot[data-dot="cyan"] {
  background: var(--clr-cyan);
}

.pill-dot[data-dot="orange"] {
  background: var(--clr-orange);
}

.pill-dot[data-dot="yellow"] {
  background: var(--clr-yellow);
}

.pill-dot[data-dot="purple"] {
  background: var(--clr-purple);
}

.pill-dot[data-dot="teal"] {
  background: var(--clr-teal);
}

.pill-dot[data-dot="primary"] {
  background: var(--clr-cyan);
}
.pill-dot[data-dot="red"] {
  background: var(--clr-red);
}

.cat-card.active {
  box-shadow: 0 8px 24px -8px hsla(220, 25%, 15%, 0.12);
  transform: translateY(-2px);
}

.cat-card[data-color="cyan"].active {
  background: rgba(39, 196, 243, 0.06);
}

.cat-card[data-color="teal"].active {
  background: rgba(54, 172, 160, 0.06);
}

.cat-card[data-color="orange"].active {
  background: rgba(240, 90, 39, 0.06);
}

.cat-card[data-color="yellow"].active {
  background: rgba(248, 206, 10, 0.10);
}

.cat-card[data-color="purple"].active {
  background: rgba(103, 49, 145, 0.06);
}

.cat-card[data-color="red"] {
  border-color: var(--clr-red);
}

.cat-card[data-color="red"] .cat-card-icon {
  background: var(--clr-red);
}

/* active state */
.cat-card[data-color="red"].active {
  background: rgba(229, 57, 53, 0.06);
}



/* ---------- UTILITY ROW ---------- */
.main-content {
  flex: 1;
  padding-top: 20px;
}

.main-container {
  padding-top: 2rem;
  padding-bottom: 3rem;
}

.utility-row {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: var(--clr-card);
  border-radius: 1rem;
  border: 1px solid var(--clr-border);
  padding: 1rem;
  box-shadow: 0 2px 8px -2px hsla(220, 25%, 15%, 0.06);
  margin-bottom: 2rem;
}

@media (min-width: 640px) {
  .utility-row {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.search-wrapper {
  position: relative;
  flex: 1;
  max-width: 28rem;
}

.search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--clr-muted);
  pointer-events: none;
}

#search-input {
  width: 100%;
  padding: 0.75rem 1rem 0.75rem 2.75rem;
  border-radius: 0.75rem;
  background: hsl(210, 20%, 96%);
  border: 1px solid var(--clr-border);
  font-size: 0.875rem;
  color: var(--clr-fg);
  transition: all 0.2s;
}

#search-input::placeholder {
  color: var(--clr-muted);
}

#search-input:focus {
  outline: none;
  border-color: hsl(175, 60%, 35%);
  box-shadow: 0 0 0 3px hsla(175, 60%, 35%, 0.12);
}

.utility-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.result-count {
  font-size: 0.875rem;
  color: var(--clr-muted);
  display: none;
}

@media (min-width: 640px) {
  .result-count {
    display: block;
  }
}

.sort-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  background: hsl(210, 20%, 96%);
  border: 1px solid var(--clr-border);
  font-size: 0.875rem;
  cursor: pointer;
  transition: border-color 0.2s;
}

.sort-wrapper:hover {
  border-color: hsla(175, 60%, 35%, 0.5);
}

.sort-icon {
  color: var(--clr-muted);
  flex-shrink: 0;
}

#sort-select {
  background: transparent;
  border: none;
  outline: none;
  cursor: pointer;
  color: var(--clr-fg);
  appearance: none;
  padding-right: 1.5rem;
}

/* ---------- PRODUCT GRID ---------- */
.product-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1280px) {
  .product-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ---------- PRODUCT CARD (Option B) ---------- */
.product-card {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  box-shadow: 0 10px 30px -8px hsla(220, 25%, 15%, 0.12);
  /* border-left: 4px solid var(--clr-cyan); */
  transition: all 0.5s;
  opacity: 0;
  transform: translateY(16px);
}

.product-card[data-color="cyan"] {
  border-left: 4px solid var(--clr-cyan);
}

.product-card[data-color="orange"] {
  border-left: 4px solid var(--clr-orange);
}

.product-card[data-color="yellow"] {
  border-left: 4px solid var(--clr-yellow);
}

.product-card[data-color="teal"] {
  border-left: 4px solid var(--clr-teal);
}

.product-card[data-color="purple"] {
  border-left: 4px solid var(--clr-purple);
}

.product-card[data-color="primary"] {
  border-left: 4px solid #999;
}

.product-card[data-color="red"] {
  border-left: 4px solid var(--clr-red);
}

.card-badge[data-color="red"] {
  background-color: var(--clr-red);
  color: #fff;
}

.product-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.product-card:hover {
  box-shadow: 0 20px 50px -12px hsla(220, 25%, 15%, 0.2);
  transform: translateY(-4px);
}

/* Left border colors per category */
.product-card[data-cat="medicines"] {
  border-left-color: var(--clr-cyan);
}

.product-card[data-cat="supplements"] {
  border-left-color: var(--clr-orange);
}

.product-card[data-cat="canoil"] {
  border-left-color: var(--clr-yellow);
}

.product-card[data-cat="cosmetics"] {
  border-left-color: var(--clr-purple);
}

.product-card[data-cat="healthaid"] {
  border-left-color: var(--clr-teal);
}

.product-card[data-cat="prescription"] {
  border-left-color: var(--clr-purple);
}

.card-image-wrap {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
}

.card-image-wrap img {
  width: 100%;
  height: 100%;
  /* object-fit: cover; */
    object-fit: contain;
    background-color: white;
  transition: transform 0.7s;
}

.product-card:hover .card-image-wrap img {
  transform: scale(1.05);
}

/* Badge – solid rounded-lg, uppercase */
.card-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #fff;
  border: none;
  box-shadow: 0 4px 12px -4px hsla(0, 0%, 0%, 0.2);
}

.card-badge[data-cat="medicines"] {
  background: var(--clr-cyan);
}

.card-badge[data-cat="supplements"] {
  background: var(--clr-orange);
}

.card-badge[data-cat="canoil"] {
  background: #836B00;
}

.card-badge[data-cat="cosmetics"] {
  background: var(--clr-purple);
}

.card-badge[data-cat="healthaid"] {
  background: var(--clr-teal);
}

.card-badge[data-cat="prescription"] {
  background: var(--clr-purple);
}

/* Content area – slate-100 tinted background */
.card-content {
  padding: 1.25rem;
  background: hsl(210, 20%, 96%);
}

/* Title block with icon – bordered bottom */
.card-title-block {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid hsl(210, 15%, 88%);
}
@media(min-width: 1024px){
  .card-title-block{
    height: 100px;
  }
}

.card-icon-wrap {
  flex-shrink: 0;
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-icon-wrap img {
  width: 1.75rem;
  height: 1.75rem;
  object-fit: contain;
}

.card-title-block h3 {
  font-weight: 700;
  font-size: 1.125rem;
  line-height: 1.3;
  color: hsl(215, 25%, 15%);
}

.card-title-block .card-subtitle {
  font-size: 0.75rem;
  color: hsl(215, 10%, 50%);
  margin-top: 0.25rem;
}

/* Icon background colors per category */
.card-icon-wrap[data-cat="medicines"] {
  background: hsla(193, 90%, 55%, 0.1);
}

.card-icon-wrap[data-cat="supplements"] {
  background: hsla(16, 87%, 55%, 0.1);
}

.card-icon-wrap[data-cat="canoil"] {
  background: hsla(48, 93%, 50%, 0.15);
}

.card-icon-wrap[data-cat="cosmetics"] {
  background: hsla(270, 50%, 38%, 0.1);
}

.card-icon-wrap[data-cat="healthaid"] {
  background: hsla(172, 52%, 44%, 0.1);
}

.card-icon-wrap[data-cat="prescription"] {
  background: hsla(270, 50%, 38%, 0.1);
}

/* Description block – bordered bottom */
.card-desc-block {
  padding: 1rem 0;
  border-bottom: 1px solid hsl(210, 15%, 88%);
}

.card-desc {
  font-size: 0.875rem;
  color: hsl(215, 10%, 40%);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.6;
  margin: 0;
}

/* CTA block */
.card-cta-block {
  padding-top: 1rem;
}

.card-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.875rem 1.25rem;
  border-radius: 0.75rem;
  font-size: 0.875rem;
  font-weight: 700;
  background: var(--clr-cta);
  color: #fff;
  transition: all 0.3s;
  text-decoration: none;
}

.card-cta:hover {
  background: var(--clr-cta-hover);
  box-shadow: 0 8px 24px -8px hsla(197, 93%, 50%, 0.3);
  color: #fff;
}
.card-cta:focus,
.card-cta:active,
.card-cta:focus:active {
  background: var(--clr-cta-hover);
  box-shadow: 0 8px 24px -8px hsla(197, 93%, 50%, 0.3);
  color: #fff;
  outline: none !important;
}

.card-cta svg {
  transition: transform 0.3s;
}

.card-cta:hover svg {
  transform: translateX(4px);
}

/* ---------- EMPTY STATE ---------- */
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4rem 1rem;
  text-align: center;
}

.empty-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: hsl(210, 20%, 96%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: var(--clr-muted);
}

.empty-state h3 {
  font-weight: 600;
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}

.empty-state p {
  color: var(--clr-muted);
  max-width: 28rem;
}

/* ---------- SUPPLEMENT LEGAL ---------- */
.supplement-legal {
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.legal-card {
  background: var(--clr-card);
  border-radius: 0.75rem;
  border: 1px solid var(--clr-border);
  padding: 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.legal-icon-wrap {
  width: 40px;
  height: 40px;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.legal-icon--green {
  background: hsla(142, 45%, 45%, 0.1);
  color: hsl(142, 45%, 45%);
}

.legal-icon--coral {
  background: hsla(12, 75%, 58%, 0.1);
  color: hsl(12, 75%, 58%);
}

.legal-card h3 {
  font-weight: 600;
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}

.legal-card p {
  font-size: 0.875rem;
  color: var(--clr-muted);
  line-height: 1.6;
  margin-bottom: 0.75rem;
}

.legal-card p:last-child {
  margin-bottom: 0;
}

.legal-bold {
  font-weight: 500;
  color: var(--clr-fg);
}

.legal-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.legal-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--clr-muted);
  line-height: 1.6;
}

.legal-list li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: hsl(12, 75%, 58%);
  flex-shrink: 0;
  margin-top: 0.5rem;
}

/* ---------- PAGINATION ---------- */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding-top: 2rem;
}

.page-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 0.75rem;
  border-radius: 0.75rem;
  font-weight: 500;
  font-size: 0.875rem;
  border: 1px solid var(--clr-border);
  background: var(--clr-card);
  color: hsla(220, 25%, 15%, 0.7);
  transition: all 0.2s;
  cursor: pointer;
}

.page-btn:hover:not(.disabled):not(.active) {
  background: hsl(160, 25%, 92%);
  color: var(--clr-fg);
  border-color: hsla(175, 60%, 35%, 0.3);
}

.page-btn:focus {
  outline: none;
  box-shadow: 0 0 0 3px hsla(175, 60%, 35%, 0.2);
}

.page-btn.active {
  background: hsl(175, 60%, 35%);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 12px -4px hsla(175, 60%, 35%, 0.4);
}

.page-btn.disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* ---------- FOOTER ---------- */
.site-footer {
  background: var(--clr-footer);
  color: #fff;
}

.footer-disclaimer {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-disclaimer .container {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.disclaimer-box {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 1rem;
  padding: 1.5rem;
}

.disclaimer-box p {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
}

.disclaimer-box strong {
  color: #fff;
}

.footer-main {
  padding: 4rem 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }
}

.footer-logo {
  height: 48px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
  margin-bottom: 1.5rem;
}

.footer-desc {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  max-width: 20rem;
}

.footer-contacts {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.2s;
}

.footer-contact-item:hover {
  color: #fff;
}

.footer-contact-icon {
  width: 36px;
  height: 36px;
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.footer-col h4 {
  font-weight: 600;
  font-size: 1.125rem;
  margin-bottom: 1.25rem;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-col a {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--clr-cta);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem 0;
}

@media (min-width: 640px) {
  .footer-bottom-inner {
    flex-direction: row;
  }
}

.footer-bottom p {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
}

.social-links {
  display: flex;
  gap: 0.75rem;
  padding-top: 0.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-left: 0;
}

@media (min-width: 640px) {
  .social-links {
    border-top: none;
    padding-top: 0;
  }
}

.social-btn {
  width: 48px;
  height: 48px;
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.social-btn svg {
  width: 20px;
  height: 20px;
}

.social-btn:hover {
  background: var(--clr-cta);
  border-color: var(--clr-cta);
  transform: translateY(-2px);
}

/* ---------- PRODUCT DETAIL PAGE ---------- */
.breadcrumb-bar {
  border-bottom: 1px solid var(--clr-border);
  background: hsla(210, 20%, 96%, 0.3);
}

.breadcrumb-bar .container {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--clr-muted);
}

.breadcrumb a {
  transition: color 0.2s;
}

.breadcrumb a:hover {
  color: var(--clr-fg);
}

/* .breadcrumb span:last-child {
  color: var(--clr-fg);
} */

.product-hero {
  background: #fff;
}

.product-hero .container {
  padding-top: 2.5rem;
  padding-bottom: 3.5rem;
}

.product-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

@media (min-width: 1024px) {
  .product-hero-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.product-hero-image {
  position: relative;
  overflow: hidden;
  background: #fff;
}

@media (min-width: 1024px) {
  .product-hero-image {
    border-radius: 1rem 0 0 1rem;
    box-shadow: 0 16px 40px -12px hsla(220, 25%, 15%, 0.15);
  }
}

.product-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 1;
}

@media (min-width: 1024px) {
  .product-hero-image img {
    aspect-ratio: auto;
  }
}

.product-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
  backdrop-filter: blur(8px);
  border: 1px solid;
  background: hsla(193, 90%, 55%, 0.1);
  color: var(--clr-cyan);
  border-color: hsla(193, 90%, 55%, 0.3);
}

/* Option B style: light bg + category color left border */
.product-hero-info {
  background: hsl(210, 17%, 95%);
  border-left: 4px solid var(--clr-cyan);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (min-width: 768px) {
  .product-hero-info {
    padding: 2rem;
  }
}

@media (min-width: 1024px) {
  .product-hero-info {
    border-radius: 0 1rem 1rem 0;
  }
}

.product-title-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid hsl(210, 15%, 88%);
}

.product-cat-icon {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.product-brand-label {
  font-size: 0.875rem;
  color: hsl(215, 10%, 50%);
}

#product-name {
  font-weight: 700;
  font-size: 1.875rem;
  line-height: 1.2;
  color: hsl(215, 25%, 15%);
}

@media (min-width: 768px) {
  #product-name {
    font-size: 2.25rem;
  }
}

.product-specs {
  font-size: 1.25rem;
  font-weight: 600;
  color: hsl(215, 20%, 20%);
  padding-top: 1rem;
  margin-bottom: 1rem;
}

.product-general {
  padding: 1rem 0;
  border-bottom: 1px solid hsl(210, 15%, 88%);
}

.product-general h2 {
  font-weight: 600;
  font-size: 1rem;
  color: hsl(215, 10%, 50%);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.product-general p {
  color: hsl(215, 10%, 35%);
  line-height: 1.6;
  font-size: 0.9375rem;
}

.product-nav-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  padding-top: 1rem;
  margin-top: auto;
}

@media (min-width: 640px) {
  .product-nav-grid {
    grid-template-columns: repeat(6, 1fr);
  }
}

.pnav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem;
  border-radius: 0.75rem;
  background: #fff;
  box-shadow: 0 2px 8px -2px hsla(0, 0%, 0%, 0.08);
  transition: all 0.2s;
  text-align: center;
  text-decoration: none;
  color: var(--clr-fg);
}

.pnav-item:hover {
  box-shadow: 0 8px 24px -8px hsla(0, 0%, 0%, 0.15);
}

.pnav-item img,
.pnav-item svg {
  width: 40px;
  height: 40px;
  transition: transform 0.2s;
}

.pnav-item:hover img,
.pnav-item:hover svg {
  transform: scale(1.1);
}

.pnav-item span {
  font-size: 0.75rem;
  font-weight: 500;
  color: hsl(215, 16%, 47%);
  line-height: 1.3;
}

.pnav-item:hover span {
  color: hsl(215, 16%, 17%);
}

/* Icon color filters */
.icon-filter-purple {
  filter: invert(21%) sepia(55%) saturate(2140%) hue-rotate(257deg) brightness(88%) contrast(92%);
}

.icon-filter-cyan {
  filter: invert(66%) sepia(76%) saturate(1046%) hue-rotate(163deg) brightness(101%) contrast(91%);
}

.icon-filter-teal {
  filter: invert(64%) sepia(18%) saturate(1091%) hue-rotate(130deg) brightness(93%) contrast(86%);
}

.icon-filter-orange {
  filter: invert(44%) sepia(68%) saturate(2124%) hue-rotate(355deg) brightness(100%) contrast(91%);
}

.icon-filter-yellow {
  filter: invert(80%) sepia(81%) saturate(1034%) hue-rotate(9deg) brightness(104%) contrast(94%);
}

/* ---------- ACCORDION ---------- */
.accordion {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.accordion-item {
  border: 1px solid var(--clr-border);
  border-radius: 0.75rem;
  padding: 0 1rem;
  background: var(--clr-card);
  box-shadow: 0 2px 8px -2px hsla(220, 25%, 15%, 0.06);
  scroll-margin-top: 6rem;
}

.accordion-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1rem 0;
  cursor: pointer;
  background: none;
  border: none;
}

.accordion-trigger-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.accordion-trigger-left img,
.accordion-trigger-left svg {
  width: 28px;
  height: 28px;
}

.accordion-trigger h2 {
  font-weight: 600;
  font-size: 1.25rem;
}

.accordion-chevron {
  transition: transform 0.3s;
  color: var(--clr-muted);
}

.accordion-item.open .accordion-chevron {
  transform: rotate(180deg);
}

.accordion-body {
  padding-bottom: 1rem;
  display: none;
}

.accordion-item.open .accordion-body {
  display: block;
}

.accordion-body-inner {
  padding-left: 2.5rem;
  border-left: 2px solid;
}

.accordion-body-inner p {
  color: var(--clr-muted);
  line-height: 1.6;
}

.accordion-body-inner ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.accordion-body-inner li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--clr-muted);
}

.accordion-body-inner li .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

.accordion-body-inner .tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.accordion-body-inner .tag {
  padding: 0.375rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  border: 1px solid;
  background: hsla(193, 90%, 55%, 0.1);
  color: var(--clr-cyan);
  border-color: hsla(193, 90%, 55%, 0.3);
}

/* ---------- RELATED SECTION ---------- */
.related-section {
  border-top: 1px solid var(--clr-border);
  background: hsla(210, 20%, 96%, 0.2);
}

.related-section .container {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.related-section h2 {
  font-weight: 700;
  font-size: 1.5rem;
  margin-bottom: 2rem;
}

/* ---------- BACK LINK ---------- */
.back-section .container {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--clr-muted);
  font-size: 0.875rem;
  transition: color 0.2s;
}

.back-link:hover {
  color: var(--clr-fg);
}

/* ---------- ANIMATIONS ---------- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in {
  animation: fadeInUp 0.5s ease forwards;
}

/* ---------- SCROLLBAR HIDE (utility) ---------- */
.scrollbar-hide {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.scrollbar-hide::-webkit-scrollbar {
  display: none;
}





#headerWrap {
  position: sticky;
  /* or fixed if you want */
  top: 0;
  height: 80px;
  /* ALWAYS 80 */
  z-index: 999999;
  overflow: visible;
  /* IMPORTANT */
}

#headerFrame {
  width: 100%;
  height: 80px;
  /* default closed height */
  border: 0;
  display: block;
}

.card-badge[data-color="cyan"] {
  background-color: #27C4F3;
  color: #fff;
}

.card-badge[data-color="orange"] {
  background-color: #F05A27;
  color: #fff;
}

.card-badge[data-color="yellow"] {
  background-color: #F8CE0A;
  color: #1a1a1a;
}

.card-badge[data-color="teal"] {
  background-color: #36ACA0;
  color: #fff;
}

.card-badge[data-color="purple"] {
  background-color: #673191;
  color: #fff;
}

.card-badge[data-color="primary"] {
  background-color: #999;
  color: #fff;
}

.card-icon-wrap[data-color="cyan"] {
  background-color: rgba(39, 196, 243, 0.12);
}

.card-icon-wrap[data-color="orange"] {
  background-color: rgba(240, 90, 39, 0.12);
}

.card-icon-wrap[data-color="yellow"] {
  background-color: rgba(248, 206, 10, 0.16);
}

.card-icon-wrap[data-color="teal"] {
  background-color: rgba(54, 172, 160, 0.12);
}

.card-icon-wrap[data-color="purple"] {
  background-color: rgba(103, 49, 145, 0.12);
}

.card-icon-wrap[data-color="primary"] {
  background-color: rgba(0, 0, 0, 0.08);
}

/* .header .container{
              max-width: 100% !important;
    width: 100% !important;
    padding: 0 30px !important;
} */

@media (min-width: 991px) {
    .header #logo {
        position: absolute;
        left: 15px;
        top: 25px;
    }
}


/* ============ HERO ============ */
.hero {
  position: relative;
  overflow: hidden;
  padding: 28px 0 0;
}

@media (min-width: 768px) {
  .hero {
    padding: 40px 0 0;
  }
}

@media (min-width: 1024px) {
  .hero {
    padding: 56px 0 0;
  }
}

.hero-watermark {
  position: absolute;
  top: -100px;
  right: -100px;
  width: 700px;
  height: 700px;
  opacity: 0.015;
  pointer-events: none;
}

.hero-watermark svg {
  width: 100%;
  height: 100%;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 5fr 7fr;
    gap: 24px;
  }

  /* .hero-grid { grid-template-columns: 6fr 6fr; gap: 24px; } */
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 32px 0;
}

@media (min-width: 1024px) {
  .hero-content {
    padding: 64px 0;
  }
}

.hero-content .label {
  margin-bottom: 24px;
}

.hero-content .display {
  margin-bottom: 32px;

}
@media (min-width: 1280px) {
  .hero-content .display {
  font-size: 3rem;
  padding-right: 100px;
}
}

@media (min-width: 640px) and (max-width: 1280px) {
  .hero-content .display {
  font-size: 3rem;
}
}

.hero-desc {
  /* max-width: 440px; */
  max-width: 100%;
  margin-bottom: 48px;
}

.kpi-row {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}

.kpi-value {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--charcoal);
  line-height: 1;
  margin-bottom: 4px;
}

@media (min-width: 768px) {
  .kpi-value {
    font-size: 30px;
  }
}

.kpi-label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.hero-visual {
  position: relative;
  z-index: 1;
}

.hero-image-wrap {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
}

@media (min-width: 1024px) {
  .hero-image-wrap {
    border-radius: 0;
    margin-right: -64px;
  }
}

.hero-image-wrap img {
  width: 100%;
  /* height: 320px; */
  height: auto;
  object-fit: cover;
}

/* @media (min-width: 768px) { .hero-image-wrap img { height: 480px; } }
@media (min-width: 1024px) { .hero-image-wrap img { height: 600px; } } */

.hero-image-fade {
  display: none;
}

@media (min-width: 1024px) {
  .hero-image-fade {
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 96px;
    background: linear-gradient(to right, var(--bg), transparent);
  }
}

.hero-divider-wrap {
  margin-top: 64px;
}

@media (min-width: 768px) {
  .hero-divider-wrap {
    margin-top: 80px;
  }
}

.category li a.active, .category li a:hover, .category li a:focus{
  border-color: transparent;
  background: transparent;
}

.category  .header .nav-menu ul > li:hover > a, .header .nav-menu ul > li.active > a{
  color: #4d4d4f;
}


#product-grid,
#prescription-view {
  transition: opacity .3s ease;
}

