/*
 * Pictorem PRO section (frontend_pro, frontend_pro_profile, frontend_pro_detail
 * and the inc/pro/module_* partials).
 * Self-contained "pro-" prefixed classes so the pages render consistently
 * regardless of the site theme's CSS framework.
 * Responsive from 320px to 4K.
 */

body {
  background-color: #ffffff;
}

:root {
  --pro-brand: #de256f;
  --pro-brand-dark: #b81b59;
  --pro-pink-bg: #fbe9f0;
  --pro-ink: #161616;
  --pro-text: #333;
  --pro-muted: #6b7280;
  --pro-line: #e7e7ea;
  --pro-tint: #faf8f6;
  --pro-dark: #191617;
  --pro-radius: 14px;
}

/* Shared centered column */
.pro-wrap {
  font-family: "Open Sans", "Source Sans Pro", Arial, sans-serif;
  color: var(--pro-text);
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

/* NOTE: no global `html { scroll-behavior: smooth; }` here — it hijacks
   mouse-wheel scrolling on Chrome/Edge and makes the page feel sluggish.
   The "See how it works" anchor is animated in javascript/pro-raw.js instead. */

/* ── Shared typography ─────────────────────────────────────────────────── */

/* Small uppercase pink label above titles */
.pro-kicker {
  font-family: "Montserrat", "Open Sans", Arial, sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--pro-brand);
  margin: 0 0 14px;
}

.pro-kicker-onDark {
  color: #ff7eb5;
}

.pro-section-title {
  font-family: "Montserrat", "Open Sans", Arial, sans-serif;
  font-size: clamp(24px, 3.2vw, 38px);
  font-weight: 800;
  line-height: 1.2;
  color: var(--pro-ink);
  margin: 0 0 14px;
}

.pro-title-onDark {
  color: #fff;
}

/* ── Separator under section titles (same look as the reseller page):
   a short pink bar followed by a thin gray line, drawn with layered
   background gradients so no extra markup is needed ── */
