/* ============================================
   ال‌جی بازار — استایل صفحات داخلی
   ============================================ */

:root {
    --lgbazar-accent: #A50034;
    --lgbazar-accent-dark: #7A0028;
    --lgbazar-accent-light: #fdecea;
    --lgbazar-accent-border: #f5b7b1;
    --lgbazar-text: #2c3e50;
    --lgbazar-text-light: #5d6d7e;
    --lgbazar-text-muted: #7f8c8d;
    --lgbazar-bg-light: #f8f9fa;
    --lgbazar-border: #ecf0f1;
    --lgbazar-radius: 10px;
    --lgbazar-radius-lg: 14px;
    --lgbazar-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    --lgbazar-container: 1200px;
    --lgbazar-lh-body: 1.75;
    --lgbazar-lh-heading: 1.45;
}

/* ---- چیدمان کلی صفحات داخلی ---- */
.breadcrumb {
    background: var(--lgbazar-bg-light);
    padding: 14px 0;
    font-size: 0.9em;
    border-bottom: 1px solid var(--lgbazar-border);
    margin: 0;
}

.breadcrumb .container {
    max-width: var(--lgbazar-container);
}

.breadcrumb ol {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
}

.breadcrumb li {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--lgbazar-text-muted);
}

.breadcrumb li:not(:first-child)::before {
    content: '/';
    color: #bdc3c7;
}

.breadcrumb a {
    color: var(--lgbazar-accent);
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumb a:hover {
    color: var(--lgbazar-accent-dark);
}

.breadcrumb span {
    color: var(--lgbazar-text);
    font-weight: 500;
}

.page-article {
    max-width: var(--lgbazar-container);
    margin: 0 auto;
    padding: 44px 24px 100px;
}

.page-header {
    margin-bottom: 28px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--lgbazar-border);
    position: relative;
}

.page-header::after {
    content: '';
    position: absolute;
    bottom: -2px;
    right: 0;
    width: 72px;
    height: 2px;
    background: var(--lgbazar-accent);
}

.page-excerpt {
    font-size: 1.05em;
    color: var(--lgbazar-text-light);
    line-height: 1.75;
    margin: 0 0 24px;
    padding: 16px 20px;
    background: var(--lgbazar-bg-light);
    border-right: 4px solid var(--lgbazar-accent);
    border-radius: 0 8px 8px 0;
}

.page-h1 {
    font-size: clamp(1.7rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--lgbazar-text);
    margin-bottom: 10px;
    line-height: var(--lgbazar-lh-heading);
}

.page-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    color: var(--lgbazar-text-muted);
    font-size: 0.9em;
    line-height: 1.5;
}

/* ---- محتوای اصلی — تایپوگرافی خوانا (فاصله خط استاندارد فارسی) ---- */
.page-content,
.page-content-intro {
    color: var(--lgbazar-text);
    font-size: 1.05em;
    line-height: 1.75;
    word-wrap: break-word;
}

.page-content h2,
.page-content-intro h2 {
    font-size: 1.8em;
    font-weight: 700;
    color: var(--lgbazar-text);
    margin: 28px 0 12px;
    line-height: 1.45;
    padding-right: 14px;
    border-right: 4px solid var(--lgbazar-accent);
}

.page-content h3,
.page-content-intro h3 {
    font-size: 1.4em;
    font-weight: 700;
    color: var(--lgbazar-text);
    margin: 22px 0 10px;
    line-height: 1.45;
}

.page-content h4,
.page-content-intro h4 {
    font-size: 1.2em;
    font-weight: 600;
    margin: 18px 0 8px;
    line-height: 1.45;
}

.page-content p,
.page-content-intro p {
    margin: 0 0 12px;
    line-height: 1.75;
}

.page-content p:last-child,
.page-content-intro p:last-child {
    margin-bottom: 0;
}

/* پاراگراف‌های خالی Word/CKEditor — فاصله اضافی حذف شود */
.page-content p:empty,
.page-content-intro p:empty {
    margin: 0;
    height: 0;
    min-height: 0;
    padding: 0;
    line-height: 0;
    overflow: hidden;
}

.page-content p:has(> br:only-child),
.page-content-intro p:has(> br:only-child) {
    margin: 0;
    height: 0;
    min-height: 0;
    line-height: 0;
    overflow: hidden;
}

.page-content ul,
.page-content ol,
.page-content-intro ul,
.page-content-intro ol {
    margin: 12px 25px 16px;
    padding-right: 22px;
}

.page-content li,
.page-content-intro li {
    margin-bottom: 6px;
    line-height: 1.7;
}

.page-content li:last-child,
.page-content-intro li:last-child {
    margin-bottom: 0;
}

.page-content a,
.page-content-intro a {
    color: var(--lgbazar-accent);
    text-decoration: none;
    border-bottom: 1px dashed var(--lgbazar-accent);
    transition: color 0.2s, border-color 0.2s;
}

.page-content a:hover,
.page-content-intro a:hover {
    color: var(--lgbazar-accent-dark);
    border-bottom-style: solid;
}

/* تصاویر — وسط‌چین */
.page-content img,
.page-content-intro img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 24px auto;
    border-radius: var(--lgbazar-radius);
    box-shadow: var(--lgbazar-shadow);
}

.page-content img[style*="float"],
.page-content-intro img[style*="float"] {
    float: none !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.page-content figure,
.page-content-intro figure {
    margin: 28px auto;
    text-align: center;
    max-width: 100%;
}

.page-content figure img,
.page-content-intro figure img {
    margin: 0 auto 10px;
}

.page-content figcaption,
.page-content-intro figcaption {
    font-size: 0.85em;
    color: var(--lgbazar-text-muted);
    font-style: italic;
}

.page-content p:has(> img:only-child),
.page-content-intro p:has(> img:only-child) {
    text-align: center;
}

.page-content blockquote,
.page-content-intro blockquote {
    border-right: 4px solid var(--lgbazar-accent);
    background: var(--lgbazar-bg-light);
    padding: 20px 25px;
    margin: 25px 0;
    border-radius: 0 8px 8px 0;
    color: #555;
    font-style: italic;
}

.page-content table,
.page-content-intro table {
    width: 100%;
    border-collapse: collapse;
    margin: 25px 0;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.page-content thead th,
.page-content-intro thead th {
    background: var(--lgbazar-accent);
    color: #fff;
    padding: 12px 15px;
    text-align: right;
    font-weight: 600;
    border: none;
}

.page-content th,
.page-content td,
.page-content-intro th,
.page-content-intro td {
    padding: 12px 15px;
    text-align: right;
    border-bottom: 1px solid var(--lgbazar-border);
}

.page-content tbody tr:nth-child(even),
.page-content-intro tbody tr:nth-child(even) {
    background: var(--lgbazar-bg-light);
}

.page-content tbody tr:hover,
.page-content-intro tbody tr:hover {
    background: var(--lgbazar-accent-light);
}

/* جداول قدیمی سایت (class jadval5) */
.page-content table.jadval5,
.page-content-intro table.jadval5 {
    width: 100%;
    border-collapse: collapse;
    margin: 25px 0;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    font-size: 0.95em;
}

.page-content table.jadval5 td,
.page-content table.jadval5 th,
.page-content-intro table.jadval5 td,
.page-content-intro table.jadval5 th {
    padding: 12px 14px;
    text-align: center;
    border: 1px solid var(--lgbazar-border);
    vertical-align: middle;
}

.page-content table.jadval5 tr:first-child td,
.page-content table.jadval5 tr:first-child th,
.page-content-intro table.jadval5 tr:first-child td,
.page-content-intro table.jadval5 tr:first-child th {
    background: var(--lgbazar-accent);
    color: #fff;
    font-weight: 700;
}

.page-content table.jadval5 tr:nth-child(even) td,
.page-content-intro table.jadval5 tr:nth-child(even) td {
    background: var(--lgbazar-bg-light);
}

.page-content table.jadval5[dir="ltr"] td,
.page-content table.jadval5[dir="ltr"] th {
    direction: rtl;
    text-align: center;
}

.page-content strong,
.page-content-intro strong {
    font-weight: 700;
}

.page-content code,
.page-content-intro code {
    background: var(--lgbazar-border);
    padding: 2px 8px;
    border-radius: 4px;
    font-family: monospace;
    direction: ltr;
    display: inline-block;
}

.page-content pre,
.page-content-intro pre {
    background: #2c3e50;
    color: #fff;
    padding: 20px;
    border-radius: 8px;
    overflow-x: auto;
    direction: ltr;
    text-align: left;
    margin: 20px 0;
}

.page-content mark,
.page-content-intro mark {
    background: #fef9c3;
    padding: 1px 3px;
    border-radius: 3px;
}

/* بنر لینک داخل محتوا */
.page-content a.content-banner,
.content-banner {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none !important;
    border-bottom: none !important;
    background: var(--lgbazar-accent-light);
    border-right: 4px solid var(--lgbazar-accent);
    border-radius: var(--lgbazar-radius);
    padding: 14px 18px;
    margin: 20px 0;
    color: var(--lgbazar-accent);
    font-weight: 700;
    font-size: 15px;
    transition: background 0.15s, transform 0.15s;
}

.content-banner:hover {
    background: #fadbd8;
    transform: translateX(-3px);
    color: var(--lgbazar-accent-dark);
}

.content-banner-icon {
    flex-shrink: 0;
    font-size: 14px;
}

.content-banner-title {
    flex: 1;
}

/* ویدیو داخل محتوا */
.page-content .cke-video-wrapper,
.page-content-intro .cke-video-wrapper {
    margin: 24px auto;
    max-width: 100%;
}

.page-content .cke-video-wrapper video,
.page-content-intro .cke-video-wrapper video,
.page-content video,
.page-content-intro video {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
    border-radius: var(--lgbazar-radius);
}

/* گالری داخل محتوای ادیتور */
.page-gallery {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)) !important;
    gap: 14px !important;
    margin: 24px 0 !important;
}

.page-gallery a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px;
    padding: 12px;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--lgbazar-border);
    cursor: zoom-in;
    text-decoration: none !important;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.page-gallery a:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.12);
}

.page-gallery a img {
    width: auto !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: 200px !important;
    object-fit: contain !important;
    border-radius: 6px !important;
    display: block;
    margin: 0 auto !important;
}

/* ---- فهرست مطالب ---- */
.toc-box {
    background: var(--lgbazar-accent-light);
    border: 1px solid var(--lgbazar-accent-border);
    border-radius: var(--lgbazar-radius-lg);
    padding: 18px 22px;
    margin: 20px 0 28px;
}

