/*
Theme Name: Storefront Child
Theme URI: https://woocommerce.com/storefront/
Description: A child theme of Storefront.
Author: Your Name
Author URI: https://yourwebsite.com
Template: storefront
Version: 1.0.0
*/

/* Import parent theme styles */
@import url("../storefront/style.css");

/* Your custom styles below */


/* === Abel Font (Local Self-Hosted) === */
@font-face {
  font-family: 'Abel';
  src: url('/wp-content/themes/storefront-child/fonts/Abel-Regular.woff2') format('woff2'),
       url('/wp-content/themes/storefront-child/fonts/Abel-Regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* === Base Typography === */
html {
  font-size: 16px;
}

body {
  font-family: 'Abel', Arial, sans-serif;
  font-weight: 400;
  line-height: 1.6;
  font-size: 1rem; /* = 16px */
  color: #222;
}

/* === Headings === */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Abel', Arial, sans-serif;
  font-weight: 400; /* Abel only has one weight */
  line-height: 1.2;
  margin-bottom:2vh;
}

/* === Paragraphs & Text === */
p {
  margin-bottom: 2vh;
}

/* === Links === */
a {
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* === Buttons (Storefront + WooCommerce) === */
button,
input[type="button"],
input[type="submit"],
.button,
.wp-block-button__link {
  font-family: 'Abel', Arial, sans-serif;
  font-weight: 400;
}

/* === Form Fields === */
input,
textarea,
select {
  font-family: 'Abel', Arial, sans-serif;
  font-size: 1rem;
}