/*
Theme Name: Quiknote Child (Clean)
Theme URI: https://example.com/
Description: Child theme of Twenty Twenty-One, cleaned to use only custom styles, with child header & footer.
Author: You
Template: twentytwentyone
Version: 1.0.0
Text Domain: quiknote-child-clean
*/

/* ---- Base styles (custom only) ---- */

@font-face {
  font-family: 'Vazir';
  src: url('../fonts/Vazir.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
/* استفاده از فونت در کل سایت */
html, body {
  font-family: 'Vazir', Tahoma, Arial, sans-serif;
}


body {
    font-family:  'Vazir', Arial, sans-serif;
    background-color: #f8f9fa;
    margin: 0;
    padding: 0;
}

 /* حالت روشن (پیش‌فرض) */
:root{
  --header-bg: #ffffff;
  --bg-secondary: #f6f7f9;
  --card-bg: #ffffff;
  --text-color: #121212;
  --text-light: #666;
  --border-color: #e6e6e6;
  --primary-color: #0b5fff;
  --shadow: 0 8px 24px rgba(0,0,0,.06);
}


/* هدر و آیکون‌ها از متغیرها استفاده کنند */
.site-header{
  background: var(--header-bg);
}
.user-icon,.cart-icon,.theme-toggle{
  background: var(--bg-secondary);
  color: var(--text-color);
}
.user-icon:hover,.cart-icon:hover,.theme-toggle:hover{
  background: var(--primary-color);
  color:#fff;
}

        
        body {
            font-family: 'Vazir', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            line-height: 1.6;
            color: var(--text-color);
            background-color: var(--bg-color);
            overflow-x: hidden;
            transition: background-color 0.3s, color 0.3s;
        }
        
        a {
            text-decoration: none;
            color: inherit;
            transition: var(--transition);
        }
        
        ul {
            list-style: none;
        }
        
        img {
            max-width: 100%;
        }
        
        .container {
            width: 100%;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 15px;
        }
        
        .btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            padding: 12px 24px;
            border-radius: 8px;
            font-weight: 500;
            cursor: pointer;
            transition: var(--transition);
            border: none;
            font-size: 14px;
        }
        
        .btn-primary {
		            font-family: 'Vazir', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            background-color: var(--primary-color);
            color: white !important;
        }
        
        .btn-primary:hover {
            background-color: var(--primary-dark);
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
        }
        
        .btn-outline {
            background-color: transparent;
            border: 1px solid var(--primary-color);
            color: var(--primary-color);
        }
        
        .btn-outline:hover {
            background-color: var(--primary-color);
            color: white;
        }
        
        .btn-light {
            background-color: var(--bg-secondary);
            color: var(--text-color);
        }
        
        .btn-light:hover {
            background-color: var(--border-color);
        }
        
        .section {
            padding: 80px 0;
        }
        
        .section-header {
            text-align: center;
            margin-bottom: 60px;
        }
        
        .section-title {
            font-size: 2.2rem;
            margin-bottom: 15px;
            color: var(--text-color);
        }
        
        .section-subtitle {
            font-size: 1.1rem;
            color: var(--text-light);
            max-width: 600px;
            margin: 0 auto;
        }
        
        /* هدر و ناوبری */
        header {
            background-color: var(--bg-color);
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
            position: sticky;
            top: 0;
            z-index: 1000;
            transition: background-color 0.3s;
        }
        
        .header-inner {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 15px 0;
        }
        
        .logo {
            display: flex;
            align-items: center;
            gap: 10px;
            font-size: 24px;
            font-weight: bold;
            color: var(--primary-color);
        }
        
        .logo-icon {
            font-size: 28px;
        }
        
        .nav-links {
            display: flex;
            gap: 30px;
        }
        
        .nav-links a {
            font-weight: 500;
            position: relative;
            padding: 5px 0;
        }
        
        .nav-links a::after {
            content: '';
            position: absolute;
            bottom: 0;
            right: 0;
            width: 0;
            height: 2px;
            background-color: var(--primary-color);
            transition: var(--transition);
        }
        
        .nav-links a:hover::after,
        .nav-links a.active::after {
            width: 100%;
        }
        
        .nav-links a:hover,
        .nav-links a.active {
            color: var(--primary-color);
        }
        
        .dropdown {
            position: relative;
        }
        
        .dropdown-content {
            position: absolute;
            top: 100%;
            right: 0;
            background: var(--card-bg);
            min-width: 200px;
            box-shadow: var(--shadow);
            border-radius: 8px;
            padding: 15px 0;
            opacity: 0;
            visibility: hidden;
            transform: translateY(10px);
            transition: var(--transition);
            z-index: 100;
            border: 1px solid var(--border-color);
        }
        
        .dropdown:hover .dropdown-content {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
        }
        
        .dropdown-content a {
            display: block;
            padding: 10px 20px;
        }
        
        .dropdown-content a:hover {
            background-color: var(--primary-light);
        }
        
        .header-actions {
            display: flex;
            gap: 12px;
            align-items: center;
        }
        
        .theme-toggle {
		font-family: 'Vazir', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            background: none;
            border: none;
            color: var(--text-color);
            font-size: 1.2rem;
            cursor: pointer;
            transition: var(--transition);
            padding: 8px;
            border-radius: 50%;
        }
        
        .theme-toggle:hover {
            background-color: var(--bg-secondary);
        }
        
        /* بخش هیرو */
        .hero {
            padding: 100px 0;
            background: linear-gradient(135deg, var(--primary-light) 0%, var(--bg-secondary) 100%);
            position: relative;
            overflow: hidden;
        }
        
        .hero::before {
            content: '';
            position: absolute;
            top: -50%;
            left: -10%;
            width: 600px;
            height: 600px;
            background: radial-gradient(circle, rgba(0, 123, 255, 0.1) 0%, rgba(0, 123, 255, 0) 70%);
            border-radius: 50%;
        }
        
        .hero::after {
            content: '';
            position: absolute;
            bottom: -30%;
            right: -10%;
            width: 500px;
            height: 500px;
            background: radial-gradient(circle, rgba(0, 123, 255, 0.08) 0%, rgba(0, 123, 255, 0) 70%);
            border-radius: 50%;
        }
        
        .hero-inner {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 40px;
            position: relative;
            z-index: 1;
        }
        
        .hero-content {
            flex: 1;
        }
        
        .hero-badge {
            display: inline-block;
            background-color: var(--primary-light);
            color: var(--primary-color);
            padding: 6px 15px;
            border-radius: 30px;
            font-size: 14px;
            font-weight: 500;
            margin-bottom: 20px;
        }
        
        .hero-title {
            font-size: 2.8rem;
            margin-bottom: 20px;
            color: var(--text-color);
            line-height: 1.3;
        }
        
        .hero-title span {
            color: var(--primary-color);
        }
        
        .hero-description {
            font-size: 1.2rem;
            margin-bottom: 35px;
            color: var(--text-light);
            max-width: 500px;
            line-height: 1.7;
        }
        
        .hero-actions {
            display: flex;
            gap: 15px;
            flex-wrap: wrap;
        }
        
        .hero-stats {
            display: flex;
            gap: 30px;
            margin-top: 40px;
        }
        
        .stat-item {
            display: flex;
            flex-direction: column;
        }
        
        .stat-value {
            font-size: 2rem;
            font-weight: bold;
            color: var(--primary-color);
        }
        
        .stat-label {
            font-size: 14px;
            color: var(--text-light);
        }
        
        .hero-image {
            flex: 1;
            text-align: center;
            position: relative;
        }
        
        .hero-image-placeholder {
            width: 100%;
            max-width: 550px;
            height: 400px;
            background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
            border-radius: 15px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 1.2rem;
            box-shadow: 0 20px 40px rgba(0, 123, 255, 0.2);
            position: relative;
            overflow: hidden;
        }
        
        .hero-image-placeholder::before {
            content: '';
            position: absolute;
            width: 200%;
            height: 200%;
            background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" fill="%23ffffff" fill-opacity="0.05"><circle cx="50" cy="50" r="40"/></svg>') repeat;
            animation: float 20s infinite linear;
        }
        
        @keyframes float {
            0% { transform: translate(0, 0) rotate(0deg); }
            100% { transform: translate(-50%, -50%) rotate(360deg); }
        }
        
        /* بخش کارت‌ها */
        .cards-section {
            background-color: var(--bg-color);
        }
        
        .cards-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 30px;
        }
        
        .card {
            background: var(--card-bg);
            border-radius: 12px;
            padding: 35px 25px;
            box-shadow: var(--shadow);
            transition: var(--transition);
            text-align: center;
            border: 1px solid var(--border-color);
            position: relative;
            overflow: hidden;
        }
        
        .card::before {
            content: '';
            position: absolute;
            top: 0;
            right: 0;
            width: 100%;
            height: 4px;
            background: linear-gradient(to left, var(--primary-color), var(--primary-dark));
            transform: translateX(100%);
            transition: var(--transition);
        }
        
        .card:hover::before {
            transform: translateX(0);
        }
        
        .card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
        }
        
        .card-icon {
            width: 80px;
            height: 80px;
            background-color: var(--primary-light);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 25px;
            color: var(--primary-color);
            font-size: 2rem;
            transition: var(--transition);
        }
        
        .card:hover .card-icon {
            background-color: var(--primary-color);
            color: white;
            transform: scale(1.1);
        }
        
        .card-title {
            font-size: 1.4rem;
            margin-bottom: 15px;
            color: var(--dark-color);
        }
        
        .card-description {
            color: var(--text-light);
            line-height: 1.7;
            margin-bottom: 20px;
        }
        
        .card-link {
            color: var(--primary-color);
            font-weight: 500;
            display: inline-flex;
            align-items: center;
            gap: 5px;
        }
        
        .card-link i {
            transition: var(--transition);
        }
        
        .card-link:hover i {
            transform: translateX(-5px);
        }
        
        /* بخش مزایا */
        .benefits {
            background-color: var(--bg-secondary);
        }
        
        .benefits-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 30px;
        }
        
        .benefit-item {
            text-align: center;
            padding: 30px 20px;
        }
        
        .benefit-icon {
            width: 70px;
            height: 70px;
            background-color: var(--primary-light);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 20px;
            color: var(--primary-color);
            font-size: 1.8rem;
            transition: var(--transition);
        }
        
        .benefit-item:hover .benefit-icon {
            transform: scale(1.1) rotate(5deg);
            background-color: var(--primary-color);
            color: white;
        }
        
        .benefit-title {
            font-size: 1.3rem;
            margin-bottom: 15px;
            color: var(--text-color);
        }
        
        .benefit-description {
            color: var(--text-light);
            line-height: 1.6;
        }
        
        /* بخش آمار */
        .stats {
            background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
            color: white;
            text-align: center;
            padding: 80px 0;
        }
        
        .stats-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 40px;
        }
        
        .stat-box {
            padding: 20px;
        }
        
        .stat-box-value {
            font-size: 3rem;
            font-weight: bold;
            margin-bottom: 10px;
        }
        
        .stat-box-label {
            font-size: 1.1rem;
            opacity: 0.9;
        }
        
        .trusted-by {
            margin-top: 60px;
        }
        
        .trusted-title {
            font-size: 1.2rem;
            margin-bottom: 30px;
            opacity: 0.9;
        }
        
        .trusted-logos {
            display: flex;
            justify-content: center;
            gap: 40px;
            flex-wrap: wrap;
        }
        
        .trusted-logo {
            width: 120px;
            height: 60px;
            background-color: rgba(255, 255, 255, 0.1);
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: bold;
            transition: var(--transition);
        }
        
        .trusted-logo:hover {
            background-color: rgba(255, 255, 255, 0.2);
            transform: translateY(-5px);
        }
        
        /* بخش نظرات مشتریان */
        .testimonials {
            background-color: var(--bg-color);
        }
        
        .testimonials-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 30px;
        }
        
        .testimonial-card {
            background: var(--card-bg);
            border-radius: 12px;
            padding: 30px;
            box-shadow: var(--shadow);
            transition: var(--transition);
            border: 1px solid var(--border-color);
        }
        
        .testimonial-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
        }
        
        .testimonial-text {
            color: var(--text-light);
            line-height: 1.7;
            margin-bottom: 20px;
            font-style: italic;
            position: relative;
            padding-right: 20px;
        }
        
        .testimonial-text::before {
            content: '"';
            font-size: 3rem;
            color: var(--primary-color);
            position: absolute;
            right: -10px;
            top: -15px;
            opacity: 0.3;
        }
        
        .testimonial-author {
            display: flex;
            align-items: center;
            gap: 15px;
        }
        
        .author-avatar {
            width: 50px;
            height: 50px;
            border-radius: 50%;
            background-color: var(--primary-light);
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--primary-color);
            font-size: 1.2rem;
        }
        
        .author-info {
            flex: 1;
        }
        
        .author-name {
            font-weight: 600;
            color: var(--text-color);
            margin-bottom: 5px;
        }
        
        .author-role {
            font-size: 14px;
            color: var(--text-light);
        }
        
        .testimonial-rating {
            color: #ffc107;
            font-size: 14px;
        }
        
        /* بخش قیمت‌گذاری */
        .pricing {
            background-color: var(--bg-secondary);
        }
        
        .pricing-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 30px;
        }
        
        .pricing-card {
            background: var(--card-bg);
            border-radius: 12px;
            padding: 40px 30px;
            box-shadow: var(--shadow);
            transition: var(--transition);
            border: 1px solid var(--border-color);
            text-align: center;
            position: relative;
        }
        
        .pricing-card.featured {
            border: 2px solid var(--primary-color);
            transform: scale(1.05);
        }
        
        .pricing-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
        }
        
        .pricing-card.featured:hover {
            transform: scale(1.05) translateY(-10px);
        }
        
        .pricing-badge {
            position: absolute;
            top: -10px;
            left: 50%;
            transform: translateX(-50%);
            background: var(--primary-color);
            color: white;
            padding: 5px 15px;
            border-radius: 20px;
            font-size: 0.8rem;
            font-weight: 500;
        }
        
        .pricing-title {
            font-size: 1.5rem;
            margin-bottom: 15px;
            color: var(--text-color);
        }
        
        .pricing-price {
            font-size: 2.5rem;
            font-weight: bold;
            margin-bottom: 20px;
            color: var(--primary-color);
        }
        
        .pricing-period {
            font-size: 1rem;
            color: var(--text-light);
        }
        
        .pricing-features {
            margin: 30px 0;
            text-align: right;
        }
        
        .pricing-feature {
            padding: 8px 0;
            color: var(--text-light);
            display: flex;
            align-items: center;
            gap: 10px;
        }
        
        .pricing-feature i {
            color: var(--primary-color);
        }
        
     
        /* بخش ویژگی‌ها */
        .features {
            background-color: var(--bg-secondary);
            transition: background-color 0.3s;
        }
        
        .features-tabs {
            display: flex;
            justify-content: center;
            gap: 10px;
            margin-bottom: 40px;
            flex-wrap: wrap;
        }
        
        .tab-btn {
            padding: 12px 25px;
            background: var(--card-bg);
            border: 1px solid var(--border-color);
            border-radius: 8px;
            cursor: pointer;
            transition: var(--transition);
            font-weight: 500;
            color: var(--text-color);
        }
        
        .tab-btn.active {
            background-color: var(--primary-color);
            color: white;
            border-color: var(--primary-color);
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(0, 123, 255, 0.2);
        }
        
        .tab-btn:hover:not(.active) {
            background-color: var(--border-color);
        }
        
        .tab-content {
            display: none;
            animation: fadeIn 0.5s ease;
        }
        
        .tab-content.active {
            display: block;
        }
        
        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(20px); }
            to { opacity: 1; transform: translateY(0); }
        }
        
        .features-content {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 50px;
            align-items: center;
        }
        
        .features-list {
            display: flex;
            flex-direction: column;
            gap: 25px;
        }
        
        .feature-item {
            display: flex;
            align-items: flex-start;
            gap: 15px;
            opacity: 0;
            transform: translateX(-20px);
            animation: slideIn 0.5s ease forwards;
        }
        
        @keyframes slideIn {
            to {
                opacity: 1;
                transform: translateX(0);
            }
        }
        
        .feature-item:nth-child(1) { animation-delay: 0.1s; }
        .feature-item:nth-child(2) { animation-delay: 0.2s; }
        .feature-item:nth-child(3) { animation-delay: 0.3s; }
        .feature-item:nth-child(4) { animation-delay: 0.4s; }
        
        .feature-icon {
            width: 50px;
            height: 50px;
            background-color: var(--primary-light);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--primary-color);
            flex-shrink: 0;
            font-size: 1.2rem;
            transition: var(--transition);
        }
        
        .feature-item:hover .feature-icon {
            transform: scale(1.1) rotate(5deg);
            background-color: var(--primary-color);
            color: white;
        }
        
        .feature-content h3 {
            margin-bottom: 8px;
            color: var(--text-color);
            font-size: 1.2rem;
        }
        
        .feature-content p {
            color: var(--text-light);
            line-height: 1.7;
        }
        
        .features-visual {
            text-align: center;
            position: relative;
        }
        
        .features-placeholder {
            width: 100%;
            height: 350px;
            background: linear-gradient(135deg, var(--primary-light) 0%, var(--bg-color) 100%);
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--primary-color);
            font-size: 1.2rem;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
            transition: all 0.5s ease;
            position: relative;
            overflow: hidden;
        }
        
        .security-animation, .speed-animation, .support-animation, .integration-animation {
            position: absolute;
            width: 100%;
            height: 100%;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            opacity: 0;
            transition: opacity 0.5s ease;
        }
        
        .security-animation.active, .speed-animation.active, 
        .support-animation.active, .integration-animation.active {
            opacity: 1;
        }
        
        .animation-icon {
            font-size: 4rem;
            margin-bottom: 20px;
            animation: pulse 2s infinite;
        }
        
        @keyframes pulse {
            0% { transform: scale(1); }
            50% { transform: scale(1.1); }
            100% { transform: scale(1); }
        }
        
        /* بخش تماس و فوتر */
        .contact {
            background-color: var(--bg-color);
            padding: 80px 0 0;
        }
        
        .contact-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 50px;
            margin-bottom: 60px;
        }
        
        .contact-form {
            background: var(--card-bg);
            border-radius: 12px;
            padding: 40px;
            box-shadow: var(--shadow);
        }
        
        .form-title {
            font-size: 1.5rem;
            margin-bottom: 20px;
            color: var(--text-color);
        }
        
        .form-group {
            margin-bottom: 20px;
        }
        
        .form-input {
            width: 100%;
            padding: 12px 15px;
            border: 1px solid var(--border-color);
            border-radius: 8px;
            background-color: var(--bg-color);
            color: var(--text-color);
            transition: var(--transition);
        }
        
        .form-input:focus {
            outline: none;
            border-color: var(--primary-color);
            box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
        }
        
        .form-textarea {
            min-height: 120px;
            resize: vertical;
        }
        
        .contact-info {
            display: flex;
            flex-direction: column;
            gap: 25px;
        }
        
        .contact-item {
            display: flex;
            align-items: flex-start;
            gap: 15px;
        }
        
        .contact-icon {
            width: 50px;
            height: 50px;
            background-color: var(--primary-light);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--primary-color);
            flex-shrink: 0;
            font-size: 1.2rem;
        }
        
        .contact-details h3 {
            margin-bottom: 5px;
            color: var(--text-color);
        }
        
        .contact-details p {
            color: var(--text-light);
        }
        
        .social-buttons {
            display: flex;
            gap: 15px;
            margin-top: 10px;
        }
        
        .social-button {
            width: 45px;
            height: 45px;
            background-color: var(--primary-light);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--primary-color);
            transition: var(--transition);
        }
        
        .social-button:hover {
            background-color: var(--primary-color);
            color: white;
            transform: translateY(-3px);
        }
        
        /* فوتر */
        footer {
            background-color: #212529;
            color: var(--text-color);
            padding: 60px 0 20px;
        }
        
        .footer-grid {
            display: grid;
            grid-template-columns: 2fr 1fr 1fr 1fr;
            gap: 40px;
            margin-bottom: 40px;
        }
        
        .footer-col h3 {
            font-size: 1.2rem;
            margin-bottom: 25px;
            color: #fff;
        }
        
        .footer-about p {
            color: var(--text-light);
            line-height: 1.7;
            margin-bottom: 20px;
        }
        
        .footer-links li {
            margin-bottom: 12px;
        }
        
        .footer-links a {
            color: var(--text-light);
            transition: var(--transition);
        }
        
        .footer-links a:hover {
            color: var(--primary-color);
            padding-right: 5px;
        }
        
        .trust-badges {
            display: flex;
            gap: 15px;
            margin-top: 20px;
            flex-wrap: wrap;
        }
        
        .trust-badge {
            width: 80px;
            height: 80px;
            background-color: var(--card-bg);
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 0.8rem;
            text-align: center;
            padding: 5px;
            box-shadow: var(--shadow);
        }
        
        .footer-bottom {
            text-align: center;
            padding-top: 25px;
            border-top: 1px solid var(--border-color);
            color: var(--text-light);
            font-size: 0.9rem;
        }
        
        /* رسپانسیو */
        @media (max-width: 992px) {
            .contact-grid {
                grid-template-columns: 1fr;
                gap: 40px;
            }
            
            .footer-grid {
                grid-template-columns: 1fr 1fr;
                gap: 40px 30px;
            }
            
            .footer-about {
                grid-column: 1 / -1;
            }
        }
        
        @media (max-width: 768px) {
            .hero-inner {
                flex-direction: column;
            }
            
            .hero-actions {
                justify-content: center;
            }
            
            .nav-links {
                display: none;
            }
            
            .hero-title {
                font-size: 2.2rem;
            }
            
            .section-title {
                font-size: 1.8rem;
            }
            
            .pricing-card.featured {
                transform: scale(1);
            }
            
            .pricing-card.featured:hover {
                transform: translateY(-10px);
            }
        }
        
        @media (max-width: 576px) {
            .hero-stats {
                flex-direction: column;
                gap: 20px;
            }
            
            .cards-grid, .benefits-grid, .testimonials-grid, .pricing-grid {
                grid-template-columns: 1fr;
            }
            
            .footer-grid {
                grid-template-columns: 1fr;
            }
            
            .stats-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }
		
		/* 1) متغیرها: ارتفاع هدر و ارتفاع نوار ادمین وردپرس */
