/* RenU Peptide Shop — styles */

:root {
  --renu-black: #0b0b0c;
  --renu-red: #a6151f;
  --renu-red-bright: #c8202b;
  --renu-silver: #b9bcc2;
  --renu-silver-light: #e9eaec;
  --bg: #f7f6f4;
  --card-bg: #ffffff;
  --text: #1c1c1e;
  --text-muted: #62666d;
  --border: #e3e2df;
  --radius: 14px;
  --shadow: 0 2px 10px rgba(0,0,0,0.06);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.18);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.5;
}

a { color: inherit; }

img { max-width: 100%; display: block; }

/* ---------- Header ---------- */

.site-header {
  background: var(--renu-black);
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 2px 12px rgba(0,0,0,0.35);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-logo {
  height: 150px;
  width: auto;
  max-width: 50vw;
  object-fit: contain;
  display: block;
}

@media (max-width: 720px) {
  .header-logo {
    height: 84px;
    max-width: 62vw;
  }
}

.footer-logo {
  height: 150px;
  width: auto;
  margin: 0 auto 10px;
  display: block;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.contact-link {
  color: var(--renu-silver);
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color .15s ease, border-color .15s ease;
}

.contact-link:hover {
  color: #fff;
  border-color: rgba(255,255,255,0.5);
}

@media (max-width: 560px) {
  .contact-link { display: none; }
}

.cart-btn {
  position: relative;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: background .15s ease, border-color .15s ease;
}

.cart-btn:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.5);
}

.cart-count {
  background: var(--renu-red);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  min-width: 20px;
  height: 20px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}

/* ---------- Hero ---------- */

.hero {
  background: linear-gradient(180deg, #111113 0%, var(--renu-black) 100%);
  color: #fff;
  text-align: center;
  padding: 56px 20px 44px;
}

.hero h1 {
  margin: 0 0 12px;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  letter-spacing: -0.01em;
}

.hero h1 span {
  color: var(--renu-red-bright);
}

.hero p {
  max-width: 640px;
  margin: 0 auto;
  color: var(--renu-silver);
  font-size: 16px;
}

.patient-profile-btn {
  display: inline-block;
  margin-top: 22px;
  padding: 12px 24px;
  border-radius: 999px;
  background: var(--renu-red);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: background .15s ease;
}

.patient-profile-btn:hover {
  background: var(--renu-red-bright);
}

.patient-profile-note {
  background: #fbe9e9;
  border: 1px solid #f3c9cb;
  color: var(--text);
  font-size: 13px;
  border-radius: 8px;
  padding: 10px 14px;
  margin-bottom: 16px;
}

.patient-profile-note a {
  color: var(--renu-red);
  font-weight: 700;
}

/* ---------- About / Mission ---------- */

.about {
  background: var(--renu-black);
}

.about-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 64px 20px 40px;
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 50px;
  align-items: center;
}

.about-photo img {
  width: 100%;
  max-width: 340px;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  display: block;
  margin: 0 auto;
}

.about-headline {
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 800;
  color: var(--renu-red-bright);
  margin: 0 0 18px;
}

.about-mission {
  font-size: 16.5px;
  line-height: 1.7;
  color: #fff;
  margin: 0 0 16px;
}

.about-signature {
  font-size: 14px;
  font-weight: 700;
  color: var(--renu-silver);
  margin-top: 4px;
}

.about-title {
  font-weight: 400;
  font-size: 12.5px;
  line-height: 1.6;
  color: #9a9ea5;
  margin-top: 4px;
}

.about-title em {
  font-style: italic;
}

@media (max-width: 720px) {
  .about-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .about-photo img {
    max-width: 220px;
  }
}

/* ---------- Category filters ---------- */

.filters {
  max-width: 1200px;
  margin: -22px auto 0;
  padding: 0 20px;
  position: relative;
  z-index: 5;
}

.filters-inner {
  background: var(--card-bg);
  border-radius: 999px;
  box-shadow: var(--shadow-lg);
  padding: 10px;
  display: flex;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
}

.filters-inner::-webkit-scrollbar { display: none; }

.filter-pill {
  flex: none;
  border: none;
  background: transparent;
  color: var(--text-muted);
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background .15s ease, color .15s ease;
}

.filter-pill:hover { background: var(--renu-silver-light); }

.filter-pill.active {
  background: var(--renu-black);
  color: #fff;
}

/* ---------- Product grid ---------- */

.catalog {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px 80px;
}

.category-heading {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 44px 0 18px;
}

.category-heading:first-child { margin-top: 0; }

.category-heading h2 {
  font-size: 21px;
  margin: 0;
  font-weight: 700;
}

.category-heading .count {
  color: var(--text-muted);
  font-size: 13px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 18px;
}

.product-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow);
  transition: transform .15s ease, box-shadow .15s ease;
}

.product-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.product-media {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 0 14px;
}

/* Vial illustration */
.vial-svg {
  width: 92px;
  height: 148px;
  filter: drop-shadow(0 6px 10px rgba(0,0,0,0.15));
}

.product-name {
  font-size: 15.5px;
  font-weight: 700;
  margin: 0 0 4px;
  text-align: center;
}

.product-form {
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 10px;
}

.rx-badge {
  align-self: center;
  background: #fbe9e9;
  color: var(--renu-red);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 999px;
  margin-bottom: 10px;
  letter-spacing: 0.03em;
}

.product-blurb {
  font-size: 13.5px;
  color: var(--text-muted);
  flex-grow: 1;
  margin-bottom: 14px;
}

