/*
Theme Name: VG Wear
Theme URI: https://vilagale.com/
Author: João Dias
Author URI: https://vilagale.com/
Description: Child theme for the Vila Galé Wear WooCommerce storefront. Inherits templates, template parts, and patterns from the parent theme unless overridden here.
Template: twentytwentyfive
Requires at least: 6.7
Requires PHP: 7.2
Version: 1.0.0
Text Domain: vilagalewear, vgwwear
*/

body {
  /* background-color: #333; */
}
/* Lets scrollIntoView()/anchor-jumps/keyboard nav account for the fixed
   header's real height — same technique WP core uses for the admin bar
   (see wp-includes/css/admin-bar.min.css's own scroll-padding-top).
   Always applied, every page: there's no "intentional overlap" design
   reason for the *footer* the way there is for the front page's hero. */
html {
  scroll-padding-top: var(--vg-header-height, 0px);
}

.wp-site-blocks {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  /* Real, reachable scroll room at the bottom of the page — without
     this, a normal scroll-to-the-end could still leave the footer's
     top edge tucked under the fixed header, since there'd be nowhere
     further to scroll to clear it. Always applied (see the comment on
     scroll-padding-top above for why the footer doesn't get the front
     page's top-of-page exception). */
  /* padding-bottom: var(--vg-header-height, 0px); */
}

main.wp-block-group {
  flex: 1 0 auto;
  /* Reserves space for the fixed header at the *top* of the page,
     which doesn't take up any room in normal flow on its own — always
     applied, every page including the front page, so ordinary content
     is never hidden under the header by default. A future hero
     section that wants the header to transparently float over it
     (front page only) should pull *itself* back up with
     margin-top: calc(-1 * var(--vg-header-height)), scoped to that one
     block — not a page-wide exception like this used to be. */
  padding-top: var(--vg-header-height, 0px);
}

.vg-footer {
  padding-block: var(--wp--preset--spacing--40);
}

.vg-footer__copyright {
  max-width: var(--wp--style--global--content-size);
  margin-inline: auto;
  padding-inline: var(--wp--preset--spacing--50);
  text-align: center;
}