:root { --header-h: 88px; }            /* عدد را با ارتفاع واقعی هدر خودت تنظیم کن */
body { --adminbar-h: 0px; }
body.admin-bar { --adminbar-h: 32px; } /* دسکتاپ */
@media (max-width: 782px) {
  body.admin-bar { --adminbar-h: 46px; } /* موبایل/تبلت */
}

/* 2) هدر ثابت و همیشه روی همه‌چیز */
.site-header, header {
  position: fixed;

  right: 0; left: 0;
  z-index: 2147483647;
  isolation: isolate;                  /* استک مستقل → زیرمنو روی همه‌چیز می‌آید */
background: var(--header-bg);
  overflow: visible;
  min-height: var(--header-h);         /* ارتفاع واقعی */
  display: block;
}

/* 3) جا باز شود تا محتوا زیر هدر نرود (عنوان صفحه هم دیگر نمی‌خورد) */
body {
  padding-top: calc(var(--header-h) + var(--adminbar-h));
}

/* 4) زیرمنوها بالاتر از محتوا */
.nav-links > li.dropdown { position: relative; }
.nav-links .dropdown .dropdown-content{
  position: absolute;
  top: 100%;
  right: 0;                            /* RTL */
  z-index: 2147483647;
  /* اگر پس‌زمینه/بوردر لازم داری، همین‌جا اضافه کن */
}

