/* TURBOHOST · Configurable products v176 — design only.
   Applies exclusively to the embedded WHMCS configureproduct stage.
   Preserve native form fields, prices, sliders, updateConfigurableOptions and recalctotals. */
html.th2-embedded-qa body.th48-checkout .th-whmcs-wizard[data-th-stage="3"] #frmConfigureProduct {
  --th176-fill:linear-gradient(180deg,rgba(0,30,82,.72),rgba(0,16,46,.88));
  --th176-border:rgba(117,151,255,.33);
  --th176-text:#eff7ff;
  --th176-muted:#abc6e7;
  color:var(--th176-text)!important;
}
html.th2-embedded-qa body.th48-checkout .th-whmcs-wizard[data-th-stage="3"] #frmConfigureProduct > .row > .secondary-cart-body {
  display:block!important;
  width:100%!important;
  max-width:100%!important;
  padding:0!important;
  background:transparent!important;
  box-shadow:none!important;
}

/* Product overview: hierarchy and features instead of WHMCS's flat slab. */
html.th2-embedded-qa body.th48-checkout .th-whmcs-wizard[data-th-stage="3"] #frmConfigureProduct .product-info {
  display:block!important;
  margin:0 0 27px!important;
  padding:26px 29px!important;
  border:1px solid var(--th176-border)!important;
  border-radius:30px!important;
  background:var(--th176-fill)!important;
  box-shadow:none!important;
  color:var(--th176-text)!important;
}
html.th2-embedded-qa body.th48-checkout .th-whmcs-wizard[data-th-stage="3"] #frmConfigureProduct .product-info .product-title {
  margin:0 0 17px!important;
  padding:0 0 16px!important;
  border-bottom:1px solid rgba(117,151,255,.27)!important;
  color:#fff!important;
  font:600 clamp(21px,2.4vw,27px)/1.25 Poppins,Inter,Arial,sans-serif!important;
  letter-spacing:-.025em;
}
html.th2-embedded-qa body.th48-checkout .th-whmcs-wizard[data-th-stage="3"] #frmConfigureProduct .product-info p:not(.product-title) {
  margin:0!important;
  color:#cfe0f6!important;
  font:500 13px/1.85 Inter,Arial,sans-serif!important;
  overflow-wrap:anywhere;
}
html.th2-embedded-qa body.th48-checkout .th-whmcs-wizard[data-th-stage="3"] #frmConfigureProduct .th176-spec-list {
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:9px 13px;
  margin:0!important;
}
html.th2-embedded-qa body.th48-checkout .th-whmcs-wizard[data-th-stage="3"] #frmConfigureProduct .th176-feature {
  display:flex;
  align-items:center;
  min-height:36px;
  gap:9px;
  padding:7px 11px;
  border:1px solid rgba(117,151,255,.18);
  border-radius:15px;
  background:rgba(8,42,95,.48);
  color:#dceaff;
  font:500 12px/1.5 Inter,Arial,sans-serif;
}
html.th2-embedded-qa body.th48-checkout .th-whmcs-wizard[data-th-stage="3"] #frmConfigureProduct .th176-feature::before{
  content:"✓";
  flex:none;
  color:#7fc1ff;
  font-size:12px;
  font-weight:700;
}

