/*
Theme Name: Longevity Labs
Theme URI: https://longevitylabs.com
Description: Custom theme for Longevity Labs — science-backed longevity devices. Built for WooCommerce + Gutenberg.
Version: 1.0.0
Author: Longevity Labs
Text Domain: longevity-labs
Requires at least: 6.3
Tested up to: 6.7
Requires PHP: 8.0
License: GPL-2.0-or-later
*/

/* ============================================================
   DESIGN SYSTEM — CSS CUSTOM PROPERTIES
   ============================================================ */
:root {
  /* Colors */
  --ll-black:      #0A0A0B;
  --ll-dark:       #111114;
  --ll-surface:    #18181C;
  --ll-surface2:   #222228;
  --ll-border:     rgba(255,255,255,0.08);
  --ll-border2:    rgba(255,255,255,0.14);
  --ll-text:       #F0EEE8;
  --ll-muted:      #8A8880;
  --ll-subtle:     #5A5856;
  --ll-gold:       #C8A96E;
  --ll-gold2:      #E8C98A;
  --ll-cyan:       #4ECDC4;
  --ll-cyan-dim:   rgba(78,205,196,0.12);
  --ll-gold-dim:   rgba(200,169,110,0.10);

  /* Typography */
  --ff-head:  'Syne', sans-serif;
  --ff-body:  'DM Sans', sans-serif;
  --ff-mono:  'DM Mono', monospace;

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

  /* Max width */
  --container: 1200px;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  background: var(--ll-dark);
  color: var(--ll-text);
  font-family: var(--ff-body);
  font-weight: 300;
  line-height: 1.7;
  min-height: 100vh;
}

img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; }
ul, ol { list-style: none; }

/* ============================================================
   CONTAINER
   ============================================================ */
.ll-container,
.wp-block-group.alignwide,
.wp-block-group.alignfull > .wp-block-group__inner-container {
  width: 100%;
  max-width: var(--container);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--ff-head);
  color: var(--ll-text);
  line-height: 1.1;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 4vw, 2.75rem); font-weight: 700; }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); font-weight: 600; }
h4 { font-size: 1.125rem; font-weight: 500; }

p { color: var(--ll-muted); font-weight: 300; line-height: 1.75; }

.ll-mono {
  font-family: var(--ff-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ll-subtle);
}

.ll-mono--cyan { color: var(--ll-cyan); }
.ll-mono--gold { color: var(--ll-gold); }

/* ============================================================
   NAVIGATION
   ============================================================ */
.ll-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: 64px;
  background: rgba(10, 10, 11, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 0.5px solid var(--ll-border);
  display: flex;
  align-items: center;
}

.ll-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.ll-nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.ll-nav__logo-mark {
  width: 30px;
  height: 30px;
  border: 1.5px solid var(--ll-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ll-nav__logo-inner {
  width: 12px;
  height: 12px;
  border: 1px solid var(--ll-gold);
  border-radius: 50%;
  background: var(--ll-gold-dim);
}

.ll-nav__logo-name {
  font-family: var(--ff-head);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--ll-text);
}

.ll-nav__logo-name span { color: var(--ll-gold); }

.ll-nav__links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.ll-nav__link {
  font-family: var(--ff-mono);
  font-size: 0.625rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ll-muted);
  transition: color 0.15s ease;
}

.ll-nav__link:hover,
.ll-nav__link.current-menu-item { color: var(--ll-text); }

.ll-nav__actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.ll-nav__cart {
  font-family: var(--ff-mono);
  font-size: 0.625rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ll-muted);
  background: transparent;
  border: none;
  padding: 0;
  transition: color 0.15s;
}

.ll-nav__cart:hover { color: var(--ll-text); }

.ll-btn--nav {
  font-family: var(--ff-mono);
  font-size: 0.625rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ll-gold);
  background: transparent;
  border: 0.5px solid var(--ll-gold);
  padding: 8px 18px;
  transition: background 0.2s ease;
}

.ll-btn--nav:hover { background: var(--ll-gold-dim); }

