/* ═══════════════════════════════════════════════════════
   MERIDIAN WELLNESS — GLOBAL STYLESHEET
   "For the Working Professional"
═══════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&display=swap');

/* ─── TOKENS ─── */
:root {
  --warm-white: #F7F3EF;
  --cream:      #EDE5DC;
  --nude:       #D9C9BA;
  --blush:      #CEBDB4;
  --taupe:      #B8A898;
  --deep-nude:  #8C7B6B;
  --charcoal:   #2A2A2A;
  --off-black:  #1A1A1A;
  /* Product colours: Rise=light, Steady=medium, Rest=dark */
  --col-rise:   var(--cream);
  --col-steady: var(--blush);
  --col-rest:   var(--off-black);
  --font:       'Inter', sans-serif;
  --nav-h:      68px;
  --transition: 0.22s ease;
}

/* ─── RESET ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font);
  background: var(--warm-white);
  color: var(--off-black);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
ul { list-style: none; }
button { font-family: var(--font); cursor: pointer; border: none; background: none; }

/* ─── NAVIGATION ─── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  background: rgba(247,243,239,0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--cream);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 60px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 14px;
}
.mw-mark {
  width: 36px; height: 36px;
  border: 1.5px solid var(--off-black);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  flex-shrink: 0;
  transition: opacity var(--transition);
}
.mw-mark::before {
  content: '';
  position: absolute;
  top: 3px; left: 3px; right: 3px; bottom: 3px;
  border: 0.5px solid var(--off-black);
  opacity: 0.3;
}
.mw-mark span { font-size: 13px; font-weight: 700; color: var(--off-black); }
.nav-wordmark { display: flex; flex-direction: column; }
.nav-wordmark .brand { font-size: 13px; font-weight: 600; letter-spacing: 4px; text-transform: uppercase; color: var(--off-black); }
.nav-wordmark .sub   { font-size: 8px; font-weight: 300; letter-spacing: 3px; text-transform: uppercase; color: var(--deep-nude); margin-top: 1px; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-links a {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--charcoal);
  transition: color var(--transition);
}
.nav-links a:hover, .nav-links a.active { color: var(--off-black); }
.nav-right {
  display: flex;
  align-items: center;
  gap: 20px;
}
.nav-cart-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--charcoal);
  transition: color var(--transition);
  position: relative;
}
.nav-cart-btn:hover { color: var(--off-black); }
.cart-count {
  background: var(--off-black);
  color: var(--warm-white);
  font-size: 9px;
  font-weight: 700;
  width: 18px; height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  display: none;
}
.cart-count.visible { display: flex; }
.nav-shop-btn {
  background: var(--off-black);
  color: var(--warm-white);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  padding: 10px 24px;
  transition: background var(--transition);
}
.nav-shop-btn:hover { background: var(--charcoal); }

/* ─── PAGE OFFSET ─── */
.page-body { padding-top: var(--nav-h); }

/* ─── MARQUEE ─── */
.marquee-strip {
  background: var(--nude);
  padding: 14px 0;
  overflow: hidden;
  white-space: nowrap;
}
.marquee-inner {
  display: inline-flex;
  animation: marquee 28s linear infinite;
}
.marquee-inner span {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--off-black);
  padding: 0 28px;
}
.marquee-inner .diamond::before { content: '◆ '; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ─── SECTION UTILITIES ─── */
.section { padding: 120px 60px; }
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 56px;
}
.section-label-text {
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--deep-nude);
}
.section-label-line { width: 48px; height: 1px; background: var(--nude); }
.section-h2 {
  font-size: clamp(30px, 4vw, 52px);
  font-weight: 200;
  letter-spacing: -0.5px;
  line-height: 1.1;
  color: var(--off-black);
  margin-bottom: 20px;
}
.section-h2 strong { font-weight: 600; }
.section-sub {
  font-size: 15px;
  font-weight: 300;
  color: var(--deep-nude);
  line-height: 1.8;
  max-width: 520px;
}

/* ─── BUTTONS ─── */
.btn-primary {
  display: inline-block;
  background: var(--off-black);
  color: var(--warm-white);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  padding: 16px 40px;
  transition: background var(--transition);
  border: none;
  cursor: pointer;
}
.btn-primary:hover { background: var(--charcoal); color: var(--warm-white); }
.btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--off-black);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  padding: 15px 38px;
  border: 1.5px solid var(--off-black);
  transition: all var(--transition);
  cursor: pointer;
}
.btn-outline:hover { background: var(--off-black); color: var(--warm-white); }
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--deep-nude);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  transition: color var(--transition), gap var(--transition);
}
.btn-ghost::after { content: '→'; font-size: 14px; }
.btn-ghost:hover { color: var(--off-black); gap: 14px; }
.btn-primary-light {
  display: inline-block;
  background: var(--warm-white);
  color: var(--off-black);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  padding: 16px 40px;
  transition: background var(--transition);
  border: none;
  cursor: pointer;
}
.btn-primary-light:hover { background: var(--cream); }

/* ─── ABLOH PILL ─── */
.abloh-pill {
  display: inline-block;
  border: 1px solid var(--nude);
  padding: 5px 14px;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--deep-nude);
}
.abloh-pill-dark {
  border-color: rgba(247,243,239,0.2);
  color: rgba(247,243,239,0.4);
}

