.brandy-compare-table{margin:20px 0}.brandy-compare-table .compare-table-container{overflow-x:auto;position:relative}.brandy-compare-table .compare-table-container.scrolled:before{background:linear-gradient(90deg,rgba(0,0,0,.1),transparent);content:"";height:100%;left:0;pointer-events:none;position:absolute;top:0;width:8px;z-index:10}.brandy-compare-table .compare-table{border-collapse:collapse;min-width:900px;table-layout:fixed;width:100%}.brandy-compare-table .compare-table .compare-field-label{width:150px}.brandy-compare-table .compare-table .compare-product-cell{width:calc(25% - 37.5px)}.brandy-compare-table .compare-table.sticky-first-column .sticky-cell{left:0;position:sticky;z-index:5}.brandy-compare-table .compare-table .compare-field-label{background:inherit;color:#202124;font-weight:600;min-width:150px;padding:16px;text-align:left;vertical-align:middle}.brandy-compare-table .compare-table .compare-product-cell{padding:16px;position:relative;text-align:center;vertical-align:middle}.brandy-compare-table .compare-table .compare-remove-button{align-items:center;background:#fff;border:none;border-radius:50%;box-shadow:0 5px 35px 0 rgba(0,0,0,.039);color:#122940;cursor:pointer;display:flex;font-size:14px;height:24px;justify-content:center;line-height:1;opacity:0;position:absolute;right:8px;top:8px;transition:all .2s ease;visibility:hidden;width:24px;z-index:10}.brandy-compare-table .compare-table .compare-remove-button svg{fill:currentColor;height:14px;width:14px}.brandy-compare-table .compare-table .compare-product-image:hover .compare-remove-button{opacity:1;visibility:visible}@media(max-width:768px){.brandy-compare-table .compare-table .compare-product-header.touch-active .compare-remove-button,.brandy-compare-table .compare-table .compare-product-header:active .compare-remove-button{opacity:1;transform:scale(1);visibility:visible}.brandy-compare-table .compare-table .compare-remove-button{font-size:12px;height:20px;width:20px}.brandy-compare-table .compare-table .compare-remove-button svg{height:10px;width:10px}}@media(hover:none)and (pointer:coarse){.brandy-compare-table .compare-table .compare-product-header:active .compare-remove-button{opacity:1;transform:scale(1);visibility:visible}}.brandy-compare-table .compare-product-image{align-items:center;display:flex;justify-content:center;position:relative}.brandy-compare-table .compare-product-image img{border-radius:4px;height:auto;-o-object-fit:contain;object-fit:contain;width:100%}.brandy-compare-table .compare-product-rating{align-items:center;display:flex;gap:8px;justify-content:center}.brandy-compare-table .compare-product-rating .stars{color:#fbbc04;font-size:18px}.brandy-compare-table .compare-product-rating .rating-value{color:#5f6368;font-size:14px}.brandy-compare-table .compare-add-to-cart-btn{margin-top:30px}.brandy-compare-table .compare-product-name{margin-top:16px}.add-product-button-external{align-items:center;background-color:#1a73e8;border:none;border-radius:6px;color:#fff;cursor:pointer;display:inline-flex;font-size:14px;font-weight:500;gap:8px;margin-top:16px;padding:12px 24px;transition:background-color .2s ease}.add-product-button-external:hover{background-color:#1557b0}.add-product-button-external:focus{outline:2px solid #1a73e8;outline-offset:2px}.add-product-button-external svg{fill:currentColor;height:16px;width:16px}.compare-table-placeholder{background-color:#f8f9fa;border:2px dashed #dadce0;border-radius:8px;color:#5f6368;padding:40px 20px;text-align:center}.compare-table-placeholder p{font-size:16px;margin:0 0 20px}.compare-table-placeholder .add-product-button{align-items:center;background-color:#1a73e8;border:none;border-radius:6px;color:#fff;cursor:pointer;display:inline-flex;font-size:14px;font-weight:500;gap:8px;padding:12px 24px;transition:background-color .2s ease}.compare-table-placeholder .add-product-button:hover{background-color:#1557b0}.compare-table-placeholder .add-product-button:focus{outline:2px solid #1a73e8;outline-offset:2px}.compare-table-placeholder .add-product-button svg{fill:currentColor;height:16px;width:16px}.compare-table-wrapper.is-popup{display:none}.compare-table-wrapper.is-popup.is-active{align-items:center;background-color:rgba(0,0,0,.8);box-sizing:border-box;display:flex;height:100%;justify-content:center;left:0;padding:20px;position:fixed;top:0;width:100%;z-index:160001}.compare-table-wrapper.is-popup.is-active.remove-popup-background{background-color:rgba(0,0,0,.4)}.compare-table-wrapper.is-popup.is-active .brandy-compare-table{background:#fff;border-radius:12px;margin:0;max-height:90vh;max-width:1200px;overflow-y:auto;padding:20px;position:relative;width:100%}.compare-table-wrapper.is-popup.is-active .brandy-compare-table .popup-close-btn{align-items:center;background:none;border:none;border-radius:50%;color:#5f6368;cursor:pointer;display:flex;font-size:24px;height:35px;justify-content:center;line-height:1;padding:5px;position:absolute;right:15px;top:15px;transition:background-color .2s ease;width:35px}.compare-table-wrapper.is-popup.is-active .brandy-compare-table .popup-close-btn:hover{background-color:#f1f3f4;color:#202124}.compare-table-wrapper.is-popup.is-active .brandy-compare-table .popup-close-btn:focus{outline:2px solid #1a73e8;outline-offset:2px}.compare-table-wrapper.is-inline{display:block}.brandy-compare-table .skeleton-row .skeleton-cell{overflow:hidden;position:relative}.brandy-compare-table .skeleton-row .skeleton-cell .skeleton-field{align-items:center;display:flex;flex-direction:column;justify-content:center;min-height:40px}.brandy-compare-table .skeleton-row .skeleton-cell .skeleton-field .skeleton-line{animation:skeleton-loading 1.5s infinite;background:linear-gradient(90deg,#f0f0f0 25%,#e0e0e0 50%,#f0f0f0 75%);background-size:200% 100%;border-radius:6px;height:12px;margin:4px 0}.brandy-compare-table .skeleton-row .skeleton-cell .skeleton-field .skeleton-line.skeleton-line-short{width:60%}.brandy-compare-table .skeleton-row .skeleton-cell .skeleton-field .skeleton-line.skeleton-line-medium{width:80%}.brandy-compare-table .skeleton-row .skeleton-cell .skeleton-field.skeleton-image .skeleton-image-placeholder{animation:skeleton-loading 1.5s infinite;background:linear-gradient(90deg,#f0f0f0 25%,#e0e0e0 50%,#f0f0f0 75%);background-size:200% 100%;border-radius:8px;height:80px;width:80px}.brandy-compare-table .skeleton-row .skeleton-cell .skeleton-field.skeleton-rating .skeleton-stars{align-items:center;display:flex;gap:4px}.brandy-compare-table .skeleton-row .skeleton-cell .skeleton-field.skeleton-rating .skeleton-stars .skeleton-star{animation:skeleton-loading 1.5s infinite;animation-delay:calc(var(--star-index)*.1s);background:linear-gradient(90deg,#f0f0f0 25%,#e0e0e0 50%,#f0f0f0 75%);background-size:200% 100%;border-radius:2px;height:16px;width:16px}.brandy-compare-table .skeleton-row .skeleton-cell .skeleton-field.skeleton-rating .skeleton-stars .skeleton-star:first-child{--star-index:0}.brandy-compare-table .skeleton-row .skeleton-cell .skeleton-field.skeleton-rating .skeleton-stars .skeleton-star:nth-child(2){--star-index:1}.brandy-compare-table .skeleton-row .skeleton-cell .skeleton-field.skeleton-rating .skeleton-stars .skeleton-star:nth-child(3){--star-index:2}.brandy-compare-table .skeleton-row .skeleton-cell .skeleton-field.skeleton-rating .skeleton-stars .skeleton-star:nth-child(4){--star-index:3}.brandy-compare-table .skeleton-row .skeleton-cell .skeleton-field.skeleton-rating .skeleton-stars .skeleton-star:nth-child(5){--star-index:4}.brandy-compare-table .skeleton-row .skeleton-cell .skeleton-field.skeleton-button .skeleton-button-placeholder{animation:skeleton-loading 1.5s infinite;background:linear-gradient(90deg,#f0f0f0 25%,#e0e0e0 50%,#f0f0f0 75%);background-size:200% 100%;border-radius:6px;height:40px;width:120px}.brandy-compare-table .skeleton-row .skeleton-cell .skeleton-field.skeleton-name{align-items:flex-start}.brandy-compare-table .skeleton-row .skeleton-cell .skeleton-field.skeleton-name .skeleton-line{height:16px}.brandy-compare-table .skeleton-row .skeleton-cell .skeleton-field.skeleton-price .skeleton-line{height:20px;width:70%}@keyframes skeleton-loading{0%{background-position:-200% 0}to{background-position:200% 0}}.product-selection-modal{display:none;height:100%;left:0;position:fixed;top:0;width:100%;z-index:500000}.product-selection-modal.is-active{align-items:center;display:flex;justify-content:center}.product-selection-modal .modal-backdrop{background-color:rgba(0,0,0,.7);cursor:pointer;height:100%;left:0;position:absolute;top:0;width:100%}.product-selection-modal .modal-content{background:#fff;border-radius:12px;box-shadow:0 20px 40px rgba(0,0,0,.3);display:flex;flex-direction:column;max-height:80vh;max-width:800px;overflow:hidden;position:relative;width:100%}.product-selection-modal .modal-body{display:flex;flex:1;flex-direction:column;min-height:0;overflow:hidden;padding:20px}.product-selection-modal .modal-body .search-container{margin-bottom:24px;position:relative}.product-selection-modal .modal-body .search-container .product-search-input{background:#fff;border:1px solid #e1e5e9;border-radius:8px;box-sizing:border-box;color:#122940;font-size:14px;outline:none;padding:15px 48px 15px 16px;transition:border-color .2s ease,color .2s ease;width:100%}.product-selection-modal .modal-body .search-container .product-search-input::-moz-placeholder{color:#9aa0a6}.product-selection-modal .modal-body .search-container .product-search-input::placeholder{color:#9aa0a6}.product-selection-modal .modal-body .search-container .product-search-input:focus,.product-selection-modal .modal-body .search-container .product-search-input:hover{border-color:#122940!important;box-shadow:0 5px 35px 0 rgba(0,0,0,.051)}.product-selection-modal .modal-body .search-container .product-search-input:focus::-moz-placeholder{color:#9aa0a6}.product-selection-modal .modal-body .search-container .product-search-input:focus::placeholder{color:#9aa0a6}.product-selection-modal .modal-body .search-container .search-icon{color:#5a6d80;cursor:pointer;height:19px;pointer-events:auto;position:absolute;right:16px;top:50%;transform:translateY(-50%);transition:fill .2s ease;width:18px}.product-selection-modal .modal-body .search-container .product-search-input:focus~.search-icon,.product-selection-modal .modal-body .search-container .product-search-input:hover~.search-icon,.product-selection-modal .modal-body .search-container:has(.product-search-input:focus) .search-icon{color:#122940}.product-selection-modal .modal-body .suggestions-heading{color:#122940;font-size:16px;font-weight:500;margin:0 0 16px}.product-selection-modal .modal-body .products-list{display:flex;flex:1;flex-direction:column;gap:6px;min-height:0;overflow-y:auto;padding-right:8px}.product-selection-modal .modal-body .products-list::-webkit-scrollbar{width:8px}.product-selection-modal .modal-body .products-list::-webkit-scrollbar-track{background:#f1f3f4}.product-selection-modal .modal-body .products-list::-webkit-scrollbar-thumb{background:#dadce0;border-radius:4px}.product-selection-modal .modal-body .products-list::-webkit-scrollbar-thumb:hover{background:#bdc1c6}.product-selection-modal .modal-body .products-list .error-message,.product-selection-modal .modal-body .products-list .loading-products,.product-selection-modal .modal-body .products-list .no-products{color:#5f6368;font-size:16px;padding:40px 20px;text-align:center}.product-selection-modal .modal-body .products-list .product-item{align-items:center;border-radius:6px;display:flex;gap:10px;padding:6px;transition:background-color .2s ease,box-shadow .2s ease}.product-selection-modal .modal-body .products-list .product-item:hover{background-color:#fafafa}.product-selection-modal .modal-body .products-list .product-item .product-image{align-items:center;background-color:#f8f9fa;border-radius:6px;display:flex;flex-shrink:0;height:60px;justify-content:center;overflow:hidden;width:50px}.product-selection-modal .modal-body .products-list .product-item .product-image img{height:100%;-o-object-fit:cover;object-fit:cover;width:100%}.product-selection-modal .modal-body .products-list .product-item .product-image .no-image{color:#5f6368;font-size:12px}.product-selection-modal .modal-body .products-list .product-item .product-info{flex:1;min-width:0}.product-selection-modal .modal-body .products-list .product-item .product-info .product-name{color:#122940;display:-webkit-box;font-size:14px;font-weight:400;-webkit-line-clamp:2;line-height:1.4;margin:0 0 8px;-webkit-box-orient:vertical;overflow:hidden}.product-selection-modal .modal-body .products-list .product-item .product-info .product-price{color:#122940;font-size:14px;font-weight:500;margin:0}.product-selection-modal .modal-body .products-list .product-item .select-product-btn{background-color:#fff;border:1px solid #122940;border-radius:8px;color:#122940;cursor:pointer;flex-shrink:0;font-size:14px;font-weight:600;margin-right:18px;padding:10px 20px;transition:background-color .2s ease;white-space:nowrap}.product-selection-modal .modal-body .products-list .product-item .select-product-btn:hover{background-color:#122940;color:#fff}.product-selection-modal .modal-body .products-list .product-item .select-product-btn:disabled{background-color:#dadce0;color:#5f6368;cursor:not-allowed}@media(max-width:768px){.product-selection-modal.is-active{align-items:flex-end}.product-selection-modal .modal-content{border-radius:12px 12px 0 0}.product-selection-modal .modal-body{padding:16px}.product-selection-modal .modal-body .products-list .product-item{gap:12px;padding:12px}.product-selection-modal .modal-body .products-list .product-item .select-product-btn{margin-right:4px}}.brandy-compare-table-editor .compare-table-content-wrapper,.wp-block-brandy-compare-table .compare-table-content-wrapper{display:none}.brandy-compare-table-editor.has-products .compare-table-content-wrapper,.wp-block-brandy-compare-table.has-products .compare-table-content-wrapper{display:block}.block-editor-page .wp-block-brandy-compare-table .add-product-button,.block-editor-page .wp-block-brandy-compare-table .add-product-button-external,.block-editor-page .wp-block-brandy-compare-table .add-product-placeholder,.block-editor-page .wp-block-brandy-compare-table .add-product-slot-button,.wp-admin .wp-block-brandy-compare-table .add-product-button,.wp-admin .wp-block-brandy-compare-table .add-product-button-external,.wp-admin .wp-block-brandy-compare-table .add-product-placeholder,.wp-admin .wp-block-brandy-compare-table .add-product-slot-button{opacity:.6;pointer-events:none}@keyframes brandy-spin{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.compare-table-toolbar{flex-wrap:wrap;justify-content:space-between;padding:12px 16px}.compare-table-toolbar,.compare-table-toolbar .compare-toolbar-left,.compare-table-toolbar .compare-toolbar-right{align-items:center;display:flex;gap:16px}.compare-table-toolbar .compare-toolbar-right{border:1px solid #e4e4e7;border-radius:8px;box-shadow:0 1px 2px 0 rgba(0,0,0,.051);padding:11px}.compare-categories-badge{align-items:center;background:#fff;border:1px solid #e1e5e9;border-radius:20px;color:#202124;display:inline-flex;font-size:13px;font-weight:500;gap:6px;padding:6px 12px}.compare-categories-badge svg{fill:#5f6368;flex-shrink:0}.compare-categories-badge.empty{background:#f1f3f4;border-color:#dadce0;color:#5f6368}.highlight-toggle-wrapper{align-items:center;cursor:pointer;display:inline-flex;gap:6px;-webkit-user-select:none;-moz-user-select:none;user-select:none}.highlight-toggle-wrapper .highlight-toggle-checkbox{display:none!important}.highlight-toggle-wrapper .highlight-toggle-slider{background:#e4e4e7;border-radius:11px;height:20px;position:relative;transition:background-color .2s ease;width:37px}.highlight-toggle-wrapper .highlight-toggle-slider:after{background:#fff;border-radius:50%;box-shadow:0 1px 3px rgba(0,0,0,.2);content:"";height:16px;left:2px;position:absolute;top:2px;transition:transform .2s ease;width:16px}.highlight-toggle-wrapper .highlight-toggle-checkbox:checked+.highlight-toggle-slider{background:#122940}.highlight-toggle-wrapper .highlight-toggle-checkbox:checked+.highlight-toggle-slider:after{transform:translateX(18px)}.highlight-toggle-wrapper .highlight-toggle-label{color:#122940;font-size:14px;font-weight:500}.toolbar-btn{align-items:center;background:none;display:inline-flex;justify-content:center}.toolbar-btn svg{flex-shrink:0}.brandy-compare-table .compare-table .compare-row-main .compare-product-cell{padding-bottom:40px}.compare-row{background-color:#fff}.compare-row:nth-child(2n){background-color:#fcfcfc}.compare-row:not(.compare-row-main) .compare-field-label,.compare-row:not(.compare-row-main) .compare-product-cell{border:1px solid #f6f6f7;border-collapse:collapse}.compare-empty-slot .add-product-slot-button,.compare-empty-slot .compare-empty-slot-content{align-items:center;display:flex;justify-content:center}.compare-empty-slot .add-product-slot-button{background:#fff;border:1px dashed #d3dce5;border-radius:4px;color:#5a6d80;cursor:pointer;flex-direction:column;font-family:inherit;font-size:14px;font-weight:500;gap:12px;height:100%;min-height:160px;transition:all .2s ease;width:100%}.compare-empty-slot .add-product-slot-button:hover{border-color:#122940;color:#122940}.compare-empty-slot .add-product-slot-button svg{fill:currentColor;height:20px;width:20px}.compare-empty-slot .add-product-slot-button span{font-size:14px}.compare-empty-slot .compare-skeleton-slot .skeleton-line{background:#f0f0f0;border-radius:4px;height:16px;width:60%}.compare-row.highlight-difference .compare-field-label,.compare-row.highlight-difference .compare-product-cell:not(.compare-empty-slot){background-color:#f6fdff}.compare-product-cell.is-na{color:#9aa0a6;font-style:italic}.brandy-compare-table:has(.compare-table-toolbar) .compare-table-container{border-radius:0 0 8px 8px}.compare-category-warning-modal{align-items:center;display:none;height:100%;justify-content:center;left:0;position:fixed;top:0;width:100%;z-index:500001}.compare-category-warning-modal.is-active{display:flex}.compare-category-warning-modal .modal-backdrop{background-color:rgba(0,0,0,.6);cursor:pointer;height:100%;left:0;position:absolute;top:0;width:100%}.compare-category-warning-modal .modal-content{background:#fff;border-radius:12px;box-shadow:0 20px 40px rgba(0,0,0,.3);max-width:420px;padding:24px;position:relative;text-align:center;width:90%}.compare-category-warning-modal .modal-message{color:#5f6368;font-size:14px;line-height:1.5;margin:0}.compare-max-limit-modal{align-items:center;display:none;height:100%;justify-content:center;left:0;position:fixed;top:0;width:100%;z-index:500001}.compare-max-limit-modal.is-active{display:flex}.compare-max-limit-modal .modal-backdrop{background-color:rgba(0,0,0,.6);cursor:pointer;height:100%;left:0;position:absolute;top:0;width:100%}.compare-max-limit-modal .modal-content{background:#fff;border-radius:12px;box-shadow:0 20px 40px rgba(0,0,0,.3);max-width:380px;padding:24px;position:relative;text-align:center;width:90%}.compare-max-limit-modal .modal-message{color:#5f6368;font-size:14px;line-height:1.5;margin:0}.compare-modal__header{padding:20px;position:relative}.compare-modal__header h3{margin:0}.compare-modal__header .compare-modal__close{background:none;height:20px;position:absolute;right:20px;top:50%;transform:translateY(-50%);width:20px}
