/* =========================================================
   BLUE CHIP — REGISTRATION FUNNEL STYLES (authoritative)
   Scope:
   - Registration product pages (product_cat-registration-hub)
   - Registration funnel pages (body.bc-registration-checkout)
   - Registration complete page (body.bc-registration-complete)
   ========================================================= */


/* =========================================================
   REGISTRATION PRODUCT PAGES
   Hide footer/sponsors/site-info + centered “card”
   ========================================================= */

div.product.product_cat-registration-hub ~ footer,
div.product.product_cat-registration-hub ~ #colophon,
div.product.product_cat-registration-hub ~ .site-footer,
div.product.product_cat-registration-hub ~ .footer,
div.product.product_cat-registration-hub ~ .footer-widgets {
  display: none !important;
}

/* Modern browser fallback */
body:has(div.product.product_cat-registration-hub) footer,
body:has(div.product.product_cat-registration-hub) #colophon,
body:has(div.product.product_cat-registration-hub) .site-footer,
body:has(div.product.product_cat-registration-hub) .footer,
body:has(div.product.product_cat-registration-hub) .footer-widgets,
body:has(div.product.product_cat-registration-hub) .sp-footer-sponsors,
body:has(div.product.product_cat-registration-hub) .site-info {
  display: none !important;
}

/* Centered rail */
body.single-product .product.product_cat-registration-hub {
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 16px;
  padding-right: 16px;
}

/* Card feel */
body.single-product .product.product_cat-registration-hub .summary,
body.single-product .product.product_cat-registration-hub .woocommerce-product-gallery {
  background: #fff;
  border: 1px solid rgba(0,0,0,.10);
  border-radius: 12px;
  padding: 16px;
}


/* =========================================================
   REGISTRATION FUNNEL (bc_reg flow)
   Hide header/nav/footer/sponsors/social
   ========================================================= */

body.bc-registration-checkout header,
body.bc-registration-checkout .site-header,
body.bc-registration-checkout #masthead,
body.bc-registration-checkout nav,
body.bc-registration-checkout .main-navigation {
  display: none !important;
}

body.bc-registration-checkout footer,
body.bc-registration-checkout #colophon,
body.bc-registration-checkout .site-footer,
body.bc-registration-checkout .footer,
body.bc-registration-checkout .footer-widgets,
body.bc-registration-checkout .site-info,
body.bc-registration-checkout .sp-footer-sponsors {
  display: none !important;
}

body.bc-registration-checkout .social-sidebar,
body.bc-registration-checkout .social-sidebar-icon,
body.bc-registration-checkout .social-sidebar a,
body.bc-registration-checkout .social-sidebar i {
  display: none !important;
}


/* =========================================================
   FUNNEL LAYOUT: centered rail + cards
   ========================================================= */

body.bc-registration-checkout #content,
body.bc-registration-checkout .site-content,
body.bc-registration-checkout .woocommerce {
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
}

body.bc-registration-checkout #content,
body.bc-registration-checkout .site-content {
  padding-top: 18px !important;
}

/* Card both sections: billing container + order review */
body.bc-registration-checkout .woocommerce-checkout .col2-set,
body.bc-registration-checkout .woocommerce-checkout #order_review {
  background: #fff;
  border: 1px solid rgba(0,0,0,.10);
  border-radius: 12px;
  padding: 14px;
}

@media (min-width: 992px) {
  body.bc-registration-checkout .woocommerce-checkout .col2-set,
  body.bc-registration-checkout .woocommerce-checkout #order_review {
    padding: 16px;
  }
}

/* Space between sections */
body.bc-registration-checkout .woocommerce-checkout .col2-set,
body.bc-registration-checkout .woocommerce-checkout #order_review_heading,
body.bc-registration-checkout .woocommerce-checkout #order_review {
  margin-top: 14px !important;
}


/* =========================================================
   REMOVE LINKS (CHECKOUT) — RED
   ========================================================= */

body.bc-registration-checkout a.bc-remove-checkout-item,
body.bc-registration-checkout a.bc-remove-checkout-item:link,
body.bc-registration-checkout a.bc-remove-checkout-item:visited {
  margin-left: 8px;
  font-weight: 700;
  color: #c62828 !important;
  text-decoration: underline;
  cursor: pointer;
  white-space: nowrap;
}

