﻿/* ============================================================
   PATIENT MITRA MEDICALS â€” STORE
   Editorial Apothecary: deep forest green + terracotta + bone
   cream. Sharp corners, bold typography, grid-divided layouts.
   ============================================================ */

/* â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”
   DESIGN TOKENS
â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€” */
:root {
  /* Deep saffron â€” primary brand (dark end) */
  --forest-900: #4B2400;
  --forest-800: #7A3800;
  --forest-700: #A64B00;
  --forest-600: #D97706;
  --forest-500: #F59E0B;
  --forest-100: #FDE7BA;
  --forest-50:  #FFF5E7;

  /* Supporting accents: slate + coral + aqua */
  --terra-900: #41506D;
  --terra-800: #596B89;
  --terra-700: #7D89B3;
  --terra-600: #EF5C6C;
  --terra-500: #F47B86;
  --terra-200: #DDF4F7;
  --terra-100: #F1FBFC;

  /* Off-white surfaces */
  --bone-50:  #FFFFFF;
  --bone-100: #FFF9F1;
  --bone-200: #F7EEDA;
  --bone-300: #EEDCBD;

  /* Warm editorial ink */
  --ink-900: #24160A;
  --ink-700: #5A4431;
  --ink-500: #8A7258;
  --ink-400: #B49A80;

  /* Semantic */
  --bg:            var(--bone-100);
  --surface:       #FFFFFF;
  --border:        rgba(36,22,10,.12);
  --border-strong: rgba(36,22,10,.22);

  --shadow-offset:     4px 4px 0 var(--forest-900);
  --shadow-offset-sm:  3px 3px 0 var(--forest-900);
  --shadow-offset-terra: 4px 4px 0 var(--terra-700);

  --max-width: 1260px;
  --gutter: 24px;
}

/* â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”
   RESET & BASE
â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€” */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
  background: radial-gradient(circle at top left, rgba(221, 244, 247, 0.62), transparent 24%), radial-gradient(circle at bottom right, rgba(244, 123, 134, 0.08), transparent 24%), linear-gradient(180deg, #FFFDF8 0%, var(--bg) 42%, #FFF7EC 100%);
  color: var(--ink-900);
  line-height: 1.55;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

a   { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input { font: inherit; }
p, h1, h2, h3, h4, ul, li { margin: 0; padding: 0; }
ul { list-style: none; }

::selection { background: var(--forest-700); color: var(--bone-50); }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”
   DECORATIVE BACKGROUND
â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€” */
.bg-blob {
  position: fixed;
  pointer-events: none;
  z-index: -1;
}
.bg-blob-1 {
  top: 0; right: 0;
  width: 22vw; height: 100vh;
  background: repeating-linear-gradient(
    0deg,
    transparent 0,
    transparent 39px,
    rgba(10,15,12,.03) 39px,
    rgba(10,15,12,.03) 40px
  );
}
.bg-blob-2 {
  bottom: 6%; left: 0;
  width: 180px; height: 180px;
  background: var(--terra-200);
  opacity: .4;
  transform: rotate(-8deg);
}

/* â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”
   LAYOUT
â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€” */
.store-shell {
  width: min(var(--max-width), calc(100% - var(--gutter) * 2));
  margin: 0 auto;
}

/* Sharp surface base */
.card-glass {
  background: var(--surface);
  border: 1.5px solid var(--ink-900);
  border-radius: 0;
}

/* â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”
   TOPBAR
â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€” */
.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  background: radial-gradient(circle at top left, rgba(221, 244, 247, 0.62), transparent 24%), radial-gradient(circle at bottom right, rgba(244, 123, 134, 0.08), transparent 24%), linear-gradient(180deg, #FFFDF8 0%, var(--bg) 42%, #FFF7EC 100%);
  border-bottom: 1.5px solid transparent;
  transition: border-color 220ms ease, background 220ms ease;
}

.topbar-inner {
  width: min(var(--max-width), calc(100% - var(--gutter) * 2));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0;
  transition: padding 240ms ease;
}

.topbar.scrolled {
  background: rgba(255,249,241,.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: var(--ink-900);
}

.topbar.scrolled .topbar-inner { padding: 12px 0; }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.brand img {
  width: 46px; height: 46px;
  object-fit: contain;
  padding: 3px;
  background: var(--bone-50);
  border: 1.5px solid var(--ink-900);
}

.brand-kicker {
  display: block;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--terra-700);
  margin-bottom: 2px;
}

.brand strong {
  display: block;
  font-size: 18px;
  font-weight: 800;
  color: var(--ink-900);
  letter-spacing: -0.02em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-700);
}

.nav a {
  position: relative;
  padding-bottom: 4px;
  transition: color 150ms;
}

.nav a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--terra-600);
  transition: width 220ms cubic-bezier(.4,0,.2,1);
}