/* 5) جلوگیری از بریدن زیرمنو توسط والدها */
.site-header, .header-inner, .site-main { overflow: visible; }

/* 6) حذف هر المان اضافی (مثل دکمه‌های +/−) که بعضی افزونه‌ها داخل dropdown می‌ریزند */
.nav-links .dropdown .dropdown-content > :not(a) {
  display: none !important;
}

/* 7) برای اطمینان: محتوا استکی بالاتر از صفر ولی پایین‌تر از هدر داشته باشد */
.site-main, .main, .content { position: relative; z-index: 1;     padding-top: 30px;}
/* 1) مطمئن شو خود UL اصلاً مارکر (بولت/+-) نداره */
.nav-links,
.nav-links li { list-style: none !important; }

/* 2) هر چیزی غیر از <a> داخل dropdown-content نمایش داده نشه
   (بعضی افزونه‌ها دکمه/اسپن/آیکون +/− می‌ریزند) */
.nav-links .dropdown .dropdown-content > :not(a) {
  display: none !important;
}

/* 3) اگر افزونه‌ها کنار لینک دکمه‌ی باز/بستن گذاشته‌اند، مخفی کن */
.nav-links .dropdown > button,
.nav-links .dropdown .submenu-toggle,
.nav-links .dropdown .toggle-submenu,
.nav-links .dropdown .menu-toggle,
.nav-links .dropdown .indicator {
  display: none !important;
}

