/**
 * NexaShop Single Blog Post Stylesheet
 * High-performance, fully responsive, RTL-native, SEO & E-E-A-T compliant
 */

:root {
    --nexashop-sp-bg: var(--e-global-color-background, #ffffff);
    --nexashop-sp-text: var(--e-global-color-text, #334155);
    --nexashop-sp-title: var(--e-global-color-primary, #0f172a);
    --nexashop-sp-headings: var(--e-global-color-secondary, #1e293b);
    --nexashop-sp-accent: var(--e-global-color-accent, var(--e-global-color-primary, #ef394e));
    --nexashop-sp-meta: #64748b;
    --nexashop-sp-dl-bg: #f8fafc;
    --nexashop-sp-dl-border: #e2e8f0;
    --nexashop-sp-dl-btn-bg: var(--e-global-color-accent, #10b981);
    --nexashop-sp-dl-btn-color: #ffffff;
    --nexashop-sp-title-size: 30px;
    --nexashop-sp-body-size: 16px;
    --nexashop-sp-line-height: 1.9;
}

/* ==========================================================================
   Reading Progress Bar
   ========================================================================== */
.nexashop-reading-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: transparent;
    z-index: 99999;
}

.nexashop-reading-progress-bar-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--e-global-color-primary, #ef394e), var(--e-global-color-accent, #f97316));
    transition: width 0.1s ease-out;
}

/* ==========================================================================
   Single Post Layout & Wrapper
   ========================================================================== */
.nexashop-single-post-wrap {
    direction: rtl;
    text-align: right;
    background-color: #f8fafc;
    padding: 30px 0 60px;
    min-height: 100vh;
}

.nexashop-single-post-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.nexashop-post-card {
    background-color: var(--nexashop-sp-bg);
    border-radius: 20px;
    border: 1px solid #f1f5f9;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    padding: 40px;
    margin-bottom: 40px;
}

@media (max-width: 768px) {
    .nexashop-single-post-wrap {
        padding: 16px 0 40px;
    }
    .nexashop-single-post-container {
        padding: 0 14px;
    }
    .nexashop-post-card {
        padding: 22px 18px;
        border-radius: 16px;
    }
}

/* ==========================================================================
   Breadcrumbs
   ========================================================================== */
.nexashop-post-breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--nexashop-sp-meta);
    margin-bottom: 22px;
}

.nexashop-post-breadcrumbs a {
    color: var(--nexashop-sp-meta);
    text-decoration: none;
    transition: color 0.2s;
}

.nexashop-post-breadcrumbs a:hover {
    color: var(--nexashop-sp-accent);
}

.nexashop-post-breadcrumbs .sep {
    color: #cbd5e1;
    font-size: 11px;
}

.nexashop-post-breadcrumbs .current {
    color: #1e293b;
    font-weight: 500;
}

/* ==========================================================================
   Categories Badges
   ========================================================================== */
.nexashop-post-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.nexashop-cat-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #eff6ff;
    color: #2563eb;
    padding: 4px 14px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.nexashop-cat-badge:hover {
    background: #2563eb;
    color: #ffffff;
    transform: translateY(-1px);
}

/* ==========================================================================
   Post Title & Meta Bar
   ========================================================================== */
.nexashop-post-title {
    font-size: var(--nexashop-sp-title-size);
    color: var(--nexashop-sp-title);
    line-height: 1.4;
    font-weight: 800;
    margin: 0 0 20px 0;
    word-break: break-word;
}

@media (max-width: 768px) {
    .nexashop-post-title {
        font-size: 22px;
        margin-bottom: 16px;
    }
}

.nexashop-post-meta-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px 20px;
    padding: 16px 0;
    border-top: 1px dashed #e2e8f0;
    border-bottom: 1px dashed #e2e8f0;
    margin-bottom: 28px;
    font-size: 13px;
    color: var(--nexashop-sp-meta);
}

.nexashop-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.nexashop-meta-item svg,
.nexashop-meta-item .dashicons {
    color: var(--nexashop-sp-accent);
    font-size: 16px;
    width: 16px;
    height: 16px;
}

.nexashop-meta-author-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid #e2e8f0;
}

.nexashop-meta-item a {
    color: inherit;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}

.nexashop-meta-item a:hover {
    color: var(--nexashop-sp-accent);
}

.nexashop-badge-updated {
    background: #fef2f2;
    color: #ef4444;
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
}

.nexashop-badge-reviewed {
    background: #ecfdf5;
    color: #059669;
    border: 1px solid #a7f3d0;
    border-radius: 6px;
    padding: 2px 8px;
    font-size: 11.5px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.nexashop-badge-reviewed svg {
    color: #059669 !important;
}

.nexashop-font-resizer-wrap {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-right: auto;
}

.nexashop-resizer-label {
    font-size: 11.5px;
    color: #94a3b8;
    margin-left: 2px;
}

.nexashop-btn-font-size {
    padding: 2px 8px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    color: #64748b;
    cursor: pointer;
    transition: all 0.2s ease;
    line-height: 1.4;
}

.nexashop-btn-font-size:hover {
    background: var(--nexashop-sp-accent, #ef394e);
    color: #ffffff;
    border-color: var(--nexashop-sp-accent, #ef394e);
}

/* ==========================================================================
   Featured Image
   ========================================================================== */
.nexashop-post-featured-image {
    margin-bottom: 28px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}

.nexashop-post-featured-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    max-height: 480px;
}

.nexashop-post-featured-caption {
    font-size: 12px;
    color: #94a3b8;
    text-align: center;
    margin-top: 8px;
}

/* ==========================================================================
   GEO (Generative Engine Optimization) Smart TL;DR Quick Answer Box
   ========================================================================== */
.nexashop-post-tldr {
    background: linear-gradient(145deg, #f0fdf4 0%, #ffffff 45%, #f8fafc 100%);
    border: 1.5px solid #86efac;
    border-radius: 18px;
    padding: 22px 24px;
    margin: 28px 0 34px;
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.06);
    position: relative;
}

.nexashop-tldr-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 1px dashed #bbf7d0;
}

.nexashop-tldr-title {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nexashop-tldr-sparkle {
    display: inline-flex;
    color: #10b981;
}

.nexashop-tldr-title h3 {
    font-size: 16px;
    font-weight: 800;
    color: #065f46;
    margin: 0;
    padding: 0;
    border: none !important;
}

.nexashop-tldr-badge {
    background: #dcfce7;
    color: #15803d;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
}

.nexashop-tldr-content {
    color: #1f2937;
}

.nexashop-tldr-lead {
    font-size: 14.5px;
    line-height: 1.85;
    color: #1e293b;
    margin-bottom: 14px;
    font-weight: 500;
}

.nexashop-tldr-bullets {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.nexashop-tldr-bullets li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 13.5px;
    color: #374151;
    line-height: 1.7;
}

.nexashop-tldr-bullets li svg {
    color: #10b981;
    flex-shrink: 0;
    margin-top: 3px;
}

/* ==========================================================================
   Article Content & Typography
   ========================================================================== */
.nexashop-post-content {
    font-size: var(--nexashop-sp-body-size);
    line-height: var(--nexashop-sp-line-height);
    color: var(--nexashop-sp-text);
    word-break: break-word;
}

.nexashop-post-content p {
    margin-bottom: 22px;
}

.nexashop-post-content h2,
.nexashop-post-content h3,
.nexashop-post-content h4 {
    color: var(--nexashop-sp-headings);
    font-weight: 700;
    margin-top: 36px;
    margin-bottom: 18px;
    position: relative;
    padding-right: 14px;
}

.nexashop-post-content h2 {
    font-size: 22px;
    border-right: 4px solid var(--nexashop-sp-accent);
}

.nexashop-post-content h3 {
    font-size: 18px;
    border-right: 3px solid #f97316;
}

.nexashop-post-content h4 {
    font-size: 16px;
    border-right: 2px solid #cbd5e1;
}

.nexashop-post-content a {
    color: var(--nexashop-sp-accent);
    text-decoration: underline;
    text-underline-offset: 4px;
    transition: opacity 0.2s;
}

.nexashop-post-content a:hover {
    opacity: 0.85;
}

.nexashop-post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 20px auto;
    display: block;
}

.nexashop-post-content ul,
.nexashop-post-content ol {
    margin: 0 0 24px 24px;
    padding: 0;
}

.nexashop-post-content li {
    margin-bottom: 10px;
}

/* Blockquotes & Callouts */
.nexashop-post-content blockquote {
    background: #f8fafc;
    border-right: 4px solid var(--nexashop-sp-accent);
    padding: 16px 20px;
    margin: 26px 0;
    border-radius: 10px;
    color: #475569;
    font-style: normal;
    font-weight: 500;
}

/* ==========================================================================
   Code Blocks & Syntax Formatting
   ========================================================================== */
.nexashop-code-block {
    direction: ltr;
    text-align: left;
    background: #1e293b;
    border-radius: 12px;
    margin: 26px 0;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.nexashop-code-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
    background: #0f172a;
    border-bottom: 1px solid #334155;
}

.nexashop-code-dots {
    display: flex;
    align-items: center;
    gap: 6px;
}

.nexashop-code-dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
}

.nexashop-code-dot.red { background: #ff5f56; }
.nexashop-code-dot.yellow { background: #ffbd2e; }
.nexashop-code-dot.green { background: #27c93f; }

.nexashop-code-lang {
    color: #94a3b8;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: monospace;
}

.nexashop-code-copy-btn {
    background: #334155;
    color: #e2e8f0;
    border: none;
    border-radius: 6px;
    padding: 4px 10px;
    font-size: 12px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.2s ease;
    font-family: inherit;
}

.nexashop-code-copy-btn:hover {
    background: #475569;
    color: #ffffff;
}

.nexashop-code-copy-btn.copied {
    background: #10b981;
    color: #ffffff;
}

.nexashop-code-block pre {
    margin: 0;
    padding: 18px 20px;
    overflow-x: auto;
    font-family: "JetBrains Mono", "Fira Code", Consolas, Monaco, monospace;
    font-size: 14px;
    line-height: 1.6;
    color: #f1f5f9;
}

.nexashop-code-block code {
    font-family: inherit;
    background: transparent;
    color: inherit;
    padding: 0;
}

/* Inline code snippet */
.nexashop-post-content :not(pre) > code {
    background: #f1f5f9;
    color: #e11d48;
    padding: 2px 7px;
    border-radius: 6px;
    font-size: 85%;
    font-family: Consolas, monospace;
    direction: ltr;
    display: inline-block;
}

/* ==========================================================================
   Video / Aparat Embeds (16:9 Responsive)
   ========================================================================== */
.nexashop-video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: 14px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    margin: 28px 0;
    background: #000000;
}

.nexashop-video-wrapper iframe,
.nexashop-video-wrapper video,
.nexashop-video-wrapper object,
.nexashop-video-wrapper embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* ==========================================================================
   Table of Contents (TOC)
   ========================================================================== */
.nexashop-toc-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 18px 22px;
    margin: 28px 0 34px;
    transition: all 0.2s ease;
}

.nexashop-toc-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    user-select: none;
}

.nexashop-toc-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
}

