/* ThriveWell Living — Peptides Catalog
   Palette: teal #007873 · gold #F2CC7F · sage #6A9B82 · slate #4E6E98 · cream #F2E394 */

:root {
  --teal: #007873;
  --teal-dark: #005e5a;
  --teal-deeper: #004844;
  --gold: #F2CC7F;
  --gold-soft: #f8e4b8;
  --sage: #6A9B82;
  --sage-soft: #d8ebe1;
  --slate: #4E6E98;
  --slate-soft: #dce5f0;
  --cream: #F2E394;
  --cream-pale: #faf6e0;
  --cream-bg: #fbf8f0;
  --white: #fff;
  --ink: #1a2a28;
  --ink-muted: #4a5c58;
  --ink-soft: #6b7c78;
  --border: #cfe0dc;
  --border-soft: #e5efec;
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 20px;
  --shadow: 0 4px 24px rgba(0, 72, 68, 0.07);
  --shadow-md: 0 8px 32px rgba(0, 72, 68, 0.1);
  --font: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
  --font-display: Georgia, "Palatino Linotype", "Times New Roman", serif;
  --max: 1120px;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream-bg);
  min-height: 100vh;
}
img { max-width: 100%; display: block; }
a { color: var(--teal); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--teal-dark); }

.wrap { width: min(100% - 2rem, var(--max)); margin-inline: auto; }
.section { padding: 3.5rem 0; }
.section--alt { background: linear-gradient(180deg, var(--sage-soft) 0%, var(--cream-bg) 100%); }

.section__eyebrow {
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--teal); margin-bottom: 0.5rem;
}
.section__title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 500; color: var(--teal-deeper); line-height: 1.25; margin-bottom: 0.75rem;
}
.section__lead { color: var(--ink-muted); max-width: 36rem; margin-bottom: 1.5rem; font-size: 1.05rem; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(251, 248, 240, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-soft);
  height: var(--header-h);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--header-h); gap: 1rem;
}
.logo { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; color: inherit; }
.logo:hover { color: inherit; }
.logo__mark {
  width: auto; height: 52px; max-width: 64px;
  object-fit: contain; object-position: center;
  flex-shrink: 0; background: transparent;
}
.logo__text { display: flex; flex-direction: column; line-height: 1.15; }
.logo__brand { font-family: var(--font-display); font-size: 1.05rem; font-weight: 600; color: var(--teal-deeper); }
.logo__path { font-size: 0.7rem; color: var(--slate); letter-spacing: 0.02em; font-weight: 600; }

.nav-toggle {
  display: flex; flex-direction: column; gap: 5px;
  background: none; border: none; padding: 0.5rem; cursor: pointer;
}
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--teal); border-radius: 1px; }

.site-nav {
  display: none; position: absolute; top: var(--header-h); left: 0; right: 0;
  background: var(--cream-bg); border-bottom: 1px solid var(--border);
  padding: 1rem 1.5rem 1.25rem; flex-direction: column; gap: 0.25rem;
}
.site-nav.is-open { display: flex; }
.site-nav a {
  text-decoration: none; color: var(--ink); padding: 0.65rem 0.75rem;
  border-radius: var(--radius-sm); font-weight: 500; font-size: 0.95rem;
}
.site-nav a:hover { background: var(--sage-soft); color: var(--teal-deeper); }
.site-nav a.is-active { color: var(--teal); font-weight: 700; }

@media (min-width: 768px) {
  .nav-toggle { display: none; }
  .site-nav {
    display: flex; position: static; flex-direction: row; align-items: center;
    background: transparent; border: none; padding: 0; gap: 0.15rem;
  }
  .site-nav a { padding: 0.4rem 0.75rem; font-size: 0.875rem; }
}

.pickup-banner {
  background: var(--teal); color: #e8f6f5; text-align: center;
  padding: 0.7rem 1rem; font-size: 0.875rem; font-weight: 500;
}
.pickup-banner strong { color: var(--gold); }