/* 4) هر علامت تزریقی با pseudo-element (قبل/بعد لینک‌ها یا liها) را حذف کن */
.nav-links > li::before,
.nav-links > li::after,
.nav-links a::before,
.nav-links a::after {
  content: none !important;
}

/* 5) فقط آیکون فلش خودت را نگه دار (اگر نمی‌خواهی، این هم کامنت شود) */
.nav-links > li.dropdown > a i { margin-inline-start: .35rem; }

/* 6) امن‌سازی: overflow و z-index برای دیده‌شدن کامل دراپ‌داون */
.site-header, .header-inner { overflow: visible; }
.nav-links > li.dropdown { position: relative; }
.nav-links .dropdown .dropdown-content {
  position: absolute; top: 100%; inset-inline-end: 0;
  z-index: 2147483647;
}

/* ====== پایه‌ی همبرگری ====== */
.nav-toggle { display:none; background:transparent; border:0; padding:.5rem; margin-inline-start:.5rem; cursor:pointer; }
.nav-toggle .bar { display:block; width:22px; height:2px; margin:4px 0; }

/* دسکتاپ: منو افقی، زیرمنو position:absolute (همان قبلی) */
@media (min-width: 993px){
  .nav-links { display:flex; gap:.75rem; }
  .nav-links > li { position:relative; }
  .nav-links .dropdown .dropdown-content{
    position:absolute; top:100%; inset-inline-end:0;
    /* بقیه‌ی استایل دراپ‌داون دسکتاپ خودت */
  }
}