.nexashop-toc-title svg {
    color: var(--nexashop-sp-accent);
}

.nexashop-toc-toggle-btn {
    background: transparent;
    border: none;
    color: #64748b;
    font-size: 13px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.nexashop-toc-list {
    margin: 16px 0 0 0;
    padding: 0 16px 0 0;
    list-style: none;
}

.nexashop-toc-list li {
    margin-bottom: 9px;
    font-size: 14px;
}

.nexashop-toc-list li.toc-h3 {
    margin-right: 18px;
    font-size: 13px;
}

.nexashop-toc-list a {
    color: #334155;
    text-decoration: none;
    transition: color 0.2s;
    display: inline-block;
}

.nexashop-toc-list a:hover {
    color: var(--nexashop-sp-accent);
    transform: translateX(-3px);
}

/* ==========================================================================
   Download Box (جعبه دانلود حرفه‌ای)
   ========================================================================== */
.nexashop-download-box {
    background: var(--nexashop-sp-dl-bg);
    border: 2px dashed var(--nexashop-sp-dl-border);
    border-radius: 16px;
    padding: 26px;
    margin: 40px 0 20px;
    position: relative;
}

.nexashop-dl-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e2e8f0;
    margin-bottom: 20px;
}

.nexashop-dl-title-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nexashop-dl-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: #ecfdf5;
    color: #10b981;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.nexashop-dl-title {
    font-size: 17px;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
}

