/* FRITTENEDGE v1.7.3 — requested footer and checkout refinements. */
/* Preserve uploaded header logo's transparency on the dark footer.
   Turn dark lettering white for contrast; no pale rectangular logo backing. */
.fe-footer .fe-footer-logo {
  display: inline-flex; align-items: center; max-width: 100%;
  background: transparent !important; border: 0 !important;
  padding: 0 !important; margin: 0 0 18px !important;
}
.fe-footer .fe-footer-logo .custom-logo-link { background: transparent !important; }
.fe-footer .fe-footer-logo .custom-logo {
  background: transparent !important;
  filter: brightness(0) invert(1);
  max-width: min(260px, 100%); max-height: 55px;
  object-fit: contain;
}
/* The footer's columns are now Brand, Quick Links, Legal, Customer Care. */
/* Keep the checkout's first shared hero title and 'Secure checkout' intro;
   page.php no longer adds the redundant second 'Checkout' heading. */
@media (min-width: 768px) {
 body.woocommerce-checkout form.checkout .woocommerce-billing-fields__field-wrapper {
   display: grid !important; grid-template-columns: repeat(2,minmax(0,1fr)) !important;
   column-gap: 20px !important; row-gap: 14px !important; align-items: start;
 }
 body.woocommerce-checkout form.checkout .woocommerce-billing-fields__field-wrapper > .form-row {
   min-width: 0; width: 100% !important; float: none !important;
 }
 body.woocommerce-checkout form.checkout .woocommerce-billing-fields__field-wrapper > #billing_country_field {grid-column:1 !important;}
 body.woocommerce-checkout form.checkout .woocommerce-billing-fields__field-wrapper > #billing_email_field {grid-column:2 !important;}
 body.woocommerce-checkout form.checkout .woocommerce-billing-fields__field-wrapper > #billing_address_1_field {
   grid-column:1/-1 !important; width:100% !important;
 }
}
/* Respect optional address field removal and maintain one full-width address row. */
body.woocommerce-checkout #billing_address_2_field { display:none !important; }
@media (max-width:767px) {
 body.woocommerce-checkout form.checkout .woocommerce-billing-fields__field-wrapper {
   grid-template-columns: minmax(0,1fr) !important;
 }
 body.woocommerce-checkout form.checkout .woocommerce-billing-fields__field-wrapper > .form-row {
   grid-column:1/-1 !important; width:100% !important;
 }
 .fe-footer .fe-footer-logo .custom-logo {max-height:47px; max-width:215px;}
}
