/*
Theme Name: Proforma Peptides Astra Child
Template: astra
Version: 1.0.0
Text Domain: proforma-astra-child
*/

:root {
  --pf-ink: #111827;
  --pf-muted: #667085;
  --pf-line: #e6edf2;
  --pf-blue: #0a6fb7;
  --pf-teal: #15a6a6;
  --pf-surface: #f6fafc;
}

body {
  color: var(--pf-ink);
  background: #ffffff;
}

.site-footer {
  display: none;
}

a,
.ast-builder-menu-1 .menu-item > .menu-link {
  transition: color 160ms ease, background-color 160ms ease, transform 160ms ease;
}

.main-header-bar,
.ast-primary-header-bar {
  border-bottom: 1px solid rgba(17, 24, 39, 0.08);
  box-shadow: 0 12px 36px rgba(17, 24, 39, 0.05);
}

.site-title a {
  letter-spacing: 0;
  font-weight: 800;
}

.proforma-hero {
  position: relative;
  overflow: hidden;
  min-height: 620px;
  display: grid;
  align-items: center;
  background: linear-gradient(110deg, #061822 0%, #0d3348 44%, #edf9fb 44%, #ffffff 100%);
}

.proforma-hero__inner {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.8fr);
  gap: 58px;
  align-items: center;
}

.proforma-kicker,
.proforma-eyebrow {
  color: var(--pf-teal);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.82rem;
}

.proforma-hero h1 {
  color: #ffffff;
  font-size: clamp(3.1rem, 6vw, 5.8rem);
  line-height: 0.94;
  margin: 14px 0 22px;
}

.proforma-hero p {
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.08rem;
  max-width: 560px;
}

.proforma-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.proforma-button,
.proforma-button-alt,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
  border-radius: 6px;
  font-weight: 800;
  letter-spacing: 0;
}

.proforma-button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.single_add_to_cart_button {
  background: var(--pf-blue);
  color: #ffffff;
  padding: 14px 22px;
}

.proforma-button:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.single_add_to_cart_button:hover {
  background: #07598f;
  color: #ffffff;
  transform: translateY(-1px);
}

.proforma-button-alt {
  border: 1px solid rgba(255, 255, 255, 0.42);
  color: #ffffff;
  padding: 13px 21px;
}

.proforma-hero__media {
  position: relative;
  min-height: 450px;
  display: grid;
  place-items: center;
}

.proforma-hero__media::before {
  content: "";
  position: absolute;
  width: 430px;
  height: 430px;
  border-radius: 50%;
  background: #dff5f7;
  box-shadow: 0 28px 90px rgba(10, 111, 183, 0.18);
}

.proforma-hero__media img {
  position: relative;
  width: min(430px, 92%);
  height: auto;
  filter: drop-shadow(0 36px 42px rgba(17, 24, 39, 0.22));
  transform: rotate(-3deg);
}

.proforma-trust {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--pf-line);
  border-top: 1px solid var(--pf-line);
  border-bottom: 1px solid var(--pf-line);
}

.proforma-trust div {
  background: #ffffff;
  padding: 22px 24px;
  font-weight: 800;
  color: var(--pf-ink);
}

.proforma-trust span {
  display: block;
  margin-top: 5px;
  color: var(--pf-muted);
  font-weight: 500;
  font-size: 0.92rem;
}

.proforma-section {
  width: min(1180px, calc(100% - 40px));
  margin: 80px auto;
}

.proforma-section__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 30px;
}

.proforma-section h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1;
  margin: 8px 0 0;
}

.proforma-section__head p,
.proforma-split p,
.proforma-final p {
  color: var(--pf-muted);
  max-width: 560px;
}

.proforma-categories {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--pf-line);
  border-left: 1px solid var(--pf-line);
}

.proforma-category {
  min-height: 250px;
  padding: 26px;
  border-right: 1px solid var(--pf-line);
  border-bottom: 1px solid var(--pf-line);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-decoration: none;
  background: #ffffff;
}

.proforma-category:hover {
  background: var(--pf-surface);
  transform: translateY(-2px);
}

.proforma-category span {
  color: var(--pf-muted);
  font-weight: 700;
}

.proforma-category strong {
  color: var(--pf-ink);
  font-size: 1.28rem;
  line-height: 1.15;
}

.proforma-split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: center;
  background: var(--pf-surface);
  padding: 70px max(40px, calc((100vw - 1180px) / 2));
}

.proforma-split img {
  width: 100%;
  max-width: 460px;
  margin: 0 auto;
  display: block;
  filter: drop-shadow(0 28px 34px rgba(17, 24, 39, 0.16));
}

.proforma-list {
  display: grid;
  gap: 16px;
  margin-top: 26px;
}

.proforma-list div {
  border-top: 1px solid var(--pf-line);
  padding-top: 16px;
  font-weight: 800;
}

.proforma-list span {
  display: block;
  color: var(--pf-muted);
  font-weight: 500;
  margin-top: 4px;
}

.proforma-final {
  color: #ffffff;
  background: #071923;
  padding: 72px max(40px, calc((100vw - 1180px) / 2));
}

.proforma-final p {
  color: rgba(255, 255, 255, 0.72);
}

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
  border: 1px solid var(--pf-line);
  padding: 18px 18px 22px;
  border-radius: 8px;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.woocommerce ul.products li.product:hover,
.woocommerce-page ul.products li.product:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 42px rgba(17, 24, 39, 0.08);
}

.woocommerce ul.products li.product img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  border-radius: 6px;
  background: var(--pf-surface);
}

.woocommerce div.product div.images img {
  width: auto;
  max-width: 100%;
  margin: 0 auto;
  object-fit: contain;
  background: var(--pf-surface);
}

.woocommerce-loop-product__title {
  min-height: 46px;
}

.price,
.woocommerce div.product p.price,
.woocommerce div.product span.price {
  color: var(--pf-blue);
  font-weight: 800;
}

.proforma-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.proforma-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 920px) {
  .proforma-hero {
    min-height: auto;
    padding: 74px 0 44px;
    background: linear-gradient(180deg, #061822 0%, #0d3348 58%, #edf9fb 58%, #ffffff 100%);
  }

  .proforma-hero__inner,
  .proforma-split {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .proforma-hero__media {
    min-height: 320px;
  }

  .proforma-hero__media::before {
    width: 300px;
    height: 300px;
  }

  .proforma-trust,
  .proforma-categories {
    grid-template-columns: repeat(2, 1fr);
  }

  .proforma-section__head {
    display: block;
  }
}

@media (max-width: 560px) {
  .proforma-trust,
  .proforma-categories {
    grid-template-columns: 1fr;
  }

  .proforma-section {
    margin: 56px auto;
  }

  .proforma-actions {
    display: grid;
  }
}

/* Legacy .pf-* home design removed 2026-09-09: it collided with the current
   .pf-* namespace in assets/site.css + assets/home.css. Full original kept at
   output/style.css.legacy-backup in the project repo. */
