/* ZCan Pharmacy — modernization layer over the mirrored Elementor site.
   Keeps the brand (Zcan blue #1B80F3, Poppins/Roboto); tightens type,
   unifies buttons, softens imagery, deepens the chrome. Injected on every
   page by scripts/mirror.py. */

:root {
  --zcp-ink: #1F2836;
  --zcp-blue: #1B80F3;
  --zcp-blue-deep: #0E6FE0;
  --zcp-navy: #0F2440;
  --zcp-leaf: #1E7A46;
  --zcp-radius: 12px;
}

body {
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
html { scroll-behavior: smooth; }
::selection { background: rgba(27, 128, 243, 0.18); }

/* ---- Typography ------------------------------------------------------- */

/* The old global body grey (#7A7A7A) is low-contrast; deepen it. Elements
   with explicit colors (white footer text etc.) are untouched. */
.elementor-kit-6 { --e-global-color-text: #4A5568; }

h1.elementor-heading-title,
h2.elementor-heading-title,
h3.elementor-heading-title {
  letter-spacing: -0.02em !important;
}

/* ---- Buttons ----------------------------------------------------------- */

.elementor-button {
  text-transform: none !important;
  border-radius: 10px !important;
  letter-spacing: 0.01em !important;
  font-weight: 500 !important;
  font-size: 15px !important;
  transition: transform 0.22s cubic-bezier(0.165, 0.84, 0.44, 1),
              box-shadow 0.22s cubic-bezier(0.165, 0.84, 0.44, 1),
              background-color 0.18s ease !important;
}
.elementor-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 26px -12px rgba(27, 128, 243, 0.55);
}
.elementor-button:focus-visible {
  outline: 2px solid var(--zcp-blue);
  outline-offset: 3px;
}

/* ---- Imagery ----------------------------------------------------------- */

/* Rounded content imagery; header/footer logos excluded. */
.elementor-widget-image img { border-radius: var(--zcp-radius); }
.elementor-9 .elementor-widget-image img,
.elementor-94 .elementor-widget-image img { border-radius: 0; }

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

/* Top info bar: pure black -> ink navy. */
.elementor-element.elementor-element-52bad93:not(.elementor-motion-effects-element-type-background) {
  background-color: #131C2A !important;
}

.elementor-9 .elementor-nav-menu a { transition: color 0.15s ease; }
.elementor-9 .elementor-nav-menu a:hover { color: var(--zcp-blue) !important; }

/* 'Book Appointment' CTA appended to the nav by mirror.py. The menu is
   crowded, so tighten item spacing to keep everything on one row. */
.elementor-nav-menu--main .elementor-item {
  padding-left: 10px !important;
  padding-right: 10px !important;
}
.elementor-nav-menu--main .zcp-nav-book { margin-left: 8px; }
.elementor-nav-menu--main .zcp-nav-book > .elementor-item {
  background: var(--zcp-blue);
  color: #fff !important;
  fill: #fff;
  border-radius: 10px;
  padding: 11px 16px !important;
  transition: background-color 0.18s ease;
}
.elementor-nav-menu--main .zcp-nav-book > .elementor-item:hover,
.elementor-nav-menu--main .zcp-nav-book > .elementor-item:focus {
  background: var(--zcp-blue-deep);
  color: #fff !important;
}
.elementor-nav-menu--main .zcp-nav-book > .elementor-item:before,
.elementor-nav-menu--main .zcp-nav-book > .elementor-item:after { display: none; }
.elementor-nav-menu--dropdown .zcp-nav-book > a {
  color: var(--zcp-blue) !important;
  font-weight: 600;
}
@media (max-width: 1500px) {
  .elementor-nav-menu--main .elementor-item {
    font-size: 12px !important;
    padding-left: 7px !important;
    padding-right: 7px !important;
  }
  .elementor-nav-menu--main .zcp-nav-book > .elementor-item {
    padding: 10px 13px !important;
  }
}
@media (max-width: 1180px) {
  .elementor-nav-menu--main .elementor-item {
    font-size: 11px !important;
    padding-left: 5px !important;
    padding-right: 5px !important;
  }
}

/* ---- Filled section images (originally empty columns; see mirror.py) --- */

.zcp-fill-img { width: 100%; height: 100%; min-height: 260px; }
.zcp-fill-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 14px;
  display: block;
}

