/* Hide WooCommerce default forms and any payment buttons */
.woocommerce div.product form.cart:not(.bob-product-form) {
    display: none !important;
}

/* Force hide any Pay with link buttons from plugins */
*[class*="pay-with"], 
*[class*="paypal"],
*[class*="stripe"],
*[class*="payment"]:not(.bob-product-form *),
.wc-stripe-elements-field,
.wc-stripe-express-checkout,
button:contains("Pay with"),
a:contains("Pay with") {
    display: none !important;
}

/* Ensure BOB interface is always visible and prominent */
.bob-product-form {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
    z-index: 999 !important;
}

/* Header & Meta */
.bob-product-form { 
    max-width: 760px; 
    margin: 0 auto; 
    display: block !important;
}
.bob-header { text-align: center; margin-bottom: 18px; }
.bob-title { font-family: "Stardos Stencil", serif; font-size: 28px; margin: 0 0 6px; }
.bob-subtitle { font-family: Inter, sans-serif; font-size: 13px; opacity: .8; margin: 0; }
.bob-product-meta { text-align: center; margin: 8px 0 14px; }
.bob-name { font-weight: 700; margin: 4px 0; }
.bob-details { font-size: 12.5px; opacity: .9; }
.bob-desc { font-size: 11.5px; opacity: .8; }

/* Toggle Cards */
.bob-panels { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 16px 0 12px; }
.bob-panel { border: 1px solid #e6e2de; border-radius: 16px; padding: 14px 16px; cursor: pointer; background: #faf8f6; }
.bob-panel input { display: none; }
.bob-panel-title { font-weight: 600; }
.bob-panel-note { font-size: 12px; opacity: .75; }
.bob-panel--single { background: #c7d47c; } /* green left card */
.bob-panel--subscribe { background: #faf8f6; }

/* Controls */
.bob-controls { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 10px 0 16px; }
.bob-control label { display: block; font-size: 12px; margin-bottom: 6px; opacity: .8; }
.bob-control select { width: 100%; height: 40px; padding: 6px 10px; border-radius: 10px; border: 1px solid #e1dedb; background: #fff; }
.bob-control--frequency { display: none; }
#bob_bagsize[disabled] { opacity: .6; }

/* Pricing Box */
.bob-pricebox { border: 1px solid #e6e2de; border-radius: 14px; padding: 14px; background: #fff; margin-bottom: 14px; }
.bob-lines { display: grid; gap: 8px; }
.bob-line, .bob-total { display: flex; justify-content: space-between; font-size: 14px; }
.bob-total { font-weight: 600; border-top: 1px solid #eee; padding-top: 8px; }
.bob-impact { font-size: 12px; margin: 10px 0 0; padding: 10px; background: #f5f2ec; border-radius: 10px; }

/* CTA */
.bob-add { width: 100%; height: 46px; border-radius: 12px; border: 0; background: #5B4436; color: #fff; font-weight: 600; }
.bob-add:hover { filter: brightness(1.05); }

/* Mobile */
@media (max-width: 768px) {
  .bob-panels { grid-template-columns: 1fr; }
  .bob-controls { grid-template-columns: 1fr 1fr; }
}