/* ============================================================
   AETHERIA — Premium Healthcare & Pharmacy
   Aesthetic: Clinical Luxury · Dark Navy · Emerald · Gold
   ============================================================ */

/* ---- TOKENS ---- */
:root {
  --navy:        #0A1628;
  --navy-2:      #0F1F35;
  --navy-3:      #162440;
  --emerald:     #10B981;
  --emerald-d:   #059669;
  --emerald-ll:  #D1FAE5;
  --gold:        #C8943A;
  --gold-l:      #F4C84220;
  --slate:       #94A3B8;
  --bg:          #F8FAFC;
  --surface:     #FFFFFF;
  --surface-2:   #F1F5F9;
  --border:      #E2E8F0;
  --text:        #0F172A;
  --text-muted:  #64748B;
  --white:       #FFFFFF;

  /* Dark mode overrides applied via [data-theme="dark"] */

  --r-sm: 12px;
  --r-md: 20px;
  --r-lg: 28px;
  --r-xl: 40px;
  --r-full: 999px;
  --shadow:    0 4px 20px rgba(10,22,40,.08);
  --shadow-lg: 0 16px 48px rgba(10,22,40,.14);
  --shadow-xl: 0 30px 80px rgba(10,22,40,.20);
  --glass:     rgba(255,255,255,.75);
  --glass-b:   rgba(255,255,255,.25);
  --tr: .25s cubic-bezier(.4,0,.2,1);
  --header-h: 72px;
  --promo-h: 40px;
}

[data-theme="dark"] {
  --bg:         #060E18;
  --surface:    #0A1628;
  --surface-2:  #0F1F35;
  --border:     rgba(16,185,129,.12);
  --text:       #E2EAF4;
  --text-muted: #7A9AB0;
  --glass:      rgba(10,22,40,.75);
  --glass-b:    rgba(255,255,255,.06);
  --shadow:     0 4px 20px rgba(0,0,0,.4);
  --shadow-lg:  0 16px 48px rgba(0,0,0,.5);
}

