/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   NEWVANA SHOP — Complete Brand Stylesheet
   Warm · Human · Slightly Chaotic · ADHD-Friendly
   "Comfort for the easily distracted"
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

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

/* ─── CSS Variables ─────────────────────── */
:root {
  /* Brand palette */
  --lavender: #C3B1E1;
  --lavender-mid: #B09BD4;
  --lavender-dark: #9A81C2;
  --lavender-light: #DCCDF5;
  --lavender-ghost: #F0E8FC;
  --blue: #A8D8EA;
  --blue-mid: #7BB8D0;
  --blue-dark: #5A9BB5;
  --blue-light: #C5E8F5;
  --blue-ghost: #E8F5FA;
  --peach: #FFDAB9;
  --peach-mid: #F0C9A8;
  --peach-dark: #E0B090;
  --peach-light: #FFEAD4;
  --peach-ghost: #FFF5EB;
  --cream: #FFF8F0;
  --cream-dark: #F5EDE0;
  --charcoal: #2D2D2D;
  --charcoal-light: #404040;
  --warm-grey: #8B8B8B;
  --warm-grey-light: #B0B0B0;
  --white: #FFFFFF;

  /* Functional — Light mode */
  --bg: var(--cream);
  --bg-section: var(--white);
  --bg-card: var(--white);
  --text: var(--charcoal);
  --text-muted: var(--warm-grey);
  --text-soft: #5A5A5A;
  --accent: var(--lavender);
  --accent-hover: var(--lavender-mid);
  --accent-dark: var(--lavender-dark);
  --cta: var(--peach);
  --cta-hover: var(--peach-mid);
  --border: #E8E0D8;
  --border-light: #F0EBE3;
  --shadow: 0 2px 12px rgba(45, 45, 45, 0.05);
  --shadow-hover: 0 8px 28px rgba(45, 45, 45, 0.08);
  --shadow-float: 0 12px 40px rgba(45, 45, 45, 0.1);
  --hero-glow: rgba(195, 177, 225, 0.3);
  --header-bg: rgba(255, 255, 255, 0.85);
  --code-bg: #F4F0EB;

  /* Typography */
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', 'Fira Code', monospace;
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 2rem;
  --font-size-4xl: 2.75rem;
  --font-size-5xl: 3.5rem;
  --leading-tight: 1.15;
  --leading-normal: 1.6;
  --leading-relaxed: 1.75;

  /* Spacing */
  --space-2xs: 0.25rem;
  --space-xs: 0.5rem;
  --space-sm: 0.75rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;

  /* Layout */
  --max-width: 1200px;
  --max-width-narrow: 720px;
  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;
}

/* ─── Dark Mode ─────────────────────────── */
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1A1A1E;
    --bg-section: #222226;
    --bg-card: #2A2A2E;
    --text: #EDEDEF;
    --text-muted: #8B8B95;
    --text-soft: #B0B0BA;
    --border: #333338;
    --border-light: #2E2E32;
    --shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
    --shadow-hover: 0 8px 28px rgba(0, 0, 0, 0.3);
    --shadow-float: 0 12px 40px rgba(0, 0, 0, 0.4);
    --hero-glow: rgba(195, 177, 225, 0.12);
    --header-bg: rgba(26, 26, 30, 0.9);
    --code-bg: #2A2A30;
    --cream: #222226;
    --cream-dark: #2E2E32;
    --lavender-ghost: #2A2835;
    --blue-ghost: #283035;
    --peach-ghost: #352E28;
  }
}

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

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

body {
  font-family: var(--font);
  font-size: var(--font-size-base);
  line-height: var(--leading-normal);
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  transition: background 0.3s, color 0.3s;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color 0.2s; }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: var(--font); }
input, textarea, select { font-family: var(--font); }
::selection { background: var(--lavender); color: var(--white); }