.pro-section-title::after {
  content: "";
  display: block;
  height: 3px;
  margin-top: 16px;
  background:
    linear-gradient(var(--pro-brand), var(--pro-brand)) left center / 50px 3px no-repeat,
    linear-gradient(#c9c9c9, #c9c9c9) right center / calc(100% - 75px) 1px no-repeat;
}

/* Centered sections (profile selector): pink bar in the middle,
   gray line on each side with a small gap — like the reseller title */
.pro-selector .pro-section-title::after {
  background:
    linear-gradient(var(--pro-brand), var(--pro-brand)) center / 50px 3px no-repeat,
    linear-gradient(#c9c9c9, #c9c9c9) left center / calc(50% - 45px) 1px no-repeat,
    linear-gradient(#c9c9c9, #c9c9c9) right center / calc(50% - 45px) 1px no-repeat;
}

/* Dark band (rebate module): soften the gray line so it reads on charcoal */
.pro-title-onDark::after {
  background:
    linear-gradient(var(--pro-brand), var(--pro-brand)) left center / 50px 3px no-repeat,
    linear-gradient(rgba(255, 255, 255, 0.25), rgba(255, 255, 255, 0.25)) right center / calc(100% - 75px) 1px no-repeat;
}

.pro-section-lead {
  font-size: clamp(15px, 1.5vw, 17px);
  color: var(--pro-muted);
  line-height: 1.6;
  max-width: 720px;
  margin: 0 0 30px;
}

/* Primary pill CTA */
.pro-btn {
  display: inline-block;
  background: var(--pro-brand);
  color: #fff;
  font-family: "Montserrat", "Open Sans", Arial, sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-decoration: none;
  padding: 16px 38px;
  border-radius: 50px;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 8px 22px rgba(222, 37, 111, 0.28);
}

.pro-btn:hover,
.pro-btn:focus {
  background: var(--pro-brand-dark);
  color: #fff;
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 10px 26px rgba(222, 37, 111, 0.36);
}

/* "Learn more" arrow link at the bottom of each module */
.pro-more {
  display: inline-block;
  font-family: "Montserrat", "Open Sans", Arial, sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--pro-brand);
  text-decoration: none;
  border-bottom: 2px solid var(--pro-brand);
  padding-bottom: 3px;
  margin-top: 6px;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.pro-more:hover,
.pro-more:focus {
  color: var(--pro-brand-dark);
  border-color: var(--pro-brand-dark);
  text-decoration: none;
}

.pro-more .fa {
  margin-left: 5px;
}

.pro-more-onDark {
  color: #ff7eb5;
  border-color: #ff7eb5;
}

.pro-more-onDark:hover,
.pro-more-onDark:focus {
  color: #fff;
  border-color: #fff;
}

/* ── Hero: light pink band ─────────────────────────────────────────────── */

/* The header-height spacer divs sit inside the hero, so the pink
   background starts at the very top of the page; this padding is only
   the breathing room between the header and the headline. */
.pro-hero {
  background: var(--pro-pink-bg);
  /* position:relative + overflow:hidden are required for the absolute kl-bottommask7 separator */
  position: relative;
  overflow: hidden;
  /* Extra bottom padding reserves space for the oblique mask7 separator (~60px) */
  padding: 44px 0 120px;
}

/* Oblique separator wedge color — matches the background of the section that
   renders directly under the hero. The profile page adds pro-hero-next-{band}
   based on its first configured module (see frontend_pro_profile.php); the CSS
   fill property overrides the polygon's hardcoded white fill attribute.
   No rule needed for the default white band. */
.pro-hero-next-dark .kl-bottommask--mask7.mask-over polygon {
  fill: var(--pro-dark);
}

.pro-hero-next-tinted .kl-bottommask--mask7.mask-over polygon {
  fill: var(--pro-tint);
}

.pro-hero-next-beige .kl-bottommask--mask7.mask-over polygon {
  fill: #f7f1e6;
}

/* Variant with a video/image background under a prominent pink overlay */
.pro-hero-media {
  /* position/overflow already set on .pro-hero — kept here as explicit reminder */
  position: relative;
  overflow: hidden;
}

/* Background media: fills the whole hero, sits under the overlay.
   pointer-events none: decorative layer must never catch mouse input */
.pro-hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  background-size: cover;
  background-position: center center;
  z-index: 0;
  pointer-events: none;
}

/* Prominent pink wash (~80%) so the dark hero text stays readable */
.pro-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(251, 233, 240, 0.8);
  z-index: 1;
  pointer-events: none;
}

/* Keep the hero content above the media + overlay layers */
.pro-hero-media .pro-wrap {
  position: relative;
  z-index: 2;
}

/* ── Dark hero variant (artist page): near-opaque dark wash over the video
   so the white copy stays readable regardless of the footage brightness ── */
.pro-hero--dark {
  /* Fallback color shown before the video loads */
  background: var(--pro-dark);
}

.pro-hero--dark .pro-hero-overlay {
  background: rgba(12, 12, 14, 0.72);
}

.pro-hero--dark .pro-hero-title {
  color: #fff;
}

.pro-hero--dark .pro-hero-lead {
  color: rgba(255, 255, 255, 0.88);
}

.pro-hero--dark .pro-kicker {
  color: #ff7eb5;
}

.pro-hero--dark .pro-hero-link {
  color: #fff;
}

.pro-hero--dark .pro-hero-link:hover,
.pro-hero--dark .pro-hero-link:focus {
  color: #ff7eb5;
}

.pro-hero--dark .pro-stat-num {
  color: #ff7eb5;
}

.pro-hero--dark .pro-stat-label {
  color: rgba(255, 255, 255, 0.75);
}

.pro-hero-compact {
  /* Extra bottom padding gives the oblique mask7 separator clear space */
  padding: 30px 0 100px;
}

.pro-hero-title {
  font-family: "Montserrat", "Open Sans", Arial, sans-serif;
  font-size: clamp(34px, 5.4vw, 62px);
  font-weight: 800;
  line-height: 1.12;
  color: var(--pro-ink);
  margin: 0 0 20px;
  max-width: 860px;
}

.pro-hero-title-sm {
  font-size: clamp(28px, 4vw, 46px);
}

.pro-hero-accent {
  color: var(--pro-brand);
}

.pro-hero-lead {
  font-size: clamp(16px, 1.7vw, 19px);
  color: #5c5560;
  line-height: 1.65;
  max-width: 640px;
  margin: 0 0 32px;
}

.pro-hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 26px;
  margin-bottom: 8px;
}

/* Secondary underlined link next to the CTA */
.pro-hero-link {
  font-size: 15px;
  font-weight: 600;
  color: var(--pro-ink);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.pro-hero-link:hover,
.pro-hero-link:focus {
  color: var(--pro-brand);
  text-decoration: underline;
}

/* Key numbers under the hero CTA */
.pro-hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 30px 60px;
  margin-top: 48px;
}

.pro-stat {
  display: flex;
  flex-direction: column;
}

.pro-stat-num {
  font-family: "Montserrat", "Open Sans", Arial, sans-serif;
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 800;
  color: var(--pro-brand);
  line-height: 1.1;
}

.pro-stat-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  color: #7a7280;
  margin-top: 6px;
}

/* Back link on profile/detail heroes */
.pro-back {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: #7a7280;
  text-decoration: none;
  margin-bottom: 22px;
}

