/**
 * Font Family for ALL.ro
 * Using DaxCondensed (primary) with Ubuntu Condensed fallback
 */

/* DaxCondensed-RO - Local font files */
@font-face {
    font-family: 'DaxCondensed';
    src: url('../fonts/DaxCondensed-RO.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'DaxCondensed';
    src: url('../fonts/DaxCondensed-RO-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'DaxCondensed';
    src: url('../fonts/DaxCondensed-RO-Italic.ttf') format('truetype');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

/* ============================================
   GLOBAL FONT OVERRIDE
   ============================================ */

/* Universal override - Using DaxCondensed */
html,
body,
body * {
    font-family: 'DaxCondensed', 'Ubuntu Condensed', 'Helvetica Neue', Helvetica, Arial, sans-serif !important;
    font-weight: 400 !important;
}

/* Restore Font Awesome icons - must come after global override with higher specificity */
html body .fa,
html body .fas,
html body .far,
html body .fab,
html body .fal,
html body .fad,
html body [class^="fa-"],
html body [class*=" fa-"],
html body i.fa,
html body i.fas,
html body i.far,
html body i.fab,
html body i[class*="fa-"],
html body .fa.fa-facebook,
html body .fa.fa-instagram,
html body .fa.fa-youtube,
html body .fa.fa-twitter,
html body .fa.fa-pinterest,
html body .fa.fa-linkedin,
html body .fa.fa-home,
html body .menu-icon.fa,
html body i.menu-icon {
    font-family: FontAwesome !important;
    font-style: normal !important;
    font-weight: normal !important;
}

/* ============================================
   CODAZON MENU SPECIFIC
   ============================================ */

/* Main navigation */
.cdz-menu,
.cdz-menu *,
.navigation,
.navigation *,
.nav-sections,
.nav-sections *,
.nav-sections-items,
.nav-sections-items *,
.menu-items,
.menu-items *,
nav.navigation,
nav.navigation *,
.cdz-horizontal-menu,
.cdz-horizontal-menu *,
.cdz-vertical-menu,
.cdz-vertical-menu *,
.groupmenu,
.groupmenu *,
.groupmenu-drop,
.groupmenu-drop *,
.groupmenu-drop-content,
.groupmenu-drop-content *,
.menu-link,
.menu-link *,
.item.level0,
.item.level0 *,
.item.level-top,
.item.level-top * {
    font-family: 'DaxCondensed', 'Ubuntu Condensed', 'Helvetica Neue', Helvetica, Arial, sans-serif !important;
}

/* Dropdown menus */
.cdz-dropdown,
.cdz-dropdown *,
.submenu,
.submenu *,
.mega-menu,
.mega-menu *,
.level0,
.level0 *,
.level1,
.level1 *,
.cat-tree,
.cat-tree *,
.groupdrop-title,
.groupdrop-link,
.groupdrop-link * {
    font-family: 'DaxCondensed', 'Ubuntu Condensed', 'Helvetica Neue', Helvetica, Arial, sans-serif !important;
}

/* Menu links */
.cdz-menu a,
.navigation a,
.nav-sections a,
.menu-items a,
.level-top,
.level-top span,
.cdz-menu .groupmenu a,
.cdz-menu .groupmenu span,
.cdz-horizontal-menu .groupmenu li.level0 > a.menu-link,
.cdz-horizontal-menu .groupmenu .groupmenu-drop {
    font-family: 'DaxCondensed', 'Ubuntu Condensed', 'Helvetica Neue', Helvetica, Arial, sans-serif !important;
}

/* ============================================
   HEADER
   ============================================ */

.page-header,
.page-header *,
.header,
.header *,
.header-container,
.header-container *,
.header.content,
.header.content *,
.cdz-header,
.cdz-header * {
    font-family: 'DaxCondensed', 'Ubuntu Condensed', 'Helvetica Neue', Helvetica, Arial, sans-serif !important;
}

/* Top links */
.header.links,
.header.links *,
.top-links,
.top-links * {
    font-family: 'DaxCondensed', 'Ubuntu Condensed', 'Helvetica Neue', Helvetica, Arial, sans-serif !important;
}

/* ============================================
   HEADINGS
   ============================================ */

h1, h2, h3, h4, h5, h6,
.page-title,
.page-title *,
.product-name,
.product-item-name,
.product-item-name *,
.block-title,
.block-title *,
.section-title,
.section-title *,
.title,
.title * {
    font-family: 'DaxCondensed', 'Ubuntu Condensed', 'Helvetica Neue', Helvetica, Arial, sans-serif !important;
}

/* ============================================
   BUTTONS
   ============================================ */

button,
.action,
.action *,
.btn,
.btn *,
.button,
.button *,
a.action,
a.action *,
.actions-toolbar,
.actions-toolbar * {
    font-family: 'DaxCondensed', 'Ubuntu Condensed', 'Helvetica Neue', Helvetica, Arial, sans-serif !important;
}

/* ============================================
   FORMS
   ============================================ */

input,
select,
textarea,
.input-text,
label,
.label,
.field,
.field *,
.fieldset,
.fieldset * {
    font-family: 'DaxCondensed', 'Ubuntu Condensed', 'Helvetica Neue', Helvetica, Arial, sans-serif !important;
}

/* ============================================
   PRODUCTS
   ============================================ */

.product-info-main,
.product-info-main *,
.product.info.detailed,
.product.info.detailed *,
.product-item-info,
.product-item-info *,
.product-item,
.product-item *,
.products-grid,
.products-grid *,
.products-list,
.products-list * {
    font-family: 'DaxCondensed', 'Ubuntu Condensed', 'Helvetica Neue', Helvetica, Arial, sans-serif !important;
}

/* Price */
.price-box,
.price-box *,
.price,
.price * {
    font-family: 'DaxCondensed', 'Ubuntu Condensed', 'Helvetica Neue', Helvetica, Arial, sans-serif !important;
}

/* ============================================
   SIDEBAR
   ============================================ */

.sidebar,
.sidebar *,
.block-content,
.block-content *,
.filter-options,
.filter-options * {
    font-family: 'DaxCondensed', 'Ubuntu Condensed', 'Helvetica Neue', Helvetica, Arial, sans-serif !important;
}

/* ============================================
   CART & CHECKOUT
   ============================================ */

.cart-container,
.cart-container *,
.checkout-container,
.checkout-container *,
.opc-wrapper,
.opc-wrapper *,
.checkout-payment-method,
.checkout-payment-method *,
.checkout-shipping-method,
.checkout-shipping-method *,
.cdz-opc-wrapper,
.cdz-opc-wrapper *,
.opc-sidebar,
.opc-sidebar *,
.opc-block-summary,
.opc-block-summary *,
.opc-block-shipping-information,
.opc-block-shipping-information *,
#checkoutSteps,
#checkoutSteps *,
.checkout-index-index .page-wrapper,
.checkout-index-index .page-wrapper *,
.checkout-shipping-address,
.checkout-shipping-address *,
.shipping-address-items,
.shipping-address-items *,
.payment-method,
.payment-method *,
.payment-methods,
.payment-methods *,
.step-title,
.step-content,
.step-content * {
    font-family: 'DaxCondensed', 'Ubuntu Condensed', 'Helvetica Neue', Helvetica, Arial, sans-serif !important;
}

/* Minicart */
.minicart-wrapper,
.minicart-wrapper *,
.block-minicart,
.block-minicart * {
    font-family: 'DaxCondensed', 'Ubuntu Condensed', 'Helvetica Neue', Helvetica, Arial, sans-serif !important;
}

/* ============================================
   FOOTER
   ============================================ */

.page-footer,
.page-footer *,
.footer,
.footer *,
.footer-container,
.footer-container *,
.cdz-footer,
.cdz-footer * {
    font-family: 'DaxCondensed', 'Ubuntu Condensed', 'Helvetica Neue', Helvetica, Arial, sans-serif !important;
}

/* ============================================
   CODAZON SPECIFIC WIDGETS
   ============================================ */

.cdz-block,
.cdz-block *,
.cdz-slider,
.cdz-slider *,
.cdz-tabs,
.cdz-tabs *,
.cdz-banner,
.cdz-banner *,
[class*="cdz-"],
[class*="cdz-"] * {
    font-family: 'DaxCondensed', 'Ubuntu Condensed', 'Helvetica Neue', Helvetica, Arial, sans-serif !important;
}

/* ============================================
   BREADCRUMBS & MISC
   ============================================ */

.breadcrumbs,
.breadcrumbs *,
.messages,
.messages *,
.message,
.message * {
    font-family: 'DaxCondensed', 'Ubuntu Condensed', 'Helvetica Neue', Helvetica, Arial, sans-serif !important;
}

/* ============================================
   MODALS & POPUPS
   ============================================ */

.modal-popup,
.modal-popup *,
.modal-slide,
.modal-slide *,
.modals-wrapper,
.modals-wrapper * {
    font-family: 'DaxCondensed', 'Ubuntu Condensed', 'Helvetica Neue', Helvetica, Arial, sans-serif !important;
}

/* ============================================
   MENU TEXT CASE - First letter uppercase, rest lowercase
   ============================================ */

.cdz-menu a.menu-link,
.cdz-menu .menu-link,
.cdz-horizontal-menu .groupmenu li.level0 > a.menu-link,
.cdz-horizontal-menu .groupmenu a.menu-link,
.cdz-vertical-menu .groupmenu a.menu-link,
.navigation a,
.nav-sections a,
.groupmenu a,
.groupmenu-drop a,
.item.level0 > a,
.item.level-top > a,
.level-top,
.level-top span,
.text-uppercase {
    text-transform: lowercase !important;
}

/* First letter uppercase for menu items */
.cdz-menu a.menu-link::first-letter,
.cdz-menu .menu-link::first-letter,
.cdz-horizontal-menu .groupmenu li.level0 > a.menu-link::first-letter,
.cdz-horizontal-menu .groupmenu a.menu-link::first-letter,
.cdz-vertical-menu .groupmenu a.menu-link::first-letter,
.navigation a::first-letter,
.nav-sections a::first-letter,
.groupmenu a::first-letter,
.groupmenu-drop a::first-letter,
.item.level0 > a::first-letter,
.item.level-top > a::first-letter,
.level-top::first-letter,
.level-top span::first-letter {
    text-transform: uppercase !important;
}
