/**
 * MIS Readable Text 1.0.3
 *
 * Site-wide readability overrides for myinstantsong.com (Astra + plugins).
 * Loaded last on the front end only. Deactivating this plugin removes the
 * stylesheet and fully reverts typography.
 *
 * Rules:
 *   - Body: 20px on computers, 18px on phones (max-width: 768px).
 *   - Body line-height: 1.6.
 *   - Headings: scaled from Astra's em scale against the new body size.
 *     Already-large homepage / questionnaire headings (px / clamp) are left
 *     alone so the hero and section titles do not overflow.
 *   - Small print (fine print, hints, labels, buttons, footer, cart,
 *     checkout, questionnaire, homepage sections): minimum 16px.
 *   - Desktop header nav: 18px (see note below).
 *   - 1.0.1–1.0.3: on phones, keep the Astra site title on one line.
 *     1.0.3 reserves 48px side tracks so the full "myinstantsong.com"
 *     cannot overlap the hamburger (1.0.2 did at 360px). Reserve space
 *     under the homepage .mobile-sticky CTA so the footer is not hidden.
 *     Desktop is unchanged.
 *
 * Approach:
 *   Do NOT set html { font-size }. Astra, WooCommerce and some plugin
 *   layouts use rem units; changing the root would scale those layouts,
 *   not just the text. These rules set explicit body and selector sizes
 *   in px instead.
 *
 * Cannot be styled:
 *   Square payment fields render inside a cross-origin iframe
 *   (Square Web Payments SDK). This stylesheet cannot change type size
 *   inside that iframe.
 *
 * Decorative exceptions (left at the original size so fixed mock-UI
 * chrome does not overflow): fake album/player typography, avatar
 * initials in small circles, social icon glyphs, wizard step-index
 * dots, the hamburger icon, and similar graphic chrome. Listed at the
 * end of this file.
 */

/* ==========================================================================
   1. Base body size
   ========================================================================== */

body {
	font-size: 20px;
	line-height: 1.6;
}

p,
li,
dd,
dt,
td,
th,
address,
blockquote,
figcaption,
.entry-content,
.entry-content p,
.ast-container,
.site-content,
.site-main,
.ast-article-single,
.ast-comment-content {
	line-height: 1.6;
}

/* ==========================================================================
   2. Headings — Astra defaults are em-based (h1 2em, h2 1.7em, h3 1.5em,
      h4 1.3em, h5 1.2em, h6 1.1em), so they scale with body:

      Computers (20px body): h1 40, h2 34, h3 30, h4 26, h5 24, h6 22
      Phones    (18px body): h1 36, h2 30.6, h3 27, h4 23.4, h5 21.6, h6 19.8

      Re-state the em scale so Customizer px heading sizes that landed
      below this floor still grow. Do not force px on .hero h1 and other
      already-large decorative titles.
   ========================================================================== */

.entry-content :where(h1),
h1 {
	font-size: 2em;
	line-height: 1.2;
}

.entry-content :where(h2),
h2 {
	font-size: 1.7em;
	line-height: 1.25;
}

.entry-content :where(h3),
h3 {
	font-size: 1.5em;
	line-height: 1.3;
}

.entry-content :where(h4),
h4 {
	font-size: 1.3em;
	line-height: 1.35;
}

.entry-content :where(h5),
h5 {
	font-size: 1.2em;
	line-height: 1.4;
}

.entry-content :where(h6),
h6 {
	font-size: 1.1em;
	line-height: 1.45;
}

/* Already-large homepage / questionnaire titles (.hero h1, .section-head h2,
   .misq-h, .misq-song__title, etc.) are left untouched: they use more
   specific px or clamp rules than the h1–h6 selectors above, so they keep
   their designed size. Do not set font-size: revert on them — that would
   wipe the plugin styles and shrink the hero. */

/* ==========================================================================
   3. Global 16px floor for small print
   ========================================================================== */

small,
.woocommerce small,
.woocommerce small.note {
	font-size: 16px;
	line-height: 1.5;
}

/* ==========================================================================
   4. Astra / theme chrome
      Desktop nav is 18px — a little under body size so a row of links is
      less likely to wrap in the 82px homepage header or the Astra bar.
      17–18px is the intended range here. Mobile menus are stacked, so
      they use the body size.
   ========================================================================== */

