/* ===== Overlay + Popup ===== */

button, input, textarea, select {font-family: inherit;}


.overlay {
    background: rgba(0, 0, 0, .3);
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    visibility: hidden;
}
.overlay.active {
    visibility: visible;
    background-color: #6f6f6f61;
}

.popup {
    background: #F8F8F8;
    box-shadow: 0 0 5px rgba(0,0,0,.3);
    border-radius: 3px;
    width: 80%;
    transition: .3s ease all;
    transform: scale(.7);
    opacity: 0;
}

.popup.active {
    transform: scale(1);
    opacity: 1;
}

.popup .btn-cerrar-popup {
    font-size: 20px;
    color: #BBB;
    padding: 10px;
    text-align: right;
    transition: .3s ease all;
}
.popup .btn-cerrar-popup:hover {
    color: #000;
}

.popup h3,
.popup h4,
.popup form .contenedor-inputs {
    opacity: 0;
}

.popup.active h3 {
    animation: entradaTitulo .8s ease .5s forwards;
}
.popup.active h4 {
    animation: entradaSubtitulo .8s ease .5s forwards;
}
.popup.active .contenedor-inputs {
    animation: entradaInputs 1s linear 1s forwards;
}

.popup form .contenedor-inputs input {
    width: 100%;
    margin-bottom: 20px;
    height: 52px;
    font-size: 18px;
    line-height: 52px;
    text-align: center;
    border: 1px solid #BBB;
}

.popup form .btn-submit {
    padding: 0 20px;
    height: 40px;
    line-height: 40px;
    border: none;
    color: #fff;
    background: #5E7DE3;
    border-radius: 3px;
    font-size: 16px;
    cursor: pointer;
    transition: .3s ease all;
}
.popup form .btn-submit:hover {
    background: rgba(94,125,227,.9);
}

@keyframes entradaTitulo {
    from { opacity: 0; transform: translateY(-25px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes entradaSubtitulo {
    from { opacity: 0; transform: translateY(25px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes entradaInputs {
    from { opacity: 0; }
    to { opacity: 1; }
}



/* ===== Sticky Message ===== */
.massagestik {
    box-shadow: 2px 2px 5px #fff;
    background: #FFE82C;
    border-left: 1px solid #FFF;
    border-top: 2px solid #ED453D;
    border-bottom: 2px solid #ED453D;
    position: sticky;
    top: 0;
}




/* ===== header ===== */




/* متغیرهای CSS */
:root {
    --primary-color: #0089ff;
    --text-color: #333;
    --border-color: #e7e7e7;
    --background-color: #ffffff;
    --hover-background: #f8f9fa;
    --border-radius: 8px;
    --transition: all 0.3s ease;
}

/* هدر */
.flat-header {
    width: 100%;
    border-bottom: 1px solid var(--border-color);
    background: var(--background-color);
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: relative;
}

.header-inner {
    max-width: 1300px;
    margin: 0 auto;
    padding: 14px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* لوگو */
.header-logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--text-color);
    font-size: 22px;
    font-weight: bold;
    transition: var(--transition);
}

.header-logo a:hover {
    color: var(--primary-color);
}

.header-logo img {
    width: 42px;
    height: 42px;
    margin-left: 10px;
    border-radius: 50%;
}

/* منوی اصلی */
.header-nav .nav-list {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--text-color);
    font-size: 15px;
    padding: 8px 16px;
    border-radius: var(--border-radius);
    transition: var(--transition);
    white-space: nowrap;
}

.nav-link:hover {
    background: var(--hover-background);
    color: var(--primary-color);
}

/* مگا منو */
.mega-menu-parent {
    position: relative;
}

.mega-menu {
    position: absolute;
    right: 0;
    top: 100%;
    width: 650px;
    max-height: 400px;
    padding: 22px;
    background: var(--background-color);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #c1c1c1 #f0f0f0;
}

.mega-menu::-webkit-scrollbar {
    width: 6px;
}

.mega-menu::-webkit-scrollbar-track {
    background: #f0f0f0;
    border-radius: 3px;
}

.mega-menu::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}

.mega-menu::-webkit-scrollbar-thumb:hover {
    background: #a1a1a1;
}

.mega-menu-parent:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* آیتم‌های مگا منو */
.flat-mega-item {
    min-height: 0;
}

.flat-mega-title {
    display: block;
    font-weight: bold;
    margin-bottom: 12px;
    color: var(--text-color);
    text-decoration: none;
    font-size: 16px;
    padding: 8px 0;
    border-bottom: 2px solid var(--primary-color);
    transition: var(--transition);
}

.flat-mega-title:hover {
    color: var(--primary-color);
    background: var(--hover-background);
    padding-right: 8px;
    border-radius: 4px;
}

.flat-mega-link {
    display: block;
    color: #444;
    text-decoration: none;
    margin: 6px 0;
    font-size: 14px;
    padding: 6px 12px;
    border-radius: 4px;
    transition: var(--transition);
    border-right: 3px solid transparent;
}

.flat-mega-link:hover {
    color: var(--primary-color);
    background: var(--hover-background);
    border-right-color: var(--primary-color);
}

/* بخش اقدامات */
.header-actions {
    display: flex;
    gap: 12px;
    align-items: center;
}

.action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: none;
    background: none;
    color: var(--text-color);
    text-decoration: none;
    border-radius: 50%;
    transition: var(--transition);
    cursor: pointer;
}

.action-btn:hover {
    background: var(--hover-background);
    color: var(--primary-color);
}

/* دکمه منوی موبایل */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-color);
    transition: var(--transition);
}

