.c-category-section {
    max-width: 1400px;
    margin: 60px auto 80px auto;
    padding: 0 40px;
    position: relative;
}
.category-section-in-top h2 {
    font-size: 35px;
    color: #0f172a;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 10px;
    text-align: center;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}
.category-section-in-top p {
    color: #64748b;
    font-size: 17px;
    line-height: 26px;
    text-align: center;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    margin: 0;
}
.c-category-grid {
    display: grid;
    gap: 30px;
    grid-template-columns: repeat(4, 1fr);
    margin-top: 40px;
}
.c-category-card {
    width: 100%;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    background: #fff;
    transition: all 0.2s ease;
    overflow: hidden;
}
.c-category-card:hover {
    border: 1px solid #e65100;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}
.c-category-card .cat-img {
    height: 220px;
    background-color: #ffffff;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    border-bottom: 1px solid #f8fafc;
    padding: 20px;
}
.c-category-card .cat-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
}
.c-category-card .cat-content h3 {
    margin-bottom: 8px;
    font-size: 1.2rem;
    color: #0f172a;
    font-weight: 800;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}
.c-category-card .cat-content p {
    font-size: 0.95rem;
    color: #64748b;
    margin-bottom: 20px;
    flex: 1;
    font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica Neue, Arial, sans-serif;
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.c-category-card .cat-content span {
    font-size: 0.85rem;
    font-weight: 800;
    color: #1e293b;
    text-transform: uppercase;
    transition: color 0.2s;
	font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica Neue, Arial, sans-serif;
}
.c-category-card:hover span {
    color: #e65100;
}



@media (min-width: 768px) and (max-width: 1024px){
	.c-category-grid {
		grid-template-columns: repeat(3, 1fr);
	}	
	
}



@media (max-width: 767px){
	.c-category-section {
		margin: 50px auto 50px auto;
		padding: 0 10px;
	}
	.category-section-in-top h2 {
		font-size: 20px;
	}
	.c-category-grid {
		gap: 20px;
		grid-template-columns: repeat(2, 1fr);
		margin-top: 30px;
	}
	.c-category-card .cat-img {
		height: 160px;
	}
	.c-category-card .cat-content {
		padding: 15px;
	}	
	.c-category-card .cat-content h3 {
		font-size: 17px;
	}
	.c-category-card .cat-content p {
		font-size: 13px;
		margin-bottom: 10px;
	}
	.c-category-card .cat-content span {
		font-size: 12px;
	}
	.category-section-in-top p {
		font-size: 15px;
		line-height: 21px;
	}

	
}


@media (max-width: 374px){
	.c-category-grid {
		grid-template-columns: repeat(1, 1fr);
	}

}

