*{box-sizing:border-box}:root{font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,sans-serif;line-height:1.5;font-weight:400;color-scheme:light;color:#213547;background-color:#fff;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}body{margin:0;min-width:320px;min-height:100vh}h1{font-size:2em;line-height:1.2;margin:0;color:#333}h2{font-size:1.5em;line-height:1.3;margin:0;color:#333}button{font-family:inherit;cursor:pointer;transition:all .3s ease}button:focus,button:focus-visible{outline:2px solid #4CAF50;outline-offset:2px}.dashboard{min-height:100vh;display:flex;background-color:#f8f9fa;position:relative}.sidebar-overlay{position:fixed;top:0;left:0;width:100%;height:100%;background-color:#00000080;z-index:999;display:none;animation:fadeIn .3s ease}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.sidebar-toggle{position:fixed;top:1rem;left:1rem;z-index:1001;background:linear-gradient(135deg,#667eea,#764ba2);border:none;border-radius:8px;width:48px;height:48px;display:flex;align-items:center;justify-content:center;cursor:pointer;box-shadow:0 4px 6px #0000001a,0 2px 4px #0000000f;transition:all .3s ease}.sidebar-toggle.sidebar-open{left:301px}.sidebar-toggle:hover{transform:scale(1.05);box-shadow:0 6px 12px #667eea4d}.hamburger{display:flex;flex-direction:column;gap:5px;width:24px;height:18px;position:relative}.hamburger span{display:block;width:100%;height:2px;background-color:#fff;border-radius:2px;transition:all .3s ease}.hamburger.open span:nth-child(1){transform:rotate(45deg) translate(7px,7px)}.hamburger.open span:nth-child(2){opacity:0}.hamburger.open span:nth-child(3){transform:rotate(-45deg) translate(7px,-7px)}.sidebar{position:fixed;left:0;top:0;height:100vh;width:280px;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;box-shadow:4px 0 6px #0000001a,2px 0 4px #0000000f;z-index:1000;transition:transform .3s ease;display:flex;flex-direction:column;overflow-y:auto}.sidebar.closed{transform:translate(-100%)}.sidebar.open{transform:translate(0)}.sidebar-header{padding:2rem 1.5rem;border-bottom:1px solid rgba(255,255,255,.1)}.sidebar-header h2{margin:0;font-size:1.5rem;font-weight:700;letter-spacing:-.5px}.sidebar-nav{flex:1;padding:1.5rem 0}.nav-links{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:.5rem}.nav-links li{margin:0}.nav-links a{color:#ffffffe6;text-decoration:none;padding:1rem 1.5rem;border-radius:0;transition:all .3s ease;display:flex;align-items:center;gap:1rem;font-weight:500;font-size:1rem;position:relative;border-left:3px solid transparent}.nav-links a:hover{background-color:#ffffff1a;color:#fff;border-left-color:#ffffff80}.nav-links a.active{background-color:#fff3;color:#fff;font-weight:600;border-left-color:#fff}.nav-links a.active:hover{background-color:#ffffff40}.nav-icon{font-size:1.25rem;display:flex;align-items:center;justify-content:center;width:24px;height:24px}.nav-text{flex:1}.main-content{flex:1;transition:margin-left .3s ease;min-height:100vh}.main-content.sidebar-open{margin-left:280px}.main-content.sidebar-closed{margin-left:0}.dashboard-content{flex:1;background-color:#f8f9fa;min-height:100vh}@media(max-width:768px){.sidebar{width:260px}.sidebar-overlay{display:block}.sidebar-toggle.sidebar-open{left:1rem}.main-content.sidebar-open{margin-left:0}.sidebar.open{box-shadow:4px 0 20px #0000004d}.sidebar.closed{transform:translate(-100%)}.main-content{margin-left:0!important}}.overview-container{padding:2.5rem;max-width:1400px;margin:0 auto}.overview-container h1{margin-bottom:1rem;color:#1a202c;font-size:2rem;font-weight:700;letter-spacing:-.5px}.overview-container p{color:#718096;font-size:1.1rem;background:#fff;padding:2rem;border-radius:12px;box-shadow:0 4px 6px #00000012,0 2px 4px #0000000f}.categories-container{padding:2.5rem;max-width:1400px;margin:0 auto}.categories-container h1{margin-bottom:2rem;color:#1a202c;font-size:2rem;font-weight:700;letter-spacing:-.5px}.create-category-section{display:flex;gap:1rem;margin-bottom:2.5rem;background:#fff;padding:1.5rem;border-radius:12px;box-shadow:0 1px 3px #0000001a,0 1px 2px #0000000f}.category-input{flex:1;padding:.875rem 1rem;font-size:1rem;border:2px solid #e2e8f0;border-radius:8px;transition:all .2s ease;background-color:#fff}.category-input:focus{outline:none;border-color:#667eea;box-shadow:0 0 0 3px #667eea1a}.create-btn{padding:.875rem 2rem;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border:none;border-radius:8px;cursor:pointer;font-size:1rem;font-weight:600;transition:all .3s ease;box-shadow:0 4px 6px #667eea40}.create-btn:hover{transform:translateY(-2px);box-shadow:0 6px 12px #667eea59}.create-btn:active{transform:translateY(0)}.categories-table-container{overflow-x:auto;background:#fff;border-radius:12px;box-shadow:0 4px 6px #00000012,0 2px 4px #0000000f}.categories-table{width:100%;border-collapse:collapse;background-color:#fff}.categories-table thead{background:linear-gradient(135deg,#f7fafc,#edf2f7)}.categories-table th,.categories-table td{padding:1.25rem 1.5rem;text-align:left;border-bottom:1px solid #e2e8f0}.categories-table th{font-weight:700;color:#2d3748;font-size:.875rem;text-transform:uppercase;letter-spacing:.5px}.categories-table td{color:#4a5568;font-size:.95rem}.categories-table tbody tr{transition:background-color .2s ease}.categories-table tbody tr:hover{background-color:#f7fafc}.categories-table tbody tr:last-child td{border-bottom:none}.edit-input{width:100%;padding:.625rem .875rem;font-size:1rem;border:2px solid #667eea;border-radius:6px;transition:all .2s ease;background-color:#fff}.edit-input:focus{outline:none;box-shadow:0 0 0 3px #667eea1a}.action-buttons{display:flex;gap:.75rem}.edit-btn,.delete-btn{padding:.625rem 1.25rem;border:none;border-radius:6px;cursor:pointer;font-size:.875rem;font-weight:600;transition:all .2s ease;box-shadow:0 2px 4px #0000001a}.edit-btn{background:linear-gradient(135deg,#4299e1,#3182ce);color:#fff}.edit-btn:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 4px 6px #4299e14d}.delete-btn{background:linear-gradient(135deg,#fc8181,#f56565);color:#fff}.delete-btn:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 4px 6px #f565654d}.edit-btn:disabled,.delete-btn:disabled{opacity:.5;cursor:not-allowed;transform:none}.products-list-container{padding:2rem 2.5rem;max-width:1600px;margin:0 auto}.products-list-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:2.5rem;flex-wrap:wrap;gap:1.5rem}.products-list-header h1{margin:0 0 .5rem;color:#1a202c;font-size:2.5rem;font-weight:800;letter-spacing:-1px;background:linear-gradient(135deg,#667eea,#764ba2);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}.create-product-btn{display:flex;align-items:center;gap:.5rem;padding:1rem 2rem;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border:none;border-radius:12px;cursor:pointer;font-size:1rem;font-weight:700;transition:all .3s ease;box-shadow:0 4px 6px #667eea40}.create-product-btn span{font-size:1.5rem;font-weight:700}.create-product-btn:hover{transform:translateY(-2px);box-shadow:0 8px 16px #667eea59}.empty-state{text-align:center;padding:4rem 2rem;background:#fff;border-radius:16px;box-shadow:0 4px 6px #00000012,0 2px 4px #0000000f}.empty-icon{font-size:4rem;display:block;margin-bottom:1rem}.empty-state h2{color:#2d3748;font-size:1.75rem;margin:0 0 .5rem}.empty-state p{color:#718096;font-size:1.1rem;margin:0 0 2rem}.create-first-btn{padding:1rem 2rem;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border:none;border-radius:10px;cursor:pointer;font-size:1rem;font-weight:600;transition:all .3s ease;box-shadow:0 4px 6px #667eea40}.create-first-btn:hover{transform:translateY(-2px);box-shadow:0 6px 12px #667eea59}.products-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(400px,1fr));gap:1.5rem}.product-card{background:#fff;border-radius:16px;box-shadow:0 4px 6px #00000012,0 2px 4px #0000000f;border:1px solid #e2e8f0;transition:all .3s ease;overflow:hidden}.product-card:hover{box-shadow:0 10px 15px #0000001a,0 4px 6px #0000000d;transform:translateY(-2px)}.product-card-header{display:flex;justify-content:space-between;align-items:flex-start;padding:1.5rem;border-bottom:2px solid #f7fafc}.product-info{flex:1}.product-name{margin:0 0 .5rem;color:#2d3748;font-size:1.5rem;font-weight:700}.product-category{display:inline-block;padding:.25rem .75rem;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border-radius:6px;font-size:.875rem;font-weight:600}.product-actions{display:flex;gap:.5rem}.edit-btn,.delete-btn{width:40px;height:40px;border-radius:8px;border:none;cursor:pointer;font-size:1.25rem;display:flex;align-items:center;justify-content:center;transition:all .2s ease;box-shadow:0 2px 4px #0000001a}.edit-btn{background:linear-gradient(135deg,#4299e1,#3182ce)}.edit-btn:hover{transform:scale(1.1);box-shadow:0 4px 8px #4299e14d}.delete-btn{background:linear-gradient(135deg,#fc8181,#f56565)}.delete-btn:hover{transform:scale(1.1);box-shadow:0 4px 8px #f565654d}.delete-btn.confirm{background:linear-gradient(135deg,#48bb78,#38a169);animation:pulse .5s ease}@keyframes pulse{0%,to{transform:scale(1)}50%{transform:scale(1.1)}}.product-card-body{padding:1.5rem}.product-thumbnail{margin-bottom:1rem}.product-thumbnail img{width:100%;max-height:200px;object-fit:cover;border-radius:10px;border:2px solid #e2e8f0}.product-details{display:flex;flex-direction:column;gap:.75rem}.product-lineage{color:#4a5568;font-size:.95rem;margin:0}.product-excerpt{color:#718096;font-size:.9rem;margin:0;line-height:1.5}.product-tags{display:flex;flex-direction:column;gap:.5rem}.tag-group{display:flex;align-items:center;gap:.5rem;flex-wrap:wrap}.tag-label{font-weight:600;color:#2d3748;font-size:.875rem}.tag-value{color:#4a5568;font-size:.875rem}.product-pricing{padding-top:.75rem;border-top:1px solid #e2e8f0}.product-pricing strong{display:block;margin-bottom:.5rem;color:#2d3748;font-size:.9rem}.pricing-list{display:flex;flex-wrap:wrap;gap:.75rem}.price-item{padding:.5rem 1rem;background-color:#f7fafc;border-radius:6px;color:#2d3748;font-size:.875rem;font-weight:600;border:1px solid #e2e8f0}@media(max-width:768px){.products-grid{grid-template-columns:1fr}.products-list-header{flex-direction:column}.create-product-btn{width:100%;justify-content:center}}.products-container{padding:2rem 2.5rem;max-width:1400px;margin:0 auto}.products-header{margin-bottom:2.5rem}.products-header h1{margin:0 0 .5rem;color:#1a202c;font-size:2.5rem;font-weight:800;letter-spacing:-1px;background:linear-gradient(135deg,#667eea,#764ba2);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}.header-subtitle{color:#718096;font-size:1.1rem;margin:0}.product-form{display:flex;flex-direction:column;gap:2.5rem}.form-section{background:#fff;padding:2rem;border-radius:16px;box-shadow:0 4px 6px #00000012,0 2px 4px #0000000f;border:1px solid #e2e8f0;transition:all .3s ease}.form-section:hover{box-shadow:0 10px 15px #0000001a,0 4px 6px #0000000d}.section-header{display:flex;align-items:center;gap:1rem;margin-bottom:1.5rem;padding-bottom:1rem;border-bottom:2px solid #f7fafc}.section-icon{font-size:1.75rem}.section-title{margin:0;color:#2d3748;font-size:1.5rem;font-weight:700;letter-spacing:-.3px}.form-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:1.5rem;margin-bottom:1.5rem}.form-row:last-child{margin-bottom:0}.form-group{display:flex;flex-direction:column;gap:.75rem;margin-bottom:1.5rem}.form-group:last-child{margin-bottom:0}.form-group label{display:flex;align-items:center;gap:.5rem;font-weight:600;color:#2d3748;font-size:.95rem;letter-spacing:.2px}.label-icon{font-size:1.1rem}.image-upload-group{margin-bottom:0}.text-input,.select-input{padding:1rem 1.25rem;font-size:1rem;border:2px solid #e2e8f0;border-radius:10px;font-family:inherit;transition:all .2s ease;background-color:#fff;color:#2d3748}.text-input:focus,.select-input:focus{outline:none;border-color:#667eea;box-shadow:0 0 0 4px #667eea1a;transform:translateY(-1px)}.select-input{cursor:pointer;appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%234a5568' d='M6 9L1 4h10z'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 1.25rem center;padding-right:2.75rem}.text-input::placeholder{color:#a0aec0}.file-input{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.file-upload-wrapper{position:relative}.file-upload-label{display:flex;align-items:center;justify-content:center;gap:.75rem;padding:1.25rem;border:2px dashed #cbd5e0;border-radius:10px;background-color:#f7fafc;cursor:pointer;transition:all .3s ease;color:#4a5568;font-weight:500}.file-upload-label:hover{border-color:#667eea;background-color:#edf2f7;transform:translateY(-2px);box-shadow:0 4px 6px #667eea1a}.upload-icon{font-size:1.5rem}.upload-text{font-size:.95rem}.upload-label{display:flex;align-items:center;gap:.5rem;font-weight:600;color:#2d3748;font-size:.95rem;letter-spacing:.2px;margin-bottom:.75rem}.image-preview{margin-top:1rem;position:relative;display:inline-block}.image-preview img{max-width:250px;max-height:250px;width:100%;height:auto;border-radius:12px;border:3px solid #e2e8f0;box-shadow:0 4px 6px #0000001a;object-fit:cover}.remove-thumbnail-btn{position:absolute;top:-10px;right:-10px;width:32px;height:32px;border-radius:50%;background:linear-gradient(135deg,#fc8181,#f56565);color:#fff;border:2px solid white;cursor:pointer;font-size:1.5rem;font-weight:700;display:flex;align-items:center;justify-content:center;line-height:1;transition:all .2s ease;box-shadow:0 2px 4px #f5656566}.remove-thumbnail-btn:hover{transform:scale(1.1);box-shadow:0 4px 8px #f5656580}.images-preview{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:1.25rem;margin-top:1rem}.image-item{position:relative;display:flex;flex-direction:column;gap:.75rem}.image-item img{width:100%;height:150px;border-radius:10px;border:2px solid #e2e8f0;box-shadow:0 2px 4px #0000001a;object-fit:cover;transition:all .2s ease}.image-item:hover img{transform:scale(1.02);box-shadow:0 4px 8px #00000026}.remove-image-btn{position:absolute;top:-8px;right:-8px;width:28px;height:28px;border-radius:50%;background:linear-gradient(135deg,#fc8181,#f56565);color:#fff;border:2px solid white;cursor:pointer;font-size:1.25rem;font-weight:700;display:flex;align-items:center;justify-content:center;line-height:1;transition:all .2s ease;box-shadow:0 2px 4px #f5656566;padding:0}.remove-image-btn:hover{transform:scale(1.15);box-shadow:0 4px 8px #f5656580}.video-preview{margin-top:1rem;display:flex;flex-direction:column;gap:.75rem}.video-player{width:100%;max-width:500px;border-radius:12px;border:3px solid #e2e8f0;box-shadow:0 4px 6px #0000001a;background-color:#000}.video-info{display:flex;align-items:center;justify-content:space-between;padding:.75rem 1rem;background-color:#f7fafc;border-radius:8px;border:2px solid #e2e8f0}.video-name{font-size:.9rem;color:#4a5568;font-weight:500;flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin-right:1rem}.remove-video-btn{width:32px;height:32px;border-radius:50%;background:linear-gradient(135deg,#fc8181,#f56565);color:#fff;border:2px solid white;cursor:pointer;font-size:1.5rem;font-weight:700;display:flex;align-items:center;justify-content:center;line-height:1;transition:all .2s ease;box-shadow:0 2px 4px #f5656566;padding:0;flex-shrink:0}.remove-video-btn:hover{transform:scale(1.1);box-shadow:0 4px 8px #f5656580}.pricing-container{display:flex;flex-direction:column;gap:1rem}.pricing-row{display:grid;grid-template-columns:1fr 1fr auto;gap:1rem;align-items:end;padding:1.5rem;background:linear-gradient(135deg,#f7fafc,#edf2f7);border-radius:12px;border:2px solid #e2e8f0;transition:all .3s ease}.pricing-row:hover{border-color:#cbd5e0;box-shadow:0 4px 6px #0000000d}.pricing-input-group{display:flex;flex-direction:column;gap:.5rem}.pricing-label{font-size:.875rem;font-weight:600;color:#4a5568;text-transform:uppercase;letter-spacing:.5px}.pricing-input{padding:.875rem 1rem;font-size:1rem;border:2px solid #e2e8f0;border-radius:8px;transition:all .2s ease;background-color:#fff}.pricing-input:focus{outline:none;border-color:#667eea;box-shadow:0 0 0 3px #667eea1a}.remove-pricing-btn{width:40px;height:40px;border-radius:8px;background:linear-gradient(135deg,#fc8181,#f56565);color:#fff;border:none;cursor:pointer;font-size:1.5rem;font-weight:700;display:flex;align-items:center;justify-content:center;transition:all .2s ease;box-shadow:0 2px 4px #f5656540;line-height:1;padding:0}.remove-pricing-btn:hover{transform:scale(1.1);box-shadow:0 4px 8px #f5656566}.add-pricing-btn{display:flex;align-items:center;justify-content:center;gap:.5rem;padding:1rem 1.75rem;background:linear-gradient(135deg,#4299e1,#3182ce);color:#fff;border:none;border-radius:10px;cursor:pointer;font-size:1rem;font-weight:600;transition:all .3s ease;box-shadow:0 4px 6px #4299e140;align-self:flex-start}.add-pricing-btn span{font-size:1.25rem;font-weight:700}.add-pricing-btn:hover{transform:translateY(-2px);box-shadow:0 6px 12px #4299e159}.form-actions{display:flex;justify-content:flex-end;gap:1rem;padding-top:1rem;border-top:2px solid #f7fafc;margin-top:1rem}.cancel-btn{padding:1rem 2rem;background:#fff;color:#4a5568;border:2px solid #e2e8f0;border-radius:12px;cursor:pointer;font-size:1rem;font-weight:600;transition:all .3s ease}.cancel-btn:hover{background-color:#f7fafc;border-color:#cbd5e0;transform:translateY(-1px)}.submit-btn{display:flex;align-items:center;gap:.75rem;padding:1.125rem 2.5rem;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border:none;border-radius:12px;cursor:pointer;font-size:1.125rem;font-weight:700;transition:all .3s ease;box-shadow:0 4px 6px #667eea40;letter-spacing:.3px}.submit-icon{font-size:1.25rem}.submit-btn:hover{transform:translateY(-3px);box-shadow:0 10px 20px #667eea66}.submit-btn:active{transform:translateY(-1px)}@media(max-width:768px){.form-row{grid-template-columns:1fr}.pricing-row{grid-template-columns:1fr;gap:1rem}.remove-pricing-btn{width:100%;height:44px}.products-header h1{font-size:2rem}}#root{width:100%;min-height:100vh}
