/*
Theme Name: PharmaTroc
Theme URI: https://pharmatroc.re
Author: PharmaTroc
Author URI: https://pharmatroc.re
Description: Thème WooCommerce du réseau confraternel PharmaTroc, plateforme open source et gratuite d’échange entre pharmacies et professionnels de la distribution.
Version: 1.7.3
Requires at least: 6.2
Tested up to: 6.6
Requires PHP: 8.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: pharmatroc
Tags: woocommerce, marketplace, pharmacy, b2b, responsive
*/

:root {
  --pt-forest: #245847;
  --pt-forest-deep: #173e33;
  --pt-leaf: #5d806a;
  --pt-sage: #dce8dd;
  --pt-sage-light: #eff5ef;
  --pt-cream: #f8f3e9;
  --pt-paper: #fffdf8;
  --pt-clay: #c86f55;
  --pt-clay-deep: #9e4d3a;
  --pt-gold: #e1ae57;
  --pt-ink: #20342d;
  --pt-muted: #66756f;
  --pt-line: #dce3dd;
  --pt-card: #ffffff;
  --pt-primary: var(--pt-forest);
  --pt-primary-dark: var(--pt-forest-deep);
  --pt-secondary: var(--pt-clay);
  --pt-success: #3d7b5e;
  --pt-danger: #b4473c;
  --pt-radius: 26px;
  --pt-shadow: 0 24px 70px rgba(31, 60, 49, .1);
  --pt-shadow-soft: 0 14px 38px rgba(31, 60, 49, .08);
  --pt-container: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--pt-paper);
  color: var(--pt-ink);
  font-family: "Segoe UI", Inter, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

body.admin-bar .pt-header {
  top: 32px;
}

a {
  color: var(--pt-forest);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--pt-clay-deep);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(200, 111, 85, .42);
  outline-offset: 3px;
}

img {
  max-width: 100%;
  height: auto;
}

button,
input,
select,
textarea {
  font: inherit;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--pt-ink);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  line-height: 1.12;
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.screen-reader-text:focus {
  position: fixed;
  z-index: 9999;
  top: 12px;
  left: 12px;
  width: auto;
  height: auto;
  clip: auto;
  margin: 0;
  padding: 12px 18px;
  border-radius: 10px;
  background: #fff;
  color: var(--pt-forest-deep);
  font-weight: 800;
  box-shadow: var(--pt-shadow);
}

.pt-container {
  width: min(var(--pt-container), calc(100% - 40px));
  margin-inline: auto;
}

.site-content {
  min-height: 55vh;
}

/* Community bar and header */
.pt-community-bar {
  position: relative;
  z-index: 52;
  background: var(--pt-forest-deep);
  color: #e9f5ed;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .01em;
}

.pt-community-bar .pt-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 34px;
}

.pt-community-bar p {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}

.pt-community-bar p span {
  color: #8ed3a8;
  font-size: .65rem;
}

.pt-community-bar a {
  color: #fff;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, .45);
}

.pt-header {
  position: sticky;
  z-index: 50;
  top: 0;
  border-bottom: 1px solid rgba(36, 88, 71, .12);
  background: rgba(255, 253, 248, .94);
  box-shadow: 0 8px 30px rgba(31, 60, 49, .04);
  backdrop-filter: blur(16px);
}

.pt-header__inner {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
  min-height: 78px;
}

.pt-action-icon.dashicons {
  width: 20px;
  height: 20px;
  font-size: 20px;
  line-height: 20px;
}

.pt-btn--account > span[aria-hidden="true"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  font-size: 0;
  line-height: 20px;
}

.pt-btn--account > span[aria-hidden="true"]::before {
  color: currentColor;
  content: "\f110";
  font-family: dashicons;
  font-size: 20px;
  font-weight: 400;
}

.pt-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
  color: var(--pt-ink);
  text-decoration: none;
}

.pt-brand:hover {
  color: var(--pt-ink);
  text-decoration: none;
}

.pt-brand__logo,
.custom-logo {
  display: block;
  width: auto;
  max-width: 210px;
  max-height: 54px;
}

.pt-brand__mark {
  position: relative;
  display: grid;
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  place-items: center;
  overflow: hidden;
  border-radius: 16px 16px 16px 7px;
  background: var(--pt-forest);
  box-shadow: 0 11px 26px rgba(36, 88, 71, .22);
  transform: rotate(-3deg);
}

.pt-brand__mark i {
  position: absolute;
  display: block;
  border-radius: 99px;
  background: #fff;
}

.pt-brand__mark i:first-child {
  width: 23px;
  height: 7px;
}

.pt-brand__mark i:last-child {
  width: 7px;
  height: 23px;
}

.pt-brand__word {
  display: grid;
  line-height: 1;
}

.pt-brand__word strong {
  color: var(--pt-forest-deep);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.28rem;
  letter-spacing: -.025em;
}

