/* Product-owned copy and retailer reassurance; native cart/payment actions stay intact. */
.bws-product-page .bws-template-purchase-column .bws-purchase-short-description,
.bws-product-page .bws-template-purchase-column .bws-template-short-description.elementor-widget {
  width: 100%;
  min-width: 0;
  margin: 0;
  color: var(--bws-brand-muted, #52615a);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
}
.bws-template-purchase-column .bws-purchase-short-description :where(p, ul, ol),
.bws-template-purchase-column .bws-template-short-description :where(p, ul, ol) {
  margin-block: 0 8px;
  line-height: 1.6;
}
.bws-template-purchase-column .bws-purchase-short-description > :last-child,
.bws-template-purchase-column .bws-template-short-description :where(.elementor-widget-container, .woocommerce-product-details__short-description) > :last-child { margin-bottom: 0; }
.bws-template-purchase-column .bws-purchase-short-description strong,
.bws-template-purchase-column .bws-template-short-description strong { color: var(--bws-brand-heading, #27312d); font-weight: 600; }
.bws-template-purchase-column .bws-authorized-dealer {
  display: flex;
  flex: 0 0 100%;
  grid-column: 1 / -1;
  clear: both;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-width: 0;
  margin: 0 0 14px;
  padding: 12px 14px;
  border: 1px solid var(--bws-brand-border, #dde4df);
  border-radius: 12px;
  background: var(--bws-brand-soft, #f3faf5);
  color: var(--bws-brand-heading, #27312d);
  font-family: inherit;
  line-height: 1.4;
  text-align: left;
  box-sizing: border-box;
}
/* Elementor can open its own flex holder before WooCommerce's button hook. */
.bws-template-purchase-column .e-atc-qty-button-holder:has(> .bws-authorized-dealer),
.bws-template-purchase-column form.cart:has(> .bws-authorized-dealer) { flex-wrap: wrap !important; }
.bws-template-purchase-column .e-atc-qty-button-holder > .bws-authorized-dealer { margin-bottom: 0; }
.bws-template-purchase-column .e-atc-qty-button-holder:has(> .bws-authorized-dealer) > .quantity { margin-inline-end: 0 !important; }
.bws-template-purchase-column .e-atc-qty-button-holder:has(> .bws-authorized-dealer) > .single_add_to_cart_button { flex: 1 1 0 !important; min-width: 0; margin-inline-start: 0; }
.bws-template-purchase-column .bws-authorized-dealer__icon {
  display: inline-flex;
  flex: 0 0 28px;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bws-brand-inset, #edf6ef);
  color: var(--bws-brand-link, #267c5f);
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
}
.bws-template-purchase-column .bws-authorized-dealer__content { display: block; min-width: 0; }
.bws-template-purchase-column .bws-authorized-dealer__title {
  display: block;
  margin: 0;
  color: var(--bws-brand-heading, #27312d);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  overflow-wrap: anywhere;
}
.bws-template-purchase-column :where(.bws-authorized-dealer__text, .bws-authorized-dealer__note) {
  display: block;
  margin: 3px 0 0;
  color: var(--bws-brand-muted, #52615a);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.45;
  overflow-wrap: anywhere;
}
/* Verified WooCommerce PayPal Payments 4.2.0 classic wrapper and SDK v6 hosts.
   Size the native component box; no iframe, shadow content, eligibility or click changes. */
.bws-template-purchase-column .ppc-button-wrapper {
  width: 100%;
  max-width: 360px;
  margin-block: 14px 0;
  margin-inline: auto;
}
.bws-template-purchase-column #ppc-button-ppcp-gateway-v6 {
  width: 100%;
  min-width: 0;
}
.bws-template-purchase-column #ppc-button-ppcp-gateway-v6 > :where(paypal-button, venmo-button, paypal-pay-later-button) {
  height: 44px !important;
  min-height: 44px;
}
@media (max-width: 767px) {
  .bws-template-purchase-column .ppc-button-wrapper { max-width: none; }
  .bws-template-purchase-column .bws-authorized-dealer { padding: 11px 12px; gap: 9px; }
}

/* BWS packet mobile layout 0.5.12 */
/* Native packet-sale cards. Retain every checkbox, quantity value and cart field. */
@media (max-width: 767px) {
  body.single-product .bundle_sells_form {
    --bws-pv-green: var(--bws-brand-link, #267c5f);
    --bws-pv-green-soft: var(--bws-brand-soft, #f3faf5);
    --bws-pv-border: var(--bws-brand-border, #dde4df);
  }
  body.single-product .bundle_sells_form .bundled_product.bundled_item_optional {
    padding: 12px !important;
    border-radius: 12px;
  }
  body.single-product .bundle_sells_form .bundled_item_optional .bws-pv-card-layout {
    display: grid !important;
    grid-template-columns: 112px minmax(0, 1fr);
    grid-template-areas: "image title" "controls controls";
    align-items: center;
    gap: 12px;
  }
  body.single-product .bundle_sells_form .bundled_item_optional .bws-pv-card-layout > .bundled_product_images,
  body.single-product #content .bundle_sells_form .bundled_item_optional .bws-pv-card-layout > .bundled_product_images {
    grid-area: image;
    float: none !important;
    width: 112px !important;
    height: 112px !important;
    min-width: 0;
    max-width: none;
    max-height: none;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 10px;
    box-shadow: none;
  }
  body.single-product .bundle_sells_form .bundled_item_optional .bws-pv-image-only {
    display: flex;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
  }
  body.single-product .bundle_sells_form .bundled_item_optional .bws-pv-image-only > img {
    display: block !important;
    flex: 0 0 100%;
    width: 100% !important;
    height: 100% !important;
    min-width: 0;
    max-width: none !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 8px;
    box-shadow: none;
    object-fit: contain;
  }
  /* This generic wrapper has no semantic role; its native controls stay in place. */
  body.single-product .bundle_sells_form .bundled_item_optional .bws-pv-card-layout > .details {
    display: contents !important;
  }
  body.single-product .bundle_sells_form .bundled_item_optional h4.bundled_product_title {
    grid-area: title;
    min-width: 0;
    margin: 0 !important;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    text-transform: none;
    overflow-wrap: anywhere;
  }
  body.single-product .bundle_sells_form .bundled_item_optional .bws-pv-bottom {
    grid-area: controls;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "price select";
    align-items: center;
    gap: 10px;
    min-width: 0;
    padding-top: 10px;
    border-top: 1px solid var(--bws-brand-border, #dde4df);
  }
  body.single-product .bundle_sells_form .bundled_item_optional .bws-pv-quantity {
    display: none !important;
  }
  body.single-product .bundle_sells_form .bundled_item_optional h4.bws-pv-price {
    font-size: 17px;
    font-weight: 700;
    line-height: 1.4;
    white-space: normal;
  }
  body.single-product .bundle_sells_form .bundled_item_optional .bws-pv-price .woocommerce-Price-amount {
    white-space: nowrap;
  }
  body.single-product .bundle_sells_form .bundled_item_optional label.bws-pv-checkbox {
    min-height: 44px;
    min-width: 0;
    max-width: 100%;
    padding: 9px 11px !important;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
    white-space: normal;
  }
  body.single-product .bundle_sells_form .bundled_item_optional label.bws-pv-checkbox:has(input:focus-visible) {
    outline: 2px solid var(--bws-brand-link, #267c5f);
    outline-offset: 3px;
  }
}
@media (max-width: 359px) {
  body.single-product .bundle_sells_form .bundled_item_optional .bws-pv-card-layout {
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 10px;
  }
  body.single-product .bundle_sells_form .bundled_item_optional .bws-pv-card-layout > .bundled_product_images,
  body.single-product #content .bundle_sells_form .bundled_item_optional .bws-pv-card-layout > .bundled_product_images {
    width: 96px !important;
    height: 96px !important;
  }
  body.single-product .bundle_sells_form .bundled_item_optional h4.bundled_product_title {
    font-size: 15px;
    hyphens: auto;
  }
  body.single-product .bundle_sells_form .bundled_item_optional .bws-pv-bottom {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "price" "select";
    gap: 8px;
  }
  body.single-product .bundle_sells_form .bundled_item_optional label.bws-pv-checkbox {
    justify-self: stretch;
    width: 100%;
  }
}
