/*
Theme Name: Trutide
Theme URI: https://trutide.net
Author: Trutide Research
Author URI: https://trutide.net
Description: Trutide Research Compounds Theme - For laboratory research use only.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: trutide
Tags: research, science, custom-colors, custom-menu, featured-images
*/

/* ===== CSS VARIABLES ===== */
:root {
  --primary: #F59A57;
  --accent: #3E2432;
  --blue: #3B82F6;
  --bg: #FFFFFF;
  --text: #5B5B5B;
  --text-dark: #1a1a1a;
  --border-radius-btn: 35px;
  --border-radius-card: 4px;
  --font-heading: 'Urbanist', sans-serif;
  --font-body: 'Work Sans', sans-serif;
  --max-width: 1200px;
  --shadow: 0 4px 24px rgba(62,36,50,0.10);
  --shadow-hover: 0 8px 32px rgba(245,154,87,0.18);
}

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}

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

a { color: var(--blue); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--primary); }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--accent);
  line-height: 1.2;
  font-weight: 700;
}

/* ===== AGE GATE ===== */
#age-gate-overlay {
  position: fixed;
  inset: 0;
  background: rgba(62, 36, 50, 0.97);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

#age-gate-overlay.hidden { display: none; }

.age-gate-modal {
  background: #fff;
  border-radius: 12px;
  padding: 48px 40px;
  max-width: 520px;
  width: 100%;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

.age-gate-logo {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 8px;
  letter-spacing: -0.5px;
}

.age-gate-logo span { color: var(--primary); }

.age-gate-modal h2 {
  font-size: 1.5rem;
  color: var(--accent);
  margin-bottom: 12px;
}

.age-gate-modal p {
  color: var(--text);
  font-size: 0.95rem;
  margin-bottom: 8px;
  line-height: 1.6;
}

.age-gate-disclaimer {
  background: #fff8f0;
  border: 1px solid #ffe0c0;
  border-radius: 8px;
  padding: 12px 16px;
  margin: 16px 0 24px;
  font-size: 0.85rem;
  color: #8B5E2E;
}

.age-gate-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-age-yes {
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: var(--border-radius-btn);
  padding: 14px 36px;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
}

.btn-age-yes:hover { background: #2a1720; transform: translateY(-1px); }

.btn-age-no {
  background: #f5f5f5;
  color: var(--text);
  border: 1px solid #ddd;
  border-radius: var(--border-radius-btn);
  padding: 14px 36px;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.btn-age-no:hover { background: #ffe5e5; color: #c00; }

#age-blocked {
  position: fixed;
  inset: 0;
  background: var(--accent);
  z-index: 100000;
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  padding: 40px;
}

#age-blocked.visible { display: flex; }

#age-blocked h2 { color: #fff; font-size: 2rem; margin-bottom: 16px; }
#age-blocked p { color: rgba(255,255,255,0.75); font-size: 1.1rem; max-width: 480px; }

/* ===== RESEARCH TOPBAR ===== */
.research-topbar {
  background: var(--accent);
  color: rgba(255,255,255,0.92);
  text-align: center;
  padding: 8px 20px;
  font-size: 0.82rem;
  font-family: var(--font-heading);
  font-weight: 500;
  letter-spacing: 0.03em;
  position: relative;
  z-index: 1000;
}

.research-topbar a { color: var(--primary); text-decoration: underline; }

/* ===== STICKY HEADER ===== */
.site-header {
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 900;
  box-shadow: 0 2px 12px rgba(62,36,50,0.08);
  transition: box-shadow 0.2s;
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-logo {
  font-family: var(--font-heading);
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.5px;
  text-decoration: none;
}

.site-logo span { color: var(--primary); }

.main-nav { display: flex; align-items: center; gap: 8px; }

.main-nav a {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-dark);
  padding: 8px 14px;
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
  text-decoration: none;
}

.main-nav a:hover, .main-nav a.current-menu-item { color: var(--accent); background: #fdf2ea; }

.nav-cta {
  background: var(--primary) !important;
  color: #fff !important;
  border-radius: var(--border-radius-btn) !important;
  padding: 10px 22px !important;
}

.nav-cta:hover { background: #e0863d !important; }

.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  flex-direction: column;
  gap: 5px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
  transition: all 0.2s;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 32px;
  border-radius: var(--border-radius-btn);
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  letter-spacing: 0.01em;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}

.btn-primary:hover {
  background: #e0863d;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245,154,87,0.35);
}

.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 2px solid var(--accent);
}

.btn-outline:hover {
  background: var(--accent);
  color: #fff;
  transform: translateY(-2px);
}

.btn-blue {
  background: var(--blue);
  color: #fff;
}

.btn-blue:hover {
  background: #2563eb;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(59,130,246,0.35);
}

/* ===== CONTAINER ===== */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== SECTION SPACING ===== */
.section { padding: 80px 0; }
.section-sm { padding: 48px 0; }
.section-lg { padding: 100px 0; }

/* ===== SECTION LABELS ===== */
.section-label {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 12px;
}

/* ===== HERO ===== */
.hero {
  background: linear-gradient(135deg, var(--accent) 0%, #5a2e46 60%, #3E2432 100%);
  padding: 100px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(245,154,87,0.15) 0%, transparent 70%);
  border-radius: 50%;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -80px;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(59,130,246,0.12) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 780px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245,154,87,0.15);
  border: 1px solid rgba(245,154,87,0.4);
  border-radius: 50px;
  padding: 6px 16px;
  margin-bottom: 24px;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--primary);
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.hero h1 span { color: var(--primary); }

.hero-sub {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.82);
  margin-bottom: 12px;
  max-width: 620px;
  line-height: 1.65;
}

.hero-disclaimer {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 36px;
  font-style: italic;
}

.hero-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.12);
  flex-wrap: wrap;
}

