
.parent-validator:has(select[name='form_units']) .invalid-tooltip{top:90%}

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

/* banner */
.th_banner picture img {width: fit-content;text-align: center;  margin-inline: auto;}

/*  Product Top Content */
.top-content {padding-block: 30px; 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 .content:has(table) :where(h2, h3):not(:first-child) {padding-top: 15px; border-top: 1px solid #d0d0d0; margin-top: 15px;}
.top-content .content > :first-child {margin-top: 0;}
.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: 10px;}
.top-content strong + p {display: inline; margin-left: 6px;}
.top-content strong {margin-block: 10px; font-size: var(--fs-16); line-height: 160%;}
.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;}
/* TABLE */
.top-content table {max-width: 725px;}
table {width: 100%; border-spacing: 0; margin-block: 15px;}
table tr {display: grid; grid-template-columns: 25% 30% 1fr;}
table thead :is(th, td),
table tbody tr:not(:last-of-type) :is(th, td) {border-bottom: none;}
table :is(th, td) {display: flex; align-items: center; line-height: 1.3; padding: 6px 8px; border: 1px solid #000; word-break: break-word;}
table :is(th, td):not(:nth-of-type(2n+3)) {border-right: none;}
table th {justify-content: center; padding: 10px;}
table tbody tr > td:first-of-type {font-weight: 700;}


/*   Product Details  */
.product-detail .row {display: grid;grid-template-columns: 63.7% 1fr;gap: 32px;}
.row .left-details .banner {background: no-repeat bottom/cover url('https://emenacpackaging.ca/wp-content/themes/epca_new/assets/images//product background.webp');padding: 30px 20px;}
.product-detail .banner .title{max-width:50%}
.product-detail .banner .title h2 {font-size: var(--fs-28); color: rgba(47, 47, 47, 1); text-decoration: underline;}
.product-detail .banner .images {max-width: 500px; margin-inline: auto;}
.product-detail .banner .images img {height: auto;}
.product-detail .images img:nth-child(1n + 2) {display: none;}
.product-detail .thumbnails {margin-top: 30px;display: flex;align-items: center; justify-content: center; gap: 20px;}
.product-detail .thumbnails .product-img {border-radius: 50%;border: 1px solid #074494;background-color: #F0F1F4;cursor: pointer; width: 100%; max-width: 205px; height: 205px; display: flex;align-items: center; justify-content: center; flex-shrink: 0;}
.product-detail .thumbnails .product-img img {width: 152px;}
.product-detail .thumbnails .product-img:hover {border: 1px solid #EF233C;}
.quoteform {float: left; width: 100%;padding: 10px;background: #f0f1f4;margin-bottom: 20px;}
.row .right-details .info-form .heading {float: left;width: 100%;padding: 10px;background-color: #e3001c; color: #fff;font-size: 16px;font-weight: bold; border-bottom: 3px solid #094695;}
.row .right-details .info-form h3 {width: 100%;padding: 12px 5px;font-size: 18px;color: #0e65d9;font-weight: bold;}
.row .right-details .info-form input.product_name {width: 100%;background-color: #fff;height: 40px;padding: 4px;border: none;padding-left: 30px;background-position: 5px 50%;background-repeat: no-repeat;background-size: 20px;background-image: url('https://emenacpackaging.ca/wp-content/themes/epca_new/assets/images//icons/product_1.jpg');margin-bottom: 10px}
.row .right-details .info-form input.name {width: 100%;background-color: #fff;height: 40px;padding: 4px;border: none;padding-left: 30px;background-position: 5px 50%;background-repeat: no-repeat;background-size: 20px;background-image: url('https://emenacpackaging.ca/wp-content/themes/epca_new/assets/images//icons/person.webp');margin-bottom: 10px}
.row .right-details .info-form input.email {width: 100%;background-color: #fff;height: 40px;padding: 4px;border: none;padding-left: 30px;background-position: 5px 50%;background-repeat: no-repeat;background-size: 20px;background-image: url('https://emenacpackaging.ca/wp-content/themes/epca_new/assets/images/ /icons/email.webp');margin-bottom: 10px}
.row .right-details .info-form input.contact {width: 100%;background-color: #fff;height: 40px;padding: 4px;border: none;padding-left: 30px;background-position: 5px 50%;background-repeat: no-repeat;background-size: 20px;background-image: url('https://emenacpackaging.ca/wp-content/themes/epca_new/assets/images//phone.webp');}
.row .right-details .info-form label {width: 100%; padding: 10px 5px;font-weight: bold;color: #000;margin: 0;}
.row .right-details .info-form .dimension {float: left;width: 100%;margin-bottom: 10px}
.row .right-details .info-form .dimension input {float: left; margin-bottom: 0; background-color: #fff;height: 40px;padding: 4px;border: none;padding-left: 5px;background-image: url('https://emenacpackaging.ca/wp-content/themes/epca_new/assets/images/icons/caret-down.webp');background-position: 97% center;background-repeat: no-repeat;background-size: 14px}
.row .right-details .info-form .dimension input:first-child {background-image: none;}
.row .right-details .info-form select {width: 100%;background-color: #fff;height: 40px;padding: 4px;border: none;border-radius: 0;padding-right: 30px;background-image: url('https://emenacpackaging.ca/wp-content/themes/epca_new/assets/images/icons/caret-down.webp');background-position: 97% center; background-size: 14px;}
.row .right-details .info-form .material select {float: left;width: 48%;background-color: #fff;height: 40px;padding: 4px;border: none;padding-left: 5px;background-image: url('https://emenacpackaging.ca/wp-content/themes/epca_new/assets/images/icons/caret-down.webp');background-position: 97% center; background-size: 14px;}
.row .right-details .info-form input.quantity {width: 100%;background-color: #fff;height: 40px;padding: 4px;border: none;padding-left: 5px;background-position: right center;background-repeat: no-repeat;background-size: 20px;background-image: url('https://emenacpackaging.ca/wp-content/themes/epca_new/assets/images//icons/down.webp');margin-bottom: 10px}
.row .right-details .info-form textarea {width: 100%;background-color: #fff;height: 70px;padding: 4px;border: none;padding-left: 30px;background-position: 5px 5px;background-repeat: no-repeat;background-size: 20px;background-image: url('https://emenacpackaging.ca/wp-content/themes/epca_new/assets/images/icons/message.webp');margin-bottom: 10px}
.row .right-details .info-form .more {float: left;width: 100%;margin-bottom: 10px}
.row .right-details .info-form .more a {float: left;width: 100%;background-color: #EF233C;text-align: center;color: #FFF;border-radius: 30px;padding: 10px}
.row .right-details .info-form .more a:hover {background-color: #203d71;background-image: none}
.form_submit {float: left;width: 100%;background-color: #EF233C;text-align: center;color: #FFF;border-radius: 30px;padding: 10px;}
.quoteform input[type="submit"] {background: #EF233C;text-align: center;color: #fff;font-weight: bold;padding: 5px;border-radius: 30px;width: 100%;height: 40px;border: none;}
.quoteform input[type="file"] {width: 100%;background-color: #fff;height: 40px;padding: 4px;border: none;background-position: 5px 50%;background-repeat: no-repeat;background-size: 20px;margin-bottom: 20px;}
.quoteform .checkboxes span {color: #000;padding: 5px;}
.quoteform textarea {overflow: auto;resize: vertical;}
.quoteform .full {margin-top: 10px}
.product-detail .th_captcha {display: flex; align-items: center; justify-content: space-between;}
.product-detail .th_submit .th_captcha input[type="number"] {background-image: none;}
.row .right-details .info-form label {width: fit-content;}

.rating {padding: 15px 0;}
.rating .content {max-width: 915px; margin-inline: auto;}
.rating .content > :first-child {display: block; text-align: center; font-size: var(--fs-18); font-weight: var(--fw-500);}
.rating ul {width: 100%; display: inline-flex; align-items: center; justify-content: center; margin-top: 12px;}
.rating svg {margin: 0 4px;}
.rating small {display: block; width: fit-content; margin-block:12px; margin-inline:auto; }

/*  Product-content */
.product-content {padding: 40px 0; background-color: #F8F8FA; border-bottom: 5px solid #fff; border-top: 5px solid #fff;}
.product-content p:not(:where(li + p, li + p + p)) {color: #666666; margin-block: 10px; font-size: var(--fs-16); line-height: 170%; font-weight: 400;}
.product-content .left-content strong {margin-block: 10px; font-size: var(--fs-16); line-height: 160%;}
.product-content strong + p {display: inline; margin-left: 6px;}
.product-content .left-content h2:not(:first-of-type) {font-size: var(--fs-18); font-weight: var(--fw-600); line-height: 26px; color: #393939;}
.product-content .left-content:has(table) :where(h2, h3):not(:first-child) {padding-top: 15px; border-top: 1px solid #d0d0d0; margin-top: 15px;}
.product-content .left-content :where(ul, ol) {padding-left: 20px; margin-block: 10px;}
.product-content .left-content ul li {list-style: disc;}
.product-content .left-content ol li {list-style: decimal;}
.product-content .left-content li {font-size: var(--fs-16); color: #666666; margin-bottom: 8px; line-height: 24px;}
.product-content .left-content li:last-child {margin-bottom: 0;}
.product-content :where(.text-body, .right-content, .left-content:not(:has(.text-body))) > :first-child:not(p) {color: #203d71; font-weight: var(--fw-700); line-height: 150%; text-transform: uppercase; margin-bottom: 0;}
.product-content .left-content {max-height: 628px; padding-right: 24px; font-size: var(--fs-16);}
.product-content .left-content::-webkit-scrollbar {width: 8px;}
.product-content .left-content::-webkit-scrollbar-track {width: 8px; background-color: #fff; visibility: hidden; border-radius: 50px;}
.product-content .left-content::-webkit-scrollbar-thumb {background-color: #EF233C80; visibility: hidden; border-radius: 50px;}
.product-content .left-content:hover::-webkit-scrollbar-track,
.product-content .left-content:hover::-webkit-scrollbar-thumb {visibility: visible;}
@supports not selector(::-webkit-scrollbar) {
	:where(.scroll, .scroll-p > p) {overflow-y: auto; scrollbar-width: thin; scrollbar-color: #fff #fff;}
	:where(.scroll, .scroll-p > p):hover {overflow-y: auto; scrollbar-width: thin; scrollbar-color: #EF233C80 #fff;}
}
.product-content .left-content .html_corection {color: #666666; margin-block: 10px; font-size: var(--fs-16); line-height: 170%; font-weight: 400;}
.product-content-row {display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px;}
.product-content-row .right-content {display: flex; flex-direction: column;}
.product-content .right-content {max-height: 640px; padding-right: 24px;}
.product-content .right-content::-webkit-scrollbar {width: 8px;}
.product-content .right-content::-webkit-scrollbar-track {width: 8px; background-color: #fff; visibility: hidden; border-radius: 50px;}
.product-content .right-content::-webkit-scrollbar-thumb {background-color: #EF233C80; visibility: hidden; border-radius: 50px;}
.product-content .right-content:hover::-webkit-scrollbar-track,
.product-content .right-content:hover::-webkit-scrollbar-thumb {visibility: visible;}
.product-content-row .right-content > :first-child {font-size: var(--fs-22);}
.product-content-row .right-content > :where(h2,h3):not(:first-of-type) {font-size: var(--fs-18);}
.product-content .right-content ul {margin-block: 10px; max-height: 461px;}
.product-content .right-content ul::-webkit-scrollbar {width: 8px;}
.product-content .right-content ul::-webkit-scrollbar-track {width: 8px; background-color: #fff; visibility: hidden; border-radius: 50px;}
.product-content .right-content ul::-webkit-scrollbar-thumb {background-color: #EF233C80; visibility: hidden; border-radius: 50px;}
.product-content .right-content p::-webkit-scrollbar-thumb {background-color: #EF233C80;  border-radius: 50px;}
.product-content .right-content ul:hover::-webkit-scrollbar-track,
.product-content .right-content ul:hover::-webkit-scrollbar-thumb {visibility: visible;}
.product-content .right-content ul li {display: flex; align-items: center; font-size: var(--fs-16); color: #666666; list-style: disc; list-style-position: inside; line-height: 24px; padding: 6px 0 6px 18px;} 
.product-content .right-content ul li:not(:last-of-type) {border-bottom: 1px solid #0000000D;}
.product-content .right-content ul li strong {position: relative; display: block; font-family: var(--ff-quicksand); min-width: 228px; font-weight: 600; color: #000;}
.product-content .right-content ul li strong::before {position: absolute; top: 0; right: 30px; width: 1px; height: 37px; background-color: #0000000D; content: '';}
.product-content .right-content ul > :is(:nth-child(4), :nth-child(6)) strong::before {top: -12px; height: 61px;}
.product-content .right-content li:last-child {margin-bottom: 0;}
.product-content .accordion {color: #393939; font-family: var(--ff-quicksand); font-size: var(--fs-18); font-weight: var(--fw-700); transition: var(--transition); text-align: left; line-height: 160%;}
.product-detail .quoteform .group {display: flex; align-items: center; gap: 10px;}
.product-content .left-content :where(h1, h2, h3, h4, h5, h6) {font-size: var(--fs-22); line-height: 32px;}

/*  Related Products */
.related-products {padding: 50px 0; text-align: center;}
.related-products h4 {font-size: var(--fs-24); font-weight: var(--fw-600); color: var(--clr-red); margin-bottom: 40px;}
.related-products .products-grid {display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px;}
.product-item {position: relative; transition: .4s; text-align: center; border: 1px solid transparent;}
.product-item .image {display: block; background: no-repeat center/cover url('https://emenacpackaging.ca/wp-content/themes/epca_new/assets/images/products/product-bg.webp');}
.product-item .image img {max-width: 268px; margin: 0 auto;}
.product-item strong {display: block; font-size: var(--fs-16); margin: 0; padding: 15px 0; background-color: #f0f1f4; color: #000;}
.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-dk); color: #fff; border-radius: 50px; font-size: var(--fs-18); transition: .4s;}
.product-item:hover strong {background-color: #203d71; color: #fff;}
.product-item:hover {border: 1px solid #203d71;}
.product-item:hover span {opacity: 1;}

.action {text-align: center;padding: 28px 0 16px 0;background-color: #FEF5DD;}
.action h3 {font-size: calc(var(--fs-36) + 2px);transition: var(--transition);}
.action .content {display: flex;flex-direction: column;align-items: center;}
.action span {margin: 15px 0;font-size: var(--fs-16);transition: var(--transition);}
.action a {color: #fff; font-weight: var(--fw-600); padding: 16.5px 30px;font-size: var(--fs-26);border-radius: 35px;background-color: #0D66DA;} 

/*  Media Quries */
@media only screen and (max-width: 1400px) {.product-detail .thumbnails .product-img {width: 170px; height: 170px;}}
@media only screen and (max-width: 1200px) {.product-detail .thumbnails .product-img {width: 140px; height: 140px;} .product-detail .thumbnails .product-img img {width: 100%; max-width: 120px; height: auto;} .product-content .right-content ul li {padding-left: 0;} .product-content .right-content ul {max-height: 430px;} .product-content-row {gap: 15px;}}
@media only screen and (max-width: 1000px) {
.top-content h1 {font-size: var(--fs-24);}
.product-detail .banner .title h2 {font-size: var(--fs-28);}
.product-detail .row {grid-template-columns: 1fr; gap: 40px;}
.product-detail .row .right-details {width: 100%; max-width: 560px;margin: 0 auto;}
.product-detail input[type='radio'] {width: 135px;height: 135px;}
.product-content h3 {font-size: var(--fs-22);}
.action h3 {font-size: var(--fs-32);}
.action a {font-size: var(--fs-24);}
.product-detail .thumbnails .product-img {width: 200px; height: 200px;}
.product-detail .thumbnails .product-img img {width: 100%; max-width: 150px; height: auto;}
.product-content :where(.text-body, .left-content:not(:has(.text-body))) > :first-child {font-size: var(--fs-26); line-height: 140%;}
}
@media only screen and (max-width: 920px) {.product-detail .thumbnails .product-img {width: 170px; height: 170px;} .product-detail .thumbnails .product-img img {width: 100%; max-width: 130px; height: auto;}}
@media only screen and (max-width: 900px) {
	.product-detail input[type='radio'] {width: 100px;
	height: 100px;}
	.product-content-row {grid-template-columns: 1fr;}
.product-content .right-content ul li {padding-left: 18px;}
.product-content .right-content ul {height: 100%; max-height: 100%;}
}
@media (max-width: 768px) {
.products-grid {grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));}
.top-content {padding-top: 20px;}
.top-content h1 {font-size: var(--fs-22); line-height: normal;}
.product-detail .banner .title h2 {font-size: var(--fs-24);}
.product-detail {height: auto}
.product-detail .row {flex-direction: column;}
.product-detail .row .left-details {width: 100%;}
.product-detail .row .right-details {width: 100%;
padding-left: 0px}
.product-detail .thumbnails .product-img {width: 100%; height: 100%; flex-shrink: 1; padding-block: 16px;}
.rating label {text-align: center;}
.rating ul {margin: 10px 0;  }
.rating small {margin: 0;}
.action h3 {font-size: var(--fs-28);}
.action a {font-size: var(--fs-20);}
.product-content :where(.text-body, .left-content:not(:has(.text-body))) > :first-child {font-size: var(--fs-24);}
.product-content-row .right-content > :first-child {font-size: var(--fs-20);}
}
@media only screen and (max-width: 575px) {
.product-detail .banner .title h2 {font-size: var(--fs-20);}
.product-content .accordion {padding: 0;}
.product-detail .thumbnails {gap: 10px;}
.product-detail .thumbnails .product-img {padding: 6px;}
.product-content :where(.text-body, .left-content:not(:has(.text-body))) > :first-child {font-size: var(--fs-22);}
.product-content .left-content {padding-right: 15px;}
.product-content .right-content ul li {display: block; padding-left: 6px;}
.product-content .right-content ul li strong {display: unset; min-width: auto;}
.product-content .right-content ul li strong::before {content: none;}
}
@media only screen and (max-width: 450px) {
.top-content {padding: 24px 0;}
.row .left-details .banner {padding: 15px;}
.product-detail input[type='radio'] {width: 80px; height: 80px; }
.action h3 {font-size: var(--fs-22);}
.action a {font-size: var(--fs-16);}
.product-detail .thumbnails {gap: 10px;}
.product-content :where(.text-body, .left-content:not(:has(.text-body))) > :first-child {font-size: var(--fs-20);}
.product-content-row .right-content > :first-child {font-size: var(--fs-18);}

}
