.sbb-form .sbb-slots { display: flex; flex-direction: column; gap: 12px; margin-bottom: 16px; }
.sbb-slot { border: 1px solid #e3e5e8; border-radius: 14px; padding: 12px 14px 14px; margin: 0; }
.sbb-slot-title { font-weight: 700; font-size: 14px; padding: 0 6px; }
.sbb-optional { margin-left: 8px; font-size: 11px; font-weight: 600; color: #6b7280; text-transform: uppercase; letter-spacing: .04em; }
.sbb-choice { display: flex; gap: 10px; align-items: center; }
.sbb-select { flex: 1 1 auto; min-width: 0; }
.sbb-qty { width: 72px; flex: 0 0 auto; }
.sbb-locked-item { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; }
.sbb-locked-qty { color: #6b7280; }
.sbb-note { color: #6b7280; }

.sbb-total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin: 0 0 14px; padding: 12px 14px; background: #f5f6f8; border-radius: 14px; font-size: 14px; }
.sbb-total[hidden] { display: none; }
.sbb-total-now { font-size: 18px; }
.sbb-total-was { color: #6b7280; margin-right: 6px; }
.sbb-total-save { color: #2e7d32; font-weight: 700; margin-left: 4px; }

/* ---- Layout polish for the site's product page ---- */
.sbb-form { margin-top: 18px; }
.sbb-slot { border: 0; padding: 0; margin: 0; }
.sbb-slot-title { display: flex; align-items: center; padding: 0; margin: 0 0 8px; font-size: 14px; font-weight: 700; float: none; width: 100%; }
.sbb-form .sbb-choice { display: flex; gap: 10px; align-items: stretch; }
.sbb-form .sbb-select {
	flex: 1 1 auto; width: 100% !important; min-width: 0; height: 52px; padding: 0 44px 0 20px;
	background-color: #f5f6f8; border: 1.5px solid transparent; border-radius: 999px; font-size: 15px; color: #0d0f12;
	-webkit-appearance: none; appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236b7280' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat; background-position: right 18px center;
}
.sbb-form .sbb-select:focus { background-color: #fff; border-color: #ff6b00; box-shadow: 0 0 0 3px rgba(255,107,0,.14); outline: none; }
.sbb-form .sbb-qty { flex: 0 0 84px; width: 84px !important; height: 52px; padding: 0 12px; text-align: center; background: #f5f6f8; border: 1.5px solid transparent; border-radius: 999px; font-size: 15px; }
.sbb-form .sbb-add {
	width: 100%; height: 54px; border: 0; border-radius: 999px; background: #0d0f12 !important; color: #fff !important;
	font-weight: 700; font-size: 15px; cursor: pointer;
}
.sbb-form .sbb-add:hover, .sbb-form .sbb-add:focus { background: #ff6b00 !important; color: #fff !important; }
.sbb-locked-item { padding: 14px 20px; background: #f5f6f8; border-radius: 999px; }
.product-type-supplement_bundle .rf-financing-note,
.product-type-supplement_bundle .rf-express-checkout-label,
.product-type-supplement_bundle .rf-express-checkout { display: none !important; }
.rf-summary:has(.sbb-form) .rf-financing-note { display: none !important; }

/* A bundle's lines are fixed: no per-line subscription picker or quantity box. */
tr.sbb-bundle-line [class*="sublium"],
tr.sbb-bundle-line .wfacp_sublium_plan_selector,
tr.sbb-bundle-line .sublium_upgrade_plan_btn { display: none !important; }

/* Bundle lines read as one group in the cart and checkout (they are separate lines underneath). */
tr.sbb-bundle-line { border-left: 3px solid #ff6b00 !important; }
tr.sbb-bundle-line:not(.sbb-bundle-last) { border-bottom-color: transparent !important; }
tr.sbb-bundle-line.sbb-bundle-first { margin-top: 6px; }
.woocommerce-checkout #order_review tr.sbb-bundle-line { padding-left: 12px; background: #fffaf5; }
.woocommerce-checkout #order_review tr.sbb-bundle-line.sbb-bundle-first { border-top-left-radius: 14px; padding-top: 14px; }
.woocommerce-checkout #order_review tr.sbb-bundle-line.sbb-bundle-last { border-bottom-left-radius: 14px; padding-bottom: 14px; }
