#buyTogetherBundleProducts {
  margin-bottom: 10px;
}

.bt-bundle-discount-box {
  border-radius: 10px;
  border: 1px solid #00000030;
  padding: 15px;

  .bt-bundle-product_row {
    display: flex;
    align-items: center;
  }

  .bt-bundle-title {
    font-size: 15px;
    font-weight: bold;
    color: rgb(39, 39, 41);
    padding: 0 0 10px;
    border-bottom: 1px solid #00000030;
  }

  .bt-product-sec {
    margin: 0 0 10px;
  }

  .bt-bundle-image {
    padding: 5px 10px 0 0;
  }

  .bt-bundle-image img {
    width: 60px !important;
    height: 60px !important;
    object-fit: cover;
    border: 1px solid #00000030;
    border-radius: 8px;
    display: inline-block;
    vertical-align: middle !important;
  }

  .bt-bundle-product-section {
    width: 100%
  }

  .bt-bundle-product-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
  }

  .bt-bundle-product-text {
    flex: 1;
    display: flex;
  }

  .bt-bundle-product-name {
    font-size: 14px;
    color: black;
    font-weight: bold;
    width: 100%;
  }

  .bt-first-pro-name {
    padding-top: 5px;
  }

  .bt-product-image {
    padding-top: 10px;
  }

  .bt-bundle-product-price-section {
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    text-align: end;
    width: 35%;
  }

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

  .bt-bundle-price-stack {
    display: flex;
    align-items: flex-end;
    gap: 2px;
  }

  .bt-bundle-price-strikethrough {
    text-decoration: line-through;
  }

  .bt-sold-out-tag {
    font-size: 10px;
    background-color: #80808026;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 0.75rem;
    padding: 1px 3px 1px 3px;
    color: black;
    text-align: center;
  }

  .bt-bundle-price-section {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: flex-end;
  }

  .bt-bundle-variant-name {
    font-size: 13px;
    color: black;
    margin-right: 12px;
  }

  .bt-bundle-total-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 10px 0;
    background-color: #eaeaea;
    border-radius: 8px;
  }

  .bt-bundle-total-text {
    font-size: 14px;
    text-align: center;
    margin: 10px;
  }

  .bt-bundle-total-price {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 10px;
  }

  .bt-bundle-original-price {
    font-size: 12px;
    text-align: end;
  }

  .bt-bundle-discount-price {
    font-size: 12px;
    text-align: end;
    font-weight: bold;
  }

  .bt-bundle-product-prices {
    display: flex;
    flex-direction: column;
    align-items: end;
  }

  .bt-bundle-divider-section {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 5px 0;
  }

  .bt-bundle-divider-text {
    padding: 0 4px;
    color: #000000;
    font-size: 27px;
    font-weight: normal;
    border-radius: 50%;
    display: inline-flex;
    height: 20px;
    align-content: center;
    flex-wrap: wrap;
  }

  .bt-bundle-divider-section::before,
  .bt-bundle-divider-section::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #babbc0;

    .mb-3 {
      margin-bottom: 15px;
    }
  }

  .bt-variant-select-wrapper {
    margin-right: 12px;
  }

  .bt-variant-select {
    width: 60%;
    padding: 6px 30px 6px 10px;
    border-radius: 6px;
    border: 1px solid #ddd;
    background: #ffffff;
    font-size: 13px;
    outline: none;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath fill='%23000' d='M0 0l5 6 5-6z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 8px center;
    background-color: rgb(245, 245, 245);
    opacity: 0.9;
  }

  .bt-variant-select:hover {
    border-color: #888;
  }

  .bt-variant-select:focus {
    border-color: #aaa;
  }

  .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-total {
    height: 40px;
    border-radius: 8px;
    margin: 10px 0;
    display: block;
  }

  .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;
  }

/* Css for the spinner */
.bt-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;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.bt-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;
}

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

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

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

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


@keyframes btDotBounce {

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

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

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

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

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

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