  
		  			@import url('css/fontiran.css');
		@font-face {
    font-family: IRANSansX;
    font-style: normal;
    font-weight: bold;
    src: url('css/fonts/woff/IRANSansX-Bold.woff') format('woff'),
    url('css/fonts/woff2/IRANSansX-Bold.woff2') format('woff2');
}

	@font-face {
  	  font-family: IRANSansX;
  	  font-style: normal;
  	  font-weight: normal;
  	  src: url('css/fonts/woff/IRANSansX-Regular.woff') format('woff'),
  	  url('css/fonts/woff2/IRANSansX-Regular.woff2') format('woff2');
}


* {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
            font-family: IRANSansX;
        }
        body {
            background-color: var(--bg-main);
            background-image: radial-gradient(circle at 20% 80%, rgba(30, 41, 59, 0.4) 0%, transparent 40%),
                              radial-gradient(circle at 80% 20%, rgba(44, 30, 62, 0.4) 0%, transparent 40%);
            color: var(--text-light);
            overflow-x: hidden;
            min-height: 100vh;
        }

        /* --- استایل هدر --- */
        header {
            background: linear-gradient(135deg, var(--bg-header-start), var(--bg-header-end));
            color: var(--text-light);
            position: sticky;
            top: 0;
            z-index: 1000;
            box-shadow: 0 4px 20px rgba(0,0,0,0.5);
            border-bottom: 1px solid rgba(255,255,255,0.05);
            padding: 0.8rem 0; 
        }

        /* --- تغییر اصلی اینجاست --- */
        .navbar {
            display: flex;
            justify-content: space-between; /* فاصله حداکثری بین آیتم‌ها */
            align-items: center;
            
            /* حذف محدودیت عرض 1200 پیکسل */
            width: 100%; 
            max-width: 100%; 
            
            /* فقط کمی فاصله از لبه‌های مانیتور که نچسبد به قاب مانیتور */
            padding: 0.5rem 3rem; 
        }

        /* --- لوگو (سمت چپ) --- */
        .logo {
            display: flex;
            align-items: center;
            gap: 15px;
            font-size: 1.9rem; 
            font-weight: 900;
            background: linear-gradient(to right, #ffffff, var(--accent-gold));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            text-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
            letter-spacing: 0.5px;
            white-space: nowrap;
        }

        .logo-img {
            max-height: 50px;
            width: auto;
        }

        /* --- منوی لینک‌ها (سمت راست) --- */
        .nav-links {
            list-style: none;
            display: flex;
            gap: 30px;
            margin: 0;
        }

        .nav-links li a {
            text-decoration: none;
            color: var(--text-light);
            font-size: 1.1rem;
            font-weight: 500;
            position: relative;
            padding: 5px 0;
            transition: all 0.3s ease;
        }

        .nav-links li a::after {
            content: '';
            position: absolute;
            width: 0;
            height: 2px;
            bottom: -2px;
            left: 50%;
            transform: translateX(-50%);
            background: linear-gradient(to right, transparent, var(--accent-gold), transparent);
            transition: width 0.4s ease-in-out;
            box-shadow: 0 0 8px var(--accent-gold);
        }

  /* --- اصلاح استایل برای اعمال روی هاور و کلاس active --- */

/* خط زیرین برای هاور و اکتیو */
.nav-links li a:hover::after,
.nav-links li a.active::after { 
    width: 100%; 
}

/* رنگ و سایه برای هاور و اکتیو */
.nav-links li a:hover,
.nav-links li a.active { 
    color: var(--accent-gold); 
    text-shadow: 0 0 8px var(--glow-shadow); 
}
        .nav-links li a:hover {
            color: var(--accent-gold);
            text-shadow: 0 0 8px var(--glow-shadow);
        }

        /* دکمه همبرگری */
        .hamburger {
            display: none;
            cursor: pointer;
            font-size: 2rem;
            color: var(--text-light);
            transition: transform 0.4s, color 0.3s;
        }
        
        .hamburger.rotate {
            transform: rotate(90deg);
            color: var(--accent-gold);
        }

        /* --- کانتینر اصلی --- */
        .container {
            max-width: 1200px; /* بدنه اصلی سایت وسط چین باقی می‌ماند که استاندارد است */
            margin: 5rem auto;
            padding: 0 1rem;
        }

        .page-title {
            text-align: center;
            margin-bottom: 3rem;
            animation: fadeInDown 1s ease;
        }

        .page-title h1 {
            color: var(--text-light);
            font-size: 2.5rem;
            margin-bottom: 0.5rem;
            text-shadow: 0 2px 4px rgba(0,0,0,0.5);
        }

        @keyframes fadeInDown {
            from { opacity: 0; transform: translateY(-20px); }
            to { opacity: 1; transform: translateY(0); }
        }
        
        .page-title span {
            color: var(--accent-gold);
            font-size: 1.1rem;
            display: block;
            letter-spacing: 1.5px;
            font-weight: 300;
        }

        /* --- گرید محصولات --- */
        .products-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
            gap: 2.5rem;
            padding-bottom: 3rem;
        }

        .product-card {
            background: var(--bg-card);
            border-radius: 15px;
            overflow: hidden;
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3), 
                        0 0 0 1px rgba(255, 255, 255, 0.05),
                        inset 0 0 20px rgba(0,0,0,0.2);
            transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            display: flex;
            flex-direction: column;
            position: relative;
        }

        .product-card:hover {
            transform: translateY(-12px) scale(1.02);
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 
                        0 0 0 1px rgba(212, 175, 55, 0.3),
                        0 0 15px var(--glow-shadow);
        }

        .product-image {
            height: 220px;
            background: radial-gradient(circle at center, #243252, #151c2f);
            display: flex;
            padding: 20px;
            align-items: center;
            justify-content: center;
            position: relative;
            border-bottom: 1px solid rgba(255,255,255,0.05);
        }

        .product-image img {
            max-width: 100%;
            max-height: 100%;
            width: auto;
            height: auto;
            object-fit: contain;
            filter: drop-shadow(0 5px 15px rgba(0,0,0,0.5));
            transition: transform 0.3s ease;
        }

        .product-card:hover .product-image img {
            transform: scale(1.08) rotate(2deg);
        }

        .product-info {
            padding: 1.8rem;
            text-align: center;
            flex-grow: 1;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
        }

        .product-title {
            font-size: 1.2rem;
            margin-bottom: 0.8rem;
            font-weight: 700;
            color: var(--text-light);
        }

        .product-purity {
            background-color: rgba(255,255,255,0.05);
            color: var(--accent-gold);
            padding: 5px 12px;
            border-radius: 20px;
            font-size: 0.8rem;
            margin-bottom: 1.5rem;
            display: inline-block;
            border: 1px solid rgba(212, 175, 55, 0.2);
        }

        .product-price {
            font-size: 1.15rem;
            color: var(--text-light);
            font-weight: bold;
            margin-bottom: 1.5rem;
            text-shadow: 0 0 5px rgba(255,255,255,0.1);
        }

        .btn-buy {
            position: relative;
            background: linear-gradient(45deg, #b8860b, var(--accent-gold));
            color: #000;
            border: none;
            padding: 14px 20px;
            border-radius: 10px;
            cursor: pointer;
            width: 100%;
            font-size: 1.05rem;
            font-weight: 800;
            overflow: hidden;
            transition: all 0.3s ease;
            z-index: 1;
            box-shadow: 0 4px 10px rgba(184, 134, 11, 0.3);
        }

        .btn-buy:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 20px rgba(184, 134, 11, 0.5);
            background: linear-gradient(45deg, var(--accent-gold), #b8860b);
        }

        .btn-buy:active {
            transform: scale(0.98);
        }

        .btn-buy::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(
                120deg, 
                transparent, 
                var(--accent-shine), 
                transparent
            );
            transition: all 0.7s ease-in-out;
            z-index: -1;
        }

        .btn-buy:hover::before {
            left: 100%;
        }

        /* --- ریسپانسیو --- */
        @media (max-width: 992px) {
            .navbar {
                 /* در موبایل پدینگ را کمتر می‌کنیم */
                padding: 0.8rem 1rem;
            }
            
            .nav-links {
                display: none;
                flex-direction: column;
                width: 100%;
                position: absolute;
                top: 100%;
                right: 0;
                background: linear-gradient(var(--bg-header-start), var(--bg-header-end));
                text-align: center;
                gap: 0;
                box-shadow: 0 10px 20px rgba(0,0,0,0.5);
                border-bottom: 1px solid var(--accent-gold);
                z-index: 999;
            }
            	
            .nav-links.active {
                display: flex;
            }

            .nav-links li {
                width: 100%;
                border-top: 1px solid rgba(255,255,255,0.05);
            }

            .nav-links li a {
                display: block;
                padding: 1.2rem;
                width: 100%;
            }
            
            .nav-links li a::after {
                display: none;
            }
            
            .nav-links li a:hover {
                background-color: rgba(255,255,255,0.05);
                color: var(--accent-gold);
            }

            .hamburger {
                display: block;
            }
        }

        @media (max-width: 768px) {
            .logo {
                 font-size: 1.7rem;
                 gap: 10px;
            }
             .logo-img {
                 max-height: 50px;
             }
        }
		:root {
    --bg-header-start: #0f172a;
    --bg-header-end: #2c1e3e;
    --text-light: #e0e6ed;
    --text-muted: #94a3b8;
    --accent-gold: #d4af37;
    --glow-shadow: rgba(212, 175, 55, 0.3);
    --border-light: rgba(255, 255, 255, 0.05);
}
		footer {
    background: linear-gradient(135deg, var(--bg-header-start), var(--bg-header-end));
    border-top: 1px solid var(--accent-gold);
    padding: 4rem 1rem 1rem 1rem;
    margin-top: 5rem;
    direction: rtl; /* جهت اطمینان */
}
		.footer-container {
    max-width: 90%;
    display: grid;
    margin: auto;
    /* دسکتاپ: 4 ستون مساوی */
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    /* پیش‌فرض: راست چین */
    text-align: center; 
}

/* استایل تیترها و خط زیر آن‌ها */
.footer-col h4, .footer-col .footer-logo-title {
    color: var(--accent-gold);
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--accent-gold);
    display: inline-block;
}

