@import"https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap";*{box-sizing:border-box}body{margin:0;font-family:Inter,-apple-system,BlinkMacSystemFont,sans-serif;background:#f5f5f5;color:#333}.top-bar{background:#fff;border-bottom:1px solid #eee;padding:.5rem 1rem;font-size:.85rem;color:#666;display:flex;justify-content:space-between;max-width:1200px;margin:0 auto}.header{background:#fff;padding:1rem;border-bottom:1px solid #e0e0e0;display:flex;align-items:center;justify-content:space-between;position:sticky;top:0;z-index:10}.logo{justify-content:center}.logo-text{font-size:1.3rem}.logo{display:flex;align-items:center;gap:.5rem;cursor:pointer;text-decoration:none;-webkit-user-select:none;user-select:none}.logo-text{font-size:1.4rem;font-weight:800;letter-spacing:-.5px;color:#222}.logo-amp{color:#6d9e6d;margin:0 2px}.logo:hover .logo-text{color:#000}.tagline{display:none}.search-container{flex:1;max-width:500px;margin:0 2rem;position:relative}.search-container input{width:100%;padding:.75rem 1rem .75rem 2.5rem;border:1px solid #ddd;border-radius:8px;font-size:.95rem;font-family:inherit;background:#f9f9f9;transition:border-color .2s}.search-container input:focus{outline:none;border-color:#6d9e6d;background:#fff}.search-container:before{content:"🔍";position:absolute;left:.8rem;top:50%;transform:translateY(-50%);opacity:.5}.header-actions{display:flex;gap:1rem;align-items:center}.header-actions button{background:transparent;border:none;color:#333;font-size:.9rem;font-weight:500;cursor:pointer;display:flex;align-items:center;gap:.3rem;font-family:inherit}.header-actions button:hover{color:#6d9e6d}.categories{max-width:1200px;margin:1.5rem auto 1rem;padding:0 1rem;display:flex;flex-wrap:wrap;gap:.5rem}.categories button{background:#fff;border:1px solid #ddd;color:#333;padding:.5rem 1rem;border-radius:8px;cursor:pointer;font-family:inherit;font-size:.9rem;transition:all .2s}.categories button:hover{border-color:#6d9e6d}.categories button.active{background:#6d9e6d;color:#fff;border-color:#6d9e6d}.grid{max-width:1200px;margin:0 auto 3rem;padding:0 1rem;display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:1.5rem}.card{background:#fff;border-radius:12px;overflow:hidden;border:1px solid #e0e0e0;display:flex;flex-direction:column;transition:box-shadow .2s;cursor:pointer}.card:hover{box-shadow:0 8px 24px #00000014}.card-image{position:relative;height:220px;background:#f9f9f9;display:flex;align-items:center;justify-content:center}.card-image img{width:100%;height:100%;object-fit:contain}.card-emoji{font-size:5rem}.badge-stock{position:absolute;top:12px;left:12px;background:#6d9e6d;color:#fff;padding:.2rem .6rem;border-radius:4px;font-size:.75rem;font-weight:600}.fav-btn{position:absolute;top:12px;right:12px;background:#ffffffe6;border:none;border-radius:50%;width:32px;height:32px;cursor:pointer;font-size:1.2rem;display:flex;align-items:center;justify-content:center;box-shadow:0 2px 5px #0000001a}.card-content{padding:1rem;display:flex;flex-direction:column;flex:1}.card-title{font-size:1.1rem;font-weight:600;margin:0 0 .75rem;color:#111}.card-title span{color:#888;font-weight:400;font-size:.95rem}.card-specs{display:flex;flex-wrap:wrap;gap:.75rem;font-size:.8rem;color:#666;margin-bottom:1.5rem}.card-specs span{display:flex;align-items:center;gap:.25rem;white-space:nowrap}.card-footer{margin-top:auto;display:flex;justify-content:space-between;align-items:center;padding-top:1rem;border-top:1px solid #eee}.price-block{display:flex;flex-direction:column}.price{font-size:1.25rem;font-weight:700;color:#111}.sub-price{font-size:.75rem;color:#888;margin-top:.2rem}.buy-btn{background:#6d9e6d;color:#fff;border:none;padding:.6rem 1.2rem;border-radius:8px;font-weight:600;font-size:.95rem;cursor:pointer;transition:background .2s;font-family:inherit}.buy-btn:hover{background:#5a855a}.seller-info{margin-top:.75rem;font-size:.8rem;color:#888}.seller-info strong{color:#555}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#00000080;display:flex;align-items:center;justify-content:center;padding:1rem;z-index:100}.modal{background:#fff;border-radius:12px;padding:1.5rem;max-width:500px;width:100%;max-height:90vh;overflow-y:auto;box-shadow:0 20px 40px #0003}.modal h2{margin-top:0;margin-bottom:1rem;text-align:center;font-size:1.4rem}.auth-form{display:flex;flex-direction:column;gap:.75rem}.auth-form input,.auth-select,.auth-textarea{width:100%;padding:.75rem 1rem;border:1px solid #ddd;border-radius:8px;font-family:inherit;font-size:.95rem;background:#f9f9f9;transition:border-color .2s}.auth-form input:focus,.auth-select:focus,.auth-textarea:focus{outline:none;border-color:#6d9e6d;background:#fff}.auth-textarea{resize:vertical}.modal-actions{display:flex;gap:.75rem;margin-top:1rem}.modal-actions button{flex:1;padding:.75rem;border-radius:8px;font-family:inherit;font-weight:600;cursor:pointer;border:none;background:#6d9e6d;color:#fff;transition:background .2s}.modal-actions button:hover:not(:disabled){background:#5a855a}.modal-actions button:disabled{opacity:.5;cursor:not-allowed}.modal-actions .ghost{background:transparent;color:#666;border:1px solid #ddd}.modal-actions .ghost:hover{background:#f5f5f5}.auth-tabs{display:flex;gap:.5rem;margin-bottom:1.5rem;background:#f5f5f5;padding:.3rem;border-radius:8px}.auth-tabs button{flex:1;background:transparent;border:none;padding:.6rem;border-radius:6px;font-family:inherit;font-weight:600;color:#666;cursor:pointer;transition:all .2s}.auth-tabs button.active{background:#fff;color:#333;box-shadow:0 2px 4px #0000000d}.auth-error{color:#c0392b;font-size:.85rem;background:#fdf0ee;padding:.5rem .75rem;border-radius:6px;border:1px solid #f5c6bd;text-align:center}.cart-comment{width:100%;padding:.75rem 1rem;border:1px solid #ddd;border-radius:8px;font-family:inherit;background:#f9f9f9;margin-bottom:1rem;font-size:.95rem}@media (max-width: 768px){.header{flex-direction:column;align-items:stretch;padding:.75rem 1rem;gap:.75rem;position:static}.logo{justify-content:center}.logo-text{font-size:1.3rem}.search-container{max-width:100%;margin:0}.search-container input{padding:.6rem 1rem .6rem 2.2rem;font-size:16px}.header-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:.5rem}.header-actions button{background:#f5f5f5;padding:.5rem .75rem;border-radius:6px;font-size:.85rem}.categories{flex-wrap:nowrap;overflow-x:auto;padding-bottom:.5rem;-webkit-overflow-scrolling:touch;scrollbar-width:none;margin-top:1rem}.categories::-webkit-scrollbar{display:none}.categories button{white-space:nowrap;flex-shrink:0;font-size:.85rem;padding:.4rem .8rem}.grid{grid-template-columns:1fr;gap:1rem;padding:0 .5rem}.card-image{height:200px}.card-title{font-size:1rem}.card-footer{flex-wrap:wrap;gap:.75rem}.buy-btn{width:100%;padding:.75rem;font-size:1rem;text-align:center}.modal-backdrop{align-items:flex-end;padding:0}.modal{border-radius:16px 16px 0 0;max-height:90vh;padding:1.25rem;width:100%;margin:0}.modal h2{font-size:1.3rem}.modal-actions{flex-direction:column-reverse;gap:.5rem}.modal-actions button{width:100%;padding:.8rem;font-size:1rem}.auth-form input,.auth-select,.auth-textarea,.cart-comment{font-size:16px!important;padding:.8rem}.cart-list li{flex-wrap:wrap;position:relative;padding-right:2rem}.cart-qty{order:3;width:100%;justify-content:flex-start;margin-top:.5rem}.cart-list .price{position:absolute;right:0;top:.5rem}.admin-table-wrapper{margin:0 -1.25rem;padding:0 1.25rem}}.card-desc{font-size:.85rem;color:#666;line-height:1.4;margin:0 0 1rem;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis}.my-orders-list{display:flex;flex-direction:column;gap:1rem;margin-top:1rem}.my-order-card{background:#fff;border:1px solid #ddd;border-radius:8px;padding:1rem}.my-order-header{display:flex;justify-content:space-between;align-items:center;font-size:.85rem;color:#888;border-bottom:1px solid #eee;padding-bottom:.5rem;margin-bottom:.75rem;flex-wrap:wrap;gap:.5rem}.my-order-id{font-weight:600;color:#333}.my-order-items{list-style:none;padding:0;margin:0 0 .75rem;font-size:.9rem;color:#444}.my-order-items li{display:flex;justify-content:space-between;margin-bottom:.25rem}.my-order-footer{display:flex;justify-content:space-between;align-items:center;border-top:1px solid #eee;padding-top:.75rem;flex-wrap:wrap;gap:.5rem}.status-badge{background:#f0f0f0;color:#555;padding:.25rem .6rem;border-radius:6px;font-size:.75rem;font-weight:600;text-transform:uppercase;letter-spacing:.5px}.discard-btn{background:#fff;color:#c0392b;border:1px solid #c0392b;padding:.4rem .8rem;border-radius:6px;cursor:pointer;font-size:.8rem;font-weight:500;transition:all .2s;font-family:inherit}.discard-btn:hover{background:#c0392b;color:#fff}.discard-btn:disabled{opacity:.5;cursor:wait}.sale-product-info{display:flex;justify-content:space-between;align-items:center;font-size:.95rem;margin-bottom:.75rem;padding-bottom:.75rem;border-bottom:1px solid #eee}.sale-buyer-info{background:#f9f9f9;padding:.6rem;border-radius:6px;border:1px solid #eee;font-size:.9rem;color:#333}.admin-table-wrapper{overflow-x:auto;margin-top:1rem;border:1px solid #eee;border-radius:8px;background:#fff}.admin-table{width:100%;border-collapse:collapse;text-align:left;font-size:.9rem}.admin-table th{background:#f9f9f9;color:#666;font-weight:600;padding:.75rem 1rem;border-bottom:2px solid #eee;white-space:nowrap}.admin-table td{padding:1rem;border-bottom:1px solid #eee;vertical-align:top}.admin-table tbody tr:last-child td{border-bottom:none}.admin-order-id{font-weight:600;color:#222}.admin-order-date{font-size:.75rem;color:#888;margin-top:.25rem}.admin-contact{font-size:.75rem;color:#666;margin-top:.25rem}.admin-items-list{list-style:none;padding:0;margin:0;font-size:.85rem;color:#444}.admin-items-list li{margin-bottom:.25rem}.admin-total{font-weight:600;color:#222;white-space:nowrap}.admin-select{padding:.4rem .6rem;border:1px solid #ddd;border-radius:6px;background:#fff;font-family:inherit;font-size:.85rem;color:#333;cursor:pointer;outline:none;transition:border-color .2s}.admin-select:focus{border-color:#6d9e6d}.cart-list{list-style:none;padding:0;margin:0 0 1rem}.cart-list li{display:flex;align-items:center;justify-content:space-between;padding:.75rem 0;border-bottom:1px solid #eee}.cart-list li:last-child{border-bottom:none}.cart-emoji{font-size:1.5rem;margin-right:.5rem}.cart-name{flex:1;font-size:.95rem;color:#333;margin-right:1rem}.cart-qty{display:flex;align-items:center;gap:.5rem;margin-right:1.5rem}.cart-qty button{width:28px;height:28px;border-radius:6px;border:1px solid #ddd;background:#f9f9f9;cursor:pointer;font-family:inherit;font-size:1.1rem;line-height:1;display:flex;align-items:center;justify-content:center;transition:background .2s}.cart-qty button:hover{background:#eee}.cart-total{text-align:right;font-size:1.25rem;font-weight:700;color:#222;margin-bottom:.5rem}.cart-balance{text-align:right;font-size:.9rem;color:#6d9e6d;margin-bottom:1rem;font-weight:600}.cart-balance-error{color:#c0392b}.cart-comment{width:100%;padding:.75rem 1rem;border:1px solid #ddd;border-radius:8px;font-family:inherit;font-size:.95rem;background:#f9f9f9;margin-bottom:1.5rem}.cart-comment:focus{outline:none;border-color:#6d9e6d;background:#fff}.price-selector{background:#f9f9f9;padding:1rem;border-radius:8px;border:1px solid #eee}.price-chips{display:flex;flex-wrap:wrap;gap:.5rem}.price-chip{flex:1 1 calc(33.333% - .5rem);min-width:70px;padding:.6rem .2rem;background:#fff;border:1px solid #ddd;border-radius:8px;font-family:inherit;font-size:.95rem;font-weight:600;color:#555;cursor:pointer;transition:all .2s;text-align:center}.price-chip:hover{border-color:#6d9e6d;color:#6d9e6d}.price-chip.active{background:#6d9e6d;border-color:#6d9e6d;color:#fff}@media (min-width: 480px){.price-chip{flex:1 1 auto;min-width:80px}}