/* ─── ABLOH DIVIDER ─── */
.abloh-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px 60px;
}
.abloh-divider-line { flex: 1; height: 1px; background: var(--nude); opacity: 0.3; }
.abloh-divider-text { font-size: 7px; font-weight: 700; letter-spacing: 5px; text-transform: uppercase; color: var(--taupe); }
.abloh-divider-diamond { color: var(--nude); font-size: 8px; opacity: 0.5; }

/* ─── MW MARK SIZES ─── */
.mw-lg { width: 80px; height: 80px; }
.mw-lg span { font-size: 26px; font-weight: 700; }
.mw-sm { width: 28px; height: 28px; }
.mw-sm span { font-size: 10px; font-weight: 700; }
.mw-dark { border-color: rgba(247,243,239,0.3); }
.mw-dark::before { border-color: rgba(247,243,239,0.15) !important; }
.mw-dark span { color: rgba(247,243,239,0.6); }

/* ─── PRODUCT COLOURS ─── */
.bg-rise   { background: var(--cream); }
.bg-steady { background: var(--off-black); }
.bg-rest   { background: var(--blush); }

/* ─── B-BBEE STRIP ─── */
.bbbee-strip {
  background: var(--cream);
  border-top: 1px solid var(--nude);
  border-bottom: 1px solid var(--nude);
  padding: 18px 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.bbbee-strip-left {
  display: flex;
  align-items: center;
  gap: 18px;
}
.bbbee-copy-title {
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--off-black);
  margin-bottom: 3px;
}
.bbbee-copy-sub {
  font-size: 11px;
  font-weight: 300;
  color: var(--deep-nude);
  line-height: 1.5;
}

/* ─── FOOTER ─── */
.footer {
  background: var(--off-black);
  border-top: 1px solid rgba(247,243,239,0.08);
  padding: 80px 60px 40px;
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(247,243,239,0.08);
  margin-bottom: 36px;
}
.footer-brand-desc {
  font-size: 13px;
  font-weight: 300;
  color: rgba(247,243,239,0.4);
  line-height: 1.8;
  margin-top: 18px;
  max-width: 280px;
}
.footer-col-title {
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--taupe);
  margin-bottom: 24px;
}
.footer-links li { margin-bottom: 12px; }
.footer-links a {
  font-size: 13px;
  font-weight: 300;
  color: rgba(247,243,239,0.45);
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--warm-white); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-copyright {
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(247,243,239,0.2);
}
.footer-legal { display: flex; gap: 24px; }
.footer-legal a {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(247,243,239,0.2);
  transition: color var(--transition);
}
.footer-legal a:hover { color: rgba(247,243,239,0.5); }

/* ─── TOAST NOTIFICATION ─── */
.toast {
  position: fixed;
  bottom: 32px;
  right: 32px;
  background: var(--off-black);
  color: var(--warm-white);
  padding: 16px 28px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  z-index: 9999;
  transform: translateY(80px);
  opacity: 0;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 12px;
}
.toast.show { transform: translateY(0); opacity: 1; }
.toast-dot { width: 6px; height: 6px; background: var(--nude); border-radius: 50%; flex-shrink: 0; }

/* ─── PAGE HERO (inner pages) ─── */
.page-hero {
  background: var(--off-black);
  padding: 100px 60px 80px;
  position: relative;
  overflow: hidden;
}
.page-hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(247,243,239,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(247,243,239,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}
.page-hero-label {
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--taupe);
  margin-bottom: 24px;
  display: block;
}
.page-hero-h1 {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 200;
  color: var(--warm-white);
  line-height: 1.1;
  letter-spacing: -1px;
  margin-bottom: 16px;
  position: relative;
}
.page-hero-h1 strong { font-weight: 600; color: var(--nude); }
.page-hero-sub {
  font-size: 15px;
  font-weight: 300;
  color: rgba(247,243,239,0.5);
  line-height: 1.8;
  max-width: 500px;
  position: relative;
}
.page-hero-corner {
  position: absolute;
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(247,243,239,0.15);
}
.page-hero-corner.tl { top: 24px; left: 60px; }
.page-hero-corner.br { bottom: 24px; right: 60px; }

/* ─── FORM ELEMENTS ─── */
.form-group { margin-bottom: 24px; }
.form-label {
  display: block;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--deep-nude);
  margin-bottom: 10px;
}
.form-input {
  width: 100%;
  background: var(--warm-white);
  border: 1px solid var(--nude);
  padding: 14px 18px;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 300;
  color: var(--off-black);
  outline: none;
  transition: border-color var(--transition);
  -webkit-appearance: none;
}
.form-input:focus { border-color: var(--off-black); }
.form-input::placeholder { color: var(--taupe); }
textarea.form-input { resize: vertical; min-height: 140px; }
select.form-input { cursor: pointer; }

/* ─── QUANTITY CONTROL ─── */
.qty-control {
  display: flex;
  align-items: center;
  border: 1px solid var(--nude);
}
.qty-btn {
  width: 40px; height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 300;
  color: var(--charcoal);
  cursor: pointer;
  background: none;
  border: none;
  font-family: var(--font);
  transition: background var(--transition);
  user-select: none;
}
.qty-btn:hover { background: var(--cream); }
.qty-value {
  width: 48px;
  text-align: center;
  font-size: 14px;
  font-weight: 400;
  color: var(--off-black);
  border-left: 1px solid var(--nude);
  border-right: 1px solid var(--nude);
  height: 40px;
  line-height: 40px;
  user-select: none;
}

/* ─── UTILITY ─── */
.text-center { text-align: center; }
.mt-4 { margin-top: 16px; }
.mt-8 { margin-top: 32px; }
.mt-12 { margin-top: 48px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 3px; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