.nav a:not(.nav-cta):hover { color: var(--ink-900); }
.nav a:not(.nav-cta):hover::after { width: 100%; }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: var(--forest-700);
  color: var(--bone-50) !important;
  font-weight: 700;
  font-size: 13.5px;
  border: 1.5px solid var(--ink-900);
  transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.nav-cta:hover {
  background: var(--forest-800);
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow-offset-sm);
}

.nav-cta::after { display: none !important; }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px; height: 42px;
  padding: 10px;
  background: var(--surface);
  border: 1.5px solid var(--ink-900);
  cursor: pointer;
  z-index: 101;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.nav-toggle span {
  display: block;
  width: 100%; height: 2px;
  background: linear-gradient(135deg, #4B2400, #7A3800 58%, #596B89 100%);
  transition: transform 240ms cubic-bezier(.4,0,.2,1), opacity 200ms ease;
  transform-origin: center;
}

.nav-toggle:hover {
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow-offset-sm);
}

.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”
   SCROLL ANIMATIONS
â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€” */
[data-animate] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 600ms cubic-bezier(.16,1,.3,1), transform 600ms cubic-bezier(.16,1,.3,1);
}
[data-animate].visible { opacity: 1; transform: none; }

/* â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”
   EYEBROW
â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€” */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--terra-700);
}

.eyebrow::before {
  content: '';
  display: inline-block;
  width: 28px;
  height: 2px;
  background: var(--terra-600);
}

/* â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”
   BUTTONS
â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€” */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 26px;
  border-radius: 0;
  font-weight: 700;
  font-size: 14.5px;
  cursor: pointer;
  border: 1.5px solid var(--ink-900);
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease, color 160ms ease;
  white-space: nowrap;
}

.btn:hover {
  transform: translate(-3px, -3px);
  box-shadow: var(--shadow-offset);
}

.btn-arrow {
  width: 16px; height: 16px;
  flex-shrink: 0;
  transition: transform 160ms ease;
}
.btn:hover .btn-arrow { transform: translateX(4px); }

.btn-primary {
  background: var(--forest-700);
  color: var(--bone-50);
}
.btn-primary:hover {
  background: var(--forest-800);
  box-shadow: var(--shadow-offset-terra);
}

.btn-secondary {
  background: var(--bone-50);
  color: var(--ink-900);
}
.btn-secondary:hover {
  background: var(--forest-700);
  color: var(--bone-50);
}

.btn-sm {
  min-height: 42px;
  padding: 0 20px;
  font-size: 13.5px;
}

.btn-outline-wide {
  background: transparent;
  color: var(--ink-900);
  font-size: 14px;
  padding: 0 40px;
}
.btn-outline-wide:hover {
  background: var(--terra-600);
  color: var(--bone-50);
}

/* â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”
   HERO
â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€” */
.hero {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 20px;
  align-items: stretch;
  padding: 32px 0 48px;
}

.hero-copy {
  padding: 42px 40px;
  position: relative;
}

.hero-copy::before {
  content: '';
  position: absolute;
  top: -1.5px; left: -1.5px;
  width: 40px; height: 40px;
  background: var(--terra-600);
  z-index: -1;
  transform: translate(-10px, -10px);
}

.hero-copy h1 {
  margin-top: 18px;
  font-size: clamp(2.1rem, 3.6vw, 3.7rem);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.043em;
  color: var(--ink-900);
}

