.filter-controls{margin-bottom:25px;padding:20px;background-color:#f8f9fa;border:1px solid #e9ecef;border-radius:6px;display:flex;flex-wrap:wrap;align-items:center;gap:15px}.product-table{width:100%;border-collapse:collapse;margin-top:20px;box-shadow:0 2px 8px #00000012;border-radius:6px;overflow:hidden}.product-table th,.product-table td{border:none;border-bottom:1px solid #dee2e6;padding:12px 15px;text-align:left;vertical-align:middle;font-size:.9rem}.product-table td:first-child,.product-table th:first-child{padding-left:20px}.product-table td:last-child,.product-table th:last-child{padding-right:20px}.product-table th{background-color:#e9ecef;color:#495057;font-weight:600;cursor:pointer;white-space:nowrap}.product-table th:hover{background-color:#dce3e9}.product-table tbody tr:nth-child(2n){background-color:#fdfdfd}.product-table tbody tr:hover{background-color:#f1f3f5;cursor:pointer}.product-table img{width:50px;height:50px;border-radius:4px;object-fit:cover;border:1px solid #e0e0e0}.pagination-controls{margin-top:25px;padding-bottom:20px;text-align:center}.pagination-controls button{margin:0 8px}.pagination-info{margin:0 12px;font-weight:500}.pagination-summary{font-size:.9em;color:#555;margin-top:10px}.filter-controls .export-csv-button{padding:8px 12px;background-color:#28a745;color:#fff;border:none;border-radius:4px;cursor:pointer;font-size:.9em;margin-left:10px}.filter-controls .export-csv-button:disabled{background-color:#ccc;cursor:not-allowed}.filter-controls select[title="Filter by AI Description Status"]{margin-left:10px}.batch-actions-bar{margin:15px 0;padding:10px;background-color:#f8f9fa;border-radius:4px;display:flex;align-items:center;gap:15px}.batch-generate-desc-button,.generate-single-desc-button,.regenerate-single-desc-button{padding:6px 10px;font-size:.85em;border-radius:4px;cursor:pointer;border:1px solid #ccc}.batch-generate-desc-button{background-color:#17a2b8;color:#fff;border-color:#17a2b8}.batch-generate-desc-button:disabled{background-color:#6c757d;border-color:#6c757d}.generate-single-desc-button{background-color:#28a745;color:#fff;border-color:#28a745}.regenerate-single-desc-button{background-color:#ffc107;color:#212529;border-color:#ffc107}.generate-single-desc-button:disabled,.regenerate-single-desc-button:disabled{background-color:#e9ecef;color:#6c757d;cursor:not-allowed}.batch-status-message{font-style:italic;font-size:.9em}.batch-status-message.pending{color:#007bff}.batch-status-message.success{color:green}.batch-status-message.error{color:red}.ai-generated-badge{display:inline-block;background-color:#007bff;color:#fff;font-size:.7em;padding:2px 5px;border-radius:3px;margin-left:5px;vertical-align:middle}.sync-brand-button{background-color:#007bff;color:#fff}.sync-brand-button:disabled{background-color:#6caddf}.actions-cell{display:flex;flex-direction:column;gap:4px;align-items:center;justify-content:center}.actions-cell button{padding:3px 6px;font-size:.8em;min-width:60px;cursor:pointer}.sync-single-button{background-color:#17a2b8;color:#fff;border:1px solid #138496;border-radius:3px}.sync-single-button:disabled{background-color:#83ddea;cursor:not-allowed}.status-badge{padding:4px 8px;border-radius:12px;font-size:.8em;font-weight:700;text-transform:uppercase}.status-badge.status-new{background-color:#e0f2fe;color:#0c546e}.status-badge.status-existing{background-color:#d4edda;color:#155724}.sync-single-button.create{background-color:#28a745}.sync-single-button.update{background-color:#ffc107;color:#212529}.product-table th,.product-table td{padding:8px 12px;border-bottom:1px solid #e0e0e0;text-align:left;vertical-align:middle}.price-cell-container{display:flex;flex-direction:column;justify-content:center;gap:2px}.main-price{font-weight:500}.price-description{font-size:.8em;color:#666;font-style:italic}.status-cell{text-align:center}.status-badge{padding:4px 10px;border-radius:12px;font-size:.75em;font-weight:700;text-transform:uppercase;white-space:nowrap}.status-badge.status-new{background-color:#e0f2fe;color:#0c546e;border:1px solid #bce8f1}.status-badge.status-existing{background-color:#d4edda;color:#155724;border:1px solid #c3e6cb}.actions-container{display:flex;flex-direction:column;align-items:center;gap:4px}.actions-container button{width:80px;padding:4px 8px;font-size:.85em;border-radius:4px;border:1px solid #ccc;cursor:pointer}.sync-single-button.create{background-color:#28a745;color:#fff;border-color:#218838}.sync-single-button.update{background-color:#ffc107;color:#212529;border-color:#e0a800}.regenerate-button{background-color:#f0f0f0;color:#333}.actions-container button:disabled{background-color:#e9ecef;border-color:#ced4da;cursor:not-allowed}.batch-generate-desc-button.danger{background-color:#dc3545;border-color:#dc3545}.batch-generate-desc-button.danger:hover{background-color:#c82333}.action-center{padding:15px;background-color:#f7f9fc;border:1px solid #e1e4e8;border-radius:8px;margin-bottom:20px}.filter-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:15px;align-items:center;margin-bottom:15px}.filter-grid input[type=text],.filter-grid select{width:100%;padding:8px 10px;border-radius:5px;border:1px solid #ccc;font-size:.9em}.filter-grid .filter-label{display:flex;align-items:center;gap:5px;font-size:.9em}.batch-actions-grid{display:flex;flex-wrap:wrap;gap:10px;padding-top:15px;border-top:1px solid #e1e4e8}.batch-actions-grid button{padding:8px 15px;border-radius:5px;border:none;cursor:pointer;font-size:.9em;transition:background-color .2s;background-color:#28a745;color:#fff}.batch-actions-grid button:disabled{background-color:#ccc;cursor:not-allowed}.batch-actions-grid button.danger{background-color:#dc3545}.batch-actions-grid button.export{background-color:#17a2b8}.operation-status-container{margin-top:15px;padding:12px;background-color:#e9ecef;border-radius:6px;text-align:center;height:60px;display:flex;flex-direction:column;justify-content:center;transition:opacity .3s}.operation-status-container.idle{opacity:0;height:0;padding:0;margin:0;overflow:hidden}.operation-status-container p{margin:0 0 5px;font-weight:700;color:#495057}.operation-status-container progress{width:100%;height:10px}.image-preview-overlay{position:fixed;top:0;left:0;width:100vw;height:100vh;background-color:#000000a6;display:flex;justify-content:center;align-items:center;z-index:1000;pointer-events:none}.image-preview-overlay img{max-width:75%;max-height:80%;border:3px solid white;border-radius:8px;box-shadow:0 8px 25px #0000004d;object-fit:contain}.batch-actions-panel{background-color:#fff;border:1px solid #e5e7eb;border-radius:8px;margin-top:12px;overflow:hidden}.panel-toggle{width:100%;display:flex;align-items:center;justify-content:space-between;padding:10px 14px;background-color:#f9fafb;border:none;cursor:pointer;font-size:13px;font-weight:600;color:#1f2937;transition:background-color .2s}.panel-toggle:hover{background-color:#f3f4f6}.panel-toggle-text{display:flex;align-items:center;gap:6px}.panel-content{padding:12px;border-top:1px solid #e5e7eb}.action-group{margin-bottom:12px;padding-bottom:12px}.action-group:not(:last-child){border-bottom:1px solid #e5e7eb}.action-group:last-child{margin-bottom:0;padding-bottom:0}.action-group-title{font-size:11px;font-weight:600;color:#6b7280;margin-bottom:8px;text-transform:uppercase;letter-spacing:.5px}.action-group-description{font-size:11px;color:#6b7280;margin-bottom:8px;margin-top:-4px}.amazon-settings{display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:8px;margin-bottom:8px;padding:8px;background-color:#f9fafb;border-radius:4px}.setting-field{display:flex;flex-direction:column}.setting-field label{font-size:11px;font-weight:500;margin-bottom:3px;color:#374151}.setting-input{padding:5px 8px;border:1px solid #d1d5db;border-radius:4px;font-size:12px;background-color:#fff}.setting-input:disabled{background-color:#f3f4f6;color:#9ca3af;cursor:not-allowed;opacity:.7}.setting-input:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a}.action-buttons{display:flex;flex-wrap:wrap;gap:6px}.action-btn{display:flex;align-items:center;gap:5px;padding:6px 12px;border:none;border-radius:5px;font-size:13px;font-weight:500;cursor:pointer;transition:all .2s;white-space:nowrap}.action-btn:disabled{background-color:#e5e7eb;color:#9ca3af;cursor:not-allowed}.action-btn svg{flex-shrink:0}.btn-success{background-color:#10b981;color:#fff}.btn-success:not(:disabled):hover{background-color:#059669}.btn-primary{background-color:#3b82f6;color:#fff}.btn-primary:not(:disabled):hover{background-color:#2563eb}.btn-warning{background-color:#f59e0b;color:#fff}.btn-warning:not(:disabled):hover{background-color:#d97706}.btn-danger-amazon{background-color:#ef4444;color:#fff}.btn-danger-amazon:not(:disabled):hover{background-color:#dc2626}.btn-danger{background-color:#dc3545;color:#fff}.btn-danger:not(:disabled):hover{background-color:#c82333}.btn-ai{background-color:#8b5cf6;color:#fff}.btn-ai:not(:disabled):hover{background-color:#7c3aed}.btn-export{background-color:#06b6d4;color:#fff}.btn-export:not(:disabled):hover{background-color:#0891b2}.btn-secondary{background-color:#6b7280;color:#fff}.btn-secondary:not(:disabled):hover{background-color:#4b5563}.warning-message{font-size:11px;color:#ef4444;margin-top:6px;font-style:italic}.operation-status-container{margin-top:12px;padding:10px 12px;background-color:#fef3c7;border:1px solid #fbbf24;border-radius:6px;text-align:left;min-height:50px;display:flex;flex-direction:column;justify-content:center;transition:all .3s}.operation-status-container.idle{opacity:0;height:0;min-height:0;padding:0;margin:0;overflow:hidden;border:none}.operation-status-container p{margin:0 0 6px;font-size:13px;color:#92400e}.operation-status-container p strong{font-weight:600}.operation-status-container progress{width:100%;height:8px;border-radius:4px}@media (max-width: 768px){.action-buttons{flex-direction:column}.action-btn{width:100%;justify-content:center}.amazon-settings{grid-template-columns:1fr}}.pro-toolbar{background:#fff;border:1px solid #e5e7eb;border-radius:10px;padding:12px;margin-bottom:14px}.pro-toolbar-row{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.pro-toolbar-row.compact{margin-top:8px}.spacer{flex:1}.input-with-icon{position:relative;min-width:260px;flex:1 1 320px}.input-with-icon svg{position:absolute;top:50%;left:10px;transform:translateY(-50%);opacity:.6}.input-with-icon input{width:100%;padding:9px 12px 9px 34px;border:1px solid #d1d5db;border-radius:8px;font-size:14px;transition:box-shadow .2s,border-color .2s}.input-with-icon input:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a}.select-group{display:flex;gap:8px}.select-group select{padding:8px 10px;border:1px solid #d1d5db;border-radius:8px;font-size:14px;background:#fff;min-width:160px}.select-group select:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a}.btn{height:36px;padding:0 12px;border-radius:8px;border:1px solid #d1d5db;background:#fff;font-size:14px;cursor:pointer;transition:background .2s,border-color .2s,box-shadow .2s,opacity .2s}.btn:hover{background:#f8fafc}.btn:disabled{opacity:.6;cursor:not-allowed}.btn-ghost{border-color:#e5e7eb}.btn-clear{border-color:#f3f4f6}.results-pill{font-size:13px;font-weight:600;color:#1f2937;background:#eef2ff;border:1px solid #e0e7ff;padding:6px 10px;border-radius:999px}.segmented{display:inline-flex;border:1px solid #d1d5db;border-radius:10px;overflow:hidden;background:#f9fafb}.segmented .segment{padding:7px 12px;font-size:13px;border-right:1px solid #e5e7eb;background:transparent;cursor:pointer}.segmented .segment:last-child{border-right:none}.segmented .segment.active{background:#fff;box-shadow:inset 0 0 0 1px #3b82f6}.chip-group{display:flex;gap:8px;flex-wrap:wrap}.chip{position:relative;display:inline-flex;align-items:center;gap:6px;padding:6px 12px;border:1px solid #d1d5db;border-radius:999px;font-size:13px;background:#fff;cursor:pointer;-webkit-user-select:none;user-select:none;transition:background .2s,border-color .2s}.chip input{position:absolute;opacity:0;pointer-events:none}.chip.selected{background:#ecfdf5;border-color:#10b981}.toolbar-hint{margin-left:auto;font-size:12px;color:#6b7280}.panel-toggle{border-top-left-radius:8px;border-top-right-radius:8px}.panel-toggle .context-note{margin-left:8px;font-weight:500;color:#6b7280}.pro-toolbar .btn,.batch-actions-panel .action-btn{color:#111827!important;font-weight:500!important;line-height:1.2!important;min-height:36px!important}.pro-toolbar .btn-ghost,.pro-toolbar .btn-clear{background:#fff!important;border-color:#e5e7eb!important}.pro-toolbar .segmented{display:inline-flex!important;align-items:stretch!important;overflow:hidden!important}.pro-toolbar .segmented .segment{display:inline-flex!important;align-items:center!important;justify-content:center!important;padding:7px 12px!important;border-right:1px solid #e5e7eb!important;background:transparent!important;color:#111827;white-space:nowrap!important}.pro-toolbar .segmented .segment:last-child{border-right:none!important}.pro-toolbar .segmented .segment.active{background:#fff!important;box-shadow:inset 0 0 0 1px #3b82f6!important}.pro-toolbar .input-with-icon svg{position:absolute;left:12px;top:0;bottom:0;margin:auto 0;width:18px;height:18px;opacity:.6;pointer-events:none}.pro-toolbar .input-with-icon input{height:40px;padding:0 12px 0 38px;line-height:40px}.pro-toolbar .segmented{border-width:2px!important}.pro-toolbar .segmented .segment{border-right-width:2px!important;font-weight:500}.pro-toolbar .segmented .segment.active{box-shadow:inset 0 0 0 2px #3b82f6!important;background:#fff!important}.pro-toolbar .segmented .segment:focus-visible{outline:3px solid rgba(59,130,246,.3);outline-offset:2px}.batch-actions-panel .panel-content{display:grid;grid-template-columns:repeat(auto-fit,minmax(360px,1fr));gap:16px;padding:8px}.batch-actions-panel .action-group{background:#fff;border:1px solid #e5e7eb;border-radius:12px;padding:14px}.batch-actions-panel .action-group-title{font-size:12px;letter-spacing:.06em;font-weight:700;color:#6b7280;margin:0 0 10px;text-transform:uppercase}.batch-actions-panel .action-group .action-buttons{display:flex;flex-wrap:wrap;gap:10px}.margin-controls-section{display:grid;grid-template-rows:auto auto;gap:12px}.margin-config-inline{display:grid;grid-template-columns:repeat(3,minmax(140px,1fr));gap:12px;align-items:end}.margin-field-group label{display:block;font-size:12px;color:#6b7280;margin-bottom:6px}.setting-input{border:1px solid #d1d5db;border-radius:8px;padding:8px 10px;background:#fff;width:100%}.price-preview{background:#f9fafb;border:1px solid #e5e7eb;border-radius:10px;padding:8px 12px;font-weight:600;font-size:13px}.batch-actions-panel .action-group p.action-group-description{margin:4px 0 10px;color:#6b7280;font-size:13px}.action-btn.btn-margin{background:#eff6ff;border:1px solid #bfdbfe;border-radius:8px}.action-btn.btn-margin:hover:not(:disabled){background:#dbeafe}.margin-config-inline{grid-template-columns:repeat(2,minmax(140px,1fr))}.pro-toolbar .segmented .segment.active,.pro-toolbar .segmented .segment[aria-selected=true]{color:#fff!important;background:#3b82f6!important;border-color:#3b82f6!important;box-shadow:none!important}.pro-toolbar .segmented .segment.active:hover{background:#2563eb!important}.pro-toolbar .segmented .segment.active:focus-visible{outline:3px solid rgba(59,130,246,.35);outline-offset:2px}.pro-toolbar .segmented .segment.active+.segment{border-left-color:#fff6!important}.pro-toolbar .chip.selected{background:#10b981!important;border-color:#10b981!important;color:#fff!important}.pro-toolbar .segmented .segment.active,.pro-toolbar .segmented .segment[aria-selected=true],.pro-toolbar .segmented .segment.active:hover,.pro-toolbar .segmented .segment.active:focus{color:#fff!important;background:#3b82f6!important;border-color:#3b82f6!important}.pro-toolbar .segmented .segment.active *,.pro-toolbar .segmented .segment[aria-selected=true] *{color:#fff!important;-webkit-text-fill-color:#ffffff!important;fill:currentColor!important;stroke:currentColor!important}.action-btn:active,.action-btn.active{color:#fff!important}.btn-success:active,.btn-success.active{background-color:#059669!important}.btn-primary:active,.btn-primary.active{background-color:#2563eb!important}.btn-warning:active,.btn-warning.active{background-color:#d97706!important}.btn-danger-amazon:active,.btn-danger-amazon.active{background-color:#dc2626!important}.btn-danger:active,.btn-danger.active{background-color:#c82333!important}.btn-ai:active,.btn-ai.active{background-color:#7c3aed!important}.btn-export:active,.btn-export.active{background-color:#0891b2!important}.btn-secondary:active,.btn-secondary.active{background-color:#4b5563!important}.batch-actions-panel .action-btn.btn-success:not(:disabled),.batch-actions-panel .action-btn.btn-primary:not(:disabled),.batch-actions-panel .action-btn.btn-warning:not(:disabled),.batch-actions-panel .action-btn.btn-danger-amazon:not(:disabled),.batch-actions-panel .action-btn.btn-danger:not(:disabled),.batch-actions-panel .action-btn.btn-ai:not(:disabled),.batch-actions-panel .action-btn.btn-export:not(:disabled),.batch-actions-panel .action-btn.btn-secondary:not(:disabled){color:#fff!important}.select-group select:disabled{opacity:.5;cursor:not-allowed;background-color:#f5f5f5}.select-group select:disabled:hover{cursor:not-allowed}.product-header-left{display:flex;align-items:center;gap:12px}.product-header-right{display:flex;align-items:center}.top-save-button{padding:8px 14px;background-color:#3b82f6;color:#fff;border:none;border-radius:999px;cursor:pointer;font-size:.85rem;font-weight:500;transition:background-color .15s ease,transform .15s ease,box-shadow .15s ease}.top-save-button:hover:not(:disabled){background-color:#2563eb;transform:translateY(-1px);box-shadow:0 8px 15px #2563eb40}.top-save-button:disabled{background-color:#cbd5f5;cursor:not-allowed;box-shadow:none}@media (max-width: 640px){.product-details-header{flex-direction:column;align-items:stretch}.product-header-left{justify-content:space-between}.product-header-right{justify-content:flex-end}}.product-table input[type=checkbox]{width:18px;height:18px;cursor:pointer;accent-color:#3b82f6}.product-table th input[type=checkbox],.product-table td input[type=checkbox]{vertical-align:middle}.modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background-color:#00000080;display:flex;align-items:center;justify-content:center;z-index:1000;animation:fadeIn .2s ease}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.modal-content{background-color:#fff;padding:30px;border-radius:12px;max-width:500px;width:90%;box-shadow:0 4px 20px #00000026;animation:slideUp .3s ease}@keyframes slideUp{0%{transform:translateY(20px);opacity:0}to{transform:translateY(0);opacity:1}}.modal-content h2{margin-top:0;margin-bottom:15px;color:#111827;font-size:1.3rem}.modal-content label{display:block;margin-bottom:8px;font-weight:500;color:#374151}.product-details-container{max-width:1100px;margin:30px auto;padding:24px 28px 32px;background-color:#fff;border-radius:12px;border:1px solid #e5e7eb;box-shadow:0 10px 30px #0f172a12;font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}.product-details-container h2{color:#111827;margin:0;font-size:1.6rem;font-weight:600}.product-details-header{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:20px}.product-title-block{display:flex;flex-direction:column;gap:6px}.product-id-pill{margin-left:8px;padding:2px 8px;border-radius:999px;background-color:#eef2ff;color:#3730a3;font-size:.75rem;font-weight:500}.unsaved-pill{align-self:flex-start;padding:3px 8px;border-radius:999px;background-color:#fff7ed;color:#9a3412;font-size:.75rem;font-weight:500}.back-button,.back-button-secondary{background-color:#6b7280;color:#fff;border:none;border-radius:999px;padding:6px 14px;font-size:.85rem;display:inline-flex;align-items:center;gap:6px;cursor:pointer;transition:background-color .15s ease,transform .15s ease}.back-button:hover,.back-button-secondary:hover{background-color:#4b5563;transform:translateY(-1px)}.back-button-secondary{background-color:#e5e7eb;color:#374151}.back-button-secondary:hover{background-color:#d1d5db}.status{margin-top:16px;margin-bottom:0;padding:10px 12px;border-radius:8px;font-size:.95rem}.status-error{background-color:#fef2f2;color:#991b1b;border:1px solid #fecaca}.status-success{background-color:#ecfdf3;color:#166534;border:1px solid #bbf7d0}.error-container{border-color:red;background-color:#fff0f0}.product-details-form{display:flex;flex-direction:column;gap:24px}.product-details-layout{display:flex;flex-direction:column;gap:20px}@media (min-width: 960px){.product-details-layout{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:24px;align-items:flex-start}}.primary-section,.secondary-section{background-color:#f9fafb;border-radius:10px;padding:18px 18px 20px;border:1px solid #e5e7eb}.section-title{font-size:1.05rem;font-weight:600;margin:0 0 4px;color:#111827}.section-subtitle{font-size:.85rem;color:#6b7280;margin:0 0 16px}.form-group{margin-bottom:16px}.form-group label{display:block;margin-bottom:6px;font-weight:500;color:#374151;font-size:.9rem}.form-group input[type=text],.form-group input[type=number],.form-group textarea{width:100%;box-sizing:border-box;padding:9px 11px;border:1px solid #d1d5db;border-radius:8px;font-size:.9rem;color:#111827;background-color:#fff}.form-group input[type=text]:focus,.form-group input[type=number]:focus,.form-group textarea:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 1px #3b82f640}.form-group input[type=checkbox]{width:auto;margin-right:8px;vertical-align:middle}.form-group textarea{min-height:60px;resize:vertical}.form-group--wide{grid-column:1 / -1}.primary-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:16px}.primary-description{margin-top:12px}.field-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:14px}.display-section{margin-top:16px;padding-top:12px;border-top:1px dashed #e5e7eb}.display-section h3{margin:0 0 8px;color:#111827;font-size:.98rem;border-bottom:2px solid #3b82f6;display:inline-block;padding-bottom:3px}.display-entry{background-color:#f3f4f6;padding:8px 12px;border-radius:6px;margin-bottom:6px;font-size:.9rem;border-left:3px solid #3b82f6}.display-entry strong{margin-right:6px;color:#111827}.display-section ul{list-style-type:none;padding-left:0;margin:0}.display-section li{background-color:#f3f4f6;padding:7px 10px;border-radius:4px;margin-bottom:5px;font-size:.88rem}.display-section li a{color:#2563eb;text-decoration:none}.display-section li a:hover{text-decoration:underline}.display-section--images{margin-top:20px}.image-gallery{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:12px}.image-item{position:relative;border:1px solid #e5e7eb;padding:5px;border-radius:6px;background-color:#fff}.image-item img{width:100px;height:100px;object-fit:cover;display:block;border-radius:4px}.image-source-label{font-size:.75rem;margin-top:4px;color:#6b7280;text-align:center}.remove-image-btn{position:absolute;top:-5px;right:-5px;background-color:#ef4444e6;color:#fff;border:none;border-radius:50%;width:22px;height:22px;font-size:14px;font-weight:700;line-height:22px;text-align:center;cursor:pointer;padding:0;display:flex;align-items:center;justify-content:center}.image-upload-status{margin-top:6px;font-size:.86rem}.image-upload-status.error{color:#b91c1c}.image-upload-status.success{color:#15803d}.image-urls-list{margin-top:10px}.image-urls-list h4{margin:0 0 6px;font-size:.9rem;font-weight:600;color:#111827}.image-urls-list ul{list-style-type:none;padding-left:0;margin:0}.image-urls-list li{font-size:.85rem;margin-bottom:4px}.image-urls-list a{color:#2563eb;text-decoration:none}.image-urls-list a:hover{text-decoration:underline}.image-url-source{margin-left:8px;font-size:.8rem;color:#6b7280}.tag-list{display:flex;flex-wrap:wrap;gap:6px}.tag-item{background-color:#e5e7eb;padding:3px 8px;border-radius:999px;font-size:.8rem}.suggested-tag{background-color:#d1fae5;color:#065f46}.collapsible-section{border-radius:10px;border:1px solid #e5e7eb;background-color:#fff;margin-bottom:12px;overflow:hidden}.collapsible-header{width:100%;display:flex;align-items:center;justify-content:space-between;padding:10px 14px;background-color:#f3f4f6;border:none;cursor:pointer}.collapsible-header-text{display:flex;flex-direction:column;align-items:flex-start}.collapsible-title{font-size:.95rem;font-weight:600;color:#111827}.collapsible-subtitle{font-size:.78rem;color:#6b7280}.collapsible-icon{font-size:.95rem;color:#6b7280}.collapsible-body{padding:10px 14px 12px;background-color:#fff}.form-actions{margin-top:10px;padding-top:16px;border-top:1px solid #e5e7eb;display:flex;align-items:center;gap:14px}.form-actions button[type=submit]{padding:9px 18px;background-color:#3b82f6;color:#fff;border:none;border-radius:999px;cursor:pointer;font-size:.9rem;font-weight:500;transition:background-color .15s ease,transform .15s ease,box-shadow .15s ease}.form-actions button[type=submit]:hover:not(:disabled){background-color:#2563eb;transform:translateY(-1px);box-shadow:0 8px 15px #2563eb40}.form-actions button[type=submit]:disabled{background-color:#cbd5f5;cursor:not-allowed;box-shadow:none}.unsaved-inline{margin-left:4px;font-style:italic;color:#d97706;font-size:.85rem}.muted-text{font-size:.85rem;color:#6b7280}.black-friday-uploader{max-width:900px;margin:0 auto;padding:24px;font-family:system-ui,-apple-system,sans-serif}.bf-header{margin-bottom:30px}.bf-header h2{margin:0 0 8px;font-size:28px;color:#1f2937}.bf-subtitle{color:#6b7280;margin:0;font-size:15px}.bf-card{background:#fff;border-radius:12px;padding:32px;box-shadow:0 1px 3px #0000001a;margin-bottom:24px}.bf-upload-section{display:flex;flex-direction:column;gap:24px}.bf-file-info{padding:16px;background:#f9fafb;border-radius:8px;border:1px solid #e5e7eb}.bf-label{font-weight:600;color:#374151;display:block;margin-bottom:8px}.bf-requirements{margin:8px 0 0;padding-left:20px;color:#6b7280}.bf-requirements li{margin:6px 0}.bf-requirements strong{color:#374151;font-family:Courier New,monospace;background:#e5e7eb;padding:2px 6px;border-radius:3px}.bf-file-input-wrapper{position:relative}.bf-file-input{position:absolute;width:.1px;height:.1px;opacity:0;overflow:hidden;z-index:-1}.bf-file-label{display:block;padding:16px 20px;background:#fff;border:2px dashed #d1d5db;border-radius:8px;text-align:center;cursor:pointer;transition:all .2s;color:#6b7280;font-weight:500}.bf-file-label:hover{border-color:#8b5cf6;background:#faf5ff;color:#7c3aed}.bf-file-input:focus+.bf-file-label{outline:2px solid #8b5cf6;outline-offset:2px}.bf-upload-button{padding:14px 28px;background:#8b5cf6;color:#fff;border:none;border-radius:8px;font-size:16px;font-weight:600;cursor:pointer;transition:background .2s;display:flex;align-items:center;justify-content:center;gap:8px}.bf-upload-button:hover:not(:disabled){background:#7c3aed}.bf-upload-button:disabled{background:#9ca3af;cursor:not-allowed}.bf-spinner{display:inline-block;width:16px;height:16px;border:2px solid rgba(255,255,255,.3);border-radius:50%;border-top-color:#fff;animation:spin .6s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.bf-error{padding:16px;background:#fef2f2;border:1px solid #fecaca;border-radius:8px;color:#991b1b;margin-top:16px}.bf-result{margin-top:24px;padding-top:24px;border-top:2px solid #e5e7eb}.bf-result-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px}.bf-result-header h3{margin:0;font-size:20px;color:#059669}.bf-reset-button{padding:8px 16px;background:#fff;border:1px solid #d1d5db;border-radius:6px;color:#374151;font-weight:500;cursor:pointer;transition:all .2s}.bf-reset-button:hover{background:#f9fafb;border-color:#9ca3af}.bf-stats-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:16px;margin-bottom:24px}.bf-stat{padding:16px;background:#f9fafb;border-radius:8px;border:1px solid #e5e7eb;display:flex;flex-direction:column;gap:8px}.bf-stat-success{background:#ecfdf5;border-color:#a7f3d0}.bf-stat-warning{background:#fef3c7;border-color:#fcd34d}.bf-stat-label{font-size:13px;color:#6b7280;font-weight:500}.bf-stat-value{font-size:28px;font-weight:700;color:#1f2937}.bf-stat-success .bf-stat-value{color:#059669}.bf-stat-warning .bf-stat-value{color:#d97706}.bf-errors-section{padding:20px;background:#fffbeb;border-radius:8px;border:1px solid #fcd34d}.bf-errors-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}.bf-errors-header h4{margin:0;color:#92400e}.bf-download-button{padding:6px 12px;background:#fff;border:1px solid #d97706;border-radius:6px;color:#d97706;font-size:14px;font-weight:500;cursor:pointer;transition:all .2s}.bf-download-button:hover{background:#d97706;color:#fff}.bf-errors-list{display:flex;flex-direction:column;gap:8px}.bf-error-item{display:grid;grid-template-columns:80px 150px 1fr;gap:12px;padding:10px;background:#fff;border-radius:6px;font-size:14px}.bf-error-row{font-weight:600;color:#92400e}.bf-error-sku{color:#6b7280;font-family:Courier New,monospace}.bf-error-reason{color:#374151}.bf-error-more{padding:10px;text-align:center;color:#92400e;font-style:italic}.bf-info-box{padding:20px;background:#eff6ff;border-radius:8px;border:1px solid #bfdbfe}.bf-info-box h4{margin:0 0 12px;color:#1e40af}.bf-info-box ul{margin:0;padding-left:24px;color:#1e3a8a}.bf-info-box li{margin:8px 0;line-height:1.6}.bf-info-box code{background:#dbeafe;padding:2px 6px;border-radius:3px;font-family:Courier New,monospace;font-size:13px}@media (max-width: 768px){.black-friday-uploader{padding:16px}.bf-card{padding:20px}.bf-stats-grid{grid-template-columns:1fr}.bf-error-item{grid-template-columns:1fr;gap:4px}.bf-result-header{flex-direction:column;align-items:flex-start;gap:12px}}body{margin:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background-color:#f4f7f6;color:#333;line-height:1.6}.App{max-width:1600px;margin:0 auto;padding:0}.App-header{background-color:#2c3e50;padding:20px 40px;color:#fff;text-align:center;margin-bottom:20px}.App-header h1{margin:0;font-size:1.8em}.App-main-content{padding:20px 40px;background-color:#fff;border-radius:8px;box-shadow:0 2px 10px #0000000d;margin:0 20px}input[type=text],input[type=number],select,textarea{padding:10px 12px;border:1px solid #ccc;border-radius:5px;font-size:.95em;margin-right:10px;margin-bottom:10px;box-sizing:border-box}button{padding:10px 18px;border:none;border-radius:5px;cursor:pointer;font-size:1em;transition:background-color .2s ease-in-out,box-shadow .2s ease;background-color:#007bff;color:#fff;box-shadow:0 2px 4px #0000001a}button:hover:not(:disabled){background-color:#0056b3;box-shadow:0 4px 8px #00000026}button:disabled{background-color:#e9ecef;color:#6c757d;cursor:not-allowed;box-shadow:none}
