/*
Theme Name:        Qobey
Theme URI:         https://qobey.com
Author:            Qobey Editorial Team
Author URI:        https://qobey.co.uk
Description:       Qobey — Your K-Beauty Glass Skin Authority. A standalone, crash-resistant theme built for performance, affiliate compliance, and brand integrity. No dependencies.
Version:           1.0.0
Requires at least: 6.0
Tested up to:      6.5
Requires PHP:      8.0
License:           Private — All Rights Reserved
License URI:       https://qobey.com
Text Domain:       qobey
Tags:              beauty, k-beauty, affiliate, minimal, custom-logo, custom-menu, featured-images, threaded-comments, full-width-template
*/

/* ============================================================
   QOBEY DESIGN TOKENS — Brand System v1.0
   ============================================================ */
:root {
  /* Primary Palette */
  --qobey-rose:          #D4A0A7;
  --qobey-rose-light:    #F2DCE0;
  --qobey-rose-dark:     #B07880;
  --qobey-pearl:         #FAF7F5;
  --qobey-porcelain:     #F5F0ED;
  --qobey-charcoal:      #2C2C2C;
  --qobey-slate:         #6B6B6B;
  --qobey-ivory:         #FFFDF9;
  --qobey-white:         #FFFFFF;

  /* Accent / Status */
  --qobey-gold:          #C9A96E;
  --qobey-sage:          #A8B5A2;
  --qobey-blush:         #F9EEF0;
  --qobey-mist:          #EEF0F5;
  --qobey-success:       #6DAA7F;
  --qobey-warning:       #E8B86D;

  /* Typography Scale */
  --font-primary:        'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-secondary:      'Jost', 'Inter', system-ui, sans-serif;
  --font-mono:           'Courier New', Courier, monospace;

  --text-xs:   0.75rem;   /* 12px */
  --text-sm:   0.875rem;  /* 14px */
  --text-base: 1rem;      /* 16px */
  --text-md:   1.125rem;  /* 18px */
  --text-lg:   1.25rem;   /* 20px */
  --text-xl:   1.5rem;    /* 24px */
  --text-2xl:  1.875rem;  /* 30px */
  --text-3xl:  2.25rem;   /* 36px */
  --text-4xl:  3rem;      /* 48px */
  --text-5xl:  3.75rem;   /* 60px */

  /* Spacing */
  --space-1:   0.25rem;
  --space-2:   0.5rem;
  --space-3:   0.75rem;
  --space-4:   1rem;
  --space-5:   1.25rem;
  --space-6:   1.5rem;
  --space-8:   2rem;
  --space-10:  2.5rem;
  --space-12:  3rem;
  --space-16:  4rem;
  --space-20:  5rem;
  --space-24:  6rem;
  --space-32:  8rem;

  /* Layout */
  --container-sm:  640px;
  --container-md:  768px;
  --container-lg:  1024px;
  --container-xl:  1280px;
  --container-2xl: 1440px;

  /* Border Radius */
  --radius-sm:   4px;
  --radius-md:   8px;
  --radius-lg:   16px;
  --radius-xl:   24px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm:  0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md:  0 4px 16px rgba(0,0,0,0.07), 0 2px 6px rgba(0,0,0,0.04);
  --shadow-lg:  0 10px 40px rgba(0,0,0,0.09), 0 4px 12px rgba(0,0,0,0.05);
  --shadow-rose: 0 4px 20px rgba(212,160,167,0.25);

  /* Transitions */
  --transition-fast:   150ms ease;
  --transition-base:   250ms ease;
  --transition-slow:   400ms ease;
  --transition-spring: 350ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ============================================================
   CSS RESET & BASE
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-secondary);
  font-size: var(--text-base);
  line-height: 1.7;
  color: var(--qobey-charcoal);
  background-color: var(--qobey-pearl);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-primary);
  font-weight: 600;
  line-height: 1.25;
  color: var(--qobey-charcoal);
  letter-spacing: -0.01em;
}

h1 { font-size: var(--text-4xl); }
h2 { font-size: var(--text-3xl); }
h3 { font-size: var(--text-2xl); }
h4 { font-size: var(--text-xl); }
h5 { font-size: var(--text-lg); }
h6 { font-size: var(--text-base); }

p {
  margin-bottom: var(--space-4);
  color: var(--qobey-charcoal);
  line-height: 1.75;
}

