.brandy-compare-table{margin:20px 0}.brandy-compare-table .compare-table-container{background:#fff;border:1px solid #e1e5e9;border-radius:8px;box-shadow:0 2px 4px rgba(0,0,0,.1);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:600px;width:100%}.brandy-compare-table .compare-table.sticky-first-column .sticky-cell{background-color:#f1f3f4;box-shadow:2px 0 4px rgba(0,0,0,.1);left:0;position:sticky;z-index:5}.brandy-compare-table .compare-table .compare-row{border-bottom:1px solid #e1e5e9}.brandy-compare-table .compare-table .compare-row:last-child{border-bottom:none}.brandy-compare-table .compare-table .compare-row.compare-row-name{background-color:#f8f9fa}.brandy-compare-table .compare-table .compare-field-label{background-color:#f1f3f4;border-right:1px solid #e1e5e9;color:#202124;font-weight:600;min-width:150px;padding:16px;text-align:left;vertical-align:middle}.brandy-compare-table .compare-table .compare-field-label.sticky-cell{background-color:#f1f3f4!important;border-right:2px solid #e1e5e9}.brandy-compare-table .compare-table .compare-product-cell{border-right:1px solid #e1e5e9;min-width:200px;padding:16px;position:relative;text-align:center;vertical-align:middle}.brandy-compare-table .compare-table .compare-product-cell:last-child{border-right:none}.brandy-compare-table .compare-table .compare-product-header{position:relative}.brandy-compare-table .compare-table .compare-product-header .compare-remove-button{align-items:center;background:#ff4757;border:none;border-radius:50%;color:#fff;cursor:pointer;display:flex;font-size:14px;height:24px;justify-content:center;line-height:1;opacity:0;position:absolute;right:8px;top:8px;transform:scale(.8);transition:all .2s ease;visibility:hidden;width:24px;z-index:10}.brandy-compare-table .compare-table .compare-product-header .compare-remove-button:hover{background:#ff3838;transform:scale(1.1)}.brandy-compare-table .compare-table .compare-product-header .compare-remove-button:focus{opacity:1;outline:2px solid #ff4757;outline-offset:2px;transform:scale(1);visibility:visible}.brandy-compare-table .compare-table .compare-product-header .compare-remove-button:active{transform:scale(.95)}.brandy-compare-table .compare-table .compare-product-header .compare-remove-button svg{fill:currentColor;height:12px;width:12px}.brandy-compare-table .compare-table .compare-product-header:hover .compare-remove-button{opacity:1;transform:scale(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-table .compare-add-product-cell{background-color:#f8f9fa;border-left:2px dashed #dadce0;min-width:200px;padding:16px;text-align:center;vertical-align:middle}.brandy-compare-table .compare-table .compare-add-product-cell .add-product-placeholder{align-items:center;background:none;border:2px dashed #dadce0;border-radius:8px;color:#5f6368;cursor:pointer;display:flex;flex-direction:column;font-family:inherit;justify-content:center;min-height:120px;padding:20px;transition:all .2s ease;width:100%}.brandy-compare-table .compare-table .compare-add-product-cell .add-product-placeholder:hover{background-color:rgba(26,115,232,.05);border-color:#1a73e8;color:#1a73e8}.brandy-compare-table .compare-table .compare-add-product-cell .add-product-placeholder:focus{outline:2px solid #1a73e8;outline-offset:2px}.brandy-compare-table .compare-table .compare-add-product-cell .add-product-placeholder span{font-size:24px;font-weight:300;margin-bottom:8px}.brandy-compare-table .compare-table .compare-add-product-cell .add-product-placeholder p{font-size:14px;font-weight:500;margin:0}.brandy-compare-table .compare-product-name{color:#202124;font-size:18px;font-weight:600;line-height:1.3;margin:0}.brandy-compare-table .compare-product-image img{border-radius:4px;max-height:120px;max-width:120px;-o-object-fit:contain;object-fit:contain}.brandy-compare-table .compare-product-description{color:#5f6368;font-size:14px;line-height:1.4;margin:0}.brandy-compare-table .compare-product-price{color:#ea4335;font-size:20px;font-weight:700}.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{background-color:#1a73e8;border:none;border-radius:6px;color:#fff;cursor:pointer;font-weight:500;margin:0 auto;padding:12px 24px;position:relative;transition:background-color .2s ease;width:-moz-fit-content;width:fit-content}.brandy-compare-table .compare-add-to-cart-btn a{color:inherit!important}.brandy-compare-table .compare-add-to-cart-btn:hover:not(.loading){background-color:#1557b0}.brandy-compare-table .compare-add-to-cart-btn:focus{outline:2px solid #1a73e8;outline-offset:2px}.brandy-compare-table .compare-add-to-cart-btn.loading{align-items:center;background-color:#dadce0;color:#5f6368;cursor:not-allowed;display:flex;gap:4px;justify-content:center;pointer-events:none;position:relative}.brandy-compare-table .compare-add-to-cart-btn.loading a.added_to_cart.wc-forward{display:none}.brandy-compare-table .compare-add-to-cart-btn.loading a{align-items:center;color:inherit!important;display:flex;gap:8px;pointer-events:none}.brandy-compare-table .compare-add-to-cart-btn.loading:after{animation:brandy-spin 1s linear infinite;border:2px solid #5f6368;border-radius:50%;border-top-color:transparent;content:"";flex-shrink:0;height:16px;width: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}@media(max-width:768px){.brandy-compare-table .compare-table-container{border-left:none;border-radius:0;border-right:none}.brandy-compare-table .compare-table{min-width:500px}.brandy-compare-table .compare-field-label{font-size:14px;min-width:120px;padding:12px}.brandy-compare-table .compare-field-label.sticky-cell{background-color:#f1f3f4!important;border-right:2px solid #e1e5e9}.brandy-compare-table .compare-add-product-cell,.brandy-compare-table .compare-product-cell{min-width:150px;padding:12px}.brandy-compare-table .compare-product-name{font-size:16px}.brandy-compare-table .compare-product-image img{max-height:80px;max-width:80px}.brandy-compare-table .compare-product-price{font-size:18px}.compare-table-wrapper.is-popup.is-active{padding:10px}.compare-table-wrapper.is-popup.is-active .brandy-compare-table{border-radius:8px;margin:0;max-height:95vh;padding:15px}}.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:160002}.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);max-height:80vh;max-width:800px;overflow:hidden;position:relative;width:90%}.product-selection-modal .modal-header{align-items:center;background-color:#f8f9fa;border-bottom:1px solid #e1e5e9;display:flex;justify-content:space-between;padding:20px 24px}.product-selection-modal .modal-header h3{color:#202124;font-size:20px;font-weight:600;margin:0}.product-selection-modal .modal-header .modal-close-btn{align-items:center;background:none;border:none;border-radius:50%;color:#5f6368;cursor:pointer;display:flex;font-size:24px;height:40px;justify-content:center;padding:8px;transition:background-color .2s ease;width:40px}.product-selection-modal .modal-header .modal-close-btn:hover{background-color:#e8eaed;color:#202124}.product-selection-modal .modal-header .modal-close-btn:focus{outline:2px solid #1a73e8;outline-offset:2px}.product-selection-modal .modal-header .modal-close-btn svg{fill:currentColor;height:20px;width:20px}.product-selection-modal .modal-body{max-height:calc(80vh - 80px);overflow-y:auto;padding:24px}.product-selection-modal .modal-body .search-container{display:flex;gap:12px;margin-bottom:24px}.product-selection-modal .modal-body .search-container .product-search-input{border:1px solid #dadce0;border-radius:8px;flex:1;font-size:14px;outline:none;padding:12px 16px;transition:border-color .2s ease}.product-selection-modal .modal-body .search-container .product-search-input:focus{border-color:#1a73e8;box-shadow:0 0 0 2px rgba(26,115,232,.2)}.product-selection-modal .modal-body .search-container .search-btn{background-color:#1a73e8;border:none;border-radius:8px;color:#fff;cursor:pointer;font-size:14px;font-weight:500;padding:12px 24px;transition:background-color .2s ease}.product-selection-modal .modal-body .search-container .search-btn:hover{background-color:#1557b0}.product-selection-modal .modal-body .search-container .search-btn:focus{outline:2px solid #1a73e8;outline-offset:2px}.product-selection-modal .modal-body .products-grid{display:grid;gap:16px;grid-template-columns:repeat(auto-fill,minmax(200px,1fr))}.product-selection-modal .modal-body .products-grid .error-message,.product-selection-modal .modal-body .products-grid .loading-products,.product-selection-modal .modal-body .products-grid .no-products{color:#5f6368;font-size:16px;grid-column:1/-1;padding:40px 20px;text-align:center}.product-selection-modal .modal-body .products-grid .product-item{border:1px solid #e1e5e9;border-radius:8px;overflow:hidden;transition:box-shadow .2s ease}.product-selection-modal .modal-body .products-grid .product-item:hover{box-shadow:0 4px 8px rgba(0,0,0,.1)}.product-selection-modal .modal-body .products-grid .product-item .product-image{align-items:center;aspect-ratio:1;background-color:#f8f9fa;display:flex;justify-content:center}.product-selection-modal .modal-body .products-grid .product-item .product-image img{height:100%;-o-object-fit:cover;object-fit:cover;width:100%}.product-selection-modal .modal-body .products-grid .product-item .product-image .no-image{color:#5f6368;font-size:14px}.product-selection-modal .modal-body .products-grid .product-item .product-info{padding:16px}.product-selection-modal .modal-body .products-grid .product-item .product-info .product-name{color:#202124;display:-webkit-box;font-size:14px;font-weight:600;-webkit-line-clamp:2;line-height:1.3;margin:0 0 8px;-webkit-box-orient:vertical;overflow:hidden}.product-selection-modal .modal-body .products-grid .product-item .product-info .product-price{color:#ea4335;font-size:16px;font-weight:700;margin:0 0 12px}.product-selection-modal .modal-body .products-grid .product-item .product-info .add-to-compare-btn{background-color:#1a73e8;border:none;border-radius:6px;color:#fff;cursor:pointer;font-size:12px;font-weight:500;padding:8px 16px;transition:background-color .2s ease;width:100%}.product-selection-modal .modal-body .products-grid .product-item .product-info .add-to-compare-btn:hover:not(:disabled){background-color:#1557b0}.product-selection-modal .modal-body .products-grid .product-item .product-info .add-to-compare-btn:disabled{background-color:#dadce0;color:#5f6368;cursor:not-allowed}.product-selection-modal .modal-body .products-grid .product-item .product-info .add-to-compare-btn:focus{outline:2px solid #1a73e8;outline-offset:2px}@media(max-width:768px){.product-selection-modal .modal-content{max-height:90vh;width:95%}.product-selection-modal .modal-header{padding:16px 20px}.product-selection-modal .modal-header h3{font-size:18px}.product-selection-modal .modal-body{padding:20px}.product-selection-modal .modal-body .search-container{flex-direction:column;gap:12px}.product-selection-modal .modal-body .products-grid{gap:12px;grid-template-columns:repeat(auto-fill,minmax(150px,1fr))}.product-selection-modal .modal-body .products-grid .product-item .product-info{padding:12px}.product-selection-modal .modal-body .products-grid .product-item .product-info .product-name{font-size:13px}.product-selection-modal .modal-body .products-grid .product-item .product-info .product-price{font-size:14px}.product-selection-modal .modal-body .products-grid .product-item .product-info .add-to-compare-btn{font-size:11px;padding:6px 12px}}.brandy-compare-table-editor .compare-row:not(.compare-row-name),.brandy-compare-table-editor .compare-table-content-wrapper,.wp-block-brandy-compare-table .compare-row:not(.compare-row-name),.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}.brandy-compare-table-editor.brandy-compare-show-add-to-cart .compare-row-add_to_cart,.brandy-compare-table-editor.brandy-compare-show-description .compare-row-description,.brandy-compare-table-editor.brandy-compare-show-image .compare-row-image,.brandy-compare-table-editor.brandy-compare-show-price .compare-row-price,.brandy-compare-table-editor.brandy-compare-show-rating .compare-row-rating,.wp-block-brandy-compare-table.brandy-compare-show-add-to-cart .compare-row-add_to_cart,.wp-block-brandy-compare-table.brandy-compare-show-description .compare-row-description,.wp-block-brandy-compare-table.brandy-compare-show-image .compare-row-image,.wp-block-brandy-compare-table.brandy-compare-show-price .compare-row-price,.wp-block-brandy-compare-table.brandy-compare-show-rating .compare-row-rating{display:table-row}.brandy-compare-table-editor .compare-table-preview .compare-add-to-cart-btn,.wp-block-brandy-compare-table .compare-table-preview .compare-add-to-cart-btn{pointer-events:none}.brandy-compare-table-editor .compare-table-preview .compare-add-to-cart-btn a,.wp-block-brandy-compare-table .compare-table-preview .compare-add-to-cart-btn a{color:inherit!important}.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,.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{opacity:.6;pointer-events:none}@keyframes brandy-spin{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}