/* ---- RESET ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
  transition: background var(--tr), color var(--tr);
}
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; font-family: inherit; }
ul { list-style: none; }
img { display: block; max-width: 100%; }

/* NOISE */
.noise-overlay {
  position: fixed; inset: 0; z-index: 9999;
  pointer-events: none; opacity: .022;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* CONTAINER */
.container { max-width: 1240px; margin: 0 auto; padding: 0 28px; }

/* ================================================================
   PROMO BANNER
   ================================================================ */
.promo-banner {
  height: var(--promo-h);
  background: var(--navy);
  color: #fff;
  display: flex;
  align-items: center;
  overflow: hidden;
  position: relative;
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .02em;
  z-index: 1100;
  transition: height .3s ease;
}
.promo-banner.closed { height: 0; }
.promo-track {
  display: flex;
  gap: 40px;
  white-space: nowrap;
  animation: promoscroll 30s linear infinite;
  padding-left: 100%;
}
.promo-track span { color: rgba(255,255,255,.75); }
.promo-track strong { color: var(--emerald); }
.promo-dot { color: var(--emerald); opacity: .5; }
@keyframes promoscroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.promo-close {
  position: absolute; right: 16px;
  background: none; color: rgba(255,255,255,.5);
  font-size: .8rem; padding: 4px 8px;
  transition: color .2s;
  z-index: 2;
}
.promo-close:hover { color: #fff; }

/* ================================================================
   CART DRAWER
   ================================================================ */
.cart-overlay {
  position: fixed; inset: 0; z-index: 1200;
  background: rgba(0,0,0,.5);
  backdrop-filter: blur(3px);
  opacity: 0; pointer-events: none;
  transition: opacity .35s ease;
}
.cart-overlay.active { opacity: 1; pointer-events: all; }

.cart-drawer {
  position: fixed; top: 0; right: 0;
  width: 440px; max-width: 100vw;
  height: 100vh;
  background: var(--surface);
  z-index: 1300;
  display: flex; flex-direction: column;
  transform: translateX(110%);
  transition: transform .38s cubic-bezier(.4,0,.2,1);
  box-shadow: -12px 0 60px rgba(0,0,0,.2);
  border-left: 1px solid var(--border);
}
.cart-drawer.open { transform: translateX(0); }

.cart-drawer-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 24px 28px;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}
.cart-drawer-head h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.5rem; font-weight: 700;
  display: flex; align-items: center; gap: 10px;
}
.drawer-badge {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--emerald); color: #fff;
  font-size: .7rem; font-weight: 700;
  width: 22px; height: 22px; border-radius: 50%;
  font-family: 'DM Sans', sans-serif;
}
.drawer-close {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--surface-2); color: var(--text-muted);
  font-size: .8rem;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--tr), color var(--tr);
}
.drawer-close:hover { background: var(--emerald); color: #fff; }

.cart-body { flex: 1; overflow-y: auto; padding: 8px 0; }
.cart-empty-state {
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; height: 100%; gap: 8px;
  color: var(--text-muted); padding: 40px; text-align: center;
}
.empty-icon { font-size: 3rem; margin-bottom: 8px; }
.cart-empty-state p { font-size: 1rem; font-weight: 600; }
.cart-empty-state span { font-size: .85rem; }

.cart-item {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 28px;
  border-bottom: 1px solid var(--border);
  animation: slideIn .25s ease;
}
@keyframes slideIn { from { opacity:0; transform:translateX(16px); } to { opacity:1; transform:none; } }
.ci-emoji {
  font-size: 2rem; width: 52px; height: 52px;
  background: var(--surface-2); border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.ci-info { flex: 1; min-width: 0; }
.ci-info h4 { font-size: .88rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ci-info span { font-size: .76rem; color: var(--text-muted); }
.ci-controls { display: flex; align-items: center; gap: 8px; }
.qty-btn {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--surface-2); border: 1px solid var(--border);
  font-size: .9rem; color: var(--text);
  display: flex; align-items: center; justify-content: center;
  transition: background var(--tr);
}
.qty-btn:hover { background: var(--emerald); color: #fff; border-color: var(--emerald); }
.qty-val { font-size: .9rem; font-weight: 700; min-width: 20px; text-align: center; }
.ci-price { font-size: .88rem; font-weight: 700; color: var(--emerald); min-width: 56px; text-align: right; }

.cart-footer-panel { padding: 20px 28px 28px; border-top: 1px solid var(--border); }
.promo-input-row { display: flex; gap: 8px; margin-bottom: 8px; }
.promo-input-row input {
  flex: 1; padding: 10px 14px; border-radius: var(--r-sm);
  border: 1px solid var(--border); background: var(--surface-2);
  font-family: inherit; font-size: .85rem; color: var(--text);
  outline: none; transition: border-color .2s;
}
.promo-input-row input:focus { border-color: var(--emerald); }
.promo-input-row button {
  padding: 10px 16px; background: var(--navy); color: #fff;
  border-radius: var(--r-sm); font-size: .8rem; font-weight: 600;
  transition: background .2s;
}
[data-theme="dark"] .promo-input-row button { background: var(--emerald); color: var(--navy); }
.promo-input-row button:hover { background: var(--emerald); color: var(--navy); }
.promo-msg { font-size: .78rem; margin-bottom: 12px; min-height: 18px; }
.promo-msg.success { color: var(--emerald); }
.promo-msg.error { color: #EF4444; }
.subtotal-row, .discount-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 8px 0; font-size: .95rem;
}
.subtotal-row strong { font-size: 1.3rem; font-family: 'Cormorant Garamond', serif; color: var(--navy); }
[data-theme="dark"] .subtotal-row strong { color: var(--text); }
.discount-val { color: var(--emerald); }
.delivery-note {
  font-size: .76rem; color: var(--text-muted);
  background: var(--surface-2); padding: 8px 12px;
  border-radius: var(--r-sm); margin: 12px 0 16px;
}
.full { width: 100%; justify-content: center; margin-bottom: 8px; }

/* ================================================================
   SEARCH OVERLAY
   ================================================================ */
.search-overlay {
  position: fixed; inset: 0; z-index: 1400;
  background: rgba(10,22,40,.96);
  backdrop-filter: blur(16px);
  display: flex; align-items: flex-start; justify-content: center;
  padding-top: 120px;
  opacity: 0; pointer-events: none;
  transition: opacity .3s ease;
}
.search-overlay.active { opacity: 1; pointer-events: all; }
.search-overlay-inner { width: 100%; max-width: 680px; padding: 0 24px; }
.search-box {
  display: flex; align-items: center; gap: 16px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--r-full);
  padding: 16px 24px;
  color: #fff; margin-bottom: 24px;
}
.search-box input {
  flex: 1; background: none; border: none; outline: none;
  font-family: inherit; font-size: 1.1rem; color: #fff;
}
.search-box input::placeholder { color: rgba(255,255,255,.4); }
.search-box button { background: none; color: rgba(255,255,255,.5); font-size: .9rem; transition: color .2s; }
.search-box button:hover { color: #fff; }
.search-results { display: flex; flex-direction: column; gap: 8px; max-height: 360px; overflow-y: auto; }
.search-result-item {
  display: flex; align-items: center; gap: 16px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--r-md); padding: 14px 20px;
  cursor: pointer; transition: background .2s, transform .2s;
}
.search-result-item:hover { background: rgba(16,185,129,.15); transform: translateX(6px); }
.sri-emoji { font-size: 1.8rem; }
.sri-info h4 { font-size: .92rem; font-weight: 600; color: #fff; }
.sri-info span { font-size: .78rem; color: rgba(255,255,255,.5); }
.sri-price { margin-left: auto; font-weight: 700; color: var(--emerald); font-size: .95rem; }
.search-hint { text-align: center; color: rgba(255,255,255,.3); font-size: .8rem; margin-top: 20px; }
.no-results { text-align: center; color: rgba(255,255,255,.4); padding: 32px; font-size: .9rem; }

/* ================================================================
   NAVBAR
   ================================================================ */
#navbar {
  position: fixed; top: var(--promo-h); left: 0; right: 0;
  z-index: 1000; background: transparent;
  transition: top .3s ease, background .3s ease, border-color .3s ease, box-shadow .3s ease;
}
#navbar.no-banner { top: 0; }
#navbar.scrolled {
  background: var(--glass);
  backdrop-filter: blur(20px) saturate(1.5);
  -webkit-backdrop-filter: blur(20px) saturate(1.5);
  border-bottom: 1px solid var(--glass-b);
  box-shadow: var(--shadow);
}
.nav-wrap {
  max-width: 1240px; margin: 0 auto; padding: 0 28px;
  height: var(--header-h);
  display: flex; align-items: center; gap: 16px;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  font-family: 'DM Sans', sans-serif; font-size: 1.3rem;
  font-weight: 700; letter-spacing: .12em; color: var(--navy);
  flex-shrink: 0;
}
[data-theme="dark"] .brand { color: #fff; }
.brand em { color: var(--emerald); font-style: normal; }
.brand-mark {
  width: 36px; height: 36px; border-radius: var(--r-sm);
  background: var(--navy); color: #fff;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; transition: background var(--tr);
}
[data-theme="dark"] .brand-mark { background: var(--emerald); }
.nav-links {
  display: flex; gap: 4px; margin-left: auto;
}
.nav-links a {
  padding: 7px 16px; border-radius: var(--r-full);
  font-size: .82rem; font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase;
  color: var(--text-muted);
  transition: background var(--tr), color var(--tr);
}
.nav-links a:hover { background: var(--border); color: var(--text); }
.nav-right {
  display: flex; align-items: center; gap: 8px; flex-shrink: 0;
}
.nav-icon-btn {
  width: 40px; height: 40px; border-radius: 50%;
  background: transparent; color: var(--text);
  display: flex; align-items: center; justify-content: center;
  transition: background var(--tr), color var(--tr);
  position: relative;
}
.nav-icon-btn:hover { background: var(--border); }
.moon-icon { display: none; }
[data-theme="dark"] .sun-icon { display: none; }
[data-theme="dark"] .moon-icon { display: block; }
.nav-cart-badge {
  position: absolute; top: 2px; right: 2px;
  background: var(--emerald); color: #fff;
  font-size: .6rem; font-weight: 700;
  min-width: 17px; height: 17px;
  border-radius: var(--r-full); padding: 0 3px;
  display: none; align-items: center; justify-content: center;
  border: 2px solid var(--bg);
  font-family: 'DM Sans', sans-serif;
}
.nav-cart-badge.show { display: flex; animation: popIn .2s ease; }
@keyframes popIn { from { transform: scale(0); } 70% { transform: scale(1.3); } to { transform: scale(1); } }
.cta-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--navy); color: #fff;
  padding: 11px 24px; border-radius: var(--r-full);
  font-size: .82rem; font-weight: 700;
  letter-spacing: .04em;
  transition: background .2s, transform .15s, box-shadow .2s;
  font-family: 'DM Sans', sans-serif;
}
[data-theme="dark"] .cta-btn { background: var(--emerald); color: var(--navy); }
.cta-btn:hover { background: var(--emerald); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(16,185,129,.35); }
[data-theme="dark"] .cta-btn:hover { background: #0DA271; color: var(--navy); }
.nav-cta { padding: 9px 20px; font-size: .78rem; }
.ghost-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: var(--text);
  padding: 11px 24px; border-radius: var(--r-full);
  font-size: .85rem; font-weight: 600;
  border: 1.5px solid var(--border);
  transition: border-color .2s, background .2s, color .2s;
  font-family: 'DM Sans', sans-serif;
}
.ghost-btn:hover { border-color: var(--emerald); background: var(--emerald-ll); color: var(--navy); }
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  width: 38px; height: 38px; align-items: center; justify-content: center;
  background: transparent;
}
.hamburger span {
  display: block; height: 2px; width: 22px;
  background: var(--text); border-radius: 2px;
  transition: transform .28s ease, opacity .2s;
  transform-origin: center;
}
.hamburger.open span:nth-child(1) { transform: translateY(3.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }

.mobile-nav {
  background: var(--surface); border-top: 1px solid var(--border);
  max-height: 0; overflow: hidden;
  transition: max-height .3s ease;
  display: none;
}
.mobile-nav.open { max-height: 320px; }
.mobile-nav a {
  display: block; padding: 14px 28px;
  font-size: .9rem; font-weight: 600;
  color: var(--text); border-bottom: 1px solid var(--border);
  letter-spacing: .04em; text-transform: uppercase;
  transition: background .2s;
}
.mobile-nav a:hover { background: var(--surface-2); }

/* ================================================================
   HERO
   ================================================================ */
.hero {
  min-height: 100vh; position: relative; overflow: hidden;
  display: flex; align-items: center;
  padding-top: calc(var(--promo-h) + var(--header-h) + 40px);
}
.hero-atmosphere { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.atm-sphere {
  position: absolute; border-radius: 50%;
  filter: blur(100px); opacity: .5;
}
.s1 { width: 700px; height: 700px; top: -15%; right: -15%; background: radial-gradient(circle, rgba(16,185,129,.18), transparent 70%); animation: atmFloat 20s ease-in-out infinite; }
.s2 { width: 500px; height: 500px; bottom: -10%; left: -10%; background: radial-gradient(circle, rgba(200,148,58,.12), transparent 70%); animation: atmFloat 25s ease-in-out infinite reverse; }
.s3 { width: 350px; height: 350px; top: 30%; left: 40%; background: radial-gradient(circle, rgba(10,22,40,.08), transparent 70%); animation: atmFloat 18s ease-in-out infinite 6s; }
@keyframes atmFloat {
  0%,100% { transform: translate(0,0) scale(1); }
  33% { transform: translate(20px,-25px) scale(1.05); }
  66% { transform: translate(-15px,15px) scale(.96); }
}
.hero-grid {
  display: grid; grid-template-columns: 1.1fr .9fr;
  gap: 60px; align-items: center; position: relative; z-index: 1;
  padding-top: 40px; padding-bottom: 80px;
}
.hero-left { animation: fadeUp .9s .1s ease both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: none; } }
.live-badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 18px; border-radius: var(--r-full);
  background: var(--surface); border: 1px solid var(--border);
  font-size: .78rem; font-weight: 600; color: var(--text-muted);
  margin-bottom: 24px; box-shadow: var(--shadow);
}
.pulse {
  width: 8px; height: 8px; background: var(--emerald);
  border-radius: 50%; position: relative; flex-shrink: 0;
}
.pulse::after {
  content: ''; position: absolute; inset: -4px;
  border-radius: 50%; border: 2px solid var(--emerald);
  animation: pulseRing 2s infinite;
}
@keyframes pulseRing { from { transform: scale(1); opacity: 1; } to { transform: scale(2.8); opacity: 0; } }
h1, h2 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  line-height: 1.08; letter-spacing: -.02em;
}
h1 {
  font-size: clamp(3.2rem, 5.5vw, 5.5rem); font-weight: 700;
  color: var(--navy); margin-bottom: 20px;
}
[data-theme="dark"] h1 { color: var(--text); }
h1 em, h2 em { font-style: italic; color: var(--emerald); }
h2 { font-size: clamp(2rem, 3.5vw, 3.2rem); font-weight: 700; color: var(--navy); }
[data-theme="dark"] h2 { color: var(--text); }
.hero-sub {
  font-size: 1.05rem; color: var(--text-muted);
  max-width: 480px; margin-bottom: 36px; line-height: 1.7;
}
.hero-search {
  display: flex; align-items: center; gap: 12px;
  background: var(--surface); border-radius: var(--r-full);
  padding: 8px 8px 8px 20px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  max-width: 560px; margin-bottom: 48px;
  color: var(--text-muted);
}
.hero-search input {
  flex: 1; border: none; outline: none;
  font-family: 'DM Sans', sans-serif; font-size: .95rem;
  color: var(--text); background: transparent;
}
.hero-search input::placeholder { color: var(--text-muted); }
.hero-stats {
  display: flex; align-items: center; gap: 24px; flex-wrap: wrap;
}
.h-stat { display: flex; flex-direction: column; }
.h-stat strong {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.9rem; font-weight: 700; line-height: 1; color: var(--navy);
}
[data-theme="dark"] .h-stat strong { color: var(--text); }
.h-stat strong span { color: var(--emerald); font-size: 1.2rem; }
.h-stat small { font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; color: var(--text-muted); }
.h-divider { width: 1px; height: 40px; background: var(--border); }

