.sticky-addcart-desktop {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  z-index: 9999;
}
.sticky-addcart-desktop xo-sticky {
  opacity: 0;
  transition: 0.3s;
}
.sticky-addcart-desktop xo-sticky[xo-is-sticky]:not([xo-is-sticky=false]) {
  opacity: 1;
}

.sticky-addcart {
  background-color: rgba(var(--color-background));
  box-shadow: 0 0 1rem 0 rgba(0, 0, 0, 0.09);
  height: 7.5rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.sticky-addcart__wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sticky-addcart__left {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}
@media (max-width: 767px) {
  .sticky-addcart__left {
    display: none;
  }
}

.sticky-addcart__right {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}
@media (max-width: 767px) {
  .sticky-addcart__right {
    gap: 1rem;
    width: 100%;
  }
  .sticky-addcart__right .xo-quantity-style2 {
    display: none;
  }
}

.sticky-addcart__variants-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  flex-shrink: 0;
}
@media (max-width: 575px) {
  .sticky-addcart__variants-wrap {
    gap: 1rem;
  }
}
@media (max-width: 575px) {
  .sticky-addcart__variants-wrap .xo-field-select-custom-variant__trigger {
    gap: 1rem;
    padding: 0 1rem;
  }
}

.sticky-addcart__buttons-wrap {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.sticky-addcart__buttons-wrap button {
  height: 5rem;
}
@media (max-width: 767px) {
  .sticky-addcart__buttons-wrap {
    display: none;
  }
}

.sticky-addcart__buttons-mobile {
  width: 100%;
}
.sticky-addcart__buttons-mobile button {
  height: 5rem;
}
.sticky-addcart__buttons-mobile .xo-btn__text {
  font-size: calc(var(--font-body-scale) * 1.1rem);
}
@media (min-width: 768px) {
  .sticky-addcart__buttons-mobile {
    display: none;
  }
}

.sticky-addcart__media .xo-media {
  width: auto;
  height: 5.5rem;
}

.sticky-addcart__product {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.5rem;
}
.sticky-addcart__product h3 {
  font-size: calc(var(--font-heading-scale) * var(--font-body-scale) * 1.6rem);
  line-height: calc(1 + 0 / var(--font-heading-scale));
  margin-bottom: 0;
}
.sticky-addcart__product .xo-price__item {
  line-height: calc(1 + 0 / var(--font-body-scale));
}
.sticky-addcart__product .xo-price__item {
  font-size: 1.4rem;
}
.sticky-addcart__product .xo-price__item--del {
  font-size: 1.2rem;
}

.sticky-addcart__add {
  height: 5rem;
}

.sticky-addcart__buy-now .shopify-payment-button__button {
  font-size: calc(var(--font-body-scale) * 1.2rem) !important;
  font-weight: 500 !important;
  letter-spacing: calc(var(--font-body-scale) * 0.2rem) !important;
  border-radius: var(--buttons-radius) !important;
  min-height: unset !important;
  height: 5rem !important;
  padding: 0 2.5rem !important;
  border: solid 0.2rem rgba(var(--color-foreground)) !important;
  white-space: nowrap !important;
}
@media (max-width: 767px) {
  .sticky-addcart__buy-now .shopify-payment-button__button {
    font-size: calc(var(--font-body-scale) * 1.1rem) !important;
    padding: 0 !important;
  }
}
.sticky-addcart__buy-now .shopify-payment-button__button--unbranded:hover:not([disabled]) {
  background-color: rgba(var(--color-background)) !important;
}

.sticky-addcart__compare-trigger {
  display: flex;
  justify-content: center;
  align-items: center;
  transition: 0.3s;
  height: 4.6rem;
  width: 4.6rem;
  border-radius: 50%;
  border: 0.1rem solid rgba(var(--color-foreground), 0.1);
  cursor: pointer;
}
.sticky-addcart__compare-trigger svg {
  line-height: 0;
  color: rgba(var(--color-foreground));
}

.sticky-addcart__compare-trigger:hover {
  background-color: rgba(var(--color-foreground));
  transform: scale(1.1);
}
.sticky-addcart__compare-trigger:hover svg {
  color: rgba(var(--color-background));
}

.sticky-addcart__wishlist[xo-added] .sticky-addcart__icon-wishlist[xo-added] {
  display: none;
}
.sticky-addcart__wishlist[xo-added] .sticky-addcart__icon-wishlist[xo-removed] {
  display: flex;
}

.sticky-addcart__icon-wishlist[xo-removed] {
  display: none;
  background-color: rgba(var(--color-foreground));
}
.sticky-addcart__icon-wishlist[xo-removed] svg {
  color: rgba(var(--color-background));
}

.sticky-addcart__icon-wishlist {
  display: flex;
  justify-content: center;
  align-items: center;
  transition: 0.3s;
  height: 4.6rem;
  width: 4.6rem;
  border-radius: 50%;
  border: 0.1rem solid rgba(var(--color-foreground), 0.1);
  cursor: pointer;
}
.sticky-addcart__icon-wishlist svg {
  line-height: 0;
  color: rgba(var(--color-foreground));
}

.sticky-addcart__icon-wishlist:hover {
  background-color: rgba(var(--color-foreground));
  transform: scale(1.1);
}
.sticky-addcart__icon-wishlist:hover svg {
  color: rgba(var(--color-background));
}