/* منوی موبایل */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    height: 100%;
    background: var(--background-color);
    border-left: 1px solid var(--border-color);
    transition: var(--transition);
    padding: 20px;
    z-index: 1001;
    overflow-y: auto;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-header {
    display: flex;
    justify-content: flex-start;
    margin-bottom: 20px;
}

.mobile-menu-close {
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    color: var(--text-color);
    padding: 8px;
}

.mobile-search {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.mobile-nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-nav-item {
    border-bottom: 1px solid var(--border-color);
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 0;
    text-decoration: none;
    color: var(--text-color);
    font-size: 16px;
    transition: var(--transition);
}

.mobile-nav-link:hover {
    color: var(--primary-color);
}

/* استایل‌های مخصوص دسته‌بندی‌های موبایل */
.mobile-categories-item {
    border-bottom: 1px solid var(--border-color);
}

.mobile-categories-section {
    padding: 15px 0;
}

.mobile-categories-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: bold;
    color: var(--text-color);
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
}

.mobile-categories {
    max-height: 60vh;
    overflow-y: auto;
    background: #f9f9f9;
    border-radius: var(--border-radius);
    padding: 15px;
}

.mobile-categories .flat-mega-item {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #ddd;
    animation: fadeInUp 0.3s ease-out;
}

.mobile-categories .flat-mega-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.mobile-categories .flat-mega-title {
    display: block;
    font-weight: bold;
    margin-bottom: 10px;
    color: white;
    text-decoration: none;
    font-size: 15px;
    padding: 10px 12px;
    background: var(--primary-color);
    border-radius: 6px;
    transition: var(--transition);
    border-bottom: none;
}

.mobile-categories .flat-mega-title:hover {
    background: #0077e6;
    transform: translateX(-5px);
    color: white;
}

.mobile-categories .flat-mega-link {
    display: block;
    color: #555;
    text-decoration: none;
    margin: 6px 0;
    font-size: 14px;
    padding: 8px 15px;
    border-radius: 4px;
    transition: var(--transition);
    border-right: 3px solid transparent;
    background: white;
}

.mobile-categories .flat-mega-link:hover {
    color: var(--primary-color);
    background: var(--hover-background);
    border-right-color: var(--primary-color);
    transform: translateX(-5px);
}

/* انیمیشن برای دسته‌بندی‌ها */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mobile-categories .flat-mega-item:nth-child(1) { animation-delay: 0.05s; }
.mobile-categories .flat-mega-item:nth-child(2) { animation-delay: 0.1s; }
.mobile-categories .flat-mega-item:nth-child(3) { animation-delay: 0.15s; }
.mobile-categories .flat-mega-item:nth-child(4) { animation-delay: 0.2s; }
.mobile-categories .flat-mega-item:nth-child(5) { animation-delay: 0.25s; }

/* اسکرول بار برای دسته‌بندی‌های موبایل */
.mobile-categories::-webkit-scrollbar {
    width: 4px;
}

.mobile-categories::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 2px;
}

.mobile-categories::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 2px;
}

.mobile-categories::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

