/* =========================================================
   BLUE CHIP — REGISTRATION PRODUCTS ONLY (LEAN)
   ========================================================= */

/* ===== Header/nav removed for registration products ===== */
/* =========================================================
   REG TOP BAR (Back to Registration Hub)
   ========================================================= */
body.bc-reg-product div.product.product_cat-registration-hub .bc-reg-topbar{
  width:100% !important;
  max-width:1200px !important;
  margin:0 auto 16px !important;
  padding:12px 14px !important;

  background:#0b3c5d !important;          /* bar color */
  border-radius:12px !important;
  box-shadow:0 2px 10px rgba(0,0,0,.08) !important;

  display:flex !important;
  align-items:center !important;
  justify-content:flex-start !important;
  box-sizing:border-box !important;
}

body.bc-reg-product div.product.product_cat-registration-hub .bc-reg-topbar .bc-reg-back{
  color:#fff !important;
  font-weight:900 !important;
  font-size:16px !important;
  text-decoration:none !important;
  letter-spacing:.2px !important;
  display:inline-flex !important;
  align-items:center !important;
  gap:10px !important;
  line-height:1.2 !important;
}

body.bc-reg-product div.product.product_cat-registration-hub .bc-reg-topbar .bc-reg-back:hover{
  opacity:.92 !important;
  text-decoration:underline !important;
}

@media (max-width:600px){
  body.bc-reg-product div.product.product_cat-registration-hub .bc-reg-topbar{
    padding:12px 12px !important;
    border-radius:10px !important;
  }
  body.bc-reg-product div.product.product_cat-registration-hub .bc-reg-topbar .bc-reg-back{
    font-size:15px !important;
  }
}
body.bc-reg-product #masthead,
body.bc-reg-product .site-header,
body.bc-reg-product #site-navigation,
body.bc-reg-product .main-navigation,
body.bc-reg-product .sp-header{
  display:none !important;
  height:0 !important;
  margin:0 !important;
  padding:0 !important;
}

body.bc-reg-product #content.site-content,
body.bc-reg-product #primary.content-area,
body.bc-reg-product main#main.site-main{
  margin-top:0 !important;
  padding-top:0 !important;
}
/* =========================================================
   Uniform Check title (callout header)
   ========================================================= */
body.bc-reg-product div.product.product_cat-registration-hub
.bc-reg-callout-title{
  font-size:20px !important;
  font-weight:900 !important;
  color:#b00020 !important;
  margin:0 0 10px 0 !important;
  letter-spacing:.2px !important;
  line-height:1.2 !important;
padding-bottom:8px !important;
  border-bottom:1px solid rgba(176,0,32,.25) !important;
}

/* ===== Centered desktop column ===== */
body.bc-reg-product #primary.content-area{
  width:100% !important;
  max-width:1400px !important;
  margin:0 auto !important;
  padding:0 16px !important;
  box-sizing:border-box !important;
}

body.bc-reg-product div.product.product_cat-registration-hub{
  float:none !important;
  clear:both !important;
  width:100% !important;
  max-width:1200px !important;
  margin:0 auto !important;
}

/* Keep everything in the same centered column */
body.bc-reg-product div.product.product_cat-registration-hub .summary.entry-summary,
body.bc-reg-product div.product.product_cat-registration-hub .composite_form,
body.bc-reg-product div.product.product_cat-registration-hub .gform_wrapper{
  width:100% !important;
  max-width:1200px !important;
  margin-left:auto !important;
  margin-right:auto !important;
  box-sizing:border-box !important;
}

/* ===== Remove breadcrumbs + product meta ===== */
body.bc-reg-product nav.woocommerce-breadcrumb{ display:none !important; }
body.bc-reg-product div.product.product_cat-registration-hub .product_meta{ display:none !important; }

/* ===== Hide gallery + placeholders ===== */
.woocommerce div.product.product_cat-registration-hub .woocommerce-product-gallery,
.woocommerce div.product.product_cat-registration-hub div.images,
.woocommerce div.product.product_cat-registration-hub .woocommerce-product-gallery__wrapper,
.woocommerce div.product.product_cat-registration-hub .woocommerce-product-gallery__image,
.woocommerce div.product.product_cat-registration-hub .woocommerce-product-gallery__image--placeholder,
.woocommerce div.product.product_cat-registration-hub .woocommerce-product-gallery__trigger,
.woocommerce div.product.product_cat-registration-hub .flex-control-nav,
.woocommerce div.product.product_cat-registration-hub .flex-control-thumbs,
.woocommerce div.product.product_cat-registration-hub img[src*=woocommerce_placeholder]{
  display:none !important;
}

/* ===== Title + base price ===== */
.woocommerce div.product.product_cat-registration-hub .product_title{
  font-size:44px !important;
  line-height:1.1 !important;
  margin:0 0 10px !important;
}
.woocommerce div.product.product_cat-registration-hub p.price,
.woocommerce div.product.product_cat-registration-hub span.price{
  color:#111 !important;
  font-size:22px !important;
  font-weight:800 !important;
  margin:6px 0 18px !important;
}