.pt-brand__word small {
  margin-top: 5px;
  color: var(--pt-muted);
  font-size: .65rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.pt-nav {
  justify-self: center;
  min-width: 0;
}

.pt-nav ul {
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.7vw, 25px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.pt-nav li {
  margin: 0;
}

.pt-nav a {
  position: relative;
  display: block;
  padding: 10px 0;
  color: var(--pt-ink);
  font-size: .89rem;
  font-weight: 750;
  text-decoration: none;
  white-space: nowrap;
}

.pt-nav a::after {
  position: absolute;
  right: 0;
  bottom: 4px;
  left: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--pt-clay);
  content: "";
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .2s ease;
}

.pt-nav a:hover::after,
.pt-nav .current-menu-item > a::after {
  transform: scaleX(1);
}

.pt-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.pt-mobile-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--pt-line);
  border-radius: 14px;
  background: #fff;
  color: var(--pt-ink);
  cursor: pointer;
}

.pt-mobile-toggle__bars {
  display: grid;
  gap: 4px;
}

.pt-mobile-toggle__bars i {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 99px;
  background: currentColor;
  transition: transform .2s ease, opacity .2s ease;
}

.pt-mobile-toggle[aria-expanded="true"] .pt-mobile-toggle__bars i:first-child {
  transform: translateY(6px) rotate(45deg);
}

.pt-mobile-toggle[aria-expanded="true"] .pt-mobile-toggle__bars i:nth-child(2) {
  opacity: 0;
}

.pt-mobile-toggle[aria-expanded="true"] .pt-mobile-toggle__bars i:last-child {
  transform: translateY(-6px) rotate(-45deg);
}

/* Buttons */
.pt-btn,
.button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  padding: 11px 19px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--pt-forest);
  color: #fff !important;
  box-shadow: 0 13px 28px rgba(36, 88, 71, .18);
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none !important;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.pt-btn:hover,
.button:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover {
  background: var(--pt-forest-deep);
  color: #fff !important;
  box-shadow: 0 17px 35px rgba(36, 88, 71, .24);
  text-decoration: none;
  transform: translateY(-1px);
}

.pt-btn--ghost {
  border-color: rgba(36, 88, 71, .16);
  background: transparent;
  color: var(--pt-forest-deep) !important;
  box-shadow: none;
}

.pt-btn--ghost:hover {
  background: var(--pt-sage-light);
  color: var(--pt-forest-deep) !important;
}

.pt-btn--soft {
  border-color: rgba(36, 88, 71, .13);
  background: var(--pt-sage-light);
  color: var(--pt-forest-deep) !important;
  box-shadow: none;
}

.pt-btn--soft:hover {
  background: var(--pt-sage);
  color: var(--pt-forest-deep) !important;
  box-shadow: none;
}

.pt-btn--light {
  background: #fff;
  color: var(--pt-forest-deep) !important;
}

.pt-btn--light:hover {
  background: var(--pt-cream);
  color: var(--pt-forest-deep) !important;
}

.pt-btn--outline-light {
  border-color: rgba(255, 255, 255, .36);
  background: transparent;
  color: #fff !important;
  box-shadow: none;
}

.pt-btn--outline-light:hover {
  background: rgba(255, 255, 255, .1);
}

.pt-btn--compact {
  padding-inline: 15px;
}

.pt-btn--cart b {
  display: grid;
  min-width: 21px;
  height: 21px;
  place-items: center;
  padding-inline: 5px;
  border-radius: 99px;
  background: rgba(255, 255, 255, .18);
  font-size: .72rem;
}

.pt-text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--pt-forest-deep);
  font-weight: 850;
  text-decoration: none;
}

.pt-text-link span {
  transition: transform .18s ease;
}

.pt-text-link:hover span {
  transform: translateX(4px);
}

/* Home hero */
.pharmatroc-home .site-content {
  overflow: hidden;
}

.pt-home-hero {
  position: relative;
  padding: clamp(64px, 8vw, 112px) 0 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 13% 14%, rgba(225, 174, 87, .17), transparent 26%),
    radial-gradient(circle at 88% 12%, rgba(93, 128, 106, .18), transparent 25%),
    linear-gradient(180deg, #fffdf8 0%, #f7f2e7 100%);
}

.pt-home-hero__wash::before,
.pt-home-hero__wash::after {
  position: absolute;
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.pt-home-hero__wash::before {
  top: 110px;
  left: -180px;
  width: 360px;
  height: 360px;
  border: 1px solid rgba(36, 88, 71, .11);
  box-shadow: 0 0 0 42px rgba(36, 88, 71, .025), 0 0 0 90px rgba(36, 88, 71, .018);
}

.pt-home-hero__wash::after {
  right: -90px;
  bottom: 20px;
  width: 260px;
  height: 260px;
  background: rgba(200, 111, 85, .08);
  filter: blur(1px);
}

.pt-home-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(430px, .98fr);
  align-items: center;
  gap: clamp(40px, 6vw, 86px);
}

.pt-home-hero__copy,
.pt-community-map {
  min-width: 0;
}

.pt-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 13px 8px 8px;
  border: 1px solid rgba(36, 88, 71, .15);
  border-radius: 999px;
  background: rgba(255, 255, 255, .72);
  color: var(--pt-forest-deep);
  box-shadow: 0 10px 30px rgba(31, 60, 49, .05);
  font-size: .8rem;
  font-weight: 850;
  letter-spacing: .025em;
}

