.app{min-height:100vh;display:flex;flex-direction:column}.navbar{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;padding:1rem 2rem;display:flex;justify-content:space-between;align-items:center;box-shadow:0 2px 4px #0000001a}.logo{font-size:1.5rem;font-weight:700;color:#fff;text-decoration:none}.nav-links{display:flex;gap:2rem}.nav-links a{color:#fff;text-decoration:none;transition:opacity .2s}.nav-links a:hover{opacity:.8}.page{flex:1;padding:2rem;max-width:1400px;margin:0 auto;width:100%}.loading{text-align:center;padding:4rem;font-size:1.2rem;color:#666}.search-form{display:flex;gap:1rem;margin:2rem 0}.search-input{flex:1;padding:.75rem;border:2px solid #e2e8f0;border-radius:.5rem;font-size:1rem}.product-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:2rem;margin-top:2rem}.product-card{background:#fff;border-radius:.75rem;overflow:hidden;box-shadow:0 2px 8px #0000001a;transition:transform .2s;display:flex;flex-direction:column}.product-card:hover{transform:translateY(-4px);box-shadow:0 4px 12px #00000026}.product-image{width:100%;height:200px;object-fit:cover;background:#f0f0f0}.product-card h3{padding:1rem;font-size:1.1rem;margin:0}.product-description{padding:0 1rem;font-size:.9rem;color:#666;flex:1}.product-footer{padding:1rem;display:flex;justify-content:space-between;align-items:center}.price{font-size:1.25rem;font-weight:700;color:#2563eb}.stock{font-size:.9rem;color:#10b981}.product-actions{padding:0 1rem 1rem;display:flex;gap:.5rem}.product-actions button{flex:1;padding:.6rem;font-size:.9rem}.product-detail{display:grid;grid-template-columns:1fr 1fr;gap:3rem;margin-top:2rem}.product-detail-image{width:100%;border-radius:.75rem;box-shadow:0 4px 12px #0000001a}.price-large{font-size:2rem;font-weight:700;color:#2563eb;margin:1rem 0}.quantity-selector{margin:2rem 0;display:flex;align-items:center;gap:1rem}.quantity-selector input{width:80px;padding:.5rem;border:2px solid #e2e8f0;border-radius:.5rem;font-size:1rem}.empty-cart{text-align:center;padding:4rem}.cart-items{display:flex;flex-direction:column;gap:1rem}.cart-item{background:#fff;padding:1.5rem;border-radius:.75rem;display:flex;gap:1.5rem;align-items:center;box-shadow:0 2px 4px #0000001a}.cart-item-image{width:120px;height:120px;object-fit:cover;border-radius:.5rem}.cart-item-details{flex:1}.cart-item-details h3{margin:0 0 .5rem}.subtotal{font-weight:700;color:#2563eb;margin-top:.5rem}.cart-summary{background:#fff;padding:2rem;border-radius:.75rem;margin-top:2rem;text-align:right;box-shadow:0 2px 8px #0000001a}.cart-summary h2{color:#2563eb;margin-bottom:1rem}.login-container{max-width:400px;margin:4rem auto;background:#fff;padding:2rem;border-radius:.75rem;box-shadow:0 4px 12px #0000001a}.login-form{display:flex;flex-direction:column;gap:1rem;margin:2rem 0}.form-input{padding:.75rem;border:2px solid #e2e8f0;border-radius:.5rem;font-size:1rem}.form-input:focus{outline:none;border-color:#2563eb}.test-accounts{margin-top:2rem;padding-top:2rem;border-top:1px solid #e2e8f0;font-size:.9rem;color:#666}.checkout-steps{display:flex;justify-content:space-around;margin:2rem 0;padding:1rem;background:#fff;border-radius:.5rem}.checkout-steps span{padding:.5rem 1rem;border-radius:.5rem;background:#e2e8f0;color:#666}.checkout-steps span.active{background:#2563eb;color:#fff;font-weight:700}.checkout-form{background:#fff;padding:2rem;border-radius:.75rem;max-width:600px;margin:2rem auto;box-shadow:0 4px 12px #0000001a}.checkout-form h2{margin-bottom:1.5rem}.checkout-form input,.checkout-form select{width:100%;margin-bottom:1rem}.checkout-actions{display:flex;gap:1rem;margin-top:2rem}.summary-details{background:#f8fafc;padding:1.5rem;border-radius:.5rem;margin-top:1rem}.confirmation{text-align:center;padding:4rem 2rem;background:#fff;border-radius:.75rem;max-width:600px;margin:4rem auto;box-shadow:0 4px 12px #0000001a}.confirmation h1{color:#10b981;font-size:2.5rem;margin-bottom:1rem}.order-number{font-size:1.2rem;margin:2rem 0;padding:1rem;background:#f0fdf4;border-radius:.5rem}.chaos-description{background:#fef3c7;padding:1rem;border-radius:.5rem;margin:1rem 0 2rem;border-left:4px solid #f59e0b}.chaos-controls{display:grid;gap:2rem;margin-bottom:2rem}.chaos-slider{background:#fff;padding:1.5rem;border-radius:.75rem;box-shadow:0 2px 4px #0000001a}.chaos-slider label{display:block;margin-bottom:1rem;font-weight:600;font-size:1.1rem}.chaos-slider strong{color:#2563eb;float:right}.slider{width:100%;height:8px;border-radius:4px;background:#e2e8f0;outline:none;-webkit-appearance:none}.slider::-webkit-slider-thumb{-webkit-appearance:none;-moz-appearance:none;appearance:none;width:24px;height:24px;border-radius:50%;background:#2563eb;cursor:pointer}.slider::-moz-range-thumb{width:24px;height:24px;border-radius:50%;background:#2563eb;cursor:pointer}.slider-labels{display:flex;justify-content:space-between;margin-top:.5rem;font-size:.85rem;color:#666}.btn-large{padding:1rem 2rem;font-size:1.1rem;width:100%}.footer{background:#1e293b;color:#fff;text-align:center;padding:2rem;margin-top:4rem}@media (max-width: 768px){.product-grid,.product-detail{grid-template-columns:1fr}.nav-links{gap:1rem;font-size:.9rem}}:root{--primary-color: #2563eb;--secondary-color: #64748b;--success-color: #10b981;--danger-color: #ef4444;--warning-color: #f59e0b;--bg-color: #f8fafc;--text-color: #1e293b;--border-color: #e2e8f0}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:var(--bg-color);color:var(--text-color)}*{box-sizing:border-box}button{cursor:pointer;font-family:inherit}input,select,textarea{font-family:inherit}.container{max-width:1200px;margin:0 auto;padding:0 1rem}.btn{padding:.75rem 1.5rem;border:none;border-radius:.5rem;font-weight:600;transition:all .2s}.btn-primary{background-color:var(--primary-color);color:#fff}.btn-primary:hover{background-color:#1d4ed8}.btn-secondary{background-color:var(--secondary-color);color:#fff}.btn-danger{background-color:var(--danger-color);color:#fff}.card{background:#fff;border-radius:.5rem;padding:1.5rem;box-shadow:0 1px 3px #0000001a}
