/* PepTalk Content Fix 04
   Product guide is content-first: reconstitution, quick facts, dosing, administration, storage.
*/

/* Remove duplicate/general blocks from individual product guides */
.allu-peptalk-shell .pt-guide #before,
.allu-peptalk-shell .pt-guide #protocol,
.allu-peptalk-shell .pt-guide #prepare{
  display:none!important;
}

/* Product core hierarchy */
.allu-peptalk-shell .pt-product-core{
  display:flex!important;
  flex-direction:column!important;
  gap:0!important;
  padding-top:72px!important;
  padding-bottom:38px!important;
}
.allu-peptalk-shell .pt-product-core>.pt-section-heading{order:1}
.allu-peptalk-shell .pt-product-core>#reconstitution{order:2}
.allu-peptalk-shell .pt-product-core>.pt-quick-reference{order:3}
.allu-peptalk-shell .pt-product-core>#dosing{order:4}
.allu-peptalk-shell .pt-product-core>#storage{order:5}

.allu-peptalk-shell .pt-product-core>.pt-section-heading{
  max-width:780px!important;
  margin-bottom:28px!important;
}
.allu-peptalk-shell .pt-product-core>.pt-section-heading h2{
  font-size:clamp(38px,4.1vw,58px)!important;
  line-height:.96!important;
  letter-spacing:-.058em!important;
}

/* Reconstitution comes first */
.allu-peptalk-shell .pt-core-block{
  scroll-margin-top:110px!important;
  margin:0!important;
  padding:34px 0!important;
  border-top:1px solid var(--pp-line)!important;
}
.allu-peptalk-shell .pt-product-core>#reconstitution{
  padding-top:0!important;
  border-top:0!important;
}
.allu-peptalk-shell .pt-core-block-head{
  display:flex!important;
  align-items:flex-start!important;
  justify-content:space-between!important;
  gap:20px!important;
  margin-bottom:14px!important;
}
.allu-peptalk-shell .pt-core-block-head .pt-overline{
  margin:0 0 7px!important;
}
.allu-peptalk-shell .pt-core-block-head h3{
  margin:0!important;
  color:var(--pp-ink)!important;
  font-size:26px!important;
  line-height:1.04!important;
  letter-spacing:-.045em!important;
  font-weight:500!important;
}
.allu-peptalk-shell .pt-draft-pill,
.allu-peptalk-shell .pt-reference-pill{
  flex:0 0 auto!important;
  display:inline-flex!important;
  align-items:center!important;
  min-height:29px!important;
  padding:0 11px!important;
  border-radius:999px!important;
  background:var(--pp-blue-soft)!important;
  color:var(--pp-blue)!important;
  font-size:8px!important;
  font-weight:600!important;
  letter-spacing:.05em!important;
  white-space:nowrap!important;
}
.allu-peptalk-shell .pt-core-note{
  max-width:980px!important;
  margin:0 0 18px!important;
  padding:15px 17px!important;
  border:1px solid #f1d6df!important;
  border-radius:14px!important;
  background:var(--pp-pink-soft)!important;
  color:#6d6267!important;
  font-size:9.5px!important;
  line-height:1.7!important;
}

/* Quick facts after reconstitution */
.allu-peptalk-shell .pt-core-facts{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:10px!important;
  padding:34px 0!important;
  border-top:1px solid var(--pp-line)!important;
}
.allu-peptalk-shell .pt-core-facts article{
  min-height:135px!important;
  padding:18px!important;
  border:1px solid var(--pp-line)!important;
  border-radius:18px!important;
  background:#fff!important;
}
.allu-peptalk-shell .pt-core-facts small{
  display:block!important;
  margin:0 0 10px!important;
  color:#8a8f98!important;
  font-size:8px!important;
  line-height:1.2!important;
  letter-spacing:.1em!important;
  text-transform:uppercase!important;
}
.allu-peptalk-shell .pt-core-facts strong{
  display:block!important;
  margin:0 0 7px!important;
  color:var(--pp-ink)!important;
  font-size:14px!important;
  line-height:1.25!important;
  font-weight:600!important;
}
.allu-peptalk-shell .pt-core-facts p{
  margin:0!important;
  color:var(--pp-muted)!important;
  font-size:9.5px!important;
  line-height:1.6!important;
}

/* Reconstitution table */
.allu-peptalk-shell .pt-reconstitution-table td:first-child{
  color:var(--pp-ink)!important;
  font-weight:600!important;
}
.allu-peptalk-shell .pt-status-source,
.allu-peptalk-shell .pt-status-pending{
  display:inline-flex!important;
  align-items:center!important;
  min-height:24px!important;
  padding:0 8px!important;
  border-radius:999px!important;
  font-size:7.5px!important;
  font-weight:600!important;
  white-space:nowrap!important;
}
.allu-peptalk-shell .pt-status-source{
  background:var(--pp-teal-soft)!important;
  color:#17766e!important;
}
.allu-peptalk-shell .pt-status-pending{
  background:var(--pp-tangerine-soft)!important;
  color:#a9541e!important;
}

