/**
 * Mobile typography normalization for theme sections.
 * Loaded last in the layout so it can cap oversized fonts on small screens.
 */

@media (max-width: 768px) {
	/* Shared section titles */
	.section-title h2,
	.products .section-title h2,
	.quick-card-v1-section .section-title h2,
	.quick-card-v2-section .section-title h2,
	.quick-card-v3-section .section-title h2,
	.bundle-v1-section .section-title h2,
	.bundle-v2-section .section-title h2,
	.bundle-v3-section .section-title h2,
	.categories-section .section-title h2 {
		font-size: 1.375rem;
		line-height: 1.25;
	}

	.section-title p,
	.quick-card-v1-section .section-title p,
	.quick-card-v2-section .section-title p,
	.quick-card-v3-section .section-title p {
		font-size: 0.875rem;
	}

	/* Promo / marketing */
	.campaign-banner__heading {
		font-size: 1.5rem;
		line-height: 1.15;
	}

	.campaign-banner__subheading {
		font-size: 0.9375rem;
	}

	.deal-countdown__heading {
		font-size: 1.375rem;
		line-height: 1.15;
	}

	.deal-countdown__description {
		font-size: 0.9375rem;
	}

	.promo-cards__card-heading,
	.promo-marquee__item {
		font-size: 1.125rem;
	}

	.split-showcase__heading {
		font-size: 1.125rem;
	}

	.split-showcase__label {
		font-size: 1rem;
	}

	/* Hero */
	.hero h1 {
		font-size: min(calc(var(--hero-h1-size, 30px) * 0.8), 1.5rem);
	}

	.hero h2 {
		font-size: min(calc(var(--hero-h2-size, 25px) * 0.75), 1.125rem);
	}

	.hero-v2-content h1 {
		font-size: clamp(1.375rem, 4vw, 1.625rem);
	}

	.hero-v2-content h2 {
		font-size: 0.9375rem;
	}

	.hero-v3-text h1 {
		font-size: clamp(1.375rem, 4vw, 1.625rem);
	}

	.hero-v3-text h2 {
		font-size: 0.9375rem;
	}

	/* Reviews */
	.gr-section__title,
	.gr-page__title {
		font-size: 1.375rem;
	}

	.grv1-card__quote-mark {
		font-size: 2rem;
	}

	/* Categories */
	.categories-section .category-name,
	.cat-v2-card-title,
	.cat-v3-card-title {
		font-size: 1rem;
	}

	.cat-v2-header-title,
	.cat-v3-header h2 {
		font-size: 1.375rem;
	}

	/* Product cards */
	.quick-card-v1-name,
	.quick-card-v2-name,
	.quick-card-v3-name,
	.products--oc-v2 .oc2-card__title,
	.products--oc-v3 .oc3-card__title {
		font-size: 0.9375rem;
	}

	.quick-card-v1-price .price,
	.quick-card-v1-price .price-discounted,
	.quick-card-v2-price .price,
	.quick-card-v2-price .price-discounted,
	.quick-card-v3-price .price,
	.quick-card-v3-price .price-discounted {
		font-size: 1rem;
	}

	/* Product / bundle pages */
	.product-details .product-title,
	.product-info-v2 .product-title,
	.product-info-v3 .product-title,
	.product-description-v2__title,
	.product-description-v3__title,
	.bundle-hero-v2__title,
	.bundle-hero-v3__title,
	.bundle-description-v2__title,
	.bundle-description-v3__title,
	.bundle-details-v2__heading,
	.bundle-details-v3__section-title,
	.bundle-details-v3__buy-title {
		font-size: 1.375rem;
		line-height: 1.2;
	}

	/* Account / checkout */
	.orders-v2__title,
	.orders-v3__title,
	.orders-v2-empty__title,
	.orders-v3-empty__title,
	.cf-v2__title,
	.cf-v3__title,
	.order-summary--v3 .os-v3__title {
		font-size: 1.375rem;
	}

	.favorites-empty-v2__title,
	.favorites-empty-v3__title {
		font-size: 1.25rem;
	}
}

@media (max-width: 576px) {
	.section-title h2,
	.products .section-title h2,
	.quick-card-v1-section .section-title h2,
	.quick-card-v2-section .section-title h2,
	.quick-card-v3-section .section-title h2,
	.bundle-v1-section .section-title h2,
	.bundle-v2-section .section-title h2,
	.bundle-v3-section .section-title h2,
	.categories-section .section-title h2 {
		font-size: 1.25rem;
	}

	.campaign-banner__heading {
		font-size: 1.375rem;
	}

	.deal-countdown__heading {
		font-size: 1.25rem;
	}

	.split-showcase__heading {
		font-size: 1rem;
	}

	.split-showcase__label {
		font-size: 0.9375rem;
	}

	.hero h1 {
		font-size: min(calc(var(--hero-h1-size, 30px) * 0.72), 1.375rem);
	}

	.hero h2 {
		font-size: min(calc(var(--hero-h2-size, 25px) * 0.68), 1rem);
	}

	.hero-v2-content h1 {
		font-size: 1.25rem;
	}

	.hero-v3-text h1 {
		font-size: 1.25rem;
	}

	.gr-section__title,
	.gr-page__title {
		font-size: 1.25rem;
	}

	.grv1-card__quote-mark {
		font-size: 1.75rem;
	}

	.quick-card-v1-name,
	.quick-card-v2-name,
	.quick-card-v3-name,
	.products--oc-v2 .oc2-card__title,
	.products--oc-v3 .oc3-card__title {
		font-size: 0.875rem;
	}

	.quick-card-v1-price .price,
	.quick-card-v1-price .price-discounted,
	.quick-card-v2-price .price,
	.quick-card-v2-price .price-discounted,
	.quick-card-v3-price .price,
	.quick-card-v3-price .price-discounted {
		font-size: 0.9375rem;
	}

	.product-details .product-title,
	.product-info-v2 .product-title,
	.product-info-v3 .product-title,
	.bundle-hero-v2__title,
	.bundle-hero-v3__title {
		font-size: 1.25rem;
	}

	.categories-section .category-name {
		font-size: 0.9375rem;
	}
}