.main-header-menu .menu-link,
.main-header-menu .menu-item > a,
.ast-builder-menu .menu-link,
.ast-builder-menu .menu-item > a,
.ast-header-menu-primary .menu-link,
.site-header .menu-link,
.site-header .menu-item > a,
.nav a {
	font-size: 18px;
	line-height: 1.3;
}

.ast-button-wrap .menu-toggle.main-header-menu-toggle .mobile-menu {
	font-size: 16px;
}

.ast-header-break-point .main-header-menu .menu-link,
.ast-header-break-point .ast-builder-menu .menu-link,
.ast-header-break-point .menu-item > a,
.ast-mobile-popup-drawer .menu-link,
.ast-builder-menu-mobile .menu-link {
	font-size: 18px;
	line-height: 1.4;
}

.site-footer,
.site-footer p,
.site-footer a,
.site-footer li,
.ast-footer-copyright,
.ast-small-footer,
.ast-small-footer p,
.ast-small-footer a {
	font-size: 16px;
	line-height: 1.5;
}

/* ==========================================================================
   5. Homepage plugin (myinstantsong-homepage 0.5.12)
   ========================================================================== */

.hero-copy > p,
.center-head p,
.section-head > p,
.video-intro > p,
.proof-strip,
.center-action small,
.price-card > p,
.price-card li,
.faq-list button,
.faq-list button strong,
.faq-list p,
.faq-head > p,
.step h3,
.step p,
.benefit-points strong,
.review-card strong,
.review-card span,
.review-card p,
.version h3,
.sound-section-head h3,
.sound-section-head p,
.sound-secondary h3,
.sound-secondary p,
.sound-cards strong,
.sound-cards small,
.form-grid label,
.choice-group > label,
.choice-group button,
.refine-buttons button,
.wizard-body > p,
.wizard-top > span,
.request-success p,
.request-success small,
.validation-alert,
.field-error,
.consent-check,
.photo-caption strong,
.photo-caption small,
.preview-copy > a,
.prototype-disclaimer,
.trust strong,
.trust small,
.eyebrow,
.kicker,
.demo-bar,
.demo-note,
.footer-brand p,
.footer-main strong,
.footer-main a,
.footer-main button,
.footer-bottom,
.price small,
.addons span,
.addons b,
.safe-note,
.free-preview,
.final-cta > small,
.popular-tag,
.required-mark,
.change-choice,
.version > button,
.version > small,
.song-meta strong,
.player-top strong,
.youtube-placeholder strong,
.youtube-placeholder small,
.occasion-grid b {
	font-size: 16px;
	line-height: 1.5;
}

/* Body-sized homepage copy (not merely the 16px floor). */
.hero-copy > p,
.center-head p,
.faq-list button,
.faq-list button strong,
.faq-list p,
.price-card li,
.step h3,
.review-card strong,
.version h3,
.sound-section-head h3,
.sound-secondary h3,
.consent-check {
	font-size: 1em;
	line-height: 1.6;
}

.demo-bar {
	height: auto;
	min-height: 30px;
	padding: 8px 12px;
	letter-spacing: 0.06em;
}

.demo-note {
	font-size: 16px !important;
	line-height: 1.5 !important;
}

.footer-bottom {
	flex-wrap: wrap;
	gap: 8px;
}

/* ==========================================================================
   6. Questionnaire + lyric editor (misq.css / misq-lyrics.css)
   ========================================================================== */

.misq-app {
	font-size: 20px;
	line-height: 1.6;
}

.misq-sub,
.misq-intro,
.misq-label,
.misq-help,
.misq-more-note,
.misq-review-k,
.misq-edit,
.misq-demo,
.misq-meta,
.misq-back,
.misq-start-over .misq-mini,
.misq-mini,
.misq-encourage,
.misq-reassure,
.misq-token,
.misq-tile-label,
.misq-scaffold,
.misq-chip,
.misq-chip-near .misq-chip-hint,
.misq-morelang summary,
.misq-error,
.misq-resume-hint,
.misq-lyr-label,
.misq-lyr-card-kicker,
.misq-lyr-card-section,
.misq-lyr-meta,
.misq-lyr-redo,
.misq-lyr-count,
.misq-lyr-alts,
.misq-lyr-alt,
.misq-lyr-tip,
.misq-lyr-notice,
.misq-lyr-tool,
.misq-lyr-card-preview {
	font-size: 16px;
	line-height: 1.5;
}

