/*
Theme Name: we theme
Theme URI: https://www.rtl-theme.com/we-theme-wordpress-theme
Version: 1.0.0
Author: محمد حسین ایزی
Author URI: https://www.rtl-theme.com/author/amir.mans374@gmail.com/products/
Text Domain: wetheme
Requires at least: 6.0
Tested up to: 6.9
Requires PHP: 7.4
Domain Path: /languages
Tags: مدرن ترین پوسته فروشگاهی ووکامرس
Description: منعطف ترین پوسته فروشگاهی وردپرس
برای طراحی این قالب زحمات زیادی کشیده شده لذا خواهشمندیم تا نسخه ی اصلی این قالب را تهیه نمایید تا به فعالیت ما تداوم بخشید.
*/

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

html {
    font-size: 16px;
    line-height: 1.6;
}

body {
    font-family: 'IRANYekanX', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    color: #333;
    background-color: #fff;
    font-weight: 400;
}

/* Typography */
* {
    font-family: 'IRANYekanX', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'IRANYekanX', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 { 
    font-size: 2.5rem; 
    font-weight: 800;
}
h2 { 
    font-size: 2rem; 
    font-weight: 700;
}
h3 { 
    font-size: 1.75rem; 
    font-weight: 600;
}
h4 { 
    font-size: 1.5rem; 
    font-weight: 600;
}
h5 { 
    font-size: 1.25rem; 
    font-weight: 500;
}
h6 { 
    font-size: 1rem; 
    font-weight: 500;
}

p {
    font-family: 'IRANYekanX', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    font-weight: 400;
    margin-bottom: 1rem;
}

a {
    font-family: 'IRANYekanX', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    color: #0073aa;
    text-decoration: none;
    transition: color 0.3s ease;
}



/* Font */
html {
    font-feature-settings: "ss02";
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

.container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 15px;
}

.widget-container {
    padding: 0 !important;
    margin: 0 !important;
}

.widget-container.container {
    width: 100%;
    max-width: 1600px;
    margin-left: auto;
    margin-right: auto;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.col {
    flex: 1;
    padding: 0 15px;
}

.site-title {
    font-family: 'IRANYekanX', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
}

.site-description {
    font-family: 'IRANYekanX', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    color: #666;
    font-size: 0.9rem;
}

/* Navigation */
.main-navigation ul {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

.main-navigation li {
    position: relative;
}

.main-navigation a {
    display: block;
    padding: 1rem;
    color: #333;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.main-navigation a:hover {
    background-color: transparent;
}

/* Content */
.site-content {
    padding: 2rem 0;
}

.entry-content {
    margin-bottom: 2rem;
}

/* Footer */
.site-footer {
    background: #333;
    color: #fff;
    padding: 2rem 0;
    margin-top: 2rem;
}

.site-footer a {
    color: #fff;
}


/* WooCommerce Styles */
.woocommerce {
    margin-bottom: 2rem;
}

.woocommerce .products {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.woocommerce .product {
    text-align: center;
    padding: 1rem;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    transition: box-shadow 0.3s ease;
}


.woocommerce .product img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
}

.woocommerce .product .price {
    font-size: 22px;
    font-weight: 800;
    color: #000000;
}



@media (max-width: 768px) {
    .container {
        padding: 0 10px;
    }
    
    .main-navigation ul {
        flex-direction: column;
    }
    
    .woocommerce .products {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 1rem;
    }
    
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.5rem; }
}

/* RTL */
.rtl {
    direction: rtl;
    text-align: right;
}

.rtl .main-navigation ul {
    flex-direction: row-reverse;
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

/* IranYekan Font */
*,
*::before,
*::after {
    font-family: 'IRANYekanX', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

body,
div,
span,
p,
h1, h2, h3, h4, h5, h6,
a,
button,
input,
textarea,
select,
label,
li,
td,
th,
caption,
legend,
fieldset,
optgroup,
option,
pre,
code,
kbd,
samp,
var,
abbr,
acronym,
address,
cite,
dfn,
em,
strong,
small,
big,
sub,
sup,
mark,
del,
ins,
u,
i,
b,
s,
strike,
tt,
code,
kbd,
samp,
var,
pre,
xmp,
listing,
plaintext,
listing,
xmp,
plaintext,
listing,
xmp,
plaintext {
    font-family: 'IRANYekanX', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

/* font-display swap */
@font-face {
    font-family: 'IRANYekanX';
    src: local('IRANYekanX');
    font-display: swap;
    font-style: normal;
    font-weight: 100 900;
}
@font-face {
    font-family: 'IRANSansX';
    src: local('IRANSansX');
    font-display: swap;
    font-style: normal;
    font-weight: 100 900;
}
@font-face {
    font-family: 'Dana';
    src: local('Dana');
    font-display: swap;
    font-style: normal;
    font-weight: 100 900;
}

