.bundle-addons[data-bundle-pending],
.bundle-addons[hidden] {
  display: none;
}

.bundle-addons {
  margin: 0 0 24px;
  padding: 0;
  border: 0;
  background: transparent;
  font-family: inherit;
  color: #111;
}

.product-add-to-cart__error {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.bundle-addons__header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
}

.bundle-addons__header[hidden],
.bundle-addons__heading[hidden],
.bundle-addons__badge[hidden] {
  display: none !important;
}

.bundle-addons__header--gift {
  margin-top: 28px;
}

.bundle-addons__heading {
  margin: 0;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.bundle-addons__badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 999px;
  background: #f97316;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.4;
  white-space: nowrap;
}

.bundle-addons__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.bundle-addons__item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  border: 1px solid #eee;
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.15s ease;
}

.bundle-addons__item:hover {
  border-color: #111;
}

.bundle-addons__item--soldout {
  opacity: 0.55;
  cursor: not-allowed;
  background: #f6f6f6;
}

.bundle-addons__item--soldout:hover {
  border-color: #eee;
}

.bundle-addons__item--soldout .bundle-addons__select input,
.bundle-addons__item--soldout .bundle-addons__qty {
  cursor: not-allowed;
}

.bundle-addons__chip--soldout {
  background: #737373;
  letter-spacing: 0.02em;
}

.bundle-addons__select {
  position: static;
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
}

.bundle-addons__select input {
  position: absolute;
  inset: 0;
  width: auto;
  height: auto;
  opacity: 0;
  margin: 0;
  cursor: pointer;
  z-index: 1;
}

.bundle-addons__box {
  display: block;
  width: 20px;
  height: 20px;
  border: 1.5px solid #d4d4d4;
  border-radius: 5px;
  background: #fff;
  box-sizing: border-box;
}

.bundle-addons__select input:checked + .bundle-addons__box {
  border-color: #111;
  background: #111;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='2' d='M3.5 8.5 6.5 11.5 12.5 4.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 12px;
}

.bundle-addons__select input:focus-visible + .bundle-addons__box {
  outline: 2px solid #111;
  outline-offset: 2px;
}

.bundle-addons__image {
  width: 64px;
  height: 64px;
  object-fit: contain;
  border-radius: 8px;
  background: #fff;
  flex: 0 0 auto;
  border: 1px solid #f0f0f0;
}

.bundle-addons__image--ph {
  background: #f6f6f6 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='none' stroke='%23c4c4c4' stroke-width='1.4'%3E%3Crect x='3.5' y='5' width='17' height='14' rx='2'/%3E%3Ccircle cx='8.5' cy='10' r='1.6'/%3E%3Cpath d='m6 17 3.5-3.8 2.6 2.6 3.4-4 4.5 5.2'/%3E%3C/svg%3E") center / 28px no-repeat;
}

.bundle-addons__meta {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.bundle-addons__title {
  display: block;
  color: #111;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.35;
  text-decoration: none;
}

.bundle-addons__subtitle {
  display: block;
  color: #6b6b6b;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.35;
}

.bundle-addons__chip {
  display: inline-flex;
  align-items: center;
  margin-right: 6px;
  padding: 2px 8px;
  border-radius: 999px;
  background: #111;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.4;
  vertical-align: middle;
}

.bundle-addons__link {
  position: relative;
  z-index: 2;
  display: inline;
  margin-left: 4px;
  color: inherit;
  text-decoration: none;
  white-space: nowrap;
}

.bundle-addons__link:hover {
  text-decoration: none;
}

.bundle-addons__link-icon {
  display: inline-block;
  width: 14px;
  height: 14px;
  vertical-align: -0.15em;
  opacity: 0.55;
}

.bundle-addons__price {
  display: flex;
  gap: 8px;
  align-items: baseline;
  font-size: 14px;
  color: #6b6b6b;
}

.bundle-addons__sale {
  color: #3f3f3f;
}

.bundle-addons__compare {
  text-decoration: line-through;
  color: #9a9a9a;
}

.bundle-addons__sku {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  max-width: 260px;
  margin: 2px 0 0;
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 8px 32px 8px 12px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23111' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' d='M4 6.5 8 10.5 12 6.5'/%3E%3C/svg%3E") no-repeat right 10px center;
  background-size: 14px;
  color: #111;
  font: inherit;
  font-size: 14px;
  line-height: 1.3;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}

.bundle-addons__sku:hover,
.bundle-addons__sku:focus {
  border-color: #111;
  outline: none;
}

.bundle-addons__qty {
  position: relative;
  z-index: 2;
  width: 64px;
  margin-left: auto;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  padding: 6px 8px;
}

.bundle-addons__empty {
  margin: 0;
  color: #888;
  font-size: 14px;
}

.bundle-bxgy {
  margin: 12px 0 16px;
  padding: 12px 14px;
  border-radius: 10px;
  background: #111;
  color: #fff;
  font-size: 0.95rem;
}

@media (max-width: 749px) {
  .bundle-addons__heading {
    font-size: 18px;
  }

  .bundle-addons__item {
    padding: 14px 16px;
  }

  .bundle-addons__image {
    width: 56px;
    height: 56px;
  }
}
