/* ==========================================================================
   شاهنامه | SHAHNAMEH — main.css
   قالب اختصاصی نشر و فروش کتاب
   ========================================================================== */

:root {
    --sh-primary: #2563eb;
    --sh-primary-dark: #1d4ed8;
    --sh-primary-light: #dbeafe;
    --sh-success: #10b981;
    --sh-warning: #f59e0b;
    --sh-danger: #ef4444;
    --sh-purple: #8b5cf6;

    --sh-text: #0f172a;
    --sh-text-soft: #475569;
    --sh-text-muted: #94a3b8;

    --sh-bg: #ffffff;
    --sh-bg-soft: #f8fafc;
    --sh-bg-mute: #f1f5f9;
    --sh-border: #e2e8f0;

    /* همه گوشه‌ها ۸ پیکسل */
    --sh-radius: 8px;

    --sh-shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05);
    --sh-shadow: 0 1px 3px rgba(15, 23, 42, 0.1), 0 1px 2px rgba(15, 23, 42, 0.06);
    --sh-shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.1), 0 2px 4px -2px rgba(15, 23, 42, 0.06);
    --sh-shadow-lg: 0 10px 15px -3px rgba(15, 23, 42, 0.1), 0 4px 6px -4px rgba(15, 23, 42, 0.05);
    --sh-shadow-xl: 0 20px 25px -5px rgba(15, 23, 42, 0.1), 0 8px 10px -6px rgba(15, 23, 42, 0.04);

    --sh-transition: all 0.25s ease;
    --sh-font: 'Vazirmatn', Tahoma, Arial, sans-serif;
}

/* ---------- پایه ---------- */
body {
    font-family: var(--sh-font);
    color: var(--sh-text);
    background: var(--sh-bg-soft);
    line-height: 1.8;
    margin: 0;
}

* {
    box-sizing: border-box;
}

/* همه گوشه‌های عناصر رایج: ۸px، بدون گوشه تیز */
a, button, input, select, textarea,
img, .sh-card, table, tr, td, th,
.button, .wp-block-button__link {
    border-radius: var(--sh-radius);
}

a {
    color: var(--sh-primary);
    text-decoration: none;
    transition: var(--sh-transition);
}
a:hover { color: var(--sh-primary-dark); }

img { max-width: 100%; height: auto; }

.shahnameh-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

.screen-reader-text {
    position: absolute;
    width: 1px; height: 1px;
    overflow: hidden;
    clip: rect(1px, 1px, 1px, 1px);
}
.sh-skip-link { position: absolute; right: -9999px; }

.sh-empty {
    text-align: center;
    padding: 48px 20px;
    color: var(--sh-text-muted);
}

/* ---------- سربرگ ---------- */
.shahnameh-header {
    background: var(--sh-bg);
    box-shadow: var(--sh-shadow);
    position: relative;
    z-index: 100;
}
.shahnameh-header-inner {
    display: flex;
    align-items: center;
    gap: 24px;
    padding-top: 16px;
    padding-bottom: 16px;
}
.shahnameh-branding { flex-shrink: 0; }
.shahnameh-site-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 22px;
    font-weight: 800;
    color: var(--sh-primary);
}
.shahnameh-search { flex: 1; }
.shahnameh-search-form {
    display: flex;
    background: var(--sh-bg-mute);
    border-radius: var(--sh-radius);
    overflow: hidden;
    border: 1px solid var(--sh-border);
}
.shahnameh-search-form input {
    flex: 1;
    border: 0;
    background: transparent;
    padding: 12px 16px;
    font-family: var(--sh-font);
    font-size: 14px;
    outline: none;
}
.shahnameh-search-form button {
    border: 0;
    background: var(--sh-primary);
    color: #fff;
    padding: 0 20px;
    cursor: pointer;
    border-radius: 0;
}
.shahnameh-header-actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}
.shahnameh-icon-btn {
    width: 44px; height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--sh-bg-mute);
    color: var(--sh-text-soft);
    border-radius: var(--sh-radius);
    position: relative;
    transition: var(--sh-transition);
}
.shahnameh-icon-btn:hover {
    background: var(--sh-primary);
    color: #fff;
}
.shahnameh-cart-count {
    position: absolute;
    top: -6px; left: -6px;
    background: var(--sh-danger);
    color: #fff;
    font-size: 11px;
    min-width: 20px; height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
}

