/*
Theme Name: Theme7011
Theme URI: https://example.com/theme7011
Author: Elite WP Developer Team & Elementor Specialist
Author URI: https://example.com/elite-wp-team
Description: پوسته فوق‌پیشرفته، هوشمند و بهینه‌شده منطبق بر ۲۰ ترند طراحی سال ۲۰۲۶ با پشتیبانی کامل از گوتنبرگ، المنتور و ووکامرس.
Version: 3.0.0
Requires at least: 6.0
Tested up to: 7.1
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: theme7011
Domain Path: /languages
Tags: block-styles, full-site-editing, rtl-language-support, translation-ready, accessibility-ready, ecommerce, woocommerce
*/

:root {
  --theme-primary: #3b82f6;
  --theme-accent: #ec4899;
  --theme-bg-solid: #f8fafc;
  --theme-card-bg: rgba(255, 255, 255, 0.75);
  --theme-text-primary: #0f172a;
  --theme-text-muted: #64748b;
  --theme-h1-color: #0f172a;
  --theme-h2-color: #1e293b;
  --theme-h3-color: #334155;
  --bento-radius: 24px;
  --inner-padding: 24px;
  --font-family-persian: 'Vazirmatn', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-family-google: 'Plus Jakarta Sans', sans-serif;
}

[data-theme="dark"] {
  --theme-bg-solid: #0f172a;
  --theme-card-bg: rgba(30, 41, 59, 0.75);
  --theme-text-primary: #f8fafc;
  --theme-text-muted: #94a3b8;
  --theme-h1-color: #ffffff;
  --theme-h2-color: #f1f5f9;
  --theme-h3-color: #e2e8f0;
}

body {
  font-family: var(--font-family-persian);
  background-color: var(--theme-bg-solid);
  color: var(--theme-text-primary);
  margin: 0;
  padding: 0;
  direction: rtl;
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* Alignments & Gutenberg Core Standards */
.aligncenter { display: block; margin-left: auto; margin-right: auto; text-align: center; }
.alignwide { max-width: 1200px; margin-left: auto; margin-right: auto; }
.alignfull { max-width: 100%; margin-left: auto; margin-right: auto; }
.wp-block-image img { max-width: 100%; height: auto; border-radius: calc(var(--bento-radius) - 8px); }

.site-main-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: var(--inner-padding);
}

.bento-grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  margin-top: 30px;
}

.bento-card {
  background: var(--theme-card-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: var(--bento-radius);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 28px;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.bento-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.kinetic-hero-title {
  font-family: var(--font-family-google), var(--font-family-persian);
  font-size: 3.2rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--theme-primary), var(--theme-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 0;
}

.liquid-glass {
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

[data-theme="dark"] .liquid-glass {
  background: rgba(15, 23, 42, 0.65);
  border-color: rgba(255, 255, 255, 0.08);
}

.site-header {
  position: relative;
  z-index: 100;
  transition: all 0.3s ease;
}

.site-header.is-sticky {
  position: sticky;
  top: 0;
}

.header-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 16px var(--inner-padding);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--theme-text-primary);
  font-weight: 800;
  font-size: 1.3rem;
}

.main-navigation ul {
  display: flex;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-navigation a {
  text-decoration: none;
  color: var(--theme-text-primary);
  font-weight: 600;
  transition: color 0.2s ease;
}

.main-navigation a:hover {
  color: var(--theme-primary);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-icon-btn {
  background: var(--theme-card-bg);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--theme-text-primary);
  position: relative;
  transition: all 0.2s ease;
}

.header-icon-btn:hover {
  background: var(--theme-primary);
  color: #ffffff;
}

.cart-badge-count {
  position: absolute;
  top: -6px;
  right: -6px;
  background: var(--theme-accent);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  border-radius: 10px;
  padding: 2px 6px;
}

.site-footer {
  background: var(--theme-card-bg);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 60px;
  padding: 40px var(--inner-padding) 20px;
}

.footer-columns-grid {
  display: grid;
  gap: 30px;
  max-width: 1280px;
  margin: 0 auto;
}

.footer-bottom-bar {
  max-width: 1280px;
  margin: 30px auto 0;
  padding-top: 20px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  color: var(--theme-text-muted);
}

/* Custom Mouse Cursor */
.theme-custom-cursor {
  position: fixed;
  width: 20px;
  height: 20px;
  border: 2px solid var(--theme-primary);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.2s, height 0.2s;
}

/* Search Overlay */
.theme-search-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(12px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.theme-search-overlay.is-active {
  display: flex;
}
