/**
 * Course Bundle List Styles
 *
 * @package TutorCourseBundleList
 */

/* Main wrapper */
.tcbl-bundle-list-main-wrap {
	width: 100%;
	margin: 0 auto;
}

/* Grid layout */
.tcbl-bundle-list-loop-wrap {
	display: grid;
	gap: 30px;
	margin-bottom: 30px;
}

/* Column layouts */
.tcbl-bundle-list-loop-wrap.tutor-grid-1 {
	grid-template-columns: 1fr;
}

.tcbl-bundle-list-loop-wrap.tutor-grid-2 {
	grid-template-columns: repeat(2, 1fr);
}

.tcbl-bundle-list-loop-wrap.tutor-grid-3 {
	grid-template-columns: repeat(3, 1fr);
}

.tcbl-bundle-list-loop-wrap.tutor-grid-4 {
	grid-template-columns: repeat(4, 1fr);
}

/* Bundle card */
.tutor-bundle-card {
	position: relative;
	overflow: hidden;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Course thumbnail width */
.tcbl-bundle-list-col .tutor-card .tutor-course-thumbnail {
	width: 368px !important;
	/*height: 200px !important;*/
}

.tutor-bundle-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.tutor-bundle-card .tutor-card-image {
	position: relative;
	overflow: hidden;
	height: 320px;
}

.tutor-bundle-card .tutor-card-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	transition: transform 0.3s ease;
}

.tutor-bundle-card:hover .tutor-card-image img {
	transform: scale(1.05);
}

.tutor-bundle-card .tutor-course-badge {
	position: absolute;
	top: 10px;
	right: 10px;
	padding: 5px 15px;
	background: #3e64de;
	color: #fff;
	border-radius: 3px;
	font-size: 12px;
	font-weight: 600;
	text-transform: uppercase;
	z-index: 2;
}

/* Pagination */
.tcbl-bundle-list-pagination-wrap {
	display: flex;
	justify-content: center;
	align-items: center;
	margin-top: 40px;
}

.tcbl-pagination {
	display: flex;
	gap: 10px;
	align-items: center;
}

.tcbl-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 0 15px;
	background: #fff;
	border: 1px solid #e0e0e0;
	border-radius: 3px;
	color: #333;
	text-decoration: none;
	transition: all 0.3s ease;
}

.tcbl-pagination .page-numbers:hover {
	background: #3e64de;
	color: #fff;
	border-color: #3e64de;
}

.tcbl-pagination .page-numbers.current {
	background: #3e64de;
	color: #fff;
	border-color: #3e64de;
}

/* Responsive */
@media (max-width: 1024px) {
	.tcbl-bundle-list-loop-wrap.tutor-grid-4 {
		grid-template-columns: repeat(3, 1fr);
	}
	
	.tutor-bundle-card .tutor-card-image {
		height: 280px;
	}
}

@media (max-width: 768px) {
	.tcbl-bundle-list-loop-wrap.tutor-grid-3,
	.tcbl-bundle-list-loop-wrap.tutor-grid-4 {
		grid-template-columns: repeat(2, 1fr);
	}
	
	.tcbl-bundle-list-loop-wrap {
		gap: 20px;
	}
	
	.tutor-bundle-card .tutor-card-image {
		height: 240px;
	}
	.tcbl-bundle-list-col .tutor-card .tutor-course-thumbnail {
    width: 394px !important;
    /* height: 200px !important; */
}
}

@media (max-width: 480px) {
	.tcbl-bundle-list-loop-wrap.tutor-grid-2,
	.tcbl-bundle-list-loop-wrap.tutor-grid-3,
	.tcbl-bundle-list-loop-wrap.tutor-grid-4 {
		grid-template-columns: 1fr;
	}
	
	.tcbl-bundle-list-loop-wrap {
		gap: 15px;
	}
	
	.tutor-bundle-card .tutor-card-image {
		height: 220px;
	}
	
	.tutor-card.tutor-course-card.tutor-loop-course-container {
    width: 303px !important;
}
	
	.tcbl-bundle-list-col .tutor-card .tutor-course-thumbnail {
    width: 301px !important;
    /* height: 200px !important; */
}
	
}

/* Empty state */
.tutor-alert {
	padding: 20px;
	border-radius: 5px;
	margin: 20px 0;
}

.tutor-alert.tutor-info {
	background: #e3f2fd;
	border-left: 4px solid #2196f3;
	color: #1565c0;
}

.tutor-alert.tutor-warning {
	background: #fff3e0;
	border-left: 4px solid #ff9800;
	color: #e65100;
}


