:root {
  --font-weight: 500;
  --apex-message-text-padding: 10px 0 0;
  --apex-apex-progress-wrapper-width: 100%;
  --apex-progress-wrapper-margin: 10px 0;
}

.apex-app {
  width: 100%;
}

.hidden-apex-app-extension {
  display: none;
}

.apex-progress-container {
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  flex-wrap: wrap;
  min-height: 28px;
  background-color: var(--card-background-color);
  border-style: solid;
  border-color: var(--card-border-color);
  border-radius: var(--card-border-radius);
  border-width: var(--card-border-width);
}

@keyframes show {
  0% {
    opacity: 0;
    transform: rotateX(-90deg);
  }
  100% {
    opacity: 1;
    transform: rotateX(0deg);
  }
}

.apex-progress-wrapper {
  max-width: 100%;
  min-height: 50px;
  width: var(--apex-apex-progress-wrapper-width);
  margin: var(--apex-progress-wrapper-margin);
  align-items: center;
  animation: show 600ms 100ms cubic-bezier(0.38, 0.97, 0.56, 0.76) forwards;
  opacity: 0; /* Prestate */
  transform: rotateX(0deg);
  transform-origin: top center;
  pointer-events: none;
}

.apex-progress-wrapper1 {
  max-width: 345px;
  width: 95%;
  display: flex;
  align-items: center;
  padding-bottom: 25px;
}

.apex-progress-background {
  width: 100%;
  height: var(--progress-bar-height);
  border-radius: var(--progress-bar-radius);
  background-color: var(--progress-bar-empty-color);
}

.apex-progress-background:not(:first-child) {
  margin-left: 8px;
}

.apex-progress-bar {
  border-radius: var(--progress-bar-radius);
  background-color: var(--progress-bar-full-color);
  height: 100%;
  width: 0%;
  transition: width 0.5s ease-in-out;
}

.apex-progress-wrapper1 .apex-progress-background:first-child .apex-progress-bar {
  width: 2%;
}

.apex-message-text {
  padding: var(--apex-message-text-padding);
  font-size: var(--message-font-size);
  font-weight: var(--font-weight);
  color: var(--message-text-color);
  font-family: var(--font-family);
  transition: opacity 0.3s ease-in-out;
  opacity: 1;
  text-align: center;
}

.apex-fade-out {
  opacity: 0;
}

.apex-progress-reward-text {
  font-size: var(--reward-font-size);
  color: var(--reward-text-color);
  vertical-align: middle;
  text-align: center;
  font-family: var(--font-family);
  font-weight: var(--font-weight);
  white-space: nowrap;
}

/* upsell */

.apex-upsell-carousel {
  overflow: hidden;
  direction: ltr;
}

.apex-upsell-container {
  max-width: 100%;
  min-height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.apex-carousel {
  margin: 0 0 5px;
  width: 100%;
}

.apex-upsell-wrapper {
  position: relative;
}

.apex-carousel-controls {
  width: 100%;
  position: absolute;
  top: 50%;
}

.apex-carousel-controls--arrow-left,
.apex-carousel-controls--arrow-right {
  position: absolute;
  width: 24px;
  height: 24px;
  outline: 0;
  display: flex;
  padding: 0;
  background-color: transparent;
  top: 0;
  bottom: 0;
  margin: auto;
  opacity: 0.5;
  user-select: none;
}

.apex-carousel-controls--arrow-left {
  margin-left: 5px;
  left: -5px;
  align-items: center;
}

.apex-carousel-controls--arrow-right {
  margin-right: 5px;
  right: -5px;
  align-items: center;
}

.apex-carousel-controls--arrow-left:hover,
.apex-carousel-controls--arrow-right:hover {
  opacity: 1;
  cursor: pointer;
}

.apex-upsell__carousel__slide {
  height: 100px;
  margin: 0 20px;
  display: flex;
  justify-content: center;
}

.apex-upsell__divider {
  width: 95%;
  height: 1px;
  background-color: var(--card-border-color);
  margin: 5px auto;
}

.apex-upsell_cart_button {
  width: 80%;
  border-radius: var(--button-border-radius);
  background-color: var(--button-color);
  color: var(--button-text-color);
  font-family: var(--upsell-font-family);
  font-weight: var(--font-weight);
  font-size: var(--button-font-size);
  border-color: var(--button-color);
  outline: none;
  box-shadow: none;
  height: calc(var(--button-font-size) + 10px);
  cursor: pointer;
  overflow: hidden;
  border:none;
}

.apex-upsell_cart_dropdown {
  border-radius: var(--button-border-radius);
  width: 100%;
  height: 80%;
  font-family: var(--upsell-font-family);
  font-weight: var(--font-weight);
  font-size: var(--button-font-size);
}

.apex-upsell_cart_dropdown:focus-visible {
  outline: initial;
  box-shadow: none;
}

.apex-upsell__product_info {
  width: 220px;
  display: flex;
  flex-direction: column;
}

.apex-upsell__product_title {
  white-space: nowrap;
  overflow: hidden;
  font-size: var(--product-font-size);
  font-weight: var(--font-weight);
  color: #202223;
  text-overflow: ellipsis;
  line-height: 1.5;
  color: var(--product-text-color);
  flex: 1;
  text-align: center;
  font-family: var(--upsell-font-family);
}

.apex-upsell__prices_container {
  display: flex;
  flex: 1;
  justify-content: center;
  width: 100%;
}

.apex-upsell__old_price {
  padding-right: 5px;
  color: var(--compare-price-text-color);
  text-decoration-line: line-through;
  font-size: var(--product-price-font-size);
  font-weight: var(--font-weight);
  font-family: var(--upsell-font-family);
}

.apex-upsell__current_price {
  color: var(--current-price-text-color);
  font-size: var(--product-price-font-size);
  font-weight: var(--font-weight);
  font-family: var(--upsell-font-family);
}

.apex-upsell__product_img_container {
  align-self: center;
}

.apex-upsell__product_img_container img {
  width: 65px;
  height: 65px;
  padding: 5px;
}

.apex-upsell__product_link {
  text-decoration: none;
}

.apex-progress-branding {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: -7px;
  color: var(--message-text-color);
  font-size: 15px;
  font-weight: var(--font-weight);
  font-family: var(--font-family);
}

.apex-progress-branding:before {
  content: "";
  flex-grow: 1;
  height: 2px;
  background: linear-gradient(
    to right, transparent, var(--card-border-color), var(--card-border-color)
  );
/*  border-width: 16px;*/
}

.apex-progress-branding:after {
  content: "";
  flex-grow: 1;
  height: 2px;
/*  border-width: 16px;*/
  background: linear-gradient(
    to left, transparent, var(--card-border-color), var(--card-border-color)
  );
}

.apex-progress-branding-link {
  text-decoration: none;
  color: #41d38b;
}