/* ─── Container ─────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.container-narrow {
  max-width: var(--max-width-narrow);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

/* ─── Typography ────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: var(--leading-tight);
  letter-spacing: -0.02em;
}

h1 { font-size: var(--font-size-4xl); }
h2 { font-size: var(--font-size-3xl); }
h3 { font-size: var(--font-size-2xl); }
h4 { font-size: var(--font-size-xl); }

p { color: var(--text-soft); line-height: var(--leading-relaxed); }
p + p { margin-top: var(--space-md); }

/* ─── Header ────────────────────────────── */
.site-header {
  background: var(--header-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
  padding: var(--space-sm) 0;
  position: sticky;
  top: 0;
  z-index: 100;
  transition: background 0.3s;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
}

.logo-link {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  color: var(--text);
  flex-shrink: 0;
}

.logo-img {
  height: 36px;
  width: auto;
  border-radius: var(--radius-sm);
}

.logo-text {
  font-size: var(--font-size-xl);
  font-weight: 700;
  letter-spacing: -0.03em;
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-text span {
  font-size: var(--font-size-xs);
  font-weight: 400;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Navigation */
.nav {
  display: flex;
  align-items: center;
  gap: var(--space-2xs);
}

.nav a {
  color: var(--text-muted);
  font-size: var(--font-size-sm);
  font-weight: 500;
  padding: var(--space-xs) var(--space-md);
  border-radius: var(--radius-sm);
  transition: all 0.2s;
  position: relative;
}

.nav a:hover {
  color: var(--text);
  background: var(--border-light);
}

.nav a.active {
  color: var(--text);
  background: var(--lavender-ghost);
  font-weight: 600;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: var(--font-size-2xl);
  cursor: pointer;
  color: var(--text);
  padding: var(--space-xs);
  line-height: 1;
  border-radius: var(--radius-sm);
  transition: background 0.2s;
}

.nav-toggle:hover {
  background: var(--border-light);
}

/* ─── Hero Section ──────────────────────── */
.hero {
  position: relative;
  padding: var(--space-4xl) 0 var(--space-3xl);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 60vmin;
  height: 60vmin;
  background: radial-gradient(circle, var(--lavender-light) 0%, transparent 70%);
  opacity: 0.6;
  pointer-events: none;
  z-index: 0;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -10%;
  left: -5%;
  width: 40vmin;
  height: 40vmin;
  background: radial-gradient(circle, var(--peach-light) 0%, transparent 70%);
  opacity: 0.5;
  pointer-events: none;
  z-index: 0;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.hero-content {
  max-width: 540px;
}

.hero h1 {
  font-size: var(--font-size-5xl);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: var(--space-lg);
}

.hero h1 .highlight {
  background: linear-gradient(135deg, var(--lavender), var(--blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: var(--font-size-lg);
  color: var(--text-muted);
  max-width: 440px;
  margin-bottom: var(--space-xl);
  line-height: var(--leading-relaxed);
}

.hero-actions {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-visual-inner {
  position: relative;
  width: 100%;
  max-width: 420px;
  aspect-ratio: 1;
}

/* Floating abstract shapes for visual interest */
.hero-shape {
  position: absolute;
  border-radius: var(--radius-lg);
  animation: float 6s ease-in-out infinite;
}

.hero-shape:nth-child(1) {
  top: 0;
  left: 10%;
  width: 55%;
  height: 55%;
  background: linear-gradient(135deg, var(--lavender-light), var(--lavender));
  border-radius: 40% 60% 60% 40% / 50% 55% 45% 50%;
  animation-delay: 0s;
}

.hero-shape:nth-child(2) {
  bottom: 5%;
  right: 5%;
  width: 40%;
  height: 40%;
  background: linear-gradient(135deg, var(--peach-light), var(--peach));
  border-radius: 55% 45% 40% 60% / 45% 55% 45% 55%;
  animation-delay: -2s;
}

.hero-shape:nth-child(3) {
  top: 40%;
  right: 30%;
  width: 25%;
  height: 25%;
  background: linear-gradient(135deg, var(--blue-light), var(--blue));
  border-radius: 50% 50% 40% 60% / 60% 40% 60% 40%;
  animation-delay: -4s;
}

.hero-shape-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 35%;
  height: auto;
  z-index: 2;
  filter: drop-shadow(0 4px 20px rgba(195, 177, 225, 0.3));
  border-radius: var(--radius);
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-16px) rotate(3deg); }
}

/* ─── Buttons ───────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  padding: var(--space-sm) var(--space-xl);
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: var(--font-size-base);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s;
  font-family: var(--font);
  text-decoration: none;
  line-height: 1.3;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}

.btn-primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(195, 177, 225, 0.35);
}

.btn-cta {
  background: var(--cta);
  color: var(--charcoal);
  border-color: var(--cta);
}

.btn-cta:hover {
  background: var(--cta-hover);
  border-color: var(--cta-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(255, 218, 185, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--lavender-ghost);
}

.btn-sm {
  padding: var(--space-2xs) var(--space-md);
  font-size: var(--font-size-sm);
}

/* ─── Sections ──────────────────────────── */
.section {
  padding: var(--space-4xl) 0;
}

.section-sm {
  padding: var(--space-2xl) 0;
}

.section-title {
  font-size: var(--font-size-3xl);
  font-weight: 700;
  margin-bottom: var(--space-sm);
  letter-spacing: -0.02em;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: var(--font-size-lg);
  max-width: 500px;
  margin-bottom: var(--space-2xl);
  line-height: var(--leading-relaxed);
}

/* Asymmetric section layouts */
.section-split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.section-split.flipped {
  grid-template-columns: 1.1fr 0.9fr;
}

.section-split.flipped > :first-child {
  order: 2;
}

.section-split.flipped > :last-child {
  order: 1;
}

/* ─── Product Grid (asymmetric) ─────────── */
.product-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr 1fr;
  gap: var(--space-lg);
}

.product-grid > :nth-child(4n+1) {
  grid-column: span 2;
}

.product-grid > :nth-child(4n+4) {
  grid-column: span 2;
}

.product-grid.featured {
  grid-template-columns: 1.2fr 0.8fr;
}

.product-grid.featured > :first-child {
  grid-row: span 2;
}

/* Product Card */
.product-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: box-shadow 0.3s, transform 0.3s;
  border: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}

.product-card-image-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/5;
  background: var(--cream-dark);
}

.product-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.product-card:hover .product-card-image {
  transform: scale(1.05);
}

.product-card-badge {
  position: absolute;
  top: var(--space-sm);
  left: var(--space-sm);
  background: var(--peach);
  color: var(--charcoal);
  padding: var(--space-2xs) var(--space-sm);
  border-radius: var(--radius-full);
  font-size: var(--font-size-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.product-card-body {
  padding: var(--space-lg);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-card-category {
  font-size: var(--font-size-xs);
  color: var(--accent);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-2xs);
}

.product-card-title {
  font-size: var(--font-size-lg);
  font-weight: 600;
  margin-bottom: var(--space-xs);
  line-height: 1.3;
}

.product-card-price {
  font-size: var(--font-size-xl);
  font-weight: 700;
  margin-top: auto;
  padding-top: var(--space-md);
}

.product-card .btn {
  margin-top: var(--space-md);
  width: 100%;
  justify-content: center;
}

/* ─── Filters ───────────────────────────── */
.filters {
  display: flex;
  gap: var(--space-xs);
  margin-bottom: var(--space-2xl);
  flex-wrap: wrap;
}

.filter-btn {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: var(--space-xs) var(--space-lg);
  border-radius: var(--radius-full);
  font-size: var(--font-size-sm);
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  font-family: var(--font);
  color: var(--text-muted);
}

.filter-btn:hover {
  border-color: var(--accent);
  color: var(--text);
  background: var(--lavender-ghost);
}

.filter-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
}

/* ─── Links Grid ────────────────────────── */
.links-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
  max-width: 640px;
  margin: 0 auto;
}

.link-card {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  background: var(--bg-card);
  padding: var(--space-lg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: all 0.3s;
  border: 1px solid var(--border-light);
  text-decoration: none;
  color: var(--text);
}

.link-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px) scale(1.01);
  border-color: var(--accent);
  color: var(--text);
}

