.bundle_form .yarni-bundle-contents {
  --yarni-bundle-control-height: 40px;
  --yarni-bundle-image-size: 90px;
  --yarni-bundle-image-min-height: 60px;
  padding: 14px;
  margin: 0 0 16px;
  border: 1px solid #d8d8d8;
  border-radius: 6px;
  background: #fff;
  min-width: 0;
  letter-spacing: 0;
}
.bundle_form .yarni-bundle-contents * { letter-spacing: 0; }
.bundle_form .yarni-bundle-contents > .bundle-block-title {
  margin: 0 0 10px;
  font-size: 16px;
  line-height: 1.3;
}
.woocommerce .bundle_form .yarni-bundle-contents > .bundled_product_summary {
  gap: 12px;
  margin: 0;
  padding: 12px 0;
  border: 0;
  border-top: 1px solid #dedede;
  min-width: 0;
}
.bundle_form .yarni-bundle-contents > .bundled_product_summary .bundled_product_images {
  flex: 0 0 var(--yarni-bundle-image-size);
  min-width: 0;
  width: var(--yarni-bundle-image-size);
}
/* Use the row's existing vertical space without letting images make it taller. */
.bundle_form .yarni-bundle-contents .bundled_product_images {
  position: relative;
  align-self: stretch;
  min-height: var(--yarni-bundle-image-min-height);
}
.bundle_form .yarni-bundle-contents .bundled_product_images figure {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: min(var(--yarni-bundle-image-size), calc(100% + 20px));
  padding: 0;
  margin: 0;
  transform: translateY(-50%);
}
.bundle_form .yarni-bundle-contents > .bundled_product_summary .details { min-width: 0; }
.bundle_form .yarni-bundle-contents > .bundled_product_summary .bundled_product_title {
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  overflow-wrap: anywhere;
}
.bundle_form .yarni-bundle-contents > .bundled_product_summary .cart.bundled_item_cart_content {
  position: relative !important;
  height: auto;
}
.bundle_form .yarni-bundle-contents > .bundled_product_summary .single_variation_wrap {
  height: auto;
  gap: 8px;
}
.bundle_form .yarni-bundle-contents > .bundled_product_summary .cart[data-type="variable"] {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 118px;
  gap: 8px 12px;
}
.bundle_form .yarni-bundle-contents > .bundled_product_summary .cart[data-type="variable"] .single_variation_wrap {
  display: contents;
}
.bundle_form .yarni-bundle-contents > .bundled_product_summary .cart[data-type="variable"] .bundle-title-box {
  grid-column: 1;
  grid-row: 1;
}
.bundle_form .yarni-bundle-contents > .bundled_product_summary .cart[data-type="variable"] .single_variation {
  grid-column: 2;
  grid-row: 1;
}
.bundle_form .yarni-bundle-contents > .bundled_product_summary .cart[data-type="variable"] .variations {
  grid-column: 1;
  grid-row: 2;
  padding: 0;
}
.bundle_form .yarni-bundle-contents > .bundled_product_summary .cart[data-type="variable"] .woocommerce-variation-add-to-cart {
  position: static;
  grid-column: 2;
  grid-row: 2;
  align-self: end;
}
.bundle_form .yarni-bundle-contents > .bundled_product_summary .yarni-bundle-item-note { grid-column: 1 / -1; }
.bundle_form .yarni-bundle-contents > .bundled_product_summary .bundle-title-box { min-width: 0; }
.bundle_form .yarni-bundle-contents > .bundled_product_summary .woocommerce-variation-price {
  min-width: 0;
  max-width: 100%;
  font-size: 14px;
}
.bundle_form .yarni-bundle-contents > .bundled_product_summary .price { flex-wrap: wrap; justify-content: flex-end; row-gap: 2px; }
.bundle_form .yarni-bundle-contents > .bundled_product_summary .old-price-block { flex-wrap: nowrap; }
.bundle_form .yarni-bundle-contents > .bundled_product_summary .new-price { font-size: 14px; white-space: nowrap; }
.bundle_form .yarni-bundle-contents > .bundled_product_summary .old-price,
.bundle_form .yarni-bundle-contents > .bundled_product_summary .price-sale { white-space: nowrap; }
.bundle_form .yarni-bundle-contents > .bundled_product_summary .single_variation .price-item {
  display: block;
  font-size: 12px;
  line-height: 1.4;
  white-space: nowrap;
}
.bundle_form .yarni-bundle-contents > .bundled_product_summary .cart .variations {
  position: static;
  width: 100%;
  padding: 8px 0 44px;
}
.bundle_form .yarni-bundle-contents > .bundled_product_summary .woocommerce-variation-add-to-cart {
  inset: auto auto 0 0;
}
.bundle_form .yarni-bundle-contents .bundle-description {
  margin: 6px 0 0;
  font-size: 13px;
  line-height: 1.4;
}
.bundle_form .yarni-bundle-contents .is-download .bundled_product_image:before {
  width: 30px;
  height: 30px;
  top: 0;
  left: 0;
  font-size: 11px;
}
.bundle_form .yarni-bundle-contents .download_product .bundled_product_images figure {
  height: min(117px, calc(100% + 20px));
}
.bundle_form .yarni-bundle-contents .download_product .bundled_product_images { min-height: 78px; }
.bundle_form .yarni-bundle-contents .download_product .bundled_product_images figure img {
  position: static;
  width: 100%;
  height: 100%;
  margin: 0;
  object-fit: contain;
  transform: none;
}
.bundle_form .stock-info .stock.instock { color: #008e2b; }
.bundle_form .yarni-bundle-contents .qty-group.base-qty { height: var(--yarni-bundle-control-height); max-width: 118px; }
.bundle_form .yarni-bundle-contents .qty-group input { min-width: 0; font-size: 14px; }
.bundle_form .yarni-bundle-contents .qty-group button {
  min-width: 38px; flex-basis: 38px; padding: 0;
  display: flex; align-items: center; justify-content: center;
}
.bundle_form .yarni-bundle-contents .atribute-type-select .value .nice-select {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  height: var(--yarni-bundle-control-height);
  min-height: var(--yarni-bundle-control-height);
  max-height: var(--yarni-bundle-control-height);
  padding: 0 28px 0 10px;
  line-height: 1.4;
  font-size: 13px;
  white-space: normal;
}
.bundle_form .yarni-bundle-contents .nice-select .current { display: block; overflow-wrap: anywhere; }
.bundle_form .yarni-bundle-contents .nice-select.yarni-bundle-color-select > .current {
  display: flex;
  align-items: center;
  min-height: 0;
  max-height: 100%;
}
.bundle_form .yarni-bundle-contents .yarni-bundle-swatch-label {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}
.bundle_form .yarni-bundle-contents .nice-select .option {
  padding: 10px 12px;
  min-height: 40px;
  line-height: 1.4;
  white-space: normal;
  overflow-wrap: anywhere;
}
.bundle_form .yarni-bundle-contents .download_product .bundle-common-download .woocommerce-variation-add-to-cart {
  position: static;
  margin-top: 8px;
}
.bundle_form .yarni-bundle-contents .bundle-common-download .btn {
  min-height: 40px;
  padding: 8px 12px;
  font-size: 12px;
  white-space: normal;
}
.bundle_form .yarni-bundle-equipment {
  padding: 12px 0 0;
  margin: 0;
  border: 0;
  border-top: 1px solid #dedede;
  min-width: 0;
}
.bundle_form .yarni-bundle-equipment > h3 {
  margin: 0 0 10px;
  font-size: 16px;
  line-height: 1.3;
}
.bundle_form .yarni-native-equipment {
  gap: 12px;
  padding: 0;
  margin: 0;
  border: 0;
  min-height: 0;
}
.bundle_form .yarni-native-equipment + .yarni-native-equipment {
  border-top: 1px solid #dedede;
  padding-top: 12px;
  margin-top: 12px;
}
.bundle_form .yarni-native-equipment .bundled_product_images {
  flex: 0 0 var(--yarni-bundle-image-size);
  min-width: 0;
  width: var(--yarni-bundle-image-size);
}
.bundle_form .yarni-native-equipment .bundled_product_images img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.bundle_form .yarni-native-equipment .details {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 4px 8px;
}
.bundle_form .yarni-native-equipment[hidden] { display: none !important; }
.yarni-equipment-context select {
  width: 100%; min-width: 0; min-height: 44px; margin: 4px 0 8px;
  padding: 9px 30px 9px 10px; border: 1px solid var(--Neutral-70, #837a88); border-radius: 0; background: #fff; color: #202020;
  font: inherit;
}
.yarni-equipment-context label { font-size: 13px; font-weight: 600; }
.yarni-equipment-recommendation {
  margin: 0 0 12px;
  padding: 8px 10px;
  border-left: 3px solid #ed98aa;
  background: #fcf7f9;
  color: #454047;
  font-size: 13px;
  line-height: 1.4;
}
.yarni-equipment-recommendation[hidden] { display: none; }
.yarni-equipment-recommendation > strong { display: block; margin-bottom: 3px; color: #212121; font-size: 13px; }
.yarni-equipment-recommendation .yarni-equipment-case-note { margin: 0; font-size: 13px; line-height: 1.4; }
.yarni-native-tool-units, .yarni-native-tool-note {
  margin: 0 0 0 26px; font-size: 12px; line-height: 1.4; overflow-wrap: anywhere;
}
.yarni-native-tool-note { grid-column: 1 / -1; color: #5b5b5b; }
.bundle_form .yarni-native-equipment .qty-group { display: none; }
.bundle_form .yarni-native-equipment .bundled_product_optional_checkbox {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: 18px minmax(0, 1fr) auto;
  align-items: start;
  gap: 8px;
  margin: 0;
  cursor: pointer;
}
.bundle_form .yarni-native-equipment .bundled_product_checkbox {
  appearance: auto;
  display: block;
  position: static;
  opacity: 1;
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  accent-color: #202020;
}
.yarni-native-equipment .yarni-native-tool-title {
  display: block;
  font-family: inherit;
  font-size: 14px;
  line-height: 1.35;
  font-weight: 600;
  overflow-wrap: anywhere;
}
.yarni-native-equipment .yarni-native-tool-purchase {
  display: block;
  margin-bottom: 2px;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.4;
  color: #5b5b5b;
}
.yarni-native-equipment .yarni-native-tool-spec {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  line-height: 1.4;
  color: #5b5b5b;
}
.yarni-native-equipment .yarni-native-tool-price { white-space: nowrap; font-size: 14px; }
.yarni-native-equipment .yarni-native-tool-price .price,
.yarni-native-equipment .yarni-native-tool-price .new-price { display: inline; font-size: inherit; }
.yarni-native-equipment .yarni-native-tool-price .old-price-block,
.yarni-native-equipment .yarni-native-tool-price .price-tax { display: none; }
.yarni-native-equipment .yarni-native-tool-price .woocommerce-price-suffix { display: none; }
.yarni-native-equipment .yarni-native-tool-stock {
  margin: 0;
  font-size: 12px;
  line-height: 1.4;
  color: #008e2b;
}
.yarni-native-equipment .yarni-native-tool-stock.is-unavailable { color: #656565; }
/* Availability is summarized below the bundle; keep actionable row warnings. */
.yarni-native-equipment .yarni-native-tool-stock:not(.is-unavailable) { display: none; }
.bundle_form .yarni-native-equipment .bundled_item_cart_content,
.bundle_form .yarni-native-equipment .single_variation_wrap.bundled_item_wrap {
  position: static;
  height: auto;
  min-height: 0;
  padding: 0;
  margin: 0;
}
.bundle_form .yarni-native-equipment .cart.bundled_item_cart_content {
  grid-column: 1 / -1;
  display: flex !important;
  flex-direction: column;
}
.bundle_form .yarni-native-equipment .cart .variations {
  display: table;
  position: static;
  inset: auto;
  table-layout: fixed;
  width: calc(100% - 26px);
  max-width: 220px;
  padding: 0;
  margin: 3px 0 0 26px;
  border: 0;
}
.bundle_form .yarni-native-equipment .yarni-native-tool-attribute .value { position: relative; padding: 0; border: 0; }
.bundle_form .yarni-native-equipment .yarni-native-tool-attribute .value::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 14px;
  width: 8px;
  height: 8px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-75%) rotate(45deg);
  pointer-events: none;
}
.bundle_form .yarni-native-equipment .yarni-native-tool-attribute label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.bundle_form .yarni-native-equipment .yarni-native-tool-attribute select {
  display: block;
  width: 100%;
  max-width: 220px;
  min-width: 0;
  height: 40px;
  padding: 8px 38px 8px 10px;
  border: 1px solid var(--Neutral-70, #837a88);
  border-radius: 0;
  appearance: none;
  background-color: #fff;
  color: #202020;
  font: inherit;
  font-size: 13px;
}
.bundle_form .yarni-native-equipment .yarni-native-tool-attribute select:focus-visible {
  outline: 2px solid #202020;
  outline-offset: 2px;
}
.bundle_form .yarni-native-equipment .bundled_product_title,
.bundle_form .yarni-native-equipment .bundled_product_excerpt,
.bundle_form .yarni-native-equipment .bundle-title-box,
.bundle_form .yarni-native-equipment .bundled_item_wrap,
.bundle_form .yarni-native-equipment .woocommerce-variation-price,
.bundle_form .yarni-native-equipment .woocommerce-variation-availability,
.bundle_form .yarni-native-equipment .woocommerce-variation-description { display: none; }
.bundle_form .yarni-native-source-requirements ul { margin: 4px 0 0; padding-left: 18px; }
.bundle_form .yarni-native-source-requirements li { margin: 2px 0; font: inherit; }
@media (max-width: 600px) {
  .cart.bundle_form { margin-top: 16px; }
  .bundle_form .yarni-bundle-contents {
    --yarni-bundle-image-size: 64px;
    --yarni-bundle-image-min-height: 48px;
    padding: 12px;
  }
  .woocommerce .bundle_form .yarni-bundle-contents > .bundled_product_summary { gap: 10px; padding: 10px 0; }
  .bundle_form .yarni-bundle-contents > .bundled_product_summary .bundled_product_images,
  .bundle_form .yarni-native-equipment .bundled_product_images { flex-basis: 48px; width: 48px; }
  .bundle_form .yarni-bundle-contents .bundled_product_images figure { width: 64px; left: -8px; }
  .bundle_form .yarni-bundle-contents .download_product .bundled_product_images { min-height: 64px; }
  .bundle_form .yarni-bundle-contents .download_product .bundled_product_images figure { height: min(96px, calc(100% + 16px)); }
  .bundle_form .yarni-bundle-contents > .bundled_product_summary .single_variation_wrap { flex-direction: column; gap: 4px; }
  .bundle_form .yarni-bundle-contents > .bundled_product_summary .cart[data-type="variable"] { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .bundle_form .yarni-bundle-contents > .bundled_product_summary .cart[data-type="variable"] .single_variation { grid-column: 1; grid-row: 2; }
  .bundle_form .yarni-bundle-contents > .bundled_product_summary .cart[data-type="variable"] .variations { grid-row: 3; }
  .bundle_form .yarni-bundle-contents > .bundled_product_summary .cart[data-type="variable"] .woocommerce-variation-add-to-cart { grid-column: 1; grid-row: 4; }
  .bundle_form .yarni-bundle-contents > .bundled_product_summary .woocommerce-variation-price { align-items: flex-start; }
  .bundle_form .yarni-bundle-contents > .bundled_product_summary .single_variation .woocommerce-variation-price { flex-direction: row; gap: 6px; flex-wrap: wrap; }
  .bundle_form .yarni-bundle-contents > .bundled_product_summary .price { justify-content: flex-start; }
  .bundle_form .yarni-bundle-contents { --yarni-bundle-control-height: 44px; }
  .bundle_form .yarni-bundle-contents .qty-group.base-qty { max-width: 132px; width: 132px; }
  .bundle_form .yarni-bundle-contents .qty-group button { min-width: 44px; flex-basis: 44px; }
  .bundle_form .yarni-bundle-contents .qty-group input { font-size: 16px; }
  .bundle_form .yarni-bundle-contents .atribute-type-select .value { min-width: 0; }
  .bundle_form .yarni-bundle-contents .bundle-common-download .btn { min-height: 44px; }
  .woocommerce .bundle_form .product.bundled_product_summary.yarni-native-equipment {
    gap: 10px;
    padding: 0;
    margin: 0;
  }
  .woocommerce .bundle_form .product.yarni-native-equipment + .product.yarni-native-equipment {
    padding-top: 10px;
    margin-top: 10px;
  }
  .bundle_form .yarni-native-equipment .details { grid-template-columns: minmax(0, 1fr); }
  .bundle_form .yarni-native-equipment .bundled_product_optional_checkbox {
    grid-template-columns: 18px minmax(0, 1fr);
    gap: 4px 8px;
  }
  .yarni-native-equipment .yarni-native-tool-price { grid-column: 2; }
  .yarni-native-equipment .yarni-native-tool-stock { margin-left: 26px; }
  .bundle_form .yarni-native-equipment .yarni-native-tool-attribute select { height: 44px; font-size: 16px; }
  .yarni-equipment-context select { font-size: 16px; }
}