/* HERO RIGHT */
.hero-right {
  position: relative; animation: fadeUp .9s .25s ease both;
}
.hero-orb {
  width: 460px; height: 460px; border-radius: 50%;
  margin: 0 auto; position: relative;
  background: radial-gradient(circle, rgba(16,185,129,.06) 0%, transparent 70%);
}
.orb-ring {
  position: absolute; border-radius: 50%; border: 1px solid;
  animation: orbSpin 20s linear infinite;
}
.r1 {
  inset: -20px;
  border-color: rgba(16,185,129,.15) rgba(16,185,129,.15) transparent;
}
.r2 {
  inset: -50px;
  border-color: transparent rgba(200,148,58,.1) rgba(200,148,58,.1);
  animation-direction: reverse; animation-duration: 30s;
}
@keyframes orbSpin { to { transform: rotate(360deg); } }
.hero-img {
  width: 100%; height: 100%; object-fit: cover;
  border-radius: 50%; border: 2px solid rgba(16,185,129,.15);
}
.h-float {
  position: absolute;
  display: flex; align-items: center; gap: 12px;
  background: var(--glass); backdrop-filter: blur(12px);
  border: 1px solid var(--glass-b);
  border-radius: var(--r-md); padding: 12px 18px;
  box-shadow: var(--shadow-lg); font-size: .82rem;
  transition: transform .3s ease;
  z-index: 5;
}
.h-float:hover { transform: translateY(-4px) scale(1.03); }
.h-float strong { display: block; font-size: .85rem; font-weight: 700; }
.h-float span { color: var(--text-muted); font-size: .74rem; }
.hf-icon { font-size: 1.5rem; flex-shrink: 0; }
.fc1 { top: 8%; left: -8%; animation: hfloat 6s ease-in-out infinite; }
.fc2 { bottom: 22%; right: -6%; animation: hfloat 7s ease-in-out infinite .8s; }
.fc3 { bottom: 4%; left: 4%; animation: hfloat 5.5s ease-in-out infinite 1.4s; }
@keyframes hfloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ================================================================
   SECTIONS
   ================================================================ */