.footer-links { list-style: none; padding: 0; text-align: center; }

.footer-links li { 
    margin-bottom: 15px; 
    display: flex; 
    align-items: center; 
    gap: 10px;
    justify-content:center;
}

.contact-icon-box {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}
.contact-icon-box svg {
    width: 100%;
    height: 100%;
    fill: var(--accent-gold);
}

.footer-links a, .footer-links span { 
    color: var(--text-muted); 
    font-size: 0.95rem; 
    transition: all 0.3s;
    text-decoration: none;
}
.footer-links a:hover { 
    color: var(--text-light); 
    padding-right: 8px;
    text-shadow: 0 0 5px var(--glow-shadow);
}

.license-box { display: flex; gap: 10px; justify-content: center; }

.footer-bottom {
    border-top: 1px solid var(--border-light);
    margin-top: 3rem;
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    color: var(--text-muted);
    font-size: 0.85rem;
    flex-wrap: wrap;
    gap: 15px;
}

/* --- مدیا کوئری‌ها (ریسپانسیو) --- */

/* تبلت (Tablet) */
@media (max-width: 1024px) {
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
        text-align: center;
    }

    .footer-col {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-links li {
        justify-content: center;
    }

    .license-box {
        justify-content: center;
    }
}

/* موبایل (Mobile) */
@media (max-width: 768px) {
    .footer-container { 
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-col {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-links li { justify-content: center; }
    .license-box { justify-content: center; }

    .footer-bottom { 
        justify-content: center; 
        text-align: center; 
    }
    
    .footer-links a:hover { padding-right: 0; }
}

/* اصلاحیه خاص برای مانیتورهای متوسط */
@media (min-width: 1025px) and (max-width: 1590px) {
    .icon-marker {
        margin-bottom: 25px;
    }
}