.tpwp-discounts-wrapper {
	width: 100%;
	background: #fff;
	color: #333333;
	font-family: "Montserrat", sans-serif;
	margin: 0;
}

.site-content:has(.tpwp-discounts-wrapper),
.entry-content:has(.tpwp-discounts-wrapper) {
	padding-top: 0;
}

.entry-content:has(.tpwp-discounts-wrapper) > *:not(.tpwp-discounts-wrapper),
.entry-header:has(+ .entry-content .tpwp-discounts-wrapper),
.ast-article-single:has(.tpwp-discounts-wrapper) > .entry-header {
	display: none;
}

.ast-separate-container .ast-article-single:has(.tpwp-discounts-wrapper),
.ast-separate-container .ast-article-post:has(.tpwp-discounts-wrapper),
.ast-separate-container .site-content:has(.tpwp-discounts-wrapper) .ast-container,
.site-content:has(.tpwp-discounts-wrapper) .ast-container,
.entry-content:has(.tpwp-discounts-wrapper) {
	max-width: none;
	width: 100%;
	padding: 0;
	margin: 0;
	background: #fff;
}

.tpwp-discounts-wrapper,
.entry-content .tpwp-discounts-wrapper {
	width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
}

.tpwp-discounts-wrapper * {
	box-sizing: border-box;
}

.tpwp-discounts-wrapper .tpwp-hero {
	background: linear-gradient(rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.18)), var(--tpwp-hero-img, url("/wp-content/uploads/2020/10/CATEDRAL-min.png")) center/cover;
	height: 400px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	text-align: center;
	color: #fff;
	padding: 0 20px;
	margin-bottom: 0;
}

.tpwp-discounts-wrapper .tpwp-hero__title {
	font-family: "Montserrat", sans-serif;
	font-size: 48px;
	font-weight: 800;
	color: #fff !important;
	line-height: 1.18;
	margin: 0 0 15px;
	text-transform: uppercase;
	text-shadow: 0 3px 8px rgba(0, 0, 0, 0.55);
}

.tpwp-discounts-wrapper .tpwp-hero__subtitle {
	font-family: "Montserrat", sans-serif;
	font-size: 18px;
	font-weight: 600;
	color: #fff !important;
	margin: 0;
	text-shadow: 0 2px 6px rgba(0, 0, 0, 0.45);
}

.tpwp-discounts-wrapper .tpwp-filters-container {
	max-width: 900px;
	margin: 40px auto;
	display: flex;
	justify-content: space-between;
	border-bottom: 1px solid #eaeaea;
	padding-bottom: 0;
}

.tpwp-discounts-wrapper .tpwp-filter-item,
.entry-content .tpwp-discounts-wrapper .tpwp-filter-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	padding: 10px 20px;
	cursor: pointer;
	color: #666666;
	font-family: "Montserrat", sans-serif;
	font-weight: 600;
	font-size: 14px;
	line-height: 1.2;
	border: 0;
	border-bottom: 3px solid transparent;
	border-radius: 0;
	transition: all 0.3s;
	background: none;
	box-shadow: none;
	text-transform: none;
	min-height: 77px;
}

.tpwp-discounts-wrapper .tpwp-filter-item i {
	font-size: 24px;
}

.tpwp-discounts-wrapper .tpwp-filter-item.tpwp-filter-item--active,
.tpwp-discounts-wrapper .tpwp-filter-item:hover {
	color: #d81b60;
	border-bottom-color: #d81b60;
	background: transparent;
}

.tpwp-discounts-wrapper .tpwp-grid {
	max-width: 1100px;
	margin: 0 auto 50px;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	gap: 30px;
	padding: 0 20px;
}

.tpwp-discounts-wrapper .tpwp-card {
	border: 1px solid #eaeaea;
	border-radius: 16px;
	overflow: visible;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
	background: #fff;
	transition: transform 0.3s ease;
}

.tpwp-discounts-wrapper .tpwp-card:hover {
	transform: translateY(-5px);
}

.tpwp-discounts-wrapper .tpwp-card__photo {
	position: relative;
	height: 180px;
	overflow: hidden;
	border-radius: 16px 16px 0 0;
	background: #f0f0f0;
}

.tpwp-discounts-wrapper .tpwp-card__photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.tpwp-discounts-wrapper .tpwp-card__photo--placeholder {
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, #f5f5f5, #e0e0e0);
}