.misq-sub,
.misq-intro,
.misq-label,
.misq-scaffold,
.misq-error,
.misq-lyr-notice,
.misq-lyr-card-preview,
.misq-lyr-lines {
	font-size: 1em;
	line-height: 1.6;
}

.misq-lyr-lines {
	line-height: 1.75;
}

/* Prevent the native select from clipping a taller font. */
.misq-select {
	height: auto;
	min-height: 56px;
	line-height: 1.4;
	font-size: 1em;
}

.misq-input,
.misq-textarea {
	font-size: 1em;
	line-height: 1.5;
}

/* Occasion tiles: keep labels readable without blowing out a 2-col 360px grid. */
.misq-tile {
	padding: 18px 10px 16px;
}

.misq-tile-label {
	font-size: 16px;
	line-height: 1.3;
	overflow-wrap: anywhere;
	word-break: break-word;
}

.misq-chip,
.misq-mini {
	max-width: 100%;
	white-space: normal;
}

/* ==========================================================================
   7. Song delivery page + SEO pages
   ========================================================================== */

.misq-song-body {
	font-size: 20px;
	line-height: 1.6;
}

.misq-song__eyebrow,
.misq-song__note cite,
.misq-song__from-line,
.misq-song__help,
.misq-song__version {
	font-size: 16px;
	line-height: 1.5;
}

.misq-song__note {
	font-size: 1em;
	line-height: 1.6;
}

.mis-seo-page {
	font-size: 20px;
	line-height: 1.6;
}

.mis-seo-note {
	font-size: 16px;
	line-height: 1.5;
}

/* ==========================================================================
   8. WooCommerce cart, checkout, account, notices
      Square's card / wallet iframe cannot be styled from here.
   ========================================================================== */

.woocommerce,
.woocommerce-page,
.woocommerce-cart,
.woocommerce-checkout,
.woocommerce-account,
.wp-block-woocommerce-cart,
.wp-block-woocommerce-checkout {
	font-size: 1em;
	line-height: 1.6;
}

.woocommerce form .form-row label,
.woocommerce-checkout .form-row label,
.woocommerce-cart .form-row label,
.woocommerce form .form-row .woocommerce-input-wrapper,
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.woocommerce form .form-row .select2-container,
.woocommerce .select2-container .select2-selection--single,
.woocommerce .select2-container .select2-selection--single .select2-selection__rendered,
.select2-container .select2-selection--single,
.select2-results__option,
.woocommerce-input-wrapper,
.woocommerce input.input-text,
.woocommerce textarea,
.woocommerce select,
.woocommerce-Input,
.woocommerce-Input input,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #place_order,
.woocommerce #respond input#submit,
.woocommerce-Button,
.woocommerce-button,
.woocommerce-info,
.woocommerce-error,
.woocommerce-message,
.woocommerce-notice,
.woocommerce-form__label,
.woocommerce-form__label-for-checkbox,
.woocommerce-form__label-for-checkbox span,
.woocommerce-invalid-required-field,
.woocommerce-invalid #billing_email_field,
.woocommerce-checkout #payment,
.woocommerce-checkout #payment div.payment_box,
.woocommerce-checkout #payment div.payment_box span.help,
.woocommerce-checkout #payment .payment_methods li,
.woocommerce-checkout #payment .payment_methods label,
#add_payment_method #payment div.payment_box,
#add_payment_method #payment div.payment_box span.help,
#add_payment_method .checkout .create-account small,
.woocommerce-checkout .checkout .create-account small,
.woocommerce-cart .checkout .create-account small,
.checkout-inline-error-message,
.woocommerce form.checkout_coupon .coupon-error-notice,
.woocommerce-cart table.cart td.actions .coupon .coupon-error-notice,
.woocommerce-checkout table.cart td.actions .coupon .coupon-error-notice,
.woocommerce-cart table.cart th,
.woocommerce-cart table.cart td,
.woocommerce-cart table.cart td.actions .coupon .input-text,
.woocommerce-checkout table.shop_table th,
.woocommerce-checkout table.shop_table td,
.woocommerce table.shop_table,
.woocommerce table.shop_table th,
.woocommerce table.shop_table td,
.woocommerce .cart-collaterals .cart_totals,
.woocommerce .cart-collaterals .cart_totals p,
.woocommerce .cart-collaterals .cart_totals p small,
.woocommerce-checkout #order_review,
.woocommerce-checkout-review-order,
.woocommerce-form-coupon-toggle,
.woocommerce-form-coupon-toggle .woocommerce-info,
.woocommerce-form-login-toggle,
.woocommerce-additional-fields span,
.woocommerce-additional-fields label,
.woocommerce form .form-row .required,
.woocommerce .required,
.woocommerce td.product-name,
.woocommerce td.product-name dl.variation,
.woocommerce td.product-name p.backorder_notification,
.woocommerce ul.order_details,
.woocommerce ul.order_details li,
.woocommerce .woocommerce-customer-details,
.woocommerce .woocommerce-order,
.woocommerce .woocommerce-order-overview,
.woocommerce .woocommerce-thankyou-order-received,
.woocommerce-order-overview li,
.woocommerce .about_paypal,
.wc-block-components-text-input input,
.wc-block-components-textarea,
.wc-block-components-checkbox label,
.wc-block-components-radio-control__label,
.wc-block-components-radio-control__description,
.wc-block-components-button,
.wc-block-components-totals-item,
.wc-block-components-product-name,
.wc-block-components-product-price,
.wc-block-components-notice-banner,
.wp-block-woocommerce-cart,
.wp-block-woocommerce-checkout {
	font-size: 16px;
	line-height: 1.5;
}