.hero-stat-value {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 4px;
}

.hero-stat-label {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.6);
  font-weight: 500;
}

/* ===== TRUST BADGES ===== */
.trust-bar {
  background: #faf8f6;
  border-top: 1px solid #ede8e3;
  border-bottom: 1px solid #ede8e3;
  padding: 28px 0;
}

.trust-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--accent);
}

.trust-icon {
  width: 36px;
  height: 36px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.trust-icon svg { width: 18px; height: 18px; fill: #fff; }

/* ===== PRODUCTS SECTION ===== */
.products-section { background: #fff; }

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-header h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  margin-bottom: 12px;
}

.section-header p {
  font-size: 1.05rem;
  color: var(--text);
  max-width: 560px;
  margin: 0 auto;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}

.product-card {
  background: #fff;
  border: 1px solid #f0ebe6;
  border-radius: var(--border-radius-card);
  padding: 36px 28px;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transition: transform 0.3s;
}

.product-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
  border-color: rgba(245,154,87,0.3);
}

.product-card:hover::before { transform: scaleX(1); }

.product-tag {
  display: inline-block;
  background: #fdf2ea;
  color: var(--primary);
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 16px;
}

.product-card h3 {
  font-size: 1.5rem;
  color: var(--accent);
  margin-bottom: 8px;
}

.product-card .product-subtitle {
  font-size: 0.88rem;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 14px;
  font-family: var(--font-heading);
}

.product-card p {
  font-size: 0.93rem;
  color: var(--text);
  line-height: 1.65;
  margin-bottom: 20px;
}

.product-features {
  list-style: none;
  margin-bottom: 28px;
}

.product-features li {
  font-size: 0.88rem;
  color: var(--text);
  padding: 5px 0;
  padding-left: 20px;
  position: relative;
}

.product-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
}

.product-research-note {
  font-size: 0.75rem;
  color: #999;
  font-style: italic;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #f0ebe6;
}

/* ===== RESEARCH DISCLAIMER SECTION ===== */
.disclaimer-section {
  background: linear-gradient(135deg, #fdf2ea 0%, #fef9f5 100%);
  border-top: 3px solid var(--primary);
  padding: 48px 0;
}

.disclaimer-box {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}

.disclaimer-box h3 {
  font-size: 1.3rem;
  color: var(--accent);
  margin-bottom: 16px;
}

.disclaimer-box p {
  font-size: 0.88rem;
  color: #7a5c40;
  line-height: 1.7;
  margin-bottom: 8px;
}

/* ===== CTA SECTION ===== */
.cta-section {
  background: var(--accent);
  text-align: center;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(245,154,87,0.15) 0%, transparent 70%);
  border-radius: 50%;
}

.cta-section h2 {
  color: #fff;
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  margin-bottom: 14px;
}

.cta-section p {
  color: rgba(255,255,255,0.75);
  font-size: 1.05rem;
  margin-bottom: 32px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.cta-disclaimer {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.45);
  margin-top: 16px;
  font-style: italic;
}

/* ===== BLOG PAGE ===== */
.page-hero {
  background: linear-gradient(135deg, var(--accent) 0%, #5a2e46 100%);
  padding: 64px 0;
  text-align: center;
}

.page-hero h1 {
  color: #fff;
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 12px;
}

.page-hero p { color: rgba(255,255,255,0.75); font-size: 1.05rem; max-width: 560px; margin: 0 auto; }

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 28px;
  padding: 64px 0;
}

.blog-card {
  background: #fff;
  border: 1px solid #f0ebe6;
  border-radius: var(--border-radius-card);
  overflow: hidden;
  transition: all 0.3s;
}

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

.blog-card-img {
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, #fdf2ea, #f5e8d8);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 2.5rem;
}

.blog-card-body { padding: 24px; }