.pt-kicker__mark {
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  border-radius: 50%;
  background: var(--pt-forest);
  color: #fff;
  font-size: 1.1rem;
  line-height: 1;
}

.pt-home-hero h1 {
  max-width: 780px;
  margin: 22px 0;
  color: var(--pt-forest-deep);
  font-size: clamp(2.75rem, 5.15vw, 5rem);
  letter-spacing: -.055em;
}

.pt-home-hero__lead {
  max-width: 720px;
  margin: 0;
  color: #4f625b;
  font-size: clamp(1.03rem, 1.4vw, 1.18rem);
  line-height: 1.68;
}

.pt-home-hero__lead--secondary {
  margin-top: 12px;
  color: var(--pt-ink);
  font-weight: 650;
}

.pt-home-hero__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.pt-principles {
  display: flex;
  align-items: center;
  gap: 10px 20px;
  margin: 27px 0 0;
  padding: 0;
  list-style: none;
  flex-wrap: wrap;
}

.pt-principles li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--pt-muted);
  font-size: .82rem;
  font-weight: 800;
}

.pt-principles li span {
  display: grid;
  width: 21px;
  height: 21px;
  place-items: center;
  border-radius: 50%;
  background: var(--pt-sage);
  color: var(--pt-forest-deep);
  font-size: .68rem;
}

/* Community network visual */
.pt-community-map {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: auto auto auto;
  gap: 23px;
  min-height: 540px;
  padding: 38px 30px;
  border: 1px solid rgba(36, 88, 71, .13);
  border-radius: 42px 42px 42px 14px;
  background:
    radial-gradient(circle at center, rgba(220, 232, 221, .8), transparent 34%),
    rgba(255, 255, 255, .67);
  box-shadow: 0 36px 90px rgba(31, 60, 49, .13);
  isolation: isolate;
}

.pt-community-map::before {
  position: absolute;
  z-index: -1;
  inset: 14px;
  border: 1px dashed rgba(36, 88, 71, .13);
  border-radius: 33px 33px 33px 9px;
  content: "";
}

.pt-community-map__line {
  position: absolute;
  z-index: -1;
  top: 50%;
  left: 50%;
  background: repeating-linear-gradient(90deg, rgba(36, 88, 71, .3) 0 7px, transparent 7px 14px);
  transform: translate(-50%, -50%);
}

.pt-community-map__line--horizontal {
  width: 68%;
  height: 1px;
}

.pt-community-map__line--vertical {
  width: 1px;
  height: 66%;
  background: repeating-linear-gradient(180deg, rgba(36, 88, 71, .3) 0 7px, transparent 7px 14px);
}

.pt-community-node {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  align-self: center;
  gap: 12px;
  min-width: 0;
  min-height: 92px;
  padding: 15px;
  border: 1px solid rgba(36, 88, 71, .12);
  border-radius: 22px 22px 22px 7px;
  background: rgba(255, 255, 255, .94);
  box-shadow: var(--pt-shadow-soft);
}

.pt-community-node:nth-of-type(even) {
  border-radius: 22px 22px 7px 22px;
}

.pt-community-node__icon {
  display: grid;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 14px;
  background: var(--pt-sage);
  color: var(--pt-forest-deep);
  font-family: Georgia, serif;
  font-size: 1.15rem;
  font-weight: 800;
}

.pt-community-node--distribution .pt-community-node__icon,
.pt-community-node--peer .pt-community-node__icon {
  background: #f5dfd6;
  color: var(--pt-clay-deep);
}

.pt-community-node small,
.pt-community-node strong {
  display: block;
  overflow-wrap: anywhere;
}

.pt-community-node small {
  color: var(--pt-muted);
  font-size: .72rem;
  font-weight: 750;
}

.pt-community-node strong {
  margin-top: 2px;
  color: var(--pt-ink);
  font-size: .87rem;
  line-height: 1.25;
}

.pt-community-hub {
  position: relative;
  z-index: 3;
  display: grid;
  grid-column: 1 / -1;
  justify-self: center;
  align-self: center;
  width: 184px;
  min-height: 150px;
  place-items: center;
  align-content: center;
  padding: 20px;
  border: 8px solid rgba(255, 255, 255, .75);
  border-radius: 50%;
  background: var(--pt-forest);
  color: #fff;
  box-shadow: 0 22px 50px rgba(36, 88, 71, .27);
  text-align: center;
}

.pt-community-hub__symbol {
  color: #f5d49a;
  font-family: Georgia, serif;
  font-size: 2.3rem;
  line-height: .8;
}

.pt-community-hub strong {
  margin-top: 5px;
  font-family: Georgia, serif;
  font-size: 1.12rem;
}

.pt-community-hub small {
  max-width: 120px;
  margin-top: 3px;
  color: #dcebe1;
  font-size: .66rem;
  font-weight: 750;
  line-height: 1.3;
}

.pt-trust-ribbon {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(13px, 2.2vw, 30px);
  margin-top: clamp(54px, 7vw, 85px);
  padding: 20px 24px;
  border-top: 1px solid rgba(36, 88, 71, .1);
  color: var(--pt-muted);
  font-size: .76rem;
  font-weight: 850;
  letter-spacing: .075em;
  text-transform: uppercase;
  flex-wrap: wrap;
}

