/*
 * DP Pricing. includes/pricing.php writes the plans (each holds its monthly and yearly price; data-dppr-period on the
 * root picks one); assets/pricing/pricing.js runs the switch and builds the comparison table and the plan slider.
 * Defaults use :where() so Divi's own settings (fonts, spacing, Custom CSS) always win.
 */
:where(.dp-pricing) {
  --dppr-accent: var(--dp-g-accent, #2c59fa);
  --dppr-on: #fff;
  --dppr-ink: var(--dp-g-heading, #060606);
  --dppr-card: #fff;
  --dppr-line: #e4e4e2;
  --dppr-feat: #0c0c0e;
  --dppr-feat-ink: #f1f1f0;
  --dppr-radius: 20px;
  --dppr-gap: 20px;
  --dppr-cols: 3;
  position: relative;
  color: var(--dppr-ink);
}
.dp-pricing .screen-reader-text { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---- monthly / yearly: every plan holds both prices ---- */
.dp-pricing[data-dppr-period="monthly"] .dp-plan .is-y,
.dp-pricing[data-dppr-period="yearly"] .dp-plan .is-m,
.dp-pricing[data-dppr-period="monthly"] .dp-pr-table .is-y,
.dp-pricing[data-dppr-period="yearly"] .dp-pr-table .is-m { display: none; }
.dp-pricing.dppr-switched .dp-plan-p,
.dp-pricing.dppr-switched .dp-plan-note > span { animation: dppr-in .45s cubic-bezier(.2, .7, .2, 1); }
@keyframes dppr-in { from { opacity: 0; transform: translateY(8px); } }

.dp-pr-head { display: flex; justify-content: center; margin-bottom: 40px; }
:where(.dp-pricing) .dp-pr-toggle { position: relative; display: inline-flex; padding: 4px; border-radius: 999px; background: var(--dppr-line); }
.dp-pr-thumb { position: absolute; top: 4px; bottom: 4px; left: 0; width: 0; border-radius: 999px; background: var(--dppr-card); box-shadow: var(--dp-sh-o, 0 1px 2px rgba(6, 6, 6, .08)), var(--dp-sh-o, 0 6px 16px -8px rgba(6, 6, 6, .25)); opacity: 0; transition: transform .4s cubic-bezier(.2, .8, .2, 1), width .4s cubic-bezier(.2, .8, .2, 1); }
.dppr-ready .dp-pr-thumb { opacity: 1; }
.dp-pr-toggle .dp-pr-opt { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 10px 20px; border: 0; border-radius: 999px; background: none; font-family: inherit; cursor: pointer; transition: color .3s, background-color .3s; }
:where(.dp-pricing) .dp-pr-opt { font-size: 15px; font-weight: 600; line-height: 1.2; color: var(--dppr-ink); }
/* Without the engine the chosen option gets the thumb's look. */
.dp-pricing:not(.dppr-ready) .dp-pr-opt[aria-pressed="true"] { background: var(--dppr-card); }
.dp-pr-opt[aria-pressed="false"] { opacity: .62; }
.dp-pr-opt:hover, .dp-pr-opt:focus-visible { opacity: 1; }
.dp-pr-opt:focus-visible { outline: 2px solid var(--dppr-accent); outline-offset: 2px; }
:where(.dp-pricing) .dp-pr-save { padding: 4px 9px; border-radius: 999px; background: var(--dppr-accent); color: var(--dppr-on); font-size: 12px; font-weight: 600; line-height: 1; letter-spacing: .01em; }

/* ---- the plans ---- */
/* Plans Per Row sets each plan's width; a last row that isn't full is centred instead of hanging on the left. */
.dp-pr-plans { --dppr-n: var(--dppr-cols); --dppr-cgap: var(--dppr-gap); display: flex; flex-wrap: wrap; justify-content: center; column-gap: var(--dppr-cgap); row-gap: var(--dppr-gap); align-items: stretch; }
.dp-pricing .dp-pr-plans > .dp-pricing-item { position: relative; isolation: isolate; display: flex; flex: 0 0 calc((100% - (var(--dppr-n) - 1) * var(--dppr-cgap)) / var(--dppr-n)); min-width: 0; margin: 0; }
/* Divi 4 wraps each plan in .et_pb_module_inner: it fills the item too, so every card is as wide and tall as its column. */
.dp-pricing .dp-pricing-item > .et_pb_module_inner { display: flex; flex: 1 1 auto; min-width: 0; width: 100%; }
.dp-pricing .dp-pricing-item .dp-plan { flex: 1 1 auto; min-width: 0; }
.dp-pr-empty { display: none; margin: 0; padding: 40px 20px; text-align: center; opacity: .6; }
.dp-pricing.is-empty .dp-pr-empty { display: block; }
@media (max-width: 980px) {
  .dp-pricing:not([data-dppr-cols="1"]) .dp-pr-plans { --dppr-n: 2; }
}
@media (max-width: 767px) {
  .dp-pricing[data-dppr-cols] .dp-pr-plans { --dppr-n: 1; }
}

:where(.dp-pricing) .dp-plan { position: relative; display: flex; flex-direction: column; box-sizing: border-box; width: 100%; padding: 32px; border: 1px solid var(--dppr-line); border-radius: var(--dppr-radius); background: var(--dppr-card); color: var(--dppr-ink); transition: transform .35s cubic-bezier(.2, .7, .2, 1), box-shadow .35s; }
.dp-plan-top { position: relative; }
:where(.dp-pricing) .dp-plan-name { margin: 0; padding: 0; font-size: 20px; font-weight: 600; line-height: 1.25; color: inherit; }
:where(.dp-pricing) .dp-plan-desc { margin: 6px 0 0; padding: 0; font-size: 15px; line-height: 1.5; opacity: .66; }
.dp-plan-price { display: flex; align-items: baseline; flex-wrap: wrap; margin-top: 24px; line-height: 1; }
.dp-plan-p { display: inline-flex; align-items: baseline; flex-wrap: wrap; }
:where(.dp-pricing) .dp-plan-amt { font-size: 48px; font-weight: 600; line-height: 1; letter-spacing: -.03em; color: inherit; }
:where(.dp-pricing) .dp-plan-cur { align-self: flex-start; margin: 4px 2px 0 0; font-size: 22px; font-weight: 600; line-height: 1; }
:where(.dp-pricing) .dp-plan-per { margin-left: 4px; font-size: 15px; line-height: 1; opacity: .6; }
/* In the builders the plans leave these spans empty; pricing.js puts the parent's currency and suffixes on the root. */
.dp-plan-cur:empty::before { content: var(--dppr-cur-s, none); }
.dp-plan-per.is-m:empty::before { content: var(--dppr-pm-s, none); }
.dp-plan-per.is-y:empty::before { content: var(--dppr-py-s, none); }
:where(.dp-pricing) .dp-plan-note { margin: 10px 0 0; padding: 0; font-size: 13px; line-height: 1.4; opacity: .6; }
.dp-pricing .dp-plan-features { display: grid; align-content: start; gap: 12px; flex: 1 1 auto; margin: 28px 0 0; padding: 24px 0 0; border-top: 1px solid var(--dppr-line); list-style: none; }
.dp-pricing .dp-plan-features li { display: flex; align-items: flex-start; gap: 10px; margin: 0; padding: 0; list-style: none; }
:where(.dp-pricing) .dp-plan-features li { font-size: 15px; line-height: 1.45; }
.dp-plan-ico { flex: none; display: grid; place-items: center; width: 20px; height: 20px; margin-top: 1px; border-radius: 50%; background: color-mix(in srgb, var(--dppr-accent) 14%, transparent); color: var(--dppr-accent); }
.dp-plan-ico svg { display: block; width: 12px; height: 12px; }
.dp-plan-features .is-no .dp-plan-ico { background: color-mix(in srgb, currentColor 8%, transparent); color: inherit; opacity: .5; }
.dp-plan-features .is-no .dp-plan-ft { opacity: .5; }
.dp-plan-actions { margin-top: 28px; }
:where(.dp-pricing) .dp-plan-btn { display: flex; align-items: center; justify-content: center; box-sizing: border-box; width: 100%; padding: 14px 22px; border: 1.5px solid var(--dppr-line); border-radius: 999px; background: transparent; color: var(--dppr-ink); font-size: 15px; font-weight: 600; line-height: 1.2; text-align: center; text-decoration: none; transition: background-color .25s, border-color .25s, color .25s, transform .25s; }
.dp-plan-btn:hover { border-color: var(--dppr-accent); }
a.dp-plan-btn:focus-visible { outline: 2px solid var(--dppr-accent); outline-offset: 3px; }
.dp-plan.is-featured .dp-plan-btn { border-color: var(--dppr-accent); background: var(--dppr-accent); color: var(--dppr-on); }
.dp-plan.is-featured .dp-plan-btn:hover { transform: translateY(-1px); background: color-mix(in srgb, var(--dppr-accent) 88%, #000); }
:where(.dp-pricing) .dp-plan-badge { position: absolute; top: 24px; right: 24px; z-index: 1; padding: 6px 11px; border-radius: 999px; background: var(--dppr-accent); color: var(--dppr-on); font-size: 12px; font-weight: 600; line-height: 1; letter-spacing: .01em; white-space: nowrap; }
.dp-plan:has(.dp-plan-badge) .dp-plan-name { padding-right: 120px; }

/* ---- Glow Highlight: the featured plan is a dark card with a soft glow ---- */
.dp-pricing[data-dppr-style="glow"] .dp-plan.is-featured {
  border-color: color-mix(in srgb, var(--dppr-accent) 40%, transparent);
  background: radial-gradient(120% 70% at 50% -10%, color-mix(in srgb, var(--dppr-accent) 38%, transparent), transparent 70%), var(--dppr-feat);
  color: var(--dppr-feat-ink);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), var(--dp-sh-o, 0 30px 70px -30px color-mix(in srgb, var(--dppr-accent) 70%, transparent));
}
.dp-pricing[data-dppr-style="glow"] .dp-plan.is-featured::before {
  content: ""; position: absolute; inset: 8% 6% -4%; z-index: -1; border-radius: inherit;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--dppr-accent) 55%, transparent), transparent);
  filter: blur(30px); opacity: .7; pointer-events: none;
}
.dp-pricing[data-dppr-style="glow"] .dp-plan.is-featured .dp-plan-features { border-top-color: color-mix(in srgb, var(--dppr-feat-ink) 14%, transparent); }
.dp-pricing[data-dppr-style="glow"] .dp-plan.is-featured .is-yes .dp-plan-ico { background: var(--dppr-accent); color: var(--dppr-on); }
.dp-pricing[data-dppr-style="glow"] .dp-plan:not(.is-featured):hover { transform: translateY(-4px); box-shadow: var(--dp-sh, 0 24px 50px -30px rgba(6, 6, 6, .35)); }
@media (min-width: 981px) {
  .dp-pricing[data-dppr-style="glow"] .dp-plan.is-featured { transform: translateY(-12px); }
}

/* ---- Tinted Top: each card has a coloured top ---- */
.dp-pricing[data-dppr-style="tinted"] .dp-plan { padding: 0; overflow: hidden; }
.dp-pricing[data-dppr-style="tinted"] .dp-plan-top { padding: 30px 30px 26px; background: color-mix(in srgb, var(--dppr-accent) 8%, var(--dppr-card)); }
.dp-pricing[data-dppr-style="tinted"] .dp-plan.is-featured { border-color: var(--dppr-accent); }
.dp-pricing[data-dppr-style="tinted"] .dp-plan.is-featured .dp-plan-top { background: var(--dppr-accent); color: var(--dppr-on); }
.dp-pricing[data-dppr-style="tinted"] .dp-plan-features { margin: 0; padding: 26px 30px 0; border-top: 0; }
.dp-pricing[data-dppr-style="tinted"] .dp-plan-actions { margin: 0; padding: 28px 30px 30px; }
.dp-pricing[data-dppr-style="tinted"] .dp-plan.is-featured .dp-plan-badge { background: var(--dppr-on); color: var(--dppr-accent); }
.dp-pricing[data-dppr-style="tinted"] .dp-plan:hover { transform: translateY(-4px); box-shadow: var(--dp-sh, 0 24px 50px -30px rgba(6, 6, 6, .35)); }

/* ---- Minimal Columns: no cards, a line above each plan ---- */
.dp-pricing[data-dppr-style="minimal"] .dp-pr-plans { --dppr-cgap: max(var(--dppr-gap), 32px); row-gap: 48px; }
.dp-pricing[data-dppr-style="minimal"] .dp-plan { padding: 28px 0 0; border: 0; border-top: 1px solid var(--dppr-line); border-radius: 0; background: none; }
.dp-pricing[data-dppr-style="minimal"] .dp-plan.is-featured { border-top: 2px solid var(--dppr-accent); padding-top: 27px; }
.dp-pricing[data-dppr-style="minimal"] .dp-plan.is-featured .dp-plan-name { color: var(--dppr-accent); }
.dp-pricing[data-dppr-style="minimal"] .dp-plan-badge { top: 26px; right: 0; }
.dp-pricing[data-dppr-style="minimal"] .dp-plan-features { border-top: 0; padding-top: 0; }
.dp-pricing[data-dppr-style="minimal"] .dp-plan-ico { background: none; width: 18px; }
.dp-pricing[data-dppr-style="minimal"] .dp-plan-ico svg { width: 15px; height: 15px; }
.dp-pricing[data-dppr-style="minimal"] .dp-plan-btn { width: auto; display: inline-flex; }

/* ---- Horizontal Rows: one plan per row ---- */
.dp-pricing[data-dppr-style="rows"] .dp-pr-plans { --dppr-n: 1; }
@media (min-width: 768px) {
  .dp-pricing[data-dppr-style="rows"] .dp-plan {
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr) minmax(200px, auto); grid-template-rows: auto auto 1fr;
    column-gap: 40px; align-items: start; padding: 30px 34px;
  }
  .dp-pricing[data-dppr-style="rows"] .dp-plan-top { display: contents; }
  .dp-pricing[data-dppr-style="rows"] .dp-plan-name { grid-column: 1; grid-row: 1; padding-right: 0; }
  .dp-pricing[data-dppr-style="rows"] .dp-plan-desc { grid-column: 1; grid-row: 2; }
  .dp-pricing[data-dppr-style="rows"] .dp-plan-price { grid-column: 3; grid-row: 1; justify-content: flex-end; margin-top: 0; }
  .dp-pricing[data-dppr-style="rows"] .dp-plan-note { grid-column: 3; grid-row: 2; text-align: right; }
  .dp-pricing[data-dppr-style="rows"] .dp-plan-features { grid-column: 2; grid-row: 1 / span 3; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 24px; margin: 0; padding: 0 0 0 40px; border-top: 0; border-left: 1px solid var(--dppr-line); }
  .dp-pricing[data-dppr-style="rows"] .dp-plan-actions { grid-column: 3; grid-row: 3; margin-top: 18px; }
  .dp-pricing[data-dppr-style="rows"] .dp-plan-badge { position: relative; top: auto; right: auto; grid-column: 1; grid-row: 3; justify-self: start; margin-top: 16px; }
}
@media (min-width: 768px) and (max-width: 980px) {
  .dp-pricing[data-dppr-style="rows"] .dp-plan-features { grid-template-columns: minmax(0, 1fr); }
}
.dp-pricing[data-dppr-style="rows"] .dp-plan.is-featured { border-color: var(--dppr-accent); box-shadow: 0 0 0 1px var(--dppr-accent), var(--dp-sh-o, 0 24px 50px -30px color-mix(in srgb, var(--dppr-accent) 60%, transparent)); }
:where(.dp-pricing[data-dppr-style="rows"]) .dp-plan-amt { font-size: 40px; }

