/* --- Merged from index_css.blade.php --- */
.disclaimer-subtle-box {
        background: rgba(248, 249, 250, 0.75) !important;
        backdrop-filter: blur(8px);
        border: 1px solid rgba(0, 0, 0, 0.08) !important;
        font-size: 13px !important;
        color: #64748b !important;
        padding: 12px 18px !important;
        transition: all 0.3s ease;
    }
    .disclaimer-report-btn {
        font-size: 13px !important;
        color: #475569 !important;
        font-weight: 600;
        transition: all 0.2s ease;
        padding: 0;
        border: none;
        background: none;
    }
    .disclaimer-report-btn:hover {
        color: #0f2b5b !important;
        text-decoration: underline !important;
    }

    .gallery {
        max-width: 450px;
        margin: 0 auto;
        padding: 0;
    }

    .main-image {
        position: relative;
        width: 100%;
        aspect-ratio: 1 / 1;
        margin-bottom: 2rem;
        background: #fff;
        border-radius: 12px;
        border: 1px solid #f2f2f2;
        overflow: hidden;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .main-image img {
        max-width: 95%;
        max-height: 95%;
        width: auto;
        height: auto;
        object-fit: contain;
        transition: transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    }

    .main-image:hover img {
        transform: scale(1.08);
    }

    .main-image .versus-add-to-compare {
        position: absolute;
        top: 15px;
        right: 15px;
        /* RTL will handle this if using inset properties, but let's be safe */
        z-index: 10;
        width: 40px;
        height: 40px;
        background: #fff;
        border: 1px solid #eee;
        border-radius: 50%;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: all 0.3s ease;
        color: #1a1a1a;
    }

    [dir="rtl"] .main-image .versus-add-to-compare {
        right: auto;
        left: 15px;
    }

    .main-image .versus-add-to-compare:hover {
        background: #d00707;
        color: #fff;
        border-color: #d00707;
        transform: rotate(90deg) scale(1.1);
    }

    @media (max-width: 768px) {
        .gallery {
            max-width: 100%;
        }

        .main-image {
            padding-bottom: 75%;
        }
    }

    .add-to-compare-btn {
        display: inline-flex;
        align-items: center;
        gap: 12px;
        padding: 12px 24px;
        background: #f8f9fa;
        border: 2px dashed #dee2e6;
        border-radius: 12px;
        color: #6c757d;
        text-decoration: none;
        transition: all 0.3s ease;
    }

    .add-to-compare-btn:hover {
        border-color: #d00707;
        color: #d00707;
        text-decoration: none;
        transform: translateY(-2px);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }

    .plus-icon {
        font-size: 32px;
        font-weight: bold;
        line-height: 1;
    }

    .compare-text {
        font-size: 16px;
        font-weight: 500;
    }

    @media (max-width: 768px) {
        .gallery {
            max-width: 100%;
            padding: 0.25rem;
        }

        .main-image {
            aspect-ratio: 1/1;
            min-height: auto;
            max-height: none;
            padding: 1rem;
        }

        .main-image img {
            max-height: 100%;
        }

        .add-to-compare-btn {
            padding: 10px 20px;
        }

        .plus-icon {
            font-size: 28px;
        }

        .compare-text {
            font-size: 14px;
        }
    }

    .box-product {
        position: relative;
    }

    .box-product .versus-add-to-compare {
        position: absolute;
        top: 10px;
        right: 10px;
        padding: 6px 12px;
        background-color: #d00707;
        color: white;
        border: none;
        z-index: 10;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }

    .box-product .versus-add-text {
        display: none;
    }

    .box-product .versus-add-to-compare:hover .versus-add-text {
        display: inline-block;
    }

    .blog-box {
        position: relative;
        transition: all 0.3s ease;
        border-radius: 8px;
        overflow: hidden;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }

    .blog-box:hover {
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        transform: translateY(-5px);
    }

    .blog-bottom-details a {
        color: #333;
        font-weight: 600;
        transition: all 0.3s ease;
    }

    .blog-bottom-details a:hover {
        color: #d00707;
        text-decoration: none;
    }

    .top-radius-blog {
        border-radius: 8px 8px 0 0;
        transition: all 0.3s ease;
    }

    .blog-box:hover .top-radius-blog {
        transform: scale(1.05);
    }

    .sticky-features-nav {
        position: fixed;
        left: 5px;
        bottom: 5rem;
        background: transparent;
        padding: 0;
        z-index: 997;
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
        box-shadow: none;
        border: none;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }

    .sticky-features-nav.show {
        opacity: 1;
        visibility: visible;
    }

    .sticky-features-container {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
        margin: 0;
        padding: 0;
    }

    .sticky-feature-item {
        width: 25px;
        height: 25px;
        border-radius: 50%;
        background: #ffffff;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
        transition: all 0.3s ease;
        border: 1px solid #e2e8f0;
        text-decoration: none;
        cursor: pointer;
    }

    .sticky-feature-item:hover {
        transform: scale(1.1);
        background: #f8fafc;
        box-shadow: 0 3px 8px rgba(0, 0, 0, 0.12);
        border-color: #cbd5e1;
    }

    .sticky-feature-item.active {
        background: var(--versus-accent);
        border-color: var(--versus-accent);
        box-shadow: 0 2px 8px rgba(208, 7, 7, 0.3);
    }

    .sticky-feature-item.active .sticky-feature-icon {
        color: #ffffff !important;
        filter: brightness(10);
    }

    .sticky-feature-icon {
        font-size: 13px !important;
        color: #334155;
        transition: all 0.3s ease;
        pointer-events: none;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .sticky-feature-item span {
        display: none;
    }

    .search-overlay {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(255, 255, 255, 0.98);
        z-index: 9999;
        display: none;
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .search-overlay.is-open {
        display: block;
        opacity: 1;
    }

    .search-overlay-content {
        max-width: 800px;
        margin: 2rem auto;
        padding: 2rem;
    }

    .search-overlay-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 2rem;
    }

    .search-overlay-title {
        font-size: 1.5rem;
        font-weight: 600;
        color: #212529;
    }

    .search-overlay-close {
        background: none;
        border: none;
        font-size: 1.5rem;
        color: #6c757d;
        cursor: pointer;
        padding: 0.5rem;
    }

    .search-overlay-input {
        width: 100%;
        padding: 1rem;
        font-size: 1.25rem;
        border: 2px solid #e9ecef;
        border-radius: 8px;
        margin-bottom: 2rem;
        transition: border-color 0.3s ease;
    }

    .search-overlay-input:focus {
        outline: none;
        border-color: #0d6efd;
    }

    .search-overlay-results {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 1rem;
    }

    .search-result-item {
        display: flex;
        align-items: center;
        gap: 1rem;
        padding: 1rem;
        border: 1px solid #e9ecef;
        border-radius: 8px;
        cursor: pointer;
        transition: all 0.3s ease;
    }

    .search-result-item:hover {
        background: #f8f9fa;
        transform: translateY(-2px);
    }

    .search-result-item.different-category {
        opacity: 0.7;
        cursor: not-allowed;
    }

    .different-category-badge {
        display: inline-block;
        padding: 0.25rem 0.5rem;
        font-size: 0.75rem;
        font-weight: normal;
        color: #fff;
        background-color: #dc3545;
        border-radius: 4px;
        margin-right: 0.5rem;
    }

    .search-result-image {
        width: 60px;
        height: 60px;
        object-fit: contain;
        border-radius: 4px;
    }

    .search-result-info {
        flex: 1;
    }

    .search-result-title {
        font-weight: 600;
        margin-bottom: 0.25rem;
    }

    .search-result-price {
        color: #dc3545;
        font-weight: 600;
    }

    .product-page .page-wrapper .page-body-wrapper .page-body {
        padding-inline-start: 0 !important;
        padding-inline-end: 0 !important;
    }

    @media (max-width: 768px) {

        .product-page .page-wrapper .page-body-wrapper .page-body {
            padding-inline-end: 0;
            padding-inline-start: 0;
        }

        .sticky-feature-item {
            width: 20px;
            height: 20px;
            box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
        }

        .sticky-feature-icon {
            font-size: 10px !important;
        }

        h3.spec-title {
            font-size: 20px;
        }

        .sticky-features-nav {
            left: 5px;
            bottom: 4rem;
        }
    }

    @media (max-width: 576px) {
        .product-page .page-wrapper .page-body-wrapper .page-body {
            padding-inline-end: 0;
            padding-inline-start: 0;
        }
    }

/* --- Merged from top_box_css.blade.php --- */
.product-title {
        border-bottom: 1px solid #eee;
        padding-bottom: 1rem;
    }

    .product-sub-title {
        font-size: 1rem;
        color: #6c757d;
        font-weight: normal;
    }

    .product-sub-title.h3-visual {
        color: #64748b !important;
        font-weight: normal !important;
    }

    .product-meta {
        font-size: 0.9rem;
        color: #6c757d;
    }

    .product-meta a {
        color: #0056b3;
        text-decoration: none;
        margin-right: 0.25rem;
    }

    .product-meta a:hover {
        text-decoration: underline;
    }

    .box-label-spec {
        background: #f8f9fa;
        border-radius: 8px;
        padding: 1rem 0;
    }

    .box-label-spec a {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
        color: #495057;
        text-decoration: none;
        transition: all 0.2s ease;
    }

    .count-badge {
        color: #d00707;
        font-weight: bold;
    }

    .box-label-spec a:hover {
        color: #d00707;
    }

    .box-label-spec a:hover .count-badge {
        color: inherit;
    }

    .box-label-spec u {
        display: none;
    }

    .stores-section {
        padding: 0 1rem;
    }

    .stores-title {
        font-size: 1.1rem;
        font-weight: 600;
        color: #2c3e50;
    }

    .stores-list {
        background: #fff;
        border-radius: 12px;
        overflow: hidden;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    }

    .no-store-alert .alert {
        background-color: #f8f9fa;
        border: 1px dashed #dee2e6;
        color: #6c757d;
        padding: 1.5rem;
    }

    .no-store-alert .alert i {
        font-size: 1.2rem;
    }

    .store-alert-subtitle {
        font-size: 0.9rem;
        color: #0056b3;
        margin-top: 0.75rem;
    }

    @media (max-width: 768px) {
        .product-meta {
            flex-direction: column;
            gap: 0.5rem;
        }

        .stores-section {
            padding: 0 0.5rem;
        }
    }

/* --- Merged from details_css.blade.php --- */
<link rel="stylesheet" href="{{ asset('assets/css/tippy-light-border.min.css') }}" />
<style>
    /* استایل‌های جدید برای details/summary */
    .specification-details {
        background: #fff;
        border-radius: 12px;
        border: 1px solid #eee;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
        margin-bottom: 0.65rem;
        padding-inline-start: 0;
    }

    .specification-summary {
        padding: 0.75rem 1.25rem;
        cursor: pointer;
        user-select: none;
        border-bottom: 1px solid #dee2e6;
        transition: background-color 0.3s ease;
        list-style: none;
    }

    .specification-summary::-webkit-details-marker,
    .specification-summary::marker {
        display: none;
    }

    .toggle-icon {
        width: 20px;
        height: 20px;
        position: relative;
        margin-inline-end: 0.5rem;
    }

    .toggle-icon::before,
    .toggle-icon::after {
        content: '';
        position: absolute;
        background-color: #6c757d;
        border-radius: 2px;
        transition: all 0.3s ease;
    }

    .toggle-icon::before {
        width: 2px;
        height: 12px;
        top: 4px;
        inset-inline-start: 9px;
    }

    .toggle-icon::after {
        width: 12px;
        height: 2px;
        top: 9px;
        inset-inline-start: 4px;
    }

    details[open] .toggle-icon::before {
        transform: rotate(90deg);
        opacity: 0;
    }

    .spec-icon {
        margin-inline-end: 0.75rem;
        font-size: 1.2rem;
        color: #555;
    }

    .spec-title {
        margin: 0;
        font-size: 1.05rem;
        font-weight: 700;
        color: #111;
        letter-spacing: -0.01em;
        line-height: 1.4;
    }

    /* اصلاح استایل‌های جدول */
    .table-responsive {
        border-radius: 0 0 8px 8px;
        box-shadow: none;
        margin: 0;
        padding-inline-start: 0 !important;
    }

    .specifications-section {
        margin-bottom: 0.35rem;
        padding-inline-end: 15px;
    }

    .table th,
    .table td {
        padding: 0.45rem 1rem;
        display: table-cell;
    }

    .table th {
        font-weight: 600;
        vertical-align: middle;
        font-size: 0.8rem;
        color: #7a7a7a;
        text-align: start;
        width: 35%;
        border-bottom: 1px solid #f5f5f5;
        line-height: 1.5;
        background-color: rgba(250, 250, 250, 0.5);
    }

    .table td {
        vertical-align: middle;
        font-size: 0.92rem;
        font-weight: 500;
        color: #222;
        text-align: start;
        border-bottom: 1px solid #f5f5f5;
        transition: all 0.3s ease;
        line-height: 1.5;
    }

    /* استایل‌های جدید برای ناوبری */
    .comparison-nav-wrapper {
        width: 100%;
        max-width: 1400px;
        padding: 0.5rem 35px;
        /* فضا برای دکمه‌ها */
        margin: 1rem auto;
        position: relative;
    }

    .comparison-nav-items {
        display: flex;
        flex-wrap: nowrap;
        gap: 0.5rem;
        padding: 0.5rem;
        max-width: 1200px;
        margin: 0 auto;
        justify-content: flex-start;
        overflow-x: auto;
        scrollbar-width: none;
        -ms-overflow-style: none;
        scroll-behavior: smooth;
    }

    .comparison-nav-btn {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        width: 32px;
        height: 32px;
        border-radius: 50%;
        background: #fff;
        border: 1px solid #ddd;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        z-index: 10;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
        color: #555;
        transition: all 0.2s;
    }

    .comparison-nav-btn:hover {
        background: #f8f9fa;
        color: #d00707;
        border-color: #d00707;
    }

    [dir="rtl"] .comparison-nav-btn.nav-prev {
        right: 5px;
    }

    [dir="rtl"] .comparison-nav-btn.nav-next {
        left: 5px;
    }

    [dir="ltr"] .comparison-nav-btn.nav-prev {
        left: 5px;
    }

    [dir="ltr"] .comparison-nav-btn.nav-next {
        right: 5px;
    }


    .comparison-nav-items::-webkit-scrollbar {
        display: none;
    }

    .comparison-nav-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 0.75rem 0.5rem;
        background: #f8f9fa;
        border-radius: 8px;
        text-decoration: none;
        color: #495057;
        transition: all 0.2s ease;
        min-height: 90px;
        justify-content: center;
        flex: 1;
        min-width: 80px;
        max-width: 100px;
    }

    .comparison-nav-item:hover {
        background: #e9ecef;
        color: #d00707;
        transform: translateY(-2px);
    }

    .comparison-nav-icon {
        width: 24px;
        height: 24px;
        margin-bottom: 0.5rem;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
    }

    .comparison-nav-icon object {
        width: 100%;
        height: 100%;
    }

    .comparison-nav-title {
        font-size: 0.7rem;
        font-weight: 500;
        margin: 0;
        line-height: 1.3;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
        height: 28px;
    }

    @media (max-width: 768px) {
        .comparison-nav-wrapper {
            padding: 0.25rem 30px;
            margin: 0.5rem auto;
        }

        .comparison-nav-btn {
            width: 28px;
            height: 28px;
        }

        [dir="rtl"] .comparison-nav-btn.nav-prev {
            right: 0px;
        }

        [dir="rtl"] .comparison-nav-btn.nav-next {
            left: 0px;
        }

        [dir="ltr"] .comparison-nav-btn.nav-prev {
            left: 0px;
        }

        [dir="ltr"] .comparison-nav-btn.nav-next {
            right: 0px;
        }

        .comparison-nav-items {
            padding: 0.25rem;
            margin: 0;
            gap: 0.25rem;
        }

        .comparison-nav-item {
            padding: 0.5rem;
            min-width: 85px;
            max-width: 95px;
            min-height: 75px;
        }

        .comparison-nav-icon {
            width: 20px;
            height: 20px;
            margin-bottom: 0.35rem;
        }

        .comparison-nav-title {
            font-size: 0.65rem;
            height: auto;
            -webkit-line-clamp: 3;
            overflow: visible;
        }

        .table th {
            width: 36%;
            font-size: 0.65rem;
            padding: 0.35rem 0.25rem;
            font-weight: 500;
        }

        .table td {
            font-size: 0.75rem;
            padding: 0.35rem 0.25rem;
        }
    }

    /* استایل‌های منوی استیکی محصول */
    .sticky-product-nav {
        position: fixed;
        bottom: 1rem;
        left: 50%;
        transform: translateX(-50%);
        background: white;
        padding: 1rem;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        z-index: 998;
        transition: all 0.3s ease;
        border-radius: 12px;
        width: 90%;
        max-width: 1400px;
        opacity: 0;
        visibility: hidden;
    }

    .sticky-product-nav.show {
        opacity: 1;
        visibility: visible;
    }

    .sticky-products-container {
        display: flex;
        align-items: center;
        gap: 1rem;
    }

    .sticky-product {
        display: flex;
        align-items: center;
        gap: 1rem;
        padding: 0.5rem;
        border-radius: 8px;
        background: #f8f9fa;
        transition: all 0.2s ease;
        width: 100%;
    }

    .sticky-product-image {
        width: 40px;
        height: 40px;
        object-fit: cover;
        border-radius: 4px;
        border: 1px solid #dee2e6;
        flex-shrink: 0;
    }

    .sticky-product-info {
        flex: 1;
        min-width: 0;
    }

    .sticky-product-title {
        font-size: 0.9rem;
        font-weight: 600;
        margin: 0;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .sticky-product-specs {
        display: flex;
        align-items: center;
        gap: 0.35rem;
        font-size: 0.75rem;
        color: #6c757d;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .sticky-product-price {
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        gap: 0.25rem;
        flex-shrink: 0;
    }

    .sticky-product-price .price {
        font-size: 0.9rem;
        font-weight: 600;
        color: #d00707;
    }

    .buy-button {
        padding: 0.35rem 1rem;
        background: #d00707;
        color: white;
        border-radius: 6px;
        font-size: 0.8rem;
        text-decoration: none;
        transition: all 0.2s ease;
    }

    .sticky-product-price .buy-button:hover {
        background: #b00606;
        transform: translateY(-2px);
    }

    @media (max-width: 768px) {
        .sticky-product-nav {
            padding: 0.75rem;
            bottom: 0.5rem;
        }

        .sticky-product {
            padding: 0.35rem;
        }

        .sticky-product-image {
            width: 32px;
            height: 32px;
        }

        .sticky-product-title {
            font-size: 0.8rem;
        }

        .sticky-product-specs {
            font-size: 0.7rem;
        }

        .sticky-product-price .price {
            font-size: 0.8rem;
        }

        .buy-button {
            padding: 0.25rem 0.75rem;
            font-size: 0.75rem;
        }
    }

    /* استایل‌های جدید برای دکمه‌های باز/بسته کردن */
    .toggle-buttons .btn {
        font-size: 0.8rem;
        padding: 0.25rem 0.75rem;
        background: white;
    }

    .toggle-buttons .btn-outline-secondary {
        color: #6c757d;
        border-color: #dee2e6;
    }

    .toggle-buttons .btn-outline-secondary:hover {
        background-color: #f8f9fa;
        color: #495057;
    }

    @media (max-width: 768px) {
        .box-title-cart h2 {
            font-size: 1rem;
        }

        .toggle-buttons .btn {
            font-size: 0.75rem;
            padding: 0.2rem 0.5rem;
        }
    }

    .toggle-buttons .btn:disabled {
        opacity: 0.5;
        cursor: not-allowed;
        pointer-events: none;
    }

    /* اضافه کردن پدینگ برای عنوان ویژگی‌ها */
    .box-title-cart {
        padding-inline-start: 0;
    }

    @media (max-width: 768px) {
        .specification-details {
            padding-inline-start: calc(1% + 0.1rem);
            /* فاصله کمتر در موبایل */
        }

        .spec-title {
            font-size: 0.72rem;
            font-weight: 700;
            white-space: normal;
            line-height: 1.3;
            margin: 0;
        }

        .spec-icon {
            font-size: 0.85rem !important;
            margin-inline-end: 0.35rem;
        }
    }

    /* دکمه بستن منوی استیکی */
    .sticky-nav-close {
        position: absolute;
        top: -8px;
        left: -8px;
        width: 24px;
        height: 24px;
        border-radius: 50%;
        background: #dc3545;
        color: white;
        border: none;
        font-size: 18px;
        line-height: 1;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        transition: all 0.2s ease;
    }

    .sticky-nav-close:hover {
        background: #c82333;
        transform: scale(1.1);
    }

    @media (max-width: 768px) {
        .sticky-nav-close {
            width: 20px;
            height: 20px;
            font-size: 16px;
            top: -6px;
            left: -6px;
        }
    }

    /* استایل‌های اعلان و مودال */
    .alert-warning {
        background-color: #fff3cd;
        border: 1px solid #ffeeba;
        color: #856404;
        margin: 1rem;
        border-radius: 8px;
    }

    .btn-outline-warning {
        color: #856404;
        border-color: #ffeeba;
        background-color: transparent;
        transition: all 0.3s ease;
    }

    .btn-outline-warning:hover {
        color: #856404;
        background-color: #ffeeba;
        transform: translateY(-2px);
    }

    #reportModal .modal-content {
        border-radius: 12px;
        border: none;
    }

    #reportModal .modal-header {
        border-bottom: 1px solid #eee;
        background-color: #f8f9fa;
        border-radius: 12px 12px 0 0;
    }

    #reportModal .modal-footer {
        border-top: 1px solid #eee;
        background-color: #f8f9fa;
        border-radius: 0 0 12px 12px;
    }

    #reportForm .form-control {
        border-radius: 8px;
        border: 1px solid #dee2e6;
        transition: all 0.3s ease;
    }

    #reportForm .form-control:focus {
        border-color: #80bdff;
        box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, .25);
    }

    .user-select-none {
        -webkit-user-select: none !important;
        -moz-user-select: none !important;
        user-select: none !important
    }

    /* Refined Horizontal Benchmarking Layout */
    .spec-value-wrapper {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 1.5rem;
        width: 100%;
        min-height: 42px;
    }

    .spec-value-main {
        display: flex;
        align-items: baseline;
        gap: 0.35rem;
        flex-shrink: 0;
    }

    .spec-value-num {
        font-size: 1.15rem;
        font-weight: 800;
        color: #1a1a1a;
        letter-spacing: -0.02em;
    }

    .spec-unit {
        font-size: 0.82rem;
        font-weight: 500;
        color: #1e4d8b;
        margin-inline-end: 4px;
        white-space: nowrap;
    }

    .spec-benchmark {
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        gap: 4px;
        flex-grow: 1;
        max-width: 180px;
    }

    .spec-benchmark.low-value .spec-benchmark-fill {
        background: linear-gradient(90deg, #ff9a9e 0%, #d81b60 100%);
    }

    .spec-benchmark.low-value .spec-benchmark-label {
        color: #d81b60;
    }

    .spec-benchmark-bar {
        width: 100%;
        height: 4px;
        background: #f0f0f0;
        border-radius: 20px;
        overflow: hidden;
        position: relative;
    }

    .spec-benchmark-fill {
        position: absolute;
        top: 0;
        left: 0;
        height: 100%;
        background: linear-gradient(90deg, #3a7bd5 0%, #1e4d8b 100%);
        border-radius: 20px;
        transition: width 1s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .spec-benchmark-label {
        font-size: 0.62rem;
        font-weight: 700;
        color: #6c757d;
        text-transform: uppercase;
        letter-spacing: 0.02em;
    }

    /* Boolean Insight Labels */
    .boolean-insight {
        font-size: 0.65rem;
        font-weight: 700;
        white-space: nowrap;
        display: inline-flex;
        align-items: center;
        gap: 6px;
        margin-inline-start: auto;
    }

    .insight-common {
        color: #2e7d32;
    }

    .insight-rare {
        color: #d81b60;
    }

    .boolean-insight i {
        font-size: 0.75rem;
    }

    /* Zebra and Table hygiene */
    .table-striped tbody tr {
        background-color: transparent !important;
        border-bottom: 1px solid #f8f8f8;
    }

    .table-striped tbody tr:hover {
        background-color: #fafafa !important;
    }

    .table th,
    .table td {
        border: none !important;
    }

    @media (max-width: 992px) {
        .spec-value-wrapper {
            flex-direction: row;
            align-items: center;
            justify-content: space-between;
            gap: 1rem;
            min-height: auto;
            padding: 8px 0;
            flex-wrap: nowrap;
        }

        .spec-value-content {
            flex-grow: 1;
            min-width: 0;
            /* Allow text to shrink if needed */
        }

        .spec-value-text {
            font-size: 0.85rem;
            word-break: break-all;
        }

        .spec-benchmark {
            align-items: flex-end;
            max-width: 120px;
            flex-shrink: 0;
        }

        .spec-benchmark-bar {
            max-width: 100px;
        }

        .boolean-insight {
            font-size: 0.6rem;
            max-width: 120px;
            white-space: normal;
            text-align: start;
            justify-content: flex-end;
        }
    }

    /* Pros & Cons Section Styles */
    .pros-cons-section {
        margin: 2rem 0;
        gap: 1.5rem;
    }

    .pros-box,
    .cons-box {
        height: 100%;
        padding: 1.5rem;
        border-radius: 16px;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .pros-box {
        background: linear-gradient(135deg, #f0fff4 0%, #dcffe4 100%);
        border: 1px solid #c2f4d0;
    }

    .cons-box {
        background: linear-gradient(135deg, #fff5f5 0%, #ffe8e8 100%);
        border: 1px solid #fed7d7;
    }

    .pros-box:hover,
    .cons-box:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    }

    .pros-title,
    .cons-title {
        display: flex;
        align-items: center;
        gap: 0.75rem;
        margin-bottom: 1rem;
        font-weight: 800;
        font-size: 1.1rem;
    }

    .pros-title {
        color: #2f855a;
    }

    .cons-title {
        color: #c53030;
    }

    .pros-list,
    .cons-list {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .pros-list li,
    .cons-list li {
        position: relative;
        padding-inline-start: 1.5rem;
        margin-bottom: 0.75rem;
        font-size: 0.95rem;
        line-height: 1.5;
        color: #4a5568;
    }

    .pros-list li::before,
    .cons-list li::before {
        font-family: "Font Awesome 6 Free";
        font-weight: 900;
        position: absolute;
        inset-inline-start: 0;
        font-size: 0.85rem;
    }

    .pros-list li::before {
        content: "\f00c";
        color: #38a169;
    }

    .cons-list li::before {
        content: "\f00d";
        color: #e53e3e;
    }

    @media (max-width: 768px) {
        .pros-cons-section {
            gap: 1rem;
            margin: 1.5rem 0.5rem;
        }

        .pros-box,
        .cons-box {
            padding: 1rem;
        }
    }


    @media (min-width: 769px) {
        #details_box {
            /* جبران فضای اشغال شده توسط آیکون‌ها */
            margin-top: 1.5rem;
            margin-bottom: 2rem;
        }
    }

/* --- Merged from scores_box_css.blade.php --- */
.scores-summary {
        background-color: #fff;
        border-radius: 12px;
        padding: 25px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    }

    .score-box {
        background-color: #f8f9fa;
        border: 1px solid #e9ecef;
        transition: all 0.3s ease;
    }

    .score-box:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }

    .score-circle {
        display: inline-flex;
        align-items: baseline;
        margin: 15px 0;
    }

    .score-number {
        font-size: 3.5rem;
        font-weight: bold;
        color: #28a745;
        line-height: 1;
    }

    .score-max {
        font-size: 1.5rem;
        color: #6c757d;
        margin-right: 5px;
    }

    .score-details {
        padding: 10px 25px;
    }

    .score-bar-item {
        margin-bottom: 20px;
    }

    .score-label {
        font-weight: 500;
        color: #495057;
    }

    .score-count {
        color: #6c757d;
        font-size: 0.9rem;
    }

    .progress {
        height: 12px;
        border-radius: 6px;
        background-color: #f1f3f5;
        overflow: hidden;
        box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
    }

    .progress-bar {
        transition: width 0.6s ease;
        border-radius: 6px;
    }

    .rating-section {
        background-color: #f8f9fa;
        border-radius: 12px;
        padding: 25px;
        margin: 20px 15px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
        border: 1px solid #e9ecef;
    }

    .rating-title {
        font-size: 1.2rem;
        font-weight: 600;
        color: #2c3e50;
        margin-bottom: 0.5rem;
    }

    .rating-subtitle {
        color: #6c757d;
        font-size: 0.9rem;
    }

    .rating-buttons {
        margin: 20px auto;
        gap: 12px;
        direction: ltr;
    }

    .rating-button {
        border-radius: 50% !important;
        width: 60px !important;
        height: 60px !important;
        padding: 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        font-weight: 700 !important;
        font-size: 1.4rem !important;
        font-family: 'IRANYekan', 'IRANSans', sans-serif !important;
        transition: all 0.3s ease !important;
        position: relative !important;
    }

    .rating-button.active {
        transform: scale(1.1);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }

    /* رنگ‌بندی دکمه‌های امتیاز */
    .rating-red {
        color: #dc3545;
        border-color: #dc3545;
        background-color: rgba(220, 53, 69, 0.1);
    }

    .rating-red:hover, .rating-red.active {
        background-color: #dc3545;
        color: white !important;
        border-color: #dc3545;
    }

    .rating-orange {
        color: #fd7e14;
        border-color: #fd7e14;
        background-color: rgba(253, 126, 20, 0.1);
    }

    .rating-orange:hover, .rating-orange.active {
        background-color: #fd7e14;
        color: white !important;
        border-color: #fd7e14;
    }

    .rating-yellow {
        color: #ffc107;
        border-color: #ffc107;
        background-color: rgba(255, 193, 7, 0.1);
    }

    .rating-yellow:hover, .rating-yellow.active {
        background-color: #ffc107;
        color: white !important;
        border-color: #ffc107;
    }

    .rating-light-green {
        color: #28a745;
        border-color: #28a745;
        background-color: rgba(40, 167, 69, 0.1);
    }

    .rating-light-green:hover, .rating-light-green.active {
        background-color: #28a745;
        color: white !important;
        border-color: #28a745;
    }

    .rating-green {
        color: #198754;
        border-color: #198754;
        background-color: rgba(25, 135, 84, 0.1);
    }

    .rating-green:hover, .rating-green.active {
        background-color: #198754;
        color: white !important;
        border-color: #198754;
    }

    .rating-button::after {
        content: attr(data-tooltip);
        position: absolute;
        bottom: 120%;
        left: 50%;
        transform: translateX(-50%) scale(0.8);
        padding: 6px 12px;
        background-color: #343a40;
        color: white;
        font-size: 0.8rem;
        border-radius: 6px;
        white-space: nowrap;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }

    .rating-button::before {
        content: '';
        position: absolute;
        bottom: 120%;
        left: 50%;
        transform: translateX(-50%) scale(0.8);
        border: 6px solid transparent;
        border-top-color: #343a40;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }

    .rating-button:hover::after,
    .rating-button:hover::before {
        opacity: 1;
        visibility: visible;
        transform: translateX(-50%) scale(1);
    }

    @media (max-width: 768px) {
        .rating-buttons {
            grid-template-columns: repeat(5, 1fr);
            gap: 15px;
            padding: 0 10px;
        }

        .rating-button {
            width: 50px !important;
            height: 50px !important;
            font-size: 1.2rem !important;
        }
    }

    @media (max-width: 576px) {
        .rating-buttons {
            grid-template-columns: repeat(5, 1fr);
            gap: 10px;
            padding: 0 5px;
        }

        .rating-button {
            width: 45px !important;
            height: 45px !important;
            font-size: 1.1rem !important;
        }
    }

    /* رنگ‌بندی نوار پیشرفت */
    .progress-bar.rating-red {
        --rating-color: #dc3545;
    }

    .progress-bar.rating-orange {
        --rating-color: #fd7e14;
    }

    .progress-bar.rating-yellow {
        --rating-color: #ffc107;
    }

    .progress-bar.rating-light-green {
        --rating-color: #28a745;
    }

    .progress-bar.rating-green {
        --rating-color: #198754;
    }

    .user-rating-text {
        display: inline-block;
        margin-right: 5px;
        font-size: 0.9em;
        font-weight: normal;
    }

    .user-rating-text.rating-red {
        color: #dc3545;
    }

    .user-rating-text.rating-orange {
        color: #fd7e14;
    }

    .user-rating-text.rating-yellow {
        color: #ffc107;
    }

    .user-rating-text.rating-light-green {
        color: #28a745;
    }

    .user-rating-text.rating-green {
        color: #198754;
    }

/* --- Merged from comment_css.blade.php --- */
/* استایل‌های جدید برای فرم */
    .comment-form-container {
        background: #fff;
        border-radius: 12px;
        padding: 25px 15px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.05);
        margin: 0 15px;
    }

    .comment-form-wrapper {
        max-width: 100%;
    }

    .form-section {
        background: #fff;
        border-radius: 8px;
        padding: 15px;
        box-shadow: 0 1px 3px rgba(0,0,0,0.05);
        margin-bottom: 20px;
    }

    .user-type-options {
        display: flex;
        justify-content: center;
        padding: 10px 0;
    }

    .gap-3 {
        gap: 1rem;
    }

    .form-check-label {
        display: flex;
        align-items: center;
        gap: 8px;
        cursor: pointer;
        padding: 8px 16px;
        border-radius: 20px;
        transition: all 0.3s ease;
        font-size: 14px;
        border: 1px solid #dee2e6;
    }

    .form-check-input:checked + .form-check-label {
        background-color: #f8f9fa;
        font-weight: 600;
        border-color: #0d6efd;
    }

    #store-feedback textarea {
        font-size: 13px;
        resize: none;
    }

    .required:after {
        content: " *";
        color: #dc3545;
    }

    .feedback-box {
        background: #fff;
        border-radius: 8px;
        padding: 15px;
        height: 100%;
        box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    }

    .feedback-box.positive {
        border-right: 3px solid #28a745;
    }

    .feedback-box.negative {
        border-right: 3px solid #dc3545;
    }

    .points-list {
        max-height: 150px;
        overflow-y: auto;
        padding: 5px;
    }

    .point-item {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 5px 8px;
        background: #f8f9fa;
        border-radius: 4px;
        margin-bottom: 5px;
        font-size: 13px;
    }

    .store-input-group {
        position: relative;
    }

    #new-store-input {
        animation: slideDown 0.3s ease;
    }

    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .form-label {
        font-weight: 600;
        margin-bottom: 10px;
        color: #333;
        font-size: 14px;
    }

    .star-rating-input {
        direction: ltr;
        text-align: left;
        margin: 10px 0;
    }

    .form-control {
        font-size: 14px;
    }

    .form-text {
        font-size: 12px;
    }

    .btn {
        font-size: 14px;
        padding: 8px 16px;
    }

    .btn-sm {
        padding: 4px 8px;
        font-size: 12px;
    }

    /* استایل‌های جدید برای باکس خالی نظرات */
    .no-comments-box {
        background: #fff;
        border-radius: 12px;
        padding: 2rem;
        box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    }

    .no-comments-icon {
        color: #dee2e6;
        transition: all 0.3s ease;
    }

    .no-comments-box:hover .no-comments-icon {
        transform: scale(1.1);
        color: #0d6efd;
    }

    .no-comments-box h4 {
        color: #495057;
        font-size: 1.2rem;
    }

    .no-comments-box p {
        font-size: 0.95rem;
    }

    /* اضافه کردن استایل برای موبایل */
    @media (max-width: 768px) {
        .order-md-1 {
            order: 2;
        }
        .order-md-2 {
            order: 1;
            margin-bottom: 1rem;
        }
        .comment-form-container {
            margin: 0 10px;
            padding: 15px 10px;
        }

        .comments-section {
            padding: 0 10px;
        }
    }


    .comment-card {
        background: #fff;
        border: 1px solid #dee2e6;
        border-radius: 8px;
        padding: 1rem;
        height: 100%;
    }

    .comment-header {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        margin-bottom: 1rem;
    }

    .comment-product-image {
        width: 48px;
        height: 48px;
        object-fit: contain;
        border-radius: 4px;
    }

    .comment-product-title {
        font-size: 0.9rem;
        font-weight: 600;
        margin: 0;
        line-height: 1.4;
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        max-width: 200px;
    }

    .comment-content {
        font-size: 0.85rem;
        color: #495057;
        margin-bottom: 1rem;
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
    }

    .comment-footer {
        display: flex;
        align-items: center;
        justify-content: space-between;
        font-size: 0.8rem;
        color: #6c757d;
    }

    .br-theme-fontawesome-stars .br-widget a {
        font-family: var(--fa-style-family, "Font Awesome 6 Free");
    }

/* --- Merged from faq_css.blade.php --- */
.faq-form-container textarea {
        resize: vertical;
        min-height: 100px;
    }

    .faq-card {
        border-right: 3px solid #e9ecef;
        margin-right: 10px;
    }

    .question-box {
        border: 1px solid #e9ecef;
    }

    .response-box {
        border: 1px solid #e9ecef;
        border-right: 3px solid #4466f2;
    }

    .actions button {
        padding: 0;
        margin-left: 15px;
    }

    .actions button i {
        margin-left: 5px;
    }

    .no-faqs-box {
        background: #fff;
        border-radius: 12px;
        padding: 2rem;
        box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    }

    .no-faqs-icon {
        color: #dee2e6;
        transition: all 0.3s ease;
    }

    .no-faqs-box:hover .no-faqs-icon {
        transform: scale(1.1);
        color: #0d6efd;
    }

    @media (max-width: 768px) {
        .faq-card {
            margin-right: 0;
        }

        .response-box {
            margin-right: 10px;
        }
    }

/* --- Merged from articles_css.blade.php --- */
.versus-related-articles {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
        padding: 20px;
    }

    .versus-article-card {
        background: white;
        border-radius: 8px;
        overflow: hidden;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        transition: transform 0.2s ease;
        height: 100%;
        display: flex;
        flex-direction: column;
    }

    .versus-article-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    }

    .versus-article-image {
        position: relative;
        padding-top: 60%;
        overflow: hidden;
    }

    .versus-article-image img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.3s ease;
    }

    .versus-article-card:hover .versus-article-image img {
        transform: scale(1.05);
    }

    .versus-article-content {
        padding: 15px;
        flex-grow: 1;
        display: flex;
        flex-direction: column;
    }

    .versus-article-title {
        font-size: 16px;
        font-weight: 600;
        margin: 0;
        line-height: 1.4;
    }

    .versus-article-title a {
        color: #333;
        text-decoration: none;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        transition: color 0.2s ease;
    }

    .versus-article-title a:hover {
        color: #d00707;
    }

    @media (max-width: 992px) {
        .versus-related-articles {
            grid-template-columns: repeat(2, 1fr);
            gap: 15px;
        }
    }

    @media (max-width: 480px) {
        .versus-related-articles {
            grid-template-columns: 1fr;
        }
    }

