/* Small product-page refinements; loaded after the shared and review styles. */
/* Video shares the image stage dimensions, so changing media never shifts content. */
body .gallery-shell [hidden] { display:none!important; }
body .gallery-shell .gallery-video-thumb { overflow:hidden; }
body .gallery-shell .gallery-video-thumb img { opacity:.64; }
body .gallery-shell .gallery-video-badge {
 position:absolute;left:50%;top:43%;transform:translate(-50%,-50%);
 display:grid;place-items:center;width:29px;height:29px;border-radius:50%;
 color:#fff;background:#184832;box-shadow:0 1px 5px rgb(0 0 0 / 18%);pointer-events:none;
}
body .gallery-shell .gallery-video-badge svg { width:18px;height:18px; }
body .gallery-shell .gallery-video-label {
 position:absolute;bottom:3px;left:0;right:0;font-size:9px;font-weight:700;
 line-height:1.35;letter-spacing:.05em;text-align:center;color:#184832;pointer-events:none;
}
body .gallery-shell .product-video-stage { position:relative;width:100%;height:100%;min-width:0;background:#111; }
body .gallery-shell [data-product-video] { display:block;width:100%;height:100%;object-fit:contain;background:#111; }
body .gallery-shell .product-video-play {
 position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);
 display:flex;flex-direction:column;align-items:center;gap:11px;
 max-width:90%;width:max-content;padding:16px 22px;border:0;border-radius:12px;
 background:rgb(16 37 27 / 88%);color:#fff;cursor:pointer;font:inherit;font-size:13px;
 box-shadow:0 4px 20px rgb(0 0 0 / 16%);
}
body .gallery-shell .product-video-play svg { width:36px;height:36px; }
body .gallery-shell .product-video-play:hover { background:#184832; }
body .gallery-shell .product-video-play:focus-visible { outline:3px solid #fff;outline-offset:4px; }
body .gallery-shell .product-video-error {
 position:absolute;inset:0;display:flex;align-items:center;justify-content:center;
 margin:0;padding:32px;color:#fff;background:rgb(17 17 17 / 92%);
 font-size:14px;line-height:1.7;text-align:center;pointer-events:none;
}
body .purchase-box .support-offer-inline .care-offer-icon svg {
  transform-origin:center;
  transform-box:fill-box;
  animation:care-heartbeat 3.4s ease-in-out infinite;
}
@keyframes care-heartbeat {
  0%, 12%, 28%, 100% { transform:scale(1); }
  6% { transform:scale(1.13); }
  20% { transform:scale(1.09); }
}

body .purchase-box .purchase-actions .qty-control,
body .purchase-box .purchase-actions .qty-control button,
body .purchase-box .purchase-actions [data-add-selected] {
  border-radius:24px;
}
html body .purchase-box .purchase-actions .qty-control button:is(:hover,:active) {
  background:transparent;
}
body .purchase-box .purchase-actions [data-add-selected] {
  transition:background-color 180ms ease,border-color 180ms ease,transform 180ms ease,box-shadow 180ms ease;
}
body .purchase-box .purchase-actions [data-add-selected] .icon {
  transition:transform 180ms ease;
}
@media (hover:hover) and (pointer:fine) {
  body .purchase-box .purchase-actions [data-add-selected]:hover:not(:disabled) {
    transform:translateY(-2px);
    box-shadow:0 5px 14px rgb(24 72 50 / 16%);
  }
  body .purchase-box .purchase-actions [data-add-selected]:hover:not(:disabled) .icon {
    transform:translateX(2px);
  }
}
body .purchase-box .purchase-actions [data-add-selected]:active:not(:disabled) {
  transform:translateY(0);
  box-shadow:none;
}

body .purchase-box .purchase-services {
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:8px 10px;
  margin:15px 0 0;
  padding:0;
  list-style:none;
  color:var(--muted,#6b776b);
}
body .purchase-box .purchase-services li {
  display:flex;
  align-items:center;
  justify-content:center;
  gap:5px;
  min-width:0;
  font-size:12px;
  line-height:1.5;
  text-align:left;
}
body .purchase-box .purchase-services li:first-child { justify-content:flex-start; }
body .purchase-box .purchase-services li:last-child { justify-content:flex-end; }
body .purchase-box .purchase-services .icon {
  flex:0 0 17px;
  width:17px;
  height:17px;
  color:var(--muted,#6b776b);
}
body .purchase-box .purchase-services span { min-width:0; }

/* Shared product-page service strip, above the full-width custom details. */
body .oil-assurance-bar {
  background:#184832;
  color:#fff;
}
body .oil-assurance-list {
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:0;
  margin-block:0;
  padding:22px 0;
  list-style:none;
}
body .oil-assurance-list li {
  position:relative;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:12px;
  min-width:0;
  min-height:42px;
  padding:0 20px;
  font-size:18px;
  font-weight:600;
  line-height:1.5;
  text-align:center;
}
body .oil-assurance-list .icon {
  flex:0 0 27px;
  width:27px;
  height:27px;
  color:#e4edd9;
}
body .oil-assurance-divider {
  position:absolute;
  left:0;
  top:50%;
  transform:translate(-50%,-50%);
  color:#c3d5b8;
  font-size:27px;
  font-weight:300;
  line-height:1;
}
@media (max-width:1000px) {
  body .oil-assurance-list li {
    flex-direction:column;
    gap:8px;
    padding-inline:12px;
    font-size:15px;
  }
}
@media (max-width:700px) {
  body .oil-assurance-list {
    width:calc(100% - 24px);
    padding-block:18px;
  }
  body .oil-assurance-list li {
    justify-content:flex-start;
    gap:7px;
    padding-inline:7px;
    font-size:12px;
  }
  body .oil-assurance-list .icon {
    flex-basis:23px;
    width:23px;
    height:23px;
  }
  body .oil-assurance-divider { font-size:21px; }
}

/* Compact comparison keeps the labels and live price hooks in one clear row set. */
body #compare.oil-compare-section { padding-block:48px; }
body #compare .section-heading {
  gap:28px;
  align-items:center;
  margin-bottom:22px;
}
body #compare .section-heading .eyebrow { margin-bottom:6px; }
body #compare .section-heading h2 { font-size:28px;line-height:1.3; }
body #compare .section-heading > p {
  flex-basis:480px;
  max-width:480px;
  margin:0;
  font-size:14px!important;
  line-height:1.65;
}
body #compare .oil-compare-hint { display:none; }
body #compare .oil-compare-grid {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  align-items:stretch;
  gap:16px;
}
body #compare .compare-card {
  display:flex;
  flex-direction:column;
  gap:0;
  min-width:0;
  padding:16px;
  border:1px solid var(--line,#dce2d7);
  border-radius:14px;
}
body #compare .compare-product-heading {
  display:grid;
  grid-template-columns:80px minmax(0,1fr);
  gap:12px;
  align-items:center;
  min-height:80px;
}
body #compare .compare-top {
  grid-column:auto;
  grid-row:auto;
  align-self:center;
  width:80px;
  height:80px;
  min-width:0;
  aspect-ratio:1;
  margin:0;
  border:0;
  border-radius:8px;
}
body #compare .compare-top img {
  width:100%;
  height:100%;
  padding:3px;
  object-fit:contain;
  border-radius:8px;
}
body #compare .compare-card h3 {
  grid-column:auto;
  grid-row:auto;
  min-height:0;
  margin:0;
  padding:0;
  font-size:17px;
  font-weight:600;
  line-height:1.45;
  letter-spacing:0;
  text-wrap:pretty;
  overflow-wrap:break-word;
}
body #compare .compare-card dl {
  grid-column:auto;
  grid-row:auto;
  flex:1;
  margin:12px 0 14px;
  font-size:14px;
  line-height:1.5;
}
body #compare .compare-card dl > div {
  display:grid;
  grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);
  align-items:start;
  gap:10px;
  padding:8px 0;
}
body #compare .compare-card dt { max-width:none; }
body #compare .compare-card dd {
  min-width:0;
  margin:0;
  white-space:normal;
  overflow-wrap:break-word;
}
body #compare .compare-card .highlight-row dd { font-size:14px; }
body #compare .compare-card .btn {
  grid-column:auto;
  grid-row:auto;
  width:100%;
  min-height:40px;
  padding:8px 12px;
  border-radius:20px;
  font-size:14px;
  line-height:1.5;
  gap:9px;
}
body #compare .oil-compare-grid + .micro {
  max-width:none;
  margin-top:14px;
  font-size:12px!important;
  line-height:1.65;
}

