/*!
 * Font Awesome Pro 6.0.0-beta3 CDN Configuration
 * Optimized for NearEra CDN fonts
 * License - Commercial (FontAwesome Pro)
 */

/* FontAwesome 6 Pro Core Styles */
.fa,
.fas,
.far,
.fal,
.fab {
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  display: var(--fa-display, inline-block);
  font-style: normal;
  font-variant: normal;
  line-height: 1;
  text-rendering: auto;
}

/* Font Face Declarations using CDN fonts */
@font-face {
  font-family: "Font Awesome 6 Pro";
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url("https://cdn.nearera.com/fonts/fontawesome/fa-solid-900.woff2") format("woff2");
}

@font-face {
  font-family: "Font Awesome 6 Pro";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("https://cdn.nearera.com/fonts/fontawesome/fa-regular-400.woff2") format("woff2");
}

@font-face {
  font-family: "Font Awesome 6 Pro";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("https://cdn.nearera.com/fonts/fontawesome/fa-light-300.woff2") format("woff2");
}

@font-face {
  font-family: "Font Awesome 6 Brands";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("https://cdn.nearera.com/fonts/fontawesome/fa-brands-400.woff2") format("woff2");
}

/* FontAwesome Classes */
.fa-solid,
.fas {
  font-family: "Font Awesome 6 Pro";
  font-weight: 900;
}

.fa-regular,
.far {
  font-family: "Font Awesome 6 Pro";
  font-weight: 400;
}

.fa-light,
.fal {
  font-family: "Font Awesome 6 Pro";
  font-weight: 300;
}

.fa-brands,
.fab {
  font-family: "Font Awesome 6 Brands";
  font-weight: 400;
}

/* Size Classes */
.fa-xs { font-size: 0.75em; }
.fa-sm { font-size: 0.875em; }
.fa-lg { font-size: 1.25em; }
.fa-xl { font-size: 1.5em; }
.fa-2xl { font-size: 2em; }
.fa-1x { font-size: 1em; }
.fa-2x { font-size: 2em; }
.fa-3x { font-size: 3em; }
.fa-4x { font-size: 4em; }
.fa-5x { font-size: 5em; }
.fa-6x { font-size: 6em; }
.fa-7x { font-size: 7em; }
.fa-8x { font-size: 8em; }
.fa-9x { font-size: 9em; }
.fa-10x { font-size: 10em; }

/* Icon Content - Only the icons actually used in your site */
.fa-map-location:before { content: "\f59f"; }
.fa-phone:before { content: "\f095"; }
.fa-envelope:before { content: "\f0e0"; }
.fa-times:before { content: "\f00d"; }
.fa-shopping-cart:before { content: "\f07a"; }
.fa-bars:before { content: "\f0c9"; }
.fa-search:before { content: "\f002"; }
.fa-facebook-f:before { content: "\f39e"; }
.fa-twitter:before { content: "\f099"; }
.fa-linkedin-in:before { content: "\f0e1"; }
.fa-instagram:before { content: "\f16d"; }
.fa-youtube:before { content: "\f167"; }
.fa-play:before { content: "\f04b"; }
.fa-arrow-right:before { content: "\f061"; }
.fa-check:before { content: "\f00c"; }

/* Additional utility classes */
.fa-fw { 
  text-align: center;
  width: 1.25em;
}

.fa-border {
  border: 0.08em solid #eee;
  border-radius: 0.1em;
  padding: 0.2em 0.25em 0.15em;
}

.fa-pull-left {
  float: left;
  margin-right: 0.3em;
}

.fa-pull-right {
  float: right;
  margin-left: 0.3em;
}

/* Animation classes */
.fa-spin {
  animation: fa-spin 2s infinite linear;
}

.fa-pulse {
  animation: fa-spin 1s infinite steps(8);
}

@keyframes fa-spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* CSS Variable Support - Must match existing theme variables */
:root {
  --fa-style-family: "Font Awesome 6 Pro";
  --fa-style: 900;
  --fa-display: inline-block;
  --icon-font: "Font Awesome 6 Pro"; /* Theme compatibility */
}

.fa {
  font-family: var(--fa-style-family, "Font Awesome 6 Pro");
  font-weight: var(--fa-style, 900);
}