/* --- Merged from related_comparison_css.blade.php --- */
.versus-related-comparisons {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
        padding: 24px;
    }

    .versus-comparison-card {
        background: white;
        border-radius: 12px;
        overflow: hidden;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        transition: all 0.3s ease;
    }

    .versus-comparison-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
    }

    .versus-comparison-link {
        text-decoration: none;
        color: inherit;
        display: block;
    }

    .versus-comparison-dual-images {
        position: relative;
        display: flex;
        background: #f8f9fa;
        aspect-ratio: 16/9;
        overflow: hidden;
    }

    .versus-dual-image {
        flex: 1;
        position: relative;
        overflow: hidden;
    }

    .versus-dual-image.first-product::after,
    .versus-dual-image.second-product::before {
        content: '';
        position: absolute;
        top: 0;
        bottom: 0;
        width: 1px;
        background: rgba(0, 0, 0, 0.1);
        z-index: 2;
    }

    .versus-dual-image.first-product::after {
        right: 0;
    }

    .versus-dual-image.second-product::before {
        left: 0;
    }

    .versus-dual-image img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: contain;
        padding: 5px;
        box-sizing: border-box;
        transition: transform 0.3s ease;
    }

    .versus-comparison-card:hover .versus-dual-image img {
        transform: scale(1.1);
    }

    .versus-vs-badge {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        background: #f8f9fa;
        color: #6c757d;
        width: 32px;
        height: 32px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        font-weight: bold;
        font-size: 0.85rem;
        z-index: 3;
        border: 1px solid #dee2e6;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    }

    .versus-comparison-content {
        padding: 16px;
        background: white;
    }

    .versus-comparison-title {
        font-size: 15px;
        font-weight: 600;
        margin: 0;
        line-height: 1.5;
        color: #333;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-align: center;
        height: 48px;
    }

    .versus-comparison-card:hover .versus-comparison-title {
        color: #d00707;
    }

    @media (max-width: 1200px) {
        .versus-related-comparisons {
            grid-template-columns: repeat(3, 1fr);
        }
    }

    @media (max-width: 992px) {
        .versus-related-comparisons {
            grid-template-columns: repeat(2, 1fr);
            gap: 20px;
            padding: 20px;
        }
    }

    @media (max-width: 576px) {
        .versus-related-comparisons {
            grid-template-columns: repeat(2, 1fr);
            gap: 12px;
            padding: 12px;
        }

        .versus-comparison-dual-images {
            aspect-ratio: 3/2;
        }

        .versus-vs-badge {
            width: 24px;
            height: 24px;
            font-size: 0.72rem;
        }

        .versus-comparison-title {
            font-size: 11px;
            height: auto;
            line-height: 1.4;
        }
    }

/* --- Merged from related_product_css.blade.php --- */
<!-- Redundant CSS replaced by global listing styles -->
<style>
    /* Related products specific overrides if any */