/* ===== Intro text wrapping ===== */
body.bc-reg-product div.product.product_cat-registration-hub .woocommerce-product-details__short-description,
body.bc-reg-product div.product.product_cat-registration-hub .woocommerce-product-details__short-description p{
  white-space:normal !important;
  width:100% !important;
  max-width:none !important;
}

/* ===== Callout ===== */
body.bc-reg-product div.product.product_cat-registration-hub .bc-reg-callout{
  margin:16px 0 22px !important;
  padding:14px 16px !important;
  background:#eef2f6 !important;
  border-left:6px solid #0b3c5d !important;
  border-radius:12px !important;
}
body.bc-reg-product div.product.product_cat-registration-hub .bc-reg-callout p{
  margin:0 !important;
  font-size:16px;
  line-height:1.55;
}

/* Uniform image sizing */
body.bc-reg-product div.product.product_cat-registration-hub .bc-reg-uniform-img-wrap img,
body.bc-reg-product div.product.product_cat-registration-hub .bc-reg-callout img{
  width:120px !important;
  max-width:120px !important;
  height:auto !important;
  display:inline-block !important;
  border-radius:10px !important;
  border:1px solid rgba(0,0,0,.12) !important;
  background:#fff !important;
  box-shadow:0 2px 6px rgba(0,0,0,.06) !important;
}

/* =========================================================
   COMPOSITE: clean + readable
   ========================================================= */

/* Component spacing */
body.bc-reg-product div.product.product_cat-registration-hub .composite_form .component{
  margin:12px 0 0 !important;
  padding:0 !important;
}

/* Composite alignment reset */
body.bc-reg-product div.product.product_cat-registration-hub .composite_form,
body.bc-reg-product div.product.product_cat-registration-hub .composite_form .component,
body.bc-reg-product div.product.product_cat-registration-hub .composite_form .component .component_content,
body.bc-reg-product div.product.product_cat-registration-hub .composite_form .component .component_wrap,
body.bc-reg-product div.product.product_cat-registration-hub .composite_form .component .component_options{
  text-align:left !important;
}

/* Hide extra composite labels/controls */
body.bc-reg-product div.product.product_cat-registration-hub .composite_form .component .component_title,
body.bc-reg-product div.product.product_cat-registration-hub .composite_form .component .clear_component_options,
body.bc-reg-product div.product.product_cat-registration-hub .composite_form .component .component_option_thumbnails_container{
  display:none !important;
}
body.bc-reg-product div.product.product_cat-registration-hub .composite_form .component select.component_options_select{
  display:none !important;
}

/* Section headers */
body.bc-reg-product div.product.product_cat-registration-hub .component_options_title,
body.bc-reg-product div.product.product_cat-registration-hub .gform_wrapper .gsection_title,
body.bc-reg-product div.product.product_cat-registration-hub details.bc-acc > summary{
  font-weight:800 !important;
}

/* Make “Available options” look like a real header */
body.bc-reg-product div.product.product_cat-registration-hub .component_options_title{
  font-size:18px !important;
  margin:14px 0 8px !important;
}

/* =========================================================
   Size selector styling (final)
   ========================================================= */

/* Kill dark wrapper backgrounds */
body.bc-reg-product div.product.product_cat-registration-hub
.component_content .variations,
body.bc-reg-product div.product.product_cat-registration-hub
.component_content .single_variation_wrap{
  background:transparent !important;
  box-shadow:none !important;
  padding:0 !important;
}

/* Normalize label */
body.bc-reg-product div.product.product_cat-registration-hub
.component_content .variations label{
  font-weight:700 !important;
  color:#111 !important;
  margin-bottom:6px !important;
  display:block !important;
}

/* Style the select itself (compact + clean) */
body.bc-reg-product div.product.product_cat-registration-hub
.component_content table.variations select{
  appearance:auto !important;
  background:#fff !important;
  color:#111 !important;
  border:1px solid #cfcfcf !important;
  border-radius:8px !important;
  height:44px !important;
  line-height:44px !important;
  padding:0 12px !important;
  font-size:16px !important;

  width:auto !important;
  min-width:220px !important;
  max-width:260px !important;
  display:inline-block !important;
  box-sizing:border-box !important;
}

/* Clear link under selector */
body.bc-reg-product div.product.product_cat-registration-hub
.component_content .reset_variations{
  display:inline-block !important;
  margin-top:6px !important;
  margin-left:0 !important;
  font-size:13px !important;
}

/* Ensure variation price shows */
body.bc-reg-product div.product.product_cat-registration-hub .woocommerce-variation-price,
body.bc-reg-product div.product.product_cat-registration-hub .woocommerce-variation-price .price,
body.bc-reg-product div.product.product_cat-registration-hub .woocommerce-variation-price .amount{
  display:block !important;
  visibility:visible !important;
  opacity:1 !important;
}

/* =========================================================
   Composite totals visibility (native Composite Products)
   ========================================================= */
body.bc-reg-product div.product.product_cat-registration-hub .composite_totals,
body.bc-reg-product div.product.product_cat-registration-hub .composite_totals *,
body.bc-reg-product div.product.product_cat-registration-hub .component_totals,
body.bc-reg-product div.product.product_cat-registration-hub .component_totals *{
  visibility:visible !important;
  opacity:1 !important;
}