/* Dosing / titration */
.allu-peptalk-shell .pt-dose-rail{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:10px!important;
}
.allu-peptalk-shell .pt-dose-rail article{
  min-height:150px!important;
  padding:18px!important;
  border:1px solid var(--pp-line)!important;
  border-radius:18px!important;
  background:#fff!important;
}
.allu-peptalk-shell .pt-dose-rail article:nth-child(1){border-top:3px solid var(--pp-blue)!important}
.allu-peptalk-shell .pt-dose-rail article:nth-child(2){border-top:3px solid var(--pp-teal)!important}
.allu-peptalk-shell .pt-dose-rail article:nth-child(3){border-top:3px solid var(--pp-tangerine)!important}
.allu-peptalk-shell .pt-dose-rail article:nth-child(4){border-top:3px solid var(--pp-pink)!important}
.allu-peptalk-shell .pt-dose-rail span{
  display:block!important;
  margin-bottom:12px!important;
  color:#858a94!important;
  font-size:8px!important;
  text-transform:uppercase!important;
  letter-spacing:.08em!important;
}
.allu-peptalk-shell .pt-dose-rail strong{
  display:block!important;
  color:var(--pp-ink)!important;
  font-size:16px!important;
  line-height:1.25!important;
  font-weight:600!important;
}
.allu-peptalk-shell .pt-dose-rail p{
  margin:8px 0 0!important;
  color:var(--pp-muted)!important;
  font-size:9.5px!important;
  line-height:1.6!important;
}

/* Storage */
.allu-peptalk-shell .pt-storage-grid{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:10px!important;
}
.allu-peptalk-shell .pt-storage-grid article{
  min-height:125px!important;
  padding:18px!important;
  border:1px solid var(--pp-line)!important;
  border-radius:18px!important;
  background:var(--pp-soft)!important;
}
.allu-peptalk-shell .pt-storage-grid strong{
  display:block!important;
  margin-bottom:7px!important;
  color:var(--pp-ink)!important;
  font-size:12px!important;
  font-weight:600!important;
}
.allu-peptalk-shell .pt-storage-grid p{
  margin:0!important;
  color:var(--pp-muted)!important;
  font-size:9.5px!important;
  line-height:1.65!important;
}

/* Administration should read like an instruction reference, not editorial copy */
.allu-peptalk-shell .pt-admin-clear{
  padding-top:72px!important;
  padding-bottom:72px!important;
}
.allu-peptalk-shell .pt-admin-clear>.pt-section-heading{
  max-width:760px!important;
  margin-bottom:26px!important;
}
.allu-peptalk-shell .pt-admin-clear>.pt-section-heading h2{
  font-size:clamp(36px,3.9vw,54px)!important;
}
.allu-peptalk-shell .pt-admin-table{
  overflow:hidden!important;
  border:1px solid var(--pp-line)!important;
  border-radius:20px!important;
  background:#fff!important;
}
.allu-peptalk-shell .pt-admin-table article{
  display:grid!important;
  grid-template-columns:145px minmax(220px,.55fr) minmax(0,1fr)!important;
  gap:18px!important;
  align-items:start!important;
  padding:18px 20px!important;
  border-bottom:1px solid var(--pp-line)!important;
}
.allu-peptalk-shell .pt-admin-table article:last-child{border-bottom:0!important}
.allu-peptalk-shell .pt-admin-table small{
  color:#858a94!important;
  font-size:8px!important;
  letter-spacing:.1em!important;
  text-transform:uppercase!important;
}
.allu-peptalk-shell .pt-admin-table strong{
  color:var(--pp-ink)!important;
  font-size:12px!important;
  line-height:1.5!important;
  font-weight:600!important;
}
.allu-peptalk-shell .pt-admin-table p{
  margin:0!important;
  color:var(--pp-muted)!important;
  font-size:9.5px!important;
  line-height:1.65!important;
}
.allu-peptalk-shell .pt-admin-note{
  margin-top:12px!important;
  padding:17px 19px!important;
  border:1px solid #f5d6e0!important;
  border-radius:16px!important;
  background:var(--pp-pink-soft)!important;
}
.allu-peptalk-shell .pt-admin-note strong{
  display:block!important;
  margin-bottom:6px!important;
  color:var(--pp-ink)!important;
  font-size:11px!important;
}
.allu-peptalk-shell .pt-admin-note p{
  margin:0!important;
  color:#706368!important;
  font-size:9.5px!important;
  line-height:1.65!important;
}