/* Section titles do not float over old 1px horizontal rules. */
html.th2-embedded-qa body.th48-checkout .th-whmcs-wizard[data-th-stage="3"] #frmConfigureProduct .sub-heading{
  display:block!important;
  width:100%!important;
  min-height:0!important;
  margin:27px 0 19px!important;
  padding:0 0 12px!important;
  text-align:left!important;
  border:0!important;
  border-bottom:1px solid rgba(117,151,255,.30)!important;
  background:transparent!important;
  overflow:visible!important;
}
html.th2-embedded-qa body.th48-checkout .th-whmcs-wizard[data-th-stage="3"] #frmConfigureProduct .sub-heading::before,
html.th2-embedded-qa body.th48-checkout .th-whmcs-wizard[data-th-stage="3"] #frmConfigureProduct .sub-heading::after{
  content:none!important;
  display:none!important;
}
html.th2-embedded-qa body.th48-checkout .th-whmcs-wizard[data-th-stage="3"] #frmConfigureProduct .sub-heading > span{
  position:static!important;
  display:inline-block!important;
  padding:0!important;
  margin:0!important;
  transform:none!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  color:#fff!important;
  font:600 19px/1.4 Poppins,Inter,Arial,sans-serif!important;
}
/* Native input billing selector stays bound to WHMCS's onchange. */
html.th2-embedded-qa body.th48-checkout .th-whmcs-wizard[data-th-stage="3"] #frmConfigureProduct #inputBillingcycle{
  display:block!important;
  width:min(360px,100%)!important;
  max-width:100%!important;
  height:50px!important;
  min-height:50px!important;
  margin:12px 0 7px!important;
  padding:11px 38px 11px 17px!important;
  border:1px solid var(--th176-border)!important;
  border-radius:30px!important;
  background-color:#061b40!important;
  color:var(--th176-text)!important;
  font:600 14px/1.5 Inter,Arial,sans-serif!important;
  box-shadow:none!important;
}
html.th2-embedded-qa body.th48-checkout .th-whmcs-wizard[data-th-stage="3"] #frmConfigureProduct .field-container>.form-group>label{
  font-weight:600!important;
  color:#d7e7fa!important;
  font-size:13px!important;
}
html.th2-embedded-qa body.th48-checkout .th-whmcs-wizard[data-th-stage="3"] #frmConfigureProduct .field-container>.row{
  display:flex!important;
  flex-wrap:wrap;
  gap:0;
}
html.th2-embedded-qa body.th48-checkout .th-whmcs-wizard[data-th-stage="3"] #frmConfigureProduct .field-container>.row>[class*="col-"]{
  min-width:0;
  margin-bottom:8px;
}
html.th2-embedded-qa body.th48-checkout .th-whmcs-wizard[data-th-stage="3"] #frmConfigureProduct .field-container .form-group{
  margin-bottom:14px!important;
}
html.th2-embedded-qa body.th48-checkout .th-whmcs-wizard[data-th-stage="3"] #frmConfigureProduct :is(.field-container,.product-configurable-options) .form-group > label:first-child{
  display:block;
  margin:0 0 12px!important;
  font:600 13px/1.5 Inter,Arial,sans-serif!important;
  color:#d9e9ff!important;
}
html.th2-embedded-qa body.th48-checkout .th-whmcs-wizard[data-th-stage="3"] #frmConfigureProduct :is(.field-container,.product-configurable-options) .form-control{
  width:100%!important;
  min-width:0;
  min-height:51px!important;
  height:51px!important;
  padding:11px 18px!important;
  border:1px solid rgba(117,151,255,.42)!important;
  border-radius:30px!important;
  background:#001329!important;
  color:#f5faff!important;
  font:500 14px/1.5 Inter,Arial,sans-serif!important;
  box-shadow:none!important;
  outline-offset:2px;
}
html.th2-embedded-qa body.th48-checkout .th-whmcs-wizard[data-th-stage="3"] #frmConfigureProduct :is(.field-container,.product-configurable-options) .form-control:focus{
  border-color:#4ca3ff!important;
  box-shadow:0 0 0 3px rgba(16,98,254,.19)!important;
}
html.th2-embedded-qa body.th48-checkout .th-whmcs-wizard[data-th-stage="3"] #frmConfigureProduct :is(.field-container,.product-configurable-options) .form-control::placeholder{
  color:#9fbbdd!important;
  opacity:1;
}