.section { padding: 100px 0; position: relative; z-index: 1; }
.sec-head { margin-bottom: 52px; }
.sec-head.center { text-align: center; }
.eyebrow {
  display: inline-block; font-size: .72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .14em; color: var(--emerald);
  margin-bottom: 12px;
}
.text-link {
  font-size: .85rem; font-weight: 700; color: var(--emerald);
  display: flex; align-items: center; gap: 4px;
  transition: gap .2s; white-space: nowrap;
}
.text-link:hover { gap: 10px; }
.sec-head:not(.center) {
  display: flex; justify-content: space-between; align-items: flex-end;
}

/* ================================================================
   DEPARTMENTS
   ================================================================ */
.departments { background: var(--surface-2); }
.dept-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 28px;
}
.dept-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-xl); overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease;
}
.dept-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-xl); }
.dept-img { height: 300px; overflow: hidden; position: relative; }
.dept-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.4,0,.2,1); }
.dept-card:hover .dept-img img { transform: scale(1.08); }
.dept-img-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,22,40,.6), transparent 50%);
}
.dept-body { padding: 32px; }
.dept-tag {
  display: inline-block; font-size: .65rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: .1em;
  background: var(--emerald-ll); color: var(--emerald-d);
  padding: 4px 12px; border-radius: var(--r-full); margin-bottom: 14px;
}
.dept-body h3 { font-family: 'Cormorant Garamond', serif; font-size: 1.7rem; font-weight: 700; margin-bottom: 10px; color: var(--navy); }
[data-theme="dark"] .dept-body h3 { color: var(--text); }
.dept-body p { font-size: .9rem; color: var(--text-muted); margin-bottom: 20px; line-height: 1.65; }
.dept-feats { display: flex; flex-direction: column; gap: 8px; margin-bottom: 24px; }
.dept-feats li { font-size: .85rem; font-weight: 500; color: var(--text); }
.dept-link { font-size: .85rem; font-weight: 700; color: var(--emerald); }
.dept-link:hover { text-decoration: underline; }