/* Hero */
.hero {
  padding: 3rem 0 3.5rem;
  background:
    radial-gradient(ellipse 70% 55% at 80% 10%, rgba(242, 204, 127, 0.35) 0%, transparent 55%),
    radial-gradient(ellipse 50% 40% at 10% 80%, rgba(106, 155, 130, 0.2) 0%, transparent 50%),
    linear-gradient(180deg, var(--cream-pale) 0%, var(--cream-bg) 100%);
}
.hero__grid { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 900px) {
  .hero__grid { grid-template-columns: 1.15fr 0.85fr; gap: 3rem; }
}
.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 2.85rem);
  font-weight: 500; color: var(--teal-deeper); line-height: 1.2; margin-bottom: 1rem;
}
.hero__title em { font-style: italic; color: var(--teal); }
.hero__text { color: var(--ink-muted); font-size: 1.1rem; max-width: 32rem; margin-bottom: 1.5rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 1.25rem; }
.hero__brand-mark {
  width: min(100%, 420px); height: auto; margin: 0 auto 1.25rem;
  object-fit: contain; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.hero-card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 1.5rem; box-shadow: var(--shadow);
}
.hero-card h3 { font-family: var(--font-display); font-size: 1.15rem; color: var(--teal-deeper); margin-bottom: 0.75rem; }
.hero-card ul { list-style: none; display: flex; flex-direction: column; gap: 0.65rem; }
.hero-card li {
  display: flex; gap: 0.65rem; align-items: flex-start;
  font-size: 0.925rem; color: var(--ink-muted);
}
.hero-card li::before {
  content: ""; flex-shrink: 0; width: 8px; height: 8px; margin-top: 0.45rem;
  border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 3px rgba(0, 120, 115, 0.15);
}
.hero-card .note {
  margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--border-soft);
  font-size: 0.85rem; color: var(--teal); font-weight: 700;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
  padding: 0.7rem 1.25rem; border-radius: 999px; font-size: 0.925rem; font-weight: 600;
  text-decoration: none; border: 2px solid transparent; cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s; font-family: inherit; line-height: 1.3;
}
.btn--primary { background: var(--teal); color: #fff; border-color: var(--teal); }
.btn--primary:hover { background: var(--teal-dark); border-color: var(--teal-dark); color: #fff; }
.btn--secondary { background: transparent; color: var(--teal); border-color: var(--sage); }
.btn--secondary:hover { background: var(--sage-soft); color: var(--teal-deeper); }
.btn--gold { background: var(--gold); color: var(--teal-deeper); border-color: var(--gold); }
.btn--gold:hover { background: #e8bc65; border-color: #e8bc65; color: var(--teal-deeper); }
.btn--telegram { background: var(--slate); color: #fff; border-color: var(--slate); }
.btn--telegram:hover { background: #3d5a80; border-color: #3d5a80; color: #fff; }
.btn--inquire {
  width: 100%; margin-top: auto; background: var(--sage-soft); color: var(--teal-deeper);
  border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 0.6rem 1rem; font-size: 0.85rem;
}
.btn--inquire:hover { background: var(--teal); color: #fff; border-color: var(--teal); }

/* Category chips */
.category-filters {
  display: flex; flex-wrap: wrap; gap: 0.5rem;
  margin-bottom: 1.75rem;
}
.chip {
  appearance: none; border: 1px solid var(--border);
  background: var(--white); color: var(--ink-muted);
  font-family: inherit; font-size: 0.82rem; font-weight: 600;
  padding: 0.45rem 0.9rem; border-radius: 999px; cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s, box-shadow 0.15s;
}
.chip:hover { border-color: var(--sage); color: var(--teal-deeper); background: var(--sage-soft); }
.chip.is-active {
  background: var(--teal); color: #fff; border-color: var(--teal);
  box-shadow: 0 2px 8px rgba(0, 120, 115, 0.25);
}
.filter-empty {
  grid-column: 1 / -1; text-align: center; color: var(--ink-muted);
  padding: 2rem; background: var(--white); border-radius: var(--radius); border: 1px dashed var(--border);
}

/* Ask band */
.ask-band {
  margin-top: 2.5rem;
  background: linear-gradient(135deg, var(--teal-deeper) 0%, var(--teal) 55%, #0a9a93 100%);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  box-shadow: var(--shadow-md);
  color: #e8f6f5;
}
.ask-band__inner { max-width: 40rem; }
.ask-band__title {
  font-family: var(--font-display); font-size: clamp(1.25rem, 3vw, 1.6rem);
  font-weight: 500; color: #fff; margin-bottom: 0.5rem; line-height: 1.3;
}
.ask-band__text { color: #c5e8e4; font-size: 1rem; margin-bottom: 1.25rem; }
.ask-band__actions { display: flex; flex-wrap: wrap; gap: 0.65rem; }
.ask-band .btn--primary {
  background: var(--gold); color: var(--teal-deeper); border-color: var(--gold);
}
.ask-band .btn--primary:hover { background: #fff; border-color: #fff; color: var(--teal-deeper); }
.ask-band .btn--telegram {
  background: transparent; color: #fff; border-color: rgba(255,255,255,0.45);
}
.ask-band .btn--telegram:hover { background: rgba(255,255,255,0.12); border-color: #fff; color: #fff; }

/* Products */
.product-grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 560px) { .product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .product-grid { grid-template-columns: repeat(3, 1fr); } }

.product-card {
  display: flex; flex-direction: column; background: var(--white);
  border: 1px solid var(--border-soft); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.product-card:hover { border-color: var(--sage); box-shadow: var(--shadow-md); }
.product-card__media {
  position: relative; aspect-ratio: 3/4;
  background: linear-gradient(160deg, var(--cream-pale), var(--sage-soft)); overflow: hidden;
}
.product-card__img { width: 100%; height: 100%; object-fit: cover; }
.product-card__img.is-missing { display: none; }
.product-card__placeholder {
  display: none; position: absolute; inset: 0; flex-direction: column;
  align-items: center; justify-content: center; gap: 0.5rem;
  color: var(--teal); font-size: 0.8rem; font-weight: 600; text-align: center; padding: 1rem;
}
.product-card__media.has-placeholder .product-card__placeholder { display: flex; }
.product-card__placeholder-icon { font-size: 2rem; color: var(--gold); line-height: 1; }
.product-card__body { display: flex; flex-direction: column; flex: 1; padding: 1.25rem; }
.product-card__badge {
  display: inline-block; align-self: flex-start; font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--slate);
  background: var(--slate-soft); padding: 0.25rem 0.55rem; border-radius: 999px; margin-bottom: 0.75rem;
}
.product-card__name {
  font-family: var(--font-display); font-size: 1.2rem; font-weight: 600;
  color: var(--teal-deeper); margin-bottom: 0.5rem; line-height: 1.3;
}
.product-card__desc { font-size: 0.875rem; color: var(--ink-muted); margin-bottom: 0.5rem; flex-grow: 1; }
.product-card__size { font-size: 0.8rem; color: var(--ink-soft); margin-bottom: 0.85rem; }
.product-card__pricing {
  margin-bottom: 1rem; padding: 0.75rem 0;
  border-top: 1px solid var(--border-soft); border-bottom: 1px solid var(--border-soft);
}
.price-main { display: flex; align-items: baseline; gap: 0.5rem; flex-wrap: wrap; }
.price-amount { font-size: 1.5rem; font-weight: 700; color: var(--teal); letter-spacing: -0.02em; }
.price-tier-tag {
  font-size: 0.75rem; font-weight: 600; color: var(--ink-soft);
  text-transform: uppercase; letter-spacing: 0.04em;
}
.price-row { display: flex; justify-content: space-between; align-items: baseline; gap: 0.5rem; margin-bottom: 0.35rem; }
.price-label {
  font-size: 0.8rem; font-weight: 600; color: var(--ink-soft);
  text-transform: uppercase; letter-spacing: 0.04em;
}
.price-regular { font-size: 1rem; color: var(--ink-soft); text-decoration: line-through; }
.price-row--member .price-amount { font-size: 1.45rem; }

.size-options__heading {
  font-size: 0.72rem; font-weight: 700; color: var(--ink-soft);
  text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 0.55rem;
}
.size-options { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.4rem; }
.size-option {
  display: flex; justify-content: space-between; align-items: baseline; gap: 0.75rem;
  font-size: 0.95rem;
}
.size-option__label { color: var(--ink-muted); font-weight: 600; }
.size-option__price { color: var(--teal); font-weight: 700; font-size: 1.05rem; }

.price-save-badge {
  margin-top: 0.5rem; display: inline-block; font-size: 0.8rem; font-weight: 700;
  color: var(--teal-deeper); background: var(--gold-soft); padding: 0.3rem 0.65rem; border-radius: 999px;
}

/* Steps */
.steps { display: grid; gap: 1.25rem; }
@media (min-width: 700px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step {
  background: var(--white); border: 1px solid var(--border-soft);
  border-radius: var(--radius); padding: 1.5rem;
}
.step__num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2rem; height: 2rem; border-radius: 50%; background: var(--teal); color: #fff;
  font-size: 0.85rem; font-weight: 700; margin-bottom: 0.85rem;
}
.step h3 { font-size: 1.05rem; color: var(--teal-deeper); margin-bottom: 0.4rem; }
.step p { font-size: 0.9rem; color: var(--ink-muted); }

/* Contact */
.contact-panel { display: grid; gap: 1.5rem; }
@media (min-width: 700px) { .contact-panel { grid-template-columns: 1fr 1fr; } }
.contact-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 1.75rem; box-shadow: var(--shadow);
}
.contact-card--primary {
  background: linear-gradient(145deg, var(--teal-deeper) 0%, var(--teal) 100%);
  border-color: var(--teal); color: #d4f0ed;
}
.contact-card--primary h3 { color: #fff; }
.contact-card--primary p { color: #b8e0db; }
.contact-card h3 {
  font-family: var(--font-display); font-size: 1.25rem; margin-bottom: 0.5rem; color: var(--teal-deeper);
}
.contact-card p { font-size: 0.95rem; color: var(--ink-muted); margin-bottom: 1.25rem; }
.contact-card .btn { width: 100%; }
.contact-card--primary .btn--primary {
  background: var(--gold); color: var(--teal-deeper); border-color: var(--gold);
}
.contact-card--primary .btn--primary:hover { background: #fff; border-color: #fff; }

.pickup-callout {
  margin-top: 1.5rem; padding: 1.25rem 1.5rem; background: var(--gold-soft);
  border: 1px solid var(--gold); border-radius: var(--radius); text-align: center;
}
.pickup-callout strong { display: block; color: var(--teal-deeper); font-size: 1rem; margin-bottom: 0.25rem; }
.pickup-callout span { font-size: 0.9rem; color: var(--ink-muted); }

/* Members gate */
.gate-panel {
  max-width: 420px; margin: 2rem auto; background: var(--white);
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 2rem 1.75rem; box-shadow: var(--shadow-md); text-align: center;
}
.gate-panel__logo {
  width: auto; height: 80px; max-width: 96px; object-fit: contain; margin: 0 auto 1rem; display: block;
}
.gate-panel h1 { font-family: var(--font-display); font-size: 1.5rem; color: var(--teal-deeper); margin-bottom: 0.5rem; }
.gate-panel p { font-size: 0.95rem; color: var(--ink-muted); margin-bottom: 1.25rem; }
.gate-panel label {
  display: block; text-align: left; font-size: 0.8rem; font-weight: 700;
  color: var(--slate); margin-bottom: 0.35rem; text-transform: uppercase; letter-spacing: 0.04em;
}
.gate-panel input[type="password"] {
  width: 100%; padding: 0.75rem 1rem; border: 1px solid var(--border);
  border-radius: var(--radius-sm); font-size: 1rem; font-family: inherit;
  margin-bottom: 0.75rem; background: var(--cream-bg);
}
.gate-panel input[type="password"]:focus {
  outline: 2px solid var(--teal); outline-offset: 1px; border-color: var(--teal);
}
.gate-error { color: #a33; font-size: 0.85rem; font-weight: 600; margin-bottom: 0.75rem; }

.members-note {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 0.75rem; margin-bottom: 1.5rem; padding: 0.85rem 1.1rem;
  background: var(--gold-soft); border: 1px solid var(--gold); border-radius: var(--radius);
  font-size: 0.9rem; color: var(--teal-deeper); font-weight: 600;
}

/* Footer */
.site-footer {
  background: var(--teal-deeper); color: #9dccc8;
  padding: 2.5rem 0 2rem; margin-top: 1rem;
}
.site-footer__brand { font-family: var(--font-display); font-size: 1.15rem; color: #fff; margin-bottom: 0.35rem; }
.site-footer__meta { font-size: 0.85rem; margin-bottom: 1.5rem; }
.site-footer__meta a { color: var(--gold); }
.disclaimer {
  font-size: 0.75rem; line-height: 1.55; color: #7ab5b0; max-width: 48rem;
  padding-top: 1.25rem; border-top: 1px solid rgba(255,255,255,0.12);
}
.disclaimer strong { color: #b8e0db; }
.footer-bottom { margin-top: 1.5rem; font-size: 0.8rem; color: #5a9e99; }
.footer-logos { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; margin-bottom: 1.25rem; }
.footer-logos img { height: 40px; width: auto; border-radius: 6px; opacity: 0.9; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); border: 0;
}

.size-option--member .size-option__prices {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.45rem; justify-content: flex-end;
}
.size-option--member .price-regular { font-size: 0.85rem; }
.size-option--member .price-save-badge { margin-top: 0; }