/* Configurable options are sourced from WHMCS; do not clone/relabel inputs. */
html.th2-embedded-qa body.th48-checkout .th-whmcs-wizard[data-th-stage="3"] #productConfigurableOptions{
  margin:0 0 24px!important;
  background:transparent!important;
  border:0!important;
  padding:0!important;
}
html.th2-embedded-qa body.th48-checkout .th-whmcs-wizard[data-th-stage="3"] #productConfigurableOptions>.row{
  display:flex!important;
  flex-wrap:wrap!important;
  margin:0 -8px!important;
}
html.th2-embedded-qa body.th48-checkout .th-whmcs-wizard[data-th-stage="3"] #productConfigurableOptions>.row>[class*="col-"]{
  padding:0 8px!important;
  margin:0 0 18px!important;
  min-width:0;
}
html.th2-embedded-qa body.th48-checkout .th-whmcs-wizard[data-th-stage="3"] #productConfigurableOptions>.row>[class*="col-"]:has(input[type="radio"]),
html.th2-embedded-qa body.th48-checkout .th-whmcs-wizard[data-th-stage="3"] #productConfigurableOptions>.row>[class*="col-"]:has(.irs) {
  flex:0 0 100%!important;
  max-width:100%!important;
  width:100%!important;
}
html.th2-embedded-qa body.th48-checkout .th-whmcs-wizard[data-th-stage="3"] #productConfigurableOptions>.row>[class*="col-"]>.form-group {
  min-width:0;
  padding:21px 23px 24px!important;
  margin:0!important;
  border:1px solid var(--th176-border)!important;
  border-radius:26px!important;
  background:var(--th176-fill)!important;
}
html.th2-embedded-qa body.th48-checkout .th-whmcs-wizard[data-th-stage="3"] #productConfigurableOptions .form-group:has(input[type="radio"]) {
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:10px 13px!important;
}
html.th2-embedded-qa body.th48-checkout .th-whmcs-wizard[data-th-stage="3"] #productConfigurableOptions .form-group:has(input[type="radio"])>label:first-child{
  grid-column:1/-1;
  margin:0 0 7px!important;
}
html.th2-embedded-qa body.th48-checkout .th-whmcs-wizard[data-th-stage="3"] #productConfigurableOptions .form-group:has(input[type="radio"])>br{
  display:none!important;
}
html.th2-embedded-qa body.th48-checkout .th-whmcs-wizard[data-th-stage="3"] #productConfigurableOptions .form-group>label:has(input[type="radio"]),
html.th2-embedded-qa body.th48-checkout .th-whmcs-wizard[data-th-stage="3"] #productConfigurableOptions .form-group>label:has(input[type="checkbox"]){
  display:flex!important;
  align-items:center!important;
  gap:12px!important;
  min-width:0;
  min-height:49px;
  width:100%;
  padding:11px 15px!important;
  margin:0!important;
  border:1px solid rgba(117,151,255,.28)!important;
  border-radius:18px!important;
  background:rgba(8,35,81,.70)!important;
  color:#e2f0ff!important;
  font:500 13px/1.5 Inter,Arial,sans-serif!important;
  cursor:pointer;
  overflow-wrap:anywhere;
  transition:border-color .15s,background .15s;
}
html.th2-embedded-qa body.th48-checkout .th-whmcs-wizard[data-th-stage="3"] #productConfigurableOptions .form-group>label:has(input:checked){
  background:rgba(18,78,165,.46)!important;
  border-color:#408cff!important;
  box-shadow:inset 0 0 0 1px rgba(16,98,254,.27);
}
html.th2-embedded-qa body.th48-checkout .th-whmcs-wizard[data-th-stage="3"] #productConfigurableOptions .form-group>label:has(input[type="radio"]):hover{
  border-color:rgba(127,185,255,.78)!important;
}
html.th2-embedded-qa body.th48-checkout .th-whmcs-wizard[data-th-stage="3"] #productConfigurableOptions input:is([type="radio"],[type="checkbox"]){
  flex:none;
  margin:0!important;
  width:17px!important;
  height:17px!important;
  accent-color:#1062fe;
}

/* WHMCS ion.rangeSlider skin Modern — change appearance only.
   Do not interfere with slider dimensions/positioning or JS callbacks. */
