/* Маркер проверки: chai25-catalog-mobile-card-fix-v3 */

			.wp-block-woocommerce-product-collection .wc-block-product,
			.wp-block-woocommerce-product-template > li.wc-block-product,
			.wc-block-product.chai25-mobile-cardfix-ready {
				min-width: 0 !important;
				box-sizing: border-box !important;
			}

			.wp-block-woocommerce-product-collection .wc-block-product *,
			.wp-block-woocommerce-product-template > li.wc-block-product * {
				box-sizing: border-box;
			}

			.chai25-card-slider {
				position: relative;
				touch-action: pan-y;
				-webkit-tap-highlight-color: transparent;
			}

			.chai25-card-slider__link,
			.chai25-card-slider__img {
				touch-action: pan-y;
				-webkit-user-select: none;
				user-select: none;
			}

			.chai25-card-slider__img {
				-webkit-user-drag: none;
				user-drag: none;
			}

			/* Названия товаров: снимаем ограничения высоты/обрезку, которые были в мобильном CSS каталога. */
			.wc-block-product .wp-block-post-title,
			.wc-block-product .woocommerce-loop-product__title,
			.wp-block-woocommerce-product-collection .wc-block-product .wp-block-post-title,
			.wp-block-woocommerce-product-collection .wc-block-product .woocommerce-loop-product__title {
				height: auto !important;
				max-height: none !important;
				overflow: visible !important;
				text-overflow: clip !important;
				white-space: normal !important;
				-webkit-line-clamp: unset !important;
				line-clamp: unset !important;
				-webkit-box-orient: initial !important;
			}

			.wc-block-product .wp-block-post-title a,
			.wc-block-product .woocommerce-loop-product__title a,
			.wp-block-woocommerce-product-collection .wc-block-product .wp-block-post-title a,
			.wp-block-woocommerce-product-collection .wc-block-product .woocommerce-loop-product__title a {
				display: block !important;
				height: auto !important;
				max-height: none !important;
				overflow: visible !important;
				text-overflow: clip !important;
				white-space: normal !important;
				-webkit-line-clamp: unset !important;
				line-clamp: unset !important;
			}

			/* JS ставит min-height по строкам. Текст внутри остаётся по центру. */
			.chai25-mobile-cardfix-ready .wp-block-post-title,
			.chai25-mobile-cardfix-ready .woocommerce-loop-product__title,
			.chai25-mobile-cardfix-ready .chai25-card-price,
			.chai25-mobile-cardfix-ready .chai25-card-vars,
			.chai25-mobile-cardfix-ready .chai25-vars-reset,
			.chai25-mobile-cardfix-ready .chai25-add-to-cart {
				transition: min-height .12s ease;
			}

			@media (max-width: 1024px) {
				/* Главная правка: стрелки на телефоне/планшете полностью скрыты. */
				.chai25-card-slider .chai25-card-slider__btn,
				.chai25-card-slider .chai25-card-slider__btn--prev,
				.chai25-card-slider .chai25-card-slider__btn--next {
					display: none !important;
					visibility: hidden !important;
					opacity: 0 !important;
					pointer-events: none !important;
				}

				/* На touch-устройствах убираем hover-увеличение, чтобы свайп не выглядел как дёргание картинки. */
				.wc-block-product:hover .chai25-card-slider__img,
				.chai25-card-slider__img {
					transform: none !important;
				}
			}

			@media (max-width: 760px) {
				.wp-block-woocommerce-product-collection .wc-block-product-template,
				.wp-block-woocommerce-product-collection ul.wc-block-product-template,
				.wp-block-woocommerce-product-template {
					align-items: stretch !important;
				}

				.wp-block-woocommerce-product-collection .wc-block-product-template > li,
				.wp-block-woocommerce-product-template > li,
				.wc-block-product {
					align-self: stretch !important;
				}

				.wc-block-product .wp-block-post-title,
				.wc-block-product .woocommerce-loop-product__title {
					max-height: none !important;
					overflow: visible !important;
					line-height: 1.22 !important;
				}
			}
