/*
 * Q8Oils product-page fidelity, 2026-10-20.
 * Only affects product DETAIL pages; the catalogue, other pages and navigation
 * retain their existing layout. Uses the same source image as q8oils.com.
 * FSAlbert is loaded from the manufacturer's own public font stylesheet.
 */
/* Keep the Q8Oils corporate typeface consistent in the page's header and footer. */
body.q8-faithful:has(.q8p-product) .q8f-header,
body.q8-faithful:has(.q8p-product) .q8f-footer,
body.q8-faithful:has(.q8p-product) .q8f-header a,
body.q8-faithful:has(.q8p-product) .q8f-header summary,
body.q8-faithful:has(.q8p-product) .q8f-header button {
 font-family:"FSAlbert","Lato",Arial,sans-serif;
}
body.q8-faithful:has(.q8p-product) .q8f-mainnav > a,
body.q8-faithful:has(.q8p-product) .q8f-nav-drop > summary {
 color:#20419a;
}
.q8-faithful .q8p-main:has(.q8p-product){
 --q8-detail-blue:#20419a;
 --q8-detail-red:#ee564c;
 --q8-detail-yellow:#ffc61e;
 --q8-detail-ink:#606b7d;
 font-family:"FSAlbert","Lato",Arial,sans-serif;
 font-size:16px;
 line-height:1.5;
 color:var(--q8-detail-ink);
 background:#fff;
}
.q8-faithful .q8p-main:has(.q8p-product) *{box-sizing:border-box}
.q8-faithful .q8p-main:has(.q8p-product) .q8p-inner{max-width:1140px;margin:0 auto;width:100%;padding-left:15px;padding-right:15px}
.q8-faithful .q8p-main:has(.q8p-product) h1,
.q8-faithful .q8p-main:has(.q8p-product) h2,
.q8-faithful .q8p-main:has(.q8p-product) h3,
.q8-faithful .q8p-main:has(.q8p-product) h4,
.q8-faithful .q8p-main:has(.q8p-product) p,
.q8-faithful .q8p-main:has(.q8p-product) span,
.q8-faithful .q8p-main:has(.q8p-product) a{
 font-family:inherit;
 letter-spacing:normal;
}
.q8-faithful .q8p-main:has(.q8p-product) .q8p-actionstrip{
 background:#f2f2f2;
 padding:16px 0;
 margin:0;
}
.q8-faithful .q8p-main:has(.q8p-product) .q8p-back{
 color:#20419a;
 font-size:15px;
 font-weight:400;
 text-decoration:none;
}
.q8-faithful .q8p-main:has(.q8p-product) .q8p-button{
 border-radius:0;
 font-size:15px;
 font-weight:600;
 min-height:43px;
 padding:9px 16px;
 line-height:1.4;
}
.q8-faithful .q8p-main:has(.q8p-product) .q8p-yellow{
 background:#ffc61e;
 border:1px solid #f7be16;
 color:#141414!important;
 box-shadow:none;
}
.q8-faithful .q8p-main:has(.q8p-product) .q8p-yellow:hover{background:#e8b10f}
.q8-faithful .q8p-main:has(.q8p-product) .q8p-product{
 padding-top:48px;
 padding-bottom:54px;
}
.q8-faithful .q8p-main:has(.q8p-product) .q8p-product-top{
 display:grid;
 grid-template-columns:minmax(0,255px) minmax(0,1fr);
 align-items:start;
 column-gap:58px;
}
.q8-faithful .q8p-main:has(.q8p-product) .q8p-product-image{
 display:flex;
 justify-content:center;
 align-items:flex-start;
 padding:12px 0 0;
 min-height:300px;
}
.q8-faithful .q8p-main:has(.q8p-product) .q8p-product-image>img{
 display:block;
 object-fit:contain;
 width:auto;
 height:auto;
 max-width:215px;
 max-height:334px;
 margin:0 auto;
}
.q8-faithful .q8p-main:has(.q8p-product) .q8p-title{
 padding:0 0 26px;
}
.q8-faithful .q8p-main:has(.q8p-product) .q8p-title h1{
 font-family:"FSAlbert","Lato",Arial,sans-serif;
 color:#20419a;
 font-size:36px;
 font-weight:700;
 line-height:1.13;
 margin:0 0 5px;
 text-transform:none;
}
.q8-faithful .q8p-main:has(.q8p-product) .q8p-title .q8p-subtitle{
 display:block;
 color:#637080;
 font-size:15px;
 font-weight:400;
 line-height:1.35;
 text-transform:uppercase;
}
.q8-faithful .q8p-main:has(.q8p-product) .q8p-details-cols{
 display:grid;
 grid-template-columns:minmax(0,190px) minmax(0,1fr);
 gap:40px;
}
.q8-faithful .q8p-main:has(.q8p-product) .q8p-prop{
 margin:0 0 20px;
}
.q8-faithful .q8p-main:has(.q8p-product) .q8p-prop h4,
.q8-faithful .q8p-main:has(.q8p-product) .q8p-content-section h4,
.q8-faithful .q8p-main:has(.q8p-product) .q8p-downloads h4{
 color:#ed554d;
 font-size:18px;
 font-weight:400;
 line-height:1.32;
 margin:0 0 9px;
}
.q8-faithful .q8p-main:has(.q8p-product) .q8p-prop p{
 color:#657282;
 font-size:15px;
 font-weight:400;
 line-height:1.45;
 margin:0 0 5px;
}
.q8-faithful .q8p-main:has(.q8p-product) .q8p-check{
 display:flex;
 align-items:baseline;
 gap:9px;
}
.q8-faithful .q8p-main:has(.q8p-product) .q8p-check:before{
 color:#ffc61e;
 font-size:17px;
 font-weight:700;
 line-height:1;
 flex:none;
}
.q8-faithful .q8p-main:has(.q8p-product) .q8p-downloads{
 background:#f1f1f1;
 padding:35px 0 43px;
}
.q8-faithful .q8p-main:has(.q8p-product) .q8p-downloads h4{
 margin-bottom:12px;
}
.q8-faithful .q8p-main:has(.q8p-product) .q8p-download-links{
 display:flex;
 flex-wrap:wrap;
 gap:14px;
 align-items:center;
}
.q8-faithful .q8p-main:has(.q8p-product) .q8p-download-links .q8p-button{
 font-size:13px;
 font-weight:700;
 display:inline-flex;
 justify-content:flex-start;
 gap:8px;
 min-width:0;
 min-height:44px;
 padding:9px 15px;
 text-transform:uppercase;
}
.q8-faithful .q8p-main:has(.q8p-product) .q8p-download-links a.q8p-button:before{
 content:"↓";
 font-size:21px;
 font-weight:700;
 line-height:1;
}
.q8-faithful .q8p-main:has(.q8p-product) .q8p-doc-warning{
 display:none;
}
.q8-faithful .q8p-main:has(.q8p-product) .q8p-content-section{
 background:#fff;
 padding:23px 0 17px;
 border-top:none;
}
.q8-faithful .q8p-main:has(.q8p-product) .q8p-content-section+.q8p-content-section{
 border-top:0;
}
.q8-faithful .q8p-main:has(.q8p-product) .q8p-content-section h4{
 margin-bottom:9px;
}
.q8-faithful .q8p-main:has(.q8p-product) .q8p-content-section p{
 font-size:15px;
 color:#626e7b;
 line-height:1.58;
 max-width:none;
}
.q8-faithful .q8p-main:has(.q8p-product) .q8p-content-section>.q8p-inner>.q8p-note{
 display:none;
}
.q8-faithful .q8p-main:has(.q8p-product) .q8p-feature-grid p{
 color:#626e7b;
}
.q8-faithful .q8p-main:has(.q8p-product) .q8p-sustainability{
 background:#fff;
}
.q8-faithful .q8p-main:has(.q8p-product) .q8p-specification-grid{
 margin-top:16px;
 gap:0;
}
.q8-faithful .q8p-main:has(.q8p-product) .q8p-specification{
 color:#687180;
 min-height:57px;
 padding:13px 19px;
}
.q8-faithful .q8p-main:has(.q8p-product) .q8p-taxonomy-section{
 margin:27px 0 0;
 background:#f7f8fa;
 border-top:1px solid #e5e9f0;
 border-bottom:1px solid #e5e9f0;
 padding:28px 0;
}
.q8-faithful .q8p-main:has(.q8p-product) .q8p-taxonomy-section h4{
 font-size:18px;
 font-weight:400;
 color:#ed554d;
}
.q8-faithful .q8p-main:has(.q8p-product) .q8p-taxonomy-chip{
 border-radius:0;
 font-weight:400;
}
.q8-faithful .q8p-main:has(.q8p-product) .q8p-contactcta{
 background:#20419a;
}
@media(max-width:1000px){
 .q8-faithful .q8p-main:has(.q8p-product) .q8p-product-top{
  grid-template-columns:minmax(0,210px) minmax(0,1fr);gap:34px
 }
 .q8-faithful .q8p-main:has(.q8p-product) .q8p-details-cols{grid-template-columns:minmax(0,170px) minmax(0,1fr);gap:26px}
 .q8-faithful .q8p-main:has(.q8p-product) .q8p-product-image>img{max-width:190px;max-height:300px}
}
@media(max-width:767px){
 .q8-faithful .q8p-main:has(.q8p-product) .q8p-product{padding-top:32px;padding-bottom:38px}
 .q8-faithful .q8p-main:has(.q8p-product) .q8p-product-top{grid-template-columns:1fr;gap:23px}
 .q8-faithful .q8p-main:has(.q8p-product) .q8p-product-image{padding:0;min-height:0}
 .q8-faithful .q8p-main:has(.q8p-product) .q8p-product-image>img{max-height:255px;width:auto}
 .q8-faithful .q8p-main:has(.q8p-product) .q8p-title h1{font-size:31px}
 .q8-faithful .q8p-main:has(.q8p-product) .q8p-details-cols{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
 .q8-faithful .q8p-main:has(.q8p-product) .q8p-content-section{padding:20px 0 12px}
}
@media(max-width:460px){
 .q8-faithful .q8p-main:has(.q8p-product) .q8p-details-cols{grid-template-columns:1fr;gap:0}
 .q8-faithful .q8p-main:has(.q8p-product) .q8p-title h1{font-size:29px}
 .q8-faithful .q8p-main:has(.q8p-product) .q8p-download-links .q8p-button{width:100%}
}


/* Product detail refinements: match original Q8Oils.com icons and FSAlbert typography.
   Scope is only product detail view, so all 731 product entries share one treatment. */
.q8-faithful .q8p-main:has(.q8p-product),
.q8-faithful .q8p-main:has(.q8p-product) .q8p-inner,
.q8-faithful .q8p-main:has(.q8p-product) .q8p-inner h1,
.q8-faithful .q8p-main:has(.q8p-product) .q8p-inner h2,
.q8-faithful .q8p-main:has(.q8p-product) .q8p-inner h3,
.q8-faithful .q8p-main:has(.q8p-product) .q8p-inner h4,
.q8-faithful .q8p-main:has(.q8p-product) .q8p-inner p,
.q8-faithful .q8p-main:has(.q8p-product) .q8p-inner a,
.q8-faithful .q8p-main:has(.q8p-product) .q8p-inner span,
.q8-faithful .q8p-main:has(.q8p-product) .q8p-inner strong {
  font-family:"FSAlbert",Arial,sans-serif;
  letter-spacing:normal;
}
.q8-faithful .q8p-main:has(.q8p-product) .q8p-prop h4,
.q8-faithful .q8p-main:has(.q8p-product) .q8p-downloads h4,
.q8-faithful .q8p-main:has(.q8p-product) .q8p-content-section h4 {
  color:#ee564c;
  font-family:"FSAlbert",Arial,sans-serif;
  font-size:18px;
  font-weight:700;
  line-height:1.3;
}
.q8-faithful .q8p-main:has(.q8p-product) .q8p-content-section p,
.q8-faithful .q8p-main:has(.q8p-product) .q8p-prop p {
  font-family:"FSAlbert",Arial,sans-serif;
  font-size:15px;
  font-weight:400;
  line-height:1.55;
  color:#646d7b;
}
/* Manufacturer uses a square-capped yellow SVG check, 15x15, not a text glyph. */
.q8-faithful .q8p-main:has(.q8p-product) .q8p-check {
  display:flex;
  align-items:flex-start;
  gap:8px;
}
.q8-faithful .q8p-main:has(.q8p-product) .q8p-check::before {
  content:"";
  display:inline-block;
  flex:0 0 15px;
  width:15px;
  height:15px;
  margin-top:3px;
  background:url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20width%3D'15'%20height%3D'15'%20viewBox%3D'0%200%2024%2024'%20fill%3D'none'%20stroke%3D'%23FFC61E'%20stroke-width%3D'2'%20stroke-linecap%3D'square'%20stroke-linejoin%3D'arcs'%3E%3Cpolyline%20points%3D'20%206%209%2017%204%2012'%2F%3E%3C%2Fsvg%3E") center / 15px 15px no-repeat;
}
.q8-faithful .q8p-main:has(.q8p-product) .q8p-specification .q8p-original-check{
  display:block;
  width:15px;
  height:15px;
  flex:0 0 15px;
  margin-right:0;
}
.q8-faithful .q8p-main:has(.q8p-product) .q8p-specification-grid {
  grid-template-columns:repeat(2,minmax(0,1fr));
  margin-top:14px;
  gap:0;
}
.q8-faithful .q8p-main:has(.q8p-product) .q8p-specification{
  min-height:40px;
  padding:8px 13px;
  gap:10px;
  border-bottom:1px solid #e7e7e7;
  font-size:14px;
}
.q8-faithful .q8p-main:has(.q8p-product) .q8p-specification>div{
  gap:8px;
  align-items:center;
}
.q8-faithful .q8p-main:has(.q8p-product) .q8p-specification strong,
.q8-faithful .q8p-main:has(.q8p-product) .q8p-specification p{
  font-family:"FSAlbert",Arial,sans-serif;
  font-size:14px;
  font-weight:400;
  line-height:1.4;
}
/* Identical thick downward SVG icon to Q8Oils.com on each document button. */
.q8-faithful .q8p-main:has(.q8p-product) .q8p-download-links a.q8p-button::before{
  content:none;
  display:none;
}
.q8-faithful .q8p-main:has(.q8p-product) .q8p-download-links .q8p-download-arrow{
  display:block;
  flex:0 0 18px;
  width:18px;
  height:18px;
  color:#000;
}
.q8-faithful .q8p-main:has(.q8p-product) .q8p-download-links a.q8p-button{
  align-items:center;
  justify-content:flex-start;
  gap:8px;
  text-transform:uppercase;
  font-family:"FSAlbert",Arial,sans-serif;
  font-size:13px;
  font-weight:700;
}
.q8-faithful .q8p-main:has(.q8p-product) .q8p-download-links a.q8p-button span{
  font-family:"FSAlbert",Arial,sans-serif;
  font-size:13px;
  font-weight:700;
  letter-spacing:0;
}
@media(max-width:767px){
  .q8-faithful .q8p-main:has(.q8p-product) .q8p-specification-grid{
    grid-template-columns:1fr;
  }
  .q8-faithful .q8p-main:has(.q8p-product) .q8p-specification:nth-child(even){background:#fff}
  .q8-faithful .q8p-main:has(.q8p-product) .q8p-specification:nth-child(odd){background:#f2f2f2}
}


/* Q8Oils.com Features section: two columns, bold italic feature text, no bullets. */
.q8-faithful .q8p-main:has(.q8p-product) .q8p-feature-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  column-gap:34px;
  row-gap:18px;
  margin:15px 0 4px;
}
.q8-faithful .q8p-main:has(.q8p-product) .q8p-feature-grid .q8p-check{
  display:block;
  color:#647081;
  font-family:"FSAlbert",Arial,sans-serif;
  font-size:15px;
  font-weight:700;
  font-style:italic;
  line-height:1.45;
  margin:0;
}
.q8-faithful .q8p-main:has(.q8p-product) .q8p-feature-grid .q8p-check::before{
  content:none;
  display:none;
}
@media(max-width:767px){
  .q8-faithful .q8p-main:has(.q8p-product) .q8p-feature-grid{
    grid-template-columns:1fr;
    gap:12px;
  }
}