/* Brand signature: italic text in rose */
em, i {
  color: var(--qobey-rose-dark);
  font-style: italic;
}

strong, b {
  font-weight: 700;
  color: var(--qobey-charcoal);
}

a {
  color: var(--qobey-rose-dark);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--qobey-rose);
  text-decoration: underline;
}

a:focus-visible {
  outline: 2px solid var(--qobey-rose);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

/* ============================================================
   LAYOUT
   ============================================================ */
.site-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  overflow-x: hidden;
}

.site-main {
  flex: 1;
}

.container {
  width: 100%;
  max-width: var(--container-xl);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space-6);
  padding-right: var(--space-6);
}

.container--narrow {
  max-width: var(--container-md);
}

.container--wide {
  max-width: var(--container-2xl);
}

/* ============================================================
   SITE HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 247, 245, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--qobey-rose-light);
  padding: var(--space-4) 0;
  transition: box-shadow var(--transition-base);
}

.site-header.scrolled {
  box-shadow: var(--shadow-md);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
}

.site-branding {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-shrink: 0;
}

.custom-logo {
  height: 44px;
  width: auto;
  display: block;
}

.site-title {
  font-family: var(--font-primary);
  font-size: var(--text-2xl);
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--qobey-charcoal);
  text-transform: uppercase;
  line-height: 1;
}

.site-title a {
  color: inherit;
  text-decoration: none;
}

.site-title a:hover {
  color: var(--qobey-rose-dark);
  text-decoration: none;
}

.site-tagline {
  font-family: var(--font-secondary);
  font-size: var(--text-xs);
  color: var(--qobey-slate);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-top: 2px;
}

/* ============================================================
   PRIMARY NAVIGATION
   ============================================================ */
.main-navigation {
  display: flex;
  align-items: center;
}

.main-navigation ul {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  list-style: none;
}

.main-navigation ul li {
  position: relative;
}

.main-navigation ul li a {
  display: block;
  padding: var(--space-2) var(--space-3);
  font-family: var(--font-secondary);
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--qobey-charcoal);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a {
  color: var(--qobey-rose-dark);
  background: var(--qobey-blush);
  text-decoration: none;
}

/* Dropdown menus */
.main-navigation ul li ul {
  position: absolute;
  top: calc(100% + var(--space-2));
  left: 50%;
  transform: translateX(-50%);
  min-width: 200px;
  background: var(--qobey-white);
  border: 1px solid var(--qobey-rose-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  flex-direction: column;
  gap: 0;
  padding: var(--space-2);
  display: none;
  z-index: 200;
}

.main-navigation ul li:hover > ul {
  display: flex;
}

.main-navigation ul li ul li a {
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-sm);
  border-radius: var(--radius-sm);
  width: 100%;
}

/* Header CTA */
.header-cta {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-shrink: 0;
}

.btn-search {
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-2);
  color: var(--qobey-slate);
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-search:hover {
  color: var(--qobey-rose-dark);
  background: var(--qobey-blush);
}

.btn-shop {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: var(--qobey-rose);
  color: var(--qobey-white);
  font-family: var(--font-secondary);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: var(--space-2) var(--space-5);
  border-radius: var(--radius-full);
  text-decoration: none;
  transition: all var(--transition-base);
  white-space: nowrap;
}

.btn-shop:hover {
  background: var(--qobey-rose-dark);
  color: var(--qobey-white);
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: var(--shadow-rose);
}

/* Mobile toggle */
.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--qobey-rose-light);
  border-radius: var(--radius-sm);
  padding: var(--space-2);
  cursor: pointer;
  color: var(--qobey-charcoal);
  transition: all var(--transition-fast);
}

.menu-toggle:hover {
  border-color: var(--qobey-rose);
  color: var(--qobey-rose-dark);
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero-section {
  background: linear-gradient(135deg, var(--qobey-pearl) 0%, var(--qobey-blush) 60%, var(--qobey-rose-light) 100%);
  padding: var(--space-24) 0 var(--space-20);
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(212,160,167,0.15) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-secondary);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--qobey-rose-dark);
  background: var(--qobey-blush);
  border: 1px solid var(--qobey-rose-light);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-5);
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, var(--text-5xl));
  font-weight: 700;
  line-height: 1.1;
  color: var(--qobey-charcoal);
  margin-bottom: var(--space-5);
}

.hero-title em {
  color: var(--qobey-rose-dark);
  font-style: italic;
}

