/* Convert px to rem
** Usage:
** font-size: rem(23);
*/
/* A small function allowing skipping base64 encoding
** and simply pasting the SVG markup right in the CSS.
** @author Jakob Eriksen
** @link http://codepen.io/jakob-e/pen/doMoML
** @param {String} $svg - SVG image to encode
** @return {String} - Encoded SVG data uri
*/
/* Replace `$search` with `$replace` in `$string`
** @author Hugo Giraudel
** @link http://sassmeister.com/gist/1b4f2da5527830088e4d
** @param {String} $string - Initial string
** @param {String} $search - Substring to replace
** @param {String} $replace ('') - New value
** @return {String} - Updated string
*/
/* Replace substring 'fillColor' to real color from variables */
/* Convert px to rem
** Usage:
** font-size: rem(23);
*/
/* A small function allowing skipping base64 encoding
** and simply pasting the SVG markup right in the CSS.
** @author Jakob Eriksen
** @link http://codepen.io/jakob-e/pen/doMoML
** @param {String} $svg - SVG image to encode
** @return {String} - Encoded SVG data uri
*/
/* Replace `$search` with `$replace` in `$string`
** @author Hugo Giraudel
** @link http://sassmeister.com/gist/1b4f2da5527830088e4d
** @param {String} $string - Initial string
** @param {String} $search - Substring to replace
** @param {String} $replace ('') - New value
** @return {String} - Updated string
*/
/* Replace substring 'fillColor' to real color from variables */
/* Mixin for button animation,
    use: @include button-animation(); for .btn-primary-dark--white-bg button
*/
/* Mixin for arrow link animation,
    use: @include arrow-link-animation(); for .btn-tertiary-dark--white-bg button
*/
/* Mixin for link animation,
    use: @include link-animation(); for .btn-link-dark--white-bg button
*/
/* Mixin for button background animation,
    use: @include hoverBgEffect($primary-slate, $scale: 1.4, $speed: 0.4s);
*/
/**
 * Mixin for adding gradient line to the bottom.
 * @param {$side-colors} color.
 */
/**
 * Mixin for adding text underline.
 */
/**
 * Mixin for cropping the text.
 * @param {$line-clamp} number of visible lines.
 */
.product-detail-sticky {
  z-index: 21;
}
.product-detail-sticky__icon {
  display: inline-block;
  margin-right: 1rem;
  -webkit-box-flex: 0;
      -ms-flex: 0 0 1.5625rem;
          flex: 0 0 1.5625rem;
}
@media (min-width: 1024px) {
  .product-detail-sticky__icon {
    -ms-flex-preferred-size: 2.1875rem;
        flex-basis: 2.1875rem;
  }
}
.product-detail-sticky__wrapper {
  background: #fffdfb;
}
.product-detail-sticky__inner {
  padding: 0.875rem 2rem;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  width: 100%;
  max-width: 1312px;
  margin: 0 auto;
}
@media (min-width: 1024px) {
  .product-detail-sticky__inner {
    padding: 0.875rem 4rem;
    min-height: 4.6875rem;
  }
}
@media (max-width: 991.98px) {
  .product-detail-sticky__price {
    display: none;
  }
}
.product-detail-sticky__price .sales {
  margin-right: 2rem;
}
.product-detail-sticky__price-wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
.product-detail-sticky__variation {
  font-size: 0.75rem;
  -ms-flex-negative: 0;
      flex-shrink: 0;
}
.product-detail-sticky__main {
  padding-right: 0.625rem;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  max-width: calc(100% - 6.875rem);
  line-height: 1;
  -webkit-box-flex: 1;
      -ms-flex-positive: 1;
          flex-grow: 1;
}
@media (min-width: 1024px) {
  .product-detail-sticky__main {
    max-width: 60%;
  }
}
.product-detail-sticky__info {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  max-width: calc(100% - 3rem);
}
@media (min-width: 1024px) {
  .product-detail-sticky__info {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
  }
}
.product-detail-sticky .add-to-cart-wrapper {
  margin: 0;
  -webkit-box-flex: 0;
      -ms-flex-positive: 0;
          flex-grow: 0;
}
.product-detail-sticky .range .sales {
  margin-right: 0.25rem;
}

@media (min-width: 1024px) {
  .product-detail-name__sticky {
    margin-right: 0.625rem;
  }
}

/* Adjust main content padding when sticky product detail is present */
@media (min-width: 1024px) {
  #maincontent:has(.product-detail-sticky:not([data-sticky-start-top])) {
    padding-top: 4.6875rem;
  }
}

/* Adjust footer padding for mobile devices */
@media (max-width: 1023.98px) {
  .header-bottom .footer_main {
    padding-bottom: 4.6875rem;
  }
}

@media (max-width: 1023.98px) {
  .product-detail-sticky {
    top: auto;
    bottom: 0;
  }
  body:not(.header-bottom, .m-header-slide-up) .product-detail-sticky {
    -webkit-transform: translateY(100%);
            transform: translateY(100%);
  }
  .header-bottom:not(.m-header-slide-up) .product-detail-sticky {
    bottom: var(--header-height);
  }
}
.product-detail-sticky__inner {
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  row-gap: 0.25rem;
  min-height: 4.6875rem;
}
@media (max-width: 767.98px) {
  .product-detail-sticky__inner {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
  }
}
@media (max-width: 1023.98px) {
  .product-detail-sticky__inner {
    padding-right: 5rem;
  }
}
.product-detail-sticky__info, .product-detail-sticky__main {
  max-width: unset;
  overflow: hidden;
}
@media (max-width: 767.98px) {
  .product-detail-sticky__main {
    padding-right: 1rem;
  }
}
.product-detail-sticky__name {
  display: inline-block;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.3;
  overflow: hidden;
  padding: 0;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin-bottom: 0;
}
@media (min-width: 1024px) {
  .product-detail-sticky__name {
    font-size: 1.25rem;
  }
}
.product-detail-sticky__price {
  display: block;
  margin: 0;
}
.product-detail-sticky__price .sales {
  font-size: 1rem;
  line-height: 1.5rem;
  letter-spacing: 0;
  white-space: nowrap;
}
@media (max-width: 767.98px) {
  .product-detail-sticky__price .sales {
    margin-right: 1rem;
  }
}
.product-detail-sticky__price .price {
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
}
.product-detail-sticky__price .strike-through {
  color: #7b7881;
  font-size: 0.75rem;
  margin-right: 1.125rem;
  -webkit-box-ordinal-group: 0;
      -ms-flex-order: -1;
          order: -1;
}
@media (min-width: 768px) {
  .product-detail-sticky__price .strike-through {
    margin-right: 1.4375rem;
  }
}
@media (max-width: 767.98px) {
  .product-detail-sticky__price-wrapper {
    -webkit-box-flex: 1;
        -ms-flex-positive: 1;
            flex-grow: 1;
  }
}
@media (max-width: 767.98px) {
  .product-detail-sticky__cta-wrapper {
    margin-left: auto;
  }
}
@media (max-width: 767.98px) {
  .product-detail-sticky__cta {
    min-height: 2.125rem;
    padding: 0.3125rem 0.8125rem;
  }
}
@media (max-width: 1023.98px) {
  .product-detail-sticky__cta {
    white-space: nowrap;
  }
}