.tpwp-discounts-wrapper .tpwp-card__badge {
	position: absolute;
	top: 20px;
	right: -10px;
	background: #d81b60;
	color: #fff;
	width: 60px;
	height: 60px;
	border-radius: 50%;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	font-weight: 800;
	font-size: 16px;
	line-height: 1.1;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
	z-index: 2;
	font-family: "Montserrat", sans-serif;
}

.tpwp-discounts-wrapper .tpwp-card__badge span {
	font-size: 12px;
	font-weight: 600;
}

.tpwp-discounts-wrapper .tpwp-card__logo {
	position: absolute;
	bottom: -25px;
	left: 20px;
	width: 60px;
	height: 60px;
	background: #fff;
	border-radius: 10px;
	padding: 5px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: "Montserrat", sans-serif;
	font-size: 10px;
	font-weight: 700;
	text-align: center;
	color: #333333;
}

.tpwp-discounts-wrapper .tpwp-card__body {
	padding: 40px 20px 20px;
}

.tpwp-discounts-wrapper .tpwp-card__name {
	font-family: "Montserrat", sans-serif;
	font-size: 18px;
	font-weight: 700;
	color: #333333;
	margin: 0 0 10px;
}

.tpwp-discounts-wrapper .tpwp-card__info {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	font-size: 12px;
	color: #666666;
	margin-bottom: 20px;
	line-height: 1.4;
}

.tpwp-discounts-wrapper .tpwp-card__info i {
	color: #333333;
	margin-top: 2px;
}

.tpwp-discounts-wrapper .tpwp-card__cta {
	display: block;
	width: 100%;
	text-align: center;
	border: 2px solid #d81b60;
	border-radius: 25px;
	color: #d81b60;
	background: transparent;
	padding: 10px;
	font-family: "Montserrat", sans-serif;
	font-size: 13px;
	font-weight: 700;
	text-decoration: none;
	transition: all 0.3s;
}

.tpwp-discounts-wrapper .tpwp-card__cta:hover {
	background: #d81b60;
	color: #fff;
}

.tpwp-discounts-wrapper .tpwp-cta-section {
	text-align: center;
	padding: 40px 20px;
}

.tpwp-discounts-wrapper .tpwp-cta-section h2 {
	font-family: "Montserrat", sans-serif;
	font-weight: 800;
	margin: 0 0 20px;
}

.tpwp-discounts-wrapper .tpwp-cta-btn {
	background: #d81b60;
	color: #fff;
	padding: 15px 30px;
	border-radius: 30px;
	text-decoration: none;
	font-family: "Montserrat", sans-serif;
	font-weight: 700;
	display: inline-block;
}

.tpwp-discounts-wrapper .tpwp-cta-btn:hover {
	color: #fff;
}

.tpwp-discounts-wrapper .tpwp-footer-gallery {
	display: flex;
	width: 100%;
	height: 150px;
	overflow: hidden;
	margin: 0 0 20px;
}

.tpwp-discounts-wrapper .tpwp-footer-gallery img {
	width: calc(100% / 8);
	object-fit: cover;
}

.tpwp-discounts-wrapper .tpwp-footer-copy {
	text-align: center;
	padding: 0 20px 20px;
	margin: 0;
	font-family: "Montserrat", sans-serif;
	font-size: 12px;
	color: #666666;
}

.tpwp-discounts-wrapper .tpwp-empty {
	text-align: center;
	color: #757575;
	padding: 48px 20px;
	font-family: "Montserrat", sans-serif;
}

.tpwp-discounts-wrapper .tpwp-hidden {
	display: none !important;
}

@media (max-width: 768px) {
	.tpwp-discounts-wrapper .tpwp-hero {
		height: 300px;
	}

	.tpwp-discounts-wrapper .tpwp-filters-container {
		overflow-x: auto;
		padding-bottom: 10px;
		max-width: 100%;
		margin: 20px 16px;
		gap: 18px;
	}

	.tpwp-discounts-wrapper .tpwp-filter-item {
		flex: 0 0 auto;
		padding: 10px 14px;
	}

	.tpwp-discounts-wrapper .tpwp-hero__title {
		font-size: 32px;
	}

	.tpwp-discounts-wrapper .tpwp-grid {
		grid-template-columns: 1fr;
		gap: 16px;
	}

	.tpwp-discounts-wrapper .tpwp-footer-gallery {
		display: none;
	}
}
