/*
Theme Name: eBook Sell Theme
Theme URI: https://example.com/ebook-sell-theme
Author: Custom Development
Author URI: https://example.com
Description: A standalone, lightweight custom WordPress theme built specifically for selling a single or multiple digital eBooks with a premium, high-converting landing page and a custom Razorpay-powered checkout. No Elementor, no WooCommerce, no page builder dependency.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: ebook-sell-theme
Tags: e-commerce, one-column, custom-menu, featured-images, translation-ready
*/

/* ==========================================================================
   This file intentionally holds only the required WordPress theme header
   and base CSS reset. All design system rules live in assets/css/main.css,
   assets/css/responsive.css and assets/css/checkout.css so that the theme
   stays modular and easy to maintain.
   ========================================================================== */

:root {
    --color-primary: #111827;
    --color-secondary: #4b5563;
    --color-cta: #16a34a;
    --color-cta-hover: #15803d;
    --color-text: #1f2937;
    --color-text-muted: #6b7280;
    --color-bg: #ffffff;
    --color-bg-soft: #f9fafb;
    --color-border: #e5e7eb;
    --color-accent: #f59e0b;
    --color-danger: #dc2626;
    --color-success: #16a34a;

    --font-heading: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;

    --shadow-sm: 0 1px 3px rgba(17, 24, 39, 0.08);
    --shadow-md: 0 8px 24px rgba(17, 24, 39, 0.08);
    --shadow-lg: 0 20px 48px rgba(17, 24, 39, 0.12);

    --container-width: 1140px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

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

body {
    margin: 0;
    font-family: var(--font-body);
    color: var(--color-text);
    background: var(--color-bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

a {
    color: inherit;
    text-decoration: none;
}

button {
    font-family: inherit;
    cursor: pointer;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--color-primary);
    margin: 0 0 0.5em;
    line-height: 1.25;
}

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(1px, 1px, 1px, 1px);
    white-space: nowrap;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    background: var(--color-primary);
    color: #fff;
    padding: 10px 16px;
    z-index: 10000;
}

.skip-link:focus {
    left: 10px;
    top: 10px;
}
