/* Generated theme — light */
:root {
  --primary-100: #FDFBF7;
  --primary-200: #F8F4E7;
  --primary-300: #F1E9D0;
  --primary-400: #F9DF8A;
  --primary-500: #F7CD46;
  --primary-600: #F5BD0A;
  --primary-700: #C39709;
  --primary-800: #927107;
  --primary-900: #5A4501;
  --secondary-100: #FBFBF9;
  --secondary-200: #F4F2EC;
  --secondary-300: #E9E5D8;
  --secondary-400: #DDD0A7;
  --secondary-500: #C8B474;
  --secondary-600: #B69C49;
  --secondary-700: #927D3A;
  --secondary-800: #6E5E2B;
  --secondary-900: #443A18;
  --tertiary-100: #F9FCF8;
  --tertiary-200: #ECF7E9;
  --tertiary-300: #D9EED3;
  --tertiary-400: #AAF093;
  --tertiary-500: #78E755;
  --tertiary-600: #4DE01F;
  --tertiary-700: #3EB319;
  --tertiary-800: #2E8613;
  --tertiary-900: #1A5309;
  --neutral-100: #FAFAFA;
  --neutral-200: #F0F0EF;
  --neutral-300: #E2E1DF;
  --neutral-400: #C6C4BE;
  --neutral-500: #A5A297;
  --neutral-600: #888477;
  --neutral-700: #6D6A5F;
  --neutral-800: #524F47;
  --neutral-900: #32302A;
  --error-100: #FCF8F8;
  --error-200: #F6EAE9;
  --error-300: #EDD5D3;
  --error-400: #ED9B96;
  --error-500: #E36059;
  --error-600: #DA2E25;
  --error-700: #AF251D;
  --error-800: #831C16;
  --error-900: #510E0B;
  --bs-primary: #F7CD46;
  --bs-primary-rgb: 247, 205, 70;
  --bs-secondary: #C8B474;
  --bs-secondary-rgb: 200, 180, 116;
  --bs-success: #198748;
  --bs-success-rgb: 25, 135, 72;
  --bs-info: #0DE0F0;
  --bs-info-rgb: 13, 224, 240;
  --bs-warning: #FFC107;
  --bs-warning-rgb: 255, 193, 7;
  --bs-danger: #E36059;
  --bs-danger-rgb: 227, 96, 89;
  --bs-light: #f8f9fa;
  --bs-dark: #212529;

  --bs-link-color: #F7CD46;
  --bs-link-color-rgb: 247, 205, 70;
  --bs-link-hover-color: #C39709;
  --bs-link-decoration: none;
}

/* Core overrides mapping to CSS variables */
.btn-primary { background-color: var(--bs-primary) !important; border-color: var(--bs-primary) !important; color: white !important; }
.btn-primary:hover { background-color: var(--primary-700) !important; border-color: var(--primary-700) !important; }
.btn-secondary { background-color: var(--bs-secondary) !important; border-color: var(--bs-secondary) !important; color: white !important; }
.btn-secondary:hover { background-color: var(--secondary-700) !important; border-color: var(--secondary-700) !important; }
.btn-success { background-color: var(--bs-success) !important; border-color: var(--bs-success) !important; }
.btn-info { background-color: var(--bs-info) !important; border-color: var(--bs-info) !important; }
.btn-warning { background-color: var(--bs-warning) !important; border-color: var(--bs-warning) !important; }
.btn-danger { background-color: var(--bs-danger) !important; border-color: var(--bs-danger) !important; }

.btn-outline-primary { color: var(--bs-primary) !important; border-color: var(--bs-primary) !important; background-color: transparent !important; }
.btn-outline-primary:hover { color: white !important; background-color: var(--bs-primary) !important; border-color: var(--bs-primary) !important; }
.btn-outline-secondary { color: var(--bs-secondary) !important; border-color: var(--bs-secondary) !important; background-color: transparent !important; }
.btn-outline-secondary:hover { color: white !important; background-color: var(--bs-secondary) !important; border-color: var(--bs-secondary) !important; }

.bg-primary { background-color: var(--bs-primary) !important; }
.bg-secondary { background-color: var(--bs-secondary) !important; }
.bg-success { background-color: var(--bs-success) !important; }
.bg-info { background-color: var(--bs-info) !important; }
.bg-warning { background-color: var(--bs-warning) !important; }
.bg-danger { background-color: var(--bs-danger) !important; }

