/* Cagri Peptide (cagripeptide.com) — original stylesheet written from scratch
   for this site. Golden-ink "cagri" theme: deep ink surfaces, warm gold
   accents, shimmering light on borders. Mobile-first, no frameworks.
   Class names for the vendor directory (vd-*), calculator (zc-*), ad bar
   (#zr-adbar) and mobile nav (.nav-toggle/.mainnav) are shared with the
   site's scripts; visuals are unique to this site. */

:root {
  --ink: #241c07;
  --ink-soft: #6b5d3a;
  --gold: #b8912e;
  --gold-deep: #8a6a1c;
  --gold-bright: #e3b84a;
  --gold-tint: #faf4e2;
  --paper: #ffffff;
  --paper-warm: #fdfbf4;
  --line: #e7dfc8;
  --radius: 4px;
  --max: 1080px;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.7;
  font-size: 16px;
}
img { max-width: 100%; }
a { color: var(--gold-deep); text-decoration: none; }
a:hover { text-decoration: underline; }
p { margin: 0 0 1em; }

/* ---------- header: deep ink band with a gold rule ---------- */
.site-header {
  background: var(--ink);
  border-bottom: 3px solid var(--gold);
  position: sticky; top: 0; z-index: 40;
}
.header-inner {
  max-width: var(--max); margin: 0 auto; padding: 12px 20px;
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  font-size: 19px; font-weight: 700; letter-spacing: .2px;
  color: #f4e8c8;
}
.brand:hover { text-decoration: none; }
.brand-mark {
  width: 36px; height: 36px; border-radius: 50%;
  background: radial-gradient(circle at 32% 30%, var(--gold-bright) 0%, var(--gold) 55%, var(--gold-deep) 100%);
  color: #241c07; display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--mono); font-size: 14px; font-weight: 700; letter-spacing: .5px;
  box-shadow: 0 0 0 2px rgba(227,184,74,.35);
}
.brand em { color: var(--gold-bright); font-style: normal; }
.mainnav { display: flex; flex-wrap: wrap; gap: 2px 4px; margin-left: auto; }
.mainnav a {
  font-size: 13.5px; color: #cfc39b;
  padding: 6px 10px; border-radius: 999px;
}
.mainnav a:hover { color: #fff; text-decoration: none; background: rgba(184,145,46,.25); }
.mainnav a.active { color: #241c07; background: linear-gradient(135deg, var(--gold-bright), var(--gold)); font-weight: 700; }

/* ---------- layout ---------- */
.page { max-width: var(--max); margin: 0 auto; padding: 30px 20px 70px; }
.crumbs {
  font-size: 12.5px; color: var(--ink-soft);
  margin: 0 0 16px; text-transform: uppercase; letter-spacing: .06em;
}
.crumbs a { color: var(--ink-soft); }
.crumbs span { margin: 0 8px; color: #c2b58a; }
h1 { font-size: 33px; line-height: 1.22; margin: 0 0 10px; letter-spacing: -.3px; }
.meta {
  font-size: 12.5px; color: var(--ink-soft);
  padding: 8px 0 16px; border-bottom: 2px solid var(--gold-tint); margin-bottom: 22px;
}
.meta a { text-decoration: underline; }

h2 {
  font-size: 23px; margin: 36px 0 14px; padding-left: 14px;
  border-left: 5px solid var(--gold);
}
h3 { font-size: 18px; margin: 24px 0 8px; color: var(--gold-deep); }
.sec { max-width: 790px; }

/* ---------- boxes ---------- */
.toc {
  background: var(--gold-tint); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 14px 18px; margin: 0 0 28px; max-width: 790px;
}
.toc h3 { margin: 0 0 8px; font-size: 13px; text-transform: uppercase; letter-spacing: .8px; color: var(--gold-deep); }
.toc ol { margin: 0; padding-left: 20px; }
.toc li { margin: 4px 0; }

.trust-note {
  background: var(--gold-tint); border: 1px solid var(--line); border-left: 4px solid var(--gold);
  border-radius: var(--radius);
  padding: 12px 16px; margin: 0 0 26px; max-width: 790px;
  font-size: 13px; color: var(--ink-soft);
}
.warn-note {
  background: #fdf6e3; border: 1px solid #eddfb0; border-radius: var(--radius);
  padding: 12px 16px; margin: 26px 0; max-width: 790px; font-size: 14.5px;
}

table.data { border-collapse: collapse; width: 100%; max-width: 790px; margin: 14px 0 24px;
  font-size: 13.5px; background: var(--paper); }
table.data th, table.data td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }
table.data th { background: var(--ink); color: var(--gold-bright); font-weight: 700; }

ul.zr { padding-left: 22px; }
ul.zr li { margin: 6px 0; }

/* ---------- hero / home ---------- */
.hero {
  background:
    linear-gradient(115deg, rgba(36,28,7,.96) 0%, rgba(90,67,15,.92) 48%, rgba(138,106,28,.88) 100%);
  color: #f7eccf; border-radius: var(--radius); padding: 44px 38px; margin-bottom: 32px;
  border: 1px solid var(--gold-deep);
}
.hero h1 { color: #fff; font-size: 37px; margin-bottom: 12px; }
.hero p { font-size: 17px; max-width: 720px; color: #e9dcba; }
.cta {
  display: inline-block; margin-top: 12px; color: #241c07;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  font-size: 14.5px; font-weight: 700;
  padding: 12px 24px; border-radius: 999px;
}
.cta:hover { background: var(--gold-bright); text-decoration: none; }
.mods { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; margin: 28px 0; }
.mod {
  background: var(--paper); border: 1px solid var(--line); border-top: 3px solid var(--gold);
  border-radius: var(--radius); padding: 18px 18px 14px; transition: box-shadow .15s ease;
}
.mod:hover { box-shadow: 0 4px 16px rgba(138,106,28,.16); }
.mod h3 { margin: 0 0 6px; font-size: 16.5px; }
.mod p { font-size: 14px; color: var(--ink-soft); margin-bottom: 8px; }
.mod a { font-size: 13px; font-weight: 700; }

.truststrip { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 12px; margin: 32px 0 12px; }
.truststrip > div {
  background: var(--paper-warm); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 14px 16px; font-size: 14.5px; color: var(--ink-soft);
}
.truststrip b { display: block; color: var(--gold-deep); margin-bottom: 3px; font-size: 13.5px; }

/* ---------- author / sources ---------- */
.authorbox {
  display: flex; gap: 14px; align-items: flex-start; background: var(--paper-warm);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 16px;
  margin: 32px 0; max-width: 790px;
}
.avatar {
  width: 52px; height: 52px; border-radius: 50%; flex: 0 0 52px;
  background: radial-gradient(circle at 32% 30%, var(--gold-bright), var(--gold-deep));
  color: #241c07; display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 16px;
}
.authorbox .ab-body { font-size: 14px; color: var(--ink-soft); }
.authorbox .ab-body b { color: var(--ink); font-size: 14px; }
.sources { max-width: 790px; }
.sources ol { padding-left: 22px; font-size: 14.5px; color: var(--ink-soft); }
.sources li { margin: 7px 0; }

/* ---------- FAQ ---------- */
.faq { max-width: 790px; }
.faq h3 { margin-top: 18px; }
details.faq-q {
  background: var(--paper); border: 1px solid var(--line); border-left: 4px solid var(--gold);
  border-radius: var(--radius); padding: 10px 16px; margin: 8px 0; font-size: 15px;
}
details.faq-q summary { cursor: pointer; font-size: 14px; font-weight: 700; color: var(--gold-deep); }
details.faq-q p { margin: 10px 0 4px; font-size: 14.5px; }

/* ---------- calculator ---------- */
.calc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; max-width: 790px; }
.calc-card { background: var(--paper); border: 1px solid var(--line); border-top: 3px solid var(--gold); border-radius: var(--radius); padding: 16px 18px; }
.calc-card label { display: block; font-size: 13px; font-weight: 700; margin: 10px 0 4px; color: var(--ink-soft); }
.calc-card input, .calc-card select {
  width: 100%; padding: 9px 10px; border: 1px solid #cabf98; border-radius: 6px;
  font-family: var(--mono); font-size: 15px; background: #fff; color: var(--ink);
}
.calc-out { background: var(--gold-tint); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; max-width: 790px; margin-top: 16px; }
.calc-out .big { font-family: var(--mono); font-size: 26px; color: var(--gold-deep); font-weight: 700; }
.calc-out table { margin: 10px 0 0; font-family: var(--mono); font-size: 14px; }
.calc-out td { padding: 3px 12px 3px 0; }

/* ---------- golden flowing ad bar (fixed bottom) ----------
   The flowing gold light is a wide gradient sweeping across the band. */
#zr-adbar {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  text-align: center; padding: 12px 16px;
  font-size: 13.5px; color: #f7eccf;
  background: linear-gradient(100deg,
    #241c07 0%, #4a3a0d 22%, #8a6a1c 42%, #d9ae4e 50%, #8a6a1c 58%, #4a3a0d 78%, #241c07 100%);
  background-size: 260% 100%;
  animation: zrgoldflow 5.5s linear infinite;
  box-shadow: 0 -3px 18px rgba(184,145,46,.5);
}
@keyframes zrgoldflow {
  0%   { background-position: 130% 0; }
  100% { background-position: -130% 0; }
}
#zr-adbar a.zbar-link { color: #ffe9a8; font-weight: 700; text-shadow: 0 1px 3px rgba(0,0,0,.55); }
#zr-adbar a.adlink { color: #ffe9a8; font-weight: 700; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: #cfc39b; margin-top: 46px; border-top: 3px solid var(--gold); }
.foot-grid {
  max-width: var(--max); margin: 0 auto; padding: 36px 20px 20px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 22px;
}
.foot-grid h4 { color: var(--gold-bright); font-size: 13px;
  text-transform: uppercase; letter-spacing: .8px; margin: 0 0 10px; }
.foot-grid a { display: block; color: #cfc39b; font-size: 14px; margin: 5px 0; }
.foot-grid a:hover { color: var(--gold-bright); }
.foot-grid p { font-size: 13.5px; margin: 4px 0; }
.foot-legal {
  border-top: 1px solid #453713; max-width: var(--max); margin: 0 auto;
  padding: 16px 20px 26px; font-size: 12.5px; line-height: 1.6; color: #a2946a;
}

@media (max-width: 720px) {
  h1 { font-size: 27px; }
  .hero h1 { font-size: 28px; }
  .hero { padding: 30px 22px; }
  .mainnav { margin-left: 0; }
  body { font-size: 15.5px; }
}

/* ---------- vendor directory (/vendors/): directory markup shared with the
   site scripts; palette mapped to the cagri golden-ink theme ---------- */
.page .subtitle { color: var(--ink-soft); font-size: 16px; margin-top: 8px; max-width: 820px; }
.vd-disclaimer { background: #fdf6e3; border: 1px solid #eddfb0; border-left: 4px solid var(--gold-deep); border-radius: var(--radius); padding: 14px 16px; font-size: 13.5px; color: var(--ink); margin: 18px 0; }
.vd-disclaimer p { margin: 0; }
.vd-disclaimer b { color: #8a5a12; }
.vd-tabs { display: flex; gap: 8px; margin: 22px 0 14px; flex-wrap: wrap; }
.vd-tab { border: 1px solid var(--line); background: var(--paper); border-radius: 6px; padding: 8px 18px; font-size: 14px; font-weight: 700; color: var(--ink-soft); cursor: pointer; }
.vd-tab.on { background: var(--ink); border-color: var(--ink); color: var(--gold-bright); }
.vd-search { position: relative; max-width: 640px; margin: 0 0 12px; }
.vd-search input { width: 100%; padding: 12px 14px 12px 40px; border: none; border-bottom: 2px solid var(--line); background: transparent; font-size: 16px; outline: none; }
.vd-search input:focus { border-bottom-color: var(--gold); }
.vd-search svg { position: absolute; left: 8px; top: 50%; transform: translateY(-50%); color: var(--ink-soft); }
.vd-chiprow { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: 10px; }
.vd-chiprow .lbl { font-size: 11px; font-weight: 700; color: var(--ink-soft); text-transform: uppercase; letter-spacing: .06em; margin-right: 4px; }
.vd-chip { border: 1px solid var(--line); background: var(--paper); border-radius: 6px; padding: 5px 12px; font-size: 12px; font-weight: 700; color: var(--ink-soft); cursor: pointer; }
.vd-chip.on { background: var(--ink); border-color: var(--ink); color: var(--gold-bright); }
.vd-chip.loc.on { background: var(--gold-deep); border-color: var(--gold-deep); }
.vd-count { font-size: 11.5px; color: var(--ink-soft); text-transform: uppercase; letter-spacing: .1em; margin: 10px 0 6px; }
.vd-list { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--paper); }
.vd-cat { padding: 8px 16px; background: var(--gold-tint); font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-deep); }
.vd-item { border-top: 1px solid var(--line); }
.vd-row { display: flex; align-items: center; gap: 12px; width: 100%; padding: 11px 16px; background: none; border: none; text-align: left; font: inherit; cursor: pointer; }
.vd-row:hover { background: var(--gold-tint); }
.vd-arrow { color: var(--ink-soft); transition: transform .15s; flex-shrink: 0; }
.vd-item.open .vd-arrow { transform: rotate(90deg); }
.vd-name { flex: 1; min-width: 0; font-weight: 600; color: var(--ink); font-size: 15px; }
.vd-name small { color: var(--ink-soft); font-weight: 400; white-space: nowrap; font-size: 13px; }
.vd-sup { font-size: 12px; color: var(--ink-soft); flex-shrink: 0; }
.vd-from { text-align: right; min-width: 86px; flex-shrink: 0; }
.vd-from em { display: block; font-style: normal; font-size: 10px; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-soft); }
.vd-from b { font-size: 15px; }
.vd-detail { display: none; border-top: 1px solid var(--line); background: var(--paper-warm); padding: 12px 16px; }
.vd-item.open .vd-detail { display: block; }
/* neutralize the site-wide table look inside quote tables */
.vd-detail table { width: 100%; border-collapse: collapse; font-size: 13px; background: transparent; border: none; border-radius: 0; margin: 0; }
.vd-detail th { text-align: left; font-size: 10.5px; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-soft); padding: 6px 8px; border-bottom: 1px solid var(--line); background: transparent; font-weight: 700; }
.vd-detail td { padding: 7px 8px; border-bottom: 1px solid var(--line); color: var(--ink-soft); vertical-align: top; }
.vd-detail tr:last-child td { border-bottom: none; }
.vd-detail td.p { text-align: right; font-weight: 700; color: var(--ink); white-space: nowrap; }
.vd-detail .none { color: var(--ink-soft); font-size: 13px; padding: 8px 0; }
.vd-vendor { border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); padding: 16px 18px; }
.vd-vendor h3 { font-size: 16px; margin-bottom: 2px; }
.vd-vendor .loc { font-size: 12px; color: var(--gold-deep); font-weight: 700; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 8px; }
.vd-vendor p { font-size: 13.5px; color: var(--ink-soft); margin-bottom: 8px; }
.vd-vendor .contact { font-size: 13px; display: flex; flex-wrap: wrap; gap: 10px; color: var(--ink-soft); }
/* WhatsApp elements (tab bar icon + vendor card footer) */
.vd-tab.wa { display: inline-flex; align-items: center; gap: 7px; color: #25d366; border-color: #25d366; text-decoration: none; font-size: 13px; padding: 8px 14px; font-weight: 700; }
.vd-tab.wa:hover { background: #25d366; color: #fff; text-decoration: none; }
.vd-vfoot { display: flex; align-items: center; justify-content: space-between; gap: 10px; border-top: 1px solid var(--line); margin-top: 12px; padding-top: 12px; }
.vd-vfoot .vpl { font-size: 12px; font-weight: 600; color: var(--ink); text-decoration: none; white-space: nowrap; }
.vd-vfoot .vpl:hover { color: var(--gold-deep); }
.vd-vfoot .vd-wa { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 700; color: #25d366; text-decoration: none; white-space: nowrap; }
.vd-vfoot .vd-wa:hover { text-decoration: underline; }
/* vendor filter bar (View price list linkage) */
.vd-vbar { display: flex; align-items: center; gap: 10px; background: var(--gold-tint); border: 1px solid var(--gold); border-radius: var(--radius); padding: 8px 14px; font-size: 13px; color: var(--ink-soft); margin: 0 0 12px; flex-wrap: wrap; }
.vd-vbar b { color: var(--gold-deep); }
.vd-vbar-x { border: none; background: var(--ink); color: var(--gold-bright); border-radius: 4px; padding: 3px 10px; font-size: 11px; font-weight: 700; cursor: pointer; margin-left: auto; }
.vd-vbar-x:hover { background: var(--gold-deep); color: #fff; }
/* quote table WhatsApp column */
.vd-detail th.wac, .vd-detail td.wac { text-align: center; white-space: nowrap; }
.vd-detail td.wac a { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 6px; color: #25d366; background: rgba(37,211,102,.1); transition: background .15s; }
.vd-detail td.wac a:hover { background: #25d366; color: #fff; }
/* prose + sidebar layout under the directory */
.cols { display: grid; grid-template-columns: minmax(0,1fr) 300px; gap: 32px; align-items: start; margin-top: 24px; }
.prose h3 { font-size: 17px; margin: 20px 0 8px; }
.prose p { margin: 0 0 14px; color: var(--ink-soft); }
aside .side-box { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; margin-bottom: 16px; }
aside .side-box h4 { font-size: 14px; margin-bottom: 10px; letter-spacing: .2px; }
aside .side-box ul { list-style: none; font-size: 13.5px; padding-left: 0; margin: 0; }
aside .side-box li { margin-bottom: 7px; padding-left: 14px; position: relative; }
aside .side-box li::before { content: ""; position: absolute; left: 0; top: 9px; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); }
.wa-cta { background: linear-gradient(135deg, var(--ink), #4a3a0d); color: #fff; border-radius: var(--radius); padding: 18px; margin-bottom: 16px; border: 1px solid var(--gold-deep); }
.wa-cta h4 { font-size: 15px; margin-bottom: 6px; color: var(--gold-bright); }
.wa-cta p { font-size: 13px; opacity: .92; margin-bottom: 12px; }
.wa-cta a { display: inline-block; background: var(--gold-bright); color: var(--ink); font-weight: 700; font-size: 14px; padding: 9px 16px; border-radius: 6px; }
.wa-cta a:hover { text-decoration: none; background: #fff; }
.author-box { display: flex; gap: 14px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; margin: 24px 0; font-size: 13.5px; }
.author-box .avatar { width: 46px; height: 46px; flex: 0 0 46px; border-radius: 50%; background: var(--gold-tint); color: var(--gold-deep); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 15px; }
.author-box b { display: block; font-size: 14px; }
.author-box .role { color: var(--ink-soft); font-size: 12px; }
.updated-line { font-size: 12.5px; color: var(--ink-soft); margin-top: 14px; }
@media (max-width: 960px) {
  .cols { grid-template-columns: minmax(0,1fr); }
}
@media (max-width: 640px) {
  .vd-sup { display: none; }
  .vd-name small { display: none; }
  .vd-detail { overflow-x: visible; }
  .vd-detail table { font-size: 11px; }
  .vd-detail th { padding: 6px 5px; font-size: 9px; white-space: normal; }
  .vd-detail td { padding: 6px 5px; overflow-wrap: anywhere; word-break: break-word; }
  .vd-detail td.p { white-space: normal; }
  .vd-detail td.wac a { width: 24px; height: 24px; }
  .vd-tab.wa span { display: none; }
}

/* ---------- mobile nav: hamburger toggle ---------- */
.nav-toggle {
  display: none;
  margin-left: auto;
  width: 44px; height: 40px;
  flex: 0 0 44px;
  border: 1px solid #453713;
  border-radius: 6px;
  background: transparent;
  cursor: pointer;
  padding: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 20px; height: 2px;
  border-radius: 2px;
  background: var(--gold-bright);
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle:hover { border-color: var(--gold); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 720px) {
  .nav-toggle { display: inline-flex; }
  .mainnav {
    display: none;
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 0;
    width: 100%;
    margin: 8px 0 2px;
    border-top: 1px solid #453713;
  }
  .mainnav.open { display: flex; }
  .mainnav a {
    padding: 12px 4px;
    border-bottom: 1px solid #453713;
    font-size: 15px;
    border-radius: 0;
  }
  .mainnav a.active { background: none; color: var(--gold-bright); }
}