.toc-title {
    font-size: 1.1em;
    font-weight: 700;
    color: var(--lgbazar-accent);
    margin: 0 0 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

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

.toc-list li {
    padding: 6px 0;
    border-bottom: 1px dashed var(--lgbazar-accent-border);
    display: flex;
    align-items: baseline;
}

.toc-list li:last-child {
    border-bottom: none;
}

.toc-list li::before {
    display: none;
}

.toc-list li a {
    font-size: 0.95em;
    color: var(--lgbazar-text-light);
    font-weight: 500;
    text-decoration: none;
    border-bottom: none;
    flex: 1;
    transition: color 0.15s;
}

.toc-list li a:hover {
    color: var(--lgbazar-accent);
}

.toc-level-3 {
    padding-right: 18px;
}

/* ---- بخش‌های صفحه (sections) ---- */
.page-section {
    margin: 36px 0;
}

.page-section .section-title,
.section-title {
    font-size: 1.35em;
    font-weight: 700;
    color: var(--lgbazar-text);
    margin: 0 0 18px;
    padding-right: 14px;
    border-right: 4px solid var(--lgbazar-accent);
    line-height: 1.5;
}

.section-text .section-content {
    line-height: 1.75;
    color: var(--lgbazar-text);
    font-size: 1.05em;
}

.section-text .section-content p {
    margin: 0 0 12px;
    line-height: 1.75;
}

.section-text .section-content img {
    display: block;
    max-width: 100%;
    margin: 20px auto;
    border-radius: var(--lgbazar-radius);
}

.section-text .section-content h2,
.section-text .section-content h3 {
    color: var(--lgbazar-text);
    font-weight: 700;
    margin: 20px 0 10px;
}

/* گالری section */
.gallery-grid {
    display: grid;
    gap: 12px;
}

.gallery-grid.gallery-cols-2 { grid-template-columns: repeat(2, 1fr); }
.gallery-grid.gallery-cols-3 { grid-template-columns: repeat(3, 1fr); }
.gallery-grid.gallery-cols-4 { grid-template-columns: repeat(4, 1fr); }
.gallery-grid.gallery-cols-5 { grid-template-columns: repeat(5, 1fr); }
.gallery-grid.gallery-cols-6 { grid-template-columns: repeat(6, 1fr); }

.gallery-item {
    border-radius: var(--lgbazar-radius);
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    border: 1px solid var(--lgbazar-border);
    display: flex;
    flex-direction: column;
}

.gallery-item .gallery-link {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 220px;
    padding: 16px;
    background: #fff;
}

.gallery-item img {
    width: auto;
    max-width: 100%;
    max-height: 200px;
    height: auto;
    object-fit: contain;
    display: block;
    margin: 0 auto;
    transition: transform 0.3s;
}

.gallery-link {
    display: block;
    cursor: zoom-in;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-caption {
    font-size: 0.8em;
    color: var(--lgbazar-text-muted);
    padding: 8px 10px;
    text-align: center;
    background: var(--lgbazar-bg-light);
    border-top: 1px solid var(--lgbazar-border);
}

/* ویدیو section */
.video-wrapper {
    position: relative;
    padding-top: 56.25%;
    border-radius: var(--lgbazar-radius-lg);
    overflow: hidden;
    box-shadow: var(--lgbazar-shadow);
    background: #1a1a1a;
}

.video-wrapper iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-wrapper.video-native {
    position: static;
    padding-top: 0;
    background: transparent;
    box-shadow: none;
    display: flex;
    justify-content: center;
}

.video-wrapper.video-native video {
    position: static;
    width: auto;
    max-width: 100%;
    max-height: 70vh;
    border-radius: var(--lgbazar-radius-lg);
    box-shadow: var(--lgbazar-shadow);
    background: #000;
}

/* دانلود */
.download-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.download-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: var(--lgbazar-bg-light);
    border: 1px solid var(--lgbazar-border);
    border-radius: var(--lgbazar-radius);
    text-decoration: none;
    color: var(--lgbazar-text);
    transition: all 0.15s;
}

.download-item:hover {
    border-color: var(--lgbazar-accent);
    background: var(--lgbazar-accent-light);
    transform: translateX(-3px);
}

.download-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--lgbazar-accent);
    color: #fff;
    border-radius: 50%;
}

.download-name {
    flex: 1;
    font-weight: 600;
    font-size: 14px;
}

.download-size {
    font-size: 12px;
    color: var(--lgbazar-text-muted);
}

/* فرم section */
.front-form .form-group {
    margin-bottom: 16px;
}

.front-form label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    font-size: 14px;
}

.front-form .required {
    color: var(--lgbazar-accent);
}

.front-form input[type=text],
.front-form input[type=email],
.front-form input[type=tel],
.front-form input[type=number],
.front-form input[type=date],
.front-form input[type=file],
.front-form select,
.front-form textarea {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid var(--lgbazar-border);
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    color: var(--lgbazar-text);
    background: #fff;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.front-form input:focus,
.front-form select:focus,
.front-form textarea:focus {
    outline: none;
    border-color: var(--lgbazar-accent);
    box-shadow: 0 0 0 3px var(--lgbazar-accent-light);
}

.btn-form-submit {
    background: var(--lgbazar-accent);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 12px 32px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.15s;
}

.btn-form-submit:hover {
    background: var(--lgbazar-accent-dark);
}

/* کپچا */
.captcha2-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.captcha2-equation {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--lgbazar-bg-light);
    border: 1px solid var(--lgbazar-border);
    border-radius: 8px;
    padding: 8px 12px;
    flex: 1;
}

.captcha2-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 40px;
    background: #fff;
    border: 1px solid var(--lgbazar-accent-border);
    border-radius: 8px;
    font-size: 20px;
    font-weight: 800;
    color: var(--lgbazar-accent);
}

.captcha2-op {
    font-size: 18px;
    font-weight: 700;
    color: var(--lgbazar-text-light);
}

.captcha2-input {
    width: 60px !important;
    height: 40px;
    text-align: center;
    font-size: 18px;
    font-weight: 700;
    padding: 0 !important;
    border: 1px solid var(--lgbazar-border) !important;
    border-radius: 8px !important;
}

/* پلیر صوتی */
.section-audio .audio-player {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    background: var(--lgbazar-bg-light);
    border: 1px solid var(--lgbazar-border);
    border-radius: var(--lgbazar-radius-lg);
}

.audio-play {
    width: 46px;
    height: 46px;
    background: var(--lgbazar-accent);
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.audio-bar {
    height: 7px;
    background: var(--lgbazar-border);
    border-radius: 99px;
    cursor: pointer;
    overflow: hidden;
    direction: ltr;
}

.audio-bar-fill {
    height: 100%;
    width: 0;
    background: var(--lgbazar-accent);
    border-radius: 99px;
}

/* بنر section */
.section-banner .banner-link {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    background: var(--lgbazar-bg-light);
    border: 1px solid var(--lgbazar-border);
    border-radius: var(--lgbazar-radius-lg);
    text-decoration: none;
    color: var(--lgbazar-text);
    transition: all 0.2s;
}

.section-banner .banner-link:hover {
    border-color: var(--lgbazar-accent);
    background: var(--lgbazar-accent-light);
}

.banner-title {
    font-size: 16px;
    font-weight: 700;
}

/* جدول section */
.table-scroll {
    overflow-x: auto;
    border-radius: var(--lgbazar-radius-lg);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.section-table table {
    width: 100%;
    border-collapse: collapse;
}

.section-table th {
    background: var(--lgbazar-accent);
    color: #fff;
    padding: 12px 16px;
    text-align: right;
    font-weight: 700;
}

.section-table td {
    padding: 11px 16px;
    border: 1px solid var(--lgbazar-border);
}

/* ---- زیرصفحات / محصولات ---- */
.children-section {
    margin-top: 48px;
    margin-bottom: 0;
    padding: 48px 0 56px;
    background: var(--lgbazar-bg-light);
    /* تمام‌عرض نسبت به page-article */
    width: 100vw;
    max-width: 100vw;
    margin-right: calc(50% - 50vw);
    margin-left: calc(50% - 50vw);
}

.children-section--top {
    margin-top: 20px;
    margin-bottom: 36px;
    padding: 28px 0 36px;
}

.children-section--shop {
    padding-top: 20px;
}

.children-section__wrap {
    max-width: var(--lgbazar-container, 1200px);
    margin: 0 auto;
    padding: 0 24px;
}

.shop-layout {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 28px;
    align-items: start;
}

.shop-main {
    min-width: 0;
}

.shop-main .children-grid {
    max-width: none;
    margin: 0;
    padding: 0;
}

.shop-sidebar {
    position: sticky;
    top: 88px;
}

.shop-mobile-bar {
    display: none;
}

.shop-filter-overlay {
    display: none;
}

.shop-empty-msg {
    margin-top: 16px;
}

.shop-mobile-filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 10px;
    border: 1px solid var(--lgbazar-border, #e5e7eb);
    background: #fff;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    color: var(--lgbazar-text, #1f2937);
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.shop-mobile-filter-btn__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 999px;
    background: var(--lgbazar-primary, #a50034);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
}

.shop-mobile-results {
    font-size: 13px;
    color: var(--lgbazar-muted, #6b7280);
}

.children-section--articles {
    margin-top: 40px;
    margin-bottom: 48px;
    padding: 32px 0 40px;
}

.children-section-title {
    font-size: 1.35em;
    font-weight: 700;
    color: var(--lgbazar-text);
    text-align: center;
    margin: 0 auto 28px;
    padding: 0 24px;
    max-width: var(--lgbazar-container);
}

.children-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    max-width: var(--lgbazar-container);
    margin: 0 auto;
    padding: 0 24px;
}

.children-buttons .cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(165, 0, 52, 0.15);
}

.children-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 22px;
    max-width: var(--lgbazar-container);
    margin: 0 auto;
    padding: 0 24px;
}

.child-card {
    border: 1px solid var(--lgbazar-border);
    border-radius: var(--lgbazar-radius-lg);
    overflow: hidden;
    color: var(--lgbazar-text);
    transition: all 0.2s;
    display: flex;
    flex-direction: column;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.child-card--product .child-card-body {
    gap: 10px;
}

.child-card:hover {
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
    transform: translateY(-4px);
    border-color: var(--lgbazar-accent-border);
}

.child-card-img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    object-position: center;
}

.child-card-media {
    position: relative;
    height: 200px;
    min-height: 200px;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
    border-bottom: 1px solid var(--lgbazar-border);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    box-sizing: border-box;
}

.child-card-media .child-card-img,
.child-card-media img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    object-position: center;
    display: block;
}

.child-card-meta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    min-height: 36px;
}

/* نشان موجودی روی تصویر کارت */
.stock-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    font-weight: 700;
    padding: 5px 10px;
    border-radius: 999px;
    line-height: 1.2;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
    backdrop-filter: blur(4px);
}

.stock-badge i {
    font-size: 10px;
}

.stock-badge--in {
    background: rgba(240, 253, 244, 0.95);
    color: #166534;
    border: 1px solid #86efac;
}

.stock-badge--out {
    background: rgba(254, 242, 242, 0.95);
    color: #991b1b;
    border: 1px solid #fca5a5;
}

.related-slide-card__media {
    position: relative;
}

.related-pages--products .related-slide-card__body .stock-badge {
    position: static;
    align-self: flex-start;
    width: fit-content;
    margin: 0;
    box-shadow: none;
}

.child-card-stock {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 999px;
    line-height: 1.2;
}

.child-card-stock--in {
    background: #f0fdf4;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.child-card-stock--out {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.child-card-stock--empty {
    visibility: hidden;
    min-height: 24px;
    padding: 4px 0;
}

.child-card--out {
    opacity: 0.92;
}

.child-card-btn--full {
    flex: 1 1 100%;
    min-width: 100%;
}

.product-cart-unavailable {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 14px;
    border-radius: 10px;
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
    font-size: 13px;
    font-weight: 600;
}

.related-slide-card__meta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    min-height: 52px;
}

.related-slide-card__btn--full {
    grid-column: 1 / -1;
}

.child-card-body {
    padding: 16px 18px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.child-card-title {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
}

.child-card-title a {
    color: inherit;
    text-decoration: none;
}

.child-card-title a:hover {
    color: var(--lgbazar-accent);
}

.child-card:hover .child-card-title a {
    color: var(--lgbazar-accent);
}

.child-card-price {
    font-size: 15px;
    font-weight: 700;
    color: var(--lgbazar-accent);
    margin-top: 2px;
}

.child-card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: auto;
    padding-top: 8px;
}

.child-card-btn {
    flex: 1;
    min-width: 110px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 9px 12px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.child-card-btn--buy {
    background: var(--lgbazar-accent);
    color: #fff;
    border: 1px solid var(--lgbazar-accent);
}

.child-card-btn--buy:hover {
    filter: brightness(1.08);
    color: #fff;
}

.child-card-btn--info {
    background: #fff;
    color: var(--lgbazar-text);
    border: 1px solid var(--lgbazar-border);
}

.child-card-btn--info:hover {
    border-color: var(--lgbazar-accent);
    color: var(--lgbazar-accent);
}

.child-card-excerpt {
    font-size: 13px;
    color: var(--lgbazar-text-muted);
    line-height: 1.6;
}

.children-list {
    list-style: none;
    max-width: var(--lgbazar-container);
    margin: 0 auto;
    padding: 0 24px;
}

.children-list li {
    border-bottom: 1px solid var(--lgbazar-border);
}

.children-list a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 13px 4px;
    text-decoration: none;
    color: var(--lgbazar-text-light);
    font-size: 14px;
    font-weight: 500;
    transition: all 0.12s;
}

