#bxgyBundleOffers {
  margin-bottom: 10px;
}

/* Container Styling */
.bxgy-bundle-discount-box {
  border: 1px solid #272729;
  border-radius: 16px;
  padding: 16px;
  background: #ffffff;
}

.bxgy-bundle-title{
  padding: 0px 0px 8px 0px;
  font-size: 14px;
  color: rgb(39, 39, 41);
  font-weight: bold;
  word-break: break-word;
}

/* Products Section */
.bxgy-bundle-products {
  display: flex;
  flex-direction: column;
  margin-bottom: 16px;

  .bxgy-product-card {
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 0.75rem;
    position: relative;
  }
}

/* Product Box */
.bxgy-product-box {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 10px;
  position: relative;
  padding: 0 35px 0 0;
}

.bxgy-display-quantity-count{
  position: absolute;
  width: 20px;
  height: 18px;
  font-size: 14px;
  cursor: default;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  text-align: center;
  top: 6px;
  left: 5px;
  background-color: #ffffffbf;
  color: black;
  border-radius: 10%;
  font-weight: normal;
}

/* Product Image */
.bxgy-product-img{
  position: relative;
}

.bxgy-product-box img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border: 1px solid #00000030;
  border-radius: 8px;
  display: inline-block;
  vertical-align: middle;
}

.bxgy-product-details{
  width: 75%;
}

.bxgy-bundle-product-name {
  line-height: 24px;
}

.bxgy-bundle-product-name a {
  font-size: 14px;
  font-weight: bold;
  text-decoration: none;
  color: #272729;
  word-break: break-word;
}

.bxgy-bundle-variant-name {
  font-size: 12px;
  color: #272729;
}

.bxgy-bundle-product-price {
  font-size: 13px;
  color: black;
  align-items: center;
  display: flex;
  gap: 10px;
  flex-wrap: wrap
}

.bxgy-bundle-price{
  font-size: 13px;
  color: black;
}

.bxgy-strikethrough{
  text-decoration: line-through;
}

.bxgy-bundle-discount-price{
  font-size: 13px;
  color: rgb(39, 39, 41);
  font-weight: bold;
}

.bxgy-product-card .bxgy-ribben-container{
  position: absolute;
  width: 100%;
  height: 90px;
  inset: auto 0;
  overflow: hidden;
}

.bxgy-ribben-container .bxgy-ribben-position {
  position: absolute;
  top: 13px;
  width: 115px;
  height: 28px;
}

.bxgy-out-off-stock{
  font-size: 10px;
  background-color: #80808026;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 0.75rem;
  padding: 1px 3px 1px 3px;
}

.bxgy-ribben-position {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: red;
}

.bxgy-ribben-position.bxgy-ribben-rotate {
  right: -32px;
  transform: rotate(45deg);
}

.bxgy-ribben-value {
  color: rgb(255, 255, 255);
  letter-spacing: 0;
}

/* Plus Sign */
.bxgy-style-divider-container {
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin: 1rem;

  .bxgy-plus-sign {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    position: absolute;
    padding: 8px;
    background: black;
    border-radius: 50%;
  }
}

.bxgy-divider{
  background-color: #cbcbcb52;
  height: 1px;
  display: flex;
  margin: 0 1rem 0 1rem;
}

/* Footer Section */
.bxgy-bundle-footer {
  margin: 16px 0;
  text-align: center;
}

.bxgy-bundle-discount-text {
  font-size: 14px;
  color: #10b981;
  margin-bottom: 8px;
  font-weight: 600;
}

.bxgy-bundle-add-btn {
  background-color: #3b82f6;
  color: #ffffff;
  border: none;
  padding: 10px 20px;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.bxgy-bundle-total-wrapper {
  margin-top: 15px;
  border-top: 1px solid #e1e3e5;
  padding-top: 10px;
}

.bxgy-add-to-cart-button, .bxgy-add-to-cart-button-sold-out {
  color: white;
  border: none;
  border-radius: 5px;
  padding: 10px 15px;
  font-weight: bold;
  cursor: pointer;
  width: 100%;
  transition: background 0.3s ease;
}

button:disabled {
  cursor: not-allowed !important;
}

.bxgy-bundle-total-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #eaeaea;
  border-radius: 4px;
}

.bxgy-bundle-total-text {
  font-size: 15px;
  text-align: center;
  margin: 10px;
  font-weight: bold;
  color: rgb(39, 39, 41);
}

.bxgy-bundle-total-price {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 10px;
  align-items: flex-end;
}

.bxgy-bundle-original-price {
  font-size: 12px;
  text-align: end;
  text-decoration: line-through;
  font-weight: normal;
  color: rgb(104, 104, 104);
}

/* Css for the spinner */
.bxgy-loader {
  border: 4px solid #f3f3f3;
  border-radius: 50%;
  border-top: 4px solid #0e67a300;
  width: 20px;
  height: 20px;
  animation: spin 1s linear infinite;
  display: inline-block;
  margin-right: 8px;
}

.bxgy-subscription-select {
  width: 100%;
  padding: 12px 14px;
  font-size: 16px;
  color: #333;
  background-color: transparent;
  border: 1px solid #ccc;
  border-radius: 6px;
  text-align: center;
  cursor: pointer;
}

.bxgy-subscription-select:hover {
  border-color: #888;
}

.bxgy-subscription-select:focus {
  border-color: #272729;
  outline: none;
}

.bxgy-subscription-hidden {
  display: none;
}

.skeleton-loader-dots {
  display: flex;
  gap: 4px;
  align-items: center;
  padding: 4px 0;
}

.skeleton-loader-dot {
  width: 8px;
  height: 8px;
  background-color: #a0a0a0;
  border-radius: 50%;
  animation: btDotBounce 1s infinite ease-in-out both;
}

.skeleton-loader-dot:nth-child(1) {
  animation-delay: -0.32s;
}

.skeleton-loader-dot:nth-child(2) {
  animation-delay: -0.16s;
}

.skeleton-loader-dot:nth-child(3) {
  animation-delay: 0s;
}

.skeleton-pulse-bar {
  background: linear-gradient(90deg, #e9e9e9 25%, #e0e0e0 50%, #e9e9e9 75%);
  background-size: 200% 100%;
  animation: btSkeletonPulse 1.5s ease-in-out infinite;
}

@keyframes btDotBounce {

  0%,
  80%,
  100% {
    transform: translateY(0);
  }

  40% {
    transform: translateY(-5px);
  }
}

@keyframes btSkeletonPulse {
  0% {
    background-position: 200% 0;
  }

  100% {
    background-position: -200% 0;
  }
}

/* Fix bundle layout issue on Horizon theme */
[id*="ai_product_bundle_builder_buy_x_get_y"],
[id*="essenify_product_bundles_buy_x_get_y"],
[id*="bundle_staging_buy_x_get_y"] {
  --horizontal-alignment: unset;
  width: 100%;
}