/* Modal جستجو */
.modal-search {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1002;
}

.modal-search.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-search-content {
    background: var(--background-color);
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    width: 90%;
    max-width: 90%;
}

.modal-search-header {
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.modal-search-close {
    font-size: 30px;
    cursor: pointer;
    color: var(--text-color);
    transition: var(--transition);
    padding: 10px;
}

.modal-search-close:hover {
    color: #ff0000;
}

.modal-search-body {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.live-search-input {
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 16px;
    transition: var(--transition);
    flex-shrink: 0;
}

.live-search-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(0, 137, 255, 0.1);
}

/* کانتینر جدید برای نتایج جستجو */
.search-results-container {
    flex: 1;
    min-height: 150px;
    max-height: 150px;
    margin-top: 15px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    background: #f9f9f9;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.search-results {
    flex: 1;
    overflow-y: auto;
    max-height: 100%;
    padding: 10px;
}

/* استایل‌های پیشرفته برای نتایج جستجو */
.search-results p {
    margin: 0;
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.2s;
}

.search-results p:last-child {
    border-bottom: none;
}

.search-results p:hover {
    background-color: #f8f9fa;
}

.search-results .dl_a_s {
	background-color: #873bff;
    display: flex;
    align-items: center;
    padding: 12px 15px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    line-height: 1.4;
    transition: all 0.2s;
    border-radius: 4px;
}

.search-results .dl_a_s:hover {
    color: var(--primary-color);
    transform: translateX(-3px);
}

.search-results .fa {
    margin-right: 8px;
    font-size: 12px;
    color: #fbff00;
    min-width: 16px;
}

.search-loading, 
.search-error, 
.search-message,
.no-results {
    padding: 30px 20px;
    text-align: center;
    color: #666;
    font-size: 14px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    height: 100%;
}

.search-loading {
    color: var(--primary-color);
}

.search-loading::before {
    content: "⏳";
    font-size: 24px;
    margin-bottom: 10px;
}

.search-error {
    color: #dc3545;
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
}

.search-error::before {
    content: "⚠️";
    font-size: 24px;
    margin-bottom: 10px;
}

.search-message {
    color: #856404;
    background-color: #fff3cd;
    border: 1px solid #ffeaa7;
}

.no-results {
    color: #6c757d;
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
}

.no-results::before {
    content: "🔍";
    font-size: 24px;
    margin-bottom: 10px;
}

/* اسکرول بار پیشرفته برای نتایج جستجو */
.search-results::-webkit-scrollbar {
    width: 8px;
}

.search-results::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
    margin: 4px;
}

.search-results::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 4px;
    border: 2px solid #f1f1f1;
}

.search-results::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

.search-results::-webkit-scrollbar-thumb:active {
    background: #909090;
}

/* برای مرورگرهای فایرفاکس */
.search-results {
    scrollbar-width: thin;
    scrollbar-color: #c1c1c1 #f1f1f1;
}

/* رسپانسیو */
@media (max-width: 950px) {
    .header-nav,
    .header-actions {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .mega-menu {
        width: 300px;
        grid-template-columns: 1fr;
    }
    
    .modal-search-content {
        width: 95%;
        max-height: 90vh;
        margin: 20px;
    }
    
    .search-results-container {
        max-height: 150px;
    }
}

@media (max-width: 768px) {
    .header-inner {
        padding: 10px 15px;
    }
    
    .header-logo span {
        font-size: 18px;
    }
    
    .modal-search-body {
        padding: 15px;
    }
    
    .search-results-container {
        max-height: 150px;
    }
}

@media (max-width: 480px) {
    .mobile-categories {
        padding: 10px;
    }
    
    .mobile-categories .flat-mega-title {
        font-size: 14px;
        padding: 8px 10px;
    }
    
    .mobile-categories .flat-mega-link {
        font-size: 13px;
        padding: 6px 12px;
    }
    
    .mobile-nav-link {
        font-size: 15px;
        padding: 12px 0;
    }
    
    .modal-search-header h2 {
        font-size: 16px;
    }
    
    .search-results .dl_a_s {
        padding: 10px 12px;
        font-size: 13px;
    }
    
    .search-results-container {
        max-height: 150px;
    }
}

/* انیمیشن برای نتایج جستجو */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.search-results p {
    animation: slideInUp 0.3s ease-out;
}

.search-results p:nth-child(1) { animation-delay: 0.05s; }
.search-results p:nth-child(2) { animation-delay: 0.1s; }
.search-results p:nth-child(3) { animation-delay: 0.15s; }
.search-results p:nth-child(4) { animation-delay: 0.2s; }
.search-results p:nth-child(5) { animation-delay: 0.25s; }

/* استایل شمارنده سبد خرید */
.cart-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-count {
    position: absolute;
	display: none;
    top: -5px;
    right: -5px;
    background: #ff4444;
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 10px;
    font-weight: bold;
    align-items: center;
    justify-content: center;
    line-height: 1;
    border: 2px solid white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    animation: pulse 2s infinite;
    transition: all 0.3s ease;
}

/* انیمیشن برای جلب توجه */
@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 68, 68, 0.7);
    }
    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 6px rgba(255, 68, 68, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 68, 68, 0);
    }
}