/* ================================================================
   PHARMACY / PRODUCTS
   ================================================================ */
.pharmacy { background: var(--bg); }
.filter-bar {
  display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 40px;
}
.f-btn {
  padding: 8px 20px; border-radius: var(--r-full);
  border: 1.5px solid var(--border);
  background: var(--surface); color: var(--text-muted);
  font-size: .8rem; font-weight: 600;
  transition: all .2s ease;
  font-family: 'DM Sans', sans-serif;
}
.f-btn:hover { border-color: var(--emerald); color: var(--text); }
.f-btn.active { background: var(--navy); color: #fff; border-color: var(--navy); }
[data-theme="dark"] .f-btn.active { background: var(--emerald); color: var(--navy); border-color: var(--emerald); }

.prod-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.prod-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-lg); overflow: hidden;
  transition: transform .28s ease, box-shadow .28s ease, border-color .2s;
  position: relative; display: flex; flex-direction: column;
  opacity: 0; transform: translateY(24px);
  animation: cardIn .5s ease forwards;
}
@keyframes cardIn { to { opacity: 1; transform: none; } }
.prod-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(16,185,129,.3); }
.prod-card.hidden { display: none; }
.prod-tag {
  position: absolute; top: 14px; right: 14px;
  font-size: .62rem; font-weight: 800; text-transform: uppercase;
  letter-spacing: .08em; padding: 4px 10px;
  border-radius: var(--r-full); background: var(--emerald-ll);
  color: var(--emerald-d); z-index: 2;
}
.prod-tag.tag-gold { background: rgba(200,148,58,.15); color: var(--gold); }
.prod-visual {
  height: 160px; background: var(--surface-2);
  display: flex; align-items: center; justify-content: center;
  font-size: 3.5rem;
  transition: transform .3s ease, background .2s;
}
.prod-card:hover .prod-visual { background: var(--emerald-ll); transform: scale(1.05); }
.prod-info { padding: 16px; flex: 1; display: flex; flex-direction: column; }
.prod-manufacturer {
  font-size: .68rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .06em; color: var(--emerald); margin-bottom: 6px;
}
.prod-info h3 { font-size: .95rem; font-weight: 700; margin-bottom: 4px; }
.prod-info p { font-size: .8rem; color: var(--text-muted); margin-bottom: 16px; flex: 1; }
.prod-footer { display: flex; align-items: center; justify-content: space-between; margin-top: auto; }
.prod-price {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem; font-weight: 700; color: var(--navy);
}
[data-theme="dark"] .prod-price { color: var(--text); }
.add-to-cart {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--navy); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; font-weight: 700;
  transition: background .2s, transform .2s;
}
[data-theme="dark"] .add-to-cart { background: var(--emerald); color: var(--navy); }
.add-to-cart:hover { background: var(--emerald); transform: scale(1.12) rotate(90deg); }
.oos-badge {
  font-size: .7rem; color: #EF4444; font-weight: 600;
}

