:root {
	--tnc-deals-bg: #f3f5fb;
	--tnc-deals-card-bg: #ffffff;
	--tnc-deals-primary: #2c6eff;
	--tnc-deals-warning: #f6c344;
	--tnc-deals-text: #1f2937;
	--tnc-deals-muted: #6b7280;
	--tnc-deals-border: #e2e8f0;
	--tnc-deals-radius: 16px;
	--tnc-deals-shadow: 0 18px 35px rgba(15, 23, 42, 0.08);
}

.tnc-deals-wrapper {
	font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.tnc-deals-header {
	display: grid;
	gap: 24px;
}

.tnc-deals-search {
	position: relative;
	display: flex;
	align-items: center;
	background: #fff;
	border-radius: 999px;
	padding: 6px;
	max-width: 848px;
	margin: auto;
	width: 100%;
	border-radius: 100px;
    border: 1px solid #4A5F66;
    background: #FFF;
}

.tnc-deals-search-input {
	flex: 1;
	border: none;
	border-radius: 999px;
	padding: 12px 20px;
	font-size: 15px;
	background: transparent;
	outline: none;
	color: #4A5F66;
	font-family: Inter;
	font-size: 18px;
	font-style: normal;
	font-weight: 500;
	line-height: 160%; /* 28.8px */
}

.tnc-deals-search-submit {
	border-radius: 100px;
	background: #0055D4;
	border: none;
	padding: 10px 28px;
	color:#FFF;
	text-align: center;
	/* Paragraph/18/Medium */
	font-family: "DM Sans";
	font-size: 18px;
	font-style: normal;
	font-weight: 500;
	line-height: 160%; /* 28.8px */
	letter-spacing: -0.36px;
	cursor: pointer;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
	margin-right: 22px !important;
}


.tnc-deals-filters {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
	max-width: 1170px;
    margin: auto;
    margin-top: 30px;
    margin-bottom: 30px;
}

.tnc-deals-filter {
	border-radius: 6px;
	border: 1px solid #D2DAE6;
	background: #FFF;
	transition: all 0.2s ease;
	color: #0F2D35;
text-align: center;

/* Paragraph/16/Medium */
font-family: "DM Sans";
font-size: 16px;
font-style: normal;
font-weight: 500;
line-height: 150%; /* 24px */
padding: 10px 20px;
cursor: pointer;
}

.tnc-deals-filter:hover {
	color: #0055D4;
}

.tnc-deals-filter.active {
	background: #0055D4;
	color: #fff;
}

.tnc-deals-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(353px, 1fr));
	gap: 44px;
	margin-top: 32px;
}

.tnc-deals-wrapper-loading {
	pointer-events: none;
}

.tnc-deals-wrapper-loading .tnc-deals-grid {
	opacity: 0.4;
}

.tnc-deals-card {
	border-radius: 6px;
	border: 1px solid #D2DAE6;
	background: #FFF;
	overflow: hidden;
	display: flex;
	flex-direction: column;
}

