/*
Theme Name: Keshri Scientific
Theme URI: https://keshriscientific.com/
Author: Keshri Scientific Team
Author URI: https://keshriscientific.com/
Description: Complete, professional, responsive WordPress theme for Keshri Scientific — medical, laboratory, and scientific equipment supplier & wholesaler. Built for seamless WooCommerce and Elementor integration with wholesale enquiry mode, dynamic product showcases, and modular customization.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: keshri-scientific
Tags: e-commerce, grid-layout, two-columns, custom-header, custom-menu, custom-logo, featured-images, full-width-template, theme-options, translation-ready

================================================================================
KESHRI SCIENTIFIC - CORE VARIABLES & RESET
================================================================================
*/

:root {
    --ks-primary: #0875C9;
    --ks-primary-dark: #065e9f;
    --ks-primary-light: #e6f3fa;
    --ks-navy: #102B46;
    --ks-navy-dark: #0a1b2d;
    --ks-secondary: #0A8FE8;
    --ks-accent: #00BFA5;
    --ks-accent-hover: #009688;
    --ks-warning: #f59e0b;
    --ks-danger: #ef4444;
    --ks-success: #10b981;
    --ks-bg-light: #EAF5FC;
    --ks-bg-card: #FFFFFF;
    --ks-text-main: #1e293b;
    --ks-text-muted: #64748b;
    --ks-text-light: #94a3b8;
    --ks-border: #e2e8f0;
    --ks-border-light: #f1f5f9;
    --ks-shadow-sm: 0 1px 3px rgba(8, 45, 85, 0.06), 0 1px 2px rgba(8, 45, 85, 0.04);
    --ks-shadow-md: 0 4px 12px rgba(8, 45, 85, 0.08), 0 2px 4px rgba(8, 45, 85, 0.04);
    --ks-shadow-lg: 0 10px 25px rgba(8, 45, 85, 0.1), 0 5px 10px rgba(8, 45, 85, 0.04);
    --ks-shadow-xl: 0 20px 35px rgba(8, 45, 85, 0.12);
    --ks-radius-sm: 6px;
    --ks-radius-md: 10px;
    --ks-radius-lg: 16px;
    --ks-radius-full: 9999px;
    --ks-container-max: 1280px;
    --ks-font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    --ks-font-heading: 'Poppins', var(--ks-font-sans);
    --ks-transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Modern Base & CSS Reset */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--ks-font-sans);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--ks-text-main);
    background-color: var(--ks-bg-light);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: clip;
}

img, svg, video {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--ks-primary);
    text-decoration: none;
    transition: var(--ks-transition);
}

a:hover {
    color: var(--ks-navy);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--ks-font-heading);
    color: var(--ks-navy);
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 0.75rem;
}

h1 { font-size: 2.35rem; }
h2 { font-size: 1.95rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 0.95rem; }

p {
    margin-bottom: 1rem;
}

p:last-child {
    margin-bottom: 0;
}

ul, ol {
    list-style-position: inside;
}

button, input, select, textarea {
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
}

/* Container */
.ks-container {
    width: 100%;
    max-width: var(--ks-container-max);
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
    box-sizing: border-box;
}

@media (max-width: 480px) {
    .ks-container {
        padding-left: 14px;
        padding-right: 14px;
    }
}

.ks-container-fluid {
    width: 100%;
    padding-left: 24px;
    padding-right: 24px;
}

/* Accessibility */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute !important;
    width: 1px;
    word-wrap: normal !important;
}

.screen-reader-text:focus {
    background-color: #f1f1f1;
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    clip-path: none;
    color: #21759b;
    display: block;
    font-size: 14px;
    font-size: 0.875rem;
    font-weight: bold;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}

/* Global utility classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.d-flex { display: flex; }
.align-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }
.gap-4 { gap: 2rem; }