.pt-trust-ribbon i {
  display: block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--pt-clay);
}

/* Common sections */
.pt-section {
  padding: clamp(72px, 8vw, 116px) 0;
}

.pt-section--cream {
  border-block: 1px solid rgba(36, 88, 71, .06);
  background: var(--pt-cream);
}

.pt-section--leaf {
  background: var(--pt-sage-light);
}

.pt-section-heading {
  max-width: 780px;
  margin-bottom: 42px;
}

.pt-section-heading--center {
  margin-inline: auto;
  text-align: center;
}

.pt-section-heading--split {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  max-width: none;
}

.pt-section-heading h2,
.pt-lgo-story h2,
.pt-open-source h2,
.pt-final-cta h2 {
  margin: 8px 0 13px;
  font-size: clamp(2.1rem, 4.2vw, 3.75rem);
  letter-spacing: -.045em;
}

.pt-section-heading p {
  max-width: 720px;
  margin: 0;
  color: var(--pt-muted);
  font-size: 1.04rem;
}

.pt-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--pt-clay-deep);
  font-size: .73rem;
  font-weight: 900;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.pt-eyebrow::before {
  width: 24px;
  height: 2px;
  border-radius: 99px;
  background: currentColor;
  content: "";
}

.pt-card {
  border: 1px solid var(--pt-line);
  border-radius: var(--pt-radius);
  background: var(--pt-card);
  box-shadow: var(--pt-shadow-soft);
}

.pt-panel {
  padding: 28px;
}

/* Two flows */
.pt-flow-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.pt-flow-card {
  position: relative;
  overflow: hidden;
  min-width: 0;
  padding: clamp(28px, 3.5vw, 45px);
  border: 1px solid rgba(36, 88, 71, .13);
  border-radius: 34px 34px 34px 10px;
  background: #fff;
  box-shadow: var(--pt-shadow-soft);
}

.pt-flow-card--pharmacy {
  border-radius: 34px 34px 10px 34px;
  background: #fffaf5;
}

.pt-flow-card::after {
  position: absolute;
  top: -66px;
  right: -66px;
  width: 170px;
  height: 170px;
  border-radius: 50%;
  background: rgba(93, 128, 106, .08);
  content: "";
}

.pt-flow-card--pharmacy::after {
  background: rgba(200, 111, 85, .09);
}

.pt-flow-card__head {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  gap: 18px;
}

.pt-flow-card__number {
  display: grid;
  flex: 0 0 50px;
  width: 50px;
  height: 50px;
  place-items: center;
  border-radius: 18px 18px 18px 6px;
  background: var(--pt-forest);
  color: #fff;
  font-family: Georgia, serif;
  font-weight: 800;
}

.pt-flow-card--pharmacy .pt-flow-card__number {
  border-radius: 18px 18px 6px 18px;
  background: var(--pt-clay);
}

.pt-flow-card__for {
  color: var(--pt-muted);
  font-size: .69rem;
  font-weight: 900;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.pt-flow-card h3 {
  margin: 5px 0 17px;
  font-size: clamp(1.55rem, 2.5vw, 2.15rem);
  letter-spacing: -.035em;
}

.pt-flow-card > p {
  margin: 22px 0 27px;
  color: var(--pt-muted);
}

.pt-flow-steps {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pt-flow-steps li {
  position: relative;
  display: grid;
  grid-template-columns: minmax(90px, .45fr) minmax(0, 1fr);
  gap: 16px;
  padding: 14px 0;
  border-top: 1px solid var(--pt-line);
}

.pt-flow-steps li::after {
  position: absolute;
  top: 50%;
  right: 3px;
  color: #aab6b0;
  content: "→";
  transform: translateY(-50%);
}

.pt-flow-steps strong {
  color: var(--pt-forest-deep);
}

.pt-flow-card--pharmacy .pt-flow-steps strong {
  color: var(--pt-clay-deep);
}

.pt-flow-steps span {
  padding-right: 22px;
  color: var(--pt-muted);
  font-size: .9rem;
}

/* LGO story */
.pt-lgo-story {
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(400px, 1.12fr);
  align-items: center;
  gap: clamp(45px, 8vw, 105px);
}

.pt-lgo-story__copy > p {
  color: var(--pt-muted);
  font-size: 1.04rem;
}

.pt-check-list {
  display: grid;
  gap: 12px;
  margin: 26px 0 28px;
  padding: 0;
  list-style: none;
}

.pt-check-list li {
  position: relative;
  padding-left: 32px;
  color: var(--pt-ink);
  font-weight: 650;
}

.pt-check-list li::before {
  position: absolute;
  top: .2em;
  left: 0;
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 50%;
  background: var(--pt-forest);
  color: #fff;
  content: "✓";
  font-size: .7rem;
  font-weight: 900;
}

.pt-lgo-journey {
  position: relative;
  display: grid;
  gap: 0;
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid rgba(36, 88, 71, .13);
  border-radius: 38px 38px 38px 12px;
  background:
    radial-gradient(circle at 80% 10%, rgba(225, 174, 87, .18), transparent 24%),
    #fff;
  box-shadow: var(--pt-shadow);
}

.pt-lgo-journey article {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px;
  border: 1px solid var(--pt-line);
  border-radius: 21px 21px 21px 7px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(31, 60, 49, .06);
}

.pt-lgo-journey article:nth-of-type(even) {
  border-radius: 21px 21px 7px 21px;
}

.pt-lgo-journey article > span {
  display: grid;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 15px;
  background: var(--pt-sage);
  color: var(--pt-forest-deep);
  font-family: Georgia, serif;
  font-weight: 800;
}

.pt-lgo-journey article:nth-of-type(2) > span {
  background: #f5dfd6;
  color: var(--pt-clay-deep);
}

.pt-lgo-journey strong,
.pt-lgo-journey small {
  display: block;
}

.pt-lgo-journey strong {
  color: var(--pt-ink);
  font-family: Georgia, serif;
  font-size: 1.15rem;
}

.pt-lgo-journey small {
  margin-top: 2px;
  color: var(--pt-muted);
  font-weight: 650;
}

.pt-lgo-journey__connector {
  position: relative;
  display: grid;
  height: 58px;
  place-items: center;
}

.pt-lgo-journey__connector::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 41px;
  width: 2px;
  background: repeating-linear-gradient(180deg, var(--pt-leaf) 0 6px, transparent 6px 11px);
  content: "";
}

.pt-lgo-journey__connector span {
  position: relative;
  z-index: 1;
  padding: 4px 10px;
  border: 1px solid rgba(36, 88, 71, .12);
  border-radius: 999px;
  background: var(--pt-sage-light);
  color: var(--pt-forest-deep);
  font-size: .66rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

/* Roles */
.pt-role-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr)) minmax(250px, .72fr);
  gap: 20px;
}