.pro-back:hover,
.pro-back:focus {
  color: var(--pro-brand);
  text-decoration: none;
}

.pro-back .fa {
  margin-right: 4px;
}

/* ── Profile selector grid ─────────────────────────────────────────────── */

.pro-selector {
  padding: 70px 0 60px;
  text-align: center;
}

.pro-selector .pro-section-lead {
  margin-left: auto;
  margin-right: auto;
}

.pro-profile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  max-width: 1060px;
  margin: 0 auto;
  text-align: left;
}

/* One clickable profile card */
.pro-profile-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 2px solid var(--pro-line);
  border-radius: var(--pro-radius);
  padding: 26px 24px 22px;
  text-decoration: none;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.pro-profile-card:hover,
.pro-profile-card:focus {
  border-color: var(--pro-brand);
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(22, 22, 22, 0.08);
  text-decoration: none;
}

.pro-profile-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--pro-pink-bg);
  color: var(--pro-brand);
  font-size: 20px;
  margin-bottom: 16px;
}

.pro-profile-title {
  font-family: "Montserrat", "Open Sans", Arial, sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--pro-ink);
  margin-bottom: 8px;
}

.pro-profile-desc {
  font-size: 14px;
  color: var(--pro-muted);
  line-height: 1.55;
  flex-grow: 1;
  margin-bottom: 16px;
}

.pro-profile-more {
  font-size: 13px;
  font-weight: 700;
  color: var(--pro-brand);
}

.pro-profile-more .fa {
  margin-left: 4px;
  transition: margin-left 0.2s ease;
}

.pro-profile-card:hover .pro-profile-more .fa {
  margin-left: 9px;
}

/* ── "What do you want to achieve" band (PRO hub page only) ────────────── */

/* Compact pink band with a single question and a toggle button */
.pro-achieve {
  background: var(--pro-pink-bg);
}

.pro-achieve-head {
  text-align: center;
  padding-top: 44px;
  padding-bottom: 44px;
}

.pro-achieve-title {
  font-family: "Montserrat", "Open Sans", Arial, sans-serif;
  font-size: clamp(24px, 3.2vw, 38px);
  font-weight: 800;
  line-height: 1.2;
  color: var(--pro-ink);
  margin: 0 0 24px;
}

.pro-achieve-btn .fa {
  margin-left: 8px;
}

/* Slide-down panel: closed by default, opened by js/pro.min.js which sets
   .pro-achieve-open and caps max-height to the real content height */
.pro-achieve-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease;
  background: #fff;
}

.pro-achieve-panel .pro-wrap {
  padding-top: 40px;
  padding-bottom: 50px;
}

.pro-achieve-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

/* One goal card: number badge, title, audience line, description, CTA.
   The whole card is a link to the goal's destination page. */
.pro-achieve-card {
  display: block;
  background: #fff;
  border: 2px solid var(--pro-line);
  border-radius: var(--pro-radius);
  padding: 26px 28px 24px;
  text-decoration: none;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.pro-achieve-card:hover,
.pro-achieve-card:focus {
  border-color: var(--pro-brand);
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(22, 22, 22, 0.08);
  text-decoration: none;
}

.pro-achieve-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--pro-pink-bg);
  color: var(--pro-brand);
  font-family: "Montserrat", "Open Sans", Arial, sans-serif;
  font-size: 14px;
  font-weight: 800;
  margin-bottom: 16px;
}

.pro-achieve-card-title {
  font-family: "Montserrat", "Open Sans", Arial, sans-serif;
  font-size: clamp(19px, 2.2vw, 24px);
  font-weight: 800;
  color: var(--pro-ink);
  margin: 0 0 8px;
}

/* Small pink audience line under the card title */
.pro-achieve-for {
  font-family: "Montserrat", "Open Sans", Arial, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--pro-brand);
  margin: 0 0 14px;
}

.pro-achieve-desc {
  font-size: 14px;
  color: var(--pro-muted);
  line-height: 1.6;
  padding-bottom: 12px;
  margin: 0 0 12px;
  border-bottom: 1px solid var(--pro-line);
}

/* CTA label at the bottom of each goal card */
.pro-achieve-cta {
  font-family: "Montserrat", "Open Sans", Arial, sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: var(--pro-ink);
}

.pro-achieve-cta .fa {
  margin-left: 4px;
  transition: margin-left 0.2s ease;
}

.pro-achieve-card:hover .pro-achieve-cta {
  color: var(--pro-brand);
}

.pro-achieve-card:hover .pro-achieve-cta .fa {
  margin-left: 9px;
}

/* ── Generic module band ───────────────────────────────────────────────── */

