Advanced Product Comparison Engine & Digikala Matrix Styles ========================================================================== */.dk-compare-page{padding:32px 0 60px;background:#f8fafc;min-height:80vh}.dk-compare-page-header{margin-bottom:24px}.dk-compare-breadcrumb{display:flex;align-items:center;gap:8px;font-size:13px;color:#64748b;margin-bottom:12px}.dk-compare-breadcrumb a{color:#64748b;transition:color 0.2s}.dk-compare-breadcrumb a:hover{color:#ef394e}.dk-compare-header-row{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:16px}.dk-compare-main-title{font-size:24px;font-weight:800;color:#0f172a;display:flex;align-items:center;gap:10px;margin-bottom:6px}.dk-compare-main-title svg{color:#ef394e}.dk-compare-sub{font-size:14px;color:#64748b;margin:0}.dk-compare-toolbar{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:16px;background:#ffffff;padding:14px 20px;border-radius:14px;border:1px solid #e2e8f0;margin-bottom:24px;box-shadow:0 2px 8px rgba(0, 0, 0, 0.03)}.dk-compare-toolbar-right,.dk-compare-toolbar-left{display:flex;align-items:center;flex-wrap:wrap;gap:12px}.dk-compare-diff-toggle{display:inline-flex;align-items:center;gap:10px;cursor:pointer;user-select:none;font-size:14px;font-weight:700;color:#1e293b;background:#f1f5f9;padding:8px 16px;border-radius:30px;border:1px solid #cbd5e1;transition:all 0.25s ease}.dk-compare-diff-toggle:hover{background:#e2e8f0}.dk-compare-diff-toggle input{position:absolute;opacity:0;width:0;height:0}.dk-diff-slider{position:relative;width:38px;height:22px;background-color:#cbd5e1;border-radius:20px;transition:background-color 0.25s;flex-shrink:0}.dk-diff-slider::before{content:"";position:absolute;height:16px;width:16px;right:3px;bottom:3px;background-color:#ffffff;border-radius:50%;transition:transform 0.25s;box-shadow:0 1px 3px rgba(0, 0, 0, 0.2)}.dk-compare-diff-toggle input:checked + .dk-diff-slider{background-color:#10b981}.dk-compare-diff-toggle input:checked + .dk-diff-slider::before{transform:translateX(-16px)}.dk-diff-badge{font-size:12px;background:#fef3c7;color:#b45309;padding:2px 10px;border-radius:12px;font-weight:700;border:1px solid #fde68a;transition:all 0.2s}.dk-comp-tool-btn{display:inline-flex;align-items:center;gap:7px;padding:8px 16px;border-radius:10px;border:1.5px solid #e2e8f0;background:#ffffff;color:#334155;font-size:13px;font-weight:600;cursor:pointer;transition:all 0.2s ease}.dk-comp-tool-btn:hover{border-color:#cbd5e1;background:#f8fafc;color:#0f172a}.dk-comp-tool-btn.danger{color:#dc2626;border-color:#fecaca;background:#fef2f2}.dk-comp-tool-btn.danger:hover{background:#fee2e2;border-color:#fca5a5}.dk-compare-matrix-wrapper{background:#ffffff;border-radius:16px;border:1px solid #e2e8f0;overflow-x:auto;box-shadow:0 4px 16px rgba(0, 0, 0, 0.04);margin-bottom:32px}.dk-compare-table-matrix{width:100%;border-collapse:collapse;min-width:860px}.dk-compare-table-matrix th,.dk-compare-table-matrix td{padding:16px 20px;text-align:right;border-bottom:1px solid #f1f5f9;border-left:1px solid #f1f5f9;vertical-align:middle}.dk-comp-label-col{width:240px;min-width:240px;background:#f8fafc}.dk-comp-label-header-box{display:flex;align-items:center;gap:8px;font-size:15px;font-weight:800;color:#0f172a}.dk-comp-prod-col{min-width:280px;max-width:340px;background:#ffffff;position:relative}.dk-comp-prod-card{position:relative;display:flex;flex-direction:column;align-items:center;text-align:center;padding:8px 4px}.dk-comp-btn-remove{position:absolute;top:0;left:0;width:28px;height:28px;border-radius:50%;background:#fee2e2;color:#dc2626;border:none;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:all 0.2s ease;z-index:5}.dk-comp-btn-remove:hover{background:#ef4444;color:#ffffff;transform:scale(1.1)}.dk-comp-thumb-wrap{width:150px;height:150px;margin-bottom:12px;display:flex;align-items:center;justify-content:center;border-radius:12px;overflow:hidden;background:#f8fafc;padding:8px}.dk-comp-thumb-wrap img{max-width:100%;max-height:100%;object-fit:contain}.dk-comp-card-title{font-size:14px;font-weight:700;line-height:1.5;margin-bottom:10px;height:42px;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.dk-comp-card-title a{color:#1e293b;transition:color 0.2s}.dk-comp-card-title a:hover{color:#ef394e}.dk-comp-card-price{margin-bottom:14px}.dk-comp-old-price-row{display:flex;align-items:center;justify-content:center;gap:8px;margin-bottom:4px}.dk-discount-badge{background:#ef394e;color:#ffffff;font-size:11px;font-weight:800;padding:2px 7px;border-radius:12px}.dk-comp-old-price-row del{color:#94a3b8;font-size:12px}.dk-comp-cur-price-row strong{font-size:17px;font-weight:800;color:#0f172a}.dk-comp-cur-price-row small{font-size:11px;color:#64748b;margin-right:4px}.dk-btn-add-comp-cart{width:100%;background:#ef394e;color:#ffffff;border:none;padding:10px 14px;border-radius:10px;font-size:13px;font-weight:700;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:8px;transition:all 0.25s ease;box-shadow:0 2px 8px rgba(239, 57, 78, 0.25)}.dk-btn-add-comp-cart:hover{background:#d82e42;transform:translateY(-2px);box-shadow:0 4px 12px rgba(239, 57, 78, 0.35)}.dk-comp-add-col{min-width:260px;background:#fafafb}.dk-comp-add-placeholder{border:2px dashed #cbd5e1;border-radius:14px;padding:30px 16px;display:flex;flex-direction:column;align-items:center;justify-content:center;cursor:pointer;transition:all 0.25s ease;background:#ffffff;height:100%}.dk-comp-add-placeholder:hover{border-color:#ef394e;background:#fff5f5;transform:translateY(-2px)}.dk-add-icon-circle{width:48px;height:48px;border-radius:50%;background:#f1f5f9;color:#64748b;display:flex;align-items:center;justify-content:center;margin-bottom:12px;transition:all 0.25s}.dk-comp-add-placeholder:hover .dk-add-icon-circle{background:#ef394e;color:#ffffff}.dk-add-title{font-size:14px;font-weight:800;color:#0f172a;margin-bottom:4px}.dk-add-sub{font-size:12px;color:#64748b;text-align:center;margin-bottom:4px}.dk-add-limit{font-size:11px;color:#94a3b8}.dk-comp-section-row td{background:#f1f5f9 !important;padding:10px 20px !important;border-bottom:2px solid #e2e8f0 !important}.dk-section-badge{display:flex;align-items:center;gap:8px;font-size:13.5px;font-weight:800;color:#1e293b}.dk-comp-label-cell{background:#f8fafc;font-size:13px;font-weight:700;color:#334155;position:relative}.dk-diff-indicator{display:inline-block;color:#f59e0b;font-size:16px;line-height:1;margin-right:4px;vertical-align:middle}.dk-comp-val-cell{font-size:13px;color:#1e293b;line-height:1.6}.dk-comp-spec-row.is-different-row.highlight-diff{background-color:#fffdf5 !important}.dk-comp-spec-row.is-different-row.highlight-diff .dk-comp-label-cell{background-color:#fef9c3 !important;color:#854d0e !important;border-right:3px solid #f59e0b}.dk-comp-spec-row.is-identical-row.is-hidden{display:none !important}.dk-satisfaction-pill{display:inline-block;font-size:12px;font-weight:700;color:#047857;background:#ecfdf5;padding:4px 10px;border-radius:8px;border:1px solid #a7f3d0}.dk-star-rating{font-size:13px;font-weight:700;color:#d97706}.dk-stock-pill.in-stock{font-size:12px;font-weight:700;color:#047857}.dk-stock-pill.out-of-stock{font-size:12px;font-weight:700;color:#dc2626}.dk-comp-features-list{list-style:none;padding:0;margin:0}.dk-comp-features-list li{position:relative;padding-right:14px;margin-bottom:6px;font-size:12.5px;color:#334155}.dk-comp-features-list li::before{content:"•";position:absolute;right:0;color:#ef394e;font-weight:bold}.dk-compare-suggestions-box{background:#ffffff;border-radius:16px;border:1px solid #e2e8f0;padding:24px;margin-top:32px;box-shadow:0 4px 16px rgba(0, 0, 0, 0.03)}.dk-comp-sug-header{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px;margin-bottom:18px}.dk-comp-sug-header h2,.dk-comp-sug-header h3{font-size:16px;font-weight:800;color:#0f172a;margin:0}.dk-comp-sug-sub{font-size:13px;color:#64748b}.dk-comp-sug-grid{display:grid;grid-template-columns:repeat(auto-fill, minmax(240px, 1fr));gap:16px}.dk-comp-sug-card{border:1px solid #e2e8f0;border-radius:12px;padding:14px;display:flex;flex-direction:column;align-items:center;text-align:center;transition:all 0.2s ease}.dk-comp-sug-card:hover{border-color:#cbd5e1;box-shadow:0 4px 12px rgba(0, 0, 0, 0.06);transform:translateY(-2px)}.dk-comp-sug-card img{width:90px;height:90px;object-fit:contain;margin-bottom:10px}.dk-comp-sug-info h3,.dk-comp-sug-info h4{font-size:13px;font-weight:700;color:#1e293b;margin-bottom:6px;height:38px;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.dk-comp-sug-info span{font-size:13px;font-weight:800;color:#0f172a;display:block;margin-bottom:12px}.dk-btn-add-sug-to-comp{width:100%;background:#f1f5f9;color:#1e293b;border:1px solid #cbd5e1;padding:7px 12px;border-radius:8px;font-size:12.5px;font-weight:700;cursor:pointer;transition:all 0.2s ease}.dk-btn-add-sug-to-comp:hover{background:#ef394e;color:#ffffff;border-color:#ef394e}.ps-single-compare-wrap{display:flex;align-items:center;gap:12px;margin:16px 0;padding:12px 16px;background:#f8fafc;border-radius:12px;border:1px solid #e2e8f0}.ps-btn-toggle-compare{display:inline-flex;align-items:center;gap:8px;background:#ffffff;color:#1e293b;border:1.5px solid #cbd5e1;padding:8px 16px;border-radius:10px;font-size:13px;font-weight:700;cursor:pointer;transition:all 0.25s ease}.ps-btn-toggle-compare:hover{border-color:#ef394e;color:#ef394e}.ps-btn-toggle-compare.is-active{background:#ecfdf5;border-color:#10b981;color:#047857}.ps-link-quick-compare{font-size:13px;font-weight:700;color:#ef394e;text-decoration:none;transition:opacity 0.2s}.ps-link-quick-compare:hover{text-decoration:underline}@media print{.site-header, .dk-header, .site-footer, .dk-footer, .dk-compare-toolbar, .dk-comp-btn-remove, .dk-btn-add-comp-cart, .dk-comp-add-col, .dk-compare-suggestions-box, #ps-sticky-compare-drawer, .dk-scroll-top-btn{display:none !important}.dk-compare-page{background:#ffffff !important;padding:0 !important}.dk-compare-matrix-wrapper{box-shadow:none !important;border:1px solid #000 !important}}html.dark-theme .dk-compare-page{background:#0b1120 !important;color:#cbd5e1 !important}html.dark-theme .dk-compare-main-title{color:#f8fafc !important}html.dark-theme .dk-compare-sub{color:#94a3b8 !important}html.dark-theme .dk-compare-breadcrumb{color:#64748b !important}html.dark-theme .dk-compare-breadcrumb a{color:#94a3b8 !important}html.dark-theme .dk-compare-breadcrumb a:hover{color:#ef394e !important}html.dark-theme .dk-compare-toolbar{background:#111827 !important;border:1px solid #1f2937 !important;box-shadow:0 4px 20px rgba(0, 0, 0, 0.45) !important}html.dark-theme .dk-comp-tool-btn{background:#1e293b !important;border:1.5px solid #334155 !important;color:#f8fafc !important}html.dark-theme .dk-comp-tool-btn:hover{background:#334155 !important;border-color:#475569 !important;color:#ffffff !important}html.dark-theme .dk-comp-tool-btn.danger{background:rgba(239, 68, 68, 0.15) !important;border:1px solid rgba(239, 68, 68, 0.3) !important;color:#f87171 !important}html.dark-theme .dk-comp-tool-btn.danger:hover{background:rgba(239, 68, 68, 0.25) !important;border-color:#ef4444 !important;color:#ffffff !important}html.dark-theme .dk-compare-diff-toggle{background:#1e293b !important;border:1px solid #334155 !important;color:#f8fafc !important}html.dark-theme .dk-compare-diff-toggle:hover{background:#334155 !important}html.dark-theme .dk-diff-slider{background-color:#334155 !important}html.dark-theme .dk-diff-slider::before{background-color:#f8fafc !important}html.dark-theme .dk-compare-diff-toggle input:checked + .dk-diff-slider{background-color:#ef394e !important}html.dark-theme .dk-compare-matrix-wrapper{background:#111827 !important;border:1px solid #1f2937 !important;box-shadow:0 4px 24px rgba(0, 0, 0, 0.45) !important}html.dark-theme .dk-compare-table-matrix thead th{background:#111827 !important;border-bottom:2px solid #1f2937 !important}html.dark-theme .dk-comp-label-col{background:#111827 !important;border-left:1px solid #1f2937 !important;border-bottom:2px solid #1f2937 !important}html.dark-theme .dk-comp-label-header-box{color:#f8fafc !important}html.dark-theme .dk-comp-prod-col{background:#111827 !important;border-left:1px solid #1f2937 !important;border-bottom:2px solid #1f2937 !important}html.dark-theme .dk-comp-add-col{background:#0f172a !important;border-left:1px solid #1f2937 !important;border-bottom:2px solid #1f2937 !important}html.dark-theme .dk-comp-thumb-wrap{background:#1e293b !important;border:1px solid #334155 !important}html.dark-theme .dk-comp-card-title a{color:#f8fafc !important}html.dark-theme .dk-comp-card-title a:hover{color:#ef394e !important}html.dark-theme .dk-comp-cur-price-row strong{color:#f8fafc !important}html.dark-theme .dk-comp-cur-price-row small{color:#94a3b8 !important}html.dark-theme .dk-comp-old-price-row del{color:#64748b !important}html.dark-theme .dk-comp-btn-remove{background:#1e293b !important;border:1px solid #334155 !important;color:#94a3b8 !important}html.dark-theme .dk-comp-btn-remove:hover{background:#ef4444 !important;border-color:#ef4444 !important;color:#ffffff !important}html.dark-theme .dk-comp-add-placeholder{background:#0f172a !important;border:2px dashed #334155 !important}html.dark-theme .dk-comp-add-placeholder:hover{background:#1e293b !important;border-color:#ef394e !important}html.dark-theme .dk-add-icon-circle{background:#1e293b !important;border:1px solid #334155 !important;color:#ef394e !important}html.dark-theme .dk-add-title{color:#f8fafc !important}html.dark-theme .dk-add-sub{color:#94a3b8 !important}html.dark-theme .dk-comp-section-row td{background:#0f172a !important;border-top:1px solid #1f2937 !important;border-bottom:1px solid #1f2937 !important}html.dark-theme .dk-section-badge{color:#38bdf8 !important}html.dark-theme .dk-comp-label-cell{background:#111827 !important;border-left:1px solid #1f2937 !important;border-bottom:1px solid #1f2937 !important;color:#94a3b8 !important}html.dark-theme .dk-comp-val-cell{background:#0f172a !important;border-left:1px solid #1f2937 !important;border-bottom:1px solid #1f2937 !important;color:#f8fafc !important}html.dark-theme .dk-comp-empty-cell{background:#0f172a !important;border-left:1px solid #1f2937 !important;border-bottom:1px solid #1f2937 !important}html.dark-theme .dk-comp-features-list li{color:#cbd5e1 !important}html.dark-theme .dk-empty-spec{color:#64748b !important}html.dark-theme .dk-satisfaction-pill{background:rgba(16, 185, 129, 0.15) !important;color:#34d399 !important;border:1px solid rgba(16, 185, 129, 0.3) !important}html.dark-theme .dk-star-rating{color:#fbbf24 !important}html.dark-theme .dk-stock-pill.in-stock{color:#34d399 !important}html.dark-theme .dk-comp-spec-row.is-different-row.highlight-diff{background-color:rgba(245, 158, 11, 0.08) !important}html.dark-theme .dk-comp-spec-row.is-different-row.highlight-diff .dk-comp-label-cell{background-color:rgba(245, 158, 11, 0.15) !important;color:#fbbf24 !important;border-right:3px solid #f59e0b !important}html.dark-theme .dk-diff-indicator{background:rgba(245, 158, 11, 0.2) !important;color:#fbbf24 !important}html.dark-theme .dk-compare-suggestions-box{background:#111827 !important;border:1px solid #1f2937 !important;box-shadow:0 4px 20px rgba(0, 0, 0, 0.45) !important}html.dark-theme .dk-comp-sug-header h2,.dk-comp-sug-header h3{color:#f8fafc !important}html.dark-theme .dk-comp-sug-sub{color:#94a3b8 !important}html.dark-theme .dk-comp-sug-card{background:#0f172a !important;border:1px solid #1f2937 !important}html.dark-theme .dk-comp-sug-card:hover{background:#1e293b !important;border-color:#334155 !important;transform:translateY(-2px);box-shadow:0 4px 14px rgba(0, 0, 0, 0.45) !important}html.dark-theme .dk-comp-sug-card img{background:#1e293b !important;border:1px solid #334155 !important;border-radius:8px !important;padding:4px !important}html.dark-theme .dk-comp-sug-info h3,.dk-comp-sug-info h4{color:#f8fafc !important}html.dark-theme .dk-comp-sug-info span{color:#38bdf8 !important}html.dark-theme .dk-btn-add-sug-to-comp{background:#1e293b !important;border:1px solid #334155 !important;color:#f8fafc !important}html.dark-theme .dk-btn-add-sug-to-comp:hover{background:#ef394e !important;border-color:#ef394e !important;color:#ffffff !important}html.dark-theme .dk-compare-modal-overlay .dk-compare-modal-box{background:#111827 !important;border:1px solid #1f2937 !important;color:#cbd5e1 !important;box-shadow:0 24px 60px rgba(0, 0, 0, 0.75) !important}html.dark-theme .dk-compare-modal-overlay .dk-modal-head{border-bottom:1px solid #1f2937 !important}html.dark-theme .dk-compare-modal-overlay .dk-modal-title{color:#f8fafc !important}html.dark-theme .dk-compare-modal-overlay .dk-modal-close{background:#1e293b !important;border:1px solid #334155 !important;color:#94a3b8 !important}html.dark-theme .dk-compare-modal-overlay .dk-modal-close:hover{background:#ef4444 !important;border-color:#ef4444 !important;color:#ffffff !important}html.dark-theme .dk-compare-input-box input{background:#0f172a !important;border:1.5px solid #334155 !important;color:#f8fafc !important}html.dark-theme .dk-compare-input-box input:focus{border-color:#ef394e !important;box-shadow:0 0 0 3px rgba(239, 57, 78, 0.2) !important}html.dark-theme .dk-compare-modal-overlay .dk-compare-search-results{background:#0f172a !important;border:1px solid #1f2937 !important}html.dark-theme .dk-comp-suggest-item{border-bottom:1px solid #1f2937 !important}html.dark-theme .dk-comp-suggest-item:hover{background-color:#1e293b !important}html.dark-theme .dk-comp-suggest-item img{background:#1e293b !important;border:1px solid #334155 !important}html.dark-theme .dk-comp-suggest-info strong{color:#f8fafc !important}html.dark-theme .dk-search-loading,html.dark-theme .dk-search-no-result{color:#94a3b8 !important}html.dark-theme .dk-compare-empty-state{background:#111827 !important;border:1px solid #1f2937 !important;box-shadow:0 4px 20px rgba(0, 0, 0, 0.4) !important}html.dark-theme .dk-compare-empty-state h2,html.dark-theme .dk-compare-empty-state h3{color:#f8fafc !important}html.dark-theme .dk-compare-empty-state p{color:#94a3b8 !important}