﻿/*
 * PTT eptticon / evoicon → Font Awesome 6 override
 * eptticon font CDN 403 döndürdüğü için FA6 kullanılıyor.
 */

@font-face {
  font-family: eptticon;
  src: local("Font Awesome 6 Free");
  font-display: swap;
}

/* Tüm FA, eptticon ve evoicon ikonlarını koruma altına al. FA5 fallback ekli. */
body i[class*="fa-"],
body span[class*="fa-"],
body [class^="eptticon-"],
body [class*=" eptticon-"],
body [class^="evoicon-"],
body [class*=" evoicon-"] {
  font-family: "Font Awesome 6 Free", "Font Awesome 5 Free", "FontAwesome", sans-serif !important;
  font-style: normal !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  display: inline-block;
  text-rendering: auto;
  line-height: 1;
}

/* Solid İkonlar (Kalın) */
body [class*="fa-solid"],
body [class*="fas"],
body [class^="eptticon-"]::before,
body [class*=" eptticon-"]::before,
body [class^="evoicon-"]::before,
body [class*=" evoicon-"]::before {
  font-family: "Font Awesome 6 Free", "Font Awesome 5 Free" !important;
  font-weight: 900 !important;
}

/* Regular İkonlar (İnce) */
body [class*="fa-regular"],
body [class*="far"] {
  font-family: "Font Awesome 6 Free", "Font Awesome 5 Free" !important;
  font-weight: 400 !important;
}

/* Marka İkonları */
body [class*="fa-brands"],
body [class*="fab"] {
  font-family: "Font Awesome 6 Brands", "Font Awesome 5 Brands", "FontAwesome" !important;
  font-weight: 400 !important;
}

/* Unicode Eşleştirmeleri */
body .eptticon-menu::before         { content: "\f0c9" !important; font-weight: 900 !important; }
body .eptticon-search::before       { content: "\f002" !important; font-weight: 900 !important; }
body .eptticon-hover::before        { content: "\f07a" !important; font-weight: 900 !important; }
body .eptticon-right::before        { content: "\f054" !important; font-weight: 900 !important; }
body .eptticon-left::before         { content: "\f053" !important; font-weight: 900 !important; }
body .eptticon-up::before           { content: "\f077" !important; font-weight: 900 !important; }
body .eptticon-down::before         { content: "\f078" !important; font-weight: 900 !important; }
body .eptticon-minus::before        { content: "\f068" !important; font-weight: 900 !important; }
body .eptticon-plus::before         { content: "\f067" !important; font-weight: 900 !important; }
body .eptticon-star::before         { content: "\f005" !important; font-weight: 900 !important; }
body .eptticon-close::before        { content: "\f00d" !important; font-weight: 900 !important; }
body .eptticon-truck::before,
body .eptticon-kargo-bedava::before { content: "\f0d1" !important; font-weight: 900 !important; } /* standard truck fallback */
body .eptticon-kargomat::before     { content: "\f466" !important; font-weight: 900 !important; } /* standard box fallback */
body .eptticon-helper-info::before  { content: "\f05a" !important; font-weight: 900 !important; }

body .evoicon-cart-address::before  { content: "\f3c5" !important; font-weight: 900 !important; }
body .evoicon-fav-empty::before     { content: "\f004" !important; font-weight: 400 !important; font-family: "Font Awesome 6 Free", "Font Awesome 5 Free" !important; } /* regular heart */
body .evoicon-list-empty::before    { content: "\f022" !important; font-weight: 400 !important; font-family: "Font Awesome 6 Free", "Font Awesome 5 Free" !important; } /* list-alt */

body .eptticon-facebook::before     { content: "\f39e" !important; font-family: "Font Awesome 6 Brands", "Font Awesome 5 Brands" !important; font-weight: 400 !important; }
body .eptticon-twitter::before      { content: "\e61b" !important; font-family: "Font Awesome 6 Brands", "Font Awesome 5 Brands" !important; font-weight: 400 !important; }
body .eptticon-instagram::before    { content: "\f16d" !important; font-family: "Font Awesome 6 Brands", "Font Awesome 5 Brands" !important; font-weight: 400 !important; }
body .eptticon-youtube::before      { content: "\f167" !important; font-family: "Font Awesome 6 Brands", "Font Awesome 5 Brands" !important; font-weight: 400 !important; }
body .eptticon-linkedin::before     { content: "\f0e1" !important; font-family: "Font Awesome 6 Brands", "Font Awesome 5 Brands" !important; font-weight: 400 !important; }
body .eptticon-vimeo::before        { content: "\f27d" !important; font-family: "Font Awesome 6 Brands", "Font Awesome 5 Brands" !important; font-weight: 400 !important; }
