/*
Theme Name: Premier Rx Solutions
Theme URI: https://premierrxsolutions.com/
Author: Premier Rx Solutions
Description: Lightweight custom WordPress theme for Premier Rx Solutions. Built for the public marketing site, pharmacy portal, document library, and WooCommerce resource store.
Version: 0.4.47
Requires at least: 6.5
Requires PHP: 8.0
Text Domain: premier-rx
*/

:root {
  --prx-red: #b40f2f;
  --prx-red-dark: #8d0b25;
  --prx-black: #111214;
  --prx-charcoal: #25282d;
  --prx-gray: #7b8086;
  --prx-light: #f5f6f7;
  --prx-line: #e6e8eb;
  --prx-white: #fff;
  --prx-max: 1180px;
  --prx-radius: 18px;
  --prx-shadow: 0 18px 50px rgba(17,18,20,.10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: #fff;
  color: var(--prx-charcoal);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.62;
}
img { max-width: 100%; height: auto; }
a { color: var(--prx-red); text-decoration: none; }
a:hover { color: var(--prx-red-dark); }

.prx-wrap { width: min(calc(100% - 40px), var(--prx-max)); margin-inline: auto; }
.prx-section { padding: 88px 0; }
.prx-section--light { background: var(--prx-light); }
.prx-section--dark { background: var(--prx-black); color: #fff; }
.prx-kicker {
  margin: 0 0 10px;
  color: var(--prx-red);
  font-size: .82rem;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.prx-title {
  margin: 0 0 20px;
  font-size: clamp(2rem, 4.5vw, 3.7rem);
  line-height: 1.05;
  letter-spacing: -.035em;
}
.prx-lead { max-width: 790px; color: #565c62; font-size: 1.13rem; }
.prx-section--dark .prx-lead { color: #d6d9dc; }

.prx-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 11px 22px;
  border: 2px solid var(--prx-red);
  border-radius: 999px;
  background: var(--prx-red);
  color: #fff;
  font-weight: 850;
  line-height: 1;
  transition: transform .2s ease, background .2s ease;
}
.prx-btn:hover { transform: translateY(-1px); background: var(--prx-red-dark); color: #fff; }
.prx-btn--ghost { border-color: rgba(255,255,255,.65); background: transparent; color: #fff; }
.prx-btn--ghost:hover { background: #fff; color: var(--prx-black); border-color: #fff; }

.prx-topbar { background: var(--prx-black); color: #fff; font-size: .88rem; }
.prx-topbar .prx-wrap {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.prx-topbar a { color: #fff; }

.prx-header {
  position: sticky;
  top: 0;
  z-index: 99;
  background: rgba(255,255,255,.97);
  border-bottom: 1px solid var(--prx-line);
  backdrop-filter: blur(12px);
}
.admin-bar .prx-header { top: 32px; }
.prx-header-row {
  min-height: 84px;
  display: flex;
  align-items: center;
  gap: 28px;
}
.prx-brand { display: inline-flex; align-items: center; margin-right: auto; }
.prx-brand img.custom-logo {
  display: block;
  width: auto;
  max-width: 245px;
  max-height: 62px;
  object-fit: contain;
}
.prx-brand-fallback { color: var(--prx-black); font-size: 1.25rem; font-weight: 950; }

.prx-nav ul {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.prx-nav a {
  color: var(--prx-charcoal);
  font-size: .91rem;
  font-weight: 750;
  white-space: nowrap;
}
.prx-nav a:hover { color: var(--prx-red); }

.prx-header-actions { display: flex; align-items: center; gap: 10px; }
.prx-menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 10px;
  background: var(--prx-light);
  color: var(--prx-black);
  font-size: 1.35rem;
  cursor: pointer;
}

.prx-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 78% 28%, rgba(180,15,47,.32), transparent 34%),
    linear-gradient(125deg, #0d0f11 0%, #24272c 60%, #111214 100%);
}
.prx-hero::after {
  content: "";
  position: absolute;
  right: -310px;
  top: -330px;
  width: 690px;
  height: 690px;
  border: 96px solid rgba(180,15,47,.13);
  border-radius: 50%;
}
.prx-hero-grid {
  position: relative;
  z-index: 2;
  min-height: 620px;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 46px;
}
.prx-hero h1 {
  max-width: 780px;
  margin: 0 0 24px;
  font-size: clamp(2.9rem, 6vw, 5.55rem);
  line-height: .98;
  letter-spacing: -.055em;
}
.prx-hero h1 span { color: #ed2449; }
.prx-hero p {
  max-width: 730px;
  margin: 0;
  color: #e0e3e6;
  font-size: clamp(1.08rem, 1.8vw, 1.3rem);
}
.prx-hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.prx-hero-art {
  min-height: 490px;
  display: grid;
  place-items: center;
}
.prx-hero-art img {
  width: min(100%, 560px);
  max-height: 560px;
  object-fit: contain;
  filter: drop-shadow(0 30px 50px rgba(0,0,0,.35));
}
.prx-hero-note {
  margin-top: 13px;
  color: #bfc4c8;
  font-size: .82rem;
}

.prx-three { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; margin-top: 36px; }
.prx-card {
  padding: 30px;
  background: #fff;
  border: 1px solid var(--prx-line);
  border-radius: var(--prx-radius);
  box-shadow: var(--prx-shadow);
}
.prx-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 14px;
  background: rgba(180,15,47,.10);
  color: var(--prx-red);
  font-weight: 950;
  font-size: 1.35rem;
}
.prx-card h3 { margin: 0 0 8px; font-size: 1.24rem; }

.prx-testimonials { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; margin-top: 32px; }
.prx-quote {
  padding: 28px;
  background: #fff;
  border: 1px solid var(--prx-line);
  border-radius: var(--prx-radius);
  box-shadow: 0 12px 28px rgba(0,0,0,.05);
}
.prx-quote blockquote { margin: 0 0 16px; }
.prx-quote cite { color: var(--prx-red); font-style: normal; font-weight: 850; }

.prx-process { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; margin-top: 36px; }
.prx-step {
  padding: 25px;
  background: #fff;
  color: var(--prx-charcoal);
  border-left: 4px solid var(--prx-red);
  border-radius: 0 16px 16px 0;
}
.prx-step-num { color: var(--prx-red); font-size: 2.1rem; font-weight: 950; line-height: 1; }
.prx-step h3 { margin: 14px 0 7px; font-size: 1.09rem; line-height: 1.25; }

.prx-split { display: grid; grid-template-columns: 1fr 1fr; gap: 58px; align-items: center; }
.prx-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.prx-gallery img {
  width: 100%;
  height: 290px;
  object-fit: contain;
  border-radius: 14px;
  border: 1px solid var(--prx-line);
  background: #fff;
}
.prx-feature-list { margin: 26px 0 0; padding: 0; list-style: none; }
.prx-feature-list li {
  position: relative;
  padding: 12px 0 12px 32px;
  border-bottom: 1px solid var(--prx-line);
}
.prx-feature-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--prx-red);
  font-weight: 950;
}

.prx-breakout {
  position: relative;
  overflow: hidden;
  min-height: 380px;
  display: grid;
  place-items: center;
  border-radius: 26px;
  background: #23262b;
  box-shadow: 0 18px 45px rgba(17,18,20,.12);
}
.prx-breakout img {
  width: 100%;
  height: 100%;
  min-height: 380px;
  object-fit: cover;
}

.prx-portal-preview { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; margin-top: 30px; }
.prx-portal-tile {
  min-height: 145px;
  padding: 22px;
  background: #fff;
  color: var(--prx-charcoal);
  border: 1px solid var(--prx-line);
  border-radius: 14px;
}
.prx-portal-tile strong { display: block; margin-bottom: 7px; }

.prx-cta {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 30px;
  padding: clamp(36px,6vw,68px);
  color: #fff;
  border-radius: 28px;
  background: linear-gradient(125deg, var(--prx-red-dark), var(--prx-red));
}
.prx-cta h2 { margin: 0 0 8px; font-size: clamp(2rem,4vw,3.25rem); line-height: 1; }
.prx-cta p { margin: 0; color: rgba(255,255,255,.87); }

.prx-contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 54px; }
.prx-contact-card {
  padding: 30px;
  border-radius: 18px;
  background: var(--prx-light);
}
.prx-form-note {
  padding: 14px 17px;
  background: #fff2f5;
  border-left: 4px solid var(--prx-red);
  border-radius: 8px;
}
.prx-content input,
.prx-content textarea,
.prx-content select {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid #d7dadd;
  border-radius: 10px;
  font: inherit;
}
.prx-content button,
.prx-content input[type="submit"] {
  padding: 13px 22px;
  border: 0;
  border-radius: 999px;
  background: var(--prx-red);
  color: #fff;
  font-weight: 850;
  cursor: pointer;
}

.prx-main { min-height: 60vh; }
.prx-page-header { padding: 68px 0 38px; background: var(--prx-light); }
.prx-page-header h1 { margin: 0; font-size: clamp(2.3rem,5vw,4rem); line-height: 1.05; }
.prx-content { padding: 58px 0 90px; }
.prx-content > *:first-child { margin-top: 0; }

.prx-footer { padding: 58px 0 24px; background: #111214; color: #bfc3c7; }
.prx-footer-grid { display: grid; grid-template-columns: 1.2fr .8fr .8fr; gap: 40px; }
.prx-footer-brand {
  width: 190px;
  max-width: 100%;
  padding: 18px;
  border-radius: 15px;
  background: var(--prx-red);
  color: #fff;
  text-align: center;
  font-weight: 950;
}
.prx-footer-brand img.custom-logo {
  width: auto;
  max-width: 100%;
  max-height: 96px;
  filter: brightness(0) invert(1);
}
.prx-footer h4 { margin-top: 0; color: #fff; }
.prx-footer ul { margin: 0; padding: 0; list-style: none; }
.prx-footer li { margin: 8px 0; }
.prx-footer a { color: #d9dcdf; }
.prx-footer a:hover { color: #fff; }
.prx-footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 42px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.10);
  font-size: .88rem;
}

.woocommerce .button,
.woocommerce button.button,
.woocommerce input.button {
  border-radius: 999px !important;
  background: var(--prx-red) !important;
  color: #fff !important;
}
.woocommerce ul.products li.product {
  padding: 16px !important;
  border: 1px solid var(--prx-line);
  border-radius: 16px;
  background: #fff;
}

@media (max-width: 980px) {
  .prx-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding: 18px 20px;
    background: #fff;
    border-bottom: 1px solid var(--prx-line);
  }
  .prx-nav.is-open { display: block; }
  .prx-nav ul { flex-direction: column; align-items: flex-start; gap: 12px; }
  .prx-menu-toggle { display: block; }
  .prx-header-actions .prx-btn { display: none; }
  .prx-hero-grid, .prx-split, .prx-contact-grid { grid-template-columns: 1fr; }
  .prx-hero-grid { min-height: auto; padding: 72px 0; }
  .prx-hero-art { min-height: 340px; }
  .prx-three, .prx-testimonials { grid-template-columns: 1fr 1fr; }
  .prx-process, .prx-portal-preview { grid-template-columns: 1fr 1fr; }
  .prx-footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .prx-wrap { width: min(calc(100% - 28px), var(--prx-max)); }
  .prx-section { padding: 64px 0; }
  .prx-topbar .prx-wrap { justify-content: center; }
  .prx-topbar-right { display: none; }
  .prx-brand img.custom-logo { max-width: 220px; max-height: 54px; }
  .prx-three, .prx-testimonials, .prx-process, .prx-portal-preview, .prx-footer-grid { grid-template-columns: 1fr; }
  .prx-gallery { grid-template-columns: 1fr; }
  .prx-cta { grid-template-columns: 1fr; }
  .prx-footer-bottom { flex-direction: column; }
  .admin-bar .prx-header { top: 46px; }
}

.prx-footer-square-logo {
  display: block;
  width: 100%;
  max-width: 155px;
  max-height: 155px;
  margin: 0 auto;
  object-fit: contain;
  border-radius: 10px;
}

.prx-portal-link {
  display: block;
  color: var(--prx-charcoal);
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.prx-portal-link:hover {
  color: var(--prx-charcoal);
  transform: translateY(-2px);
  border-color: rgba(180,15,47,.35);
  box-shadow: 0 12px 30px rgba(17,18,20,.10);
}

.prx-btn--portal {
  min-height: 52px;
  padding: 12px 22px;
  border-color: var(--prx-charcoal);
  background: var(--prx-charcoal);
  color: #fff;
  font-size: .92rem;
  white-space: nowrap;
}
.prx-btn--portal:hover {
  border-color: var(--prx-black);
  background: var(--prx-black);
  color: #fff;
}
.prx-btn--contact {
  min-height: 52px;
  padding-inline: 23px;
}

@media (max-width: 1180px) and (min-width: 981px) {
  .prx-header-row { gap: 18px; }
  .prx-nav ul { gap: 11px; }
  .prx-nav a { font-size: .82rem; }
  .prx-brand img.custom-logo { max-width: 205px; }
  .prx-btn--portal { padding-inline: 17px; font-size: .84rem; }
  .prx-btn--contact { padding-inline: 18px; font-size: .88rem; }
}

@media (max-width: 980px) {
  .prx-header-actions .prx-btn--portal {
    display: inline-flex;
    min-height: 44px;
    padding: 10px 14px;
    font-size: .78rem;
  }
  .prx-header-actions .prx-btn--contact {
    display: inline-flex;
    min-height: 44px;
    padding: 10px 14px;
    font-size: .78rem;
    white-space: nowrap;
  }
}

@media (max-width: 640px) {
  .prx-header-row {
    min-height: 0;
    flex-wrap: wrap;
    gap: 10px;
    padding-top: 12px;
    padding-bottom: 12px;
  }
  .prx-brand {
    flex: 0 0 100%;
    min-width: 0;
    margin-right: 0;
    justify-content: center;
  }
  .prx-brand img.custom-logo {
    max-width: 220px;
    max-height: 54px;
  }
  .prx-header-actions {
    flex: 0 0 100%;
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto 44px;
    align-items: stretch;
    gap: 8px;
  }
  .prx-header-actions .prx-btn--portal {
    width: 100%;
    max-width: none;
    min-width: 0;
    padding: 9px 11px;
    white-space: normal;
    text-align: center;
    line-height: 1.15;
    font-size: .74rem;
  }
  .prx-header-actions .prx-btn--contact {
    padding-inline: 13px;
    font-size: .76rem;
  }
  .prx-menu-toggle {
    width: 44px;
    height: 44px;
  }
}

.prx-brand {
  flex: 0 0 auto;
  min-width: 205px;
}
.prx-theme-logo {
  display: block;
  width: 225px !important;
  max-width: 225px !important;
  height: auto !important;
  max-height: 64px !important;
}
.prx-nav {
  flex: 1 1 auto;
}
.prx-header-actions {
  flex: 0 0 auto;
}

@media (max-width: 1180px) and (min-width: 981px) {
  .prx-brand { min-width: 170px; }
  .prx-theme-logo {
    width: 185px !important;
    max-width: 185px !important;
  }
}

@media (max-width: 980px) {
  .prx-brand {
    min-width: 0;
    margin-right: auto;
  }
  .prx-theme-logo {
    width: 195px !important;
    max-width: 195px !important;
  }
}

@media (max-width: 640px) {
  .prx-theme-logo {
    width: 165px !important;
    max-width: 165px !important;
  }
}

/* Branded pharmacy customer login page */
.prx-login-page {
  min-height: 650px;
  display: grid;
  place-items: center;
  padding: 68px 20px 90px;
  background:
    radial-gradient(circle at 80% 25%, rgba(180,15,47,.09), transparent 32%),
    #f5f6f7;
}

.prx-login-card {
  width: min(100%, 620px);
  padding: clamp(30px, 5vw, 52px);
  border: 1px solid #e1e4e7;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(17,18,20,.10);
}

.prx-login-logo {
  display: block;
  width: min(100%, 360px);
  max-height: 110px;
  margin: 0 auto 30px;
  object-fit: contain;
}

.prx-login-kicker {
  margin: 0 0 8px;
  color: var(--prx-red);
  font-size: .8rem;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.prx-login-card h1 {
  margin: 0 0 14px;
  color: var(--prx-black);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.04;
  letter-spacing: -.035em;
}

.prx-login-intro {
  margin: 0 0 30px;
  color: #5b6168;
  font-size: 1.04rem;
}

#prx-customer-loginform p {
  margin: 0 0 18px;
}

#prx-customer-loginform label {
  display: block;
  margin-bottom: 7px;
  color: var(--prx-charcoal);
  font-weight: 800;
}

#prx-customer-loginform input[type="text"],
#prx-customer-loginform input[type="password"] {
  width: 100%;
  min-height: 52px;
  padding: 12px 14px;
  border: 1px solid #cfd4d9;
  border-radius: 10px;
  background: #fff;
  color: var(--prx-black);
  font: inherit;
}

#prx-customer-loginform .login-remember label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}

#prx-customer-loginform .button-primary {
  min-height: 50px;
  padding: 12px 28px;
  border: 0;
  border-radius: 999px;
  background: var(--prx-red);
  color: #fff;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

#prx-customer-loginform .button-primary:hover {
  background: var(--prx-red-dark);
}

.prx-login-links {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--prx-line);
  font-size: .92rem;
}

.prx-login-links a,
.prx-login-secondary {
  color: var(--prx-red);
  font-weight: 750;
}

.prx-login-security {
  margin: 24px 0 0;
  color: #767d84;
  font-size: .82rem;
}

.prx-login-error {
  margin-bottom: 20px;
  padding: 13px 15px;
  border: 1px solid #e9a9b6;
  border-radius: 10px;
  background: #fff2f5;
  color: #7a1026;
  font-weight: 700;
}

.prx-login-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

@media (max-width: 560px) {
  .prx-login-page {
    padding: 44px 14px 70px;
  }

  .prx-login-card {
    padding: 27px 21px;
    border-radius: 16px;
  }

  .prx-login-links {
    flex-direction: column;
  }

  .prx-login-links span {
    display: none;
  }
}


/* Logged-in Pharmacy Portal Dashboard */
.prx-dashboard-hero {
  padding: 58px 0;
  color: #fff;
  background:
    radial-gradient(circle at 82% 30%, rgba(180,15,47,.26), transparent 34%),
    linear-gradient(125deg, #101214, #26292e);
}

.prx-dashboard-hero-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 36px;
}

.prx-dashboard-hero h1 {
  max-width: 820px;
  margin: 0 0 13px;
  font-size: clamp(2.5rem, 5vw, 4.4rem);
  line-height: 1;
  letter-spacing: -.045em;
}

.prx-dashboard-hero p:last-child {
  max-width: 760px;
  margin-bottom: 0;
  color: #d6d9dc;
  font-size: 1.08rem;
}

.prx-dashboard-user {
  min-width: 250px;
  padding: 20px 22px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 14px;
  background: rgba(255,255,255,.06);
}

.prx-dashboard-user span,
.prx-dashboard-user strong {
  display: block;
}

.prx-dashboard-user span {
  color: #bfc4c8;
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .1em;
}

.prx-dashboard-user strong {
  margin: 5px 0 10px;
  word-break: break-word;
}

.prx-dashboard-user a {
  color: #fff;
  font-weight: 800;
  text-decoration: underline;
}

.prx-dashboard-section {
  padding: 68px 0 82px;
  background: #f5f6f7;
}

.prx-dashboard-heading h2 {
  margin: 0 0 28px;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.05;
}

.prx-dashboard-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.prx-dashboard-card {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  min-height: 150px;
  padding: 24px;
  border: 1px solid #e0e3e6;
  border-radius: 17px;
  background: #fff;
  color: var(--prx-charcoal);
  box-shadow: 0 9px 26px rgba(17,18,20,.05);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.prx-dashboard-card:hover {
  color: var(--prx-charcoal);
  transform: translateY(-2px);
  border-color: rgba(180,15,47,.35);
  box-shadow: 0 18px 36px rgba(17,18,20,.09);
}

.prx-dashboard-card--featured {
  border-color: rgba(180,15,47,.28);
  background: linear-gradient(135deg, #fff, #fff5f7);
}

.prx-dashboard-icon {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: #111214;
  color: #fff;
  font-size: .72rem;
  font-weight: 950;
  letter-spacing: .04em;
}

.prx-dashboard-card--featured .prx-dashboard-icon {
  background: var(--prx-red);
}

.prx-dashboard-card h3 {
  margin: 0 0 6px;
  font-size: 1.24rem;
}

.prx-dashboard-card p {
  margin: 0;
  color: #666d74;
  line-height: 1.5;
}

.prx-dashboard-arrow {
  color: var(--prx-red);
  font-size: 1.6rem;
  font-weight: 950;
}

.prx-dashboard-bottom {
  padding: 0 0 82px;
  background: #f5f6f7;
}

.prx-dashboard-callout {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 32px;
  padding: clamp(32px, 5vw, 54px);
  border-radius: 22px;
  background: #111214;
  color: #fff;
}

.prx-dashboard-callout h2 {
  margin: 0 0 10px;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.03;
}

.prx-dashboard-callout p:last-child {
  max-width: 760px;
  margin-bottom: 0;
  color: #d6d9dc;
}

.prx-portal-nav ul {
  gap: 18px;
}

@media (max-width: 900px) {
  .prx-dashboard-hero-grid,
  .prx-dashboard-callout {
    grid-template-columns: 1fr;
  }
  .prx-dashboard-user {
    min-width: 0;
  }
  .prx-dashboard-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .prx-dashboard-card {
    grid-template-columns: auto 1fr;
  }
  .prx-dashboard-arrow {
    display: none;
  }
}


/* Public new-pharmacy onboarding route */
.prx-public-onboarding {
  min-height: 70vh;
  padding: 24px 0 1px;
  background:
    radial-gradient(circle at 82% 18%, rgba(180,15,47,.06), transparent 30%),
    #f5f6f7;
}


/* Portal navigation can wrap longer operational section names */
.prx-portal-nav ul{
  flex-wrap:wrap;
}
.prx-portal-nav a{
  white-space:normal;
  line-height:1.15;
}


/* Premier Rx Facebook community dashboard card */
.prx-dashboard-card--facebook{
  border-color:#d9e5f8;
  background:#f7faff;
}
.prx-dashboard-card--facebook .prx-dashboard-icon{
  background:#1877f2;
  color:#fff;
}

/* Multi-location portal switch button */
.prx-btn--switch{
  background:#fff;
  color:#25292d;
  border:1px solid #d9dde0;
}
.prx-btn--switch:hover{
  background:#f4f5f6;
}


/* Administrator pharmacy portal preview */
.prx-admin-preview-banner{
  background:#7c2d12;
  color:#fff;
}
.prx-admin-preview-banner-row{
  min-height:48px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
}
.prx-admin-preview-banner-row>div{
  display:flex;
  align-items:center;
  gap:12px;
  flex-wrap:wrap;
}
.prx-admin-preview-banner strong{
  display:inline-block;
  padding:4px 8px;
  border-radius:5px;
  background:#fff;
  color:#7c2d12;
  font-size:.72rem;
  letter-spacing:.08em;
}
.prx-admin-preview-banner span{
  font-size:.92rem;
}
.prx-admin-preview-banner a{
  flex:0 0 auto;
  padding:7px 12px;
  border:1px solid rgba(255,255,255,.7);
  border-radius:999px;
  color:#fff;
  text-decoration:none;
  font-weight:800;
}
.prx-admin-preview-banner a:hover{
  background:#fff;
  color:#7c2d12;
}
@media(max-width:700px){
  .prx-admin-preview-banner-row{
    padding-top:9px;
    padding-bottom:9px;
    align-items:flex-start;
  }
}


/* v0.4.38 — Private Premier Rx Resource Store */
.prx-store-header{
  box-shadow:0 1px 0 rgba(31,36,42,.08);
}
.prx-store-nav ul{
  display:flex;
  align-items:center;
  gap:22px;
}
.prx-store-nav a{
  font-weight:700;
}
.prx-store-body .woocommerce{
  min-height:420px;
}
.prx-store-body .woocommerce .button,
.prx-store-body .woocommerce button.button,
.prx-store-body .woocommerce input.button{
  border-radius:999px;
}
.prx-store-body .woocommerce a.button,
.prx-store-body .woocommerce button.button,
.prx-store-body .woocommerce input.button{
  background:#b40f2f;
  color:#fff;
}
.prx-store-body .woocommerce a.button:hover,
.prx-store-body .woocommerce button.button:hover,
.prx-store-body .woocommerce input.button:hover{
  background:#8f0c26;
  color:#fff;
}


/* v0.4.40 — non-HRT enrollment dashboard tile */
.prx-dashboard-card--hrt-enroll{
  border-style:dashed;
  background:linear-gradient(135deg,#fff,#fff7f8);
}
.prx-dashboard-card--hrt-enroll .prx-dashboard-icon{
  background:#fff0f3;
  color:#b40f2f;
}


/* v0.4.41 — Rebates & Special Offers dashboard section */
.prx-dashboard-offers{
  padding:12px 0 44px;
  background:#f5f6f7;
}
.prx-dashboard-offers-heading{
  margin-bottom:14px;
}
.prx-dashboard-offers-heading h2{
  margin:4px 0 0;
  font-size:clamp(1.6rem,3vw,2.25rem);
}
.prx-dashboard-offers-card{
  display:grid;
  grid-template-columns:64px minmax(0,1fr) auto;
  gap:18px;
  align-items:center;
  padding:22px 24px;
  border:1px solid #d9dde0;
  border-left:5px solid #b40f2f;
  border-radius:16px;
  background:linear-gradient(135deg,#fff,#fff7f8);
  color:inherit;
  text-decoration:none;
  box-shadow:0 4px 18px rgba(0,0,0,.035);
}
.prx-dashboard-offers-card:hover{
  transform:translateY(-1px);
  box-shadow:0 8px 24px rgba(0,0,0,.06);
}
.prx-dashboard-offers-icon{
  display:flex;
  align-items:center;
  justify-content:center;
  width:58px;
  height:58px;
  border-radius:14px;
  background:#b40f2f;
  color:#fff;
  font-size:1.8rem;
  font-weight:900;
}
.prx-dashboard-offers-card strong{
  font-size:1.08rem;
}
.prx-dashboard-offers-card p{
  margin:5px 0 0;
  color:#687078;
}
.prx-dashboard-offers-tags{
  display:flex;
  flex-wrap:wrap;
  gap:7px;
  margin-top:12px;
}
.prx-dashboard-offers-tags span{
  padding:5px 9px;
  border-radius:999px;
  background:#f0f2f3;
  color:#4d565f;
  font-size:.74rem;
  font-weight:800;
}
@media(max-width:700px){
  .prx-dashboard-offers-card{
    grid-template-columns:48px minmax(0,1fr);
  }
  .prx-dashboard-offers-card>.prx-dashboard-arrow{
    display:none;
  }
  .prx-dashboard-offers-icon{
    width:44px;
    height:44px;
    font-size:1.4rem;
  }
}


/* v0.4.44 — finished private WooCommerce storefront */
.prx-store-body{
  background:#f7f8fa;
}
.prx-store-body .prx-main{
  background:#f7f8fa;
}
.prx-store-context{
  display:flex;
  align-items:center;
  gap:10px;
  min-width:0;
}
.prx-store-context strong{
  color:#fff;
}
.prx-store-context a{
  color:#fff;
  text-decoration:underline;
  text-underline-offset:3px;
}
.prx-store-cart-count{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:20px;
  height:20px;
  margin-left:4px;
  padding:0 6px;
  border-radius:999px;
  background:#b40f2f;
  color:#fff;
  font-size:.72rem;
  font-weight:900;
}
.prx-store-hero{
  position:relative;
  overflow:hidden;
  padding:58px 0 46px;
  background:
    radial-gradient(circle at 82% 18%,rgba(180,15,47,.18),transparent 34%),
    linear-gradient(135deg,#111214,#25282d);
  color:#fff;
}
.prx-store-hero:after{
  content:"";
  position:absolute;
  width:300px;
  height:300px;
  right:-80px;
  bottom:-180px;
  border:52px solid rgba(255,255,255,.035);
  border-radius:50%;
}
.prx-store-hero .prx-kicker{
  color:#ff98aa;
}
.prx-store-hero h1{
  position:relative;
  z-index:1;
  max-width:820px;
  margin:0;
  font-size:clamp(2.4rem,5vw,4.4rem);
  line-height:1.02;
  letter-spacing:-.045em;
}
.prx-store-hero p{
  position:relative;
  z-index:1;
  max-width:760px;
  margin:16px 0 0;
  color:#d8dadd;
  font-size:1.06rem;
}
.prx-store-body .prx-content{
  padding-top:42px;
}
.prx-store-body .woocommerce{
  min-height:420px;
  color:#25282d;
}
.prx-store-body .woocommerce .woocommerce-breadcrumb{
  margin:0 0 24px;
  color:#777d83;
  font-size:.88rem;
}
.prx-store-body .woocommerce .woocommerce-result-count,
.prx-store-body .woocommerce .woocommerce-ordering{
  margin-bottom:24px;
}
.prx-store-body .woocommerce .woocommerce-ordering select{
  min-width:220px;
  padding:10px 38px 10px 13px;
  border:1px solid #d8dce0;
  border-radius:10px;
  background:#fff;
}
.prx-store-body .woocommerce ul.products{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:22px;
  margin-top:24px;
}
.prx-store-body .woocommerce ul.products:before,
.prx-store-body .woocommerce ul.products:after{
  display:none;
}
.prx-store-body .woocommerce ul.products li.product,
.prx-store-body .woocommerce-page ul.products li.product{
  float:none;
  width:auto;
  margin:0;
  padding:0 0 20px !important;
  overflow:hidden;
  border:1px solid #e0e3e6;
  border-radius:18px;
  background:#fff;
  box-shadow:0 7px 24px rgba(17,18,20,.045);
  transition:transform .18s ease,box-shadow .18s ease;
}
.prx-store-body .woocommerce ul.products li.product:hover{
  transform:translateY(-2px);
  box-shadow:0 14px 34px rgba(17,18,20,.09);
}
.prx-store-body .woocommerce ul.products li.product a img{
  width:100%;
  margin:0 0 18px;
  aspect-ratio:4/3;
  object-fit:cover;
  background:#f0f1f2;
}
.prx-store-body .woocommerce ul.products li.product .woocommerce-loop-product__title,
.prx-store-body .woocommerce ul.products li.product .price,
.prx-store-body .woocommerce ul.products li.product .button{
  margin-left:20px;
  margin-right:20px;
}
.prx-store-body .woocommerce ul.products li.product .woocommerce-loop-product__title{
  padding:0;
  color:#1f242a;
  font-size:1.08rem;
  line-height:1.25;
}
.prx-store-body .woocommerce ul.products li.product .price{
  margin-top:8px;
  color:#8d0b25;
  font-size:1.05rem;
  font-weight:900;
}
.prx-store-body .woocommerce ul.products li.product .button{
  margin-top:14px;
}
.prx-store-body .woocommerce a.button,
.prx-store-body .woocommerce button.button,
.prx-store-body .woocommerce input.button,
.prx-store-body .wc-block-components-button{
  min-height:44px;
  border:0 !important;
  border-radius:999px !important;
  background:#b40f2f !important;
  color:#fff !important;
  font-weight:850 !important;
  box-shadow:none !important;
}
.prx-store-body .woocommerce a.button:hover,
.prx-store-body .woocommerce button.button:hover,
.prx-store-body .woocommerce input.button:hover,
.prx-store-body .wc-block-components-button:hover{
  background:#8d0b25 !important;
  color:#fff !important;
}
.prx-store-body .woocommerce div.product{
  padding:28px;
  border:1px solid #e0e3e6;
  border-radius:20px;
  background:#fff;
  box-shadow:0 8px 30px rgba(17,18,20,.05);
}
.prx-store-body .woocommerce div.product .product_title{
  color:#17191c;
  font-size:clamp(2rem,4vw,3.1rem);
  line-height:1.04;
  letter-spacing:-.035em;
}
.prx-store-body .woocommerce div.product p.price,
.prx-store-body .woocommerce div.product span.price{
  color:#8d0b25;
  font-size:1.35rem;
  font-weight:900;
}
.prx-store-body .woocommerce table.shop_table,
.prx-store-body .wc-block-cart,
.prx-store-body .wc-block-checkout,
.prx-store-body .woocommerce form.checkout,
.prx-store-body .woocommerce form.login,
.prx-store-body .woocommerce form.register{
  border-color:#e0e3e6;
  border-radius:16px;
  background:#fff;
}
.prx-store-body .woocommerce table.shop_table{
  overflow:hidden;
}
.prx-store-body .woocommerce .cart_totals,
.prx-store-body .woocommerce-checkout-review-order,
.prx-store-body .woocommerce-MyAccount-content{
  padding:22px;
  border:1px solid #e0e3e6;
  border-radius:16px;
  background:#fff;
}
.prx-store-body .woocommerce .woocommerce-MyAccount-navigation ul{
  margin:0;
  padding:0;
  list-style:none;
}
.prx-store-body .woocommerce .woocommerce-MyAccount-navigation li a{
  display:block;
  margin-bottom:8px;
  padding:11px 14px;
  border:1px solid #e1e4e7;
  border-radius:10px;
  background:#fff;
  color:#25282d;
  font-weight:750;
}
.prx-store-body .woocommerce .woocommerce-MyAccount-navigation li.is-active a{
  border-color:#b40f2f;
  background:#fff2f5;
  color:#8d0b25;
}
.prx-store-body .woocommerce-message,
.prx-store-body .woocommerce-info,
.prx-store-body .woocommerce-error,
.prx-store-body .wc-block-components-notice-banner{
  border-radius:12px;
  background:#fff;
}
.prx-store-ordering-context{
  margin-bottom:20px !important;
}
.prx-store-ordering-context a{
  margin-left:8px;
  font-weight:800;
}
@media(max-width:900px){
  .prx-store-body .woocommerce ul.products{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}
@media(max-width:640px){
  .prx-store-body .woocommerce ul.products{
    grid-template-columns:1fr;
    gap:16px;
  }
  .prx-store-hero{
    padding:42px 0 34px;
  }
  .prx-store-body .woocommerce div.product{
    padding:18px;
  }
}

/* v0.4.45 — Public patient telehealth handoff to PeachScripts */
.prx-patient-bar {
  position: relative;
  z-index: 101;
  background: linear-gradient(90deg, var(--prx-red-dark), var(--prx-red));
  color: #fff;
}
.prx-patient-bar__inner {
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding-top: 7px;
  padding-bottom: 7px;
}
.prx-patient-bar__message {
  display: flex;
  align-items: baseline;
  gap: 8px;
  line-height: 1.3;
}
.prx-patient-bar__message strong {
  font-size: .98rem;
  font-weight: 950;
}
.prx-patient-bar__message span {
  color: rgba(255,255,255,.88);
  font-size: .9rem;
}
.prx-patient-bar__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 34px;
  padding: 7px 15px;
  border: 1px solid rgba(255,255,255,.82);
  border-radius: 999px;
  background: #fff;
  color: var(--prx-red-dark);
  font-size: .88rem;
  font-weight: 900;
  white-space: nowrap;
  transition: transform .2s ease, color .2s ease;
}
.prx-patient-bar__link:hover,
.prx-patient-bar__link:focus {
  background: #fff;
  color: var(--prx-black);
  transform: translateY(-1px);
}
.prx-btn--patient {
  min-height: 52px;
  padding: 12px 19px;
  border-color: var(--prx-red);
  background: #fff;
  color: var(--prx-red);
  font-size: .88rem;
  white-space: nowrap;
}
.prx-btn--patient:hover,
.prx-btn--patient:focus {
  border-color: var(--prx-red-dark);
  background: #fff2f5;
  color: var(--prx-red-dark);
}

@media (max-width: 1320px) and (min-width: 981px) {
  .prx-btn--patient {
    display: none;
  }
}

@media (max-width: 980px) {
  .prx-patient-bar__inner {
    min-height: 50px;
    gap: 14px;
  }
  .prx-patient-bar__message span {
    display: none;
  }
  .prx-header-actions .prx-btn--patient {
    display: none;
  }
}

@media (max-width: 640px) {
  .prx-patient-bar__inner {
    width: min(calc(100% - 20px), var(--prx-max));
    min-height: 58px;
    justify-content: space-between;
    gap: 10px;
    padding-top: 6px;
    padding-bottom: 6px;
  }
  .prx-patient-bar__message strong {
    display: block;
    max-width: 165px;
    font-size: .84rem;
    line-height: 1.2;
  }
  .prx-patient-bar__link {
    min-height: 36px;
    padding: 7px 12px;
    font-size: .78rem;
  }
}