/* موبایل: همبرگری + منوی کشویی تمام‌عرض */
@media (max-width: 992px){
  .nav-toggle { display:inline-flex; align-items:center; justify-content:center; }

  /* خود منو اول مخفی است */
  .nav-links {
    display:none;
    position: fixed;
    top: calc(var(--adminbar-h, 0px) + var(--header-h));
    inset-inline: 0;
    background:#fff;
    border-top: 1px solid #eee;
    max-height: calc(100dvh - var(--adminbar-h, 0px) - var(--header-h));
    overflow:auto;
    padding: .5rem 1rem;
    z-index: 2147483647;
  }
  .nav-links.is-open { display:block; }       /* با JS این کلاس اضافه می‌شود */

  /* آیتم‌ها ستونی شوند */
  .nav-links > li { border-bottom:1px solid #f2f2f2; }
  .nav-links > li > a { display:block; padding: .75rem .25rem; }

  /* زیرمنو در موبایل: استاتیک و پیش‌فرض مخفی */
  .nav-links .dropdown .dropdown-content{
    position: static;
    display:none;
    padding: 0 0 .5rem;
  }
  /* وقتی والد open شد، نشان بده */
  .nav-links li.open > .dropdown-content { display:block; }

  /* هر عنصر اضافی داخل dropdown (مثل +/-) را حذف کن */
  .nav-links .dropdown .dropdown-content > :not(a){ display:none !important; }
  .nav-links > li::before, .nav-links > li::after,
  .nav-links a::before, .nav-links a::after { content:none !important; }
}

/* هدر ثابت (قبلی) — فقط یادآوری: ارتفاع واقعی هدر را درست بگذار */
:root { --header-h: 88px; }
body { --adminbar-h: 0px; }
body.admin-bar { --adminbar-h: 32px; }
@media (max-width: 782px){ body.admin-bar { --adminbar-h: 46px; } }

.site-header { position: fixed; top: var(--adminbar-h); inset-inline:0; z-index:2147483647; isolation:isolate; background:#fff; min-height: var(--header-h); overflow:visible; }
body { padding-top: calc(var(--header-h) + var(--adminbar-h)); }


/* دکمه همبرگری – تضمین نمایش */
.nav-toggle{
  display: none;                 /* دسکتاپ پنهان */
  background: transparent;
  border: 0;
  padding: .5rem;
  margin-inline-start: .5rem;
  cursor: pointer;
  line-height: 1;
  color: #111;                   /* رنگ میله‌ها از این می‌آید (currentColor) */
  position: relative;
  z-index: 2147483647;           /* همواره روی هرچیز دیگری در هدر */
}
.nav-toggle .bar{
  display: block;
  width: 22px;
  height: 2px;
  margin: 4px 0;
  background: currentColor;      /* خود میله‌ها دیده شوند */
  border-radius: 2px;
}

/* در پس‌زمینه تیره، رنگ روشن شود (اگر تم تیره داری) */
.dark .nav-toggle{ color:#fff; }

/* چینش هدر مطمئن و منعطف */
.header-inner{
  display: flex;
  align-items: center;
  gap: 1rem;
}
.logo{ flex: 0 0 auto; }
.primary-nav{ flex: 1 1 auto; }
.header-actions{ flex: 0 0 auto; }

/* موبایل: دکمه را نشان بده، منو را مخفی کن تا با کلاس is-open باز شود */
@media (max-width: 992px){
  .nav-toggle{ display: inline-flex; align-items: center; justify-content: center; }
  .primary-nav .nav-links{ display: none; }
  .primary-nav .nav-links.is-open{ display: block; }
}

/* اگر چیزی روی دکمه می‌افتاد، اجازه کلیک بده */
.site-header, .header-inner{ overflow: visible; }

/* دکمهٔ همبرگری: سه‌خط فقط با background، بدون span */
.nav-toggle{
  display:none;              /* دسکتاپ پنهان */
  width:24px; height:16px;
  border:0; background:transparent; cursor:pointer;
  /* سه‌خط: بالا/وسط/پایین */
  background:
    linear-gradient(currentColor 0 0) 0 0/100% 2px no-repeat,
    linear-gradient(currentColor 0 0) 0 50%/100% 2px no-repeat,
    linear-gradient(currentColor 0 0) 0 100%/100% 2px no-repeat;
  color:#111;                /* رنگ خطوط */
}
.dark .nav-toggle{ color:#fff; } /* اگر تم تیره داری */

@media (max-width: 992px){
  .nav-toggle{ display:inline-block; vertical-align:middle; }
  /* منو در موبایل با کلاس is-open باز شود (طبق JS فعلی‌ات) */
  .primary-nav .nav-links{ display:none; }
  .primary-nav .nav-links.is-open{ display:block; }
}


.wc-block-components-sidebar-layout .wc-block-components-main {
    width: 50% !important;
	padding-right:20px;
}



body:not(.woocommerce-block-theme-has-button-styles) .wc-block-components-button:not(.is-link) {
	color:#fff;
	font-weight: bold;
    min-height: 3em;
	background:#007bff;
	border-radius: 5px;
	border:1px solid #007bff;
	  font-family: 'Vazir';
}

.wp-block-button__link {
    color: #fff;
    background-color: #007bff; 
    border-radius: 5px;
    box-shadow: none;
    text-decoration: none;
    padding: calc(.667em + 2px) calc(1.333em + 2px);
    font-size: 1.125em;
}

.wc-block-grid__product.wc-block-grid__product {
	background: var(--card-bg);
    border-radius: 12px;
    padding: 40px 30px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border-color);
    text-align: center;
    position: relative;
	margin: 10px;
	
	
}


  .wc-block-grid__product:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
        }
        
        .wc-block-grid__product:hover {
            transform: scale(1.05) translateY(-10px);
        }
		
		
.woocommerce ul.products li.product{
	background: var(--card-bg);
    border-radius: 12px;
    padding: 40px 30px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border-color);
    text-align: center;
    position: relative;
	margin: 10px;
}
.woocommerce ul.products li.product:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
        }
		