/* ---------- منو ---------- */
.shahnameh-nav {
    background: var(--sh-bg);
    border-top: 1px solid var(--sh-border);
}
.shahnameh-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 4px;
    flex-wrap: wrap;
}
.shahnameh-menu li { position: relative; }
.shahnameh-menu a {
    display: block;
    padding: 14px 16px;
    color: var(--sh-text);
    font-weight: 600;
    font-size: 14px;
    border-radius: var(--sh-radius);
}
.shahnameh-menu a:hover {
    background: var(--sh-primary-light);
    color: var(--sh-primary-dark);
}
.shahnameh-menu .sub-menu {
    position: absolute;
    top: 100%; right: 0;
    background: var(--sh-bg);
    box-shadow: var(--sh-shadow-lg);
    border-radius: var(--sh-radius);
    list-style: none;
    margin: 0; padding: 8px;
    min-width: 200px;
    display: none;
    z-index: 50;
}
.shahnameh-menu li:hover > .sub-menu { display: block; }

.shahnameh-site-content { min-height: 400px; padding: 32px 0; }

/* ---------- صفحه محصول ---------- */
.shahnameh-single-product { }
.shahnameh-product-top {
    display: grid;
    grid-template-columns: 440px 1fr;
    gap: 40px;
    background: var(--sh-bg);
    padding: 32px;
    border-radius: var(--sh-radius);
    box-shadow: var(--sh-shadow);
    margin-bottom: 32px;
}
.shahnameh-product-gallery { position: sticky; top: 20px; align-self: start; }
.shahnameh-product-gallery img {
    border-radius: var(--sh-radius);
    box-shadow: var(--sh-shadow-lg);
}

.shahnameh-product-summary .product_title,
.shahnameh-product-summary h1 {
    font-size: 26px;
    font-weight: 800;
    line-height: 1.5;
    margin: 0 0 16px;
    color: var(--sh-text);
}