.woocommerce form .form-row label,
.woocommerce-checkout .form-row label,
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #place_order,
.woocommerce-Button,
.woocommerce table.shop_table,
.woocommerce table.shop_table th,
.woocommerce table.shop_table td,
.woocommerce-checkout #payment .payment_methods label,
.wc-block-components-text-input input,
.wc-block-components-textarea,
.wc-block-components-checkbox label,
.wc-block-components-button {
	font-size: 1em;
	line-height: 1.5;
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.woocommerce-cart table.cart td.actions .coupon .input-text,
.wc-block-components-text-input input,
.wc-block-components-textarea {
	min-height: 48px;
}

/* Select2 dropdowns are often appended to <body>, outside .woocommerce. */
.select2-container--default .select2-selection--single {
	height: auto;
	min-height: 48px;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
	font-size: 16px;
	line-height: 46px;
}

.select2-results__option {
	font-size: 16px;
	line-height: 1.5;
}

/* ==========================================================================
   9. Buttons — readable type, wrap rather than overflow on a 360px phone.
      Icon-only controls are excluded (see section 11).
   ========================================================================== */

.btn,
.btn-small,
.btn-ghost,
.btn-outline,
.white-btn,
.wizard-bottom .btn,
.misq-next,
.misq-btn,
.misq-buy,
.misq-progress-retry,
.misq-mini,
.misq-chip,
.misq-lyr-tool,
.ast-button,
button.button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #place_order,
.woocommerce-Button {
	font-size: 16px;
	line-height: 1.3;
	white-space: normal;
	max-width: 100%;
	box-sizing: border-box;
	text-align: center;
}

.btn,
.btn-ghost,
.btn-outline,
.white-btn,
.misq-next,
.misq-btn,
.misq-buy,
.misq-progress-retry,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #place_order,
.woocommerce-Button,
.ast-button,
button.button {
	font-size: 1em;
}

.wizard-bottom {
	flex-wrap: wrap;
	gap: 10px;
}

.wizard-bottom .btn {
	flex: 1 1 auto;
	padding: 12px 16px;
}

.choice-group button,
.refine-buttons button {
	font-size: 16px;
	white-space: normal;
	max-width: 100%;
}

/* Pricing card titles were 20px (same as the new desktop body). Bump slightly. */
.price-card h3 {
	font-size: 1.3em;
	line-height: 1.3;
}

.woocommerce ul.products li.product .price,
.woocommerce div.product p.price,
.woocommerce div.product span.price {
	font-size: 1em;
	line-height: 1.4;
}

/* ==========================================================================
   10. Phones (≤768px): 18px body, tighter CTA padding so paired buttons
       still fit a 360px-wide screen.
   ========================================================================== */

@media (max-width: 768px) {
	body,
	.misq-app,
	.misq-song-body,
	.mis-seo-page {
		font-size: 18px;
		line-height: 1.6;
	}

	.main-header-menu .menu-link,
	.ast-builder-menu .menu-link,
	.site-header .menu-link,
	.nav a {
		font-size: 18px;
	}

	.btn,
	.btn-small,
	.btn-ghost,
	.btn-outline,
	.white-btn,
	.wizard-bottom .btn,
	.misq-buy {
		padding-left: 16px;
		padding-right: 16px;
	}

	/* Full-width primary CTAs already used in the homepage hero at ≤600px.
	   Keep that behavior through our 768px body breakpoint for long labels. */
	.hero-actions .btn,
	.price-card > .btn,
	.misq-next,
	.misq-progress-retry,
	.woocommerce #place_order,
	.woocommerce-checkout button#place_order {
		width: 100%;
	}

	.misq-chip {
		padding: 10px 14px;
	}

	.footer-main a,
	.footer-main button,
	.footer-bottom {
		font-size: 16px;
	}
}