.pro-module {
  padding: 70px 0;
}

/* Alternate off-white band */
.pro-module-tinted {
  background: var(--pro-tint);
}

/* Dark charcoal band (rebate) */
.pro-module-dark {
  background: var(--pro-dark);
  border-radius: 0;
}

/* Light beige band (premium advantages) */
.pro-module-beige {
  background: #f7f1e6;
}

/* Premium module: wider column so the advantage lists fit on one line */
.pro-module-beige .pro-wrap {
  max-width: 1320px;
}

.pro-module-beige .pro-compare-card {
  border-color: #e9ddc8;
}

/* Two-column copy + visual layout inside a module */
.pro-module-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

/* Variant: top-aligned columns (sell online module) */
.pro-module-grid-top {
  align-items: start;
  gap: 28px;
  margin-bottom: 30px;
}

.pro-module-text {
  font-size: 16px;
  line-height: 1.7;
  color: var(--pro-text);
  margin: 0 0 24px;
}

.pro-text-onDark {
  color: #c9c3c6;
}

/* PROLAB module (retail profile): single column, keep the copy readable */
.pro-prolab-copy {
  max-width: 760px;
}

/* ── Bulk / managed project module ─────────────────────────────────────── */

/* Intro copy above the pillar cards — keep the line length readable */
.pro-bulk-copy {
  max-width: 760px;
  margin-bottom: 34px;
}

.pro-bulk-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-bottom: 34px;
}

/* Card variant for dark bands: .pro-card is built for light backgrounds */
.pro-bulk-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--pro-radius);
  padding: 26px 24px;
}

.pro-bulk-title {
  font-family: "Montserrat", "Open Sans", Arial, sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 10px;
  line-height: 1.35;
}

.pro-bulk-text {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.6;
  margin: 0;
}

/* ── Rebate CSS bar chart ──────────────────────────────────────────────── */

.pro-rebate-chart {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 26px;
  min-height: 300px;
}

.pro-rebate-bar {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  flex: 1;
  max-width: 150px;
}

.pro-rebate-value {
  font-family: "Montserrat", "Open Sans", Arial, sans-serif;
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 800;
  color: #fff;
  margin-bottom: 10px;
}

.pro-rebate-fill {
  width: 100%;
  border-radius: 10px 10px 4px 4px;
}