/* ---- Quick Refill form (/refill/, built by mirror.py) ------------------- */

.zcp-refill-card {
  width: 100%;
  max-width: 660px;
  margin: 0 auto;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 10px 34px -16px rgba(16, 40, 80, 0.28);
  padding: clamp(26px, 4vw, 44px);
}
.zcp-refill-form,
.zcp-transfer-form { font-family: "Roboto", sans-serif; }
.zcp-form-section {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 17px;
  color: var(--zcp-navy);
  margin: 28px 0 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid #E4E9F0;
}
.zcp-form-section:first-of-type { margin-top: 0; }
.zcp-hp { position: absolute; left: -9999px; }
.zcp-field { margin-bottom: 20px; }
.zcp-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 600px) { .zcp-field-row { grid-template-columns: 1fr; } }
.zcp-field label,
.zcp-field legend {
  display: block;
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  font-size: 14.5px;
  color: var(--zcp-ink);
  margin-bottom: 7px;
}
.zcp-field label span { color: #8A94A3; font-weight: 400; }
.zcp-field input[type="text"],
.zcp-field input[type="tel"],
.zcp-field input[type="date"],
.zcp-field textarea {
  width: 100%;
  font-family: "Roboto", sans-serif;
  font-size: 15.5px;
  color: var(--zcp-ink);
  background: #fff;
  border: 1px solid #D5DCE6;
  border-radius: 10px;
  padding: 13px 14px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.zcp-field input:focus,
.zcp-field textarea:focus {
  outline: none;
  border-color: var(--zcp-blue);
  box-shadow: 0 0 0 3px rgba(27, 128, 243, 0.15);
}
.zcp-field small {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  color: #8A94A3;
  line-height: 1.5;
}
fieldset.zcp-field { border: 0; padding: 0; margin: 0 0 20px; }
.zcp-radio {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  margin: 2px 22px 0 0;
  font-family: "Roboto", sans-serif !important;
  font-weight: 400 !important;
  font-size: 15.5px !important;
  cursor: pointer;
}
.zcp-radio input { accent-color: var(--zcp-blue); width: 17px; height: 17px; }
.zcp-refill-submit {
  border: 0;
  cursor: pointer;
  width: 100%;
  text-align: center;
  font-size: 16.5px;
}
.zcp-refill-submit:disabled { opacity: 0.6; transform: none; }
.zcp-refill-small {
  margin: 16px 0 0;
  font-size: 13.5px;
  color: #8A94A3;
  text-align: center;
}
.zcp-refill-small a { color: var(--zcp-blue); }

/* ---- 404 page ----------------------------------------------------------- */

.error404 .site-main { padding: 96px 20px 120px; text-align: center; }
.error404 .entry-title {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: clamp(30px, 4vw, 44px);
  letter-spacing: -0.02em;
  color: var(--zcp-ink);
  margin: 0 0 14px;
}
.error404 .page-content p {
  font-family: "Roboto", sans-serif;
  font-size: 17px;
  color: #4A5568;
}
.zcp-404-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 26px;
}
.zcp-404-actions a { text-decoration: none !important; }
.zcp-btn-ghost {
  display: inline-block;
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  font-size: 16px;
  color: var(--zcp-blue) !important;
  padding: 16px 32px;
  border: 1px solid rgba(27, 128, 243, 0.45);
  border-radius: 10px;
  text-decoration: none;
  transition: background-color 0.18s ease, border-color 0.18s ease;
}
.zcp-btn-ghost:hover {
  background: rgba(27, 128, 243, 0.08);
  border-color: var(--zcp-blue);
}

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

/* Flat bright blue -> deep navy; icons and text are already white. */
.elementor-element.elementor-element-e319510:not(.elementor-motion-effects-element-type-background) {
  background-color: var(--zcp-navy) !important;
}

/* ---- Body copy ---------------------------------------------------------- */

.elementor-widget-text-editor p { line-height: 1.75; }

/* ---- Card trios (home: refills, product guides, pharmacy services) ----- */

.elementor-element-1ee25f2 > .e-con-inner > .e-con.e-child,
.elementor-element-41a4a3f > .e-con-inner > .e-con.e-child,
.elementor-element-e65209d > .e-con-inner > .e-con.e-child {
  background: #fff;
  border: 0 !important;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 6px 22px -12px rgba(16, 40, 80, 0.25);
  transition: transform 0.25s cubic-bezier(0.165, 0.84, 0.44, 1),
              box-shadow 0.25s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.elementor-element-1ee25f2 > .e-con-inner > .e-con.e-child:hover,
.elementor-element-41a4a3f > .e-con-inner > .e-con.e-child:hover,
.elementor-element-e65209d > .e-con-inner > .e-con.e-child:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 34px -14px rgba(16, 40, 80, 0.35);
}
.elementor-element-1ee25f2 .elementor-widget-image img {
  border-radius: 0;
  width: 100%;
}

/* ---- Transferring Your Prescription steps (home) ------------------------ */

.elementor-element-149d486 .elementor-icon-box-icon .elementor-icon {
  font-size: 26px;
  background: rgba(27, 128, 243, 0.1);
  border-radius: 12px;
  padding: 14px;
}
.elementor-element-149d486 .elementor-icon-box-title {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 19px;
  letter-spacing: -0.01em;
}
.elementor-element-149d486 .elementor-icon-box-description {
  font-size: 15px;
  line-height: 1.7;
}

/* ---- Scroll reveal (JS injected by mirror.py adds the classes) ---------- */

html.zcp-js .zcp-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s cubic-bezier(0.165, 0.84, 0.44, 1),
              transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}