/* Mobile menu toggle */
.ll-nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: none;
  padding: 4px;
}

.ll-nav__toggle span {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--ll-text);
  transition: transform 0.2s, opacity 0.2s;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.ll-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-body);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 14px 32px;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  white-space: nowrap;
}

.ll-btn--primary {
  background: var(--ll-gold);
  color: var(--ll-black);
}

.ll-btn--primary:hover {
  background: var(--ll-gold2);
  color: var(--ll-black);
}

.ll-btn--outline {
  background: transparent;
  color: var(--ll-text);
  border: 1px solid var(--ll-border2);
}

.ll-btn--outline:hover {
  border-color: var(--ll-gold);
  color: var(--ll-gold);
}

.ll-btn--ghost {
  background: transparent;
  color: var(--ll-cyan);
  border: none;
  padding: 8px 0;
  font-family: var(--ff-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
}

.ll-btn--ghost::after {
  content: ' →';
  font-size: 1rem;
}

.ll-btn--ghost:hover { color: var(--ll-gold); }

.ll-btn--full { width: 100%; }

/* ============================================================
   BADGES
   ============================================================ */
.ll-badge {
  display: inline-block;
  font-family: var(--ff-mono);
  font-size: 0.5625rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 5px 12px;
  border: 0.5px solid transparent;
}

.ll-badge--science {
  background: var(--ll-cyan-dim);
  color: var(--ll-cyan);
  border-color: rgba(78,205,196,0.25);
}

.ll-badge--premium {
  background: var(--ll-gold-dim);
  color: var(--ll-gold);
  border-color: rgba(200,169,110,0.25);
}

.ll-badge--new {
  background: rgba(255,255,255,0.05);
  color: var(--ll-muted);
  border-color: var(--ll-border2);
}

/* ============================================================
   SECTION BASE
   ============================================================ */
.ll-section {
  padding: var(--space-xl) 0;
}

.ll-section--sm { padding: var(--space-lg) 0; }

.ll-section__label {
  font-family: var(--ff-mono);
  font-size: 0.625rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ll-subtle);
  margin-bottom: 1rem;
  display: block;
}

.ll-section__title {
  font-family: var(--ff-head);
  margin-bottom: 1rem;
}

.ll-section__subtitle {
  color: var(--ll-muted);
  font-weight: 300;
  max-width: 520px;
  margin-bottom: 3rem;
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.ll-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 64px; /* nav height */
  background: var(--ll-dark);
}

.ll-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* Subtle grid texture */
.ll-hero__bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--ll-border) 1px, transparent 1px),
    linear-gradient(90deg, var(--ll-border) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: 0.4;
}

/* Radial glow */
.ll-hero__bg::after {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 70vw;
  height: 70vw;
  background: radial-gradient(circle, rgba(200,169,110,0.06) 0%, transparent 65%);
}

.ll-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.ll-hero__content { max-width: 560px; }

.ll-hero__eyebrow {
  font-family: var(--ff-mono);
  font-size: 0.625rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ll-cyan);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.ll-hero__eyebrow::before {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: var(--ll-cyan);
}

.ll-hero__title {
  font-family: var(--ff-head);
  font-size: clamp(2.75rem, 6vw, 5rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.025em;
  color: var(--ll-text);
  margin-bottom: 1.5rem;
}

.ll-hero__title em {
  font-style: normal;
  color: var(--ll-gold);
}

.ll-hero__subtitle {
  font-size: 1rem;
  font-weight: 300;
  color: var(--ll-muted);
  line-height: 1.75;
  max-width: 420px;
  margin-bottom: 2.5rem;
}

.ll-hero__actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.ll-hero__trust {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 0.5px solid var(--ll-border);
}

.ll-hero__trust-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.ll-hero__trust-num {
  font-family: var(--ff-head);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--ll-gold);
  line-height: 1;
}

.ll-hero__trust-label {
  font-family: var(--ff-mono);
  font-size: 0.5625rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ll-subtle);
}