.pro-rebate-fill-1 {
  height: 120px;
  background: linear-gradient(180deg, #8e3a62 0%, #6e2c4c 100%);
}

.pro-rebate-fill-2 {
  height: 170px;
  background: linear-gradient(180deg, #c8548c 0%, #a03e6f 100%);
}

.pro-rebate-fill-3 {
  height: 225px;
  background: linear-gradient(180deg, #ff64ab 0%, #de256f 100%);
}

/* Bulk bar — beige, tallest: custom pricing beyond the standard ladder */
.pro-rebate-fill-4 {
  height: 255px;
  background: linear-gradient(180deg, #f2e3c8 0%, #d9bf95 100%);
}

.pro-rebate-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  color: #a99fa5;
  margin-top: 12px;
  text-align: center;
}

/* Note under the chart: bulk projects → contact for special pricing */
.pro-rebate-note {
  font-size: 14px;
  color: #c9c3c6;
  text-align: center;
  margin: 26px 0 0;
}

.pro-rebate-note a {
  color: #fff !important;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.pro-rebate-note a:hover,
.pro-rebate-note a:focus {
  color: #ff7eb5 !important;
}

/* ── Benefit cards (dropship module) ───────────────────────────────────── */

.pro-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 34px;
}

.pro-card {
  background: var(--pro-tint);
  border: 1px solid #f0ece8;
  border-radius: var(--pro-radius);
  padding: 26px 24px;
}

/* When the module itself sits on the tinted band, flip cards/tiles to white */
.pro-module-tinted .pro-card,
.pro-module-tinted .pro-integration {
  background: #fff;
}

.pro-card-title {
  font-family: "Montserrat", "Open Sans", Arial, sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--pro-ink);
  margin: 0 0 10px;
  line-height: 1.35;
}

.pro-card-text {
  font-size: 14px;
  color: var(--pro-muted);
  line-height: 1.6;
  margin: 0;
}

/* Inline links inside benefit cards (e.g. the white-label card on /pro):
   the title link stays neutral, the body link picks up the brand color */
.pro-card-title a {
  color: inherit;
  text-decoration: none;
}

.pro-card-title a:hover,
.pro-card-title a:focus {
  color: var(--pro-brand);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.pro-card-text a {
  color: var(--pro-brand);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.pro-card-text a:hover,
.pro-card-text a:focus {
  color: var(--pro-brand-dark);
}

/* ── Plan comparison (sell online module) ──────────────────────────────── */

.pro-compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  max-width: 860px;
  margin-bottom: 34px;
}

/* Variant: full-width comparison grid (premium module) */
.pro-compare-grid-wide {
  max-width: none;
}

.pro-compare-card {
  background: #fff;
  border: 2px solid var(--pro-line);
  border-radius: var(--pro-radius);
  padding: 30px 28px;
}

.pro-compare-card-featured {
  border-color: var(--pro-brand);
  box-shadow: 0 14px 34px rgba(222, 37, 111, 0.12);
}

.pro-compare-title {
  font-family: "Montserrat", "Open Sans", Arial, sans-serif;
  font-size: 21px;
  font-weight: 800;
  color: var(--pro-ink);
  margin: 0 0 4px;
}

.pro-compare-tag {
  font-size: 13px;
  color: var(--pro-muted);
  margin: 0 0 18px;
}

.pro-compare-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.pro-compare-list li {
  font-size: 14px;
  color: var(--pro-text);
  line-height: 1.55;
  padding: 7px 0;
  border-top: 1px solid #f2eff1;
}

.pro-compare-list li:first-child {
  border-top: none;
}

.pro-compare-list .fa {
  color: var(--pro-brand);
  margin-right: 8px;
}

/* Inline code sample (dynamic link example on the connect detail page) */
.pro-code {
  display: block;
  font-family: "Courier New", Courier, monospace;
  font-size: 13px;
  line-height: 1.5;
  color: var(--pro-ink);
  background: var(--pro-tint);
  border: 1px solid var(--pro-line);
  border-radius: 8px;
  padding: 12px 14px;
  word-break: break-all;
}

/* Live example button sitting under a code sample, with its caption below */
.pro-demo {
  margin-top: 18px;
}

/* Bootstrap is not loaded here, so the icon gap is set on the icon itself */
.pro-demo .fa {
  margin-right: 7px;
}

.pro-demo-note {
  margin: 10px 0 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--pro-muted);
}

/* ── Integrations (connect module) ─────────────────────────────────────── */

.pro-integration-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 34px;
}

/* Variant: 2x2 tile grid used beside a card (sell online module) */
.pro-integration-grid-2 {
  grid-template-columns: repeat(2, 1fr);
  margin-bottom: 0;
}

/* Variant: 3-column tile grid — connect module listing all 9 integrations */
.pro-integration-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.pro-integration {
  background: var(--pro-tint);
  border: 1px solid #f0ece8;
  border-radius: var(--pro-radius);
  padding: 26px 22px;
  text-align: center;
}

.pro-integration-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--pro-pink-bg);
  color: var(--pro-brand);
  font-size: 21px;
  margin-bottom: 14px;
}

/* Brand logo in place of the icon badge, for the platforms that have an SVG.
   Deliberately not inside the pink circle: a full-colour brand mark in a tinted
   disc reads as a clash rather than a logo. Box keeps the badge's 52px height
   and bottom margin so a row of logo tiles lines up with a row of icon tiles. */
.pro-integration-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  margin-bottom: 14px;
}

/* Height is set, not capped: Etsy, BigCommerce and Squarespace ship viewBox-only
   SVGs with no intrinsic size, and such an image collapses to zero height as a
   flex item with height:auto, so those three logos rendered as empty space.
   Every brand logo here is wider than tall, so a fixed 30px height is what
   max-height:30px already resolved to for the ones that did show. */
.pro-integration-logo img {
  max-width: 130px;
  width: auto;
  height: 30px;
  object-fit: contain;
}

.pro-integration-title {
  font-family: "Montserrat", "Open Sans", Arial, sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--pro-ink);
  margin: 0 0 8px;
}

.pro-integration-text {
  font-size: 13px;
  color: var(--pro-muted);
  line-height: 1.55;
  margin: 0;
}

/* Variant: explicit 4-column tile grid — cross-links at the bottom of a
   platform page, where the tiles carry a name but no description */
.pro-integration-grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

/* Clickable tile: the whole card links to the platform page at /pro/i/{slug}.
   Column layout so the "Learn more" line always sits at the bottom, however
   long the description above it runs. */
.pro-integration-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.2s, border-color 0.2s, transform 0.2s;
}

.pro-integration-link:hover,
.pro-integration-link:focus {
  border-color: var(--pro-brand);
  box-shadow: 0 12px 32px rgba(222, 37, 111, 0.12);
  transform: translateY(-2px);
  text-decoration: none;
  color: inherit;
}

.pro-integration-link .pro-integration-text {
  flex: 1 1 auto;
}

.pro-integration-more {
  display: inline-block;
  margin-top: 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--pro-brand);
}