html.zcp-js .zcp-reveal.zcp-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html.zcp-js .zcp-reveal { opacity: 1; transform: none; transition: none; }
}

/* ---- Google reviews (home, rendered statically by mirror.py) ----------- */

/* Leftover spacer from the old slider layout. */
.elementor-element.elementor-element-23f5ca4 { display: none; }
/* Keep the reviews on the same grey band as their heading. */
.elementor-element.elementor-element-0e42032 {
  background-color: #F6F6F6;
  padding-bottom: 56px;
  margin-top: 0 !important;
}

.zcp-reviews {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  width: 100%;
  padding: 8px 0 24px;
}
.zcp-review {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: #fff;
  border-radius: 14px;
  padding: 28px 28px 24px;
  box-shadow: 0 6px 22px -12px rgba(16, 40, 80, 0.22);
}
.zcp-review-stars {
  color: #F6BB06;
  font-size: 18px;
  letter-spacing: 2px;
  line-height: 1;
}
.zcp-review blockquote {
  margin: 0;
  font-family: "Roboto", sans-serif;
  font-size: 15.5px;
  line-height: 1.7;
  color: #46505E;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.zcp-review figcaption {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  font-family: "Poppins", sans-serif;
}
.zcp-review-avatar { width: 40px; height: 40px; border-radius: 50%; }
.zcp-review figcaption span {
  font-weight: 500;
  font-size: 15px;
  color: var(--zcp-ink);
}
.zcp-review figcaption em {
  margin-left: auto;
  font-style: normal;
  font-size: 13px;
  color: #8A94A3;
}

/* ---- Hero (home) -------------------------------------------------------- */

/* Legibility scrim between the photo/overlay and the CTA block. */
.elementor-element.elementor-element-2998423 { position: relative; }
.elementor-element.elementor-element-2998423::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(88deg,
    rgba(13, 21, 34, 0.72) 0%,
    rgba(13, 21, 34, 0.42) 42%,
    rgba(13, 21, 34, 0.05) 72%);
}

.zcp-hero-cta {
  position: relative;
  z-index: 2;
  align-self: flex-start;
  width: 100%;
  max-width: 620px;
  color: #fff;
  padding: 48px 0;
}
.zcp-hero-cta h1 {
  margin: 0 0 20px;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: clamp(34px, 4.4vw, 56px);
  line-height: 1.14;
  letter-spacing: -0.02em;
  color: #fff;
}
.zcp-hero-cta > p {
  margin: 0 0 34px;
  font-family: "Roboto", sans-serif;
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
  max-width: 46ch;
}
.zcp-hero-btn {
  display: inline-block;
  background: var(--zcp-blue);
  color: #fff !important;
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 0.01em;
  padding: 17px 40px;
  border-radius: 10px;
  text-decoration: none;
  box-shadow: 0 12px 28px -10px rgba(27, 128, 243, 0.65);
  transition: transform 0.22s cubic-bezier(0.165, 0.84, 0.44, 1),
              box-shadow 0.22s cubic-bezier(0.165, 0.84, 0.44, 1),
              background-color 0.18s ease;
}
.zcp-hero-btn:hover {
  background: var(--zcp-blue-deep);
  transform: translateY(-2px);
  box-shadow: 0 18px 34px -12px rgba(27, 128, 243, 0.75);
}
.zcp-hero-btn:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