.blog-meta {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.blog-category {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  background: #fdf2ea;
  padding: 3px 10px;
  border-radius: 20px;
}

.blog-date { font-size: 0.82rem; color: #aaa; }

.blog-card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
  line-height: 1.3;
}

.blog-card h3 a { color: var(--accent); text-decoration: none; }
.blog-card h3 a:hover { color: var(--primary); }

.blog-card p { font-size: 0.9rem; color: var(--text); line-height: 1.6; margin-bottom: 16px; }

.blog-read-more {
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
}

.blog-read-more:hover { color: var(--accent); }
.blog-read-more::after { content: '→'; transition: transform 0.2s; }
.blog-read-more:hover::after { transform: translateX(4px); }

/* ===== SHOP PAGE ===== */
.shop-filters {
  background: #faf8f6;
  border-bottom: 1px solid #ede8e3;
  padding: 20px 0;
}

.shop-filters-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.filter-label { font-family: var(--font-heading); font-weight: 600; color: var(--accent); font-size: 0.9rem; }

.filter-tabs { display: flex; gap: 8px; flex-wrap: wrap; }

.filter-tab {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 6px 18px;
  border-radius: 20px;
  border: 1px solid #ddd;
  background: #fff;
  color: var(--text);
  cursor: pointer;
  transition: all 0.2s;
}

.filter-tab.active, .filter-tab:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 32px;
  padding: 56px 0;
}

.shop-card {
  background: #fff;
  border: 1px solid #f0ebe6;
  border-radius: var(--border-radius-card);
  overflow: hidden;
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
}

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

