/* ==============================================
   css/bioprime.css — BIOPRIME-specific styles
   Extends the Axiom design system for BIOPRIME
   ============================================== */

/* ── Book Cover Display (About section) ── */
.book-cover-display {
  position: relative;
  width: 280px;
  height: 380px;
  margin: 0 auto;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(0,0,0,0.6), 0 0 0 1px var(--bdr);
}

.book-cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: var(--r-lg);
}

.book-cover-fallback {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--navy), var(--graph));
  border-radius: var(--r-lg);
}

/* ── Author Photo ── */
.author-avatar {
  position: relative;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--graph);
}

.author-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.author-initials {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 800;
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

/* ── Author Socials ── */
.author-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.social-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 16px;
  border: 1px solid var(--bdr);
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  transition: border-color var(--dur-fast), color var(--dur-fast), background var(--dur-fast);
}
.social-pill:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: var(--glass-gold);
}

/* ── About intro + target list ── */
.target-list-axiom {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 28px;
}

.target-list-axiom li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--muted);
}

/* ── Modal Order Summary ── */
.modal-order-summary {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--bdr);
  border-radius: var(--r-md);
  padding: 14px 16px;
  margin-bottom: 20px;
}

.mos-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--muted);
  padding: 3px 0;
}

.mos-discount { color: var(--emerald); }

.mos-total {
  border-top: 1px solid var(--bdr);
  margin-top: 8px;
  padding-top: 8px;
  font-weight: 700;
  font-size: 15px;
  color: var(--txt);
}

/* ── Contact Form ── */
.contact-wrap {
  max-width: 560px;
  margin: 0 auto;
}

.contact-form-axiom {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact-textarea {
  resize: vertical;
  min-height: 130px;
}

.contact-success {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  background: rgba(16,185,129,0.1);
  border: 1px solid rgba(16,185,129,0.3);
  border-radius: var(--r-md);
  color: var(--emerald);
  font-size: 14px;
  font-weight: 600;
}

.contact-success.hidden { display: none; }

/* ── Footer Socials ── */
.footer-socials {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.footer-social-link {
  width: 36px;
  height: 36px;
  border: 1px solid var(--bdr);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 15px;
  transition: border-color var(--dur-fast), color var(--dur-fast);
}

.footer-social-link:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* ── Responsive adjustments ── */
@media (max-width: 600px) {
  .book-cover-display {
    width: 220px;
    height: 300px;
  }
  .author-socials {
    justify-content: center;
  }
}
