/*
Theme Name: DevStore
Theme URI: https://suhan.dev
Author: suhan.dev
Author URI: https://suhan.dev
Description: ডিজিটাল প্রোডাক্ট বিক্রির জন্য একটি আধুনিক, গ্লাসমর্ফিজম ডিজাইনের WordPress eCommerce থিম। WooCommerce সমর্থিত।
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: devstore
Tags: e-commerce, woocommerce, glass-morphism, responsive, digital-products, modern
WooCommerce tested up to: 9.0
*/

/* ============================================
   গ্লোবাল CSS ভ্যারিয়েবল
   ============================================ */
:root {
    /* প্রাইমারি কালার */
    --primary: #0066FF;
    --primary-light: rgba(0, 102, 255, 0.1);
    --primary-dark: #0052CC;

    /* টেক্সট কালার */
    --text-dark: #1F1F1F;
    --text-gray: #5A5A5A;
    --text-light: #8E8E93;

    /* বর্ডার ও ব্যাকগ্রাউন্ড */
    --border: rgba(0, 0, 0, 0.05);
    --bg-white: #FFFFFF;
    --bg-soft: #F8F9FA;

    /* অ্যাকসেন্ট কালার */
    --rating: #FFB800;
    --accent-red: #FF3B30;
    --accent-green: #34C759;

    /* ফন্ট */
    --font-primary: 'Inter', 'Noto Sans Bengali', sans-serif;
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 1.875rem;

    /* স্পেসিং */
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 32px;
    --space-2xl: 48px;

    /* বর্ডার রেডিয়াস */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --radius-full: 9999px;

    /* শ্যাডো */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.08);

    /* ট্রানজিশন */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 350ms ease;
    --transition-bounce: 300ms cubic-bezier(0.2, 0.9, 0.4, 1.1);
}

/* ============================================
   বেস রিসেট ও টাইপোগ্রাফি
   ============================================ */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    font-family: var(--font-primary);
    font-size: var(--font-size-base);
    line-height: 1.6;
    color: var(--text-dark);
    background: linear-gradient(135deg, #F8F9FA, #E8ECF1);
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    padding-bottom: 80px; /* বটম নেভের জন্য জায়গা */
    overflow-x: hidden;
}

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

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

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

ul, ol {
    list-style: none;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
    font-size: inherit;
}

input, textarea, select {
    font-family: inherit;
    font-size: inherit;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: var(--space-sm) var(--space-md);
    outline: none;
    transition: border-color var(--transition-fast);
    width: 100%;
}

input:focus, textarea:focus, select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-light);
}

/* ============================================
   ইউটিলিটি ক্লাস
   ============================================ */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

.flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.flex-between {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.text-center { text-align: center; }
.text-primary { color: var(--primary); }
.text-gray { color: var(--text-gray); }
.text-light { color: var(--text-light); }
.text-red { color: var(--accent-red); }
.text-green { color: var(--accent-green); }

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* ============================================
   বাটন স্টাইল
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-sm);
    font-weight: 500;
    font-size: var(--font-size-sm);
    transition: all var(--transition-fast);
    white-space: nowrap;
    will-change: transform;
}

.btn:hover {
    transform: scale(1.02);
}

.btn:active {
    transform: scale(0.97);
}

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

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

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 1.5px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary-light);
}

.btn-success {
    background: var(--accent-green);
    color: var(--bg-white);
}

.btn-danger {
    background: var(--accent-red);
    color: var(--bg-white);
}

.btn-sm {
    padding: var(--space-xs) var(--space-sm);
    font-size: var(--font-size-xs);
}

.btn-lg {
    padding: var(--space-md) var(--space-lg);
    font-size: var(--font-size-base);
}

.btn-full {
    width: 100%;
}

/* ============================================
   সেকশন স্টাইল
   ============================================ */
.section {
    padding: var(--space-lg) 0;
}

.section-title {
    font-size: var(--font-size-lg);
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: var(--space-md);
}

/* ============================================
   ব্যাজ স্টাইল
   ============================================ */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 2px 8px;
    border-radius: var(--radius-full);
    font-size: var(--font-size-xs);
    font-weight: 600;
}

.badge-sale {
    background: var(--accent-red);
    color: var(--bg-white);
}

.badge-new {
    background: var(--accent-green);
    color: var(--bg-white);
}

.badge-count {
    background: var(--accent-red);
    color: var(--bg-white);
    min-width: 18px;
    height: 18px;
    border-radius: 50%;
    font-size: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ============================================
   WordPress ডিফল্ট ক্লাস
   ============================================ */
.alignleft {
    float: left;
    margin-right: var(--space-md);
}

.alignright {
    float: right;
    margin-left: var(--space-md);
}

.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.wp-caption {
    max-width: 100%;
}

.wp-caption-text {
    font-size: var(--font-size-sm);
    color: var(--text-gray);
    text-align: center;
    padding: var(--space-xs) 0;
}

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

.sticky,
.gallery-caption,
.bypostauthor {}