.hero-copy > p {
  margin-top: 20px;
  max-width: 54ch;
  color: var(--ink-700);
  font-size: 1.02rem;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.hero-points {
  list-style: none;
  display: grid;
  gap: 12px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1.5px solid var(--ink-900);
}

.hero-points li {
  position: relative;
  padding-left: 28px;
  font-weight: 600;
  font-size: 14.5px;
  color: var(--ink-700);
}

.hero-points li::before {
  content: '';
  position: absolute;
  left: 0; top: 6px;
  width: 14px; height: 14px;
  background: var(--terra-600);
  border: 1.5px solid var(--ink-900);
}

/* Hero panel */
.hero-panel {
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  background: var(--forest-700);
  border-color: var(--ink-900);
  color: var(--bone-50);
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.metric-grid article {
  background: var(--forest-800);
  border: 1.5px solid var(--bone-50);
  padding: 16px;
}

.metric-grid strong {
  display: block;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--bone-50);
  letter-spacing: -0.03em;
  margin-bottom: 4px;
  line-height: 1;
}

.metric-grid span {
  font-size: 11.5px;
  color: var(--bone-100);
  line-height: 1.45;
  opacity: .9;
}

.support-callout {
  background: var(--terra-600);
  border: 1.5px solid var(--bone-50);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  color: var(--bone-50);
}

.support-tag {
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  padding: 0 12px;
  background: var(--terra-800);
  border: 1.5px solid var(--bone-50);
  color: var(--bone-50);
  font-size: 10.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  align-self: flex-start;
}

.support-callout h3 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--bone-50);
  letter-spacing: -0.01em;
}

.support-callout p {
  font-size: 13.5px;
  color: var(--bone-100);
  line-height: 1.65;
  opacity: .95;
}

.support-callout .btn {
  align-self: flex-start;
  background: linear-gradient(135deg, #4B2400, #7A3800 58%, #596B89 100%);
  color: var(--bone-50);
  border-color: var(--bone-50);
}
.support-callout .btn:hover {
  background: var(--bone-50);
  color: var(--ink-900);
  box-shadow: 4px 4px 0 var(--terra-900);
}

/* â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”
   SEARCH + FILTERS
â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€” */
.toolbelt {
  padding: 20px;
  display: grid;
  gap: 16px;
  margin-bottom: 4px;
}

.search-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.search-icon {
  position: absolute;
  left: 16px;
  color: var(--ink-500);
  pointer-events: none;
  display: flex;
}

.search-icon svg { width: 18px; height: 18px; }

.search-wrap input {
  width: 100%;
  min-height: 54px;
  padding: 0 18px 0 46px;
  border: 1.5px solid var(--ink-900);
  background: var(--bone-50);
  color: var(--ink-900);
  font-size: 14.5px;
  outline: none;
  transition: box-shadow 180ms, background 180ms;
  border-radius: 0;
}

.search-wrap input::placeholder { color: var(--ink-400); }

.search-wrap input:focus {
  background: var(--surface);
  box-shadow: var(--shadow-offset-sm);
  transform: translate(-2px, -2px);
}

.category-row {
  display: flex;
  gap: 0;
  overflow-x: auto;
  padding-bottom: 2px;
  border: 1.5px solid var(--ink-900);
  scrollbar-width: thin;
  scrollbar-color: var(--ink-900) transparent;
}

.category-row::-webkit-scrollbar { height: 6px; }
.category-row::-webkit-scrollbar-thumb { background: var(--ink-900); }

.chip {
  flex: 0 0 auto;
  min-height: 42px;
  padding: 0 20px;
  border: none;
  border-right: 1.5px solid var(--ink-900);
  background: var(--surface);
  color: var(--ink-700);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background 160ms, color 160ms;
  white-space: nowrap;
  border-radius: 0;
}

.chip:last-child { border-right: none; }

.chip:hover {
  background: var(--bone-100);
  color: var(--ink-900);
}

.chip.active {
  background: var(--forest-700);
  color: var(--bone-50);
}

/* â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”
   SECTIONS
â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€” */
.section { padding: 52px 0 0; }

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
}

.section-heading h2 {
  margin-top: 14px;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.04em;
  color: var(--ink-900);
}

.catalogue-head { align-items: flex-start; }

