.tipps {
	--tipps-border: #d9dee5;
	--tipps-muted: #667085;
	--tipps-sale: #b42318;
	--tipps-text: #1f2937;
	--tipps-surface: #ffffff;
	--tipps-accent: #0f766e;
	--tipps-button-bg: var(--tipps-text);
	--tipps-button-border: var(--tipps-text);
	--tipps-button-color: #ffffff;
	--tipps-button-hover-bg: var(--tipps-accent);
	--tipps-button-hover-border: var(--tipps-accent);
	--tipps-button-hover-color: #ffffff;
	--tipps-button-radius: 4px;
	--tipps-arrow-bg: #ffffff;
	--tipps-arrow-border: var(--tipps-border);
	--tipps-arrow-color: var(--tipps-text);
	--tipps-arrow-hover-bg: var(--tipps-accent);
	--tipps-arrow-hover-border: var(--tipps-accent);
	--tipps-arrow-hover-color: #ffffff;
	box-sizing: border-box;
	color: var(--tipps-text);
	max-width: 100%;
	min-width: 0;
	position: relative;
	width: 100%;
}

.tipps *,
.tipps *::before,
.tipps *::after {
	box-sizing: inherit;
}

.widget:has(.tipps),
.wp-block-widget:has(.tipps) {
	max-width: 100%;
	min-width: 0;
}

/* ===============================================
   LOADING TEXT
   =============================================== */

.tipps-loading {
	min-height: 180px;
}

.tipps-loading .tipps-swiper {
	opacity: 0;
	pointer-events: none;
	visibility: hidden;
}

.tipps-loading-text {
	align-items: center;
	color: var(--tipps-muted);
	display: none;
	font-size: 14px;
	inset: 0;
	justify-content: center;
	min-height: 180px;
	padding: 24px;
	position: absolute;
	text-align: center;
	z-index: 4;
}

.tipps-loading .tipps-loading-text {
	display: flex;
}

.tipps-ready .tipps-loading-text {
	display: none;
}

/* ===============================================
   SWIPER
   =============================================== */

.tipps-swiper {
	max-width: 100%;
	min-width: 0;
	overflow: hidden;
	padding: 2px 2px 42px;
	width: 100%;
}

.tipps .swiper-wrapper {
	max-width: 100%;
	min-width: 0;
}

.tipps[data-dots="0"] .tipps-swiper {
	padding-bottom: 2px;
}

.tipps-slide {
	height: auto;
	min-width: 0;
}

/* ===============================================
   SWIPER > PRODUCT
   =============================================== */

.tipps-product {
	background: var(--tipps-surface);
	display: flex;
	flex-direction: column;
	height: 100%;
	min-width: 0;
	overflow: hidden;
	position: relative;
}

/* ===============================================
   SWIPER > PRODUCT IMAGE
   =============================================== */

.tipps-media {
	aspect-ratio: 1 / 1;
	background: #f3f5f7;
	flex: 0 0 auto;
	overflow: hidden;
	position: relative;
	width: 100%;
}

.tipps-image-link {
	display: block;
	height: 100%;
	width: 100%;
}

.tipps-image,
.tipps-media img {
	display: block;
	height: 100%;
	object-fit: cover;
	transition: transform 220ms ease;
	width: 100%;
}

.tipps-product:hover .tipps-image {
	transform: scale(1.035);
}

/* ===============================================
   SWIPER > PRODUCT CONTENT
   =============================================== */

.tipps-content {
	align-items: flex-start;
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	gap: 8px;
	padding: 14px 0 0;
}

/* ===============================================
   SWIPER > PRODUCT CONTENT > CATEGORY
   =============================================== */

.tipps-category {
	color: var(--tipps-muted);
	font-size: 12px;
	line-height: 1.35;
	text-transform: uppercase;
}

.tipps-category a {
	color: inherit;
	text-decoration: none;
}

.tipps-category a:hover,
.tipps-title a:hover {
	color: var(--tipps-accent);
}

/* ===============================================
   SWIPER > PRODUCT CONTENT > PRODUCT TITLE
   =============================================== */

.tipps-title {
	font-size: 16px;
	font-weight: 650;
	line-height: 1.32;
	margin: 0;
	width: 100%;
}

.tipps .tipps-title a {
	color: inherit;
	text-decoration: none;
}

/* ===============================================
   SWIPER > PRODUCT CONTENT > PRODUCT RATING
   =============================================== */

.tipps-rating {
	min-height: 18px;
}

.tipps-rating .star-rating {
	float: none;
	font-size: 13px;
	margin: 0;
}

/* ===============================================
   SWIPER > PRODUCT CONTENT > PRODUCT SUMMARY
   =============================================== */

.tipps-excerpt {
	color: var(--tipps-muted);
	font-size: 14px;
	line-height: 1.5;
}

/* ===============================================
   SWIPER > PRODUCT CONTENT > PRODUCT PRICE
   =============================================== */

.tipps .tipps-price {
	color: var(--tipps-text);
	font-size: 15px;
	font-weight: 700;
	line-height: 1.35;
	margin-top: auto;
}

.tipps .tipps-price .woocommerce-Price-amount,
.tipps .tipps-price .woocommerce-Price-amount bdi,
.tipps .tipps-price .woocommerce-Price-currencySymbol {
	color: inherit !important;
	display: inline;
	font-size: inherit !important;
	font-weight: inherit !important;
	line-height: inherit !important;
}

.tipps .tipps-price del {
	color: var(--tipps-muted);
	font-weight: 400;
	margin-right: 6px;
	opacity: 0.8;
}

.tipps .tipps-price ins {
	background: transparent;
	color: var(--tipps-sale);
	text-decoration: none;
}

