/*
Theme Name: Universal Commerce BD
Theme URI: https://github.com/elitecorp/universal-commerce-bd
Author: Universal Commerce BD Team
Author URI: https://github.com/elitecorp
Description: একটি আধুনিক, উচ্চ-পারফরম্যান্স ও কনভার্সন-কেন্দ্রিক ইউনিভার্সাল ওয়ার্ডপ্রেস ইকমার্স থিম। সরাসরি সিঙ্গেল প্রোডাক্ট ল্যান্ডিং পেজ, ওয়ান-ক্লিক ক্যাশ অন ডেলিভারি (COD) অর্ডার ফর্ম, সম্পূর্ণ এলিমেন্টর ও কার্টফ্লোস সামঞ্জস্যপূর্ণ, ডায়নামিক ক্যাটাগরি ও স্লাইডার, কাস্টমাইজযোগ্য কালার প্যালেট এবং সুপারফাস্ট স্পিড।
Version: 3.8.4
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: elitecorp
Tags: e-commerce, two-columns, custom-colors, custom-header, custom-menu, featured-images, full-width-template, theme-options, translation-ready
*/

:root {
    /* ========================================================
       Brand Color System: Universal Commerce BD
       ======================================================== */
    /* Primary Emerald Green */
    --elitecorp-primary: #0B7A3B;
    --elitecorp-primary-hover: #064E3B;
    --elitecorp-primary-light: #f0fdf4;
    --elitecorp-primary-border: #bbf7d0;

    /* Secondary Deep Forest */
    --elitecorp-secondary: #064E3B;
    --elitecorp-secondary-hover: #032b20;

    /* Royal Gold Accent */
    --elitecorp-accent: #D4A72C;
    --elitecorp-accent-hover: #A66A00;
    --elitecorp-accent-bright: #F4C95D;
    --elitecorp-accent-light: #fefce8;
    --elitecorp-gold-glow: 0 4px 18px rgba(212, 167, 44, 0.35);

    /* Gradients */
    --elitecorp-green-gradient: linear-gradient(135deg, #064E3B 0%, #0B7A3B 50%, #15803d 100%);
    --elitecorp-gold-gradient: linear-gradient(135deg, #A66A00 0%, #D4A72C 35%, #F4C95D 70%, #FFE7A0 100%);
    --elitecorp-gold-btn-gradient: linear-gradient(135deg, #B8860B 0%, #D4A72C 50%, #F4C95D 100%);

    /* Semantic Status */
    --elitecorp-success: #0B7A3B;
    --elitecorp-success-light: #f0fdf4;
    --elitecorp-danger: #ef4444;
    --elitecorp-danger-light: #fef2f2;
    --elitecorp-warning: #D4A72C;

    /* Neutral & Backgrounds */
    --elitecorp-dark: #0f172a;
    --elitecorp-text: #1e293b;
    --elitecorp-text-muted: #64748b;
    --elitecorp-text-light: #94a3b8;
    --elitecorp-border: #e2e8f0;
    --elitecorp-border-light: #f1f5f9;
    --elitecorp-bg: #ffffff;
    --elitecorp-bg-alt: #f8fafc;
    --elitecorp-surface: #ffffff;

    /* Typography */
    --elitecorp-font-heading: 'Plus Jakarta Sans', 'Inter', 'Noto Sans Bengali', system-ui, -apple-system, sans-serif;
    --elitecorp-font-body: 'Inter', 'Noto Sans Bengali', 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;

    /* Layout & Geometry */
    --elitecorp-container: 1240px;
    --elitecorp-header-height: 74px;
    --elitecorp-radius-sm: 6px;
    --elitecorp-radius-md: 10px;
    --elitecorp-radius-lg: 16px;
    --elitecorp-radius-xl: 22px;
    --elitecorp-radius-full: 9999px;

    /* Elevation Shadows */
    --elitecorp-shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
    --elitecorp-shadow-md: 0 4px 10px rgba(0, 0, 0, 0.06);
    --elitecorp-shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.08);
    --elitecorp-shadow-xl: 0 20px 35px rgba(0, 0, 0, 0.1);

    /* Micro Transitions */
    --elitecorp-transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
    --elitecorp-transition-slow: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Base Body Styles */
*, *::before, *::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--elitecorp-font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--elitecorp-text);
    background-color: var(--elitecorp-bg-alt);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ========================================================
   Accessibility Helpers (WCAG 2.1 AA / WordPress Standard)
   ======================================================== */
.screen-reader-text,
.sr-only,
.visually-hidden {
    border: 0 !important;
    clip: rect(1px, 1px, 1px, 1px) !important;
    -webkit-clip-path: inset(50%) !important;
    clip-path: inset(50%) !important;
    height: 1px !important;
    margin: -1px !important;
    overflow: hidden !important;
    padding: 0 !important;
    position: absolute !important;
    width: 1px !important;
    white-space: nowrap !important;
    word-wrap: normal !important;
}

.screen-reader-text:focus,
.sr-only:focus,
.visually-hidden:focus {
    background-color: var(--elitecorp-surface, #ffffff) !important;
    border-radius: var(--elitecorp-radius-sm, 6px) !important;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.25) !important;
    clip: auto !important;
    -webkit-clip-path: none !important;
    clip-path: none !important;
    color: var(--elitecorp-primary, #0f172a) !important;
    display: block !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    height: auto !important;
    left: 16px !important;
    line-height: normal !important;
    padding: 12px 20px !important;
    text-decoration: none !important;
    top: 16px !important;
    width: auto !important;
    z-index: 100000 !important;
}

/* ========================================================
   Accessibility & Keyboard Navigation Focus Rings (WCAG 2.1 AA)
   ======================================================== */
:focus-visible {
    outline: 2px solid var(--elitecorp-accent, #B45309) !important;
    outline-offset: 2px !important;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible,
.btn:focus-visible,
.product-card-image-link:focus-visible,
.card-order-btn:focus-visible,
.card-view-btn:focus-visible,
.category-card:focus-visible {
    outline: 2px solid var(--elitecorp-accent, #B45309) !important;
    outline-offset: 2px !important;
}

/* Container Utility */
.elitecorp-container {
    width: 100%;
    max-width: var(--elitecorp-container);
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
}

@media (max-width: 640px) {
    .elitecorp-container {
        padding-left: 14px;
        padding-right: 14px;
    }
}