html.th2-embedded-qa body.th48-checkout .th-whmcs-wizard[data-th-stage="3"] #productConfigurableOptions .irs{
  width:100%!important;
  margin:4px 0 15px!important;
}
html.th2-embedded-qa body.th48-checkout .th-whmcs-wizard[data-th-stage="3"] #productConfigurableOptions .irs-line,
html.th2-embedded-qa body.th48-checkout .th-whmcs-wizard[data-th-stage="3"] #productConfigurableOptions .irs-line :is(.irs-line-left,.irs-line-mid,.irs-line-right){
  background:#193962!important;
  background-image:none!important;
  border:0!important;
  border-radius:30px!important;
}
html.th2-embedded-qa body.th48-checkout .th-whmcs-wizard[data-th-stage="3"] #productConfigurableOptions :is(.irs-line-left,.irs-line-mid,.irs-line-right){
  background:#193962!important;
  background-image:none!important;
  border-radius:30px!important;
}
html.th2-embedded-qa body.th48-checkout .th-whmcs-wizard[data-th-stage="3"] #productConfigurableOptions .irs-bar,
html.th2-embedded-qa body.th48-checkout .th-whmcs-wizard[data-th-stage="3"] #productConfigurableOptions .irs-bar-edge{
  background:#1062fe!important;
  background-image:none!important;
  border:0!important;
  border-radius:30px!important;
}
html.th2-embedded-qa body.th48-checkout .th-whmcs-wizard[data-th-stage="3"] #productConfigurableOptions .irs-slider{
  border:3px solid #fff!important;
  border-radius:50%!important;
  background:#1062fe!important;
  background-image:none!important;
  box-shadow:0 0 0 3px rgba(16,98,254,.2)!important;
  cursor:grab!important;
}
html.th2-embedded-qa body.th48-checkout .th-whmcs-wizard[data-th-stage="3"] #productConfigurableOptions .irs-slider:active{
  cursor:grabbing!important;
}
html.th2-embedded-qa body.th48-checkout .th-whmcs-wizard[data-th-stage="3"] #productConfigurableOptions :is(.irs-from,.irs-to,.irs-single,.irs-min,.irs-max){
  background:#1248a6!important;
  color:#fff!important;
  border-radius:10px!important;
  font:600 12px/1.5 Inter,Arial,sans-serif!important;
  padding:2px 8px!important;
  text-shadow:none!important;
}
html.th2-embedded-qa body.th48-checkout .th-whmcs-wizard[data-th-stage="3"] #productConfigurableOptions :is(.irs-min,.irs-max){
  background:rgba(18,50,98,.9)!important;
  color:#b7d0ee!important;
}
html.th2-embedded-qa body.th48-checkout .th-whmcs-wizard[data-th-stage="3"] #productConfigurableOptions .irs-grid-text{
  color:#a6bedd!important;
  font-size:10px!important;
}
html.th2-embedded-qa body.th48-checkout .th-whmcs-wizard[data-th-stage="3"] #productConfigurableOptions .irs-grid-pol{
  background:rgba(147,183,230,.35)!important;
}

/* Low prominence help, consistent branded footer CTA. */
html.th2-embedded-qa body.th48-checkout .th-whmcs-wizard[data-th-stage="3"] #frmConfigureProduct .alert-warning.info-text-sm{
  margin:24px 0 0!important;
  padding:15px 19px!important;
  border:1px solid rgba(117,151,255,.27)!important;
  border-radius:23px!important;
  background:rgba(12,44,92,.65)!important;
  color:#c7daef!important;
  font:500 12px/1.6 Inter,Arial,sans-serif!important;
}
html.th2-embedded-qa body.th48-checkout .th-whmcs-wizard[data-th-stage="3"] #frmConfigureProduct .alert-warning.info-text-sm :is(i,a){
  color:#8ac4ff!important;
}
html.th2-embedded-qa body.th48-checkout .th-whmcs-wizard[data-th-stage="3"] #orderSummary>.text-center{
  margin:8px 0 0!important;
  padding:22px 0 8px!important;
  border-top:1px solid rgba(117,151,255,.22);
  background:transparent!important;
}
html.th2-embedded-qa body.th48-checkout .th-whmcs-wizard[data-th-stage="3"] #btnCompleteProductConfig{
  min-height:49px!important;
  padding:12px 24px!important;
  margin:0!important;
  border-radius:30px!important;
  border:1px solid #1062fe!important;
  background:#1062fe!important;
  color:#fff!important;
  font:600 14px/1.45 Inter,Arial,sans-serif!important;
  box-shadow:none!important;
}
html.th2-embedded-qa body.th48-checkout .th-whmcs-wizard[data-th-stage="3"] #btnCompleteProductConfig:hover{
  background:#327bff!important;
}
@media(max-width:760px){
  html.th2-embedded-qa body.th48-checkout .th-whmcs-wizard[data-th-stage="3"] #frmConfigureProduct .product-info{
    padding:21px!important;
  }
  html.th2-embedded-qa body.th48-checkout .th-whmcs-wizard[data-th-stage="3"] #frmConfigureProduct .th176-spec-list{
    grid-template-columns:1fr;
  }
  html.th2-embedded-qa body.th48-checkout .th-whmcs-wizard[data-th-stage="3"] #productConfigurableOptions .form-group:has(input[type="radio"]){
    grid-template-columns:1fr!important;
  }
  html.th2-embedded-qa body.th48-checkout .th-whmcs-wizard[data-th-stage="3"] #productConfigurableOptions>.row>[class*="col-"]{
    flex:0 0 100%!important;
    width:100%!important;
    max-width:100%!important;
  }
  html.th2-embedded-qa body.th48-checkout .th-whmcs-wizard[data-th-stage="3"] #productConfigurableOptions>.row>[class*="col-"]>.form-group{
    padding:19px 17px!important;
  }
}
/* v185 — Stage 3 must not repeat the product description already shown
   in Step 1. Override both native and older v176 presentation rules. */