.product-controls {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.product-controls select {
  width: 100%;
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid var(--border);
  font-size: 13.5px;
  background: #fff;
  color: var(--text);
}

.add-btn {
  width: 100%;
  padding: 10px 12px;
  border-radius: 8px;
  border: none;
  background: var(--renu-black);
  color: #fff;
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  transition: background .15s ease;
}

.add-btn:hover { background: #222; }

.add-btn.added { background: #2e7d32; }

/* ---------- Cart drawer ---------- */

.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease;
  z-index: 90;
}

.overlay.open { opacity: 1; pointer-events: auto; }

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  width: min(420px, 100%);
  background: #fff;
  z-index: 100;
  transform: translateX(100%);
  transition: transform .25s ease;
  display: flex;
  flex-direction: column;
  box-shadow: -8px 0 30px rgba(0,0,0,0.2);
}

.cart-drawer.open { transform: translateX(0); }

.cart-header {
  padding: 18px 20px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cart-header h2 { margin: 0; font-size: 18px; }

.close-btn {
  background: none;
  border: none;
  font-size: 22px;
  cursor: pointer;
  color: var(--text-muted);
  line-height: 1;
}

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 10px 20px;
}

.cart-empty {
  color: var(--text-muted);
  text-align: center;
  padding: 60px 20px;
  font-size: 14px;
}

.cart-item {
  display: flex;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}

.cart-item-info { flex: 1; }

.cart-item-name { font-weight: 700; font-size: 14px; margin-bottom: 2px; }

.cart-item-meta { font-size: 12.5px; color: var(--text-muted); margin-bottom: 8px; }

.qty-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.qty-btn {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: #fff;
  cursor: pointer;
  font-size: 14px;
  line-height: 1;
}

.qty-val { font-size: 13.5px; min-width: 16px; text-align: center; }

.remove-link {
  margin-left: auto;
  font-size: 12px;
  color: var(--renu-red);
  background: none;
  border: none;
  cursor: pointer;
  text-decoration: underline;
}

.cart-footer {
  padding: 16px 20px 20px;
  border-top: 1px solid var(--border);
}

.cart-footer .note {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.checkout-btn {
  width: 100%;
  padding: 13px;
  border-radius: 8px;
  border: none;
  background: var(--renu-red);
  color: #fff;
  font-weight: 700;
  font-size: 14.5px;
  cursor: pointer;
}

.checkout-btn:disabled {
  background: var(--renu-silver);
  cursor: not-allowed;
}

/* ---------- Checkout modal ---------- */

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  display: none;
  align-items: flex-start;
  justify-content: center;
  overflow-y: auto;
  z-index: 200;
  padding: 40px 16px;
}

.modal-overlay.open { display: flex; }

.modal {
  background: #fff;
  border-radius: var(--radius);
  max-width: 560px;
  width: 100%;
  padding: 28px;
  box-shadow: var(--shadow-lg);
}

.modal h2 {
  margin: 0 0 6px;
  font-size: 20px;
}

.modal p.subtitle {
  color: var(--text-muted);
  font-size: 13.5px;
  margin: 0 0 20px;
}

.form-row {
  margin-bottom: 14px;
}

.form-row label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 5px;
}

.form-row input,
.form-row textarea {
  width: 100%;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid var(--border);
  font-size: 14px;
  font-family: inherit;
}

.form-row textarea { resize: vertical; min-height: 70px; }

.form-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.order-summary-box {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 13px;
  margin-bottom: 16px;
  max-height: 160px;
  overflow-y: auto;
}

.order-summary-box div { padding: 3px 0; }

.modal-actions {
  display: flex;
  gap: 10px;
  margin-top: 6px;
}

.btn-secondary {
  flex: 1;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: #fff;
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
}

.btn-primary {
  flex: 2;
  padding: 12px;
  border-radius: 8px;
  border: none;
  background: var(--renu-red);
  color: #fff;
  cursor: pointer;
  font-weight: 700;
  font-size: 14px;
}

.btn-primary:disabled { background: var(--renu-silver); cursor: not-allowed; }

.disclaimer-box {
  font-size: 11.5px;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
  margin-top: 18px;
  padding-top: 14px;
}

.success-box {
  text-align: center;
  padding: 20px 0 6px;
}

.success-box .check {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #2e7d32;
  color: #fff;
  font-size: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--renu-black);
  color: var(--renu-silver);
  padding: 40px 20px;
  text-align: center;
}

.site-footer .fine-print {
  max-width: 680px;
  margin: 0 auto;
  font-size: 11.5px;
  line-height: 1.7;
  color: #8a8d93;
}

.site-footer .contact {
  margin-top: 16px;
  font-size: 13px;
}

.site-footer a { text-decoration: underline; }

@media (max-width: 560px) {
  .form-two { grid-template-columns: 1fr; }
  .brand-text { display: none; }
}

.info-link{display:inline-block;margin:8px 0 2px;font-size:13px;font-weight:600;color:var(--renu-red);text-decoration:none}
.info-link:hover{text-decoration:underline}
.shop-hero{background:#0b0b0c;color:#fff;text-align:center;padding:46px 20px 38px}
.shop-hero h1{margin:0 0 10px;font-size:clamp(28px,4vw,42px);font-weight:800}
.shop-hero h1 span{color:#d0232d}
.shop-hero p{max-width:720px;margin:0 auto 18px;color:#d6d7da}
.notice{max-width:1160px;margin:18px auto 0;padding:12px 16px;background:#fff4f4;border:1px solid #f0c9cb;border-radius:10px;font-size:14px;color:#5a1a1e}

.hdr .cart-btn{background:var(--renu-black);color:#fff;border:0;border-radius:999px;padding:9px 14px;font-weight:600;font-family:inherit;cursor:pointer;display:flex;gap:6px;align-items:center}
