/* @font-face rules: resources/views/frontend/default/inc/font-faces.blade.php (absolute URLs for live) */

/* Global typography – Poppins (body/paragraphs), Bebas Neue (headings, header, buttons) */
:root {
    --ir-font-body: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --ir-font-display: "Bebas Neue", sans-serif;
    --ir-font-sans: var(--ir-font-body);
    --ir-font-weight-normal: 400;
    --ir-font-weight-medium: 500;
    --ir-font-weight-semibold: 600;
    --ir-font-weight-bold: 700;
}

html,
body {
    -webkit-font-smoothing: subpixel-antialiased;
    -moz-osx-font-smoothing: auto;
    text-rendering: auto;
}

body {
    font-family: var(--ir-font-body) !important;
    font-weight: var(--ir-font-weight-normal);
    letter-spacing: 0;
    line-height: 1.5;
}

/* Body copy – sharp Poppins, no faux-bold */
p,
.paragraph,
.text-body,
li,
td,
th,
blockquote,
small {
    font-family: var(--ir-font-body) !important;
    font-weight: var(--ir-font-weight-normal);
}

p {
    font-weight: var(--ir-font-weight-normal);
}

/* Forms & labels – always Poppins (Bebas on forms caused blurry faux-bold text) */
form,
textarea,
select,
input:not([type="submit"]):not([type="button"]),
.form-control,
.form-select,
.form-controll,
.form-group,
.form-group label,
.form-label,
label,
.registration,
.registration label,
.registration p,
.registration li,
.registration input,
.registration textarea,
.registration select,
.registration .form-controll,
.label-input-field,
.label-input-field label,
.label-input-field input,
.label-input-field textarea,
.label-input-field select,
.specification,
.focus-informations li,
.choose_title_box p,
.desctiption-contents .tab-pane,
.theme-select,
.select2-container,
.select2-results,
.update-profile .form-label,
.update-profile .theme-input,
.user-profile-form .label-input-field label {
    font-family: var(--ir-font-body) !important;
    font-synthesis: none;
}

form label.fw-bold,
.registration label.fw-bold,
.form-group label.fw-bold {
    font-weight: var(--ir-font-weight-semibold) !important;
}

input,
optgroup,
table,
.badge {
    font-family: inherit;
}

a {
    font-family: inherit;
}

