/* Keep one semantic/visible archive heading. OceanWP already prints it. */
			.post-type-archive-product .woocommerce-products-header__title,
			.tax-product_cat .woocommerce-products-header__title {
				display: none !important;
			}

			@media (max-width: 767px) {
				html,
				body {
					max-width: 100%;
					overflow-x: hidden;
				}

				/* Homepage hero: clearer contrast and much less empty vertical space. */
				body.home .mlspro-hero {
					min-height: 620px !important;
					background-position: 60% center !important;
					border-radius: 0 0 18px 18px !important;
				}

				body.home .mlspro-hero:after {
					background: linear-gradient(180deg, rgba(3, 37, 72, .84), rgba(3, 45, 84, .76) 68%, rgba(3, 45, 84, .62)) !important;
				}

				body.home .mlspro-hero .mlspro-hero-content {
					min-height: 620px !important;
					padding: 40px 16px 38px !important;
				}

				body.home .mlspro-hero .mlspro-kicker {
					max-width: 100% !important;
					padding: 9px 13px !important;
					font-size: 10px !important;
					line-height: 1.55 !important;
					letter-spacing: .12em !important;
				}

				body.home .mlspro-hero .mlspro-hero-copy > h1 {
					margin: 15px 0 14px !important;
					font-size: clamp(30px, 8.7vw, 35px) !important;
					line-height: 1.01 !important;
					letter-spacing: -.04em !important;
					color: #ffffff !important;
				}

				body.home .mlspro-hero .mlspro-hero-copy > h1 span {
					color: #4ee49a !important;
				}

				body.home .mlspro-hero .mlspro-hero-copy > h2 {
					margin: 0 0 11px !important;
					font-size: 17px !important;
					line-height: 1.42 !important;
					color: #ffffff !important;
					text-shadow: 0 2px 12px rgba(0, 22, 48, .58) !important;
				}

				body.home .mlspro-hero .mlspro-hero-copy > p {
					margin: 0 !important;
					font-size: 13px !important;
					line-height: 1.62 !important;
					color: #f5faff !important;
					opacity: 1 !important;
					text-shadow: 0 1px 10px rgba(0, 20, 44, .66) !important;
				}

				body.home .mlspro-hero .mlspro-actions {
					gap: 9px !important;
					margin-top: 17px !important;
				}

				body.home .mlspro-hero .mlspro-btn {
					min-height: 48px !important;
					padding: 11px 16px !important;
					font-size: 13px !important;
					border-radius: 11px !important;
				}

				/* Solutions: two useful scan-friendly columns instead of eight tall rows. */
				body.home .mlspro-solutions {
					padding: 48px 14px 54px !important;
				}

				body.home .mlspro-solutions .mlspro-title {
					margin-bottom: 25px !important;
				}

				body.home .mlspro-solutions .mlspro-title h2 {
					font-size: clamp(28px, 8.2vw, 34px) !important;
					line-height: 1.08 !important;
					letter-spacing: -.035em !important;
				}

				body.home .mlspro-solutions .mlspro-title p {
					margin-top: 12px !important;
					font-size: 13px !important;
					line-height: 1.6 !important;
				}

				body.home .mlspro-solutions .mlspro-card-grid {
					display: grid !important;
					grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
					gap: 10px !important;
				}

				body.home .mlspro-solutions .mlspro-solution-card {
					display: flex !important;
					flex-direction: column !important;
					align-items: center !important;
					justify-content: center !important;
					gap: 9px !important;
					min-width: 0 !important;
					min-height: 148px !important;
					height: auto !important;
					padding: 14px 9px !important;
					text-align: center !important;
					border-radius: 14px !important;
				}

				body.home .mlspro-solutions .mlspro-solution-icon {
					width: 44px !important;
					height: 44px !important;
					min-width: 44px !important;
					border-radius: 12px !important;
				}

				body.home .mlspro-solutions .mlspro-solution-icon svg {
					width: 25px !important;
					height: 25px !important;
				}

				body.home .mlspro-solutions .mlspro-solution-card strong {
					font-size: 12px !important;
					line-height: 1.38 !important;
					overflow-wrap: anywhere !important;
				}

				body.home .mlspro-solutions .mlspro-solution-card small {
					font-size: 9px !important;
					line-height: 1.3 !important;
				}

				/* Trusted brands: retain logos/fallback names while reducing page length. */
				body.home #mlspro-brands {
					margin: 0 12px 44px !important;
					padding: 25px 12px !important;
					border-radius: 18px !important;
				}

				body.home #mlspro-brands > h2 {
					font-size: clamp(27px, 8vw, 33px) !important;
				}

				body.home #mlspro-brands > p {
					margin: 9px auto 20px !important;
					font-size: 12px !important;
					line-height: 1.55 !important;
				}

				body.home #mlspro-brands .mlspro-brand-row {
					gap: 9px !important;
				}

				body.home #mlspro-brands .mlspro-brand-card {
					min-height: 96px !important;
					padding: 10px 8px !important;
					gap: 6px !important;
					border-radius: 13px !important;
				}

				body.home #mlspro-brands .mlspro-brand-card img {
					height: 39px !important;
				}

				body.home #mlspro-brands .mls-final-brand-name {
					font-size: 9px !important;
				}

				body.home #mlspro-brands .mls-brand-image-failed .mls-final-brand-name {
					font-size: 12px !important;
				}

				/* Product/category discovery: compact, consistent and readable. */
				.mls-final-shop-hub {
					padding: 19px 11px !important;
					border-radius: 15px !important;
				}

				.mls-final-section-heading {
					margin-bottom: 18px !important;
				}

				.mls-final-section-heading h2 {
					font-size: clamp(25px, 7.8vw, 31px) !important;
				}

				.mls-final-section-heading p {
					font-size: 12px !important;
					line-height: 1.55 !important;
				}

				.mls-final-category-grid {
					grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
					gap: 8px !important;
				}

				.mls-final-category-card {
					display: flex !important;
					flex-direction: column !important;
					align-items: center !important;
					justify-content: center !important;
					gap: 7px !important;
					min-height: 104px !important;
					padding: 10px 7px !important;
					text-align: center !important;
				}

				.mls-final-category-icon {
					width: 38px !important;
					height: 38px !important;
					font-size: 19px !important;
				}

				.mls-final-category-card strong {
					font-size: 11px !important;
					line-height: 1.35 !important;
				}

				.mls-final-category-card small {
					margin-top: 0 !important;
					font-size: 9px !important;
				}

				.woocommerce .woocommerce-result-count,
				.woocommerce .woocommerce-ordering {
					float: none !important;
					width: 100% !important;
				}

				.woocommerce .woocommerce-result-count {
					margin: 0 0 9px !important;
					font-size: 12px !important;
				}

				.woocommerce .woocommerce-ordering {
					margin: 0 0 15px !important;
				}

				.woocommerce .woocommerce-ordering select {
					width: 100% !important;
					min-height: 44px !important;
					font-size: 13px !important;
				}

				.woocommerce ul.products {
					grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
					gap: 9px !important;
				}

				.woocommerce ul.products li.product {
					min-width: 0 !important;
					height: auto !important;
					padding: 8px !important;
					border-radius: 13px !important;
				}

				.woocommerce ul.products li.product img {
					display: block !important;
					width: 100% !important;
					height: clamp(132px, 39vw, 170px) !important;
					margin: 0 0 8px !important;
					padding: 6px !important;
					object-fit: contain !important;
					border-radius: 10px !important;
				}

				.woocommerce ul.products li.product .woocommerce-loop-product__title {
					display: -webkit-box !important;
					min-height: 49px !important;
					margin: 0 0 8px !important;
					padding: 0 2px !important;
					font-size: 11.5px !important;
					line-height: 1.42 !important;
					-webkit-line-clamp: 3 !important;
					-webkit-box-orient: vertical !important;
					overflow: hidden !important;
				}

				.woocommerce ul.products li.product .button {
					display: flex !important;
					align-items: center !important;
					justify-content: center !important;
					width: 100% !important;
					min-height: 38px !important;
					margin-top: auto !important;
					padding: 8px 6px !important;
					font-size: 10.5px !important;
					line-height: 1.25 !important;
					letter-spacing: .02em !important;
					text-align: center !important;
					border-radius: 10px !important;
				}

				body.post-type-archive-product ul.products.mls-one-result-grid,
				body.tax-product_cat ul.products.mls-one-result-grid {
					grid-template-columns: minmax(0, 1fr) !important;
					max-width: 420px !important;
					margin-right: auto !important;
					margin-left: auto !important;
				}

				body.post-type-archive-product ul.products.mls-one-result-grid li.product img,
				body.tax-product_cat ul.products.mls-one-result-grid li.product img {
					height: clamp(200px, 60vw, 250px) !important;
				}

				body.post-type-archive-product ul.products.mls-one-result-grid li.product .woocommerce-loop-product__title,
				body.tax-product_cat ul.products.mls-one-result-grid li.product .woocommerce-loop-product__title {
					min-height: 0 !important;
					font-size: 15px !important;
					-webkit-line-clamp: initial !important;
				}

				/* Single product: fit actions, resources and tabs into the viewport. */
				.single-product div.product {
					padding: 11px !important;
					border-radius: 16px !important;
				}

				.single-product div.product .woocommerce-product-gallery__image a {
					min-height: 260px !important;
					padding: 10px !important;
				}

				.single-product div.product .product_title {
					margin-bottom: 13px !important;
					font-size: clamp(25px, 7.4vw, 31px) !important;
					line-height: 1.12 !important;
				}

				.single-product .woocommerce-product-details__short-description {
					padding: 12px 13px !important;
					font-size: 13px !important;
					line-height: 1.62 !important;
				}

				.single-product .mls-final-resources {
					padding: 13px !important;
					border-radius: 13px !important;
				}

				.single-product .mls-final-resources-head {
					gap: 8px !important;
					margin-bottom: 10px !important;
				}

				.single-product .mls-final-resources-head h3 {
					font-size: 14px !important;
				}

				.single-product .mls-final-resources-head p {
					font-size: 10px !important;
				}

				.single-product .mls-final-resource {
					grid-template-columns: 30px minmax(0, 1fr) auto !important;
					gap: 8px !important;
					min-height: 54px !important;
					padding: 8px 9px !important;
				}

				.single-product .mls-final-resource strong {
					font-size: 10.5px !important;
				}

				.single-product .mls-v58-share-list {
					grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
					gap: 7px !important;
				}

				.single-product .mls-v58-share-list a {
					display: flex !important;
					align-items: center !important;
					justify-content: flex-start !important;
					gap: 7px !important;
					width: 100% !important;
					height: auto !important;
					min-height: 43px !important;
					padding: 8px 10px !important;
					font-size: 10px !important;
					line-height: 1.25 !important;
				}

				.single-product .mls-v58-share-list a span {
					display: inline !important;
					min-width: 0 !important;
					overflow: hidden !important;
					text-overflow: ellipsis !important;
					white-space: nowrap !important;
				}

				.single-product .mls-v58-share-list a svg {
					flex: 0 0 auto !important;
					width: 18px !important;
					height: 18px !important;
				}

				.single-product .woocommerce-tabs {
					margin-top: 25px !important;
				}

				.single-product .woocommerce-tabs ul.tabs {
					display: grid !important;
					grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
					gap: 6px !important;
					padding: 6px !important;
					border-radius: 12px !important;
					overflow: hidden !important;
				}

				.single-product .woocommerce-tabs ul.tabs:before,
				.single-product .woocommerce-tabs ul.tabs:after,
				.single-product .woocommerce-tabs ul.tabs li:before,
				.single-product .woocommerce-tabs ul.tabs li:after {
					display: none !important;
					content: none !important;
				}

				.single-product .woocommerce-tabs ul.tabs li {
					float: none !important;
					width: auto !important;
					min-width: 0 !important;
					border: 0 !important;
					border-radius: 9px !important;
				}

				.single-product .woocommerce-tabs ul.tabs li a {
					display: flex !important;
					align-items: center !important;
					justify-content: center !important;
					width: 100% !important;
					min-height: 44px !important;
					padding: 7px 6px !important;
					font-size: 10.5px !important;
					line-height: 1.25 !important;
					text-align: center !important;
					white-space: normal !important;
				}

				.single-product .woocommerce-Tabs-panel {
					padding: 18px 13px !important;
					border-radius: 14px !important;
					font-size: 13px !important;
					line-height: 1.68 !important;
				}

				.single-product .mls-shared-brands {
					margin: 34px 10px !important;
					padding: 22px 11px !important;
				}

				.single-product .mls-shared-brand-grid {
					gap: 8px !important;
				}

				.single-product .mls-shared-brand-card {
					min-height: 92px !important;
					padding: 9px 7px !important;
				}

				.single-product .mls-shared-brand-card img {
					height: 38px !important;
				}

				#mls-floating-quote-list {
					right: 9px !important;
					bottom: 9px !important;
					width: auto !important;
					min-width: 106px !important;
					height: 42px !important;
					min-height: 42px !important;
					padding: 0 10px !important;
					gap: 7px !important;
					font-size: 9.5px !important;
					box-shadow: 0 8px 22px rgba(4, 42, 80, .22) !important;
				}

				#mls-floating-quote-list .mls-floating-count {
					width: 24px !important;
					height: 24px !important;
					min-width: 24px !important;
					font-size: 11px !important;
				}
			}

			@media (max-width: 340px) {
				body.home .mlspro-solutions .mlspro-card-grid,
				.mls-final-category-grid {
					grid-template-columns: minmax(0, 1fr) !important;
				}

				body.home .mlspro-solutions .mlspro-solution-card {
					min-height: 118px !important;
				}
			}

			@media (prefers-reduced-motion: reduce) {
				*,
				*:before,
				*:after {
					scroll-behavior: auto !important;
					transition: none !important;
					animation: none !important;
				}
			}