@media (min-width:701px) and (max-width:1000px) {
  body #compare .compare-product-heading { grid-template-columns:64px minmax(0,1fr);gap:9px;min-height:112px; }
  body #compare .compare-top { width:64px;height:64px; }
  body #compare .compare-card h3 { font-size:15px; }
  body #compare .compare-card dl { font-size:13px; }
  body #compare .compare-card dl > div { gap:8px; }
}
@media (max-width:700px) {
  body .purchase-box .purchase-services { grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 16px;margin-top:16px; }
  body .purchase-box .purchase-services li,
  body .purchase-box .purchase-services li:last-child { justify-content:flex-start;font-size:12px; }
  body #compare.oil-compare-section { padding-block:32px; }
  body #compare .section-heading { display:block;margin-bottom:12px; }
  body #compare .section-heading h2 { font-size:25px; }
  body #compare .section-heading > p { max-width:none;margin-top:10px; }
  body #compare .oil-compare-hint {
    display:block;
    margin:0 0 10px;
    color:var(--muted,#6b776b);
    font-size:12px!important;
    line-height:1.5;
    text-align:right;
  }
  body #compare .oil-compare-grid {
    grid-template-columns:none;
    grid-auto-flow:column;
    grid-auto-columns:85%;
    gap:12px;
    overflow-x:auto;
    overscroll-behavior-x:contain;
    scroll-snap-type:x proximity;
    scrollbar-width:thin;
    scrollbar-color:var(--sage-mid,#ccd8c9) transparent;
    padding:4px 3px 12px;
  }
  body #compare .compare-card { scroll-snap-align:start;padding:15px; }
  body #compare .compare-product-heading { min-height:86px; }
  body #compare .compare-card h3 { font-size:16px; }
}
@media (prefers-reduced-motion:reduce) {
  body .purchase-box .support-offer-inline .care-offer-icon svg { animation:none; }
  body .purchase-box .purchase-actions [data-add-selected],
  body .purchase-box .purchase-actions [data-add-selected] .icon { transition:none; }
  body .purchase-box .purchase-actions [data-add-selected]:is(:hover,:active):not(:disabled),
  body .purchase-box .purchase-actions [data-add-selected]:hover:not(:disabled) .icon { transform:none; }
}
@media print {
  body #compare .oil-compare-grid { grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-flow:row;overflow:visible; }
  body #compare .oil-compare-hint { display:none; }
}