.children-list a::before {
    content: '←';
    color: var(--lgbazar-accent);
    font-size: 12px;
}

.children-list a:hover {
    color: var(--lgbazar-accent);
    padding-right: 8px;
}

.news-list {
    display: flex;
    flex-direction: column;
    max-width: var(--lgbazar-container);
    margin: 0 auto;
    padding: 0 24px;
}

/* ---- کارت مقالات / وبلاگ ---- */
.articles-grid--blog {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    max-width: var(--lgbazar-container);
    margin: 0 auto;
    padding: 0 24px;
}

.article-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--lgbazar-border);
    border-radius: var(--lgbazar-radius-lg);
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.article-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.1);
    border-color: var(--lgbazar-accent-border, rgba(165, 0, 52, 0.25));
}

.article-card__media {
    display: block;
    aspect-ratio: 16 / 10;
    background: var(--lgbazar-bg-light, #f3f4f6);
    overflow: hidden;
}

.article-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.article-card:hover .article-card__media img {
    transform: scale(1.04);
}

.article-card__placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: var(--lgbazar-text-muted, #9ca3af);
    font-size: 2rem;
}

.article-card__body {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 20px 22px 22px;
    flex: 1;
}

.article-card__date {
    font-size: 12px;
    color: var(--lgbazar-text-muted);
    font-weight: 500;
}

.article-card__title {
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.5;
    margin: 0;
}

.article-card__title a {
    color: var(--lgbazar-text);
    text-decoration: none;
    transition: color 0.15s;
}

.article-card:hover .article-card__title a,
.article-card__title a:hover {
    color: var(--lgbazar-accent);
}

.article-card__excerpt {
    font-size: 13px;
    color: var(--lgbazar-text-light);
    line-height: 1.7;
    margin: 0;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-card__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 4px;
    font-size: 13px;
    font-weight: 600;
    color: var(--lgbazar-accent);
    text-decoration: none;
}

.article-card__link:hover {
    text-decoration: underline;
}

.news-item {
    display: flex;
    gap: 16px;
    text-decoration: none;
    color: var(--lgbazar-text);
    padding: 18px 0;
    border-bottom: 1px solid var(--lgbazar-border);
    transition: all 0.12s;
}

.news-item:hover {
    padding-right: 6px;
}

.news-item img {
    width: 130px;
    height: 86px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
    border: 1px solid var(--lgbazar-border);
}

.news-item-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.news-item-title {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
}

.news-item:hover .news-item-title {
    color: var(--lgbazar-accent);
}

.news-item-excerpt {
    font-size: 13px;
    color: var(--lgbazar-text-muted);
}

.news-item-date {
    font-size: 12px;
    color: var(--lgbazar-text-muted);
}

/* ---- مطالب مرتبط ---- */
.related-pages {
    margin-top: 56px;
    margin-bottom: 56px;
    padding-top: 40px;
    padding-bottom: 32px;
    border-top: 2px solid var(--lgbazar-border);
}

.related-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.related-icon {
    width: 36px;
    height: 36px;
    background: var(--lgbazar-accent-light);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.related-icon svg {
    width: 18px;
    height: 18px;
    fill: var(--lgbazar-accent);
}

.related-title {
    font-size: 1.25em;
    font-weight: 700;
    color: var(--lgbazar-text);
    margin: 0;
}

.related-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.related-pages .related-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border: 1px solid var(--lgbazar-border);
    border-radius: var(--lgbazar-radius);
    text-decoration: none;
    color: var(--lgbazar-text);
    background: #fff;
    transition: all 0.18s;
    box-shadow: none;
    transform: none;
    flex-direction: row;
    overflow: visible;
}

.related-pages .related-item:hover {
    border-color: var(--lgbazar-accent);
    background: var(--lgbazar-accent-light);
    transform: translateX(-3px);
    box-shadow: none;
}

.related-item-img {
    width: 56px;
    height: 56px;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
    border: 1px solid var(--lgbazar-border);
}

.related-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.related-item-icon {
    width: 44px;
    height: 44px;
    background: var(--lgbazar-bg-light);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid var(--lgbazar-border);
}

.related-item-body {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    min-width: 0;
    padding: 0;
}

.related-item-title {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
}

.related-pages .related-item:hover .related-item-title {
    color: var(--lgbazar-accent);
}

.related-item-arrow {
    color: #bdc3c7;
    font-size: 16px;
    flex-shrink: 0;
}

/* ---- کامنت‌ها ---- */
.comments-wrapper {
    margin-top: 20px;
    padding-top: 36px;
    border-top: 2px solid var(--lgbazar-border);
}

.comments-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.25em;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--lgbazar-text);
}

.comments-title-icon {
    width: 22px;
    height: 22px;
    fill: var(--lgbazar-accent);
}

.comments-list {
    margin-bottom: 36px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.comments-empty {
    font-size: 14px;
    color: var(--lgbazar-text-muted);
    background: var(--lgbazar-bg-light);
    border: 1px dashed var(--lgbazar-border);
    border-radius: var(--lgbazar-radius-lg);
    padding: 22px;
    text-align: center;
    margin-bottom: 32px;
}

.comment {
    display: flex;
    gap: 14px;
    background: var(--lgbazar-bg-light);
    border: 1px solid var(--lgbazar-border);
    border-radius: var(--lgbazar-radius-lg);
    padding: 18px 20px;
}

.comment-avatar {
    width: 42px;
    height: 42px;
    background: var(--lgbazar-accent-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    font-weight: 800;
    color: var(--lgbazar-accent);
    flex-shrink: 0;
}

.comment-avatar-admin {
    background: var(--lgbazar-accent);
}

.comment-avatar-admin svg {
    width: 22px;
    height: 22px;
    fill: #fff;
}

.comment-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 7px;
    flex-wrap: wrap;
}

.comment-author {
    font-weight: 700;
    font-size: 14px;
}

.comment-date {
    font-size: 12px;
    color: var(--lgbazar-text-muted);
}

.comment-badge {
    font-size: 11px;
    font-weight: 700;
    color: #fff;
    background: var(--lgbazar-accent);
    border-radius: 6px;
    padding: 2px 8px;
}

.comment-body {
    font-size: 14px;
    color: var(--lgbazar-text-light);
    line-height: 1.8;
}

.comment-reply {
    margin-top: 14px;
    background: var(--lgbazar-accent-light);
    border-color: transparent;
    border-right: 3px solid var(--lgbazar-accent);
}

.comment-form-wrapper {
    background: var(--lgbazar-bg-light);
    border: 1px solid var(--lgbazar-border);
    padding: 28px;
    border-radius: var(--lgbazar-radius-lg);
}

.comment-form-title {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 6px;
}

.comment-form-note {
    font-size: 12px;
    color: var(--lgbazar-text-muted);
    margin-bottom: 20px;
}

.form-field {
    margin-bottom: 18px;
}

.form-field label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    font-size: 14px;
}

.form-field .req {
    color: var(--lgbazar-accent);
}

.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid var(--lgbazar-border);
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    color: var(--lgbazar-text);
    background: #fff;
}

.form-field input:focus,
.form-field textarea:focus {
    outline: none;
    border-color: var(--lgbazar-accent);
    box-shadow: 0 0 0 3px var(--lgbazar-accent-light);
}

.form-field textarea {
    resize: vertical;
    min-height: 120px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 12px;
}

.form-submit-btn {
    background: var(--lgbazar-accent);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 12px 28px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.15s;
}

.form-submit-btn:hover {
    background: var(--lgbazar-accent-dark);
}

.form-message {
    margin-top: 14px;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
}

.form-message.success {
    background: #d5f5e3;
    color: #1e8449;
    border: 1px solid #a9dfbf;
}

.form-message.error {
    background: #fadbd8;
    color: #7A0028;
    border: 1px solid #f5b7b1;
}

/* ---- اشتراک‌گذاری ---- */
.page-share-footer {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--lgbazar-border);
}

.share-box {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin: 28px 0;
    padding: 14px 18px;
    background: var(--lgbazar-bg-light);
    border: 1px solid var(--lgbazar-border);
    border-radius: var(--lgbazar-radius-lg);
}

.share-label {
    font-size: 13px;
    font-weight: 700;
    color: var(--lgbazar-text-light);
}

.share-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.share-btn {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    border-radius: 50%;
    color: #fff;
    text-decoration: none;
    transition: transform 0.12s, opacity 0.15s;
}

.share-btn:hover {
    transform: translateY(-2px);
    opacity: 0.92;
}

