/* ==========================================================================
   Bright Book Publishers — mobile-first refinements (loaded last)
   ========================================================================== */
html { -webkit-text-size-adjust: 100%; }
html, body { overflow-x: clip; }

/* Tablet & phone: header without backdrop-filter so the fixed menu drawer
   is positioned against the viewport (prevents sideways scrolling). */
@media (max-width: 1024px) {
	.bbp-header { backdrop-filter: none !important; -webkit-backdrop-filter: none !important; background: #fff !important; }
	.bbp-nav { visibility: hidden; transition: transform .28s var(--bbp-ease), visibility 0s linear .28s; }
	.bbp-nav.is-open { visibility: visible; transition: transform .28s var(--bbp-ease), visibility 0s; box-shadow: 0 30px 60px rgba(6,21,51,.18); }
	.bbp-nav .bbp-nav__cta { display: flex !important; width: 100%; justify-content: center; min-height: 52px; }
	.bbp-menu > li > a { min-height: 52px; display: flex; align-items: center; }
	.bbp-menu .sub-menu a { padding: 12px 8px; min-height: 44px; display: flex; align-items: center; }
}

@media (max-width: 767px) {
	/* --- Chrome --------------------------------------------------------- */
	.bbp-topbar { display: none; }
	.bbp-header__inner { min-height: 64px; gap: 12px; }
	.bbp-logo img, .bbp-header.is-stuck .bbp-logo img { height: 48px; }
	.bbp-burger { padding: 12px 6px 12px 12px; }
	.bbp-mbar { padding-bottom: env(safe-area-inset-bottom); background: var(--bbp-navy); }
	.bbp-mbar a { min-height: 54px; display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 15.5px; }
	.bbp-footer { padding-bottom: calc(60px + env(safe-area-inset-bottom)); }

	/* --- Rhythm --------------------------------------------------------- */
	body .e-con.bbp-sec { --padding-top: 60px; --padding-bottom: 60px; --padding-left: 18px; --padding-right: 18px; }
	body .e-con.bbp-sec > .e-con-inner { gap: 30px; }
	body .e-con.bbp-hero { --padding-top: 40px; --padding-bottom: 56px; }
	body .e-con.bbp-hero--3d { --padding-bottom: 120px; }
	body .e-con.bbp-hero--page { --padding-top: 44px; --padding-bottom: 52px; }
	body .e-con.bbp-cta-sec { --padding-bottom: 60px; }
	body .e-con.bbp-news-sec { --padding-top: 48px; --padding-bottom: 56px; }
	body .e-con.bbp-stores-sec { --padding-top: 36px; --padding-bottom: 36px; }
	.bbp-qbar-sec + .bbp-stores-sec { --padding-top: 44px !important; }
	body .bbp-h1 .elementor-heading-title { font-size: 2.35rem; line-height: 1.08; }
	body .bbp-h2 .elementor-heading-title { font-size: 1.85rem; line-height: 1.16; }
	body .bbp-lead.elementor-widget-text-editor, .bbp-lead { font-size: 1.06rem; }
	body .bbp-sub.elementor-widget-text-editor, .bbp-sub { font-size: 1rem; }
	.bbp-head { gap: 12px !important; }
	.bbp-hero__grid, .bbp-split, .bbp-faq__grid, .bbp-contact, .bbp-cta { gap: 32px !important; }
	.bbp-hero__grid > .bbp-hero__text { gap: 20px !important; }

	/* --- Tap targets ---------------------------------------------------- */
	body .bbp-btn-link .elementor-button { padding: 12px 0 6px; min-height: 44px; }
	body .elementor-widget-button .elementor-button { min-height: 52px; }
	.bbp-footer ul a { display: inline-block; padding: 6px 0; }
	.bbp-crumb a { padding: 8px 0; }

	/* --- Swipe carousels ------------------------------------------------- */
	body .bbp-services .bbp-grid,
	body .bbp-aud-grid.bbp-grid,
	body .bbp-reviews-sec .bbp-grid,
	body .bbp-why-grid.bbp-grid,
	body .bbp-values .bbp-grid,
	body .bbp-steps,
	body .bbp-plans.bbp-grid,
	body .bbp-shelf {
		display: flex !important; flex-direction: row !important; flex-wrap: nowrap !important;
		overflow-x: auto; overflow-y: visible; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain;
		gap: 14px !important; width: calc(100% + 36px) !important; max-width: none !important; margin: 0 -18px !important;
		padding: 8px 18px 22px !important; scroll-padding: 0 18px; scrollbar-width: none; perspective: none;
	}
	body .bbp-services .bbp-grid::-webkit-scrollbar, body .bbp-aud-grid::-webkit-scrollbar, body .bbp-reviews-sec .bbp-grid::-webkit-scrollbar,
	body .bbp-why-grid::-webkit-scrollbar, body .bbp-values .bbp-grid::-webkit-scrollbar, body .bbp-steps::-webkit-scrollbar,
	body .bbp-plans::-webkit-scrollbar, body .bbp-shelf::-webkit-scrollbar { display: none; }
	body .bbp-services .bbp-grid > *, body .bbp-aud-grid > *, body .bbp-reviews-sec .bbp-grid > *, body .bbp-plans > *, body .bbp-steps > * { flex: 0 0 84% !important; width: 84% !important; scroll-snap-align: center; }
	body .bbp-why-grid > *, body .bbp-values .bbp-grid > * { flex: 0 0 72% !important; width: 72% !important; scroll-snap-align: start; }
	body .bbp-shelf > * { flex: 0 0 42% !important; width: 42% !important; max-width: none !important; scroll-snap-align: start; }
	/* no entrance animation inside carousels (cards would wait off-screen) */
	.bbp-anim .bbp-services .bbp-grid > .bbp-rv, .bbp-anim .bbp-aud-grid > .bbp-rv, .bbp-anim .bbp-reviews-sec .bbp-grid > .bbp-rv, .bbp-anim .bbp-why-grid > .bbp-rv,
	.bbp-anim .bbp-values .bbp-grid > .bbp-rv, .bbp-anim .bbp-steps > .bbp-rv, .bbp-anim .bbp-plans > .bbp-rv, .bbp-anim .bbp-shelf > .bbp-rv { opacity: 1; translate: none; rotate: none; }
	/* plans */
	body .bbp-plans.bbp-grid { padding-top: 26px !important; align-items: stretch; }
	.bbp-plan--pop { margin-top: 0; }
	.bbp-plan { padding: 30px 22px !important; }
	/* steps */
	.bbp-steps > .bbp-step { padding: 24px 22px !important; border-bottom: 1px solid rgba(255,255,255,.1) !important; border-left: 1px solid rgba(255,255,255,.1) !important; }
	.bbp-step__n { font-size: 2.4rem; }
	/* services cards */
	body .bbp-svc3__img img { aspect-ratio: 16 / 9; }
	.bbp-svc3__body { padding: 0 20px 20px !important; }
	/* audience cards */
	body .e-con.bbp-aud { min-height: 380px; }
	/* covers */
	body .bbp-cover3d, body .bbp-cover3d.bbp-tilt { transform: none !important; }
	body .bbp-cover3d img { box-shadow: 4px 4px 0 -1px #fff, 5px 5px 0 -1px #d7dce6, 14px 18px 24px rgba(6,21,51,.22); }
	/* swipe dots (added by JS) */
	.bbp-dots { display: flex; justify-content: center; gap: 7px; margin-top: -6px; }
	.bbp-dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 99px; background: rgba(10,42,94,.22); transition: width .25s, background-color .25s; cursor: pointer; }
	.bbp-dots button.is-on { width: 22px; background: var(--bbp-gold); }
	.bbp-dark .bbp-dots button, .bbp-reviews-sec--glass .bbp-dots button { background: rgba(255,255,255,.3); }
	.bbp-dark .bbp-dots button.is-on, .bbp-reviews-sec--glass .bbp-dots button.is-on { background: var(--bbp-gold); }
	.bbp-dots-wrap { position: relative; z-index: 1; }

	/* Services page: compact list instead of tall cards */
	body .bbp-services--page .bbp-grid { display: grid !important; flex-direction: column !important; overflow: visible; width: 100% !important; margin: 0 !important; padding: 0 !important; gap: 12px !important; }
	body .bbp-services--page .bbp-grid > * { width: auto !important; flex: none !important; }
	body .bbp-services--page .bbp-svc3 { flex-direction: row !important; align-items: stretch !important; border-radius: 16px; }
	body .bbp-services--page .bbp-svc3__img { flex: 0 0 104px !important; width: 104px !important; }
	body .bbp-services--page .bbp-svc3__img img { aspect-ratio: auto; height: 100%; min-height: 150px; }
	body .bbp-services--page .bbp-svc3__body { padding: 14px 14px 10px !important; gap: 4px !important; }
	body .bbp-services--page .bbp-svc3__icon { display: none; }
	body .bbp-services--page .bbp-h3 .elementor-heading-title { font-size: 1.08rem; }
	body .bbp-services--page .bbp-svc3__d.elementor-widget-text-editor { font-size: .9rem; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
	body .bbp-services--page .bbp-btn-link .elementor-button { padding: 8px 0 2px; min-height: 36px; font-size: .9rem; }

	/* --- Section specifics ---------------------------------------------- */
	.bbp-pains { gap: 10px; }
	.bbp-pains li { padding: 14px 16px; }
	.bbp-pains strong { font-size: 1rem; }
	.bbp-pains span { font-size: 14px; }
	.bbp-faq__img, body .bbp-faq__intro > .elementor-widget-image { display: none !important; }
	.bbp-faq__item summary { padding: 18px 50px 18px 18px; font-size: 1.05rem; }
	.bbp-faq__item summary::after { right: 16px; width: 18px; height: 18px; margin-top: -9px; }
	.bbp-faq__item div { padding: 0 18px 18px; font-size: .97rem; }
	.bbp-genres-sec .bbp-split > .elementor-widget-html, .bbp-genres { width: 100% !important; }
	.bbp-genres { gap: 8px; }
	.bbp-genres li { padding: 9px 14px; font-size: 14.5px; gap: 7px; }
	.bbp-genres-sec .bbp-genres__intro > .elementor-widget-button { width: 100% !important; }
	body .bbp-genres-sec .bbp-genres__intro .elementor-button { width: 100%; }
	.bbp-agenda { grid-template-columns: repeat(3, 1fr); gap: 8px; }
	.bbp-agenda li { padding: 12px 10px; }
	.bbp-agenda strong { font-size: .95rem; }
	.bbp-agenda span { font-size: 12.5px; }
	.bbp-checks--grid .elementor-icon-list-items { gap: 10px !important; }
	body .bbp-img--tall img { aspect-ratio: 4 / 3.4; }
	.bbp-split__media::before, .bbp-split--rev .bbp-split__media::before { display: none; }
	body .bbp-split__media > .elementor-widget-html { margin: -36px 0 0 12px !important; }
	.bbp-float-card { padding: 12px 16px; max-width: 250px; }
	.bbp-stats--glass .bbp-stat strong { font-size: 2.1rem; }
	.bbp-stats--glass .bbp-stat span { font-size: 13.5px; }
	.bbp-quote-card { padding: 22px 18px 18px !important; }
	body .bbp-quote-card .elementor-heading-title { font-size: 1.4rem !important; }
	.bbp-form textarea { min-height: 84px; }
	.bbp-qbar__head { gap: 12px !important; }
	.bbp-qbar__ic { width: 42px; height: 42px; }
	body .bbp-qbar__t .elementor-heading-title { font-size: 1.25rem !important; }
	.bbp-cta { padding: 30px 20px !important; }
	body .bbp-cta__img { display: none; }
	.bbp-quiz { padding: 24px 18px; border-radius: 20px; }
	.bbp-quiz__opts button { padding: 14px 16px; min-height: 52px; }
	.bbp-news__ic { width: 48px; height: 48px; border-radius: 14px; }
	.bbp-cinfo__row { padding: 12px; }
	.bbp-contact__aside { gap: 18px !important; }
	body .bbp-contact__img { display: none; }
	.bbp-next { gap: 14px; }
	.bbp-scene { margin-top: -10px; }
	.bbp-proof { gap: 12px; }

	/* Footer: 2 columns for link lists */
	.bbp-footer__grid { grid-template-columns: 1fr 1fr; gap: 30px 18px; padding-top: 52px; padding-bottom: 36px; }
	.bbp-footer__brand, .bbp-footer__grid > div:last-child { grid-column: 1 / -1; }
	.bbp-footer__brand img { height: 78px; }
	.bbp-footer h3 { margin-bottom: 10px; }
	.bbp-footer ul { gap: 2px; }
	.bbp-footer { font-size: 15px; }
	.bbp-footer__bottom .bbp-wrap { flex-direction: column; gap: 4px; text-align: center; }

	/* Popup */
	.bbp-modal { padding: 12px; align-items: flex-end; }
	.bbp-modal__box { max-height: calc(100vh - 24px); border-radius: 22px; }
	.bbp-modal__side { padding: 26px 22px 18px; gap: 8px; }
	.bbp-modal__side .bbp-star--lg { display: none; }
	.bbp-modal h2 { font-size: 1.3rem; }
	.bbp-modal__form { padding: 18px 20px 22px; }
	.bbp-modal__close { background: rgba(255,255,255,.15); color: #fff; }

	/* Lighter motion on phones */
	.bbp-anim .bbp-rv { translate: 0 24px; rotate: none; transition-duration: .6s; }
	.bbp-anim .bbp-split > .bbp-rv:first-child:not(.is-in), .bbp-anim .bbp-split > .bbp-rv:last-child:not(.is-in) { translate: 0 24px; }
}

@media (max-width: 380px) {
	body .bbp-h1 .elementor-heading-title { font-size: 2.1rem; }
	body .bbp-h2 .elementor-heading-title { font-size: 1.7rem; }
	.bbp-agenda { grid-template-columns: 1fr; }
	.bbp-mbar a { font-size: 14.5px; }
}

@media (max-width: 767px) {
	/* shorter Why-us and Formats on phones */
	.bbp-why-sec .bbp-split__media, .bbp-formats .bbp-split__media { display: none !important; }
	body .bbp-formats .bbp-grid--2 { grid-template-columns: 1fr 1fr !important; gap: 10px !important; }
	body .bbp-format { padding: 16px 14px !important; }
	body .bbp-format .elementor-icon-box-wrapper { gap: 10px !important; }
	body .bbp-format .elementor-icon { width: 40px !important; height: 40px !important; font-size: 16px !important; border-radius: 11px !important; }
	body .bbp-format .elementor-icon svg { width: 16px !important; height: 16px !important; }
	body .bbp-format .elementor-icon-box-title { font-size: 1.05rem !important; margin-bottom: 4px !important; }
	body .bbp-format .elementor-icon-box-description { font-size: .85rem !important; line-height: 1.45 !important; }
	body .bbp-why { padding: 20px 18px !important; }
	/* link buttons: compact underline */
	body .bbp-btn-link .elementor-button { min-height: 0; padding: 12px 0 4px; display: inline-block; }
}
@media (max-width: 1024px) {
	.bbp-split > .e-con, .bbp-split > .elementor-widget, .bbp-split__text, .bbp-split__text > *, .bbp-hero__grid > *, .bbp-faq__grid > *, .bbp-contact > * { min-width: 0 !important; max-width: 100%; }
}
@media (max-width: 1024px) {
	.bbp-contact > .bbp-contact__form { order: -1; }
}

/* v3.5 — mobile polish */
/* 1. Kicker on one line */
@media (max-width: 767px) {
	.bbp-kicker { white-space: nowrap; font-size: 13px; padding: 7px 14px 7px 12px; gap: 8px; max-width: 100%; }
	.bbp-hero__text > .elementor-widget-html:has(.bbp-kicker) { max-width: 100%; }
}
@media (max-width: 360px) { .bbp-kicker { font-size: 12px; padding: 6px 12px 6px 10px; } }

/* 2. No theme pink on tap/hover for our buttons */
.bbp-burger, .bbp-burger:hover, .bbp-burger:focus, .bbp-burger:active,
.bbp-modal__close:focus, .bbp-modal__close:active,
.bbp-dots button:hover, .bbp-dots button:focus, .bbp-dots button:active,
.bbp-quiz__restart, .bbp-quiz__restart:hover, .bbp-quiz__restart:focus, .bbp-quiz__restart:active {
	background-color: transparent !important; border-color: transparent !important; color: inherit; box-shadow: none !important;
}
.bbp-burger, .bbp-dots button, .bbp-quiz button, .bbp-modal__close, .bbp-mbar a { -webkit-tap-highlight-color: transparent; }
.bbp-burger { border: 0 !important; border-radius: 10px; }
.bbp-burger:focus:not(:focus-visible) { outline: none; }
.bbp-burger:focus-visible { outline: 3px solid var(--bbp-gold); outline-offset: 2px; }
.bbp-burger span { background: var(--bbp-navy) !important; }
.bbp-modal__close:hover { background: var(--bbp-gold) !important; color: var(--bbp-night) !important; }
.bbp-quiz__opts button:focus, .bbp-quiz__opts button:active { background: rgba(248,169,18,.16) !important; border-color: var(--bbp-gold) !important; color: #fff !important; }
.bbp-dots button { background-color: rgba(10,42,94,.22) !important; }
.bbp-dots button.is-on { background-color: var(--bbp-gold) !important; }
.bbp-dark .bbp-dots button:not(.is-on), .bbp-reviews-sec--glass .bbp-dots button:not(.is-on) { background-color: rgba(255,255,255,.3) !important; }

/* 3. Carousels: allow native swipe + mouse drag */
@media (max-width: 767px) {
	body .bbp-services .bbp-grid, body .bbp-aud-grid.bbp-grid, body .bbp-reviews-sec .bbp-grid, body .bbp-why-grid.bbp-grid,
	body .bbp-values .bbp-grid, body .bbp-steps, body .bbp-plans.bbp-grid, body .bbp-shelf { touch-action: pan-x pan-y; overflow-y: hidden; cursor: grab; }
	.bbp-dragging { cursor: grabbing !important; scroll-snap-type: none !important; user-select: none; }
	.bbp-dragging * { pointer-events: none; }
	.bbp-services .bbp-grid img, .bbp-shelf img, .bbp-plans img { -webkit-user-drag: none; user-select: none; }
}

/* 4. Space between image card and text (strategy call, kids, familiar) */
@media (max-width: 1024px) {
	.bbp-split__media { margin-bottom: 14px; }
	.bbp-split > .bbp-split__text { padding-top: 6px !important; }
}

/* v3.6 — JS-driven carousels */
@media (max-width: 767px) {
	body .bbp-track { touch-action: pan-y pinch-zoom !important; overflow-x: hidden !important; overflow-y: hidden !important; position: relative; scroll-snap-type: none !important; cursor: grab; -webkit-user-select: none; user-select: none; }
	body .bbp-track > * { scroll-snap-align: none !important; }
	body .bbp-track a, body .bbp-track button { -webkit-user-select: none; user-select: none; }
	.bbp-dragging { cursor: grabbing !important; }
	.bbp-dragging * { pointer-events: auto; }
	.bbp-dots { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: -4px; }
	.bbp-dots__list { display: flex; gap: 7px; align-items: center; }
	.bbp-dots .bbp-dot { width: 8px; height: 8px; min-height: 0; padding: 0; border: 0; border-radius: 99px; background-color: rgba(10,42,94,.22) !important; transition: width .25s, background-color .25s; cursor: pointer; }
	.bbp-dots .bbp-dot.is-on { width: 22px; background-color: var(--bbp-gold) !important; }
	.bbp-arrow { width: 40px; height: 40px; min-height: 0; padding: 0 0 3px; border-radius: 50% !important; border: 1px solid var(--bbp-line) !important; background: #fff !important; color: var(--bbp-navy) !important; font-size: 26px; line-height: 1; display: inline-flex; align-items: center; justify-content: center; box-shadow: var(--bbp-shadow-sm); cursor: pointer; -webkit-tap-highlight-color: transparent; }
	.bbp-arrow:hover, .bbp-arrow:focus, .bbp-arrow:active { background: var(--bbp-gold) !important; color: var(--bbp-night) !important; border-color: var(--bbp-gold) !important; }
	.bbp-arrow:disabled { opacity: .35; pointer-events: none; }
	.bbp-dark .bbp-arrow, .bbp-reviews-sec--glass .bbp-arrow { background: rgba(255,255,255,.1) !important; border-color: rgba(255,255,255,.25) !important; color: #fff !important; }
	.bbp-dark .bbp-dots .bbp-dot:not(.is-on), .bbp-reviews-sec--glass .bbp-dots .bbp-dot:not(.is-on) { background-color: rgba(255,255,255,.3) !important; }
}
@media (max-width: 767px) {
	.bbp-dots button.bbp-arrow { width: 40px !important; height: 40px !important; padding: 0 0 3px !important; border-radius: 50% !important; border: 1px solid var(--bbp-line) !important; background-color: #fff !important; color: var(--bbp-navy) !important; font-size: 26px; transition: background-color .2s, color .2s; }
	.bbp-dots button.bbp-arrow:hover, .bbp-dots button.bbp-arrow:focus-visible, .bbp-dots button.bbp-arrow:active { background-color: var(--bbp-gold) !important; color: var(--bbp-night) !important; border-color: var(--bbp-gold) !important; }
	.bbp-dots button.bbp-arrow:focus:not(:focus-visible) { background-color: #fff !important; color: var(--bbp-navy) !important; }
	.bbp-dark .bbp-dots button.bbp-arrow, .bbp-reviews-sec--glass .bbp-dots button.bbp-arrow { background-color: rgba(255,255,255,.1) !important; border-color: rgba(255,255,255,.28) !important; color: #fff !important; }
	.bbp-dots button.bbp-arrow:disabled { opacity: .35; }
}

/* v3.7 — process steps stacked as a timeline on phones */
@media (max-width: 767px) {
	body .bbp-steps, body .bbp-steps.bbp-track {
		display: grid !important; grid-template-columns: 1fr !important; overflow: visible !important; width: 100% !important; margin: 0 !important;
		padding: 0 !important; gap: 12px !important; cursor: auto; touch-action: auto !important; position: relative;
	}
	body .bbp-steps > .bbp-step {
		width: auto !important; flex: none !important; display: grid !important; grid-template-columns: 52px 1fr; column-gap: 14px; row-gap: 4px;
		align-items: start; padding: 18px 18px 18px 16px !important; border-radius: 16px; position: relative;
	}
	body .bbp-steps > .bbp-step > .elementor-widget-html { grid-row: 1 / span 2; width: auto !important; }
	body .bbp-steps > .bbp-step > .elementor-widget { width: auto !important; margin: 0 !important; }
	body .bbp-step__n { font-size: 2.1rem; margin: 0; line-height: 1; }
	body .bbp-dark .bbp-step .elementor-heading-title { font-size: 1.12rem !important; }
	body .bbp-dark .bbp-step .elementor-widget-text-editor { font-size: .94rem; line-height: 1.55; }
	body .bbp-steps > .bbp-step:not(:last-child)::after { content: ""; position: absolute; left: 41px; bottom: -13px; width: 2px; height: 14px; background: var(--bbp-gold); opacity: .6; }
	.bbp-steps + .bbp-dots { display: none !important; }
}

/* v3.8 — image + float card + text spacing on phones */
@media (max-width: 767px) {
	body .bbp-split__media { display: flex !important; flex-direction: column !important; gap: 12px !important; margin-bottom: 8px !important; }
	body .bbp-split__media > .elementor-widget-image { order: 1; }
	body .bbp-split__media > .elementor-widget-html { order: 2; position: static !important; left: auto !important; bottom: auto !important; margin: 0 !important; width: 100% !important; transform: none !important; }
	body .bbp-split__media .bbp-float-card { max-width: none; width: 100%; box-shadow: var(--bbp-shadow-sm); border: 1px solid var(--bbp-line); }
	body .bbp-split { gap: 28px !important; }
	body .bbp-split > .bbp-split__text { padding-top: 0 !important; }
}

/* v3.9 — services page list: image left, text right (no wrapping) */
@media (max-width: 767px) {
	body .bbp-services--page .bbp-svc3 { flex-wrap: nowrap !important; display: flex !important; }
	body .bbp-services--page .bbp-svc3__img { flex: 0 0 108px !important; width: 108px !important; max-width: 108px !important; align-self: stretch; overflow: hidden; }
	body .bbp-services--page .bbp-svc3__img img { width: 108px !important; height: 100% !important; min-height: 100%; object-fit: cover; }
	body .bbp-services--page .bbp-svc3__body { flex: 1 1 auto !important; width: auto !important; min-width: 0 !important; max-width: none !important; }
}

/* v3.9 — Packages page: plans stacked on phones */
@media (max-width: 767px) {
	body .bbp-packages--page .bbp-plans.bbp-grid {
		display: grid !important; grid-template-columns: 1fr !important; overflow: visible !important; width: 100% !important; margin: 0 !important;
		padding: 14px 0 0 !important; gap: 26px !important; cursor: auto; touch-action: auto !important;
	}
	body .bbp-packages--page .bbp-plans > * { width: auto !important; flex: none !important; }
	body .bbp-packages--page .bbp-plans + .bbp-dots { display: none !important; }
}
