/* ===========================================================
   Evora Labs — shared stylesheet
   Theme: black / red / white, dark lab / biotech aesthetic
   =========================================================== */

:root {
  --black: #0a0a0a;
  --black-2: #121212;
  --black-3: #1a1a1a;
  --red: #d81f2a;
  --red-bright: #ff2b3a;
  --red-dim: #7a1017;
  --white: #f5f5f5;
  --grey: #9a9a9a;
  --grey-dim: #6b6b6b;
  --border: #2a2a2a;
  --radius: 10px;
  --maxw: 1180px;
  --shadow-red: 0 0 24px rgba(216, 31, 42, 0.25);
  font-size: 16px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--black);
  color: var(--white);
  font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-image:
    radial-gradient(ellipse at top right, rgba(216,31,42,0.08) 0%, transparent 55%),
    radial-gradient(ellipse at bottom left, rgba(216,31,42,0.06) 0%, transparent 50%);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; margin: 0; padding: 0; }
button { font-family: inherit; cursor: pointer; }

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, h4 {
  font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
  font-weight: 800;
  letter-spacing: 0.02em;
  margin: 0 0 0.5em;
  line-height: 1.15;
}

h1 { font-size: clamp(2rem, 4vw, 3.2rem); text-transform: uppercase; }
h2 { font-size: clamp(1.5rem, 2.6vw, 2.2rem); text-transform: uppercase; }
h3 { font-size: 1.15rem; }

p { color: var(--grey); line-height: 1.65; margin: 0 0 1em; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red-bright);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 18px;
  height: 2px;
  background: var(--red-bright);
  display: inline-block;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid transparent;
  transition: all 0.18s ease;
}
.btn-primary {
  background: linear-gradient(135deg, var(--red-bright), var(--red));
  color: var(--white);
  box-shadow: 0 4px 18px rgba(216,31,42,0.35);
}
.btn-primary:hover { filter: brightness(1.12); transform: translateY(-1px); }
.btn-outline {
  background: transparent;
  border-color: var(--border);
  color: var(--white);
}
.btn-outline:hover { border-color: var(--red-bright); color: var(--red-bright); }
.btn-block { width: 100%; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }

/* ---------- Top compliance strip ---------- */
.compliance-strip {
  background: var(--red-dim);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-align: center;
  padding: 8px 16px;
}
.compliance-strip a { text-decoration: underline; }

/* ---------- Header / Nav ---------- */
header.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10,10,10,0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 1.05rem;
}
.brand img { height: 40px; width: 40px; border-radius: 50%; }
.brand .sub { display: block; font-size: 0.6rem; color: var(--red-bright); letter-spacing: 0.25em; font-weight: 700; }

nav.main-nav ul {
  display: flex;
  gap: 28px;
}
nav.main-nav a {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--grey);
  transition: color 0.15s ease;
  position: relative;
}
nav.main-nav a:hover, nav.main-nav a.active { color: var(--white); }
nav.main-nav a.active::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 100%; height: 2px;
  background: var(--red-bright);
}