/* ==========================================================================
   11. Decorative exceptions — restore the designed sizes so graphic chrome
       in fixed boxes does not overflow. These are not body copy.
   ========================================================================== */

.play-mini {
	font-size: 9px;
}

.avatars b {
	font-size: 11px;
}

.album-art span {
	font-size: 9px;
}

.album-art small,
.lyric-sheet > span,
.lyric-sheet > small,
.review-card small,
.lyrics-preview small,
.youtube-badge {
	font-size: 8px;
}

.player-top small {
	font-size: 7px;
}

.player-top span,
.song-meta span {
	font-size: 10px;
}

.controls,
.quote-card span,
.song-row > small {
	font-size: 9px;
}

.step-icon small {
	font-size: 8px;
}

.step-icon span {
	font-size: 27px;
}

.wizard-progress i {
	font-size: 9px;
}

.socials span {
	font-size: 11px;
}

/* Icon / glyph controls — keep the designed size, do not apply the 16px floor. */
.menu-btn {
	font-size: 24px;
}

.step-icon span {
	font-size: 27px;
}

/* ==========================================================================
   12. Mobile layout fixes (phones only; desktop unchanged)
   ========================================================================== */

/* 12a. Astra 4.14.3 mobile header wordmark.
       1.0.1 ellipsized the title in a narrow column. 1.0.2 dropped the
       ellipsis and used minmax(0, 1fr) max-content minmax(0, 1fr), which
       let the side tracks shrink so "myinstantsong.com" overlapped the
       hamburger at 360px (390px was fine). 1.0.3 reserves 48px side
       tracks, tightens the gap, and slightly reduces type so the full
       title stays on one line without covering .menu-toggle. */