.pro-integration-more .fa {
  margin-left: 5px;
  transition: transform 0.2s;
}

.pro-integration-link:hover .pro-integration-more .fa {
  transform: translateX(3px);
}

/* ── Platform page (/pro/i/{slug}) ─────────────────────────────────────── */

/* Platform logo sitting above the hero kicker and title */
.pro-integration-hero-logo {
  margin-bottom: 22px;
}

.pro-integration-hero-logo img {
  max-width: 170px;
  max-height: 60px;
  width: auto;
  height: auto;
}

.pro-integration-hero-logo .fa {
  font-size: 52px;
  color: var(--pro-brand);
}

/* Variant: 3-column benefit cards — 6 features read better as 2 rows of 3.
   Compound selectors: the base .pro-plus-grid / .pro-steps-grid rules are
   declared further down the file and would otherwise win on source order. */
.pro-plus-grid.pro-plus-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

/* Variant: 4-column setup steps */
.pro-steps-grid.pro-steps-grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

/* "What you need" checklist under the setup steps */
.pro-requirements {
  max-width: 760px;
  margin-bottom: 0;
}

/* Native <details> FAQ accordion — no JavaScript involved */
.pro-qa-list {
  max-width: 900px;
  margin: 0 auto;
}

.pro-qa {
  background: #fff;
  border: 1px solid var(--pro-line);
  border-radius: var(--pro-radius);
  margin-bottom: 12px;
}

.pro-qa-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  list-style: none;
  font-family: "Montserrat", "Open Sans", Arial, sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--pro-ink);
  padding: 18px 22px;
}

/* Hide the default disclosure triangle so only our chevron shows */
.pro-qa-q::-webkit-details-marker {
  display: none;
}

.pro-qa-q::marker {
  content: "";
}

.pro-qa-q:hover {
  color: var(--pro-brand);
}

.pro-qa-q .fa {
  flex-shrink: 0;
  color: var(--pro-brand);
  transition: transform 0.2s;
}

.pro-qa[open] .pro-qa-q .fa {
  transform: rotate(180deg);
}

.pro-qa-a {
  font-size: 15px;
  line-height: 1.75;
  color: var(--pro-text);
  margin: 0;
  padding: 0 22px 20px;
}

/* ── Product builder promo banner (bottom of connect module) ───────────── */

.pro-builder-banner {
  display: flex;
  align-items: center;
  gap: 24px;
  background: var(--pro-pink-bg);
  border: 1px solid rgba(222, 37, 111, 0.18);
  border-radius: var(--pro-radius);
  padding: 26px 32px;
  margin-top: 18px;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.2s, border-color 0.2s, transform 0.2s;
}

.pro-builder-banner:hover,
.pro-builder-banner:focus {
  border-color: var(--pro-brand);
  box-shadow: 0 12px 32px rgba(222, 37, 111, 0.12);
  transform: translateY(-2px);
  text-decoration: none;
  color: inherit;
}

.pro-builder-banner-icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 14px;
  background: var(--pro-brand);
  color: #fff;
  font-size: 24px;
}

.pro-builder-banner-body {
  flex: 1;
  min-width: 0;
}

.pro-builder-banner-kicker {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--pro-brand);
  margin: 0 0 4px;
}

.pro-builder-banner-title {
  font-family: "Montserrat", "Open Sans", Arial, sans-serif;
  font-size: 18px;
  font-weight: 800;
  color: var(--pro-ink);
  margin: 0 0 6px;
  line-height: 1.25;
}

.pro-builder-banner-text {
  font-size: 14px;
  color: var(--pro-muted);
  line-height: 1.55;
  margin: 0;
}

.pro-builder-banner-cta {
  flex-shrink: 0;
  display: inline-block;
  background: var(--pro-brand);
  color: #fff;
  font-family: "Montserrat", "Open Sans", Arial, sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s;
}

.pro-builder-banner:hover .pro-builder-banner-cta,
.pro-builder-banner-cta:hover,
.pro-builder-banner-cta:focus {
  background: var(--pro-brand-dark);
  color: #fff;
  text-decoration: none;
}

@media (max-width: 767px) {
  .pro-builder-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 22px 20px;
    gap: 16px;
  }

  .pro-builder-banner-cta {
    width: 100%;
    text-align: center;
  }
}

/* ── Video module ──────────────────────────────────────────────────────── */

.pro-video {
  padding: 70px 0;
  background: var(--pro-tint);
}

.pro-video-frame {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  border-radius: var(--pro-radius);
  overflow: hidden;
  box-shadow: 0 18px 44px rgba(22, 22, 22, 0.14);
}

.pro-video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ── FAQ heading band (questions rendered by faqinclude.php) ───────────── */

