:root{--text:#6b6375;--text-h:#08060d;--bg:#fff;--border:#e5e4e7;--code-bg:#f4f3ec;--accent:#aa3bff;--accent-bg:#aa3bff1a;--accent-border:#aa3bff80;--social-bg:#f4f3ec80;--shadow:#0000001a 0 10px 15px -3px, #0000000d 0 4px 6px -2px;--sans:system-ui, "Segoe UI", Roboto, sans-serif;--heading:system-ui, "Segoe UI", Roboto, sans-serif;--mono:ui-monospace, Consolas, monospace;font:16px/1.5 var(--sans);color:var(--text);background:var(--bg);font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}#root>main:has(.marketplace){padding:0}*{box-sizing:border-box}body{margin:0}#root{text-align:left;flex-direction:column;width:100%;min-height:100svh;display:flex}#root>main{flex:1;width:100%;max-width:1200px;margin:0 auto;padding:2rem}h1,h2{font-family:var(--heading);color:var(--text-h);font-weight:600}h1{margin:0 0 1.5rem;font-size:2rem;line-height:1.2}h2{margin:0 0 .75rem;font-size:1.5rem;line-height:1.3}p{margin:0}.site-header{background:var(--bg);border-bottom:1px solid var(--border)}.site-nav{align-items:center;gap:2rem;max-width:1200px;margin:0 auto;padding:1rem 2rem;display:flex}.site-logo,.site-nav .site-logo:hover{color:var(--text-h);font-size:1.25rem;font-weight:700;text-decoration:none}.site-nav__links,.site-nav__user{align-items:center;gap:1.25rem;display:flex}.site-nav__user{margin-left:auto}.site-nav a{color:var(--text-h);text-decoration:none}.site-nav a:hover{color:var(--accent)}.site-nav__username{color:var(--text-h);font-size:.875rem;font-weight:600}.site-nav__user button{border:1px solid var(--border);background:var(--bg);color:var(--text-h);font:inherit;cursor:pointer;border-radius:.5rem;padding:.6rem 1rem;font-size:.875rem}.site-nav__user button:hover{border-color:var(--accent)}.site-footer{border-top:1px solid var(--border);text-align:center;padding:1.5rem;font-size:.875rem}code,.counter{font-family:var(--mono);color:var(--text-h);border-radius:4px;display:inline-flex}code{background:var(--code-bg);padding:4px 8px;font-size:.875rem}@media (width<=640px){#root>main{padding:1rem}h1{font-size:1.75rem}h2{font-size:1.25rem}.site-nav{flex-wrap:wrap;gap:1rem;padding:1rem}.site-logo{width:100%}.site-nav__links,.site-nav__user{gap:.75rem}.site-nav__user{margin-left:auto}}.marketplace{width:min(1200px,100%);margin:0 auto;padding:0 1.5rem 1rem}.marketplace__intro{text-align:center;max-width:760px;margin:0 auto 1rem}.marketplace__eyebrow{color:#2563eb;letter-spacing:.14em;margin-bottom:1rem;font-size:.75rem;font-weight:700;display:inline-block}.marketplace__intro h1{color:#0f172a;letter-spacing:-.045em;margin:0 0 .75rem;font-size:clamp(2rem,3.5vw,2.8rem);font-weight:800;line-height:1.15}.marketplace__intro p{color:#475569;font-size:1.1rem;line-height:1.7}.marketplace__section-heading{margin-bottom:1rem}.marketplace__section-heading h2{color:#0f172a;margin:0 0 .4rem;font-size:1.55rem;font-weight:700}.marketplace__section-heading p{color:#475569;font-size:1rem}.marketplace__grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:1.5rem;display:grid}.marketplace__card{color:#0f172a;background:#fff;border:1px solid #e2e8f0;border-radius:18px;flex-direction:column;text-decoration:none;transition:transform .25s,box-shadow .25s,border-color .25s;display:flex;overflow:hidden;box-shadow:0 4px 16px #0f172a0a}.marketplace__card:hover{border-color:#cbd5e1;transform:translateY(-6px);box-shadow:0 18px 40px #0f172a1f}.marketplace__card:focus-visible{outline-offset:4px;outline:3px solid #2563eb}.marketplace__image-wrap{aspect-ratio:16/8;background:#f1f5f9;width:100%;overflow:hidden}.marketplace__image{object-fit:cover;width:100%;height:100%;transition:transform .4s;display:block}.marketplace__card:hover .marketplace__image{transform:scale(1.05)}.marketplace__card-content{flex-direction:column;flex:1;align-items:flex-start;padding:1rem;display:flex}.marketplace__card-content h3{color:#0f172a;margin:0 0 .7rem;font-size:1.35rem;font-weight:700}.marketplace__card-content p{color:#475569;font-size:1rem;line-height:1.65}.marketplace__action{color:#fff;background:#0f172a;border-radius:10px;justify-content:center;align-items:center;gap:.6rem;margin-top:auto;padding:.9rem 1.35rem;font-size:.95rem;font-weight:600;text-decoration:none;transition:background .2s;display:inline-flex}.marketplace__card:hover .marketplace__action{background:#2563eb}@media (width<=760px){.marketplace__grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=600px){.marketplace{padding:2.5rem 1rem 3rem}.marketplace__intro{margin-bottom:3rem}.marketplace__grid{grid-template-columns:1fr}.marketplace__card-content{padding:1.25rem}}@media (prefers-reduced-motion:reduce){.marketplace__card,.marketplace__image,.marketplace__action{transition:none}}.product-card{border:1px solid var(--border);background:var(--bg);border-radius:.75rem;flex-direction:column;gap:.75rem;padding:1.25rem;transition:box-shadow .2s;display:flex}.product-card:hover{box-shadow:var(--shadow)}.product-card__image{background:#f1f5f9;border-radius:.5rem;justify-content:center;align-items:center;height:200px;display:flex;position:relative;overflow:hidden}.product-card__image img{z-index:1;object-fit:contain;width:100%;height:100%;position:relative}.product-card__image-fallback{color:#64748b;font-size:.875rem;position:absolute}.product-card__category{color:var(--text);font-size:.8rem}.product-card__title{margin:0;font-size:1.25rem;font-weight:600;line-height:1.3}.product-card__description{color:var(--text);margin:0;font-size:.9rem;line-height:1.5}.product-card__price{color:var(--text-h);margin:auto 0 0;font-size:1.25rem;font-weight:700}.product-card button{background:var(--accent);color:#fff;width:100%;font:inherit;cursor:pointer;border:none;border-radius:.5rem;padding:.75rem 1rem;font-weight:600}.product-card button:hover{filter:brightness(.9)}.product-card button:focus-visible{outline:2px solid var(--accent);outline-offset:3px}.product-page{padding:2rem}.product-grid{grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:1.5rem;display:grid}.cart-item{border:1px solid #ddd;border-radius:8px;justify-content:space-between;align-items:center;gap:1rem;padding:1rem;display:flex}.cart-item-info{flex:1}.cart-item-info h2{margin:0 0 .25rem;font-size:1.1rem}.cart-item-info p{margin:0}.cart-item-actions{align-items:center;gap:.5rem;display:flex}.quantity-button{border:1px solid var(--border);background:var(--bg);min-width:2.25rem;height:2.25rem;color:var(--text-h);font:inherit;cursor:pointer;border-radius:.5rem;font-weight:600}.quantity-button:hover{background:var(--accent-bg);border-color:var(--accent)}.cart-item-quantity{text-align:center;min-width:1.5rem}.remove-button{color:#b42318;font:inherit;cursor:pointer;background:#fff5f5;border:1px solid #f5c2c7;border-radius:.5rem;margin-left:.5rem;padding:.5rem .75rem;font-size:.875rem;font-weight:600}.remove-button:hover{background:#ffe4e6}.quantity-button:focus-visible,.remove-button:focus-visible{outline:2px solid var(--accent);outline-offset:2px}@media (width<=600px){.cart-item{flex-direction:column;align-items:flex-start}.cart-item-actions{flex-wrap:wrap;width:100%}.remove-button{margin-left:auto}}.cart-page{width:min(720px,90%);margin:0 auto}.cart-page h1{margin-bottom:2rem}.cart-items{gap:1rem;display:grid}.cart-summary{border:1px solid var(--border);background:var(--bg);border-radius:.75rem;flex-direction:column;align-items:flex-start;gap:.75rem;margin-top:2rem;padding:1.5rem;display:flex}.cart-summary p{margin:0}.cart-total{color:var(--text-h);font-size:1.25rem;font-weight:700}.cart-checkout-button{background:var(--accent);color:#fff;text-align:center;border-radius:.5rem;margin-top:.5rem;padding:.75rem 1.5rem;font-weight:600;text-decoration:none;display:inline-block}.cart-checkout-button:hover{filter:brightness(.9)}.cart-checkout-button:focus-visible{outline:2px solid var(--accent);outline-offset:3px}.checkout-page{width:100%;max-width:720px;margin:0 auto;padding:2rem 0}.checkout-page h1{margin-bottom:1.5rem}.checkout-summary{border:1px solid var(--border);background:var(--bg);border-radius:.75rem;padding:1.5rem}.checkout-summary h2{margin:0 0 1rem;font-size:1.4rem}.checkout-summary ul{margin:0;padding-left:1.25rem;line-height:1.9}.checkout-total{border-top:1px solid var(--border);color:var(--text-h);margin:1.25rem 0 0;padding-top:1rem;font-size:1.2rem}.checkout-page>button{background:var(--accent);color:#fff;font:inherit;cursor:pointer;border:none;border-radius:.5rem;margin-top:1.25rem;padding:.75rem 1.5rem;font-weight:600}.checkout-page>button:hover:not(:disabled){filter:brightness(.9)}.checkout-page>button:disabled{opacity:.6;cursor:not-allowed}.checkout-page>button:focus-visible{outline:2px solid var(--accent);outline-offset:3px}.checkout-page>form{margin-top:1.5rem}.checkout-page>form h2{margin:0 0 1rem;font-size:1.4rem}.checkout-page>form button{background:var(--accent);color:#fff;font:inherit;cursor:pointer;border:none;border-radius:.5rem;margin-top:1.25rem;padding:.75rem 1.5rem;font-weight:600}.checkout-page>form button:hover:not(:disabled){filter:brightness(.9)}.checkout-page>form button:disabled{opacity:.6;cursor:not-allowed}.checkout-page>form button:focus-visible{outline:2px solid var(--accent);outline-offset:3px}.auth-page{justify-content:center;padding:2rem 1rem;display:flex}.auth-card{border:1px solid var(--border);background:var(--bg);width:100%;max-width:420px;box-shadow:var(--shadow);border-radius:.75rem;padding:2rem}.auth-card h1{text-align:center;margin-bottom:1.5rem}.auth-card form{flex-direction:column;gap:.75rem;display:flex}.auth-card label{color:var(--text-h);font-size:.875rem;font-weight:600}.auth-card input{border:1px solid var(--border);background:var(--bg);width:100%;color:var(--text-h);font:inherit;border-radius:.5rem;padding:.75rem}.auth-card input:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.auth-card button{background:var(--accent);color:#fff;font:inherit;cursor:pointer;border:none;border-radius:.5rem;margin-top:.75rem;padding:.75rem 1rem;font-weight:600}.auth-card button:hover:not(:disabled){filter:brightness(.9)}.auth-card button:disabled{opacity:.6;cursor:not-allowed}.auth-card [role=alert]{color:#b91c1c;font-size:.875rem}@media (width<=640px){.auth-page{padding:1rem 0}.auth-card{padding:1.5rem}}