/* متای خلاصه محصول */
.shahnameh-summary-meta {
    display: grid;
    gap: 10px;
    margin: 20px 0;
    padding: 20px;
    background: var(--sh-bg-soft);
    border-radius: var(--sh-radius);
    border: 1px solid var(--sh-border);
}
.sh-meta-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
}
.sh-meta-label {
    color: var(--sh-text-muted);
    min-width: 110px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.sh-meta-value { color: var(--sh-text); font-weight: 600; }
.sh-instock { color: var(--sh-success); }
.sh-outstock { color: var(--sh-danger); }

/* قیمت و افزودن به سبد */
.shahnameh-product-summary .price {
    font-size: 24px;
    font-weight: 800;
    color: var(--sh-primary);
    margin: 16px 0;
}
.shahnameh-product-summary .price del { color: var(--sh-text-muted); font-size: 18px; font-weight: 500; }
.shahnameh-product-summary .cart {
    display: flex;
    gap: 12px;
    align-items: center;
    margin: 20px 0;
    flex-wrap: wrap;
}
.shahnameh-product-summary .quantity input {
    width: 70px;
    padding: 12px;
    text-align: center;
    border: 1px solid var(--sh-border);
    border-radius: var(--sh-radius);
    font-family: var(--sh-font);
}
.shahnameh-product-summary .single_add_to_cart_button,
.woocommerce .shahnameh-product-summary .button {
    background: var(--sh-primary);
    color: #fff;
    border: 0;
    padding: 14px 32px;
    border-radius: var(--sh-radius);
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    font-family: var(--sh-font);
    transition: var(--sh-transition);
}
.shahnameh-product-summary .single_add_to_cart_button:hover {
    background: var(--sh-primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--sh-shadow-md);
}

/* دکمه‌های دانلود */
.shahnameh-downloads {
    display: grid;
    gap: 12px;
    margin: 24px 0;
}
.shahnameh-dl-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 20px;
    border-radius: var(--sh-radius);
    color: #fff;
    font-weight: 700;
    font-size: 15px;
    position: relative;
    overflow: hidden;
    transition: var(--sh-transition);
}
.shahnameh-dl-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--sh-shadow-lg);
    color: #fff;
}
.shahnameh-dl-btn::before {
    content: '';
    position: absolute;
    top: 0; right: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: right 0.5s;
}
.shahnameh-dl-btn:hover::before { right: 100%; }
.sh-dl-sample { background: linear-gradient(135deg, #3b82f6, #2563eb); }
.sh-dl-pdf    { background: linear-gradient(135deg, #ef4444, #dc2626); }
.sh-dl-epub   { background: linear-gradient(135deg, #f59e0b, #d97706); }
.sh-dl-mobi   { background: linear-gradient(135deg, #10b981, #059669); }

/* ---------- تب‌ها ---------- */
.shahnameh-tabs {
    background: var(--sh-bg);
    border-radius: var(--sh-radius);
    box-shadow: var(--sh-shadow);
    overflow: hidden;
}
.shahnameh-tabs-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    padding: 8px;
    background: var(--sh-bg-soft);
    border-bottom: 1px solid var(--sh-border);
}
.sh-tab-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border: 0;
    background: transparent;
    color: var(--sh-text-soft);
    font-family: var(--sh-font);
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    border-radius: var(--sh-radius);
    transition: var(--sh-transition);
}
.sh-tab-btn:hover { background: var(--sh-primary-light); color: var(--sh-primary-dark); }
.sh-tab-btn.active { background: var(--sh-primary); color: #fff; }
.sh-tab-panel {
    display: none;
    padding: 32px;
    animation: shFade 0.3s ease;
}
.sh-tab-panel.active { display: block; }
@keyframes shFade {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* جدول شناسنامه */
.shahnameh-specs-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid var(--sh-border);
    border-radius: var(--sh-radius);
    overflow: hidden;
}
.shahnameh-specs-table tr:nth-child(even) { background: var(--sh-bg-soft); }
.shahnameh-specs-table th,
.shahnameh-specs-table td {
    padding: 14px 20px;
    text-align: right;
    border-bottom: 1px solid var(--sh-border);
    border-radius: 0;
}
.shahnameh-specs-table tr:last-child th,
.shahnameh-specs-table tr:last-child td { border-bottom: 0; }
.shahnameh-specs-table th {
    width: 180px;
    font-weight: 700;
    color: var(--sh-text-soft);
    background: var(--sh-bg-mute);
}
.shahnameh-specs-table td a { font-weight: 600; }

/* کتاب‌های مرتبط */
.shahnameh-related-grid,
.shahnameh-books-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 20px;
}
.shahnameh-related-card,
.shahnameh-book-card {
    text-align: center;
    background: var(--sh-bg-soft);
    padding: 16px;
    border-radius: var(--sh-radius);
    border: 1px solid var(--sh-border);
    transition: var(--sh-transition);
}
.shahnameh-related-card:hover,
.shahnameh-book-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--sh-shadow-md);
}
.shahnameh-related-card img,
.shahnameh-book-card img {
    border-radius: var(--sh-radius);
    margin-bottom: 12px;
    box-shadow: var(--sh-shadow);
}
.sh-related-title,
.sh-book-title {
    display: block;
    font-weight: 600;
    font-size: 14px;
    color: var(--sh-text);
    margin-bottom: 8px;
}
.sh-related-price,
.sh-book-price { color: var(--sh-primary); font-weight: 700; }

/* ---------- پرسش و پاسخ هوشمند ---------- */
.shahnameh-qa { max-width: 720px; margin: 0 auto; }
.shahnameh-qa-intro {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 20px;
    background: linear-gradient(135deg, var(--sh-primary-light), #eff6ff);
    border-radius: var(--sh-radius);
    margin-bottom: 20px;
}
.shahnameh-qa-intro > i {
    font-size: 32px;
    color: var(--sh-primary);
    flex-shrink: 0;
}
.shahnameh-qa-intro p { margin: 4px 0 0; color: var(--sh-text-soft); font-size: 14px; }
.shahnameh-qa-messages {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 16px;
}
.shahnameh-qa-messages:empty { display: none; }
.sh-qa-msg {
    padding: 12px 16px;
    border-radius: var(--sh-radius);
    font-size: 14px;
    line-height: 1.7;
    max-width: 85%;
}
.sh-qa-msg-user {
    background: var(--sh-primary);
    color: #fff;
    align-self: flex-start;
    border-bottom-right-radius: 2px;
}
.sh-qa-msg-bot {
    background: var(--sh-bg-mute);
    color: var(--sh-text);
    align-self: flex-end;
    border-bottom-left-radius: 2px;
}
.sh-qa-typing { color: var(--sh-text-muted); font-style: italic; }
.shahnameh-qa-suggestions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}
.sh-qa-chip {
    padding: 8px 14px;
    background: var(--sh-bg-soft);
    border: 1px solid var(--sh-border);
    border-radius: var(--sh-radius);
    font-family: var(--sh-font);
    font-size: 13px;
    color: var(--sh-text-soft);
    cursor: pointer;
    transition: var(--sh-transition);
}
.sh-qa-chip:hover { background: var(--sh-primary); color: #fff; border-color: var(--sh-primary); }
.shahnameh-qa-form { display: flex; gap: 10px; }
.shahnameh-qa-form input {
    flex: 1;
    padding: 14px 16px;
    border: 1px solid var(--sh-border);
    border-radius: var(--sh-radius);
    font-family: var(--sh-font);
    font-size: 14px;
    outline: none;
}
.shahnameh-qa-form input:focus { border-color: var(--sh-primary); }
.shahnameh-qa-form button {
    background: var(--sh-primary);
    color: #fff;
    border: 0;
    width: 52px;
    border-radius: var(--sh-radius);
    cursor: pointer;
    font-size: 16px;
    transition: var(--sh-transition);
}
.shahnameh-qa-form button:hover { background: var(--sh-primary-dark); }

/* ---------- صفحه نویسنده / ناشر ---------- */
.shahnameh-person {
    background: var(--sh-bg);
    padding: 32px;
    border-radius: var(--sh-radius);
    box-shadow: var(--sh-shadow);
}
.shahnameh-person-header {
    display: flex;
    gap: 28px;
    align-items: center;
    padding-bottom: 28px;
    margin-bottom: 28px;
    border-bottom: 1px solid var(--sh-border);
}
.shahnameh-person-photo img {
    border-radius: var(--sh-radius);
    box-shadow: var(--sh-shadow-md);
    width: 180px;
    height: 180px;
    object-fit: cover;
}
.shahnameh-publisher-logo img {
    width: 220px; height: auto;
    object-fit: contain;
    background: var(--sh-bg-soft);
    padding: 16px;
}
.shahnameh-person-name { font-size: 28px; font-weight: 800; margin: 0 0 12px; }
.shahnameh-person-bio { color: var(--sh-text-soft); line-height: 2; }
.shahnameh-section-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 24px;
    color: var(--sh-text);
}

/* ---------- بایگانی نویسندگان/ناشران ---------- */
.shahnameh-archive-header { text-align: center; margin-bottom: 32px; }
.shahnameh-archive-title {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 30px;
    font-weight: 800;
}
.shahnameh-archive-desc { color: var(--sh-text-muted); }
.shahnameh-persons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 24px;
}
.shahnameh-person-card {
    display: block;
    text-align: center;
    background: var(--sh-bg);
    padding: 24px;
    border-radius: var(--sh-radius);
    box-shadow: var(--sh-shadow);
    transition: var(--sh-transition);
}
.shahnameh-person-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--sh-shadow-lg);
}
.shahnameh-person-card-photo img {
    width: 120px; height: 120px;
    object-fit: cover;
    border-radius: 50%;
    margin: 0 auto 16px;
    box-shadow: var(--sh-shadow-md);
}
.shahnameh-publisher-card-logo img {
    border-radius: var(--sh-radius);
    width: auto; max-height: 100px;
}
.sh-avatar-placeholder {
    width: 120px; height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--sh-bg-mute);
    color: var(--sh-text-muted);
    border-radius: 50%;
    margin: 0 auto 16px;
    font-size: 40px;
}
.shahnameh-person-card-name { font-size: 17px; font-weight: 700; margin: 0 0 8px; color: var(--sh-text); }
.shahnameh-person-card-count {
    display: inline-block;
    background: var(--sh-primary-light);
    color: var(--sh-primary-dark);
    padding: 4px 12px;
    border-radius: var(--sh-radius);
    font-size: 12px;
    font-weight: 600;
}

