.compare-btn,.compare-widget{border-radius:4px;transition:all .3s}.compare-btn{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;background-color:var(--nader-color-white-gray);color:var(--nader-color-dark);border:0}.compare-btn.in-compare{background-color:var(--nader-color-blue);color:var(--nader-color-white)}.compare-btn .loading-spinner{display:none;position:absolute;top:10px;left:10px;width:20px;height:20px;border:2px solid rgba(0,0,0,.5);border-radius:50%;border-top-color:transparent;border-bottom-color:transparent;animation:rotate 1s ease-in-out infinite}.compare-btn.loading{cursor:not-allowed;position:relative}.compare-btn.loading svg{visibility:hidden;transition:none}.compare-btn.loading .loading-spinner{display:block}.compare-widget{position:fixed;bottom:20px;left:20px;width:300px;max-height:70vh;background:var(--nader-color-white);box-shadow:0 10px 30px rgba(0,0,0,.1);z-index:999;overflow:hidden;transform:translateY(20px);opacity:0}.rtl .compare-widget{left:auto;right:20px}.compare-widget.hidden{display:none}.compare-widget.initialized{transform:translateY(0);opacity:1}.compare-widget.open .compare-widget-content{max-height:70vh;padding:16px;opacity:1}.compare-widget-header{display:flex;align-items:center;gap:8px;padding:8px;background:var(--nader-color-dark)}.compare-widget-header h3{margin:0;font-size:14px;color:#fff}.compare-widget-close,.compare-widget-toggle{width:36px;height:36px;background:0 0;border:0;padding:0;cursor:pointer;color:#fff;border-radius:4px;transition:all .3s}.compare-widget-close:hover,.compare-widget-toggle:hover{background:var(--nader-color-main);color:var(--nader-color-dark)}.compare-widget-close:hover{background:var(--nader-color-red)}.compare-widget-toggle{margin-left:auto}.rtl .compare-widget-toggle{margin-left:0;margin-right:auto}.open .compare-widget-toggle svg{transform:rotate(180deg)}.compare-widget-content{max-height:0;overflow:auto;padding:0 15px;opacity:0;transition:all .3s ease}.compare-products-list{list-style:none;margin:0 0 16px;padding:0}.compare-product{display:flex;align-items:center;padding:10px 0;border-bottom:1px solid var(--nader-color-white-gray);position:relative}.compare-product-image{width:50px;height:50px;margin-left:8px;flex-shrink:0}.compare-notification-image img,.compare-product-image img{width:100%;height:auto;border-radius:4px}.compare-product-info{flex:1;min-width:0}.compare-product-info h4{margin:0 0 4px;font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.compare-product-price{font-size:12px;color:var(--nader-color-green);font-weight:700}.compare-product-price .free-price,.compare-product-price .has-not-price-replacer-btn{margin-bottom:0;display:unset;font-size:12px;font-weight:400;padding:4px 8px}.compare-remove-product{position:absolute;top:0;left:-16px;background:0 0;border:0;cursor:pointer;padding:0}.rtl .compare-remove-product{right:-16px;left:auto}.compare-remove-product svg{fill:var(--nader-color-red)}.compare-actions{display:flex;justify-content:space-between;margin-top:16px}.compare-clear-all,a.compare-button{border-radius:4px;font-size:13px;cursor:pointer;border:0}a.compare-button{padding:8px 12px;text-decoration:none;background:#e1edff;color:var(--nader-color-blue)}a.compare-button:hover{background:var(--nader-color-blue);color:var(--nader-color-white)}.compare-clear-all{padding:4px 12px;background:0 0;background:#fceced;color:var(--nader-color-red);transition:all .3s}.compare-clear-all:hover{background:var(--nader-color-red);color:var(--nader-color-white)}.compare-notification{position:fixed;bottom:-100px;left:20px;width:300px;background:var(--nader-color-dark);border-radius:4px;box-shadow:0 4px 12px rgba(0,0,0,.15);z-index:9999;display:none}.rtl .compare-notification{right:20px;left:auto}.compare-notification.added{border-left:4px solid #4caf50}.rtl .compare-notification.added{border-left:none;border-right:4px solid #4caf50}.compare-notification.removed{border-left:4px solid var(--nader-color-red)}.rtl .compare-notification.removed{border-left:none;border-right:4px solid var(--nader-color-red)}.compare-notification.show{bottom:20px}.compare-notification-content{display:flex;align-items:center;padding:16px;position:relative}.compare-notification-image{width:50px;height:50px;margin-right:12px;flex-shrink:0}.rtl .compare-notification-image{margin-left:12px;margin-right:auto}.compare-notification-text{line-height:16px}.compare-notification-text h4{margin:0 0 8px;font-size:14px;color:var(--nader-color-white)}.compare-notification-text p{margin:0;font-size:13px;line-height:16px;color:var(--nader-color-gray-light)}.compare-notification.error{border-left:4px solid var(--nader-color-red)}.compare-notification.error .compare-notification-image{display:none}.rtl .compare-notification.error{border-left:none;border-right:4px solid var(--nader-color-red)}@media (max-width:768px){.compare-widget{bottom:10px}.rtl .compare-notification,.rtl .compare-widget{right:10px;left:auto}.compare-notification,.compare-widget{width:280px;left:10px}}.compare-empty{text-align:center;padding:40px 20px;font-size:16px;font-weight:700;color:var(--nader-color-white)}.compare-table-wrapper{position:relative;width:100%;overflow:hidden;border-radius:4px}.compare-table-container{width:100%;overflow-x:auto;position:relative;border:1px solid var(--nader-color-gray-light);border-radius:4px}.compare-table-container::-webkit-scrollbar{height:8px}.compare-table-container::-webkit-scrollbar-track{background:var(--nader-color-white-gray)}.compare-table-container::-webkit-scrollbar-thumb{background:var(--nader-color-gray);border-radius:4px}.compare-table{width:100%;border-collapse:separate;border-spacing:0;min-width:600px;background:var(--nader-color-white);table-layout:fixed}.compare-table thead{position:sticky;top:0;z-index:10}.compare-table thead th,.compare-table thead tr{background:var(--nader-color-dark)}.compare-table thead th{position:sticky;top:0;color:var(--nader-color-white);font-weight:600;padding:16px;border-bottom:1px solid var(--nader-color-gray-light);white-space:nowrap;text-align:right;overflow:hidden;text-overflow:ellipsis}.compare-table thead th:first-child{position:sticky;left:0;z-index:20;width:200px;min-width:200px;max-width:200px;background:var(--nader-color-dark)}.compare-table thead th:not(:first-child){width:300px;min-width:300px;max-width:300px}.compare-table tbody th{position:sticky;left:0;z-index:5;padding:16px;width:200px;min-width:200px;max-width:200px;font-weight:600;border-right:1px solid var(--nader-color-gray-light);border-bottom:1px solid var(--nader-color-gray-light);background-color:var(--nader-color-white);white-space:nowrap;text-align:right;overflow:hidden;text-overflow:ellipsis}.compare-table tbody tr:nth-child(even),.compare-table tbody tr:nth-child(even) th{background-color:var(--nader-color-white-gray)}.compare-table tbody tr:nth-child(even) th{border-left:1px solid var(--nader-color-gray)}.compare-table tbody td{width:300px;min-width:300px;max-width:300px;padding:12px 16px;text-align:right;vertical-align:top;border-bottom:1px solid var(--nader-color-gray-light);word-wrap:break-word;overflow:hidden}.compare-table tbody td *{max-width:100%}.compare-table .compare-remove{background:var(--nader-color-red);color:var(--nader-color-white);border:0;padding:6px 12px;border-radius:4px;font-size:12px;cursor:pointer;transition:all .3s;white-space:nowrap;display:inline-block;margin-bottom:5px}.compare-table .compare-remove:hover{background:#bd2130}.compare-table img{max-width:120px;height:auto;border-radius:4px;display:block;margin:0 auto}.compare-table .price{color:var(--nader-color-green);font-weight:700;font-size:15px;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.compare-table .free-price,.compare-table .has-not-price-replacer-btn{width:100px;height:40px;margin:0;font-size:13px}.compare-table .stock{display:block;white-space:nowrap}.compare-table .stock.in-stock{color:var(--nader-color-green)}.compare-table .stock.out-of-stock{color:var(--nader-color-red)}.compare-table .product-title{display:block;font-weight:700;font-size:14px}.compare-table .product-description{max-height:150px;font-size:13px;line-height:1.6;display:block}.compare-table .attribute-terms{margin:0;padding:0;list-style:none;max-height:100px;overflow-y:auto}.compare-table .attribute-terms li{padding:2px 0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.compare-table .compare-attribute-add_to_cart .add_to_cart_inline{margin-bottom:0}.compare-table .compare-attribute-add_to_cart .add_to_cart_inline a.button{font-size:13px;background:var(--nader-color-green);color:#fff;padding:10px 20px}.rtl .compare-table td,.rtl .compare-table th{text-align:right}.rtl .compare-table tbody th,.rtl .compare-table thead th:first-child{right:0;left:auto;border-right:none;border-left:1px solid var(--nader-color-gray-light)}@media (max-width:1024px){.compare-table tbody th,.compare-table thead th:first-child{width:180px;min-width:180px;max-width:180px}.compare-table tbody td,.compare-table thead th:not(:first-child){width:250px;min-width:250px;max-width:250px}}@media (max-width:768px){.compare-table{min-width:100%}.compare-table tbody th,.compare-table thead th:first-child{width:150px;max-width:150px}.compare-table tbody td,.compare-table thead th:not(:first-child){width:200px;min-width:200px;max-width:200px}.compare-table tbody th,.compare-table thead th:first-child{min-width:150px}}