/*
Theme Name: Anil Shop
Theme URI: 
Author: 
Author URI: 
Description: قالب فروشگاهی آنیل شاپ - فروشگاه عینک و اکسسوری دخترانه
Version: 1.0
License: 
License URI: 
Text Domain: anilshop
Requires at least: 5.0
Tested up to: 6.4
Requires PHP: 7.4
WC requires at least: 5.0
WC tested up to: 8.0
*/

/* ========================================
   FONTS
   ======================================== */
@font-face {
    font-family: 'IRANYekanX';
    src: url('./fonts/IRANYekanXVF.woff2') format('woff2'),
         url('./fonts/IRANYekanXVF.woff') format('woff');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

/* ========================================
   CSS VARIABLES
   ======================================== */
:root {
    /* Primary Colors - Feminine & Minimal */
    --color-primary: #E8A0BF;
    --color-primary-light: #FFD6E8;
    --color-primary-dark: #C77DA0;
    
    /* Secondary Colors */
    --color-secondary: #BA90C6;
    --color-secondary-light: #E5D4ED;
    --color-secondary-dark: #9B72AA;
    
    /* Accent Colors */
    --color-accent: #FFC4D0;
    --color-accent-alt: #FFEBD8;
    
    /* Neutral Colors */
    --color-white: #FFFFFF;
    --color-light: #FFF9FB;
    --color-gray-100: #F8F4F6;
    --color-gray-200: #EDE7EA;
    --color-gray-300: #D9D0D5;
    --color-gray-400: #B8ACB2;
    --color-gray-500: #8A7F85;
    --color-gray-600: #5C5358;
    --color-gray-700: #3D363A;
    --color-gray-800: #2A2528;
    --color-black: #1A1618;
    
    /* Status Colors */
    --color-success: #A8D5BA;
    --color-warning: #FFE5B4;
    --color-error: #FFB4B4;
    --color-info: #B4D4FF;
    
    /* Typography */
    --font-family: 'IRANYekanX', Tahoma, sans-serif;
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 1.875rem;
    --font-size-4xl: 2.25rem;
    --font-size-5xl: 3rem;
    
    --font-weight-light: 300;
    --font-weight-regular: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    --font-weight-extrabold: 800;
    
    --line-height-tight: 1.25;
    --line-height-normal: 1.5;
    --line-height-relaxed: 1.75;
    
    /* Spacing */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    --spacing-3xl: 4rem;
    --spacing-4xl: 6rem;
    
    /* Border Radius */
    --radius-sm: 0.25rem;
    --radius-md: 0.5rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    --radius-2xl: 2rem;
    --radius-full: 9999px;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(26, 22, 24, 0.05);
    --shadow-md: 0 4px 6px rgba(26, 22, 24, 0.07);
    --shadow-lg: 0 10px 15px rgba(26, 22, 24, 0.1);
    --shadow-xl: 0 20px 25px rgba(26, 22, 24, 0.12);
    
    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-normal: 300ms ease;
    --transition-slow: 500ms ease;
    
    /* Container */
    --container-sm: 640px;
    --container-md: 768px;
    --container-lg: 1024px;
    --container-xl: 1280px;
    --container-2xl: 1440px;
    
    /* Z-Index */
    --z-dropdown: 100;
    --z-sticky: 200;
    --z-fixed: 300;
    --z-modal-backdrop: 400;
    --z-modal: 500;
    --z-popover: 600;
    --z-tooltip: 700;
}

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

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

body {
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-regular);
    line-height: var(--line-height-normal);
    color: var(--color-gray-700);
    background-color: var(--color-white);
    direction: rtl;
    text-align: right;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img,
picture,
video,
canvas,
svg {
    display: block;
    max-width: 100%;
    height: auto;
}

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

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

a {
    color: inherit;
    text-decoration: none;
}

ul,
ol {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: var(--font-weight-bold);
    line-height: var(--line-height-tight);
    color: var(--color-gray-800);
}

p {
    margin-bottom: var(--spacing-md);
}

p:last-child {
    margin-bottom: 0;
}

/* ========================================
   UTILITIES
   ======================================== */
.container {
    width: 100%;
    max-width: var(--container-xl);
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--spacing-lg);
    padding-right: var(--spacing-lg);
}

.container--sm {
    max-width: var(--container-sm);
}

.container--md {
    max-width: var(--container-md);
}

.container--lg {
    max-width: var(--container-lg);
}

.container--2xl {
    max-width: var(--container-2xl);
}

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

/* ========================================
   SELECTION
   ======================================== */
::selection {
    background-color: var(--color-primary-light);
    color: var(--color-gray-800);
}

/* ========================================
   SCROLLBAR
   ======================================== */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--color-gray-100);
}

::-webkit-scrollbar-thumb {
    background: var(--color-gray-300);
    border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-gray-400);
}

/* ========================================
   FOCUS STYLES
   ======================================== */
:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

/* ========================================
   AOS CUSTOM
   ======================================== */
[data-aos] {
    pointer-events: none;
}

[data-aos].aos-animate {
    pointer-events: auto;
}
