:root{--bg: #ffffff;--surface: #f9fafb;--text: #111827;--text-secondary: #6b7280;--accent: #2563eb;--accent-hover: #1d4ed8;--success: #059669;--border: #e5e7eb;--radius: 8px;--shadow-sm: 0 1px 2px rgba(0, 0, 0, .05);--shadow: 0 1px 3px rgba(0, 0, 0, .1), 0 1px 2px rgba(0, 0, 0, .06);--shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, .1), 0 4px 6px -4px rgba(0, 0, 0, .1);--transition: .15s ease}*,*:before,*:after{box-sizing:border-box;margin:0;padding:0}html{-webkit-text-size-adjust:100%}body{font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;color:var(--text);background:var(--bg);line-height:1.6;min-height:100dvh;display:flex;flex-direction:column}img{max-width:100%;height:auto;display:block}a{color:var(--accent);text-decoration:none}a:hover{color:var(--accent-hover)}.container{width:100%;max-width:1200px;margin:0 auto;padding:0 1rem;flex:1}.header{position:sticky;top:0;z-index:100;background:var(--bg);border-bottom:1px solid var(--border);padding:.75rem 1rem}.header-inner{max-width:1200px;margin:0 auto;display:flex;align-items:center;justify-content:space-between;gap:1rem}.logo{font-size:1.25rem;font-weight:700;color:var(--text);letter-spacing:-.025em}.logo:hover{color:var(--text)}.nav-links{display:flex;align-items:center;gap:1.5rem;list-style:none}.nav-links a{color:var(--text-secondary);font-size:.9rem;font-weight:500;transition:color var(--transition)}.nav-links a:hover{color:var(--text)}.cart-link{position:relative;display:flex;align-items:center;gap:.25rem}.hamburger{display:none;background:none;border:none;cursor:pointer;padding:.25rem}.hamburger svg{width:24px;height:24px;stroke:var(--text)}.badge{display:inline-flex;align-items:center;justify-content:center;background:var(--accent);color:#fff;font-size:.65rem;font-weight:700;min-width:18px;height:18px;padding:0 5px;border-radius:9px;position:absolute;top:-6px;right:-10px}.badge:empty{display:none}.hero{background:var(--surface);padding:4rem 1rem;text-align:center;margin:0 -1rem 2rem}.hero h1{font-size:2rem;font-weight:800;letter-spacing:-.025em;margin-bottom:.75rem}.hero p{color:var(--text-secondary);font-size:1.1rem;max-width:480px;margin:0 auto 1.5rem}.product-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:1.5rem;padding:1rem 0}.product-card{display:flex;flex-direction:column;border:1px solid var(--border);border-radius:var(--radius);overflow:hidden;background:var(--bg);transition:box-shadow var(--transition);color:var(--text)}.product-card:hover{box-shadow:var(--shadow-lg);color:var(--text)}.product-card img{width:100%;aspect-ratio:4/3;object-fit:cover;background:var(--surface)}.product-card-body{padding:1rem;display:flex;flex-direction:column;gap:.25rem;flex:1}.product-card h3{font-size:1rem;font-weight:600;line-height:1.3}.product-card .brand{font-size:.8rem;color:var(--text-secondary)}.product-card .price{margin-top:auto;padding-top:.5rem}.price{font-weight:700;font-size:1.1rem;color:var(--text)}.btn{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;padding:.625rem 1.25rem;border-radius:var(--radius);font-size:.9rem;font-weight:600;border:none;cursor:pointer;transition:background var(--transition),color var(--transition);text-decoration:none}.btn-primary{background:var(--accent);color:#fff}.btn-primary:hover{background:var(--accent-hover);color:#fff}.btn-secondary{background:var(--surface);color:var(--text);border:1px solid var(--border)}.btn-secondary:hover{background:var(--border);color:var(--text)}.btn-sm{padding:.375rem .75rem;font-size:.8rem}.category-pills{display:flex;flex-wrap:wrap;gap:.5rem;padding:1rem 0}.category-pill{display:inline-block;padding:.375rem 1rem;border:1px solid var(--border);border-radius:9999px;font-size:.85rem;color:var(--text-secondary);background:var(--bg);transition:all var(--transition)}.category-pill:hover{background:var(--accent);color:#fff;border-color:var(--accent)}.cart-page{padding:2rem 0}.cart-page h1{margin-bottom:1.5rem}.cart-items{display:flex;flex-direction:column;gap:1rem;margin-bottom:2rem}.cart-item{display:grid;grid-template-columns:80px 1fr auto;gap:1rem;align-items:center;padding:1rem;border:1px solid var(--border);border-radius:var(--radius)}.cart-item img{width:80px;height:60px;object-fit:cover;border-radius:calc(var(--radius) / 2);background:var(--surface)}.cart-item-info h3{font-size:.95rem;font-weight:600}.cart-item-info .price{font-size:.9rem}.cart-item-actions{display:flex;align-items:center;gap:.75rem}.qty-control{display:flex;align-items:center;gap:.25rem}.qty-control button{width:28px;height:28px;border:1px solid var(--border);border-radius:4px;background:var(--bg);cursor:pointer;font-size:1rem;display:flex;align-items:center;justify-content:center}.qty-control span{min-width:2rem;text-align:center;font-weight:600;font-size:.9rem}.remove-btn{background:none;border:none;color:var(--text-secondary);cursor:pointer;font-size:.8rem;padding:.25rem}.remove-btn:hover{color:#dc2626}.cart-total{display:flex;justify-content:space-between;align-items:center;padding:1.5rem;background:var(--surface);border-radius:var(--radius);margin-bottom:1rem}.cart-total .label{font-size:1.1rem;font-weight:600}.cart-total .amount{font-size:1.25rem;font-weight:700}.cart-empty{text-align:center;padding:4rem 1rem;color:var(--text-secondary)}.cart-empty h2{margin-bottom:.5rem;color:var(--text)}.cart-empty p{margin-bottom:1.5rem}.cart-actions{display:flex;gap:1rem;justify-content:flex-end}.product-detail{display:grid;gap:2rem;padding:2rem 0}.product-images{display:flex;flex-direction:column;gap:.75rem}.product-images .main-image{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:var(--radius);background:var(--surface)}.gallery{display:flex;gap:.5rem;overflow-x:auto}.gallery img{width:80px;height:60px;object-fit:cover;border-radius:calc(var(--radius) / 2);border:2px solid var(--border);cursor:pointer;background:var(--surface)}.product-info{display:flex;flex-direction:column;gap:.75rem}.product-info h1{font-size:1.5rem;font-weight:700;letter-spacing:-.025em}.product-meta{display:flex;gap:1rem;font-size:.85rem;color:var(--text-secondary)}.product-meta a{color:var(--text-secondary)}.product-meta a:hover{color:var(--accent)}.product-info .price{font-size:1.5rem}.product-tags{display:flex;flex-wrap:wrap;gap:.375rem}.tag{font-size:.75rem;padding:.2rem .6rem;background:var(--surface);border-radius:9999px;color:var(--text-secondary)}.product-description{line-height:1.7;color:var(--text)}.product-description h2,.product-description h3{margin-top:1.5rem;margin-bottom:.5rem}.product-description ul{padding-left:1.5rem;margin:.5rem 0}.product-description li{margin-bottom:.25rem}.section-title{font-size:1.5rem;font-weight:700;letter-spacing:-.025em;margin-bottom:.5rem}.alert{padding:1rem;border-radius:var(--radius);margin-bottom:1rem}.alert-success{background:#ecfdf5;color:var(--success);border:1px solid #a7f3d0}.alert-error{background:#fef2f2;color:#dc2626;border:1px solid #fecaca}.success-page{text-align:center;padding:4rem 1rem}.success-page h1{font-size:2rem;margin-bottom:.75rem}.success-page p{color:var(--text-secondary);margin-bottom:2rem;font-size:1.1rem}.not-found{text-align:center;padding:4rem 1rem}.not-found h1{font-size:4rem;font-weight:800;color:var(--border);margin-bottom:.5rem}.not-found p{color:var(--text-secondary);margin-bottom:2rem}.search-input{width:100%;padding:.625rem 1rem;border:1px solid var(--border);border-radius:var(--radius);font-size:.9rem;background:var(--bg);color:var(--text);outline:none;transition:border-color var(--transition)}.search-input:focus{border-color:var(--accent)}.footer{border-top:1px solid var(--border);padding:2rem 1rem;text-align:center;color:var(--text-secondary);font-size:.85rem;margin-top:3rem}@media(min-width:640px){.container{padding:0 1.5rem}.hero h1{font-size:2.5rem}.cart-item{grid-template-columns:100px 1fr auto auto}}@media(min-width:768px){.product-detail{grid-template-columns:1fr 1fr}.hero{padding:5rem 2rem;margin:0 -1.5rem 2rem}.hero h1{font-size:3rem}}@media(max-width:639px){.nav-links{display:none;flex-direction:column;position:absolute;top:100%;left:0;right:0;background:var(--bg);border-bottom:1px solid var(--border);padding:1rem;gap:1rem}.nav-links.open,.hamburger{display:flex}.cart-item{grid-template-columns:60px 1fr}.cart-item-actions{grid-column:1 / -1;justify-content:space-between}.cart-actions{flex-direction:column}}@media(min-width:1024px){.hero h1{font-size:3.5rem}}
