/*Product Discount Styles*/

.ab-discounted-pricing-container,
.ab-product-discount-custom-placement-selector {
  margin: 0;
  padding: 0;
  font-family: inherit;
  width: 100%;
  max-width: 440px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4rem;
}

.ab-discounted-pricing-item {
  width: 100%;
  display: flex;
  flex-direction: column;
  text-align: center;
}

.ab-product-discount-name {
  margin-bottom: 0.3em;
  margin-top: 0.2em;
  font-size: 1.25em;
  font-style: normal;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0.6px;
  float: none;
  width: auto;
  word-break: break-word;
}

.ab-product-discount-description {
  text-align: center;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.6px;
  line-height: 28.8px;
}

.ab-discounted-pricing-bundle {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 0.75em;
}

.ab-discounted-pricing {
  border: 2px solid rgba(189, 189, 189, 0.55);
  margin-bottom: .35em;
  text-align: center;
  border-radius: 5px;
  position: relative;
  background: #FFFFFF;
  padding: 0.5em 0.75em 1.1em 0.75em;
}

.ab-product-discount-main-text {
  letter-spacing: 0.6px;
  line-height: 28.8px;
  font-weight: 400;
  font-size: 16px;
}

.ab-product-discount-saving-text {
  position: absolute;
  left: 50%;
  transform: translate(-50%, 50%);
  bottom: 0;
  border-radius: 5px;
  font-size: 0.75em;
  padding: 4px 45px;
  white-space: nowrap;
  font-weight: bold;
  line-height: 1.6;
}

@keyframes product-discount-spin {
  to {
    transform: rotate(360deg);
  }
}

.product-discount-spinner {
  color: inherit;
  display: inline-block;
  width: 1.2rem;
  height: 1.2rem;
  vertical-align: middle;
  border: 0.25rem solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: 0.75s linear infinite product-discount-spin;
}


/*Buy X Get Y Styles*/

.ab-bogo-discount-select {
  width: 100%;
  height: 100%;
  padding: 12px;
  border: 1px solid rgb(203, 203, 203);
  border-radius: 6px;
  background-color: #ffffff;
  font-size: 14px;
  outline: none;
  box-shadow: none;
}

.ab-bogo-discount-select:focus {
  outline: none;
  box-shadow: none;
}

.ab-bogo-discount-container {
  margin-top: unset !important;
}

@keyframes ab-bogo-spin {
  to {
    transform: rotate(360deg);
  }
}

.ab-bogo-outer-container {
  font-family: Arial, sans-serif;
  display: flex;
  justify-content: center;
  margin-top: 22px;
  margin-bottom: 22px;
  min-height: 600px;
}

.ab-bogo-inner-wrapper {
  max-width: 440px;
  width: 100%;
}

.ab-main-bundle-loader-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
}

.ab-bogo-title {
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0.6px;
  line-height: 32.4px;
  margin: 0;
}

.ab-bogo-discount-select-wrapper {
  max-width: 440px;
  width: 100%;
}

.ab-bogo-discount-select-container {
  font-family: Arial, sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 22px;
  margin-bottom: 22px;
}

.ab-main-bundle-loader {
  display: inline-block;
  width: 24px;
  height: 24px;
  color: #d1d5db;
  animation: ab-bogo-spin 1s linear infinite;
}


/*Next Volume Discount Styles*/

.next-volume-discount-cart-value {
  font-size: 12px;
  color: blue;
  font-weight: bold;
}

.ab-volume-discount-container,
.ab-volume-discount-custom-placement-selector {
  margin: 0;
  padding: 0;
  font-family: inherit;
  width: 100%;
  max-width: 440px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4rem;
}


/*Classic Bundle Styles*/

.ab-classic-bundle-container,
.ab-classic-bundle-custom-placement-selector {
  margin: 0;
  padding: 0;
  font-family: inherit;
  width: 100%;
  max-width: 410px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.ab-classic-bundle-products {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-right: auto;
  background: #f9fbff;
  border: 1px dashed #b7cde9;
  border-radius: 4px;
  padding: 12px;
}

.ab-classic-bundle-description {
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.6px;
  line-height: 32.4px;
  padding: 0 3.2px;
  text-align: start;
}

.ab-classic-bundle-product {
  position: relative;
  padding: 0.2em;
  display: flex;
}

.ab-classic-bundle-product-image {
  width: 60px;
  height: 60px;
  border-radius: 6px;
  margin-right: 12px;
  border: 1px solid rgba(203, 203, 203, 0.4);
}

.ab-classic-bundle-product-name {
  letter-spacing: 0.6px;
  line-height: 22px;
  font-weight: 400;
  font-size: 14px;
  font-family: "Inter var", sans-serif;
  text-decoration: none;
  text-align: left;
  flex: 1;
}

.ab-classic-bundle-product-name:hover {
  text-decoration: underline;
}

.ab-classic-bundle-product-info {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
}

.ab-classic-bundle-product-quantity {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  font-size: 11px;
  flex-shrink: 0;
}

.ab-classic-bundle-product-variant {
  list-style-type: none;
  color: #333;
  font-size: 13px;
  text-align: left;
  padding-left: 0;
  margin: 12px 0 0 0;
}

.ab-classic-bundle-product-variant-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ab-classic-bundle-product-variant-item:not(:last-child) {
  margin-bottom: 4px;
}

.ab-classic-bundle-product-variant-image {
  width: 32px;
  height: 32px;
  object-fit: cover;
  border-radius: 4px;
}

.ab-classic-bundle-product-variant-name {
  margin: 0;
  font-size: 14px;
}

.ab-classic-bundle-product-name-quantity {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.ab-classic-bundle-variant-loader {
  text-align: center;
  margin: 0;
}

@keyframes classic-bundle-spin {
  to {
    transform: rotate(360deg);
  }
}

.classic-bundle-spinner {
  color: inherit;
  display: inline-block;
  width: 1.8rem;
  height: 1.8rem;
  vertical-align: middle;
  border: 0.25rem solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: 0.75s linear infinite classic-bundle-spin;
}

.ab-classic-bundle-product-link {
  text-align: center;
  font-size: 13px;
  margin-top: 12px;
  text-decoration: none;
  transition: text-decoration 0.2s ease;
}

.ab-classic-bundle-product-link:hover {
  color: #494949;
  text-decoration: underline;
}


/*Discount Announcement Bar*/

@keyframes ab-discount-announcement-bar-fade-in {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.ab-discount-header-banner {
  position: relative;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: space-around;
  overflow: hidden;
}

.ab-banner-text {
  flex: 1;
  font-weight: 500;
  opacity: 1;
  font-size: 14px;
  text-align: center;
  max-width: 70%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: opacity 0.3s ease-in-out;
}

.ab-banner-slider-button {
  color: #FAFAF9 !important;
  background: none;
  border: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  display: none;
}

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