body.bc-registration-checkout a.bc-remove-checkout-item:hover,
body.bc-registration-checkout a.bc-remove-checkout-item:focus {
  color: #8e0000 !important;
}


/* =========================================================
   GIFT CARD / CREDIT (CLICK TO EXPAND ONLY)
   ========================================================= */

body.bc-registration-checkout .add_gift_card_form #wc_gc_cart_redeem_form {
  display: none;
}

body.bc-registration-checkout .add_gift_card_form.bc-gc-open #wc_gc_cart_redeem_form {
  display: block;
}

body.bc-registration-checkout .add_gift_card_form h4 {
  margin: 0;
  cursor: pointer;
  font-size: 0.85em;
  font-weight: 600;
  text-decoration: underline;
  display: inline-block;
}

/* Hide default Woo coupon prompt (registration only) */
body.bc-registration-checkout .woocommerce-form-coupon-toggle {
  display: none !important;
}


/* =========================================================
   KILL ORDER NOTES / “ADDITIONAL INFORMATION” (all breakpoints)
   You chose to remove notes entirely.
   ========================================================= */

body.bc-registration-checkout .woocommerce-additional-fields,
body.bc-registration-checkout .woocommerce-additional-fields__field-wrapper,
body.bc-registration-checkout #order_comments_field,
body.bc-registration-checkout textarea#order_comments {
  display: none !important;
}


/* =========================================================
   CUSTOMER DETAILS: remove empty col-2 (Additional info column)
   ========================================================= */

@media (min-width: 768px) {
  body.bc-registration-checkout .woocommerce-checkout .col2-set,
  body.bc-registration-checkout .woocommerce-checkout #customer_details {
    display: block !important;
  }

  body.bc-registration-checkout .woocommerce-checkout .col2-set .col-1,
  body.bc-registration-checkout .woocommerce-checkout #customer_details .col-1 {
    float: none !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  body.bc-registration-checkout .woocommerce-checkout .col2-set .col-2,
  body.bc-registration-checkout .woocommerce-checkout #customer_details .col-2 {
    display: none !important;
  }
}


/* =========================================================
   BILLING FIELDS GRID
   Tablet: 2 columns
   Desktop: 3 columns + compact rows
   ========================================================= */

/* Base grid (tablet+) */
@media (min-width: 768px) {
  body.bc-registration-checkout .woocommerce-billing-fields__field-wrapper {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 12px 14px !important;
  }

  body.bc-registration-checkout .woocommerce-billing-fields__field-wrapper .form-row {
    float: none !important;
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  body.bc-registration-checkout .woocommerce-billing-fields__field-wrapper .form-row-wide {
    grid-column: 1 / -1 !important;
  }

  /* Defaults on tablet: keep address + city full width */
  body.bc-registration-checkout #billing_address_1_field,
  body.bc-registration-checkout #billing_city_field {
    grid-column: 1 / -1 !important;
  }
}

/* Desktop tuning (3 cols) */
@media (min-width: 992px) {

  body.bc-registration-checkout .woocommerce-billing-fields__field-wrapper {
    grid-template-columns: 1fr 1fr 1fr !important;
    align-items: start !important;
  }

  /* First/Last */
  body.bc-registration-checkout #billing_first_name_field,
  body.bc-registration-checkout #billing_last_name_field {
    grid-column: span 1 !important;
  }

  /* Street + Apt same row */
  body.bc-registration-checkout #billing_address_1_field {
    grid-column: 1 / span 2 !important; /* cols 1-2 */
  }
  body.bc-registration-checkout #billing_address_2_field {
    grid-column: 3 / span 1 !important; /* col 3 */
  }

  /* City/State/ZIP same row */
  body.bc-registration-checkout #billing_city_field,
  body.bc-registration-checkout #billing_state_field,
  body.bc-registration-checkout #billing_postcode_field {
    grid-column: span 1 !important;
  }

  /* Phone + Email share a row; email “medium” */
  body.bc-registration-checkout #billing_phone_field {
    grid-column: 1 / span 1 !important; /* col 1 */
  }
  body.bc-registration-checkout #billing_email_field {
    grid-column: 2 / span 2 !important; /* cols 2-3 */
  }

  /* Align Apt/Suite input with Street input */
  body.bc-registration-checkout .woocommerce-billing-fields__field-wrapper label {
    display: block !important;
    margin: 0 0 6px 0 !important;
    line-height: 1.1 !important;
  }
  body.bc-registration-checkout #billing_address_2_field {
    align-self: end !important;
  }

  /* Optional: hide Apt/Suite label and pad so inputs align nicely */
  body.bc-registration-checkout #billing_address_2_field label {
    display: none !important;
  }
  body.bc-registration-checkout #billing_address_2_field {
    padding-top: 22px !important;
  }
}


