/* Existing BWS price nodes remain the source for all displayed amounts. */
.bws-pb-price,
.bws-pb-delivery {
  --bws-pb-green: #17734c;
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  height: 100%;
  margin: 0 !important;
  padding: 18px 20px;
  border: 1px solid #dce6e0;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 3px 12px rgb(20 57 39 / 3%);
  color: #20372d;
  font-family: inherit;
  font-size: 14px;
  line-height: 1.4;
  text-align: left;
}
.bws-pb-price {
  background: linear-gradient(135deg, #f2faf5 0%, #fff 75%);
}
.bws-pb-price .bks-price-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  min-height: 24px;
  margin: 0 0 9px;
}
.bws-pb-price .bws-pb-eyebrow,
.bws-pb-delivery .bws-pb-eyebrow {
  color: #62756b;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .055em;
  line-height: 1.4;
  text-transform: uppercase;
}
.bws-pb-price .wc-discount-badge {
  padding: 3px 8px;
  border: 0;
  border-radius: 6px;
  background: #e0f1e7;
  color: #16613f;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.5;
  white-space: nowrap;
}
.bws-pb-price .wc-price-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: 10px;
  row-gap: 2px;
}
.bws-pb-price .wc-price-current {
  color: #175e40;
  font-size: clamp(26px, 2.1vw, 32px);
  font-weight: 750;
  letter-spacing: -.035em;
  line-height: 1.1;
  white-space: nowrap;
}
.bws-pb-price .wc-price-regular,
.bws-pb-price .wc-price-regular del {
  color: #819087;
  font-size: 13px;
  font-weight: 400;
  white-space: nowrap;
}
.bws-pb-price .wc-price-savings {
  margin: 7px 0 0;
  color: #24734e;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
}
.bws-pb-price .wc-tax-note {
  display: block;
  margin: 7px 0 0;
  color: #6b7b72;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.4;
}
.bws-pb-delivery .bws-pb-stock {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  max-width: 100%;
  margin: 0;
  padding: 5px 10px;
  border-radius: 7px;
  background: var(--bws-pb-green);
  color: #fff;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.4;
  overflow-wrap: anywhere;
}
.bws-pb-delivery .bws-pb-delivery-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  min-height: 24px;
  margin-bottom: 13px;
}
.bws-pb-stock-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 13px;
  width: 13px;
  height: 13px;
  border: 1px solid rgb(255 255 255 / 65%);
  border-radius: 50%;
  font-size: 9px;
  line-height: 1;
}
.bws-pb-delivery[data-bws-pb-stock="backorder"] .bws-pb-stock {
  background: #fff1d8;
  color: #80570c;
}
.bws-pb-delivery[data-bws-pb-stock="unavailable"] .bws-pb-stock {
  background: #edf0ee;
  color: #59675f;
}
.bws-pb-delivery[data-bws-pb-stock="backorder"] .bws-pb-stock-icon,
.bws-pb-delivery[data-bws-pb-stock="unavailable"] .bws-pb-stock-icon {
  border-color: currentColor;
}
.bws-pb-delivery .bws-pb-delivery-time,
.bws-pb-delivery .wc-delivery-label {
  margin: 2px 0 0;
  color: #203e2e;
  font-size: 20px;
  font-weight: 650;
  letter-spacing: -.02em;
  line-height: 1.3;
  overflow-wrap: anywhere;
}
.bws-pb-delivery .bws-pb-shipping {
  margin: 7px 0 0;
  color: #62756b;
  font-size: 11px;
  line-height: 1.4;
}
.bws-pb-delivery[data-bws-pb-stock="unavailable"] .wc-delivery-main {
  display: none;
}
/* The two existing shortcode widgets keep their Elementor placement. */
body.single-product .bws-pb-row {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 205px), 1fr)) !important;
  gap: 12px !important;
  align-items: stretch !important;
}
body.single-product .bws-pb-widget {
  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  align-self: stretch !important;
}
.bws-pb-widget > .elementor-widget-container,
.bws-pb-widget .elementor-shortcode {
  height: 100%;
}
body.single-product .bws-pb-widget > .elementor-widget-container {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
@media (max-width: 479px) {
  .bws-pb-price,
  .bws-pb-delivery { padding: 15px 17px; border-radius: 12px; }
  .bws-pb-price .wc-price-current { font-size: 30px; }
}