.grid-cta { text-align: center; margin-top: 40px; }

/* ================================================================
   SERVICES
   ================================================================ */
.services { background: var(--navy); border-radius: 80px 80px 0 0; overflow: hidden; position: relative; }
[data-theme="dark"] .services { background: #050D18; }
.services::before {
  content: ''; position: absolute;
  top: -10%; right: -8%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(16,185,129,.12), transparent 60%);
  border-radius: 50%; pointer-events: none;
}
.services .eyebrow { color: rgba(16,185,129,.8); }
.services h2 { color: #fff; }
.services .sec-head p { color: rgba(255,255,255,.55); font-size: 1rem; margin-top: 12px; }
.services-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
}
.services-left { padding-right: 20px; }
.services-left p { color: rgba(255,255,255,.6); margin: 16px 0 36px; font-size: 1rem; }
.svc-list { display: flex; flex-direction: column; gap: 12px; }
.svc-item {
  display: flex; gap: 18px;
  padding: 18px 20px; border-radius: var(--r-md);
  cursor: pointer; transition: background .25s, border-color .25s;
  border: 1px solid transparent;
}
.svc-item.active { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.1); }
.svc-item:hover { background: rgba(16,185,129,.08); border-color: rgba(16,185,129,.2); }
.svc-icon {
  font-size: 1.5rem; width: 48px; height: 48px;
  background: rgba(255,255,255,.07); border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.svc-item h4 { font-size: 1rem; font-weight: 700; color: #fff; margin-bottom: 4px; }
.svc-item p { font-size: .84rem; color: rgba(255,255,255,.5); line-height: 1.5; }
.svc-img {
  width: 100%; border-radius: var(--r-xl);
  box-shadow: 0 40px 80px rgba(0,0,0,.5);
  border: 1px solid rgba(255,255,255,.08);
  transition: transform .3s ease;
}
.svc-img:hover { transform: scale(1.02); }

/* ================================================================
   ABOUT
   ================================================================ */
.about { background: var(--surface-2); }
.about-grid {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 80px; align-items: center;
}
.about-visual { position: relative; }
.about-img-main {
  width: 100%; height: 520px; object-fit: cover;
  border-radius: var(--r-xl); box-shadow: var(--shadow-xl);
}
.about-stat-card {
  position: absolute; bottom: 32px; left: -24px;
  background: var(--surface); border-radius: var(--r-lg);
  padding: 20px 28px; box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}
.about-stat-card strong {
  display: block; font-family: 'Cormorant Garamond', serif;
  font-size: 3rem; font-weight: 700; color: var(--navy); line-height: 1;
}
[data-theme="dark"] .about-stat-card strong { color: var(--text); }
.about-stat-card p { font-size: .8rem; color: var(--text-muted); max-width: 140px; margin-top: 4px; font-weight: 500; }
.about-badge-card {
  position: absolute; top: 28px; right: -20px;
  background: var(--emerald); color: #fff;
  padding: 8px 20px; border-radius: var(--r-full);
  font-size: .8rem; font-weight: 800; letter-spacing: .08em;
  box-shadow: 0 8px 24px rgba(16,185,129,.4);
}
.about-text p { font-size: 1rem; color: var(--text-muted); margin: 12px 0 36px; line-height: 1.75; }
.about-pillars {
  display: grid; grid-template-columns: 1fr 1fr; gap: 28px;
}
.pillar {
  padding: 20px; background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--r-md);
  transition: border-color .2s, box-shadow .2s;
}
.pillar:hover { border-color: var(--emerald); box-shadow: 0 8px 24px rgba(16,185,129,.1); }
.p-num {
  display: block; font-size: .7rem; font-weight: 800;
  color: var(--emerald); letter-spacing: .1em; margin-bottom: 8px;
}
.pillar h4 { font-size: .92rem; font-weight: 700; margin-bottom: 6px; }
.pillar p { font-size: .82rem; color: var(--text-muted); line-height: 1.6; }

/* ================================================================
   PROMO SECTION
   ================================================================ */
.promo-section { padding: 60px 0; background: var(--bg); }
.promo-cards {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.promo-card {
  display: flex; align-items: center; gap: 16px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 24px 24px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .2s;
}
.promo-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: rgba(16,185,129,.3); }
.promo-icon { font-size: 2rem; flex-shrink: 0; }
.promo-card h4 { font-size: .95rem; font-weight: 800; margin-bottom: 2px; color: var(--navy); letter-spacing: .04em; }
[data-theme="dark"] .promo-card h4 { color: var(--text); }
.promo-card p { font-size: .8rem; color: var(--text-muted); }
.promo-copy-btn {
  margin-left: auto; flex-shrink: 0;
  padding: 8px 16px; border-radius: var(--r-full);
  background: var(--surface-2); border: 1.5px solid var(--border);
  font-size: .75rem; font-weight: 700; color: var(--text);
  transition: background .2s, border-color .2s, color .2s;
}
.promo-copy-btn:hover { background: var(--emerald); border-color: var(--emerald); color: #fff; }
.promo-auto {
  margin-left: auto; flex-shrink: 0;
  font-size: .72rem; font-weight: 700;
  color: var(--emerald); background: var(--emerald-ll);
  padding: 6px 14px; border-radius: var(--r-full);
}

/* ================================================================
   FOOTER
   ================================================================ */
.footer { background: var(--navy); color: #fff; padding: 80px 0 0; }
[data-theme="dark"] .footer { background: #050D18; }
.footer-grid {
  display: grid; grid-template-columns: 1.5fr 2fr 1.5fr;
  gap: 60px; padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-brand .brand { color: var(--emerald); margin-bottom: 16px; }
.footer-brand .brand-mark { background: var(--emerald); }
.footer-brand p { font-size: .88rem; color: rgba(255,255,255,.5); line-height: 1.7; margin-bottom: 20px; }
.footer-contact { display: flex; flex-direction: column; gap: 10px; }
.footer-contact a, .footer-addr {
  font-size: .85rem; color: rgba(255,255,255,.6);
  transition: color .2s;
}
.footer-contact a:hover { color: var(--emerald); }
.footer-addr { margin: 0; }
.footer-links-wrap {
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 32px;
}
.footer-col h4 {
  font-size: .72rem; font-weight: 800; text-transform: uppercase;
  letter-spacing: .1em; color: rgba(255,255,255,.35); margin-bottom: 18px;
}
.footer-col a {
  display: block; font-size: .85rem;
  color: rgba(255,255,255,.6); margin-bottom: 10px;
  transition: color .2s;
}
.footer-col a:hover { color: var(--emerald); }
.footer-hours h4 {
  font-size: .72rem; font-weight: 800; text-transform: uppercase;
  letter-spacing: .1em; color: rgba(255,255,255,.35); margin-bottom: 18px;
}
.hours-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,.06);
  font-size: .82rem; color: rgba(255,255,255,.6);
}
.hours-row:last-of-type { border-bottom: none; }
.wa-btn {
  display: flex; align-items: center; gap: 10px;
  margin-top: 20px; background: #25D366; color: #fff;
  padding: 12px 20px; border-radius: var(--r-full);
  font-size: .85rem; font-weight: 700;
  transition: transform .2s, box-shadow .2s;
}
.wa-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(37,211,102,.35); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px 0; font-size: .78rem; color: rgba(255,255,255,.3);
}

/* ================================================================
   WHATSAPP FAB
   ================================================================ */
.wa-fab {
  position: fixed; bottom: 28px; right: 28px; z-index: 900;
  display: flex; align-items: center; gap: 10px;
  background: #25D366; color: #fff;
  padding: 14px 20px; border-radius: var(--r-full);
  font-size: .85rem; font-weight: 700; box-shadow: 0 8px 32px rgba(37,211,102,.4);
  transition: transform .2s, box-shadow .2s, padding .3s ease, width .3s ease;
  overflow: hidden; white-space: nowrap;
}
.wa-fab span { max-width: 0; overflow: hidden; transition: max-width .3s ease; }
.wa-fab:hover { transform: translateY(-3px); box-shadow: 0 12px 40px rgba(37,211,102,.5); }
.wa-fab:hover span { max-width: 200px; }

/* ================================================================
   TOAST
   ================================================================ */
.toast {
  position: fixed; bottom: 32px; left: 50%;
  transform: translateX(-50%) translateY(16px);
  background: var(--navy); color: #fff;
  padding: 12px 24px; border-radius: var(--r-full);
  display: flex; align-items: center; gap: 10px;
  font-size: .88rem; font-weight: 500;
  z-index: 2000; opacity: 0; pointer-events: none;
  transition: opacity .3s, transform .3s;
  box-shadow: var(--shadow-xl); white-space: nowrap;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast-check {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--emerald);
  display: flex; align-items: center; justify-content: center;
  font-size: .75rem; flex-shrink: 0;
}

/* ================================================================
   SCROLL REVEAL
   ================================================================ */
.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity .65s ease, transform .65s ease;
  transition-delay: var(--rd, 0s);
}
.reveal.visible { opacity: 1; transform: none; }
.reveal-up {
  opacity: 0; transform: translateY(36px);
  animation: fadeUp .9s .1s ease both;
}

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 1100px) {
  .prod-grid { grid-template-columns: repeat(3, 1fr); }
  .hero-orb { width: 380px; height: 380px; }
}
@media (max-width: 900px) {
  .hero-grid, .about-grid, .services-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-right { order: -1; }
  .hero-orb { width: 320px; height: 320px; }
  .dept-grid { grid-template-columns: 1fr; }
  .prod-grid { grid-template-columns: repeat(2, 1fr); }
  .promo-cards { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 48px; }
  .footer-links-wrap { grid-template-columns: 1fr 1fr 1fr; }
  .about-stat-card { left: 12px; }
  .about-badge-card { right: 12px; }
}
@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .mobile-nav { display: flex; flex-direction: column; }
  .services { border-radius: 48px 48px 0 0; }
  .about-pillars { grid-template-columns: 1fr; }
  .footer-links-wrap { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .prod-grid { grid-template-columns: 1fr; }
  .filter-bar { gap: 6px; }
  .footer-links-wrap { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 6px; text-align: center; }
  h1 { font-size: 2.8rem; }
  .wa-fab span { display: none; }
  .wa-fab { padding: 16px; border-radius: 50%; }
}
