.rbp-wrapper { margin: 1em 0 1.5em; }
.rbp-title { margin: 0 0 .5em; font-size: 1em; }
.rbp-pricing-table { width: 100%; border-collapse: collapse; margin: 0 !important; }
.rbp-pricing-table th,
.rbp-pricing-table td { padding: .55em .8em; border: 1px solid rgba(0,0,0,.1); text-align: start; }
.rbp-pricing-table thead th { background: rgba(0,0,0,.04); font-weight: 600; }
.rbp-clickable .rbp-tier { cursor: pointer; }
.rbp-clickable .rbp-tier:hover td { background: rgba(0,0,0,.03); }
.rbp-pricing-table .rbp-tier.rbp-active td { background: #e8f5e9; font-weight: 600; }
.rbp-pricing-table .rbp-tier.rbp-active td:first-child { box-shadow: inset 3px 0 0 #2e7d32; }
[dir="rtl"] .rbp-pricing-table .rbp-tier.rbp-active td:first-child { box-shadow: inset -3px 0 0 #2e7d32; }
.rbp-summary { display: flex; flex-wrap: wrap; gap: 1.5em; margin: .6em 0 0; }
.rbp-from { font-weight: 600; }
.rbp-single { margin: .5em 0 1em; }
.rbp-single-price { margin: 0; font-size: 1.25em; font-weight: 600; }
.single_variation_wrap .rbp-variation-table:empty { display: none; }

/* Blocks */
.rbp-blocks { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 8px; }
.rbp-block { position: relative; border: 1px solid rgba(0,0,0,.15); border-radius: 6px; padding: .6em .7em; display: flex; flex-direction: column; gap: 2px; background: #fff; }
.rbp-clickable .rbp-block { cursor: pointer; }
.rbp-block:hover { border-color: rgba(0,0,0,.35); }
.rbp-block.rbp-active { border-color: #2e7d32; box-shadow: 0 0 0 1px #2e7d32 inset; background: #f1f8f2; }
.rbp-block-qty { font-size: .85em; opacity: .75; }
.rbp-block-price { font-weight: 700; }
.rbp-badge-off { display: inline-block; align-self: flex-start; background: #2e7d32; color: #fff; font-size: .75em; font-weight: 600; padding: 1px 6px; border-radius: 10px; }
/* List */
.rbp-list { list-style: none; margin: 0; padding: 0; }
.rbp-list li { display: flex; align-items: center; gap: .8em; padding: .35em .5em; border-bottom: 1px dashed rgba(0,0,0,.12); }
.rbp-clickable .rbp-list li { cursor: pointer; }
.rbp-list li.rbp-active { background: #e8f5e9; font-weight: 600; }
/* Dropdown */
.rbp-tier-select { width: 100%; max-width: 420px; padding: .5em; }
/* Tooltip */
.rbp-tooltip { position: relative; display: inline-block; }
.rbp-tooltip > summary { cursor: pointer; list-style: none; display: inline-flex; align-items: center; gap: .4em; font-weight: 600; }
.rbp-tooltip > summary::-webkit-details-marker { display: none; }
.rbp-info { display: inline-flex; width: 1.2em; height: 1.2em; border-radius: 50%; background: #2e7d32; color: #fff; font-size: .8em; align-items: center; justify-content: center; font-style: italic; font-family: serif; }
.rbp-tooltip-box { position: absolute; z-index: 50; inset-inline-start: 0; top: calc(100% + 6px); min-width: 280px; background: #fff; border: 1px solid rgba(0,0,0,.15); border-radius: 6px; box-shadow: 0 6px 20px rgba(0,0,0,.12); padding: 8px; }
@media (max-width: 480px) { .rbp-tooltip-box { min-width: 0; width: calc(100vw - 32px); } }