/* ---- Comparison Table (built by the engine; without it the plans show as cards) ---- */
.dp-pricing.dppr-built[data-dppr-style="compare"] .dp-pr-plans { display: none; }
.dp-pr-table-wrap { position: relative; overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--dppr-line); border-radius: var(--dppr-radius); background: var(--dppr-card); }
/* :not(#dp) outweighs the theme's ".entry-content table" border and bottom margin (a stray line and gap under the last row). */
.dp-pricing .dp-pr-table:not(#dp) { width: 100%; min-width: calc(200px + var(--dppr-n, 3) * 170px); margin: 0; border: 0; border-collapse: separate; border-spacing: 0; table-layout: fixed; }
.dp-pricing .dp-pr-table th,
.dp-pricing .dp-pr-table td { padding: 16px 20px; border: 0; border-top: 1px solid var(--dppr-line); text-align: center; vertical-align: middle; font-size: 15px; line-height: 1.4; color: inherit; }
.dp-pricing .dp-pr-table thead th { border-top: 0; padding-top: 28px; padding-bottom: 24px; vertical-align: top; font-weight: inherit; }
.dp-pricing .dp-pr-table tbody th { font-weight: 600; text-align: left; }
.dp-pricing .dp-pr-table .dp-pr-corner { text-align: left; vertical-align: bottom; font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; opacity: .55; }
.dp-pr-table .dp-pr-col { position: relative; }
.dp-pr-table .dp-pr-col .dp-plan-price { justify-content: center; margin-top: 14px; }
:where(.dp-pr-table .dp-pr-col) .dp-plan-amt { font-size: 36px; }
.dp-pr-table .dp-pr-col .dp-plan-actions { margin-top: 18px; }
.dp-pr-table .dp-pr-col .dp-plan-btn { padding: 11px 10px; white-space: nowrap; }
.dp-pricing .dp-pr-table thead .dp-pr-col { padding-top: 46px; }
.dp-pr-table .dp-pr-col .dp-plan-badge { top: 12px; right: auto; left: 50%; transform: translateX(-50%); }
.dp-pr-table .dp-pr-col .dp-plan-name { padding-right: 0; }
.dp-pr-table .is-featured { background: color-mix(in srgb, var(--dppr-accent) 6%, transparent); }
.dp-pr-table thead .is-featured { box-shadow: inset 0 3px 0 var(--dppr-accent); }
.dp-pr-table .is-featured .dp-plan-btn { border-color: var(--dppr-accent); background: var(--dppr-accent); color: var(--dppr-on); }
.dp-pr-table td .dp-plan-ico { margin: 0 auto; }
.dp-pr-table td.is-no .dp-plan-ico { background: color-mix(in srgb, currentColor 8%, transparent); color: inherit; opacity: .45; }
.dp-pr-table .dp-pr-val { font-weight: 600; }
.dp-pr-table tbody tr:hover > * { background-color: color-mix(in srgb, var(--dppr-accent) 4%, transparent); }
@media (max-width: 767px) {
  .dp-pricing .dp-pr-table { min-width: calc(140px + var(--dppr-n, 3) * 150px); }
  .dp-pricing .dp-pr-table tbody th, .dp-pricing .dp-pr-table .dp-pr-corner { position: sticky; left: 0; z-index: 1; background: var(--dppr-card); }
}

/* ---- Slider Plan Picker (built by the engine; without it the plans show as cards) ---- */
.dp-pr-picker { max-width: 640px; margin: 0 auto 36px; text-align: center; }
:where(.dp-pricing) .dp-pr-picker-label { margin: 0 0 18px; padding: 0; font-size: 17px; font-weight: 600; line-height: 1.3; }
.dp-pricing .dp-pr-range { -webkit-appearance: none; appearance: none; display: block; width: 100%; height: 28px; margin: 0; padding: 0; border: 0; background: none; cursor: pointer; accent-color: var(--dppr-accent); }
.dp-pr-range::-webkit-slider-runnable-track { height: 6px; border-radius: 999px; background: linear-gradient(to right, var(--dppr-accent) var(--dppr-fill, 0%), var(--dppr-line) var(--dppr-fill, 0%)); }
.dp-pr-range::-moz-range-track { height: 6px; border-radius: 999px; background: linear-gradient(to right, var(--dppr-accent) var(--dppr-fill, 0%), var(--dppr-line) var(--dppr-fill, 0%)); }
.dp-pr-range::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; margin-top: -10px; border: 4px solid var(--dppr-card); border-radius: 50%; background: var(--dppr-accent); box-shadow: var(--dp-sh, 0 2px 10px rgba(6, 6, 6, .25)); transition: transform .2s; }
.dp-pr-range::-moz-range-thumb { width: 18px; height: 18px; border: 4px solid var(--dppr-card); border-radius: 50%; background: var(--dppr-accent); box-shadow: var(--dp-sh, 0 2px 10px rgba(6, 6, 6, .25)); }
.dp-pr-range:active::-webkit-slider-thumb { transform: scale(1.12); }
.dp-pr-range:focus-visible { outline: 2px solid var(--dppr-accent); outline-offset: 4px; border-radius: 8px; }
.dp-pr-ticks { display: flex; justify-content: space-between; gap: 8px; margin-top: 12px; }
.dp-pricing .dp-pr-tick { flex: 1 1 0; min-width: 0; margin: 0; padding: 4px 2px; border: 0; background: none; color: inherit; font: inherit; font-size: 14px; line-height: 1.3; opacity: .55; cursor: pointer; transition: opacity .2s, color .2s; }
.dp-pr-tick:first-child { text-align: left; }
.dp-pr-tick:last-child { text-align: right; }
.dp-pr-tick[aria-pressed="true"] { opacity: 1; color: var(--dppr-accent); font-weight: 600; }
.dp-pr-tick:hover { opacity: 1; }
.dp-pricing.dppr-built[data-dppr-style="slider"] .dp-pr-plans { --dppr-n: 1; max-width: 720px; margin: 0 auto; }
.dp-pricing.dppr-built[data-dppr-style="slider"] .dp-pr-plans > .dp-pricing-item:not(.is-picked) { display: none; }
.dp-pricing.dppr-built[data-dppr-style="slider"] .dp-pricing-item.is-picked .dp-plan { animation: dppr-pick .45s cubic-bezier(.2, .7, .2, 1); }
.dp-pricing[data-dppr-style="slider"] .dp-plan.is-featured { border-color: var(--dppr-accent); box-shadow: 0 0 0 1px var(--dppr-accent); }
@media (min-width: 768px) {
  .dp-pricing.dppr-built[data-dppr-style="slider"] .dp-plan-features { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 24px; }
}
@keyframes dppr-pick { from { opacity: 0; transform: translateY(10px) scale(.985); } }

