.mp-timeline {
  grid-column: 1 / -1;
  min-width: 0;

  margin-block-start: 22px;

  color: #263f30;
  border-radius: 6px;
  scroll-margin-top: 18px;
}
.mp-timeline__pin { padding: clamp(24px, 3.6vw, 48px); background: #f4f5ee; border-radius: 6px; }
.mp-timeline.is-scroll .mp-timeline__pin { position: sticky; top: var(--pin-top, 16px); }
.mp-timeline h2, .mp-timeline h3, .mp-timeline p { margin: 0; }
.mp-timeline h2 {
  font-size: clamp(25px, 2.6vw, 36px);
  line-height: 1.16;
  font-weight: 600;
  letter-spacing: -.035em;
}
.mp-timeline ol {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  list-style: none;
  margin: 30px 0 0;
  padding: 0;
}
.mp-timeline li { position: relative; margin: 0; text-align: center; min-width: 0; }
.mp-timeline li:not(:last-child)::before,
.mp-timeline li:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 72px;
  left: 50%;
  width: 100%;
  height: 8px;
  background: #dce4d7;
}
.mp-timeline li:not(:last-child)::after {
  background: #608061;
  transform: scaleX(var(--line-progress, 0));
  transform-origin: left center;

}

.mp-timeline__day {
  display: block;
  font-size: 14px;
  line-height: 20px;
  margin-bottom: 14px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.mp-timeline__icon {
  display: grid;
  place-items: center;
  position: relative;
  z-index: 1;
  margin: 0 auto 17px;
  width: 84px;
  height: 84px;
  padding: 5px;
  color: #547252;
  border: 3px solid #d7e1d0;
  border-radius: 50%;
  --icon-paper: #f9faf5;
  background: var(--icon-paper);
  box-shadow: 0 0 0 5px #f4f5ee;
  cursor: pointer;
  transition: color .25s, background .25s, border-color .25s, box-shadow .25s;
}
.mp-timeline__icon svg { display: block; width: 100%; height: 100%; overflow: visible; }
.mp-timeline li.is-active .mp-timeline__icon {
  --icon-paper: #426c4a;
  background: var(--icon-paper);
  border-color: #426c4a;
  color: #fff;
  box-shadow: 0 0 0 5px #f4f5ee, 0 0 0 8px #b3c8ac66;
}
.mp-timeline li.is-past .mp-timeline__icon { border-color: #608061; }
.mp-timeline .mp-timeline__icon:focus-visible { outline: 2px solid #263f30; outline-offset: 6px; }
.mp-timeline li h3 { font-size: 16px; line-height: 1.3; font-weight: 600; padding-inline: 8px; }
.mp-timeline li p { font-size: 13px; line-height: 1.5; color: #586953; max-width: 190px; margin: 7px auto 0; padding-inline: 10px; }
.mp-timeline footer {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px 28px;
  flex-wrap: wrap;
  padding-top: 16px;
  margin-top: 26px;
  border-top: 1px solid #ced6c8;
}
.mp-timeline footer p { font-size: 12px; line-height: 1.5; color: #546455; }
.mp-timeline footer a { color: inherit; font-size: 14px; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
.mp-timeline [data-motion] { transform-box: view-box; }
@media (max-width: 800px) {
 .mp-timeline__pin { padding: 24px 18px; }
 .mp-timeline ol { display: block; margin-top: 24px; }
 .mp-timeline li { text-align: left; padding: 0 0 16px 86px; min-height: 100px; }
 .mp-timeline li:last-child { padding-bottom: 0; min-height: 90px; }
 .mp-timeline__day { font-size: 12px; margin-bottom: 3px; }
 .mp-timeline__icon { position: absolute; left: 0; top: 0; width: 68px; height: 68px; margin: 0; padding: 3px; }
 .mp-timeline li:not(:last-child)::before, .mp-timeline li:not(:last-child)::after {
  left: 30px; top: 34px; width: 8px; height: 100%; transform-origin: center top;
 }
 .mp-timeline li:not(:last-child)::after { transform: scaleY(var(--line-progress, 0)); }
 .mp-timeline li h3 { font-size: 16px; padding: 0; }
 .mp-timeline li p { max-width: none; font-size: 12px; margin: 4px 0 0; padding: 0; }
}
@media (prefers-reduced-motion: reduce) {
 .mp-timeline *, .mp-timeline *::before, .mp-timeline *::after { transition: none !important; animation: none !important; }
}
@media print {
 .mp-timeline { height: auto !important; }
 .mp-timeline .mp-timeline__pin { position: static !important; }
}

/* Keep the price, minimum order and inquiry together at the top of the summary. */
.summary.is-oem-layout .ylp-pricing {
  margin: 21px 0 18px;
  padding: 0;
  background: transparent;
  border: 0;
}
.summary.is-oem-layout .ylp-pricing h2 {
  font-size: 12px;
  font-weight: 500;
  color: #56675d;
  margin: 0 0 4px;
}
.summary.is-oem-layout .ylp-pricing[data-pricing-mode="quote"] h2 {
  font-size: 19px;
  font-weight: 600;
  color: #203b2b;
}
.summary.is-oem-layout .ylp-pricing .ylp-price-value {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 3px 7px;
  font-size: clamp(28px, 3vw, 39px);
  line-height: 1.2;
  font-weight: 650;
  letter-spacing: -.045em;
  color: #675746;
  margin: 0 0 13px;
}
.summary.is-oem-layout .mp-price-unit {
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0;
  white-space: nowrap;
  color: #526359;
}
.summary.is-oem-layout .ylp-price-table td { color: #675746; }
.ylp-price-moq { margin: 0; font-size: 13px; }
.ylp-price-moq > div { display: flex; flex-wrap: wrap; gap: 2px 6px; }
.ylp-price-moq dt { color: #526359; }
.ylp-price-moq dd { margin: 0; font-weight: 600; }
.summary.is-oem-layout > .mp-add-inquiry {
  width: min(100%, 280px);
  min-height: 46px;
  font-size: 15px;
  margin: 0;
}
.summary .ylp-purchase-terms { max-width: 560px; margin: 12px 0 24px; }
.summary .ylp-purchase-terms > summary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 32px;
  cursor: pointer;
  list-style: none;
  color: #435b4b;
  font-size: 12px;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.summary .ylp-purchase-terms > summary::-webkit-details-marker { display: none; }
.summary .ylp-purchase-terms > summary::after { content: '+'; font-size: 15px; }
.summary .ylp-purchase-terms[open] > summary::after { content: '−'; }
.summary .ylp-purchase-terms .ylp-price-terms { margin: 8px 0 0; }
.summary .ylp-purchase-terms .ylp-price-disclaimer {
  margin: 8px 0 0;
  color: #526359;
  font-size: 12px;
}
.summary.is-oem-layout > .ylp-purchase-terms + .woocommerce-product-details__short-description {
  margin-top: 0;
  padding-top: 18px;
  border-top: 1px solid #dce4df;
}
.single-product .mp-product-specs {
  margin: 0;
  border-top: 1px solid #dce4df;
  border-bottom: 1px solid #dce4df;
}
.single-product .mp-product-specs > summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
  cursor: pointer;
  padding: 16px 0;
  font-size: 16px;
  font-weight: 600;
  gap: 14px;
}
.single-product .mp-product-specs > summary::-webkit-details-marker { display: none; }
.single-product .mp-product-specs > summary::after { content: '+'; font-size: 22px; font-weight: 400; }
.single-product .mp-product-specs[open] > summary::after { content: '−'; }
.single-product .mp-product-specs .yl-spec-group { border: 0; margin: 0; padding: 0 0 14px; }
@media (max-width: 767px) {
  .summary.is-oem-layout .ylp-pricing { margin-top: 16px; }
  .summary.is-oem-layout > .mp-add-inquiry { width: 100%; }
}

.yl-product-layout-sourcing .summary.is-oem-layout .yl-product-data { border-top: 0; padding-top: 0; margin-top: 18px; }
.yl-product-layout-sourcing .summary .mp-product-specs + .mp-product-specs { border-top: 0; }

.summary.is-oem-layout .mp-inquiry-options { margin-bottom: 10px; }

.mp-call {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px 32px;
  border: 1px solid #dce4df;
  border-radius: 6px;
  padding: clamp(22px, 3vw, 40px);
}
.mp-call h2 { font-size: clamp(24px, 2.4vw, 32px); line-height: 1.2; margin: 0 0 8px; }
.mp-call p { margin: 0; color: #526359; line-height: 1.6; }
.mp-call__book {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  min-height: 46px;
  padding: 10px 20px;
  background: #245438;
  border-radius: 4px;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
}
.mp-call__book:hover { background: #1c442d; }
@media (max-width: 600px) {
  .mp-call__book { width: 100%; }
}

.mp-similar-products {
  grid-column: 1 / -1;
  padding-top: clamp(20px, 3vw, 32px);
  border-top: 1px solid #dce4df;
}
.mp-similar-products__header {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px 20px;
  margin-bottom: 20px;
}
.mp-similar-products__header h2 {
  margin: 0;
  font-size: clamp(24px, 2.4vw, 32px);
  line-height: 1.2;
}
.mp-similar-products__header a { font-size: 13px; text-decoration: underline; text-underline-offset: 4px; }
.mp-similar-products ul.products .attachment-mrpet_thumbnail {
  background: transparent;
  padding: clamp(12px, 2vw, 24px);
}
.mp-similar-products .mp-add-inquiry { padding-inline: 8px; }
@media (max-width: 767px) {
  .mp-similar-products .mp-add-inquiry { font-size: 12px; }
}

body.single-product:has(.mp-product-hero) {
  --mp-product-page-background: #f7f6f3;
  background-color: var(--mp-product-page-background);
}
body.single-product:has(.mp-product-hero) :is(.site-header, .site-footer) {
  background-color: var(--mp-product-page-background);
}

.mp-product-hero {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  align-items: start;
  gap: 32px clamp(24px, 4vw, 58px);
  padding: clamp(20px, 2.6vw, 36px);
}
.mp-product-hero > * { min-width: 0; }
.mp-product-hero > .summary { padding-top: 0; }
.mp-product-hero .woocommerce-product-gallery__image:first-child {
  background: #fff;
  border: 1px solid #e7e8e3;
  border-radius: 7px;
  padding: clamp(14px, 2.2vw, 30px);
}
.mp-product-hero .woocommerce-product-gallery__image:first-child img { mix-blend-mode: normal; }
@media (max-width: 767px) {
  body.single-product:has(.mp-product-hero) .shop-content { padding-top: 12px; }
  body.single-product:has(.mp-product-hero) .breadcrumbs { margin-bottom: 12px; }
  body.single-product:has(.mp-product-hero) .breadcrumbs > span:has(> .breadcrumb_last) { font-size: 0; }
  body.single-product:has(.mp-product-hero) .breadcrumbs > span:has(> .breadcrumb_last) > span:not(:nth-last-child(2)) { display: none; }
  body.single-product:has(.mp-product-hero) .breadcrumbs a { font-size: 12px; }
  .mp-product-hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
    padding: 0 12px 16px;
  }
  .mp-product-hero .woocommerce-product-gallery__wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(44px, 1fr));
    gap: 8px;
  }
  .mp-product-hero .woocommerce-product-gallery__wrapper > :first-child { grid-column: 1 / -1; }
  .mp-product-hero .woocommerce-product-gallery__image:first-child { padding: 12px; }
  .mp-product-hero .woocommerce-product-gallery__image:first-child img { aspect-ratio: 1.3; }
  .mp-product-hero .woocommerce-product-gallery__image:not(:first-child) {
    margin: 0;
    background: #fff;
    border: 1px solid #e7e8e3;
    border-radius: 5px;
  }
  .mp-product-hero .summary > .product_title { font-size: 30px; }
  .mp-product-hero .summary.is-oem-layout .ylp-pricing { margin-block: 10px 12px; }
  .mp-product-hero .summary.is-oem-layout .ylp-price-value { margin-bottom: 8px; }
}