/* Preserve line breaks in editor-managed product support and FAQ headings. */
[data-product-support-body],[data-product-faq-title]{white-space:pre-line}

.chatway-open-status{display:block;max-width:36rem;margin-top:8px;font-size:13px;line-height:1.6;color:#5e7064}.chatway-open-status a{text-decoration:underline;margin-inline-start:8px}

/* Shared product offer badge on desktop and mobile, including themed pages. */
html body .purchase-box .purchase-price .price-savings {
 background:#dc6052;color:#fff;border-color:#dc6052;
 white-space:normal;overflow-wrap:anywhere;max-width:100%;
}

/* This stylesheet is loaded only on product pages. */
@media (max-width:720px) {
 body .breadcrumb { display:none; }
 body .gallery-shell > .product-stage { border:0; }
 html body .product-hero .product-intro h1 { font-size:24px; }
 html body .product-hero .product-intro .intro-text { color:#666; }
}

.spec-chips[hidden]{display:none}.spec-chips span{max-width:100%;overflow-wrap:anywhere}

/* Compact editor-managed introduction; preserve surrounding product typography. */
.product-intro .intro-text{overflow-wrap:anywhere}
.product-intro .intro-text :where(p,ul,ol){margin:0 0 .65em;font:inherit;color:inherit}
.product-intro .intro-text :where(ul,ol){padding-left:1.4em}
.product-intro .intro-text :where(li){margin:.2em 0}
.product-intro .intro-text :where(strong,b){font-weight:700}
.product-intro .intro-text :where(a){text-decoration:underline;text-underline-offset:.15em}
.product-intro .intro-text>:last-child{margin-bottom:0}
.purchase-heading [data-purchase-heading]{overflow-wrap:anywhere;white-space:pre-line}
.purchase-heading [data-purchase-heading].sr-only{position:absolute;width:1px;height:1px;padding:0;margin:0;border:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
