/**
 * Full-width, interactive catalogue cards on phones.
 *
 * This layer is loaded after both the teamwear catalogue and webshop styles so
 * the two sales paths keep one mobile card contract.
 */
.oo-product-card__quick-add,
.oo-product-card__pager,
.oo-product-card__swipe-track {
	display: none !important;
}

@media (max-width: 781px) {
	.oo-sport-modern-catalog-products .oo-sport-products-grid,
	body.oo-webshop .oo-webshop-catalog-products .oo-webshop-product-grid {
		display: grid !important;
		grid-template-columns: minmax(0, 1fr) !important;
		gap: 18px !important;
	}

	.oo-sport-modern-catalog-products .oo-product-card,
	body.oo-webshop .oo-webshop-catalog-products .oo-product-card {
		flex-direction: column !important;
		width: 100% !important;
		max-width: none !important;
	}

	.oo-sport-modern-catalog-products .oo-product-card__media,
	body.oo-webshop .oo-webshop-catalog-products .oo-product-card__media {
		aspect-ratio: 1 / 1.08 !important;
		touch-action: auto !important;
		user-select: none !important;
		-webkit-user-select: none !important;
	}

	.oo-sport-modern-catalog-products .oo-product-card__image,
	body.oo-webshop .oo-webshop-catalog-products .oo-product-card__image {
		pointer-events: none !important;
		-webkit-user-drag: none !important;
	}

	.oo-product-card__image.has-mobile-swipe-track {
		opacity: 0 !important;
	}

	.oo-product-card__swipe-track {
		position: absolute !important;
		inset: 0 !important;
		display: flex !important;
		width: 100% !important;
		height: 100% !important;
		z-index: 2 !important;
		overflow-x: auto !important;
		overflow-y: hidden !important;
		overscroll-behavior-inline: contain !important;
		scroll-snap-type: x mandatory !important;
		scrollbar-width: none !important;
		touch-action: pan-x pan-y !important;
		-webkit-overflow-scrolling: touch !important;
	}

	.oo-product-card__swipe-track::-webkit-scrollbar {
		display: none !important;
	}

	.oo-product-card__swipe-image {
		display: block !important;
		flex: 0 0 100% !important;
		width: 100% !important;
		height: 100% !important;
		margin: 0 !important;
		padding: 0 !important;
		object-fit: contain !important;
		object-position: center center !important;
		scroll-snap-align: start !important;
		scroll-snap-stop: always !important;
		pointer-events: none !important;
	}

	.oo-product-card.is-brand-musai .oo-product-card__swipe-image {
		object-fit: cover !important;
		object-position: center top !important;
	}

	.oo-product-card.is-custom-design .oo-product-card__swipe-image {
		object-fit: cover !important;
		object-position: center center !important;
	}

	.oo-sport-modern-catalog-products .oo-product-card__brand,
	body.oo-webshop .oo-webshop-catalog-products .oo-product-card__brand {
		min-height: 34px !important;
		padding: 0.65rem 1rem 0 !important;
	}

	.oo-sport-modern-catalog-products .oo-product-card__brand-logo,
	body.oo-webshop .oo-webshop-catalog-products .oo-product-card__brand-logo {
		width: 98px !important;
		height: 27px !important;
		max-width: 98px !important;
		max-height: 27px !important;
	}

	.oo-sport-modern-catalog-products .oo-product-card__body,
	body.oo-webshop .oo-webshop-catalog-products .oo-product-card__body {
		gap: 0.62rem !important;
		padding: 0.75rem 1rem 0.8rem !important;
	}

	.oo-sport-modern-catalog-products .oo-product-card__title,
	body.oo-webshop .oo-webshop-catalog-products .oo-product-card__title {
		min-height: 0 !important;
		font-size: clamp(1.05rem, 5vw, 1.3rem) !important;
		line-height: 1.16 !important;
		-webkit-line-clamp: 3 !important;
	}

	.oo-sport-modern-catalog-products .oo-product-card__price,
	body.oo-webshop .oo-webshop-catalog-products .oo-product-card__price,
	.oo-sport-modern-catalog-products .oo-product-card__price .oo-product-price__primary,
	body.oo-webshop .oo-webshop-catalog-products .oo-product-card__price .oo-product-price__primary {
		font-size: 1rem !important;
	}

	.oo-sport-modern-catalog-products .oo-product-card__colors,
	body.oo-webshop .oo-webshop-catalog-products .oo-product-card__colors {
		flex: 0 0 auto !important;
		width: auto !important;
		height: auto !important;
		min-height: 38px !important;
		max-height: none !important;
		margin: 0 !important;
		padding: 4px 1rem 8px !important;
		overflow: visible !important;
	}

	.oo-sport-modern-catalog-products .oo-product-card__swatch,
	body.oo-webshop .oo-webshop-catalog-products .oo-product-card__swatch {
		flex-basis: 22px !important;
		width: 22px !important;
		height: 22px !important;
	}

	.oo-sport-modern-catalog-products .oo-product-card__pager,
	body.oo-webshop .oo-webshop-catalog-products .oo-product-card__pager {
		position: absolute !important;
		right: 12px !important;
		bottom: 12px !important;
		left: 12px !important;
		display: flex !important;
		align-items: center !important;
		justify-content: center !important;
		gap: 5px !important;
		z-index: 4 !important;
		pointer-events: none !important;
	}

	.oo-product-card__pager-dot {
		display: block !important;
		width: 6px !important;
		height: 6px !important;
		border: 1px solid rgba(17, 24, 32, 0.55) !important;
		border-radius: 50% !important;
		background: rgba(255, 255, 255, 0.82) !important;
		box-shadow: 0 1px 4px rgba(17, 24, 32, 0.16) !important;
	}

	.oo-product-card__pager-dot.is-active {
		width: 18px !important;
		border-radius: 99px !important;
		border-color: #111820 !important;
		background: #d4ff00 !important;
	}

	.oo-sport-modern-catalog-products .oo-product-card__quick-add,
	body.oo-webshop .oo-webshop-catalog-products .oo-product-card__quick-add {
		display: flex !important;
		align-items: center !important;
		justify-content: space-between !important;
		gap: 14px !important;
		width: calc(100% - 2rem) !important;
		min-height: 52px !important;
		margin: 0.2rem 1rem 1rem !important;
		padding: 0.82rem 1rem !important;
		border: 1px solid #111820 !important;
		border-radius: 8px !important;
		background: #d4ff00 !important;
		color: #111820 !important;
		font-family: "Exo 2", sans-serif !important;
		font-size: 0.86rem !important;
		font-weight: 900 !important;
		line-height: 1 !important;
		letter-spacing: 0.055em !important;
		text-align: left !important;
		text-transform: uppercase !important;
		cursor: pointer !important;
	}

	.oo-product-card__quick-add::after {
		content: "+" !important;
		font-size: 1.35rem !important;
		font-weight: 500 !important;
		line-height: 0.7 !important;
	}

	.oo-product-card__quick-add.is-added {
		background: #111820 !important;
		color: #ffffff !important;
	}

	.oo-product-card__quick-add.is-added::after {
		content: "\2713" !important;
		color: #d4ff00 !important;
	}

	body.oo-webshop .oo-webshop-catalog-products .oo-webshop-card-cta-link {
		width: auto !important;
		margin: 0 1rem 0.8rem !important;
		padding: 0.2rem 0 !important;
	}
}

@media (prefers-reduced-motion: reduce) {
	.oo-product-card__pager-dot {
		transition: none !important;
	}
}
