@import"https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700;800;900&family=Inter:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap";*,*:before,*:after{box-sizing:border-box;margin:0;padding:0}:root{--bg: #faf9f7;--surface: #ffffff;--text: #1a1a1a;--text-secondary: #6b7280;--text-muted: #9ca3af;--accent: #991b1b;--accent-light: #fef2f2;--accent-hover: #7f1d1d;--border: #e5e5e5;--border-strong: #d4d4d4;--green: #166534;--green-light: #f0fdf4;--code-bg: #f5f5f4;--shadow-sm: 0 1px 2px rgba(0,0,0,.05);--shadow: 0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.04);--shadow-md: 0 4px 6px rgba(0,0,0,.06), 0 2px 4px rgba(0,0,0,.04);--font-serif: "Playfair Display", Georgia, "Times New Roman", serif;--font-sans: "Inter", system-ui, -apple-system, sans-serif;--font-mono: "JetBrains Mono", "Fira Code", "Courier New", monospace;--radius: 6px}body{font-family:var(--font-sans);background:var(--bg);color:var(--text);line-height:1.6;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;min-height:100vh}#root{min-height:100vh;display:flex;flex-direction:column}.app{max-width:720px;margin:0 auto;padding:3rem 1.5rem;width:100%;flex:1;display:flex;flex-direction:column}.header{text-align:center;margin-bottom:3rem;padding-bottom:2rem;border-bottom:1px solid var(--border)}.header-label{font-size:.75rem;font-weight:600;text-transform:uppercase;letter-spacing:.15em;color:var(--accent);margin-bottom:.75rem}.header-title{font-family:var(--font-serif);font-size:3.5rem;font-weight:900;letter-spacing:-.02em;line-height:1;color:var(--text);margin-bottom:.75rem}.header-desc{font-size:1.05rem;color:var(--text-secondary);font-weight:400}.form-container{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:2rem;box-shadow:var(--shadow)}.form-container h2{font-family:var(--font-serif);font-size:1.5rem;font-weight:700;margin-bottom:1.5rem;padding-bottom:1rem;border-bottom:1px solid var(--border)}.scraper-form{display:flex;flex-direction:column;gap:1.25rem}.url-field{display:flex;flex-direction:column;gap:.5rem}.url-field label{font-size:.8rem;font-weight:600;text-transform:uppercase;letter-spacing:.08em;color:var(--text-secondary)}.url-input{width:100%;padding:.875rem 1rem;border:1px solid var(--border);border-radius:var(--radius);font-size:1rem;font-family:var(--font-sans);color:var(--text);background:var(--bg);transition:border-color .2s,box-shadow .2s}.url-input:focus{outline:none;border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-light)}.url-input::placeholder{color:var(--text-muted)}.site-tag{display:inline-flex;align-items:center;gap:.4rem;padding:.35rem .75rem;border-radius:100px;font-size:.8rem;font-weight:600;border:1px solid var(--border);background:var(--bg);color:var(--text-secondary)}.site-tag--amazon{border-color:#d97706;color:#92400e;background:#fffbeb}.site-tag--meli{border-color:#2563eb;color:#1e40af;background:#eff6ff}.site-tag--other{border-color:var(--border-strong)}.site-tag-hint{font-weight:400;color:var(--text-muted);font-size:.75rem}.options-panel{display:flex;flex-direction:column;gap:1.25rem;padding:1.25rem;border:1px solid var(--border);border-radius:var(--radius);background:var(--bg);animation:fadeIn .3s ease}.type-selector{display:grid;grid-template-columns:1fr 1fr;gap:.75rem}.type-option{padding:.875rem 1rem;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);cursor:pointer;transition:all .15s ease;text-align:left;font-family:var(--font-sans)}.type-option:hover{border-color:var(--border-strong)}.type-option.active{border-color:var(--accent);background:var(--accent-light)}.type-option-title{display:block;font-weight:600;font-size:.9rem;color:var(--text);margin-bottom:.15rem}.type-option.active .type-option-title{color:var(--accent)}.type-option-desc{font-size:.78rem;color:var(--text-muted)}.mode-field{display:flex;flex-direction:column;gap:.5rem}.mode-field label{font-size:.8rem;font-weight:600;text-transform:uppercase;letter-spacing:.08em;color:var(--text-secondary)}.mode-select{width:100%;padding:.75rem 1rem;border:1px solid var(--border);border-radius:var(--radius);font-size:.95rem;font-family:var(--font-sans);color:var(--text);background:var(--surface);cursor:pointer;transition:border-color .2s}.mode-select:focus{outline:none;border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-light)}.fields-panel{display:flex;flex-direction:column;gap:.75rem;animation:fadeIn .25s ease}.fields-panel h4{font-size:.85rem;font-weight:600;color:var(--text-secondary);text-transform:uppercase;letter-spacing:.06em}.field-row{display:flex;flex-direction:column;gap:.4rem;padding:.875rem 1rem;border:1px solid var(--border);border-radius:var(--radius);background:var(--surface)}.field-check{display:flex;align-items:center;gap:.5rem;cursor:pointer;font-size:.9rem;font-weight:500;color:var(--text)}.field-check input[type=checkbox]{width:1rem;height:1rem;accent-color:var(--accent);cursor:pointer}.field-input{padding:.6rem .75rem;border:1px solid var(--border);border-radius:4px;font-size:.85rem;font-family:var(--font-mono);color:var(--text);background:var(--bg);transition:border-color .2s}.field-input:focus{outline:none;border-color:var(--accent)}.field-input::placeholder{color:var(--text-muted);font-family:var(--font-sans)}.field-hint{font-size:.78rem;color:var(--text-muted);line-height:1.4}.notice-box{padding:.875rem 1rem;border-radius:var(--radius);background:#fffbeb;border:1px solid #fde68a;font-size:.85rem;color:#92400e;line-height:1.5}.notice-box strong{font-weight:700}.custom-section{margin-top:.5rem;padding:1.25rem;border:1px solid var(--border);border-radius:var(--radius);background:var(--surface)}.custom-section h4{font-size:.9rem;font-weight:700;color:var(--text);margin-bottom:.25rem}.custom-section-hint{font-size:.8rem;color:var(--text-muted);margin-bottom:1rem}.custom-row{display:flex;gap:.5rem;align-items:flex-end;margin-bottom:.75rem;animation:fadeIn .2s ease}.custom-row-field{flex:1;display:flex;flex-direction:column;gap:.3rem}.custom-row-label{font-size:.7rem;font-weight:600;text-transform:uppercase;letter-spacing:.05em;color:var(--text-secondary)}.custom-row-input{padding:.6rem .75rem;border:1px solid var(--border);border-radius:4px;font-size:.85rem;font-family:var(--font-sans);color:var(--text);background:var(--bg)}.custom-row-input:focus{outline:none;border-color:var(--accent)}.btn-remove{padding:.6rem .75rem;border:1px solid #fecaca;border-radius:4px;background:#fef2f2;color:var(--accent);font-size:.85rem;cursor:pointer;transition:all .15s;white-space:nowrap}.btn-remove:hover{background:#fee2e2;border-color:#f87171}.btn-add{width:100%;padding:.65rem;border:1px dashed var(--border-strong);border-radius:var(--radius);background:transparent;color:var(--text-secondary);font-size:.85rem;font-weight:600;font-family:var(--font-sans);cursor:pointer;transition:all .15s}.btn-add:hover{border-color:var(--accent);color:var(--accent);background:var(--accent-light)}.btn-submit{width:100%;padding:1rem;margin-top:.5rem;background:var(--accent);color:#fff;border:none;border-radius:var(--radius);font-size:.95rem;font-weight:700;font-family:var(--font-sans);letter-spacing:.02em;cursor:pointer;transition:background .15s,transform .1s}.btn-submit:hover:not(:disabled){background:var(--accent-hover)}.btn-submit:active:not(:disabled){transform:scale(.99)}.btn-submit:disabled{background:var(--border);color:var(--text-muted);cursor:not-allowed}.error-box{padding:1rem 1.25rem;border:1px solid #fecaca;border-radius:var(--radius);background:#fef2f2;margin-top:1.5rem;animation:fadeIn .3s ease}.error-title{font-weight:700;font-size:.85rem;color:var(--accent);margin-bottom:.25rem;text-transform:uppercase;letter-spacing:.06em}.error-text{font-size:.9rem;color:#991b1b;line-height:1.5}.loading-box{margin-top:1.5rem;padding:1.5rem;text-align:center;animation:fadeIn .3s ease}.loading-box p{font-size:.9rem;color:var(--text-secondary);margin-top:.75rem;font-style:italic}.loading-bar{height:3px;background:var(--border);border-radius:2px;overflow:hidden;position:relative}.loading-bar:after{content:"";position:absolute;top:0;left:0;height:100%;width:40%;background:var(--accent);border-radius:2px;animation:loadSlide 1.2s ease-in-out infinite}@keyframes loadSlide{0%{left:-40%}to{left:100%}}.results{margin-top:2.5rem;animation:fadeIn .4s ease}.results-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:1.5rem;padding-bottom:1rem;border-bottom:1px solid var(--border)}.results-header h2{font-family:var(--font-serif);font-size:1.75rem;font-weight:700}.results-actions{display:flex;gap:.5rem}.btn-download{padding:.5rem 1rem;border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);color:var(--text-secondary);font-size:.8rem;font-weight:600;font-family:var(--font-sans);cursor:pointer;transition:all .15s}.btn-download:hover{border-color:var(--accent);color:var(--accent)}.product-result{display:flex;flex-direction:column;gap:1.5rem}.product-hero{display:grid;grid-template-columns:200px 1fr;gap:1.5rem;padding:1.5rem;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius)}.product-image{width:100%;aspect-ratio:1;border-radius:4px;overflow:hidden;background:var(--bg);display:flex;align-items:center;justify-content:center;border:1px solid var(--border)}.product-image img{max-width:100%;max-height:100%;object-fit:contain}.product-info{display:flex;flex-direction:column;justify-content:center;gap:.5rem}.product-title{font-family:var(--font-serif);font-size:1.3rem;font-weight:700;line-height:1.3;color:var(--text)}.product-price{font-size:2rem;font-weight:800;color:var(--green);font-family:var(--font-sans)}.product-section{padding:1.25rem;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius)}.product-section h3{font-family:var(--font-serif);font-size:1.1rem;font-weight:700;margin-bottom:.75rem;padding-bottom:.5rem;border-bottom:1px solid var(--border)}.product-text{font-size:.9rem;line-height:1.7;color:var(--text-secondary);white-space:pre-wrap}.product-text--empty{font-style:italic;color:var(--text-muted)}.json-block{background:var(--code-bg);padding:1rem;border-radius:4px;font-family:var(--font-mono);font-size:.8rem;color:var(--text);overflow-x:auto;white-space:pre;border:1px solid var(--border);max-height:400px;overflow-y:auto}.custom-data{display:flex;flex-direction:column;gap:.5rem}.custom-data-row{display:flex;flex-direction:column;gap:.2rem;padding:.75rem 1rem;border:1px solid var(--border);border-radius:4px;background:var(--bg)}.custom-data-key{font-size:.75rem;font-weight:700;text-transform:uppercase;letter-spacing:.05em;color:var(--accent)}.custom-data-value{font-size:.9rem;color:var(--text);word-break:break-word}.custom-data-empty{color:var(--text-muted);font-style:italic}.listing-results{overflow-x:auto}.listing-count{font-size:.85rem;color:var(--text-secondary)}.listing-count strong{color:var(--text);font-weight:700}.listing-table{width:100%;border-collapse:collapse;font-size:.88rem}.listing-table thead{border-bottom:2px solid var(--text)}.listing-table th{padding:.6rem .75rem;text-align:left;font-weight:700;font-size:.75rem;text-transform:uppercase;letter-spacing:.06em;color:var(--text)}.listing-table td{padding:.75rem;border-bottom:1px solid var(--border);vertical-align:top;color:var(--text)}.listing-table tr:hover td{background:var(--bg)}.listing-table img{width:48px;height:48px;object-fit:contain;border-radius:4px;background:var(--bg);border:1px solid var(--border)}.listing-product-title{font-weight:600;line-height:1.3;max-width:300px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.listing-product-price{font-weight:700;color:var(--green);white-space:nowrap}.listing-product-meta{font-size:.8rem;color:var(--text-muted);display:flex;flex-direction:column;gap:.15rem}.listing-product-link{color:var(--accent);text-decoration:none;font-weight:600;font-size:.82rem}.listing-product-link:hover{text-decoration:underline}.footer{text-align:center;padding:2rem 0 1rem;margin-top:auto;font-size:.8rem;color:var(--text-muted);border-top:1px solid var(--border)}@keyframes fadeIn{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}::-webkit-scrollbar{width:6px;height:6px}::-webkit-scrollbar-track{background:var(--bg)}::-webkit-scrollbar-thumb{background:var(--border-strong);border-radius:3px}::-webkit-scrollbar-thumb:hover{background:var(--text-muted)}@media(max-width:640px){.app{padding:2rem 1rem}.header-title{font-size:2.5rem}.form-container{padding:1.25rem}.product-hero,.type-selector{grid-template-columns:1fr}.custom-row{flex-direction:column}.listing-table{font-size:.8rem}.listing-table th,.listing-table td{padding:.5rem}.listing-table img{width:36px;height:36px}.results-header{flex-direction:column;gap:1rem;align-items:flex-start}}