@media (max-width: 768px) {
	/* Two-column: branding takes leftover space, hamburger stays auto.
	   Undo overflow-wrap:anywhere, which can break the wordmark.
	   Astra default column-gap is 20px; use 12px here. */
	.ast-mobile-header-wrap .ast-builder-grid-row {
		grid-template-columns: minmax(0, 1fr) auto;
		column-gap: 12px;
		grid-column-gap: 12px;
		overflow-wrap: normal;
	}

	/* Three-column (title in the center max-content track): keep at
	   least 48px on each side for the hamburger / balance, with an
	   8px gap. */
	.ast-mobile-header-wrap .ast-builder-grid-row.ast-grid-center-col-layout {
		grid-template-columns: minmax(48px, 1fr) max-content minmax(48px, 1fr);
		column-gap: 8px;
		grid-column-gap: 8px;
		overflow-wrap: normal;
	}

	/* Keep the hamburger in its reserved track and above the title. */
	.ast-mobile-header-wrap .ast-mobile-menu-trigger-minimal,
	.ast-mobile-header-wrap .menu-toggle,
	.ast-mobile-header-wrap .ast-button-wrap,
	.ast-mobile-header-wrap .ast-button-wrap .menu-toggle,
	.ast-mobile-header-wrap .site-header-primary-section-right,
	.ast-mobile-header-wrap .site-header-section-right {
		flex-shrink: 0;
		position: relative;
		z-index: 2;
	}

	.ast-mobile-header-wrap .site-header-primary-section-left,
	.ast-mobile-header-wrap .site-header-primary-section-center,
	.ast-mobile-header-wrap .site-header-section-left,
	.ast-mobile-header-wrap .ast-grid-section-center,
	.ast-mobile-header-wrap .ast-builder-layout-element.site-branding,
	.ast-mobile-header-wrap .ast-builder-layout-element.ast-header-logo,
	.ast-mobile-header-wrap .site-branding,
	.ast-mobile-header-wrap .ast-site-identity,
	.ast-mobile-header-wrap .ast-site-title-wrap {
		flex: 1 1 auto;
		min-width: 0;
		max-width: none;
		overflow: visible;
	}

	#masthead .site-title,
	#masthead .site-title a,
	#masthead h1.site-title,
	#masthead h1.site-title a,
	.ast-header-break-point .site-title,
	.ast-header-break-point .site-title a,
	.ast-mobile-header-wrap .site-title,
	.ast-mobile-header-wrap .site-title a,
	.ast-site-title-wrap .site-title,
	.ast-site-title-wrap .site-title a,
	.ast-mobile-header-wrap .ast-site-identity .site-title a {
		white-space: nowrap;
		overflow: visible;
		text-overflow: clip;
		max-width: none;
		display: block;
		line-height: 1.2;
		letter-spacing: -0.02em;
		/* 4.2vw is ~15.1px at 360px and ~13.4px at 320px (clamped to 14px). */
		font-size: clamp(14px, 4.2vw, 20px);
	}

	/* At very narrow widths, 15px leaves the reserved 48px tracks intact
	   (see arithmetic in the 1.0.3 report). */
	@media (max-width: 380px) {
		#masthead .site-title,
		#masthead .site-title a,
		#masthead h1.site-title,
		#masthead h1.site-title a,
		.ast-header-break-point .site-title,
		.ast-header-break-point .site-title a,
		.ast-mobile-header-wrap .site-title,
		.ast-mobile-header-wrap .site-title a,
		.ast-site-title-wrap .site-title,
		.ast-site-title-wrap .site-title a,
		.ast-mobile-header-wrap .ast-site-identity .site-title a {
			font-size: 15px;
		}
	}

	#masthead .custom-logo-link img,
	#masthead .site-logo-img img,
	.ast-header-break-point .custom-logo-link img,
	.ast-header-break-point .site-logo-img img,
	.ast-mobile-header-wrap .custom-logo-link img,
	.ast-mobile-header-wrap .site-logo-img img,
	.ast-header-break-point .astra-logo-svg,
	.ast-mobile-header-wrap .astra-logo-svg {
		width: auto;
		height: auto;
		max-height: 36px;
		max-width: min(220px, calc(100vw - 100px));
		object-fit: contain;
	}
}

/* 12b. Homepage plugin sticky CTA (.mobile-sticky). The plugin CSS leaves
       it display:none, then at width<=600px makes it position:fixed;
       bottom:12px; left/right:14px; padding:15px. After the 18px body size
       the bar is taller, and it can hide the footer. Compact the label
       (still >=16px) and reserve space on the page when the bar is present.
       Do not change desktop, or widths where the bar stays hidden. */
@media (max-width: 600px) {
	.mobile-sticky {
		font-size: 16px;
		line-height: 1.2;
		font-weight: 700;
		padding: 12px 16px;
		gap: 8px;
		white-space: nowrap;
		box-sizing: border-box;
		bottom: calc(12px + env(safe-area-inset-bottom, 0px));
	}

	/* Fallback if :has() is unavailable: the homepage already pads
	   .footer 90px at this breakpoint; raise it for the safe area. */
	.footer {
		padding-bottom: max(90px, calc(68px + env(safe-area-inset-bottom, 0px)));
	}

	/* Preferred: pad the page by bar height (~12+20+12 padding/type, plus
	   the 12px offset) and the iOS safe area, then drop the extra 90px
	   inside .footer so the two do not stack. */
	body:has(.mobile-sticky) {
		padding-bottom: calc(68px + env(safe-area-inset-bottom, 0px));
	}

	body:has(.mobile-sticky) .footer {
		padding-bottom: 55px;
	}
}

/* 1.0.4: the Astra header logo (uploads/2026/07/logo.png) is an all-white
   placeholder from the starter template; on phones it took ~156px of invisible
   width and pushed the text title into the menu icon. Hide it in the mobile
   header so the full "myinstantsong.com" title fits beside the hamburger. */
@media (max-width: 768px) {
	.ast-mobile-header-wrap .site-logo-img,
	.ast-header-break-point .ast-mobile-header-wrap .site-logo-img {
		display: none !important;
	}
	.ast-mobile-header-wrap .site-header-primary-section-left {
		min-width: 0;
		overflow: hidden;
	}
}