.nexashop-dl-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.nexashop-dl-pill {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    color: #475569;
    font-weight: 500;
}

/* Password Box */
.nexashop-dl-password-row {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 10px;
}

.nexashop-dl-pwd-label {
    font-size: 13px;
    font-weight: 600;
    color: #334155;
    display: flex;
    align-items: center;
    gap: 6px;
}

.nexashop-dl-pwd-val {
    font-family: monospace;
    font-weight: 700;
    color: #ef4444;
    direction: ltr;
    font-size: 14px;
}

.nexashop-dl-copy-pwd-btn {
    background: #f1f5f9;
    border: none;
    color: #334155;
    border-radius: 6px;
    padding: 4px 12px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.nexashop-dl-copy-pwd-btn:hover {
    background: #e2e8f0;
}

.nexashop-dl-copy-pwd-btn.copied {
    background: #10b981;
    color: #ffffff;
}

/* Guide box */
.nexashop-dl-guide {
    background: #fffbeb;
    border: 1px solid #fef3c7;
    border-radius: 10px;
    padding: 14px 16px;
    margin-bottom: 20px;
    font-size: 13px;
    color: #92400e;
    line-height: 1.7;
}

/* Download Buttons Grid */
.nexashop-dl-buttons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 12px;
}

.nexashop-dl-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none !important;
    transition: all 0.25s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.nexashop-dl-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

