/* Reserve space for the Upsell cross-sell box so the buy button does not move. upsell-cls.js sets --up-h. */
.type-product .buy-box .p-final-price-wrapper { width: 100%; }
.type-product .buy-box:not(:has(.up-product-wrapper)) .p-final-price-wrapper { margin-bottom: var(--up-h, 0px); }
.type-product:not(.up-ready) .buy-box > :not(.p-final-price-wrapper) { visibility: hidden; animation: up-cls-show 0s 3s forwards; }
@keyframes up-cls-show { to { visibility: visible; } }

/* Compare link: center it next to the buy button, on its own centered row where it does not fit. The dkLab add-on sets the margin with !important. */
.type-product .p-info-wrapper .buy-box #dkLabComparerDiv { margin: 0 0 0 24px !important; align-self: center; }
@media (min-width: 992px) and (max-width: 1199px) {
  .type-product .p-info-wrapper .buy-box #dkLabComparerDiv { flex: 0 0 377px; margin: 16px 0 0 !important; text-align: center; }
}
@media (max-width: 767px) {
  .type-product .p-info-wrapper .buy-box #dkLabComparerDiv { flex: 0 0 100%; margin: 16px 0 0 !important; text-align: center; }
}
