:root{font-family:system-ui,Avenir,Helvetica,Arial,sans-serif;line-height:1.5;font-weight:400;color-scheme:light dark;color:#ffffffde;background-color:#242424;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}a{font-weight:500;color:#646cff;text-decoration:inherit}a:hover{color:#535bf2}body{margin:0;display:flex;place-items:center;min-width:320px;min-height:100vh}h1{font-size:3.2em;line-height:1.1}button{border-radius:8px;border:1px solid transparent;padding:.6em 1.2em;font-size:1em;font-weight:500;font-family:inherit;background-color:#1a1a1a;cursor:pointer;transition:border-color .25s}button:hover{border-color:#646cff}button:focus,button:focus-visible{outline:4px auto -webkit-focus-ring-color}@media(prefers-color-scheme:light){:root{color:#213547;background-color:#fff}a:hover{color:#747bff}button{background-color:#f9f9f9}}*{margin:0;padding:0;box-sizing:border-box}body{font-family:Roboto,-apple-system,BlinkMacSystemFont,Segoe UI,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;color:#2c3e50;background-color:#f8f9fa;line-height:1.6}h1,h2,h4,h5,h6{font-family:Yesteryear,cursive;font-weight:400}.app{min-height:100vh;display:flex;flex-direction:column}.navbar{background-color:#fff;border-bottom:1px solid #e9ecef;padding:1.25rem 2rem;box-shadow:0 2px 8px #00000014;position:sticky;top:0;z-index:100}.nav-container{max-width:1200px;margin:0 auto;display:flex;align-items:center;justify-content:space-between;gap:2rem}.logo{font-size:1.75rem;font-weight:700;color:#2c3e50;text-decoration:none;letter-spacing:-.5px}.nav-links{display:flex;gap:1.5rem}.nav-links a{color:#495057;text-decoration:none;font-weight:500;transition:color .2s;padding:.5rem 0}.nav-links a:hover{color:#007bff}.search-form{display:flex;gap:.5rem}.search-input{padding:.625rem 1rem;border:1px solid #dee2e6;border-radius:6px;font-size:.9rem;min-width:250px;transition:border-color .2s,box-shadow .2s}.search-input:focus{outline:none;border-color:#007bff;box-shadow:0 0 0 3px #007bff1a}.search-button{padding:.625rem 1.5rem;background-color:#007bff;color:#fff;border:none;border-radius:6px;cursor:pointer;font-size:.9rem;font-weight:500;transition:background-color .2s,transform .1s}.search-button:hover:not(:disabled){background-color:#0056b3;transform:translateY(-1px)}.search-button:disabled{opacity:.6;cursor:not-allowed}.main-content{flex:1;max-width:1200px;width:100%;margin:0 auto;padding:2.5rem 2rem}.product-list-page h1{margin-bottom:2rem;font-size:2.5rem;font-weight:700;color:#2c3e50;letter-spacing:-1px}.product-list-page.filtered .product-name{color:#fff;background-color:transparent}.product-list-page.filtered .product-info{background-color:#fff}.filters-section{display:flex;justify-content:space-between;align-items:center;margin-bottom:2rem;flex-wrap:wrap;gap:1rem}.category-filters{display:flex;gap:.5rem;flex-wrap:wrap}.category-filters button{padding:.625rem 1.25rem;border:1px solid #dee2e6;background:#fff;border-radius:6px;cursor:pointer;font-weight:500;transition:all .2s;color:#495057}.category-filters button:hover{border-color:#007bff;color:#007bff}.category-filters button.active{background-color:#007bff;color:#fff;border-color:#007bff;box-shadow:0 2px 4px #007bff33}.sort-section{display:flex;align-items:center;gap:.5rem}.sort-section select{padding:.625rem 1rem;border:1px solid #dee2e6;border-radius:6px;background:#fff;cursor:pointer;font-size:.9rem;transition:border-color .2s}.sort-section select:focus{outline:none;border-color:#007bff}.view-options{display:flex;align-items:center;gap:.5rem;margin-bottom:1rem}.view-options select{padding:.25rem;border:1px solid #ddd;border-radius:4px}.products-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:2rem;margin-bottom:2rem}.product-card{background:#fff;border-radius:12px;overflow:hidden;box-shadow:0 2px 8px #00000014;transition:transform .3s ease,box-shadow .3s ease;border:1px solid #f0f0f0}.product-card:hover{transform:translateY(-6px);box-shadow:0 8px 24px #0000001f}.product-link{text-decoration:none;color:inherit}.product-image-container{width:100%;height:280px;overflow:hidden;background:linear-gradient(135deg,#f5f7fa,#c3cfe2);position:relative}.product-image{width:100%;height:100%;object-fit:cover;transition:transform .3s ease}.product-card:hover .product-image{transform:scale(1.05)}.product-info{padding:1.25rem}.product-name{font-size:1.15rem;margin-bottom:.75rem;color:#2c3e50;font-weight:600;line-height:1.4}.product-price{display:flex;align-items:center;gap:.5rem;margin-bottom:1rem}.original-price{text-decoration:line-through;color:#999;font-size:.9rem}.current-price{font-size:1.35rem;font-weight:700;color:#28a745}.add-to-cart-btn{width:100%;padding:.875rem;background-color:#007bff;color:#fff;border:none;border-radius:8px;cursor:pointer;font-weight:600;font-size:.95rem;transition:background-color .2s,transform .1s,box-shadow .2s;text-transform:uppercase;letter-spacing:.5px}.add-to-cart-btn:hover:not(:disabled){background-color:#0056b3;transform:translateY(-1px);box-shadow:0 4px 8px #007bff4d}.add-to-cart-btn:active:not(:disabled){transform:translateY(0)}.add-to-cart-btn:disabled{background-color:#6c757d;cursor:not-allowed;opacity:.6}.product-detail-page{max-width:1200px;margin:0 auto}.back-button{margin-bottom:1rem;padding:.5rem 1rem;background:#fff;border:1px solid #ddd;border-radius:4px;cursor:pointer}.product-detail-container{display:grid;grid-template-columns:1fr 1fr;gap:3rem;background:#fff;padding:2.5rem;border-radius:12px;box-shadow:0 4px 16px #00000014;border:1px solid #f0f0f0}.product-detail-container.cart-added .product-description{color:#fff;background-color:transparent}.main-product-image{width:100%;cursor:pointer}.main-product-image img{width:100%;height:auto;border-radius:4px}.product-details h1{margin-bottom:1rem}.product-price-section{display:flex;align-items:center;gap:1rem;margin-bottom:1rem;font-size:1.5rem}.product-description{margin-bottom:2rem;line-height:1.7;color:#6c757d;font-size:1.05rem}.product-options{margin-bottom:2rem}.option-selector,.quantity-selector{margin-bottom:1rem}.option-selector select,.quantity-selector input{padding:.5rem;border:1px solid #ddd;border-radius:4px;margin-left:.5rem}.quantity-selector{display:flex;align-items:center;gap:.5rem}.quantity-selector button{padding:.5rem 1rem;border:1px solid #ddd;background:#fff;border-radius:4px;cursor:pointer}.product-actions{display:flex;gap:1rem}.checkout-now-btn{flex:1;padding:.875rem;background-color:#28a745;color:#fff;border:none;border-radius:8px;cursor:pointer;font-weight:600;font-size:.95rem;text-transform:uppercase;letter-spacing:.5px;transition:background-color .2s,transform .1s,box-shadow .2s}.checkout-now-btn:hover:not(:disabled){background-color:#218838;transform:translateY(-1px);box-shadow:0 4px 8px #28a7454d}.image-modal{position:fixed;inset:0;background-color:#000c;display:flex;align-items:center;justify-content:center;z-index:1000}.image-modal-content{position:relative;max-width:90%;max-height:90%}.close-modal{position:absolute;top:-40px;right:0;background:#fff;border:none;border-radius:50%;width:32px;height:32px;font-size:1.5rem;cursor:pointer;display:flex;align-items:center;justify-content:center}.image-modal-content img{max-width:100%;max-height:90vh;border-radius:4px}.cart-page{max-width:1000px;margin:0 auto}.cart-page h1{font-size:2.5rem;font-weight:700;color:#2c3e50;margin-bottom:2rem;letter-spacing:-1px}.cart-items{background:#fff;border-radius:12px;padding:1.5rem;margin-bottom:2rem;box-shadow:0 2px 8px #00000014;border:1px solid #f0f0f0}.cart-item{display:grid;grid-template-columns:100px 2fr 150px 100px 100px;gap:1rem;align-items:center;padding:1rem;border-bottom:1px solid #eee}.cart-item:last-child{border-bottom:none}.cart-item-image img{width:100%;height:auto;border-radius:4px}.cart-item-details h3{margin-bottom:.5rem}.cart-item-price{color:#666;font-size:.9rem}.cart-item-quantity{display:flex;align-items:center;gap:.5rem}.cart-item-quantity input{width:60px;padding:.25rem;text-align:center;border:1px solid #ddd;border-radius:4px}.cart-item-quantity button{padding:.25rem .5rem;border:1px solid #ddd;background:#fff;border-radius:4px;cursor:pointer}.cart-item-total{font-weight:700;font-size:1.1rem}.remove-item-btn{padding:.5rem;background-color:#dc3545;color:#fff;border:none;border-radius:4px;cursor:pointer}.remove-item-btn:hover{background-color:#c82333}.cart-summary{background:#fff;border-radius:12px;padding:2rem;box-shadow:0 2px 8px #00000014;border:1px solid #f0f0f0}.cart-totals{margin-bottom:2rem}.cart-totals>div{display:flex;justify-content:space-between;padding:.5rem 0;border-bottom:1px solid #eee}.cart-totals .total{font-size:1.5rem;font-weight:700;border-bottom:none;border-top:2px solid #333;padding-top:1rem;margin-top:1rem}.cart-actions{display:flex;gap:1rem;justify-content:flex-end}.cart-actions button{padding:.75rem 1.5rem;border:1px solid #ddd;background:#fff;border-radius:4px;cursor:pointer}.checkout-btn{background-color:#007bff;color:#fff;border-color:#007bff}.checkout-btn:hover{background-color:#0056b3}.checkout-page{max-width:1000px;margin:0 auto}.checkout-page h1{font-size:2.5rem;font-weight:700;color:#2c3e50;margin-bottom:2rem;letter-spacing:-1px}.checkout-container{display:grid;grid-template-columns:2fr 1fr;gap:2rem}.checkout-form{background:#fff;padding:2.5rem;border-radius:12px;box-shadow:0 2px 8px #00000014;border:1px solid #f0f0f0}.checkout-form h2{margin-top:2rem;margin-bottom:1rem}.checkout-form h2:first-child{margin-top:0}.form-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1rem}.form-group{margin-bottom:1rem}.form-group label{display:block;margin-bottom:.5rem;font-weight:500}.form-group input,.form-group select{width:100%;padding:.75rem 1rem;border:1px solid #dee2e6;border-radius:6px;font-size:1rem;transition:border-color .2s,box-shadow .2s}.form-group input:focus,.form-group select:focus{outline:none;border-color:#007bff;box-shadow:0 0 0 3px #007bff1a}.submit-order-btn{width:100%;padding:1rem;background-color:#28a745;color:#fff;border:none;border-radius:4px;font-size:1.1rem;font-weight:700;cursor:pointer;margin-top:1rem}.submit-order-btn:hover:not(:disabled){background-color:#218838}.submit-order-btn:disabled{background-color:#ccc;cursor:not-allowed}.order-summary{background:#fff;padding:2rem;border-radius:12px;height:fit-content;position:sticky;top:2rem;box-shadow:0 2px 8px #00000014;border:1px solid #f0f0f0}.order-summary h2,.order-items{margin-bottom:1rem}.order-item{display:flex;justify-content:space-between;padding:.5rem 0;border-bottom:1px solid #eee}.order-total{display:flex;justify-content:space-between;font-size:1.5rem;font-weight:700;padding-top:1rem;border-top:2px solid #333;margin-top:1rem}.search-results-page{max-width:1200px;margin:0 auto}.search-results-page h1{margin-bottom:1rem}.no-results{text-align:center;padding:3rem;background:#fff;border-radius:8px}.profile-page{max-width:800px;margin:0 auto}.profile-page h1{margin-bottom:2rem}.profile-form{background:#fff;padding:2rem;border-radius:8px}.profile-form h2{margin-top:2rem;margin-bottom:1rem}.profile-form h2:first-child{margin-top:0}.profile-form input[type=checkbox]{width:auto;margin-right:.5rem}.profile-actions{margin-top:2rem;display:flex;gap:1rem}.profile-actions button{padding:.75rem 1.5rem;border:1px solid #ddd;background:#fff;border-radius:4px;cursor:pointer}.profile-actions button[type=submit]{background-color:#007bff;color:#fff;border-color:#007bff}.profile-actions button[type=submit]:hover{background-color:#0056b3}.success-message{background-color:#d4edda;color:#155724;padding:1rem;border-radius:4px;margin-bottom:1rem}.pagination{display:flex;justify-content:center;gap:.5rem;margin-top:2rem}.pagination button{padding:.5rem 1rem;border:1px solid #ddd;background:#fff;border-radius:4px;cursor:pointer}.pagination button.active{background-color:#007bff;color:#fff;border-color:#007bff}.pagination button:hover:not(.active){background-color:#f0f0f0}.loading{opacity:.6;pointer-events:none}.loading-spinner{display:inline-block;width:16px;height:16px;border:2px solid #f3f3f3;border-top:2px solid #007bff;border-radius:50%;animation:spin 1s linear infinite;margin-right:8px}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@media(max-width:768px){.nav-container{flex-direction:column;align-items:flex-start}.product-detail-container,.checkout-container{grid-template-columns:1fr}.cart-item{grid-template-columns:80px 1fr;gap:.5rem}.cart-item-quantity,.cart-item-total,.remove-item-btn{grid-column:2}.products-grid{grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:1rem}}
