/* HeyShop — Global styles (Ocean & Teal) */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  /* Ocean & Teal palette */
  --ocean:        #0A3A52;
  --ocean-dark:   #062A3D;
  --ocean-light:  #1B5A7A;
  --white:        #FFFFFF;
  --off-white:    #F8FAFB;
  --teal:         #2A9D8F;
  --teal-dark:    #1F7A6E;
  --teal-light:   #E8F5F3;
  --teal-bright:  #3FC6AF;

  /* Semantic tokens */
  --ink:          #1A2E38;
  --muted:        #5A7280;
  --border:       #D8E4EA;
  --sand:         #EDF3F6;
  --accent:       var(--teal);
  --accent-light: var(--teal-light);

  /* Typography */
  --font-headline: 'Libre Baskerville', Georgia, serif;
  --font-body:     'Rubik', sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--off-white);
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-headline);
  font-weight: 700;
}

/* ── Site navigation ── */
.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2.5rem;
  height: 64px;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: var(--white);
  z-index: 50;
}

.logo {
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: 1.45rem;
  letter-spacing: -0.02em;
  display: flex;
  align-items: flex-start;
  line-height: 1;
  color: var(--ocean);
}

.logo-dot {
  width: 8px;
  height: 8px;
  background: var(--teal);
  border-radius: 50%;
  margin-top: 4px;
  margin-left: 2px;
  flex-shrink: 0;
}

.nav-tag {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.nav-links a {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--ocean);
}

.nav-back {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.2s;
}

.nav-back:hover {
  color: var(--ocean);
}

.nav-cta {
  background: var(--teal);
  color: var(--white);
  padding: 0.55rem 1.25rem;
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 600;
  transition: background 0.2s;
}

.nav-cta:hover {
  background: var(--teal-dark);
}

/* Promo / offer top bar (product pages) */
.site-topbar {
  background: var(--ocean);
  color: var(--white);
  text-align: center;
  padding: 0.55rem 1rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.site-topbar--offer {
  background: var(--ocean-dark);
  padding: 0.75rem 1rem;
}

/* ── Site footer ── */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 2rem 2.5rem;
  text-align: center;
  background: var(--white);
  margin-top: auto;
}

.footer-note {
  font-size: 0.74rem;
  color: var(--muted);
  max-width: 640px;
  margin: 0 auto 1rem;
  line-height: 1.6;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  list-style: none;
  font-size: 0.76rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--muted);
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--ocean);
}

.footer-simple {
  font-size: 0.75rem;
  color: var(--muted);
}

.footer-simple a {
  color: var(--muted);
  margin: 0 0.75rem;
  transition: color 0.2s;
}

.footer-simple a:hover {
  color: var(--ocean);
}

/* Countdown timer (Joint Genesis offer bar) */
.countdown-wrap {
  text-align: center;
  padding: 0.5rem 0;
}

.countdown-timer {
  display: flex;
  justify-content: center;
  gap: 12px;
  align-items: center;
}

.countdown-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.countdown-value {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--teal-bright);
}

.countdown-label {
  font-size: 10px;
  color: var(--muted);
  text-transform: uppercase;
}

.countdown-sep {
  font-size: 1.4rem;
  color: #aaa;
  padding-bottom: 22px;
}

@media (max-width: 640px) {
  .site-nav {
    padding: 0 1.25rem;
  }

  .site-footer {
    padding: 1.5rem 1.25rem;
  }
}