/* حالت hover */
.cart-btn:hover .cart-count {

    transform: scale(1.1);
}


/* ===== footer ===== */


        :root {
            --primary: #7c3aed;
            --primary-dark: #6d28d9;
            --primary-light: #8b5cf6;
            --secondary: #f59e0b;
            --dark: #1e293b;
            --light: #f8fafc;
            --gray: #64748b;
            --gray-light: #cbd5e1;
            --success: #10b981;
            --error: #ef4444;
            --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
            --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
            --transition: all 0.3s ease;
        }
        
       
        /* استایل فوتر */
        .modern-footer {
            background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
            color: var(--light);
            padding: 3rem 0 1rem;
            margin-top: 4rem;
            position: relative;
            overflow: hidden;
        }
        
        .modern-footer::before {
            content: '';
            position: absolute;
            top: 0;
            right: 0;
            width: 100%;
            height: 4px;
            background: linear-gradient(90deg, var(--secondary) 0%, transparent 100%);
        }
        
        .footer-wave {
            position: absolute;
            top: -2px;
            right: 0;
            width: 100%;
            height: 50px;
            background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'%3E%3Cpath d='M321.39,56.44c58-10.79,114.16-30.13,172-41.86,82.39-16.72,168.19-17.73,250.45-.39C823.78,31,906.67,72,985.66,92.83c70.05,18.48,146.53,26.09,214.34,3V0H0V27.35A600.21,600.21,0,0,0,321.39,56.44Z' fill='%23f1f5f9'%3E%3C/path%3E%3C/svg%3E");
            background-size: 1200px 50px;
        }
        
        .footer-container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 1.5rem;
            position: relative;
            z-index: 1;
        }
        
        .footer-content {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 2rem;
            margin-bottom: 2rem;
        }
        
        .footer-section h3 {
            font-size: 1.25rem;
            margin-bottom: 1.5rem;
            position: relative;
            padding-bottom: 0.5rem;
        }
        
        .footer-section h3::after {
            content: '';
            position: absolute;
            bottom: 0;
            right: 0;
            width: 50px;
            height: 2px;
            background-color: var(--secondary);
        }
        
        .footer-links {
            list-style: none;
        }
        
        .footer-links li {
            margin-bottom: 0.75rem;
        }
        
        .footer-links a {
            color: var(--gray-light);
            text-decoration: none;
            transition: var(--transition);
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }
        
        .footer-links a:hover {
            color: var(--light);
            transform: translateX(-5px);
        }
        
        .footer-links a i {
            font-size: 0.875rem;
            width: 20px;
            text-align: center;
        }
        
        .footer-contact p {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            margin-bottom: 1rem;
            color: var(--gray-light);
        }
        
        .footer-contact i {
            color: var(--secondary);
            width: 20px;
            text-align: center;
        }
        
        .social-links {
            display: flex;
            gap: 1px;
            margin-top: 1.5rem;
        }
        
        .social-link {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 40px;
            height: 40px;
            background-color: rgba(255, 255, 255, 0.1);
            border-radius: 50%;
            color: var(--light);
            text-decoration: none;
            transition: var(--transition);
        }
        
        .social-link:hover {
            background-color: var(--secondary);
            transform: translateY(-3px);
        }
        
        .newsletter-form {
            margin-top: 1.5rem;
        }
        
        .newsletter-text {
            color: var(--gray-light);
            margin-bottom: 1rem;
        }
        
        .input-group {
            display: flex;
            background-color: rgba(255, 255, 255, 0.1);
            border-radius: 4px;
            overflow: hidden;
            border: 1px solid rgba(255, 255, 255, 0.2);
        }
        
        .input-group input {
            flex: 1;
            padding: 0.75rem 1rem;
            background: transparent;
            border: none;
            color: var(--light);
            outline: none;
			direction: ltr;
        }
        
        .input-group input::placeholder {
            color: var(--gray-light);
        }
        
        .input-group button {
            padding: 0 1.25rem;
            background-color: var(--secondary);
            color: var(--dark);
            border: none;
            cursor: pointer;
            transition: var(--transition);
            font-weight: 600;
        }
        
        .input-group button:hover {
            background-color: #eab308;
        }
        
        .footer-bottom {
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            padding-top: 1.5rem;
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 1rem;
        }
        
        .footer-logo {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            margin-bottom: 1rem;
        }
        
        .footer-logo img {
            height: 40px;
            width: auto;
            border-radius: 8px;
        }
        
        .footer-logo span {
            font-weight: 700;
            font-size: 1.25rem;
        }
        
        .copyright {
            color: var(--gray-light);
            text-align: center;
            font-size: 0.875rem;
        }
        
        .footer-badges {
            display: flex;
            gap: 1rem;
            flex-wrap: wrap;
            justify-content: center;
        }
        
        .badge {
            background-color: rgba(255, 255, 255, 0.1);
            padding: 0.5rem 1rem;
            border-radius: 20px;
            font-size: 0.75rem;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }
        
        .language-switcher {
            margin-top: 1rem;
        }
        
        .lang-btn {
            background-color: rgba(255, 255, 255, 0.1);
            color: var(--light);
            border: 1px solid rgba(255, 255, 255, 0.2);
            padding: 3px;
            border-radius: 4px;
            cursor: pointer;
            transition: var(--transition);
            display: flex;
            align-items: center;
            gap: 1px;
        }
        
        .lang-btn:hover {
            background-color: rgba(255, 255, 255, 0.2);
        }
        
        /* طراحی واکنش‌گرا */
        @media (max-width: 768px) {
            .footer-content {
                grid-template-columns: 1fr;
                gap: 2rem;
            }
            
            .footer-bottom {
                flex-direction: column;
                text-align: center;
            }
            
            .input-group {
                flex-direction: column;
            }
            
            .input-group input, .input-group button {
                width: 100%;
            }
            
            .input-group button {
                padding: 0.75rem;
            }
        }
        
        /* انیمیشن‌ها */
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        
        .footer-section {
            animation: fadeInUp 0.5s ease forwards;
            opacity: 0;
        }
        
        .footer-section:nth-child(1) { animation-delay: 0.1s; }
        .footer-section:nth-child(2) { animation-delay: 0.2s; }
        .footer-section:nth-child(3) { animation-delay: 0.3s; }
        .footer-section:nth-child(4) { animation-delay: 0.4s; }
        