.nexashop-dl-btn-direct {
    background: var(--nexashop-sp-dl-btn-bg);
    color: var(--nexashop-sp-dl-btn-color) !important;
}

.nexashop-dl-btn-mirror {
    background: #2563eb;
    color: #ffffff !important;
}

.nexashop-dl-btn-cloud {
    background: #8b5cf6;
    color: #ffffff !important;
}

.nexashop-dl-btn-github {
    background: #0f172a;
    color: #ffffff !important;
}

.nexashop-dl-btn-badge {
    background: rgba(255, 255, 255, 0.2);
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 500;
}

/* ==========================================================================
   Post Tags & Keywords
   ========================================================================== */
.nexashop-post-tags-footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    padding-top: 24px;
    margin-top: 32px;
    border-top: 1px solid #f1f5f9;
}

.nexashop-tags-title {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 700;
    color: #475569;
}

.nexashop-tags-title svg {
    color: var(--nexashop-sp-accent, #ef394e);
}

.nexashop-tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.nexashop-tag-chip {
    display: inline-flex;
    align-items: center;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #475569;
    padding: 4px 12px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.nexashop-tag-chip:hover {
    background: #fee2e2;
    color: #ef4444;
    border-color: #fca5a5;
    transform: translateY(-1px);
}

/* ==========================================================================
   Social Share Bar & 1-Click Link Copy
   ========================================================================== */
.nexashop-post-share-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 16px 22px;
    margin-top: 28px;
}

.nexashop-share-title-wrap {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
    font-weight: 700;
    color: #1e293b;
}

.nexashop-share-title-wrap svg {
    color: var(--nexashop-sp-accent, #ef394e);
}

.nexashop-share-links {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.nexashop-share-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    color: #ffffff;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
    line-height: 1.2;
}

.nexashop-share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    opacity: 0.95;
}

.nexashop-share-telegram { background: #229ed9; }
.nexashop-share-whatsapp { background: #25d366; }
.nexashop-share-twitter { background: #000000; }
.nexashop-share-linkedin { background: #0a66c2; }
.nexashop-share-copy {
    background: #475569;
}
.nexashop-share-copy.copied {
    background: #10b981 !important;
}

/* ==========================================================================
   Author E-E-A-T Showcase Card
   ========================================================================== */
.nexashop-author-box {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 26px 28px;
    margin: 36px 0;
    display: flex;
    gap: 24px;
    align-items: flex-start;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

.nexashop-author-avatar-wrap {
    flex-shrink: 0;
    position: relative;
}

.nexashop-author-avatar {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #f1f5f9;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.nexashop-author-status-dot {
    position: absolute;
    bottom: 4px;
    left: 4px;
    width: 13px;
    height: 13px;
    background: #10b981;
    border: 2px solid #ffffff;
    border-radius: 50%;
}

.nexashop-author-info {
    flex-grow: 1;
}

.nexashop-author-header {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 8px;
}

.nexashop-author-name {
    font-size: 16.5px;
    font-weight: 800;
    color: #0f172a;
    text-decoration: none;
}

.nexashop-author-name:hover {
    color: var(--nexashop-sp-accent, #ef394e);
}

.nexashop-author-verified-badge {
    color: #2563eb;
    display: inline-flex;
    vertical-align: middle;
}

.nexashop-author-role {
    font-size: 11.5px;
    font-weight: 600;
    color: #475569;
    background: #f1f5f9;
    padding: 2px 10px;
    border-radius: 20px;
}

.nexashop-author-bio {
    font-size: 13.5px;
    line-height: 1.8;
    color: #475569;
    margin: 0 0 14px 0;
}

.nexashop-author-links {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    padding-top: 14px;
    border-top: 1px dashed #e2e8f0;
    font-size: 12.5px;
}

.nexashop-author-meta-count {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #64748b;
    font-weight: 500;
}

.nexashop-author-all-posts {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--nexashop-sp-accent, #ef394e);
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.2s ease;
}

.nexashop-author-all-posts:hover {
    transform: translateX(-4px);
}

/* ==========================================================================
   Previous / Next Post Navigation Cards
   ========================================================================== */
.nexashop-post-nav-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin: 36px 0;
}

.nexashop-post-nav-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 18px 20px;
    text-decoration: none;
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
}

.nexashop-post-nav-card:hover {
    border-color: var(--nexashop-sp-accent, #ef394e);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
}

.nexashop-nav-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.nexashop-post-nav-card:hover .nexashop-nav-icon {
    background: var(--nexashop-sp-accent, #ef394e);
    color: #ffffff;
    border-color: var(--nexashop-sp-accent, #ef394e);
}

.nexashop-nav-content {
    flex-grow: 1;
    min-width: 0;
}

.nexashop-post-nav-hint {
    display: block;
    font-size: 11.5px;
    font-weight: 600;
    color: #94a3b8;
    margin-bottom: 4px;
}

.nexashop-post-nav-title {
    font-size: 13.5px;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.5;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.nexashop-post-nav-placeholder {
    visibility: hidden;
}

/* ==========================================================================
   Related Posts Section (3 Columns Grid)
   ========================================================================== */
.nexashop-related-posts-section {
    margin: 48px 0 32px;
}

.nexashop-related-header {
    margin-bottom: 22px;
}

.nexashop-related-title-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
}

.nexashop-related-icon {
    color: var(--nexashop-sp-accent, #ef394e);
    display: inline-flex;
}

.nexashop-related-title {
    font-size: 19px;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
}

.nexashop-related-subtitle {
    font-size: 12.5px;
    color: #64748b;
}

.nexashop-related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.nexashop-related-card {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.25s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
}

.nexashop-related-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.07);
    border-color: #cbd5e1;
}

.nexashop-related-thumb-link {
    text-decoration: none;
    display: block;
}

.nexashop-related-thumb-wrap {
    height: 160px;
    overflow: hidden;
    position: relative;
    background: #f1f5f9;
}

.nexashop-related-thumb-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.nexashop-related-card:hover .nexashop-related-thumb-wrap img {
    transform: scale(1.06);
}

.nexashop-related-no-thumb {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #cbd5e1;
    font-size: 32px;
}

.nexashop-related-badge-time {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(4px);
    color: #ffffff;
    font-size: 11px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.nexashop-related-body {
    padding: 16px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.nexashop-related-meta {
    font-size: 11.5px;
    color: #94a3b8;
    margin-bottom: 8px;
}

.nexashop-related-meta-date {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.nexashop-related-card-title {
    font-size: 13.5px;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.55;
    margin: 0;
    flex-grow: 1;
}

.nexashop-related-card-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}

.nexashop-related-card-title a:hover {
    color: var(--nexashop-sp-accent, #ef394e);
}

/* ==========================================================================
   Comments Section UI / UX (Modern, Threaded & Responsive)
   ========================================================================== */
.nexashop-comments-section {
    background: #ffffff;
    border-radius: 22px;
    border: 1px solid #e2e8f0;
    padding: 38px 34px;
    margin-top: 48px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.03);
}

/* Header Box */
.nexashop-comments-header-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 14px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f1f5f9;
    margin-bottom: 32px;
}

.nexashop-comments-title-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nexashop-comments-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: #fee2e2;
    color: #ef4444;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nexashop-comments-main-title {
    font-size: 19px;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
}

.nexashop-comments-count-pill {
    background: #f1f5f9;
    color: #475569;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
}

.nexashop-btn-jump-reply {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--nexashop-sp-accent, #ef394e);
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    padding: 8px 18px;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(239, 57, 78, 0.2);
}

.nexashop-btn-jump-reply:hover {
    opacity: 0.92;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(239, 57, 78, 0.3);
}

/* Empty State */
.nexashop-comments-empty-state {
    text-align: center;
    padding: 42px 24px;
    background: #f8fafc;
    border: 1.5px dashed #cbd5e1;
    border-radius: 18px;
    margin-bottom: 36px;
}

.nexashop-empty-bubble {
    width: 68px;
    height: 68px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.nexashop-empty-title {
    font-size: 16.5px;
    font-weight: 800;
    color: #1e293b;
    margin: 0 0 8px;
}

.nexashop-empty-desc {
    font-size: 13.5px;
    color: #64748b;
    margin: 0 auto 20px;
    max-width: 480px;
    line-height: 1.7;
}

.nexashop-btn-first-comment {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--nexashop-sp-accent, #ef394e);
    color: #ffffff;
    padding: 10px 24px;
    border-radius: 12px;
    font-size: 13.5px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.25s ease;
    box-shadow: 0 4px 14px rgba(239, 57, 78, 0.2);
}

.nexashop-btn-first-comment:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(239, 57, 78, 0.3);
}

/* Closed Comments Notice */
.nexashop-comments-closed-notice {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 14px;
    color: #64748b;
    font-size: 13.5px;
    font-weight: 600;
    margin: 24px 0;
}

/* Comments List */
.nexashop-comments-list {
    list-style: none;
    padding: 0;
    margin: 0 0 36px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.nexashop-comment-item {
    list-style: none;
    position: relative;
}

.nexashop-comment-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 22px;
    transition: all 0.2s ease;
}

.nexashop-comment-card:hover {
    background: #ffffff;
    border-color: #cbd5e1;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
}

.nexashop-comment-card.is-author-comment {
    background: #fffafb;
    border: 1.5px solid rgba(239, 57, 78, 0.25);
    box-shadow: 0 4px 16px rgba(239, 57, 78, 0.04);
}

.nexashop-comment-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 14px;
}

.nexashop-comment-author-meta {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nexashop-comment-avatar-wrap {
    position: relative;
    flex-shrink: 0;
}

.nexashop-comment-avatar {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.nexashop-avatar-author-badge {
    position: absolute;
    bottom: -2px;
    left: -2px;
    width: 16px;
    height: 16px;
    background: #ef4444;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #ffffff;
}

.nexashop-comment-author-name-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.nexashop-comment-author-name {
    font-size: 14.5px;
    font-weight: 700;
    color: #0f172a;
}

.nexashop-comment-author-name a {
    color: inherit;
    text-decoration: none;
}

.nexashop-badge-author-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #fee2e2;
    color: #ef4444;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 6px;
}

.nexashop-comment-date {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 11.5px;
    color: #94a3b8;
    margin-top: 3px;
}

.nexashop-comment-date-exact {
    color: #cbd5e1;
}

.nexashop-comment-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.comment-reply-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    color: #475569;
    padding: 5px 14px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
}

.comment-reply-link:hover {
    background: var(--nexashop-sp-accent, #ef394e);
    color: #ffffff;
    border-color: var(--nexashop-sp-accent, #ef394e);
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(239, 57, 78, 0.18);
}

.nexashop-comment-edit-link a {
    font-size: 11.5px;
    color: #94a3b8;
    text-decoration: none;
    padding: 4px 8px;
}

.nexashop-comment-moderation-alert {
    background: #fffbeb;
    border: 1px solid #fef3c7;
    color: #b45309;
    padding: 8px 14px;
    border-radius: 10px;
    font-size: 12.5px;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.nexashop-comment-content {
    font-size: 14px;
    line-height: 1.85;
    color: #334155;
    word-break: break-word;
}

.nexashop-comment-content p {
    margin: 0 0 10px 0;
}

.nexashop-comment-content p:last-child {
    margin-bottom: 0;
}

/* Threaded Nested Children */
.nexashop-comments-list .children {
    list-style: none;
    padding: 0 28px 0 0;
    margin: 18px 0 0 0;
    border-right: 2px dashed #cbd5e1;
    display: flex;
    flex-direction: column;
    gap: 18px;
    position: relative;
}

/* Pagination */
.nexashop-comments-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
}

.nexashop-comments-pagination .page-numbers {
    padding: 6px 14px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    color: #475569;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.nexashop-comments-pagination .page-numbers.current {
    background: var(--nexashop-sp-accent, #ef394e);
    color: #ffffff;
    border-color: var(--nexashop-sp-accent, #ef394e);
}

/* ==========================================================================
   Comment Submission Form (#respond)
   ========================================================================== */
.nexashop-comments-section .comment-respond {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 28px;
    margin-top: 36px;
}

.nexashop-reply-title-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 8px;
}

.nexashop-reply-title {
    font-size: 18px;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nexashop-cancel-reply-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #fee2e2;
    color: #ef4444;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s ease;
}

.nexashop-cancel-reply-btn:hover {
    background: #ef4444;
    color: #ffffff;
}

.nexashop-form-guidelines {
    font-size: 12.5px;
    color: #64748b;
    margin: 0 0 20px 0;
}

.nexashop-comments-section .comment-form {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.nexashop-form-group {
    flex: 1 1 calc(50% - 10px);
    min-width: 240px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.nexashop-form-group.nexashop-form-group-full {
    flex: 1 1 100%;
}

.nexashop-form-group label {
    font-size: 13px;
    font-weight: 700;
    color: #334155;
}

.nexashop-form-group label .required {
    color: #ef4444;
}

.nexashop-input-icon-wrap {
    position: relative;
    width: 100%;
}

.nexashop-input-icon-wrap svg {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    pointer-events: none;
    transition: color 0.2s ease;
}

.nexashop-input-icon-wrap.is-textarea svg {
    top: 16px;
    transform: none;
}

.nexashop-input-icon-wrap input,
.nexashop-input-icon-wrap textarea {
    width: 100%;
    padding: 12px 42px 12px 16px;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    background: #ffffff;
    font-family: inherit;
    font-size: 14px;
    color: #1e293b;
    transition: all 0.2s ease;
    outline: none;
    box-sizing: border-box;
}

.nexashop-input-icon-wrap.is-textarea textarea {
    padding-right: 16px;
    resize: vertical;
    min-height: 120px;
    line-height: 1.7;
}

.nexashop-input-icon-wrap input:focus,
.nexashop-input-icon-wrap textarea:focus {
    border-color: var(--nexashop-sp-accent, #ef394e);
    box-shadow: 0 0 0 3.5px rgba(239, 57, 78, 0.12);
}

.nexashop-input-icon-wrap:focus-within svg {
    color: var(--nexashop-sp-accent, #ef394e);
}

.nexashop-checkbox-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
    color: #64748b;
    cursor: pointer;
    user-select: none;
}

.nexashop-checkbox-label input {
    width: 16px;
    height: 16px;
    accent-color: var(--nexashop-sp-accent, #ef394e);
    cursor: pointer;
}

.nexashop-form-submit-row {
    margin-top: 8px;
    width: 100%;
}

.nexashop-btn-submit-comment {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--nexashop-sp-accent, #ef394e);
    color: #ffffff;
    border: none;
    padding: 13px 32px;
    border-radius: 12px;
    font-family: inherit;
    font-size: 14.5px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 4px 16px rgba(239, 57, 78, 0.25);
}

.nexashop-btn-submit-comment:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(239, 57, 78, 0.35);
    opacity: 0.95;
}

/* ==========================================================================
   Floating Quick Action Bar
   ========================================================================== */
.nexashop-floating-action-bar {
    position: fixed;
    bottom: 30px;
    left: 30px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 999;
}

.nexashop-fab-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    color: #334155;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    text-decoration: none;
    cursor: pointer;
    transition: all 0.25s ease;
    position: relative;
    padding: 0;
}

.nexashop-fab-btn:hover {
    background: var(--nexashop-sp-accent, #ef394e);
    color: #ffffff;
    border-color: var(--nexashop-sp-accent, #ef394e);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(239, 57, 78, 0.3);
}

.fab-badge {
    position: absolute;
    top: -3px;
    right: -3px;
    background: #ef4444;
    color: #ffffff;
    font-size: 10px;
    font-weight: 700;
    padding: 1px 6px;
    border-radius: 10px;
    border: 1.5px solid #ffffff;
}

.fab-tooltip {
    position: absolute;
    left: calc(100% + 10px);
    top: 50%;
    transform: translateY(-50%);
    background: #1e293b;
    color: #ffffff;
    font-size: 11.5px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 6px;
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
}

.nexashop-fab-btn:hover .fab-tooltip {
    opacity: 1;
    visibility: visible;
}

/* ==========================================================================
   Toast Notification for 1-Click Copy
   ========================================================================== */
.nexashop-toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: #0f172a;
    color: #ffffff;
    padding: 12px 24px;
    border-radius: 30px;
    font-size: 13.5px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    z-index: 100000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.nexashop-toast.is-active {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
    visibility: visible;
}

.nexashop-toast svg {
    color: #10b981;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 860px) {
    .nexashop-related-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nexashop-single-post-wrap {
        padding: 16px 0 40px;
    }
    .nexashop-single-post-container {
        padding: 0 12px;
    }
    .nexashop-post-card {
        padding: 22px 16px;
        border-radius: 16px;
    }
    .nexashop-post-meta-bar {
        gap: 12px;
        font-size: 12px;
    }
    .nexashop-font-resizer-wrap {
        margin-right: 0;
        width: 100%;
        padding-top: 8px;
        border-top: 1px dashed #f1f5f9;
    }
    .nexashop-post-share-bar {
        flex-direction: column;
        align-items: flex-start;
        padding: 14px 16px;
    }
    .nexashop-author-box {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 20px 16px;
    }
    .nexashop-author-header {
        justify-content: center;
    }
    .nexashop-author-links {
        justify-content: center;
    }
    .nexashop-post-nav-grid {
        grid-template-columns: 1fr;
    }
    .nexashop-comments-section {
        padding: 24px 16px;
        border-radius: 18px;
    }
    .nexashop-comments-section .comment-respond {
        padding: 20px 14px;
        border-radius: 16px;
    }
    .nexashop-comments-list .children {
        padding-right: 14px;
        margin-top: 14px;
        border-right-width: 1.5px;
    }
    .nexashop-floating-action-bar {
        bottom: 20px;
        left: 16px;
    }
    .fab-tooltip {
        display: none;
    }
}

@media (max-width: 560px) {
    .nexashop-related-grid {
        grid-template-columns: 1fr;
    }
    .nexashop-form-group {
        min-width: 100%;
    }
    .nexashop-share-links {
        width: 100%;
        justify-content: space-between;
    }
}

