    /**
    * Ahanit Theme Stylesheet (Desktop First)
    *
    * Version: 2.0 (Optimized & Refactored)
    * This file contains all global, header, footer, and archive styles.
    * Single product page styles are now located within their respective template parts.
    *
    * @package Ahanit
    * @since 1.0
    */
    /*
    * 1.0 - Local Font Definitions
    * -------------------------------------------------------------------------
    */
    @font-face {
    font-family: 'Vazirmatn';
    src: url('../fonts/Vazirmatn-Thin.woff2') format('woff2');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
    }
    @font-face {
    font-family: 'Vazirmatn';
    src: url('../fonts/Vazirmatn-ExtraLight.woff2') format('woff2');
    font-weight: 200;
    font-style: normal;
    font-display: swap;
    }
    @font-face {
    font-family: 'Vazirmatn';
    src: url('../fonts/Vazirmatn-Light.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
    }
    @font-face {
    font-family: 'Vazirmatn';
    src: url('../fonts/Vazirmatn-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
    }
    @font-face {
    font-family: 'Vazirmatn';
    src: url('../fonts/Vazirmatn-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
    }
    @font-face {
    font-family: 'Vazirmatn';
    src: url('../fonts/Vazirmatn-SemiBold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
    }
    @font-face {
    font-family: 'Vazirmatn';
    src: url('../fonts/Vazirmatn-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
    }
    @font-face {
    font-family: 'Vazirmatn';
    src: url('../fonts/Vazirmatn-ExtraBold.woff2') format('woff2');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
    }
    @font-face {
    font-family: 'Vazirmatn';
    src: url('../fonts/Vazirmatn-Black.woff2') format('woff2');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
    }
    /*
    * 2.0 - General Styles
    * -------------------------------------------------------------------------
    */
    * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
        font-family: 'Vazirmatn', sans-serif;
    }
    body {
        background-color: #ffffff;
        direction: rtl;
        color: #1a1a2e;
    }
    a {
        text-decoration: none;
        color: inherit;
    }
    img {
        max-width: 100%;
        height: auto;
        display: block;
    }
    /*
    * 3.0 - Header & Navigation (Desktop)
    * -------------------------------------------------------------------------
    */
    .header-wrap {
        width: 90vw;
        max-width: calc(90vw);
        margin: 1.6vw auto 0 auto;
        position: fixed;
        left: 0;
        right: 0;
        top: 0;
        z-index: 999;
        display: flex;
        justify-content: center;
        pointer-events: none;
        background: transparent;
    }
    .header-nav-glass {
        width: 100%;
        min-height: 4vw;
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
        border-radius: 1.2vw;
        box-shadow: 0 0.12vw 0.32vw rgba(0, 0, 0, 0.15), 0 0.24vw 0.64vw rgba(0, 0, 0, 0.2), 0 0 0.48vw rgba(106, 90, 205, 0.4);
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-wrap: nowrap;
        padding: 0.5vw 1vw;
        border: 1px solid rgba(255, 255, 255, 0.2);
        pointer-events: all;
        -webkit-backdrop-filter: blur(1vw);
        backdrop-filter: blur(1vw);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }
    .header-nav-glass:hover {
        transform: translateY(-0.16vw);
        box-shadow: 0 0.4vw 0.96vw rgba(0, 0, 0, 0.25), 0 0 0.48vw rgba(106, 90, 205, 0.4);
    }
    .header-logo-center {
        flex: 0 0 10%;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .header-logo-center img {
        display: block;
        width: 3.8vw;
        height: 3.8vw;
        max-width: 100%;
        object-fit: contain;
        transition: transform 0.3s ease;
    }
    .header-logo-center img:hover {
        transform: scale(1.1);
    }
    .menu-section {
        flex: 0 0 45%;
        display: flex;
        align-items: center;
        gap: 0.24vw;
        justify-content: flex-start;
    }
    .menu-list {
        display: flex;
        align-items: center;
        gap: 0.24vw;
        flex-wrap: nowrap;
        list-style: none;
    }
    .menu-item {
        position: relative;
        display: flex;
        align-items: center;
    }
    .menu-link {
        display: flex;
        align-items: center;
        padding: 0.4vw 0.8vw;
        color: #1a1a2e;
        border-radius: 0.6vw;
        font-weight: 500;
        font-size: 1vw;
        background: transparent;
        transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
        border: none;
        text-decoration: none;
    }
    .menu-link .fas.fa-chevron-down {
        font-size: 0.9em;
        opacity: 0.7;
        margin-right: 0.32vw;
        transition: transform 0.2s ease;
        color: #1a1a2e;
    }
    .menu-item:hover .menu-link .fas.fa-chevron-down {
        transform: rotate(180deg);
    }
    .menu-link:hover,
    .menu-link.active {
        background: linear-gradient(45deg, #6a5acd, #8a4af3);
        color: #ffffff;
        transform: translateY(-0.08vw);
    }
    .menu-link:hover .fas, .menu-link.active .fas {
        color: #ffffff;
    }
    /* 3.1 - Mega Menu (Desktop) */
    .has-mega-dropdown {
        position: relative;
    }
    .mega-dropdown {
        display: none;
        position: absolute;
        right: 0;
        top: 100%;
        margin-top: 0.1vw;
        width: 45vw;
        min-width: 380px;
        z-index: 1000;
        background-color: #ffffff;
        border: 1px solid #e0e0e0;
        border-radius: 1.2vw;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
        padding: 1.6vw 1.2vw 1.6vw 0.8vw;
        flex-direction: row;
        gap: 0;
        animation: slideIn 0.3s ease;
    }
    .mega-dropdown::before {
        content: '';
        position: absolute;
        z-index: -1;
        inset: 0;
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.05));
        border: 1px solid rgba(255, 255, 255, 0.25);
        border-radius: 1.2vw;
        -webkit-backdrop-filter: blur(20px);
        backdrop-filter: blur(20px);
    }
    @keyframes slideIn {
        from { opacity: 0; transform: translateY(0.4vw); }
        to { opacity: 1; transform: translateY(0); }
    }
    .has-mega-dropdown:hover .mega-dropdown {
        display: flex;
    }
    .mega-products-list,
    .mega-factories-list,
    .mega-category-preview {
        width: 33.33%;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
    }
    .mega-products-list {
        border-left: 1.2px solid rgba(0, 0, 0, 0.15);
        padding-left: 0.8vw;
    }
    .mega-factories-list {
        padding-right: 0.8vw;
    }
    .mega-products-list ul,
    .mega-factories-list ul {
        margin: 0;
        padding: 0;
        list-style: none;
    }
    .mega-products-list li,
    .mega-factories-list li {
        margin-bottom: 0.8vw;
    }
    .mega-products-list a,
    .mega-factories-list a {
        width: 100%;
        background: transparent;
        color: #6a5acd;
        font-size: 0.9vw;
        border: none;
        border-radius: 0.6vw;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 0.4vw;
        padding: 0.48vw 0.56vw;
        cursor: pointer;
        transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
        text-decoration: none;
    }
    .mega-products-list a .fas.fa-chevron-left {
        color: #6a5acd;
        transition: color 0.2s ease;
    }
    .mega-products-list li.active a,
    .mega-products-list a:hover,
    .mega-factories-list a:hover {
        background: linear-gradient(45deg, #6a5acd, #8a4af3);
        color: #ffffff;
        transform: translateX(-0.16vw);
    }
    .mega-products-list li.active a .fas.fa-chevron-left,
    .mega-products-list a:hover .fas.fa-chevron-left {
        color: #ffffff;
    }
    .mega-category-preview {
        min-width: 108px;
        padding-right: 1.2vw;
        align-items: center;
        gap: 0.8vw;
    }
    .mega-category-img {
        width: 100%;
        max-width: 6.4vw;
        border-radius: 0.6vw;
        box-shadow: 0 1.6px 11.2px rgba(0, 0, 0, 0.4);
        margin-bottom: 0.8vw;
        object-fit: cover;
        transition: transform 0.3s ease;
    }
    .mega-category-img:hover {
        transform: scale(1.05);
    }
    .mega-category-btn {
        display: inline-block;
        padding: 0.56vw 1.76vw;
        border-radius: 0.8vw;
        background: linear-gradient(45deg, #6a5acd, #8a4af3);
        color: #ffffff;
        font-weight: bold;
        font-size: 0.9vw;
        border: none;
        box-shadow: 0 3.2px 16px rgba(0, 0, 0, 0.15);
        transition: background 0.2s ease, transform 0.2s ease, color 0.2s ease;
        text-align: center;
        cursor: pointer;
        text-decoration: none;
    }
    .mega-category-btn:hover {
        background: #e0e0ff;
        color: #1a1a2e;
        transform: translateY(-0.16vw);
    }
    /* 3.2 - Search, User & Contact (Desktop) */
    .search-user-contact-section {
        flex: 0 0 45%;
        display: flex;
        align-items: center;
        gap: 0.64vw;
        justify-content: flex-end;
        position: relative;
    }
    .search-btn,
    .user-btn,
    .contact-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 2.8vw;
        height: 2.8vw;
        border-radius: 50%;
        border: 1px solid transparent;
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
        color: #1a1a2e;
        box-shadow: 0 0.12vw 0.32vw rgba(0, 0, 0, 0.15), 0 0 0.48vw rgba(106, 90, 205, 0.4);
        cursor: pointer;
        transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
        z-index: 10;
        text-decoration: none;
    }
    .contact-btn {
        background: linear-gradient(45deg, #6a5acd, #8a4af3);
        color: #ffffff;
    }
    .search-btn i,
    .user-btn i,
    .contact-btn i {
        font-size: 1.2vw;
    }
    .search-btn:hover,
    .user-btn:hover,
    .contact-btn:hover {
        background: linear-gradient(45deg, #6a5acd, #8a4af3);
        color: #ffffff;
        transform: scale(1.1);
        box-shadow: 0 0 0.8vw rgba(106, 90, 205, 0.7);
    }
    .search-btn.active {
        background: linear-gradient(45deg, #6a5acd, #8a4af3);
        color: #ffffff;
    }
    .search-container {
        position: relative;
    }
    .search-input {
        display: none;
        width: 0;
        height: 2.4vw;
        padding: 0 2.4vw 0 0.8vw;
        border: 1px solid rgba(255, 255, 255, 0.2);
        border-radius: 0.6vw;
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
        color: #1a1a2e;
        font-size: 0.9vw;
        outline: none;
        position: absolute;
        left: 2.24vw;
        top: 50%;
        transform: translateY(-50%);
        -webkit-backdrop-filter: blur(1vw);
        backdrop-filter: blur(1vw);
        transition: width 0.3s ease, opacity 0.3s ease;
        z-index: 9;
    }
    .search-input.active {
        display: block;
        width: 20vw;
        opacity: 1;
        animation: slideInSearch 0.3s ease forwards;
    }
    .search-close {
        position: absolute;
        left: 0.4vw;
        top: 50%;
        transform: translateY(-50%);
        background: transparent;
        border: none;
        color: #1a1a2e;
        font-size: 1vw;
        cursor: pointer;
        opacity: 0;
        transition: opacity 0.2s ease;
        z-index: 11;
    }
    .search-input.active ~ .search-close {
        opacity: 1;
    }
    @keyframes slideInSearch {
        from { width: 0; opacity: 0; }
        to { width: 20vw; opacity: 1; }
    }
    /* 3.3 - Contact Modal (Desktop) */
    .contact-modal {
        display: none;
        position: fixed;
        inset: 0;
        z-index: 2222;
        width: 100vw;
        height: 100vh;
    }
    .contact-modal.active {
        display: block;
    }
    .contact-modal .modal-backdrop {
        position: absolute;
        inset: 0;
        background: rgba(24, 20, 60, 0.2);
        -webkit-backdrop-filter: blur(0.96vw) saturate(130%);
        backdrop-filter: blur(0.96vw) saturate(130%);
        z-index: 1;
    }
    .contact-modal .modal-card-flex {
        display: flex;
        flex-direction: row-reverse;
        align-items: stretch;
        gap: 1.6vw;
        width: 27vw;
        max-width: 36vw;
        min-width: 13.5vw;
        height: 56vh;
        border-radius: 1.6vw;
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.08));
        padding: 0;
        overflow: hidden;
        position: absolute;
        left: 2.4vw;
        bottom: 4vw;
        box-shadow: 0 3.2px 32px rgba(0, 0, 0, 0.4), 0 0 0.48vw rgba(106, 90, 205, 0.4);
        z-index: 3;
        animation: callIn 0.44s cubic-bezier(0.61, 0.3, 0.28, 1.2);
    }
    @keyframes callIn {
        from { opacity: 0; transform: translateY(48%) scale(0.93); }
        to { opacity: 1; transform: translateY(0) scale(1); }
    }
    .modal-side-bg {
        width: 4.8vw;
        height: 100%;
        background: #1a1a2e;
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        border-radius: 0 1.6vw 1.6vw 0;
        overflow: hidden;
        z-index: 3;
    }
    .modal-close {
        margin-top: 0.96vw;
        background: linear-gradient(45deg, #6a5acd, #8a4af3);
        color: #ffffff;
        border: none;
        border-radius: 50%;
        font-size: 1.36vw;
        width: 2.3vw;
        height: 2.3vw;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: box-shadow 0.2s ease, transform 0.2s ease, background 0.2s ease, color 0.2s ease;
        box-shadow: 0 0.12vw 0.32vw rgba(0, 0, 0, 0.15);
    }
    .modal-close:hover {
        background: #e0e0ff;
        color: #1a1a2e;
        transform: scale(1.1);
        box-shadow: 0 0 0.48vw rgba(106, 90, 205, 0.4);
    }
    .side-close-label {
        writing-mode: vertical-rl;
        text-orientation: mixed;
        color: #ffffff;
        font-size: 0.9vw;
        font-weight: 500;
        letter-spacing: -0.02em;
        margin-top: 0.56vw;
        text-shadow: 0 0.1vw 0.64vw #23272f99;
        user-select: none;
        opacity: 0.9;
        text-align: center;
    }
    .contact-modal .modal-content-box {
        flex: 1 1 0;
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.08));
        min-width: 7.2vw;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: flex-start;
        position: relative;
        padding: 0.8vw;
        border-radius: 1.6vw 0 0 1.6vw;
        height: 100%;
        z-index: 2;
        -webkit-backdrop-filter: blur(1vw);
        backdrop-filter: blur(1vw);
    }
    .modal-logo {
        width: 2.5vw;
        height: 2.5vw;
        margin: 0.8vw 0.8vw 0 0;
        filter: grayscale(100%) brightness(0%);
        transition: transform 0.3s ease;
    }
    .modal-logo:hover {
        transform: scale(1.1);
    }
    .modal-title-sub {
        font-size: 1vw;
        color: #1a1a2e;
        margin-top: 0.8vw;
        margin-right: 0.12vw;
        letter-spacing: 0.01em;
        font-weight: 600;
    }
    .modal-contact-details {
        margin-bottom: 0.96vw;
        font-size: 0.9vw;
        color: #1a1a2e;
    }
    .contact-detail {
        margin-bottom: 0.48vw;
        line-height: 1.8;
    }
    .contact-detail a {
        color: #1a1a2e;
        text-decoration: none;
        transition: color 0.2s ease;
    }
    .contact-detail a:hover {
        color: #6a5acd;
    }
    .modal-cta-btn {
        margin-top: 0.64vw;
        margin-bottom: 0.96vw;
        font-size: 1vw;
        width: 100%;
        background: linear-gradient(45deg, #6a5acd, #8a4af3);
        color: #ffffff;
        font-weight: bold;
        border-radius: 0.8vw;
        box-shadow: 0 0.12vw 0.32vw rgba(0, 0, 0, 0.15), 0 0 0.48vw rgba(106, 90, 205, 0.4);
        border: none;
        transition: background 0.2s ease, transform 0.2s ease, color 0.2s ease;
        padding: 0.56vw;
        cursor: pointer;
    }
    .modal-cta-btn:hover {
        background: #e0e0ff;
        color: #1a1a2e;
        transform: translateY(-0.16vw);
    }
    .modal-socials {
        display: flex;
        justify-content: center;
        gap: 0.8vw;
        margin-bottom: 0.96vw;
        width: 100%;
    }
    .modal-social {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 2vw;
        height: 2vw;
        border-radius: 0.64vw;
        background: #1a1a2e;
        box-shadow: 0 0.12vw 0.32vw rgba(0, 0, 0, 0.15);
        color: #ffffff;
        font-size: 1vw;
        transition: background 0.2s ease, transform 0.2s ease;
        text-decoration: none;
    }
    .modal-social:hover {
        background: linear-gradient(45deg, #6a5acd, #8a4af3);
        color: #ffffff;
        transform: scale(1.1);
    }
    /* 3.4 - Mobile Navigation (Hidden on Desktop) */
    .mobile-nav,
    .mobile-bottom-nav,
    .mobile-menu,
    .mobile-menu-backdrop {
        display: none;
    }
    /*
    * 4.0 - Page Sections (Homepage, etc.)
    * -------------------------------------------------------------------------
    */
    /* 4.1 - Intro Section */
    .intro-section {
        width: 100%;
        margin: 8vw auto 4vw auto;
        padding: 2vw;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .intro-container {
        width: 90vw;
        max-width: calc(90vw);
        display: flex;
        flex-direction: row-reverse;
        align-items: stretch;
        justify-content: space-between;
        gap: 2vw;
    }
    .intro-content {
        flex: 0 0 60%;
        padding: 2vw;
        text-align: right;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    .intro-title {
        font-size: 2.5vw;
        font-weight: 700;
        color: #1a1a2e;
        margin-bottom: 1vw;
        line-height: 1.4;
        text-shadow: 0 0.1vw 0.2vw rgba(0, 0, 0, 0.1);
    }
    .intro-description {
        font-size: 1.2vw;
        color: #1a1a2e;
        margin-bottom: 2vw;
        line-height: 1.8;
        opacity: 0.9;
    }
    .intro-cta {
        display: flex;
        gap: 1vw;
    }
    .intro-btn {
        padding: 0.8vw 2vw;
        border-radius: 0.8vw;
        font-size: 1vw;
        font-weight: 600;
        text-decoration: none;
        transition: background 0.2s ease, transform 0.2s ease, color 0.2s ease;
        box-shadow: 0 0.12vw 0.32vw rgba(0, 0, 0, 0.15);
    }
    .intro-btn.primary {
        background: linear-gradient(45deg, #6a5acd, #8a4af3);
        color: #ffffff;
    }
    .intro-btn.primary:hover {
        background: #e0e0ff;
        color: #1a1a2e;
        transform: translateY(-0.16vw);
    }
    .intro-btn.secondary {
        background: transparent;
        border: 1px solid rgba(106, 90, 205, 0.4);
        color: #6a5acd;
    }
    .intro-btn.secondary:hover {
        background: linear-gradient(45deg, #6a5acd, #8a4af3);
        color: #ffffff;
        transform: translateY(-0.16vw);
    }
    .intro-logo {
        flex: 0 0 40%;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .intro-img {
        width: 50%;
        height: 100%;
        object-fit: contain;
        transition: transform 0.3s ease;
    }
    .intro-img:hover {
        transform: scale(1.1);
    }
    /* 4.2 - Intro Links */
    .intro-links {
        width: 90%;
        max-width: calc(90vw);
        margin: 2vw auto 0 auto;
    }
    .intro-links-list {
        display: flex;
        justify-content: space-between;
        list-style: none;
        padding: 0;
    }
    .intro-link {
        display: inline-block;
        padding: 0.5vw 1.8vw;
        border-radius: 0.5vw;
        background: transparent;
        border: 1px solid rgba(106, 90, 205, 0.3);
        color: #1a1a2e;
        font-size: 0.9vw;
        font-weight: 500;
        text-decoration: none;
        transition: all 0.3s ease;
        position: relative;
        overflow: hidden;
    }
    .intro-link::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 0.1vw;
        background: linear-gradient(90deg, #6a5acd, #8a4af3);
        transform: scaleX(0);
        transform-origin: right;
        transition: transform 0.3s ease;
    }
    .intro-link:hover::after {
        transform: scaleX(1);
        transform-origin: left;
    }
    .intro-link:hover {
        color: #6a5acd;
        border-color: rgba(106, 90, 205, 0.6);
        transform: translateY(-0.1vw);
    }
    /* 4.3 - Products Section *//* 4.3 - Products Section (v1.3) */
.products-section {
  width: 90vw;
  max-width: 90vw;
  margin: 4vw auto;
}
.products-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5vw;
}
.product-box {
  background: linear-gradient(135deg, rgba(255,255,255,0.15), rgba(255,255,255,0.08));
  border-radius: 0.8vw;
  border: 1px solid rgba(255,255,255,0.2);
  padding: 1.2vw;
  box-shadow: 0 0.1vw 0.3vw rgba(0,0,0,0.1), 0 0 0.2vw rgba(106,90,205,0.3);
  transition: transform .3s ease, box-shadow .3s ease;
  -webkit-backdrop-filter: blur(.8vw);
  backdrop-filter: blur(.8vw);
}
.product-box:hover {
  transform: translateY(-.2vw);
  box-shadow: 0 0.3vw 0.8vw rgba(0,0,0,0.2), 0 0 0.4vw rgba(106,90,205,0.5);
}
.category-title {
  font-size: 1.1vw;
  font-weight: 600;
  color: #1a1a2e;
  margin: 0.8vw 0 0.4vw;
  text-align: right;
}
.category-description {
  font-size: 0.85vw;
  color: #333;
  margin-bottom: 0.8vw;
  text-align: right;
}
.product-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1vw;
}
.product-table tr {
  border-bottom: 1px solid rgba(255,255,255,0.15);
  transition: background .2s ease;
}
.product-table tr:hover {
  background: rgba(106,90,205,0.12);
}
.product-table td {
  padding: 0.6vw;
  text-align: right;
  font-size: 0.85vw;
  color: #1a1a2e;
  vertical-align: middle;
}
.factory-logo {
  width: 2.2vw;
  height: 2.2vw;
  object-fit: contain;
  border-radius: 0.3vw;
}
.product-link {
  color: #6a5acd;
  font-weight: 500;
  text-decoration: none;
  transition: color .2s ease;
}
.product-link:hover { color: #8a4af3; }
.price { font-weight: 600; color: #1a1a2e; }

/* price difference state */
.price-diff {
  display: inline-block;
  margin-inline-start: .5em;
  font-weight: 600;
  font-size: .82em;
  padding: .2em .5em;
  border-radius: .4em;
}
.price-diff.up   { background: rgba(220, 20, 60, .12); color: #c1121f; } /* گران‌تر */
.price-diff.down { background: rgba(34, 197, 94, .12); color: #1e7d37; } /* ارزان‌تر */

.chart-btn {
  background: transparent;
  border: none;
  color: #6a5acd;
  padding: 0.4vw;
  border-radius: 0.4vw;
  cursor: pointer;
  transition: all .2s ease;
}
.chart-btn i { font-size: 1vw; }
.chart-btn:hover {
  background: linear-gradient(45deg, #6a5acd, #8a4af3);
  color: #fff;
  transform: scale(1.08);
}

.category-btn {
  display: inline-block;
  padding: 0.5vw 1.5vw;
  border-radius: 0.5vw;
  background: linear-gradient(45deg, #6a5acd, #8a4af3);
  color: #fff;
  font-size: 0.85vw;
  font-weight: 500;
  text-decoration: none;
  transition: all .3s ease;
  position: relative;
  overflow: hidden;
}
.category-btn::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 0.1vw;
  background: #e0e0ff;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .3s ease;
}
.category-btn:hover::after { transform: scaleX(1); transform-origin: left; }
.category-btn:hover {
  background: #e0e0ff;
  color: #1a1a2e;
  transform: translateY(-0.1vw);
}

/* 4.4 - Chart Modal (v1.3) */
.chart-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  justify-content: center;
  align-items: center;
}
.chart-modal.active { display: flex; }
.chart-modal .modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(24, 20, 60, 0.6);
  -webkit-backdrop-filter: blur(.6vw);
  backdrop-filter: blur(.6vw);
}
.chart-modal-content {
  background: linear-gradient(135deg, rgba(255,255,255,.2), rgba(255,255,255,.1));
  border-radius: .8vw;
  border: 1px solid rgba(255,255,255,.3);
  padding: 1.2vw;
  width: 35vw;
  max-width: 520px;
  position: relative;
  box-shadow: 0 .3vw 1vw rgba(0,0,0,.25);
  -webkit-backdrop-filter: blur(.8vw);
  backdrop-filter: blur(.8vw);
  animation: slideIn .3s ease;
}
.chart-modal-title {
  font-size: 1.1vw;
  font-weight: 600;
  margin-bottom: .8vw;
  text-align: right;
}
.chart-modal-content .chart-placeholder {
  width: 100%;
  height: 15vw;
  background: rgba(247,247,247,.49);
  border-radius: .4vw;
  margin-bottom: .8vw;
}
.chart-modal-description {
  font-size: .85vw;
  opacity: .95;
  margin-bottom: .8vw;
  text-align: right;
  color: #fff;
}

/* CTA area */
.chart-modal-cta {
  display: flex;
  gap: .6vw;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: .4vw;
}
.chart-modal-btn {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  padding: .55vw 1.5vw;
  border-radius: .6vw;
  text-decoration: none;
  font-size: .9vw;
  font-weight: 600;
  transition: all .2s ease;
}
.chart-modal-btn i { font-size: 1em; }
.chart-modal-btn.cta-primary {
  background: linear-gradient(45deg, #6a5acd, #8a4af3);
  color: #fff;
}
.chart-modal-btn.cta-primary:hover {
  background: #e0e0ff;
  color: #1a1a2e;
  transform: translateY(-.05vw);
}
.chart-modal-btn.cta-secondary {
  background: transparent;
  border: 1px solid rgba(106, 90, 205, .5);
  color: #6a5acd;
}
.chart-modal-btn.cta-secondary:hover {
  background: linear-gradient(45deg, #6a5acd, #8a4af3);
  color: #fff;
}

.chart-modal-close {
  position: absolute;
  top: .5vw; left: .5vw;
  background: linear-gradient(45deg, #6a5acd, #8a4af3);
  border: none; color: #fff;
  font-size: .9vw; width: 2vw; height: 2vw;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all .2s ease;
}
.chart-modal-close:hover {
  background: #e0e0ff;
  color: #1a1a2e;
  transform: scale(1.08);
}
    }

.chart-modal-btn.cta-call {
  background: linear-gradient(45deg, #22c55e, #16a34a);
  color: #fff;
  border: 1px solid rgba(34, 197, 94, .25);
}
.chart-modal-btn.cta-call:hover {
  background: #eafff3;
  color: #14532d;
  transform: translateY(-.05vw);
}

/* آیکن تلفن مینیمال */
.phone-anim .phone-icon {
  width: 1.15em;
  height: 1.15em;
  display: inline-block;
}

/* امواج سیگنال با انیمیشن Pulse */
.phone-anim .signal {
  opacity: 0;
  transform-origin: center;
  animation: phone-signal 1.8s ease-in-out infinite;
}
.phone-anim .signal-1 { animation-delay: .15s; }
.phone-anim .signal-2 { animation-delay: .45s; }

@keyframes phone-signal {
  0%   { opacity: 0;   transform: scale(0.9); }
  35%  { opacity: .9;  transform: scale(1);   }
  80%  { opacity: 0.15;transform: scale(1.05);}
  100% { opacity: 0;   transform: scale(1.05);}
}

/* یک نوسان خیلی خفیف برای کل آیکن، مینیمال و شیک */
.phone-anim .handset {
  animation: phone-wiggle 2.4s ease-in-out infinite;
  transform-origin: 6px 6px; /* حدوداً لولای گوشی */
}
@keyframes phone-wiggle {
  0%   { transform: rotate(0deg); }
  6%   { transform: rotate(-6deg); }
  12%  { transform: rotate(6deg); }
  18%  { transform: rotate(-4deg); }
  24%  { transform: rotate(3deg); }
  30%  { transform: rotate(0deg); }
  100% { transform: rotate(0deg); }
}    
    /* 4.5 - Magazine (Blog) Section */
    .magazine-section {
        width: 90vw;
        max-width: 90vw;
        margin: 4vw auto;
    }
    .magazine-container {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .section-title {
        font-size: 1.8vw;
        font-weight: 700;
        color: #1a1a2e;
        margin-bottom: 2vw;
        text-align: center;
        position: relative;
    }
    .section-title::after {
        content: '';
        width: 5vw;
        height: 0.2vw;
        background: linear-gradient(90deg, #6a5acd, #8a4af3);
        position: absolute;
        bottom: -0.5vw;
        left: 50%;
        transform: translateX(-50%);
    }
    .blog-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5vw;
        width: 100%;
    }
    .blog-card {
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.1));
        border-radius: 0.8vw;
        border: 1px solid rgba(255, 255, 255, 0.3);
        padding: 1vw;
        box-shadow: 0 0.1vw 0.3vw rgba(0, 0, 0, 0.1);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        -webkit-backdrop-filter: blur(0.8vw);
        backdrop-filter: blur(0.8vw);
    }
    .blog-card:hover {
        transform: translateY(-0.2vw);
        box-shadow: 0 0.3vw 0.8vw rgba(0, 0, 0, 0.2), 0 0 0.4vw rgba(106, 90, 205, 0.5);
    }
    .blog-image {
        width: 100%;
        height: 10vw;
        object-fit: cover;
        border-radius: 0.5vw;
        margin-bottom: 0.8vw;
    }
    .blog-title {
        font-size: 1vw;
        font-weight: 600;
        color: #1a1a2e;
        margin-bottom: 0.5vw;
        text-align: right;
    }
    .blog-description {
        font-size: 0.85vw;
        color: #333333;
        margin-bottom: 0.8vw;
        text-align: right;
    }
    .blog-link {
        display: inline-block;
        font-size: 0.85vw;
        color: #6a5acd;
        text-decoration: none;
        font-weight: 500;
        transition: color 0.2s ease;
    }
    .blog-link:hover {
        color: #8a4af3;
    }
    .all-blogs-btn {
        display: inline-block;
        padding: 0.6vw 2vw;
        border-radius: 0.5vw;
        background: linear-gradient(45deg, #6a5acd, #8a4af3);
        color: #ffffff;
        font-size: 0.9vw;
        font-weight: 500;
        text-decoration: none;
        margin-top: 2vw;
        transition: all 0.3s ease;
    }
    .all-blogs-btn:hover {
        background: #e0e0ff;
        color: #1a1a2e;
        transform: translateY(-0.1vw);
    }
    /*
    * ==========================================================================
    * 5.0 - Site Footer Styles
    * ==========================================================================
    */
    /**
    * Base footer styles for modern, minimal design.
    * Focuses on gradient background, grid layout, and RTL support.
    * Ensures semantic class names for better maintainability.
    *
    * @since 1.0.0
    */
    .site-footer {
        color: #f0f0f0;
        padding-top: 3vw;
        margin-top: 4vw;
        text-align: center; /* Center-align all text for minimal, balanced design */
    }
    .footer-box {
        width: 90vw;
        max-width: calc(90vw);
        margin: 0 auto;
        border-radius: 1.2vw 1.2vw 0 0;
        background: linear-gradient(145deg, #2b2b4a, #3a3a6a);
        overflow: hidden;
        box-shadow: 0 -0.2vw 0.5vw rgba(0, 0, 0, 0.2);
        padding: 2vw 2vw 0.5vw 2vw;
    }
    .footer-container {
        display: grid;
        grid-template-columns: 1.5fr 1fr 1fr 1fr 1.5fr; /* 5-column layout for balanced distribution */
        gap: 2vw;
        padding-bottom: 2vw;
        justify-items: center; /* Center grid items horizontally */
    }
    .footer-column {
        padding: 1vw 0;
        text-align: center; /* Center-align column content */
    }
    /* --- Column 1: About --- */
    .footer-about .footer-logo-link {
        display: inline-block;
        margin-bottom: 1rem;
    }
    .footer-about .footer-logo {
        max-width: 80px; /* Adjusted for new white icon logo to fit minimal design */
        height: auto;
        transition: transform 0.3s ease;
    }
    .footer-about .footer-logo:hover {
        transform: scale(1.05);
    }
    .footer-description {
        font-size: 0.85rem;
        line-height: 1.8;
        color: #cccccc;
        max-width: 280px;
        margin: 0 auto; /* Center description block */
    }
    /* --- General Column Titles --- */
    .footer-title {
        font-size: 1.1rem;
        font-weight: 600;
        color: #ffffff;
        margin: 0 0 1.2rem 0;
        position: relative;
        padding-bottom: 0.5rem;
    }
    .footer-title::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%; /* Centered underline for center-aligned design */
        transform: translateX(-50%);
        width: 35px;
        height: 2px;
        background: linear-gradient(90deg, #6a5acd, #8a4af3);
    }
    /* --- Columns 2 & 3: Dynamic Menus --- */
    .footer-nav .footer-links {
        list-style: none;
        padding: 0;
        margin: 0;
    }
    .footer-nav .footer-links li {
        margin-bottom: 0.7rem;
    }
    .footer-nav .footer-links li a {
        color: #cccccc;
        text-decoration: none;
        font-size: 0.9rem;
        transition: color 0.3s ease, padding-right 0.3s ease;
    }
    .footer-nav .footer-links li a:hover {
        color: #8a4af3;
        padding-right: 8px;
    }
    /* --- Column 4: Trust Badges --- */
    .trust-badges {
        display: flex;
        flex-direction: column; /* Vertical stack for minimal space usage */
        align-items: center; /* Center badges for consistent alignment */
        gap: 1rem;
    }
    .trust-badges .trust-image {
        max-width: 100px;
        height: auto;
        background: #fff;
        border-radius: 8px;
        padding: 5px;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }
    .trust-badges .trust-image.enamad-logo {
        padding: 0; /* Specific adjustment for eNamad */
        background: transparent;
    }
    .trust-badges .trust-image:hover {
        transform: scale(1.1);
        box-shadow: 0 4px 15px rgba(138, 74, 243, 0.4);
    }
    /* --- Column 5: Location --- */
    .google-map-embed {
        width: 100%;
        border-radius: 8px;
        overflow: hidden;
        border: 2px solid #3a3a6a;
        margin-bottom: 1rem;
        margin: 0 auto; /* Center map embed */
    }
    /* --- Footer Address Row (Separate for better UX) --- */
    .footer-address-row {
        display: flex;
        justify-content: center;
        align-items: flex-start;
        padding: 20px 0;
        border-top: 1px solid #eee;
        margin-top: 20px;
    }
    .footer-address-list {
        list-style: none;
        padding: 0;
        margin: 0;
        display: grid;
        grid-template-columns: repeat(2, 1fr); /* Two columns side-by-side */
        gap: 20px;
        width: 100%;
        max-width: 1200px;
        justify-items: center; /* Center items in grid */
    }
    .footer-address-item {
        display: flex;
        align-items: center;
        font-size: 0.9rem;
        color: #cccccc;
        justify-content: center; /* Center item content */
    }
    .footer-address-item i {
        margin-left: 10px; /* RTL space */
        color: #6a5acd;
        flex-shrink: 0;
    }
    .footer-address-item span {
        flex: 1;
    }
    /* --- Footer Bottom Bar --- */
    .footer-bottom {
        text-align: center;
        padding: 1.5vw 0;
        border-top: 1px solid #3a3a6a;
    }
    .footer-copyright {
        font-size: 0.8rem;
        color: #a0a0a0;
    }
    /**
    * Responsive styles for footer.
    * Extracted for conditional loading and better organization.
    *
    * @since 1.0.0
    */
    /* Tablet View */
    @media (max-width: 1024px) {
        .footer-container {
            grid-template-columns: repeat(3, 1fr);
            gap: 2.5vw;
        }
        .footer-about {
            grid-column: 1 / -1;
            text-align: center;
            display: flex;
            flex-direction: column;
            align-items: center;
        }
        .trust-badges, .footer-address-item {
            justify-content: center;
            align-items: center;
        }
        .footer-title {
            text-align: center;
        }
        .footer-title::after {
            left: 50%;
            transform: translateX(-50%);
        }
        .footer-nav .footer-links {
            text-align: center;
        }
        .footer-nav .footer-links li a:hover {
            padding-right: 0;
        }
        .footer-address-row {
            padding: 15px 0;
        }
        .footer-address-list {
            grid-template-columns: repeat(2, 1fr); /* Maintain two columns */
            gap: 15px;
        }
        .footer-address-item {
            font-size: 0.85rem;
            align-items: center; /* Center in tablet */
        }
    }
    /* Mobile View */
    @media (max-width: 768px) {
        .site-footer {
            padding: 5vw 5vw 0 5vw;
        }
        .footer-container {
            grid-template-columns: 1fr;
            text-align: center; /* Center-align for mobile as requested */
        }
        .footer-column {
            padding: 1.5rem 0;
            border-bottom: 1px solid #3a3a6a;
        }
        .footer-column:last-child {
            border-bottom: none;
        }
        .footer-about, .trust-badges {
            align-items: center; /* Center items in mobile */
            text-align: center;
        }
        .footer-title {
            text-align: center;
        }
        .footer-title::after {
            left: 50%;
            transform: translateX(-50%);
        }
        .footer-nav .footer-links {
            text-align: center;
        }
        .footer-address-list {
            grid-template-columns: 1fr; /* Single column for mobile to avoid crowding, but centered */
            gap: 15px;
        }
        .footer-address-item {
            font-size: 0.8rem;
            justify-content: center; /* Center address items in mobile */
        }
        .footer-copyright {
            font-size: 0.7rem;
            opacity: 0.8;
        }
    }
    /*
    * ==========================================================================
    * 11.0 - Category Article Box Styles
    * ==========================================================================
    */
    .category-article-box {
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.08));
        border-radius: 1.2vw;
        padding: 2.5vw;
        margin-top: 3vw;
        box-shadow: 0 0.1vw 0.3vw rgba(0, 0, 0, 0.1), 0 0 0.2vw rgba(106, 90, 205, 0.3);
        -webkit-backdrop-filter: blur(0.8vw);
        backdrop-filter: blur(0.8vw);
    }
    .category-article-box .section-title::after {
        content: '';
        width: 6vw;
        height: 0.2vw;
        background: linear-gradient(90deg, #6a5acd, #8a4af3);
        position: absolute;
        bottom: -0.7vw;
        left: 50%;
        transform: translateX(-50%);
    }
    .category-article-box .article-content {
        font-size: 1vw;
        line-height: 2;
        color: #333;
    }
    .category-article-box .article-content p,
    .category-article-box .article-content ul,
    .category-article-box .article-content ol {
        margin-bottom: 1em;
    }
    .category-article-box .article-content h2,
    .category-article-box .article-content h3 {
        font-size: 1.4vw;
        font-weight: 600;
        color: #1a1a2e;
        margin-top: 1.5em;
        margin-bottom: 0.5em;
    }
    .category-article-box .article-content a {
        color: #6a5acd;
        text-decoration: none;
        font-weight: 600;
        border-bottom: 1px solid rgba(106, 90, 205, 0.3);
        transition: all 0.2s ease;
    }
    .category-article-box .article-content a:hover {
        color: #fff;
        background-color: #6a5acd;
        border-bottom-color: #6a5acd;
    }
    /*
    * ==========================================================================
    * 12.0 - Breadcrumb & Table of Contents (TOC) - OLD STYLES
    * ==========================================================================
    */
    /* These styles are deprecated and have been removed as they are now in template parts. */
    /*
    * ==========================================================================
    * 13.0 - Boxed Archive Header & Main Container Styles
    * ==========================================================================
    */
    /* Main container for Shop & Archive pages to match site width */
    .woocommerce-page-container.main-content {
        width: 90vw;
        margin: 8vw auto 4vw;
        margin-top: 8vw;
    }
    .archive-header-boxed {
        background-color: #ffffff;
        border-radius: .8rem;
        padding: 2.5rem;
        margin-bottom: 2rem;
        border: 1px solid #e9ecef;
        text-align: center;
        box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    }
    .archive-header-boxed .woocommerce-breadcrumb {
        font-size: .85rem;
        color: #6c757d;
        margin-bottom: 1.5rem;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: .5rem;
        white-space: nowrap;
        overflow-x: auto;
        -ms-overflow-style: none;
        scrollbar-width: none;
    }
    .archive-header-boxed .woocommerce-breadcrumb::-webkit-scrollbar {
        display: none;
    }
    .archive-header-boxed .woocommerce-breadcrumb a {
        color: #6c757d;
        text-decoration: none;
        transition: color 0.2s ease;
    }
    .archive-header-boxed .woocommerce-breadcrumb a:hover {
        color: #6a5acd;
    }
    .archive-header-boxed .woocommerce-breadcrumb .breadcrumb-separator {
        font-size: 0.7rem;
    }
    .archive-header-boxed h1.woocommerce-products-header__title {
        display: none; /* Hide H1 from this box */
    }
    /*
    * ==========================================================================
    * 14.0 - Archive Content Content Header
    * ==========================================================================
    */
    .content-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 2vw;
        gap: 1.5rem;
        flex-wrap: wrap;
    }
    .content-header .page-title {
        margin: 0;
        font-size: 1.8vw;
        font-weight: 700;
        color: #212529;
        flex-shrink: 0;
    }
    .content-header .sort-options {
        margin: 0;
    }
    /* Styling for the new STRONG title in the category article box */
    .category-article-box .article-content-title {
        display: block;
        font-size: 1.6rem;
        font-weight: 700;
        margin-bottom: 1.2rem;
        color: #1a1a2e;
    }
    /* Remove the old ::after pseudo-element from the container title */
    .category-article-box .section-title::after {
        display: none;
    }
    /*
    * ==========================================================================
    * 15.0 - Responsive for Archive Pages
    * ==========================================================================
    */
    @media (max-width: 1024px) {
        .archive-grid-layout {
            grid-template-columns: 1fr; /* Stack sidebar and content */
        }
        .sidebar {
            position: static;
            margin-bottom: 2vw;
        }
    }
    @media (max-width: 768px) {
        .woocommerce-page-container.main-content {
            padding: 4vw 2vw;
            margin-top: 12vw;
        }
        .sidebar h2, .price-table h2 { font-size: 3.5vw; }
        .filter-group label, .price-table table, .sort-options select, .filter-group select, .download-csv { font-size: 2.2vw; }
        .archive-header-boxed h1.woocommerce-products-header__title { font-size: 4vw; }
        .content-header .page-title {
            font-size: 4.5vw;
            width: 100%;
            text-align: right;
            margin-bottom: 1rem;
        }
        .content-header {
            margin-bottom: 3vw;
        }
        .category-article-box .article-content-title {
            font-size: 1.4rem;
        }
    }
    /* --- استایل سفارشی برای نقل‌قول (Blockquote) با آیکون در سمت چپ --- */
    blockquote {
        /* استایل اصلی کادر شیشه‌ای */
        background: rgba(255, 255, 255, 0.6);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border-radius: 1rem;
        border: 1px solid rgba(255, 255, 255, 0.3);
        box-shadow: 0 4px 20px 0 rgba(106, 90, 205, 0.1);
        padding: 1.5rem;
        position: relative;
        overflow: hidden;
        margin: 1.5rem 0;
    }
    blockquote::before {
        /* علامت بزرگ نقل‌قول در پس‌زمینه */
        content: "\f10d";
        font-family: "Font Awesome 6 Free";
        font-weight: 900;
        position: absolute;
        top: 1rem;
        left: 1.5rem; /* <<-- تغییر در این خط اعمال شد */
        font-size: 4rem;
        color: rgba(106, 90, 205, 0.08);
        z-index: 0;
    }
    blockquote p {
        /* استایل متن داخل نقل‌قول */
        font-size: 0.95rem;
        line-height: 1.9;
        font-weight: 400;
        color: #343a40;
        margin: 0;
        position: relative;
        z-index: 1;
    }
    /* --- Styles for Stacked Price & Price Difference --- */
    .price-cell {
        /* No special style needed, stacking is handled by child elements */
    }
    .price-cell .price {
        display: block; /* Makes the price take up the full line */
        font-size: 0.85vw;
        font-weight: 700;
    }
    .price-cell .price-diff {
        display: inline-block; /* Allows it to have padding and background */
        margin-top: 0.3vw; /* Adds space above */
        padding: 0.15vw 0.4vw;
        font-size: 0.75vw;
        font-weight: 700;
        border-radius: 0.3vw;
        line-height: 1.2;
        color: #fff;
        direction: ltr;
    }
    /* Price went DOWN (Green) */
    .price-cell .price-diff.positive {
        background-color: #2e7d32; /* Dark Green */
    }
    /* Price went UP (Red) */
    .price-cell .price-diff.negative {
        background-color: #c62828; /* Dark Red */
    }
    /* ==========================================================================
    FIX for Dynamic Hero Quick Links Menu
    ========================================================================== */
    .intro-links-list {
        display: flex;
        justify-content: space-between;
        list-style: none;
        padding: 0;
    }
    .intro-links-list li a {
        display: inline-block;
        padding: 0.5vw 1.8vw;
        border-radius: 0.5vw;
        background: transparent;
        border: 1px solid rgba(106, 90, 205, 0.3);
        color: #1a1a2e;
        font-size: 0.9vw;
        font-weight: 500;
        text-decoration: none;
        transition: all 0.3s ease;
        position: relative;
        overflow: hidden;
    }
    .intro-links-list li a::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 0.1vw;
        background: linear-gradient(90deg, #6a5acd, #8a4af3);
        transform: scaleX(0);
        transform-origin: right;
        transition: transform 0.3s ease;
    }
    .intro-links-list li a:hover::after {
        transform: scaleX(1);
        transform-origin: left;
    }
    .intro-links-list li a:hover {
        color: #6a5acd;
        border-color: rgba(106, 90, 205, 0.6);
        transform: translateY(-0.1vw);
    }
    /*
    * ==========================================================================
    * 3.5 - Ahanit Toolkit Section (Home Calculator)
    * ==========================================================================
    */
    .ahanit-toolkit-section {
        width: 90vw;
        max-width: 90vw;
        margin: 4vw auto;
    }
    .ahanit-toolkit-container {
        display: grid;
        grid-template-columns: 1fr 22vw;
        gap: 1.5vw;
    }
    .calculator-main, .calculator-sidebar {
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.08));
        border: 1px solid rgba(255, 255, 255, 0.2);
        border-radius: 1.2vw;
        padding: 2.5vw;
        box-shadow: 0 0.1vw 0.3vw rgba(0, 0, 0, 0.1), 0 0 0.2vw rgba(106, 90, 205, 0.3);
        -webkit-backdrop-filter: blur(0.8vw);
        backdrop-filter: blur(0.8vw);
    }
    .calculator-header h2 {
        font-size: 1.8vw;
        font-weight: 700;
        color: #1a1a2e;
        margin-bottom: 0.5vw;
    }
    .calculator-header p {
        font-size: 1vw;
        color: #6c757d;
        margin-bottom: 2vw;
    }
    .calc-tabs {
        display: flex;
        flex-wrap: wrap;
        border-bottom: 1px solid rgba(255,255,255,0.2);
        margin-bottom: 2vw;
    }
    .calc-tab-trigger {
        background: none;
        border: none;
        font-size: 1vw;
        font-weight: 600;
        color: #1a1a2e;
        opacity: 0.7;
        padding: 1vw 0;
        margin: 0 1.5vw -1px 0;
        cursor: pointer;
        position: relative;
        display: flex;
        align-items: center;
        gap: 0.5vw;
        border-bottom: 3px solid transparent;
        transition: all 0.3s ease;
    }
    .calc-tab-trigger:hover {
        opacity: 1;
    }
    .calc-tab-trigger.active {
        color: #6a5acd;
        border-bottom-color: #6a5acd;
        opacity: 1;
    }
    .calc-tab-trigger .fas {
        font-size: 1.2em;
        width: 1.5em;
        text-align: center;
    }
    .calc-panel {
        display: none;
        animation: fadeIn 0.5s ease;
    }
    .calc-panel.active {
        display: block;
    }
    @keyframes fadeIn {
        from { opacity: 0; }
        to { opacity: 1; }
    }
    .input-row {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(12vw, 1fr));
        gap: 1.5vw;
    }
    .input-group {
        display: flex;
        flex-direction: column;
    }
    .input-group label {
        font-size: 0.9vw;
        font-weight: 600;
        color: #1a1a2e;
        margin-bottom: 0.5vw;
    }
    .input-group input, .input-group select {
        height: 3vw;
        width: 100%;
        border-radius: 0.6vw;
        padding: 0 1vw;
        font-size: 1vw;
        font-weight: 500;
        appearance: none;
        background-color: rgba(255,255,255,0.1);
        color: #1a1a2e;
        border: 1px solid rgba(26, 26, 46, 0.15);
        transition: all 0.3s ease;
    }
    .input-group select {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
        background-repeat: no-repeat;
        background-position: left 0.75rem center;
        background-size: 16px 12px;
        padding-left: 2.5rem;
    }
    .input-group input:focus, .input-group select:focus {
        border-color: #6a5acd;
        box-shadow: 0 0 0 3px rgba(106, 90, 205, 0.25);
        outline: none;
        background-color: rgba(255,255,255,0.3);
    }
    .input-group .unit {
        font-size: 0.8vw;
        color: #1a1a2e;
        opacity: 0.7;
        text-align: right;
        margin-top: 0.3vw;
    }
    .calculator-sidebar {
        position: sticky;
        top: 8vw;
        height: fit-content;
    }
    .results-display {
        text-align: center;
    }
    .results-label {
        font-size: 1vw;
        font-weight: 600;
        color: #1a1a2e;
        opacity: 0.8;
    }
    .results-value-wrapper {
        margin: 0.5vw 0 1.5vw;
    }
    .results-value {
        font-size: 3.5vw;
        font-weight: 800;
        color: #1a1a2e;
    }
    .results-unit {
        font-size: 1vw;
        font-weight: 600;
        color: #1a1a2e;
        opacity: 0.8;
        margin-right: 0.5vw;
    }
    .results-cta {
        display: inline-block;
        background: linear-gradient(45deg, #6a5acd, #8a4af3);
        color: #fff;
        padding: 0.8vw 2vw;
        border-radius: 0.8vw;
        text-decoration: none;
        font-weight: 600;
        font-size: 1vw;
        transition: all 0.3s ease;
        text-align: center;
    }
    .results-cta:hover {
        transform: translateY(-3px);
        box-shadow: 0 4px 15px rgba(106, 90, 205, 0.4);
    }
    /* ==========================================================================
    Responsive Styles for Ahanit Toolkit Section
    ========================================================================== */
    @media (max-width: 992px) {
        .ahanit-toolkit-container {
            grid-template-columns: 1fr;
        }
        .calculator-sidebar {
            position: static;
            margin-top: 1.5vw;
        }
        .calculator-header h2 { font-size: 4vw; }
        .calculator-header p { font-size: 2.5vw; }
        .calc-tab-trigger { font-size: 2.5vw; }
        .input-group label { font-size: 2.2vw; }
        .input-group input, .input-group select { height: 8vw; font-size: 2.5vw; }
        .input-group .unit { font-size: 2vw; }
        .results-label { font-size: 2.5vw; }
        .results-value { font-size: 8vw; }
        .results-unit { font-size: 2.5vw; }
        .results-cta { font-size: 2.5vw; padding: 2vw 4vw; }
    }
    /*
    * ==========================================================================
    * 4.4 - Ahanit Purchase Roadmap Section
    * ==========================================================================
    */
    .ahanit-roadmap-section-v2 {
        width: 90vw;
        max-width: 90vw;
        margin: 4vw auto;
        padding: 2.5vw;
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
        border: 1px solid rgba(255, 255, 255, 0.2);
        border-radius: 1.2vw;
        box-shadow: 0 0.1vw 0.3vw rgba(0, 0, 0, 0.1), 0 0 0.2vw rgba(106, 90, 205, 0.3);
        -webkit-backdrop-filter: blur(0.8vw);
        backdrop-filter: blur(0.8vw);
    }
    .roadmap-container-v2 {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 1.5vw;
        position: relative;
        align-items: flex-start;
        list-style: none;
        padding: 0;
        margin: 0;
    }
    .roadmap-container-v2::before {
        content: '';
        position: absolute;
        top: 3vw;
        left: 12.5%;
        width: 75%;
        height: 1px;
        background: #6a5acd;
        opacity: 0.3;
        z-index: 0;
        animation: drawLine-v2 1.5s 0.5s ease-out forwards;
        width: 0;
    }
    @keyframes drawLine-v2 { from { width: 0; } to { width: 75%; } }
    .roadmap-step-v2 {
        text-align: center;
        position: relative;
        z-index: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        opacity: 0;
        animation: popIn-v2 0.6s ease-out forwards;
    }
    @keyframes popIn-v2 {
        from { opacity: 0; transform: translateY(1.5vw) scale(0.95); }
        to { opacity: 1; transform: translateY(0) scale(1); }
    }
    .roadmap-step-v2:nth-child(1) { animation-delay: 0.2s; }
    .roadmap-step-v2:nth-child(2) { animation-delay: 0.4s; }
    .roadmap-step-v2:nth-child(3) { animation-delay: 0.6s; }
    .roadmap-step-v2:nth-child(4) { animation-delay: 0.8s; }
    .step-icon-wrapper-v2 {
        position: relative;
        margin-bottom: 1.2vw;
    }
    .step-number-v2 {
        position: absolute;
        top: -0.4vw;
        right: -0.4vw;
        background: linear-gradient(45deg, #6a5acd, #8a4af3);
        color: #fff;
        width: clamp(20px, 1.5vw, 28px);
        height: clamp(20px, 1.5vw, 28px);
        border-radius: 50%;
        font-size: clamp(12px, 0.8vw, 15px);
        font-weight: 700;
        display: flex;
        align-items: center;
        justify-content: center;
        border: 2px solid #fff;
        box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    }
    .step-icon-v2 {
        width: clamp(80px, 6vw, 110px);
        height: clamp(80px, 6vw, 110px);
        border-radius: 50%;
        background: linear-gradient(135deg, #ffffff, #f7f7f7);
        border: 1px solid rgba(0,0,0,0.05);
        box-shadow: 0 0.4vw 1.2vw rgba(0,0,0,0.08);
        display: flex;
        align-items: center;
        justify-content: center;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }
    .roadmap-step-v2:hover .step-icon-v2 {
        transform: scale(1.08);
        box-shadow: 0 0.6vw 1.8vw rgba(106, 90, 205, 0.25);
    }
    .step-icon-v2 .fas {
        font-size: clamp(32px, 2.5vw, 45px);
        color: #6a5acd;
    }
    .step-title-v2 {
        font-size: clamp(16px, 1.1vw, 20px);
        font-weight: 700;
        color: #1a1a2e;
        margin-bottom: 0.6vw;
    }
    .step-description-v2 {
        font-size: clamp(13px, 0.8vw, 15px);
        color: #6c757d;
        line-height: 1.7;
        max-width: 18vw;
    }
    .roadmap-final-cta {
        display: flex;
        align-items: center;
        gap: 1.5vw;
        margin-top: 2.5vw;
        padding: 1.5vw;
        border-top: 1px solid rgba(255,255,255,0.2);
        background: rgba(255,255,255,0.1);
        border-radius: 0.8vw;
        animation: popIn-v2 0.6s 1s ease-out forwards;
        opacity: 0;
    }
    .cta-icon {
        flex-shrink: 0;
        width: clamp(50px, 4vw, 70px);
        height: clamp(50px, 4vw, 70px);
        background: linear-gradient(45deg, #6a5acd, #8a4af3);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #fff;
        font-size: clamp(24px, 2vw, 32px);
        box-shadow: 0 0 0 0 rgba(106, 90, 205, 1);
        animation: pulse 2s infinite;
    }
    @keyframes pulse {
        0% { box-shadow: 0 0 0 0 rgba(106, 90, 205, 0.4); }
        70% { box-shadow: 0 0 0 15px rgba(106, 90, 205, 0); }
        100% { box-shadow: 0 0 0 0 rgba(106, 90, 205, 0); }
    }
    .cta-text {
        flex-grow: 1;
        text-align: right;
    }
    .cta-text h4 {
        font-size: clamp(16px, 1.2vw, 22px);
        font-weight: 700;
        color: #1a1a2e;
        margin-bottom: 0.4vw;
    }
    .cta-text p {
        font-size: clamp(13px, 0.9vw, 16px);
        color: #6c757d;
        margin: 0;
    }
    .cta-button-wrapper {
        flex-shrink: 0;
    }
    .phone-button-v2 {
        display: inline-flex;
        align-items: center;
        gap: 0.6vw;
        padding: 0.7vw 1.8vw;
        background: linear-gradient(45deg, #6a5acd, #8a4af3);
        color: #fff;
        font-size: clamp(14px, 1.1vw, 18px);
        font-weight: 700;
        border-radius: 50px;
        text-decoration: none;
        box-shadow: 0 4px 15px rgba(106, 90, 205, 0.3);
        transition: all 0.3s ease;
    }
    .phone-button-v2:hover {
        transform: translateY(-3px) scale(1.05);
        box-shadow: 0 7px 20px rgba(106, 90, 205, 0.4);
    }
    .phone-button-v2 .fas {
        font-size: 1.1em;
    }
    /*
    * NOTE FOR DEVELOPER:
    * The following @media queries contain the responsive styles for this component.
    * For better organization, it is recommended to move these rules
    * to the dedicated responsive.css file.
    */
    @media (max-width: 992px) {
        .roadmap-final-cta {
            flex-direction: column;
            text-align: center;
        }
        .cta-text {
            margin: 1rem 0;
        }
    }
    @media (max-width: 768px) {
        .ahanit-roadmap-section-v2 {
            width: 100%; /* Overrides the 90vw for mobile */
            max-width: 100%;
            margin: 8vw auto;
            padding: 6vw 4vw;
            border-radius: 0; /* Full-width sections on mobile often have no radius */
        }
        .roadmap-container-v2 {
            grid-template-columns: 1fr;
            gap: 6vw;
        }
        .roadmap-container-v2::before {
            top: 10vw;
            left: auto;
            right: 10vw; /* Position from the right in RTL */
            width: 1px;
            height: 0;
            bottom: 10vw;
            background: #6a5acd;
            animation-name: drawLineVertical-v2;
        }
        @keyframes drawLineVertical-v2 {
            from { height: 0; }
            to { height: calc(100% - 20vw); }
        }
        .step-icon-v2 {
            width: 20vw;
            height: 20vw;
        }
        .step-description-v2 {
            max-width: 80%;
        }
    }
    /*
    * ==========================================================================
    * 4.5.1 - Reusable Blog Post Card (content-card.php)
    * ==========================================================================
    */
    .blog-card {
        background: #fff;
        border: 1px solid #e9ecef;
        border-radius: .8rem;
        overflow: hidden;
        display: flex;
        flex-direction: column;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        text-decoration: none;
    }
    /* The hover effect is now handled by pure CSS, which is more performant */
    .blog-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    }
    .blog-card-thumbnail {
        position: relative;
        display: block;
    }
    .blog-image {
        width: 100%;
        height: 200px;
        object-fit: cover;
        display: block;
    }
    .blog-card-content {
        padding: 1.5rem;
        display: flex;
        flex-direction: column;
        flex-grow: 1; /* This makes the content area fill the available space */
    }
    .blog-title {
        font-size: 1.1rem;
        font-weight: 700;
        margin: 0 0 1rem;
        line-height: 1.5;
    }
    .blog-title a {
        text-decoration: none;
        color: #212529;
        transition: color 0.2s ease;
    }
    .blog-title a:hover {
        color: #6a5acd;
    }
    .blog-description {
        font-size: .9rem;
        color: #6c757d;
        line-height: 1.6;
        flex-grow: 1; /* This pushes the footer down */
        margin-bottom: 1rem;
    }
    .blog-card-footer {
        margin-top: auto; /* This pushes the "Read More" link to the bottom */
    }
    .blog-link {
        display: inline-block;
        color: #6a5acd;
        text-decoration: none;
        font-weight: 600;
        transition: color 0.2s ease;
    }
    .blog-link:hover {
        color: #212529;
    }
    /* --- New Meta Bar Styles --- */
    .card-meta-bar {
        position: absolute;
        top: .8rem;
        right: .8rem;
        z-index: 2;
        display: flex;
        gap: .5rem;
        flex-wrap: wrap;
    }
    .meta-item {
        display: inline-flex;
        align-items: center;
        gap: .4rem;
        background: rgba(26, 26, 46, 0.7); /* Dark, semi-transparent background */
        color: #fff;
        font-size: 0.75rem;
        font-weight: 500;
        padding: 0.25rem 0.6rem;
        border-radius: 4px;
        backdrop-filter: blur(5px);
        -webkit-backdrop-filter: blur(5px); /* For Safari */
        transition: background-color 0.2s ease;
    }
    .meta-item a {
        color: #fff;
        text-decoration: none;
    }
    .meta-item.meta-category:hover {
        background-color: #6a5acd;
    }
    .meta-item .fas {
        font-size: 0.8em;
    }
    /*
    * NOTE FOR DEVELOPER:
    * The following @media query contains the responsive styles for this component.
    * For better organization, it is recommended to move this rule
    * to the dedicated responsive.css file.
    */
    @media (max-width: 768px) {
        .blog-title {
            font-size: 1.2rem;
        }
        .blog-description {
            font-size: 1rem;
        }
    }
    /* * Ahanit Archive Pro Styles - v5.2 (Unified Breadcrumb Integration)
    * It's HIGHLY recommended to move this to a separate .css file. */
    :root {
        --brand-primary: #6a5acd; --brand-secondary: #8a4af3; --text-dark: #1a1a2e; --text-light: #343a40;
        --bg-light: #ffffff; --bg-page: #f8f9fa; --border-color: #e9ecef; --border-radius: .8rem;
        --shadow-soft: 0 4px 12px rgba(0, 0, 0, 0.06); --shadow-focus: 0 0 0 3px rgba(106, 90, 205, 0.2);
        --font-family: 'Vazirmatn', sans-serif; --nav-width: 90vw;
    }
    body { background-color: var(--bg-page); }
    .screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0;}
    .woocommerce-page-container { direction: rtl; width: 100%; max-width: 100%; box-sizing: border-box; margin: 0 auto 1.5rem; padding: 0 1rem; }
    .archive-header { margin-bottom: 2.5rem; padding-top: 4vh; }
    .main-page-title-wrapper { text-align: center; }
    .main-page-title { font-size: 2rem; color: var(--text-dark); font-weight: 800; margin: 0; padding-bottom: .75rem; border-bottom: 3px solid var(--brand-primary); display: inline-block; }
    .archive-grid-layout, .article-layout-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
    .article-layout-grid { margin-top: 3rem; }
    .sidebar { background: var(--bg-light); padding: 1.5rem; border-radius: var(--border-radius); box-shadow: var(--shadow-soft); border: 1px solid var(--border-color); }
    .sidebar-title { font-size: 1.3rem; color: var(--text-dark); margin: 0 0 1.5rem 0; }
    .filter-group { margin-bottom: 1rem; }
    .filter-group label { display: block; margin-bottom: .5rem; font-weight: 600; }
    .filter-group select { width: 100%; padding: .75rem; border: 1px solid var(--border-color); border-radius: 6px; background-color: var(--bg-page); transition: border-color .2s ease, box-shadow .2s ease; }
    .filter-group select:focus-visible { outline: none; border-color: var(--brand-primary); box-shadow: var(--shadow-focus); }
    .content-header { display: flex; justify-content: flex-end; margin-bottom: 1.5rem; }
    .sort-options { display: flex; align-items: center; gap: .5rem; }
    .sort-options select { padding: .7rem; border-radius: 6px; border: 1px solid var(--border-color); }
    .sort-options select:focus-visible { outline: none; border-color: var(--brand-primary); box-shadow: var(--shadow-focus); }
    .article-body-content, .sidebar-widget { background-color: var(--bg-light); border: 1px solid var(--border-color); border-radius: var(--border-radius); padding: 1.5rem; }
    .article-body-content { padding: 2.5rem; overflow-x: hidden; }
    .sidebar-widget:not(:last-child) { margin-bottom: 1.5rem; }
    .article-content-title, .widget-title { font-size: 1.5rem; font-weight: 700; color: var(--text-dark); margin: 0 0 1.5rem; }
    .widget-title { font-size: 1.1rem; padding-bottom: .75rem; border-bottom: 1px solid var(--border-color); }
    .share-buttons-vertical { display: flex; flex-direction: row; justify-content: center; gap: 1.5rem; }
    .share-buttons-vertical a, .back-to-top-button { color: var(--text-light); font-size: 1.5rem; text-decoration: none; transition: color .2s ease, transform .2s ease; }
    .share-buttons-vertical a:hover, .back-to-top-button:hover { color: var(--brand-primary); transform: translateY(-2px); }
    .back-to-top-widget { padding: 0 !important; background: none !important; border: none !important; box-shadow: none !important; text-align: center; }
    .back-to-top-button { background-color: var(--brand-primary); color: white; width: 50px; height: 50px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; }
    .back-to-top-button:hover { color: white; }
    .cta-widget { background: linear-gradient(45deg, var(--brand-primary), var(--brand-secondary)); color: white; }
    .cta-widget .widget-title, .cta-widget p { color: white; border: none; }
    .cta-btn {display: block; width: 100%; text-align: center; margin-top: 1rem; padding: 0.7rem; background-color: #fff; color: var(--brand-primary); border-radius: 6px; text-decoration: none; font-weight: 700; transition: all 0.2s ease;}
    .cta-btn:hover {background-color: #e0e0ff; transform: translateY(-2px);}
    /* --- Tablet Layout (769px - 1199px) --- */
    @media (min-width: 769px) {
        .woocommerce-page-container {
            width: 90%;
            padding: 0;
        }
        .archive-header { padding-top: 6vh; }
        .archive-grid-layout {
            grid-template-columns: 250px minmax(0, 1fr);
            gap: 2rem;
        }
        .sidebar {
            position: sticky;
            top: 100px;
            align-self: start;
        }
        .article-layout-grid {
            grid-template-columns: minmax(0, 1fr) 250px;
            gap: 2rem;
        }
        .meta-sidebar-right {
            display: none;
        }
        .article-body-content {
            grid-column: 1 / 2;
        }
        .toc-sidebar {
            grid-column: 2 / 3;
            grid-row: 1;
            position: sticky;
            top: 100px;
            align-self: start;
        }
    }
    /* --- Desktop Layout (1200px and up) --- */
    @media (min-width: 1200px) {
        .archive-header { padding-top: 8vh; }
        .main-page-title { font-size: 2.5rem; }
        .archive-grid-layout { grid-template-columns: 280px minmax(0, 1fr); gap: 2.5rem; }
        .sidebar { grid-column: 1 / 2; position: sticky; top: 120px; align-self: start; }
        .content-area { grid-column: 2 / 3; }
        .article-layout-grid { grid-template-columns: 100px minmax(0, 1fr) 280px; gap: 2.5rem; }
        .article-body-content { grid-column: 2 / 3; }
        .meta-sidebar-right { display: initial; grid-column: 1 / 2; grid-row: 1; position: sticky; bottom: 40px; align-self: end; }
        .toc-sidebar { grid-column: 3 / 4; grid-row: 1; position: sticky; top: 120px; align-self: start; }
        .share-buttons-vertical { flex-direction: column; }
    }
    /* FAQ Style (Universal FAQ) */
    .faq-section-wrapper { padding: 0 1rem; }
    .faq-container { max-width: 75ch; margin: 0 auto; }
    .faq-item { border-bottom: 1px solid #e9ecef; }
    .faq-item:last-child { border-bottom: none; }
    .faq-question { font-size: 0.95rem; font-weight: 600; color: #333; cursor: pointer; position: relative; padding: 1.5rem 2.5rem 1.5rem 0; transition: color .3s ease; }
    .faq-question:hover { color: #6a5acd; }
    .faq-question::after {
        content: '';
        position: absolute;
        left: 0;
        top: 50%;
        width: 7px;
        height: 7px;
        border-style: solid;
        border-color: #333;
        border-width: 0 2px 2px 0;
        transform: translateY(-50%) rotate(45deg); /* Points down (open) */
        transition: transform 0.4s ease, border-color 0.3s ease;
    }
    .faq-item:not(.active) .faq-question::after {
        transform: translateY(-50%) rotate(-45deg); /* Points right (closed) */
    }
    .faq-question:hover::after, .faq-item.active .faq-question::after {
        border-color: #6a5acd;
    }
    .faq-item.active .faq-question { color: #6a5acd; }
    .faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.5s ease-out, padding-bottom 0.5s ease-out; padding: 0; color: #6c757d; line-height: 1.8; }
    .faq-item.active .faq-answer { padding-bottom: 1.5rem; max-height: 500px; }
    /* Main Layout Alignment & Spacing */
    .single-post-page-final { padding-top: 4rem; }
    .article-main-container { width: 90vw; margin: 0 auto; }
    .article-header-new { background: #fff; border-radius: .8rem; padding: 2.5rem; margin-bottom: 2rem; border: 1px solid #e9ecef; display: grid; grid-template-columns: 1fr 350px; gap: 2.5rem; align-items: center; }
    .header-image-area { border-radius: .6rem; overflow: hidden; }
    .breadcrumb { font-size: .85rem; color: #6c757d; margin-bottom: 1rem; display: flex; align-items: center; gap: .5rem; }
    .article-title-main { font-size: 2rem; font-weight: 800; color: #212529; line-height: 1.3; margin: 0 0 1.5rem; }
    .article-meta-info { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; color: #6c757d; font-size: .9rem; }
    .author-info-top { display: flex; align-items: center; gap: .8rem; font-weight: 600; color: #212529; }
    .author-info-top img { border-radius: 50%; }
    .meta-dot { background: #ced4da; width: 4px; height: 4px; border-radius: 50%; }
    /* Footer Sections */
    .post-footer-container { margin: 3rem 0 0; }
    .footer-section { padding: 3rem 0; border-top: 1px solid #e9ecef; }
    .section-title { font-size: 1.8rem; font-weight: 700; text-align: center; margin-bottom: 2.5rem; }
    .faq-section-wrapper, .comments-section-wrapper, .related-products-section .section-title { max-width: 90vw; margin-left: auto; margin-right: auto; }
    /* Related Products Style */
    .products-grid-revised { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; max-width: 1280px; margin: 0 auto; padding: 0 1rem; }
    .product-card-revised { background: #fff; border: 1px solid #f0f2f5; border-radius: .8rem; padding: 1rem; display: flex; flex-direction: column; transition: all .3s ease; }
    .product-card-revised:hover { transform: translateY(-5px); box-shadow: 0 6px 20px rgba(0, 0, 0, 0.07); border-color: transparent; }
    .product-revised-header { display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem; }
    .product-factory-logo { flex-shrink: 0; width: 50px; height: 50px; display: flex; align-items: center; justify-content: center; }
    .product-factory-logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
    .product-revised-title-area { flex-grow: 1; }
    .product-revised-title { font-size: 1rem; font-weight: 600; line-height: 1.4; margin: 0; }
    .product-revised-title a { text-decoration: none; color: #212529; transition: color 0.2s; }
    .product-revised-title a:hover { color: #6a5acd; }
    .product-revised-details { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding-top: 1rem; border-top: 1px solid #f0f2f5; }
    .product-revised-price { font-size: 1rem; font-weight: 700; color: #6a5acd; }
    .btn-price-chart { background-color: #f8f9fa; color: #333; border: 1px solid #dee2e6; border-radius: .5rem; padding: .6rem 1.2rem; font-weight: 600; font-size: .85rem; text-decoration: none; transition: all .2s; white-space: nowrap; }
    .btn-price-chart:hover { background-color: #e9ecef; border-color: #ced4da; }
    /* ==========================================================================
    Single Post Specific Styles
    ========================================================================== */
    .article-layout-grid {
        display: grid;
        grid-template-columns: 100px minmax(0, 1fr) 280px;
        gap: 2.5rem;
        align-items: flex-start;
        margin-top: 2rem;
    }
    .article-body-content {
        grid-column: 2 / 3;
        background: #fff;
        border: 1px solid #e9ecef;
        border-radius: .8rem;
        padding: 2rem 2.5rem 3rem;
    }
    aside.sticky-from-top {
        grid-column: 3 / 4;
        grid-row: 1;
        position: -webkit-sticky;
        position: sticky;
        top: 120px;
        align-self: start;
    }
    aside.sticky-from-bottom {
        grid-column: 1 / 2;
        grid-row: 1;
        position: -webkit-sticky;
        position: sticky;
        bottom: 40px;
        align-self: end;
    }
    /* General Sidebar Widget Styling */
    .sidebar-widget { background: #fff; border: 1px solid #e9ecef; border-radius: .8rem; padding: 1.5rem; }
    .sidebar-widget:not(:last-child) { margin-bottom: 1.5rem; }
    .widget-title { font-size: 1rem; font-weight: 700; color: #212529; margin: 0 0 1rem; padding-bottom: .5rem; border-bottom: 1px solid #e9ecef; }
    /* Left Sidebar (Share Buttons) */
    .share-buttons-vertical { display: flex; flex-direction: column; align-items: center; gap: 1.5rem; }
    .share-buttons-vertical a { color: #6c757d; font-size: 1.2rem; transition: all .2s; }
    .share-buttons-vertical a:hover { color: #6a5acd; transform: scale(1.2); }
    .back-to-top-widget { background: none; border: none; padding: 0 !important; text-align: center; margin-top: 1.5rem; }
    .back-to-top-button { display: inline-flex; align-items: center; justify-content: center; width: 50px; height: 50px; background-color: #6a5acd; color: #fff; border-radius: 50%; font-size: 1.2rem; text-decoration: none; transition: transform 0.2s ease-in-out; }
    .back-to-top-button:hover { transform: scale(1.1); color: #fff; }
    /* Right Sidebar (TOC & CTA) */
    .toc-list, .related-articles-list { list-style: none; padding: 0; margin: 0; }
    .toc-list a, .related-articles-list a { display: block; padding: .6rem 0; font-size: .9rem; color: #6c757d; text-decoration: none; transition: all .2s; border-bottom: 1px solid transparent; }
    .toc-list a.is-active { color: #6a5acd; font-weight: 700; border-bottom-color: #6a5acd; }
    .related-articles-list a:hover, .toc-list a:hover { color: #6a5acd; border-bottom-color: #6a5acd; }
    .cta-widget { background: linear-gradient(45deg, #6a5acd, #8a4af3); }
    .cta-widget .widget-title, .cta-widget p { color: #fff; border-bottom: none; }
    .cta-widget p { font-size: 0.9rem; line-height: 1.7; opacity: 0.9; }
    .cta-widget .cta-btn { display: block; width: 100%; text-align: center; margin-top: 1rem; padding: 0.7rem; background-color: #fff; color: #6a5acd; border-radius: 0.7rem; text-decoration: none; font-weight: 700; transition: all 0.2s ease; }
    .cta-widget .cta-btn:hover { background-color: #e0e0ff; transform: translateY(-2px); }
    /* Rich Content Styles (inside .article-body-content) */
    .article-body-content {color: #343a40; font-size: 1.05rem; line-height: 1.8;}
    .article-body-content p {margin-bottom: 1.5em;}
    .article-body-content a {color: #6a5acd; text-decoration: none; border-bottom: 2px solid rgba(106, 90, 205, 0.2); transition: all 0.2s ease;}
    .article-body-content a:hover {background-color: rgba(106, 90, 205, 0.1); border-bottom-color: #6a5acd;}
    .article-body-content h2, .article-body-content h3, .article-body-content h4 {color: #212529; font-weight: 700; line-height: 1.4;}
    .article-body-content h2 {font-size: 1.8rem; margin: 2.5rem 0 1rem 0; padding-bottom: 0.5rem; border-bottom: 3px solid #6a5acd; display: inline-block;}
    .article-body-content h3 {font-size: 1.4rem; margin: 2rem 0 1rem 0; padding-right: 1rem; border-right: 3px solid #ced4da;}
    .article-body-content h4 {font-size: 1.1rem; margin: 1.5rem 0 0.5rem 0; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; color: #495057;}
    .article-body-content ul, .article-body-content ol {padding-right: 2rem; margin-bottom: 1.5rem;}
    .article-body-content ul li, .article-body-content ol li {padding-right: 1.5rem; position: relative; margin-bottom: 0.8rem; line-height: 1.7;}
    .article-body-content ul li::before {font-family: "Font Awesome 6 Free"; content: "\f00c"; font-weight: 900; position: absolute; right: 0; top: 5px; color: #6a5acd; font-size: 0.9em;}
    .article-body-content ol {counter-reset: custom-counter;}
    .article-body-content ol li {counter-increment: custom-counter;}
    .article-body-content ol li::before {content: counter(custom-counter); position: absolute; right: -5px; top: 2px; background-color: #6a5acd; color: white; font-size: 0.8em; font-weight: bold; width: 22px; height: 22px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;}
    /* ==========================================================================
    Responsive Styles
    ========================================================================== */
    @media(max-width: 1200px) {
        .article-layout-grid { grid-template-columns: 1fr; }
        .meta-sidebar-right, .toc-sidebar { display: none; }
        .article-body-content { grid-column: 1 / -1; }
    }
    #ahanit-comment-component-wrapper {
            --comment-bg: #ffffff;
            --comment-reply-bg: #f9fafb;
            --comment-container-bg: #ffffff;
            --comment-border-color: #e5e7eb;
            --comment-form-bg: #f5f7fa;
            --comment-text-color: #374151;
            --comment-meta-color: #6b7280;
            --comment-author-color: #111827;
            --comment-accent-color: #8a4af3; /* رنگ بنفش */
            --comment-radius: 12px;
        }
        #ahanit-comment-component-wrapper .ahanit-comments-area {
            background-color: var(--comment-container-bg);
            padding: clamp(20px, 3vw, 30px);
            margin-top: 50px;
            border-radius: 16px;
            border: 1px solid var(--comment-border-color);
            box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.04), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
        }
        /* --- ساختار اصلی دو ستونه --- */
        #ahanit-comment-component-wrapper .comments-layout-wrapper {
            display: flex;
            flex-wrap: wrap; /* برای واکنش‌گرایی */
            gap: 35px;
        }
        /* --- ستون سمت راست: لیست دیدگاه‌ها --- */
        #ahanit-comment-component-wrapper .comments-list-column {
            flex: 1 1 58%;
            min-width: 320px;
            display: flex;
            flex-direction: column;
        }
        /* --- ستون سمت چپ: فرم ارسال دیدگاه --- */
        #ahanit-comment-component-wrapper .comment-form-column {
            flex: 1 1 38%;
            min-width: 300px;
            background-color: var(--comment-form-bg);
            padding: 25px;
            border-radius: var(--comment-radius);
            border: 1px solid var(--comment-border-color);
            position: sticky;
            top: 8vw; /* تنظیم فاصله از بالا با توجه به navbar */
            align-self: flex-start;
            height: fit-content;
        }
        #ahanit-comment-component-wrapper .comments-list-column .comments-title,
        #ahanit-comment-component-wrapper .comment-form-column .comment-reply-title {
            font-size: 22px; font-weight: 700; margin: 0 0 20px 0;
            padding-bottom: 15px; border-bottom: 1px solid var(--comment-border-color);
            color: var(--comment-author-color);
        }
    
        /* --- استایل لیست نظرات --- */
        #ahanit-comment-component-wrapper .comment-list {
            list-style: none; padding: 0; margin: 0;
            overflow-y: visible;
        }
    
        /* استایل کارت‌های دیدگاه اصلی */
        #ahanit-comment-component-wrapper .comment-list > li.comment {
            background: var(--comment-bg);
            border-radius: var(--comment-radius);
            border: 1px solid var(--comment-border-color);
            margin-bottom: 20px;
            box-shadow: 0 1px 3px rgba(0,0,0,0.03);
        }
        #ahanit-comment-component-wrapper .comment-body-container { padding: 18px 22px; }
        #ahanit-comment-component-wrapper .comment-author-avatar .avatar {
            width: 40px;
            height: 40px;
        }
        /* --- استایل پاسخ‌های تودرتو (استایل متفاوت و جذاب) --- */
        #ahanit-comment-component-wrapper .comment-list .children {
            list-style: none; padding: 0; margin-top: 15px;
            padding-right: 30px; /* ایجاد حاشیه برای جدا شدن از کامنت اصلی */
            position: relative;
        }
        #ahanit-comment-component-wrapper .comment-list .children .comment {
            background: var(--comment-reply-bg);
            border: 1px solid var(--comment-border-color);
            border-radius: var(--comment-radius);
            padding: 15px 20px;
            margin-bottom: 10px;
            font-size: 14px;
            box-shadow: none; /* حذف سایه از پاسخ‌ها */
        }
        #ahanit-comment-component-wrapper .comment-list .children .comment .comment-body-container { padding: 0; }
        #ahanit-comment-component-wrapper .comment-list .children .comment .comment-author-avatar .avatar {
            width: 30px;
            height: 30px;
        }
        #ahanit-comment-component-wrapper .comment-list .children .comment-metadata .author-name {
            font-size: 14px;
        }
        #ahanit-comment-component-wrapper .comment-list .children .comment-metadata a {
            font-size: 11px;
        }
        #ahanit-comment-component-wrapper .comment-list .children .comment-content {
            font-size: 13px;
        }
        #ahanit-comment-component-wrapper .comment-list .children::before {
            content: "";
            position: absolute;
            top: 0;
            right: 15px;
            bottom: 0;
            width: 2px;
            background-color: var(--comment-accent-color);
            opacity: 0.5;
        }
    
        /* --- طراحی فرم نظرات --- */
        #ahanit-comment-component-wrapper .comment-form label { display: none; }
        #ahanit-comment-component-wrapper .comment-form p { margin-bottom: 15px; }
        #ahanit-comment-component-wrapper .comment-form input[type="text"],
        #ahanit-comment-component-wrapper .comment-form input[type="email"],
        #ahanit-comment-component-wrapper .comment-form input[type="url"],
        #ahanit-comment-component-wrapper .comment-form textarea {
            width: 100%;
            padding: 12px 15px;
            border: 1px solid var(--comment-border-color);
            border-radius: 8px;
            transition: all 0.2s ease-in-out;
            background-color: var(--comment-bg);
            box-shadow: inset 0 1px 2px rgba(0,0,0,0.05);
        }
        #ahanit-comment-component-wrapper .comment-form input:focus,
        #ahanit-comment-component-wrapper .comment-form textarea:focus {
            border-color: var(--comment-accent-color);
            box-shadow: 0 0 0 3px rgba(138, 74, 243, 0.2), inset 0 1px 2px rgba(0,0,0,0.05);
            outline: none;
        }
    
        #ahanit-comment-component-wrapper .comment-form #submit {
            background-color: var(--comment-accent-color);
            color: #fff;
            border: none;
            padding: 12px 25px;
            font-weight: 600;
            cursor: pointer;
            border-radius: 8px;
            transition: background-color 0.2s, transform 0.2s, box-shadow 0.2s;
            font-size: 16px;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        }
        #ahanit-comment-component-wrapper .comment-form #submit:hover {
            background-color: #6a5acd;
            transform: translateY(-2px);
            box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
        }
    
        /* --- استایل آیکون user پیش‌فرض --- */
        #ahanit-comment-component-wrapper .comment-author-avatar .avatar[src*="gravatar"] {
            background-color: #f1f1f1;
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
        }
        #ahanit-comment-component-wrapper .comment-author-avatar .avatar[src*="gravatar"]::before {
            content: "\f007"; /* Font Awesome user icon */
            font-family: 'Font Awesome 5 Free';
            font-weight: 900;
            font-size: 20px;
            color: var(--comment-meta-color);
        }
        /* --- استایل دکمه لایک، دیسلایک و پاسخ --- */
        .comment-footer {
            display: flex;
            align-items: center;
            gap: 10px;
            margin-top: 10px;
        }
        .like-button, .dislike-button, .reply-button-wrapper a {
            display: inline-flex;
            align-items: center;
            gap: 5px;
            background-color: #f1f1f1;
            color: var(--comment-meta-color);
            padding: 6px 12px;
            border-radius: 50px;
            font-size: 12px;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.2s;
            text-decoration: none; /* برای دکمه پاسخ */
            white-space: nowrap;
        }
        .like-button:hover, .dislike-button:hover, .reply-button-wrapper a:hover {
            background-color: #e0e0e0;
            color: var(--comment-author-color);
        }
        .like-button.liked {
            background-color: #3b82f6; /* رنگ آبی برای لایک */
            color: #fff;
        }
        .dislike-button.disliked {
            background-color: #ef4444; /* رنگ قرمز برای دیسلایک */
            color: #fff;
        }
        .reply-button-wrapper {
            display: inline-block;
        }
    
        /* --- طراحی فرم پاسخ انیمیشنی --- */
        #ahanit-comment-component-wrapper .reply-form-container {
            display: none;
            overflow: hidden;
            margin-top: 10px;
            animation: slideDown 0.3s ease-out;
        }
        @keyframes slideDown {
            from { max-height: 0; opacity: 0; }
            to { max-height: 500px; opacity: 1; }
        }
    
        /* --- طراحی واکنش‌گرا برای موبایل --- */
        @media (max-width: 820px) {
            #ahanit-comment-component-wrapper .comments-layout-wrapper {
                flex-direction: column;
            }
            #ahanit-comment-component-wrapper .comment-form-column {
                position: static;
                order: -1;
            }
            #ahanit-comment-component-wrapper .comment-list {
                max-height: none;
                overflow-y: visible;
            }
        }
    .header-logo-img {
        width: 3.8vw;
        height: 3.8vw;
        max-width: 100%;
        object-fit: contain;
    }

  /*
 * ==========================================================================
 * 16.0 - Table Styles
 * ==========================================================================
 * Separated table styles for better maintainability and to ensure proper horizontal scrolling.
 * Ensures tables within .article-body-content have a horizontal scrollbar for wide tables.
 * Version: 2.4 (Enhanced for consistent horizontal scrolling without card layout)
 */
.table-container {
    max-width: 100%;
    overflow-x: auto;
    margin: 2rem 0;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    border-radius: 8px;
    scrollbar-width: thin;
    scrollbar-color: #6a5acd #f1f1f1;
}
.table-container::-webkit-scrollbar {
    height: 8px;
}
.table-container::-webkit-scrollbar-thumb {
    background-color: #6a5acd;
    border-radius: 4px;
}
.table-container::-webkit-scrollbar-track {
    background-color: #f1f1f1;
}
.article-body-content table {
    width: 100%;
    min-width: 800px; /* Ensures table is wide enough to trigger scroll */
    table-layout: fixed; /* Controls column widths */
    border-collapse: collapse;
    font-size: 0.95rem;
    background-color: #fff;
    direction: rtl; /* Ensures right-to-left scrolling */
}
.article-body-content th,
.article-body-content td {
    padding: 12px 15px;
    text-align: right;
    border-bottom: 1px solid #dee2e6;
    min-width: 120px; /* Ensures columns have sufficient width */
}
.article-body-content thead th {
    background-color: #6a5acd;
    color: #fff;
    font-weight: 600;
    border-bottom: 1px solid #4a3f92;
}
.article-body-content tbody tr:nth-of-type(even) {
    background-color: #f8f9fa;
}
.article-body-content tbody tr:hover {
    background-color: #e9ecef;
}
.article-body-content tbody tr:last-of-type {
    border-bottom: 2px solid #6a5acd;
}

/* === CTA: Call (مشاوره و خرید) با Font Awesome + Pulse (v1.3-FA) === */
.chart-modal-btn.cta-call {
  background: linear-gradient(45deg, #22c55e, #16a34a);
  color: #fff;
  border: 1px solid rgba(34, 197, 94, .25);
}
.chart-modal-btn.cta-call:hover {
  background: #eafff3;
  color: #14532d;
  transform: translateY(-.05vw);
}

/* آیکن FA با حلقه پالس */
.fa-call .fa-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.6em;
  height: 1.6em;
  margin-inline-end: .6em;
}
.fa-call .fas.fa-phone,
.fa-call .fa-solid.fa-phone {
  font-size: 1.05em;
  line-height: 1;
}

/* حلقه پالس دور آیکن (مینیمال) */
.fa-call .fa-pulse-ring {
  position: absolute;
  inset: 0;
  border: 0.14em solid currentColor;
  border-radius: 50%;
  opacity: 0;
  transform: scale(0.8);
  animation: fa-ring-pulse 1.8s ease-out infinite;
}

/* انیمیشن پالس */
@keyframes fa-ring-pulse {
  0%   { opacity: .0;  transform: scale(0.8); }
  20%  { opacity: .45; transform: scale(1.0); }
  60%  { opacity: .15; transform: scale(1.15); }
  100% { opacity: 0;   transform: scale(1.2); }
}

/* متن دوخطی کنار آیکن */
.cta-call-text {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.15;
}
.cta-call-text > strong {
  font-weight: 800;
  margin-bottom: .15em;
}

/* تایپوگرافی شماره */
.cta-call-num {
  font-variant-numeric: tabular-nums;
  font-weight: 800;
  letter-spacing: .01em;
}
.cta-call-num .l1 { font-size: .92em; opacity: .9; }
.cta-call-num .l2 { font-size: 1.08em; letter-spacing: .02em; }

/* واکنش‌گرا */
@media (max-width: 768px) {
  .cta-call-text { line-height: 1.2; }
  .cta-call-num .l1 { font-size: 3.1vw; }
  .cta-call-num .l2 { font-size: 3.6vw; }
  .fa-call .fa-wrap { width: 1.9em; height: 1.9em; }
}