\
/* ==========================================================
   TechESteel Auction System
========================================================== */

.tes-latest-auctions,
.tes-auctions-listing{
	padding:100px 0;
	background:#f7fbff;
}

.tes-auction-section-head{
	display:flex;
	align-items:flex-end;
	justify-content:space-between;
	gap:35px;
	margin-bottom:42px;
}

.tes-auction-section-head h2{
	margin:12px 0 0;
	font-size:clamp(38px,4.5vw,58px);
}

.tes-auction-section-head p{
	max-width:650px;
	margin:18px 0 0;
	color:var(--muted);
	font-size:17px;
	line-height:1.7;
}

.tes-auction-tabs{
	display:flex;
	flex-wrap:wrap;
	gap:10px;
	padding:7px;
	border:1px solid var(--border);
	border-radius:12px;
	background:#fff;
	box-shadow:0 10px 26px rgba(25,88,145,.07);
}

.tes-auction-tab{
	min-height:46px;
	padding:0 20px;
	border:0;
	border-radius:8px;
	background:transparent;
	color:#50677b;
	font-weight:700;
	cursor:pointer;
	transition:.22s ease;
}

.tes-auction-tab:hover{
	color:var(--blue2);
	background:#edf7ff;
}

.tes-auction-tab.is-active{
	color:#fff;
	background:linear-gradient(135deg,#459ff1,#1670d3);
	box-shadow:0 10px 24px rgba(28,119,216,.22);
}

.tes-auction-panel{
	display:none;
}

.tes-auction-panel.is-active{
	display:block;
}

.tes-auction-grid{
	display:grid;
	grid-template-columns:repeat(3,minmax(0,1fr));
	gap:24px;
}

.tes-auction-card{
	overflow:hidden;
	border:1px solid var(--border);
	border-radius:18px;
	background:#fff;
	box-shadow:0 15px 38px rgba(25,88,145,.08);
	transition:transform .28s ease,border-color .28s ease,box-shadow .28s ease;
}

.tes-auction-card:hover{
	transform:translateY(-6px);
	border-color:#a9d3f7;
	box-shadow:0 24px 52px rgba(25,88,145,.15);
}

.tes-auction-card-image{
	position:relative;
	display:block;
	height:235px;
	overflow:hidden;
	background:#e8f2fa;
}

.tes-auction-card-image img{
	display:block;
	width:100%;
	height:100%;
	object-fit:cover;
	transition:transform .45s ease;
}

.tes-auction-card:hover .tes-auction-card-image img{
	transform:scale(1.045);
}

.tes-auction-status{
	display:inline-flex;
	align-items:center;
	justify-content:center;
	min-height:31px;
	padding:0 12px;
	border-radius:999px;
	font-size:12px;
	font-weight:800;
	letter-spacing:.04em;
	text-transform:uppercase;
}

.tes-auction-card-image .tes-auction-status{
	position:absolute;
	top:16px;
	right:16px;
	z-index:2;
	box-shadow:0 8px 20px rgba(16,40,61,.15);
}

.tes-auction-status-future{
	color:#075cae;
	background:#e0f1ff;
	border:1px solid #abd6f7;
}

.tes-auction-status-past{
	color:#5c6872;
	background:#f1f3f5;
	border:1px solid #d9dee3;
}

.tes-auction-card-body{
	padding:25px;
}

.tes-auction-date{
	display:block;
	margin-bottom:12px;
	color:var(--blue2);
	font:700 12px var(--mono);
	letter-spacing:.08em;
	text-transform:uppercase;
}

.tes-auction-card h3{
	margin:0;
	font-size:23px;
	line-height:1.32;
}

.tes-auction-card h3 a:hover{
	color:var(--blue2);
}

.tes-auction-meta{
	display:grid;
	grid-template-columns:repeat(2,minmax(0,1fr));
	gap:13px;
	margin-top:22px;
}

.tes-auction-meta span{
	display:block;
	padding:12px;
	border:1px solid #dce9f3;
	border-radius:10px;
	background:#f8fbfe;
	color:#50677b;
	font-size:13px;
	line-height:1.45;
}

.tes-auction-meta strong{
	display:block;
	margin-bottom:4px;
	color:#10283d;
	font-size:11px;
	letter-spacing:.05em;
	text-transform:uppercase;
}

.tes-auction-card-link{
	display:inline-flex;
	align-items:center;
	margin-top:22px;
	color:var(--blue2);
	font-weight:800;
}

.tes-auction-card-link:hover{
	transform:translateX(3px);
}

.tes-auction-empty{
	grid-column:1 / -1;
	padding:40px;
	border:1px dashed #bcd7eb;
	border-radius:16px;
	background:#fff;
	text-align:center;
}

.tes-auction-empty p{
	margin:0;
	color:var(--muted);
}

.tes-auction-view-all{
	margin-top:38px;
	text-align:center;
}

/* Auctions page */

.tes-auctions-hero{
	position:relative;
	overflow:hidden;
	padding:105px 0 115px;
	background:
		radial-gradient(circle at 78% 20%,rgba(47,139,230,.18),transparent 38%),
		linear-gradient(135deg,#f7fbff 0%,#eef7ff 55%,#f9fcff 100%);
	border-bottom:1px solid var(--border);
}

.tes-auctions-hero::before{
	content:"";
	position:absolute;
	inset:0;
	background-image:
		linear-gradient(rgba(47,139,230,.07) 1px,transparent 1px),
		linear-gradient(90deg,rgba(47,139,230,.07) 1px,transparent 1px);
	background-size:72px 72px;
	opacity:.42;
	pointer-events:none;
}

.tes-auctions-hero .container{
	position:relative;
	z-index:2;
	max-width:860px;
}

.tes-auctions-hero h1{
	margin:0;
	font-size:clamp(50px,6vw,78px);
	font-weight:400;
	line-height:1.08;
	letter-spacing:-.05em;
}

.tes-auctions-hero p{
	max-width:720px;
	margin:28px 0 0;
	color:var(--muted);
	font-size:19px;
	line-height:1.7;
}

.tes-auction-page-tabs{
	width:max-content;
	max-width:100%;
	margin:0 0 40px;
}

/* Single auction */

.tes-single-auction-hero{
	padding:95px 0 75px;
	background:linear-gradient(135deg,#f7fbff,#eaf5ff);
	border-bottom:1px solid var(--border);
}

.tes-single-auction-hero h1{
	max-width:900px;
	margin:22px 0 0;
	font-size:clamp(46px,6vw,72px);
	line-height:1.08;
}

.tes-single-auction-hero p{
	max-width:760px;
	margin:22px 0 0;
	color:var(--muted);
	font-size:19px;
	line-height:1.7;
}

.tes-single-auction-content{
	padding:90px 0 110px;
}

.tes-single-auction-layout{
	display:grid;
	grid-template-columns:minmax(0,1fr) 360px;
	gap:55px;
	align-items:start;
}

.tes-single-auction-image{
	overflow:hidden;
	margin:0 0 34px;
	border-radius:20px;
	box-shadow:0 20px 50px rgba(25,88,145,.13);
}

.tes-single-auction-image img{
	display:block;
	width:100%;
	height:auto;
}

.tes-single-auction-copy{
	color:#425d73;
	font-size:17px;
	line-height:1.8;
}

.tes-single-auction-sidebar{
	position:sticky;
	top:125px;
	padding:28px;
	border:1px solid var(--border);
	border-radius:18px;
	background:#fff;
	box-shadow:0 16px 42px rgba(25,88,145,.09);
}

.tes-single-auction-sidebar h2{
	margin:0;
	font-size:28px;
}

.tes-single-auction-meta{
	display:grid;
	gap:0;
	margin-top:22px;
	border-top:1px solid var(--border);
}

.tes-single-auction-meta div{
	padding:16px 0;
	border-bottom:1px solid var(--border);
}

.tes-single-auction-meta span{
	display:block;
	margin-bottom:5px;
	color:var(--muted);
	font-size:12px;
	font-weight:700;
	letter-spacing:.06em;
	text-transform:uppercase;
}

.tes-single-auction-meta strong{
	color:#10283d;
	font-size:16px;
}

.tes-single-auction-button{
	width:100%;
	margin-top:18px;
	text-align:center;
}

@media(max-width:1000px){
	.tes-auction-section-head{
		align-items:flex-start;
		flex-direction:column;
	}

	.tes-auction-grid{
		grid-template-columns:repeat(2,minmax(0,1fr));
	}

	.tes-single-auction-layout{
		grid-template-columns:1fr;
	}

	.tes-single-auction-sidebar{
		position:static;
	}
}

@media(max-width:700px){
	.tes-latest-auctions,
	.tes-auctions-listing{
		padding:75px 0;
	}

	.tes-auction-tabs{
		width:100%;
	}

	.tes-auction-tab{
		flex:1;
		padding:0 12px;
	}

	.tes-auction-grid{
		grid-template-columns:1fr;
	}

	.tes-auction-card-image{
		height:220px;
	}

	.tes-auction-meta{
		grid-template-columns:1fr;
	}

	.tes-auctions-hero{
		padding:78px 0 86px;
	}

	.tes-auctions-hero h1{
		font-size:46px;
	}

	.tes-single-auction-content{
		padding:70px 0 85px;
	}
}