.hero-description {
  font-size: var(--text-lg);
  color: var(--qobey-slate);
  line-height: 1.8;
  margin-bottom: var(--space-8);
  max-width: 520px;
}

.hero-actions {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: var(--qobey-rose);
  color: var(--qobey-white);
  font-family: var(--font-secondary);
  font-size: var(--text-base);
  font-weight: 600;
  padding: var(--space-4) var(--space-8);
  border-radius: var(--radius-full);
  text-decoration: none;
  transition: all var(--transition-base);
  border: 2px solid var(--qobey-rose);
}

.btn-primary:hover {
  background: var(--qobey-rose-dark);
  border-color: var(--qobey-rose-dark);
  color: var(--qobey-white);
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: var(--shadow-rose);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: transparent;
  color: var(--qobey-charcoal);
  font-family: var(--font-secondary);
  font-size: var(--text-base);
  font-weight: 600;
  padding: var(--space-4) var(--space-8);
  border-radius: var(--radius-full);
  text-decoration: none;
  border: 2px solid var(--qobey-rose-light);
  transition: all var(--transition-base);
}

.btn-secondary:hover {
  border-color: var(--qobey-rose);
  color: var(--qobey-rose-dark);
  text-decoration: none;
  transform: translateY(-2px);
}

.hero-image-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-image {
  width: 100%;
  max-width: 500px;
  height: auto;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  object-fit: cover;
}

.hero-trust-bar {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  margin-top: var(--space-10);
  padding-top: var(--space-6);
  border-top: 1px solid var(--qobey-rose-light);
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: var(--qobey-slate);
}

.trust-item svg {
  color: var(--qobey-rose-dark);
  flex-shrink: 0;
}

/* ============================================================
   SECTION HEADERS
   ============================================================ */
.section-header {
  text-align: center;
  margin-bottom: var(--space-12);
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-secondary);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--qobey-rose-dark);
  margin-bottom: var(--space-4);
}

.section-title {
  font-family: var(--font-primary);
  font-size: var(--text-3xl);
  color: var(--qobey-charcoal);
  margin-bottom: var(--space-4);
}

.section-subtitle {
  font-size: var(--text-lg);
  color: var(--qobey-slate);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.75;
}

/* ============================================================
   PRODUCT CARDS
   ============================================================ */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-6);
}

.product-card {
  background: var(--qobey-white);
  border: 1px solid var(--qobey-rose-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-base);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  border-color: var(--qobey-rose);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.product-card__image-wrap {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--qobey-porcelain);
}

.product-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.product-card:hover .product-card__image {
  transform: scale(1.04);
}

.product-card__badge {
  position: absolute;
  top: var(--space-3);
  left: var(--space-3);
  background: var(--qobey-rose);
  color: var(--qobey-white);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px var(--space-3);
  border-radius: var(--radius-full);
}

.product-card__body {
  padding: var(--space-5);
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-card__category {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--qobey-rose-dark);
  margin-bottom: var(--space-2);
}

.product-card__title {
  font-family: var(--font-primary);
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--qobey-charcoal);
  margin-bottom: var(--space-3);
  line-height: 1.3;
}

.product-card__excerpt {
  font-size: var(--text-sm);
  color: var(--qobey-slate);
  line-height: 1.65;
  margin-bottom: var(--space-4);
  flex: 1;
}

.product-card__rating {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-4);
}

.stars {
  display: flex;
  gap: 2px;
  color: var(--qobey-gold);
}

.rating-count {
  font-size: var(--text-xs);
  color: var(--qobey-slate);
}

.product-card__price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-4);
}

.product-card__price {
  font-family: var(--font-primary);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--qobey-charcoal);
}

.product-card__price-old {
  font-size: var(--text-sm);
  color: var(--qobey-slate);
  text-decoration: line-through;
}

.product-card__cta {
  display: block;
  width: 100%;
  text-align: center;
  background: var(--qobey-rose);
  color: var(--qobey-white);
  font-family: var(--font-secondary);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: var(--space-3) var(--space-5);
  border-radius: var(--radius-full);
  text-decoration: none;
  transition: all var(--transition-base);
}

.product-card__cta:hover {
  background: var(--qobey-rose-dark);
  color: var(--qobey-white);
  text-decoration: none;
  box-shadow: var(--shadow-rose);
}

/* ============================================================
   ARTICLE / BLOG CARDS
   ============================================================ */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: var(--space-8);
}

