/*
Theme Name: Mount Jerome Monumental Headstone Company
Theme URI: http://www.elive.net
Version: 1.0
Description: A custom child theme that has been developed for Mount Jerome Monumental Headstone Company.
Author: Elive
Author URI: https://www.elive.net
template: bb-theme
*/

/* Add your custom styles here... */ 


/* NAVIGATION */
#nav ul li a,
#nav ul li a:after,
#nav ul li a:before {
  transition: all .5s;
}

#nav.stroke ul li a,
#nav.fill ul li a {
  position: relative;
}
#nav.stroke ul li a:after,
#nav.fill ul li a:after {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  width: 0%;
  content: '.';
  color: transparent;
  background: red;
  height: 2px;
}
#nav.stroke ul li a:hover:after {
  width: 100%;
}

/* product category archive */

.product-category-page .container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}

.product-category-hero {
	padding: 60px 0 40px;
	background: #f7f7f7;
}

.product-category-hero .container {
	display: grid;
	grid-template-columns: 1fr 1.5fr;
	gap: 40px;
	align-items: center;
}

.product-category-hero__image img {
	width: 100%;
	height: auto;
	display: block;
	border-radius: 12px;
}

.product-category-hero h1 {
	margin: 0 0 16px;
	font-size: 42px;
}

.product-grid-section {
	padding: 50px 0;
}

.product-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 30px;
}

.product-card {
	background: #fff;
	border: 1px solid #eee;
	border-radius: 12px;
	overflow: hidden;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.product-card__link {
	color: inherit;
	text-decoration: none;
	display: block;
}

.product-card__image img {
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	display: block;
}

.product-card__content {
	padding: 20px;
}

.product-card__title {
	font-size: 20px;
	margin: 0 0 10px;
}

.product-card__excerpt {
	font-size: 15px;
	color: #666;
}

.product-pagination {
	margin-top: 40px;
}

@media (max-width: 900px) {
	.product-category-hero .container {
		grid-template-columns: 1fr;
	}

	.product-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 600px) {
	.product-grid {
		grid-template-columns: 1fr;
	}

	.product-category-hero h1 {
		font-size: 32px;
	}
}