.nav-actions { display: flex; align-items: center; gap: 18px; }
.cart-link { position: relative; display: flex; align-items: center; gap: 6px; font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; }
.cart-count {
  background: var(--red-bright);
  color: var(--white);
  font-size: 0.68rem;
  font-weight: 800;
  min-width: 18px;
  height: 18px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  color: var(--white);
  padding: 8px 10px;
  border-radius: 4px;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 90px 0 70px;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.hero h1 span { color: var(--red-bright); }
.hero-actions { display: flex; gap: 14px; margin-top: 28px; flex-wrap: wrap; }
.hero-art {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-art img {
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  filter: drop-shadow(0 0 40px rgba(216,31,42,0.35));
}
.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 40px;
  flex-wrap: wrap;
}
.hero-stats div { border-left: 2px solid var(--red-bright); padding-left: 12px; }
.hero-stats strong { display: block; font-size: 1.6rem; font-weight: 800; }
.hero-stats span { font-size: 0.72rem; color: var(--grey-dim); text-transform: uppercase; letter-spacing: 0.06em; }

/* ---------- Sections ---------- */
section { padding: 72px 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 36px; flex-wrap: wrap; }
.section-head p { max-width: 520px; margin: 0; }

.badge-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.badge-card {
  background: var(--black-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  text-align: center;
}
.badge-card .icon { font-size: 1.8rem; margin-bottom: 10px; }
.badge-card h4 { margin: 0 0 6px; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.05em; }
.badge-card p { font-size: 0.82rem; margin: 0; }

/* ---------- Product grid / cards ---------- */
.filter-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}
.filter-btn {
  background: var(--black-2);
  border: 1px solid var(--border);
  color: var(--grey);
  padding: 8px 16px;
  border-radius: 30px;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.filter-btn.active, .filter-btn:hover { border-color: var(--red-bright); color: var(--white); }

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.product-card {
  background: var(--black-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.18s ease, transform 0.18s ease;
}
.product-card:hover { border-color: var(--red-dim); transform: translateY(-3px); }
.product-thumb {
  aspect-ratio: 1 / 1;
  background: radial-gradient(circle at 30% 20%, rgba(216,31,42,0.25), var(--black-3) 70%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  border-bottom: 1px solid var(--border);
}
.product-thumb .vial { width: 46%; display: block; }
.vial svg, .pd-vial svg { width: 100%; height: 100%; display: block; }
.product-purity {
  position: absolute;
  top: 10px; left: 10px;
  background: rgba(0,0,0,0.6);
  border: 1px solid var(--red-dim);
  color: var(--red-bright);
  font-size: 0.65rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 20px;
  letter-spacing: 0.04em;
}
.product-body { padding: 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.product-body h3 { margin: 0; }
.product-body .cat { font-size: 0.68rem; color: var(--grey-dim); text-transform: uppercase; letter-spacing: 0.08em; }
.product-body .desc { font-size: 0.82rem; margin: 0; flex: 1; }
.product-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; }
.price { font-size: 1.1rem; font-weight: 800; color: var(--white); }
.price .unit { font-size: 0.7rem; color: var(--grey-dim); font-weight: 500; }
.add-btn {
  background: transparent;
  border: 1px solid var(--red-bright);
  color: var(--red-bright);
  padding: 8px 14px;
  border-radius: 4px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.add-btn:hover { background: var(--red-bright); color: var(--white); }

/* ---------- Product detail ---------- */
.product-detail-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: start;
}
.pd-image {
  background: radial-gradient(circle at 30% 20%, rgba(216,31,42,0.25), var(--black-3) 70%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  aspect-ratio: 1/1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pd-image img { width: 40%; }
.pd-meta-row { display: flex; gap: 10px; flex-wrap: wrap; margin: 14px 0 22px; }
.pill {
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 5px 12px;
  font-size: 0.7rem;
  color: var(--grey);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.pd-price { font-size: 2rem; font-weight: 800; margin: 10px 0 18px; }
.qty-row { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.qty-control { display: flex; align-items: center; border: 1px solid var(--border); border-radius: 4px; }
.qty-control button { background: none; border: none; color: var(--white); width: 36px; height: 40px; font-size: 1.1rem; }
.qty-control input { width: 44px; text-align: center; background: none; border: none; color: var(--white); font-size: 0.95rem; }
.pd-actions { display: flex; gap: 14px; margin-bottom: 30px; flex-wrap: wrap; }
.pd-tabs { border-top: 1px solid var(--border); padding-top: 24px; }
.pd-tabs h4 { text-transform: uppercase; font-size: 0.8rem; letter-spacing: 0.06em; color: var(--red-bright); margin-bottom: 10px; }
.pd-tabs ul { margin: 0 0 20px; }
.pd-tabs li { color: var(--grey); font-size: 0.88rem; padding: 6px 0; border-bottom: 1px dashed var(--border); }

/* ---------- Cart ---------- */
.cart-table { width: 100%; border-collapse: collapse; margin-bottom: 30px; }
.cart-table th {
  text-align: left; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--grey-dim); border-bottom: 1px solid var(--border); padding: 10px 8px;
}
.cart-table td { padding: 16px 8px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.cart-item-info { display: flex; align-items: center; gap: 14px; }
.cart-item-thumb { width: 56px; height: 56px; border-radius: 6px; background: radial-gradient(circle at 30% 20%, rgba(216,31,42,0.3), var(--black-3) 70%); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; }
.cart-item-thumb img { width: 55%; }
.remove-link { color: var(--grey-dim); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.04em; }
.remove-link:hover { color: var(--red-bright); }
.cart-empty { text-align: center; padding: 60px 20px; color: var(--grey); }

.summary-box {
  background: var(--black-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
}
.summary-row { display: flex; justify-content: space-between; font-size: 0.9rem; color: var(--grey); margin-bottom: 12px; }
.summary-row.total { color: var(--white); font-weight: 800; font-size: 1.1rem; border-top: 1px solid var(--border); padding-top: 14px; margin-top: 14px; }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-field { margin-bottom: 16px; display: flex; flex-direction: column; gap: 6px; }
.form-field.full { grid-column: 1 / -1; }
label { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--grey-dim); font-weight: 700; }
input, select, textarea {
  background: var(--black-2);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 12px 14px;
  color: var(--white);
  font-size: 0.9rem;
  font-family: inherit;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--red-bright); }
.checkbox-row { display: flex; align-items: flex-start; gap: 10px; font-size: 0.82rem; color: var(--grey); }
.checkbox-row input { width: 16px; height: 16px; margin-top: 3px; }

/* ---------- Cards / misc content ---------- */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.info-card { background: var(--black-2); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; }
.step-list { counter-reset: step; }
.step-list li { counter-increment: step; position: relative; padding-left: 44px; margin-bottom: 22px; }
.step-list li::before {
  content: counter(step);
  position: absolute; left: 0; top: 0;
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--red-dim); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 0.85rem;
}
.step-list h4 { margin: 0 0 4px; font-size: 0.95rem; }
.step-list p { margin: 0; font-size: 0.85rem; }

table.coa-table { width: 100%; border-collapse: collapse; margin: 20px 0; }
table.coa-table th, table.coa-table td { border: 1px solid var(--border); padding: 10px 12px; font-size: 0.85rem; text-align: left; }
table.coa-table th { background: var(--black-3); color: var(--red-bright); text-transform: uppercase; font-size: 0.7rem; letter-spacing: 0.05em; }
table.coa-table td { color: var(--grey); }

/* ---------- CTA banner ---------- */
.cta-banner {
  background: linear-gradient(135deg, var(--red-dim), var(--black-3));
  border: 1px solid var(--red-dim);
  border-radius: var(--radius);
  padding: 48px;
  text-align: center;
}
.cta-banner h2 { margin-bottom: 10px; }
.cta-banner p { max-width: 520px; margin: 0 auto 24px; }

/* ---------- Footer ---------- */
footer.site-footer {
  border-top: 1px solid var(--border);
  padding: 56px 0 26px;
  margin-top: auto;
  background: var(--black-2);
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; margin-bottom: 40px; }
.footer-grid h4 { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--red-bright); margin-bottom: 16px; }
.footer-grid li { margin-bottom: 10px; }
.footer-grid a, .footer-grid span { font-size: 0.85rem; color: var(--grey); }
.footer-grid a:hover { color: var(--white); }
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.05em; }
.footer-brand img { height: 34px; width: 34px; border-radius: 50%; }
.footer-disclaimer { font-size: 0.72rem; color: var(--grey-dim); line-height: 1.7; border-top: 1px solid var(--border); padding-top: 22px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; margin-top: 20px; font-size: 0.75rem; color: var(--grey-dim); flex-wrap: wrap; gap: 10px; }

/* ---------- RUO / Age gate modal ---------- */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.85);
  display: flex; align-items: center; justify-content: center;
  z-index: 999; padding: 20px;
  backdrop-filter: blur(4px);
}
.modal-overlay[hidden] { display: none; }
.modal-box {
  background: var(--black-2);
  border: 1px solid var(--red-dim);
  border-radius: var(--radius);
  max-width: 480px;
  width: 100%;
  padding: 34px;
  text-align: center;
  box-shadow: var(--shadow-red);
}
.modal-box img { height: 54px; margin: 0 auto 16px; }
.modal-box h3 { text-transform: uppercase; margin-bottom: 12px; }
.modal-box p { font-size: 0.85rem; }
.modal-actions { display: flex; gap: 12px; margin-top: 22px; }

/* ---------- Page header (inner pages) ---------- */
.page-header { padding: 56px 0 30px; border-bottom: 1px solid var(--border); }
.breadcrumb { font-size: 0.75rem; color: var(--grey-dim); text-transform: uppercase; letter-spacing: 0.05em; }
.breadcrumb a:hover { color: var(--red-bright); }

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.mt-40 { margin-top: 40px; }
.notice-box {
  border: 1px solid var(--red-dim);
  background: rgba(216,31,42,0.08);
  border-radius: var(--radius);
  padding: 20px 24px;
  font-size: 0.85rem;
  color: var(--grey);
}
.notice-box strong { color: var(--white); }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid, .product-detail-grid, .two-col { grid-template-columns: 1fr; }
  .hero-art { order: -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .badge-row { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  nav.main-nav { position: fixed; top: 68px; left: 0; right: 0; background: var(--black-2); border-bottom: 1px solid var(--border); flex-direction: column; padding: 10px 24px; display: none; }
  nav.main-nav.open { display: block; }
  nav.main-nav ul { flex-direction: column; gap: 0; }
  nav.main-nav li { border-bottom: 1px solid var(--border); }
  nav.main-nav a { display: block; padding: 14px 0; }
  .nav-toggle { display: block; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 560px) {
  .product-grid { grid-template-columns: 1fr 1fr; }
  .badge-row { grid-template-columns: 1fr; }
}
