.patches-selector-widget{margin:20px 0;padding:0}.patches-selector-widget h3{font-size:16px;font-weight:600;margin-bottom:15px;color:var(--colors-text);text-transform:uppercase;letter-spacing:.5px}.patches-selector-container{display:flex;gap:15px;margin-bottom:10px}.patch-selector-square{width:80px;height:80px;border:2px dashed var(--patches-selector-border-color, #ddd);border-radius:8px;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:all .3s ease;background-color:#fafafa;position:relative;overflow:hidden}.patch-selector-square:hover{border-color:var(--patches-selected-border-color, #28a745);background-color:#f8fff8}.patch-selector-square.has-patch{border-style:solid;border-color:var(--patches-selected-border-color, #28a745);background-color:#fff}.patch-selector-plus{font-size:24px;color:#999;font-weight:300;transition:color .3s ease}.patch-selector-square:hover .patch-selector-plus{color:var(--patches-selected-border-color, #28a745)}.patch-selector-square.has-patch .patch-selector-plus{display:none}.patch-selected-image{width:100%;height:100%;object-fit:cover;border-radius:6px}.patch-remove-btn{position:absolute;top:-5px;right:-5px;width:20px;height:20px;background-color:#dc3545;color:#fff;border:none;border-radius:50%;font-size:12px;line-height:1;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:background-color .3s ease;z-index:2}.patch-remove-btn:hover{background-color:#c82333}.patches-helper-text{font-size:12px;color:#666;margin-top:8px;font-style:italic}.patches-popup-overlay{position:fixed;top:0;left:0;width:100%;height:100%;background-color:#0009;z-index:9998;display:flex;align-items:center;justify-content:center;opacity:0;visibility:hidden;transition:all .3s ease}.patches-popup-overlay.active{opacity:1;visibility:visible}.patches-popup-modal{background:#fff;max-width:600px;width:90%;max-height:80vh;border-radius:12px;position:relative;overflow:hidden;transform:scale(.8);transition:transform .3s ease;box-shadow:0 20px 60px #0000004d}.patches-popup-overlay.active .patches-popup-modal{transform:scale(1)}.patches-popup-header{padding:20px 24px;border-bottom:1px solid #eee;background:#fafafa;position:relative}.patches-popup-title{font-size:20px;font-weight:600;color:var(--colors-text);margin:0 40px 8px 0;line-height:1.3}.patches-popup-description{font-size:14px;color:#666;margin:0;line-height:1.4}.patches-popup-close{position:absolute;top:15px;right:15px;background:none;border:none;font-size:24px;cursor:pointer;color:#999;width:30px;height:30px;display:flex;align-items:center;justify-content:center;border-radius:50%;transition:all .3s ease}.patches-popup-close:hover{background-color:#f0f0f0;color:#333}.patches-popup-body{padding:24px;max-height:60vh;overflow-y:auto}.patches-selection-info{background:#e8f5e8;border:1px solid var(--patches-selected-border-color, #28a745);border-radius:6px;padding:12px 16px;margin-bottom:20px;font-size:14px;color:#155724}.patches-selection-counter{font-weight:600}.patches-limit-warning{background:#fff3cd;border:1px solid #ffeaa7;border-radius:6px;padding:12px 16px;margin-bottom:20px;font-size:14px;color:#856404;display:none}.patches-limit-warning.show{display:block}.patches-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(120px,1fr));gap:16px}.patch-item{background:#fff;border:2px solid #e9ecef;border-radius:8px;padding:12px;cursor:pointer;transition:all .3s ease;text-align:center;position:relative}.patch-item:hover{border-color:#ced4da;transform:translateY(-2px);box-shadow:0 4px 12px #0000001a}.patch-item.selected{border-color:var(--patches-selected-border-color, #28a745);background-color:#f8fff8}.patch-item.disabled{opacity:.5;cursor:not-allowed;transform:none!important;border-color:#dee2e6!important}.patch-item.disabled:hover{transform:none;box-shadow:none}.patch-item-image{width:80px;height:80px;object-fit:cover;border-radius:6px;margin-bottom:8px}.patch-item-name{font-size:12px;font-weight:500;color:#333;margin:0;line-height:1.3;word-wrap:break-word}.patch-selected-indicator{position:absolute;top:8px;right:8px;width:20px;height:20px;background-color:var(--patches-selected-border-color, #28a745);border-radius:50%;display:none;align-items:center;justify-content:center;color:#fff;font-size:12px}.patch-item.selected .patch-selected-indicator{display:flex}.patches-popup-footer{padding:20px 24px;border-top:1px solid #eee;background:#fafafa;text-align:center}.patches-confirm-btn{background-color:var(--patches-selected-border-color, #28a745);color:#fff;border:none;padding:12px 24px;border-radius:6px;font-size:14px;font-weight:500;cursor:pointer;transition:background-color .3s ease;min-width:120px}.patches-confirm-btn:hover{background-color:#218838}.patches-confirm-btn:disabled{background-color:#6c757d;cursor:not-allowed}.patches-admin-section{background:#fff;border-radius:8px;padding:24px;margin:20px 0;box-shadow:0 2px 8px #0000001a}.patches-admin-header{border-bottom:2px solid #eee;padding-bottom:16px;margin-bottom:24px}.patches-admin-title{font-size:24px;font-weight:600;color:#333;margin:0}.patches-admin-subtitle{font-size:14px;color:#666;margin:8px 0 0}.patches-admin-tabs{display:flex;gap:4px;margin-bottom:24px;border-bottom:1px solid #eee}.patches-admin-tab{background:none;border:none;padding:12px 20px;font-size:14px;font-weight:500;color:#666;cursor:pointer;border-bottom:2px solid transparent;transition:all .3s ease}.patches-admin-tab:hover{color:#333;background-color:#f8f9fa}.patches-admin-tab.active{color:var(--patches-selected-border-color, #28a745);border-bottom-color:var(--patches-selected-border-color, #28a745);background-color:#f8fff8}.patches-admin-content{display:none}.patches-admin-content.active{display:block}.patches-form-group{margin-bottom:20px}.patches-form-label{display:block;font-weight:500;margin-bottom:6px;color:#333}.patches-form-input{width:100%;padding:10px 12px;border:1px solid #ddd;border-radius:4px;font-size:14px;transition:border-color .3s ease}.patches-form-input:focus{border-color:var(--patches-selected-border-color, #28a745);outline:none;box-shadow:0 0 0 2px #28a74533}.patches-form-textarea{resize:vertical;min-height:80px}.patches-collection-selector{max-height:200px;overflow-y:auto;border:1px solid #ddd;border-radius:4px;padding:8px}.patches-collection-item{display:flex;align-items:center;padding:6px 0}.patches-collection-checkbox{margin-right:8px}.patches-btn{background-color:var(--patches-selected-border-color, #28a745);color:#fff;border:none;padding:10px 20px;border-radius:4px;font-size:14px;font-weight:500;cursor:pointer;transition:background-color .3s ease}.patches-btn:hover{background-color:#218838}.patches-btn-secondary{background-color:#6c757d}.patches-btn-secondary:hover{background-color:#5a6268}.patches-library-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:16px;margin-top:24px}.patches-library-item{background:#f8f9fa;border-radius:8px;padding:16px;text-align:center}.patches-library-image{width:80px;height:80px;object-fit:cover;border-radius:6px;margin-bottom:8px}.patches-library-name{font-weight:500;margin-bottom:4px}.patches-library-collections{font-size:12px;color:#666;margin-bottom:12px}.patches-library-actions{display:flex;gap:8px;justify-content:center}.patches-btn-small{padding:4px 12px;font-size:12px}@media (max-width: 768px){.patches-popup-modal{width:95%;max-height:85vh}.patches-popup-header{padding:16px 20px}.patches-popup-body{padding:20px}.patches-grid{grid-template-columns:repeat(auto-fill,minmax(100px,1fr));gap:12px}.patch-item-image{width:70px;height:70px}.patches-selector-container{gap:10px}.patch-selector-square{width:70px;height:70px}.patches-admin-tabs{flex-direction:column;gap:0}.patches-admin-tab{text-align:left;border-bottom:1px solid #eee;border-radius:0}.patches-admin-tab:last-child{border-bottom:none}}@media (max-width: 480px){.patches-grid{grid-template-columns:repeat(auto-fill,minmax(80px,1fr))}.patch-item-image,.patch-selector-square{width:60px;height:60px}}.patches-loading{text-align:center;padding:40px 20px;color:#666}.patches-loading-spinner{display:inline-block;width:20px;height:20px;border:2px solid #f3f3f3;border-top:2px solid var(--patches-selected-border-color, #28a745);border-radius:50%;animation:patches-spin 1s linear infinite}@keyframes patches-spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.patches-error{background:#f8d7da;border:1px solid #f5c6cb;border-radius:4px;padding:12px;color:#721c24;margin:16px 0}.patches-success{background:#d4edda;border:1px solid #c3e6cb;border-radius:4px;padding:12px;color:#155724;margin:16px 0}body:not(.patches-enabled) .patches-selector-widget{display:none}
/*# sourceMappingURL=/cdn/shop/t/2/assets/patches-styles.css.map */
