/*
Theme Name: BDShop
Theme URI: https://www.bdshop.com
Author: BDShop Team
Author URI: https://www.bdshop.com
Description: A fully functional e-commerce WordPress theme for BDShop - Electronics & Green Energy Store. Features include responsive design, WooCommerce integration, product catalog, shopping cart, and more.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: bdshop
Tags: e-commerce, custom-header, custom-menu, custom-logo, featured-images, footer-widgets, right-sidebar, translation-ready
Requires at least: 5.0
Tested up to: 6.4
Requires PHP: 7.4

BDShop WordPress Theme is based on Underscores https://underscores.me/, (C) 2012-2024 Automattic, Inc.
*/

:root {
    --bdshop-primary: #083862;
    --bdshop-primary-light: #1a7ee6;
    --bdshop-primary-dark: #0f5bb8;
    --bdshop-accent: #1a7ee6;
    --bdshop-accent-light: #a5d0ff;
    --bdshop-text: #333333;
    --bdshop-text-light: #666666;
    --bdshop-bg: #f9fafb;
    --bdshop-white: #ffffff;
    --bdshop-border: #e5e7eb;
    --bdshop-success: #10b981;
    --bdshop-warning: #f59e0b;
    --bdshop-error: #ef4444;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--bdshop-text);
    background-color: var(--bdshop-bg);
}

a {
    color: var(--bdshop-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

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

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 640px) {
    .container {
        max-width: 640px;
    }
}

@media (min-width: 768px) {
    .container {
        max-width: 768px;
    }
}

@media (min-width: 1024px) {
    .container {
        max-width: 1024px;
    }
}

@media (min-width: 1280px) {
    .container {
        max-width: 1280px;
    }
}

.grid {
    display: grid;
}

.flex {
    display: flex;
}

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

.justify-between {
    justify-content: space-between;
}

.gap-2 {
    gap: 0.5rem;
}

.gap-4 {
    gap: 1rem;
}

.gap-8 {
    gap: 2rem;
}

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

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 500;
    text-align: center;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

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

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

.btn-secondary {
    background-color: var(--bdshop-accent);
    color: var(--bdshop-white);
}

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

.text-white {
    color: var(--bdshop-white);
}

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

.bg-gray-100 {
    background-color: #f3f4f6;
}

.bg-gray-900 {
    background-color: #111827;
}

.py-4 {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.py-8 {
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.py-12 {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.px-4 {
    padding-left: 1rem;
    padding-right: 1rem;
}

.mt-4 {
    margin-top: 1rem;
}

.mb-4 {
    margin-bottom: 1rem;
}

.mb-8 {
    margin-bottom: 2rem;
}

.sticky {
    position: sticky;
}

.shadow-md {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.z-50 {
    z-index: 50;
}

.entry-content {
    padding: 2rem 0;
}

.entry-title {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.entry-meta {
    color: var(--bdshop-text-light);
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.post-thumbnail {
    margin-bottom: 1.5rem;
}

.post-thumbnail img {
    width: 100%;
    height: auto;
    border-radius: 0.5rem;
}

.comments-area {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--bdshop-border);
}

.comment-list {
    list-style: none;
    padding: 0;
}

.comment-list li {
    margin-bottom: 1.5rem;
}

.comment-body {
    padding: 1rem;
    background-color: var(--bdshop-bg);
    border-radius: 0.5rem;
}

.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: 0;
}

.clear::after {
    content: "";
    display: table;
    clear: both;
}

/* WooCommerce Fixes for Tailwind Grids */
.woocommerce ul.products::before,
.woocommerce ul.products::after {
    display: none !important;
}

.woocommerce ul.products li.product {
    width: 100% !important;
    margin: 0 !important;
    float: none !important;
}