.pro-faq {
  padding: 60px 0 10px;
}

/* ── Platform integration rows (connect detail page) ───────────────────── */

.pro-platform {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 40px;
  align-items: center;
  padding: 44px 0;
  border-bottom: 1px solid var(--pro-line);
}

.pro-platform:first-child {
  padding-top: 0;
}

.pro-platform:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.pro-platform-logo {
  text-align: center;
}

.pro-platform-logo img {
  max-width: 150px;
  max-height: 90px;
  width: auto;
  height: auto;
}

.pro-platform-logo .fa {
  font-size: 90px;
}

/* Text lettermark for platforms without an SVG logo */
.pro-platform-lettermark {
  font-family: "Montserrat", "Open Sans", Arial, sans-serif;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--pro-ink);
}

.pro-platform-copy .pro-detail-text {
  margin-bottom: 14px;
}

.pro-platform-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 10px;
}

/* Smaller CTA used inside platform rows */
.pro-btn-sm {
  padding: 12px 26px;
  font-size: 12px;
}

/* Ghost variant (secondary action, e.g. video link) */
.pro-btn-ghost {
  background: transparent;
  color: var(--pro-ink);
  border: 2px solid var(--pro-ink);
  box-shadow: none;
}

.pro-btn-ghost:hover,
.pro-btn-ghost:focus {
  background: var(--pro-ink);
  color: #fff;
  box-shadow: none;
}

/* ── How it works — numbered steps ─────────────────────────────────────── */

.pro-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.pro-step {
  background: var(--pro-tint);
  border: 1px solid #f0ece8;
  border-radius: var(--pro-radius);
  padding: 26px 24px;
}

.pro-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--pro-brand);
  color: #fff;
  font-family: "Montserrat", "Open Sans", Arial, sans-serif;
  font-size: 17px;
  font-weight: 800;
  margin-bottom: 14px;
}

.pro-step-text {
  font-size: 15px;
  color: var(--pro-text);
  line-height: 1.6;
  margin: 0;
}

/* ── Detail page content blocks ────────────────────────────────────────── */

.pro-detail {
  max-width: 820px;
}

.pro-detail-block {
  margin-bottom: 44px;
}

.pro-detail-block:last-child {
  margin-bottom: 0;
}

/* Long topics (5+ blocks): two-column card grid across the regular
   container width (same 1140px cap as .pro-wrap — the element carries
   both classes, so the cap must be restated here) */
.pro-detail-cols {
  max-width: 1140px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

/* Each block becomes a soft tinted card with rounded corners.
   Inner grid: icon + title share the first row, text spans below. */
.pro-detail-cols .pro-detail-block {
  margin-bottom: 0;
  background: var(--pro-tint);
  border: 1px solid #f0ece8;
  border-radius: var(--pro-radius);
  padding: 24px 26px;
  display: grid;
  grid-template-columns: 44px 1fr;
  column-gap: 14px;
  align-items: center;
}

/* Icon badge beside the card title — same circle as the integration tiles */
.pro-detail-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--pro-pink-bg);
  color: var(--pro-brand);
  font-size: 18px;
  grid-row: 1;
  grid-column: 1;
}

.pro-detail-cols .pro-detail-block .pro-detail-title {
  grid-row: 1;
  grid-column: 2;
  margin: 0;
}

.pro-detail-cols .pro-detail-block .pro-detail-text {
  grid-row: 2;
  grid-column: 1 / -1;
  margin-top: 12px;
}

/* Slightly smaller headings when blocks sit side by side */
.pro-detail-cols .pro-detail-title {
  font-size: clamp(18px, 2vw, 21px);
}

.pro-detail-cols .pro-detail-text {
  font-size: 15px;
  line-height: 1.65;
}

/* Stack back to one column on small screens */
@media (max-width: 767px) {
  .pro-detail-cols {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

.pro-detail-title {
  font-family: "Montserrat", "Open Sans", Arial, sans-serif;
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 700;
  color: var(--pro-ink);
  margin: 0 0 12px;
}

.pro-detail-text {
  font-size: 16px;
  line-height: 1.75;
  color: var(--pro-text);
  margin: 0;
}

/* ── "And you also get" cards ──────────────────────────────────────────────
   Row of pink cards placed under a card grid to detail what a Premium
   account adds on top of what the cards above describe (white label page). */

.pro-plus-lead {
  font-family: "Montserrat", "Open Sans", Arial, sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--pro-ink);
  margin: 26px 0 14px;
}

.pro-plus-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

/* Column layout so an optional CTA always sits at the bottom of the card */
.pro-plus-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: var(--pro-pink-bg);
  border-radius: var(--pro-radius);
  padding: 24px 22px;
}