ul.products li.product .button {
	    color: #fff;
    background-color: #007bff; 
    border-radius: 10px;
    box-shadow: none;
    text-decoration: none;
    padding: calc(.667em + 2px) calc(1.333em + 2px);
    font-size: 1.125em;
}


.woocommerce-error li, .woocommerce-info, .woocommerce-message {
    padding: 1.5rem 3rem;
    background: #007bff9e;
    display: flex;
    justify-content: space-between;
}

 
	nav a[aria-current="page"] {
    background: none !important;
}
.woocommerce-account .woocommerce-MyAccount-navigation-link a {
    color: currentcolor !important;
    font-weight: 400 !important;
    font-size: 1rem;
	
}

    .woocommerce-account .woocommerce-MyAccount-navigation li {
        margin-left: 1px !important;
		margin-bottom: -11px;
        padding: 10px;
        border-bottom: 0;
    }
	
	.entry-title {
    margin: 0 0 3.5rem !important;
}


.woocommerce-account .woocommerce-MyAccount-content p {

    font-size: 1rem;
}

.woocommerce-account .woocommerce-EditAccountForm label {
    font-size: 1rem;
}

.woocommerce-account .woocommerce-EditAccountForm input, .woocommerce-account .woocommerce-EditAccountForm select {

    font-size: 1rem;
}