.pt-role-card {
  min-width: 0;
  padding: clamp(27px, 3vw, 38px);
  border: 1px solid var(--pt-line);
  border-radius: 30px 30px 30px 10px;
  background: #fff;
  box-shadow: var(--pt-shadow-soft);
}

.pt-role-card:nth-child(2) {
  border-radius: 30px 30px 10px 30px;
}

.pt-role-card__icon {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  margin-bottom: 24px;
  border-radius: 18px 18px 18px 6px;
  background: var(--pt-sage);
  color: var(--pt-forest-deep);
  font-size: 1.7rem;
  font-weight: 700;
}

.pt-role-card__icon--clay {
  border-radius: 18px 18px 6px 18px;
  background: #f5dfd6;
  color: var(--pt-clay-deep);
}

.pt-role-card__label {
  color: var(--pt-muted);
  font-size: .7rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.pt-role-card h3 {
  margin: 7px 0 13px;
  font-size: 1.7rem;
  letter-spacing: -.03em;
}

.pt-role-card p {
  margin-bottom: 24px;
  color: var(--pt-muted);
}

.pt-role-quote {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-width: 0;
  padding: 32px;
  overflow: hidden;
  border-radius: 30px 30px 10px 30px;
  background: var(--pt-forest-deep);
  color: #fff;
}

.pt-role-quote::before {
  position: absolute;
  top: -60px;
  right: -60px;
  width: 190px;
  height: 190px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 50%;
  box-shadow: 0 0 0 35px rgba(255, 255, 255, .025);
  content: "";
}

.pt-role-quote > span {
  color: #ecc477;
  font-family: Georgia, serif;
  font-size: 4.5rem;
  line-height: .7;
}

.pt-role-quote blockquote {
  margin: 22px 0 16px;
  color: #fff;
  font-family: Georgia, serif;
  font-size: 1.5rem;
  line-height: 1.35;
}

.pt-role-quote p {
  margin: 0;
  color: #cfe0d6;
  font-size: .87rem;
}

/* Open source manifesto */
.pt-open-source {
  position: relative;
  overflow: hidden;
  background: var(--pt-forest-deep);
  color: #fff;
}

.pt-open-source__pattern {
  position: absolute;
  inset: 0;
  opacity: .25;
  background-image:
    radial-gradient(circle at 14% 28%, rgba(225, 174, 87, .5) 0 3px, transparent 4px),
    radial-gradient(circle at 86% 72%, rgba(200, 111, 85, .5) 0 3px, transparent 4px);
  background-size: 86px 86px, 110px 110px;
  pointer-events: none;
}

.pt-open-source__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr);
  align-items: center;
  gap: clamp(45px, 8vw, 110px);
}

.pt-open-source .pt-eyebrow {
  color: #ecc477;
}

.pt-open-source h2 {
  color: #fff;
}

.pt-open-source p {
  max-width: 680px;
  color: #d7e5dc;
  font-size: 1.04rem;
}

