/* Memberships & Pricing (proximopadel.com/memberships): plan cards first
   (.mp), then the calculator, what's included (.lsm, ported from the
   WordPress widget) and the pricing tables. */

/* ---------- Plans (top of the page) ---------- */
.mp { background: var(--pp-cream); color: var(--pp-ink); padding: 64px 20px 56px; }
.mp__inner { max-width: 1140px; margin: 0 auto; }
.mp-label { margin: 0 0 10px; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--pp-olive); }
.mp-title { margin: 0; font-size: clamp(40px, 6vw, 72px); font-weight: 600; letter-spacing: -.02em; line-height: 1.05; color: var(--pp-ink); }
.mp-title .pp-script { color: var(--pp-olive); }
.mp-intro { max-width: 720px; margin: 16px 0 0; font-size: 19px; line-height: 1.5; }

/* Club / billing switches: only the chosen club's and billing's prices show */
.mp-switches { display: flex; flex-wrap: wrap; gap: 16px 28px; margin: 30px 0 22px; }
.mp-switch { border: 0; margin: 0; padding: 0; min-width: min(100%, 300px); }
.mp-switch legend { padding: 0; margin: 0 0 8px; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.mp-switch .calc-seg { width: 100%; }
.mp:not(:has(input[name="mp-club"][value="goose"]:checked)) [data-mp-club="goose"],
.mp:has(input[name="mp-club"][value="goose"]:checked) [data-mp-club="logan"],
.mp:not(:has(input[name="mp-billing"][value="year"]:checked)) [data-mp-billing="year"],
.mp:has(input[name="mp-billing"][value="year"]:checked) [data-mp-billing="month"],
.mp:not(:has(input[name="mp-plan"][value="couple"]:checked)) [data-mp-plan="couple"],
.mp:not(:has(input[name="mp-plan"][value="group"]:checked)) [data-mp-plan="group"],
.mp:has(input[name="mp-plan"][value="couple"]:checked) [data-mp-plan="individual"],
.mp:has(input[name="mp-plan"][value="group"]:checked) [data-mp-plan="individual"] { display: none !important; }

.mp-plans { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 14px; }
.mp-plan { display: flex; flex-direction: column; padding: 22px 20px 20px; border-radius: 20px; background: var(--pp-white); border: 1.5px solid #61724e2e; }
.mp-plan__prices { margin-top: 12px; }
/* Plan pills on the Membership card */
.mp-pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 4px; }
.mp-pills label { position: relative; cursor: pointer; }
.mp-pills input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.mp-pills span { display: block; padding: 9px 18px; border-radius: 99px; border: 1.5px solid var(--pp-olive); font-size: 15px; font-weight: 600; color: var(--pp-olive); background: var(--pp-white); transition: background .15s, color .15s; }
.mp-pills label:hover span { background: #61724e14; }
.mp-pills input:checked + span { background: var(--pp-olive); color: var(--pp-white); }
.mp-pills input:focus-visible + span { outline: 2px solid var(--pp-ink); outline-offset: 2px; }
.mp-plan h2 { margin: 0; font-size: 24px; font-weight: 700; letter-spacing: -.01em; color: var(--pp-ink); }
.mp-plan__blurb { margin: 4px 0 14px; font-size: 15px; color: #5a5f55; }
.mp-price p { margin: 0; display: flex; align-items: baseline; gap: 4px; }
.mp-price b { font-size: 40px; font-weight: 700; line-height: 1.05; letter-spacing: -.02em; color: var(--pp-olive); font-variant-numeric: tabular-nums; }
.mp-price p span { font-size: 16px; font-weight: 600; color: #5a5f55; }
.mp-price small { display: block; min-height: 1.4em; margin-top: 4px; font-size: 14px; font-weight: 600; color: var(--pp-olive); }
.mp-price em { display: table; margin-top: 6px; padding: 1px 8px; border-radius: 99px; background: var(--pp-lime); color: var(--pp-ink); font-style: normal; font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; vertical-align: 1px; }
.mp-plan__perks { margin: 14px 0 18px; padding: 14px 0 0; border-top: 1px solid #61724e2e; list-style: none; display: grid; gap: 8px; font-size: 15px; line-height: 1.4; }
.mp-plan__perks li { display: flex; gap: 8px; }
.mp-plan__perks li::before { content: "✓"; flex: none; color: var(--pp-olive); font-weight: 700; }
.mp-plan__cta { margin-top: auto; display: grid; gap: 8px; }
.mp-join { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 11px 16px; border-radius: 99px; background: var(--pp-ink); color: var(--pp-white); font-weight: 600; font-size: 15px; transition: background .2s, color .2s; }
.mp-join span { color: var(--pp-lime); transition: transform .2s; }
.mp-join:hover { background: var(--pp-olive); }
.mp-join:hover span { transform: translateX(3px); }
/* In-page link to the full benefits further down */
.mp-details { display: flex; justify-content: center; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 99px; border: 1.5px solid #61724e66; color: var(--pp-olive); font-size: 14px; font-weight: 600; transition: background .2s, border-color .2s; }
.mp-details:hover { background: #61724e14; border-color: var(--pp-olive); }
.mp-plan--offpeak .mp-details { border-color: #ffffff55; color: var(--pp-white); }
.mp-plan--offpeak .mp-details:hover { background: #ffffff14; border-color: var(--pp-white); }
#member-benefits, #off-peak-membership { scroll-margin-top: 24px; }
.mp-plan__alt { font-size: 13px; font-weight: 600; color: var(--pp-olive); text-decoration: underline; text-underline-offset: 3px; text-align: center; }
.mp-plan--offpeak { background: var(--pp-ink); border-color: var(--pp-ink); color: var(--pp-white); }
.mp-plan--offpeak h2 { color: var(--pp-white); }
.mp-plan--offpeak .mp-plan__blurb, .mp-plan--offpeak .mp-price p span { color: #ffffffa6; }
.mp-plan--offpeak .mp-price b { color: var(--pp-lime); }
.mp-plan--offpeak .mp-price small, .mp-plan--offpeak .mp-plan__alt { color: #ffffffbf; }
.mp-plan--offpeak .mp-plan__perks { border-color: #ffffff26; }
.mp-plan--offpeak .mp-plan__perks li::before { color: var(--pp-lime); }
.mp-plan--offpeak .mp-plan__perks b { font-weight: 700; color: var(--pp-lime); }
.mp-plan--offpeak .mp-join { background: var(--pp-lime); color: var(--pp-ink); }
.mp-plan--offpeak .mp-join span { color: var(--pp-ink); }
.mp-plan--offpeak .mp-join:hover { background: var(--pp-white); }

/* All-Club strip with the Goose founding offer: price | button, then the perks
   across the full width, then the commitment line. One column on phones. */
.mp-allclub {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "head cta" "perks perks" "note note";
  align-items: center; gap: 16px 32px; margin-top: 14px; padding: 24px 28px; border-radius: 20px; background: var(--pp-olive); color: var(--pp-white);
}
.mp-allclub__head { grid-area: head; }
.mp-allclub__label { margin: 0 0 6px; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--pp-lime); }
.mp-allclub h2 { margin: 0; font-size: 40px; font-weight: 700; line-height: 1.05; color: var(--pp-white); }
.mp-allclub h2 span { font-size: 16px; font-weight: 600; color: #ffffffbf; }
.mp-allclub h2 s { margin-left: 8px; font-size: 20px; font-weight: 500; color: #ffffff99; }
.mp-allclub .mp-allclub__cta { grid-area: cta; gap: 8px; font-size: 17px; padding: 12px 22px; }
.mp-allclub .mp-allclub__cta:hover { background: var(--pp-white); color: var(--pp-ink); }
.mp-allclub__perks { grid-area: perks; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0; padding: 0; list-style: none; }
.mp-allclub__perks li { padding: 14px 16px; border-radius: 14px; background: #ffffff1a; font-size: 17px; font-weight: 600; line-height: 1.35; }
.mp-allclub__perks b { display: block; margin-bottom: 3px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--pp-lime); }
.mp-allclub__note { grid-area: note; margin: 0; font-size: 15px; line-height: 1.5; color: #ffffffe0; }
@media (max-width: 760px) {
  .mp-allclub { grid-template-columns: 1fr; grid-template-areas: "head" "perks" "note" "cta"; gap: 14px; }
  .mp-allclub .mp-allclub__cta { justify-self: stretch; justify-content: center; }
}
@media (max-width: 560px) { .mp-allclub { padding: 22px 20px; } .mp-allclub__perks { grid-template-columns: 1fr; } }

.mp-fine { margin: 18px 0 0; font-size: 14px; color: #5a5f55; }
.mp-fine a { font-weight: 600; color: var(--pp-olive); text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 760px) { .mp-plans { grid-template-columns: 1fr; } }
@media (max-width: 560px) {
  .mp { padding: 40px 16px 44px; }
  .mp-pills span { padding: 8px 14px; font-size: 14px; }
  .mp-switches { gap: 14px; }
}

.mem-body { width: calc(100% - 40px); max-width: 1140px; margin: 0 auto; padding: 64px 0; }

/* ---------- What every membership includes ---------- */
.lsm { --olive: #61724e; --lime: #d7ed1c; color: var(--pp-ink); margin: 72px auto; text-align: left; }
.lsm .lsm-pair { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2vw, 28px); }
.lsm .lsm-label { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; margin: 0 0 14px; color: var(--olive); }
.lsm .lsm-title {
  display: flex; flex-wrap: wrap; gap: 0 .5em; margin: 0;
  font-size: clamp(36px, 4.4vw, 60px); line-height: 1.15; letter-spacing: -.045em;
  font-weight: 600; color: var(--olive);
}
.lsm .lsm-line { display: block; white-space: nowrap; }
.lsm .lsm-title .pp-script { font-size: 1.24em; letter-spacing: normal; color: var(--olive); }

.lsm .lsm-pair { margin: 32px 0 0; }
.lsm-pair > div, .lsm .lsm-includes { background: #f5f5ef; border-radius: 16px; padding: clamp(18px, 2.3vw, 30px); }
.lsm h3 { color: var(--pp-ink); font-size: clamp(24px, 3vw, 34px); line-height: 1.2; font-weight: 500; margin: 0 0 12px; }
.lsm .lsm-stat {
  display: grid; grid-template-columns: minmax(95px, 32%) 1fr; align-items: center; gap: 12px;
  border-top: 1px solid #61724e44; padding: 12px 0; min-height: 78px;
  font-size: clamp(17px, 1.4vw, 19px); line-height: 1.5;
}
.lsm-stat b { color: var(--olive); font-size: clamp(26px, 3vw, 38px); line-height: 1; font-weight: 600; }
.lsm-stat small { font-size: 15px; font-weight: 500; }

.lsm .lsm-includes { margin: 22px 0; }
.lsm .lsm-includes h3 { font-size: clamp(24px, 2.6vw, 32px); font-weight: 700; }
.lsm .lsm-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; }
.lsm-list li {
  display: flex; align-items: flex-start; gap: 12px;
  border-top: 1px solid #61724e33; padding: 14px 0;
  font-size: clamp(17px, 1.4vw, 19px); line-height: 1.5;
}
.lsm-list li::before {
  content: "✓"; display: grid; place-items: center; flex: 0 0 20px; height: 20px; margin-top: .24em;
  border-radius: 50%; background: var(--lime); color: var(--pp-ink);
  font-family: Arial, sans-serif; font-weight: 700; font-size: 13px; line-height: 1;
}

.lsm .lsm-founding { display: block; background: var(--olive); color: var(--pp-white); border-radius: 18px; padding: clamp(22px, 3.6vw, 46px); margin-top: 16px; }
.lsm-founding .lsm-label, .lsm-founding small { color: var(--lime); }
.lsm .lsm-founding h3 { color: var(--pp-white); font-weight: 650; font-size: clamp(28px, 3vw, 38px); line-height: 1.18; }
.lsm-founding p { margin: 0; line-height: 1.5; }
.lsm .lsm-founding > p:not(.lsm-label) { font-size: clamp(17px, 1.4vw, 19px); }
.lsm .lsm-perks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 24px; }
.lsm-perks > div { border-top: 1px solid #ffffff55; padding-top: 12px; }
.lsm-perks small, .lsm-perks b { display: block; margin-bottom: 5px; }
.lsm .lsm-perks small { font-size: clamp(20px, 2vw, 26px); font-weight: 600; line-height: 1.15; margin-bottom: 10px; }
.lsm .lsm-perks b, .lsm .lsm-perks p { font-size: clamp(17px, 1.4vw, 19px); line-height: 1.5; }
.lsm .lsm-perks b { font-weight: 600; }

/* Off-Peak card: same layout as the founding card, on ink. */
.lsm .lsm-offpeak { background: var(--pp-ink); }
.lsm .lsm-offpeak strong { color: var(--lime); font-weight: 600; }
.lsm-offpeak .lsm-perks { row-gap: 26px; }
.lsm .lsm-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 14px; margin-top: 28px; }
.lsm .lsm-cta .pp-btn { gap: 8px; font-size: 17px; padding: 11px 20px; }
.lsm .lsm-cta .pp-btn:hover { background: var(--pp-white); color: var(--pp-ink); }
.lsm .lsm-cta__note { margin-top: 14px; font-size: 15px; color: #ffffffbf; }
.lsm .lsm-cta__note a { color: var(--lime); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

@media (prefers-reduced-motion: no-preference) and (hover: hover) and (pointer: fine) {
  .lsm :is(.lsm-includes, .lsm-founding), .lsm-pair > div, .mem-table__scroll { transition: scale .28s ease; }
  .lsm :is(.lsm-includes, .lsm-founding):hover, .lsm-pair > div:hover, .mem-table__scroll:hover { scale: 1.015; }
  .lsm .lsm-stat b, .lsm .lsm-list li::before, .lsm .lsm-perks small { transition: transform .3s ease; transform-origin: left center; }
  .lsm .lsm-stat:hover b, .lsm .lsm-list li:hover::before { transform: scale(1.045); }
  .lsm .lsm-perks > div:hover small { transform: translateY(-2px); }
}

/* ---------- Pricing tables ---------- */
.mem-title {
  margin: 72px 0 40px; text-align: center;
  color: var(--pp-olive); font-size: clamp(42px, 5vw, 68px); font-weight: 600; line-height: 1; letter-spacing: -.03em;
}
.lsm + .mem-title { margin-top: 0; }
.mem-table { width: 100%; color: var(--pp-ink); }
.mem-table__scroll { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.mem-table__scroll:focus-visible { outline: 2px solid var(--pp-olive); outline-offset: 4px; }
.mem-table table { width: 100%; min-width: 820px; table-layout: fixed; border-collapse: collapse; background: var(--pp-white); }
.mem-table th, .mem-table td { padding: 22px 20px; border: 1px solid rgba(97,114,78,.48); text-align: left; vertical-align: middle; }
.mem-table td { font-size: 16px; line-height: 1.5; font-variant-numeric: tabular-nums; }
.mem-table th { font-size: 17px; line-height: 1.35; font-weight: 600; }
.mem-table thead th { text-align: center; font-size: 18px; background: var(--pp-ink); color: var(--pp-white); border-bottom: 3px solid var(--pp-lime); }
.mem-table thead th:first-child { width: 24%; }
.mem-table--activity thead tr:last-child th:first-child { width: 28%; }
.mem-table thead th em { display: inline-block; margin-top: 6px; font-size: 13px; font-weight: 400; }
.mem-table tbody th { background: transparent; color: var(--pp-ink); }
.mem-table__note { display: block; margin-top: 4px; font-size: 13px; font-weight: 500; color: var(--pp-olive); }
.mem-table tbody tr:nth-child(even) { background: rgba(215,237,28,.08); }

.mem-table .mem-table__allclub { background: var(--pp-lime); color: var(--pp-ink); font-size: 23px; }
.mem-table .mem-table__monthly th { background: var(--pp-olive); color: var(--pp-white); border-bottom-width: 1px; }

/* Phone club picker: shows one club column at a time (see memberships.html.erb). */
.mem-picker { display: none; }
@media (max-width: 767px) {
  .mem-picker:not([hidden]) {
    display: flex; gap: 4px; margin: 0 0 18px; padding: 4px;
    border: 1.5px solid var(--pp-olive); border-radius: 99px;
  }
  .mem-picker button {
    flex: 1 1 0; min-width: 0; padding: 9px 4px; border: 0; border-radius: 99px;
    background: transparent; color: var(--pp-olive);
    font: 600 14px/1.2 var(--pp-sans); white-space: nowrap; cursor: pointer; -webkit-tap-highlight-color: transparent;
  }
  .mem-picker button[aria-pressed="true"] { background: var(--pp-olive); color: var(--pp-white); }
  .mem-table[data-show] table { min-width: 0; table-layout: auto; }
  .mem-table[data-show] :is(th, td) { padding: 14px 10px; font-size: 15px; }
  .mem-table[data-show] td[data-club] { white-space: nowrap; }
  .mem-table[data-show] .mem-table__allclub { font-size: 19px; }
  .mem-table[data-show="logan"] table [data-club]:not([data-club="logan"]),
  .mem-table[data-show="goose"] table [data-club]:not([data-club="goose"]),
  .mem-table[data-show="northbrook"] table [data-club]:not([data-club="northbrook"]),
  .mem-table[data-show="all"] table [data-club]:not([data-club="all"]) { display: none; }
}

.mem-tax { margin: 26px 0 0; text-align: center; color: var(--pp-olive); font-size: 15px; font-weight: 500; letter-spacing: .02em; }

/* ---------- Collapsible price sections (<details class="mem-fold">) ---------- */
.mem-fold { border-top: 1px solid #61724e55; }
.mem-fold:last-of-type { border-bottom: 1px solid #61724e55; }
.mem-fold > summary {
  display: flex; align-items: center; justify-content: center; gap: 18px;
  padding: 30px 0; list-style: none; cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.mem-fold > summary::-webkit-details-marker { display: none; }
.mem-fold > summary .mem-title { margin: 0; }
.mem-fold > summary::after {
  content: ""; flex: 0 0 auto; width: 14px; height: 14px; margin-top: -8px;
  border-right: 3px solid var(--pp-olive); border-bottom: 3px solid var(--pp-olive);
  transform: rotate(45deg); transition: transform .2s ease, margin .2s ease;
}
.mem-fold[open] > summary::after { transform: rotate(-135deg); margin-top: 8px; }
.mem-fold > summary:hover .mem-title { opacity: .85; }
.mem-fold > summary:focus-visible { outline: 2px solid var(--pp-olive); outline-offset: 4px; border-radius: 8px; }
.mem-fold[open] { padding-bottom: 40px; }
.mem-fold > summary + * { margin-top: 10px; }
.mem-fold .mem-tax { margin-top: 18px; }

/* The Pricing dropdown in the page header, and the Memberships heading after it */
.mp .mp-pricing { margin: 28px 0 0; padding: 0 22px; border: 1.5px solid #61724e40; border-radius: 20px; background: var(--pp-white); }
.mp .mp-pricing > summary { justify-content: space-between; gap: 14px; padding: 18px 0; }
.mp-pricing > summary h2 { margin: 0; font-size: 28px; font-weight: 700; letter-spacing: -.01em; color: var(--pp-ink); }
@media (max-width: 560px) { .mp .mp-pricing { padding: 0 16px; } .mp-pricing > summary h2 { font-size: 24px; } }
.mp-pricing > summary:hover h2 { color: var(--pp-olive); }
.mp .mp-pricing[open] { padding-bottom: 22px; }
.mp-pricing .mem-tax { text-align: left; }
.mp-subhead { margin: 48px 0 0; font-size: clamp(28px, 3vw, 38px); font-weight: 600; letter-spacing: -.02em; color: var(--pp-ink); }
@media (max-width: 767px) {
  .mem-fold > summary { gap: 12px; padding: 24px 0; }
  .mem-fold > summary .mem-title { font-size: clamp(24px, 7.4vw, 42px); }
  .mem-fold > summary::after { width: 11px; height: 11px; border-width: 0 2.5px 2.5px 0; }
}

/* ---------- Membership calculator (_membership_calculator.html.erb) ---------- */
.calc { margin: 0 0 24px; color: var(--pp-ink); }
.calc .mem-title { margin: 0 0 14px; } /* the body's top padding already spaces it from the plans */
.calc-intro { text-align: center; font-size: 19px; margin: 0 0 36px; }
.calc-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(16px, 2vw, 28px); align-items: start; }
.calc-inputs { background: #f5f5ef; border-radius: 18px; padding: clamp(18px, 2.3vw, 30px); }
.calc-field { border: 0; margin: 0 0 22px; padding: 0; min-width: 0; }
.calc-field:last-child { margin-bottom: 0; }
.calc-field legend { padding: 0; margin: 0 0 10px; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }

.calc-seg { display: flex; gap: 4px; padding: 4px; border: 1.5px solid var(--pp-olive); border-radius: 99px; background: var(--pp-white); }
.calc-seg label { flex: 1 1 0; min-width: 0; position: relative; cursor: pointer; }
.calc-seg input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.calc-seg label > span {
  display: block; padding: 9px 6px; border-radius: 99px; text-align: center;
  font-size: 15px; font-weight: 600; line-height: 1.2; color: var(--pp-olive); white-space: nowrap;
  transition: background-color .15s, color .15s;
}
.calc-seg input:checked + span { background: var(--pp-olive); color: var(--pp-white); }
.calc-seg input:focus-visible + span { outline: 2px solid var(--pp-ink); outline-offset: 2px; }
.calc-seg { position: relative; }
/* Promo badge: sits on the Yearly button only (it lives inside that label). */
.calc-promo {
  position: absolute; top: 0; left: 50%; transform: translate(-50%, -72%);
  display: grid; justify-items: center; width: max-content; max-width: calc(100% + 8px);
  padding: 3px 10px; border-radius: 10px; background: var(--pp-lime); color: var(--pp-ink);
  font-size: 11px; font-weight: 700; line-height: 1.2; letter-spacing: .02em; white-space: nowrap; pointer-events: none;
  box-shadow: 0 2px 6px rgba(23,24,26,.18);
}
.calc-promo b { font-weight: 700; }
.calc-promo i { font-style: normal; font-size: 9px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; }
.calc-promo[hidden] { display: none; }

.calc-slider { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 4px 12px; padding: 12px 0; border-top: 1px solid #61724e33; }
.calc-slider label { font-size: 17px; font-weight: 500; }
.calc-slider output { min-width: 2ch; text-align: right; font-size: 24px; font-weight: 600; color: var(--pp-olive); font-variant-numeric: tabular-nums; }
.calc-slider input { grid-column: 1 / -1; width: 100%; margin: 4px 0 0; accent-color: var(--pp-olive); cursor: pointer; }

.calc-results {
  position: sticky; top: 20px;
  background: var(--pp-ink); color: var(--pp-white); border-radius: 18px; padding: clamp(22px, 2.6vw, 34px);
}
.calc-results__label { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--pp-lime); }
.calc-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 14px; }
.calc-compare__col {
  display: flex; flex-direction: column; gap: 4px; min-width: 0;
  padding: 16px; border: 1.5px solid #ffffff33; border-radius: 14px;
  transition: border-color .2s, background-color .2s;
}
.calc-compare__col span { font-size: 14px; font-weight: 600; }
.calc-compare__col b { font-size: clamp(30px, 3.2vw, 40px); font-weight: 600; line-height: 1.1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.calc-compare__col small { font-size: 12px; line-height: 1.35; color: #ffffffa6; }
.calc-compare__col.is-best { border-color: var(--pp-lime); background: #d7ed1c14; }
.calc-compare__col.is-best b { color: var(--pp-lime); }
.calc-verdict { margin-top: 18px; font-size: clamp(22px, 2.2vw, 28px); font-weight: 600; line-height: 1.2; letter-spacing: -.02em; }
.calc-breakdown-title { margin-top: 24px; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #ffffffa6; }
.calc--member-wins .calc-verdict { color: var(--pp-lime); }
.calc-verdict-sub { margin-top: 8px; font-size: 16px; color: #ffffffcc; }
.calc-lines { margin: 8px 0 0; }
.calc-lines > div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 11px 0; border-top: 1px solid #ffffff26; }
.calc-lines dt { font-size: 16px; }
.calc-lines dt small { display: block; margin-top: 2px; font-size: 13px; color: #ffffffa6; }
.calc-lines dt small:empty { display: none; }
.calc-lines dd { margin: 0; font-size: 18px; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.calc-lines > .calc-lines__total { border-top: 2px solid var(--pp-lime); }
.calc-lines > div[hidden] { display: none; }
.calc-lines__total dt, .calc-lines__total dd { font-size: 19px; font-weight: 700; }
.calc-note { margin-top: 14px; font-size: 15px; line-height: 1.45; color: #ffffffd9; }
.calc-note:empty { display: none; }
.calc-buy { display: flex; justify-content: center; gap: 10px; width: 100%; margin-top: 22px; font-size: 18px; text-align: center; white-space: normal; }
.calc-buy:hover { background: var(--pp-white); color: var(--pp-ink); }
.calc-check { display: flex; align-items: center; gap: 10px; margin-top: 12px; font-size: 15px; cursor: pointer; }
.calc-check[hidden] { display: none; }
.calc-check input { width: 18px; height: 18px; margin: 0; accent-color: var(--pp-olive); }
.calc-fine { margin-top: 18px; font-size: 12px; line-height: 1.5; color: #ffffff8c; }

@media (max-width: 900px) {
  .calc-grid { grid-template-columns: 1fr; }
  .calc-results { position: static; }
}

/* Phones: floating "Calculate" button and the results bottom sheet (script in the partial) */
.calc-fab, .calc-sheet-close, .calc-backdrop { display: none; }
@media (max-width: 900px) {
  .calc-fab:not([hidden]) {
    position: fixed; left: 50%; bottom: calc(18px + env(safe-area-inset-bottom)); z-index: 70; transform: translateX(-50%);
    display: inline-flex; align-items: center; gap: 10px; padding: 14px 30px; border: 0; border-radius: 99px;
    background: var(--pp-lime); color: var(--pp-ink); font: inherit; font-size: 18px; font-weight: 700; cursor: pointer;
    box-shadow: 0 10px 28px rgba(15, 16, 17, .3); animation: calc-fab-in .2s ease;
  }
  .calc-fab-on .site-chat { display: none; }
  .calc-backdrop:not([hidden]) { display: block; position: fixed; inset: 0; z-index: 80; background: rgba(15, 16, 17, .55); }
  .calc-results.is-sheet {
    position: fixed; top: auto; left: 0; right: 0; bottom: 0; z-index: 90; max-height: 86vh; overflow-y: auto; overscroll-behavior: contain;
    border-radius: 22px 22px 0 0; padding-top: 46px; padding-bottom: calc(24px + env(safe-area-inset-bottom));
    box-shadow: 0 -12px 40px rgba(15, 16, 17, .35); animation: calc-sheet-in .25s ease;
  }
  .calc-results.is-sheet::before { content: ""; position: absolute; top: 12px; left: 50%; width: 40px; height: 4px; margin-left: -20px; border-radius: 4px; background: #ffffff40; }
  .calc-results.is-sheet .calc-sheet-close {
    display: grid; place-items: center; position: absolute; top: 10px; right: 12px; width: 36px; height: 36px;
    border: 0; border-radius: 50%; background: #ffffff1f; color: var(--pp-white); font-size: 24px; line-height: 1; cursor: pointer;
  }
  .calc-sheet-open { overflow: hidden; }
}
@keyframes calc-fab-in { from { opacity: 0; transform: translate(-50%, 14px); } }
@keyframes calc-sheet-in { from { transform: translateY(100%); } }
@media (prefers-reduced-motion: reduce) { .calc-fab:not([hidden]), .calc-results.is-sheet { animation: none; } }
@media (max-width: 480px) {
  .calc-seg label > span { font-size: 13px; padding: 9px 2px; }
  .calc-promo { padding: 2px 8px; font-size: 10px; letter-spacing: 0; }
  .calc-intro { font-size: 17px; margin-bottom: 24px; }
}

@media (max-width: 767px) {
  .mem-body { width: calc(100% - 32px); padding: 40px 0; }
  .mem-title { margin: 52px 0 28px; font-size: clamp(32px, 8vw, 42px); line-height: 1.1; }
  .mem-table th, .mem-table td { padding: 16px 14px; }
  .mem-table th, .mem-table thead th { font-size: 16px; }
  .mem-table td { font-size: 15px; }
  .mem-table .mem-table__allclub { font-size: 20px; }
}

@media (max-width: 700px) {
  .lsm .lsm-pair, .lsm .lsm-perks, .lsm .lsm-list { grid-template-columns: 1fr; }
  .lsm .lsm-pair { gap: 22px; }
  .lsm .lsm-stat { min-height: 60px; }
  .lsm .lsm-perks { gap: 14px; }
  .lsm .lsm-list { gap: 0; }
}