.share-telegram { background: #229ED9; }
.share-whatsapp { background: #25D366; }
.share-eitaa { background: #F39200; }
.share-x { background: #000; }
.share-linkedin { background: #0A66C2; }
.share-copy { background: var(--lgbazar-text-light); }
.share-copied { font-size: 12px; color: #1e8449; font-weight: 700; }

.cta-btn.cta-secondary {
    background: #fff;
    color: var(--lgbazar-accent);
    border: 2px solid var(--lgbazar-accent);
}

.cta-btn.cta-secondary:hover {
    background: var(--lgbazar-accent-light);
}

/* ---- FAQ section (آکاردئون) ---- */
.section-faq2 .faq2-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.faq2-item {
    border: 1px solid var(--lgbazar-border);
    border-radius: var(--lgbazar-radius);
    overflow: hidden;
    background: #fff;
}

.faq2-q {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 15px 18px;
    background: var(--lgbazar-bg-light);
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    color: var(--lgbazar-text);
    text-align: right;
    transition: background 0.15s;
}

.faq2-q:hover,
.faq2-item.open .faq2-q {
    background: var(--lgbazar-accent-light);
    color: var(--lgbazar-accent);
}

.faq2-q-text { flex: 1; }

.faq2-icon {
    flex-shrink: 0;
    position: relative;
    width: 18px;
    height: 18px;
}

.faq2-icon::before,
.faq2-icon::after {
    content: '';
    position: absolute;
    background: var(--lgbazar-accent);
    transition: transform 0.25s, opacity 0.25s;
}

.faq2-icon::before {
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    transform: translateY(-50%);
}

.faq2-icon::after {
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    transform: translateX(-50%);
}

.faq2-item.open .faq2-icon::after {
    opacity: 0;
    transform: translateX(-50%) rotate(90deg);
}

.faq2-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq2-a-inner {
    padding: 16px 18px;
    border-top: 1px solid var(--lgbazar-border);
    line-height: 1.75;
    font-size: 14px;
    color: var(--lgbazar-text-light);
}

/* ---- محصول — صفحه جزئیات ---- */
.product-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 32px;
    margin: 8px 0 36px;
    padding: 28px;
    background: var(--lgbazar-bg-light);
    border: 1px solid var(--lgbazar-border);
    border-radius: var(--lgbazar-radius-lg);
}

.product-hero__main {
    margin: 0;
    background: #fff;
    border-radius: 12px;
    min-height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid var(--lgbazar-border);
    overflow: hidden;
    position: relative;
}

.product-hero__zoom {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 320px;
    padding: 24px;
    cursor: zoom-in;
    position: relative;
}

.product-hero__zoom img {
    max-width: 100%;
    max-height: 400px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.product-hero__zoom-hint {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: rgba(0, 0, 0, 0.65);
    color: #fff;
    font-size: 0.82em;
    padding: 6px 12px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 6px;
    opacity: 0;
    transition: opacity 0.2s;
    pointer-events: none;
}

.product-hero__zoom:hover .product-hero__zoom-hint,
.product-hero__zoom:focus-visible .product-hero__zoom-hint {
    opacity: 1;
}

.product-hero__thumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}

.product-hero__thumb {
    width: 72px;
    height: 72px;
    padding: 6px;
    border: 2px solid var(--lgbazar-border);
    border-radius: 10px;
    background: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.2s, box-shadow 0.2s;
    flex-shrink: 0;
}

.product-hero__thumb.is-active {
    border-color: var(--lgbazar-accent);
    box-shadow: 0 0 0 2px var(--lgbazar-accent-light);
}

.product-hero__thumb img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.product-hero__lb-link {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
}

.product-hero__main img {
    max-width: 100%;
    max-height: 420px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.product-hero__lead {
    font-size: 1.05em;
    line-height: 1.8;
    color: var(--lgbazar-text-light);
    margin: 0 0 20px;
}

.product-hero__summary {
    font-size: 0.98em;
    line-height: 1.85;
    color: var(--lgbazar-text-light);
    margin: 0 0 20px;
}

.product-hero__summary p {
    margin: 0 0 10px;
}

.product-hero__summary ul,
.product-hero__summary ol {
    margin: 0 0 12px;
    padding-right: 20px;
}

.product-hero__summary li {
    margin-bottom: 6px;
}

.product-hero__price {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
    padding: 14px 18px;
    background: var(--lgbazar-accent-light);
    border: 1px solid var(--lgbazar-accent-border);
    border-radius: 10px;
}

.product-hero__price-label {
    font-size: 0.92em;
    color: var(--lgbazar-text-muted);
}

.product-hero__price-value {
    font-size: 1.35em;
    font-weight: 700;
    color: var(--lgbazar-accent);
}

/* ---- مشخصات فنی محصول ---- */
.product-specs {
    margin: 36px 0 44px;
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
}

.product-specs__head {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.product-specs__head-icon {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--lgbazar-accent) 0%, var(--lgbazar-accent-dark) 100%);
    color: #fff;
    font-size: 1.25rem;
    box-shadow: 0 6px 18px rgba(165, 0, 52, 0.25);
}

.product-specs__head-text {
    min-width: 0;
}

.product-specs__title {
    font-size: 1.45rem;
    font-weight: 800;
    margin: 0 0 4px;
    padding: 0;
    border: none;
    color: var(--lgbazar-text);
    letter-spacing: -0.02em;
}

.product-specs__subtitle {
    margin: 0;
    font-size: 0.875rem;
    color: var(--lgbazar-text-muted);
    line-height: 1.5;
}

/* خلاصه کلیدی — اسکرول افقی موبایل */
.product-specs__highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 22px;
    padding: 4px 0;
}

.product-specs__chip {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 108px;
    padding: 12px 16px;
    background: #fff;
    border: 1px solid var(--lgbazar-border);
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.product-specs__chip:hover {
    border-color: var(--lgbazar-accent-border);
    box-shadow: 0 4px 14px rgba(165, 0, 52, 0.08);
    transform: translateY(-1px);
}

.product-specs__chip-label {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--lgbazar-text-muted);
    text-transform: none;
    letter-spacing: 0;
}

.product-specs__chip-value {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--lgbazar-accent);
    line-height: 1.2;
    font-variant-numeric: tabular-nums;
}

.product-specs__chip-unit {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--lgbazar-text-light);
    margin-right: 4px;
}

.product-specs__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    align-items: start;
}

.product-specs__card {
    background: #fff;
    border: 1px solid var(--lgbazar-border);
    border-radius: var(--lgbazar-radius-lg);
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    transition: box-shadow 0.25s;
}

.product-specs__card:hover {
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.07);
}

.product-specs__card-head {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 18px;
    background: linear-gradient(to left, var(--lgbazar-bg-light) 0%, #fff 100%);
    border-bottom: 1px solid var(--lgbazar-border);
}

.product-specs__card-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: var(--lgbazar-accent-light);
    color: var(--lgbazar-accent);
    font-size: 0.95rem;
}

.product-specs__group-title {
    flex: 1;
    min-width: 0;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--lgbazar-text);
    margin: 0;
}

.product-specs__more-wrap {
    display: none;
    margin-top: 12px;
    text-align: center;
}

.product-specs__more-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
    padding: 12px 20px;
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--lgbazar-accent);
    background: #fff;
    border: 1px solid var(--lgbazar-accent-border);
    border-radius: 12px;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.product-specs__more-btn:hover {
    background: var(--lgbazar-accent-light);
    border-color: var(--lgbazar-accent);
}

.product-specs__more-icon {
    font-size: 0.75rem;
    transition: transform 0.25s;
}

.product-specs__grid.is-expanded + .product-specs__more-wrap .product-specs__more-icon,
.product-specs.is-expanded .product-specs__more-wrap .product-specs__more-icon {
    transform: rotate(180deg);
}

.product-specs__list {
    margin: 0;
    padding: 6px 0;
}

.product-specs__row {
    display: grid;
    grid-template-columns: minmax(7.5rem, 34%) minmax(0, 1fr);
    gap: 0.35rem 1.25rem;
    align-items: start;
    padding: 0.7rem 1.125rem;
    font-size: 0.875rem;
    line-height: 1.6;
    border-bottom: 1px solid rgba(236, 240, 241, 0.85);
    transition: background 0.15s;
}

.product-specs__row:last-child {
    border-bottom: none;
}

.product-specs__row:hover {
    background: rgba(248, 249, 250, 0.85);
}

.product-specs__label {
    margin: 0;
    color: var(--lgbazar-text-light);
    font-weight: 500;
    text-align: right;
    line-height: 1.6;
}

.product-specs__value {
    margin: 0;
    min-width: 0;
    color: var(--lgbazar-text);
    font-weight: 600;
    text-align: right;
    line-height: 1.6;
}

.product-specs__value--num .product-specs__val {
    font-size: 1rem;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    color: var(--lgbazar-text);
}

.product-specs__unit {
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--lgbazar-text-muted);
    white-space: nowrap;
    margin-right: 0.25rem;
}

.product-specs__value--num .product-specs__val,
.product-specs__value--num .product-specs__unit {
    display: inline;
}

.product-specs__val {
    word-break: break-word;
    overflow-wrap: break-word;
}

/* گروه ظرفیت — ردیف اول برجسته‌تر */
.product-specs__card[data-group="capacity"] .product-specs__row:first-child {
    background: linear-gradient(to left, rgba(253, 236, 234, 0.45) 0%, transparent 100%);
}

.product-specs__card[data-group="capacity"] .product-specs__row:first-child .product-specs__val {
    color: var(--lgbazar-accent);
    font-size: 1.05rem;
    font-weight: 800;
}

.product-specs__card[data-group="cooling"] .product-specs__row[data-spec-key="energy_class"] .product-specs__val {
    display: inline-flex;
    align-items: center;
    padding: 2px 10px;
    border-radius: 6px;
    background: #e8f5e9;
    color: #2e7d32;
    font-weight: 800;
    font-size: 0.9rem;
}

@media (max-width: 960px) {
    .product-specs__grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .product-specs--has-more:not(.is-expanded) .product-specs__card[data-spec-extra="1"] {
        display: none;
    }

    .product-specs--has-more .product-specs__more-wrap {
        display: block;
    }
}

.product-hero__cta .page-cta {
    margin: 0;
}

.page-type-product .page-content img,
.page-type-product .page-content-continued img {
    max-width: 100%;
    max-height: 460px;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    margin: 16px auto;
    display: block;
    background: #fff;
    padding: 12px;
    border-radius: 10px;
    border: 1px solid var(--lgbazar-border);
}

.page-type-product .section-gallery .gallery-item img {
    object-fit: contain;
    background: transparent;
    padding: 0;
    max-height: 200px;
    height: auto;
}

.related-products-grid .child-card-media {
    height: 180px;
    min-height: 180px;
}

/* لایت‌باکس */
.lb-overlay { padding: 30px; }
.lb-btn {
    position: absolute;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    border: none;
    cursor: pointer;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    font-size: 22px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s;
    z-index: 2;
}
.lb-btn:hover { background: rgba(255, 255, 255, 0.35); }
.lb-close { top: 18px; left: 18px; }
.lb-prev { top: 50%; right: 18px; transform: translateY(-50%); }
.lb-next { top: 50%; left: 18px; transform: translateY(-50%); }

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.page-image--cover {
    margin: 20px 0 28px;
    border-radius: var(--lgbazar-radius-lg);
    overflow: hidden;
    border: 1px solid var(--lgbazar-border);
}

.page-image--cover img {
    width: 100%;
    max-height: 420px;
    object-fit: cover;
    display: block;
}

.related-pages--products {
    margin-top: 48px;
    margin-bottom: 48px;
    padding: 28px 24px 24px;
    background: linear-gradient(165deg, #fafbfc 0%, #ffffff 55%, #f8f6f7 100%);
    border: 1px solid var(--lgbazar-border);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.05);
}

.related-products-panel {
    position: relative;
}

.related-pages--products .related-header {
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--lgbazar-border);
    flex-wrap: wrap;
}

.related-pages--products .related-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
}

.related-pages--products .related-title {
    font-size: 1.35em;
}

.related-pages--products .related-header::after {
    content: 'محصولات هم‌رده برای مقایسه سریع';
    flex: 0 0 100%;
    order: 10;
    margin: 2px 52px 0 0;
    font-size: 13px;
    font-weight: 400;
    color: var(--lgbazar-text-muted);
    line-height: 1.5;
}

.related-products-grid {
    padding: 0;
}

.page-type-article .page-header::after,
.page-type-news .page-header::after {
    width: 72px;
}

/* ---- انواع صفحه ---- */
.page-type-product .page-header::after {
    width: 96px;
}

.page-type-product .page-excerpt,
.page-type-service .page-excerpt {
    background: linear-gradient(135deg, #fff 0%, var(--lgbazar-accent-light) 100%);
}

.page-type-article .page-meta time {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.page-type-article .page-meta time::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--lgbazar-accent);
}

.page-type-news .page-meta {
    padding-top: 4px;
}

/* ---- CTA ---- */
.page-cta {
    border-radius: 12px !important;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s;
    border: 2px solid transparent;
}

.cta-primary {
    background: var(--lgbazar-accent);
    color: #fff;
    border-color: var(--lgbazar-accent);
}

.cta-secondary {
    background: #fff;
    color: var(--lgbazar-accent);
    border-color: var(--lgbazar-accent);
}

/* ---- جستجو ---- */
.search-page {
    max-width: var(--lgbazar-container);
    margin: 0 auto;
    padding: 48px 24px;
}

.search-form {
    margin-bottom: 32px;
}

.search-input-wrapper {
    display: flex;
    border: 2px solid var(--lgbazar-border);
    border-radius: var(--lgbazar-radius-lg);
    overflow: hidden;
    max-width: 600px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.search-input-wrapper:focus-within {
    border-color: var(--lgbazar-accent);
    box-shadow: 0 0 0 3px var(--lgbazar-accent-light);
}

.search-input-wrapper input {
    flex: 1;
    padding: 14px 18px;
    border: none;
    font-family: inherit;
    font-size: 15px;
    outline: none;
}

.search-input-wrapper button {
    background: var(--lgbazar-accent);
    color: #fff;
    border: none;
    padding: 14px 22px;
    cursor: pointer;
}

.search-result-item {
    display: flex;
    gap: 16px;
    padding: 20px 0;
    border-bottom: 1px solid var(--lgbazar-border);
}

.search-result-title {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 6px;
}

.search-result-title a {
    color: var(--lgbazar-text);
    text-decoration: none;
}

.search-result-title a:hover {
    color: var(--lgbazar-accent);
}

.search-result-excerpt {
    font-size: 13px;
    color: var(--lgbazar-text-light);
    line-height: 1.6;
}

.search-result-img img {
    width: 120px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid var(--lgbazar-border);
}

.search-results-section {
    margin-bottom: 40px;
}

.search-results-section__title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--lgbazar-text);
    margin: 0 0 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--lgbazar-border);
}

