/* =========================================================
   SG Curtain Poles — General Sans Global Typography
   Upload this file to:
   catalog/view/theme/themeglobal/stylesheet/general-sans.css

   Font files should be uploaded to:
   catalog/view/theme/themeglobal/stylesheet/fonts/general-sans/
   ========================================================= */

/* Regular */
@font-face {
  font-family: 'General Sans';
  src: url('fonts/general-sans/GeneralSans-Regular.otf') format('opentype');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

/* Italic */
@font-face {
  font-family: 'General Sans';
  src: url('fonts/general-sans/GeneralSans-Italic.otf') format('opentype');
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}

/* Light */
@font-face {
  font-family: 'General Sans';
  src: url('fonts/general-sans/GeneralSans-Light.otf') format('opentype');
  font-style: normal;
  font-weight: 300;
  font-display: swap;
}

/* Light Italic */
@font-face {
  font-family: 'General Sans';
  src: url('fonts/general-sans/GeneralSans-LightItalic.otf') format('opentype');
  font-style: italic;
  font-weight: 300;
  font-display: swap;
}

/* Medium */
@font-face {
  font-family: 'General Sans';
  src: url('fonts/general-sans/GeneralSans-Medium.otf') format('opentype');
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

/* Medium Italic */
@font-face {
  font-family: 'General Sans';
  src: url('fonts/general-sans/GeneralSans-MediumItalic.otf') format('opentype');
  font-style: italic;
  font-weight: 500;
  font-display: swap;
}

/* Semibold */
@font-face {
  font-family: 'General Sans';
  src: url('fonts/general-sans/GeneralSans-Semibold.otf') format('opentype');
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

/* Semibold Italic */
@font-face {
  font-family: 'General Sans';
  src: url('fonts/general-sans/GeneralSans-SemiboldItalic.otf') format('opentype');
  font-style: italic;
  font-weight: 600;
  font-display: swap;
}

/* Bold */
@font-face {
  font-family: 'General Sans';
  src: url('fonts/general-sans/GeneralSans-Bold.otf') format('opentype');
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

/* Bold Italic */
@font-face {
  font-family: 'General Sans';
  src: url('fonts/general-sans/GeneralSans-BoldItalic.otf') format('opentype');
  font-style: italic;
  font-weight: 700;
  font-display: swap;
}

/* =========================================================
   Global font override
   Avoid generic * selector because it can break icon fonts.
   ========================================================= */

html,
body,
button,
input,
select,
textarea,
option,
label,
table,
th,
td,
p,
a,
span,
div,
nav,
header,
footer,
section,
article,
aside,
strong,
b,
em,
small,
blockquote,
ul,
ol,
li,
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'General Sans', Arial, Helvetica, sans-serif;
}

/* Form controls / CTAs */
button,
input,
select,
textarea,
.btn,
.button,
.button-search,
input[type="button"],
input[type="submit"],
input[type="reset"] {
  font-family: 'General Sans', Arial, Helvetica, sans-serif !important;
}

/* Headings */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'General Sans', Arial, Helvetica, sans-serif !important;
}

/* Navigation and menus */
#menu,
#menu a,
.nav,
.nav a,
.navbar,
.navbar a,
.menu,
.menu a,
header a,
footer a {
  font-family: 'General Sans', Arial, Helvetica, sans-serif;
}

/* Blog typography — replaces previous Georgia-style heading rules */
.sg-blog-hero h1,
.sg-blog-centered-title,
.sg-blog-article h1,
.sg-blog-article h2,
.sg-blog-article h3,
.sg-author-card-main h2,
.sg-author-card-main h3,
.sg-related-section h2,
.sg-related-section h3,
.sg-reading-help h3 {
  font-family: 'General Sans', Arial, Helvetica, sans-serif !important;
}

/* Keep icon fonts untouched */
.fa,
.fas,
.far,
.fal,
.fab,
[class^="fa-"],
[class*=" fa-"],
.icon,
[class^="icon-"],
[class*=" icon-"],
[class*="glyph"],
[class^="glyph"] {
  /* intentionally no General Sans override */
}
