#volumeBundleOffers {
  margin-bottom: 10px;
}

.vb-discount-box {
  background: transparent;
  padding: 15px;
  border-radius: 10px;
  border: var(--vb-box-border-size, 1px) solid var(--vb-box-border-color, #ccc);

  .vb-offer-option {
    border: 2px solid #ccc;
    border-radius: 15px;
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    margin-bottom: 18px;
    gap: 10px;
    min-height: 80px;
    position: relative;
    overflow: visible;
  }

  .vb-offer-option:last-child {
    margin-bottom: 0; /* Prevents extra space below the last option */
  }

  .vb-offer-option.selected {
    background: var(--vb-sel-bg-color, #9999991c);
    border: 2px solid var(--vb-sel-border-color, black);
  }

  .vb-offer-option input[type="radio"] {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid #ccc;
    /* Default grey border for unselected */
    position: relative;
    margin: 0;
    cursor: pointer;
    flex-shrink: 0;
  }

  .vb-offer-option.selected input[type="radio"]:checked {
    border: 4px solid var(--vb-sel-border-color, black);
    background-color: white;
  }

  .vb-offer-option input[type="radio"]:checked::after {
    content: none;
  }

  .vd-dis_price {
    font-weight: var(--vb-dis-price-weight, bold);
    color: var(--vb-dis-price-color, black);
    font-size: var(--vb-dis-price-size, 14px);
  }

  .vb-ori-price {
    text-decoration: line-through;
    font-weight: var(--vb-ori-price-weight, normal);
    color: var(--vb-ori-price-color, gray);
    font-size: var(--vb-ori-price-size, 14px);
  }

  .vb-title {
    font-weight: var(--vb-title-weight, normal);
    color: var(--vb-title-color, black);
    font-size: var(--vb-title-size, 15px);
  }

  .vb-offer-copy {
    display: flex;
    flex-direction: column;
    gap: 2px;
  }

  .vb-title-row {
    display: flex;
    align-items: center;
    gap: 2px 10px;;
    flex-wrap: wrap;
  }

  .vb-subtitle {
    font-weight: var(--vb-subtitle-weight, normal);
    color: var(--vb-subtitle-color, #272729);
    font-size: var(--vb-subtitle-size, 12px);
    line-height: 1.3;
  }

  .vb-pill {
    background: var(--vb-pill-bg-color, #272729);
    color: var(--vb-pill-font-color, #fff);
    border-radius: 20px;
    padding: 2px 8px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.2;
    display: inline-flex;
    align-items: center;
  }

  .vb-badge {
    position: absolute;
    right: 20px;
    display: inline-block;
    line-height: 0;
    z-index: 1;
  }

  .vb-badge-plain {
    top: -9px;
  }

  .vb-badge-notched {
    top: -6px;
  }

  .vb-badge svg {
    display: block;
  }

  .vb-badge-measure {
    position: absolute;
    visibility: hidden;
    pointer-events: none;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    line-height: normal;
  }

  .vb-badge-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    padding: 0 6px;
    min-width: 0;
  }

  .vb-badge-text-wrap {
    display: block;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    line-height: normal;
    text-align: center;
  }

  .vb-badge-text {
    display: block;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.2;
    padding-bottom: 1px;
  }

  .vb-checkout-btn {
    padding: 12px;
    cursor: pointer;
    margin-top: 10px;
  }

  .vb-price-section {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
  }

  .vb-checkbox {
    display: flex;
    /* justify-content: space-between; */
    align-items: center;
    gap: 10px;
    flex: 1;
  }
}

.vb-checkbox input {
  margin: 0;
  padding: 0 !important;
}

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

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

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

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

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

/* Store-specific styling for test-showerplus.myshopify.com */
.bundle-store {
  padding-bottom: 5px !important;
}

.bundle-store .vb-offer-option {
  background-color: #ffffff;
  border: 1px solid #ccc;
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: 40px;
}

.bundle-store .vb-offer-option .vb-title,
.bundle-store .vb-offer-option .vd-dis_price,
.bundle-store .vb-offer-option .vb-ori-price {
  color: rgb(8, 77, 161) !important;
  font-weight: bold !important;
}

.bundle-store .vb-offer-option:hover {
  background-color: rgb(137, 178, 196);
  border-color: rgb(137, 178, 196);
}

.bundle-store .vb-offer-option.selected {
  background-color: rgb(137, 178, 196);
  border-color: rgb(16, 75, 154);
}

.bundle-store .vb-checkout-btn {
  display: none !important;
}

.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_volume_bundle"],
[id*="essenify_product_bundles_volume_bundle"],
[id*="bundle_staging_volume_bundle"] {
  --horizontal-alignment: unset;
  width: 100%;
}