.search-results-section--products .children-grid {
    padding: 0;
}

.search-results-section--articles .articles-grid--blog {
    padding: 0;
}

.search-results-header {
    margin-bottom: 28px;
    font-size: 14px;
    color: var(--lgbazar-text-light);
}

.search-results-header p {
    margin: 0 0 6px;
}

.search-did-you-mean a {
    color: var(--lgbazar-accent);
    font-weight: 600;
}

.search-hint {
    font-size: 13px;
    color: var(--lgbazar-text-muted);
}

.search-result-item mark,
.search-result-excerpt mark {
    background: #fef08a;
    color: inherit;
    padding: 0 2px;
    border-radius: 2px;
}

/* ---- ابزار ---- */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ---- ریسپانسیو ---- */
@media (max-width: 768px) {
    .page-article {
        padding: 28px 16px 72px;
        overflow-x: hidden;
        max-width: 100%;
    }

    .page-h1 {
        font-size: 1.65em;
    }

    .breadcrumb {
        padding: 12px 0;
        font-size: 0.85em;
    }

    .page-content h2,
    .page-content-intro h2 {
        font-size: 1.5em;
    }

    .page-content h3,
    .page-content-intro h3 {
        font-size: 1.2em;
    }

    .page-content table,
    .page-content-intro table {
        display: block;
        overflow-x: auto;
    }

    .gallery-grid.gallery-cols-3,
    .gallery-grid.gallery-cols-4,
    .gallery-grid.gallery-cols-5,
    .gallery-grid.gallery-cols-6 {
        grid-template-columns: repeat(2, 1fr);
    }

    .related-list {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .news-item img {
        width: 90px;
        height: 60px;
    }

    .articles-grid--blog {
        grid-template-columns: 1fr;
        padding: 0 16px;
        gap: 18px;
    }

    .search-results-section--products .children-grid,
    .search-results-section--articles .articles-grid--blog {
        padding: 0;
    }

    .product-hero {
        grid-template-columns: 1fr;
        padding: 20px 16px;
        gap: 20px;
    }

    .product-specs {
        margin: 28px 0 36px;
    }

    .product-specs__head {
        gap: 12px;
    }

    .product-specs__head-icon {
        width: 44px;
        height: 44px;
        font-size: 1.05rem;
        border-radius: 12px;
    }

    .product-specs__title {
        font-size: 1.2rem;
    }

    .product-specs__subtitle {
        font-size: 0.8rem;
    }

    .product-specs__highlights {
        flex-wrap: nowrap;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        margin-inline: -16px;
        padding: 4px 16px 8px;
        gap: 8px;
    }

    .product-specs__highlights::-webkit-scrollbar {
        display: none;
    }

    .product-specs__chip {
        flex: 0 0 auto;
        scroll-snap-align: start;
        min-width: 96px;
        padding: 10px 14px;
    }

    .product-specs__chip-value {
        font-size: 1.05rem;
    }

    .product-specs__card-head {
        padding: 14px 16px;
    }

    .product-specs__row {
        grid-template-columns: 1fr;
        gap: 0.2rem;
        padding: 0.65rem 1rem;
    }

    .product-specs__label {
        font-size: 0.78rem;
        color: var(--lgbazar-text-muted);
    }

    .product-specs__value {
        font-size: 0.95rem;
        text-align: right;
    }

    .product-specs__value--num .product-specs__val {
        font-size: 1.08rem;
    }

    .product-hero__main {
        min-height: 220px;
        padding: 16px;
    }

    .product-hero__main img {
        max-height: 280px;
    }

    .children-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
        padding: 0 12px;
    }

    .child-card-title {
        font-size: 12px;
        line-height: 1.4;
        min-height: 2.6em;
    }

    .child-card-actions {
        gap: 4px;
    }

    .child-card-btn {
        font-size: 11px;
        padding: 7px 6px;
    }

    .child-card-btn--compare {
        min-width: 36px;
        padding-inline: 8px;
    }

    .child-card-media {
        height: 160px;
        min-height: 160px;
        padding: 10px;
    }

    .product-hero__thumb {
        width: 60px;
        height: 60px;
    }

    .gallery-item .gallery-link {
        min-height: 160px;
        padding: 12px;
    }

    .gallery-item img {
        max-height: 140px;
    }

    .children-buttons {
        padding: 0 16px;
    }

    .children-section-title {
        font-size: 1.2em;
        padding: 0 16px;
    }

    .page-gallery {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .page-gallery a {
        min-height: 140px;
    }

    .page-gallery a img {
        max-height: 120px !important;
        height: auto !important;
        object-fit: contain !important;
    }

    .video-wrapper.video-native video {
        max-height: 60vh;
        width: 100%;
    }
}

@media (max-width: 600px) {
    .toc-box {
        padding: 18px 20px;
    }
}

/* ================================================================
   Product page — compact UX
   ================================================================ */
.product-hero--enhanced {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 340px);
    grid-template-areas:
        "gallery sidebar"
        "intro sidebar";
    gap: 24px;
    align-items: start;
    padding: 20px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.product-hero__gallery {
    grid-area: gallery;
    min-width: 0;
    max-width: 100%;
}

.product-hero__intro {
    grid-area: intro;
    margin-top: 0;
    padding-top: 14px;
    border-top: 1px solid var(--lgbazar-border);
}

.product-hero__intro .product-hero__lead,
.product-hero__intro .product-hero__summary {
    margin: 0;
}

.product-sidebar {
    grid-area: sidebar;
    display: flex;
    flex-direction: column;
    gap: 12px;
    position: sticky;
    top: 90px;
}

.product-quick-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.product-quick-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid var(--lgbazar-border);
    background: #fff;
    text-decoration: none;
    color: var(--lgbazar-text);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;
    transition: border-color .15s, background .15s;
}

.product-quick-item__icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 15px;
}

.product-quick-item__label { flex: 1; }
.product-quick-item__arrow { opacity: .35; font-size: 11px; }