.woocommerce form .form-row .input-text, .woocommerce form .form-row select {
	border: 1px solid #007bff ;
}
.woocommerce-button.button.woocommerce-form-login__submit, .woocommerce-Button.woocommerce-button.button.woocommerce-form-register__submit, .single-product .single_add_to_cart_button, .woocommerce-account .woocommerce-MyAccount-navigation li {
	color: #fff !important;
    background-color: #007bff ; 
    border-radius: 5px;
	border:1px solid #007bff;
    box-shadow: none;
    text-decoration: none;
    padding: 5px 5px;
    font-size: 1em;	
	min-width: 120px;
}
.woocommerce-ordering, .woocommerce-result-count {
     display: none; 
}
.wc-block-cart-item__remove-link {
	text-decoration: none !important;
	color: #fff !important;
    background-color: red !important;
	border-radius: 5px !important;
	padding: 10px  !important;
}

.body a {
    color: red;
    text-decoration: none;
    transition: var(--transition);
}

ul.products li.product .button {
    width: 100%;
    color: #fff;
    background-color: #007bff; 
    border-radius: 5px;
    box-shadow: none;
    text-decoration: none;
    padding: calc(.667em + 2px) calc(1.333em + 2px); 
    font-size: 1.125em;
	border:1px solid #007bff; 
}
.btn-products-outline {
	  width: 100%;
    padding: 10px;
    border-radius: 10px;
	border:1px solid #007bff; 
    color: #007bff   !important;
	background-color: #fff   !important;
}