.ll-hero__trust-divider {
  width: 0.5px;
  height: 32px;
  background: var(--ll-border2);
}

/* Hero visual */
.ll-hero__visual {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.ll-hero__device {
  width: 340px;
  height: 420px;
  border: 0.5px solid var(--ll-border2);
  background: var(--ll-surface);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.ll-hero__device::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 200px;
  height: 200px;
  border: 1px solid var(--ll-border2);
  border-radius: 50%;
}

.ll-hero__device::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100px;
  height: 100px;
  border: 1.5px solid var(--ll-gold);
  border-radius: 50%;
  background: var(--ll-gold-dim);
}

.ll-hero__device-label {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--ff-mono);
  font-size: 0.5625rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ll-subtle);
  white-space: nowrap;
}

/* ============================================================
   TRUST BAR
   ============================================================ */
.ll-trust-bar {
  background: var(--ll-surface);
  border-top: 0.5px solid var(--ll-border);
  border-bottom: 0.5px solid var(--ll-border);
  padding: 1.25rem 0;
}

.ll-trust-bar__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}

.ll-trust-bar__item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0.5rem 2rem;
  border-right: 0.5px solid var(--ll-border);
}

.ll-trust-bar__item:last-child { border-right: none; }

.ll-trust-bar__icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--ll-gold);
}

.ll-trust-bar__text {
  font-family: var(--ff-mono);
  font-size: 0.5625rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ll-muted);
}

/* ============================================================
   PRODUCT GRID
   ============================================================ */
.ll-products {
  background: var(--ll-dark);
}

.ll-products__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 3rem;
  gap: 2rem;
}

.ll-product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--ll-border);
}

.ll-product-card {
  background: var(--ll-surface);
  transition: background 0.2s ease;
  position: relative;
  display: flex;
  flex-direction: column;
}

.ll-product-card:hover { background: var(--ll-surface2); }

.ll-product-card__img {
  height: 220px;
  background: var(--ll-surface2);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.ll-product-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.ll-product-card:hover .ll-product-card__img img {
  transform: scale(1.03);
}

/* Placeholder when no image */
.ll-product-card__img-placeholder {
  width: 80px;
  height: 80px;
  border: 1px solid var(--ll-border2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ll-product-card__img-placeholder-dot {
  width: 32px;
  height: 32px;
  border: 1.5px solid var(--ll-gold);
  border-radius: 50%;
  background: var(--ll-gold-dim);
}

.ll-product-card__badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 1;
}

.ll-product-card__body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.ll-product-card__category {
  font-family: var(--ff-mono);
  font-size: 0.5625rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ll-subtle);
  margin-bottom: 8px;
}

.ll-product-card__title {
  font-family: var(--ff-head);
  font-size: 1rem;
  font-weight: 600;
  color: var(--ll-text);
  margin-bottom: 8px;
  line-height: 1.3;
}

.ll-product-card__desc {
  font-size: 0.8125rem;
  color: var(--ll-subtle);
  line-height: 1.65;
  margin-bottom: 1.25rem;
  flex: 1;
}

.ll-product-card__specs {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}

.ll-product-card__spec {
  font-family: var(--ff-mono);
  font-size: 0.5rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ll-cyan);
  background: var(--ll-cyan-dim);
  padding: 3px 8px;
  border: 0.5px solid rgba(78,205,196,0.2);
}

.ll-product-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 0.5px solid var(--ll-border);
}

.ll-product-card__price {
  font-family: var(--ff-head);
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--ll-gold);
  line-height: 1;
}

.ll-product-card__price-note {
  font-family: var(--ff-mono);
  font-size: 0.5rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ll-subtle);
  margin-top: 3px;
}

.ll-product-card__btn {
  font-family: var(--ff-mono);
  font-size: 0.5625rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: transparent;
  color: var(--ll-text);
  border: 0.5px solid var(--ll-border2);
  padding: 9px 16px;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}

.ll-product-card__btn:hover {
  border-color: var(--ll-gold);
  color: var(--ll-gold);
}

