
/* 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 h1 { font-weight: var(--fw-700); font-size: var(--fs-28); margin-bottom: 12px; color: #343a40;}
.top-content p {font-size: var(--fs-16);color: #343A40;line-height: 160%;transition: var(--transition);  }
.top-content .scroll {height: 120px;overflow-y: auto; scrollbar-width: thin; scrollbar-color: #0e65d9 #f5f5f5; padding-right: 10px;}
/* 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: no-repeat center/cover url('https://www.emenacpackaging.co.uk/wp-content/themes/Epukup/assets/images/products/product-bg.webp'); max-width: 100%; padding: 30px;}
.product-item h2 {font-size: var(--fs-16); font-weight: var(--fw-400); padding: 10px; background-color: #f0f1f4; color: var(--clr-red); margin: 0; font-size: var(--fs-18); font-weight: var(--fw-500); transition: .4s;}
.product-item > span {opacity: 0; position: absolute; inset: 0; margin: auto; height: 50px; width: 160px; display: flex; align-items: center; justify-content: center; background-color: var(--clr-red-dk); 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 h2 {background-color: #203d71; color: #fff;}
.product-detail .info-form {position: sticky; top: 70px;}
.product-detail .pagination .page-numbers{display: inline-flex; align-items: center; margin: 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;}
@media (max-width: 768px) {.products-grid {  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));}}
/* Bottom Description */
.bottom_content {padding-block: 70px 35px;}
.bottom_content .th_content {height: 207px;overflow-y: auto; scrollbar-width: thin; scrollbar-color: #0e65d9 #f5f5f5; padding-right: 10px; }
.bottom_content .th_content :where(h2,h3,h4) {font-size: var(--fs-24); line-height: 38px; margin-bottom: 18px; transition: var(--transition); color: #343a40;}
.bottom_content .th_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);}

/* Media Queries */
@media only screen and (max-width: 1000px) {
.top-content h1 {font-size: var(--fs-24);}
.bottom-content h2 {font-size: var(--fs-24);}
}
@media only screen and (max-width: 900px) {
.product-detail .row {grid-template-columns: 1fr;gap: 20px;}
.product-detail .row .right-details {max-width: 560px;margin: 0 auto;}
.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) {
.top-content {padding: 15px;}
.product-detail {height: auto}
.product-detail .row {flex-direction: column;}
.product-detail .row .left-details {width: 100%;padding-bottom: 30px;}
.product-detail .row .left-details .banner {height: 350px;background-size: cover;}
.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: var(--fs-20);}
.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);}
}
