/*
Theme Name: TheBookNova
Theme URI: https://thebooknova.com
Author: Senior WordPress & WooCommerce Specialist
Author URI: https://thebooknova.com
Description: A modern, ultra-premium, and high-converting WordPress & WooCommerce theme built for bookstores, academic publishers, manga shops, and stationery retailers. Inspired by yourbookstop.com with an elevated luxury UI, multi-currency switcher (USD, INR, EUR, GBP, CAD, AUD), dynamic variable shipping speeds, 3-product Frequently Bought Together upsell bundles, interactive Swiper.js hero slider, and 1-Click Demo Importer.
Version: 1.0.5
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: thebooknova
Tags: e-commerce, custom-colors, custom-header, custom-menu, featured-images, flexible-header, footer-widgets, full-width-template, theme-options, translation-ready, block-styles
*/

:root {
    /* Exact Extracted Palette from Logo */
    --tbn-primary: #004733;
    --tbn-primary-dark: #003324;
    --tbn-primary-light: #E6F4F0;
    --tbn-secondary: #FF5B14;
    --tbn-secondary-dark: #E04800;
    --tbn-secondary-light: #FFF3EB;
    --tbn-gold: #FFB800;
    --tbn-gold-light: #FEF3C7;
    --tbn-dark: #0F172A;
    --tbn-text: #334155;
    --tbn-text-muted: #64748B;
    --tbn-light-bg: #F8FAFC;
    --tbn-border: #E2E8F0;
    --tbn-white: #FFFFFF;

    /* Shadows & Radii */
    --tbn-shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
    --tbn-shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
    --tbn-shadow-lg: 0 12px 30px rgba(0, 0, 0, 0.12);
    --tbn-shadow-book: 5px 8px 20px rgba(0, 71, 51, 0.18);
    --tbn-radius-sm: 6px;
    --tbn-radius-md: 10px;
    --tbn-radius-lg: 16px;
    --tbn-radius-full: 9999px;

    /* Typography */
    --tbn-font-heading: 'Playfair Display', Georgia, serif;
    --tbn-font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --tbn-container-max: 1280px;
}

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

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

body {
    font-family: var(--tbn-font-body);
    color: var(--tbn-text);
    background-color: var(--tbn-light-bg);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: var(--tbn-primary);
    text-decoration: none;
    transition: color 0.2s ease, transform 0.2s ease;
}

a:hover {
    color: var(--tbn-secondary);
}

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

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--tbn-font-heading);
    color: var(--tbn-dark);
    line-height: 1.25;
    font-weight: 700;
}

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

/* Badges */
.tbn-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 4px 9px;
    border-radius: var(--tbn-radius-full);
    z-index: 5;
}

.tbn-badge-sale {
    background-color: var(--tbn-secondary);
    color: #fff;
}

.tbn-badge-bestseller {
    background-color: var(--tbn-primary);
    color: #fff;
}

.tbn-badge-gold {
    background-color: var(--tbn-gold);
    color: #000;
}
