#ep-sticky-cart[hidden],
#ep-sticky-cart-spacer[hidden] {
  display: none !important;
}

#ep-sticky-cart {
  position: fixed;
  z-index: 999990;
  bottom: calc(18px + env(safe-area-inset-bottom, 0px));
  left: 14px;
  right: 14px;
  width: min(1100px, calc(100% - 28px));
  margin-inline: auto;
  box-sizing: border-box;
  font-family: inherit;
}

#ep-sticky-cart,
#ep-sticky-cart * {
  box-sizing: border-box;
}

#ep-sticky-cart .ep-sticky-cart__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 112px;
  padding: 18px 36px 18px 30px;
  border-radius: 26px;
  background: #ef211b;
  box-shadow: 0 12px 34px rgba(0, 0, 0, .38);
  color: #fff;
  text-decoration: none;
  transition: background-color .18s ease, transform .18s ease;
}

#ep-sticky-cart .ep-sticky-cart__link:hover {
  background: #d91d1a;
  color: #fff;
  transform: translateY(-2px);
}

#ep-sticky-cart .ep-sticky-cart__link:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}

#ep-sticky-cart .ep-sticky-cart__left,
#ep-sticky-cart .ep-sticky-cart__right {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

#ep-sticky-cart .ep-sticky-cart__left {
  gap: 20px;
}

#ep-sticky-cart .ep-sticky-cart__right {
  gap: 18px;
  margin-left: auto;
}

#ep-sticky-cart .ep-sticky-cart__count {
  display: inline-grid;
  flex: none;
  place-items: center;
  min-width: 64px;
  height: 64px;
  padding: 0 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .18);
  color: #fff;
  font-size: 30px;
  font-weight: 700;
  line-height: 1;
}

#ep-sticky-cart .ep-sticky-cart__title,
#ep-sticky-cart .ep-sticky-cart__total {
  color: #fff;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.15;
  white-space: nowrap;
}

#ep-sticky-cart .ep-sticky-cart__total .woocommerce-Price-amount,
#ep-sticky-cart .ep-sticky-cart__total .woocommerce-Price-currencySymbol {
  color: inherit;
  font: inherit;
}

#ep-sticky-cart .ep-sticky-cart__arrow {
  display: block;
  flex: none;
  width: 38px;
  height: 38px;
}

#ep-sticky-cart-spacer {
  height: calc(140px + env(safe-area-inset-bottom, 0px));
}

@media (max-width: 600px) {
  #ep-sticky-cart {
    left: 4px;
    right: 4px;
    width: calc(100% - 8px);
    bottom: calc(8px + env(safe-area-inset-bottom, 0px));
  }

  #ep-sticky-cart .ep-sticky-cart__link {
    min-height: 68px;
    gap: 8px;
    padding: 10px 17px 10px 12px;
    border-radius: 22px;
  }

  #ep-sticky-cart .ep-sticky-cart__left {
    gap: 11px;
  }

  #ep-sticky-cart .ep-sticky-cart__right {
    gap: 9px;
  }

  #ep-sticky-cart .ep-sticky-cart__count {
    min-width: 43px;
    height: 43px;
    font-size: 20px;
  }

  #ep-sticky-cart .ep-sticky-cart__title,
  #ep-sticky-cart .ep-sticky-cart__total {
    font-size: clamp(15px, 4.4vw, 18px);
  }

  #ep-sticky-cart .ep-sticky-cart__arrow {
    width: 23px;
    height: 23px;
  }

  #ep-sticky-cart-spacer {
    height: calc(92px + env(safe-area-inset-bottom, 0px));
  }
}

@media (max-width: 360px) {
  #ep-sticky-cart .ep-sticky-cart__link {
    padding-right: 12px;
  }

  #ep-sticky-cart .ep-sticky-cart__left {
    gap: 7px;
  }

  #ep-sticky-cart .ep-sticky-cart__right {
    gap: 5px;
  }

  #ep-sticky-cart .ep-sticky-cart__title,
  #ep-sticky-cart .ep-sticky-cart__total {
    font-size: 15px;
  }
}

@media (prefers-reduced-motion: reduce) {
  #ep-sticky-cart .ep-sticky-cart__link {
    transition: none;
  }
}

@media print {
  #ep-sticky-cart,
  #ep-sticky-cart-spacer {
    display: none !important;
  }
}
