/* BaoCaoSuHP Price + Cart v10.25.51.2.10 — independent native WooCommerce block. */
body.single-product .bcshp-pcr {
  width:100%; min-width:0; max-width:100%; margin:4px 0 16px; padding:0;
  color:inherit; font-family:inherit; container-type:inline-size;
  --bcshp-pcr-price:#ff403b;
}
body.single-product .bcshp-pcr,
body.single-product .bcshp-pcr * { box-sizing:border-box; }
body.single-product .bcshp-pcr__layout {
  display:grid; grid-template-columns:minmax(0,auto) minmax(0,1fr);
  width:100%; min-width:0; max-width:100%; gap:10px;
  align-items:center;
}
body.single-product .bcshp-pcr__price-col { min-width:0; }
body.single-product .bcshp-pcr__price {
  display:block; margin:0; padding:0; color:var(--bcshp-pcr-price);
  font-family:inherit; font-weight:900; line-height:1.1; letter-spacing:-.03em;
  font-size:clamp(34px,10.8cqi,52px); white-space:nowrap; text-shadow:0 1px 0 rgba(0,0,0,.18), 0 0 18px rgba(255,64,59,.12);
}
body.single-product .bcshp-pcr__price .woocommerce-Price-amount,
body.single-product .bcshp-pcr__price .amount,
body.single-product .bcshp-pcr__price bdi,
body.single-product .bcshp-pcr__price ins,
body.single-product .bcshp-pcr__price .woocommerce-Price-currencySymbol {
  font-family:inherit; font-size:1em; line-height:inherit; font-weight:inherit;
  color:inherit; text-decoration-color:currentColor;
}

body.single-product .bcshp-pcr__price .woocommerce-Price-currencySymbol {
  margin-left: 1px;
}
body.single-product .bcshp-pcr__price del {
  display:block; color:inherit; font-size:.48em; font-weight:600; line-height:1.3;
  opacity:.67; text-decoration:line-through;
}
body.single-product .bcshp-pcr__price del .amount,
body.single-product .bcshp-pcr__price del bdi,
body.single-product .bcshp-pcr__price del .woocommerce-Price-amount { font-size:1em; }
body.single-product .bcshp-pcr__price ins { display:block; text-decoration:none; }
body.single-product .bcshp-pcr__cart-col { min-width:0; width:100%; }
body.single-product .bcshp-pcr__cart-col form.cart {
  display:flex; flex-wrap:wrap; align-items:center; justify-content:flex-end;
  width:100%; max-width:100%; margin:0; gap:6px;
}
body.single-product .bcshp-pcr__cart-col .quantity { flex:0 0 40px; min-width:0; margin:0; }
body.single-product .bcshp-pcr__cart-col .quantity input.qty {
  display:block; width:40px; min-width:0; min-height:44px; margin:0;
  padding:7px 2px; text-align:center; font-family:inherit; font-size:14px;
}
body.single-product .bcshp-pcr__cart-col .single_add_to_cart_button,
body.single-product .bcshp-pcr__cart-col a.single_add_to_cart_button {
  display:inline-flex; align-items:center; justify-content:center; text-align:center;
  flex:1 1 auto; width:auto; min-height:44px; min-width:0; max-width:100%;
  margin:0; padding:8px 11px; white-space:normal; overflow-wrap:normal;
  font-family:inherit; font-size:12.5px; font-weight:700; line-height:1.35;
  border-radius:999px;
}
body.single-product .bcshp-pcr[data-bcshp-product-type="simple"] .bcshp-pcr__cart-col form.cart {
  display:grid; grid-template-columns:40px minmax(0,1fr); gap:6px;
  align-items:center; justify-content:stretch;
}
body.single-product .bcshp-pcr[data-bcshp-product-type="simple"] .bcshp-pcr__cart-col .quantity { width:40px; }
body.single-product .bcshp-pcr[data-bcshp-product-type="simple"] .bcshp-pcr__cart-col .single_add_to_cart_button {
  width:100%; min-width:0; max-width:100%;
}
/* Variable/grouped need native Woo selectors and tables below the price, at full width. */
body.single-product .bcshp-pcr[data-bcshp-product-type="variable"] .bcshp-pcr__layout,
body.single-product .bcshp-pcr[data-bcshp-product-type="grouped"] .bcshp-pcr__layout {
  display:flex; flex-direction:column; align-items:stretch; gap:12px;
}
body.single-product .bcshp-pcr[data-bcshp-product-type="variable"] form.cart,
body.single-product .bcshp-pcr[data-bcshp-product-type="grouped"] form.cart { display:block; }
body.single-product .bcshp-pcr .variations,
body.single-product .bcshp-pcr .group_table { width:100%; }
body.single-product .bcshp-pcr__cart-col .woocommerce-variation-add-to-cart {
  display:flex; flex-wrap:wrap; align-items:center; gap:8px;
}
/* Protect narrow YOOtheme columns. Fit price + cart without squeezing the specs block. */
@container (max-width: 360px) {
  body.single-product .bcshp-pcr__layout { gap:8px; }
  body.single-product .bcshp-pcr__price { font-size:clamp(32px,10cqi,40px); }
  body.single-product .bcshp-pcr__cart-col .single_add_to_cart_button { font-size:12px; padding:8px 8px; }
  body.single-product .bcshp-pcr[data-bcshp-product-type="simple"] .bcshp-pcr__cart-col form.cart { grid-template-columns:36px minmax(0,1fr); gap:5px; }
  body.single-product .bcshp-pcr__cart-col .quantity,
  body.single-product .bcshp-pcr__cart-col .quantity input.qty { width:36px; flex-basis:36px; }
}
@container (max-width: 280px) {
  body.single-product .bcshp-pcr__layout { grid-template-columns:minmax(0,1fr); gap:9px; }
  body.single-product .bcshp-pcr__price { font-size:34px; }
  body.single-product .bcshp-pcr__cart-col { width:100%; }
}