.pt-open-source__actions {
  display: flex;
  gap: 12px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.pt-manifesto {
  padding: clamp(25px, 4vw, 40px);
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 34px 34px 34px 10px;
  background: rgba(255, 255, 255, .07);
  box-shadow: 0 28px 70px rgba(0, 0, 0, .16);
  backdrop-filter: blur(10px);
}

.pt-manifesto__mark {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  margin-bottom: 24px;
  border-radius: 19px 19px 19px 7px;
  background: #ecc477;
  color: var(--pt-forest-deep);
  font-family: monospace;
  font-size: 1.08rem;
  font-weight: 900;
}

.pt-manifesto ul {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pt-manifesto li {
  display: grid;
  gap: 3px;
  padding: 15px 0;
  border-top: 1px solid rgba(255, 255, 255, .12);
}

.pt-manifesto li span {
  color: #a7c9b4;
  font-size: .66rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.pt-manifesto li strong {
  color: #fff;
  font-size: .96rem;
}

/* Latest products and final CTA */
.pt-section--cream .woocommerce {
  background: transparent;
}

.pt-final-cta {
  padding-block: clamp(65px, 7vw, 92px);
  background: #fff;
}

.pt-final-cta__inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
  padding: clamp(28px, 4vw, 48px);
  border: 1px solid rgba(36, 88, 71, .13);
  border-radius: 38px 38px 38px 12px;
  background:
    radial-gradient(circle at 88% 10%, rgba(225, 174, 87, .17), transparent 24%),
    var(--pt-sage-light);
  box-shadow: var(--pt-shadow-soft);
}

.pt-final-cta__symbol {
  display: grid;
  width: 70px;
  height: 70px;
  place-items: center;
  border-radius: 23px 23px 23px 8px;
  background: var(--pt-forest);
  color: #fff;
  font-size: 2.4rem;
  line-height: 1;
}

.pt-final-cta h2 {
  margin-block: 7px;
  font-size: clamp(1.8rem, 3vw, 2.75rem);
}

.pt-final-cta p {
  margin: 0;
  color: var(--pt-muted);
}

.pt-final-cta__actions {
  display: grid;
  justify-items: end;
  gap: 12px;
}

.pt-professional-note {
  padding: 28px 0;
  border-top: 1px solid var(--pt-line);
  background: var(--pt-cream);
}

.pt-professional-note .pt-container {
  display: flex;
  align-items: baseline;
  gap: 18px;
}

.pt-professional-note strong {
  flex: 0 0 auto;
  color: var(--pt-forest-deep);
  font-family: Georgia, serif;
}

.pt-professional-note p {
  margin: 0;
  color: var(--pt-muted);
  font-size: .82rem;
}

/* Generic WordPress pages */
.pt-page {
  padding: clamp(42px, 6vw, 78px) 0;
}

.entry-content,
.entry-summary {
  min-width: 0;
}

.pt-page .entry-content,
.pt-page > .pt-container > article {
  padding: clamp(22px, 4vw, 38px);
  border: 1px solid var(--pt-line);
  border-radius: var(--pt-radius);
  background: #fff;
  box-shadow: var(--pt-shadow-soft);
}

.pt-notice {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-block: 18px;
  padding: 14px 17px;
  border: 1px solid #e7d4a4;
  border-radius: 17px;
  background: #fff9e9;
  color: #614d21;
}

.pt-notice > span {
  display: grid;
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 50%;
  background: var(--pt-gold);
  color: var(--pt-forest-deep);
  font-family: Georgia, serif;
  font-weight: 900;
}

.pt-notice p {
  margin: 0;
}

.pt-dot {
  display: inline-block;
  flex: 0 0 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--pt-success);
  box-shadow: 0 0 0 4px rgba(61, 123, 94, .12);
}

.pt-muted {
  color: var(--pt-muted) !important;
}

/* WooCommerce */
.woocommerce {
  min-width: 0;
}

.woocommerce ul.products {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin: 0;
}

.woocommerce ul.products::before,
.woocommerce ul.products::after {
  display: none;
}

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
  display: flex;
  float: none;
  flex-direction: column;
  width: auto;
  min-width: 0;
  margin: 0;
  padding: 13px 13px 17px !important;
  overflow: hidden;
  border: 1px solid var(--pt-line);
  border-radius: 24px 24px 24px 8px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(31, 60, 49, .07);
  transition: transform .18s ease, box-shadow .18s ease;
}

.woocommerce ul.products li.product:nth-child(even) {
  border-radius: 24px 24px 8px 24px;
}

.woocommerce ul.products li.product:hover {
  box-shadow: 0 20px 45px rgba(31, 60, 49, .12);
  transform: translateY(-3px);
}

.woocommerce ul.products li.product a img {
  margin-bottom: 14px;
  border-radius: 17px;
  background: var(--pt-sage-light);
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
  padding: 0;
  color: var(--pt-ink);
  font-family: Georgia, serif;
  font-size: 1.05rem;
  line-height: 1.25;
}

.woocommerce ul.products li.product .price {
  margin-top: auto;
  color: var(--pt-forest);
  font-weight: 900;
}

.woocommerce ul.products li.product .button {
  width: 100%;
  margin-top: 12px;
  box-shadow: none;
}

.woocommerce div.product {
  min-width: 0;
  padding: clamp(22px, 4vw, 38px);
  border: 1px solid var(--pt-line);
  border-radius: 30px;
  background: #fff;
  box-shadow: var(--pt-shadow-soft);
}

.woocommerce div.product div.images img {
  border-radius: 22px;
}