.pro-plus-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #fff;
  color: var(--pro-brand);
  font-size: 16px;
  margin-bottom: 14px;
}

.pro-plus-title {
  font-family: "Montserrat", "Open Sans", Arial, sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--pro-ink);
  line-height: 1.35;
  margin: 0 0 10px;
}

.pro-plus-title a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.pro-plus-title a:hover,
.pro-plus-title a:focus {
  color: var(--pro-brand);
}

.pro-plus-text {
  font-size: 14px;
  line-height: 1.6;
  color: var(--pro-text);
  margin: 0;
}

/* The copy grows to fill the card so the CTA lines up across the row
   whatever the length of each description */
.pro-plus-card .pro-plus-text {
  flex: 1 1 auto;
}

.pro-plus-btn {
  margin-top: 18px;
}

/* Two per row on tablets, one per row on phones */
@media (max-width: 991px) {
  .pro-plus-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 575px) {
  .pro-plus-grid {
    grid-template-columns: 1fr;
  }

  .pro-plus-card {
    padding: 20px;
  }
}

/* Inline links inside detail copy blocks (e.g. bulk project quote invite) */
.pro-detail-text a {
  color: var(--pro-brand);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.pro-detail-text a:hover,
.pro-detail-text a:focus {
  color: var(--pro-brand-dark);
}

/* ── Closing CTA band (detail pages) ───────────────────────────────────── */

.pro-cta {
  background: var(--pro-pink-bg);
  padding: 60px 0;
  text-align: center;
}

.pro-cta-title {
  font-family: "Montserrat", "Open Sans", Arial, sans-serif;
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 800;
  color: var(--pro-ink);
  margin: 0 0 26px;
}

/* ── Responsive ────────────────────────────────────────────────────────── */

/* Tablets */
@media (max-width: 991px) {
  .pro-module-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .pro-card-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pro-integration-grid,
  .pro-integration-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .pro-platform {
    grid-template-columns: 150px 1fr;
    gap: 26px;
  }

  .pro-steps-grid,
  .pro-steps-grid.pro-steps-grid-4 {
    grid-template-columns: 1fr;
  }

  .pro-plus-grid.pro-plus-grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Phones */
@media (max-width: 640px) {
  .pro-hero {
    /* Keep extra bottom padding so the oblique mask stays clear of hero content */
    padding: 30px 0 100px;
  }

  .pro-hero-stats {
    gap: 22px 34px;
    margin-top: 36px;
  }

  .pro-selector,
  .pro-module,
  .pro-video {
    padding: 50px 0;
  }

  .pro-card-grid,
  .pro-compare-grid,
  .pro-integration-grid,
  .pro-integration-grid-4,
  .pro-achieve-grid,
  .pro-bulk-grid {
    grid-template-columns: 1fr;
  }

  .pro-integration-hero-logo img {
    max-width: 140px;
    max-height: 48px;
  }

  /* One benefit card per row — declared here rather than in the base
     .pro-plus-grid phone rule above so it wins over the tablet override */
  .pro-plus-grid.pro-plus-grid-3 {
    grid-template-columns: 1fr;
  }

  .pro-achieve-head {
    padding-top: 34px;
    padding-bottom: 34px;
  }

  .pro-achieve-card {
    padding: 22px 20px 20px;
  }

  /* Platform rows stack: logo above copy */
  .pro-platform {
    grid-template-columns: 1fr;
    gap: 18px;
    text-align: left;
  }

  .pro-platform-logo {
    text-align: left;
  }

  .pro-platform-logo img {
    max-width: 120px;
    max-height: 60px;
  }

  .pro-platform-logo .fa {
    font-size: 60px;
  }

  .pro-rebate-chart {
    gap: 12px;
    min-height: 240px;
  }

  .pro-rebate-fill-1 { height: 90px; }
  .pro-rebate-fill-2 { height: 130px; }
  .pro-rebate-fill-3 { height: 175px; }
  .pro-rebate-fill-4 { height: 200px; }
}

/* Very small phones (320px) */
@media (max-width: 380px) {
  .pro-wrap {
    padding: 0 14px;
  }

  .pro-btn {
    padding: 14px 26px;
    font-size: 13px;
  }

  .pro-hero-actions {
    gap: 16px;
  }
}

/* Large desktop / 4K: keep the column readable, scale spacing slightly */
@media (min-width: 2000px) {
  .pro-wrap {
    max-width: 1320px;
  }

  .pro-hero {
    /* Extra bottom padding keeps oblique mask clear at 4K */
    padding: 100px 0 150px;
  }

  .pro-selector,
  .pro-module,
  .pro-video {
    padding: 90px 0;
  }
}