.product-quick-item--phone .product-quick-item__icon { background: #fff5f5; color: var(--lgbazar-accent); }
.product-quick-item--whatsapp .product-quick-item__icon { background: #f0fdf4; color: #25D366; }
.product-quick-item--telegram .product-quick-item__icon { background: #eff6ff; color: #0088cc; }
.product-quick-item--bale .product-quick-item__icon { background: #ecfdf5; color: #00a651; }

.product-quick-item:hover { border-color: var(--lgbazar-accent-border); background: #fafafa; }

.product-trust-compact {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding-top: 10px;
    border-top: 1px solid var(--lgbazar-border);
}

.product-trust-compact__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 6px;
    padding: 10px 8px;
    font-size: 11px;
    color: var(--lgbazar-text-light);
    text-decoration: none;
    line-height: 1.35;
    text-align: center;
    background: #fff;
    border: 1px solid var(--lgbazar-border);
    border-radius: 10px;
    min-height: 76px;
}

.product-trust-compact__item i {
    color: var(--lgbazar-accent);
    font-size: 17px;
    width: auto;
    flex-shrink: 0;
}

.product-trust-compact__item span {
    display: block;
}

.product-hero__stock {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    width: fit-content;
    max-width: 100%;
    letter-spacing: -0.01em;
}

.product-hero__stock i {
    font-size: 16px;
}

.product-hero__stock--in {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    color: #15803d;
    border: 1px solid #86efac;
    box-shadow: 0 2px 8px rgba(22, 101, 52, 0.08);
}

.product-hero__stock--out {
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
    color: #b91c1c;
    border: 1px solid #fca5a5;
    box-shadow: 0 2px 8px rgba(153, 27, 27, 0.08);
}

/* فیلتر لیست محصولات — sidebar فروشگاه */
.plist-filters--sidebar {
    border: 1px solid var(--lgbazar-border, #e5e7eb);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.plist-filters__sidebar-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 16px 18px;
    border-bottom: 1px solid var(--lgbazar-border, #e5e7eb);
    background: #fafafa;
}

.plist-filters__sidebar-title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    color: var(--lgbazar-text, #1f2937);
}

.plist-filters__sidebar-title .fa-sliders {
    color: var(--lgbazar-primary, #a50034);
}

.plist-filters__close {
    display: none;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    border: 1px solid var(--lgbazar-border, #e5e7eb);
    background: #fff;
    color: var(--lgbazar-text, #374151);
    cursor: pointer;
}

.plist-filters__head--mobile {
    display: none;
}

.plist-filters__panel {
    padding: 16px 18px 18px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.plist-filters__sidebar-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-top: 4px;
    border-top: 1px solid var(--lgbazar-border, #e5e7eb);
    margin-top: 4px;
}

.plist-filters__reset--block {
    width: 100%;
    text-align: center;
    padding: 10px;
    border: 1px solid var(--lgbazar-border, #e5e7eb);
    border-radius: 8px;
    background: #f9fafb;
}

.plist-filters__apply {
    width: 100%;
    padding: 12px 16px;
    border: none;
    border-radius: 10px;
    background: var(--lgbazar-primary, #a50034);
    color: #fff;
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    display: none;
}

.plist-filters {
    margin-bottom: 20px;
    border: 1px solid var(--lgbazar-border, #e5e7eb);
    border-radius: 12px;
    background: #fff;
    overflow: hidden;
}

.plist-filters__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 14px;
    border-bottom: 1px solid var(--lgbazar-border, #e5e7eb);
}

.plist-filters__toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: none;
    background: transparent;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    color: var(--lgbazar-text, #1f2937);
    cursor: pointer;
    padding: 4px 0;
}

.plist-filters__toggle .fa-sliders {
    color: var(--lgbazar-primary, #a50034);
}

.plist-filters__chevron {
    font-size: 11px;
    transition: transform 0.2s ease;
}

.plist-filters__toggle[aria-expanded="true"] .plist-filters__chevron {
    transform: rotate(180deg);
}

.plist-filters__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: 999px;
    background: var(--lgbazar-primary, #a50034);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
}

.plist-filters__reset {
    border: none;
    background: transparent;
    color: var(--lgbazar-primary, #a50034);
    font-family: inherit;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    padding: 4px 8px;
}

.plist-filters__panel {
    padding: 14px 16px 16px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.plist-filters__panel[hidden] {
    display: none !important;
}

.plist-filters__group {
    border: none;
    margin: 0;
    padding: 0;
}

.plist-filters__label {
    font-size: 12px;
    font-weight: 600;
    color: var(--lgbazar-muted, #6b7280);
    margin-bottom: 8px;
    padding: 0;
}

.plist-filters__pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.plist-filters__pill {
    border: 1px solid var(--lgbazar-border, #e5e7eb);
    background: #f9fafb;
    color: var(--lgbazar-text, #374151);
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    padding: 8px 14px;
    border-radius: 999px;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.plist-filters__pill:hover {
    border-color: var(--lgbazar-primary, #a50034);
    color: var(--lgbazar-primary, #a50034);
}

.plist-filters__pill.is-active {
    background: var(--lgbazar-primary, #a50034);
    border-color: var(--lgbazar-primary, #a50034);
    color: #fff;
}

.plist-filters__select {
    width: 100%;
    max-width: 280px;
    padding: 10px 12px;
    border: 1px solid var(--lgbazar-border, #e5e7eb);
    border-radius: 8px;
    font-family: inherit;
    font-size: 13px;
    background: #fff;
}

.plist-filters__empty {
    margin: 0;
    padding: 12px 16px;
    font-size: 13px;
    color: var(--lgbazar-muted, #6b7280);
    text-align: center;
    border-top: 1px solid var(--lgbazar-border, #e5e7eb);
}

.child-card.is-filter-hidden {
    display: none !important;
}

@media (max-width: 991px) {
    .shop-layout {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .shop-mobile-bar {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        margin-bottom: 16px;
        position: sticky;
        top: 68px;
        z-index: 20;
        padding: 8px 0;
        background: linear-gradient(180deg, var(--lgbazar-bg-light, #f8f9fa) 70%, transparent);
    }

    .shop-sidebar {
        position: fixed;
        inset: auto 0 0 0;
        top: auto;
        z-index: 1200;
        max-height: min(88vh, 640px);
        transform: translateY(105%);
        transition: transform 0.32s cubic-bezier(0.32, 0.72, 0, 1);
        pointer-events: none;
    }

    .shop-sidebar.is-open {
        transform: translateY(0);
        pointer-events: auto;
    }

    .shop-sidebar .plist-filters--sidebar {
        border-radius: 18px 18px 0 0;
        max-height: min(88vh, 640px);
        display: flex;
        flex-direction: column;
        margin: 0;
    }

    .shop-sidebar .plist-filters__panel {
        overflow-y: auto;
        flex: 1;
    }

    .shop-sidebar .plist-filters__close,
    .shop-sidebar .plist-filters__apply {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .shop-sidebar .plist-filters__sidebar-actions .plist-filters__apply {
        display: block;
    }

    .shop-filter-overlay {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(15, 23, 42, 0.45);
        z-index: 1190;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.25s ease;
    }

    .shop-filter-overlay.is-open {
        opacity: 1;
        pointer-events: auto;
    }

    body.shop-filter-open {
        overflow: hidden;
    }
}

@media (min-width: 992px) {
    .plist-filters__sidebar-actions .plist-filters__apply {
        display: none;
    }
}

@media (max-width: 767px) {
    .plist-filters__head {
        flex-wrap: wrap;
    }
}

/* ---- جستجو — صفحه ---- */
.search-hero {
    position: relative;
    margin-bottom: 24px;
}

.search-page__dropdown {
    position: relative;
    margin-top: 8px;
}

.search-did-you-mean {
    margin-top: 8px;
    font-size: 14px;
    color: var(--lgbazar-muted, #6b7280);
}

.search-did-you-mean a {
    color: var(--lgbazar-primary, #a50034);
    font-weight: 600;
}

.search-hint {
    font-size: 13px;
    color: var(--lgbazar-muted, #6b7280);
    margin-top: 6px;
}

.search-input-wrapper__icon {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
    font-size: 16px;
    pointer-events: none;
}

.search-input-wrapper {
    position: relative;
}

.search-input-wrapper input {
    padding-right: 42px;
}

.header-search__dropdown {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    left: 0;
    z-index: 1100;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
    max-height: 360px;
    overflow-y: auto;
}

.header-search__dropdown[hidden] {
    display: none !important;
}

.search-suggest-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    color: inherit;
    text-decoration: none;
    border-bottom: 1px solid #f3f4f6;
    transition: background 0.15s;
}

.search-suggest-item:last-child {
    border-bottom: none;
}

.search-suggest-item:hover,
.search-suggest-item.is-active {
    background: #fef2f2;
}

.search-suggest-item__img {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    object-fit: contain;
    background: #f9fafb;
    flex-shrink: 0;
}

.search-suggest-item__img--empty {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #d1d5db;
}

.search-suggest-item__body {
    min-width: 0;
    flex: 1;
}

.search-suggest-item__title {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #1f2937;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.search-suggest-item__price {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: var(--lgbazar-accent, #A50034);
    margin-top: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.search-suggest-item__meta {
    display: block;
    font-size: 12px;
    color: #6b7280;
    margin-top: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.search-suggest-empty {
    padding: 16px;
    text-align: center;
    font-size: 13px;
    color: #6b7280;
}

.search-suggest-loading {
    padding: 14px;
    text-align: center;
    font-size: 13px;
    color: #9ca3af;
}

.search-suggest-footer {
    display: block;
    padding: 12px 14px;
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    color: var(--lgbazar-primary, #a50034);
    border-top: 1px solid #f3f4f6;
}

@media (min-width: 768px) {
    .plist-filters__panel:not([hidden]) {
        display: flex;
        flex-direction: column;
        gap: 18px;
    }
}

@media (min-width: 992px) {
    .product-trust-compact {
        grid-template-columns: 1fr;
        gap: 4px;
    }
    .product-trust-compact__item {
        flex-direction: row;
        align-items: center;
        text-align: right;
        justify-content: flex-start;
        min-height: auto;
        padding: 6px 2px;
        background: transparent;
        border: none;
        border-radius: 0;
        font-size: 12px;
    }
    .product-trust-compact__item i {
        font-size: 14px;
        width: 16px;
        text-align: center;
    }
}

.product-cart-add__btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 16px;
    border: none;
    border-radius: 10px;
    background: var(--lgbazar-accent);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}

.product-share-inline .share-box {
    margin: 0;
    padding: 10px 12px;
    background: #fff;
    border: 1px solid var(--lgbazar-border);
    border-radius: 10px;
}

.product-share-inline .share-label { font-size: 12px; }

.product-zoom { position: relative; width: 100%; overflow: hidden; }
.product-zoom.is-zoomable .product-hero__zoom { overflow: hidden; cursor: zoom-in; }
.product-zoom.is-zoomable .product-hero__zoom img {
    transition: transform 0.12s ease-out;
    will-change: transform;
}

.product-video-block {
    max-width: var(--lgbazar-container);
    margin: 0 auto 28px;
    padding: 0 24px;
}
.product-video-block__title {
    margin: 0 0 14px;
    font-size: 1.15em;
    font-weight: 800;
    color: var(--lgbazar-text);
    line-height: 1.5;
}
.product-video-block__player { border-radius: 12px; overflow: hidden; }

.child-card-price--empty {
    visibility: hidden;
    min-height: 22px;
}

.related-slide-card__price--empty {
    min-height: 22px;
}

.related-slide-card__noimg {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: #ccc;
    font-size: 2rem;
}

.related-slide-card__media img.is-broken {
    opacity: 0.25;
    max-width: 48px;
    max-height: 48px;
}

.child-card--product .child-card-title,
.related-slide-card__title {
    min-height: 3.2em;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 13px;
    line-height: 1.45;
    margin: 0;
}

.child-card--product .child-card-body {
    min-height: 120px;
}

.related-slide-card__body {
    min-height: 148px;
    padding: 14px 14px 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.related-products-swiper .swiper-slide {
    height: auto;
    display: flex;
}

/* Cart modal */
.cart-modal[hidden] { display: none !important; }
.cart-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.cart-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.45);
}
.cart-modal__dialog {
    position: relative;
    background: #fff;
    border-radius: 16px;
    padding: 28px 24px 22px;
    max-width: 380px;
    width: 100%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0,0,0,.2);
}
.cart-modal__close {
    position: absolute;
    top: 12px;
    left: 12px;
    border: none;
    background: #f3f4f6;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
}
.cart-modal__icon {
    font-size: 48px;
    color: #16a34a;
    margin-bottom: 10px;
}
.cart-modal__title { margin: 0 0 8px; font-size: 1.15em; }
.cart-modal__product {
    margin: 0 0 10px;
    font-size: 14px;
    font-weight: 700;
    color: var(--lgbazar-text);
    line-height: 1.5;
}
.cart-modal__text { margin: 0 0 18px; color: var(--lgbazar-text-muted); font-size: 14px; }
.cart-modal__actions { display: flex; flex-direction: column; gap: 8px; }
.cart-modal__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 16px;
    border-radius: 10px;
    font-weight: 700;
    text-decoration: none;
    border: none;
    cursor: pointer;
    font-size: 14px;
}
.cart-modal__btn--primary { background: var(--lgbazar-accent); color: #fff; }
.cart-modal__btn--ghost { background: #f3f4f6; color: var(--lgbazar-text); }
body.cart-modal-open { overflow: hidden; }

/* Related carousel */
.related-carousel-wrap {
    position: relative;
    padding: 0 52px;
    margin: 0 -4px;
}

.related-products-swiper {
    overflow: hidden;
    padding: 10px 6px 24px;
}

.related-slide-card {
    border: 1px solid var(--lgbazar-border);
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.related-slide-card:hover {
    transform: translateY(-4px);
    border-color: rgba(165, 0, 52, 0.22);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.09);
}

.related-slide-card__media {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 200px;
    padding: 20px 16px 16px;
    background: linear-gradient(180deg, #f9fafb 0%, #f3f4f6 100%);
    border-bottom: 1px solid var(--lgbazar-border);
    box-sizing: border-box;
}

.related-slide-card__media img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    object-position: center;
    display: block;
}

.related-slide-card__title a {
    color: inherit;
    text-decoration: none;
}

.related-slide-card__price {
    font-size: 15px;
    font-weight: 800;
    color: var(--lgbazar-accent);
    letter-spacing: -0.02em;
}

.related-slide-card__meta {
    min-height: 24px;
}

.related-slide-card__actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 40px;
    gap: 6px;
    margin-top: auto;
    padding-top: 4px;
    align-items: stretch;
}

.related-slide-card__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    min-height: 40px;
    padding: 8px 10px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    border: none;
    cursor: pointer;
    transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.related-slide-card__btn--compare {
    flex: 0 0 auto;
    min-width: 40px;
    padding-inline: 10px;
    background: #fff;
    border: 1px solid var(--lgbazar-border);
    color: var(--lgbazar-text);
}

.related-slide-card__actions:not(:has(.related-slide-card__btn--compare)) {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.related-slide-card__btn--buy {
    background: var(--lgbazar-accent);
    color: #fff;
}

.related-slide-card__btn--buy:hover {
    filter: brightness(1.06);
    color: #fff;
}

.related-slide-card__btn--info {
    border: 1px solid var(--lgbazar-border);
    color: var(--lgbazar-text);
    background: #fff;
}

.related-slide-card__btn--info:hover {
    border-color: var(--lgbazar-accent);
    color: var(--lgbazar-accent);
}

.related-carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid var(--lgbazar-border);
    background: #fff;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--lgbazar-text);
    transition: border-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.related-carousel-nav:hover {
    border-color: var(--lgbazar-accent);
    color: var(--lgbazar-accent);
    box-shadow: 0 8px 22px rgba(165, 0, 52, 0.14);
}

.related-carousel-nav--prev { right: 0; }
.related-carousel-nav--next { left: 0; }

/* Header cart */
.header-cart {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    color: var(--lgbazar-text);
    text-decoration: none;
    margin-left: 6px;
}

.header-cart:hover { background: var(--lgbazar-bg-light); color: var(--lgbazar-accent); }

.header-cart__badge {
    position: absolute;
    top: 2px;
    left: 2px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 999px;
    background: var(--lgbazar-accent);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Cart page */
.cart-page { padding: 24px 0 48px; }
.cart-page__title { margin: 0 0 24px; font-size: 1.6em; }
.cart-empty { text-align: center; padding: 48px 20px; }
.cart-empty i { font-size: 48px; color: var(--lgbazar-text-muted); margin-bottom: 16px; }
.cart-layout { display: grid; grid-template-columns: 1fr 320px; gap: 24px; align-items: start; }
.cart-item {
    display: grid;
    grid-template-columns: 100px 1fr auto;
    gap: 16px;
    padding: 16px;
    border: 1px solid var(--lgbazar-border);
    border-radius: 12px;
    background: #fff;
    margin-bottom: 12px;
    align-items: center;
}
.cart-item__img img { width: 100%; height: 80px; object-fit: contain; }
.cart-item__title { font-size: 15px; margin: 0 0 6px; }
.cart-item__title a { color: inherit; text-decoration: none; }
.cart-item__price { color: var(--lgbazar-accent); font-weight: 700; margin-bottom: 8px; }
.cart-item__qty { display: flex; align-items: center; gap: 8px; }
.cart-qty-btn {
    width: 32px; height: 32px; border: 1px solid var(--lgbazar-border);
    background: #fff; border-radius: 8px; cursor: pointer;
}
.cart-qty-input { width: 48px; text-align: center; border: 1px solid var(--lgbazar-border); border-radius: 8px; padding: 6px; }
.cart-item__remove { border: none; background: none; color: #c0392b; cursor: pointer; font-size: 18px; }
.cart-summary {
    padding: 20px; border: 1px solid var(--lgbazar-border); border-radius: 14px;
    background: var(--lgbazar-bg-light); position: sticky; top: 100px;
}
.cart-summary__title { margin: 0 0 16px; font-size: 1.1em; }
.cart-summary__row { display: flex; justify-content: space-between; margin-bottom: 16px; }
.cart-summary__note { font-size: 13px; color: var(--lgbazar-text-muted); margin-bottom: 16px; line-height: 1.7; }
.cart-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 12px 20px; border-radius: 10px; font-weight: 600; text-decoration: none; border: none; cursor: pointer;
}
.cart-btn--block { width: 100%; margin-bottom: 10px; }
.cart-btn--primary { background: var(--lgbazar-accent); color: #fff; }
.cart-btn--whatsapp { background: #25D366; color: #fff; }
.cart-btn--ghost { background: #f3f4f6; color: var(--lgbazar-text); }
.cart-checkout-form .form-group { margin-bottom: 12px; }
.cart-checkout-form label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.cart-input {
    width: 100%; padding: 10px 12px; border: 1px solid var(--lgbazar-border);
    border-radius: 10px; font-family: inherit; font-size: 14px;
}
.cart-input:focus { outline: none; border-color: var(--lgbazar-accent); }

.order-thanks__box { max-width: 520px; margin: 0 auto; text-align: center; padding: 40px 20px; }
.order-thanks__icon { font-size: 56px; color: #0f6b23; margin-bottom: 16px; }
.order-thanks__num { font-size: 1.05em; margin: 12px 0; }
.order-thanks__text { color: var(--lgbazar-text-muted); line-height: 1.8; margin-bottom: 20px; }
.order-thanks__actions { display: flex; flex-direction: column; gap: 10px; }

.order-invoice__paper {
    background: #fff; border: 1px solid var(--lgbazar-border); border-radius: 16px;
    padding: 28px; box-shadow: 0 8px 30px rgba(0,0,0,.06);
}
.order-invoice__head { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; border-bottom: 2px solid #A50034; padding-bottom: 16px; }
.order-invoice__head h1 { margin: 0; font-size: 1.4em; }
.order-invoice__num { color: var(--lgbazar-accent); font-weight: 700; margin-top: 6px; }
.order-invoice__meta { display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: var(--lgbazar-text-muted); }
.order-invoice__status { color: #A50034; font-weight: 700; }
.order-invoice__parties { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 24px; }
.order-invoice__parties h2 { font-size: 14px; margin: 0 0 8px; color: var(--lgbazar-text-muted); }
.order-invoice__table { width: 100%; border-collapse: collapse; margin-bottom: 20px; font-size: 14px; }
.order-invoice__table th, .order-invoice__table td { border: 1px solid var(--lgbazar-border); padding: 10px 12px; text-align: right; }
.order-invoice__table th { background: #f8f9fa; }
.order-invoice__table tfoot td { font-weight: 700; background: #fdf2f5; }
.order-invoice__ref, .order-invoice__note { font-size: 14px; margin: 12px 0; }
.order-invoice__actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 20px; }
@media (max-width: 640px) {
    .order-invoice__parties { grid-template-columns: 1fr; }
    .order-invoice__paper { padding: 16px; }
}

@media (max-width: 991px) {
    .product-hero--enhanced {
        grid-template-columns: 1fr;
        grid-template-areas:
            "gallery"
            "sidebar"
            "intro";
        padding: 12px;
        gap: 14px;
        overflow: hidden;
    }
    .product-sidebar { position: static; width: 100%; min-width: 0; }
    .product-hero__gallery { width: 100%; }
    .product-hero__main { width: 100%; min-height: auto; }
    .product-hero__zoom {
        min-height: auto;
        padding: 10px;
        width: 100%;
    }
    .product-hero__zoom img,
    #productMainImage {
        transform: none !important;
        transform-origin: center center !important;
        max-width: 100% !important;
        max-height: min(55vw, 320px);
    }
    .product-zoom.is-zoomable .product-hero__zoom { cursor: default; }
    .product-hero__zoom-hint { display: none; }
    .product-hero__intro {
        margin-top: 0;
        padding-top: 12px;
    }
    .product-hero__intro .product-hero__summary,
    .product-hero__intro .product-hero__lead {
        font-size: 14px;
        line-height: 1.75;
    }
    .product-quick-list {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }
    .product-quick-item { padding: 8px 10px; font-size: 12px; }
    .product-quick-item__arrow { display: none; }
    .cart-layout { grid-template-columns: 1fr; }
    .related-carousel-wrap { padding: 0 40px; }
    .related-pages--products {
        padding: 20px 16px 18px;
        border-radius: 16px;
        margin-top: 36px;
    }
    .related-pages--products .related-title { font-size: 1.15em; }
    .related-slide-card__media { height: 170px; }
}

@media (max-width: 600px) {
    .product-quick-list { grid-template-columns: 1fr; }
    .cart-item { grid-template-columns: 80px 1fr; }
    .cart-item__remove { grid-column: 2; justify-self: end; }
}

/* ---- مقایسه محصولات ---- */
.product-compare-add { margin-top: 12px; }
.product-compare-add__btn {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px dashed var(--lgbazar-border);
    background: #fff;
    color: var(--lgbazar-text);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.18s ease;
}
.product-compare-add__btn:hover,
.product-compare-add__btn.is-active {
    border-color: var(--lgbazar-accent);
    color: var(--lgbazar-accent);
    background: var(--lgbazar-accent-light, #fdf2f6);
}

.child-card-btn--compare,
.related-slide-card__btn--compare {
    flex: 0 0 auto;
    min-width: 40px;
    padding-inline: 10px;
}
.child-card-btn--compare i,
.related-slide-card__btn--compare i,
.product-compare-add__btn i,
.compare-bar__icon i {
    font-size: 14px;
}
.child-card-btn--compare.is-active,
.related-slide-card__btn--compare.is-active {
    border-color: var(--lgbazar-accent);
    color: var(--lgbazar-accent);
    background: var(--lgbazar-accent-light, #fdf2f6);
}

.compare-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1200;
    background: rgba(26, 26, 26, 0.96);
    color: #fff;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(8px);
}
body.has-compare-bar {
  padding-bottom: calc(var(--compare-bar-height, 86px) + env(safe-area-inset-bottom, 0px));
}
body.has-compare-bar .mobile-bottom-bar {
  bottom: var(--compare-bar-height, 78px);
}
body.has-compare-bar .floating-call {
  bottom: calc(var(--compare-bar-height, 86px) + 20px + env(safe-area-inset-bottom, 0px));
  z-index: 1210;
}
body.has-compare-bar .floating-whatsapp {
  bottom: calc(var(--compare-bar-height, 86px) + 88px + env(safe-area-inset-bottom, 0px));
  z-index: 1210;
}
.compare-bar__inner {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 16px;
    min-height: 72px;
}
.compare-bar__info {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}
.compare-bar__icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(165, 0, 52, 0.22);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ff8eb3;
}
.compare-bar__text { font-size: 13px; color: #ddd; }
.compare-bar__thumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    overflow-x: auto;
    min-width: 0;
}
.compare-bar__chip {
    position: relative;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.15);
    background: #333;
    padding: 0;
    cursor: pointer;
    flex-shrink: 0;
}
.compare-bar__chip img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.compare-bar__chip-text {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-size: 9px;
    padding: 4px;
    line-height: 1.2;
}
.compare-bar__chip-x {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.45);
    opacity: 0;
    transition: opacity 0.15s ease;
}
.compare-bar__chip:hover .compare-bar__chip-x { opacity: 1; }
.compare-bar__actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}
.compare-bar__clear {
    border: 1px solid rgba(255,255,255,0.18);
    background: transparent;
    color: #ddd;
    border-radius: 10px;
    padding: 10px 12px;
    font-size: 12px;
    cursor: pointer;
}
.compare-bar__go {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    border-radius: 10px;
    background: var(--lgbazar-accent);
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}
.compare-bar__go.is-disabled {
    opacity: 0.45;
    pointer-events: none;
}

.compare-page { padding: 24px 0 72px; }
body:has(.compare-page) .compare-bar { display: none !important; }
body:has(.compare-page).has-compare-bar { padding-bottom: 0; }
.compare-page__body { padding-bottom: 32px; }
.compare-table-wrap { margin-bottom: 40px; }
.compare-page__head {
    background: linear-gradient(180deg, #fafbfc 0%, #fff 100%);
    border-bottom: 1px solid var(--lgbazar-border);
    margin-bottom: 24px;
}
.compare-page__head-inner {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 0;
}
.compare-page__title { margin: 0 0 6px; font-size: 1.6em; }
.compare-page__subtitle { margin: 0; color: var(--lgbazar-text-muted); font-size: 14px; }
.compare-page__count {
    margin: 0;
    font-size: 13px;
    font-weight: 700;
    color: var(--lgbazar-accent);
    background: var(--lgbazar-accent-light, #fdf2f6);
    padding: 8px 12px;
    border-radius: 999px;
}
.compare-page__empty {
    text-align: center;
    padding: 48px 20px;
    border: 1px dashed var(--lgbazar-border);
    border-radius: 20px;
    background: #fafbfc;
}
.compare-page__empty-icon {
    font-size: 42px;
    color: var(--lgbazar-accent);
    margin-bottom: 12px;
}
.compare-page__home-btn {
    display: inline-flex;
    margin-top: 16px;
    padding: 12px 20px;
    border-radius: 10px;
    background: var(--lgbazar-accent);
    color: #fff;
    text-decoration: none;
    font-weight: 700;
}

.compare-table-wrap {
    overflow: auto;
    border: 1px solid var(--lgbazar-border);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 8px 28px rgba(0,0,0,0.05);
}
.compare-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 720px;
}
.compare-table th,
.compare-table td {
    border-bottom: 1px solid var(--lgbazar-border);
    padding: 14px 16px;
    vertical-align: top;
    text-align: center;
}
.compare-table__corner {
    position: sticky;
    right: 0;
    z-index: 3;
    background: #f8f9fa;
    text-align: right;
    min-width: 180px;
}
.compare-table__label {
    position: sticky;
    right: 0;
    z-index: 2;
    background: #fcfcfd;
    text-align: right;
    font-weight: 700;
    color: var(--lgbazar-text);
    min-width: 180px;
}
.compare-table__group-row th {
    background: #f3f4f6;
    text-align: right;
    font-size: 15px;
    font-weight: 800;
}
.compare-table__product {
    min-width: 200px;
    background: #fff;
}
.compare-product-head {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}
.compare-product-head__img {
    width: 110px;
    height: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    border-radius: 12px;
    overflow: hidden;
}
.compare-product-head__img img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
.compare-product-head__noimg {
    color: #ccc;
    font-size: 28px;
}
.compare-product-head__title {
    margin: 0;
    font-size: 13px;
    line-height: 1.5;
}
.compare-product-head__title a {
    color: inherit;
    text-decoration: none;
}
.compare-product-head__price {
    color: var(--lgbazar-accent);
    font-weight: 800;
    font-size: 14px;
}
.compare-product-head__remove {
    position: absolute;
    top: -4px;
    left: -4px;
    width: 28px;
    height: 28px;
    border: none;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
    cursor: pointer;
    color: #c0392b;
}
.compare-table__cell {
    font-size: 13px;
    line-height: 1.7;
    color: var(--lgbazar-text);
    text-align: center;
    vertical-align: top;
}
.compare-table__row--diff .compare-table__label {
    color: var(--lgbazar-accent);
}
.compare-table__cell--diff {
    background: rgba(165, 0, 52, 0.05);
    font-weight: 600;
}

.compare-toast {
    position: fixed;
    bottom: 96px;
    left: 50%;
    transform: translateX(-50%) translateY(12px);
    background: #1a1a1a;
    color: #fff;
    padding: 10px 16px;
    border-radius: 10px;
    font-size: 13px;
    z-index: 1300;
    opacity: 0;
    transition: all 0.25s ease;
    pointer-events: none;
}
.compare-toast.is-visible {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* ---- بنر اطلاعیه بالای صفحه ---- */
.top-notice {
    background: linear-gradient(90deg, #fff9f3 0%, #ffffff 48%, #fff9f3 100%);
    border-bottom: 1px solid rgba(165, 0, 52, 0.1);
    color: #374151;
}
.top-notice[hidden] { display: none !important; }
.top-notice__inner {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    min-height: 44px;
}
.top-notice__icon {
    color: var(--lgbazar-accent, #A50034);
    flex-shrink: 0;
    font-size: 16px;
    opacity: 0.9;
}
.top-notice__text {
    margin: 0;
    flex: 1;
    line-height: 1.7;
    font-size: 13px;
    font-weight: 500;
}
.top-notice__actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}
.top-notice__link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 11px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    border: 1px solid var(--lgbazar-border, #e5e7eb);
    color: var(--lgbazar-text, #333);
    background: #fff;
    white-space: nowrap;
}
.top-notice__link--wa {
    color: #128c7e;
    border-color: rgba(18, 140, 126, 0.28);
}
.top-notice__close {
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 8px;
    background: transparent;
    color: #9ca3af;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.18s ease, color 0.18s ease;
}
.top-notice__close:hover {
    background: rgba(0, 0, 0, 0.05);
    color: #374151;
}

.footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}
.footer-bottom-inner .footer-enamad {
    order: -1;
    flex: 0 0 auto;
}
.footer-bottom-credit {
    margin: 0;
    font-size: 0.92em;
    color: #b0b7c3;
    letter-spacing: 0.01em;
}
.footer-bottom-credit a {
    color: #e5e7eb;
    text-decoration: none;
    font-weight: 700;
    border-bottom: 1px solid rgba(255, 255, 255, 0.22);
    transition: color 0.18s ease, border-color 0.18s ease;
}
.footer-bottom-credit a:hover {
    color: #fff;
    border-bottom-color: #fff;
}

@media (max-width: 768px) {
    .compare-bar__inner {
        flex-wrap: wrap;
        padding-bottom: 10px;
    }
    .compare-bar__actions {
        width: 100%;
        justify-content: space-between;
    }
    body.has-compare-bar {
        padding-bottom: calc(var(--compare-bar-height, 110px) + 64px + env(safe-area-inset-bottom, 0px));
    }
    body.has-compare-bar .floating-call {
        bottom: calc(var(--compare-bar-height, 110px) + 68px + 10px + env(safe-area-inset-bottom, 0px));
    }
    body.has-compare-bar .floating-whatsapp {
        bottom: calc(var(--compare-bar-height, 110px) + 68px + 74px + env(safe-area-inset-bottom, 0px));
    }
    .compare-page__head-inner {
        flex-direction: column;
        align-items: flex-start;
    }
    .footer-bottom-inner {
        flex-direction: column;
        text-align: center;
    }
    .footer-bottom-inner .footer-enamad {
        order: 0;
    }
    .top-notice__inner {
        flex-wrap: wrap;
        gap: 8px;
        padding: 10px 0 12px;
    }
    .top-notice__text {
        flex: 1 1 100%;
        font-size: 12px;
    }
    .top-notice__actions {
        width: 100%;
        justify-content: flex-end;
    }
}

/* ============ صفحه تماس با ما ============ */
.page-article--contact {
    padding-top: 28px;
}
.page-article--contact .page-header {
    margin-bottom: 20px;
    border-bottom: none;
    padding-bottom: 0;
}
.contact-page {
    margin-bottom: 40px;
}
.contact-page__grid {
    display: grid;
    grid-template-columns: 1fr minmax(280px, 420px);
    gap: 28px;
    align-items: start;
}
.contact-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 24px;
}
.contact-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: #fff;
    border: 1px solid var(--lgbazar-border);
    border-radius: 14px;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
a.contact-card:hover {
    transform: translateY(-2px);
    border-color: rgba(165, 0, 52, 0.2);
    box-shadow: 0 10px 24px rgba(165, 0, 52, 0.08);
}
.contact-card__icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    flex-shrink: 0;
    font-size: 1.1em;
}
.contact-card--phone .contact-card__icon { background: linear-gradient(135deg, #2563eb, #3b82f6); }
.contact-card--phone2 .contact-card__icon { background: linear-gradient(135deg, #7c3aed, #8b5cf6); }
.contact-card--mobile .contact-card__icon { background: linear-gradient(135deg, #16a34a, #22c55e); }
.contact-card--email .contact-card__icon { background: linear-gradient(135deg, #ea580c, #f97316); }
.contact-card--address .contact-card__icon { background: linear-gradient(135deg, #A50034, #d4145a); }
.contact-card__body strong {
    display: block;
    font-size: 0.98em;
    line-height: 1.65;
    font-weight: 700;
    color: var(--lgbazar-text);
}
.contact-socials {
    margin-bottom: 28px;
    padding: 18px;
    background: var(--lgbazar-bg-light);
    border-radius: 16px;
    border: 1px solid var(--lgbazar-border);
}
.contact-socials__title,
.contact-message__title,
.contact-map-shell__title {
    margin: 0 0 14px;
    font-size: 1.15em;
    font-weight: 800;
    color: var(--lgbazar-text);
}
.contact-socials__list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.contact-social-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 12px;
    text-decoration: none;
    color: #fff;
    font-weight: 700;
    font-size: 0.92em;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.contact-social-btn:hover {
    transform: translateY(-2px);
    color: #fff;
}
.contact-social-btn--instagram { background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045); }
.contact-social-btn--whatsapp { background: #25D366; }
.contact-social-btn--telegram { background: #0088cc; }
.contact-social-btn--bale { background: #2f7ee6; }
.contact-message {
    padding: 22px;
    background: #fff;
    border: 1px solid var(--lgbazar-border);
    border-radius: 18px;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.05);
}
.contact-message__lead {
    margin: 0 0 18px;
    color: var(--lgbazar-text-muted);
    line-height: 1.7;
    font-size: 0.95em;
}
.contact-message-form__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 16px;
}
.contact-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.contact-field--full { grid-column: 1 / -1; }
.contact-field label {
    font-size: 0.88em;
    font-weight: 700;
    color: var(--lgbazar-text);
}
.contact-field input,
.contact-field textarea {
    width: 100%;
    border: 1px solid #dfe4ea;
    border-radius: 10px;
    padding: 11px 12px;
    font-family: inherit;
    font-size: 0.95em;
    background: #fff;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.contact-field input:focus,
.contact-field textarea:focus {
    outline: none;
    border-color: var(--lgbazar-accent);
    box-shadow: 0 0 0 3px rgba(165, 0, 52, 0.1);
}
.contact-message-form__submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 22px;
    border: none;
    border-radius: 12px;
    background: linear-gradient(135deg, #A50034, #7A0028);
    color: #fff;
    font-family: inherit;
    font-weight: 800;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.contact-message-form__submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(165, 0, 52, 0.25);
}
.contact-message-form__msg {
    margin-top: 14px;
    padding: 12px 14px;
    border-radius: 10px;
    font-size: 0.92em;
    line-height: 1.6;
}
.contact-message-form__msg.is-success {
    background: #ecfdf5;
    color: #047857;
    border: 1px solid #a7f3d0;
}
.contact-message-form__msg.is-error {
    background: #fef2f2;
    color: #b91c1c;
    border: 1px solid #fecaca;
}
.contact-page__aside {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.contact-map-shell,
.contact-hours {
    background: #fff;
    border: 1px solid var(--lgbazar-border);
    border-radius: 18px;
    padding: 18px;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.05);
}
.contact-map-frame {
    position: relative;
    width: 100%;
    min-height: 280px;
    height: 320px;
    border-radius: 14px;
    overflow: hidden;
    background: #e9edf2;
}
.contact-map-frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}
.contact-map-dir-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    padding: 10px 16px;
    border-radius: 10px;
    background: var(--lgbazar-accent);
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.92em;
}
.contact-map-dir-btn:hover { color: #fff; background: var(--lgbazar-accent-dark); }
.contact-hours__title {
    margin: 0 0 10px;
    font-size: 1em;
    font-weight: 800;
    color: var(--lgbazar-text);
    display: flex;
    align-items: center;
    gap: 8px;
}
.contact-hours p {
    margin: 0;
    color: var(--lgbazar-text-muted);
    line-height: 1.8;
    font-size: 0.94em;
}

@media (max-width: 900px) {
    .contact-page__grid {
        grid-template-columns: 1fr;
    }
    .contact-map-frame {
        min-height: 240px;
        height: 52vw;
        max-height: 320px;
    }
}

@media (max-width: 600px) {
    .contact-cards,
    .contact-message-form__grid {
        grid-template-columns: 1fr;
    }
    .contact-social-btn {
        flex: 1 1 calc(50% - 5px);
        justify-content: center;
    }
    .contact-message-form__submit {
        width: 100%;
    }
}

/* درج محصولات در مقاله / بخش محصولات */
.article-products-embed,
.section-products {
    margin: 2rem 0;
}
.section-products .section-title {
    margin-bottom: 1rem;
}
.children-grid--article-embed,
.children-grid--section-products {
    margin-top: 0;
    padding: 0;
    max-width: none;
}
.article-products-embed .children-grid {
    padding: 0;
    max-width: none;
}

/* لینک‌های داخل embed — جلوگیری از تداخل با استایل متن مقاله */
.page-content .article-products-embed a,
.page-content-continued .article-products-embed a,
.section-products .article-products-embed a {
    border-bottom: none;
    text-decoration: none;
}

.page-content .article-products-embed .child-card-title a,
.page-content-continued .article-products-embed .child-card-title a {
    color: var(--lgbazar-text);
}

.page-content .article-products-embed .child-card-title a:hover,
.page-content-continued .article-products-embed .child-card-title a:hover {
    color: var(--lgbazar-accent);
}

.page-content .article-products-embed .child-card-btn--buy,
.page-content-continued .article-products-embed .child-card-btn--buy,
.section-products .child-card-btn--buy {
    color: #fff !important;
    background: var(--lgbazar-accent);
    border: 1px solid var(--lgbazar-accent);
}

.page-content .article-products-embed .child-card-btn--buy:hover,
.page-content-continued .article-products-embed .child-card-btn--buy:hover,
.section-products .child-card-btn--buy:hover {
    color: #fff !important;
    filter: brightness(1.08);
}

.page-content .article-products-embed .child-card-btn--info,
.page-content-continued .article-products-embed .child-card-btn--info {
    color: var(--lgbazar-text);
    background: #fff;
    border: 1px solid var(--lgbazar-border);
}

/* موبایل: بیش از ۲ محصول → اسکرول افقی (کاروسل) */
@media (max-width: 767px) {
    .article-products-embed--mobile-carousel .children-grid {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        gap: 14px;
        padding: 4px 2px 12px;
        scrollbar-width: thin;
    }

    .article-products-embed--mobile-carousel .child-card {
        flex: 0 0 min(82vw, 300px);
        scroll-snap-align: start;
        max-width: none;
    }

    .article-products-embed--mobile-carousel .children-grid::-webkit-scrollbar {
        height: 6px;
    }

    .article-products-embed--mobile-carousel .children-grid::-webkit-scrollbar-thumb {
        background: rgba(165, 0, 52, 0.35);
        border-radius: 999px;
    }
}