.woocommerce div.product .product_title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  letter-spacing: -.04em;
}

.woocommerce div.product p.price,
.woocommerce div.product span.price {
  color: var(--pt-forest);
  font-weight: 900;
}

.woocommerce span.onsale {
  min-width: 48px;
  min-height: 48px;
  border-radius: 50%;
  background: var(--pt-clay);
  line-height: 48px;
}

.pt-product-supplier {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 12px 0;
  padding: 11px 13px;
  border: 1px solid rgba(36, 88, 71, .12);
  border-radius: 14px;
  background: var(--pt-sage-light);
  color: var(--pt-muted);
  font-size: .88rem;
  font-weight: 750;
}

.woocommerce table.shop_table {
  overflow: hidden;
  border-color: var(--pt-line);
  border-radius: 18px;
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.woocommerce .quantity .qty {
  min-height: 44px;
  border: 1px solid var(--pt-line);
  border-radius: 12px;
  background: #fff;
}

.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
  border-radius: 16px;
  background: var(--pt-sage-light);
}

.woocommerce-message {
  border-top-color: var(--pt-forest);
}

.woocommerce-info {
  border-top-color: var(--pt-clay);
}

/* Footer */
.pt-footer {
  position: relative;
  padding: 72px 0 0;
  overflow: hidden;
  background: #142f28;
  color: #bdcec5;
}

.pt-footer::before {
  position: absolute;
  top: -130px;
  left: -120px;
  width: 320px;
  height: 320px;
  border: 1px solid rgba(255, 255, 255, .07);
  border-radius: 50%;
  box-shadow: 0 0 0 45px rgba(255, 255, 255, .018);
  content: "";
}

.pt-footer__top {
  position: relative;
  display: grid;
  grid-template-columns: minmax(280px, 1.6fr) repeat(3, minmax(150px, .7fr));
  gap: 42px;
  padding-bottom: 58px;
}

.pt-brand--footer {
  color: #fff;
}

.pt-brand--footer .pt-brand__mark {
  background: #e9c273;
  box-shadow: none;
}

.pt-brand--footer .pt-brand__mark i {
  background: var(--pt-forest-deep);
}

.pt-brand--footer .pt-brand__word strong {
  color: #fff;
}

.pt-brand--footer .pt-brand__word small {
  color: #a9c2b5;
}

.pt-footer__brand > p {
  max-width: 410px;
  margin: 22px 0;
}

.pt-footer__badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.pt-footer__badges span {
  padding: 5px 9px;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 999px;
  color: #e4eee8;
  font-size: .68rem;
  font-weight: 850;
}

.pt-footer h2 {
  margin: 7px 0 18px;
  color: #fff;
  font-family: "Segoe UI", sans-serif;
  font-size: .76rem;
  font-weight: 900;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.pt-footer ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pt-footer li,
.pt-footer a {
  color: #bdcec5;
  font-size: .88rem;
  text-decoration: none;
}

.pt-footer a:hover {
  color: #fff;
}

.pt-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-block: 20px;
  border-top: 1px solid rgba(255, 255, 255, .09);
  color: #8eaaa0;
  font-size: .76rem;
}

.pt-footer__bottom p {
  margin: 0;
}

/* Responsive */
@media (max-width: 1080px) {
  .pt-header__inner {
    gap: 16px;
  }

  .pt-nav ul {
    gap: 13px;
  }

  .pt-nav a {
    font-size: .82rem;
  }

  .pt-actions .pt-btn {
    padding-inline: 13px;
  }

  .pt-home-hero__grid {
    grid-template-columns: minmax(0, 1fr) minmax(380px, .85fr);
    gap: 42px;
  }

  .pt-role-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pt-role-quote {
    grid-column: 1 / -1;
    min-height: 260px;
  }

  .pt-footer__top {
    grid-template-columns: 1.4fr repeat(3, 1fr);
    gap: 28px;
  }
}