/* ============================================================
   SCIENCE / TRUST SECTION
   ============================================================ */
.ll-science {
  background: var(--ll-surface);
  border-top: 0.5px solid var(--ll-border);
  border-bottom: 0.5px solid var(--ll-border);
}

.ll-science__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}

.ll-science__visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--ll-border);
}

.ll-science__stat {
  background: var(--ll-dark);
  padding: 2rem 1.5rem;
}

.ll-science__stat-num {
  font-family: var(--ff-head);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--ll-gold);
  line-height: 1;
  margin-bottom: 6px;
}

.ll-science__stat-label {
  font-family: var(--ff-mono);
  font-size: 0.5625rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ll-subtle);
  line-height: 1.4;
}

.ll-science__features {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.ll-science__feature {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.ll-science__feature-icon {
  width: 32px;
  height: 32px;
  border: 0.5px solid var(--ll-border2);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ll-science__feature-icon svg {
  width: 14px;
  height: 14px;
  color: var(--ll-gold);
}

.ll-science__feature-title {
  font-family: var(--ff-head);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--ll-text);
  margin-bottom: 4px;
}

.ll-science__feature-text {
  font-size: 0.8125rem;
  color: var(--ll-subtle);
  line-height: 1.65;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.ll-testimonials {
  background: var(--ll-dark);
}

.ll-testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--ll-border);
}

.ll-testimonial {
  background: var(--ll-surface);
  padding: 2rem 1.75rem;
}

.ll-testimonial__stars {
  display: flex;
  gap: 3px;
  margin-bottom: 1rem;
}

.ll-testimonial__star {
  width: 10px;
  height: 10px;
  background: var(--ll-gold);
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}

.ll-testimonial__text {
  font-size: 0.9375rem;
  font-weight: 300;
  color: var(--ll-muted);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.ll-testimonial__author {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 1rem;
  border-top: 0.5px solid var(--ll-border);
}

.ll-testimonial__avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--ll-surface2);
  border: 0.5px solid var(--ll-border2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-head);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--ll-gold);
  flex-shrink: 0;
}

.ll-testimonial__name {
  font-family: var(--ff-head);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ll-text);
}

.ll-testimonial__meta {
  font-family: var(--ff-mono);
  font-size: 0.5rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ll-subtle);
  margin-top: 2px;
}

/* ============================================================
   NEWSLETTER
   ============================================================ */
.ll-newsletter {
  background: var(--ll-surface);
  border-top: 0.5px solid var(--ll-border);
}

.ll-newsletter__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.ll-newsletter__form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ll-newsletter__row {
  display: flex;
  gap: 0;
}

.ll-input {
  font-family: var(--ff-body);
  font-size: 0.875rem;
  font-weight: 300;
  background: var(--ll-dark);
  border: 0.5px solid var(--ll-border2);
  border-right: none;
  color: var(--ll-text);
  padding: 13px 16px;
  flex: 1;
  outline: none;
  transition: border-color 0.2s ease;
  min-width: 0;
}

.ll-input:focus { border-color: var(--ll-gold); }
.ll-input::placeholder { color: var(--ll-subtle); }

.ll-newsletter__disclaimer {
  font-family: var(--ff-mono);
  font-size: 0.5rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ll-subtle);
}

/* ============================================================
   FOOTER
   ============================================================ */
.ll-footer {
  background: var(--ll-black);
  border-top: 0.5px solid var(--ll-border);
  padding: 4rem 0 2rem;
}

.ll-footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.ll-footer__tagline {
  font-size: 0.8125rem;
  color: var(--ll-subtle);
  line-height: 1.65;
  margin-top: 1rem;
  max-width: 280px;
}

.ll-footer__col-title {
  font-family: var(--ff-mono);
  font-size: 0.5625rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ll-subtle);
  margin-bottom: 1.25rem;
}

.ll-footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.ll-footer__link {
  font-size: 0.875rem;
  color: var(--ll-muted);
  transition: color 0.15s ease;
  text-decoration: none;
}

.ll-footer__link:hover { color: var(--ll-text); }