/* ---------- فروشگاه / محصولات ---------- */
.woocommerce ul.products li.product,
.shahnameh-shop ul.products li.product {
    background: var(--sh-bg);
    border-radius: var(--sh-radius);
    box-shadow: var(--sh-shadow);
    padding: 16px;
    transition: var(--sh-transition);
    border: 1px solid var(--sh-border);
}
.woocommerce ul.products li.product:hover {
    transform: translateY(-4px);
    box-shadow: var(--sh-shadow-lg);
}
.woocommerce ul.products li.product img { border-radius: var(--sh-radius); }
.woocommerce ul.products li.product .button {
    background: var(--sh-primary);
    color: #fff;
    border-radius: var(--sh-radius);
}

/* ---------- بلاگ ---------- */
.shahnameh-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 28px;
}
.shahnameh-post-card {
    background: var(--sh-bg);
    border-radius: var(--sh-radius);
    box-shadow: var(--sh-shadow);
    overflow: hidden;
    transition: var(--sh-transition);
}
.shahnameh-post-card:hover { transform: translateY(-4px); box-shadow: var(--sh-shadow-lg); }
.sh-post-thumb img { border-radius: 0; width: 100%; }
.sh-post-body { padding: 20px; }
.sh-post-title { font-size: 18px; margin: 0 0 12px; }
.sh-btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: var(--sh-radius);
    font-weight: 600;
    transition: var(--sh-transition);
}
.sh-btn-outline { border: 1px solid var(--sh-primary); color: var(--sh-primary); }
.sh-btn-outline:hover { background: var(--sh-primary); color: #fff; }

/* ---------- پاورقی ---------- */
.shahnameh-footer {
    background: #0f172a;
    color: #cbd5e1;
    margin-top: 48px;
    padding: 48px 0 0;
}
.shahnameh-footer-widgets {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 32px;
    padding-bottom: 32px;
}
.shahnameh-footer-widget-title { color: #fff; font-size: 16px; margin: 0 0 16px; }
.shahnameh-footer a { color: #cbd5e1; }
.shahnameh-footer a:hover { color: #fff; }
.shahnameh-footer-bottom {
    border-top: 1px solid #1e293b;
    padding: 20px 0;
    text-align: center;
    font-size: 13px;
    color: var(--sh-text-muted);
}
.shahnameh-footer-bottom a { color: var(--sh-primary-light); }

/* ---------- صفحه‌بندی ---------- */
.shahnameh-pagination { margin-top: 32px; text-align: center; }
.shahnameh-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px; height: 40px;
    padding: 0 8px;
    margin: 0 3px;
    background: var(--sh-bg);
    border: 1px solid var(--sh-border);
    border-radius: var(--sh-radius);
    color: var(--sh-text);
}
.shahnameh-pagination .page-numbers.current { background: var(--sh-primary); color: #fff; border-color: var(--sh-primary); }

/* ---------- ابزارک‌ها ---------- */
.shahnameh-widget {
    background: var(--sh-bg);
    padding: 20px;
    border-radius: var(--sh-radius);
    box-shadow: var(--sh-shadow-sm);
    margin-bottom: 24px;
}
.shahnameh-widget-title { font-size: 16px; margin: 0 0 16px; }

/* ---------- ریسپانسیو ---------- */
@media (max-width: 992px) {
    .shahnameh-product-top { grid-template-columns: 1fr; gap: 28px; }
    .shahnameh-product-gallery { position: relative; top: 0; max-width: 400px; margin: 0 auto; }
}
@media (max-width: 768px) {
    .shahnameh-header-inner { flex-wrap: wrap; }
    .shahnameh-search { order: 3; flex: 1 1 100%; }
    .shahnameh-menu { justify-content: center; }
    .shahnameh-person-header { flex-direction: column; text-align: center; }
    .sh-tab-btn { padding: 10px 14px; font-size: 13px; }
    .sh-tab-btn span { display: none; }
    .shahnameh-tabs-nav { justify-content: center; }
    .shahnameh-product-top { padding: 20px; }
}
@media (max-width: 480px) {
    .shahnameh-container { padding: 0 14px; }
    .sh-meta-label { min-width: 90px; }
    .shahnameh-specs-table th { width: 120px; padding: 12px; }
    .shahnameh-specs-table td { padding: 12px; }
}

/* ---------- نوار بالای سربرگ (Topbar) ---------- */
.shahnameh-topbar {
    background: var(--sh-bg-mute);
    border-bottom: 1px solid var(--sh-border);
    font-size: 13px;
}
.shahnameh-topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 8px;
    padding-bottom: 8px;
    gap: 12px;
}
.shahnameh-phone { color: var(--sh-text-soft); display: inline-flex; align-items: center; gap: 6px; }
.shahnameh-phone a { font-weight: 700; color: var(--sh-primary); }
.shahnameh-topbar-social { display: inline-flex; gap: 10px; }
.shahnameh-topbar-social a {
    width: 30px; height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--sh-bg);
    border-radius: var(--sh-radius);
    color: var(--sh-text-soft);
    transition: var(--sh-transition);
}
.shahnameh-topbar-social a:hover { background: var(--sh-primary); color: #fff; }

/* ---------- فوتر: معرفی و تماس ---------- */
.shahnameh-footer-intro {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    padding-bottom: 32px;
    margin-bottom: 24px;
    border-bottom: 1px solid #1e293b;
}
.shahnameh-footer-brand strong { color: #fff; font-size: 20px; }
.shahnameh-footer-brand img { max-height: 50px; width: auto; filter: brightness(0) invert(1); }
.shahnameh-footer-about { color: #94a3b8; line-height: 2; margin: 14px 0; font-size: 14px; }
.shahnameh-footer-social { display: flex; gap: 10px; }
.shahnameh-footer-social a {
    width: 38px; height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #1e293b;
    color: #cbd5e1;
    border-radius: var(--sh-radius);
    transition: var(--sh-transition);
}
.shahnameh-footer-social a:hover { background: var(--sh-primary); color: #fff; transform: translateY(-2px); }
.shahnameh-footer-contact { list-style: none; margin: 0; padding: 0; }
.shahnameh-footer-contact li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 0;
    color: #94a3b8;
    font-size: 14px;
}
.shahnameh-footer-contact i { color: var(--sh-primary); width: 18px; text-align: center; }

@media (max-width: 768px) {
    .shahnameh-footer-intro { grid-template-columns: 1fr; gap: 24px; }
    .shahnameh-topbar-inner { flex-direction: column; gap: 8px; }
}
