/* FRITTENEDGE v1.7.2: checkout column alignment and footer brand image. */
/* Classic WooCommerce checkout only: country left and street address right.
   All existing input IDs, validation, OTP and payment controls are preserved. */
@media (min-width: 768px) {
  body.woocommerce-checkout form.checkout .woocommerce-billing-fields__field-wrapper {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    column-gap: 20px;
    row-gap: 14px;
    align-items: start;
  }
  body.woocommerce-checkout form.checkout .woocommerce-billing-fields__field-wrapper > #billing_country_field {
    grid-column: 1 !important;
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
  }
  body.woocommerce-checkout form.checkout .woocommerce-billing-fields__field-wrapper > #billing_address_1_field {
    grid-column: 2 !important;
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
  }
  body.woocommerce-checkout form.checkout .woocommerce-billing-fields__field-wrapper > #billing_address_2_field {
    grid-column: 1 / -1 !important;
  }
}
@media (max-width: 767px) {
  body.woocommerce-checkout form.checkout .woocommerce-billing-fields__field-wrapper > #billing_country_field,
  body.woocommerce-checkout form.checkout .woocommerce-billing-fields__field-wrapper > #billing_address_1_field,
  body.woocommerce-checkout form.checkout .woocommerce-billing-fields__field-wrapper > #billing_address_2_field {
    grid-column: 1 / -1 !important;
    width: 100% !important;
  }
}
/* Footer shares the same uploaded WordPress Custom Logo as the header. */
.fe-footer .fe-footer-logo {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  max-width: 100%;
  margin: 0 0 16px;
  padding: 7px 12px;
  background: #f8f5ee;
  border: 1px solid rgba(200,169,112,.28);
}
.fe-footer .fe-footer-logo .custom-logo-link {
  display: inline-block;
  margin: 0;
  line-height: 0;
}
.fe-footer .fe-footer-logo .custom-logo {
  display: block;
  width: auto;
  height: auto;
  max-height: 55px;
  max-width: min(260px, 100%);
  object-fit: contain;
}
@media (max-width: 767px) {
  .fe-footer .fe-footer-logo .custom-logo { max-height: 47px; max-width: 215px; }
}