.link-card-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
  transition: transform 0.2s;
}

.link-card:hover .link-card-icon {
  transform: scale(1.1);
}

.link-card-content h3 {
  font-size: var(--font-size-lg);
  font-weight: 600;
  margin-bottom: var(--space-2xs);
}

.link-card-content p {
  font-size: var(--font-size-sm);
  color: var(--text-muted);
  margin: 0;
}

/* ─── Brand Story / Highlight Box ───────── */
.highlight-box {
  background: var(--lavender-ghost);
  padding: var(--space-2xl);
  border-radius: var(--radius-lg);
  position: relative;
  border: 1px solid var(--border-light);
}

.highlight-box::before {
  content: '"';
  position: absolute;
  top: -8px;
  left: var(--space-lg);
  font-size: 4rem;
  line-height: 1;
  color: var(--lavender);
  opacity: 0.3;
  font-weight: 800;
}

.highlight-box p {
  font-size: var(--font-size-lg);
  line-height: var(--leading-relaxed);
  color: var(--text);
  font-weight: 500;
}

.highlight-box p:last-child {
  margin-bottom: 0;
}

/* ─── Stats / Numbers Display ───────────── */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
  text-align: center;
}

.stat-value {
  font-size: var(--font-size-4xl);
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: var(--space-xs);
}