html.th2-embedded-qa body.th48-checkout
.th-whmcs-wizard[data-th-stage="3"] #frmConfigureProduct
> .row > .secondary-cart-body > .product-info {
  display:none!important;
  margin:0!important;
  padding:0!important;
}

/* TURBOHOST v177: native ion.rangeSlider geometry and duplicate control fixes. */
html.th2-embedded-qa body.th48-checkout .th-whmcs-wizard[data-th-stage="3"]
#frmConfigureProduct #productConfigurableOptions input.form-control.irs-hidden-input {
  position:absolute!important;
  top:0!important;
  left:0!important;
  width:0!important;
  min-width:0!important;
  max-width:0!important;
  height:0!important;
  min-height:0!important;
  max-height:0!important;
  padding:0!important;
  margin:0!important;
  border:0!important;
  opacity:0!important;
  pointer-events:none!important;
  box-shadow:none!important;
}
html.th2-embedded-qa body.th48-checkout .th-whmcs-wizard[data-th-stage="3"]
#productConfigurableOptions .irs-slider {
  /* Modern skin: native width 11px, height 18px. Geometry owned by plugin. */
  width:11px!important;
  height:18px!important;
  top:19px!important;
  border:0!important;
  border-radius:10px!important;
  box-sizing:border-box!important;
  background:#7fbbff!important;
  box-shadow:0 0 0 3px rgba(16,98,254,.24)!important;
}
html.th2-embedded-qa body.th48-checkout .th-whmcs-wizard[data-th-stage="3"]
#productConfigurableOptions .irs-single:after {
  border-top-color:#1248a6!important;
}
/* Only the display label is localized. The actual WHMCS billing value remains. */
html.th2-embedded-qa body.th48-checkout .th-whmcs-wizard[data-th-stage="3"]
#frmConfigureProduct .th46-cycle {
  white-space:normal;
  overflow-wrap:anywhere;
}

html.th2-embedded-qa body.th48-checkout .th-whmcs-wizard[data-th-stage="3"]
#productConfigurableOptions label.th177-repeated-option[hidden] {
  display:none!important;
}

/* v180 — no initial price for configurable products; one-cycle read-only label. */
html.th2-embedded-qa body.th48-checkout .th-whmcs-wizard[data-th-stage="1"]
#order-standard_cart .products .product-pricing.th180-config-price{
  color:#c9defa!important;
  font:600 13px/1.5 Inter,Arial,sans-serif!important;
  padding:6px 0 10px!important;
}
html.th2-embedded-qa body.th48-checkout .th-whmcs-wizard[data-th-stage="3"]
#frmConfigureProduct select#inputBillingcycle.th180-single-cycle-select{display:none!important;}
html.th2-embedded-qa body.th48-checkout .th-whmcs-wizard[data-th-stage="3"]
#frmConfigureProduct .th180-single-cycle-note{
  display:inline-flex;align-items:center;
  padding:12px 22px!important;
  border:1px solid rgba(117,151,255,.36)!important;
  border-radius:30px!important;
  background:linear-gradient(180deg,rgba(0,30,82,.72),rgba(0,16,46,.88))!important;
  color:#eff7ff!important;
  font:600 13px/1.4 Inter,Arial,sans-serif!important;
}
/* Ion Modern positions a knob by its left edge; center the visual knob over its tick. */
html.th2-embedded-qa body.th48-checkout .th-whmcs-wizard[data-th-stage="3"]
#productConfigurableOptions .irs-slider.single{
  transform:translateX(-5px)!important;
}