.article-card {
  background: var(--qobey-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--qobey-rose-light);
  transition: all var(--transition-base);
  display: flex;
  flex-direction: column;
}

.article-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: var(--qobey-rose);
}

.article-card__image-wrap {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--qobey-porcelain);
}

.article-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.article-card:hover .article-card__image {
  transform: scale(1.04);
}

.article-card__body {
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  flex: 1;
}

.article-card__meta {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-3);
  flex-wrap: wrap;
}

.article-card__category {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--qobey-rose-dark);
  background: var(--qobey-blush);
  padding: 2px var(--space-3);
  border-radius: var(--radius-full);
}

.article-card__date,
.article-card__read-time {
  font-size: var(--text-xs);
  color: var(--qobey-slate);
}

.article-card__title {
  font-family: var(--font-primary);
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--qobey-charcoal);
  line-height: 1.35;
  margin-bottom: var(--space-3);
}

.article-card__title a {
  color: inherit;
  text-decoration: none;
}

.article-card__title a:hover {
  color: var(--qobey-rose-dark);
  text-decoration: none;
}

.article-card__excerpt {
  font-size: var(--text-sm);
  color: var(--qobey-slate);
  line-height: 1.7;
  margin-bottom: var(--space-5);
  flex: 1;
}

.article-card__author {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding-top: var(--space-4);
  border-top: 1px solid var(--qobey-rose-light);
}

.author-avatar {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  object-fit: cover;
  border: 2px solid var(--qobey-rose-light);
}

.author-avatar-placeholder {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background: var(--qobey-rose-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-primary);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--qobey-rose-dark);
  flex-shrink: 0;
}

.author-info .author-name {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--qobey-charcoal);
  display: block;
}

.author-info .author-role {
  font-size: var(--text-xs);
  color: var(--qobey-slate);
}

/* ============================================================
   INGREDIENTS SECTION
   ============================================================ */
.ingredients-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: var(--space-4);
}

.ingredient-card {
  background: var(--qobey-white);
  border: 1px solid var(--qobey-rose-light);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  text-align: center;
  transition: all var(--transition-base);
  cursor: pointer;
  text-decoration: none;
  display: block;
}

.ingredient-card:hover {
  border-color: var(--qobey-rose);
  box-shadow: var(--shadow-rose);
  transform: translateY(-3px);
  text-decoration: none;
}

.ingredient-card__icon {
  font-size: 2.5rem;
  margin-bottom: var(--space-3);
  display: block;
}

.ingredient-card__name {
  font-family: var(--font-primary);
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--qobey-charcoal);
  margin-bottom: var(--space-2);
}

.ingredient-card__desc {
  font-size: var(--text-xs);
  color: var(--qobey-slate);
  line-height: 1.6;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials-section {
  background: var(--qobey-blush);
  padding: var(--space-24) 0;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--space-6);
}

.testimonial-card {
  background: var(--qobey-white);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  border: 1px solid var(--qobey-rose-light);
  transition: all var(--transition-base);
}

.testimonial-card:hover {
  box-shadow: var(--shadow-md);
}

.testimonial-quote {
  font-family: var(--font-primary);
  font-size: var(--text-lg);
  font-style: italic;
  color: var(--qobey-charcoal);
  line-height: 1.7;
  margin-bottom: var(--space-6);
  position: relative;
  padding-left: var(--space-5);
}