/* ===============================================
   SWIPER > PRODUCT CONTENT > SALE BADGE
   =============================================== */

.tipps-badge {
	background: var(--tipps-sale);
	border-radius: 3px;
	color: #ffffff !important;
	display: inline-flex;
	font-size: 12px;
	font-weight: 700;
	left: 10px;
	line-height: 1;
	padding: 6px 8px;
	position: absolute;
	text-decoration: none !important;
	text-transform: uppercase;
	top: 10px;
	z-index: 2;
}

.tipps-content > .tipps-badge {
	left: auto;
	position: static;
	top: auto;
}

/* ===============================================
   SWIPER > PRODUCT CONTENT > BUTTON
   =============================================== */

.tipps a.tipps-button,
.tipps a.tipps-button:visited {
	-webkit-appearance: none;
	appearance: none;
	align-items: center;
	align-self: flex-start;
	background: var(--tipps-button-bg) !important;
	border: 1px solid var(--tipps-button-border) !important;
	border-radius: var(--tipps-button-radius);
	box-shadow: none !important;
	color: var(--tipps-button-color) !important;
	cursor: pointer;
	display: inline-flex;
	font-family: inherit;
	font-size: 13px;
	font-weight: 700;
	justify-content: center;
	line-height: 1.2;
	margin-top: 4px;
	min-height: 38px;
	outline-offset: 2px;
	padding: 10px 14px;
	text-decoration: none !important;
	transition: background 160ms ease, border-color 160ms ease, color 160ms ease;
}

.tipps a.tipps-button:hover,
.tipps a.tipps-button:focus {
	background: var(--tipps-button-hover-bg) !important;
	border-color: var(--tipps-button-hover-border) !important;
	color: var(--tipps-button-hover-color) !important;
	text-decoration: none !important;
}

.tipps a.added_to_cart {
	display: none !important;
}

.tipps a.tipps-button.tipps-button-added {
	animation: tipps-button-added 220ms ease;
	background: var(--tipps-button-hover-bg) !important;
	border-color: var(--tipps-button-hover-border) !important;
	color: var(--tipps-button-hover-color) !important;
}

@keyframes tipps-button-added {
	0% {
		transform: scale(1);
	}

	50% {
		transform: scale(1.03);
	}

	100% {
		transform: scale(1);
	}
}

/* ===============================================
   SWIPER > PAGINATION
   =============================================== */

.tipps-pagination.swiper-pagination {
	line-height: 1;
}

.tipps-pagination .swiper-pagination-bullet {
	background: #9aa4b2;
	opacity: 0.55;
}

.tipps-pagination .swiper-pagination-bullet-active {
	background: var(--tipps-accent);
	opacity: 1;
}

/* ===============================================
   SWIPER > ARROWS
   =============================================== */

.tipps .tipps-arrow {
	align-items: center;
	--swiper-navigation-color: var(--tipps-arrow-color);
	background: var(--tipps-arrow-bg) !important;
	background-color: var(--tipps-arrow-bg) !important;
	background-image: none !important;
	border: 1px solid var(--tipps-arrow-border);
	border-color: var(--tipps-arrow-border) !important;
	border-radius: 999px;
	box-shadow: 0 8px 18px rgba(15, 23, 42, 0.12);
	color: var(--tipps-arrow-color) !important;
	display: flex;
	justify-content: center;
	margin-top: -38px;
	transition: background 160ms ease, border-color 160ms ease, color 160ms ease, opacity 160ms ease;
	width: 38px;
	height: 38px;
	padding: 0;
}

.tipps .tipps-arrow::after {
	color: var(--tipps-arrow-color) !important;
	font-size: 15px;
	font-weight: 700;
}

.tipps .tipps-arrow:hover,
.tipps .tipps-arrow:focus {
	--swiper-navigation-color: var(--tipps-arrow-hover-color);
	background: var(--tipps-arrow-hover-bg) !important;
	background-color: var(--tipps-arrow-hover-bg) !important;
	background-image: none !important;
	border-color: var(--tipps-arrow-hover-border) !important;
	color: var(--tipps-arrow-hover-color) !important;
}

.tipps .tipps-arrow:hover::after,
.tipps .tipps-arrow:focus::after {
	color: var(--tipps-arrow-hover-color) !important;
}

.tipps .tipps-arrow.swiper-button-disabled {
	opacity: 0.35;
}

/* ===============================================
   CLASSIC LAYOUT
   =============================================== */

.tipps-classic .tipps-swiper {
	background-color: #fff;
	border: 1px solid var(--tipps-border);
	padding: 16px;
	border-radius: 8px;
}

.tipps-classic .tipps-product {
	padding-bottom: 16px;
}

/* ===============================================
   CARD LAYOUT
   =============================================== */

.tipps-card .tipps-product {
	border: 1px solid var(--tipps-border);
	border-radius: 8px;
}

.tipps-card .tipps-content {
	padding: 16px;
}

.tipps-card .tipps-media {
	border-bottom: 1px solid var(--tipps-border);
}

/* ===============================================
   MINIMAL LAYOUT
   =============================================== */

.tipps-minimal .tipps-product {
	background: none;
}

.tipps-minimal .tipps-media {
	border-radius: 8px;
}

.tipps-minimal .tipps-content {
	padding-top: 10px;
}

.tipps-slide-placeholder,
.tipps-message {
	border: 1px solid #dcdcde;
	color: #50575e;
	font-size: 14px;
	line-height: 1.5;
	padding: 16px;
	text-align: center;
}

@media (max-width: 640px) {
	.tipps-swiper {
		padding-bottom: 36px;
	}

	.tipps-arrow {
		display: none;
	}
}
