/* Scoped single-product calculator shell, V7 orange/white controls. */
.rsg-calculator{--rsg-orange:#f36b21;--rsg-ink:#171717;--rsg-line:#e7e7e7;font-family:Arial,Helvetica,sans-serif;color:var(--rsg-ink);width:100%;max-width:100%;margin:12px 0 20px;font-size:12px;clear:both}
.rsg-calculator *{box-sizing:border-box}
.rsg-calculator .rsg-row{display:grid;grid-template-columns:minmax(100px,125px) minmax(0,1fr);gap:8px;align-items:center;min-height:60px;border-bottom:1px solid var(--rsg-line)}
.rsg-calculator .rsg-label{font-size:11px;font-weight:500;text-transform:uppercase;letter-spacing:.1px}
.rsg-calculator .rsg-choices{display:flex;gap:6px;flex-wrap:wrap;padding:9px 0}
.rsg-calculator button.rsg-choice{appearance:none;-webkit-appearance:none;display:inline-flex;align-items:center;justify-content:center;background:#fff;color:#222;border:1px solid #ccc;border-radius:4px;min-height:32px;padding:7px 10px;font-weight:400;font-size:11px;line-height:1.3;cursor:pointer;box-shadow:none;text-transform:none;letter-spacing:normal}
.rsg-calculator button.rsg-choice:hover{border-color:var(--rsg-orange);background:#fffaf6;color:#111}
.rsg-calculator button.rsg-choice.active,.rsg-calculator button.rsg-choice.active:hover{background:var(--rsg-orange);color:#fff;border-color:#111;box-shadow:0 0 0 1px #111 inset}
.rsg-calculator .rsg-calc-total-top{color:var(--rsg-orange);font-size:27px;font-weight:700;line-height:1.2;margin:16px 0 9px}
.rsg-calculator .rsg-card{border:1px solid #e3e3e3;border-radius:10px;padding:13px;margin-top:10px;box-shadow:0 3px 10px rgba(0,0,0,.04);background:#fff}
.rsg-calculator .rsg-title{font-size:14px;font-weight:700;margin-bottom:9px}
.rsg-calculator .rsg-cardhead{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:7px}
.rsg-calculator .rsg-cardhead strong{font-size:14px;font-weight:700}
.rsg-calculator .rsg-cardhead label{display:flex;align-items:center;gap:6px;color:#666;font-size:10px;margin:0}
.rsg-calculator input.rsg-num{font-size:12px;font-weight:700;width:70px;min-width:70px;max-width:70px;height:31px;line-height:31px;border:1px solid #d7d7d7;border-radius:6px;text-align:center;background:#fff;padding:0 4px;box-shadow:none;color:#222;margin:0}
.rsg-calculator input.rsg-num:focus{outline:none;border-color:var(--rsg-orange)}
.rsg-calculator .rsg-slider-wrap{padding:2px 0 8px}
.rsg-calculator .rsg-slider{position:relative;padding-top:19px}
.rsg-calculator .rsg-bubble{position:absolute;top:0;left:8px;transform:translateX(-50%);pointer-events:none;background:var(--rsg-orange);color:#fff;font-size:10px;line-height:16px;font-weight:700;padding:2px 6px;border-radius:5px;min-width:23px;text-align:center;z-index:2}
.rsg-calculator .rsg-bubble::after{content:"";position:absolute;left:50%;bottom:-4px;transform:translateX(-50%);border-left:4px solid transparent;border-right:4px solid transparent;border-top:4px solid var(--rsg-orange)}
.rsg-calculator input.rsg-range{--p:0%;display:block;appearance:none;-webkit-appearance:none;width:100%;height:6px;min-height:6px;margin:9px 0;border:0;border-radius:999px;background:linear-gradient(to right,var(--rsg-orange) 0%,var(--rsg-orange) var(--p),#e7e7e7 var(--p),#e7e7e7 100%);cursor:pointer;padding:0;box-shadow:none}
.rsg-calculator input.rsg-range::-webkit-slider-thumb{appearance:none;-webkit-appearance:none;width:18px;height:18px;border:2px solid var(--rsg-orange);border-radius:50%;background:#fff;cursor:pointer}
.rsg-calculator input.rsg-range::-moz-range-thumb{width:16px;height:16px;border:2px solid var(--rsg-orange);border-radius:50%;background:#fff;cursor:pointer}
.rsg-calculator .rsg-limits{display:flex;justify-content:space-between;font-size:9px;color:#999;padding-top:2px}
.rsg-calculator .rsg-lines{margin-top:8px;border-top:1px solid #eee}
.rsg-calculator .rsg-line{display:flex;justify-content:space-between;gap:12px;align-items:center;min-height:31px;padding:5px 0;border-bottom:1px dashed #ececec;font-size:11px}
.rsg-calculator .rsg-line:last-child{border-bottom:0}
.rsg-calculator .rsg-line span{color:#666}
.rsg-calculator .rsg-line strong{text-align:right;font-size:12px;font-weight:700}
.rsg-calculator .rsg-line strong.rsg-orange{color:var(--rsg-orange);font-size:16px}
.rsg-calculator .rsg-note{text-align:right;color:var(--rsg-orange);font-size:10px;font-weight:600;min-height:15px;margin-top:4px}
.rsg-calculator .rsg-breakdown{margin-top:12px;padding:8px 10px;background:#fafafa;border-radius:8px}
.rsg-calculator .rsg-breakdown .rsg-line{padding:7px 0}
.rsg-calculator .rsg-data{border:1px solid #eee;border-radius:10px;margin-top:14px;overflow:hidden;background:#fff}
.rsg-calculator .rsg-data summary{cursor:pointer;font-size:12px;font-weight:700;padding:11px 12px;background:#fafafa}
.rsg-calculator .rsg-data-inside{padding:12px;max-height:320px;overflow:auto}
.rsg-calculator .rsg-data table{width:100%;border-collapse:collapse;font-size:10px}
.rsg-calculator .rsg-data th,.rsg-calculator .rsg-data td{border:1px solid #e2e2e2;padding:6px;text-align:left}
.rsg-calculator .rsg-data th{background:#fff4ed}
.rsg-calculator .rsg-data p{font-size:11px;line-height:1.5}
.rsg-calculator-form .quantity.rsg-native-qty{display:none!important}
@media(max-width:650px){.rsg-calculator .rsg-row{grid-template-columns:minmax(82px,105px) minmax(0,1fr);gap:7px}.rsg-calculator button.rsg-choice{padding:7px 8px}.rsg-calculator .rsg-label{font-size:10px}.rsg-calculator .rsg-card{padding:12px}.rsg-calculator .rsg-calc-total-top{font-size:25px}}

/* On calculator-enabled products, do not show stale Woo CSV variation prices beside the calculated total. */
body.rsg-calc-page .single-product .summary > p.price,
body.rsg-calc-page .single-product .summary > div.price,
.rsg-calculator-form .woocommerce-variation-price {display:none!important}

/* V12 catalog and clearly-identified final calculator GST-inclusive price. */
.rsg-calculator .rsg-gst-included{font-size:11px;color:#666;font-weight:500;margin-left:9px;white-space:nowrap}
.rsg-calculator .rsg-native-choice-note{font-size:11px;color:#777;margin:4px 0 8px}
.rsg-catalog-from{font-weight:600}
.rsg-catalog-note,.rsg-catalog-tax{font-size:11px;font-weight:400;color:#777}
/* Fix the OceanWP/body-class selector: the original V11 version did not match some single-product themes. */
body.single-product.rsg-calc-page .summary > p.price,
body.single-product.rsg-calc-page .summary > div.price,
body.single-product.rsg-calc-page .summary .elementor-widget-woocommerce-product-price,
body.single-product.rsg-calc-page .elementor-widget-woocommerce-product-price,
.rsg-calculator-form .woocommerce-variation-price{display:none!important}

/* V13: one authoritative calculator total; no legacy Woo variation or theme price. */
.rsg-calculator .rsg-final-label{display:block;font-size:12px;font-weight:600;color:#555;line-height:1.6;margin-bottom:2px}
.rsg-calculator .rsg-final-price{display:inline-block;font-size:28px;color:var(--rsg-orange);font-weight:800}
.rsg-calculator .rsg-selection-note{font-size:11px;color:#666;line-height:1.65;margin:9px 0}
.rsg-calculator .rsg-native-choice-note{padding:7px 0;color:#775126;font-size:12px}
body.single-product.rsg-calc-page .summary .single_variation .price,
body.single-product.rsg-calc-page form.cart .single_variation .woocommerce-variation-price,
body.single-product.rsg-calc-page form.cart .single_variation .price,
body.single-product.rsg-calc-page .summary > .price,
body.single-product.rsg-calc-page .summary .woocommerce-product-details__short-description + p.price {display:none!important}