.testimonial-quote::before {
  content: '"';
  position: absolute;
  left: 0;
  top: -8px;
  font-family: var(--font-primary);
  font-size: 4rem;
  color: var(--qobey-rose-light);
  line-height: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.testimonial-author-avatar {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  object-fit: cover;
}

.testimonial-author-name {
  font-weight: 600;
  font-size: var(--text-sm);
  color: var(--qobey-charcoal);
  display: block;
}

.testimonial-author-location {
  font-size: var(--text-xs);
  color: var(--qobey-slate);
}

/* ============================================================
   NEWSLETTER SECTION
   ============================================================ */
.newsletter-section {
  background: linear-gradient(135deg, var(--qobey-charcoal) 0%, #3d2d2d 100%);
  padding: var(--space-20) 0;
  text-align: center;
}

.newsletter-section .section-eyebrow {
  color: var(--qobey-rose-light);
}

.newsletter-section .section-title {
  color: var(--qobey-pearl);
  margin-bottom: var(--space-4);
}

.newsletter-section .section-subtitle {
  color: rgba(250,247,245,0.7);
}

.newsletter-form {
  display: flex;
  gap: var(--space-3);
  max-width: 480px;
  margin: var(--space-8) auto 0;
}

.newsletter-input {
  flex: 1;
  padding: var(--space-4) var(--space-5);
  border: 1px solid rgba(212,160,167,0.3);
  border-radius: var(--radius-full);
  background: rgba(255,255,255,0.08);
  color: var(--qobey-pearl);
  font-family: var(--font-secondary);
  font-size: var(--text-base);
  transition: border-color var(--transition-fast);
  outline: none;
}

.newsletter-input::placeholder {
  color: rgba(250,247,245,0.4);
}

.newsletter-input:focus {
  border-color: var(--qobey-rose);
}

.newsletter-submit {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: var(--qobey-rose);
  color: var(--qobey-white);
  font-family: var(--font-secondary);
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: var(--space-4) var(--space-6);
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  transition: all var(--transition-base);
  white-space: nowrap;
}

.newsletter-submit:hover {
  background: var(--qobey-rose-dark);
  transform: translateY(-1px);
}

.newsletter-privacy {
  margin-top: var(--space-4);
  font-size: var(--text-xs);
  color: rgba(250,247,245,0.5);
}

/* ============================================================
   SITE FOOTER
   ============================================================ */
.site-footer {
  background: var(--qobey-charcoal);
  color: var(--qobey-pearl);
  padding: var(--space-16) 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-10);
  margin-bottom: var(--space-12);
}

.footer-brand .site-title {
  color: var(--qobey-pearl);
  font-size: var(--text-xl);
  margin-bottom: var(--space-4);
}

.footer-brand-desc {
  font-size: var(--text-sm);
  color: rgba(250,247,245,0.65);
  line-height: 1.75;
  margin-bottom: var(--space-6);
}

.footer-social {
  display: flex;
  gap: var(--space-3);
}

.footer-social a {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--qobey-pearl);
  transition: all var(--transition-fast);
  text-decoration: none;
}

.footer-social a:hover {
  background: var(--qobey-rose);
  border-color: var(--qobey-rose);
  text-decoration: none;
}

.footer-col-title {
  font-family: var(--font-secondary);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--qobey-rose-light);
  margin-bottom: var(--space-5);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer-links a {
  font-size: var(--text-sm);
  color: rgba(250,247,245,0.65);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--qobey-rose-light);
  text-decoration: none;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: var(--space-6) 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-4);
}

.footer-legal {
  font-size: var(--text-xs);
  color: rgba(250,247,245,0.45);
  line-height: 1.7;
}

.footer-legal a {
  color: rgba(250,247,245,0.55);
  text-decoration: underline;
}

.footer-legal a:hover {
  color: var(--qobey-rose-light);
}

.footer-flag {
  font-size: var(--text-xs);
  color: rgba(250,247,245,0.45);
}

/* ============================================================
   SINGLE POST / PAGE CONTENT
   ============================================================ */
.entry-content {
  max-width: 740px;
  margin: 0 auto;
}

.entry-content h2 {
  font-size: var(--text-2xl);
  margin-top: var(--space-12);
  margin-bottom: var(--space-5);
  padding-bottom: var(--space-3);
  border-bottom: 2px solid var(--qobey-rose-light);
}

.entry-content h3 {
  font-size: var(--text-xl);
  margin-top: var(--space-8);
  margin-bottom: var(--space-4);
}

.entry-content h4 {
  font-size: var(--text-lg);
  margin-top: var(--space-6);
  margin-bottom: var(--space-3);
  color: var(--qobey-rose-dark);
}

.entry-content p {
  font-size: var(--text-md);
  line-height: 1.85;
  margin-bottom: var(--space-5);
}

.entry-content ul,
.entry-content ol {
  padding-left: var(--space-6);
  margin-bottom: var(--space-5);
}

.entry-content li {
  font-size: var(--text-md);
  line-height: 1.75;
  margin-bottom: var(--space-2);
  color: var(--qobey-charcoal);
}

.entry-content ul li::marker {
  color: var(--qobey-rose);
}

.entry-content blockquote {
  border-left: 4px solid var(--qobey-rose);
  padding: var(--space-4) var(--space-6);
  margin: var(--space-8) 0;
  background: var(--qobey-blush);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-family: var(--font-primary);
  font-size: var(--text-xl);
  font-style: italic;
  color: var(--qobey-charcoal);
}