/* =========================================================
   GRAVITY FORMS (registration only)
   ========================================================= */
body.bc-reg-product div.product.product_cat-registration-hub .gform_wrapper{
  background:#fff;
  border:1px solid rgba(0,0,0,.08);
  border-radius:12px;
  padding:18px;
  margin-top:24px;
}
body.bc-reg-product div.product.product_cat-registration-hub .gform_wrapper .gfield{
  margin-bottom:16px;
}

/* Ack checkbox — bold red */
body.bc-reg-product div.product.product_cat-registration-hub .gform_wrapper .gfield.ack-check .gfield_label,
body.bc-reg-product div.product.product_cat-registration-hub .gform_wrapper .gfield.ack-check label,
body.bc-reg-product div.product.product_cat-registration-hub .gform_wrapper .gfield.ack-check .gchoice label{
  color:#b00020 !important;
  font-weight:900 !important;
}
body.bc-reg-product div.product.product_cat-registration-hub .gform_wrapper .gfield.ack-check input[type="checkbox"]{
  transform:scale(1.15);
}

/* =========================================================
   ACCORDIONS (registration only)
   ========================================================= */
body.bc-reg-product div.product.product_cat-registration-hub details.bc-acc{
  background:#fff;
  border:1px solid rgba(0,0,0,.08);
  border-radius:12px;
  padding:12px 14px;
  margin:14px 0;
}
body.bc-reg-product div.product.product_cat-registration-hub details.bc-acc > summary{
  font-size:18px;
  cursor:pointer;
  list-style:none;
}
body.bc-reg-product div.product.product_cat-registration-hub details.bc-acc > summary::-webkit-details-marker{display:none}
body.bc-reg-product div.product.product_cat-registration-hub details.bc-acc > summary:after{
  content:"+";
  float:right;
  font-weight:800;
}
body.bc-reg-product div.product.product_cat-registration-hub details.bc-acc[open] > summary:after{content:"-"}
body.bc-reg-product div.product.product_cat-registration-hub details.bc-acc > *:not(summary){margin-top:10px}

/* =========================================================
   Remove GF Product Add-ons totals block ONLY on this product
   (This is the Subtotal/Options/Total list you saw)
   ========================================================= */
body.single-product.postid-52516 div.product.product_cat-registration-hub .product_totals{
  display:none !important;
}

/* =========================================================
   FINAL: Composite footer layout
   Total (left) | Price (center) | Add to cart (right)
   Product 52516 only
   ========================================================= */
body.single-product.postid-52516 div.product.product_cat-registration-hub .composite_wrap{
  margin-top:18px !important;
  padding:16px !important;
  border:1px solid rgba(0,0,0,.12) !important;
  border-radius:12px !important;
  background:#fff !important;

  display:grid !important;
  grid-template-columns: auto 1fr auto !important; /* left label | center price | right button */
  align-items:center !important;
  column-gap:18px !important;
}

/* Left: Total label */
body.single-product.postid-52516 div.product.product_cat-registration-hub .composite_wrap::before{
  content:"Total" !important;
  font-size:20px !important;
  font-weight:900 !important;
  color:#111 !important;
  grid-column:1 !important;
  justify-self:start !important;
}

/* Center: price only */
body.single-product.postid-52516 div.product.product_cat-registration-hub .composite_price{
  grid-column:2 !important;
  justify-self:center !important;
  margin:0 !important;
  text-align:center !important;
}

body.single-product.postid-52516 div.product.product_cat-registration-hub .composite_price p.price{
  margin:0 !important;
}

body.single-product.postid-52516 div.product.product_cat-registration-hub .composite_price p.price .woocommerce-Price-amount.amount{
  font-size:26px !important;
  font-weight:900 !important;
  color:#111 !important;
  white-space:nowrap !important;
  margin:0 !important;
}

/* Right: button */
body.single-product.postid-52516 div.product.product_cat-registration-hub .composite_button{
  grid-column:3 !important;
  justify-self:end !important;
  margin:0 !important;
}

body.single-product.postid-52516 div.product.product_cat-registration-hub .composite_button .single_add_to_cart_button{
  border-radius:10px !important;
  padding:12px 18px !important;
  font-weight:800 !important;
}

/* Mobile stack */
@media (max-width:600px){
  body.single-product.postid-52516 div.product.product_cat-registration-hub .composite_wrap{
    grid-template-columns: 1fr !important;
    row-gap:12px !important;
    justify-items:start !important;
  }

  body.single-product.postid-52516 div.product.product_cat-registration-hub .composite_wrap::before{
    grid-column:1 !important;
  }

  body.single-product.postid-52516 div.product.product_cat-registration-hub .composite_price{
    grid-column:1 !important;
    justify-self:start !important;
    text-align:left !important;
  }

  body.single-product.postid-52516 div.product.product_cat-registration-hub .composite_button{
    grid-column:1 !important;
    justify-self:start !important;
  }
}
