/**
 * Single product sticky summary.
 */

@media (min-width: 1201px) {
  .hob-ad-has-sticky-summary.single-product div.product {
    position: relative;
  }

  .hob-ad-has-sticky-summary.single-product .woocommerce div.product div.summary,
  .hob-ad-has-sticky-summary.single-product div.product div.summary,
  .hob-ad-has-sticky-summary.single-product .summary {
    transform: translate3d(0, 0, 0);
    transition: transform 420ms cubic-bezier(.16, 1, .3, 1);
    will-change: transform;
  }

  .hob-ad-has-sticky-summary.single-product .summary.hob-ad-sticky-summary--fixed {
    position: fixed !important;
    z-index: 5;
    top: var(--hob-ad-sticky-summary-top, 120px);
    right: auto !important;
    left: var(--hob-ad-sticky-summary-left, auto);
    width: var(--hob-ad-sticky-summary-width, auto);
    max-width: var(--hob-ad-sticky-summary-width, none);
  }

  .hob-ad-has-sticky-summary.single-product .summary.hob-ad-sticky-summary--fixed.hob-ad-sticky-summary--accordion-open {
    transform: translate3d(0, calc(-1 * var(--hob-ad-sticky-summary-accordion-offset, 0px)), 0);
  }

  .hob-ad-has-sticky-summary.single-product .summary.hob-ad-sticky-summary--accordion-tracking {
    transition-duration: 0.01ms;
  }

  .hob-ad-has-sticky-summary.single-product .summary.hob-ad-sticky-summary--bottom {
    position: absolute !important;
    z-index: 4;
    top: var(--hob-ad-sticky-summary-stop-top, auto);
    right: auto !important;
    left: var(--hob-ad-sticky-summary-absolute-left, auto);
    width: var(--hob-ad-sticky-summary-width, auto);
    max-width: var(--hob-ad-sticky-summary-width, none);
    transform: translate3d(0, 0, 0);
  }

  .hob-ad-has-sticky-summary.single-product .summary.hob-ad-sticky-summary--top {
    transform: translate3d(0, 0, 0);
  }
}

@media (min-width: 1201px) and (prefers-reduced-motion: reduce) {
  .hob-ad-has-sticky-summary.single-product .woocommerce div.product div.summary,
  .hob-ad-has-sticky-summary.single-product div.product div.summary,
  .hob-ad-has-sticky-summary.single-product .summary {
    transition-duration: 0.01ms;
  }
}
