/**
 * TaraPet Homepage Quick Category Strip Polish V1
 *
 * The existing Elementor content, links, order, and image assets remain untouched.
 */

html body.home.page-id-67138 .elementor.elementor-67157 .e-con-full.tp-marketing-shortcuts-v1,
html body.home.page-id-67141 .elementor.elementor-67160 .e-con-full.tp-marketing-shortcuts-v1 {
	margin-top: 16px !important;
	width: 100% !important;
	gap: 10px !important;
	scroll-padding-inline: 1px;
}

.tp-marketing-shortcuts-v1 > .elementor-widget-image-box {
	height: 122px !important;
	min-height: 122px !important;
	padding: 10px 8px !important;
	border: 1px solid rgb(14 116 114 / 12%) !important;
	border-radius: 12px !important;
	box-shadow: 0 4px 12px rgb(15 23 42 / 3.5%) !important;
	background: #fff;
}

.tp-marketing-shortcuts-v1 > .elementor-widget-image-box:hover {
	border-color: rgb(14 116 114 / 25%) !important;
	box-shadow: 0 5px 14px rgb(15 23 42 / 5%) !important;
}

.tp-marketing-shortcuts-v1 > .elementor-widget-image-box:focus-within {
	outline: 2px solid #0e7472;
	outline-offset: 2px;
}

.tp-marketing-shortcuts-v1 .elementor-image-box-wrapper {
	display: flex !important;
	height: 100% !important;
	flex-direction: column !important;
	align-items: center !important;
	justify-content: flex-start !important;
	gap: 7px !important;
}

.tp-marketing-shortcuts-v1 .elementor-image-box-img {
	display: flex !important;
	width: 60px !important;
	height: 60px !important;
	min-height: 60px !important;
	margin: 0 auto !important;
	align-items: center;
	justify-content: center;
	flex: 0 0 60px;
}

.tp-marketing-shortcuts-v1 .elementor-image-box-img img {
	display: block;
	width: 60px !important;
	height: 60px !important;
	max-width: 100% !important;
	max-height: 100% !important;
	object-fit: contain !important;
	object-position: center !important;
}

.tp-marketing-shortcuts-v1 .elementor-image-box-content {
	display: flex;
	width: 100%;
	min-width: 0;
	flex: 1 1 auto;
	align-items: flex-start;
	justify-content: center;
}

.tp-marketing-shortcuts-v1 .elementor-image-box-title {
	display: -webkit-box;
	width: 100%;
	min-height: 39px;
	margin: 0 !important;
	overflow: hidden;
	color: #0f1e2e !important;
	font-size: 14.5px !important;
	font-weight: 800 !important;
	line-height: 1.35 !important;
	text-align: center !important;
	overflow-wrap: anywhere;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.tp-marketing-shortcuts-v1 .elementor-image-box-title a {
	color: inherit !important;
}

@media (min-width: 768px) and (max-width: 1024px) {
	.tp-marketing-shortcuts-v1 {
		display: flex !important;
		overflow-x: auto !important;
		overscroll-behavior-inline: contain;
		scroll-snap-type: inline mandatory !important;
		-webkit-overflow-scrolling: touch;
	}

	.tp-marketing-shortcuts-v1 > .elementor-widget-image-box {
		width: calc((100% - 35px) / 4.5) !important;
		min-width: 0 !important;
		max-width: none !important;
		flex: 0 0 calc((100% - 35px) / 4.5) !important;
		scroll-snap-align: start;
	}
}

@media (max-width: 767px) {
	.tp-marketing-shortcuts-v1 {
		display: flex !important;
		overflow-x: auto !important;
		overflow-y: hidden !important;
		overscroll-behavior-inline: contain;
		scroll-snap-type: inline mandatory !important;
		-webkit-overflow-scrolling: touch;
	}

	.tp-marketing-shortcuts-v1 > .elementor-widget-image-box {
		width: calc((100% - 15px) / 2.5) !important;
		min-width: 0 !important;
		max-width: none !important;
		flex: 0 0 calc((100% - 15px) / 2.5) !important;
		scroll-snap-align: start;
	}
}

@media (prefers-reduced-motion: reduce) {
	.tp-marketing-shortcuts-v1 {
		scroll-behavior: auto !important;
	}
}
