
/* breadcrumb */
.breadcrumb {padding-block: 15px; background: #F8F8FA;}
.breadcrumb ul {margin: 0; padding: 0;}
.breadcrumb li {list-style-type: none; display: inline;}
.breadcrumb li:not(:first-child):before {content: "/";}
.breadcrumb li a {text-decoration: none; line-height: 1.2; color: #343a40;}
.breadcrumb li a:hover {color: var(--clr-red-dk); transition: var(--transition);}

/* Product Top Content */
.top-content {padding-block: 46px; text-align: center; background-color: white;}
.top-content :where(h1, h2, h3, h4, h5, h5) {font-weight: var(--fw-600); line-height: normal; margin-bottom: 12px; color: #000;}
.top-content h1 {font-size: var(--fs-28); line-height: 36px;}
.top-content .content {max-height: 90px; text-align: left; color: var(--clr-grey-md); line-height: 24px;}
.top-content h2 {font-size: var(--fs-26);}
.top-content h3 {font-size: var(--fs-24);}
.top-content h4 {font-size: var(--fs-22);}
.top-content h5 {font-size: var(--fs-20);}
.top-content h6 {font-size: var(--fs-18);}
.top-content p {text-align: justify; margin-block: 15px;}
.top-content :is(ul, ol) {padding-left: 20px; margin-block: 15px;}
.top-content ul li {list-style: disc;}
.top-content ol li {list-style: decimal;}
.top-content .content > :last-child {margin-bottom: 0;}

/* Product Details */

.product-detail .row { display: grid; grid-template-columns: 63.7% 1fr; gap: 32px;}
.product-detail .related-products {text-align: center;}
.product-detail .related-products h1 {color: var(--clr-red); margin-bottom: 20px;}
.product-detail .related-products .products-grid {display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;}
.product-item {position: relative; transition: .4s;}
.product-item img {background: url('https://emenacpackaging.ca/wp-content/themes/epca_new/assets/images/products/product-bg.webp') no-repeat; max-width: 100%; padding: 30px;}
.product-item strong {display: block; font-size: var(--fs-16); padding: 10px; background-color: #f0f1f4; color: #000; margin: 0; font-size: var(--fs-18); transition: .4s;}
.product-item span {display: flex; align-items: center; justify-content: center; opacity: 0; position: absolute; inset: 0; margin: auto; height: 50px; width: 160px;  background-color: var(--clr-red); color: #fff; border-radius: 50px; font-size: var(--fs-18); transition: .4s;}
.product-item:hover img {border: 1px solid #203d71;}
.product-item:hover span {opacity: 1;}
.product-item:hover strong {background-color: #203d71; color: #fff;}
.product-detail .pagination .page-numbers{display: inline-flex; align-items: center;margin: 10px 10px 10px 0px;background-color: #f0f1f4; padding: 15.5px 16px;}
.product-detail .pagination .current{background-color: var(--clr-red); color: #fff;}
.product-detail .pagination .page-numbers:hover{background-color: var(--clr-red); color: #fff;}

/* Product bottom Content */
.bottom-content .container {height:410px;}
.bottom-content {padding-block: 30px 50px;text-align: left;background-color: white;}
.bottom-content :where(h1, h2, h3, h4, h5, h5) {font-weight: var(--fw-700); line-height: 1.3; margin-bottom: 12px; color: #343a40;}
.bottom-content :where(:where(h2,h3,h4) > p, p) {font-size: var(--fs-16); font-weight: var(--fw-500); color: var(--clr-grey-md); line-height: 24px; margin-bottom: 10px; transition: var(--transition);}
.bottom-content .content {/* max-height: 160px; */text-align: left;padding-right: 15px;}
.bottom-content .content > :first-child {margin-bottom: 10px; line-height: 36px;}
.bottom-content h2 {font-size: var(--fs-26);}
.bottom-content h3 {font-size: var(--fs-24);}
.bottom-content h4 {font-size: var(--fs-22);}
.bottom-content h5 {font-size: var(--fs-20);}
.bottom-content h6 {font-size: var(--fs-18);}
.bottom-content :is(ul, ol) {padding-left: 20px; margin-block: 15px;}
.bottom-content ul li {list-style: disc;}
.bottom-content ol li {list-style: decimal;}
.bottom-content li {color: var(--clr-grey-md); line-height: 24px; margin-bottom: 5px;}
.bottom-content .content > :last-child {margin-bottom: 0;}

/* Media Quries */

@media only screen and (max-width: 1000px) {
.top-content h1 {font-size: var(--fs-24);}
.bottom-content h2 {font-size: var(--fs-24);}
.product-detail .row {grid-template-columns: 1fr; gap: 40px;}
.product-detail .row .right-details {width: 100%; max-width: 560px;margin: 0 auto;}
}

@media only screen and (max-width: 900px) {
.product-detail .row .left-details .banner {height: 350px;background-size: cover;}
.product-detail input[type='radio'] {width: 100px;height: 100px;}
}
@media only screen and (max-width: 767px) {
.products-grid {grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));}
.top-content {padding: 15px;}
.product-detail {height: auto}
.product-detail .row .right-details {width: 100%;padding-left: 0px}
.product-content-row {flex-direction: column;}
.product-content-row .left-content {max-width: 100%;padding-right: 0}
.product-content-row .right-content {max-width: 100%;padding-left: 0}
.product-content-row .right-content ul {padding-left: 20px}
.bottom-content {padding: 30px 15px;}
}
@media only screen and (max-width: 629px) {
.top-content h1 {font-size: var(--fs-22);}
.product-detail .related-products .products-grid {grid-template-columns: repeat(2, 1fr);}
.product-item img {background-size: cover}
.bottom-content h2 {font-size: var(--fs-22);}
}
@media only screen and (max-width: 575px) {
.bottom-content {padding: 30px 0;}
}
@media only screen and (max-width: 450px) {
.top-content h1 {font-size: 18px; line-height:27px; }
.top-content p {font-size: var(--fs-15);}
.product-detail .related-products .products-grid {grid-template-columns: 1fr;}
.product-detail input[type='radio'] {width: 80px; height: 80px;}
.bottom-content h2 {font-size: var(--fs-20);}
.bottom-content p {font-size: var(--fs-15);}
}