/* === Bazolko PDP Enhancer — Phase 2 CSS (PDP-safe) === */

:root{
  --bz-font:"Inter",system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;
  --bz-ink:#111827;
  --bz-muted:#6B7280;
  --bz-line:#E5E7EB;
  --bz-soft:#F8FAFC;
  --bz-success:#10B981;
  --bz-danger:#EF4444;
  --bz-title:32px;
  --bz-title-m:24px;
  --bz-price:24px;
  --bz-pill:13px;
  --bz-save:13px;
  --bz-btnh:44px;
  --bz-accent:#10B981;
  --bz-accent-text:#ffffff;
  --bz-accent-border:#466c60;
  --bz-accent-shadow:0 8px 22px rgba(16,185,129,.24);
}

body{ font-family:var(--bz-font); color:var(--bz-ink); }

/* PDP shell: light premium spacing without touching archive/grid pages */
.single-product div.product .summary,
.single-product div.product .entry-summary{
  color:var(--bz-ink);
}

.single-product .bz-pdp-top{
  display:flex;
  flex-direction:column;
  gap:10px;
}

.single-product .bz-pdp-top .product_title{
  font-size:var(--bz-title);
  line-height:1.16;
  font-weight:800;
  letter-spacing:-.02em;
  margin:2px 0 4px;
  color:var(--bz-ink);
}

@media(max-width:768px){
  .single-product .bz-pdp-top .product_title{ font-size:var(--bz-title-m); }
}

/* Rating compact */
.single-product .bz-pdp-top .woocommerce-product-rating{
  margin:0 0 4px;
  display:flex;
  align-items:center;
  gap:8px;
}

/* Price emphasis */
.single-product .bz-pdp-top .price{
  font-size:var(--bz-price);
  font-weight:900;
  line-height:1.1;
  color:var(--bz-danger);
  margin:4px 0;
}
.single-product .bz-pdp-top .price del{
  color:#9CA3AF;
  font-size:.72em;
  font-weight:700;
  opacity:1;
}
.single-product .bz-pdp-top .price ins{
  text-decoration:none;
  font-weight:900;
}

/* Manual product badges */
.single-product .bzpdp-pills{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin:0 0 6px;
}
.single-product .bzpdp-pill{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:8px 12px;
  border-radius:999px;
  font-size:13px;
  line-height:1;
  font-weight:800;
  letter-spacing:.15px;
  border:1px solid rgba(17,24,39,.10);
  background:linear-gradient(180deg,rgba(255,255,255,.96),rgba(255,255,255,.76));
  box-shadow:0 6px 18px rgba(17,24,39,.08);
  backdrop-filter:blur(6px);
}
.single-product .bzpdp-dot{
  width:10px;
  height:10px;
  border-radius:999px;
  display:inline-block;
  box-shadow:0 0 0 3px rgba(0,0,0,.04);
}

