/* Hide theme duplicates */
.wcbsv-enabled .summary .woocommerce-product-rating,
.wcbsv-enabled .summary p.price,
.wcbsv-enabled .product-meta.top,
.wcbsv-enabled .product-price,
.wcbsv-enabled .product-inventory-wrapper{
  display:none !important;
}

.wcbsv-box{
  border: 1px solid var(--wcbsv-box-border, rgba(0,0,0,0.12));
  border-radius: 14px;
  padding: 14px;
  margin: 14px 0 10px;
  background: var(--wcbsv-box-bg, #fff);
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  clear: both;
  position: relative;
}

.wcbsv-breakout{
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  width: 100vw;
  border-left: 0;
  border-right: 0;
  border-radius: 0;
}

/* Limited-time deal bar */
.wcbsv-deal-bar{
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(198,40,40,0.35);
  background: rgba(198,40,40,0.10);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.wcbsv-deal-label{
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 11px;
  color: #c62828;
}

.wcbsv-deal-off{
  font-weight: 900;
  font-size: 12px;
  color: #c62828;
}

.wcbsv-deal-timer{
  font-weight: 900;
  font-size: 12px;
  color: #c62828;
  white-space: nowrap;
}

/* Small red pill inside rows */
.wcbsv-deal-pill{
  background: #c62828;
  color: #fff;
  font-size: 10px;
  font-weight: 900;
  padding: 4px 8px;
  border-radius: 999px;
  line-height: 1;
  white-space: nowrap;
}

.wcbsv-top{
  display:flex;
  align-items:flex-start;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.wcbsv-rating-link{ text-decoration:none !important; }
.wcbsv-rating{
  display:flex;
  align-items:center;
  gap:8px;
  color: var(--wcbsv-text, rgba(0,0,0,.85));
  font-weight: 700;
  font-size: 13px;
}
.wcbsv-rating .star-rating{ margin: 0; }
.wcbsv-review-count{
  color: var(--wcbsv-muted, rgba(0,0,0,.55));
  font-weight: 600;
}

.wcbsv-top-price{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap: wrap;
}
.wcbsv-sale{
  font-weight: 900;
  font-size: 18px;
  color: var(--wcbsv-text, rgba(0,0,0,.85));
}
.wcbsv-regular{
  color: var(--wcbsv-muted, rgba(0,0,0,.55));
  font-weight: 700;
}
.wcbsv-top-pill{
  background: var(--wcbsv-pill-bg, #b58e5a);
  color: var(--wcbsv-pill-text, #fff);
  font-size: 12px;
  font-weight: 900;
  padding: 5px 10px;
  border-radius: 999px;
}

.wcbsv-divider{
  height: 1px;
  background: var(--wcbsv-box-border, rgba(0,0,0,0.12));
  margin: 12px 0;
}

.wcbsv-title{
  text-align:center;
  font-weight:900;
  letter-spacing:.08em;
  font-size:12px;
  color: var(--wcbsv-muted, rgba(0,0,0,0.55));
  margin-bottom: 10px;
  position: relative;
}
.wcbsv-title:before,
.wcbsv-title:after{
  content:"";
  position:absolute;
  top:50%;
  width: 30%;
  height:1px;
  background: var(--wcbsv-box-border, rgba(0,0,0,0.12));
}
.wcbsv-title:before{ left:0; }
.wcbsv-title:after{ right:0; }

.wcbsv-option{
  display:grid;
  grid-template-columns: 26px 1fr auto auto;
  column-gap: 10px;
  align-items:center;
  border: 1px solid var(--wcbsv-row-border, rgba(0,0,0,0.12));
  border-radius: 12px;
  padding: 12px;
  margin: 10px 0;
  cursor:pointer;
  user-select:none;
  background: var(--wcbsv-row-bg, #fff);
  width: 100%;
  box-sizing: border-box;
}

.wcbsv-option.is-selected{
  background: var(--wcbsv-row-selected-bg, rgba(181,142,90,0.12));
  border-color: color-mix(in oklab, var(--wcbsv-accent, #b58e5a) 45%, var(--wcbsv-row-border, rgba(0,0,0,0.12)));
}

.wcbsv-option input[type="radio"]{
  grid-column: 1;
  width:18px;
  height:18px;
  margin:0 0 0 2px;
  accent-color: var(--wcbsv-accent, #b58e5a);
}

.wcbsv-left{ grid-column: 2; min-width:0; }
.wcbsv-right{ grid-column: 4; text-align:right; }

.wcbsv-row1{ display:flex; align-items:center; gap:10px; flex-wrap: wrap; }
.wcbsv-buy{
  font-weight:900;
  font-size:16px;
  color: var(--wcbsv-text, rgba(0,0,0,.85));
  line-height: 1.1;
}
.wcbsv-sub{
  font-size:12px;
  color: var(--wcbsv-muted, rgba(0,0,0,.55));
  margin-top: 3px;
  font-weight: 600;
}
.wcbsv-price{
  font-weight:900;
  font-size:16px;
  color: var(--wcbsv-text, rgba(0,0,0,.85));
  line-height:1.1;
}
.wcbsv-compare{
  font-size:12px;
  color: var(--wcbsv-muted, rgba(0,0,0,.55));
  margin-top:2px;
  font-weight: 600;
}
.wcbsv-unit{
  font-size:12px;
  color: var(--wcbsv-muted, rgba(0,0,0,.55));
  margin-top: 4px;
  font-weight: 700;
}

.wcbsv-pill{
  background: var(--wcbsv-pill-bg, #b58e5a);
  color: var(--wcbsv-pill-text, #fff);
  font-size:11px;
  font-weight:900;
  padding: 4px 8px;
  border-radius: 999px;
  line-height: 1;
}

.wcbsv-badge{
  grid-column: 3;
  justify-self: center;
  align-self: center;
  background: var(--wcbsv-badge-bg, #b58e5a);
  color: var(--wcbsv-badge-text, #fff);
  font-size:11px;
  font-weight:900;
  padding: 6px 12px;
  border-radius: 999px;
  box-shadow: 0 10px 22px rgba(0,0,0,0.14);
  white-space: nowrap;
}

/* CTA */
.wcbsv-cta{
  margin-top: 10px;
  display: flex;
  flex-direction: column;
}

.wcbsv-cta .single_add_to_cart_button,
.wcbsv-cta button.single_add_to_cart_button,
.wcbsv-cta button.button{
  width: 100% !important;
  border-radius: 10px !important;
  font-weight: 900 !important;
  padding-top: 14px !important;
  padding-bottom: 14px !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  text-align:center !important;
}

/* Trust row */
.wcbsv-cta .wcbsv-trust{
  margin-top: 10px;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  text-align: center;
}
.wcbsv-cta .wcbsv-trust-item{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  color: var(--wcbsv-muted, rgba(0,0,0,.55));
  white-space: nowrap;
}

/* Force trust UNDER the button even if DOM order flips */
.wcbsv-cta > :not(.wcbsv-trust){ order: 1; }
.wcbsv-cta .wcbsv-trust{ order: 2; }

@media (max-width: 768px){
  .wcbsv-enabled .summary,
  .wcbsv-enabled .entry-summary,
  .wcbsv-enabled .woocommerce div.product div.summary,
  .wcbsv-enabled .single-product div.product .summary,
  .wcbsv-enabled .product-summary,
  .wcbsv-enabled .summary-inner,
  .wcbsv-enabled .col-summary,
  .wcbsv-enabled .product-main,
  .wcbsv-box{
    position: relative !important;
    top: auto !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
    will-change: auto !important;
  }
  .wcbsv-box{ position: relative !important; }
}

@media (max-width: 480px){
  .wcbsv-box{ padding: 10px; border-radius: 12px; }
  .wcbsv-option{ padding: 10px; margin: 8px 0; }
  .wcbsv-buy{ font-size: 15px; }
  .wcbsv-price{ font-size: 15px; }
  .wcbsv-sale{ font-size: 17px; }
  .wcbsv-top-pill{ font-size: 11px; padding: 4px 9px; }
  .wcbsv-pill{ font-size: 10px; padding: 3px 7px; }
  .wcbsv-badge{ font-size: 10px; padding: 5px 10px; }
  .wcbsv-cta .single_add_to_cart_button{ padding-top: 12px !important; padding-bottom: 12px !important; }

  .wcbsv-cta .wcbsv-trust{ gap: 10px; }
  .wcbsv-cta .wcbsv-trust-item{ font-size: 11px; }

  .wcbsv-deal-bar{ padding: 9px 10px; }
}