/* ---- Plan Design (a Library layout or canvas) ----
 * The user's design fills each plan's card: the card keeps its border, corners, shadow and featured accent, and gives
 * up its padding, its built-in layout and its own background and text colour (Glow's dark featured card would
 * otherwise turn the design's text light); a background set under Design > Plans still wins. The Entry text takes nothing from the built-in plan's styles, so the design's own styling shows unless a
 * setting is changed in the Design tab. */
.dp-pricing .dp-plan.dp-entry-custom { display: block; padding: 0; overflow: hidden; }
.dp-pricing[data-dppr-style] .dp-plan.dp-entry-custom.dp-entry-custom { background: transparent; color: inherit; }
.dp-pricing .dp-plan.dp-entry-custom .dp-entry-wrap.dp-entry-wrap.dp-entry-wrap { all: unset; }
.dp-plan.dp-entry-custom > .dp-plan-design { height: 100%; }
/* Entry Price and Entry Price Note: the period shown follows the switch; sized by the design. */
.dp-plan-pr .dp-plan-p { display: inline-flex; align-items: baseline; flex-wrap: wrap; }
.dp-plan.dp-entry-custom .dp-plan-pr :is(.dp-plan-amt, .dp-plan-cur, .dp-plan-per) { margin: 0; font: inherit; letter-spacing: inherit; line-height: inherit; opacity: 1; align-self: auto; }
.dp-plan.dp-entry-custom .dp-plan-pr .dp-plan-per { margin-left: .2em; opacity: .6; }
/* Entry Features: one line each, with the tick or cross. */
.dp-plan-fl { display: grid; gap: .7em; text-align: start; }
.dp-plan-f { display: flex; align-items: flex-start; gap: 10px; }
.dp-plan-f.is-no .dp-plan-ico { background: color-mix(in srgb, currentColor 8%, transparent); color: inherit; opacity: .5; }
.dp-plan-f.is-no .dp-plan-ft { opacity: .5; }
/* A background set under Design > Plans (dp-bg-prcard), on a plan's card (dp-bg-plancard) or in its own Background
 * (dp-bg-module) replaces the backgrounds of the design's sections and rows, which would otherwise cover it. */
