/* KINGTV EXTRA CONNECTIONS CSS ONLY SURGICAL */
/* Configure page only. No template edits, no JS, no MAG, no invoice changes. */

body:has(#frmConfigureProduct) #order-standard_cart label[for^="inputConfigOption"] {
  display: block !important;
  width: min(100%, 430px) !important;
  max-width: 430px !important;
  margin: 0 auto 10px !important;
  color: #ffffff !important;
  text-align: center !important;
  font-size: 14px !important;
  line-height: 1.25 !important;
  font-weight: 900 !important;
}

body:has(#frmConfigureProduct) #order-standard_cart .ktv-extra-con-card,
body:has(#frmConfigureProduct) #order-standard_cart .form-group:has(input[name^="configoption["]),
body:has(#frmConfigureProduct) #order-standard_cart .form-group:has(select[name^="configoption["]),
body:has(#frmConfigureProduct) #order-standard_cart .configurable-option:has(input[name^="configoption["]),
body:has(#frmConfigureProduct) #order-standard_cart .configurable-option:has(select[name^="configoption["]) {
  box-sizing: border-box !important;
  width: min(100%, 430px) !important;
  max-width: 430px !important;
  margin: 16px auto 34px !important;
  padding: 22px !important;
  border-radius: 18px !important;
  border: 1px solid rgba(96,165,250,0.34) !important;
  background:
    radial-gradient(circle at 50% 0%, rgba(16,185,129,0.10), transparent 34%),
    linear-gradient(180deg, rgba(13,31,77,0.96), rgba(4,12,35,0.98)) !important;
  box-shadow: 0 18px 36px rgba(0,0,0,0.16) !important;
  text-align: center !important;
  clear: both !important;
  float: none !important;
}

body:has(#frmConfigureProduct) #order-standard_cart .ktv-extra-con-card label,
body:has(#frmConfigureProduct) #order-standard_cart .form-group:has(input[name^="configoption["]) > label,
body:has(#frmConfigureProduct) #order-standard_cart .form-group:has(select[name^="configoption["]) > label,
body:has(#frmConfigureProduct) #order-standard_cart .configurable-option:has(input[name^="configoption["]) > label,
body:has(#frmConfigureProduct) #order-standard_cart .configurable-option:has(select[name^="configoption["]) > label,
body:has(#frmConfigureProduct) #order-standard_cart .ktv-extra-con-title {
  display: block !important;
  width: 100% !important;
  margin: 0 0 13px !important;
  color: #ffffff !important;
  text-align: center !important;
  font-size: 14px !important;
  line-height: 1.25 !important;
  font-weight: 900 !important;
}

body:has(#frmConfigureProduct) #order-standard_cart .ktv-extra-con-card .ktv-extra-con-controls,
body:has(#frmConfigureProduct) #order-standard_cart .form-group:has(input[name^="configoption["]) .ktv-extra-con-controls,
body:has(#frmConfigureProduct) #order-standard_cart .form-group:has(select[name^="configoption["]) .ktv-extra-con-controls,
body:has(#frmConfigureProduct) #order-standard_cart .configurable-option:has(input[name^="configoption["]) .ktv-extra-con-controls,
body:has(#frmConfigureProduct) #order-standard_cart .configurable-option:has(select[name^="configoption["]) .ktv-extra-con-controls {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 14px !important;
  width: 100% !important;
  margin: 0 auto !important;
  text-align: center !important;
}

body:has(#frmConfigureProduct) #order-standard_cart .ktv-extra-con-card button,
body:has(#frmConfigureProduct) #order-standard_cart .ktv-extra-con-card a,
body:has(#frmConfigureProduct) #order-standard_cart .form-group:has(input[name^="configoption["]) button,
body:has(#frmConfigureProduct) #order-standard_cart .form-group:has(input[name^="configoption["]) a {
  float: none !important;
}

body:has(#frmConfigureProduct) #order-standard_cart .ktv-extra-con-card input[type="text"],
body:has(#frmConfigureProduct) #order-standard_cart .ktv-extra-con-card input[type="number"],
body:has(#frmConfigureProduct) #order-standard_cart .form-group:has(input[name^="configoption["]) input[type="text"],
body:has(#frmConfigureProduct) #order-standard_cart .form-group:has(input[name^="configoption["]) input[type="number"] {
  text-align: center !important;
  float: none !important;
}

body:has(#frmConfigureProduct) #order-standard_cart .ktv-extra-con-price,
body:has(#frmConfigureProduct) #order-standard_cart .ktv-extra-con-card span,
body:has(#frmConfigureProduct) #order-standard_cart .form-group:has(input[name^="configoption["]) span,
body:has(#frmConfigureProduct) #order-standard_cart .configurable-option:has(input[name^="configoption["]) span {
  text-align: center !important;
}

body:has(#frmConfigureProduct) #order-standard_cart .ktv-extra-con-price {
  display: block !important;
  width: 100% !important;
  margin: 15px auto 0 !important;
  color: #ffffff !important;
  font-size: 14px !important;
  line-height: 1.35 !important;
  font-weight: 900 !important;
}

@media (max-width: 767px) {
  body:has(#frmConfigureProduct) #order-standard_cart label[for^="inputConfigOption"],
  body:has(#frmConfigureProduct) #order-standard_cart .ktv-extra-con-card,
  body:has(#frmConfigureProduct) #order-standard_cart .form-group:has(input[name^="configoption["]),
  body:has(#frmConfigureProduct) #order-standard_cart .form-group:has(select[name^="configoption["]),
  body:has(#frmConfigureProduct) #order-standard_cart .configurable-option:has(input[name^="configoption["]),
  body:has(#frmConfigureProduct) #order-standard_cart .configurable-option:has(select[name^="configoption["]) {
    width: 100% !important;
    max-width: 100% !important;
  }

  body:has(#frmConfigureProduct) #order-standard_cart .ktv-extra-con-card,
  body:has(#frmConfigureProduct) #order-standard_cart .form-group:has(input[name^="configoption["]),
  body:has(#frmConfigureProduct) #order-standard_cart .form-group:has(select[name^="configoption["]),
  body:has(#frmConfigureProduct) #order-standard_cart .configurable-option:has(input[name^="configoption["]),
  body:has(#frmConfigureProduct) #order-standard_cart .configurable-option:has(select[name^="configoption["]) {
    padding: 20px 16px !important;
    margin: 16px auto 32px !important;
  }
}
