/* ==========================================================================
   Corporate typography (self-hosted, no Google Fonts requests)
   - Inter           : body text, menus, buttons, forms, prices
   - Source Serif 4  : main headings (page titles, section titles)
   Variable fonts, WOFF2, latin + latin-ext (latin-ext covers the rupee sign).
   Licences: SIL Open Font License 1.1 (see ../fonts/LICENSE-*.txt)
   ========================================================================== */

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url('../fonts/inter-latin-ext-wght-normal.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url('../fonts/inter-latin-wght-normal.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Source Serif 4';
    font-style: normal;
    font-weight: 200 900;
    font-display: swap;
    src: url('../fonts/source-serif-4-latin-ext-wght-normal.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'Source Serif 4';
    font-style: normal;
    font-weight: 200 900;
    font-display: swap;
    src: url('../fonts/source-serif-4-latin-wght-normal.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
    --font-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', 'Noto Sans Tamil', 'Noto Sans', Roboto, Arial, sans-serif;
    --font-serif: 'Source Serif 4', Georgia, 'Times New Roman', 'Noto Serif Tamil', serif;
    /* The theme refers to these two names everywhere; point both at Inter */
    --font-lexend: var(--font-sans);
    --font-open-sans: var(--font-sans);
    --bs-body-font-family: var(--font-sans);
}

html, body {
    font-family: var(--font-sans);
    font-optical-sizing: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}
body { font-size: 15px; line-height: 1.6; color: #1b1f23; }

button, input, select, textarea, .btn, .form-control, .form-select,
.select2-container, .select2-results, .swal2-popup, .dropdown-menu,
.offcanvas, .modal, .nav-link, .navbar { font-family: var(--font-sans); }

/* Headings: serif for the big titles, Inter for small card/UI headings */
h1, h2, .section-title, .page-title, .title,
.Product-Detail-card h1, .Product-Detail-card h2 {
    font-family: var(--font-serif);
    font-weight: 700;
    letter-spacing: -0.01em;
    line-height: 1.25;
}
h3, h4, h5, h6, .card-title, .categories-card-text h4 {
    font-family: var(--font-sans);
    font-weight: 600;
    letter-spacing: 0;
}

/* Navigation and buttons: clean, slightly tracked */
.nav-category a, .navbar a, .btn, .viewmorebtn { font-weight: 600; letter-spacing: .01em; }
.card-title { letter-spacing: .02em; }

/* Prices: tabular numbers so columns line up */
.card-price, .price, .offer_price, #price, .cart-price, .subtotal {
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

@media (min-width: 768px) {
    main h1.section-title, main .section-title { font-size: 26px; }
}
