/*
Theme Name: Biz Buzz Child Theme
Theme URI: https://financialwellnessacademy.com
Description: Custom child theme for Financial Wellness Academy
Author: Biz Buzz LLC
Author URI: https://bizbuzz.biz
Template: Divi
Version: 1.0
*/

/* =Theme customization starts here
------------------------------------------------------- */
.product-template-default #main-content .container {padding-top:0!important; width:100%; max-width:100%;}

.woocommerce .woocommerce-info {background:#c18b27; border-radius:5px;}
span.woocommerce-terms-and-conditions-checkbox-text {color:#040b2a;}
span.woocommerce-terms-and-conditions-checkbox-text a {text-decoration:underline; font-weight:600;}
#left-area {padding-bottom:0!important;}
/* Images w/ Caption Customization */
.wp-caption {padding:0px; border:5px #c18b27 ridge; background:#f8f2e5;}
.wp-caption img {width:100%;}
.wp-caption p.wp-caption-text {color:#040b2a; line-height: 1.6em; font-size:14px;}
/* Success Message Customization */
.form-dark-background .et-pb-contact-message p {color:#f8f2e5;}
.form-light-background .et-pb-contact-message p {color:#040b2a;}
/* Success Message link styling */
.form-dark-background .et-pb-contact-message a {text-decoration: underline; font-weight: 600; color:#f8f2e5;}
.form-light-background .et-pb-contact-message a {text-decoration: underline; font-weight: 600; color:#c18b27;}
/* Responsive Design Customization */
@media only screen and (max-width:1320px) {
    .patty-caption {width:100%!important;}
}
@media only screen and (max-width:980px) {
	#hero .two-col-hero {display:flex;}
	.three-col-books {display:flex;}
	.two-col {display:flex;}
}
@media only screen and (max-width:767px) {
	.three-col-books {display:inherit;}
	.two-col {display:inherit;}
}

.fwa-sh {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-style: normal;
  text-transform:uppercase;
  font-size:.5em;
}
.fwa-academy {
  display: inline-block;
  font-family: "brush-script-std", "Brush Script MT", cursive;
  font-weight: 400;
  font-style: normal;
  color: #cb1212;
  font-size: 1.1em;
  transform: rotate(-10deg);
  transform-origin: left bottom;
  position: relative;
  left: 1.1em;
  top: 0.1em;
  -webkit-font-smoothing: antialiased;
  font-synthesis: none; /* prevents Safari from faking bold/italic */
}

/* FWA Menu (tablet & mobile) */
	.mobile_menu_bar:before {color:#c18b27;}
	.et_mobile_menu {border-top:3px ridge #c18b27;}
/* FWA Footer */
#block-13.et_pb_widget {width:100%;}
#footer-widgets {padding:2% 0 0;}
.et_pb_gutters3 .footer-widget {margin-bottom:2%;}
/* Footer row: logo/badges | policies */
.fwa-footer{
  display:flex;
  justify-content:space-between;
  align-items:center;
  flex-wrap:wrap;
  gap:24px;
  padding:12px 0;
}

/* Policy links (Terms & Privacy) */
.fwa-policies{
  display:flex;
  gap:24px;
  font-size:.95rem;
  justify-content:flex-end;
}
.fwa-policies a{
  color:inherit;
  text-decoration:underline;
  transition:color .2s ease;
}
.fwa-policies a:hover{
  color:var(--accent-color, #c18b27);
  text-decoration:none;
}

/* Each badge link: force flex + no stretching (iOS-safe) */
.fwa-badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:auto !important;          /* defeat themes that set links to 100% */
  margin:0;
  padding:0;
  text-decoration:none;
  color:#b18c27;
  flex:0 0 auto;
}

/* Images: block to kill baseline gaps on iOS */
.fwa-badges img{
  display:block;
  height:100px;
  width:auto;
  border-radius:5px;
  vertical-align:middle;
}

/* Fallback for older iOS that ignores flex gap */
@supports not (gap: 1rem){
  .fwa-badges{ margin:-24px 0; }
  .fwa-badge{ margin:24px 12px; }
}

/* ─────────────────────────────
   Tablet
───────────────────────────── */
@media (max-width: 980px){
  .fwa-footer{
    justify-content:center;
    text-align:center;
  }
  .fwa-policies{
    justify-content:center;
  }
  .fwa-badges{ gap:36px; }
  .fwa-badges img{ height:64px; }
}

/* ─────────────────────────────
   Mobile (iPhone target)
───────────────────────────── */
@media (max-width: 767px){
  .fwa-footer{
    flex-direction:column;
    gap:20px;
  }
  .fwa-policies{
    flex-direction:column;
    align-items:center;
    gap:0 !important;
  }

  /* hard-center badges on real devices */
  .fwa-badges{
    flex-direction:column;
    justify-content:center !important;
    align-items:center !important;
    gap:16px;
    text-align:center !important;
  }
  .fwa-badge{
    display:inline-flex;          /* ensure link sizes to image */
    width:auto !important;
    flex:0 0 auto;
  }
  .fwa-badges img{
    width:78%;
    max-width:360px;
    height:auto;
  }

  /* gap fallback on mobile */
  @supports not (gap: 1rem){
    .fwa-badges{ margin:-8px 0; }
    .fwa-badge{ margin:8px 0; }
  }
}

/* WooCommerce Customization */
.single-product p.stock.in-stock { color:#cb1212; font-weight:600;}