.bg-primary-subtle { background-color: var(--primary-100) !important; color: var(--primary-700) !important; }
.bg-secondary-subtle { background-color: var(--secondary-100) !important; color: var(--secondary-700) !important; }

.text-primary { color: var(--bs-primary) !important; }
.text-secondary { color: var(--bs-secondary) !important; }
.text-success { color: var(--bs-success) !important; }
.text-info { color: var(--bs-info) !important; }
.text-warning { color: var(--bs-warning) !important; }
.text-danger { color: var(--bs-danger) !important; }

.border-primary { border-color: var(--bs-primary) !important; }
.border-primary-subtle { border-color: var(--primary-200) !important; }
.border-secondary { border-color: var(--bs-secondary) !important; }
.border-success { border-color: var(--bs-success) !important; }
.border-info { border-color: var(--bs-info) !important; }
.border-warning { border-color: var(--bs-warning) !important; }
.border-danger { border-color: var(--bs-danger) !important; }

.shadow-primary { box-shadow: 0 0.5rem 1rem rgba(var(--bs-primary-rgb), 0.15) !important; }
.shadow-primary-sm { box-shadow: 0 0.125rem 0.25rem rgba(var(--bs-primary-rgb), 0.075) !important; }

a { color: var(--bs-primary); text-decoration: none !important; }
a:hover { color: var(--primary-700); text-decoration: none !important; }
a:focus { color: var(--primary-700); text-decoration: none !important; }
.btn-link { color: var(--bs-primary); text-decoration: none !important; }
.btn-link:hover { color: var(--primary-700); text-decoration: none !important; }
.btn-link:focus { color: var(--primary-700); text-decoration: none !important; }

.link-primary { color: var(--bs-primary) !important; }
.link-primary:hover { color: var(--primary-700) !important; }
.link-secondary { color: var(--bs-secondary) !important; }
.link-secondary:hover { color: var(--secondary-700) !important; }

.pagination .page-link { color: var(--primary-700); background-color: transparent; border-color: var(--primary-200); }
.pagination .page-link:hover { color: var(--primary-800); background-color: var(--primary-100); border-color: var(--primary-300); }
.pagination .page-item.active .page-link { color: white; background-color: var(--bs-primary); border-color: var(--bs-primary); }
.pagination .page-item.disabled .page-link { color: var(--primary-400); background-color: transparent; border-color: var(--primary-200); }

/* Generated theme — dark */
[data-bs-theme="dark"] {
  --primary-100: #3D2F00;
  --primary-200: #5B4600;
  --primary-300: #806305;
  --primary-400: #B28906;
  --primary-500: #EEB707;
  --primary-600: #F9CB39;
  --primary-700: #FAD86B;
  --primary-800: #FBE59D;
  --primary-900: #F4EDD7;
  --secondary-100: #2E270F;
  --secondary-200: #453A17;
  --secondary-300: #605225;
  --secondary-400: #847133;
  --secondary-500: #B09745;
  --secondary-600: #C6B16C;
  --secondary-700: #D5C590;
  --secondary-800: #E3D8B5;
  --secondary-900: #ECE9DF;
  --tertiary-100: #113805;
  --tertiary-200: #1A5507;
  --tertiary-300: #27760E;
  --tertiary-400: #36A414;
  --tertiary-500: #48DA1B;
  --tertiary-600: #6FE949;
  --tertiary-700: #93EE77;
  --tertiary-800: #B7F4A4;
  --tertiary-900: #DFF1DA;
  --neutral-100: #22201B;
  --neutral-200: #333029;
  --neutral-300: #47453D;
  --neutral-400: #635F55;
  --neutral-500: #847F71;
  --neutral-600: #A19D91;
  --neutral-700: #B8B5AD;
  --neutral-800: #D0CEC8;
  --neutral-900: #E7E6E4;
  --error-100: #360A07;
  --error-200: #510E0B;
  --error-300: #721813;
  --error-400: #9D211A;
  --error-500: #D22D23;
  --error-600: #E25850;
  --error-700: #E9827C;
  --error-800: #F0ACA8;
  --error-900: #F0DCDB;
  --bs-primary: #EEB707;
  --bs-primary-rgb: 238, 183, 7;
  --bs-secondary: #B09745;
  --bs-secondary-rgb: 176, 151, 69;
  --bs-success: #188848;
  --bs-success-rgb: 24, 136, 72;
  --bs-info: #0DE0F0;
  --bs-info-rgb: 13, 224, 240;
  --bs-warning: #FFC107;
  --bs-warning-rgb: 255, 193, 7;
  --bs-danger: #D22D23;
  --bs-danger-rgb: 210, 45, 35;
  --bs-light: #f8f9fa;
  --bs-dark: #212529;

  --bs-link-color: #EEB707;
  --bs-link-color-rgb: 238, 183, 7;
  --bs-link-hover-color: #B28906;
}