.shop-card-image {
  background: linear-gradient(135deg, #fdf2ea 0%, #f5e8d8 100%);
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.shop-card-image-inner {
  text-align: center;
}

.product-molecule {
  font-size: 3.5rem;
  margin-bottom: 4px;
  display: block;
}

.product-abbr {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.08em;
  opacity: 0.7;
}

.research-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 12px;
}

.shop-card-body {
  padding: 28px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.shop-card h3 {
  font-size: 1.4rem;
  color: var(--accent);
  margin-bottom: 6px;
}

.shop-card .product-iupac {
  font-size: 0.78rem;
  color: #aaa;
  font-style: italic;
  margin-bottom: 14px;
  font-family: 'Courier New', monospace;
}

.shop-card p {
  font-size: 0.92rem;
  color: var(--text);
  line-height: 1.65;
  margin-bottom: 20px;
  flex: 1;
}

.shop-card-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 24px;
  padding: 16px;
  background: #faf8f6;
  border-radius: var(--border-radius-card);
}

.spec-item { text-align: center; }
.spec-value {
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--accent);
  display: block;
}
.spec-label { font-size: 0.72rem; color: #aaa; margin-top: 2px; }

.shop-card-footer {
  padding: 16px 24px;
  border-top: 1px solid #f0ebe6;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.shop-research-note {
  font-size: 0.72rem;
  color: #bbb;
  font-style: italic;
  padding: 0 24px 20px;
}

/* ===== FOOTER ===== */
.site-footer {
  background: var(--accent);
  color: rgba(255,255,255,0.75);
  padding: 60px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand .site-logo { color: #fff; margin-bottom: 12px; display: block; }
.footer-brand .site-logo span { color: var(--primary); }
.footer-brand p { font-size: 0.88rem; line-height: 1.7; color: rgba(255,255,255,0.6); margin-bottom: 16px; }

.footer-disclaimer-box {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 6px;
  padding: 12px;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.6;
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 700;
  color: rgba(255,255,255,0.9);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.footer-col ul { list-style: none; }

.footer-col ul li { margin-bottom: 8px; }

.footer-col ul li a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-col ul li a:hover { color: var(--primary); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 28px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-legal {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
  line-height: 1.7;
  max-width: 600px;
}

.footer-legal p { margin-bottom: 4px; }

.footer-copy { font-size: 0.78rem; color: rgba(255,255,255,0.35); white-space: nowrap; }

/* ===== MOBILE NAV ===== */
.mobile-nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(62,36,50,0.97);
  z-index: 800;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.mobile-nav-overlay.open { display: flex; }

.mobile-nav-overlay a {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  padding: 12px 24px;
  border-radius: 8px;
  transition: color 0.2s;
}

.mobile-nav-overlay a:hover { color: var(--primary); }

.mobile-nav-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.8rem;
  cursor: pointer;
  line-height: 1;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .main-nav { display: none; }
  .hamburger { display: flex; }
}

@media (max-width: 640px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero { padding: 64px 0 56px; }
  .hero-stats { gap: 24px; }
  .trust-bar-inner { gap: 24px; }
  .age-gate-modal { padding: 32px 24px; }
  .shop-card-image { height: 180px; }
}

/* ===== HEADER ACTIONS ===== */
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cart-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  color: var(--accent);
  border: 1px solid #e8e0da;
  background: #faf8f6;
  transition: all 0.2s;
  text-decoration: none;
  position: relative;
}

.cart-btn:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.login-btn {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent);
  border: 1.5px solid var(--accent);
  border-radius: var(--border-radius-btn);
  padding: 8px 18px;
  text-decoration: none;
  transition: all 0.2s;
  white-space: nowrap;
}

.login-btn:hover {
  background: var(--accent);
  color: #fff;
}

@media (max-width: 900px) {
  .header-actions { display: none; }
}

/* ===== UTILITY ===== */
.text-center { text-align: center; }
.mt-4 { margin-top: 1rem; }
.mt-8 { margin-top: 2rem; }
.mb-4 { margin-bottom: 1rem; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* ===== WC FULL-WIDTH (NO SIDEBAR) ===== */
.trutide-wc-wrap { padding: 48px 0 80px; }
.woocommerce-page-full-width .woocommerce { width: 100%; }
.woocommerce-page-full-width .woocommerce-sidebar,
.woocommerce aside,
.woocommerce-page aside { display: none !important; }
.woocommerce-page-full-width #primary,
.woocommerce-page-full-width .woocommerce-main { width: 100% !important; float: none !important; }
/* Remove any widget areas WC might inject */
.widget_product_categories,
.widget_layered_nav,
.widget_price_filter,
.widget_products { display: none !important; }

/* ===== COA SECTION ===== */
.coa-section { margin-top: 96px; padding-top: 64px; border-top: 2px solid #f0ebe6; }
.coa-section-title { font-size: 1.4rem; color: var(--accent); margin-bottom: 8px; }
.coa-section-desc { font-size: 0.9rem; color: var(--text); margin-bottom: 28px; max-width: 680px; }

.coa-list-table { width: 100%; border-collapse: collapse; }
.coa-list-table th {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #aaa;
  padding: 0 16px 12px;
  text-align: left;
  border-bottom: 2px solid #f0ebe6;
}
.coa-list-table td {
  padding: 14px 16px;
  border-bottom: 1px solid #f8f4f1;
  vertical-align: middle;
  font-size: 0.92rem;
}
.coa-list-table tr:last-child td { border-bottom: none; }
.coa-list-table tr:hover td { background: #fdf9f7; }

.coa-batch { font-family: 'Courier New', monospace; font-size: 0.85rem; color: var(--accent); font-weight: 700; }
.coa-date-col { color: var(--text); font-size: 0.88rem; }
.badge-verified { display: inline-flex; align-items: center; gap: 5px; background: #d1fae5; color: #065f46; font-family: var(--font-heading); font-size: 0.72rem; font-weight: 700; padding: 4px 12px; border-radius: 20px; text-transform: uppercase; letter-spacing: 0.06em; }
.badge-pending  { display: inline-flex; align-items: center; gap: 5px; background: #fef3c7; color: #92400e; font-family: var(--font-heading); font-size: 0.72rem; font-weight: 700; padding: 4px 12px; border-radius: 20px; text-transform: uppercase; letter-spacing: 0.06em; }

.coa-view-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--blue);
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 20px;
  padding: 5px 14px;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}
.coa-view-btn:hover { background: var(--blue); color: #fff; border-color: var(--blue); }

.coa-empty { text-align: center; padding: 32px; color: #bbb; font-style: italic; background: #faf8f6; border-radius: var(--border-radius-card); }

/* ===== COA LIGHTBOX ===== */
#coa-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.92);
  z-index: 99998;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  backdrop-filter: blur(4px);
}
#coa-lightbox.open { display: flex; }

.coa-lightbox-inner {
  background: #fff;
  border-radius: 12px;
  max-width: 860px;
  width: 100%;
  max-height: 92vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 24px 64px rgba(0,0,0,0.4);
}

.coa-lightbox-header {
  padding: 20px 24px 16px;
  border-bottom: 1px solid #f0ebe6;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 1;
}

.coa-lightbox-meta h3 { font-size: 1.1rem; color: var(--accent); margin-bottom: 4px; }
.coa-lightbox-meta p  { font-size: 0.82rem; color: #aaa; margin: 0; }

.coa-lightbox-close {
  background: #f5f5f5;
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s;
}
.coa-lightbox-close:hover { background: #ffe5e5; color: #c00; }

.coa-lightbox-body {
  padding: 24px;
  text-align: center;
}

.coa-lightbox-body img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
  border: 1px solid #f0ebe6;
  display: inline-block;
}

.coa-lightbox-placeholder {
  background: #faf8f6;
  border: 2px dashed #e0dbd5;
  border-radius: 8px;
  padding: 60px 20px;
  color: #bbb;
  font-size: 0.92rem;
}