/* Offer box — Phase 2 premium card */
.single-product .bzpdp-offerbox{
  margin:14px 0 14px;
  padding:14px;
  border:1px solid #E7ECEF;
  border-radius:16px;
  background:linear-gradient(180deg,#FFFFFF 0%,#FAFCFF 100%);
  box-shadow:0 10px 26px rgba(15,23,42,.06);
}
.single-product .bzpdp-offerhead{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom:6px;
}
.single-product .bzpdp-offerhead strong{
  display:flex;
  align-items:center;
  gap:8px;
  color:var(--bz-ink);
  font-size:15px;
  font-weight:900;
}
.single-product .bzpdp-offerhead strong::before{
  content:"%";
  display:inline-grid;
  place-items:center;
  width:22px;
  height:22px;
  border-radius:999px;
  background:#ECFDF5;
  color:#047857;
  font-size:12px;
  font-weight:900;
}
.single-product .bzpdp-offerhead span{
  flex:0 0 auto;
  padding:4px 9px;
  border-radius:999px;
  background:#F3F4F6;
  color:#6B7280;
  font-size:12px;
  font-weight:800;
}
.single-product .bzpdp-offeritem{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:11px 0;
  border-top:1px dashed #E5E7EB;
}
.single-product .bzpdp-offeritem:first-of-type{ border-top:0; }
.single-product .bzpdp-offeritem .l{ min-width:0; }
.single-product .bzpdp-offeritem .t{
  color:#111827;
  font-size:14px;
  font-weight:850;
  line-height:1.25;
}
.single-product .bzpdp-offeritem .d{
  margin-top:3px;
  color:#6B7280;
  font-size:12px;
  line-height:1.3;
}
.single-product .bzpdp-offeritem .r{
  flex:0 0 auto;
  padding:5px 8px;
  border-radius:999px;
  background:#ECFDF5;
  color:#047857;
  font-size:11px;
  font-weight:900;
  white-space:nowrap;
}
.single-product .bzpdp-viewoffers{
  margin-top:4px;
  padding:4px 0 0;
  border:0;
  background:transparent;
  color:#2563EB;
  font-size:13px;
  font-weight:900;
  cursor:pointer;
}

/* Trust chips */
.single-product .bz-trust{
  list-style:none;
  padding:0;
  margin:12px 0 0;
  display:flex;
  gap:8px;
  flex-wrap:wrap;
}
.single-product .bz-trust li{
  margin:0;
  padding:8px 11px;
  border-radius:999px;
  background:#F8FAFC;
  border:1px solid #E5E7EB;
  color:#374151;
  font-size:12px;
  font-weight:800;
  line-height:1;
}
.single-product .bz-trust li::before{
  content:"✓";
  margin-right:6px;
  color:#16A34A;
  font-weight:950;
}

/* Main PDP buttons only */
.single-product .summary .cart .ns-single-add-btn,
.single-product .summary .cart .single_add_to_cart_button{
  min-height:var(--bz-btnh);
  border-radius:12px !important;
  font-weight:900 !important;
  background:#0F172A !important;
  color:#fff !important;
  border:1px solid #0B1220 !important;
}
.single-product .summary .cart .nasa-buy-now,
.single-product .summary .cart .single_buy_now_button,
.single-product .summary .cart .wpcbn-buy-now,
.single-product .summary .cart .co-quick-buy{
  min-height:var(--bz-btnh);
  border-radius:12px !important;
  font-weight:900 !important;
  background:var(--bz-accent) !important;
  color:var(--bz-accent-text) !important;
  border:1px solid var(--bz-accent-border) !important;
  box-shadow:var(--bz-accent-shadow) !important;
}
.bz-accent-light .bz-mbar .bz-mbar-buy,
.bz-accent-light .single-product .summary .cart .nasa-buy-now{
  outline:1px solid rgba(0,0,0,.15);
}

/* Gallery polish — scoped to PDP only */
.single-product .woocommerce-product-gallery{
  position:relative;
}
.single-product .woocommerce-product-gallery__wrapper{
  border-radius:18px;
  overflow:hidden;
  background:#F8FAFC;
}
.single-product .woocommerce-product-gallery img{
  border-radius:14px;
}

/* Sale badge */
.woocommerce ul.products li.product,
.single-product div.product{ position:relative; }
.bz-badge-sale{
  position:absolute;
  top:10px;
  left:10px;
  z-index:9;
  background:linear-gradient(135deg,#FF4D4F,#FF7A45);
  color:#fff;
  font-weight:900;
  padding:.35rem .58rem;
  border-radius:10px;
  box-shadow:0 6px 16px rgba(255,77,79,.25);
  font-size:.85rem;
  letter-spacing:.3px;
}
.woocommerce ul.products li.product .onsale,
.single-product div.product .onsale,
.woocommerce ul.products li.product .nasa-onsale,
.single-product div.product .nasa-onsale,
.woocommerce ul.products li.product .nasa-badge-percent,
.single-product div.product .nasa-badge-percent,
.woocommerce ul.products li.product .percent,
.single-product div.product .percent{
  display:none !important;
}

/* Mobile sticky bar */
.bz-mbar{
  position:fixed;
  left:0;
  right:0;
  bottom:0;
  z-index:9999;
  display:none;
  flex-direction:column;
  gap:8px;
  padding:10px 12px calc(10px + env(safe-area-inset-bottom));
  background:rgba(255,255,255,.98);
  border-top:1px solid #E5E7EB;
  box-shadow:0 -10px 26px rgba(15,23,42,.10);
  backdrop-filter:blur(10px);
}
.bz-mbar-spacer{ height:0; }
@media(max-width:768px){
  .bz-mbar{ display:flex; }
  .bz-mbar-spacer{ height:92px; }
}
.bz-mbar-top{
  display:flex;
  align-items:center;
  gap:8px;
  min-width:0;
}
.bz-mbar-price{
  flex:0 0 auto;
  color:var(--bz-danger);
  font-size:18px;
  font-weight:950;
  white-space:nowrap;
}
.bz-mbar-price del{ display:none !important; }
.bz-mbar-price ins{ text-decoration:none; }
.bz-mbar-offers{
  flex:1 1 auto;
  min-width:0;
  display:flex;
  align-items:center;
  padding:6px 9px;
  border-radius:999px;
  border:1px solid #BBF7D0;
  background:#F0FDF4;
}
.bz-mbar-offer{
  display:none;
  min-width:0;
  width:100%;
  color:#065F46;
  font-size:12px;
  font-weight:850;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.bz-mbar-offer.is-active{ display:block; }
.bz-mbar-actions{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
}
.bz-mbar-actions .button{
  min-height:44px;
  border-radius:12px !important;
  font-size:15px;
  font-weight:950 !important;
  line-height:1.1;
}
.bz-mbar-atc{
  background:#0F172A !important;
  color:#fff !important;
  border:1px solid #0B1220 !important;
}
.bz-mbar .bz-mbar-buy,
.bz-mbar .bz-mbar-buy.button,
.bz-mbar .bz-mbar-buy.button.alt{
  background:var(--bz-accent) !important;
  color:var(--bz-accent-text) !important;
  border:1px solid var(--bz-accent-border) !important;
  box-shadow:var(--bz-accent-shadow) !important;
}

@media(max-width:768px){
  .single-product .bzpdp-pill{ padding:7px 10px; font-size:12px; }
  .single-product .bzpdp-dot{ width:9px; height:9px; }
  .single-product .bzpdp-offerbox{ border-radius:14px; padding:12px; margin:12px 0; }
  .single-product .bzpdp-offeritem{ padding:10px 0; }
  .single-product .bzpdp-offeritem .t{ font-size:13px; }
  .single-product .bz-trust{ gap:6px; margin-bottom:8px; }
  .single-product .bz-trust li{ font-size:11px; padding:7px 9px; }
}
/* Trust line: capsule remove */
.single-product .bz-trust{
  list-style:none;
  padding:0;
  margin:10px 0 8px;
  display:flex;
  gap:18px;
  flex-wrap:wrap;
}

.single-product .bz-trust li{
  padding-left:16px;
  background:transparent !important;
  border:0 !important;
  border-radius:0 !important;
  box-shadow:none !important;
  font-size:13px;
  font-weight:600;
  color:#374151;
}

.single-product .bz-trust li::before{
  content:"✓";
  color:#16a34a;
  left:0;
}

/* PDP Enhancer offer box premium */
.single-product .bzpdp-offerbox{
  background:#ffffff;
  border:1px solid #e5e7eb;
  border-radius:14px;
  padding:14px 16px;
  margin:16px 0;
  box-shadow:0 8px 24px rgba(15,23,42,.06);
}

.single-product .bzpdp-offerhead{
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom:10px;
}

.single-product .bzpdp-offerhead strong{
  font-size:15px;
  font-weight:800;
  color:#111827;
}

.single-product .bzpdp-offerhead span{
  font-size:12px;
  background:#f3f4f6;
  color:#6b7280;
  padding:4px 10px;
  border-radius:999px;
}

.single-product .bzpdp-offeritem{
  display:flex;
  justify-content:space-between;
  gap:12px;
  padding:12px 0;
  border-top:1px dashed #e5e7eb;
}

.single-product .bzpdp-offeritem:first-of-type{
  border-top:0;
}

.single-product .bzpdp-offeritem .t{
  font-size:14px;
  font-weight:800;
  color:#111827;
}

.single-product .bzpdp-offeritem .d{
  font-size:12px;
  color:#6b7280;
  margin-top:3px;
}

.single-product .bzpdp-offeritem .r{
  font-size:12px;
  font-weight:700;
  color:#059669;
  background:#ecfdf5;
  padding:5px 9px;
  border-radius:999px;
  white-space:nowrap;
}

/* View more: button nahi, simple text */
.single-product .bzpdp-view-more,
.single-product .bzpdp-offerbox button{
  background:transparent !important;
  border:0 !important;
  box-shadow:none !important;
  padding:6px 0 0 !important;
  margin:4px 0 0 !important;
  color:#0ea5e9 !important;
  font-size:12px !important;
  font-weight:700 !important;
  letter-spacing:0 !important;
  text-transform:none !important;
  cursor:pointer;
}