:is(.dp-bg-prcard .dp-pricing-item, .dp-pricing-item.dp-bg-plancard, .dp-pricing-item.dp-bg-module) .dp-entry-custom :is(.et_pb_section, .et_pb_row):not(#dp#dp) { background: none !important; background-color: transparent !important; background-image: none !important; }
:is(.dp-bg-prcard .dp-pricing-item, .dp-pricing-item.dp-bg-plancard, .dp-pricing-item.dp-bg-module) .dp-entry-custom :is(.et_pb_section, .et_pb_row) > :is(.et_parallax_bg_wrap, .et_pb_section_video_bg, .et_pb_background_pattern, .et_pb_background_mask) { display: none !important; }

@media (prefers-reduced-motion: reduce) {
  .dp-pricing *, .dp-pricing *::before { animation: none !important; transition: none !important; }
  .dp-pricing .dp-plan:hover { transform: none; }
}

/* Built-In Shadows off (the module's dp-noshadow class): the blurred shadows above use these. */
.dp-noshadow { --dp-sh: none; --dp-sh-o: 0 0 #0000; }

/* A Box Shadow chosen for this element in the Design tab (None included) replaces its built-in shadow. */
.dp-sh-prcard .dp-plan, .dp-sh-prfeatured .dp-plan.is-featured, .dp-sh-plancard .dp-plan { --dp-sh: none; --dp-sh-o: 0 0 #0000; }

/* Background defaults for the elements with a Background setting in the Design tab, as Divi gives its own
   modules (Cover, centred, no repeat): Divi only prints these when they are changed. Low priority, so any value set wins. */
:where(.dp-plan-actions .dp-plan-btn, .dp-plan, .dp-plan-btn, .is-featured .dp-plan-btn, .dp-pr-toggle, .dp-pr-save, .dp-plan.is-featured, .dp-plan-badge, .dp-plan-ico, .dp-pr-table-wrap):not(#dp) { background-size: cover; background-position: 50%; background-repeat: no-repeat; }
