/* HALOGROW V2 — CLINICAL DERM LAB THEME (BEM CSS Footprint) */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --hg-teal: #00a884;
  --hg-teal-dark: #008769;
  --hg-teal-light: #e6f7f3;
  --hg-slate: #0f172a;
  --hg-muted: #64748b;
  --hg-border: #e2e8f0;
  --hg-bg: #f8fafc;
  --hg-white: #ffffff;
  --hg-red: #e11d48;
}

body {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  color: var(--hg-slate);
  background: var(--hg-white);
  line-height: 1.6;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
button { cursor: pointer; font-family: inherit; }

.hg-topbar { background: var(--hg-slate); color: #fff; text-align: center; padding: 8px 16px; font-size: 13px; font-weight: 500; }
.hg-topbar strong { color: #5eead4; }

.hg-header { background: #fff; border-bottom: 1px solid var(--hg-border); padding: 16px 28px; position: sticky; top: 0; z-index: 200; display: flex; align-items: center; justify-content: space-between; }
.hg-header__logo { font-family: 'Outfit', sans-serif; font-size: 22px; font-weight: 800; color: var(--hg-slate); }
.hg-header__logo span { color: var(--hg-teal); }
.hg-nav { display: flex; gap: 24px; align-items: center; }
.hg-nav__link { font-size: 14px; font-weight: 600; color: var(--hg-slate); transition: color .2s; }
.hg-nav__link:hover { color: var(--hg-teal); }

.hg-btn { display: inline-block; font-size: 15px; font-weight: 700; padding: 12px 26px; border-radius: 8px; border: none; transition: all .2s; text-align: center; }
.hg-btn--primary { background: var(--hg-teal); color: #fff; }
.hg-btn--primary:hover { background: var(--hg-teal-dark); }
.hg-btn--outline { background: transparent; color: var(--hg-teal); border: 2px solid var(--hg-teal); }
.hg-btn--outline:hover { background: var(--hg-teal-light); }
.hg-btn--full { width: 100%; display: block; }

.hg-hero { background: var(--hg-bg); padding: 64px 24px; border-bottom: 1px solid var(--hg-border); }
.hg-hero__inner { max-width: 1120px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
@media(max-width: 768px){ .hg-hero__inner { grid-template-columns: 1fr; } .hg-nav__link { display: none; } }
.hg-hero__title { font-family: 'Outfit', sans-serif; font-size: 42px; font-weight: 800; line-height: 1.2; color: var(--hg-slate); margin-bottom: 16px; }
.hg-hero__desc { font-size: 16px; color: var(--hg-muted); margin-bottom: 24px; }
.hg-hero__badge { display: inline-block; background: var(--hg-teal-light); color: var(--hg-teal); font-weight: 700; font-size: 12px; padding: 4px 12px; border-radius: 20px; margin-bottom: 12px; text-transform: uppercase; }

.hg-features { padding: 48px 24px; background: #fff; }
.hg-features__grid { max-width: 1120px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
@media(max-width: 768px){ .hg-features__grid { grid-template-columns: repeat(2, 1fr); } }
.hg-feature-card { padding: 24px; border: 1px solid var(--hg-border); border-radius: 12px; background: var(--hg-bg); }
.hg-feature-card__icon { font-size: 32px; margin-bottom: 12px; }
.hg-feature-card__title { font-weight: 700; font-size: 16px; margin-bottom: 6px; }
.hg-feature-card__text { font-size: 13px; color: var(--hg-muted); }

.hg-section { padding: 64px 24px; }
.hg-section--bg { background: var(--hg-bg); }
.hg-section__title { font-family: 'Outfit', sans-serif; font-size: 32px; font-weight: 800; text-align: center; margin-bottom: 12px; }
.hg-section__subtitle { text-align: center; color: var(--hg-muted); max-width: 600px; margin: 0 auto 40px; }

.hg-products__grid { max-width: 1120px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media(max-width: 768px){ .hg-products__grid { grid-template-columns: 1fr; } }
.hg-product-card { border: 1px solid var(--hg-border); border-radius: 16px; overflow: hidden; background: #fff; display: flex; flex-direction: column; }
.hg-product-card__img { background: var(--hg-slate); padding: 20px; text-align: center; }
.hg-product-card__img img { max-height: 220px; object-fit: contain; margin: 0 auto; }
.hg-product-card__body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.hg-product-card__title { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.hg-product-card__desc { font-size: 14px; color: var(--hg-muted); margin-bottom: 20px; flex: 1; }

.hg-footer { background: var(--hg-slate); color: #fff; padding: 48px 24px 24px; font-size: 13px; }
.hg-footer__inner { max-width: 1120px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 32px; }
@media(max-width: 768px){ .hg-footer__inner { grid-template-columns: 1fr 1fr; } }
.hg-footer__col h4 { font-size: 14px; font-weight: 700; color: #fff; margin-bottom: 12px; }
.hg-footer__col a { display: block; color: #94a3b8; margin-bottom: 8px; }
.hg-footer__col a:hover { color: #fff; }
.hg-footer__disclaimer { border-top: 1px solid #334155; padding-top: 24px; max-width: 1120px; margin: 0 auto; color: #94a3b8; font-size: 11px; line-height: 1.7; }

/* Drawer Cart */
.hg-drawer { position: fixed; inset: 0; background: rgba(0,0,0,0.5); opacity: 0; visibility: hidden; transition: .25s; z-index: 999; }
.hg-drawer.active { opacity: 1; visibility: visible; }
.hg-drawer__content { position: fixed; top: 0; right: 0; bottom: 0; width: 380px; max-width: 90vw; background: #fff; z-index: 1000; transform: translateX(100%); transition: transform .25s ease; padding: 24px; display: flex; flex-direction: column; }
.hg-drawer.active .hg-drawer__content { transform: translateX(0); }
.hg-drawer__header { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--hg-border); padding-bottom: 16px; margin-bottom: 16px; font-weight: 700; font-size: 18px; }
.hg-drawer__close { background: none; border: none; font-size: 24px; }
.hg-drawer__body { flex: 1; overflow-y: auto; }
.hg-drawer__footer { border-top: 1px solid var(--hg-border); padding-top: 16px; }

/* Legal Body */
.hg-legal { max-width: 800px; margin: 40px auto; padding: 0 24px; }
.hg-legal h1 { font-family: 'Outfit', sans-serif; font-size: 32px; font-weight: 800; margin-bottom: 16px; }
.hg-legal h2 { font-size: 20px; font-weight: 700; margin: 24px 0 12px; }
.hg-legal p { color: var(--hg-muted); margin-bottom: 14px; font-size: 15px; }
.hg-legal ul { margin: 12px 0 16px 20px; color: var(--hg-muted); }
.hg-legal li { margin-bottom: 6px; font-size: 15px; }

/* ── COOKIE CONSENT BANNER ── */
.ck-bar{position:fixed;bottom:0;left:0;right:0;background:#fff;border-top:1px solid #e2e8f0;padding:16px 24px;z-index:9999;display:flex;align-items:center;gap:16px;flex-wrap:wrap;box-shadow:0 -4px 20px rgba(0,0,0,.08);font-size:13px;color:#475569}
.ck-bar p{flex:1;min-width:200px;margin:0;line-height:1.6}
.ck-bar a{color:#0ea5e9;text-decoration:underline}
.ck-bar__btns{display:flex;gap:10px;flex-shrink:0;flex-wrap:wrap}
.ck-btn-acc{background:#0f172a;color:#fff;border:none;padding:10px 22px;border-radius:6px;font-weight:700;font-size:13px;cursor:pointer}
.ck-btn-rej{background:transparent;color:#64748b;border:1px solid #cbd5e1;padding:10px 22px;border-radius:6px;font-weight:600;font-size:13px;cursor:pointer}
.ck-bar.hidden{display:none}