@media (max-width: 920px) {
  body.admin-bar .pt-header {
    top: 46px;
  }

  .pt-community-bar a {
    display: none;
  }

  .pt-header__inner {
    grid-template-columns: auto 1fr auto;
  }

  .pt-mobile-toggle {
    display: inline-flex;
    justify-self: end;
    grid-column: 2;
  }

  .pt-nav {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    left: 0;
    display: none;
    justify-self: stretch;
    padding: 15px;
    border: 1px solid var(--pt-line);
    border-radius: 20px;
    background: #fffdf8;
    box-shadow: var(--pt-shadow);
  }

  .pt-nav.is-open {
    display: block;
  }

  .pt-nav ul {
    display: grid;
    gap: 3px;
  }

  .pt-nav a {
    padding: 10px 12px;
    border-radius: 10px;
    font-size: .92rem;
  }

  .pt-nav a:hover {
    background: var(--pt-sage-light);
  }

  .pt-nav a::after {
    display: none;
  }

  .pt-actions {
    grid-column: 3;
  }

  .pt-home-hero__grid,
  .pt-lgo-story,
  .pt-open-source__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .pt-home-hero__copy {
    max-width: 760px;
  }

  .pt-community-map {
    width: min(650px, 100%);
    min-height: 500px;
    margin-inline: auto;
  }

  .pt-flow-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .pt-lgo-story {
    gap: 42px;
  }

  .pt-open-source__grid {
    gap: 45px;
  }

  .pt-manifesto {
    max-width: 650px;
  }

  .pt-final-cta__inner {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .pt-final-cta__actions {
    grid-column: 2;
    justify-items: start;
  }

  .woocommerce ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pt-footer__top {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pt-footer__brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 680px) {
  .pt-container {
    width: min(100% - 28px, var(--pt-container));
  }

  .pt-community-bar .pt-container {
    justify-content: center;
    min-height: 32px;
  }

  .pt-community-bar p {
    font-size: .68rem;
    text-align: center;
  }

  .pt-header__inner {
    min-height: 68px;
  }

  .pt-brand__mark {
    flex-basis: 40px;
    width: 40px;
    height: 40px;
  }

  .pt-brand__word small {
    display: none;
  }

  .pt-brand__word strong {
    font-size: 1.08rem;
  }

  .pt-actions .pt-btn {
    width: 40px;
    min-height: 40px;
    padding: 0;
    overflow: hidden;
    font-size: 0;
  }

  .pt-actions .pt-btn > span {
    font-size: 1rem;
  }

  .pt-actions .pt-btn--cart {
    position: relative;
  }

  .pt-actions .pt-btn--cart b {
    position: absolute;
    top: -5px;
    right: -5px;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    background: var(--pt-clay);
    color: #fff;
    font-size: .62rem;
  }

  .pt-home-hero {
    padding-top: 54px;
  }

  .pt-home-hero h1 {
    margin-block: 18px;
    font-size: clamp(2.35rem, 11.5vw, 3.45rem);
  }

  .pt-home-hero__lead {
    font-size: 1rem;
  }

  .pt-home-hero__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .pt-home-hero__actions .pt-btn {
    width: 100%;
  }

  .pt-principles {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .pt-principles li {
    align-items: flex-start;
    font-size: .69rem;
    line-height: 1.3;
  }

  .pt-community-map {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto;
    gap: 11px;
    min-height: 0;
    padding: 22px;
    border-radius: 30px 30px 30px 10px;
  }

  .pt-community-map__line {
    display: none;
  }

  .pt-community-hub {
    grid-column: auto;
    grid-row: 3;
    width: 100%;
    min-height: auto;
    border-width: 5px;
    border-radius: 22px;
  }

  .pt-community-node {
    min-height: 76px;
  }

  .pt-community-node--pharmacy {
    grid-row: 1;
  }

  .pt-community-node--distribution {
    grid-row: 2;
  }

  .pt-community-node--lgo {
    grid-row: 4;
  }

  .pt-community-node--peer {
    grid-row: 5;
  }

  .pt-trust-ribbon {
    gap: 9px 13px;
    margin-top: 48px;
    padding-inline: 5px;
    font-size: .65rem;
  }

  .pt-section {
    padding-block: 70px;
  }

  .pt-section-heading {
    margin-bottom: 30px;
  }

  .pt-section-heading--split {
    display: block;
  }

  .pt-section-heading--split .pt-btn {
    margin-top: 20px;
  }

  .pt-flow-card {
    padding: 25px 20px;
    border-radius: 27px 27px 27px 9px;
  }

  .pt-flow-card--pharmacy {
    border-radius: 27px 27px 9px 27px;
  }

  .pt-flow-card__head {
    display: block;
  }

  .pt-flow-card__number {
    margin-bottom: 18px;
  }

  .pt-flow-steps li {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .pt-lgo-journey {
    padding: 20px;
  }

  .pt-lgo-journey article {
    padding: 14px;
  }

  .pt-lgo-journey__connector::before {
    left: 35px;
  }

  .pt-role-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .pt-role-quote {
    grid-column: auto;
  }

  .pt-open-source__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .pt-final-cta__inner {
    display: block;
    padding: 26px 21px;
  }

  .pt-final-cta__symbol {
    width: 56px;
    height: 56px;
    margin-bottom: 22px;
  }

  .pt-final-cta__actions {
    margin-top: 24px;
  }

  .pt-final-cta__actions .pt-btn {
    width: 100%;
  }

  .pt-professional-note .pt-container {
    display: block;
  }

  .pt-professional-note p {
    margin-top: 6px;
  }

  .woocommerce ul.products {
    grid-template-columns: minmax(0, 1fr);
  }

  .pt-footer {
    padding-top: 58px;
  }

  .pt-footer__top {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px 20px;
  }

  .pt-footer__bottom {
    display: block;
  }

  .pt-footer__bottom p + p {
    margin-top: 8px;
  }
}

@media (max-width: 400px) {
  .pt-header__inner {
    grid-template-columns: auto auto auto;
    gap: 8px;
  }

  .pt-brand__word {
    display: none;
  }

  .pt-mobile-toggle {
    width: 40px;
    height: 40px;
  }

  .pt-principles {
    grid-template-columns: 1fr;
  }

  .pt-footer__top {
    grid-template-columns: 1fr;
  }

  .pt-footer__brand {
    grid-column: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
