/* The real price label is already present in the markup. */
body.sf-detail-v2.sf44893-mockup #pdv1-product-detail
.pdv1-summary .pdv1-price::before {
  content: none !important;
  display: none !important;
}

/* The product identity and vehicle fitment remain one semantic heading,
   with a quieter second line instead of a dense pipe-separated sentence. */
body.sf-detail-v2 #pdv1-product-detail .pdv1-title--split > span {
  display: block;
}

body.sf-detail-v2 #pdv1-product-detail .pdv1-title--split .pdv1-title__product {
  color: #0b315f;
  font-size: 21px;
  font-weight: 950;
  line-height: 1.24;
}

body.sf-detail-v2 #pdv1-product-detail .pdv1-title--split .pdv1-title__fitment {
  margin-top: 8px;
  color: #63758d;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0;
  background: none !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
}

body.sf-detail-v2 #pdv1-product-detail .pdv1-title__fitment-line {
  display: block;
  background: none !important;
  border: 0 !important;
  padding: 0 !important;
}

/* Keep the live quantity announcement accessible without making it a grid cell. */
body.sf-detail-v2 #pdv1-product-detail .pdv1-qty .s11-pd-qty-live {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
}

body.sf-detail-v2 #pdv1-product-detail .pdv1-qty [data-sf-detail-plus] .pdv1-qty-plus {
  display: grid !important;
  place-items: center;
  border: 0 !important;
  font-size: 20px;
  line-height: 1;
}

body.sf-detail-v2 #pdv1-product-detail .pdv1-qty [data-sf-detail-plus]::after {
  content: none !important;
  display: none !important;
}

/* Product cards keep the home Popular Products visual language while showing
   the entire title instead of clipping compatible models after three lines. */
body.sf-stage11-product-detail-v1 .sf-interest-rail__track {
  grid-auto-columns: 280px !important;
}

body.sf-stage11-product-detail-v1 .sf-interest-card[data-ipek-pd42826-card="1"] {
  min-height: 468px !important;
  height: auto !important;
  padding-bottom: 112px !important;
}

body.sf-stage11-product-detail-v1 .sf-interest-card [data-ipek-pd42826-title="1"] {
  display: block !important;
  -webkit-line-clamp: unset !important;
  max-height: none !important;
  overflow: visible !important;
  white-space: normal !important;
}

@media (max-width: 560px) {
  body.sf-stage11-product-detail-v1 .sf-interest-rail__track {
    grid-auto-columns: min(78vw, 280px) !important;
  }
}

body.sf-detail-v2 #pdv1-product-detail .pdv1-favorite-functional .pdv1-favorite-button,
body.sf-detail-v2 #pdv1-product-detail .pdv1-favorite-button--link {
  margin-top: 0 !important;
}

/* Keep the purchase actions at the bottom of the three-column product hero. */
@media (min-width: 1181px) {
  body.sf-detail-v2.sf44893-mockup.ipek-pd3-v1 #pdv1-product-detail
  .pdv1-summary.ipek-pd3-summary {
    min-height: 520px !important;
  }

  body.sf-detail-v2.sf44893-mockup.ipek-pd3-v1 #pdv1-product-detail
  .pdv1-summary.ipek-pd3-summary > .pdv1-price {
    margin-top: auto !important;
  }

  /* Seven closed rows fit within the gallery's 520px baseline without
     making the information rail scroll. Open panels retain their own flow. */
  body.sf-detail-v2.sf44893-mockup.ipek-pd3-v1 #pdv1-product-detail
  .ipek-pd3-accordion > .ipek-pd3-item {
    margin: 0 0 8px !important;
  }

  body.sf-detail-v2.sf44893-mockup.ipek-pd3-v1 #pdv1-product-detail
  .ipek-pd3-accordion > .ipek-pd3-item > .ipek-pd3-trigger {
    min-height: 62px !important;
    padding: 6px 12px !important;
    grid-template-columns: 36px minmax(0, 1fr) 18px !important;
    gap: 9px !important;
  }

  body.sf-detail-v2.sf44893-mockup.ipek-pd3-v1 #pdv1-product-detail
  .ipek-pd3-accordion > .ipek-pd3-item > .ipek-pd3-trigger .ipek-pd3-icon {
    width: 34px !important;
    height: 34px !important;
    font-size: 16px !important;
  }
}