.zcp-hero-alt {
  margin: 18px 0 0;
  font-family: "Roboto", sans-serif;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.72);
}
.zcp-hero-alt a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Eyebrow, dual CTAs and the floating transfer card (2026-08-31 refresh). */
.zcp-hero-eyebrow {
  margin: 0 0 14px;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 12.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #8FDCA8;
}
.zcp-hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.zcp-hero-btn-ghost {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow: none;
  color: #fff !important;
}
.zcp-hero-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
  box-shadow: none;
}

.zcp-hero-card {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  z-index: 2;
  width: min(380px, 100%);
  margin: 34px 0 10px;
  background: #fff;
  border-radius: 14px;
  padding: 20px 22px;
  box-shadow: 0 18px 44px -18px rgba(9, 20, 38, 0.5);
  color: var(--zcp-ink);
}
.zcp-hero-card svg { flex: none; color: var(--zcp-leaf); margin-top: 2px; }
.zcp-hero-card strong {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 16px;
}
.zcp-hero-card p {
  margin: 4px 0 10px;
  font-family: "Roboto", sans-serif;
  font-size: 14px;
  line-height: 1.55;
  color: #4A5568;
}
.zcp-hero-card a {
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  font-size: 14.5px;
  color: var(--zcp-blue);
  text-decoration: none;
}
.zcp-hero-card a::after { content: "\2192"; margin-left: 6px; display: inline-block; }
.zcp-hero-card a:hover { text-decoration: underline; text-underline-offset: 3px; }
@media (min-width: 1280px) {
  .zcp-hero-card { position: absolute; right: 44px; bottom: 44px; margin: 0; }
}

/* ---- Trust strip (home, injected by mirror.py) -------------------------- */

.zcp-trust { background: #fff; border-bottom: 1px solid #EBEFF4; }
.zcp-trust-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 34px 28px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 26px 36px;
}
.zcp-trust-item { display: flex; gap: 14px; align-items: flex-start; }
.zcp-trust-item svg { flex: none; color: var(--zcp-leaf); margin-top: 1px; }
.zcp-trust-item strong {
  display: block;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 15.5px;
  color: var(--zcp-ink);
  margin-bottom: 3px;
}
.zcp-trust-item span {
  font-family: "Roboto", sans-serif;
  font-size: 14px;
  line-height: 1.55;
  color: #5B6675;
}

/* ---- Services band extras (kicker, badge, card action cues) ------------- */

.zcp-kicker {
  margin: 0 0 8px;
  text-align: center;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 12.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--zcp-leaf);
}

.elementor-element-1ee25f2 > .e-con-inner > .elementor-element-379c621 { position: relative; }
.zcp-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 3;
  background: var(--zcp-navy);
  color: #fff;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
}

.zcp-card-cta {
  margin: 14px 0 2px;
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  font-size: 15px;
  color: var(--zcp-blue);
}
.zcp-card-cta::after {
  content: "\2192";
  margin-left: 6px;
  transition: transform 0.22s cubic-bezier(0.165, 0.84, 0.44, 1);
  display: inline-block;
}
.elementor-element-1ee25f2 > .e-con-inner > .e-con.e-child:hover .zcp-card-cta::after {
  transform: translateX(4px);
}

/* Mockup order: Refill, Transfer, Patient Login. */
.elementor-element-1ee25f2 > .e-con-inner > .elementor-element-bb20077 { order: 3; }

@media (max-width: 767px) {
  .elementor-element.elementor-element-2998423::after {
    background: linear-gradient(180deg,
      rgba(13, 21, 34, 0.35), rgba(13, 21, 34, 0.68));
  }
  .zcp-hero-cta {
    align-self: center;
    max-width: none;
    text-align: center;
    padding: 64px 0;
  }
  .zcp-hero-cta > p { margin-left: auto; margin-right: auto; }
  .zcp-hero-actions { justify-content: center; }
  .zcp-hero-card { margin-left: auto; margin-right: auto; text-align: left; }
}