/* Display / primary text – Bebas Neue at weight 400 only (single-weight font) */
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6,
.heading-title,
.heading-text,
.heading,
.fs-title,
.card-header,
button,
.btn,
button *,
.btn *,
input[type="submit"],
input[type="button"],
.ir-header,
.ir-header .nav-link,
.ir-header .navbar-nav a,
.ir-header__cta,
.navbar-menu .nav-link,
.navbar-menu .menu a,
.sidenav a,
.nav-background h2,
.about-background h2,
.overlay h2,
#rules .card-header,
.listing-top-right label,
.pt-info-tab-nav li a,
.tt-line-clamp a,
.ir-checkout__summary-title,
.ir-invoice__customer-name,
.address-book {
    font-family: var(--ir-font-display) !important;
    font-weight: 400 !important;
    font-synthesis: none;
    letter-spacing: 0.03em;
    line-height: 1.15 !important;
    -webkit-font-smoothing: subpixel-antialiased;
    -moz-osx-font-smoothing: auto;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6,
.heading-title,
.heading-text {
    text-transform: uppercase !important;
}

/* Override Bootstrap bold on display-font elements */
h1.fw-bold, h2.fw-bold, h3.fw-bold, h4.fw-bold, h5.fw-bold, h6.fw-bold,
.btn.fw-bold,
.fw-bold.heading-title,
.fw-bold.heading-text {
    font-weight: 400 !important;
}

/* Page hero titles (breadcrumb banners) */
.nav-background h2,
.about-background h2,
.overlay h2 {
    letter-spacing: 0.04em;
}

/* Home hero + primary headings */
.bg-image h5,
.bg-image .heading-title,
.bg-image .heading-text,
span.heading-text,
.sidenav a {
    font-family: var(--ir-font-display) !important;
    font-weight: 400 !important;
    font-synthesis: none;
}

/* Override legacy theme font declarations */
.my-account,
.my-account *,
.ir-checkout,
.ir-checkout *,
.ir-invoice,
.ir-invoice *,
.ir-cart,
.ir-cart *,
.ir-auth,
.ir-auth *,
.checkout-section,
.login-section,
.table-responsive,
.order-history-table {
    font-family: var(--ir-font-body) !important;
}

.my-account h1,
.my-account h2,
.my-account h3,
.my-account h4,
.my-account h5,
.my-account h6,
.my-account .btn,
.ir-checkout h1,
.ir-checkout h2,
.ir-checkout h3,
.ir-checkout h4,
.ir-checkout h5,
.ir-checkout h6,
.ir-checkout .btn,
.ir-checkout__summary-title,
.ir-invoice h1,
.ir-invoice h2,
.ir-invoice h3,
.ir-invoice h4,
.ir-invoice h5,
.ir-invoice h6,
.ir-invoice .btn,
.ir-invoice__customer-name,
.ir-cart h1,
.ir-cart h2,
.ir-cart h3,
.ir-cart h4,
.ir-cart h5,
.ir-cart h6,
.ir-cart .btn,
.ir-auth h1,
.ir-auth h2,
.ir-auth h3,
.ir-auth h4,
.ir-auth h5,
.ir-auth h6,
.ir-auth .btn,
.checkout-section h1,
.checkout-section h2,
.checkout-section h3,
.checkout-section .btn,
.login-section h1,
.login-section h2,
.login-section h3,
.login-section .btn {
    font-family: var(--ir-font-display) !important;
    font-weight: 400 !important;
    font-synthesis: none;
}

/* Preserve icon fonts (override display font on buttons, account area, etc.) */
.glyphicon {
    font-family: "Glyphicons Halflings" !important;
    font-style: normal !important;
    font-weight: 400 !important;
    font-variant: normal !important;
    text-transform: none !important;
    line-height: 1 !important;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.fa,
.fas,
.far,
.fab,
.fa-solid,
.fa-regular,
.fa-brands,
[class^="fa-"],
[class*=" fa-"] {
    font-family: "Font Awesome 6 Free" !important;
    font-style: normal !important;
    font-variant: normal !important;
    text-transform: none !important;
    line-height: 1 !important;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.fas,
.fa-solid,
.fa.fa-solid {
    font-weight: 900 !important;
}

.far,
.fa-regular {
    font-weight: 400 !important;
}

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

/* Legacy Font Awesome 4 class names (v4-shims) */
.fa:not(.fas):not(.far):not(.fab):not(.fa-solid):not(.fa-regular):not(.fa-brands) {
    font-weight: 400 !important;
}

.btn .glyphicon,
.btn * .glyphicon,
button .glyphicon,
.my-account .glyphicon,
.ir-header .glyphicon,
footer .glyphicon,
.gshop-header-user .glyphicon {
    font-family: "Glyphicons Halflings" !important;
    font-weight: 400 !important;
}

.btn .fa,
.btn .fas,
.btn .far,
.btn .fab,
.btn .fa-solid,
.btn .fa-regular,
.btn .fa-brands,
.btn i[class*="fa-"],
button .fa,
button .fas,
button .fa-solid,
.my-account .fa,
.my-account .fas,
.my-account .far,
.my-account .fab,
.my-account .fa-solid,
.my-account i[class*="fa-"],
.ir-checkout .fa,
.ir-checkout .fas,
.ir-checkout .fa-solid,
.ir-cart .fa,
.ir-cart .fas,
.ir-cart .fa-solid,
.ir-header .fa,
.ir-header .fas,
.ir-header .fa-solid,
footer .fa,
footer .fas,
footer .fa-solid {
    font-family: "Font Awesome 6 Free" !important;
}

.btn .fab,
.btn .fa-brands,
.my-account .fab,
.my-account .fa-brands,
footer .fab,
footer .fa-brands {
    font-family: "Font Awesome 6 Brands" !important;
}

.btn .fas,
.btn .fa-solid,
.btn i.fa-solid,
button .fas,
button .fa-solid,
.my-account .fas,
.my-account .fa-solid,
.ir-checkout .fas,
.ir-checkout .fa-solid,
.ir-cart .fas,
.ir-cart .fa-solid,
.ir-header .fas,
.ir-header .fa-solid,
footer .fas,
footer .fa-solid {
    font-weight: 900 !important;
}