.stat-label {
  font-size: var(--font-size-sm);
  color: var(--text-muted);
}

/* ─── Page Header ───────────────────────── */
.page-header {
  padding: var(--space-3xl) 0 var(--space-2xl);
  position: relative;
  overflow: hidden;
}

.page-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--lavender-light), var(--blue-light), var(--peach-light), transparent);
}

.page-header h1 {
  font-size: var(--font-size-4xl);
  font-weight: 800;
  margin-bottom: var(--space-sm);
}

.page-header p {
  color: var(--text-muted);
  font-size: var(--font-size-lg);
  max-width: 480px;
}

/* ─── About Content ─────────────────────── */
.about-content {
  max-width: var(--max-width-narrow);
}

.about-content p {
  font-size: var(--font-size-lg);
  margin-bottom: var(--space-lg);
  line-height: var(--leading-relaxed);
}

.about-content a {
  color: var(--accent);
  border-bottom: 1px solid transparent;
  font-weight: 500;
}

.about-content a:hover {
  border-bottom-color: var(--accent);
}

/* ─── Footer ────────────────────────────── */
.site-footer {
  background: var(--charcoal);
  color: var(--cream);
  padding: var(--space-3xl) 0;
  margin-top: var(--space-4xl);
}

.site-footer a {
  color: var(--blue-light);
  transition: color 0.2s;
}

.site-footer a:hover {
  color: var(--white);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-2xl);
  margin-bottom: var(--space-2xl);
}

.footer-brand p {
  color: var(--warm-grey-light);
  font-size: var(--font-size-sm);
  margin-top: var(--space-md);
  max-width: 300px;
}

.footer-col h4 {
  font-size: var(--font-size-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-lg);
  color: var(--cream);
}

.footer-col a {
  display: block;
  font-size: var(--font-size-sm);
  padding: var(--space-2xs) 0;
  color: var(--warm-grey-light);
}

.footer-col a:hover {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 240, 0.1);
  padding-top: var(--space-lg);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.footer-copyright {
  font-size: var(--font-size-sm);
  color: var(--warm-grey);
  margin: 0;
}

.footer-social {
  display: flex;
  gap: var(--space-md);
}

.footer-social a {
  font-size: 1.25rem;
  color: var(--warm-grey);
  transition: color 0.2s, transform 0.2s;
}

.footer-social a:hover {
  color: var(--blue-light);
  transform: translateY(-2px);
}

/* ─── Blog ──────────────────────────────── */

/* Blog archive list */
.blog-list {
  max-width: var(--max-width-narrow);
  margin: 0 auto;
}

.blog-post-card {
  display: grid;
  grid-template-columns: 1fr 2.5fr;
  gap: var(--space-xl);
  padding: var(--space-xl) 0;
  border-bottom: 1px solid var(--border-light);
  transition: all 0.2s;
  text-decoration: none;
  color: var(--text);
}

.blog-post-card:first-of-type {
  padding-top: 0;
}

.blog-post-card:last-of-type {
  border-bottom: none;
}

.blog-post-card:hover {
  opacity: 0.85;
}