.tnc-deals-card-header {
	position: relative;
	padding: 4px;
	background: #fff;
	color: #fff;
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.tnc-deals-card-badges {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.tnc-deals-card-badge {
	display: flex;
	align-items: flex-start;
	gap: 14px;
}

.tnc-deals-card-badge-percentage {
	position: absolute;
	top: 20px;
	left:18px;
	z-index: 1;
	border-radius: 2px;
    background: #FACC15;
	color: #0F2D35;
	text-align: center;
	/* Paragraph/14/Semibold */
	font-family: "DM Sans";
	font-size: 14px;
	font-style: normal;
	font-weight: 600;
	line-height: 150%; /* 21px */
}
/* 
.tnc-deals-featured {
	//width: 100%;
	display: block;
} */

span.tnc-deals-card-badge-icon {
    margin-top: 3px;
}

.tnc-deals-card-title {
	color: #000;
	font-family: Inter;
	font-size: 20px;
	font-style: normal;
	font-weight: 600;
	line-height: normal;
	padding-bottom: 0px !important;
}

.tnc-deals-card-body {
	padding: 24px;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.tnc-deals-card-meta {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.tnc-deals-card-description {
	color: #4A5F66;
	font-family: "DM Sans";
	font-size: 16px;
	font-style: normal;
	font-weight: 500;
	line-height: 145%; /* 23.2px */
}

.tnc-deals-card-meta-row {
	display: flex;
	align-items: center;
	gap: 12px;
	font-size: 14px;
	color: var(--tnc-deals-muted);
}

.tnc-deals-card-meta-icon {
	display: flex;
	align-items: center;
	justify-content: center;
}



.tnc-deals-card-meta-text {
	display: flex;
	gap: 6px;
	align-items: baseline;
}

.tnc-deals-card-meta-label {
	color: #0F2D35;
	text-align: center;

	/* Paragraph/16/Medium */
	font-family: "DM Sans";
	font-size: 16px;
	font-style: normal;
	font-weight: 500;
	line-height: 150%; /* 24px */
}

.tnc-deals-card-meta-value {
	color: #4A5F66;
text-align: center;

/* Paragraph/16/Medium */
font-family: "DM Sans";
font-size: 16px;
font-style: normal;
font-weight: 500;
line-height: 150%; /* 24px */	
}



.tnc-deals-card-note {
	background: #f1f5f9;
	border-radius: 12px;
	padding: 12px 16px;
	font-size: 14px;
}

.tnc-deals-card-actions {
	margin-top: auto;
	padding: 0 24px 24px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-top: 10px;
}

.tnc-deals-card-button {
	border-radius: 100px;
	background: #0055D4;
	color: #FFF;
	text-align: center;
	font-family: Inter;
	font-size: 16px;
	font-style: normal;
	font-weight: 600;
	line-height: normal;
	letter-spacing: -0.48px;
	padding: 14px 24px;
	cursor: pointer;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 20px;
	transition: background 0.3s ease; /* smooth transition */
	width: 100%;
}

.tnc-deals-card-button:hover {
	background: #0465f7;
}

.tnc-deals-card-button-icon {
	display: inline-flex;
	width: 18px;
	height: 18px;
}

.tnc-deals-card-button-icon svg {
	width: 18px;
	height: 18px;
}

.tnc-deals-coupon {
	display: flex;
	align-items: center;
	gap: 14px;
}

.tnc-deals-coupon-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--tnc-deals-primary);
	font-size: 18px;
}



.tnc-deals-coupon-label,
.tnc-deals-card-badge-label {
	color: #0F2D35;
	font-family: "DM Sans";
	font-size: 16px;
	font-style: normal;
	font-weight: 500;
	line-height: 150%; /* 24px */
}

.tnc-deals-coupon-value,
.tnc-deals-card-badge-value {
	color: #4A5F66;
	font-family: "DM Sans";
	font-size: 16px;
	font-style: normal;
	font-weight: 500;
	line-height: 150%; /* 24px */
}

.tnc-deals-pagination {
	margin-top: 70px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
}

.tnc-deals-pagination.tnc-deals-pagination-hidden {
	display: none;
}

.tnc-deals-pagination button {
	border: none;
	border-radius: 4px;
	padding: 6px 20px;
	background: #fff;
	color: #4A5F66;
	font-family: "DM Sans";
	font-size: 16px;
	font-style: normal;
	font-weight: 500;
	line-height: 150%;
	cursor: pointer;
	transition: all 0.2s ease;
	text-decoration: none;
}

.tnc-deals-pagination button[disabled] {
	opacity: 0.4;
	cursor: not-allowed;
}

.tnc-deals-pagination button:not([disabled]):hover {
	color: #0055D4;
}

.tnc-deals-pages {
	display: flex;
	gap: 8px;
}

.tnc-deals-page {
	min-width: 36px;
	height: 36px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 10px;
	background: #fff;
	box-shadow: inset 0 0 0 1px rgba(148, 163, 184, 0.35);
	color: var(--tnc-deals-muted);
	font-weight: 600;
	cursor: pointer;
	transition: all 0.2s ease;
}

.tnc-deals-page:hover {
	color: var(--tnc-deals-primary);
	box-shadow: inset 0 0 0 1px rgba(44, 110, 255, 0.4);
}

.tnc-deals-page.active {
	background: var(--tnc-deals-primary);
	color: #fff;
	box-shadow: none;
}

.tnc-deals-empty {
	text-align: center;
	padding: 48px 0;
	color: var(--tnc-deals-muted);
	font-size: 16px;
}

.tnc-deals-grid-loading {
	min-height: 240px;
	position: relative;
}

.tnc-deals-grid-loading::after {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	width: 48px;
	height: 48px;
	margin: -24px 0 0 -24px;
	border-radius: 50%;
	border: 4px solid rgba(44, 110, 255, 0.2);
	border-top-color: var(--tnc-deals-primary);
	animation: tnc-spin 0.8s linear infinite;
}

@keyframes tnc-spin {
	to {
		transform: rotate(360deg);
	}
}

@media (min-width: 960px) {
	.tnc-deals-header {
		
		align-items: center;
	}
}

@media (max-width: 600px) {
	.tnc-deals-wrapper {
		padding: 24px 16px;
	}

	.tnc-deals-card-actions {
		flex-direction: column;
	}

	.tnc-deals-card-button {
		width: 100%;
	}
}



.tnc-deals-card-note {
    display: none;
}


button.tnc-deals-next {
	border: 1px solid #D2DAE6;
}

button.tnc-deals-page.active:hover {
	color:#fff;
}

span.tnc-deals-card-badge.tnc-deals-card-badge-percentage {
    /* display: none; */
    padding: 10px;
}

img.tnc-deals-featured.wp-post-image {
    margin: auto !important;
}
