/* Category slider. Visual tokens are CSS variables so Elementor can restyle every part. */

.elementor-widget-medadak-slider-category,
.elementor-widget-medadak-slider-category > .elementor-widget-container {
	overflow: visible;
}

.medadak_slider-category {
	--box-bg: #f3f8fb;
	--box-radius: 30px;
	--box-height: 0px;
	--item-width: 233px;
	--item-height: 210px;
	--item-bg: #ffffff;
	--item-bg-hover: #ffffff;
	--item-radius: 30px;
	--item-gap: 8px;
	--item-pad: 16px;
	--image-width: 64px;
	--image-height: 86px;
	--image-fit: contain;
	--image-radius: 0px;
	--title-color: #1c1c25;
	--title-hover: #0060fe;
	--count-color: #707486;
	--count-gap: 7px;
	--badge-size: 31px;
	--badge-bg: #0060fe;
	--badge-color: #ffffff;
	--badge-radius: 13px;
	--arrow-offset-x: -20px;
	--arrow-offset-y: 0px;
	--arrow-width: 39px;
	--arrow-height: 89px;
	--arrow-bg: #00000030;
	--arrow-bg-hover: #00000045;
	--arrow-radius: 20px;
	--arrow-pad-y: 16px;
	--arrow-pad-x: 10px;
	--arrow-icon: 20px;
	--arrow-color: #ffffff;
	--arrow-hover: #ffffff;
	--sep-width: 18px;
	--sep-color: #ffffff33;
	--empty-color: #707486;
	--heading-title: #1c1c25;
	--heading-subtitle: #8a93a8;
	--heading-btn-bg: #ffffff;
	--heading-btn-color: #1c1c25;
	--heading-btn-border: #f1f4f8;
	position: relative;
	display: block;
	width: 100%;
	height: auto;
	min-height: var(--box-height);
	padding: 11px;
	background: var(--box-bg);
	border-radius: var(--box-radius);
	box-sizing: border-box;
	overflow: visible;
}

.medadak_slider-category,
.medadak_slider-category *,
.medadak_slider-category *::before,
.medadak_slider-category *::after {
	box-sizing: border-box;
}

.medadak_heading-slider-category {
	display: none;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	width: 100%;
	flex: 0 0 100%;
	padding: 4px 6px 10px;
}

.medadak_heading-slider-category-title {
	min-width: 0;
	overflow: hidden;
}

.medadak_heading-slider-category-heading {
	margin: 0 0 2px;
	font-size: 20px;
	font-weight: 700;
	line-height: 1.35;
	color: var(--heading-title);
}

.medadak_heading-slider-category-subtitle {
	margin: 0;
	font-size: 14px;
	line-height: 1.5;
	color: var(--heading-subtitle);
}

.medadak_heading-slider-category-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	gap: 10px;
	padding: 12px 22px;
	background: var(--heading-btn-bg);
	color: var(--heading-btn-color);
	font-size: 14px;
	font-weight: 500;
	line-height: 1;
	text-decoration: none;
	border-radius: 50px;
	border: 3px solid var(--heading-btn-border);
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.medadak_heading-slider-category-btn:hover {
	text-decoration: none;
	color: var(--heading-btn-color);
}

.medadak_heading-slider-category-btn-text {
	white-space: nowrap;
}

.medadak_heading-slider-category-btn i,
.medadak_heading-slider-category-btn svg {
	display: block;
	font-size: 16px;
	width: 1em;
	height: 1em;
}

.medadak_slider-category.is-heading-always {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	row-gap: 4px;
}

.medadak_slider-category.is-heading-always .medadak_heading-slider-category {
	display: flex;
}

.medadak_slider-category.is-heading-always .medadak_slider-category-swiper {
	width: 100%;
	flex: 0 0 100%;
}

.medadak_slider-category.is-heading-always.is-hide-arrows-heading .medadak_arrow-slider-category {
	display: none;
}

.medadak_slider-category-swiper {
	overflow: hidden;
	width: 100%;
	height: auto !important;
	border-radius: inherit;
}

.medadak_slider-category-swiper .swiper-wrapper {
	align-items: stretch;
	height: auto !important;
}

.medadak_slider-category.is-slides-auto .swiper-slide {
	width: var(--item-width);
	height: auto !important;
}

.medadak_slider-category.is-slides-number .swiper-slide {
	height: auto;
}

