/* Fonts */
@font-face {
  font-family: "Lexend";
  src: url("/wp-content/themes/flatsome-child/assets/fonts/Lexend/Lexend-VariableFont_wght.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Material Symbols Outlined";
  font-style: normal;
  font-weight: 100 700;
  /* block: trong khi font icon chưa tải xong, KHÔNG hiện chữ ligature thô
     ("add_shopping_cart"...) bằng font fallback — tránh vỡ layout trên Android. */
  font-display: block;
  /* Bản SUBSET woff2 (~72KB) chỉ gồm các icon site dùng — vẫn là variable font
     giữ đủ trục wght/FILL/GRAD/opsz (icon "fill" ở header/footer/home vẫn chạy).
     Giảm 10.4MB → 72KB (~141 lần). TTF gốc giữ làm fallback cho trình duyệt
     quá cũ không hỗ trợ woff2. Tạo lại: Google Fonts css2 API + icon_names. */
  src: url("../fonts/Material_Symbols_Outlined/MaterialSymbolsOutlined-subset-v2.woff2") format("woff2"),
       url("../fonts/Material_Symbols_Outlined/MaterialSymbolsOutlined-VariableFont.ttf") format("truetype");
}

.material-symbols-outlined {
  font-family: "Material Symbols Outlined";
  font-weight: normal;
  font-style: normal;
  font-size: 24px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  direction: ltr;
  -webkit-font-smoothing: antialiased;

  font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;
}