.entry-content img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  margin: var(--space-6) 0;
}

.entry-content table {
  width: 100%;
  border-collapse: collapse;
  margin: var(--space-8) 0;
  font-size: var(--text-sm);
}

.entry-content table th {
  background: var(--qobey-blush);
  color: var(--qobey-rose-dark);
  font-weight: 700;
  text-align: left;
  padding: var(--space-3) var(--space-4);
  border-bottom: 2px solid var(--qobey-rose-light);
}

.entry-content table td {
  padding: var(--space-3) var(--space-4);
  border-bottom: 1px solid var(--qobey-rose-light);
  vertical-align: top;
}

.entry-content table tr:last-child td {
  border-bottom: none;
}

/* Affiliate disclosure box */
.affiliate-disclosure {
  background: var(--qobey-mist);
  border: 1px solid #d0d5dd;
  border-radius: var(--radius-md);
  padding: var(--space-4) var(--space-5);
  font-size: var(--text-sm);
  color: var(--qobey-slate);
  margin-bottom: var(--space-8);
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
}

/* ============================================================
   SEARCH RESULTS
   ============================================================ */
.search-results .search-header {
  padding: var(--space-12) 0 var(--space-8);
  background: var(--qobey-blush);
}

.search-results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--space-6);
  padding: var(--space-10) 0;
}

.no-results-content {
  text-align: center;
  padding: var(--space-20) 0;
}

/* ============================================================
   PAGINATION
   ============================================================ */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-10) 0;
}

.pagination a,
.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 var(--space-3);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  font-weight: 600;
  border: 1px solid var(--qobey-rose-light);
  color: var(--qobey-charcoal);
  text-decoration: none;
  transition: all var(--transition-fast);
}

.pagination a:hover {
  background: var(--qobey-blush);
  border-color: var(--qobey-rose);
  color: var(--qobey-rose-dark);
}

.pagination .current {
  background: var(--qobey-rose);
  border-color: var(--qobey-rose);
  color: var(--qobey-white);
}

/* ============================================================
   RESPONSIVE — TABLET (≤ 1024px)
   ============================================================ */
@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-trust-bar {
    justify-content: center;
  }

  .hero-image-wrapper {
    order: -1;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8);
  }
}

/* ============================================================
   RESPONSIVE — MOBILE (≤ 768px)
   ============================================================ */
@media (max-width: 768px) {
  :root {
    --text-4xl: 2.25rem;
    --text-3xl: 1.875rem;
    --text-2xl: 1.5rem;
  }

  .main-navigation {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--qobey-white);
    border-top: 1px solid var(--qobey-rose-light);
    box-shadow: var(--shadow-lg);
    padding: var(--space-4);
  }

  .main-navigation.is-open {
    display: block;
  }

  .main-navigation ul {
    flex-direction: column;
    gap: 0;
  }

  .main-navigation ul li a {
    padding: var(--space-3) var(--space-4);
    font-size: var(--text-base);
  }

  .main-navigation ul li ul {
    position: static;
    transform: none;
    box-shadow: none;
    border: none;
    background: var(--qobey-blush);
    border-radius: var(--radius-md);
    padding: var(--space-2);
    margin-top: var(--space-2);
  }

  .menu-toggle {
    display: flex;
  }

  .btn-shop {
    display: none;
  }

  .hero-section {
    padding: var(--space-12) 0 var(--space-10);
  }

  .newsletter-form {
    flex-direction: column;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .products-grid,
  .articles-grid {
    grid-template-columns: 1fr;
  }

  .ingredients-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .container {
    padding-left: var(--space-4);
    padding-right: var(--space-4);
  }
}

/* ============================================================
   ACCESSIBILITY
   ============================================================ */
.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-4);
  background: var(--qobey-rose);
  color: var(--qobey-white);
  padding: var(--space-3) var(--space-5);
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  font-weight: 600;
  z-index: 9999;
  text-decoration: none;
  transition: top var(--transition-fast);
}

.skip-link:focus {
  top: 0;
}

/* ============================================================
   PRINT
   ============================================================ */
@media print {
  .site-header,
  .site-footer,
  .newsletter-section,
  .btn-primary,
  .btn-secondary,
  .btn-shop {
    display: none !important;
  }

  body {
    color: #000;
    background: #fff;
  }

  a {
    color: #000;
    text-decoration: underline;
  }
}