/*
Theme Name: Marsi Theme
Theme URI: https://marsishoes.ir
Author: Yasin Mohammadnia
Author URI: https://zaap.bio/yasinmohammadnia
Description: قالب فروشگاهی پریمیوم برای فروش کیف و کفش زنانه با پشتیبانی کامل از ووکامرس، طراحی RTL و زبان فارسی
Version: 1.3.4

کلیه امتیازات این قالب متعلق به یاسین محمدنیا می‌باشد و هرگونه کپی‌برداری بدون اجازه ممنوع است.
All rights reserved — Yasin Mohammadnia. Unauthorized copying is strictly prohibited.
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
WooCommerce: 9.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: marsi
Tags: rtl-language, persian, woocommerce, e-commerce, fashion, right-to-left
*/

/* ============================================================
   CSS CUSTOM PROPERTIES — LUXURY EDITORIAL PALETTE
   ============================================================ */
:root {
    /* Core palette — warm editorial luxury */
    --color-primary:      #1A1714;   /* warm near-black */
    --color-accent:       #C8835A;   /* warm cognac copper */
    --color-accent-dark:  #A8623A;   /* hover state */
    --color-gold:         #B89A5E;   /* gold detail accent */

    --color-bg:           #FFFFFF;
    --color-bg-soft:      #F7F3EE;   /* warm ivory cream */
    --color-bg-warm:      #EDE8E0;   /* deeper warm section bg */
    --color-bg-dark:      #1A1714;   /* footer / dark sections */

    --color-text:         #252220;   /* warm near-black for body */
    --color-text-muted:   #8A857C;   /* warm taupe */
    --color-text-light:   #B3AFA9;   /* very light text */

    --color-border:       #EBE7E1;   /* warm light border */
    --color-border-dark:  #D4CFC8;   /* stronger border */

    --color-success:      #3B7A50;
    --color-sale:         #BF3A2B;
    --color-blue:         #163B45;   /* brand teal-blue — from palette */
    --color-blue-soft:    rgba(22, 59, 69, 0.10);

    --font-primary: 'Vazirmatn', sans-serif;

    --transition: 0.28s ease;
    --transition-slow: 0.45s ease;

    --shadow-soft:   0 2px 20px rgba(26, 23, 20, 0.07);
    --shadow-medium: 0 6px 40px rgba(26, 23, 20, 0.13);
    --shadow-large:  0 16px 64px rgba(26, 23, 20, 0.18);

    --radius-card:  0px;    /* sharp / editorial */
    --radius-btn:   2px;
    --radius-modal: 4px;

    --container-width:   1320px;
    --container-padding: 24px;

    --header-height:          80px;
    --header-height-scrolled: 64px;

    --bp-mobile:  576px;
    --bp-tablet:  768px;
    --bp-desktop: 1024px;
    --bp-wide:    1280px;

    --sidebar-width: 272px;
}

/* ============================================================
   BASE RESET
   ============================================================ */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    font-family: var(--font-primary);
    font-weight: 400;
    color: var(--color-text);
    background-color: var(--color-bg);
    line-height: 2;
    direction: rtl;
    text-align: right;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Luxury letter-spacing on headings */
h1, h2, h3, h4, h5, h6 {
    letter-spacing: -0.02em;
}

body.menu-open,
body.cart-open,
body.modal-open {
    overflow: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    line-height: 1.5;
    color: var(--color-primary);
    font-weight: 600;
}

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

a:hover {
    color: var(--color-accent);
}

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

ul, ol {
    list-style: none;
}

button, input, textarea, select {
    font-family: var(--font-primary);
    font-size: inherit;
}

button {
    cursor: pointer;
    border: none;
    background: none;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="tel"],
input[type="number"],
input[type="search"],
select,
textarea {
    direction: rtl;
    text-align: right;
}

table {
    border-collapse: collapse;
    width: 100%;
}

/* ============================================================
   TYPOGRAPHY UTILITIES
   ============================================================ */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

.text-muted {
    color: var(--color-text-muted);
}

.text-accent {
    color: var(--color-accent);
}

.text-primary {
    color: var(--color-primary);
}