.posts-grid{ display:grid; grid-template-columns:repeat(auto-fit,minmax(280px,1fr)); gap:24px; }
.post-card{  background:var(--card-bg,#fff); border:1px solid var(--border-color,#eee); border-radius:12px; box-shadow:var(--shadow,0 8px 24px rgba(0,0,0,.06)); overflow:hidden; display:flex; flex-direction:column; transition:transform .18s, box-shadow .18s; }
.post-card:hover{ transform:translateY(-6px); box-shadow:0 12px 28px rgba(0,0,0,.08); }
.post-card__thumb{ display:block; aspect-ratio:16/9; background:#f3f4f6; }
.post-card__thumb img{ width:100%; height:100% !important; object-fit:cover; display:block; }
.post-card__body{ padding:14px 16px 16px; }
.post-card__meta{ display:flex; align-items:center; justify-content:space-between; gap:10px; color:var(--text-light,#666); font-size:.85rem; }
.post-card__cat{ background:var(--bg-secondary,#f8fafc); border:1px solid var(--border-color,#eee); border-radius:999px; padding:.15rem .6rem; }
.post-card__title{ font-size:1.05rem; margin:.5rem 0 .35rem; line-height:1.5; }
.post-card__title a{ color:var(--text-color,#111); text-decoration:none; }
.post-card__excerpt{ margin:0 0 .75rem; color:var(--text-light,#555); line-height:1.9; text-align:right; }
.post-card__actions{ margin-top:auto; }
.btn.btn-sm{ width: 100%; padding:.5rem .75rem; font-size:.92rem; }

.site-main, .main, .content {
    
     
	 transition:transform .18s, box-shadow .18s; 
    
	margin-bottom:50px;
    position: relative;
    padding: 30px;
}

/* === دیدگاه‌ها === */
.comments-area {
  margin-top: 3rem;
  background: var(--bg-secondary, #f9fafb);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: var(--shadow, 0 8px 24px rgba(0,0,0,.06));
}

.comments-title {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: var(--text-color, #111);
}

/* لیست دیدگاه‌ها */
.comment-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.comment {
  background: var(--card-bg, #fff);
  border: 1px solid var(--border-color, #eee);
  border-radius: 12px;
  padding: 1rem 1.25rem;
  margin-bottom: 1rem;
  box-shadow: 0 6px 20px rgba(0,0,0,0.03);
}

.comment .comment-body {
  display: flex;
  flex-direction: row-reverse; /* برای راست‌چین */
  gap: 1rem;
  align-items: flex-start;
}

/* آواتار کاربر */
.comment .avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  flex-shrink: 0;
  border: 2px solid var(--primary-color, #007bff);
}

/* محتوای دیدگاه */
.comment .comment-content {
  flex: 1;
  text-align: right;
}

.comment .fn {
  font-weight: 600;
  color: var(--text-color, #111);
  margin-left: .25rem;
}
.comment time {
  color: var(--text-light, #666);
  font-size: 0.85rem;
}

/* متن */
.comment p {
  margin: .5rem 0 0;
  line-height: 1.9;
  color: var(--text-color, #333);
}

/* پاسخ */
.comment-reply-link {
  display: inline-block;
  margin-top: .5rem;
  font-size: .9rem;
  color: var(--primary-color, #007bff);
  text-decoration: none;
  font-weight: 500;
}
.comment-reply-link:hover {
  text-decoration: underline;
}

/* دیدگاه‌های تو در تو */
.comment .children {
  margin-top: 1rem;
  margin-right: 2rem; /* راست‌چین */
  border-right: 2px solid var(--border-color, #eee);
  padding-right: 1rem;
}

/* === فرم دیدگاه === */
.comment-respond {
  margin-top: 2rem;
  background: var(--card-bg, #fff);
  border-radius: 12px;
  padding: 1.5rem 1.75rem;
  box-shadow: var(--shadow, 0 6px 20px rgba(0,0,0,.04));
}

.comment-reply-title {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text-color, #111);
}

.comment-form {
  display: grid;
  gap: 1rem;
}
.comment-form label {
  display: block;
  font-size: .9rem;
  color: var(--text-light, #666);
  margin-bottom: .25rem;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
  width: 100%;
  border: 1px solid var(--border-color, #ddd);
  border-radius: 8px;
  padding: .6rem .8rem;
  font-size: .95rem;
  background: var(--bg-secondary, #fafafa);
  color: var(--text-color, #222);
  transition: border-color .2s, background .2s;
}

.comment-form input:focus,
.comment-form textarea:focus {
  border-color: var(--primary-color, #007bff);
  background: #fff;
  outline: none;
}

.comment-form textarea {
  min-height: 140px;
  resize: vertical;
}

/* دکمه ارسال */
.comment-form .form-submit input[type="submit"] {
  background: var(--primary-color, #007bff);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: .7rem 1.4rem;
  font-size: .95rem;
  cursor: pointer;
  transition: background .2s;
  width: 100%;
  font-family: 'Vazir';
}
.comment-form .form-submit input[type="submit"]:hover {
  background: var(--primary-hover, #0056d2);
}
.header-actions{ display:flex; align-items:center; gap:1rem; }
.user-icon,.cart-icon,.theme-toggle{
  position:relative; display:flex; align-items:center; justify-content:center;
  width:40px; height:40px; border-radius:50%;
  background:var(--bg-secondary,#f5f5f5); color:var(--text-color,#333);
  transition:all .2s ease;
}
.user-icon:hover,.cart-icon:hover,.theme-toggle:hover{ background:var(--primary-color,#0b5fff); color:#fff; transform:translateY(-2px); }
.icon{ width:20px; height:20px; fill:currentColor; display:block; }

/* نشان قرمز تعداد آیتم‌های سبد */
.cart-count{
  position:absolute; top:-6px; left:-6px;
  background:#e63946; color:#fff; font-size:.75rem; font-weight:700;
  border-radius:999px; padding:2px 6px; line-height:1; min-width:18px; text-align:center;
}



.woocommerce ul.products.columns-4 li.product {
    width: calc(33% - 33px)!important;
}


.woocommerce ul.products li.product {

    box-sizing: content-box !important;
}




