:root {
  --qf-ink: #191c1d;
  --qf-muted: #4e5655;
  --qf-surface: #f7f7f4;
  --qf-accent: #e0f36b;
  --qf-border: #d8dcd5;
  --qf-type: Inter, system-ui, sans-serif;
}
.qf-chrome, body.qf-modern, body.qf-modern button, body.qf-modern input,
body.qf-modern textarea, body.qf-modern select { font-family: var(--qf-type) !important; }
body.qf-modern { background: var(--qf-surface) !important; color: var(--qf-ink); }
.qf-chrome, .qf-chrome * { box-sizing: border-box; }
.qf-site-header { background: white; color: var(--qf-ink); }
.qf-site-shell { width: min(92%,1280px); margin-inline: auto; }
.qf-site-nav { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .75rem 1.4rem; min-height: 88px; padding-block: .65rem; }
.qf-site-brand { display: inline-flex; align-items: center; gap: .6rem; font-weight: 900; letter-spacing: .08em; white-space: nowrap; }
.qf-site-brand img { width: 46px; height: 56px; object-fit: contain; }
.qf-site-links, .qf-site-portals, .qf-site-footer-links { display: flex; align-items: center; flex-wrap: wrap; gap: .65rem 1rem; }
.qf-site-header a { color: var(--qf-ink); text-decoration: none; }
.qf-site-links a { font-size: .94rem; font-weight: 650; }
.qf-site-links a:hover, .qf-site-links a[aria-current="page"] { text-decoration: underline; text-underline-offset: .23em; }
.qf-site-portals { gap: .5rem; }
.qf-site-portals a {
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px;
  padding: .55rem .7rem; border: 1px solid #c8cec4; border-radius: .3rem;
  background: white; font-size: .875rem; line-height: 1.2; font-weight: 780;
}
.qf-site-portals a:hover { background: #edf0e9; }
.qf-site-footer {
  background: var(--qf-ink) !important; color: white !important; padding: 2.5rem 0 !important;
}
.qf-site-footer-row { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1.25rem 2rem; }
.qf-site-footer p { margin: .35rem 0 0; }
.qf-site-footer a { color: white !important; text-underline-offset: .22em; }
.qf-site-footer-links { align-content: start; }
.qf-site-skip { position: absolute; z-index: 9999; top: 0; left: 1rem; background: white; color: var(--qf-ink); padding: .65rem; transform: translateY(-130%); }
.qf-site-skip:focus { transform: none; }
.qf-chrome a:focus-visible, .qf-site-skip:focus-visible { outline: 3px solid #3865cb; outline-offset: 4px; }
body.qf-modern h1, body.qf-modern h2, body.qf-modern h3 { font-family: var(--qf-type) !important; }
body.qf-modern h1, body.qf-modern h2 { letter-spacing: -.045em !important; }
body.qf-modern .text-primary-blue { color: var(--qf-ink) !important; }
body.qf-modern .bg-primary-blue { background-color: var(--qf-ink) !important; }
body.qf-modern .card { border: 1px solid var(--qf-border); border-radius: .4rem; }
body.qf-modern :is(a,button):is(.btn-cta-large,.btn-primary-green,.bg-primary-green,.merch-order-btn,.qf-rate-join),
body.qf-modern :is(a,button)[class~="bg-gradient-to-r"][class*="green"] {
  background: var(--qf-accent) !important; color: var(--qf-ink) !important;
  text-shadow: none !important; border-radius: .3rem !important; box-shadow: none !important;
}
body.qf-modern :is(a,button):is(.btn-cta-large,.btn-primary-green,.bg-primary-green,.merch-order-btn,.qf-rate-join):hover { background: #cbe450 !important; }
body.qf-modern .merch-page { background: var(--qf-surface); min-height: 0; }
body.qf-modern .merch-card { display: flex; flex-direction: column; align-items: center; border: 1px solid var(--qf-border); border-radius: .4rem; box-shadow: none; }
body.qf-modern .merch-card img { height: auto; aspect-ratio: 1; object-fit: contain; }
body.qf-modern .merch-card h3, body.qf-modern .merch-price { color: var(--qf-ink); }
body.qf-modern .merch-order-btn { margin-top: auto; }
.qf-merch-title { padding-top: clamp(2.5rem,6vw,5rem); }
.qf-merch-title h1 { margin: 0; color: var(--qf-ink); font-size: clamp(2.5rem,6vw,5rem); line-height: 1.06; font-weight: 900; }
.qf-membership-rates { padding-block: clamp(2.5rem,6vw,5rem); }
.qf-membership-rates .section-heading { margin-bottom: 1.5rem; }
.qf-membership-rates .section-heading h1 { margin: 0; font-size: clamp(2.5rem,6vw,5rem); line-height: 1.06; font-weight: 900; }
.qf-membership-rates .section-heading p { max-width: 46ch; margin: .75rem 0 0; color: var(--qf-muted); }
.qf-membership-rates .plans { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: .8rem; }
.qf-membership-rates .plans article { background: white; border: 1px solid var(--qf-border); border-radius: .4rem; padding: 1.15rem; }
.qf-membership-rates .price { font-size: 2rem; font-weight: 850; margin: .4rem 0; }
.qf-membership-rates .price small { font-size: .9rem; }
.qf-membership-rates ul { margin: .65rem 0 0; padding-left: 1.15rem; list-style: disc; color: var(--qf-muted); }
.qf-membership-rates li + li { margin-top: .42rem; }
.qf-membership-rates .pricing-details { display: grid; grid-template-columns: 1fr 1fr; gap: 1.8rem; margin: 2rem 0; }
.qf-membership-rates table { width: 100%; border-collapse: collapse; margin-top: .6rem; }
.qf-membership-rates th, .qf-membership-rates td { text-align: left; border-bottom: 1px solid var(--qf-border); padding: .5rem .35rem; }
.qf-rate-join { display: inline-flex; min-height: 44px; align-items: center; padding: .65rem 1rem; text-decoration: none; font-weight: 800; }
@media (max-width: 980px) { .qf-site-links { order: 3; width: 100%; } .qf-membership-rates .plans { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 620px) { .qf-site-nav { gap: .6rem; } .qf-site-links { gap: .4rem .8rem; } .qf-site-brand img { width: 35px; height: 43px; } .qf-membership-rates .pricing-details { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .qf-membership-rates .plans { grid-template-columns: 1fr; } }
body.qf-modern.page-the-gym .hero-section {
  background: linear-gradient(90deg, #101310e8, #10131065), url("qfitness-assets/strength.webp") center/cover !important;
}
body.qf-modern.page-the-gym .hero-section::before { background: transparent !important; }
body.qf-modern :is(.hero-section,.pt-training-hero) h1 { font-size: clamp(2.5rem,6.5vw,5.4rem) !important; line-height: 1.05 !important; }
body.qf-modern :is(.hero-section,.pt-training-hero) a[href$="/contact.html"] {
  background: var(--qf-accent) !important; color: var(--qf-ink) !important; border-color: transparent !important; border-radius: .3rem !important;
}
.qf-site-header .qf-site-links { background: transparent; border: 0; }
body.qf-modern.scheme-ocean #main .section:not(.bg-primary-blue),
body.qf-modern.scheme-ocean #main .section:not(.bg-primary-blue):nth-child(even) {
  background: var(--qf-surface) !important; border: 0 !important; box-shadow: none !important;
}
body.qf-modern.scheme-ocean #main .section.bg-primary-blue {
  background: var(--qf-ink) !important; border: 0 !important;
}
body.qf-modern.scheme-ocean #main .section::before { content: none !important; }
body.qf-modern.scheme-ocean #main .card,
body.qf-modern.scheme-ocean #main .card:hover {
  background: white !important; border: 1px solid var(--qf-border) !important;
  box-shadow: none !important; transform: none !important;
}
body.qf-modern #main .section :is(h1,h2,h3,h4,h5,h6) {
  background: none !important; -webkit-text-fill-color: currentColor !important; text-shadow: none !important;
}
body.qf-modern #main .section:not(.bg-primary-blue) :is(h1,h2,h3,h4,h5,h6):not(.text-white) { color: var(--qf-ink) !important; }
body.qf-modern #main .section.bg-primary-blue :is(h2,p):not(.card *) { color: white !important; }

.qf-faq-banner {
  background: #191c1d;
  color: #fff;
  padding: clamp(3rem, 7vw, 6rem) 1rem;
  text-align: center;
}
.qf-faq-banner h1 {
  font-size: clamp(2.25rem, 6vw, 5rem) !important;
  line-height: 1.08 !important;
  text-shadow: none !important;
}
.qf-faq-banner p { color: #fff !important; text-shadow: none !important; }

.qf-plan-heading {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: .25rem .4rem;
}
.qf-plan-heading h3 { margin: 0; }
.qf-popular-badge {
  margin-inline-start: auto;
  padding: .2rem .45rem;
  border-radius: 999px;
  background: #dff36d;
  color: #203a16;
  font-size: .75rem;
  font-weight: 800;
  line-height: 1.3;
  white-space: nowrap;
}
.qf-elite-crown { flex: none; margin-inline-start: auto; }