.catalogue-meta {
  font-size: 13.5px;
  color: var(--ink-500);
  line-height: 1.6;
  margin-top: 24px;
  font-weight: 600;
}

/* â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”
   STATUS BANNER
â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€” */
.status-banner {
  background: var(--surface);
  border: 1.5px solid var(--ink-900);
  padding: 16px 20px;
  color: var(--ink-700);
  margin-bottom: 18px;
  font-size: 14px;
  border-radius: 0;
}

.status-banner.error {
  background: var(--terra-100);
  color: var(--terra-900);
  border-color: var(--terra-700);
}

/* â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”
   PRODUCT GRIDS
â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€” */
.featured-grid,
.medicine-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

/* â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”
   PRODUCT CARDS
â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€” */
.featured-card,
.card {
  background: var(--surface);
  border: 1.5px solid var(--ink-900);
  border-radius: 0;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform 220ms ease, box-shadow 220ms ease, background 220ms ease;
}

.featured-card:hover,
.card:hover {
  transform: translate(-3px, -3px);
  box-shadow: var(--shadow-offset-terra);
  background: var(--bone-50);
}

/* Media */
.card-media,
.featured-media,
.drawer-media {
  background: var(--bone-200);
  border: 1.5px solid var(--ink-900);
  overflow: hidden;
  position: relative;
  border-radius: 0;
}

.featured-media,
.card-media { min-height: 170px; }
.drawer-media { min-height: 260px; }

.media-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.media-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  min-height: inherit;
  color: var(--forest-700);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  background: var(--forest-50);
}

/* Stock chip */
.stock-chip {
  position: absolute;
  top: 10px; left: 10px;
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  padding: 0 10px;
  background: var(--forest-700);
  color: var(--bone-50);
  border: 1.5px solid var(--ink-900);
  font-size: 10.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: 0;
}

.stock-chip.low {
  background: var(--terra-600);
  color: var(--bone-50);
}

.stock-chip.out {
  background: linear-gradient(135deg, #4B2400, #7A3800 58%, #596B89 100%);
  color: var(--bone-50);
}

/* Card copy */
.card-copy h3,
.featured-card h3 {
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.32;
  color: var(--ink-900);
  letter-spacing: -0.01em;
}

.manufacturer-line,
.meta-line {
  font-size: 12.5px;
  color: var(--ink-500);
  line-height: 1.55;
  font-weight: 600;
}

.meta-line {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: var(--ink-700);
  font-weight: 500;
}

/* Pricing */
.price-block {
  display: grid;
  gap: 3px;
  padding-top: 12px;
  border-top: 1.5px solid var(--ink-900);
}

.price-main {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--forest-700);
  letter-spacing: -0.02em;
  line-height: 1;
}

.price-sub {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-500);
}

.card-actions {
  display: flex;
  gap: 8px;
}

.card-actions .btn,
.featured-card .btn {
  width: 100%;
  min-height: 42px;
  font-size: 13px;
  padding: 0 16px;
}

/* â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”
   LOAD MORE
â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€” */
.load-more-wrap {
  display: flex;
  justify-content: center;
  padding: 32px 0 16px;
}

/* â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”
   FOOTER
â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€” */
.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 40px 0 44px;
  margin-top: 72px;
  border-top: 1.5px solid var(--ink-900);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-logo {
  width: 42px; height: 42px;
  object-fit: contain;
  padding: 3px;
  background: var(--bone-50);
  border: 1.5px solid var(--ink-900);
}

.footer-brand strong {
  display: block;
  font-size: 15px;
  font-weight: 800;
  margin-bottom: 4px;
  color: var(--ink-900);
}

.footer-brand p {
  font-size: 12.5px;
  color: var(--ink-500);
  line-height: 1.6;
  max-width: 46ch;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  font-size: 12.5px;
  font-weight: 800;
  color: var(--ink-700);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  flex-shrink: 0;
}

.footer-links a {
  border-bottom: 1.5px solid transparent;
  padding-bottom: 2px;
  transition: color 150ms, border-color 150ms;
}
.footer-links a:hover {
  color: var(--terra-700);
  border-bottom-color: var(--terra-600);
}

