* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Tahoma', sans-serif;
}

body {
    background: #f5f5f5;
    padding: 20px;
}

/* استایل‌های نویگیشن */
.navbar {
    background: #1e293b;
    padding: 1rem 0;
    margin-bottom: 30px;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.logo {
    /* color: white;
    font-size: 1.5rem;
    font-weight: bold;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    height: auto; */
    width: 50px;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.nav-links a:hover {
    background: #dc2626;
}

/* استایل‌های صفحه درباره ما */
.about-section {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    max-width: 1000px;
    margin: 0 auto;
}

.about-title {
    color: #1e293b;
    margin-bottom: 20px;
    text-align: center;
    font-size: 2rem;
}

.about-content {
    line-height: 1.8;
    color: #666;
}

.about-content h3 {
    color: #1e293b;
    margin: 20px 0 10px 0;
}

.about-content ul {
    margin-right: 20px;
    margin-bottom: 20px;
}

.about-content li {
    margin-bottom: 8px;
}

/* استایل‌های صفحه لیست محصولات */
.header {
    text-align: center;
    margin-bottom: 30px;
    color: #333;
}

.filters {
    background: white;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.filter-form {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.filter-input, .filter-select {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    flex: 1;
    min-width: 200px;
}

.filter-btn {
    background: #dc2626;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.filter-btn:hover {
    background: #b91c1c;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.product-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-image {
    width: 100%;
    height: 200px;
    background: #e5e5e5;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
}

.product-content {
    padding: 15px;
}

.product-title {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #333;
}

.product-price {
    font-size: 1.3rem;
    color: #dc2626;
    font-weight: bold;
    margin-bottom: 10px;
}

.product-brand {
    color: #666;
    margin-bottom: 10px;
}

.detail-btn {
    display: inline-block;
    background: #dc2626;
    color: white;
    padding: 8px 15px;
    border-radius: 5px;
    text-decoration: none;
    transition: background 0.3s ease;
}

.detail-btn:hover {
    background: #b91c1c;
}

/* استایل‌های صفحه جزئیات */
.detail-container {
    max-width: 1000px;
    margin: 0 auto;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}

.detail-image {
    width: 100%;
    height: 400px;
    background: #e5e5e5;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
}

.detail-content {
    padding: 30px;
}

.back-btn {
    display: inline-block;
    background: #666;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    margin-bottom: 20px;
    transition: background 0.3s ease;
}

.back-btn:hover {
    background: #555;
}

.detail-title {
    font-size: 2rem;
    margin-bottom: 15px;
    color: #333;
}

.detail-price {
    font-size: 2.5rem;
    color: #dc2626;
    font-weight: bold;
    margin-bottom: 20px;
}
.specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    margin-bottom: 25px;
}

.spec-item {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    border-right: 4px solid #dc2626;
}

.spec-label {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.spec-value {
    color: #333;
    font-size: 1.1rem;
    font-weight: bold;
}
