/* =========================================================================
   Smartsakhi Shop — Global CSS Foundations (Standalone)
   ========================================================================= */

/* 1. Global CSS Variables */
:root {
    /* 1. Brand Palette */

    /* Primary — deep teal (trustworthy, premium) */
    --primary: #18566c;
    --primary-20: #18566c20;
    --primary-40: #18566c40;

    /* Primary soft — warm cream tint for hover/bg states */
    --primary-soft: #eef4f6;

    /* Primary dark — darker teal for pressed/active states */
    --primary-dark: #0f3a4a;

    /* Secondary — warm near-black (readable, earthy) */
    --secondary: #303030;

    /* Accent — muted olive green (natural, organic) */
    --accent: #6a7d5e;

    /* Accent soft — pale green tint */
    --accent-soft: #f0f3ed;

    /* Warm brown — used for highlights, labels, prices */
    --warm: #745d4a;

    /* 2. Surface & Background */

    /* Page background — warm off-white */
    --surface: #faf4e8;
    --bg-light: #faf4e8;

    /* Card/panel background — slightly cooler warm white */
    --white: #ffffff;
    --card-bg: #ffffff;

    /* 3. Text */

    --text-dark: #303030;
    --text-muted: #745d4a;

    /* 4. Borders */

    --border-color: #ece2cc;

    /* 5. Typography */
    --font-heading: 'Manuale', serif;
    --font-body: 'Outfit', sans-serif;
    --font-ui: 'Varela Round', sans-serif;

    /* 6. UI Tokens */
    --radius-sm: 4px;
    --radius-md: 10px;
    --radius-lg: 14px;
    --radius-full: 9999px;
    --shadow-sm: 0 2px 8px rgba(24, 86, 108, 0.06);
    --shadow-md: 0 8px 28px rgba(24, 86, 108, 0.1);

    /* Transitions */
    --transition: 0.25s ease;
}

/* 2. Global CSS Reset */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

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

/* 3. Global Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text);
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.75rem;
}

p {
    margin-bottom: 1.25rem;
}

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

a:hover {
    color: var(--primary);
}

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

ul,
ol {
    list-style: none;
}

/* 4. Global Shell Components & Utilities */
.container {
    width: 100%;
    max-width: 1365px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section-padding {
    padding: 5rem 0;
}

.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
    padding: 0.75rem 2rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    display: inline-block;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    color: var(--white);
}

/* 5. Mobile Adjustments */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    h3 {
        font-size: 1.5rem;
    }

    .section-padding {
        padding: 3rem 0;
    }
}