/* Home Page Styles */

/* Media Overflow */
.dz-media {
	overflow: hidden;
}

/* Mobile Slider - Hidden on Desktop */
.slider-mobile {
	display: block;
}

.slider-desktop {
	display: none;
}

/* Mobile Slider Styling */
@media only screen and (max-width: 767px) {
	.blog-slideshow-mobile {
		overflow: hidden;
		position: relative;
		border-radius: 0;
	}
	
	.blog-slideshow-mobile .swiper-slide {
		display: flex;
		align-items: center;
		justify-content: center;
	}
	
	.blog-slideshow-mobile .swiper-slide img {
		width: 100%;
		height: auto;
		display: block;
	}
	
	.blog-slideshow-mobile .swiper-pagination-mobile {
		bottom: 15px;
		position: absolute;
		z-index: 10;
	}
}

/* Desktop Slider - Hidden on Mobile */
@media (min-width: 768px) {
	.slider-mobile {
		display: none;
	}
	
	.slider-desktop {
		display: block;
	}
}

/* Category Cards - Modern Minimal Design with Theme Colors */
.category-card {
	background: #ffffff;
	border: 1.5px solid #e9ecef;
	border-radius: 12px;
	padding: 1.5rem;
	text-align: center;
	position: relative;
	overflow: hidden;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	height: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.category-card:hover {
	transform: translateY(-8px);
	box-shadow: 0 12px 24px rgba(18, 32, 81, 0.2);
	border-color: #feba18;
}

/* Student Starter Kit - Blue Theme */
.category-card.starter-kit {
	background: linear-gradient(135deg, rgba(18, 32, 81, 0.05) 0%, rgba(26, 45, 107, 0.08) 100%);
	border-color: rgba(18, 32, 81, 0.2);
}

.category-card.starter-kit .category-icon {
	background: linear-gradient(135deg, #122051 0%, #1a2d6b 100%);
	border-radius: 12px;
	padding: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.category-card.starter-kit .category-icon svg {
	stroke: #ffffff;
	width: 40px;
	height: 40px;
}

.category-card.starter-kit .category-title {
	color: #122051;
}

.category-card.starter-kit:hover {
	background: linear-gradient(135deg, rgba(18, 32, 81, 0.1) 0%, rgba(26, 45, 107, 0.15) 100%);
	border-color: #122051;
}

/* School Uniform - Orange/Red Theme */
.category-card.uniform-kit {
	background: linear-gradient(135deg, rgba(254, 186, 24, 0.08) 0%, rgba(220, 53, 69, 0.1) 100%);
	border-color: rgba(254, 186, 24, 0.3);
}

.category-card.uniform-kit .category-icon {
	background: linear-gradient(135deg, #feba18 0%, #dc3545 100%);
	border-radius: 12px;
	padding: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.category-card.uniform-kit .category-icon svg {
	stroke: #ffffff;
	width: 40px;
	height: 40px;
}

.category-card.uniform-kit .category-title {
	color: #dc3545;
}

.category-card.uniform-kit:hover {
	background: linear-gradient(135deg, rgba(254, 186, 24, 0.15) 0%, rgba(220, 53, 69, 0.2) 100%);
	border-color: #feba18;
}

.category-card-link {
	transition: all 0.3s ease;
	text-decoration: none;
	display: block;
	height: 100%;
}

.category-card-link:hover {
	text-decoration: none;
}

.category-icon {
	width: 64px;
	height: 64px;
	margin: 0 auto 1rem;
	opacity: 0.9;
	transition: all 0.3s ease;
	display: flex;
	align-items: center;
	justify-content: center;
}

.category-card:hover .category-icon {
	opacity: 1;
}

.category-title {
	font-size: 1.25rem;
	font-weight: 600;
	color: #212529;
	margin-bottom: 0.5rem;
	line-height: 1.3;
}

.category-description {
	font-size: 0.875rem;
	color: #6c757d;
	margin-bottom: 1rem;
	line-height: 1.5;
}

.category-btn {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.625rem 1.5rem;
	font-size: 0.875rem;
	font-weight: 600;
	color: #122051;
	background: transparent;
	border: 2px solid #122051;
	border-radius: 6px;
	transition: all 0.3s ease;
	text-decoration: none;
}

.category-card.starter-kit .category-btn {
	border-color: #122051;
	color: #122051;
}

.category-card.starter-kit:hover .category-btn {
	background: linear-gradient(135deg, #122051 0%, #1a2d6b 100%);
	color: #ffffff;
	transform: translateX(4px);
	box-shadow: 0 4px 12px rgba(18, 32, 81, 0.3);
}

.category-card.uniform-kit .category-btn {
	border-color: #feba18;
	color: #dc3545;
}

.category-card.uniform-kit:hover .category-btn {
	background: linear-gradient(135deg, #feba18 0%, #dc3545 100%);
	color: #ffffff;
	transform: translateX(4px);
	box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);
}

.category-btn svg {
	width: 16px;
	height: 16px;
	transition: transform 0.3s ease;
}

.category-card:hover .category-btn svg {
	transform: translateX(2px);
}

/* Responsive adjustments for category cards */
@media (max-width: 768px) {
	.category-card {
		padding: 1.25rem;
	}
	
	.category-icon {
		width: 56px;
		height: 56px;
		margin-bottom: 0.75rem;
	}
	
	.category-title {
		font-size: 1.125rem;
	}
	
	.category-description {
		font-size: 0.8125rem;
	}
}

/* Shop by Products Section - Modern Minimal Design */
.prod-inner {
	background: linear-gradient(135deg, rgba(18, 32, 81, 0.02) 0%, rgba(254, 186, 24, 0.03) 100%);
	padding: 3rem 0;
	position: relative;
}

.prod-inner::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: radial-gradient(circle at 20% 50%, rgba(18, 32, 81, 0.03) 0%, transparent 50%),
	            radial-gradient(circle at 80% 50%, rgba(254, 186, 24, 0.03) 0%, transparent 50%);
	pointer-events: none;
}

.prod-inner .main-title2 .title {
	font-size: 2rem;
	font-weight: 700;
	color: #122051;
	margin-bottom: 0.5rem;
	position: relative;
}

.prod-inner .main-title2 .sub_line {
	font-size: 0.9375rem;
	color: #6c757d;
	font-weight: 400;
}

.prod-inner .highlight_undr {
	color: #feba18;
	position: relative;
}

/* Product Cards - Minimal Modern Design */
.product_mbg {
	background: #ffffff !important;
	border: 1px solid #e9ecef !important;
	border-radius: 12px !important;
	overflow: hidden !important;
	box-shadow: 0 2px 8px rgba(0,0,0,0.06) !important;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
	height: 100% !important;
	display: flex !important;
	flex-direction: column !important;
}

.product_mbg:hover {
	transform: translateY(-8px) !important;
	box-shadow: 0 12px 24px rgba(18, 32, 81, 0.15) !important;
	border-color: #feba18 !important;
}

.product_mbg .dz-media {
	height: 200px !important;
	overflow: hidden !important;
	flex-shrink: 0 !important;
	background: #f8f9fa;
	position: relative;
}

.product_mbg .dz-media::after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: linear-gradient(to bottom, transparent 0%, rgba(18, 32, 81, 0.02) 100%);
	pointer-events: none;
}

.product_mbg .dz-media img {
	width: 100% !important;
	height: 100% !important;
	object-fit: cover !important;
	transition: transform 0.3s ease !important;
}

.product_mbg:hover .dz-media img {
	transform: scale(1.05);
}

.product_mbg .dz-content {
	padding: 1rem !important;
	flex-grow: 1 !important;
	display: flex !important;
	flex-direction: column !important;
}

.product_mbg .dz-content h5 {
	font-size: 0.9375rem !important;
	font-weight: 600 !important;
	color: #212529 !important;
	margin-bottom: 0.75rem !important;
	line-height: 1.4 !important;
	min-height: auto !important;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.product_mbg .dz-content span {
	font-size: 1.125rem !important;
	font-weight: 700 !important;
	color: #122051 !important;
	margin-top: auto !important;
}

.product_mbg .shop-meta {
	padding: 0 1rem 1rem !important;
	flex-shrink: 0 !important;
}

.product_mbg .shop-meta .btn {
	background: #122051 !important;
	color: #ffffff !important;
	border: none !important;
	padding: 0.625rem 1rem !important;
	border-radius: 8px !important;
	font-weight: 600 !important;
	font-size: 0.875rem !important;
	transition: all 0.3s ease !important;
	text-decoration: none !important;
	display: block !important;
	text-align: center !important;
	width: 100% !important;
}

.product_mbg .shop-meta .btn:hover {
	background: linear-gradient(135deg, #122051 0%, #1a2d6b 100%) !important;
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(18, 32, 81, 0.3);
}

.view-all-products-btn{
	background: none!important;
	color: #122051 !important;
	padding: 0.75rem 2rem !important;
	border-radius: 8px !important;
	font-weight: 700 !important;
	font-size: 1rem !important;
	text-decoration: none !important;
	display: inline-block !important;
	transition: all 0.3s ease !important;
	border: 2px solid #122051 !important;
	box-shadow: 0 4px 12px rgba(18, 32, 81, 0.2);

}

/* View All Products Button */
.prod-inner .btn-primary {
	background: linear-gradient(135deg, #122051 0%, #1a2d6b 100%) !important;
	color: white !important;
	padding: 0.75rem 2rem !important;
	border-radius: 8px !important;
	font-weight: 600 !important;
	font-size: 0.9375rem !important;
	text-decoration: none !important;
	display: inline-block !important;
	transition: all 0.3s ease !important;
	border: none !important;
	box-shadow: 0 4px 12px rgba(18, 32, 81, 0.2);
}

.prod-inner .btn-primary:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(18, 32, 81, 0.3);
}

/* Products Grid Layout - 4x4 Grid */
.prod-inner .row {
	margin: 0 -0.75rem;
}

.prod-inner .row > [class*="col-"] {
	padding: 0 0.75rem;
}

/* Responsive adjustments for products section */
@media (max-width: 1199px) {
	.prod-inner .row > .col-lg-3 {
		flex: 0 0 33.333333%;
		max-width: 33.333333%;
	}
}

@media (max-width: 991px) {
	.prod-inner .row > .col-md-4 {
		flex: 0 0 50%;
		max-width: 50%;
	}
}

@media (max-width: 768px) {
	.prod-inner {
		padding: 2rem 0;
	}
	
	.prod-inner .main-title2 .title {
		font-size: 1.5rem;
	}
	
	.prod-inner .row > .col-sm-6 {
		flex: 0 0 50%;
		max-width: 50%;
	}
	
	.product_mbg .dz-media {
		height: 180px !important;
	}
	
	.product_mbg .dz-content {
		padding: 0.875rem !important;
	}
	
	.product_mbg .dz-content h5 {
		font-size: 0.875rem !important;
	}
	
	.product_mbg .dz-content span {
		font-size: 1rem !important;
	}
}

@media (max-width: 576px) {
	.prod-inner .row > .col-12 {
		flex: 0 0 100%;
		max-width: 100%;
	}
}

.add-to-cart-product:hover {
	background: #1a2d6b !important;
}