/* Existing preparation/safety/FAQ sections become calmer */
.allu-peptalk-shell .pt-guide #prepare,
.allu-peptalk-shell .pt-guide #safety,
.allu-peptalk-shell .pt-guide #faq{
  padding-top:72px!important;
  padding-bottom:72px!important;
}
.allu-peptalk-shell .pt-guide #prepare .pt-section-heading h2,
.allu-peptalk-shell .pt-guide #safety .pt-section-heading h2,
.allu-peptalk-shell .pt-guide #faq .pt-section-heading h2{
  font-size:clamp(36px,3.9vw,54px)!important;
}

/* Fix flex ordering after content merge */
.allu-peptalk-shell .pt-guide #overview{order:4!important}
.allu-peptalk-shell .pt-guide #before{order:5!important}
.allu-peptalk-shell .pt-guide #protocol{order:6!important}
.allu-peptalk-shell .pt-guide #prepare{order:7!important}
.allu-peptalk-shell .pt-guide #administer{order:8!important}
.allu-peptalk-shell .pt-guide #safety{order:9!important}
.allu-peptalk-shell .pt-guide #faq{order:10!important}

@media(max-width:980px){
  .allu-peptalk-shell .pt-core-facts,
  .allu-peptalk-shell .pt-dose-rail{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
  .allu-peptalk-shell .pt-storage-grid{grid-template-columns:1fr!important}
  .allu-peptalk-shell .pt-admin-table article{
    grid-template-columns:120px 1fr!important;
  }
  .allu-peptalk-shell .pt-admin-table p{
    grid-column:2!important;
  }
}
/* Password visibility toggle */
.allu-peptalk-shell .pt-password-field{
  position:relative!important;
  width:100%!important;
}
.allu-peptalk-shell .pt-password-field input{
  width:100%!important;
  padding-right:52px!important;
}
.allu-peptalk-shell .pt-password-toggle{
  position:absolute!important;
  right:8px!important;
  top:50%!important;
  transform:translateY(-50%)!important;
  width:40px!important;
  height:40px!important;
  min-height:0!important;
  padding:0!important;
  display:grid!important;
  place-items:center!important;
  border:0!important;
  border-radius:12px!important;
  background:transparent!important;
  color:#727780!important;
  box-shadow:none!important;
  cursor:pointer!important;
}
.allu-peptalk-shell .pt-password-toggle:hover{
  background:#f3f5ff!important;
  color:var(--pp-blue)!important;
}
.allu-peptalk-shell .pt-password-toggle svg{
  width:19px!important;
  height:19px!important;
}
.allu-peptalk-shell .pt-password-toggle .pt-eye-hide{display:none!important}
.allu-peptalk-shell .pt-password-toggle[aria-pressed="true"] .pt-eye-show{display:none!important}
.allu-peptalk-shell .pt-password-toggle[aria-pressed="true"] .pt-eye-hide{display:block!important}

/* Doctor consultation card: strong contrast on cobalt */
.allu-peptalk-shell .pt-guide .pt-consult-card{
  background:var(--pp-blue)!important;
  color:#fff!important;
}
.allu-peptalk-shell .pt-guide .pt-consult-card .pt-overline{
  color:#fff!important;
  opacity:.78!important;
}
.allu-peptalk-shell .pt-guide .pt-consult-card h3{
  color:#fff!important;
}
.allu-peptalk-shell .pt-guide .pt-consult-card>p:not(.pt-overline){
  color:#fff!important;
  opacity:.92!important;
  font-size:11.5px!important;
  line-height:1.75!important;
}
.allu-peptalk-shell .pt-guide .pt-consult-card .pt-primary-button{
  background:#fff!important;
  color:var(--pp-blue)!important;
  border-color:#fff!important;
  box-shadow:0 10px 24px rgba(0,0,0,.12)!important;
}

@media(max-width:620px){
  .allu-peptalk-shell .pt-product-core{
    padding-top:54px!important;
  }
  .allu-peptalk-shell .pt-product-core>.pt-section-heading h2{
    font-size:40px!important;
  }
  .allu-peptalk-shell .pt-core-block{
    padding:28px 0!important;
  }
  .allu-peptalk-shell .pt-core-block-head{
    display:block!important;
  }
  .allu-peptalk-shell .pt-draft-pill,
  .allu-peptalk-shell .pt-reference-pill{
    margin-top:10px!important;
  }
  .allu-peptalk-shell .pt-core-facts,
  .allu-peptalk-shell .pt-dose-rail{
    grid-template-columns:1fr!important;
  }
  .allu-peptalk-shell .pt-core-facts article,
  .allu-peptalk-shell .pt-dose-rail article{
    min-height:0!important;
  }
  .allu-peptalk-shell .pt-admin-table article{
    grid-template-columns:1fr!important;
    gap:6px!important;
  }
  .allu-peptalk-shell .pt-admin-table p{
    grid-column:auto!important;
  }
}