.medadak-item-slider-category {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: auto;
	min-height: var(--item-height);
	padding: var(--item-pad);
	gap: var(--item-gap);
	background: var(--item-bg);
	border-radius: var(--item-radius);
	text-decoration: none;
	color: inherit;
	cursor: default;
	overflow: visible;
	transition: background-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

a.medadak-item-slider-category {
	cursor: pointer;
}

.medadak-item-slider-category:hover {
	background: var(--item-bg-hover);
	text-decoration: none;
	color: inherit;
}

.medadak-item-slider-category__image {
	display: flex;
	align-items: center;
	justify-content: center;
	width: var(--image-width);
	height: var(--image-height);
	line-height: 0;
	flex-shrink: 0;
}

.medadak-item-slider-category__image img {
	display: block;
	width: var(--image-width);
	height: var(--image-height);
	object-fit: var(--image-fit);
	border-radius: var(--image-radius);
}

.medadak-item-slider-category__title {
	margin: 0;
	width: 100%;
	max-width: 100%;
	flex: 0 0 auto;
	font-size: 16px;
	line-height: 1.4;
	font-weight: 700;
	color: var(--title-color);
	text-align: center;
	text-decoration: none;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

a.medadak-item-slider-category:hover .medadak-item-slider-category__title {
	color: var(--title-hover);
}

.medadak-item-slider-category__count {
	margin: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	flex-wrap: nowrap;
	width: 100%;
	max-width: 100%;
	gap: var(--count-gap);
	font-size: 14px;
	line-height: 1;
	color: var(--count-color);
}

.medadak-item-slider-category__label {
	min-width: 0;
	white-space: nowrap;
	overflow: hidden;
}

.medadak-item-slider-category__badge {
	display: flex;
	align-items: center;
	justify-content: center;
	width: var(--badge-size);
	height: var(--badge-size);
	flex-shrink: 0;
	background: var(--badge-bg);
	color: var(--badge-color);
	font-size: 14px;
	border-radius: var(--badge-radius);
}

.medadak_arrow-slider-category {
	position: absolute;
	top: 50%;
	left: var(--arrow-offset-x);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: space-between;
	width: var(--arrow-width);
	height: var(--arrow-height);
	padding: var(--arrow-pad-y) var(--arrow-pad-x);
	background: var(--arrow-bg);
	border-radius: var(--arrow-radius);
	box-shadow: 9px 1px 18px 2px #00000030;
	transform: translateY(calc(-50% + var(--arrow-offset-y)));
	z-index: 3;
	transition: background-color 0.2s ease;
}

.medadak_slider-category.is-arrows-right .medadak_arrow-slider-category {
	left: auto;
	right: var(--arrow-offset-x);
}

.medadak_arrow-slider-category:hover {
	background: var(--arrow-bg-hover);
}

.medadak-slider-category-nav {
	appearance: none;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--arrow-color);
	font-size: var(--arrow-icon);
	line-height: 1;
	cursor: pointer;
}

.medadak-slider-category-nav i,
.medadak-slider-category-nav svg {
	display: block;
	width: 1em;
	height: 1em;
	font-size: inherit;
}

.medadak-slider-category-nav:hover,
.medadak-slider-category-nav:focus-visible {
	color: var(--arrow-hover);
}

.medadak-slider-category-nav.swiper-button-disabled {
	opacity: 0.35;
	pointer-events: none;
}

.medadak-separator-slider-category {
	display: block;
	width: var(--sep-width);
	border-bottom: 1px solid var(--sep-color);
	flex-shrink: 0;
}

.medadak-slider-category-empty {
	margin: 0;
	padding: 24px 16px;
	width: 100%;
	flex: 0 0 100%;
	text-align: center;
	color: var(--empty-color);
}

@media (max-width: 1024px) {
	.medadak_slider-category {
		--item-width: 200px;
	}

	.medadak_slider-category.is-heading-tablet {
		display: flex;
		flex-wrap: wrap;
		align-items: stretch;
		row-gap: 4px;
		padding: 16px 14px 14px;
	}

	.medadak_slider-category.is-heading-tablet .medadak_heading-slider-category {
		display: flex;
	}

	.medadak_slider-category.is-heading-tablet .medadak_slider-category-swiper {
		width: 100%;
		flex: 0 0 100%;
	}

	.medadak_slider-category.is-heading-tablet.is-hide-arrows-heading .medadak_arrow-slider-category {
		display: none;
	}
}

@media (max-width: 767px) {
	.medadak_slider-category {
		--item-width: 168px;
		--arrow-offset-x: -8px;
		--arrow-width: 34px;
		--arrow-height: 78px;
	}

	.medadak_slider-category.is-heading-mobile {
		display: flex;
		flex-wrap: wrap;
		align-items: stretch;
		row-gap: 4px;
		padding: 16px 14px 14px;
	}

	.medadak_slider-category.is-heading-mobile .medadak_heading-slider-category {
		display: flex;
	}

	.medadak_slider-category.is-heading-mobile .medadak_slider-category-swiper {
		width: 100%;
		flex: 0 0 100%;
	}

	.medadak_slider-category.is-heading-mobile.is-hide-arrows-heading .medadak_arrow-slider-category {
		display: none;
	}

	.medadak_heading-slider-category-heading {
		font-size: 16px;
	}

	.medadak_heading-slider-category-subtitle {
		font-size: 12px;
	}

	.medadak_slider-category.is-heading-title-nowrap .medadak_heading-slider-category-heading {
		white-space: nowrap;
	}

	.medadak_slider-category.is-heading-subtitle-nowrap .medadak_heading-slider-category-subtitle {
		white-space: nowrap;
	}

	.medadak_heading-slider-category-btn {
		padding: 10px 14px;
		font-size: 13px;
		gap: 6px;
	}
}

@media (max-width: 320px) {

	.medadak_heading-slider-category {
		flex-direction: column !important;
		justify-content: flex-start !important;
		align-items: flex-start !important;
	}

}