.blog-post-date-box {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.blog-post-date {
  font-size: var(--font-size-sm);
  color: var(--text-muted);
  font-weight: 500;
}

.blog-post-category {
  font-size: var(--font-size-xs);
  color: var(--accent);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: var(--space-2xs);
}

.blog-post-card h2 {
  font-size: var(--font-size-2xl);
  font-weight: 700;
  margin-bottom: var(--space-xs);
  letter-spacing: -0.02em;
}

.blog-post-card .blog-post-excerpt {
  font-size: var(--font-size-base);
  color: var(--text-muted);
  line-height: var(--leading-relaxed);
  margin: 0;
}

.blog-post-card .blog-post-meta {
  display: flex;
  gap: var(--space-md);
  margin-top: var(--space-sm);
  font-size: var(--font-size-sm);
  color: var(--text-muted);
}

/* Individual blog post page */
.blog-post {
  max-width: var(--max-width-narrow);
  margin: 0 auto;
}

.blog-post-header {
  margin-bottom: var(--space-2xl);
}

.blog-post-header h1 {
  font-size: var(--font-size-4xl);
  font-weight: 800;
  margin-bottom: var(--space-md);
  letter-spacing: -0.02em;
}

.blog-post-meta-top {
  display: flex;
  gap: var(--space-lg);
  color: var(--text-muted);
  font-size: var(--font-size-sm);
  flex-wrap: wrap;
}

.blog-post-content {
  font-size: var(--font-size-lg);
  line-height: var(--leading-relaxed);
  color: var(--text-soft);
}

.blog-post-content h2 {
  font-size: var(--font-size-2xl);
  margin: var(--space-2xl) 0 var(--space-md);
  font-weight: 700;
}

.blog-post-content h3 {
  font-size: var(--font-size-xl);
  margin: var(--space-xl) 0 var(--space-md);
  font-weight: 600;
}

.blog-post-content p {
  margin-bottom: var(--space-lg);
  font-size: var(--font-size-lg);
}

.blog-post-content a {
  color: var(--accent);
  border-bottom: 1px solid transparent;
  font-weight: 500;
}

.blog-post-content a:hover {
  border-bottom-color: var(--accent);
}

.blog-post-content ul,
.blog-post-content ol {
  margin-bottom: var(--space-lg);
  padding-left: var(--space-xl);
}

.blog-post-content li {
  margin-bottom: var(--space-xs);
  line-height: var(--leading-relaxed);
}

.blog-post-content ul li {
  list-style-type: disc;
}

.blog-post-content ol li {
  list-style-type: decimal;
}

.blog-post-content blockquote {
  border-left: 3px solid var(--lavender);
  padding: var(--space-md) var(--space-lg);
  margin: var(--space-lg) 0;
  background: var(--lavender-ghost);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-style: italic;
}

.blog-post-content blockquote p {
  margin-bottom: 0;
}

.blog-post-content code {
  font-family: var(--font-mono);
  background: var(--code-bg);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.9em;
}

.blog-post-content pre {
  background: var(--code-bg);
  padding: var(--space-lg);
  border-radius: var(--radius);
  overflow-x: auto;
  margin-bottom: var(--space-lg);
  border: 1px solid var(--border-light);
}

.blog-post-content pre code {
  background: none;
  padding: 0;
  font-size: var(--font-size-sm);
}

.blog-post-content hr {
  border: none;
  height: 1px;
  background: var(--border);
  margin: var(--space-2xl) 0;
}

.blog-post-content img {
  border-radius: var(--radius);
  margin: var(--space-xl) 0;
  width: 100%;
}

.blog-post-content strong {
  color: var(--text);
  font-weight: 700;
}

/* Blog loading / empty states */
.blog-loading {
  text-align: center;
  padding: var(--space-3xl) 0;
  color: var(--text-muted);
}

.blog-empty {
  text-align: center;
  padding: var(--space-3xl) 0;
  color: var(--text-muted);
}

.blog-error {
  text-align: center;
  padding: var(--space-2xl);
  background: var(--peach-ghost);
  border-radius: var(--radius);
  color: var(--charcoal);
}

/* Blog tags */
.blog-tag {
  display: inline-block;
  padding: 2px 10px;
  background: var(--lavender-ghost);
  color: var(--accent);
  border-radius: var(--radius-full);
  font-size: var(--font-size-xs);
  font-weight: 500;
}

/* ─── Utility ───────────────────────────── */
.text-center { text-align: center; }
.text-left { text-align: left; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }
.mt-2xl { margin-top: var(--space-2xl); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }
.mb-2xl { margin-bottom: var(--space-2xl); }
.gap-md { gap: var(--space-md); }
.gap-lg { gap: var(--space-lg); }
.flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }

/* ─── Mobile ────────────────────────────── */
@media (max-width: 768px) {
  h1 { font-size: var(--font-size-3xl); }
  h2 { font-size: var(--font-size-2xl); }

  .hero {
    padding: var(--space-2xl) 0;
  }

  .hero h1 {
    font-size: var(--font-size-3xl);
  }

  .hero p {
    font-size: var(--font-size-base);
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .hero-content {
    max-width: 100%;
    text-align: center;
  }

  .hero p {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-visual-inner {
    max-width: 280px;
  }

  .nav {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--header-bg);
    backdrop-filter: blur(16px);
    padding: var(--space-md);
    border-bottom: 1px solid var(--border);
    gap: var(--space-2xs);
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    padding: var(--space-sm) var(--space-md);
    width: 100%;
  }

  .nav-toggle {
    display: block;
  }

  .header-inner {
    position: relative;
  }

  /* Product grid mobile */
  .product-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
  }

  .product-grid > :nth-child(4n+1) {
    grid-column: auto;
  }

  .product-grid > :nth-child(4n+4) {
    grid-column: auto;
  }

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

  .product-grid.featured > :first-child {
    grid-row: auto;
  }

  .product-card-image-wrap {
    aspect-ratio: 4/5;
  }

  .product-card-body {
    padding: var(--space-md);
  }

  .product-card-title {
    font-size: var(--font-size-base);
  }

  .product-card-price {
    font-size: var(--font-size-lg);
  }

  /* Sections mobile */
  .section {
    padding: var(--space-2xl) 0;
  }

  .section-title {
    font-size: var(--font-size-2xl);
  }

  .section-split {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .section-split.flipped {
    grid-template-columns: 1fr;
  }

  .section-split.flipped > :first-child {
    order: 0;
  }

  .section-split.flipped > :last-child {
    order: 0;
  }

  /* Filter buttons on mobile */
  .filters {
    gap: var(--space-2xs);
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: var(--space-xs);
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .filters::-webkit-scrollbar {
    display: none;
  }

  .filter-btn {
    flex-shrink: 0;
    font-size: var(--font-size-xs);
    padding: var(--space-xs) var(--space-md);
  }

  /* Links grid mobile */
  .links-grid {
    grid-template-columns: 1fr;
    max-width: 100%;
  }

  /* Stats mobile */
  .stats-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  /* Footer mobile */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  /* Blog mobile */
  .blog-post-card {
    grid-template-columns: 1fr;
    gap: var(--space-sm);
  }

  .blog-post-date-box {
    flex-direction: row;
    gap: var(--space-md);
    align-items: center;
  }

  .blog-post-card h2 {
    font-size: var(--font-size-xl);
  }

  .blog-post-header h1 {
    font-size: var(--font-size-2xl);
  }

  .blog-post-content {
    font-size: var(--font-size-base);
  }

  .blog-post-content p {
    font-size: var(--font-size-base);
  }

  /* Page header mobile */
  .page-header {
    padding: var(--space-xl) 0;
  }

  .page-header h1 {
    font-size: var(--font-size-2xl);
  }

  .page-header p {
    font-size: var(--font-size-base);
  }

  .highlight-box {
    padding: var(--space-lg);
  }
}

/* ─── Small phones ──────────────────────── */
@media (max-width: 480px) {
  .product-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    justify-content: center;
  }

  .container {
    padding: 0 var(--space-md);
  }
}

/* ─── Reduced Motion ────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }
}

/* ─── Focus Styles ──────────────────────── */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}