/*
Theme Name: Ashe Pro Child
Template: ashe-pro-premium
Version: 1.0
*/

/* ---------- Form styling (Gift / Promo templates) ---------- */

.form-wrap form,
.form-wrap #gift_voucher_form,
.form-wrap #promo_2_form{
  max-width: 720px;
  margin: 20px auto;
  padding: 24px;
  border: 1px solid #eee;
  border-radius: 12px;
  background: #fff;
}

.form-wrap form p{
  margin: 0 0 14px;
}

/* Override template widths */
.form-wrap #gift_voucher_form input,
.form-wrap #gift_voucher_form select,
.form-wrap #gift_voucher_form textarea,
.form-wrap #promo_2_form input,
.form-wrap #promo_2_form select,
.form-wrap #promo_2_form textarea{
  width: 100% !important;
  box-sizing: border-box !important;
}

/* Inputs */
.form-wrap input[type="text"],
.form-wrap input[type="email"],
.form-wrap input[type="tel"],
.form-wrap select,
.form-wrap textarea{
  padding: 12px 14px;
  border: 1px solid #ddd;
  border-radius: 10px;
  background: #fff;
  font-size: 16px;
}

.form-wrap textarea{
  min-height: 140px;
}

/* Buttons */
.form-wrap .btn,
.form-wrap button,
.form-wrap input[type="submit"]{
  width: auto !important;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid #ccc;
  cursor: pointer;
}

/* Checkbox section */
.form-wrap .form-checkbox_container{
  margin: 10px 0 16px;
  padding: 12px 14px;
  border: 1px solid #eee;
  border-radius: 10px;
  background: #fafafa;
}

.form-wrap .form-checkbox_container label{
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
}

.form-wrap .form-checkbox_container > div{
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 6px 0;
}

/* Other field */
.form-wrap .form-checkbox-other-input{
  width: 240px !important;
  max-width: 100% !important;
}
/* ---------- Fix checkbox layout (Gift Register + Promo) ---------- */

.form-wrap .form-checkbox_container > div{
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 10px !important;
  margin: 8px 0 !important;
}

.form-wrap .form-checkbox_container input[type="checkbox"]{
  width: auto !important;
  margin: 0 !important;
  flex: 0 0 auto !important;
}

.form-wrap .form-checkbox_container span{
  display: inline-block !important;
  margin: 0 !important;
  flex: 1 1 auto !important;
  text-align: left !important;
  line-height: 1.3 !important;
}

/* "Other" row: checkbox + text input on one line */
.form-wrap .form-checkbox_container .form-checkbox-other-input{
  margin-left: 10px !important;
  width: 260px !important;
  max-width: 100% !important;
}
/* ===== Hard fix: checkbox labels stuck on the right ===== */
.form-wrap .form-checkbox_container > div{
  display: grid !important;
  grid-template-columns: 22px 1fr !important;
  align-items: center !important;
  justify-content: start !important;
  column-gap: 12px !important;
  margin: 8px 0 !important;
}

/* Kill any theme floats/positioning on the label text */
.form-wrap .form-checkbox_container span{
  float: none !important;
  position: static !important;
  right: auto !important;
  left: auto !important;
  width: auto !important;
  text-align: left !important;
  margin: 0 !important;
  display: inline !important;
}

/* Keep checkbox itself sensible */
.form-wrap .form-checkbox_container input[type="checkbox"]{
  float: none !important;
  position: static !important;
  margin: 0 !important;
}

/* Make the "Other" text field normal (it’s currently collapsing) */
.form-wrap .form-checkbox_container .form-checkbox-other-input{
  display: inline-block !important;
  width: 260px !important;
  max-width: 100% !important;
  margin-left: 12px !important;
}
/* Center Contact page title */
.page-template-template-contact-us .page_title_wrapper,
.page-template-template-contact-us h1,
.page-template-template-contact-us .page_title_inner {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}
/* Hide auto-injected phone number under Contact title */
.page-template-template-contact-us .page_title_wrapper p,
.page-template-template-contact-us .page_title_wrapper .phone,
.page-template-template-contact-us .page_title_wrapper span {
  display: none;
}
/* Global readable spacing */
body {
  line-height: 1.9;
}

/* Force paragraph spacing inside page content (Ashe override) */
.page_content_wrapper p,
.page_content_wrapper p span {
  line-height: 1.9 !important;
}
