/*
Theme Name: Eshopping Theme
Theme URI: https://github.com/eshopping/eshopping-theme
Author: Senior Full-Stack Developer
Author URI: https://eshopping.dz
Description: High-performance, zero-framework, mobile-first bilingual theme optimized for WooCommerce and Cash on Delivery (COD) in Algeria.
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: eshopping
Domain Path: /languages
Tags: e-commerce, custom-colors, translation-ready, rtl-language-support, right-to-left
*/

/**
 * Design Tokens & CSS Custom Properties
 * --------------------------------------------------
 */
:root {
  /* Color Palette */
  --eshopping-primary: #1a2e4a;
  --eshopping-accent: #f97316;
  --eshopping-accent-hover: #ea6c0a;
  --eshopping-bg: #ffffff;
  --eshopping-bg-alt: #f8fafc;
  --eshopping-text-primary: #1e293b;
  --eshopping-text-muted: #64748b;
  --eshopping-border: #e2e8f0;
  --eshopping-success: #22c55e;
  --eshopping-error: #ef4444;

  /* Fonts Matrix */
  --eshopping-font-ar: 'Cairo', 'Tajawal', system-ui, -apple-system, sans-serif;
  --eshopping-font-en: 'Inter', 'Roboto', system-ui, -apple-system, sans-serif;

  /* Layout Transitions & Shadows */
  --eshopping-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --eshopping-shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --eshopping-shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --eshopping-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --eshopping-radius: 8px;
}

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

body {
  font-family: var(--eshopping-font-en);
  color: var(--eshopping-text-primary);
  background-color: var(--eshopping-bg);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.rtl {
  font-family: var(--eshopping-font-ar);
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--eshopping-transition);
}

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

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

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