/* Tighten label/field spacing */
body.bc-registration-checkout .woocommerce-billing-fields label {
  margin-bottom: 4px !important;
}
body.bc-registration-checkout .woocommerce-billing-fields .input-text,
body.bc-registration-checkout .woocommerce-billing-fields select,
body.bc-registration-checkout .woocommerce-billing-fields textarea {
  padding: 10px 12px !important;
}


/* =========================================================
   FORCE ACCOUNT CREATION UI HIDDEN (checkbox area)
   PHP forces account creation; we hide the checkbox UI.
   ========================================================= */

body.bc-registration-checkout #createaccount,
body.bc-registration-checkout label[for="createaccount"],
body.bc-registration-checkout .woocommerce-account-fields {
  display: none !important;
}


/* =========================================================
   REGISTRATION COMPLETE PAGE (decision page)
   - no sidebar
   - centered rail
   - card + stable buttons
   ========================================================= */

body.bc-registration-complete #secondary,
body.bc-registration-complete .widget-area,
body.bc-registration-complete .sidebar,
body.bc-registration-complete aside {
  display: none !important;
}

body.bc-registration-complete #primary,
body.bc-registration-complete .content-area,
body.bc-registration-complete #main,
body.bc-registration-complete .site-content {
  width: 100% !important;
  max-width: 980px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  float: none !important;
}

body.bc-registration-complete #content,
body.bc-registration-complete .site-content {
  padding-top: 18px !important;
}

body.bc-registration-complete .bc-next-steps {
  background: #fff !important;
  border: 1px solid rgba(0,0,0,.10) !important;
  border-radius: 12px !important;
  padding: 18px 16px !important;
}

body.bc-registration-complete .bc-next-steps h2 {
  margin: 0 0 10px 0 !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
}

body.bc-registration-complete .bc-next-steps p {
  margin: 0 0 12px 0 !important;
}

body.bc-registration-complete .bc-next-steps-actions {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
  margin-top: 8px !important;
  font-size: 16px !important;
  line-height: 1.2 !important;
}

body.bc-registration-complete .bc-next-steps-actions a.bc-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 12px 14px !important;
  border-radius: 10px !important;
  text-decoration: none !important;
  font-weight: 700 !important;
  border: 1px solid rgba(0,0,0,.12) !important;
  background: #fff !important;
  color: #0b57d0 !important;
  text-indent: 0 !important;
  white-space: nowrap !important;
  overflow: visible !important;
}

body.bc-registration-complete .bc-next-steps-actions a.bc-btn:hover,
body.bc-registration-complete .bc-next-steps-actions a.bc-btn:focus {
  color: #0846a8 !important;
}

/* Keep SportsPress junk from bleeding into this page */
body.bc-registration-complete .sp-template,
body.bc-registration-complete .sp-section,
body.bc-registration-complete .sp-event-blocks,
body.bc-registration-complete .sp-footer-sponsors {
  display: none !important;
}
/* ============================================================
   Composite Products – Uniform Option Price Suppression
   Keep labels visible, hide per-option price text
============================================================ */

.woocommerce .component_option_radio_button_container
.radio_button_description .price,
.woocommerce .component_option_radio_button_container
.radio_button_description .woocommerce-Price-amount,
.woocommerce .component_option_radio_button_container
.radio_button_description .amount,
.woocommerce .component_option_radio_button_container
.radio_button_description .woocommerce-Price-currencySymbol {
	display: none !important;
}