/* â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”
   PRODUCT DRAWER
â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€” */
.product-drawer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 200ms ease;
  z-index: 200;
}

.product-drawer.open {
  opacity: 1;
  pointer-events: auto;
}

.drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10,15,12,.62);
}

.drawer-panel {
  position: absolute;
  top: 16px; right: 16px; bottom: 16px;
  width: min(480px, calc(100vw - 24px));
  background: var(--bone-50);
  border: 1.5px solid var(--ink-900);
  box-shadow: -6px 6px 0 var(--terra-700);
  border-radius: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transform: translateX(40px);
  transition: transform 260ms cubic-bezier(.16,1,.3,1);
}

.product-drawer.open .drawer-panel { transform: translateX(0); }

.drawer-close {
  position: absolute;
  top: 14px; right: 14px;
  width: 40px; height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--ink-900);
  background: var(--bone-50);
  color: var(--ink-900);
  cursor: pointer;
  z-index: 2;
  transition: background 150ms, color 150ms, transform 150ms;
  border-radius: 0;
}

.drawer-close svg { width: 16px; height: 16px; }

.drawer-close:hover {
  background: linear-gradient(135deg, #4B2400, #7A3800 58%, #596B89 100%);
  color: var(--bone-50);
  transform: rotate(90deg);
}

.drawer-body {
  padding: 24px 26px 28px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--ink-900) transparent;
}

.drawer-chip {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 0 12px;
  background: var(--forest-700);
  color: var(--bone-50);
  border: 1.5px solid var(--ink-900);
  font-size: 10.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  border-radius: 0;
}

.drawer-body h3 {
  margin: 14px 0 4px;
  font-size: 1.85rem;
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.04em;
  color: var(--ink-900);
}

.drawer-manufacturer {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink-700);
}

.drawer-price-block {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin: 18px 0 8px;
}

.price-box {
  border: 1.5px solid var(--ink-900);
  padding: 14px;
  background: var(--surface);
  border-radius: 0;
}

.price-label {
  display: block;
  margin-bottom: 6px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-500);
}

.price-box strong {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--ink-900);
  letter-spacing: -0.02em;
}

.price-discounted { color: var(--forest-700) !important; }

.drawer-stock {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-700);
  margin: 0 0 6px;
  line-height: 1.6;
}

.info-block {
  border-top: 1.5px solid var(--ink-900);
  padding-top: 18px;
  margin-top: 18px;
}

.info-block h4 {
  font-size: 10.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--terra-700);
  margin-bottom: 8px;
}

.info-block p {
  font-size: 14px;
  white-space: pre-line;
  color: var(--ink-700);
  line-height: 1.75;
}

.drawer-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 24px;
}

/* ======================================================
   RESPONSIVE: TABLET â‰¤ 1080px
====================================================== */
@media (max-width: 1080px) {
  .featured-grid,
  .medicine-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ======================================================
   RESPONSIVE: MOBILE â‰¤ 900px
====================================================== */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }

  .bg-blob-1 { display: none; }

  .nav-toggle { display: flex; }

  .nav {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 99;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
    background: var(--bone-100);
    font-size: 20px;
    font-weight: 800;
  }

  .nav.open { display: flex; }
  .nav a::after { display: none; }

  .nav-cta {
    font-size: 17px;
    padding: 16px 32px;
  }

  .footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
}

/* ======================================================
   RESPONSIVE: SMALL MOBILE â‰¤ 640px
====================================================== */
@media (max-width: 640px) {
  :root { --gutter: 16px; }

  .section { padding-top: 44px; }

  .hero { padding: 20px 0 36px; }
  .hero-copy { padding: 26px 22px; }
  .hero-copy h1 { font-size: clamp(1.9rem, 8vw, 2.6rem); }

  .featured-grid,
  .medicine-grid { grid-template-columns: 1fr; }

  .metric-grid { grid-template-columns: 1fr 1fr; }

  .drawer-price-block,
  .drawer-actions { grid-template-columns: 1fr; }

  .drawer-panel {
    top: 10px; right: 8px; bottom: 8px; left: 8px;
    width: auto;
  }

  .section-heading { flex-direction: column; align-items: flex-start; }
  .catalogue-meta { margin-top: 4px; }
}



