body{margin:0;font-family:Segoe UI,Tahoma,sans-serif;background-color:#f9f9f9}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.header{display:flex;justify-content:space-between;align-items:center;background:#111;color:#fff;padding:.8rem 1.5rem;box-shadow:0 2px 6px #00000026;position:sticky;top:0;z-index:1000}.brand_title{font-size:1.5rem;font-weight:700;cursor:pointer}.brand_title span{color:#f39c12}.action-area{display:flex;align-items:center;gap:1.5rem}.search-box{display:flex;align-items:center;border:1px solid #ccc;border-radius:20px;overflow:hidden;background:#fff;min-width:200px}.search-box input{border:none;outline:none;padding:.5rem .8rem;font-size:.9rem;flex:1;min-width:150px}.search-btn{background:#f39c12;color:#fff;padding:.5rem .8rem;cursor:pointer;display:grid;place-items:center}.search-btn:hover{background:#e67e22}.cart{position:relative;cursor:pointer}.cart .icon{font-size:1.3rem}.badge-count{position:absolute;top:-8px;right:-10px;background:#e74c3c;color:#fff;font-size:.75rem;font-weight:700;border-radius:50%;padding:2px 6px}@media (max-width: 768px){.header{padding:.8rem 1rem}.brand_title{font-size:1.3rem}.search-box{min-width:150px}.search-box input{min-width:100px}}@media (max-width: 480px){.header{flex-direction:column;gap:.8rem;padding:1rem}.action-area{width:100%;justify-content:space-between}.search-box{flex-grow:1}}.loading-container{display:flex;align-items:center;justify-content:center}.loading-container.overlay{flex-direction:column;height:100vh;width:100%;background:#fffc;position:fixed;top:0;left:0;z-index:2000}.loading-container.overlay .loading i{font-size:2.5rem;color:#f39c12;animation:spin 1s linear infinite}.loading-container.overlay .text{margin-top:.8rem;font-size:1rem;color:#333;font-weight:500}.loading-container.inline{display:inline-flex;gap:.5rem;font-size:.95rem;color:#555}.loading-container.inline .loading i{font-size:1.2rem;color:#f39c12;animation:spin 1s linear infinite}.loading-container.inline .text{font-weight:500;color:#333}.cartPage{max-width:800px;min-height:calc(100vh - 250px);margin:2rem auto;background:#fff;border-radius:12px;box-shadow:0 4px 16px #00000014;display:flex;flex-direction:column;overflow:hidden;font-family:Segoe UI,Tahoma,sans-serif}.cart-header{display:flex;justify-content:space-between;align-items:center;padding:1rem 1.2rem;background:#111;color:#fff;font-size:1.2rem;font-weight:600;box-shadow:0 2px 6px #00000026}.cart-header .title i{margin-right:.5rem;color:#f39c12}.cart-header .noOf-items{background:#f39c12;color:#fff;font-weight:600;padding:.3rem .7rem;border-radius:20px;font-size:.9rem;transition:background .2s ease}.cart-header .noOf-items:hover{background:#e67e22}.cart-body{padding:1.2rem;display:flex;flex-direction:column;gap:1rem;flex-grow:1}.cart-empty{text-align:center;padding:3rem 1rem;color:#777;margin:auto}.cart-empty i{font-size:3rem;color:#f39c12;margin-bottom:1rem}.cart-empty .title{font-size:1.2rem;font-weight:600;margin-bottom:.5rem;color:#333}.cart-empty .description{font-size:.95rem;color:#777}.cart-item-area .item{display:flex;justify-content:space-between;align-items:center;padding:1rem;border:1px solid #eee;border-radius:12px;transition:box-shadow .2s ease,transform .2s ease;background:#fff}.cart-item-area .item:hover{box-shadow:0 4px 12px #00000014;transform:translateY(-2px)}.item .about{flex:1;min-width:0}.item .about .title{font-size:1rem;font-weight:600;margin-bottom:.3rem;color:#222}.item .about .category{font-size:.85rem;color:#777}.price-area{display:flex;align-items:center;gap:1.5rem;flex-shrink:0}.quantity-regulator{display:flex;align-items:center;border:1px solid #ddd;border-radius:8px;overflow:hidden;background:#fff}.quantity-regulator .minus,.quantity-regulator .plus{padding:.4rem .6rem;background:#f4f4f4;cursor:pointer;-webkit-user-select:none;user-select:none;transition:background .2s ease;border:none;font-weight:600;color:#333}.quantity-regulator .minus:hover,.quantity-regulator .plus:hover{background:#f39c12;color:#fff}.quantity-regulator .value{padding:.4rem .8rem;min-width:40px;text-align:center;font-weight:600;color:#333;background:#fff}.price{font-weight:600;color:#333;font-size:1rem}.totalCard{margin-top:auto;padding:1rem;border-top:2px solid #f39c12;background:#111;color:#fff;text-align:right;font-size:1rem;font-weight:600}.totalCard .price{color:#f39c12;font-size:1.3rem;font-weight:700}.cart-footer{padding:1.2rem;border-top:1px solid #eee;background:#fafafa}.cart-footer .checkout button{width:100%;padding:1rem;border:none;border-radius:8px;background:#f39c12;color:#fff;font-size:1rem;font-weight:600;cursor:pointer;transition:background .2s ease,transform .1s ease;box-shadow:0 2px 6px #f39c124d}.cart-footer .checkout button:hover{background:#e67e22;transform:translateY(-2px);box-shadow:0 4px 12px #f39c1266}@media (max-width: 600px){.cartPage{margin:1rem}.cart-item-area .item{flex-direction:column;align-items:flex-start;gap:1rem}.price-area{width:100%;justify-content:space-between}.item .about .title{font-size:.9rem}}.modal-overview{position:fixed;top:0;left:0;width:100%;height:100%;background:#00000080;display:flex;justify-content:center;align-items:center;z-index:3000;padding:1rem}.modal-container{background:#fff;border-radius:12px;width:420px;max-width:100%;padding:1.2rem;box-shadow:0 6px 20px #0003;animation:fadeInUp .3s ease;max-height:90vh;overflow-y:auto}.modal-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem;padding-bottom:.8rem;border-bottom:2px solid #f39c12}.modal-header .title{font-size:1.25rem;font-weight:600;color:#111}.modal-header .close{cursor:pointer;font-size:1.2rem;color:#777;transition:color .2s ease;padding:.2rem}.modal-header .close:hover{color:#e74c3c}.form-area{display:flex;flex-direction:column;gap:1rem}.form-group{display:flex;flex-direction:column;gap:.4rem}.form-group label{font-size:.9rem;font-weight:500;color:#333}.form-group input,.form-group select,.form-group textarea{padding:.6rem .8rem;border:1px solid #ccc;border-radius:8px;font-size:.9rem;outline:none;transition:border .2s ease,box-shadow .2s ease;font-family:inherit}.form-group input:focus,.form-group select:focus,.form-group textarea:focus{border-color:#f39c12;box-shadow:0 0 0 2px #f39c1233}.form-action{display:flex;justify-content:flex-end;gap:.8rem;margin-top:1rem;padding-top:1rem;border-top:1px solid #eee}.form-action button{border:none;border-radius:8px;padding:.7rem 1.2rem;font-size:.9rem;font-weight:500;cursor:pointer;display:flex;align-items:center;gap:.4rem;transition:background .2s ease,transform .1s ease;min-width:100px;justify-content:center}.form-action .save{background:#f39c12;color:#fff;box-shadow:0 2px 6px #f39c124d}.form-action .save:hover{background:#e67e22;transform:translateY(-1px);box-shadow:0 4px 10px #f39c1266}.form-action .cancel{background:#e0e0e0;color:#333}.form-action .cancel:hover{background:#bdbdbd;transform:translateY(-1px)}@keyframes fadeInUp{0%{opacity:0;transform:translateY(40px)}to{opacity:1;transform:translateY(0)}}@media (max-width: 480px){.modal-container{padding:1rem}.form-action{flex-direction:column}.form-action button{width:100%}}.product-card{width:100%;max-width:280px;border-radius:12px;background:#fff;box-shadow:0 4px 12px #00000014;overflow:hidden;display:flex;flex-direction:column;transition:transform .2s ease,box-shadow .2s ease}.product-card:hover{transform:translateY(-5px);box-shadow:0 8px 20px #00000026}.image-head{position:relative;overflow:hidden;height:200px}.image img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .4s ease}.image-head:hover img{transform:scale(1.05)}.product-card-body{padding:1rem;flex:1;display:flex;flex-direction:column}.detailes{display:flex;justify-content:space-between;margin-bottom:.6rem;font-size:.9rem;color:#777}.detailes .price{font-weight:600;color:#222}.about{flex-grow:1}.about .title{font-size:1.1rem;font-weight:600;margin-bottom:.3rem;color:#333}.about .description{font-size:.85rem;color:#555;line-height:1.3;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical}.action-footer{border-top:1px solid #eee;background:#fafafa}.button-group{display:flex}.action-btn{flex:1;display:flex;align-items:center;justify-content:center;gap:.3rem;padding:.6rem;border:none;font-size:.85rem;font-weight:500;cursor:pointer;transition:background .2s ease,transform .1s ease}.action-btn:hover{transform:scale(1.03)}.action-btn.edit{background:#3498db;color:#fff}.action-btn.edit:hover{background:#2980b9}.action-btn.addToCart{background:#27ae60;color:#fff}.action-btn.addToCart:hover{background:#1e8449}.action-btn.delete{background:#e74c3c;color:#fff}.action-btn.delete:hover{background:#c0392b}.add-btn-overlay .product-card{width:280px;height:100%;border:2px dashed #bbb;border-radius:12px;background:#f9f9f9;color:#777;display:flex;justify-content:center;align-items:center;cursor:pointer;transition:border-color .2s ease,background .2s ease;min-height:380px}.add-btn-overlay .product-card:hover{border-color:#f39c12;background:#fff8f0}.add-btn{display:flex;flex-direction:column;align-items:center;gap:.5rem;border:none;background:transparent;cursor:pointer;color:inherit;font-size:.95rem;font-weight:500}.add-btn i{font-size:2rem;color:#f39c12}.add-btn .btn-text{font-size:.95rem}.product-display-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px;flex-wrap:wrap;gap:15px}.product-display .pagetitle{font-size:2rem;font-weight:700}.pagination{display:flex;justify-content:center;margin:30px 0}.pagination ul{display:flex;gap:8px;list-style:none;padding:0;margin:0}.pagination ul li{padding:8px 14px;border-radius:6px;background:#f5f5f5;color:#333;font-size:14px;cursor:pointer;transition:background .2s ease,transform .2s ease;-webkit-user-select:none;user-select:none}.pagination ul li:hover{background:#e0e0e0;transform:translateY(-2px)}.pagination ul li.active{background:#f39c12;color:#fff;font-weight:600}.sort{display:inline-block;position:relative;font-family:Segoe UI,Tahoma,sans-serif}.sort select{padding:10px 40px 10px 15px;border:1px solid #ccc;border-radius:12px;background-color:#fff;font-size:14px;font-weight:500;cursor:pointer;transition:all .3s ease;outline:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;background-image:url(data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23666666%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-13%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2013l128%20127.9c3.6%203.6%207.8%205.4%2013%205.4s9.4-1.8%2013-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-13%200-5-1.9-9.4-5.4-13z%22/%3E%3C/svg%3E);background-repeat:no-repeat;background-position:right 15px top 50%;background-size:.65em auto}.sort select:hover{border-color:#666;box-shadow:0 2px 6px #0000001a}@media (max-width: 768px){.product-display{padding:15px}.product-display .pagetitle{font-size:1.8rem}}.product-display{padding:20px;max-width:1400px;margin:0 auto}.product-display .pagetitle{font-size:2rem;font-weight:700;margin-bottom:20px}.product-display .content{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:20px;justify-items:center}.search-empty{grid-column:1 / -1;text-align:center;padding:3rem 1rem;color:#777}.search-empty i{font-size:3rem;color:#f39c12;margin-bottom:1rem}.search-empty .title{font-size:1.2rem;font-weight:600;margin-bottom:.5rem;color:#333}.footer{background-color:#111;color:#fff;padding:1.5rem;text-align:center;margin-top:2rem}.footer-content{max-width:1200px;margin:0 auto}.feedback-toast{position:fixed;top:20px;right:20px;padding:1rem 1.5rem;border-radius:8px;color:#fff;font-weight:500;z-index:9999;box-shadow:0 4px 12px #00000026;animation:slideIn .3s ease-out}.feedback-toast.success{background-color:#27ae60}.feedback-toast.error{background-color:#e74c3c}@keyframes slideIn{0%{transform:translate(100%);opacity:0}to{transform:translate(0);opacity:1}}