.ll-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  border-top: 0.5px solid var(--ll-border);
  flex-wrap: wrap;
  gap: 1rem;
}

.ll-footer__copy {
  font-family: var(--ff-mono);
  font-size: 0.5rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ll-subtle);
}

/* ============================================================
   WOOCOMMERCE BASE OVERRIDES
   ============================================================ */
.woocommerce,
.woocommerce-page {
  color: var(--ll-text);
}

.woocommerce a:not(.button) { color: var(--ll-gold); }
.woocommerce a:not(.button):hover { color: var(--ll-gold2); }

/* Product loop */
.woocommerce ul.products li.product a img {
  border: 0.5px solid var(--ll-border);
}

/* Buttons */
.woocommerce .button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce #payment #place_order,
.woocommerce-page #payment #place_order {
  font-family: var(--ff-body) !important;
  font-size: 0.8125rem !important;
  font-weight: 500 !important;
  letter-spacing: 0.07em !important;
  text-transform: uppercase !important;
  background: var(--ll-gold) !important;
  color: var(--ll-black) !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 14px 28px !important;
  transition: background 0.2s ease !important;
}

.woocommerce .button:hover,
.woocommerce button.button:hover {
  background: var(--ll-gold2) !important;
  color: var(--ll-black) !important;
}

/* Notices */
.woocommerce-message,
.woocommerce-info {
  background: var(--ll-surface) !important;
  border-top-color: var(--ll-gold) !important;
  color: var(--ll-text) !important;
}

/* Price */
.woocommerce .price,
.woocommerce .amount {
  font-family: var(--ff-head) !important;
  color: var(--ll-gold) !important;
}

/* Forms */
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea {
  background: var(--ll-surface) !important;
  border: 0.5px solid var(--ll-border2) !important;
  border-radius: 0 !important;
  color: var(--ll-text) !important;
  font-family: var(--ff-body) !important;
}

.woocommerce form .form-row input.input-text:focus {
  border-color: var(--ll-gold) !important;
  outline: none !important;
}

/* ============================================================
   GUTENBERG BLOCK OVERRIDES
   ============================================================ */
.wp-block-separator {
  border-color: var(--ll-border) !important;
  opacity: 1 !important;
}

.wp-block-quote {
  border-left: 2px solid var(--ll-gold);
  padding-left: 1.5rem;
  font-style: italic;
  color: var(--ll-muted);
}

.wp-block-code {
  background: var(--ll-surface);
  border: 0.5px solid var(--ll-border2);
  border-radius: 0;
  font-family: var(--ff-mono);
  color: var(--ll-cyan);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .ll-hero__inner { grid-template-columns: 1fr; }
  .ll-hero__visual { display: none; }
  .ll-science__inner { grid-template-columns: 1fr; gap: 3rem; }
  .ll-newsletter__inner { grid-template-columns: 1fr; gap: 2rem; }
  .ll-footer__inner { grid-template-columns: 1fr 1fr; }
  .ll-product-grid { grid-template-columns: repeat(2, 1fr); }
  .ll-testimonials__grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  :root {
    --space-lg: 3rem;
    --space-xl: 4rem;
  }
  .ll-nav__links { display: none; }
  .ll-nav__toggle { display: flex; }
  .ll-product-grid { grid-template-columns: 1fr; }
  .ll-footer__inner { grid-template-columns: 1fr; }
  .ll-trust-bar__inner { justify-content: flex-start; }
  .ll-trust-bar__item { border-right: none; border-bottom: 0.5px solid var(--ll-border); width: 100%; }
  .ll-science__visual { grid-template-columns: 1fr 1fr; }
  .ll-newsletter__row { flex-direction: column; }
  .ll-input { border-right: 0.5px solid var(--ll-border2); }
}

@media (max-width: 480px) {
  .ll-hero__title { font-size: 2.5rem; }
  .ll-hero__actions { flex-direction: column; align-items: flex-start; }
  .ll-products__header { flex-direction: column; align-items: flex-start; }
}