* {box-sizing: border-box;}
.row::after {content: "";clear: both;display: table;}
[class*="col-"] {float: left;padding: 15px;}
.col-1 {width: 8.33%;}
.col-2 {width: 16.66%;}
.col-3 {width: 25%;}
.col-4 {width: 33.33%;}
.col-5 {width: 41.66%;}
.col-6 {width: 50%;}
.col-7 {width: 58.33%;}
.col-8 {width: 66.66%;}
.col-9 {width: 75%;}
.col-10 {width: 83.33%;}
.col-11 {width: 91.66%;}
.col-12 {width: 100%;}
.container input[type=text],input[type=submit]{display:inline-block;border:1px solid #ccc;box-sizing:border-box;}
.container input[type=checkbox]{margin-top:16px;}
.container input[type=submit]{background-color:#074D00;color:white;border:none;font-size:16px}
.container input[type=submit]:hover{opacity:.8;}
pre {
  background-color: #1e1e1e;
  color: #f5f5f5;
  padding: 16px;
  border-radius: 8px;
  overflow-x: auto;
  font-family: Consolas, Monaco, "Courier New", monospace;
  font-size: 14px;
  line-height: 1.6;
  direction: ltr;
  text-align: left;
}
.header-actions button i{font-size: 18px;}
.header-actions a i{font-size: 18px;}