/* Dynamic Font Face - Only Selected Font */
@font-face {
    font-family: 'Dana';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('/assets/fonts/dana/dana-fanum-regular.woff2') format('woff2'),
         url('/assets/fonts/dana/dana-fanum-regular.woff') format('woff');
}

/* Dynamic Font Family */
body { font-family: 'Dana', sans-serif !important; }


/* Custom Global CSS */
/* --- تنظیمات پایه و ریست --- */
:root {
    --primary-color: #1a1a1a; /* مشکی زغالی */
    --accent-color: #c5a059; /* طلایی مات برای جزئیات */
    --bg-color: #ffffff;
    --text-color: #333333;
    --light-gray: #f4f4f4;
    --font-main: 'Vazirmatn', sans-serif;
    --transition: all 0.3s ease;
}

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

body {
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

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

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- دکمه‌های شیک --- */
.btn {
    display: inline-block;
    padding: 12px 35px;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid transparent;
}

.btn-primary {
    background-color: var(--primary-color);
    color: #fff;
}

.btn-primary:hover {
    background-color: var(--accent-color);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: #fff;
}

/* --- سکشن ۱: هدر --- */
.luxury-header {
    padding: 20px 0;
    position: absolute;
    width: 100%;
    z-index: 100;
    background: rgba(255, 255, 255, 0.95); /* کمی شفافیت */
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: 900;
    letter-spacing: 2px;
    color: var(--primary-color);
    text-transform: uppercase;
}

.main-nav ul {
    display: flex;
    gap: 30px;
}

.main-nav a {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-color);
    position: relative;
}

.main-nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -5px;
    right: 0;
    background-color: var(--accent-color);
    transition: var(--transition);
}

.main-nav a:hover::after {
    width: 100%;
}

.header-icons a {
    margin-right: 15px;
    font-size: 18px;
    color: var(--text-color);
}

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

/* --- سکشن ۲: هیرو (بنر اصلی) --- */
.hero-section {
    height: 100vh;
    width: 100%;
    background-image: url('https://images.unsplash.com/photo-1490114538077-0a7f8cb49891?ixlib=rb-1.2.1&auto=format&fit=crop&w=1920&q=80'); /* عکس پس زمینه */
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start; /* متن سمت راست */
    padding-right: 10%;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3); /* تاریکی روی عکس برای خوانایی متن */
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    color: #fff;
}

.hero-content h2 {
    font-size: 18px;
    font-weight: 400;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 15px;
    color: var(--accent-color);
}

.hero-content h1 {
    font-size: 64px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 25px;
}

.hero-content p {
    font-size: 16px;
    margin-bottom: 40px;
    opacity: 0.9;
    max-width: 450px;
}

/* --- سکشن ۳: محصولات --- */
.featured-section {
    padding: 100px 0;
    background-color: #fff;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.sub-title {
    display: block;
    font-size: 14px;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.section-title h3 {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-color);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.product-card {
    background: #fff;
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-10px);
}

.product-image {
    position: relative;
    overflow: hidden;
    height: 400px;
    background-color: var(--light-gray);
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--primary-color);
    color: #fff;
    padding: 5px 10px;
    font-size: 12px;
    text-transform: uppercase;
}

.product-info {
    padding: 20px 0;
    text-align: center;
}

.product-info h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-color);
}

.product-info .price {
    font-size: 16px;
    color: #666;
    font-weight: 300;
}

.center-btn {
    text-align: center;
}

/* --- ریسپانسیو (موبایل) --- */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 15px;
    }
    
    .main-nav ul {
        gap: 15px;
        font-size: 12px;
    }

    .hero-section {
        justify-content: center;
        text-align: center;
        padding-right: 0;
    }
    
    .hero-content h1 {
        font-size: 36px;
    }
    
    .hero-content p {
        margin: 0 auto 30px auto;
    }
}